summaryrefslogtreecommitdiff
path: root/chromium/third_party/nearby
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2022-09-29 16:16:15 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2022-11-09 10:04:06 +0000
commita95a7417ad456115a1ef2da4bb8320531c0821f1 (patch)
treeedcd59279e486d2fd4a8f88a7ed025bcf925c6e6 /chromium/third_party/nearby
parent33fc33aa94d4add0878ec30dc818e34e1dd3cc2a (diff)
downloadqtwebengine-chromium-a95a7417ad456115a1ef2da4bb8320531c0821f1.tar.gz
BASELINE: Update Chromium to 106.0.5249.126
Change-Id: Ib0bb21c437a7d1686e21c33f2d329f2ac425b7ab Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/438936 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/third_party/nearby')
-rw-r--r--chromium/third_party/nearby/BUILD.gn10
-rw-r--r--chromium/third_party/nearby/README.chromium2
-rw-r--r--chromium/third_party/nearby/metadata.json.in6
-rw-r--r--chromium/third_party/nearby/src/.github/workflows/validate-swift-package.yaml27
-rw-r--r--chromium/third_party/nearby/src/.github/workflows/validate.yaml37
-rw-r--r--chromium/third_party/nearby/src/LICENSE22
-rw-r--r--chromium/third_party/nearby/src/Package.swift111
-rw-r--r--chromium/third_party/nearby/src/README.md2
-rw-r--r--chromium/third_party/nearby/src/connections/BUILD1
-rw-r--r--chromium/third_party/nearby/src/connections/advertising_options.h2
-rw-r--r--chromium/third_party/nearby/src/connections/clients/ios/BUILD37
-rw-r--r--chromium/third_party/nearby/src/connections/clients/ios/BuildTests/Test.swift7
-rw-r--r--chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCCore.h4
-rw-r--r--chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCCoreConnection.h4
-rw-r--r--chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCDiscoverer.mm5
-rw-r--r--chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCPayloadListener.h4
-rw-r--r--chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCUtils.h4
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/BUILD48
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/Sources/Advertiser.swift17
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/Sources/Connection.swift17
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/Sources/Discoverer.swift17
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/Tests/BuildTests.swift8
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/BUILD58
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/CPPInputStreamBinding.h50
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/CPPInputStreamBinding.mm90
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCAdvertisingOptions+CppConversions.h35
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCAdvertisingOptions+CppConversions.mm35
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCAdvertisingOptions.mm31
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCConnectionOptions+CppConversions.h35
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCConnectionOptions+CppConversions.mm31
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCConnectionOptions.mm21
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCCoreAdapter.mm417
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCDiscoveryOptions+CppConversions.h35
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCDiscoveryOptions+CppConversions.mm35
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCDiscoveryOptions.mm31
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCError+Internal.h26
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCError.mm72
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCException+Internal.h26
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCException.mm57
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCInputStream.h36
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCInputStream.mm124
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCPayload+CppConversions.h39
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCPayload+CppConversions.mm98
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCPayload.mm86
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCStrategy+Internal.h28
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCStrategy.mm40
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCAdvertisingOptions.h44
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCConnectionDelegate.h95
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCConnectionOptions.h23
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCCoreAdapter.h194
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCDiscoveryDelegate.h38
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCDiscoveryOptions.h44
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCError.h40
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCException.h30
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCPayload.h128
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCPayloadDelegate.h60
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCStrategy.h24
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/NearbyCoreAdapter.h24
-rw-r--r--chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Tests/BuildTests.swift8
-rw-r--r--chromium/third_party/nearby/src/connections/clients/windows/BUILD60
-rw-r--r--chromium/third_party/nearby/src/connections/clients/windows/advertising_options_w.h3
-rw-r--r--chromium/third_party/nearby/src/connections/clients/windows/bluetooth_classic_server_socket_test.cc613
-rw-r--r--chromium/third_party/nearby/src/connections/clients/windows/connection_options_w.h3
-rw-r--r--chromium/third_party/nearby/src/connections/clients/windows/core_adapter.cc9
-rw-r--r--chromium/third_party/nearby/src/connections/clients/windows/core_adapter.h10
-rw-r--r--chromium/third_party/nearby/src/connections/clients/windows/dart/core_adapter_dart.cc4
-rw-r--r--chromium/third_party/nearby/src/connections/clients/windows/discovery_options_w.h2
-rw-r--r--chromium/third_party/nearby/src/connections/clients/windows/expand_version_template.bzl44
-rw-r--r--chromium/third_party/nearby/src/connections/clients/windows/listeners_w.cc7
-rw-r--r--chromium/third_party/nearby/src/connections/clients/windows/listeners_w.h4
-rw-r--r--chromium/third_party/nearby/src/connections/clients/windows/payload_w.cc2
-rw-r--r--chromium/third_party/nearby/src/connections/clients/windows/payload_w.h2
-rw-r--r--chromium/third_party/nearby/src/connections/clients/windows/version.rc.tpl32
-rw-r--r--chromium/third_party/nearby/src/connections/connection_options.h15
-rw-r--r--chromium/third_party/nearby/src/connections/core.cc4
-rw-r--r--chromium/third_party/nearby/src/connections/core.h2
-rw-r--r--chromium/third_party/nearby/src/connections/discovery_options.h2
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/BUILD8
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/analytics/analytics_recorder.cc79
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/analytics/analytics_recorder.h16
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/analytics/analytics_recorder_test.cc796
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/base_bwu_handler.cc4
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/base_bwu_handler.h4
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/base_endpoint_channel.cc9
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/base_pcp_handler.cc111
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/base_pcp_handler.h19
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/ble_advertisement.cc10
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/bluetooth_device_name.cc6
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/bwu_handler.h2
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/bwu_manager.cc85
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/bwu_manager.h9
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/bwu_manager_test.cc76
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/client_proxy.cc47
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/client_proxy.h4
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/client_proxy_test.cc238
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/endpoint_channel_manager.cc36
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/endpoint_channel_manager.h11
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/endpoint_channel_manager_test.cc272
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/endpoint_manager_test.cc17
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/fake_bwu_handler.h11
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/mediums/BUILD4
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/mediums/ble.cc2
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2.cc47
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/ble_advertisement_header.cc14
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/ble_advertisement_header_test.cc140
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/ble_utils.cc2
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/discovered_peripheral_tracker.cc11
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/discovered_peripheral_tracker_test.cc72
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/mediums/bluetooth_classic.cc20
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/mediums/bluetooth_classic.h4
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/mediums/bluetooth_radio.cc6
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/mediums/webrtc_stub.h2
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/mock_service_controller.h2
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/offline_frames.cc53
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/offline_frames.h14
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/offline_frames_test.cc28
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/offline_frames_validator_test.cc76
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/offline_service_controller.cc4
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/offline_service_controller.h2
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/p2p_cluster_pcp_handler.cc14
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/proto/BUILD8
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/proto/offline_wire_formats.proto7
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/proto/offline_wire_formats_proto_config.asciipb25
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/service_controller.h4
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/service_controller_router.cc1
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/wifi_hotspot_bwu_handler.cc7
-rw-r--r--chromium/third_party/nearby/src/connections/implementation/wifi_hotspot_test.cc52
-rw-r--r--chromium/third_party/nearby/src/connections/params.h1
-rw-r--r--chromium/third_party/nearby/src/connections/payload.cc43
-rw-r--r--chromium/third_party/nearby/src/connections/payload_test.cc37
-rw-r--r--chromium/third_party/nearby/src/internal/analytics/BUILD1
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/BUILD103
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/BUILD.gn217
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/aead.cc182
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/aead.h95
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/aead_unittest.cc100
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/crypto_export.h42
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/ec_private_key.cc182
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/ec_private_key.h96
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/ec_private_key_unittest.cc333
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/ec_signature_creator.cc30
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/ec_signature_creator.h65
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/ec_signature_creator_impl.cc83
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/ec_signature_creator_impl.h48
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/ec_signature_creator_unittest.cc61
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/encryptor.cc218
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/encryptor.h110
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/encryptor_unittest.cc572
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/hkdf.cc58
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/hkdf.h41
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/hmac.cc114
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/hmac.h125
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/hmac_unittest.cc378
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/nearby_base.cc46
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/nearby_base.h56
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/openssl_util.cc62
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/openssl_util.h104
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/random.cc31
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/random.h34
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/random_unittest.cc41
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/rsa_private_key.cc122
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/rsa_private_key.h74
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/rsa_private_key_unittest.cc386
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/secure_hash.cc76
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/secure_hash.h57
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/secure_hash_unittest.cc117
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/secure_util.cc25
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/secure_util.h38
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/sha2.cc47
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/sha2.h51
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/sha2_unittest.cc98
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/signature_verifier.cc115
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/signature_verifier.h81
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/signature_verifier_unittest.cc424
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/symmetric_key.cc140
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/symmetric_key.h89
-rw-r--r--chromium/third_party/nearby/src/internal/crypto/symmetric_key_unittest.cc262
-rw-r--r--chromium/third_party/nearby/src/internal/platform/BUILD9
-rw-r--r--chromium/third_party/nearby/src/internal/platform/base_pipe.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/ble_v2.cc7
-rw-r--r--chromium/third_party/nearby/src/internal/platform/ble_v2.h11
-rw-r--r--chromium/third_party/nearby/src/internal/platform/ble_v2_test.cc6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/bluetooth_adapter.h13
-rw-r--r--chromium/third_party/nearby/src/internal/platform/bluetooth_adapter_test.cc2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/cancellation_flag.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/credential_storage.cc56
-rw-r--r--chromium/third_party/nearby/src/internal/platform/credential_storage.h71
-rw-r--r--chromium/third_party/nearby/src/internal/platform/exception.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/feature_flags.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/file.h3
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/BUILD11
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ble_v2.h23
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/bluetooth_adapter.h1
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/credential_storage.h105
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/g3/BUILD3
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/g3/ble_v2.cc36
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/g3/ble_v2.h8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/g3/bluetooth_adapter.cc6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/g3/bluetooth_adapter.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/g3/crypto.cc2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/g3/platform.cc46
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/g3/wifi_lan.h3
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/BUILD10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/BUILD25
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleCentral.h77
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleCentral.m466
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleConnection.h43
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleConnection.m147
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBlePeripheral.h47
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBlePeripheral.m238
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleUtils.h58
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleUtils.mm143
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/BUILD87
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager+Private.h38
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager.h201
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager.m372
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager+Private.h73
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager.h99
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager.m766
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/GNSCentral.h17
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/GNSPeripheral.h17
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/GNSShared.h (renamed from chromium/third_party/nearby/src/internal/platform/logging2.h)8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralManager+Private.h70
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralManager.h111
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralManager.m546
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager+Private.h132
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager.h81
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager.m551
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket+Private.h144
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket.h155
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket.m238
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils+Private.h47
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils.h47
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils.m102
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSWeavePacket.h242
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSWeavePacket.m416
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Central/GNSCentralManagerTest.m299
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Central/GNSCentralPeerManagerTest.m465
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Peripheral/GNSPeripheralManagerTest.m836
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Peripheral/GNSPeripheralServiceManagerTest.m671
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Shared/GNSSocketTest.m355
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Shared/GNSWeavePacketTest.m310
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Tests/GNCBLEATest.mm22
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Tests/GNCBleTest.mm41
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/Tests/GNCMultiThreadExecutorTest.mm8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/ble.h155
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/ble.mm509
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/bluetooth_adapter.h24
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/log_message.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/multi_thread_executor.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/scheduled_executor.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/single_thread_executor.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/utils.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/ios/wifi_lan.h5
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/platform.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/shared/file.cc16
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/shared/file.h7
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/shared/file_test.cc4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/wifi_hotspot.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/wifi_lan.h3
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/BUILD4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_medium.cc532
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_medium.h74
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_peripheral.h16
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_v2.cc2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_adapter.cc386
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_adapter.h30
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_adapter_test.cc197
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_device.cc14
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_device.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_medium.cc395
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_medium.h36
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_server_socket.cc219
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_server_socket.h78
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_socket.cc15
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_socket.h5
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/crypto.cc4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/executor_test.cc5
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/BUILD1
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.Preview.h96
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.h308
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Activation.h196
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.AppExtensions.h80
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.AppService.h72
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.AppointmentsProvider.h58
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.DataProvider.h158
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.h492
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Background.h364
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.Background.h40
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.Provider.h36
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.h444
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Chat.h504
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.CommunicationBlocking.h24
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.DataProvider.h86
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.Provider.h28
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.h868
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ConversationalAgent.h212
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Core.h190
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.DragDrop.Core.h76
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.DragDrop.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.ShareTarget.h44
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.h386
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Email.DataProvider.h320
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Email.h756
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ExtendedExecution.Foreground.h24
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ExtendedExecution.h28
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Holographic.h14
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.LockScreen.h64
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Payments.Provider.h42
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Payments.h252
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.Holographic.h18
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.InkWorkspace.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.Notes.h62
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.Core.h102
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.Management.h30
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.h26
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Search.Core.h62
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Search.h140
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.SocialInfo.Provider.h44
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.SocialInfo.h126
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.LicenseManagement.h30
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.Preview.InstallControl.h260
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.Preview.h114
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.h170
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserActivities.Core.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserActivities.h132
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.Provider.h28
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.SystemAccess.h192
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.h92
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataTasks.DataProvider.h98
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataTasks.h202
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.VoiceCommands.h116
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Wallet.System.h24
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Wallet.h210
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.h364
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Html.h8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Json.h78
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Pdf.h70
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Text.h126
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Xml.Dom.h234
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Xml.Xsl.h12
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Adc.Provider.h28
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Adc.h32
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.AllJoyn.h344
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Background.h16
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Advertisement.h216
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Background.h60
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.GenericAttributeProfile.h750
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Rfcomm.h76
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.h328
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Custom.h32
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Display.Core.h300
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Display.h54
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Enumeration.Pnp.h66
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Enumeration.h260
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Geolocation.Geofencing.h58
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Geolocation.h190
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Gpio.Provider.h40
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Gpio.h94
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Haptics.h56
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.HumanInterfaceDevice.h182
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.I2c.Provider.h36
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.I2c.h48
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Input.Preview.h106
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Input.h104
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Lights.Effects.h160
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Lights.h112
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Midi.h114
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Perception.Provider.h110
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Perception.h510
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.PointOfService.Provider.h232
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.PointOfService.h1418
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Portable.h14
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Power.h32
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Printers.Extensions.h64
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Printers.h18
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Pwm.Provider.h28
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Pwm.h44
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Radios.h28
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Scanners.h134
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sensors.Custom.h40
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sensors.h702
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.SerialCommunication.h88
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.SmartCards.h412
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sms.h358
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Spi.Provider.h44
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Spi.h62
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Usb.h270
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFi.h70
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFiDirect.Services.h154
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFiDirect.h110
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.h22
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Embedded.DeviceLockdown.h16
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Collections.h94
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Diagnostics.h402
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Metadata.h26
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Numerics.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.h338
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.Custom.h66
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.ForceFeedback.h64
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.Preview.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.h244
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Preview.GamesEnumeration.h112
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.UI.h60
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.XboxLive.Storage.h82
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.Collation.h14
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.DateTimeFormatting.h66
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.Fonts.h40
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.NumberFormatting.h124
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.PhoneNumberFormatting.h46
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.h738
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Capture.h62
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.DirectX.Direct3D11.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.DirectX.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Display.Core.h50
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Display.h268
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Effects.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Holographic.h280
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Imaging.h218
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.OptionDetails.h200
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.PrintTicket.h166
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.Workflow.h92
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.h214
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing3D.h318
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Core.h8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Deployment.Preview.h12
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Deployment.h338
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Policies.h38
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Update.h20
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Workplace.h18
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.h56
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.AppBroadcasting.h42
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.AppRecording.h62
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Audio.h604
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.Core.h34
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.Frames.h192
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.h1298
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Casting.h94
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.ClosedCaptioning.h30
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.ContentRestrictions.h48
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Control.h154
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Core.Preview.h18
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Core.h1000
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Devices.Core.h166
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Devices.h674
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.DialProtocol.h80
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Editing.h150
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Effects.h166
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.FaceAnalysis.h46
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Import.h280
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.MediaProperties.h318
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Miracast.h236
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Ocr.h34
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.PlayTo.h220
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Playback.h860
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Playlists.h16
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Protection.PlayReady.h358
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Protection.h74
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Render.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.SpeechRecognition.h190
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.SpeechSynthesis.h62
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Streaming.Adaptive.h260
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Transcoding.h48
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.h492
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.BackgroundTransfer.h238
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Connectivity.h280
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.NetworkOperators.h872
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Proximity.h170
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.PushNotifications.h72
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.ServiceDiscovery.Dnssd.h68
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Sockets.h488
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Vpn.h446
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.XboxLive.h180
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.h40
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Automation.Core.h8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.People.h52
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.Preview.h26
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.Surfaces.h74
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.h216
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.h16
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.ApplicationModel.h8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Devices.Notification.h12
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Devices.Power.h18
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Management.Deployment.h54
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Media.Devices.h20
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Notification.Management.h326
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.PersonalInformation.Provisioning.h16
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.PersonalInformation.h200
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Speech.Recognition.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.StartScreen.h36
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.Power.h20
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.Profile.h8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.UserProfile.GameServices.Core.h28
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.UI.Input.h50
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.Core.h60
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.Provider.h84
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.h20
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.OnlineId.h72
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.Core.h120
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.Provider.h134
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.h28
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authorization.AppCapabilityAccess.h28
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Credentials.UI.h70
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Credentials.h104
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.Certificates.h422
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.Core.h356
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.DataProtection.h16
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.h28
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.DataProtection.h34
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.EnterpriseData.h228
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.ExchangeActiveSyncProvisioning.h78
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Isolation.h182
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Cortana.h54
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.Guidance.h228
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.LocalSearch.h62
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.OfflineMaps.h34
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.h228
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Store.h396
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.TargetedContent.h140
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.AccessCache.h58
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.BulkAccess.h56
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Compression.h18
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.FileProperties.h178
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Pickers.Provider.h82
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Pickers.h110
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Provider.h238
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Search.h184
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Streams.h188
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.h546
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.DevicePortal.h42
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.Telemetry.h20
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.TraceReporting.h38
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.h116
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Display.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Implementation.FileExplorer.h22
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Inventory.h16
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Power.Diagnostics.h18
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Power.h134
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Preview.h30
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Profile.SystemManufacturers.h34
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Profile.h138
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.RemoteDesktop.h8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.RemoteSystems.h330
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Threading.Core.h26
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Threading.h26
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Update.h82
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.UserProfile.h122
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.h592
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Accessibility.h18
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.ApplicationSettings.h86
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Core.h18
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Desktop.h8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Diagnostics.h18
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Effects.h30
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Interactions.h282
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Scenes.h158
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.h1440
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.AnimationMetrics.h42
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.Preview.Communications.h102
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.Preview.h22
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.h502
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Core.h14
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Analysis.h70
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Core.h112
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Preview.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.h420
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Preview.Injection.h144
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Preview.h8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Spatial.h326
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.h642
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Notifications.Management.h26
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Notifications.h486
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Popups.h60
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Shell.h36
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.StartScreen.h232
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Text.Core.h208
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Text.h458
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.UIAutomation.Core.h26
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.UIAutomation.h12
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.ViewManagement.Core.h92
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.ViewManagement.h400
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.WebUI.Core.h108
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.WebUI.h176
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.WindowManagement.Preview.h8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.WindowManagement.h226
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Peers.h502
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Provider.h270
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Text.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.h396
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.Maps.h1250
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.Primitives.h1326
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.h8580
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Core.Direct.h112
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Data.h204
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Documents.h776
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Hosting.h132
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Input.h526
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Interop.h64
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Markup.h189
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Animation.h862
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Imaging.h166
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Media3D.h110
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.h800
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Navigation.h60
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Printing.h48
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Resources.h16
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Shapes.h146
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.h1798
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.h294
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.AtomPub.h44
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Diagnostics.h88
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Filters.h88
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Headers.h444
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.h240
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Syndication.h290
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.UI.Interop.h90
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.UI.h254
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/base.h305
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.0.h310
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.0.h98
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.0.h369
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.0.h199
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.0.h86
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.0.h74
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.0.h491
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.0.h58
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.0.h160
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.0.h365
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.0.h444
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.0.h36
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.0.h36
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.0.h500
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.0.h24
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.0.h873
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.0.h82
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.0.h30
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.0.h213
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.0.h160
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.2.h16
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.0.h372
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.2.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.0.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.0.h73
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.0.h49
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.0.h755
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.0.h322
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.0.h25
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.0.h21
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.0.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.0.h65
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.0.h249
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.0.h40
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.0.h14
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.0.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.0.h58
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.0.h22
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.0.h104
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.0.h32
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.0.h142
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.0.h62
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.0.h126
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.0.h46
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.0.h169
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.0.h28
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.0.h117
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.0.h261
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.0.h131
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.0.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.0.h109
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.0.h28
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.0.h190
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.0.h203
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.0.h94
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.0.h116
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.0.h212
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.0.h25
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.0.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.0.h74
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.0.h67
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.0.h127
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.0.h231
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.0.h8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.0.h18
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.0.h36
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.0.h28
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.0.h346
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.0.h12
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.0.h341
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.0.h217
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.0.h67
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.0.h754
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.0.h87
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.0.h32
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.0.h53
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.0.h301
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.0.h259
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.0.h64
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.0.h188
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.0.h59
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.0.h96
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.0.h40
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.0.h57
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.0.h183
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.0.h52
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.0.h40
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.0.h104
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.0.h112
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.0.h110
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.0.h156
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.0.h111
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.0.h509
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.0.h107
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.0.h1417
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.0.h234
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.0.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.0.h30
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.0.h18
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.0.h60
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.0.h48
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.0.h28
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.0.h29
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.0.h137
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.0.h706
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.0.h42
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.0.h85
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.0.h410
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.0.h357
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.0.h66
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.0.h48
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.0.h271
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.0.h71
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.0.h112
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.0.h160
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.0.h16
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.0.h286
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.1.h11
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.0.h90
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.0.h395
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.0.h22
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.0.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.0.h200
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.2.h26
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.0.h66
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.0.h61
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.0.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.0.h103
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.2.h8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.0.h48
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.2.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.0.h80
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.0.h736
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.0.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.0.h63
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.0.h36
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.0.h125
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.0.h42
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.0.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.0.h63
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.0.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.0.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.0.h250
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.2.h14
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.0.h51
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.0.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.0.h279
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.0.h216
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.0.h215
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.0.h201
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.0.h167
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.0.h89
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.0.h319
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.0.h53
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.0.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.0.h338
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.0.h8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.0.h34
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.0.h20
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.0.h14
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.0.h443
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.2.h26
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.0.h38
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.0.h60
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.0.h610
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.0.h1307
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.0.h31
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.0.h195
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.0.h95
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.0.h26
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.0.h46
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.0.h157
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.0.h1010
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.0.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.0.h664
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.2.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.0.h166
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.0.h79
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.0.h161
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.0.h163
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.0.h51
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.0.h283
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.0.h319
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.0.h237
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.0.h36
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.0.h218
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.0.h850
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.2.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.0.h18
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.0.h74
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.0.h356
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.0.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.0.h190
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.0.h70
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.0.h261
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.0.h46
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.0.h36
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.0.h240
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.0.h274
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.0.h868
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.0.h164
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.2.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.0.h69
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.0.h66
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.0.h493
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.0.h443
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.0.h182
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.0.h12
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.0.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.0.h58
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.0.h211
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.0.h22
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.0.h76
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.0.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.0.h8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.0.h14
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.0.h57
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.0.h16
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.0.h323
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.0.h201
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.0.h12
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.0.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.0.h36
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.0.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.0.h12
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.0.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.0.h25
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.0.h30
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.2.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.0.h24
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.0.h58
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.0.h81
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.0.h69
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.0.h25
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.0.h119
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.0.h137
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.0.h26
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.0.h104
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.0.h70
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.0.h24
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.0.h421
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.0.h360
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.0.h13
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.0.h31
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.0.h210
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.2.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.0.h75
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.0.h181
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.0.h51
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.0.h226
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.0.h228
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.0.h64
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.0.h35
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.0.h397
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.0.h144
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.0.h553
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.0.h57
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.0.h57
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.0.h18
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.0.h179
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.0.h111
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.0.h82
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.0.h236
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.0.h189
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.0.h186
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.0.h581
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.2.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.0.h116
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.0.h42
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.0.h16
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.0.h35
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.0.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.0.h20
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.0.h20
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.0.h94
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.2.h20
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.0.h14
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.0.h27
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.0.h125
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.2.h8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.0.h30
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.0.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.0.h330
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.0.h22
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.0.h22
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.0.h79
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.0.h116
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.0.h290
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.0.h14
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.0.h86
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.0.h1437
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.0.h14
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.0.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.0.h14
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.0.h26
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.0.h278
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.0.h154
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.0.h501
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.0.h43
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.0.h18
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.0.h98
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.0.h639
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.0.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.0.h419
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.0.h68
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.0.h109
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.0.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.0.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.0.h140
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.0.h332
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.0.h486
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.0.h27
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.0.h61
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.0.h33
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.0.h234
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.0.h454
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.0.h217
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.0.h8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.0.h22
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.0.h398
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.0.h93
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.0.h145
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.2.h18
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.0.h108
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.0.h233
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.0.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.0.h1754
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.2.h49
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.0.h396
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.0.h404
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.2.h99
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.0.h266
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.0.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.0.h8451
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.2.h133
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.0.h1254
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.0.h1307
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.2.h18
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.0.h108
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.0.h202
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.0.h770
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.0.h129
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.0.h507
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.2.h12
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.0.h60
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.0.h130
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.0.h772
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.2.h26
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.0.h854
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.2.h6
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.0.h161
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.0.h106
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.0.h56
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.0.h44
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.0.h10
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.2.h4
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.0.h142
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.0.h11
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.0.h49
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.0.h239
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.0.h89
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.0.h93
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.0.h444
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.0.h291
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.0.h256
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.0.h91
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.1.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.2.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/winrt.ixx2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/json/BUILD24
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/json/json.hpp22091
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/platform.cc191
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/platform_test.cc542
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/utils.cc16
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/utils.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/utils_test.cc12
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_hotspot.h20
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_hotspot_medium.cc217
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_hotspot_server_socket.cc52
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_lan.h8
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_lan_medium.cc14
-rw-r--r--chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_lan_server_socket.cc60
-rw-r--r--chromium/third_party/nearby/src/internal/platform/logging.h9
-rw-r--r--chromium/third_party/nearby/src/internal/platform/medium_environment.cc55
-rw-r--r--chromium/third_party/nearby/src/internal/platform/medium_environment.h38
-rw-r--r--chromium/third_party/nearby/src/internal/platform/wifi_hotspot.h2
-rw-r--r--chromium/third_party/nearby/src/internal/platform/wifi_lan.h10
-rw-r--r--chromium/third_party/nearby/src/internal/proto/BUILD26
-rw-r--r--chromium/third_party/nearby/src/internal/proto/analytics/BUILD1
-rw-r--r--chromium/third_party/nearby/src/internal/proto/credential.proto80
-rw-r--r--chromium/third_party/nearby/src/internal/proto/device_metadata.proto34
-rw-r--r--chromium/third_party/nearby/src/presence/BUILD41
-rw-r--r--chromium/third_party/nearby/src/presence/broadcast_options_test.cc2
-rw-r--r--chromium/third_party/nearby/src/presence/credential_test.cc82
-rw-r--r--chromium/third_party/nearby/src/presence/data_element.h91
-rw-r--r--chromium/third_party/nearby/src/presence/device_motion.cc2
-rw-r--r--chromium/third_party/nearby/src/presence/device_motion.h1
-rw-r--r--chromium/third_party/nearby/src/presence/device_motion_test.cc2
-rw-r--r--chromium/third_party/nearby/src/presence/discovery_filter.cc8
-rw-r--r--chromium/third_party/nearby/src/presence/discovery_filter.h12
-rw-r--r--chromium/third_party/nearby/src/presence/discovery_filter_test.cc7
-rw-r--r--chromium/third_party/nearby/src/presence/discovery_options_test.cc2
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/BUILD158
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/action_factory.cc132
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/action_factory.h45
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/action_factory_test.cc95
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/advertisement_decoder.cc146
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/advertisement_decoder.h49
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/advertisement_decoder_test.cc167
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/advertisement_factory.cc144
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/advertisement_factory.h52
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/advertisement_factory_test.cc106
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/base_broadcast_request.cc59
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/base_broadcast_request.h83
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/base_broadcast_request_test.cc41
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/broadcast_manager.h43
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/credential_manager.h107
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/credential_manager_impl.cc227
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/credential_manager_impl.h117
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/credential_manager_impl_test.cc95
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/encryption.cc110
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/encryption.h74
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/encryption_test.cc131
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/mediums/BUILD27
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/mediums/ble.h (renamed from chromium/third_party/nearby/src/presence/presence_identity.h)36
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/mediums/mediums.h42
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/mock_service_controller.h37
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/scan_manager.h43
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/sensor_fusion.h145
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/service_controller.h34
-rw-r--r--chromium/third_party/nearby/src/presence/implementation/service_controller_impl.h39
-rw-r--r--chromium/third_party/nearby/src/presence/listeners.h2
-rw-r--r--chromium/third_party/nearby/src/presence/power_mode.h35
-rw-r--r--chromium/third_party/nearby/src/presence/presence_action.cc2
-rw-r--r--chromium/third_party/nearby/src/presence/presence_action_test.cc2
-rw-r--r--chromium/third_party/nearby/src/presence/presence_client.cc14
-rw-r--r--chromium/third_party/nearby/src/presence/presence_client.h17
-rw-r--r--chromium/third_party/nearby/src/presence/presence_client_test.cc2
-rw-r--r--chromium/third_party/nearby/src/presence/presence_device.cc2
-rw-r--r--chromium/third_party/nearby/src/presence/presence_device_test.cc2
-rw-r--r--chromium/third_party/nearby/src/presence/presence_identity_test.cc34
-rw-r--r--chromium/third_party/nearby/src/presence/presence_service.h42
-rw-r--r--chromium/third_party/nearby/src/presence/presence_service_test.cc (renamed from chromium/third_party/nearby/src/presence/presence_identity.cc)13
-rw-r--r--chromium/third_party/nearby/src/presence/presence_zone.cc2
-rw-r--r--chromium/third_party/nearby/src/presence/presence_zone.h8
-rw-r--r--chromium/third_party/nearby/src/presence/presence_zone_test.cc6
-rw-r--r--chromium/third_party/nearby/src/presence/scan_request.h150
-rw-r--r--chromium/third_party/nearby/src/presence/scan_request_builder.cc81
-rw-r--r--chromium/third_party/nearby/src/presence/scan_request_builder.h55
-rw-r--r--chromium/third_party/nearby/src/presence/scan_request_builder_test.cc183
-rw-r--r--chromium/third_party/nearby/src/presence/status_test.cc2
-rw-r--r--chromium/third_party/nearby/src/proto/BUILD5
-rw-r--r--chromium/third_party/nearby/src/proto/connections_enums.proto3
-rw-r--r--chromium/third_party/nearby/src/proto/connections_enums_proto_config.asciipb7
-rw-r--r--chromium/third_party/nearby/src/proto/errorcode/BUILD5
-rw-r--r--chromium/third_party/nearby/src/proto/errorcode/error_code_enums.proto3
-rw-r--r--chromium/third_party/nearby/src/proto/errorcode/error_code_enums_proto_config.asciipb14
-rw-r--r--chromium/third_party/nearby/src/proto/mediums/BUILD5
-rw-r--r--chromium/third_party/nearby/src/proto/mediums/ble_frames_portable_proto_config.asciipb7
-rw-r--r--chromium/third_party/nearby/src/proto/mediums/nfc_frames.proto4
-rw-r--r--chromium/third_party/nearby/src/proto/sharing_enums.proto11
1738 files changed, 118693 insertions, 72422 deletions
diff --git a/chromium/third_party/nearby/BUILD.gn b/chromium/third_party/nearby/BUILD.gn
index d773a6f52b0..b0998b401de 100644
--- a/chromium/third_party/nearby/BUILD.gn
+++ b/chromium/third_party/nearby/BUILD.gn
@@ -731,15 +731,5 @@ if (is_chromeos_device) {
# Test target is for running Skylab tests from Chrome builder.
tast_test("nearby_share_tast_tests") {
tast_attr_expr = "\"group:nearby-share-remote\""
- deps = [ ":nearby_lacros_version_metadata" ]
- }
-
- # This target is required by Skylab recipe to upload chrome binary
- # and artifacts to GCS.
- process_version("nearby_lacros_version_metadata") {
- sources = [ "//chrome/VERSION" ]
- template_file = "metadata.json.in"
- output = "$root_out_dir/metadata.json"
- process_only = true
}
}
diff --git a/chromium/third_party/nearby/README.chromium b/chromium/third_party/nearby/README.chromium
index dd72fb08b22..8d59afe3e6f 100644
--- a/chromium/third_party/nearby/README.chromium
+++ b/chromium/third_party/nearby/README.chromium
@@ -1,7 +1,7 @@
Name: Nearby Connections Library
Short Name: Nearby
URL: https://github.com/google/nearby
-Version: d8453565db739ebbfbbeade9ec8f8239057b1e13
+Version: d92f1d47573427e6417e29a3e82ea7d4c34fe0b5
License: Apache 2.0
License File: LICENSE
Security Critical: yes
diff --git a/chromium/third_party/nearby/metadata.json.in b/chromium/third_party/nearby/metadata.json.in
deleted file mode 100644
index 3fceff256c1..00000000000
--- a/chromium/third_party/nearby/metadata.json.in
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "content": {
- "version": "@MAJOR@.@MINOR@.@BUILD@.@PATCH@"
- },
- "metadata_version": 1
-}
diff --git a/chromium/third_party/nearby/src/.github/workflows/validate-swift-package.yaml b/chromium/third_party/nearby/src/.github/workflows/validate-swift-package.yaml
deleted file mode 100644
index 1c62521b29e..00000000000
--- a/chromium/third_party/nearby/src/.github/workflows/validate-swift-package.yaml
+++ /dev/null
@@ -1,27 +0,0 @@
-name: Validate Swift Package
-
-on: [push, pull_request]
-
-env:
- FORCE_COLOR: true
-
-jobs:
- build:
- name: Build
- runs-on: macOS-latest
- steps:
- - uses: actions/checkout@v3
- with:
- submodules: true
- - name: Build
- run: swift build
-
- test:
- name: Test
- runs-on: macOS-latest
- steps:
- - uses: actions/checkout@v3
- with:
- submodules: true
- - name: Test
- run: swift test
diff --git a/chromium/third_party/nearby/src/.github/workflows/validate.yaml b/chromium/third_party/nearby/src/.github/workflows/validate.yaml
new file mode 100644
index 00000000000..c7d829e7a39
--- /dev/null
+++ b/chromium/third_party/nearby/src/.github/workflows/validate.yaml
@@ -0,0 +1,37 @@
+name: Validate
+
+on: [push, pull_request]
+
+env:
+ FORCE_COLOR: true
+
+jobs:
+ build-swift:
+ name: Build Swift
+ runs-on: macOS-latest
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ submodules: true
+ - name: Build
+ run: swift build
+
+ test-swift:
+ name: Test Swift
+ runs-on: macOS-latest
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ submodules: true
+ - name: Test
+ run: swift test
+
+ build-linux:
+ name: Build Linux
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v3
+ with:
+ submodules: recursive
+ - name: Build
+ run: CC=clang CXX=clang++ bazel build --check_visibility=false //connections:core --spawn_strategy=standalone
diff --git a/chromium/third_party/nearby/src/LICENSE b/chromium/third_party/nearby/src/LICENSE
index d6456956733..b00d4e8a763 100644
--- a/chromium/third_party/nearby/src/LICENSE
+++ b/chromium/third_party/nearby/src/LICENSE
@@ -1,3 +1,25 @@
+MIT License
+
+Copyright (c) 2013-2022 Niels Lohmann
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+
Apache License
Version 2.0, January 2004
diff --git a/chromium/third_party/nearby/src/Package.swift b/chromium/third_party/nearby/src/Package.swift
index f2c20748a45..d76b188aebf 100644
--- a/chromium/third_party/nearby/src/Package.swift
+++ b/chromium/third_party/nearby/src/Package.swift
@@ -7,9 +7,13 @@ let package = Package(
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
+ name: "NearbyCoreAdapter",
+ targets: ["NearbyCoreAdapter"]
+ ),
+ .library(
name: "NearbyConnections",
targets: ["NearbyConnections"]
- )
+ ),
],
dependencies: [
// Dependencies declare other packages that this package depends on.
@@ -360,7 +364,7 @@ let package = Package(
]
),
.target(
- name: "NearbyConnections",
+ name: "NearbyCoreAdapter",
dependencies: [
"google-toolbox-for-mac",
"smhasher",
@@ -373,10 +377,15 @@ let package = Package(
"presence",
"embedded",
"connections/clients/windows",
+ "connections/clients/ios",
+ "connections/clients/swift/NearbyConnections",
+ "connections/clients/swift/NearbyCoreAdapter/BUILD",
+ "connections/clients/swift/NearbyCoreAdapter/Tests",
"connections/samples",
"docs",
"internal/platform/implementation/g3",
"internal/platform/implementation/ios/Tests",
+ "internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests",
"internal/platform/implementation/windows",
"third_party",
"CONTRIBUTING.md",
@@ -384,31 +393,25 @@ let package = Package(
"README.md",
"WORKSPACE",
// build files
- "connections/clients/ios/BUILD",
"connections/implementation/analytics/BUILD",
- "connections/implementation/proto/BUILD",
- "connections/implementation/proto/CMakeLists.txt",
"connections/implementation/mediums/ble_v2/BUILD",
"connections/implementation/mediums/BUILD",
"connections/implementation/BUILD",
"connections/implementation/fuzzers",
"connections/BUILD",
- "internal/proto/analytics/BUILD",
+ "internal/crypto/BUILD",
+ "internal/crypto/BUILD.gn",
"internal/platform/implementation/shared/BUILD",
"internal/platform/implementation/ios/Mediums/BUILD",
+ "internal/platform/implementation/ios/Mediums/Ble/Sockets/BUILD",
"internal/platform/implementation/ios/Tests/BUILD",
"internal/platform/implementation/ios/BUILD",
"internal/platform/implementation/BUILD",
"internal/platform/BUILD",
"internal/analytics/BUILD",
- "proto/mediums/BUILD",
- "proto/errorcode/BUILD",
- "proto/BUILD",
- "proto/CMakeLists.txt",
// tests
"connections/listeners_test.cc",
"connections/strategy_test.cc",
- "connections/clients/ios/BuildTests",
"connections/implementation/offline_frames_test.cc",
"connections/implementation/offline_service_controller_test.cc",
"connections/implementation/encryption_runner_test.cc",
@@ -424,7 +427,6 @@ let package = Package(
"connections/implementation/analytics/analytics_recorder_test.cc",
"connections/implementation/mediums/ble_v2_test.cc",
"connections/implementation/mediums/ble_v2/bloom_filter_test.cc",
- "connections/implementation/mediums/ble_v2/ble_peripheral_test.cc",
"connections/implementation/mediums/ble_v2/ble_packet_test.cc",
"connections/implementation/mediums/ble_v2/ble_advertisement_test.cc",
"connections/implementation/mediums/ble_v2/advertisement_read_result_test.cc",
@@ -452,6 +454,17 @@ let package = Package(
"connections/core_test.cc",
"connections/status_test.cc",
"connections/payload_test.cc",
+ "internal/crypto/aead_unittest.cc",
+ "internal/crypto/ec_private_key_unittest.cc",
+ "internal/crypto/ec_signature_creator_unittest.cc",
+ "internal/crypto/encryptor_unittest.cc",
+ "internal/crypto/hmac_unittest.cc",
+ "internal/crypto/random_unittest.cc",
+ "internal/crypto/rsa_private_key_unittest.cc",
+ "internal/crypto/secure_hash_unittest.cc",
+ "internal/crypto/sha2_unittest.cc",
+ "internal/crypto/signature_verifier_unittest.cc",
+ "internal/crypto/symmetric_key_unittest.cc",
"internal/proto/analytics/connections_log_test.cc",
"internal/platform/feature_flags_test.cc",
"internal/platform/cancelable_alarm_test.cc",
@@ -494,19 +507,9 @@ let package = Package(
"connections/implementation/offline_simulation_user.cc",
"connections/implementation/simulation_user.cc",
// proto
- "connections/implementation/proto/offline_wire_formats.proto",
- "connections/implementation/proto/offline_wire_formats_proto_config.asciipb",
- "internal/proto/analytics/connections_log.proto",
- "proto/connections_enums.proto",
- "proto/connections_enums_proto_config.asciipb",
- "proto/mediums/nfc_frames.proto",
- "proto/mediums/ble_frames.proto",
- "proto/mediums/ble_frames_portable_proto_config.asciipb",
- "proto/mediums/web_rtc_signaling_frames.proto",
- "proto/mediums/wifi_aware_frames.proto",
- "proto/errorcode/error_code_enums.proto",
- "proto/errorcode/error_code_enums_proto_config.asciipb",
- "proto/sharing_enums.proto",
+ "connections/implementation/proto",
+ "internal/proto",
+ "proto",
// webrtc
"connections/implementation/webrtc_bwu_handler.cc",
"connections/implementation/webrtc_endpoint_channel.cc",
@@ -515,6 +518,9 @@ let package = Package(
"connections/implementation/mediums/webrtc",
// This breaks the build, but seems to work fine without it?
"internal/platform/medium_environment.cc",
+ // This file breaks the build:
+ // TODO: compile the proto and upload it to github. Then remove this file from exclude list.
+ "internal/platform/credential_storage.cc",
],
sources: [
"compiled_proto",
@@ -522,23 +528,64 @@ let package = Package(
"internal",
"proto",
],
- publicHeadersPath: "connections/clients/ios/Public",
+ publicHeadersPath: "connections/clients/swift/NearbyCoreAdapter/Sources/Public",
cSettings: [
.headerSearchPath("./"),
.headerSearchPath("compiled_proto/"),
.define("NO_WEBRTC"),
.define("NEARBY_SWIFTPM"),
+ ]
+ ),
+ .target(
+ name: "NearbyConnections",
+ dependencies: ["NearbyCoreAdapter"],
+ path: ".",
+ exclude: [
+ "compiled_proto",
+ "connections/clients/windows",
+ "connections/clients/ios",
+ "connections/clients/swift/NearbyCoreAdapter",
+ "connections/clients/swift/NearbyConnections/BUILD",
+ "connections/clients/swift/NearbyConnections/Tests",
+ "connections/BUILD",
+ "connections/discovery_options.cc",
+ "connections/status.cc",
+ "connections/listeners_test.cc",
+ "connections/advertising_options.cc",
+ "connections/payload.cc",
+ "connections/strategy_test.cc",
+ "connections/connection_options.cc",
+ "connections/core_test.cc",
+ "connections/status_test.cc",
+ "connections/core.cc",
+ "connections/strategy.cc",
+ "connections/payload_test.cc",
+ "connections/implementation",
+ "connections/samples",
+ "docs",
+ "embedded",
+ "internal",
+ "presence",
+ "proto",
+ "third_party",
+ "CONTRIBUTING.md",
+ "LICENSE",
+ "README.md",
+ "WORKSPACE",
],
- linkerSettings: [
- .linkedLibrary("c++"),
- .linkedFramework("CoreBluetooth"),
- .linkedFramework("CoreFoundation"),
+ sources: [
+ "connections/clients/swift/NearbyConnections/Sources"
]
),
.testTarget(
- name: "BuildTests",
+ name: "NearbyCoreAdapterTests",
+ dependencies: ["NearbyCoreAdapter"],
+ path: "connections/clients/swift/NearbyCoreAdapter/Tests"
+ ),
+ .testTarget(
+ name: "NearbyConnectionsTests",
dependencies: ["NearbyConnections"],
- path: "connections/clients/ios/BuildTests"
+ path: "connections/clients/swift/NearbyConnections/Tests"
),
],
cLanguageStandard: .c99,
diff --git a/chromium/third_party/nearby/src/README.md b/chromium/third_party/nearby/src/README.md
index bfc217230fe..c1f1ff4b7d0 100644
--- a/chromium/third_party/nearby/src/README.md
+++ b/chromium/third_party/nearby/src/README.md
@@ -66,4 +66,4 @@ We also provide a iOS [sample app using the Nearby Connections library]
### Limitation
The only Medium supported is Wifi LAN.
-**Last Updated:** April 7, 2022
+**Last Updated:** August 11, 2022
diff --git a/chromium/third_party/nearby/src/connections/BUILD b/chromium/third_party/nearby/src/connections/BUILD
index 5fb933e0e8d..b5fed4fd8ad 100644
--- a/chromium/third_party/nearby/src/connections/BUILD
+++ b/chromium/third_party/nearby/src/connections/BUILD
@@ -74,7 +74,6 @@ cc_library(
"//internal/platform/implementation/ios:__subpackages__",
],
deps = [
- "//connections/clients/windows:types",
"//internal/platform:base",
"//internal/platform:types",
"//internal/platform:util",
diff --git a/chromium/third_party/nearby/src/connections/advertising_options.h b/chromium/third_party/nearby/src/connections/advertising_options.h
index 34d39295af3..8ea3ba09e6f 100644
--- a/chromium/third_party/nearby/src/connections/advertising_options.h
+++ b/chromium/third_party/nearby/src/connections/advertising_options.h
@@ -29,7 +29,7 @@ namespace connections {
// Connection Options: used for both Advertising and Discovery.
// All fields are mutable, to make the type copy-assignable.
struct AdvertisingOptions : public OptionsBase {
- bool auto_upgrade_bandwidth;
+ bool auto_upgrade_bandwidth = true;
bool enforce_topology_constraints;
bool low_power;
bool enable_bluetooth_listening;
diff --git a/chromium/third_party/nearby/src/connections/clients/ios/BUILD b/chromium/third_party/nearby/src/connections/clients/ios/BUILD
index 5fa39aaf5ba..def8b688a9a 100644
--- a/chromium/third_party/nearby/src/connections/clients/ios/BUILD
+++ b/chromium/third_party/nearby/src/connections/clients/ios/BUILD
@@ -11,7 +11,11 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
-load("//tools/build_defs/apple:ios.bzl", "ios_static_framework")
+
+# TODO(b/240046236): Rename this package as `objc`.
+
+load("//tools/build_defs/apple:ios.bzl", "ios_static_framework", "ios_unit_test")
+load("//tools/build_defs/swift:swift.bzl", "swift_library")
licenses(["notice"])
@@ -21,19 +25,19 @@ objc_library(
name = "Connections",
srcs = [
"Internal/GNCAdvertiser.mm",
+ "Internal/GNCCore.h",
"Internal/GNCCore.mm",
+ "Internal/GNCCoreConnection.h",
"Internal/GNCCoreConnection.mm",
"Internal/GNCDiscoverer.mm",
"Internal/GNCPayload.mm",
+ "Internal/GNCPayload+Internal.h",
+ "Internal/GNCPayloadListener.h",
"Internal/GNCPayloadListener.mm",
+ "Internal/GNCUtils.h",
"Internal/GNCUtils.mm",
],
hdrs = [
- "Internal/GNCCore.h",
- "Internal/GNCCoreConnection.h",
- "Internal/GNCPayload+Internal.h",
- "Internal/GNCPayloadListener.h",
- "Internal/GNCUtils.h",
"Public/NearbyConnections/GNCAdvertiser.h",
"Public/NearbyConnections/GNCConnection.h",
"Public/NearbyConnections/GNCConnections.h",
@@ -41,7 +45,9 @@ objc_library(
"Public/NearbyConnections/GNCPayload.h",
],
features = ["-layering_check"],
+ module_name = "NearbyConnections",
deps = [
+ "//third_party/apple_frameworks:Foundation",
"//connections:core",
"//connections:core_types",
"//internal/platform/implementation/ios:Platform",
@@ -50,6 +56,25 @@ objc_library(
],
)
+swift_library(
+ name = "BuildTestsLib",
+ testonly = 1,
+ srcs = ["BuildTests/Test.swift"],
+ deps = [
+ ":Connections",
+ "//third_party/apple_frameworks:XCTest",
+ ],
+)
+
+ios_unit_test(
+ name = "BuildTests",
+ minimum_os_version = "12.0",
+ runner = "//testing/utp/ios:IOS_12",
+ deps = [
+ ":BuildTestsLib",
+ ],
+)
+
MIN_IOS_VERSION = "12.0"
HDRS_POD = [
diff --git a/chromium/third_party/nearby/src/connections/clients/ios/BuildTests/Test.swift b/chromium/third_party/nearby/src/connections/clients/ios/BuildTests/Test.swift
index 7915d573d56..6769ee91114 100644
--- a/chromium/third_party/nearby/src/connections/clients/ios/BuildTests/Test.swift
+++ b/chromium/third_party/nearby/src/connections/clients/ios/BuildTests/Test.swift
@@ -1 +1,8 @@
import NearbyConnections
+import XCTest
+
+class BuildTests: XCTestCase {
+ func testBuild() {
+ // At least one test case is needed.
+ }
+}
diff --git a/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCCore.h b/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCCore.h
index 10e33badd08..9d528df13f0 100644
--- a/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCCore.h
+++ b/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCCore.h
@@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#ifdef __cplusplus
+
#import <Foundation/Foundation.h>
#include <memory>
@@ -35,3 +37,5 @@ NS_ASSUME_NONNULL_BEGIN
GNCCore *GNCGetCore();
NS_ASSUME_NONNULL_END
+
+#endif
diff --git a/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCCoreConnection.h b/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCCoreConnection.h
index 465287ca373..247ba64d833 100644
--- a/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCCoreConnection.h
+++ b/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCCoreConnection.h
@@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#ifdef __cplusplus
+
#import <Foundation/Foundation.h>
#import "connections/clients/ios/Internal/GNCCore.h"
@@ -42,3 +44,5 @@ NS_ASSUME_NONNULL_BEGIN
@end
NS_ASSUME_NONNULL_END
+
+#endif
diff --git a/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCDiscoverer.mm b/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCDiscoverer.mm
index a19963ded24..1a289553991 100644
--- a/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCDiscoverer.mm
+++ b/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCDiscoverer.mm
@@ -34,12 +34,9 @@
NS_ASSUME_NONNULL_BEGIN
-using ::location::nearby::ByteArray;
using ::location::nearby::CppStringFromObjCString;
using ::location::nearby::connections::DiscoveryOptions;
-using ::location::nearby::connections::ConnectionOptions;
using ::location::nearby::connections::DiscoveryListener;
-using ::location::nearby::connections::DistanceInfo;
using ::location::nearby::connections::GNCStrategyToStrategy;
using ResultListener = ::location::nearby::connections::ResultCallback;
using ::location::nearby::connections::Status;
@@ -307,7 +304,7 @@ class GNCDiscoveryListener {
ConnectionRequestInfo{.endpoint_info = ByteArrayFromNSData(info),
.listener = std::move(listener)},
ConnectionOptions{},
- ResultListener{.result_cb = [&connFailureHandler](Status status) {
+ ResultListener{.result_cb = [connFailureHandler](Status status) {
if (!status.Ok()) {
dispatch_sync(dispatch_get_main_queue(), ^{
connFailureHandler(GNCConnectionFailureUnknown);
diff --git a/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCPayloadListener.h b/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCPayloadListener.h
index 9a6ccfd0e43..9a334710a77 100644
--- a/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCPayloadListener.h
+++ b/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCPayloadListener.h
@@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#ifdef __cplusplus
+
#import <Foundation/Foundation.h>
#include <string>
@@ -54,3 +56,5 @@ class GNCPayloadListener : public PayloadListener {
} // namespace location
NS_ASSUME_NONNULL_END
+
+#endif
diff --git a/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCUtils.h b/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCUtils.h
index c76fea0d026..a7f77de4f01 100644
--- a/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCUtils.h
+++ b/chromium/third_party/nearby/src/connections/clients/ios/Internal/GNCUtils.h
@@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#ifdef __cplusplus
+
#import <Foundation/Foundation.h>
#include <string>
@@ -40,3 +42,5 @@ const Strategy& GNCStrategyToStrategy(GNCStrategy strategy);
@end
NS_ASSUME_NONNULL_END
+
+#endif
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/BUILD b/chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/BUILD
new file mode 100644
index 00000000000..731bc8cf163
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/BUILD
@@ -0,0 +1,48 @@
+# Copyright 2022 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+load("//tools/build_defs/apple:ios.bzl", "ios_unit_test")
+load("//tools/build_defs/swift:swift.bzl", "swift_library")
+
+licenses(["notice"])
+
+package(default_visibility = ["//visibility:public"])
+
+swift_library(
+ name = "NearbyConnections",
+ srcs = glob(["Sources/**/*.swift"]),
+ module_name = "NearbyConnections",
+ deps = [
+ "//connections/clients/swift/NearbyCoreAdapter",
+ ],
+)
+
+swift_library(
+ name = "TestsLib",
+ testonly = 1,
+ srcs = ["Tests/BuildTests.swift"],
+ deps = [
+ ":NearbyConnections",
+ "//third_party/apple_frameworks:XCTest",
+ ],
+)
+
+ios_unit_test(
+ name = "Tests",
+ minimum_os_version = "12.0",
+ runner = "//testing/utp/ios:IOS_12",
+ deps = [
+ ":TestsLib",
+ ],
+)
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/Sources/Advertiser.swift b/chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/Sources/Advertiser.swift
new file mode 100644
index 00000000000..db2c442d929
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/Sources/Advertiser.swift
@@ -0,0 +1,17 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+import NearbyCoreAdapter
+
+public class Advertiser {}
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/Sources/Connection.swift b/chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/Sources/Connection.swift
new file mode 100644
index 00000000000..4f10c02649c
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/Sources/Connection.swift
@@ -0,0 +1,17 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+import NearbyCoreAdapter
+
+public class Connection {}
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/Sources/Discoverer.swift b/chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/Sources/Discoverer.swift
new file mode 100644
index 00000000000..6cef2fff7e7
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/Sources/Discoverer.swift
@@ -0,0 +1,17 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+import NearbyCoreAdapter
+
+public class Discoverer {}
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/Tests/BuildTests.swift b/chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/Tests/BuildTests.swift
new file mode 100644
index 00000000000..6769ee91114
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyConnections/Tests/BuildTests.swift
@@ -0,0 +1,8 @@
+import NearbyConnections
+import XCTest
+
+class BuildTests: XCTestCase {
+ func testBuild() {
+ // At least one test case is needed.
+ }
+}
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/BUILD b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/BUILD
new file mode 100644
index 00000000000..0cd56939b8d
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/BUILD
@@ -0,0 +1,58 @@
+# Copyright 2022 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+load("//tools/build_defs/apple:ios.bzl", "ios_unit_test")
+load("//tools/build_defs/swift:swift.bzl", "swift_library")
+
+licenses(["notice"])
+
+package(default_visibility = ["//visibility:public"])
+
+objc_library(
+ name = "NearbyCoreAdapter",
+ srcs = glob([
+ "Sources/*.mm",
+ "Sources/*.m",
+ "Sources/*.h",
+ ]),
+ hdrs = glob(["Sources/Public/**/*.h"]),
+ features = ["-layering_check"],
+ module_name = "NearbyCoreAdapter",
+ deps = [
+ "//third_party/apple_frameworks:Foundation",
+ "//connections:core",
+ "//connections:core_types",
+ "//internal/platform:base",
+ "//internal/platform/implementation/ios:Platform", # buildcleaner: keep
+ ],
+)
+
+swift_library(
+ name = "TestsLib",
+ testonly = 1,
+ srcs = ["Tests/BuildTests.swift"],
+ deps = [
+ ":NearbyCoreAdapter",
+ "//third_party/apple_frameworks:XCTest",
+ ],
+)
+
+ios_unit_test(
+ name = "Tests",
+ minimum_os_version = "12.0",
+ runner = "//testing/utp/ios:IOS_12",
+ deps = [
+ ":TestsLib",
+ ],
+)
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/CPPInputStreamBinding.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/CPPInputStreamBinding.h
new file mode 100644
index 00000000000..92554d6719f
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/CPPInputStreamBinding.h
@@ -0,0 +1,50 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+#ifdef __cplusplus
+namespace location {
+namespace nearby {
+class InputStream;
+}
+} // namespace location
+#endif
+
+@interface CPPInputStreamBinding : NSObject
+
+/**
+ * Creates and attaches a @c CPPInputStreamBinding object to the provided stream as an associated
+ * object.
+ *
+ * This association makes it possible for a c++ pointer to live as long as the original user
+ * provided @c NSInputStream object.
+ *
+ * @param stream The stream to become associated with.
+ */
++ (void)bindToStream:(NSInputStream *)stream;
+
+#ifdef __cplusplus
+/**
+ * Retreives a reference to the c++ pointer associated to the provided stream.
+ *
+ * CPPInputStreamBinding::bindToStream: must be called on the this stream before calling this
+ * function.
+ *
+ * @param stream The stream that has a c++ pointer associated with it.
+ */
++ (location::nearby::InputStream &)getRefFromStream:(NSInputStream *)stream;
+#endif
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/CPPInputStreamBinding.mm b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/CPPInputStreamBinding.mm
new file mode 100644
index 00000000000..d62cb476975
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/CPPInputStreamBinding.mm
@@ -0,0 +1,90 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/CPPInputStreamBinding.h"
+
+#import <Foundation/Foundation.h>
+#import <objc/runtime.h>
+
+#include <memory>
+#include <vector>
+
+// TODO(b/239758418): Change this to the non-internal version when available.
+#include "internal/platform/input_stream.h"
+
+using ::location::nearby::ByteArray;
+using ::location::nearby::Exception;
+using ::location::nearby::ExceptionOr;
+using ::location::nearby::InputStream;
+
+class CPPInputStream : public InputStream {
+ public:
+ explicit CPPInputStream(NSInputStream *iStream) : iStream_(iStream) { [iStream_ open]; }
+
+ ~CPPInputStream() override { Close(); }
+
+ ExceptionOr<ByteArray> Read(std::int64_t size) override {
+ std::vector<uint8_t> buffer;
+ buffer.reserve(size);
+ NSInteger numberOfBytesRead = [iStream_ read:buffer.data() maxLength:size];
+ if (numberOfBytesRead == 0) {
+ return ExceptionOr<ByteArray>();
+ }
+ if (numberOfBytesRead < 0) {
+ return ExceptionOr<ByteArray>(Exception::kIo);
+ }
+ return ExceptionOr<ByteArray>(ByteArray((const char *)buffer.data(), numberOfBytesRead));
+ }
+
+ Exception Close() override {
+ [iStream_ close];
+ return Exception{Exception::kSuccess};
+ }
+
+ private:
+ // Prevent a retain cycle since NSInputStream will have a strong reference to this object.
+ __weak NSInputStream *iStream_;
+};
+
+// Wrap a c++ InputStream subclass in objective-c so it can be associated with the original
+// NSInputStream object. The association makes it possible for the unique_ptr to live as long as
+// the original user provided NSInputStream.
+@implementation CPPInputStreamBinding {
+ @public
+ std::unique_ptr<CPPInputStream> _cppStream;
+}
+
+// This field's address is used as a unique identifier.
+static char gAssociatedStreamKey;
+
+- (instancetype)initWithStream:(NSInputStream *)stream {
+ self = [super init];
+ if (self) {
+ _cppStream = std::make_unique<CPPInputStream>(stream);
+ }
+ return self;
+}
+
++ (void)bindToStream:(NSInputStream *)stream {
+ CPPInputStreamBinding *binding = [[CPPInputStreamBinding alloc] initWithStream:stream];
+ objc_setAssociatedObject(stream, &gAssociatedStreamKey, binding,
+ OBJC_ASSOCIATION_RETAIN_NONATOMIC);
+}
+
++ (InputStream &)getRefFromStream:(NSInputStream *)stream {
+ CPPInputStreamBinding *binding = objc_getAssociatedObject(stream, &gAssociatedStreamKey);
+ return *binding->_cppStream;
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCAdvertisingOptions+CppConversions.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCAdvertisingOptions+CppConversions.h
new file mode 100644
index 00000000000..00f61348ee4
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCAdvertisingOptions+CppConversions.h
@@ -0,0 +1,35 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCAdvertisingOptions.h"
+
+#ifdef __cplusplus
+namespace location {
+namespace nearby {
+namespace connections {
+class AdvertisingOptions;
+}
+} // namespace nearby
+} // namespace location
+#endif
+
+@interface GNCAdvertisingOptions (CppConversions)
+
+#ifdef __cplusplus
+- (location::nearby::connections::AdvertisingOptions)toCpp;
+#endif
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCAdvertisingOptions+CppConversions.mm b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCAdvertisingOptions+CppConversions.mm
new file mode 100644
index 00000000000..bca0529a0fd
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCAdvertisingOptions+CppConversions.mm
@@ -0,0 +1,35 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCAdvertisingOptions.h"
+
+#import <Foundation/Foundation.h>
+
+#include "connections/advertising_options.h"
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/GNCAdvertisingOptions+CppConversions.h"
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/GNCStrategy+Internal.h"
+
+using ::location::nearby::connections::AdvertisingOptions;
+using ::location::nearby::connections::CppStrategyFromGNCStrategy;
+
+@implementation GNCAdvertisingOptions (CppConversions)
+
+- (AdvertisingOptions)toCpp {
+ AdvertisingOptions advertising_options;
+ advertising_options.strategy = CppStrategyFromGNCStrategy(self.strategy);
+ return advertising_options;
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCAdvertisingOptions.mm b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCAdvertisingOptions.mm
new file mode 100644
index 00000000000..4ed17b027a0
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCAdvertisingOptions.mm
@@ -0,0 +1,31 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCAdvertisingOptions.h"
+
+#import <Foundation/Foundation.h>
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCStrategy.h"
+
+@implementation GNCAdvertisingOptions
+
+- (instancetype)initWithStrategy:(GNCStrategy)strategy {
+ self = [super init];
+ if (self) {
+ _strategy = strategy;
+ }
+ return self;
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCConnectionOptions+CppConversions.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCConnectionOptions+CppConversions.h
new file mode 100644
index 00000000000..4689e531ace
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCConnectionOptions+CppConversions.h
@@ -0,0 +1,35 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCConnectionOptions.h"
+
+#ifdef __cplusplus
+namespace location {
+namespace nearby {
+namespace connections {
+class ConnectionOptions;
+}
+} // namespace nearby
+} // namespace location
+#endif
+
+@interface GNCConnectionOptions (CppConversions)
+
+#ifdef __cplusplus
+- (location::nearby::connections::ConnectionOptions)toCpp;
+#endif
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCConnectionOptions+CppConversions.mm b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCConnectionOptions+CppConversions.mm
new file mode 100644
index 00000000000..3d21d23c549
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCConnectionOptions+CppConversions.mm
@@ -0,0 +1,31 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCConnectionOptions.h"
+
+#import <Foundation/Foundation.h>
+
+#include "connections/connection_options.h"
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/GNCConnectionOptions+CppConversions.h"
+
+using ::location::nearby::connections::ConnectionOptions;
+
+@implementation GNCConnectionOptions (CppConversions)
+
+- (ConnectionOptions)toCpp {
+ return ConnectionOptions{};
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCConnectionOptions.mm b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCConnectionOptions.mm
new file mode 100644
index 00000000000..7194548ca08
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCConnectionOptions.mm
@@ -0,0 +1,21 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCConnectionOptions.h"
+
+#import <Foundation/Foundation.h>
+
+@implementation GNCConnectionOptions
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCCoreAdapter.mm b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCCoreAdapter.mm
new file mode 100644
index 00000000000..bf39c99645d
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCCoreAdapter.mm
@@ -0,0 +1,417 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCCoreAdapter.h"
+
+#import <Foundation/Foundation.h>
+
+#include <memory>
+#include <string>
+#include <utility>
+#include <vector>
+
+#include "connections/core.h"
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/GNCAdvertisingOptions+CppConversions.h"
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/GNCConnectionOptions+CppConversions.h"
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/GNCDiscoveryOptions+CppConversions.h"
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/GNCError+Internal.h"
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/GNCPayload+CppConversions.h"
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCAdvertisingOptions.h"
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCConnectionDelegate.h"
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCConnectionOptions.h"
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCDiscoveryDelegate.h"
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCDiscoveryOptions.h"
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCError.h"
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCPayload.h"
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCPayloadDelegate.h"
+
+using ::location::nearby::ByteArray;
+using ::location::nearby::connections::AdvertisingOptions;
+using ::location::nearby::connections::ConnectionListener;
+using ::location::nearby::connections::ConnectionOptions;
+using ::location::nearby::connections::ConnectionRequestInfo;
+using ::location::nearby::connections::ConnectionResponseInfo;
+using ::location::nearby::connections::Core;
+using ::location::nearby::connections::DiscoveryListener;
+using ::location::nearby::connections::DiscoveryOptions;
+using ::location::nearby::connections::Payload;
+using ::location::nearby::connections::PayloadListener;
+using ::location::nearby::connections::PayloadProgressInfo;
+using ResultListener = ::location::nearby::connections::ResultCallback;
+using ::location::nearby::connections::ServiceControllerRouter;
+using ::location::nearby::connections::Status;
+
+GNCStatus GNCStatusFromCppStatus(Status status) {
+ switch (status.value) {
+ case Status::kSuccess:
+ return GNCStatusSuccess;
+ case Status::kError:
+ return GNCStatusError;
+ case Status::kOutOfOrderApiCall:
+ return GNCStatusOutOfOrderApiCall;
+ case Status::kAlreadyHaveActiveStrategy:
+ return GNCStatusAlreadyHaveActiveStrategy;
+ case Status::kAlreadyAdvertising:
+ return GNCStatusAlreadyAdvertising;
+ case Status::kAlreadyDiscovering:
+ return GNCStatusAlreadyDiscovering;
+ case Status::kEndpointIoError:
+ return GNCStatusEndpointIoError;
+ case Status::kEndpointUnknown:
+ return GNCStatusEndpointUnknown;
+ case Status::kConnectionRejected:
+ return GNCStatusConnectionRejected;
+ case Status::kAlreadyConnectedToEndpoint:
+ return GNCStatusAlreadyConnectedToEndpoint;
+ case Status::kNotConnectedToEndpoint:
+ return GNCStatusNotConnectedToEndpoint;
+ case Status::kBluetoothError:
+ return GNCStatusBluetoothError;
+ case Status::kBleError:
+ return GNCStatusBleError;
+ case Status::kWifiLanError:
+ return GNCStatusWifiLanError;
+ case Status::kPayloadUnknown:
+ return GNCStatusPayloadUnknown;
+ }
+}
+
+@interface GNCCoreAdapter () {
+ std::unique_ptr<Core> _core;
+ std::unique_ptr<ServiceControllerRouter> _serviceControllerRouter;
+}
+
+@end
+
+@implementation GNCCoreAdapter
+
++ (GNCCoreAdapter *)shared {
+ static dispatch_once_t onceToken;
+ static GNCCoreAdapter *shared = nil;
+ dispatch_once(&onceToken, ^{
+ shared = [[GNCCoreAdapter alloc] init];
+ });
+ return shared;
+}
+
+- (instancetype)init {
+ self = [super init];
+ if (self) {
+ _serviceControllerRouter = std::make_unique<ServiceControllerRouter>();
+ _core = std::make_unique<Core>(_serviceControllerRouter.get());
+ }
+ return self;
+}
+
+- (void)dealloc {
+ // Make sure Core is deleted before ServiceControllerRouter.
+ _core.reset();
+ _serviceControllerRouter.reset();
+}
+
+- (void)startAdvertisingAsService:(NSString *)serviceID
+ endpointInfo:(NSData *)endpointInfo
+ options:(GNCAdvertisingOptions *)advertisingOptions
+ delegate:(id<GNCConnectionDelegate>)delegate
+ withCompletionHandler:(void (^)(NSError *error))completionHandler {
+ std::string service_id = [serviceID cStringUsingEncoding:[NSString defaultCStringEncoding]];
+
+ AdvertisingOptions advertising_options = [advertisingOptions toCpp];
+
+ ConnectionListener listener;
+ listener.initiated_cb = ^(const std::string &endpoint_id, const ConnectionResponseInfo &info) {
+ NSString *endpointID = @(endpoint_id.c_str());
+ NSData *endpointInfo = [NSData dataWithBytes:info.remote_endpoint_info.data()
+ length:info.remote_endpoint_info.size()];
+ NSString *authenticationToken = @(info.authentication_token.c_str());
+ [delegate connectedToEndpoint:endpointID
+ withEndpointInfo:endpointInfo
+ authenticationToken:authenticationToken];
+ };
+ listener.accepted_cb = ^(const std::string &endpoint_id) {
+ NSString *endpointID = @(endpoint_id.c_str());
+ [delegate acceptedConnectionToEndpoint:endpointID];
+ };
+ listener.rejected_cb = ^(const std::string &endpoint_id, Status status) {
+ NSString *endpointID = @(endpoint_id.c_str());
+ [delegate rejectedConnectionToEndpoint:endpointID withStatus:GNCStatusFromCppStatus(status)];
+ };
+ listener.disconnected_cb = ^(const std::string &endpoint_id) {
+ NSString *endpointID = @(endpoint_id.c_str());
+ [delegate disconnectedFromEndpoint:endpointID];
+ };
+
+ ConnectionRequestInfo connection_request_info;
+ connection_request_info.endpoint_info =
+ ByteArray((const char *)endpointInfo.bytes, endpointInfo.length);
+ connection_request_info.listener = std::move(listener);
+
+ ResultListener result;
+ result.result_cb = ^(Status status) {
+ NSError *err = NSErrorFromCppStatus(status);
+ if (completionHandler) {
+ completionHandler(err);
+ }
+ };
+
+ _core->StartAdvertising(service_id, advertising_options, connection_request_info, result);
+}
+
+- (void)stopAdvertisingWithCompletionHandler:(void (^)(NSError *error))completionHandler {
+ ResultListener result;
+ result.result_cb = ^(Status status) {
+ NSError *err = NSErrorFromCppStatus(status);
+ if (completionHandler) {
+ completionHandler(err);
+ }
+ };
+
+ _core->StopAdvertising(result);
+}
+
+- (void)startDiscoveryAsService:(NSString *)serviceID
+ options:(GNCDiscoveryOptions *)discoveryOptions
+ delegate:(id<GNCDiscoveryDelegate>)delegate
+ withCompletionHandler:(void (^)(NSError *error))completionHandler {
+ std::string service_id = [serviceID cStringUsingEncoding:[NSString defaultCStringEncoding]];
+
+ DiscoveryOptions discovery_options = [discoveryOptions toCpp];
+
+ DiscoveryListener listener;
+ listener.endpoint_found_cb = ^(const std::string &endpoint_id, const ByteArray &endpoint_info,
+ const std::string &service_id) {
+ NSString *endpointID = @(endpoint_id.c_str());
+ NSData *info = [NSData dataWithBytes:endpoint_info.data() length:endpoint_info.size()];
+ [delegate foundEndpoint:endpointID withEndpointInfo:info];
+ };
+ listener.endpoint_lost_cb = ^(const std::string &endpoint_id) {
+ NSString *endpointID = @(endpoint_id.c_str());
+ [delegate lostEndpoint:endpointID];
+ };
+
+ ResultListener result;
+ result.result_cb = ^(Status status) {
+ NSError *err = NSErrorFromCppStatus(status);
+ if (completionHandler) {
+ completionHandler(err);
+ }
+ };
+
+ _core->StartDiscovery(service_id, discovery_options, std::move(listener), result);
+}
+
+- (void)stopDiscoveryWithCompletionHandler:(void (^)(NSError *error))completionHandler {
+ ResultListener result;
+ result.result_cb = ^(Status status) {
+ NSError *err = NSErrorFromCppStatus(status);
+ if (completionHandler) {
+ completionHandler(err);
+ }
+ };
+
+ _core->StopDiscovery(result);
+}
+
+- (void)requestConnectionToEndpoint:(NSString *)endpointID
+ endpointInfo:(NSData *)endpointInfo
+ options:(GNCConnectionOptions *)connectionOptions
+ delegate:(id<GNCConnectionDelegate>)delegate
+ withCompletionHandler:(void (^)(NSError *error))completionHandler {
+ std::string endpoint_id = [endpointID cStringUsingEncoding:[NSString defaultCStringEncoding]];
+
+ ConnectionListener listener;
+ listener.initiated_cb = ^(const std::string &endpoint_id, const ConnectionResponseInfo &info) {
+ NSString *endpointID = @(endpoint_id.c_str());
+ NSData *endpointInfo = [NSData dataWithBytes:info.remote_endpoint_info.data()
+ length:info.remote_endpoint_info.size()];
+ NSString *authenticationToken = @(info.authentication_token.c_str());
+ [delegate connectedToEndpoint:endpointID
+ withEndpointInfo:endpointInfo
+ authenticationToken:authenticationToken];
+ };
+ listener.accepted_cb = ^(const std::string &endpoint_id) {
+ NSString *endpointID = @(endpoint_id.c_str());
+ [delegate acceptedConnectionToEndpoint:endpointID];
+ };
+ listener.rejected_cb = ^(const std::string &endpoint_id, Status status) {
+ NSString *endpointID = @(endpoint_id.c_str());
+ [delegate rejectedConnectionToEndpoint:endpointID withStatus:GNCStatusFromCppStatus(status)];
+ };
+ listener.disconnected_cb = ^(const std::string &endpoint_id) {
+ NSString *endpointID = @(endpoint_id.c_str());
+ [delegate disconnectedFromEndpoint:endpointID];
+ };
+
+ ConnectionRequestInfo connection_request_info;
+ connection_request_info.endpoint_info =
+ ByteArray((const char *)endpointInfo.bytes, endpointInfo.length);
+ connection_request_info.listener = std::move(listener);
+
+ ConnectionOptions connection_options = [connectionOptions toCpp];
+
+ ResultListener result;
+ result.result_cb = ^(Status status) {
+ NSError *err = NSErrorFromCppStatus(status);
+ if (completionHandler) {
+ completionHandler(err);
+ }
+ };
+
+ _core->RequestConnection(endpoint_id, connection_request_info, connection_options, result);
+}
+
+- (void)acceptConnectionRequestFromEndpoint:(NSString *)endpointID
+ delegate:(id<GNCPayloadDelegate>)delegate
+ withCompletionHandler:(void (^)(NSError *error))completionHandler {
+ std::string endpoint_id = [endpointID cStringUsingEncoding:[NSString defaultCStringEncoding]];
+
+ PayloadListener listener;
+ listener.payload_cb = ^(const std::string &endpoint_id, Payload payload) {
+ NSString *endpointID = @(endpoint_id.c_str());
+ GNCPayload *gncPayload = [GNCPayload fromCpp:std::move(payload)];
+ [delegate receivedPayload:gncPayload fromEndpoint:endpointID];
+ };
+ listener.payload_progress_cb =
+ ^(const std::string &endpoint_id, const PayloadProgressInfo &info) {
+ NSString *endpointID = @(endpoint_id.c_str());
+ GNCPayloadStatus status;
+ switch (info.status) {
+ case PayloadProgressInfo::Status::kSuccess:
+ status = GNCPayloadStatusSuccess;
+ break;
+ case PayloadProgressInfo::Status::kFailure:
+ status = GNCPayloadStatusFailure;
+ break;
+ case PayloadProgressInfo::Status::kInProgress:
+ status = GNCPayloadStatusInProgress;
+ break;
+ case PayloadProgressInfo::Status::kCanceled:
+ status = GNCPayloadStatusCanceled;
+ break;
+ }
+ [delegate receivedProgressUpdateForPayload:info.payload_id
+ withStatus:status
+ fromEndpoint:endpointID
+ bytesTransfered:info.bytes_transferred
+ totalBytes:info.total_bytes];
+ };
+
+ ResultListener result;
+ result.result_cb = ^(Status status) {
+ NSError *err = NSErrorFromCppStatus(status);
+ if (completionHandler) {
+ completionHandler(err);
+ }
+ };
+
+ _core->AcceptConnection(endpoint_id, std::move(listener), result);
+}
+
+- (void)rejectConnectionRequestFromEndpoint:(NSString *)endpointID
+ withCompletionHandler:(void (^)(NSError *error))completionHandler {
+ std::string endpoint_id = [endpointID cStringUsingEncoding:[NSString defaultCStringEncoding]];
+
+ ResultListener result;
+ result.result_cb = ^(Status status) {
+ NSError *err = NSErrorFromCppStatus(status);
+ if (completionHandler) {
+ completionHandler(err);
+ }
+ };
+
+ _core->RejectConnection(endpoint_id, result);
+}
+
+- (void)sendPayload:(GNCPayload *)payload
+ toEndpoints:(NSArray<NSString *> *)endpointIDs
+ withCompletionHandler:(void (^)(NSError *error))completionHandler {
+ std::vector<std::string> endpoint_ids;
+ endpoint_ids.reserve([endpointIDs count]);
+ for (NSString *endpointID in endpointIDs) {
+ std::string endpoint_id = [endpointID cStringUsingEncoding:[NSString defaultCStringEncoding]];
+ endpoint_ids.push_back(endpoint_id);
+ }
+
+ ResultListener result;
+ result.result_cb = ^(Status status) {
+ NSError *err = NSErrorFromCppStatus(status);
+ if (completionHandler) {
+ completionHandler(err);
+ }
+ };
+
+ _core->SendPayload(endpoint_ids, [payload toCpp], result);
+}
+
+- (void)cancelPayload:(int64_t)payloadID
+ withCompletionHandler:(void (^)(NSError *error))completionHandler {
+ ResultListener result;
+ result.result_cb = ^(Status status) {
+ NSError *err = NSErrorFromCppStatus(status);
+ if (completionHandler) {
+ completionHandler(err);
+ }
+ };
+
+ _core->CancelPayload(payloadID, result);
+}
+
+- (void)disconnectFromEndpoint:(NSString *)endpointID
+ withCompletionHandler:(void (^)(NSError *error))completionHandler {
+ std::string endpoint_id = [endpointID cStringUsingEncoding:[NSString defaultCStringEncoding]];
+
+ ResultListener result;
+ result.result_cb = ^(Status status) {
+ NSError *err = NSErrorFromCppStatus(status);
+ if (completionHandler) {
+ completionHandler(err);
+ }
+ };
+
+ _core->DisconnectFromEndpoint(endpoint_id, result);
+}
+
+- (void)stopAllEndpointsWithCompletionHandler:(void (^)(NSError *error))completionHandler {
+ ResultListener result;
+ result.result_cb = ^(Status status) {
+ NSError *err = NSErrorFromCppStatus(status);
+ if (completionHandler) {
+ completionHandler(err);
+ }
+ };
+ _core->StopAllEndpoints(result);
+}
+
+- (void)initiateBandwidthUpgrade:(NSString *)endpointID
+ withCompletionHandler:(void (^)(NSError *error))completionHandler {
+ std::string endpoint_id = [endpointID cStringUsingEncoding:[NSString defaultCStringEncoding]];
+
+ ResultListener result;
+ result.result_cb = ^(Status status) {
+ NSError *err = NSErrorFromCppStatus(status);
+ if (completionHandler) {
+ completionHandler(err);
+ }
+ };
+
+ _core->InitiateBandwidthUpgrade(endpoint_id, result);
+}
+
+- (NSString *)localEndpointID {
+ std::string endpoint_id = _core->GetLocalEndpointId();
+ return @(endpoint_id.c_str());
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCDiscoveryOptions+CppConversions.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCDiscoveryOptions+CppConversions.h
new file mode 100644
index 00000000000..185c347f1fb
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCDiscoveryOptions+CppConversions.h
@@ -0,0 +1,35 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCDiscoveryOptions.h"
+
+#ifdef __cplusplus
+namespace location {
+namespace nearby {
+namespace connections {
+class DiscoveryOptions;
+}
+} // namespace nearby
+} // namespace location
+#endif
+
+@interface GNCDiscoveryOptions (CppConversions)
+
+#ifdef __cplusplus
+- (location::nearby::connections::DiscoveryOptions)toCpp;
+#endif
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCDiscoveryOptions+CppConversions.mm b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCDiscoveryOptions+CppConversions.mm
new file mode 100644
index 00000000000..4ac7f6b264f
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCDiscoveryOptions+CppConversions.mm
@@ -0,0 +1,35 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCDiscoveryOptions.h"
+
+#import <Foundation/Foundation.h>
+
+#include "connections/discovery_options.h"
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/GNCDiscoveryOptions+CppConversions.h"
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/GNCStrategy+Internal.h"
+
+using ::location::nearby::connections::CppStrategyFromGNCStrategy;
+using ::location::nearby::connections::DiscoveryOptions;
+
+@implementation GNCDiscoveryOptions (CppConversions)
+
+- (DiscoveryOptions)toCpp {
+ DiscoveryOptions discovery_options;
+ discovery_options.strategy = CppStrategyFromGNCStrategy(self.strategy);
+ return discovery_options;
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCDiscoveryOptions.mm b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCDiscoveryOptions.mm
new file mode 100644
index 00000000000..b433f4b16f9
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCDiscoveryOptions.mm
@@ -0,0 +1,31 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCDiscoveryOptions.h"
+
+#import <Foundation/Foundation.h>
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCStrategy.h"
+
+@implementation GNCDiscoveryOptions
+
+- (instancetype)initWithStrategy:(GNCStrategy)strategy {
+ self = [super init];
+ if (self) {
+ _strategy = strategy;
+ }
+ return self;
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCError+Internal.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCError+Internal.h
new file mode 100644
index 00000000000..3e86b216d10
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCError+Internal.h
@@ -0,0 +1,26 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+#ifdef __cplusplus
+namespace location {
+namespace nearby {
+namespace connections {
+class Status;
+NSError *NSErrorFromCppStatus(Status status);
+} // namespace connections
+} // namespace nearby
+} // namespace location
+#endif
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCError.mm b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCError.mm
new file mode 100644
index 00000000000..c23cf8295ac
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCError.mm
@@ -0,0 +1,72 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCError.h"
+
+#import <Foundation/Foundation.h>
+
+#include "connections/status.h"
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/GNCError+Internal.h"
+
+extern NSErrorDomain const GNCErrorDomain = @"com.google.nearby.connections.error";
+
+namespace location {
+namespace nearby {
+namespace connections {
+
+NSError *NSErrorFromCppStatus(Status status) {
+ switch (status.value) {
+ case Status::kSuccess:
+ return nil;
+ case Status::kError:
+ return [NSError errorWithDomain:GNCErrorDomain code:GNCErrorUnknown userInfo:nil];
+ case Status::kOutOfOrderApiCall:
+ return [NSError errorWithDomain:GNCErrorDomain code:GNCErrorOutOfOrderApiCall userInfo:nil];
+ case Status::kAlreadyHaveActiveStrategy:
+ return [NSError errorWithDomain:GNCErrorDomain
+ code:GNCErrorAlreadyHaveActiveStrategy
+ userInfo:nil];
+ case Status::kAlreadyAdvertising:
+ return [NSError errorWithDomain:GNCErrorDomain code:GNCErrorAlreadyAdvertising userInfo:nil];
+ case Status::kAlreadyDiscovering:
+ return [NSError errorWithDomain:GNCErrorDomain code:GNCErrorAlreadyDiscovering userInfo:nil];
+ case Status::kEndpointIoError:
+ return [NSError errorWithDomain:GNCErrorDomain code:GNCErrorEndpointIoError userInfo:nil];
+ case Status::kEndpointUnknown:
+ return [NSError errorWithDomain:GNCErrorDomain code:GNCErrorEndpointUnknown userInfo:nil];
+ case Status::kConnectionRejected:
+ return [NSError errorWithDomain:GNCErrorDomain code:GNCErrorConnectionRejected userInfo:nil];
+ case Status::kAlreadyConnectedToEndpoint:
+ return [NSError errorWithDomain:GNCErrorDomain
+ code:GNCErrorAlreadyConnectedToEndpoint
+ userInfo:nil];
+ case Status::kNotConnectedToEndpoint:
+ return [NSError errorWithDomain:GNCErrorDomain
+ code:GNCErrorNotConnectedToEndpoint
+ userInfo:nil];
+ case Status::kBluetoothError:
+ return [NSError errorWithDomain:GNCErrorDomain code:GNCErrorBluetoothError userInfo:nil];
+ case Status::kBleError:
+ return [NSError errorWithDomain:GNCErrorDomain code:GNCErrorBleError userInfo:nil];
+ case Status::kWifiLanError:
+ return [NSError errorWithDomain:GNCErrorDomain code:GNCErrorWifiLanError userInfo:nil];
+ case Status::kPayloadUnknown:
+ return [NSError errorWithDomain:GNCErrorDomain code:GNCErrorPayloadUnknown userInfo:nil];
+ }
+}
+
+} // namespace connections
+} // namespace nearby
+} // namespace location \ No newline at end of file
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCException+Internal.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCException+Internal.h
new file mode 100644
index 00000000000..8e5b019cea1
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCException+Internal.h
@@ -0,0 +1,26 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+#ifdef __cplusplus
+namespace location {
+namespace nearby {
+class Exception;
+namespace connections {
+NSError *NSErrorFromCppException(Exception exception);
+} // namespace connections
+} // namespace nearby
+} // namespace location
+#endif
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCException.mm b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCException.mm
new file mode 100644
index 00000000000..77c5647e919
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCException.mm
@@ -0,0 +1,57 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCException.h"
+
+#import <Foundation/Foundation.h>
+
+// TODO(b/239758418): Change this to the non-internal version when available.
+#include "internal/platform/exception.h"
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/GNCException+Internal.h"
+
+extern NSErrorDomain const GNCExceptionDomain = @"com.google.nearby.connections.exception";
+
+namespace location {
+namespace nearby {
+namespace connections {
+
+NSError *NSErrorFromCppException(Exception exception) {
+ switch (exception.value) {
+ case Exception::kSuccess:
+ return nil;
+ case Exception::kFailed:
+ return [NSError errorWithDomain:GNCExceptionDomain code:GNCExceptionUnknown userInfo:nil];
+ case Exception::kIo:
+ return [NSError errorWithDomain:GNCExceptionDomain code:GNCExceptionIO userInfo:nil];
+ case Exception::kInterrupted:
+ return [NSError errorWithDomain:GNCExceptionDomain code:GNCExceptionInterrupted userInfo:nil];
+ case Exception::kInvalidProtocolBuffer:
+ return [NSError errorWithDomain:GNCExceptionDomain
+ code:GNCExceptionInvalidProtocolBuffer
+ userInfo:nil];
+ case Exception::kExecution:
+ return [NSError errorWithDomain:GNCExceptionDomain code:GNCExceptionExecution userInfo:nil];
+ case Exception::kTimeout:
+ return [NSError errorWithDomain:GNCExceptionDomain code:GNCExceptionTimeout userInfo:nil];
+ case Exception::kIllegalCharacters:
+ return [NSError errorWithDomain:GNCExceptionDomain
+ code:GNCExceptionIllegalCharacters
+ userInfo:nil];
+ }
+}
+
+} // namespace connections
+} // namespace nearby
+} // namespace location \ No newline at end of file
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCInputStream.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCInputStream.h
new file mode 100644
index 00000000000..e8dbbead5d6
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCInputStream.h
@@ -0,0 +1,36 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+#ifdef __cplusplus
+namespace location {
+namespace nearby {
+class InputStream;
+}
+} // namespace location
+#endif
+
+@interface GNCInputStream : NSInputStream <NSStreamDelegate>
+
+- (nonnull instancetype)initWithData:(nonnull NSData *)data NS_UNAVAILABLE;
+
+- (nonnull instancetype)initWithURL:(nonnull NSURL *)url NS_UNAVAILABLE;
+
+#ifdef __cplusplus
+- (nonnull instancetype)initWithCppInputStream:(nonnull location::nearby::InputStream *)stream
+ NS_DESIGNATED_INITIALIZER;
+#endif
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCInputStream.mm b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCInputStream.mm
new file mode 100644
index 00000000000..f4e76cad8cd
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCInputStream.mm
@@ -0,0 +1,124 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/GNCInputStream.h"
+
+#import <Foundation/Foundation.h>
+
+#include <algorithm>
+
+// TODO(b/239758418): Change this to the non-internal version when available.
+#include "internal/platform/input_stream.h"
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/GNCException+Internal.h"
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCException.h"
+
+using ::location::nearby::ByteArray;
+using ::location::nearby::ExceptionOr;
+using ::location::nearby::InputStream;
+using ::location::nearby::connections::NSErrorFromCppException;
+
+@implementation GNCInputStream {
+ NSStreamStatus _streamStatus;
+ NSError *_streamError;
+ id<NSStreamDelegate> _delegate;
+ InputStream *_stream;
+}
+
+- (instancetype)initWithCppInputStream:(InputStream *)stream {
+ // Init with empty data because init is not a designated initializer.
+ self = [super initWithData:[[NSData alloc] init]];
+ if (self) {
+ _streamStatus = NSStreamStatusNotOpen;
+ _delegate = self;
+ _stream = stream;
+ }
+
+ return self;
+}
+
+- (BOOL)hasBytesAvailable {
+ return _streamStatus == NSStreamStatusOpen;
+}
+
+- (NSInteger)read:(uint8_t *)buffer maxLength:(NSUInteger)maxLen {
+ ExceptionOr<ByteArray> readResult = _stream->Read(maxLen);
+
+ if (!readResult.ok()) {
+ _streamError = NSErrorFromCppException(readResult.GetException());
+ _streamStatus = NSStreamStatusError;
+ return -1;
+ }
+
+ ByteArray byteArray = readResult.GetResult();
+ if (byteArray.size() == 0) {
+ _streamStatus = NSStreamStatusAtEnd;
+ return 0;
+ }
+
+ memcpy(buffer, byteArray.data(), std::min(maxLen, byteArray.size()));
+ return byteArray.size();
+}
+
+- (BOOL)getBuffer:(uint8_t **)buffer length:(NSUInteger *)length {
+ return NO;
+}
+
+- (void)scheduleInRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode {
+}
+
+- (void)removeFromRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode {
+}
+
+- (void)open {
+ _streamStatus = NSStreamStatusOpen;
+}
+
+- (void)close {
+ _streamStatus = NSStreamStatusClosed;
+ _stream->Close();
+}
+
+- (NSStreamStatus)streamStatus {
+ return _streamStatus;
+}
+
+- (NSError *)streamError {
+ return _streamError;
+}
+
+- (id<NSStreamDelegate>)delegate {
+ return _delegate;
+}
+
+- (void)setDelegate:(id<NSStreamDelegate>)delegate {
+ // By default, a stream is its own delegate, and subclasses of NSInputStream and NSOutputStream
+ // must maintain this contract. Since we override this method in our subclass, we must
+ // restore the receiver as its own delegate when passed nil.
+ if (delegate) {
+ _delegate = delegate;
+ } else {
+ _delegate = self;
+ }
+}
+
+- (id)propertyForKey:(NSStreamPropertyKey)key {
+ return nil;
+}
+
+- (BOOL)setProperty:(id)property forKey:(NSStreamPropertyKey)key {
+ return NO;
+}
+
+@end \ No newline at end of file
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCPayload+CppConversions.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCPayload+CppConversions.h
new file mode 100644
index 00000000000..f1dd951f284
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCPayload+CppConversions.h
@@ -0,0 +1,39 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCPayload.h"
+
+#ifdef __cplusplus
+namespace location {
+namespace nearby {
+namespace connections {
+class Payload;
+}
+} // namespace nearby
+} // namespace location
+#endif
+
+@interface GNCPayload (CppConversions)
+
+#ifdef __cplusplus
++ (nonnull GNCPayload *)fromCpp:(location::nearby::connections::Payload)payload;
+#endif
+
+#ifdef __cplusplus
+- (location::nearby::connections::Payload)toCpp;
+#endif
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCPayload+CppConversions.mm b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCPayload+CppConversions.mm
new file mode 100644
index 00000000000..472d8d6399b
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCPayload+CppConversions.mm
@@ -0,0 +1,98 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCPayload.h"
+
+#import <Foundation/Foundation.h>
+
+#include <string>
+
+#include "connections/payload.h"
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/CPPInputStreamBinding.h"
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/GNCInputStream.h"
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/GNCPayload+CppConversions.h"
+
+using ::location::nearby::ByteArray;
+using ::location::nearby::InputFile;
+using ::location::nearby::InputStream;
+using ::location::nearby::connections::Payload;
+
+@implementation GNCPayload (CppConversions)
+
++ (GNCPayload *)fromCpp:(Payload)payload {
+ int64_t payloadId = payload.GetId();
+ switch (payload.GetType()) {
+ case location::nearby::connections::PayloadType::kBytes: {
+ ByteArray bytes = payload.AsBytes();
+ NSData *payloadData = [NSData dataWithBytes:bytes.data() length:bytes.size()];
+ return [[GNCBytesPayload alloc] initWithData:payloadData identifier:payloadId];
+ }
+ case location::nearby::connections::PayloadType::kFile: {
+ InputFile *inputFile = payload.AsFile();
+ NSString *filePath = @(inputFile->GetFilePath().c_str());
+ NSURL *fileURL = [NSURL fileURLWithPath:filePath];
+ return [[GNCFilePayload alloc] initWithFileURL:fileURL identifier:payloadId];
+ }
+ case location::nearby::connections::PayloadType::kStream: {
+ GNCInputStream *stream = [[GNCInputStream alloc] initWithCppInputStream:payload.AsStream()];
+ return [[GNCStreamPayload alloc] initWithStream:stream identifier:payloadId];
+ }
+ case location::nearby::connections::PayloadType::kUnknown:
+ return nil;
+ }
+}
+
+- (Payload)toCpp {
+ return Payload();
+}
+
+@end
+
+@implementation GNCBytesPayload (CppConversions)
+
+- (Payload)toCpp {
+ return Payload(self.identifier, ByteArray((const char *)self.data.bytes, self.data.length));
+}
+
+@end
+
+@implementation GNCStreamPayload (CppConversions)
+
+- (Payload)toCpp {
+ // GNCStreamPayload will most likely be destroyed almost immediately, so a weak self would be
+ // useless and a strong self will cause a retain cycle. This is why we are keeping a weak
+ // reference of the stream instead. The input stream should be kept alive by a strong reference
+ // on the user end.
+ __weak NSInputStream *stream = self.stream;
+ return Payload(self.identifier, [stream]() -> InputStream & {
+ return [CPPInputStreamBinding getRefFromStream:stream];
+ });
+}
+
+@end
+
+@implementation GNCFilePayload (CppConversions)
+
+- (Payload)toCpp {
+ NSNumber *fileSize;
+ BOOL result = [self.fileURL getResourceValue:&fileSize forKey:NSURLFileSizeKey error:nil];
+ if (!result) {
+ fileSize = [NSNumber numberWithInt:-1];
+ }
+ std::string path = [self.fileURL.path cStringUsingEncoding:[NSString defaultCStringEncoding]];
+ return Payload(self.identifier, InputFile(path, fileSize.longLongValue));
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCPayload.mm b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCPayload.mm
new file mode 100644
index 00000000000..e0ac23de52e
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCPayload.mm
@@ -0,0 +1,86 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCPayload.h"
+
+#import <Foundation/Foundation.h>
+
+#include <string>
+
+#include "connections/payload.h"
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/CPPInputStreamBinding.h"
+
+using ::location::nearby::connections::Payload;
+
+@implementation GNCPayload
+
+- (instancetype)initWithIdentifier:(int64_t)identifier {
+ self = [super init];
+ if (self) {
+ _identifier = identifier;
+ }
+ return self;
+}
+
+@end
+
+@implementation GNCBytesPayload
+
+- (instancetype)initWithData:(NSData *)data identifier:(int64_t)identifier {
+ self = [super initWithIdentifier:identifier];
+ if (self) {
+ _data = [data copy];
+ }
+ return self;
+}
+
+- (instancetype)initWithData:(NSData *)data {
+ return [self initWithData:data identifier:Payload::GenerateId()];
+}
+
+@end
+
+@implementation GNCStreamPayload
+
+- (instancetype)initWithStream:(NSInputStream *)stream identifier:(int64_t)identifier {
+ self = [super initWithIdentifier:identifier];
+ if (self) {
+ _stream = stream;
+ [CPPInputStreamBinding bindToStream:stream];
+ }
+ return self;
+}
+
+- (instancetype)initWithStream:(NSInputStream *)stream {
+ return [self initWithStream:stream identifier:Payload::GenerateId()];
+}
+
+@end
+
+@implementation GNCFilePayload
+
+- (instancetype)initWithFileURL:(NSURL *)fileURL identifier:(int64_t)identifier {
+ self = [super initWithIdentifier:identifier];
+ if (self) {
+ _fileURL = [fileURL copy];
+ }
+ return self;
+}
+
+- (instancetype)initWithFileURL:(NSURL *)fileURL {
+ return [self initWithFileURL:fileURL identifier:Payload::GenerateId()];
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCStrategy+Internal.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCStrategy+Internal.h
new file mode 100644
index 00000000000..e2b33d96496
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCStrategy+Internal.h
@@ -0,0 +1,28 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+typedef NS_ENUM(NSInteger, GNCStrategy);
+
+#ifdef __cplusplus
+namespace location {
+namespace nearby {
+namespace connections {
+class Strategy;
+Strategy CppStrategyFromGNCStrategy(GNCStrategy strategy);
+} // namespace connections
+} // namespace nearby
+} // namespace location
+#endif
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCStrategy.mm b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCStrategy.mm
new file mode 100644
index 00000000000..29e02404bc2
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/GNCStrategy.mm
@@ -0,0 +1,40 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCStrategy.h"
+
+#import <Foundation/Foundation.h>
+
+#include "connections/strategy.h"
+
+#import "connections/clients/swift/NearbyCoreAdapter/Sources/GNCStrategy+Internal.h"
+
+namespace location {
+namespace nearby {
+namespace connections {
+
+Strategy CppStrategyFromGNCStrategy(GNCStrategy strategy) {
+ switch (strategy) {
+ case GNCStrategyCluster:
+ return Strategy::kP2pCluster;
+ case GNCStrategyStar:
+ return Strategy::kP2pStar;
+ case GNCStrategyPointToPoint:
+ return Strategy::kP2pPointToPoint;
+ }
+}
+
+} // namespace connections
+} // namespace nearby
+} // namespace location \ No newline at end of file
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCAdvertisingOptions.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCAdvertisingOptions.h
new file mode 100644
index 00000000000..ff3cc60c971
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCAdvertisingOptions.h
@@ -0,0 +1,44 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+typedef NS_ENUM(NSInteger, GNCStrategy);
+
+// TODO(b/239609583): Current sdk only exposes `strategy`, but we should add full support.
+/**
+ * A @c GNCAdvertisingOptions object represents the configuration for local endpoint advertisement.
+ */
+@interface GNCAdvertisingOptions : NSObject
+
+/**
+ * The connection strategy.
+ */
+@property(nonatomic, readonly) GNCStrategy strategy;
+
+/**
+ * @remark init is not an available initializer.
+ */
+- (nonnull instancetype)init NS_UNAVAILABLE;
+
+/**
+ * Creates an advertising options object.
+ *
+ * @param strategy The connection strategy.
+ *
+ * @return The initialized options object, or nil if an error occurs.
+ */
+- (nonnull instancetype)initWithStrategy:(GNCStrategy)strategy NS_DESIGNATED_INITIALIZER;
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCConnectionDelegate.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCConnectionDelegate.h
new file mode 100644
index 00000000000..2050c87280c
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCConnectionDelegate.h
@@ -0,0 +1,95 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+/**
+ * Indicates the status of a connection.
+ */
+typedef NS_ENUM(NSInteger, GNCStatus) {
+ GNCStatusSuccess,
+ GNCStatusError,
+ GNCStatusOutOfOrderApiCall,
+ GNCStatusAlreadyHaveActiveStrategy,
+ GNCStatusAlreadyAdvertising,
+ GNCStatusAlreadyDiscovering,
+ GNCStatusEndpointIoError,
+ GNCStatusEndpointUnknown,
+ GNCStatusConnectionRejected,
+ GNCStatusAlreadyConnectedToEndpoint,
+ GNCStatusNotConnectedToEndpoint,
+ GNCStatusBluetoothError,
+ GNCStatusBleError,
+ GNCStatusWifiLanError,
+ GNCStatusPayloadUnknown,
+};
+
+/**
+ * The @c GNCConnectionDelegate protocol defines methods that a delegate can implement to handle
+ * connection-related events.
+ */
+@protocol GNCConnectionDelegate
+
+/**
+ * A basic encrypted channel has been created between you and the endpoint. Both sides are now
+ * asked if they wish to accept or reject the connection before any data can be sent over this
+ * channel.
+ *
+ * This is your chance, before you accept the connection, to confirm that you connected to the
+ * correct device. Both devices are given an identical token; it's up to you to decide how to
+ * verify it before proceeding. Typically this involves showing the token on both devices and
+ * having the users manually compare and confirm; however, this is only required if you desire a
+ * secure connection between the devices.
+ *
+ * Whichever route you decide to take (including not authenticating the other device), call
+ * GNCCoreAdapter::acceptConnectionRequestFromEndpoint:delegate: when you're ready to talk, or
+ * GNCCoreAdapter::rejectConnectionRequestFromEndpoint:withCompletionHandler: to close the
+ * connection.
+ *
+ * @param endpointID The identifier for the remote endpoint.
+ * @param info Other relevant information about the connection.
+ * @param authenticationToken The token to be verified.
+ */
+- (void)connectedToEndpoint:(nonnull NSString *)endpointID
+ withEndpointInfo:(nonnull NSData *)info
+ authenticationToken:(nonnull NSString *)authenticationToken;
+
+/**
+ * Called after both sides have accepted the connection. Both sides may now send Payloads to each
+ * other.
+ *
+ * @param endpointID The identifier for the remote endpoint.
+ */
+- (void)acceptedConnectionToEndpoint:(nonnull NSString *)endpointID;
+
+/**
+ * Called when either side rejected the connection. Payloads can not be exchaged. Call
+ * GNCCoreAdapter::disconnectFromEndpoint:withCompletionHandler: to terminate the connection.
+ *
+ * @param endpointID The identifier for the remote endpoint.
+ * @param status The reason for rejection.
+ */
+- (void)rejectedConnectionToEndpoint:(nonnull NSString *)endpointID withStatus:(GNCStatus)status;
+
+/**
+ * Called when a remote endpoint is disconnected or has become unreachable. At this point service
+ * (re-)discovery may start again.
+ *
+ * @param endpointID The identifier for the remote endpoint.
+ */
+- (void)disconnectedFromEndpoint:(nonnull NSString *)endpointID;
+
+// TODO(b/239832442): Add OnBandwidthChanged(const std::string &endpoint_id, Medium medium).
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCConnectionOptions.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCConnectionOptions.h
new file mode 100644
index 00000000000..565178c1dea
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCConnectionOptions.h
@@ -0,0 +1,23 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+// TODO(b/239610255): Current sdk doesn't expose anything, but we should add full support.
+/**
+ * A @c GNCConnectionOptions object represents the configuration for connecting to remote endpoints.
+ */
+@interface GNCConnectionOptions : NSObject
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCCoreAdapter.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCCoreAdapter.h
new file mode 100644
index 00000000000..0071e48103b
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCCoreAdapter.h
@@ -0,0 +1,194 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+@class GNCAdvertisingOptions;
+@class GNCConnectionOptions;
+@class GNCDiscoveryOptions;
+@class GNCPayload;
+
+@protocol GNCConnectionDelegate;
+@protocol GNCDiscoveryDelegate;
+@protocol GNCPayloadDelegate;
+
+/**
+ * This class defines the API of the Nearby Connections Core library.
+ */
+@interface GNCCoreAdapter : NSObject
+
+/**
+ * A @c GNCCoreAdapter singleton.
+ */
+@property(nonnull, nonatomic, class, readonly) GNCCoreAdapter *shared;
+
+/**
+ * Starts advertising an endpoint for a local app.
+ *
+ * @param serviceID An identifier to advertise your app to other endpoints. This can be an arbitrary
+ * string, so long as it uniquely identifies your service. A good default is to use
+ * your app's package name.
+ * @param endpointInfo Arbitrary bytes of additional data that can be read and used by remote
+ * endpoints. A good default is a utf-8 encoded string to represent a local
+ * endpoint name.
+ * @param advertisingOptions The options for advertising.
+ * @param delegate A delegate to handle notifications about connection events.
+ * @param completionHandler Access the status of the operation when available.
+ */
+- (void)startAdvertisingAsService:(nonnull NSString *)serviceID
+ endpointInfo:(nonnull NSData *)endpointInfo
+ options:(nonnull GNCAdvertisingOptions *)advertisingOptions
+ delegate:(nullable id<GNCConnectionDelegate>)delegate
+ withCompletionHandler:(nullable void (^)(NSError *_Nullable error))completionHandler;
+
+/**
+ * Stops advertising a local endpoint. Should be called after calling
+ * startAdvertisingAsService:endpointInfo:options:delegate:withCompletionHandler:, as soon as the
+ * application no longer needs to advertise itself or goes inactive. Payloads can still be sent to
+ * connected endpoints after advertising ends.
+ *
+ * @param completionHandler Access the status of the operation when available.
+ */
+- (void)stopAdvertisingWithCompletionHandler:
+ (nullable void (^)(NSError *_Nonnull error))completionHandler;
+
+/**
+ * Starts discovery for remote endpoints with the specified service ID.
+ *
+ * @param serviceID The ID for the service to be discovered, as specified in the corresponding call
+ * to start advertising.
+ * @param discoveryOptions The options for discovery.
+ * @param delegate A delegate to handle notifications about endpoint discovery events.
+ * @param completionHandler Access the status of the operation when available.
+ */
+- (void)startDiscoveryAsService:(nonnull NSString *)serviceID
+ options:(nonnull GNCDiscoveryOptions *)discoveryOptions
+ delegate:(nullable id<GNCDiscoveryDelegate>)delegate
+ withCompletionHandler:(nullable void (^)(NSError *_Nullable error))completionHandler;
+
+/**
+ * Stops discovery for remote endpoints, after a previous call to
+ * startDiscoveryAsService:options:delegate:withCompletionHandler:, when the client no longer needs
+ * to discover endpoints or goes inactive. Payloads can still be sent to connected endpoints after
+ * discovery ends.
+ *
+ * @param completionHandler Access the status of the operation when available.
+ */
+- (void)stopDiscoveryWithCompletionHandler:
+ (nullable void (^)(NSError *_Nonnull error))completionHandler;
+
+/**
+ * Sends a request to connect to a remote endpoint.
+ *
+ * @param endpointID The identifier for the remote endpoint to which a connection request will be
+ * sent. Should match the endpointID provided by the
+ * GNCDiscoveryDelegate::foundEndpoint:withEndpointInfo: delegate method.
+ * @param endpointInfo Arbitrary bytes of additional data that can be read and used by remote
+ * endpoints. A good default is a utf-8 encoded string to represent a local
+ * endpoint name.
+ * @param connectionOptions The options for connecting.
+ * @param delegate A delegate to handle notifications about connection events.
+ * @param completionHandler Access the status of the operation when available.
+ */
+- (void)requestConnectionToEndpoint:(nonnull NSString *)endpointID
+ endpointInfo:(nonnull NSData *)endpointInfo
+ options:(nonnull GNCConnectionOptions *)connectionOptions
+ delegate:(nullable id<GNCConnectionDelegate>)delegate
+ withCompletionHandler:(nullable void (^)(NSError *_Nullable error))completionHandler;
+
+/**
+ * Accepts a connection to a remote endpoint. This method must be called before payloads can be
+ * exchanged with the remote endpoint.
+ * @param endpointID The identifier for the remote endpoint. Should match the endpointID provided by
+ * the
+ * GNCConnectionDelegate::connectedToEndpoint:withEndpointInfo:authenticationToken: delegate method.
+ * @param delegate A delegate to handle notifications about incoming payload events.
+ * @param completionHandler Access the status of the operation when available.
+ */
+- (void)acceptConnectionRequestFromEndpoint:(nonnull NSString *)endpointID
+ delegate:(nullable id<GNCPayloadDelegate>)delegate
+ withCompletionHandler:
+ (nullable void (^)(NSError *_Nullable error))completionHandler;
+
+/**
+ * Rejects a connection to a remote endpoint.
+ *
+ * @param endpointID The identifier for the remote endpoint. Should match the endpointID provided by
+ * the
+ * GNCConnectionDelegate::connectedToEndpoint:withEndpointInfo:authenticationToken: delegate method.
+ * @param completionHandler Access the status of the operation when available.
+ */
+- (void)rejectConnectionRequestFromEndpoint:(nonnull NSString *)endpointID
+ withCompletionHandler:
+ (nullable void (^)(NSError *_Nullable error))completionHandler;
+
+/**
+ * Sends a payload to a list of remote endpoints. Payloads can only be sent to remote endpoints once
+ * a notice of connection acceptance has been delivered via
+ * GNCConnectionDelegate::acceptedConnectionToEndpoint:.
+ *
+ * @param payload The Payload to be sent.
+ * @param endpointIDs List of remote endpoint identifiers to which the payload should be sent.
+ * @param completionHandler Access the status of the operation when available.
+ */
+- (void)sendPayload:(nonnull GNCPayload *)payload
+ toEndpoints:(nonnull NSArray<NSString *> *)endpointIDs
+ withCompletionHandler:(nullable void (^)(NSError *_Nullable error))completionHandler;
+
+/**
+ * Cancels a payload currently in-flight to or from remote endpoint(s).
+ *
+ * @param payloadID The identifier for the Payload to be canceled.
+ * @param completionHandler Access the status of the operation when available.
+ */
+- (void)cancelPayload:(int64_t)payloadID
+ withCompletionHandler:(nullable void (^)(NSError *_Nullable error))completionHandler;
+
+/**
+ * Disconnects from a remote endpoint. Payloads can no longer be sent to or received from the
+ * endpoint after this method is called.
+ *
+ * @param endpointID The identifier for the remote endpoint to disconnect from.
+ * @param completionHandler Access the status of the operation when available.
+ */
+- (void)disconnectFromEndpoint:(nonnull NSString *)endpointID
+ withCompletionHandler:(nullable void (^)(NSError *_Nullable error))completionHandler;
+
+/**
+ * Disconnects from, and removes all traces of, all connected and/or discovered endpoints. This call
+ * is expected to be preceded by a call to stop advertising or discovery as needed. After calling
+ * stopAllEndpointsWithCompletionHandler:, no further operations with remote endpoints will be
+ * possible until a new call to start advertising or discovery.
+ *
+ * @param completionHandler Access the status of the operation when available.
+ */
+- (void)stopAllEndpointsWithCompletionHandler:
+ (nullable void (^)(NSError *_Nullable error))completionHandler;
+
+/**
+ * Sends a request to initiate connection bandwidth upgrade.
+ *
+ * @param endpointID The identifier for the remote endpoint which will be switching to a higher
+ * connection data rate and possibly different wireless protocol.
+ * @param completionHandler Access the status of the operation when available.
+ */
+- (void)initiateBandwidthUpgrade:(nonnull NSString *)endpointID
+ withCompletionHandler:(nullable void (^)(NSError *_Nullable error))completionHandler;
+
+/**
+ * The local endpoint indentifier generated by Nearby Connections.
+ */
+@property(nonnull, nonatomic, readonly, copy) NSString *localEndpointID;
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCDiscoveryDelegate.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCDiscoveryDelegate.h
new file mode 100644
index 00000000000..f733026f466
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCDiscoveryDelegate.h
@@ -0,0 +1,38 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+/**
+ * The @c GNCDiscoveryDelegate protocol defines methods that a delegate can implement to handle
+ * discovery-related events.
+ */
+@protocol GNCDiscoveryDelegate
+
+/**
+ * Called when a remote endpoint is discovered.
+ *
+ * @param endpointID The ID of the remote endpoint that was discovered.
+ * @param info The info of the remote endpoint represented by bytes.
+ */
+- (void)foundEndpoint:(nonnull NSString *)endpointID withEndpointInfo:(nonnull NSData *)info;
+
+/**
+ * Called when a remote endpoint is no longer discoverable.
+ *
+ * @param endpointID The ID of the remote endpoint that was lost.
+ */
+- (void)lostEndpoint:(nonnull NSString *)endpointID;
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCDiscoveryOptions.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCDiscoveryOptions.h
new file mode 100644
index 00000000000..ada67e1c7a3
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCDiscoveryOptions.h
@@ -0,0 +1,44 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+typedef NS_ENUM(NSInteger, GNCStrategy);
+
+// TODO(b/239610253): Current sdk only exposes `strategy`, but we should add full support.
+/**
+ * A @c GNCDiscoveryOptions object represents the configuration for remote endpoint discovery.
+ */
+@interface GNCDiscoveryOptions : NSObject
+
+/**
+ * The connection strategy.
+ */
+@property(nonatomic, readonly) GNCStrategy strategy;
+
+/**
+ * @remark init is not an available initializer.
+ */
+- (nonnull instancetype)init NS_UNAVAILABLE;
+
+/**
+ * Creates a discovery options object.
+ *
+ * @param strategy The connection strategy.
+ *
+ * @return The initialized options object, or nil if an error occurs.
+ */
+- (nonnull instancetype)initWithStrategy:(GNCStrategy)strategy NS_DESIGNATED_INITIALIZER;
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCError.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCError.h
new file mode 100644
index 00000000000..5e1edab420d
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCError.h
@@ -0,0 +1,40 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+/**
+ * The domain for @c NSErrors raised by Nearby Connections.
+ */
+extern NSErrorDomain const GNCErrorDomain;
+
+/**
+ * Nearby Connections error codes.
+ */
+typedef NS_ERROR_ENUM(GNCErrorDomain, GNCErrorCode){
+ GNCErrorUnknown,
+ GNCErrorOutOfOrderApiCall,
+ GNCErrorAlreadyHaveActiveStrategy,
+ GNCErrorAlreadyAdvertising,
+ GNCErrorAlreadyDiscovering,
+ GNCErrorEndpointIoError,
+ GNCErrorEndpointUnknown,
+ GNCErrorConnectionRejected,
+ GNCErrorAlreadyConnectedToEndpoint,
+ GNCErrorNotConnectedToEndpoint,
+ GNCErrorBluetoothError,
+ GNCErrorBleError,
+ GNCErrorWifiLanError,
+ GNCErrorPayloadUnknown,
+} NS_SWIFT_NAME(NearbyError);
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCException.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCException.h
new file mode 100644
index 00000000000..32931281bd2
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCException.h
@@ -0,0 +1,30 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+/**
+ * The domain for @c NSErrors raised by Nearby Connections as exceptions.
+ */
+extern NSErrorDomain const GNCExceptionDomain;
+
+/**
+ * Nearby Connections exception codes.
+ */
+typedef NS_ERROR_ENUM(GNCExceptionDomain, GNCExceptionCode){
+ GNCExceptionUnknown, GNCExceptionIO,
+ GNCExceptionInterrupted, GNCExceptionInvalidProtocolBuffer,
+ GNCExceptionExecution, GNCExceptionTimeout,
+ GNCExceptionIllegalCharacters,
+} NS_SWIFT_NAME(NearbyException);
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCPayload.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCPayload.h
new file mode 100644
index 00000000000..b49bf6d786b
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCPayload.h
@@ -0,0 +1,128 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+/**
+ * A @c GNCPayload object represents the data being sent to or received from a remote device.
+ */
+@interface GNCPayload : NSObject
+
+/**
+ * The unique identifier for this payload.
+ */
+@property(nonatomic, readonly) int64_t identifier;
+
+/**
+ * @remark init is not an available initializer.
+ */
+- (nonnull instancetype)init NS_UNAVAILABLE;
+
+@end
+
+/**
+ * A @c GNCBytesPayload object represents a payload that holds simple bytes.
+ */
+@interface GNCBytesPayload : GNCPayload
+
+/**
+ * The byte data for this payload.
+ */
+@property(nonnull, nonatomic, readonly, copy) NSData *data;
+
+/**
+ * Creates a bytes payload object with identifier.
+ *
+ * @param data An instance containing the message to send.
+ * @param identifier A unique identifier for the payload.
+ *
+ * @return The initialized payload object, or nil if an error occurs.
+ */
+- (nonnull instancetype)initWithData:(nonnull NSData *)data
+ identifier:(int64_t)identifier NS_DESIGNATED_INITIALIZER;
+
+/**
+ * Creates a bytes payload object.
+ *
+ * @param data An instance containing the message to send.
+ * @return The initialized payload object, or nil if an error occurs.
+ */
+- (nonnull instancetype)initWithData:(nonnull NSData *)data;
+
+@end
+
+/**
+ * A @c GNCStreamPayload object represents a payload holds an open stream that can be read from by
+ * remote endpoints.
+ */
+@interface GNCStreamPayload : GNCPayload
+
+/**
+ * The open stream for this payload.
+ */
+@property(nonnull, nonatomic, readonly) NSInputStream *stream;
+
+/**
+ * Creates a stream payload object with identifier.
+ *
+ * @param stream An input stream instance.
+ * @param identifier A unique identifier for the payload.
+ *
+ * @return The initialized payload object, or nil if an error occurs.
+ */
+- (nonnull instancetype)initWithStream:(nonnull NSInputStream *)stream
+ identifier:(int64_t)identifier NS_DESIGNATED_INITIALIZER;
+
+/**
+ * Creates a stream payload object.
+ *
+ * @param stream An input stream instance.
+ *
+ * @return The initialized payload object, or nil if an error occurs.
+ */
+- (nonnull instancetype)initWithStream:(nonnull NSInputStream *)stream;
+
+@end
+
+/**
+ * A @c GNCFilePayload object represents a payload that holds a file.
+ */
+@interface GNCFilePayload : GNCPayload
+
+/**
+ * The URL of the file associated with this payload.
+ */
+@property(nonnull, nonatomic, readonly, copy) NSURL *fileURL;
+
+/**
+ * Creates a file payload object with identifier.
+ *
+ * @param fileURL A file URL.
+ * @param identifier A unique identifier for the payload.
+ *
+ * @return The initialized payload object, or nil if an error occurs.
+ */
+- (nonnull instancetype)initWithFileURL:(nonnull NSURL *)fileURL
+ identifier:(int64_t)identifier NS_DESIGNATED_INITIALIZER;
+
+/**
+ * Creates a file payload object.
+ *
+ * @param fileURL A file URL.
+ *
+ * @return The initialized payload object, or nil if an error occurs.
+ */
+- (nonnull instancetype)initWithFileURL:(nonnull NSURL *)fileURL;
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCPayloadDelegate.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCPayloadDelegate.h
new file mode 100644
index 00000000000..28e0347ef6c
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCPayloadDelegate.h
@@ -0,0 +1,60 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+@class GNCPayload;
+
+/**
+ * Indicates the status of a payload transfer.
+ */
+typedef NS_ENUM(NSInteger, GNCPayloadStatus) {
+ GNCPayloadStatusSuccess,
+ GNCPayloadStatusFailure,
+ GNCPayloadStatusInProgress,
+ GNCPayloadStatusCanceled,
+};
+
+/**
+ * The @c GNCPayloadDelegate protocol defines methods that a delegate can implement to handle
+ * payload-related events.
+ */
+@protocol GNCPayloadDelegate
+
+/**
+ * Called when a payload is received from a remote endpoint. Depending on the type of the payload,
+ * all of the data may or may not have been received at the time of this call.
+ *
+ * @param payload The Payload object received.
+ * @param endpointID The identifier for the remote endpoint that sent the payload.
+ */
+- (void)receivedPayload:(nonnull GNCPayload *)payload fromEndpoint:(nonnull NSString *)endpointID;
+
+/**
+ * Called with progress information about an active payload transfer, either incoming or outgoing.
+ *
+ * @param payloadID The identifier the sent or received payload.
+ * @param status The status of the payload transfer.
+ * @param endpointID The identifier for the remote endpoint that is sending or receiving this
+ * payload.
+ * @param bytesTransfered The number of bytes transfered so far.
+ * @param totalBytes The total bytes of the transfer.
+ */
+- (void)receivedProgressUpdateForPayload:(int64_t)payloadID
+ withStatus:(GNCPayloadStatus)status
+ fromEndpoint:(nonnull NSString *)endpointID
+ bytesTransfered:(int64_t)bytesTransfered
+ totalBytes:(int64_t)totalBytes;
+
+@end
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCStrategy.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCStrategy.h
new file mode 100644
index 00000000000..e3eb85938f0
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/GNCStrategy.h
@@ -0,0 +1,24 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+/**
+ * Indicates the strategy or advertisement or discovery.
+ */
+typedef NS_ENUM(NSInteger, GNCStrategy) {
+ GNCStrategyCluster, // M-to-N
+ GNCStrategyStar, // 1-to-N
+ GNCStrategyPointToPoint, // 1-to-1
+} NS_SWIFT_NAME(Strategy);
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/NearbyCoreAdapter.h b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/NearbyCoreAdapter.h
new file mode 100644
index 00000000000..37ee0331139
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Sources/Public/NearbyCoreAdapter/NearbyCoreAdapter.h
@@ -0,0 +1,24 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "GNCAdvertisingOptions.h"
+#import "GNCConnectionDelegate.h"
+#import "GNCConnectionOptions.h"
+#import "GNCCoreAdapter.h"
+#import "GNCDiscoveryDelegate.h"
+#import "GNCDiscoveryOptions.h"
+#import "GNCError.h"
+#import "GNCPayload.h"
+#import "GNCPayloadDelegate.h"
+#import "GNCStrategy.h"
diff --git a/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Tests/BuildTests.swift b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Tests/BuildTests.swift
new file mode 100644
index 00000000000..ccb4f0e1b9b
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/swift/NearbyCoreAdapter/Tests/BuildTests.swift
@@ -0,0 +1,8 @@
+import NearbyCoreAdapter
+import XCTest
+
+class BuildTests: XCTestCase {
+ func testBuild() {
+ // At least one test case is needed.
+ }
+}
diff --git a/chromium/third_party/nearby/src/connections/clients/windows/BUILD b/chromium/third_party/nearby/src/connections/clients/windows/BUILD
index cb31ec08011..5742b3c45a8 100644
--- a/chromium/third_party/nearby/src/connections/clients/windows/BUILD
+++ b/chromium/third_party/nearby/src/connections/clients/windows/BUILD
@@ -11,7 +11,17 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
+
+# TODO(b/240046236): Refactor this into a new `cpp` package.
+
load("//third_party/lexan/build_defs:lexan.bzl", "lexan")
+load(
+ "expand_version_template.bzl",
+ "expand_version_template",
+)
+load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
+
+package(default_visibility = ["//location/nearby:__subpackages__"])
licenses(["notice"])
@@ -33,9 +43,36 @@ cc_library(
],
)
+bzl_library(
+ name = "expand_version_template_bzl",
+ srcs = ["expand_version_template.bzl"],
+ parse_tests = False,
+ visibility = ["//visibility:private"],
+)
+
+# Default version if none is provided.
+vardef("VERSION", "1.0.0.0")
+
+# When built with rapid, a version value will be passed down from the build config via blaze
+# When built manually, invoke blaze with --define=VERSION=1.2.3.4
+# If VERSION is not passed from blaze, the default value defined above will be used.
+expand_version_template(
+ name = "version_expanded",
+ out = "version.rc",
+ template = "version.rc.tpl",
+ version = varref("VERSION"),
+)
+
+lexan.resource_files(
+ name = "resources",
+ rc_files = [
+ ":version_expanded",
+ ],
+)
+
# Build with --config=lexan
lexan.cc_windows_dll(
- name = "core_adapter",
+ name = "nearby_connections",
srcs = [
"advertising_options_w.cc",
"connection_options_w.cc",
@@ -63,8 +100,8 @@ lexan.cc_windows_dll(
defines = ["CORE_ADAPTER_DLL"],
hdrs_deps = ["//connections:core"],
tags = ["windows-dll"],
- visibility = ["//location/nearby/testing:__subpackages__"],
deps = [
+ ":resources",
"//third_party/dart_lang/v2:dart_api_dl",
"//connections:core",
"//connections:core_types",
@@ -79,7 +116,7 @@ lexan.cc_windows_dll(
# Build with --config=lexan
# TODO(b/203019344) Move this configuration under dart folder and create a BUILD there.
lexan.cc_windows_dll(
- name = "core_adapter_dart",
+ name = "nearby_connections_dart",
srcs = [
"advertising_options_w.cc",
"connection_options_w.cc",
@@ -96,6 +133,7 @@ lexan.cc_windows_dll(
"core_adapter.h",
"dart/core_adapter_dart.h",
"discovery_options_w.h",
+ "dll_config.h",
"listeners_w.h",
"medium_selector_w.h",
"options_base_w.h",
@@ -108,6 +146,7 @@ lexan.cc_windows_dll(
defines = ["CORE_ADAPTER_DART_DLL"],
tags = ["windows-dll"],
deps = [
+ ":resources",
"//third_party/dart_lang/v2:dart_api_dl",
"//connections:core",
"//connections:core_types",
@@ -117,3 +156,18 @@ lexan.cc_windows_dll(
"@com_google_absl//absl/strings",
],
)
+
+cc_test(
+ name = "connections_test",
+ size = "small",
+ srcs = [
+ "bluetooth_classic_server_socket_test.cc",
+ ],
+ deps = [
+ "//connections:core",
+ "//internal/platform:logging",
+ "//internal/platform/implementation/windows",
+ "@com_github_protobuf_matchers//protobuf-matchers",
+ "@com_google_googletest//:gtest_main",
+ ],
+)
diff --git a/chromium/third_party/nearby/src/connections/clients/windows/advertising_options_w.h b/chromium/third_party/nearby/src/connections/clients/windows/advertising_options_w.h
index 99fa571b163..d02357e0019 100644
--- a/chromium/third_party/nearby/src/connections/clients/windows/advertising_options_w.h
+++ b/chromium/third_party/nearby/src/connections/clients/windows/advertising_options_w.h
@@ -23,8 +23,7 @@ extern "C" {
// Advertising Options: used for Advertising.
// All fields are mutable, to make the type copy-assignable.
struct DLL_API AdvertisingOptionsW : public OptionsBaseW {
- StrategyW strategy;
- bool auto_upgrade_bandwidth;
+ bool auto_upgrade_bandwidth = true;
bool enforce_topology_constraints;
bool low_power;
diff --git a/chromium/third_party/nearby/src/connections/clients/windows/bluetooth_classic_server_socket_test.cc b/chromium/third_party/nearby/src/connections/clients/windows/bluetooth_classic_server_socket_test.cc
new file mode 100644
index 00000000000..1a83f9bd40f
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/windows/bluetooth_classic_server_socket_test.cc
@@ -0,0 +1,613 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include <windows.h>
+
+#include <cstdint>
+#include <string>
+
+#include "gtest/gtest.h"
+#include "absl/synchronization/notification.h"
+#include "connections/advertising_options.h"
+#include "connections/core.h"
+#include "connections/implementation/service_controller_router.h"
+#include "connections/listeners.h"
+#include "connections/status.h"
+#include "connections/strategy.h"
+#include "internal/platform/byte_array.h"
+#include "internal/platform/count_down_latch.h"
+
+namespace location::nearby::windows {
+
+using location::nearby::ByteArray;
+using location::nearby::CountDownLatch;
+using location::nearby::connections::AdvertisingOptions;
+using location::nearby::connections::ConnectionListener;
+using location::nearby::connections::ConnectionRequestInfo;
+using location::nearby::connections::Core;
+using location::nearby::connections::ServiceControllerRouter;
+using location::nearby::connections::Status;
+using location::nearby::connections::Strategy;
+
+constexpr absl::string_view SERVICE_ID =
+ "com.google.location.nearby.apps.helloconnections";
+
+constexpr int TimeoutSeconds = 3;
+constexpr int LoopCount = 10;
+constexpr absl::string_view device_name = "12345678901";
+
+AdvertisingOptions AdvertiseOptions{
+ {
+ // Strategy
+ {
+ Strategy::kP2pPointToPoint,
+ },
+ // Allowed:
+ {
+ true, // bluetooth
+ true, // ble
+ true, // webrtc
+ true, // wifi_lan
+ true, // wifi_hotspot
+ },
+ },
+ true, // auto_upgrade_bandwidth
+ true, // enforce_topology_constraints
+ false, // low_power
+ false, // enable_bluetooth_listening
+ false, // enable_webrtc_listening
+ false, // is_out_of_band_connection
+ "", // fast_advertisement_service_uuid
+};
+
+class PerformanceTimer {
+ public:
+ static void start() {
+ QueryPerformanceFrequency(&frequency_);
+ QueryPerformanceCounter(&starting_time_);
+ }
+ static void stop() {
+ QueryPerformanceCounter(&ending_time_);
+ elapsed_microseconds_.QuadPart =
+ ending_time_.QuadPart - starting_time_.QuadPart;
+ elapsed_milliseconds_ = elapsed_microseconds_.QuadPart / 100;
+ }
+
+ static uint64_t ElapsedMilliseconds() { return elapsed_milliseconds_; }
+
+ private:
+ static uint64_t elapsed_milliseconds_;
+ static LARGE_INTEGER starting_time_;
+ static LARGE_INTEGER ending_time_;
+ static LARGE_INTEGER elapsed_microseconds_;
+ static LARGE_INTEGER frequency_;
+};
+
+uint64_t PerformanceTimer::elapsed_milliseconds_;
+LARGE_INTEGER PerformanceTimer::starting_time_;
+LARGE_INTEGER PerformanceTimer::ending_time_;
+LARGE_INTEGER PerformanceTimer::elapsed_microseconds_;
+LARGE_INTEGER PerformanceTimer::frequency_;
+
+TEST(BluetoothClassicServerSocketTest,
+ DISABLED_SingleRunWithTimeoutReproStuck) {
+ ServiceControllerRouter router;
+ Core core(&router);
+
+ ConnectionListener listener;
+
+ ConnectionRequestInfo request_info;
+
+ request_info.endpoint_info = ByteArray(std::string(device_name));
+ request_info.listener = listener;
+
+ Status request_result;
+ absl::Notification notification;
+
+ PerformanceTimer::start();
+
+ core.StartAdvertising(SERVICE_ID, AdvertiseOptions, request_info,
+ {.result_cb = [&](Status status) {
+ request_result = status;
+ notification.Notify();
+ }});
+
+ if (notification.WaitForNotificationWithTimeout(
+ absl::Seconds(TimeoutSeconds))) {
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO) << "SingleRunWithTimeoutReproStuck Line: " << __LINE__
+ << " Started advertising elapsed time: "
+ << std::to_string(
+ PerformanceTimer::ElapsedMilliseconds());
+
+#ifdef TEST_OUTPUT
+ EXPECT_TRUE(false) << "Started advertising elapsed time: "
+ << std::to_string(ElapsedMilliseconds);
+#endif
+
+ std::cout << "StartAdvertising started once:" << request_result.ToString()
+ << std::endl;
+ NEARBY_LOGS(INFO) << "StartAdvertising started once:"
+ << request_result.ToString();
+ } else {
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO) << "SingleRunWithTimeoutReproStuck Line: " << __LINE__
+ << " Timeout on starting advertising elapsed time: "
+ << std::to_string(
+ PerformanceTimer::ElapsedMilliseconds());
+
+ EXPECT_TRUE(false) << "Timeout on starting advertising elapsed time: "
+ << std::to_string(
+ PerformanceTimer::ElapsedMilliseconds());
+
+ std::cout << "StartAdvertising failed to start once:"
+ << request_result.ToString() << std::endl;
+ NEARBY_LOGS(INFO) << "StartAdvertising failed to start once:"
+ << request_result.ToString();
+ }
+
+ absl::Notification notification2;
+
+ PerformanceTimer::start();
+
+ core.StartAdvertising(SERVICE_ID, AdvertiseOptions, request_info,
+ {.result_cb = [&](Status status) {
+ request_result = status;
+ notification2.Notify();
+ }});
+
+ if (notification2.WaitForNotificationWithTimeout(
+ absl::Seconds(TimeoutSeconds))) {
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO) << "SingleRunWithTimeoutReproStuck Line: " << __LINE__
+ << " Started advertising second time elapsed time: "
+ << std::to_string(
+ PerformanceTimer::ElapsedMilliseconds());
+
+#ifdef TEST_OUTPUT
+ EXPECT_TRUE(false) << "Started advertising elapsed time: "
+ << std::to_string(ElapsedMilliseconds);
+#endif
+
+ std::cout << "StartAdvertising started twice:" << request_result.ToString()
+ << std::endl;
+ NEARBY_LOGS(INFO) << "StartAdvertising started twice:"
+ << request_result.ToString();
+ } else {
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO)
+ << "SingleRunWithTimeoutReproStuck Line: " << __LINE__
+ << " Timeout on starting advertising the second time elapsed time: "
+ << std::to_string(PerformanceTimer::ElapsedMilliseconds());
+
+ EXPECT_TRUE(false) << "SingleRunWithTimeoutReproStuck Line: " << __LINE__
+ << " Timeout for started advertising elapsed time: "
+ << std::to_string(
+ PerformanceTimer::ElapsedMilliseconds());
+
+ std::cout << "StartAdvertising failed to start twice:"
+ << request_result.ToString() << std::endl;
+ NEARBY_LOGS(INFO) << "StartAdvertising failed to start twice:"
+ << request_result.ToString();
+ }
+
+ absl::Notification notification3;
+
+ PerformanceTimer::start();
+
+ core.StopAdvertising({.result_cb = [&](Status status) {
+ request_result = status;
+ notification3.Notify();
+ }});
+
+ if (notification3.WaitForNotificationWithTimeout(
+ absl::Seconds(TimeoutSeconds))) {
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO) << "SingleRunWithTimeoutReproStuck Line: " << __LINE__
+ << " Stopped advertising first time elapsed time: "
+ << std::to_string(
+ PerformanceTimer::ElapsedMilliseconds());
+
+#ifdef TEST_OUTPUT
+ EXPECT_TRUE(false) << "Started advertising elapsed time: "
+ << std::to_string(elapsed_microseconds);
+#endif
+
+ std::cout << "StopAdvertising called once:" << request_result.ToString()
+ << std::endl;
+ NEARBY_LOGS(INFO) << "StopAdvertising called once:"
+ << request_result.ToString();
+ } else {
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO)
+ << "SingleRunWithTimeoutReproStuck Line: " << __LINE__
+ << " Timeout on stopping advertising the first time elapsed time: "
+ << std::to_string(PerformanceTimer::ElapsedMilliseconds());
+
+ EXPECT_TRUE(false) << "SingleRunWithTimeoutReproStuck Line: " << __LINE__
+ << " Timeout on stop advertising elapsed time: "
+ << std::to_string(
+ PerformanceTimer::ElapsedMilliseconds());
+
+ std::cout << "StopAdvertising failed to stop once:"
+ << request_result.ToString() << std::endl;
+ NEARBY_LOGS(INFO) << "StopAdvertising failed to stop once:"
+ << request_result.ToString();
+ }
+
+ std::cout << "Test completed." << std::endl;
+ NEARBY_LOGS(INFO) << "Test completed.";
+}
+
+TEST(BluetoothClassicServerSocketTest, DISABLED_MultiRunWithTimeoutReproStuck) {
+ ServiceControllerRouter router;
+ Core core(&router);
+
+ ConnectionListener listener;
+
+ ConnectionRequestInfo request_info;
+
+ request_info.endpoint_info = ByteArray(std::string(device_name));
+ request_info.listener = listener;
+
+ for (int loop_count = 0; loop_count < LoopCount; ++loop_count) {
+ Status request_result;
+ absl::Notification notification;
+
+ PerformanceTimer::start();
+
+ core.StartAdvertising(SERVICE_ID, AdvertiseOptions, request_info,
+ {.result_cb = [&](Status status) {
+ request_result = status;
+ notification.Notify();
+ }});
+
+ if (notification.WaitForNotificationWithTimeout(
+ absl::Seconds(TimeoutSeconds))) {
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO) << "SingleRunWithTimeoutReproStuck Line: " << __LINE__
+ << " Started advertising elapsed time: "
+ << std::to_string(
+ PerformanceTimer::ElapsedMilliseconds());
+
+#ifdef TEST_OUTPUT
+ EXPECT_TRUE(false) << "Started advertising elapsed time : "
+ << std::to_string(ElapsedMilliseconds);
+#endif
+
+ std::cout << "StartAdvertising started once:" << request_result.ToString()
+ << std::endl;
+ NEARBY_LOGS(INFO) << "StartAdvertising started once:"
+ << request_result.ToString();
+ } else {
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO) << "SingleRunWithTimeoutReproStuck Line: " << __LINE__
+ << " Timeout on starting advertising elapsed time: "
+ << std::to_string(
+ PerformanceTimer::ElapsedMilliseconds());
+
+ EXPECT_TRUE(false) << "Timeout on starting advertising elapsed time: "
+ << std::to_string(
+ PerformanceTimer::ElapsedMilliseconds());
+
+ std::cout << "StartAdvertising failed to start once:"
+ << request_result.ToString() << std::endl;
+ NEARBY_LOGS(INFO) << "StartAdvertising failed to start once:"
+ << request_result.ToString();
+ }
+
+ absl::Notification notification2;
+
+ PerformanceTimer::start();
+
+ core.StartAdvertising(SERVICE_ID, AdvertiseOptions, request_info,
+ {.result_cb = [&](Status status) {
+ request_result = status;
+ notification2.Notify();
+ }});
+
+ if (notification2.WaitForNotificationWithTimeout(
+ absl::Seconds(TimeoutSeconds))) {
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO) << "SingleRunWithTimeoutReproStuck Line: " << __LINE__
+ << " Started advertising second time elapsed time: "
+ << std::to_string(
+ PerformanceTimer::ElapsedMilliseconds());
+ // EXPECT_TRUE(false)
+ // << "Started advertising elapsed time: "
+ // << std::to_string(ElapsedMilliseconds);
+ std::cout << "StartAdvertising started twice:"
+ << request_result.ToString() << std::endl;
+ NEARBY_LOGS(INFO) << "StartAdvertising started twice:"
+ << request_result.ToString();
+ } else {
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO)
+ << "SingleRunWithTimeoutReproStuck Line: " << __LINE__
+ << " Timeout on starting advertising the second time elapsed time: "
+ << std::to_string(PerformanceTimer::ElapsedMilliseconds());
+
+ EXPECT_TRUE(false)
+ << "Timeout on starting advertising the second time elapsed time: "
+ << std::to_string(PerformanceTimer::ElapsedMilliseconds());
+
+ std::cout << "StartAdvertising failed to start twice:"
+ << request_result.ToString() << std::endl;
+ NEARBY_LOGS(INFO) << "StartAdvertising failed to start twice:"
+ << request_result.ToString();
+ }
+
+ absl::Notification notification3;
+
+ PerformanceTimer::start();
+
+ core.StopAdvertising({.result_cb = [&](Status status) {
+ request_result = status;
+ notification3.Notify();
+ }});
+
+ if (notification3.WaitForNotificationWithTimeout(
+ absl::Seconds(TimeoutSeconds))) {
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO) << "SingleRunWithTimeoutReproStuck Line: " << __LINE__
+ << " Stopped advertising first time elapsed time: "
+ << std::to_string(
+ PerformanceTimer::ElapsedMilliseconds());
+
+#ifdef TEST_OUTPUT
+ EXPECT_TRUE(false) << "Started advertising elapsed time: "
+ << std::to_string(ElapsedMilliseconds);
+#endif
+
+ std::cout << "StopAdvertising called once:" << request_result.ToString()
+ << std::endl;
+ NEARBY_LOGS(INFO) << "StopAdvertising called once:"
+ << request_result.ToString();
+ } else {
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO)
+ << "SingleRunWithTimeoutReproStuck Line: " << __LINE__
+ << " Timeout on stopping advertising the first time elapsed time: "
+ << std::to_string(PerformanceTimer::ElapsedMilliseconds());
+
+ EXPECT_TRUE(false) << "Timeout on started advertising elapsed time: "
+ << std::to_string(
+ PerformanceTimer::ElapsedMilliseconds());
+
+ std::cout << "StopAdvertising failed to stop once:"
+ << request_result.ToString() << std::endl;
+ NEARBY_LOGS(INFO) << "StopAdvertising failed to stop once:"
+ << request_result.ToString();
+ }
+ }
+
+ std::cout << "Test completed." << std::endl;
+ NEARBY_LOGS(INFO) << "Test completed.";
+}
+
+TEST(BluetoothClassicServerSocketTest, DISABLED_SingleRunNoTimeoutReproStuck) {
+ ServiceControllerRouter router;
+ Core core(&router);
+
+ ConnectionListener listener;
+
+ ConnectionRequestInfo request_info;
+
+ request_info.endpoint_info = ByteArray(std::string(device_name));
+ request_info.listener = listener;
+
+ Status request_result;
+ absl::Notification notification;
+
+ PerformanceTimer::start();
+
+ core.StartAdvertising(SERVICE_ID, AdvertiseOptions, request_info,
+ {.result_cb = [&](Status status) {
+ request_result = status;
+ notification.Notify();
+ }});
+
+ notification.WaitForNotification();
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO) << "SingleRunNoTimeoutReproStuck Line: " << __LINE__
+ << " Started advertising first time elapsed time: "
+ << std::to_string(PerformanceTimer::ElapsedMilliseconds());
+
+#ifdef TEST_OUTPUT
+ EXPECT_TRUE(false) << "Started advertising first time elapsed time: "
+ << std::to_string(ElapsedMilliseconds);
+#endif
+
+ std::cout << "StartAdvertising started once:" << request_result.ToString()
+ << std::endl;
+ NEARBY_LOGS(INFO) << "StartAdvertising started once:"
+ << request_result.ToString();
+
+ absl::Notification notification2;
+
+ PerformanceTimer::start();
+
+ core.StartAdvertising(SERVICE_ID, AdvertiseOptions, request_info,
+ {.result_cb = [&](Status status) {
+ request_result = status;
+ notification2.Notify();
+ }});
+
+ notification2.WaitForNotification();
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO) << "SingleRunNoTimeoutReproStuck Line: " << __LINE__
+ << " Started advertising first time elapsed time: "
+ << std::to_string(PerformanceTimer::ElapsedMilliseconds());
+
+#ifdef TEST_OUTPUT
+ EXPECT_TRUE(false) << "Started advertising first time elapsed time: "
+ << std::to_string(ElapsedMilliseconds);
+#endif
+
+ std::cout << "StartAdvertising started twice:" << request_result.ToString()
+ << std::endl;
+ NEARBY_LOGS(INFO) << "StartAdvertising started twice:"
+ << request_result.ToString();
+
+ absl::Notification notification3;
+
+ PerformanceTimer::start();
+
+ core.StopAdvertising({.result_cb = [&](Status status) {
+ request_result = status;
+ notification3.Notify();
+ }});
+
+ notification3.WaitForNotification();
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO) << "SingleRunNoTimeoutReproStuck " << __LINE__
+ << "Stopped advertising elapsed time: "
+ << std::to_string(PerformanceTimer::ElapsedMilliseconds());
+
+#ifdef TEST_OUTPUT
+ EXPECT_TRUE(false) << "Stopped advertising elapsed time: "
+ << std::to_string(ElapsedMilliseconds);
+#endif
+
+ std::cout << "StopAdvertising called once:" << request_result.ToString()
+ << std::endl;
+ NEARBY_LOGS(INFO) << "StopAdvertising called once:"
+ << request_result.ToString();
+
+ std::cout << "Test completed." << std::endl;
+ NEARBY_LOGS(INFO) << "Test completed.";
+}
+
+TEST(BluetoothClassicServerSocketTest, DISABLED_MultiRunNoTimeoutReproStuck) {
+ ServiceControllerRouter router;
+ Core core(&router);
+
+ ConnectionListener listener;
+
+ ConnectionRequestInfo request_info;
+
+ request_info.endpoint_info = ByteArray(std::string(device_name));
+ request_info.listener = listener;
+
+ for (int loop_count = 0; loop_count < LoopCount; ++loop_count) {
+ Status request_result;
+ absl::Notification notification;
+
+ PerformanceTimer::start();
+
+ core.StartAdvertising(SERVICE_ID, AdvertiseOptions, request_info,
+ {.result_cb = [&](Status status) {
+ request_result = status;
+ notification.Notify();
+ }});
+
+ notification.WaitForNotification();
+
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO) << "MultiRunNoTimeoutReproStuck " << __LINE__
+ << "Started advertising elapsed time: "
+ << std::to_string(
+ PerformanceTimer::ElapsedMilliseconds());
+
+#ifdef TEST_OUTPUT
+ EXPECT_TRUE(false) << "Started advertising elapsed time: "
+ << std::to_string(ElapsedMilliseconds);
+#endif
+
+ std::cout << "MultiRunNoTimeoutReproStuck " << __LINE__
+ << " : StartAdvertising started once: "
+ << request_result.ToString() << std::endl;
+ NEARBY_LOGS(INFO) << "StartAdvertising started once:"
+ << request_result.ToString();
+
+ absl::Notification notification2;
+
+ PerformanceTimer::start();
+
+ core.StartAdvertising(SERVICE_ID, AdvertiseOptions, request_info,
+ {.result_cb = [&](Status status) {
+ request_result = status;
+ notification2.Notify();
+ }});
+
+ notification2.WaitForNotification();
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO) << "MultiRunNoTimeoutReproStuck " << __LINE__
+ << "Started advertising elapsed time: "
+ << std::to_string(
+ PerformanceTimer::ElapsedMilliseconds());
+
+#ifdef TEST_OUTPUT
+ EXPECT_TRUE(false) << "Started advertising elapsed time: "
+ << std::to_string(ElapsedMilliseconds);
+#endif
+
+ std::cout << "MultiRunNoTimeoutReproStuck " << __LINE__
+ << "StartAdvertising started twice:" << request_result.ToString()
+ << std::endl;
+ NEARBY_LOGS(INFO) << "MultiRunNoTimeoutReproStuck " << __LINE__
+ << "StartAdvertising started twice:"
+ << request_result.ToString();
+
+ absl::Notification notification3;
+
+ PerformanceTimer::start();
+
+ core.StopAdvertising({.result_cb = [&](Status status) {
+ request_result = status;
+ notification3.Notify();
+ }});
+
+ notification3.WaitForNotification();
+ PerformanceTimer::stop();
+
+ NEARBY_LOGS(INFO) << "MultiRunNoTimeoutReproStuck " << __LINE__
+ << "Stopped advertising elapsed time: "
+ << std::to_string(
+ PerformanceTimer::ElapsedMilliseconds());
+
+#ifdef TEST_OUTPUT
+ EXPECT_TRUE(false) << "Stop advertising elapsed time: "
+ << std::to_string(ElapsedMilliseconds);
+#endif
+
+ std::cout << "StopAdvertising called once:" << request_result.ToString()
+ << std::endl;
+ NEARBY_LOGS(INFO) << "MultiRunNoTimeoutReproStuck " << __LINE__
+ << "StopAdvertising called once:"
+ << request_result.ToString();
+ }
+
+ std::cout << "Test completed." << std::endl;
+ NEARBY_LOGS(INFO) << "Test completed.";
+}
+
+} // namespace location::nearby::windows
diff --git a/chromium/third_party/nearby/src/connections/clients/windows/connection_options_w.h b/chromium/third_party/nearby/src/connections/clients/windows/connection_options_w.h
index 9e54a215b6d..753662f09ab 100644
--- a/chromium/third_party/nearby/src/connections/clients/windows/connection_options_w.h
+++ b/chromium/third_party/nearby/src/connections/clients/windows/connection_options_w.h
@@ -30,8 +30,7 @@ using BooleanMediumSelector = MediumSelectorW<bool>;
// Connection Options: used for both Advertising and Discovery.
// All fields are mutable, to make the type copy-assignable.
struct DLL_API ConnectionOptionsW : public OptionsBaseW {
- StrategyW strategy;
- bool auto_upgrade_bandwidth;
+ bool auto_upgrade_bandwidth = true;
bool enforce_topology_constraints;
bool low_power;
diff --git a/chromium/third_party/nearby/src/connections/clients/windows/core_adapter.cc b/chromium/third_party/nearby/src/connections/clients/windows/core_adapter.cc
index 1d70c0ad2fb..2e1d96de125 100644
--- a/chromium/third_party/nearby/src/connections/clients/windows/core_adapter.cc
+++ b/chromium/third_party/nearby/src/connections/clients/windows/core_adapter.cc
@@ -16,6 +16,7 @@
#include "absl/strings/str_format.h"
#include "connections/core.h"
+#include "internal/platform/bluetooth_utils.h"
namespace location::nearby::windows {
@@ -189,8 +190,8 @@ void RequestConnection(connections::Core *pCore, const char *endpoint_id,
connection_options.low_power = connection_options_w.low_power;
if (connection_options_w.remote_bluetooth_mac_address) {
connection_options.remote_bluetooth_mac_address =
- ByteArray(connection_options_w.remote_bluetooth_mac_address,
- strlen(connection_options_w.remote_bluetooth_mac_address));
+ BluetoothUtils::FromString(
+ connection_options_w.remote_bluetooth_mac_address);
}
if (connection_options_w.strategy == StrategyW::kNone)
connection_options.strategy = connections::Strategy::kNone;
@@ -226,7 +227,7 @@ void RejectConnection(connections::Core *pCore, const char *endpoint_id,
void SendPayload(connections::Core *pCore,
// todo(jfcarroll) this is being exported, needs to be
// refactored to return a plain old c type
- char **endpoint_ids, size_t endpoint_ids_size,
+ const char **endpoint_ids, size_t endpoint_ids_size,
PayloadW payloadw, ResultCallbackW callback) {
if (pCore == nullptr) {
return;
@@ -244,7 +245,7 @@ void CancelPayload(connections::Core *pCore, std::int64_t payload_id,
pCore->CancelPayload(payload_id, *callback.GetImpl());
}
-void DisconnectFromEndpoint(connections::Core *pCore, char *endpoint_id,
+void DisconnectFromEndpoint(connections::Core *pCore, const char *endpoint_id,
ResultCallbackW callback) {
if (pCore == nullptr) {
return;
diff --git a/chromium/third_party/nearby/src/connections/clients/windows/core_adapter.h b/chromium/third_party/nearby/src/connections/clients/windows/core_adapter.h
index e22fd972b43..ad9385dfc7e 100644
--- a/chromium/third_party/nearby/src/connections/clients/windows/core_adapter.h
+++ b/chromium/third_party/nearby/src/connections/clients/windows/core_adapter.h
@@ -202,7 +202,7 @@ DLL_API void __stdcall RejectConnection(Core*, const char*, ResultCallbackW);
// still occur during transmission (and at different times for
// different endpoints), and will be delivered via
// PayloadCallback#onPayloadTransferUpdate.
-DLL_API void __stdcall SendPayload(Core*, char**, size_t, PayloadW,
+DLL_API void __stdcall SendPayload(Core*, const char**, size_t, PayloadW,
ResultCallbackW);
// Cancels a Payload currently in-flight to or from remote endpoint(s).
@@ -220,12 +220,12 @@ DLL_API void __stdcall CancelPayload(Core*, int64_t, ResultCallbackW);
// result_cb - to access the status of the operation when available.
// Possible status codes include:
// Status::STATUS_OK - finished successfully.
-DLL_API void __stdcall DisconnectFromEndpoint(Core*, char*, ResultCallbackW);
+DLL_API void __stdcall DisconnectFromEndpoint(Core*, const char*,
+ ResultCallbackW);
// Disconnects from, and removes all traces of, all connected and/or
-// discovered endpoints. This call is expected to be preceded by a call to
-// StopAdvertising or StartDiscovery as needed. After calling
-// StopAllEndpoints, no further operations with remote endpoints will be
+// discovered endpoints. This call also stops advertising and discovery. After
+// calling StopAllEndpoints, no further operations with remote endpoints will be
// possible until a new call to one of StartAdvertising() or StartDiscovery().
//
// result_cb - to access the status of the operation when available.
diff --git a/chromium/third_party/nearby/src/connections/clients/windows/dart/core_adapter_dart.cc b/chromium/third_party/nearby/src/connections/clients/windows/dart/core_adapter_dart.cc
index 3e96338ea10..6393f715029 100644
--- a/chromium/third_party/nearby/src/connections/clients/windows/dart/core_adapter_dart.cc
+++ b/chromium/third_party/nearby/src/connections/clients/windows/dart/core_adapter_dart.cc
@@ -585,7 +585,7 @@ void SendPayloadDart(Core *pCore, const char *endpoint_id,
PayloadW payload(PayloadW::GenerateId(), payload_dart.data,
payload_dart.size);
- std::vector<char *> c_string_array;
+ std::vector<const char *> c_string_array;
std::transform(endpoint_ids.begin(), endpoint_ids.end(),
std::back_inserter(c_string_array),
@@ -612,7 +612,7 @@ void SendPayloadDart(Core *pCore, const char *endpoint_id,
InputFile input_file(file_name_str, payload_dart.size);
PayloadW payload(input_file);
- std::vector<char *> c_string_array;
+ std::vector<const char *> c_string_array;
std::transform(endpoint_ids.begin(), endpoint_ids.end(),
std::back_inserter(c_string_array),
diff --git a/chromium/third_party/nearby/src/connections/clients/windows/discovery_options_w.h b/chromium/third_party/nearby/src/connections/clients/windows/discovery_options_w.h
index cc6106a683b..a52459f4821 100644
--- a/chromium/third_party/nearby/src/connections/clients/windows/discovery_options_w.h
+++ b/chromium/third_party/nearby/src/connections/clients/windows/discovery_options_w.h
@@ -24,7 +24,7 @@ extern "C" {
// Connection Options: used for both Advertising and Discovery.
// All fields are mutable, to make the type copy-assignable.
struct DLL_API DiscoveryOptionsW : public OptionsBaseW {
- bool auto_upgrade_bandwidth;
+ bool auto_upgrade_bandwidth = true;
bool enforce_topology_constraints;
int keep_alive_interval_millis = 0;
int keep_alive_timeout_millis = 0;
diff --git a/chromium/third_party/nearby/src/connections/clients/windows/expand_version_template.bzl b/chromium/third_party/nearby/src/connections/clients/windows/expand_version_template.bzl
new file mode 100644
index 00000000000..b7184905c95
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/windows/expand_version_template.bzl
@@ -0,0 +1,44 @@
+"""Rule for specialized expansion of template files. This performs a simple search over the template
+file for the keys $VERSION and $VS_VERSION and replaces them with the corresponding values, derived
+from the version provided. Supports make variables.
+
+Typical usage:
+ load("expand_version_template.bzl", "expand_version_template")
+ expand_version_template(
+ name = "ExpandMyTemplate",
+ out = "my.txt",
+ template = "my.template",
+ version = varref("VERSION"),
+ )
+
+Args:
+ name: The name of the rule.
+ out: The destination of the expanded file
+ template: The template file to expand
+ version: A string containing the version number. Supports make variables.
+"""
+
+def expand_version_template_impl(ctx):
+ version = ctx.expand_make_variables(
+ "expand_version_template",
+ ctx.attr.version,
+ {},
+ )
+ vs_version = version.replace(".", ",")
+ ctx.actions.expand_template(
+ template = ctx.file.template,
+ output = ctx.outputs.out,
+ substitutions = {
+ "$VERSION": version,
+ "$VS_VERSION": vs_version,
+ },
+ )
+
+expand_version_template = rule(
+ implementation = expand_version_template_impl,
+ attrs = {
+ "template": attr.label(mandatory = True, allow_single_file = True),
+ "version": attr.string(mandatory = False),
+ "out": attr.output(mandatory = True),
+ },
+)
diff --git a/chromium/third_party/nearby/src/connections/clients/windows/listeners_w.cc b/chromium/third_party/nearby/src/connections/clients/windows/listeners_w.cc
index 152fb18a8ec..9587347c926 100644
--- a/chromium/third_party/nearby/src/connections/clients/windows/listeners_w.cc
+++ b/chromium/third_party/nearby/src/connections/clients/windows/listeners_w.cc
@@ -199,12 +199,13 @@ PayloadListenerW::PayloadListenerW(PayloadCB payloadCB,
switch (payload.GetType()) {
case connections::PayloadType::kBytes: {
- payloadW = PayloadW(payload.AsBytes().data(), payload.AsBytes().size());
+ payloadW = PayloadW(payload.GetId(), payload.AsBytes().data(),
+ payload.AsBytes().size());
break;
}
case connections::PayloadType::kFile: {
InputFile file(std::move(*payload.AsFile()));
- payloadW = PayloadW(file);
+ payloadW = PayloadW(payload.GetId(), std::move(file));
} break;
// TODO(jfcarroll): Figure out how to capture type kStream.
@@ -213,7 +214,7 @@ PayloadListenerW::PayloadListenerW(PayloadCB payloadCB,
//}
case connections::PayloadType::kStream: {
InputFile file(std::move(*payload.AsFile()));
- payloadW = PayloadW(file);
+ payloadW = PayloadW(payload.GetId(), std::move(file));
} break;
case connections::PayloadType::kUnknown: {
// Throw exception here?
diff --git a/chromium/third_party/nearby/src/connections/clients/windows/listeners_w.h b/chromium/third_party/nearby/src/connections/clients/windows/listeners_w.h
index b13259161bf..7d9b1a82028 100644
--- a/chromium/third_party/nearby/src/connections/clients/windows/listeners_w.h
+++ b/chromium/third_party/nearby/src/connections/clients/windows/listeners_w.h
@@ -117,7 +117,7 @@ struct DLL_API ConnectionResponseInfoW {
struct DLL_API PayloadProgressInfoW {
PayloadId payload_id = 0;
enum class Status {
- kSuccess,
+ kSuccess = 1,
kFailure,
kInProgress,
kCanceled,
@@ -223,7 +223,7 @@ struct DLL_API DiscoveryListenerW {
// Called when a remote endpoint is discovered.
//
// endpoint_id - The ID of the remote endpoint that was discovered.
- // endpoint_info - The info of the remote endpoint representd by ByteArray.
+ // endpoint_info - The info of the remote endpoint represented by ByteArray.
// service_id - The ID of the service advertised by the remote endpoint.
EndpointFoundCB endpoint_found_cb = DefaultConstructor;
diff --git a/chromium/third_party/nearby/src/connections/clients/windows/payload_w.cc b/chromium/third_party/nearby/src/connections/clients/windows/payload_w.cc
index c795944d6fa..9cc2cead613 100644
--- a/chromium/third_party/nearby/src/connections/clients/windows/payload_w.cc
+++ b/chromium/third_party/nearby/src/connections/clients/windows/payload_w.cc
@@ -103,7 +103,7 @@ InputStream *PayloadW::AsStream() { return impl_->AsStream(); }
const InputFile *PayloadW::AsFile() const { return impl_->AsFile(); }
// Returns Payload unique ID.
-uint64_t PayloadW::GetId() const { return impl_->GetId(); }
+int64_t PayloadW::GetId() const { return impl_->GetId(); }
// Returns Payload type.
const connections::PayloadType PayloadW::GetType() const {
diff --git a/chromium/third_party/nearby/src/connections/clients/windows/payload_w.h b/chromium/third_party/nearby/src/connections/clients/windows/payload_w.h
index f66b63a1e7b..22c9d81de8d 100644
--- a/chromium/third_party/nearby/src/connections/clients/windows/payload_w.h
+++ b/chromium/third_party/nearby/src/connections/clients/windows/payload_w.h
@@ -74,7 +74,7 @@ class DLL_API PayloadW {
const InputFile* AsFile() const;
// Returns Payload unique ID.
- uint64_t GetId() const;
+ int64_t GetId() const;
// Returns Payload type.
const connections::PayloadType GetType() const;
diff --git a/chromium/third_party/nearby/src/connections/clients/windows/version.rc.tpl b/chromium/third_party/nearby/src/connections/clients/windows/version.rc.tpl
new file mode 100644
index 00000000000..1b938f7b680
--- /dev/null
+++ b/chromium/third_party/nearby/src/connections/clients/windows/version.rc.tpl
@@ -0,0 +1,32 @@
+#include "winres.h"
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION $VS_VERSION
+ PRODUCTVERSION $VS_VERSION
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+#ifdef _DEBUG
+ FILEFLAGS VS_FF_DEBUG
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS VOS__WINDOWS32
+ FILETYPE VFT_APP
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904e4"
+ BEGIN
+ VALUE "CompanyName", "Google LLC"
+ VALUE "FileDescription", "Nearby Connections"
+ VALUE "FileVersion", "$VERSION"
+ VALUE "LegalCopyright", "Copyright (C) 2022 Google. All rights reserved." "\0"
+ VALUE "ProductName", "Nearby Connections"
+ VALUE "ProductVersion", "$VERSION"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1252
+ END
+END \ No newline at end of file
diff --git a/chromium/third_party/nearby/src/connections/connection_options.h b/chromium/third_party/nearby/src/connections/connection_options.h
index a94b173156f..ccb63c652e1 100644
--- a/chromium/third_party/nearby/src/connections/connection_options.h
+++ b/chromium/third_party/nearby/src/connections/connection_options.h
@@ -26,7 +26,7 @@ namespace connections {
// Connection Options: used for both Advertising and Discovery.
// All fields are mutable, to make the type copy-assignable.
struct ConnectionOptions : public OptionsBase {
- bool auto_upgrade_bandwidth;
+ bool auto_upgrade_bandwidth = true;
bool enforce_topology_constraints;
bool low_power;
bool enable_bluetooth_listening;
@@ -42,6 +42,19 @@ struct ConnectionOptions : public OptionsBase {
std::vector<Medium> GetMediums() const;
};
+struct ConnectionInfo {
+ std::string local_endpoint_id;
+ ByteArray local_endpoint_info;
+ std::int32_t nonce;
+ bool supports_5_ghz = false;
+ std::string bssid;
+ std::int32_t ap_frequency = -1;
+ std::string ip_address;
+ std::vector<proto::connections::Medium> supported_mediums;
+ std::int32_t keep_alive_interval_millis;
+ std::int32_t keep_alive_timeout_millis;
+};
+
} // namespace connections
} // namespace nearby
} // namespace location
diff --git a/chromium/third_party/nearby/src/connections/core.cc b/chromium/third_party/nearby/src/connections/core.cc
index 284d5d27e49..ad20be9c161 100644
--- a/chromium/third_party/nearby/src/connections/core.cc
+++ b/chromium/third_party/nearby/src/connections/core.cc
@@ -168,6 +168,10 @@ void Core::StopAllEndpoints(ResultCallback callback) {
router_->StopAllEndpoints(&client_, callback);
}
+std::string Core::Dump() {
+ return client_.Dump();
+}
+
} // namespace connections
} // namespace nearby
} // namespace location
diff --git a/chromium/third_party/nearby/src/connections/core.h b/chromium/third_party/nearby/src/connections/core.h
index 29cb8219ae9..3e39fc17fdf 100644
--- a/chromium/third_party/nearby/src/connections/core.h
+++ b/chromium/third_party/nearby/src/connections/core.h
@@ -238,6 +238,8 @@ class Core {
// Gets the local endpoint generated by Nearby Connections.
std::string GetLocalEndpointId() { return client_.GetLocalEndpointId(); }
+ std::string Dump();
+
private:
ClientProxy client_;
ServiceControllerRouter* router_ = nullptr;
diff --git a/chromium/third_party/nearby/src/connections/discovery_options.h b/chromium/third_party/nearby/src/connections/discovery_options.h
index 1f5ae1089b7..18e8402d96b 100644
--- a/chromium/third_party/nearby/src/connections/discovery_options.h
+++ b/chromium/third_party/nearby/src/connections/discovery_options.h
@@ -35,7 +35,7 @@ struct DiscoveryOptions : OptionsBase {
// (2) If no mediums are allowed, allow all mediums.
DiscoveryOptions CompatibleOptions() const;
- bool auto_upgrade_bandwidth;
+ bool auto_upgrade_bandwidth = true;
bool enforce_topology_constraints;
int keep_alive_interval_millis = 0;
int keep_alive_timeout_millis = 0;
diff --git a/chromium/third_party/nearby/src/connections/implementation/BUILD b/chromium/third_party/nearby/src/connections/implementation/BUILD
index 08812729ebe..d95d93f1c08 100644
--- a/chromium/third_party/nearby/src/connections/implementation/BUILD
+++ b/chromium/third_party/nearby/src/connections/implementation/BUILD
@@ -66,7 +66,7 @@ cc_library(
"payload_manager.cc",
"pcp_manager.cc",
"service_controller_router.cc",
- "webrtc_bwu_handler.cc",
+ "webrtc_bwu_handler_stub.cc",
"webrtc_endpoint_channel.cc",
"wifi_hotspot_bwu_handler.cc",
"wifi_hotspot_endpoint_channel.cc",
@@ -107,7 +107,7 @@ cc_library(
"service_controller.h",
"service_controller_router.h",
"service_id_constants.h",
- "webrtc_bwu_handler.h",
+ "webrtc_bwu_handler_stub.h",
"webrtc_endpoint_channel.h",
"wifi_hotspot_bwu_handler.h",
"wifi_hotspot_endpoint_channel.h",
@@ -148,6 +148,7 @@ cc_library(
"@com_google_absl//absl/functional:bind_front",
"@com_google_absl//absl/memory",
"@com_google_absl//absl/strings",
+ "@com_google_absl//absl/strings:str_format",
"@com_google_absl//absl/time",
"@com_google_absl//absl/types:span",
],
@@ -232,8 +233,8 @@ cc_test(
":ukey2",
"//connections:core_types",
"//connections/implementation/mediums",
- "//connections/implementation/mediums:utils",
"//connections/implementation/proto:offline_wire_formats_cc_proto",
+ "//internal/analytics:event_logger",
"//internal/platform:base",
"//internal/platform:comm",
"//internal/platform:logging",
@@ -244,6 +245,7 @@ cc_test(
"@com_github_protobuf_matchers//protobuf-matchers",
"@com_google_absl//absl/container:flat_hash_set",
"@com_google_absl//absl/strings",
+ "@com_google_absl//absl/strings:str_format",
"@com_google_absl//absl/synchronization",
"@com_google_absl//absl/time",
"@com_google_absl//absl/types:span",
diff --git a/chromium/third_party/nearby/src/connections/implementation/analytics/analytics_recorder.cc b/chromium/third_party/nearby/src/connections/implementation/analytics/analytics_recorder.cc
index 72a787aed97..796cecfa618 100644
--- a/chromium/third_party/nearby/src/connections/implementation/analytics/analytics_recorder.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/analytics/analytics_recorder.cc
@@ -15,9 +15,12 @@
#include "connections/implementation/analytics/analytics_recorder.h"
#include <algorithm>
+#include <iterator>
#include <memory>
+#include <optional>
#include <string>
#include <utility>
+#include <vector>
#include "absl/time/time.h"
#include "internal/analytics/event_logger.h"
@@ -33,6 +36,7 @@ namespace analytics {
namespace {
const char kVersion[] = "v1.0.0";
+constexpr absl::string_view kOnStartClientSession = "OnStartClientSession";
} // namespace
using ::location::nearby::analytics::proto::ConnectionsLog;
@@ -88,21 +92,41 @@ using ::nearby::analytics::EventLogger;
AnalyticsRecorder::AnalyticsRecorder(EventLogger *event_logger)
: event_logger_(event_logger) {
- started_client_session_time_ = SystemClock::ElapsedRealtime();
- NEARBY_LOGS(INFO) << "AnalyticsRecorder ctor event_logger_=" << event_logger_;
- MutexLock lock(&mutex_);
- if (CanRecordAnalyticsLocked("OnStartClientSession")) {
- LogEvent(START_CLIENT_SESSION);
- }
+ NEARBY_LOGS(INFO) << "Start AnalyticsRecorder ctor event_logger_="
+ << event_logger_;
+ LogStartSession();
}
AnalyticsRecorder::~AnalyticsRecorder() {
+ serial_executor_.Shutdown();
+ ResetClientSessionLoggingResouces();
+}
+
+bool AnalyticsRecorder::IsSessionLogged() {
+ MutexLock lock(&mutex_);
+ return session_was_logged_;
+}
+
+void AnalyticsRecorder::ResetClientSessionLoggingResouces() {
MutexLock lock(&mutex_);
+ NEARBY_LOGS(INFO) << "Reset AnalyticsRecorder ctor event_logger_="
+ << event_logger_;
+
incoming_connection_requests_.clear();
outgoing_connection_requests_.clear();
active_connections_.clear();
bandwidth_upgrade_attempts_.clear();
- serial_executor_.Shutdown();
+
+ client_session_ = nullptr;
+ session_was_logged_ = true;
+ start_client_session_was_logged_ = false;
+ current_strategy_ =
+ connections::Strategy::kNone; // Need to reset since the same strategy
+ // should be logged separately for
+ // different client sessions.
+ current_strategy_session_ = nullptr;
+ current_advertising_phase_ = nullptr;
+ current_discovery_phase_ = nullptr;
}
void AnalyticsRecorder::OnStartAdvertising(
@@ -163,8 +187,7 @@ void AnalyticsRecorder::OnStartDiscovery(
// Initialize and set a DiscoveryPhase.
started_discovery_phase_time_ = SystemClock::ElapsedRealtime();
- current_discovery_phase_ =
- std::make_unique<ConnectionsLog::DiscoveryPhase>();
+ current_discovery_phase_ = std::make_unique<ConnectionsLog::DiscoveryPhase>();
absl::c_copy(mediums, RepeatedFieldBackInserter(
current_discovery_phase_->mutable_medium()));
// Set a DiscoveryMetadata.
@@ -430,12 +453,17 @@ void AnalyticsRecorder::OnConnectionClosed(const std::string &endpoint_id,
// re-established with a new ConnectionRequest.
auto pair = active_connections_.extract(it);
std::unique_ptr<LogicalConnection> &logical_connection = pair.mapped();
- absl::c_copy(
- logical_connection->GetEstablisedConnections(),
- RepeatedFieldBackInserter(
- current_strategy_session_->mutable_established_connection()));
+
+ std::vector<ConnectionsLog::EstablishedConnection> connections =
+ logical_connection->GetEstablisedConnections();
+ auto established_connections =
+ current_strategy_session_->mutable_established_connection();
+ for (auto &connection : connections) {
+ established_connections->Add(std::move(connection));
+ }
}
}
+
void AnalyticsRecorder::OnIncomingPayloadStarted(
const std::string &endpoint_id, std::int64_t payload_id,
connections::PayloadType type, std::int64_t total_size_bytes) {
@@ -632,6 +660,25 @@ void AnalyticsRecorder::OnErrorCode(const ErrorCodeParams &params) {
});
}
+void AnalyticsRecorder::LogStartSession() {
+ MutexLock lock(&mutex_);
+ if (start_client_session_was_logged_) {
+ NEARBY_LOGS(WARNING)
+ << "AnalyticsRecorder CanRecordAnalytics Unexpected call "
+ << kOnStartClientSession
+ << " after start client session has already been logged.";
+ return;
+ }
+
+ session_was_logged_ = false;
+ if (CanRecordAnalyticsLocked(kOnStartClientSession)) {
+ client_session_ = std::make_unique<proto::ConnectionsLog::ClientSession>();
+ started_client_session_time_ = SystemClock::ElapsedRealtime();
+ start_client_session_was_logged_ = true;
+ LogEvent(START_CLIENT_SESSION);
+ }
+}
+
void AnalyticsRecorder::LogSession() {
MutexLock lock(&mutex_);
if (!CanRecordAnalyticsLocked("LogSession")) {
@@ -668,7 +715,7 @@ AnalyticsRecorder::BuildConnectionAttemptMetadataParams(
}
bool AnalyticsRecorder::CanRecordAnalyticsLocked(
- const std::string &method_name) {
+ absl::string_view method_name) {
NEARBY_LOGS(VERBOSE) << "AnalyticsRecorder LogEvent " << method_name
<< " is calling.";
if (event_logger_ == nullptr) {
@@ -681,6 +728,7 @@ bool AnalyticsRecorder::CanRecordAnalyticsLocked(
<< method_name << " after session has already been logged.";
return false;
}
+
return true;
}
@@ -697,6 +745,7 @@ void AnalyticsRecorder::LogClientSession() {
<< connections_log.DebugString();
event_logger_->Log(connections_log);
+ ResetClientSessionLoggingResouces();
});
}
@@ -717,7 +766,7 @@ void AnalyticsRecorder::UpdateStrategySessionLocked(
connections::Strategy strategy, SessionRole role) {
// If we're not switching strategies, just update the current StrategySession
// with the new role.
- if (strategy == current_strategy_) {
+ if (strategy == current_strategy_ && current_strategy_session_ != nullptr) {
if (absl::c_linear_search(current_strategy_session_->role(), role)) {
// We've already acted as this role before, so make sure we've finished
// recording the previous round.
diff --git a/chromium/third_party/nearby/src/connections/implementation/analytics/analytics_recorder.h b/chromium/third_party/nearby/src/connections/implementation/analytics/analytics_recorder.h
index c79d9a6c310..1b4f4bf4741 100644
--- a/chromium/third_party/nearby/src/connections/implementation/analytics/analytics_recorder.h
+++ b/chromium/third_party/nearby/src/connections/implementation/analytics/analytics_recorder.h
@@ -164,11 +164,17 @@ class AnalyticsRecorder {
// Error Code
void OnErrorCode(const ErrorCodeParams &params);
+ // Log the start client session event with start client session logging
+ // resouces setup (e.g. client_session_, started_client_session_time_)
+ void LogStartSession() ABSL_LOCKS_EXCLUDED(mutex_);
+
// Invokes event_logger_.Log() at the end of life of client. Log action is
// called in a separate thread to allow synchronous potentially lengthy
// execution.
void LogSession() ABSL_LOCKS_EXCLUDED(mutex_);
+ bool IsSessionLogged();
+
private:
// Tracks the chunks and duration of a Payload on a particular medium.
class PendingPayload {
@@ -267,7 +273,7 @@ class AnalyticsRecorder {
outgoing_payloads_;
};
- bool CanRecordAnalyticsLocked(const std::string &method_name)
+ bool CanRecordAnalyticsLocked(absl::string_view method_name)
ABSL_SHARED_LOCKS_REQUIRED(mutex_);
// Callbacks the ConnectionsLog proto byte array data to the EventLogger with
@@ -314,6 +320,10 @@ class AnalyticsRecorder {
bool erase_item = true) ABSL_SHARED_LOCKS_REQUIRED(mutex_);
void FinishStrategySessionLocked() ABSL_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
+ // Reset the client cession's logging resources (e.g. current_strategy_,
+ // current_advertising_phase_, current_discovery_phase_, etc)
+ void ResetClientSessionLoggingResouces();
+
location::nearby::proto::connections::ConnectionsStrategy
StrategyToConnectionStrategy(connections::Strategy strategy);
location::nearby::proto::connections::PayloadType
@@ -328,10 +338,10 @@ class AnalyticsRecorder {
Mutex mutex_;
// ClientSession
- std::unique_ptr<proto::ConnectionsLog::ClientSession> client_session_ =
- std::make_unique<proto::ConnectionsLog::ClientSession>();
+ std::unique_ptr<proto::ConnectionsLog::ClientSession> client_session_;
absl::Time started_client_session_time_;
bool session_was_logged_ ABSL_GUARDED_BY(mutex_) = false;
+ bool start_client_session_was_logged_ ABSL_GUARDED_BY(mutex_) = false;
// Current StrategySession
connections::Strategy current_strategy_ ABSL_GUARDED_BY(mutex_) =
diff --git a/chromium/third_party/nearby/src/connections/implementation/analytics/analytics_recorder_test.cc b/chromium/third_party/nearby/src/connections/implementation/analytics/analytics_recorder_test.cc
index b5ad8faffd8..9380cc7810a 100644
--- a/chromium/third_party/nearby/src/connections/implementation/analytics/analytics_recorder_test.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/analytics/analytics_recorder_test.cc
@@ -55,6 +55,7 @@ using ::location::nearby::proto::connections::LOCAL_DISCONNECTION;
using ::location::nearby::proto::connections::Medium;
using ::location::nearby::proto::connections::RESULT_ERROR;
using ::location::nearby::proto::connections::RESULT_SUCCESS;
+using ::location::nearby::proto::connections::START_CLIENT_SESSION;
using ::location::nearby::proto::connections::START_STRATEGY_SESSION;
using ::location::nearby::proto::connections::STOP_CLIENT_SESSION;
using ::location::nearby::proto::connections::STOP_STRATEGY_SESSION;
@@ -67,6 +68,7 @@ using ::location::nearby::proto::connections::WIFI_LAN_SOCKET_CREATION;
using ::nearby::analytics::EventLogger;
using ::testing::Contains;
using ::protobuf_matchers::EqualsProto;
+using ::testing::Not;
using ::testing::proto::Partially;
constexpr absl::Duration kDefaultTimeout = absl::Milliseconds(1000);
@@ -76,6 +78,12 @@ class FakeEventLogger : public EventLogger {
explicit FakeEventLogger(CountDownLatch& client_session_done_latch)
: client_session_done_latch_(client_session_done_latch) {}
+ FakeEventLogger(CountDownLatch& client_session_done_latch,
+ CountDownLatch* start_client_session_done_latch_ptr)
+ : client_session_done_latch_(client_session_done_latch),
+ start_client_session_done_latch_ptr_(
+ start_client_session_done_latch_ptr) {}
+
void Log(const ::google::protobuf::MessageLite& message) override {
auto connections_log = dynamic_cast<const proto::ConnectionsLog*>(&message);
if (connections_log == nullptr) {
@@ -94,6 +102,10 @@ class FakeEventLogger : public EventLogger {
if (event_type == STOP_CLIENT_SESSION) {
client_session_done_latch_.CountDown();
}
+ if (start_client_session_done_latch_ptr_ != nullptr &&
+ event_type == START_CLIENT_SESSION) {
+ start_client_session_done_latch_ptr_->CountDown();
+ }
}
int GetLoggedClientSessionCount() const {
@@ -108,14 +120,27 @@ class FakeEventLogger : public EventLogger {
std::vector<EventType> GetLoggedEventTypes() { return logged_event_types_; }
+ void SetClientSessionDoneLatch(
+ const CountDownLatch& client_session_done_latch) {
+ client_session_done_latch_ = client_session_done_latch;
+ }
+
+ void SetStartClientSessionDoneLatchPtr(
+ CountDownLatch* start_client_session_done_latch_ptr) {
+ start_client_session_done_latch_ptr_ = start_client_session_done_latch_ptr;
+ }
+
private:
int logged_client_session_count_ = 0;
CountDownLatch& client_session_done_latch_;
+ CountDownLatch* start_client_session_done_latch_ptr_ = nullptr;
ConnectionsLog::ClientSession logged_client_session_;
ConnectionsLog::ErrorCode error_code_;
std::vector<EventType> logged_event_types_;
};
+// Test if session_was_logged_ is reset by checking if LogSession can take
+// effect again or not.
TEST(AnalyticsRecorderTest, SessionOnlyLoggedOnceWorks) {
CountDownLatch client_session_done_latch(1);
FakeEventLogger event_logger(client_session_done_latch);
@@ -941,6 +966,777 @@ TEST(AnalyticsRecorderTest, SetErrorCodeFieldsCorrectlyForCommonError) {
)pb")));
}
+TEST(AnalyticsRecorderTest, CheckIfSessionWasLogged) {
+ CountDownLatch client_session_done_latch(1);
+ FakeEventLogger event_logger(client_session_done_latch);
+ AnalyticsRecorder analytics_recorder(&event_logger);
+
+ // LogSession to count down client_session_done_latch.
+ analytics_recorder.LogSession();
+ ASSERT_TRUE(client_session_done_latch.Await(kDefaultTimeout).result());
+
+ EXPECT_TRUE(analytics_recorder.IsSessionLogged());
+}
+
+TEST(AnalyticsRecorderTest, ConstructAnalyticsRecorder) {
+ CountDownLatch client_session_done_latch(0);
+ CountDownLatch start_client_session_done_latch(1);
+ FakeEventLogger event_logger(client_session_done_latch,
+ &start_client_session_done_latch);
+
+ // Call the constructor to count down the session_done_latch.
+ AnalyticsRecorder analytics_recorder(&event_logger);
+ ASSERT_TRUE(start_client_session_done_latch.Await(kDefaultTimeout).result());
+
+ std::vector<EventType> event_types = event_logger.GetLoggedEventTypes();
+ EXPECT_EQ(event_types.size(), 1);
+ EXPECT_THAT(event_types, Contains(START_CLIENT_SESSION).Times(1));
+}
+
+TEST(AnalyticsRecorderTest,
+ StartClientSessionOnlyLoggedOnceWorksAfterAnalyticsRecorderIsConstructed) {
+ CountDownLatch client_session_done_latch(0);
+ CountDownLatch start_client_session_done_latch(1);
+ FakeEventLogger event_logger(client_session_done_latch,
+ &start_client_session_done_latch);
+
+ // Call the constructor to count down the start_client_session_done_latch.
+ AnalyticsRecorder analytics_recorder(&event_logger);
+ ASSERT_TRUE(start_client_session_done_latch.Await(kDefaultTimeout).result());
+
+ // Log start client session once.
+ EXPECT_THAT(event_logger.GetLoggedEventTypes(),
+ Contains(START_CLIENT_SESSION).Times(1));
+
+ // Reset the start_client_session_done_latch. However, LogStartSession cannot
+ // count down the start_client_session_done_latch.
+ CountDownLatch new_start_client_session_done_latch(1);
+ event_logger.SetStartClientSessionDoneLatchPtr(
+ &new_start_client_session_done_latch);
+ analytics_recorder.LogStartSession();
+ ASSERT_FALSE(
+ new_start_client_session_done_latch.Await(kDefaultTimeout).result());
+
+ // No more start client session was logged.
+ EXPECT_THAT(event_logger.GetLoggedEventTypes(),
+ Contains(START_CLIENT_SESSION).Times(1));
+}
+
+TEST(AnalyticsRecorderTest,
+ CanLogStartClientSessionOnceAgainAfterSessionWasLogged) {
+ CountDownLatch client_session_done_latch(0);
+ CountDownLatch start_client_session_done_latch(1);
+ FakeEventLogger event_logger(client_session_done_latch,
+ &start_client_session_done_latch);
+
+ // Call the constructor to count down the start_client_session_done_latch.
+ AnalyticsRecorder analytics_recorder(&event_logger);
+ ASSERT_TRUE(start_client_session_done_latch.Await(kDefaultTimeout).result());
+
+ // Log start client session once.
+ EXPECT_THAT(event_logger.GetLoggedEventTypes(),
+ Contains(START_CLIENT_SESSION).Times(1));
+
+ // Reset the client_session_done_latch. Call LogSession to count down the
+ // client_session_done_latch.
+ CountDownLatch new_client_session_done_latch(1);
+ event_logger.SetClientSessionDoneLatch(new_client_session_done_latch);
+ analytics_recorder.LogSession();
+ ASSERT_TRUE(client_session_done_latch.Await(kDefaultTimeout).result());
+
+ // Reset the start_client_session_done_latch. Call LogStartSession to count
+ // down the start_client_session_done_latch.
+ CountDownLatch new_start_client_session_done_latch(1);
+ event_logger.SetStartClientSessionDoneLatchPtr(
+ &new_start_client_session_done_latch);
+ analytics_recorder.LogStartSession();
+ analytics_recorder.LogStartSession();
+ analytics_recorder.LogStartSession();
+ analytics_recorder.LogStartSession();
+ ASSERT_TRUE(
+ new_start_client_session_done_latch.Await(kDefaultTimeout).result());
+
+ // Can log start client session once again.
+ EXPECT_THAT(event_logger.GetLoggedEventTypes(),
+ Contains(START_CLIENT_SESSION).Times(2));
+}
+
+TEST(AnalyticsRecorderTest,
+ ClearcIncomingConnectionRequestsAfterSessionWasLogged) {
+ connections::Strategy strategy = connections::Strategy::kP2pStar;
+ std::vector<Medium> mediums = {BLE, BLUETOOTH};
+ std::string endpoint_id_0 = "endpoint_id_0";
+
+ CountDownLatch client_session_done_latch(1);
+ FakeEventLogger event_logger(client_session_done_latch);
+ AnalyticsRecorder analytics_recorder(&event_logger);
+
+ analytics_recorder.OnStartAdvertising(strategy, mediums);
+ analytics_recorder.OnConnectionRequestReceived(endpoint_id_0);
+ analytics_recorder.OnLocalEndpointAccepted(endpoint_id_0);
+ analytics_recorder.OnRemoteEndpointAccepted(endpoint_id_0);
+
+ // LogSession
+ analytics_recorder.LogSession(); // call ResetClientSessionLoggingResouces
+ ASSERT_TRUE(client_session_done_latch.Await(kDefaultTimeout).result());
+
+ EXPECT_THAT(event_logger.GetLoggedClientSession(), Partially(EqualsProto(R"pb(
+ strategy_session <
+ strategy: P2P_STAR
+ role: ADVERTISER
+ advertising_phase <
+ medium: BLE
+ medium: BLUETOOTH
+ advertising_metadata <
+ supports_extended_ble_advertisements: false
+ connected_ap_frequency: 0
+ supports_nfc_technology: false
+ >
+ received_connection_request <
+ local_response: ACCEPTED
+ remote_response: ACCEPTED
+ >
+ >
+ >)pb")));
+
+ // LogStartSession
+ CountDownLatch new_start_client_session_done_latch(1);
+ event_logger.SetStartClientSessionDoneLatchPtr(
+ &new_start_client_session_done_latch);
+ analytics_recorder.LogStartSession();
+ ASSERT_TRUE(
+ new_start_client_session_done_latch.Await(kDefaultTimeout).result());
+
+ // LogSession again
+ CountDownLatch new_client_session_done_latch(1);
+ event_logger.SetClientSessionDoneLatch(new_client_session_done_latch);
+ std::string endpoint_id_1 = "endpoint_id_1";
+ analytics_recorder.OnConnectionRequestReceived(endpoint_id_1);
+ analytics_recorder.OnLocalEndpointAccepted(endpoint_id_1);
+ analytics_recorder.OnRemoteEndpointAccepted(endpoint_id_1);
+
+ analytics_recorder.LogSession();
+ ASSERT_TRUE(new_client_session_done_latch.Await(kDefaultTimeout).result());
+
+ // - if the current_strategy_session_ and current_advertising_phase_ are not
+ // reset, the duplicate advertising_phase (with the additional
+ // received_connection_request) will append to the strategy_session)
+ EXPECT_THAT(event_logger.GetLoggedClientSession(),
+ Not(Partially(EqualsProto(R"pb(
+ strategy_session <
+ strategy: P2P_STAR
+ role: ADVERTISER
+ advertising_phase <
+ medium: BLE
+ medium: BLUETOOTH
+ advertising_metadata <
+ supports_extended_ble_advertisements: false
+ connected_ap_frequency: 0
+ supports_nfc_technology: false
+ >
+ received_connection_request <
+ local_response: ACCEPTED
+ remote_response: ACCEPTED
+ >
+ >
+ advertising_phase <
+ medium: BLE
+ medium: BLUETOOTH
+ advertising_metadata <
+ supports_extended_ble_advertisements: false
+ connected_ap_frequency: 0
+ supports_nfc_technology: false
+ >
+ received_connection_request <
+ local_response: ACCEPTED
+ remote_response: ACCEPTED
+ >
+ received_connection_request <
+ local_response: ACCEPTED
+ remote_response: ACCEPTED
+ >
+ >
+ >)pb"))));
+}
+
+TEST(AnalyticsRecorderTest,
+ ClearcOutgoingConnectionRequestsAfterSessionWasLogged) {
+ connections::Strategy strategy = connections::Strategy::kP2pStar;
+ std::vector<Medium> mediums = {BLE, BLUETOOTH};
+ std::string endpoint_id_0 = "endpoint_id_0";
+
+ CountDownLatch client_session_done_latch(1);
+ FakeEventLogger event_logger(client_session_done_latch);
+ AnalyticsRecorder analytics_recorder(&event_logger);
+
+ analytics_recorder.OnStartDiscovery(strategy, mediums);
+
+ analytics_recorder.OnConnectionRequestSent(endpoint_id_0);
+ analytics_recorder.OnLocalEndpointAccepted(endpoint_id_0);
+ analytics_recorder.OnRemoteEndpointAccepted(endpoint_id_0);
+
+ // LogSession
+ analytics_recorder.LogSession(); // call ResetClientSessionLoggingResouces
+ ASSERT_TRUE(client_session_done_latch.Await(kDefaultTimeout).result());
+
+ EXPECT_THAT(event_logger.GetLoggedClientSession(), Partially(EqualsProto(R"pb(
+ strategy_session <
+ strategy: P2P_STAR
+ role: DISCOVERER
+ discovery_phase <
+ medium: BLE
+ medium: BLUETOOTH
+ discovery_metadata <
+ supports_extended_ble_advertisements: false
+ connected_ap_frequency: 0
+ supports_nfc_technology: false
+ >
+ sent_connection_request <
+ local_response: ACCEPTED
+ remote_response: ACCEPTED
+ >
+ >
+ >)pb")));
+
+ // LogStartSession
+ CountDownLatch new_start_client_session_done_latch(1);
+ event_logger.SetStartClientSessionDoneLatchPtr(
+ &new_start_client_session_done_latch);
+ analytics_recorder.LogStartSession();
+ ASSERT_TRUE(
+ new_start_client_session_done_latch.Await(kDefaultTimeout).result());
+
+ // LogSession again
+ CountDownLatch new_client_session_done_latch(1);
+ event_logger.SetClientSessionDoneLatch(new_client_session_done_latch);
+ std::string endpoint_id_1 = "endpoint_id_1";
+ analytics_recorder.OnConnectionRequestSent(endpoint_id_1);
+ analytics_recorder.OnLocalEndpointAccepted(endpoint_id_1);
+ analytics_recorder.OnRemoteEndpointAccepted(endpoint_id_1);
+
+ analytics_recorder.LogSession();
+ ASSERT_TRUE(client_session_done_latch.Await(kDefaultTimeout).result());
+
+ // - if the current_strategy_session_ and current_discovery_phase_ are
+ // not reset, the duplicate discovery_phase (with the additional
+ // sent_connection_request) will append to the strategy_session)
+ EXPECT_THAT(event_logger.GetLoggedClientSession(),
+ Not(Partially(EqualsProto(R"pb(
+ strategy_session <
+ strategy: P2P_STAR
+ role: DISCOVERER
+ discovery_phase <
+ medium: BLE
+ medium: BLUETOOTH
+ discovery_metadata <
+ supports_extended_ble_advertisements: false
+ connected_ap_frequency: 0
+ supports_nfc_technology: false
+ >
+ sent_connection_request <
+ local_response: ACCEPTED
+ remote_response: ACCEPTED
+ >
+ >
+ discovery_phase <
+ medium: BLE
+ medium: BLUETOOTH
+ discovery_metadata <
+ supports_extended_ble_advertisements: false
+ connected_ap_frequency: 0
+ supports_nfc_technology: false
+ >
+ sent_connection_request <
+ local_response: ACCEPTED
+ remote_response: ACCEPTED
+ >
+ sent_connection_request <
+ local_response: ACCEPTED
+ remote_response: ACCEPTED
+ >
+ >
+ >)pb"))));
+}
+
+TEST(AnalyticsRecorderTest, ClearcActiveConnectionsAfterSessionWasLogged) {
+ connections::Strategy strategy = connections::Strategy::kP2pStar;
+ std::vector<Medium> mediums = {BLE, BLUETOOTH};
+ std::string endpoint_id = "endpoint_id";
+ std::string connection_token = "connection_token";
+
+ CountDownLatch client_session_done_latch(1);
+ FakeEventLogger event_logger(client_session_done_latch);
+ AnalyticsRecorder analytics_recorder(&event_logger);
+
+ analytics_recorder.OnStartAdvertising(strategy, mediums);
+
+ analytics_recorder.OnConnectionEstablished(endpoint_id, BLUETOOTH,
+ connection_token);
+
+ // LogSession
+ analytics_recorder.LogSession(); // call ResetClientSessionLoggingResouces
+ ASSERT_TRUE(client_session_done_latch.Await(kDefaultTimeout).result());
+
+ EXPECT_THAT(event_logger.GetLoggedClientSession(), Partially(EqualsProto(R"pb(
+ strategy_session <
+ strategy: P2P_STAR
+ role: ADVERTISER
+ advertising_phase <
+ medium: BLE
+ medium: BLUETOOTH
+ advertising_metadata <
+ supports_extended_ble_advertisements: false
+ connected_ap_frequency: 0
+ supports_nfc_technology: false
+ >
+ >
+ established_connection <
+ medium: BLUETOOTH
+ disconnection_reason: UNFINISHED
+ connection_token: "connection_token"
+ >
+ >)pb")));
+
+ // LogStartSession
+ CountDownLatch new_start_client_session_done_latch(1);
+ event_logger.SetStartClientSessionDoneLatchPtr(
+ &new_start_client_session_done_latch);
+ analytics_recorder.LogStartSession();
+ ASSERT_TRUE(
+ new_start_client_session_done_latch.Await(kDefaultTimeout).result());
+
+ // LogSession again
+ CountDownLatch new_client_session_done_latch(1);
+ event_logger.SetClientSessionDoneLatch(new_client_session_done_latch);
+ analytics_recorder.LogSession();
+ ASSERT_TRUE(client_session_done_latch.Await(kDefaultTimeout).result());
+
+ // - if the current_strategy_session_ and advertising_phase_ are not
+ // reset, the duplicate advertising_phase_ (with the additional
+ // will append to the strategy_session), and the active connection (i.e.
+ // established_connection) will stay there.
+ EXPECT_THAT(event_logger.GetLoggedClientSession(),
+ Not(Partially(EqualsProto(R"pb(
+ strategy_session <
+ strategy: P2P_STAR
+ role: ADVERTISER
+ advertising_phase <
+ medium: BLE
+ medium: BLUETOOTH
+ advertising_metadata <
+ supports_extended_ble_advertisements: false
+ connected_ap_frequency: 0
+ supports_nfc_technology: false
+ >
+ >
+ advertising_phase <
+ medium: BLE
+ medium: BLUETOOTH
+ advertising_metadata <
+ supports_extended_ble_advertisements: false
+ connected_ap_frequency: 0
+ supports_nfc_technology: false
+ >
+ >
+ established_connection <
+ medium: BLUETOOTH
+ disconnection_reason: UNFINISHED
+ connection_token: "connection_token"
+ >
+ >)pb"))));
+}
+
+TEST(AnalyticsRecorderTest,
+ ClearBandwidthUpgradeAttemptsAfterSessionWasLogged) {
+ connections::Strategy strategy = connections::Strategy::kP2pStar;
+ std::vector<Medium> mediums = {BLE, BLUETOOTH};
+ std::string endpoint_id = "endpoint_id";
+ std::string endpoint_id_1 = "endpoint_id_1";
+ std::string endpoint_id_2 = "endpoint_id_2";
+ std::string connection_token = "connection_token";
+
+ CountDownLatch client_session_done_latch(1);
+ FakeEventLogger event_logger(client_session_done_latch);
+ AnalyticsRecorder analytics_recorder(&event_logger);
+
+ analytics_recorder.OnStartAdvertising(strategy, mediums);
+
+ analytics_recorder.OnBandwidthUpgradeStarted(endpoint_id, BLE, WIFI_LAN,
+ INCOMING, connection_token);
+
+ analytics_recorder.OnBandwidthUpgradeStarted(
+ endpoint_id_1, BLUETOOTH, WIFI_LAN, INCOMING, connection_token);
+ // - Error to upgrade.
+ analytics_recorder.OnBandwidthUpgradeError(endpoint_id, WIFI_LAN_MEDIUM_ERROR,
+ WIFI_LAN_SOCKET_CREATION);
+ // - Success to upgrade.
+ analytics_recorder.OnBandwidthUpgradeSuccess(endpoint_id_1);
+
+ // - Upgrade is unfinished.
+ analytics_recorder.OnBandwidthUpgradeStarted(
+ endpoint_id_2, BLUETOOTH, WIFI_LAN, INCOMING, connection_token);
+
+ // LogSession
+ analytics_recorder.LogSession(); // call ResetClientSessionLoggingResouces
+ ASSERT_TRUE(client_session_done_latch.Await(kDefaultTimeout).result());
+
+ // - if the current_strategy_session_ and advertising_phase_ are not
+ // reset, the duplicate advertising_phase_, and the upgrade_attempts (i.e.
+ // bandwidth_upgrade_attempts_) will stay there.
+ EXPECT_THAT(event_logger.GetLoggedClientSession(), Partially(EqualsProto(R"pb(
+ strategy_session <
+ strategy: P2P_STAR
+ role: ADVERTISER
+ advertising_phase <
+ medium: BLE
+ medium: BLUETOOTH
+ advertising_metadata <
+ supports_extended_ble_advertisements: false
+ connected_ap_frequency: 0
+ supports_nfc_technology: false
+ >
+ >
+ upgrade_attempt <
+ direction: INCOMING
+ from_medium: BLE
+ to_medium: WIFI_LAN
+ upgrade_result: WIFI_LAN_MEDIUM_ERROR
+ error_stage: WIFI_LAN_SOCKET_CREATION
+ connection_token: "connection_token"
+ >
+ upgrade_attempt <
+ direction: INCOMING
+ from_medium: BLUETOOTH
+ to_medium: WIFI_LAN
+ upgrade_result: UPGRADE_RESULT_SUCCESS
+ error_stage: UPGRADE_SUCCESS
+ connection_token: "connection_token"
+ >
+ upgrade_attempt {
+ direction: INCOMING
+ from_medium: BLUETOOTH
+ to_medium: WIFI_LAN
+ upgrade_result: UNFINISHED_ERROR
+ error_stage: UPGRADE_UNFINISHED
+ connection_token: "connection_token"
+ }
+ >)pb")));
+
+ // LogStartSession
+ CountDownLatch new_start_client_session_done_latch(1);
+ event_logger.SetStartClientSessionDoneLatchPtr(
+ &new_start_client_session_done_latch);
+ analytics_recorder.LogStartSession();
+ ASSERT_TRUE(
+ new_start_client_session_done_latch.Await(kDefaultTimeout).result());
+
+ // LogSession again
+ CountDownLatch new_client_session_done_latch(1);
+ event_logger.SetClientSessionDoneLatch(new_client_session_done_latch);
+ analytics_recorder.LogSession();
+ ASSERT_TRUE(client_session_done_latch.Await(kDefaultTimeout).result());
+
+ EXPECT_THAT(event_logger.GetLoggedClientSession(),
+ Not(Partially(EqualsProto(R"pb(
+ strategy_session <
+ strategy: P2P_STAR
+ role: ADVERTISER
+ advertising_phase <
+ medium: BLE
+ medium: BLUETOOTH
+ advertising_metadata <
+ supports_extended_ble_advertisements: false
+ connected_ap_frequency: 0
+ supports_nfc_technology: false
+ >
+ >
+ advertising_phase <
+ medium: BLE
+ medium: BLUETOOTH
+ advertising_metadata <
+ supports_extended_ble_advertisements: false
+ connected_ap_frequency: 0
+ supports_nfc_technology: false
+ >
+ >
+ upgrade_attempt <
+ direction: INCOMING
+ from_medium: BLE
+ to_medium: WIFI_LAN
+ upgrade_result: WIFI_LAN_MEDIUM_ERROR
+ error_stage: WIFI_LAN_SOCKET_CREATION
+ connection_token: "connection_token"
+ >
+ upgrade_attempt <
+ direction: INCOMING
+ from_medium: BLUETOOTH
+ to_medium: WIFI_LAN
+ upgrade_result: UPGRADE_RESULT_SUCCESS
+ error_stage: UPGRADE_SUCCESS
+ connection_token: "connection_token"
+ >
+ upgrade_attempt {
+ direction: INCOMING
+ from_medium: BLUETOOTH
+ to_medium: WIFI_LAN
+ upgrade_result: UNFINISHED_ERROR
+ error_stage: UPGRADE_UNFINISHED
+ connection_token: "connection_token"
+ }
+ >)pb"))));
+}
+
+// Test if current_strategy_ is reset by checking if the same strategy would
+// be logged for different client sessions or not. If yes, it should be logged.
+// Otherwise, not.
+TEST(AnalyticsRecorderTest,
+ CanLogSeparateStartStrategySessionForSameStrategyAfterSessionWasLogged) {
+ connections::Strategy strategy = connections::Strategy::kP2pStar;
+
+ CountDownLatch client_session_done_latch(1);
+ FakeEventLogger event_logger(client_session_done_latch);
+ AnalyticsRecorder analytics_recorder(&event_logger);
+
+ analytics_recorder.OnStartAdvertising(strategy, {BLUETOOTH});
+ analytics_recorder.OnStopAdvertising();
+
+ // LogSession
+ analytics_recorder.LogSession();
+ ASSERT_TRUE(client_session_done_latch.Await(kDefaultTimeout).result());
+
+ EXPECT_THAT(event_logger.GetLoggedEventTypes(),
+ Contains(START_STRATEGY_SESSION)
+ .Times(1)); // the same strategy session shouldn't be logged
+ // again with the same client sesssion.
+
+ // LogStartSession
+ CountDownLatch new_start_client_session_done_latch(1);
+ event_logger.SetStartClientSessionDoneLatchPtr(
+ &new_start_client_session_done_latch);
+ analytics_recorder.LogStartSession();
+ ASSERT_TRUE(
+ new_start_client_session_done_latch.Await(kDefaultTimeout).result());
+
+ // LogSession again
+ CountDownLatch new_client_session_done_latch(1);
+ event_logger.SetClientSessionDoneLatch(new_client_session_done_latch);
+ analytics_recorder.OnStartAdvertising(strategy, {BLUETOOTH});
+ analytics_recorder.OnStopAdvertising();
+
+ analytics_recorder.LogSession();
+ ASSERT_TRUE(new_client_session_done_latch.Await(kDefaultTimeout).result());
+
+ EXPECT_THAT(event_logger.GetLoggedEventTypes(),
+ Contains(START_STRATEGY_SESSION).Times(2));
+}
+
+// Test if current_strategy_session_ is reset. If not, the same strategy session
+// proto will be logged.
+TEST(AnalyticsRecorderTest,
+ NotLogSameStrategySessionProtoAfterSessionWasLogged) {
+ connections::Strategy strategy = connections::Strategy::kP2pStar;
+ std::vector<Medium> mediums = {BLE, BLUETOOTH};
+ std::string endpoint_id = "endpoint_id";
+ std::string connection_token = "";
+
+ CountDownLatch client_session_done_latch(1);
+ FakeEventLogger event_logger(client_session_done_latch);
+ AnalyticsRecorder analytics_recorder{&event_logger};
+
+ analytics_recorder.OnStartAdvertising(
+ strategy, mediums); // via OnStartAdvertising, current_strategy_session_
+ // is set in UpdateStrategySessionLocked.
+ analytics_recorder.OnStopAdvertising();
+
+ // LogSession
+ analytics_recorder.LogSession();
+ ASSERT_TRUE(client_session_done_latch.Await(kDefaultTimeout).result());
+
+ std::string strategy_session_proto = R"pb(
+ strategy_session <
+ strategy: P2P_STAR
+ role: ADVERTISER
+ advertising_phase <
+ medium: BLE
+ medium: BLUETOOTH
+ advertising_metadata <
+ supports_extended_ble_advertisements: false
+ connected_ap_frequency: 0
+ supports_nfc_technology: false
+ >
+ >
+ >)pb";
+
+ EXPECT_THAT(event_logger.GetLoggedClientSession(),
+ Partially(EqualsProto(strategy_session_proto)));
+
+ // LogStartSession
+ CountDownLatch new_start_client_session_done_latch(1);
+ event_logger.SetStartClientSessionDoneLatchPtr(
+ &new_start_client_session_done_latch);
+ analytics_recorder.LogStartSession();
+ ASSERT_TRUE(
+ new_start_client_session_done_latch.Await(kDefaultTimeout).result());
+
+ // LogSession again
+ // - if current_strategy_session_ is reset, the same strategy_session_proto
+ // will be logged.
+ CountDownLatch new_client_session_done_latch(1);
+ event_logger.SetClientSessionDoneLatch(new_client_session_done_latch);
+ analytics_recorder.LogSession();
+ ASSERT_TRUE(new_client_session_done_latch.Await(kDefaultTimeout).result());
+
+ EXPECT_THAT(event_logger.GetLoggedClientSession(),
+ Not(Partially(EqualsProto(strategy_session_proto))));
+}
+
+// Test if current_advertising_phase_ is reset.
+TEST(AnalyticsRecorderTest,
+ NotLogDuplicateAdvertisingPhaseAfterSessionWasLogged) {
+ connections::Strategy strategy = connections::Strategy::kP2pStar;
+
+ CountDownLatch client_session_done_latch(1);
+ FakeEventLogger event_logger(client_session_done_latch);
+ AnalyticsRecorder analytics_recorder(&event_logger);
+
+ analytics_recorder.OnStartAdvertising(
+ strategy, {BLUETOOTH}); // set current_advertising_phase_
+ analytics_recorder.OnStopAdvertising();
+
+ // LogSession
+ analytics_recorder.LogSession();
+ ASSERT_TRUE(client_session_done_latch.Await(kDefaultTimeout).result());
+
+ EXPECT_THAT(event_logger.GetLoggedClientSession(), Partially(EqualsProto(R"pb(
+ strategy_session <
+ strategy: P2P_STAR
+ role: ADVERTISER
+ advertising_phase <
+ medium: BLUETOOTH
+ advertising_metadata <
+ supports_extended_ble_advertisements: false
+ connected_ap_frequency: 0
+ supports_nfc_technology: false
+ >
+ >
+ >)pb")));
+
+ // LogStartSession
+ CountDownLatch new_start_client_session_done_latch(1);
+ event_logger.SetStartClientSessionDoneLatchPtr(
+ &new_start_client_session_done_latch);
+ analytics_recorder.LogStartSession();
+ ASSERT_TRUE(
+ new_start_client_session_done_latch.Await(kDefaultTimeout).result());
+
+ // LogSession again
+ // - if the current_strategy_session_ and current_advertising_phase_ are
+ // not reset, the same strategy_session with two same advertising_phase will
+ // be logged.
+ CountDownLatch new_client_session_done_latch(1);
+ event_logger.SetClientSessionDoneLatch(new_client_session_done_latch);
+ analytics_recorder.LogSession();
+ ASSERT_TRUE(client_session_done_latch.Await(kDefaultTimeout).result());
+
+ EXPECT_THAT(event_logger.GetLoggedClientSession(),
+ Not(Partially(EqualsProto(R"pb(
+ strategy_session <
+ strategy: P2P_STAR
+ role: ADVERTISER
+ advertising_phase <
+ medium: BLUETOOTH
+ advertising_metadata <
+ supports_extended_ble_advertisements: false
+ connected_ap_frequency: 0
+ supports_nfc_technology: false
+ >
+ >
+ advertising_phase <
+ medium: BLUETOOTH
+ advertising_metadata <
+ supports_extended_ble_advertisements: false
+ connected_ap_frequency: 0
+ supports_nfc_technology: false
+ >
+ >
+ >)pb"))));
+}
+
+// Test if current_discovery_phase_ is reset.
+TEST(AnalyticsRecorderTest,
+ NotLogDuplicateDiscoveryPhaseAfterSessionWasLogged) {
+ connections::Strategy strategy = connections::Strategy::kP2pStar;
+
+ CountDownLatch client_session_done_latch(1);
+ FakeEventLogger event_logger(client_session_done_latch);
+ AnalyticsRecorder analytics_recorder(&event_logger);
+
+ analytics_recorder.OnStartDiscovery(
+ strategy, {BLUETOOTH}, /*is_extended_advertisement_supported=*/true,
+ /*connected_ap_frequency=*/1,
+ /*is_nfc_available=*/false); // set current_discovery_phase_
+ analytics_recorder.OnStopDiscovery();
+ analytics_recorder.OnEndpointFound(BLUETOOTH);
+
+ // LogSession
+ analytics_recorder.LogSession();
+ ASSERT_TRUE(client_session_done_latch.Await(kDefaultTimeout).result());
+
+ EXPECT_THAT(event_logger.GetLoggedClientSession(), Partially(EqualsProto(R"pb(
+ strategy_session <
+ strategy: P2P_STAR
+ role: DISCOVERER
+ discovery_phase <
+ medium: BLUETOOTH
+ discovery_metadata <
+ supports_extended_ble_advertisements: true
+ connected_ap_frequency: 1
+ supports_nfc_technology: false
+ >
+ >
+ >)pb")));
+
+ // LogStartSession
+ CountDownLatch new_start_client_session_done_latch(1);
+ event_logger.SetStartClientSessionDoneLatchPtr(
+ &new_start_client_session_done_latch);
+ analytics_recorder.LogStartSession();
+ ASSERT_TRUE(
+ new_start_client_session_done_latch.Await(kDefaultTimeout).result());
+
+ // LogSession again
+ // - if the current_strategy_session_ and current_discovery_phase_ are not
+ // reset, the same strategy_session with two same discovery_phase will be
+ // logged.
+ CountDownLatch new_client_session_done_latch(1);
+ event_logger.SetClientSessionDoneLatch(new_client_session_done_latch);
+ analytics_recorder.LogSession();
+ ASSERT_TRUE(client_session_done_latch.Await(kDefaultTimeout).result());
+
+ EXPECT_THAT(event_logger.GetLoggedClientSession(),
+ Not(Partially(EqualsProto(R"pb(
+ strategy_session <
+ strategy: P2P_STAR
+ role: DISCOVERER
+ discovery_phase <
+ medium: BLUETOOTH
+ discovery_metadata <
+ supports_extended_ble_advertisements: true
+ connected_ap_frequency: 1
+ supports_nfc_technology: false
+ >
+ >
+ discovery_phase <
+ medium: BLUETOOTH
+ discovery_metadata <
+ supports_extended_ble_advertisements: true
+ connected_ap_frequency: 1
+ supports_nfc_technology: false
+ >
+ >
+ >)pb"))));
+}
+
} // namespace
} // namespace analytics
} // namespace nearby
diff --git a/chromium/third_party/nearby/src/connections/implementation/base_bwu_handler.cc b/chromium/third_party/nearby/src/connections/implementation/base_bwu_handler.cc
index 1f69d2c8b9f..f1162fa5b82 100644
--- a/chromium/third_party/nearby/src/connections/implementation/base_bwu_handler.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/base_bwu_handler.cc
@@ -75,6 +75,10 @@ void BaseBwuHandler::RevertInitiatorState(const std::string& upgrade_service_id,
}
}
+void BaseBwuHandler::RevertResponderState(const std::string& service_id) {
+ HandleRevertInitiatorStateForService(service_id);
+}
+
} // namespace connections
} // namespace nearby
} // namespace location
diff --git a/chromium/third_party/nearby/src/connections/implementation/base_bwu_handler.h b/chromium/third_party/nearby/src/connections/implementation/base_bwu_handler.h
index 78065eed350..39c710728cc 100644
--- a/chromium/third_party/nearby/src/connections/implementation/base_bwu_handler.h
+++ b/chromium/third_party/nearby/src/connections/implementation/base_bwu_handler.h
@@ -40,6 +40,10 @@ class BaseBwuHandler : public BwuHandler {
void RevertInitiatorState() final;
void RevertInitiatorState(const std::string& upgrade_service_id,
const std::string& endpoint_id) final;
+ // If BWU Medium is Hotspot. The client needs to disconnect from Hotspot, then
+ // it can restore the previous AP connection right away. The following method
+ // is only for Hotspot Client
+ void RevertResponderState(const std::string& service_id) final;
protected:
// Invoked by InitializeUpgradedMediumForEndpoint and RevertInitiatorState,
diff --git a/chromium/third_party/nearby/src/connections/implementation/base_endpoint_channel.cc b/chromium/third_party/nearby/src/connections/implementation/base_endpoint_channel.cc
index c335e3e9403..2328760e43a 100644
--- a/chromium/third_party/nearby/src/connections/implementation/base_endpoint_channel.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/base_endpoint_channel.cc
@@ -223,8 +223,15 @@ Exception BaseEndpointChannel::Write(const ByteArray& data) {
}
}
+ size_t data_size = data_to_write->size();
+ if (data_size < 0 || data_size > kMaxAllowedReadBytes) {
+ NEARBY_LOGS(WARNING) << __func__ << ": Write an invalid number of bytes: "
+ << data_size;
+ return {Exception::kIo};
+ }
+
Exception write_exception =
- WriteInt(writer_, static_cast<std::int32_t>(data_to_write->size()));
+ WriteInt(writer_, static_cast<std::int32_t>(data_size));
if (write_exception.Raised()) {
NEARBY_LOGS(WARNING) << __func__ << ": Failed to write header: "
<< write_exception.value;
diff --git a/chromium/third_party/nearby/src/connections/implementation/base_pcp_handler.cc b/chromium/third_party/nearby/src/connections/implementation/base_pcp_handler.cc
index 187947aa86b..ee05449d1f1 100644
--- a/chromium/third_party/nearby/src/connections/implementation/base_pcp_handler.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/base_pcp_handler.cc
@@ -20,8 +20,8 @@
#include <cstdlib>
#include <limits>
#include <memory>
-#include <utility>
#include <string>
+#include <utility>
#include "securegcm/d2d_connection_context_v1.h"
#include "securegcm/ukey2_handshake.h"
@@ -457,6 +457,37 @@ void BasePcpHandler::OnEncryptionFailureRunnable(
info.result.lock().get());
}
+ConnectionInfo BasePcpHandler::FillConnectionInfo(
+ ClientProxy* client, const ConnectionRequestInfo& info,
+ const ConnectionOptions& connection_options) {
+ ConnectionInfo connection_info;
+ connection_info.local_endpoint_id = client->GetLocalEndpointId();
+ connection_info.local_endpoint_info = info.endpoint_info;
+ connection_info.nonce = prng_.NextInt32();
+ if (mediums_->GetWifi().IsAvailable()) {
+ connection_info.supports_5_ghz =
+ mediums_->GetWifi().GetCapability().supports_5_ghz;
+
+ api::WifiInformation& wifi_info = mediums_->GetWifi().GetInformation();
+ connection_info.bssid = wifi_info.bssid;
+ connection_info.ap_frequency = wifi_info.ap_frequency;
+ connection_info.ip_address = wifi_info.ip_address_4_bytes;
+ NEARBY_LOGS(INFO) << "Query for WIFI information: is_supports_5_ghz="
+ << connection_info.supports_5_ghz
+ << "; bssid=" << connection_info.bssid
+ << "; ap_frequency=" << connection_info.ap_frequency
+ << "Mhz; ip_address in bytes format="
+ << connection_info.ip_address;
+ }
+ connection_info.supported_mediums =
+ GetSupportedConnectionMediumsByPriority(connection_options);
+ connection_info.keep_alive_interval_millis =
+ connection_options.keep_alive_interval_millis;
+ connection_info.keep_alive_timeout_millis =
+ connection_options.keep_alive_timeout_millis;
+ return connection_info;
+}
+
Status BasePcpHandler::RequestConnection(
ClientProxy* client, const std::string& endpoint_id,
const ConnectionRequestInfo& info,
@@ -545,36 +576,13 @@ Status BasePcpHandler::RequestConnection(
<< "In requestConnection(), wrote ConnectionRequestFrame "
"to endpoint_id="
<< endpoint_id;
- // Generate the nonce to use for this connection.
- std::int32_t nonce = prng_.NextInt32();
-
- bool is_supports_5_ghz = false;
- std::string bssid = "";
- std::int32_t ap_frequency = -1;
- std::string ip_address = "";
- if (mediums_->GetWifi().IsAvailable()) {
- is_supports_5_ghz =
- mediums_->GetWifi().GetCapability().supports_5_ghz;
-
- api::WifiInformation& wifi_info =
- mediums_->GetWifi().GetInformation();
- bssid = wifi_info.bssid;
- ap_frequency = wifi_info.ap_frequency;
- ip_address = wifi_info.ip_address_4_bytes;
- NEARBY_LOGS(INFO) << "Query for WIFI information: is_supports_5_ghz="
- << is_supports_5_ghz << "; bssid=" << bssid
- << "; ap_frequency=" << ap_frequency
- << "Mhz; ip_address in bytes format=" << ip_address;
- }
- // The first message we have to send, after connecting, is to tell the
- // endpoint about ourselves.
- Exception write_exception = WriteConnectionRequestFrame(
- channel.get(), client->GetLocalEndpointId(), info.endpoint_info,
- nonce, is_supports_5_ghz, bssid, ap_frequency, ip_address,
- GetSupportedConnectionMediumsByPriority(connection_options),
- connection_options.keep_alive_interval_millis,
- connection_options.keep_alive_timeout_millis);
+ ConnectionInfo connection_info =
+ FillConnectionInfo(client, info, connection_options);
+
+ Exception write_exception =
+ WriteConnectionRequestFrame(connection_info, channel.get());
+
if (!write_exception.Ok()) {
NEARBY_LOGS(INFO) << "Failed to send connection request: endpoint_id="
<< endpoint_id;
@@ -598,7 +606,7 @@ Status BasePcpHandler::RequestConnection(
PendingConnectionInfo pendingConnectionInfo{};
pendingConnectionInfo.client = client;
pendingConnectionInfo.remote_endpoint_info = endpoint->endpoint_info;
- pendingConnectionInfo.nonce = nonce;
+ pendingConnectionInfo.nonce = connection_info.nonce;
pendingConnectionInfo.is_incoming = false;
pendingConnectionInfo.start_time = start_time;
pendingConnectionInfo.listener = info.listener;
@@ -728,17 +736,8 @@ bool BasePcpHandler::CanReceiveIncomingConnection(ClientProxy* client) const {
}
Exception BasePcpHandler::WriteConnectionRequestFrame(
- EndpointChannel* endpoint_channel, const std::string& local_endpoint_id,
- const ByteArray& local_endpoint_info, std::int32_t nonce,
- bool supports_5_ghz, const std::string& bssid, std::int32_t ap_frequency,
- const std::string& ip_address,
- const std::vector<proto::connections::Medium>& supported_mediums,
- std::int32_t keep_alive_interval_millis,
- std::int32_t keep_alive_timeout_millis) {
- return endpoint_channel->Write(parser::ForConnectionRequest(
- local_endpoint_id, local_endpoint_info, nonce, supports_5_ghz, bssid,
- ap_frequency, ip_address, supported_mediums, keep_alive_interval_millis,
- keep_alive_timeout_millis));
+ const ConnectionInfo& conection_info, EndpointChannel* endpoint_channel) {
+ return endpoint_channel->Write(parser::ForConnectionRequest(conection_info));
}
void BasePcpHandler::ProcessPreConnectionInitiationFailure(
@@ -1417,28 +1416,20 @@ void BasePcpHandler::EvaluateConnectionResult(ClientProxy* client,
CHECK(context); // there is no way how this can fail, if Verify succeeded.
// If it did, it's a UKEY2 protocol bug.
- channel_manager_->EncryptChannelForEndpoint(endpoint_id,
- std::move(context));
-
- client->GetAnalyticsRecorder().OnConnectionEstablished(
- endpoint_id,
- channel_manager_->GetChannelForEndpoint(endpoint_id)->GetMedium(),
- connection_info.connection_token);
+ if (!channel_manager_->EncryptChannelForEndpoint(endpoint_id,
+ std::move(context))) {
+ response_code = {Status::kEndpointUnknown};
+ }
} else {
NEARBY_LOGS(INFO) << "Pending connection rejected; endpoint_id="
<< endpoint_id;
response_code = {Status::kConnectionRejected};
}
- // Invoke the client callback to let it know of the connection result.
- if (response_code.Ok()) {
- client->OnConnectionAccepted(endpoint_id);
- } else {
+ // If the connection failed, clean everything up and short circuit.
+ if (!response_code.Ok()) {
client->OnConnectionRejected(endpoint_id, response_code);
- }
- // If the connection failed, clean everything up and short circuit.
- if (!is_connection_accepted) {
// Clean up the channel in EndpointManager if it's no longer required.
if (can_close_immediately) {
endpoint_manager_->DiscardEndpoint(client, endpoint_id);
@@ -1456,6 +1447,14 @@ void BasePcpHandler::EvaluateConnectionResult(ClientProxy* client,
return;
}
+ client->GetAnalyticsRecorder().OnConnectionEstablished(
+ endpoint_id,
+ channel_manager_->GetChannelForEndpoint(endpoint_id)->GetMedium(),
+ connection_info.connection_token);
+
+ // Invoke the client callback to let it know of the connection result.
+ client->OnConnectionAccepted(endpoint_id);
+
// Kick off the bandwidth upgrade for incoming connections.
if (connection_info.is_incoming &&
AutoUpgradeBandwidth(client->GetAdvertisingOptions())) {
diff --git a/chromium/third_party/nearby/src/connections/implementation/base_pcp_handler.h b/chromium/third_party/nearby/src/connections/implementation/base_pcp_handler.h
index 305a7c31fbe..517f74dbe0f 100644
--- a/chromium/third_party/nearby/src/connections/implementation/base_pcp_handler.h
+++ b/chromium/third_party/nearby/src/connections/implementation/base_pcp_handler.h
@@ -39,12 +39,12 @@
#include "connections/implementation/pcp_handler.h"
#include "connections/listeners.h"
#include "connections/status.h"
-#include "internal/platform/byte_array.h"
-#include "internal/platform/prng.h"
#include "internal/platform/atomic_boolean.h"
+#include "internal/platform/byte_array.h"
#include "internal/platform/cancelable_alarm.h"
#include "internal/platform/count_down_latch.h"
#include "internal/platform/future.h"
+#include "internal/platform/prng.h"
#include "internal/platform/scheduled_executor.h"
#include "internal/platform/single_thread_executor.h"
@@ -108,6 +108,10 @@ class BasePcpHandler : public PcpHandler,
void InjectEndpoint(ClientProxy* client, const std::string& service_id,
const OutOfBandConnectionMetadata& metadata) override;
+ ConnectionInfo FillConnectionInfo(
+ ClientProxy* client, const ConnectionRequestInfo& info,
+ const ConnectionOptions& connection_options);
+
// Requests a newly discovered remote endpoint it to form a connection.
// Updates state on ClientProxy.
Status RequestConnection(
@@ -310,6 +314,7 @@ class BasePcpHandler : public PcpHandler,
Mediums* mediums_;
EndpointManager* endpoint_manager_;
EndpointChannelManager* channel_manager_;
+ AtomicBoolean stop_{false};
private:
struct PendingConnectionInfo {
@@ -385,14 +390,7 @@ class BasePcpHandler : public PcpHandler,
EndpointChannel* endpoint_channel);
static Exception WriteConnectionRequestFrame(
- EndpointChannel* endpoint_channel, const std::string& local_endpoint_id,
- const ByteArray& local_endpoint_info, std::int32_t nonce,
- bool supports_5_ghz, const std::string& bssid, std::int32_t ap_frequency,
- const std::string& ip_address,
- const std::vector<proto::connections::Medium>& supported_mediums,
- std::int32_t keep_alive_interval_millis,
- std::int32_t keep_alive_timeout_millis);
-
+ const ConnectionInfo& conection_info, EndpointChannel* endpoint_channel);
static constexpr absl::Duration kConnectionRequestReadTimeout =
absl::Seconds(2);
static constexpr absl::Duration kRejectedConnectionCloseDelay =
@@ -533,7 +531,6 @@ class BasePcpHandler : public PcpHandler,
// advertising.
ConnectionListener advertising_listener_;
- AtomicBoolean stop_{false};
Pcp pcp_;
Strategy strategy_{PcpToStrategy(pcp_)};
Prng prng_;
diff --git a/chromium/third_party/nearby/src/connections/implementation/ble_advertisement.cc b/chromium/third_party/nearby/src/connections/implementation/ble_advertisement.cc
index d016b400150..794effd069c 100644
--- a/chromium/third_party/nearby/src/connections/implementation/ble_advertisement.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/ble_advertisement.cc
@@ -132,12 +132,12 @@ BleAdvertisement::BleAdvertisement(bool fast_advertisement,
break;
default:
NEARBY_LOG(INFO,
- "Cannot deserialize BleAdvertisement: uunsupported V1 PCP %d",
+ "Cannot deserialize BleAdvertisement: unsupported V1 PCP %d",
pcp_);
}
// The next 3 bytes are supposed to be the service_id_hash if not fast
- // advertisment.
+ // advertisement.
if (!fast_advertisement_)
service_id_hash_ = base_input_stream.ReadBytes(kServiceIdHashLength);
@@ -161,12 +161,12 @@ BleAdvertisement::BleAdvertisement(bool fast_advertisement,
fast_advertisement_, expected_endpoint_info_length,
endpoint_info_.size());
- // Clear enpoint_id for validity.
+ // Clear endpoint_id for validity.
endpoint_id_.clear();
return;
}
- // The next 6 bytes are the bluetooth mac address if not fast advertisment.
+ // The next 6 bytes are the bluetooth mac address if not fast advertisement.
if (!fast_advertisement_) {
auto bluetooth_mac_address_bytes =
base_input_stream.ReadBytes(BluetoothUtils::kBluetoothMacAddressLength);
@@ -189,7 +189,7 @@ BleAdvertisement::BleAdvertisement(bool fast_advertisement,
"expected uwbAddress size to be %d bytes, got %" PRIu64,
expected_uwb_address_length, uwb_address_.size());
- // Clear enpoint_id for validity.
+ // Clear endpoint_id for validity.
endpoint_id_.clear();
return;
}
diff --git a/chromium/third_party/nearby/src/connections/implementation/bluetooth_device_name.cc b/chromium/third_party/nearby/src/connections/implementation/bluetooth_device_name.cc
index bb58d0d2fb2..e20c05afb5e 100644
--- a/chromium/third_party/nearby/src/connections/implementation/bluetooth_device_name.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/bluetooth_device_name.cc
@@ -107,7 +107,7 @@ BluetoothDeviceName::BluetoothDeviceName(
// The next 3 bytes are supposed to be the service_id_hash.
service_id_hash_ = base_input_stream.ReadBytes(kServiceIdHashLength);
- // The next 1 byte is field containning WebRtc state.
+ // The next 1 byte is field containing WebRtc state.
auto field_byte = static_cast<char>(base_input_stream.ReadUint8());
web_rtc_state_ = (field_byte & kWebRtcConnectableFlagBitmask) == 1
? WebRtcState::kConnectable
@@ -129,7 +129,7 @@ BluetoothDeviceName::BluetoothDeviceName(
"endpoint info to be %d bytes, got %" PRIu64,
expected_endpoint_info_length, endpoint_info_.size());
- // Clear enpoint_id for validadity.
+ // Clear endpoint_id for validity.
endpoint_id_.clear();
return;
}
@@ -150,7 +150,7 @@ BluetoothDeviceName::BluetoothDeviceName(
"expected uwbAddress size to be %d bytes, got %" PRIu64,
expected_uwb_address_length, uwb_address_.size());
- // Clear enpoint_id for validadity.
+ // Clear endpoint_id for validity.
endpoint_id_.clear();
return;
}
diff --git a/chromium/third_party/nearby/src/connections/implementation/bwu_handler.h b/chromium/third_party/nearby/src/connections/implementation/bwu_handler.h
index 0521d2a84ba..201e5d811de 100644
--- a/chromium/third_party/nearby/src/connections/implementation/bwu_handler.h
+++ b/chromium/third_party/nearby/src/connections/implementation/bwu_handler.h
@@ -77,6 +77,8 @@ class BwuHandler {
virtual void RevertInitiatorState(const std::string& service_id,
const std::string& endpoint_id) = 0;
+ virtual void RevertResponderState(const std::string& service_id) = 0;
+
// Called by the Responder to set up the upgraded medium for this endpoint (if
// that hasn't already been done) using the UpgradePathInfo sent by the
// Initiator, and returns a new EndpointChannel for the upgraded medium.
diff --git a/chromium/third_party/nearby/src/connections/implementation/bwu_manager.cc b/chromium/third_party/nearby/src/connections/implementation/bwu_manager.cc
index c1803b7507a..dbf4395ae10 100644
--- a/chromium/third_party/nearby/src/connections/implementation/bwu_manager.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/bwu_manager.cc
@@ -18,6 +18,7 @@
#include <memory>
#include <string>
#include <utility>
+#include <vector>
#include "absl/functional/bind_front.h"
#include "absl/time/time.h"
@@ -128,8 +129,7 @@ void BwuManager::Shutdown() {
V1Frame::BANDWIDTH_UPGRADE_NEGOTIATION, this);
// Stop all the ongoing Runnables (as gracefully as possible).
- alarm_executor_.Shutdown();
- serial_executor_.Shutdown();
+ ShutdownExecutors();
// After worker threads are down we became exclusive owners of data and
// may access it from current thread.
@@ -161,6 +161,11 @@ void BwuManager::InvokeOnIncomingConnectionForTesting(
OnIncomingConnection(client, std::move(mutable_connection));
}
+void BwuManager::ShutdownExecutors() {
+ alarm_executor_.Shutdown();
+ serial_executor_.Shutdown();
+}
+
void BwuManager::InitiateBwuForEndpoint(ClientProxy* client,
const std::string& endpoint_id,
Medium new_medium) {
@@ -178,20 +183,16 @@ void BwuManager::InitiateBwuForEndpoint(ClientProxy* client,
<< " with medium "
<< proto::connections::Medium_Name(proposed_medium);
- auto channel = channel_manager_->GetChannelForEndpoint(endpoint_id);
- Medium channel_medium =
- channel ? channel->GetMedium() : Medium::UNKNOWN_MEDIUM;
-
- if ((channel_medium == Medium::WIFI_LAN) &&
+ if (channel_manager_->isWifiLanConnected() &&
(proposed_medium == Medium::WIFI_HOTSPOT)) {
NEARBY_LOGS(INFO)
- << "Current medium is WIFI_LAN and proposed upgrade medium is "
- ":WIFI_HOTSPOT. Don't do the BWU because connecting to "
- "WIFI_HOTSPOT will destroy WIFI_LAN which will lead BWU fail";
+ << "Some endpoint is using WIFI_LAN and proposed upgrade medium is "
+ "WIFI_HOTSPOT. Don't do the BWU because connecting to "
+ "WIFI_HOTSPOT will destroy WIFI_LAN which will lead BWU fail and "
+ "other endpoint connection fail";
return;
}
-
SetBwuMediumForEndpoint(endpoint_id, proposed_medium);
BwuHandler* handler = GetHandlerForMedium(proposed_medium);
if (!handler) {
@@ -213,6 +214,9 @@ void BwuManager::InitiateBwuForEndpoint(ClientProxy* client,
CancelRetryUpgradeAlarm(endpoint_id);
+ auto channel = channel_manager_->GetChannelForEndpoint(endpoint_id);
+ Medium channel_medium =
+ channel ? channel->GetMedium() : Medium::UNKNOWN_MEDIUM;
client->GetAnalyticsRecorder().OnBandwidthUpgradeStarted(
endpoint_id, channel_medium, proposed_medium,
proto::connections::INCOMING, client->GetConnectionToken(endpoint_id));
@@ -375,12 +379,23 @@ void BwuManager::RevertBwuMediumForEndpoint(const std::string& service_id,
<< endpoint_id;
endpoint_id_to_bwu_medium_.erase(endpoint_id);
+ BwuHandler* handler = GetHandlerForMedium(medium);
+ if (!handler) {
+ NEARBY_LOGS(INFO) << "No BWU handler can be found for "
+ << proto::connections::Medium_Name(medium);
+ return;
+ }
// If |service_id| isn't of the INITIATOR-upgrade format--for example, if this
- // is called by the RESPONDER--there is no need to call RevertInitiatorState.
- if (!IsInitiatorUpgradeServiceId(service_id)) return;
+ // is called by the RESPONDER--there is no need to call RevertInitiatorState
+ // unless the BWU Medium is Hotspot. The client needs to disconnect from
+ // Hotspot, then it can restore the previous AP connection right away.
+ if (!IsInitiatorUpgradeServiceId(service_id)) {
+ if (medium == Medium::WIFI_HOTSPOT) {
+ handler->RevertResponderState(service_id);
+ }
- BwuHandler* handler = GetHandlerForMedium(medium);
- if (!handler) return;
+ return;
+ }
handler->RevertInitiatorState(service_id, endpoint_id);
}
@@ -532,7 +547,8 @@ void BwuManager::OnIncomingConnection(
// Use the introductory client information sent over to run the upgrade
// protocol.
RunUpgradeProtocol(mapped_client, endpoint_id,
- std::move(connection->channel));
+ std::move(connection->channel),
+ !introduction.supports_disabling_encryption());
});
}
@@ -548,7 +564,8 @@ void BwuManager::RunOnBwuManagerThread(const std::string& name,
void BwuManager::RunUpgradeProtocol(
ClientProxy* client, const std::string& endpoint_id,
- std::unique_ptr<EndpointChannel> new_channel) {
+ std::unique_ptr<EndpointChannel> new_channel,
+ bool enable_encryption) {
NEARBY_LOGS(INFO) << "RunUpgradeProtocol new channel @" << new_channel.get()
<< " name: " << new_channel->GetName() << ", medium: "
<< proto::connections::Medium_Name(
@@ -574,8 +591,8 @@ void BwuManager::RunUpgradeProtocol(
proto::connections::PRIOR_ENDPOINT_CHANNEL);
return;
}
- channel_manager_->ReplaceChannelForEndpoint(client, endpoint_id,
- std::move(new_channel));
+ channel_manager_->ReplaceChannelForEndpoint(
+ client, endpoint_id, std::move(new_channel), enable_encryption);
// Next, initiate a clean shutdown for the previous EndpointChannel used for
// this endpoint by telling the remote device that it will not receive any
@@ -614,11 +631,23 @@ void BwuManager::RunUpgradeProtocol(
void BwuManager::ProcessBwuPathAvailableEvent(
ClientProxy* client, const string& endpoint_id,
const UpgradePathInfo& upgrade_path_info) {
- Medium medium =
+ Medium upgrade_medium =
parser::UpgradePathInfoMediumToMedium(upgrade_path_info.medium());
NEARBY_LOGS(INFO) << "ProcessBwuPathAvailableEvent for endpoint "
<< endpoint_id << " medium "
- << proto::connections::Medium_Name(medium);
+ << proto::connections::Medium_Name(upgrade_medium);
+
+ if (channel_manager_->isWifiLanConnected() &&
+ (upgrade_medium == Medium::WIFI_HOTSPOT)) {
+ NEARBY_LOGS(INFO)
+ << "Some endpoint is using WIFI_LAN and proposed upgrade medium is "
+ "WIFI_HOTSPOT. Don't do the BWU because connecting to "
+ "WIFI_HOTSPOT will destroy WIFI_LAN which will lead BWU fail and "
+ "other endpoint connection fail";
+ RunUpgradeFailedProtocol(client, endpoint_id, upgrade_path_info);
+ return;
+ }
+
if (in_progress_upgrades_.contains(endpoint_id)) {
NEARBY_LOGS(ERROR)
<< "BwuManager received a duplicate bandwidth upgrade for endpoint "
@@ -646,8 +675,6 @@ void BwuManager::ProcessBwuPathAvailableEvent(
return;
}
Medium current_medium = GetBwuMediumForEndpoint(endpoint_id);
- Medium upgrade_medium =
- parser::UpgradePathInfoMediumToMedium(upgrade_path_info.medium());
if (current_medium == Medium::UNKNOWN_MEDIUM) {
SetBwuMediumForEndpoint(endpoint_id, upgrade_medium);
}
@@ -699,7 +726,8 @@ void BwuManager::ProcessBwuPathAvailableEvent(
}
in_progress_upgrades_.emplace(endpoint_id, client);
- RunUpgradeProtocol(client, endpoint_id, std::move(channel));
+ RunUpgradeProtocol(client, endpoint_id, std::move(channel),
+ !upgrade_path_info.supports_disabling_encryption());
}
std::unique_ptr<EndpointChannel>
@@ -763,7 +791,9 @@ BwuManager::ProcessBwuPathAvailableEventInternal(
// Write the requisite BANDWIDTH_UPGRADE_NEGOTIATION.CLIENT_INTRODUCTION as
// the first OfflineFrame on this new EndpointChannel.
if (!new_channel
- ->Write(parser::ForBwuIntroduction(client->GetLocalEndpointId()))
+ ->Write(parser::ForBwuIntroduction(
+ client->GetLocalEndpointId(),
+ upgrade_path_info.supports_disabling_encryption()))
.Ok()) {
// This was never a fully EstablishedConnection, no need to provide a
// closure reason.
@@ -1114,7 +1144,10 @@ void BwuManager::ProcessUpgradeFailureEvent(
channel ? channel->GetServiceId() : std::string(kUnknownServiceId);
// Revert the existing upgrade medium for now.
if (GetBwuMediumForEndpoint(endpoint_id) != Medium::UNKNOWN_MEDIUM) {
- RevertBwuMediumForEndpoint(service_id, endpoint_id);
+ // This is the BWU initiator, so append "_UPGRADE" to service_id.
+ // Otherwise the Revert logic won't call into platform medium layer code.
+ std::string upgrade_service_id = WrapInitiatorUpgradeServiceId(service_id);
+ RevertBwuMediumForEndpoint(upgrade_service_id, endpoint_id);
}
// Loop through the ordered list of upgrade mediums. One by one, remove the
diff --git a/chromium/third_party/nearby/src/connections/implementation/bwu_manager.h b/chromium/third_party/nearby/src/connections/implementation/bwu_manager.h
index 6dea687908a..ae9e642bcc4 100644
--- a/chromium/third_party/nearby/src/connections/implementation/bwu_manager.h
+++ b/chromium/third_party/nearby/src/connections/implementation/bwu_manager.h
@@ -18,6 +18,7 @@
#include <functional>
#include <memory>
#include <string>
+#include <utility>
#include <vector>
#include "absl/container/flat_hash_map.h"
@@ -107,6 +108,11 @@ class BwuManager : public EndpointManager::FrameProcessor {
ClientProxy* client,
std::unique_ptr<BwuHandler::IncomingSocketConnection> mutable_connection);
+ // Shutdown the executors during Nearby Connections shutdown process before
+ // Core objects destruction so that no task will be run/posted after
+ // ClientProxy objects are deleted.
+ void ShutdownExecutors();
+
private:
static constexpr absl::Duration kReadClientIntroductionFrameTimeout =
absl::Seconds(5);
@@ -149,7 +155,8 @@ class BwuManager : public EndpointManager::FrameProcessor {
std::unique_ptr<BwuHandler::IncomingSocketConnection> mutable_connection);
void RunUpgradeProtocol(ClientProxy* client, const std::string& endpoint_id,
- std::unique_ptr<EndpointChannel> new_channel);
+ std::unique_ptr<EndpointChannel> new_channel,
+ bool enable_encryption);
void RunUpgradeFailedProtocol(ClientProxy* client,
const std::string& endpoint_id,
const UpgradePathInfo& upgrade_path_info);
diff --git a/chromium/third_party/nearby/src/connections/implementation/bwu_manager_test.cc b/chromium/third_party/nearby/src/connections/implementation/bwu_manager_test.cc
index 97cf9dbe8a1..21f1ddb17d1 100644
--- a/chromium/third_party/nearby/src/connections/implementation/bwu_manager_test.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/bwu_manager_test.cc
@@ -224,6 +224,17 @@ TEST_P(BwuManagerTestParam,
EXPECT_EQ(1u, fake_web_rtc_bwu_handler_->handle_initialize_calls().size());
}
+TEST_P(BwuManagerTestParam,
+ InitiateBwu_Error_DontUpgradeFromWIFI_LANToWIFI_HOTSPOT) {
+ CreateInitialEndpoint(kServiceIdA, kEndpointId1, Medium::WIFI_LAN);
+
+ // Ignore request to upgrade to WebRTC if we're already connected.
+ bwu_manager_->InitiateBwuForEndpoint(&client_, std::string(kEndpointId1),
+ Medium::WIFI_HOTSPOT);
+ EXPECT_TRUE(
+ fake_wifi_hotspot_bwu_handler_->handle_initialize_calls().empty());
+}
+
TEST_P(BwuManagerTestParam, InitiateBwu_Error_NoMediumHandler) {
// Try to upgrade to a medium without a handler (WIFI_HOTSPOT is not support
// in these tests). Should just early return with no action.
@@ -493,12 +504,12 @@ TEST_F(
CreateInitialEndpoint(kServiceIdB, kEndpointId4, Medium::BLUETOOTH);
FullyUpgradeEndpoint(kEndpointId1, /*initial_medium=*/Medium::BLUETOOTH,
/*upgrade_medium=*/Medium::WEB_RTC);
+ FullyUpgradeEndpoint(kEndpointId4, /*initial_medium=*/Medium::BLUETOOTH,
+ /*upgrade_medium=*/Medium::WIFI_HOTSPOT);
FullyUpgradeEndpoint(kEndpointId2, /*initial_medium=*/Medium::BLUETOOTH,
/*upgrade_medium=*/Medium::WIFI_LAN);
FullyUpgradeEndpoint(kEndpointId3, /*initial_medium=*/Medium::BLUETOOTH,
/*upgrade_medium=*/Medium::WIFI_LAN);
- FullyUpgradeEndpoint(kEndpointId4, /*initial_medium=*/Medium::BLUETOOTH,
- /*upgrade_medium=*/Medium::WIFI_HOTSPOT);
std::string upgrade_service_id_A = WrapInitiatorUpgradeServiceId(kServiceIdA);
std::string upgrade_service_id_B = WrapInitiatorUpgradeServiceId(kServiceIdB);
@@ -658,6 +669,67 @@ TEST_F(BwuManagerTest, InitiateBwu_Revert_OnUpgradeFailure_FlagDisabled) {
EXPECT_TRUE(fake_web_rtc_bwu_handler_->handle_revert_calls().empty());
}
+TEST_F(BwuManagerTest, InitiateBwu_Revert_OnDisconnect_Hotspot) {
+ FeatureFlags::GetMutableFlagsForTesting().support_multiple_bwu_mediums = true;
+
+ CreateInitialEndpoint(kServiceIdA, kEndpointId1, Medium::BLUETOOTH);
+
+ ExceptionOr<OfflineFrame> hotspot_path_available_frame =
+ parser::FromBytes(parser::ForBwuWifiHotspotPathAvailable(
+ /*ssid=*/"Direct-357a2d8c", /*password=*/"b592f7d3",
+ /*port=*/1234, /*gateway=*/"123.234.23.1", false));
+ OfflineFrame frame = hotspot_path_available_frame.result();
+ frame.set_version(OfflineFrame::V1);
+ auto* v1_frame = frame.mutable_v1();
+ auto* sub_frame = v1_frame->mutable_bandwidth_upgrade_negotiation();
+ sub_frame->set_event_type(
+ BandwidthUpgradeNegotiationFrame::UPGRADE_PATH_AVAILABLE);
+ auto* upgrade_path_info = sub_frame->mutable_upgrade_path_info();
+ upgrade_path_info->set_supports_client_introduction_ack(false);
+ upgrade_path_info->set_supports_disabling_encryption(true);
+ bwu_manager_->OnIncomingFrame(frame, std::string(kEndpointId1), &client_,
+ Medium::BLUETOOTH);
+ CountDownLatch latch(1);
+ bwu_manager_->OnEndpointDisconnect(&client_, (std::string)kServiceIdA,
+ std::string(kEndpointId1), latch);
+
+ ASSERT_EQ(fake_wifi_hotspot_bwu_handler_->handle_revert_calls().size(), 1u);
+}
+
+TEST_F(BwuManagerTest, InitiateBwu_Revert_OnDisconnect_Wlan) {
+ FeatureFlags::GetMutableFlagsForTesting().support_multiple_bwu_mediums = true;
+
+ CreateInitialEndpoint(kServiceIdA, kEndpointId1, Medium::BLUETOOTH);
+
+ ExceptionOr<OfflineFrame> wlan_path_available_frame = parser::FromBytes(
+ parser::ForBwuWifiLanPathAvailable(/*ip_address=*/"ABCD",
+ /*port=*/1234));
+ OfflineFrame frame = wlan_path_available_frame.result();
+ frame.set_version(OfflineFrame::V1);
+ auto* v1_frame = frame.mutable_v1();
+ auto* sub_frame = v1_frame->mutable_bandwidth_upgrade_negotiation();
+ sub_frame->set_event_type(
+ BandwidthUpgradeNegotiationFrame::UPGRADE_PATH_AVAILABLE);
+ auto* upgrade_path_info = sub_frame->mutable_upgrade_path_info();
+ upgrade_path_info->set_supports_client_introduction_ack(false);
+
+ bwu_manager_->OnIncomingFrame(frame, std::string(kEndpointId1), &client_,
+ Medium::BLUETOOTH);
+ CountDownLatch latch(1);
+ bwu_manager_->OnEndpointDisconnect(&client_, (std::string)kServiceIdA,
+ std::string(kEndpointId1), latch);
+
+ ASSERT_EQ(fake_wifi_lan_bwu_handler_->handle_revert_calls().size(), 0u);
+}
+
+TEST_F(BwuManagerTest, OnReceiveBwuEvent) {
+ // TODO(b/235109434): Add more unit tests coverage for BWU module
+}
+
+TEST_F(BwuManagerTest, OnProcessBwuEvent) {
+ // TODO(b/235109434): Add more unit tests coverage for BWU module
+}
+
INSTANTIATE_TEST_SUITE_P(BwuManagerTestParam, BwuManagerTestParam,
testing::Bool());
diff --git a/chromium/third_party/nearby/src/connections/implementation/client_proxy.cc b/chromium/third_party/nearby/src/connections/implementation/client_proxy.cc
index bb52fac928d..47bac9ef0eb 100644
--- a/chromium/third_party/nearby/src/connections/implementation/client_proxy.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/client_proxy.cc
@@ -17,13 +17,17 @@
#include <cstdlib>
#include <functional>
#include <limits>
+#include <memory>
+#include <sstream>
#include <string>
#include <utility>
+#include "internal/analytics/event_logger.h"
#include "absl/container/flat_hash_map.h"
#include "absl/container/flat_hash_set.h"
#include "absl/strings/escaping.h"
#include "absl/strings/str_cat.h"
+#include "absl/strings/str_format.h"
#include "internal/platform/error_code_recorder.h"
#include "internal/platform/feature_flags.h"
#include "internal/platform/logging.h"
@@ -102,7 +106,6 @@ void ClientProxy::Reset() {
StoppedDiscovery();
RemoveAllEndpoints();
ExitHighVisibilityMode();
- analytics_recorder_->LogSession();
}
void ClientProxy::StartedAdvertising(
@@ -141,7 +144,7 @@ void ClientProxy::StoppedAdvertising() {
analytics_recorder_->OnStopAdvertising();
}
// advertising_options_ is purposefully not cleared here.
- ResetLocalEndpointIdIfNeeded();
+ OnSessionComplete();
ExitHighVisibilityMode();
}
@@ -180,7 +183,7 @@ void ClientProxy::StoppedDiscovery() {
analytics_recorder_->OnStopDiscovery();
}
// discovery_options_ is purposefully not cleared here.
- ResetLocalEndpointIdIfNeeded();
+ OnSessionComplete();
}
bool ClientProxy::IsDiscoveringServiceId(const std::string& service_id) const {
@@ -355,7 +358,7 @@ void ClientProxy::OnDisconnected(const std::string& endpoint_id, bool notify) {
item->connection_listener.disconnected_cb({endpoint_id});
}
connections_.erase(endpoint_id);
- ResetLocalEndpointIdIfNeeded();
+ OnSessionComplete();
}
CancelEndpoint(endpoint_id);
@@ -655,13 +658,16 @@ void ClientProxy::RemoveAllEndpoints() {
// just remove without notifying.
connections_.clear();
cancellation_flags_.clear();
- local_endpoint_id_.clear();
+ OnSessionComplete();
}
-void ClientProxy::ResetLocalEndpointIdIfNeeded() {
+void ClientProxy::OnSessionComplete() {
MutexLock lock(&mutex_);
if (connections_.empty() && !IsAdvertising() && !IsDiscovering()) {
local_endpoint_id_.clear();
+
+ analytics_recorder_->LogSession();
+ analytics_recorder_->LogStartSession();
}
}
@@ -762,6 +768,35 @@ std::string ClientProxy::ToString(PayloadProgressInfo::Status status) const {
}
}
+std::string ClientProxy::Dump() {
+ std::stringstream sstream;
+ sstream << "Nearby Connections State" << std::endl;
+ sstream << " Client ID: " << GetClientId() << std::endl;
+ sstream << " Local Endpoint ID: " << GetLocalEndpointId() << std::endl;
+ sstream << " High Visibility Mode: " << high_vis_mode_ << std::endl;
+ sstream << " Is Advertising: " << IsAdvertising() << std::endl;
+ sstream << " Advertising Service ID: " << GetAdvertisingServiceId()
+ << std::endl;
+ // TODO(deling): AdvertisingOptions
+ sstream << " Is Discovering: " << IsDiscovering() << std::endl;
+ sstream << " Discovery Service ID: " << GetDiscoveryServiceId() << std::endl;
+ // TODO(deling): DiscoveryOptions
+
+ sstream << " Connections: " << std::endl;
+ for (auto it = connections_.begin(); it != connections_.end(); ++it) {
+ // TODO(deling): write Connection.ToString()
+ sstream << " " << it->first << " : " << it->second.connection_token
+ << std::endl;
+ }
+
+ sstream << " Discovered endpoint IDs: " << std::endl;
+ for (auto it = discovered_endpoint_ids_.begin();
+ it != discovered_endpoint_ids_.end(); ++it) {
+ sstream << " " << *it << std::endl;
+ }
+
+ return sstream.str();
+}
} // namespace connections
} // namespace nearby
} // namespace location
diff --git a/chromium/third_party/nearby/src/connections/implementation/client_proxy.h b/chromium/third_party/nearby/src/connections/implementation/client_proxy.h
index 87af16b3981..5a20592fe27 100644
--- a/chromium/third_party/nearby/src/connections/implementation/client_proxy.h
+++ b/chromium/third_party/nearby/src/connections/implementation/client_proxy.h
@@ -188,6 +188,8 @@ class ClientProxy final {
// rotates.
void ExitHighVisibilityMode();
+ std::string Dump();
+
private:
struct Connection {
// Status: may be either:
@@ -234,7 +236,7 @@ class ClientProxy final {
};
void RemoveAllEndpoints();
- void ResetLocalEndpointIdIfNeeded();
+ void OnSessionComplete();
bool ConnectionStatusesContains(const std::string& endpoint_id,
Connection::Status status_to_match) const;
void AppendConnectionStatus(const std::string& endpoint_id,
diff --git a/chromium/third_party/nearby/src/connections/implementation/client_proxy_test.cc b/chromium/third_party/nearby/src/connections/implementation/client_proxy_test.cc
index 35112b7dd4f..8107e12e949 100644
--- a/chromium/third_party/nearby/src/connections/implementation/client_proxy_test.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/client_proxy_test.cc
@@ -14,17 +14,20 @@
#include "connections/implementation/client_proxy.h"
+#include <cstdio>
#include <string>
#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
#include "gtest/gtest.h"
#include "absl/container/flat_hash_set.h"
+#include "absl/strings/str_format.h"
#include "absl/time/clock.h"
#include "absl/time/time.h"
#include "absl/types/span.h"
#include "connections/listeners.h"
#include "connections/strategy.h"
+#include "internal/analytics/event_logger.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/feature_flags.h"
#include "internal/platform/medium_environment.h"
@@ -46,6 +49,13 @@ constexpr FeatureFlags::Flags kTestCases[] = {
},
};
+class FakeEventLogger : public ::nearby::analytics::EventLogger {
+ public:
+ explicit FakeEventLogger() = default;
+
+ void Log(const ::google::protobuf::MessageLite& message) override {}
+};
+
class ClientProxyTest : public ::testing::TestWithParam<FeatureFlags::Flags> {
protected:
struct MockDiscoveryListener {
@@ -105,7 +115,23 @@ class ClientProxyTest : public ::testing::TestWithParam<FeatureFlags::Flags> {
return endpoint;
}
- void StopAdvertising(ClientProxy* client) { client->StoppedAdvertising(); }
+ void StopAdvertising(ClientProxy* client) {
+ client->StoppedAdvertising();
+ EXPECT_FALSE(client->IsAdvertising());
+ }
+
+ void OnAdvertisingConnectionInitiated(ClientProxy* client,
+ const Endpoint& endpoint) {
+ EXPECT_CALL(mock_advertising_connection_.initiated_cb, Call).Times(1);
+ const std::string auth_token{"auth_token"};
+ const ByteArray raw_auth_token{auth_token};
+ const std::string connection_token{"conntokn"};
+ discovery_connection_info_.remote_endpoint_info = endpoint.info;
+ client->OnConnectionInitiated(
+ endpoint.id, discovery_connection_info_, connection_options_,
+ advertising_connection_listener_, connection_token);
+ EXPECT_TRUE(client->HasPendingConnectionToEndpoint(endpoint.id));
+ }
Endpoint StartDiscovery(ClientProxy* client, DiscoveryListener listener) {
Endpoint endpoint{
@@ -117,6 +143,11 @@ class ClientProxyTest : public ::testing::TestWithParam<FeatureFlags::Flags> {
return endpoint;
}
+ void StopDiscovery(ClientProxy* client) {
+ client->StoppedDiscovery();
+ EXPECT_FALSE(client->IsDiscovering());
+ }
+
void OnDiscoveryEndpointFound(ClientProxy* client, const Endpoint& endpoint) {
EXPECT_CALL(mock_discovery_.endpoint_found_cb, Call).Times(1);
client->OnEndpointFound(service_id_, endpoint.id, endpoint.info, medium_);
@@ -212,6 +243,8 @@ class ClientProxyTest : public ::testing::TestWithParam<FeatureFlags::Flags> {
client->OnPayloadProgress(endpoint.id, {});
}
+ MockConnectionListener mock_advertising_connection_;
+
MockDiscoveryListener mock_discovery_;
MockConnectionListener mock_discovery_connection_;
MockPayloadListener mock_discovery_payload_;
@@ -222,8 +255,10 @@ class ClientProxyTest : public ::testing::TestWithParam<FeatureFlags::Flags> {
};
Strategy strategy_{Strategy::kP2pPointToPoint};
const std::string service_id_{"service"};
- ClientProxy client1_;
- ClientProxy client2_;
+ FakeEventLogger event_logger1_;
+ FakeEventLogger event_logger2_;
+ ClientProxy client1_{&event_logger1_};
+ ClientProxy client2_{&event_logger2_};
std::string auth_token_ = "auth_token";
ByteArray raw_auth_token_ = ByteArray(auth_token_);
ByteArray payload_bytes_{"bytes"};
@@ -232,7 +267,14 @@ class ClientProxyTest : public ::testing::TestWithParam<FeatureFlags::Flags> {
.raw_authentication_token = raw_auth_token_,
.is_incoming_connection = true,
};
- ConnectionListener advertising_connection_listener_;
+ ConnectionListener advertising_connection_listener_{
+ .initiated_cb = mock_advertising_connection_.initiated_cb.AsStdFunction(),
+ };
+ ConnectionResponseInfo discovery_connection_info_{
+ .authentication_token = auth_token_,
+ .raw_authentication_token = raw_auth_token_,
+ .is_incoming_connection = false,
+ };
ConnectionListener discovery_connection_listener_{
.initiated_cb = mock_discovery_connection_.initiated_cb.AsStdFunction(),
.accepted_cb = mock_discovery_connection_.accepted_cb.AsStdFunction(),
@@ -362,6 +404,23 @@ TEST_F(ClientProxyTest, ClientIdIsUnique) {
EXPECT_NE(client1_.GetClientId(), client2_.GetClientId());
}
+TEST_F(ClientProxyTest, DumpString) {
+ std::string expect = absl::StrFormat(
+ "Nearby Connections State\n"
+ " Client ID: %d\n"
+ " Local Endpoint ID: %s\n"
+ " High Visibility Mode: 0\n"
+ " Is Advertising: 0\n"
+ " Advertising Service ID: \n"
+ " Is Discovering: 0\n"
+ " Discovery Service ID: \n"
+ " Connections: \n"
+ " Discovered endpoint IDs: \n",
+ client1_.GetClientId(), client1_.GetLocalEndpointId());
+ std::string dump = client1_.Dump();
+ EXPECT_EQ(dump, expect);
+}
+
TEST_F(ClientProxyTest, GeneratedEndpointIdIsUnique) {
EXPECT_NE(client1_.GetLocalEndpointId(), client2_.GetLocalEndpointId());
}
@@ -667,6 +726,177 @@ TEST_F(ClientProxyTest, EndpointIdRotateWhenLowVizAdvertisementWithLowPower) {
EXPECT_NE(advertising_endpoint_1.id, advertising_endpoint_2.id);
}
+TEST_F(ClientProxyTest, NotLogSessionForStoppedAdvertisingWithConnection) {
+ Endpoint advertising_endpoint =
+ StartAdvertising(&client1_, advertising_connection_listener_);
+ OnAdvertisingConnectionInitiated(&client1_, advertising_endpoint);
+
+ StartDiscovery(&client2_, discovery_listener_);
+ OnDiscoveryEndpointFound(&client2_, advertising_endpoint);
+ OnDiscoveryConnectionInitiated(&client2_, advertising_endpoint);
+
+ // Before
+ EXPECT_TRUE(client1_.HasPendingConnectionToEndpoint(
+ advertising_endpoint.id)); // Connections are available
+ EXPECT_FALSE(client1_.IsDiscovering()); // No Discovery
+ EXPECT_TRUE(client1_.IsAdvertising()); // Advertising
+ EXPECT_FALSE(client1_.GetAnalyticsRecorder().IsSessionLogged());
+
+ // After
+ StopAdvertising(&client1_); // No Advertising
+ EXPECT_FALSE(client1_.GetAnalyticsRecorder().IsSessionLogged());
+}
+
+TEST_F(ClientProxyTest,
+ LogSessionForStoppedAdvertisingWhenNoConnectionsAndNoDiscovering) {
+ Endpoint advertising_endpoint =
+ StartAdvertising(&client1_, advertising_connection_listener_);
+
+ // Before
+ EXPECT_FALSE(client1_.HasPendingConnectionToEndpoint(
+ advertising_endpoint.id)); // No Connections
+ EXPECT_FALSE(client1_.IsDiscovering()); // No Discovery
+ EXPECT_TRUE(client1_.IsAdvertising()); // Advertising
+ EXPECT_FALSE(client1_.GetAnalyticsRecorder().IsSessionLogged());
+
+ // After
+ StopAdvertising(&client1_);
+ EXPECT_TRUE(client1_.GetAnalyticsRecorder().IsSessionLogged());
+}
+
+TEST_F(ClientProxyTest, NotLogSessionForStoppedDiscoveryWithConnection) {
+ Endpoint advertising_endpoint =
+ StartAdvertising(&client1_, advertising_connection_listener_);
+
+ StartDiscovery(&client2_, discovery_listener_);
+ OnDiscoveryEndpointFound(&client2_, advertising_endpoint);
+
+ // Before
+ OnDiscoveryConnectionInitiated(
+ &client2_, advertising_endpoint); // Connections are available
+ EXPECT_FALSE(client2_.IsAdvertising()); // No Advertising
+ EXPECT_TRUE(client2_.IsDiscovering()); // Discovering
+ EXPECT_FALSE(client2_.GetAnalyticsRecorder().IsSessionLogged());
+
+ // After
+ StopDiscovery(&client2_);
+ EXPECT_FALSE(client2_.GetAnalyticsRecorder().IsSessionLogged());
+}
+
+TEST_F(ClientProxyTest,
+ NotLogSessionForStoppedDiscoveryWithoutConnectionsAndAdvertising) {
+ Endpoint advertising_endpoint =
+ StartAdvertising(&client1_, advertising_connection_listener_);
+
+ StartDiscovery(&client2_, discovery_listener_);
+
+ // Before
+ EXPECT_FALSE(client2_.IsAdvertising()); // No Advertising
+ EXPECT_TRUE(client2_.IsDiscovering()); // Discoverying
+ EXPECT_FALSE(client2_.HasPendingConnectionToEndpoint(
+ advertising_endpoint.id)); // No Connections
+
+ // After
+ StopDiscovery(&client2_);
+ EXPECT_TRUE(client2_.GetAnalyticsRecorder().IsSessionLogged());
+}
+
+TEST_F(ClientProxyTest, LogSessionOnDisconnectedWithOneConnection) {
+ Endpoint advertising_endpoint =
+ StartAdvertising(&client1_, advertising_connection_listener_);
+ StartDiscovery(&client2_, discovery_listener_);
+ OnDiscoveryEndpointFound(&client2_, advertising_endpoint);
+ OnDiscoveryConnectionInitiated(&client2_, advertising_endpoint);
+
+ // Before
+ EXPECT_FALSE(client2_.IsAdvertising()); // No Advertising
+ StopDiscovery(&client2_); // No Discovery
+ EXPECT_TRUE(client2_.HasPendingConnectionToEndpoint(
+ advertising_endpoint.id)); // One Connection
+
+ // After
+ OnDiscoveryConnectionDisconnected(&client2_, advertising_endpoint);
+ EXPECT_TRUE(client2_.GetAnalyticsRecorder().IsSessionLogged());
+}
+
+TEST_F(ClientProxyTest,
+ NotLogSessionOnDisconnectedWithoutConnectionsDiscoveringAdvertising) {
+ Endpoint advertising_endpoint =
+ StartAdvertising(&client1_, advertising_connection_listener_);
+
+ // Before
+ EXPECT_FALSE(client2_.IsAdvertising()); // No Advertising
+ EXPECT_FALSE(client2_.IsDiscovering()); // No Discovery
+ EXPECT_FALSE(client2_.HasPendingConnectionToEndpoint(
+ advertising_endpoint.id)); // No Connections
+
+ // After
+ client2_.OnDisconnected(advertising_endpoint.id, /*notify=*/false);
+ EXPECT_FALSE(client2_.GetAnalyticsRecorder().IsSessionLogged());
+}
+
+TEST_F(ClientProxyTest, NotLogSessionOnDisconnectedWhenMoreThanOneConnection) {
+ ClientProxy client3;
+ Endpoint advertising_endpoint_1 =
+ StartAdvertising(&client1_, advertising_connection_listener_);
+ Endpoint advertising_endpoint_2 =
+ StartAdvertising(&client2_, advertising_connection_listener_);
+ StartDiscovery(&client3, discovery_listener_);
+
+ OnDiscoveryEndpointFound(&client3, advertising_endpoint_1);
+ OnDiscoveryConnectionInitiated(&client3, advertising_endpoint_1);
+ OnDiscoveryEndpointFound(&client3, advertising_endpoint_2);
+ OnDiscoveryConnectionInitiated(&client3, advertising_endpoint_2);
+
+ // Before
+ // - More than one Connection
+ EXPECT_TRUE(
+ client3.HasPendingConnectionToEndpoint(advertising_endpoint_1.id));
+ EXPECT_TRUE(
+ client3.HasPendingConnectionToEndpoint(advertising_endpoint_2.id));
+ EXPECT_FALSE(client3.IsAdvertising()); // No Advertising
+ StopDiscovery(&client3); // No Discovery
+
+ // After
+ client2_.OnDisconnected(advertising_endpoint_1.id, /*notify=*/false);
+ EXPECT_FALSE(client2_.GetAnalyticsRecorder().IsSessionLogged());
+}
+
+TEST_F(ClientProxyTest,
+ NotLogSessionOnDisconnectedForDiscoveringWithOnlyOneConnection) {
+ Endpoint advertising_endpoint =
+ StartAdvertising(&client1_, advertising_connection_listener_);
+ StartDiscovery(&client2_, discovery_listener_);
+ OnDiscoveryEndpointFound(&client2_, advertising_endpoint);
+ OnDiscoveryConnectionInitiated(&client2_, advertising_endpoint);
+
+ // Before
+ EXPECT_FALSE(client2_.IsAdvertising()); // No Advertising
+ EXPECT_TRUE(client2_.IsDiscovering()); // Discovering
+ EXPECT_TRUE(client2_.HasPendingConnectionToEndpoint(
+ advertising_endpoint.id)); // One Connection
+
+ // After
+ OnDiscoveryConnectionDisconnected(&client2_, advertising_endpoint);
+ EXPECT_FALSE(client2_.GetAnalyticsRecorder().IsSessionLogged());
+}
+
+TEST_F(ClientProxyTest, LogSessionForResetClientProxy) {
+ Endpoint advertising_endpoint =
+ StartAdvertising(&client1_, advertising_connection_listener_);
+ StartDiscovery(&client2_, discovery_listener_);
+ OnDiscoveryEndpointFound(&client2_, advertising_endpoint);
+ OnDiscoveryConnectionInitiated(&client2_, advertising_endpoint);
+
+ EXPECT_FALSE(client1_.GetAnalyticsRecorder().IsSessionLogged());
+ client1_.Reset();
+ EXPECT_TRUE(client1_.GetAnalyticsRecorder().IsSessionLogged());
+
+ EXPECT_FALSE(client2_.GetAnalyticsRecorder().IsSessionLogged());
+ client2_.Reset();
+ EXPECT_TRUE(client2_.GetAnalyticsRecorder().IsSessionLogged());
+}
+
} // namespace
} // namespace connections
} // namespace nearby
diff --git a/chromium/third_party/nearby/src/connections/implementation/endpoint_channel_manager.cc b/chromium/third_party/nearby/src/connections/implementation/endpoint_channel_manager.cc
index 7d95358f6ac..d531566ccef 100644
--- a/chromium/third_party/nearby/src/connections/implementation/endpoint_channel_manager.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/endpoint_channel_manager.cc
@@ -20,11 +20,9 @@
#include "absl/time/time.h"
#include "connections/implementation/offline_frames.h"
-#include "internal/platform/feature_flags.h"
#include "internal/platform/logging.h"
#include "internal/platform/mutex.h"
#include "internal/platform/mutex_lock.h"
-#include "internal/platform/system_clock.h"
namespace location {
namespace nearby {
@@ -48,14 +46,15 @@ void EndpointChannelManager::RegisterChannelForEndpoint(
NEARBY_LOGS(INFO) << "EndpointChannelManager registered channel of type "
<< channel->GetType() << " to endpoint " << endpoint_id;
- SetActiveEndpointChannel(client, endpoint_id, std::move(channel));
+ SetActiveEndpointChannel(client, endpoint_id, std::move(channel),
+ true /* enable_encryption */);
NEARBY_LOG(INFO, "Registered channel: id=%s", endpoint_id.c_str());
}
void EndpointChannelManager::ReplaceChannelForEndpoint(
ClientProxy* client, const std::string& endpoint_id,
- std::unique_ptr<EndpointChannel> channel) {
+ std::unique_ptr<EndpointChannel> channel, bool enable_encryption) {
MutexLock lock(&mutex_);
auto* endpoint = channel_state_.LookupEndpointData(endpoint_id);
@@ -64,8 +63,8 @@ void EndpointChannelManager::ReplaceChannelForEndpoint(
"trying to update: endpoint "
<< endpoint_id;
}
-
- SetActiveEndpointChannel(client, endpoint_id, std::move(channel));
+ SetActiveEndpointChannel(client, endpoint_id, std::move(channel),
+ enable_encryption);
}
bool EndpointChannelManager::EncryptChannelForEndpoint(
@@ -94,14 +93,15 @@ std::shared_ptr<EndpointChannel> EndpointChannelManager::GetChannelForEndpoint(
void EndpointChannelManager::SetActiveEndpointChannel(
ClientProxy* client, const std::string& endpoint_id,
- std::unique_ptr<EndpointChannel> channel) {
+ std::unique_ptr<EndpointChannel> channel, bool enable_encryption) {
// Update the channel first, then encrypt this new channel, if
// crypto context is present.
channel->SetAnalyticsRecorder(&client->GetAnalyticsRecorder(), endpoint_id);
channel_state_.UpdateChannelForEndpoint(endpoint_id, std::move(channel));
auto* endpoint = channel_state_.LookupEndpointData(endpoint_id);
- if (endpoint->IsEncrypted()) channel_state_.EncryptChannel(endpoint);
+ if (endpoint->IsEncrypted() && enable_encryption)
+ channel_state_.EncryptChannel(endpoint);
}
int EndpointChannelManager::GetConnectedEndpointsCount() const {
@@ -109,6 +109,11 @@ int EndpointChannelManager::GetConnectedEndpointsCount() const {
return channel_state_.GetConnectedEndpointsCount();
}
+bool EndpointChannelManager::isWifiLanConnected() const {
+ MutexLock lock(&mutex_);
+ return channel_state_.isWifiLanConnected();
+}
+
///////////////////////////////// ChannelState /////////////////////////////////
// endpoint - channel endpoint to encrypt
@@ -164,6 +169,21 @@ bool EndpointChannelManager::ChannelState::RemoveEndpoint(
return true;
}
+bool EndpointChannelManager::ChannelState::isWifiLanConnected() const {
+ for (auto& endpoint : endpoints_) {
+ auto channel = endpoint.second.channel;
+ if (channel) {
+ if (channel->GetMedium() == Medium::WIFI_LAN) {
+ NEARBY_LOGS(INFO) << "Found WIFI_LAN Medium for endpoint:"
+ << endpoint.first;
+ return true;
+ }
+ }
+ }
+
+ return false;
+}
+
bool EndpointChannelManager::UnregisterChannelForEndpoint(
const std::string& endpoint_id) {
MutexLock lock(&mutex_);
diff --git a/chromium/third_party/nearby/src/connections/implementation/endpoint_channel_manager.h b/chromium/third_party/nearby/src/connections/implementation/endpoint_channel_manager.h
index fa431c188f9..11c16c4a446 100644
--- a/chromium/third_party/nearby/src/connections/implementation/endpoint_channel_manager.h
+++ b/chromium/third_party/nearby/src/connections/implementation/endpoint_channel_manager.h
@@ -22,7 +22,6 @@
#include "absl/container/flat_hash_map.h"
#include "connections/implementation/client_proxy.h"
#include "connections/implementation/endpoint_channel.h"
-#include "internal/platform/logging.h"
#include "internal/platform/mutex.h"
namespace location {
@@ -62,7 +61,8 @@ class EndpointChannelManager final {
// to the newly-provided EndpointChannel.
void ReplaceChannelForEndpoint(ClientProxy* client,
const std::string& endpoint_id,
- std::unique_ptr<EndpointChannel> channel)
+ std::unique_ptr<EndpointChannel> channel,
+ bool enable_encryption)
ABSL_LOCKS_EXCLUDED(mutex_);
bool EncryptChannelForEndpoint(const std::string& endpoint_id,
@@ -96,6 +96,9 @@ class EndpointChannelManager final {
int GetConnectedEndpointsCount() const ABSL_LOCKS_EXCLUDED(mutex_);
+ // Check if any endpoint uses WLAN Medium
+ bool isWifiLanConnected() const ABSL_LOCKS_EXCLUDED(mutex_);
+
private:
// Tracks channel state for all endpoints. This includes what EndpointChannel
// the endpoint is currently using and whether or not the EndpointChannel has
@@ -149,6 +152,7 @@ class EndpointChannelManager final {
bool EncryptChannel(EndpointData* endpoint);
int GetConnectedEndpointsCount() const { return endpoints_.size(); }
+ bool isWifiLanConnected() const;
private:
// Endpoint ID -> EndpointData. Contains everything we know about the
@@ -158,7 +162,8 @@ class EndpointChannelManager final {
void SetActiveEndpointChannel(ClientProxy* client,
const std::string& endpoint_id,
- std::unique_ptr<EndpointChannel> channel)
+ std::unique_ptr<EndpointChannel> channel,
+ bool enable_encryption)
ABSL_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
mutable Mutex mutex_;
diff --git a/chromium/third_party/nearby/src/connections/implementation/endpoint_channel_manager_test.cc b/chromium/third_party/nearby/src/connections/implementation/endpoint_channel_manager_test.cc
index c6dc522c44e..85f60b3e476 100644
--- a/chromium/third_party/nearby/src/connections/implementation/endpoint_channel_manager_test.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/endpoint_channel_manager_test.cc
@@ -14,19 +14,285 @@
#include "connections/implementation/endpoint_channel_manager.h"
+#include <functional>
+#include <memory>
+#include <string>
+#include <utility>
+
+#include "securegcm/d2d_connection_context_v1.h"
+#include "securegcm/ukey2_handshake.h"
#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
#include "gtest/gtest.h"
+#include "absl/synchronization/mutex.h"
+#include "absl/time/time.h"
+#include "connections/implementation/base_endpoint_channel.h"
+#include "connections/implementation/encryption_runner.h"
+#include "internal/platform/count_down_latch.h"
+#include "internal/platform/exception.h"
+#include "internal/platform/input_stream.h"
+#include "internal/platform/logging.h"
+#include "internal/platform/multi_thread_executor.h"
+#include "internal/platform/output_stream.h"
+#include "internal/platform/pipe.h"
+#include "proto/connections_enums.pb.h"
namespace location {
namespace nearby {
namespace connections {
+namespace {
+
+using ::location::nearby::proto::connections::DisconnectionReason;
+using ::location::nearby::proto::connections::Medium;
+using EncryptionContext = BaseEndpointChannel::EncryptionContext;
+
+constexpr absl::string_view kEndpointId = "EndpointId";
+constexpr absl::string_view kMonitorA = "MonitorA";
+constexpr absl::string_view kMonitorB = "MonitorB";
+constexpr absl::string_view kPumpA = "PumpA";
+constexpr absl::string_view kPumpB = "PumpB";
+
+class MockEndpointChannel : public BaseEndpointChannel {
+ public:
+ explicit MockEndpointChannel(InputStream* input, OutputStream* output)
+ : BaseEndpointChannel("service_id", "channel", input, output) {}
+
+ MOCK_METHOD(Medium, GetMedium, (), (const override));
+ MOCK_METHOD(void, CloseImpl, (), (override));
+};
+
+std::function<void()> MakeDataPump(
+ absl::string_view label, InputStream* input, OutputStream* output,
+ std::function<void(const ByteArray&)> monitor = nullptr) {
+ return [label, input, output, monitor]() {
+ NEARBY_LOGS(INFO) << "streaming data through '" << label << "'";
+ while (true) {
+ auto read_response = input->Read(Pipe::kChunkSize);
+ if (!read_response.ok()) {
+ NEARBY_LOGS(INFO) << "Peer reader closed on '" << label << "'";
+ output->Close();
+ break;
+ }
+ if (monitor) {
+ monitor(read_response.result());
+ }
+ auto write_response = output->Write(read_response.result());
+ if (write_response.Raised()) {
+ NEARBY_LOGS(INFO) << "Peer writer closed on '" << label << "'";
+ input->Close();
+ break;
+ }
+ }
+ NEARBY_LOGS(INFO) << "streaming terminated on '" << label << "'";
+ };
+}
+
+std::function<void(const ByteArray&)> MakeDataMonitor(absl::string_view label,
+ std::string* capture,
+ absl::Mutex* mutex) {
+ return [label, capture, mutex](const ByteArray& input) mutable {
+ std::string s = std::string(input);
+ {
+ absl::MutexLock lock(mutex);
+ *capture += s;
+ }
+ NEARBY_LOGS(INFO) << "source='" << label << "'"
+ << "; message='" << s << "'";
+ };
+}
+
+std::pair<std::unique_ptr<EncryptionContext>,
+ std::unique_ptr<EncryptionContext>>
+DoDhKeyExchange(BaseEndpointChannel* channel_a,
+ BaseEndpointChannel* channel_b) {
+ std::unique_ptr<EncryptionContext> context_a;
+ std::unique_ptr<EncryptionContext> context_b;
+ EncryptionRunner crypto_a;
+ EncryptionRunner crypto_b;
+ ClientProxy proxy_a;
+ ClientProxy proxy_b;
+ CountDownLatch latch(2);
+ crypto_a.StartClient(
+ &proxy_a, std::string(kEndpointId), channel_a,
+ {
+ .on_success_cb =
+ [&latch, &context_a](
+ const std::string& endpoint_id,
+ std::unique_ptr<securegcm::UKey2Handshake> ukey2,
+ const std::string& auth_token,
+ const ByteArray& raw_auth_token) {
+ NEARBY_LOGS(INFO) << "client-A side key negotiation done";
+ EXPECT_TRUE(ukey2->VerifyHandshake());
+ auto context = ukey2->ToConnectionContext();
+ EXPECT_NE(context, nullptr);
+ context_a = std::move(context);
+ latch.CountDown();
+ },
+ .on_failure_cb =
+ [&latch](const std::string& endpoint_id,
+ EndpointChannel* channel) {
+ NEARBY_LOGS(INFO) << "client-A side key negotiation failed";
+ latch.CountDown();
+ },
+ });
+ crypto_b.StartServer(
+ &proxy_b, std::string(kEndpointId), channel_b,
+ {
+ .on_success_cb =
+ [&latch, &context_b](
+ const std::string& endpoint_id,
+ std::unique_ptr<securegcm::UKey2Handshake> ukey2,
+ const std::string& auth_token,
+ const ByteArray& raw_auth_token) {
+ NEARBY_LOGS(INFO) << "client-B side key negotiation done";
+ EXPECT_TRUE(ukey2->VerifyHandshake());
+ auto context = ukey2->ToConnectionContext();
+ EXPECT_NE(context, nullptr);
+ context_b = std::move(context);
+ latch.CountDown();
+ },
+ .on_failure_cb =
+ [&latch](const std::string& endpoint_id,
+ EndpointChannel* channel) {
+ NEARBY_LOGS(INFO) << "client-B side key negotiation failed";
+ latch.CountDown();
+ },
+ });
+ EXPECT_TRUE(latch.Await(absl::Milliseconds(5000)).result());
+
+ return std::make_pair(std::move(context_a), std::move(context_b));
+}
+
+TEST(BaseEndpointChannelManagerTest, RegisterChannelEncryptedReadwrite) {
+ // Setup test communication environment.
+ absl::Mutex mutex;
+ std::string capture_a;
+ std::string capture_b;
+ ClientProxy proxy_a;
+ ClientProxy proxy_b;
+ Pipe client_a; // Channel "a" writes to client "a", reads from server "a".
+ Pipe client_b; // Channel "b" writes to client "b", reads from server "b".
+ Pipe server_a; // Data pump "a" reads from client "a", writes to server "b".
+ Pipe server_b; // Data pump "b" reads from client "b", writes to server "a".
+ auto channel_a = std::make_unique<MockEndpointChannel>(
+ &server_a.GetInputStream(), &client_a.GetOutputStream());
+ auto channel_b = std::make_unique<MockEndpointChannel>(
+ &server_b.GetInputStream(), &client_b.GetOutputStream());
+ auto channel_a_raw = channel_a.get();
+ auto channel_b_raw = channel_b.get();
+
+ ON_CALL(*channel_a_raw, GetMedium).WillByDefault([]() {
+ return Medium::BLUETOOTH;
+ });
+ ON_CALL(*channel_b_raw, GetMedium).WillByDefault([]() {
+ return Medium::BLUETOOTH;
+ });
+
+ MultiThreadExecutor executor(2);
+ executor.Execute(MakeDataPump(
+ kPumpA, &client_a.GetInputStream(), &server_b.GetOutputStream(),
+ MakeDataMonitor(kMonitorA, &capture_a, &mutex)));
+ executor.Execute(MakeDataPump(
+ kPumpB, &client_b.GetInputStream(), &server_a.GetOutputStream(),
+ MakeDataMonitor(kMonitorB, &capture_b, &mutex)));
+
+ // Run DH key exchange; setup encryption contexts for channels.
+ auto context = DoDhKeyExchange(channel_a.get(), channel_b.get());
+ ASSERT_NE(context.first, nullptr);
+ ASSERT_NE(context.second, nullptr);
+
+ EndpointChannelManager ecm_a;
+ ecm_a.EncryptChannelForEndpoint(std::string(kEndpointId),
+ std::move(context.first));
+ ecm_a.RegisterChannelForEndpoint(&proxy_a, std::string(kEndpointId),
+ std::move(channel_a));
+
+ EndpointChannelManager ecm_b;
+ ecm_b.EncryptChannelForEndpoint(std::string(kEndpointId),
+ std::move(context.second));
+ ecm_b.RegisterChannelForEndpoint(&proxy_b, std::string(kEndpointId),
+ std::move(channel_b));
+
+ EXPECT_EQ(channel_a_raw->GetType(), "ENCRYPTED_BLUETOOTH");
+ EXPECT_EQ(channel_b_raw->GetType(), "ENCRYPTED_BLUETOOTH");
+
+ ByteArray tx_message{"data message"};
+ channel_a_raw->Write(tx_message);
+ ByteArray rx_message = std::move(channel_b_raw->Read().result());
+
+ // Verify expectations.
+ EXPECT_EQ(rx_message, tx_message);
+ {
+ absl::MutexLock lock(&mutex);
+ std::string message{tx_message};
+ EXPECT_TRUE(capture_a.find(message) == std::string::npos &&
+ capture_b.find(message) == std::string::npos);
+ }
+
+ // Shutdown test environment.
+ channel_a_raw->Close(DisconnectionReason::LOCAL_DISCONNECTION);
+ channel_b_raw->Close(DisconnectionReason::REMOTE_DISCONNECTION);
+}
+
+TEST(BaseEndpointChannelManagerTest, ReplaceChannelNoEncrypted) {
+ // Setup test communication environment.
+ absl::Mutex mutex;
+ std::string capture_a;
+ std::string capture_b;
+ ClientProxy proxy_a;
+ ClientProxy proxy_b;
+ Pipe client_a; // Channel "a" writes to client "a", reads from server "a".
+ Pipe client_b; // Channel "b" writes to client "b", reads from server "b".
+ Pipe server_a; // Data pump "a" reads from client "a", writes to server "b".
+ Pipe server_b; // Data pump "b" reads from client "b", writes to server "a".
+ auto channel_a = std::make_unique<MockEndpointChannel>(
+ &server_a.GetInputStream(), &client_a.GetOutputStream());
+ auto channel_b = std::make_unique<MockEndpointChannel>(
+ &server_b.GetInputStream(), &client_b.GetOutputStream());
+ auto channel_a_raw = channel_a.get();
+ auto channel_b_raw = channel_b.get();
+
+ ON_CALL(*channel_a_raw, GetMedium).WillByDefault([]() {
+ return Medium::BLUETOOTH;
+ });
+ ON_CALL(*channel_b_raw, GetMedium).WillByDefault([]() {
+ return Medium::BLUETOOTH;
+ });
+
+ MultiThreadExecutor executor(2);
+ executor.Execute(MakeDataPump(
+ kPumpA, &client_a.GetInputStream(), &server_b.GetOutputStream(),
+ MakeDataMonitor(kMonitorA, &capture_a, &mutex)));
+ executor.Execute(MakeDataPump(
+ kPumpB, &client_b.GetInputStream(), &server_a.GetOutputStream(),
+ MakeDataMonitor(kMonitorB, &capture_b, &mutex)));
+
+ // Run DH key exchange; setup encryption contexts for channels.
+ auto context = DoDhKeyExchange(channel_a.get(), channel_b.get());
+ ASSERT_NE(context.first, nullptr);
+ ASSERT_NE(context.second, nullptr);
+
+ EndpointChannelManager ecm_a;
+ ecm_a.EncryptChannelForEndpoint(std::string(kEndpointId),
+ std::move(context.first));
+ ecm_a.ReplaceChannelForEndpoint(&proxy_a, std::string(kEndpointId),
+ std::move(channel_a), false);
+
+ EndpointChannelManager ecm_b;
+ ecm_b.EncryptChannelForEndpoint(std::string(kEndpointId),
+ std::move(context.second));
+ ecm_b.ReplaceChannelForEndpoint(&proxy_b, std::string(kEndpointId),
+ std::move(channel_b), false);
+
+ EXPECT_EQ(channel_a_raw->GetType(), "BLUETOOTH");
+ EXPECT_EQ(channel_b_raw->GetType(), "BLUETOOTH");
-TEST(EndpointChannelManagerTest, ConstructorDestructorWorks) {
- EndpointChannelManager mgr;
- SUCCEED();
+ // Shutdown test environment.
+ channel_a_raw->Close(DisconnectionReason::LOCAL_DISCONNECTION);
+ channel_b_raw->Close(DisconnectionReason::REMOTE_DISCONNECTION);
}
+} // namespace
} // namespace connections
} // namespace nearby
} // namespace location
diff --git a/chromium/third_party/nearby/src/connections/implementation/endpoint_manager_test.cc b/chromium/third_party/nearby/src/connections/implementation/endpoint_manager_test.cc
index 7c82700661f..0b28c8ad746 100644
--- a/chromium/third_party/nearby/src/connections/implementation/endpoint_manager_test.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/endpoint_manager_test.cc
@@ -195,10 +195,19 @@ TEST_F(EndpointManagerTest, RegisterFrameProcessorWorks) {
auto endpoint_channel = std::make_unique<MockEndpointChannel>();
auto connect_request = std::make_unique<MockFrameProcessor>();
ByteArray endpoint_info{"endpoint_name"};
- auto read_data = parser::ForConnectionRequest(
- "endpoint_id", endpoint_info, 1234, false, "", 2412, "8xqT",
- std::vector<Medium>{Medium::BLE}, 0,
- 0);
+ ConnectionInfo connection_info{
+ "endpoint_id",
+ endpoint_info,
+ 1234 /*nonce*/,
+ false /*supports_5_ghz*/,
+ "" /*bssid*/,
+ 2412 /*ap_frequency*/,
+ "8xqT" /*ip_address in 4 bytes format*/,
+ std::vector<Medium>{Medium::BLE} /*supported_mediums*/,
+ 0 /*keep_alive_interval_millis*/,
+ 0 /*keep_alive_timeout_millis*/};
+
+ auto read_data = parser::ForConnectionRequest(connection_info);
EXPECT_CALL(*connect_request, OnIncomingFrame);
EXPECT_CALL(*connect_request, OnEndpointDisconnect);
EXPECT_CALL(*endpoint_channel, Read())
diff --git a/chromium/third_party/nearby/src/connections/implementation/fake_bwu_handler.h b/chromium/third_party/nearby/src/connections/implementation/fake_bwu_handler.h
index 5e8204da4e9..12114869e1b 100644
--- a/chromium/third_party/nearby/src/connections/implementation/fake_bwu_handler.h
+++ b/chromium/third_party/nearby/src/connections/implementation/fake_bwu_handler.h
@@ -15,8 +15,11 @@
#ifndef NEARBY_CONNECTIONS_IMPLEMENTATION_FAKE_BWU_HANDLER_H_
#define NEARBY_CONNECTIONS_IMPLEMENTATION_FAKE_BWU_HANDLER_H_
+#include <memory>
+#include <optional>
#include <string>
#include <utility>
+#include <vector>
#include "connections/implementation/base_bwu_handler.h"
#include "connections/implementation/bwu_manager.h"
@@ -40,8 +43,8 @@ class FakeBwuHandler : public BaseBwuHandler {
// every method.
struct InputData {
ClientProxy* client = nullptr;
- absl::optional<std::string> service_id;
- absl::optional<std::string> endpoint_id;
+ std::optional<std::string> service_id;
+ std::optional<std::string> endpoint_id;
};
explicit FakeBwuHandler(Medium medium)
@@ -76,7 +79,8 @@ class FakeBwuHandler : public BaseBwuHandler {
FakeEndpointChannel* upgraded_channel_raw = upgraded_channel.get();
upgraded_channel->set_read_output(
ExceptionOr<ByteArray>(parser::ForBwuIntroduction(
- *handle_initialize_calls_[initialize_call_index].endpoint_id)));
+ *handle_initialize_calls_[initialize_call_index].endpoint_id,
+ false /* supports_disabling_encryption */)));
auto connection = std::make_unique<IncomingSocketConnection>();
connection->channel = std::move(upgraded_channel);
@@ -147,6 +151,7 @@ class FakeBwuHandler : public BaseBwuHandler {
case proto::connections::NFC:
case proto::connections::WIFI_DIRECT:
case proto::connections::BLE_L2CAP:
+ case proto::connections::USB:
return ByteArray{};
}
}
diff --git a/chromium/third_party/nearby/src/connections/implementation/mediums/BUILD b/chromium/third_party/nearby/src/connections/implementation/mediums/BUILD
index afefd618103..0d4c4263b5d 100644
--- a/chromium/third_party/nearby/src/connections/implementation/mediums/BUILD
+++ b/chromium/third_party/nearby/src/connections/implementation/mediums/BUILD
@@ -67,12 +67,12 @@ cc_library(
name = "utils",
srcs = [
"utils.cc",
- "webrtc_peer_id.cc",
+ "webrtc_peer_id_stub.cc",
],
hdrs = [
"lost_entity_tracker.h",
"utils.h",
- "webrtc_peer_id.h",
+ "webrtc_peer_id_stub.h",
"webrtc_socket_stub.h",
],
defines = ["NO_WEBRTC"],
diff --git a/chromium/third_party/nearby/src/connections/implementation/mediums/ble.cc b/chromium/third_party/nearby/src/connections/implementation/mediums/ble.cc
index 80eb49c49a9..38e384913d8 100644
--- a/chromium/third_party/nearby/src/connections/implementation/mediums/ble.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/mediums/ble.cc
@@ -223,7 +223,7 @@ bool Ble::StopScanning(const std::string& service_id) {
MutexLock lock(&mutex_);
if (!IsScanningLocked(service_id)) {
- NEARBY_LOGS(INFO) << "Can't turn off BLE sacanning because we never "
+ NEARBY_LOGS(INFO) << "Can't turn off BLE scanning because we never "
"started scanning.";
return false;
}
diff --git a/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2.cc b/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2.cc
index 6cb4e4632cb..884a0150061 100644
--- a/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2.cc
@@ -14,6 +14,7 @@
#include "connections/implementation/mediums/ble_v2.h"
+#include <algorithm>
#include <memory>
#include <string>
#include <utility>
@@ -394,8 +395,9 @@ bool BleV2::StartAcceptingConnections(const std::string& service_id,
// listening for new incoming connections until StopAcceptingConnections() is
// invoked.
accept_loops_runner_.Execute(
- "ble-accept", [this, &service_id, callback = std::move(callback),
- server_socket = std::move(owned_server_socket)]() mutable {
+ "ble-accept",
+ [this, service_id = service_id, callback = std::move(callback),
+ server_socket = std::move(owned_server_socket)]() mutable {
while (true) {
BleV2Socket client_socket = server_socket.Accept();
if (!client_socket.IsValid()) {
@@ -607,15 +609,8 @@ void BleV2::ProcessFetchGattAdvertisementsRequest(
return;
}
- // Always use kCopresenceServiceUuid for service uuid.
- if (!gatt_client->DiscoverService(
- mediums::bleutils::kCopresenceServiceUuid)) {
- NEARBY_LOGS(WARNING) << "GATT client can't discover service.";
- advertisement_read_result.RecordLastReadStatus(false);
- return;
- }
-
- // Read all advertisements from all slots that we haven't read from yet.
+ // Collect service_uuid and its associated characteristic_uuids.
+ absl::flat_hash_map<int, Uuid> slot_characteristic_uuids = {};
for (int slot = 0; slot < num_slots; ++slot) {
// Make sure we haven't already read this advertisement before.
if (advertisement_read_result.HasAdvertisement(slot)) {
@@ -632,8 +627,36 @@ void BleV2::ProcessFetchGattAdvertisementsRequest(
if (!advertiement_uuid.has_value()) {
continue;
}
+ slot_characteristic_uuids.insert({slot, *advertiement_uuid});
+ }
+ if (slot_characteristic_uuids.empty()) {
+ // TODO(b/222392304): More test coverage.
+ NEARBY_LOGS(WARNING) << "Edwin GATT client doesn't have characteristics.";
+ advertisement_read_result.RecordLastReadStatus(false);
+ return;
+ }
+
+ // Discover service and characteristics.
+ std::vector<Uuid> characteristic_uuids;
+ std::transform(slot_characteristic_uuids.begin(),
+ slot_characteristic_uuids.end(),
+ std::back_inserter(characteristic_uuids),
+ [](auto& kv) { return kv.second; });
+ if (!gatt_client->DiscoverServiceAndCharacteristics(
+ mediums::bleutils::kCopresenceServiceUuid, characteristic_uuids)) {
+ // TODO(b/222392304): More test coverage.
+ NEARBY_LOGS(WARNING) << "Edwin GATT client doesn't have characteristics.";
+ advertisement_read_result.RecordLastReadStatus(false);
+ return;
+ }
+
+ // Read all advertisements from all characteristics that we haven't read from
+ // yet.
+ for (const auto& it : slot_characteristic_uuids) {
+ int slot = it.first;
+ Uuid characteristic_uuid = it.second;
auto gatt_characteristic = gatt_client->GetCharacteristic(
- mediums::bleutils::kCopresenceServiceUuid, *advertiement_uuid);
+ mediums::bleutils::kCopresenceServiceUuid, characteristic_uuid);
if (!gatt_characteristic.has_value()) {
continue;
}
diff --git a/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/ble_advertisement_header.cc b/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/ble_advertisement_header.cc
index 041425d55ed..57ab9c117b3 100644
--- a/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/ble_advertisement_header.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/ble_advertisement_header.cc
@@ -20,6 +20,7 @@
#include <utility>
#include "absl/strings/str_cat.h"
+#include "internal/platform/base64_utils.h"
#include "internal/platform/base_input_stream.h"
#include "internal/platform/logging.h"
@@ -54,24 +55,25 @@ BleAdvertisementHeader::BleAdvertisementHeader(
BleAdvertisementHeader::BleAdvertisementHeader(
const ByteArray &ble_advertisement_header_bytes) {
- if (ble_advertisement_header_bytes.Empty()) {
+ ByteArray advertisement_header_bytes =
+ Base64Utils::Decode(ble_advertisement_header_bytes.AsStringView());
+ if (advertisement_header_bytes.Empty()) {
NEARBY_LOG(
ERROR,
"Cannot deserialize BLEAdvertisementHeader: failed Base64 decoding");
return;
}
- if (ble_advertisement_header_bytes.size() < kMinAdvertisementHeaderLength) {
+ if (advertisement_header_bytes.size() < kMinAdvertisementHeaderLength) {
NEARBY_LOG(ERROR,
"Cannot deserialize BleAdvertisementHeader: expecting min %u "
"raw bytes, got %" PRIu64 " instead",
kMinAdvertisementHeaderLength,
- ble_advertisement_header_bytes.size());
+ advertisement_header_bytes.size());
return;
}
- ByteArray advertisement_header_bytes{ble_advertisement_header_bytes};
- BaseInputStream base_input_stream{advertisement_header_bytes};
+ BaseInputStream base_input_stream(advertisement_header_bytes);
// The first 1 byte is supposed to be the version and number of slots.
auto version_and_num_slots_byte =
static_cast<char>(base_input_stream.ReadUint8());
@@ -138,7 +140,7 @@ BleAdvertisementHeader::operator ByteArray() const {
std::string(psm_bytes));
// clang-format on
- return ByteArray(std::move(out));
+ return ByteArray(Base64Utils::Encode(ByteArray(std::move(out))));
}
bool BleAdvertisementHeader::operator==(
diff --git a/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/ble_advertisement_header_test.cc b/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/ble_advertisement_header_test.cc
index 5e746cbc2d2..f408f983a5d 100644
--- a/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/ble_advertisement_header_test.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/ble_advertisement_header_test.cc
@@ -18,6 +18,7 @@
#include "gtest/gtest.h"
#include "absl/hash/hash_testing.h"
+#include "internal/platform/base64_utils.h"
namespace location {
namespace nearby {
@@ -34,12 +35,12 @@ constexpr absl::string_view kServiceIDBloomFilter{
constexpr absl::string_view kAdvertisementHash{"\x0a\x0b\x0c\x0d"};
TEST(BleAdvertisementHeaderTest, ConstructionWorks) {
- ByteArray service_id_bloom_filter{std::string(kServiceIDBloomFilter)};
- ByteArray advertisement_hash{std::string(kAdvertisementHash)};
+ ByteArray service_id_bloom_filter((std::string(kServiceIDBloomFilter)));
+ ByteArray advertisement_hash((std::string(kAdvertisementHash)));
- BleAdvertisementHeader ble_advertisement_header{
- kVersion, false, kNumSlots, service_id_bloom_filter,
- advertisement_hash, kPsmValue};
+ BleAdvertisementHeader ble_advertisement_header(
+ kVersion, false, kNumSlots, service_id_bloom_filter, advertisement_hash,
+ kPsmValue);
EXPECT_TRUE(ble_advertisement_header.IsValid());
EXPECT_EQ(kVersion, ble_advertisement_header.GetVersion());
@@ -55,12 +56,11 @@ TEST(BleAdvertisementHeaderTest, ConstructionWorks) {
TEST(BleAdvertisementHeaderTest, ConstructionFailsWithBadVersion) {
auto bad_version = static_cast<BleAdvertisementHeader::Version>(666);
- ByteArray service_id_bloom_filter{std::string(kServiceIDBloomFilter)};
- ByteArray advertisement_hash{std::string(kAdvertisementHash)};
-
- BleAdvertisementHeader ble_advertisement_header{
- bad_version, false, kNumSlots, service_id_bloom_filter,
- advertisement_hash, kPsmValue};
+ ByteArray service_id_bloom_filter((std::string(kServiceIDBloomFilter)));
+ ByteArray advertisement_hash((std::string(kAdvertisementHash)));
+ BleAdvertisementHeader ble_advertisement_header(
+ bad_version, false, kNumSlots, service_id_bloom_filter,
+ advertisement_hash, kPsmValue);
EXPECT_FALSE(ble_advertisement_header.IsValid());
}
@@ -68,12 +68,12 @@ TEST(BleAdvertisementHeaderTest, ConstructionFailsWithBadVersion) {
TEST(BleAdvertisementHeaderTest, ConstructionSucceedsWithZeroNumSlot) {
int num_slot = 0;
- ByteArray service_id_bloom_filter{std::string(kServiceIDBloomFilter)};
- ByteArray advertisement_hash{std::string(kAdvertisementHash)};
+ ByteArray service_id_bloom_filter((std::string(kServiceIDBloomFilter)));
+ ByteArray advertisement_hash((std::string(kAdvertisementHash)));
- BleAdvertisementHeader ble_advertisement_header{
- kVersion, false, num_slot, service_id_bloom_filter,
- advertisement_hash, kPsmValue};
+ BleAdvertisementHeader ble_advertisement_header(
+ kVersion, false, num_slot, service_id_bloom_filter, advertisement_hash,
+ kPsmValue);
EXPECT_TRUE(ble_advertisement_header.IsValid());
}
@@ -81,12 +81,12 @@ TEST(BleAdvertisementHeaderTest, ConstructionSucceedsWithZeroNumSlot) {
TEST(BleAdvertisementHeaderTest, ConstructionFailsWithNegativeNumSlot) {
int num_slot = -1;
- ByteArray service_id_bloom_filter{std::string(kServiceIDBloomFilter)};
- ByteArray advertisement_hash{std::string(kAdvertisementHash)};
+ ByteArray service_id_bloom_filter((std::string(kServiceIDBloomFilter)));
+ ByteArray advertisement_hash((std::string(kAdvertisementHash)));
- BleAdvertisementHeader ble_advertisement_header{
- kVersion, false, num_slot, service_id_bloom_filter,
- advertisement_hash, kPsmValue};
+ BleAdvertisementHeader ble_advertisement_header(
+ kVersion, false, num_slot, service_id_bloom_filter, advertisement_hash,
+ kPsmValue);
EXPECT_FALSE(ble_advertisement_header.IsValid());
}
@@ -95,13 +95,12 @@ TEST(BleAdvertisementHeaderTest,
ConstructionFailsWithShortServiceIdBloomFilter) {
char short_service_id_bloom_filter[] = "\x01\x02\x03\x04\x05\x06\x07\x08\x09";
- ByteArray short_service_id_bloom_filter_bytes{short_service_id_bloom_filter};
- ByteArray advertisement_hash{std::string(kAdvertisementHash)};
+ ByteArray short_service_id_bloom_filter_bytes(short_service_id_bloom_filter);
+ ByteArray advertisement_hash((std::string(kAdvertisementHash)));
- BleAdvertisementHeader ble_advertisement_header{
- kVersion, false,
- kNumSlots, short_service_id_bloom_filter_bytes,
- advertisement_hash, kPsmValue};
+ BleAdvertisementHeader ble_advertisement_header(
+ kVersion, false, kNumSlots, short_service_id_bloom_filter_bytes,
+ advertisement_hash, kPsmValue);
EXPECT_FALSE(ble_advertisement_header.IsValid());
}
@@ -112,11 +111,11 @@ TEST(BleAdvertisementHeaderTest,
"\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0a\x0b";
ByteArray service_id_bloom_filter{long_service_id_bloom_filter};
- ByteArray advertisement_hash{std::string(kAdvertisementHash)};
+ ByteArray advertisement_hash((std::string(kAdvertisementHash)));
- BleAdvertisementHeader ble_advertisement_header{
- kVersion, false, kNumSlots, service_id_bloom_filter,
- advertisement_hash, kPsmValue};
+ BleAdvertisementHeader ble_advertisement_header(
+ kVersion, false, kNumSlots, service_id_bloom_filter, advertisement_hash,
+ kPsmValue);
EXPECT_FALSE(ble_advertisement_header.IsValid());
}
@@ -124,12 +123,12 @@ TEST(BleAdvertisementHeaderTest,
TEST(BleAdvertisementHeaderTest, ConstructionFailsWithShortAdvertisementHash) {
char short_advertisement_hash[] = "\x0a\x0b\x0c";
- ByteArray service_id_bloom_filter{std::string(kServiceIDBloomFilter)};
- ByteArray advertisement_hash{short_advertisement_hash};
+ ByteArray service_id_bloom_filter((std::string(kServiceIDBloomFilter)));
+ ByteArray advertisement_hash(short_advertisement_hash);
- BleAdvertisementHeader ble_advertisement_header{
- kVersion, false, kNumSlots, service_id_bloom_filter,
- advertisement_hash, kPsmValue};
+ BleAdvertisementHeader ble_advertisement_header(
+ kVersion, false, kNumSlots, service_id_bloom_filter, advertisement_hash,
+ kPsmValue);
EXPECT_FALSE(ble_advertisement_header.IsValid());
}
@@ -137,8 +136,8 @@ TEST(BleAdvertisementHeaderTest, ConstructionFailsWithShortAdvertisementHash) {
TEST(BleAdvertisementHeaderTest, ConstructionFailsWithLongAdvertisementHash) {
char long_advertisement_hash[] = "\x0a\x0b\x0c\x0d\x0e";
- ByteArray service_id_bloom_filter{std::string(kServiceIDBloomFilter)};
- ByteArray advertisement_hash{long_advertisement_hash};
+ ByteArray service_id_bloom_filter((std::string(kServiceIDBloomFilter)));
+ ByteArray advertisement_hash(long_advertisement_hash);
BleAdvertisementHeader ble_advertisement_header{
kVersion, false, kNumSlots, service_id_bloom_filter,
advertisement_hash, kPsmValue};
@@ -147,16 +146,16 @@ TEST(BleAdvertisementHeaderTest, ConstructionFailsWithLongAdvertisementHash) {
}
TEST(BleAdvertisementHeaderTest, ConstructionFromSerializedStringWorks) {
- ByteArray service_id_bloom_filter{std::string(kServiceIDBloomFilter)};
- ByteArray advertisement_hash{std::string(kAdvertisementHash)};
+ ByteArray service_id_bloom_filter((std::string(kServiceIDBloomFilter)));
+ ByteArray advertisement_hash((std::string(kAdvertisementHash)));
- BleAdvertisementHeader org_ble_advertisement_header{
- kVersion, false, kNumSlots, service_id_bloom_filter,
- advertisement_hash, kPsmValue};
+ BleAdvertisementHeader org_ble_advertisement_header(
+ kVersion, false, kNumSlots, service_id_bloom_filter, advertisement_hash,
+ kPsmValue);
auto ble_advertisement_header_bytes = ByteArray(org_ble_advertisement_header);
- BleAdvertisementHeader ble_advertisement_header{
- ble_advertisement_header_bytes};
+ BleAdvertisementHeader ble_advertisement_header(
+ ble_advertisement_header_bytes);
EXPECT_TRUE(ble_advertisement_header.IsValid());
EXPECT_EQ(kVersion, ble_advertisement_header.GetVersion());
@@ -169,51 +168,20 @@ TEST(BleAdvertisementHeaderTest, ConstructionFromSerializedStringWorks) {
EXPECT_EQ(kPsmValue, ble_advertisement_header.GetPsm());
}
-TEST(BleAdvertisementHeaderTest, ConstructionFromExtraBytesWorks) {
- ByteArray service_id_bloom_filter{std::string(kServiceIDBloomFilter)};
- ByteArray advertisement_hash{std::string(kAdvertisementHash)};
+TEST(BleAdvertisementHeaderTest, ConstructionFromDecodedByteArrayFails) {
+ ByteArray service_id_bloom_filter((std::string(kServiceIDBloomFilter)));
+ ByteArray advertisement_hash((std::string(kAdvertisementHash)));
- BleAdvertisementHeader ble_advertisement_header{
- kVersion, false, kNumSlots, service_id_bloom_filter,
- advertisement_hash, kPsmValue};
+ BleAdvertisementHeader ble_advertisement_header(
+ kVersion, false, kNumSlots, service_id_bloom_filter, advertisement_hash,
+ kPsmValue);
auto ble_advertisement_header_bytes = ByteArray(ble_advertisement_header);
- ByteArray long_ble_advertisement_header_bytes{
- ble_advertisement_header_bytes.size() + 1};
- long_ble_advertisement_header_bytes.CopyAt(0, ble_advertisement_header_bytes);
-
- BleAdvertisementHeader long_ble_advertisement_header{
- long_ble_advertisement_header_bytes};
-
- EXPECT_TRUE(long_ble_advertisement_header.IsValid());
- EXPECT_EQ(kVersion, long_ble_advertisement_header.GetVersion());
- EXPECT_FALSE(ble_advertisement_header.IsSupportExtendedAdvertisement());
- EXPECT_EQ(kNumSlots, long_ble_advertisement_header.GetNumSlots());
- EXPECT_EQ(service_id_bloom_filter,
- long_ble_advertisement_header.GetServiceIdBloomFilter());
- EXPECT_EQ(advertisement_hash,
- long_ble_advertisement_header.GetAdvertisementHash());
- EXPECT_EQ(kPsmValue, long_ble_advertisement_header.GetPsm());
-}
-
-TEST(BleAdvertisementHeaderTest, ConstructionFromShortLengthFails) {
- ByteArray service_id_bloom_filter{std::string(kServiceIDBloomFilter)};
- ByteArray advertisement_hash{std::string(kAdvertisementHash)};
-
- BleAdvertisementHeader ble_advertisement_header{
- kVersion, false, kNumSlots, service_id_bloom_filter,
- advertisement_hash, kPsmValue};
- auto ble_advertisement_header_bytes = ByteArray(ble_advertisement_header);
-
- ByteArray short_ble_advertisement_header_bytes{
- ble_advertisement_header_bytes.size() - 3};
- short_ble_advertisement_header_bytes.CopyAt(0,
- ble_advertisement_header_bytes);
-
- BleAdvertisementHeader short_ble_advertisement_header{
- short_ble_advertisement_header_bytes};
+ // Decode the returned byte array and input as a parameter by construction.
+ BleAdvertisementHeader failed_ble_advertisement_header(
+ Base64Utils::Decode(ble_advertisement_header_bytes.AsStringView()));
- EXPECT_FALSE(short_ble_advertisement_header.IsValid());
+ EXPECT_FALSE(failed_ble_advertisement_header.IsValid());
}
TEST(BleAdvertisementHeaderTest, Hash) {
diff --git a/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/ble_utils.cc b/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/ble_utils.cc
index 32aa1cba4d8..7c5b517cf2f 100644
--- a/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/ble_utils.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/ble_utils.cc
@@ -57,7 +57,7 @@ std::string StringToPrintableHexString(const std::string& source) {
} // namespace
-const Uuid kCopresenceServiceUuid(kCopresenceServiceUuidMsb,
+ABSL_CONST_INIT const Uuid kCopresenceServiceUuid(kCopresenceServiceUuidMsb,
kCopresenceServiceUuidLsb);
ByteArray GenerateHash(const std::string& source, size_t size) {
diff --git a/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/discovered_peripheral_tracker.cc b/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/discovered_peripheral_tracker.cc
index 4f247a75f14..88812013df0 100644
--- a/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/discovered_peripheral_tracker.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/discovered_peripheral_tracker.cc
@@ -20,7 +20,6 @@
#include <string>
#include <utility>
-#include "absl/strings/ascii.h"
#include "absl/strings/escaping.h"
#include "connections/implementation/mediums/ble_v2/advertisement_read_result.h"
#include "connections/implementation/mediums/ble_v2/ble_advertisement.h"
@@ -129,11 +128,15 @@ void DiscoveredPeripheralTracker::ProcessLostGattAdvertisements() {
void DiscoveredPeripheralTracker::ClearDataForServiceId(
const std::string& service_id) {
+ std::vector<BleAdvertisement> advertisement_list;
for (const auto& it : gatt_advertisement_infos_) {
- if (it.second.service_id != service_id) {
- continue;
+ if (it.second.service_id == service_id) {
+ advertisement_list.push_back(it.first);
}
- ClearGattAdvertisement(it.first);
+ }
+
+ for (auto const& advertisement : advertisement_list) {
+ ClearGattAdvertisement(advertisement);
}
}
diff --git a/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/discovered_peripheral_tracker_test.cc b/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/discovered_peripheral_tracker_test.cc
index 05b92d524a1..442cf16ef4e 100644
--- a/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/discovered_peripheral_tracker_test.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/mediums/ble_v2/discovered_peripheral_tracker_test.cc
@@ -222,6 +222,78 @@ TEST_F(DiscoveredPeripheralTrackerTest,
}
TEST_F(DiscoveredPeripheralTrackerTest,
+ CanStartMultipleTrackingWithSameServiceId) {
+ ByteArray fast_advertisement_bytes = CreateFastBleAdvertisement(
+ ByteArray(std::string(kData)), ByteArray(std::string(kDeviceToken)));
+ CountDownLatch found_latch(3);
+ CountDownLatch fetch_latch(3);
+ int callback_times = 0;
+
+ // 1st tracking.
+ discovered_peripheral_tracker_.StartTracking(
+ std::string(kServiceIdA),
+ {
+ .peripheral_discovered_cb =
+ [&callback_times, &found_latch](
+ BleV2Peripheral peripheral, const std::string& service_id,
+ const ByteArray& advertisement_bytes,
+ bool fast_advertisement) {
+ callback_times++;
+ EXPECT_EQ(advertisement_bytes, ByteArray(std::string(kData)));
+ EXPECT_TRUE(fast_advertisement);
+ found_latch.CountDown();
+ },
+ },
+ Uuid(kFastAdvertisementServiceUuid));
+
+ api::ble_v2::BleAdvertisementData advertisement_data;
+ if (!fast_advertisement_bytes.Empty()) {
+ advertisement_data.service_data.insert(
+ {Uuid(kFastAdvertisementServiceUuid), fast_advertisement_bytes});
+ }
+
+ FindFastAdvertisement(advertisement_data, {}, fetch_latch);
+
+ // 2nd tracking.
+ discovered_peripheral_tracker_.StartTracking(
+ std::string(kServiceIdA),
+ {
+ .peripheral_discovered_cb =
+ [&callback_times, &found_latch](
+ BleV2Peripheral peripheral, const std::string& service_id,
+ const ByteArray& advertisement_bytes,
+ bool fast_advertisement) {
+ callback_times++;
+ EXPECT_EQ(advertisement_bytes, ByteArray(std::string(kData)));
+ EXPECT_TRUE(fast_advertisement);
+ found_latch.CountDown();
+ },
+ },
+ Uuid(kFastAdvertisementServiceUuid));
+
+ FindFastAdvertisement(advertisement_data, {}, fetch_latch);
+
+ // 3rd tracking.
+ discovered_peripheral_tracker_.StartTracking(
+ std::string(kServiceIdA),
+ {
+ .peripheral_discovered_cb =
+ [&callback_times, &found_latch](
+ BleV2Peripheral peripheral, const std::string& service_id,
+ const ByteArray& advertisement_bytes,
+ bool fast_advertisement) {
+ callback_times++;
+ EXPECT_EQ(advertisement_bytes, ByteArray(std::string(kData)));
+ EXPECT_TRUE(fast_advertisement);
+ found_latch.CountDown();
+ },
+ },
+ Uuid(kFastAdvertisementServiceUuid));
+
+ FindFastAdvertisement(advertisement_data, {}, fetch_latch);
+}
+
+TEST_F(DiscoveredPeripheralTrackerTest,
FoundFastAdvertisementDuplicateAdvertisements) {
ByteArray fast_advertisement_bytes = CreateFastBleAdvertisement(
ByteArray(std::string(kData)), ByteArray(std::string(kDeviceToken)));
diff --git a/chromium/third_party/nearby/src/connections/implementation/mediums/bluetooth_classic.cc b/chromium/third_party/nearby/src/connections/implementation/mediums/bluetooth_classic.cc
index fda79ce033c..de1dae9d58b 100644
--- a/chromium/third_party/nearby/src/connections/implementation/mediums/bluetooth_classic.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/mediums/bluetooth_classic.cc
@@ -141,8 +141,8 @@ bool BluetoothClassic::ModifyDeviceName(const std::string& device_name) {
if (original_device_name_.empty()) {
original_device_name_ = adapter_.GetName();
}
-
- return adapter_.SetName(device_name);
+ return adapter_.SetName(device_name,
+ /* persist= */ false);
}
bool BluetoothClassic::ModifyScanMode(ScanMode scan_mode) {
@@ -173,8 +173,8 @@ bool BluetoothClassic::RestoreScanMode() {
}
bool BluetoothClassic::RestoreDeviceName() {
- if (original_device_name_.empty() ||
- !adapter_.SetName(original_device_name_)) {
+ if (original_device_name_.empty() || !adapter_.SetName(original_device_name_,
+ /* persis= */ true)) {
NEARBY_LOGS(INFO) << "Failed to restore original Bluetooth device name to "
<< original_device_name_;
return false;
@@ -264,8 +264,8 @@ bool BluetoothClassic::StartAcceptingConnections(
return false;
}
- BluetoothServerSocket socket = medium_.ListenForService(
- service_id, GenerateUuidFromString(service_id));
+ BluetoothServerSocket socket =
+ medium_.ListenForService(service_id, GenerateUuidFromString(service_id));
if (!socket.IsValid()) {
NEARBY_LOGS(INFO) << "Failed to start accepting Bluetooth connections for "
<< service_id;
@@ -309,8 +309,7 @@ bool BluetoothClassic::IsAcceptingConnectionsLocked(
return server_sockets_.find(service_id) != server_sockets_.end();
}
-bool BluetoothClassic::StopAcceptingConnections(
- const std::string& service_id) {
+bool BluetoothClassic::StopAcceptingConnections(const std::string& service_id) {
MutexLock lock(&mutex_);
if (service_id.empty()) {
@@ -396,9 +395,8 @@ BluetoothSocket BluetoothClassic::AttemptToConnect(
return socket;
}
- socket = medium_.ConnectToService(bluetooth_device,
- GenerateUuidFromString(service_id),
- cancellation_flag);
+ socket = medium_.ConnectToService(
+ bluetooth_device, GenerateUuidFromString(service_id), cancellation_flag);
if (!socket.IsValid()) {
NEARBY_LOGS(INFO) << "Failed to Connect via BT [service=" << service_id
<< "]";
diff --git a/chromium/third_party/nearby/src/connections/implementation/mediums/bluetooth_classic.h b/chromium/third_party/nearby/src/connections/implementation/mediums/bluetooth_classic.h
index 19a040c8480..c845f270402 100644
--- a/chromium/third_party/nearby/src/connections/implementation/mediums/bluetooth_classic.h
+++ b/chromium/third_party/nearby/src/connections/implementation/mediums/bluetooth_classic.h
@@ -145,13 +145,13 @@ class BluetoothClassic {
// Returns true, if discoverability is enabled with TurnOnDiscoverability().
bool IsDiscoverable() const ABSL_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
- // Assignes a different name to BT adapter.
+ // Assigns a different name to BT adapter.
// Returns true if successful. Stores original device name.
bool ModifyDeviceName(const std::string& device_name)
ABSL_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
// Changes current scan mode. This is an implementation of
- // Turn<On/Off>Discoveradility() method. Stores original scan mode.
+ // Turn<On/Off>Discoverability() method. Stores original scan mode.
bool ModifyScanMode(ScanMode scan_mode) ABSL_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
// Restores original device name (the one before the very first call to
diff --git a/chromium/third_party/nearby/src/connections/implementation/mediums/bluetooth_radio.cc b/chromium/third_party/nearby/src/connections/implementation/mediums/bluetooth_radio.cc
index 6fba7d0a61f..b7914321f9b 100644
--- a/chromium/third_party/nearby/src/connections/implementation/mediums/bluetooth_radio.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/mediums/bluetooth_radio.cc
@@ -37,12 +37,6 @@ BluetoothRadio::~BluetoothRadio() {
return;
}
- // Toggle Bluetooth regardless of our original state. Some devices/chips can
- // start to freak out after some time (e.g. b/37775337), and this helps to
- // ensure BT resets properly.
- NEARBY_LOG(INFO, "Toggle BT adapter state before releasing adapter.");
- Toggle();
-
NEARBY_LOG(INFO, "Bring BT adapter to original state");
if (!SetBluetoothState(originally_enabled_.Get())) {
NEARBY_LOG(INFO, "Failed to restore BT adapter original state.");
diff --git a/chromium/third_party/nearby/src/connections/implementation/mediums/webrtc_stub.h b/chromium/third_party/nearby/src/connections/implementation/mediums/webrtc_stub.h
index 6e62983b9c5..f330e8f59e6 100644
--- a/chromium/third_party/nearby/src/connections/implementation/mediums/webrtc_stub.h
+++ b/chromium/third_party/nearby/src/connections/implementation/mediums/webrtc_stub.h
@@ -21,7 +21,7 @@
#include <string>
#include "connections/implementation/proto/offline_wire_formats.pb.h"
-#include "connections/implementation/mediums/webrtc_peer_id.h"
+#include "connections/implementation/mediums/webrtc_peer_id_stub.h"
#include "connections/implementation/mediums/webrtc_socket_stub.h"
#include "internal/platform/cancellation_flag.h"
#include "internal/platform/listeners.h"
diff --git a/chromium/third_party/nearby/src/connections/implementation/mock_service_controller.h b/chromium/third_party/nearby/src/connections/implementation/mock_service_controller.h
index bea01560517..10639253595 100644
--- a/chromium/third_party/nearby/src/connections/implementation/mock_service_controller.h
+++ b/chromium/third_party/nearby/src/connections/implementation/mock_service_controller.h
@@ -83,6 +83,8 @@ class MockServiceController : public ServiceController {
MOCK_METHOD(void, DisconnectFromEndpoint,
(ClientProxy * client, const std::string& endpoint_id),
(override));
+
+ MOCK_METHOD(void, ShutdownBwuManagerExecutors, (), (override));
};
} // namespace connections
diff --git a/chromium/third_party/nearby/src/connections/implementation/offline_frames.cc b/chromium/third_party/nearby/src/connections/implementation/offline_frames.cc
index 5294a482fd9..d78fc10ce08 100644
--- a/chromium/third_party/nearby/src/connections/implementation/offline_frames.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/offline_frames.cc
@@ -15,9 +15,10 @@
#include "connections/implementation/offline_frames.h"
#include <memory>
+#include <string>
#include <utility>
+#include <vector>
-#include "connections/implementation/message_lite.h"
#include "connections/implementation/offline_frames_validator.h"
#include "connections/status.h"
#include "internal/platform/byte_array.h"
@@ -62,44 +63,41 @@ V1Frame::FrameType GetFrameType(const OfflineFrame& frame) {
return V1Frame::UNKNOWN_FRAME_TYPE;
}
-ByteArray ForConnectionRequest(const std::string& endpoint_id,
- const ByteArray& endpoint_info,
- std::int32_t nonce, bool supports_5_ghz,
- const std::string& bssid,
- std::int32_t ap_frequency,
- const std::string& ip_address,
- const std::vector<Medium>& mediums,
- std::int32_t keep_alive_interval_millis,
- std::int32_t keep_alive_timeout_millis) {
+ByteArray ForConnectionRequest(const ConnectionInfo& conection_info) {
OfflineFrame frame;
frame.set_version(OfflineFrame::V1);
auto* v1_frame = frame.mutable_v1();
v1_frame->set_type(V1Frame::CONNECTION_REQUEST);
auto* connection_request = v1_frame->mutable_connection_request();
- if (!endpoint_id.empty()) connection_request->set_endpoint_id(endpoint_id);
- if (!endpoint_info.Empty()) {
- connection_request->set_endpoint_name(std::string(endpoint_info));
- connection_request->set_endpoint_info(std::string(endpoint_info));
+ if (!conection_info.local_endpoint_id.empty())
+ connection_request->set_endpoint_id(conection_info.local_endpoint_id);
+ if (!conection_info.local_endpoint_info.Empty()) {
+ connection_request->set_endpoint_name(
+ std::string(conection_info.local_endpoint_info));
+ connection_request->set_endpoint_info(
+ std::string(conection_info.local_endpoint_info));
}
- connection_request->set_nonce(nonce);
+ connection_request->set_nonce(conection_info.nonce);
auto* medium_metadata = connection_request->mutable_medium_metadata();
- medium_metadata->set_supports_5_ghz(supports_5_ghz);
- if (!bssid.empty()) medium_metadata->set_bssid(bssid);
- medium_metadata->set_ap_frequency(ap_frequency);
- if (!ip_address.empty()) medium_metadata->set_ip_address(ip_address);
- if (!mediums.empty()) {
- for (const auto& medium : mediums) {
+ medium_metadata->set_supports_5_ghz(conection_info.supports_5_ghz);
+ if (!conection_info.bssid.empty())
+ medium_metadata->set_bssid(conection_info.bssid);
+ medium_metadata->set_ap_frequency(conection_info.ap_frequency);
+ if (!conection_info.ip_address.empty())
+ medium_metadata->set_ip_address(conection_info.ip_address);
+ if (!conection_info.supported_mediums.empty()) {
+ for (const auto& medium : conection_info.supported_mediums) {
connection_request->add_mediums(MediumToConnectionRequestMedium(medium));
}
}
- if (keep_alive_interval_millis > 0) {
+ if (conection_info.keep_alive_interval_millis > 0) {
connection_request->set_keep_alive_interval_millis(
- keep_alive_interval_millis);
+ conection_info.keep_alive_interval_millis);
}
- if (keep_alive_timeout_millis > 0) {
+ if (conection_info.keep_alive_timeout_millis > 0) {
connection_request->set_keep_alive_timeout_millis(
- keep_alive_timeout_millis);
+ conection_info.keep_alive_timeout_millis);
}
return ToBytes(std::move(frame));
@@ -326,7 +324,8 @@ ByteArray ForBwuSafeToClose() {
return ToBytes(std::move(frame));
}
-ByteArray ForBwuIntroduction(const std::string& endpoint_id) {
+ByteArray ForBwuIntroduction(const std::string& endpoint_id,
+ bool supports_disabling_encryption) {
OfflineFrame frame;
frame.set_version(OfflineFrame::V1);
@@ -337,6 +336,8 @@ ByteArray ForBwuIntroduction(const std::string& endpoint_id) {
BandwidthUpgradeNegotiationFrame::CLIENT_INTRODUCTION);
auto* client_introduction = sub_frame->mutable_client_introduction();
client_introduction->set_endpoint_id(endpoint_id);
+ client_introduction->set_supports_disabling_encryption(
+ supports_disabling_encryption);
return ToBytes(std::move(frame));
}
diff --git a/chromium/third_party/nearby/src/connections/implementation/offline_frames.h b/chromium/third_party/nearby/src/connections/implementation/offline_frames.h
index 462de6f4084..53eb8d4f384 100644
--- a/chromium/third_party/nearby/src/connections/implementation/offline_frames.h
+++ b/chromium/third_party/nearby/src/connections/implementation/offline_frames.h
@@ -16,6 +16,7 @@
#define CORE_INTERNAL_OFFLINE_FRAMES_H_
#include <cstdint>
+#include <string>
#include <vector>
#include "connections/implementation/proto/offline_wire_formats.pb.h"
@@ -42,15 +43,7 @@ ExceptionOr<OfflineFrame> FromBytes(const ByteArray& offline_frame_bytes);
V1Frame::FrameType GetFrameType(const OfflineFrame& offline_frame);
// Builds Connection Request / Response messages.
-ByteArray ForConnectionRequest(const std::string& endpoint_id,
- const ByteArray& endpoint_info,
- std::int32_t nonce, bool supports_5_ghz,
- const std::string& bssid,
- std::int32_t ap_frequency,
- const std::string& ip_address,
- const std::vector<Medium>& mediums,
- std::int32_t keep_alive_interval_millis,
- std::int32_t keep_alive_timeout_millis);
+ByteArray ForConnectionRequest(const ConnectionInfo& conection_info);
ByteArray ForConnectionResponse(std::int32_t status);
// Builds Payload transfer messages.
@@ -62,7 +55,8 @@ ByteArray ForControlPayloadTransfer(
const PayloadTransferFrame::ControlMessage& control);
// Builds Bandwidth Upgrade [BWU] messages.
-ByteArray ForBwuIntroduction(const std::string& endpoint_id);
+ByteArray ForBwuIntroduction(const std::string& endpoint_id,
+ bool supports_disabling_encryption);
ByteArray ForBwuIntroductionAck();
ByteArray ForBwuWifiHotspotPathAvailable(const std::string& ssid,
const std::string& password,
diff --git a/chromium/third_party/nearby/src/connections/implementation/offline_frames_test.cc b/chromium/third_party/nearby/src/connections/implementation/offline_frames_test.cc
index d434b6cf1d4..d3240110689 100644
--- a/chromium/third_party/nearby/src/connections/implementation/offline_frames_test.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/offline_frames_test.cc
@@ -16,6 +16,7 @@
#include <array>
#include <memory>
+#include <string>
#include <utility>
#include <vector>
@@ -111,12 +112,19 @@ TEST(OfflineFramesTest, CanGenerateConnectionRequest) {
keep_alive_timeout_millis: 5000
>
>)pb";
- ByteArray bytes = ForConnectionRequest(
- std::string(kEndpointId), ByteArray{std::string(kEndpointName)}, kNonce,
- kSupports5ghz, std::string(kBssid), kApFrequency, std::string(kIp4Bytes),
- std::vector<Medium, std::allocator<Medium>>(kMediums.begin(),
- kMediums.end()),
- kKeepAliveIntervalMillis, kKeepAliveTimeoutMillis);
+
+ ConnectionInfo connection_info{std::string(kEndpointId),
+ ByteArray{std::string(kEndpointName)},
+ kNonce,
+ kSupports5ghz,
+ std::string(kBssid),
+ kApFrequency,
+ std::string(kIp4Bytes),
+ std::vector<Medium, std::allocator<Medium>>(
+ kMediums.begin(), kMediums.end()),
+ kKeepAliveIntervalMillis,
+ kKeepAliveTimeoutMillis};
+ ByteArray bytes = ForConnectionRequest(connection_info);
auto response = FromBytes(bytes);
ASSERT_TRUE(response.ok());
OfflineFrame message = FromBytes(bytes).result();
@@ -365,10 +373,14 @@ TEST(OfflineFramesTest, CanGenerateBwuIntroduction) {
type: BANDWIDTH_UPGRADE_NEGOTIATION
bandwidth_upgrade_negotiation: <
event_type: CLIENT_INTRODUCTION
- client_introduction: < endpoint_id: "ABC" >
+ client_introduction: <
+ endpoint_id: "ABC"
+ supports_disabling_encryption: false
+ >
>
>)pb";
- ByteArray bytes = ForBwuIntroduction(std::string(kEndpointId));
+ ByteArray bytes = ForBwuIntroduction(
+ std::string(kEndpointId), false /* supports_disabling_encryption */);
auto response = FromBytes(bytes);
ASSERT_TRUE(response.ok());
OfflineFrame message = FromBytes(bytes).result();
diff --git a/chromium/third_party/nearby/src/connections/implementation/offline_frames_validator_test.cc b/chromium/third_party/nearby/src/connections/implementation/offline_frames_validator_test.cc
index 04cd73e6410..ffae3d8d351 100644
--- a/chromium/third_party/nearby/src/connections/implementation/offline_frames_validator_test.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/offline_frames_validator_test.cc
@@ -54,15 +54,26 @@ constexpr std::array<Medium, 9> kMediums = {
constexpr int kKeepAliveIntervalMillis = 1000;
constexpr int kKeepAliveTimeoutMillis = 5000;
-TEST(OfflineFramesValidatorTest, ValidatesAsOkWithValidConnectionRequestFrame) {
+class OfflineFramesConnectionRequestTest : public testing::Test {
+ protected:
+ ConnectionInfo connection_info_{std::string(kEndpointId),
+ ByteArray{std::string(kEndpointName)},
+ kNonce,
+ kSupports5ghz,
+ std::string(kBssid),
+ kApFrequency,
+ std::string(kIp4Bytes),
+ std::vector<Medium, std::allocator<Medium>>(
+ kMediums.begin(), kMediums.end()),
+ kKeepAliveIntervalMillis,
+ kKeepAliveTimeoutMillis};
+};
+
+TEST_F(OfflineFramesConnectionRequestTest,
+ ValidatesAsOkWithValidConnectionRequestFrame) {
OfflineFrame offline_frame;
- ByteArray bytes = ForConnectionRequest(
- std::string(kEndpointId), ByteArray{std::string(kEndpointName)}, kNonce,
- kSupports5ghz, std::string(kBssid), kApFrequency, std::string(kIp4Bytes),
- std::vector<Medium, std::allocator<Medium>>(kMediums.begin(),
- kMediums.end()),
- kKeepAliveIntervalMillis, kKeepAliveTimeoutMillis);
+ ByteArray bytes = ForConnectionRequest(connection_info_);
offline_frame.ParseFromString(std::string(bytes));
auto ret_value = EnsureValidOfflineFrame(offline_frame);
@@ -70,16 +81,11 @@ TEST(OfflineFramesValidatorTest, ValidatesAsOkWithValidConnectionRequestFrame) {
ASSERT_TRUE(ret_value.Ok());
}
-TEST(OfflineFramesValidatorTest,
+TEST_F(OfflineFramesConnectionRequestTest,
ValidatesAsFailWithNullConnectionRequestFrame) {
OfflineFrame offline_frame;
- ByteArray bytes = ForConnectionRequest(
- std::string(kEndpointId), ByteArray{std::string(kEndpointName)}, kNonce,
- kSupports5ghz, std::string(kBssid), kApFrequency, std::string(kIp4Bytes),
- std::vector<Medium, std::allocator<Medium>>(kMediums.begin(),
- kMediums.end()),
- kKeepAliveIntervalMillis, kKeepAliveTimeoutMillis);
+ ByteArray bytes = ForConnectionRequest(connection_info_);
offline_frame.ParseFromString(std::string(bytes));
auto* v1_frame = offline_frame.mutable_v1();
@@ -90,17 +96,12 @@ TEST(OfflineFramesValidatorTest,
ASSERT_FALSE(ret_value.Ok());
}
-TEST(OfflineFramesValidatorTest,
+TEST_F(OfflineFramesConnectionRequestTest,
ValidatesAsFailWithNullEndpointIdInConnectionRequestFrame) {
OfflineFrame offline_frame;
- std::string empty_enpoint_id;
- ByteArray bytes = ForConnectionRequest(
- empty_enpoint_id, ByteArray{std::string(kEndpointName)}, kNonce,
- kSupports5ghz, std::string(kBssid), kApFrequency, std::string(kIp4Bytes),
- std::vector<Medium, std::allocator<Medium>>(kMediums.begin(),
- kMediums.end()),
- kKeepAliveIntervalMillis, kKeepAliveTimeoutMillis);
+ connection_info_.local_endpoint_id = "";
+ ByteArray bytes = ForConnectionRequest(connection_info_);
offline_frame.ParseFromString(std::string(bytes));
auto ret_value = EnsureValidOfflineFrame(offline_frame);
@@ -108,17 +109,12 @@ TEST(OfflineFramesValidatorTest,
ASSERT_FALSE(ret_value.Ok());
}
-TEST(OfflineFramesValidatorTest,
+TEST_F(OfflineFramesConnectionRequestTest,
ValidatesAsFailWithNullEndpointInfoInConnectionRequestFrame) {
OfflineFrame offline_frame;
- ByteArray empty_endpoint_info;
- ByteArray bytes = ForConnectionRequest(
- std::string(kEndpointId), empty_endpoint_info, kNonce, kSupports5ghz,
- std::string(kBssid), kApFrequency, std::string(kIp4Bytes),
- std::vector<Medium, std::allocator<Medium>>(kMediums.begin(),
- kMediums.end()),
- kKeepAliveIntervalMillis, kKeepAliveTimeoutMillis);
+ connection_info_.local_endpoint_info = ByteArray{""};
+ ByteArray bytes = ForConnectionRequest(connection_info_);
offline_frame.ParseFromString(std::string(bytes));
auto ret_value = EnsureValidOfflineFrame(offline_frame);
@@ -126,17 +122,12 @@ TEST(OfflineFramesValidatorTest,
ASSERT_FALSE(ret_value.Ok());
}
-TEST(OfflineFramesValidatorTest,
+TEST_F(OfflineFramesConnectionRequestTest,
ValidatesAsOkWithNullBssidInConnectionRequestFrame) {
OfflineFrame offline_frame;
- std::string empty_bssid;
- ByteArray bytes = ForConnectionRequest(
- std::string(kEndpointId), ByteArray{std::string(kEndpointName)}, kNonce,
- kSupports5ghz, empty_bssid, kApFrequency, std::string(kIp4Bytes),
- std::vector<Medium, std::allocator<Medium>>(kMediums.begin(),
- kMediums.end()),
- kKeepAliveIntervalMillis, kKeepAliveTimeoutMillis);
+ connection_info_.bssid = "";
+ ByteArray bytes = ForConnectionRequest(connection_info_);
offline_frame.ParseFromString(std::string(bytes));
auto ret_value = EnsureValidOfflineFrame(offline_frame);
@@ -144,15 +135,12 @@ TEST(OfflineFramesValidatorTest,
ASSERT_TRUE(ret_value.Ok());
}
-TEST(OfflineFramesValidatorTest,
+TEST_F(OfflineFramesConnectionRequestTest,
ValidatesAsOkWithNullMediumsInConnectionRequestFrame) {
OfflineFrame offline_frame;
- std::vector<Medium> empty_mediums;
- ByteArray bytes = ForConnectionRequest(
- std::string(kEndpointId), ByteArray{std::string(kEndpointName)}, kNonce,
- kSupports5ghz, std::string(kBssid), kApFrequency, std::string(kIp4Bytes),
- empty_mediums, kKeepAliveIntervalMillis, kKeepAliveTimeoutMillis);
+ connection_info_.supported_mediums = {};
+ ByteArray bytes = ForConnectionRequest(connection_info_);
offline_frame.ParseFromString(std::string(bytes));
auto ret_value = EnsureValidOfflineFrame(offline_frame);
diff --git a/chromium/third_party/nearby/src/connections/implementation/offline_service_controller.cc b/chromium/third_party/nearby/src/connections/implementation/offline_service_controller.cc
index ccecbee2d00..9e1bbf2ce56 100644
--- a/chromium/third_party/nearby/src/connections/implementation/offline_service_controller.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/offline_service_controller.cc
@@ -142,6 +142,10 @@ void OfflineServiceController::DisconnectFromEndpoint(
endpoint_manager_.UnregisterEndpoint(client, endpoint_id);
}
+void OfflineServiceController::ShutdownBwuManagerExecutors() {
+ bwu_manager_.ShutdownExecutors();
+}
+
} // namespace connections
} // namespace nearby
} // namespace location
diff --git a/chromium/third_party/nearby/src/connections/implementation/offline_service_controller.h b/chromium/third_party/nearby/src/connections/implementation/offline_service_controller.h
index 5c9de7b3656..e6f5885be8c 100644
--- a/chromium/third_party/nearby/src/connections/implementation/offline_service_controller.h
+++ b/chromium/third_party/nearby/src/connections/implementation/offline_service_controller.h
@@ -77,6 +77,8 @@ class OfflineServiceController : public ServiceController {
void Stop() override;
+ void ShutdownBwuManagerExecutors() override;
+
private:
// Note that the order of declaration of these is crucial, because we depend
// on the destructors running (strictly) in the reverse order; a deviation
diff --git a/chromium/third_party/nearby/src/connections/implementation/p2p_cluster_pcp_handler.cc b/chromium/third_party/nearby/src/connections/implementation/p2p_cluster_pcp_handler.cc
index ddb6d8278c8..fe9f64897f0 100644
--- a/chromium/third_party/nearby/src/connections/implementation/p2p_cluster_pcp_handler.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/p2p_cluster_pcp_handler.cc
@@ -447,7 +447,7 @@ void P2pClusterPcpHandler::BlePeripheralDiscoveredHandler(
[this, client, &peripheral, service_id, advertisement_bytes,
fast_advertisement]() RUN_ON_PCP_HANDLER_THREAD() {
// Make sure we are still discovering before proceeding.
- if (!client->IsDiscovering()) {
+ if (!client->IsDiscovering() || stop_.Get()) {
NEARBY_LOGS(WARNING)
<< "Skipping discovery of BleAdvertisement header "
<< absl::BytesToHexString(advertisement_bytes.data())
@@ -531,10 +531,9 @@ void P2pClusterPcpHandler::BlePeripheralLostHandler(
"p2p-ble-device-lost",
[this, client, service_id, &peripheral]() RUN_ON_PCP_HANDLER_THREAD() {
// Make sure we are still discovering before proceeding.
- if (!client->IsDiscovering()) {
- NEARBY_LOGS(WARNING)
- << "Ignoring lost BlePeripheral " << peripheral.GetName()
- << " because we are no longer discovering.";
+ if (!client->IsDiscovering() || stop_.Get()) {
+ NEARBY_LOGS(WARNING) << "Ignoring lost BlePeripheral because we are "
+ "no longer discovering.";
return;
}
@@ -616,7 +615,7 @@ void P2pClusterPcpHandler::BleV2PeripheralDiscoveredHandler(
[this, client, peripheral = std::move(peripheral), service_id,
advertisement_bytes, fast_advertisement]() RUN_ON_PCP_HANDLER_THREAD() {
// Make sure we are still discovering before proceeding.
- if (!client->IsDiscovering()) {
+ if (!client->IsDiscovering() || stop_.Get()) {
NEARBY_LOGS(WARNING)
<< "Skipping discovery of BleAdvertisement header "
<< absl::BytesToHexString(advertisement_bytes.data())
@@ -693,6 +692,7 @@ void P2pClusterPcpHandler::BleV2PeripheralDiscoveredHandler(
});
}
+// TODO(b/222392304): More test coverage.
void P2pClusterPcpHandler::BleV2PeripheralLostHandler(
ClientProxy* client, BleV2Peripheral peripheral,
const std::string& service_id, const ByteArray& advertisement_bytes,
@@ -702,7 +702,7 @@ void P2pClusterPcpHandler::BleV2PeripheralLostHandler(
[this, client, service_id, peripheral = std::move(peripheral),
advertisement_bytes, fast_advertisement]() RUN_ON_PCP_HANDLER_THREAD() {
// Make sure we are still discovering before proceeding.
- if (!client->IsDiscovering()) {
+ if (!client->IsDiscovering() || stop_.Get()) {
NEARBY_LOGS(WARNING)
<< "Ignoring lost BlePeripheral "
<< absl::BytesToHexString(peripheral.GetId().data())
diff --git a/chromium/third_party/nearby/src/connections/implementation/proto/BUILD b/chromium/third_party/nearby/src/connections/implementation/proto/BUILD
index 8b9d90f313d..d96d4621d8b 100644
--- a/chromium/third_party/nearby/src/connections/implementation/proto/BUILD
+++ b/chromium/third_party/nearby/src/connections/implementation/proto/BUILD
@@ -35,12 +35,10 @@ java_lite_proto_library(
cc_proto_library(
name = "offline_wire_formats_cc_proto",
+ visibility = [
+ "//third_party/nearby:__subpackages__",
+ ],
deps = [
":offline_wire_formats_proto",
],
)
-
-filegroup(
- name = "offline_wire_formats_proto_config",
- srcs = ["offline_wire_formats_proto_config.asciipb"],
-)
diff --git a/chromium/third_party/nearby/src/connections/implementation/proto/offline_wire_formats.proto b/chromium/third_party/nearby/src/connections/implementation/proto/offline_wire_formats.proto
index 9243fcfdddf..c85071b717d 100644
--- a/chromium/third_party/nearby/src/connections/implementation/proto/offline_wire_formats.proto
+++ b/chromium/third_party/nearby/src/connections/implementation/proto/offline_wire_formats.proto
@@ -71,6 +71,7 @@ message ConnectionRequestFrame {
WIFI_DIRECT = 8;
WEB_RTC = 9;
BLE_L2CAP = 10;
+ USB = 11;
}
// LINT.ThenChange(//depot/google3/third_party/nearby/proto/connections_enums.proto)
@@ -196,6 +197,8 @@ message BandwidthUpgradeNegotiationFrame {
NFC = 7;
WIFI_DIRECT = 8;
WEB_RTC = 9;
+ // 10 is reserved.
+ USB = 11;
}
// Accompanies Medium.WIFI_HOTSPOT.
@@ -307,8 +310,8 @@ message MediumMetadata {
optional bool supports_6_ghz = 4;
// True if local device has mobile radio.
optional bool mobile_radio = 5;
- // The frequency of the WiFi LAN AP(in MHz, or -1 is not associated with an AP
- // over WiFi).
+ // The frequency of the WiFi LAN AP(in MHz). Or -1 is not associated with an
+ // AP over WiFi, -2 represents the active network uses an Ethernet transport.
optional int32 ap_frequency = 6 [default = -1];
// Available channels on the local device.
optional AvailableChannels available_channels = 7;
diff --git a/chromium/third_party/nearby/src/connections/implementation/proto/offline_wire_formats_proto_config.asciipb b/chromium/third_party/nearby/src/connections/implementation/proto/offline_wire_formats_proto_config.asciipb
deleted file mode 100644
index 06e3dd55f24..00000000000
--- a/chromium/third_party/nearby/src/connections/implementation/proto/offline_wire_formats_proto_config.asciipb
+++ /dev/null
@@ -1,25 +0,0 @@
-optimize_mode: LITE_RUNTIME
-
-allowed_message: "location.nearby.connections.OfflineFrame"
-allowed_enum: "location.nearby.connections.OfflineFrame.Version"
-allowed_message: "location.nearby.connections.V1Frame"
-allowed_enum: "location.nearby.connections.V1Frame.FrameType"
-allowed_message: "location.nearby.connections.ConnectionRequestFrame"
-allowed_enum: "location.nearby.connections.ConnectionRequestFrame.Medium"
-allowed_message: "location.nearby.connections.ConnectionResponseFrame"
-allowed_message: "location.nearby.connections.PayloadTransferFrame"
-allowed_enum: "location.nearby.connections.PayloadTransferFrame.PacketType"
-allowed_message: "location.nearby.connections.PayloadTransferFrame.PayloadHeader"
-allowed_enum: "location.nearby.connections.PayloadTransferFrame.PayloadHeader.PayloadType"
-allowed_message: "location.nearby.connections.PayloadTransferFrame.PayloadChunk"
-allowed_enum: "location.nearby.connections.PayloadTransferFrame.PayloadChunk.Flags"
-allowed_message: "location.nearby.connections.PayloadTransferFrame.ControlMessage"
-allowed_enum: "location.nearby.connections.PayloadTransferFrame.ControlMessage.EventType"
-allowed_message: "location.nearby.connections.BandwidthUpgradeNegotiationFrame"
-allowed_enum: "location.nearby.connections.BandwidthUpgradeNegotiationFrame.EventType"
-allowed_message: "location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo"
-allowed_enum: "location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.Medium"
-allowed_message: "location.nearby.connections.BandwidthUpgradeNegotiationFrame.UpgradePathInfo.WifiHotspotCredentials"
-allowed_message: "location.nearby.connections.BandwidthUpgradeNegotiationFrame.ClientIntroduction"
-allowed_message: "location.nearby.connections.KeepAliveFrame"
-
diff --git a/chromium/third_party/nearby/src/connections/implementation/service_controller.h b/chromium/third_party/nearby/src/connections/implementation/service_controller.h
index 11e87a6d7a3..d924549cc69 100644
--- a/chromium/third_party/nearby/src/connections/implementation/service_controller.h
+++ b/chromium/third_party/nearby/src/connections/implementation/service_controller.h
@@ -56,6 +56,10 @@ class ServiceController {
// controller are affected.
virtual void Stop() = 0;
+ // Shuts down executors in the BwuManager. After that no tasks should be
+ // running on or posted to BwuManager.
+ virtual void ShutdownBwuManagerExecutors() = 0;
+
// Starts advertising an endpoint for a local app.
virtual Status StartAdvertising(ClientProxy* client,
const std::string& service_id,
diff --git a/chromium/third_party/nearby/src/connections/implementation/service_controller_router.cc b/chromium/third_party/nearby/src/connections/implementation/service_controller_router.cc
index 60b2377e905..a8c43d27796 100644
--- a/chromium/third_party/nearby/src/connections/implementation/service_controller_router.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/service_controller_router.cc
@@ -368,6 +368,7 @@ void ServiceControllerRouter::FinishClientSession(ClientProxy* client) {
// Stop any advertising and discovery that may be underway due to this client.
GetServiceController()->StopAdvertising(client);
GetServiceController()->StopDiscovery(client);
+ GetServiceController()->ShutdownBwuManagerExecutors();
// Finally, clear all state maintained by this client.
client->Reset();
diff --git a/chromium/third_party/nearby/src/connections/implementation/wifi_hotspot_bwu_handler.cc b/chromium/third_party/nearby/src/connections/implementation/wifi_hotspot_bwu_handler.cc
index a597f35f2d0..896d048076a 100644
--- a/chromium/third_party/nearby/src/connections/implementation/wifi_hotspot_bwu_handler.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/wifi_hotspot_bwu_handler.cc
@@ -81,8 +81,11 @@ ByteArray WifiHotspotBwuHandler::HandleInitializeUpgradedMediumForEndpoint(
<< ", Password:" << password << ", Port:" << port
<< ", Gateway:" << gateway;
- return parser::ForBwuWifiHotspotPathAvailable(ssid, password, port, gateway,
- false);
+ bool disabling_encryption =
+ (client->GetAdvertisingOptions().strategy == Strategy::kP2pPointToPoint);
+ return parser::ForBwuWifiHotspotPathAvailable(
+ ssid, password, port, gateway,
+ /* supports_disabling_encryption */ disabling_encryption);
}
void WifiHotspotBwuHandler::HandleRevertInitiatorStateForService(
diff --git a/chromium/third_party/nearby/src/connections/implementation/wifi_hotspot_test.cc b/chromium/third_party/nearby/src/connections/implementation/wifi_hotspot_test.cc
index 14e1e8713de..1ca3ba74238 100644
--- a/chromium/third_party/nearby/src/connections/implementation/wifi_hotspot_test.cc
+++ b/chromium/third_party/nearby/src/connections/implementation/wifi_hotspot_test.cc
@@ -15,36 +15,31 @@
#include <utility>
#include "gtest/gtest.h"
-#include "absl/time/clock.h"
-#include "internal/platform/medium_environment.h"
#include "connections/implementation/bwu_handler.h"
#include "connections/implementation/wifi_hotspot_bwu_handler.h"
+#include "internal/platform/medium_environment.h"
namespace location {
namespace nearby {
namespace connections {
namespace {
-constexpr absl::Duration kWaitDuration = absl::Milliseconds(300);
+constexpr absl::Duration kWaitDuration = absl::Milliseconds(1000);
} // namespace
-class WifiHotspotTest : public testing::Test {
+class WifiHotspotTest : public testing::Test {
protected:
WifiHotspotTest() {
env_.Stop();
env_.Start();
}
- ~WifiHotspotTest() override {
- env_.Stop();
- }
+ ~WifiHotspotTest() override { env_.Stop(); }
MediumEnvironment& env_{MediumEnvironment::Instance()};
};
TEST_F(WifiHotspotTest, CanCreateBwuHandler) {
- BwuHandler::BwuNotifications notifications{
- .incoming_connection_cb = {}
- };
+ BwuHandler::BwuNotifications notifications{.incoming_connection_cb = {}};
ClientProxy client;
Mediums mediums;
@@ -52,7 +47,7 @@ TEST_F(WifiHotspotTest, CanCreateBwuHandler) {
std::make_unique<WifiHotspotBwuHandler>(mediums, notifications);
handler->InitializeUpgradedMediumForEndpoint(&client, /*service_id=*/"B",
- /*endpoint_id=*/"2");
+ /*endpoint_id=*/"2");
handler->RevertInitiatorState();
SUCCEED();
handler.reset();
@@ -65,17 +60,16 @@ TEST_F(WifiHotspotTest, SoftAPBWUInit_STACreateEndpointChannel) {
BwuHandler::BwuNotifications notifications_1{
.incoming_connection_cb =
- [&accept_latch, &end_latch](ClientProxy* client,
- std::unique_ptr<BwuHandler::IncomingSocketConnection>
- mutable_connection) {
+ [&accept_latch, &end_latch](
+ ClientProxy* client,
+ std::unique_ptr<BwuHandler::IncomingSocketConnection>
+ mutable_connection) {
NEARBY_LOGS(WARNING) << "Server socket connection accept call back";
accept_latch.CountDown();
EXPECT_TRUE(end_latch.Await(kWaitDuration).result());
},
};
- BwuHandler::BwuNotifications notifications_2{
- .incoming_connection_cb = {}
- };
+ BwuHandler::BwuNotifications notifications_2{.incoming_connection_cb = {}};
ClientProxy client_1, client_2;
Mediums mediums_1, mediums_2;
ExceptionOr<OfflineFrame> upgrade_frame;
@@ -85,19 +79,17 @@ TEST_F(WifiHotspotTest, SoftAPBWUInit_STACreateEndpointChannel) {
// client_1 works as Hotspot SoftAP
SingleThreadExecutor server_executor;
- server_executor.Execute([&handler_1, &client_1, &upgrade_frame,
- &start_latch]() {
- ByteArray upgrade_path_available_frame =
- handler_1->InitializeUpgradedMediumForEndpoint(
- &client_1,
- /*service_id=*/"A",
- /*endpoint_id=*/"1");
- EXPECT_FALSE(upgrade_path_available_frame.Empty());
-
- upgrade_frame = parser::FromBytes(upgrade_path_available_frame);
- start_latch.CountDown();
- });
-
+ server_executor.Execute(
+ [&handler_1, &client_1, &upgrade_frame, &start_latch]() {
+ ByteArray upgrade_path_available_frame =
+ handler_1->InitializeUpgradedMediumForEndpoint(&client_1,
+ /*service_id=*/"A",
+ /*endpoint_id=*/"1");
+ EXPECT_FALSE(upgrade_path_available_frame.Empty());
+
+ upgrade_frame = parser::FromBytes(upgrade_path_available_frame);
+ start_latch.CountDown();
+ });
// client_2 works as Hotspot STA which will connect to client_1
SingleThreadExecutor client_executor;
diff --git a/chromium/third_party/nearby/src/connections/params.h b/chromium/third_party/nearby/src/connections/params.h
index 2431ae8962d..01f04e18e68 100644
--- a/chromium/third_party/nearby/src/connections/params.h
+++ b/chromium/third_party/nearby/src/connections/params.h
@@ -17,7 +17,6 @@
#include <string>
-#include "connections/clients/windows/dll_config.h"
#include "connections/listeners.h"
#include "internal/platform/byte_array.h"
diff --git a/chromium/third_party/nearby/src/connections/payload.cc b/chromium/third_party/nearby/src/connections/payload.cc
index 9b05384d844..61e45493fdd 100644
--- a/chromium/third_party/nearby/src/connections/payload.cc
+++ b/chromium/third_party/nearby/src/connections/payload.cc
@@ -14,6 +14,7 @@
#include "connections/payload.h"
+#include <algorithm>
#include <string>
namespace location {
@@ -21,46 +22,16 @@ namespace nearby {
namespace connections {
namespace {
-std::string SepFinder(std::string s, size_t index) {
- std::string filename = s.substr(index + 1, s.length() - index);
- size_t lastindex = filename.find_last_of('.');
- std::string rawname = filename.substr(0, lastindex);
- return rawname;
-}
std::string getFileName(const std::string& s) {
- char forwardSep = '/';
- char backwardSep = '\\';
-
- size_t lastForwardSepIndex = s.rfind(forwardSep, s.length());
- size_t lastBackwardSepIndex = s.rfind(backwardSep, s.length());
+ std::string s_copy(s);
+ std::replace(s_copy.begin(), s_copy.end(), '\\',
+ '/'); // replace all '\\' to '/'
- if (lastForwardSepIndex == std::string::npos &&
- lastBackwardSepIndex == std::string::npos) {
- // no file name found
- return ("");
- }
+ size_t lastForwardSepIndex = s_copy.rfind('/', s.length());
- // If we have a forward sep
- if (lastForwardSepIndex != std::string::npos) {
- // and if backward sep doesn't exist
- if (lastBackwardSepIndex == std::string::npos) {
- // Construct filename from forward sep
- std::string rawname = SepFinder(s, lastForwardSepIndex);
- return (rawname);
- }
- // backward sep also exists
- if (lastForwardSepIndex > lastBackwardSepIndex) {
- // the forward sep is the last
- std::string rawname = SepFinder(s, lastForwardSepIndex);
- return (rawname);
- }
- // The backward sep is the last
- std::string rawname = SepFinder(s, lastBackwardSepIndex);
- return (rawname);
- }
- std::string rawname = SepFinder(s, lastBackwardSepIndex);
- return (rawname);
+ return s_copy.substr(lastForwardSepIndex + 1,
+ s_copy.length() - lastForwardSepIndex);
}
} // namespace
diff --git a/chromium/third_party/nearby/src/connections/payload_test.cc b/chromium/third_party/nearby/src/connections/payload_test.cc
index b6228cb5fba..24f6981ca4c 100644
--- a/chromium/third_party/nearby/src/connections/payload_test.cc
+++ b/chromium/third_party/nearby/src/connections/payload_test.cc
@@ -21,8 +21,8 @@
#include "protobuf-matchers/protocol-buffer-matchers.h"
#include "gtest/gtest.h"
#include "internal/platform/byte_array.h"
-#include "internal/platform/input_stream.h"
#include "internal/platform/file.h"
+#include "internal/platform/input_stream.h"
#include "internal/platform/pipe.h"
namespace location {
@@ -46,12 +46,25 @@ TEST(PayloadTest, SupportsByteArrayType) {
TEST(PayloadTest, SupportsFileType) {
constexpr size_t kOffset = 99;
const auto payload_id = Payload::GenerateId();
+
+ char test_file_data[100];
+ memcpy(test_file_data,
+ "012345678901234567890123456789012345678901234567890123456789012345678"
+ "901234567890123456789012345678\0",
+ 100);
+
+ OutputFile outputFile(payload_id);
+ ByteArray test_data(test_file_data, 100);
+ outputFile.Write(test_data);
+ outputFile.Close();
+
InputFile file(payload_id, 100);
InputStream& stream = file.GetInputStream();
Payload payload(payload_id, std::move(file));
payload.SetOffset(kOffset);
+ EXPECT_EQ(payload.GetFileName(), std::to_string(payload_id));
EXPECT_EQ(payload.GetType(), PayloadType::kFile);
EXPECT_EQ(payload.AsStream(), nullptr);
EXPECT_EQ(&payload.AsFile()->GetInputStream(), &stream);
@@ -59,6 +72,28 @@ TEST(PayloadTest, SupportsFileType) {
EXPECT_EQ(payload.GetOffset(), kOffset);
}
+TEST(PayloadTest, SupportsMultiDotNamedFileType) {
+ constexpr char expected[] = "this.is.a.multidot.file";
+ InputFile file(expected, 0);
+
+ Payload payload(std::move(file));
+
+ EXPECT_EQ(payload.GetFileName(), expected);
+}
+
+TEST(PayloadTest,
+ SupportsBackSlashFolderSeparatorsByExtractingFileNameBeforeStoring) {
+ constexpr char file_name[] =
+ "test_folder.here\\this.is.a.multidot.backslash.folder.separated.file";
+ constexpr char expected[] =
+ "this.is.a.multidot.backslash.folder.separated.file";
+ InputFile file(file_name, 0);
+
+ Payload payload(std::move(file));
+
+ EXPECT_EQ(payload.GetFileName(), expected);
+}
+
TEST(PayloadTest, SupportsStreamType) {
constexpr size_t kOffset = 1234456;
auto pipe = std::make_shared<Pipe>();
diff --git a/chromium/third_party/nearby/src/internal/analytics/BUILD b/chromium/third_party/nearby/src/internal/analytics/BUILD
index 5ce6d1a204c..72b6179ed38 100644
--- a/chromium/third_party/nearby/src/internal/analytics/BUILD
+++ b/chromium/third_party/nearby/src/internal/analytics/BUILD
@@ -20,6 +20,7 @@ cc_library(
],
visibility = [
"//connections:__subpackages__",
+ "//location/nearby/analytics/cpp:__subpackages__",
"//location/nearby/cpp/sharing:__subpackages__",
],
deps = ["@com_google_protobuf//:protobuf"],
diff --git a/chromium/third_party/nearby/src/internal/crypto/BUILD b/chromium/third_party/nearby/src/internal/crypto/BUILD
new file mode 100644
index 00000000000..00c85dd1cd5
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/BUILD
@@ -0,0 +1,103 @@
+licenses(["notice"])
+
+# Copyright 2020 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+package(default_visibility = ["//third_party/nearby:__subpackages__"])
+
+licenses(["notice"])
+
+cc_library(
+ name = "crypto",
+ srcs = [
+ "aead.cc",
+ "ec_private_key.cc",
+ "ec_signature_creator.cc",
+ "ec_signature_creator_impl.cc",
+ "encryptor.cc",
+ "hkdf.cc",
+ "hmac.cc",
+ "nearby_base.cc",
+ "openssl_util.cc",
+ "random.cc",
+ "rsa_private_key.cc",
+ "secure_hash.cc",
+ "secure_util.cc",
+ "sha2.cc",
+ "signature_verifier.cc",
+ "symmetric_key.cc",
+ ],
+ hdrs = [
+ "aead.h",
+ "crypto_export.h",
+ "ec_private_key.h",
+ "ec_signature_creator.h",
+ "ec_signature_creator_impl.h",
+ "encryptor.h",
+ "hkdf.h",
+ "hmac.h",
+ "nearby_base.h",
+ "openssl_util.h",
+ "random.h",
+ "rsa_private_key.h",
+ "secure_hash.h",
+ "secure_util.h",
+ "sha2.h",
+ "signature_verifier.h",
+ "symmetric_key.h",
+ ],
+ copts = [
+ "-DCRYPTO_IMPLEMENTATION",
+ "-Ithird_party",
+ ],
+ deps = [
+ "//internal/platform:logging",
+ "@boringssl//:crypto",
+ "@com_google_absl//absl/base:core_headers",
+ "@com_google_absl//absl/strings",
+ "@com_google_absl//absl/types:optional",
+ "@com_google_absl//absl/types:span",
+ ],
+)
+
+cc_test(
+ name = "crypto_unittests",
+ size = "large",
+ srcs = [
+ "aead_unittest.cc",
+ "ec_private_key_unittest.cc",
+ "ec_signature_creator_unittest.cc",
+ "encryptor_unittest.cc",
+ "hmac_unittest.cc",
+ "random_unittest.cc",
+ "rsa_private_key_unittest.cc",
+ "secure_hash_unittest.cc",
+ "sha2_unittest.cc",
+ "signature_verifier_unittest.cc",
+ "symmetric_key_unittest.cc",
+ ],
+ copts = [
+ "-DUNIT_TEST",
+ "-Wno-inconsistent-missing-override",
+ "-Wno-non-virtual-dtor",
+ "-Ithird_party",
+ ],
+ deps = [
+ ":crypto",
+ "//internal/platform/implementation/g3", # build_cleaner: keep
+ "@com_github_protobuf_matchers//protobuf-matchers",
+ "@com_google_absl//absl/strings",
+ "@com_google_absl//absl/types:span",
+ "@com_google_googletest//:gtest_main",
+ ],
+)
diff --git a/chromium/third_party/nearby/src/internal/crypto/BUILD.gn b/chromium/third_party/nearby/src/internal/crypto/BUILD.gn
new file mode 100644
index 00000000000..43925ec66bf
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/BUILD.gn
@@ -0,0 +1,217 @@
+# Copyright (c) 2013 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/chromeos/ui_mode.gni")
+import("//build/config/crypto.gni")
+import("//testing/test.gni")
+
+component("crypto") {
+ output_name = "crcrypto" # Avoid colliding with OpenSSL's libcrypto.
+ sources = [
+ "aead.cc",
+ "aead.h",
+ "crypto_export.h",
+ "ec_private_key.cc",
+ "ec_private_key.h",
+ "ec_signature_creator.cc",
+ "ec_signature_creator.h",
+ "ec_signature_creator_impl.cc",
+ "ec_signature_creator_impl.h",
+ "encryptor.cc",
+ "encryptor.h",
+ "hkdf.cc",
+ "hkdf.h",
+ "hmac.cc",
+ "hmac.h",
+ "openssl_util.cc",
+ "openssl_util.h",
+ "p224_spake.cc",
+ "p224_spake.h",
+ "random.cc",
+ "random.h",
+ "rsa_private_key.cc",
+ "rsa_private_key.h",
+ "scoped_capi_types.h",
+ "scoped_nss_types.h",
+ "secure_hash.cc",
+ "secure_hash.h",
+ "secure_util.cc",
+ "secure_util.h",
+ "sha2.cc",
+ "sha2.h",
+ "signature_creator.cc",
+ "signature_creator.h",
+ "signature_verifier.cc",
+ "signature_verifier.h",
+ "symmetric_key.cc",
+ "symmetric_key.h",
+ "unexportable_key.cc",
+ "unexportable_key.h",
+ ]
+
+ deps = [
+ ":platform",
+ "//base",
+ "//base/third_party/dynamic_annotations",
+ ]
+
+ public_deps = [ "//third_party/boringssl" ]
+
+ if (is_apple) {
+ sources += [
+ "apple_keychain.h",
+
+ # TODO(brettw): these mocks should be moved to a test_support_crypto
+ # target if possible.
+ "mock_apple_keychain.cc",
+ "mock_apple_keychain.h",
+ ]
+
+ if (is_mac) {
+ sources += [
+ "apple_keychain_mac.mm",
+
+ # TODO(brettw): these mocks should be moved to a test_support_crypto
+ # target if possible.
+ "mock_apple_keychain_mac.cc",
+ ]
+ }
+ if (is_ios) {
+ sources += [
+ "apple_keychain_ios.mm",
+
+ # TODO(brettw): these mocks should be moved to a test_support_crypto
+ # target if possible.
+ "mock_apple_keychain_ios.cc",
+ ]
+ }
+
+ frameworks = [
+ "CoreFoundation.framework",
+ "Security.framework",
+ ]
+ }
+
+ if (is_mac) {
+ sources += [
+ "mac_security_services_lock.cc",
+ "mac_security_services_lock.h",
+ ]
+ }
+ if (is_win) {
+ sources += [
+ "capi_util.cc",
+ "capi_util.h",
+ "unexportable_key_win.cc",
+ ]
+ libs = [ "ncrypt.lib" ]
+ }
+
+ # Some files are built when NSS is used for the platform certificate library.
+ if (use_nss_certs) {
+ sources += [
+ "nss_crypto_module_delegate.h",
+ "nss_key_util.cc",
+ "nss_key_util.h",
+ "nss_util.cc",
+ "nss_util.h",
+ "nss_util_internal.h",
+ ]
+ deps += [ "//build:chromeos_buildflags" ]
+ }
+
+ if (is_chromeos_ash) {
+ sources += [ "nss_util_chromeos.cc" ]
+ }
+
+ if (is_chromeos || is_chromeos_lacros) {
+ sources += [
+ "chaps_support.cc",
+ "chaps_support.h",
+ ]
+ }
+
+ defines = [ "CRYPTO_IMPLEMENTATION" ]
+}
+
+test("crypto_unittests") {
+ sources = [
+ "aead_unittest.cc",
+ "ec_private_key_unittest.cc",
+ "ec_signature_creator_unittest.cc",
+ "encryptor_unittest.cc",
+ "hmac_unittest.cc",
+ "p224_spake_unittest.cc",
+ "random_unittest.cc",
+ "rsa_private_key_unittest.cc",
+ "secure_hash_unittest.cc",
+ "sha2_unittest.cc",
+ "signature_creator_unittest.cc",
+ "signature_verifier_unittest.cc",
+ "symmetric_key_unittest.cc",
+ "unexportable_key_unittest.cc",
+ ]
+
+ # Some files are built when NSS is used for the platform certificate library.
+ if (use_nss_certs) {
+ sources += [
+ "nss_key_util_unittest.cc",
+ "nss_util_unittest.cc",
+ ]
+ }
+
+ deps = [
+ ":crypto",
+ ":platform",
+ ":test_support",
+ "//base",
+ "//base/test:run_all_unittests",
+ "//base/test:test_support",
+ "//testing/gmock",
+ "//testing/gtest",
+ ]
+}
+
+static_library("test_support") {
+ testonly = true
+ sources = [
+ "scoped_mock_unexportable_key_provider.cc",
+ "scoped_mock_unexportable_key_provider.h",
+ ]
+
+ if (use_nss_certs) {
+ sources += [
+ "scoped_test_nss_db.cc",
+ "scoped_test_nss_db.h",
+ ]
+ }
+
+ if (is_chromeos_ash) {
+ sources += [
+ "scoped_test_nss_chromeos_user.cc",
+ "scoped_test_nss_chromeos_user.h",
+ "scoped_test_system_nss_key_slot.cc",
+ "scoped_test_system_nss_key_slot.h",
+ ]
+ }
+
+ deps = [
+ ":crypto",
+ ":platform",
+ "//base",
+ ]
+}
+
+# This is a meta-target that forwards to NSS's SSL library or OpenSSL,
+# according to the state of the crypto flags. A target just wanting to depend
+# on the current SSL library should just depend on this.
+group("platform") {
+ public_deps = [ "//third_party/boringssl" ]
+
+ # Link in NSS if it is used for the platform certificate library
+ # (use_nss_certs).
+ if (use_nss_certs) {
+ public_configs = [ "//build/config/linux/nss:system_nss_no_ssl_config" ]
+ }
+}
diff --git a/chromium/third_party/nearby/src/internal/crypto/aead.cc b/chromium/third_party/nearby/src/internal/crypto/aead.cc
new file mode 100644
index 00000000000..db1b080bbee
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/aead.cc
@@ -0,0 +1,182 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/aead.h"
+
+#include <stddef.h>
+#include <stdint.h>
+
+#include <optional>
+#include <string>
+#include <vector>
+
+#include "absl/types/span.h"
+#include "internal/crypto/nearby_base.h"
+#include "internal/crypto/openssl_util.h"
+#include <openssl/aes.h>
+#include <openssl/evp.h>
+
+namespace crypto {
+
+Aead::Aead(AeadAlgorithm algorithm) {
+ EnsureOpenSSLInit();
+ switch (algorithm) {
+ case AES_128_CTR_HMAC_SHA256:
+ aead_ = EVP_aead_aes_128_ctr_hmac_sha256();
+ break;
+ case AES_256_GCM:
+ aead_ = EVP_aead_aes_256_gcm();
+ break;
+ case AES_256_GCM_SIV:
+ aead_ = EVP_aead_aes_256_gcm_siv();
+ break;
+ case CHACHA20_POLY1305:
+ aead_ = EVP_aead_chacha20_poly1305();
+ break;
+ }
+}
+
+Aead::~Aead() = default;
+
+void Aead::Init(absl::Span<const uint8_t> key) {
+ DCHECK(!key_);
+ DCHECK_EQ(KeyLength(), key.size());
+ key_ = key;
+}
+
+static absl::Span<const uint8_t> ToSpan(absl::string_view sp) {
+ return nearbybase::as_bytes(absl::MakeSpan(sp));
+}
+
+void Aead::Init(const std::string* key) { Init(ToSpan(*key)); }
+
+std::vector<uint8_t> Aead::Seal(
+ absl::Span<const uint8_t> plaintext, absl::Span<const uint8_t> nonce,
+ absl::Span<const uint8_t> additional_data) const {
+ const size_t max_output_length =
+ EVP_AEAD_max_overhead(aead_) + plaintext.size();
+ CHECK(max_output_length >= plaintext.size());
+ std::vector<uint8_t> ret;
+ ret.resize(max_output_length);
+
+ size_t output_length;
+ CHECK(Seal(plaintext, nonce, additional_data, ret.data(), &output_length,
+ max_output_length));
+ ret.resize(output_length);
+ return ret;
+}
+
+bool Aead::Seal(absl::string_view plaintext, absl::string_view nonce,
+ absl::string_view additional_data,
+ std::string* ciphertext) const {
+ const size_t max_output_length =
+ EVP_AEAD_max_overhead(aead_) + plaintext.size();
+ CHECK(max_output_length + 1 >= plaintext.size());
+ uint8_t* out_ptr = reinterpret_cast<uint8_t*>(
+ nearbybase::WriteInto(ciphertext, max_output_length + 1));
+
+ size_t output_length;
+ if (!Seal(ToSpan(plaintext), ToSpan(nonce), ToSpan(additional_data), out_ptr,
+ &output_length, max_output_length)) {
+ ciphertext->clear();
+ return false;
+ }
+
+ ciphertext->resize(output_length);
+ return true;
+}
+
+absl::optional<std::vector<uint8_t>> Aead::Open(
+ absl::Span<const uint8_t> ciphertext, absl::Span<const uint8_t> nonce,
+ absl::Span<const uint8_t> additional_data) const {
+ const size_t max_output_length = ciphertext.size();
+ std::vector<uint8_t> ret;
+ ret.resize(max_output_length);
+
+ size_t output_length;
+ if (!Open(ciphertext, nonce, additional_data, ret.data(), &output_length,
+ max_output_length)) {
+ return absl::nullopt;
+ }
+
+ ret.resize(output_length);
+ return ret;
+}
+
+bool Aead::Open(absl::string_view ciphertext, absl::string_view nonce,
+ absl::string_view additional_data,
+ std::string* plaintext) const {
+ const size_t max_output_length = ciphertext.size();
+ CHECK(max_output_length + 1 > max_output_length);
+ uint8_t* out_ptr = reinterpret_cast<uint8_t*>(
+ nearbybase::WriteInto(plaintext, max_output_length + 1));
+
+ size_t output_length;
+ if (!Open(ToSpan(ciphertext), ToSpan(nonce), ToSpan(additional_data), out_ptr,
+ &output_length, max_output_length)) {
+ plaintext->clear();
+ return false;
+ }
+
+ plaintext->resize(output_length);
+ return true;
+}
+
+size_t Aead::KeyLength() const { return EVP_AEAD_key_length(aead_); }
+
+size_t Aead::NonceLength() const { return EVP_AEAD_nonce_length(aead_); }
+
+bool Aead::Seal(absl::Span<const uint8_t> plaintext,
+ absl::Span<const uint8_t> nonce,
+ absl::Span<const uint8_t> additional_data, uint8_t* out,
+ size_t* output_length, size_t max_output_length) const {
+ DCHECK(key_);
+ DCHECK_EQ(NonceLength(), nonce.size());
+ bssl::ScopedEVP_AEAD_CTX ctx;
+
+ if (!EVP_AEAD_CTX_init(ctx.get(), aead_, key_->data(), key_->size(),
+ EVP_AEAD_DEFAULT_TAG_LENGTH, nullptr) ||
+ !EVP_AEAD_CTX_seal(ctx.get(), out, output_length, max_output_length,
+ nonce.data(), nonce.size(), plaintext.data(),
+ plaintext.size(), additional_data.data(),
+ additional_data.size())) {
+ return false;
+ }
+
+ DCHECK_LE(*output_length, max_output_length);
+ return true;
+}
+
+bool Aead::Open(absl::Span<const uint8_t> plaintext,
+ absl::Span<const uint8_t> nonce,
+ absl::Span<const uint8_t> additional_data, uint8_t* out,
+ size_t* output_length, size_t max_output_length) const {
+ DCHECK(key_);
+ DCHECK_EQ(NonceLength(), nonce.size());
+ bssl::ScopedEVP_AEAD_CTX ctx;
+
+ if (!EVP_AEAD_CTX_init(ctx.get(), aead_, key_->data(), key_->size(),
+ EVP_AEAD_DEFAULT_TAG_LENGTH, nullptr) ||
+ !EVP_AEAD_CTX_open(ctx.get(), out, output_length, max_output_length,
+ nonce.data(), nonce.size(), plaintext.data(),
+ plaintext.size(), additional_data.data(),
+ additional_data.size())) {
+ return false;
+ }
+
+ DCHECK_LE(*output_length, max_output_length);
+ return true;
+}
+
+} // namespace crypto
diff --git a/chromium/third_party/nearby/src/internal/crypto/aead.h b/chromium/third_party/nearby/src/internal/crypto/aead.h
new file mode 100644
index 00000000000..053f3085674
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/aead.h
@@ -0,0 +1,95 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_AEAD_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_AEAD_H_
+
+#include <stddef.h>
+#include <stdint.h>
+
+#include <optional>
+#include <string>
+#include <vector>
+
+#include "absl/strings/string_view.h"
+#include "absl/types/optional.h"
+#include "absl/types/span.h"
+#include "internal/crypto/crypto_export.h"
+
+struct evp_aead_st;
+
+namespace crypto {
+
+// This class exposes the AES-128-CTR-HMAC-SHA256 and AES_256_GCM AEAD. Note
+// that there are two versions of most methods: an historical version based
+// around |StringPiece| and a more modern version that takes |absl::Span|.
+// Prefer the latter in new code.
+class CRYPTO_EXPORT Aead {
+ public:
+ enum AeadAlgorithm {
+ AES_128_CTR_HMAC_SHA256,
+ AES_256_GCM,
+ AES_256_GCM_SIV,
+ CHACHA20_POLY1305
+ };
+
+ explicit Aead(AeadAlgorithm algorithm);
+ Aead(const Aead&) = delete;
+ Aead& operator=(const Aead&) = delete;
+ ~Aead();
+
+ // Note that Init keeps a reference to the data pointed to by |key| thus that
+ // data must outlive this object.
+ void Init(absl::Span<const uint8_t> key);
+
+ // Note that Init keeps a reference to the data pointed to by |key| thus that
+ // data must outlive this object.
+ void Init(const std::string* key);
+
+ std::vector<uint8_t> Seal(absl::Span<const uint8_t> plaintext,
+ absl::Span<const uint8_t> nonce,
+ absl::Span<const uint8_t> additional_data) const;
+
+ bool Seal(absl::string_view plaintext, absl::string_view nonce,
+ absl::string_view additional_data, std::string* ciphertext) const;
+
+ absl::optional<std::vector<uint8_t>> Open(
+ absl::Span<const uint8_t> ciphertext, absl::Span<const uint8_t> nonce,
+ absl::Span<const uint8_t> additional_data) const;
+
+ bool Open(absl::string_view ciphertext, absl::string_view nonce,
+ absl::string_view additional_data, std::string* plaintext) const;
+
+ size_t KeyLength() const;
+
+ size_t NonceLength() const;
+
+ private:
+ bool Seal(absl::Span<const uint8_t> plaintext,
+ absl::Span<const uint8_t> nonce,
+ absl::Span<const uint8_t> additional_data, uint8_t* out,
+ size_t* output_length, size_t max_output_length) const;
+
+ bool Open(absl::Span<const uint8_t> ciphertext,
+ absl::Span<const uint8_t> nonce,
+ absl::Span<const uint8_t> additional_data, uint8_t* out,
+ size_t* output_length, size_t max_output_length) const;
+
+ absl::optional<absl::Span<const uint8_t>> key_;
+ const evp_aead_st* aead_;
+};
+
+} // namespace crypto
+
+#endif // THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_AEAD_H_
diff --git a/chromium/third_party/nearby/src/internal/crypto/aead_unittest.cc b/chromium/third_party/nearby/src/internal/crypto/aead_unittest.cc
new file mode 100644
index 00000000000..8f920818aa0
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/aead_unittest.cc
@@ -0,0 +1,100 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/aead.h"
+
+#include <optional>
+#include <string>
+#include <vector>
+
+#include "gtest/gtest.h"
+
+namespace {
+
+const crypto::Aead::AeadAlgorithm kAllAlgorithms[]{
+ crypto::Aead::AES_128_CTR_HMAC_SHA256,
+ crypto::Aead::AES_256_GCM,
+ crypto::Aead::AES_256_GCM_SIV,
+ crypto::Aead::CHACHA20_POLY1305,
+};
+
+class AeadTest : public testing::TestWithParam<crypto::Aead::AeadAlgorithm> {};
+
+INSTANTIATE_TEST_SUITE_P(All, AeadTest, testing::ValuesIn(kAllAlgorithms));
+
+TEST_P(AeadTest, SealOpen) {
+ crypto::Aead::AeadAlgorithm alg = GetParam();
+ crypto::Aead aead(alg);
+ std::string key(aead.KeyLength(), 0);
+ aead.Init(&key);
+ std::string nonce(aead.NonceLength(), 0);
+ std::string plaintext("this is the plaintext");
+ std::string ad("this is the additional data");
+ std::string ciphertext;
+ EXPECT_TRUE(aead.Seal(plaintext, nonce, ad, &ciphertext));
+ EXPECT_LT(0U, ciphertext.size());
+
+ std::string decrypted;
+ EXPECT_TRUE(aead.Open(ciphertext, nonce, ad, &decrypted));
+
+ EXPECT_EQ(plaintext, decrypted);
+}
+
+TEST_P(AeadTest, SealOpenSpan) {
+ crypto::Aead::AeadAlgorithm alg = GetParam();
+ crypto::Aead aead(alg);
+ std::vector<uint8_t> key(aead.KeyLength(), 0u);
+ aead.Init(key);
+ std::vector<uint8_t> nonce(aead.NonceLength(), 0u);
+ static constexpr uint8_t kPlaintext[] = "plaintext";
+ static constexpr uint8_t kAdditionalData[] = "additional data input";
+ std::vector<uint8_t> ciphertext =
+ aead.Seal(kPlaintext, nonce, kAdditionalData);
+ EXPECT_LT(sizeof(kPlaintext), ciphertext.size());
+
+ absl::optional<std::vector<uint8_t>> decrypted =
+ aead.Open(ciphertext, nonce, kAdditionalData);
+ ASSERT_TRUE(decrypted);
+ ASSERT_EQ(decrypted->size(), sizeof(kPlaintext));
+ ASSERT_EQ(0, memcmp(decrypted->data(), kPlaintext, sizeof(kPlaintext)));
+
+ std::vector<uint8_t> wrong_key(aead.KeyLength(), 1u);
+ crypto::Aead aead_wrong_key(alg);
+ aead_wrong_key.Init(wrong_key);
+ decrypted = aead_wrong_key.Open(ciphertext, nonce, kAdditionalData);
+ EXPECT_FALSE(decrypted);
+}
+
+TEST_P(AeadTest, SealOpenWrongKey) {
+ crypto::Aead::AeadAlgorithm alg = GetParam();
+ crypto::Aead aead(alg);
+ std::string key(aead.KeyLength(), 0);
+ std::string wrong_key(aead.KeyLength(), 1);
+ aead.Init(&key);
+ crypto::Aead aead_wrong_key(alg);
+ aead_wrong_key.Init(&wrong_key);
+
+ std::string nonce(aead.NonceLength(), 0);
+ std::string plaintext("this is the plaintext");
+ std::string ad("this is the additional data");
+ std::string ciphertext;
+ EXPECT_TRUE(aead.Seal(plaintext, nonce, ad, &ciphertext));
+ EXPECT_LT(0U, ciphertext.size());
+
+ std::string decrypted;
+ EXPECT_FALSE(aead_wrong_key.Open(ciphertext, nonce, ad, &decrypted));
+ EXPECT_EQ(0U, decrypted.size());
+}
+
+} // namespace
diff --git a/chromium/third_party/nearby/src/internal/crypto/crypto_export.h b/chromium/third_party/nearby/src/internal/crypto/crypto_export.h
new file mode 100644
index 00000000000..91caabfe868
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/crypto_export.h
@@ -0,0 +1,42 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_CRYPTO_EXPORT_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_CRYPTO_EXPORT_H_
+
+// Defines CRYPTO_EXPORT so that functionality implemented by the crypto module
+// can be exported to consumers.
+
+#if defined(COMPONENT_BUILD)
+#if defined(WIN32)
+
+#if defined(CRYPTO_IMPLEMENTATION)
+#define CRYPTO_EXPORT __declspec(dllexport)
+#else
+#define CRYPTO_EXPORT __declspec(dllimport)
+#endif // defined(CRYPTO_IMPLEMENTATION)
+
+#else // defined(WIN32)
+#if defined(CRYPTO_IMPLEMENTATION)
+#define CRYPTO_EXPORT __attribute__((visibility("default")))
+#else
+#define CRYPTO_EXPORT
+#endif
+#endif
+
+#else // defined(COMPONENT_BUILD)
+#define CRYPTO_EXPORT
+#endif
+
+#endif // THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_CRYPTO_EXPORT_H_
diff --git a/chromium/third_party/nearby/src/internal/crypto/ec_private_key.cc b/chromium/third_party/nearby/src/internal/crypto/ec_private_key.cc
new file mode 100644
index 00000000000..fd2fd1a48c1
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/ec_private_key.cc
@@ -0,0 +1,182 @@
+#include "internal/crypto/ec_private_key.h"
+
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include <stddef.h>
+#include <stdint.h>
+
+#include <array>
+#include <memory>
+#include <string>
+#include <utility>
+#include <vector>
+
+#include "internal/crypto/openssl_util.h"
+#include "internal/platform/logging.h"
+#include <openssl/bn.h>
+#include <openssl/bytestring.h>
+#include <openssl/ec.h>
+#include <openssl/ec_key.h>
+#include <openssl/evp.h>
+#include <openssl/mem.h>
+#include <openssl/pkcs8.h>
+
+namespace crypto {
+
+ECPrivateKey::~ECPrivateKey() = default;
+
+// static
+std::unique_ptr<ECPrivateKey> ECPrivateKey::Create() {
+ OpenSSLErrStackTracer err_tracer;
+
+ bssl::UniquePtr<EC_KEY> ec_key(
+ EC_KEY_new_by_curve_name(NID_X9_62_prime256v1));
+ if (!ec_key || !EC_KEY_generate_key(ec_key.get())) return nullptr;
+
+ std::unique_ptr<ECPrivateKey> result(new ECPrivateKey());
+ result->key_.reset(EVP_PKEY_new());
+ if (!result->key_ || !EVP_PKEY_set1_EC_KEY(result->key_.get(), ec_key.get()))
+ return nullptr;
+
+ CHECK_EQ(EVP_PKEY_EC, EVP_PKEY_id(result->key_.get()));
+ return result;
+}
+
+// static
+std::unique_ptr<ECPrivateKey> ECPrivateKey::CreateFromPrivateKeyInfo(
+ absl::Span<const uint8_t> input) {
+ OpenSSLErrStackTracer err_tracer;
+
+ CBS cbs;
+ CBS_init(&cbs, input.data(), input.size());
+ bssl::UniquePtr<EVP_PKEY> pkey(EVP_parse_private_key(&cbs));
+ if (!pkey || CBS_len(&cbs) != 0 || EVP_PKEY_id(pkey.get()) != EVP_PKEY_EC)
+ return nullptr;
+
+ std::unique_ptr<ECPrivateKey> result(new ECPrivateKey());
+ result->key_ = std::move(pkey);
+ return result;
+}
+
+// static
+std::unique_ptr<ECPrivateKey> ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
+ absl::Span<const uint8_t> encrypted_private_key_info) {
+ OpenSSLErrStackTracer err_tracer;
+
+ CBS cbs;
+ CBS_init(&cbs, encrypted_private_key_info.data(),
+ encrypted_private_key_info.size());
+ bssl::UniquePtr<EVP_PKEY> pkey(
+ PKCS8_parse_encrypted_private_key(&cbs, "", 0));
+
+ // Hack for reading keys generated by an older version of the OpenSSL code.
+ // Some implementations encode the empty password as "\0\0" (passwords are
+ // normally encoded in big-endian UCS-2 with a NUL terminator) and some
+ // encode as the empty string. PKCS8_parse_encrypted_private_key
+ // distinguishes the two by whether the password is nullptr.
+ if (!pkey) {
+ CBS_init(&cbs, encrypted_private_key_info.data(),
+ encrypted_private_key_info.size());
+ pkey.reset(PKCS8_parse_encrypted_private_key(&cbs, nullptr, 0));
+ }
+
+ if (!pkey || CBS_len(&cbs) != 0 || EVP_PKEY_id(pkey.get()) != EVP_PKEY_EC)
+ return nullptr;
+
+ std::unique_ptr<ECPrivateKey> result(new ECPrivateKey());
+ result->key_ = std::move(pkey);
+ return result;
+}
+
+std::unique_ptr<ECPrivateKey> ECPrivateKey::Copy() const {
+ std::unique_ptr<ECPrivateKey> copy(new ECPrivateKey());
+ copy->key_ = bssl::UpRef(key_);
+ return copy;
+}
+
+bool ECPrivateKey::ExportPrivateKey(std::vector<uint8_t>* output) const {
+ OpenSSLErrStackTracer err_tracer;
+ uint8_t* der;
+ size_t der_len;
+ bssl::ScopedCBB cbb;
+ if (!CBB_init(cbb.get(), 0) ||
+ !EVP_marshal_private_key(cbb.get(), key_.get()) ||
+ !CBB_finish(cbb.get(), &der, &der_len)) {
+ return false;
+ }
+ output->assign(der, der + der_len);
+ OPENSSL_free(der);
+ return true;
+}
+
+bool ECPrivateKey::ExportEncryptedPrivateKey(
+ std::vector<uint8_t>* output) const {
+ OpenSSLErrStackTracer err_tracer;
+
+ // Encrypt the object.
+ // NOTE: NSS uses SEC_OID_PKCS12_V2_PBE_WITH_SHA1_AND_3KEY_TRIPLE_DES_CBC
+ // so use NID_pbe_WithSHA1And3_Key_TripleDES_CBC which should be the OpenSSL
+ // equivalent.
+ uint8_t* der;
+ size_t der_len;
+ bssl::ScopedCBB cbb;
+ if (!CBB_init(cbb.get(), 0) ||
+ !PKCS8_marshal_encrypted_private_key(
+ cbb.get(), NID_pbe_WithSHA1And3_Key_TripleDES_CBC,
+ nullptr /* cipher */, nullptr /* no password */, 0 /* pass_len */,
+ nullptr /* salt */, 0 /* salt_len */, 1 /* iterations */,
+ key_.get()) ||
+ !CBB_finish(cbb.get(), &der, &der_len)) {
+ return false;
+ }
+ output->assign(der, der + der_len);
+ OPENSSL_free(der);
+ return true;
+}
+
+bool ECPrivateKey::ExportPublicKey(std::vector<uint8_t>* output) const {
+ OpenSSLErrStackTracer err_tracer;
+ uint8_t* der;
+ size_t der_len;
+ bssl::ScopedCBB cbb;
+ if (!CBB_init(cbb.get(), 0) ||
+ !EVP_marshal_public_key(cbb.get(), key_.get()) ||
+ !CBB_finish(cbb.get(), &der, &der_len)) {
+ return false;
+ }
+ output->assign(der, der + der_len);
+ OPENSSL_free(der);
+ return true;
+}
+
+bool ECPrivateKey::ExportRawPublicKey(std::string* output) const {
+ OpenSSLErrStackTracer err_tracer;
+
+ std::array<uint8_t, 65> buf;
+ EC_KEY* ec_key = EVP_PKEY_get0_EC_KEY(key_.get());
+ if (!EC_POINT_point2oct(EC_KEY_get0_group(ec_key),
+ EC_KEY_get0_public_key(ec_key),
+ POINT_CONVERSION_UNCOMPRESSED, buf.data(), buf.size(),
+ /*ctx=*/nullptr)) {
+ return false;
+ }
+
+ output->assign(buf.begin(), buf.end());
+ return true;
+}
+
+ECPrivateKey::ECPrivateKey() = default;
+
+} // namespace crypto
diff --git a/chromium/third_party/nearby/src/internal/crypto/ec_private_key.h b/chromium/third_party/nearby/src/internal/crypto/ec_private_key.h
new file mode 100644
index 00000000000..56f512b9ad8
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/ec_private_key.h
@@ -0,0 +1,96 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_EC_PRIVATE_KEY_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_EC_PRIVATE_KEY_H_
+
+#include <stddef.h>
+#include <stdint.h>
+
+#include <memory>
+#include <string>
+#include <vector>
+
+#include "absl/types/span.h"
+#include "internal/crypto/crypto_export.h"
+#include <openssl/base.h>
+
+namespace crypto {
+
+// Encapsulates an elliptic curve (EC) private key. Can be used to generate new
+// keys, export keys to other formats, or to extract a public key.
+// TODO(mattm): make this and RSAPrivateKey implement some PrivateKey interface.
+// (The difference in types of key() and public_key() make this a little
+// tricky.)
+class CRYPTO_EXPORT ECPrivateKey {
+ public:
+ ECPrivateKey(const ECPrivateKey&) = delete;
+ ECPrivateKey& operator=(const ECPrivateKey&) = delete;
+
+ ~ECPrivateKey();
+
+ // Creates a new random instance. Can return nullptr if initialization fails.
+ // The created key will use the NIST P-256 curve.
+ // TODO(mattm): Add a curve parameter.
+ static std::unique_ptr<ECPrivateKey> Create();
+
+ // Create a new instance by importing an existing private key. The format is
+ // an ASN.1-encoded PrivateKeyInfo block from PKCS #8. This can return
+ // nullptr if initialization fails.
+ static std::unique_ptr<ECPrivateKey> CreateFromPrivateKeyInfo(
+ absl::Span<const uint8_t> input);
+
+ // Creates a new instance by importing an existing key pair.
+ // The key pair is given as an ASN.1-encoded PKCS #8 EncryptedPrivateKeyInfo
+ // block with empty password and an X.509 SubjectPublicKeyInfo block.
+ // Returns nullptr if initialization fails.
+ //
+ // This function is deprecated. Use CreateFromPrivateKeyInfo for new code.
+ // See https://crbug.com/603319.
+ static std::unique_ptr<ECPrivateKey> CreateFromEncryptedPrivateKeyInfo(
+ absl::Span<const uint8_t> encrypted_private_key_info);
+
+ // Returns a copy of the object.
+ std::unique_ptr<ECPrivateKey> Copy() const;
+
+ EVP_PKEY* key() { return key_.get(); }
+
+ // Exports the private key to a PKCS #8 PrivateKeyInfo block.
+ bool ExportPrivateKey(std::vector<uint8_t>* output) const;
+
+ // Exports the private key as an ASN.1-encoded PKCS #8 EncryptedPrivateKeyInfo
+ // block wth empty password. This was historically used as a workaround for
+ // NSS API deficiencies and does not provide security.
+ //
+ // This function is deprecated. Use ExportPrivateKey for new code. See
+ // https://crbug.com/603319.
+ bool ExportEncryptedPrivateKey(std::vector<uint8_t>* output) const;
+
+ // Exports the public key to an X.509 SubjectPublicKeyInfo block.
+ bool ExportPublicKey(std::vector<uint8_t>* output) const;
+
+ // Exports the public key as an EC point in X9.62 uncompressed form. Note this
+ // includes the leading 0x04 byte.
+ bool ExportRawPublicKey(std::string* output) const;
+
+ private:
+ // Constructor is private. Use one of the Create*() methods above instead.
+ ECPrivateKey();
+
+ bssl::UniquePtr<EVP_PKEY> key_;
+};
+
+} // namespace crypto
+
+#endif // THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_EC_PRIVATE_KEY_H_
diff --git a/chromium/third_party/nearby/src/internal/crypto/ec_private_key_unittest.cc b/chromium/third_party/nearby/src/internal/crypto/ec_private_key_unittest.cc
new file mode 100644
index 00000000000..6f4887257db
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/ec_private_key_unittest.cc
@@ -0,0 +1,333 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/ec_private_key.h"
+
+#include <stdint.h>
+
+#include <array>
+#include <memory>
+#include <string>
+#include <vector>
+
+#include "gtest/gtest.h"
+
+namespace {
+
+void ExpectKeysEqual(const crypto::ECPrivateKey* keypair1,
+ const crypto::ECPrivateKey* keypair2) {
+ std::vector<uint8_t> privkey1;
+ std::vector<uint8_t> privkey2;
+ EXPECT_TRUE(keypair1->ExportPrivateKey(&privkey1));
+ EXPECT_TRUE(keypair2->ExportPrivateKey(&privkey2));
+ EXPECT_EQ(privkey1, privkey2);
+
+ std::vector<uint8_t> pubkey1;
+ std::vector<uint8_t> pubkey2;
+ EXPECT_TRUE(keypair1->ExportPublicKey(&pubkey1));
+ EXPECT_TRUE(keypair2->ExportPublicKey(&pubkey2));
+ EXPECT_EQ(pubkey1, pubkey2);
+
+ std::string raw_pubkey1;
+ std::string raw_pubkey2;
+ EXPECT_TRUE(keypair1->ExportRawPublicKey(&raw_pubkey1));
+ EXPECT_TRUE(keypair2->ExportRawPublicKey(&raw_pubkey2));
+ EXPECT_EQ(raw_pubkey1, raw_pubkey2);
+}
+
+} // namespace
+
+// Generate random private keys. Export, then re-import in several ways. We
+// should get back the same exact public key, and the private key should have
+// the same value and elliptic curve params.
+TEST(ECPrivateKeyUnitTest, InitRandomTest) {
+ std::unique_ptr<crypto::ECPrivateKey> keypair(crypto::ECPrivateKey::Create());
+ ASSERT_TRUE(keypair);
+
+ // Re-import as a PrivateKeyInfo.
+ std::vector<uint8_t> privkey;
+ EXPECT_TRUE(keypair->ExportPrivateKey(&privkey));
+ std::unique_ptr<crypto::ECPrivateKey> keypair_copy =
+ crypto::ECPrivateKey::CreateFromPrivateKeyInfo(privkey);
+ ASSERT_TRUE(keypair_copy);
+ ExpectKeysEqual(keypair.get(), keypair_copy.get());
+
+ // Re-import as an EncryptedPrivateKeyInfo with kPassword1.
+ std::vector<uint8_t> encrypted_privkey;
+ EXPECT_TRUE(keypair->ExportEncryptedPrivateKey(&encrypted_privkey));
+ keypair_copy = crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
+ encrypted_privkey);
+ ASSERT_TRUE(keypair_copy);
+ ExpectKeysEqual(keypair.get(), keypair_copy.get());
+}
+
+TEST(ECPrivateKeyUnitTest, Copy) {
+ std::unique_ptr<crypto::ECPrivateKey> keypair1(
+ crypto::ECPrivateKey::Create());
+ std::unique_ptr<crypto::ECPrivateKey> keypair2(keypair1->Copy());
+ ASSERT_TRUE(keypair1);
+ ASSERT_TRUE(keypair2);
+
+ ExpectKeysEqual(keypair1.get(), keypair2.get());
+}
+
+TEST(ECPrivateKeyUnitTest, CreateFromPrivateKeyInfo) {
+ static const uint8_t kPrivateKeyInfo[] = {
+ 0x30, 0x81, 0x87, 0x02, 0x01, 0x00, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86,
+ 0x48, 0xce, 0x3d, 0x02, 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d,
+ 0x03, 0x01, 0x07, 0x04, 0x6d, 0x30, 0x6b, 0x02, 0x01, 0x01, 0x04, 0x20,
+ 0x07, 0x0f, 0x08, 0x72, 0x7a, 0xd4, 0xa0, 0x4a, 0x9c, 0xdd, 0x59, 0xc9,
+ 0x4d, 0x89, 0x68, 0x77, 0x08, 0xb5, 0x6f, 0xc9, 0x5d, 0x30, 0x77, 0x0e,
+ 0xe8, 0xd1, 0xc9, 0xce, 0x0a, 0x8b, 0xb4, 0x6a, 0xa1, 0x44, 0x03, 0x42,
+ 0x00, 0x04, 0xe6, 0x2b, 0x69, 0xe2, 0xbf, 0x65, 0x9f, 0x97, 0xbe, 0x2f,
+ 0x1e, 0x0d, 0x94, 0x8a, 0x4c, 0xd5, 0x97, 0x6b, 0xb7, 0xa9, 0x1e, 0x0d,
+ 0x46, 0xfb, 0xdd, 0xa9, 0xa9, 0x1e, 0x9d, 0xdc, 0xba, 0x5a, 0x01, 0xe7,
+ 0xd6, 0x97, 0xa8, 0x0a, 0x18, 0xf9, 0xc3, 0xc4, 0xa3, 0x1e, 0x56, 0xe2,
+ 0x7c, 0x83, 0x48, 0xdb, 0x16, 0x1a, 0x1c, 0xf5, 0x1d, 0x7e, 0xf1, 0x94,
+ 0x2d, 0x4b, 0xcf, 0x72, 0x22, 0xc1,
+ };
+ static const uint8_t kSubjectPublicKeyInfo[] = {
+ 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02,
+ 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03,
+ 0x42, 0x00, 0x04, 0xe6, 0x2b, 0x69, 0xe2, 0xbf, 0x65, 0x9f, 0x97, 0xbe,
+ 0x2f, 0x1e, 0x0d, 0x94, 0x8a, 0x4c, 0xd5, 0x97, 0x6b, 0xb7, 0xa9, 0x1e,
+ 0x0d, 0x46, 0xfb, 0xdd, 0xa9, 0xa9, 0x1e, 0x9d, 0xdc, 0xba, 0x5a, 0x01,
+ 0xe7, 0xd6, 0x97, 0xa8, 0x0a, 0x18, 0xf9, 0xc3, 0xc4, 0xa3, 0x1e, 0x56,
+ 0xe2, 0x7c, 0x83, 0x48, 0xdb, 0x16, 0x1a, 0x1c, 0xf5, 0x1d, 0x7e, 0xf1,
+ 0x94, 0x2d, 0x4b, 0xcf, 0x72, 0x22, 0xc1,
+ };
+ static const uint8_t kRawPublicKey[] = {
+ 0x04, 0xe6, 0x2b, 0x69, 0xe2, 0xbf, 0x65, 0x9f, 0x97, 0xbe, 0x2f,
+ 0x1e, 0x0d, 0x94, 0x8a, 0x4c, 0xd5, 0x97, 0x6b, 0xb7, 0xa9, 0x1e,
+ 0x0d, 0x46, 0xfb, 0xdd, 0xa9, 0xa9, 0x1e, 0x9d, 0xdc, 0xba, 0x5a,
+ 0x01, 0xe7, 0xd6, 0x97, 0xa8, 0x0a, 0x18, 0xf9, 0xc3, 0xc4, 0xa3,
+ 0x1e, 0x56, 0xe2, 0x7c, 0x83, 0x48, 0xdb, 0x16, 0x1a, 0x1c, 0xf5,
+ 0x1d, 0x7e, 0xf1, 0x94, 0x2d, 0x4b, 0xcf, 0x72, 0x22, 0xc1,
+ };
+
+ std::unique_ptr<crypto::ECPrivateKey> key =
+ crypto::ECPrivateKey::CreateFromPrivateKeyInfo(std::vector<uint8_t>(
+ std::begin(kPrivateKeyInfo), std::end(kPrivateKeyInfo)));
+ ASSERT_TRUE(key);
+
+ std::vector<uint8_t> public_key;
+ ASSERT_TRUE(key->ExportPublicKey(&public_key));
+ EXPECT_EQ(std::vector<uint8_t>(std::begin(kSubjectPublicKeyInfo),
+ std::end(kSubjectPublicKeyInfo)),
+ public_key);
+
+ std::string raw_public_key;
+ ASSERT_TRUE(key->ExportRawPublicKey(&raw_public_key));
+ EXPECT_EQ(std::string(reinterpret_cast<const char*>(kRawPublicKey),
+ sizeof(kRawPublicKey)),
+ raw_public_key);
+}
+
+TEST(ECPrivateKeyUnitTest, RSAPrivateKeyInfo) {
+ static const uint8_t kPrivateKeyInfo[] = {
+ 0x30, 0x82, 0x02, 0x78, 0x02, 0x01, 0x00, 0x30, 0x0d, 0x06, 0x09, 0x2a,
+ 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x01, 0x05, 0x00, 0x04, 0x82,
+ 0x02, 0x62, 0x30, 0x82, 0x02, 0x5e, 0x02, 0x01, 0x00, 0x02, 0x81, 0x81,
+ 0x00, 0xb8, 0x7f, 0x2b, 0x20, 0xdc, 0x7c, 0x9b, 0x0c, 0xdc, 0x51, 0x61,
+ 0x99, 0x0d, 0x36, 0x0f, 0xd4, 0x66, 0x88, 0x08, 0x55, 0x84, 0xd5, 0x3a,
+ 0xbf, 0x2b, 0xa4, 0x64, 0x85, 0x7b, 0x0c, 0x04, 0x13, 0x3f, 0x8d, 0xf4,
+ 0xbc, 0x38, 0x0d, 0x49, 0xfe, 0x6b, 0xc4, 0x5a, 0xb0, 0x40, 0x53, 0x3a,
+ 0xd7, 0x66, 0x09, 0x0f, 0x9e, 0x36, 0x74, 0x30, 0xda, 0x8a, 0x31, 0x4f,
+ 0x1f, 0x14, 0x50, 0xd7, 0xc7, 0x20, 0x94, 0x17, 0xde, 0x4e, 0xb9, 0x57,
+ 0x5e, 0x7e, 0x0a, 0xe5, 0xb2, 0x65, 0x7a, 0x89, 0x4e, 0xb6, 0x47, 0xff,
+ 0x1c, 0xbd, 0xb7, 0x38, 0x13, 0xaf, 0x47, 0x85, 0x84, 0x32, 0x33, 0xf3,
+ 0x17, 0x49, 0xbf, 0xe9, 0x96, 0xd0, 0xd6, 0x14, 0x6f, 0x13, 0x8d, 0xc5,
+ 0xfc, 0x2c, 0x72, 0xba, 0xac, 0xea, 0x7e, 0x18, 0x53, 0x56, 0xa6, 0x83,
+ 0xa2, 0xce, 0x93, 0x93, 0xe7, 0x1f, 0x0f, 0xe6, 0x0f, 0x02, 0x03, 0x01,
+ 0x00, 0x01, 0x02, 0x81, 0x80, 0x03, 0x61, 0x89, 0x37, 0xcb, 0xf2, 0x98,
+ 0xa0, 0xce, 0xb4, 0xcb, 0x16, 0x13, 0xf0, 0xe6, 0xaf, 0x5c, 0xc5, 0xa7,
+ 0x69, 0x71, 0xca, 0xba, 0x8d, 0xe0, 0x4d, 0xdd, 0xed, 0xb8, 0x48, 0x8b,
+ 0x16, 0x93, 0x36, 0x95, 0xc2, 0x91, 0x40, 0x65, 0x17, 0xbd, 0x7f, 0xd6,
+ 0xad, 0x9e, 0x30, 0x28, 0x46, 0xe4, 0x3e, 0xcc, 0x43, 0x78, 0xf9, 0xfe,
+ 0x1f, 0x33, 0x23, 0x1e, 0x31, 0x12, 0x9d, 0x3c, 0xa7, 0x08, 0x82, 0x7b,
+ 0x7d, 0x25, 0x4e, 0x5e, 0x19, 0xa8, 0x9b, 0xed, 0x86, 0xb2, 0xcb, 0x3c,
+ 0xfe, 0x4e, 0xa1, 0xfa, 0x62, 0x87, 0x3a, 0x17, 0xf7, 0x60, 0xec, 0x38,
+ 0x29, 0xe8, 0x4f, 0x34, 0x9f, 0x76, 0x9d, 0xee, 0xa3, 0xf6, 0x85, 0x6b,
+ 0x84, 0x43, 0xc9, 0x1e, 0x01, 0xff, 0xfd, 0xd0, 0x29, 0x4c, 0xfa, 0x8e,
+ 0x57, 0x0c, 0xc0, 0x71, 0xa5, 0xbb, 0x88, 0x46, 0x29, 0x5c, 0xc0, 0x4f,
+ 0x01, 0x02, 0x41, 0x00, 0xf5, 0x83, 0xa4, 0x64, 0x4a, 0xf2, 0xdd, 0x8c,
+ 0x2c, 0xed, 0xa8, 0xd5, 0x60, 0x5a, 0xe4, 0xc7, 0xcc, 0x61, 0xcd, 0x38,
+ 0x42, 0x20, 0xd3, 0x82, 0x18, 0xf2, 0x35, 0x00, 0x72, 0x2d, 0xf7, 0x89,
+ 0x80, 0x67, 0xb5, 0x93, 0x05, 0x5f, 0xdd, 0x42, 0xba, 0x16, 0x1a, 0xea,
+ 0x15, 0xc6, 0xf0, 0xb8, 0x8c, 0xbc, 0xbf, 0x54, 0x9e, 0xf1, 0xc1, 0xb2,
+ 0xb3, 0x8b, 0xb6, 0x26, 0x02, 0x30, 0xc4, 0x81, 0x02, 0x41, 0x00, 0xc0,
+ 0x60, 0x62, 0x80, 0xe1, 0x22, 0x78, 0xf6, 0x9d, 0x83, 0x18, 0xeb, 0x72,
+ 0x45, 0xd7, 0xc8, 0x01, 0x7f, 0xa9, 0xca, 0x8f, 0x7d, 0xd6, 0xb8, 0x31,
+ 0x2b, 0x84, 0x7f, 0x62, 0xd9, 0xa9, 0x22, 0x17, 0x7d, 0x06, 0x35, 0x6c,
+ 0xf3, 0xc1, 0x94, 0x17, 0x85, 0x5a, 0xaf, 0x9c, 0x5c, 0x09, 0x3c, 0xcf,
+ 0x2f, 0x44, 0x9d, 0xb6, 0x52, 0x68, 0x5f, 0xf9, 0x59, 0xc8, 0x84, 0x2b,
+ 0x39, 0x22, 0x8f, 0x02, 0x41, 0x00, 0xb2, 0x04, 0xe2, 0x0e, 0x56, 0xca,
+ 0x03, 0x1a, 0xc0, 0xf9, 0x12, 0x92, 0xa5, 0x6b, 0x42, 0xb8, 0x1c, 0xda,
+ 0x4d, 0x93, 0x9d, 0x5f, 0x6f, 0xfd, 0xc5, 0x58, 0xda, 0x55, 0x98, 0x74,
+ 0xfc, 0x28, 0x17, 0x93, 0x1b, 0x75, 0x9f, 0x50, 0x03, 0x7f, 0x7e, 0xae,
+ 0xc8, 0x95, 0x33, 0x75, 0x2c, 0xd6, 0xa4, 0x35, 0xb8, 0x06, 0x03, 0xba,
+ 0x08, 0x59, 0x2b, 0x17, 0x02, 0xdc, 0x4c, 0x7a, 0x50, 0x01, 0x02, 0x41,
+ 0x00, 0x9d, 0xdb, 0x39, 0x59, 0x09, 0xe4, 0x30, 0xa0, 0x24, 0xf5, 0xdb,
+ 0x2f, 0xf0, 0x2f, 0xf1, 0x75, 0x74, 0x0d, 0x5e, 0xb5, 0x11, 0x73, 0xb0,
+ 0x0a, 0xaa, 0x86, 0x4c, 0x0d, 0xff, 0x7e, 0x1d, 0xb4, 0x14, 0xd4, 0x09,
+ 0x91, 0x33, 0x5a, 0xfd, 0xa0, 0x58, 0x80, 0x9b, 0xbe, 0x78, 0x2e, 0x69,
+ 0x82, 0x15, 0x7c, 0x72, 0xf0, 0x7b, 0x18, 0x39, 0xff, 0x6e, 0xeb, 0xc6,
+ 0x86, 0xf5, 0xb4, 0xc7, 0x6f, 0x02, 0x41, 0x00, 0x8d, 0x1a, 0x37, 0x0f,
+ 0x76, 0xc4, 0x82, 0xfa, 0x5c, 0xc3, 0x79, 0x35, 0x3e, 0x70, 0x8a, 0xbf,
+ 0x27, 0x49, 0xb0, 0x99, 0x63, 0xcb, 0x77, 0x5f, 0xa8, 0x82, 0x65, 0xf6,
+ 0x03, 0x52, 0x51, 0xf1, 0xae, 0x2e, 0x05, 0xb3, 0xc6, 0xa4, 0x92, 0xd1,
+ 0xce, 0x6c, 0x72, 0xfb, 0x21, 0xb3, 0x02, 0x87, 0xe4, 0xfd, 0x61, 0xca,
+ 0x00, 0x42, 0x19, 0xf0, 0xda, 0x5a, 0x53, 0xe3, 0xb1, 0xc5, 0x15, 0xf3,
+ };
+
+ std::unique_ptr<crypto::ECPrivateKey> key =
+ crypto::ECPrivateKey::CreateFromPrivateKeyInfo(std::vector<uint8_t>(
+ std::begin(kPrivateKeyInfo), std::end(kPrivateKeyInfo)));
+ EXPECT_FALSE(key);
+}
+
+TEST(ECPrivateKeyUnitTest, LoadNSSKeyTest) {
+ static const uint8_t kNSSKey[] = {
+ 0x30, 0x81, 0xb8, 0x30, 0x23, 0x06, 0x0a, 0x2a, 0x86, 0x48, 0x86, 0xf7,
+ 0x0d, 0x01, 0x0c, 0x01, 0x03, 0x30, 0x15, 0x04, 0x10, 0x3f, 0xac, 0xe9,
+ 0x38, 0xdb, 0x40, 0x6b, 0x26, 0x89, 0x09, 0x73, 0x18, 0x8d, 0x7f, 0x1c,
+ 0x82, 0x02, 0x01, 0x01, 0x04, 0x81, 0x90, 0x5e, 0x5e, 0x11, 0xef, 0xbb,
+ 0x7c, 0x4d, 0xec, 0xc0, 0xdc, 0xc7, 0x23, 0xd2, 0xc4, 0x77, 0xbc, 0xf4,
+ 0x5d, 0x59, 0x4c, 0x07, 0xc2, 0x8a, 0x26, 0xfa, 0x25, 0x1c, 0xaa, 0x42,
+ 0xed, 0xd0, 0xed, 0xbb, 0x5c, 0xe9, 0x13, 0x07, 0xaa, 0xdd, 0x52, 0x3c,
+ 0x65, 0x25, 0xbf, 0x94, 0x02, 0xaf, 0xd6, 0x97, 0xe9, 0x33, 0x00, 0x76,
+ 0x64, 0x4a, 0x73, 0xab, 0xfb, 0x99, 0x6e, 0x83, 0x12, 0x05, 0x86, 0x72,
+ 0x6c, 0xd5, 0xa4, 0xcf, 0xb1, 0xd5, 0x4d, 0x54, 0x87, 0x8b, 0x4b, 0x95,
+ 0x1d, 0xcd, 0xf3, 0xfe, 0xa8, 0xda, 0xe0, 0xb6, 0x72, 0x13, 0x3f, 0x2e,
+ 0x66, 0xe0, 0xb9, 0x2e, 0xfa, 0x69, 0x40, 0xbe, 0xd7, 0x67, 0x6e, 0x53,
+ 0x2b, 0x3f, 0x53, 0xe5, 0x39, 0x54, 0x77, 0xe1, 0x1d, 0xe6, 0x81, 0x92,
+ 0x58, 0x82, 0x14, 0xfb, 0x47, 0x85, 0x3c, 0xc3, 0xdf, 0xdd, 0xcc, 0x79,
+ 0x9f, 0x41, 0x83, 0x72, 0xf2, 0x0a, 0xe9, 0xe1, 0x2c, 0x12, 0xb0, 0xb0,
+ 0x0a, 0xb2, 0x1d, 0xca, 0x15, 0xb2, 0xca,
+ };
+
+ std::unique_ptr<crypto::ECPrivateKey> keypair_nss(
+ crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
+ std::vector<uint8_t>(std::begin(kNSSKey), std::end(kNSSKey))));
+
+ EXPECT_TRUE(keypair_nss);
+}
+
+TEST(ECPrivateKeyUnitTest, LoadOpenSSLKeyTest) {
+ static const uint8_t kOpenSSLKey[] = {
+ 0x30, 0x81, 0xb0, 0x30, 0x1b, 0x06, 0x0a, 0x2a, 0x86, 0x48, 0x86, 0xf7,
+ 0x0d, 0x01, 0x0c, 0x01, 0x03, 0x30, 0x0d, 0x04, 0x08, 0xb2, 0xfe, 0x68,
+ 0xc2, 0xea, 0x0f, 0x10, 0x9c, 0x02, 0x01, 0x01, 0x04, 0x81, 0x90, 0xe2,
+ 0xf6, 0x1c, 0xca, 0xad, 0x64, 0x30, 0xbf, 0x88, 0x04, 0x35, 0xe5, 0x0f,
+ 0x11, 0x49, 0x06, 0x01, 0x14, 0x33, 0x80, 0xa2, 0x78, 0x44, 0x5b, 0xaa,
+ 0x0d, 0xd7, 0x00, 0x36, 0x9d, 0x91, 0x97, 0x37, 0x20, 0x7b, 0x27, 0xc1,
+ 0xa0, 0xa2, 0x73, 0x06, 0x15, 0xdf, 0xc8, 0x13, 0x9b, 0xc9, 0x8c, 0x9c,
+ 0xce, 0x00, 0xd0, 0xc8, 0x42, 0xc1, 0xda, 0x2b, 0x07, 0x2b, 0x12, 0xa3,
+ 0xce, 0x10, 0x39, 0x7a, 0xf1, 0x55, 0x69, 0x8d, 0xa5, 0xc4, 0x2a, 0x00,
+ 0x0d, 0x94, 0xc6, 0xde, 0x6a, 0x3d, 0xb7, 0xe5, 0x6d, 0x59, 0x3e, 0x09,
+ 0xb5, 0xe3, 0x3e, 0xfc, 0x50, 0x56, 0xe9, 0x50, 0x42, 0x7c, 0xe7, 0xf0,
+ 0x19, 0xbd, 0x31, 0xa7, 0x85, 0x47, 0xb3, 0xe9, 0xb3, 0x50, 0x3c, 0xc9,
+ 0x32, 0x37, 0x1a, 0x93, 0x78, 0x48, 0x78, 0x82, 0xde, 0xad, 0x5c, 0xf2,
+ 0xcf, 0xf2, 0xbb, 0x2c, 0x44, 0x05, 0x7f, 0x4a, 0xf9, 0xb1, 0x2b, 0xdd,
+ 0x49, 0xf6, 0x7e, 0xd0, 0x42, 0xaa, 0x14, 0x3c, 0x24, 0x77, 0xb4,
+ };
+ static const uint8_t kOpenSSLPublicKey[] = {
+ 0x30, 0x59, 0x30, 0x13, 0x06, 0x07, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x02,
+ 0x01, 0x06, 0x08, 0x2a, 0x86, 0x48, 0xce, 0x3d, 0x03, 0x01, 0x07, 0x03,
+ 0x42, 0x00, 0x04, 0xb9, 0xda, 0x0d, 0x71, 0x60, 0xb3, 0x63, 0x28, 0x22,
+ 0x67, 0xe7, 0xe0, 0xa3, 0xf8, 0x00, 0x8e, 0x4c, 0x89, 0xed, 0x31, 0x34,
+ 0xf6, 0xdb, 0xc4, 0xfe, 0x0b, 0x5d, 0xe1, 0x11, 0x39, 0x49, 0xa6, 0x50,
+ 0xa8, 0xe3, 0x4a, 0xc0, 0x40, 0x88, 0xb8, 0x38, 0x3f, 0x56, 0xfb, 0x33,
+ 0x8d, 0xd4, 0x64, 0x91, 0xd6, 0x15, 0x77, 0x42, 0x27, 0xc5, 0xaa, 0x44,
+ 0xff, 0xab, 0x4d, 0xb5, 0x7e, 0x25, 0x3d,
+ };
+ static const uint8_t kOpenSSLRawPublicKey[] = {
+ 0x04, 0xb9, 0xda, 0x0d, 0x71, 0x60, 0xb3, 0x63, 0x28, 0x22, 0x67,
+ 0xe7, 0xe0, 0xa3, 0xf8, 0x00, 0x8e, 0x4c, 0x89, 0xed, 0x31, 0x34,
+ 0xf6, 0xdb, 0xc4, 0xfe, 0x0b, 0x5d, 0xe1, 0x11, 0x39, 0x49, 0xa6,
+ 0x50, 0xa8, 0xe3, 0x4a, 0xc0, 0x40, 0x88, 0xb8, 0x38, 0x3f, 0x56,
+ 0xfb, 0x33, 0x8d, 0xd4, 0x64, 0x91, 0xd6, 0x15, 0x77, 0x42, 0x27,
+ 0xc5, 0xaa, 0x44, 0xff, 0xab, 0x4d, 0xb5, 0x7e, 0x25, 0x3d,
+ };
+
+ std::unique_ptr<crypto::ECPrivateKey> keypair_openssl(
+ crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
+ std::vector<uint8_t>(std::begin(kOpenSSLKey),
+ std::end(kOpenSSLKey))));
+
+ EXPECT_TRUE(keypair_openssl);
+
+ std::vector<uint8_t> public_key;
+ EXPECT_TRUE(keypair_openssl->ExportPublicKey(&public_key));
+ EXPECT_EQ(std::vector<uint8_t>(std::begin(kOpenSSLPublicKey),
+ std::end(kOpenSSLPublicKey)),
+ public_key);
+
+ std::string raw_public_key;
+ EXPECT_TRUE(keypair_openssl->ExportRawPublicKey(&raw_public_key));
+ EXPECT_EQ(std::string(reinterpret_cast<const char*>(kOpenSSLRawPublicKey),
+ std::size(kOpenSSLRawPublicKey)),
+ raw_public_key);
+}
+
+// The Android code writes out Channel IDs differently from the NSS
+// implementation; the empty password is converted to "\0\0". The OpenSSL port
+// should support either.
+TEST(ECPrivateKeyUnitTest, LoadOldOpenSSLKeyTest) {
+ static const uint8_t kOpenSSLKey[] = {
+ 0x30, 0x82, 0x01, 0xa1, 0x30, 0x1b, 0x06, 0x0a, 0x2a, 0x86, 0x48, 0x86,
+ 0xf7, 0x0d, 0x01, 0x0c, 0x01, 0x03, 0x30, 0x0d, 0x04, 0x08, 0x86, 0xaa,
+ 0xd7, 0xdf, 0x3b, 0x91, 0x97, 0x60, 0x02, 0x01, 0x01, 0x04, 0x82, 0x01,
+ 0x80, 0xcb, 0x2a, 0x14, 0xaa, 0x4f, 0x38, 0x4c, 0xe1, 0x49, 0x00, 0xe2,
+ 0x1a, 0x3a, 0x75, 0x87, 0x7e, 0x3d, 0xea, 0x4d, 0x53, 0xd4, 0x46, 0x47,
+ 0x23, 0x8f, 0xa1, 0x72, 0x51, 0x92, 0x86, 0x8b, 0xeb, 0x53, 0xe6, 0x6a,
+ 0x0a, 0x6b, 0xb6, 0xa0, 0xdc, 0x0f, 0xdc, 0x20, 0xc3, 0x45, 0x85, 0xf1,
+ 0x95, 0x90, 0x5c, 0xf4, 0xfa, 0xee, 0x47, 0xaf, 0x35, 0xd0, 0xd0, 0xd3,
+ 0x14, 0xde, 0x0d, 0xca, 0x1b, 0xd3, 0xbb, 0x20, 0xec, 0x9d, 0x6a, 0xd4,
+ 0xc1, 0xce, 0x60, 0x81, 0xab, 0x0c, 0x72, 0x10, 0xfa, 0x28, 0x3c, 0xac,
+ 0x87, 0x7b, 0x82, 0x85, 0x00, 0xb8, 0x58, 0x9c, 0x07, 0xc4, 0x7d, 0xa9,
+ 0xc5, 0x94, 0x95, 0xf7, 0x23, 0x93, 0x3f, 0xed, 0xef, 0x92, 0x55, 0x25,
+ 0x74, 0xbb, 0xd3, 0xd1, 0x67, 0x3b, 0x3d, 0x5a, 0xfe, 0x84, 0xf8, 0x97,
+ 0x7d, 0x7c, 0x01, 0xc7, 0xd7, 0x0d, 0xf8, 0xc3, 0x6d, 0xd6, 0xf1, 0xaa,
+ 0x9d, 0x1f, 0x69, 0x97, 0x45, 0x06, 0xc4, 0x1c, 0x95, 0x3c, 0xe0, 0xef,
+ 0x11, 0xb2, 0xb3, 0x72, 0x91, 0x9e, 0x7d, 0x0f, 0x7f, 0xc8, 0xf6, 0x64,
+ 0x49, 0x5e, 0x3c, 0x53, 0x37, 0x79, 0x03, 0x1c, 0x3f, 0x29, 0x6c, 0x6b,
+ 0xea, 0x4c, 0x35, 0x9b, 0x6d, 0x1b, 0x59, 0x43, 0x4c, 0x14, 0x47, 0x2a,
+ 0x36, 0x39, 0x2a, 0xd8, 0x96, 0x90, 0xdc, 0xfc, 0xd2, 0xdd, 0x23, 0x0e,
+ 0x2c, 0xb3, 0x83, 0xf9, 0xf2, 0xe3, 0xe6, 0x99, 0x53, 0x57, 0x33, 0xc5,
+ 0x5f, 0xf9, 0xfd, 0x56, 0x0b, 0x32, 0xd4, 0xf3, 0x9d, 0x5b, 0x34, 0xe5,
+ 0x94, 0xbf, 0xb6, 0xc0, 0xce, 0xe1, 0x73, 0x5c, 0x02, 0x7a, 0x4c, 0xed,
+ 0xde, 0x23, 0x38, 0x89, 0x9f, 0xcd, 0x51, 0xf3, 0x90, 0x80, 0xd3, 0x4b,
+ 0x83, 0xd3, 0xee, 0xf2, 0x9e, 0x35, 0x91, 0xa5, 0xa3, 0xc0, 0x5c, 0xce,
+ 0xdb, 0xaa, 0x70, 0x1e, 0x1d, 0xc1, 0x44, 0xea, 0x3b, 0xa7, 0x5a, 0x11,
+ 0xd1, 0xf3, 0xf3, 0xd0, 0xf4, 0x5a, 0xc4, 0x99, 0xaf, 0x8d, 0xe2, 0xbc,
+ 0xa2, 0xb9, 0x3d, 0x86, 0x5e, 0xba, 0xa0, 0xdf, 0x78, 0x81, 0x7c, 0x54,
+ 0x31, 0xe3, 0x98, 0xb5, 0x46, 0xcb, 0x4d, 0x26, 0x4b, 0xf8, 0xac, 0x3a,
+ 0x54, 0x1b, 0x77, 0x5a, 0x18, 0xa5, 0x43, 0x0e, 0x14, 0xde, 0x7b, 0xb7,
+ 0x4e, 0x45, 0x99, 0x03, 0xd1, 0x3d, 0x18, 0xb2, 0x36, 0x00, 0x48, 0x07,
+ 0x72, 0xbb, 0x4f, 0x21, 0x25, 0x3e, 0xda, 0x25, 0x24, 0x5b, 0xc8, 0xa0,
+ 0x28, 0xd5, 0x9b, 0x96, 0x87, 0x07, 0x77, 0x84, 0xff, 0xd7, 0xac, 0x71,
+ 0xf6, 0x61, 0x63, 0x0b, 0xfb, 0x42, 0xfd, 0x52, 0xf4, 0xc4, 0x35, 0x0c,
+ 0xc2, 0xc1, 0x55, 0x22, 0x42, 0x2f, 0x13, 0x7d, 0x93, 0x27, 0xc8, 0x11,
+ 0x35, 0xc5, 0xe3, 0xc5, 0xaa, 0x15, 0x3c, 0xac, 0x30, 0xbc, 0x45, 0x16,
+ 0xed,
+ };
+
+ std::unique_ptr<crypto::ECPrivateKey> keypair_openssl(
+ crypto::ECPrivateKey::CreateFromEncryptedPrivateKeyInfo(
+ std::vector<uint8_t>(std::begin(kOpenSSLKey),
+ std::end(kOpenSSLKey))));
+
+ EXPECT_TRUE(keypair_openssl);
+}
diff --git a/chromium/third_party/nearby/src/internal/crypto/ec_signature_creator.cc b/chromium/third_party/nearby/src/internal/crypto/ec_signature_creator.cc
new file mode 100644
index 00000000000..499a1641a43
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/ec_signature_creator.cc
@@ -0,0 +1,30 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/ec_signature_creator.h"
+
+#include <memory>
+
+#include "internal/crypto/ec_signature_creator_impl.h"
+#include "internal/platform/logging.h"
+
+namespace crypto {
+
+// static
+std::unique_ptr<ECSignatureCreator> ECSignatureCreator::Create(
+ ECPrivateKey* key) {
+ return std::make_unique<ECSignatureCreatorImpl>(key);
+}
+
+} // namespace crypto
diff --git a/chromium/third_party/nearby/src/internal/crypto/ec_signature_creator.h b/chromium/third_party/nearby/src/internal/crypto/ec_signature_creator.h
new file mode 100644
index 00000000000..a87fa9b9e46
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/ec_signature_creator.h
@@ -0,0 +1,65 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_EC_SIGNATURE_CREATOR_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_EC_SIGNATURE_CREATOR_H_
+
+#include <stdint.h>
+
+#include <memory>
+#include <string>
+#include <vector>
+
+#include "absl/types/span.h"
+#include "internal/crypto/crypto_export.h"
+
+namespace crypto {
+
+class ECPrivateKey;
+class ECSignatureCreator;
+
+// Signs data using a bare private key (as opposed to a full certificate).
+// We need this class because SignatureCreator is hardcoded to use
+// RSAPrivateKey.
+class CRYPTO_EXPORT ECSignatureCreator {
+ public:
+ virtual ~ECSignatureCreator() {}
+
+ // Create an instance. The caller must ensure that the provided PrivateKey
+ // instance outlives the created ECSignatureCreator.
+ // TODO(rch): This is currently hard coded to use SHA256. Ideally, we should
+ // pass in the hash algorithm identifier.
+ static std::unique_ptr<ECSignatureCreator> Create(ECPrivateKey* key);
+
+ // Signs |data| and writes the results into |signature| as a DER encoded
+ // ECDSA-Sig-Value from RFC 3279.
+ //
+ // ECDSA-Sig-Value ::= SEQUENCE {
+ // r INTEGER,
+ // s INTEGER }
+ virtual bool Sign(absl::Span<const uint8_t> data,
+ std::vector<uint8_t>* signature) = 0;
+
+ // DecodeSignature converts from a DER encoded ECDSA-Sig-Value (as produced
+ // by Sign) to a `raw' ECDSA signature which consists of a pair of
+ // big-endian, zero-padded, 256-bit integers, r and s. On success it returns
+ // true and puts the raw signature into |out_raw_sig|.
+ // (Only P-256 signatures are supported.)
+ virtual bool DecodeSignature(const std::vector<uint8_t>& signature,
+ std::vector<uint8_t>* out_raw_sig) = 0;
+};
+
+} // namespace crypto
+
+#endif // THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_EC_SIGNATURE_CREATOR_H_
diff --git a/chromium/third_party/nearby/src/internal/crypto/ec_signature_creator_impl.cc b/chromium/third_party/nearby/src/internal/crypto/ec_signature_creator_impl.cc
new file mode 100644
index 00000000000..e302c1bcba2
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/ec_signature_creator_impl.cc
@@ -0,0 +1,83 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/ec_signature_creator_impl.h"
+
+#include <stddef.h>
+#include <stdint.h>
+
+#include <vector>
+
+#include "internal/crypto/ec_private_key.h"
+#include "internal/crypto/openssl_util.h"
+#include <openssl/bn.h>
+#include <openssl/ec.h>
+#include <openssl/ecdsa.h>
+#include <openssl/evp.h>
+#include <openssl/sha.h>
+
+namespace crypto {
+
+ECSignatureCreatorImpl::ECSignatureCreatorImpl(ECPrivateKey* key) : key_(key) {
+ EnsureOpenSSLInit();
+}
+
+ECSignatureCreatorImpl::~ECSignatureCreatorImpl() = default;
+
+bool ECSignatureCreatorImpl::Sign(absl::Span<const uint8_t> data,
+ std::vector<uint8_t>* signature) {
+ OpenSSLErrStackTracer err_tracer;
+ bssl::ScopedEVP_MD_CTX ctx;
+ size_t sig_len = 0;
+ if (!ctx.get() ||
+ !EVP_DigestSignInit(ctx.get(), nullptr, EVP_sha256(), nullptr,
+ key_->key()) ||
+ !EVP_DigestSignUpdate(ctx.get(), data.data(), data.size()) ||
+ !EVP_DigestSignFinal(ctx.get(), nullptr, &sig_len)) {
+ return false;
+ }
+
+ signature->resize(sig_len);
+ if (!EVP_DigestSignFinal(ctx.get(), &signature->front(), &sig_len))
+ return false;
+
+ // NOTE: A call to EVP_DigestSignFinal() with a nullptr second parameter
+ // returns a maximum allocation size, while the call without a nullptr
+ // returns the real one, which may be smaller.
+ signature->resize(sig_len);
+ return true;
+}
+
+bool ECSignatureCreatorImpl::DecodeSignature(
+ const std::vector<uint8_t>& der_sig, std::vector<uint8_t>* out_raw_sig) {
+ OpenSSLErrStackTracer err_tracer;
+ // Create ECDSA_SIG object from DER-encoded data.
+ bssl::UniquePtr<ECDSA_SIG> ecdsa_sig(
+ ECDSA_SIG_from_bytes(der_sig.data(), der_sig.size()));
+ if (!ecdsa_sig.get()) return false;
+
+ // The result is made of two 32-byte vectors.
+ const size_t kMaxBytesPerBN = 32;
+ std::vector<uint8_t> result(2 * kMaxBytesPerBN);
+
+ if (!BN_bn2bin_padded(&result[0], kMaxBytesPerBN, ecdsa_sig->r) ||
+ !BN_bn2bin_padded(&result[kMaxBytesPerBN], kMaxBytesPerBN,
+ ecdsa_sig->s)) {
+ return false;
+ }
+ out_raw_sig->swap(result);
+ return true;
+}
+
+} // namespace crypto
diff --git a/chromium/third_party/nearby/src/internal/crypto/ec_signature_creator_impl.h b/chromium/third_party/nearby/src/internal/crypto/ec_signature_creator_impl.h
new file mode 100644
index 00000000000..74599886dd5
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/ec_signature_creator_impl.h
@@ -0,0 +1,48 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_EC_SIGNATURE_CREATOR_IMPL_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_EC_SIGNATURE_CREATOR_IMPL_H_
+
+#include <stdint.h>
+
+#include <vector>
+
+#include "absl/types/span.h"
+#include "internal/crypto/ec_signature_creator.h"
+
+namespace crypto {
+
+class ECSignatureCreatorImpl : public ECSignatureCreator {
+ public:
+ explicit ECSignatureCreatorImpl(ECPrivateKey* key);
+
+ ECSignatureCreatorImpl(const ECSignatureCreatorImpl&) = delete;
+ ECSignatureCreatorImpl& operator=(const ECSignatureCreatorImpl&) = delete;
+
+ ~ECSignatureCreatorImpl() override;
+
+ bool Sign(absl::Span<const uint8_t> data,
+ std::vector<uint8_t>* signature) override;
+
+ bool DecodeSignature(const std::vector<uint8_t>& der_sig,
+ std::vector<uint8_t>* out_raw_sig) override;
+
+ private:
+ ECPrivateKey* key_;
+};
+
+} // namespace crypto
+
+#endif // THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_EC_SIGNATURE_CREATOR_IMPL_H_
diff --git a/chromium/third_party/nearby/src/internal/crypto/ec_signature_creator_unittest.cc b/chromium/third_party/nearby/src/internal/crypto/ec_signature_creator_unittest.cc
new file mode 100644
index 00000000000..e4eab224311
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/ec_signature_creator_unittest.cc
@@ -0,0 +1,61 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/ec_signature_creator.h"
+
+#include <stdint.h>
+
+#include <memory>
+#include <string>
+#include <vector>
+
+#include "gtest/gtest.h"
+#include "absl/types/span.h"
+#include "internal/crypto/ec_private_key.h"
+#include "internal/crypto/nearby_base.h"
+#include "internal/crypto/signature_verifier.h"
+
+TEST(ECSignatureCreatorTest, BasicTest) {
+ // Do a verify round trip.
+ std::unique_ptr<crypto::ECPrivateKey> key_original(
+ crypto::ECPrivateKey::Create());
+ ASSERT_TRUE(key_original);
+
+ std::vector<uint8_t> key_info;
+ ASSERT_TRUE(key_original->ExportPrivateKey(&key_info));
+
+ std::unique_ptr<crypto::ECPrivateKey> key(
+ crypto::ECPrivateKey::CreateFromPrivateKeyInfo(key_info));
+ ASSERT_TRUE(key);
+ ASSERT_TRUE(key->key());
+
+ std::unique_ptr<crypto::ECSignatureCreator> signer(
+ crypto::ECSignatureCreator::Create(key.get()));
+ ASSERT_TRUE(signer);
+
+ std::string data("Hello, World!");
+ std::vector<uint8_t> signature;
+ ASSERT_TRUE(
+ signer->Sign(nearbybase::as_bytes(absl::MakeSpan(data)), &signature));
+
+ std::vector<uint8_t> public_key_info;
+ ASSERT_TRUE(key_original->ExportPublicKey(&public_key_info));
+
+ crypto::SignatureVerifier verifier;
+ ASSERT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::ECDSA_SHA256,
+ signature, public_key_info));
+
+ verifier.VerifyUpdate(nearbybase::as_bytes(absl::MakeSpan(data)));
+ ASSERT_TRUE(verifier.VerifyFinal());
+}
diff --git a/chromium/third_party/nearby/src/internal/crypto/encryptor.cc b/chromium/third_party/nearby/src/internal/crypto/encryptor.cc
new file mode 100644
index 00000000000..b40a91bdd2f
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/encryptor.cc
@@ -0,0 +1,218 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/encryptor.h"
+
+#include <stddef.h>
+#include <stdint.h>
+
+#include <optional>
+#include <string>
+#include <utility>
+#include <vector>
+
+#include "absl/strings/string_view.h"
+#include "absl/types/span.h"
+#include "internal/crypto/nearby_base.h"
+#include "internal/crypto/openssl_util.h"
+#include "internal/crypto/symmetric_key.h"
+#include "internal/platform/logging.h"
+#include <openssl/aes.h>
+#include <openssl/evp.h>
+
+namespace crypto {
+
+namespace {
+
+const EVP_CIPHER* GetCipherForKey(const SymmetricKey* key) {
+ switch (key->key().length()) {
+ case 16:
+ return EVP_aes_128_cbc();
+ case 32:
+ return EVP_aes_256_cbc();
+ default:
+ return nullptr;
+ }
+}
+
+} // namespace
+
+/////////////////////////////////////////////////////////////////////////////
+// Encryptor Implementation.
+
+Encryptor::Encryptor() : key_(nullptr), mode_(CBC) {}
+
+Encryptor::~Encryptor() = default;
+
+bool Encryptor::Init(const SymmetricKey* key, Mode mode, absl::string_view iv) {
+ return Init(key, mode, nearbybase::as_bytes(absl::MakeSpan(iv)));
+}
+
+bool Encryptor::Init(const SymmetricKey* key, Mode mode,
+ absl::Span<const uint8_t> iv) {
+ DCHECK(key);
+ DCHECK(mode == CBC || mode == CTR);
+
+ EnsureOpenSSLInit();
+ if (mode == CBC && iv.size() != AES_BLOCK_SIZE) return false;
+ // CTR mode passes the starting counter separately, via SetCounter().
+ if (mode == CTR && !iv.empty()) return false;
+
+ if (GetCipherForKey(key) == nullptr) return false;
+
+ key_ = key;
+ mode_ = mode;
+ iv_.assign(iv.begin(), iv.end());
+ return true;
+}
+
+bool Encryptor::Encrypt(absl::string_view plaintext, std::string* ciphertext) {
+ DCHECK(!plaintext.empty() || mode_ == CBC);
+ return CryptString(/*do_encrypt=*/true, plaintext, ciphertext);
+}
+
+bool Encryptor::Encrypt(absl::Span<const uint8_t> plaintext,
+ std::vector<uint8_t>* ciphertext) {
+ DCHECK(!plaintext.empty() || mode_ == CBC);
+ return CryptBytes(/*do_encrypt=*/true, plaintext, ciphertext);
+}
+
+bool Encryptor::Decrypt(absl::string_view ciphertext, std::string* plaintext) {
+ DCHECK(!ciphertext.empty());
+ return CryptString(/*do_encrypt=*/false, ciphertext, plaintext);
+}
+
+bool Encryptor::Decrypt(absl::Span<const uint8_t> ciphertext,
+ std::vector<uint8_t>* plaintext) {
+ DCHECK(!ciphertext.empty());
+ return CryptBytes(/*do_encrypt=*/false, ciphertext, plaintext);
+}
+
+bool Encryptor::SetCounter(absl::string_view counter) {
+ return SetCounter(nearbybase::as_bytes(absl::MakeSpan(counter)));
+}
+
+bool Encryptor::SetCounter(absl::Span<const uint8_t> counter) {
+ if (mode_ != CTR) return false;
+ if (counter.size() != 16u) return false;
+
+ iv_.assign(counter.begin(), counter.end());
+ return true;
+}
+
+bool Encryptor::CryptString(bool do_encrypt, absl::string_view input,
+ std::string* output) {
+ size_t out_size = MaxOutput(do_encrypt, input.size());
+ CHECK_GT(out_size + 1, out_size); // Overflow
+ std::string result;
+ uint8_t* out_ptr =
+ reinterpret_cast<uint8_t*>(nearbybase::WriteInto(&result, out_size + 1));
+
+ absl::optional<size_t> len =
+ (mode_ == CTR)
+ ? CryptCTR(do_encrypt, nearbybase::as_bytes(absl::MakeSpan(input)),
+ absl::MakeSpan(out_ptr, out_size))
+ : Crypt(do_encrypt, nearbybase::as_bytes(absl::MakeSpan(input)),
+ absl::MakeSpan(out_ptr, out_size));
+ if (!len) return false;
+
+ result.resize(*len);
+ *output = std::move(result);
+ return true;
+}
+
+bool Encryptor::CryptBytes(bool do_encrypt, absl::Span<const uint8_t> input,
+ std::vector<uint8_t>* output) {
+ std::vector<uint8_t> result(MaxOutput(do_encrypt, input.size()));
+ absl::optional<size_t> len =
+ (mode_ == CTR) ? CryptCTR(do_encrypt, input, absl::MakeSpan(result))
+ : Crypt(do_encrypt, input, absl::MakeSpan(result));
+ if (!len) return false;
+
+ result.resize(*len);
+ *output = std::move(result);
+ return true;
+}
+
+size_t Encryptor::MaxOutput(bool do_encrypt, size_t length) {
+ size_t result = length + ((do_encrypt && mode_ == CBC) ? 16 : 0);
+ CHECK_GE(result, length); // Overflow
+ return result;
+}
+
+absl::optional<size_t> Encryptor::Crypt(bool do_encrypt,
+ absl::Span<const uint8_t> input,
+ absl::Span<uint8_t> output) {
+ DCHECK(key_); // Must call Init() before En/De-crypt.
+
+ const EVP_CIPHER* cipher = GetCipherForKey(key_);
+ DCHECK(cipher); // Already handled in Init();
+
+ const std::string& key = key_->key();
+ DCHECK_EQ(EVP_CIPHER_iv_length(cipher), iv_.size());
+ DCHECK_EQ(EVP_CIPHER_key_length(cipher), key.size());
+
+ OpenSSLErrStackTracer err_tracer;
+ bssl::ScopedEVP_CIPHER_CTX ctx;
+ if (!EVP_CipherInit_ex(ctx.get(), cipher, nullptr,
+ reinterpret_cast<const uint8_t*>(key.data()),
+ iv_.data(), do_encrypt)) {
+ return absl::nullopt;
+ }
+
+ // Encrypting needs a block size of space to allow for any padding.
+ CHECK_GE(output.size(), input.size() + (do_encrypt ? iv_.size() : 0));
+ int out_len;
+ if (!EVP_CipherUpdate(ctx.get(), output.data(), &out_len, input.data(),
+ input.size()))
+ return absl::nullopt;
+
+ // Write out the final block plus padding (if any) to the end of the data
+ // just written.
+ int tail_len;
+ if (!EVP_CipherFinal_ex(ctx.get(), output.data() + out_len, &tail_len))
+ return absl::nullopt;
+
+ out_len += tail_len;
+ DCHECK_LE(out_len, static_cast<int>(output.size()));
+ return out_len;
+}
+
+absl::optional<size_t> Encryptor::CryptCTR(bool do_encrypt,
+ absl::Span<const uint8_t> input,
+ absl::Span<uint8_t> output) {
+ if (iv_.size() != AES_BLOCK_SIZE) {
+ NEARBY_LOGS(ERROR) << "Counter value not set in CTR mode.";
+ return absl::nullopt;
+ }
+
+ AES_KEY aes_key;
+ if (AES_set_encrypt_key(reinterpret_cast<const uint8_t*>(key_->key().data()),
+ key_->key().size() * 8, &aes_key) != 0) {
+ return absl::nullopt;
+ }
+
+ uint8_t ecount_buf[AES_BLOCK_SIZE] = {0};
+ unsigned int block_offset = 0;
+
+ // |output| must have room for |input|.
+ CHECK_GE(output.size(), input.size());
+ // Note AES_ctr128_encrypt() will update |iv_|. However, this method discards
+ // |ecount_buf| and |block_offset|, so this is not quite a streaming API.
+ AES_ctr128_encrypt(input.data(), output.data(), input.size(), &aes_key,
+ iv_.data(), ecount_buf, &block_offset);
+ return input.size();
+}
+
+} // namespace crypto
diff --git a/chromium/third_party/nearby/src/internal/crypto/encryptor.h b/chromium/third_party/nearby/src/internal/crypto/encryptor.h
new file mode 100644
index 00000000000..19df38cee15
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/encryptor.h
@@ -0,0 +1,110 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_ENCRYPTOR_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_ENCRYPTOR_H_
+
+#include <stddef.h>
+#include <stdint.h>
+
+#include <memory>
+#include <optional>
+#include <string>
+#include <vector>
+
+#include "absl/strings/string_view.h"
+#include "absl/types/optional.h"
+#include "absl/types/span.h"
+#include "internal/crypto/crypto_export.h"
+
+namespace crypto {
+
+class SymmetricKey;
+
+// This class implements encryption without authentication, which is usually
+// unsafe. Prefer crypto::Aead for new code. If using this class, prefer the
+// absl::Span and std::vector overloads over the absl::string_view and
+// std::string overloads.
+class CRYPTO_EXPORT Encryptor {
+ public:
+ enum Mode {
+ CBC,
+ CTR,
+ };
+
+ Encryptor();
+ ~Encryptor();
+
+ // Initializes the encryptor using |key| and |iv|. Returns false if either the
+ // key or the initialization vector cannot be used.
+ //
+ // If |mode| is CBC, |iv| must not be empty; if it is CTR, then |iv| must be
+ // empty.
+ bool Init(const SymmetricKey* key, Mode mode, absl::string_view iv);
+ bool Init(const SymmetricKey* key, Mode mode, absl::Span<const uint8_t> iv);
+
+ // Encrypts |plaintext| into |ciphertext|. |plaintext| may only be empty if
+ // the mode is CBC.
+ bool Encrypt(absl::string_view plaintext, std::string* ciphertext);
+ bool Encrypt(absl::Span<const uint8_t> plaintext,
+ std::vector<uint8_t>* ciphertext);
+
+ // Decrypts |ciphertext| into |plaintext|. |ciphertext| must not be empty.
+ //
+ // WARNING: In CBC mode, Decrypt() returns false if it detects the padding
+ // in the decrypted plaintext is wrong. Padding errors can result from
+ // tampered ciphertext or a wrong decryption key. But successful decryption
+ // does not imply the authenticity of the data. The caller of Decrypt()
+ // must either authenticate the ciphertext before decrypting it, or take
+ // care to not report decryption failure. Otherwise it could inadvertently
+ // be used as a padding oracle to attack the crypto system.
+ bool Decrypt(absl::string_view ciphertext, std::string* plaintext);
+ bool Decrypt(absl::Span<const uint8_t> ciphertext,
+ std::vector<uint8_t>* plaintext);
+
+ // Sets the counter value when in CTR mode. Currently only 128-bits
+ // counter value is supported.
+ //
+ // Returns true only if update was successful.
+ bool SetCounter(absl::string_view counter);
+ bool SetCounter(absl::Span<const uint8_t> counter);
+
+ // TODO(albertb): Support streaming encryption.
+
+ private:
+ const SymmetricKey* key_;
+ Mode mode_;
+
+ bool CryptString(bool do_encrypt, absl::string_view input,
+ std::string* output);
+ bool CryptBytes(bool do_encrypt, absl::Span<const uint8_t> input,
+ std::vector<uint8_t>* output);
+
+ // On success, these helper functions return the number of bytes written to
+ // |output|.
+ size_t MaxOutput(bool do_encrypt, size_t length);
+ absl::optional<size_t> Crypt(bool do_encrypt, absl::Span<const uint8_t> input,
+ absl::Span<uint8_t> output);
+ absl::optional<size_t> CryptCTR(bool do_encrypt,
+ absl::Span<const uint8_t> input,
+ absl::Span<uint8_t> output);
+
+ // In CBC mode, the IV passed to Init(). In CTR mode, the counter value passed
+ // to SetCounter().
+ std::vector<uint8_t> iv_;
+};
+
+} // namespace crypto
+
+#endif // THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_ENCRYPTOR_H_
diff --git a/chromium/third_party/nearby/src/internal/crypto/encryptor_unittest.cc b/chromium/third_party/nearby/src/internal/crypto/encryptor_unittest.cc
new file mode 100644
index 00000000000..351ae995f97
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/encryptor_unittest.cc
@@ -0,0 +1,572 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/encryptor.h"
+
+#include <stddef.h>
+
+#include <array>
+#include <iterator>
+#include <memory>
+#include <string>
+#include <vector>
+
+#include "gtest/gtest.h"
+#include "absl/types/span.h"
+#include "internal/crypto/nearby_base.h"
+#include "internal/crypto/symmetric_key.h"
+
+TEST(EncryptorTest, EncryptDecrypt) {
+ std::unique_ptr<crypto::SymmetricKey> key(
+ crypto::SymmetricKey::DeriveKeyFromPasswordUsingPbkdf2(
+ crypto::SymmetricKey::AES, "password", "saltiest", 1000, 256));
+ EXPECT_TRUE(key.get());
+
+ crypto::Encryptor encryptor;
+ // The IV must be exactly as long as the cipher block size.
+ std::string iv("the iv: 16 bytes");
+ EXPECT_EQ(16U, iv.size());
+ EXPECT_TRUE(encryptor.Init(key.get(), crypto::Encryptor::CBC, iv));
+
+ std::string plaintext("this is the plaintext");
+ std::string ciphertext;
+ EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext));
+ EXPECT_LT(0U, ciphertext.size());
+
+ std::string decrypted;
+ EXPECT_TRUE(encryptor.Decrypt(ciphertext, &decrypted));
+ EXPECT_EQ(plaintext, decrypted);
+
+ // Repeat the test with the bytes API.
+ std::vector<uint8_t> plaintext_vec(plaintext.begin(), plaintext.end());
+ std::vector<uint8_t> ciphertext_vec;
+ EXPECT_TRUE(encryptor.Encrypt(plaintext_vec, &ciphertext_vec));
+ EXPECT_LT(0U, ciphertext_vec.size());
+
+ std::vector<uint8_t> decrypted_vec;
+ EXPECT_TRUE(encryptor.Decrypt(ciphertext_vec, &decrypted_vec));
+ EXPECT_EQ(plaintext_vec, decrypted_vec);
+}
+
+TEST(EncryptorTest, DecryptWrongKey) {
+ std::unique_ptr<crypto::SymmetricKey> key(
+ crypto::SymmetricKey::DeriveKeyFromPasswordUsingPbkdf2(
+ crypto::SymmetricKey::AES, "password", "saltiest", 1000, 256));
+ EXPECT_TRUE(key.get());
+
+ // A wrong key that can be detected by implementations that validate every
+ // byte in the padding.
+ std::unique_ptr<crypto::SymmetricKey> wrong_key(
+ crypto::SymmetricKey::DeriveKeyFromPasswordUsingPbkdf2(
+ crypto::SymmetricKey::AES, "wrongword", "sweetest", 1000, 256));
+ EXPECT_TRUE(wrong_key.get());
+
+ // A wrong key that can't be detected by any implementation. The password
+ // "wrongword;" would also work.
+ std::unique_ptr<crypto::SymmetricKey> wrong_key2(
+ crypto::SymmetricKey::DeriveKeyFromPasswordUsingPbkdf2(
+ crypto::SymmetricKey::AES, "wrongword+", "sweetest", 1000, 256));
+ EXPECT_TRUE(wrong_key2.get());
+
+ // A wrong key that can be detected by all implementations.
+ std::unique_ptr<crypto::SymmetricKey> wrong_key3(
+ crypto::SymmetricKey::DeriveKeyFromPasswordUsingPbkdf2(
+ crypto::SymmetricKey::AES, "wrongwordx", "sweetest", 1000, 256));
+ EXPECT_TRUE(wrong_key3.get());
+
+ crypto::Encryptor encryptor;
+ // The IV must be exactly as long as the cipher block size.
+ std::string iv("the iv: 16 bytes");
+ EXPECT_EQ(16U, iv.size());
+ EXPECT_TRUE(encryptor.Init(key.get(), crypto::Encryptor::CBC, iv));
+
+ std::string plaintext("this is the plaintext");
+ std::string ciphertext;
+ EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext));
+
+ static const unsigned char expected_ciphertext[] = {
+ 0x7D, 0x67, 0x5B, 0x53, 0xE6, 0xD8, 0x0F, 0x27, 0x74, 0xB1, 0x90,
+ 0xFE, 0x6E, 0x58, 0x4A, 0xA0, 0x0E, 0x35, 0xE3, 0x01, 0xC0, 0xFE,
+ 0x9A, 0xD8, 0x48, 0x1D, 0x42, 0xB0, 0xBA, 0x21, 0xB2, 0x0C};
+
+ ASSERT_EQ(std::size(expected_ciphertext), ciphertext.size());
+ for (size_t i = 0; i < ciphertext.size(); ++i) {
+ ASSERT_EQ(expected_ciphertext[i],
+ static_cast<unsigned char>(ciphertext[i]));
+ }
+
+ std::string decrypted;
+
+ // This wrong key causes the last padding byte to be 5, which is a valid
+ // padding length, and the second to last padding byte to be 137, which is
+ // invalid. If an implementation simply uses the last padding byte to
+ // determine the padding length without checking every padding byte,
+ // Encryptor::Decrypt() will still return true. This is the case for NSS
+ // (crbug.com/124434).
+ crypto::Encryptor decryptor;
+ EXPECT_TRUE(decryptor.Init(wrong_key.get(), crypto::Encryptor::CBC, iv));
+ EXPECT_FALSE(decryptor.Decrypt(ciphertext, &decrypted));
+
+ // This demonstrates that not all wrong keys can be detected by padding
+ // error. This wrong key causes the last padding byte to be 1, which is
+ // a valid padding block of length 1.
+ crypto::Encryptor decryptor2;
+ EXPECT_TRUE(decryptor2.Init(wrong_key2.get(), crypto::Encryptor::CBC, iv));
+ EXPECT_TRUE(decryptor2.Decrypt(ciphertext, &decrypted));
+
+ // This wrong key causes the last padding byte to be 253, which should be
+ // rejected by all implementations.
+ crypto::Encryptor decryptor3;
+ EXPECT_TRUE(decryptor3.Init(wrong_key3.get(), crypto::Encryptor::CBC, iv));
+ EXPECT_FALSE(decryptor3.Decrypt(ciphertext, &decrypted));
+}
+
+namespace {
+
+// From NIST SP 800-38a test cast:
+// - F.5.1 CTR-AES128.Encrypt
+// - F.5.6 CTR-AES256.Encrypt
+// http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf
+const unsigned char kAES128CTRKey[] = {0x2b, 0x7e, 0x15, 0x16, 0x28, 0xae,
+ 0xd2, 0xa6, 0xab, 0xf7, 0x15, 0x88,
+ 0x09, 0xcf, 0x4f, 0x3c};
+
+const unsigned char kAES256CTRKey[] = {
+ 0x60, 0x3d, 0xeb, 0x10, 0x15, 0xca, 0x71, 0xbe, 0x2b, 0x73, 0xae,
+ 0xf0, 0x85, 0x7d, 0x77, 0x81, 0x1f, 0x35, 0x2c, 0x07, 0x3b, 0x61,
+ 0x08, 0xd7, 0x2d, 0x98, 0x10, 0xa3, 0x09, 0x14, 0xdf, 0xf4};
+
+const unsigned char kAESCTRInitCounter[] = {0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5,
+ 0xf6, 0xf7, 0xf8, 0xf9, 0xfa, 0xfb,
+ 0xfc, 0xfd, 0xfe, 0xff};
+
+const unsigned char kAESCTRPlaintext[] = {
+ // Block #1
+ 0x6b, 0xc1, 0xbe, 0xe2, 0x2e, 0x40, 0x9f, 0x96, 0xe9, 0x3d, 0x7e, 0x11,
+ 0x73, 0x93, 0x17, 0x2a,
+ // Block #2
+ 0xae, 0x2d, 0x8a, 0x57, 0x1e, 0x03, 0xac, 0x9c, 0x9e, 0xb7, 0x6f, 0xac,
+ 0x45, 0xaf, 0x8e, 0x51,
+ // Block #3
+ 0x30, 0xc8, 0x1c, 0x46, 0xa3, 0x5c, 0xe4, 0x11, 0xe5, 0xfb, 0xc1, 0x19,
+ 0x1a, 0x0a, 0x52, 0xef,
+ // Block #4
+ 0xf6, 0x9f, 0x24, 0x45, 0xdf, 0x4f, 0x9b, 0x17, 0xad, 0x2b, 0x41, 0x7b,
+ 0xe6, 0x6c, 0x37, 0x10};
+
+const unsigned char kAES128CTRCiphertext[] = {
+ // Block #1
+ 0x87, 0x4d, 0x61, 0x91, 0xb6, 0x20, 0xe3, 0x26, 0x1b, 0xef, 0x68, 0x64,
+ 0x99, 0x0d, 0xb6, 0xce,
+ // Block #2
+ 0x98, 0x06, 0xf6, 0x6b, 0x79, 0x70, 0xfd, 0xff, 0x86, 0x17, 0x18, 0x7b,
+ 0xb9, 0xff, 0xfd, 0xff,
+ // Block #3
+ 0x5a, 0xe4, 0xdf, 0x3e, 0xdb, 0xd5, 0xd3, 0x5e, 0x5b, 0x4f, 0x09, 0x02,
+ 0x0d, 0xb0, 0x3e, 0xab,
+ // Block #4
+ 0x1e, 0x03, 0x1d, 0xda, 0x2f, 0xbe, 0x03, 0xd1, 0x79, 0x21, 0x70, 0xa0,
+ 0xf3, 0x00, 0x9c, 0xee};
+
+const unsigned char kAES256CTRCiphertext[] = {
+ // Block #1
+ 0x60, 0x1e, 0xc3, 0x13, 0x77, 0x57, 0x89, 0xa5, 0xb7, 0xa7, 0xf5, 0x04,
+ 0xbb, 0xf3, 0xd2, 0x28,
+ // Block #2
+ 0xf4, 0x43, 0xe3, 0xca, 0x4d, 0x62, 0xb5, 0x9a, 0xca, 0x84, 0xe9, 0x90,
+ 0xca, 0xca, 0xf5, 0xc5,
+ // Block #3
+ 0x2b, 0x09, 0x30, 0xda, 0xa2, 0x3d, 0xe9, 0x4c, 0xe8, 0x70, 0x17, 0xba,
+ 0x2d, 0x84, 0x98, 0x8d,
+ // Block #4
+ 0xdf, 0xc9, 0xc5, 0x8d, 0xb6, 0x7a, 0xad, 0xa6, 0x13, 0xc2, 0xdd, 0x08,
+ 0x45, 0x79, 0x41, 0xa6};
+
+void TestAESCTREncrypt(const unsigned char* key, size_t key_size,
+ const unsigned char* init_counter,
+ size_t init_counter_size, const unsigned char* plaintext,
+ size_t plaintext_size, const unsigned char* ciphertext,
+ size_t ciphertext_size) {
+ std::string key_str(reinterpret_cast<const char*>(key), key_size);
+ std::unique_ptr<crypto::SymmetricKey> sym_key(
+ crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, key_str));
+ ASSERT_TRUE(sym_key.get());
+
+ crypto::Encryptor encryptor;
+ EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CTR, ""));
+
+ absl::string_view init_counter_str(
+ reinterpret_cast<const char*>(init_counter), init_counter_size);
+ absl::string_view plaintext_str(reinterpret_cast<const char*>(plaintext),
+ plaintext_size);
+
+ EXPECT_TRUE(encryptor.SetCounter(init_counter_str));
+ std::string encrypted;
+ EXPECT_TRUE(encryptor.Encrypt(plaintext_str, &encrypted));
+
+ EXPECT_EQ(ciphertext_size, encrypted.size());
+ EXPECT_EQ(0, memcmp(encrypted.data(), ciphertext, encrypted.size()));
+
+ std::string decrypted;
+ EXPECT_TRUE(encryptor.SetCounter(init_counter_str));
+ EXPECT_TRUE(encryptor.Decrypt(encrypted, &decrypted));
+
+ EXPECT_EQ(plaintext_str, decrypted);
+
+ // Repeat the test with the bytes API.
+ EXPECT_TRUE(
+ encryptor.SetCounter(absl::MakeSpan(init_counter, init_counter_size)));
+ std::vector<uint8_t> encrypted_vec;
+ EXPECT_TRUE(encryptor.Encrypt(absl::MakeSpan(plaintext, plaintext_size),
+ &encrypted_vec));
+
+ EXPECT_EQ(ciphertext_size, encrypted_vec.size());
+ EXPECT_EQ(0, memcmp(encrypted_vec.data(), ciphertext, encrypted_vec.size()));
+
+ std::vector<uint8_t> decrypted_vec;
+ EXPECT_TRUE(
+ encryptor.SetCounter(absl::MakeSpan(init_counter, init_counter_size)));
+ EXPECT_TRUE(encryptor.Decrypt(encrypted_vec, &decrypted_vec));
+
+ EXPECT_EQ(std::vector<uint8_t>(plaintext, plaintext + plaintext_size),
+ decrypted_vec);
+}
+
+void TestAESCTRMultipleDecrypt(const unsigned char* key, size_t key_size,
+ const unsigned char* init_counter,
+ size_t init_counter_size,
+ const unsigned char* plaintext,
+ size_t plaintext_size,
+ const unsigned char* ciphertext,
+ size_t ciphertext_size) {
+ std::string key_str(reinterpret_cast<const char*>(key), key_size);
+ std::unique_ptr<crypto::SymmetricKey> sym_key(
+ crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, key_str));
+ ASSERT_TRUE(sym_key.get());
+
+ crypto::Encryptor encryptor;
+ EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CTR, ""));
+
+ // Counter is set only once.
+ EXPECT_TRUE(encryptor.SetCounter(absl::string_view(
+ reinterpret_cast<const char*>(init_counter), init_counter_size)));
+
+ std::string ciphertext_str(reinterpret_cast<const char*>(ciphertext),
+ ciphertext_size);
+
+ int kTestDecryptSizes[] = {32, 16, 8};
+
+ int offset = 0;
+ for (size_t i = 0; i < std::size(kTestDecryptSizes); ++i) {
+ std::string decrypted;
+ size_t len = kTestDecryptSizes[i];
+ EXPECT_TRUE(
+ encryptor.Decrypt(ciphertext_str.substr(offset, len), &decrypted));
+ EXPECT_EQ(len, decrypted.size());
+ EXPECT_EQ(0, memcmp(decrypted.data(), plaintext + offset, len));
+ offset += len;
+ }
+}
+
+} // namespace
+
+TEST(EncryptorTest, EncryptAES128CTR) {
+ TestAESCTREncrypt(kAES128CTRKey, std::size(kAES128CTRKey), kAESCTRInitCounter,
+ std::size(kAESCTRInitCounter), kAESCTRPlaintext,
+ std::size(kAESCTRPlaintext), kAES128CTRCiphertext,
+ std::size(kAES128CTRCiphertext));
+}
+
+TEST(EncryptorTest, EncryptAES256CTR) {
+ TestAESCTREncrypt(kAES256CTRKey, std::size(kAES256CTRKey), kAESCTRInitCounter,
+ std::size(kAESCTRInitCounter), kAESCTRPlaintext,
+ std::size(kAESCTRPlaintext), kAES256CTRCiphertext,
+ std::size(kAES256CTRCiphertext));
+}
+
+TEST(EncryptorTest, EncryptAES128CTR_MultipleDecrypt) {
+ TestAESCTRMultipleDecrypt(kAES128CTRKey, std::size(kAES128CTRKey),
+ kAESCTRInitCounter, std::size(kAESCTRInitCounter),
+ kAESCTRPlaintext, std::size(kAESCTRPlaintext),
+ kAES128CTRCiphertext,
+ std::size(kAES128CTRCiphertext));
+}
+
+TEST(EncryptorTest, EncryptAES256CTR_MultipleDecrypt) {
+ TestAESCTRMultipleDecrypt(kAES256CTRKey, std::size(kAES256CTRKey),
+ kAESCTRInitCounter, std::size(kAESCTRInitCounter),
+ kAESCTRPlaintext, std::size(kAESCTRPlaintext),
+ kAES256CTRCiphertext,
+ std::size(kAES256CTRCiphertext));
+}
+
+TEST(EncryptorTest, EncryptDecryptCTR) {
+ std::unique_ptr<crypto::SymmetricKey> key(
+ crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 128));
+
+ EXPECT_TRUE(key.get());
+ const std::string kInitialCounter = "0000000000000000";
+
+ crypto::Encryptor encryptor;
+ EXPECT_TRUE(encryptor.Init(key.get(), crypto::Encryptor::CTR, ""));
+ EXPECT_TRUE(encryptor.SetCounter(kInitialCounter));
+
+ std::string plaintext("normal plaintext of random length");
+ std::string ciphertext;
+ EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext));
+ EXPECT_LT(0U, ciphertext.size());
+
+ std::string decrypted;
+ EXPECT_TRUE(encryptor.SetCounter(kInitialCounter));
+ EXPECT_TRUE(encryptor.Decrypt(ciphertext, &decrypted));
+ EXPECT_EQ(plaintext, decrypted);
+
+ plaintext = "0123456789012345";
+ EXPECT_TRUE(encryptor.SetCounter(kInitialCounter));
+ EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext));
+ EXPECT_LT(0U, ciphertext.size());
+
+ EXPECT_TRUE(encryptor.SetCounter(kInitialCounter));
+ EXPECT_TRUE(encryptor.Decrypt(ciphertext, &decrypted));
+ EXPECT_EQ(plaintext, decrypted);
+}
+
+// TODO(wtc): add more known-answer tests. Test vectors are available from
+// http://www.ietf.org/rfc/rfc3602
+// http://csrc.nist.gov/publications/nistpubs/800-38a/sp800-38a.pdf
+// http://gladman.plushost.co.uk/oldsite/AES/index.php
+// http://csrc.nist.gov/groups/STM/cavp/documents/aes/KAT_AES.zip
+
+// NIST SP 800-38A test vector F.2.5 CBC-AES256.Encrypt.
+TEST(EncryptorTest, EncryptAES256CBC) {
+ // From NIST SP 800-38a test cast F.2.5 CBC-AES256.Encrypt.
+ static const unsigned char kRawKey[] = {
+ 0x60, 0x3d, 0xeb, 0x10, 0x15, 0xca, 0x71, 0xbe, 0x2b, 0x73, 0xae,
+ 0xf0, 0x85, 0x7d, 0x77, 0x81, 0x1f, 0x35, 0x2c, 0x07, 0x3b, 0x61,
+ 0x08, 0xd7, 0x2d, 0x98, 0x10, 0xa3, 0x09, 0x14, 0xdf, 0xf4};
+ static const unsigned char kRawIv[] = {0x00, 0x01, 0x02, 0x03, 0x04, 0x05,
+ 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b,
+ 0x0c, 0x0d, 0x0e, 0x0f};
+ static const unsigned char kRawPlaintext[] = {
+ // Block #1
+ 0x6b,
+ 0xc1,
+ 0xbe,
+ 0xe2,
+ 0x2e,
+ 0x40,
+ 0x9f,
+ 0x96,
+ 0xe9,
+ 0x3d,
+ 0x7e,
+ 0x11,
+ 0x73,
+ 0x93,
+ 0x17,
+ 0x2a,
+ // Block #2
+ 0xae,
+ 0x2d,
+ 0x8a,
+ 0x57,
+ 0x1e,
+ 0x03,
+ 0xac,
+ 0x9c,
+ 0x9e,
+ 0xb7,
+ 0x6f,
+ 0xac,
+ 0x45,
+ 0xaf,
+ 0x8e,
+ 0x51,
+ // Block #3
+ 0x30,
+ 0xc8,
+ 0x1c,
+ 0x46,
+ 0xa3,
+ 0x5c,
+ 0xe4,
+ 0x11,
+ 0xe5,
+ 0xfb,
+ 0xc1,
+ 0x19,
+ 0x1a,
+ 0x0a,
+ 0x52,
+ 0xef,
+ // Block #4
+ 0xf6,
+ 0x9f,
+ 0x24,
+ 0x45,
+ 0xdf,
+ 0x4f,
+ 0x9b,
+ 0x17,
+ 0xad,
+ 0x2b,
+ 0x41,
+ 0x7b,
+ 0xe6,
+ 0x6c,
+ 0x37,
+ 0x10,
+ };
+ static const unsigned char kRawCiphertext[] = {
+ // Block #1
+ 0xf5, 0x8c, 0x4c, 0x04, 0xd6, 0xe5, 0xf1, 0xba, 0x77, 0x9e, 0xab, 0xfb,
+ 0x5f, 0x7b, 0xfb, 0xd6,
+ // Block #2
+ 0x9c, 0xfc, 0x4e, 0x96, 0x7e, 0xdb, 0x80, 0x8d, 0x67, 0x9f, 0x77, 0x7b,
+ 0xc6, 0x70, 0x2c, 0x7d,
+ // Block #3
+ 0x39, 0xf2, 0x33, 0x69, 0xa9, 0xd9, 0xba, 0xcf, 0xa5, 0x30, 0xe2, 0x63,
+ 0x04, 0x23, 0x14, 0x61,
+ // Block #4
+ 0xb2, 0xeb, 0x05, 0xe2, 0xc3, 0x9b, 0xe9, 0xfc, 0xda, 0x6c, 0x19, 0x07,
+ 0x8c, 0x6a, 0x9d, 0x1b,
+ // PKCS #5 padding, encrypted.
+ 0x3f, 0x46, 0x17, 0x96, 0xd6, 0xb0, 0xd6, 0xb2, 0xe0, 0xc2, 0xa7, 0x2b,
+ 0x4d, 0x80, 0xe6, 0x44};
+
+ std::string key(reinterpret_cast<const char*>(kRawKey), sizeof(kRawKey));
+ std::unique_ptr<crypto::SymmetricKey> sym_key(
+ crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, key));
+ ASSERT_TRUE(sym_key.get());
+
+ crypto::Encryptor encryptor;
+ // The IV must be exactly as long a the cipher block size.
+ std::string iv(reinterpret_cast<const char*>(kRawIv), sizeof(kRawIv));
+ EXPECT_EQ(16U, iv.size());
+ EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv));
+
+ std::string plaintext(reinterpret_cast<const char*>(kRawPlaintext),
+ sizeof(kRawPlaintext));
+ std::string ciphertext;
+ EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext));
+
+ EXPECT_EQ(sizeof(kRawCiphertext), ciphertext.size());
+ EXPECT_EQ(0, memcmp(ciphertext.data(), kRawCiphertext, ciphertext.size()));
+
+ std::string decrypted;
+ EXPECT_TRUE(encryptor.Decrypt(ciphertext, &decrypted));
+
+ EXPECT_EQ(plaintext, decrypted);
+}
+
+// Expected output derived from the NSS implementation.
+TEST(EncryptorTest, EncryptAES128CBCRegression) {
+ std::string key = "128=SixteenBytes";
+ std::string iv = "Sweet Sixteen IV";
+ std::string plaintext = "Plain text with a g-clef U+1D11E \360\235\204\236";
+ std::string expected_ciphertext_hex =
+ "D4A67A0BA33C30F207344D81D1E944BBE65587C3D7D9939A"
+ "C070C62B9C15A3EA312EA4AD1BC7929F4D3C16B03AD5ADA8";
+
+ std::unique_ptr<crypto::SymmetricKey> sym_key(
+ crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, key));
+ ASSERT_TRUE(sym_key.get());
+
+ crypto::Encryptor encryptor;
+ // The IV must be exactly as long a the cipher block size.
+ EXPECT_EQ(16U, iv.size());
+ EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv));
+
+ std::string ciphertext;
+ EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext));
+ EXPECT_EQ(expected_ciphertext_hex,
+ nearbybase::HexEncode(ciphertext.data(), ciphertext.size()));
+
+ std::string decrypted;
+ EXPECT_TRUE(encryptor.Decrypt(ciphertext, &decrypted));
+ EXPECT_EQ(plaintext, decrypted);
+}
+
+// Symmetric keys with an unsupported size should be rejected. Whether they are
+// rejected by SymmetricKey::Import or Encryptor::Init depends on the platform.
+TEST(EncryptorTest, UnsupportedKeySize) {
+ std::string key = "7 = bad";
+ std::string iv = "Sweet Sixteen IV";
+ std::unique_ptr<crypto::SymmetricKey> sym_key(
+ crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, key));
+ if (!sym_key.get()) return;
+
+ crypto::Encryptor encryptor;
+ // The IV must be exactly as long as the cipher block size.
+ EXPECT_EQ(16U, iv.size());
+ EXPECT_FALSE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv));
+}
+
+TEST(EncryptorTest, UnsupportedIV) {
+ std::string key = "128=SixteenBytes";
+ std::string iv = "OnlyForteen :(";
+ std::unique_ptr<crypto::SymmetricKey> sym_key(
+ crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, key));
+ ASSERT_TRUE(sym_key.get());
+
+ crypto::Encryptor encryptor;
+ EXPECT_FALSE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv));
+}
+
+TEST(EncryptorTest, EmptyEncrypt) {
+ std::string key = "128=SixteenBytes";
+ std::string iv = "Sweet Sixteen IV";
+ std::string plaintext;
+ std::string expected_ciphertext_hex = "8518B8878D34E7185E300D0FCC426396";
+
+ std::unique_ptr<crypto::SymmetricKey> sym_key(
+ crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, key));
+ ASSERT_TRUE(sym_key.get());
+
+ crypto::Encryptor encryptor;
+ // The IV must be exactly as long a the cipher block size.
+ EXPECT_EQ(16U, iv.size());
+ EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv));
+
+ std::string ciphertext;
+ EXPECT_TRUE(encryptor.Encrypt(plaintext, &ciphertext));
+ EXPECT_EQ(expected_ciphertext_hex,
+ nearbybase::HexEncode(ciphertext.data(), ciphertext.size()));
+}
+
+TEST(EncryptorTest, CipherTextNotMultipleOfBlockSize) {
+ std::string key = "128=SixteenBytes";
+ std::string iv = "Sweet Sixteen IV";
+
+ std::unique_ptr<crypto::SymmetricKey> sym_key(
+ crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, key));
+ ASSERT_TRUE(sym_key.get());
+
+ crypto::Encryptor encryptor;
+ // The IV must be exactly as long a the cipher block size.
+ EXPECT_EQ(16U, iv.size());
+ EXPECT_TRUE(encryptor.Init(sym_key.get(), crypto::Encryptor::CBC, iv));
+
+ // Use a separately allocated array to improve the odds of the memory tools
+ // catching invalid accesses.
+ //
+ // Otherwise when using std::string as the other tests do, accesses several
+ // bytes off the end of the buffer may fall inside the reservation of
+ // the string and not be detected.
+ std::unique_ptr<char[]> ciphertext(new char[1]);
+
+ std::string plaintext;
+ EXPECT_FALSE(
+ encryptor.Decrypt(absl::string_view(ciphertext.get(), 1), &plaintext));
+}
diff --git a/chromium/third_party/nearby/src/internal/crypto/hkdf.cc b/chromium/third_party/nearby/src/internal/crypto/hkdf.cc
new file mode 100644
index 00000000000..dbbf61a3b1a
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/hkdf.cc
@@ -0,0 +1,58 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include <openssl/hkdf.h>
+
+#include <stddef.h>
+#include <stdint.h>
+
+#include <memory>
+#include <string>
+#include <vector>
+
+#include "absl/strings/string_view.h"
+#include "internal/crypto/hkdf.h"
+#include "internal/crypto/hmac.h"
+#include "internal/platform/logging.h"
+#include <openssl/digest.h>
+
+namespace crypto {
+
+std::string HkdfSha256(absl::string_view secret, absl::string_view salt,
+ absl::string_view info, size_t derived_key_size) {
+ std::string key;
+ key.resize(derived_key_size);
+ int result = ::HKDF(
+ reinterpret_cast<uint8_t*>(&key[0]), derived_key_size, EVP_sha256(),
+ reinterpret_cast<const uint8_t*>(secret.data()), secret.size(),
+ reinterpret_cast<const uint8_t*>(salt.data()), salt.size(),
+ reinterpret_cast<const uint8_t*>(info.data()), info.size());
+ DCHECK(result);
+ return key;
+}
+
+std::vector<uint8_t> HkdfSha256(absl::Span<const uint8_t> secret,
+ absl::Span<const uint8_t> salt,
+ absl::Span<const uint8_t> info,
+ size_t derived_key_size) {
+ std::vector<uint8_t> ret;
+ ret.resize(derived_key_size);
+ int result =
+ ::HKDF(ret.data(), derived_key_size, EVP_sha256(), secret.data(),
+ secret.size(), salt.data(), salt.size(), info.data(), info.size());
+ DCHECK(result);
+ return ret;
+}
+
+} // namespace crypto
diff --git a/chromium/third_party/nearby/src/internal/crypto/hkdf.h b/chromium/third_party/nearby/src/internal/crypto/hkdf.h
new file mode 100644
index 00000000000..818032709f2
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/hkdf.h
@@ -0,0 +1,41 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_HKDF_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_HKDF_H_
+
+#include <stddef.h>
+
+#include <string>
+#include <vector>
+
+#include "absl/strings/string_view.h"
+#include "absl/types/span.h"
+#include "internal/crypto/crypto_export.h"
+
+namespace crypto {
+
+CRYPTO_EXPORT
+std::string HkdfSha256(absl::string_view secret, absl::string_view salt,
+ absl::string_view info, size_t derived_key_size);
+
+CRYPTO_EXPORT
+std::vector<uint8_t> HkdfSha256(absl::Span<const uint8_t> secret,
+ absl::Span<const uint8_t> salt,
+ absl::Span<const uint8_t> info,
+ size_t derived_key_size);
+
+} // namespace crypto
+
+#endif // THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_HKDF_H_
diff --git a/chromium/third_party/nearby/src/internal/crypto/hmac.cc b/chromium/third_party/nearby/src/internal/crypto/hmac.cc
new file mode 100644
index 00000000000..b5ac2688b5c
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/hmac.cc
@@ -0,0 +1,114 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include <openssl/hmac.h>
+
+#include <stddef.h>
+
+#include <algorithm>
+#include <string>
+
+#include "internal/crypto/hmac.h"
+#include "internal/crypto/nearby_base.h"
+#include "internal/crypto/openssl_util.h"
+#include "internal/crypto/secure_util.h"
+#include "internal/crypto/symmetric_key.h"
+#include "internal/platform/logging.h"
+
+namespace crypto {
+
+HMAC::HMAC(HashAlgorithm hash_alg) : hash_alg_(hash_alg), initialized_(false) {
+ // Only SHA-1 and SHA-256 hash algorithms are supported now.
+ DCHECK(hash_alg_ == SHA1 || hash_alg_ == SHA256);
+}
+
+HMAC::~HMAC() {
+ // Zero out key copy.
+ key_.assign(key_.size(), 0);
+ nearbybase::STLClearObject(&key_);
+}
+
+size_t HMAC::DigestLength() const {
+ switch (hash_alg_) {
+ case SHA1:
+ return 20;
+ case SHA256:
+ return 32;
+ default:
+ DCHECK(false);
+ return 0;
+ }
+}
+
+bool HMAC::Init(const unsigned char* key, size_t key_length) {
+ // Init must not be called more than once on the same HMAC object.
+ DCHECK(!initialized_);
+ initialized_ = true;
+ key_.assign(key, key + key_length);
+ return true;
+}
+
+bool HMAC::Init(const SymmetricKey* key) { return Init(key->key()); }
+
+bool HMAC::Sign(absl::string_view data, unsigned char* digest,
+ size_t digest_length) const {
+ return Sign(nearbybase::as_bytes(absl::MakeSpan(data)),
+ absl::MakeSpan(digest, digest_length));
+}
+
+bool HMAC::Sign(absl::Span<const uint8_t> data,
+ absl::Span<uint8_t> digest) const {
+ DCHECK(initialized_);
+
+ if (digest.size() > DigestLength()) return false;
+
+ ScopedOpenSSLSafeSizeBuffer<EVP_MAX_MD_SIZE> result(digest.data(),
+ digest.size());
+ return !!::HMAC(hash_alg_ == SHA1 ? EVP_sha1() : EVP_sha256(), key_.data(),
+ key_.size(), data.data(), data.size(), result.safe_buffer(),
+ nullptr);
+}
+
+bool HMAC::Verify(absl::string_view data, absl::string_view digest) const {
+ return Verify(nearbybase::as_bytes(absl::MakeSpan(data)),
+ nearbybase::as_bytes(absl::MakeSpan(digest)));
+}
+
+bool HMAC::Verify(absl::Span<const uint8_t> data,
+ absl::Span<const uint8_t> digest) const {
+ if (digest.size() != DigestLength()) return false;
+ return VerifyTruncated(data, digest);
+}
+
+bool HMAC::VerifyTruncated(absl::string_view data,
+ absl::string_view digest) const {
+ return VerifyTruncated(nearbybase::as_bytes(absl::MakeSpan(data)),
+ nearbybase::as_bytes(absl::MakeSpan(digest)));
+}
+
+bool HMAC::VerifyTruncated(absl::Span<const uint8_t> data,
+ absl::Span<const uint8_t> digest) const {
+ if (digest.empty()) return false;
+
+ size_t digest_length = DigestLength();
+ if (digest.size() > digest_length) return false;
+
+ uint8_t computed_digest[EVP_MAX_MD_SIZE];
+ CHECK_LE(digest.size(), size_t{EVP_MAX_MD_SIZE});
+ if (!Sign(data, absl::MakeSpan(computed_digest, digest.size()))) return false;
+
+ return SecureMemEqual(digest.data(), computed_digest, digest.size());
+}
+
+} // namespace crypto
diff --git a/chromium/third_party/nearby/src/internal/crypto/hmac.h b/chromium/third_party/nearby/src/internal/crypto/hmac.h
new file mode 100644
index 00000000000..c56d7c7b23a
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/hmac.h
@@ -0,0 +1,125 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// Utility class for calculating the HMAC for a given message. We currently only
+// support SHA-1 and SHA-256 for the hash algorithm, but this can be extended
+// easily. Prefer the absl::Span and std::vector overloads over the
+// absl::string_view and std::string overloads.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_HMAC_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_HMAC_H_
+
+#include <stddef.h>
+
+#include <memory>
+#include <vector>
+
+#include "absl/base/attributes.h"
+#include "absl/strings/string_view.h"
+#include "absl/types/span.h"
+#include "internal/crypto/crypto_export.h"
+#include "internal/crypto/nearby_base.h"
+
+namespace crypto {
+
+// Simplify the interface and reduce includes by abstracting out the internals.
+class SymmetricKey;
+
+class CRYPTO_EXPORT HMAC {
+ public:
+ // The set of supported hash functions. Extend as required.
+ enum HashAlgorithm {
+ SHA1,
+ SHA256,
+ };
+
+ explicit HMAC(HashAlgorithm hash_alg);
+
+ HMAC(const HMAC&) = delete;
+ HMAC& operator=(const HMAC&) = delete;
+
+ ~HMAC();
+
+ // Returns the length of digest that this HMAC will create.
+ size_t DigestLength() const;
+
+ // TODO(abarth): Add a PreferredKeyLength() member function.
+
+ // Initializes this instance using |key| of the length |key_length|. Call Init
+ // only once. It returns false on the second or later calls.
+ //
+ // NOTE: the US Federal crypto standard FIPS 198, Section 3 says:
+ // The size of the key, K, shall be equal to or greater than L/2, where L
+ // is the size of the hash function output.
+ // In FIPS 198-1 (and SP-800-107, which describes key size recommendations),
+ // this requirement is gone. But a system crypto library may still enforce
+ // this old requirement. If the key is shorter than this recommended value,
+ // Init() may fail.
+ ABSL_MUST_USE_RESULT bool Init(const unsigned char* key, size_t key_length);
+
+ // Initializes this instance using |key|. Call Init
+ // only once. It returns false on the second or later calls.
+ ABSL_MUST_USE_RESULT bool Init(const SymmetricKey* key);
+
+ // Initializes this instance using |key|. Call Init only once. It returns
+ // false on the second or later calls.
+ ABSL_MUST_USE_RESULT bool Init(absl::string_view key) {
+ return Init(nearbybase::as_bytes(absl::MakeSpan(key)));
+ }
+
+ // Initializes this instance using |key|. Call Init only once. It returns
+ // false on the second or later calls.
+ ABSL_MUST_USE_RESULT bool Init(absl::Span<const uint8_t> key) {
+ return Init(key.data(), key.size());
+ }
+
+ // Calculates the HMAC for the message in |data| using the algorithm supplied
+ // to the constructor and the key supplied to the Init method. The HMAC is
+ // returned in |digest|, which has |digest_length| bytes of storage available.
+ // If |digest_length| is smaller than DigestLength(), the output will be
+ // truncated. If it is larger, this method will fail.
+ ABSL_MUST_USE_RESULT bool Sign(absl::string_view data, unsigned char* digest,
+ size_t digest_length) const;
+ ABSL_MUST_USE_RESULT bool Sign(absl::Span<const uint8_t> data,
+ absl::Span<uint8_t> digest) const;
+
+ // Verifies that the HMAC for the message in |data| equals the HMAC provided
+ // in |digest|, using the algorithm supplied to the constructor and the key
+ // supplied to the Init method. Use of this method is strongly recommended
+ // over using Sign() with a manual comparison (such as memcmp), as such
+ // comparisons may result in side-channel disclosures, such as timing, that
+ // undermine the cryptographic integrity. |digest| must be exactly
+ // |DigestLength()| bytes long.
+ ABSL_MUST_USE_RESULT bool Verify(absl::string_view data,
+ absl::string_view digest) const;
+ ABSL_MUST_USE_RESULT bool Verify(absl::Span<const uint8_t> data,
+ absl::Span<const uint8_t> digest) const;
+
+ // Verifies a truncated HMAC, behaving identical to Verify(), except
+ // that |digest| is allowed to be smaller than |DigestLength()|.
+ ABSL_MUST_USE_RESULT bool VerifyTruncated(absl::string_view data,
+ absl::string_view digest) const;
+ ABSL_MUST_USE_RESULT bool VerifyTruncated(
+ absl::Span<const uint8_t> data,
+ absl::Span<const uint8_t> digest) const ABSL_MUST_USE_RESULT;
+
+ private:
+ HashAlgorithm hash_alg_;
+ bool initialized_;
+ std::vector<unsigned char> key_;
+};
+
+} // namespace crypto
+
+#endif // THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_HMAC_H_
diff --git a/chromium/third_party/nearby/src/internal/crypto/hmac_unittest.cc b/chromium/third_party/nearby/src/internal/crypto/hmac_unittest.cc
new file mode 100644
index 00000000000..99677752bc2
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/hmac_unittest.cc
@@ -0,0 +1,378 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/hmac.h"
+
+#include <stddef.h>
+#include <string.h>
+
+#include <array>
+#include <iterator>
+#include <string>
+#include <vector>
+
+#include "gtest/gtest.h"
+#include "absl/strings/string_view.h"
+#include "absl/types/span.h"
+
+static const size_t kSHA1DigestSize = 20;
+static const size_t kSHA256DigestSize = 32;
+
+static const char *kSimpleKey =
+ "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
+ "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
+ "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
+ "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
+ "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA";
+static const size_t kSimpleKeyLength = 80;
+
+static const struct {
+ const char *data;
+ const int data_len;
+ const char *digest;
+} kSimpleHmacCases[] = {
+ {"Test Using Larger Than Block-Size Key - Hash Key First", 54,
+ "\xAA\x4A\xE5\xE1\x52\x72\xD0\x0E\x95\x70\x56\x37\xCE\x8A\x3B\x55"
+ "\xED\x40\x21\x12"},
+ {"Test Using Larger Than Block-Size Key and Larger "
+ "Than One Block-Size Data",
+ 73,
+ "\xE8\xE9\x9D\x0F\x45\x23\x7D\x78\x6D\x6B\xBA\xA7\x96\x5C\x78\x08"
+ "\xBB\xFF\x1A\x91"}};
+
+TEST(HMACTest, HmacSafeBrowsingResponseTest) {
+ const int kKeySize = 16;
+
+ // Client key.
+ const unsigned char kClientKey[kKeySize] = {
+ 0xbf, 0xf6, 0x83, 0x4b, 0x3e, 0xa3, 0x23, 0xdd,
+ 0x96, 0x78, 0x70, 0x8e, 0xa1, 0x9d, 0x3b, 0x40};
+
+ // Expected HMAC result using kMessage and kClientKey.
+ const unsigned char kReceivedHmac[kSHA1DigestSize] = {
+ 0xb9, 0x3c, 0xd6, 0xf0, 0x49, 0x47, 0xe2, 0x52, 0x59, 0x7a,
+ 0xbd, 0x1f, 0x2b, 0x4c, 0x83, 0xad, 0x86, 0xd2, 0x48, 0x85};
+
+ const char kMessage[] =
+ "n:1896\ni:goog-malware-shavar\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-malware-shav"
+ "ar_s_445-450\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-malware-shavar_s_439-444\nu:s"
+ ".ytimg.com/safebrowsing/rd/goog-malware-shavar_s_437\nu:s.ytimg.com/"
+ "safebrowsi"
+ "ng/rd/goog-malware-shavar_s_436\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-malware-sh"
+ "avar_s_433-435\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-malware-shavar_s_431\nu:s.y"
+ "timg.com/safebrowsing/rd/goog-malware-shavar_s_430\nu:s.ytimg.com/"
+ "safebrowsing"
+ "/rd/goog-malware-shavar_s_429\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-malware-shav"
+ "ar_s_428\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-malware-shavar_s_426\nu:s.ytimg.c"
+ "om/safebrowsing/rd/goog-malware-shavar_s_424\nu:s.ytimg.com/"
+ "safebrowsing/rd/go"
+ "og-malware-shavar_s_423\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-malware-shavar_s_4"
+ "22\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-malware-shavar_s_420\nu:s.ytimg.com/saf"
+ "ebrowsing/rd/goog-malware-shavar_s_419\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-mal"
+ "ware-shavar_s_414\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-malware-shavar_s_409-411"
+ "\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-malware-shavar_s_405\nu:s.ytimg.com/safeb"
+ "rowsing/rd/goog-malware-shavar_s_404\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-malwa"
+ "re-shavar_s_402\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-malware-shavar_s_401\nu:s."
+ "ytimg.com/safebrowsing/rd/goog-malware-shavar_a_973-978\nu:s.ytimg.com/"
+ "safebro"
+ "wsing/rd/goog-malware-shavar_a_937-972\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-mal"
+ "ware-shavar_a_931-936\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-malware-shavar_a_925"
+ "-930\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-malware-shavar_a_919-924\ni:goog-phis"
+ "h-shavar\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-phish-shavar_a_2633\nu:s.ytimg.co"
+ "m/safebrowsing/rd/goog-phish-shavar_a_2632\nu:s.ytimg.com/safebrowsing/"
+ "rd/goog"
+ "-phish-shavar_a_2629-2631\nu:s.ytimg.com/safebrowsing/rd/"
+ "goog-phish-shavar_a_2"
+ "626-2628\nu:s.ytimg.com/safebrowsing/rd/goog-phish-shavar_a_2625\n";
+
+ std::string message_data(kMessage);
+
+ crypto::HMAC hmac(crypto::HMAC::SHA1);
+ ASSERT_TRUE(hmac.Init(kClientKey, kKeySize));
+ unsigned char calculated_hmac[kSHA1DigestSize];
+
+ EXPECT_TRUE(hmac.Sign(message_data, calculated_hmac, kSHA1DigestSize));
+ EXPECT_EQ(0, memcmp(kReceivedHmac, calculated_hmac, kSHA1DigestSize));
+}
+
+// Test cases from RFC 2202 section 3
+TEST(HMACTest, RFC2202TestCases) {
+ const struct {
+ const char *key;
+ const int key_len;
+ const char *data;
+ const int data_len;
+ const char *digest;
+ } cases[] = {
+ {"\x0B\x0B\x0B\x0B\x0B\x0B\x0B\x0B\x0B\x0B\x0B\x0B\x0B\x0B\x0B\x0B"
+ "\x0B\x0B\x0B\x0B",
+ 20, "Hi There", 8,
+ "\xB6\x17\x31\x86\x55\x05\x72\x64\xE2\x8B\xC0\xB6\xFB\x37\x8C\x8E"
+ "\xF1\x46\xBE\x00"},
+ {"Jefe", 4, "what do ya want for nothing?", 28,
+ "\xEF\xFC\xDF\x6A\xE5\xEB\x2F\xA2\xD2\x74\x16\xD5\xF1\x84\xDF\x9C"
+ "\x25\x9A\x7C\x79"},
+ {"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
+ "\xAA\xAA\xAA\xAA",
+ 20,
+ "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD"
+ "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD"
+ "\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD\xDD"
+ "\xDD\xDD",
+ 50,
+ "\x12\x5D\x73\x42\xB9\xAC\x11\xCD\x91\xA3\x9A\xF4\x8A\xA1\x7B\x4F"
+ "\x63\xF1\x75\xD3"},
+ {"\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F\x10"
+ "\x11\x12\x13\x14\x15\x16\x17\x18\x19",
+ 25,
+ "\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD"
+ "\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD"
+ "\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD\xCD"
+ "\xCD\xCD",
+ 50,
+ "\x4C\x90\x07\xF4\x02\x62\x50\xC6\xBC\x84\x14\xF9\xBF\x50\xC8\x6C"
+ "\x2D\x72\x35\xDA"},
+ {"\x0C\x0C\x0C\x0C\x0C\x0C\x0C\x0C\x0C\x0C\x0C\x0C\x0C\x0C\x0C\x0C"
+ "\x0C\x0C\x0C\x0C",
+ 20, "Test With Truncation", 20,
+ "\x4C\x1A\x03\x42\x4B\x55\xE0\x7F\xE7\xF2\x7B\xE1\xD5\x8B\xB9\x32"
+ "\x4A\x9A\x5A\x04"},
+ {"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
+ "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
+ "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
+ "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
+ "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA",
+ 80, "Test Using Larger Than Block-Size Key - Hash Key First", 54,
+ "\xAA\x4A\xE5\xE1\x52\x72\xD0\x0E\x95\x70\x56\x37\xCE\x8A\x3B\x55"
+ "\xED\x40\x21\x12"},
+ {"\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
+ "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
+ "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
+ "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA"
+ "\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA\xAA",
+ 80,
+ "Test Using Larger Than Block-Size Key and Larger "
+ "Than One Block-Size Data",
+ 73,
+ "\xE8\xE9\x9D\x0F\x45\x23\x7D\x78\x6D\x6B\xBA\xA7\x96\x5C\x78\x08"
+ "\xBB\xFF\x1A\x91"}};
+
+ for (size_t i = 0; i < std::size(cases); ++i) {
+ crypto::HMAC hmac(crypto::HMAC::SHA1);
+ ASSERT_TRUE(hmac.Init(reinterpret_cast<const unsigned char *>(cases[i].key),
+ cases[i].key_len));
+ std::string data_string(cases[i].data, cases[i].data_len);
+ unsigned char digest[kSHA1DigestSize];
+ EXPECT_TRUE(hmac.Sign(data_string, digest, kSHA1DigestSize));
+ EXPECT_EQ(0, memcmp(cases[i].digest, digest, kSHA1DigestSize));
+ }
+}
+
+// TODO(wtc): add other test vectors from RFC 4231.
+TEST(HMACTest, RFC4231TestCase6) {
+ unsigned char key[131];
+ for (size_t i = 0; i < sizeof(key); ++i) key[i] = 0xaa;
+
+ std::string data = "Test Using Larger Than Block-Size Key - Hash Key First";
+ ASSERT_EQ(54U, data.size());
+
+ static unsigned char kKnownHMACSHA256[] = {
+ 0x60, 0xe4, 0x31, 0x59, 0x1e, 0xe0, 0xb6, 0x7f, 0x0d, 0x8a, 0x26,
+ 0xaa, 0xcb, 0xf5, 0xb7, 0x7f, 0x8e, 0x0b, 0xc6, 0x21, 0x37, 0x28,
+ 0xc5, 0x14, 0x05, 0x46, 0x04, 0x0f, 0x0e, 0xe3, 0x7f, 0x54};
+
+ crypto::HMAC hmac(crypto::HMAC::SHA256);
+ ASSERT_TRUE(hmac.Init(key, sizeof(key)));
+ unsigned char calculated_hmac[kSHA256DigestSize];
+
+ EXPECT_EQ(kSHA256DigestSize, hmac.DigestLength());
+ EXPECT_TRUE(hmac.Sign(data, calculated_hmac, kSHA256DigestSize));
+ EXPECT_EQ(0, memcmp(kKnownHMACSHA256, calculated_hmac, kSHA256DigestSize));
+}
+
+// Based on NSS's FIPS HMAC power-up self-test.
+TEST(HMACTest, NSSFIPSPowerUpSelfTest) {
+ static const char kKnownMessage[] =
+ "The test message for the MD2, MD5, and SHA-1 hashing algorithms.";
+
+ static const unsigned char kKnownSecretKey[] = {
+ 0x46, 0x69, 0x72, 0x65, 0x66, 0x6f, 0x78, 0x20, 0x61, 0x6e,
+ 0x64, 0x20, 0x54, 0x68, 0x75, 0x6e, 0x64, 0x65, 0x72, 0x42,
+ 0x69, 0x72, 0x64, 0x20, 0x61, 0x72, 0x65, 0x20, 0x61, 0x77,
+ 0x65, 0x73, 0x6f, 0x6d, 0x65, 0x21, 0x00};
+
+ static const size_t kKnownSecretKeySize = sizeof(kKnownSecretKey);
+
+ // HMAC-SHA-1 known answer (20 bytes).
+ static const unsigned char kKnownHMACSHA1[] = {
+ 0xd5, 0x85, 0xf6, 0x5b, 0x39, 0xfa, 0xb9, 0x05, 0x3b, 0x57,
+ 0x1d, 0x61, 0xe7, 0xb8, 0x84, 0x1e, 0x5d, 0x0e, 0x1e, 0x11};
+
+ // HMAC-SHA-256 known answer (32 bytes).
+ static const unsigned char kKnownHMACSHA256[] = {
+ 0x05, 0x75, 0x9a, 0x9e, 0x70, 0x5e, 0xe7, 0x44, 0xe2, 0x46, 0x4b,
+ 0x92, 0x22, 0x14, 0x22, 0xe0, 0x1b, 0x92, 0x8a, 0x0c, 0xfe, 0xf5,
+ 0x49, 0xe9, 0xa7, 0x1b, 0x56, 0x7d, 0x1d, 0x29, 0x40, 0x48};
+
+ std::string message_data(kKnownMessage);
+
+ crypto::HMAC hmac(crypto::HMAC::SHA1);
+ ASSERT_TRUE(hmac.Init(kKnownSecretKey, kKnownSecretKeySize));
+ unsigned char calculated_hmac[kSHA1DigestSize];
+
+ EXPECT_EQ(kSHA1DigestSize, hmac.DigestLength());
+ EXPECT_TRUE(hmac.Sign(message_data, calculated_hmac, kSHA1DigestSize));
+ EXPECT_EQ(0, memcmp(kKnownHMACSHA1, calculated_hmac, kSHA1DigestSize));
+ EXPECT_TRUE(hmac.Verify(
+ message_data,
+ absl::string_view(reinterpret_cast<const char *>(kKnownHMACSHA1),
+ kSHA1DigestSize)));
+ EXPECT_TRUE(hmac.VerifyTruncated(
+ message_data,
+ absl::string_view(reinterpret_cast<const char *>(kKnownHMACSHA1),
+ kSHA1DigestSize / 2)));
+
+ crypto::HMAC hmac2(crypto::HMAC::SHA256);
+ ASSERT_TRUE(hmac2.Init(kKnownSecretKey, kKnownSecretKeySize));
+ unsigned char calculated_hmac2[kSHA256DigestSize];
+
+ EXPECT_TRUE(hmac2.Sign(message_data, calculated_hmac2, kSHA256DigestSize));
+ EXPECT_EQ(0, memcmp(kKnownHMACSHA256, calculated_hmac2, kSHA256DigestSize));
+}
+
+TEST(HMACTest, HMACObjectReuse) {
+ crypto::HMAC hmac(crypto::HMAC::SHA1);
+ ASSERT_TRUE(hmac.Init(reinterpret_cast<const unsigned char *>(kSimpleKey),
+ kSimpleKeyLength));
+ for (size_t i = 0; i < std::size(kSimpleHmacCases); ++i) {
+ std::string data_string(kSimpleHmacCases[i].data,
+ kSimpleHmacCases[i].data_len);
+ unsigned char digest[kSHA1DigestSize];
+ EXPECT_TRUE(hmac.Sign(data_string, digest, kSHA1DigestSize));
+ EXPECT_EQ(0, memcmp(kSimpleHmacCases[i].digest, digest, kSHA1DigestSize));
+ }
+}
+
+TEST(HMACTest, Verify) {
+ crypto::HMAC hmac(crypto::HMAC::SHA1);
+ ASSERT_TRUE(hmac.Init(reinterpret_cast<const unsigned char *>(kSimpleKey),
+ kSimpleKeyLength));
+ const char empty_digest[kSHA1DigestSize] = {0};
+ for (size_t i = 0; i < std::size(kSimpleHmacCases); ++i) {
+ // Expected results
+ EXPECT_TRUE(hmac.Verify(
+ absl::string_view(kSimpleHmacCases[i].data,
+ kSimpleHmacCases[i].data_len),
+ absl::string_view(kSimpleHmacCases[i].digest, kSHA1DigestSize)));
+ // Mismatched size
+ EXPECT_FALSE(hmac.Verify(absl::string_view(kSimpleHmacCases[i].data,
+ kSimpleHmacCases[i].data_len),
+ absl::string_view(kSimpleHmacCases[i].data,
+ kSimpleHmacCases[i].data_len)));
+
+ // Expected size, mismatched data
+ EXPECT_FALSE(hmac.Verify(absl::string_view(kSimpleHmacCases[i].data,
+ kSimpleHmacCases[i].data_len),
+ absl::string_view(empty_digest, kSHA1DigestSize)));
+ }
+}
+
+TEST(HMACTest, EmptyKey) {
+ // Test vector from https://en.wikipedia.org/wiki/HMAC
+ const char *kExpectedDigest =
+ "\xFB\xDB\x1D\x1B\x18\xAA\x6C\x08\x32\x4B\x7D\x64\xB7\x1F\xB7\x63"
+ "\x70\x69\x0E\x1D";
+ absl::string_view data("");
+
+ crypto::HMAC hmac(crypto::HMAC::SHA1);
+ ASSERT_TRUE(hmac.Init(nullptr, 0));
+
+ unsigned char digest[kSHA1DigestSize];
+ EXPECT_TRUE(hmac.Sign(data, digest, kSHA1DigestSize));
+ EXPECT_EQ(0, memcmp(kExpectedDigest, digest, kSHA1DigestSize));
+
+ EXPECT_TRUE(
+ hmac.Verify(data, absl::string_view(kExpectedDigest, kSHA1DigestSize)));
+}
+
+TEST(HMACTest, TooLong) {
+ // See RFC4231, section 4.7.
+ unsigned char key[131];
+ for (size_t i = 0; i < sizeof(key); ++i) key[i] = 0xaa;
+
+ std::string data = "Test Using Larger Than Block-Size Key - Hash Key First";
+ static uint8_t kKnownHMACSHA256[] = {
+ 0x60, 0xe4, 0x31, 0x59, 0x1e, 0xe0, 0xb6, 0x7f, 0x0d, 0x8a, 0x26,
+ 0xaa, 0xcb, 0xf5, 0xb7, 0x7f, 0x8e, 0x0b, 0xc6, 0x21, 0x37, 0x28,
+ 0xc5, 0x14, 0x05, 0x46, 0x04, 0x0f, 0x0e, 0xe3, 0x7f, 0x54};
+
+ crypto::HMAC hmac(crypto::HMAC::SHA256);
+ ASSERT_TRUE(hmac.Init(key, sizeof(key)));
+
+ // Attempting to write too large of an HMAC is an error.
+ uint8_t calculated_hmac[kSHA256DigestSize + 1];
+ EXPECT_FALSE(hmac.Sign(data, calculated_hmac, sizeof(calculated_hmac)));
+
+ // Attempting to verify too large of an HMAC is an error.
+ memcpy(calculated_hmac, kKnownHMACSHA256, kSHA256DigestSize);
+ calculated_hmac[kSHA256DigestSize] = 0;
+ EXPECT_FALSE(hmac.VerifyTruncated(
+ data,
+ std::string(calculated_hmac, calculated_hmac + sizeof(calculated_hmac))));
+}
+
+TEST(HMACTest, Bytes) {
+ // See RFC4231, section 4.7.
+ std::vector<uint8_t> key(131, 0xaa);
+ std::string data_str =
+ "Test Using Larger Than Block-Size Key - Hash Key First";
+ std::vector<uint8_t> data(data_str.begin(), data_str.end());
+ static uint8_t kKnownHMACSHA256[] = {
+ 0x60, 0xe4, 0x31, 0x59, 0x1e, 0xe0, 0xb6, 0x7f, 0x0d, 0x8a, 0x26,
+ 0xaa, 0xcb, 0xf5, 0xb7, 0x7f, 0x8e, 0x0b, 0xc6, 0x21, 0x37, 0x28,
+ 0xc5, 0x14, 0x05, 0x46, 0x04, 0x0f, 0x0e, 0xe3, 0x7f, 0x54};
+
+ crypto::HMAC hmac(crypto::HMAC::SHA256);
+ ASSERT_TRUE(hmac.Init(key));
+
+ uint8_t calculated_hmac[kSHA256DigestSize];
+ ASSERT_TRUE(hmac.Sign(data, calculated_hmac));
+ EXPECT_EQ(0, memcmp(kKnownHMACSHA256, calculated_hmac, kSHA256DigestSize));
+
+ EXPECT_TRUE(hmac.Verify(data, calculated_hmac));
+ EXPECT_TRUE(hmac.VerifyTruncated(
+ data, absl::MakeSpan(calculated_hmac, kSHA256DigestSize / 2)));
+
+ data[0]++;
+ EXPECT_FALSE(hmac.Verify(data, calculated_hmac));
+ EXPECT_FALSE(hmac.VerifyTruncated(
+ data, absl::MakeSpan(calculated_hmac, kSHA256DigestSize / 2)));
+}
diff --git a/chromium/third_party/nearby/src/internal/crypto/nearby_base.cc b/chromium/third_party/nearby/src/internal/crypto/nearby_base.cc
new file mode 100644
index 00000000000..17683c9e693
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/nearby_base.cc
@@ -0,0 +1,46 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/nearby_base.h"
+
+#include <cstddef>
+#include <limits>
+#include <string>
+
+#include "absl/types/span.h"
+#include "internal/platform/logging.h"
+
+namespace nearbybase {
+
+char* WriteInto(std::string* str, size_t length_with_null) {
+ DCHECK_GE(length_with_null, 1u);
+ str->reserve(length_with_null);
+ str->resize(length_with_null - 1);
+ return &((*str)[0]);
+}
+
+std::string HexEncode(const void* bytes, size_t size) {
+ static const char kHexChars[] = "0123456789ABCDEF";
+
+ // Each input byte creates two output hex characters.
+ std::string ret(size * 2, '\0');
+
+ for (size_t i = 0; i < size; ++i) {
+ char b = reinterpret_cast<const char*>(bytes)[i];
+ ret[(i * 2)] = kHexChars[(b >> 4) & 0xf];
+ ret[(i * 2) + 1] = kHexChars[b & 0xf];
+ }
+ return ret;
+}
+} // namespace nearbybase
diff --git a/chromium/third_party/nearby/src/internal/crypto/nearby_base.h b/chromium/third_party/nearby/src/internal/crypto/nearby_base.h
new file mode 100644
index 00000000000..f47bf75df0c
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/nearby_base.h
@@ -0,0 +1,56 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+// This header file defines base utility functions needed by Nearby Sharing.
+// They are from Chromium //base with no equivalence in Abseil or pre C++20
+// Standard C++ Library.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_NEARBY_BASE_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_NEARBY_BASE_H_
+
+#include <cstddef>
+#include <limits>
+#include <string>
+
+#include "absl/types/span.h"
+
+namespace nearbybase {
+
+// Copying C++20 std::span implementation, but returns absl::Span and has no
+// static extent template parameter.
+template <typename T>
+absl::Span<const uint8_t> as_bytes(absl::Span<T> s) noexcept {
+ return {reinterpret_cast<const uint8_t*>(s.data()), sizeof(T) * s.size()};
+}
+
+// Copy of Chromium base::WriteInto.
+char* WriteInto(std::string* str, size_t length_with_null);
+
+// Copy of Chromium base::STLClearObject.
+// Clears internal memory of an STL object.
+// STL clear()/reserve(0) does not always free internal memory allocated
+// This function uses swap/destructor to ensure the internal memory is freed.
+template <class T>
+void STLClearObject(T* obj) {
+ T tmp;
+ tmp.swap(*obj);
+ // Sometimes "T tmp" allocates objects with memory (arena implementation?).
+ // Hence using additional reserve(0) even if it doesn't always work.
+ obj->reserve(0);
+}
+
+// Copy of Chrome base::HexEncode.
+std::string HexEncode(const void* bytes, size_t size);
+} // namespace nearbybase
+#endif // THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_NEARBY_BASE_H_
diff --git a/chromium/third_party/nearby/src/internal/crypto/openssl_util.cc b/chromium/third_party/nearby/src/internal/crypto/openssl_util.cc
new file mode 100644
index 00000000000..1568612d91c
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/openssl_util.cc
@@ -0,0 +1,62 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/openssl_util.h"
+
+#include <stddef.h>
+#include <stdint.h>
+
+#include <string>
+
+#include "absl/strings/string_view.h"
+#include "internal/platform/logging.h"
+#include <openssl/crypto.h>
+#include <openssl/err.h>
+
+namespace crypto {
+
+namespace {
+
+// Callback routine for OpenSSL to print error messages. |str| is a
+// NULL-terminated string of length |len| containing diagnostic information
+// such as the library, function and reason for the error, the file and line
+// where the error originated, plus potentially any context-specific
+// information about the error. |context| contains a pointer to user-supplied
+// data, which is currently unused.
+// If this callback returns a value <= 0, OpenSSL will stop processing the
+// error queue and return, otherwise it will continue calling this function
+// until all errors have been removed from the queue.
+int OpenSSLErrorCallback(const char* str, size_t len, void* context) {
+ NEARBY_LOGS(VERBOSE) << "\t" << absl::string_view(str, len);
+ return 1;
+}
+
+} // namespace
+
+void EnsureOpenSSLInit() {
+ // CRYPTO_library_init may be safely called concurrently.
+ CRYPTO_library_init();
+}
+
+void ClearOpenSSLERRStack() {
+ if (NEARBY_LOG_IS_ON(VERBOSE)) {
+ uint32_t error_num = ERR_peek_error();
+ if (error_num == 0) return;
+ ERR_print_errors_cb(&OpenSSLErrorCallback, nullptr);
+ } else {
+ ERR_clear_error();
+ }
+}
+
+} // namespace crypto
diff --git a/chromium/third_party/nearby/src/internal/crypto/openssl_util.h b/chromium/third_party/nearby/src/internal/crypto/openssl_util.h
new file mode 100644
index 00000000000..2ddb517ace8
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/openssl_util.h
@@ -0,0 +1,104 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_OPENSSL_UTIL_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_OPENSSL_UTIL_H_
+
+#include <stddef.h>
+#include <string.h>
+
+#include "internal/crypto/crypto_export.h"
+#include "internal/platform/logging.h"
+
+namespace crypto {
+
+// Provides a buffer of at least MIN_SIZE bytes, for use when calling OpenSSL's
+// SHA256, HMAC, etc functions, adapting the buffer sizing rules to meet those
+// of our base wrapper APIs.
+// This allows the library to write directly to the caller's buffer if it is of
+// sufficient size, but if not it will write to temporary |min_sized_buffer_|
+// of required size and then its content is automatically copied out on
+// destruction, with truncation as appropriate.
+template <int MIN_SIZE>
+class ScopedOpenSSLSafeSizeBuffer {
+ public:
+ ScopedOpenSSLSafeSizeBuffer(unsigned char* output, size_t output_len)
+ : output_(output), output_len_(output_len) {}
+
+ ScopedOpenSSLSafeSizeBuffer(const ScopedOpenSSLSafeSizeBuffer&) = delete;
+ ScopedOpenSSLSafeSizeBuffer& operator=(const ScopedOpenSSLSafeSizeBuffer&) =
+ delete;
+
+ ~ScopedOpenSSLSafeSizeBuffer() {
+ if (output_len_ < MIN_SIZE) {
+ // Copy the temporary buffer out, truncating as needed.
+ memcpy(output_, min_sized_buffer_, output_len_);
+ }
+ // else... any writing already happened directly into |output_|.
+ }
+
+ unsigned char* safe_buffer() {
+ return output_len_ < MIN_SIZE ? min_sized_buffer_ : output_;
+ }
+
+ private:
+ // Pointer to the caller's data area and its associated size, where data
+ // written via safe_buffer() will [eventually] end up.
+ unsigned char* output_;
+ size_t output_len_;
+
+ // Temporary buffer written into in the case where the caller's
+ // buffer is not of sufficient size.
+ unsigned char min_sized_buffer_[MIN_SIZE];
+};
+
+// Initialize OpenSSL if it isn't already initialized. This must be called
+// before any other OpenSSL functions though it is safe and cheap to call this
+// multiple times.
+// This function is thread-safe, and OpenSSL will only ever be initialized once.
+// OpenSSL will be properly shut down on program exit.
+CRYPTO_EXPORT void EnsureOpenSSLInit();
+
+// Drains the OpenSSL ERR_get_error stack. On a debug build the error codes
+// are send to VLOG(1), on a release build they are disregarded. In most
+// cases you should pass absl::SourceLocation::current() as the |location|.
+// TODO(b/239260254): Currently source_location.h is not available in OSS.
+// We can not use std::SourceLocation as it is C++20. Once we move to C++20 or
+// absl::SourceLocation is in OSS, add back "location".
+// See google3/third_party/castlite/agent/crypto/openssl_util.h for reference.
+CRYPTO_EXPORT void ClearOpenSSLERRStack();
+
+// Place an instance of this class on the call stack to automatically clear
+// the OpenSSL error stack on function exit.
+class OpenSSLErrStackTracer {
+ public:
+ // Pass absl::SourceLocation::current() as |location|, to help track the
+ // source of OpenSSL error messages. Note any diagnostic emitted will be
+ // tagged with the location of the constructor call as it's not possible to
+ // trace a destructor's callsite.
+ // TODO(b/239260254): Currently source_location.h is not available in OSS.
+ // We can not use std::SourceLocation as it is C++20. Once we move to C++20 or
+ // absl::SourceLocation is in OSS, add back "location".
+ // See google3/third_party/castlite/agent/crypto/openssl_util.h for reference.
+ OpenSSLErrStackTracer() { EnsureOpenSSLInit(); }
+
+ OpenSSLErrStackTracer(const OpenSSLErrStackTracer&) = delete;
+ OpenSSLErrStackTracer& operator=(const OpenSSLErrStackTracer&) = delete;
+
+ ~OpenSSLErrStackTracer() { ClearOpenSSLERRStack(); }
+};
+
+} // namespace crypto
+
+#endif // THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_OPENSSL_UTIL_H_
diff --git a/chromium/third_party/nearby/src/internal/crypto/random.cc b/chromium/third_party/nearby/src/internal/crypto/random.cc
new file mode 100644
index 00000000000..6f68e7b50bb
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/random.cc
@@ -0,0 +1,31 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/random.h"
+
+#include <stddef.h>
+
+#include <openssl/rand.h>
+
+namespace crypto {
+
+void RandBytes(void *bytes, size_t length) {
+ RAND_bytes(reinterpret_cast<uint8_t *>(bytes), length);
+}
+
+void RandBytes(absl::Span<uint8_t> bytes) {
+ RandBytes(bytes.data(), bytes.size());
+}
+
+} // namespace crypto
diff --git a/chromium/third_party/nearby/src/internal/crypto/random.h b/chromium/third_party/nearby/src/internal/crypto/random.h
new file mode 100644
index 00000000000..72adde00fc6
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/random.h
@@ -0,0 +1,34 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_RANDOM_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_RANDOM_H_
+
+#include <stddef.h>
+
+#include "absl/types/span.h"
+#include "internal/crypto/crypto_export.h"
+
+namespace crypto {
+
+// Fills the given buffer with |length| random bytes of cryptographically
+// secure random numbers.
+// |length| must be positive.
+CRYPTO_EXPORT void RandBytes(void *bytes, size_t length);
+
+// Fills |bytes| with cryptographically-secure random bits.
+CRYPTO_EXPORT void RandBytes(absl::Span<uint8_t> bytes);
+} // namespace crypto
+
+#endif // THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_RANDOM_H_
diff --git a/chromium/third_party/nearby/src/internal/crypto/random_unittest.cc b/chromium/third_party/nearby/src/internal/crypto/random_unittest.cc
new file mode 100644
index 00000000000..3854da62afb
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/random_unittest.cc
@@ -0,0 +1,41 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/random.h"
+
+#include <stddef.h>
+
+#include <string>
+
+#include "gtest/gtest.h"
+#include "internal/crypto/nearby_base.h"
+
+// Basic functionality tests. Does NOT test the security of the random data.
+
+// Ensures we don't have all trivial data, i.e. that the data is indeed random.
+// Currently, that means the bytes cannot be all the same (e.g. all zeros).
+bool IsTrivial(const std::string& bytes) {
+ for (size_t i = 0; i < bytes.size(); i++) {
+ if (bytes[i] != bytes[0]) {
+ return false;
+ }
+ }
+ return true;
+}
+
+TEST(RandBytes, RandBytes) {
+ std::string bytes(16, '\0');
+ crypto::RandBytes(nearbybase::WriteInto(&bytes, bytes.size()), bytes.size());
+ EXPECT_TRUE(!IsTrivial(bytes));
+}
diff --git a/chromium/third_party/nearby/src/internal/crypto/rsa_private_key.cc b/chromium/third_party/nearby/src/internal/crypto/rsa_private_key.cc
new file mode 100644
index 00000000000..57e7b1c1acf
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/rsa_private_key.cc
@@ -0,0 +1,122 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/rsa_private_key.h"
+
+#include <stdint.h>
+
+#include <memory>
+#include <utility>
+#include <vector>
+
+#include "absl/types/span.h"
+#include "internal/crypto/openssl_util.h"
+#include "internal/platform/logging.h"
+#include <openssl/bn.h>
+#include <openssl/bytestring.h>
+#include <openssl/evp.h>
+#include <openssl/mem.h>
+#include <openssl/rsa.h>
+
+namespace crypto {
+
+// static
+std::unique_ptr<RSAPrivateKey> RSAPrivateKey::Create(uint16_t num_bits) {
+ OpenSSLErrStackTracer err_tracer;
+
+ bssl::UniquePtr<RSA> rsa_key(RSA_new());
+ bssl::UniquePtr<BIGNUM> bn(BN_new());
+ if (!rsa_key.get() || !bn.get() || !BN_set_word(bn.get(), 65537L))
+ return nullptr;
+
+ if (!RSA_generate_key_ex(rsa_key.get(), num_bits, bn.get(), nullptr))
+ return nullptr;
+
+ std::unique_ptr<RSAPrivateKey> result(new RSAPrivateKey);
+ result->key_.reset(EVP_PKEY_new());
+ if (!result->key_ || !EVP_PKEY_set1_RSA(result->key_.get(), rsa_key.get()))
+ return nullptr;
+
+ return result;
+}
+
+// static
+std::unique_ptr<RSAPrivateKey> RSAPrivateKey::CreateFromPrivateKeyInfo(
+ absl::Span<const uint8_t> input) {
+ OpenSSLErrStackTracer err_tracer;
+
+ CBS cbs;
+ CBS_init(&cbs, input.data(), input.size());
+ bssl::UniquePtr<EVP_PKEY> pkey(EVP_parse_private_key(&cbs));
+ if (!pkey || CBS_len(&cbs) != 0 || EVP_PKEY_id(pkey.get()) != EVP_PKEY_RSA)
+ return nullptr;
+
+ std::unique_ptr<RSAPrivateKey> result(new RSAPrivateKey);
+ result->key_ = std::move(pkey);
+ return result;
+}
+
+// static
+std::unique_ptr<RSAPrivateKey> RSAPrivateKey::CreateFromKey(EVP_PKEY* key) {
+ DCHECK(key);
+ if (EVP_PKEY_id(key) != EVP_PKEY_RSA) return nullptr;
+ std::unique_ptr<RSAPrivateKey> copy(new RSAPrivateKey);
+ copy->key_ = bssl::UpRef(key);
+ return copy;
+}
+
+RSAPrivateKey::RSAPrivateKey() = default;
+
+RSAPrivateKey::~RSAPrivateKey() = default;
+
+std::unique_ptr<RSAPrivateKey> RSAPrivateKey::Copy() const {
+ std::unique_ptr<RSAPrivateKey> copy(new RSAPrivateKey);
+ bssl::UniquePtr<RSA> rsa(EVP_PKEY_get1_RSA(key_.get()));
+ if (!rsa) return nullptr;
+ copy->key_.reset(EVP_PKEY_new());
+ if (!EVP_PKEY_set1_RSA(copy->key_.get(), rsa.get())) return nullptr;
+ return copy;
+}
+
+bool RSAPrivateKey::ExportPrivateKey(std::vector<uint8_t>* output) const {
+ OpenSSLErrStackTracer err_tracer;
+ uint8_t* der;
+ size_t der_len;
+ bssl::ScopedCBB cbb;
+ if (!CBB_init(cbb.get(), 0) ||
+ !EVP_marshal_private_key(cbb.get(), key_.get()) ||
+ !CBB_finish(cbb.get(), &der, &der_len)) {
+ return false;
+ }
+ output->assign(der, der + der_len);
+ OPENSSL_free(der);
+ return true;
+}
+
+bool RSAPrivateKey::ExportPublicKey(std::vector<uint8_t>* output) const {
+ OpenSSLErrStackTracer err_tracer;
+ uint8_t* der;
+ size_t der_len;
+ bssl::ScopedCBB cbb;
+ if (!CBB_init(cbb.get(), 0) ||
+ !EVP_marshal_public_key(cbb.get(), key_.get()) ||
+ !CBB_finish(cbb.get(), &der, &der_len)) {
+ return false;
+ }
+ output->assign(der, der + der_len);
+ OPENSSL_free(der);
+ return true;
+}
+
+} // namespace crypto
diff --git a/chromium/third_party/nearby/src/internal/crypto/rsa_private_key.h b/chromium/third_party/nearby/src/internal/crypto/rsa_private_key.h
new file mode 100644
index 00000000000..58a8e986f11
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/rsa_private_key.h
@@ -0,0 +1,74 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_RSA_PRIVATE_KEY_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_RSA_PRIVATE_KEY_H_
+
+#include <stddef.h>
+#include <stdint.h>
+
+#include <memory>
+#include <vector>
+
+#include "absl/types/span.h"
+#include "internal/crypto/crypto_export.h"
+#include <openssl/base.h>
+
+namespace crypto {
+
+// Encapsulates an RSA private key. Can be used to generate new keys, export
+// keys to other formats, or to extract a public key.
+// TODO(hclam): This class should be ref-counted so it can be reused easily.
+class CRYPTO_EXPORT RSAPrivateKey {
+ public:
+ RSAPrivateKey(const RSAPrivateKey&) = delete;
+ RSAPrivateKey& operator=(const RSAPrivateKey&) = delete;
+
+ ~RSAPrivateKey();
+
+ // Create a new random instance. Can return NULL if initialization fails.
+ static std::unique_ptr<RSAPrivateKey> Create(uint16_t num_bits);
+
+ // Create a new instance by importing an existing private key. The format is
+ // an ASN.1-encoded PrivateKeyInfo block from PKCS #8. This can return NULL if
+ // initialization fails.
+ static std::unique_ptr<RSAPrivateKey> CreateFromPrivateKeyInfo(
+ absl::Span<const uint8_t> input);
+
+ // Create a new instance from an existing EVP_PKEY, taking a
+ // reference to it. |key| must be an RSA key. Returns NULL on
+ // failure.
+ static std::unique_ptr<RSAPrivateKey> CreateFromKey(EVP_PKEY* key);
+
+ EVP_PKEY* key() const { return key_.get(); }
+
+ // Creates a copy of the object.
+ std::unique_ptr<RSAPrivateKey> Copy() const;
+
+ // Exports the private key to a PKCS #8 PrivateKeyInfo block.
+ bool ExportPrivateKey(std::vector<uint8_t>* output) const;
+
+ // Exports the public key to an X509 SubjectPublicKeyInfo block.
+ bool ExportPublicKey(std::vector<uint8_t>* output) const;
+
+ private:
+ // Constructor is private. Use one of the Create*() methods above instead.
+ RSAPrivateKey();
+
+ bssl::UniquePtr<EVP_PKEY> key_;
+};
+
+} // namespace crypto
+
+#endif // THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_RSA_PRIVATE_KEY_H_
diff --git a/chromium/third_party/nearby/src/internal/crypto/rsa_private_key_unittest.cc b/chromium/third_party/nearby/src/internal/crypto/rsa_private_key_unittest.cc
new file mode 100644
index 00000000000..bfe25b49688
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/rsa_private_key_unittest.cc
@@ -0,0 +1,386 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/rsa_private_key.h"
+
+#include <stdint.h>
+
+#include <memory>
+#include <vector>
+
+#include "gtest/gtest.h"
+
+namespace {
+
+const uint8_t kTestPrivateKeyInfo[] = {
+ 0x30, 0x82, 0x02, 0x78, 0x02, 0x01, 0x00, 0x30, 0x0d, 0x06, 0x09, 0x2a,
+ 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x01, 0x05, 0x00, 0x04, 0x82,
+ 0x02, 0x62, 0x30, 0x82, 0x02, 0x5e, 0x02, 0x01, 0x00, 0x02, 0x81, 0x81,
+ 0x00, 0xb8, 0x7f, 0x2b, 0x20, 0xdc, 0x7c, 0x9b, 0x0c, 0xdc, 0x51, 0x61,
+ 0x99, 0x0d, 0x36, 0x0f, 0xd4, 0x66, 0x88, 0x08, 0x55, 0x84, 0xd5, 0x3a,
+ 0xbf, 0x2b, 0xa4, 0x64, 0x85, 0x7b, 0x0c, 0x04, 0x13, 0x3f, 0x8d, 0xf4,
+ 0xbc, 0x38, 0x0d, 0x49, 0xfe, 0x6b, 0xc4, 0x5a, 0xb0, 0x40, 0x53, 0x3a,
+ 0xd7, 0x66, 0x09, 0x0f, 0x9e, 0x36, 0x74, 0x30, 0xda, 0x8a, 0x31, 0x4f,
+ 0x1f, 0x14, 0x50, 0xd7, 0xc7, 0x20, 0x94, 0x17, 0xde, 0x4e, 0xb9, 0x57,
+ 0x5e, 0x7e, 0x0a, 0xe5, 0xb2, 0x65, 0x7a, 0x89, 0x4e, 0xb6, 0x47, 0xff,
+ 0x1c, 0xbd, 0xb7, 0x38, 0x13, 0xaf, 0x47, 0x85, 0x84, 0x32, 0x33, 0xf3,
+ 0x17, 0x49, 0xbf, 0xe9, 0x96, 0xd0, 0xd6, 0x14, 0x6f, 0x13, 0x8d, 0xc5,
+ 0xfc, 0x2c, 0x72, 0xba, 0xac, 0xea, 0x7e, 0x18, 0x53, 0x56, 0xa6, 0x83,
+ 0xa2, 0xce, 0x93, 0x93, 0xe7, 0x1f, 0x0f, 0xe6, 0x0f, 0x02, 0x03, 0x01,
+ 0x00, 0x01, 0x02, 0x81, 0x80, 0x03, 0x61, 0x89, 0x37, 0xcb, 0xf2, 0x98,
+ 0xa0, 0xce, 0xb4, 0xcb, 0x16, 0x13, 0xf0, 0xe6, 0xaf, 0x5c, 0xc5, 0xa7,
+ 0x69, 0x71, 0xca, 0xba, 0x8d, 0xe0, 0x4d, 0xdd, 0xed, 0xb8, 0x48, 0x8b,
+ 0x16, 0x93, 0x36, 0x95, 0xc2, 0x91, 0x40, 0x65, 0x17, 0xbd, 0x7f, 0xd6,
+ 0xad, 0x9e, 0x30, 0x28, 0x46, 0xe4, 0x3e, 0xcc, 0x43, 0x78, 0xf9, 0xfe,
+ 0x1f, 0x33, 0x23, 0x1e, 0x31, 0x12, 0x9d, 0x3c, 0xa7, 0x08, 0x82, 0x7b,
+ 0x7d, 0x25, 0x4e, 0x5e, 0x19, 0xa8, 0x9b, 0xed, 0x86, 0xb2, 0xcb, 0x3c,
+ 0xfe, 0x4e, 0xa1, 0xfa, 0x62, 0x87, 0x3a, 0x17, 0xf7, 0x60, 0xec, 0x38,
+ 0x29, 0xe8, 0x4f, 0x34, 0x9f, 0x76, 0x9d, 0xee, 0xa3, 0xf6, 0x85, 0x6b,
+ 0x84, 0x43, 0xc9, 0x1e, 0x01, 0xff, 0xfd, 0xd0, 0x29, 0x4c, 0xfa, 0x8e,
+ 0x57, 0x0c, 0xc0, 0x71, 0xa5, 0xbb, 0x88, 0x46, 0x29, 0x5c, 0xc0, 0x4f,
+ 0x01, 0x02, 0x41, 0x00, 0xf5, 0x83, 0xa4, 0x64, 0x4a, 0xf2, 0xdd, 0x8c,
+ 0x2c, 0xed, 0xa8, 0xd5, 0x60, 0x5a, 0xe4, 0xc7, 0xcc, 0x61, 0xcd, 0x38,
+ 0x42, 0x20, 0xd3, 0x82, 0x18, 0xf2, 0x35, 0x00, 0x72, 0x2d, 0xf7, 0x89,
+ 0x80, 0x67, 0xb5, 0x93, 0x05, 0x5f, 0xdd, 0x42, 0xba, 0x16, 0x1a, 0xea,
+ 0x15, 0xc6, 0xf0, 0xb8, 0x8c, 0xbc, 0xbf, 0x54, 0x9e, 0xf1, 0xc1, 0xb2,
+ 0xb3, 0x8b, 0xb6, 0x26, 0x02, 0x30, 0xc4, 0x81, 0x02, 0x41, 0x00, 0xc0,
+ 0x60, 0x62, 0x80, 0xe1, 0x22, 0x78, 0xf6, 0x9d, 0x83, 0x18, 0xeb, 0x72,
+ 0x45, 0xd7, 0xc8, 0x01, 0x7f, 0xa9, 0xca, 0x8f, 0x7d, 0xd6, 0xb8, 0x31,
+ 0x2b, 0x84, 0x7f, 0x62, 0xd9, 0xa9, 0x22, 0x17, 0x7d, 0x06, 0x35, 0x6c,
+ 0xf3, 0xc1, 0x94, 0x17, 0x85, 0x5a, 0xaf, 0x9c, 0x5c, 0x09, 0x3c, 0xcf,
+ 0x2f, 0x44, 0x9d, 0xb6, 0x52, 0x68, 0x5f, 0xf9, 0x59, 0xc8, 0x84, 0x2b,
+ 0x39, 0x22, 0x8f, 0x02, 0x41, 0x00, 0xb2, 0x04, 0xe2, 0x0e, 0x56, 0xca,
+ 0x03, 0x1a, 0xc0, 0xf9, 0x12, 0x92, 0xa5, 0x6b, 0x42, 0xb8, 0x1c, 0xda,
+ 0x4d, 0x93, 0x9d, 0x5f, 0x6f, 0xfd, 0xc5, 0x58, 0xda, 0x55, 0x98, 0x74,
+ 0xfc, 0x28, 0x17, 0x93, 0x1b, 0x75, 0x9f, 0x50, 0x03, 0x7f, 0x7e, 0xae,
+ 0xc8, 0x95, 0x33, 0x75, 0x2c, 0xd6, 0xa4, 0x35, 0xb8, 0x06, 0x03, 0xba,
+ 0x08, 0x59, 0x2b, 0x17, 0x02, 0xdc, 0x4c, 0x7a, 0x50, 0x01, 0x02, 0x41,
+ 0x00, 0x9d, 0xdb, 0x39, 0x59, 0x09, 0xe4, 0x30, 0xa0, 0x24, 0xf5, 0xdb,
+ 0x2f, 0xf0, 0x2f, 0xf1, 0x75, 0x74, 0x0d, 0x5e, 0xb5, 0x11, 0x73, 0xb0,
+ 0x0a, 0xaa, 0x86, 0x4c, 0x0d, 0xff, 0x7e, 0x1d, 0xb4, 0x14, 0xd4, 0x09,
+ 0x91, 0x33, 0x5a, 0xfd, 0xa0, 0x58, 0x80, 0x9b, 0xbe, 0x78, 0x2e, 0x69,
+ 0x82, 0x15, 0x7c, 0x72, 0xf0, 0x7b, 0x18, 0x39, 0xff, 0x6e, 0xeb, 0xc6,
+ 0x86, 0xf5, 0xb4, 0xc7, 0x6f, 0x02, 0x41, 0x00, 0x8d, 0x1a, 0x37, 0x0f,
+ 0x76, 0xc4, 0x82, 0xfa, 0x5c, 0xc3, 0x79, 0x35, 0x3e, 0x70, 0x8a, 0xbf,
+ 0x27, 0x49, 0xb0, 0x99, 0x63, 0xcb, 0x77, 0x5f, 0xa8, 0x82, 0x65, 0xf6,
+ 0x03, 0x52, 0x51, 0xf1, 0xae, 0x2e, 0x05, 0xb3, 0xc6, 0xa4, 0x92, 0xd1,
+ 0xce, 0x6c, 0x72, 0xfb, 0x21, 0xb3, 0x02, 0x87, 0xe4, 0xfd, 0x61, 0xca,
+ 0x00, 0x42, 0x19, 0xf0, 0xda, 0x5a, 0x53, 0xe3, 0xb1, 0xc5, 0x15, 0xf3};
+
+} // namespace
+
+// Generate random private keys with two different sizes. Reimport, then
+// export them again. We should get back the same exact bytes.
+TEST(RSAPrivateKeyUnitTest, InitRandomTest) {
+ std::unique_ptr<crypto::RSAPrivateKey> keypair1(
+ crypto::RSAPrivateKey::Create(1024));
+ std::unique_ptr<crypto::RSAPrivateKey> keypair2(
+ crypto::RSAPrivateKey::Create(2048));
+ ASSERT_TRUE(keypair1.get());
+ ASSERT_TRUE(keypair2.get());
+
+ std::vector<uint8_t> privkey1;
+ std::vector<uint8_t> privkey2;
+ std::vector<uint8_t> pubkey1;
+ std::vector<uint8_t> pubkey2;
+
+ ASSERT_TRUE(keypair1->ExportPrivateKey(&privkey1));
+ ASSERT_TRUE(keypair2->ExportPrivateKey(&privkey2));
+ ASSERT_TRUE(keypair1->ExportPublicKey(&pubkey1));
+ ASSERT_TRUE(keypair2->ExportPublicKey(&pubkey2));
+
+ std::unique_ptr<crypto::RSAPrivateKey> keypair3(
+ crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey1));
+ std::unique_ptr<crypto::RSAPrivateKey> keypair4(
+ crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(privkey2));
+ ASSERT_TRUE(keypair3.get());
+ ASSERT_TRUE(keypair4.get());
+
+ std::vector<uint8_t> privkey3;
+ std::vector<uint8_t> privkey4;
+ ASSERT_TRUE(keypair3->ExportPrivateKey(&privkey3));
+ ASSERT_TRUE(keypair4->ExportPrivateKey(&privkey4));
+
+ ASSERT_EQ(privkey1.size(), privkey3.size());
+ ASSERT_EQ(privkey2.size(), privkey4.size());
+ ASSERT_EQ(0, memcmp(&privkey1.front(), &privkey3.front(), privkey1.size()));
+ ASSERT_EQ(0, memcmp(&privkey2.front(), &privkey4.front(), privkey2.size()));
+}
+
+// Test Copy() method.
+TEST(RSAPrivateKeyUnitTest, CopyTest) {
+ std::vector<uint8_t> input(kTestPrivateKeyInfo,
+ kTestPrivateKeyInfo + sizeof(kTestPrivateKeyInfo));
+
+ std::unique_ptr<crypto::RSAPrivateKey> key(
+ crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input));
+
+ std::unique_ptr<crypto::RSAPrivateKey> key_copy(key->Copy());
+ ASSERT_TRUE(key_copy.get());
+
+ std::vector<uint8_t> privkey_copy;
+ ASSERT_TRUE(key_copy->ExportPrivateKey(&privkey_copy));
+ ASSERT_EQ(input, privkey_copy);
+}
+
+// Test that CreateFromPrivateKeyInfo fails if there is extra data after the RSA
+// key.
+TEST(RSAPrivateKeyUnitTest, ExtraData) {
+ std::vector<uint8_t> input(kTestPrivateKeyInfo,
+ kTestPrivateKeyInfo + sizeof(kTestPrivateKeyInfo));
+ input.push_back(0);
+
+ std::unique_ptr<crypto::RSAPrivateKey> key(
+ crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input));
+
+ // Import should fail.
+ EXPECT_FALSE(key);
+}
+
+TEST(RSAPrivateKeyUnitTest, NotRsaKey) {
+ // Defines a valid P-256 private key.
+ const uint8_t kTestEcPrivateKeyInfo[] = {
+ 0x30, 0x81, 0x87, 0x02, 0x01, 0x00, 0x30, 0x13, 0x06, 0x07, 0x2A, 0x86,
+ 0x48, 0xCE, 0x3D, 0x02, 0x01, 0x06, 0x08, 0x2A, 0x86, 0x48, 0xCE, 0x3D,
+ 0x03, 0x01, 0x07, 0x04, 0x6D, 0x30, 0x6B, 0x02, 0x01, 0x01, 0x04, 0x20,
+ 0x1F, 0xE3, 0x39, 0x50, 0xC5, 0xF4, 0x61, 0x12, 0x4A, 0xE9, 0x92, 0xC2,
+ 0xBD, 0xFD, 0xF1, 0xC7, 0x3B, 0x16, 0x15, 0xF5, 0x71, 0xBD, 0x56, 0x7E,
+ 0x60, 0xD1, 0x9A, 0xA1, 0xF4, 0x8C, 0xDF, 0x42, 0xA1, 0x44, 0x03, 0x42,
+ 0x00, 0x04, 0x7C, 0x11, 0x0C, 0x66, 0xDC, 0xFD, 0xA8, 0x07, 0xF6, 0xE6,
+ 0x9E, 0x45, 0xDD, 0xB3, 0xC7, 0x4F, 0x69, 0xA1, 0x48, 0x4D, 0x20, 0x3E,
+ 0x8D, 0xC5, 0xAD, 0xA8, 0xE9, 0xA9, 0xDD, 0x7C, 0xB3, 0xC7, 0x0D, 0xF4,
+ 0x48, 0x98, 0x6E, 0x51, 0xBD, 0xE5, 0xD1, 0x57, 0x6F, 0x99, 0x90, 0x1F,
+ 0x9C, 0x2C, 0x6A, 0x80, 0x6A, 0x47, 0xFD, 0x90, 0x76, 0x43, 0xA7, 0x2B,
+ 0x83, 0x55, 0x97, 0xEF, 0xC8, 0xC6};
+
+ std::vector<uint8_t> input(
+ kTestEcPrivateKeyInfo,
+ kTestEcPrivateKeyInfo + sizeof(kTestEcPrivateKeyInfo));
+
+ std::unique_ptr<crypto::RSAPrivateKey> key(
+ crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input));
+
+ // Import should fail as the given PKCS8 bytes were for an EC key not RSA key.
+ EXPECT_FALSE(key);
+}
+
+// Verify that generated public keys look good. This test data was generated
+// with the openssl command line tool.
+TEST(RSAPrivateKeyUnitTest, PublicKeyTest) {
+ const uint8_t expected_public_key_info[] = {
+ 0x30, 0x81, 0x9f, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7,
+ 0x0d, 0x01, 0x01, 0x01, 0x05, 0x00, 0x03, 0x81, 0x8d, 0x00, 0x30, 0x81,
+ 0x89, 0x02, 0x81, 0x81, 0x00, 0xb8, 0x7f, 0x2b, 0x20, 0xdc, 0x7c, 0x9b,
+ 0x0c, 0xdc, 0x51, 0x61, 0x99, 0x0d, 0x36, 0x0f, 0xd4, 0x66, 0x88, 0x08,
+ 0x55, 0x84, 0xd5, 0x3a, 0xbf, 0x2b, 0xa4, 0x64, 0x85, 0x7b, 0x0c, 0x04,
+ 0x13, 0x3f, 0x8d, 0xf4, 0xbc, 0x38, 0x0d, 0x49, 0xfe, 0x6b, 0xc4, 0x5a,
+ 0xb0, 0x40, 0x53, 0x3a, 0xd7, 0x66, 0x09, 0x0f, 0x9e, 0x36, 0x74, 0x30,
+ 0xda, 0x8a, 0x31, 0x4f, 0x1f, 0x14, 0x50, 0xd7, 0xc7, 0x20, 0x94, 0x17,
+ 0xde, 0x4e, 0xb9, 0x57, 0x5e, 0x7e, 0x0a, 0xe5, 0xb2, 0x65, 0x7a, 0x89,
+ 0x4e, 0xb6, 0x47, 0xff, 0x1c, 0xbd, 0xb7, 0x38, 0x13, 0xaf, 0x47, 0x85,
+ 0x84, 0x32, 0x33, 0xf3, 0x17, 0x49, 0xbf, 0xe9, 0x96, 0xd0, 0xd6, 0x14,
+ 0x6f, 0x13, 0x8d, 0xc5, 0xfc, 0x2c, 0x72, 0xba, 0xac, 0xea, 0x7e, 0x18,
+ 0x53, 0x56, 0xa6, 0x83, 0xa2, 0xce, 0x93, 0x93, 0xe7, 0x1f, 0x0f, 0xe6,
+ 0x0f, 0x02, 0x03, 0x01, 0x00, 0x01};
+
+ std::vector<uint8_t> input(kTestPrivateKeyInfo,
+ kTestPrivateKeyInfo + sizeof(kTestPrivateKeyInfo));
+
+ std::unique_ptr<crypto::RSAPrivateKey> key(
+ crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input));
+ ASSERT_TRUE(key.get());
+
+ std::vector<uint8_t> output;
+ ASSERT_TRUE(key->ExportPublicKey(&output));
+
+ ASSERT_EQ(0,
+ memcmp(expected_public_key_info, &output.front(), output.size()));
+}
+
+// These two test keys each contain an integer that has 0x00 for its most
+// significant byte. When encoded as ASN.1, this byte is dropped and there are
+// two interesting sub-cases. When the sign bit of the integer is set, an extra
+// null byte is added back to force the encoded value to be positive. When the
+// sign bit is not set, the encoded integer is just left shorter than usual.
+// See also: http://code.google.com/p/chromium/issues/detail?id=14877.
+//
+// Before we were handling this correctly, we would see one of two failures:
+// * RSAPrivateKey::CreateFromPrivateKeyInfo would return null because the
+// underlying windows API failed to import the key.
+// * The import would succeed, but incorrectly interpret the data. On export,
+// the key would contain different values.
+//
+// This test case verifies these two failures modes don't occur.
+TEST(RSAPrivateKeyUnitTest, ShortIntegers) {
+ const uint8_t short_integer_with_high_bit[] = {
+ 0x30, 0x82, 0x02, 0x77, 0x02, 0x01, 0x00, 0x30, 0x0d, 0x06, 0x09, 0x2a,
+ 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x01, 0x05, 0x00, 0x04, 0x82,
+ 0x02, 0x61, 0x30, 0x82, 0x02, 0x5d, 0x02, 0x01, 0x00, 0x02, 0x81, 0x81,
+ 0x00, 0x92, 0x59, 0x32, 0x7d, 0x8e, 0xaf, 0x2e, 0xd5, 0xb2, 0x5c, 0x67,
+ 0xc8, 0x7d, 0x48, 0xb7, 0x84, 0x12, 0xd0, 0x76, 0xda, 0xe1, 0xa3, 0x1e,
+ 0x40, 0x01, 0x14, 0x5c, 0xef, 0x26, 0x6e, 0x28, 0xa2, 0xf7, 0xa5, 0xb4,
+ 0x02, 0x37, 0xd0, 0x53, 0x10, 0xcb, 0x7c, 0x6a, 0xf4, 0x53, 0x9f, 0xb8,
+ 0xe0, 0x83, 0x93, 0xd1, 0x19, 0xd8, 0x28, 0xd1, 0xd1, 0xd8, 0x87, 0x8f,
+ 0x92, 0xfd, 0x73, 0xc0, 0x4d, 0x3e, 0x07, 0x22, 0x1f, 0xc1, 0x20, 0xb0,
+ 0x70, 0xb2, 0x3b, 0xea, 0xb1, 0xe5, 0x0a, 0xfd, 0x56, 0x49, 0x5e, 0x39,
+ 0x90, 0x91, 0xce, 0x04, 0x83, 0x29, 0xaa, 0xfd, 0x12, 0xa4, 0x42, 0x26,
+ 0x6c, 0x6e, 0x79, 0x70, 0x77, 0x03, 0xb2, 0x07, 0x01, 0x3d, 0x85, 0x81,
+ 0x95, 0x9e, 0xda, 0x5a, 0xa3, 0xf4, 0x2d, 0x38, 0x04, 0x58, 0xf5, 0x6b,
+ 0xc9, 0xf1, 0xb5, 0x65, 0xfe, 0x66, 0x0d, 0xa2, 0xd5, 0x02, 0x03, 0x01,
+ 0x00, 0x01, 0x02, 0x81, 0x80, 0x5e, 0x01, 0x5f, 0xb6, 0x59, 0x1d, 0xdc,
+ 0x36, 0xb6, 0x60, 0x36, 0xe6, 0x08, 0xdb, 0xd9, 0xcd, 0xc3, 0x8c, 0x16,
+ 0x9c, 0x98, 0x8d, 0x7f, 0xd3, 0xdb, 0x1d, 0xaa, 0x68, 0x8f, 0xc5, 0xf8,
+ 0xe2, 0x5d, 0xb3, 0x19, 0xc2, 0xc6, 0xf9, 0x51, 0x32, 0x1b, 0x93, 0x6a,
+ 0xdc, 0x50, 0x8e, 0xeb, 0x61, 0x84, 0x03, 0x42, 0x30, 0x98, 0xb1, 0xf7,
+ 0xbd, 0x14, 0x9a, 0x57, 0x36, 0x33, 0x09, 0xd4, 0x3e, 0x90, 0xda, 0xef,
+ 0x09, 0x6e, 0xef, 0x49, 0xb6, 0x60, 0x68, 0x5e, 0x54, 0x17, 0x25, 0x5b,
+ 0x37, 0xe3, 0x35, 0x63, 0x5b, 0x60, 0x3c, 0xbd, 0x50, 0xdf, 0x46, 0x43,
+ 0x08, 0xa4, 0x71, 0x21, 0xf1, 0x30, 0x71, 0xdc, 0xda, 0xd7, 0x6f, 0xd2,
+ 0x18, 0xbd, 0x39, 0xf1, 0xe1, 0xbe, 0xa8, 0x8d, 0x62, 0xdf, 0xa2, 0x3e,
+ 0xb6, 0x15, 0x26, 0xb6, 0x57, 0xbd, 0x63, 0xdb, 0xc1, 0x91, 0xec, 0xb8,
+ 0x01, 0x02, 0x41, 0x00, 0xc6, 0x1a, 0x06, 0x48, 0xf2, 0x12, 0x1c, 0x9f,
+ 0x74, 0x20, 0x5c, 0x85, 0xa2, 0xda, 0xe5, 0x62, 0x96, 0x8d, 0x22, 0x7b,
+ 0x78, 0x73, 0xea, 0xbb, 0x9f, 0x59, 0x42, 0x13, 0x15, 0xc8, 0x11, 0x50,
+ 0x6c, 0x55, 0xf6, 0xdf, 0x8b, 0xfe, 0xc7, 0xdd, 0xa8, 0xca, 0x54, 0x41,
+ 0xe8, 0xce, 0xbe, 0x7d, 0xbd, 0xe2, 0x13, 0x4b, 0x5b, 0x61, 0xeb, 0x69,
+ 0x6c, 0xb1, 0x9b, 0x28, 0x68, 0x5b, 0xd6, 0x01, 0x02, 0x41, 0x00, 0xbd,
+ 0x1e, 0xfe, 0x51, 0x99, 0xb6, 0xe3, 0x84, 0xfe, 0xf1, 0x9e, 0xfd, 0x9c,
+ 0xe7, 0x86, 0x43, 0x68, 0x7f, 0x2f, 0x6a, 0x2a, 0x4c, 0xae, 0xa6, 0x41,
+ 0x1c, 0xf0, 0x10, 0x37, 0x54, 0x23, 0xba, 0x05, 0x0d, 0x18, 0x27, 0x8d,
+ 0xb8, 0xe4, 0x8f, 0xf2, 0x25, 0x73, 0x8a, 0xd7, 0x05, 0x98, 0x6b, 0x3d,
+ 0x55, 0xb7, 0x6f, 0x7c, 0xec, 0x77, 0x61, 0x54, 0x7b, 0xb6, 0x6b, 0x31,
+ 0xec, 0x94, 0xd5, 0x02, 0x41, 0x00, 0x90, 0xa2, 0xa5, 0x9e, 0x12, 0xa7,
+ 0x68, 0xa0, 0x7e, 0xdf, 0xb5, 0xcd, 0x98, 0x26, 0xab, 0xbd, 0xbc, 0x5f,
+ 0xd5, 0x22, 0x42, 0xc2, 0x97, 0x4a, 0x5f, 0x40, 0x82, 0xfe, 0x7e, 0x33,
+ 0xb1, 0x78, 0x7f, 0x70, 0x90, 0x2b, 0x8d, 0x01, 0xfb, 0x18, 0xfa, 0x48,
+ 0xa7, 0x15, 0xec, 0x0d, 0x2e, 0x85, 0x8d, 0xe2, 0x86, 0xe5, 0xc9, 0x15,
+ 0x88, 0x14, 0x53, 0xd8, 0xa4, 0x88, 0xef, 0x10, 0xc6, 0x01, 0x02, 0x41,
+ 0x00, 0xba, 0xe4, 0xaf, 0x14, 0xfa, 0xdf, 0xf6, 0xd5, 0xce, 0x8f, 0xfe,
+ 0xbb, 0xc8, 0x5c, 0x30, 0x9d, 0xda, 0xdd, 0x9d, 0x80, 0xc0, 0x0e, 0x89,
+ 0xa5, 0xb8, 0xc1, 0x1d, 0x28, 0x19, 0x55, 0x67, 0xfd, 0x03, 0xd2, 0xdd,
+ 0xe4, 0xf0, 0xb4, 0x20, 0x03, 0x74, 0x9b, 0xb8, 0x24, 0x23, 0xbb, 0xde,
+ 0xd5, 0x53, 0x86, 0xaa, 0xc1, 0x5d, 0x65, 0xdd, 0xcf, 0xec, 0x8a, 0x59,
+ 0x4a, 0x73, 0xca, 0xc5, 0x85, 0x02, 0x40, 0x00, 0xc4, 0x5e, 0x8d, 0xa4,
+ 0xea, 0xbb, 0x6a, 0x9b, 0xe6, 0x3a, 0x4d, 0xc1, 0xdb, 0xe5, 0x52, 0x38,
+ 0xf9, 0x59, 0x91, 0x2d, 0x90, 0x82, 0xe3, 0x31, 0x1b, 0x48, 0xb7, 0x42,
+ 0xfa, 0x1d, 0x83, 0xd5, 0x3d, 0x02, 0xc2, 0x12, 0x71, 0x10, 0x3a, 0xbd,
+ 0x92, 0x8f, 0x9b, 0xa2, 0x6b, 0x2d, 0x21, 0xa4, 0x65, 0xe9, 0xfa, 0x8c,
+ 0x30, 0x2a, 0x89, 0xce, 0xd0, 0xa7, 0x67, 0xd8, 0x45, 0x84, 0xb0};
+
+ const uint8_t short_integer_without_high_bit[] = {
+ 0x30, 0x82, 0x02, 0x76, 0x02, 0x01, 0x00, 0x30, 0x0d, 0x06, 0x09, 0x2a,
+ 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x01, 0x05, 0x00, 0x04, 0x82,
+ 0x02, 0x60, 0x30, 0x82, 0x02, 0x5c, 0x02, 0x01, 0x00, 0x02, 0x81, 0x81,
+ 0x00, 0xc3, 0x9e, 0x8d, 0xc4, 0x6d, 0x38, 0xe8, 0x0e, 0x9f, 0x84, 0x03,
+ 0x40, 0x8e, 0x81, 0x2e, 0x56, 0x67, 0x78, 0x11, 0x85, 0x27, 0x81, 0x52,
+ 0xf2, 0x1b, 0x3e, 0x5b, 0xf8, 0xab, 0xfc, 0xaf, 0xca, 0x5c, 0x26, 0xd5,
+ 0xfa, 0xd4, 0x55, 0x50, 0x38, 0xb9, 0x9d, 0x89, 0x92, 0x7e, 0x34, 0xcf,
+ 0x37, 0x82, 0x48, 0x2d, 0xaa, 0xc4, 0x6a, 0x0e, 0x93, 0xea, 0xad, 0x8a,
+ 0x33, 0xf0, 0x42, 0x23, 0xe0, 0x4c, 0x98, 0xbf, 0x01, 0x00, 0x1b, 0xfe,
+ 0x06, 0x15, 0xc6, 0xe3, 0x80, 0x79, 0x6d, 0xfe, 0x48, 0xcd, 0x40, 0xbb,
+ 0xf9, 0x58, 0xe6, 0xbf, 0xd5, 0x4c, 0x29, 0x48, 0x53, 0x78, 0x06, 0x03,
+ 0x0d, 0x59, 0xf5, 0x20, 0xe0, 0xe6, 0x8c, 0xb2, 0xf5, 0xd8, 0x61, 0x52,
+ 0x7e, 0x40, 0x83, 0xd7, 0x69, 0xae, 0xd7, 0x75, 0x02, 0x2d, 0x49, 0xd5,
+ 0x15, 0x5b, 0xf1, 0xd9, 0x4d, 0x60, 0x7d, 0x62, 0xa5, 0x02, 0x03, 0x01,
+ 0x00, 0x01, 0x02, 0x7f, 0x6d, 0x45, 0x23, 0xeb, 0x95, 0x17, 0x34, 0x88,
+ 0xf6, 0x91, 0xc7, 0x3f, 0x48, 0x5a, 0xe0, 0x87, 0x63, 0x44, 0xae, 0x84,
+ 0xb2, 0x8c, 0x8a, 0xc8, 0xb2, 0x6f, 0x22, 0xf0, 0xc5, 0x21, 0x61, 0x10,
+ 0xa8, 0x69, 0x09, 0x1e, 0x13, 0x7d, 0x94, 0x52, 0x1b, 0x5c, 0xe4, 0x7b,
+ 0xf0, 0x03, 0x8f, 0xbc, 0x72, 0x09, 0xdf, 0x78, 0x84, 0x3e, 0xb9, 0xe5,
+ 0xe6, 0x31, 0x0a, 0x01, 0xf9, 0x32, 0xf8, 0xd6, 0x57, 0xa3, 0x87, 0xe6,
+ 0xf5, 0x98, 0xbc, 0x8e, 0x41, 0xb9, 0x50, 0x17, 0x7b, 0xd3, 0x97, 0x5a,
+ 0x44, 0x3a, 0xee, 0xff, 0x6b, 0xb3, 0x3a, 0x52, 0xe7, 0xa4, 0x96, 0x9a,
+ 0xf6, 0x83, 0xc8, 0x97, 0x1c, 0x63, 0xa1, 0xd6, 0xb3, 0xa8, 0xb2, 0xc7,
+ 0x73, 0x25, 0x0f, 0x58, 0x36, 0xb9, 0x7a, 0x47, 0xa7, 0x4d, 0x30, 0xfe,
+ 0x4d, 0x74, 0x56, 0xe8, 0xfb, 0xd6, 0x50, 0xe5, 0xe0, 0x28, 0x15, 0x02,
+ 0x41, 0x00, 0xeb, 0x15, 0x62, 0xb6, 0x37, 0x41, 0x7c, 0xc5, 0x00, 0x22,
+ 0x2c, 0x5a, 0x5e, 0xe4, 0xb2, 0x11, 0x87, 0x89, 0xad, 0xf4, 0x57, 0x68,
+ 0x90, 0xb7, 0x9f, 0xe2, 0x79, 0x20, 0x6b, 0x98, 0x00, 0x0d, 0x3a, 0x3b,
+ 0xc1, 0xcd, 0x36, 0xf9, 0x27, 0xda, 0x40, 0x36, 0x1d, 0xb8, 0x5c, 0x96,
+ 0xeb, 0x04, 0x08, 0xe1, 0x3f, 0xfa, 0x94, 0x8b, 0x0f, 0xa0, 0xff, 0xc1,
+ 0x51, 0xea, 0x90, 0xad, 0x15, 0xc7, 0x02, 0x41, 0x00, 0xd5, 0x06, 0x45,
+ 0xd7, 0x55, 0x63, 0x1a, 0xf0, 0x89, 0x81, 0xae, 0x87, 0x23, 0xa2, 0x39,
+ 0xfe, 0x3d, 0x82, 0xc7, 0xcb, 0x15, 0xb9, 0xe3, 0xe2, 0x5b, 0xc6, 0xd2,
+ 0x55, 0xdd, 0xab, 0x55, 0x29, 0x7c, 0xda, 0x0e, 0x1c, 0x09, 0xfc, 0x73,
+ 0x0d, 0x01, 0xed, 0x6d, 0x2f, 0x05, 0xd0, 0xd5, 0x1d, 0xce, 0x18, 0x7f,
+ 0xb0, 0xc8, 0x47, 0x77, 0xd2, 0xa9, 0x9e, 0xfc, 0x39, 0x4b, 0x3d, 0x94,
+ 0x33, 0x02, 0x41, 0x00, 0x8f, 0x94, 0x09, 0x2d, 0x17, 0x44, 0x75, 0x0a,
+ 0xf1, 0x10, 0xee, 0x1b, 0xe7, 0xd7, 0x2f, 0xf6, 0xca, 0xdc, 0x49, 0x15,
+ 0x72, 0x09, 0x58, 0x51, 0xfe, 0x61, 0xd8, 0xee, 0xf7, 0x27, 0xe7, 0xe8,
+ 0x2c, 0x47, 0xf1, 0x0f, 0x00, 0x63, 0x5e, 0x76, 0xcb, 0x3f, 0x02, 0x19,
+ 0xe6, 0xda, 0xfa, 0x01, 0x05, 0xd7, 0x65, 0x37, 0x0b, 0x60, 0x7f, 0x94,
+ 0x2a, 0x80, 0x8d, 0x22, 0x81, 0x68, 0x65, 0x63, 0x02, 0x41, 0x00, 0xc2,
+ 0xd4, 0x18, 0xde, 0x47, 0x9e, 0xfb, 0x8d, 0x91, 0x05, 0xc5, 0x3c, 0x9d,
+ 0xcf, 0x8a, 0x60, 0xc7, 0x9b, 0x2b, 0xe5, 0xc6, 0xba, 0x1b, 0xfc, 0xf3,
+ 0xd9, 0x54, 0x97, 0xe9, 0xc4, 0x00, 0x80, 0x90, 0x4a, 0xd2, 0x6a, 0xbc,
+ 0x8b, 0x62, 0x22, 0x3c, 0x68, 0x0c, 0xda, 0xdb, 0xe3, 0xd2, 0x76, 0x8e,
+ 0xff, 0x03, 0x12, 0x09, 0x2a, 0xac, 0x21, 0x44, 0xb7, 0x3e, 0x91, 0x9c,
+ 0x09, 0xf6, 0xd7, 0x02, 0x41, 0x00, 0xc0, 0xa1, 0xbb, 0x70, 0xdc, 0xf8,
+ 0xeb, 0x17, 0x61, 0xd4, 0x8c, 0x7c, 0x3b, 0x82, 0x91, 0x58, 0xff, 0xf9,
+ 0x19, 0xac, 0x3a, 0x73, 0xa7, 0x20, 0xe5, 0x22, 0x02, 0xc4, 0xf6, 0xb9,
+ 0xb9, 0x43, 0x53, 0x35, 0x88, 0xe1, 0x05, 0xb6, 0x43, 0x9b, 0x39, 0xc8,
+ 0x04, 0x4d, 0x2b, 0x01, 0xf7, 0xe6, 0x1b, 0x8d, 0x7e, 0x89, 0xe3, 0x43,
+ 0xd4, 0xf3, 0xab, 0x28, 0xd4, 0x5a, 0x1f, 0x20, 0xea, 0xbe};
+
+ std::vector<uint8_t> input1;
+ std::vector<uint8_t> input2;
+
+ input1.resize(sizeof(short_integer_with_high_bit));
+ input2.resize(sizeof(short_integer_without_high_bit));
+
+ memcpy(&input1.front(), short_integer_with_high_bit,
+ sizeof(short_integer_with_high_bit));
+ memcpy(&input2.front(), short_integer_without_high_bit,
+ sizeof(short_integer_without_high_bit));
+
+ std::unique_ptr<crypto::RSAPrivateKey> keypair1(
+ crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input1));
+ std::unique_ptr<crypto::RSAPrivateKey> keypair2(
+ crypto::RSAPrivateKey::CreateFromPrivateKeyInfo(input2));
+ ASSERT_TRUE(keypair1.get());
+ ASSERT_TRUE(keypair2.get());
+
+ std::vector<uint8_t> output1;
+ std::vector<uint8_t> output2;
+ ASSERT_TRUE(keypair1->ExportPrivateKey(&output1));
+ ASSERT_TRUE(keypair2->ExportPrivateKey(&output2));
+
+ ASSERT_EQ(input1.size(), output1.size());
+ ASSERT_EQ(input2.size(), output2.size());
+ ASSERT_EQ(0, memcmp(&output1.front(), &input1.front(), input1.size()));
+ ASSERT_EQ(0, memcmp(&output2.front(), &input2.front(), input2.size()));
+}
+
+TEST(RSAPrivateKeyUnitTest, CreateFromKeyTest) {
+ std::unique_ptr<crypto::RSAPrivateKey> key_pair(
+ crypto::RSAPrivateKey::Create(512));
+ ASSERT_TRUE(key_pair.get());
+
+ std::unique_ptr<crypto::RSAPrivateKey> key_copy(
+ crypto::RSAPrivateKey::CreateFromKey(key_pair->key()));
+ ASSERT_TRUE(key_copy.get());
+
+ std::vector<uint8_t> privkey;
+ std::vector<uint8_t> pubkey;
+ ASSERT_TRUE(key_pair->ExportPrivateKey(&privkey));
+ ASSERT_TRUE(key_pair->ExportPublicKey(&pubkey));
+
+ std::vector<uint8_t> privkey_copy;
+ std::vector<uint8_t> pubkey_copy;
+ ASSERT_TRUE(key_copy->ExportPrivateKey(&privkey_copy));
+ ASSERT_TRUE(key_copy->ExportPublicKey(&pubkey_copy));
+
+ ASSERT_EQ(privkey, privkey_copy);
+ ASSERT_EQ(pubkey, pubkey_copy);
+}
diff --git a/chromium/third_party/nearby/src/internal/crypto/secure_hash.cc b/chromium/third_party/nearby/src/internal/crypto/secure_hash.cc
new file mode 100644
index 00000000000..e950de1d67b
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/secure_hash.cc
@@ -0,0 +1,76 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/secure_hash.h"
+
+#include <stddef.h>
+
+#include <memory>
+
+#include "internal/crypto/openssl_util.h"
+#include <openssl/mem.h>
+#include <openssl/sha.h>
+
+namespace crypto {
+
+namespace {
+
+class SecureHashSHA256 : public SecureHash {
+ public:
+ SecureHashSHA256() {
+ // Ensure that CPU features detection is performed before using
+ // BoringSSL. This will enable hw accelerated implementations.
+ EnsureOpenSSLInit();
+ SHA256_Init(&ctx_);
+ }
+
+ SecureHashSHA256(const SecureHashSHA256& other) {
+ memcpy(&ctx_, &other.ctx_, sizeof(ctx_));
+ }
+
+ ~SecureHashSHA256() override { OPENSSL_cleanse(&ctx_, sizeof(ctx_)); }
+
+ void Update(const void* input, size_t len) override {
+ SHA256_Update(&ctx_, static_cast<const unsigned char*>(input), len);
+ }
+
+ void Finish(void* output, size_t len) override {
+ ScopedOpenSSLSafeSizeBuffer<SHA256_DIGEST_LENGTH> result(
+ static_cast<unsigned char*>(output), len);
+ SHA256_Final(result.safe_buffer(), &ctx_);
+ }
+
+ std::unique_ptr<SecureHash> Clone() const override {
+ return std::make_unique<SecureHashSHA256>(*this);
+ }
+
+ size_t GetHashLength() const override { return SHA256_DIGEST_LENGTH; }
+
+ private:
+ SHA256_CTX ctx_;
+};
+
+} // namespace
+
+std::unique_ptr<SecureHash> SecureHash::Create(Algorithm algorithm) {
+ switch (algorithm) {
+ case SHA256:
+ return std::make_unique<SecureHashSHA256>();
+ default:
+ // NOTIMPLEMENTED();
+ return nullptr;
+ }
+}
+
+} // namespace crypto
diff --git a/chromium/third_party/nearby/src/internal/crypto/secure_hash.h b/chromium/third_party/nearby/src/internal/crypto/secure_hash.h
new file mode 100644
index 00000000000..32a30809691
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/secure_hash.h
@@ -0,0 +1,57 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_SECURE_HASH_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_SECURE_HASH_H_
+
+#include <stddef.h>
+
+#include <memory>
+
+#include "internal/crypto/crypto_export.h"
+
+namespace crypto {
+
+// A wrapper to calculate secure hashes incrementally, allowing to
+// be used when the full input is not known in advance. The end result will the
+// same as if we have the full input in advance.
+class CRYPTO_EXPORT SecureHash {
+ public:
+ enum Algorithm {
+ SHA256,
+ };
+
+ SecureHash(const SecureHash&) = delete;
+ SecureHash& operator=(const SecureHash&) = delete;
+
+ virtual ~SecureHash() {}
+
+ static std::unique_ptr<SecureHash> Create(Algorithm type);
+
+ virtual void Update(const void* input, size_t len) = 0;
+ virtual void Finish(void* output, size_t len) = 0;
+ virtual size_t GetHashLength() const = 0;
+
+ // Create a clone of this SecureHash. The returned clone and this both
+ // represent the same hash state. But from this point on, calling
+ // Update()/Finish() on either doesn't affect the state of the other.
+ virtual std::unique_ptr<SecureHash> Clone() const = 0;
+
+ protected:
+ SecureHash() {}
+};
+
+} // namespace crypto
+
+#endif // THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_SECURE_HASH_H_
diff --git a/chromium/third_party/nearby/src/internal/crypto/secure_hash_unittest.cc b/chromium/third_party/nearby/src/internal/crypto/secure_hash_unittest.cc
new file mode 100644
index 00000000000..94950328c7a
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/secure_hash_unittest.cc
@@ -0,0 +1,117 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/secure_hash.h"
+
+#include <stddef.h>
+#include <stdint.h>
+
+#include <memory>
+#include <string>
+
+#include "gtest/gtest.h"
+#include "internal/crypto/sha2.h"
+
+TEST(SecureHashTest, TestUpdate) {
+ // Example B.3 from FIPS 180-2: long message.
+ std::string input3(500000, 'a'); // 'a' repeated half a million times
+ const int kExpectedHashOfInput3[] = {
+ 0xcd, 0xc7, 0x6e, 0x5c, 0x99, 0x14, 0xfb, 0x92, 0x81, 0xa1, 0xc7,
+ 0xe2, 0x84, 0xd7, 0x3e, 0x67, 0xf1, 0x80, 0x9a, 0x48, 0xa4, 0x97,
+ 0x20, 0x0e, 0x04, 0x6d, 0x39, 0xcc, 0xc7, 0x11, 0x2c, 0xd0};
+
+ uint8_t output3[crypto::kSHA256Length];
+
+ std::unique_ptr<crypto::SecureHash> ctx(
+ crypto::SecureHash::Create(crypto::SecureHash::SHA256));
+ ctx->Update(input3.data(), input3.size());
+ ctx->Update(input3.data(), input3.size());
+
+ ctx->Finish(output3, sizeof(output3));
+ for (size_t i = 0; i < crypto::kSHA256Length; i++)
+ EXPECT_EQ(kExpectedHashOfInput3[i], static_cast<int>(output3[i]));
+}
+
+TEST(SecureHashTest, TestClone) {
+ std::string input1(10001, 'a'); // 'a' repeated 10001 times
+ std::string input2(10001, 'd'); // 'd' repeated 10001 times
+
+ const uint8_t kExpectedHashOfInput1[crypto::kSHA256Length] = {
+ 0x0c, 0xab, 0x99, 0xa0, 0x58, 0x60, 0x0f, 0xfa, 0xad, 0x12, 0x92,
+ 0xd0, 0xc5, 0x3c, 0x05, 0x48, 0xeb, 0xaf, 0x88, 0xdd, 0x1d, 0x01,
+ 0x03, 0x03, 0x45, 0x70, 0x5f, 0x01, 0x8a, 0x81, 0x39, 0x09};
+ const uint8_t kExpectedHashOfInput1And2[crypto::kSHA256Length] = {
+ 0x4c, 0x8e, 0x26, 0x5a, 0xc3, 0x85, 0x1f, 0x1f, 0xa5, 0x04, 0x1c,
+ 0xc7, 0x88, 0x53, 0x1c, 0xc7, 0x80, 0x47, 0x15, 0xfb, 0x47, 0xff,
+ 0x72, 0xb1, 0x28, 0x37, 0xb0, 0x4d, 0x6e, 0x22, 0x2e, 0x4d};
+
+ uint8_t output1[crypto::kSHA256Length];
+ uint8_t output2[crypto::kSHA256Length];
+ uint8_t output3[crypto::kSHA256Length];
+
+ std::unique_ptr<crypto::SecureHash> ctx1(
+ crypto::SecureHash::Create(crypto::SecureHash::SHA256));
+ ctx1->Update(input1.data(), input1.size());
+
+ std::unique_ptr<crypto::SecureHash> ctx2(ctx1->Clone());
+ std::unique_ptr<crypto::SecureHash> ctx3(ctx2->Clone());
+ // At this point, ctx1, ctx2, and ctx3 are all equivalent and represent the
+ // state after hashing input1.
+
+ // Updating ctx1 and ctx2 with input2 should produce equivalent results.
+ ctx1->Update(input2.data(), input2.size());
+ ctx1->Finish(output1, sizeof(output1));
+
+ ctx2->Update(input2.data(), input2.size());
+ ctx2->Finish(output2, sizeof(output2));
+
+ EXPECT_EQ(0, memcmp(output1, output2, crypto::kSHA256Length));
+ EXPECT_EQ(0,
+ memcmp(output1, kExpectedHashOfInput1And2, crypto::kSHA256Length));
+
+ // Finish() ctx3, which should produce the hash of input1.
+ ctx3->Finish(&output3, sizeof(output3));
+ EXPECT_EQ(0, memcmp(output3, kExpectedHashOfInput1, crypto::kSHA256Length));
+}
+
+TEST(SecureHashTest, TestLength) {
+ std::unique_ptr<crypto::SecureHash> ctx(
+ crypto::SecureHash::Create(crypto::SecureHash::SHA256));
+ EXPECT_EQ(crypto::kSHA256Length, ctx->GetHashLength());
+}
+
+TEST(SecureHashTest, Equality) {
+ std::string input1(10001, 'a'); // 'a' repeated 10001 times
+ std::string input2(10001, 'd'); // 'd' repeated 10001 times
+
+ uint8_t output1[crypto::kSHA256Length];
+ uint8_t output2[crypto::kSHA256Length];
+
+ // Call Update() twice on input1 and input2.
+ std::unique_ptr<crypto::SecureHash> ctx1(
+ crypto::SecureHash::Create(crypto::SecureHash::SHA256));
+ ctx1->Update(input1.data(), input1.size());
+ ctx1->Update(input2.data(), input2.size());
+ ctx1->Finish(output1, sizeof(output1));
+
+ // Call Update() once one input1 + input2 (concatenation).
+ std::unique_ptr<crypto::SecureHash> ctx2(
+ crypto::SecureHash::Create(crypto::SecureHash::SHA256));
+ std::string input3 = input1 + input2;
+ ctx2->Update(input3.data(), input3.size());
+ ctx2->Finish(output2, sizeof(output2));
+
+ // The hash should be the same.
+ EXPECT_EQ(0, memcmp(output1, output2, crypto::kSHA256Length));
+}
diff --git a/chromium/third_party/nearby/src/internal/crypto/secure_util.cc b/chromium/third_party/nearby/src/internal/crypto/secure_util.cc
new file mode 100644
index 00000000000..9cc13b23c0c
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/secure_util.cc
@@ -0,0 +1,25 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/secure_util.h"
+
+#include <openssl/mem.h>
+
+namespace crypto {
+
+bool SecureMemEqual(const void* s1, const void* s2, size_t n) {
+ return CRYPTO_memcmp(s1, s2, n) == 0;
+}
+
+} // namespace crypto
diff --git a/chromium/third_party/nearby/src/internal/crypto/secure_util.h b/chromium/third_party/nearby/src/internal/crypto/secure_util.h
new file mode 100644
index 00000000000..4db08bbe108
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/secure_util.h
@@ -0,0 +1,38 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_SECURE_UTIL_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_SECURE_UTIL_H_
+
+#include <stddef.h>
+
+#include "internal/crypto/crypto_export.h"
+
+namespace crypto {
+
+// Performs a constant-time comparison of two strings, returning true if the
+// strings are equal.
+//
+// For cryptographic operations, comparison functions such as memcmp() may
+// expose side-channel information about input, allowing an attacker to
+// perform timing analysis to determine what the expected bits should be. In
+// order to avoid such attacks, the comparison must execute in constant time,
+// so as to not to reveal to the attacker where the difference(s) are.
+// For an example attack, see
+// http://groups.google.com/group/keyczar-discuss/browse_thread/thread/5571eca0948b2a13
+CRYPTO_EXPORT bool SecureMemEqual(const void* s1, const void* s2, size_t n);
+
+} // namespace crypto
+
+#endif // THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_SECURE_UTIL_H_
diff --git a/chromium/third_party/nearby/src/internal/crypto/sha2.cc b/chromium/third_party/nearby/src/internal/crypto/sha2.cc
new file mode 100644
index 00000000000..32f06b899ff
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/sha2.cc
@@ -0,0 +1,47 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/sha2.h"
+
+#include <stddef.h>
+
+#include <array>
+#include <memory>
+#include <string>
+
+#include "absl/strings/string_view.h"
+#include "internal/crypto/secure_hash.h"
+#include <openssl/sha.h>
+
+namespace crypto {
+
+std::array<uint8_t, kSHA256Length> SHA256Hash(absl::Span<const uint8_t> input) {
+ std::array<uint8_t, kSHA256Length> digest;
+ ::SHA256(input.data(), input.size(), digest.data());
+ return digest;
+}
+
+void SHA256HashString(absl::string_view str, void* output, size_t len) {
+ std::unique_ptr<SecureHash> ctx(SecureHash::Create(SecureHash::SHA256));
+ ctx->Update(str.data(), str.length());
+ ctx->Finish(output, len);
+}
+
+std::string SHA256HashString(absl::string_view str) {
+ std::string output(kSHA256Length, 0);
+ SHA256HashString(str, &*output.begin(), output.size());
+ return output;
+}
+
+} // namespace crypto
diff --git a/chromium/third_party/nearby/src/internal/crypto/sha2.h b/chromium/third_party/nearby/src/internal/crypto/sha2.h
new file mode 100644
index 00000000000..301957172e7
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/sha2.h
@@ -0,0 +1,51 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_SHA2_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_SHA2_H_
+
+#include <stddef.h>
+
+#include <array>
+#include <string>
+
+#include "absl/strings/string_view.h"
+#include "absl/types/span.h"
+#include "internal/crypto/crypto_export.h"
+
+namespace crypto {
+
+// These functions perform SHA-256 operations.
+//
+// Functions for SHA-384 and SHA-512 can be added when the need arises.
+
+static const size_t kSHA256Length = 32; // Length in bytes of a SHA-256 hash.
+
+// Computes the SHA-256 hash of |input|.
+CRYPTO_EXPORT std::array<uint8_t, kSHA256Length> SHA256Hash(
+ absl::Span<const uint8_t> input);
+
+// Convenience version of the above that returns the result in a 32-byte
+// string.
+CRYPTO_EXPORT std::string SHA256HashString(absl::string_view str);
+
+// Computes the SHA-256 hash of the input string 'str' and stores the first
+// 'len' bytes of the hash in the output buffer 'output'. If 'len' > 32,
+// only 32 bytes (the full hash) are stored in the 'output' buffer.
+CRYPTO_EXPORT void SHA256HashString(absl::string_view str, void* output,
+ size_t len);
+
+} // namespace crypto
+
+#endif // THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_SHA2_H_
diff --git a/chromium/third_party/nearby/src/internal/crypto/sha2_unittest.cc b/chromium/third_party/nearby/src/internal/crypto/sha2_unittest.cc
new file mode 100644
index 00000000000..69e66025cf5
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/sha2_unittest.cc
@@ -0,0 +1,98 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/sha2.h"
+
+#include <stddef.h>
+#include <stdint.h>
+
+#include <string>
+
+#include "gtest/gtest.h"
+
+TEST(Sha256Test, Test1) {
+ // Example B.1 from FIPS 180-2: one-block message.
+ std::string input1 = "abc";
+ int expected1[] = {0xba, 0x78, 0x16, 0xbf, 0x8f, 0x01, 0xcf, 0xea,
+ 0x41, 0x41, 0x40, 0xde, 0x5d, 0xae, 0x22, 0x23,
+ 0xb0, 0x03, 0x61, 0xa3, 0x96, 0x17, 0x7a, 0x9c,
+ 0xb4, 0x10, 0xff, 0x61, 0xf2, 0x00, 0x15, 0xad};
+
+ uint8_t output1[crypto::kSHA256Length];
+ crypto::SHA256HashString(input1, output1, sizeof(output1));
+ for (size_t i = 0; i < crypto::kSHA256Length; i++)
+ EXPECT_EQ(expected1[i], static_cast<int>(output1[i]));
+
+ uint8_t output_truncated1[4]; // 4 bytes == 32 bits
+ crypto::SHA256HashString(input1, output_truncated1,
+ sizeof(output_truncated1));
+ for (size_t i = 0; i < sizeof(output_truncated1); i++)
+ EXPECT_EQ(expected1[i], static_cast<int>(output_truncated1[i]));
+}
+
+TEST(Sha256Test, Test1_String) {
+ // Same as the above, but using the wrapper that returns a std::string.
+ // Example B.1 from FIPS 180-2: one-block message.
+ std::string input1 = "abc";
+ int expected1[] = {0xba, 0x78, 0x16, 0xbf, 0x8f, 0x01, 0xcf, 0xea,
+ 0x41, 0x41, 0x40, 0xde, 0x5d, 0xae, 0x22, 0x23,
+ 0xb0, 0x03, 0x61, 0xa3, 0x96, 0x17, 0x7a, 0x9c,
+ 0xb4, 0x10, 0xff, 0x61, 0xf2, 0x00, 0x15, 0xad};
+
+ std::string output1 = crypto::SHA256HashString(input1);
+ ASSERT_EQ(crypto::kSHA256Length, output1.size());
+ for (size_t i = 0; i < crypto::kSHA256Length; i++)
+ EXPECT_EQ(expected1[i], static_cast<uint8_t>(output1[i]));
+}
+
+TEST(Sha256Test, Test2) {
+ // Example B.2 from FIPS 180-2: multi-block message.
+ std::string input2 =
+ "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq";
+ int expected2[] = {0x24, 0x8d, 0x6a, 0x61, 0xd2, 0x06, 0x38, 0xb8,
+ 0xe5, 0xc0, 0x26, 0x93, 0x0c, 0x3e, 0x60, 0x39,
+ 0xa3, 0x3c, 0xe4, 0x59, 0x64, 0xff, 0x21, 0x67,
+ 0xf6, 0xec, 0xed, 0xd4, 0x19, 0xdb, 0x06, 0xc1};
+
+ uint8_t output2[crypto::kSHA256Length];
+ crypto::SHA256HashString(input2, output2, sizeof(output2));
+ for (size_t i = 0; i < crypto::kSHA256Length; i++)
+ EXPECT_EQ(expected2[i], static_cast<int>(output2[i]));
+
+ uint8_t output_truncated2[6];
+ crypto::SHA256HashString(input2, output_truncated2,
+ sizeof(output_truncated2));
+ for (size_t i = 0; i < sizeof(output_truncated2); i++)
+ EXPECT_EQ(expected2[i], static_cast<int>(output_truncated2[i]));
+}
+
+TEST(Sha256Test, Test3) {
+ // Example B.3 from FIPS 180-2: long message.
+ std::string input3(1000000, 'a'); // 'a' repeated a million times
+ int expected3[] = {0xcd, 0xc7, 0x6e, 0x5c, 0x99, 0x14, 0xfb, 0x92,
+ 0x81, 0xa1, 0xc7, 0xe2, 0x84, 0xd7, 0x3e, 0x67,
+ 0xf1, 0x80, 0x9a, 0x48, 0xa4, 0x97, 0x20, 0x0e,
+ 0x04, 0x6d, 0x39, 0xcc, 0xc7, 0x11, 0x2c, 0xd0};
+
+ uint8_t output3[crypto::kSHA256Length];
+ crypto::SHA256HashString(input3, output3, sizeof(output3));
+ for (size_t i = 0; i < crypto::kSHA256Length; i++)
+ EXPECT_EQ(expected3[i], static_cast<int>(output3[i]));
+
+ uint8_t output_truncated3[12];
+ crypto::SHA256HashString(input3, output_truncated3,
+ sizeof(output_truncated3));
+ for (size_t i = 0; i < sizeof(output_truncated3); i++)
+ EXPECT_EQ(expected3[i], static_cast<int>(output_truncated3[i]));
+}
diff --git a/chromium/third_party/nearby/src/internal/crypto/signature_verifier.cc b/chromium/third_party/nearby/src/internal/crypto/signature_verifier.cc
new file mode 100644
index 00000000000..1328a82319f
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/signature_verifier.cc
@@ -0,0 +1,115 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/signature_verifier.h"
+
+#include <memory>
+
+#include "internal/crypto/openssl_util.h"
+#include "internal/platform/logging.h"
+#include <openssl/bytestring.h>
+#include <openssl/digest.h>
+#include <openssl/evp.h>
+#include <openssl/rsa.h>
+
+namespace crypto {
+
+struct SignatureVerifier::VerifyContext {
+ bssl::ScopedEVP_MD_CTX ctx;
+};
+
+SignatureVerifier::SignatureVerifier() = default;
+
+SignatureVerifier::~SignatureVerifier() = default;
+
+bool SignatureVerifier::VerifyInit(SignatureAlgorithm signature_algorithm,
+ absl::Span<const uint8_t> signature,
+ absl::Span<const uint8_t> public_key_info) {
+ OpenSSLErrStackTracer err_tracer;
+
+ int pkey_type = EVP_PKEY_NONE;
+ const EVP_MD* digest = nullptr;
+ switch (signature_algorithm) {
+ case RSA_PKCS1_SHA1:
+ pkey_type = EVP_PKEY_RSA;
+ digest = EVP_sha1();
+ break;
+ case RSA_PKCS1_SHA256:
+ case RSA_PSS_SHA256:
+ pkey_type = EVP_PKEY_RSA;
+ digest = EVP_sha256();
+ break;
+ case ECDSA_SHA256:
+ pkey_type = EVP_PKEY_EC;
+ digest = EVP_sha256();
+ break;
+ }
+ DCHECK_NE(EVP_PKEY_NONE, pkey_type);
+ DCHECK(digest);
+
+ if (verify_context_) return false;
+
+ verify_context_ = std::make_unique<VerifyContext>();
+ signature_.assign(signature.data(), signature.data() + signature.size());
+
+ CBS cbs;
+ CBS_init(&cbs, public_key_info.data(), public_key_info.size());
+ bssl::UniquePtr<EVP_PKEY> public_key(EVP_parse_public_key(&cbs));
+ if (!public_key || CBS_len(&cbs) != 0 ||
+ EVP_PKEY_id(public_key.get()) != pkey_type) {
+ return false;
+ }
+
+ EVP_PKEY_CTX* pkey_ctx;
+ if (!EVP_DigestVerifyInit(verify_context_->ctx.get(), &pkey_ctx, digest,
+ nullptr, public_key.get())) {
+ return false;
+ }
+
+ if (signature_algorithm == RSA_PSS_SHA256) {
+ if (!EVP_PKEY_CTX_set_rsa_padding(pkey_ctx, RSA_PKCS1_PSS_PADDING) ||
+ !EVP_PKEY_CTX_set_rsa_mgf1_md(pkey_ctx, digest) ||
+ !EVP_PKEY_CTX_set_rsa_pss_saltlen(
+ pkey_ctx, -1 /* match digest and salt length */)) {
+ return false;
+ }
+ }
+
+ return true;
+}
+
+void SignatureVerifier::VerifyUpdate(absl::Span<const uint8_t> data_part) {
+ DCHECK(verify_context_);
+ OpenSSLErrStackTracer err_tracer;
+ int rv = EVP_DigestVerifyUpdate(verify_context_->ctx.get(), data_part.data(),
+ data_part.size());
+ DCHECK_EQ(rv, 1);
+}
+
+bool SignatureVerifier::VerifyFinal() {
+ DCHECK(verify_context_);
+ OpenSSLErrStackTracer err_tracer;
+ int rv = EVP_DigestVerifyFinal(verify_context_->ctx.get(), signature_.data(),
+ signature_.size());
+ DCHECK_EQ(static_cast<int>(!!rv), rv);
+ Reset();
+ return rv == 1;
+}
+
+void SignatureVerifier::Reset() {
+ verify_context_.reset();
+ signature_.clear();
+}
+
+} // namespace crypto
diff --git a/chromium/third_party/nearby/src/internal/crypto/signature_verifier.h b/chromium/third_party/nearby/src/internal/crypto/signature_verifier.h
new file mode 100644
index 00000000000..18a00202abd
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/signature_verifier.h
@@ -0,0 +1,81 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_SIGNATURE_VERIFIER_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_SIGNATURE_VERIFIER_H_
+
+#include <stdint.h>
+
+#include <memory>
+#include <vector>
+
+#include "absl/types/span.h"
+#include "internal/crypto/crypto_export.h"
+
+namespace crypto {
+
+// The SignatureVerifier class verifies a signature using a bare public key
+// (as opposed to a certificate).
+class CRYPTO_EXPORT SignatureVerifier {
+ public:
+ // The set of supported signature algorithms. Extend as required.
+ enum SignatureAlgorithm {
+ RSA_PKCS1_SHA1,
+ RSA_PKCS1_SHA256,
+ ECDSA_SHA256,
+ // This is RSA-PSS with SHA-256 as both signing hash and MGF-1 hash, and the
+ // salt length matching the hash length.
+ RSA_PSS_SHA256,
+ };
+
+ SignatureVerifier();
+ ~SignatureVerifier();
+
+ // Streaming interface:
+
+ // Initiates a signature verification operation. This should be followed
+ // by one or more VerifyUpdate calls and a VerifyFinal call.
+ //
+ // The signature is encoded according to the signature algorithm.
+ //
+ // The public key is specified as a DER encoded ASN.1 SubjectPublicKeyInfo
+ // structure, which contains not only the public key but also its type
+ // (algorithm):
+ // SubjectPublicKeyInfo ::= SEQUENCE {
+ // algorithm AlgorithmIdentifier,
+ // subjectPublicKey BIT STRING }
+ bool VerifyInit(SignatureAlgorithm signature_algorithm,
+ absl::Span<const uint8_t> signature,
+ absl::Span<const uint8_t> public_key_info);
+
+ // Feeds a piece of the data to the signature verifier.
+ void VerifyUpdate(absl::Span<const uint8_t> data_part);
+
+ // Concludes a signature verification operation. Returns true if the
+ // signature is valid. Returns false if the signature is invalid or an
+ // error occurred.
+ bool VerifyFinal();
+
+ private:
+ void Reset();
+
+ std::vector<uint8_t> signature_;
+
+ struct VerifyContext;
+ std::unique_ptr<VerifyContext> verify_context_;
+};
+
+} // namespace crypto
+
+#endif // THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_SIGNATURE_VERIFIER_H_
diff --git a/chromium/third_party/nearby/src/internal/crypto/signature_verifier_unittest.cc b/chromium/third_party/nearby/src/internal/crypto/signature_verifier_unittest.cc
new file mode 100644
index 00000000000..70e9ea44911
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/signature_verifier_unittest.cc
@@ -0,0 +1,424 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/signature_verifier.h"
+
+#include <stddef.h>
+#include <stdint.h>
+
+#include <iterator>
+#include <vector>
+
+#include "gtest/gtest.h"
+#include "absl/types/span.h"
+
+TEST(SignatureVerifierTest, BasicTest) {
+ // The input data in this test comes from real certificates.
+ //
+ // tbs_certificate ("to-be-signed certificate", the part of a certificate that
+ // is signed), signature, and algorithm come from the certificate of
+ // bugs.webkit.org.
+ //
+ // public_key_info comes from the certificate of the issuer, Go Daddy Secure
+ // Certification Authority.
+ //
+ // The bytes in the array initializers are formatted to expose the DER
+ // encoding of the ASN.1 structures.
+
+ // The data that is signed is the following ASN.1 structure:
+ // TBSCertificate ::= SEQUENCE {
+ // ... -- omitted, not important
+ // }
+ const uint8_t tbs_certificate[1017] = {
+ 0x30, 0x82, 0x03, 0xf5, // a SEQUENCE of length 1013 (0x3f5)
+ 0xa0, 0x03, 0x02, 0x01, 0x02, 0x02, 0x03, 0x43, 0xdd, 0x63, 0x30, 0x0d,
+ 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x05, 0x05,
+ 0x00, 0x30, 0x81, 0xca, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04,
+ 0x06, 0x13, 0x02, 0x55, 0x53, 0x31, 0x10, 0x30, 0x0e, 0x06, 0x03, 0x55,
+ 0x04, 0x08, 0x13, 0x07, 0x41, 0x72, 0x69, 0x7a, 0x6f, 0x6e, 0x61, 0x31,
+ 0x13, 0x30, 0x11, 0x06, 0x03, 0x55, 0x04, 0x07, 0x13, 0x0a, 0x53, 0x63,
+ 0x6f, 0x74, 0x74, 0x73, 0x64, 0x61, 0x6c, 0x65, 0x31, 0x1a, 0x30, 0x18,
+ 0x06, 0x03, 0x55, 0x04, 0x0a, 0x13, 0x11, 0x47, 0x6f, 0x44, 0x61, 0x64,
+ 0x64, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x2c, 0x20, 0x49, 0x6e, 0x63, 0x2e,
+ 0x31, 0x33, 0x30, 0x31, 0x06, 0x03, 0x55, 0x04, 0x0b, 0x13, 0x2a, 0x68,
+ 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66,
+ 0x69, 0x63, 0x61, 0x74, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x64, 0x61, 0x64,
+ 0x64, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73,
+ 0x69, 0x74, 0x6f, 0x72, 0x79, 0x31, 0x30, 0x30, 0x2e, 0x06, 0x03, 0x55,
+ 0x04, 0x03, 0x13, 0x27, 0x47, 0x6f, 0x20, 0x44, 0x61, 0x64, 0x64, 0x79,
+ 0x20, 0x53, 0x65, 0x63, 0x75, 0x72, 0x65, 0x20, 0x43, 0x65, 0x72, 0x74,
+ 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x20, 0x41, 0x75,
+ 0x74, 0x68, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x31, 0x11, 0x30, 0x0f, 0x06,
+ 0x03, 0x55, 0x04, 0x05, 0x13, 0x08, 0x30, 0x37, 0x39, 0x36, 0x39, 0x32,
+ 0x38, 0x37, 0x30, 0x1e, 0x17, 0x0d, 0x30, 0x38, 0x30, 0x33, 0x31, 0x38,
+ 0x32, 0x33, 0x33, 0x35, 0x31, 0x39, 0x5a, 0x17, 0x0d, 0x31, 0x31, 0x30,
+ 0x33, 0x31, 0x38, 0x32, 0x33, 0x33, 0x35, 0x31, 0x39, 0x5a, 0x30, 0x79,
+ 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13, 0x02, 0x55,
+ 0x53, 0x31, 0x13, 0x30, 0x11, 0x06, 0x03, 0x55, 0x04, 0x08, 0x13, 0x0a,
+ 0x43, 0x61, 0x6c, 0x69, 0x66, 0x6f, 0x72, 0x6e, 0x69, 0x61, 0x31, 0x12,
+ 0x30, 0x10, 0x06, 0x03, 0x55, 0x04, 0x07, 0x13, 0x09, 0x43, 0x75, 0x70,
+ 0x65, 0x72, 0x74, 0x69, 0x6e, 0x6f, 0x31, 0x13, 0x30, 0x11, 0x06, 0x03,
+ 0x55, 0x04, 0x0a, 0x13, 0x0a, 0x41, 0x70, 0x70, 0x6c, 0x65, 0x20, 0x49,
+ 0x6e, 0x63, 0x2e, 0x31, 0x15, 0x30, 0x13, 0x06, 0x03, 0x55, 0x04, 0x0b,
+ 0x13, 0x0c, 0x4d, 0x61, 0x63, 0x20, 0x4f, 0x53, 0x20, 0x46, 0x6f, 0x72,
+ 0x67, 0x65, 0x31, 0x15, 0x30, 0x13, 0x06, 0x03, 0x55, 0x04, 0x03, 0x13,
+ 0x0c, 0x2a, 0x2e, 0x77, 0x65, 0x62, 0x6b, 0x69, 0x74, 0x2e, 0x6f, 0x72,
+ 0x67, 0x30, 0x81, 0x9f, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86,
+ 0xf7, 0x0d, 0x01, 0x01, 0x01, 0x05, 0x00, 0x03, 0x81, 0x8d, 0x00, 0x30,
+ 0x81, 0x89, 0x02, 0x81, 0x81, 0x00, 0xa7, 0x62, 0x79, 0x41, 0xda, 0x28,
+ 0xf2, 0xc0, 0x4f, 0xe0, 0x25, 0xaa, 0xa1, 0x2e, 0x3b, 0x30, 0x94, 0xb5,
+ 0xc9, 0x26, 0x3a, 0x1b, 0xe2, 0xd0, 0xcc, 0xa2, 0x95, 0xe2, 0x91, 0xc0,
+ 0xf0, 0x40, 0x9e, 0x27, 0x6e, 0xbd, 0x6e, 0xde, 0x7c, 0xb6, 0x30, 0x5c,
+ 0xb8, 0x9b, 0x01, 0x2f, 0x92, 0x04, 0xa1, 0xef, 0x4a, 0xb1, 0x6c, 0xb1,
+ 0x7e, 0x8e, 0xcd, 0xa6, 0xf4, 0x40, 0x73, 0x1f, 0x2c, 0x96, 0xad, 0xff,
+ 0x2a, 0x6d, 0x0e, 0xba, 0x52, 0x84, 0x83, 0xb0, 0x39, 0xee, 0xc9, 0x39,
+ 0xdc, 0x1e, 0x34, 0xd0, 0xd8, 0x5d, 0x7a, 0x09, 0xac, 0xa9, 0xee, 0xca,
+ 0x65, 0xf6, 0x85, 0x3a, 0x6b, 0xee, 0xe4, 0x5c, 0x5e, 0xf8, 0xda, 0xd1,
+ 0xce, 0x88, 0x47, 0xcd, 0x06, 0x21, 0xe0, 0xb9, 0x4b, 0xe4, 0x07, 0xcb,
+ 0x57, 0xdc, 0xca, 0x99, 0x54, 0xf7, 0x0e, 0xd5, 0x17, 0x95, 0x05, 0x2e,
+ 0xe9, 0xb1, 0x02, 0x03, 0x01, 0x00, 0x01, 0xa3, 0x82, 0x01, 0xce, 0x30,
+ 0x82, 0x01, 0xca, 0x30, 0x09, 0x06, 0x03, 0x55, 0x1d, 0x13, 0x04, 0x02,
+ 0x30, 0x00, 0x30, 0x0b, 0x06, 0x03, 0x55, 0x1d, 0x0f, 0x04, 0x04, 0x03,
+ 0x02, 0x05, 0xa0, 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x25, 0x04, 0x16,
+ 0x30, 0x14, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x01,
+ 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x03, 0x02, 0x30, 0x57,
+ 0x06, 0x03, 0x55, 0x1d, 0x1f, 0x04, 0x50, 0x30, 0x4e, 0x30, 0x4c, 0xa0,
+ 0x4a, 0xa0, 0x48, 0x86, 0x46, 0x68, 0x74, 0x74, 0x70, 0x3a, 0x2f, 0x2f,
+ 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x73,
+ 0x2e, 0x67, 0x6f, 0x64, 0x61, 0x64, 0x64, 0x79, 0x2e, 0x63, 0x6f, 0x6d,
+ 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x6f, 0x72, 0x79, 0x2f,
+ 0x67, 0x6f, 0x64, 0x61, 0x64, 0x64, 0x79, 0x65, 0x78, 0x74, 0x65, 0x6e,
+ 0x64, 0x65, 0x64, 0x69, 0x73, 0x73, 0x75, 0x69, 0x6e, 0x67, 0x33, 0x2e,
+ 0x63, 0x72, 0x6c, 0x30, 0x52, 0x06, 0x03, 0x55, 0x1d, 0x20, 0x04, 0x4b,
+ 0x30, 0x49, 0x30, 0x47, 0x06, 0x0b, 0x60, 0x86, 0x48, 0x01, 0x86, 0xfd,
+ 0x6d, 0x01, 0x07, 0x17, 0x02, 0x30, 0x38, 0x30, 0x36, 0x06, 0x08, 0x2b,
+ 0x06, 0x01, 0x05, 0x05, 0x07, 0x02, 0x01, 0x16, 0x2a, 0x68, 0x74, 0x74,
+ 0x70, 0x3a, 0x2f, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63,
+ 0x61, 0x74, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x64, 0x61, 0x64, 0x64, 0x79,
+ 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69, 0x74,
+ 0x6f, 0x72, 0x79, 0x30, 0x7f, 0x06, 0x08, 0x2b, 0x06, 0x01, 0x05, 0x05,
+ 0x07, 0x01, 0x01, 0x04, 0x73, 0x30, 0x71, 0x30, 0x23, 0x06, 0x08, 0x2b,
+ 0x06, 0x01, 0x05, 0x05, 0x07, 0x30, 0x01, 0x86, 0x17, 0x68, 0x74, 0x74,
+ 0x70, 0x3a, 0x2f, 0x2f, 0x6f, 0x63, 0x73, 0x70, 0x2e, 0x67, 0x6f, 0x64,
+ 0x61, 0x64, 0x64, 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x30, 0x4a, 0x06, 0x08,
+ 0x2b, 0x06, 0x01, 0x05, 0x05, 0x07, 0x30, 0x02, 0x86, 0x3e, 0x68, 0x74,
+ 0x74, 0x70, 0x3a, 0x2f, 0x2f, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69,
+ 0x63, 0x61, 0x74, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x64, 0x61, 0x64, 0x64,
+ 0x79, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x72, 0x65, 0x70, 0x6f, 0x73, 0x69,
+ 0x74, 0x6f, 0x72, 0x79, 0x2f, 0x67, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x65,
+ 0x72, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x74, 0x65, 0x2e, 0x63, 0x72, 0x74,
+ 0x30, 0x1d, 0x06, 0x03, 0x55, 0x1d, 0x0e, 0x04, 0x16, 0x04, 0x14, 0x48,
+ 0xdf, 0x60, 0x32, 0xcc, 0x89, 0x01, 0xb6, 0xdc, 0x2f, 0xe3, 0x73, 0xb5,
+ 0x9c, 0x16, 0x58, 0x32, 0x68, 0xa9, 0xc3, 0x30, 0x1f, 0x06, 0x03, 0x55,
+ 0x1d, 0x23, 0x04, 0x18, 0x30, 0x16, 0x80, 0x14, 0xfd, 0xac, 0x61, 0x32,
+ 0x93, 0x6c, 0x45, 0xd6, 0xe2, 0xee, 0x85, 0x5f, 0x9a, 0xba, 0xe7, 0x76,
+ 0x99, 0x68, 0xcc, 0xe7, 0x30, 0x23, 0x06, 0x03, 0x55, 0x1d, 0x11, 0x04,
+ 0x1c, 0x30, 0x1a, 0x82, 0x0c, 0x2a, 0x2e, 0x77, 0x65, 0x62, 0x6b, 0x69,
+ 0x74, 0x2e, 0x6f, 0x72, 0x67, 0x82, 0x0a, 0x77, 0x65, 0x62, 0x6b, 0x69,
+ 0x74, 0x2e, 0x6f, 0x72, 0x67};
+
+ // RSA signature, a big integer in the big-endian byte order.
+ const uint8_t signature[256] = {
+ 0x1e, 0x6a, 0xe7, 0xe0, 0x4f, 0xe7, 0x4d, 0xd0, 0x69, 0x7c, 0xf8, 0x8f,
+ 0x99, 0xb4, 0x18, 0x95, 0x36, 0x24, 0x0f, 0x0e, 0xa3, 0xea, 0x34, 0x37,
+ 0xf4, 0x7d, 0xd5, 0x92, 0x35, 0x53, 0x72, 0x76, 0x3f, 0x69, 0xf0, 0x82,
+ 0x56, 0xe3, 0x94, 0x7a, 0x1d, 0x1a, 0x81, 0xaf, 0x9f, 0xc7, 0x43, 0x01,
+ 0x64, 0xd3, 0x7c, 0x0d, 0xc8, 0x11, 0x4e, 0x4a, 0xe6, 0x1a, 0xc3, 0x01,
+ 0x74, 0xe8, 0x35, 0x87, 0x5c, 0x61, 0xaa, 0x8a, 0x46, 0x06, 0xbe, 0x98,
+ 0x95, 0x24, 0x9e, 0x01, 0xe3, 0xe6, 0xa0, 0x98, 0xee, 0x36, 0x44, 0x56,
+ 0x8d, 0x23, 0x9c, 0x65, 0xea, 0x55, 0x6a, 0xdf, 0x66, 0xee, 0x45, 0xe8,
+ 0xa0, 0xe9, 0x7d, 0x9a, 0xba, 0x94, 0xc5, 0xc8, 0xc4, 0x4b, 0x98, 0xff,
+ 0x9a, 0x01, 0x31, 0x6d, 0xf9, 0x2b, 0x58, 0xe7, 0xe7, 0x2a, 0xc5, 0x4d,
+ 0xbb, 0xbb, 0xcd, 0x0d, 0x70, 0xe1, 0xad, 0x03, 0xf5, 0xfe, 0xf4, 0x84,
+ 0x71, 0x08, 0xd2, 0xbc, 0x04, 0x7b, 0x26, 0x1c, 0xa8, 0x0f, 0x9c, 0xd8,
+ 0x12, 0x6a, 0x6f, 0x2b, 0x67, 0xa1, 0x03, 0x80, 0x9a, 0x11, 0x0b, 0xe9,
+ 0xe0, 0xb5, 0xb3, 0xb8, 0x19, 0x4e, 0x0c, 0xa4, 0xd9, 0x2b, 0x3b, 0xc2,
+ 0xca, 0x20, 0xd3, 0x0c, 0xa4, 0xff, 0x93, 0x13, 0x1f, 0xfc, 0xba, 0x94,
+ 0x93, 0x8c, 0x64, 0x15, 0x2e, 0x28, 0xa9, 0x55, 0x8c, 0x2c, 0x48, 0xd3,
+ 0xd3, 0xc1, 0x50, 0x69, 0x19, 0xe8, 0x34, 0xd3, 0xf1, 0x04, 0x9f, 0x0a,
+ 0x7a, 0x21, 0x87, 0xbf, 0xb9, 0x59, 0x37, 0x2e, 0xf4, 0x71, 0xa5, 0x3e,
+ 0xbe, 0xcd, 0x70, 0x83, 0x18, 0xf8, 0x8a, 0x72, 0x85, 0x45, 0x1f, 0x08,
+ 0x01, 0x6f, 0x37, 0xf5, 0x2b, 0x7b, 0xea, 0xb9, 0x8b, 0xa3, 0xcc, 0xfd,
+ 0x35, 0x52, 0xdd, 0x66, 0xde, 0x4f, 0x30, 0xc5, 0x73, 0x81, 0xb6, 0xe8,
+ 0x3c, 0xd8, 0x48, 0x8a};
+
+ // The public key is specified as the following ASN.1 structure:
+ // SubjectPublicKeyInfo ::= SEQUENCE {
+ // algorithm AlgorithmIdentifier,
+ // subjectPublicKey BIT STRING }
+ const uint8_t public_key_info[294] = {
+ 0x30, 0x82, 0x01, 0x22, // a SEQUENCE of length 290 (0x122)
+ // algorithm
+ 0x30, 0x0d, // a SEQUENCE of length 13
+ 0x06, 0x09, // an OBJECT IDENTIFIER of length 9
+ 0x2a, 0x86, 0x48, 0x86, 0xf7, 0x0d, 0x01, 0x01, 0x01, 0x05,
+ 0x00, // a NULL of length 0
+ // subjectPublicKey
+ 0x03, 0x82, 0x01, 0x0f, // a BIT STRING of length 271 (0x10f)
+ 0x00, // number of unused bits
+ 0x30, 0x82, 0x01, 0x0a, // a SEQUENCE of length 266 (0x10a)
+ // modulus
+ 0x02, 0x82, 0x01, 0x01, // an INTEGER of length 257 (0x101)
+ 0x00, 0xc4, 0x2d, 0xd5, 0x15, 0x8c, 0x9c, 0x26, 0x4c, 0xec, 0x32, 0x35,
+ 0xeb, 0x5f, 0xb8, 0x59, 0x01, 0x5a, 0xa6, 0x61, 0x81, 0x59, 0x3b, 0x70,
+ 0x63, 0xab, 0xe3, 0xdc, 0x3d, 0xc7, 0x2a, 0xb8, 0xc9, 0x33, 0xd3, 0x79,
+ 0xe4, 0x3a, 0xed, 0x3c, 0x30, 0x23, 0x84, 0x8e, 0xb3, 0x30, 0x14, 0xb6,
+ 0xb2, 0x87, 0xc3, 0x3d, 0x95, 0x54, 0x04, 0x9e, 0xdf, 0x99, 0xdd, 0x0b,
+ 0x25, 0x1e, 0x21, 0xde, 0x65, 0x29, 0x7e, 0x35, 0xa8, 0xa9, 0x54, 0xeb,
+ 0xf6, 0xf7, 0x32, 0x39, 0xd4, 0x26, 0x55, 0x95, 0xad, 0xef, 0xfb, 0xfe,
+ 0x58, 0x86, 0xd7, 0x9e, 0xf4, 0x00, 0x8d, 0x8c, 0x2a, 0x0c, 0xbd, 0x42,
+ 0x04, 0xce, 0xa7, 0x3f, 0x04, 0xf6, 0xee, 0x80, 0xf2, 0xaa, 0xef, 0x52,
+ 0xa1, 0x69, 0x66, 0xda, 0xbe, 0x1a, 0xad, 0x5d, 0xda, 0x2c, 0x66, 0xea,
+ 0x1a, 0x6b, 0xbb, 0xe5, 0x1a, 0x51, 0x4a, 0x00, 0x2f, 0x48, 0xc7, 0x98,
+ 0x75, 0xd8, 0xb9, 0x29, 0xc8, 0xee, 0xf8, 0x66, 0x6d, 0x0a, 0x9c, 0xb3,
+ 0xf3, 0xfc, 0x78, 0x7c, 0xa2, 0xf8, 0xa3, 0xf2, 0xb5, 0xc3, 0xf3, 0xb9,
+ 0x7a, 0x91, 0xc1, 0xa7, 0xe6, 0x25, 0x2e, 0x9c, 0xa8, 0xed, 0x12, 0x65,
+ 0x6e, 0x6a, 0xf6, 0x12, 0x44, 0x53, 0x70, 0x30, 0x95, 0xc3, 0x9c, 0x2b,
+ 0x58, 0x2b, 0x3d, 0x08, 0x74, 0x4a, 0xf2, 0xbe, 0x51, 0xb0, 0xbf, 0x87,
+ 0xd0, 0x4c, 0x27, 0x58, 0x6b, 0xb5, 0x35, 0xc5, 0x9d, 0xaf, 0x17, 0x31,
+ 0xf8, 0x0b, 0x8f, 0xee, 0xad, 0x81, 0x36, 0x05, 0x89, 0x08, 0x98, 0xcf,
+ 0x3a, 0xaf, 0x25, 0x87, 0xc0, 0x49, 0xea, 0xa7, 0xfd, 0x67, 0xf7, 0x45,
+ 0x8e, 0x97, 0xcc, 0x14, 0x39, 0xe2, 0x36, 0x85, 0xb5, 0x7e, 0x1a, 0x37,
+ 0xfd, 0x16, 0xf6, 0x71, 0x11, 0x9a, 0x74, 0x30, 0x16, 0xfe, 0x13, 0x94,
+ 0xa3, 0x3f, 0x84, 0x0d, 0x4f,
+ // public exponent
+ 0x02, 0x03, // an INTEGER of length 3
+ 0x01, 0x00, 0x01};
+
+ // We use the signature verifier to perform four signature verification
+ // tests.
+ crypto::SignatureVerifier verifier;
+
+ // Test 1: feed all of the data to the verifier at once (a single
+ // VerifyUpdate call).
+ EXPECT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1,
+ signature, public_key_info));
+ verifier.VerifyUpdate(tbs_certificate);
+ EXPECT_TRUE(verifier.VerifyFinal());
+
+ // Test 2: feed the data to the verifier in three parts (three VerifyUpdate
+ // calls).
+ EXPECT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1,
+ signature, public_key_info));
+ verifier.VerifyUpdate(absl::MakeSpan(tbs_certificate, 256));
+ verifier.VerifyUpdate(absl::MakeSpan(tbs_certificate + 256, 256));
+ verifier.VerifyUpdate(
+ absl::MakeSpan(tbs_certificate + 512, sizeof(tbs_certificate) - 512));
+ EXPECT_TRUE(verifier.VerifyFinal());
+
+ // Test 3: verify the signature with incorrect data.
+ uint8_t bad_tbs_certificate[sizeof(tbs_certificate)];
+ memcpy(bad_tbs_certificate, tbs_certificate, sizeof(tbs_certificate));
+ bad_tbs_certificate[10] += 1; // Corrupt one byte of the data.
+ EXPECT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1,
+ signature, public_key_info));
+ verifier.VerifyUpdate(bad_tbs_certificate);
+ EXPECT_FALSE(verifier.VerifyFinal());
+
+ // Test 4: verify a bad signature.
+ uint8_t bad_signature[sizeof(signature)];
+ memcpy(bad_signature, signature, sizeof(signature));
+ bad_signature[10] += 1; // Corrupt one byte of the signature.
+ EXPECT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1,
+ bad_signature, public_key_info));
+ verifier.VerifyUpdate(tbs_certificate);
+ EXPECT_FALSE(verifier.VerifyFinal());
+
+ // Test 5: import an invalid key.
+ uint8_t bad_public_key_info[sizeof(public_key_info)];
+ memcpy(bad_public_key_info, public_key_info, sizeof(public_key_info));
+ bad_public_key_info[0] += 1; // Corrupt part of the SPKI syntax.
+ EXPECT_FALSE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1,
+ signature, bad_public_key_info));
+
+ // Test 6: import a key with extra data.
+ uint8_t long_public_key_info[sizeof(public_key_info) + 5];
+ memset(long_public_key_info, 0, sizeof(long_public_key_info));
+ memcpy(long_public_key_info, public_key_info, sizeof(public_key_info));
+ EXPECT_FALSE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PKCS1_SHA1,
+ signature, long_public_key_info));
+}
+
+// The following RSA-PSS tests were generated via the following OpenSSL
+// commands:
+//
+// clang-format off
+// openssl genrsa -f4 -out key.pem 2048
+// openssl rsa -in key.pem -pubout -outform der | xxd -i > spki.txt
+// openssl rand -out message 50
+// xxd -i message > message.txt
+// openssl dgst -sign key.pem -sha256 -sigopt rsa_padding_mode:pss -sigopt \
+// rsa_pss_saltlen:32 < message | xxd -i > sig-good.txt
+// openssl dgst -sign key.pem -sha256 -sigopt rsa_padding_mode:pss -sigopt \
+// rsa_pss_saltlen:33 < message | xxd -i > sig-bad-saltlen.txt
+// clang-format on
+
+namespace {
+
+// This is the public key corresponding to the following private key.
+//
+// -----BEGIN RSA PRIVATE KEY-----
+// MIIEowIBAAKCAQEArg5NXFRQQ5QU7dcqqIjZwL4qy4AaJNSPfSPvXmFbK0hDXdp6
+// PdOZ2Wd+lQLZwb7ZQ2ZdqHVK3kZ2sVUlFmngIoEXNhVg+gW2zGPZ1YemwBMdZ/NW
+// V2xTX7Y3RrdR/kSccd9ByRTHKb+BCJ2XN5pHu91+LFchahW0lVPHz9DkBPUCThM2
+// I4ZosM3+AcO93RrrcbiQdpuY60Lfg9ZX7+1clM7zhiuOjWNY+FLN4+j4Ec8isiis
+// /V1LQyxRZ2t29kto47UJKu0Li7gUvEE1PS/nXBVgEqcSEBBKXa4ahsTqKWJAwvEH
+// xaH1t2qhVO1IHcf9FSv5k1T47H7XMLpO2OCPrwIDAQABAoIBAQCXA4exTOHa0Dcc
+// aGv1j87GAPimWX3VaKsaGzyKuZNdSTRR0MXwsI+yZa4Y4UFHbSuZ483s499SXPaM
+// Q2CLQs8ZgME/xmq+YojIavXL4wcVbUA9OY43CaCI0VLCQzmbj7HgxqCQMzvdh+8P
+// J5PUxUHpyHG5TNuL7EsiqG8bapT7ip2+IpKrKjr18gn3k0k9mLNJxK9Qr+CJphwo
+// eJgq0Kcjx3bfgDEpPzyvdd+J3e+jclOTYbk2HwJ0FVCrfgJedHFIWUytZoM5783g
+// knXzgDyKs65aUDjc/opidXp3WOqfNJUPSiofPYPdYQ26UI0vztL5MBkWCpl+d/55
+// BqxCdDlhAoGBANm90DFUca+7LdnDgj8mWtUIzr+XVzSD9tzOIpcjiPwEnxk8RHrM
+// aMHCAKZpbsnX/ikdc2I1OsirPgNFh1q30xgL7oCadzxlwfXnEM0Nff8RJKtN+yI6
+// +nRoOCDGCHBsaa2wyMYRbnanyRDLPIOP4eGQ6Hz/LQJBvhjRyTXlrUU/AoGBAMyj
+// ec1ySnlJ2S0JqPBCk14dRsEs/zStgFz1Wdmk7TMRBPUMyhWf8JwNrU5Ppm9biJMo
+// MKwkiFjzv/us4ne3wFRsTiKj4uiIwfji7/N2VpbEXSDGtonrX7hES4wQ/s+qr8XJ
+// 8ykHrZ9rPOY2lBhxOo+VYE3U6aspAY/qwK8WyumRAoGAMdl+/Iw0quLTkHNuMj75
+// tKQbkUl4sZE0x0B6Mtfz2J7GPeTKWMLLiPB9bZvdvWAx0//mFqnRF3f87orQfjhv
+// n6W7qL20ZqN1UHLiKc/Y9LhcCMwFnsSZ6mSh1P8Bl5t6ZkV+8bmz7H5lTe75n7Ul
+// JZsjXtqc11NtzgjZY/l9PckCgYAH6ZI+FVs30VkqWqNDlu9nxi4ELh84BDVgYsQ0
+// nCHnxZKxfusZZvPAtO6shnvi9mETf4xSO59iARq9OnQPOPWgzgc/Y6LUZuVJIE0y
+// 1rKGZdVL/SL1tjofP9TD96xCj1D4jtRuE7Ps5BKYvCeBwm8HOjldCQx357/9to/4
+// tSLnYQKBgG7STr94Slb3/BzzMxdMLCum1PH73/+IFxu1J0cXxYLP2zEhcSgqGIwm
+// aMgdu1L9eE6lJM99AWTEkpcUz8UFwNt+hZW+lZZpex77RMgRl9VCiwid1BNBSU/o
+// +lT1mlpDrPCNOge9n6Qvy5waBugB8uNS86w0UImYiKZr+8IQ4EdE
+// -----END RSA PRIVATE KEY-----
+const uint8_t kPSSPublicKey[] = {
+ 0x30, 0x82, 0x01, 0x22, 0x30, 0x0d, 0x06, 0x09, 0x2a, 0x86, 0x48, 0x86,
+ 0xf7, 0x0d, 0x01, 0x01, 0x01, 0x05, 0x00, 0x03, 0x82, 0x01, 0x0f, 0x00,
+ 0x30, 0x82, 0x01, 0x0a, 0x02, 0x82, 0x01, 0x01, 0x00, 0xae, 0x0e, 0x4d,
+ 0x5c, 0x54, 0x50, 0x43, 0x94, 0x14, 0xed, 0xd7, 0x2a, 0xa8, 0x88, 0xd9,
+ 0xc0, 0xbe, 0x2a, 0xcb, 0x80, 0x1a, 0x24, 0xd4, 0x8f, 0x7d, 0x23, 0xef,
+ 0x5e, 0x61, 0x5b, 0x2b, 0x48, 0x43, 0x5d, 0xda, 0x7a, 0x3d, 0xd3, 0x99,
+ 0xd9, 0x67, 0x7e, 0x95, 0x02, 0xd9, 0xc1, 0xbe, 0xd9, 0x43, 0x66, 0x5d,
+ 0xa8, 0x75, 0x4a, 0xde, 0x46, 0x76, 0xb1, 0x55, 0x25, 0x16, 0x69, 0xe0,
+ 0x22, 0x81, 0x17, 0x36, 0x15, 0x60, 0xfa, 0x05, 0xb6, 0xcc, 0x63, 0xd9,
+ 0xd5, 0x87, 0xa6, 0xc0, 0x13, 0x1d, 0x67, 0xf3, 0x56, 0x57, 0x6c, 0x53,
+ 0x5f, 0xb6, 0x37, 0x46, 0xb7, 0x51, 0xfe, 0x44, 0x9c, 0x71, 0xdf, 0x41,
+ 0xc9, 0x14, 0xc7, 0x29, 0xbf, 0x81, 0x08, 0x9d, 0x97, 0x37, 0x9a, 0x47,
+ 0xbb, 0xdd, 0x7e, 0x2c, 0x57, 0x21, 0x6a, 0x15, 0xb4, 0x95, 0x53, 0xc7,
+ 0xcf, 0xd0, 0xe4, 0x04, 0xf5, 0x02, 0x4e, 0x13, 0x36, 0x23, 0x86, 0x68,
+ 0xb0, 0xcd, 0xfe, 0x01, 0xc3, 0xbd, 0xdd, 0x1a, 0xeb, 0x71, 0xb8, 0x90,
+ 0x76, 0x9b, 0x98, 0xeb, 0x42, 0xdf, 0x83, 0xd6, 0x57, 0xef, 0xed, 0x5c,
+ 0x94, 0xce, 0xf3, 0x86, 0x2b, 0x8e, 0x8d, 0x63, 0x58, 0xf8, 0x52, 0xcd,
+ 0xe3, 0xe8, 0xf8, 0x11, 0xcf, 0x22, 0xb2, 0x28, 0xac, 0xfd, 0x5d, 0x4b,
+ 0x43, 0x2c, 0x51, 0x67, 0x6b, 0x76, 0xf6, 0x4b, 0x68, 0xe3, 0xb5, 0x09,
+ 0x2a, 0xed, 0x0b, 0x8b, 0xb8, 0x14, 0xbc, 0x41, 0x35, 0x3d, 0x2f, 0xe7,
+ 0x5c, 0x15, 0x60, 0x12, 0xa7, 0x12, 0x10, 0x10, 0x4a, 0x5d, 0xae, 0x1a,
+ 0x86, 0xc4, 0xea, 0x29, 0x62, 0x40, 0xc2, 0xf1, 0x07, 0xc5, 0xa1, 0xf5,
+ 0xb7, 0x6a, 0xa1, 0x54, 0xed, 0x48, 0x1d, 0xc7, 0xfd, 0x15, 0x2b, 0xf9,
+ 0x93, 0x54, 0xf8, 0xec, 0x7e, 0xd7, 0x30, 0xba, 0x4e, 0xd8, 0xe0, 0x8f,
+ 0xaf, 0x02, 0x03, 0x01, 0x00, 0x01,
+};
+
+const uint8_t kPSSMessage[] = {
+ 0x1e, 0x70, 0xbd, 0xeb, 0x24, 0xf2, 0x9d, 0x05, 0xc5, 0xb5,
+ 0xf4, 0xca, 0xe6, 0x1d, 0x01, 0x97, 0x29, 0xf4, 0xe0, 0x7c,
+ 0xfd, 0xcc, 0x97, 0x8d, 0xc2, 0xbb, 0x2d, 0x9b, 0x6b, 0x45,
+ 0x06, 0xbd, 0x2c, 0x66, 0x10, 0x42, 0x73, 0x8d, 0x88, 0x9b,
+ 0x18, 0xcc, 0xcb, 0x7e, 0x43, 0x23, 0x06, 0xe9, 0x8f, 0x8f,
+};
+
+const uint8_t kPSSSignatureGood[] = {
+ 0x12, 0xa7, 0x6d, 0x9e, 0x8a, 0xea, 0x28, 0xe0, 0x3f, 0x6f, 0x5a, 0xa4,
+ 0x1b, 0x6a, 0x0a, 0x14, 0xba, 0xfa, 0x84, 0xf6, 0xb7, 0x3c, 0xc9, 0xd6,
+ 0x84, 0xab, 0x1e, 0x77, 0x88, 0x53, 0x95, 0x43, 0x8e, 0x73, 0xe4, 0x21,
+ 0xab, 0x69, 0xb2, 0x0c, 0x73, 0x4d, 0x98, 0x42, 0xbd, 0x65, 0xa2, 0x95,
+ 0x0d, 0x76, 0xb2, 0xbd, 0xe5, 0x9a, 0x6e, 0x9f, 0x72, 0x7f, 0xdd, 0x1e,
+ 0x9f, 0xda, 0xc8, 0x2e, 0xa3, 0xe6, 0x28, 0x03, 0x98, 0x5c, 0x13, 0xa7,
+ 0x7d, 0x4e, 0xde, 0xea, 0x35, 0x1b, 0x35, 0x7e, 0xaa, 0x14, 0xf9, 0xfb,
+ 0xac, 0x61, 0xd0, 0x44, 0x20, 0xd5, 0x52, 0x5b, 0x92, 0x8f, 0xe7, 0x37,
+ 0xa2, 0x72, 0x7d, 0xe6, 0x0d, 0x81, 0x63, 0xcc, 0x0f, 0xbd, 0xde, 0x25,
+ 0xe3, 0x3f, 0x89, 0x1b, 0x39, 0x64, 0xfa, 0x21, 0x1d, 0x0f, 0x9b, 0x8a,
+ 0xc1, 0xad, 0x03, 0x49, 0x96, 0xff, 0x9f, 0x2d, 0x83, 0xee, 0x2d, 0x2a,
+ 0x1e, 0xc5, 0x73, 0x9f, 0x5b, 0xde, 0xcb, 0xaf, 0x02, 0xbd, 0xc5, 0x9b,
+ 0x78, 0xb9, 0x8e, 0x01, 0x75, 0x3c, 0xc9, 0x6e, 0x7d, 0x3e, 0x61, 0x62,
+ 0xc4, 0x8c, 0x9e, 0x76, 0xed, 0x52, 0x5e, 0x80, 0x89, 0xa7, 0x75, 0x5e,
+ 0xc6, 0x34, 0x97, 0x22, 0x40, 0xb5, 0x0c, 0x77, 0x09, 0x8c, 0xa8, 0xe9,
+ 0xf6, 0x8d, 0xc0, 0x10, 0x78, 0x92, 0xa9, 0xc6, 0x68, 0xa3, 0x57, 0x6e,
+ 0x73, 0xb5, 0x73, 0x8d, 0x8e, 0x21, 0xb1, 0xf3, 0xd0, 0x0a, 0x40, 0x68,
+ 0xfc, 0x3c, 0xeb, 0xd3, 0x48, 0x4a, 0x44, 0xbd, 0xc0, 0x40, 0x5d, 0x9b,
+ 0x40, 0x6f, 0x45, 0x98, 0x2b, 0xae, 0x58, 0xe8, 0x9d, 0x34, 0x49, 0xd2,
+ 0xec, 0xdc, 0xd5, 0x98, 0xb4, 0x87, 0x8a, 0xcc, 0x41, 0x3e, 0xd7, 0xe6,
+ 0x21, 0xd6, 0x4c, 0x89, 0xf1, 0xf4, 0x77, 0x40, 0x3f, 0x9a, 0x28, 0x25,
+ 0x55, 0x7c, 0xf5, 0x0c,
+};
+
+const uint8_t kPSSSignatureBadSaltLength[] = {
+ 0x6e, 0x61, 0xbe, 0x8a, 0x82, 0xbd, 0xed, 0xc6, 0xe4, 0x33, 0x91, 0xa4,
+ 0x43, 0x57, 0x51, 0x7e, 0xa8, 0x18, 0xbf, 0x20, 0x98, 0xbc, 0x04, 0x50,
+ 0x06, 0x1b, 0x0b, 0xb6, 0x43, 0xde, 0x58, 0x7f, 0x6b, 0xa5, 0x5e, 0x9d,
+ 0xd1, 0x75, 0x03, 0xf5, 0x19, 0x8d, 0xdb, 0x2c, 0xd2, 0x9a, 0xf9, 0xbd,
+ 0x82, 0x8d, 0x32, 0x9d, 0x7d, 0x70, 0x6f, 0x81, 0x95, 0x60, 0x1d, 0x62,
+ 0x72, 0xf3, 0x95, 0x5b, 0x7a, 0x66, 0x7f, 0x45, 0x94, 0x0c, 0x07, 0xc8,
+ 0xa7, 0x64, 0x38, 0x57, 0x1a, 0x64, 0x64, 0xf1, 0xe0, 0x45, 0xfe, 0x00,
+ 0x11, 0x90, 0x57, 0x95, 0x15, 0x21, 0x10, 0x85, 0xc0, 0xbe, 0x53, 0x5b,
+ 0x3b, 0xa3, 0x57, 0x99, 0x2b, 0x94, 0x6b, 0xbf, 0xa5, 0x55, 0x7d, 0x5a,
+ 0xcb, 0xa2, 0x73, 0x6b, 0x5f, 0x7b, 0x3f, 0x10, 0x90, 0xd1, 0x26, 0x72,
+ 0x5e, 0xad, 0xd1, 0x34, 0xe8, 0x8a, 0x33, 0xeb, 0xd2, 0xbf, 0x54, 0x92,
+ 0xeb, 0x7c, 0xb9, 0x97, 0x80, 0x5a, 0x46, 0xc4, 0xbd, 0xf5, 0x7e, 0xd6,
+ 0x20, 0x90, 0x92, 0xcb, 0x37, 0x85, 0x9d, 0x81, 0x0a, 0xd0, 0xa5, 0x73,
+ 0x17, 0x7e, 0xe2, 0x91, 0xef, 0x35, 0x55, 0xc9, 0x5e, 0x87, 0x84, 0x11,
+ 0xa4, 0x36, 0xf0, 0x2a, 0xa7, 0x7a, 0x83, 0x1d, 0x7a, 0x90, 0x69, 0x22,
+ 0x5d, 0x3b, 0x30, 0x48, 0x46, 0xd2, 0xd3, 0x49, 0x23, 0x64, 0xa4, 0x6d,
+ 0xd1, 0xef, 0xb9, 0x1b, 0xa4, 0xd1, 0x92, 0xdd, 0x8c, 0xb2, 0xaa, 0x9f,
+ 0x6a, 0x2c, 0xc9, 0xdb, 0xa7, 0x35, 0x66, 0x92, 0x8b, 0x73, 0x11, 0x70,
+ 0x2b, 0xf4, 0x34, 0x3f, 0x9e, 0x15, 0x3e, 0xc0, 0xac, 0x78, 0x6f, 0x74,
+ 0x8a, 0x6b, 0xe4, 0xf2, 0x7b, 0x10, 0xca, 0x01, 0x3a, 0x3a, 0x88, 0x39,
+ 0x34, 0xa8, 0x52, 0x4a, 0x76, 0x50, 0xef, 0xdb, 0x91, 0x3c, 0x4a, 0x5c,
+ 0xe5, 0x43, 0x6f, 0x8e,
+};
+
+} // namespace
+
+TEST(SignatureVerifierTest, VerifyRSAPSS) {
+ // Verify the test vector.
+ crypto::SignatureVerifier verifier;
+ ASSERT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PSS_SHA256,
+ kPSSSignatureGood, kPSSPublicKey));
+ verifier.VerifyUpdate(kPSSMessage);
+ EXPECT_TRUE(verifier.VerifyFinal());
+
+ // Verify the test vector byte-by-byte.
+ ASSERT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PSS_SHA256,
+ kPSSSignatureGood, kPSSPublicKey));
+ for (uint8_t b : kPSSMessage) {
+ verifier.VerifyUpdate(absl::MakeSpan(&b, 1));
+ }
+ EXPECT_TRUE(verifier.VerifyFinal());
+
+ // The bad salt length does not verify.
+ ASSERT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PSS_SHA256,
+ kPSSSignatureBadSaltLength, kPSSPublicKey));
+ verifier.VerifyUpdate(kPSSMessage);
+ EXPECT_FALSE(verifier.VerifyFinal());
+
+ // Corrupt the message.
+ std::vector<uint8_t> message(std::begin(kPSSMessage), std::end(kPSSMessage));
+ message[0] ^= 1;
+ ASSERT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PSS_SHA256,
+ kPSSSignatureGood, kPSSPublicKey));
+ verifier.VerifyUpdate(message);
+ EXPECT_FALSE(verifier.VerifyFinal());
+
+ // Corrupt the signature.
+ std::vector<uint8_t> signature(std::begin(kPSSSignatureGood),
+ std::end(kPSSSignatureGood));
+ signature[0] ^= 1;
+ ASSERT_TRUE(verifier.VerifyInit(crypto::SignatureVerifier::RSA_PSS_SHA256,
+ signature, kPSSPublicKey));
+ verifier.VerifyUpdate(kPSSMessage);
+ EXPECT_FALSE(verifier.VerifyFinal());
+}
diff --git a/chromium/third_party/nearby/src/internal/crypto/symmetric_key.cc b/chromium/third_party/nearby/src/internal/crypto/symmetric_key.cc
new file mode 100644
index 00000000000..13c24bd492f
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/symmetric_key.cc
@@ -0,0 +1,140 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/symmetric_key.h"
+
+#include <stddef.h>
+#include <stdint.h>
+
+#include <algorithm>
+#include <memory>
+#include <string>
+#include <utility>
+
+#include "internal/crypto/nearby_base.h"
+#include "internal/crypto/openssl_util.h"
+#include "internal/platform/logging.h"
+#include <openssl/evp.h>
+#include <openssl/rand.h>
+
+namespace crypto {
+
+namespace {
+
+bool CheckDerivationParameters(SymmetricKey::Algorithm algorithm,
+ size_t key_size_in_bits) {
+ switch (algorithm) {
+ case SymmetricKey::AES:
+ // Whitelist supported key sizes to avoid accidentally relying on
+ // algorithms available in NSS but not BoringSSL and vice
+ // versa. Note that BoringSSL does not support AES-192.
+ return key_size_in_bits == 128 || key_size_in_bits == 256;
+ case SymmetricKey::HMAC_SHA1:
+ return key_size_in_bits % 8 == 0 && key_size_in_bits != 0;
+ }
+
+ DCHECK(false);
+ return false;
+}
+
+} // namespace
+
+SymmetricKey::~SymmetricKey() {
+ std::fill(key_.begin(), key_.end(), '\0'); // Zero out the confidential key.
+}
+
+// static
+std::unique_ptr<SymmetricKey> SymmetricKey::GenerateRandomKey(
+ Algorithm algorithm, size_t key_size_in_bits) {
+ DCHECK_EQ(AES, algorithm);
+
+ // Whitelist supported key sizes to avoid accidentally relying on
+ // algorithms available in NSS but not BoringSSL and vice
+ // versa. Note that BoringSSL does not support AES-192.
+ if (key_size_in_bits != 128 && key_size_in_bits != 256) return nullptr;
+
+ size_t key_size_in_bytes = key_size_in_bits / 8;
+ DCHECK_EQ(key_size_in_bits, key_size_in_bytes * 8);
+
+ if (key_size_in_bytes == 0) return nullptr;
+
+ OpenSSLErrStackTracer err_tracer;
+ std::unique_ptr<SymmetricKey> key(new SymmetricKey);
+ uint8_t* key_data = reinterpret_cast<uint8_t*>(
+ nearbybase::WriteInto(&key->key_, key_size_in_bytes + 1));
+
+ int rv = RAND_bytes(key_data, static_cast<int>(key_size_in_bytes));
+ return rv == 1 ? std::move(key) : nullptr;
+}
+
+// static
+std::unique_ptr<SymmetricKey> SymmetricKey::DeriveKeyFromPasswordUsingPbkdf2(
+ Algorithm algorithm, const std::string& password, const std::string& salt,
+ size_t iterations, size_t key_size_in_bits) {
+ if (!CheckDerivationParameters(algorithm, key_size_in_bits)) return nullptr;
+
+ size_t key_size_in_bytes = key_size_in_bits / 8;
+
+ OpenSSLErrStackTracer err_tracer;
+ std::unique_ptr<SymmetricKey> key(new SymmetricKey);
+ uint8_t* key_data = reinterpret_cast<uint8_t*>(
+ nearbybase::WriteInto(&key->key_, key_size_in_bytes + 1));
+
+ int rv = PKCS5_PBKDF2_HMAC_SHA1(
+ password.data(), password.length(),
+ reinterpret_cast<const uint8_t*>(salt.data()), salt.length(),
+ static_cast<unsigned>(iterations), key_size_in_bytes, key_data);
+ return rv == 1 ? std::move(key) : nullptr;
+}
+
+// static
+std::unique_ptr<SymmetricKey> SymmetricKey::DeriveKeyFromPasswordUsingScrypt(
+ Algorithm algorithm, const std::string& password, const std::string& salt,
+ size_t cost_parameter, size_t block_size, size_t parallelization_parameter,
+ size_t max_memory_bytes, size_t key_size_in_bits) {
+ if (!CheckDerivationParameters(algorithm, key_size_in_bits)) return nullptr;
+
+ size_t key_size_in_bytes = key_size_in_bits / 8;
+
+ OpenSSLErrStackTracer err_tracer;
+ std::unique_ptr<SymmetricKey> key(new SymmetricKey);
+ uint8_t* key_data = reinterpret_cast<uint8_t*>(
+ nearbybase::WriteInto(&key->key_, key_size_in_bytes + 1));
+
+ int rv = EVP_PBE_scrypt(password.data(), password.length(),
+ reinterpret_cast<const uint8_t*>(salt.data()),
+ salt.length(), cost_parameter, block_size,
+ parallelization_parameter, max_memory_bytes, key_data,
+ key_size_in_bytes);
+ return rv == 1 ? std::move(key) : nullptr;
+}
+
+// static
+std::unique_ptr<SymmetricKey> SymmetricKey::Import(Algorithm algorithm,
+ const std::string& raw_key) {
+ if (algorithm == AES) {
+ // Whitelist supported key sizes to avoid accidentally relying on
+ // algorithms available in NSS but not BoringSSL and vice
+ // versa. Note that BoringSSL does not support AES-192.
+ if (raw_key.size() != 128 / 8 && raw_key.size() != 256 / 8) return nullptr;
+ }
+
+ std::unique_ptr<SymmetricKey> key(new SymmetricKey);
+ key->key_ = raw_key;
+ return key;
+}
+
+SymmetricKey::SymmetricKey() = default;
+
+} // namespace crypto
diff --git a/chromium/third_party/nearby/src/internal/crypto/symmetric_key.h b/chromium/third_party/nearby/src/internal/crypto/symmetric_key.h
new file mode 100644
index 00000000000..054a8ad1732
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/symmetric_key.h
@@ -0,0 +1,89 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_SYMMETRIC_KEY_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_SYMMETRIC_KEY_H_
+
+#include <stddef.h>
+
+#include <memory>
+#include <string>
+
+#include "internal/crypto/crypto_export.h"
+
+namespace crypto {
+
+// Wraps a platform-specific symmetric key and allows it to be held in a
+// scoped_ptr.
+class CRYPTO_EXPORT SymmetricKey {
+ public:
+ // Defines the algorithm that a key will be used with. See also
+ // classs Encrptor.
+ enum Algorithm {
+ AES,
+ HMAC_SHA1,
+ };
+
+ SymmetricKey(const SymmetricKey&) = delete;
+ SymmetricKey& operator=(const SymmetricKey&) = delete;
+
+ virtual ~SymmetricKey();
+
+ // Generates a random key suitable to be used with |algorithm| and of
+ // |key_size_in_bits| bits. |key_size_in_bits| must be a multiple of 8.
+ // The caller is responsible for deleting the returned SymmetricKey.
+ static std::unique_ptr<SymmetricKey> GenerateRandomKey(
+ Algorithm algorithm, size_t key_size_in_bits);
+
+ // Derives a key from the supplied password and salt using PBKDF2, suitable
+ // for use with specified |algorithm|. Note |algorithm| is not the algorithm
+ // used to derive the key from the password. |key_size_in_bits| must be a
+ // multiple of 8. The caller is responsible for deleting the returned
+ // SymmetricKey.
+ static std::unique_ptr<SymmetricKey> DeriveKeyFromPasswordUsingPbkdf2(
+ Algorithm algorithm, const std::string& password, const std::string& salt,
+ size_t iterations, size_t key_size_in_bits);
+
+ // Derives a key from the supplied password and salt using scrypt, suitable
+ // for use with specified |algorithm|. Note |algorithm| is not the algorithm
+ // used to derive the key from the password. |cost_parameter|, |block_size|,
+ // and |parallelization_parameter| correspond to the parameters |N|, |r|, and
+ // |p| from the scrypt specification (see RFC 7914). |key_size_in_bits| must
+ // be a multiple of 8. The caller is responsible for deleting the returned
+ // SymmetricKey.
+ static std::unique_ptr<SymmetricKey> DeriveKeyFromPasswordUsingScrypt(
+ Algorithm algorithm, const std::string& password, const std::string& salt,
+ size_t cost_parameter, size_t block_size,
+ size_t parallelization_parameter, size_t max_memory_bytes,
+ size_t key_size_in_bits);
+
+ // Imports an array of key bytes in |raw_key|. This key may have been
+ // generated by GenerateRandomKey or DeriveKeyFromPassword{Pbkdf2,Scrypt} and
+ // exported with key(). The key must be of suitable size for use with
+ // |algorithm|. The caller owns the returned SymmetricKey.
+ static std::unique_ptr<SymmetricKey> Import(Algorithm algorithm,
+ const std::string& raw_key);
+
+ // Returns the raw platform specific key data.
+ const std::string& key() const { return key_; }
+
+ private:
+ SymmetricKey();
+
+ std::string key_;
+};
+
+} // namespace crypto
+
+#endif // THIRD_PARTY_NEARBY_INTERNAL_CRYPTO_SYMMETRIC_KEY_H_
diff --git a/chromium/third_party/nearby/src/internal/crypto/symmetric_key_unittest.cc b/chromium/third_party/nearby/src/internal/crypto/symmetric_key_unittest.cc
new file mode 100644
index 00000000000..4fe70b410e9
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/crypto/symmetric_key_unittest.cc
@@ -0,0 +1,262 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/crypto/symmetric_key.h"
+
+#include <memory>
+#include <string>
+
+#include "gtest/gtest.h"
+#include "absl/strings/ascii.h"
+#include "internal/crypto/nearby_base.h"
+
+TEST(SymmetricKeyTest, GenerateRandomKey) {
+ std::unique_ptr<crypto::SymmetricKey> key(
+ crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256));
+ ASSERT_TRUE(key);
+ EXPECT_EQ(32U, key->key().size());
+
+ // Do it again and check that the keys are different.
+ // (Note: this has a one-in-10^77 chance of failure!)
+ std::unique_ptr<crypto::SymmetricKey> key2(
+ crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256));
+ ASSERT_TRUE(key2);
+ EXPECT_EQ(32U, key2->key().size());
+ EXPECT_NE(key->key(), key2->key());
+}
+
+TEST(SymmetricKeyTest, ImportGeneratedKey) {
+ std::unique_ptr<crypto::SymmetricKey> key1(
+ crypto::SymmetricKey::GenerateRandomKey(crypto::SymmetricKey::AES, 256));
+ ASSERT_TRUE(key1);
+
+ std::unique_ptr<crypto::SymmetricKey> key2(
+ crypto::SymmetricKey::Import(crypto::SymmetricKey::AES, key1->key()));
+ ASSERT_TRUE(key2);
+
+ EXPECT_EQ(key1->key(), key2->key());
+}
+
+TEST(SymmetricKeyTest, ImportDerivedKey) {
+ std::unique_ptr<crypto::SymmetricKey> key1(
+ crypto::SymmetricKey::DeriveKeyFromPasswordUsingPbkdf2(
+ crypto::SymmetricKey::HMAC_SHA1, "password", "somesalt", 1024, 160));
+ ASSERT_TRUE(key1);
+
+ std::unique_ptr<crypto::SymmetricKey> key2(crypto::SymmetricKey::Import(
+ crypto::SymmetricKey::HMAC_SHA1, key1->key()));
+ ASSERT_TRUE(key2);
+
+ EXPECT_EQ(key1->key(), key2->key());
+}
+
+struct PBKDF2TestVector {
+ crypto::SymmetricKey::Algorithm algorithm;
+ const char* password;
+ const char* salt;
+ unsigned int rounds;
+ unsigned int key_size_in_bits;
+ const char* expected; // ASCII encoded hex bytes.
+};
+
+struct ScryptTestVector {
+ crypto::SymmetricKey::Algorithm algorithm;
+ const char* password;
+ const char* salt;
+ unsigned int cost_parameter;
+ unsigned int block_size;
+ unsigned int parallelization_parameter;
+ unsigned int key_size_in_bits;
+ const char* expected; // ASCII encoded hex bytes.
+};
+
+class SymmetricKeyDeriveKeyFromPasswordUsingPbkdf2Test
+ : public testing::TestWithParam<PBKDF2TestVector> {};
+
+class SymmetricKeyDeriveKeyFromPasswordUsingScryptTest
+ : public testing::TestWithParam<ScryptTestVector> {};
+
+TEST_P(SymmetricKeyDeriveKeyFromPasswordUsingPbkdf2Test,
+ DeriveKeyFromPasswordUsingPbkdf2) {
+ PBKDF2TestVector test_data(GetParam());
+ std::unique_ptr<crypto::SymmetricKey> key(
+ crypto::SymmetricKey::DeriveKeyFromPasswordUsingPbkdf2(
+ test_data.algorithm, test_data.password, test_data.salt,
+ test_data.rounds, test_data.key_size_in_bits));
+ ASSERT_TRUE(key);
+
+ const std::string& raw_key = key->key();
+ EXPECT_EQ(test_data.key_size_in_bits / 8, raw_key.size());
+ EXPECT_EQ(test_data.expected, absl::AsciiStrToLower(nearbybase::HexEncode(
+ raw_key.data(), raw_key.size())));
+}
+
+TEST_P(SymmetricKeyDeriveKeyFromPasswordUsingScryptTest,
+ DeriveKeyFromPasswordUsingScrypt) {
+ const int kScryptMaxMemoryBytes = 128 * 1024 * 1024; // 128 MiB.
+
+ ScryptTestVector test_data(GetParam());
+ std::unique_ptr<crypto::SymmetricKey> key(
+ crypto::SymmetricKey::DeriveKeyFromPasswordUsingScrypt(
+ test_data.algorithm, test_data.password, test_data.salt,
+ test_data.cost_parameter, test_data.block_size,
+ test_data.parallelization_parameter, kScryptMaxMemoryBytes,
+ test_data.key_size_in_bits));
+ ASSERT_TRUE(key);
+
+ const std::string& raw_key = key->key();
+ EXPECT_EQ(test_data.key_size_in_bits / 8, raw_key.size());
+ EXPECT_EQ(test_data.expected, absl::AsciiStrToLower((nearbybase::HexEncode(
+ raw_key.data(), raw_key.size()))));
+}
+
+static const PBKDF2TestVector kTestVectorsPbkdf2[] = {
+ // These tests come from
+ // http://www.ietf.org/id/draft-josefsson-pbkdf2-test-vectors-00.txt.
+ {
+ crypto::SymmetricKey::HMAC_SHA1,
+ "password",
+ "salt",
+ 1,
+ 160,
+ "0c60c80f961f0e71f3a9b524af6012062fe037a6",
+ },
+ {
+ crypto::SymmetricKey::HMAC_SHA1,
+ "password",
+ "salt",
+ 2,
+ 160,
+ "ea6c014dc72d6f8ccd1ed92ace1d41f0d8de8957",
+ },
+ {
+ crypto::SymmetricKey::HMAC_SHA1,
+ "password",
+ "salt",
+ 4096,
+ 160,
+ "4b007901b765489abead49d926f721d065a429c1",
+ },
+// This test takes over 30s to run on the trybots.
+#if 0
+ {
+ crypto::SymmetricKey::HMAC_SHA1,
+ "password",
+ "salt",
+ 16777216,
+ 160,
+ "eefe3d61cd4da4e4e9945b3d6ba2158c2634e984",
+ },
+#endif
+
+ // These tests come from RFC 3962, via BSD source code at
+ // http://www.openbsd.org/cgi-bin/cvsweb/src/sbin/bioctl/pbkdf2.c?rev=HEAD&content-type=text/plain.
+ {
+ crypto::SymmetricKey::HMAC_SHA1,
+ "password",
+ "ATHENA.MIT.EDUraeburn",
+ 1,
+ 160,
+ "cdedb5281bb2f801565a1122b25635150ad1f7a0",
+ },
+ {
+ crypto::SymmetricKey::HMAC_SHA1,
+ "password",
+ "ATHENA.MIT.EDUraeburn",
+ 2,
+ 160,
+ "01dbee7f4a9e243e988b62c73cda935da05378b9",
+ },
+ {
+ crypto::SymmetricKey::HMAC_SHA1,
+ "password",
+ "ATHENA.MIT.EDUraeburn",
+ 1200,
+ 160,
+ "5c08eb61fdf71e4e4ec3cf6ba1f5512ba7e52ddb",
+ },
+ {
+ crypto::SymmetricKey::HMAC_SHA1,
+ "password",
+ "\022"
+ "4VxxV4\022", /* 0x1234567878563412 */
+ 5,
+ 160,
+ "d1daa78615f287e6a1c8b120d7062a493f98d203",
+ },
+ {
+ crypto::SymmetricKey::HMAC_SHA1,
+ "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
+ "pass phrase equals block size",
+ 1200,
+ 160,
+ "139c30c0966bc32ba55fdbf212530ac9c5ec59f1",
+ },
+ {
+ crypto::SymmetricKey::HMAC_SHA1,
+ "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
+ "pass phrase exceeds block size",
+ 1200,
+ 160,
+ "9ccad6d468770cd51b10e6a68721be611a8b4d28",
+ },
+ {
+ crypto::SymmetricKey::HMAC_SHA1,
+ "\360\235\204\236", /* g-clef (0xf09d849e) */
+ "EXAMPLE.COMpianist",
+ 50,
+ 160,
+ "6b9cf26d45455a43a5b8bb276a403b39e7fe37a0",
+ },
+
+ // Regression tests for AES keys, derived from the Linux NSS implementation.
+ {
+ crypto::SymmetricKey::AES,
+ "A test password",
+ "saltsalt",
+ 1,
+ 256,
+ "44899a7777f0e6e8b752f875f02044b8ac593de146de896f2e8a816e315a36de",
+ },
+ {
+ crypto::SymmetricKey::AES,
+ "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
+ "pass phrase exceeds block size",
+ 20,
+ 256,
+ "e0739745dc28b8721ba402e05214d2ac1eab54cf72bee1fba388297a09eb493c",
+ },
+};
+
+static const ScryptTestVector kTestVectorsScrypt[] = {
+ // From RFC 7914, "The scrypt Password-Based Key Derivation Function",
+ // https://tools.ietf.org/html/rfc7914.html. The fourth test vector is
+ // intentionally not used, as it would make the test significantly slower,
+ // due to the very high cost parameter.
+ {crypto::SymmetricKey::HMAC_SHA1, "", "", 16, 1, 1, 512,
+ "77d6576238657b203b19ca42c18a0497f16b4844e3074ae8dfdffa3fede21442fcd0069de"
+ "d0948f8326a753a0fc81f17e8d3e0fb2e0d3628cf35e20c38d18906"},
+ {crypto::SymmetricKey::HMAC_SHA1, "password", "NaCl", 1024, 8, 16, 512,
+ "fdbabe1c9d3472007856e7190d01e9fe7c6ad7cbc8237830e77376634b3731622eaf30d92"
+ "e22a3886ff109279d9830dac727afb94a83ee6d8360cbdfa2cc0640"},
+ {crypto::SymmetricKey::HMAC_SHA1, "pleaseletmein", "SodiumChloride", 16384,
+ 8, 1, 512,
+ "7023bdcb3afd7348461c06cd81fd38ebfda8fbba904f8e3ea9b543f6545da1f2d54329556"
+ "13f0fcf62d49705242a9af9e61e85dc0d651e40dfcf017b45575887"}};
+
+INSTANTIATE_TEST_SUITE_P(All, SymmetricKeyDeriveKeyFromPasswordUsingPbkdf2Test,
+ testing::ValuesIn(kTestVectorsPbkdf2));
+
+INSTANTIATE_TEST_SUITE_P(All, SymmetricKeyDeriveKeyFromPasswordUsingScryptTest,
+ testing::ValuesIn(kTestVectorsScrypt));
diff --git a/chromium/third_party/nearby/src/internal/platform/BUILD b/chromium/third_party/nearby/src/internal/platform/BUILD
index 6ea26e6bea2..068c3a18675 100644
--- a/chromium/third_party/nearby/src/internal/platform/BUILD
+++ b/chromium/third_party/nearby/src/internal/platform/BUILD
@@ -53,8 +53,8 @@ cc_library(
"//internal/platform/implementation:__subpackages__",
"//internal/proto/analytics:__subpackages__",
"//location/nearby/cpp/sharing:__subpackages__",
+ "//presence:__subpackages__",
"//third_party/nearby/cpp/cal:__subpackages__",
- "//third_party/nearby/presence:__subpackages__",
],
deps = [
"//proto:connections_enums_cc_proto",
@@ -105,8 +105,11 @@ cc_library(
"//connections:__subpackages__",
"//googlemac/iPhone/Shared/Nearby/Connections:__subpackages__",
"//internal/analytics:__subpackages__",
+ "//internal/crypto:__subpackages__",
"//internal/platform:__subpackages__",
"//internal/proto/analytics:__subpackages__",
+ "//location/nearby/analytics/cpp:__subpackages__",
+ "//presence:__subpackages__",
],
deps = [
"//internal/platform/implementation:platform",
@@ -173,6 +176,7 @@ cc_library(
"//connections/implementation:__subpackages__",
"//internal/platform:__pkg__",
"//internal/platform/implementation:__subpackages__",
+ "//presence:__subpackages__",
],
deps = [
"//internal/platform/implementation:types",
@@ -316,7 +320,6 @@ cc_library(
":base",
":logging",
":util",
- "//connections/clients/windows:types",
"//internal/platform/implementation:platform",
"//internal/platform/implementation:types",
"@com_google_absl//absl/base:core_headers",
@@ -341,6 +344,7 @@ cc_library(
"ble_v2.h",
"bluetooth_adapter.h",
"bluetooth_classic.h",
+ "credential_storage.h",
"wifi.h",
"wifi_hotspot.h",
"wifi_lan.h",
@@ -354,6 +358,7 @@ cc_library(
"//internal/analytics:__subpackages__",
"//internal/platform:__pkg__",
"//internal/platform/implementation:__subpackages__",
+ "//presence:__subpackages__",
],
deps = [
":logging",
diff --git a/chromium/third_party/nearby/src/internal/platform/base_pipe.h b/chromium/third_party/nearby/src/internal/platform/base_pipe.h
index 766b2fc557f..f36266baed2 100644
--- a/chromium/third_party/nearby/src/internal/platform/base_pipe.h
+++ b/chromium/third_party/nearby/src/internal/platform/base_pipe.h
@@ -30,7 +30,7 @@
namespace location {
namespace nearby {
-// Common Pipe implenentation.
+// Common Pipe implementation.
// It does not depend on platform implementation, and this allows it to
// be used in the platform implementation itself.
// Concrete class must be derived from it, as follows:
diff --git a/chromium/third_party/nearby/src/internal/platform/ble_v2.cc b/chromium/third_party/nearby/src/internal/platform/ble_v2.cc
index acf0b4e33d3..907e653e9c1 100644
--- a/chromium/third_party/nearby/src/internal/platform/ble_v2.cc
+++ b/chromium/third_party/nearby/src/internal/platform/ble_v2.cc
@@ -53,13 +53,12 @@ bool BleV2Medium::StartScanning(const Uuid& service_uuid,
[this](api::ble_v2::BlePeripheral& peripheral,
BleAdvertisementData advertisement_data) {
MutexLock lock(&mutex_);
- if (peripherals_.contains(&peripheral)) {
+ if (!peripherals_.contains(&peripheral)) {
NEARBY_LOGS(INFO)
<< "There is no need to callback due to peripheral impl="
<< &peripheral << ", which already exists.";
- return;
+ peripherals_.insert(&peripheral);
}
- peripherals_.insert(&peripheral);
BleV2Peripheral proxy(&peripheral);
NEARBY_LOGS(INFO)
<< "New peripheral imp=" << &peripheral
@@ -74,7 +73,7 @@ bool BleV2Medium::StartScanning(const Uuid& service_uuid,
// Clear the `peripherals_` after succeeded in StartScanning and before the
// advertisement_found callback has been reached. This prevents deleting the
// existing `peripherals_` if the scanning is not started successfully. If
- // sanning is started successfully, we need to clear `peripherals_` to
+ // scanning is started successfully, we need to clear `peripherals_` to
// prevent the stale data in cache.
peripherals_.clear();
scanning_enabled_ = true;
diff --git a/chromium/third_party/nearby/src/internal/platform/ble_v2.h b/chromium/third_party/nearby/src/internal/platform/ble_v2.h
index 368f16f49c9..c5fd3d1dc8e 100644
--- a/chromium/third_party/nearby/src/internal/platform/ble_v2.h
+++ b/chromium/third_party/nearby/src/internal/platform/ble_v2.h
@@ -57,7 +57,7 @@ class BleV2Socket final {
// the BleSocket object is destroyed.
OutputStream& GetOutputStream() { return impl_->GetOutputStream(); }
- // Sets the close notifier by cient side.
+ // Sets the close notifier by client side.
void SetCloseNotifier(std::function<void()> notifier) {
close_notifier_ = std::move(notifier);
}
@@ -168,7 +168,7 @@ class GattServer final {
return impl_->UpdateCharacteristic(characteristic, value);
}
- void Stop() { return impl_->Stop(); }
+ void Stop() { if (impl_) return impl_->Stop(); }
// Returns true if a gatt_server is usable. If this method returns false,
// it is not safe to call any other method.
@@ -192,8 +192,11 @@ class GattClient final {
std::unique_ptr<api::ble_v2::GattClient> client_gatt_connection)
: impl_(std::move(client_gatt_connection)) {}
- bool DiscoverService(const Uuid& service_uuid) {
- return impl_->DiscoverService(service_uuid);
+ bool DiscoverServiceAndCharacteristics(
+ const Uuid& service_uuid,
+ const std::vector<Uuid>& characteristic_uuids) {
+ return impl_->DiscoverServiceAndCharacteristics(service_uuid,
+ characteristic_uuids);
}
// NOLINTNEXTLINE(google3-legacy-absl-backports)
diff --git a/chromium/third_party/nearby/src/internal/platform/ble_v2_test.cc b/chromium/third_party/nearby/src/internal/platform/ble_v2_test.cc
index 935a71ef356..9da17d90395 100644
--- a/chromium/third_party/nearby/src/internal/platform/ble_v2_test.cc
+++ b/chromium/third_party/nearby/src/internal/platform/ble_v2_test.cc
@@ -387,10 +387,10 @@ TEST_F(BleV2MediumTest, GattClientConnectToGattServerWorks) {
ASSERT_NE(gatt_client, nullptr);
- // Discover service.
- EXPECT_TRUE(gatt_client->DiscoverService(service_uuid));
+ // Discover service and characteristics.
+ EXPECT_TRUE(gatt_client->DiscoverServiceAndCharacteristics(
+ service_uuid, {characteristic_uuid}));
- // Discover characteristic.
// NOLINTNEXTLINE(google3-legacy-absl-backports)
absl::optional<GattCharacteristic> client_characteristic =
gatt_client->GetCharacteristic(service_uuid, characteristic_uuid);
diff --git a/chromium/third_party/nearby/src/internal/platform/bluetooth_adapter.h b/chromium/third_party/nearby/src/internal/platform/bluetooth_adapter.h
index 832f57fe503..6c2adcfd6cf 100644
--- a/chromium/third_party/nearby/src/internal/platform/bluetooth_adapter.h
+++ b/chromium/third_party/nearby/src/internal/platform/bluetooth_adapter.h
@@ -163,7 +163,18 @@ class BluetoothAdapter final {
std::string GetMacAddress() const { return impl_->GetMacAddress(); }
// https://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#setName(java.lang.String)
- bool SetName(absl::string_view name) { return impl_->SetName(name); }
+ bool SetName(absl::string_view name) {
+ // The name always persists resulting in not saving the current bluetooth
+ // radio name.
+ return impl_->SetName(name,
+ /* persist= */ true);
+ }
+
+ // If persist is set to true, we will not update the stored radio names.
+ // If persist is set to false, we will update the stored radio names.
+ bool SetName(absl::string_view name, bool persist) {
+ return impl_->SetName(name, persist);
+ }
bool IsValid() const { return impl_ != nullptr; }
diff --git a/chromium/third_party/nearby/src/internal/platform/bluetooth_adapter_test.cc b/chromium/third_party/nearby/src/internal/platform/bluetooth_adapter_test.cc
index 10f7160792d..3bbfe5d4592 100644
--- a/chromium/third_party/nearby/src/internal/platform/bluetooth_adapter_test.cc
+++ b/chromium/third_party/nearby/src/internal/platform/bluetooth_adapter_test.cc
@@ -33,7 +33,7 @@ constexpr absl::string_view kId = "AB12";
class BlePeripheralStub : public api::ble_v2::BlePeripheral {
public:
explicit BlePeripheralStub(absl::string_view mac_address) {
- mac_address_ = mac_address;
+ mac_address_ = std::string(mac_address);
}
std::string GetAddress() const override { return mac_address_; }
diff --git a/chromium/third_party/nearby/src/internal/platform/cancellation_flag.h b/chromium/third_party/nearby/src/internal/platform/cancellation_flag.h
index e861bfe0ab4..f7cc5a34c88 100644
--- a/chromium/third_party/nearby/src/internal/platform/cancellation_flag.h
+++ b/chromium/third_party/nearby/src/internal/platform/cancellation_flag.h
@@ -51,7 +51,7 @@ class CancellationFlag {
// The registration inserts the pointer of caller's listener callback into
// `listeners_`, a flat hash set which support the pointer type for hashing
// function. It conducts that 2 different pointers might point to the same
- // callback function which is unusal and should avoid. Hence we make it as
+ // callback function which is unusual and should avoid. Hence we make it as
// private and use `CancellationFlagListener` as a RAII to wrap the function.
// The caller should register listener as lambda or std::function
// via `CancellationFlagListener`.
diff --git a/chromium/third_party/nearby/src/internal/platform/credential_storage.cc b/chromium/third_party/nearby/src/internal/platform/credential_storage.cc
new file mode 100644
index 00000000000..e47341036b3
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/credential_storage.cc
@@ -0,0 +1,56 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/platform/credential_storage.h"
+
+namespace location {
+namespace nearby {
+
+using ::nearby::internal::PrivateCredential;
+using ::nearby::internal::PublicCredential;
+
+void CredentialStorage::SavePrivateCredentials(
+ std::string manager_app_id, absl::string_view account_name,
+ const std::vector<PrivateCredential>& private_credentials,
+ api::SaveCredentialsResultCallback callback) {
+ return impl_->SavePrivateCredentials(manager_app_id, account_name,
+ private_credentials, callback);
+}
+
+void CredentialStorage::SavePublicCredentials(
+ std::string manager_app_id, absl::string_view account_name,
+ const std::vector<PublicCredential>& public_credentials,
+ api::PublicCredentialType public_credential_type,
+ api::SaveCredentialsResultCallback callback) {
+ return impl_->SavePublicCredentials(manager_app_id, account_name,
+ public_credentials,
+ public_credential_type, callback);
+}
+
+void CredentialStorage::GetPrivateCredentials(
+ const api::CredentialSelector& credential_selector,
+ api::GetPrivateCredentialsResultCallback callback) {
+ return impl_->GetPrivateCredentials(credential_selector, callback);
+}
+
+void CredentialStorage::GetPublicCredentials(
+ const api::CredentialSelector& credential_selector,
+ api::PublicCredentialType public_credential_type,
+ api::GetPublicCredentialsResultCallback callback) {
+ return impl_->GetPublicCredentials(credential_selector,
+ public_credential_type, callback);
+}
+
+} // namespace nearby
+} // namespace location
diff --git a/chromium/third_party/nearby/src/internal/platform/credential_storage.h b/chromium/third_party/nearby/src/internal/platform/credential_storage.h
new file mode 100644
index 00000000000..4c0ef0f9ec9
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/credential_storage.h
@@ -0,0 +1,71 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_CREDENTIAL_STORAGE_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_CREDENTIAL_STORAGE_H_
+
+#include <memory>
+#include <string>
+#include <vector>
+
+#include "absl/strings/string_view.h"
+#include "internal/platform/implementation/credential_storage.h"
+
+namespace location {
+namespace nearby {
+
+/*
+ * The instance of CredentialStorage is owned by {@code CredentialManager}.
+ * It's a wrapper on top of implementation/credential_storage.h to providing
+ * credential storage operations for Nearby logic layer to invoke.
+ */
+class CredentialStorage final {
+ public:
+ CredentialStorage() = default;
+ ~CredentialStorage() = default;
+
+ // CredentialStorage class is movable but not copyable.
+ CredentialStorage(CredentialStorage&& other) = default;
+ CredentialStorage& operator=(CredentialStorage&& other) = default;
+
+ void SavePrivateCredentials(
+ std::string manager_app_id, absl::string_view account_name,
+ const std::vector<::nearby::internal::PrivateCredential>&
+ private_credentials,
+ api::SaveCredentialsResultCallback callback);
+
+ void SavePublicCredentials(
+ std::string manager_app_id, absl::string_view account_name,
+ const std::vector<::nearby::internal::PublicCredential>&
+ public_credentials,
+ api::PublicCredentialType public_credential_type,
+ api::SaveCredentialsResultCallback callback);
+
+ // Used to fetch private creds when broadcasting.
+ void GetPrivateCredentials(const api::CredentialSelector& credential_selector,
+ api::GetPrivateCredentialsResultCallback callback);
+
+ // Used to fetch remote public creds when scanning.
+ void GetPublicCredentials(const api::CredentialSelector& credential_selector,
+ api::PublicCredentialType public_credential_type,
+ api::GetPublicCredentialsResultCallback callback);
+
+ private:
+ std::unique_ptr<api::CredentialStorage> impl_;
+};
+
+} // namespace nearby
+} // namespace location
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_CREDENTIAL_STORAGE_H_
diff --git a/chromium/third_party/nearby/src/internal/platform/exception.h b/chromium/third_party/nearby/src/internal/platform/exception.h
index 4a3e12f7b92..dbed1ee1390 100644
--- a/chromium/third_party/nearby/src/internal/platform/exception.h
+++ b/chromium/third_party/nearby/src/internal/platform/exception.h
@@ -30,7 +30,7 @@ struct Exception {
kInterrupted = 2, // Operation was interrupted.
kInvalidProtocolBuffer = 3, // Couldn't parse.
kExecution = 4, // Couldn't execute.
- kTimeout = 5, // Operarion did not finish within specified time.
+ kTimeout = 5, // Operation did not finish within specified time.
kIllegalCharacters = 6, // File name or parent path contained
// illegal chars
};
@@ -79,7 +79,7 @@ class ExceptionOr {
: result_{result}, exception_{Exception::kSuccess} {} // NOLINT
ExceptionOr(Exception::Value exception) : exception_{exception} {} // NOLINT
ExceptionOr(Exception exception) : exception_{exception} {} // NOLINT
- // If there exists explicit conversion from from U to T,
+ // If there exists explicit conversion from U to T,
// then allow explicit conversion from ExceptionOr<U> to ExceptionOr<T>.
template <typename U, typename = absl::void_t<decltype(T{std::declval<U>()})>>
explicit ExceptionOr<T>(ExceptionOr<U> value) {
diff --git a/chromium/third_party/nearby/src/internal/platform/feature_flags.h b/chromium/third_party/nearby/src/internal/platform/feature_flags.h
index 661289bcf3f..384c8d79c76 100644
--- a/chromium/third_party/nearby/src/internal/platform/feature_flags.h
+++ b/chromium/third_party/nearby/src/internal/platform/feature_flags.h
@@ -67,7 +67,7 @@ class FeatureFlags {
private:
FeatureFlags() = default;
- // MediumEnvironment is testing uitl class. Use friend class here to enable
+ // MediumEnvironment is testing util class. Use friend class here to enable
// SetFlags for feature controlling need in test environment.
friend class MediumEnvironment;
void SetFlags(const Flags& flags) ABSL_LOCKS_EXCLUDED(mutex_) {
diff --git a/chromium/third_party/nearby/src/internal/platform/file.h b/chromium/third_party/nearby/src/internal/platform/file.h
index 93be7af34e4..7ba72233d4a 100644
--- a/chromium/third_party/nearby/src/internal/platform/file.h
+++ b/chromium/third_party/nearby/src/internal/platform/file.h
@@ -19,7 +19,6 @@
#include <memory>
#include <string>
-#include "connections/clients/windows/dll_config.h"
#include "internal/platform/byte_array.h"
#include "internal/platform/exception.h"
#include "internal/platform/implementation/input_file.h"
@@ -49,7 +48,7 @@ class InputFile final {
// Returns Exception::kIo on error, or end of file.
ExceptionOr<ByteArray> Read(std::int64_t size);
- // Returns a string that uniqely identifies this file.
+ // Returns a string that uniquely identifies this file.
std::string GetFilePath() const;
// Returns total size of this file in bytes.
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/BUILD b/chromium/third_party/nearby/src/internal/platform/implementation/BUILD
index 3b2d92e9c70..28950cb6115 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/BUILD
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/BUILD
@@ -39,9 +39,10 @@ cc_library(
visibility = [
"//internal/platform:__pkg__",
"//internal/platform/implementation:__subpackages__",
+ "//location/nearby/analytics/cpp:__subpackages__",
+ "//presence:__subpackages__",
],
deps = [
- "//connections/clients/windows:types",
"//internal/platform:base",
"@com_google_absl//absl/base:core_headers",
"@com_google_absl//absl/strings",
@@ -56,6 +57,7 @@ cc_library(
"ble_v2.h",
"bluetooth_adapter.h",
"bluetooth_classic.h",
+ "credential_storage.h",
"server_sync.h",
"wifi.h",
"wifi_hotspot.h",
@@ -66,17 +68,17 @@ cc_library(
"//connections/implementation:__subpackages__",
"//internal/platform:__pkg__",
"//internal/platform/implementation:__subpackages__",
+ "//presence:__pkg__",
+ "//presence/implementation:__pkg__",
],
deps = [
- "//connections/clients/windows:types",
"//connections/implementation/proto:offline_wire_formats_cc_proto",
"//internal/platform:base",
"//internal/platform:cancellation_flag",
"//internal/platform:uuid",
+ "//internal/proto:credential_cc_proto",
"@com_google_absl//absl/container:flat_hash_map",
- "@com_google_absl//absl/container:flat_hash_set",
"@com_google_absl//absl/strings",
- "@com_google_absl//absl/types:optional",
],
)
@@ -91,6 +93,7 @@ cc_library(
"//googlemac/iPhone/Shared/Nearby/Connections:__subpackages__",
"//internal/platform:__pkg__",
"//internal/platform/implementation:__subpackages__",
+ "//location/nearby/analytics/cpp:__subpackages__",
],
deps = [
":comm",
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ble_v2.h b/chromium/third_party/nearby/src/internal/platform/implementation/ble_v2.h
index bc1da958367..0393a0db0eb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ble_v2.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ble_v2.h
@@ -15,6 +15,7 @@
#ifndef PLATFORM_API_BLE_V2_H_
#define PLATFORM_API_BLE_V2_H_
+#include <algorithm>
#include <cstdint>
#include <functional>
#include <limits>
@@ -113,14 +114,24 @@ struct GattCharacteristic {
Uuid uuid;
Uuid service_uuid;
+ std::vector<Permission> permissions;
+ std::vector<Property> properties;
// Hashable
template <typename H>
friend H AbslHashValue(H h, const GattCharacteristic& s) {
- return H::combine(std::move(h), s.uuid, s.service_uuid);
+ return H::combine(std::move(h), s.uuid, s.service_uuid, s.permissions,
+ s.properties);
}
bool operator==(const GattCharacteristic& rhs) const {
- return this->uuid == rhs.uuid && this->service_uuid == rhs.service_uuid;
+ bool has_equal_permissions =
+ std::is_permutation(this->permissions.begin(), this->permissions.end(),
+ rhs.permissions.begin(), rhs.permissions.end());
+ bool has_equal_properties =
+ std::is_permutation(this->properties.begin(), this->properties.end(),
+ rhs.properties.begin(), rhs.properties.end());
+ return this->uuid == rhs.uuid && this->service_uuid == rhs.service_uuid &&
+ has_equal_permissions && has_equal_properties;
}
};
@@ -137,15 +148,17 @@ class GattClient {
// Returns whether or not discovery finished successfully.
//
// This function should block until discovery has finished.
- virtual bool DiscoverService(const Uuid& service_uuid) = 0;
+ virtual bool DiscoverServiceAndCharacteristics(
+ const Uuid& service_uuid,
+ const std::vector<Uuid>& characteristic_uuids) = 0;
// https://developer.android.com/reference/android/bluetooth/BluetoothGatt.html#getService(java.util.UUID)
// https://developer.android.com/reference/android/bluetooth/BluetoothGattService.html#getCharacteristic(java.util.UUID)
//
// Retrieves a GATT characteristic. On error, does not return a value.
//
- // DiscoverServices() should be called before this method to fetch all
- // available services and characteristics first.
+ // DiscoverServiceAndCharacteristics() should be called before this method to
+ // fetch all available services and characteristics first.
//
// It is okay for duplicate services to exist, as long as the specified
// characteristic UUID is unique among all services of the same UUID.
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/bluetooth_adapter.h b/chromium/third_party/nearby/src/internal/platform/implementation/bluetooth_adapter.h
index 4ca4022b0d8..476c7642819 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/bluetooth_adapter.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/bluetooth_adapter.h
@@ -63,6 +63,7 @@ class BluetoothAdapter {
virtual std::string GetName() const = 0;
// https://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#setName(java.lang.String)
virtual bool SetName(absl::string_view name) = 0;
+ virtual bool SetName(absl::string_view name, bool persist) = 0;
// Returns BT MAC address assigned to this adapter.
virtual std::string GetMacAddress() const = 0;
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/credential_storage.h b/chromium/third_party/nearby/src/internal/platform/implementation/credential_storage.h
new file mode 100644
index 00000000000..0d39c0e4194
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/credential_storage.h
@@ -0,0 +1,105 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_INTERNAL_PLATFORM_IMPLEMENTATION_CREDENTIAL_STORAGE_H_
+#define THIRD_PARTY_NEARBY_INTERNAL_PLATFORM_IMPLEMENTATION_CREDENTIAL_STORAGE_H_
+
+#include <functional>
+#include <set>
+#include <string>
+#include <vector>
+
+#include "absl/strings/string_view.h"
+#include "internal/platform/exception.h"
+#include "internal/proto/credential.pb.h"
+
+namespace location {
+namespace nearby {
+namespace api {
+
+enum class CredentialOperationStatus {
+ kUnknown = 0,
+ kFailed = 1,
+ kSucceeded = 2,
+};
+
+struct CredentialSelector {
+ std::string manager_app_id;
+ std::string account_name;
+ ::nearby::internal::IdentityType identity_type;
+};
+
+enum PublicCredentialType {
+ kLocalPublicCredential = 1,
+ kRemotePublicCredential = 2,
+};
+
+struct SaveCredentialsResultCallback {
+ std::function<void(CredentialOperationStatus)> credentials_saved_cb;
+};
+
+struct GetPrivateCredentialsResultCallback {
+ std::function<void(std::vector<::nearby::internal::PrivateCredential>)>
+ credentials_fetched_cb;
+ std::function<void(CredentialOperationStatus)> get_credentials_failed_cb;
+};
+
+struct GetPublicCredentialsResultCallback {
+ std::function<void(std::vector<::nearby::internal::PublicCredential>)>
+ credentials_fetched_cb;
+ std::function<void(CredentialOperationStatus)> get_credentials_failed_cb;
+};
+
+/*
+ * This class specifies the virtual functions for native platforms to implement.
+ */
+class CredentialStorage {
+ public:
+ CredentialStorage() = default;
+ virtual ~CredentialStorage() = default;
+ // Used for
+ // 1. Save private creds after (re)generate credentials invoked by manager app
+ // 2. Update remote public creds after manager app update the public creds.
+ // Skip the save/update if the provided vector is empty.
+ // Another way is to break this into two APIs for save and update separately.
+ virtual void SavePrivateCredentials(
+ std::string manager_app_id, absl::string_view account_name,
+ const std::vector<::nearby::internal::PrivateCredential>&
+ private_credentials,
+ SaveCredentialsResultCallback callback) = 0;
+
+ virtual void SavePublicCredentials(
+ std::string manager_app_id, absl::string_view account_name,
+ const std::vector<::nearby::internal::PublicCredential>&
+ public_credentials,
+ PublicCredentialType public_credential_type,
+ SaveCredentialsResultCallback callback) = 0;
+
+ // Used to fetch private creds when broadcasting.
+ virtual void GetPrivateCredentials(
+ const CredentialSelector& credential_selector,
+ GetPrivateCredentialsResultCallback callback) = 0;
+
+ // Used to fetch remote public creds when scanning.
+ virtual void GetPublicCredentials(
+ const CredentialSelector& credential_selector,
+ PublicCredentialType public_credential_type,
+ GetPublicCredentialsResultCallback callback) = 0;
+};
+
+} // namespace api
+} // namespace nearby
+} // namespace location
+
+#endif // THIRD_PARTY_NEARBY_INTERNAL_PLATFORM_IMPLEMENTATION_CREDENTIAL_STORAGE_H_
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/g3/BUILD b/chromium/third_party/nearby/src/internal/platform/implementation/g3/BUILD
index ea1486cc98a..70048f2bef0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/g3/BUILD
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/g3/BUILD
@@ -112,14 +112,17 @@ cc_library(
visibility = [
"//connections:__subpackages__",
"//internal/analytics:__subpackages__",
+ "//internal/crypto:__subpackages__",
"//internal/platform:__subpackages__",
"//internal/proto/analytics:__subpackages__",
"//location/nearby/cpp/sharing:__subpackages__",
+ "//presence:__subpackages__",
],
deps = [
":comm",
":crypto", # build_cleaner: keep
":types",
+ "//file/base:path",
"//internal/platform:test_util",
"//internal/platform/implementation:comm",
"//internal/platform/implementation:platform",
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/g3/ble_v2.cc b/chromium/third_party/nearby/src/internal/platform/implementation/g3/ble_v2.cc
index 8782dbc8339..2add49bfa23 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/g3/ble_v2.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/g3/ble_v2.cc
@@ -306,17 +306,18 @@ void BleV2Medium::GattServer::Stop() {
MediumEnvironment::Instance().ClearBleV2MediumGattCharacteristics();
}
-bool BleV2Medium::GattClient::DiscoverService(const Uuid& service_uuid) {
+bool BleV2Medium::GattClient::DiscoverServiceAndCharacteristics(
+ const Uuid& service_uuid, const std::vector<Uuid>& characteristic_uuids) {
absl::MutexLock lock(&mutex_);
- NEARBY_LOGS(INFO) << "G3 Ble GattClient DiscoverService, service_uuid="
- << service_uuid.Get16BitAsString();
+ NEARBY_LOGS(INFO)
+ << "G3 Ble GattClient DiscoverServiceAndCharacteristics, service_uuid="
+ << service_uuid.Get16BitAsString();
if (!is_connection_alive_) {
return false;
}
- // Search if the service exists.
- return MediumEnvironment::Instance().ContainsBleV2MediumGattCharacteristics(
- service_uuid, /*characteristic_uuid=*/{});
+ return MediumEnvironment::Instance().DiscoverBleV2MediumGattCharacteristics(
+ service_uuid, characteristic_uuids);
}
std::optional<api::ble_v2::GattCharacteristic>
@@ -331,13 +332,20 @@ BleV2Medium::GattClient::GetCharacteristic(const Uuid& service_uuid,
return std::nullopt;
}
- // Search gatt_characteristic by uuid and if found return the
- // gatt_characteristic.
- api::ble_v2::GattCharacteristic characteristic;
- if (MediumEnvironment::Instance().ContainsBleV2MediumGattCharacteristics(
- service_uuid, characteristic_uuid)) {
- characteristic = {.uuid = characteristic_uuid,
- .service_uuid = service_uuid};
+ // clang-format off
+ api::ble_v2::GattCharacteristic characteristic = {
+ .uuid = characteristic_uuid,
+ .service_uuid = service_uuid};
+ // clang-format on
+ ByteArray value =
+ MediumEnvironment::Instance().ReadBleV2MediumGattCharacteristics(
+ characteristic);
+ if (value.Empty()) {
+ NEARBY_LOGS(WARNING)
+ << "G3 Ble GattClient GetCharacteristic, can't find characteristic=("
+ << characteristic.service_uuid.Get16BitAsString() << ","
+ << std::string(characteristic.uuid) << ")";
+ return std::nullopt;
}
NEARBY_LOGS(INFO)
<< "G3 Ble GattClient GetCharacteristic, found characteristic=("
@@ -375,6 +383,8 @@ void BleV2Medium::GattClient::Disconnect() {
absl::MutexLock lock(&mutex_);
NEARBY_LOGS(INFO) << "G3 Ble GattClient Disconnect";
is_connection_alive_ = false;
+ MediumEnvironment::Instance()
+ .ClearBleV2MediumGattCharacteristicsForDiscovery();
}
std::unique_ptr<api::ble_v2::BleServerSocket> BleV2Medium::OpenServerSocket(
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/g3/ble_v2.h b/chromium/third_party/nearby/src/internal/platform/implementation/g3/ble_v2.h
index 9def4a74dfc..0c692f93c1f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/g3/ble_v2.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/g3/ble_v2.h
@@ -196,7 +196,7 @@ class BleV2Medium : public api::ble_v2::BleMedium {
BluetoothAdapter& GetAdapter() { return *adapter_; }
private:
- // A concrete implemenation for GattServer.
+ // A concrete implementation for GattServer.
class GattServer : public api::ble_v2::GattServer {
public:
std::optional<api::ble_v2::GattCharacteristic> CreateCharacteristic(
@@ -213,10 +213,12 @@ class BleV2Medium : public api::ble_v2::BleMedium {
void Stop() override;
};
- // A concrete implemenation for GattClient.
+ // A concrete implementation for GattClient.
class GattClient : public api::ble_v2::GattClient {
public:
- bool DiscoverService(const Uuid& service_uuid) override;
+ bool DiscoverServiceAndCharacteristics(
+ const Uuid& service_uuid,
+ const std::vector<Uuid>& characteristic_uuids) override;
std::optional<api::ble_v2::GattCharacteristic> GetCharacteristic(
const Uuid& service_uuid, const Uuid& characteristic_uuid) override;
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/g3/bluetooth_adapter.cc b/chromium/third_party/nearby/src/internal/platform/implementation/g3/bluetooth_adapter.cc
index c9f7fb3a83e..5ff388f3b1d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/g3/bluetooth_adapter.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/g3/bluetooth_adapter.cc
@@ -129,6 +129,12 @@ std::string BluetoothAdapter::GetName() const {
}
bool BluetoothAdapter::SetName(absl::string_view name) {
+ return SetName(name,
+ /* persist= */ true);
+}
+
+bool BluetoothAdapter::SetName(absl::string_view name,
+ bool persist /*unused*/) {
BluetoothAdapter::ScanMode mode;
bool enabled;
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/g3/bluetooth_adapter.h b/chromium/third_party/nearby/src/internal/platform/implementation/g3/bluetooth_adapter.h
index 3bc3832e96d..f9f7a0a7bce 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/g3/bluetooth_adapter.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/g3/bluetooth_adapter.h
@@ -120,7 +120,9 @@ class BluetoothAdapter : public api::BluetoothAdapter {
std::string GetName() const override ABSL_LOCKS_EXCLUDED(mutex_);
// https://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#setName(java.lang.String)
- bool SetName(absl::string_view name) override ABSL_LOCKS_EXCLUDED(mutex_);
+ bool SetName(absl::string_view) override ABSL_LOCKS_EXCLUDED(mutex_);
+ bool SetName(absl::string_view name, bool persist) override
+ ABSL_LOCKS_EXCLUDED(mutex_);
// Returns BT MAC address assigned to this adapter.
std::string GetMacAddress() const override { return mac_address_; }
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/g3/crypto.cc b/chromium/third_party/nearby/src/internal/platform/implementation/g3/crypto.cc
index fdad337ea53..40b079562e0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/g3/crypto.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/g3/crypto.cc
@@ -19,7 +19,7 @@
#include "absl/strings/string_view.h"
#include "internal/platform/byte_array.h"
-#include "src/include/openssl/digest.h"
+#include <openssl/digest.h>
namespace location {
namespace nearby {
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/g3/platform.cc b/chromium/third_party/nearby/src/internal/platform/implementation/g3/platform.cc
index 5b31646990b..10a9e767338 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/g3/platform.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/g3/platform.cc
@@ -18,6 +18,7 @@
#include <cstdint>
#include <memory>
+#include "file/base/path.h"
#include "absl/memory/memory.h"
#include "absl/strings/str_cat.h"
#include "absl/time/time.h"
@@ -60,50 +61,9 @@ namespace api {
std::string ImplementationPlatform::GetDownloadPath(std::string& parent_folder,
std::string& file_name) {
- std::string fullPath("/tmp/");
+ std::string fullPath("/tmp");
- // If parent_folder starts with a \\ or /, then strip it
- while (!parent_folder.empty() &&
- (*parent_folder.begin() == '\\' || *parent_folder.begin() == '/')) {
- parent_folder.erase(0, 1);
- }
-
- // If parent_folder ends with a \\ or /, then strip it
- while (!parent_folder.empty() &&
- (*parent_folder.rbegin() == '\\' || *parent_folder.rbegin() == '/')) {
- parent_folder.erase(parent_folder.size() - 1);
- }
-
- // If file_name starts with a \\, then strip it
- while (!file_name.empty() &&
- (*file_name.begin() == '\\' || *file_name.begin() == '/')) {
- file_name.erase(0, 1);
- }
-
- // If file_name ends with a \\, then strip it
- while (!file_name.empty() &&
- (*file_name.rbegin() == '\\' || *file_name.rbegin() == '/')) {
- file_name.erase(file_name.size() - 1);
- }
-
- std::stringstream path;
-
- if (parent_folder.empty() && file_name.empty()) {
- path << fullPath.c_str();
- return path.str();
- }
- if (parent_folder.empty()) {
- path << fullPath.c_str() << "\\" << file_name.c_str();
- return path.str();
- }
- if (file_name.empty()) {
- path << fullPath.c_str() << "\\" << parent_folder.c_str();
- return path.str();
- }
-
- path << fullPath.c_str() << "\\" << parent_folder.c_str() << "\\"
- << file_name.c_str();
- return path.str();
+ return file::JoinPath("/tmp", file_name);
}
OSName ImplementationPlatform::GetCurrentOS() { return OSName::kLinux; }
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/g3/wifi_lan.h b/chromium/third_party/nearby/src/internal/platform/implementation/g3/wifi_lan.h
index 870eb25e2cf..8b560f80c35 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/g3/wifi_lan.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/g3/wifi_lan.h
@@ -170,6 +170,9 @@ class WifiLanMedium : public api::WifiLanMedium {
WifiLanMedium();
~WifiLanMedium() override;
+ // Check if a network connection to a primary router exist.
+ bool IsNetworkConnected() const override { return true; }
+
// Starts WifiLan advertising.
//
// nsd_service_info - NsdServiceInfo data that's advertised through mDNS
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/BUILD b/chromium/third_party/nearby/src/internal/platform/implementation/ios/BUILD
index 8d2f4a5bcbe..910ddc319c5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/BUILD
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/BUILD
@@ -15,6 +15,7 @@ licenses(["notice"])
package(default_visibility = [
"//connections/clients/ios:__subpackages__",
+ "//connections/clients/swift:__subpackages__",
"//internal/platform/implementation/ios:__subpackages__",
])
@@ -42,13 +43,12 @@ objc_library(
"wifi_lan.h",
],
features = ["-layering_check"],
- sdk_frameworks = [
- "CoreBluetooth",
- "CoreFoundation",
- ],
deps = [
":Platform_cc",
":Shared",
+ "//third_party/apple_frameworks:CoreBluetooth",
+ "//third_party/apple_frameworks:CoreFoundation",
+ "//third_party/apple_frameworks:Foundation",
"//internal/platform/implementation:platform",
"//internal/platform/implementation:types",
"//internal/platform/implementation/ios/Mediums",
@@ -66,7 +66,7 @@ objc_library(
"GNCUtils.h",
],
deps = [
- "//third_party/objective_c/google_toolbox_for_mac:GTM_StringEncoding",
+ "//third_party/apple_frameworks:Foundation",
"@aappleby_smhasher//:libmurmur3",
],
)
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/BUILD b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/BUILD
index 435773a4bef..1fb35173f46 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/BUILD
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/BUILD
@@ -1,5 +1,3 @@
-load("//tools/build_defs/apple:objc.bzl", "objc_proto_library")
-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
@@ -21,7 +19,9 @@ objc_library(
name = "Mediums",
srcs = [
"Ble/GNCMBleCentral.m",
+ "Ble/GNCMBleConnection.m",
"Ble/GNCMBlePeripheral.m",
+ "Ble/GNCMBleUtils.mm",
"GNCLeaks.m",
"GNCMConnection.m",
"WifiLan/GNCMBonjourBrowser.m",
@@ -31,7 +31,9 @@ objc_library(
],
hdrs = [
"Ble/GNCMBleCentral.h",
+ "Ble/GNCMBleConnection.h",
"Ble/GNCMBlePeripheral.h",
+ "Ble/GNCMBleUtils.h",
"GNCLeaks.h",
"GNCMConnection.h",
"WifiLan/GNCMBonjourBrowser.h",
@@ -40,21 +42,14 @@ objc_library(
"WifiLan/GNCMBonjourUtils.h",
],
deps = [
- ":ObjCProtos",
+ "//third_party/apple_frameworks:CoreBluetooth",
+ "//third_party/apple_frameworks:Foundation",
"//internal/platform/implementation/ios:Shared",
+ "//internal/platform/implementation/ios/Mediums/Ble/Sockets:Central",
+ "//internal/platform/implementation/ios/Mediums/Ble/Sockets:Peripheral",
+ "//internal/platform/implementation/ios/Mediums/Ble/Sockets:Shared",
+ "//proto/mediums:ble_frames_cc_proto",
"//third_party/objective_c/google_toolbox_for_mac:GTM_Logger",
"@com_google_absl//absl/numeric:int128",
],
)
-
-objc_proto_library(
- name = "ObjCProtos",
- deps = [":Protos"],
-)
-
-proto_library(
- name = "Protos",
- deps = [
- "//connections/implementation/proto:offline_wire_formats_proto",
- ],
-)
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleCentral.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleCentral.h
index 8d87ec92fd6..e40b783f84a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleCentral.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleCentral.h
@@ -12,16 +12,43 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#import <CoreBluetooth/CoreBluetooth.h>
+
#import "internal/platform/implementation/ios/Mediums/GNCMConnection.h"
-#import <Foundation/Foundation.h>
+@class CBUUID;
NS_ASSUME_NONNULL_BEGIN
/**
* This handler is called on a discover when a nearby advertising endpoint is discovered.
*/
-typedef void (^GNCMScanResultHandler)(NSString *serviceUUID, NSData *serviceData);
+typedef void (^GNCMScanResultHandler)(NSString *peripheralID, NSData *serviceData);
+
+/**
+ * This handler is called on a discovery when a nearby advertising endpoint is connected.
+ */
+typedef void (^GNCMGATTConnectionResultHandler)(NSError *_Nullable error);
+
+/**
+ * This handler is called on a discovery when a nearby advertising endpoint is connected. The input
+ * is a discovered set of characteristics.
+ */
+typedef void (^GNCMGATTDiscoverResultHandler)(
+ NSOrderedSet<CBCharacteristic *> *_Nullable characteristicValues);
+
+/**
+ * This handler is called by a discovering endpoint to request a connection with an an advertising
+ * endpoint.
+ */
+typedef void (^GNCMBleConnectionRequester)(NSString *serviceID,
+ GNCMConnectionHandler connectionHandler);
+
+/**
+ * This handler is called on a discoverer when a nearby advertising endpoint is discovered.
+ * Call |requestConnection| to request a connection with the advertiser.
+ */
+typedef void (^GNCMBleRequestConnectionHandler)(GNCMBleConnectionRequester requestConnection);
/**
* GNCMBleCentral discovers devices advertising the specified service UUID via BLE (using the
@@ -33,18 +60,54 @@ typedef void (^GNCMScanResultHandler)(NSString *serviceUUID, NSData *serviceData
*/
@interface GNCMBleCentral : NSObject
-- (instancetype)init NS_UNAVAILABLE;
+- (instancetype)init NS_DESIGNATED_INITIALIZER;
/**
- * Initializes an `GNCMBleCentral` object.
+ * Starts scanning with service UUID.
*
* @param serviceUUID A string that uniquely identifies the scanning services to search for.
* @param scanResultHandler The handler that is called when an endpoint advertising the service
* UUID is discovered.
+ * @param requestConnectionHandler The handler that is called when an endpoint is discovered.
+ * @param callbackQueue The queue on which all callbacks are made.
+ */
+- (BOOL)startScanningWithServiceUUID:(NSString *)serviceUUID
+ scanResultHandler:(GNCMScanResultHandler)scanResultHandler
+ requestConnectionHandler:(GNCMBleRequestConnectionHandler)requestConnectionHandler
+ callbackQueue:(nullable dispatch_queue_t)callbackQueue;
+
+/**
+ * Sets up a GATT connection.
+ *
+ * @param peripheralID A string that uniquely identifies the peripheral.
+ * @param gattConnectionResultHandler The handler that is called when an endpoint is
+ * connected.
+ */
+- (void)connectGattServerWithPeripheralID:(NSString *)peripheralID
+ gattConnectionResultHandler:
+ (GNCMGATTConnectionResultHandler)gattConnectionResultHandler;
+
+/**
+ * Discovers GATT service and its associated characteristics with values.
+ *
+ * @param serviceUUID A CBUUID for service to discover.
+ * @param gattCharacteristics Array of CBUUID for characteristic to discover.
+ * @param peripheralID A string that uniquely identifies the peripheral.
+ * @param gattDiscoverResultHandler This handler is called on a discovery for a discovered map of
+ * characteristic values when a nearby advertising endpoint is
+ * connected.
+ */
+- (void)discoverGattService:(CBUUID *)serviceUUID
+ gattCharacteristics:(NSArray<CBUUID *> *)characteristicUUIDs
+ peripheralID:(NSString *)peripheralID
+ gattDiscoverResultHandler:(GNCMGATTDiscoverResultHandler)gattDiscoverResultHandler;
+
+/**
+ * Disconnects GATT connection.
+ *
+ * @param peripheralID A string that uniquely identifies the peripheral.
*/
-- (instancetype)initWithServiceUUID:(NSString *)serviceUUID
- scanResultHandler:(GNCMScanResultHandler)scanResultHandler
- NS_DESIGNATED_INITIALIZER;
+- (void)disconnectGattServiceWithPeripheralID:(NSString *)peripheralID;
@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleCentral.m b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleCentral.m
index 5feb359806f..2148a45fddf 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleCentral.m
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleCentral.m
@@ -14,13 +14,71 @@
#import "internal/platform/implementation/ios/Mediums/Ble/GNCMBleCentral.h"
-#include <CoreBluetooth/CoreBluetooth.h>
-
+#import "internal/platform/implementation/ios/Mediums/Ble/GNCMBleConnection.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/GNCMBleUtils.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager.h"
#import "internal/platform/implementation/ios/Mediums/GNCMConnection.h"
NS_ASSUME_NONNULL_BEGIN
-@interface GNCMBleCentral () <CBCentralManagerDelegate, CBPeripheralDelegate>
+typedef NS_ENUM(NSUInteger, GNCMCentralState) {
+ GNCMCentralStateStopped,
+ GNCMCentralStateScanning,
+};
+
+typedef void (^GNCMBleCharacteristicsHandler)(NSArray<CBCharacteristic *> *characteristics,
+ NSError *error);
+typedef void (^GNCMBleCharacteristicValueHandler)(CBCharacteristic *characteristic, NSError *error);
+typedef void (^GNCIntHandler)(int);
+
+/** This lets a GNCIntHandler call itself. */
+GNCIntHandler GNCRecursiveIntHandler(void (^block)(GNCIntHandler blockSelf, int i)) {
+ return ^(int i) {
+ return block(GNCRecursiveIntHandler(block), i);
+ };
+}
+
+/** This represents a discovered peripheral. */
+@interface GNCMPeripheralInfo : NSObject
+@property(nonatomic) CBPeripheral *peripheral;
+@property(nonatomic, copy) NSDictionary<NSString *, id> *advertisementData;
+
+/** Called when characteristics are discovered. */
+@property(nonatomic, nullable) GNCMBleCharacteristicsHandler charsHandler;
+
+/** Called when a characteristic value is read. */
+@property(nonatomic, nullable) GNCMBleCharacteristicValueHandler charValueHandler;
+
+@end
+
+@implementation GNCMPeripheralInfo
+
+- (instancetype)initWithPeripheral:(CBPeripheral *)peripheral
+ advertisementData:(NSDictionary<NSString *, id> *)advertisementData {
+ self = [super init];
+ if (self) {
+ _peripheral = peripheral;
+ _advertisementData = [advertisementData copy];
+ }
+ return self;
+}
+
+- (BOOL)isEqual:(id)object {
+ // There is always exactly one info object per peripheral, so compare by identity. This is needed
+ // for maintenance of the peripherals stored in multiple maps.
+ return self == object;
+}
+
+- (NSUInteger)hash {
+ return (NSUInteger)self;
+}
+
+@end
+
+@interface GNCMBleCentral () <CBCentralManagerDelegate,
+ CBPeripheralDelegate,
+ GNSCentralManagerDelegate>
@end
@implementation GNCMBleCentral {
@@ -32,22 +90,40 @@ NS_ASSUME_NONNULL_BEGIN
CBCentralManager *_centralManager;
/** Serial background queue for |centralManager|. */
dispatch_queue_t _selfQueue;
+ /** Central state for stop or scanning. */
+ GNCMCentralState _centralState;
+ /** The dictionary keyed by CBPeripheral identifier to value GNCMPeripheralInfo. */
+ NSMutableDictionary<NSUUID *, GNCMPeripheralInfo *> *_nearbyPeripheralsByID;
+ /** Array of characteristic UUID used for discovering. */
+ NSArray<CBUUID *> *_characteristicUUIDs;
+ /** GATT connection result handler. */
+ GNCMGATTConnectionResultHandler _gattConnectionResultHandler;
+ /** GATT service and characteristic discovery result hanadler. */
+ GNCMGATTDiscoverResultHandler _gattDiscoverResultHandler;
+ /** The discovered characteristic values map used to callback for `_gattDiscoverResultHandler`. */
+ NSMutableOrderedSet<CBCharacteristic *> *_gattCharacteristicValues;
+ /** Central manager used for socket connection based on weave protocol. */
+ GNSCentralManager *_socketCentralManager;
+ /** A callback handler to reuqest connection on the discovered advertiser. */
+ GNCMBleRequestConnectionHandler _requestConnectionHandler;
+ /** Client callback queue. If client doesn't assign it, then use main queue. */
+ dispatch_queue_t _clientCallbackQueue;
+ /** Internal async priority queue. */
+ dispatch_queue_t _internalCallbackQueue;
+ /** Flag to disable callback for dealloc. */
+ BOOL _callbacksEnabled;
}
-- (instancetype)initWithServiceUUID:(NSString *)serviceUUID
- scanResultHandler:(GNCMScanResultHandler)scanResultHandler {
- self = [super init];
- if (self) {
- _serviceUUID = [CBUUID UUIDWithString:serviceUUID];
- _scanResultHandler = scanResultHandler;
-
+- (instancetype)init {
+ if (self = [super init]) {
// To make this class thread-safe, use a serial queue for all state changes, and have Core
// Bluetooth also use this queue.
_selfQueue = dispatch_queue_create("GNCCentralManagerQueue", DISPATCH_QUEUE_SERIAL);
- _centralManager = [[CBCentralManager alloc]
- initWithDelegate:self
- queue:_selfQueue
- options:@{CBCentralManagerOptionShowPowerAlertKey : @NO}];
+
+ _nearbyPeripheralsByID = [NSMutableDictionary dictionary];
+ _gattCharacteristicValues = [[NSMutableOrderedSet alloc] init];
+
+ _centralState = GNCMCentralStateStopped;
}
return self;
}
@@ -57,24 +133,378 @@ NS_ASSUME_NONNULL_BEGIN
// dispatch_sync. This means dealloc must be called from an external queue, which means |self|
// must never be captured by any escaping block used in this class.
dispatch_sync(_selfQueue, ^{
- [_centralManager stopScan];
+ [self stopScanningInternal];
+ [_socketCentralManager stopNoScanMode];
+
+ _callbacksEnabled = NO;
+ });
+}
+
+- (BOOL)startScanningWithServiceUUID:(NSString *)serviceUUID
+ scanResultHandler:(GNCMScanResultHandler)scanResultHandler
+ requestConnectionHandler:(GNCMBleRequestConnectionHandler)requestConnectionHandler
+ callbackQueue:(nullable dispatch_queue_t)callbackQueue {
+ NSLog(@"[NEARBY] Client rquests startScanning");
+ _serviceUUID = [CBUUID UUIDWithString:serviceUUID];
+ _scanResultHandler = scanResultHandler;
+ _requestConnectionHandler = requestConnectionHandler;
+
+ // The client may be using the callback queue for other purposes, so wrap it with a private
+ // queue to know with certainty when all callbacks are done.
+ _clientCallbackQueue = callbackQueue ?: dispatch_get_main_queue();
+ _internalCallbackQueue =
+ dispatch_queue_create("GNCMBleCentralCallbackQueue", DISPATCH_QUEUE_PRIORITY_DEFAULT);
+ _callbacksEnabled = YES;
+
+ // Set up the central manager for scanning.
+ _centralManager =
+ [[CBCentralManager alloc] initWithDelegate:self
+ queue:_selfQueue
+ options:@{CBCentralManagerOptionShowPowerAlertKey : @NO}];
+
+ // Set up the central manager for the socket.
+ _socketCentralManager = [[GNSCentralManager alloc] initWithSocketServiceUUID:_serviceUUID
+ queue:_selfQueue];
+ _socketCentralManager.delegate = self;
+ [_socketCentralManager startNoScanModeWithAdvertisedServiceUUIDs:@[ _serviceUUID ]];
+
+ _centralState = GNCMCentralStateScanning;
+ return YES;
+}
+
+- (void)connectGattServerWithPeripheralID:(NSString *)peripheralID
+ gattConnectionResultHandler:
+ (GNCMGATTConnectionResultHandler)gattConnectionResultHandler {
+ _gattConnectionResultHandler = gattConnectionResultHandler;
+ dispatch_sync(_selfQueue, ^{
+ GNCMPeripheralInfo *peripheralInfo =
+ _nearbyPeripheralsByID[[[NSUUID alloc] initWithUUIDString:peripheralID]];
+ if (!peripheralInfo) return;
+ [_centralManager connectPeripheral:peripheralInfo.peripheral options:nil];
+ });
+}
+
+- (void)discoverGattService:(CBUUID *)serviceUUID
+ gattCharacteristics:(NSArray<CBUUID *> *)characteristicUUIDs
+ peripheralID:(NSString *)peripheralID
+ gattDiscoverResultHandler:(GNCMGATTDiscoverResultHandler)gattDiscoverResultHandler {
+ _gattDiscoverResultHandler = gattDiscoverResultHandler;
+ [_gattCharacteristicValues removeAllObjects];
+ dispatch_sync(_selfQueue, ^{
+ GNCMPeripheralInfo *peripheralInfo =
+ _nearbyPeripheralsByID[[[NSUUID alloc] initWithUUIDString:peripheralID]];
+ if (!peripheralInfo) return;
+ _characteristicUUIDs = [characteristicUUIDs copy];
+
+ // Start to discover service and the delegate will get its characteristics and read their values
+ // recursively
+ [peripheralInfo.peripheral discoverServices:@[ serviceUUID ]];
+ });
+}
+
+- (void)disconnectGattServiceWithPeripheralID:(NSString *)peripheralID {
+ dispatch_sync(_selfQueue, ^{
+ GNCMPeripheralInfo *peripheralInfo =
+ _nearbyPeripheralsByID[[[NSUUID alloc] initWithUUIDString:peripheralID]];
+ if (!peripheralInfo) return;
+ _gattConnectionResultHandler = nil;
+ _gattDiscoverResultHandler = nil;
+ [_centralManager cancelPeripheralConnection:peripheralInfo.peripheral];
});
}
#pragma mark CBCentralManagerDelegate
- (void)centralManagerDidUpdateState:(CBCentralManager *)central {
- if (central.state == CBManagerStatePoweredOn) {
+ if (central.state == CBManagerStatePoweredOn && !central.isScanning &&
+ _centralState == GNCMCentralStateScanning) {
NSLog(@"[NEARBY] CBCentralManager powered on; starting scan");
+ [self startScanningInternal];
+ } else {
+ NSLog(@"[NEARBY] CBCentralManager not powered on; stopping scan");
+ [self stopScanningInternal];
+ }
+}
+
+- (void)centralManager:(CBCentralManager *)central
+ didDiscoverPeripheral:(CBPeripheral *)peripheral
+ advertisementData:(NSDictionary<NSString *, id> *)advertisementData
+ RSSI:(NSNumber *)RSSI {
+ NSNumber *connectable = advertisementData[CBAdvertisementDataIsConnectable];
+ if (![connectable boolValue]) return;
+
+ // Look for the NC advertisement header in either the service data (from non-iOS) or the
+ // advertised name (from iOS).
+ NSData *serviceData = advertisementData[CBAdvertisementDataServiceDataKey][_serviceUUID]
+ ?: advertisementData[CBAdvertisementDataLocalNameKey];
+
+ // Try to look up the peripheral by ID.
+ GNCMPeripheralInfo *info = _nearbyPeripheralsByID[peripheral.identifier];
+ if (!info) {
+ NSLog(@"[NEARBY] New peripheral: %@", peripheral);
+ // This is a new peripheral, so create a new peripheral info object.
+ info = [[GNCMPeripheralInfo alloc] initWithPeripheral:peripheral
+ advertisementData:advertisementData];
+ } else {
+ info.peripheral = peripheral;
+ }
+
+ _nearbyPeripheralsByID[peripheral.identifier] = info;
+ _scanResultHandler(peripheral.identifier.UUIDString, serviceData);
+}
+
+- (void)centralManager:(CBCentralManager *)central didConnectPeripheral:(CBPeripheral *)peripheral {
+ NSLog(@"[NEARBY] Connected to peripheral: %@", peripheral);
+ peripheral.delegate = self;
+ // Tell the caller the connection is done.
+ _gattConnectionResultHandler(nil);
+}
+
+- (void)centralManager:(CBCentralManager *)central
+ didFailToConnectPeripheral:(CBPeripheral *)peripheral
+ error:(nullable NSError *)error {
+ NSLog(@"[NEARBY] Failed to connect to peripheral: %@, error: %@", peripheral, error);
+ // Tell the caller the connection failed.
+ _gattConnectionResultHandler(error);
+}
+
+- (void)centralManager:(CBCentralManager *)central
+ didDisconnectPeripheral:(CBPeripheral *)peripheral
+ error:(nullable NSError *)error {
+ NSLog(@"[NEARBY] Disconnected to peripheral: %@, error: %@", peripheral, error);
+}
+
+#pragma mark CBPeripheralDelegate
+
+- (void)peripheral:(CBPeripheral *)peripheral didDiscoverServices:(nullable NSError *)error {
+ GNCMPeripheralInfo *peripheralInfo = _nearbyPeripheralsByID[peripheral.identifier];
+ if (!peripheralInfo) return;
+ if (error || (peripheral.services.count == 0)) {
+ NSLog(@"[NEARBY] Error reading advertisement: unable to discover services.");
+ _gattDiscoverResultHandler(nil);
+ } else {
+ NSLog(@"[NEARBY] Discovered services for %@: %@", peripheral.name, peripheral.services);
+
+ // Helper functions for discovering characteristics and reading their values.
+ void (^discoverChars)(CBService *, GNCMBleCharacteristicsHandler) =
+ ^(CBService *service, GNCMBleCharacteristicsHandler handler) {
+ NSAssert(!peripheralInfo.charsHandler, @"Unexpected characteristic handler");
+ peripheralInfo.charsHandler = handler;
+
+ // Discover all characteristics that may contain the advertisement.
+ [peripheral discoverCharacteristics:_characteristicUUIDs forService:service];
+ };
+ void (^readCharValue)(CBCharacteristic *, GNCMBleCharacteristicValueHandler) =
+ ^(CBCharacteristic *characteristic, GNCMBleCharacteristicValueHandler handler) {
+ NSAssert(!peripheralInfo.charValueHandler, @"Unexpected characteristic value handler");
+ peripheralInfo.charValueHandler = handler;
+ [peripheral readValueForCharacteristic:characteristic];
+ };
+
+ // Multiple services may have the same UUID, so find the right service by searching for the
+ // characteristic containing the advertisement with a matching service ID hash.
+ __weak __typeof__(self) weakSelf = self;
+ void (^tryService)(int) = GNCRecursiveIntHandler(^(GNCIntHandler tryService, int serviceIndex) {
+ __strong __typeof__(self) strongSelf = weakSelf;
+ if (!strongSelf) return;
+
+ // We've tried all the services, report the discovered characteristics and their values.
+ if (serviceIndex == peripheral.services.count) {
+ NSLog(@"[NEARBY] Done traversing all services or no services to traverse.");
+ _gattDiscoverResultHandler(_gattCharacteristicValues);
+ if (_gattCharacteristicValues.count > 0) {
+ CBCharacteristic *characteristic = [_gattCharacteristicValues objectAtIndex:0];
+ [strongSelf completeGATTReadWithData:characteristic.value
+ forPeripheralInfo:peripheralInfo];
+ }
+ return;
+ }
+
+ NSLog(@"[NEARBY] Trying service: %@", peripheral.services[serviceIndex]);
+ discoverChars(
+ peripheral.services[serviceIndex], ^(NSArray<CBCharacteristic *> *chars, NSError *error) {
+ void (^tryNextService)() = ^{
+ tryService(serviceIndex + 1);
+ };
+
+ // If there was an error or there are no characteristics on this service, try next one.
+ if (error || (chars.count == 0)) {
+ tryNextService();
+ return;
+ }
+
+ // Read each characteristic.
+ void (^tryChar)(int) = GNCRecursiveIntHandler(^(GNCIntHandler tryChar, int charIndex) {
+ // We've tried all characteristics on this service without error, try next service.
+ if (charIndex == chars.count) {
+ NSLog(@"[NEARBY] No matching advertisement found");
+ tryNextService();
+ return;
+ }
+
+ NSLog(@"[NEARBY] Trying characteristic: %@", chars[charIndex]);
+ readCharValue(chars[charIndex], ^(CBCharacteristic *characteristic, NSError *error) {
+ if (error) {
+ tryNextService();
+ } else {
+ // We've found the characteristic and its non-nil value. Store it.
+ if (characteristic.value.length != 0) {
+ [_gattCharacteristicValues addObject:characteristic];
+ }
+ tryChar(charIndex + 1);
+ }
+ });
+ });
+
+ // Start searching the characteristics for the current service.
+ tryChar(0);
+ });
+ });
+
+ // Start searching the services.
+ tryService(0);
+ }
+}
+
+- (void)peripheral:(CBPeripheral *)peripheral
+ didDiscoverCharacteristicsForService:(CBService *)service
+ error:(nullable NSError *)error {
+ NSLog(@"[NEARBY] Discovered characteristics: %@ error: %@", service.characteristics, error);
+ GNCMPeripheralInfo *peripheralInfo = _nearbyPeripheralsByID[peripheral.identifier];
+ if (!peripheralInfo) return;
+ GNCMBleCharacteristicsHandler charsHandler = peripheralInfo.charsHandler;
+ peripheralInfo.charsHandler = nil;
+ charsHandler(service.characteristics, error);
+}
+
+- (void)peripheral:(CBPeripheral *)peripheral
+ didUpdateValueForCharacteristic:(CBCharacteristic *)characteristic
+ error:(nullable NSError *)error {
+ NSLog(@"[NEARBY] Read characteristic value: %@ error: %@", characteristic, error);
+ GNCMPeripheralInfo *peripheralInfo = _nearbyPeripheralsByID[peripheral.identifier];
+ if (!peripheralInfo) return;
+ GNCMBleCharacteristicValueHandler valueHandler = peripheralInfo.charValueHandler;
+ peripheralInfo.charValueHandler = nil;
+ valueHandler(characteristic, error);
+}
+
+#pragma mark GNSCentralManagerDelegate
+
+- (void)centralManager:(GNSCentralManager *)centralManager
+ didDiscoverPeer:(GNSCentralPeerManager *)centralPeerManager
+ advertisementData:(nullable NSDictionary<NSString *, id> *)advertisementData {
+ if (!_callbacksEnabled) return;
+
+ // Retrieve the cached peripheral info.
+ NSUUID *peerId = centralPeerManager.identifier;
+ GNCMPeripheralInfo *peripheralInfo = _nearbyPeripheralsByID[peerId];
+ if (!peripheralInfo) return;
+
+ __weak __typeof__(self) weakSelf = self;
+ [self callbackAsync:^{
+ _requestConnectionHandler(^(NSString *serviceID, GNCMConnectionHandler connectionHandler) {
+ __strong __typeof__(self) strongSelf = weakSelf;
+ if (!strongSelf) return;
+
+ void (^callConnectionHandler)(GNSSocket *__nullable) = ^(GNSSocket *__nullable socket) {
+ __strong __typeof__(self) strongSelf = weakSelf;
+ if (!strongSelf->_callbacksEnabled) return;
+ [strongSelf callbackAsync:^{
+ if (!socket) {
+ NSLog(@"[NEARBY] Central failed to create BLE socket");
+ connectionHandler(nil);
+ } else {
+ GNCMBleConnection *connection =
+ [GNCMBleConnection connectionWithSocket:socket
+ serviceID:serviceID
+ expectedIntroPacket:NO
+ callbackQueue:strongSelf->_clientCallbackQueue];
+ connection.connectionHandlers = connectionHandler(connection);
+ }
+ }];
+ };
+
+ dispatch_async(strongSelf->_selfQueue, ^{
+ // A connection is being requested, so establish a BLE socket. Make sure to use the most
+ // up-to-date GNSCentralPeerManager in case the MAC address rotated. The cached
+ // peripheral info should be the single source of truth for which MAC address to use.
+ GNSCentralPeerManager *updatedCentralPeerManager =
+ [centralManager retrieveCentralPeerWithIdentifier:peripheralInfo.peripheral.identifier];
+ if (!updatedCentralPeerManager) {
+ callConnectionHandler(nil);
+ }
+
+ // Make a socket connection.
+ [updatedCentralPeerManager
+ socketWithPairingCharacteristic:NO
+ completion:^(GNSSocket *socket, NSError *error) {
+ __strong __typeof__(self) strongSelf = weakSelf;
+ if (!strongSelf) return;
+ dispatch_async(strongSelf->_selfQueue, ^{
+ if (!error) {
+ // Call the connection handler when the socket has
+ // connected or fails to connect.
+ GNCMWaitForConnection(socket, ^(BOOL didConnect) {
+ callConnectionHandler(didConnect ? socket : nil);
+ });
+ } else {
+ callConnectionHandler(nil);
+ }
+ });
+ }];
+ });
+ });
+ }];
+}
+
+- (void)centralManagerDidUpdateBleState:(GNSCentralManager *)centralManager {
+ // No op.
+}
+
+#pragma mark Private
+
+/** This method assumes it's being called on selfQueue. */
+- (void)completeGATTReadWithData:(NSData *)advertisement
+ forPeripheralInfo:(GNCMPeripheralInfo *)peripheralInfo {
+ NSAssert(peripheralInfo, @"Nil peripheralInfo");
+ if (peripheralInfo) {
+ CBPeripheral *peripheral = peripheralInfo.peripheral;
+ NSUUID *peripheralID = peripheral.identifier;
+ // Store the data for the socket callback, and report the peripheral to the socket library.
+ [_socketCentralManager retrievePeripheralWithIdentifier:peripheralID
+ advertisementData:peripheralInfo.advertisementData];
+ }
+}
+
+/** Signals the central manager to start scanning. Must be called on _selfQueue. */
+- (void)startScanningInternal {
+ if (![_centralManager isScanning]) {
+ NSLog(@"[NEARBY] startScanningInternal");
+
[_centralManager
scanForPeripheralsWithServices:@[ _serviceUUID ]
options:@{CBCentralManagerScanOptionAllowDuplicatesKey : @YES}];
- } else {
- NSLog(@"[NEARBY] CBCentralManager not powered on; stopping scan");
+ }
+}
+
+/** Signals the central manager to stop scanning. Must be called on _selfQueue */
+- (void)stopScanningInternal {
+ if ([_centralManager isScanning]) {
+ NSLog(@"[NEARBY] stopScanningInternal");
+ _centralState = GNCMCentralStateStopped;
+
[_centralManager stopScan];
}
}
+/** Calls the specified block on the callback queue. */
+- (void)callbackAsync:(dispatch_block_t)block {
+ dispatch_queue_t clientCallbackQueue = _clientCallbackQueue; // don't capture |self|
+ dispatch_async(_internalCallbackQueue, ^{
+ dispatch_sync(clientCallbackQueue, block);
+ });
+}
+
@end
NS_ASSUME_NONNULL_END
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleConnection.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleConnection.h
new file mode 100644
index 00000000000..8897a6d7d81
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleConnection.h
@@ -0,0 +1,43 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/GNCMConnection.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class GNSSocket;
+
+/**
+ * A GNCMConnection implementation for BLE.
+ * This class is thread-safe.
+ */
+@interface GNCMBleConnection : NSObject <GNCMConnection>
+@property(nonatomic) GNCMConnectionHandlers *connectionHandlers;
+
+/**
+ * Creates a |GNCMBleConnectiom|.
+ *
+ * @param socket A |GNSSocket| instance.
+ * @param serviceID A string that uniquely identifies the service.
+ * @param expectedIntroPacket A flag to indicate the connection is expecting the
+ * introduction packet.
+ * @param callbackQueue The queue on which all callbacks are made.
+ */
++ (instancetype)connectionWithSocket:(GNSSocket *)socket
+ serviceID:(nullable NSString *)serviceID
+ expectedIntroPacket:(BOOL)expectedIntroPacket
+ callbackQueue:(dispatch_queue_t)callbackQueue;
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleConnection.m b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleConnection.m
new file mode 100644
index 00000000000..acb950ede63
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleConnection.m
@@ -0,0 +1,147 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/GNCMBleConnection.h"
+
+#import "internal/platform/implementation/ios/Mediums/Ble/GNCMBleUtils.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket.h"
+#import "internal/platform/implementation/ios/Mediums/GNCLeaks.h"
+#import "internal/platform/implementation/ios/Mediums/GNCMConnection.h"
+#import "GoogleToolboxForMac/GTMLogger.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface GNCMBleConnection () <GNSSocketDelegate>
+@property(nonatomic) dispatch_queue_t selfQueue;
+@property(nonatomic) GNSSocket *socket;
+@property(nonatomic) NSData *serviceIDHash;
+@property(nonatomic) dispatch_queue_t callbackQueue;
+@property(nonatomic) BOOL expectedIntroPacket;
+@property(nonatomic) BOOL receivedIntroPacket;
+@end
+
+@implementation GNCMBleConnection
+
++ (instancetype)connectionWithSocket:(GNSSocket *)socket
+ serviceID:(nullable NSString *)serviceID
+ expectedIntroPacket:(BOOL)expectedIntroPacket
+ callbackQueue:(dispatch_queue_t)callbackQueue {
+ GNCMBleConnection *connection = [[GNCMBleConnection alloc] init];
+ connection.socket = socket;
+ socket.delegate = connection;
+ connection.serviceIDHash = serviceID ? GNCMServiceIDHash(serviceID) : nil;
+ connection.callbackQueue = callbackQueue;
+ connection.selfQueue = dispatch_queue_create("GNCMBleConnectionQueue", DISPATCH_QUEUE_SERIAL);
+ connection.expectedIntroPacket = expectedIntroPacket;
+ return connection;
+}
+
+- (void)dealloc {
+ [_socket disconnect];
+ GNCVerifyDealloc(_socket, 2); // assert if not deallocated
+}
+
+#pragma mark GNCMConnection
+- (void)sendData:(NSData *)data
+ progressHandler:(GNCMProgressHandler)progressHandler
+ completion:(GNCMPayloadResultHandler)completion {
+ dispatch_async(_selfQueue, ^{
+ NSMutableData *packet;
+ if (data.length == 0) {
+ // Get the Control introduction packet if data length is 0.
+ NSData *introData = GNCMGenerateBLEFramesIntroductionPacket(_serviceIDHash);
+ packet = [NSMutableData dataWithData:introData];
+ } else {
+ // Prefix the service ID hash.
+ packet = [NSMutableData dataWithData:_serviceIDHash];
+ [packet appendData:data];
+ }
+
+ [_socket sendData:packet
+ progressHandler:^(float progress) {
+ // Convert normalized progress value to number of bytes.
+ dispatch_async(_callbackQueue, ^{
+ progressHandler((size_t)(progress * packet.length));
+ });
+ }
+ completion:^(NSError *error) {
+ dispatch_async(_callbackQueue, ^{
+ completion(error ? GNCMPayloadResultFailure : GNCMPayloadResultSuccess);
+ });
+ }];
+ });
+}
+
+#pragma mark GNSSocketDelegate
+
+- (void)socketDidConnect:(GNSSocket *)socket {
+ GTMLoggerError(@"Unexpected -socketDidConnect: call; should've already happened");
+}
+
+- (void)socket:(GNSSocket *)socket didDisconnectWithError:(NSError *)error {
+ dispatch_async(_selfQueue, ^{
+ if (_connectionHandlers.disconnectedHandler) {
+ dispatch_async(_callbackQueue, ^{
+ _connectionHandlers.disconnectedHandler();
+ });
+ }
+ });
+}
+
+- (void)socket:(GNSSocket *)socket didReceiveData:(NSData *)data {
+ // Extract the service ID prefix from each data packet.
+ NSMutableData *packet;
+ NSUInteger prefixLength = _serviceIDHash.length;
+ if (_expectedIntroPacket && !_receivedIntroPacket) {
+ // Check if the first packet is intro packet.
+ if (!_serviceIDHash) {
+ // If _serviceIdHash is nil, then we need to parse the first incoming packet if it conforms to
+ // introducion packet and extract the serviceIdHash for coming packets.
+ NSData *serviceIDHash = GNCMParseBLEFramesIntroductionPacket(data);
+ if (serviceIDHash) {
+ _serviceIDHash = serviceIDHash;
+ _receivedIntroPacket = YES;
+ } else {
+ GTMLoggerInfo(@"[NEARBY] Input stream: Received wrong intro packet and discarded");
+ }
+ } else {
+ NSData *introData = GNCMGenerateBLEFramesIntroductionPacket(_serviceIDHash);
+ if ([data isEqual:introData]) {
+ _receivedIntroPacket = YES;
+ } else {
+ GTMLoggerInfo(@"[NEARBY] Input stream: Received wrong intro packet and discarded");
+ }
+ }
+ return;
+ }
+
+ if (![[data subdataWithRange:NSMakeRange(0, prefixLength)] isEqual:_serviceIDHash]) {
+ GTMLoggerInfo(@"[NEARBY] Input stream: Received wrong data packet and discarded");
+ return;
+ }
+ packet = [NSMutableData
+ dataWithData:[data subdataWithRange:NSMakeRange(prefixLength, data.length - prefixLength)]];
+
+ dispatch_async(_selfQueue, ^{
+ if (_connectionHandlers.payloadHandler) {
+ dispatch_async(_callbackQueue, ^{
+ _connectionHandlers.payloadHandler(packet);
+ });
+ }
+ });
+}
+
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBlePeripheral.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBlePeripheral.h
index 1c515441e3d..87361cb5704 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBlePeripheral.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBlePeripheral.h
@@ -12,7 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include <CoreBluetooth/CoreBluetooth.h>
+#import <Foundation/Foundation.h>
+
+#import "internal/platform/implementation/ios/Mediums/GNCMConnection.h"
+
+@class CBCharacteristic;
+@class CBUUID;
NS_ASSUME_NONNULL_BEGIN
@@ -26,16 +31,48 @@ NS_ASSUME_NONNULL_BEGIN
*/
@interface GNCMBlePeripheral : NSObject
-- (instancetype)init NS_UNAVAILABLE;
+- (instancetype)init NS_DESIGNATED_INITIALIZER;
+
+/**
+ * Adds GATT CBService.
+ *
+ * @param serviceUUID A GATT service ID to advertise for.
+ */
+- (void)addCBServiceWithUUID:(CBUUID *)serviceUUID;
+
+/**
+ * Adds GATT CBCharacteristic.
+ *
+ * @param characteristic A characteristic CBUUID.
+ */
+- (void)addCharacteristic:(CBCharacteristic *)characteristic;
+
+/**
+ * Updates GATT CBCharacteristic with value.
+ *
+ * @param value The NSData to advertise.
+ * @param characteristicUUID A characteristic CBUUID.
+ */
+- (void)updateValue:(NSData *)value forCharacteristic:(CBUUID *)characteristicUUID;
+
+/**
+ * Stops GATT server service.
+ */
+- (void)stopGATTService;
/**
- * Initializes an `GNCMBlePeripheral` object.
+ * Starts advertising with service UUID and advertisement data.
*
* @param serviceUUID A string that uniquely identifies the advertised service to search for.
* @param advertisementData The data to advertise.
+ * @param endpointconnectedHandler The handler that is called when a discoverer connects.
+ * @param callbackQueue The queue on which all callbacks are made. If |callbackQueue| is not
+ * provided, then the main queue is used in the function.
*/
-- (instancetype)initWithServiceUUID:(NSString *)serviceUUID
- advertisementData:(NSData *)advertisementData NS_DESIGNATED_INITIALIZER;
+- (BOOL)startAdvertisingWithServiceUUID:(NSString *)serviceUUID
+ advertisementData:(NSData *)advertisementData
+ endpointConnectedHandler:(GNCMConnectionHandler)endpointConnectedHandler
+ callbackQueue:(nullable dispatch_queue_t)callbackQueue;
@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBlePeripheral.m b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBlePeripheral.m
index f3fcdc2a9c5..3961f7fe715 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBlePeripheral.m
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBlePeripheral.m
@@ -14,43 +14,61 @@
#import "internal/platform/implementation/ios/Mediums/Ble/GNCMBlePeripheral.h"
-#include <CoreBluetooth/CoreBluetooth.h>
+#import <CoreBluetooth/CoreBluetooth.h>
#import "internal/platform/implementation/ios/GNCUtils.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/GNCMBleConnection.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/GNCMBleUtils.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralManager.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager.h"
+#import "internal/platform/implementation/ios/Mediums/GNCMConnection.h"
NS_ASSUME_NONNULL_BEGIN
+typedef NS_ENUM(NSUInteger, GNCMPeripheralState) {
+ GNCMPeripheralStateStopped,
+ GNCMPeripheralStateAdvertising,
+};
+
@interface GNCMBlePeripheral () <CBPeripheralManagerDelegate>
@end
@implementation GNCMBlePeripheral {
- /** GATT service for advertisement. */
+ /** Service UUID for advertisement. */
CBMutableService *_advertisementService;
+ /** GATT service for GATT connection. */
+ CBMutableService *_GATTService;
+ /** GATT characteristics for GATT connection. */
+ NSMutableArray<CBCharacteristic *> *_gattCharacteristics;
+ /** CBUUID characteristic to NSData value dictionary for GATT connection. */
+ NSMutableDictionary<CBUUID *, NSData *> *_gattCharacteristicValues;
/** Data to be advertised. */
NSData *_advertisementData;
/** Peripheral manager used to advertise or connect to peripherals. */
CBPeripheralManager *_peripheralManager;
/** Serial background queue for |peripheralManager|. */
dispatch_queue_t _selfQueue;
+ /** Peripheral state for stop or advertising. */
+ GNCMPeripheralState _state;
+ /** Peripheral manager used for socket connection based on weave protocol. */
+ GNSPeripheralManager *_socketPeripheralManager;
+ /** Peripheral service manager used to manage one BLE service. */
+ GNSPeripheralServiceManager *_socketPeripheralServiceManager;
+ /** Client callback queue. If client doesn't assign it, then use main queue. */
+ dispatch_queue_t _clientCallbackQueue;
+ /** Internal async priority queue. */
+ dispatch_queue_t _internalCallbackQueue;
+ /** Flag to disable callback for dealloc. */
+ BOOL _callbacksEnabled;
}
-- (instancetype)initWithServiceUUID:(NSString *)serviceUUID
- advertisementData:(NSData *)advertisementData {
- self = [super init];
- if (self) {
- _advertisementService =
- [[CBMutableService alloc] initWithType:[CBUUID UUIDWithString:serviceUUID] primary:YES];
- _advertisementData = [advertisementData copy];
-
+- (instancetype)init {
+ if (self = [super init]) {
// To make this class thread-safe, use a serial queue for all state changes, and have Core
// Bluetooth also use this queue.
_selfQueue = dispatch_queue_create("GNCPeripheralManagerQueue", DISPATCH_QUEUE_SERIAL);
- // Set up the peripheral manager for the advertisement data.
- _peripheralManager = [[CBPeripheralManager alloc]
- initWithDelegate:self
- queue:_selfQueue
- options:@{CBPeripheralManagerOptionShowPowerAlertKey : @NO}];
+ _state = GNCMPeripheralStateStopped;
}
return self;
}
@@ -60,22 +78,114 @@ NS_ASSUME_NONNULL_BEGIN
// dispatch_sync. This means delloc must be called from an external queue, which means |self|
// must never be captured by any escaping block used in this class.
dispatch_sync(_selfQueue, ^{
- [self stopAdvertising];
+ [self stopAdvertisingInternal];
+
+ _callbacksEnabled = NO;
});
}
+- (void)addCBServiceWithUUID:(CBUUID *)serviceUUID {
+ if (!_GATTService) {
+ // If it has been called, then don't do it again. Initialize one time.
+ _GATTService = [[CBMutableService alloc] initWithType:serviceUUID primary:YES];
+ _gattCharacteristics = [[NSMutableArray alloc] init];
+ _gattCharacteristicValues = [[NSMutableDictionary alloc] init];
+ }
+}
+
+- (void)addCharacteristic:(CBCharacteristic *)characteristic {
+ if (_gattCharacteristics) {
+ [_gattCharacteristics addObject:characteristic];
+ }
+ if (_gattCharacteristicValues) {
+ [_gattCharacteristicValues setObject:[[NSData alloc] init] forKey:characteristic.UUID];
+ }
+}
+
+- (void)updateValue:(NSData *)value forCharacteristic:(CBUUID *)characteristicUUID {
+ if ([_gattCharacteristicValues objectForKey:characteristicUUID]) {
+ [_gattCharacteristicValues setObject:value forKey:characteristicUUID];
+ }
+}
+
+- (void)stopGATTService {
+ if (!_GATTService) return;
+ dispatch_sync(_selfQueue, ^{
+ [_peripheralManager removeService:_GATTService];
+ });
+}
+
+- (BOOL)startAdvertisingWithServiceUUID:(NSString *)serviceUUID
+ advertisementData:(NSData *)advertisementData
+ endpointConnectedHandler:(GNCMConnectionHandler)endpointConnectedHandler
+ callbackQueue:(nullable dispatch_queue_t)callbackQueue {
+ NSLog(@"[NEARBY] Client rquests startAdvertising");
+ // The client may be using the callback queue for other purposes, so wrap it with a private
+ // queue to know with certainty when all callbacks are done.
+ _clientCallbackQueue = callbackQueue ?: dispatch_get_main_queue();
+ _internalCallbackQueue =
+ dispatch_queue_create("GNCMBlePeripheralCallbackQueue", DISPATCH_QUEUE_PRIORITY_DEFAULT);
+ _callbacksEnabled = YES;
+
+ _advertisementService = [[CBMutableService alloc] initWithType:[CBUUID UUIDWithString:serviceUUID]
+ primary:YES];
+ _advertisementData = [advertisementData copy];
+
+ // To make this class thread-safe, use a serial queue for all state changes, and have Core
+ // Bluetooth also use this queue.
+ _selfQueue = dispatch_queue_create("GNCPeripheralManagerQueue", DISPATCH_QUEUE_SERIAL);
+ __weak __typeof__(self) weakSelf = self;
+ // Set up the peripheral manager for the socket. This must be done before creating the
+ // peripheral manager for the advertisement data because it's started/stopped in the
+ // -peripheralManagerDidUpdateState: callback.
+ _socketPeripheralServiceManager = [[GNSPeripheralServiceManager alloc]
+ initWithBleServiceUUID:_advertisementService.UUID
+ addPairingCharacteristic:NO
+ shouldAcceptSocketHandler:^BOOL(GNSSocket *socket) {
+ // Call the connection handler when the socket has connected or fails to connect.
+ GNCMWaitForConnection(socket, ^(BOOL didConnect) {
+ [weakSelf establishConnectionWithSocket:socket
+ didConnect:didConnect
+ endpointConnectedHandler:endpointConnectedHandler];
+ });
+ return YES;
+ }
+ queue:_selfQueue];
+ _socketPeripheralManager = [[GNSPeripheralManager alloc] initWithAdvertisedName:nil
+ restoreIdentifier:nil
+ queue:_selfQueue];
+ [_socketPeripheralManager addPeripheralServiceManager:_socketPeripheralServiceManager
+ bleServiceAddedCompletion:^(NSError *error) {
+ NSLog(@"Failed to add service");
+ }];
+
+ // Set up the peripheral manager for the advertisement data.
+ _peripheralManager = [[CBPeripheralManager alloc]
+ initWithDelegate:self
+ queue:_selfQueue
+ options:@{CBPeripheralManagerOptionShowPowerAlertKey : @NO}];
+
+ if (_GATTService) {
+ if (_gattCharacteristics && _gattCharacteristics.count > 0) {
+ _GATTService.characteristics = _gattCharacteristics;
+ }
+ }
+ _state = GNCMPeripheralStateAdvertising;
+ return YES;
+}
+
#pragma mark CBPeripheralManagerDelegate
- (void)peripheralManagerDidUpdateState:(CBPeripheralManager *)peripheral {
- if (peripheral.state == CBManagerStatePoweredOn) {
+ NSLog(@"[NEARBY] peripheralManagerDidUpdateState %li", (long)peripheral.state);
+ if (peripheral.state == CBManagerStatePoweredOn && !peripheral.isAdvertising &&
+ _state == GNCMPeripheralStateAdvertising) {
NSLog(@"[NEARBY] CBPeripheralManager powered on; starting advertising");
- [_peripheralManager startAdvertising:@{
- CBAdvertisementDataServiceUUIDsKey : @[ _advertisementService.UUID ],
- CBAdvertisementDataLocalNameKey : _advertisementData
- }];
+ [_socketPeripheralManager start];
+ [self startAdvertisingInternal];
} else {
NSLog(@"[NEARBY] CBPeripheralManager not powered on; stopping advertising");
- [self stopAdvertising];
+ [self stopAdvertisingInternal];
}
}
@@ -85,7 +195,7 @@ NS_ASSUME_NONNULL_BEGIN
NSLog(@"[NEARBY] Error starting advertising: %@,", [error localizedDescription]);
return;
}
- if (_peripheralManager.state != CBPeripheralManagerStatePoweredOn) {
+ if (_peripheralManager.state != CBManagerStatePoweredOn) {
NSLog(@"[NEARBY] Error starting advertising: peripheral manager not on!");
return;
}
@@ -93,11 +203,89 @@ NS_ASSUME_NONNULL_BEGIN
NSLog(@"[NEARBY] Peripheral manager started advertising");
}
+- (void)peripheralManager:(CBPeripheralManager *)peripheral
+ didReceiveReadRequest:(CBATTRequest *)request {
+ NSLog(@"[NEARBY] peripheralManager:didReceiveReadRequest");
+ // This is called when a central asks to read a characteristic's value.
+ CBATTError error = CBATTErrorAttributeNotFound;
+ NSData *value = _gattCharacteristicValues[request.characteristic.UUID];
+ if (value != nil && value.length > 0) {
+ if (request.offset > value.length) {
+ error = CBATTErrorInvalidOffset;
+ } else {
+ // Reply with the advertisement data.
+ NSRange rangeFromOffset = NSMakeRange(request.offset, value.length - request.offset);
+ request.value = [value subdataWithRange:rangeFromOffset];
+ error = CBATTErrorSuccess;
+ }
+ }
+ [_peripheralManager respondToRequest:request withResult:error];
+}
+
#pragma mark Private
+/** Signals the peripheral manager to start advertising. Must be called on _selfQueue */
+- (void)startAdvertisingInternal {
+ if (![_peripheralManager isAdvertising]) {
+ NSLog(@"[NEARBY] startAdvertisingInternal");
+
+ if (_GATTService) {
+ [_peripheralManager addService:_GATTService];
+ }
+ [_peripheralManager startAdvertising:@{
+ CBAdvertisementDataServiceUUIDsKey : @[ _advertisementService.UUID ],
+ CBAdvertisementDataLocalNameKey : _advertisementData
+ }];
+ }
+}
+
/** Signals the peripheral manager to stop advertising. Must be called on _selfQueue */
-- (void)stopAdvertising {
- [_peripheralManager stopAdvertising];
+- (void)stopAdvertisingInternal {
+ if ([_peripheralManager isAdvertising]) {
+ NSLog(@"[NEARBY] stopAdvertisingInternal");
+ _state = GNCMPeripheralStateStopped;
+
+ if (_GATTService) {
+ [_peripheralManager removeService:_GATTService];
+ }
+ [_peripheralManager stopAdvertising];
+ }
+}
+
+/**
+ * Connects with socket and callback the |GNCMBleConnection| is established or nil if it is not.
+ */
+- (void)establishConnectionWithSocket:(GNSSocket *)socket
+ didConnect:(BOOL)didConnect
+ endpointConnectedHandler:(GNCMConnectionHandler)endpointConnectedHandler {
+ if (!_callbacksEnabled) {
+ return;
+ }
+
+ [self callbackAsync:^{
+ if (!didConnect) {
+ NSLog(@"[NEARBY] Peripheral failed to create BLE socket");
+ endpointConnectedHandler(nil);
+ } else {
+ GNCMBleConnection *connection = [GNCMBleConnection connectionWithSocket:socket
+ serviceID:nil
+ expectedIntroPacket:YES
+ callbackQueue:_clientCallbackQueue];
+ connection.connectionHandlers = endpointConnectedHandler(connection);
+ }
+ }];
+}
+
+/**
+ * Calls the specified block on the callback queue, preventing it from being dispatched to the
+ * client callback queue when callbacks are disabled. And without capturing |self|, since
+ * callbacks are disabled in dealloc.
+ */
+- (void)callbackAsync:(dispatch_block_t)block {
+ dispatch_queue_t clientCallbackQueue = _clientCallbackQueue; // don't capture |self|
+ dispatch_async(_internalCallbackQueue, ^{
+ dispatch_sync(clientCallbackQueue, block);
+ });
}
@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleUtils.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleUtils.h
new file mode 100644
index 00000000000..fd85edba56f
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleUtils.h
@@ -0,0 +1,58 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class GNSSocket;
+
+typedef void (^GNCMBoolHandler)(BOOL flag);
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/** Required lengths of certain BLE advertisement fields. */
+typedef NS_ENUM(NSUInteger, GNCMBleAdvertisementLength) {
+ /** Length of service ID hash data object, used in the BLE advertisement and the packet prefix. */
+ GNCMBleAdvertisementLengthServiceIDHash = 3,
+};
+
+/** Computes a hash from a service ID string. */
+NSData *GNCMServiceIDHash(NSString *serviceID);
+
+/** Creates the introduction packet for Ble SocketControlFrame. */
+NSData *GNCMGenerateBLEFramesIntroductionPacket(NSData *serviceIDHash);
+
+/**
+ * Parses the packet for Ble SocketControlFrame introduction packet and returns
+ * serviceIdHash if succeed.
+ */
+NSData *GNCMParseBLEFramesIntroductionPacket(NSData *data);
+
+/** Creates the disconnection packet for Ble SocketControlFrame. */
+NSData *GNCMGenerateBLEFramesDisconnectionPacket(NSData *serviceIDHash);
+
+/**
+ * Calls the completion handler with (a) YES if the GNSSocket connected, or (b) NO if it failed to
+ * connect for any reason. The completion handler is called on the main queue.
+ */
+void GNCMWaitForConnection(GNSSocket *socket, GNCMBoolHandler completion);
+
+#ifdef __cplusplus
+} // extern "C"
+#endif
+
+NS_ASSUME_NONNULL_END
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleUtils.mm b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleUtils.mm
new file mode 100644
index 00000000000..c24fa656d60
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/GNCMBleUtils.mm
@@ -0,0 +1,143 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/GNCMBleUtils.h"
+
+#include <sstream>
+#include <string>
+
+#import "internal/platform/implementation/ios/GNCUtils.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket.h"
+#include "proto/mediums/ble_frames.pb.h"
+#import "GoogleToolboxForMac/GTMLogger.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+static const uint8_t kGNCMControlPacketServiceIDHash[] = {0x00, 0x00, 0x00};
+static const NSTimeInterval kBleSocketConnectionTimeout = 5.0;
+
+NSData *GNCMServiceIDHash(NSString *serviceID) {
+ return [GNCSha256String(serviceID)
+ subdataWithRange:NSMakeRange(0, GNCMBleAdvertisementLengthServiceIDHash)];
+}
+
+NSData *GNCMGenerateBLEFramesIntroductionPacket(NSData *serviceIDHash) {
+ ::location::nearby::mediums::SocketControlFrame socket_control_frame;
+
+ socket_control_frame.set_type(::location::nearby::mediums::SocketControlFrame::INTRODUCTION);
+ auto *introduction_frame = socket_control_frame.mutable_introduction();
+ introduction_frame->set_socket_version(::location::nearby::mediums::SocketVersion::V2);
+ std::string service_id_hash((char *)serviceIDHash.bytes, (size_t)serviceIDHash.length);
+ introduction_frame->set_service_id_hash(service_id_hash);
+
+ NSMutableData *packet = [NSMutableData dataWithBytes:kGNCMControlPacketServiceIDHash
+ length:sizeof(kGNCMControlPacketServiceIDHash)];
+ std::ostringstream stream;
+ socket_control_frame.SerializeToOstream(&stream);
+ NSData *frameData = [NSData dataWithBytes:stream.str().data() length:stream.str().length()];
+ [packet appendData:frameData];
+ return packet;
+}
+
+NSData *GNCMParseBLEFramesIntroductionPacket(NSData *data) {
+ ::location::nearby::mediums::SocketControlFrame socket_control_frame;
+ NSUInteger prefixLength = sizeof(kGNCMControlPacketServiceIDHash);
+ NSData *packet = [data subdataWithRange:NSMakeRange(prefixLength, data.length - prefixLength)];
+ if (socket_control_frame.ParseFromArray(packet.bytes, (int)packet.length)) {
+ if (socket_control_frame.type() ==
+ ::location::nearby::mediums::SocketControlFrame::INTRODUCTION &&
+ socket_control_frame.has_introduction() &&
+ socket_control_frame.introduction().has_socket_version() &&
+ socket_control_frame.introduction().socket_version() ==
+ ::location::nearby::mediums::SocketVersion::V2 &&
+ socket_control_frame.introduction().has_service_id_hash()) {
+ std::string service_id_hash = socket_control_frame.introduction().service_id_hash();
+ return [NSData dataWithBytes:service_id_hash.data() length:service_id_hash.length()];
+ }
+ }
+
+ return nil;
+}
+
+NSData *GNCMGenerateBLEFramesDisconnectionPacket(NSData *serviceIDHash) {
+ ::location::nearby::mediums::SocketControlFrame socket_control_frame;
+
+ socket_control_frame.set_type(::location::nearby::mediums::SocketControlFrame::DISCONNECTION);
+ auto *disconnection_frame = socket_control_frame.mutable_disconnection();
+ std::string service_id_hash((char *)serviceIDHash.bytes, (size_t)serviceIDHash.length);
+ disconnection_frame->set_service_id_hash(service_id_hash);
+
+ NSMutableData *packet = [NSMutableData dataWithBytes:kGNCMControlPacketServiceIDHash
+ length:sizeof(kGNCMControlPacketServiceIDHash)];
+ std::ostringstream stream;
+ socket_control_frame.SerializeToOstream(&stream);
+ NSData *frameData = [NSData dataWithBytes:stream.str().data() length:stream.str().length()];
+ [packet appendData:frameData];
+ return packet;
+}
+
+@interface GNCMBleSocketDelegate : NSObject <GNSSocketDelegate>
+@property(nonatomic) GNCMBoolHandler connectedHandler;
+@end
+
+@implementation GNCMBleSocketDelegate
+
++ (instancetype)delegateWithConnectedHandler:(GNCMBoolHandler)connectedHandler {
+ GNCMBleSocketDelegate *connection = [[GNCMBleSocketDelegate alloc] init];
+ connection.connectedHandler = connectedHandler;
+ return connection;
+}
+
+#pragma mark - GNSSocketDelegate
+
+- (void)socketDidConnect:(GNSSocket *)socket {
+ _connectedHandler(YES);
+}
+
+- (void)socket:(GNSSocket *)socket didDisconnectWithError:(NSError *)error {
+ _connectedHandler(NO);
+}
+
+- (void)socket:(GNSSocket *)socket didReceiveData:(NSData *)data {
+ GTMLoggerError(@"Unexpected -didReceiveData: call");
+}
+
+@end
+
+void GNCMWaitForConnection(GNSSocket *socket, GNCMBoolHandler completion) {
+ // This function passes YES to the completion when the socket has successfully connected, and
+ // otherwise passes NO to the completion after a timeout of several seconds. We shouldn't retain
+ // the completion after it's been called, so store it in a __block variable and nil it out once
+ // the socket has connected.
+ __block GNCMBoolHandler completionRef = completion;
+
+ // The delegate listens for the socket connection callbacks. It's retained by the block passed to
+ // dispatch_after below, so it will live long enough to do its job.
+ GNCMBleSocketDelegate *delegate =
+ [GNCMBleSocketDelegate delegateWithConnectedHandler:^(BOOL didConnect) {
+ dispatch_async(dispatch_get_main_queue(), ^{
+ if (completionRef) completionRef(didConnect);
+ completionRef = nil;
+ });
+ }];
+ socket.delegate = delegate;
+ dispatch_after(
+ dispatch_time(DISPATCH_TIME_NOW, (int64_t)(kBleSocketConnectionTimeout * NSEC_PER_SEC)),
+ dispatch_get_main_queue(), ^{
+ (void)delegate; // make sure it's retained until the timeout
+ if (completionRef) completionRef(NO);
+ });
+}
+
+NS_ASSUME_NONNULL_END
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/BUILD b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/BUILD
new file mode 100644
index 00000000000..397d8952b9c
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/BUILD
@@ -0,0 +1,87 @@
+load("//tools/build_defs/swift:swift_explicit_module_build_test.bzl", "swift_explicit_module_build_test")
+
+# Copyright 2020 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+licenses(["notice"])
+
+package(
+ default_visibility = ["//visibility:public"],
+)
+
+objc_library(
+ name = "Central",
+ srcs = glob([
+ "Source/Central/*.m",
+ ]),
+ hdrs = glob([
+ "Source/Central/*.h",
+ ]) + [
+ "Source/GNSCentral.h",
+ ],
+ deps = [
+ ":Shared",
+ "//third_party/apple_frameworks:CoreBluetooth",
+ "//third_party/apple_frameworks:CoreFoundation",
+ "//third_party/apple_frameworks:Foundation",
+ "//third_party/apple_frameworks:QuartzCore",
+ "//third_party/objective_c/google_toolbox_for_mac:GTM_Logger",
+ ],
+)
+
+objc_library(
+ name = "Peripheral",
+ srcs = glob([
+ "Source/Peripheral/*.m",
+ ]),
+ hdrs = glob([
+ "Source/Peripheral/*.h",
+ ]) + [
+ "Source/GNSPeripheral.h",
+ ],
+ deps = [
+ ":Shared",
+ "//third_party/apple_frameworks:CoreBluetooth",
+ "//third_party/apple_frameworks:CoreFoundation",
+ "//third_party/apple_frameworks:Foundation",
+ "//third_party/apple_frameworks:QuartzCore",
+ "//third_party/apple_frameworks:UIKit",
+ "//third_party/objective_c/google_toolbox_for_mac:GTM_Logger",
+ ],
+)
+
+objc_library(
+ name = "Shared",
+ srcs = glob([
+ "Source/Shared/*.m",
+ ]),
+ hdrs = glob([
+ "Source/Shared/*.h",
+ ]) + [
+ "Source/GNSShared.h",
+ ],
+ deps = [
+ "//third_party/apple_frameworks:CoreBluetooth",
+ "//third_party/apple_frameworks:CoreFoundation",
+ "//third_party/apple_frameworks:Foundation",
+ "//third_party/apple_frameworks:QuartzCore",
+ "//third_party/objective_c/google_toolbox_for_mac:GTM_Logger",
+ ],
+)
+
+swift_explicit_module_build_test(
+ name = "swift_explicit_module_build_test",
+ ignore_headerless_targets = True,
+ minimum_os_version = "8.0",
+ platform_type = "ios",
+)
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager+Private.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager+Private.h
new file mode 100644
index 00000000000..7735c4b61be
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager+Private.h
@@ -0,0 +1,38 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager.h"
+
+#import <CoreBluetooth/CoreBluetooth.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@interface GNSCentralManager ()<CBCentralManagerDelegate>
+
+- (void)connectPeripheralForPeer:(GNSCentralPeerManager *)peer
+ options:(nullable NSDictionary *)options;
+
+- (void)cancelPeripheralConnectionForPeer:(GNSCentralPeerManager *)peer;
+
+- (void)centralPeerManagerDidDisconnect:(GNSCentralPeerManager *)peer;
+
+@end
+
+@interface GNSCentralManager (VisibleForTesting)
+
+- (CBCentralManager *)testing_cbCentralManager;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager.h
new file mode 100644
index 00000000000..5ebdbf2c818
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager.h
@@ -0,0 +1,201 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <CoreBluetooth/CoreBluetooth.h>
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class CBUUID;
+@class GNSCentralManager;
+@class GNSCentralPeerManager;
+
+@protocol GNSCentralManagerDelegate<NSObject>
+
+/**
+ * Called while scanning when a new peer is found.
+ *
+ * @param centralManager Central manager
+ * @param centralPeerManager New central peer.
+ * @param advertisementData The advertisement data received from the peer.
+ */
+- (void)centralManager:(GNSCentralManager *)centralManager
+ didDiscoverPeer:(GNSCentralPeerManager *)centralPeerManager
+ advertisementData:(nullable NSDictionary *)advertisementData;
+
+/**
+ * Called when the Bluetooth Low Energy state is updated. Note that scanning is paused if Bluetooth
+ * is disabled while scanning is on. Scanning will be resumed automatically as soon as Bluetooth is
+ * re-enabled.
+ *
+ * @param centralManager Central manager
+ */
+- (void)centralManagerDidUpdateBleState:(GNSCentralManager *)centralManager;
+
+@end
+
+/**
+ * GNSCentralManager can search for new GNSCentralPeerManager or can retrieve known
+ * GNSCentralPeerManager. Note that GNSCentralPeerManager retains its GNSCentralManager. Therefore
+ * it is not necessary to keep a strong pointer to GNSCentralManager.
+ *
+ * * To create a GNSCentralManager instance:
+ * GNSCentralManager *centralManager = [[GNSCentralManager alloc] initWithSocketServiceUUID:UUID];
+ * centralManager.delegate = myManagerDelegate;
+ *
+ * * Get a peer:
+ * - To retrieve a known peer:
+ * With a known peer: -[GNSCentralManager retrieveCentralPeerWithIdentifier:]
+ * To retrieve a previous peer, can be called instead of scanning.
+ *
+ * - To scan for peers:
+ * -[GNSCentralManager startScanWithAdvertisedName:advertisedServiceUUID:]
+ * When a peer has been discovered, myManagerDelegate is called:
+ * -[myManagerDelegate centralManager:discoveredPeer:];
+ *
+ * * To create a socket to the peer:
+ * With the received peer, -[GNSCentralPeerManager socketWithPairingCharacteristic:completion:]
+ * has to be called:
+ * [centralPeer socketWithPairingCharacteristic:shouldAddPairingCharacteristics
+ * completion:^(GNSSocket *mySocket, NSError *error) {
+ * if (error) {
+ * NSLog(@"Error to get the socket %@", error);
+ * return;
+ * }
+ * mySocket.delegate = mySocketDelegate;
+ * }];
+ *
+ * To use the socket, please see GNSSocket.
+ *
+ * Once the socket is disconnected, the peer will automatically be disconnected from BLE. Also, if
+ * GNSCentralPeerManager instance is deallocated, the socket will be automatically closed.
+ *
+ * This class is not thread-safe.
+ */
+@interface GNSCentralManager : NSObject
+
+/**
+ * Service used for the socket.
+ */
+@property(nonatomic, readonly) CBUUID *socketServiceUUID;
+
+/**
+ * YES, if scanning is enabled (even when the bluetooth is disabled).
+ */
+@property(nonatomic, readonly, getter=isScanning) BOOL scanning;
+@property(nonatomic, readwrite, weak) id<GNSCentralManagerDelegate> delegate;
+
+/**
+ * BLE state based on -[CBCentralManager state].
+ */
+@property(nonatomic, readonly) CBCentralManagerState cbCentralManagerState;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+/**
+ * Creates an instance of GNSCentralManager. Only one service is supported. This service will be
+ * passed to the GNSCentralPeerManager instances and GNSSocket.
+ *
+ * @param socketServiceUUID UUID used to create peer sockets with all the peers found.
+ * @param queue The queue this object is called on and callbacks are made on.
+ *
+ * @return GNSCentralManager instance
+ */
+- (nullable instancetype)initWithSocketServiceUUID:(CBUUID *)socketServiceUUID
+ queue:(dispatch_queue_t)queue
+ NS_DESIGNATED_INITIALIZER;
+
+/**
+ * Creates an instance of GNSCentralManager using the main queue for callbacks.
+ */
+- (nullable instancetype)initWithSocketServiceUUID:(CBUUID *)socketServiceUUID;
+
+/**
+ * TODO(sacomoto): Cleanup and merge this and the method below.
+ *
+ * Starts scanning for all Bluetooth Low Energy peers that advertise the service
+ * |advertisedServiceUUID| or the name |advertisedName|.
+ *
+ * If |advertisedName| is non-nil, this central manager will scan for all peripherals and filter
+ * peripherals that advertise |advertisedServiceUUID| or |advertisedName|.
+ *
+ * If |advertisedServiceUUID| is non-nil, the central manager will scan for all peripherals that
+ * advertise |self.socketServiceUUID|.
+ *
+ * If both |advertisedName| and |advertisedServiceUUID| are nil, the central manager will scan for
+ * all peripherals without any filtering.
+ *
+ * Note that |self.socketServiceUUID| and |advertisedServiceUUID| may be different. In this case,
+ * the manager will scan for devices advertising |advertisedServiceUUID| but will use
+ * |self.socketServiceUUID| to transfer data.
+ *
+ * The delegate will be notified when each peer is found.
+ *
+ * @param advertisedName The name advertised by peripheral.
+ * @param advertisedServiceUUID The service advertised by the peripheral.
+ */
+- (void)startScanWithAdvertisedName:(nullable NSString *)advertisedName
+ advertisedServiceUUID:(nullable CBUUID *)advertisedServiceUUID;
+
+/**
+ * Starts scanning for all Bluetooth Low Energy peers that advertise some service in
+ * |advertisedServiceUUIDs|. The delegate will be notified when each peer is found.
+ *
+ * @param advertisedServiceUUID The service advertised by the peripheral.
+ */
+- (void)startScanWithAdvertisedServiceUUIDs:(nullable NSArray<CBUUID *> *)advertisedServiceUUIDs;
+
+/**
+ * Stops scanning.
+ */
+- (void)stopScan;
+
+/**
+ * Starts "no-scan" mode, where identifiers of peripherals already discovered can be be passed into
+ * |-retrievePeripheralWithIdentifier:advertisementData:| for use as socket peripherals. If valid,
+ * the delegate will be notified. The peripheral must be advertising a service in
+ * |advertisedServiceUUIDs|.
+ *
+ * @param advertisedServiceUUID The service(s) the peripherals must be advertising.
+ */
+- (void)startNoScanModeWithAdvertisedServiceUUIDs:
+ (nullable NSArray<CBUUID *> *)advertisedServiceUUIDs;
+
+/**
+ * Tries to retrieve a peripheral that matches the given identifier, and, if successful, treats it
+ * as a newly found peripheral.
+ *
+ * @param identifier The peripheral identifier.
+ * @param advertisementData The advertisement data associated with the peripheral.
+ */
+- (void)retrievePeripheralWithIdentifier:(NSUUID *)identifier
+ advertisementData:(NSDictionary<NSString *, id> *)advertisementData;
+
+/**
+ * Stops "no-scan" mode.
+ */
+- (void)stopNoScanMode;
+
+/**
+ * Creates a GNSCentralPeerManager for an identifier.
+ *
+ * @param identifier Identifier from the idenfier.
+ *
+ * @return Central peer.
+ */
+- (nullable GNSCentralPeerManager *)retrieveCentralPeerWithIdentifier:(NSUUID *)identifier;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager.m b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager.m
new file mode 100644
index 00000000000..67ff7358909
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager.m
@@ -0,0 +1,372 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager+Private.h"
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager+Private.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager.h"
+#import "GoogleToolboxForMac/GTMLogger.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+static NSString *CentralManagerStateString(CBCentralManagerState state) {
+ switch (state) {
+ case CBCentralManagerStateUnknown:
+ return @"CBCentralManagerStateUnknown";
+ case CBCentralManagerStateResetting:
+ return @"CBCentralManagerStateResetting";
+ case CBCentralManagerStateUnsupported:
+ return @"CBCentralManagerStateUnsupported";
+ case CBCentralManagerStateUnauthorized:
+ return @"CBCentralManagerStateUnauthorized";
+ case CBCentralManagerStatePoweredOff:
+ return @"CBCentralManagerStatePoweredOff";
+ case CBCentralManagerStatePoweredOn:
+ return @"CBCentralManagerStatePoweredOn";
+ }
+ return [NSString stringWithFormat:@"CBCentralManagerState Unknown(%ld)", (long)state];
+}
+
+@interface GNSCentralManager () {
+ NSString *_advertisedName;
+ CBUUID *_advertisedServiceUUID;
+ NSArray<CBUUID *> *_advertisedServiceUUIDs;
+ CBCentralManager *_cbCentralManager;
+ NSMapTable *_centralPeerManagers;
+ BOOL _cbCentralScanStarted;
+ dispatch_queue_t _queue;
+}
+
+@end
+
+@implementation GNSCentralManager
+
++ (CBCentralManager *)centralManagerWithDelegate:(id<CBCentralManagerDelegate>)delegate
+ queue:(nullable dispatch_queue_t)queue
+ options:(nullable NSDictionary<NSString *, id> *)options {
+ return [[CBCentralManager alloc] initWithDelegate:delegate queue:queue options:options];
+}
+
+- (instancetype)init {
+ [self doesNotRecognizeSelector:_cmd];
+ return nil;
+}
+
+- (nullable instancetype)initWithSocketServiceUUID:(CBUUID *)socketServiceUUID
+ queue:(dispatch_queue_t)queue {
+ NSAssert(socketServiceUUID, @"Cannot create a GNSCentralManager with nil service UUID.");
+ self = [super init];
+ if (self) {
+ _socketServiceUUID = socketServiceUUID;
+ _queue = queue;
+ _cbCentralManager = [[self class]
+ centralManagerWithDelegate:self
+ queue:queue
+ options:@{CBCentralManagerOptionShowPowerAlertKey : @NO}];
+ _centralPeerManagers = [NSMapTable strongToWeakObjectsMapTable];
+ }
+ return self;
+}
+
+- (nullable instancetype)initWithSocketServiceUUID:(CBUUID *)socketServiceUUID {
+ return [self initWithSocketServiceUUID:socketServiceUUID queue:dispatch_get_main_queue()];
+}
+
+- (void)dealloc {
+ _cbCentralManager.delegate = nil;
+}
+
+- (void)startScanWithAdvertisedName:(nullable NSString *)advertisedName
+ advertisedServiceUUID:(nullable CBUUID *)advertisedServiceUUID {
+ NSAssert(_cbCentralManager, @"CBCentralManager not created.");
+ if (_scanning) {
+ return;
+ }
+ _advertisedServiceUUID = advertisedServiceUUID;
+ _advertisedName = advertisedName;
+ _scanning = YES;
+ if (_cbCentralManager.state == CBCentralManagerStatePoweredOn) {
+ [self startCBScan];
+ }
+}
+
+- (void)startScanWithAdvertisedServiceUUIDs:(nullable NSArray<CBUUID *> *)advertisedServiceUUIDs {
+ NSAssert(_cbCentralManager, @"CBCentralManager not created.");
+ if (_scanning) {
+ return;
+ }
+ [self startNoScanModeWithAdvertisedServiceUUIDs:_advertisedServiceUUIDs];
+ _scanning = YES;
+ if (_cbCentralManager.state == CBCentralManagerStatePoweredOn) {
+ [self startCBScan];
+ }
+}
+
+- (void)stopScan {
+ if (!_scanning) {
+ return;
+ }
+ _advertisedName = nil;
+ if (_cbCentralScanStarted) {
+ [self stopCBScan];
+ }
+ _scanning = NO;
+ [self stopNoScanMode];
+}
+
+- (void)startNoScanModeWithAdvertisedServiceUUIDs:
+ (nullable NSArray<CBUUID *> *)advertisedServiceUUIDs {
+ _advertisedServiceUUIDs = [advertisedServiceUUIDs copy];
+}
+
+- (void)retrievePeripheralWithIdentifier:(NSUUID *)identifier
+ advertisementData:(nonnull NSDictionary<NSString *, id> *)advertisementData {
+ NSArray<CBPeripheral *> *peripherals =
+ [_cbCentralManager retrievePeripheralsWithIdentifiers:@[identifier]];
+ if (peripherals.count > 0) {
+ [self centralManager:_cbCentralManager
+ didDiscoverPeripheral:peripherals[0]
+ advertisementData:advertisementData
+ RSSI:@(127)]; // RSSI not available
+ }
+}
+
+- (void)stopNoScanMode {
+ _advertisedServiceUUIDs = nil;
+}
+
+- (nullable GNSCentralPeerManager *)retrieveCentralPeerWithIdentifier:(NSUUID *)identifier {
+ NSAssert(_cbCentralManager, @"CBCentralManager not created.");
+ NSAssert(identifier, @"Should have an identifier, self: %@", self);
+ GNSCentralPeerManager *peerManager = [_centralPeerManagers objectForKey:identifier];
+ if (peerManager) {
+ GTMLoggerAssert(@"Previous GNSCentralPeerManager still alive, self: %@, peer manager: %@", self,
+ peerManager);
+ return nil;
+ }
+ NSArray<CBPeripheral *> *peripherals =
+ [_cbCentralManager retrievePeripheralsWithIdentifiers:@[ identifier ]];
+ for (CBPeripheral *peripheral in peripherals) {
+ if ([peripheral.identifier isEqual:identifier]) {
+ peerManager = [self createCentralPeerManagerWithPeripheral:peripheral];
+ [_centralPeerManagers setObject:peerManager forKey:identifier];
+ return peerManager;
+ }
+ }
+ GTMLoggerError(@"CBPeripheral not found, self: %@, identifier %@, peripherals %@", self,
+ identifier, peripherals);
+ return nil;
+}
+
+- (CBCentralManagerState)cbCentralManagerState {
+ // Cast to avoid some warnings in XCode 8. When Xcode 8 is the default
+ // swap CBCentralManagerState for CBManagerState.
+ return (CBCentralManagerState)_cbCentralManager.state;
+}
+
+- (NSString *)description {
+ return [NSString stringWithFormat:@"<%@: %p, socket service UUID: %@, advertised name: %@, "
+ @"scanning: %@, central scan started: %@, bluetooth state %@, "
+ @"CBCentralManager %@, peer managers: %@>",
+ NSStringFromClass([self class]), self, _socketServiceUUID,
+ _advertisedName, _scanning ? @"YES" : @"NO",
+ _cbCentralScanStarted ? @"YES" : @"NO",
+ CentralManagerStateString([self cbCentralManagerState]),
+ _cbCentralManager, _centralPeerManagers];
+}
+
+#pragma mark - Private
+
+- (void)startCBScan {
+ if (_cbCentralScanStarted) {
+ return;
+ }
+ _cbCentralScanStarted = YES;
+ // CBCentralManagerScanOptionAllowDuplicatesKey has to be set to YES. There are some cases where
+ // CoreBluetooth never discovers the phone if the setup mode on the phone is enable after opening
+ // the setup window on OS X.
+ // The drawback is the same CBPeripheral is discovered several times per second.
+ NSDictionary<NSString *, id> *options = @{CBCentralManagerScanOptionAllowDuplicatesKey : @YES};
+ if (_advertisedName) {
+ GTMLoggerInfo(@"Start scanning for all peripherals. Filter peripherals with advertised "
+ "service UUID %@ or advertised name %@.",
+ [_socketServiceUUID UUIDString], _advertisedName);
+ [_cbCentralManager scanForPeripheralsWithServices:nil options:options];
+ } else if (_advertisedServiceUUID) {
+ // Not logging this case to avoid spamming the logs.
+ [_cbCentralManager scanForPeripheralsWithServices:@[ _advertisedServiceUUID ] options:options];
+ } else if (_advertisedServiceUUIDs) {
+ // Not logging this case to avoid spamming the logs.
+ [_cbCentralManager scanForPeripheralsWithServices:_advertisedServiceUUIDs options:options];
+ } else {
+ GTMLoggerInfo(@"Start scanning for all peripherals.");
+ [_cbCentralManager scanForPeripheralsWithServices:nil options:options];
+ }
+}
+
+- (void)stopCBScan {
+ if (!_cbCentralScanStarted) {
+ return;
+ }
+ _cbCentralScanStarted = NO;
+ [_cbCentralManager stopScan];
+}
+
+- (void)peripheralDisconnected:(CBPeripheral *)peripheral withError:(NSError *)error {
+ NSAssert(peripheral.state == CBPeripheralStateDisconnected,
+ @"Peripheral should be disconnected %@", peripheral);
+ GNSCentralPeerManager *peerManager = [self centralPeerForPeripheral:peripheral];
+ if (peerManager) {
+ [peerManager bleDisconnectedWithError:error];
+ }
+}
+
+- (void)connectPeripheralForPeer:(GNSCentralPeerManager *)peer
+ options:(nullable NSDictionary<NSString *, id> *)options {
+ GTMLoggerInfo(@"Connect peer %@ options %@", peer, options);
+ [_cbCentralManager connectPeripheral:peer.cbPeripheral options:options];
+}
+
+- (void)cancelPeripheralConnectionForPeer:(GNSCentralPeerManager *)peer {
+ GTMLoggerInfo(@"Cancel peer connection %@", peer);
+ [_cbCentralManager cancelPeripheralConnection:peer.cbPeripheral];
+}
+
+- (void)centralPeerManagerDidDisconnect:(GNSCentralPeerManager *)peer {
+ GTMLoggerInfo(@"Central manager removing central peer manager, central manager: %@, peer %@",
+ self, peer);
+ if (peer.cbPeripheral.state != CBPeripheralStateDisconnected) {
+ GTMLoggerInfo(@"Unexpected peripheral state %@", peer.cbPeripheral);
+ }
+}
+
+- (CBCentralManager *)cbCentralManager {
+ return _cbCentralManager;
+}
+
+- (GNSCentralPeerManager *)createCentralPeerManagerWithPeripheral:(CBPeripheral *)peripheral {
+ return [[GNSCentralPeerManager alloc]
+ initWithPeripheral:peripheral centralManager:self queue:_queue];
+}
+
+- (GNSCentralPeerManager *)centralPeerForPeripheral:(CBPeripheral *)peripheral {
+ NSParameterAssert(peripheral);
+ GNSCentralPeerManager *peerManager = [_centralPeerManagers objectForKey:peripheral.identifier];
+ if (!peerManager) {
+ GTMLoggerDebug(@"No peer manager found for peripheral %@", peripheral);
+ return nil;
+ }
+ if (peerManager.cbPeripheral != peripheral) {
+ // There is a peer manager with a different peripheral object than |peripheral|, but with the
+ // same identifier. Something really wrong happened in CoreBluetooth here.
+ GTMLoggerError(@"Peer Manager %@ has a different peripheral than %@ [CentralManager = %@]",
+ peerManager, peripheral, self);
+ return nil;
+ }
+ return peerManager;
+}
+
+#pragma mark - CBCentralManagerDelegate
+
+- (void)centralManagerDidUpdateState:(CBCentralManager *)central {
+ NSAssert(central == _cbCentralManager, @"Wrong peripheral manager.");
+ GTMLoggerInfo(@"CoreBluetooth state: %@",
+ CentralManagerStateString([self cbCentralManagerState]));
+ switch (central.state) {
+ case CBCentralManagerStatePoweredOn: {
+ if (_scanning) {
+ [self startCBScan];
+ }
+ break;
+ }
+ case CBCentralManagerStatePoweredOff:
+ case CBCentralManagerStateResetting:
+ case CBCentralManagerStateUnauthorized:
+ case CBCentralManagerStateUnsupported:
+ case CBCentralManagerStateUnknown:
+ [self stopCBScan];
+ break;
+ }
+ [_delegate centralManagerDidUpdateBleState:self];
+ for (GNSCentralPeerManager *peerManager in _centralPeerManagers.objectEnumerator) {
+ [peerManager cbCentralManagerStateDidUpdate];
+ }
+}
+
+- (void)centralManager:(CBCentralManager *)central
+ didDiscoverPeripheral:(CBPeripheral *)peripheral
+ advertisementData:(NSDictionary<NSString *, id> *)advertisementData
+ RSSI:(NSNumber *)RSSI {
+ // This method can be called several times per second since
+ // CBCentralManagerScanOptionAllowDuplicatesKey is set to YES. Therefore, don't log.
+ NSArray<CBUUID *> *advertisedServiceUUIDs = advertisementData[CBAdvertisementDataServiceUUIDsKey];
+ NSString *advertisedName = advertisementData[CBAdvertisementDataLocalNameKey];
+ BOOL noAdvertisementFilter = !_advertisedServiceUUID && !_advertisedName;
+ if (noAdvertisementFilter || [advertisedServiceUUIDs containsObject:_advertisedServiceUUID] ||
+ [_advertisedName isEqualToString:advertisedName]) {
+ NSUUID *identifier = peripheral.identifier;
+ GNSCentralPeerManager *peerManager = [_centralPeerManagers objectForKey:identifier];
+ if (!peerManager) {
+ GTMLoggerInfo(@"Discovered peer peripheral %@", peripheral);
+ peerManager = [self createCentralPeerManagerWithPeripheral:peripheral];
+ [_centralPeerManagers setObject:peerManager forKey:identifier];
+ [_delegate centralManager:self
+ didDiscoverPeer:peerManager
+ advertisementData:advertisementData];
+ }
+ }
+}
+
+- (void)centralManager:(CBCentralManager *)central didConnectPeripheral:(CBPeripheral *)peripheral {
+ NSAssert(central == _cbCentralManager, @"Unexpected central manager");
+ GTMLoggerInfo(@"Connected to %@", peripheral);
+ GNSCentralPeerManager *peerManager = [self centralPeerForPeripheral:peripheral];
+ if (!peerManager) {
+ GTMLoggerError(
+ @"No peer manager found for connected peripheral %@. Cancel peripheral connection",
+ peripheral);
+ [_cbCentralManager cancelPeripheralConnection:peripheral];
+ return;
+ }
+ [peerManager bleConnected];
+}
+
+- (void)centralManager:(CBCentralManager *)central
+ didFailToConnectPeripheral:(CBPeripheral *)peripheral
+ error:(nullable NSError *)error {
+ NSAssert(central == _cbCentralManager, @"Unexpected central manager");
+ GTMLoggerInfo(@"Fail to connect to %@, error %@", peripheral, error);
+ [self peripheralDisconnected:peripheral withError:error];
+}
+
+- (void)centralManager:(CBCentralManager *)central
+ didDisconnectPeripheral:(CBPeripheral *)peripheral
+ error:(nullable NSError *)error {
+ NSAssert(central == _cbCentralManager, @"Unexpected central manager");
+ GTMLoggerInfo(@"Did disconnect %@, error %@", peripheral, error);
+ [self peripheralDisconnected:peripheral withError:error];
+}
+
+@end
+
+@implementation GNSCentralManager (VisibleForTesting)
+
+- (CBCentralManager *)testing_cbCentralManager {
+ return _cbCentralManager;
+}
+
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager+Private.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager+Private.h
new file mode 100644
index 00000000000..b99a572b24c
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager+Private.h
@@ -0,0 +1,73 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager.h"
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket+Private.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class CBPeripheral;
+@class GNSCentralManager;
+
+@interface GNSCentralPeerManager ()<GNSSocketOwner, CBPeripheralDelegate>
+
+@property(nonatomic, readonly) CBPeripheral *cbPeripheral;
+
+/**
+ * Creates a new instance of GNSCentralPeerManager. Should only be used by GNSCentralManager.
+ *
+ * @param peripheral CoreBluetooth peripheral instance
+ * @param centralManager Central manager
+ * @param queue The queue this object is called on and callbacks are made on.
+ *
+ * @return GNSCentralPeerManager instance.
+ */
+- (nullable instancetype)initWithPeripheral:(CBPeripheral *)peripheral
+ centralManager:(GNSCentralManager *)centralManager
+ queue:(dispatch_queue_t)queue
+ NS_DESIGNATED_INITIALIZER;
+
+/**
+ * Creates a new instance of GNSCentralPeerManager using the main queue for callbacks.
+ */
+- (nullable instancetype)initWithPeripheral:(CBPeripheral *)peripheral
+ centralManager:(GNSCentralManager *)centralManager;
+
+/**
+ * Called by the central manager when the peripheral is connected with BLE.
+ */
+- (void)bleConnected;
+
+/**
+ * Called by the central manager when the peripheral is disconnected from BLE.
+ *
+ * @param error Error while being disconnected.
+ */
+- (void)bleDisconnectedWithError:(nullable NSError *)error;
+
+/**
+ * Called by the central manager when the bluetooth state changes.
+ */
+- (void)cbCentralManagerStateDidUpdate;
+
+@end
+
+@interface GNSCentralPeerManager (TestingHelpers)
+
+- (NSTimer *)testing_connectionConfirmTimer;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager.h
new file mode 100644
index 00000000000..8f640409228
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager.h
@@ -0,0 +1,99 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+@class CBUUID;
+@class GNSCentralPeerManager;
+@class GNSSocket;
+
+typedef void (^GNSCentralSocketCompletion)(GNSSocket *socket, NSError *error);
+typedef void (^GNSPairingCompletion)(BOOL pairing, NSError *error);
+typedef void (^GNSReadRRSIValueCompletion)(NSNumber *rssi, NSError *error);
+
+/**
+ * This class manage one CBPeripheral. It can only manage one service. The service UUID is set
+ * by GNSCentralManager. The GNSCentralPeerManager instance is created by GNSCentralManager.
+ * From this class a socket can be created using -[GNSCentralPeerManager socketWithCompletion:].
+ * See GNSCentralManager header for more information.
+ *
+ * This class is not thread-safe.
+ */
+@interface GNSCentralPeerManager : NSObject
+
+/**
+ * MTU value. The default is 100.
+ */
+@property(nonatomic) NSUInteger socketMaximumUpdateValueLength;
+
+/**
+ * Peer identifier.
+ */
+@property(nonatomic, readonly) NSUUID *identifier;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+/**
+ * Creates the socket. When the socket is created and ready to use, |completion| is called. |data|
+ * is sent during the connection handshake, and is going to be treated as the first message on the
+ * peripheral/server, as established by the Weave BLE protocol. |data| can contain at most 13 bytes.
+ *
+ * If the socket fails to be created |completion| is called with an error. This method should be
+ * called once until the completion is called, otherwise |completion| will be called with an
+ * operation in progress error.
+ *
+ * @param handshakeData Data sent during the connection handshake. Should contain at most 13 bytes.
+ * @param pairingCharacteristic If YES, peripheral need to have the pairing characteristic in order
+ * to get the socket. The pairing characteristic is required to trigger the pairing.
+ * @param completion Handler called when the socket is created or failed to be created. It is
+ * guaranteed that either the socket or the error passed to |completion| are not nil.
+ */
+- (void)socketWithHandshakeData:(NSData *)handshakeData
+ pairingCharacteristic:(BOOL)hasPairingCharacteristic
+ completion:(GNSCentralSocketCompletion)completion;
+
+/**
+ * See -[GNSCentralPeerManager socketWithHandshakeData:pairingCharacteristic:completion:].
+ */
+- (void)socketWithPairingCharacteristic:(BOOL)shouldAddPairingCharacteristics
+ completion:(GNSCentralSocketCompletion)completion;
+
+/**
+ * Cancel the pending socket request, if any. |completion| (passed in
+ * |socketWithPairingCharacteristic:completion:|) will be called (with a nil socket) when the
+ * pending socket request is successfully cancelled (and disconnected).
+ *
+ * Note that, after calling |cancelPendingSocket| is still necessary to wait for the |completion|
+ * (passed in a previous |socketWithPairingCharacteristic:completion:| invocation) to be called
+ * before calling |socketWithPairingCharacteristic:completion:| again.
+ */
+- (void)cancelPendingSocket;
+
+/**
+ * Triggers pairing between the central and the peripheral. The socket must have been generated
+ * with pairing characteristic. The completion has to be called before calling this method again.
+ *
+ * @param completion Completion called when the pairing has failed or succeed.
+ */
+- (void)startBluetoothPairingWithCompletion:(GNSPairingCompletion)completion;
+
+/**
+ * Retrieve the RSSI value while the central peer is connected. If a completion is pending while
+ * this method is called again, the second completion will be added.
+ *
+ * @param completion Called when the value is available. Cannot be nil.
+ */
+- (void)readRSSIWithCompletion:(GNSReadRRSIValueCompletion)completion;
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager.m b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager.m
new file mode 100644
index 00000000000..92cb2a36b0f
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager.m
@@ -0,0 +1,766 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager+Private.h"
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager+Private.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket+Private.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils+Private.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSWeavePacket.h"
+#import "GoogleToolboxForMac/GTMLogger.h"
+
+static const NSTimeInterval kMaxConnectionConfirmWaitTimeInSeconds = 2;
+static const NSTimeInterval kPeripheralFailedToConnectTimeout = 5.0;
+static const NSTimeInterval kChracteristicWriteTimeoutInSeconds = 0.5;
+
+// The Weave BLE protocol has only one valid version.
+static const UInt16 kWeaveVersionSupported = 1;
+
+typedef NS_ENUM(NSInteger, GNSCentralPeerManagerState) {
+ GNSCentralPeerManagerStateNotConnected = 0,
+ GNSCentralPeerManagerStateBleConnecting = 1,
+ GNSCentralPeerManagerStateBleConnected = 2,
+ GNSCentralPeerManagerStateDiscoveringService = 3,
+ GNSCentralPeerManagerStateDiscoveringCharacteristic = 4,
+ GNSCentralPeerManagerStateSettingNotifications = 5,
+ GNSCentralPeerManagerStateSocketCommunication = 6,
+ // "BLEDisconnecting" is optional. If CoreBluetooth notifies that the central is disconnected,
+ // the state will switch from any state to "NotConnected" without going through
+ // "BLEDisconnecting".
+ GNSCentralPeerManagerStateBleDisconnecting = 7,
+};
+
+typedef void (^GNSCentralPeerManagerDiscoverCharacteristicsCallback)(NSError *error);
+
+static NSUInteger gGNSCentralPeerManagerMaximumUpdateValue = 100;
+
+static NSString *StateDescription(GNSCentralPeerManagerState state) {
+ switch (state) {
+ case GNSCentralPeerManagerStateNotConnected:
+ return @"Not connected";
+ case GNSCentralPeerManagerStateBleConnecting:
+ return @"BLE Connecting";
+ case GNSCentralPeerManagerStateBleConnected:
+ return @"BLE Connected";
+ case GNSCentralPeerManagerStateDiscoveringService:
+ return @"Discovering service";
+ case GNSCentralPeerManagerStateDiscoveringCharacteristic:
+ return @"Discovering characteristics";
+ case GNSCentralPeerManagerStateSettingNotifications:
+ return @"Setting characteristic notification";
+ case GNSCentralPeerManagerStateSocketCommunication:
+ return @"Socket communication";
+ case GNSCentralPeerManagerStateBleDisconnecting:
+ return @"BLE Disconnecting";
+ }
+ return @"Unknown";
+}
+
+static NSString *PeripheralStateString(CBPeripheralState state) {
+ switch (state) {
+ case CBPeripheralStateDisconnected:
+ return @"CBPeripheralStateDisconnected";
+ case CBPeripheralStateConnecting:
+ return @"CBPeripheralStateConnecting";
+ case CBPeripheralStateConnected:
+ return @"CBPeripheralStateConnected";
+ case CBPeripheralStateDisconnecting:
+ return @"CBPeripheralStateDisconnecting";
+ }
+ return [NSString stringWithFormat:@"CBPeripheralState Unknown (%ld)", (long)state];
+}
+
+@interface GNSCentralPeerManager ()<GNSWeavePacketHandler>
+@property(nonatomic) GNSCentralPeerManagerState state;
+@property(nonatomic) GNSCentralManager *centralManager;
+@property(nonatomic) dispatch_queue_t queue;
+@property(nonatomic) int indexOfServiceToCheck;
+@property(nonatomic) CBService *socketService;
+@property(nonatomic) CBCharacteristic *outgoingChar;
+@property(nonatomic) CBCharacteristic *incomingChar;
+@property(nonatomic) CBCharacteristic *pairingChar;
+@property(nonatomic, weak) GNSSocket *socket;
+@property(nonatomic) GNSCentralSocketCompletion discoveringServiceSocketCompletion;
+@property(nonatomic) BOOL shouldAddPairingCharacteristic;
+@property(nonatomic) GNSPairingCompletion pairingCompletion;
+@property(nonatomic) NSMutableArray<GNSReadRRSIValueCompletion> *readRSSIValueCompletions;
+@property(nonatomic) NSError *disconnectedError;
+@property(nonatomic) NSData *connectionRequestData;
+@property(nonatomic) NSDate *startConnectionTime;
+
+// This timer is scheduled right after the connection request packet is sent, and fires if no
+// connection confirm packet is received before |kMaxConnectionConfirmWaitTimeInSeconds|.
+@property(nonatomic) NSTimer *connectionConfirmTimer;
+
+// The completion of a write-with-response to peripheral; nil if none is in progress.
+@property(nonatomic) GNSErrorHandler dataWriteCompletion;
+@end
+
+@implementation GNSCentralPeerManager
+
+@synthesize cbPeripheral = _cbPeripheral;
+
+// Used for testing. A test subclass can override this method so a mock timer can be returned.
++ (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)timeInterval
+ target:(id)target
+ selector:(SEL)selector
+ userInfo:(nullable id)userInfo
+ repeats:(BOOL)yesOrNo {
+ return [NSTimer scheduledTimerWithTimeInterval:timeInterval
+ target:target
+ selector:selector
+ userInfo:userInfo
+ repeats:yesOrNo];
+}
+
+- (instancetype)initWithPeripheral:(CBPeripheral *)peripheral
+ centralManager:(GNSCentralManager *)centralManager
+ queue:(dispatch_queue_t)queue {
+ self = [super init];
+ if (self) {
+ _cbPeripheral = peripheral;
+ _cbPeripheral.delegate = self;
+ _centralManager = centralManager;
+ _queue = queue;
+ _socketMaximumUpdateValueLength = gGNSCentralPeerManagerMaximumUpdateValue;
+ _state = GNSCentralPeerManagerStateNotConnected;
+ GTMLoggerInfo(@"Peripheral %@", _cbPeripheral);
+ }
+ return self;
+}
+
+- (instancetype)initWithPeripheral:(CBPeripheral *)peripheral
+ centralManager:(GNSCentralManager *)centralManager {
+ return [self initWithPeripheral:peripheral
+ centralManager:centralManager
+ queue:dispatch_get_main_queue()];
+}
+
+- (void)dealloc {
+ GTMLoggerDebug(@"Dealloc CentralPeerManager with _cbPeripheral %@", _cbPeripheral);
+ _cbPeripheral.delegate = nil;
+ if (_cbPeripheral.state != CBPeripheralStateDisconnected) {
+ [_centralManager cancelPeripheralConnectionForPeer:self];
+ }
+}
+
+- (void)socketWithHandshakeData:(NSData *)handshakeData
+ pairingCharacteristic:(BOOL)hasPairingCharacteristic
+ completion:(GNSCentralSocketCompletion)completion {
+ NSAssert(handshakeData.length <= kGNSMaxCentralHandshakeDataSize, @"Handshake data is too large");
+ _connectionRequestData = handshakeData;
+ [self socketWithPairingCharacteristic:hasPairingCharacteristic completion:completion];
+}
+
+- (void)socketWithPairingCharacteristic:(BOOL)shouldAddPairingCharacteristics
+ completion:(GNSCentralSocketCompletion)completion {
+ GTMLoggerInfo(@"Request socket %@", self);
+ if (_state != GNSCentralPeerManagerStateNotConnected) {
+ GTMLoggerInfo(@"There is a pending socket request");
+ if (completion) {
+ dispatch_async(_queue, ^{
+ completion(nil, GNSErrorWithCode(GNSErrorOperationInProgress));
+ });
+ }
+ return;
+ }
+ _shouldAddPairingCharacteristic = shouldAddPairingCharacteristics;
+ _discoveringServiceSocketCompletion = completion;
+ [self bleConnect];
+}
+
+- (void)cancelPendingSocket {
+ if (_discoveringServiceSocketCompletion == nil) {
+ GTMLoggerInfo(@"No pending socket, current socket: %@", _socket);
+ return;
+ }
+ GTMLoggerInfo(@"Cancelling pending socket");
+ NSError *cancelPendingSocketRequested = GNSErrorWithCode(GNSErrorCancelPendingSocketRequested);
+ [self disconnectingWithError:cancelPendingSocketRequested];
+}
+
+- (void)startBluetoothPairingWithCompletion:(GNSPairingCompletion)completion {
+ NSAssert(_socket, @"Peer socket should have been created.");
+ NSAssert(!_pairingCompletion, @"Pairing already pending.");
+ NSAssert(_pairingChar, @"No a pairing characteristic available.");
+ _pairingCompletion = completion;
+ [_cbPeripheral readValueForCharacteristic:_pairingChar];
+}
+
+- (NSUUID *)identifier {
+ return _cbPeripheral.identifier;
+}
+
+- (void)readRSSIWithCompletion:(GNSReadRRSIValueCompletion)completion {
+ NSAssert(completion, @"Completion cannot be nil");
+ if (![self isBLEConnected]) {
+ NSAssert(!_readRSSIValueCompletions, @"Should not have pending RSSI completions.");
+ dispatch_async(_queue, ^{ completion(nil, GNSErrorWithCode(GNSErrorNoConnection)); });
+ return;
+ }
+ if (!_readRSSIValueCompletions) {
+ [_cbPeripheral readRSSI];
+ _readRSSIValueCompletions = [NSMutableArray array];
+ }
+ [_readRSSIValueCompletions addObject:completion];
+}
+
+- (NSString *)description {
+ return [NSString stringWithFormat:@"<%@: %p, state: \"%@\", peripheral identifier: %@, "
+ @"peripheral state: %@, peripheral: %@>",
+ [self class], self, StateDescription(_state),
+ _cbPeripheral.identifier.UUIDString,
+ PeripheralStateString(_cbPeripheral.state), _cbPeripheral];
+}
+
+#pragma mark - Private
+
+- (void)bleConnect {
+ GTMLoggerInfo(@"BLE connection started.");
+ _startConnectionTime = [NSDate date];
+
+ _state = GNSCentralPeerManagerStateBleConnecting;
+ if (_centralManager.cbCentralManagerState == CBCentralManagerStatePoweredOn) {
+ NSDictionary<NSString *, id> *options = @{
+ CBConnectPeripheralOptionNotifyOnDisconnectionKey : @YES,
+#if TARGET_OS_IPHONE
+ CBConnectPeripheralOptionNotifyOnConnectionKey : @YES,
+ CBConnectPeripheralOptionNotifyOnNotificationKey : @YES,
+#endif
+ };
+ [_centralManager connectPeripheralForPeer:self options:options];
+
+ // Workaround for an apparent Core Bluetooth problem: Either -didConnectPeripheral or
+ // -didFailToConnectPeripheral should be called at this point, but sometimes neither is called.
+ // In this case, report a timeout error.
+ __weak __typeof__(self) weakSelf = self;
+ dispatch_after(
+ dispatch_time(DISPATCH_TIME_NOW, (int64_t)(kPeripheralFailedToConnectTimeout * NSEC_PER_SEC)),
+ _queue, ^{
+ __typeof__(self) strongSelf = weakSelf;
+ if (!strongSelf) return;
+ if (strongSelf.state == GNSCentralPeerManagerStateBleConnecting) {
+ GTMLoggerInfo(@"Timed out trying to connect to peripheral: %@", strongSelf.cbPeripheral);
+ [strongSelf.centralManager cancelPeripheralConnectionForPeer:self];
+ [strongSelf bleDisconnectedWithError:GNSErrorWithCode(GNSErrorConnectionTimedOut)];
+ }
+ });
+ }
+}
+
+- (void)bleConnected {
+ if (_cbPeripheral.state != CBPeripheralStateConnected) {
+ GTMLoggerInfo(@"Unexpected peripheral state: %ld", (long)_cbPeripheral.state);
+ }
+ GTMLoggerInfo(@"BLE connected. Elapsed time: %f",
+ [[NSDate date] timeIntervalSinceDate:_startConnectionTime]);
+ if (_state != GNSCentralPeerManagerStateBleConnecting) {
+ GTMLoggerInfo(@"Should not be connected with %@ when in %@ state", _cbPeripheral,
+ StateDescription(_state));
+ return;
+ }
+ GTMLoggerInfo(@"BLE connected, peripheral: %@", _cbPeripheral);
+ [self discoverService];
+}
+
+- (void)bleDisconnectedWithError:(NSError *)error {
+ GTMLoggerInfo(@"BLE disconnected, peripheral: %@", _cbPeripheral);
+ if (_state == GNSCentralPeerManagerStateNotConnected) {
+ return;
+ } else {
+ if (!_disconnectedError) {
+ _disconnectedError = error;
+ }
+ [_connectionConfirmTimer invalidate];
+ _connectionConfirmTimer = nil;
+ [self bleDisconnected];
+ }
+}
+
+- (void)cbCentralManagerStateDidUpdate {
+ if (_centralManager.cbCentralManagerState == CBCentralManagerStatePoweredOn &&
+ _state == GNSCentralPeerManagerStateBleConnecting) {
+ [self bleConnect];
+ }
+}
+
+- (void)disconnectingWithError:(NSError *)error {
+ if (error) {
+ GTMLoggerInfo(@"Disconnected with error: %@, peripheral: %@", error, _cbPeripheral);
+ } else {
+ GTMLoggerInfo(@"Disconnected from peripheral: %@", _cbPeripheral);
+ }
+ [_connectionConfirmTimer invalidate];
+ _connectionConfirmTimer = nil;
+ _connectionRequestData = nil;
+ _disconnectedError = error;
+
+ // If there is a pending characteristic write, call the completion.
+ [self callDataWriteCompletionWithError:GNSErrorWithCode(GNSErrorLostConnection)];
+
+ [self cleanRSSICompletionAfterDisconnectionWithError:error];
+ _state = GNSCentralPeerManagerStateBleDisconnecting;
+ if (_cbPeripheral.state != CBPeripheralStateDisconnected) {
+ [_centralManager cancelPeripheralConnectionForPeer:self];
+ } else {
+ [self bleDisconnected];
+ }
+}
+
+- (void)bleDisconnected {
+ GTMLoggerInfo(@"BLE Disconnected %@", _cbPeripheral);
+ if (_cbPeripheral.state != CBPeripheralStateDisconnected) {
+ GTMLoggerInfo(@"Unexpected peripheral state: %ld", (long)_cbPeripheral.state);
+ }
+ NSAssert(_cbPeripheral.delegate == self, @"Self = %@ should be the delegate of %@", self,
+ _cbPeripheral);
+
+ // Clean-up this peer manager.
+ [_centralManager centralPeerManagerDidDisconnect:self];
+ GNSSocket *currentSocket = _socket;
+ _socketService = nil;
+ _socket = nil;
+ _state = GNSCentralPeerManagerStateNotConnected;
+
+ // Inform all interested parties that the peripheral is disconnected.
+ [self cleanRSSICompletionAfterDisconnectionWithError:_disconnectedError];
+ if (_discoveringServiceSocketCompletion) {
+ NSAssert(!_socket, @"Should not have a socket yet.");
+ if (!_disconnectedError) {
+ _disconnectedError = GNSErrorWithCode(GNSErrorNoConnection);
+ }
+ GNSCentralSocketCompletion completion = _discoveringServiceSocketCompletion;
+ _discoveringServiceSocketCompletion = nil;
+ dispatch_async(_queue, ^{ completion(nil, _disconnectedError); });
+ } else if (currentSocket) {
+ [currentSocket didDisconnectWithError:_disconnectedError];
+ }
+}
+
+- (void)discoverService {
+ _state = GNSCentralPeerManagerStateDiscoveringService;
+ CBUUID *serviceUUID = _centralManager.socketServiceUUID;
+ GTMLoggerInfo(@"Discover service %@ on peripheral: %@", serviceUUID, _cbPeripheral);
+ NSArray<CBUUID *> *servicesToDiscover = @[ serviceUUID ];
+ [_cbPeripheral discoverServices:servicesToDiscover];
+}
+
+- (void)discoverCharacteristics {
+ if (_cbPeripheral.services.count == 0) return;
+ GTMLoggerInfo(@"Discover characteristics, peer manager %@", self);
+ NSMutableArray<CBUUID *> *characteristics = [NSMutableArray
+ arrayWithObjects:[CBUUID UUIDWithString:kGNSWeaveToPeripheralCharUUIDString],
+ [CBUUID UUIDWithString:kGNSWeaveFromPeripheralCharUUIDString], nil];
+ if (_shouldAddPairingCharacteristic) {
+ [characteristics addObject:[CBUUID UUIDWithString:kGNSPairingCharUUIDString]];
+ }
+ [_cbPeripheral discoverCharacteristics:characteristics
+ forService:_cbPeripheral.services[_indexOfServiceToCheck]];
+}
+
+- (BOOL)findCharacteristicsFromService:(CBService *)service {
+ CBCharacteristic *outgoingChar = nil;
+ CBCharacteristic *incomingChar = nil;
+ CBCharacteristic *pairingChar = nil;
+ for (CBCharacteristic *characteristic in service.characteristics) {
+ if ([characteristic.UUID isEqual:[CBUUID UUIDWithString:kGNSWeaveToPeripheralCharUUIDString]]) {
+ outgoingChar = characteristic;
+ } else if ([characteristic.UUID
+ isEqual:[CBUUID UUIDWithString:kGNSWeaveFromPeripheralCharUUIDString]]) {
+ incomingChar = characteristic;
+ } else if ([characteristic.UUID isEqual:[CBUUID UUIDWithString:kGNSPairingCharUUIDString]]) {
+ pairingChar = characteristic;
+ }
+ }
+ if (!outgoingChar || !incomingChar || (_shouldAddPairingCharacteristic && !pairingChar)) {
+ return NO;
+ }
+ _incomingChar = incomingChar;
+ _outgoingChar = outgoingChar;
+ _pairingChar = pairingChar;
+ return YES;
+}
+
+- (void)setCharacteristicNotification {
+ NSAssert(_incomingChar, @"Should have found incoming characteristic");
+ _state = GNSCentralPeerManagerStateSettingNotifications;
+ [_cbPeripheral setNotifyValue:YES forCharacteristic:_incomingChar];
+}
+
+- (CBPeripheral *)cbPeripheral {
+ return _cbPeripheral;
+}
+
+// If error is nil, kGNSNoConnection |error| is passed to the rssi completion.
+- (void)cleanRSSICompletionAfterDisconnectionWithError:(NSError *)error {
+ if (_readRSSIValueCompletions) {
+ NSError *rssiCompletionError = error;
+ if (rssiCompletionError) {
+ rssiCompletionError = GNSErrorWithCode(GNSErrorNoConnection);
+ }
+ [self callRSSICompletionWithRSSIValue:nil error:rssiCompletionError];
+ }
+}
+
+- (void)callRSSICompletionWithRSSIValue:(NSNumber *)rssiValue error:(NSError *)error {
+ NSArray<GNSReadRRSIValueCompletion> *completions = _readRSSIValueCompletions;
+ _readRSSIValueCompletions = nil;
+ for (GNSReadRRSIValueCompletion completion in completions) {
+ dispatch_async(_queue, ^{ completion(rssiValue, error); });
+ }
+}
+
+- (BOOL)isBLEConnected {
+ switch (_state) {
+ case GNSCentralPeerManagerStateNotConnected:
+ case GNSCentralPeerManagerStateBleConnecting:
+ return NO;
+ case GNSCentralPeerManagerStateBleConnected:
+ case GNSCentralPeerManagerStateDiscoveringService:
+ case GNSCentralPeerManagerStateDiscoveringCharacteristic:
+ case GNSCentralPeerManagerStateSettingNotifications:
+ case GNSCentralPeerManagerStateSocketCommunication:
+ case GNSCentralPeerManagerStateBleDisconnecting:
+ return YES;
+ }
+}
+
+- (void)timeOutConnectionForTimer:(NSTimer *)timer {
+ NSAssert(_state == GNSCentralPeerManagerStateSocketCommunication,
+ @"Timer (%@) fired on the wrong state. [self = %@]", _connectionConfirmTimer, self);
+ GTMLoggerInfo(@"Timing out %@ socket connection [self = %@].", _socket, self);
+ _connectionConfirmTimer = nil;
+ NSError *error = GNSErrorWithCode(GNSErrorConnectionTimedOut);
+ [self disconnectingWithError:error];
+}
+
+- (void)callDataWriteCompletionWithError:(NSError *)error {
+ if (_dataWriteCompletion) {
+ GNSErrorHandler dataWriteCompletion = _dataWriteCompletion; // tail call for reentrancy
+ _dataWriteCompletion = nil;
+ dispatch_async(_queue, ^{ dataWriteCompletion(error); });
+ }
+}
+
+#pragma mark - CBPeripheralDelegate
+
+- (void)peripheral:(CBPeripheral *)peripheral didDiscoverServices:(NSError *)error {
+ GTMLoggerInfo(@"BLE services discovered. Elapsed time: %f",
+ [[NSDate date] timeIntervalSinceDate:_startConnectionTime]);
+ if (_state != GNSCentralPeerManagerStateDiscoveringService) {
+ GTMLoggerInfo(@"Ignoring services discovered from %@ when in %@ state", _cbPeripheral,
+ StateDescription(_state));
+ return;
+ }
+ GTMLoggerInfo(@"Service discovered for %@, error: %@", self, error);
+ if (error) {
+ [self disconnectingWithError:error];
+ return;
+ }
+
+ // Multiple services may have the same UUID, so find the socket service by checking for the
+ // expected characteristics.
+ _indexOfServiceToCheck = 0;
+ _state = GNSCentralPeerManagerStateDiscoveringCharacteristic;
+ [self discoverCharacteristics];
+}
+
+- (void)peripheral:(CBPeripheral *)peripheral
+ didDiscoverCharacteristicsForService:(CBService *)service
+ error:(NSError *)error {
+ GTMLoggerInfo(@"BLE characteristics discovered. Elapsed time: %f",
+ [[NSDate date] timeIntervalSinceDate:_startConnectionTime]);
+ if (_state != GNSCentralPeerManagerStateDiscoveringCharacteristic) {
+ GTMLoggerInfo(@"Ignoring characteristics discovered from %@ when in %@ state", _cbPeripheral,
+ StateDescription(_state));
+ return;
+ }
+ GTMLoggerInfo(@"Characteristics discovered for service: %@, error: %@", service, error);
+ CBService *serviceBeingChecked = _cbPeripheral.services[_indexOfServiceToCheck];
+ NSAssert([service.UUID isEqual:serviceBeingChecked.UUID], @"Unknown service %@ %@",
+ service, serviceBeingChecked.UUID);
+ if (error) {
+ [self disconnectingWithError:error];
+ return;
+ }
+ if (![self findCharacteristicsFromService:serviceBeingChecked]) {
+ if (++_indexOfServiceToCheck == _cbPeripheral.services.count) {
+ // Didn't find the characteristics in any of the services.
+ NSError *missingCharacteristicError = GNSErrorWithCode(GNSErrorMissingCharacteristics);
+ [self disconnectingWithError:missingCharacteristicError];
+ } else {
+ // Check the next service in the list.
+ [self discoverCharacteristics];
+ }
+ return;
+ }
+ [self setCharacteristicNotification];
+}
+
+- (void)handleWeaveError:(GNSError)errorCode socket:(GNSSocket *)socket {
+ if (!socket) {
+ return;
+ }
+ NSAssert(socket == _socket, @"Wrong socket, socket = %@, _socket = %@.", socket, _socket);
+ NSError *error = GNSErrorWithCode(errorCode);
+ // Only send the error if we didn't already received an error packet.
+ if (errorCode != GNSErrorWeaveErrorPacketReceived) {
+ GNSWeaveErrorPacket *errorPacket =
+ [[GNSWeaveErrorPacket alloc] initWithPacketCounter:socket.sendPacketCounter];
+ [self sendPacket:errorPacket];
+ }
+ [self disconnectingWithError:error];
+}
+
+- (void)peripheral:(CBPeripheral *)peripheral
+ didUpdateValueForCharacteristic:(CBCharacteristic *)characteristic
+ error:(NSError *)error {
+ if (_state != GNSCentralPeerManagerStateSocketCommunication) {
+ GTMLoggerInfo(@"Ignoring data received from %@ when in %@ state", _cbPeripheral,
+ StateDescription(_state));
+ return;
+ }
+ NSAssert(peripheral == _cbPeripheral, @"Unknown peripheral.");
+ if ([characteristic.UUID isEqual:_pairingChar.UUID]) {
+ GNSPairingCompletion completion = _pairingCompletion;
+ _pairingCompletion = nil;
+ if (completion) dispatch_async(_queue, ^{ completion(error == nil, error); });
+ return;
+ }
+ NSAssert(characteristic == _incomingChar, @"Should read only from the incoming characteristic.");
+ NSAssert(_socket, @"Should have a socket in the %@ state", StateDescription(_state));
+ NSData *charValue = characteristic.value;
+ // Truncate the packet to expected size: |kGNSMinSupportedPacketSize| for the first packet and
+ // |socket.packetSize| for the rest.
+ NSUInteger truncatedSize = MIN(_socket.packetSize, charValue.length);
+ if (truncatedSize != charValue.length) {
+ GTMLoggerInfo(@"Packet with %ld bytes trucanted to %ld", (long)charValue.length,
+ (long)truncatedSize);
+ }
+ NSData *packetData = [charValue subdataWithRange:NSMakeRange(0, truncatedSize)];
+ NSError *parsingError = nil;
+ GNSWeavePacket *packet = [GNSWeavePacket parseData:packetData error:&parsingError];
+ if (!packet) {
+ GTMLoggerError(@"Error parsing Weave packet (error = %@).", parsingError);
+ [self handleWeaveError:GNSErrorParsingWeavePacket socket:_socket];
+ return;
+ }
+ if (packet.packetCounter != _socket.receivePacketCounter) {
+ GTMLoggerError(@"Wrong packet counter, [received %d, expected %d].", packet.packetCounter,
+ _socket.receivePacketCounter);
+ [self handleWeaveError:GNSErrorWrongWeavePacketCounter socket:_socket];
+ return;
+ }
+ [packet visitWithHandler:self context:nil];
+ [_socket incrementReceivePacketCounter];
+}
+
+- (void)peripheral:(CBPeripheral *)peripheral
+ didWriteValueForCharacteristic:(CBCharacteristic *)characteristic
+ error:(NSError *)error {
+ // Note: Avoid using |characteristic.value| here as it seems it is always nil.
+ if (error) {
+ GTMLoggerInfo(@"Characteristic write failed with error: %@", error);
+ [self disconnectingWithError:error];
+ } else {
+ GTMLoggerInfo(@"Characteristic write succeeded");
+ }
+ [self callDataWriteCompletionWithError:error];
+}
+
+// This method sends |packet| fitting a single characteristic write to |socket|. All packets sent by
+// this class (not the socket) must use this method.
+- (void)sendPacket:(GNSWeavePacket *)packet {
+ GTMLoggerInfo(@"Writing value to characteristic (internal)");
+ NSAssert(packet.packetCounter == _socket.sendPacketCounter, @"Wrong packet counter.");
+ [_cbPeripheral writeValue:[packet serialize]
+ forCharacteristic:_outgoingChar
+ type:CBCharacteristicWriteWithResponse];
+ [_socket incrementSendPacketCounter];
+}
+
+- (void)peripheral:(CBPeripheral *)peripheral
+ didUpdateNotificationStateForCharacteristic:(CBCharacteristic *)characteristic
+ error:(NSError *)error {
+ GTMLoggerInfo(@"BLE characteristic notifications started. Elapsed time: %f",
+ [[NSDate date] timeIntervalSinceDate:_startConnectionTime]);
+ if (_state != GNSCentralPeerManagerStateSettingNotifications) {
+ GTMLoggerInfo(@"Ignoring notification status change for %@ when in %@ state", _cbPeripheral,
+ StateDescription(_state));
+ return;
+ }
+ GTMLoggerInfo(@"Characteristic notification update: %@, error: %@", characteristic, error);
+ if (error) {
+ [self disconnectingWithError:error];
+ return;
+ }
+ NSAssert([characteristic.UUID isEqual:_incomingChar.UUID], @"Wrong characteristic");
+ NSAssert(_state == GNSCentralPeerManagerStateSettingNotifications, @"Wrong state");
+ _state = GNSCentralPeerManagerStateSocketCommunication;
+ GTMLoggerInfo(@"Socket ready %@", self);
+ GNSSocket *socket =
+ [[GNSSocket alloc] initWithOwner:self peripheralPeer:_cbPeripheral queue:_queue];
+ GNSCentralSocketCompletion completion = _discoveringServiceSocketCompletion;
+ _discoveringServiceSocketCompletion = nil;
+ _socket = socket;
+ dispatch_async(_queue, ^{ completion(socket, nil); });
+ if (!_socket) {
+ [self disconnectingWithError:nil];
+ return;
+ }
+ GTMLoggerInfo(@"Sending connection request packet.");
+ // On iOS/OS X the central (client) doesn't have access to the negotiated BLE connection MTU. So,
+ // according to the Weave BLE protocol specs, it should send 0. The peripheral will then choose
+ // the appropriated value for the packet size and send it back on the connection confirm packet.
+ GNSWeaveConnectionRequestPacket *connectionRequest =
+ [[GNSWeaveConnectionRequestPacket alloc] initWithMinVersion:kWeaveVersionSupported
+ maxVersion:kWeaveVersionSupported
+ maxPacketSize:0
+ data:_connectionRequestData];
+ [self sendPacket:connectionRequest];
+ _connectionConfirmTimer =
+ [[self class] scheduledTimerWithTimeInterval:kMaxConnectionConfirmWaitTimeInSeconds
+ target:self
+ selector:@selector(timeOutConnectionForTimer:)
+ userInfo:nil
+ repeats:NO];
+}
+
+- (void)peripheral:(CBPeripheral *)peripheral didReadRSSI:(NSNumber *)RSSI error:(NSError *)error {
+ if (error) {
+ GTMLoggerError(@"Error to read RSSI %@", error);
+ }
+ [self callRSSICompletionWithRSSIValue:RSSI error:error];
+}
+
+#pragma mark - GNSSocketOwner
+
+- (NSUInteger)socketMaximumUpdateValueLength:(GNSSocket *)socket {
+ return _socketMaximumUpdateValueLength;
+}
+
+- (void)sendData:(NSData *)data socket:(GNSSocket *)socket completion:(GNSErrorHandler)completion {
+ GTMLoggerInfo(@"Writing value to characteristic");
+ if (_dataWriteCompletion != nil) {
+ // This shouldn't happen because writes should be serialized by the socket code. But log it
+ // in case there's a bug that causes it to happen.
+ GTMLoggerInfo(@"Previous characteristic data write didn't complete");
+ }
+
+ // Sometimes -didWriteValueForCharacteristic: isn't called, leaving the write operation hanging.
+ // If it times out, call the completion with an error.
+ __weak __typeof__(self) weakSelf = self;
+ dispatch_block_t dataWriteTimeoutBlock = dispatch_block_create(0, ^{
+ __typeof__(self) strongSelf = weakSelf;
+ if (!strongSelf || !socket.isConnected) return;
+ GTMLoggerInfo(@"Characteristic data write timed out");
+ [strongSelf callDataWriteCompletionWithError:GNSErrorWithCode(GNSErrorConnectionTimedOut)];
+ });
+ _dataWriteCompletion = ^(NSError *error) {
+ // -didWriteValueForCharacteristic: was called, so cancel the timeout
+ dispatch_block_cancel(dataWriteTimeoutBlock);
+ completion(error);
+ };
+ dispatch_after(dispatch_time(DISPATCH_TIME_NOW,
+ (int64_t)(kChracteristicWriteTimeoutInSeconds * NSEC_PER_SEC)),
+ _queue,
+ dataWriteTimeoutBlock);
+
+ [_cbPeripheral writeValue:data
+ forCharacteristic:_outgoingChar
+ type:CBCharacteristicWriteWithResponse];
+}
+
+- (NSUUID *)socketServiceIdentifier:(GNSSocket *)socket {
+ return _cbPeripheral.identifier;
+}
+
+- (void)disconnectSocket:(GNSSocket *)socket {
+ if (!socket.isConnected || _state == GNSCentralPeerManagerStateNotConnected ||
+ _state == GNSCentralPeerManagerStateBleDisconnecting) {
+ return;
+ }
+ GTMLoggerInfo(@"Disconnect socket %@", socket);
+ [self disconnectingWithError:nil];
+}
+
+- (void)socketWillBeDeallocated:(GNSSocket *)socket {
+ if ((_state == GNSCentralPeerManagerStateBleDisconnecting) ||
+ (_state == GNSCentralPeerManagerStateNotConnected)) {
+ // Already disconnecting or disconnected. Nothing to do.
+ return;
+ }
+ // The socket owner is dropping the socket without notice. The BLE has to be disconnected.
+ _socket = nil;
+ [self disconnectingWithError:nil];
+}
+
+#pragma mark - GNSWeavePacketHandler
+
+- (void)handleConnectionRequestPacket:(GNSWeaveConnectionRequestPacket *)packet
+ context:(id)context {
+ GTMLoggerError(@"Unexpected connection request packet received.");
+ [self handleWeaveError:GNSErrorUnexpectedWeaveControlPacket socket:_socket];
+}
+
+- (void)handleConnectionConfirmPacket:(GNSWeaveConnectionConfirmPacket *)packet
+ context:(id)context {
+ // The protocol specs guarantee that a connection confirm packet should contain a valid
+ // version for the client, i.e. inside the version interval sent in the connection request
+ // packet. If the server doesn't support any versions in the client interval an error packet
+ // should be sent, not a connection confirm.
+ NSAssert(packet.version == kWeaveVersionSupported, @"Unsupported Weave protocol version: %d.",
+ packet.version);
+ [_connectionConfirmTimer invalidate];
+ _connectionConfirmTimer = nil;
+ _socket.packetSize = packet.packetSize;
+ [_socket didConnect];
+ if (packet.data) {
+ // According to the Weave BLE protocol the data received during the connection handshake should
+ // be treated as the first message of the socket.
+ //
+ // Simulate a data packet being received. The packet counter value is not checked by the socket.
+ GNSWeaveDataPacket *dataPacket = [[GNSWeaveDataPacket alloc] initWithPacketCounter:0
+ firstPacket:YES
+ lastPacket:YES
+ data:packet.data];
+ [_socket didReceiveIncomingWeaveDataPacket:dataPacket];
+ }
+}
+
+- (void)handleErrorPacket:(GNSWeaveErrorPacket *)packet context:(id)context {
+ GTMLoggerInfo(@"Error packet received.");
+ [self handleWeaveError:GNSErrorWeaveErrorPacketReceived socket:_socket];
+}
+
+- (void)handleDataPacket:(GNSWeaveDataPacket *)packet context:(id)context {
+ if (packet.isFirstPacket && _socket.waitingForIncomingData) {
+ GTMLoggerError(@"There is already a receive operation in progress");
+ [self handleWeaveError:GNSErrorWeaveDataTransferInProgress socket:_socket];
+ return;
+ }
+ [_socket didReceiveIncomingWeaveDataPacket:packet];
+}
+
+#pragma mark - TestingHelpers
+
+- (NSTimer *)testing_connectionConfirmTimer {
+ return _connectionConfirmTimer;
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/GNSCentral.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/GNSCentral.h
new file mode 100644
index 00000000000..01b0891b406
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/GNSCentral.h
@@ -0,0 +1,17 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralManager.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Central/GNSCentralPeerManager.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/GNSShared.h"
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/GNSPeripheral.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/GNSPeripheral.h
new file mode 100644
index 00000000000..3be36325b0c
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/GNSPeripheral.h
@@ -0,0 +1,17 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/GNSShared.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralManager.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager.h"
diff --git a/chromium/third_party/nearby/src/internal/platform/logging2.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/GNSShared.h
index 2d20caa7bcd..4791bdac6c5 100644
--- a/chromium/third_party/nearby/src/internal/platform/logging2.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/GNSShared.h
@@ -12,9 +12,5 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef PLATFORM_PUBLIC_LOGGING_H_
-#define PLATFORM_PUBLIC_LOGGING_H_
-
-#include "internal/platform/logging.h"
-
-#endif // PLATFORM_PUBLIC_LOGGING_H_
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils.h"
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralManager+Private.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralManager+Private.h
new file mode 100644
index 00000000000..1410b01be95
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralManager+Private.h
@@ -0,0 +1,70 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralManager.h"
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket+Private.h"
+
+@class GNSSocket;
+
+typedef BOOL (^GNSUpdateValueHandler)();
+
+/**
+ * Private methods called by GNSPeripheralManager, GNSSocket and for tests.
+ * Should not be used by the Nearby Socket client.
+ */
+@interface GNSPeripheralManager ()<CBPeripheralManagerDelegate>
+
+@property(nonatomic, readonly) NSString *restoreIdentifier;
+@property(nonatomic, readonly) CBPeripheralManager *cbPeripheralManager;
+
+/**
+ * Updates the outgoing characteristic value using an handler. The handler is stored in
+ * a queue. If the CBPeripheralManager is ready, the handler is called right away. Otherwise the
+ * handler will be called as soon as the CBPeripheralManager is ready.
+ * The characteristic value should be updated with
+ * -[GNSPeripheralManager updateValue:forCharacteristic:onSocket:]. If the update failed,
+ * the handler should return NO, and the handler will be rescheduled when the peripheral will ready
+ * again.
+ *
+ * @param socket Socket
+ * @param handler Handler to update the value. Should return YES if the data was sent successfully,
+ * and NO if the update should be scheduled for later.
+ */
+- (void)updateOutgoingCharOnSocket:(GNSSocket *)socket withHandler:(GNSUpdateValueHandler)handler;
+
+/**
+ * Stops BLE advertising and starts it again with the peripheral service managers who are set to be
+ * advertising.
+ */
+- (void)updateAdvertisedServices;
+
+/**
+ * Sends a packet using the outgoing characteristic for a socket.
+ *
+ * @param data Packet to send
+ * @param socket Socket to send the packet
+ *
+ * @return YES if the packet has been sent.
+ */
+- (BOOL)updateOutgoingCharacteristic:(NSData *)data onSocket:(GNSSocket *)socket;
+
+/**
+ * Informs the peripheral manager that |socket| is now disconnected.
+ *
+ * @param socket Socket.
+ */
+- (void)socketDidDisconnect:(GNSSocket *)socket;
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralManager.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralManager.h
new file mode 100644
index 00000000000..6a0db786fb9
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralManager.h
@@ -0,0 +1,111 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <CoreBluetooth/CoreBluetooth.h>
+#import <Foundation/Foundation.h>
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils.h"
+
+@class GNSPeripheralServiceManager;
+
+/**
+ * This class is in charge of the CBPeripheralManager. It owns the list of
+ * GNSPeripheralServiceManager to advertise. This class dispatches events received from
+ * the CBPeripheralManager.
+ *
+ * * To create a GNSPeripheralManager instance:
+ * GNSPeripheralManager *peripheralManager =
+ * [[GNSPeripheralManager alloc] initWithAdvertisedName:@"AdvertisedName"
+ * restoreIdentifier:@"BLEIdentifier"];
+ *
+ * * To create a service:
+ * GNSShouldAcceptSocketHandler shouldAcceptSocketHandler = ^(GNSSocket *socket) {
+ * socket.delegate = mySocketDelegate;
+ * return YES;
+ * }
+ * GNSPeripheralServiceManager *service =
+ * [[GNSPeripheralServiceManager alloc] initWithBleServiceUUID:serviceUUID
+ * shouldAcceptSocketHandler:shouldAcceptSocketHandler];
+ * [peripheralManager addPeripheralServiceManager:service bleServiceAddedCompletion:handler];
+ *
+ *
+ * * When a socket is created, |shouldAcceptSocketHandler| is called. If the handler returns YES,
+ * the socket delegate should be set, and the socket should be retained. The socket delegate
+ * will be called as soon as the socket is connected. If the handler returns NO, the socket
+ * should not be used.
+ * See GNSSocket documentation to send and receive data.
+ *
+ * This class is not thread-safe.
+ */
+@interface GNSPeripheralManager : NSObject
+
+@property(nonatomic, readonly, getter=isStarted) BOOL started;
+@property(nonatomic, readonly) CBManagerState peripheralManagerState;
+@property(nonatomic, copy) GNSPeripheralManagerStateHandler peripheralManagerStateHandler;
+
+/**
+ * Display name used in the BLE advertisement.
+ *
+ * Note that the change of the advertisement name will only be effective on the next change of
+ * the advertised service UUIDs.
+ */
+@property(nonatomic, copy) NSString *advertisedName;
+
+/**
+ * Creates a CBPeripheralManager instance and sets itself as the delegate. Pass nil to
+ * |advertisedName| to avoid setting the BLE advertised name; this is useful for avoiding a name
+ * collision with clients that use the name in a custom discovery algorithm.
+ *
+ * @param advertisedName Display name used in the BLE advertisement
+ * @param restoreIdentifier Value used for CBPeripheralManagerOptionRestoreIdentifierKey
+ * @param queue The queue this object is called on and callbacks are made on.
+ *
+ * @return GNSPeripheralManager instance
+ */
+- (instancetype)initWithAdvertisedName:(NSString *)advertisedName
+ restoreIdentifier:(NSString *)restoreIdentifier
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+
+/**
+ * Creates a CBPeripheralManager using the main queue for callbacks.
+ */
+- (instancetype)initWithAdvertisedName:(NSString *)advertisedName
+ restoreIdentifier:(NSString *)restoreIdentifier;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+/**
+ * Adds a new peripheral service manager into the managed services. If the GNSPeripheralManager
+ * is started, the new peripheral service manager will be added right away into BLE service
+ * database. |completion| is called everytime the service is added into the BLE service database.
+ *
+ * @param peripheralServiceManager GNSPeripheralServiceManager
+ * @param completion Callback called when the service was added.
+ */
+- (void)addPeripheralServiceManager:(GNSPeripheralServiceManager *)peripheralServiceManager
+ bleServiceAddedCompletion:(GNSErrorHandler)completion;
+
+/**
+ * If the bluetooth is on, all CB services will be added, and the services will be advertised
+ * (according to -[GNSPeripheralServiceManager advertising]. Otherwise, it will be done as soon as
+ * the bluetooth is turned on.
+ */
+- (void)start;
+
+/**
+ * Bluetooth advertisement is turned off, and all services are removed from CB.
+ */
+- (void)stop;
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralManager.m b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralManager.m
new file mode 100644
index 00000000000..38d549c7ef1
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralManager.m
@@ -0,0 +1,546 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralManager+Private.h"
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager+Private.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket+Private.h"
+#import "GoogleToolboxForMac/GTMLogger.h"
+
+#if TARGET_OS_IPHONE
+#import <UIKit/UIKit.h>
+#endif
+
+static NSString *CBManagerStateString(CBManagerState state) {
+ switch (state) {
+ case CBManagerStateUnknown:
+ return @"CBManagerStateUnknown";
+ case CBManagerStateResetting:
+ return @"CBManagerStateResetting";
+ case CBManagerStateUnsupported:
+ return @"CBManagerStateUnsupported";
+ case CBManagerStateUnauthorized:
+ return @"CBManagerStateUnauthorized";
+ case CBManagerStatePoweredOff:
+ return @"CBManagerStatePoweredOff";
+ case CBManagerStatePoweredOn:
+ return @"CBManagerStatePoweredOn";
+ }
+ return @"CBManagerState Unknown";
+}
+
+// http://b/28875581 On iOS, under some misterious conditions, the Bluetooth daemon (BTServer
+// process) continously crashes when attempting to register Bluetooth services. In fact, if the
+// BTServer process is killed, the OS spins a new instace of this process after 10 seconds.
+//
+// It is defined as a resetting episode a set of successive state changes of a CBPeripheralManager
+// that include at least one state CBManagerStateResetting.
+// As a heuristic, a resetting episode is considered a crash loop of the Bluetooth daemon iff:
+// * the CBPeripheralManager enters more than 5 times in CBManagerStateResetting;
+// * the time interval between successive CBManagerStateResetting notifications is
+// less than 15 seconds;
+//
+// The minimum number of successive CBManagerStateResetting states for a resetting
+// episode to be considered a Bluetooth daemon crash loop.
+static NSInteger gKBTCrashLoopMinNumberOfResetting = 5;
+
+// The maximum time interval between successive CBManagerStateResetting states for a
+// resetting episode to be considered a Bluetooth daemon crash loop.
+static NSTimeInterval gKBTCrashLoopMaxTimeBetweenResetting = 15.f;
+
+@interface GNSPeripheralManager () {
+ // key: -[GNSPeripheralServiceManager serviceUUID], value: GNSPeripheralServiceManager
+ NSMapTable *_peripheralServiceManagers;
+ // Queue of blocks to update BLE values
+ NSMutableDictionary<NSUUID *, NSMutableArray<GNSUpdateValueHandler> *>
+ *_handlerQueuePerSocketIdentifier;
+ NSDictionary<NSString *, id> *_advertisementInProgressData;
+ NSDictionary<NSString *, id> *_advertisementData;
+ dispatch_queue_t _queue;
+
+ // Bluetooth daemon crash info.
+ NSDate *_btCrashLastResettingDate;
+ NSInteger _btCrashCount;
+}
+
+#if TARGET_OS_IPHONE
+@property(nonatomic, assign) UIBackgroundTaskIdentifier backgroundTaskId;
+#endif
+
+@property(nonatomic, getter=isStarted) BOOL started;
+
+@end
+
+@implementation GNSPeripheralManager
+
+- (instancetype)init {
+ [self doesNotRecognizeSelector:_cmd];
+ return nil;
+}
+
+- (instancetype)initWithAdvertisedName:(NSString *)advertisedName
+ restoreIdentifier:(NSString *)restoreIdentifier
+ queue:(dispatch_queue_t)queue {
+ self = [super init];
+ if (self) {
+ _restoreIdentifier = [restoreIdentifier copy];
+ _advertisedName = [advertisedName copy];
+ _handlerQueuePerSocketIdentifier = [NSMutableDictionary dictionary];
+ _peripheralServiceManagers = [NSMapTable strongToWeakObjectsMapTable];
+ _btCrashLastResettingDate = [NSDate dateWithTimeIntervalSince1970:0];
+ _queue = queue;
+
+#if TARGET_OS_IPHONE
+ _backgroundTaskId = UIBackgroundTaskInvalid;
+#endif
+ }
+ return self;
+}
+
+- (instancetype)initWithAdvertisedName:(NSString *)advertisedName
+ restoreIdentifier:(NSString *)restoreIdentifier {
+ return [self initWithAdvertisedName:advertisedName
+ restoreIdentifier:restoreIdentifier
+ queue:dispatch_get_main_queue()];
+}
+
+- (void)dealloc {
+ [self stop];
+}
+
+- (void)addPeripheralServiceManager:(GNSPeripheralServiceManager *)peripheralServiceManager
+ bleServiceAddedCompletion:(GNSErrorHandler)completion {
+ [_peripheralServiceManagers setObject:peripheralServiceManager
+ forKey:peripheralServiceManager.serviceUUID];
+ [peripheralServiceManager addedToPeripheralManager:self bleServiceAddedCompletion:completion];
+ if (_started) {
+ [self addBleServiceForServiceManager:peripheralServiceManager];
+ }
+ // Update all advertised services to make sure that the right services are advertised in case
+ // all BLE services were already added.
+ [self updateAdvertisedServices];
+}
+
+- (void)start {
+ if (_started) {
+ GTMLoggerInfo(@"Peripheral manager already started.");
+ return;
+ }
+ NSMutableDictionary<NSString *, id> *options =
+ [@{CBCentralManagerOptionShowPowerAlertKey : @NO} mutableCopy];
+#if TARGET_OS_IPHONE
+ // Restored API only supported on iOS.
+ if (_restoreIdentifier) {
+ options[CBPeripheralManagerOptionRestoreIdentifierKey] = _restoreIdentifier;
+ }
+#endif
+ _cbPeripheralManager = [self cbPeripheralManagerWithDelegate:self queue:_queue options:options];
+ GTMLoggerInfo(@"Peripheral manager started.");
+ _started = YES;
+ // From Apple documentation |-[GNSPeripheralManager peripheralManagerDidUpdateState:]| will be
+ // called no matter the current bluetooth state. Also, if the CBPeripheralManager is being
+ // restored by iOS, |-[GNSPeripheralManager peripheralManager:willRestoreState:]| will be called
+ // before. Therefore, adding and advertising services have to be done in
+ // |peripheralManagerDidUpdateState:| method, so that the restored services will not be added
+ // (if there are restored services).
+}
+
+- (void)stop {
+ if (!_started) {
+ GTMLoggerInfo(@"Peripheral manager already stopped.");
+ return;
+ }
+ GTMLoggerInfo(@"Peripheral manager stopped.");
+ _started = NO;
+ [self removeAllBleServicesAndStopAdvertising];
+ _cbPeripheralManager.delegate = nil;
+ _cbPeripheralManager = nil;
+}
+
+- (NSString *)description {
+ return [NSString stringWithFormat:@"<%@ %p: started %@, services %@>", self.class, self,
+ _started ? @"YES" : @"NO",
+ _peripheralServiceManagers.keyEnumerator];
+}
+
+- (void)addBleServiceForServiceManager:(GNSPeripheralServiceManager *)peripheralServiceManager {
+ if (peripheralServiceManager.cbServiceState != GNSBluetoothServiceStateNotAdded) {
+ // Ignored if the peripheralServiceManager.cbService was already added.
+ return;
+ }
+ [peripheralServiceManager willAddCBService];
+ NSAssert(peripheralServiceManager.cbService, @"%@ had no cbService", peripheralServiceManager);
+ [_cbPeripheralManager addService:peripheralServiceManager.cbService];
+}
+
+- (void)addAllBleServicesAndStartAdvertising {
+ // Do not attempt to add any services if the Bluetooth Daemon is in a crash loop.
+ if ([self isBTCrashLoop]) {
+ // http://b/28875581 Adding new service when Bluetooth is powered off may be the reason for
+ // the Bluetooth Daemon crash loop. Avoid adding any BLE services here and wait for the next
+ // state change of the |_cbPeripheralManager|.
+ GTMLoggerError(@"Bluetooth Daemon crash loop detected crashing. Avoid adding BLE services.");
+ return;
+ }
+
+#if TARGET_OS_IPHONE
+ if (_backgroundTaskId == UIBackgroundTaskInvalid) {
+ GTMLoggerInfo(@"Start background task to add BLE services and start advertising.");
+ _backgroundTaskId = [[UIApplication sharedApplication]
+ beginBackgroundTaskWithName:@"Add BLE services and start advertising"
+ expirationHandler:^{
+ GTMLoggerError(@"Application was suspended before add BLE services and start "
+ @"advertising finished.");
+ [[UIApplication sharedApplication] endBackgroundTask:_backgroundTaskId];
+ _backgroundTaskId = UIBackgroundTaskInvalid;
+ }];
+ }
+#endif
+
+ for (GNSPeripheralServiceManager *peripheralServiceManager in _peripheralServiceManagers
+ .objectEnumerator) {
+ [self addBleServiceForServiceManager:peripheralServiceManager];
+ }
+ // Update all advertised services to make sure that the right services are advertised in case all
+ // BLE services were already added.
+ [self updateAdvertisedServices];
+}
+
+- (void)removeAllBleServicesAndStopAdvertising {
+ [_cbPeripheralManager stopAdvertising];
+ _advertisementInProgressData = nil;
+ _advertisementData = nil;
+
+ // Remove services and inform all service managers that their service was removed.
+ [_cbPeripheralManager removeAllServices];
+ for (GNSPeripheralServiceManager *peripheralServiceManager in _peripheralServiceManagers
+ .objectEnumerator) {
+ [peripheralServiceManager didRemoveCBService];
+ }
+}
+
+- (void)updateAdvertisedServices {
+ if (!_started) {
+ // Do not start advertising if this peripheral manager is stopped.
+ return;
+ }
+
+ CBManagerState cbState = _cbPeripheralManager.state;
+ if ((cbState != CBManagerStatePoweredOn) && (cbState != CBManagerStatePoweredOff)) {
+ GTMLoggerInfo(@"Do not start advertising on state %@", CBManagerStateString(cbState));
+ return;
+ }
+ if (_advertisementInProgressData) {
+ GTMLoggerInfo(@"Another start advertising operation is in progress.");
+ return;
+ }
+ if (!_cbPeripheralManager.isAdvertising) {
+ GTMLoggerInfo(@"Reset the advertiment data as the peripheral is not advertising.");
+ _advertisementData = nil;
+ }
+
+ BOOL allServicesAdded = YES;
+ NSMutableArray<CBUUID *> *serviceUUIDsToAdvertise = [NSMutableArray array];
+ for (GNSPeripheralServiceManager *peripheralServiceManager in _peripheralServiceManagers
+ .objectEnumerator) {
+ if (peripheralServiceManager.cbServiceState != GNSBluetoothServiceStateAdded) {
+ allServicesAdded = NO;
+ break;
+ }
+ if (peripheralServiceManager.isAdvertising) {
+ [serviceUUIDsToAdvertise addObject:peripheralServiceManager.serviceUUID];
+ }
+ }
+ if (!allServicesAdded) {
+ GTMLoggerInfo(@"Do not start advertising as not all bluetooth services are added.");
+ return;
+ }
+ NSMutableDictionary<NSString *, id> *advertisementData = [NSMutableDictionary dictionary];
+ advertisementData[CBAdvertisementDataServiceUUIDsKey] = serviceUUIDsToAdvertise;
+ if (_advertisedName) {
+ advertisementData[CBAdvertisementDataLocalNameKey] = _advertisedName;
+ }
+ if ([advertisementData isEqual:_advertisementData]) {
+ GTMLoggerInfo(
+ @"Finished adding BLE services and starting advertising (advertisement data = %@).",
+ _advertisementData);
+#if TARGET_OS_IPHONE
+ [[UIApplication sharedApplication] endBackgroundTask:_backgroundTaskId];
+ _backgroundTaskId = UIBackgroundTaskInvalid;
+#endif
+ return;
+ }
+
+ GTMLoggerInfo(@"Start advertising: %@", advertisementData);
+ _advertisementInProgressData = [advertisementData copy];
+ [_cbPeripheralManager stopAdvertising];
+ [_cbPeripheralManager startAdvertising:_advertisementInProgressData];
+}
+
+#pragma mark - Private
+
+- (void)updateOutgoingCharOnSocket:(GNSSocket *)socket withHandler:(GNSUpdateValueHandler)handler {
+ NSUUID *socketIdentifier = socket.socketIdentifier;
+ NSMutableArray<GNSUpdateValueHandler> *handlerQueue =
+ _handlerQueuePerSocketIdentifier[socketIdentifier];
+ if (!handlerQueue) {
+ if (handler()) return;
+ handlerQueue = [NSMutableArray array];
+ _handlerQueuePerSocketIdentifier[socketIdentifier] = handlerQueue;
+ GTMLoggerInfo(@"Queueing value for socket: %@", socketIdentifier);
+ }
+ [handlerQueue addObject:[handler copy]];
+}
+
+- (void)processUpdateValueBlocks {
+ GTMLoggerInfo(@"About to send values for sockets: %@", _handlerQueuePerSocketIdentifier.allKeys);
+ for (NSUUID *socketIdentifier in _handlerQueuePerSocketIdentifier.allKeys) {
+ NSMutableArray<GNSUpdateValueHandler> *handlerQueue =
+ _handlerQueuePerSocketIdentifier[socketIdentifier];
+ GTMLoggerInfo(@"%lu queued values to send.", (unsigned long)handlerQueue.count);
+ while (handlerQueue.count > 0) {
+ GNSUpdateValueHandler handler = handlerQueue[0];
+ if (!handler()) {
+ GTMLoggerInfo(@"Value failed to be send, still in the queue to try later.");
+ break;
+ }
+ GTMLoggerInfo(@"Value sent successfully.");
+ [handlerQueue removeObjectAtIndex:0];
+ if (handlerQueue.count == 0) {
+ GTMLoggerInfo(@"Removing pending value queue for socket: %@", socketIdentifier);
+ [_handlerQueuePerSocketIdentifier removeObjectForKey:socketIdentifier];
+ }
+ }
+ }
+}
+
+- (BOOL)updateOutgoingCharacteristic:(NSData *)data onSocket:(GNSSocket *)socket {
+ GNSPeripheralServiceManager *peripheralServiceManager = socket.owner;
+ NSAssert(peripheralServiceManager, @"%@ should have an owner.", socket);
+ return [_cbPeripheralManager updateValue:data
+ forCharacteristic:peripheralServiceManager.weaveOutgoingCharacteristic
+ onSubscribedCentrals:@[ socket.peerAsCentral ]];
+}
+
+- (CBPeripheralManager *)cbPeripheralManagerWithDelegate:(id<CBPeripheralManagerDelegate>)delegate
+ queue:(dispatch_queue_t)queue
+ options:(NSDictionary<NSString *, id> *)options {
+ return [[CBPeripheralManager alloc] initWithDelegate:delegate queue:queue options:options];
+}
+
+- (void)socketDidDisconnect:(GNSSocket *)socket {
+ NSAssert(!socket.connected, @"Should be disconnected");
+ NSUUID *socketIdentifier = socket.socketIdentifier;
+ NSMutableArray<GNSUpdateValueHandler> *handlerQueue =
+ _handlerQueuePerSocketIdentifier[socketIdentifier];
+ // The pending handlers have to be called so the associated send data completion blocks are
+ // called with a disconnect error.
+ for (GNSUpdateValueHandler handler in handlerQueue) {
+ handler();
+ }
+ [_handlerQueuePerSocketIdentifier removeObjectForKey:socketIdentifier];
+}
+
+#pragma mark - Bluetooth Daemon Crash Loop
+
+- (BOOL)isBTCrashLoop {
+ NSTimeInterval timeSinceLastResetting = -[_btCrashLastResettingDate timeIntervalSinceNow];
+ return (timeSinceLastResetting <= gKBTCrashLoopMaxTimeBetweenResetting) &&
+ (_btCrashCount > gKBTCrashLoopMinNumberOfResetting);
+}
+
+- (void)updateBTCrashLoopHeuristic {
+ NSAssert(_cbPeripheralManager.state == CBCentralManagerStateResetting, @"Unexpected CB state %@",
+ CBManagerStateString(_cbPeripheralManager.state));
+ NSDate *now = [NSDate date];
+ if ([now timeIntervalSinceDate:_btCrashLastResettingDate] >
+ gKBTCrashLoopMaxTimeBetweenResetting) {
+ _btCrashCount = 0;
+ }
+ _btCrashLastResettingDate = now;
+ _btCrashCount++;
+}
+
+#pragma mark - CBPeripheralManagerDelegate
+
+- (void)peripheralManager:(CBPeripheralManager *)peripheral
+ willRestoreState:(NSDictionary<NSString *, id> *)dict {
+#if TARGET_OS_IPHONE
+ // Restored API only supported on iOS.
+ GTMLoggerInfo(@"Restore bluetooth services");
+ _advertisementData = dict[CBPeripheralManagerRestoredStateAdvertisementDataKey];
+ for (CBMutableService *service in dict[CBPeripheralManagerRestoredStateServicesKey]) {
+ GNSPeripheralServiceManager *serviceManager =
+ [_peripheralServiceManagers objectForKey:service.UUID];
+ if (serviceManager) {
+ [serviceManager restoredCBService:service];
+ } else {
+ GTMLoggerError(@"restoreFromCBService %@", service);
+ }
+ }
+#endif
+}
+
+- (void)peripheralManagerDidUpdateState:(CBPeripheralManager *)peripheralManager {
+ NSAssert(peripheralManager == _cbPeripheralManager, @"Wrong peripheral manager.");
+ GTMLoggerInfo(@"Peripheral manager state updated: %@",
+ CBManagerStateString(_cbPeripheralManager.state));
+ switch (_cbPeripheralManager.state) {
+ case CBManagerStatePoweredOn:
+ case CBManagerStatePoweredOff:
+ // As instructed by Apple engineers:
+ // * BLE services should be added on power or on power off.
+ // * BLE advertisment should be started on power on.
+ //
+ // Note 1: During testing it seems safe to start advertising when Bluetooth is turned off:
+ // the advertisment resumes when the state changes to power on.
+ //
+ // Note 2: It is important to keep the added services and to keep advertising on power off,
+ // to avoid the scenario when the application receives a power off notification right before
+ // being suspended by the OS.
+ [self addAllBleServicesAndStartAdvertising];
+ break;
+ case CBManagerStateResetting:
+ // As instructed by Apple enginners, clean-up all internal state when CoreBluetooth is
+ // resetting.
+ [self updateBTCrashLoopHeuristic];
+ [self removeAllBleServicesAndStopAdvertising];
+ break;
+ case CBManagerStateUnknown:
+ // Clean-up all internal state when the CoreBluetooth state is unknown.
+ [self removeAllBleServicesAndStopAdvertising];
+ break;
+ case CBManagerStateUnauthorized:
+ // Clean-up all internal state if the application is not authorized to use Bluetooth.
+ [self removeAllBleServicesAndStopAdvertising];
+ break;
+ case CBManagerStateUnsupported:
+ // The application should have never attempted to start advertising if Bluetooth Low Energy
+ // is not supported on the device.
+ NSAssert(!peripheralManager.isAdvertising, @"Peripheral is not advertising");
+ break;
+ }
+ if (_peripheralManagerStateHandler) {
+ _peripheralManagerStateHandler(_cbPeripheralManager.state);
+ }
+}
+
+- (void)peripheralManagerDidStartAdvertising:(CBPeripheralManager *)peripheral
+ error:(NSError *)error {
+ _advertisementData = _advertisementInProgressData;
+ _advertisementInProgressData = nil;
+ if (error) {
+ GTMLoggerError(@"Start advertisment failed with error %@. Will retry to start advertising on "
+ "the next BLE state change notification. ",
+ error);
+ _advertisementData = nil;
+ return;
+ }
+
+ NSAssert(peripheral.isAdvertising, @"Peripheral should be advertising.");
+ GTMLoggerInfo(@"Peripheral did start advertising %@", _advertisementData);
+
+ // Once an advertisment operation is over, check if the advertised data is up-to-date.
+ [self updateAdvertisedServices];
+}
+
+- (void)peripheralManager:(CBPeripheralManager *)peripheral
+ didAddService:(CBService *)service
+ error:(NSError *)error {
+ GNSPeripheralServiceManager *peripheralServiceManager =
+ [_peripheralServiceManagers objectForKey:service.UUID];
+ if (!peripheralServiceManager) {
+ GTMLoggerError(@"Unknown service %@ with %@", service, self);
+ return;
+ }
+ [peripheralServiceManager didAddCBServiceWithError:error];
+ [self updateAdvertisedServices];
+}
+
+- (void)peripheralManager:(CBPeripheralManager *)peripheral
+ central:(CBCentral *)central
+ didSubscribeToCharacteristic:(CBCharacteristic *)characteristic {
+ GNSPeripheralServiceManager *peripheralServiceManager =
+ [_peripheralServiceManagers objectForKey:characteristic.service.UUID];
+ [peripheralServiceManager central:central didSubscribeToCharacteristic:characteristic];
+}
+
+- (void)peripheralManager:(CBPeripheralManager *)peripheral
+ central:(CBCentral *)central
+ didUnsubscribeFromCharacteristic:(CBCharacteristic *)characteristic {
+ GNSPeripheralServiceManager *peripheralServiceManager =
+ [_peripheralServiceManagers objectForKey:characteristic.service.UUID];
+ [peripheralServiceManager central:central didUnsubscribeFromCharacteristic:characteristic];
+
+ // Restarting the peripheral manager after a disconnect. This is a workaround for b/31752176.
+ // Update: This problem persists in iOS 10 & 11. Discussion: https://goo.gl/fdE19G
+ [self stop];
+ [self start];
+}
+
+- (void)peripheralManager:(CBPeripheralManager *)peripheral
+ didReceiveReadRequest:(CBATTRequest *)request {
+ GNSPeripheralServiceManager *peripheralServiceManager =
+ [_peripheralServiceManagers objectForKey:request.characteristic.service.UUID];
+ if (!peripheralServiceManager) {
+ [_cbPeripheralManager respondToRequest:request withResult:CBATTErrorAttributeNotFound];
+ return;
+ }
+ CBATTError requestError = [peripheralServiceManager canProcessReadRequest:request];
+ if (requestError != CBATTErrorSuccess) {
+ [_cbPeripheralManager respondToRequest:request withResult:requestError];
+ return;
+ }
+ [peripheralServiceManager processReadRequest:request];
+ [_cbPeripheralManager respondToRequest:request withResult:CBATTErrorSuccess];
+}
+
+- (void)peripheralManager:(CBPeripheralManager *)peripheral
+ didReceiveWriteRequests:(NSArray<CBATTRequest *> *)requests {
+ // According to Apple's doc, if any one request cannot be processed, no request should
+ // be processed. Only one CBATTError should be returned with the first request.
+ if (requests.count == 0) {
+ return;
+ }
+ CBATTError requestError = CBATTErrorSuccess;
+ for (CBATTRequest *request in requests) {
+ GNSPeripheralServiceManager *peripheralServiceManager =
+ [_peripheralServiceManagers objectForKey:request.characteristic.service.UUID];
+ if (!peripheralServiceManager) {
+ requestError = CBATTErrorAttributeNotFound;
+ break;
+ }
+ requestError = [peripheralServiceManager canProcessWriteRequest:request];
+ if (requestError != CBATTErrorSuccess) {
+ break;
+ }
+ }
+ if (requestError != CBATTErrorSuccess) {
+ [_cbPeripheralManager respondToRequest:requests[0] withResult:requestError];
+ return;
+ }
+ for (CBATTRequest *request in requests) {
+ GNSPeripheralServiceManager *peripheralServiceManager =
+ [_peripheralServiceManagers objectForKey:request.characteristic.service.UUID];
+ [peripheralServiceManager processWriteRequest:request];
+ }
+ [_cbPeripheralManager respondToRequest:requests[0] withResult:requestError];
+}
+
+- (void)peripheralManagerIsReadyToUpdateSubscribers:(CBPeripheralManager *)peripheral {
+ GTMLoggerInfo(@"Ready to update subscribers.");
+ [self processUpdateValueBlocks];
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager+Private.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager+Private.h
new file mode 100644
index 00000000000..7716786a08f
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager+Private.h
@@ -0,0 +1,132 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager.h"
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket+Private.h"
+
+typedef NS_ENUM(NSInteger, GNSBluetoothServiceState) {
+ GNSBluetoothServiceStateNotAdded,
+ GNSBluetoothServiceStateAddInProgress,
+ GNSBluetoothServiceStateAdded,
+};
+
+/**
+ * Private methods called by GNSPeripheralManager, GNSSocket and for tests.
+ * Should not be used by the Nearby Socket client.
+ */
+@interface GNSPeripheralServiceManager ()<GNSSocketOwner>
+
+@property(nonatomic, readonly) GNSPeripheralManager *peripheralManager;
+@property(nonatomic, readonly) GNSBluetoothServiceState cbServiceState;
+@property(nonatomic, readonly) CBMutableService *cbService;
+@property(nonatomic, readonly) CBMutableCharacteristic *weaveIncomingCharacteristic;
+@property(nonatomic, readonly) CBMutableCharacteristic *weaveOutgoingCharacteristic;
+@property(nonatomic, readonly) CBMutableCharacteristic *pairingCharacteristic;
+@property(nonatomic, readonly) GNSShouldAcceptSocketHandler shouldAcceptSocketHandler;
+
+/**
+ * Informs this service manager that its CBService will start to be added.
+ *
+ * Note that when the application is started in background on a Bluetooth event, the Bluetooth
+ * services are restored in state GNSBluetoothServiceStateAdded and this method will never
+ * called.
+ */
+- (void)willAddCBService;
+
+/**
+ * Informs this service manager that its CBService was added or failed to be added.
+ *
+ * Note that when the application is started in background on a Bluetooth event, the Bluetooth
+ * services are restored in state GNSBluetoothServiceStateAdded and this method will never
+ * called.
+ */
+- (void)didAddCBServiceWithError:(NSError *)error;
+
+/**
+ * Informs this service manager that its CBService was removed.
+ */
+- (void)didRemoveCBService;
+
+/**
+ * Receives the CBMutableService restored by iOS.
+ *
+ * @param service Restored service.
+ */
+- (void)restoredCBService:(CBMutableService *)service;
+
+/**
+ * Called only once in the instance life time. Called when the instance is attached to
+ * a GNSPeripheralManager instance. Should assert when this method is called twice.
+ *
+ * @param peripheralManager GNSPeripheralManager
+ * @param completion Callback when the BLE service is added.
+ */
+- (void)addedToPeripheralManager:(GNSPeripheralManager *)peripheralManager
+ bleServiceAddedCompletion:(GNSErrorHandler)completion;
+
+/**
+ * Checks if a read request can be processed (based on the central and the characteristic).
+ *
+ * @param request Read request
+ *
+ * @return Error if cannot process the request
+ */
+- (CBATTError)canProcessReadRequest:(CBATTRequest *)request;
+
+/**
+ * Process a read request.
+ *
+ * @param request Read request
+ */
+- (void)processReadRequest:(CBATTRequest *)request;
+
+/**
+ * Checks if a write request can be processed (based on the central and the characteristic).
+ *
+ * @param request Write request
+ *
+ * @return Error if cannot process the request
+ */
+- (CBATTError)canProcessWriteRequest:(CBATTRequest *)request;
+
+/**
+ * Process the data according to the signal send in the data. See GNSControlSignal.
+ *
+ * @param request Request from CBCentral
+ */
+- (void)processWriteRequest:(CBATTRequest *)request;
+
+/**
+ * Called when a central subscribes to a characteristic. If the characteristic is the outgoing
+ * characteristic, the desired connection latency is set to low.
+ *
+ * @param central The central subscribing to the characteristic
+ * @param characteristic The characteristic being subscribe.
+ */
+- (void)central:(CBCentral *)central
+ didSubscribeToCharacteristic:(CBCharacteristic *)characteristic;
+
+/**
+ * Called when a central unsubscribes from a characteristic. If the characteristic is the outgoing
+ * characteristic and a socket still exists with this central, then the socket is disconnected
+ * (as if received the disconnect signal).
+ *
+ * @param central The central unsubscribing to the characteristic
+ * @param characteristic The characteristic being unsubscribed.
+ */
+- (void)central:(CBCentral *)central
+ didUnsubscribeFromCharacteristic:(CBCharacteristic *)characteristic;
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager.h
new file mode 100644
index 00000000000..24f9aafca7c
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager.h
@@ -0,0 +1,81 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <CoreBluetooth/CoreBluetooth.h>
+#import <Foundation/Foundation.h>
+
+@class GNSPeripheralManager;
+@class GNSPeripheralServiceManager;
+@class GNSSocket;
+
+typedef BOOL (^GNSShouldAcceptSocketHandler)(GNSSocket *socket);
+
+/**
+ * This class manages one BLE service. It keeps track of the list of centrals connected with
+ * a socket to this service. This class has also the knowledge to parse the |GNSControlSignal|.
+ * One instance is created per BLE service and each instance can be used only once.
+ *
+ * This class is not thread-safe.
+ */
+@interface GNSPeripheralServiceManager : NSObject
+
+/**
+ * Core Bluetooth service UUID.
+ */
+@property(nonatomic, readonly) CBUUID *serviceUUID;
+
+/**
+ * Makes this service being advertised by Core Bluetooth or not. Even if the service is not
+ * advertised, the service is still present in the service database, and thus can still be used
+ * to send/receive data. The default value is YES.
+ */
+@property(nonatomic, getter=isAdvertising) BOOL advertising;
+
+/**
+ * Creates an instance to manage a BLE service. The BLE service can be used to create one socket
+ * per central. When a central tries to connected, |shouldAcceptSocketHandler| is called with the
+ * socket to the central. If the handler returns YES, the socket is accepted. The socket delegate
+ * should be set before returning from |shouldAcceptSocketHandler| (if the socket is accepted).
+ * The socket will be ready to use shortly after.
+ * -[id<GNSSocketDelegate> socketDidConnect:] will be called once the socket
+ * is ready to send and receive data. The socket is retained by GNSPeripheralServiceManager as
+ * long as it is connected.
+ *
+ * @param serviceUUID Service UUID
+ * @param addPairingCharacteristic If YES, will advertise an encrypted characteristic used by
+ * the central if it wants to do a bluetooth pairing
+ * @param shouldAcceptSocketHandler Handler called when a central starts a new socket. The delegate
+ * socket can be set if the socket is accepted.
+ * @param queue The queue this object is called on and callbacks are made on.
+ *
+ * @return GNSPeripheralServiceManager instance
+ */
+- (instancetype)initWithBleServiceUUID:(CBUUID *)serviceUUID
+ addPairingCharacteristic:(BOOL)addPairingCharacteristic
+ shouldAcceptSocketHandler:(GNSShouldAcceptSocketHandler)shouldAcceptSocketHandler
+ queue:(dispatch_queue_t)queue
+ NS_DESIGNATED_INITIALIZER;
+
+/**
+ * Creates an instance using the main queue for callbacks.
+ *
+ * @return GNSPeripheralServiceManager instance
+ */
+- (instancetype)initWithBleServiceUUID:(CBUUID *)serviceUUID
+ addPairingCharacteristic:(BOOL)addPairingCharacteristic
+ shouldAcceptSocketHandler:(GNSShouldAcceptSocketHandler)shouldAcceptSocketHandler;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager.m b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager.m
new file mode 100644
index 00000000000..aa4a0be22d7
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager.m
@@ -0,0 +1,551 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager+Private.h"
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Peripheral/GNSPeripheralManager+Private.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket+Private.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSWeavePacket.h"
+#import "GoogleToolboxForMac/GTMLogger.h"
+
+// The Weave BLE protocol has only one valid version.
+static const UInt16 kWeaveVersionSupported = 1;
+
+static NSString *GetBluetoothServiceStateDescription(GNSBluetoothServiceState state) {
+ switch (state) {
+ case GNSBluetoothServiceStateNotAdded:
+ return @"NotAdded";
+ case GNSBluetoothServiceStateAddInProgress:
+ return @"AddInProgress";
+ case GNSBluetoothServiceStateAdded:
+ return @"Added";
+ }
+ NSCAssert(NO, @"Wrong GNSBluetoothServiceState %ld", (long)state);
+ return @"";
+}
+
+@interface GNSPeripheralServiceManager ()<GNSWeavePacketHandler> {
+ GNSPeripheralManager *_peripheralManager;
+ BOOL _addPairingCharacteristic;
+ CBMutableService *_cbService;
+
+ // Weave characteristics UUIDs are different from legagy ones.
+ CBMutableCharacteristic *_weaveIncomingChar;
+ CBMutableCharacteristic *_weaveOutgoingChar;
+
+ // Pairing chacteristic is used by both Weave and legacy protocols. Changing the UUID of this
+ // characteristic has no impact in both Weave and legacy protocols (CrOS doesn't need it).
+ CBMutableCharacteristic *_pairingChar;
+
+ // key: central identifier, value: GNSPeripheral
+ NSMutableDictionary<NSUUID *, GNSSocket *> *_sockets;
+ GNSShouldAcceptSocketHandler _shouldAcceptSocketHandler;
+ GNSErrorHandler _bleServiceAddedCompletion;
+
+ dispatch_queue_t _queue;
+}
+
+@end
+
+static CBMutableCharacteristic *CreateWeaveIncomingCharacteristic() {
+ return [[CBMutableCharacteristic alloc]
+ initWithType:[CBUUID UUIDWithString:kGNSWeaveToPeripheralCharUUIDString]
+ properties:CBCharacteristicPropertyWrite
+ value:nil
+ permissions:CBAttributePermissionsWriteable];
+}
+
+static CBMutableCharacteristic *CreateWeaveOutgoingCharacteristic() {
+ return [[CBMutableCharacteristic alloc]
+ initWithType:[CBUUID UUIDWithString:kGNSWeaveFromPeripheralCharUUIDString]
+ properties:CBCharacteristicPropertyIndicate
+ value:nil
+ permissions:CBAttributePermissionsReadable];
+}
+
+static CBMutableCharacteristic *CreatePairingCharacteristic() {
+ return [[CBMutableCharacteristic alloc]
+ initWithType:[CBUUID UUIDWithString:kGNSPairingCharUUIDString]
+ properties:CBCharacteristicPropertyRead
+ value:nil
+ permissions:CBAttributePermissionsReadEncryptionRequired];
+}
+
+@implementation GNSPeripheralServiceManager
+
+- (instancetype)init {
+ [self doesNotRecognizeSelector:_cmd];
+ return nil;
+}
+
+- (instancetype)initWithBleServiceUUID:(CBUUID *)serviceUUID
+ addPairingCharacteristic:(BOOL)addPairingCharacteristic
+ shouldAcceptSocketHandler:(GNSShouldAcceptSocketHandler)shouldAcceptSocketHandler
+ queue:(dispatch_queue_t)queue {
+ self = [super init];
+ if (self) {
+ NSParameterAssert(shouldAcceptSocketHandler);
+ _advertising = YES;
+ _serviceUUID = serviceUUID;
+ _addPairingCharacteristic = addPairingCharacteristic;
+ _shouldAcceptSocketHandler = [shouldAcceptSocketHandler copy];
+ _sockets = [NSMutableDictionary dictionary];
+ _queue = queue;
+ }
+ return self;
+}
+
+- (instancetype)initWithBleServiceUUID:(CBUUID *)serviceUUID
+ addPairingCharacteristic:(BOOL)addPairingCharacteristic
+ shouldAcceptSocketHandler:(GNSShouldAcceptSocketHandler)shouldAcceptSocketHandler {
+ return [self initWithBleServiceUUID:serviceUUID
+ addPairingCharacteristic:addPairingCharacteristic
+ shouldAcceptSocketHandler:shouldAcceptSocketHandler
+ queue:dispatch_get_main_queue()];
+}
+
+- (NSString *)description {
+ return [NSString
+ stringWithFormat:
+ @"<%@: %p, %@, CBService state: %@, serviceUUID: %@, add pairing char: %@, sockets: %ld>",
+ [self class], self, _advertising ? @"advertising" : @"not advertising",
+ GetBluetoothServiceStateDescription(_cbServiceState), _serviceUUID,
+ _addPairingCharacteristic ? @"YES" : @"NO", (unsigned long)_sockets.count];
+}
+
+- (void)willAddCBService {
+ NSAssert(_cbServiceState == GNSBluetoothServiceStateNotAdded, @"Unexpected CBService state %@ %@",
+ GetBluetoothServiceStateDescription(_cbServiceState), self);
+ NSAssert(_cbService == nil, @"Service should not exist before it is actually added %@", self);
+
+ _cbServiceState = GNSBluetoothServiceStateAddInProgress;
+ NSAssert(!_weaveIncomingChar, @"Should have no weave incoming characteristic %@.", self);
+ _weaveIncomingChar = CreateWeaveIncomingCharacteristic();
+ NSAssert(!_weaveOutgoingChar, @"Should have no weave outgoing characteristic %@.", self);
+ _weaveOutgoingChar = CreateWeaveOutgoingCharacteristic();
+ NSAssert(!_pairingChar, @"Should have no pairing characteristic %@.", self);
+ if (_addPairingCharacteristic) {
+ _pairingChar = CreatePairingCharacteristic();
+ }
+ _cbService = [[CBMutableService alloc] initWithType:_serviceUUID primary:YES];
+ if (_pairingChar) {
+ _cbService.characteristics = @[ _weaveIncomingChar, _weaveOutgoingChar, _pairingChar ];
+ } else {
+ _cbService.characteristics = @[ _weaveIncomingChar, _weaveOutgoingChar ];
+ }
+ GTMLoggerInfo(@"Will add BLE service: %@", _cbService);
+}
+
+- (void)didAddCBServiceWithError:(NSError *)error {
+ if (_cbServiceState == GNSBluetoothServiceStateNotAdded) {
+ // Ignored as the service was probably removed while the add CBService operation was in
+ // progress.
+ GTMLoggerError(@"Ignore adding BLE service %@ result (error = %@) %@", _cbService, error, self);
+ return;
+ }
+
+ if (error) {
+ GTMLoggerError(@"Failed adding BLE service %@ (error = %@) %@", _cbService, error, self);
+ [self didRemoveCBService];
+ } else {
+ GTMLoggerInfo(@"Finished adding BLE service %@", _cbService);
+ _cbServiceState = GNSBluetoothServiceStateAdded;
+ }
+ if (_bleServiceAddedCompletion) {
+ _bleServiceAddedCompletion(error);
+ }
+}
+
+- (void)didRemoveCBService {
+ _cbServiceState = GNSBluetoothServiceStateNotAdded;
+ _cbService = nil;
+ _weaveIncomingChar = nil;
+ _weaveOutgoingChar = nil;
+ _pairingChar = nil;
+}
+
+- (void)restoredCBService:(CBMutableService *)service {
+ if (![service.UUID isEqual:_serviceUUID]) {
+ GTMLoggerError(@"Cannot restore from bluetooth service %@.", service);
+ return;
+ }
+ for (CBMutableCharacteristic *characteristic in service.characteristics) {
+ if (_addPairingCharacteristic &&
+ [characteristic.UUID isEqual:[CBUUID UUIDWithString:kGNSPairingCharUUIDString]]) {
+ _pairingChar = characteristic;
+ } else if ([characteristic.UUID
+ isEqual:[CBUUID UUIDWithString:kGNSWeaveToPeripheralCharUUIDString]]) {
+ _weaveIncomingChar = characteristic;
+ } else if ([characteristic.UUID
+ isEqual:[CBUUID UUIDWithString:kGNSWeaveFromPeripheralCharUUIDString]]) {
+ _weaveOutgoingChar = characteristic;
+ }
+ }
+ // TODO(jlebel): Need to find out how the service can be restored if a characteritic is missing.
+ // b/25561363
+ NSAssert(_weaveIncomingChar, @"Weave incoming characteristic missing");
+ NSAssert(_weaveOutgoingChar, @"Weave outgoing characteristic missing");
+ NSAssert(_pairingChar || !_addPairingCharacteristic, @"Pairing characteristic missing");
+ _cbService = service;
+ _cbServiceState = GNSBluetoothServiceStateAdded;
+ GTMLoggerInfo(@"Service restored: %@", _cbService);
+}
+
+- (void)setAdvertising:(BOOL)advertising {
+ if (advertising == _advertising) {
+ return;
+ }
+ _advertising = advertising;
+ [_peripheralManager updateAdvertisedServices];
+}
+
+#pragma mark - Private
+
+- (GNSShouldAcceptSocketHandler)shouldAcceptSocketHandler {
+ return _shouldAcceptSocketHandler;
+}
+
+- (GNSPeripheralManager *)peripheralManager {
+ return _peripheralManager;
+}
+
+- (CBMutableService *)cbService {
+ return _cbService;
+}
+
+- (CBMutableCharacteristic *)weaveIncomingCharacteristic {
+ return _weaveIncomingChar;
+}
+
+- (CBMutableCharacteristic *)weaveOutgoingCharacteristic {
+ return _weaveOutgoingChar;
+}
+
+- (CBMutableCharacteristic *)pairingCharacteristic {
+ return _pairingChar;
+}
+
+- (GNSErrorHandler)bleServiceAddedCompletion {
+ return _bleServiceAddedCompletion;
+}
+
+- (void)addedToPeripheralManager:(GNSPeripheralManager *)peripheralManager
+ bleServiceAddedCompletion:(GNSErrorHandler)completion {
+ NSAssert(_peripheralManager == nil,
+ @"Do not reuse. Already associated with another peripheral manager %@",
+ _peripheralManager);
+ _peripheralManager = peripheralManager;
+ _bleServiceAddedCompletion = [completion copy];
+}
+
+- (CBATTError)canProcessReadRequest:(CBATTRequest *)request {
+ if ([request.characteristic.UUID isEqual:_weaveOutgoingChar.UUID] ||
+ [request.characteristic.UUID isEqual:_weaveIncomingChar.UUID]) {
+ return CBATTErrorReadNotPermitted;
+ }
+ if (_pairingChar && [request.characteristic.UUID isEqual:_pairingChar.UUID]) {
+ return CBATTErrorSuccess;
+ }
+ return CBATTErrorAttributeNotFound;
+}
+
+- (void)processReadRequest:(CBATTRequest *)request {
+ if (!_pairingChar || ![request.characteristic.UUID isEqual:_pairingChar.UUID]) {
+ NSAssert(NO, @"Cannot read characteristic %@", request);
+ return;
+ }
+ request.value = [NSData data];
+}
+
+- (CBATTError)canProcessWriteRequest:(CBATTRequest *)request {
+ if ([request.characteristic.UUID isEqual:_weaveIncomingChar.UUID]) {
+ return CBATTErrorSuccess;
+ } else if ([request.characteristic.UUID isEqual:_weaveOutgoingChar.UUID]) {
+ return CBATTErrorWriteNotPermitted;
+ }
+ return CBATTErrorAttributeNotFound;
+}
+
+- (void)handleWeaveError:(GNSError)errorCode socket:(GNSSocket *)socket {
+ if (!socket) {
+ return;
+ }
+ // Only send the error if no error packet was previously received.
+ if (errorCode != GNSErrorWeaveErrorPacketReceived) {
+ GTMLoggerInfo(@"Sending error packet for socket: %@", socket);
+ GNSWeaveErrorPacket *errorPacket =
+ [[GNSWeaveErrorPacket alloc] initWithPacketCounter:socket.sendPacketCounter];
+ [self sendPacket:errorPacket toSocket:socket completion:^{
+ GTMLoggerInfo(@"Error packet sent to socket: %@", socket);
+ }];
+ }
+ NSError *error = GNSErrorWithCode(errorCode);
+ [self removeSocket:socket withError:error];
+}
+
+- (void)processWeaveWriteRequest:(CBATTRequest *)request {
+ if (![request.characteristic.UUID isEqual:_weaveIncomingChar.UUID]) {
+ GTMLoggerError(@"Cannot process %@ on characteristic %@ (%@)", request,
+ request.characteristic.UUID,
+ GNSCharacteristicName(request.characteristic.UUID.UUIDString));
+ return;
+ }
+ GNSSocket *socket = _sockets[request.central.identifier];
+ // We truncate the packet to size we are expecting: kGNSMinSupportedPacketSize (for the first
+ // packet) and |socket.packetSize| (for the rest).
+ NSUInteger truncatedSize =
+ MIN(socket ? socket.packetSize : kGNSMinSupportedPacketSize, request.value.length);
+ if (truncatedSize != request.value.length) {
+ GTMLoggerInfo(@"Packet with %ld bytes truncated to %ld.", (long)request.value.length,
+ (long)truncatedSize);
+ }
+ NSData *packetData = [request.value subdataWithRange:NSMakeRange(0, truncatedSize)];
+ NSError *parsingError = nil;
+ GNSWeavePacket *packet = [GNSWeavePacket parseData:packetData error:&parsingError];
+ if (!packet) {
+ GTMLoggerError(@"Error parsing weave packet (error = %@).", parsingError);
+ [self handleWeaveError:GNSErrorParsingWeavePacket socket:socket];
+ return;
+ }
+ if (!socket && ![packet isKindOfClass:[GNSWeaveConnectionRequestPacket class]]) {
+ GTMLoggerInfo(@"Non-request weave packet received when no socket exists -- ignoring");
+ return;
+ }
+ UInt8 expectedCounter = [packet isKindOfClass:[GNSWeaveConnectionRequestPacket class]] ?
+ 0 : socket.receivePacketCounter;
+ if (packet.packetCounter != expectedCounter) {
+ GTMLoggerError(@"Wrong packet counter, [received %d, expected %d].", packet.packetCounter,
+ expectedCounter);
+ [self handleWeaveError:GNSErrorWrongWeavePacketCounter socket:socket];
+ return;
+ }
+ [packet visitWithHandler:self context:request];
+ // A new socket was created if |request| contains a connection request packet. So we need to
+ // update |socket| before incrementing the packet counter.
+ socket = _sockets[request.central.identifier];
+
+ // Only an error packet can cause the socket to have been removed at this point.
+ NSAssert(socket || [packet isKindOfClass:[GNSWeaveErrorPacket class]],
+ @"Socket missing after receiving non-error weave packet");
+ [socket incrementReceivePacketCounter];
+}
+
+- (void)processWriteRequest:(CBATTRequest *)request {
+ if (![request.characteristic.UUID isEqual:_weaveIncomingChar.UUID]) {
+ GTMLoggerError(@"Cannot process %@ on characteristic %@ (%@)", request,
+ request.characteristic.UUID,
+ GNSCharacteristicName(request.characteristic.UUID.UUIDString));
+ return;
+ }
+ GTMLoggerInfo(@"Write request on Weave characteristic.");
+ [self processWeaveWriteRequest:request];
+}
+
+// This method sends |packet| fitting a single characteristic write to |socket|. All packets send by
+// this class (not the socket) must use this method.
+- (void)sendPacket:(GNSWeavePacket *)packet
+ toSocket:(GNSSocket *)socket
+ completion:(void (^)(void))completion {
+ NSAssert(packet.packetCounter == socket.sendPacketCounter, @"Wrong packet counter.");
+ [socket incrementSendPacketCounter];
+ // Do not check if the socket before retrying to send the packet if it's a connection confirm
+ // packet, as the socket is only connected after that packet is sent.
+ BOOL checkConnected = ![packet isKindOfClass:[GNSWeaveConnectionConfirmPacket class]];
+ NSData *data = [packet serialize];
+ [self sendData:data toSocket:socket checkConnected:checkConnected completion:completion];
+}
+
+- (void)sendData:(NSData *)data
+ toSocket:(GNSSocket *)socket
+ checkConnected:(BOOL)checkConnected
+ completion:(void (^)(void))completion {
+ __weak __typeof__(self) weakSelf = self;
+ [_peripheralManager
+ updateOutgoingCharOnSocket:socket
+ withHandler:^() {
+ __typeof__(weakSelf) strongSelf = weakSelf;
+ if (!strongSelf || (checkConnected && !socket.isConnected)) {
+ // Socket is gone or disconnected; don't reschedule.
+ return YES;
+ }
+ if (![strongSelf.peripheralManager updateOutgoingCharacteristic:data
+ onSocket:socket]) {
+ GTMLoggerInfo(@"Failed to update characteristic value; reschedule");
+ return NO;
+ }
+ if (completion) {
+ dispatch_async(_queue, ^{ completion(); });
+ }
+ return YES;
+ }];
+}
+
+- (void)socketReady:(GNSSocket *)socket {
+ [socket didConnect];
+}
+
+- (void)removeSocket:(GNSSocket *)socket withError:(NSError *)error {
+ if (error) {
+ GTMLoggerInfo(@"Socket disconnected with error, socket: %@, error: %@", socket, error);
+ } else {
+ GTMLoggerInfo(@"Socket disconnected %@", socket);
+ }
+ [_sockets removeObjectForKey:socket.peerIdentifier];
+ [socket didDisconnectWithError:error];
+ [_peripheralManager socketDidDisconnect:socket];
+}
+
+- (void)central:(CBCentral *)central
+ didSubscribeToCharacteristic:(CBCharacteristic *)characteristic {
+ if ([characteristic.UUID isEqual:_weaveOutgoingChar.UUID]) {
+ // TODO(sacomoto): The latency should be changed only with CrOS. When iOS is talking with OS X,
+ // changing the latency increases the authentication time. See b/23719877.
+ [_peripheralManager.cbPeripheralManager
+ setDesiredConnectionLatency:CBPeripheralManagerConnectionLatencyLow
+ forCentral:central];
+ }
+}
+
+- (void)central:(CBCentral *)central
+ didUnsubscribeFromCharacteristic:(CBCharacteristic *)characteristic {
+ GNSSocket *socket = _sockets[central.identifier];
+ if (socket && [characteristic.UUID isEqual:_weaveOutgoingChar.UUID]) {
+ // Disconnect signal is optional. If the central unsubscribe to _outgoingChar, the socket
+ // is disconnected.
+ GTMLoggerInfo(@"%@ unsubscribe to outgoing characteristic", central);
+ [self removeSocket:socket withError:nil];
+ }
+}
+
+#pragma mark - GNSSocketOwner
+
+- (NSUInteger)socketMaximumUpdateValueLength:(GNSSocket *)socket {
+ return [socket.peerAsCentral maximumUpdateValueLength];
+}
+
+- (void)sendData:(NSData *)data socket:(GNSSocket *)socket completion:(GNSErrorHandler)completion {
+ GTMLoggerInfo(@"Updating value in characteristic");
+ [_peripheralManager updateOutgoingCharOnSocket:socket withHandler:^{
+ BOOL wasSent = [_peripheralManager updateOutgoingCharacteristic:data onSocket:socket];
+ if (wasSent) {
+ GTMLoggerInfo(@"Successfully updated value in characteristic");
+ dispatch_async(_queue, ^{ completion(nil); });
+ } else {
+ GTMLoggerInfo(@"Failed to update characteristic value; reschedule");
+ }
+ return wasSent;
+ }];
+}
+
+- (NSUUID *)socketServiceIdentifier:(GNSSocket *)socket {
+ return [[NSUUID alloc] initWithUUIDString:_serviceUUID.UUIDString];
+}
+
+- (void)disconnectSocket:(GNSSocket *)socket {
+ if (!socket.isConnected) {
+ return;
+ }
+ // The Weave protocol has no disconnect signal. As a temporary solution, we send an error
+ // packet, as this will cause the central to disconnect.
+ GNSWeaveErrorPacket *errorPacket =
+ [[GNSWeaveErrorPacket alloc] initWithPacketCounter:socket.sendPacketCounter];
+ __weak __typeof__(self) weakSelf = self;
+ [self sendPacket:errorPacket
+ toSocket:socket
+ completion:^{
+ if (weakSelf) {
+ GTMLoggerInfo(@"Error packet sent (to force the central to disconnect).");
+ [weakSelf removeSocket:socket withError:nil];
+ }
+ }];
+}
+
+- (void)socketWillBeDeallocated:(GNSSocket *)socket {
+}
+
+#pragma mark - GNSWeavePacketHandler
+
+- (void)handleConnectionRequestPacket:(GNSWeaveConnectionRequestPacket *)packet
+ context:(id)request {
+ NSAssert([request isKindOfClass:[CBATTRequest class]], @"The context should be a request.");
+ GNSSocket *socket = _sockets[((CBATTRequest *)request).central.identifier];
+ if (socket) {
+ GTMLoggerInfo(@"Receiving a connection request from an already connected socket %@.", socket);
+ // The peripheral considers the previous socket as being disconnected.
+ NSError *error = GNSErrorWithCode(GNSErrorNewInviteToConnectReceived);
+ [self removeSocket:socket withError:error];
+ socket = nil;
+ }
+ socket = [[GNSSocket alloc] initWithOwner:self
+ centralPeer:((CBATTRequest *)request).central
+ queue:_queue];
+ if (packet.maxVersion < kWeaveVersionSupported || packet.minVersion > kWeaveVersionSupported) {
+ GTMLoggerError(@"Unsupported Weave version range: [%d, %d].", packet.minVersion,
+ packet.maxVersion);
+ [self handleWeaveError:GNSErrorUnsupportedWeaveProtocolVersion socket:socket];
+ return;
+ }
+ if (packet.maxPacketSize == 0) {
+ socket.packetSize = [self socketMaximumUpdateValueLength:socket];
+ } else {
+ socket.packetSize = MIN(packet.maxPacketSize, [self socketMaximumUpdateValueLength:socket]);
+ }
+ if (_shouldAcceptSocketHandler(socket)) {
+ _sockets[socket.peerIdentifier] = socket;
+
+ dispatch_async(_queue, ^{
+ GTMLoggerInfo(@"Sending connection confirm packet.");
+ GNSWeaveConnectionConfirmPacket *confirm =
+ [[GNSWeaveConnectionConfirmPacket alloc] initWithVersion:kWeaveVersionSupported
+ packetSize:socket.packetSize
+ data:nil];
+ __weak __typeof__(self) weakSelf = self;
+ [self sendPacket:confirm toSocket:socket completion:^{
+ if (weakSelf) {
+ GTMLoggerInfo(@"Connection confirm packet sent.");
+ [weakSelf socketReady:socket];
+ }
+ }];
+ });
+ }
+}
+
+- (void)handleConnectionConfirmPacket:(GNSWeaveConnectionConfirmPacket *)packet
+ context:(id)request {
+ NSAssert([request isKindOfClass:[CBATTRequest class]], @"The context should be a request.");
+ GNSSocket *socket = _sockets[((CBATTRequest *)request).central.identifier];
+ GTMLoggerError(@"Unexpected connection confirm packet received.");
+ [self handleWeaveError:GNSErrorUnexpectedWeaveControlPacket socket:socket];
+}
+
+- (void)handleErrorPacket:(GNSWeaveErrorPacket *)packet context:(id)request {
+ NSAssert([request isKindOfClass:[CBATTRequest class]], @"The context should be a request.");
+ GNSSocket *socket = _sockets[((CBATTRequest *)request).central.identifier];
+ GTMLoggerInfo(@"Error packet received.");
+ [self handleWeaveError:GNSErrorWeaveErrorPacketReceived socket:socket];
+}
+
+- (void)handleDataPacket:(GNSWeaveDataPacket *)packet context:(id)request {
+ NSAssert([request isKindOfClass:[CBATTRequest class]], @"The context should be a request.");
+ GNSSocket *socket = _sockets[((CBATTRequest *)request).central.identifier];
+ if (packet.isFirstPacket && socket.waitingForIncomingData) {
+ GTMLoggerError(@"There is already a receive operation in progress");
+ [self handleWeaveError:GNSErrorWeaveDataTransferInProgress socket:socket];
+ return;
+ }
+ [socket didReceiveIncomingWeaveDataPacket:packet];
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket+Private.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket+Private.h
new file mode 100644
index 00000000000..434dbf9e0e5
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket+Private.h
@@ -0,0 +1,144 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket.h"
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils+Private.h"
+
+@class GNSWeaveDataPacket;
+
+/**
+ * Protocol implemented by the class who is in charge to create the socket. The owner knows how
+ * send and receive data through Bluetooth BLE.
+ */
+@protocol GNSSocketOwner<NSObject>
+
+/**
+ * Returns the current MTU. Called by the socket when it needs to create chunks to send data.
+ *
+ * @param socket Current socket
+ *
+ * @return MTU.
+ */
+- (NSUInteger)socketMaximumUpdateValueLength:(GNSSocket *)socket;
+
+/**
+ * Called by the socket when it needs to send a chunk of data.
+ *
+ * @param data Chunk to send
+ * @param completion Callback called when the data has been fully sent or an error has occurred.
+ */
+- (void)sendData:(NSData *)data socket:(GNSSocket *)socket completion:(GNSErrorHandler)completion;
+
+/**
+ * Returns the UUID of the peer.
+ *
+ * @param socket Current socket
+ *
+ * @return UUID based on the peer.
+ */
+- (NSUUID *)socketServiceIdentifier:(GNSSocket *)socket;
+
+/**
+ * Called by the socket when the socket should be disconnected.
+ *
+ * @param socket Current socket
+ */
+- (void)disconnectSocket:(GNSSocket *)socket;
+
+/**
+ * Called when the socket is deallocated. Some owners (like GNSCentralPeerManager) doesn't retain
+ * the socket and let the socket user taking care of the retain/release. When this method is called
+ * the socket should not be called anymore.
+ *
+ * @param socket Socket being deallocated.
+ */
+- (void)socketWillBeDeallocated:(GNSSocket *)socket;
+
+@end
+
+/**
+ * Private methods called by GNSSocket and for tests.
+ * Should not be used by the Nearby Socket client.
+ */
+@interface GNSSocket ()
+
+@property(nonatomic, readwrite) UInt16 packetSize;
+@property(nonatomic, readonly) UInt8 receivePacketCounter;
+@property(nonatomic, readonly) UInt8 sendPacketCounter;
+@property(nonatomic, readonly) id<GNSSocketOwner> owner;
+@property(nonatomic, readonly) dispatch_queue_t queue;
+
+- (instancetype)initWithOwner:(id<GNSSocketOwner>)owner
+ centralPeer:(CBCentral *)centralPeer
+ queue:(dispatch_queue_t)queue;
+- (instancetype)initWithOwner:(id<GNSSocketOwner>)owner
+ peripheralPeer:(CBPeripheral *)peripheralPeer
+ queue:(dispatch_queue_t)queue;
+
+/**
+ * Increments |receivePacketCounter|.
+ */
+- (void)incrementReceivePacketCounter;
+
+/**
+ * Increments |sendPacketCounter|.
+ */
+- (void)incrementSendPacketCounter;
+
+/**
+ * Called by the socket owner once the connection response packet has been sent or received.
+ * The socket is ready to be used when this method is called.
+ */
+- (void)didConnect;
+
+/**
+ * Called by the socket owner when the socket is disconnected and should not be used anymore.
+ * The socket delegate is called to be notified with:
+ * -[id<GNSSocketDelegate> socket:didDisconnectWithError:]
+ *
+ * @param error Error that caused the socket to disconnect. Nil if the socket was disconnected
+ * properly.
+ */
+- (void)didDisconnectWithError:(NSError *)error;
+
+/**
+ * Called by the socket owner when a data packet is received.
+ *
+ * @param dataPacket The data packet received.
+ */
+- (void)didReceiveIncomingWeaveDataPacket:(GNSWeaveDataPacket *)dataPacket;
+
+/**
+ * Returns YES if an incoming message is pending and more chunks are waited.
+ *
+ * @return BOOL
+ */
+- (BOOL)waitingForIncomingData;
+
+/**
+ * Returns the peer casted as CBPeripheral. Asserts if the socket was created with another type.
+ *
+ * @return Peer.
+ */
+- (CBPeripheral *)peerAsPeripheral;
+
+/**
+ * Returns the peer casted as CBCentral. Asserts if the socket was created with another type.
+ *
+ * @return Peer.
+ */
+- (CBCentral *)peerAsCentral;
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket.h
new file mode 100644
index 00000000000..3c4daba09fb
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket.h
@@ -0,0 +1,155 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils.h"
+
+@class CBCentral;
+@class GNSPeripheralServiceManager;
+@class GNSSocket;
+
+// |progress| contains the percentage of the message already sent.
+typedef void (^GNSProgressHandler)(float progress);
+
+/**
+ * Protocol for socket delegates. The socket delegate should be set when the socket is accepted
+ * (when used with GNSPeripheralServiceManager) or when the socket is created (when used with
+ * GNSCentralPeer).
+ */
+@protocol GNSSocketDelegate<NSObject>
+
+/**
+ * Called when the socket is ready to send or receive data.
+ *
+ * @param socket Socket
+ */
+- (void)socketDidConnect:(GNSSocket *)socket;
+
+/**
+ * Called when the socket has been disconnected by the central (because a disconnect signal was
+ * received or -[GNSSocket disconnect] has been called).
+ *
+ * @param socket Socket
+ * @param error Error that caused the socket to disconnect. Nil if the socket was disconnected
+ * properly (by calling -[GNSSocket disconnect] on this side or the other side of the socket).
+ */
+- (void)socket:(GNSSocket *)socket didDisconnectWithError:(NSError *)error;
+
+/**
+ * Called when a new message has been received.
+ *
+ * @param socket Socket
+ * @param data Message received
+ */
+- (void)socket:(GNSSocket *)socket didReceiveData:(NSData *)data;
+
+@end
+
+/**
+ * This class is in charge of receiving and sending data between one central and one peripheral. It
+ * is created and owned by GNSPeripheralServiceManager or GNSCentralPeer.
+ *
+ *
+ * * To create a socket, see the GNSPeripheralManager or GNSCentralPeer documentation.
+ * When the socket is created, set the socket delegate. As soon as it is ready to use, the delegate
+ * is called:
+ * - (void)socketDidConnect:(GNSSocket *)socket {
+ * // the socket is ready to be used. To send or receive data.
+ * }
+ *
+ * * To receive data:
+ * - (void)socket:(GNSSocket *)socket didReceiveData:(NSData *)data {
+ * NSLog(@"Data received from central %@", data);
+ * ...
+ * }
+ *
+ * * To send data:
+ * GNSErrorHandler completionHandler = ^(NSError *error) {
+ * if (error) {
+ * NSLog(@"Failed to send data")
+ * } else {
+ * NSLog(@"data has been sent");
+ * }
+ * }
+ * [socket sendData:dataToSend
+ * completion:completionHandler];
+ *
+ * * To disconnect:
+ * [mySocket disconnect];
+ *
+ * * Once the socket is disconnected (by -[GNSSocket disconnect] or by the peer):
+ * - (void)socket:(GNSSocket *)socket didDisconnectWithError:(NSError *)error {
+ * NSLog(@"Socket disconnected, by peer");
+ * ...
+ * }
+*/
+@interface GNSSocket : NSObject
+
+/**
+ * The socket delegate.
+ */
+@property(nonatomic, weak) id<GNSSocketDelegate> delegate;
+
+/**
+ * YES if the socket is connected. The physical BLE connection may still exist when this is NO.
+ */
+@property(nonatomic, readonly, getter=isConnected) BOOL connected;
+
+/**
+ * The Core Bluetooth peer identifier.
+ */
+@property(nonatomic, readonly) NSUUID *peerIdentifier;
+
+/**
+ * The Core Bluetooth service identifier.
+ */
+@property(nonatomic, readonly) NSUUID *serviceIdentifier;
+
+/**
+ * The socket identifier.
+ */
+@property(nonatomic, readonly) NSUUID *socketIdentifier;
+
+/**
+ * A peer socket is always created by the library.
+ */
+- (instancetype)init NS_UNAVAILABLE;
+
+/**
+ * Returns YES if there is already a send operation in progress. If this method returns NO,
+ * then a call to -[GNSSocket sendData:completion:] won't result in a |GNSErrorOperationInProgress|
+ * error.
+ */
+- (BOOL)isSendOperationInProgress;
+
+/**
+ * Sends data to the central. The completion has to be called before calling this method a second
+ * time.
+ *
+ * @param data Data to send
+ * @param progressHandler Called repeatedly for progress feedback while the data is being sent.
+ * @param completion Callback called when the data has been fully sent,
+ * or it has failed to be sent (socket not connected or disconnected).
+ */
+- (void)sendData:(NSData *)data
+ progressHandler:(GNSProgressHandler)progressHandler
+ completion:(GNSErrorHandler)completion;
+
+/**
+ * Sends the disconnect signal and then disconnects this connection. The socket cannot be
+ * disconnected if the socket is processing data to send. The current send data operation has
+ * to be cancelled first.
+ */
+- (void)disconnect;
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket.m b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket.m
new file mode 100644
index 00000000000..2a1c342f53c
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket.m
@@ -0,0 +1,238 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSSocket+Private.h"
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSWeavePacket.h"
+#import "GoogleToolboxForMac/GTMLogger.h"
+
+typedef void (^GNSIncomingChunkReceivedBlock)(NSData *incomingData);
+
+@interface GNSSocket () {
+ NSMutableData *_incomingBuffer;
+ id _peer;
+}
+
+// Handler to generate a chunk for sending data. When the bluetooth stack is ready to send
+// more data the handler is called recursively to send the next chunk.
+@property(nonatomic, copy) GNSSendChunkBlock sendChunkCallback;
+
+// Handler to receive chunk from the central.
+@property(nonatomic, copy) GNSIncomingChunkReceivedBlock incomingChunkReceivedCallback;
+
+@property(nonatomic, readwrite, assign, getter=isConnected) BOOL connected;
+
+@property(nonatomic, readwrite) NSUUID *socketIdentifier;
+
+- (instancetype)initWithOwner:(id<GNSSocketOwner>)owner
+ peer:(id)peer
+ queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
+
+@end
+
+@implementation GNSSocket
+
+- (void)dealloc {
+ [_owner socketWillBeDeallocated:self];
+}
+
+- (BOOL)isSendOperationInProgress {
+ return self.sendChunkCallback != nil;
+}
+
+- (void)sendData:(NSData *)data
+ progressHandler:(GNSProgressHandler)progressHandler
+ completion:(GNSErrorHandler)completion {
+ void (^callCompletion)(NSError *) = ^(NSError *error) {
+ if (completion) dispatch_async(_queue, ^{ completion(error); });
+ };
+
+ if (self.sendChunkCallback) {
+ GTMLoggerInfo(@"Send operation already in progress");
+ callCompletion(GNSErrorWithCode(GNSErrorOperationInProgress));
+ return;
+ }
+ data = [data copy];
+ NSUInteger totalDataSize = data.length;
+ GTMLoggerInfo(@"Sending data with size %lu", (unsigned long)totalDataSize);
+
+ // Capture self for the duration of the send operation, to ensure it is completely sent.
+ // If the connection is lost, the block will be deleted and the retain cycle broken.
+ __typeof__(self) selfRef = self; // this avoids the retain cycle compiler warning
+ self.sendChunkCallback = ^(NSUInteger offset) {
+ __typeof__(self) self = selfRef;
+ if (!self.isConnected) {
+ self.sendChunkCallback = nil;
+ callCompletion(GNSErrorWithCode(GNSErrorNoConnection));
+ return;
+ }
+ if (progressHandler) {
+ float progressPercentage = 1.0;
+ if (totalDataSize > 0) {
+ progressPercentage = (float)offset / totalDataSize;
+ }
+ progressHandler(progressPercentage);
+ }
+ NSUInteger newOffset = offset;
+ GNSWeaveDataPacket *dataPacket =
+ [GNSWeaveDataPacket dataPacketWithPacketCounter:self.sendPacketCounter
+ packetSize:self.packetSize
+ data:data
+ offset:&newOffset];
+ [self incrementSendPacketCounter];
+
+ GTMLoggerInfo(@"Sending chunk with size %ld", (long)(newOffset - offset));
+ [self.owner sendData:[dataPacket serialize] socket:self completion:^(NSError *_Nullable error) {
+ if (error) {
+ GTMLoggerInfo(@"Error sending chunk");
+ self.sendChunkCallback = nil;
+ callCompletion(error);
+ } else {
+ if (newOffset < totalDataSize) {
+ // Dispatch async to avoid stack overflow on large payloads.
+ dispatch_async(self.queue, ^{ self.sendChunkCallback(newOffset); });
+ } else {
+ GTMLoggerInfo(@"Finished sending payload");
+ self.sendChunkCallback = nil;
+ callCompletion(nil);
+ }
+ }
+ }];
+ };
+ self.sendChunkCallback(0);
+}
+
+- (void)disconnect {
+ if (!_connected) {
+ GTMLoggerInfo(@"Socket already disconnected, socket: %@, delegate %@, owner %@", self,
+ _delegate, _owner);
+ return;
+ }
+ GTMLoggerInfo(@"Disconnect");
+ [_owner disconnectSocket:self];
+}
+
+- (NSString *)description {
+ return [NSString stringWithFormat:@"<%@: %p, %@, central: %@>", [self class], self,
+ _connected ? @"connected" : @"not connected",
+ self.peerIdentifier.UUIDString];
+}
+
+- (NSUUID *)peerIdentifier {
+ return (NSUUID *)[_peer identifier];
+}
+
+- (NSUUID *)serviceIdentifier {
+ return [_owner socketServiceIdentifier:self];
+}
+
+#pragma mark - Private
+
+- (instancetype)init {
+ [self doesNotRecognizeSelector:_cmd];
+ return nil;
+}
+
+- (instancetype)initWithOwner:(id<GNSSocketOwner>)owner
+ centralPeer:(CBCentral *)centralPeer
+ queue:(dispatch_queue_t)queue {
+ return [self initWithOwner:owner peer:centralPeer queue:queue];
+}
+
+- (instancetype)initWithOwner:(id<GNSSocketOwner>)owner
+ peripheralPeer:(CBPeripheral *)peripheralPeer
+ queue:(dispatch_queue_t)queue {
+ return [self initWithOwner:owner peer:peripheralPeer queue:queue];
+}
+
+- (instancetype)initWithOwner:(id<GNSSocketOwner>)owner
+ peer:(id)peer
+ queue:(dispatch_queue_t)queue {
+ self = [super init];
+ if (self) {
+ NSAssert(owner, @"Socket should have an owner.");
+ NSAssert(peer, @"Socket should have a peer.");
+ _owner = owner;
+ _peer = peer;
+ _queue = queue;
+ _socketIdentifier = [NSUUID UUID];
+ _packetSize = kGNSMinSupportedPacketSize;
+ }
+ return self;
+}
+
+- (void)incrementReceivePacketCounter {
+ _receivePacketCounter = (_receivePacketCounter + 1) % kGNSMaxPacketCounterValue;
+ GTMLoggerDebug(@"New receive packet counter %d", _receivePacketCounter);
+}
+
+- (void)incrementSendPacketCounter {
+ _sendPacketCounter = (_sendPacketCounter + 1) % kGNSMaxPacketCounterValue;
+ GTMLoggerDebug(@"New send packet counter %d", _sendPacketCounter);
+}
+
+- (void)didConnect {
+ _connected = YES;
+ [_delegate socketDidConnect:self];
+}
+
+- (void)didDisconnectWithError:(NSError *)error {
+ _connected = NO;
+ _incomingChunkReceivedCallback = nil;
+ _incomingBuffer = nil;
+ [_delegate socket:self didDisconnectWithError:error];
+}
+
+- (void)didReceiveIncomingWeaveDataPacket:(GNSWeaveDataPacket *)dataPacket {
+ if (!_connected) {
+ GTMLoggerError(@"Cannot receive incoming data packet while not being connected");
+ return;
+ }
+ if (dataPacket.isFirstPacket) {
+ NSAssert(!_incomingBuffer, @"There should not be a receive operation in progress.");
+ _incomingBuffer = [NSMutableData data];
+ }
+ GTMLoggerInfo(@"Received chunk with size %lu", (unsigned long)dataPacket.data.length);
+ [_incomingBuffer appendData:dataPacket.data];
+ if (dataPacket.isLastPacket) {
+ NSData *incomingData = _incomingBuffer;
+ _incomingBuffer = nil;
+ GTMLoggerInfo(@"Finished receiving payload with size %lu", (unsigned long)incomingData.length);
+ [self.delegate socket:self didReceiveData:incomingData];
+ }
+}
+
+- (BOOL)waitingForIncomingData {
+ return _incomingBuffer != nil;
+}
+
+- (CBPeripheral *)peerAsPeripheral {
+ NSAssert([_peer isKindOfClass:[CBPeripheral class]], @"Wrong peer type %@", _peer);
+ if ([_peer isKindOfClass:[CBPeripheral class]]) {
+ return _peer;
+ } else {
+ return nil;
+ }
+}
+
+- (CBCentral *)peerAsCentral {
+ NSAssert([_peer isKindOfClass:[CBCentral class]], @"Wrong peer type %@", _peer);
+ if ([_peer isKindOfClass:[CBCentral class]]) {
+ return _peer;
+ } else {
+ return nil;
+ }
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils+Private.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils+Private.h
new file mode 100644
index 00000000000..cea06b143a7
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils+Private.h
@@ -0,0 +1,47 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils.h"
+
+NS_ASSUME_NONNULL_BEGIN
+
+extern NSString *const kGNSWeaveToPeripheralCharUUIDString;
+extern NSString *const kGNSWeaveFromPeripheralCharUUIDString;
+
+extern NSString *const kGNSPairingCharUUIDString;
+
+@protocol GNSPeer;
+
+typedef void (^GNSBoolHandler)(BOOL flag);
+typedef void (^GNSSendChunkBlock)(NSUInteger offset);
+
+/**
+ * Returns NSError with the description.
+ *
+ * @param errorCode Error code from GNSError.
+ *
+ * @return NSError.
+ */
+NSError *GNSErrorWithCode(GNSError errorCode);
+
+/**
+ * Returns a human readable name based on a characteristic UUID.
+ *
+ * @param uuid Characteristic UUID string
+ *
+ * @return Name of the characteristic.
+ */
+NSString *GNSCharacteristicName(NSString *uuid);
+
+NS_ASSUME_NONNULL_END
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils.h
new file mode 100644
index 00000000000..80b57882dc7
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils.h
@@ -0,0 +1,47 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <CoreBluetooth/CoreBluetooth.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+extern NSString *const kGNSSocketsErrorDomain;
+
+typedef NS_ENUM(NSInteger, GNSError) {
+ GNSErrorNoError,
+ GNSErrorNoConnection,
+ GNSErrorLostConnection,
+ GNSErrorOperationInProgress,
+ GNSErrorMissingService,
+ GNSErrorMissingCharacteristics,
+ GNSErrorPeripheralDidRefuseConnection,
+ GNSErrorCancelPendingSocketRequested,
+ GNSErrorNewInviteToConnectReceived,
+ GNSErrorWeaveErrorPacketReceived,
+ GNSErrorUnsupportedWeaveProtocolVersion,
+ GNSErrorUnexpectedWeaveControlPacket,
+ GNSErrorParsingWeavePacket,
+ GNSErrorWrongWeavePacketCounter,
+ GNSErrorWeaveDataTransferInProgress,
+ GNSErrorParsingWeavePacketTooSmall,
+ GNSErrorParsingWeavePacketTooLarge,
+ GNSErrorConnectionTimedOut,
+};
+
+// This handler is called to receive the CBPeripheralManager state updates.
+typedef void (^GNSPeripheralManagerStateHandler)(CBManagerState peripheralManagerState);
+
+typedef void (^GNSErrorHandler)(NSError *_Nullable error);
+
+NS_ASSUME_NONNULL_END
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils.m b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils.m
new file mode 100644
index 00000000000..521e16045ae
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils.m
@@ -0,0 +1,102 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils+Private.h"
+
+#import <CommonCrypto/CommonDigest.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+NSString *const kGNSSocketsErrorDomain = @"com.google.nearby.sockets";
+
+NSString *const kGNSWeaveToPeripheralCharUUIDString = @"00000100-0004-1000-8000-001A11000101";
+NSString *const kGNSWeaveFromPeripheralCharUUIDString = @"00000100-0004-1000-8000-001A11000102";
+
+NSString *const kGNSPairingCharUUIDString = @"17836FBD-8C6A-4B81-83CE-8560629E834B";
+
+NSError *GNSErrorWithCode(GNSError errorCode) {
+ NSString *description = nil;
+ switch (errorCode) {
+ case GNSErrorNoError:
+ NSCAssert(NO, @"Should not create an error with GNSErrorNoError");
+ break;
+ case GNSErrorNoConnection:
+ description = @"No connection.";
+ break;
+ case GNSErrorLostConnection:
+ description = @"Connection lost.";
+ break;
+ case GNSErrorOperationInProgress:
+ description = @"Operation in progress.";
+ break;
+ case GNSErrorMissingService:
+ description = @"Missing service.";
+ break;
+ case GNSErrorMissingCharacteristics:
+ description = @"Missing characteristic.";
+ break;
+ case GNSErrorPeripheralDidRefuseConnection:
+ description = @"Peripheral refused connection.";
+ break;
+ case GNSErrorCancelPendingSocketRequested:
+ description = @"Pending socket request canceled.";
+ break;
+ case GNSErrorNewInviteToConnectReceived:
+ description = @"Second invitation to connect received";
+ break;
+ case GNSErrorWeaveErrorPacketReceived:
+ description = @"Weave error packet received.";
+ break;
+ case GNSErrorUnsupportedWeaveProtocolVersion:
+ description = @"Unsupported weave protocol version.";
+ break;
+ case GNSErrorUnexpectedWeaveControlPacket:
+ description = @"Unexpected weave control packet.";
+ break;
+ case GNSErrorParsingWeavePacket:
+ description = @"Parsing weave packet error.";
+ break;
+ case GNSErrorWrongWeavePacketCounter:
+ description = @"Wrong weave packet counter.";
+ break;
+ case GNSErrorWeaveDataTransferInProgress:
+ description = @"Weave data transfer in progress.";
+ break;
+ case GNSErrorParsingWeavePacketTooSmall:
+ description = @"Weave packet too small.";
+ break;
+ case GNSErrorParsingWeavePacketTooLarge:
+ description = @"Weave packet too large.";
+ break;
+ case GNSErrorConnectionTimedOut:
+ description = @"Connection timed out.";
+ break;
+ }
+ NSCAssert(description, @"Unknown NearbySocket error code %ld", (long)errorCode);
+ NSDictionary<NSErrorUserInfoKey, id> *userInfo = @{NSLocalizedDescriptionKey : description};
+ return [NSError errorWithDomain:kGNSSocketsErrorDomain code:errorCode userInfo:userInfo];
+}
+
+NSString *GNSCharacteristicName(NSString *uuid) {
+ if ([uuid isEqual:kGNSWeaveToPeripheralCharUUIDString]) {
+ return @"ToPeripheralChar";
+ } else if ([uuid isEqual:kGNSWeaveFromPeripheralCharUUIDString]) {
+ return @"FromPeripheralChar";
+ } else if ([uuid isEqual:kGNSPairingCharUUIDString]) {
+ return @"PairingChar";
+ }
+ return @"UnknownChar";
+}
+
+NS_ASSUME_NONNULL_END
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSWeavePacket.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSWeavePacket.h
new file mode 100644
index 00000000000..2138c774452
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSWeavePacket.h
@@ -0,0 +1,242 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <Foundation/Foundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class GNSWeaveConnectionRequestPacket;
+@class GNSWeaveConnectionConfirmPacket;
+@class GNSWeaveErrorPacket;
+@class GNSWeaveDataPacket;
+
+extern const UInt8 kGNSMaxPacketCounterValue;
+extern const UInt16 kGNSMinSupportedPacketSize;
+extern const NSUInteger kGNSMaxCentralHandshakeDataSize;
+
+typedef NS_ENUM(UInt8, GNSWeaveControlCommand) {
+ GNSWeaveControlCommandConnectionRequest = 0,
+ GNSWeaveControlCommandConnectionConfirm = 1,
+ GNSWeaveControlCommandError = 2,
+};
+
+/**
+ * This protocol should be implemented by classes handling Weave BLE packets. The classes should
+ * implement only the methods corresponding to the packets it should handle. It should be used with
+ * +[GNSWeavePacket parsePacket:] and -[GNSWeavePacket visitWithHandler:context:] to parse
+ * serialized Weave packets.
+ *
+ * For example, the |Socket| class below handles a serialized weave connection request packet:
+ *
+ * @interface Socket : NSObject<GNSWeavePacketHandler>
+ * @end
+ *
+ * @implementation Socket
+ *
+ * - (void)didReceivedData:(NSData *)data {
+ * GNSWeavePacket *packet = [GNSWeavePacket parseData:data error:nil];
+ * if ([packet visitWithHandler:self context:nil]) {
+ * NSLog(@"This class can handle this packet.");
+ * } else {
+ * NSLog(@"Unexpected packet received.");
+ * }
+ * }
+ *
+ * - (void)handleConnectionRequestPacket:(GNSWeaveConnectionRequestPacket *)packet
+ * context:(nullable id)context {
+ * NSLog(@"Connection request packet received.");
+ * ...
+ * }
+ * @end
+ *
+ **/
+@protocol GNSWeavePacketHandler<NSObject>
+@optional
+
+- (void)handleConnectionRequestPacket:(GNSWeaveConnectionRequestPacket *)packet
+ context:(nullable id)context;
+- (void)handleConnectionConfirmPacket:(GNSWeaveConnectionConfirmPacket *)packet
+ context:(nullable id)context;
+- (void)handleErrorPacket:(GNSWeaveErrorPacket *)packet context:(nullable id)context;
+- (void)handleDataPacket:(GNSWeaveDataPacket *)packet context:(nullable id)context;
+
+@end
+
+/**
+ * The Weave BLE protocol (go/weave-ble-gatt-transport) has two types of packets: control and data.
+ *
+ * There are 3 types of control packets:
+ * - connection request (GNSWeaveConnectionRequestPacket);
+ * - connection confirm (GNSWeaveConnectionConfirmPacket);
+ * - error (GNSWeaveErrorPacket).
+ *
+ * The first two messages are used to establish the Weave BLE logical connection: the central
+ * (client) sends a connection request packet and the peripheral replies with a connection confirm
+ * request. This first two messages are used to negociate to connection paramenter: protocol version
+ * and packet size.
+ *
+ * After the logical connection is established the peers can exchange arbitrarily large messages
+ * that split are into data packets (GNSWeaveDataPacket).
+ *
+ * All packets have a 3-bit packet counter. This is used to detect packet drops, re-ordering or
+ * duplication. There is no recovery strategy, if a peer detects any error it sends an error packet
+ * to the other peer and closes the connection.
+ **/
+@interface GNSWeavePacket : NSObject
+@property(nonatomic, readonly) UInt8 packetCounter;
+
+/**
+ * Parses |data| and, if possible, extracts and return the corresponding Weave packet. It returns
+ * nil if there was an error parsing the packet. See GNSWeavePacketHandler.
+ *
+ * @param data The binary data containing.
+ * @param outError The error causing the parsing to fail.
+ *
+ * @return The corresponding Weave packet or an nil if there was an error.
+ **/
++ (nullable GNSWeavePacket *)parseData:(NSData *)data
+ error:(out __autoreleasing NSError **)outError;
+
+- (instancetype)init NS_UNAVAILABLE;
+
+/**
+ * Calls the |handler| method corresponding to the type of the current packet. See
+ * GNSWeavePacketHandler.
+ *
+ * @param handler The packet handler.
+ * @param context The context passed to the handler.
+ *
+ * @return YES if |handler| can handle the current message.
+ */
+- (BOOL)visitWithHandler:(id<GNSWeavePacketHandler>)handler context:(nullable id)context;
+
+/**
+ * Serialize the packet.
+ */
+- (NSData *)serialize;
+
+@end
+
+@interface GNSWeaveConnectionRequestPacket : GNSWeavePacket
+
+@property(nonatomic, readonly) UInt16 minVersion;
+@property(nonatomic, readonly) UInt16 maxVersion;
+@property(nonatomic, readonly) UInt16 maxPacketSize;
+@property(nonatomic, readonly) NSData *data;
+
+/**
+ * Creates an instance of the GNSWeaveConnectionRequestPacket. Note: there is no packet counter
+ * parameter as this is necessarily the first packet sent by this peer (central/client).
+ *
+ * @param minVersion The minimum Weave BLE protocol version supported by this peer (central/client).
+ * @param maxVersion The maximum Weave BLE protocol version supported by this peer.
+ * @param maxPacketSize The maximum packet size (in bytes) supported by this peer. According to the
+ * BLE specs this should be at least 20 and at most 509 bytes.
+ * @param data The optional data send with the connection request packet. This should not exceed
+ * 13 bytes
+ *
+ * @return GNSWeaveConnectionRequestPacket instance.
+ **/
+- (nullable instancetype)initWithMinVersion:(UInt16)minVersion
+ maxVersion:(UInt16)maxVersion
+ maxPacketSize:(UInt16)maxPacketSize
+ data:(nullable NSData *)data NS_DESIGNATED_INITIALIZER;
+
+- (instancetype)initWithPacketCounter:(UInt8)packetCounter NS_UNAVAILABLE;
+
+@end
+
+@interface GNSWeaveConnectionConfirmPacket : GNSWeavePacket
+
+@property(nonatomic, readonly) UInt16 version;
+@property(nonatomic, readonly) UInt16 packetSize;
+@property(nonatomic, readonly) NSData *data;
+
+/**
+ * Creates an instance of the GNSWeaveConnectionConfirmPacket. Note: there is no packet counter
+ * parameter as this is necessarily the first packet sent by this peer (peripheral/server).
+ *
+ * @param version The chosen Weave BLE protocol version for the current connection.
+ * @param packetSize The chosen packet size for the current connection. According to the BLE specs
+ * this should be at least 20 and at most 509 bytes.
+ * @param data The optional data send with the connection confirm packet. This should not exceed 15
+ * bytes.
+ *
+ * @return GNSWeaveConnectionConfirmPacket instance.
+ **/
+- (nullable instancetype)initWithVersion:(UInt16)version
+ packetSize:(UInt16)packetSize
+ data:(nullable NSData *)data NS_DESIGNATED_INITIALIZER;
+
+- (instancetype)initWithPacketCounter:(UInt8)packetCounter NS_UNAVAILABLE;
+
+@end
+
+@interface GNSWeaveErrorPacket : GNSWeavePacket
+
+/**
+ * Creates an instance of the GNSWeaveErrorPacket.
+ *
+ * @param packetCounter The current 3-bit packet counter (i.e. should be stricly smaller than 8).
+ *
+ * @return GNSWeaveErrorPacket instance.
+ **/
+- (nullable instancetype)initWithPacketCounter:(UInt8)packetCounter NS_DESIGNATED_INITIALIZER;
+
+@end
+
+@interface GNSWeaveDataPacket : GNSWeavePacket
+@property(nonatomic, readonly, getter=isFirstPacket) BOOL firstPacket;
+@property(nonatomic, readonly, getter=isLastPacket) BOOL lastPacket;
+@property(nonatomic, readonly) NSData *data;
+
+/**
+ * Creates an instance of the GNSWeaveDataPacket for |data| starting at |outOffset| containing at
+ * most |packetSize|-1 bytes, and updates |outOffset| for the next packet. This should be used
+ * iteratively to split a message in GNSWeaveDataPacket's to be send to other peer.
+ *
+ * @param packetCounter The current 3-bit packet counter (i.e. should be stricly smaller than 8).
+ * @param packetSize The maximum size of a data packet (including the 1-byte header).
+ * @param data The data to send to the other peer.
+ * @param inOutOffset The offset for |data|. It's updated with the new offset value for the next
+ * data packet. It's equal to |data.length| if this is the last packet.
+ *
+ * @return GNSWeaveDataPacket instance.
+ **/
++ (nullable GNSWeaveDataPacket *)dataPacketWithPacketCounter:(UInt8)packetCounter
+ packetSize:(UInt16)packetSize
+ data:(NSData *)data
+ offset:(NSUInteger *)inOutOffset;
+
+/**
+ * Creates an instance of the GNSWeaveDataPacket. Avoid using this initializer directly, prefer
+ * using -[GNSWeaveDataPacket dataPacketWithPacketCounter:packetSize:data:offset:].
+ *
+ * @param packetCounter The current 3-bit packet counter (i.e. should be stricly smaller than 8).
+ * @param isFirstPacket YES if this is the first packet of a message.
+ * @param isLastPacket YES if this is the last packet of a message.
+ * @param data The actual data being send.
+ *
+ * @return GNSWeaveDataPacket instance.
+ **/
+- (nullable instancetype)initWithPacketCounter:(UInt8)packetCounter
+ firstPacket:(BOOL)isFirstPacket
+ lastPacket:(BOOL)isLastPacket
+ data:(NSData *)data NS_DESIGNATED_INITIALIZER;
+
+- (instancetype)initWithPacketCounter:(UInt8)packetCounter NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSWeavePacket.m b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSWeavePacket.m
new file mode 100644
index 00000000000..5244dc052ea
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSWeavePacket.m
@@ -0,0 +1,416 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSWeavePacket.h"
+
+#import "internal/platform/implementation/ios/Mediums/Ble/Sockets/Source/Shared/GNSUtils+Private.h"
+
+// Constants defined by the Weave BLE protocol.
+const UInt8 kGNSMaxPacketCounterValue = 8;
+const UInt16 kGNSMinSupportedPacketSize = 20;
+const NSUInteger kGNSMaxCentralHandshakeDataSize = 13;
+static const NSUInteger kHeaderSize = 1;
+static const NSUInteger kMaxControlPacketSize = 20;
+static const NSUInteger kMinConnectionRequestPayloadSize = 6;
+static const NSUInteger kMinConnectionConfirmPayloadSize = 4;
+
+// Header offsets.
+static const UInt8 kPacketTypeOffset = 7;
+static const UInt8 kPacketCounterOffset = 4;
+static const UInt8 kFirstPacketFlagOffset = 3;
+static const UInt8 kLastPacketFlagOffset = 2;
+
+// Bitmasks for the packet headers.
+static const UInt8 kPacketTypeBitmask = (1 << 7); // 10000000
+static const UInt8 kPacketCounterBitmask = (1 << 6) | (1 << 5) | (1 << 4); // 01110000
+static const UInt8 kControlCommandBitmask = (1 << 3) | (1 << 2) | (1 << 1) | (1 << 0); // 00001111
+static const UInt8 kFirstPacketFlagBitmask = (1 << 3); // 00001000
+static const UInt8 kLastPacketFlagBitmask = (1 << 2); // 00000100
+
+static const UInt8 kControlPacketValue = 1;
+
+/**
+ * The Weave BLE protocol (go/weave-ble-gatt-transport) has two types of packets: control and data.
+ * Both packets contain a 1-byte header followed by a variable size payload. The header
+ * bit-structure is the following:
+ *
+ * 1) Control Packet: TCCCNNNN
+ * T: packet type, 1 for control packets
+ * CCC: packet counter
+ * NNNN: control command number (GNSWeaveControlCommand)
+ *
+ * 2) Data Packet: TCCCFL00
+ * T: packet type, 0 for data packets
+ * CCC: packet counter
+ * F: bit indicating the first packet of a message
+ * L: bit indication the last packet of a message
+ *
+ * Note: A single packet message will have both F and L set.
+ *
+ * The helpers below are used to manipulate the headers.
+ **/
+static UInt8 ExtractPacketType(UInt8 header) {
+ return (header & kPacketTypeBitmask) >> kPacketTypeOffset;
+}
+
+static UInt8 ExtractPacketCounter(UInt8 header) {
+ return (header & kPacketCounterBitmask) >> kPacketCounterOffset;
+}
+
+static UInt8 ExtractControlCommand(UInt8 header) { return (header & kControlCommandBitmask); }
+
+static UInt8 ExtractFirstPacketFlag(UInt8 header) {
+ return (header & kFirstPacketFlagBitmask) >> kFirstPacketFlagOffset;
+}
+
+static UInt8 ExtractLastPacketFlag(UInt8 header) {
+ return (header & kLastPacketFlagBitmask) >> kLastPacketFlagOffset;
+}
+
+// The Weave protocol uses big-endian format (network byte order) for multi-byte types.
+static UInt16 ExtractUInt16(const void *bytes, size_t offset) {
+ return CFSwapInt16BigToHost(*(UInt16 *)(bytes + offset));
+}
+
+static NSData *ExtractPayloadData(NSData *payload, size_t offset) {
+ if (offset >= payload.length) {
+ return nil;
+ }
+ return [payload subdataWithRange:NSMakeRange(offset, payload.length - offset)];
+}
+
+static UInt8 WeaveControlPacketHeader(UInt8 packetCounter, GNSWeaveControlCommand command) {
+ return (1 << kPacketTypeOffset) | (packetCounter << kPacketCounterOffset) | command;
+}
+
+static UInt8 WeaveDataPacketHeader(UInt8 packetCounter, BOOL firstPacketFlag, BOOL lastPacketFlag) {
+ return (packetCounter << kPacketCounterOffset) | (firstPacketFlag << kFirstPacketFlagOffset) |
+ (lastPacketFlag << kLastPacketFlagOffset);
+}
+
+@interface GNSWeavePacket ()
+
+- (nullable instancetype)initWithPacketCounter:(UInt8)packetCounter NS_DESIGNATED_INITIALIZER;
+
+@end
+
+@implementation GNSWeavePacket
+
++ (GNSWeavePacket *)parseData:(NSData *)data error:(out __autoreleasing NSError **)outError {
+ if (data.length < kHeaderSize) {
+ if (outError) {
+ *outError = GNSErrorWithCode(GNSErrorParsingWeavePacketTooSmall);
+ }
+ return nil;
+ }
+ // The header is the first byte of |data|.
+ UInt8 header = *(UInt8 *)data.bytes;
+ BOOL isControlPacket = ExtractPacketType(header) == kControlPacketValue;
+ UInt8 packetCounter = ExtractPacketCounter(header);
+
+ GNSWeavePacket *parsedPacket = nil;
+ if (isControlPacket) {
+ if (data.length > kMaxControlPacketSize) {
+ if (outError) {
+ *outError = GNSErrorWithCode(GNSErrorParsingWeavePacketTooLarge);
+ }
+ return nil;
+ }
+ GNSWeaveControlCommand controlCommand = ExtractControlCommand(header);
+ switch (controlCommand) {
+ case GNSWeaveControlCommandConnectionRequest: {
+ NSData *payload = [data subdataWithRange:NSMakeRange(1, data.length - 1)];
+ if (payload.length < kMinConnectionRequestPayloadSize) {
+ if (outError) {
+ *outError = GNSErrorWithCode(GNSErrorParsingWeavePacketTooSmall);
+ }
+ return nil;
+ }
+ UInt16 minVersion = ExtractUInt16(payload.bytes, 0);
+ UInt16 maxVersion = ExtractUInt16(payload.bytes, sizeof(minVersion));
+ UInt16 maxPacketSize =
+ ExtractUInt16(payload.bytes, sizeof(minVersion) + sizeof(maxVersion));
+
+ // Extracting the (optional) payload data.
+ size_t payloadDataOffset = sizeof(maxVersion) + sizeof(minVersion) + sizeof(maxPacketSize);
+ NSData *payloadData = ExtractPayloadData(payload, payloadDataOffset);
+ parsedPacket = [[GNSWeaveConnectionRequestPacket alloc] initWithMinVersion:minVersion
+ maxVersion:maxVersion
+ maxPacketSize:maxPacketSize
+ data:payloadData];
+ break;
+ }
+ case GNSWeaveControlCommandConnectionConfirm: {
+ NSData *payload = [data subdataWithRange:NSMakeRange(1, data.length - 1)];
+ if (payload.length < kMinConnectionConfirmPayloadSize) {
+ if (outError) {
+ *outError = GNSErrorWithCode(GNSErrorParsingWeavePacketTooSmall);
+ }
+ return nil;
+ }
+ UInt16 version = ExtractUInt16(payload.bytes, 0);
+ UInt16 packetSize = ExtractUInt16(payload.bytes, sizeof(version));
+ size_t payloadDataOffset = sizeof(version) + sizeof(packetSize);
+
+ // Extracting the (optional) payload data.
+ NSData *payloadData = ExtractPayloadData(payload, payloadDataOffset);
+ parsedPacket = [[GNSWeaveConnectionConfirmPacket alloc] initWithVersion:version
+ packetSize:packetSize
+ data:payloadData];
+ break;
+ }
+ case GNSWeaveControlCommandError: {
+ parsedPacket = [[GNSWeaveErrorPacket alloc] initWithPacketCounter:packetCounter];
+ break;
+ }
+ }
+ } else {
+ parsedPacket = [[GNSWeaveDataPacket alloc]
+ initWithPacketCounter:packetCounter
+ firstPacket:ExtractFirstPacketFlag(header)
+ lastPacket:ExtractLastPacketFlag(header)
+ data:[data subdataWithRange:NSMakeRange(1, data.length - 1)]];
+ }
+ NSAssert(parsedPacket != nil, @"Parsed packet cannot be nil.");
+ return parsedPacket;
+}
+
+- (instancetype)initWithPacketCounter:(UInt8)packetCounter {
+ NSAssert(packetCounter < kGNSMaxPacketCounterValue,
+ @"The packetCounter should have at most 3 bits.");
+ self = [super init];
+ if (self) {
+ _packetCounter = packetCounter;
+ }
+ return self;
+}
+
+- (instancetype)init {
+ [self doesNotRecognizeSelector:_cmd];
+ return nil;
+}
+
+- (BOOL)visitWithHandler:(id<GNSWeavePacketHandler>)handler context:(id)context {
+ [self doesNotRecognizeSelector:_cmd];
+ return NO;
+}
+
+- (NSData *)serialize {
+ [self doesNotRecognizeSelector:_cmd];
+ return nil;
+}
+
+- (NSString *)description {
+ return [NSString
+ stringWithFormat:@"<%@: %p, packet counter: %d>", [self class], self, _packetCounter];
+}
+
+@end
+
+@implementation GNSWeaveConnectionRequestPacket
+
+- (instancetype)initWithMinVersion:(UInt16)minVersion
+ maxVersion:(UInt16)maxVersion
+ maxPacketSize:(UInt16)maxPacketSize
+ data:(NSData *)data {
+ self = [super initWithPacketCounter:0];
+ if (self) {
+ _minVersion = minVersion;
+ _maxVersion = maxVersion;
+ _maxPacketSize = maxPacketSize;
+ _data = data;
+ }
+ return self;
+}
+
+- (instancetype)initWithPacketCounter:(UInt8)packetCounter {
+ [self doesNotRecognizeSelector:_cmd];
+ return nil;
+}
+
+- (BOOL)visitWithHandler:(id<GNSWeavePacketHandler>)handler context:(id)context {
+ if ([handler respondsToSelector:@selector(handleConnectionRequestPacket:context:)]) {
+ [handler handleConnectionRequestPacket:self context:context];
+ return YES;
+ }
+ return NO;
+}
+
+- (NSData *)serialize {
+ NSMutableData *packet = [NSMutableData data];
+ // The Weave protocol uses big-endian format (network byte order) for multi-byte types.
+ UInt16 minVersionBigEndian = CFSwapInt16HostToBig(self.minVersion);
+ UInt16 maxVersionBigEndian = CFSwapInt16HostToBig(self.maxVersion);
+ UInt16 maxPacketSizeBigEndian = CFSwapInt16HostToBig(self.maxPacketSize);
+ UInt8 header = WeaveControlPacketHeader(0, GNSWeaveControlCommandConnectionRequest);
+ [packet appendBytes:&header length:sizeof(header)];
+ [packet appendBytes:&minVersionBigEndian length:sizeof(minVersionBigEndian)];
+ [packet appendBytes:&maxVersionBigEndian length:sizeof(maxVersionBigEndian)];
+ [packet appendBytes:&maxPacketSizeBigEndian length:sizeof(maxPacketSizeBigEndian)];
+ [packet appendData:self.data];
+ NSAssert(packet.length <= kMaxControlPacketSize, @"Control packets cannot be larger than %lu",
+ (unsigned long)kMaxControlPacketSize);
+ return packet;
+}
+
+- (NSString *)description {
+ return [NSString stringWithFormat:@"<%@: %p, packet counter: %d, min version: %d, max version: "
+ @"%d, max packet size: %d, data size: %ld>",
+ [self class], self, self.packetCounter, _minVersion,
+ _maxVersion, _maxPacketSize, (unsigned long)_data.length];
+}
+
+@end
+
+@implementation GNSWeaveConnectionConfirmPacket
+
+- (instancetype)initWithVersion:(UInt16)version packetSize:(UInt16)packetSize data:(NSData *)data {
+ NSAssert(packetSize >= kGNSMinSupportedPacketSize, @"The minimum packet size is %ld",
+ (long)kGNSMinSupportedPacketSize);
+ self = [super initWithPacketCounter:0];
+ if (self) {
+ _version = version;
+ _packetSize = packetSize;
+ _data = data;
+ }
+ return self;
+}
+
+- (instancetype)initWithPacketCounter:(UInt8)packetCounter {
+ [self doesNotRecognizeSelector:_cmd];
+ return nil;
+}
+
+- (BOOL)visitWithHandler:(id<GNSWeavePacketHandler>)handler context:(id)context {
+ if ([handler respondsToSelector:@selector(handleConnectionConfirmPacket:context:)]) {
+ [handler handleConnectionConfirmPacket:self context:context];
+ return YES;
+ }
+ return NO;
+}
+
+- (NSData *)serialize {
+ NSMutableData *packet = [NSMutableData data];
+ // The Weave protocol uses big-endian format (network byte order) encoding for multi-byte types.
+ UInt16 versionBigEndian = CFSwapInt16HostToBig(self.version);
+ UInt16 packetSizeBigEndian = CFSwapInt16HostToBig(self.packetSize);
+ UInt8 header = WeaveControlPacketHeader(0, GNSWeaveControlCommandConnectionConfirm);
+ [packet appendBytes:&header length:sizeof(header)];
+ [packet appendBytes:&versionBigEndian length:sizeof(versionBigEndian)];
+ [packet appendBytes:&packetSizeBigEndian length:sizeof(packetSizeBigEndian)];
+ [packet appendData:self.data];
+ NSAssert(packet.length <= kMaxControlPacketSize, @"Control packets cannot be larger than %lu",
+ (unsigned long)kMaxControlPacketSize);
+ return packet;
+}
+
+- (NSString *)description {
+ return
+ [NSString stringWithFormat:
+ @"<%@: %p, packet counter: %d, version: %d, packet size: %d, data size: %ld>",
+ [self class], self, self.packetCounter, _version, _packetSize,
+ (unsigned long)_data.length];
+}
+
+@end
+
+@implementation GNSWeaveErrorPacket
+
+- (instancetype)initWithPacketCounter:(UInt8)packetCounter {
+ return [super initWithPacketCounter:packetCounter];
+}
+
+- (BOOL)visitWithHandler:(id<GNSWeavePacketHandler>)handler context:(id)context {
+ if ([handler respondsToSelector:@selector(handleErrorPacket:context:)]) {
+ [handler handleErrorPacket:self context:context];
+ return YES;
+ }
+ return NO;
+}
+
+- (NSData *)serialize {
+ NSMutableData *packet = [NSMutableData data];
+ UInt8 header = WeaveControlPacketHeader(self.packetCounter, GNSWeaveControlCommandError);
+ [packet appendBytes:&header length:sizeof(header)];
+ return packet;
+}
+
+@end
+
+@implementation GNSWeaveDataPacket
+
++ (nullable GNSWeaveDataPacket *)dataPacketWithPacketCounter:(UInt8)packetCounter
+ packetSize:(UInt16)packetSize
+ data:(NSData *)data
+ offset:(NSUInteger *)outOffset {
+ NSAssert(packetCounter < kGNSMaxPacketCounterValue, @"The packet has more than 3 bits.");
+ NSAssert(data.length == 0 || *outOffset < data.length,
+ @"The offset falls outside of the data range, data length: %ld, outOffset: %ld",
+ (unsigned long)data.length, (unsigned long)*outOffset);
+
+ BOOL isFirstPacket = (*outOffset == 0);
+ NSInteger dataSize = MIN(packetSize - kHeaderSize, data.length - *outOffset);
+ BOOL isLastPacket = (data.length <= (*outOffset + dataSize));
+ NSData *packetData = [data subdataWithRange:NSMakeRange(*outOffset, dataSize)];
+ *outOffset = *outOffset + dataSize;
+
+ return [[GNSWeaveDataPacket alloc] initWithPacketCounter:packetCounter
+ firstPacket:isFirstPacket
+ lastPacket:isLastPacket
+ data:packetData];
+}
+
+- (instancetype)initWithPacketCounter:(UInt8)packetCounter
+ firstPacket:(BOOL)isFirstPacket
+ lastPacket:(BOOL)isLastPacket
+ data:(nonnull NSData *)data {
+ self = [super initWithPacketCounter:packetCounter];
+ if (self) {
+ _firstPacket = isFirstPacket;
+ _lastPacket = isLastPacket;
+ _data = data;
+ }
+ return self;
+}
+
+- (instancetype)initWithPacketCounter:(UInt8)packetCounter {
+ [self doesNotRecognizeSelector:_cmd];
+ return nil;
+}
+
+- (BOOL)visitWithHandler:(id<GNSWeavePacketHandler>)handler context:(id)context {
+ if ([handler respondsToSelector:@selector(handleDataPacket:context:)]) {
+ [handler handleDataPacket:self context:context];
+ return YES;
+ }
+ return NO;
+}
+
+- (NSData *)serialize {
+ UInt8 header = WeaveDataPacketHeader(self.packetCounter, self.isFirstPacket, self.isLastPacket);
+ NSMutableData *packet = [NSMutableData data];
+ [packet appendBytes:&header length:sizeof(header)];
+ [packet appendData:self.data];
+ return packet;
+}
+
+- (NSString *)description {
+ return [NSString
+ stringWithFormat:
+ @"<%@: %p, packet counter: %d, first packet: %@, last packet: %@, data length: %ld>",
+ [self class], self, self.packetCounter, _firstPacket ? @"YES" : @"NO",
+ _lastPacket ? @"YES" : @"NO", (unsigned long)_data.length];
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Central/GNSCentralManagerTest.m b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Central/GNSCentralManagerTest.m
new file mode 100644
index 00000000000..725b54745e1
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Central/GNSCentralManagerTest.m
@@ -0,0 +1,299 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <XCTest/XCTest.h>
+
+#import "internal/platform/implementation/ios/Mediums/ble/Sockets/Source/Central/GNSCentralManager+Private.h"
+#import "internal/platform/implementation/ios/Mediums/ble/Sockets/Source/Central/GNSCentralPeerManager+Private.h"
+#import "third_party/objective_c/ocmock/v3/Source/OCMock/OCMock.h"
+
+@interface TestGNSCentralManager : GNSCentralManager
+@end
+
+@implementation TestGNSCentralManager
+
++ (CBCentralManager *)centralManagerWithDelegate:(id<CBCentralManagerDelegate>)delegate
+ queue:(dispatch_queue_t)queue
+ options:(NSDictionary *)options {
+ CBCentralManager *result = OCMStrictClassMock([CBCentralManager class]);
+ OCMStub([result delegate]).andReturn(delegate);
+ return result;
+}
+
+- (GNSCentralPeerManager *)createCentralPeerManagerWithPeripheral:(CBPeripheral *)peripheral {
+ GNSCentralPeerManager *manager = OCMStrictClassMock([GNSCentralPeerManager class]);
+ OCMStub([manager cbPeripheral]).andReturn(peripheral);
+ return manager;
+}
+
+@end
+
+@interface GNSCentralManagerTest : XCTestCase {
+ CBUUID *_socketServiceUUID;
+ TestGNSCentralManager *_centralManager;
+ CBCentralManager *_cbCentralManagerMock;
+ CBCentralManagerState _cbCentralManagerState;
+ NSMutableArray *_mockObjectsToVerify;
+ id<GNSCentralManagerDelegate> _centralManagerDelegate;
+}
+@end
+
+@implementation GNSCentralManagerTest
+
+- (void)setUp {
+ _mockObjectsToVerify = [NSMutableArray array];
+ _socketServiceUUID = [CBUUID UUIDWithNSUUID:[NSUUID UUID]];
+ _centralManager = [[TestGNSCentralManager alloc]
+ initWithSocketServiceUUID:_socketServiceUUID
+ queue:dispatch_get_main_queue()];
+ _centralManagerDelegate = OCMStrictProtocolMock(@protocol(GNSCentralManagerDelegate));
+ _centralManager.delegate = _centralManagerDelegate;
+ XCTAssertFalse(_centralManager.scanning);
+ XCTAssertEqualObjects(_centralManager.socketServiceUUID, _socketServiceUUID);
+ _cbCentralManagerMock = _centralManager.testing_cbCentralManager;
+ XCTAssertEqual(_cbCentralManagerMock.delegate, _centralManager);
+ _cbCentralManagerState = CBCentralManagerStatePoweredOff;
+ OCMStub([_cbCentralManagerMock state])
+ .andDo(^(NSInvocation *invocation) {
+ [invocation setReturnValue:&_cbCentralManagerState];
+ });
+}
+
+- (void)tearDown {
+ OCMVerifyAll((id)_cbCentralManagerMock);
+ OCMVerifyAll((id)_centralManagerDelegate);
+ for (OCMockObject *object in _mockObjectsToVerify) {
+ OCMVerifyAll(object);
+ }
+}
+
+#pragma mark - Scanning And Power Off/On Bluetooth
+
+- (void)startScanningWithServices:(NSArray *)services
+ advertismentName:(NSString *)advertismentName {
+ NSDictionary *options = @{ CBCentralManagerScanOptionAllowDuplicatesKey : @YES };
+ OCMExpect([_cbCentralManagerMock scanForPeripheralsWithServices:services options:options]);
+ [_centralManager startScanWithAdvertisedName:advertismentName
+ advertisedServiceUUID:_centralManager.socketServiceUUID];
+ XCTAssertTrue(_centralManager.scanning);
+}
+
+- (void)testScanningWithBluetoothOFF {
+ [_centralManager startScanWithAdvertisedName:nil
+ advertisedServiceUUID:_centralManager.socketServiceUUID];
+ XCTAssertTrue(_centralManager.scanning);
+ [_centralManager stopScan];
+ XCTAssertFalse(_centralManager.scanning);
+}
+
+- (void)testScanningWithBluetoothON {
+ _cbCentralManagerState = CBCentralManagerStatePoweredOn;
+ NSArray *services = @[ _socketServiceUUID ];
+ [self startScanningWithServices:services advertismentName:nil];
+ OCMExpect([_cbCentralManagerMock stopScan]);
+ [_centralManager stopScan];
+ XCTAssertFalse(_centralManager.scanning);
+}
+
+- (void)testScanningAndPowerONBluetooth {
+ NSArray *services = @[ _socketServiceUUID ];
+ [self startScanningWithServices:services advertismentName:nil];
+ OCMExpect([_centralManagerDelegate centralManagerDidUpdateBLEState:_centralManager]);
+ _cbCentralManagerState = CBCentralManagerStatePoweredOn;
+ [_centralManager centralManagerDidUpdateState:_cbCentralManagerMock];
+ XCTAssertTrue(_centralManager.scanning);
+ OCMExpect([_cbCentralManagerMock stopScan]);
+ [_centralManager stopScan];
+ XCTAssertFalse(_centralManager.scanning);
+}
+
+- (void)testScanningAndPowerOFFBluetooth {
+ _cbCentralManagerState = CBCentralManagerStatePoweredOn;
+ NSArray *services = @[ _socketServiceUUID ];
+ [self startScanningWithServices:services advertismentName:nil];
+ OCMExpect([_centralManagerDelegate centralManagerDidUpdateBLEState:_centralManager]);
+ OCMExpect([_cbCentralManagerMock stopScan]);
+ _cbCentralManagerState = CBCentralManagerStatePoweredOff;
+ [_centralManager centralManagerDidUpdateState:_cbCentralManagerMock];
+ XCTAssertTrue(_centralManager.scanning);
+ [_centralManager stopScan];
+ XCTAssertFalse(_centralManager.scanning);
+}
+
+- (void)testScanningWithAdvertisedName {
+ _cbCentralManagerState = CBCentralManagerStatePoweredOn;
+ [self startScanningWithServices:nil advertismentName:@"advertisedname"];
+ OCMExpect([_cbCentralManagerMock stopScan]);
+ [_centralManager stopScan];
+ XCTAssertFalse(_centralManager.scanning);
+}
+
+#pragma mark - Scanning with no advertised name
+
+- (void)testScanningPeripheralWithWrongPeripheralService {
+ _cbCentralManagerState = CBCentralManagerStatePoweredOn;
+ [self startScanningWithServices:@[ _socketServiceUUID ] advertismentName:nil];
+ CBPeripheral *peripheral = OCMStrictClassMock([CBPeripheral class]);
+ NSDictionary *advertisementData = @{ CBAdvertisementDataServiceUUIDsKey: @[ [NSUUID UUID] ] };
+ [_centralManager centralManager:_cbCentralManagerMock
+ didDiscoverPeripheral:peripheral
+ advertisementData:advertisementData
+ RSSI:@(19)];
+}
+
+- (void)testScanningPeripheral {
+ _cbCentralManagerState = CBCentralManagerStatePoweredOn;
+ [self startScanningWithServices:@[ _socketServiceUUID ] advertismentName:nil];
+ CBPeripheral *peripheral = OCMStrictClassMock([CBPeripheral class]);
+ OCMStub([peripheral identifier]).andReturn([NSUUID UUID]);
+ NSDictionary *advertisementData = @{
+ CBAdvertisementDataServiceUUIDsKey : @[ _socketServiceUUID ]
+ };
+ OCMExpect([_centralManagerDelegate
+ centralManager:_centralManager
+ didDiscoverPeer:[OCMArg checkWithBlock:^BOOL(GNSCentralPeerManager *centralPeerManager) {
+ XCTAssertEqual(centralPeerManager.cbPeripheral, peripheral);
+ return YES;
+ }]
+ advertisementData:[OCMArg any]]);
+ [_centralManager centralManager:_cbCentralManagerMock
+ didDiscoverPeripheral:peripheral
+ advertisementData:advertisementData
+ RSSI:@(42)];
+}
+
+#pragma mark - Scanning with advertised name
+
+- (void)testScanningPeripheralWithWrongAdvertisedName {
+ _cbCentralManagerState = CBCentralManagerStatePoweredOn;
+ [self startScanningWithServices:nil advertismentName:@"advertisedname"];
+ CBPeripheral *peripheral = OCMStrictClassMock([CBPeripheral class]);
+ NSDictionary *advertisementData = @{
+ CBAdvertisementDataServiceUUIDsKey : @[ [NSUUID UUID] ],
+ CBAdvertisementDataLocalNameKey : @"wrongadvertisedname",
+ };
+ [_centralManager centralManager:_cbCentralManagerMock
+ didDiscoverPeripheral:peripheral
+ advertisementData:advertisementData
+ RSSI:@(19)];
+}
+
+- (void)testScanningPeripheralWithRightAdvertisedName {
+ _cbCentralManagerState = CBCentralManagerStatePoweredOn;
+ NSString *advertisedName = @"advertisedname";
+ [self startScanningWithServices:nil advertismentName:advertisedName];
+ CBPeripheral *peripheral = OCMStrictClassMock([CBPeripheral class]);
+ OCMStub([peripheral identifier]).andReturn([NSUUID UUID]);
+ NSDictionary *advertisementData = @{
+ CBAdvertisementDataServiceUUIDsKey : @[ _socketServiceUUID ],
+ CBAdvertisementDataLocalNameKey : advertisedName,
+ };
+ OCMExpect([_centralManagerDelegate centralManager:_centralManager
+ didDiscoverPeer:[OCMArg any]
+ advertisementData:[OCMArg any]]);
+ [_centralManager centralManager:_cbCentralManagerMock
+ didDiscoverPeripheral:peripheral
+ advertisementData:advertisementData
+ RSSI:@(19)];
+}
+
+#pragma mark - Peripheral Retrieval
+
+- (CBPeripheral *)prepareCBPeripheralWithIdentifier:(NSUUID *)identifier
+ peripheralState:(CBPeripheralState *)peripheralState {
+ CBPeripheral *peripheral = OCMStrictClassMock([CBPeripheral class]);
+ OCMStub([peripheral identifier]).andReturn(identifier);
+ OCMStub([peripheral state])
+ .andDo(^(NSInvocation *invocation) {
+ [invocation setReturnValue:peripheralState];
+ });
+ [_mockObjectsToVerify addObject:(OCMockObject *)peripheral];
+ return peripheral;
+}
+
+- (GNSCentralPeerManager *)retrieveCentralPeerWithPeripheral:(CBPeripheral *)peripheral {
+ NSUUID *identifier = peripheral.identifier;
+ OCMExpect([_cbCentralManagerMock retrievePeripheralsWithIdentifiers:@[ identifier ]])
+ .andReturn([NSArray arrayWithObject:peripheral]);
+ GNSCentralPeerManager *centralPeerManager =
+ [_centralManager retrieveCentralPeerWithIdentifier:identifier];
+ OCMStub([centralPeerManager cbPeripheral]).andReturn(peripheral);
+ OCMStub([centralPeerManager identifier]).andReturn(identifier);
+ XCTAssertNotNil(centralPeerManager);
+ [_mockObjectsToVerify addObject:(OCMockObject *)centralPeerManager];
+ return centralPeerManager;
+}
+
+- (void)testRetrieveCentralPeerAndConnectDisconnect {
+ _cbCentralManagerState = CBCentralManagerStatePoweredOn;
+ NSUUID *identifier = [NSUUID UUID];
+ CBPeripheralState peripheralMockState = CBPeripheralStateConnected;
+ CBPeripheral *peripheral =
+ [self prepareCBPeripheralWithIdentifier:identifier peripheralState:&peripheralMockState];
+ GNSCentralPeerManager *centralPeerManager = [self retrieveCentralPeerWithPeripheral:peripheral];
+ OCMExpect([centralPeerManager bleConnected]);
+ [_centralManager centralManager:_cbCentralManagerMock didConnectPeripheral:peripheral];
+ NSError *error = [NSError errorWithDomain:@"test" code:1 userInfo:nil];
+ OCMExpect([centralPeerManager bleDisconnectedWithError:error]);
+ peripheralMockState = CBPeripheralStateDisconnected;
+ [_centralManager centralManager:_cbCentralManagerMock
+ didDisconnectPeripheral:peripheral
+ error:error];
+}
+
+- (void)testRetrieveTwiceCentralPeer {
+ _cbCentralManagerState = CBCentralManagerStatePoweredOn;
+ NSUUID *identifier = [NSUUID UUID];
+ CBPeripheralState peripheralMockState = CBPeripheralStateConnected;
+ CBPeripheral *peripheral =
+ [self prepareCBPeripheralWithIdentifier:identifier peripheralState:&peripheralMockState];
+ GNSCentralPeerManager *centralPeerManager = [self retrieveCentralPeerWithPeripheral:peripheral];
+ XCTAssertNil([_centralManager retrieveCentralPeerWithIdentifier:identifier]);
+ OCMExpect([centralPeerManager bleConnected]);
+ [_centralManager centralManager:_cbCentralManagerMock didConnectPeripheral:peripheral];
+ NSError *error = [NSError errorWithDomain:@"test" code:1 userInfo:nil];
+ OCMExpect([centralPeerManager bleDisconnectedWithError:error]);
+ peripheralMockState = CBPeripheralStateDisconnected;
+ [_centralManager centralManager:_cbCentralManagerMock
+ didDisconnectPeripheral:peripheral
+ error:error];
+ [_centralManager centralPeerManagerDidDisconnect:centralPeerManager];
+
+ NSUUID *identifier2 = [NSUUID UUID];
+ CBPeripheralState peripheralState2 = CBPeripheralStateConnected;
+ CBPeripheral *peripheral2 =
+ [self prepareCBPeripheralWithIdentifier:identifier2 peripheralState:&peripheralState2];
+ GNSCentralPeerManager *centralPeerManager2 = [self retrieveCentralPeerWithPeripheral:peripheral2];
+ XCTAssertNotNil(centralPeerManager2);
+ XCTAssertNotEqual(centralPeerManager, centralPeerManager2);
+}
+
+- (void)testRetrieveCentralPeerAndConnectFailToConnect {
+ _cbCentralManagerState = CBCentralManagerStatePoweredOn;
+ NSUUID *identifier = [NSUUID UUID];
+ CBPeripheralState peripheralMockState = CBPeripheralStateConnected;
+ CBPeripheral *peripheral =
+ [self prepareCBPeripheralWithIdentifier:identifier peripheralState:&peripheralMockState];
+ GNSCentralPeerManager *centralPeerManager = [self retrieveCentralPeerWithPeripheral:peripheral];
+ OCMExpect([centralPeerManager bleConnected]);
+ [_centralManager centralManager:_cbCentralManagerMock didConnectPeripheral:peripheral];
+ NSError *error = [NSError errorWithDomain:@"test" code:1 userInfo:nil];
+ OCMExpect([centralPeerManager bleDisconnectedWithError:error]);
+ peripheralMockState = CBPeripheralStateDisconnected;
+ [_centralManager centralManager:_cbCentralManagerMock
+ didFailToConnectPeripheral:peripheral
+ error:error];
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Central/GNSCentralPeerManagerTest.m b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Central/GNSCentralPeerManagerTest.m
new file mode 100644
index 00000000000..17ed74a1d59
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Central/GNSCentralPeerManagerTest.m
@@ -0,0 +1,465 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <XCTest/XCTest.h>
+
+#import "internal/platform/implementation/ios/Mediums/ble/Sockets/Source/Central/GNSCentralManager+Private.h"
+#import "internal/platform/implementation/ios/Mediums/ble/Sockets/Source/Central/GNSCentralPeerManager+Private.h"
+#import "internal/platform/implementation/ios/Mediums/ble/Sockets/Source/Shared/GNSWeavePacket.h"
+#import "third_party/objective_c/ocmock/v3/Source/OCMock/OCMock.h"
+
+static SEL gTimerSelector = nil;
+static GNSCentralPeerManager *gTimerTarget = nil;
+
+static void ClearTimer(void) {
+ gTimerSelector = nil;
+ gTimerTarget = nil;
+}
+
+static void FireTimer(void) {
+ NSCAssert(gTimerTarget != nil, @"The timer target cannot be nil.");
+ NSCAssert(gTimerSelector != nil, @"The timer selector cannot be nil.");
+ NSInvocation *invocation = [NSInvocation
+ invocationWithMethodSignature:[[gTimerTarget class]
+ instanceMethodSignatureForSelector:gTimerSelector]];
+ invocation.target = gTimerTarget;
+ invocation.selector = gTimerSelector;
+ [invocation invoke];
+ ClearTimer();
+}
+
+@interface TestGNSCentralPeerManager : GNSCentralPeerManager
+@end
+
+@implementation TestGNSCentralPeerManager
+
++ (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)timeInterval
+ target:(id)target
+ selector:(SEL)selector
+ userInfo:(nullable id)userInfo
+ repeats:(BOOL)yesOrNo {
+ NSAssert(target != nil, @"The timer target cannot be nil.");
+ NSAssert(selector != nil, @"The timer selector cannot be nil.");
+ NSAssert(gTimerSelector == nil, @"Timer selector already set.");
+ NSAssert(gTimerTarget == nil, @"Time target already set.");
+ gTimerSelector = selector;
+ gTimerTarget = target;
+ NSTimer *timer = OCMStrictClassMock([NSTimer class]);
+ OCMStub([timer timeInterval]).andReturn(timeInterval);
+ return timer;
+}
+
+@end
+
+@interface GNSCentralPeerManagerTest : XCTestCase {
+ TestGNSCentralPeerManager *_centralPeerManager;
+ CBCentralManagerState _cbCentralManagerState;
+ GNSCentralManager *_centralManagerMock;
+ CBUUID *_serviceUUID;
+ CBPeripheral *_peripheralMock;
+ CBPeripheralState _peripheralState;
+ NSUUID *_peripheralUUID;
+ CBCharacteristic *_toPeripheralCharacteristic;
+ CBCharacteristic *_fromPeripheralCharacteristic;
+ CBCharacteristic *_pairingCharacteristic;
+ NSArray *_characteristics;
+ NSArray *_characteristicsWithPairing;
+ CBService *_serviceMock;
+ NSArray *_services;
+ GNSSocket *_socket;
+ id<GNSSocketDelegate> _socketDelegateMock;
+}
+@end
+
+@implementation GNSCentralPeerManagerTest
+
+- (void)setUp {
+ _peripheralUUID = [NSUUID UUID];
+ _serviceUUID = [CBUUID UUIDWithNSUUID:[NSUUID UUID]];
+ _centralManagerMock = [OCMStrictClassMock([GNSCentralManager class]) noRetainObjectArgs];
+ OCMStub([_centralManagerMock socketServiceUUID]).andReturn(_serviceUUID);
+ _cbCentralManagerState = CBCentralManagerStatePoweredOn;
+ OCMStub([_centralManagerMock cbCentralManagerState])
+ .andDo(^(NSInvocation *invocation) {
+ [invocation setReturnValue:&_cbCentralManagerState];
+ });
+ _peripheralMock = [OCMStrictClassMock([CBPeripheral class]) noRetainObjectArgs];
+ OCMStub([_peripheralMock identifier]).andReturn(_peripheralUUID);
+ _peripheralState = CBPeripheralStateDisconnected;
+ OCMStub([_peripheralMock state])
+ .andDo(^(NSInvocation *invocation) {
+ [invocation setReturnValue:&_peripheralState];
+ });
+ OCMExpect([_peripheralMock setDelegate:[OCMArg isNotNil]]);
+ _centralPeerManager = [[TestGNSCentralPeerManager alloc] initWithPeripheral:_peripheralMock
+ centralManager:_centralManagerMock];
+ void *centralPeerManagerNonRetained = (__bridge void *)(_centralPeerManager);
+ OCMStub([_peripheralMock delegate]).andReturn(centralPeerManagerNonRetained);
+ _toPeripheralCharacteristic =
+ [self generateCharateristicMockWithIdentifierString:@"00000100-0004-1000-8000-001A11000101"];
+ _fromPeripheralCharacteristic =
+ [self generateCharateristicMockWithIdentifierString:@"00000100-0004-1000-8000-001A11000102"];
+ _pairingCharacteristic =
+ [self generateCharateristicMockWithIdentifierString:@"17836FBD-8C6A-4B81-83CE-8560629E834B"];
+ _characteristics = @[ _toPeripheralCharacteristic, _fromPeripheralCharacteristic ];
+ _characteristicsWithPairing =
+ @[ _toPeripheralCharacteristic, _fromPeripheralCharacteristic, _pairingCharacteristic ];
+ _serviceMock = OCMStrictClassMock([CBService class]);
+ OCMStub([_serviceMock UUID]).andReturn(_serviceUUID);
+ _services = @[ _serviceMock ];
+ OCMStub([_peripheralMock services]).andReturn(_services);
+ _socketDelegateMock = OCMStrictProtocolMock(@protocol(GNSSocketDelegate));
+}
+
+- (void)tearDown {
+ if (_peripheralState != CBPeripheralStateDisconnected) {
+ // CBPeripharal must be disconnected when GNSCentralPeerManager is dealocated. OCM retains the
+ // parameter. So |_centralManagerMock| cannot be set in the paramter in order to be deallocated
+ // correctly.
+ void *centralPeerManagerNonRetained = (__bridge void *)(_centralPeerManager);
+ OCMExpect([_centralManagerMock
+ cancelPeripheralConnectionForPeer:[OCMArg checkWithBlock:^BOOL(id obj) {
+ return obj == centralPeerManagerNonRetained;
+ }]]);
+ }
+ _centralPeerManager = nil;
+ ClearTimer();
+ OCMVerifyAll((id)_centralManagerMock);
+ OCMVerifyAll((id)_peripheralMock);
+ OCMVerifyAll((id)_toPeripheralCharacteristic);
+ OCMVerifyAll((id)_fromPeripheralCharacteristic);
+ OCMVerifyAll((id)_pairingCharacteristic);
+ OCMVerifyAll((id)_serviceMock);
+ OCMVerifyAll((id)_socketDelegateMock);
+ __weak TestGNSCentralPeerManager *weakCentralPeerManager = _centralPeerManager;
+ _centralPeerManager = nil;
+ XCTAssertNil(weakCentralPeerManager);
+}
+
+- (NSDictionary *)peripheralConnectionOptions {
+ return @{
+ CBConnectPeripheralOptionNotifyOnDisconnectionKey : @YES,
+#if TARGET_OS_IPHONE
+ CBConnectPeripheralOptionNotifyOnConnectionKey : @YES,
+ CBConnectPeripheralOptionNotifyOnNotificationKey : @YES,
+#endif
+ };
+}
+
+- (NSSet *)characteristicUUIDSetWithPairingUUID:(BOOL)pairing {
+ NSMutableSet *uuidSet = [NSMutableSet set];
+ [uuidSet addObject:_toPeripheralCharacteristic.UUID];
+ [uuidSet addObject:_fromPeripheralCharacteristic.UUID];
+ if (pairing) {
+ [uuidSet addObject:_pairingCharacteristic.UUID];
+ }
+ return uuidSet;
+}
+
+- (void)checkCharacteristicsUUID:(NSArray *)uuids withPairingUUID:(BOOL)pairing {
+ NSSet *uuidSet = [NSSet setWithArray:uuids];
+ XCTAssertEqualObjects(uuidSet, [self characteristicUUIDSetWithPairingUUID:pairing]);
+}
+
+- (CBCharacteristic *)generateCharateristicMockWithIdentifierString:(NSString *)identifierString {
+ CBCharacteristic *characteristic = OCMStrictClassMock([CBCharacteristic class]);
+ CBUUID *toPeripheralCharUUID = [CBUUID UUIDWithString:identifierString];
+ OCMStub([characteristic UUID]).andReturn(toPeripheralCharUUID);
+ return characteristic;
+}
+
+- (void)transitionToSocketCommunicationStateWithPairingChar:(BOOL)hasPairingChar {
+ OCMExpect([_centralManagerMock connectPeripheralForPeer:_centralPeerManager
+ options:[self peripheralConnectionOptions]]);
+ [_centralPeerManager socketWithPairingCharacteristic:hasPairingChar
+ completion:^(GNSSocket *newSocket, NSError *error) {
+ XCTAssertNil(error);
+ XCTAssertNotNil(newSocket);
+ XCTAssertNil(_socket);
+ _socket = newSocket;
+ }];
+ OCMExpect([_peripheralMock discoverServices:@[ _serviceUUID ]]);
+ _peripheralState = CBPeripheralStateConnected;
+ [_centralPeerManager bleConnected];
+ OCMExpect([_peripheralMock discoverCharacteristics:[OCMArg checkWithBlock:^BOOL(id obj) {
+ [self checkCharacteristicsUUID:obj withPairingUUID:hasPairingChar];
+ return YES;
+ }]
+ forService:_serviceMock]);
+ [_centralPeerManager peripheral:_peripheralMock didDiscoverServices:nil];
+ OCMStub([_serviceMock characteristics]).andReturn(_characteristicsWithPairing);
+ OCMExpect([_peripheralMock setNotifyValue:YES forCharacteristic:_fromPeripheralCharacteristic]);
+ [_centralPeerManager peripheral:_peripheralMock
+ didDiscoverCharacteristicsForService:_serviceMock
+ error:nil];
+ GNSWeaveConnectionRequestPacket *connectionRequest =
+ [[GNSWeaveConnectionRequestPacket alloc] initWithMinVersion:1
+ maxVersion:1
+ maxPacketSize:0
+ data:nil];
+ OCMExpect([_peripheralMock writeValue:[connectionRequest serialize]
+ forCharacteristic:_toPeripheralCharacteristic
+ type:CBCharacteristicWriteWithResponse]);
+ [_centralPeerManager peripheral:_peripheralMock
+ didUpdateNotificationStateForCharacteristic:_fromPeripheralCharacteristic
+ error:nil];
+ XCTAssertNotNil(_socket);
+ _socket.delegate = _socketDelegateMock;
+}
+
+- (void)simulateConnectedSocketWithPairingChar:(BOOL)hasPairingChar {
+ [self transitionToSocketCommunicationStateWithPairingChar:hasPairingChar];
+ OCMExpect([_socketDelegateMock socketDidConnect:_socket]);
+ GNSWeaveConnectionConfirmPacket *confirmConnection =
+ [[GNSWeaveConnectionConfirmPacket alloc] initWithVersion:1 packetSize:100 data:nil];
+ OCMExpect([_fromPeripheralCharacteristic value]).andReturn([confirmConnection serialize]);
+ OCMExpect([_centralPeerManager.testing_connectionConfirmTimer invalidate]);
+ [_centralPeerManager peripheral:_peripheralMock
+ didUpdateValueForCharacteristic:_fromPeripheralCharacteristic
+ error:nil];
+ // When the connection confirm packet is received the socket should be invalidated and released.
+ // It's important to call |ClearTimer| here, since it retains |_centralPeerManager|.
+ XCTAssertNil(_centralPeerManager.testing_connectionConfirmTimer);
+ ClearTimer();
+}
+
+- (void)testCentralPeerManager {
+ XCTAssertEqualObjects(_centralPeerManager.identifier, _peripheralUUID);
+ // The dealloc should set the delegate to nil.
+ OCMExpect([_peripheralMock setDelegate:nil]);
+}
+
+- (void)testGetSocket {
+ [self simulateConnectedSocketWithPairingChar:NO];
+ XCTAssertNotNil(_socket);
+ // The dealloc should set the delegate to nil.
+ OCMExpect([_peripheralMock setDelegate:nil]);
+}
+
+- (void)testBLEDisconnectBeforeConnect {
+ OCMExpect([_centralManagerMock connectPeripheralForPeer:_centralPeerManager
+ options:[self peripheralConnectionOptions]]);
+ [_centralPeerManager socketWithPairingCharacteristic:NO
+ completion:^(GNSSocket *socket, NSError *error) {
+ XCTAssertNil(socket);
+ XCTAssertEqual(error.code, GNSErrorNoConnection);
+ }];
+ _peripheralState = CBPeripheralStateDisconnected;
+ OCMExpect([_peripheralMock setDelegate:nil]);
+ OCMExpect([_centralManagerMock centralPeerManagerDidDisconnect:_centralPeerManager]);
+ [_centralPeerManager bleDisconnectedWithError:nil];
+}
+
+- (void)testBLEDisconnectAfterConnect {
+ NSError *bleDisconnectError = [NSError errorWithDomain:@"test" code:1 userInfo:nil];
+ OCMExpect([_centralManagerMock connectPeripheralForPeer:_centralPeerManager
+ options:[self peripheralConnectionOptions]]);
+ [_centralPeerManager socketWithPairingCharacteristic:NO
+ completion:^(GNSSocket *socket, NSError *error) {
+ XCTAssertEqual(error, bleDisconnectError);
+ XCTAssertNil(socket);
+ }];
+ OCMExpect([_peripheralMock discoverServices:@[ _serviceUUID ]]);
+ _peripheralState = CBPeripheralStateConnected;
+ [_centralPeerManager bleConnected];
+ _peripheralState = CBPeripheralStateDisconnected;
+ OCMExpect([_peripheralMock setDelegate:nil]);
+ OCMExpect([_centralManagerMock centralPeerManagerDidDisconnect:_centralPeerManager]);
+ [_centralPeerManager bleDisconnectedWithError:bleDisconnectError];
+}
+
+- (void)testDiscoverServiceError {
+ NSError *discoverServiceError = [NSError errorWithDomain:@"test" code:1 userInfo:nil];
+ OCMExpect([_centralManagerMock connectPeripheralForPeer:_centralPeerManager
+ options:[self peripheralConnectionOptions]]);
+ [_centralPeerManager socketWithPairingCharacteristic:NO
+ completion:^(GNSSocket *socket, NSError *error) {
+ XCTAssertEqual(error, discoverServiceError);
+ XCTAssertNil(socket);
+ }];
+ OCMExpect([_peripheralMock discoverServices:@[ _serviceUUID ]]);
+ _peripheralState = CBPeripheralStateConnected;
+ [_centralPeerManager bleConnected];
+ OCMExpect([_centralManagerMock cancelPeripheralConnectionForPeer:_centralPeerManager]);
+ [_centralPeerManager peripheral:_peripheralMock didDiscoverServices:discoverServiceError];
+ _peripheralState = CBPeripheralStateDisconnected;
+ OCMExpect([_peripheralMock setDelegate:nil]);
+ OCMExpect([_centralManagerMock centralPeerManagerDidDisconnect:_centralPeerManager]);
+ [_centralPeerManager bleDisconnectedWithError:nil];
+}
+
+- (void)testDiscoverCharacteristicError {
+ NSError *discoverCharacteristicError = [NSError errorWithDomain:@"test" code:1 userInfo:nil];
+ OCMExpect([_centralManagerMock connectPeripheralForPeer:_centralPeerManager
+ options:[self peripheralConnectionOptions]]);
+ [_centralPeerManager socketWithPairingCharacteristic:NO
+ completion:^(GNSSocket *socket, NSError *error) {
+ XCTAssertEqual(error, discoverCharacteristicError);
+ XCTAssertNil(socket);
+ }];
+ OCMExpect([_peripheralMock discoverServices:@[ _serviceUUID ]]);
+ _peripheralState = CBPeripheralStateConnected;
+ [_centralPeerManager bleConnected];
+ OCMExpect([_peripheralMock discoverCharacteristics:[OCMArg checkWithBlock:^BOOL(id obj) {
+ [self checkCharacteristicsUUID:obj withPairingUUID:NO];
+ return YES;
+ }]
+ forService:_serviceMock]);
+ [_centralPeerManager peripheral:_peripheralMock didDiscoverServices:nil];
+ OCMExpect([_centralManagerMock cancelPeripheralConnectionForPeer:_centralPeerManager]);
+ OCMStub([_serviceMock characteristics]).andReturn(_characteristics);
+ [_centralPeerManager peripheral:_peripheralMock
+ didDiscoverCharacteristicsForService:_serviceMock
+ error:discoverCharacteristicError];
+ _peripheralState = CBPeripheralStateDisconnected;
+ OCMExpect([_peripheralMock setDelegate:nil]);
+ OCMExpect([_centralManagerMock centralPeerManagerDidDisconnect:_centralPeerManager]);
+ [_centralPeerManager bleDisconnectedWithError:nil];
+}
+
+- (void)testSetNotifyValueForCharacteristicError {
+ NSError *notificationError = [NSError errorWithDomain:@"test" code:1 userInfo:nil];
+ OCMExpect([_centralManagerMock connectPeripheralForPeer:_centralPeerManager
+ options:[self peripheralConnectionOptions]]);
+ [_centralPeerManager socketWithPairingCharacteristic:NO
+ completion:^(GNSSocket *socket, NSError *error) {
+ XCTAssertEqual(error, notificationError);
+ XCTAssertNil(socket);
+ }];
+ OCMExpect([_peripheralMock discoverServices:@[ _serviceUUID ]]);
+ _peripheralState = CBPeripheralStateConnected;
+ [_centralPeerManager bleConnected];
+ OCMExpect([_peripheralMock discoverCharacteristics:[OCMArg checkWithBlock:^BOOL(id obj) {
+ [self checkCharacteristicsUUID:obj withPairingUUID:NO];
+ return YES;
+ }]
+ forService:_serviceMock]);
+ [_centralPeerManager peripheral:_peripheralMock didDiscoverServices:nil];
+ OCMExpect([_centralManagerMock cancelPeripheralConnectionForPeer:_centralPeerManager]);
+ OCMStub([_serviceMock characteristics]).andReturn(_characteristics);
+ OCMExpect([_peripheralMock setNotifyValue:YES forCharacteristic:_fromPeripheralCharacteristic]);
+ [_centralPeerManager peripheral:_peripheralMock
+ didDiscoverCharacteristicsForService:_serviceMock
+ error:nil];
+ [_centralPeerManager peripheral:_peripheralMock
+ didUpdateNotificationStateForCharacteristic:_fromPeripheralCharacteristic
+ error:notificationError];
+ _peripheralState = CBPeripheralStateDisconnected;
+ OCMExpect([_peripheralMock setDelegate:nil]);
+ OCMExpect([_centralManagerMock centralPeerManagerDidDisconnect:_centralPeerManager]);
+ [_centralPeerManager bleDisconnectedWithError:nil];
+}
+
+- (void)testTimeOutWaitingForConnectionResponse {
+ [self transitionToSocketCommunicationStateWithPairingChar:NO];
+ OCMExpect([_centralManagerMock cancelPeripheralConnectionForPeer:_centralPeerManager]);
+ FireTimer();
+ _peripheralState = CBPeripheralStateDisconnected;
+ OCMExpect([_peripheralMock setDelegate:nil]);
+ OCMExpect([_centralManagerMock centralPeerManagerDidDisconnect:_centralPeerManager]);
+ OCMExpect([_socketDelegateMock socket:_socket
+ didDisconnectWithError:[OCMArg checkWithBlock:^BOOL(NSError *error) {
+ return [error.domain isEqualToString:kGNSSocketsErrorDomain] &&
+ error.code == GNSErrorConnectionTimedOut;
+ }]]);
+ [_centralPeerManager bleDisconnectedWithError:nil];
+ XCTAssertNil(_centralPeerManager.testing_connectionConfirmTimer);
+}
+
+- (void)testBLEDisconnectedWhileWaitingForConnectionResponse {
+ [self transitionToSocketCommunicationStateWithPairingChar:NO];
+ NSError *bleDisconnectError = [NSError errorWithDomain:@"test" code:1 userInfo:nil];
+ _peripheralState = CBPeripheralStateDisconnected;
+ OCMExpect([_peripheralMock setDelegate:nil]);
+ OCMExpect([_centralManagerMock centralPeerManagerDidDisconnect:_centralPeerManager]);
+ OCMExpect([_socketDelegateMock socket:_socket didDisconnectWithError:bleDisconnectError]);
+ OCMExpect([_centralPeerManager.testing_connectionConfirmTimer invalidate]);
+ [_centralPeerManager bleDisconnectedWithError:bleDisconnectError];
+ XCTAssertNil(_centralPeerManager.testing_connectionConfirmTimer);
+}
+
+- (void)testCancelPendingSocket {
+ OCMExpect([_centralManagerMock connectPeripheralForPeer:_centralPeerManager
+ options:[self peripheralConnectionOptions]]);
+ [_centralPeerManager
+ socketWithPairingCharacteristic:NO
+ completion:^(GNSSocket *socket, NSError *error) {
+ XCTAssertNil(socket);
+ XCTAssertNotNil(error);
+ XCTAssertEqualObjects(error.domain, kGNSSocketsErrorDomain);
+ XCTAssertEqual(error.code, GNSErrorCancelPendingSocketRequested);
+ }];
+ OCMExpect([_peripheralMock discoverServices:@[ _serviceUUID ]]);
+ _peripheralState = CBPeripheralStateConnected;
+ [_centralPeerManager bleConnected];
+ OCMExpect([_peripheralMock discoverCharacteristics:[OCMArg checkWithBlock:^BOOL(id obj) {
+ [self checkCharacteristicsUUID:obj withPairingUUID:NO];
+ return YES;
+ }]
+ forService:_serviceMock]);
+ [_centralPeerManager peripheral:_peripheralMock didDiscoverServices:nil];
+ OCMExpect([_centralManagerMock cancelPeripheralConnectionForPeer:_centralPeerManager]);
+ [_centralPeerManager cancelPendingSocket];
+ _peripheralState = CBPeripheralStateDisconnected;
+ OCMExpect([_peripheralMock setDelegate:nil]);
+ OCMExpect([_centralManagerMock centralPeerManagerDidDisconnect:_centralPeerManager]);
+ [_centralPeerManager bleDisconnectedWithError:nil];
+}
+
+- (void)testPairing {
+ [self simulateConnectedSocketWithPairingChar:YES];
+ XCTAssertNotNil(_socket);
+ OCMExpect([_peripheralMock readValueForCharacteristic:_pairingCharacteristic]);
+ [_centralPeerManager startBluetoothPairingWithCompletion:^(BOOL pairing, NSError *error) {
+ XCTAssertTrue(pairing);
+ XCTAssertNil(error);
+ }];
+ // The dealloc should set the delegate to nil.
+ OCMExpect([_peripheralMock setDelegate:nil]);
+}
+
+- (void)testDisconnect {
+ [self simulateConnectedSocketWithPairingChar:NO];
+ OCMExpect([_centralManagerMock cancelPeripheralConnectionForPeer:_centralPeerManager]);
+ [_socket disconnect];
+ _peripheralState = CBPeripheralStateDisconnected;
+ OCMExpect([_peripheralMock setDelegate:nil]);
+ OCMExpect([_centralManagerMock centralPeerManagerDidDisconnect:_centralPeerManager]);
+ OCMExpect([_socketDelegateMock socket:_socket didDisconnectWithError:nil]);
+ [_centralPeerManager bleDisconnectedWithError:nil];
+}
+
+- (void)testDisconnectWithError {
+ [self simulateConnectedSocketWithPairingChar:NO];
+ OCMExpect([_centralManagerMock cancelPeripheralConnectionForPeer:_centralPeerManager]);
+ [_socket disconnect];
+ NSError *errorWhileBLEDisconnecting =
+ [[NSError alloc] initWithDomain:@"domain" code:-42 userInfo:nil];
+ _peripheralState = CBPeripheralStateDisconnected;
+ OCMExpect([_peripheralMock setDelegate:nil]);
+ OCMExpect([_centralManagerMock centralPeerManagerDidDisconnect:_centralPeerManager]);
+ OCMExpect([_socketDelegateMock socket:_socket didDisconnectWithError:errorWhileBLEDisconnecting]);
+ [_centralPeerManager bleDisconnectedWithError:errorWhileBLEDisconnecting];
+ OCMVerifyAll((id)_socketDelegateMock);
+}
+
+- (void)testDropSocketWhileConnecting {
+ [self transitionToSocketCommunicationStateWithPairingChar:NO];
+ OCMExpect([_centralManagerMock cancelPeripheralConnectionForPeer:_centralPeerManager]);
+ OCMExpect([_centralPeerManager.testing_connectionConfirmTimer invalidate]);
+ OCMExpect([_peripheralMock setDelegate:nil]);
+ _socket = nil;
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Peripheral/GNSPeripheralManagerTest.m b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Peripheral/GNSPeripheralManagerTest.m
new file mode 100644
index 00000000000..2ff4769bda4
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Peripheral/GNSPeripheralManagerTest.m
@@ -0,0 +1,836 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <XCTest/XCTest.h>
+
+#import "internal/platform/implementation/ios/Mediums/ble/Sockets/Source/Peripheral/GNSPeripheralManager+Private.h"
+#import "internal/platform/implementation/ios/Mediums/ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager+Private.h"
+#import "internal/platform/implementation/ios/Mediums/ble/Sockets/Source/Shared/GNSSocket+Private.h"
+#import "third_party/objective_c/ocmock/v3/Source/OCMock/OCMock.h"
+
+@interface TestGNSPeripheralManager : GNSPeripheralManager
+@property(nonatomic, strong) id cbPeripheralManagerMock;
+@property(nonatomic, strong) NSDictionary *cbOptions;
+@end
+
+@implementation TestGNSPeripheralManager
+
+- (CBPeripheralManager *)cbPeripheralManagerWithDelegate:(id<CBPeripheralManagerDelegate>)delegate
+ queue:(dispatch_queue_t)queue
+ options:(NSDictionary *)options {
+ _cbOptions = options;
+ return _cbPeripheralManagerMock;
+}
+
+@end
+
+@interface GNSPeripheralManagerTest : XCTestCase {
+ TestGNSPeripheralManager *_peripheralManager;
+ NSString *_displayName;
+ NSString *_restoreIdentifier;
+ id _cbPeripheralManagerMock;
+ NSDictionary *_cbAdvertisementData;
+ CBPeripheralManagerState _cbPeripheralManagerState;
+ NSMutableArray *_mocksToVerify;
+ NSMutableDictionary *_cbServiceStatePerPeripheral;
+}
+@end
+
+@implementation GNSPeripheralManagerTest
+
+- (void)setUp {
+ _mocksToVerify = [NSMutableArray array];
+ _cbServiceStatePerPeripheral = [NSMutableDictionary dictionary];
+ _displayName = @"DisplayName";
+ _restoreIdentifier = @"RestoreIdentifier";
+ _cbPeripheralManagerMock = OCMStrictClassMock([CBPeripheralManager class]);
+ [_mocksToVerify addObject:_cbPeripheralManagerMock];
+ OCMStub([_cbPeripheralManagerMock state]).andDo(^(NSInvocation *invocation) {
+ [invocation setReturnValue:&_cbPeripheralManagerState];
+ });
+ OCMStub([_cbPeripheralManagerMock isAdvertising]).andDo(^(NSInvocation *invocation) {
+ BOOL isAdvertising = _cbAdvertisementData != nil;
+ [invocation setReturnValue:&isAdvertising];
+ });
+ OCMStub([_cbPeripheralManagerMock stopAdvertising]).andDo(^(NSInvocation *invocation) {
+ _cbAdvertisementData = nil;
+ });
+ OCMStub([_cbPeripheralManagerMock
+ startAdvertising:[OCMArg checkWithBlock:^BOOL(id obj) {
+ _cbAdvertisementData = obj;
+ [_peripheralManager peripheralManagerDidStartAdvertising:_cbPeripheralManagerMock
+ error:nil];
+ return YES;
+ }]]);
+ _peripheralManager = [[TestGNSPeripheralManager alloc]
+ initWithAdvertisedName:_displayName
+ restoreIdentifier:_restoreIdentifier
+ queue:dispatch_get_main_queue()];
+ _peripheralManager.cbPeripheralManagerMock = _cbPeripheralManagerMock;
+ XCTAssertFalse(_peripheralManager.isStarted);
+}
+
+- (void)tearDown {
+ if (_peripheralManager.isStarted) {
+ [self stopPeripheralManager];
+ }
+ if (_peripheralManager.cbPeripheralManager) {
+ NSDictionary *expectedOptions =
+ @{CBPeripheralManagerOptionRestoreIdentifierKey : _restoreIdentifier};
+ XCTAssertEqualObjects(expectedOptions, _peripheralManager.cbOptions);
+ OCMVerifyAll(_peripheralManager.cbPeripheralManagerMock);
+ }
+ for (id mock in _mocksToVerify) {
+ OCMVerifyAll(mock);
+ }
+}
+
+#pragma mark - Start/Stop
+
+- (void)startPeripheralManagerWithPeripheralManagerState:(CBPeripheralManagerState)state
+ expectedAdvertisementData:(NSDictionary *)expectedAdvertisement {
+ [_peripheralManager start];
+ [self updatePeripheralManagerWithPeripheralManagerState:state];
+ [self checkAdvertisementData:expectedAdvertisement];
+}
+
+- (void)updatePeripheralManagerWithPeripheralManagerState:(CBPeripheralManagerState)state {
+ _cbPeripheralManagerState = state;
+ [_peripheralManager peripheralManagerDidUpdateState:_cbPeripheralManagerMock];
+ XCTAssertTrue(_peripheralManager.isStarted);
+}
+
+- (void)checkAdvertisementData:(NSDictionary *)expectedAdvertisement {
+ if (expectedAdvertisement) {
+ XCTAssertEqualObjects(expectedAdvertisement[CBAdvertisementDataLocalNameKey],
+ _cbAdvertisementData[CBAdvertisementDataLocalNameKey]);
+ NSSet *expectedUUIDs =
+ [NSSet setWithArray:expectedAdvertisement[CBAdvertisementDataServiceUUIDsKey]];
+ NSSet *advertisedUUIDs =
+ [NSSet setWithArray:_cbAdvertisementData[CBAdvertisementDataServiceUUIDsKey]];
+ XCTAssertEqualObjects(expectedUUIDs, advertisedUUIDs);
+ } else {
+ XCTAssertNil(_cbAdvertisementData);
+ }
+}
+
+- (void)updatePeripheralManagerWithPeripheralManagerState:(CBPeripheralManagerState)state
+ expectedAdvertisementData:(NSDictionary *)expectedAdvertisement {
+ _cbPeripheralManagerState = state;
+ [_peripheralManager peripheralManagerDidUpdateState:_cbPeripheralManagerMock];
+ XCTAssertTrue(_peripheralManager.isStarted);
+ if (expectedAdvertisement) {
+ XCTAssertEqualObjects(expectedAdvertisement[CBAdvertisementDataLocalNameKey],
+ _cbAdvertisementData[CBAdvertisementDataLocalNameKey]);
+ NSSet *expectedUUIDs =
+ [NSSet setWithArray:expectedAdvertisement[CBAdvertisementDataServiceUUIDsKey]];
+ NSSet *advertisedUUIDs =
+ [NSSet setWithArray:_cbAdvertisementData[CBAdvertisementDataServiceUUIDsKey]];
+ XCTAssertEqualObjects(expectedUUIDs, advertisedUUIDs);
+ } else {
+ XCTAssertNil(_cbAdvertisementData);
+ }
+}
+
+- (void)stopPeripheralManager {
+ OCMExpect([_cbPeripheralManagerMock removeAllServices]);
+ OCMExpect([_cbPeripheralManagerMock setDelegate:nil]);
+ [_peripheralManager stop];
+ XCTAssertNil(_cbAdvertisementData);
+ XCTAssertFalse(_peripheralManager.isStarted);
+}
+
+// Starts with bluetooth off.
+
+- (void)testStartWithNoServiceBluetoothResetting {
+ [_peripheralManager start];
+ OCMExpect([_peripheralManager.cbPeripheralManager removeAllServices]);
+ [self updatePeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStateResetting];
+ [self checkAdvertisementData:nil];
+}
+
+- (void)testStartWithNoServiceBluetoothUnknown {
+ [_peripheralManager start];
+ OCMExpect([_peripheralManager.cbPeripheralManager removeAllServices]);
+ [self updatePeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStateUnknown];
+ [self checkAdvertisementData:nil];
+}
+
+- (void)testStartWithNoServiceBluetoothUnauthorized {
+ [_peripheralManager start];
+ OCMExpect([_peripheralManager.cbPeripheralManager removeAllServices]);
+ [self updatePeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStateUnauthorized];
+ [self checkAdvertisementData:nil];
+}
+
+- (void)testStartWithNoServiceBluetoothUnsupported {
+ OCMStub([_cbPeripheralManagerMock isAdvertising]).andReturn(NO);
+ [self startPeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStateUnsupported
+ expectedAdvertisementData:nil];
+}
+
+- (void)testStartWithNoServiceBluetoothOff {
+ NSDictionary *expectedAdvertisingData = @{
+ CBAdvertisementDataServiceUUIDsKey : @[],
+ CBAdvertisementDataLocalNameKey : _displayName,
+ };
+ [self startPeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStatePoweredOff
+ expectedAdvertisementData:expectedAdvertisingData];
+}
+
+// Starts with bluetooth on: should advertise local name on BLE.
+- (void)testStartWithNoServiceBluetoothOn {
+ NSDictionary *expectedAdvertisingData = @{
+ CBAdvertisementDataServiceUUIDsKey : @[],
+ CBAdvertisementDataLocalNameKey : _displayName,
+ };
+ [self startPeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStatePoweredOn
+ expectedAdvertisementData:expectedAdvertisingData];
+}
+
+// Starts with BLE unknown, and then turn on bluetooth. Advertisement should be done only after
+// turning on bluetooth.
+- (void)testStartWithBleStateUnknownAndTurnOnBluetooth {
+ [_peripheralManager start];
+ OCMExpect([_peripheralManager.cbPeripheralManager removeAllServices]);
+ [self updatePeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStateUnknown];
+ [self checkAdvertisementData:nil];
+
+ [self updatePeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStatePoweredOn
+ expectedAdvertisementData:@{
+ CBAdvertisementDataServiceUUIDsKey : @[],
+ CBAdvertisementDataLocalNameKey : _displayName,
+ }];
+}
+
+- (void)testStartWithBleStateResettingAndTurnOnBluetooth {
+ [_peripheralManager start];
+ OCMExpect([_peripheralManager.cbPeripheralManager removeAllServices]);
+ [self updatePeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStateUnknown];
+ [self checkAdvertisementData:nil];
+
+ [self updatePeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStatePoweredOn
+ expectedAdvertisementData:@{
+ CBAdvertisementDataServiceUUIDsKey : @[],
+ CBAdvertisementDataLocalNameKey : _displayName,
+ }];
+}
+
+#pragma mark - Restore
+
+- (void)testRestore {
+ [_peripheralManager start];
+ GNSPeripheralServiceManager *service1 =
+ [self peripheralServiceManagerWithServiceState:GNSBluetoothServiceStateAdded];
+ OCMStub([service1 isAdvertising]).andReturn(YES);
+ [_peripheralManager addPeripheralServiceManager:service1 bleServiceAddedCompletion:nil];
+ GNSPeripheralServiceManager *service2 =
+ [self peripheralServiceManagerWithServiceState:GNSBluetoothServiceStateAdded];
+ OCMStub([service2 isAdvertising]).andReturn(YES);
+ [_peripheralManager addPeripheralServiceManager:service2 bleServiceAddedCompletion:nil];
+ CBMutableService *restoredCBService1 = OCMStrictClassMock([CBMutableService class]);
+ OCMStub([restoredCBService1 UUID]).andReturn(service1.serviceUUID);
+ CBMutableService *restoredCBService2 = OCMStrictClassMock([CBMutableService class]);
+ OCMStub([restoredCBService2 UUID]).andReturn(service2.serviceUUID);
+ NSDictionary *state = @{
+ CBPeripheralManagerRestoredStateAdvertisementDataKey : @"Name",
+ CBPeripheralManagerRestoredStateServicesKey : @[ restoredCBService1, restoredCBService2 ],
+ };
+ OCMExpect([service1 restoredCBService:restoredCBService1]);
+ OCMExpect([service2 restoredCBService:restoredCBService2]);
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock willRestoreState:state];
+ [self updatePeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStatePoweredOn];
+ [self checkAdvertisementData:@{
+ CBAdvertisementDataServiceUUIDsKey : @[ service1.serviceUUID, service2.serviceUUID ],
+ CBAdvertisementDataLocalNameKey : _displayName,
+ }];
+}
+
+#pragma mark - Advertising
+
+// Generates a peripheral service manager mock ready to be added to |_peripheralManager|.
+- (GNSPeripheralServiceManager *)peripheralServiceManager {
+ return [self peripheralServiceManagerWithServiceState:GNSBluetoothServiceStateNotAdded];
+}
+
+// Generates a peripheral service manager mock |_peripheralManager| with the cbServiceState
+// set to |initialServiceState|.
+- (GNSPeripheralServiceManager *)peripheralServiceManagerWithServiceState:
+ (GNSBluetoothServiceState)initialServiceState {
+ CBUUID *uuid = [CBUUID UUIDWithNSUUID:[NSUUID UUID]];
+ CBMutableService *cbService = OCMClassMock([CBMutableService class]);
+ OCMStub([cbService UUID]).andReturn(uuid);
+ [_mocksToVerify addObject:cbService];
+ GNSPeripheralServiceManager *peripheralServiceManager =
+ OCMStrictClassMock([GNSPeripheralServiceManager class]);
+ [_mocksToVerify addObject:peripheralServiceManager];
+ OCMStub([peripheralServiceManager cbService]).andReturn(cbService);
+ OCMStub([peripheralServiceManager serviceUUID]).andReturn(uuid);
+ OCMExpect([peripheralServiceManager addedToPeripheralManager:_peripheralManager
+ bleServiceAddedCompletion:[OCMArg any]]);
+
+ __block GNSBluetoothServiceState cbServiceState = initialServiceState;
+ OCMStub([peripheralServiceManager cbServiceState]).andDo(^(NSInvocation *invocation) {
+ GNSBluetoothServiceState stateToReturn = cbServiceState;
+ return [invocation setReturnValue:&stateToReturn];
+ });
+ OCMStub([peripheralServiceManager willAddCBService]).andDo(^(NSInvocation *invocation) {
+ cbServiceState = GNSBluetoothServiceStateAddInProgress;
+ });
+
+ OCMStub([peripheralServiceManager didAddCBServiceWithError:[OCMArg any]])
+ .andDo(^(NSInvocation *invocation) {
+ __unsafe_unretained NSError *error = nil;
+ [invocation getArgument:&error atIndex:2];
+ if (!error) {
+ cbServiceState = GNSBluetoothServiceStateAdded;
+ } else {
+ cbServiceState = GNSBluetoothServiceStateNotAdded;
+ }
+ });
+ OCMStub([peripheralServiceManager didRemoveCBService]).andDo(^(NSInvocation *invocation) {
+ cbServiceState = GNSBluetoothServiceStateNotAdded;
+ });
+ return peripheralServiceManager;
+}
+
+// Adds a peripheral service manager mock into |_peripheralManager|.
+- (void)addPeripheralManager:(id)peripheralServiceManager {
+ CBMutableService *service = [peripheralServiceManager cbService];
+ OCMExpect([_cbPeripheralManagerMock addService:service]);
+ [_peripheralManager addPeripheralServiceManager:peripheralServiceManager
+ bleServiceAddedCompletion:nil];
+}
+
+// Adds one peripheral service manager.
+- (void)testAddOneServiceStartsAdvertisment {
+ GNSPeripheralServiceManager *peripheralServiceManager = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager isAdvertising]).andReturn(YES);
+ // Starting before the services are added should not start adverting.
+ [self addPeripheralManager:peripheralServiceManager];
+ [_peripheralManager start];
+ XCTAssertEqual(GNSBluetoothServiceStateNotAdded, [peripheralServiceManager cbServiceState]);
+ [self updatePeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStatePoweredOn];
+ XCTAssertEqual(GNSBluetoothServiceStateAddInProgress, [peripheralServiceManager cbServiceState]);
+ [self checkAdvertisementData:nil];
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock
+ didAddService:[peripheralServiceManager cbService]
+ error:nil];
+ XCTAssertEqual(GNSBluetoothServiceStateAdded, [peripheralServiceManager cbServiceState]);
+
+ // Adding the service should start the advertisment.
+ [self checkAdvertisementData:@{
+ CBAdvertisementDataServiceUUIDsKey : @[ [peripheralServiceManager serviceUUID] ],
+ CBAdvertisementDataLocalNameKey : _displayName,
+ }];
+}
+
+// Adds one peripheral service manager fails with error.
+- (void)testAddOneServiceError {
+ GNSPeripheralServiceManager *peripheralServiceManager = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager isAdvertising]).andReturn(YES);
+ [self addPeripheralManager:peripheralServiceManager];
+ [_peripheralManager start];
+ [self updatePeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStatePoweredOn];
+ NSError *expectedError = [[NSError alloc] initWithDomain:@"Test" code:-42 userInfo:nil];
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock
+ didAddService:[peripheralServiceManager cbService]
+ error:expectedError];
+ [self checkAdvertisementData:nil];
+ XCTAssertEqual(GNSBluetoothServiceStateNotAdded, [peripheralServiceManager cbServiceState]);
+}
+
+// Adds two peripheral service managers, one that advertise itself, and one that doesn't. Only
+// one service should be advertised.
+- (void)testAddTwoServices {
+ GNSPeripheralServiceManager *peripheralServiceManager1 = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager1 isAdvertising]).andReturn(NO);
+ [self addPeripheralManager:peripheralServiceManager1];
+ GNSPeripheralServiceManager *peripheralServiceManager2 = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager2 isAdvertising]).andReturn(YES);
+ [self addPeripheralManager:peripheralServiceManager2];
+ [_peripheralManager start];
+ [self updatePeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStatePoweredOn];
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock
+ didAddService:[peripheralServiceManager1 cbService]
+ error:nil];
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock
+ didAddService:[peripheralServiceManager2 cbService]
+ error:nil];
+ NSDictionary *expectedAdvertisement = @{
+ CBAdvertisementDataServiceUUIDsKey : @[ [peripheralServiceManager2 serviceUUID] ],
+ CBAdvertisementDataLocalNameKey : _displayName,
+ };
+ [self checkAdvertisementData:expectedAdvertisement];
+}
+
+// Adds one peripheral service manager while not advertising. Changes the advertising value for this
+// peripheral service manager.
+- (void)testAddServiceAndChangeAdvertisingValue {
+ GNSPeripheralServiceManager *peripheralServiceManager = [self peripheralServiceManager];
+ OCMStubRecorder *isAdvertisingStub = OCMStub([peripheralServiceManager isAdvertising]);
+ isAdvertisingStub.andReturn(NO);
+ [self addPeripheralManager:peripheralServiceManager];
+ [_peripheralManager start];
+ [self updatePeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStatePoweredOn];
+ [self checkAdvertisementData:nil];
+ XCTAssertEqual(GNSBluetoothServiceStateAddInProgress, [peripheralServiceManager cbServiceState]);
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock
+ didAddService:[peripheralServiceManager cbService]
+ error:nil];
+ [self checkAdvertisementData:@{
+ CBAdvertisementDataServiceUUIDsKey : @[],
+ CBAdvertisementDataLocalNameKey : _displayName,
+ }];
+ isAdvertisingStub.andReturn(YES);
+ [_peripheralManager updateAdvertisedServices];
+ [self checkAdvertisementData:@{
+ CBAdvertisementDataServiceUUIDsKey : @[ [peripheralServiceManager serviceUUID] ],
+ CBAdvertisementDataLocalNameKey : _displayName,
+ }];
+ return;
+}
+
+- (void)startWithPeripheralServiceManagers:(NSArray *)managers {
+ NSMutableArray *advertisedServiceUUIDs = [NSMutableArray array];
+ for (GNSPeripheralServiceManager *peripheralServiceManager in managers) {
+ [self addPeripheralManager:peripheralServiceManager];
+ if (peripheralServiceManager.isAdvertising) {
+ [advertisedServiceUUIDs addObject:peripheralServiceManager.serviceUUID];
+ }
+ }
+ [_peripheralManager start];
+ [self updatePeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStatePoweredOn];
+ for (GNSPeripheralServiceManager *peripheralServiceManager in managers) {
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock
+ didAddService:[peripheralServiceManager cbService]
+ error:nil];
+ }
+ [self checkAdvertisementData:@{
+ CBAdvertisementDataServiceUUIDsKey : advertisedServiceUUIDs,
+ CBAdvertisementDataLocalNameKey : _displayName,
+ }];
+}
+
+#pragma mark - Subscribe/unsubscribe characteristics
+
+// Creates a characteristic mock, and adds it into |_mocksToVerify|. If no service is provided,
+// a service mock is created (added into |_mocksToVerify| too). The service uuid is attach
+// to the service. If no service uuid is provided, an uuid is created.
+- (CBMutableCharacteristic *)prepareCharacteristicForCBService:(CBService *)cbService
+ withServiceUUID:(CBUUID *)serviceUUID {
+ if (!serviceUUID) {
+ serviceUUID = [CBUUID UUIDWithNSUUID:[NSUUID UUID]];
+ }
+ if (!cbService) {
+ cbService = OCMClassMock([CBService class]);
+ OCMStub([cbService UUID]).andReturn(serviceUUID);
+ [_mocksToVerify addObject:cbService];
+ }
+ CBMutableCharacteristic *characteristicMock = OCMClassMock([CBMutableCharacteristic class]);
+ OCMStub([characteristicMock service]).andReturn(cbService);
+ [_mocksToVerify addObject:characteristicMock];
+ return characteristicMock;
+}
+
+// Creates a characteristic mock based on the service from the peripheral service manager.
+// The mock is added into _mocksToVerify.
+- (CBMutableCharacteristic *)prepareCharacteristicForPeripheralServiceManager:
+ (GNSPeripheralServiceManager *)peripheralServiceManager {
+ CBService *cbService = peripheralServiceManager.cbService;
+ CBUUID *serviceUUID = cbService.UUID;
+ return [self prepareCharacteristicForCBService:cbService withServiceUUID:serviceUUID];
+}
+
+// Adds a peripheral service manager, and a central subscribes to its service.
+- (void)testCentralDidSubscribe {
+ id peripheralServiceManager = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager isAdvertising]).andReturn(YES);
+ [self startWithPeripheralServiceManagers:@[ peripheralServiceManager ]];
+ id centralMock = OCMClassMock([CBCentral class]);
+ CBMutableCharacteristic *characteristicMock =
+ [self prepareCharacteristicForPeripheralServiceManager:peripheralServiceManager];
+ OCMExpect([peripheralServiceManager central:centralMock
+ didSubscribeToCharacteristic:characteristicMock]);
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock
+ central:centralMock
+ didSubscribeToCharacteristic:characteristicMock];
+ OCMVerifyAll(centralMock);
+}
+
+// Adds a peripheral service manager, and a central unsubscribes to its service.
+- (void)testCentralDidUnsubscribe {
+ id peripheralServiceManager = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager isAdvertising]).andReturn(YES);
+ [self startWithPeripheralServiceManagers:@[ peripheralServiceManager ]];
+ id centralMock = OCMClassMock([CBCentral class]);
+ CBMutableCharacteristic *characteristicMock =
+ [self prepareCharacteristicForPeripheralServiceManager:peripheralServiceManager];
+ OCMExpect([peripheralServiceManager central:centralMock
+ didUnsubscribeFromCharacteristic:characteristicMock]);
+
+ // As a workaourd for b/31752176 We are restarting the peripheral manager after the central
+ // unsubscribe.
+ OCMExpect([_cbPeripheralManagerMock removeAllServices]);
+ OCMExpect([_cbPeripheralManagerMock setDelegate:nil]);
+
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock
+ central:centralMock
+ didUnsubscribeFromCharacteristic:characteristicMock];
+ OCMVerifyAll(centralMock);
+}
+
+#pragma mark - Characteristic requests
+
+// Creates an ATT request mock based on the characteristic. The mock is added into |_mocksToVerify|
+- (CBATTRequest *)prepareRequestForCharacteristic:(CBMutableCharacteristic *)characteristic {
+ id requestMock = OCMClassMock([CBATTRequest class]);
+ OCMStub([requestMock characteristic]).andReturn(characteristic);
+ [_mocksToVerify addObject:requestMock];
+ return requestMock;
+}
+
+// Adds a peripheral service manager, and receives a read request accepted by the manager. The
+// read request should be processed.
+- (void)testDidReceiveReadRequest {
+ id peripheralServiceManager = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager isAdvertising]).andReturn(YES);
+ [self startWithPeripheralServiceManagers:@[ peripheralServiceManager ]];
+ CBMutableCharacteristic *characteristicMock =
+ [self prepareCharacteristicForPeripheralServiceManager:peripheralServiceManager];
+ CBATTRequest *readRequestMock = [self prepareRequestForCharacteristic:characteristicMock];
+ OCMStub([peripheralServiceManager canProcessReadRequest:readRequestMock])
+ .andReturn(CBATTErrorSuccess);
+ OCMExpect([peripheralServiceManager processReadRequest:readRequestMock]);
+ OCMExpect(
+ [_cbPeripheralManagerMock respondToRequest:readRequestMock withResult:CBATTErrorSuccess]);
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock
+ didReceiveReadRequest:readRequestMock];
+}
+
+// Adds a peripheral service manager, and receives a read request refused by the manager. The
+// read request should not be processed.
+- (void)testDidReceiveBadReadRequest {
+ id peripheralServiceManager = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager isAdvertising]).andReturn(YES);
+ [self startWithPeripheralServiceManagers:@[ peripheralServiceManager ]];
+ CBMutableCharacteristic *characteristicMock =
+ [self prepareCharacteristicForPeripheralServiceManager:peripheralServiceManager];
+ CBATTRequest *readRequestMock = [self prepareRequestForCharacteristic:characteristicMock];
+ OCMStub([peripheralServiceManager canProcessReadRequest:readRequestMock])
+ .andReturn(CBATTErrorReadNotPermitted);
+ OCMExpect([_cbPeripheralManagerMock respondToRequest:readRequestMock
+ withResult:CBATTErrorReadNotPermitted]);
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock
+ didReceiveReadRequest:readRequestMock];
+}
+
+// Adds a peripheral service manager, and receives a read request to another service. The read
+// request should not be processed.
+- (void)testDidReceiveReadRequestToWrongService {
+ id peripheralServiceManager = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager isAdvertising]).andReturn(YES);
+ [self startWithPeripheralServiceManagers:@[ peripheralServiceManager ]];
+ CBMutableCharacteristic *characteristicMock =
+ [self prepareCharacteristicForCBService:nil withServiceUUID:nil];
+ CBATTRequest *readRequestMock = [self prepareRequestForCharacteristic:characteristicMock];
+ OCMExpect([_cbPeripheralManagerMock respondToRequest:readRequestMock
+ withResult:CBATTErrorAttributeNotFound]);
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock
+ didReceiveReadRequest:readRequestMock];
+}
+
+// Adds a peripheral service manager, and receives a write request accepted by the manager. The
+// write request should be processed.
+- (void)testDidReceiveOneWriteRequest {
+ id peripheralServiceManager = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager isAdvertising]).andReturn(YES);
+ [self startWithPeripheralServiceManagers:@[ peripheralServiceManager ]];
+ CBMutableCharacteristic *characteristicMock =
+ [self prepareCharacteristicForPeripheralServiceManager:peripheralServiceManager];
+ CBATTRequest *writeRequestMock = [self prepareRequestForCharacteristic:characteristicMock];
+ OCMStub([peripheralServiceManager canProcessWriteRequest:writeRequestMock])
+ .andReturn(CBATTErrorSuccess);
+ OCMExpect([peripheralServiceManager processWriteRequest:writeRequestMock]);
+ OCMExpect(
+ [_cbPeripheralManagerMock respondToRequest:writeRequestMock withResult:CBATTErrorSuccess]);
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock
+ didReceiveWriteRequests:@[ writeRequestMock ]];
+}
+
+// Adds a peripheral service manager, and receives a write request refused by the manager. The write
+// request should not be processed.
+- (void)testDidReceiveOneBadWriteRequest {
+ id peripheralServiceManager = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager isAdvertising]).andReturn(YES);
+ [self startWithPeripheralServiceManagers:@[ peripheralServiceManager ]];
+ CBMutableCharacteristic *characteristicMock =
+ [self prepareCharacteristicForPeripheralServiceManager:peripheralServiceManager];
+ CBATTRequest *writeRequestMock = [self prepareRequestForCharacteristic:characteristicMock];
+ OCMStub([peripheralServiceManager canProcessWriteRequest:writeRequestMock])
+ .andReturn(CBATTErrorWriteNotPermitted);
+ OCMExpect([_cbPeripheralManagerMock respondToRequest:writeRequestMock
+ withResult:CBATTErrorWriteNotPermitted]);
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock
+ didReceiveWriteRequests:@[ writeRequestMock ]];
+}
+
+// Adds a peripheral service manager, and receives a write request to another service. The write
+// request should not be processed.
+- (void)testDidReceiveOneWriteRequestToWrongService {
+ id peripheralServiceManager = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager isAdvertising]).andReturn(YES);
+ [self startWithPeripheralServiceManagers:@[ peripheralServiceManager ]];
+ CBMutableCharacteristic *characteristicMock =
+ [self prepareCharacteristicForCBService:nil withServiceUUID:nil];
+ CBATTRequest *writeRequestMock = [self prepareRequestForCharacteristic:characteristicMock];
+ OCMStub([_cbPeripheralManagerMock respondToRequest:writeRequestMock
+ withResult:CBATTErrorAttributeNotFound]);
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock
+ didReceiveWriteRequests:@[ writeRequestMock ]];
+}
+
+// Adds a peripheral service manager, and receives two write requests, only the second one is
+// refused by the manager. None of those write requests should be processed. The error should be
+// sent to the first write request.
+- (void)testDidReceiveWriteRequestOneGoodAndOneBad {
+ id peripheralServiceManager1 = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager1 isAdvertising]).andReturn(YES);
+ id peripheralServiceManager2 = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager2 isAdvertising]).andReturn(YES);
+ [self
+ startWithPeripheralServiceManagers:@[ peripheralServiceManager1, peripheralServiceManager2 ]];
+ // Good request
+ CBMutableCharacteristic *characteristic1Mock =
+ [self prepareCharacteristicForPeripheralServiceManager:peripheralServiceManager1];
+ CBATTRequest *writeRequest1Mock = [self prepareRequestForCharacteristic:characteristic1Mock];
+ OCMStub([peripheralServiceManager1 canProcessWriteRequest:writeRequest1Mock])
+ .andReturn(CBATTErrorSuccess);
+ // Bad request
+ CBMutableCharacteristic *characteristic2Mock =
+ [self prepareCharacteristicForPeripheralServiceManager:peripheralServiceManager2];
+ CBATTRequest *writeRequest2Mock = [self prepareRequestForCharacteristic:characteristic2Mock];
+ OCMStub([peripheralServiceManager2 canProcessWriteRequest:writeRequest2Mock])
+ .andReturn(CBATTErrorWriteNotPermitted);
+ OCMExpect([_cbPeripheralManagerMock respondToRequest:writeRequest1Mock
+ withResult:CBATTErrorWriteNotPermitted]);
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock
+ didReceiveWriteRequests:@[ writeRequest1Mock, writeRequest2Mock ]];
+}
+
+// Adds a peripheral service manager, and receives two write requests, only the first one is
+// refused by the manager. None of those write requests should be processed. The error should be
+// sent to the first write request.
+- (void)testDidReceiveWriteRequestOneBadAndOneGood {
+ id peripheralServiceManager1 = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager1 isAdvertising]).andReturn(YES);
+ id peripheralServiceManager2 = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager2 isAdvertising]).andReturn(YES);
+ [self
+ startWithPeripheralServiceManagers:@[ peripheralServiceManager1, peripheralServiceManager2 ]];
+ // Good request
+ CBMutableCharacteristic *characteristic1Mock =
+ [self prepareCharacteristicForPeripheralServiceManager:peripheralServiceManager1];
+ CBATTRequest *writeRequest1Mock = [self prepareRequestForCharacteristic:characteristic1Mock];
+ OCMStub([peripheralServiceManager1 canProcessWriteRequest:writeRequest1Mock])
+ .andReturn(CBATTErrorWriteNotPermitted);
+ // Bad request
+ CBMutableCharacteristic *characteristic2Mock =
+ [self prepareCharacteristicForPeripheralServiceManager:peripheralServiceManager2];
+ CBATTRequest *writeRequest2Mock = [self prepareRequestForCharacteristic:characteristic2Mock];
+ OCMStub([peripheralServiceManager2 canProcessWriteRequest:writeRequest2Mock])
+ .andReturn(CBATTErrorSuccess);
+ OCMExpect([_cbPeripheralManagerMock respondToRequest:writeRequest1Mock
+ withResult:CBATTErrorWriteNotPermitted]);
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock
+ didReceiveWriteRequests:@[ writeRequest1Mock, writeRequest2Mock ]];
+}
+
+// Adds a peripheral service manager, and receives two good write requests. Both write request
+// should be processed. The success should be sent to the first write request.
+- (void)testDidReceiveWriteRequestTwoGood {
+ id peripheralServiceManager1 = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager1 isAdvertising]).andReturn(YES);
+ id peripheralServiceManager2 = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager2 isAdvertising]).andReturn(YES);
+ [self
+ startWithPeripheralServiceManagers:@[ peripheralServiceManager1, peripheralServiceManager2 ]];
+ // Good request
+ CBMutableCharacteristic *characteristic1Mock =
+ [self prepareCharacteristicForPeripheralServiceManager:peripheralServiceManager1];
+ CBATTRequest *writeRequest1Mock = [self prepareRequestForCharacteristic:characteristic1Mock];
+ OCMStub([peripheralServiceManager1 canProcessWriteRequest:writeRequest1Mock])
+ .andReturn(CBATTErrorSuccess);
+ OCMExpect([peripheralServiceManager1 processWriteRequest:writeRequest1Mock]);
+ // Good request
+ CBMutableCharacteristic *characteristic2Mock =
+ [self prepareCharacteristicForPeripheralServiceManager:peripheralServiceManager2];
+ CBATTRequest *writeRequest2Mock = [self prepareRequestForCharacteristic:characteristic2Mock];
+ OCMStub([peripheralServiceManager2 canProcessWriteRequest:writeRequest2Mock])
+ .andReturn(CBATTErrorSuccess);
+ OCMExpect([peripheralServiceManager2 processWriteRequest:writeRequest2Mock]);
+ OCMExpect(
+ [_cbPeripheralManagerMock respondToRequest:writeRequest1Mock withResult:CBATTErrorSuccess]);
+ [_peripheralManager peripheralManager:_cbPeripheralManagerMock
+ didReceiveWriteRequests:@[ writeRequest1Mock, writeRequest2Mock ]];
+}
+
+- (GNSSocket *)createSocketMock {
+ GNSSocket *socketMock = OCMStrictClassMock([GNSSocket class]);
+ NSUUID *socketIdentifier = [NSUUID UUID];
+ OCMStub([socketMock socketIdentifier]).andReturn(socketIdentifier);
+ [_mocksToVerify addObject:socketMock];
+ return socketMock;
+}
+
+// Adds one update value handler. Should be called right now.
+- (void)testIsReadyToUpdateSubscribers {
+ __block BOOL updateValueHandlerCalled = NO;
+ GNSSocket *socketMock = [self createSocketMock];
+ // Should be called right now.
+ [_peripheralManager updateOutgoingCharOnSocket:socketMock
+ withHandler:^() {
+ updateValueHandlerCalled = YES;
+ return GNSOutgoingCharUpdateNoReschedule;
+ }];
+ XCTAssertTrue(updateValueHandlerCalled);
+}
+
+// Adds one update value handler. The first one fails. Adds a second update value. It should not
+// be called. The first one is set to not fail anymore. When the CB peripheral manager is ready
+// to update subscribers, both handlers should be called.
+- (void)testIsReadyToUpdateSubscriberBlocked {
+ __block BOOL updateValueHandler1Called = NO;
+ __block GNSOutgoingCharUpdate updateValueHandler1ReturnedValue =
+ GNSOutgoingCharUpdateScheduleLater;
+ GNSSocket *socketMock = [self createSocketMock];
+ // Should be called right now.
+ [_peripheralManager updateOutgoingCharOnSocket:socketMock
+ withHandler:^() {
+ updateValueHandler1Called = YES;
+ return updateValueHandler1ReturnedValue;
+ }];
+ XCTAssertTrue(updateValueHandler1Called);
+ __block BOOL updateValueHandler2Called = NO;
+ __block GNSOutgoingCharUpdate updateValueHandler2ReturnedValue =
+ GNSOutgoingCharUpdateNoReschedule;
+ // Should no be called since the previous update value handler failed.
+ [_peripheralManager updateOutgoingCharOnSocket:socketMock
+ withHandler:^() {
+ updateValueHandler2Called = YES;
+ return updateValueHandler2ReturnedValue;
+ }];
+ XCTAssertFalse(updateValueHandler2Called);
+ updateValueHandler1ReturnedValue = GNSOutgoingCharUpdateNoReschedule;
+ updateValueHandler1Called = NO;
+ // Should again again the first handler, and the second right after.
+ [_peripheralManager peripheralManagerIsReadyToUpdateSubscribers:_cbPeripheralManagerMock];
+ XCTAssertTrue(updateValueHandler1Called);
+ XCTAssertTrue(updateValueHandler2Called);
+}
+
+// Adds 2 handlers on different sockets. One fails, the second one should process right away.
+- (void)testTwoUpdateBlocksOnDifferentSocket {
+ __block BOOL updateValueHandler1Called = NO;
+ __block GNSOutgoingCharUpdate updateValueHandler1ReturnedValue =
+ GNSOutgoingCharUpdateScheduleLater;
+ GNSSocket *socketMock1 = [self createSocketMock];
+ // Should be called right now.
+ [_peripheralManager updateOutgoingCharOnSocket:socketMock1
+ withHandler:^() {
+ updateValueHandler1Called = YES;
+ return updateValueHandler1ReturnedValue;
+ }];
+ XCTAssertTrue(updateValueHandler1Called);
+ __block BOOL updateValueHandler2Called = NO;
+ __block GNSOutgoingCharUpdate updateValueHandler2ReturnedValue =
+ GNSOutgoingCharUpdateNoReschedule;
+ GNSSocket *socketMock2 = [self createSocketMock];
+ // Should no be called since the previous update value handler failed.
+ [_peripheralManager updateOutgoingCharOnSocket:socketMock2
+ withHandler:^() {
+ updateValueHandler2Called = YES;
+ return updateValueHandler2ReturnedValue;
+ }];
+ XCTAssertTrue(updateValueHandler2Called);
+ updateValueHandler2Called = NO;
+ updateValueHandler1ReturnedValue = GNSOutgoingCharUpdateNoReschedule;
+ updateValueHandler1Called = NO;
+ // Should again again the first handler, and the second one should not be called.
+ [_peripheralManager peripheralManagerIsReadyToUpdateSubscribers:_cbPeripheralManagerMock];
+ XCTAssertTrue(updateValueHandler1Called);
+ XCTAssertFalse(updateValueHandler2Called);
+}
+
+- (void)testUpdateBlockCleanupAfterDisconnect {
+ __block BOOL updateValueHandlerCalled = NO;
+ GNSSocket *socketMock = [self createSocketMock];
+ __block GNSOutgoingCharUpdate outgoingCharUpdateValue = GNSOutgoingCharUpdateScheduleLater;
+ // Should be called right now.
+ [_peripheralManager updateOutgoingCharOnSocket:socketMock
+ withHandler:^() {
+ updateValueHandlerCalled = YES;
+ return outgoingCharUpdateValue;
+ }];
+ XCTAssertTrue(updateValueHandlerCalled);
+ updateValueHandlerCalled = NO;
+ outgoingCharUpdateValue = GNSOutgoingCharUpdateNoReschedule;
+ OCMStub([socketMock isConnected]).andReturn(NO);
+ [_peripheralManager socketDidDisconnect:socketMock];
+ // Should again again the first handler, and the second right after.
+ [_peripheralManager peripheralManagerIsReadyToUpdateSubscribers:_cbPeripheralManagerMock];
+ XCTAssertTrue(updateValueHandlerCalled);
+}
+
+- (void)testUpdateValueForCentral {
+ NSData *data = [NSData data];
+ id characteristicMock = OCMStrictClassMock([CBMutableCharacteristic class]);
+ id centralMock = OCMStrictClassMock([CBCentral class]);
+ OCMStub([_cbPeripheralManagerMock updateValue:data
+ forCharacteristic:characteristicMock
+ onSubscribedCentrals:@[ centralMock ]]);
+ GNSPeripheralServiceManager *peripheralServiceManager =
+ OCMStrictClassMock([GNSPeripheralServiceManager class]);
+ OCMStub([peripheralServiceManager weaveOutgoingCharacteristic]).andReturn(characteristicMock);
+ GNSSocket *socketMock = OCMStrictClassMock([GNSSocket class]);
+ OCMStub([socketMock owner]).andReturn(peripheralServiceManager);
+ OCMStub([socketMock peerAsCentral]).andReturn(centralMock);
+ [_peripheralManager updateOutgoingCharacteristic:data onSocket:socketMock];
+ OCMVerifyAll(characteristicMock);
+ OCMVerifyAll(centralMock);
+}
+
+- (void)testRecoverFromBTCrashLoop {
+ GNSPeripheralServiceManager *peripheralServiceManager = [self peripheralServiceManager];
+ OCMStub([peripheralServiceManager isAdvertising]).andReturn(YES);
+ [self startWithPeripheralServiceManagers:@[ peripheralServiceManager ]];
+ for (int i = 0; i < 5; ++i) {
+ OCMExpect([_cbPeripheralManagerMock removeAllServices]);
+ [self updatePeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStateResetting];
+ CBMutableService *service = [peripheralServiceManager cbService];
+ OCMExpect([_cbPeripheralManagerMock addService:service]);
+ [self updatePeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStatePoweredOff];
+ XCTAssertEqual(GNSBluetoothServiceStateAddInProgress,
+ [peripheralServiceManager cbServiceState]);
+ }
+
+ // After 5 consecutive resetting state, the services are no longer added by the peripheral
+ // manager.
+ OCMExpect([_cbPeripheralManagerMock removeAllServices]);
+ [self updatePeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStateResetting];
+ [self updatePeripheralManagerWithPeripheralManagerState:CBPeripheralManagerStatePoweredOff];
+ XCTAssertEqual(GNSBluetoothServiceStateNotAdded, [peripheralServiceManager cbServiceState]);
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Peripheral/GNSPeripheralServiceManagerTest.m b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Peripheral/GNSPeripheralServiceManagerTest.m
new file mode 100644
index 00000000000..47aa3269e46
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Peripheral/GNSPeripheralServiceManagerTest.m
@@ -0,0 +1,671 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <XCTest/XCTest.h>
+
+#import "internal/platform/implementation/ios/Mediums/ble/Sockets/Source/Peripheral/GNSPeripheralManager+Private.h"
+#import "internal/platform/implementation/ios/Mediums/ble/Sockets/Source/Peripheral/GNSPeripheralServiceManager+Private.h"
+#import "internal/platform/implementation/ios/Mediums/ble/Sockets/Source/Shared/GNSSocket+Private.h"
+#import "internal/platform/implementation/ios/Mediums/ble/Sockets/Source/Shared/GNSUtils.h"
+#import "internal/platform/implementation/ios/Mediums/ble/Sockets/Source/Shared/GNSWeavePacket.h"
+#import "third_party/objective_c/ocmock/v3/Source/OCMock/OCMock.h"
+
+@interface GNSPeripheralServiceManagerTest : XCTestCase {
+ GNSPeripheralServiceManager *_peripheralServiceManager;
+ CBUUID *_serviceUUID;
+ BOOL _shouldAcceptSocket;
+ GNSSocket *_receivedSocket;
+ id _peripheralManagerMock;
+ id _cbPeripheralManagerMock;
+ id _socketDelegateMock;
+ NSMutableArray *_mocksToVerify;
+ NSUInteger _centralMaximumUpdateValueLength;
+ NSUInteger _packetSize;
+}
+@end
+
+@implementation GNSPeripheralServiceManagerTest
+
+- (void)setUp {
+ _mocksToVerify = [NSMutableArray array];
+ _serviceUUID = [CBUUID UUIDWithString:@"3C672799-2B3F-4D93-9E57-29D5C5B01092"];;
+ _peripheralManagerMock = OCMStrictClassMock([GNSPeripheralManager class]);
+ _cbPeripheralManagerMock = OCMStrictClassMock([CBPeripheralManager class]);
+ _socketDelegateMock = OCMStrictProtocolMock(@protocol(GNSSocketDelegate));
+ _centralMaximumUpdateValueLength = 100;
+ _packetSize = 100;
+ OCMStub([_peripheralManagerMock cbPeripheralManager]).andReturn(_cbPeripheralManagerMock);
+ _peripheralServiceManager = [[GNSPeripheralServiceManager alloc]
+ initWithBleServiceUUID:_serviceUUID
+ addPairingCharacteristic:NO
+ shouldAcceptSocketHandler:^BOOL(GNSSocket *socket) {
+ _receivedSocket = socket;
+ socket.delegate = _socketDelegateMock;
+ return self->_shouldAcceptSocket;
+ }];
+ XCTAssertEqualObjects(_peripheralServiceManager.serviceUUID, _serviceUUID);
+ [_peripheralServiceManager addedToPeripheralManager:_peripheralManagerMock
+ bleServiceAddedCompletion:nil];
+ XCTAssertEqual(GNSBluetoothServiceStateNotAdded, _peripheralServiceManager.cbServiceState);
+ XCTAssertNil(_peripheralServiceManager.cbService);
+ [_peripheralServiceManager willAddCBService];
+ XCTAssertNotNil(_peripheralServiceManager.cbService);
+ XCTAssertEqual(GNSBluetoothServiceStateAddInProgress, _peripheralServiceManager.cbServiceState);
+ [_peripheralServiceManager didAddCBServiceWithError:nil];
+ XCTAssertEqual(GNSBluetoothServiceStateAdded, _peripheralServiceManager.cbServiceState);
+}
+
+- (void)tearDown {
+ OCMVerifyAll(_peripheralManagerMock);
+ OCMVerifyAll(_cbPeripheralManagerMock);
+ OCMVerifyAll(_socketDelegateMock);
+ for (id mock in _mocksToVerify) {
+ OCMVerifyAll(mock);
+ }
+}
+
+- (void)testServiceManagerAdded {
+ GNSPeripheralServiceManager *peripheralServiceManager = [[GNSPeripheralServiceManager alloc]
+ initWithBleServiceUUID:_serviceUUID
+ addPairingCharacteristic:NO
+ shouldAcceptSocketHandler:^BOOL(GNSSocket *socket) {
+ _receivedSocket = socket;
+ return _shouldAcceptSocket;
+ }];
+ __block BOOL completionCalled = NO;
+ [peripheralServiceManager addedToPeripheralManager:_peripheralManagerMock
+ bleServiceAddedCompletion:^(NSError *error) {
+ completionCalled = YES;
+ }];
+ XCTAssertEqual(peripheralServiceManager.peripheralManager, _peripheralManagerMock);
+ XCTAssertFalse(completionCalled);
+ [peripheralServiceManager willAddCBService];
+ XCTAssertFalse(completionCalled);
+ [peripheralServiceManager didAddCBServiceWithError:nil];
+ XCTAssertTrue(completionCalled);
+}
+
+- (void)testPeripheralServiceManagerRestored {
+ GNSPeripheralServiceManager *manager =
+ [[GNSPeripheralServiceManager alloc] initWithBleServiceUUID:_serviceUUID
+ addPairingCharacteristic:NO
+ shouldAcceptSocketHandler:^BOOL(GNSSocket *socket) {
+ return NO;
+ }];
+ XCTAssertEqual(GNSBluetoothServiceStateNotAdded, manager.cbServiceState);
+
+ CBMutableCharacteristic *weaveOutgoingChar = OCMStrictClassMock([CBMutableCharacteristic class]);
+ CBUUID *weaveOutgoingCharUUID = [CBUUID UUIDWithString:@"00000100-0004-1000-8000-001A11000102"];
+ OCMStub([weaveOutgoingChar UUID]).andReturn(weaveOutgoingCharUUID);
+ CBMutableCharacteristic *weaveIncomingChar = OCMStrictClassMock([CBMutableCharacteristic class]);
+ CBUUID *weaveIncomingCharUUID = [CBUUID UUIDWithString:@"00000100-0004-1000-8000-001A11000101"];
+ OCMStub([weaveIncomingChar UUID]).andReturn(weaveIncomingCharUUID);
+
+ CBMutableService *cbService = OCMStrictClassMock([CBMutableService class]);
+ OCMStub([cbService UUID]).andReturn(_serviceUUID);
+ NSArray *restoredCharacteristics = @[ weaveOutgoingChar, weaveIncomingChar ];
+ OCMStub([cbService characteristics]).andReturn(restoredCharacteristics);
+ [manager restoredCBService:cbService];
+ XCTAssertEqual(GNSBluetoothServiceStateAdded, manager.cbServiceState);
+ XCTAssertEqual(manager.cbService, cbService);
+ XCTAssertEqual(manager.weaveOutgoingCharacteristic, weaveOutgoingChar);
+ XCTAssertEqual(manager.weaveIncomingCharacteristic, weaveIncomingChar);
+}
+
+- (void)testDefaultAdvertisingValue {
+ XCTAssertTrue(_peripheralServiceManager.isAdvertising);
+}
+
+- (void)testSetAdvertisingValueToTrue {
+ // Nothing should happen since it is already to YES
+ _peripheralServiceManager.advertising = YES;
+}
+
+- (void)testSetAdvertisingValueToFalse {
+ OCMExpect([_peripheralManagerMock updateAdvertisedServices]);
+ _peripheralServiceManager.advertising = NO;
+}
+
+- (void)testCanProcessReadRequest {
+ CBATTRequest *request = OCMStrictClassMock([CBATTRequest class]);
+ OCMStubRecorder *recorder = OCMStub([request characteristic]);
+
+ recorder.andReturn(_peripheralServiceManager.weaveOutgoingCharacteristic);
+ XCTAssertEqual([_peripheralServiceManager canProcessReadRequest:request],
+ CBATTErrorReadNotPermitted);
+ recorder.andReturn(_peripheralServiceManager.weaveIncomingCharacteristic);
+ XCTAssertEqual([_peripheralServiceManager canProcessReadRequest:request],
+ CBATTErrorReadNotPermitted);
+
+ OCMVerifyAll((id)request);
+}
+
+- (void)testCanProcessReadRequestOnWrongCharacteristic {
+ CBATTRequest *request = OCMStrictClassMock([CBATTRequest class]);
+ CBUUID *uuid = [CBUUID UUIDWithNSUUID:[NSUUID UUID]];
+ id characteristicMock = OCMStrictClassMock([CBMutableCharacteristic class]);
+ OCMStub([characteristicMock UUID]).andReturn(uuid);
+ OCMStub([request characteristic]).andReturn(characteristicMock);
+ XCTAssertEqual([_peripheralServiceManager canProcessReadRequest:request],
+ CBATTErrorAttributeNotFound);
+ OCMVerifyAll((id)request);
+ OCMVerifyAll(characteristicMock);
+}
+
+- (void)testCanProcessWriteRequestOnOutgoingCharacteristic {
+ CBATTRequest *request = OCMStrictClassMock([CBATTRequest class]);
+ OCMStubRecorder *recorder = OCMStub([request characteristic]);
+
+ recorder.andReturn(_peripheralServiceManager.weaveOutgoingCharacteristic);
+ XCTAssertEqual([_peripheralServiceManager canProcessWriteRequest:request],
+ CBATTErrorWriteNotPermitted);
+ OCMVerifyAll((id)request);
+}
+
+- (void)testCanProcessWriteRequestOnIncomingCharacteristic {
+ CBATTRequest *request = OCMStrictClassMock([CBATTRequest class]);
+ OCMStubRecorder *recorder = OCMStub([request characteristic]);
+
+ recorder.andReturn(_peripheralServiceManager.weaveIncomingCharacteristic);
+ XCTAssertEqual([_peripheralServiceManager canProcessWriteRequest:request], CBATTErrorSuccess);
+ OCMVerifyAll((id)request);
+}
+
+- (void)testCanProcessWriteRequestOnWrongCharacteristic {
+ CBATTRequest *request = OCMStrictClassMock([CBATTRequest class]);
+ CBUUID *uuid = [CBUUID UUIDWithNSUUID:[NSUUID UUID]];
+ id characteristicMock = OCMStrictClassMock([CBMutableCharacteristic class]);
+ OCMStub([characteristicMock UUID]).andReturn(uuid);
+ OCMStub([request characteristic]).andReturn(characteristicMock);
+ XCTAssertEqual([_peripheralServiceManager canProcessWriteRequest:request],
+ CBATTErrorAttributeNotFound);
+ OCMVerifyAll((id)request);
+ OCMVerifyAll(characteristicMock);
+}
+
+- (CBCentral *)setupRequest:(id)request
+ withCharacteristic:(CBMutableCharacteristic *)characteristic
+ central:(CBCentral *)central {
+ if (!central) {
+ NSUUID *identifier = [NSUUID UUID];
+ central = OCMStrictClassMock([CBCentral class]);
+ OCMStub([central identifier]).andReturn(identifier);
+ OCMStub([central maximumUpdateValueLength]).andReturn(_centralMaximumUpdateValueLength);
+ [_mocksToVerify addObject:central];
+ }
+ OCMStub([request characteristic]).andReturn(characteristic);
+ OCMStub([request central]).andReturn(central);
+ return central;
+}
+
+- (void)testProcessEmptyData {
+ NSMutableData *data = [NSMutableData data];
+ CBATTRequest *request = OCMStrictClassMock([CBATTRequest class]);
+ OCMStub([request value]).andReturn(data);
+
+ [self setupRequest:request
+ withCharacteristic:_peripheralServiceManager.weaveIncomingCharacteristic
+ central:nil];
+ [_peripheralServiceManager processWriteRequest:request];
+ // should not crash, should do nothing.
+ OCMVerifyAll((id)request);
+}
+
+#pragma mark - Characteristics
+
+- (void)testPairingChar {
+ GNSPeripheralServiceManager *manager =
+ [[GNSPeripheralServiceManager alloc] initWithBleServiceUUID:_serviceUUID
+ addPairingCharacteristic:YES
+ shouldAcceptSocketHandler:^BOOL(GNSSocket *socket) {
+ return NO;
+ }];
+ [manager willAddCBService];
+ [manager didAddCBServiceWithError:nil];
+ CBMutableCharacteristic *pairingCharacteristic = manager.pairingCharacteristic;
+ XCTAssertNotNil(pairingCharacteristic);
+ XCTAssertEqualObjects(pairingCharacteristic.UUID.UUIDString,
+ @"17836FBD-8C6A-4B81-83CE-8560629E834B",
+ @"Wrong pairing characteristic UUID.");
+ XCTAssertEqual(pairingCharacteristic.properties, CBCharacteristicPropertyRead,
+ @"Wrong property for pairing characteristic.");
+ XCTAssertEqual(pairingCharacteristic.permissions, CBAttributePermissionsReadEncryptionRequired,
+ @"Wrong permission for pairing characteristic.");
+}
+
+- (void)testNoPairingChar {
+ GNSPeripheralServiceManager *manager =
+ [[GNSPeripheralServiceManager alloc] initWithBleServiceUUID:_serviceUUID
+ addPairingCharacteristic:NO
+ shouldAcceptSocketHandler:^BOOL(GNSSocket *socket) {
+ return NO;
+ }];
+ [manager willAddCBService];
+ [manager didAddCBServiceWithError:nil];
+ XCTAssertNil(manager.pairingCharacteristic);
+}
+
+- (void)testOutgoingChar {
+ CBMutableCharacteristic *weaveOutgoingCharacteristic =
+ _peripheralServiceManager.weaveOutgoingCharacteristic;
+ XCTAssertNotNil(weaveOutgoingCharacteristic);
+ XCTAssertEqualObjects(weaveOutgoingCharacteristic.UUID.UUIDString,
+ @"00000100-0004-1000-8000-001A11000102",
+ @"Wrong weave outgoing characteristic UUID.");
+ XCTAssertEqual(weaveOutgoingCharacteristic.properties, CBCharacteristicPropertyIndicate,
+ @"Wrong property for weave outgoing characteristic.");
+ XCTAssertEqual(weaveOutgoingCharacteristic.permissions, CBAttributePermissionsReadable,
+ @"Wrong permission for weave outgoing characteristic.");
+}
+
+- (void)testIncomingChar {
+ CBMutableCharacteristic *weaveIncomingCharacteristic =
+ _peripheralServiceManager.weaveIncomingCharacteristic;
+ XCTAssertNotNil(weaveIncomingCharacteristic);
+ XCTAssertEqualObjects(weaveIncomingCharacteristic.UUID.UUIDString,
+ @"00000100-0004-1000-8000-001A11000101",
+ @"Wrong weave incoming characteristic UUID.");
+ XCTAssertEqual(weaveIncomingCharacteristic.properties, CBCharacteristicPropertyWrite,
+ @"Wrong property for weave incoming characteristic.");
+ XCTAssertEqual(weaveIncomingCharacteristic.permissions, CBAttributePermissionsWriteable,
+ @"Wrong permission for weave incoming characteristic.");
+}
+
+#pragma mark - Socket connection
+
+- (void)checkOpenSocketWithShouldAccept:(BOOL)shouldAccept {
+ [self checkOpenSocketWithShouldAccept:shouldAccept central:nil];
+}
+
+- (void)checkOpenSocketWithShouldAccept:(BOOL)shouldAccept
+ central:(CBCentral *)central {
+ CBMutableCharacteristic *characteristic;
+ NSMutableData *data = [NSMutableData data];
+ _shouldAcceptSocket = shouldAccept;
+
+ // This is necessary to ensure that negotiated packet size is |_packetSize|. It should be set here
+ // and in the connection request packet.
+ _centralMaximumUpdateValueLength = _packetSize;
+ characteristic = _peripheralServiceManager.weaveIncomingCharacteristic;
+ GNSWeaveConnectionRequestPacket *connectionRequest =
+ [[GNSWeaveConnectionRequestPacket alloc] initWithMinVersion:1
+ maxVersion:1
+ maxPacketSize:_packetSize
+ data:nil];
+ [data appendData:[connectionRequest serialize]];
+ XCTAssertNotNil(characteristic);
+ CBATTRequest *request = OCMStrictClassMock([CBATTRequest class]);
+ OCMStub([request value]).andReturn(data);
+ [self setupRequest:request
+ withCharacteristic:characteristic
+ central:central];
+ __block GNSUpdateValueHandler updateValueHandler = nil;
+ // Nothing is sent when the socket is refused in the Weave protocol.
+ if (!shouldAccept) {
+ return;
+ }
+ OCMExpect([_peripheralManagerMock
+ updateOutgoingCharOnSocket:[OCMArg checkWithBlock:^BOOL(id obj) {
+ // The socket has not been created yet. So the socket check has to be done with a block.
+ return _receivedSocket == obj;
+ }]
+ withHandler:[OCMArg checkWithBlock:^(id handler) {
+ updateValueHandler = [handler copy];
+ return YES;
+ }]]);
+ [_peripheralServiceManager processWriteRequest:request];
+ XCTAssertNotNil(updateValueHandler);
+ if (!updateValueHandler) {
+ return;
+ }
+ NSMutableData *expectedData = [NSMutableData data];
+ GNSWeaveConnectionConfirmPacket *connectionConfirm =
+ [[GNSWeaveConnectionConfirmPacket alloc] initWithVersion:1 packetSize:_packetSize data:nil];
+ [expectedData appendData:[connectionConfirm serialize]];
+ OCMExpect(
+ [_peripheralManagerMock updateOutgoingCharacteristic:expectedData onSocket:_receivedSocket])
+ .andReturn(YES);
+ XCTAssertNotNil(_receivedSocket);
+ XCTAssertFalse(_receivedSocket.isConnected);
+ if (shouldAccept) {
+ OCMExpect([_socketDelegateMock socketDidConnect:_receivedSocket]);
+ }
+ updateValueHandler(_peripheralManagerMock);
+ XCTAssertEqual(_receivedSocket.isConnected, shouldAccept);
+ OCMVerifyAll((id)request);
+}
+
+- (void)testRefuseSocket {
+ [self checkOpenSocketWithShouldAccept:NO];
+}
+
+- (void)testAcceptSocket {
+ [self checkOpenSocketWithShouldAccept:YES];
+}
+
+- (void)testTwoConnectionRequests {
+ [self checkOpenSocketWithShouldAccept:YES];
+ GNSSocket *firstSocket = _receivedSocket;
+ OCMExpect([_socketDelegateMock socket:firstSocket
+ didDisconnectWithError:[OCMArg checkWithBlock:^BOOL(NSError *error) {
+ return [error.domain isEqualToString:kGNSSocketsErrorDomain] &&
+ error.code == GNSErrorNewInviteToConnectReceived;
+ }]]);
+ OCMExpect([_peripheralManagerMock socketDidDisconnect:firstSocket]);
+ [self checkOpenSocketWithShouldAccept:YES
+ central:firstSocket.peerAsCentral];
+ XCTAssertNotEqual(firstSocket, _receivedSocket);
+ XCTAssertFalse(firstSocket.isConnected);
+}
+
+#pragma mark - Socket receive data
+
+- (NSData *)generateDataWithSize:(uint32_t)length {
+ NSMutableData *result = [NSMutableData dataWithCapacity:length];
+ unsigned char byte = 0;
+ for (NSInteger ii = 0; ii < length; ii++) {
+ [result appendBytes:&byte length:sizeof(byte)];
+ byte++;
+ }
+ return result;
+}
+
+- (void)testReceiveEmptyMessage {
+ [self checkOpenSocketWithShouldAccept:YES];
+
+ NSData *expectedMessage = [self generateDataWithSize:0];
+ OCMExpect([_socketDelegateMock socket:_receivedSocket didReceiveData:expectedMessage]);
+
+ GNSWeaveDataPacket *dataPacket =
+ [[GNSWeaveDataPacket alloc] initWithPacketCounter:_receivedSocket.receivePacketCounter
+ firstPacket:YES
+ lastPacket:YES
+ data:expectedMessage];
+ CBATTRequest *request = OCMStrictClassMock([CBATTRequest class]);
+ OCMStub([request value]).andReturn([dataPacket serialize]);
+ [self setupRequest:request
+ withCharacteristic:_peripheralServiceManager.weaveIncomingCharacteristic
+ central:_receivedSocket.peerAsCentral];
+ [_peripheralServiceManager processWriteRequest:request];
+ XCTAssertTrue(_receivedSocket.isConnected);
+ OCMVerifyAll((id)request);
+}
+
+- (void)simulateReceiveMessageWithSize:(uint32_t)size
+ packetSize:(NSUInteger)packetSize
+ counter:(UInt8)counter {
+ NSData *expectedMessage = [self generateDataWithSize:size];
+ OCMExpect([_socketDelegateMock socket:_receivedSocket didReceiveData:expectedMessage]);
+
+ NSUInteger offset = 0;
+ UInt8 receivePacketCounter = counter;
+ while (offset < size) {
+ GNSWeaveDataPacket *dataPacket =
+ [GNSWeaveDataPacket dataPacketWithPacketCounter:receivePacketCounter
+ packetSize:packetSize
+ data:expectedMessage
+ offset:&offset];
+ CBATTRequest *request = OCMStrictClassMock([CBATTRequest class]);
+ OCMStub([request value]).andReturn([dataPacket serialize]);
+ [self setupRequest:request
+ withCharacteristic:_peripheralServiceManager.weaveIncomingCharacteristic
+ central:_receivedSocket.peerAsCentral];
+ [_peripheralServiceManager processWriteRequest:request];
+ XCTAssertTrue(_receivedSocket.isConnected);
+ OCMVerifyAll((id)request);
+ receivePacketCounter = (receivePacketCounter + 1) % kGNSMaxPacketCounterValue;
+ }
+}
+
+- (void)testReceiveSinglePacketMessage {
+ _packetSize = 100;
+ [self checkOpenSocketWithShouldAccept:YES];
+ [self simulateReceiveMessageWithSize:99
+ packetSize:_packetSize
+ counter:_receivedSocket.receivePacketCounter];
+}
+
+- (void)testReceiveTwoSinglePacketMessages {
+ _packetSize = 100;
+ [self checkOpenSocketWithShouldAccept:YES];
+ [self simulateReceiveMessageWithSize:1
+ packetSize:_packetSize
+ counter:_receivedSocket.receivePacketCounter];
+ [self simulateReceiveMessageWithSize:98
+ packetSize:_packetSize
+ counter:_receivedSocket.receivePacketCounter];
+}
+
+- (void)testReceiveMultiplePacketMessage {
+ _packetSize = 100;
+ [self checkOpenSocketWithShouldAccept:YES];
+ [self simulateReceiveMessageWithSize:101
+ packetSize:_packetSize
+ counter:_receivedSocket.receivePacketCounter];
+}
+
+- (void)testReceiveSeveralMultiplePacketMessage {
+ _packetSize = 100;
+ [self checkOpenSocketWithShouldAccept:YES];
+ [self simulateReceiveMessageWithSize:101
+ packetSize:_packetSize
+ counter:_receivedSocket.receivePacketCounter];
+ [self simulateReceiveMessageWithSize:198
+ packetSize:_packetSize
+ counter:_receivedSocket.receivePacketCounter];
+ [self simulateReceiveMessageWithSize:1000
+ packetSize:_packetSize
+ counter:_receivedSocket.receivePacketCounter];
+}
+
+#pragma mark - Socket send data
+
+- (BOOL)simulateSendMessageWithExpectedData:(NSData *)expectedData
+ packetSize:(NSUInteger)packetSize
+ completion:(GNSErrorHandler)completion {
+ BOOL sendHasBeenCompleted = YES;
+ // The expectedData.length divided by the amount of data that fits a packet, rounded up.
+ NSUInteger expectedPacketNumber =
+ (expectedData.length / (packetSize - 1)) + (expectedData.length % (packetSize - 1) != 0);
+ if (expectedData.length == 0) {
+ expectedPacketNumber = 1;
+ }
+ _packetSize = packetSize;
+
+ [self checkOpenSocketWithShouldAccept:YES];
+ UInt8 sendPacketCounter = _receivedSocket.sendPacketCounter;
+
+ __block GNSUpdateValueHandler updateValueHandler = nil;
+ OCMStub([_peripheralManagerMock updateOutgoingCharOnSocket:_receivedSocket
+ withHandler:[OCMArg checkWithBlock:^(id obj) {
+ updateValueHandler = obj;
+ return YES;
+ }]]);
+ // Send the data
+ [_receivedSocket sendData:expectedData progressHandler:nil completion:completion];
+ XCTAssertNotNil(updateValueHandler);
+ if (!updateValueHandler) {
+ return NO;
+ }
+ __block NSData *packetSent = nil;
+ OCMStub([_peripheralManagerMock
+ updateOutgoingCharacteristic:[OCMArg checkWithBlock:^BOOL(id obj) {
+ packetSent = obj;
+ return YES;
+ }]
+ onSocket:_receivedSocket])
+ .andReturn(YES);
+
+ NSMutableData *sentData = [NSMutableData data];
+ for (NSUInteger i = 0; i < expectedPacketNumber; i++) {
+ // Cleanup |updateValueHandler| before calling it. So a new handler can be received if needed.
+ GNSUpdateValueHandler tmpUpdateValueHandler = updateValueHandler;
+ updateValueHandler = nil;
+ XCTAssertNotNil(tmpUpdateValueHandler);
+ tmpUpdateValueHandler(_peripheralManagerMock);
+ NSError *error = nil;
+ XCTAssertLessThanOrEqual(packetSent.length, packetSize);
+ GNSWeavePacket *packet = [GNSWeavePacket parseData:packetSent error:&error];
+ XCTAssertNil(error);
+ XCTAssertNotNil(packet);
+ XCTAssertTrue([packet isKindOfClass:[GNSWeaveDataPacket class]]);
+ GNSWeaveDataPacket *dataPacket = (GNSWeaveDataPacket *)packet;
+ NSLog(@"packetCounter = %d", dataPacket.packetCounter);
+ XCTAssertEqual(dataPacket.packetCounter, sendPacketCounter);
+ sendPacketCounter = (sendPacketCounter + 1) % kGNSMaxPacketCounterValue;
+ if (i == 0) {
+ XCTAssertTrue(dataPacket.isFirstPacket);
+ } else {
+ XCTAssertFalse(dataPacket.isFirstPacket);
+ }
+ [sentData appendData:dataPacket.data];
+ if (i == expectedPacketNumber - 1) {
+ XCTAssertTrue(dataPacket.isLastPacket);
+ } else {
+ XCTAssertFalse(dataPacket.isLastPacket);
+ }
+ }
+ XCTAssertEqual((int)_receivedSocket.sendPacketCounter, (int)sendPacketCounter);
+ if (sendHasBeenCompleted) {
+ XCTAssertEqualObjects(sentData, expectedData);
+ }
+ return sendHasBeenCompleted;
+}
+
+- (void)simulateMessageWithSize:(uint32_t)size packetSize:(NSUInteger)packetSize {
+ __block NSInteger completionCalled = 0;
+ NSData *expectedData = [self generateDataWithSize:size];
+ BOOL completed = [self simulateSendMessageWithExpectedData:expectedData
+ packetSize:packetSize
+ completion:^(NSError *error) {
+ XCTAssertNil(error);
+ completionCalled++;
+ }];
+ XCTAssertTrue(completed);
+ XCTAssertEqual(completionCalled, 1);
+}
+
+- (void)testSendEmptyMessage {
+ [self simulateMessageWithSize:0 packetSize:30];
+}
+
+// The header has 1 byte.
+- (void)testSendSinglePacketMessage {
+ [self simulateMessageWithSize:29 packetSize:30];
+}
+
+// The header has 1 byte.
+- (void)testSendTwoPacketMessage {
+ [self simulateMessageWithSize:30 packetSize:30];
+}
+
+- (void)testSendMessagesWithSeveralPacketSizes {
+ for (NSUInteger packetSize = 20; packetSize < 50; packetSize++) {
+ [self simulateMessageWithSize:200 packetSize:packetSize];
+ }
+}
+
+- (void)testSendMessagesWithSeveralSizes {
+ for (uint32_t size = 100; size < 1000; size += 50) {
+ [self simulateMessageWithSize:size packetSize:120];
+ }
+}
+
+#pragma mark - Socket disconnect
+
+- (void)testUnsubscribeToDisconnect {
+ [self checkOpenSocketWithShouldAccept:YES];
+ XCTAssertTrue(_receivedSocket.isConnected);
+ // Unsubscribing to the incoming characteristic: nothing should happen.
+ [_peripheralServiceManager central:_receivedSocket.peerAsCentral
+ didUnsubscribeFromCharacteristic:_peripheralServiceManager.weaveIncomingCharacteristic];
+ XCTAssertTrue(_receivedSocket.isConnected);
+ // Unsubscribing to the outgoing characteristic: the socket should be disconnected.
+ OCMExpect([_socketDelegateMock socket:_receivedSocket didDisconnectWithError:nil]);
+ OCMExpect([_peripheralManagerMock socketDidDisconnect:_receivedSocket]);
+ [_peripheralServiceManager central:_receivedSocket.peerAsCentral
+ didUnsubscribeFromCharacteristic:_peripheralServiceManager.weaveOutgoingCharacteristic];
+ XCTAssertFalse(_receivedSocket.isConnected);
+}
+
+- (void)testDisconnect {
+ [self checkOpenSocketWithShouldAccept:YES];
+ __block GNSUpdateValueHandler updateValueHandler = nil;
+ OCMExpect([_peripheralManagerMock
+ updateOutgoingCharOnSocket:_receivedSocket
+ withHandler:[OCMArg checkWithBlock:^(id handler) {
+ updateValueHandler = handler;
+ return YES;
+ }]]);
+ OCMExpect([_peripheralManagerMock socketDidDisconnect:_receivedSocket]);
+ UInt8 sendPacketCounter = _receivedSocket.sendPacketCounter;
+ [_receivedSocket disconnect];
+ XCTAssertNotNil(updateValueHandler);
+ if (!updateValueHandler) {
+ return;
+ }
+ GNSWeaveErrorPacket *errorPacket =
+ [[GNSWeaveErrorPacket alloc] initWithPacketCounter:sendPacketCounter];
+ OCMExpect([_peripheralManagerMock updateOutgoingCharacteristic:[errorPacket serialize]
+ onSocket:_receivedSocket])
+ .andReturn(YES);
+ OCMExpect([_socketDelegateMock socket:_receivedSocket didDisconnectWithError:nil]);
+ XCTAssertEqual(updateValueHandler(_peripheralManagerMock), GNSOutgoingCharUpdateNoReschedule);
+ XCTAssertFalse(_receivedSocket.isConnected);
+}
+
+- (void)testDisconnectWithErrorToSendDisconnectPacket {
+ [self checkOpenSocketWithShouldAccept:YES];
+ __block GNSUpdateValueHandler updateValueHandler = nil;
+ OCMExpect([_peripheralManagerMock
+ updateOutgoingCharOnSocket:_receivedSocket
+ withHandler:[OCMArg checkWithBlock:^(id handler) {
+ updateValueHandler = handler;
+ return YES;
+ }]]);
+ OCMExpect([_peripheralManagerMock socketDidDisconnect:_receivedSocket]);
+ UInt8 sendPacketCounter = _receivedSocket.sendPacketCounter;
+ [_receivedSocket disconnect];
+ XCTAssertNotNil(updateValueHandler);
+ if (!updateValueHandler) {
+ return;
+ }
+ GNSWeaveErrorPacket *errorPacket =
+ [[GNSWeaveErrorPacket alloc] initWithPacketCounter:sendPacketCounter];
+ OCMExpect([_peripheralManagerMock updateOutgoingCharacteristic:[errorPacket serialize]
+ onSocket:_receivedSocket])
+ .andReturn(NO);
+ XCTAssertEqual(updateValueHandler(_peripheralManagerMock), GNSOutgoingCharUpdateScheduleLater);
+ XCTAssertTrue(_receivedSocket.isConnected);
+ OCMExpect([_peripheralManagerMock updateOutgoingCharacteristic:[errorPacket serialize]
+ onSocket:_receivedSocket])
+ .andReturn(YES);
+ OCMExpect([_socketDelegateMock socket:_receivedSocket didDisconnectWithError:nil]);
+ XCTAssertEqual(updateValueHandler(_peripheralManagerMock), GNSOutgoingCharUpdateNoReschedule);
+ XCTAssertFalse(_receivedSocket.isConnected);
+}
+
+- (void)testSubscribeToOutgoingCharacteristic {
+ id centralMock = OCMStrictClassMock([CBCentral class]);
+ id characteristic = OCMStrictClassMock([CBMutableCharacteristic class]);
+ CBUUID *uuid = _peripheralServiceManager.weaveOutgoingCharacteristic.UUID;
+ OCMStub([characteristic UUID]).andReturn(uuid);
+ OCMStub([_cbPeripheralManagerMock
+ setDesiredConnectionLatency:CBPeripheralManagerConnectionLatencyLow
+ forCentral:centralMock]);
+ [_peripheralServiceManager central:centralMock didSubscribeToCharacteristic:characteristic];
+ OCMVerifyAll(centralMock);
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Shared/GNSSocketTest.m b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Shared/GNSSocketTest.m
new file mode 100644
index 00000000000..5a8f0ddadc9
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Shared/GNSSocketTest.m
@@ -0,0 +1,355 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <XCTest/XCTest.h>
+
+#import "internal/platform/implementation/ios/Mediums/ble/Sockets/Source/Shared/GNSSocket+Private.h"
+#import "internal/platform/implementation/ios/Mediums/ble/Sockets/Source/Shared/GNSWeavePacket.h"
+#import "third_party/objective_c/ocmock/v3/Source/OCMock/OCMock.h"
+
+@interface GNSSocketTest : XCTestCase {
+ GNSSocket *_socket;
+ id<GNSSocketOwner> _socketOwner;
+ CBCentral *_centralPeerMock;
+ id<GNSSocketDelegate> _socketDelegate;
+}
+@end
+
+@implementation GNSSocketTest
+
+- (void)setUp {
+ _centralPeerMock = OCMStrictClassMock([CBCentral class]);
+ NSUUID *identifier = [NSUUID UUID];
+ OCMStub([_centralPeerMock identifier]).andReturn(identifier);
+ _socketOwner = [OCMStrictProtocolMock(@protocol(GNSSocketOwner)) noRetainObjectArgs];
+ _socket = [[GNSSocket alloc] initWithOwner:_socketOwner centralPeer:_centralPeerMock];
+ _socketDelegate = [OCMStrictProtocolMock(@protocol(GNSSocketDelegate)) noRetainObjectArgs];
+ _socket.delegate = _socketDelegate;
+ XCTAssertFalse(_socket.connected);
+}
+
+- (void)tearDown {
+ __weak GNSSocket *weakSocket = _socket;
+ OCMExpect([_socketOwner socketWillBeDeallocated:[OCMArg isNotNil]]);
+ _socket = nil;
+ XCTAssertNil(weakSocket);
+ OCMVerifyAll((id)_centralPeerMock);
+ OCMVerifyAll((id)_socketOwner);
+ OCMVerifyAll((id)_socketDelegate);
+}
+
+- (void)connectSocket {
+ OCMExpect([_socketDelegate socketDidConnect:_socket]);
+ [_socket didConnect];
+ XCTAssertTrue(_socket.connected);
+}
+
+- (void)testPeripheralPeer {
+ CBPeripheral *peripheral = OCMStrictClassMock([CBPeripheral class]);
+ GNSSocket *socket = [[GNSSocket alloc] initWithOwner:_socketOwner peripheralPeer:peripheral];
+ XCTAssertEqual(socket.peerAsPeripheral, peripheral);
+ OCMExpect([_socketOwner socketWillBeDeallocated:[OCMArg isNotNil]]);
+}
+
+- (void)testCentralPeer {
+ CBCentral *central = OCMStrictClassMock([CBCentral class]);
+ GNSSocket *socket = [[GNSSocket alloc] initWithOwner:_socketOwner centralPeer:central];
+ XCTAssertEqual(socket.peerAsCentral, central);
+ OCMExpect([_socketOwner socketWillBeDeallocated:[OCMArg isNotNil]]);
+}
+
+- (void)testDisconnect {
+ [self connectSocket];
+ OCMExpect([_socketOwner disconnectSocket:_socket]);
+ [_socket disconnect];
+ XCTAssertTrue(_socket.connected);
+ OCMExpect([_socketDelegate socket:_socket didDisconnectWithError:nil]);
+ [_socket didDisconnectWithError:nil];
+ XCTAssertFalse(_socket.connected);
+}
+
+- (void)testDisconnectWithError {
+ [self connectSocket];
+ OCMExpect([_socketOwner disconnectSocket:_socket]);
+ [_socket disconnect];
+ XCTAssertTrue(_socket.connected);
+ NSError *error = [NSError errorWithDomain:@"domain" code:-42 userInfo:nil];
+ OCMExpect([_socketDelegate socket:_socket didDisconnectWithError:error]);
+ [_socket didDisconnectWithError:error];
+ XCTAssertFalse(_socket.connected);
+}
+
+#pragma mark - Receive Data
+
+- (void)testReceiveDataWithOnePacket {
+ [self connectSocket];
+ XCTAssertFalse([_socket waitingForIncomingData]);
+ NSData *data = [@"Some data to receive" dataUsingEncoding:NSUTF8StringEncoding];
+ OCMExpect([_socketDelegate socket:_socket didReceiveData:data]);
+ GNSWeaveDataPacket *packet =
+ [[GNSWeaveDataPacket alloc] initWithPacketCounter:1 firstPacket:YES lastPacket:YES data:data];
+ [_socket didReceiveIncomingWeaveDataPacket:packet];
+ XCTAssertFalse([_socket waitingForIncomingData]);
+}
+
+- (void)testReceiveDataWithTwoPackets {
+ [self connectSocket];
+ XCTAssertFalse([_socket waitingForIncomingData]);
+ NSData *firstChunk = [@"Some data " dataUsingEncoding:NSUTF8StringEncoding];
+ NSData *secondChunk = [@"to receive" dataUsingEncoding:NSUTF8StringEncoding];
+ NSMutableData *totalData = [NSMutableData data];
+ [totalData appendData:firstChunk];
+ GNSWeaveDataPacket *firstPacket = [[GNSWeaveDataPacket alloc] initWithPacketCounter:1
+ firstPacket:YES
+ lastPacket:NO
+ data:firstChunk];
+ [_socket didReceiveIncomingWeaveDataPacket:firstPacket];
+ XCTAssertTrue([_socket waitingForIncomingData]);
+ OCMExpect([_socketDelegate socket:_socket didReceiveData:totalData]);
+ [totalData appendData:secondChunk];
+ GNSWeaveDataPacket *secondPacket = [[GNSWeaveDataPacket alloc] initWithPacketCounter:1
+ firstPacket:NO
+ lastPacket:YES
+ data:secondChunk];
+ [_socket didReceiveIncomingWeaveDataPacket:secondPacket];
+ XCTAssertFalse([_socket waitingForIncomingData]);
+}
+
+- (void)testReceiveDataWithOneDataPacketAndDisconnect {
+ [self connectSocket];
+ XCTAssertFalse([_socket waitingForIncomingData]);
+ NSData *firstChunk = [@"Some data " dataUsingEncoding:NSUTF8StringEncoding];
+ GNSWeaveDataPacket *firstPacket = [[GNSWeaveDataPacket alloc] initWithPacketCounter:1
+ firstPacket:YES
+ lastPacket:NO
+ data:firstChunk];
+ [_socket didReceiveIncomingWeaveDataPacket:firstPacket];
+ XCTAssertTrue([_socket waitingForIncomingData]);
+ OCMExpect([_socketDelegate socket:_socket didDisconnectWithError:nil]);
+ [_socket didDisconnectWithError:nil];
+ XCTAssertFalse(_socket.connected);
+ XCTAssertFalse([_socket waitingForIncomingData]);
+}
+
+#pragma mark - Send Data
+
+- (void)testSendDataWithOnePacket {
+ _socket.packetSize = 100;
+ UInt8 sendPacketCounter = _socket.sendPacketCounter;
+ [self connectSocket];
+ NSData *data = [@"Some data to send" dataUsingEncoding:NSUTF8StringEncoding];
+ OCMStub([_socketOwner socketMaximumUpdateValueLength:[self checkSocketBlock]]).andReturn(100);
+ __block GNSUpdateValueHandler handler = nil;
+ OCMExpect([_socketOwner socket:_socket
+ addOutgoingCharUpdateHandler:[OCMArg checkWithBlock:^BOOL(id obj) {
+ handler = obj;
+ return YES;
+ }]]);
+ __block BOOL completionCalledCount = 0;
+ __block BOOL progressHandlerCount = 0;
+ [_socket sendData:data
+ progressHandler:^void(float progress) {
+ progressHandlerCount++;
+ }
+ completion:^(NSError *error) {
+ XCTAssertNil(error);
+ completionCalledCount++;
+ }];
+ XCTAssertTrue([_socket isSendOperationInProgress]);
+ XCTAssertNotNil(handler);
+ if (!handler) {
+ return;
+ }
+ NSUInteger offset = 0;
+ GNSWeaveDataPacket *packet = [GNSWeaveDataPacket dataPacketWithPacketCounter:sendPacketCounter
+ packetSize:_socket.packetSize
+ data:data
+ offset:&offset];
+ NSData *packetData = [packet serialize];
+ OCMExpect([_socketOwner socket:_socket sendData:packetData]).andReturn(YES);
+ XCTAssertEqual(handler(), GNSOutgoingCharUpdateNoReschedule);
+ XCTAssertEqual(completionCalledCount, 1);
+ XCTAssertEqual(progressHandlerCount, 1);
+ XCTAssertFalse([_socket isSendOperationInProgress]);
+}
+
+- (void)testSendDataWithTwoPackets {
+ _socket.packetSize = 20;
+ UInt8 sendPacketCounter = _socket.sendPacketCounter;
+ [self connectSocket];
+ NSData *data = [@"Some larger data to send" dataUsingEncoding:NSUTF8StringEncoding];
+ OCMStub([_socketOwner socketMaximumUpdateValueLength:[self checkSocketBlock]]).andReturn(20);
+ __block GNSUpdateValueHandler handler = nil;
+ OCMExpect([_socketOwner socket:_socket
+ addOutgoingCharUpdateHandler:[OCMArg checkWithBlock:^BOOL(id obj) {
+ handler = obj;
+ return YES;
+ }]]);
+ __block BOOL completionCalledCount = 0;
+ [_socket sendData:data progressHandler:nil completion:^(NSError *error) {
+ XCTAssertNil(error);
+ completionCalledCount++;
+ }];
+ XCTAssertNotNil(handler);
+ if (!handler) {
+ return;
+ }
+ NSUInteger offset = 0;
+ GNSWeaveDataPacket *firstPacket =
+ [GNSWeaveDataPacket dataPacketWithPacketCounter:sendPacketCounter
+ packetSize:_socket.packetSize
+ data:data
+ offset:&offset];
+ NSData *firstPacketData = [firstPacket serialize];
+ OCMExpect([_socketOwner socket:_socket sendData:firstPacketData]).andReturn(YES);
+ OCMExpect([_socketOwner socket:_socket
+ addOutgoingCharUpdateHandler:[OCMArg checkWithBlock:^BOOL(id obj) {
+ handler = obj;
+ return YES;
+ }]]);
+ XCTAssertEqual(handler(), GNSOutgoingCharUpdateNoReschedule);
+ XCTAssertNotNil(handler);
+ if (!handler) {
+ return;
+ }
+ XCTAssertEqual(completionCalledCount, 0);
+
+ GNSWeaveDataPacket *secondPacket =
+ [GNSWeaveDataPacket dataPacketWithPacketCounter:sendPacketCounter + 1
+ packetSize:_socket.packetSize
+ data:data
+ offset:&offset];
+ NSData *secondPacketData = [secondPacket serialize];
+ OCMExpect([_socketOwner socket:_socket sendData:secondPacketData]).andReturn(YES);
+ XCTAssertEqual(handler(), GNSOutgoingCharUpdateNoReschedule);
+ XCTAssertEqual(completionCalledCount, 1);
+ XCTAssertFalse([_socket isSendOperationInProgress]);
+}
+
+- (void)testSendDataWithBluetoothRetry {
+ _socket.packetSize = 100;
+ UInt8 sentPacketCounter = _socket.sendPacketCounter;
+ [self connectSocket];
+ NSData *data = [@"Some data to send" dataUsingEncoding:NSUTF8StringEncoding];
+ OCMStub([_socketOwner socketMaximumUpdateValueLength:[self checkSocketBlock]]).andReturn(100);
+ __block GNSUpdateValueHandler handler = nil;
+ OCMExpect([_socketOwner socket:_socket
+ addOutgoingCharUpdateHandler:[OCMArg checkWithBlock:^BOOL(id obj) {
+ handler = obj;
+ return YES;
+ }]]);
+ __block BOOL completionCalledCount = 0;
+ [_socket sendData:data progressHandler:nil completion:^(NSError *error) {
+ XCTAssertNil(error);
+ completionCalledCount++;
+ }];
+ XCTAssertTrue([_socket isSendOperationInProgress]);
+ XCTAssertNotNil(handler);
+ if (!handler) {
+ return;
+ }
+ NSUInteger offset = 0;
+ GNSWeaveDataPacket *packet = [GNSWeaveDataPacket dataPacketWithPacketCounter:sentPacketCounter
+ packetSize:_socket.packetSize
+ data:data
+ offset:&offset];
+ NSData *packetData = [packet serialize];
+ OCMExpect([_socketOwner socket:_socket sendData:packetData]).andReturn(NO);
+ XCTAssertEqual(handler(), GNSOutgoingCharUpdateScheduleLater);
+ XCTAssertEqual(completionCalledCount, 0);
+ XCTAssertTrue([_socket isSendOperationInProgress]);
+ OCMExpect([_socketOwner socket:_socket sendData:packetData]).andReturn(YES);
+ XCTAssertEqual(handler(), GNSOutgoingCharUpdateNoReschedule);
+ XCTAssertEqual(completionCalledCount, 1);
+ XCTAssertFalse([_socket isSendOperationInProgress]);
+}
+
+- (void)testDisconnectAndSendDataWithOneChunk {
+ [self connectSocket];
+ OCMExpect([_socketDelegate socket:_socket didDisconnectWithError:nil]);
+ [_socket didDisconnectWithError:nil];
+ XCTAssertFalse(_socket.connected);
+ NSData *data = [@"Some data to send" dataUsingEncoding:NSUTF8StringEncoding];
+ OCMStub([_socketOwner socketMaximumUpdateValueLength:[self checkSocketBlock]]).andReturn(100);
+ __block BOOL completionCalledCount = 0;
+ [_socket sendData:data progressHandler:nil completion:^(NSError *error) {
+ XCTAssertNotNil(error);
+ XCTAssertEqualObjects(error.domain, kGNSSocketsErrorDomain);
+ XCTAssertEqual(error.code, GNSErrorNoConnection);
+ completionCalledCount++;
+ }];
+ XCTAssertEqual(completionCalledCount, 1);
+ XCTAssertFalse([_socket isSendOperationInProgress]);
+}
+
+- (void)testSendDataWithTwoChunksAndDisconnectBetweenChunk {
+ _socket.packetSize = 20;
+ UInt8 sentPacketCounter = _socket.sendPacketCounter;
+ [self connectSocket];
+ NSData *data = [@"Some larger data to send" dataUsingEncoding:NSUTF8StringEncoding];
+ OCMStub([_socketOwner socketMaximumUpdateValueLength:[self checkSocketBlock]]).andReturn(20);
+ __block GNSUpdateValueHandler handler = nil;
+ OCMExpect([_socketOwner socket:_socket
+ addOutgoingCharUpdateHandler:[OCMArg checkWithBlock:^BOOL(id obj) {
+ handler = obj;
+ return YES;
+ }]]);
+ __block BOOL completionCalledCount = 0;
+ [_socket sendData:data progressHandler:nil completion:^(NSError *error) {
+ XCTAssertNotNil(error);
+ XCTAssertEqualObjects(error.domain, kGNSSocketsErrorDomain);
+ XCTAssertEqual(error.code, GNSErrorNoConnection);
+ completionCalledCount++;
+ }];
+ XCTAssertNotNil(handler);
+ if (!handler) {
+ return;
+ }
+ NSUInteger offset = 0;
+ GNSWeaveDataPacket *packet = [GNSWeaveDataPacket dataPacketWithPacketCounter:sentPacketCounter
+ packetSize:_socket.packetSize
+ data:data
+ offset:&offset];
+ NSData *packetData = [packet serialize];
+ OCMExpect([_socketOwner socket:_socket sendData:packetData]).andReturn(YES);
+ OCMExpect([_socketOwner socket:_socket
+ addOutgoingCharUpdateHandler:[OCMArg checkWithBlock:^BOOL(id obj) {
+ handler = obj;
+ return YES;
+ }]]);
+ XCTAssertEqual(handler(), GNSOutgoingCharUpdateNoReschedule);
+ XCTAssertNotNil(handler);
+ if (!handler) {
+ return;
+ }
+ XCTAssertEqual(completionCalledCount, 0);
+ OCMExpect([_socketDelegate socket:_socket didDisconnectWithError:nil]);
+ [_socket didDisconnectWithError:nil];
+ XCTAssertFalse(_socket.connected);
+ XCTAssertEqual(handler(), GNSOutgoingCharUpdateNoReschedule);
+ XCTAssertEqual(completionCalledCount, 1);
+ XCTAssertFalse([_socket isSendOperationInProgress]);
+}
+
+#pragma mark - Helpers
+
+- (id)checkSocketBlock {
+ // This method create a OCMArg without retaining the parameter.
+ __weak GNSSocket *weakSocket = _socket;
+ return [OCMArg checkWithBlock:^BOOL(id object) {
+ return object == weakSocket;
+ }];
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Shared/GNSWeavePacketTest.m b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Shared/GNSWeavePacketTest.m
new file mode 100644
index 00000000000..49534e93226
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Mediums/Ble/Sockets/Tests/Shared/GNSWeavePacketTest.m
@@ -0,0 +1,310 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#import <XCTest/XCTest.h>
+
+#import "internal/platform/implementation/ios/Mediums/ble/Sockets/Source/Shared/GNSWeavePacket.h"
+
+#import "internal/platform/implementation/ios/Mediums/ble/Sockets/Source/Shared/GNSUtils.h"
+
+@interface GNSWeavePacketTest : XCTestCase {
+ NSData *_largeNonEmptyData;
+ NSData *_smallNonEmptyData;
+}
+@end
+
+@implementation GNSWeavePacketTest
+
+- (void)setUp {
+ _largeNonEmptyData =
+ [@"Some non-empty data data is larger than 20 bytes." dataUsingEncoding:NSUTF8StringEncoding];
+ _smallNonEmptyData = [@"Small data" dataUsingEncoding:NSUTF8StringEncoding];
+}
+
+- (NSData *)weavePacketWithHeader:(UInt8)header data:(NSData *)data {
+ NSMutableData *dataPacket = [[NSMutableData alloc] init];
+ [dataPacket appendBytes:&header length:sizeof(header)];
+ if (data != nil) {
+ [dataPacket appendData:[data subdataWithRange:NSMakeRange(0, data.length)]];
+ }
+ return dataPacket;
+}
+
+- (void)testParsePacketCounter {
+ for (UInt8 packetCounter = 0; packetCounter < 8; packetCounter++) {
+ UInt8 header = (packetCounter
+ << 4); // 0111 0000, the packetCounter value is contained on 5, 6, and 7 bits.
+ NSError *error = nil;
+ GNSWeavePacket *parsedPacket =
+ [GNSWeavePacket parseData:[self weavePacketWithHeader:header data:_largeNonEmptyData]
+ error:&error];
+ XCTAssertNotNil(parsedPacket);
+ XCTAssertEqual(packetCounter, parsedPacket.packetCounter);
+ }
+}
+
+- (void)testParseEmptyPacket {
+ NSData *data = [NSData data];
+ NSError *error = nil;
+ GNSWeavePacket *parsedPacket = [GNSWeavePacket parseData:data error:&error];
+ XCTAssertNil(parsedPacket);
+ XCTAssertNotNil(error);
+ XCTAssertEqual(error.domain, kGNSSocketsErrorDomain);
+ XCTAssertEqual(error.code, GNSErrorParsingWeavePacketTooSmall);
+}
+
+- (void)testParsingControlPacketTooLarge {
+ UInt8 header = (1 << 7); // 1000 0000
+ NSError *error = nil;
+ GNSWeavePacket *parsedPacket =
+ [GNSWeavePacket parseData:[self weavePacketWithHeader:header data:_largeNonEmptyData]
+ error:&error];
+ XCTAssertNil(parsedPacket);
+ XCTAssertNotNil(error);
+ XCTAssertEqual(error.domain, kGNSSocketsErrorDomain);
+ XCTAssertEqual(error.code, GNSErrorParsingWeavePacketTooLarge);
+}
+
+- (void)testParseFirstDataPacket {
+ UInt8 header = (1 << 3); // 0000 1000, the packet counter is zero
+ NSError *error = nil;
+ GNSWeavePacket *parsedPacket =
+ [GNSWeavePacket parseData:[self weavePacketWithHeader:header data:_largeNonEmptyData]
+ error:&error];
+ XCTAssertNotNil(parsedPacket);
+ XCTAssertTrue([parsedPacket isKindOfClass:[GNSWeaveDataPacket class]]);
+ GNSWeaveDataPacket *parsedDataPacket = (GNSWeaveDataPacket *)parsedPacket;
+ XCTAssertTrue(parsedDataPacket.isFirstPacket);
+ XCTAssertFalse(parsedDataPacket.isLastPacket);
+ XCTAssertEqualObjects(parsedDataPacket.data, _largeNonEmptyData);
+}
+
+- (void)testParseLastDataPacket {
+ UInt8 header = (1 << 2); // 0000 0100, the packet counter is zero
+ NSError *error = nil;
+ GNSWeavePacket *parsedPacket =
+ [GNSWeavePacket parseData:[self weavePacketWithHeader:header data:_largeNonEmptyData]
+ error:&error];
+ XCTAssertNotNil(parsedPacket);
+ XCTAssertTrue([parsedPacket isKindOfClass:[GNSWeaveDataPacket class]]);
+ GNSWeaveDataPacket *parsedDataPacket = (GNSWeaveDataPacket *)parsedPacket;
+ XCTAssertFalse(parsedDataPacket.isFirstPacket);
+ XCTAssertTrue(parsedDataPacket.isLastPacket);
+ XCTAssertEqualObjects(parsedDataPacket.data, _largeNonEmptyData);
+}
+
+- (void)testParseOtherDataPacket {
+ UInt8 header = 0; // 0000 0000, the packet counter is zero
+ NSError *error = nil;
+ GNSWeavePacket *parsedPacket =
+ [GNSWeavePacket parseData:[self weavePacketWithHeader:header data:_largeNonEmptyData]
+ error:&error];
+ XCTAssertNotNil(parsedPacket);
+ XCTAssertTrue([parsedPacket isKindOfClass:[GNSWeaveDataPacket class]]);
+ GNSWeaveDataPacket *parsedDataPacket = (GNSWeaveDataPacket *)parsedPacket;
+ XCTAssertFalse(parsedDataPacket.isFirstPacket);
+ XCTAssertFalse(parsedDataPacket.isLastPacket);
+ XCTAssertEqualObjects(parsedDataPacket.data, _largeNonEmptyData);
+}
+
+- (void)testBuildAndParseMultipleDataPackets {
+ NSMutableData *receivedData = [[NSMutableData alloc] init];
+ NSUInteger offset = 0;
+ UInt8 packetCounter = 0;
+ UInt16 packetSize = 20;
+ BOOL isLastPacket = NO;
+ while (offset < _largeNonEmptyData.length) {
+ GNSWeaveDataPacket *dataPacket =
+ [GNSWeaveDataPacket dataPacketWithPacketCounter:packetCounter
+ packetSize:packetSize
+ data:_largeNonEmptyData
+ offset:&offset];
+ XCTAssertNotNil(dataPacket);
+ NSError *error = nil;
+ GNSWeavePacket *parsedPacket = [GNSWeavePacket parseData:[dataPacket serialize] error:&error];
+ XCTAssertNotNil(parsedPacket);
+ XCTAssertTrue([parsedPacket isKindOfClass:[GNSWeaveDataPacket class]]);
+ GNSWeaveDataPacket *parsedDataPacket = (GNSWeaveDataPacket *)parsedPacket;
+ if (receivedData.length == 0) {
+ XCTAssertTrue(parsedDataPacket.isFirstPacket);
+ }
+ [receivedData appendData:[parsedDataPacket.data
+ subdataWithRange:NSMakeRange(0, parsedDataPacket.data.length)]];
+ packetCounter++;
+ isLastPacket = parsedDataPacket.isLastPacket;
+ }
+ XCTAssertTrue(isLastPacket);
+ XCTAssertEqual(offset, _largeNonEmptyData.length);
+ XCTAssertEqualObjects(receivedData, _largeNonEmptyData);
+ XCTAssertEqualWithAccuracy(packetCounter,
+ ceil(_largeNonEmptyData.length / (float)(packetSize - 1)), 0.1f);
+}
+
+- (void)testBuildAndParseSingleDataPacket {
+ NSUInteger offset = 0;
+ UInt8 packetCounter = 0;
+ UInt16 packetSize = 20;
+ GNSWeaveDataPacket *dataPacket =
+ [GNSWeaveDataPacket dataPacketWithPacketCounter:packetCounter
+ packetSize:packetSize
+ data:_smallNonEmptyData
+ offset:&offset];
+
+ XCTAssertNotNil(dataPacket);
+ NSError *error = nil;
+ GNSWeavePacket *parsedPacket = [GNSWeavePacket parseData:[dataPacket serialize] error:&error];
+ XCTAssertNotNil(parsedPacket);
+ XCTAssertTrue([parsedPacket isKindOfClass:[GNSWeaveDataPacket class]]);
+ GNSWeaveDataPacket *parsedDataPacket = (GNSWeaveDataPacket *)parsedPacket;
+ XCTAssertTrue(parsedDataPacket.isLastPacket);
+ XCTAssertTrue(parsedDataPacket.isFirstPacket);
+ XCTAssertEqual(offset, _smallNonEmptyData.length);
+ XCTAssertEqualObjects(dataPacket.data, _smallNonEmptyData);
+}
+
+- (void)testParseErrorControlPacket {
+ // 1000 0010, control packets have the MSB set and, error code is 2. The packet counter is 0.
+ UInt8 header = (1 << 7) + 2;
+ NSError *error = nil;
+ GNSWeavePacket *packet =
+ [GNSWeavePacket parseData:[self weavePacketWithHeader:header data:nil] error:&error];
+ XCTAssertNotNil(packet);
+ XCTAssertTrue([packet isKindOfClass:[GNSWeaveErrorPacket class]]);
+ XCTAssertEqual(packet.packetCounter, 0);
+}
+
+- (void)testBuildErrorControlPacket {
+ UInt8 packetCounter = 7;
+ GNSWeaveErrorPacket *errorPacket =
+ [[GNSWeaveErrorPacket alloc] initWithPacketCounter:packetCounter];
+ NSData *serializedPacket = [errorPacket serialize];
+ UInt8 firstByte = *(UInt8 *)serializedPacket.bytes;
+ // 1111 0010, control packet bit is set, counter is 7 (111) and error code is 2.
+ XCTAssertEqual(firstByte, (1 << 7) + (7 << 4) + 2);
+
+ NSError *error = nil;
+ GNSWeavePacket *packet = [GNSWeavePacket parseData:serializedPacket error:&error];
+ XCTAssertNotNil(packet);
+ XCTAssertTrue([packet isKindOfClass:[GNSWeaveErrorPacket class]]);
+ XCTAssertEqual(packet.packetCounter, packetCounter);
+}
+
+- (void)testParseConnectionRequestControlPacket {
+ // 1000 0000, control packets have the most significat bit (MSB) set and, connection request code
+ // is 0. The packet counter is 0.
+ UInt8 header = (1 << 7) + 0;
+ NSMutableData *payload = [[NSMutableData alloc] init];
+ UInt16 minVersion = 0;
+ UInt16 maxVersion = 3;
+ UInt16 maxPacketSize = 200;
+
+ // The Weave protocol uses big-endian format for the multi-bytes types.
+ UInt16 minVersionBigEndian = CFSwapInt16HostToBig(minVersion);
+ UInt16 maxVersionBigEndian = CFSwapInt16HostToBig(maxVersion);
+ UInt16 maxPacketSizeBigEndian = CFSwapInt16HostToBig(maxPacketSize);
+ [payload appendBytes:&minVersionBigEndian length:sizeof(minVersionBigEndian)];
+ [payload appendBytes:&maxVersionBigEndian length:sizeof(maxVersionBigEndian)];
+ [payload appendBytes:&maxPacketSizeBigEndian length:sizeof(maxPacketSizeBigEndian)];
+ NSError *error = nil;
+ GNSWeavePacket *packet =
+ [GNSWeavePacket parseData:[self weavePacketWithHeader:header data:payload] error:&error];
+ XCTAssertNotNil(packet);
+ XCTAssertTrue([packet isKindOfClass:[GNSWeaveConnectionRequestPacket class]]);
+ XCTAssertEqual(packet.packetCounter, 0);
+ GNSWeaveConnectionRequestPacket *connectionRequestPacket =
+ (GNSWeaveConnectionRequestPacket *)packet;
+ XCTAssertEqual(connectionRequestPacket.minVersion, minVersion);
+ XCTAssertEqual(connectionRequestPacket.maxVersion, maxVersion);
+ XCTAssertEqual(connectionRequestPacket.maxPacketSize, maxPacketSize);
+ XCTAssertNil(connectionRequestPacket.data);
+}
+
+- (void)testBuildConnectionRequestControlPacket {
+ UInt16 minVersion = 0;
+ UInt16 maxVersion = 3;
+ UInt16 maxPacketSize = 200;
+ NSData *smallPayload = [@"Payload" dataUsingEncoding:NSUTF8StringEncoding];
+ GNSWeaveConnectionRequestPacket *requestPacket =
+ [[GNSWeaveConnectionRequestPacket alloc] initWithMinVersion:minVersion
+ maxVersion:maxVersion
+ maxPacketSize:maxPacketSize
+ data:smallPayload];
+ NSData *serializedPacket = [requestPacket serialize];
+ UInt8 firstByte = *(UInt8 *)serializedPacket.bytes;
+ XCTAssertEqual(firstByte, (1 << 7)); // 1000 0000
+
+ NSError *error = nil;
+ GNSWeavePacket *packet = [GNSWeavePacket parseData:serializedPacket error:&error];
+ XCTAssertNotNil(packet);
+ XCTAssertTrue([packet isKindOfClass:[GNSWeaveConnectionRequestPacket class]]);
+ XCTAssertEqual(packet.packetCounter, 0);
+ GNSWeaveConnectionRequestPacket *connectionRequestPacket =
+ (GNSWeaveConnectionRequestPacket *)packet;
+ XCTAssertEqual(connectionRequestPacket.minVersion, minVersion);
+ XCTAssertEqual(connectionRequestPacket.maxVersion, maxVersion);
+ XCTAssertEqual(connectionRequestPacket.maxPacketSize, maxPacketSize);
+ XCTAssertEqualObjects(connectionRequestPacket.data, smallPayload);
+}
+
+- (void)testParseConnectionConfirmControlPacket {
+ // 1000 0001, control packets have the MSB set and, connection request code is 1. The packet
+ // counter is 0.
+ UInt8 header = (1 << 7) + 1;
+ NSMutableData *payload = [[NSMutableData alloc] init];
+ UInt16 version = 2;
+ UInt16 packetSize = 30;
+
+ // The Weave protocol uses big-endian format for the multi-bytes types.
+ UInt16 versionBigEndian = CFSwapInt16HostToBig(version);
+ UInt16 packetSizeBigEndian = CFSwapInt16HostToBig(packetSize);
+ [payload appendBytes:&versionBigEndian length:sizeof(versionBigEndian)];
+ [payload appendBytes:&packetSizeBigEndian length:sizeof(packetSizeBigEndian)];
+ NSError *error = nil;
+ GNSWeavePacket *packet =
+ [GNSWeavePacket parseData:[self weavePacketWithHeader:header data:payload] error:&error];
+ XCTAssertNotNil(packet);
+ XCTAssertTrue([packet isKindOfClass:[GNSWeaveConnectionConfirmPacket class]]);
+ XCTAssertEqual(packet.packetCounter, 0);
+ GNSWeaveConnectionConfirmPacket *connectionRequestPacket =
+ (GNSWeaveConnectionConfirmPacket *)packet;
+ XCTAssertEqual(connectionRequestPacket.version, version);
+ XCTAssertEqual(connectionRequestPacket.packetSize, packetSize);
+ XCTAssertNil(connectionRequestPacket.data);
+}
+
+- (void)testBuildConnectionConfirmControlPacket {
+ UInt16 version = 30;
+ UInt16 packetSize = 21;
+ NSData *smallPayload = [@"Payload" dataUsingEncoding:NSUTF8StringEncoding];
+ GNSWeaveConnectionConfirmPacket *confirmPacket =
+ [[GNSWeaveConnectionConfirmPacket alloc] initWithVersion:version
+ packetSize:packetSize
+ data:smallPayload];
+ NSData *serializedPacket = [confirmPacket serialize];
+ UInt8 firstByte = *(UInt8 *)serializedPacket.bytes;
+ XCTAssertEqual(firstByte, (1 << 7) + 1); // 1000 0001
+
+ NSError *error = nil;
+ GNSWeavePacket *packet = [GNSWeavePacket parseData:serializedPacket error:&error];
+ XCTAssertNotNil(packet);
+ XCTAssertTrue([packet isKindOfClass:[GNSWeaveConnectionConfirmPacket class]]);
+ XCTAssertEqual(packet.packetCounter, 0);
+ GNSWeaveConnectionConfirmPacket *connectionConfirmPacket =
+ (GNSWeaveConnectionConfirmPacket *)packet;
+ XCTAssertEqual(connectionConfirmPacket.version, version);
+ XCTAssertEqual(connectionConfirmPacket.packetSize, packetSize);
+ XCTAssertEqualObjects(connectionConfirmPacket.data, smallPayload);
+}
+
+@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Tests/GNCBLEATest.mm b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Tests/GNCBLEATest.mm
deleted file mode 100644
index 3818d9f6a84..00000000000
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Tests/GNCBLEATest.mm
+++ /dev/null
@@ -1,22 +0,0 @@
-#import "internal/platform/implementation/ios/Tests/GNCBLEA.h"
-
-#import <XCTest/XCTest.h>
-
-@interface GNCBLEATest : XCTestCase
-@end
-
-@implementation GNCBLEATest
-- (void)setUp {
- [super setUp];
- // Remove if not used.
-}
-
-- (void)tearDown {
- // Remove if not used.
- [super tearDown];
-}
-
-- (void)testFoo {
- XCTAssertTrue(YES, @"A true test");
-}
-@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Tests/GNCBleTest.mm b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Tests/GNCBleTest.mm
index 27842e053e4..cb4b2b3ec00 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Tests/GNCBleTest.mm
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Tests/GNCBleTest.mm
@@ -13,6 +13,7 @@
// limitations under the License.
#import <XCTest/XCTest.h>
+#include "internal/platform/implementation/ios/bluetooth_adapter.h"
#include <string>
#include <utility>
@@ -28,7 +29,9 @@ using ::location::nearby::api::BluetoothAdapter;
using ::location::nearby::api::ImplementationPlatform;
using ::location::nearby::api::ble_v2::BleAdvertisementData;
using ::location::nearby::api::ble_v2::BleMedium;
+using ::location::nearby::api::ble_v2::GattCharacteristic;
using ::location::nearby::api::ble_v2::TxPowerLevel;
+using IOSBluetoothAdapter = ::location::nearby::ios::BluetoothAdapter;
static const char *const kAdvertisementString = "\x0a\x0b\x0c\x0d";
static const TxPowerLevel kTxPowerLevel = TxPowerLevel::kHigh;
@@ -36,6 +39,7 @@ static const TxPowerLevel kTxPowerLevel = TxPowerLevel::kHigh;
@interface GNCBleTest : XCTestCase
@end
+// TODO(b/222392304): More tests on GNCBleTest.
@implementation GNCBleTest {
std::unique_ptr<BluetoothAdapter> _adapter;
std::unique_ptr<BleMedium> _ble;
@@ -57,7 +61,10 @@ static const TxPowerLevel kTxPowerLevel = TxPowerLevel::kHigh;
advertising_data.service_data = {{service_uuid, advertisement_bytes}};
XCTAssertTrue(_ble->StartAdvertising(advertising_data,
- {.tx_power_level = kTxPowerLevel, .is_connectable = true}));
+ {.tx_power_level = kTxPowerLevel, .is_connectable = true}));
+
+ [NSThread sleepForTimeInterval:0.1];
+
XCTAssertTrue(_ble->StopAdvertising());
}
@@ -66,7 +73,39 @@ static const TxPowerLevel kTxPowerLevel = TxPowerLevel::kHigh;
XCTAssertTrue(_ble->StartScanning(service_uuid, kTxPowerLevel, {}));
+ [NSThread sleepForTimeInterval:0.1];
+
XCTAssertTrue(_ble->StopScanning());
}
+- (void)testGattServerWorking {
+ // Test creating gatt_server.
+ auto gatt_server = _ble->StartGattServer(/*ServerGattConnectionCallback=*/{});
+ XCTAssert(gatt_server != nullptr);
+
+ // Test creating characteristic.
+ Uuid service_uuid(1234, 5678);
+ Uuid characteristic_uuid(5678, 1234);
+ std::vector<GattCharacteristic::Permission> permissions = {GattCharacteristic::Permission::kRead};
+ std::vector<GattCharacteristic::Property> properties = {GattCharacteristic::Property::kRead};
+
+ // NOLINTNEXTLINE
+ absl::optional<GattCharacteristic> gatt_characteristic =
+ gatt_server->CreateCharacteristic(service_uuid, characteristic_uuid, permissions, properties);
+ XCTAssertTrue(gatt_characteristic.has_value());
+
+ // Test updating characteristic.
+ ByteArray any_byte("any");
+ XCTAssertTrue(gatt_server->UpdateCharacteristic(gatt_characteristic.value(), any_byte));
+
+ gatt_server->Stop();
+}
+
+- (void)testCreateGattClient {
+ IOSBluetoothAdapter *adapter = static_cast<IOSBluetoothAdapter *>(_adapter.get());
+ auto gatt_client = _ble->ConnectToGattServer(adapter->GetPeripheral(), kTxPowerLevel, {});
+
+ XCTAssert(gatt_client != nullptr);
+}
+
@end
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Tests/GNCMultiThreadExecutorTest.mm b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Tests/GNCMultiThreadExecutorTest.mm
index 32bd2e324b9..f27dd5c5a47 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/Tests/GNCMultiThreadExecutorTest.mm
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/Tests/GNCMultiThreadExecutorTest.mm
@@ -51,11 +51,11 @@ using MultiThreadExecutor = location::nearby::api::SubmittableExecutor;
Runnable incrementer = [self]() { self.counter++; };
for (int i = 0; i < kIncrements; i++) {
executor->Execute(std::move(incrementer));
+ [NSThread sleepForTimeInterval:0.01];
}
// Check that the counter has the expected value after giving the runnables time to run.
- [NSThread sleepForTimeInterval:0.01];
- XCTAssertLessThan(abs(self.counter - kIncrements), 3);
+ XCTAssertLessThanOrEqual(abs(self.counter - kIncrements), 0);
}
// Tests that the executor submits runnables as expected.
@@ -67,11 +67,11 @@ using MultiThreadExecutor = location::nearby::api::SubmittableExecutor;
Runnable incrementer = [self]() { self.counter++; };
for (int i = 0; i < kIncrements; i++) {
executor->DoSubmit(std::move(incrementer));
+ [NSThread sleepForTimeInterval:0.01];
}
// Check that the counter has the expected value after giving the runnables time to run.
- [NSThread sleepForTimeInterval:0.01];
- XCTAssertLessThan(abs(self.counter - kIncrements), 3);
+ XCTAssertLessThanOrEqual(abs(self.counter - kIncrements), 0);
}
// Tests that fails to submit when the executor is shut down.
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/ble.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/ble.h
index ce0d0e28031..22be5ae1a73 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/ble.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/ble.h
@@ -14,14 +14,18 @@
#ifndef THIRD_PARTY_NEARBY_INTERNAL_PLATFORM_IMPLEMENTATION_IOS_BLE_H_
#define THIRD_PARTY_NEARBY_INTERNAL_PLATFORM_IMPLEMENTATION_IOS_BLE_H_
+#ifdef __cplusplus
+#import <CoreBluetooth/CoreBluetooth.h>
#import <Foundation/Foundation.h>
#include <string>
+#include "absl/types/optional.h"
#include "internal/platform/cancellation_flag.h"
#include "internal/platform/implementation/ble_v2.h"
#include "internal/platform/implementation/bluetooth_adapter.h"
+#import "internal/platform/implementation/ios/Mediums/GNCMConnection.h"
#include "internal/platform/implementation/ios/bluetooth_adapter.h"
@class GNCMBlePeripheral, GNCMBleCentral;
@@ -30,35 +34,163 @@ namespace location {
namespace nearby {
namespace ios {
+/** InputStream that reads from GNCMConnection. */
+class BleInputStream : public InputStream {
+ public:
+ BleInputStream();
+ ~BleInputStream() override;
+
+ ExceptionOr<ByteArray> Read(std::int64_t size) override;
+ Exception Close() override;
+
+ GNCMConnectionHandlers *GetConnectionHandlers() { return connectionHandlers_; }
+
+ private:
+ GNCMConnectionHandlers *connectionHandlers_;
+ NSMutableArray<NSData *> *newDataPackets_;
+ NSMutableData *accumulatedData_;
+ NSCondition *condition_;
+};
+
+/** OutputStream that writes to GNCMConnection. */
+class BleOutputStream : public OutputStream {
+ public:
+ explicit BleOutputStream(id<GNCMConnection> connection)
+ : connection_(connection), condition_([[NSCondition alloc] init]) {}
+ ~BleOutputStream() override;
+
+ Exception Write(const ByteArray &data) override;
+ Exception Flush() override;
+ Exception Close() override;
+
+ private:
+ id<GNCMConnection> connection_;
+ NSCondition *condition_;
+};
+
+/** Concrete BleSocket implementation. */
+class BleSocket : public api::ble_v2::BleSocket {
+ public:
+ BleSocket(id<GNCMConnection> connection, BlePeripheral *peripheral);
+ ~BleSocket() override;
+
+ InputStream &GetInputStream() override { return *input_stream_; }
+ OutputStream &GetOutputStream() override { return *output_stream_; }
+ Exception Close() override ABSL_LOCKS_EXCLUDED(mutex_);
+ BlePeripheral *GetRemotePeripheral() override { return peripheral_; }
+
+ bool IsClosed() const ABSL_LOCKS_EXCLUDED(mutex_);
+
+ private:
+ void DoClose() ABSL_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
+
+ mutable absl::Mutex mutex_;
+ bool closed_ ABSL_GUARDED_BY(mutex_) = false;
+ std::unique_ptr<BleInputStream> input_stream_;
+ std::unique_ptr<BleOutputStream> output_stream_;
+ BlePeripheral *peripheral_;
+};
+
+/** Concrete BleServerSocket implementation. */
+class BleServerSocket : public api::ble_v2::BleServerSocket {
+ public:
+ ~BleServerSocket() override;
+
+ std::unique_ptr<api::ble_v2::BleSocket> Accept() override ABSL_LOCKS_EXCLUDED(mutex_);
+ Exception Close() override ABSL_LOCKS_EXCLUDED(mutex_);
+
+ bool Connect(std::unique_ptr<BleSocket> socket) ABSL_LOCKS_EXCLUDED(mutex_);
+ void SetCloseNotifier(std::function<void()> notifier) ABSL_LOCKS_EXCLUDED(mutex_);
+
+ private:
+ Exception DoClose() ABSL_EXCLUSIVE_LOCKS_REQUIRED(mutex_);
+
+ mutable absl::Mutex mutex_;
+ absl::CondVar cond_;
+ absl::flat_hash_set<std::unique_ptr<BleSocket>> pending_sockets_ ABSL_GUARDED_BY(mutex_);
+ std::function<void()> close_notifier_ ABSL_GUARDED_BY(mutex_);
+ bool closed_ ABSL_GUARDED_BY(mutex_) = false;
+};
+
/** Concrete BleMedium implementation. */
class BleMedium : public api::ble_v2::BleMedium {
public:
- explicit BleMedium(api::BluetoothAdapter& adapter);
+ explicit BleMedium(api::BluetoothAdapter &adapter);
// api::BleMedium:
- bool StartAdvertising(const api::ble_v2::BleAdvertisementData& advertising_data,
+ bool StartAdvertising(const api::ble_v2::BleAdvertisementData &advertising_data,
api::ble_v2::AdvertiseParameters advertise_set_parameters) override;
bool StopAdvertising() override;
- bool StartScanning(const Uuid& service_uuid, api::ble_v2::TxPowerLevel tx_power_level,
+ bool StartScanning(const Uuid &service_uuid, api::ble_v2::TxPowerLevel tx_power_level,
api::ble_v2::BleMedium::ScanCallback scan_callback) override;
bool StopScanning() override;
std::unique_ptr<api::ble_v2::GattServer> StartGattServer(
api::ble_v2::ServerGattConnectionCallback callback) override;
std::unique_ptr<api::ble_v2::GattClient> ConnectToGattServer(
- api::ble_v2::BlePeripheral& peripheral, api::ble_v2::TxPowerLevel tx_power_level,
+ api::ble_v2::BlePeripheral &peripheral, api::ble_v2::TxPowerLevel tx_power_level,
api::ble_v2::ClientGattConnectionCallback callback) override;
std::unique_ptr<api::ble_v2::BleServerSocket> OpenServerSocket(
- const std::string& service_id) override;
- std::unique_ptr<api::ble_v2::BleSocket> Connect(const std::string& service_id,
+ const std::string &service_id) override;
+ std::unique_ptr<api::ble_v2::BleSocket> Connect(const std::string &service_id,
api::ble_v2::TxPowerLevel tx_power_level,
- api::ble_v2::BlePeripheral& peripheral,
- CancellationFlag* cancellation_flag) override;
+ api::ble_v2::BlePeripheral &peripheral,
+ CancellationFlag *cancellation_flag) override;
bool IsExtendedAdvertisementsAvailable() override;
private:
- BluetoothAdapter* adapter_;
- GNCMBlePeripheral* peripheral_;
- GNCMBleCentral* central_;
+ // A concrete implemenation for GattServer.
+ class GattServer : public api::ble_v2::GattServer {
+ public:
+ GattServer() = default;
+ explicit GattServer(GNCMBlePeripheral *peripheral) : peripheral_(peripheral) {}
+
+ absl::optional<api::ble_v2::GattCharacteristic> CreateCharacteristic(
+ const Uuid &service_uuid, const Uuid &characteristic_uuid,
+ const std::vector<api::ble_v2::GattCharacteristic::Permission> &permissions,
+ const std::vector<api::ble_v2::GattCharacteristic::Property> &properties) override;
+
+ bool UpdateCharacteristic(const api::ble_v2::GattCharacteristic &characteristic,
+ const location::nearby::ByteArray &value) override;
+ void Stop() override;
+
+ private:
+ GNCMBlePeripheral *peripheral_;
+ };
+
+ // A concrete implemenation for GattClient.
+ class GattClient : public api::ble_v2::GattClient {
+ public:
+ GattClient() = default;
+ explicit GattClient(GNCMBleCentral *central, const std::string &peripheral_id)
+ : central_(central), peripheral_id_(peripheral_id) {}
+
+ bool DiscoverServiceAndCharacteristics(const Uuid &service_uuid,
+ const std::vector<Uuid> &characteristic_uuids) override;
+
+ // NOLINTNEXTLINE
+ absl::optional<api::ble_v2::GattCharacteristic> GetCharacteristic(
+ const Uuid &service_uuid, const Uuid &characteristic_uuid) override;
+
+ // NOLINTNEXTLINE
+ absl::optional<ByteArray> ReadCharacteristic(
+ const api::ble_v2::GattCharacteristic &characteristic) override;
+
+ bool WriteCharacteristic(const api::ble_v2::GattCharacteristic &characteristic,
+ const ByteArray &value) override;
+
+ void Disconnect() override;
+
+ private:
+ GNCMBleCentral *central_;
+ std::string peripheral_id_;
+ absl::flat_hash_map<api::ble_v2::GattCharacteristic, ByteArray> gatt_characteristic_values_;
+ };
+
+ absl::Mutex mutex_;
+ BluetoothAdapter *adapter_;
+ GNCMBlePeripheral *peripheral_;
+ GNCMBleCentral *central_;
+ absl::flat_hash_map<std::string, BleServerSocket *> server_sockets_ ABSL_GUARDED_BY(mutex_);
dispatch_queue_t callback_queue_;
};
@@ -66,4 +198,5 @@ class BleMedium : public api::ble_v2::BleMedium {
} // namespace nearby
} // namespace location
+#endif
#endif // THIRD_PARTY_NEARBY_INTERNAL_PLATFORM_IMPLEMENTATION_IOS_BLE_H_
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/ble.mm b/chromium/third_party/nearby/src/internal/platform/implementation/ios/ble.mm
index 1c149138e8b..28116448f77 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/ble.mm
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/ble.mm
@@ -15,7 +15,9 @@
#import "internal/platform/implementation/ios/ble.h"
#include <CoreBluetooth/CoreBluetooth.h>
+#include <functional>
#include <string>
+#include <utility>
#include "internal/platform/implementation/ble_v2.h"
#import "internal/platform/implementation/ios/Mediums/Ble/GNCMBleCentral.h"
@@ -27,10 +29,288 @@ namespace location {
namespace nearby {
namespace ios {
+namespace {
+
+CBAttributePermissions PermissionToCBPermissions(
+ const std::vector<api::ble_v2::GattCharacteristic::Permission>& permissions) {
+ CBAttributePermissions characteristPermissions = 0;
+ for (const auto& permission : permissions) {
+ switch (permission) {
+ case api::ble_v2::GattCharacteristic::Permission::kRead:
+ characteristPermissions |= CBAttributePermissionsReadable;
+ break;
+ case api::ble_v2::GattCharacteristic::Permission::kWrite:
+ characteristPermissions |= CBAttributePermissionsWriteable;
+ break;
+ case api::ble_v2::GattCharacteristic::Permission::kLast:
+ case api::ble_v2::GattCharacteristic::Permission::kUnknown:
+ default:; // fall through
+ }
+ }
+ return characteristPermissions;
+}
+
+CBCharacteristicProperties PropertiesToCBProperties(
+ const std::vector<api::ble_v2::GattCharacteristic::Property>& properties) {
+ CBCharacteristicProperties characteristicProperties = 0;
+ for (const auto& property : properties) {
+ switch (property) {
+ case api::ble_v2::GattCharacteristic::Property::kRead:
+ characteristicProperties |= CBCharacteristicPropertyRead;
+ break;
+ case api::ble_v2::GattCharacteristic::Property::kWrite:
+ characteristicProperties |= CBCharacteristicPropertyWrite;
+ break;
+ case api::ble_v2::GattCharacteristic::Property::kIndicate:
+ characteristicProperties |= CBCharacteristicPropertyIndicate;
+ break;
+ case api::ble_v2::GattCharacteristic::Property::kLast:
+ case api::ble_v2::GattCharacteristic::Property::kUnknown:
+ default:; // fall through
+ }
+ }
+ return characteristicProperties;
+}
+
+} // namespace
+
using ::location::nearby::api::ble_v2::BleAdvertisementData;
using ::location::nearby::api::ble_v2::TxPowerLevel;
using ScanCallback = ::location::nearby::api::ble_v2::BleMedium::ScanCallback;
+/** InputStream that reads from GNCMConnection. */
+BleInputStream::BleInputStream()
+ : newDataPackets_([NSMutableArray array]),
+ accumulatedData_([NSMutableData data]),
+ condition_([[NSCondition alloc] init]) {
+ // Create the handlers of incoming data from the remote endpoint.
+ connectionHandlers_ = [GNCMConnectionHandlers
+ payloadHandler:^(NSData* data) {
+ [condition_ lock];
+ // Add the incoming data to the data packet array to be processed in read() below.
+ [newDataPackets_ addObject:data];
+ [condition_ signal];
+ [condition_ unlock];
+ }
+ disconnectedHandler:^{
+ [condition_ lock];
+ // Release the data packet array, meaning the stream has been closed or severed.
+ newDataPackets_ = nil;
+ [condition_ signal];
+ [condition_ unlock];
+ }];
+}
+
+BleInputStream::~BleInputStream() {
+ NSCAssert(!newDataPackets_, @"BleInputStream not closed before destruction");
+}
+
+ExceptionOr<ByteArray> BleInputStream::Read(std::int64_t size) {
+ // Block until either (a) the connection has been closed, (b) we have enough data to return.
+ NSData* dataToReturn;
+ [condition_ lock];
+ while (true) {
+ // Check if the stream has been closed or severed.
+ if (!newDataPackets_) break;
+
+ if (newDataPackets_.count > 0) {
+ // Add the packet data to the accumulated data.
+ for (NSData* data in newDataPackets_) {
+ if (data.length > 0) {
+ [accumulatedData_ appendData:data];
+ }
+ }
+ [newDataPackets_ removeAllObjects];
+ }
+
+ if ((size == -1) && (accumulatedData_.length > 0)) {
+ // Return all of the data.
+ dataToReturn = accumulatedData_;
+ accumulatedData_ = [NSMutableData data];
+ break;
+ } else if (accumulatedData_.length > 0) {
+ // Return up to |size| bytes of the data.
+ std::int64_t sizeToReturn = (accumulatedData_.length < size) ? accumulatedData_.length : size;
+ NSRange range = NSMakeRange(0, (NSUInteger)sizeToReturn);
+ dataToReturn = [accumulatedData_ subdataWithRange:range];
+ [accumulatedData_ replaceBytesInRange:range withBytes:nil length:0];
+ break;
+ }
+
+ [condition_ wait];
+ }
+ [condition_ unlock];
+
+ if (dataToReturn) {
+ NSLog(@"[NEARBY] Input stream: Received data of size: %lu", (unsigned long)dataToReturn.length);
+ return ExceptionOr<ByteArray>(ByteArrayFromNSData(dataToReturn));
+ } else {
+ return ExceptionOr<ByteArray>{Exception::kIo};
+ }
+}
+
+Exception BleInputStream::Close() {
+ // Unblock pending read operation.
+ [condition_ lock];
+ newDataPackets_ = nil;
+ [condition_ signal];
+ [condition_ unlock];
+ return {Exception::kSuccess};
+}
+
+/** OutputStream that writes to GNCMConnection. */
+BleOutputStream::~BleOutputStream() {
+ NSCAssert(!connection_, @"BleOutputStream not closed before destruction");
+}
+
+Exception BleOutputStream::Write(const ByteArray& data) {
+ [condition_ lock];
+ NSLog(@"[NEARBY] Sending data of size: %lu", (unsigned long)NSDataFromByteArray(data).length);
+
+ NSMutableData* packet = [NSMutableData dataWithData:NSDataFromByteArray(data)];
+
+ // Send the data, blocking until the completion handler is called.
+ __block GNCMPayloadResult sendResult = GNCMPayloadResultFailure;
+ __block bool isComplete = NO;
+ NSCondition* condition = condition_; // don't capture |this| in completion
+
+ // Check if connection_ is nil, then just don't wait and return as failure.
+ if (connection_ != nil) {
+ [connection_ sendData:packet
+ progressHandler:^(size_t count) {
+ }
+ completion:^(GNCMPayloadResult result) {
+ // Make sure we haven't already reported completion before. This prevents a crash
+ // where we try leaving a dispatch group more times than we entered it.
+ // b/79095653.
+ if (isComplete) {
+ return;
+ }
+ isComplete = YES;
+ sendResult = result;
+ [condition lock];
+ [condition signal];
+ [condition unlock];
+ }];
+ [condition_ wait];
+ [condition_ unlock];
+ } else {
+ sendResult = GNCMPayloadResultFailure;
+ [condition_ unlock];
+ }
+
+ if (sendResult == GNCMPayloadResultSuccess) {
+ return {Exception::kSuccess};
+ } else {
+ return {Exception::kIo};
+ }
+}
+
+Exception BleOutputStream::Flush() {
+ // The write() function blocks until the data is received by the remote endpoint, so there's
+ // nothing to do here.
+ return {Exception::kSuccess};
+}
+
+Exception BleOutputStream::Close() {
+ // Unblock pending write operation.
+ [condition_ lock];
+ connection_ = nil;
+ [condition_ signal];
+ [condition_ unlock];
+ return {Exception::kSuccess};
+}
+
+/** BleSocket implementation.*/
+BleSocket::BleSocket(id<GNCMConnection> connection, BlePeripheral* peripheral)
+ : input_stream_(new BleInputStream()),
+ output_stream_(new BleOutputStream(connection)),
+ peripheral_(peripheral) {}
+
+BleSocket::~BleSocket() {
+ absl::MutexLock lock(&mutex_);
+ DoClose();
+}
+
+bool BleSocket::IsClosed() const {
+ absl::MutexLock lock(&mutex_);
+ return closed_;
+}
+
+Exception BleSocket::Close() {
+ absl::MutexLock lock(&mutex_);
+ DoClose();
+ return {Exception::kSuccess};
+}
+
+void BleSocket::DoClose() {
+ if (!closed_) {
+ input_stream_->Close();
+ output_stream_->Close();
+ closed_ = true;
+ }
+}
+
+/** WifiLanServerSocket implementation. */
+BleServerSocket::~BleServerSocket() {
+ absl::MutexLock lock(&mutex_);
+ DoClose();
+}
+
+std::unique_ptr<api::ble_v2::BleSocket> BleServerSocket::Accept() {
+ absl::MutexLock lock(&mutex_);
+ while (!closed_ && pending_sockets_.empty()) {
+ cond_.Wait(&mutex_);
+ }
+ // Return early if closed.
+ if (closed_) return {};
+
+ auto remote_socket = std::move(pending_sockets_.extract(pending_sockets_.begin()).value());
+ return std::move(remote_socket);
+}
+
+bool BleServerSocket::Connect(std::unique_ptr<BleSocket> socket) {
+ absl::MutexLock lock(&mutex_);
+ if (closed_) {
+ return false;
+ }
+ // add client socket to the pending list
+ pending_sockets_.insert(std::move(socket));
+ cond_.SignalAll();
+ if (closed_) {
+ return false;
+ }
+ return true;
+}
+
+void BleServerSocket::SetCloseNotifier(std::function<void()> notifier) {
+ absl::MutexLock lock(&mutex_);
+ close_notifier_ = std::move(notifier);
+}
+
+Exception BleServerSocket::Close() {
+ absl::MutexLock lock(&mutex_);
+ return DoClose();
+}
+
+Exception BleServerSocket::DoClose() {
+ bool should_notify = !closed_;
+ closed_ = true;
+ if (should_notify) {
+ cond_.SignalAll();
+ if (close_notifier_) {
+ auto notifier = std::move(close_notifier_);
+ mutex_.Unlock();
+ // Notifier may contain calls to public API, and may cause deadlock, if
+ // mutex_ is held during the call.
+ notifier();
+ mutex_.Lock();
+ }
+ }
+ return {Exception::kSuccess};
+}
+
+/** BleMedium implementation. */
BleMedium::BleMedium(::location::nearby::api::BluetoothAdapter& adapter)
: adapter_(static_cast<BluetoothAdapter*>(&adapter)) {}
@@ -40,12 +320,36 @@ bool BleMedium::StartAdvertising(
if (advertising_data.service_data.empty()) {
return false;
}
- const std::string& service_uuid = advertising_data.service_data.begin()->first.Get16BitAsString();
+ const auto& service_uuid = advertising_data.service_data.begin()->first.Get16BitAsString();
const ByteArray& service_data_bytes = advertising_data.service_data.begin()->second;
- peripheral_ =
- [[GNCMBlePeripheral alloc] initWithServiceUUID:ObjCStringFromCppString(service_uuid)
- advertisementData:NSDataFromByteArray(service_data_bytes)];
+ if (!peripheral_) {
+ peripheral_ = [[GNCMBlePeripheral alloc] init];
+ }
+
+ auto& peripheral = adapter_->GetPeripheral();
+ [peripheral_
+ startAdvertisingWithServiceUUID:ObjCStringFromCppString(service_uuid)
+ advertisementData:NSDataFromByteArray(service_data_bytes)
+ endpointConnectedHandler:^GNCMConnectionHandlers*(id<GNCMConnection> connection) {
+ // TODO(edwinwu): This server_socket is supposed to be gotten from the map by key of
+ // servcie_id. We now always get the first iteration since we don't know the key now.
+ // Try the way to move the Ble socket frame verification up to one layer.
+ std::string service_id;
+ BleServerSocket* server_socket;
+ if (!server_sockets_.empty()) {
+ service_id = server_sockets_.begin()->first;
+ server_socket = server_sockets_.begin()->second;
+ } else {
+ return nil;
+ }
+ auto socket = std::make_unique<BleSocket>(connection, &peripheral);
+ GNCMConnectionHandlers* connectionHandlers =
+ static_cast<BleInputStream&>(socket->GetInputStream()).GetConnectionHandlers();
+ server_socket->Connect(std::move(socket));
+ return connectionHandlers;
+ }
+ callbackQueue:callback_queue_];
return true;
}
@@ -56,11 +360,23 @@ bool BleMedium::StopAdvertising() {
bool BleMedium::StartScanning(const Uuid& service_uuid, TxPowerLevel tx_power_level,
ScanCallback scan_callback) {
- central_ = [[GNCMBleCentral alloc]
- initWithServiceUUID:ObjCStringFromCppString(service_uuid.Get16BitAsString())
- scanResultHandler:^(NSString* serviceUUID, NSData* serviceData){
- // TODO(b/228751356): Add scan callback implementation.
- }];
+ if (!central_) {
+ central_ = [[GNCMBleCentral alloc] init];
+ }
+
+ [central_ startScanningWithServiceUUID:ObjCStringFromCppString(service_uuid.Get16BitAsString())
+ scanResultHandler:^(NSString* peripheralID, NSData* serviceData) {
+ BleAdvertisementData advertisement_data;
+ advertisement_data.service_data = {{service_uuid, ByteArrayFromNSData(serviceData)}};
+ BlePeripheral& peripheral = adapter_->GetPeripheral();
+ peripheral.SetPeripheralId(CppStringFromObjCString(peripheralID));
+ scan_callback.advertisement_found_cb(peripheral, advertisement_data);
+ }
+ requestConnectionHandler:^(GNCMBleConnectionRequester connectionRequester) {
+ BlePeripheral& peripheral = adapter_->GetPeripheral();
+ peripheral.SetConnectionRequester(connectionRequester);
+ }
+ callbackQueue:callback_queue_];
return true;
}
@@ -72,29 +388,196 @@ bool BleMedium::StopScanning() {
std::unique_ptr<api::ble_v2::GattServer> BleMedium::StartGattServer(
api::ble_v2::ServerGattConnectionCallback callback) {
- return nullptr;
+ if (!peripheral_) {
+ peripheral_ = [[GNCMBlePeripheral alloc] init];
+ }
+ return std::make_unique<GattServer>(peripheral_);
}
std::unique_ptr<api::ble_v2::GattClient> BleMedium::ConnectToGattServer(
api::ble_v2::BlePeripheral& peripheral, TxPowerLevel tx_power_level,
api::ble_v2::ClientGattConnectionCallback callback) {
- return nullptr;
+ dispatch_semaphore_t semaphore = dispatch_semaphore_create(0);
+ __block NSError* connectedError;
+ BlePeripheral iosPeripheral = static_cast<BlePeripheral&>(peripheral);
+ std::string peripheral_id = iosPeripheral.GetPeripheralId();
+ [central_ connectGattServerWithPeripheralID:ObjCStringFromCppString(peripheral_id)
+ gattConnectionResultHandler:^(NSError* _Nullable error) {
+ connectedError = error;
+ dispatch_semaphore_signal(semaphore);
+ }];
+ dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, 30 * NSEC_PER_SEC));
+
+ if (connectedError) {
+ return nullptr;
+ }
+ return std::make_unique<GattClient>(central_, peripheral_id);
}
std::unique_ptr<api::ble_v2::BleServerSocket> BleMedium::OpenServerSocket(
const std::string& service_id) {
- return nullptr;
+ auto server_socket = std::make_unique<BleServerSocket>();
+ server_socket->SetCloseNotifier([this, service_id]() {
+ absl::MutexLock lock(&mutex_);
+ server_sockets_.erase(service_id);
+ });
+ absl::MutexLock lock(&mutex_);
+ server_sockets_.insert({service_id, server_socket.get()});
+ return server_socket;
}
std::unique_ptr<api::ble_v2::BleSocket> BleMedium::Connect(const std::string& service_id,
TxPowerLevel tx_power_level,
api::ble_v2::BlePeripheral& peripheral,
CancellationFlag* cancellation_flag) {
- return nullptr;
+ NSString* serviceID = ObjCStringFromCppString(service_id);
+ __block std::unique_ptr<BleSocket> socket;
+ __block BlePeripheral ios_peripheral = static_cast<BlePeripheral&>(peripheral);
+ GNCMBleConnectionRequester connection_requester = ios_peripheral.GetConnectionRequester();
+ if (!connection_requester) return {};
+
+ dispatch_group_t group = dispatch_group_create();
+ dispatch_group_enter(group);
+ if (cancellation_flag->Cancelled()) {
+ NSLog(@"[NEARBY] BLE Connect: Has been cancelled: service_id=%@", serviceID);
+ dispatch_group_leave(group); // unblock
+ return {};
+ }
+
+ connection_requester(serviceID, ^(id<GNCMConnection> connection) {
+ // If the connection wasn't successfully established, return a NULL socket.
+ if (connection) {
+ socket = std::make_unique<BleSocket>(connection, &ios_peripheral);
+ }
+
+ dispatch_group_leave(group); // unblock
+ return socket != nullptr
+ ? static_cast<BleInputStream&>(socket->GetInputStream()).GetConnectionHandlers()
+ : nullptr;
+ });
+ dispatch_group_wait(group, DISPATCH_TIME_FOREVER);
+
+ // Send the (empty) intro packet, which the BLE advertiser is expecting.
+ if (socket != nullptr) {
+ socket->GetOutputStream().Write(ByteArray());
+ }
+
+ return std::move(socket);
}
bool BleMedium::IsExtendedAdvertisementsAvailable() { return false; }
+// NOLINTNEXTLINE
+absl::optional<api::ble_v2::GattCharacteristic> BleMedium::GattServer::CreateCharacteristic(
+ const Uuid& service_uuid, const Uuid& characteristic_uuid,
+ const std::vector<api::ble_v2::GattCharacteristic::Permission>& permissions,
+ const std::vector<api::ble_v2::GattCharacteristic::Property>& properties) {
+ api::ble_v2::GattCharacteristic characteristic = {.uuid = characteristic_uuid,
+ .service_uuid = service_uuid,
+ .permissions = permissions,
+ .properties = properties};
+ [peripheral_
+ addCBServiceWithUUID:[CBUUID
+ UUIDWithString:ObjCStringFromCppString(
+ characteristic.service_uuid.Get16BitAsString())]];
+ [peripheral_
+ addCharacteristic:[[CBMutableCharacteristic alloc]
+ initWithType:[CBUUID UUIDWithString:ObjCStringFromCppString(std::string(
+ characteristic.uuid))]
+ properties:PropertiesToCBProperties(characteristic.properties)
+ value:nil
+ permissions:PermissionToCBPermissions(characteristic.permissions)]];
+ return characteristic;
+}
+
+bool BleMedium::GattServer::UpdateCharacteristic(
+ const api::ble_v2::GattCharacteristic& characteristic,
+ const location::nearby::ByteArray& value) {
+ [peripheral_ updateValue:NSDataFromByteArray(value)
+ forCharacteristic:[CBUUID UUIDWithString:ObjCStringFromCppString(
+ std::string(characteristic.uuid))]];
+ return true;
+}
+
+void BleMedium::GattServer::Stop() { [peripheral_ stopGATTService]; }
+
+bool BleMedium::GattClient::DiscoverServiceAndCharacteristics(
+ const Uuid& service_uuid, const std::vector<Uuid>& characteristic_uuids) {
+ // Discover all characteristics that may contain the advertisement.
+ dispatch_semaphore_t semaphore = dispatch_semaphore_create(0);
+ gatt_characteristic_values_.clear();
+ CBUUID* serviceUUID = [CBUUID UUIDWithString:ObjCStringFromCppString(std::string(service_uuid))];
+
+ absl::flat_hash_map<std::string, Uuid> gatt_characteristics;
+ NSMutableArray<CBUUID*>* characteristicUUIDs =
+ [NSMutableArray arrayWithCapacity:characteristic_uuids.size()];
+ for (const auto& characteristic_uuid : characteristic_uuids) {
+ [characteristicUUIDs addObject:[CBUUID UUIDWithString:ObjCStringFromCppString(
+ std::string(characteristic_uuid))]];
+ gatt_characteristics.insert({std::string(characteristic_uuid), characteristic_uuid});
+ }
+
+ [central_ discoverGattService:serviceUUID
+ gattCharacteristics:characteristicUUIDs
+ peripheralID:ObjCStringFromCppString(peripheral_id_)
+ gattDiscoverResultHandler:^(NSOrderedSet<CBCharacteristic*>* _Nullable cb_characteristics) {
+ if (cb_characteristics != nil) {
+ for (CBCharacteristic* cb_characteristic in cb_characteristics) {
+ Uuid characteristic_uuid;
+ auto const& it = gatt_characteristics.find(
+ CppStringFromObjCString(cb_characteristic.UUID.UUIDString));
+ if (it == gatt_characteristics.end()) continue;
+
+ api::ble_v2::GattCharacteristic characteristic = {.uuid = it->second,
+ .service_uuid = service_uuid};
+ gatt_characteristic_values_.insert(
+ {characteristic, ByteArrayFromNSData(cb_characteristic.value)});
+ }
+ }
+
+ dispatch_semaphore_signal(semaphore);
+ }];
+
+ dispatch_semaphore_wait(semaphore, dispatch_time(DISPATCH_TIME_NOW, 30 * NSEC_PER_SEC));
+
+ if (gatt_characteristic_values_.empty()) {
+ return false;
+ }
+ return true;
+}
+
+// NOLINTNEXTLINE
+absl::optional<api::ble_v2::GattCharacteristic> BleMedium::GattClient::GetCharacteristic(
+ const Uuid& service_uuid, const Uuid& characteristic_uuid) {
+ api::ble_v2::GattCharacteristic characteristic = {.uuid = characteristic_uuid,
+ .service_uuid = service_uuid};
+ auto const it = gatt_characteristic_values_.find(characteristic);
+ if (it == gatt_characteristic_values_.end()) {
+ return absl::nullopt; // NOLINT
+ }
+ return it->first;
+}
+
+// NOLINTNEXTLINE
+absl::optional<ByteArray> BleMedium::GattClient::ReadCharacteristic(
+ const api::ble_v2::GattCharacteristic& characteristic) {
+ auto const it = gatt_characteristic_values_.find(characteristic);
+ if (it == gatt_characteristic_values_.end()) {
+ return absl::nullopt; // NOLINT
+ }
+ return it->second;
+}
+
+bool BleMedium::GattClient::WriteCharacteristic(
+ const api::ble_v2::GattCharacteristic& characteristic, const ByteArray& value) {
+ // No op.
+ return false;
+}
+
+void BleMedium::GattClient::Disconnect() {
+ [central_ disconnectGattServiceWithPeripheralID:ObjCStringFromCppString(peripheral_id_)];
+}
+
} // namespace ios
} // namespace nearby
} // namespace location
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/bluetooth_adapter.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/bluetooth_adapter.h
index 82a08a8336b..c8f75d95cd3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/bluetooth_adapter.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/bluetooth_adapter.h
@@ -14,11 +14,13 @@
#ifndef THIRD_PARTY_NEARBY_INTERNAL_PLATFORM_IMPLEMENTATION_IOS_BLUETOOTH_ADAPTER_H_
#define THIRD_PARTY_NEARBY_INTERNAL_PLATFORM_IMPLEMENTATION_IOS_BLUETOOTH_ADAPTER_H_
+#ifdef __cplusplus
#include <string>
#include "internal/platform/implementation/ble_v2.h"
#include "internal/platform/implementation/bluetooth_adapter.h"
+#import "internal/platform/implementation/ios/Mediums/Ble/GNCMBleCentral.h"
namespace location {
namespace nearby {
@@ -31,6 +33,20 @@ class BlePeripheral : public api::ble_v2::BlePeripheral {
public:
std::string GetAddress() const override;
+ std::string GetPeripheralId() const { return peripheral_id_; }
+
+ void SetPeripheralId(const std::string& peripheral_id) {
+ peripheral_id_ = peripheral_id;
+ }
+
+ void SetConnectionRequester(GNCMBleConnectionRequester connection_requester) {
+ connection_requester_ = connection_requester;
+ }
+
+ GNCMBleConnectionRequester GetConnectionRequester() {
+ return connection_requester_;
+ }
+
private:
// Only BluetoothAdapter may instantiate BlePeripheral.
friend class BluetoothAdapter;
@@ -38,6 +54,8 @@ class BlePeripheral : public api::ble_v2::BlePeripheral {
explicit BlePeripheral(BluetoothAdapter* adapter) : adapter_(*adapter) {}
BluetoothAdapter& adapter_;
+ std::string peripheral_id_;
+ GNCMBleConnectionRequester connection_requester_;
};
// Concrete BluetoothAdapter implementation.
@@ -56,7 +74,10 @@ class BluetoothAdapter : public api::BluetoothAdapter {
ScanMode GetScanMode() const override { return mode_; }
bool SetScanMode(ScanMode mode) override { return false; }
std::string GetName() const override { return name_; }
- bool SetName(absl::string_view name) override {
+ bool SetName(absl::string_view name) {
+ return SetName(name, /* persist= */ true);
+ }
+ bool SetName(absl::string_view name, bool persist) override {
name_ = std::string(name);
return true;
}
@@ -79,4 +100,5 @@ class BluetoothAdapter : public api::BluetoothAdapter {
} // namespace nearby
} // namespace location
+#endif
#endif // THIRD_PARTY_NEARBY_INTERNAL_PLATFORM_IMPLEMENTATION_IOS_BLUETOOTH_ADAPTER_H_
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/log_message.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/log_message.h
index 0c14c7d83ab..e83b45dae42 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/log_message.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/log_message.h
@@ -14,6 +14,7 @@
#ifndef PLATFORM_IMPL_IOS_LOG_MESSAGE_H_
#define PLATFORM_IMPL_IOS_LOG_MESSAGE_H_
+#ifdef __cplusplus
#ifdef NEARBY_SWIFTPM
#include <sstream>
@@ -52,4 +53,5 @@ class LogMessage : public api::LogMessage {
} // namespace nearby
} // namespace location
+#endif
#endif // IPHONE_SHARED_NEARBY_CONNECTIONS_SOURCE_PLATFORM_LOG_MESSAGE_H_
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/multi_thread_executor.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/multi_thread_executor.h
index cd8372de5d3..485b77ad01a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/multi_thread_executor.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/multi_thread_executor.h
@@ -14,6 +14,7 @@
#ifndef PLATFORM_IMPL_IOS_MULTI_THREAD_EXECUTOR_H_
#define PLATFORM_IMPL_IOS_MULTI_THREAD_EXECUTOR_H_
+#ifdef __cplusplus
#import "internal/platform/implementation/ios/scheduled_executor.h"
#include "internal/platform/implementation/submittable_executor.h"
@@ -44,4 +45,5 @@ class MultiThreadExecutor : public api::SubmittableExecutor {
} // namespace nearby
} // namespace location
+#endif
#endif // PLATFORM_IMPL_IOS_MULTI_THREAD_EXECUTOR_H_
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/scheduled_executor.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/scheduled_executor.h
index 580389997c4..104c0504469 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/scheduled_executor.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/scheduled_executor.h
@@ -14,6 +14,7 @@
#ifndef PLATFORM_IMPL_IOS_SCHEDULED_EXECUTOR_H_
#define PLATFORM_IMPL_IOS_SCHEDULED_EXECUTOR_H_
+#ifdef __cplusplus
#import <Foundation/Foundation.h>
@@ -65,4 +66,5 @@ class ScheduledExecutor : public api::ScheduledExecutor {
} // namespace nearby
} // namespace location
+#endif
#endif // PLATFORM_IMPL_IOS_SCHEDULED_EXECUTOR_H_
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/single_thread_executor.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/single_thread_executor.h
index 28d55fa18b8..3029c8bbf79 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/single_thread_executor.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/single_thread_executor.h
@@ -14,6 +14,7 @@
#ifndef PLATFORM_IMPL_IOS_SINGLE_THREAD_EXECUTOR_H_
#define PLATFORM_IMPL_IOS_SINGLE_THREAD_EXECUTOR_H_
+#ifdef __cplusplus
#import "internal/platform/implementation/ios/multi_thread_executor.h"
@@ -31,4 +32,5 @@ class SingleThreadExecutor : public MultiThreadExecutor {
} // namespace nearby
} // namespace location
+#endif
#endif // PLATFORM_IMPL_IOS_SINGLE_THREAD_EXECUTOR_H_
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/utils.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/utils.h
index fd864a13f80..3f4a0c8caf0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/utils.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/utils.h
@@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#ifdef __cplusplus
+
#import <CoreBluetooth/CoreBluetooth.h>
#import <Foundation/Foundation.h>
@@ -72,3 +74,5 @@ absl::flat_hash_map<std::string, std::string> AbslHashMapFromObjCTxtRecords(
} // namespace location
NS_ASSUME_NONNULL_END
+
+#endif
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/ios/wifi_lan.h b/chromium/third_party/nearby/src/internal/platform/implementation/ios/wifi_lan.h
index d616fe202d4..914dfc1b29f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/ios/wifi_lan.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/ios/wifi_lan.h
@@ -14,6 +14,7 @@
#ifndef PLATFORM_IMPL_IOS_WIFI_LAN_H_
#define PLATFORM_IMPL_IOS_WIFI_LAN_H_
+#ifdef __cplusplus
#import <Foundation/Foundation.h>
#include <string>
@@ -139,6 +140,9 @@ class WifiLanMedium : public api::WifiLanMedium {
WifiLanMedium(const WifiLanMedium&) = delete;
WifiLanMedium& operator=(const WifiLanMedium&) = delete;
+ // Check if a network connection to a primary router exist.
+ bool IsNetworkConnected() const override { return true; }
+
// api::WifiLanMedium:
bool StartAdvertising(const NsdServiceInfo& nsd_service_info) override
ABSL_LOCKS_EXCLUDED(mutex_);
@@ -199,4 +203,5 @@ class WifiLanMedium : public api::WifiLanMedium {
} // namespace nearby
} // namespace location
+#endif
#endif // PLATFORM_IMPL_IOS_WIFI_LAN_H_
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/platform.h b/chromium/third_party/nearby/src/internal/platform/implementation/platform.h
index 5d013310766..a03574a28b9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/platform.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/platform.h
@@ -67,6 +67,10 @@ class ImplementationPlatform {
static std::string GetDownloadPath(std::string& parent_folder,
std::string& file_name);
+ static std::string GetDownloadPath(std::string& file_name);
+
+ static std::string GetAppDataPath(absl::string_view file_name);
+
static OSName GetCurrentOS();
// Atomics:
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/shared/file.cc b/chromium/third_party/nearby/src/internal/platform/implementation/shared/file.cc
index 0d22d474d67..ee5f4966dfc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/shared/file.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/shared/file.cc
@@ -14,8 +14,11 @@
#include "internal/platform/implementation/shared/file.h"
+#include <algorithm>
#include <cstddef>
+#include <ios>
#include <memory>
+#include <string>
#include "absl/memory/memory.h"
#include "absl/strings/string_view.h"
@@ -33,19 +36,20 @@ std::unique_ptr<IOFile> IOFile::CreateInputFile(
IOFile::IOFile(const absl::string_view file_path, size_t size)
: file_(std::string(file_path.data(), file_path.size()),
- std::ios::binary | std::ios::in),
+ std::ios::binary | std::ios::in | std::ios::ate),
path_(file_path),
- total_size_(size) {}
+ total_size_(file_.tellg()) {
+ file_.seekg(0);
+}
std::unique_ptr<IOFile> IOFile::CreateOutputFile(const absl::string_view path) {
return std::unique_ptr<IOFile>(new IOFile(path));
}
IOFile::IOFile(const absl::string_view file_path)
- : file_(std::string(file_path.data(), file_path.size()),
- std::ios::binary | std::ios::out | std::ios::trunc),
- path_({file_path.data(), file_path.size()}),
- total_size_(0) {}
+ : file_(), path_(file_path), total_size_(0) {
+ file_.open(path_, std::ios::binary | std::ios::out);
+}
ExceptionOr<ByteArray> IOFile::Read(std::int64_t size) {
if (!file_.is_open()) {
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/shared/file.h b/chromium/third_party/nearby/src/internal/platform/implementation/shared/file.h
index 2efcc6d4921..fa96bbf55b2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/shared/file.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/shared/file.h
@@ -17,6 +17,7 @@
#include <cstdint>
#include <fstream>
+#include <string>
#include "absl/strings/string_view.h"
#include "internal/platform/exception.h"
@@ -35,9 +36,9 @@ class IOFile final : public api::InputFile, public api::OutputFile {
static std::unique_ptr<IOFile> CreateOutputFile(const absl::string_view path);
ExceptionOr<ByteArray> Read(std::int64_t size) override;
- std::string GetFilePath() const override {
- return std::string(path_.data(), path_.size());
- }
+
+ std::string GetFilePath() const override { return path_; }
+
std::int64_t GetTotalSize() const override { return total_size_; }
Exception Close() override;
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/shared/file_test.cc b/chromium/third_party/nearby/src/internal/platform/implementation/shared/file_test.cc
index 367e9ff011b..b4abf193cbf 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/shared/file_test.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/shared/file_test.cc
@@ -18,6 +18,7 @@
#include <fstream>
#include <memory>
#include <ostream>
+#include <string>
#include "file/util/temp_path.h"
#include "gtest/gtest.h"
@@ -133,7 +134,8 @@ TEST_F(FileTest, IOFile_Write) {
ByteArray bytes2("bc");
EXPECT_EQ(io_file_output->Write(bytes1), Exception{Exception::kSuccess});
EXPECT_EQ(io_file_output->Write(bytes2), Exception{Exception::kSuccess});
- auto io_file_input = shared::IOFile::CreateInputFile(path_, GetSize());
+ auto io_file_input =
+ shared::IOFile::CreateInputFile(io_file_output->GetFilePath(), GetSize());
AssertEquals(io_file_input->Read(kMaxSize), "abc");
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/wifi_hotspot.h b/chromium/third_party/nearby/src/internal/platform/implementation/wifi_hotspot.h
index c32ea37d818..29b519ca414 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/wifi_hotspot.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/wifi_hotspot.h
@@ -95,7 +95,7 @@ class WifiHotspotMedium {
int port) = 0;
// Start a softAP as Hotspot with platform dependent APIs and set the
- // SSID/password pair back to the credentials. BWU module will retieve these
+ // SSID/password pair back to the credentials. BWU module will retrieve these
// credentials and send to the client device through established channel and
// then client may connect to this Hotspot with these credentials.
virtual bool StartWifiHotspot(HotspotCredentials* hotspot_credentials) = 0;
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/wifi_lan.h b/chromium/third_party/nearby/src/internal/platform/implementation/wifi_lan.h
index 4d32c7a1428..34788f9e8a0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/wifi_lan.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/wifi_lan.h
@@ -76,6 +76,9 @@ class WifiLanMedium {
public:
virtual ~WifiLanMedium() = default;
+ // Check if a network connection to a primary router exist.
+ virtual bool IsNetworkConnected() const = 0;
+
// Starts WifiLan advertising.
//
// nsd_service_info - NsdServiceInfo data that's advertised through mDNS
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/BUILD b/chromium/third_party/nearby/src/internal/platform/implementation/windows/BUILD
index bc47babe427..cb17ef5efdb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/BUILD
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/BUILD
@@ -127,7 +127,7 @@ cc_library(
"wifi_lan_socket.cc",
"wifi_medium.cc",
],
- copts = ["-Ithird_party/nearby/internal/platform/implementation/windows/generated"],
+ copts = ["-Ithird_party/nearby/internal/platform/implementation/windows/generated -Ithird_party/nearby/internal/platform/implementation/windows/json"],
defines = ["_SILENCE_CLANG_COROUTINE_MESSAGE"],
visibility = [
"//location/nearby:__subpackages__",
@@ -145,6 +145,7 @@ cc_library(
"//internal/platform/implementation/shared:count_down_latch",
"//internal/platform/implementation/shared:file",
"//internal/platform/implementation/windows/generated:types",
+ "//internal/platform/implementation/windows/json:types",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/strings:str_format",
],
@@ -175,6 +176,7 @@ cc_test(
"atomic_reference_test.cc",
"ble_medium_test.cc",
"ble_v2_test.cc",
+ "bluetooth_adapter_test.cc",
"count_down_latch_test.cc",
"crypto_test.cc",
"executor_test.cc",
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_medium.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_medium.cc
index caeaff22d65..a011d3c3037 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_medium.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_medium.cc
@@ -14,46 +14,110 @@
#include "internal/platform/implementation/windows/ble_medium.h"
+#include <chrono> // NOLINT
#include <future> // NOLINT
+#include <memory>
#include <string>
+#include <utility>
+#include "absl/strings/escaping.h"
#include "absl/synchronization/mutex.h"
-#include "internal/platform/implementation/ble.h"
+#include "absl/synchronization/notification.h"
+#include "absl/time/time.h"
+#include "internal/platform/implementation/windows/ble_peripheral.h"
+#include "internal/platform/implementation/windows/bluetooth_adapter.h"
+#include "internal/platform/implementation/windows/utils.h"
#include "internal/platform/logging.h"
#include "winrt/Windows.Devices.Bluetooth.Advertisement.h"
#include "winrt/Windows.Devices.Bluetooth.h"
#include "winrt/Windows.Foundation.Collections.h"
#include "winrt/Windows.Storage.Streams.h"
+#include "winrt/base.h"
namespace location {
namespace nearby {
namespace windows {
namespace {
+
+// Specifies common Bluetooth error cases.
+// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.bluetootherror?view=winrt-22621
using ::winrt::Windows::Devices::Bluetooth::BluetoothError;
+
+// Represents a Bluetooth LE advertisement payload.
+// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.advertisement.bluetoothleadvertisement?view=winrt-22621
using ::winrt::Windows::Devices::Bluetooth::Advertisement::
BluetoothLEAdvertisement;
+
+// Represents a Bluetooth LE advertisement section. A Bluetooth LE advertisement
+// packet can contain multiple instances of these
+// BluetoothLEAdvertisementDataSection objects.
+// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.advertisement.bluetoothleadvertisementdatasection?view=winrt-22621
using ::winrt::Windows::Devices::Bluetooth::Advertisement::
BluetoothLEAdvertisementDataSection;
+
+// Represents the Bluetooth LE advertisement types defined in the Generic Access
+// Profile (GAP) by the Bluetooth Special Interest Group (SIG).
+// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.advertisement.bluetoothleadvertisementdatatypes?view=winrt-22621
using ::winrt::Windows::Devices::Bluetooth::Advertisement::
BluetoothLEAdvertisementDataTypes;
+
+// Represents an object to send Bluetooth Low Energy (LE) advertisements.
+// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.advertisement.bluetoothleadvertisementpublisher?view=winrt-22621
using ::winrt::Windows::Devices::Bluetooth::Advertisement::
BluetoothLEAdvertisementPublisher;
+
+// Represents the possible states of the BluetoothLEAdvertisementPublisher.
+// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.advertisement.bluetoothleadvertisementpublisherstatus?view=winrt-22621
using ::winrt::Windows::Devices::Bluetooth::Advertisement::
BluetoothLEAdvertisementPublisherStatus;
+
+// Provides data for a StatusChanged event on a
+// BluetoothLEAdvertisementPublisher.
+// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.advertisement.bluetoothleadvertisementpublisherstatuschangedeventargs?view=winrt-22621
using ::winrt::Windows::Devices::Bluetooth::Advertisement::
BluetoothLEAdvertisementPublisherStatusChangedEventArgs;
+
+// Provides data for a Received event on a BluetoothLEAdvertisementWatcher. A
+// BluetoothLEAdvertisementReceivedEventArgs instance is created when the
+// Received event occurs on a BluetoothLEAdvertisementWatcher object.
+// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.advertisement.bluetoothleadvertisementreceivedeventargs?view=winrt-22621
using ::winrt::Windows::Devices::Bluetooth::Advertisement::
BluetoothLEAdvertisementReceivedEventArgs;
+
+// Represents an object to receive Bluetooth Low Energy (LE) advertisements.
+// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.advertisement.bluetoothleadvertisementwatcher?view=winrt-22621
using ::winrt::Windows::Devices::Bluetooth::Advertisement::
BluetoothLEAdvertisementWatcher;
+
+// Represents the possible states of the BluetoothLEAdvertisementWatcher.
+// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.advertisement.bluetoothleadvertisementwatcherstatus?view=winrt-22621
using ::winrt::Windows::Devices::Bluetooth::Advertisement::
BluetoothLEAdvertisementWatcherStatus;
+
+// Provides data for a Stopped event on a BluetoothLEAdvertisementWatcher. A
+// BluetoothLEAdvertisementWatcherStoppedEventArgs instance is created when the
+// Stopped event occurs on a BluetoothLEAdvertisementWatcher object.
+// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.advertisement.bluetoothleadvertisementwatcherstoppedeventargs?view=winrt-22621
using ::winrt::Windows::Devices::Bluetooth::Advertisement::
BluetoothLEAdvertisementWatcherStoppedEventArgs;
+
+// Defines constants that specify a Bluetooth LE scanning mode.
+// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.advertisement.bluetoothlescanningmode?view=winrt-22621
using ::winrt::Windows::Devices::Bluetooth::Advertisement::
BluetoothLEScanningMode;
+
+// Reads data from an input stream.
+// https://docs.microsoft.com/en-us/uwp/api/windows.storage.streams.datareader?view=winrt-22621
+using ::winrt::Windows::Storage::Streams::DataReader;
+
+// Writes data to an output stream.
+// https://docs.microsoft.com/en-us/uwp/api/windows.storage.streams.datawriter?view=winrt-22621
using ::winrt::Windows::Storage::Streams::DataWriter;
+// Represents a time interval as a signed 64-bit integer value.
+// https://docs.microsoft.com/en-us/uwp/api/windows.foundation.timespan?view=winrt-22621
+using ::winrt::Windows::Foundation::TimeSpan;
+
template <typename T>
using IVector = winrt::Windows::Foundation::Collections::IVector<T>;
@@ -62,155 +126,228 @@ constexpr uint16_t kCopresenceServiceUuid = 0xf3fe;
} // namespace
BleMedium::BleMedium(api::BluetoothAdapter& adapter)
- : adapter_(static_cast<api::BluetoothAdapter*>(&adapter)) {}
+ : adapter_(static_cast<BluetoothAdapter*>(&adapter)) {}
bool BleMedium::StartAdvertising(
const std::string& service_id, const ByteArray& advertisement_bytes,
const std::string& fast_advertisement_service_uuid) {
- absl::MutexLock lock(&mutex_);
-
- NEARBY_LOGS(INFO) << "Windows Ble StartAdvertising: service_id=" << service_id
- << ", advertisement bytes=" << advertisement_bytes.data()
- << "(" << advertisement_bytes.size() << "),"
- << " fast advertisement service uuid="
- << fast_advertisement_service_uuid;
+ try {
+ if (!adapter_->IsEnabled()) {
+ NEARBY_LOGS(WARNING) << "BLE cannot start advertising because the "
+ "bluetooth adapter is not enabled.";
+ return false;
+ }
- DataWriter data_writer;
+ NEARBY_LOGS(INFO) << "Windows Ble StartAdvertising: service_id="
+ << service_id << ", advertisement bytes= 0x"
+ << absl::BytesToHexString(advertisement_bytes.data())
+ << "(" << advertisement_bytes.size() << "),"
+ << " fast advertisement service uuid= 0x"
+ << absl::BytesToHexString(
+ fast_advertisement_service_uuid);
+
+ if (is_publisher_started_) {
+ NEARBY_LOGS(WARNING)
+ << "BLE cannot start to advertise again when it is running.";
+ return false;
+ }
- // TODO(b/234229562): Add parsing logic for fast_advertisement_service_uuid
- // and insert into the 0x16 Service Data field in the BLE advertisement when
- // Fast Advertisement is enabled. For Extended Advertising, use the same
- // hardcoded Copresence service uuid 0xFEF3.
+ DataWriter data_writer;
- // Copresence Service UUID 0xfef3 (little-endian)
- data_writer.WriteUInt16(kCopresenceServiceUuid);
+ // TODO(b/234229562): Add parsing logic for fast_advertisement_service_uuid
+ // and insert into the 0x16 Service Data field in the BLE advertisement when
+ // Fast Advertisement is enabled. For Extended Advertising, use the same
+ // hardcoded Copresence service uuid 0xFEF3.
- for (int i = 0; i < advertisement_bytes.size(); ++i) {
- data_writer.WriteByte(
- static_cast<uint8_t>(*(advertisement_bytes.data() + i)));
- }
+ // Copresence Service UUID 0xfef3 (little-endian)
+ data_writer.WriteUInt16(kCopresenceServiceUuid);
- BluetoothLEAdvertisementDataSection service_data =
- BluetoothLEAdvertisementDataSection(0x16, data_writer.DetachBuffer());
+ for (int i = 0; i < advertisement_bytes.size(); ++i) {
+ data_writer.WriteByte(
+ static_cast<uint8_t>(*(advertisement_bytes.data() + i)));
+ }
- IVector<BluetoothLEAdvertisementDataSection> data_sections =
- advertisement_.DataSections();
- data_sections.Append(service_data);
- advertisement_.DataSections() = data_sections;
+ BluetoothLEAdvertisementDataSection service_data =
+ BluetoothLEAdvertisementDataSection(0x16, data_writer.DetachBuffer());
- // Use Extended Advertising if Fast Advertisement Service Uuid is empty string
- // because the long format advertisement will be used
- if (fast_advertisement_service_uuid.empty()) {
- publisher_ = BluetoothLEAdvertisementPublisher(advertisement_);
- publisher_.UseExtendedAdvertisement(true);
+ IVector<BluetoothLEAdvertisementDataSection> data_sections =
+ advertisement_.DataSections();
+ data_sections.Append(service_data);
+ advertisement_.DataSections() = data_sections;
+ // Use Extended Advertising if Fast Advertisement Service Uuid is empty
+ // string because the long format advertisement will be used
+ if (fast_advertisement_service_uuid.empty()) {
+ publisher_ = BluetoothLEAdvertisementPublisher(advertisement_);
+ publisher_.UseExtendedAdvertisement(true);
+ } else {
+ // Extended Advertisement not supported, must make sure
+ // advertisement_bytes is less than 27 bytes
+ if (advertisement_bytes.size() <= 27) {
+ publisher_ = BluetoothLEAdvertisementPublisher(advertisement_);
+ publisher_.UseExtendedAdvertisement(false);
+ } else {
+ // otherwise no-op
+ NEARBY_LOGS(INFO) << "Everyone Mode unavailable for hardware that does "
+ "not support Extended Advertising.";
+ publisher_ = nullptr;
+ return false;
+ }
+ }
publisher_token_ =
publisher_.StatusChanged({this, &BleMedium::PublisherHandler});
- publisher_started_promise_ = std::promise<PublisherState>();
-
- std::future<PublisherState> publisher_state_future =
- publisher_started_promise_.get_future();
-
publisher_.Start();
- return publisher_state_future.get() == PublisherState::kStarted;
- } else {
- // Extended Advertisement not supported, must make sure advertisement_bytes
- // is less than 27 bytes
- if (advertisement_bytes.size() <= 27) {
- publisher_ = BluetoothLEAdvertisementPublisher(advertisement_);
- publisher_.UseExtendedAdvertisement(false);
+ is_publisher_started_ = true;
+ NEARBY_LOGS(INFO) << "Windows Ble StartAdvertising started.";
+ return true;
+ } catch (std::exception exception) {
+ NEARBY_LOGS(ERROR) << __func__ << ": Exception to start BLE advertising: "
+ << exception.what();
- publisher_token_ =
- publisher_.StatusChanged({this, &BleMedium::PublisherHandler});
+ return false;
+ } catch (const winrt::hresult_error& ex) {
+ NEARBY_LOGS(ERROR) << __func__
+ << ": Exception to start BLE advertising: " << ex.code()
+ << ": " << winrt::to_string(ex.message());
- publisher_started_promise_ = std::promise<PublisherState>();
+ return false;
+ }
+}
- std::future<PublisherState> publisher_state_future =
- publisher_started_promise_.get_future();
+bool BleMedium::StopAdvertising(const std::string& service_id) {
+ try {
+ if (!adapter_->IsEnabled()) {
+ NEARBY_LOGS(WARNING) << "BLE cannot stop advertising because the "
+ "bluetooth adapter is not enabled.";
+ return false;
+ }
- publisher_.Start();
+ NEARBY_LOGS(INFO) << "Windows Ble StopAdvertising: service_id="
+ << service_id;
- return publisher_state_future.get() == PublisherState::kStarted;
- } else {
- // otherwise no-op
- NEARBY_LOGS(INFO) << "Everyone Mode unavailable for hardware that does "
- "not support Extended Advertising.";
+ if (!is_publisher_started_) {
+ NEARBY_LOGS(WARNING) << "BLE advertising is not running.";
return false;
}
- }
-}
-bool BleMedium::StopAdvertising(const std::string& service_id) {
- absl::MutexLock lock(&mutex_);
-
- NEARBY_LOGS(INFO) << "Windows Ble StopAdvertising: service_id=" << service_id;
+ publisher_.Stop();
- publisher_stopped_promise_ = std::promise<PublisherState>();
+ // Don't need to wait for the status becomes to `Stopped`. If application
+ // starts to scanning immediately, the scanning still needs to wait the
+ // stopping to finish.
+ is_publisher_started_ = false;
- std::future<PublisherState> publisher_state_future =
- publisher_stopped_promise_.get_future();
+ return true;
+ } catch (std::exception exception) {
+ NEARBY_LOGS(ERROR) << __func__ << ": Exception to stop BLE advertising: "
+ << exception.what();
- publisher_.Stop();
+ return false;
+ } catch (const winrt::hresult_error& ex) {
+ NEARBY_LOGS(ERROR) << __func__
+ << ": Exception to stop BLE advertising: " << ex.code()
+ << ": " << winrt::to_string(ex.message());
- return publisher_state_future.get() == PublisherState::kStopped;
+ return false;
+ }
}
-// TODO(b/234229557): Add BlePeripheral discovery logic
bool BleMedium::StartScanning(
const std::string& service_id,
const std::string& fast_advertisement_service_uuid,
DiscoveredPeripheralCallback callback) {
- absl::MutexLock lock(&mutex_);
-
- NEARBY_LOGS(INFO) << "Windows Ble StartScanning: service_id=" << service_id;
-
- advertisement_received_callback_ = std::move(callback);
+ try {
+ if (!adapter_->IsEnabled()) {
+ NEARBY_LOGS(WARNING) << "BLE cannot start scanning because the "
+ "bluetooth adapter is not enabled.";
+ return false;
+ }
- watcher_token_ = watcher_.Stopped({this, &BleMedium::WatcherHandler});
- advertisement_received_token_ =
- watcher_.Received({this, &BleMedium::AdvertisementReceivedHandler});
+ NEARBY_LOGS(INFO) << "Windows Ble StartScanning: service_id=" << service_id;
- watcher_started_promise_ = std::promise<WatcherState>();
+ if (is_watcher_started_) {
+ NEARBY_LOGS(WARNING)
+ << "BLE cannot start to scan again when it is running.";
+ return false;
+ }
- std::future<WatcherState> watcher_state_future =
- watcher_started_promise_.get_future();
+ service_id_ = service_id;
+ advertisement_received_callback_ = std::move(callback);
- // Active mode indicates that scan request packets will be sent to query for
- // Scan Response
- watcher_.ScanningMode(BluetoothLEScanningMode::Active);
- watcher_.Start();
+ watcher_ = BluetoothLEAdvertisementWatcher();
+ watcher_token_ = watcher_.Stopped({this, &BleMedium::WatcherHandler});
+ advertisement_received_token_ =
+ watcher_.Received({this, &BleMedium::AdvertisementReceivedHandler});
- while (!is_watcher_started_) {
- if (watcher_.Status() == BluetoothLEAdvertisementWatcherStatus::Created) {
- watcher_started_promise_.set_value(WatcherState::kStarted);
- return true;
+ if (adapter_->IsExtendedAdvertisingSupported()) {
+ watcher_.AllowExtendedAdvertisements(true);
}
+ // Active mode indicates that scan request packets will be sent to query for
+ // Scan Response
+ watcher_.ScanningMode(BluetoothLEScanningMode::Active);
+ ::winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter filter;
+ filter.SamplingInterval(TimeSpan(std::chrono::seconds(2)));
+ watcher_.SignalStrengthFilter(filter);
+ watcher_.Start();
+
+ is_watcher_started_ = true;
+
+ NEARBY_LOGS(INFO) << "Windows Ble StartScanning started.";
+ return true;
+ } catch (std::exception exception) {
+ NEARBY_LOGS(ERROR) << __func__ << ": Exception to start BLE scanning: "
+ << exception.what();
+
+ return false;
+ } catch (const winrt::hresult_error& ex) {
+ NEARBY_LOGS(ERROR) << __func__
+ << ": Exception to start BLE scanning: " << ex.code()
+ << ": " << winrt::to_string(ex.message());
+
+ return false;
}
- return true;
}
bool BleMedium::StopScanning(const std::string& service_id) {
- absl::MutexLock lock(&mutex_);
- NEARBY_LOGS(INFO) << "Windows Ble StopScanning: service_id=" << service_id;
+ try {
+ if (!adapter_->IsEnabled()) {
+ NEARBY_LOGS(WARNING) << "BLE cannot stop scanning because the "
+ "bluetooth adapter is not enabled.";
+ return false;
+ }
- watcher_stopped_promise_ = std::promise<WatcherState>();
+ NEARBY_LOGS(INFO) << "Windows Ble StopScanning: service_id=" << service_id;
- std::future<WatcherState> watcher_state_future =
- watcher_stopped_promise_.get_future();
+ if (!is_watcher_started_) {
+ NEARBY_LOGS(WARNING) << "BLE scanning is not running.";
+ return false;
+ }
- watcher_.Stop();
+ watcher_.Stop();
- while (!is_watcher_stopped_) {
- if (watcher_.Status() == BluetoothLEAdvertisementWatcherStatus::Stopped) {
- watcher_stopped_promise_.set_value(WatcherState::kStopped);
- watcher_.Stopped(watcher_token_);
- watcher_.Received(advertisement_received_token_);
- return true;
- }
+ // Don't need to wait for the status becomes to `Stopped`. If application
+ // starts to scanning immediately, the scanning still needs to wait the
+ // stopping to finish.
+ is_watcher_started_ = false;
+
+ NEARBY_LOGS(ERROR)
+ << "Windows Ble stoped scanning successfully for service_id="
+ << service_id;
+ return true;
+ } catch (std::exception exception) {
+ NEARBY_LOGS(ERROR) << __func__ << ": Exception to stop BLE scanning: "
+ << exception.what();
+
+ return false;
+ } catch (const winrt::hresult_error& ex) {
+ NEARBY_LOGS(ERROR) << __func__
+ << ": Exception to stop BLE scanning: " << ex.code()
+ << ": " << winrt::to_string(ex.message());
+
+ return false;
}
- return true;
}
bool BleMedium::StartAcceptingConnections(const std::string& service_id,
@@ -245,16 +382,42 @@ std::unique_ptr<api::BleSocket> BleMedium::Connect(
void BleMedium::PublisherHandler(
BluetoothLEAdvertisementPublisher publisher,
BluetoothLEAdvertisementPublisherStatusChangedEventArgs args) {
+ // This method is called when publisher's status is changed.
switch (args.Status()) {
+ case BluetoothLEAdvertisementPublisherStatus::Created:
+ NEARBY_LOGS(INFO) << "Nearby BLE Medium created to advertise.";
+ return;
case BluetoothLEAdvertisementPublisherStatus::Started:
- publisher_started_promise_.set_value(PublisherState::kStarted);
- break;
+ NEARBY_LOGS(INFO) << "Nearby BLE Medium started to advertise.";
+ return;
+ case BluetoothLEAdvertisementPublisherStatus::Stopping:
+ NEARBY_LOGS(INFO) << "Nearby BLE Medium is stopping.";
+ return;
+ case BluetoothLEAdvertisementPublisherStatus::Waiting:
+ NEARBY_LOGS(INFO) << "Nearby BLE Medium is waiting.";
+ return;
case BluetoothLEAdvertisementPublisherStatus::Stopped:
- publisher_stopped_promise_.set_value(PublisherState::kStopped);
- publisher_.StatusChanged(publisher_token_);
+ NEARBY_LOGS(INFO) << "Nearby BLE Medium stopped to advertise.";
break;
case BluetoothLEAdvertisementPublisherStatus::Aborted:
switch (args.Error()) {
+ case BluetoothError::Success:
+ if (publisher_.Status() ==
+ BluetoothLEAdvertisementPublisherStatus::Started) {
+ NEARBY_LOGS(ERROR)
+ << "Nearby BLE Medium start advertising operation was "
+ "successfully completed or serviced.";
+ }
+ if (publisher_.Status() ==
+ BluetoothLEAdvertisementPublisherStatus::Stopped) {
+ NEARBY_LOGS(ERROR)
+ << "Nearby BLE Medium stop advertising operation was "
+ "successfully completed or serviced.";
+ } else {
+ NEARBY_LOGS(ERROR) << "Nearby BLE Medium advertising failed due to "
+ "unknown errors.";
+ }
+ break;
case BluetoothError::RadioNotAvailable:
NEARBY_LOGS(ERROR) << "Nearby BLE Medium advertising failed due to "
"radio not available.";
@@ -263,6 +426,10 @@ void BleMedium::PublisherHandler(
NEARBY_LOGS(ERROR)
<< "Nearby BLE Medium advertising failed due to resource in use.";
break;
+ case BluetoothError::DeviceNotConnected:
+ NEARBY_LOGS(ERROR) << "Nearby BLE Medium advertising failed due to "
+ "remote device is not connected.";
+ break;
case BluetoothError::DisabledByPolicy:
NEARBY_LOGS(ERROR) << "Nearby BLE Medium advertising failed due to "
"disabled by policy.";
@@ -289,113 +456,146 @@ void BleMedium::PublisherHandler(
<< "Nearby BLE Medium advertising failed due to unknown errors.";
break;
}
- publisher_started_promise_.set_value(PublisherState::kError);
- publisher_stopped_promise_.set_value(PublisherState::kError);
break;
default:
break;
}
+
+ // The publisher is stopped. Clean up the running publisher
+ if (publisher_ != nullptr) {
+ NEARBY_LOGS(ERROR) << "Nearby BLE Medium cleaned the publisher.";
+ publisher_.StatusChanged(publisher_token_);
+ publisher_ = nullptr;
+ is_publisher_started_ = false;
+ }
}
void BleMedium::WatcherHandler(
BluetoothLEAdvertisementWatcher watcher,
BluetoothLEAdvertisementWatcherStoppedEventArgs args) {
+ // This method is called when watcher stopped. Args give more detailed
+ // information on the reason.
switch (args.Error()) {
+ case BluetoothError::Success:
+ NEARBY_LOGS(ERROR) << "Nearby BLE Medium stoped to scan successfully.";
+ break;
case BluetoothError::RadioNotAvailable:
NEARBY_LOGS(ERROR)
- << "Nearby BLE Medium scanning failed due to radio not available.";
- watcher_started_promise_.set_value(WatcherState::kError);
- watcher_stopped_promise_.set_value(WatcherState::kError);
+ << "Nearby BLE Medium stoped to scan due to radio not available.";
break;
case BluetoothError::ResourceInUse:
NEARBY_LOGS(ERROR)
- << "Nearby BLE Medium scanning failed due to resource in use.";
- watcher_started_promise_.set_value(WatcherState::kError);
- watcher_stopped_promise_.set_value(WatcherState::kError);
+ << "Nearby BLE Medium stoped to scan due to resource in use.";
+ break;
+ case BluetoothError::DeviceNotConnected:
+ NEARBY_LOGS(ERROR) << "Nearby BLE Medium stoped to scan due to "
+ "remote device is not connected.";
break;
case BluetoothError::DisabledByPolicy:
NEARBY_LOGS(ERROR)
- << "Nearby BLE Medium scanning failed due to disabled by policy.";
- watcher_started_promise_.set_value(WatcherState::kError);
- watcher_stopped_promise_.set_value(WatcherState::kError);
+ << "Nearby BLE Medium stoped to scan due to disabled by policy.";
break;
case BluetoothError::DisabledByUser:
NEARBY_LOGS(ERROR)
- << "Nearby BLE Medium scanning failed due to disabled by user.";
- watcher_started_promise_.set_value(WatcherState::kError);
- watcher_stopped_promise_.set_value(WatcherState::kError);
+ << "Nearby BLE Medium stoped to scan due to disabled by user.";
break;
case BluetoothError::NotSupported:
NEARBY_LOGS(ERROR)
- << "Nearby BLE Medium scanning failed due to hardware not supported.";
- watcher_started_promise_.set_value(WatcherState::kError);
- watcher_stopped_promise_.set_value(WatcherState::kError);
+ << "Nearby BLE Medium stoped to scan due to hardware not supported.";
break;
case BluetoothError::TransportNotSupported:
- NEARBY_LOGS(ERROR) << "Nearby BLE Medium scanning failed due to "
+ NEARBY_LOGS(ERROR) << "Nearby BLE Medium stoped to scan due to "
"transport not supported.";
- watcher_started_promise_.set_value(WatcherState::kError);
- watcher_stopped_promise_.set_value(WatcherState::kError);
break;
case BluetoothError::ConsentRequired:
NEARBY_LOGS(ERROR)
- << "Nearby BLE Medium scanning failed due to consent required.";
- watcher_started_promise_.set_value(WatcherState::kError);
- watcher_stopped_promise_.set_value(WatcherState::kError);
+ << "Nearby BLE Medium stoped to scan due to consent required.";
break;
case BluetoothError::OtherError:
NEARBY_LOGS(ERROR)
- << "Nearby BLE Medium scanning failed due to unknown errors.";
- watcher_started_promise_.set_value(WatcherState::kError);
- watcher_stopped_promise_.set_value(WatcherState::kError);
+ << "Nearby BLE Medium stoped to scan due to unknown errors.";
break;
default:
- if (watcher_.Status() == BluetoothLEAdvertisementWatcherStatus::Started) {
- watcher_started_promise_.set_value(WatcherState::kStarted);
- is_watcher_started_ = true;
- }
- if (watcher_.Status() == BluetoothLEAdvertisementWatcherStatus::Stopped) {
- watcher_stopped_promise_.set_value(WatcherState::kStopped);
- watcher_.Stopped(watcher_token_);
- watcher_.Received(advertisement_received_token_);
- is_watcher_stopped_ = true;
- } else {
- NEARBY_LOGS(ERROR)
- << "Nearby BLE Medium scanning failed due to unknown errors.";
- watcher_started_promise_.set_value(WatcherState::kError);
- watcher_stopped_promise_.set_value(WatcherState::kError);
- }
+ NEARBY_LOGS(ERROR)
+ << "Nearby BLE Medium stoped to scan due to unknown errors.";
break;
}
+
+ // No matter the reason, should clean up the watcher if it is not empty.
+ // The BLE V1 interface doesn't have API to return the error to upper layer.
+ if (watcher_ != nullptr) {
+ NEARBY_LOGS(ERROR) << "Nearby BLE Medium cleaned the watcher.";
+ watcher_.Stopped(watcher_token_);
+ watcher_.Received(advertisement_received_token_);
+ watcher_ = nullptr;
+ is_watcher_started_ = false;
+ }
}
void BleMedium::AdvertisementReceivedHandler(
BluetoothLEAdvertisementWatcher watcher,
BluetoothLEAdvertisementReceivedEventArgs args) {
// Handle all BLE advertisements and determine whether the BLE Medium
- // Advertisement Scan Response packet (containing Copresence UUID 0xFEF3) has
- // been received in the handler
- std::array<uint8_t, 8> bluetooth_base_array = {
- static_cast<uint8_t>(0x80), static_cast<uint8_t>(0x00),
- static_cast<uint8_t>(0x00), static_cast<uint8_t>(0x80),
- static_cast<uint8_t>(0x5F), static_cast<uint8_t>(0x9B),
- static_cast<uint8_t>(0x34), static_cast<uint8_t>(0xFB)};
- winrt::guid kCopresenceServiceUuid128bit(
- static_cast<uint32_t>(0x0000FEF3), static_cast<uint16_t>(0x0000),
- static_cast<uint16_t>(0x1000), bluetooth_base_array);
-
- IVector<winrt::guid> guids = args.Advertisement().ServiceUuids();
- bool is_advertisement_found = false;
- for (const winrt::guid& uuid : guids) {
- if (uuid == kCopresenceServiceUuid128bit) {
- is_advertisement_found = true;
+ // Advertisement Scan Response packet (containing Copresence UUID 0xFEF3 in
+ // 0x16 Service Data) has been received in the handler
+ BluetoothLEAdvertisement advertisement = args.Advertisement();
+
+ for (BluetoothLEAdvertisementDataSection service_data :
+ advertisement.GetSectionsByType(0x16)) {
+ // Parse Advertisement Data for Section 0x16 (Service Data)
+ DataReader data_reader = DataReader::FromBuffer(service_data.Data());
+
+ // Discard the first 2 bytes of Service Uuid in Service Data
+ uint8_t first_byte = data_reader.ReadByte(); // 0xf3
+ uint8_t second_byte = data_reader.ReadByte(); // 0xfe
+
+ if (first_byte == 0xf3 && second_byte == 0xfe) {
+ std::string data;
+
+ uint8_t unconsumed_buffer_length = data_reader.UnconsumedBufferLength();
+ for (int i = 0; i < unconsumed_buffer_length; i++) {
+ data.append(1, static_cast<unsigned char>(data_reader.ReadByte()));
+ }
+
+ ByteArray advertisement_data(data);
+
+ NEARBY_LOGS(VERBOSE)
+ << "Nearby BLE Medium 0xFEF3 Advertisement discovered. "
+ "0x16 Service data: advertisement bytes= 0x"
+ << absl::BytesToHexString(advertisement_data.data()) << "("
+ << advertisement_data.size() << ")";
+
+ std::string peripheral_name =
+ uint64_to_mac_address_string(args.BluetoothAddress());
+
+ std::unique_ptr<BlePeripheral> peripheral =
+ std::make_unique<BlePeripheral>();
+ peripheral->SetName(peripheral_name);
+ peripheral->SetAdvertisementBytes(advertisement_data);
+ BlePeripheral* peripheral_ptr = peripheral.get();
+
+ {
+ absl::MutexLock lock(&peripheral_map_mutex_);
+ peripheral_map_[peripheral_name] = std::move(peripheral);
+ }
+
+ // Received Fast Advertisement packet
+ if (unconsumed_buffer_length <= 27) {
+ NEARBY_LOGS(INFO)
+ << "Sending Fast Advertisement packet for processing.";
+ advertisement_received_callback_.peripheral_discovered_cb(
+ /*ble_peripheral*/ *peripheral_ptr, /*service_id*/ service_id_,
+ /*is_fast_advertisement*/ true);
+ } else {
+ // Received Extended Advertising packet
+ NEARBY_LOGS(INFO)
+ << "Sending Extended Advertising packet for processing.";
+ advertisement_received_callback_.peripheral_discovered_cb(
+ /*ble_peripheral*/ *peripheral_ptr, /*service_id*/ service_id_,
+ /*is_fast_advertisement*/ false);
+ }
}
}
- if (is_advertisement_found == true) {
- BlePeripheral peripheral;
- advertisement_received_callback_.peripheral_discovered_cb(peripheral,
- "\xfe\xf3", true);
- }
}
} // namespace windows
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_medium.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_medium.h
index 6841734bb31..28ee984ceaf 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_medium.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_medium.h
@@ -19,12 +19,16 @@
#include <functional>
#include <future> // NOLINT
+#include <memory>
#include <string>
+#include <utility>
+#include "absl/container/flat_hash_map.h"
#include "absl/synchronization/mutex.h"
#include "internal/platform/implementation/ble.h"
#include "internal/platform/implementation/bluetooth_adapter.h"
#include "internal/platform/implementation/windows/ble.h"
+#include "internal/platform/implementation/windows/bluetooth_adapter.h"
#include "winrt/Windows.Devices.Bluetooth.Advertisement.h"
namespace location {
@@ -45,59 +49,35 @@ class BleMedium : public api::BleMedium {
bool StartAdvertising(
const std::string& service_id, const ByteArray& advertisement_bytes,
- const std::string& fast_advertisement_service_uuid) override
- ABSL_LOCKS_EXCLUDED(mutex_);
+ const std::string& fast_advertisement_service_uuid) override;
- bool StopAdvertising(const std::string& service_id) override
- ABSL_LOCKS_EXCLUDED(mutex_);
+ bool StopAdvertising(const std::string& service_id) override;
// Returns true once the BLE scan has been initiated.
bool StartScanning(const std::string& service_id,
const std::string& fast_advertisement_service_uuid,
- DiscoveredPeripheralCallback callback) override
- ABSL_LOCKS_EXCLUDED(mutex_);
+ DiscoveredPeripheralCallback callback) override;
// Returns true once BLE scanning for service_id is well and truly stopped;
// after this returns, there must be no more invocations of the
// DiscoveredPeripheralCallback passed in to StartScanning() for service_id.
- bool StopScanning(const std::string& service_id) override
- ABSL_LOCKS_EXCLUDED(mutex_);
+ bool StopScanning(const std::string& service_id) override;
// Returns true once BLE socket connection requests to service_id can be
// accepted.
bool StartAcceptingConnections(const std::string& service_id,
- AcceptedConnectionCallback callback) override
- ABSL_LOCKS_EXCLUDED(mutex_);
+ AcceptedConnectionCallback callback) override;
- bool StopAcceptingConnections(const std::string& service_id) override
- ABSL_LOCKS_EXCLUDED(mutex_);
+ bool StopAcceptingConnections(const std::string& service_id) override;
// Connects to a BLE peripheral.
// On success, returns a new BleSocket.
// On error, returns nullptr.
- std::unique_ptr<api::BleSocket> Connect(
- api::BlePeripheral& peripheral, const std::string& service_id,
- CancellationFlag* cancellation_flag) override ABSL_LOCKS_EXCLUDED(mutex_);
+ std::unique_ptr<api::BleSocket> Connect(api::BlePeripheral& peripheral,
+ const std::string& service_id,
+ CancellationFlag* cancellation_flag);
private:
- enum class PublisherState { kStarted = 0, kStopped, kError };
-
- enum class WatcherState { kStarted = 0, kStopped, kError };
-
- absl::Mutex mutex_;
- api::BluetoothAdapter* adapter_;
- ByteArray advertisement_byte_ ABSL_GUARDED_BY(mutex_);
-
- DiscoveredPeripheralCallback advertisement_received_callback_;
-
- // WinRT objects
- ::winrt::Windows::Devices::Bluetooth::Advertisement::
- BluetoothLEAdvertisementPublisher publisher_;
- ::winrt::Windows::Devices::Bluetooth::Advertisement::
- BluetoothLEAdvertisementWatcher watcher_;
- ::winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement
- advertisement_;
-
void PublisherHandler(
::winrt::Windows::Devices::Bluetooth::Advertisement::
BluetoothLEAdvertisementPublisher publisher,
@@ -113,16 +93,30 @@ class BleMedium : public api::BleMedium {
::winrt::Windows::Devices::Bluetooth::Advertisement::
BluetoothLEAdvertisementWatcherStoppedEventArgs args);
- ::winrt::event_token publisher_token_;
- std::promise<PublisherState> publisher_started_promise_;
- std::promise<PublisherState> publisher_stopped_promise_;
+ BluetoothAdapter* adapter_;
+ std::string service_id_;
- ::winrt::event_token watcher_token_;
- std::promise<WatcherState> watcher_started_promise_;
- std::promise<WatcherState> watcher_stopped_promise_;
+ DiscoveredPeripheralCallback advertisement_received_callback_;
+
+ // Map to protect the pointer for BlePeripheral because
+ // DiscoveredPeripheralCallback only keeps the pointer to the object
+ absl::Mutex peripheral_map_mutex_;
+ absl::flat_hash_map<std::string, std::unique_ptr<BlePeripheral>>
+ peripheral_map_ ABSL_GUARDED_BY(peripheral_map_mutex_);
+
+ // WinRT objects
+ ::winrt::Windows::Devices::Bluetooth::Advertisement::
+ BluetoothLEAdvertisementPublisher publisher_ = nullptr;
+ ::winrt::Windows::Devices::Bluetooth::Advertisement::
+ BluetoothLEAdvertisementWatcher watcher_ = nullptr;
+ ::winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement
+ advertisement_;
+
+ bool is_publisher_started_ = false;
bool is_watcher_started_ = false;
- bool is_watcher_stopped_ = false;
+ ::winrt::event_token publisher_token_;
+ ::winrt::event_token watcher_token_;
::winrt::event_token advertisement_received_token_;
};
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_peripheral.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_peripheral.h
index e2d7b879767..2aa709671ae 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_peripheral.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_peripheral.h
@@ -35,12 +35,24 @@ class BlePeripheral : public api::BlePeripheral {
public:
~BlePeripheral() override = default;
- std::string GetName() const override { return ""; }
+ std::string GetName() const override { return name_; }
ByteArray GetAdvertisementBytes(
const std::string& service_id) const override {
- return ByteArray{};
+ return advertisement_data_;
}
+
+ void SetName(const std::string& name) {
+ name_ = name;
+ }
+
+ void SetAdvertisementBytes(ByteArray advertisement_bytes) {
+ advertisement_data_ = advertisement_bytes;
+ }
+
+ private:
+ std::string name_;
+ ByteArray advertisement_data_;
};
} // namespace windows
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_v2.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_v2.cc
index 3c149e03e28..50d7792de3a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_v2.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/ble_v2.cc
@@ -203,7 +203,7 @@ bool BleV2Medium::StartScanning(const Uuid& service_uuid,
advertisement_received_token_ =
watcher_.Received({this, &BleV2Medium::AdvertisementReceivedHandler});
- // Active mode indicates that scan request packes will be sent to query for
+ // Active mode indicates that scan request packets will be sent to query for
// Scan Response
watcher_.ScanningMode(BluetoothLEScanningMode::Active);
watcher_.Start();
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_adapter.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_adapter.cc
index 21cf2703c96..e5f147b6231 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_adapter.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_adapter.cc
@@ -14,8 +14,6 @@
#include "internal/platform/implementation/windows/bluetooth_adapter.h"
-#include <windows.h> // These two headers must be defined
-#include <winioctl.h> // first and in this order
#include <bthdef.h>
#include <bthioctl.h>
#include <cfgmgr32.h>
@@ -25,11 +23,14 @@
#include <setupapi.h>
#include <stdio.h>
#include <usbiodef.h>
+#include <windows.h> // These two headers must be defined
+#include <winioctl.h> // first and in this order
#include <string>
#include "absl/strings/str_format.h"
#include "internal/platform/implementation/windows/generated/winrt/Windows.Foundation.h"
+#include "internal/platform/implementation/windows/json/json.hpp"
#include "internal/platform/implementation/windows/utils.h"
#include "internal/platform/logging.h"
@@ -46,14 +47,37 @@ typedef std::basic_string<TCHAR> tstring;
namespace location {
namespace nearby {
namespace windows {
+namespace {
+struct LocalSettings {
+ std::string original_radio_name;
+ std::string nearby_radio_name;
+};
+
+using json = ::nlohmann::json;
+
+constexpr absl::string_view kLocalSettingsFileName = "settings_file.json";
+constexpr char kOriginalRadioName[] = "OriginalRadioName";
+constexpr char kNearbyRadioName[] = "NearbyRadioName";
+
+void to_json(json &json_output, const LocalSettings &local_settings) {
+ json_output = json{{kOriginalRadioName, local_settings.original_radio_name},
+ {kNearbyRadioName, local_settings.nearby_radio_name}};
+}
+
+void from_json(const json &json_input, LocalSettings &local_settings) {
+ json_input.at(kOriginalRadioName).get_to(local_settings.original_radio_name);
+ json_input.at(kNearbyRadioName).get_to(local_settings.nearby_radio_name);
+}
+} // namespace
+
+constexpr uint8_t kAndroidDiscoverableBluetoothNameMaxLength = 37; // bytes
-BluetoothAdapter::BluetoothAdapter() {
+BluetoothAdapter::BluetoothAdapter() : windows_bluetooth_adapter_(nullptr) {
windows_bluetooth_adapter_ =
winrt::Windows::Devices::Bluetooth::BluetoothAdapter::GetDefaultAsync()
.get();
if (windows_bluetooth_adapter_ == nullptr) {
- NEARBY_LOGS(ERROR)
- << __func__ << ": No Bluetooth adapter on this device.";
+ NEARBY_LOGS(ERROR) << __func__ << ": No Bluetooth adapter on this device.";
} else {
// Gets the radio represented by this Bluetooth adapter.
// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.bluetoothadapter.getradioasync?view=winrt-20348
@@ -64,19 +88,39 @@ BluetoothAdapter::BluetoothAdapter() {
// Synchronously sets the status of the BluetoothAdapter to 'status', and
// returns true if the operation was a success.
bool BluetoothAdapter::SetStatus(Status status) {
+ NEARBY_LOGS(ERROR) << __func__ << ": Set Bluetooth radio status to "
+ << (status == Status::kEnabled ? "On" : "Off");
if (windows_bluetooth_radio_ == nullptr) {
- NEARBY_LOGS(ERROR)
- << __func__ << ": No Bluetooth radio on this device.";
+ NEARBY_LOGS(ERROR) << __func__ << ": No Bluetooth radio on this device.";
return false;
}
- if (status == Status::kDisabled) {
+
+ bool is_radio_state_on = windows_bluetooth_radio_.State() == RadioState::On;
+ bool is_new_radio_state_on = status == Status::kEnabled;
+ if (is_radio_state_on == is_new_radio_state_on) {
+ NEARBY_LOGS(INFO) << __func__
+ << ": Skip to set radio status due to requested state is "
+ "same as current.";
+ return true;
+ }
+
+ try {
// An asynchronous operation that attempts to set the state of the radio
// represented by this object.
// https://docs.microsoft.com/en-us/uwp/api/windows.devices.radios.radio.setstateasync?view=winrt-20348
- windows_bluetooth_radio_.SetStateAsync(RadioState::Off).get();
- } else {
- windows_bluetooth_radio_.SetStateAsync(RadioState::On).get();
+ if (status == Status::kDisabled) {
+ windows_bluetooth_radio_.SetStateAsync(RadioState::Off).get();
+ } else {
+ windows_bluetooth_radio_.SetStateAsync(RadioState::On).get();
+ }
+ } catch (const winrt::hresult_error &ex) {
+ NEARBY_LOGS(ERROR) << __func__
+ << ": Failed to set Bluetooth radio state: " << ex.code()
+ << ": " << winrt::to_string(ex.message());
+
+ return false;
}
+
return true;
}
@@ -84,8 +128,7 @@ bool BluetoothAdapter::SetStatus(Status status) {
// Status::Value::kEnabled.
bool BluetoothAdapter::IsEnabled() const {
if (windows_bluetooth_radio_ == nullptr) {
- NEARBY_LOGS(ERROR)
- << __func__ << ": No Bluetooth radio on this device.";
+ NEARBY_LOGS(ERROR) << __func__ << ": No Bluetooth radio on this device.";
return false;
}
// Gets the current state of the radio represented by this object.
@@ -93,6 +136,18 @@ bool BluetoothAdapter::IsEnabled() const {
return windows_bluetooth_radio_.State() == RadioState::On;
}
+// Returns true if the Bluetooth hardware supports Bluetooth 5.0 Extended
+// Advertising
+bool BluetoothAdapter::IsExtendedAdvertisingSupported() const {
+ if (windows_bluetooth_adapter_ == nullptr) {
+ NEARBY_LOGS(ERROR) << __func__ << ": No Bluetooth adapter on this device.";
+ return false;
+ }
+ // Indicates whether the adapter supports the 5.0 Extended Advertising format.
+ // https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.bluetoothadapter.isextendedadvertisingsupported?view=winrt-22621
+ return windows_bluetooth_adapter_.IsExtendedAdvertisingSupported();
+}
+
// https://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#getScanMode()
//
// Returns ScanMode::kUnknown on error.
@@ -112,9 +167,88 @@ bool BluetoothAdapter::SetScanMode(ScanMode scan_mode) {
return true;
}
+void BluetoothAdapter::RestoreRadioNameIfNecessary() {
+ std::string nearby_radio_name;
+ std::string current_radio_name = GetName();
+
+ std::string settings_path(kLocalSettingsFileName);
+
+ auto full_path =
+ location::nearby::api::ImplementationPlatform::GetAppDataPath(
+ settings_path);
+
+ auto settings_file =
+ location::nearby::api::ImplementationPlatform::CreateInputFile(full_path,
+ 0);
+ if (settings_file == nullptr) {
+ return;
+ }
+
+ auto total_size = settings_file->GetTotalSize();
+ nearby::ExceptionOr<ByteArray> raw_local_settings;
+
+ raw_local_settings = settings_file->Read(total_size);
+ settings_file->Close();
+
+ if (!raw_local_settings.ok()) {
+ return;
+ }
+
+ auto local_settings =
+ json::parse(raw_local_settings.GetResult().data(), nullptr, false);
+
+ if (local_settings.is_discarded()) {
+ return;
+ }
+
+ LocalSettings settings = local_settings.get<LocalSettings>();
+
+ if (current_radio_name == settings.nearby_radio_name) {
+ SetName(settings.original_radio_name,
+ /* persist= */ true);
+ }
+}
+
+void BluetoothAdapter::StoreRadioNames(absl::string_view original_radio_name,
+ absl::string_view nearby_radio_name) {
+ if (original_radio_name == nullptr || original_radio_name.size() == 0) {
+ return;
+ }
+ if (nearby_radio_name == nullptr || nearby_radio_name.size() == 0) {
+ return;
+ }
+
+ std::string settings_path(kLocalSettingsFileName);
+ auto full_path =
+ location::nearby::api::ImplementationPlatform::GetAppDataPath(
+ settings_path);
+
+ auto settings_file =
+ location::nearby::api::ImplementationPlatform::CreateOutputFile(
+ full_path);
+
+ if (settings_file == nullptr) {
+ return;
+ }
+
+ LocalSettings local_settings = {std::string(original_radio_name),
+ std::string(nearby_radio_name)};
+
+ json encoded_local_settings = local_settings;
+
+ ByteArray data(encoded_local_settings.dump());
+
+ settings_file->Write(data);
+ settings_file->Close();
+}
+
// https://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#getName()
// Returns an empty string on error
std::string BluetoothAdapter::GetName() const {
+ if (device_name_.has_value()) {
+ return *device_name_;
+ }
+
std::string instance_id(GetGenericBluetoothAdapterInstanceID());
if (instance_id.empty()) {
@@ -153,90 +287,59 @@ std::string BluetoothAdapter::GetName() const {
&hKey); // A pointer to a variable that receives a handle to the opened
// key
+ std::string adapter_name;
+
if (status == ERROR_SUCCESS) {
- DWORD local_name_size;
- DWORD value_type;
-
- // Retrieves the size of the data for the specified value name associated
- // with an open registry key.
- // https://docs.microsoft.com/en-us/windows/win32/api/winreg/nf-winreg-regqueryvalueexa
- LSTATUS status = RegQueryValueExA(
- hKey, // A handle to an open registry key.
- BLUETOOTH_RADIO_REGISTRY_NAME_KEY, // The name of the registry
- // value.
- nullptr, // This parameter is reserved and must be NULL.
- &value_type, // A pointer to a variable that receives a code
- // indicating the type of data stored in the
- // specified value.
- nullptr, // null tells the function to just get the buffer size.
- // value's data.
- &local_name_size); // A pointer to a variable that specifies the
- // size of the buffer pointed to by the lpData
- // parameter, in bytes.
- if (status != ERROR_SUCCESS) {
- NEARBY_LOGS(ERROR)
- << __func__
- << ": Failed to get the required size of the local name buffer";
- return {};
- }
- unsigned char *local_name = new unsigned char[local_name_size];
- memset(local_name, '\0', local_name_size);
-
- status = RegQueryValueExA(
- hKey, // A handle to an open registry key.
- BLUETOOTH_RADIO_REGISTRY_NAME_KEY, // The name of the registry
- // value.
- nullptr, // This parameter is reserved and must be NULL.
- &value_type, // A pointer to a variable that receives a code
- // indicating the type of data stored in the
- // specified value.
- local_name, // A pointer to a buffer that
- // receives the value's data.
- &local_name_size); // A pointer to a variable that specifies the
- // size of the buffer pointed to by the lpData
- // parameter, in bytes.
-
- // Closes a handle to the specified registry key.
- // https://docs.microsoft.com/en-us/windows/win32/api/winreg/nf-winreg-regclosekey
- RegCloseKey(hKey);
-
- if (status == ERROR_SUCCESS) {
- std::string local_name_return = std::string(
- local_name, local_name + local_name_size / sizeof local_name[0]);
-
- delete[] local_name;
-
- return local_name_return;
- }
- delete[] local_name;
+ adapter_name = GetNameFromRegistry(&hKey);
}
- // The local name is not in the registry, return the machine name
- std::string local_name;
- DWORD name_size = 0;
+ // Closes a handle to the specified registry key.
+ // https://docs.microsoft.com/en-us/windows/win32/api/winreg/nf-winreg-regclosekey
+ RegCloseKey(hKey);
- if (GetComputerNameA(nullptr, &name_size)) {
- NEARBY_LOGS(ERROR)
- << __func__
- << ": Failed to get the required size of the local name buffer";
- return {};
+ // The local name is not in the registry, return the machine name
+ if (adapter_name.empty()) {
+ return GetNameFromComputerName();
}
+ return adapter_name;
+}
- local_name.reserve(name_size);
+// https://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#setName(java.lang.String)
+bool BluetoothAdapter::SetName(absl::string_view name) {
+ return SetName(name,
+ /* persist= */ true);
+}
- // Retrieves the NetBIOS name of the local computer.
- // https://docs.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-getcomputernamea
- if (GetComputerNameA(local_name.data(), &name_size)) {
- return local_name;
+bool BluetoothAdapter::SetName(absl::string_view name, bool persist) {
+ if (!persist) {
+ StoreRadioNames(GetName(), name);
+ }
+ if (name.size() > 248 * sizeof(char)) {
+ NEARBY_LOGS(ERROR) << __func__
+ << ": Failed to set name for bluetooth adapter because "
+ "the name exceeded the 248 bytes limit for Windows.";
+ return false;
}
- // If we're here, we couldn't get a local name, this should never happen
- NEARBY_LOGS(ERROR) << __func__ << ": Failed to get any radio name";
- return {};
-}
+ if (name.size() > kAndroidDiscoverableBluetoothNameMaxLength * sizeof(char)) {
+ NEARBY_LOGS(ERROR) << __func__
+ << ": Failed to set name for bluetooth adapter because "
+ "Android cannot discover Windows bluetooth device "
+ "name that exceeded the 37 bytes limit (11 "
+ "characters in EndpointInfo).";
+ device_name_ = std::string(name);
+ return true;
+ }
+
+ device_name_ = std::nullopt;
+
+ if (registry_bluetooth_adapter_name_ == name) {
+ NEARBY_LOGS(INFO) << __func__
+ << ": Tried to set name for bluetooth adapter to the "
+ "same name again.";
+ return true;
+ }
-// https://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#setName(java.lang.String)
-bool BluetoothAdapter::SetName(absl::string_view name) {
std::string instance_id(GetGenericBluetoothAdapterInstanceID());
if (instance_id.empty()) {
@@ -305,8 +408,9 @@ bool BluetoothAdapter::SetName(absl::string_view name) {
// lpMultiByteStr.
NULL, // // Pointer to the character to use if a character cannot be
// represented in the specified code page.
- &defaultCharUsed); // // Pointer to a flag that indicates if the function
- // has used a default character in the conversion.
+ &defaultCharUsed); // // Pointer to a flag that indicates if the
+ // function has used a default character in the
+ // conversion.
if (conversionResult == 0) {
process_error();
@@ -341,16 +445,16 @@ bool BluetoothAdapter::SetName(absl::string_view name) {
// Creates or opens a file or I/O device.
// https://docs.microsoft.com/en-us/windows/win32/api/fileapi/nf-fileapi-createfilea
hDevice = CreateFileA(
- file_name
- .c_str(), // The name of the file or device to be created or opened.
- GENERIC_WRITE, // The requested access to the file or device.
- 0, // The requested sharing mode of the file or device.
- NULL, // A pointer to a SECURITY_ATTRIBUTES structure.
+ file_name.c_str(), // The name of the file or device to be created or
+ // opened.
+ GENERIC_WRITE, // The requested access to the file or device.
+ 0, // The requested sharing mode of the file or device.
+ NULL, // A pointer to a SECURITY_ATTRIBUTES structure.
OPEN_EXISTING, // An action to take on a file or device that exists or
// does not exist.
0, // The file or device attributes and flags.
- NULL); // A valid handle to a template file with the GENERIC_READ access
- // right. This parameter can be NULL.
+ NULL); // A valid handle to a template file with the GENERIC_READ
+ // access right. This parameter can be NULL.
if (hDevice == INVALID_HANDLE_VALUE) {
NEARBY_LOGS(ERROR) << __func__ << ": Failed to open device. Error code: "
@@ -377,8 +481,8 @@ bool BluetoothAdapter::SetName(absl::string_view name) {
HKEY_LOCAL_MACHINE, // A handle to an open registry key.
local_name_key.c_str(), // The name of the registry subkey to be opened.
0L, // Specifies the option to apply when opening the key.
- KEY_SET_VALUE, // A mask that specifies the desired access rights to the
- // key to be opened.
+ KEY_SET_VALUE, // A mask that specifies the desired access rights to
+ // the key to be opened.
&hKey); // A pointer to a variable that receives a handle to the opened
// key.
@@ -394,7 +498,8 @@ bool BluetoothAdapter::SetName(absl::string_view name) {
// https://docs.microsoft.com/en-us/windows/win32/api/winreg/nf-winreg-regsetvalueexa
status = RegSetValueExA(
hKey, // A handle to an open registry key
- BLUETOOTH_RADIO_REGISTRY_NAME_KEY, // The name of the value to be set.
+ BLUETOOTH_RADIO_REGISTRY_NAME_KEY, // The name of the value to be
+ // set.
0, // This parameter is reserved and must be zero.
REG_BINARY, // The type of data pointed to by the lpData parameter.
(LPBYTE)std::string(name).c_str(), // The data to be stored.
@@ -421,7 +526,7 @@ bool BluetoothAdapter::SetName(absl::string_view name) {
RegCloseKey(hKey);
// tells the control function to reset or reload or similar...
- int32 reload = 4;
+ int32_t reload = 4;
// merely a placeholder
DWORD bytes = 0;
@@ -439,8 +544,8 @@ bool BluetoothAdapter::SetName(absl::string_view name) {
NULL, // A pointer to the output buffer that is to receive the data
// returned by the operation.
0, // The size of the output buffer, in bytes.
- &bytes, // A pointer to a variable that receives the size of the data
- // stored in the output buffer, in bytes.
+ &bytes, // A pointer to a variable that receives the size of the
+ // data stored in the output buffer, in bytes.
NULL)) { // A pointer to an OVERLAPPED structure.
NEARBY_LOGS(ERROR)
<< __func__
@@ -450,6 +555,8 @@ bool BluetoothAdapter::SetName(absl::string_view name) {
return false;
}
+ registry_bluetooth_adapter_name_ = std::string(name);
+
return true;
}
@@ -521,7 +628,8 @@ char *BluetoothAdapter::GetGenericBluetoothAdapterInstanceID(void) const {
DeviceInfoData.cbSize = sizeof(DeviceInfoData);
// The SetupDiEnumDeviceInfo function returns a SP_DEVINFO_DATA structure
- // that specifies a device information element in a device information set.
+ // that specifies a device information element in a device information
+ // set.
// https://docs.microsoft.com/en-us/windows/win32/api/setupapi/nf-setupapi-setupdienumdeviceinfo
if (!SetupDiEnumDeviceInfo(hDevInfo, i, &DeviceInfoData)) break;
@@ -533,8 +641,8 @@ char *BluetoothAdapter::GetGenericBluetoothAdapterInstanceID(void) const {
if (r != CR_SUCCESS) continue;
- // With Windows, a Bluetooth radio can be packaged as an external dongle or
- // embedded inside a computer but it must be connected to one of the
+ // With Windows, a Bluetooth radio can be packaged as an external dongle
+ // or embedded inside a computer but it must be connected to one of the
// computer's USB ports.
// https://docs.microsoft.com/en-us/windows-hardware/drivers/bluetooth/bluetooth-host-radio-support
if (strncmp("USB", deviceInstanceID, 3) == 0) {
@@ -551,14 +659,78 @@ char *BluetoothAdapter::GetGenericBluetoothAdapterInstanceID(void) const {
// Returns BT MAC address assigned to this adapter.
std::string BluetoothAdapter::GetMacAddress() const {
if (windows_bluetooth_adapter_ == nullptr) {
- NEARBY_LOGS(ERROR)
- << __func__ << ": No Bluetooth adapter on this device.";
+ NEARBY_LOGS(ERROR) << __func__ << ": No Bluetooth adapter on this device.";
return "";
}
return uint64_to_mac_address_string(
windows_bluetooth_adapter_.BluetoothAddress());
}
+std::string BluetoothAdapter::GetNameFromRegistry(PHKEY hKey) const {
+ DWORD local_name_size = 0;
+ DWORD value_type;
+
+ // Retrieves the size of the data for the specified value name associated
+ // with an open registry key.
+ // https://docs.microsoft.com/en-us/windows/win32/api/winreg/nf-winreg-regqueryvalueexa
+ LSTATUS status = RegQueryValueExA(
+ *hKey, // A handle to an open registry key.
+ BLUETOOTH_RADIO_REGISTRY_NAME_KEY, // The name of the registry
+ // value.
+ nullptr, // This parameter is reserved and must be NULL.
+ &value_type, // A pointer to a variable that receives a code
+ // indicating the type of data stored in the
+ // specified value.
+ nullptr, // null tells the function to just get the buffer size.
+ // value's data.
+ &local_name_size); // A pointer to a variable that specifies the
+ // size of the buffer pointed to by the lpData
+ // parameter, in bytes.
+ if (status != ERROR_SUCCESS) {
+ NEARBY_LOGS(ERROR)
+ << __func__
+ << ": Failed to get the required size of the local name buffer";
+ return "";
+ }
+ unsigned char *local_name = new unsigned char[local_name_size];
+ memset(local_name, '\0', local_name_size);
+
+ status = RegQueryValueExA(
+ *hKey, // A handle to an open registry key.
+ BLUETOOTH_RADIO_REGISTRY_NAME_KEY, // The name of the registry
+ // value.
+ nullptr, // This parameter is reserved and must be NULL.
+ &value_type, // A pointer to a variable that receives a code
+ // indicating the type of data stored in the
+ // specified value.
+ local_name, // A pointer to a buffer that
+ // receives the value's data.
+ &local_name_size); // A pointer to a variable that specifies the
+ // size of the buffer pointed to by the lpData
+ // parameter, in bytes.
+
+ if (status == ERROR_SUCCESS) {
+ std::string local_name_return = std::string(
+ local_name, local_name + local_name_size / sizeof local_name[0]);
+
+ delete[] local_name;
+ return local_name_return;
+ }
+ delete[] local_name;
+ return "";
+}
+
+std::string BluetoothAdapter::GetNameFromComputerName() const {
+ DWORD size = MAX_COMPUTERNAME_LENGTH + 1;
+ CHAR computer_name[MAX_COMPUTERNAME_LENGTH + 1];
+ if (GetComputerNameA(computer_name, &size)) {
+ return std::string(computer_name);
+ }
+
+ NEARBY_LOGS(ERROR) << __func__ << ": Failed to get any computer name";
+ return "";
+}
+
} // namespace windows
} // namespace nearby
} // namespace location
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_adapter.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_adapter.h
index f4bb795451c..f36c4400745 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_adapter.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_adapter.h
@@ -16,7 +16,10 @@
#define PLATFORM_IMPL_WINDOWS_BLUETOOTH_ADAPTER_H_
#include <guiddef.h>
+#include <windows.h>
+#include <functional>
+#include <optional>
#include <string>
#include "internal/platform/implementation/bluetooth_adapter.h"
@@ -30,7 +33,8 @@ namespace windows {
// Represents a Bluetooth adapter.
// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.bluetoothadapter?view=winrt-20348
-using winrt::Windows::Devices::Bluetooth::IBluetoothAdapter;
+using WindowsBluetoothAdapter =
+ winrt::Windows::Devices::Bluetooth::BluetoothAdapter;
// Represents a radio device on the system.
// https://docs.microsoft.com/en-us/uwp/api/windows.devices.radios.radio?view=winrt-20348
@@ -71,26 +75,46 @@ class BluetoothAdapter : public api::BluetoothAdapter {
// https://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#setName(java.lang.String)
bool SetName(absl::string_view name) override;
+ bool SetName(absl::string_view name, bool persist) override;
// Returns BT MAC address assigned to this adapter.
std::string GetMacAddress() const override;
+ // Returns bluetooth device name from registry
+ std::string GetNameFromRegistry(PHKEY hKey) const;
+
+ // Returns computer name
+ std::string GetNameFromComputerName() const;
+
void SetOnScanModeChanged(ScanModeCallback callback) {
if (scan_mode_changed_ == nullptr) {
scan_mode_changed_ = callback;
}
}
+ // Returns true if the Bluetooth hardware supports Bluetooth 5.0 Extended
+ // Advertising
+ bool IsExtendedAdvertisingSupported() const;
+ void RestoreRadioNameIfNecessary();
+
private:
void process_error();
- IBluetoothAdapter windows_bluetooth_adapter_;
+ void StoreRadioNames(absl::string_view original_radio_name,
+ absl::string_view nearby_radio_name);
+
+ WindowsBluetoothAdapter windows_bluetooth_adapter_;
+ std::string registry_bluetooth_adapter_name_;
IRadio windows_bluetooth_radio_;
- char *GetGenericBluetoothAdapterInstanceID(void) const;
+ char *GetGenericBluetoothAdapterInstanceID() const;
void find_and_replace(char *source, const char *strFind,
const char *strReplace) const;
ScanMode scan_mode_ = ScanMode::kNone;
ScanModeCallback scan_mode_changed_ = nullptr;
+
+ // Used to fake the device name when the device name is longer than android
+ // limitation.
+ std::optional<std::string> device_name_;
};
} // namespace windows
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_adapter_test.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_adapter_test.cc
new file mode 100644
index 00000000000..2b05f455b98
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_adapter_test.cc
@@ -0,0 +1,197 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "internal/platform/implementation/windows/bluetooth_adapter.h"
+
+#include <string>
+
+#include "gtest/gtest.h"
+#include "absl/strings/string_view.h"
+#include "absl/synchronization/notification.h"
+#include "internal/platform/implementation/bluetooth_adapter.h"
+
+namespace location {
+namespace nearby {
+namespace windows {
+namespace {
+
+constexpr absl::string_view kName = "Test Radio Name";
+constexpr absl::string_view kLongName =
+ "12345678901234567890123456789012345678";
+constexpr absl::string_view kSpecialCharName = "~!@#$%^&*()_+<>:\"-}[{]";
+
+TEST(BluetoothAdapter, DISABLED_SetNameSucceeds) {
+ BluetoothAdapter bluetooth_adapter;
+ auto original_name = bluetooth_adapter.GetName();
+ bluetooth_adapter.SetName(kName,
+ /* persist= */ false);
+
+ bluetooth_adapter.RestoreRadioNameIfNecessary();
+
+ EXPECT_EQ(bluetooth_adapter.GetName(), original_name);
+}
+
+TEST(BluetoothAdapter, DISABLED_SetNameWithTooManyChars) {
+ BluetoothAdapter bluetooth_adapter;
+ auto original_name = bluetooth_adapter.GetName();
+ bluetooth_adapter.SetName(kLongName,
+ /* persist= */ false);
+
+ auto result = bluetooth_adapter.GetName();
+ bluetooth_adapter.RestoreRadioNameIfNecessary();
+
+ EXPECT_EQ(result, kLongName);
+ EXPECT_EQ(bluetooth_adapter.GetName(), original_name);
+}
+
+TEST(BluetoothAdapter, DISABLED_SetNameWithSpecialCharsSucceeds) {
+ BluetoothAdapter bluetooth_adapter;
+ auto original_name = bluetooth_adapter.GetName();
+ bluetooth_adapter.SetName(kSpecialCharName,
+ /* persist= */ false);
+
+ auto result = bluetooth_adapter.GetName();
+ bluetooth_adapter.RestoreRadioNameIfNecessary();
+
+ EXPECT_EQ(result, kSpecialCharName);
+ EXPECT_EQ(bluetooth_adapter.GetName(), original_name);
+}
+
+TEST(BluetoothAdapter, DISABLED_SetNameWithEmptyStringSetsOriginalName) {
+ BluetoothAdapter bluetooth_adapter;
+ auto original_name = bluetooth_adapter.GetName();
+
+ bluetooth_adapter.SetName("",
+ /* persist= */ false);
+
+ EXPECT_EQ(bluetooth_adapter.GetName(), original_name);
+}
+
+TEST(BluetoothAdapter, DISABLED_SetNameWithNullPtrSetsOriginalName) {
+ BluetoothAdapter bluetooth_adapter;
+ auto original_name = bluetooth_adapter.GetName();
+
+ bluetooth_adapter.SetName(nullptr,
+ /* persist= */ false);
+
+ EXPECT_EQ(bluetooth_adapter.GetName(), original_name);
+}
+
+TEST(BluetoothAdapter, DISABLED_SetStatus) {
+ BluetoothAdapter bluetooth_adapter;
+ EXPECT_TRUE(
+ bluetooth_adapter.SetStatus(api::BluetoothAdapter::Status::kEnabled));
+}
+
+TEST(BluetoothAdapter, DISABLED_IsEnabled) {
+ BluetoothAdapter bluetooth_adapter;
+ EXPECT_TRUE(bluetooth_adapter.IsEnabled());
+}
+
+TEST(BluetoothAdapter, DISABLED_GetScanMode) {
+ BluetoothAdapter bluetooth_adapter;
+ api::BluetoothAdapter::ScanMode scan_mode = bluetooth_adapter.GetScanMode();
+ EXPECT_EQ(scan_mode, api::BluetoothAdapter::ScanMode::kNone);
+}
+
+TEST(BluetoothAdapter, DISABLED_SetScanMode) {
+ BluetoothAdapter bluetooth_adapter;
+ EXPECT_TRUE(bluetooth_adapter.SetScanMode(
+ api::BluetoothAdapter::ScanMode::kConnectableDiscoverable));
+ api::BluetoothAdapter::ScanMode scan_mode = bluetooth_adapter.GetScanMode();
+ EXPECT_EQ(scan_mode,
+ api::BluetoothAdapter::ScanMode::kConnectableDiscoverable);
+}
+
+TEST(BluetoothAdapter, DISABLED_GetName) {
+ BluetoothAdapter bluetooth_adapter;
+ bluetooth_adapter.SetName("test");
+ EXPECT_EQ(bluetooth_adapter.GetName(), "test");
+}
+
+TEST(BluetoothAdapter, DISABLED_SetName) {
+ BluetoothAdapter bluetooth_adapter;
+ std::string bluetooth_device_name =
+ "abcdefghijklmnopqrstuvwxyz" // 26
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ" // 52
+ "abcdefghijklmnopqrstuvwxyz" // 78
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ" // 104
+ "abcdefghijklmnopqrstuvwxyz" // 130
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ" // 156
+ "abcdefghijklmnopqrstuvwxyz" // 182
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ" // 208
+ "abcdefghijklmnopqrstuvwxyz" // 234
+ "ABCDEFGHIJKLMN"; // 248
+ EXPECT_TRUE(bluetooth_adapter.SetName(bluetooth_device_name));
+ EXPECT_EQ(bluetooth_adapter.GetName(), bluetooth_device_name);
+}
+
+TEST(BluetoothAdapter, DISABLED_SetName_Exceeded) {
+ BluetoothAdapter bluetooth_adapter;
+ std::string original_bluetooth_device_name = bluetooth_adapter.GetName();
+ std::string bluetooth_device_name =
+ "abcdefghijklmnopqrstuvwxyz" // 26
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ" // 52
+ "abcdefghijklmnopqrstuvwxyz" // 78
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ" // 104
+ "abcdefghijklmnopqrstuvwxyz" // 130
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ" // 156
+ "abcdefghijklmnopqrstuvwxyz" // 182
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZ" // 208
+ "abcdefghijklmnopqrstuvwxyz" // 234
+ "ABCDEFGHIJKLMNO"; // 249
+ EXPECT_FALSE(bluetooth_adapter.SetName(bluetooth_device_name));
+ EXPECT_EQ(bluetooth_adapter.GetName(), original_bluetooth_device_name);
+}
+
+TEST(BluetoothAdapter, DISABLED_GetMacAddress) {
+ BluetoothAdapter bluetooth_adapter;
+ EXPECT_TRUE(!bluetooth_adapter.GetMacAddress().empty());
+}
+
+TEST(BluetoothAdapter, DISABLED_SetOnScanModeChanged) {
+ api::BluetoothAdapter::ScanMode mode =
+ api::BluetoothAdapter::ScanMode::kUnknown;
+ absl::Notification scan_mode_changed_notification;
+ BluetoothAdapter::ScanModeCallback callback =
+ [&mode, &scan_mode_changed_notification](
+ api::BluetoothAdapter::ScanMode scan_mode) {
+ mode = scan_mode;
+ scan_mode_changed_notification.Notify();
+ };
+ BluetoothAdapter bluetooth_adapter;
+ bluetooth_adapter.SetScanMode(mode);
+
+ bluetooth_adapter.SetOnScanModeChanged(callback);
+ bluetooth_adapter.SetScanMode(
+ api::BluetoothAdapter::ScanMode::kConnectableDiscoverable);
+ EXPECT_TRUE(scan_mode_changed_notification.WaitForNotificationWithTimeout(
+ absl::Seconds(5)));
+ EXPECT_EQ(mode, api::BluetoothAdapter::ScanMode::kConnectableDiscoverable);
+}
+
+TEST(BluetoothAdapter, DISABLED_IsExtendedAdvertisingSupported) {
+ BluetoothAdapter bluetooth_adapter;
+ EXPECT_TRUE(bluetooth_adapter.IsExtendedAdvertisingSupported());
+}
+
+TEST(BluetoothAdapter, DISABLED_GetNameFromComputerName) {
+ BluetoothAdapter bluetooth_adapter;
+ EXPECT_TRUE(!bluetooth_adapter.GetNameFromComputerName().empty());
+}
+
+} // namespace
+} // namespace windows
+} // namespace nearby
+} // namespace location
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_device.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_device.cc
index 7f4e124a6e3..ddf3a7784e4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_device.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_device.cc
@@ -20,8 +20,8 @@
#include <locale>
#include <string>
+#include "absl/strings/string_view.h"
#include "internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.h"
-
#include "internal/platform/implementation/windows/utils.h"
namespace location {
@@ -30,6 +30,18 @@ namespace windows {
BluetoothDevice::~BluetoothDevice() {}
+BluetoothDevice::BluetoothDevice(absl::string_view mac_address)
+ : windows_bluetooth_device_(nullptr) {
+ mac_address_ = std::string(mac_address);
+ windows_bluetooth_device_ =
+ winrt::Windows::Devices::Bluetooth::BluetoothDevice::
+ FromBluetoothAddressAsync(mac_address_string_to_uint64(mac_address))
+ .get();
+ if (windows_bluetooth_device_ != nullptr) {
+ id_ = winrt::to_string(windows_bluetooth_device_.DeviceId());
+ }
+}
+
BluetoothDevice::BluetoothDevice(
const winrt::Windows::Devices::Bluetooth::BluetoothDevice& bluetoothDevice)
: windows_bluetooth_device_(bluetoothDevice) {
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_device.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_device.h
index 83dbe5133f7..bce65c88bcc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_device.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_device.h
@@ -19,6 +19,7 @@
#include <string>
+#include "absl/strings/string_view.h"
#include "internal/platform/implementation/bluetooth_classic.h"
#include "internal/platform/exception.h"
#include "internal/platform/input_stream.h"
@@ -35,7 +36,7 @@ namespace windows {
// https://docs.microsoft.com/en-us/uwp/api/windows.foundation.iasyncoperation-1?view=winrt-20348
using winrt::Windows::Foundation::IAsyncOperation;
-// The result of an Rfcomm device service request.
+// The result of a Rfcomm device service request.
// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.rfcomm.rfcommdeviceservicesresult?view=winrt-20348
using winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceServicesResult;
@@ -52,8 +53,7 @@ using winrt::Windows::Devices::Bluetooth::BluetoothCacheMode;
// https://developer.android.com/reference/android/bluetooth/BluetoothDevice.html.
class BluetoothDevice : public api::BluetoothDevice {
public:
- BluetoothDevice(std::string mac_address)
- : windows_bluetooth_device_(nullptr), mac_address_(mac_address) {}
+ BluetoothDevice(absl::string_view mac_address);
BluetoothDevice(const winrt::Windows::Devices::Bluetooth::BluetoothDevice&
bluetoothDevice);
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_medium.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_medium.cc
index d93d88ac2f1..23adfdb8f43 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_medium.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_medium.cc
@@ -18,9 +18,12 @@
#include <windows.h>
#include <codecvt>
+#include <fstream>
#include <locale>
+#include <memory>
#include <regex> // NOLINT
#include <string>
+#include <utility>
#include "internal/platform/cancellation_flag.h"
#include "internal/platform/cancellation_flag_listener.h"
@@ -41,12 +44,13 @@ namespace location {
namespace nearby {
namespace windows {
+constexpr uint8_t kAndroidDiscoverableBluetoothNameMaxLength = 37; // bytes
+
BluetoothClassicMedium::BluetoothClassicMedium(
api::BluetoothAdapter& bluetoothAdapter)
: bluetooth_adapter_(dynamic_cast<BluetoothAdapter&>(bluetoothAdapter)) {
- InitializeCriticalSection(&critical_section_);
-
InitializeDeviceWatcher();
+ bluetooth_adapter_.RestoreRadioNameIfNecessary();
bluetooth_adapter_.SetOnScanModeChanged(std::bind(
&BluetoothClassicMedium::OnScanModeChanged, this, std::placeholders::_1));
@@ -56,18 +60,57 @@ BluetoothClassicMedium::~BluetoothClassicMedium() {}
void BluetoothClassicMedium::OnScanModeChanged(
BluetoothAdapter::ScanMode scanMode) {
+ NEARBY_LOGS(INFO) << __func__
+ << ": OnScanModeChanged is called with scanMode: "
+ << static_cast<int>(scanMode);
+
+ if (scanMode == scan_mode_) {
+ NEARBY_LOGS(INFO) << __func__ << ": No change of scan mode.";
+ return;
+ }
+
scan_mode_ = scanMode;
- bool radioDiscoverable = bluetooth_adapter_.GetScanMode() ==
- BluetoothAdapter::ScanMode::kConnectableDiscoverable;
+ bool radio_discoverable =
+ scan_mode_ == BluetoothAdapter::ScanMode::kConnectableDiscoverable;
+
+ if (bluetooth_adapter_.GetName().size() >
+ kAndroidDiscoverableBluetoothNameMaxLength) {
+ // If the name longer than the android limitation, always set the value to
+ // false.
+ radio_discoverable = false;
+ }
+
+ if (is_radio_discoverable_ == radio_discoverable) {
+ NEARBY_LOGS(INFO) << __func__ << ": No change of radio discovery.";
+ return;
+ }
+
+ if (rfcomm_provider_ == nullptr) {
+ NEARBY_LOGS(INFO) << __func__ << ": No advertising.";
+ return;
+ }
- if (bluetooth_server_socket_ != nullptr) {
- bluetooth_server_socket_->SetScanMode(radioDiscoverable);
+ try {
+ rfcomm_provider_.StopAdvertising();
+ rfcomm_provider_.StartAdvertising(
+ raw_server_socket_->stream_socket_listener(), radio_discoverable);
+ is_radio_discoverable_ = radio_discoverable;
+ return;
+ } catch (std::exception exception) {
+ NEARBY_LOGS(ERROR) << __func__
+ << ": OnScanModeChanged exception: " << exception.what();
+ return;
+ } catch (const winrt::hresult_error& ex) {
+ NEARBY_LOGS(ERROR) << __func__
+ << ": OnScanModeChanged exception: " << ex.code() << ": "
+ << winrt::to_string(ex.message());
+ return;
}
}
bool BluetoothClassicMedium::StartDiscovery(
BluetoothClassicMedium::DiscoveryCallback discovery_callback) {
- EnterCriticalSection(&critical_section_);
+ NEARBY_LOGS(INFO) << "StartDiscovery is called.";
bool result = false;
discovery_callback_ = discovery_callback;
@@ -76,13 +119,11 @@ bool BluetoothClassicMedium::StartDiscovery(
result = StartScanning();
}
- LeaveCriticalSection(&critical_section_);
-
return result;
}
bool BluetoothClassicMedium::StopDiscovery() {
- EnterCriticalSection(&critical_section_);
+ NEARBY_LOGS(INFO) << "StopDiscovery is called.";
bool result = false;
@@ -90,8 +131,6 @@ bool BluetoothClassicMedium::StopDiscovery() {
result = StopScanning();
}
- LeaveCriticalSection(&critical_section_);
-
return result;
}
@@ -99,7 +138,8 @@ void BluetoothClassicMedium::InitializeDeviceWatcher() {
// create watcher
const winrt::param::iterable<winrt::hstring> RequestedProperties =
winrt::single_threaded_vector<winrt::hstring>(
- {winrt::to_hstring("System.Devices.Aep.IsPresent")});
+ {winrt::to_hstring("System.Devices.Aep.IsPresent"),
+ winrt::to_hstring("System.Devices.Aep.DeviceAddress")});
device_watcher_ = DeviceInformation::CreateWatcher(
BLUETOOTH_SELECTOR, // aqsFilter
@@ -133,6 +173,7 @@ void BluetoothClassicMedium::InitializeDeviceWatcher() {
std::unique_ptr<api::BluetoothSocket> BluetoothClassicMedium::ConnectToService(
api::BluetoothDevice& remote_device, const std::string& service_uuid,
CancellationFlag* cancellation_flag) {
+ NEARBY_LOGS(INFO) << "ConnectToService is called.";
if (service_uuid.empty()) {
NEARBY_LOGS(ERROR) << __func__ << ": service_uuid not specified.";
return nullptr;
@@ -157,70 +198,119 @@ std::unique_ptr<api::BluetoothSocket> BluetoothClassicMedium::ConnectToService(
return nullptr;
}
- BluetoothDevice* currentDevice =
- dynamic_cast<BluetoothDevice*>(&remote_device);
+ remote_device_to_connect_ =
+ std::make_unique<BluetoothDevice>(remote_device.GetMacAddress());
+
+ // First try, check if the remote device that we want to request connection to
+ // has already been discovered by the Bluetooth Classic Device Watcher
+ // beforehand inside the discovered_devices_by_id_ map
+ std::map<winrt::hstring, std::unique_ptr<BluetoothDevice>>::const_iterator
+ it = discovered_devices_by_id_.find(
+ winrt::to_hstring(remote_device_to_connect_->GetId()));
+
+ std::unique_ptr<BluetoothDevice> device = nullptr;
+ BluetoothDevice* current_device = nullptr;
+
+ if (it != discovered_devices_by_id_.end()) {
+ current_device = it->second.get();
+ } else {
+ // The remote device was not discovered by the Bluetooth Classic Device
+ // Watcher beforehand.
+ // Second try, request Windows to scan for nearby
+ // bluetooth devices that has this static mac address again in this instance
+ auto remote_bluetooth_device_from_mac_address =
+ winrt::Windows::Devices::Bluetooth::BluetoothDevice::
+ FromBluetoothAddressAsync(
+ mac_address_string_to_uint64(remote_device.GetMacAddress()))
+ .get();
+ if (remote_bluetooth_device_from_mac_address == nullptr) {
+ NEARBY_LOGS(ERROR) << __func__
+ << ": Windows failed to get remote bluetooth device "
+ "from static mac address.";
+ return nullptr;
+ }
+ device = std::make_unique<BluetoothDevice>(
+ remote_bluetooth_device_from_mac_address);
+ current_device = device.get();
+ }
- if (currentDevice == nullptr) {
+ if (current_device == nullptr) {
NEARBY_LOGS(ERROR) << __func__ << ": Failed to get current device.";
return nullptr;
}
- winrt::hstring deviceId = winrt::to_hstring(currentDevice->GetId());
+ winrt::hstring device_id = winrt::to_hstring(current_device->GetId());
- if (!HaveAccess(deviceId)) {
+ if (!HaveAccess(device_id)) {
NEARBY_LOGS(ERROR) << __func__ << ": Failed to gain access to device: "
- << winrt::to_string(deviceId);
+ << winrt::to_string(device_id);
return nullptr;
}
- RfcommDeviceService requestedService(
- GetRequestedService(currentDevice, service));
+ RfcommDeviceService requested_service(
+ GetRequestedService(current_device, service));
- if (!CheckSdp(requestedService)) {
+ if (!CheckSdp(requested_service)) {
NEARBY_LOGS(ERROR) << __func__ << ": Invalid SDP.";
return nullptr;
}
- EnterCriticalSection(&critical_section_);
-
- std::unique_ptr<BluetoothSocket> rfcommSocket =
+ std::unique_ptr<BluetoothSocket> rfcomm_socket =
std::make_unique<BluetoothSocket>();
- location::nearby::CancellationFlagListener cancellationFlagListener(
- cancellation_flag,
- [&rfcommSocket]() { rfcommSocket.get()->CancelIOAsync().get(); });
+ if (cancellation_flag->Cancelled()) {
+ NEARBY_LOGS(INFO)
+ << __func__
+ << ": Bluetooth Classic socket connection cancelled for device: "
+ << winrt::to_string(device_id) << ", service: " << service_uuid;
+ return nullptr;
+ }
+ location::nearby::CancellationFlagListener cancellation_flag_listener(
+ cancellation_flag, [&rfcomm_socket]() {
+ rfcomm_socket->CancelIOAsync().get();
+ rfcomm_socket->Close();
+ });
try {
- rfcommSocket->Connect(requestedService.ConnectionHostName(),
- requestedService.ConnectionServiceName());
+ bool success =
+ rfcomm_socket->Connect(requested_service.ConnectionHostName(),
+ requested_service.ConnectionServiceName());
+ if (!success) {
+ return nullptr;
+ }
} catch (std::exception exception) {
// We will log and eat the exception since the caller
// expects nullptr if it fails
NEARBY_LOGS(ERROR) << __func__ << ": Exception connecting bluetooth async: "
<< exception.what();
+ return nullptr;
+ }
- LeaveCriticalSection(&critical_section_);
+ return std::move(rfcomm_socket);
+}
- return nullptr;
+bool BluetoothClassicMedium::HaveAccess(winrt::hstring device_id) {
+ if (device_id.empty()) {
+ return false;
}
- LeaveCriticalSection(&critical_section_);
+ DeviceAccessInformation access_information =
+ DeviceAccessInformation::CreateFromId(device_id);
- return rfcommSocket;
-}
+ if (access_information == nullptr) {
+ return false;
+ }
-bool BluetoothClassicMedium::HaveAccess(winrt::hstring deviceId) {
- DeviceAccessStatus accessStatus =
- DeviceAccessInformation::CreateFromId(deviceId).CurrentStatus();
+ DeviceAccessStatus access_status = access_information.CurrentStatus();
- if (accessStatus == DeviceAccessStatus::DeniedByUser ||
+ if (access_status == DeviceAccessStatus::DeniedByUser ||
// This status is most likely caused by app permissions (did not declare
// the device in the app's package.appxmanifest)
- // This status does not cover the case where the device is already opened
- // by another app.
- accessStatus == DeviceAccessStatus::DeniedBySystem ||
+ // This status does not cover the case where the device is already
+ // opened by another app.
+ access_status == DeviceAccessStatus::DeniedBySystem ||
// Most likely the device is opened by another app, but cannot be sure
- accessStatus == DeviceAccessStatus::Unspecified) {
+ access_status == DeviceAccessStatus::Unspecified) {
return false;
}
@@ -281,6 +371,7 @@ bool BluetoothClassicMedium::CheckSdp(RfcommDeviceService requestedService) {
return false;
}
}
+
// https://developer.android.com/reference/android/bluetooth/BluetoothAdapter.html#listenUsingInsecureRfcommWithServiceRecord
//
// service_uuid is the canonical textual representation
@@ -293,6 +384,8 @@ bool BluetoothClassicMedium::CheckSdp(RfcommDeviceService requestedService) {
std::unique_ptr<api::BluetoothServerSocket>
BluetoothClassicMedium::ListenForService(const std::string& service_name,
const std::string& service_uuid) {
+ NEARBY_LOGS(INFO) << "ListenForService is called with service name: "
+ << service_name << ".";
if (service_uuid.empty()) {
NEARBY_LOGS(ERROR) << __func__ << ": service_uuid was empty.";
return nullptr;
@@ -303,26 +396,24 @@ BluetoothClassicMedium::ListenForService(const std::string& service_name,
return nullptr;
}
- auto bluetooth_server_socket =
- std::make_unique<location::nearby::windows::BluetoothServerSocket>(
- service_name, service_uuid);
+ service_name_ = service_name;
+ service_uuid_ = service_uuid;
- if (bluetooth_server_socket == nullptr) {
- NEARBY_LOGS(ERROR) << __func__ << ": Failed to create the server socket.";
- return nullptr;
- }
+ scan_mode_ = bluetooth_adapter_.GetScanMode();
- bool radioDiscoverable = bluetooth_adapter_.GetScanMode() ==
- BluetoothAdapter::ScanMode::kConnectableDiscoverable;
+ NEARBY_LOGS(INFO) << __func__
+ << ": scan_mode: " << static_cast<int>(scan_mode_);
+ bool radio_discoverable =
+ scan_mode_ == BluetoothAdapter::ScanMode::kConnectableDiscoverable;
- Exception result = bluetooth_server_socket->StartListening(radioDiscoverable);
+ bool result = StartAdvertising(radio_discoverable);
- if (result.value != Exception::kSuccess) {
+ if (!result) {
NEARBY_LOGS(ERROR) << __func__ << ": Failed to start listening.";
return nullptr;
}
- return std::move(bluetooth_server_socket);
+ return std::move(server_socket_);
}
api::BluetoothDevice* BluetoothClassicMedium::GetRemoteDevice(
@@ -366,6 +457,7 @@ bool BluetoothClassicMedium::StopScanning() {
winrt::fire_and_forget BluetoothClassicMedium::DeviceWatcher_Added(
DeviceWatcher sender, DeviceInformation deviceInfo) {
+ NEARBY_LOGS(INFO) << "Device added " << winrt::to_string(deviceInfo.Id());
if (IsWatcherStarted()) {
// Represents a Bluetooth device.
// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.bluetoothdevice?view=winrt-20348
@@ -378,33 +470,27 @@ winrt::fire_and_forget BluetoothClassicMedium::DeviceWatcher_Added(
// Add to our internal list if necessary
if (it != discovered_devices_by_id_.end()) {
- // We're already tracking this one
+ // We're already tracking this one NEARBY_LOGS(INFO) <<
+ // "DeviceWatcher_Added entered critical section.";
+
return winrt::fire_and_forget();
}
// Create a bluetooth device out of this id
- winrt::Windows::Devices::Bluetooth::BluetoothDevice::FromIdAsync(
- deviceInfo.Id())
- .Completed([this, deviceInfo](
- winrt::Windows::Foundation::IAsyncOperation<
- winrt::Windows::Devices::Bluetooth::BluetoothDevice>
- bluetoothDevice,
- winrt::Windows::Foundation::AsyncStatus status) {
- EnterCriticalSection(&critical_section_);
+ auto bluetoothDevice =
+ winrt::Windows::Devices::Bluetooth::BluetoothDevice::FromIdAsync(
+ deviceInfo.Id())
+ .get();
- auto bluetoothDeviceP =
- absl::WrapUnique(new BluetoothDevice(bluetoothDevice.get()));
+ auto bluetoothDeviceP =
+ absl::WrapUnique(new BluetoothDevice(bluetoothDevice));
- discovered_devices_by_id_[deviceInfo.Id()] =
- std::move(bluetoothDeviceP);
+ discovered_devices_by_id_[deviceInfo.Id()] = std::move(bluetoothDeviceP);
- if (discovery_callback_.device_discovered_cb != nullptr) {
- discovery_callback_.device_discovered_cb(
- *discovered_devices_by_id_[deviceInfo.Id()]);
- }
-
- LeaveCriticalSection(&critical_section_);
- });
+ if (discovery_callback_.device_discovered_cb != nullptr) {
+ discovery_callback_.device_discovered_cb(
+ *discovered_devices_by_id_[deviceInfo.Id()]);
+ }
}
return winrt::fire_and_forget();
@@ -412,18 +498,19 @@ winrt::fire_and_forget BluetoothClassicMedium::DeviceWatcher_Added(
winrt::fire_and_forget BluetoothClassicMedium::DeviceWatcher_Updated(
DeviceWatcher sender, DeviceInformationUpdate deviceInfoUpdate) {
- EnterCriticalSection(&critical_section_);
+ NEARBY_LOGS(INFO)
+ << "Device updated "
+ << discovered_devices_by_id_[deviceInfoUpdate.Id()]->GetName() << " ("
+ << winrt::to_string(deviceInfoUpdate.Id()) << ")";
if (!IsWatcherStarted()) {
// Spurious call, watcher has stopped or wasn't started
- LeaveCriticalSection(&critical_section_);
return winrt::fire_and_forget();
}
auto it = discovered_devices_by_id_.find(deviceInfoUpdate.Id());
if (it == discovered_devices_by_id_.end()) {
- LeaveCriticalSection(&critical_section_);
// Not tracking this device
return winrt::fire_and_forget();
}
@@ -434,14 +521,14 @@ winrt::fire_and_forget BluetoothClassicMedium::DeviceWatcher_Updated(
*discovered_devices_by_id_[deviceInfoUpdate.Id()]);
}
- LeaveCriticalSection(&critical_section_);
-
return winrt::fire_and_forget();
}
winrt::fire_and_forget BluetoothClassicMedium::DeviceWatcher_Removed(
DeviceWatcher sender, DeviceInformationUpdate deviceInfo) {
- EnterCriticalSection(&critical_section_);
+ NEARBY_LOGS(INFO) << "Device removed "
+ << discovered_devices_by_id_[deviceInfo.Id()]->GetName()
+ << " (" << winrt::to_string(deviceInfo.Id()) << ")";
if (!IsWatcherStarted()) {
return winrt::fire_and_forget();
@@ -454,8 +541,6 @@ winrt::fire_and_forget BluetoothClassicMedium::DeviceWatcher_Removed(
discovered_devices_by_id_.erase(deviceInfo.Id());
- LeaveCriticalSection(&critical_section_);
-
return winrt::fire_and_forget();
}
@@ -480,6 +565,150 @@ bool BluetoothClassicMedium::IsWatcherRunning() {
(status == DeviceWatcherStatus::Stopping);
}
+bool BluetoothClassicMedium::StartAdvertising(bool radio_discoverable) {
+ NEARBY_LOGS(INFO) << __func__
+ << ": StartAdvertising is called with radio_discoverable: "
+ << radio_discoverable << ".";
+
+ try {
+ if (rfcomm_provider_ != nullptr &&
+ is_radio_discoverable_ == radio_discoverable) {
+ NEARBY_LOGS(WARNING) << __func__
+ << ": Ignore StartAdvertising due to no change to "
+ "current advertising.";
+ return true;
+ }
+
+ if (rfcomm_provider_ != nullptr && !StopAdvertising()) {
+ NEARBY_LOGS(WARNING) << __func__
+ << ": Failed to StartAdvertising due to cannot stop "
+ "running advertising.";
+ return false;
+ }
+
+ rfcomm_provider_ =
+ RfcommServiceProvider::CreateAsync(
+ RfcommServiceId::FromUuid(winrt::guid(service_uuid_)))
+ .get();
+
+ server_socket_ = std::make_unique<BluetoothServerSocket>(
+ winrt::to_string(rfcomm_provider_.ServiceId().AsString()));
+
+ raw_server_socket_ = server_socket_.get();
+
+ if (!server_socket_->listen()) {
+ NEARBY_LOGS(ERROR)
+ << __func__
+ << ": Failed to StartAdvertising due to cannot start socket.";
+ server_socket_->Close();
+ server_socket_ = nullptr;
+ rfcomm_provider_ = nullptr;
+ return false;
+ }
+
+ server_socket_->SetCloseNotifier([&]() {
+ StopAdvertising();
+ });
+
+ // Set the SDP attributes and start Bluetooth advertising
+ InitializeServiceSdpAttributes(rfcomm_provider_, service_name_);
+
+ // Start to advertising.
+ rfcomm_provider_.StartAdvertising(server_socket_->stream_socket_listener(),
+ radio_discoverable);
+ is_radio_discoverable_ = radio_discoverable;
+
+ NEARBY_LOGS(INFO) << ": StartListening completed successfully.";
+ return true;
+ } catch (std::exception exception) {
+ // We will log and eat the exception since the caller
+ // expects nullptr if it fails
+ NEARBY_LOGS(ERROR) << __func__ << ": Exception setting up for listen: "
+ << exception.what();
+
+ if (server_socket_ != nullptr) {
+ server_socket_->Close();
+ server_socket_ = nullptr;
+ }
+
+ if (rfcomm_provider_ != nullptr) {
+ rfcomm_provider_ = nullptr;
+ }
+
+ return false;
+ } catch (const winrt::hresult_error& ex) {
+ NEARBY_LOGS(ERROR) << __func__
+ << ": Exception setting up for listen: " << ex.code()
+ << ": " << winrt::to_string(ex.message());
+ if (server_socket_ != nullptr) {
+ server_socket_->Close();
+ server_socket_ = nullptr;
+ }
+
+ if (rfcomm_provider_ != nullptr) {
+ rfcomm_provider_ = nullptr;
+ }
+
+ return false;
+ }
+}
+
+bool BluetoothClassicMedium::StopAdvertising() {
+ NEARBY_LOGS(INFO) << __func__ << ": StopAdvertising is called";
+
+ try {
+ if (rfcomm_provider_ == nullptr) {
+ NEARBY_LOGS(ERROR) << __func__
+ << ": Ignore StopAdvertising due to no advertising.";
+ return true;
+ }
+
+ rfcomm_provider_.StopAdvertising();
+ rfcomm_provider_ = nullptr;
+ raw_server_socket_ = nullptr;
+ server_socket_ = nullptr;
+
+ NEARBY_LOGS(INFO) << ": StopAdvertising completed successfully.";
+ return true;
+ } catch (std::exception exception) {
+ NEARBY_LOGS(ERROR) << __func__
+ << ": StopAdvertising exception: " << exception.what();
+ return false;
+ } catch (const winrt::hresult_error& ex) {
+ NEARBY_LOGS(ERROR) << __func__
+ << ": StopAdvertising exception: " << ex.code() << ": "
+ << winrt::to_string(ex.message());
+ return false;
+ }
+}
+
+bool BluetoothClassicMedium::InitializeServiceSdpAttributes(
+ RfcommServiceProvider rfcomm_provider, std::string service_name) {
+ try {
+ auto sdpWriter = DataWriter();
+
+ // Write the Service Name Attribute.
+ sdpWriter.WriteByte(Constants::SdpServiceNameAttributeType);
+
+ // The length of the UTF-8 encoded Service Name SDP Attribute.
+ sdpWriter.WriteByte(service_name.size());
+
+ // The UTF-8 encoded Service Name value.
+ sdpWriter.UnicodeEncoding(UnicodeEncoding::Utf8);
+ sdpWriter.WriteString(winrt::to_hstring(service_name));
+
+ // Set the SDP Attribute on the RFCOMM Service Provider.
+ rfcomm_provider.SdpRawAttributes().Insert(
+ Constants::SdpServiceNameAttributeId, sdpWriter.DetachBuffer());
+
+ return true;
+ } catch (...) {
+ NEARBY_LOGS(ERROR) << __func__
+ << ": Failed to InitializeServiceSdpAttributes.";
+ return false;
+ }
+}
+
} // namespace windows
} // namespace nearby
} // namespace location
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_medium.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_medium.h
index d07d5e12002..6b11fe115fd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_medium.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_medium.h
@@ -15,6 +15,10 @@
#ifndef PLATFORM_IMPL_WINDOWS_BLUETOOTH_CLASSIC_MEDIUM_H_
#define PLATFORM_IMPL_WINDOWS_BLUETOOTH_CLASSIC_MEDIUM_H_
+#include <map>
+#include <memory>
+#include <string>
+
#include "internal/platform/implementation/bluetooth_classic.h"
#include "internal/platform/implementation/windows/bluetooth_adapter.h"
#include "internal/platform/implementation/windows/bluetooth_classic_device.h"
@@ -47,6 +51,14 @@ using winrt::Windows::Devices::Enumeration::DeviceInformationUpdate;
// https://docs.microsoft.com/en-us/uwp/api/windows.devices.enumeration.devicewatcher?view=winrt-20348
using winrt::Windows::Devices::Enumeration::DeviceWatcher;
+// Writes data to an output stream.
+// https://docs.microsoft.com/en-us/uwp/api/windows.storage.streams.datawriter?view=winrt-20348
+using winrt::Windows::Storage::Streams::DataWriter;
+
+// Specifies the type of character encoding for a stream.
+// https://docs.microsoft.com/en-us/uwp/api/windows.storage.streams.unicodeencoding?view=winrt-20348
+using winrt::Windows::Storage::Streams::UnicodeEncoding;
+
// Describes the state of a DeviceWatcher object.
// https://docs.microsoft.com/en-us/uwp/api/windows.devices.enumeration.devicewatcherstatus?view=winrt-20348
using winrt::Windows::Devices::Enumeration::DeviceWatcherStatus;
@@ -67,6 +79,10 @@ using winrt::Windows::Devices::Enumeration::DeviceAccessInformation;
// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.rfcomm.rfcommserviceid?view=winrt-20348
using winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId;
+// Represents an instance of a local RFCOMM service.
+// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.rfcomm.rfcommserviceprovider?view=winrt-20348
+using winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceProvider;
+
// Reads data from an input stream.
// https://docs.microsoft.com/en-us/uwp/api/windows.storage.streams.datareader?view=winrt-20348
using winrt::Windows::Storage::Streams::DataReader;
@@ -84,7 +100,7 @@ using winrt::Windows::Storage::Streams::DataWriter;
// medium.
class BluetoothClassicMedium : public api::BluetoothClassicMedium {
public:
- BluetoothClassicMedium(api::BluetoothAdapter& bluetoothAdapter);
+ explicit BluetoothClassicMedium(api::BluetoothAdapter& bluetoothAdapter);
~BluetoothClassicMedium() override;
@@ -134,6 +150,10 @@ class BluetoothClassicMedium : public api::BluetoothClassicMedium {
private:
bool StartScanning();
bool StopScanning();
+ bool StartAdvertising(bool radio_discoverable);
+ bool StopAdvertising();
+ bool InitializeServiceSdpAttributes(RfcommServiceProvider rfcomm_provider,
+ std::string service_name);
bool IsWatcherStarted();
bool IsWatcherRunning();
void InitializeDeviceWatcher();
@@ -166,7 +186,6 @@ class BluetoothClassicMedium : public api::BluetoothClassicMedium {
DeviceWatcher device_watcher_ = nullptr;
std::unique_ptr<BluetoothSocket> bluetooth_socket_;
- std::unique_ptr<BluetoothServerSocket> bluetooth_server_socket_;
std::string service_name_;
std::string service_uuid_;
@@ -176,13 +195,16 @@ class BluetoothClassicMedium : public api::BluetoothClassicMedium {
std::map<winrt::hstring, std::unique_ptr<BluetoothDevice>>
discovered_devices_by_id_;
- // CRITICAL_SECTION is a lightweight synchronization mechanism
- // https://docs.microsoft.com/en-us/windows/win32/sync/critical-section-objects
- CRITICAL_SECTION critical_section_;
-
BluetoothAdapter& bluetooth_adapter_;
- BluetoothAdapter::ScanMode scan_mode_;
+ BluetoothAdapter::ScanMode scan_mode_ = BluetoothAdapter::ScanMode::kUnknown;
+ std::unique_ptr<BluetoothDevice> remote_device_to_connect_;
+
+ // Used for advertising.
+ RfcommServiceProvider rfcomm_provider_ = nullptr;
+ std::unique_ptr<BluetoothServerSocket> server_socket_ = nullptr;
+ BluetoothServerSocket* raw_server_socket_ = nullptr;
+ bool is_radio_discoverable_ = false;
};
} // namespace windows
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_server_socket.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_server_socket.cc
index d33518e4708..affeee9af03 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_server_socket.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_server_socket.cc
@@ -15,31 +15,24 @@
#include "internal/platform/implementation/windows/bluetooth_classic_server_socket.h"
#include <codecvt>
+#include <functional>
#include <locale>
+#include <memory>
#include <string>
+#include "internal/platform/exception.h"
#include "internal/platform/implementation/windows/bluetooth_classic_socket.h"
-#include "internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Collections.h"
-#include "internal/platform/implementation/windows/utils.h"
#include "internal/platform/logging.h"
namespace location {
namespace nearby {
namespace windows {
-BluetoothServerSocket::BluetoothServerSocket(const std::string service_name,
- const std::string service_uuid)
- : radio_discoverable_(false),
- service_name_(service_name),
- service_uuid_(service_uuid),
- rfcomm_provider_(nullptr) {
- InitializeCriticalSection(&critical_section_);
-}
+BluetoothServerSocket::BluetoothServerSocket(absl::string_view service_name)
+ : service_name_(service_name) {}
-BluetoothServerSocket::~BluetoothServerSocket() {}
+BluetoothServerSocket::~BluetoothServerSocket() { Close(); }
-// https://developer.android.com/reference/android/bluetooth/BluetoothServerSocket.html#accept()
-//
// Blocks until either:
// - at least one incoming connection request is available, or
// - ServerSocket is closed.
@@ -47,166 +40,106 @@ BluetoothServerSocket::~BluetoothServerSocket() {}
// Returns nullptr on error.
// Once error is reported, it is permanent, and ServerSocket has to be closed.
std::unique_ptr<api::BluetoothSocket> BluetoothServerSocket::Accept() {
- while (bluetooth_sockets_.empty() && !closed_) {
- Sleep(1000);
- }
+ absl::MutexLock lock(&mutex_);
+ NEARBY_LOGS(INFO) << __func__ << ": Accept is called.";
- EnterCriticalSection(&critical_section_);
- if (!closed_) {
- std::unique_ptr<BluetoothSocket> bluetoothSocket =
- std::move(bluetooth_sockets_.front());
- bluetooth_sockets_.pop();
- LeaveCriticalSection(&critical_section_);
-
- return std::move(bluetoothSocket);
- } else {
- bluetooth_sockets_ = {};
- LeaveCriticalSection(&critical_section_);
+ while (!closed_ && pending_sockets_.empty()) {
+ cond_.Wait(&mutex_);
}
+ if (closed_) return nullptr;
- return nullptr;
-}
-
-Exception BluetoothServerSocket::StartListening(bool radioDiscoverable) {
- EnterCriticalSection(&critical_section_);
-
- radio_discoverable_ = radioDiscoverable;
-
- // Create the StreamSocketListener
- stream_socket_listener_ = StreamSocketListener();
-
- // Configure control property
- stream_socket_listener_.Control().QualityOfService(
- SocketQualityOfService::LowLatency);
+ StreamSocket bluetooth_socket = pending_sockets_.front();
+ pending_sockets_.pop_front();
- stream_socket_listener_.Control().KeepAlive(true);
+ NEARBY_LOGS(INFO) << __func__ << ": Accepted a remote connection.";
+ return std::make_unique<BluetoothSocket>(bluetooth_socket);
+}
- // Note From the perspective of a StreamSocket, a Parallel Patterns Library
- // (PPL) completion handler is done executing (and the socket is eligible for
- // disposal) before the continuation body runs. So, to keep your socket from
- // being disposed if you want to use it inside a continuation, you'll need to
- // use one of the techniques described in References to StreamSockets in C++
- // PPL continuations.
- // Assign ConnectionReceived event to event handler on the server socket
- stream_socket_listener_.ConnectionReceived(
- [this](StreamSocketListener streamSocketListener,
- StreamSocketListenerConnectionReceivedEventArgs args) {
- EnterCriticalSection(&critical_section_);
- if (!closed_) {
- this->bluetooth_sockets_.push(
- std::make_unique<BluetoothSocket>(args.Socket()));
- }
- LeaveCriticalSection(&critical_section_);
- });
+void BluetoothServerSocket::SetCloseNotifier(std::function<void()> notifier) {
+ close_notifier_ = std::move(notifier);
+}
+// Returns Exception::kIo on error, Exception::kSuccess otherwise.
+Exception BluetoothServerSocket::Close() {
try {
- auto rfcommProviderRef =
- RfcommServiceProvider::CreateAsync(
- RfcommServiceId::FromUuid(winrt::guid(service_uuid_)))
- .get();
+ absl::MutexLock lock(&mutex_);
+ NEARBY_LOGS(INFO) << __func__ << ": Close is called.";
- rfcomm_provider_ = rfcommProviderRef;
+ if (closed_) {
+ return {Exception::kSuccess};
+ }
- stream_socket_listener_
- .BindServiceNameAsync(
- winrt::to_hstring(rfcomm_provider_.ServiceId().AsString()),
- SocketProtectionLevel::PlainSocket)
- .get();
+ if (stream_socket_listener_ != nullptr) {
+ stream_socket_listener_.ConnectionReceived(listener_event_token_);
+ stream_socket_listener_.Close();
+ stream_socket_listener_ = nullptr;
- // Set the SDP attributes and start Bluetooth advertising
- InitializeServiceSdpAttributes(rfcomm_provider_, service_name_);
- } catch (std::exception exception) {
- // We will log and eat the exception since the caller
- // expects nullptr if it fails
- NEARBY_LOGS(ERROR) << __func__ << ": Exception setting up for listen: "
- << exception.what();
+ for (const auto& pending_socket : pending_sockets_) {
+ pending_socket.Close();
+ }
- LeaveCriticalSection(&critical_section_);
+ pending_sockets_ = {};
+ }
+ closed_ = true;
+ cond_.SignalAll();
- return {Exception::kFailed};
- } catch (const winrt::hresult_error& ex) {
- NEARBY_LOGS(ERROR) << __func__
- << ": Exception setting up for listen: " << ex.code()
- << ": " << winrt::to_string(ex.message());
+ if (close_notifier_ != nullptr) {
+ close_notifier_();
+ }
- LeaveCriticalSection(&critical_section_);
+ NEARBY_LOGS(INFO) << __func__ << ": Close completed succesfully.";
+ return {Exception::kSuccess};
+ } catch (...) {
+ closed_ = true;
+ cond_.SignalAll();
- return {Exception::kFailed};
+ NEARBY_LOGS(INFO) << __func__ << ": Failed to close server socket.";
+ return {Exception::kIo};
}
-
- StartAdvertising();
-
- LeaveCriticalSection(&critical_section_);
-
- return {Exception::kSuccess};
}
-Exception BluetoothServerSocket::StartAdvertising() {
- try {
- rfcomm_provider_.StartAdvertising(stream_socket_listener_,
- radio_discoverable_);
- } catch (std::exception exception) {
- // We will log and eat the exception since the caller
- // expects nullptr if it fails
- NEARBY_LOGS(ERROR) << __func__ << ": Exception calling StartAdvertising: "
- << exception.what();
+bool BluetoothServerSocket::listen() {
+ // Setup stream socket listener.
+ stream_socket_listener_ = StreamSocketListener();
- LeaveCriticalSection(&critical_section_);
+ stream_socket_listener_.Control().QualityOfService(
+ SocketQualityOfService::LowLatency);
- return {Exception::kFailed};
- } catch (const winrt::hresult_error& ex) {
- NEARBY_LOGS(ERROR) << __func__
- << ": Exception calling StartAdvertising: " << ex.code()
- << ": " << winrt::to_string(ex.message());
+ stream_socket_listener_.Control().KeepAlive(true);
- LeaveCriticalSection(&critical_section_);
+ // Setup socket event of ConnectionReceived.
+ listener_event_token_ = stream_socket_listener_.ConnectionReceived(
+ {this, &BluetoothServerSocket::Listener_ConnectionReceived});
- return {Exception::kFailed};
- }
+ try {
+ stream_socket_listener_
+ .BindServiceNameAsync(winrt::to_hstring(service_name_),
+ SocketProtectionLevel::PlainSocket)
+ .get();
- return {Exception::kSuccess};
-}
+ return true;
+ } catch (...) {
+ NEARBY_LOGS(WARNING) << "cannot accept connection on preferred port.";
+ }
-void BluetoothServerSocket::StopAdvertising() {
- rfcomm_provider_.StopAdvertising();
+ return false;
}
-void BluetoothServerSocket::InitializeServiceSdpAttributes(
- RfcommServiceProvider rfcommProvider, std::string service_name) {
- auto sdpWriter = DataWriter();
+::winrt::fire_and_forget BluetoothServerSocket::Listener_ConnectionReceived(
+ StreamSocketListener listener,
+ StreamSocketListenerConnectionReceivedEventArgs const& args) {
+ absl::MutexLock lock(&mutex_);
+ NEARBY_LOGS(INFO) << __func__ << ": Received connection.";
- // Write the Service Name Attribute.
- sdpWriter.WriteByte(Constants::SdpServiceNameAttributeType);
-
- // The length of the UTF-8 encoded Service Name SDP Attribute.
- sdpWriter.WriteByte(service_name.size());
-
- // The UTF-8 encoded Service Name value.
- sdpWriter.UnicodeEncoding(UnicodeEncoding::Utf8);
- sdpWriter.WriteString(winrt::to_hstring(service_name));
-
- // Set the SDP Attribute on the RFCOMM Service Provider.
- rfcommProvider.SdpRawAttributes().Insert(Constants::SdpServiceNameAttributeId,
- sdpWriter.DetachBuffer());
-}
-
-// https://developer.android.com/reference/android/bluetooth/BluetoothServerSocket.html#close()
-//
-// Returns Exception::kIo on error, Exception::kSuccess otherwise.
-Exception BluetoothServerSocket::Close() {
- EnterCriticalSection(&critical_section_);
if (closed_) {
- LeaveCriticalSection(&critical_section_);
- return {Exception::kSuccess};
+ return ::winrt::fire_and_forget{};
}
- rfcomm_provider_.StopAdvertising();
- closed_ = true;
- bluetooth_sockets_ = {};
- LeaveCriticalSection(&critical_section_);
-
- return {Exception::kSuccess};
+ pending_sockets_.push_back(args.Socket());
+ cond_.SignalAll();
+ return ::winrt::fire_and_forget{};
}
+
} // namespace windows
} // namespace nearby
} // namespace location
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_server_socket.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_server_socket.h
index 6e9811e8cc6..5c54df26654 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_server_socket.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_server_socket.h
@@ -17,13 +17,15 @@
#include <Windows.h>
+#include <functional>
+#include <memory>
#include <queue>
+#include <string>
+#include "absl/strings/string_view.h"
+#include "absl/synchronization/mutex.h"
#include "internal/platform/implementation/bluetooth_classic.h"
#include "internal/platform/implementation/windows/bluetooth_classic_socket.h"
-#include "internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Rfcomm.h"
-#include "internal/platform/implementation/windows/generated/winrt/Windows.Foundation.h"
-#include "internal/platform/implementation/windows/generated/winrt/Windows.Networking.Sockets.h"
#include "internal/platform/implementation/windows/generated/winrt/base.h"
namespace location {
@@ -40,30 +42,10 @@ using winrt::Windows::Networking::Sockets::StreamSocketListener;
using winrt::Windows::Networking::Sockets::
StreamSocketListenerConnectionReceivedEventArgs;
-// Represents an asynchronous action.
-// https://docs.microsoft.com/en-us/uwp/api/windows.foundation.iasyncaction?view=winrt-20348
-using winrt::Windows::Foundation::IAsyncAction;
-
// Specifies the quality of service for a StreamSocket object.
// https://docs.microsoft.com/en-us/uwp/api/windows.networking.sockets.socketqualityofservice?view=winrt-20348
using winrt::Windows::Networking::Sockets::SocketQualityOfService;
-// Represents an instance of a local RFCOMM service.
-// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.rfcomm.rfcommserviceprovider?view=winrt-20348
-using winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceProvider;
-
-// Represents an RFCOMM service ID.
-// https://docs.microsoft.com/en-us/uwp/api/windows.devices.bluetooth.rfcomm.rfcommserviceid?view=winrt-20348
-using winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId;
-
-// Writes data to an output stream.
-// https://docs.microsoft.com/en-us/uwp/api/windows.storage.streams.datawriter?view=winrt-20348
-using winrt::Windows::Storage::Streams::DataWriter;
-
-// Specifies the type of character encoding for a stream.
-// https://docs.microsoft.com/en-us/uwp/api/windows.storage.streams.unicodeencoding?view=winrt-20348
-using winrt::Windows::Storage::Streams::UnicodeEncoding;
-
// Specifies the level of encryption to use on a StreamSocket object.
// https://docs.microsoft.com/en-us/uwp/api/windows.networking.sockets.socketprotectionlevel?view=winrt-22000
using winrt::Windows::Networking::Sockets::SocketProtectionLevel;
@@ -71,8 +53,7 @@ using winrt::Windows::Networking::Sockets::SocketProtectionLevel;
// https://developer.android.com/reference/android/bluetooth/BluetoothServerSocket.html.
class BluetoothServerSocket : public api::BluetoothServerSocket {
public:
- BluetoothServerSocket(const std::string service_name,
- const std::string service_uuid);
+ BluetoothServerSocket(absl::string_view service_name);
~BluetoothServerSocket() override;
@@ -91,36 +72,41 @@ class BluetoothServerSocket : public api::BluetoothServerSocket {
// Returns Exception::kIo on error, Exception::kSuccess otherwise.
Exception Close() override;
- Exception StartListening(bool radioDiscoverable);
+ // Called by the server side of a connection before passing ownership of
+ // WifiLanServerSocker to user, to track validity of a pointer to this
+ // server socket.
+ void SetCloseNotifier(std::function<void()> notifier);
+
+ bool listen();
- void SetScanMode(bool radioDiscoverable) {
- StopAdvertising();
- radio_discoverable_ = radioDiscoverable;
- StartAdvertising();
+ const StreamSocketListener& stream_socket_listener() const {
+ return stream_socket_listener_;
}
private:
- void InitializeServiceSdpAttributes(RfcommServiceProvider rfcommProvider,
- std::string service_name);
+ // The listener is accepting incoming connections
+ ::winrt::fire_and_forget Listener_ConnectionReceived(
+ StreamSocketListener listener,
+ StreamSocketListenerConnectionReceivedEventArgs const& args);
- Exception StartAdvertising();
- void StopAdvertising();
+ // Retrieves IP addresses from local machine
+ std::vector<std::string> GetIpAddresses() const;
- // This is used to store sockets in case Accept hasn't been called. Once
- // Accept has been called the socket is popped from the queue and returned to
- // the caller
- std::queue<std::unique_ptr<BluetoothSocket>> bluetooth_sockets_;
+ mutable absl::Mutex mutex_;
+ absl::CondVar cond_;
+ std::deque<StreamSocket> pending_sockets_ ABSL_GUARDED_BY(mutex_);
+ StreamSocketListener stream_socket_listener_{nullptr};
+ winrt::event_token listener_event_token_{};
- StreamSocketListener stream_socket_listener_;
- winrt::event_token listener_token_;
- CRITICAL_SECTION critical_section_;
- bool closed_ = false;
- bool radio_discoverable_;
+ // Close notifier
+ std::function<void()> close_notifier_ = nullptr;
- const std::string service_name_;
- const std::string service_uuid_;
+ // IP addresses of the computer. mDNS uses them to advertise.
+ std::vector<std::string> ip_addresses_{};
- RfcommServiceProvider rfcomm_provider_;
+ // Cache socket not be picked by upper layer
+ std::string service_name_;
+ bool closed_ = false;
};
} // namespace windows
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_socket.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_socket.cc
index b8c10e91b63..70613fe828e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_socket.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_socket.cc
@@ -83,8 +83,16 @@ api::BluetoothDevice* BluetoothSocket::GetRemoteDevice() {
// Starts an asynchronous operation on a StreamSocket object to connect to a
// remote network destination specified by a remote hostname and a remote
// service name.
-void BluetoothSocket::Connect(HostName connectionHostName,
+bool BluetoothSocket::Connect(HostName connectionHostName,
winrt::hstring connectionServiceName) {
+ if (connectionHostName == nullptr || connectionServiceName.empty()) {
+ NEARBY_LOGS(ERROR)
+ << __func__
+ << ": Bluetooth socket connection failed. Attempting to "
+ "connect to empty HostName/MAC address or ServiceName.";
+ return false;
+ }
+
windows_socket_ = winrt::Windows::Networking::Sockets::StreamSocket();
// https://docs.microsoft.com/en-us/uwp/api/windows.networking.sockets.streamsocket.connectasync?view=winrt-20348
@@ -102,6 +110,11 @@ void BluetoothSocket::Connect(HostName connectionHostName,
std::make_unique<BluetoothInputStream>(windows_socket_.InputStream());
output_stream_ =
std::make_unique<BluetoothOutputStream>(windows_socket_.OutputStream());
+
+ NEARBY_LOGS(INFO) << __func__
+ << ": Bluetooth socket successfully connected to "
+ << bluetooth_device_->GetName();
+ return true;
}
BluetoothSocket::BluetoothInputStream::BluetoothInputStream(
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_socket.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_socket.h
index 1c48b0d2d80..83d4ad34319 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_socket.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/bluetooth_classic_socket.h
@@ -93,8 +93,9 @@ class BluetoothSocket : public api::BluetoothSocket {
api::BluetoothDevice* GetRemoteDevice() override;
// Connect asynchronously to the target remote device
- void Connect(HostName connectionHostName,
- winrt::hstring connectionServiceName);
+ // Returns true if successful, false otherwise
+ bool Connect(HostName connectionHostName,
+ winrt::hstring connectionServiceName);
IAsyncAction CancelIOAsync();
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/crypto.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/crypto.cc
index deafea99c31..80f57cce832 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/crypto.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/crypto.cc
@@ -20,9 +20,9 @@
#include "absl/strings/string_view.h"
#include "internal/platform/byte_array.h"
#if defined NEARBY_WINDOWS_DLL
-#include "third_party/openssl/boringssl/src/include/openssl/digest.h"
+#include <openssl/boringssl/src/include/openssl/digest.h>
#else
-#include "src/include/openssl/digest.h"
+#include <openssl/digest.h>
#endif
// Function implementations for platform/api/crypto.h.
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/executor_test.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/executor_test.cc
index b5db8a7419b..3902f39e6da 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/executor_test.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/executor_test.cc
@@ -313,11 +313,6 @@ TEST(ExecutorTests,
// We should still be on the main thread
ASSERT_EQ(GetCurrentThreadId(), threadIds.at(0));
- std::sort(threadIds.begin(), threadIds.end());
- int64_t uniqueIds =
- std::unique(threadIds.begin(), threadIds.end()) - threadIds.begin();
-
- ASSERT_EQ(uniqueIds, 33);
// We should've run 1 time on the main thread, and 200 times on the
// workerThreads
ASSERT_EQ(threadIds.size(), 251);
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/BUILD b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/BUILD
index d7049d68699..d7afb79bcf2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/BUILD
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/BUILD
@@ -33,6 +33,7 @@ cc_library(
"setupapi.lib",
"dnsapi.lib",
"wlanapi.lib",
+ "shlwapi.lib",
],
textual_hdrs = glob(["**/*.h"]),
visibility = [
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.Preview.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.Preview.h
index 5000b4ee50c..b6ed115b0b9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.Preview.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) consume_Windows_AI_MachineLearning_Preview_IImageVariableDescriptorPreview<D>::BitmapPixelFormat() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_IImageVariableDescriptorPreview<D>::BitmapPixelFormat() const
{
winrt::Windows::Graphics::Imaging::BitmapPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IImageVariableDescriptorPreview)->get_BitmapPixelFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_AI_MachineLearning_Preview_IImageVariableDescriptorPreview<D>::Width() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_IImageVariableDescriptorPreview<D>::Width() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IImageVariableDescriptorPreview)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_AI_MachineLearning_Preview_IImageVariableDescriptorPreview<D>::Height() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_IImageVariableDescriptorPreview<D>::Height() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IImageVariableDescriptorPreview)->get_Height(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::LearningModelDeviceKindPreview) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::PreferredDeviceKind() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::PreferredDeviceKind() const
{
winrt::Windows::AI::MachineLearning::Preview::LearningModelDeviceKindPreview value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->get_PreferredDeviceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::PreferredDeviceKind(winrt::Windows::AI::MachineLearning::Preview::LearningModelDeviceKindPreview const& value) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::IsTracingEnabled() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::IsTracingEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->get_IsTracingEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::IsTracingEnabled(bool value) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::IsTracingEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->put_IsTracingEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::MaxBatchSize() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::MaxBatchSize() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->get_MaxBatchSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::MaxBatchSize(int32_t value) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::MaxBatchSize(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->put_MaxBatchSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::MinimizeMemoryAllocation() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::MinimizeMemoryAllocation() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->get_MinimizeMemoryAllocation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::MinimizeMemoryAllocation(bool value) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::MinimizeMemoryAllocation(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->put_MinimizeMemoryAllocation(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::ReclaimMemoryAfterEvaluation() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::ReclaimMemoryAfterEvaluation() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->get_ReclaimMemoryAfterEvaluation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::ReclaimMemoryAfterEvaluation(bool value) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_IInferencingOptionsPreview<D>::ReclaimMemoryAfterEvaluation(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview)->put_ReclaimMemoryAfterEvaluation(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreview<D>::Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreview<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreview<D>::Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::Collections::IPropertySet const& metadata) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreview<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreview<D>::Clear() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreview<D>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelBindingPreview)->Clear());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::LearningModelBindingPreview) consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreviewFactory<D>::CreateFromModel(winrt::Windows::AI::MachineLearning::Preview::LearningModelPreview const& model) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelBindingPreviewFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview<D>::Author() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview<D>::Name() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview<D>::Domain() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview<D>::Description() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview<D>::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 <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview<D>::Version() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview<D>::Version() const
{
int64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelDescriptionPreview)->get_Version(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>) consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview<D>::Metadata() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview<D>::Metadata() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelDescriptionPreview)->get_Metadata(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview>) consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview<D>::InputFeatures() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview<D>::InputFeatures() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelDescriptionPreview)->get_InputFeatures(&value));
return winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview>) consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview<D>::OutputFeatures() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelDescriptionPreview<D>::OutputFeatures() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelDescriptionPreview)->get_OutputFeatures(&value));
return winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_Preview_ILearningModelEvaluationResultPreview<D>::CorrelationId() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelEvaluationResultPreview<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_AI_MachineLearning_Preview_ILearningModelEvaluationResultPreview<D>::Outputs() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelEvaluationResultPreview<D>::Outputs() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelEvaluationResultPreview)->get_Outputs(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::Preview::LearningModelEvaluationResultPreview>) consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview<D>::EvaluateAsync(winrt::Windows::AI::MachineLearning::Preview::LearningModelBindingPreview const& binding, param::hstring const& correlationId) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview<D>::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<winrt::Windows::AI::MachineLearning::Preview::LearningModelEvaluationResultPreview>{ evalOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::Preview::LearningModelEvaluationResultPreview>) consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview<D>::EvaluateFeaturesAsync(param::map<hstring, winrt::Windows::Foundation::IInspectable> const& features, param::hstring const& correlationId) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview<D>::EvaluateFeaturesAsync(param::map<hstring, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::AI::MachineLearning::Preview::LearningModelEvaluationResultPreview>{ evalOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::LearningModelDescriptionPreview) consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview<D>::Description() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::InferencingOptionsPreview) consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview<D>::InferencingOptions() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview<D>::InferencingOptions(winrt::Windows::AI::MachineLearning::Preview::InferencingOptionsPreview const& value) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::Preview::LearningModelPreview>) consume_Windows_AI_MachineLearning_Preview_ILearningModelPreviewStatics<D>::LoadModelFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelPreviewStatics<D>::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<winrt::Windows::AI::MachineLearning::Preview::LearningModelPreview>{ modelCreationOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::Preview::LearningModelPreview>) consume_Windows_AI_MachineLearning_Preview_ILearningModelPreviewStatics<D>::LoadModelFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelPreviewStatics<D>::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<winrt::Windows::AI::MachineLearning::Preview::LearningModelPreview>{ modelCreationOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_Preview_ILearningModelVariableDescriptorPreview<D>::Name() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelVariableDescriptorPreview<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_Preview_ILearningModelVariableDescriptorPreview<D>::Description() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelVariableDescriptorPreview<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::LearningModelFeatureKindPreview) consume_Windows_AI_MachineLearning_Preview_ILearningModelVariableDescriptorPreview<D>::ModelFeatureKind() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelVariableDescriptorPreview<D>::ModelFeatureKind() const
{
winrt::Windows::AI::MachineLearning::Preview::LearningModelFeatureKindPreview value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview)->get_ModelFeatureKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_AI_MachineLearning_Preview_ILearningModelVariableDescriptorPreview<D>::IsRequired() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ILearningModelVariableDescriptorPreview<D>::IsRequired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview)->get_IsRequired(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::FeatureElementKindPreview) consume_Windows_AI_MachineLearning_Preview_IMapVariableDescriptorPreview<D>::KeyKind() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_IMapVariableDescriptorPreview<D>::KeyKind() const
{
winrt::Windows::AI::MachineLearning::Preview::FeatureElementKindPreview value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IMapVariableDescriptorPreview)->get_KeyKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<hstring>) consume_Windows_AI_MachineLearning_Preview_IMapVariableDescriptorPreview<D>::ValidStringKeys() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_IMapVariableDescriptorPreview<D>::ValidStringKeys() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IMapVariableDescriptorPreview)->get_ValidStringKeys(&value));
return winrt::Windows::Foundation::Collections::IIterable<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<int64_t>) consume_Windows_AI_MachineLearning_Preview_IMapVariableDescriptorPreview<D>::ValidIntegerKeys() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_IMapVariableDescriptorPreview<D>::ValidIntegerKeys() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::IMapVariableDescriptorPreview)->get_ValidIntegerKeys(&value));
return winrt::Windows::Foundation::Collections::IIterable<int64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview) consume_Windows_AI_MachineLearning_Preview_IMapVariableDescriptorPreview<D>::Fields() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_IMapVariableDescriptorPreview<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview) consume_Windows_AI_MachineLearning_Preview_ISequenceVariableDescriptorPreview<D>::ElementType() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ISequenceVariableDescriptorPreview<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::Preview::FeatureElementKindPreview) consume_Windows_AI_MachineLearning_Preview_ITensorVariableDescriptorPreview<D>::DataType() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ITensorVariableDescriptorPreview<D>::DataType() const
{
winrt::Windows::AI::MachineLearning::Preview::FeatureElementKindPreview value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ITensorVariableDescriptorPreview)->get_DataType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<int64_t>) consume_Windows_AI_MachineLearning_Preview_ITensorVariableDescriptorPreview<D>::Shape() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_Preview_ITensorVariableDescriptorPreview<D>::Shape() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::Preview::ITensorVariableDescriptorPreview)->get_Shape(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.h
index c2b31115c42..7c1fbf1511f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.AI.MachineLearning.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) consume_Windows_AI_MachineLearning_IImageFeatureDescriptor<D>::BitmapPixelFormat() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_IImageFeatureDescriptor<D>::BitmapPixelFormat() const
{
winrt::Windows::Graphics::Imaging::BitmapPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IImageFeatureDescriptor)->get_BitmapPixelFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapAlphaMode) consume_Windows_AI_MachineLearning_IImageFeatureDescriptor<D>::BitmapAlphaMode() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_IImageFeatureDescriptor<D>::BitmapAlphaMode() const
{
winrt::Windows::Graphics::Imaging::BitmapAlphaMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IImageFeatureDescriptor)->get_BitmapAlphaMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_AI_MachineLearning_IImageFeatureDescriptor<D>::Width() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_IImageFeatureDescriptor<D>::Width() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IImageFeatureDescriptor)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_AI_MachineLearning_IImageFeatureDescriptor<D>::Height() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_IImageFeatureDescriptor<D>::Height() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IImageFeatureDescriptor)->get_Height(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_AI_MachineLearning_IImageFeatureValue<D>::VideoFrame() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_IImageFeatureValue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::ImageFeatureValue) consume_Windows_AI_MachineLearning_IImageFeatureValueStatics<D>::CreateFromVideoFrame(winrt::Windows::Media::VideoFrame const& image) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_IImageFeatureValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModel<D>::Author() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModel<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModel<D>::Name() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModel<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModel<D>::Domain() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModel<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModel<D>::Description() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModel<D>::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 <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_AI_MachineLearning_ILearningModel<D>::Version() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModel<D>::Version() const
{
int64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_Version(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>) consume_Windows_AI_MachineLearning_ILearningModel<D>::Metadata() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModel<D>::Metadata() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_Metadata(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor>) consume_Windows_AI_MachineLearning_ILearningModel<D>::InputFeatures() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModel<D>::InputFeatures() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_InputFeatures(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor>) consume_Windows_AI_MachineLearning_ILearningModel<D>::OutputFeatures() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModel<D>::OutputFeatures() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModel)->get_OutputFeatures(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelBinding<D>::Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelBinding<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelBinding<D>::Bind(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::Collections::IPropertySet const& props) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelBinding<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelBinding<D>::Clear() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelBinding<D>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelBinding)->Clear());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelBinding) consume_Windows_AI_MachineLearning_ILearningModelBindingFactory<D>::CreateFromSession(winrt::Windows::AI::MachineLearning::LearningModelSession const& session) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelBindingFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DisplayAdapterId) consume_Windows_AI_MachineLearning_ILearningModelDevice<D>::AdapterId() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice) consume_Windows_AI_MachineLearning_ILearningModelDevice<D>::Direct3D11Device() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelDevice) consume_Windows_AI_MachineLearning_ILearningModelDeviceFactory<D>::Create(winrt::Windows::AI::MachineLearning::LearningModelDeviceKind const& deviceKind) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelDeviceFactory<D>::Create(winrt::Windows::AI::MachineLearning::LearningModelDeviceKind const& deviceKind) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelDeviceFactory)->Create(static_cast<int32_t>(deviceKind), &value));
return winrt::Windows::AI::MachineLearning::LearningModelDevice{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelDevice) consume_Windows_AI_MachineLearning_ILearningModelDeviceStatics<D>::CreateFromDirect3D11Device(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult<D>::CorrelationId() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult<D>::ErrorStatus() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult<D>::ErrorStatus() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelEvaluationResult)->get_ErrorStatus(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult<D>::Succeeded() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult<D>::Succeeded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelEvaluationResult)->get_Succeeded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult<D>::Outputs() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelEvaluationResult<D>::Outputs() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelEvaluationResult)->get_Outputs(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor<D>::Name() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor<D>::Description() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelFeatureKind) consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor<D>::Kind() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor<D>::Kind() const
{
winrt::Windows::AI::MachineLearning::LearningModelFeatureKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor<D>::IsRequired() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelFeatureDescriptor<D>::IsRequired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor)->get_IsRequired(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelFeatureKind) consume_Windows_AI_MachineLearning_ILearningModelFeatureValue<D>::Kind() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelFeatureValue<D>::Kind() const
{
winrt::Windows::AI::MachineLearning::LearningModelFeatureKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelFeatureValue)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) consume_Windows_AI_MachineLearning_ILearningModelSession<D>::Model() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelDevice) consume_Windows_AI_MachineLearning_ILearningModelSession<D>::Device() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_AI_MachineLearning_ILearningModelSession<D>::EvaluationProperties() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult>) consume_Windows_AI_MachineLearning_ILearningModelSession<D>::EvaluateAsync(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSession<D>::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<winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult>) consume_Windows_AI_MachineLearning_ILearningModelSession<D>::EvaluateFeaturesAsync(param::map<hstring, winrt::Windows::Foundation::IInspectable> const& features, param::hstring const& correlationId) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSession<D>::EvaluateFeaturesAsync(param::map<hstring, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult) consume_Windows_AI_MachineLearning_ILearningModelSession<D>::Evaluate(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult) consume_Windows_AI_MachineLearning_ILearningModelSession<D>::EvaluateFeatures(param::map<hstring, winrt::Windows::Foundation::IInspectable> const& features, param::hstring const& correlationId) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSession<D>::EvaluateFeatures(param::map<hstring, winrt::Windows::Foundation::IInspectable> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelSession) consume_Windows_AI_MachineLearning_ILearningModelSessionFactory<D>::CreateFromModel(winrt::Windows::AI::MachineLearning::LearningModel const& model) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSessionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelSession) consume_Windows_AI_MachineLearning_ILearningModelSessionFactory<D>::CreateFromModelOnDevice(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSessionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelSession) consume_Windows_AI_MachineLearning_ILearningModelSessionFactory2<D>::CreateFromModelOnDeviceWithSessionOptions(winrt::Windows::AI::MachineLearning::LearningModel const& model, winrt::Windows::AI::MachineLearning::LearningModelDevice const& deviceToRunOn, winrt::Windows::AI::MachineLearning::LearningModelSessionOptions const& learningModelSessionOptions) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSessionFactory2<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_AI_MachineLearning_ILearningModelSessionOptions<D>::BatchSizeOverride() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSessionOptions<D>::BatchSizeOverride() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions)->get_BatchSizeOverride(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelSessionOptions<D>::BatchSizeOverride(uint32_t value) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSessionOptions<D>::BatchSizeOverride(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions)->put_BatchSizeOverride(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_AI_MachineLearning_ILearningModelSessionOptions2<D>::CloseModelOnSessionCreation() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSessionOptions2<D>::CloseModelOnSessionCreation() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions2)->get_CloseModelOnSessionCreation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelSessionOptions2<D>::CloseModelOnSessionCreation(bool value) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSessionOptions2<D>::CloseModelOnSessionCreation(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions2)->put_CloseModelOnSessionCreation(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_AI_MachineLearning_ILearningModelSessionOptions3<D>::OverrideNamedDimension(param::hstring const& name, uint32_t dimension) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelSessionOptions3<D>::OverrideNamedDimension(param::hstring const& name, uint32_t dimension) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions3)->OverrideNamedDimension(*(void**)(&name), dimension));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>) consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::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<winrt::Windows::AI::MachineLearning::LearningModel>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>) consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::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<winrt::Windows::AI::MachineLearning::LearningModel>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromFilePath(param::hstring const& filePath) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>) consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::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<winrt::Windows::AI::MachineLearning::LearningModel>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>) consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::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<winrt::Windows::AI::MachineLearning::LearningModel>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromFilePath(param::hstring const& filePath, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModel) consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::LoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& modelStream, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ILearningModelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorKind) consume_Windows_AI_MachineLearning_IMapFeatureDescriptor<D>::KeyKind() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_IMapFeatureDescriptor<D>::KeyKind() const
{
winrt::Windows::AI::MachineLearning::TensorKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::IMapFeatureDescriptor)->get_KeyKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor) consume_Windows_AI_MachineLearning_IMapFeatureDescriptor<D>::ValueDescriptor() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_IMapFeatureDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor) consume_Windows_AI_MachineLearning_ISequenceFeatureDescriptor<D>::ElementDescriptor() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ISequenceFeatureDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorKind) consume_Windows_AI_MachineLearning_ITensor<D>::TensorKind() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensor<D>::TensorKind() const
{
winrt::Windows::AI::MachineLearning::TensorKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensor)->get_TensorKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int64_t>) consume_Windows_AI_MachineLearning_ITensor<D>::Shape() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensor<D>::Shape() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensor)->get_Shape(&value));
return winrt::Windows::Foundation::Collections::IVectorView<int64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<bool>) consume_Windows_AI_MachineLearning_ITensorBoolean<D>::GetAsVectorView() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorBoolean<D>::GetAsVectorView() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorBoolean)->GetAsVectorView(&result));
return winrt::Windows::Foundation::Collections::IVectorView<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics<D>::Create() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics<D>::Create(param::iterable<int64_t> const& shape) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics<D>::Create(param::iterable<int64_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<bool const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<bool const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<bool> const& data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<bool> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<bool const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<bool const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) consume_Windows_AI_MachineLearning_ITensorBooleanStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorBooleanStatics2<D>::CreateFromBuffer(array_view<int64_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<double>) consume_Windows_AI_MachineLearning_ITensorDouble<D>::GetAsVectorView() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorDouble<D>::GetAsVectorView() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorDouble)->GetAsVectorView(&result));
return winrt::Windows::Foundation::Collections::IVectorView<double>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics<D>::Create() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics<D>::Create(param::iterable<int64_t> const& shape) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics<D>::Create(param::iterable<int64_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<double const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<double const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<double> const& data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<double> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<double const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<double const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) consume_Windows_AI_MachineLearning_ITensorDoubleStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorDoubleStatics2<D>::CreateFromBuffer(array_view<int64_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorKind) consume_Windows_AI_MachineLearning_ITensorFeatureDescriptor<D>::TensorKind() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFeatureDescriptor<D>::TensorKind() const
{
winrt::Windows::AI::MachineLearning::TensorKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFeatureDescriptor)->get_TensorKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int64_t>) consume_Windows_AI_MachineLearning_ITensorFeatureDescriptor<D>::Shape() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFeatureDescriptor<D>::Shape() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFeatureDescriptor)->get_Shape(&value));
return winrt::Windows::Foundation::Collections::IVectorView<int64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<float>) consume_Windows_AI_MachineLearning_ITensorFloat<D>::GetAsVectorView() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloat<D>::GetAsVectorView() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat)->GetAsVectorView(&result));
return winrt::Windows::Foundation::Collections::IVectorView<float>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<float>) consume_Windows_AI_MachineLearning_ITensorFloat16Bit<D>::GetAsVectorView() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloat16Bit<D>::GetAsVectorView() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorFloat16Bit)->GetAsVectorView(&result));
return winrt::Windows::Foundation::Collections::IVectorView<float>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics<D>::Create() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics<D>::Create(param::iterable<int64_t> const& shape) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics<D>::Create(param::iterable<int64_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<float const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<float const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<float> const& data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<float> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<float const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<float const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics<D>::Create() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloatStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics<D>::Create(param::iterable<int64_t> const& shape) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloatStatics<D>::Create(param::iterable<int64_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<float const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloatStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<float const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<float> const& data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloatStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<float> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<float const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloatStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<float const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) consume_Windows_AI_MachineLearning_ITensorFloatStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorFloatStatics2<D>::CreateFromBuffer(array_view<int64_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int16_t>) consume_Windows_AI_MachineLearning_ITensorInt16Bit<D>::GetAsVectorView() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt16Bit<D>::GetAsVectorView() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt16Bit)->GetAsVectorView(&result));
return winrt::Windows::Foundation::Collections::IVectorView<int16_t>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics<D>::Create() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics<D>::Create(param::iterable<int64_t> const& shape) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics<D>::Create(param::iterable<int64_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<int16_t const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<int16_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int16_t> const& data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int16_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int16_t const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int16_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) consume_Windows_AI_MachineLearning_ITensorInt16BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt16BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int32_t>) consume_Windows_AI_MachineLearning_ITensorInt32Bit<D>::GetAsVectorView() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt32Bit<D>::GetAsVectorView() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt32Bit)->GetAsVectorView(&result));
return winrt::Windows::Foundation::Collections::IVectorView<int32_t>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics<D>::Create() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics<D>::Create(param::iterable<int64_t> const& shape) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics<D>::Create(param::iterable<int64_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<int32_t const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<int32_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int32_t> const& data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int32_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int32_t const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int32_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) consume_Windows_AI_MachineLearning_ITensorInt32BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt32BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int64_t>) consume_Windows_AI_MachineLearning_ITensorInt64Bit<D>::GetAsVectorView() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt64Bit<D>::GetAsVectorView() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt64Bit)->GetAsVectorView(&result));
return winrt::Windows::Foundation::Collections::IVectorView<int64_t>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics<D>::Create() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics<D>::Create(param::iterable<int64_t> const& shape) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics<D>::Create(param::iterable<int64_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<int64_t const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<int64_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int64_t> const& data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int64_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int64_t const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int64_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) consume_Windows_AI_MachineLearning_ITensorInt64BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt64BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint8_t>) consume_Windows_AI_MachineLearning_ITensorInt8Bit<D>::GetAsVectorView() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt8Bit<D>::GetAsVectorView() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorInt8Bit)->GetAsVectorView(&result));
return winrt::Windows::Foundation::Collections::IVectorView<uint8_t>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics<D>::Create() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics<D>::Create(param::iterable<int64_t> const& shape) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics<D>::Create(param::iterable<int64_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint8_t const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint8_t> const& data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint8_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint8_t const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) consume_Windows_AI_MachineLearning_ITensorInt8BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorInt8BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_AI_MachineLearning_ITensorString<D>::GetAsVectorView() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorString<D>::GetAsVectorView() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorString)->GetAsVectorView(&result));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) consume_Windows_AI_MachineLearning_ITensorStringStatics<D>::Create() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorStringStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) consume_Windows_AI_MachineLearning_ITensorStringStatics<D>::Create(param::iterable<int64_t> const& shape) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorStringStatics<D>::Create(param::iterable<int64_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) consume_Windows_AI_MachineLearning_ITensorStringStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<hstring const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorStringStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<hstring const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) consume_Windows_AI_MachineLearning_ITensorStringStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<hstring> const& data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorStringStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) consume_Windows_AI_MachineLearning_ITensorStringStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<hstring const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorStringStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<hstring const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint16_t>) consume_Windows_AI_MachineLearning_ITensorUInt16Bit<D>::GetAsVectorView() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt16Bit<D>::GetAsVectorView() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt16Bit)->GetAsVectorView(&result));
return winrt::Windows::Foundation::Collections::IVectorView<uint16_t>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics<D>::Create() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics<D>::Create(param::iterable<int64_t> const& shape) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics<D>::Create(param::iterable<int64_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint16_t const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint16_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint16_t> const& data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint16_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint16_t const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint16_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_AI_MachineLearning_ITensorUInt32Bit<D>::GetAsVectorView() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt32Bit<D>::GetAsVectorView() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt32Bit)->GetAsVectorView(&result));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics<D>::Create() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics<D>::Create(param::iterable<int64_t> const& shape) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics<D>::Create(param::iterable<int64_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint32_t const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint32_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint32_t> const& data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint32_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint32_t const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint32_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint64_t>) consume_Windows_AI_MachineLearning_ITensorUInt64Bit<D>::GetAsVectorView() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt64Bit<D>::GetAsVectorView() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt64Bit)->GetAsVectorView(&result));
return winrt::Windows::Foundation::Collections::IVectorView<uint64_t>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics<D>::Create() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics<D>::Create(param::iterable<int64_t> const& shape) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics<D>::Create(param::iterable<int64_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint64_t const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint64_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint64_t> const& data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint64_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint64_t const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint64_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint8_t>) consume_Windows_AI_MachineLearning_ITensorUInt8Bit<D>::GetAsVectorView() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt8Bit<D>::GetAsVectorView() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::AI::MachineLearning::ITensorUInt8Bit)->GetAsVectorView(&result));
return winrt::Windows::Foundation::Collections::IVectorView<uint8_t>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics<D>::Create() const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics<D>::Create(param::iterable<int64_t> const& shape) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics<D>::Create(param::iterable<int64_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint8_t const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics<D>::CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint8_t> const& data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics<D>::CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint8_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint8_t const> data) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics2<D>::CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics2<D>::CreateFromBuffer(array_view<int64_t const> 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Activation.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Activation.h
index 641ab01e7d7..812b410ff3e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Activation.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::ActivationKind) consume_Windows_ApplicationModel_Activation_IActivatedEventArgs<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IActivatedEventArgs<D>::Kind() const
{
winrt::Windows::ApplicationModel::Activation::ActivationKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::ApplicationExecutionState) consume_Windows_ApplicationModel_Activation_IActivatedEventArgs<D>::PreviousExecutionState() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IActivatedEventArgs<D>::PreviousExecutionState() const
{
winrt::Windows::ApplicationModel::Activation::ApplicationExecutionState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs)->get_PreviousExecutionState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::SplashScreen) consume_Windows_ApplicationModel_Activation_IActivatedEventArgs<D>::SplashScreen() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Activation_IActivatedEventArgsWithUser<D>::User() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IActivatedEventArgsWithUser<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Activation_IApplicationViewActivatedEventArgs<D>::CurrentlyShownApplicationViewId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IApplicationViewActivatedEventArgs<D>::CurrentlyShownApplicationViewId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IApplicationViewActivatedEventArgs)->get_CurrentlyShownApplicationViewId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderActivatedEventArgs<D>::Verb() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::AddAppointmentOperation) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderAddAppointmentActivatedEventArgs<D>::AddAppointmentOperation() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderAddAppointmentActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::RemoveAppointmentOperation) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderRemoveAppointmentActivatedEventArgs<D>::RemoveAppointmentOperation() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderRemoveAppointmentActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::ReplaceAppointmentOperation) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderReplaceAppointmentActivatedEventArgs<D>::ReplaceAppointmentOperation() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderReplaceAppointmentActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs<D>::InstanceStartDate() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs<D>::InstanceStartDate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs)->get_InstanceStartDate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs<D>::LocalId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs<D>::RoamingId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowTimeFrameActivatedEventArgs<D>::TimeToShow() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowTimeFrameActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowTimeFrameActivatedEventArgs<D>::Duration() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowTimeFrameActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance) consume_Windows_ApplicationModel_Activation_IBackgroundActivatedEventArgs<D>::TaskInstance() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IBackgroundActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IBarcodeScannerPreviewActivatedEventArgs<D>::ConnectionId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IBarcodeScannerPreviewActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::CachedFileUpdaterUI) consume_Windows_ApplicationModel_Activation_ICachedFileUpdaterActivatedEventArgs<D>::CachedFileUpdaterUI() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ICachedFileUpdaterActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_Activation_ICameraSettingsActivatedEventArgs<D>::VideoDeviceController() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ICameraSettingsActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_Activation_ICameraSettingsActivatedEventArgs<D>::VideoDeviceExtension() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ICameraSettingsActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::CommandLineActivationOperation) consume_Windows_ApplicationModel_Activation_ICommandLineActivatedEventArgs<D>::Operation() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ICommandLineActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation<D>::Arguments() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation<D>::CurrentDirectoryPath() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation<D>::ExitCode(int32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation<D>::ExitCode(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation)->put_ExitCode(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation<D>::ExitCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation<D>::ExitCode() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation)->get_ExitCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ICommandLineActivationOperation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactActivatedEventArgs<D>::Verb() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactCallActivatedEventArgs<D>::ServiceId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactCallActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactCallActivatedEventArgs<D>::ServiceUserId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactCallActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Activation_IContactCallActivatedEventArgs<D>::Contact() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactCallActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactAddress) consume_Windows_ApplicationModel_Activation_IContactMapActivatedEventArgs<D>::Address() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactMapActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Activation_IContactMapActivatedEventArgs<D>::Contact() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactMapActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactMessageActivatedEventArgs<D>::ServiceId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactMessageActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactMessageActivatedEventArgs<D>::ServiceUserId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactMessageActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Activation_IContactMessageActivatedEventArgs<D>::Contact() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactMessageActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactPanel) consume_Windows_ApplicationModel_Activation_IContactPanelActivatedEventArgs<D>::ContactPanel() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactPanelActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Activation_IContactPanelActivatedEventArgs<D>::Contact() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactPanelActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Provider::ContactPickerUI) consume_Windows_ApplicationModel_Activation_IContactPickerActivatedEventArgs<D>::ContactPickerUI() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactPickerActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactPostActivatedEventArgs<D>::ServiceId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactPostActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactPostActivatedEventArgs<D>::ServiceUserId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactPostActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Activation_IContactPostActivatedEventArgs<D>::Contact() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactPostActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactVideoCallActivatedEventArgs<D>::ServiceId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactVideoCallActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactVideoCallActivatedEventArgs<D>::ServiceUserId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactVideoCallActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Activation_IContactVideoCallActivatedEventArgs<D>::Contact() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactVideoCallActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IContactsProviderActivatedEventArgs<D>::Verb() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContactsProviderActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_Activation_IContinuationActivatedEventArgs<D>::ContinuationData() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IContinuationActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IDeviceActivatedEventArgs<D>::DeviceInformationId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IDeviceActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IDeviceActivatedEventArgs<D>::Verb() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IDeviceActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_ApplicationModel_Activation_IDevicePairingActivatedEventArgs<D>::DeviceInformation() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IDevicePairingActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IDialReceiverActivatedEventArgs<D>::AppName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IDialReceiverActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>) consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgs<D>::Files() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgs<D>::Files() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgs)->get_Files(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgs<D>::Verb() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgsWithCallerPackageFamilyName<D>::CallerPackageFamilyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgsWithCallerPackageFamilyName<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFileQueryResult) consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgsWithNeighboringFiles<D>::NeighboringFilesQuery() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgsWithNeighboringFiles<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI) consume_Windows_ApplicationModel_Activation_IFileOpenPickerActivatedEventArgs<D>::FileOpenPickerUI() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileOpenPickerActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IFileOpenPickerActivatedEventArgs2<D>::CallerPackageFamilyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileOpenPickerActivatedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>) consume_Windows_ApplicationModel_Activation_IFileOpenPickerContinuationEventArgs<D>::Files() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileOpenPickerContinuationEventArgs<D>::Files() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IFileOpenPickerContinuationEventArgs)->get_Files(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI) consume_Windows_ApplicationModel_Activation_IFileSavePickerActivatedEventArgs<D>::FileSavePickerUI() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileSavePickerActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IFileSavePickerActivatedEventArgs2<D>::CallerPackageFamilyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileSavePickerActivatedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IFileSavePickerActivatedEventArgs2<D>::EnterpriseId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileSavePickerActivatedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_ApplicationModel_Activation_IFileSavePickerContinuationEventArgs<D>::File() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IFileSavePickerContinuationEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_ApplicationModel_Activation_IFolderPickerContinuationEventArgs<D>::Folder() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IFolderPickerContinuationEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs<D>::Arguments() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs<D>::TileId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::TileActivatedInfo) consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs2<D>::TileActivatedInfo() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_Activation_ILockScreenActivatedEventArgs<D>::Info() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ILockScreenActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::LockScreenCallUI) consume_Windows_ApplicationModel_Activation_ILockScreenCallActivatedEventArgs<D>::CallUI() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ILockScreenCallActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IPickerReturnedActivatedEventArgs<D>::PickerOperationId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IPickerReturnedActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Activation_IPrelaunchActivatedEventArgs<D>::PrelaunchActivated() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IPrelaunchActivatedEventArgs<D>::PrelaunchActivated() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IPrelaunchActivatedEventArgs)->get_PrelaunchActivated(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow) consume_Windows_ApplicationModel_Activation_IPrint3DWorkflowActivatedEventArgs<D>::Workflow() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IPrint3DWorkflowActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::Extensions::PrintTaskConfiguration) consume_Windows_ApplicationModel_Activation_IPrintTaskSettingsActivatedEventArgs<D>::Configuration() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IPrintTaskSettingsActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData<D>::CallerPackageFamilyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData<D>::Data() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::ProtocolForResultsOperation) consume_Windows_ApplicationModel_Activation_IProtocolForResultsActivatedEventArgs<D>::ProtocolForResultsOperation() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IProtocolForResultsActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_Activation_IRestrictedLaunchActivatedEventArgs<D>::SharedContext() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IRestrictedLaunchActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgs<D>::QueryText() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgs<D>::Language() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneQueryLinguisticDetails) consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgsWithLinguisticDetails<D>::LinguisticDetails() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgsWithLinguisticDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::ShareOperation) consume_Windows_ApplicationModel_Activation_IShareTargetActivatedEventArgs<D>::ShareOperation() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IShareTargetActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_ApplicationModel_Activation_ISplashScreen<D>::ImageLocation() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ISplashScreen<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Activation_ISplashScreen<D>::Dismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Activation::SplashScreen, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ISplashScreen<D>::Dismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Activation::SplashScreen, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Activation_ISplashScreen<D>::Dismissed_revoker consume_Windows_ApplicationModel_Activation_ISplashScreen<D>::Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Activation::SplashScreen, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ISplashScreen<D>::Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Activation::SplashScreen, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Dismissed_revoker>(this, Dismissed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Activation_ISplashScreen<D>::Dismissed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ISplashScreen<D>::Dismissed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ISplashScreen)->remove_Dismissed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IStartupTaskActivatedEventArgs<D>::TaskId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IStartupTaskActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ShownTileNotification>) consume_Windows_ApplicationModel_Activation_ITileActivatedInfo<D>::RecentlyShownNotifications() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_ITileActivatedInfo<D>::RecentlyShownNotifications() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::ITileActivatedInfo)->get_RecentlyShownNotifications(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ShownTileNotification>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IToastNotificationActivatedEventArgs<D>::Argument() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IToastNotificationActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_Activation_IToastNotificationActivatedEventArgs<D>::UserInput() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IToastNotificationActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderOperation) consume_Windows_ApplicationModel_Activation_IUserDataAccountProviderActivatedEventArgs<D>::Operation() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IUserDataAccountProviderActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ActivationViewSwitcher) consume_Windows_ApplicationModel_Activation_IViewSwitcherProvider<D>::ViewSwitcher() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IViewSwitcherProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult) consume_Windows_ApplicationModel_Activation_IVoiceCommandActivatedEventArgs<D>::Result() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IVoiceCommandActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IWalletActionActivatedEventArgs<D>::ItemId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IWalletActionActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletActionKind) consume_Windows_ApplicationModel_Activation_IWalletActionActivatedEventArgs<D>::ActionKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IWalletActionActivatedEventArgs<D>::ActionKind() const
{
winrt::Windows::ApplicationModel::Wallet::WalletActionKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs)->get_ActionKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Activation_IWalletActionActivatedEventArgs<D>::ActionId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IWalletActionActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderOperation) consume_Windows_ApplicationModel_Activation_IWebAccountProviderActivatedEventArgs<D>::Operation() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IWebAccountProviderActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::WebAuthenticationResult) consume_Windows_ApplicationModel_Activation_IWebAuthenticationBrokerContinuationEventArgs<D>::WebAuthenticationResult() const
+ template <typename D> auto consume_Windows_ApplicationModel_Activation_IWebAuthenticationBrokerContinuationEventArgs<D>::WebAuthenticationResult() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Activation::IWebAuthenticationBrokerContinuationEventArgs)->get_WebAuthenticationResult(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.AppExtensions.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.AppExtensions.h
index ab05835d8c6..721edc5c705 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.AppExtensions.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppExtensions_IAppExtension<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtension<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppExtensions_IAppExtension<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtension<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppExtensions_IAppExtension<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtension<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_AppExtensions_IAppExtension<D>::Package() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtension<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_ApplicationModel_AppExtensions_IAppExtension<D>::AppInfo() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtension<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IPropertySet>) consume_Windows_ApplicationModel_AppExtensions_IAppExtension<D>::GetExtensionPropertiesAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtension<D>::GetExtensionPropertiesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtension)->GetExtensionPropertiesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IPropertySet>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) consume_Windows_ApplicationModel_AppExtensions_IAppExtension<D>::GetPublicFolderAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtension<D>::GetPublicFolderAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtension)->GetPublicFolderAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppExtensions::AppExtension>>) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::FindAllAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::FindAllAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->FindAllAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppExtensions::AppExtension>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::RequestRemovePackageAsync(param::hstring const& packageFullName) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageInstalled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageInstalledEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageInstalled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageInstalledEventArgs> 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 D> typename consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageInstalled_revoker consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageInstalled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageInstalledEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageInstalled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageInstalledEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PackageInstalled_revoker>(this, PackageInstalled(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageInstalled(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageInstalled(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->remove_PackageInstalled(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUpdating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUpdating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatingEventArgs> 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 D> typename consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUpdating_revoker consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PackageUpdating_revoker>(this, PackageUpdating(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUpdating(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUpdating(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->remove_PackageUpdating(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatedEventArgs> 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 D> typename consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUpdated_revoker consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PackageUpdated_revoker>(this, PackageUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUpdated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUpdated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->remove_PackageUpdated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUninstalling(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUninstallingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUninstalling(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUninstallingEventArgs> 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 D> typename consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUninstalling_revoker consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUninstallingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUninstallingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PackageUninstalling_revoker>(this, PackageUninstalling(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUninstalling(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageUninstalling(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->remove_PackageUninstalling(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageStatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageStatusChangedEventArgs> 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 D> typename consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageStatusChanged_revoker consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageStatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageStatusChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PackageStatusChanged_revoker>(this, PackageStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog<D>::PackageStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog)->remove_PackageStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalogStatics<D>::Open(param::hstring const& appExtensionName) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalogStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageInstalledEventArgs<D>::AppExtensionName() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageInstalledEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageInstalledEventArgs<D>::Package() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageInstalledEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppExtensions::AppExtension>) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageInstalledEventArgs<D>::Extensions() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageInstalledEventArgs<D>::Extensions() const
{
void* values{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageInstalledEventArgs)->get_Extensions(&values));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppExtensions::AppExtension>{ values, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageStatusChangedEventArgs<D>::AppExtensionName() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageStatusChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageStatusChangedEventArgs<D>::Package() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageStatusChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUninstallingEventArgs<D>::AppExtensionName() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUninstallingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUninstallingEventArgs<D>::Package() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUninstallingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatedEventArgs<D>::AppExtensionName() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatedEventArgs<D>::Package() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppExtensions::AppExtension>) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatedEventArgs<D>::Extensions() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatedEventArgs<D>::Extensions() const
{
void* values{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageUpdatedEventArgs)->get_Extensions(&values));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppExtensions::AppExtension>{ values, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatingEventArgs<D>::AppExtensionName() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatingEventArgs<D>::Package() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppExtensions_IAppExtensionPackageUpdatingEventArgs<D>::Package() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageUpdatingEventArgs)->get_Package(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.AppService.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.AppService.h
index b97aa523424..7019c7b276f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.AppService.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppInfo>>) consume_Windows_ApplicationModel_AppService_IAppServiceCatalogStatics<D>::FindAppServiceProvidersAsync(param::hstring const& appServiceName) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceCatalogStatics<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppInfo>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::AppServiceClosedStatus) consume_Windows_ApplicationModel_AppService_IAppServiceClosedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceClosedEventArgs<D>::Status() const
{
winrt::Windows::ApplicationModel::AppService::AppServiceClosedStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceClosedEventArgs)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::AppServiceName() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::AppServiceName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::AppServiceName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection)->put_AppServiceName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::PackageFamilyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::PackageFamilyName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::PackageFamilyName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection)->put_PackageFamilyName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::AppService::AppServiceConnectionStatus>) consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::OpenAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::OpenAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection)->OpenAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::AppService::AppServiceConnectionStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::AppService::AppServiceResponse>) consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::SendMessageAsync(winrt::Windows::Foundation::Collections::ValueSet const& message) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::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<winrt::Windows::ApplicationModel::AppService::AppServiceResponse>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::RequestReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceRequestReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::RequestReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceRequestReceivedEventArgs> 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 D> typename consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::RequestReceived_revoker consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::RequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceRequestReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::RequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceRequestReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RequestReceived_revoker>(this, RequestReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::RequestReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::RequestReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection)->remove_RequestReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::ServiceClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::ServiceClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceClosedEventArgs> 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 D> typename consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::ServiceClosed_revoker consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::ServiceClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::ServiceClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceClosedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ServiceClosed_revoker>(this, ServiceClosed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::ServiceClosed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection<D>::ServiceClosed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection)->remove_ServiceClosed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::AppService::AppServiceConnectionStatus>) consume_Windows_ApplicationModel_AppService_IAppServiceConnection2<D>::OpenRemoteAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection2<D>::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<winrt::Windows::ApplicationModel::AppService::AppServiceConnectionStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_AppService_IAppServiceConnection2<D>::User() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppService_IAppServiceConnection2<D>::User(winrt::Windows::System::User const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceConnection2<D>::User(winrt::Windows::System::User const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceConnection2)->put_User(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::AppService::StatelessAppServiceResponse>) consume_Windows_ApplicationModel_AppService_IAppServiceConnectionStatics<D>::SendStatelessMessageAsync(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& connection, winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& connectionRequest, winrt::Windows::Foundation::Collections::ValueSet const& message) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceConnectionStatics<D>::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<winrt::Windows::ApplicationModel::AppService::StatelessAppServiceResponse>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_AppService_IAppServiceDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_AppService_IAppServiceRequest<D>::Message() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::AppService::AppServiceResponseStatus>) consume_Windows_ApplicationModel_AppService_IAppServiceRequest<D>::SendResponseAsync(winrt::Windows::Foundation::Collections::ValueSet const& message) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceRequest<D>::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<winrt::Windows::ApplicationModel::AppService::AppServiceResponseStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::AppServiceRequest) consume_Windows_ApplicationModel_AppService_IAppServiceRequestReceivedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceRequestReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::AppServiceDeferral) consume_Windows_ApplicationModel_AppService_IAppServiceRequestReceivedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceRequestReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_AppService_IAppServiceResponse<D>::Message() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceResponse<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::AppServiceResponseStatus) consume_Windows_ApplicationModel_AppService_IAppServiceResponse<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceResponse<D>::Status() const
{
winrt::Windows::ApplicationModel::AppService::AppServiceResponseStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceResponse)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails<D>::CallerPackageFamilyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::AppServiceConnection) consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails<D>::AppServiceConnection() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails2<D>::IsRemoteSystemConnection() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails2<D>::IsRemoteSystemConnection() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IAppServiceTriggerDetails2)->get_IsRemoteSystemConnection(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails3<D>::CheckCallerForCapabilityAsync(param::hstring const& capabilityName) const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails3<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails4<D>::CallerRemoteConnectionToken() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_AppService_IStatelessAppServiceResponse<D>::Message() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IStatelessAppServiceResponse<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::StatelessAppServiceResponseStatus) consume_Windows_ApplicationModel_AppService_IStatelessAppServiceResponse<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_AppService_IStatelessAppServiceResponse<D>::Status() const
{
winrt::Windows::ApplicationModel::AppService::StatelessAppServiceResponseStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::AppService::IStatelessAppServiceResponse)->get_Status(reinterpret_cast<int32_t*>(&value)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.AppointmentsProvider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.AppointmentsProvider.h
index b5a0983ba5b..1e7afe8e529 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.AppointmentsProvider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation<D>::AppointmentInformation() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation<D>::SourcePackageFamilyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation<D>::ReportCompleted(param::hstring const& itemId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation<D>::ReportCompleted(param::hstring const& itemId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAddAppointmentOperation)->ReportCompleted(*(void**)(&itemId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation<D>::ReportCanceled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation<D>::ReportCanceled() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAddAppointmentOperation)->ReportCanceled());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation<D>::ReportError(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation<D>::ReportError(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAddAppointmentOperation)->ReportError(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation<D>::DismissUI() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAddAppointmentOperation<D>::DismissUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAddAppointmentOperation)->DismissUI());
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics<D>::AddAppointment() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics<D>::ReplaceAppointment() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics<D>::RemoveAppointment() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics<D>::ShowTimeFrame() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics2<D>::ShowAppointmentDetails() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation<D>::AppointmentId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation<D>::InstanceStartDate() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation<D>::InstanceStartDate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IRemoveAppointmentOperation)->get_InstanceStartDate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation<D>::SourcePackageFamilyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation<D>::ReportCompleted() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation<D>::ReportCompleted() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IRemoveAppointmentOperation)->ReportCompleted());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation<D>::ReportCanceled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation<D>::ReportCanceled() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IRemoveAppointmentOperation)->ReportCanceled());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation<D>::ReportError(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation<D>::ReportError(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IRemoveAppointmentOperation)->ReportError(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation<D>::DismissUI() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation<D>::DismissUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IRemoveAppointmentOperation)->DismissUI());
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation<D>::AppointmentId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation<D>::AppointmentInformation() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation<D>::InstanceStartDate() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation<D>::InstanceStartDate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IReplaceAppointmentOperation)->get_InstanceStartDate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation<D>::SourcePackageFamilyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation<D>::ReportCompleted(param::hstring const& itemId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation<D>::ReportCompleted(param::hstring const& itemId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IReplaceAppointmentOperation)->ReportCompleted(*(void**)(&itemId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation<D>::ReportCanceled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation<D>::ReportCanceled() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IReplaceAppointmentOperation)->ReportCanceled());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation<D>::ReportError(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation<D>::ReportError(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IReplaceAppointmentOperation)->ReportError(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation<D>::DismissUI() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IReplaceAppointmentOperation<D>::DismissUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IReplaceAppointmentOperation)->DismissUI());
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.DataProvider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.DataProvider.h
index 0308d751e62..e86a613f272 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.DataProvider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest<D>::AppointmentCalendarLocalId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest<D>::AppointmentLocalId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest<D>::AppointmentOriginalStartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest<D>::AppointmentOriginalStartTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCancelMeetingRequest)->get_AppointmentOriginalStartTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest<D>::Subject() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest<D>::Comment() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest<D>::NotifyInvitees() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest<D>::NotifyInvitees() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCancelMeetingRequest)->get_NotifyInvitees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCancelMeetingRequest) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCancelMeetingRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest<D>::AppointmentCalendarLocalId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest<D>::Appointment() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest<D>::NotifyInvitees() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest<D>::NotifyInvitees() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCreateOrUpdateAppointmentRequest)->get_NotifyInvitees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest<D>::ChangedProperties() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest<D>::ChangedProperties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCreateOrUpdateAppointmentRequest)->get_ChangedProperties(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest<D>::ReportCompletedAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& createdOrUpdatedAppointment) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCreateOrUpdateAppointmentRequest) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::AppointmentCalendarLocalId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::AppointmentLocalId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::AppointmentOriginalStartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::AppointmentOriginalStartTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarForwardMeetingRequest)->get_AppointmentOriginalStartTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentInvitee>) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::Invitees() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::Invitees() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarForwardMeetingRequest)->get_Invitees(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentInvitee>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::Subject() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::ForwardHeader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::Comment() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarForwardMeetingRequest) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarForwardMeetingRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::AppointmentCalendarLocalId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::AppointmentLocalId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::AppointmentOriginalStartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::AppointmentOriginalStartTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarProposeNewTimeForMeetingRequest)->get_AppointmentOriginalStartTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::NewStartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::NewDuration() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::Subject() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::Comment() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarProposeNewTimeForMeetingRequest) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequest<D>::AppointmentCalendarLocalId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarSyncManagerSyncRequest) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarSyncManagerSyncRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::AppointmentCalendarLocalId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::AppointmentLocalId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::AppointmentOriginalStartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::AppointmentOriginalStartTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarUpdateMeetingResponseRequest)->get_AppointmentOriginalStartTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::Response() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::Response() const
{
winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse response{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarUpdateMeetingResponseRequest)->get_Response(reinterpret_cast<int32_t*>(&response)));
return response;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::Subject() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::Comment() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::SendUpdate() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::SendUpdate() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarUpdateMeetingResponseRequest)->get_SendUpdate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarUpdateMeetingResponseRequest) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentCalendarUpdateMeetingResponseRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::SyncRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarSyncManagerSyncRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::SyncRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarSyncManagerSyncRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::SyncRequested_revoker consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarSyncManagerSyncRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarSyncManagerSyncRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SyncRequested_revoker>(this, SyncRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::SyncRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::SyncRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->remove_SyncRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::CreateOrUpdateAppointmentRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::CreateOrUpdateAppointmentRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::CreateOrUpdateAppointmentRequested_revoker consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::CreateOrUpdateAppointmentRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::CreateOrUpdateAppointmentRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CreateOrUpdateAppointmentRequested_revoker>(this, CreateOrUpdateAppointmentRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::CreateOrUpdateAppointmentRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::CreateOrUpdateAppointmentRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->remove_CreateOrUpdateAppointmentRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::CancelMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCancelMeetingRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::CancelMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCancelMeetingRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::CancelMeetingRequested_revoker consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::CancelMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCancelMeetingRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::CancelMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCancelMeetingRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CancelMeetingRequested_revoker>(this, CancelMeetingRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::CancelMeetingRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::CancelMeetingRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->remove_CancelMeetingRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::ForwardMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarForwardMeetingRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::ForwardMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarForwardMeetingRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::ForwardMeetingRequested_revoker consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::ForwardMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarForwardMeetingRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::ForwardMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarForwardMeetingRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ForwardMeetingRequested_revoker>(this, ForwardMeetingRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::ForwardMeetingRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::ForwardMeetingRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->remove_ForwardMeetingRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::ProposeNewTimeForMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::ProposeNewTimeForMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::ProposeNewTimeForMeetingRequested_revoker consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::ProposeNewTimeForMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::ProposeNewTimeForMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ProposeNewTimeForMeetingRequested_revoker>(this, ProposeNewTimeForMeetingRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::ProposeNewTimeForMeetingRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::ProposeNewTimeForMeetingRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->remove_ProposeNewTimeForMeetingRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::UpdateMeetingResponseRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarUpdateMeetingResponseRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::UpdateMeetingResponseRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarUpdateMeetingResponseRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::UpdateMeetingResponseRequested_revoker consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::UpdateMeetingResponseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarUpdateMeetingResponseRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::UpdateMeetingResponseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarUpdateMeetingResponseRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, UpdateMeetingResponseRequested_revoker>(this, UpdateMeetingResponseRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::UpdateMeetingResponseRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::UpdateMeetingResponseRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->remove_UpdateMeetingResponseRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::Start() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection) consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderTriggerDetails<D>::Connection() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderTriggerDetails<D>::Connection() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderTriggerDetails)->get_Connection(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.h
index 05f28a31b70..2157002f274 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Appointments.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::StartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::StartTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Duration() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Duration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Location() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Location(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Location(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_Location(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Subject() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Subject(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Subject(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_Subject(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Details() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Details(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Details(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_Details(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Reminder() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Reminder() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_Reminder(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Reminder(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Reminder(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_Reminder(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentOrganizer) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Organizer() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Organizer(winrt::Windows::ApplicationModel::Appointments::AppointmentOrganizer const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Organizer(winrt::Windows::ApplicationModel::Appointments::AppointmentOrganizer const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_Organizer(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Appointments::AppointmentInvitee>) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Invitees() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Invitees() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_Invitees(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Appointments::AppointmentInvitee>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Recurrence() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Recurrence(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Recurrence(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_Recurrence(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentBusyStatus) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::BusyStatus() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::BusyStatus() const
{
winrt::Windows::ApplicationModel::Appointments::AppointmentBusyStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_BusyStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::BusyStatus(winrt::Windows::ApplicationModel::Appointments::AppointmentBusyStatus const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::BusyStatus(winrt::Windows::ApplicationModel::Appointments::AppointmentBusyStatus const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_BusyStatus(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::AllDay() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::AllDay() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_AllDay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::AllDay(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::AllDay(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_AllDay(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentSensitivity) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Sensitivity() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Sensitivity() const
{
winrt::Windows::ApplicationModel::Appointments::AppointmentSensitivity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->get_Sensitivity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Sensitivity(winrt::Windows::ApplicationModel::Appointments::AppointmentSensitivity const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Sensitivity(winrt::Windows::ApplicationModel::Appointments::AppointmentSensitivity const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_Sensitivity(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Uri() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment)->put_Uri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::LocalId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::CalendarId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::RoamingId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::RoamingId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::RoamingId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->put_RoamingId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::OriginalStartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::OriginalStartTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_OriginalStartTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::IsResponseRequested() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::IsResponseRequested() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_IsResponseRequested(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::IsResponseRequested(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::IsResponseRequested(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->put_IsResponseRequested(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::AllowNewTimeProposal() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::AllowNewTimeProposal() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_AllowNewTimeProposal(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::AllowNewTimeProposal(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::AllowNewTimeProposal(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->put_AllowNewTimeProposal(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::OnlineMeetingLink() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::OnlineMeetingLink(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::OnlineMeetingLink(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->put_OnlineMeetingLink(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::ReplyTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::ReplyTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_ReplyTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::ReplyTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::ReplyTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->put_ReplyTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::UserResponse() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::UserResponse() const
{
winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_UserResponse(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::UserResponse(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::UserResponse(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->put_UserResponse(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::HasInvitees() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::HasInvitees() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_HasInvitees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::IsCanceledMeeting() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::IsCanceledMeeting() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_IsCanceledMeeting(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::IsCanceledMeeting(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::IsCanceledMeeting(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->put_IsCanceledMeeting(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::IsOrganizedByUser() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::IsOrganizedByUser() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->get_IsOrganizedByUser(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::IsOrganizedByUser(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment2<D>::IsOrganizedByUser(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment2)->put_IsOrganizedByUser(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Appointments_IAppointment3<D>::ChangeNumber() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment3<D>::ChangeNumber() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment3)->get_ChangeNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Appointments_IAppointment3<D>::RemoteChangeNumber() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment3<D>::RemoteChangeNumber() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment3)->get_RemoteChangeNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment3<D>::RemoteChangeNumber(uint64_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment3<D>::RemoteChangeNumber(uint64_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment3)->put_RemoteChangeNumber(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentDetailsKind) consume_Windows_ApplicationModel_Appointments_IAppointment3<D>::DetailsKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment3<D>::DetailsKind() const
{
winrt::Windows::ApplicationModel::Appointments::AppointmentDetailsKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment3)->get_DetailsKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointment3<D>::DetailsKind(winrt::Windows::ApplicationModel::Appointments::AppointmentDetailsKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointment3<D>::DetailsKind(winrt::Windows::ApplicationModel::Appointments::AppointmentDetailsKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointment3)->put_DetailsKind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::DisplayColor() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::LocalId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::IsHidden() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::IsHidden() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->get_IsHidden(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppReadAccess) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::OtherAppReadAccess() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::OtherAppReadAccess() const
{
winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppReadAccess value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->get_OtherAppReadAccess(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::OtherAppReadAccess(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppReadAccess const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::OtherAppReadAccess(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppReadAccess const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->put_OtherAppReadAccess(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppWriteAccess) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::OtherAppWriteAccess() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::OtherAppWriteAccess() const
{
winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppWriteAccess value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->get_OtherAppWriteAccess(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::OtherAppWriteAccess(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppWriteAccess const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::OtherAppWriteAccess(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarOtherAppWriteAccess const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->put_OtherAppWriteAccess(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::SourceDisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentSummaryCardView) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::SummaryCardView() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::SummaryCardView() const
{
winrt::Windows::ApplicationModel::Appointments::AppointmentSummaryCardView value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->get_SummaryCardView(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::SummaryCardView(winrt::Windows::ApplicationModel::Appointments::AppointmentSummaryCardView const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::SummaryCardView(winrt::Windows::ApplicationModel::Appointments::AppointmentSummaryCardView const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->put_SummaryCardView(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength, winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentException>>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::FindExceptionsFromMasterAsync(param::hstring const& masterLocalId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentException>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::FindAllInstancesAsync(param::hstring const& masterLocalId, winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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 <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::Appointment>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::GetAppointmentAsync(param::hstring const& localId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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<winrt::Windows::ApplicationModel::Appointments::Appointment>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::Appointment>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::GetAppointmentInstanceAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartTime) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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<winrt::Windows::ApplicationModel::Appointments::Appointment>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::FindUnexpandedAppointmentsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::FindUnexpandedAppointmentsAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar)->FindUnexpandedAppointmentsAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::FindUnexpandedAppointmentsAsync(winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::DeleteAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::SaveAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::DeleteAppointmentAsync(param::hstring const& localId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::DeleteAppointmentInstanceAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartTime) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::SaveAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& pAppointment) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncManager) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::SyncManager() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::RemoteId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::RemoteId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::RemoteId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_RemoteId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::DisplayColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::IsHidden(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::IsHidden(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_IsHidden(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::UserDataAccountId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanCreateOrUpdateAppointments() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanCreateOrUpdateAppointments() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->get_CanCreateOrUpdateAppointments(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanCreateOrUpdateAppointments(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanCreateOrUpdateAppointments(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_CanCreateOrUpdateAppointments(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanCancelMeetings() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanCancelMeetings() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->get_CanCancelMeetings(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanCancelMeetings(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanCancelMeetings(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_CanCancelMeetings(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanForwardMeetings() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanForwardMeetings() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->get_CanForwardMeetings(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanForwardMeetings(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanForwardMeetings(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_CanForwardMeetings(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanProposeNewTimeForMeetings() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanProposeNewTimeForMeetings() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->get_CanProposeNewTimeForMeetings(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanProposeNewTimeForMeetings(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanProposeNewTimeForMeetings(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_CanProposeNewTimeForMeetings(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanUpdateMeetingResponses() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanUpdateMeetingResponses() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->get_CanUpdateMeetingResponses(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanUpdateMeetingResponses(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanUpdateMeetingResponses(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_CanUpdateMeetingResponses(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanNotifyInvitees() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanNotifyInvitees() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->get_CanNotifyInvitees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanNotifyInvitees(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::CanNotifyInvitees(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_CanNotifyInvitees(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::MustNofityInvitees() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::MustNofityInvitees() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->get_MustNofityInvitees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::MustNofityInvitees(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::MustNofityInvitees(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2)->put_MustNofityInvitees(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::TryCreateOrUpdateAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, bool notifyInvitees) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::TryCancelMeetingAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, param::hstring const& subject, param::hstring const& comment, bool notifyInvitees) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::TryForwardMeetingAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, param::async_iterable<winrt::Windows::ApplicationModel::Appointments::AppointmentInvitee> const& invitees, param::hstring const& subject, param::hstring const& forwardHeader, param::hstring const& comment) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::TryForwardMeetingAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, param::async_iterable<winrt::Windows::ApplicationModel::Appointments::AppointmentInvitee> 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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::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 <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::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 <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar2<D>::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<int32_t>(response), *(void**)(&subject), *(void**)(&comment), sendUpdate, &result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar3<D>::RegisterSyncManagerAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncStatus) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager<D>::Status() const
{
winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager<D>::LastSuccessfulSyncTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager<D>::LastAttemptedSyncTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager<D>::SyncAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager<D>::SyncAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager)->SyncAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager<D>::SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager<D>::SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncManager, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager<D>::SyncStatusChanged_revoker consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager<D>::SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager<D>::SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SyncStatusChanged_revoker>(this, SyncStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager<D>::SyncStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager<D>::SyncStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager)->remove_SyncStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager2<D>::Status(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncStatus const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager2<D>::Status(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncStatus const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager2)->put_Status(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager2<D>::LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager2<D>::LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentCalendarSyncManager2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentConflictType) consume_Windows_ApplicationModel_Appointments_IAppointmentConflictResult<D>::Type() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentConflictResult<D>::Type() const
{
winrt::Windows::ApplicationModel::Appointments::AppointmentConflictType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentConflictResult)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Appointments_IAppointmentConflictResult<D>::Date() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentConflictResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) consume_Windows_ApplicationModel_Appointments_IAppointmentException<D>::Appointment() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentException<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentException<D>::ExceptionProperties() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentException<D>::ExceptionProperties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentException)->get_ExceptionProperties(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentException<D>::IsDeleted() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentException<D>::IsDeleted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentException)->get_IsDeleted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantRole) consume_Windows_ApplicationModel_Appointments_IAppointmentInvitee<D>::Role() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentInvitee<D>::Role() const
{
winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantRole value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentInvitee)->get_Role(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentInvitee<D>::Role(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantRole const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentInvitee<D>::Role(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantRole const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentInvitee)->put_Role(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse) consume_Windows_ApplicationModel_Appointments_IAppointmentInvitee<D>::Response() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentInvitee<D>::Response() const
{
winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentInvitee)->get_Response(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentInvitee<D>::Response(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentInvitee<D>::Response(winrt::Windows::ApplicationModel::Appointments::AppointmentParticipantResponse const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentInvitee)->put_Response(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::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<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::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<int32_t>(preferredPlacement), &result));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::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<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::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 <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::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<int32_t>(preferredPlacement), &result));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::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 <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::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<int32_t>(preferredPlacement), impl::bind_in(instanceStartDate), &result));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::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<int32_t>(preferredPlacement), &result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::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 <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::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<int32_t>(preferredPlacement), impl::bind_in(instanceStartDate), &result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::ShowTimeFrameAsync(winrt::Windows::Foundation::DateTime const& timeToShow, winrt::Windows::Foundation::TimeSpan const& duration) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::ShowAppointmentDetailsAsync(param::hstring const& appointmentId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::ShowAppointmentDetailsAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::DateTime const& instanceStartDate) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::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<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::AppointmentStore>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType const& options) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser)->RequestStoreAsync(static_cast<int32_t>(options), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::AppointmentStore>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::User() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::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<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::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<int32_t>(preferredPlacement), &operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::ShowReplaceAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::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<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::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 <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::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<int32_t>(preferredPlacement), &operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::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 <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::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<int32_t>(preferredPlacement), impl::bind_in(instanceStartDate), &operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::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<int32_t>(preferredPlacement), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::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 <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::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<int32_t>(preferredPlacement), impl::bind_in(instanceStartDate), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::ShowTimeFrameAsync(winrt::Windows::Foundation::DateTime const& timeToShow, winrt::Windows::Foundation::TimeSpan const& duration) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics2<D>::ShowAppointmentDetailsAsync(param::hstring const& appointmentId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics2<D>::ShowAppointmentDetailsAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::DateTime const& instanceStartDate) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics2<D>::ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics2<D>::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<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::AppointmentStore>) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics2<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics2<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreAccessType const& options) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics2)->RequestStoreAsync(static_cast<int32_t>(options), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::AppointmentStore>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentManagerForUser) consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics3<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentParticipant<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentParticipant<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentParticipant<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentParticipant<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentParticipant)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentParticipant<D>::Address() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentParticipant<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentParticipant<D>::Address(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentParticipant<D>::Address(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentParticipant)->put_Address(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::Subject() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::Location() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::StartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::Duration() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::Reminder() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::BusyStatus() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::Sensitivity() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::OriginalStartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::IsResponseRequested() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::AllowNewTimeProposal() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::AllDay() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::Details() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::OnlineMeetingLink() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::ReplyTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::Organizer() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::UserResponse() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::HasInvitees() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::IsCanceledMeeting() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::IsOrganizedByUser() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::Recurrence() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::Uri() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::Invitees() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::DefaultProperties() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics<D>::DefaultProperties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics)->get_DefaultProperties(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics2<D>::ChangeNumber() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics2<D>::RemoteChangeNumber() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics2<D>::DetailsKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentPropertiesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrenceUnit) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Unit() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Unit() const
{
winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrenceUnit value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->get_Unit(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Unit(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrenceUnit const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Unit(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrenceUnit const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->put_Unit(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Occurrences() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Occurrences() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->get_Occurrences(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Occurrences(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Occurrences(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->put_Occurrences(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Until() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Until() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->get_Until(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Until(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Until(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->put_Until(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Interval() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Interval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->get_Interval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Interval(uint32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Interval(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->put_Interval(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentDaysOfWeek) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::DaysOfWeek() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::DaysOfWeek() const
{
winrt::Windows::ApplicationModel::Appointments::AppointmentDaysOfWeek value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->get_DaysOfWeek(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::DaysOfWeek(winrt::Windows::ApplicationModel::Appointments::AppointmentDaysOfWeek const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::DaysOfWeek(winrt::Windows::ApplicationModel::Appointments::AppointmentDaysOfWeek const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->put_DaysOfWeek(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentWeekOfMonth) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::WeekOfMonth() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::WeekOfMonth() const
{
winrt::Windows::ApplicationModel::Appointments::AppointmentWeekOfMonth value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->get_WeekOfMonth(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::WeekOfMonth(winrt::Windows::ApplicationModel::Appointments::AppointmentWeekOfMonth const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::WeekOfMonth(winrt::Windows::ApplicationModel::Appointments::AppointmentWeekOfMonth const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->put_WeekOfMonth(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Month() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Month() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->get_Month(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Month(uint32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Month(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->put_Month(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Day() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Day() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->get_Day(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Day(uint32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence<D>::Day(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence)->put_Day(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::RecurrenceType) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence2<D>::RecurrenceType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence2<D>::RecurrenceType() const
{
winrt::Windows::ApplicationModel::Appointments::RecurrenceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence2)->get_RecurrenceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence2<D>::TimeZone() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence2<D>::TimeZone(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence2<D>::TimeZone(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence2)->put_TimeZone(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence3<D>::CalendarIdentifier() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeTracker) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::ChangeTracker() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::CreateAppointmentCalendarAsync(param::hstring const& name) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::GetAppointmentCalendarAsync(param::hstring const& calendarId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::Appointment>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::GetAppointmentAsync(param::hstring const& localId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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<winrt::Windows::ApplicationModel::Appointments::Appointment>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::Appointment>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::GetAppointmentInstanceAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartTime) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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<winrt::Windows::ApplicationModel::Appointments::Appointment>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::FindAppointmentCalendarsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::FindAppointmentCalendarsAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->FindAppointmentCalendarsAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::FindAppointmentCalendarsAsync(winrt::Windows::ApplicationModel::Appointments::FindAppointmentCalendarsOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::FindAppointmentCalendarsAsync(winrt::Windows::ApplicationModel::Appointments::FindAppointmentCalendarsOptions const& options) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore)->FindAppointmentCalendarsAsyncWithOptions(static_cast<uint32_t>(options), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength, winrt::Windows::ApplicationModel::Appointments::FindAppointmentsOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::AppointmentConflictResult>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::FindConflictAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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<winrt::Windows::ApplicationModel::Appointments::AppointmentConflictResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::AppointmentConflictResult>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::FindConflictAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::DateTime const& instanceStartTime) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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<winrt::Windows::ApplicationModel::Appointments::AppointmentConflictResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::MoveAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar const& destinationCalendar) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::ShowReplaceAppointmentAsync(param::hstring const& localId, winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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 <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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<int32_t>(preferredPlacement), impl::bind_in(instanceStartDate), &operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::ShowRemoveAppointmentAsync(param::hstring const& localId, winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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 <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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<int32_t>(preferredPlacement), impl::bind_in(instanceStartDate), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::ShowAppointmentDetailsAsync(param::hstring const& localId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::ShowAppointmentDetailsAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartDate) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::FindLocalIdsFromRoamingIdAsync(param::hstring const& roamingId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore<D>::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<winrt::Windows::Foundation::Collections::IVectorView<hstring>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Appointments_IAppointmentStore2<D>::StoreChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::AppointmentStore, winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangedEventArgs> const& pHandler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore2<D>::StoreChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::AppointmentStore, winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Appointments_IAppointmentStore2<D>::StoreChanged_revoker consume_Windows_ApplicationModel_Appointments_IAppointmentStore2<D>::StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::AppointmentStore, winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangedEventArgs> const& pHandler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore2<D>::StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::AppointmentStore, winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangedEventArgs> const& pHandler) const
{
return impl::make_event_revoker<D, StoreChanged_revoker>(this, StoreChanged(pHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentStore2<D>::StoreChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore2<D>::StoreChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStore2)->remove_StoreChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>) consume_Windows_ApplicationModel_Appointments_IAppointmentStore2<D>::CreateAppointmentCalendarAsync(param::hstring const& name, param::hstring const& userDataAccountId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore2<D>::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<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeTracker) consume_Windows_ApplicationModel_Appointments_IAppointmentStore3<D>::GetChangeTracker(param::hstring const& identity) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStore3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChange<D>::Appointment() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChange<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeType) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChange<D>::ChangeType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChange<D>::ChangeType() const
{
winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChange)->get_ChangeType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChange2<D>::AppointmentCalendar() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChange2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChange>>) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeReader<D>::ReadBatchAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeReader<D>::ReadBatchAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeReader)->ReadBatchAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChange>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeReader<D>::AcceptChanges() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeReader<D>::AcceptChanges() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeReader)->AcceptChanges());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeReader<D>::AcceptChangesThrough(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChange const& lastChangeToAccept) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeReader<D>::AcceptChangesThrough(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChange const& lastChangeToAccept) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeReader)->AcceptChangesThrough(*(void**)(&lastChangeToAccept)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeReader) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker<D>::GetChangeReader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker<D>::Enable() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker<D>::Enable() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeTracker)->Enable());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker<D>::Reset() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker<D>::Reset() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeTracker)->Reset());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker2<D>::IsTracking() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker2<D>::IsTracking() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeTracker2)->get_IsTracking(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangedDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangedDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangedDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangedDeferral) consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions<D>::CalendarIds() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions<D>::CalendarIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions)->get_CalendarIds(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions<D>::FetchProperties() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions<D>::FetchProperties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions)->get_FetchProperties(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions<D>::IncludeHidden() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions<D>::IncludeHidden() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions)->get_IncludeHidden(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions<D>::IncludeHidden(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions<D>::IncludeHidden(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions)->put_IncludeHidden(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions<D>::MaxCount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions<D>::MaxCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions)->get_MaxCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions<D>::MaxCount(uint32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions<D>::MaxCount(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions)->put_MaxCount(value));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Background.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Background.h
index cbb37098763..bf42e3418d4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Background.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Sensors::ActivityType>) consume_Windows_ApplicationModel_Background_IActivitySensorTrigger<D>::SubscribedActivities() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IActivitySensorTrigger<D>::SubscribedActivities() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IActivitySensorTrigger)->get_SubscribedActivities(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Sensors::ActivityType>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IActivitySensorTrigger<D>::ReportInterval() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IActivitySensorTrigger<D>::ReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IActivitySensorTrigger)->get_ReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::ActivityType>) consume_Windows_ApplicationModel_Background_IActivitySensorTrigger<D>::SupportedActivities() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IActivitySensorTrigger<D>::SupportedActivities() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IActivitySensorTrigger)->get_SupportedActivities(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::ActivityType>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IActivitySensorTrigger<D>::MinimumReportInterval() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IActivitySensorTrigger<D>::MinimumReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IActivitySensorTrigger)->get_MinimumReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::ActivitySensorTrigger) consume_Windows_ApplicationModel_Background_IActivitySensorTriggerFactory<D>::Create(uint32_t reportIntervalInMilliseconds) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IActivitySensorTriggerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::AlarmAccessStatus>) consume_Windows_ApplicationModel_Background_IAlarmApplicationManagerStatics<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IAlarmApplicationManagerStatics<D>::RequestAccessAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAlarmApplicationManagerStatics)->RequestAccessAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::AlarmAccessStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::AlarmAccessStatus) consume_Windows_ApplicationModel_Background_IAlarmApplicationManagerStatics<D>::GetAccessStatus() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IAlarmApplicationManagerStatics<D>::GetAccessStatus() const
{
winrt::Windows::ApplicationModel::Background::AlarmAccessStatus status{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAlarmApplicationManagerStatics)->GetAccessStatus(reinterpret_cast<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IAppBroadcastTrigger<D>::ProviderInfo(winrt::Windows::ApplicationModel::Background::AppBroadcastTriggerProviderInfo const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IAppBroadcastTrigger<D>::ProviderInfo(winrt::Windows::ApplicationModel::Background::AppBroadcastTriggerProviderInfo const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTrigger)->put_ProviderInfo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::AppBroadcastTriggerProviderInfo) consume_Windows_ApplicationModel_Background_IAppBroadcastTrigger<D>::ProviderInfo() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IAppBroadcastTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::AppBroadcastTrigger) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerFactory<D>::CreateAppBroadcastTrigger(param::hstring const& providerKey) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::DisplayNameResource(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::DisplayNameResource(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->put_DisplayNameResource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::DisplayNameResource() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::LogoResource(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::LogoResource(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->put_LogoResource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::LogoResource() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::VideoKeyFrameInterval(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::VideoKeyFrameInterval() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::MaxVideoBitrate(uint32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::MaxVideoBitrate(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->put_MaxVideoBitrate(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::MaxVideoBitrate() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::MaxVideoBitrate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->get_MaxVideoBitrate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::MaxVideoWidth(uint32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::MaxVideoWidth(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->put_MaxVideoWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::MaxVideoWidth() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::MaxVideoWidth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->get_MaxVideoWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::MaxVideoHeight(uint32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::MaxVideoHeight(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->put_MaxVideoHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::MaxVideoHeight() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IAppBroadcastTriggerProviderInfo<D>::MaxVideoHeight() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo)->get_MaxVideoHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::ApplicationTriggerResult>) consume_Windows_ApplicationModel_Background_IApplicationTrigger<D>::RequestAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IApplicationTrigger<D>::RequestAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IApplicationTrigger)->RequestAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::ApplicationTriggerResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::ApplicationTriggerResult>) consume_Windows_ApplicationModel_Background_IApplicationTrigger<D>::RequestAsync(winrt::Windows::Foundation::Collections::ValueSet const& arguments) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IApplicationTrigger<D>::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<winrt::Windows::ApplicationModel::Background::ApplicationTriggerResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_Background_IApplicationTriggerDetails<D>::Arguments() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IApplicationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::BackgroundAccessStatus>) consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics<D>::RequestAccessAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundExecutionManagerStatics)->RequestAccessAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::BackgroundAccessStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::BackgroundAccessStatus>) consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics<D>::RequestAccessAsync(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics<D>::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<winrt::Windows::ApplicationModel::Background::BackgroundAccessStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics<D>::RemoveAccess() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics<D>::RemoveAccess() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundExecutionManagerStatics)->RemoveAccess());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics<D>::RemoveAccess(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics<D>::RemoveAccess(param::hstring const& applicationId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundExecutionManagerStatics)->RemoveAccessForApplication(*(void**)(&applicationId)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundAccessStatus) consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics<D>::GetAccessStatus() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics<D>::GetAccessStatus() const
{
winrt::Windows::ApplicationModel::Background::BackgroundAccessStatus status{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundExecutionManagerStatics)->GetAccessStatus(reinterpret_cast<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundAccessStatus) consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics<D>::GetAccessStatus(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics<D>::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<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics2<D>::RequestAccessKindAsync(winrt::Windows::ApplicationModel::Background::BackgroundAccessRequestKind const& requestedAccess, param::hstring const& reason) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics2<D>::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<int32_t>(requestedAccess), *(void**)(&reason), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTask<D>::Run(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTask<D>::Run(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTask)->Run(*(void**)(&taskInstance)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder<D>::TaskEntryPoint(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder<D>::TaskEntryPoint(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder)->put_TaskEntryPoint(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder<D>::TaskEntryPoint() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder<D>::SetTrigger(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger const& trigger) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder<D>::SetTrigger(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger const& trigger) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder)->SetTrigger(*(void**)(&trigger)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder<D>::AddCondition(winrt::Windows::ApplicationModel::Background::IBackgroundCondition const& condition) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder<D>::AddCondition(winrt::Windows::ApplicationModel::Background::IBackgroundCondition const& condition) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder)->AddCondition(*(void**)(&condition)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistration) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder<D>::Register() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder2<D>::CancelOnConditionLoss(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder2<D>::CancelOnConditionLoss(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder2)->put_CancelOnConditionLoss(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder2<D>::CancelOnConditionLoss() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder2<D>::CancelOnConditionLoss() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder2)->get_CancelOnConditionLoss(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder3<D>::IsNetworkRequested(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder3<D>::IsNetworkRequested(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder3)->put_IsNetworkRequested(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder3<D>::IsNetworkRequested() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder3<D>::IsNetworkRequested() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder3)->get_IsNetworkRequested(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder4<D>::TaskGroup() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder4<D>::TaskGroup(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder4<D>::TaskGroup(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder4)->put_TaskGroup(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder5<D>::SetTaskEntryPointClsid(winrt::guid const& TaskEntryPoint) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskBuilder5<D>::SetTaskEntryPointClsid(winrt::guid const& TaskEntryPoint) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder5)->SetTaskEntryPointClsid(impl::bind_in(TaskEntryPoint)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Background_IBackgroundTaskCompletedEventArgs<D>::InstanceId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskCompletedEventArgs<D>::InstanceId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskCompletedEventArgs)->get_InstanceId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskCompletedEventArgs<D>::CheckResult() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskCompletedEventArgs<D>::CheckResult() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskCompletedEventArgs)->CheckResult());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::InstanceId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::InstanceId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance)->get_InstanceId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistration) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::Task() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::Progress() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::Progress() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance)->get_Progress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::Progress(uint32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::Progress(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance)->put_Progress(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::TriggerDetails() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::Canceled(winrt::Windows::ApplicationModel::Background::BackgroundTaskCanceledEventHandler const& cancelHandler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::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 D> typename consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::Canceled_revoker consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::Canceled(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskCanceledEventHandler const& cancelHandler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::Canceled(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskCanceledEventHandler const& cancelHandler) const
{
return impl::make_event_revoker<D, Canceled_revoker>(this, Canceled(cancelHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::Canceled(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::Canceled(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance)->remove_Canceled(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::SuspendedCount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::SuspendedCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance)->get_SuspendedCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskDeferral) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance2<D>::GetThrottleCount(winrt::Windows::ApplicationModel::Background::BackgroundTaskThrottleCounter const& counter) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance2<D>::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<int32_t>(counter), &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance4<D>::User() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Background_IBackgroundTaskProgressEventArgs<D>::InstanceId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskProgressEventArgs<D>::InstanceId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskProgressEventArgs)->get_InstanceId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IBackgroundTaskProgressEventArgs<D>::Progress() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskProgressEventArgs<D>::Progress() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskProgressEventArgs)->get_Progress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::TaskId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::TaskId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration)->get_TaskId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::Progress(winrt::Windows::ApplicationModel::Background::BackgroundTaskProgressEventHandler const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::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 D> typename consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::Progress_revoker consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::Progress(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskProgressEventHandler const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::Progress(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskProgressEventHandler const& handler) const
{
return impl::make_event_revoker<D, Progress_revoker>(this, Progress(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::Progress(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::Progress(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration)->remove_Progress(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::Completed(winrt::Windows::ApplicationModel::Background::BackgroundTaskCompletedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::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 D> typename consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::Completed_revoker consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::Completed(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskCompletedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::Completed(auto_revoke_t, winrt::Windows::ApplicationModel::Background::BackgroundTaskCompletedEventHandler const& handler) const
{
return impl::make_event_revoker<D, Completed_revoker>(this, Completed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::Completed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::Completed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration)->remove_Completed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::Unregister(bool cancelTask) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration<D>::Unregister(bool cancelTask) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration)->Unregister(cancelTask));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration2<D>::Trigger() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration3<D>::TaskGroup() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup<D>::BackgroundActivated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup, winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup<D>::BackgroundActivated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup, winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup<D>::BackgroundActivated_revoker consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup<D>::BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup, winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup<D>::BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup, winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, BackgroundActivated_revoker>(this, BackgroundActivated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup<D>::BackgroundActivated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup<D>::BackgroundActivated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationGroup)->remove_BackgroundActivated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistration>) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup<D>::AllTasks() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroup<D>::AllTasks() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationGroup)->get_AllTasks(&value));
return winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistration>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroupFactory<D>::Create(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroupFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroupFactory<D>::CreateWithName(param::hstring const& id, param::hstring const& name) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationGroupFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration>) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationStatics<D>::AllTasks() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationStatics<D>::AllTasks() const
{
void* tasks{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationStatics)->get_AllTasks(&tasks));
return winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration>{ tasks, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup>) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationStatics2<D>::AllTaskGroups() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationStatics2<D>::AllTaskGroups() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationStatics2)->get_AllTaskGroups(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup) consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationStatics2<D>::GetTaskGroup(param::hstring const& groupId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundWorkCostValue) consume_Windows_ApplicationModel_Background_IBackgroundWorkCostStatics<D>::CurrentBackgroundWorkCost() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBackgroundWorkCostStatics<D>::CurrentBackgroundWorkCost() const
{
winrt::Windows::ApplicationModel::Background::BackgroundWorkCostValue value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBackgroundWorkCostStatics)->get_CurrentBackgroundWorkCost(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger<D>::Advertisement() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int16_t>) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2<D>::PreferredTransmitPowerLevelInDBm() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2<D>::PreferredTransmitPowerLevelInDBm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger2)->get_PreferredTransmitPowerLevelInDBm(&value));
return winrt::Windows::Foundation::IReference<int16_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2<D>::PreferredTransmitPowerLevelInDBm(winrt::Windows::Foundation::IReference<int16_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2<D>::PreferredTransmitPowerLevelInDBm(winrt::Windows::Foundation::IReference<int16_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger2)->put_PreferredTransmitPowerLevelInDBm(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2<D>::UseExtendedFormat() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2<D>::UseExtendedFormat() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger2)->get_UseExtendedFormat(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2<D>::UseExtendedFormat(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2<D>::UseExtendedFormat(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger2)->put_UseExtendedFormat(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2<D>::IsAnonymous() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2<D>::IsAnonymous() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger2)->get_IsAnonymous(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2<D>::IsAnonymous(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2<D>::IsAnonymous(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger2)->put_IsAnonymous(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2<D>::IncludeTransmitPowerLevel() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2<D>::IncludeTransmitPowerLevel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger2)->get_IncludeTransmitPowerLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2<D>::IncludeTransmitPowerLevel(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2<D>::IncludeTransmitPowerLevel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger2)->put_IncludeTransmitPowerLevel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger<D>::MinSamplingInterval() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger<D>::MaxSamplingInterval() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger<D>::MinOutOfRangeTimeout() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger<D>::MaxOutOfRangeTimeout() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger<D>::SignalStrengthFilter() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger<D>::SignalStrengthFilter(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger<D>::SignalStrengthFilter(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementWatcherTrigger)->put_SignalStrengthFilter(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger<D>::AdvertisementFilter() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger<D>::AdvertisementFilter(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger2<D>::AllowExtendedAdvertisements() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger2<D>::AllowExtendedAdvertisements() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementWatcherTrigger2)->get_AllowExtendedAdvertisements(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger2<D>::AllowExtendedAdvertisements(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementWatcherTrigger2<D>::AllowExtendedAdvertisements(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementWatcherTrigger2)->put_AllowExtendedAdvertisements(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::CachedFileTarget) consume_Windows_ApplicationModel_Background_ICachedFileUpdaterTriggerDetails<D>::UpdateTarget() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ICachedFileUpdaterTriggerDetails<D>::UpdateTarget() const
{
winrt::Windows::Storage::Provider::CachedFileTarget value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ICachedFileUpdaterTriggerDetails)->get_UpdateTarget(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateRequest) consume_Windows_ApplicationModel_Background_ICachedFileUpdaterTriggerDetails<D>::UpdateRequest() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ICachedFileUpdaterTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_ICachedFileUpdaterTriggerDetails<D>::CanRequestUserInput() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ICachedFileUpdaterTriggerDetails<D>::CanRequestUserInput() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ICachedFileUpdaterTriggerDetails)->get_CanRequestUserInput(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Background_IContentPrefetchTrigger<D>::WaitInterval() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IContentPrefetchTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::ContentPrefetchTrigger) consume_Windows_ApplicationModel_Background_IContentPrefetchTriggerFactory<D>::Create(winrt::Windows::Foundation::TimeSpan const& waitInterval) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IContentPrefetchTriggerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_ICustomSystemEventTrigger<D>::TriggerId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ICustomSystemEventTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::CustomSystemEventTriggerRecurrence) consume_Windows_ApplicationModel_Background_ICustomSystemEventTrigger<D>::Recurrence() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ICustomSystemEventTrigger<D>::Recurrence() const
{
winrt::Windows::ApplicationModel::Background::CustomSystemEventTriggerRecurrence value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ICustomSystemEventTrigger)->get_Recurrence(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::CustomSystemEventTrigger) consume_Windows_ApplicationModel_Background_ICustomSystemEventTriggerFactory<D>::Create(param::hstring const& triggerId, winrt::Windows::ApplicationModel::Background::CustomSystemEventTriggerRecurrence const& recurrence) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ICustomSystemEventTriggerFactory<D>::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<int32_t>(recurrence), &trigger));
return winrt::Windows::ApplicationModel::Background::CustomSystemEventTrigger{ trigger, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTrigger<D>::DeviceId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTrigger<D>::CanMaintainConnection() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTrigger<D>::CanMaintainConnection() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IDeviceConnectionChangeTrigger)->get_CanMaintainConnection(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTrigger<D>::MaintainConnection() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTrigger<D>::MaintainConnection() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IDeviceConnectionChangeTrigger)->get_MaintainConnection(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTrigger<D>::MaintainConnection(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTrigger<D>::MaintainConnection(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IDeviceConnectionChangeTrigger)->put_MaintainConnection(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::DeviceConnectionChangeTrigger>) consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTriggerStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTriggerStatics<D>::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<winrt::Windows::ApplicationModel::Background::DeviceConnectionChangeTrigger>{ deviceChangeTrigger, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IDeviceManufacturerNotificationTrigger<D>::TriggerQualifier() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IDeviceManufacturerNotificationTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IDeviceManufacturerNotificationTrigger<D>::OneShot() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IDeviceManufacturerNotificationTrigger<D>::OneShot() const
{
bool oneShot{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IDeviceManufacturerNotificationTrigger)->get_OneShot(&oneShot));
return oneShot;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::DeviceManufacturerNotificationTrigger) consume_Windows_ApplicationModel_Background_IDeviceManufacturerNotificationTriggerFactory<D>::Create(param::hstring const& triggerQualifier, bool oneShot) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IDeviceManufacturerNotificationTriggerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::DeviceTriggerResult>) consume_Windows_ApplicationModel_Background_IDeviceServicingTrigger<D>::RequestAsync(param::hstring const& deviceId, winrt::Windows::Foundation::TimeSpan const& expectedDuration) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IDeviceServicingTrigger<D>::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<winrt::Windows::ApplicationModel::Background::DeviceTriggerResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::DeviceTriggerResult>) consume_Windows_ApplicationModel_Background_IDeviceServicingTrigger<D>::RequestAsync(param::hstring const& deviceId, winrt::Windows::Foundation::TimeSpan const& expectedDuration, param::hstring const& arguments) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IDeviceServicingTrigger<D>::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<winrt::Windows::ApplicationModel::Background::DeviceTriggerResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::DeviceTriggerResult>) consume_Windows_ApplicationModel_Background_IDeviceUseTrigger<D>::RequestAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IDeviceUseTrigger<D>::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<winrt::Windows::ApplicationModel::Background::DeviceTriggerResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::DeviceTriggerResult>) consume_Windows_ApplicationModel_Background_IDeviceUseTrigger<D>::RequestAsync(param::hstring const& deviceId, param::hstring const& arguments) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IDeviceUseTrigger<D>::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<winrt::Windows::ApplicationModel::Background::DeviceTriggerResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic) consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTrigger<D>::Characteristic() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Background::BluetoothEventTriggeringMode) consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTrigger2<D>::EventTriggeringMode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTrigger2<D>::EventTriggeringMode() const
{
winrt::Windows::Devices::Bluetooth::Background::BluetoothEventTriggeringMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IGattCharacteristicNotificationTrigger2)->get_EventTriggeringMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::GattCharacteristicNotificationTrigger) consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTriggerFactory<D>::Create(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic const& characteristic) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTriggerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::GattCharacteristicNotificationTrigger) consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTriggerFactory2<D>::Create(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic const& characteristic, winrt::Windows::Devices::Bluetooth::Background::BluetoothEventTriggeringMode const& eventTriggeringMode) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IGattCharacteristicNotificationTriggerFactory2<D>::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<int32_t>(eventTriggeringMode), &result));
return winrt::Windows::ApplicationModel::Background::GattCharacteristicNotificationTrigger{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_IGattServiceProviderTrigger<D>::TriggerId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IGattServiceProviderTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalService) consume_Windows_ApplicationModel_Background_IGattServiceProviderTrigger<D>::Service() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IGattServiceProviderTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IGattServiceProviderTrigger<D>::AdvertisingParameters(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IGattServiceProviderTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters) consume_Windows_ApplicationModel_Background_IGattServiceProviderTrigger<D>::AdvertisingParameters() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IGattServiceProviderTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::GattServiceProviderTrigger) consume_Windows_ApplicationModel_Background_IGattServiceProviderTriggerResult<D>::Trigger() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IGattServiceProviderTriggerResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_ApplicationModel_Background_IGattServiceProviderTriggerResult<D>::Error() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IGattServiceProviderTriggerResult<D>::Error() const
{
winrt::Windows::Devices::Bluetooth::BluetoothError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IGattServiceProviderTriggerResult)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::GattServiceProviderTriggerResult>) consume_Windows_ApplicationModel_Background_IGattServiceProviderTriggerStatics<D>::CreateAsync(param::hstring const& triggerId, winrt::guid const& serviceUuid) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IGattServiceProviderTriggerStatics<D>::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<winrt::Windows::ApplicationModel::Background::GattServiceProviderTriggerResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::VisitMonitoringScope) consume_Windows_ApplicationModel_Background_IGeovisitTrigger<D>::MonitoringScope() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IGeovisitTrigger<D>::MonitoringScope() const
{
winrt::Windows::Devices::Geolocation::VisitMonitoringScope value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IGeovisitTrigger)->get_MonitoringScope(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IGeovisitTrigger<D>::MonitoringScope(winrt::Windows::Devices::Geolocation::VisitMonitoringScope const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IGeovisitTrigger<D>::MonitoringScope(winrt::Windows::Devices::Geolocation::VisitMonitoringScope const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IGeovisitTrigger)->put_MonitoringScope(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::LocationTriggerType) consume_Windows_ApplicationModel_Background_ILocationTrigger<D>::TriggerType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ILocationTrigger<D>::TriggerType() const
{
winrt::Windows::ApplicationModel::Background::LocationTriggerType triggerType{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ILocationTrigger)->get_TriggerType(reinterpret_cast<int32_t*>(&triggerType)));
return triggerType;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::LocationTrigger) consume_Windows_ApplicationModel_Background_ILocationTriggerFactory<D>::Create(winrt::Windows::ApplicationModel::Background::LocationTriggerType const& triggerType) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ILocationTriggerFactory<D>::Create(winrt::Windows::ApplicationModel::Background::LocationTriggerType const& triggerType) const
{
void* locationTrigger{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ILocationTriggerFactory)->Create(static_cast<int32_t>(triggerType), &locationTrigger));
return winrt::Windows::ApplicationModel::Background::LocationTrigger{ locationTrigger, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_IMaintenanceTrigger<D>::FreshnessTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IMaintenanceTrigger<D>::FreshnessTime() const
{
uint32_t freshnessTime{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IMaintenanceTrigger)->get_FreshnessTime(&freshnessTime));
return freshnessTime;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IMaintenanceTrigger<D>::OneShot() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IMaintenanceTrigger<D>::OneShot() const
{
bool oneShot{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IMaintenanceTrigger)->get_OneShot(&oneShot));
return oneShot;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::MaintenanceTrigger) consume_Windows_ApplicationModel_Background_IMaintenanceTriggerFactory<D>::Create(uint32_t freshnessTime, bool oneShot) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IMaintenanceTriggerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::MediaProcessingTriggerResult>) consume_Windows_ApplicationModel_Background_IMediaProcessingTrigger<D>::RequestAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IMediaProcessingTrigger<D>::RequestAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IMediaProcessingTrigger)->RequestAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::MediaProcessingTriggerResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::MediaProcessingTriggerResult>) consume_Windows_ApplicationModel_Background_IMediaProcessingTrigger<D>::RequestAsync(winrt::Windows::Foundation::Collections::ValueSet const& arguments) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IMediaProcessingTrigger<D>::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<winrt::Windows::ApplicationModel::Background::MediaProcessingTriggerResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Background_INetworkOperatorNotificationTrigger<D>::NetworkAccountId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_INetworkOperatorNotificationTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::NetworkOperatorNotificationTrigger) consume_Windows_ApplicationModel_Background_INetworkOperatorNotificationTriggerFactory<D>::Create(param::hstring const& networkAccountId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_INetworkOperatorNotificationTriggerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IPhoneTrigger<D>::OneShot() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IPhoneTrigger<D>::OneShot() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IPhoneTrigger)->get_OneShot(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::Background::PhoneTriggerType) consume_Windows_ApplicationModel_Background_IPhoneTrigger<D>::TriggerType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IPhoneTrigger<D>::TriggerType() const
{
winrt::Windows::ApplicationModel::Calls::Background::PhoneTriggerType result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IPhoneTrigger)->get_TriggerType(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::PhoneTrigger) consume_Windows_ApplicationModel_Background_IPhoneTriggerFactory<D>::Create(winrt::Windows::ApplicationModel::Calls::Background::PhoneTriggerType const& type, bool oneShot) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IPhoneTriggerFactory<D>::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<int32_t>(type), oneShot, &result));
return winrt::Windows::ApplicationModel::Background::PhoneTrigger{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::PushNotificationTrigger) consume_Windows_ApplicationModel_Background_IPushNotificationTriggerFactory<D>::Create(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IPushNotificationTriggerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Background::RfcommInboundConnectionInformation) consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger<D>::InboundConnection() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Background::RfcommOutboundConnectionInformation) consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger<D>::OutboundConnection() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger<D>::AllowMultipleConnections() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger<D>::AllowMultipleConnections() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IRfcommConnectionTrigger)->get_AllowMultipleConnections(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger<D>::AllowMultipleConnections(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger<D>::AllowMultipleConnections(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IRfcommConnectionTrigger)->put_AllowMultipleConnections(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketProtectionLevel) consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger<D>::ProtectionLevel() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger<D>::ProtectionLevel() const
{
winrt::Windows::Networking::Sockets::SocketProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IRfcommConnectionTrigger)->get_ProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger<D>::ProtectionLevel(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger<D>::ProtectionLevel(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IRfcommConnectionTrigger)->put_ProtectionLevel(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger<D>::RemoteHostName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger<D>::RemoteHostName(winrt::Windows::Networking::HostName const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IRfcommConnectionTrigger<D>::RemoteHostName(winrt::Windows::Networking::HostName const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IRfcommConnectionTrigger)->put_RemoteHostName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SensorDataThresholdTrigger) consume_Windows_ApplicationModel_Background_ISensorDataThresholdTriggerFactory<D>::Create(winrt::Windows::Devices::Sensors::ISensorDataThreshold const& threshold) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ISensorDataThresholdTriggerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardTriggerType) consume_Windows_ApplicationModel_Background_ISmartCardTrigger<D>::TriggerType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ISmartCardTrigger<D>::TriggerType() const
{
winrt::Windows::Devices::SmartCards::SmartCardTriggerType triggerType{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ISmartCardTrigger)->get_TriggerType(reinterpret_cast<int32_t*>(&triggerType)));
return triggerType;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SmartCardTrigger) consume_Windows_ApplicationModel_Background_ISmartCardTriggerFactory<D>::Create(winrt::Windows::Devices::SmartCards::SmartCardTriggerType const& triggerType) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ISmartCardTriggerFactory<D>::Create(winrt::Windows::Devices::SmartCards::SmartCardTriggerType const& triggerType) const
{
void* trigger{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ISmartCardTriggerFactory)->Create(static_cast<int32_t>(triggerType), &trigger));
return winrt::Windows::ApplicationModel::Background::SmartCardTrigger{ trigger, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SmsMessageReceivedTrigger) consume_Windows_ApplicationModel_Background_ISmsMessageReceivedTriggerFactory<D>::Create(winrt::Windows::Devices::Sms::SmsFilterRules const& filterRules) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ISmsMessageReceivedTriggerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_ISocketActivityTrigger<D>::IsWakeFromLowPowerSupported() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ISocketActivityTrigger<D>::IsWakeFromLowPowerSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ISocketActivityTrigger)->get_IsWakeFromLowPowerSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::StorageLibraryChangeTrackerTrigger) consume_Windows_ApplicationModel_Background_IStorageLibraryChangeTrackerTriggerFactory<D>::Create(winrt::Windows::Storage::StorageLibraryChangeTracker const& tracker) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IStorageLibraryChangeTrackerTriggerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::StorageLibraryContentChangedTrigger) consume_Windows_ApplicationModel_Background_IStorageLibraryContentChangedTriggerStatics<D>::Create(winrt::Windows::Storage::StorageLibrary const& storageLibrary) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IStorageLibraryContentChangedTriggerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::StorageLibraryContentChangedTrigger) consume_Windows_ApplicationModel_Background_IStorageLibraryContentChangedTriggerStatics<D>::CreateFromLibraries(param::iterable<winrt::Windows::Storage::StorageLibrary> const& storageLibraries) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IStorageLibraryContentChangedTriggerStatics<D>::CreateFromLibraries(param::iterable<winrt::Windows::Storage::StorageLibrary> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SystemConditionType) consume_Windows_ApplicationModel_Background_ISystemCondition<D>::ConditionType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ISystemCondition<D>::ConditionType() const
{
winrt::Windows::ApplicationModel::Background::SystemConditionType conditionType{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ISystemCondition)->get_ConditionType(reinterpret_cast<int32_t*>(&conditionType)));
return conditionType;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SystemCondition) consume_Windows_ApplicationModel_Background_ISystemConditionFactory<D>::Create(winrt::Windows::ApplicationModel::Background::SystemConditionType const& conditionType) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ISystemConditionFactory<D>::Create(winrt::Windows::ApplicationModel::Background::SystemConditionType const& conditionType) const
{
void* condition{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ISystemConditionFactory)->Create(static_cast<int32_t>(conditionType), &condition));
return winrt::Windows::ApplicationModel::Background::SystemCondition{ condition, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_ISystemTrigger<D>::OneShot() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ISystemTrigger<D>::OneShot() const
{
bool oneShot{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ISystemTrigger)->get_OneShot(&oneShot));
return oneShot;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SystemTriggerType) consume_Windows_ApplicationModel_Background_ISystemTrigger<D>::TriggerType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ISystemTrigger<D>::TriggerType() const
{
winrt::Windows::ApplicationModel::Background::SystemTriggerType triggerType{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ISystemTrigger)->get_TriggerType(reinterpret_cast<int32_t*>(&triggerType)));
return triggerType;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SystemTrigger) consume_Windows_ApplicationModel_Background_ISystemTriggerFactory<D>::Create(winrt::Windows::ApplicationModel::Background::SystemTriggerType const& triggerType, bool oneShot) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ISystemTriggerFactory<D>::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<int32_t>(triggerType), oneShot, &trigger));
return winrt::Windows::ApplicationModel::Background::SystemTrigger{ trigger, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Background_ITimeTrigger<D>::FreshnessTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ITimeTrigger<D>::FreshnessTime() const
{
uint32_t freshnessTime{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ITimeTrigger)->get_FreshnessTime(&freshnessTime));
return freshnessTime;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Background_ITimeTrigger<D>::OneShot() const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ITimeTrigger<D>::OneShot() const
{
bool oneShot{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::ITimeTrigger)->get_OneShot(&oneShot));
return oneShot;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::TimeTrigger) consume_Windows_ApplicationModel_Background_ITimeTriggerFactory<D>::Create(uint32_t freshnessTime, bool oneShot) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_ITimeTriggerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::ToastNotificationActionTrigger) consume_Windows_ApplicationModel_Background_IToastNotificationActionTriggerFactory<D>::Create(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IToastNotificationActionTriggerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::ToastNotificationHistoryChangedTrigger) consume_Windows_ApplicationModel_Background_IToastNotificationHistoryChangedTriggerFactory<D>::Create(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IToastNotificationHistoryChangedTriggerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::UserNotificationChangedTrigger) consume_Windows_ApplicationModel_Background_IUserNotificationChangedTriggerFactory<D>::Create(winrt::Windows::UI::Notifications::NotificationKinds const& notificationKinds) const
+ template <typename D> auto consume_Windows_ApplicationModel_Background_IUserNotificationChangedTriggerFactory<D>::Create(winrt::Windows::UI::Notifications::NotificationKinds const& notificationKinds) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Background::IUserNotificationChangedTriggerFactory)->Create(static_cast<uint32_t>(notificationKinds), &value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.Background.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.Background.h
index ae31e800e2c..8957377ad07 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.Background.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Background_IPhoneCallBlockedTriggerDetails<D>::PhoneNumber() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Background_IPhoneCallBlockedTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Calls_Background_IPhoneCallBlockedTriggerDetails<D>::LineId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Background_IPhoneCallBlockedTriggerDetails<D>::LineId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneCallBlockedTriggerDetails)->get_LineId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::Background::PhoneCallBlockedReason) consume_Windows_ApplicationModel_Calls_Background_IPhoneCallBlockedTriggerDetails<D>::CallBlockedReason() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Background_IPhoneCallBlockedTriggerDetails<D>::CallBlockedReason() const
{
winrt::Windows::ApplicationModel::Calls::Background::PhoneCallBlockedReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneCallBlockedTriggerDetails)->get_CallBlockedReason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Calls_Background_IPhoneCallOriginDataRequestTriggerDetails<D>::RequestId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Background_IPhoneCallOriginDataRequestTriggerDetails<D>::RequestId() const
{
winrt::guid result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneCallOriginDataRequestTriggerDetails)->get_RequestId(put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Background_IPhoneCallOriginDataRequestTriggerDetails<D>::PhoneNumber() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Background_IPhoneCallOriginDataRequestTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails<D>::LineId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails<D>::LineId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneIncomingCallDismissedTriggerDetails)->get_LineId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails<D>::PhoneNumber() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails<D>::DismissalTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails<D>::TextReplyMessage() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::Background::PhoneIncomingCallDismissedReason) consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails<D>::Reason() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Background_IPhoneIncomingCallDismissedTriggerDetails<D>::Reason() const
{
winrt::Windows::ApplicationModel::Calls::Background::PhoneIncomingCallDismissedReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneIncomingCallDismissedTriggerDetails)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Calls_Background_IPhoneLineChangedTriggerDetails<D>::LineId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Background_IPhoneLineChangedTriggerDetails<D>::LineId() const
{
winrt::guid result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneLineChangedTriggerDetails)->get_LineId(put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::Background::PhoneLineChangeKind) consume_Windows_ApplicationModel_Calls_Background_IPhoneLineChangedTriggerDetails<D>::ChangeType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Background_IPhoneLineChangedTriggerDetails<D>::ChangeType() const
{
winrt::Windows::ApplicationModel::Calls::Background::PhoneLineChangeKind result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneLineChangedTriggerDetails)->get_ChangeType(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_Background_IPhoneLineChangedTriggerDetails<D>::HasLinePropertyChanged(winrt::Windows::ApplicationModel::Calls::Background::PhoneLineProperties const& lineProperty) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Background_IPhoneLineChangedTriggerDetails<D>::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<uint32_t>(lineProperty), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Calls_Background_IPhoneNewVoicemailMessageTriggerDetails<D>::LineId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Background_IPhoneNewVoicemailMessageTriggerDetails<D>::LineId() const
{
winrt::guid result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneNewVoicemailMessageTriggerDetails)->get_LineId(put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Calls_Background_IPhoneNewVoicemailMessageTriggerDetails<D>::VoicemailCount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Background_IPhoneNewVoicemailMessageTriggerDetails<D>::VoicemailCount() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneNewVoicemailMessageTriggerDetails)->get_VoicemailCount(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Background_IPhoneNewVoicemailMessageTriggerDetails<D>::OperatorMessage() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Background_IPhoneNewVoicemailMessageTriggerDetails<D>::OperatorMessage() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Background::IPhoneNewVoicemailMessageTriggerDetails)->get_OperatorMessage(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.Provider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.Provider.h
index 072e37ba1c2..540b28d84e9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.Provider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin<D>::Category() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin<D>::Category(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin<D>::Category(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin)->put_Category(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin<D>::CategoryDescription() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin<D>::CategoryDescription(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin<D>::CategoryDescription(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin)->put_CategoryDescription(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin<D>::Location() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin<D>::Location(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin<D>::Location(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin)->put_Location(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin2<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin2<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin2<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin2)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin3<D>::DisplayPicture() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin3<D>::DisplayPicture(winrt::Windows::Storage::StorageFile const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOrigin3<D>::DisplayPicture(winrt::Windows::Storage::StorageFile const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin3)->put_DisplayPicture(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics<D>::IsCurrentAppActiveCallOriginApp() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics<D>::IsCurrentAppActiveCallOriginApp() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOriginManagerStatics)->get_IsCurrentAppActiveCallOriginApp(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics<D>::ShowPhoneCallOriginSettingsUI() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics<D>::ShowPhoneCallOriginSettingsUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOriginManagerStatics)->ShowPhoneCallOriginSettingsUI());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics<D>::SetCallOrigin(winrt::guid const& requestId, winrt::Windows::ApplicationModel::Calls::Provider::PhoneCallOrigin const& callOrigin) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics2<D>::RequestSetAsActiveCallOriginAppAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics2<D>::RequestSetAsActiveCallOriginAppAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOriginManagerStatics2)->RequestSetAsActiveCallOriginAppAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics3<D>::IsSupported() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics3<D>::IsSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOriginManagerStatics3)->get_IsSupported(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.h
index c9240bbe4b9..12286096f40 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Calls.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia) consume_Windows_ApplicationModel_Calls_ICallAnswerEventArgs<D>::AcceptedMedia() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_ICallAnswerEventArgs<D>::AcceptedMedia() const
{
winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ICallAnswerEventArgs)->get_AcceptedMedia(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallRejectReason) consume_Windows_ApplicationModel_Calls_ICallRejectEventArgs<D>::RejectReason() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_ICallRejectEventArgs<D>::RejectReason() const
{
winrt::Windows::ApplicationModel::Calls::VoipPhoneCallRejectReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ICallRejectEventArgs)->get_RejectReason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallState) consume_Windows_ApplicationModel_Calls_ICallStateChangeEventArgs<D>::State() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_ICallStateChangeEventArgs<D>::State() const
{
winrt::Windows::ApplicationModel::Calls::VoipPhoneCallState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ICallStateChangeEventArgs)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_ILockScreenCallEndCallDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_ILockScreenCallEndCallDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ILockScreenCallEndCallDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::LockScreenCallEndCallDeferral) consume_Windows_ApplicationModel_Calls_ILockScreenCallEndRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_ILockScreenCallEndRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Calls_ILockScreenCallEndRequestedEventArgs<D>::Deadline() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_ILockScreenCallEndRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::Dismiss() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::Dismiss() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ILockScreenCallUI)->Dismiss());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::EndRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::LockScreenCallUI, winrt::Windows::ApplicationModel::Calls::LockScreenCallEndRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::EndRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::LockScreenCallUI, winrt::Windows::ApplicationModel::Calls::LockScreenCallEndRequestedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::EndRequested_revoker consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::EndRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::LockScreenCallUI, winrt::Windows::ApplicationModel::Calls::LockScreenCallEndRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::EndRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::LockScreenCallUI, winrt::Windows::ApplicationModel::Calls::LockScreenCallEndRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, EndRequested_revoker>(this, EndRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::EndRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::EndRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ILockScreenCallUI)->remove_EndRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::LockScreenCallUI, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::LockScreenCallUI, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::Closed_revoker consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::LockScreenCallUI, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::LockScreenCallUI, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ILockScreenCallUI)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::CallTitle() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::CallTitle(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_ILockScreenCallUI<D>::CallTitle(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::ILockScreenCallUI)->put_CallTitle(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IMuteChangeEventArgs<D>::Muted() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IMuteChangeEventArgs<D>::Muted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IMuteChangeEventArgs)->get_Muted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics<D>::BlockUnknownNumbers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics<D>::BlockUnknownNumbers() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallBlockingStatics)->get_BlockUnknownNumbers(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics<D>::BlockUnknownNumbers(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics<D>::BlockUnknownNumbers(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallBlockingStatics)->put_BlockUnknownNumbers(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics<D>::BlockPrivateNumbers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics<D>::BlockPrivateNumbers() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallBlockingStatics)->get_BlockPrivateNumbers(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics<D>::BlockPrivateNumbers(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics<D>::BlockPrivateNumbers(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallBlockingStatics)->put_BlockPrivateNumbers(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics<D>::SetCallBlockingListAsync(param::async_iterable<hstring> const& phoneNumberList) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallBlockingStatics<D>::SetCallBlockingListAsync(param::async_iterable<hstring> const& phoneNumberList) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallBlockingStatics)->SetCallBlockingListAsync(*(void**)(&phoneNumberList), &result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryAddress) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::Address() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::Address(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryAddress const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::Address(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryAddress const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_Address(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::Duration() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::Duration() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_Duration(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::Duration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::Duration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_Duration(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsCallerIdBlocked() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsCallerIdBlocked() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_IsCallerIdBlocked(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsCallerIdBlocked(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsCallerIdBlocked(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_IsCallerIdBlocked(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsEmergency() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsEmergency() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_IsEmergency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsEmergency(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsEmergency(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_IsEmergency(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsIncoming() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsIncoming() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_IsIncoming(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsIncoming(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsIncoming(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_IsIncoming(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsMissed() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsMissed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_IsMissed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsMissed(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsMissed(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_IsMissed(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsRinging() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsRinging() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_IsRinging(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsRinging(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsRinging(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_IsRinging(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsSeen() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsSeen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_IsSeen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsSeen(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsSeen(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_IsSeen(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsSuppressed() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsSuppressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_IsSuppressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsSuppressed(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsSuppressed(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_IsSuppressed(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsVoicemail() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsVoicemail() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_IsVoicemail(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsVoicemail(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::IsVoicemail(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_IsVoicemail(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryMedia) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::Media() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::Media() const
{
winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryMedia value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_Media(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::Media(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryMedia const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::Media(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryMedia const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_Media(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryOtherAppReadAccess) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::OtherAppReadAccess() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::OtherAppReadAccess() const
{
winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryOtherAppReadAccess value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_OtherAppReadAccess(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::OtherAppReadAccess(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryOtherAppReadAccess const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::OtherAppReadAccess(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryOtherAppReadAccess const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_OtherAppReadAccess(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::RemoteId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::RemoteId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::RemoteId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_RemoteId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::SourceDisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::SourceId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::SourceId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::SourceId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_SourceId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistorySourceIdKind) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::SourceIdKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::SourceIdKind() const
{
winrt::Windows::ApplicationModel::Calls::PhoneCallHistorySourceIdKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->get_SourceIdKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::SourceIdKind(winrt::Windows::ApplicationModel::Calls::PhoneCallHistorySourceIdKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::SourceIdKind(winrt::Windows::ApplicationModel::Calls::PhoneCallHistorySourceIdKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry)->put_SourceIdKind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::StartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::StartTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntry<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress<D>::ContactId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress<D>::ContactId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress<D>::ContactId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryAddress)->put_ContactId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryAddress)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress<D>::RawAddress() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress<D>::RawAddress(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress<D>::RawAddress(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryAddress)->put_RawAddress(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryRawAddressKind) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress<D>::RawAddressKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress<D>::RawAddressKind() const
{
winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryRawAddressKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryAddress)->get_RawAddressKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress<D>::RawAddressKind(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryRawAddressKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddress<D>::RawAddressKind(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryRawAddressKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryAddress)->put_RawAddressKind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryAddress) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddressFactory<D>::Create(param::hstring const& rawAddress, winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryRawAddressKind const& rawAddressKind) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryAddressFactory<D>::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<int32_t>(rawAddressKind), &result));
return winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryAddress{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryQueryDesiredMedia) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryQueryOptions<D>::DesiredMedia() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryQueryOptions<D>::DesiredMedia() const
{
winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryQueryDesiredMedia value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryQueryOptions)->get_DesiredMedia(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryQueryOptions<D>::DesiredMedia(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryQueryDesiredMedia const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryQueryOptions<D>::DesiredMedia(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryQueryDesiredMedia const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryQueryOptions)->put_DesiredMedia(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryQueryOptions<D>::SourceIds() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryQueryOptions<D>::SourceIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryQueryOptions)->get_SourceIds(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry>>) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryReader<D>::ReadBatchAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryReader<D>::ReadBatchAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryReader)->ReadBatchAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStore>) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerForUser<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType const& accessType) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerForUser<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType const& accessType) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryManagerForUser)->RequestStoreAsync(static_cast<int32_t>(accessType), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStore>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerForUser<D>::User() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStore>) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerStatics<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType const& accessType) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerStatics<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType const& accessType) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryManagerStatics)->RequestStoreAsync(static_cast<int32_t>(accessType), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStore>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryManagerForUser) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerStatics2<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry>) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::GetEntryAsync(param::hstring const& callHistoryEntryId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::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<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryReader) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::GetEntryReader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryReader) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::GetEntryReader(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryQueryOptions const& queryOptions) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::SaveEntryAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry const& callHistoryEntry) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::DeleteEntryAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry const& callHistoryEntry) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::DeleteEntriesAsync(param::async_iterable<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry> const& callHistoryEntries) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::DeleteEntriesAsync(param::async_iterable<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::MarkEntryAsSeenAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry const& callHistoryEntry) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::MarkEntriesAsSeenAsync(param::async_iterable<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry> const& callHistoryEntries) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::MarkEntriesAsSeenAsync(param::async_iterable<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::GetUnseenCountAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::GetUnseenCountAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryStore)->GetUnseenCountAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<uint32_t>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::MarkAllAsSeenAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::GetSourcesUnseenCountAsync(param::async_iterable<hstring> const& sourceIds) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::GetSourcesUnseenCountAsync(param::async_iterable<hstring> const& sourceIds) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryStore)->GetSourcesUnseenCountAsync(*(void**)(&sourceIds), &result));
return winrt::Windows::Foundation::IAsyncOperation<uint32_t>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::MarkSourcesAsSeenAsync(param::async_iterable<hstring> const& sourceIds) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore<D>::MarkSourcesAsSeenAsync(param::async_iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics<D>::ShowPhoneCallUI(param::hstring const& phoneNumber, param::hstring const& displayName) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2<D>::CallStateChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2<D>::CallStateChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2<D>::CallStateChanged_revoker consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2<D>::CallStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2<D>::CallStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, CallStateChanged_revoker>(this, CallStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2<D>::CallStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2<D>::CallStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics2)->remove_CallStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2<D>::IsCallActive() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2<D>::IsCallActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics2)->get_IsCallActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2<D>::IsCallIncoming() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2<D>::IsCallIncoming() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics2)->get_IsCallIncoming(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2<D>::ShowPhoneCallSettingsUI() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2<D>::ShowPhoneCallSettingsUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics2)->ShowPhoneCallSettingsUI());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::PhoneCallStore>) consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2<D>::RequestStoreAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2<D>::RequestStoreAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics2)->RequestStoreAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::PhoneCallStore>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Calls_IPhoneCallStore<D>::IsEmergencyPhoneNumberAsync(param::hstring const& number) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallStore<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::guid>) consume_Windows_ApplicationModel_Calls_IPhoneCallStore<D>::GetDefaultLineAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallStore<D>::GetDefaultLineAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallStore)->GetDefaultLineAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::guid>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher) consume_Windows_ApplicationModel_Calls_IPhoneCallStore<D>::RequestLineWatcher() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallStore<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneCallVideoCapabilities<D>::IsVideoCallingCapable() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallVideoCapabilities<D>::IsVideoCallingCapable() const
{
bool pValue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneCallVideoCapabilities)->get_IsVideoCallingCapable(&pValue));
return pValue;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::PhoneCallVideoCapabilities>) consume_Windows_ApplicationModel_Calls_IPhoneCallVideoCapabilitiesManagerStatics<D>::GetCapabilitiesAsync(param::hstring const& phoneNumber) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneCallVideoCapabilitiesManagerStatics<D>::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<winrt::Windows::ApplicationModel::Calls::PhoneCallVideoCapabilities>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::Number() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::Number(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::Number(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->put_Number(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::Contact() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::Contact(winrt::Windows::ApplicationModel::Contacts::Contact const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::Contact(winrt::Windows::ApplicationModel::Contacts::Contact const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->put_Contact(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactPhone) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::ContactPhone() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::ContactPhone(winrt::Windows::ApplicationModel::Contacts::ContactPhone const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::ContactPhone(winrt::Windows::ApplicationModel::Contacts::ContactPhone const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->put_ContactPhone(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallMedia) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::Media() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::Media() const
{
winrt::Windows::ApplicationModel::Calls::PhoneCallMedia value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->get_Media(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::Media(winrt::Windows::ApplicationModel::Calls::PhoneCallMedia const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::Media(winrt::Windows::ApplicationModel::Calls::PhoneCallMedia const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->put_Media(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneAudioRoutingEndpoint) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::AudioEndpoint() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::AudioEndpoint() const
{
winrt::Windows::ApplicationModel::Calls::PhoneAudioRoutingEndpoint value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->get_AudioEndpoint(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::AudioEndpoint(winrt::Windows::ApplicationModel::Calls::PhoneAudioRoutingEndpoint const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneDialOptions<D>::AudioEndpoint(winrt::Windows::ApplicationModel::Calls::PhoneAudioRoutingEndpoint const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions)->put_AudioEndpoint(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::LineChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLine, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::LineChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLine, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::LineChanged_revoker consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::LineChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLine, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::LineChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLine, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, LineChanged_revoker>(this, LineChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::LineChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::LineChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->remove_LineChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::Id() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->get_Id(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::DisplayColor() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneNetworkState) consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::NetworkState() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::NetworkState() const
{
winrt::Windows::ApplicationModel::Calls::PhoneNetworkState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->get_NetworkState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneVoicemail) consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::Voicemail() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::NetworkName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineCellularDetails) consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::CellularDetails() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineTransport) consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::Transport() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::Transport() const
{
winrt::Windows::ApplicationModel::Calls::PhoneLineTransport value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->get_Transport(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::CanDial() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::CanDial() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->get_CanDial(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::SupportsTile() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::SupportsTile() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->get_SupportsTile(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneCallVideoCapabilities) consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::VideoCallingCapabilities() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineConfiguration) consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::LineConfiguration() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::IsImmediateDialNumberAsync(param::hstring const& number) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::Dial(param::hstring const& number, param::hstring const& displayName) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::DialWithOptions(winrt::Windows::ApplicationModel::Calls::PhoneDialOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine<D>::DialWithOptions(winrt::Windows::ApplicationModel::Calls::PhoneDialOptions const& options) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine)->DialWithOptions(*(void**)(&options)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLine2<D>::EnableTextReply(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine2<D>::EnableTextReply(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLine2)->EnableTextReply(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneLine2<D>::TransportDeviceId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLine2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneSimState) consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails<D>::SimState() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails<D>::SimState() const
{
winrt::Windows::ApplicationModel::Calls::PhoneSimState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineCellularDetails)->get_SimState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails<D>::SimSlotIndex() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails<D>::SimSlotIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineCellularDetails)->get_SimSlotIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails<D>::IsModemOn() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails<D>::IsModemOn() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineCellularDetails)->get_IsModemOn(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails<D>::RegistrationRejectCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails<D>::RegistrationRejectCode() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineCellularDetails)->get_RegistrationRejectCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails<D>::GetNetworkOperatorDisplayText(winrt::Windows::ApplicationModel::Calls::PhoneLineNetworkOperatorDisplayTextLocation const& location) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineCellularDetails<D>::GetNetworkOperatorDisplayText(winrt::Windows::ApplicationModel::Calls::PhoneLineNetworkOperatorDisplayTextLocation const& location) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineCellularDetails)->GetNetworkOperatorDisplayText(static_cast<int32_t>(location), &value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneLineConfiguration<D>::IsVideoCallingEnabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineConfiguration<D>::IsVideoCallingEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineConfiguration)->get_IsVideoCallingEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_ApplicationModel_Calls_IPhoneLineConfiguration<D>::ExtendedProperties() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineConfiguration<D>::ExtendedProperties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineConfiguration)->get_ExtendedProperties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::PhoneLine>) consume_Windows_ApplicationModel_Calls_IPhoneLineStatics<D>::FromIdAsync(winrt::guid const& lineId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineStatics<D>::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<winrt::Windows::ApplicationModel::Calls::PhoneLine>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::DeviceId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineTransport) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::Transport() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::Transport() const
{
winrt::Windows::ApplicationModel::Calls::PhoneLineTransport value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->get_Transport(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceAccessStatus>) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::RequestAccessAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->RequestAccessAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceAccessStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::RegisterApp() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::RegisterApp() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->RegisterApp());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::RegisterAppForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::RegisterAppForUser(winrt::Windows::System::User const& user) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->RegisterAppForUser(*(void**)(&user)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::UnregisterApp() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::UnregisterApp() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->UnregisterApp());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::UnregisterAppForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::UnregisterAppForUser(winrt::Windows::System::User const& user) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->UnregisterAppForUser(*(void**)(&user)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::IsRegistered() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::IsRegistered() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->IsRegistered(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::Connect() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::Connect() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->Connect(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::ConnectAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDevice<D>::ConnectAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice)->ConnectAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineTransportDevice) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDeviceStatics<D>::FromId(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDeviceStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDeviceStatics<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDeviceStatics)->GetDeviceSelector(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDeviceStatics<D>::GetDeviceSelector(winrt::Windows::ApplicationModel::Calls::PhoneLineTransport const& transport) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineTransportDeviceStatics<D>::GetDeviceSelector(winrt::Windows::ApplicationModel::Calls::PhoneLineTransport const& transport) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDeviceStatics)->GetDeviceSelectorForPhoneLineTransport(static_cast<int32_t>(transport), &result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> 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 D> typename consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineAdded_revoker consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const
{
return impl::make_event_revoker<D, LineAdded_revoker>(this, LineAdded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineAdded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineAdded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->remove_LineAdded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> 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 D> typename consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineRemoved_revoker consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const
{
return impl::make_event_revoker<D, LineRemoved_revoker>(this, LineRemoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineRemoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineRemoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->remove_LineRemoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> 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 D> typename consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineUpdated_revoker consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const
{
return impl::make_event_revoker<D, LineUpdated_revoker>(this, LineUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineUpdated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::LineUpdated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->remove_LineUpdated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::EnumerationCompleted_revoker consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EnumerationCompleted_revoker>(this, EnumerationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->remove_EnumerationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::Stopped_revoker consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Stopped_revoker>(this, Stopped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->remove_Stopped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherStatus) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcher<D>::Status() const
{
winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherStatus status{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher)->get_Status(reinterpret_cast<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Calls_IPhoneLineWatcherEventArgs<D>::LineId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneLineWatcherEventArgs<D>::LineId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcherEventArgs)->get_LineId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IPhoneVoicemail<D>::Number() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneVoicemail<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Calls_IPhoneVoicemail<D>::MessageCount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneVoicemail<D>::MessageCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneVoicemail)->get_MessageCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::PhoneVoicemailType) consume_Windows_ApplicationModel_Calls_IPhoneVoicemail<D>::Type() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneVoicemail<D>::Type() const
{
winrt::Windows::ApplicationModel::Calls::PhoneVoicemailType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IPhoneVoicemail)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Calls_IPhoneVoicemail<D>::DialVoicemailAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IPhoneVoicemail<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::VoipPhoneCallResourceReservationStatus>) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::ReserveCallResourcesAsync(param::hstring const& taskEntryPoint) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::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<winrt::Windows::ApplicationModel::Calls::VoipPhoneCallResourceReservationStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::MuteStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipCallCoordinator, winrt::Windows::ApplicationModel::Calls::MuteChangeEventArgs> const& muteChangeHandler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::MuteStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipCallCoordinator, winrt::Windows::ApplicationModel::Calls::MuteChangeEventArgs> 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 D> typename consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::MuteStateChanged_revoker consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::MuteStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipCallCoordinator, winrt::Windows::ApplicationModel::Calls::MuteChangeEventArgs> const& muteChangeHandler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::MuteStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipCallCoordinator, winrt::Windows::ApplicationModel::Calls::MuteChangeEventArgs> const& muteChangeHandler) const
{
return impl::make_event_revoker<D, MuteStateChanged_revoker>(this, MuteStateChanged(muteChangeHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::MuteStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::MuteStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator)->remove_MuteStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::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 <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::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<uint32_t>(media), impl::bind_in(ringTimeout), &call));
return winrt::Windows::ApplicationModel::Calls::VoipPhoneCall{ call, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::RequestNewOutgoingCall(param::hstring const& context, param::hstring const& contactName, param::hstring const& serviceName, winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::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<uint32_t>(media), &call));
return winrt::Windows::ApplicationModel::Calls::VoipPhoneCall{ call, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::NotifyMuted() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::NotifyMuted() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator)->NotifyMuted());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::NotifyUnmuted() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::NotifyUnmuted() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator)->NotifyUnmuted());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::RequestOutgoingUpgradeToVideoCall(winrt::guid const& callUpgradeGuid, param::hstring const& context, param::hstring const& contactName, param::hstring const& serviceName) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::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 <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::TerminateCellularCall(winrt::guid const& callUpgradeGuid) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::TerminateCellularCall(winrt::guid const& callUpgradeGuid) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator)->TerminateCellularCall(impl::bind_in(callUpgradeGuid)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::CancelUpgrade(winrt::guid const& callUpgradeGuid) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator<D>::CancelUpgrade(winrt::guid const& callUpgradeGuid) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator)->CancelUpgrade(impl::bind_in(callUpgradeGuid)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator2<D>::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 <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator2<D>::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<uint32_t>(media), &call));
return winrt::Windows::ApplicationModel::Calls::VoipPhoneCall{ call, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator3<D>::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 <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator3<D>::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<uint32_t>(media), &call));
return winrt::Windows::ApplicationModel::Calls::VoipPhoneCall{ call, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCall) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator3<D>::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 <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator3<D>::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<uint32_t>(media), impl::bind_in(ringTimeout), *(void**)(&contactRemoteId), &call));
return winrt::Windows::ApplicationModel::Calls::VoipPhoneCall{ call, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::VoipPhoneCallResourceReservationStatus>) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator4<D>::ReserveCallResourcesAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator4<D>::ReserveCallResourcesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator4)->ReserveOneProcessCallResourcesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::VoipPhoneCallResourceReservationStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipCallCoordinator) consume_Windows_ApplicationModel_Calls_IVoipCallCoordinatorStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipCallCoordinatorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::EndRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::EndRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> 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 D> typename consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::EndRequested_revoker consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::EndRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::EndRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const
{
return impl::make_event_revoker<D, EndRequested_revoker>(this, EndRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::EndRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::EndRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->remove_EndRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::HoldRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::HoldRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> 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 D> typename consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::HoldRequested_revoker consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::HoldRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::HoldRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const
{
return impl::make_event_revoker<D, HoldRequested_revoker>(this, HoldRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::HoldRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::HoldRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->remove_HoldRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::ResumeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::ResumeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> 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 D> typename consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::ResumeRequested_revoker consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::ResumeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::ResumeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ResumeRequested_revoker>(this, ResumeRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::ResumeRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::ResumeRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->remove_ResumeRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::AnswerRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallAnswerEventArgs> const& acceptHandler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::AnswerRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallAnswerEventArgs> 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 D> typename consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::AnswerRequested_revoker consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::AnswerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallAnswerEventArgs> const& acceptHandler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::AnswerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallAnswerEventArgs> const& acceptHandler) const
{
return impl::make_event_revoker<D, AnswerRequested_revoker>(this, AnswerRequested(acceptHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::AnswerRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::AnswerRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->remove_AnswerRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::RejectRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallRejectEventArgs> const& rejectHandler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::RejectRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallRejectEventArgs> 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 D> typename consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::RejectRequested_revoker consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::RejectRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallRejectEventArgs> const& rejectHandler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::RejectRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallRejectEventArgs> const& rejectHandler) const
{
return impl::make_event_revoker<D, RejectRequested_revoker>(this, RejectRequested(rejectHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::RejectRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::RejectRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->remove_RejectRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::NotifyCallHeld() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::NotifyCallHeld() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->NotifyCallHeld());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::NotifyCallActive() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::NotifyCallActive() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->NotifyCallActive());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::NotifyCallEnded() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::NotifyCallEnded() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->NotifyCallEnded());
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::ContactName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::ContactName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::ContactName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->put_ContactName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::StartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::StartTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::CallMedia() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::CallMedia() const
{
winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->get_CallMedia(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::CallMedia(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::CallMedia(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->put_CallMedia(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::NotifyCallReady() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall<D>::NotifyCallReady() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall)->NotifyCallReady());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall2<D>::TryShowAppUI() const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall2<D>::TryShowAppUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall2)->TryShowAppUI());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Calls_IVoipPhoneCall3<D>::NotifyCallAccepted(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const
+ template <typename D> auto consume_Windows_ApplicationModel_Calls_IVoipPhoneCall3<D>::NotifyCallAccepted(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia const& media) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall3)->NotifyCallAccepted(static_cast<uint32_t>(media)));
}
@@ -2997,10 +2997,10 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Calls
{
return impl::call_factory<PhoneCallManager, IPhoneCallManagerStatics2>([&](IPhoneCallManagerStatics2 const& f) { return f.CallStateChanged(handler); });
}
- inline PhoneCallManager::CallStateChanged_revoker PhoneCallManager::CallStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto PhoneCallManager::CallStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<PhoneCallManager, winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics2>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Chat.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Chat.h
index 17a811ed66a..330797bfa63 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Chat.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatCapabilities<D>::IsOnline() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatCapabilities<D>::IsOnline() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatCapabilities)->get_IsOnline(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatCapabilities<D>::IsChatCapable() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatCapabilities<D>::IsChatCapable() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatCapabilities)->get_IsChatCapable(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatCapabilities<D>::IsFileTransferCapable() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatCapabilities<D>::IsFileTransferCapable() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatCapabilities)->get_IsFileTransferCapable(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatCapabilities<D>::IsGeoLocationPushCapable() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatCapabilities<D>::IsGeoLocationPushCapable() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatCapabilities)->get_IsGeoLocationPushCapable(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatCapabilities<D>::IsIntegratedMessagingCapable() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatCapabilities<D>::IsIntegratedMessagingCapable() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatCapabilities)->get_IsIntegratedMessagingCapable(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatCapabilities>) consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics<D>::GetCachedCapabilitiesAsync(param::hstring const& address) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics<D>::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<winrt::Windows::ApplicationModel::Chat::ChatCapabilities>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatCapabilities>) consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics<D>::GetCapabilitiesFromNetworkAsync(param::hstring const& address) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics<D>::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<winrt::Windows::ApplicationModel::Chat::ChatCapabilities>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatCapabilities>) consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics2<D>::GetCachedCapabilitiesAsync(param::hstring const& address, param::hstring const& transportId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics2<D>::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<winrt::Windows::ApplicationModel::Chat::ChatCapabilities>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatCapabilities>) consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics2<D>::GetCapabilitiesFromNetworkAsync(param::hstring const& address, param::hstring const& transportId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics2<D>::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<winrt::Windows::ApplicationModel::Chat::ChatCapabilities>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::HasUnreadMessages() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::HasUnreadMessages() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->get_HasUnreadMessages(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::Subject() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::Subject(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::Subject(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->put_Subject(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::IsConversationMuted() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::IsConversationMuted() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->get_IsConversationMuted(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::IsConversationMuted(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::IsConversationMuted(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->put_IsConversationMuted(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::MostRecentMessageId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::Participants() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::Participants() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->get_Participants(&result));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::ThreadingInfo() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::DeleteAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageReader) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::GetMessageReader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::MarkMessagesAsReadAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::MarkMessagesAsReadAsync(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::SaveAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::NotifyLocalParticipantComposing(param::hstring const& transportId, param::hstring const& participantAddress, bool isComposing) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::NotifyRemoteParticipantComposing(param::hstring const& transportId, param::hstring const& participantAddress, bool isComposing) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::RemoteParticipantComposingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::ChatConversation, winrt::Windows::ApplicationModel::Chat::RemoteParticipantComposingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::RemoteParticipantComposingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::ChatConversation, winrt::Windows::ApplicationModel::Chat::RemoteParticipantComposingChangedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Chat_IChatConversation<D>::RemoteParticipantComposingChanged_revoker consume_Windows_ApplicationModel_Chat_IChatConversation<D>::RemoteParticipantComposingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::ChatConversation, winrt::Windows::ApplicationModel::Chat::RemoteParticipantComposingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::RemoteParticipantComposingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::ChatConversation, winrt::Windows::ApplicationModel::Chat::RemoteParticipantComposingChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RemoteParticipantComposingChanged_revoker>(this, RemoteParticipantComposingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversation<D>::RemoteParticipantComposingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation<D>::RemoteParticipantComposingChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation)->remove_RemoteParticipantComposingChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatConversation2<D>::CanModifyParticipants() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation2<D>::CanModifyParticipants() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation2)->get_CanModifyParticipants(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversation2<D>::CanModifyParticipants(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversation2<D>::CanModifyParticipants(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversation2)->put_CanModifyParticipants(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatConversation>>) consume_Windows_ApplicationModel_Chat_IChatConversationReader<D>::ReadBatchAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversationReader<D>::ReadBatchAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationReader)->ReadBatchAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatConversation>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatConversation>>) consume_Windows_ApplicationModel_Chat_IChatConversationReader<D>::ReadBatchAsync(int32_t count) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversationReader<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatConversation>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::ContactId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::ContactId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::ContactId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationThreadingInfo)->put_ContactId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::Custom() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::Custom(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::Custom(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationThreadingInfo)->put_Custom(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::ConversationId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::ConversationId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::ConversationId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationThreadingInfo)->put_ConversationId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::Participants() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::Participants() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationThreadingInfo)->get_Participants(&result));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingKind) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::Kind() const
{
winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingKind result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationThreadingInfo)->get_Kind(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::Kind(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatConversationThreadingInfo<D>::Kind(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatConversationThreadingInfo)->put_Kind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatItemKind) consume_Windows_ApplicationModel_Chat_IChatItem<D>::ItemKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatItem<D>::ItemKind() const
{
winrt::Windows::ApplicationModel::Chat::ChatItemKind result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatItem)->get_ItemKind(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Chat::ChatMessageAttachment>) consume_Windows_ApplicationModel_Chat_IChatMessage<D>::Attachments() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage<D>::Attachments() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_Attachments(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Chat::ChatMessageAttachment>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessage<D>::Body() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage<D>::Body(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage<D>::Body(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->put_Body(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessage<D>::From() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessage<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage<D>::IsForwardingDisabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage<D>::IsForwardingDisabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_IsForwardingDisabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage<D>::IsIncoming() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage<D>::IsIncoming() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_IsIncoming(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage<D>::IsRead() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage<D>::IsRead() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_IsRead(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Chat_IChatMessage<D>::LocalTimestamp() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Chat_IChatMessage<D>::NetworkTimestamp() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_Chat_IChatMessage<D>::Recipients() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage<D>::Recipients() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_Recipients(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::Chat::ChatMessageStatus>) consume_Windows_ApplicationModel_Chat_IChatMessage<D>::RecipientSendStatuses() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage<D>::RecipientSendStatuses() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_RecipientSendStatuses(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::Chat::ChatMessageStatus>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageStatus) consume_Windows_ApplicationModel_Chat_IChatMessage<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage<D>::Status() const
{
winrt::Windows::ApplicationModel::Chat::ChatMessageStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessage<D>::Subject() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessage<D>::TransportFriendlyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessage<D>::TransportId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage<D>::TransportId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage<D>::TransportId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage)->put_TransportId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::EstimatedDownloadSize() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::EstimatedDownloadSize() const
{
uint64_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_EstimatedDownloadSize(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::EstimatedDownloadSize(uint64_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::EstimatedDownloadSize(uint64_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_EstimatedDownloadSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::From(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::From(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_From(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsAutoReply() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsAutoReply() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_IsAutoReply(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsAutoReply(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsAutoReply(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_IsAutoReply(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsForwardingDisabled(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsForwardingDisabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_IsForwardingDisabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsReplyDisabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsReplyDisabled() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_IsReplyDisabled(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsIncoming(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsIncoming(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_IsIncoming(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsRead(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsRead(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_IsRead(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsSeen() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsSeen() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_IsSeen(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsSeen(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsSeen(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_IsSeen(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsSimMessage() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsSimMessage() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_IsSimMessage(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::LocalTimestamp(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageKind) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::MessageKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::MessageKind() const
{
winrt::Windows::ApplicationModel::Chat::ChatMessageKind result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_MessageKind(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::MessageKind(winrt::Windows::ApplicationModel::Chat::ChatMessageKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::MessageKind(winrt::Windows::ApplicationModel::Chat::ChatMessageKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_MessageKind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageOperatorKind) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::MessageOperatorKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::MessageOperatorKind() const
{
winrt::Windows::ApplicationModel::Chat::ChatMessageOperatorKind result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_MessageOperatorKind(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::MessageOperatorKind(winrt::Windows::ApplicationModel::Chat::ChatMessageOperatorKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::MessageOperatorKind(winrt::Windows::ApplicationModel::Chat::ChatMessageOperatorKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_MessageOperatorKind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::NetworkTimestamp(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsReceivedDuringQuietHours() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsReceivedDuringQuietHours() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_IsReceivedDuringQuietHours(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsReceivedDuringQuietHours(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::IsReceivedDuringQuietHours(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_IsReceivedDuringQuietHours(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::RemoteId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::RemoteId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_RemoteId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::Status(winrt::Windows::ApplicationModel::Chat::ChatMessageStatus const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::Status(winrt::Windows::ApplicationModel::Chat::ChatMessageStatus const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_Status(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::Subject(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::Subject(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_Subject(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::ShouldSuppressNotification() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::ShouldSuppressNotification() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_ShouldSuppressNotification(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::ShouldSuppressNotification(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::ShouldSuppressNotification(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_ShouldSuppressNotification(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::ThreadingInfo() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::ThreadingInfo(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::ThreadingInfo(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->put_ThreadingInfo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Chat::ChatRecipientDeliveryInfo>) consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::RecipientsDeliveryInfos() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage2<D>::RecipientsDeliveryInfos() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage2)->get_RecipientsDeliveryInfos(&result));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Chat::ChatRecipientDeliveryInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessage3<D>::RemoteId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessage4<D>::SyncId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessage4<D>::SyncId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessage4<D>::SyncId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessage4)->put_SyncId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment<D>::DataStreamReference() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment<D>::DataStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment<D>::DataStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment)->put_DataStreamReference(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment<D>::GroupId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment<D>::GroupId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment)->get_GroupId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment<D>::GroupId(uint32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment<D>::GroupId(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment)->put_GroupId(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment<D>::MimeType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment<D>::MimeType(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment<D>::MimeType(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment)->put_MimeType(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment<D>::Text() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2<D>::Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2<D>::Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment2)->put_Thumbnail(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2<D>::TransferProgress() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2<D>::TransferProgress() const
{
double result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment2)->get_TransferProgress(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2<D>::TransferProgress(double value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2<D>::TransferProgress(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment2)->put_TransferProgress(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2<D>::OriginalFileName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2<D>::OriginalFileName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachment2<D>::OriginalFileName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment2)->put_OriginalFileName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageAttachment) consume_Windows_ApplicationModel_Chat_IChatMessageAttachmentFactory<D>::CreateChatMessageAttachment(param::hstring const& mimeType, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& dataStreamReference) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageAttachmentFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageBlockingStatic<D>::MarkMessageAsBlockedAsync(param::hstring const& localChatMessageId, bool blocked) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageBlockingStatic<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageChangeType) consume_Windows_ApplicationModel_Chat_IChatMessageChange<D>::ChangeType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageChange<D>::ChangeType() const
{
winrt::Windows::ApplicationModel::Chat::ChatMessageChangeType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageChange)->get_ChangeType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessage) consume_Windows_ApplicationModel_Chat_IChatMessageChange<D>::Message() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageChange<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageChangeReader<D>::AcceptChanges() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageChangeReader<D>::AcceptChanges() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageChangeReader)->AcceptChanges());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageChangeReader<D>::AcceptChangesThrough(winrt::Windows::ApplicationModel::Chat::ChatMessageChange const& lastChangeToAcknowledge) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageChangeReader<D>::AcceptChangesThrough(winrt::Windows::ApplicationModel::Chat::ChatMessageChange const& lastChangeToAcknowledge) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageChangeReader)->AcceptChangesThrough(*(void**)(&lastChangeToAcknowledge)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatMessageChange>>) consume_Windows_ApplicationModel_Chat_IChatMessageChangeReader<D>::ReadBatchAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageChangeReader<D>::ReadBatchAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageChangeReader)->ReadBatchAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatMessageChange>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageChangeTracker<D>::Enable() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageChangeTracker<D>::Enable() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageChangeTracker)->Enable());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageChangeReader) consume_Windows_ApplicationModel_Chat_IChatMessageChangeTracker<D>::GetChangeReader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageChangeTracker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageChangeTracker<D>::Reset() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageChangeTracker<D>::Reset() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageChangeTracker)->Reset());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageChangedDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageChangedDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageChangedDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageChangedDeferral) consume_Windows_ApplicationModel_Chat_IChatMessageChangedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Chat_IChatMessageManager2Statics<D>::RegisterTransportAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageManager2Statics<D>::RegisterTransportAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageManager2Statics)->RegisterTransportAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatMessageTransport>) consume_Windows_ApplicationModel_Chat_IChatMessageManager2Statics<D>::GetTransportAsync(param::hstring const& transportId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageManager2Statics<D>::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<winrt::Windows::ApplicationModel::Chat::ChatMessageTransport>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatMessageTransport>>) consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic<D>::GetTransportsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic<D>::GetTransportsAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageManagerStatic)->GetTransportsAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatMessageTransport>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatMessageStore>) consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic<D>::RequestStoreAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic<D>::RequestStoreAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageManagerStatic)->RequestStoreAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatMessageStore>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic<D>::ShowComposeSmsMessageAsync(winrt::Windows::ApplicationModel::Chat::ChatMessage const& message) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic<D>::ShowSmsSettings() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic<D>::ShowSmsSettings() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageManagerStatic)->ShowSmsSettings());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatSyncManager>) consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatics3<D>::RequestSyncManagerAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatics3<D>::RequestSyncManagerAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageManagerStatics3)->RequestSyncManagerAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatSyncManager>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessage) consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails<D>::ChatMessage() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails2<D>::ShouldDisplayToast() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails2<D>::ShouldDisplayToast() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageNotificationTriggerDetails2)->get_ShouldDisplayToast(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails2<D>::ShouldUpdateDetailText() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails2<D>::ShouldUpdateDetailText() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageNotificationTriggerDetails2)->get_ShouldUpdateDetailText(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails2<D>::ShouldUpdateBadge() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails2<D>::ShouldUpdateBadge() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageNotificationTriggerDetails2)->get_ShouldUpdateBadge(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails2<D>::ShouldUpdateActionCenter() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails2<D>::ShouldUpdateActionCenter() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageNotificationTriggerDetails2)->get_ShouldUpdateActionCenter(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatMessage>>) consume_Windows_ApplicationModel_Chat_IChatMessageReader<D>::ReadBatchAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageReader<D>::ReadBatchAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageReader)->ReadBatchAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatMessage>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatMessage>>) consume_Windows_ApplicationModel_Chat_IChatMessageReader2<D>::ReadBatchAsync(int32_t count) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageReader2<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatMessage>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageChangeTracker) consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::ChangeTracker() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::DeleteMessageAsync(param::hstring const& localMessageId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::DownloadMessageAsync(param::hstring const& localChatMessageId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatMessage>) consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::GetMessageAsync(param::hstring const& localChatMessageId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::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<winrt::Windows::ApplicationModel::Chat::ChatMessage>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageReader) consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::GetMessageReader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageReader) consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::GetMessageReader(winrt::Windows::Foundation::TimeSpan const& recentTimeLimit) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::MarkMessageReadAsync(param::hstring const& localChatMessageId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::RetrySendMessageAsync(param::hstring const& localChatMessageId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::SendMessageAsync(winrt::Windows::ApplicationModel::Chat::ChatMessage const& chatMessage) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageValidationResult) consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::ValidateMessage(winrt::Windows::ApplicationModel::Chat::ChatMessage const& chatMessage) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::MessageChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::ChatMessageStore, winrt::Windows::ApplicationModel::Chat::ChatMessageChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::MessageChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::ChatMessageStore, winrt::Windows::ApplicationModel::Chat::ChatMessageChangedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::MessageChanged_revoker consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::MessageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::ChatMessageStore, winrt::Windows::ApplicationModel::Chat::ChatMessageChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::MessageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::ChatMessageStore, winrt::Windows::ApplicationModel::Chat::ChatMessageChangedEventArgs> const& value) const
{
return impl::make_event_revoker<D, MessageChanged_revoker>(this, MessageChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::MessageChanged(winrt::event_token const& value) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore<D>::MessageChanged(winrt::event_token const& value) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore)->remove_MessageChanged(impl::bind_in(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatMessage>) consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::ForwardMessageAsync(param::hstring const& localChatMessageId, param::async_iterable<hstring> const& addresses) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::ForwardMessageAsync(param::hstring const& localChatMessageId, param::async_iterable<hstring> 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<winrt::Windows::ApplicationModel::Chat::ChatMessage>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatConversation>) consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::GetConversationAsync(param::hstring const& conversationId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::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<winrt::Windows::ApplicationModel::Chat::ChatConversation>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatConversation>) consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::GetConversationAsync(param::hstring const& conversationId, param::async_iterable<hstring> const& transportIds) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::GetConversationAsync(param::hstring const& conversationId, param::async_iterable<hstring> 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<winrt::Windows::ApplicationModel::Chat::ChatConversation>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatConversation>) consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::GetConversationFromThreadingInfoAsync(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo const& threadingInfo) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::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<winrt::Windows::ApplicationModel::Chat::ChatConversation>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatConversationReader) consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::GetConversationReader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatConversationReader) consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::GetConversationReader(param::iterable<hstring> const& transportIds) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::GetConversationReader(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatMessage>) consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::GetMessageByRemoteIdAsync(param::hstring const& transportId, param::hstring const& remoteId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::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<winrt::Windows::ApplicationModel::Chat::ChatMessage>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<int32_t>) consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::GetUnseenCountAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::GetUnseenCountAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->GetUnseenCountAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<int32_t>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<int32_t>) consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::GetUnseenCountAsync(param::async_iterable<hstring> const& transportIds) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::GetUnseenCountAsync(param::async_iterable<hstring> const& transportIds) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->GetUnseenCountForTransportsReaderAsync(*(void**)(&transportIds), &result));
return winrt::Windows::Foundation::IAsyncOperation<int32_t>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::MarkAsSeenAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::MarkAsSeenAsync(param::async_iterable<hstring> const& transportIds) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::MarkAsSeenAsync(param::async_iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatSearchReader) consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::GetSearchReader(winrt::Windows::ApplicationModel::Chat::ChatQueryOptions const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::SaveMessageAsync(winrt::Windows::ApplicationModel::Chat::ChatMessage const& chatMessage) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::TryCancelDownloadMessageAsync(param::hstring const& localChatMessageId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::TryCancelSendMessageAsync(param::hstring const& localChatMessageId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::StoreChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::ChatMessageStore, winrt::Windows::ApplicationModel::Chat::ChatMessageStoreChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::StoreChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::ChatMessageStore, winrt::Windows::ApplicationModel::Chat::ChatMessageStoreChangedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::StoreChanged_revoker consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::ChatMessageStore, winrt::Windows::ApplicationModel::Chat::ChatMessageStoreChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::ChatMessageStore, winrt::Windows::ApplicationModel::Chat::ChatMessageStoreChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StoreChanged_revoker>(this, StoreChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::StoreChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore2<D>::StoreChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStore2)->remove_StoreChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatMessage>) consume_Windows_ApplicationModel_Chat_IChatMessageStore3<D>::GetMessageBySyncIdAsync(param::hstring const& syncId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStore3<D>::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<winrt::Windows::ApplicationModel::Chat::ChatMessage>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessageStoreChangedEventArgs<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStoreChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatStoreChangedEventKind) consume_Windows_ApplicationModel_Chat_IChatMessageStoreChangedEventArgs<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageStoreChangedEventArgs<D>::Kind() const
{
winrt::Windows::ApplicationModel::Chat::ChatStoreChangedEventKind result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageStoreChangedEventArgs)->get_Kind(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessageTransport<D>::IsAppSetAsNotificationProvider() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageTransport<D>::IsAppSetAsNotificationProvider() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransport)->get_IsAppSetAsNotificationProvider(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatMessageTransport<D>::IsActive() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageTransport<D>::IsActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransport)->get_IsActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessageTransport<D>::TransportFriendlyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageTransport<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatMessageTransport<D>::TransportId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageTransport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatMessageTransport<D>::RequestSetAsNotificationProviderAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageTransport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageTransportConfiguration) consume_Windows_ApplicationModel_Chat_IChatMessageTransport2<D>::Configuration() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageTransport2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageTransportKind) consume_Windows_ApplicationModel_Chat_IChatMessageTransport2<D>::TransportKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageTransport2<D>::TransportKind() const
{
winrt::Windows::ApplicationModel::Chat::ChatMessageTransportKind result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransport2)->get_TransportKind(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration<D>::MaxAttachmentCount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration<D>::MaxAttachmentCount() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransportConfiguration)->get_MaxAttachmentCount(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration<D>::MaxMessageSizeInKilobytes() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration<D>::MaxMessageSizeInKilobytes() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransportConfiguration)->get_MaxMessageSizeInKilobytes(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration<D>::MaxRecipientCount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration<D>::MaxRecipientCount() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransportConfiguration)->get_MaxRecipientCount(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration<D>::SupportedVideoFormat() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration<D>::ExtendedProperties() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageTransportConfiguration<D>::ExtendedProperties() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageTransportConfiguration)->get_ExtendedProperties(&result));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult<D>::MaxPartCount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult<D>::MaxPartCount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageValidationResult)->get_MaxPartCount(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult<D>::PartCount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult<D>::PartCount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageValidationResult)->get_PartCount(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult<D>::RemainingCharacterCountInPart() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult<D>::RemainingCharacterCountInPart() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageValidationResult)->get_RemainingCharacterCountInPart(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageValidationStatus) consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult<D>::Status() const
{
winrt::Windows::ApplicationModel::Chat::ChatMessageValidationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatMessageValidationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatQueryOptions<D>::SearchString() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatQueryOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatQueryOptions<D>::SearchString(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatQueryOptions<D>::SearchString(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatQueryOptions)->put_SearchString(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::TransportAddress() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::TransportAddress(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::TransportAddress(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->put_TransportAddress(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::DeliveryTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::DeliveryTime() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->get_DeliveryTime(&result));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::DeliveryTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::DeliveryTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->put_DeliveryTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::ReadTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::ReadTime() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->get_ReadTime(&result));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::ReadTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::ReadTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->put_ReadTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatTransportErrorCodeCategory) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::TransportErrorCodeCategory() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::TransportErrorCodeCategory() const
{
winrt::Windows::ApplicationModel::Chat::ChatTransportErrorCodeCategory result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->get_TransportErrorCodeCategory(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatTransportInterpretedErrorCode) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::TransportInterpretedErrorCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::TransportInterpretedErrorCode() const
{
winrt::Windows::ApplicationModel::Chat::ChatTransportInterpretedErrorCode result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->get_TransportInterpretedErrorCode(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::TransportErrorCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::TransportErrorCode() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->get_TransportErrorCode(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::IsErrorPermanent() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::IsErrorPermanent() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->get_IsErrorPermanent(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageStatus) consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatRecipientDeliveryInfo<D>::Status() const
{
winrt::Windows::ApplicationModel::Chat::ChatMessageStatus result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo)->get_Status(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::IChatItem>>) consume_Windows_ApplicationModel_Chat_IChatSearchReader<D>::ReadBatchAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatSearchReader<D>::ReadBatchAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSearchReader)->ReadBatchAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::IChatItem>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::IChatItem>>) consume_Windows_ApplicationModel_Chat_IChatSearchReader<D>::ReadBatchAsync(int32_t count) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatSearchReader<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::IChatItem>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatSyncConfiguration<D>::IsSyncEnabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatSyncConfiguration<D>::IsSyncEnabled() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSyncConfiguration)->get_IsSyncEnabled(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatSyncConfiguration<D>::IsSyncEnabled(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatSyncConfiguration<D>::IsSyncEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSyncConfiguration)->put_IsSyncEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatRestoreHistorySpan) consume_Windows_ApplicationModel_Chat_IChatSyncConfiguration<D>::RestoreHistorySpan() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatSyncConfiguration<D>::RestoreHistorySpan() const
{
winrt::Windows::ApplicationModel::Chat::ChatRestoreHistorySpan result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSyncConfiguration)->get_RestoreHistorySpan(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatSyncConfiguration<D>::RestoreHistorySpan(winrt::Windows::ApplicationModel::Chat::ChatRestoreHistorySpan const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatSyncConfiguration<D>::RestoreHistorySpan(winrt::Windows::ApplicationModel::Chat::ChatRestoreHistorySpan const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSyncConfiguration)->put_RestoreHistorySpan(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatSyncConfiguration) consume_Windows_ApplicationModel_Chat_IChatSyncManager<D>::Configuration() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatSyncManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatSyncManager<D>::AssociateAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatSyncManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatSyncManager<D>::UnassociateAccountAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatSyncManager<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IChatSyncManager<D>::IsAccountAssociated(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatSyncManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IChatSyncManager<D>::StartSync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatSyncManager<D>::StartSync() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IChatSyncManager)->StartSync());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IChatSyncManager<D>::SetConfigurationAsync(winrt::Windows::ApplicationModel::Chat::ChatSyncConfiguration const& configuration) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IChatSyncManager<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage<D>::TransportId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage<D>::Title() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage<D>::Text() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage<D>::IsPinRequired() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage<D>::IsPinRequired() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessage)->get_IsPinRequired(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAction>) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage<D>::Actions() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage<D>::Actions() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessage)->get_Actions(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAction>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage<D>::SendResponseAsync(winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAction const& action) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage<D>::SendResponseWithPinAsync(winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAction const& action, param::hstring const& pin) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAction<D>::Label() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAction<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableEventArgs<D>::IsMessageAvailable() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableEventArgs<D>::IsMessageAvailable() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessageAvailableEventArgs)->get_IsMessageAvailable(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::RcsEndUserMessage) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableEventArgs<D>::Message() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableTriggerDetails<D>::Title() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableTriggerDetails<D>::Text() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAvailableTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageManager<D>::MessageAvailableChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageManager, winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAvailableEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageManager<D>::MessageAvailableChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageManager, winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAvailableEventArgs> 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 D> typename consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageManager<D>::MessageAvailableChanged_revoker consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageManager<D>::MessageAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageManager, winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAvailableEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageManager<D>::MessageAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageManager, winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAvailableEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MessageAvailableChanged_revoker>(this, MessageAvailableChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageManager<D>::MessageAvailableChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageManager<D>::MessageAvailableChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessageManager)->remove_MessageAvailableChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageManager) consume_Windows_ApplicationModel_Chat_IRcsManagerStatics<D>::GetEndUserMessageManager() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::RcsTransport>>) consume_Windows_ApplicationModel_Chat_IRcsManagerStatics<D>::GetTransportsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsManagerStatics<D>::GetTransportsAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsManagerStatics)->GetTransportsAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::RcsTransport>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::RcsTransport>) consume_Windows_ApplicationModel_Chat_IRcsManagerStatics<D>::GetTransportAsync(param::hstring const& transportId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsManagerStatics<D>::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<winrt::Windows::ApplicationModel::Chat::RcsTransport>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Chat_IRcsManagerStatics<D>::LeaveConversationAsync(winrt::Windows::ApplicationModel::Chat::ChatConversation const& conversation) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Chat_IRcsManagerStatics2<D>::TransportListChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsManagerStatics2<D>::TransportListChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Chat_IRcsManagerStatics2<D>::TransportListChanged_revoker consume_Windows_ApplicationModel_Chat_IRcsManagerStatics2<D>::TransportListChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsManagerStatics2<D>::TransportListChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, TransportListChanged_revoker>(this, TransportListChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IRcsManagerStatics2<D>::TransportListChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsManagerStatics2<D>::TransportListChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsManagerStatics2)->remove_TransportListChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::RcsServiceKind) consume_Windows_ApplicationModel_Chat_IRcsServiceKindSupportedChangedEventArgs<D>::ServiceKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsServiceKindSupportedChangedEventArgs<D>::ServiceKind() const
{
winrt::Windows::ApplicationModel::Chat::RcsServiceKind result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsServiceKindSupportedChangedEventArgs)->get_ServiceKind(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::ExtendedProperties() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::ExtendedProperties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransport)->get_ExtendedProperties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::IsActive() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::IsActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransport)->get_IsActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::TransportFriendlyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::TransportId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::RcsTransportConfiguration) consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::Configuration() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::IsStoreAndForwardEnabled(winrt::Windows::ApplicationModel::Chat::RcsServiceKind const& serviceKind) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::IsStoreAndForwardEnabled(winrt::Windows::ApplicationModel::Chat::RcsServiceKind const& serviceKind) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransport)->IsStoreAndForwardEnabled(static_cast<int32_t>(serviceKind), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::IsServiceKindSupported(winrt::Windows::ApplicationModel::Chat::RcsServiceKind const& serviceKind) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::IsServiceKindSupported(winrt::Windows::ApplicationModel::Chat::RcsServiceKind const& serviceKind) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransport)->IsServiceKindSupported(static_cast<int32_t>(serviceKind), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::ServiceKindSupportedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::RcsTransport, winrt::Windows::ApplicationModel::Chat::RcsServiceKindSupportedChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::ServiceKindSupportedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::RcsTransport, winrt::Windows::ApplicationModel::Chat::RcsServiceKindSupportedChangedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::ServiceKindSupportedChanged_revoker consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::ServiceKindSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::RcsTransport, winrt::Windows::ApplicationModel::Chat::RcsServiceKindSupportedChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::ServiceKindSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::RcsTransport, winrt::Windows::ApplicationModel::Chat::RcsServiceKindSupportedChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ServiceKindSupportedChanged_revoker>(this, ServiceKindSupportedChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::ServiceKindSupportedChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsTransport<D>::ServiceKindSupportedChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransport)->remove_ServiceKindSupportedChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration<D>::MaxAttachmentCount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration<D>::MaxAttachmentCount() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransportConfiguration)->get_MaxAttachmentCount(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration<D>::MaxMessageSizeInKilobytes() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration<D>::MaxMessageSizeInKilobytes() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransportConfiguration)->get_MaxMessageSizeInKilobytes(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration<D>::MaxGroupMessageSizeInKilobytes() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration<D>::MaxGroupMessageSizeInKilobytes() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransportConfiguration)->get_MaxGroupMessageSizeInKilobytes(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration<D>::MaxRecipientCount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration<D>::MaxRecipientCount() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransportConfiguration)->get_MaxRecipientCount(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration<D>::MaxFileSizeInKilobytes() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration<D>::MaxFileSizeInKilobytes() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransportConfiguration)->get_MaxFileSizeInKilobytes(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration<D>::WarningFileSizeInKilobytes() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRcsTransportConfiguration<D>::WarningFileSizeInKilobytes() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Chat::IRcsTransportConfiguration)->get_WarningFileSizeInKilobytes(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRemoteParticipantComposingChangedEventArgs<D>::TransportId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRemoteParticipantComposingChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Chat_IRemoteParticipantComposingChangedEventArgs<D>::ParticipantAddress() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRemoteParticipantComposingChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Chat_IRemoteParticipantComposingChangedEventArgs<D>::IsComposing() const
+ template <typename D> auto consume_Windows_ApplicationModel_Chat_IRemoteParticipantComposingChangedEventArgs<D>::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<RcsManager, IRcsManagerStatics2>([&](IRcsManagerStatics2 const& f) { return f.TransportListChanged(handler); });
}
- inline RcsManager::TransportListChanged_revoker RcsManager::TransportListChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto RcsManager::TransportListChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<RcsManager, winrt::Windows::ApplicationModel::Chat::IRcsManagerStatics2>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.CommunicationBlocking.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.CommunicationBlocking.h
index af1df87aa3d..148b6363edc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.CommunicationBlocking.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics<D>::IsBlockingActive() const
+ template <typename D> auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics<D>::IsBlockingActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAccessManagerStatics)->get_IsBlockingActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics<D>::IsBlockedNumberAsync(param::hstring const& number) const
+ template <typename D> auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics<D>::ShowBlockNumbersUI(param::iterable<hstring> const& phoneNumbers) const
+ template <typename D> auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics<D>::ShowBlockNumbersUI(param::iterable<hstring> const& phoneNumbers) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAccessManagerStatics)->ShowBlockNumbersUI(*(void**)(&phoneNumbers), &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics<D>::ShowUnblockNumbersUI(param::iterable<hstring> const& phoneNumbers) const
+ template <typename D> auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics<D>::ShowUnblockNumbersUI(param::iterable<hstring> const& phoneNumbers) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAccessManagerStatics)->ShowUnblockNumbersUI(*(void**)(&phoneNumbers), &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics<D>::ShowBlockedCallsUI() const
+ template <typename D> auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics<D>::ShowBlockedCallsUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAccessManagerStatics)->ShowBlockedCallsUI());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics<D>::ShowBlockedMessagesUI() const
+ template <typename D> auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics<D>::ShowBlockedMessagesUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAccessManagerStatics)->ShowBlockedMessagesUI());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAppManagerStatics<D>::IsCurrentAppActiveBlockingApp() const
+ template <typename D> auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAppManagerStatics<D>::IsCurrentAppActiveBlockingApp() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAppManagerStatics)->get_IsCurrentAppActiveBlockingApp(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAppManagerStatics<D>::ShowCommunicationBlockingSettingsUI() const
+ template <typename D> auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAppManagerStatics<D>::ShowCommunicationBlockingSettingsUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAppManagerStatics)->ShowCommunicationBlockingSettingsUI());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAppManagerStatics2<D>::RequestSetAsActiveBlockingAppAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAppManagerStatics2<D>::RequestSetAsActiveBlockingAppAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAppManagerStatics2)->RequestSetAsActiveBlockingAppAsync(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.DataProvider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.DataProvider.h
index f79b41682f2..3554fd5e9af 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.DataProvider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection<D>::SyncRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListSyncManagerSyncRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection<D>::SyncRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListSyncManagerSyncRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection<D>::SyncRequested_revoker consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection<D>::SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListSyncManagerSyncRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection<D>::SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListSyncManagerSyncRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SyncRequested_revoker>(this, SyncRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection<D>::SyncRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection<D>::SyncRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection)->remove_SyncRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection<D>::ServerSearchReadBatchRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListServerSearchReadBatchRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection<D>::ServerSearchReadBatchRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListServerSearchReadBatchRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection<D>::ServerSearchReadBatchRequested_revoker consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection<D>::ServerSearchReadBatchRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListServerSearchReadBatchRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection<D>::ServerSearchReadBatchRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListServerSearchReadBatchRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ServerSearchReadBatchRequested_revoker>(this, ServerSearchReadBatchRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection<D>::ServerSearchReadBatchRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection<D>::ServerSearchReadBatchRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection)->remove_ServerSearchReadBatchRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection<D>::Start() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2<D>::CreateOrUpdateContactRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListCreateOrUpdateContactRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2<D>::CreateOrUpdateContactRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListCreateOrUpdateContactRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2<D>::CreateOrUpdateContactRequested_revoker consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2<D>::CreateOrUpdateContactRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListCreateOrUpdateContactRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2<D>::CreateOrUpdateContactRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListCreateOrUpdateContactRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CreateOrUpdateContactRequested_revoker>(this, CreateOrUpdateContactRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2<D>::CreateOrUpdateContactRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2<D>::CreateOrUpdateContactRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection2)->remove_CreateOrUpdateContactRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2<D>::DeleteContactRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListDeleteContactRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2<D>::DeleteContactRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListDeleteContactRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2<D>::DeleteContactRequested_revoker consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2<D>::DeleteContactRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListDeleteContactRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2<D>::DeleteContactRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListDeleteContactRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DeleteContactRequested_revoker>(this, DeleteContactRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2<D>::DeleteContactRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2<D>::DeleteContactRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection2)->remove_DeleteContactRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderTriggerDetails<D>::Connection() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest<D>::ContactListId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest<D>::Contact() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest<D>::ReportCompletedAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& createdOrUpdatedContact) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListCreateOrUpdateContactRequest) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListCreateOrUpdateContactRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest<D>::ContactListId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest<D>::ContactId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListDeleteContactRequest) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListDeleteContactRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest<D>::SessionId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest<D>::ContactListId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest<D>::Options() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest<D>::SuggestedBatchSize() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest<D>::SuggestedBatchSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListServerSearchReadBatchRequest)->get_SuggestedBatchSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest<D>::SaveContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest<D>::ReportFailedAsync(winrt::Windows::ApplicationModel::Contacts::ContactBatchStatus const& batchStatus) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequest<D>::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<int32_t>(batchStatus), &result));
return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListServerSearchReadBatchRequest) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListServerSearchReadBatchRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequest<D>::ContactListId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListSyncManagerSyncRequest) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_DataProvider_IContactListSyncManagerSyncRequestEventArgs<D>::GetDeferral() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListSyncManagerSyncRequestEventArgs)->GetDeferral(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.Provider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.Provider.h
index cb8e210577f..ed00cadcea1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.Provider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Provider::AddContactResult) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI<D>::AddContact(param::hstring const& id, winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI<D>::RemoveContact(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI<D>::RemoveContact(param::hstring const& id) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI)->RemoveContact(*(void**)(&id)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI<D>::ContainsContact(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI<D>::DesiredFields() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI<D>::DesiredFields() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI)->get_DesiredFields(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactSelectionMode) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI<D>::SelectionMode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI<D>::SelectionMode() const
{
winrt::Windows::ApplicationModel::Contacts::ContactSelectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI)->get_SelectionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI<D>::ContactRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::Provider::ContactPickerUI, winrt::Windows::ApplicationModel::Contacts::Provider::ContactRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI<D>::ContactRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::Provider::ContactPickerUI, winrt::Windows::ApplicationModel::Contacts::Provider::ContactRemovedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI<D>::ContactRemoved_revoker consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI<D>::ContactRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::Provider::ContactPickerUI, winrt::Windows::ApplicationModel::Contacts::Provider::ContactRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI<D>::ContactRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::Provider::ContactPickerUI, winrt::Windows::ApplicationModel::Contacts::Provider::ContactRemovedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ContactRemoved_revoker>(this, ContactRemoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI<D>::ContactRemoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI<D>::ContactRemoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI)->remove_ContactRemoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Provider::AddContactResult) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI2<D>::AddContact(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI2<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactFieldType>) consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI2<D>::DesiredFieldsWithContactFieldType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_Provider_IContactPickerUI2<D>::DesiredFieldsWithContactFieldType() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI2)->get_DesiredFieldsWithContactFieldType(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactFieldType>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_Provider_IContactRemovedEventArgs<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_Provider_IContactRemovedEventArgs<D>::Id() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::Provider::IContactRemovedEventArgs)->get_Id(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.h
index 58c907a14b9..74bfe3e815f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Contacts.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::Contact>>) consume_Windows_ApplicationModel_Contacts_IAggregateContactManager<D>::FindRawContactsAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IAggregateContactManager<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::Contact>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>) consume_Windows_ApplicationModel_Contacts_IAggregateContactManager<D>::TryLinkContactsAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& primaryContact, winrt::Windows::ApplicationModel::Contacts::Contact const& secondaryContact) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IAggregateContactManager<D>::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<winrt::Windows::ApplicationModel::Contacts::Contact>{ contact, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IAggregateContactManager<D>::UnlinkRawContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IAggregateContactManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Contacts_IAggregateContactManager<D>::TrySetPreferredSourceForPictureAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& aggregateContact, winrt::Windows::ApplicationModel::Contacts::Contact const& rawContact) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IAggregateContactManager<D>::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<bool>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IAggregateContactManager2<D>::SetRemoteIdentificationInformationAsync(param::hstring const& contactListId, param::hstring const& remoteSourceId, param::hstring const& accountId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IAggregateContactManager2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Contacts_IContact<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact<D>::Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact<D>::Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact)->put_Thumbnail(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::IContactField>) consume_Windows_ApplicationModel_Contacts_IContact<D>::Fields() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact<D>::Fields() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact)->get_Fields(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::IContactField>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact2<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact2<D>::Id(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact2<D>::Id(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->put_Id(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact2<D>::Notes() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact2<D>::Notes(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact2<D>::Notes(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->put_Notes(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactPhone>) consume_Windows_ApplicationModel_Contacts_IContact2<D>::Phones() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact2<D>::Phones() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_Phones(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactPhone>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactEmail>) consume_Windows_ApplicationModel_Contacts_IContact2<D>::Emails() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact2<D>::Emails() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_Emails(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactEmail>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactAddress>) consume_Windows_ApplicationModel_Contacts_IContact2<D>::Addresses() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact2<D>::Addresses() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_Addresses(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactAddress>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactConnectedServiceAccount>) consume_Windows_ApplicationModel_Contacts_IContact2<D>::ConnectedServiceAccounts() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact2<D>::ConnectedServiceAccounts() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_ConnectedServiceAccounts(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactConnectedServiceAccount>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactDate>) consume_Windows_ApplicationModel_Contacts_IContact2<D>::ImportantDates() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact2<D>::ImportantDates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_ImportantDates(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactDate>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_Contacts_IContact2<D>::DataSuppliers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact2<D>::DataSuppliers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_DataSuppliers(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactJobInfo>) consume_Windows_ApplicationModel_Contacts_IContact2<D>::JobInfo() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact2<D>::JobInfo() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_JobInfo(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactJobInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactSignificantOther>) consume_Windows_ApplicationModel_Contacts_IContact2<D>::SignificantOthers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact2<D>::SignificantOthers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_SignificantOthers(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactSignificantOther>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactWebsite>) consume_Windows_ApplicationModel_Contacts_IContact2<D>::Websites() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact2<D>::Websites() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact2)->get_Websites(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactWebsite>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_ApplicationModel_Contacts_IContact2<D>::ProviderProperties() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3<D>::ContactListId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Contacts_IContact3<D>::DisplayPictureUserUpdateTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact3<D>::DisplayPictureUserUpdateTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContact3<D>::IsMe() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::IsMe() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_IsMe(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3<D>::AggregateId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3<D>::RemoteId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact3<D>::RemoteId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::RemoteId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->put_RemoteId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3<D>::RingToneToken() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact3<D>::RingToneToken(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::RingToneToken(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->put_RingToneToken(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContact3<D>::IsDisplayPictureManuallySet() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::IsDisplayPictureManuallySet() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_IsDisplayPictureManuallySet(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Contacts_IContact3<D>::LargeDisplayPicture() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Contacts_IContact3<D>::SmallDisplayPicture() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Contacts_IContact3<D>::SourceDisplayPicture() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact3<D>::SourceDisplayPicture(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::SourceDisplayPicture(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->put_SourceDisplayPicture(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3<D>::TextToneToken() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact3<D>::TextToneToken(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::TextToneToken(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->put_TextToneToken(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContact3<D>::IsAggregate() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::IsAggregate() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->get_IsAggregate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3<D>::FullName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3<D>::DisplayNameOverride() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact3<D>::DisplayNameOverride(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::DisplayNameOverride(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->put_DisplayNameOverride(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3<D>::Nickname() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContact3<D>::Nickname(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::Nickname(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContact3)->put_Nickname(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContact3<D>::SortName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContact3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::StreetAddress() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::StreetAddress(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::StreetAddress(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->put_StreetAddress(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::Locality() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::Locality(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::Locality(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->put_Locality(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::Region() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::Region(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::Region(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->put_Region(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::Country() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::Country(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::Country(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->put_Country(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::PostalCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::PostalCode(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::PostalCode(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->put_PostalCode(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactAddressKind) consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::Kind() const
{
winrt::Windows::ApplicationModel::Contacts::ContactAddressKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::Kind(winrt::Windows::ApplicationModel::Contacts::ContactAddressKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::Kind(winrt::Windows::ApplicationModel::Contacts::ContactAddressKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->put_Kind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAddress<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAddress)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::AnnotationListId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::ContactId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::ContactId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::ContactId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation)->put_ContactId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::RemoteId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::RemoteId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::RemoteId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation)->put_RemoteId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations) consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::SupportedOperations() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::SupportedOperations() const
{
winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation)->get_SupportedOperations(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::SupportedOperations(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::SupportedOperations(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation)->put_SupportedOperations(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::IsDisabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::IsDisabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation)->get_IsDisabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::ProviderProperties() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAnnotation2<D>::ContactListId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactAnnotation2<D>::ContactListId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotation2<D>::ContactListId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotation2)->put_ContactListId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::ProviderPackageFamilyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::UserDataAccountId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::DeleteAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::TrySaveAnnotationAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotation const& annotation) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::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<bool>{ ppResult, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactAnnotation>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::GetAnnotationAsync(param::hstring const& annotationId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::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<winrt::Windows::ApplicationModel::Contacts::ContactAnnotation>{ annotation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotation>>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::FindAnnotationsByRemoteIdAsync(param::hstring const& remoteId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotation>>{ annotations, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotation>>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::FindAnnotationsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::FindAnnotationsAsync() const
{
void* annotations{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationList)->FindAnnotationsAsync(&annotations));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotation>>{ annotations, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::DeleteAnnotationAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotation const& annotation) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore<D>::FindContactIdsByEmailAsync(param::hstring const& emailAddress) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore<D>::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<winrt::Windows::Foundation::Collections::IVectorView<hstring>>{ contactIds, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore<D>::FindContactIdsByPhoneNumberAsync(param::hstring const& phoneNumber) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore<D>::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<winrt::Windows::Foundation::Collections::IVectorView<hstring>>{ contactIds, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotation>>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore<D>::FindAnnotationsForContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotation>>{ annotations, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore<D>::DisableAnnotationAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotation const& annotation) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationList>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore<D>::CreateAnnotationListAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore<D>::CreateAnnotationListAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationStore)->CreateAnnotationListAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationList>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationList>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore<D>::CreateAnnotationListAsync(param::hstring const& userDataAccountId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore<D>::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<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationList>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationList>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore<D>::GetAnnotationListAsync(param::hstring const& annotationListId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore<D>::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<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationList>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationList>>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore<D>::FindAnnotationListsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore<D>::FindAnnotationListsAsync() const
{
void* lists{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactAnnotationStore)->FindAnnotationListsAsync(&lists));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationList>>{ lists, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotation>>) consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore2<D>::FindAnnotationsForContactListAsync(param::hstring const& contactListId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore2<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotation>>{ annotations, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::Contact>) consume_Windows_ApplicationModel_Contacts_IContactBatch<D>::Contacts() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactBatch<D>::Contacts() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactBatch)->get_Contacts(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::Contact>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactBatchStatus) consume_Windows_ApplicationModel_Contacts_IContactBatch<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactBatch<D>::Status() const
{
winrt::Windows::ApplicationModel::Contacts::ContactBatchStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactBatch)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactCardDelayedDataLoader<D>::SetData(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactCardDelayedDataLoader<D>::SetData(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactCardDelayedDataLoader)->SetData(*(void**)(&contact)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactCardHeaderKind) consume_Windows_ApplicationModel_Contacts_IContactCardOptions<D>::HeaderKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactCardOptions<D>::HeaderKind() const
{
winrt::Windows::ApplicationModel::Contacts::ContactCardHeaderKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactCardOptions)->get_HeaderKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactCardOptions<D>::HeaderKind(winrt::Windows::ApplicationModel::Contacts::ContactCardHeaderKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactCardOptions<D>::HeaderKind(winrt::Windows::ApplicationModel::Contacts::ContactCardHeaderKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactCardOptions)->put_HeaderKind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactCardTabKind) consume_Windows_ApplicationModel_Contacts_IContactCardOptions<D>::InitialTabKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactCardOptions<D>::InitialTabKind() const
{
winrt::Windows::ApplicationModel::Contacts::ContactCardTabKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactCardOptions)->get_InitialTabKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactCardOptions<D>::InitialTabKind(winrt::Windows::ApplicationModel::Contacts::ContactCardTabKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactCardOptions<D>::InitialTabKind(winrt::Windows::ApplicationModel::Contacts::ContactCardTabKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactCardOptions)->put_InitialTabKind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_Contacts_IContactCardOptions2<D>::ServerSearchContactListIds() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactCardOptions2<D>::ServerSearchContactListIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactCardOptions2)->get_ServerSearchContactListIds(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeType) consume_Windows_ApplicationModel_Contacts_IContactChange<D>::ChangeType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactChange<D>::ChangeType() const
{
winrt::Windows::ApplicationModel::Contacts::ContactChangeType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChange)->get_ChangeType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_ApplicationModel_Contacts_IContactChange<D>::Contact() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactChange<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactChangeReader<D>::AcceptChanges() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactChangeReader<D>::AcceptChanges() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChangeReader)->AcceptChanges());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactChangeReader<D>::AcceptChangesThrough(winrt::Windows::ApplicationModel::Contacts::ContactChange const& lastChangeToAccept) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactChangeReader<D>::AcceptChangesThrough(winrt::Windows::ApplicationModel::Contacts::ContactChange const& lastChangeToAccept) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChangeReader)->AcceptChangesThrough(*(void**)(&lastChangeToAccept)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactChange>>) consume_Windows_ApplicationModel_Contacts_IContactChangeReader<D>::ReadBatchAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactChangeReader<D>::ReadBatchAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChangeReader)->ReadBatchAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactChange>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactChangeTracker<D>::Enable() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactChangeTracker<D>::Enable() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChangeTracker)->Enable());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeReader) consume_Windows_ApplicationModel_Contacts_IContactChangeTracker<D>::GetChangeReader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactChangeTracker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactChangeTracker<D>::Reset() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactChangeTracker<D>::Reset() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChangeTracker)->Reset());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactChangeTracker2<D>::IsTracking() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactChangeTracker2<D>::IsTracking() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChangeTracker2)->get_IsTracking(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactChangedDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactChangedDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactChangedDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangedDeferral) consume_Windows_ApplicationModel_Contacts_IContactChangedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactConnectedServiceAccount<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactConnectedServiceAccount<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactConnectedServiceAccount<D>::Id(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactConnectedServiceAccount<D>::Id(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactConnectedServiceAccount)->put_Id(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactConnectedServiceAccount<D>::ServiceName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactConnectedServiceAccount<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactConnectedServiceAccount<D>::ServiceName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactConnectedServiceAccount<D>::ServiceName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactConnectedServiceAccount)->put_ServiceName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Day() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Day() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->get_Day(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Day(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Day(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->put_Day(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Month() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Month() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->get_Month(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Month(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Month(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->put_Month(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Year() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Year() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->get_Year(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Year(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Year(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->put_Year(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactDateKind) consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Kind() const
{
winrt::Windows::ApplicationModel::Contacts::ContactDateKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Kind(winrt::Windows::ApplicationModel::Contacts::ContactDateKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Kind(winrt::Windows::ApplicationModel::Contacts::ContactDateKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->put_Kind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactDate<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactDate<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactDate)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactEmail<D>::Address() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactEmail<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactEmail<D>::Address(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactEmail<D>::Address(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactEmail)->put_Address(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactEmailKind) consume_Windows_ApplicationModel_Contacts_IContactEmail<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactEmail<D>::Kind() const
{
winrt::Windows::ApplicationModel::Contacts::ContactEmailKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactEmail)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactEmail<D>::Kind(winrt::Windows::ApplicationModel::Contacts::ContactEmailKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactEmail<D>::Kind(winrt::Windows::ApplicationModel::Contacts::ContactEmailKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactEmail)->put_Kind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactEmail<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactEmail<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactEmail<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactEmail<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactEmail)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactFieldType) consume_Windows_ApplicationModel_Contacts_IContactField<D>::Type() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactField<D>::Type() const
{
winrt::Windows::ApplicationModel::Contacts::ContactFieldType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactField)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory) consume_Windows_ApplicationModel_Contacts_IContactField<D>::Category() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactField<D>::Category() const
{
winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactField)->get_Category(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactField<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactField<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactField<D>::Value() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactField<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactField) consume_Windows_ApplicationModel_Contacts_IContactFieldFactory<D>::CreateField(param::hstring const& value, winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactFieldFactory<D>::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<int32_t>(type), &field));
return winrt::Windows::ApplicationModel::Contacts::ContactField{ field, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactField) consume_Windows_ApplicationModel_Contacts_IContactFieldFactory<D>::CreateField(param::hstring const& value, winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactFieldFactory<D>::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<int32_t>(type), static_cast<int32_t>(category), &field));
return winrt::Windows::ApplicationModel::Contacts::ContactField{ field, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactField) consume_Windows_ApplicationModel_Contacts_IContactFieldFactory<D>::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 <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactFieldFactory<D>::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<int32_t>(type), static_cast<int32_t>(category), &field));
return winrt::Windows::ApplicationModel::Contacts::ContactField{ field, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactInformation<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType>) consume_Windows_ApplicationModel_Contacts_IContactInformation<D>::GetThumbnailAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactInformation<D>::GetThumbnailAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInformation)->GetThumbnailAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactField>) consume_Windows_ApplicationModel_Contacts_IContactInformation<D>::Emails() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactInformation<D>::Emails() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInformation)->get_Emails(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactField>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactField>) consume_Windows_ApplicationModel_Contacts_IContactInformation<D>::PhoneNumbers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactInformation<D>::PhoneNumbers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInformation)->get_PhoneNumbers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactField>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactLocationField>) consume_Windows_ApplicationModel_Contacts_IContactInformation<D>::Locations() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactInformation<D>::Locations() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInformation)->get_Locations(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactLocationField>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactInstantMessageField>) consume_Windows_ApplicationModel_Contacts_IContactInformation<D>::InstantMessages() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactInformation<D>::InstantMessages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInformation)->get_InstantMessages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactInstantMessageField>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactField>) consume_Windows_ApplicationModel_Contacts_IContactInformation<D>::CustomFields() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactInformation<D>::CustomFields() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactInformation)->get_CustomFields(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactField>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactField>) consume_Windows_ApplicationModel_Contacts_IContactInformation<D>::QueryCustomFields(param::hstring const& customName) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactInformation<D>::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<winrt::Windows::ApplicationModel::Contacts::ContactField>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactInstantMessageField<D>::UserName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactInstantMessageField<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactInstantMessageField<D>::Service() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactInstantMessageField<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactInstantMessageField<D>::DisplayText() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactInstantMessageField<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Contacts_IContactInstantMessageField<D>::LaunchUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactInstantMessageField<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactInstantMessageField) consume_Windows_ApplicationModel_Contacts_IContactInstantMessageFieldFactory<D>::CreateInstantMessage(param::hstring const& userName) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactInstantMessageFieldFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactInstantMessageField) consume_Windows_ApplicationModel_Contacts_IContactInstantMessageFieldFactory<D>::CreateInstantMessage(param::hstring const& userName, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactInstantMessageFieldFactory<D>::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<int32_t>(category), &field));
return winrt::Windows::ApplicationModel::Contacts::ContactInstantMessageField{ field, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactInstantMessageField) consume_Windows_ApplicationModel_Contacts_IContactInstantMessageFieldFactory<D>::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 <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactInstantMessageFieldFactory<D>::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<int32_t>(category), *(void**)(&service), *(void**)(&displayText), *(void**)(&verb), &field));
return winrt::Windows::ApplicationModel::Contacts::ContactInstantMessageField{ field, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::CompanyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::CompanyName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::CompanyName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->put_CompanyName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::CompanyYomiName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::CompanyYomiName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::CompanyYomiName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->put_CompanyYomiName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::Department() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::Department(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::Department(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->put_Department(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::Title() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::Manager() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::Manager(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::Manager(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->put_Manager(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::Office() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::Office(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::Office(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->put_Office(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::CompanyAddress() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::CompanyAddress(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::CompanyAddress(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->put_CompanyAddress(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactJobInfo<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactJobInfo)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics<D>::Call() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics<D>::Message() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics<D>::Map() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics<D>::Post() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics<D>::VideoCall() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactLaunchActionVerbsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactList<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactList<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactList<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactList<D>::SourceDisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactList<D>::IsHidden() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::IsHidden() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->get_IsHidden(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactList<D>::IsHidden(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::IsHidden(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->put_IsHidden(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppReadAccess) consume_Windows_ApplicationModel_Contacts_IContactList<D>::OtherAppReadAccess() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::OtherAppReadAccess() const
{
winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppReadAccess value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->get_OtherAppReadAccess(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactList<D>::OtherAppReadAccess(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppReadAccess const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::OtherAppReadAccess(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppReadAccess const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->put_OtherAppReadAccess(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppWriteAccess) consume_Windows_ApplicationModel_Contacts_IContactList<D>::OtherAppWriteAccess() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::OtherAppWriteAccess() const
{
winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppWriteAccess value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->get_OtherAppWriteAccess(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactList<D>::OtherAppWriteAccess(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppWriteAccess const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::OtherAppWriteAccess(winrt::Windows::ApplicationModel::Contacts::ContactListOtherAppWriteAccess const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->put_OtherAppWriteAccess(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker) consume_Windows_ApplicationModel_Contacts_IContactList<D>::ChangeTracker() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListSyncManager) consume_Windows_ApplicationModel_Contacts_IContactList<D>::SyncManager() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactList<D>::SupportsServerSearch() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::SupportsServerSearch() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->get_SupportsServerSearch(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactList<D>::UserDataAccountId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_IContactList<D>::ContactChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactList, winrt::Windows::ApplicationModel::Contacts::ContactChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::ContactChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactList, winrt::Windows::ApplicationModel::Contacts::ContactChangedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Contacts_IContactList<D>::ContactChanged_revoker consume_Windows_ApplicationModel_Contacts_IContactList<D>::ContactChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactList, winrt::Windows::ApplicationModel::Contacts::ContactChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::ContactChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactList, winrt::Windows::ApplicationModel::Contacts::ContactChangedEventArgs> const& value) const
{
return impl::make_event_revoker<D, ContactChanged_revoker>(this, ContactChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactList<D>::ContactChanged(winrt::event_token const& value) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::ContactChanged(winrt::event_token const& value) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->remove_ContactChanged(impl::bind_in(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IContactList<D>::SaveAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IContactList<D>::DeleteAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>) consume_Windows_ApplicationModel_Contacts_IContactList<D>::GetContactFromRemoteIdAsync(param::hstring const& remoteId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::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<winrt::Windows::ApplicationModel::Contacts::Contact>{ contact, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>) consume_Windows_ApplicationModel_Contacts_IContactList<D>::GetMeContactAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::GetMeContactAsync() const
{
void* meContact{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList)->GetMeContactAsync(&meContact));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>{ meContact, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactReader) consume_Windows_ApplicationModel_Contacts_IContactList<D>::GetContactReader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactReader) consume_Windows_ApplicationModel_Contacts_IContactList<D>::GetContactReader(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IContactList<D>::SaveContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IContactList<D>::DeleteContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>) consume_Windows_ApplicationModel_Contacts_IContactList<D>::GetContactAsync(param::hstring const& contactId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList<D>::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<winrt::Windows::ApplicationModel::Contacts::Contact>{ contacts, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Contacts_IContactList2<D>::RegisterSyncManagerAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactList2<D>::SupportsServerSearch(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList2<D>::SupportsServerSearch(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactList2)->put_SupportsServerSearch(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListSyncConstraints) consume_Windows_ApplicationModel_Contacts_IContactList2<D>::SyncConstraints() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListLimitedWriteOperations) consume_Windows_ApplicationModel_Contacts_IContactList3<D>::LimitedWriteOperations() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker) consume_Windows_ApplicationModel_Contacts_IContactList3<D>::GetChangeTracker(param::hstring const& identity) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactList3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Contacts_IContactListLimitedWriteOperations<D>::TryCreateOrUpdateContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListLimitedWriteOperations<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Contacts_IContactListLimitedWriteOperations<D>::TryDeleteContactAsync(param::hstring const& contactId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListLimitedWriteOperations<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::CanSyncDescriptions() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::CanSyncDescriptions() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_CanSyncDescriptions(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::CanSyncDescriptions(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::CanSyncDescriptions(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_CanSyncDescriptions(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxHomePhoneNumbers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxHomePhoneNumbers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxHomePhoneNumbers(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxHomePhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxHomePhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxHomePhoneNumbers(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxMobilePhoneNumbers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxMobilePhoneNumbers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxMobilePhoneNumbers(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxMobilePhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxMobilePhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxMobilePhoneNumbers(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxWorkPhoneNumbers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxWorkPhoneNumbers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxWorkPhoneNumbers(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxWorkPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxWorkPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxWorkPhoneNumbers(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherPhoneNumbers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherPhoneNumbers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxOtherPhoneNumbers(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxOtherPhoneNumbers(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxPagerPhoneNumbers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxPagerPhoneNumbers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxPagerPhoneNumbers(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxPagerPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxPagerPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxPagerPhoneNumbers(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxBusinessFaxPhoneNumbers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxBusinessFaxPhoneNumbers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxBusinessFaxPhoneNumbers(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxBusinessFaxPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxBusinessFaxPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxBusinessFaxPhoneNumbers(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxHomeFaxPhoneNumbers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxHomeFaxPhoneNumbers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxHomeFaxPhoneNumbers(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxHomeFaxPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxHomeFaxPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxHomeFaxPhoneNumbers(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxCompanyPhoneNumbers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxCompanyPhoneNumbers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxCompanyPhoneNumbers(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxCompanyPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxCompanyPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxCompanyPhoneNumbers(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxAssistantPhoneNumbers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxAssistantPhoneNumbers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxAssistantPhoneNumbers(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxAssistantPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxAssistantPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxAssistantPhoneNumbers(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxRadioPhoneNumbers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxRadioPhoneNumbers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxRadioPhoneNumbers(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxRadioPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxRadioPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxRadioPhoneNumbers(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxPersonalEmailAddresses() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxPersonalEmailAddresses() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxPersonalEmailAddresses(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxPersonalEmailAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxPersonalEmailAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxPersonalEmailAddresses(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxWorkEmailAddresses() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxWorkEmailAddresses() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxWorkEmailAddresses(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxWorkEmailAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxWorkEmailAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxWorkEmailAddresses(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherEmailAddresses() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherEmailAddresses() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxOtherEmailAddresses(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherEmailAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherEmailAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxOtherEmailAddresses(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxHomeAddresses() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxHomeAddresses() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxHomeAddresses(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxHomeAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxHomeAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxHomeAddresses(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxWorkAddresses() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxWorkAddresses() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxWorkAddresses(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxWorkAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxWorkAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxWorkAddresses(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherAddresses() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherAddresses() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxOtherAddresses(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxOtherAddresses(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxBirthdayDates() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxBirthdayDates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxBirthdayDates(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxBirthdayDates(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxBirthdayDates(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxBirthdayDates(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxAnniversaryDates() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxAnniversaryDates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxAnniversaryDates(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxAnniversaryDates(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxAnniversaryDates(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxAnniversaryDates(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherDates() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherDates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxOtherDates(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherDates(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherDates(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxOtherDates(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherRelationships() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherRelationships() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxOtherRelationships(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxOtherRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxOtherRelationships(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxSpouseRelationships() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxSpouseRelationships() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxSpouseRelationships(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxSpouseRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxSpouseRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxSpouseRelationships(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxPartnerRelationships() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxPartnerRelationships() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxPartnerRelationships(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxPartnerRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxPartnerRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxPartnerRelationships(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxSiblingRelationships() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxSiblingRelationships() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxSiblingRelationships(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxSiblingRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxSiblingRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxSiblingRelationships(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxParentRelationships() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxParentRelationships() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxParentRelationships(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxParentRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxParentRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxParentRelationships(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxChildRelationships() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxChildRelationships() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxChildRelationships(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxChildRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxChildRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxChildRelationships(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxJobInfo() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxJobInfo() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxJobInfo(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxJobInfo(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxJobInfo(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxJobInfo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxWebsites() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxWebsites() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->get_MaxWebsites(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxWebsites(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncConstraints<D>::MaxWebsites(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints)->put_MaxWebsites(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactListSyncStatus) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager<D>::Status() const
{
winrt::Windows::ApplicationModel::Contacts::ContactListSyncStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncManager)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager<D>::LastSuccessfulSyncTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager<D>::LastAttemptedSyncTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager<D>::SyncAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager<D>::SyncAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncManager)->SyncAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager<D>::SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactListSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager<D>::SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactListSyncManager, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Contacts_IContactListSyncManager<D>::SyncStatusChanged_revoker consume_Windows_ApplicationModel_Contacts_IContactListSyncManager<D>::SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactListSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager<D>::SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactListSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SyncStatusChanged_revoker>(this, SyncStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager<D>::SyncStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager<D>::SyncStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncManager)->remove_SyncStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager2<D>::Status(winrt::Windows::ApplicationModel::Contacts::ContactListSyncStatus const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager2<D>::Status(winrt::Windows::ApplicationModel::Contacts::ContactListSyncStatus const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactListSyncManager2)->put_Status(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager2<D>::LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactListSyncManager2<D>::LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactListSyncManager2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLocationField<D>::UnstructuredAddress() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactLocationField<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLocationField<D>::Street() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactLocationField<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLocationField<D>::City() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactLocationField<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLocationField<D>::Region() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactLocationField<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLocationField<D>::Country() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactLocationField<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactLocationField<D>::PostalCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactLocationField<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactLocationField) consume_Windows_ApplicationModel_Contacts_IContactLocationFieldFactory<D>::CreateLocation(param::hstring const& unstructuredAddress) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactLocationFieldFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactLocationField) consume_Windows_ApplicationModel_Contacts_IContactLocationFieldFactory<D>::CreateLocation(param::hstring const& unstructuredAddress, winrt::Windows::ApplicationModel::Contacts::ContactFieldCategory const& category) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactLocationFieldFactory<D>::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<int32_t>(category), &field));
return winrt::Windows::ApplicationModel::Contacts::ContactLocationField{ field, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactLocationField) consume_Windows_ApplicationModel_Contacts_IContactLocationFieldFactory<D>::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 <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactLocationFieldFactory<D>::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<int32_t>(category), *(void**)(&street), *(void**)(&city), *(void**)(&region), *(void**)(&country), *(void**)(&postalCode), &field));
return winrt::Windows::ApplicationModel::Contacts::ContactLocationField{ field, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::RandomAccessStreamReference>) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::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<winrt::Windows::Storage::Streams::RandomAccessStreamReference>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::RandomAccessStreamReference>) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, uint32_t maxBytes) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::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<winrt::Windows::Storage::Streams::RandomAccessStreamReference>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::ConvertVCardToContactAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& vCard) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::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<winrt::Windows::ApplicationModel::Contacts::Contact>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactStore>) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactStoreAccessType const& accessType) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactStoreAccessType const& accessType) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser)->RequestStoreAsync(static_cast<int32_t>(accessType), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactStore>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStore>) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::RequestAnnotationStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType const& accessType) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::RequestAnnotationStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType const& accessType) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser)->RequestAnnotationStoreAsync(static_cast<int32_t>(accessType), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStore>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::SystemDisplayNameOrder() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::SystemDisplayNameOrder() const
{
winrt::Windows::ApplicationModel::Contacts::ContactNameOrder value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser)->get_SystemDisplayNameOrder(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::SystemDisplayNameOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::SystemDisplayNameOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser)->put_SystemDisplayNameOrder(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::SystemSortOrder() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::SystemSortOrder() const
{
winrt::Windows::ApplicationModel::Contacts::ContactNameOrder value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser)->get_SystemSortOrder(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::SystemSortOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::SystemSortOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser)->put_SystemSortOrder(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::User() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerForUser2<D>::ShowFullContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::FullContactCardOptions const& fullContactCardOptions) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerForUser2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics<D>::ShowContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics<D>::ShowContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics<D>::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<int32_t>(preferredPlacement)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactCardDelayedDataLoader) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics<D>::ShowDelayLoadedContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics<D>::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<int32_t>(preferredPlacement), &dataLoader));
return winrt::Windows::ApplicationModel::Contacts::ContactCardDelayedDataLoader{ dataLoader, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactStore>) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics2<D>::RequestStoreAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics2<D>::RequestStoreAsync() const
{
void* store{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics2)->RequestStoreAsync(&store));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactStore>{ store, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::RandomAccessStreamReference>) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::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<winrt::Windows::Storage::Streams::RandomAccessStreamReference>{ vCard, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::RandomAccessStreamReference>) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, uint32_t maxBytes) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::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<winrt::Windows::Storage::Streams::RandomAccessStreamReference>{ vCard, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::ConvertVCardToContactAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& vCard) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::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<winrt::Windows::ApplicationModel::Contacts::Contact>{ contact, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactStore>) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactStoreAccessType const& accessType) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactStoreAccessType const& accessType) const
{
void* store{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->RequestStoreAsyncWithAccessType(static_cast<int32_t>(accessType), &store));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactStore>{ store, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStore>) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::RequestAnnotationStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType const& accessType) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::RequestAnnotationStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStoreAccessType const& accessType) const
{
void* store{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->RequestAnnotationStoreAsync(static_cast<int32_t>(accessType), &store));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStore>{ store, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::IsShowContactCardSupported() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::IsShowContactCardSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->IsShowContactCardSupported(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::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 <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::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<int32_t>(preferredPlacement), *(void**)(&contactCardOptions)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::IsShowDelayLoadedContactCardSupported() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::IsShowDelayLoadedContactCardSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->IsShowDelayLoadedContactCardSupported(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactCardDelayedDataLoader) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::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 <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::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<int32_t>(preferredPlacement), *(void**)(&contactCardOptions), &dataLoader));
return winrt::Windows::ApplicationModel::Contacts::ContactCardDelayedDataLoader{ dataLoader, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::ShowFullContactCard(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::FullContactCardOptions const& fullContactCardOptions) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::SystemDisplayNameOrder() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::SystemDisplayNameOrder() const
{
winrt::Windows::ApplicationModel::Contacts::ContactNameOrder value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->get_SystemDisplayNameOrder(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::SystemDisplayNameOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::SystemDisplayNameOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->put_SystemDisplayNameOrder(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::SystemSortOrder() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::SystemSortOrder() const
{
winrt::Windows::ApplicationModel::Contacts::ContactNameOrder value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->get_SystemSortOrder(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::SystemSortOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3<D>::SystemSortOrder(winrt::Windows::ApplicationModel::Contacts::ContactNameOrder const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3)->put_SystemSortOrder(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactManagerForUser) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics4<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics5<D>::IsShowFullContactCardSupportedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics5<D>::IsShowFullContactCardSupportedAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics5)->IsShowFullContactCardSupportedAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics5<D>::IncludeMiddleNameInSystemDisplayAndSort() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics5<D>::IncludeMiddleNameInSystemDisplayAndSort() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics5)->get_IncludeMiddleNameInSystemDisplayAndSort(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactManagerStatics5<D>::IncludeMiddleNameInSystemDisplayAndSort(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactManagerStatics5<D>::IncludeMiddleNameInSystemDisplayAndSort(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics5)->put_IncludeMiddleNameInSystemDisplayAndSort(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactMatchReasonKind) consume_Windows_ApplicationModel_Contacts_IContactMatchReason<D>::Field() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactMatchReason<D>::Field() const
{
winrt::Windows::ApplicationModel::Contacts::ContactMatchReasonKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactMatchReason)->get_Field(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Data::Text::TextSegment>) consume_Windows_ApplicationModel_Contacts_IContactMatchReason<D>::Segments() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactMatchReason<D>::Segments() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactMatchReason)->get_Segments(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Data::Text::TextSegment>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactMatchReason<D>::Text() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactMatchReason<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName<D>::FirstName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactName<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactName<D>::FirstName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactName<D>::FirstName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->put_FirstName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName<D>::LastName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactName<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactName<D>::LastName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactName<D>::LastName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->put_LastName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName<D>::MiddleName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactName<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactName<D>::MiddleName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactName<D>::MiddleName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->put_MiddleName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName<D>::YomiGivenName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactName<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactName<D>::YomiGivenName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactName<D>::YomiGivenName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->put_YomiGivenName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName<D>::YomiFamilyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactName<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactName<D>::YomiFamilyName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactName<D>::YomiFamilyName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->put_YomiFamilyName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName<D>::HonorificNameSuffix() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactName<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactName<D>::HonorificNameSuffix(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactName<D>::HonorificNameSuffix(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->put_HonorificNameSuffix(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName<D>::HonorificNamePrefix() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactName<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactName<D>::HonorificNamePrefix(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactName<D>::HonorificNamePrefix(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactName)->put_HonorificNamePrefix(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactName<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactName<D>::YomiDisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactName<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::ClosePanel() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::ClosePanel() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPanel)->ClosePanel());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::HeaderColor() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::HeaderColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPanel)->get_HeaderColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::HeaderColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::HeaderColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPanel)->put_HeaderColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::LaunchFullAppRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactPanel, winrt::Windows::ApplicationModel::Contacts::ContactPanelLaunchFullAppRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::LaunchFullAppRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactPanel, winrt::Windows::ApplicationModel::Contacts::ContactPanelLaunchFullAppRequestedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::LaunchFullAppRequested_revoker consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::LaunchFullAppRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactPanel, winrt::Windows::ApplicationModel::Contacts::ContactPanelLaunchFullAppRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::LaunchFullAppRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactPanel, winrt::Windows::ApplicationModel::Contacts::ContactPanelLaunchFullAppRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, LaunchFullAppRequested_revoker>(this, LaunchFullAppRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::LaunchFullAppRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::LaunchFullAppRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPanel)->remove_LaunchFullAppRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::Closing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactPanel, winrt::Windows::ApplicationModel::Contacts::ContactPanelClosingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::Closing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactPanel, winrt::Windows::ApplicationModel::Contacts::ContactPanelClosingEventArgs> 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 D> typename consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::Closing_revoker consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactPanel, winrt::Windows::ApplicationModel::Contacts::ContactPanelClosingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactPanel, winrt::Windows::ApplicationModel::Contacts::ContactPanelClosingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Closing_revoker>(this, Closing(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::Closing(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPanel<D>::Closing(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPanel)->remove_Closing(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Contacts_IContactPanelClosingEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPanelClosingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactPanelLaunchFullAppRequestedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPanelLaunchFullAppRequestedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPanelLaunchFullAppRequestedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPanelLaunchFullAppRequestedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPanelLaunchFullAppRequestedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPanelLaunchFullAppRequestedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactPhone<D>::Number() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPhone<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPhone<D>::Number(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPhone<D>::Number(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPhone)->put_Number(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactPhoneKind) consume_Windows_ApplicationModel_Contacts_IContactPhone<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPhone<D>::Kind() const
{
winrt::Windows::ApplicationModel::Contacts::ContactPhoneKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPhone)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPhone<D>::Kind(winrt::Windows::ApplicationModel::Contacts::ContactPhoneKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPhone<D>::Kind(winrt::Windows::ApplicationModel::Contacts::ContactPhoneKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPhone)->put_Kind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactPhone<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPhone<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPhone<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPhone<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPhone)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactPicker<D>::CommitButtonText() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPicker<D>::CommitButtonText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPicker<D>::CommitButtonText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker)->put_CommitButtonText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactSelectionMode) consume_Windows_ApplicationModel_Contacts_IContactPicker<D>::SelectionMode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPicker<D>::SelectionMode() const
{
winrt::Windows::ApplicationModel::Contacts::ContactSelectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker)->get_SelectionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactPicker<D>::SelectionMode(winrt::Windows::ApplicationModel::Contacts::ContactSelectionMode const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPicker<D>::SelectionMode(winrt::Windows::ApplicationModel::Contacts::ContactSelectionMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker)->put_SelectionMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_Contacts_IContactPicker<D>::DesiredFields() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPicker<D>::DesiredFields() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker)->get_DesiredFields(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactInformation>) consume_Windows_ApplicationModel_Contacts_IContactPicker<D>::PickSingleContactAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPicker<D>::PickSingleContactAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker)->PickSingleContactAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactInformation>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactInformation>>) consume_Windows_ApplicationModel_Contacts_IContactPicker<D>::PickMultipleContactsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPicker<D>::PickMultipleContactsAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker)->PickMultipleContactsAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactInformation>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactFieldType>) consume_Windows_ApplicationModel_Contacts_IContactPicker2<D>::DesiredFieldsWithContactFieldType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPicker2<D>::DesiredFieldsWithContactFieldType() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker2)->get_DesiredFieldsWithContactFieldType(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactFieldType>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>) consume_Windows_ApplicationModel_Contacts_IContactPicker2<D>::PickContactAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPicker2<D>::PickContactAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker2)->PickContactAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::Contact>>) consume_Windows_ApplicationModel_Contacts_IContactPicker2<D>::PickContactsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPicker2<D>::PickContactsAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPicker2)->PickContactsAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::Contact>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Contacts_IContactPicker3<D>::User() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPicker3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactPicker) consume_Windows_ApplicationModel_Contacts_IContactPickerStatics<D>::CreateForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Contacts_IContactPickerStatics<D>::IsSupportedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactPickerStatics<D>::IsSupportedAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactPickerStatics)->IsSupportedAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQueryTextSearch) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::TextSearch() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::ContactListIds() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::ContactListIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions)->get_ContactListIds(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::IncludeContactsFromHiddenLists() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::IncludeContactsFromHiddenLists() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions)->get_IncludeContactsFromHiddenLists(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::IncludeContactsFromHiddenLists(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::IncludeContactsFromHiddenLists(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions)->put_IncludeContactsFromHiddenLists(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQueryDesiredFields) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::DesiredFields() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::DesiredFields() const
{
winrt::Windows::ApplicationModel::Contacts::ContactQueryDesiredFields value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions)->get_DesiredFields(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::DesiredFields(winrt::Windows::ApplicationModel::Contacts::ContactQueryDesiredFields const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::DesiredFields(winrt::Windows::ApplicationModel::Contacts::ContactQueryDesiredFields const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions)->put_DesiredFields(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::DesiredOperations() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::DesiredOperations() const
{
winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions)->get_DesiredOperations(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::DesiredOperations(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::DesiredOperations(winrt::Windows::ApplicationModel::Contacts::ContactAnnotationOperations const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions)->put_DesiredOperations(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::AnnotationListIds() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptions<D>::AnnotationListIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions)->get_AnnotationListIds(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions) consume_Windows_ApplicationModel_Contacts_IContactQueryOptionsFactory<D>::CreateWithText(param::hstring const& text) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptionsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions) consume_Windows_ApplicationModel_Contacts_IContactQueryOptionsFactory<D>::CreateWithTextAndFields(param::hstring const& text, winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchFields const& fields) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactQueryOptionsFactory<D>::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<uint32_t>(fields), &result));
return winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchFields) consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch<D>::Fields() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch<D>::Fields() const
{
winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchFields value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryTextSearch)->get_Fields(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch<D>::Fields(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchFields const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch<D>::Fields(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchFields const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryTextSearch)->put_Fields(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch<D>::Text() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryTextSearch)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchScope) consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch<D>::SearchScope() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch<D>::SearchScope() const
{
winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchScope value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryTextSearch)->get_SearchScope(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch<D>::SearchScope(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchScope const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactQueryTextSearch<D>::SearchScope(winrt::Windows::ApplicationModel::Contacts::ContactQuerySearchScope const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactQueryTextSearch)->put_SearchScope(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactBatch>) consume_Windows_ApplicationModel_Contacts_IContactReader<D>::ReadBatchAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactReader<D>::ReadBatchAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactReader)->ReadBatchAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactBatch>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactMatchReason>) consume_Windows_ApplicationModel_Contacts_IContactReader<D>::GetMatchingPropertiesWithMatchReason(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactReader<D>::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<winrt::Windows::ApplicationModel::Contacts::ContactMatchReason>{ ppRetVal, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactSignificantOther<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactSignificantOther<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactSignificantOther<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactSignificantOther<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactSignificantOther)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactSignificantOther<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactSignificantOther<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactSignificantOther<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactSignificantOther<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactSignificantOther)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactRelationship) consume_Windows_ApplicationModel_Contacts_IContactSignificantOther2<D>::Relationship() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactSignificantOther2<D>::Relationship() const
{
winrt::Windows::ApplicationModel::Contacts::ContactRelationship value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactSignificantOther2)->get_Relationship(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactSignificantOther2<D>::Relationship(winrt::Windows::ApplicationModel::Contacts::ContactRelationship const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactSignificantOther2<D>::Relationship(winrt::Windows::ApplicationModel::Contacts::ContactRelationship const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactSignificantOther2)->put_Relationship(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::Contact>>) consume_Windows_ApplicationModel_Contacts_IContactStore<D>::FindContactsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactStore<D>::FindContactsAsync() const
{
void* contacts{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore)->FindContactsAsync(&contacts));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::Contact>>{ contacts, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::Contact>>) consume_Windows_ApplicationModel_Contacts_IContactStore<D>::FindContactsAsync(param::hstring const& searchText) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactStore<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::Contact>>{ contacts, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>) consume_Windows_ApplicationModel_Contacts_IContactStore<D>::GetContactAsync(param::hstring const& contactId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactStore<D>::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<winrt::Windows::ApplicationModel::Contacts::Contact>{ contacts, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker) consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::ChangeTracker() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::ContactChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactStore, winrt::Windows::ApplicationModel::Contacts::ContactChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::ContactChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactStore, winrt::Windows::ApplicationModel::Contacts::ContactChangedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::ContactChanged_revoker consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::ContactChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactStore, winrt::Windows::ApplicationModel::Contacts::ContactChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::ContactChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactStore, winrt::Windows::ApplicationModel::Contacts::ContactChangedEventArgs> const& value) const
{
return impl::make_event_revoker<D, ContactChanged_revoker>(this, ContactChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::ContactChanged(winrt::event_token const& value) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::ContactChanged(winrt::event_token const& value) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore2)->remove_ContactChanged(impl::bind_in(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::AggregateContactManager) consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::AggregateContactManager() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactList>>) consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::FindContactListsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::FindContactListsAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore2)->FindContactListsAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactList>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactList>) consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::GetContactListAsync(param::hstring const& contactListId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::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<winrt::Windows::ApplicationModel::Contacts::ContactList>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactList>) consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::CreateContactListAsync(param::hstring const& displayName) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::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<winrt::Windows::ApplicationModel::Contacts::ContactList>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>) consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::GetMeContactAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::GetMeContactAsync() const
{
void* meContact{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactStore2)->GetMeContactAsync(&meContact));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>{ meContact, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactReader) consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::GetContactReader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactReader) consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::GetContactReader(winrt::Windows::ApplicationModel::Contacts::ContactQueryOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactList>) consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::CreateContactListAsync(param::hstring const& displayName, param::hstring const& userDataAccountId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactStore2<D>::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<winrt::Windows::ApplicationModel::Contacts::ContactList>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangeTracker) consume_Windows_ApplicationModel_Contacts_IContactStore3<D>::GetChangeTracker(param::hstring const& identity) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactStore3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Contacts_IContactWebsite<D>::Uri() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactWebsite<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactWebsite<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactWebsite<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactWebsite)->put_Uri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactWebsite<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactWebsite<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactWebsite<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactWebsite<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactWebsite)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IContactWebsite2<D>::RawValue() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactWebsite2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IContactWebsite2<D>::RawValue(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IContactWebsite2<D>::RawValue(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IContactWebsite2)->put_RawValue(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ViewSizePreference) consume_Windows_ApplicationModel_Contacts_IFullContactCardOptions<D>::DesiredRemainingView() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IFullContactCardOptions<D>::DesiredRemainingView() const
{
winrt::Windows::UI::ViewManagement::ViewSizePreference value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IFullContactCardOptions)->get_DesiredRemainingView(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IFullContactCardOptions<D>::DesiredRemainingView(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IFullContactCardOptions<D>::DesiredRemainingView(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IFullContactCardOptions)->put_DesiredRemainingView(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics<D>::Email() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics<D>::PhoneNumber() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics<D>::Location() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics<D>::InstantMessage() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactFieldType) consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics<D>::ConvertNameToType(param::hstring const& name) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics<D>::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<int32_t*>(&type)));
return type;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics<D>::ConvertTypeToName(winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IKnownContactFieldStatics<D>::ConvertTypeToName(winrt::Windows::ApplicationModel::Contacts::ContactFieldType const& type) const
{
void* name{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IKnownContactFieldStatics)->ConvertTypeToName(static_cast<int32_t>(type), &name));
return hstring{ name, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_Contacts_IPinnedContactIdsQueryResult<D>::ContactIds() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IPinnedContactIdsQueryResult<D>::ContactIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IPinnedContactIdsQueryResult)->get_ContactIds(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Contacts_IPinnedContactManager<D>::User() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManager<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IPinnedContactManager<D>::IsPinSurfaceSupported(winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManager<D>::IsPinSurfaceSupported(winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IPinnedContactManager)->IsPinSurfaceSupported(static_cast<int32_t>(surface), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IPinnedContactManager<D>::IsContactPinned(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManager<D>::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<int32_t>(surface), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Contacts_IPinnedContactManager<D>::RequestPinContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManager<D>::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<int32_t>(surface), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Contacts_IPinnedContactManager<D>::RequestPinContactsAsync(param::async_iterable<winrt::Windows::ApplicationModel::Contacts::Contact> const& contacts, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManager<D>::RequestPinContactsAsync(param::async_iterable<winrt::Windows::ApplicationModel::Contacts::Contact> 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<int32_t>(surface), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Contacts_IPinnedContactManager<D>::RequestUnpinContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManager<D>::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<int32_t>(surface), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Contacts_IPinnedContactManager<D>::SignalContactActivity(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManager<D>::SignalContactActivity(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IPinnedContactManager)->SignalContactActivity(*(void**)(&contact)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::PinnedContactIdsQueryResult>) consume_Windows_ApplicationModel_Contacts_IPinnedContactManager<D>::GetPinnedContactIdsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManager<D>::GetPinnedContactIdsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IPinnedContactManager)->GetPinnedContactIdsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::PinnedContactIdsQueryResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::PinnedContactManager) consume_Windows_ApplicationModel_Contacts_IPinnedContactManagerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::PinnedContactManager) consume_Windows_ApplicationModel_Contacts_IPinnedContactManagerStatics<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Contacts_IPinnedContactManagerStatics<D>::IsSupported() const
+ template <typename D> auto consume_Windows_ApplicationModel_Contacts_IPinnedContactManagerStatics<D>::IsSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Contacts::IPinnedContactManagerStatics)->IsSupported(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ConversationalAgent.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ConversationalAgent.h
index 4fddfc62b42..a9f86b801a7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ConversationalAgent.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::SignalId() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::ModelId() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::IsActive() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::IsActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->get_IsActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::SetEnabled(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::SetEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->SetEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::SetEnabledAsync(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityInfo) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::AvailabilityInfo() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration, winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration, winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityChangedEventArgs> 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 D> typename consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::AvailabilityChanged_revoker consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration, winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration, winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AvailabilityChanged_revoker>(this, AvailabilityChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::AvailabilityChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::AvailabilityChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->remove_AvailabilityChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::SetModelData(param::hstring const& dataType, winrt::Windows::Storage::Streams::IInputStream const& data) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::SetModelDataAsync(param::hstring const& dataType, winrt::Windows::Storage::Streams::IInputStream const& data) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::GetModelDataType() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::GetModelDataType() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->GetModelDataType(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::GetModelDataTypeAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::GetModelDataTypeAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->GetModelDataTypeAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::GetModelData() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IInputStream>) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::GetModelDataAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::GetModelDataAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->GetModelDataAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IInputStream>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::ClearModelData() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::ClearModelData() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->ClearModelData());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::ClearModelDataAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::TrainingStepsCompleted() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::TrainingStepsCompleted() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->get_TrainingStepsCompleted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::TrainingStepsRemaining() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::TrainingStepsRemaining() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->get_TrainingStepsRemaining(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::TrainingDataFormat() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::TrainingDataFormat() const
{
winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->get_TrainingDataFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationTrainingStatus) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::ApplyTrainingData(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat const& trainingDataFormat, winrt::Windows::Storage::Streams::IInputStream const& trainingData) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::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<int32_t>(trainingDataFormat), *(void**)(&trainingData), reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationTrainingStatus>) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::ApplyTrainingDataAsync(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat const& trainingDataFormat, winrt::Windows::Storage::Streams::IInputStream const& trainingData) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::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<int32_t>(trainingDataFormat), *(void**)(&trainingData), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationTrainingStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::ClearTrainingData() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::ClearTrainingData() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration)->ClearTrainingData());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::ClearTrainingDataAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetectionConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::ProviderId() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::Kind() const
{
winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::CanCreateConfigurations() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::CanCreateConfigurations() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->get_CanCreateConfigurations(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::SupportedModelDataTypes() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::SupportedModelDataTypes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->get_SupportedModelDataTypes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat>) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::SupportedTrainingDataFormats() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::SupportedTrainingDataFormats() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->get_SupportedTrainingDataFormats(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorPowerState>) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::SupportedPowerStates() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::SupportedPowerStates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->get_SupportedPowerStates(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorPowerState>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::GetSupportedModelIdsForSignalId(param::hstring const& signalId) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::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<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::GetSupportedModelIdsForSignalIdAsync(param::hstring const& signalId) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::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<winrt::Windows::Foundation::Collections::IVectorView<hstring>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::CreateConfiguration(param::hstring const& signalId, param::hstring const& modelId, param::hstring const& displayName) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::CreateConfigurationAsync(param::hstring const& signalId, param::hstring const& modelId, param::hstring const& displayName) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration>) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::GetConfigurations() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::GetConfigurations() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->GetConfigurations(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration>>) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::GetConfigurationsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::GetConfigurationsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector)->GetConfigurationsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::GetConfiguration(param::hstring const& signalId, param::hstring const& modelId) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration>) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::GetConfigurationAsync(param::hstring const& signalId, param::hstring const& modelId) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::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<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::RemoveConfiguration(param::hstring const& signalId, param::hstring const& modelId) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::RemoveConfigurationAsync(param::hstring const& signalId, param::hstring const& modelId) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IActivationSignalDetector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetector>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager<D>::GetAllActivationSignalDetectors() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager<D>::GetAllActivationSignalDetectors() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentDetectorManager)->GetAllActivationSignalDetectors(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetector>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetector>>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager<D>::GetAllActivationSignalDetectorsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager<D>::GetAllActivationSignalDetectorsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentDetectorManager)->GetAllActivationSignalDetectorsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetector>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetector>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager<D>::GetActivationSignalDetectors(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind const& kind) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager<D>::GetActivationSignalDetectors(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind const& kind) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentDetectorManager)->GetActivationSignalDetectors(static_cast<int32_t>(kind), &result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetector>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetector>>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager<D>::GetActivationSignalDetectorsAsync(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind const& kind) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager<D>::GetActivationSignalDetectorsAsync(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind const& kind) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentDetectorManager)->GetActivationSignalDetectorsAsync(static_cast<int32_t>(kind), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetector>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentDetectorManager) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManagerStatics<D>::Default() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SessionInterrupted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionInterruptedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SessionInterrupted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionInterruptedEventArgs> 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 D> typename consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SessionInterrupted_revoker consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SessionInterrupted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionInterruptedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SessionInterrupted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionInterruptedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SessionInterrupted_revoker>(this, SessionInterrupted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SessionInterrupted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SessionInterrupted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->remove_SessionInterrupted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SignalDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSignalDetectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SignalDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSignalDetectedEventArgs> 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 D> typename consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SignalDetected_revoker consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SignalDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSignalDetectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SignalDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSignalDetectedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SignalDetected_revoker>(this, SignalDetected(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SignalDetected(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SignalDetected(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->remove_SignalDetected(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SystemStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSystemStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SystemStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSystemStateChangedEventArgs> 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 D> typename consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SystemStateChanged_revoker consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SystemStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSystemStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SystemStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSystemStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SystemStateChanged_revoker>(this, SystemStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SystemStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SystemStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->remove_SystemStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentState) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::AgentState() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::AgentState() const
{
winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->get_AgentState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSignal) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::Signal() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::IsIndicatorLightAvailable() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::IsIndicatorLightAvailable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->get_IsIndicatorLightAvailable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::IsScreenAvailable() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::IsScreenAvailable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->get_IsScreenAvailable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::IsUserAuthenticated() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::IsUserAuthenticated() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->get_IsUserAuthenticated(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::IsVoiceActivationAvailable() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::IsVoiceActivationAvailable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->get_IsVoiceActivationAvailable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::IsInterruptible() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::IsInterruptible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->get_IsInterruptible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::IsInterrupted() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::IsInterrupted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->get_IsInterrupted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::RequestInterruptibleAsync(bool interruptible) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::RequestInterruptibleAsync(bool interruptible) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->RequestInterruptibleAsync(interruptible, &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::RequestInterruptible(bool interruptible) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::RequestInterruptible(bool interruptible) const
{
winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->RequestInterruptible(interruptible, reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::RequestAgentStateChangeAsync(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentState const& state) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::RequestAgentStateChangeAsync(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentState const& state) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->RequestAgentStateChangeAsync(static_cast<int32_t>(state), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::RequestAgentStateChange(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentState const& state) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::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<int32_t>(state), reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::RequestForegroundActivationAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::RequestForegroundActivationAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->RequestForegroundActivationAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::RequestForegroundActivation() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::RequestForegroundActivation() const
{
winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->RequestForegroundActivation(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::IInspectable>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetAudioClientAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetAudioClientAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetAudioClientAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::IInspectable>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetAudioClient() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::AudioDeviceInputNode>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::CreateAudioDeviceInputNodeAsync(winrt::Windows::Media::Audio::AudioGraph const& graph) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::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<winrt::Windows::Media::Audio::AudioDeviceInputNode>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioDeviceInputNode) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::CreateAudioDeviceInputNode(winrt::Windows::Media::Audio::AudioGraph const& graph) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetAudioCaptureDeviceIdAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetAudioCaptureDeviceIdAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetAudioCaptureDeviceIdAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetAudioCaptureDeviceId() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetAudioCaptureDeviceId() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetAudioCaptureDeviceId(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetAudioRenderDeviceIdAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetAudioRenderDeviceIdAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetAudioRenderDeviceIdAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetAudioRenderDeviceId() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetAudioRenderDeviceId() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetAudioRenderDeviceId(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetSignalModelIdAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetSignalModelIdAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetSignalModelIdAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetSignalModelId() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetSignalModelId() const
{
uint32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetSignalModelId(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SetSignalModelIdAsync(uint32_t signalModelId) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SetSignalModelId(uint32_t signalModelId) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::SetSignalModelId(uint32_t signalModelId) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->SetSignalModelId(signalModelId, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<uint32_t>>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetSupportedSignalModelIdsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetSupportedSignalModelIdsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetSupportedSignalModelIdsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<uint32_t>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetSupportedSignalModelIds() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession<D>::GetSupportedSignalModelIds() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession)->GetSupportedSignalModelIds(&result));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession>) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSessionStatics<D>::GetCurrentSessionAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSessionStatics<D>::GetCurrentSessionAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSessionStatics)->GetCurrentSessionAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSessionStatics<D>::GetCurrentSessionSync() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSessionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::IsSignalVerificationRequired() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::IsSignalVerificationRequired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal)->get_IsSignalVerificationRequired(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::IsSignalVerificationRequired(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::IsSignalVerificationRequired(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal)->put_IsSignalVerificationRequired(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::SignalId() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::SignalId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::SignalId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal)->put_SignalId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::SignalName() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::SignalName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::SignalName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal)->put_SignalName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::SignalContext() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::SignalContext(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::SignalContext(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal)->put_SignalContext(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::SignalStart() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::SignalStart(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::SignalEnd() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::SignalEnd(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSignal<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSystemStateChangeType) consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSystemStateChangedEventArgs<D>::SystemStateChangeType() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSystemStateChangedEventArgs<D>::SystemStateChangeType() const
{
winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSystemStateChangeType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSystemStateChangedEventArgs)->get_SystemStateChangeType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityChangeKind) consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityChangedEventArgs<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityChangedEventArgs<D>::Kind() const
{
winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityChangeKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IDetectionConfigurationAvailabilityChangedEventArgs)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityInfo<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityInfo<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IDetectionConfigurationAvailabilityInfo)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityInfo<D>::HasSystemResourceAccess() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityInfo<D>::HasSystemResourceAccess() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IDetectionConfigurationAvailabilityInfo)->get_HasSystemResourceAccess(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityInfo<D>::HasPermission() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityInfo<D>::HasPermission() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IDetectionConfigurationAvailabilityInfo)->get_HasPermission(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityInfo<D>::HasLockScreenPermission() const
+ template <typename D> auto consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityInfo<D>::HasLockScreenPermission() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ConversationalAgent::IDetectionConfigurationAvailabilityInfo)->get_HasLockScreenPermission(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Core.h
index 126d565c857..083489b9396 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppDisplayInfo) consume_Windows_ApplicationModel_Core_IAppListEntry<D>::DisplayInfo() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_IAppListEntry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Core_IAppListEntry<D>::LaunchAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_IAppListEntry<D>::LaunchAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IAppListEntry)->LaunchAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Core_IAppListEntry2<D>::AppUserModelId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_IAppListEntry2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Core_IAppListEntry3<D>::LaunchForUserAsync(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_IAppListEntry3<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_ApplicationModel_Core_IAppListEntry4<D>::AppInfo() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_IAppListEntry4<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Suspending(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::SuspendingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Suspending(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::SuspendingEventArgs> 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 D> typename consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Suspending_revoker consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Suspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::SuspendingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Suspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::SuspendingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Suspending_revoker>(this, Suspending(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Suspending(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Suspending(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication)->remove_Suspending(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Resuming(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Resuming(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Resuming_revoker consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Resuming_revoker>(this, Resuming(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Resuming(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Resuming(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication)->remove_Resuming(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Properties() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationView) consume_Windows_ApplicationModel_Core_ICoreApplication<D>::GetCurrentView() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Run(winrt::Windows::ApplicationModel::Core::IFrameworkViewSource const& viewSource) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication<D>::Run(winrt::Windows::ApplicationModel::Core::IFrameworkViewSource const& viewSource) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication)->Run(*(void**)(&viewSource)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplication<D>::RunWithActivationFactories(winrt::Windows::Foundation::IGetActivationFactory const& activationFactoryCallback) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication<D>::RunWithActivationFactories(winrt::Windows::Foundation::IGetActivationFactory const& activationFactoryCallback) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication)->RunWithActivationFactories(*(void**)(&activationFactoryCallback)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::BackgroundActivated(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::BackgroundActivated(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::BackgroundActivated_revoker consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, BackgroundActivated_revoker>(this, BackgroundActivated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::BackgroundActivated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::BackgroundActivated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication2)->remove_BackgroundActivated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::LeavingBackground(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::LeavingBackgroundEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::LeavingBackground(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::LeavingBackgroundEventArgs> 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 D> typename consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::LeavingBackground_revoker consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::LeavingBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::LeavingBackgroundEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::LeavingBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::LeavingBackgroundEventArgs> const& handler) const
{
return impl::make_event_revoker<D, LeavingBackground_revoker>(this, LeavingBackground(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::LeavingBackground(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::LeavingBackground(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication2)->remove_LeavingBackground(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::EnteredBackground(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::EnteredBackgroundEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::EnteredBackground(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::EnteredBackgroundEventArgs> 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 D> typename consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::EnteredBackground_revoker consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::EnteredBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::EnteredBackgroundEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::EnteredBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::EnteredBackgroundEventArgs> const& handler) const
{
return impl::make_event_revoker<D, EnteredBackground_revoker>(this, EnteredBackground(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::EnteredBackground(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::EnteredBackground(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication2)->remove_EnteredBackground(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::EnablePrelaunch(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication2<D>::EnablePrelaunch(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplication2)->EnablePrelaunch(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Core::AppRestartFailureReason>) consume_Windows_ApplicationModel_Core_ICoreApplication3<D>::RequestRestartAsync(param::hstring const& launchArguments) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication3<D>::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<winrt::Windows::ApplicationModel::Core::AppRestartFailureReason>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Core::AppRestartFailureReason>) consume_Windows_ApplicationModel_Core_ICoreApplication3<D>::RequestRestartForUserAsync(winrt::Windows::System::User const& user, param::hstring const& launchArguments) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplication3<D>::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<winrt::Windows::ApplicationModel::Core::AppRestartFailureReason>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationExit<D>::Exit() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationExit<D>::Exit() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationExit)->Exit());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplicationExit<D>::Exiting(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationExit<D>::Exiting(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Core_ICoreApplicationExit<D>::Exiting_revoker consume_Windows_ApplicationModel_Core_ICoreApplicationExit<D>::Exiting(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationExit<D>::Exiting(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Exiting_revoker>(this, Exiting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationExit<D>::Exiting(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationExit<D>::Exiting(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationExit)->remove_Exiting(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplicationUnhandledError<D>::UnhandledErrorDetected(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Core::UnhandledErrorDetectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationUnhandledError<D>::UnhandledErrorDetected(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Core::UnhandledErrorDetectedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Core_ICoreApplicationUnhandledError<D>::UnhandledErrorDetected_revoker consume_Windows_ApplicationModel_Core_ICoreApplicationUnhandledError<D>::UnhandledErrorDetected(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Core::UnhandledErrorDetectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationUnhandledError<D>::UnhandledErrorDetected(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Core::UnhandledErrorDetectedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, UnhandledErrorDetected_revoker>(this, UnhandledErrorDetected(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationUnhandledError<D>::UnhandledErrorDetected(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationUnhandledError<D>::UnhandledErrorDetected(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationUnhandledError)->remove_UnhandledErrorDetected(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationUseCount<D>::IncrementApplicationUseCount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationUseCount<D>::IncrementApplicationUseCount() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationUseCount)->IncrementApplicationUseCount());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationUseCount<D>::DecrementApplicationUseCount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationUseCount<D>::DecrementApplicationUseCount() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationUseCount)->DecrementApplicationUseCount());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindow) consume_Windows_ApplicationModel_Core_ICoreApplicationView<D>::CoreWindow() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplicationView<D>::Activated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationView, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationView<D>::Activated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationView, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Core_ICoreApplicationView<D>::Activated_revoker consume_Windows_ApplicationModel_Core_ICoreApplicationView<D>::Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationView, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationView<D>::Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationView, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Activated_revoker>(this, Activated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationView<D>::Activated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationView<D>::Activated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationView)->remove_Activated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Core_ICoreApplicationView<D>::IsMain() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationView<D>::IsMain() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationView)->get_IsMain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Core_ICoreApplicationView<D>::IsHosted() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationView<D>::IsHosted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationView)->get_IsHosted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) consume_Windows_ApplicationModel_Core_ICoreApplicationView2<D>::Dispatcher() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationView2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Core_ICoreApplicationView3<D>::IsComponent() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationView3<D>::IsComponent() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationView3)->get_IsComponent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar) consume_Windows_ApplicationModel_Core_ICoreApplicationView3<D>::TitleBar() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationView3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplicationView3<D>::HostedViewClosing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationView, winrt::Windows::ApplicationModel::Core::HostedViewClosingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationView3<D>::HostedViewClosing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationView, winrt::Windows::ApplicationModel::Core::HostedViewClosingEventArgs> 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 D> typename consume_Windows_ApplicationModel_Core_ICoreApplicationView3<D>::HostedViewClosing_revoker consume_Windows_ApplicationModel_Core_ICoreApplicationView3<D>::HostedViewClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationView, winrt::Windows::ApplicationModel::Core::HostedViewClosingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationView3<D>::HostedViewClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationView, winrt::Windows::ApplicationModel::Core::HostedViewClosingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, HostedViewClosing_revoker>(this, HostedViewClosing(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationView3<D>::HostedViewClosing(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationView3<D>::HostedViewClosing(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationView3)->remove_HostedViewClosing(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_ApplicationModel_Core_ICoreApplicationView5<D>::Properties() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationView5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_ApplicationModel_Core_ICoreApplicationView6<D>::DispatcherQueue() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationView6<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::ExtendViewIntoTitleBar(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::ExtendViewIntoTitleBar(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->put_ExtendViewIntoTitleBar(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::ExtendViewIntoTitleBar() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::ExtendViewIntoTitleBar() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->get_ExtendViewIntoTitleBar(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::SystemOverlayLeftInset() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::SystemOverlayLeftInset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->get_SystemOverlayLeftInset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::SystemOverlayRightInset() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::SystemOverlayRightInset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->get_SystemOverlayRightInset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::Height() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::Height() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->get_Height(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::LayoutMetricsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::LayoutMetricsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::LayoutMetricsChanged_revoker consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::LayoutMetricsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::LayoutMetricsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, LayoutMetricsChanged_revoker>(this, LayoutMetricsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::LayoutMetricsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::LayoutMetricsChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->remove_LayoutMetricsChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::IsVisible() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::IsVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->get_IsVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::IsVisibleChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::IsVisibleChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::IsVisibleChanged_revoker consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::IsVisibleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::IsVisibleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, IsVisibleChanged_revoker>(this, IsVisibleChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::IsVisibleChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreApplicationViewTitleBar<D>::IsVisibleChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar)->remove_IsVisibleChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Core::CoreApplicationView>) consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication<D>::Views() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication<D>::Views() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::ICoreImmersiveApplication)->get_Views(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Core::CoreApplicationView>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationView) consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication<D>::CreateNewView(param::hstring const& runtimeType, param::hstring const& entryPoint) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationView) consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication<D>::MainView() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationView) consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication2<D>::CreateNewView() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationView) consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication3<D>::CreateNewView(winrt::Windows::ApplicationModel::Core::IFrameworkViewSource const& viewSource) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_IFrameworkView<D>::Initialize(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& applicationView) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_IFrameworkView<D>::Initialize(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& applicationView) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IFrameworkView)->Initialize(*(void**)(&applicationView)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_IFrameworkView<D>::SetWindow(winrt::Windows::UI::Core::CoreWindow const& window) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_IFrameworkView<D>::SetWindow(winrt::Windows::UI::Core::CoreWindow const& window) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IFrameworkView)->SetWindow(*(void**)(&window)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_IFrameworkView<D>::Load(param::hstring const& entryPoint) const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_IFrameworkView<D>::Load(param::hstring const& entryPoint) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IFrameworkView)->Load(*(void**)(&entryPoint)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_IFrameworkView<D>::Run() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_IFrameworkView<D>::Run() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IFrameworkView)->Run());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_IFrameworkView<D>::Uninitialize() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_IFrameworkView<D>::Uninitialize() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IFrameworkView)->Uninitialize());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::IFrameworkView) consume_Windows_ApplicationModel_Core_IFrameworkViewSource<D>::CreateView() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_IFrameworkViewSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Core_IHostedViewClosingEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_IHostedViewClosingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Core_IUnhandledError<D>::Handled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_IUnhandledError<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IUnhandledError)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Core_IUnhandledError<D>::Propagate() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_IUnhandledError<D>::Propagate() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Core::IUnhandledError)->Propagate());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::UnhandledError) consume_Windows_ApplicationModel_Core_IUnhandledErrorDetectedEventArgs<D>::UnhandledError() const
+ template <typename D> auto consume_Windows_ApplicationModel_Core_IUnhandledErrorDetectedEventArgs<D>::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<CoreApplication, ICoreApplication>([&](ICoreApplication const& f) { return f.Suspending(handler); });
}
- inline CoreApplication::Suspending_revoker CoreApplication::Suspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::SuspendingEventArgs> const& handler)
+ inline auto CoreApplication::Suspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::SuspendingEventArgs> const& handler)
{
auto f = get_activation_factory<CoreApplication, winrt::Windows::ApplicationModel::Core::ICoreApplication>();
- 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<CoreApplication, ICoreApplication>([&](ICoreApplication const& f) { return f.Resuming(handler); });
}
- inline CoreApplication::Resuming_revoker CoreApplication::Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto CoreApplication::Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<CoreApplication, winrt::Windows::ApplicationModel::Core::ICoreApplication>();
- 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<CoreApplication, ICoreApplication2>([&](ICoreApplication2 const& f) { return f.BackgroundActivated(handler); });
}
- inline CoreApplication::BackgroundActivated_revoker CoreApplication::BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler)
+ inline auto CoreApplication::BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler)
{
auto f = get_activation_factory<CoreApplication, winrt::Windows::ApplicationModel::Core::ICoreApplication2>();
- 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<CoreApplication, ICoreApplication2>([&](ICoreApplication2 const& f) { return f.LeavingBackground(handler); });
}
- inline CoreApplication::LeavingBackground_revoker CoreApplication::LeavingBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::LeavingBackgroundEventArgs> const& handler)
+ inline auto CoreApplication::LeavingBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::LeavingBackgroundEventArgs> const& handler)
{
auto f = get_activation_factory<CoreApplication, winrt::Windows::ApplicationModel::Core::ICoreApplication2>();
- 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<CoreApplication, ICoreApplication2>([&](ICoreApplication2 const& f) { return f.EnteredBackground(handler); });
}
- inline CoreApplication::EnteredBackground_revoker CoreApplication::EnteredBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::EnteredBackgroundEventArgs> const& handler)
+ inline auto CoreApplication::EnteredBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::EnteredBackgroundEventArgs> const& handler)
{
auto f = get_activation_factory<CoreApplication, winrt::Windows::ApplicationModel::Core::ICoreApplication2>();
- 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<CoreApplication, ICoreApplicationExit>([&](ICoreApplicationExit const& f) { return f.Exiting(handler); });
}
- inline CoreApplication::Exiting_revoker CoreApplication::Exiting(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto CoreApplication::Exiting(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<CoreApplication, winrt::Windows::ApplicationModel::Core::ICoreApplicationExit>();
- 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<CoreApplication, ICoreApplicationUnhandledError>([&](ICoreApplicationUnhandledError const& f) { return f.UnhandledErrorDetected(handler); });
}
- inline CoreApplication::UnhandledErrorDetected_revoker CoreApplication::UnhandledErrorDetected(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Core::UnhandledErrorDetectedEventArgs> const& handler)
+ inline auto CoreApplication::UnhandledErrorDetected(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Core::UnhandledErrorDetectedEventArgs> const& handler)
{
auto f = get_activation_factory<CoreApplication, winrt::Windows::ApplicationModel::Core::ICoreApplicationUnhandledError>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.DragDrop.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.DragDrop.Core.h
index 5274165f44d..dc0c1766bd8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.DragDrop.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager<D>::TargetRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragDropManager, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDropOperationTargetRequestedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager<D>::TargetRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragDropManager, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDropOperationTargetRequestedEventArgs> 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 D> typename consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager<D>::TargetRequested_revoker consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager<D>::TargetRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragDropManager, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDropOperationTargetRequestedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager<D>::TargetRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragDropManager, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDropOperationTargetRequestedEventArgs> const& value) const
{
return impl::make_event_revoker<D, TargetRequested_revoker>(this, TargetRequested(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager<D>::TargetRequested(winrt::event_token const& value) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager<D>::AreConcurrentOperationsEnabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager<D>::AreConcurrentOperationsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragDropManager)->get_AreConcurrentOperationsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager<D>::AreConcurrentOperationsEnabled(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager<D>::AreConcurrentOperationsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragDropManager)->put_AreConcurrentOperationsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragDropManager) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManagerStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo<D>::Data() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::DragDropModifiers) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo<D>::Modifiers() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo<D>::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<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo<D>::Position() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo2<D>::AllowedOperations() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragInfo2<D>::AllowedOperations() const
{
winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragInfo2)->get_AllowedOperations(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation<D>::Data() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation<D>::SetPointerId(uint32_t pointerId) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation<D>::SetPointerId(uint32_t pointerId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragOperation)->SetPointerId(pointerId));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation<D>::SetDragUIContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation<D>::SetDragUIContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIContentMode) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation<D>::DragUIContentMode() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation<D>::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<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation<D>::DragUIContentMode(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIContentMode const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation<D>::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<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation>) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation<D>::StartAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation<D>::StartAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragOperation)->StartAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation2<D>::AllowedOperations() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation2<D>::AllowedOperations() const
{
winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragOperation2)->get_AllowedOperations(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation2<D>::AllowedOperations(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragOperation2<D>::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<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::IsContentVisible() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::IsContentVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->get_IsContentVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::IsContentVisible(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::IsContentVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->put_IsContentVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::Caption() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::Caption(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::Caption(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->put_Caption(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::IsCaptionVisible() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::IsCaptionVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->get_IsCaptionVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::IsCaptionVisible(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::IsCaptionVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->put_IsCaptionVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::IsGlyphVisible() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::IsGlyphVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->get_IsGlyphVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::IsGlyphVisible(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::IsGlyphVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->put_IsGlyphVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::Clear() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragUIOverride<D>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride)->Clear());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation>) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget<D>::EnterAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIOverride const& dragUIOverride) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget<D>::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<winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation>{ returnValue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation>) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget<D>::OverAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragUIOverride const& dragUIOverride) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget<D>::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<winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation>{ returnValue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget<D>::LeaveAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation>) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget<D>::DropAsync(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragInfo const& dragInfo) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget<D>::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<winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation>{ returnValue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTargetRequestedEventArgs<D>::SetTarget(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDropOperationTarget const& target) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTargetRequestedEventArgs<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.DragDrop.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.DragDrop.h
index 176557a70ba..d27f8cbd19f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.DragDrop.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.ShareTarget.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.ShareTarget.h
index 568f89c2bad..079ff7e073a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.ShareTarget.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink<D>::Title() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IQuickLink)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink<D>::Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink<D>::Id(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink<D>::Id(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IQuickLink)->put_Id(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink<D>::SupportedDataFormats() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink<D>::SupportedDataFormats() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IQuickLink)->get_SupportedDataFormats(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink<D>::SupportedFileTypes() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IQuickLink<D>::SupportedFileTypes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IQuickLink)->get_SupportedFileTypes(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::Data() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::QuickLinkId() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::RemoveThisQuickLink() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::RemoveThisQuickLink() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation)->RemoveThisQuickLink());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::ReportStarted() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::ReportStarted() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation)->ReportStarted());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::ReportDataRetrieved() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::ReportDataRetrieved() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation)->ReportDataRetrieved());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::ReportSubmittedBackgroundTask() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::ReportSubmittedBackgroundTask() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation)->ReportSubmittedBackgroundTask());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::ReportCompleted(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::QuickLink const& quicklink) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::ReportCompleted() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::ReportCompleted() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation)->ReportCompleted());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::ReportError(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation<D>::ReportError(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation)->ReportError(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation2<D>::DismissUI() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation2<D>::DismissUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation2)->DismissUI());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::Contact>) consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation3<D>::Contacts() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation3<D>::Contacts() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation3)->get_Contacts(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.h
index a1397becd12..148e574efa8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.DataTransfer.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions<D>::IsRoamable() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions<D>::IsRoamable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardContentOptions)->get_IsRoamable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions<D>::IsRoamable(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions<D>::IsRoamable(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardContentOptions)->put_IsRoamable(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions<D>::IsAllowedInHistory() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions<D>::IsAllowedInHistory() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardContentOptions)->get_IsAllowedInHistory(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions<D>::IsAllowedInHistory(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions<D>::IsAllowedInHistory(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardContentOptions)->put_IsAllowedInHistory(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions<D>::RoamingFormats() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions<D>::RoamingFormats() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardContentOptions)->get_RoamingFormats(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions<D>::HistoryFormats() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardContentOptions<D>::HistoryFormats() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardContentOptions)->get_HistoryFormats(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItem<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItem<D>::Timestamp() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItem<D>::Content() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItemsResultStatus) consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItemsResult<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItemsResult<D>::Status() const
{
winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItemsResultStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardHistoryItemsResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItem>) consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItemsResult<D>::Items() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardHistoryItemsResult<D>::Items() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardHistoryItemsResult)->get_Items(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics<D>::GetContent() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics<D>::SetContent(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& content) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics<D>::SetContent(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& content) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics)->SetContent(*(void**)(&content)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics<D>::Flush() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics<D>::Flush() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics)->Flush());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics<D>::Clear() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics<D>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics)->Clear());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics<D>::ContentChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics<D>::ContentChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics<D>::ContentChanged_revoker consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics<D>::ContentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics<D>::ContentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ContentChanged_revoker>(this, ContentChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics<D>::ContentChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics<D>::ContentChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics)->remove_ContentChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItemsResult>) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::GetHistoryItemsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::GetHistoryItemsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->GetHistoryItemsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItemsResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::ClearHistory() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::ClearHistory() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->ClearHistory(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::DeleteItemFromHistory(winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItem const& item) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::SetHistoryItemAsContentStatus) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::SetHistoryItemAsContent(winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItem const& item) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::IsHistoryEnabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::IsHistoryEnabled() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->IsHistoryEnabled(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::IsRoamingEnabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::IsRoamingEnabled() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->IsRoamingEnabled(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::SetContentWithOptions(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& content, winrt::Windows::ApplicationModel::DataTransfer::ClipboardContentOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::HistoryChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::HistoryChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryChangedEventArgs> 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 D> typename consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::HistoryChanged_revoker consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::HistoryChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::HistoryChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, HistoryChanged_revoker>(this, HistoryChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::HistoryChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::HistoryChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->remove_HistoryChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::RoamingEnabledChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::RoamingEnabledChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::RoamingEnabledChanged_revoker consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::RoamingEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::RoamingEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, RoamingEnabledChanged_revoker>(this, RoamingEnabledChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::RoamingEnabledChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::RoamingEnabledChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->remove_RoamingEnabledChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::HistoryEnabledChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::HistoryEnabledChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::HistoryEnabledChanged_revoker consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::HistoryEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::HistoryEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, HistoryEnabledChanged_revoker>(this, HistoryEnabledChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::HistoryEnabledChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2<D>::HistoryEnabledChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2)->remove_HistoryEnabledChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::GetView() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackagePropertySet) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::Properties() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::RequestedOperation() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::RequestedOperation() const
{
winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->get_RequestedOperation(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::RequestedOperation(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::RequestedOperation(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->put_RequestedOperation(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::OperationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::ApplicationModel::DataTransfer::OperationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::OperationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::ApplicationModel::DataTransfer::OperationCompletedEventArgs> 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 D> typename consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::OperationCompleted_revoker consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::OperationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::ApplicationModel::DataTransfer::OperationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::OperationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::ApplicationModel::DataTransfer::OperationCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, OperationCompleted_revoker>(this, OperationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::OperationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::OperationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->remove_OperationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::Destroyed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::Destroyed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::Destroyed_revoker consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::Destroyed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::Destroyed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Destroyed_revoker>(this, Destroyed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::Destroyed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::Destroyed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->remove_Destroyed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::SetData(param::hstring const& formatId, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::SetDataProvider(param::hstring const& formatId, winrt::Windows::ApplicationModel::DataTransfer::DataProviderHandler const& delayRenderer) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::SetText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::SetText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->SetText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::SetUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::SetUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->SetUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::SetHtmlFormat(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::SetHtmlFormat(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->SetHtmlFormat(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Storage::Streams::RandomAccessStreamReference>) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::ResourceMap() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::ResourceMap() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->get_ResourceMap(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Storage::Streams::RandomAccessStreamReference>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::SetRtf(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::SetRtf(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->SetRtf(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::SetBitmap(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::SetBitmap(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->SetBitmap(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::SetStorageItems(param::iterable<winrt::Windows::Storage::IStorageItem> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::SetStorageItems(param::iterable<winrt::Windows::Storage::IStorageItem> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->SetStorageItemsReadOnly(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::SetStorageItems(param::iterable<winrt::Windows::Storage::IStorageItem> const& value, bool readOnly) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage<D>::SetStorageItems(param::iterable<winrt::Windows::Storage::IStorageItem> const& value, bool readOnly) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage)->SetStorageItems(*(void**)(&value), readOnly));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage2<D>::SetApplicationLink(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage2<D>::SetApplicationLink(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage2)->SetApplicationLink(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage2<D>::SetWebLink(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage2<D>::SetWebLink(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage2)->SetWebLink(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataPackage3<D>::ShareCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::ApplicationModel::DataTransfer::ShareCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage3<D>::ShareCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::ApplicationModel::DataTransfer::ShareCompletedEventArgs> 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 D> typename consume_Windows_ApplicationModel_DataTransfer_IDataPackage3<D>::ShareCompleted_revoker consume_Windows_ApplicationModel_DataTransfer_IDataPackage3<D>::ShareCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::ApplicationModel::DataTransfer::ShareCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage3<D>::ShareCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::ApplicationModel::DataTransfer::ShareCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ShareCompleted_revoker>(this, ShareCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage3<D>::ShareCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage3<D>::ShareCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage3)->remove_ShareCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataPackage4<D>::ShareCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage4<D>::ShareCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_DataTransfer_IDataPackage4<D>::ShareCanceled_revoker consume_Windows_ApplicationModel_DataTransfer_IDataPackage4<D>::ShareCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage4<D>::ShareCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ShareCanceled_revoker>(this, ShareCanceled(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackage4<D>::ShareCanceled(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackage4<D>::ShareCanceled(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackage4)->remove_ShareCanceled(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::Title() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet)->put_Thumbnail(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::FileTypes() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::FileTypes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet)->get_FileTypes(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::ApplicationName() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::ApplicationName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::ApplicationName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet)->put_ApplicationName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::ApplicationListingUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::ApplicationListingUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet<D>::ApplicationListingUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet)->put_ApplicationListingUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::ContentSourceWebLink() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::ContentSourceWebLink(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::ContentSourceWebLink(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet2)->put_ContentSourceWebLink(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::ContentSourceApplicationLink() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::ContentSourceApplicationLink(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::ContentSourceApplicationLink(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet2)->put_ContentSourceApplicationLink(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::PackageFamilyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::PackageFamilyName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::PackageFamilyName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet2)->put_PackageFamilyName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::Square30x30Logo() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::Square30x30Logo(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::Square30x30Logo(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet2)->put_Square30x30Logo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::LogoBackgroundColor() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::LogoBackgroundColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet3<D>::EnterpriseId() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet3<D>::EnterpriseId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet3<D>::EnterpriseId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet3)->put_EnterpriseId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet4<D>::ContentSourceUserActivityJson() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet4<D>::ContentSourceUserActivityJson(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySet4<D>::ContentSourceUserActivityJson(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet4)->put_ContentSourceUserActivityJson(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView<D>::Title() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView<D>::FileTypes() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView<D>::FileTypes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView)->get_FileTypes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView<D>::ApplicationName() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView<D>::ApplicationListingUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2<D>::PackageFamilyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2<D>::ContentSourceWebLink() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2<D>::ContentSourceApplicationLink() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2<D>::Square30x30Logo() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2<D>::LogoBackgroundColor() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView3<D>::EnterpriseId() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView4<D>::ContentSourceUserActivityJson() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView4<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView5<D>::IsFromRoamingClipboard() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView5<D>::IsFromRoamingClipboard() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView5)->get_IsFromRoamingClipboard(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackagePropertySetView) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::Properties() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::RequestedOperation() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::RequestedOperation() const
{
winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->get_RequestedOperation(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::ReportOperationCompleted(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::ReportOperationCompleted(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->ReportOperationCompleted(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::AvailableFormats() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::AvailableFormats() const
{
void* formatIds{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->get_AvailableFormats(&formatIds));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ formatIds, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::Contains(param::hstring const& formatId) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::IInspectable>) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::GetDataAsync(param::hstring const& formatId) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::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<winrt::Windows::Foundation::IInspectable>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::GetTextAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::GetTextAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->GetTextAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::GetTextAsync(param::hstring const& formatId) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::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<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Uri>) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::GetUriAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::GetUriAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->GetUriAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Uri>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::GetHtmlFormatAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::GetHtmlFormatAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->GetHtmlFormatAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Storage::Streams::RandomAccessStreamReference>>) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::GetResourceMapAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::GetResourceMapAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->GetResourceMapAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Storage::Streams::RandomAccessStreamReference>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::GetRtfAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::GetRtfAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->GetRtfAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::RandomAccessStreamReference>) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::GetBitmapAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::GetBitmapAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->GetBitmapAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::RandomAccessStreamReference>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>>) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::GetStorageItemsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView<D>::GetStorageItemsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView)->GetStorageItemsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Uri>) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView2<D>::GetApplicationLinkAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView2<D>::GetApplicationLinkAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView2)->GetApplicationLinkAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Uri>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Uri>) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView2<D>::GetWebLinkAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView2<D>::GetWebLinkAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView2)->GetWebLinkAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Uri>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView3<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView3<D>::RequestAccessAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView3)->RequestAccessAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView3<D>::RequestAccessAsync(param::hstring const& enterpriseId) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView3<D>::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<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView3<D>::UnlockAndAssumeEnterpriseIdentity() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView3<D>::UnlockAndAssumeEnterpriseIdentity() const
{
winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView3)->UnlockAndAssumeEnterpriseIdentity(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataPackageView4<D>::SetAcceptedFormatId(param::hstring const& formatId) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataPackageView4<D>::SetAcceptedFormatId(param::hstring const& formatId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView4)->SetAcceptedFormatId(*(void**)(&formatId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataProviderDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataProviderDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataProviderDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IDataProviderRequest<D>::FormatId() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataProviderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_DataTransfer_IDataProviderRequest<D>::Deadline() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataProviderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataProviderDeferral) consume_Windows_ApplicationModel_DataTransfer_IDataProviderRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataProviderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataProviderRequest<D>::SetData(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataProviderRequest<D>::SetData(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataProviderRequest)->SetData(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) consume_Windows_ApplicationModel_DataTransfer_IDataRequest<D>::Data() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataRequest<D>::Data(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataRequest<D>::Data(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataRequest)->put_Data(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_DataTransfer_IDataRequest<D>::Deadline() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataRequest<D>::FailWithDisplayText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataRequest<D>::FailWithDisplayText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataRequest)->FailWithDisplayText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataRequestDeferral) consume_Windows_ApplicationModel_DataTransfer_IDataRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataRequestDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataRequestDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataRequestDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataRequest) consume_Windows_ApplicationModel_DataTransfer_IDataRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::DataRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::DataRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> 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 D> typename consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::DataRequested_revoker consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::DataRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::DataRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DataRequested_revoker>(this, DataRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::DataRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::DataRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->remove_DataRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::TargetApplicationChosen(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::TargetApplicationChosen(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> 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 D> typename consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::TargetApplicationChosen_revoker consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::TargetApplicationChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::TargetApplicationChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TargetApplicationChosen_revoker>(this, TargetApplicationChosen(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::TargetApplicationChosen(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager<D>::TargetApplicationChosen(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager)->remove_TargetApplicationChosen(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2<D>::ShareProvidersRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::ShareProvidersRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2<D>::ShareProvidersRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::ShareProvidersRequestedEventArgs> 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 D> typename consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2<D>::ShareProvidersRequested_revoker consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2<D>::ShareProvidersRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::ShareProvidersRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2<D>::ShareProvidersRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::ShareProvidersRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ShareProvidersRequested_revoker>(this, ShareProvidersRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2<D>::ShareProvidersRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2<D>::ShareProvidersRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager2)->remove_ShareProvidersRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics<D>::ShowShareUI() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics<D>::ShowShareUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics)->ShowShareUI());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics2<D>::IsSupported() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics2<D>::IsSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics2)->IsSupported(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics3<D>::ShowShareUI(winrt::Windows::ApplicationModel::DataTransfer::ShareUIOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics3<D>::ShowShareUI(winrt::Windows::ApplicationModel::DataTransfer::ShareUIOptions const& options) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics3)->ShowShareUIWithOptions(*(void**)(&options)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IHtmlFormatHelperStatics<D>::GetStaticFragment(param::hstring const& htmlFormat) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IHtmlFormatHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IHtmlFormatHelperStatics<D>::CreateHtmlFormat(param::hstring const& htmlFragment) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IHtmlFormatHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_ApplicationModel_DataTransfer_IOperationCompletedEventArgs<D>::Operation() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IOperationCompletedEventArgs<D>::Operation() const
{
winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IOperationCompletedEventArgs)->get_Operation(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IOperationCompletedEventArgs2<D>::AcceptedFormatId() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IOperationCompletedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareTargetInfo) consume_Windows_ApplicationModel_DataTransfer_IShareCompletedEventArgs<D>::ShareTarget() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IShareProvider<D>::Title() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_ApplicationModel_DataTransfer_IShareProvider<D>::DisplayIcon() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_DataTransfer_IShareProvider<D>::BackgroundColor() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_DataTransfer_IShareProvider<D>::Tag() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareProvider<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IShareProvider<D>::Tag(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareProvider<D>::Tag(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProvider)->put_Tag(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareProvider) consume_Windows_ApplicationModel_DataTransfer_IShareProviderFactory<D>::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 <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareProviderFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) consume_Windows_ApplicationModel_DataTransfer_IShareProviderOperation<D>::Data() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareProviderOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareProvider) consume_Windows_ApplicationModel_DataTransfer_IShareProviderOperation<D>::Provider() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareProviderOperation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IShareProviderOperation<D>::ReportCompleted() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareProviderOperation<D>::ReportCompleted() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProviderOperation)->ReportCompleted());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::DataTransfer::ShareProvider>) consume_Windows_ApplicationModel_DataTransfer_IShareProvidersRequestedEventArgs<D>::Providers() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareProvidersRequestedEventArgs<D>::Providers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareProvidersRequestedEventArgs)->get_Providers(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::DataTransfer::ShareProvider>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) consume_Windows_ApplicationModel_DataTransfer_IShareProvidersRequestedEventArgs<D>::Data() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareProvidersRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_DataTransfer_IShareProvidersRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareProvidersRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IShareTargetInfo<D>::AppUserModelId() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareTargetInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareProvider) consume_Windows_ApplicationModel_DataTransfer_IShareTargetInfo<D>::ShareProvider() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareTargetInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareUITheme) consume_Windows_ApplicationModel_DataTransfer_IShareUIOptions<D>::Theme() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareUIOptions<D>::Theme() const
{
winrt::Windows::ApplicationModel::DataTransfer::ShareUITheme value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareUIOptions)->get_Theme(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IShareUIOptions<D>::Theme(winrt::Windows::ApplicationModel::DataTransfer::ShareUITheme const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareUIOptions<D>::Theme(winrt::Windows::ApplicationModel::DataTransfer::ShareUITheme const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareUIOptions)->put_Theme(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect>) consume_Windows_ApplicationModel_DataTransfer_IShareUIOptions<D>::SelectionRect() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareUIOptions<D>::SelectionRect() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareUIOptions)->get_SelectionRect(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_IShareUIOptions<D>::SelectionRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IShareUIOptions<D>::SelectionRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::IShareUIOptions)->put_SelectionRect(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_ISharedStorageAccessManagerStatics<D>::AddFile(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ISharedStorageAccessManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_ApplicationModel_DataTransfer_ISharedStorageAccessManagerStatics<D>::RedeemTokenForFileAsync(param::hstring const& token) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ISharedStorageAccessManagerStatics<D>::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<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_DataTransfer_ISharedStorageAccessManagerStatics<D>::RemoveFile(param::hstring const& token) const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ISharedStorageAccessManagerStatics<D>::RemoveFile(param::hstring const& token) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::DataTransfer::ISharedStorageAccessManagerStatics)->RemoveFile(*(void**)(&token)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics<D>::Text() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics<D>::Uri() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics<D>::Html() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics<D>::Rtf() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics<D>::Bitmap() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics<D>::StorageItems() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics2<D>::WebLink() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics2<D>::ApplicationLink() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics3<D>::UserActivityJsonArray() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_DataTransfer_ITargetApplicationChosenEventArgs<D>::ApplicationName() const
+ template <typename D> auto consume_Windows_ApplicationModel_DataTransfer_ITargetApplicationChosenEventArgs<D>::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<Clipboard, IClipboardStatics>([&](IClipboardStatics const& f) { return f.ContentChanged(handler); });
}
- inline Clipboard::ContentChanged_revoker Clipboard::ContentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto Clipboard::ContentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<Clipboard, winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics>();
- 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<Clipboard, IClipboardStatics2>([&](IClipboardStatics2 const& f) { return f.HistoryChanged(handler); });
}
- inline Clipboard::HistoryChanged_revoker Clipboard::HistoryChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryChangedEventArgs> const& handler)
+ inline auto Clipboard::HistoryChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryChangedEventArgs> const& handler)
{
auto f = get_activation_factory<Clipboard, winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2>();
- 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<Clipboard, IClipboardStatics2>([&](IClipboardStatics2 const& f) { return f.RoamingEnabledChanged(handler); });
}
- inline Clipboard::RoamingEnabledChanged_revoker Clipboard::RoamingEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto Clipboard::RoamingEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<Clipboard, winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2>();
- 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<Clipboard, IClipboardStatics2>([&](IClipboardStatics2 const& f) { return f.HistoryEnabledChanged(handler); });
}
- inline Clipboard::HistoryEnabledChanged_revoker Clipboard::HistoryEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto Clipboard::HistoryEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<Clipboard, winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Email.DataProvider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Email.DataProvider.h
index 3418ea8872d..d261c875db1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Email.DataProvider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::MailboxSyncRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSyncManagerSyncRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::MailboxSyncRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSyncManagerSyncRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::MailboxSyncRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::MailboxSyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSyncManagerSyncRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::MailboxSyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSyncManagerSyncRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MailboxSyncRequested_revoker>(this, MailboxSyncRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::MailboxSyncRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::MailboxSyncRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_MailboxSyncRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DownloadMessageRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadMessageRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DownloadMessageRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadMessageRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DownloadMessageRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DownloadMessageRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadMessageRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DownloadMessageRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadMessageRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DownloadMessageRequested_revoker>(this, DownloadMessageRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DownloadMessageRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DownloadMessageRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_DownloadMessageRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DownloadAttachmentRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadAttachmentRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DownloadAttachmentRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadAttachmentRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DownloadAttachmentRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DownloadAttachmentRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadAttachmentRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DownloadAttachmentRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadAttachmentRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DownloadAttachmentRequested_revoker>(this, DownloadAttachmentRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DownloadAttachmentRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DownloadAttachmentRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_DownloadAttachmentRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::CreateFolderRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxCreateFolderRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::CreateFolderRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxCreateFolderRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::CreateFolderRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::CreateFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxCreateFolderRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::CreateFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxCreateFolderRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CreateFolderRequested_revoker>(this, CreateFolderRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::CreateFolderRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::CreateFolderRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_CreateFolderRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DeleteFolderRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDeleteFolderRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DeleteFolderRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDeleteFolderRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DeleteFolderRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DeleteFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDeleteFolderRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DeleteFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDeleteFolderRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DeleteFolderRequested_revoker>(this, DeleteFolderRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DeleteFolderRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::DeleteFolderRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_DeleteFolderRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::EmptyFolderRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxEmptyFolderRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::EmptyFolderRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxEmptyFolderRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::EmptyFolderRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::EmptyFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxEmptyFolderRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::EmptyFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxEmptyFolderRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, EmptyFolderRequested_revoker>(this, EmptyFolderRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::EmptyFolderRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::EmptyFolderRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_EmptyFolderRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::MoveFolderRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxMoveFolderRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::MoveFolderRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxMoveFolderRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::MoveFolderRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::MoveFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxMoveFolderRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::MoveFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxMoveFolderRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MoveFolderRequested_revoker>(this, MoveFolderRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::MoveFolderRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::MoveFolderRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_MoveFolderRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::UpdateMeetingResponseRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxUpdateMeetingResponseRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::UpdateMeetingResponseRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxUpdateMeetingResponseRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::UpdateMeetingResponseRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::UpdateMeetingResponseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxUpdateMeetingResponseRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::UpdateMeetingResponseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxUpdateMeetingResponseRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, UpdateMeetingResponseRequested_revoker>(this, UpdateMeetingResponseRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::UpdateMeetingResponseRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::UpdateMeetingResponseRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_UpdateMeetingResponseRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ForwardMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxForwardMeetingRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ForwardMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxForwardMeetingRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ForwardMeetingRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ForwardMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxForwardMeetingRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ForwardMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxForwardMeetingRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ForwardMeetingRequested_revoker>(this, ForwardMeetingRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ForwardMeetingRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ForwardMeetingRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_ForwardMeetingRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ProposeNewTimeForMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxProposeNewTimeForMeetingRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ProposeNewTimeForMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxProposeNewTimeForMeetingRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ProposeNewTimeForMeetingRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ProposeNewTimeForMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxProposeNewTimeForMeetingRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ProposeNewTimeForMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxProposeNewTimeForMeetingRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ProposeNewTimeForMeetingRequested_revoker>(this, ProposeNewTimeForMeetingRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ProposeNewTimeForMeetingRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ProposeNewTimeForMeetingRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_ProposeNewTimeForMeetingRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::SetAutoReplySettingsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSetAutoReplySettingsRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::SetAutoReplySettingsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSetAutoReplySettingsRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::SetAutoReplySettingsRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::SetAutoReplySettingsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSetAutoReplySettingsRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::SetAutoReplySettingsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSetAutoReplySettingsRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SetAutoReplySettingsRequested_revoker>(this, SetAutoReplySettingsRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::SetAutoReplySettingsRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::SetAutoReplySettingsRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_SetAutoReplySettingsRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::GetAutoReplySettingsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxGetAutoReplySettingsRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::GetAutoReplySettingsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxGetAutoReplySettingsRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::GetAutoReplySettingsRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::GetAutoReplySettingsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxGetAutoReplySettingsRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::GetAutoReplySettingsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxGetAutoReplySettingsRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, GetAutoReplySettingsRequested_revoker>(this, GetAutoReplySettingsRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::GetAutoReplySettingsRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::GetAutoReplySettingsRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_GetAutoReplySettingsRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ResolveRecipientsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxResolveRecipientsRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ResolveRecipientsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxResolveRecipientsRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ResolveRecipientsRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ResolveRecipientsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxResolveRecipientsRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ResolveRecipientsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxResolveRecipientsRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ResolveRecipientsRequested_revoker>(this, ResolveRecipientsRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ResolveRecipientsRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ResolveRecipientsRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_ResolveRecipientsRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ValidateCertificatesRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxValidateCertificatesRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ValidateCertificatesRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxValidateCertificatesRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ValidateCertificatesRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ValidateCertificatesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxValidateCertificatesRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ValidateCertificatesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxValidateCertificatesRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ValidateCertificatesRequested_revoker>(this, ValidateCertificatesRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ValidateCertificatesRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ValidateCertificatesRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_ValidateCertificatesRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ServerSearchReadBatchRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxServerSearchReadBatchRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ServerSearchReadBatchRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxServerSearchReadBatchRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ServerSearchReadBatchRequested_revoker consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ServerSearchReadBatchRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxServerSearchReadBatchRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ServerSearchReadBatchRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxServerSearchReadBatchRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ServerSearchReadBatchRequested_revoker>(this, ServerSearchReadBatchRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ServerSearchReadBatchRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::ServerSearchReadBatchRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->remove_ServerSearchReadBatchRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::Start() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection) consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderTriggerDetails<D>::Connection() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest<D>::EmailMailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest<D>::ParentFolderId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest<D>::ReportCompletedAsync(winrt::Windows::ApplicationModel::Email::EmailFolder const& folder) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest<D>::ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxCreateFolderStatus const& status) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequest<D>::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<int32_t>(status), &result));
return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxCreateFolderRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxCreateFolderRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequest<D>::EmailMailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequest<D>::EmailFolderId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequest<D>::ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxDeleteFolderStatus const& status) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequest<D>::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<int32_t>(status), &result));
return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDeleteFolderRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDeleteFolderRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest<D>::EmailMailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest<D>::EmailMessageId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest<D>::EmailAttachmentId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadAttachmentRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadAttachmentRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequest<D>::EmailMailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequest<D>::EmailMessageId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadMessageRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxDownloadMessageRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequest<D>::EmailMailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequest<D>::EmailFolderId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequest<D>::ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxEmptyFolderStatus const& status) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequest<D>::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<int32_t>(status), &result));
return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxEmptyFolderRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxEmptyFolderRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::EmailMailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::EmailMessageId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailRecipient>) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::Recipients() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::Recipients() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxForwardMeetingRequest)->get_Recipients(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailRecipient>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::Subject() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::ForwardHeaderType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::ForwardHeaderType() const
{
winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxForwardMeetingRequest)->get_ForwardHeaderType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::ForwardHeader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::Comment() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxForwardMeetingRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxForwardMeetingRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequest<D>::EmailMailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequest<D>::RequestedFormat() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequest<D>::RequestedFormat() const
{
winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxGetAutoReplySettingsRequest)->get_RequestedFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequest<D>::ReportCompletedAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings const& autoReplySettings) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxGetAutoReplySettingsRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxGetAutoReplySettingsRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest<D>::EmailMailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest<D>::EmailFolderId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest<D>::NewParentFolderId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest<D>::NewFolderName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxMoveFolderRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxMoveFolderRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest<D>::EmailMailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest<D>::EmailMessageId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest<D>::NewStartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest<D>::NewDuration() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest<D>::Subject() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest<D>::Comment() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxProposeNewTimeForMeetingRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxProposeNewTimeForMeetingRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest<D>::EmailMailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest<D>::Recipients() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest<D>::Recipients() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxResolveRecipientsRequest)->get_Recipients(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest<D>::ReportCompletedAsync(param::async_iterable<winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionResult> const& resolutionResults) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest<D>::ReportCompletedAsync(param::async_iterable<winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionResult> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxResolveRecipientsRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest<D>::SessionId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest<D>::EmailMailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest<D>::EmailFolderId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQueryOptions) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest<D>::Options() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest<D>::SuggestedBatchSize() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest<D>::SuggestedBatchSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxServerSearchReadBatchRequest)->get_SuggestedBatchSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest<D>::SaveMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest<D>::ReportFailedAsync(winrt::Windows::ApplicationModel::Email::EmailBatchStatus const& batchStatus) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequest<D>::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<int32_t>(batchStatus), &result));
return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxServerSearchReadBatchRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxServerSearchReadBatchRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequest<D>::EmailMailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequest<D>::AutoReplySettings() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSetAutoReplySettingsRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSetAutoReplySettingsRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequest<D>::EmailMailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSyncManagerSyncRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxSyncManagerSyncRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest<D>::EmailMailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest<D>::EmailMessageId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMeetingResponseType) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest<D>::Response() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest<D>::Response() const
{
winrt::Windows::ApplicationModel::Email::EmailMeetingResponseType response{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxUpdateMeetingResponseRequest)->get_Response(reinterpret_cast<int32_t*>(&response)));
return response;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest<D>::Subject() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest<D>::Comment() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest<D>::SendUpdate() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest<D>::SendUpdate() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxUpdateMeetingResponseRequest)->get_SendUpdate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxUpdateMeetingResponseRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxUpdateMeetingResponseRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest<D>::EmailMailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest<D>::Certificates() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest<D>::Certificates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxValidateCertificatesRequest)->get_Certificates(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest<D>::ReportCompletedAsync(param::async_iterable<winrt::Windows::ApplicationModel::Email::EmailCertificateValidationStatus> const& validationStatuses) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest<D>::ReportCompletedAsync(param::async_iterable<winrt::Windows::ApplicationModel::Email::EmailCertificateValidationStatus> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxValidateCertificatesRequest) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequestEventArgs<D>::GetDeferral() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxValidateCertificatesRequestEventArgs)->GetDeferral(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Email.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Email.h
index 313cd3dc8d1..5fed8feeb13 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Email.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailAttachment<D>::FileName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailAttachment<D>::FileName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment<D>::FileName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment)->put_FileName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Email_IEmailAttachment<D>::Data() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailAttachment<D>::Data(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment<D>::Data(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment)->put_Data(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::ContentId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::ContentId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::ContentId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->put_ContentId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::ContentLocation() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::ContentLocation(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::ContentLocation(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->put_ContentLocation(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailAttachmentDownloadState) consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::DownloadState() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::DownloadState() const
{
winrt::Windows::ApplicationModel::Email::EmailAttachmentDownloadState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->get_DownloadState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::DownloadState(winrt::Windows::ApplicationModel::Email::EmailAttachmentDownloadState const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::DownloadState(winrt::Windows::ApplicationModel::Email::EmailAttachmentDownloadState const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->put_DownloadState(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::EstimatedDownloadSizeInBytes() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::EstimatedDownloadSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->get_EstimatedDownloadSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::EstimatedDownloadSizeInBytes(uint64_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::EstimatedDownloadSizeInBytes(uint64_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->put_EstimatedDownloadSizeInBytes(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::IsFromBaseMessage() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::IsFromBaseMessage() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->get_IsFromBaseMessage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::IsInline() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::IsInline() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->get_IsInline(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::IsInline(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::IsInline(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->put_IsInline(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::MimeType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::MimeType(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachment2<D>::MimeType(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailAttachment2)->put_MimeType(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailAttachment) consume_Windows_ApplicationModel_Email_IEmailAttachmentFactory<D>::Create(param::hstring const& fileName, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& data) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachmentFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailAttachment) consume_Windows_ApplicationModel_Email_IEmailAttachmentFactory2<D>::Create(param::hstring const& fileName, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& data, param::hstring const& mimeType) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailAttachmentFactory2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailConversation<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailConversation<D>::MailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailFlagState) consume_Windows_ApplicationModel_Email_IEmailConversation<D>::FlagState() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversation<D>::FlagState() const
{
winrt::Windows::ApplicationModel::Email::EmailFlagState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_FlagState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailConversation<D>::HasAttachment() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversation<D>::HasAttachment() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_HasAttachment(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailImportance) consume_Windows_ApplicationModel_Email_IEmailConversation<D>::Importance() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversation<D>::Importance() const
{
winrt::Windows::ApplicationModel::Email::EmailImportance value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_Importance(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind) consume_Windows_ApplicationModel_Email_IEmailConversation<D>::LastEmailResponseKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversation<D>::LastEmailResponseKind() const
{
winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_LastEmailResponseKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Email_IEmailConversation<D>::MessageCount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversation<D>::MessageCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_MessageCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailConversation<D>::MostRecentMessageId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Email_IEmailConversation<D>::MostRecentMessageTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailConversation<D>::Preview() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipient) consume_Windows_ApplicationModel_Email_IEmailConversation<D>::LatestSender() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailConversation<D>::Subject() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversation<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Email_IEmailConversation<D>::UnreadMessageCount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversation<D>::UnreadMessageCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->get_UnreadMessageCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMessage>>) consume_Windows_ApplicationModel_Email_IEmailConversation<D>::FindMessagesAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversation<D>::FindMessagesAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversation)->FindMessagesAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMessage>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMessage>>) consume_Windows_ApplicationModel_Email_IEmailConversation<D>::FindMessagesAsync(uint32_t count) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversation<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMessage>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailConversation>) consume_Windows_ApplicationModel_Email_IEmailConversationBatch<D>::Conversations() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversationBatch<D>::Conversations() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversationBatch)->get_Conversations(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailConversation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailBatchStatus) consume_Windows_ApplicationModel_Email_IEmailConversationBatch<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversationBatch<D>::Status() const
{
winrt::Windows::ApplicationModel::Email::EmailBatchStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversationBatch)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailConversationBatch>) consume_Windows_ApplicationModel_Email_IEmailConversationReader<D>::ReadBatchAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailConversationReader<D>::ReadBatchAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailConversationReader)->ReadBatchAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailConversationBatch>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::RemoteId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::RemoteId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::RemoteId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->put_RemoteId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::MailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::ParentFolderId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::IsSyncEnabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::IsSyncEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->get_IsSyncEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::IsSyncEnabled(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::IsSyncEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->put_IsSyncEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::LastSuccessfulSyncTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailSpecialFolderKind) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::Kind() const
{
winrt::Windows::ApplicationModel::Email::EmailSpecialFolderKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailFolder>) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::CreateFolderAsync(param::hstring const& name) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::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<winrt::Windows::ApplicationModel::Email::EmailFolder>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::DeleteAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailFolder>>) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::FindChildFoldersAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::FindChildFoldersAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->FindChildFoldersAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailFolder>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::GetConversationReader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::GetConversationReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMessage>) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::GetMessageAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::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<winrt::Windows::ApplicationModel::Email::EmailMessage>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::GetMessageReader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::GetMessageReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailItemCounts>) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::GetMessageCountsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::GetMessageCountsAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->GetMessageCountsAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailItemCounts>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::TryMoveAsync(winrt::Windows::ApplicationModel::Email::EmailFolder const& newParentFolder) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::TryMoveAsync(winrt::Windows::ApplicationModel::Email::EmailFolder const& newParentFolder, param::hstring const& newFolderName) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::TrySaveAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::TrySaveAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailFolder)->TrySaveAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailFolder<D>::SaveMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailFolder<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanEdit() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanEdit() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_CanEdit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanEdit(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanEdit(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_CanEdit(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanExtractData() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanExtractData() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_CanExtractData(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanExtractData(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanExtractData(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_CanExtractData(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanForward() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanForward() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_CanForward(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanForward(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanForward(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_CanForward(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanModifyRecipientsOnResponse() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanModifyRecipientsOnResponse() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_CanModifyRecipientsOnResponse(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanModifyRecipientsOnResponse(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanModifyRecipientsOnResponse(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_CanModifyRecipientsOnResponse(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanPrintData() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanPrintData() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_CanPrintData(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanPrintData(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanPrintData(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_CanPrintData(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanRemoveIrmOnResponse() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanRemoveIrmOnResponse() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_CanRemoveIrmOnResponse(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanRemoveIrmOnResponse(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanRemoveIrmOnResponse(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_CanRemoveIrmOnResponse(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanReply() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanReply() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_CanReply(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanReply(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanReply(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_CanReply(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanReplyAll() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanReplyAll() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_CanReplyAll(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanReplyAll(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::CanReplyAll(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_CanReplyAll(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::ExpirationDate() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::ExpirationDate(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::IsIrmOriginator() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::IsIrmOriginator() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_IsIrmOriginator(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::IsIrmOriginator(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::IsIrmOriginator(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_IsIrmOriginator(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::IsProgramaticAccessAllowed() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::IsProgramaticAccessAllowed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->get_IsProgramaticAccessAllowed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::IsProgramaticAccessAllowed(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::IsProgramaticAccessAllowed(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_IsProgramaticAccessAllowed(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailIrmTemplate) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::Template() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::Template(winrt::Windows::ApplicationModel::Email::EmailIrmTemplate const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfo<D>::Template(winrt::Windows::ApplicationModel::Email::EmailIrmTemplate const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmInfo)->put_Template(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailIrmInfo) consume_Windows_ApplicationModel_Email_IEmailIrmInfoFactory<D>::Create(winrt::Windows::Foundation::DateTime const& expiration, winrt::Windows::ApplicationModel::Email::EmailIrmTemplate const& irmTemplate) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmInfoFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailIrmTemplate<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmTemplate<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmTemplate<D>::Id(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmTemplate<D>::Id(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmTemplate)->put_Id(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailIrmTemplate<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmTemplate<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmTemplate<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmTemplate<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmTemplate)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailIrmTemplate<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmTemplate<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailIrmTemplate<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmTemplate<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailIrmTemplate)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailIrmTemplate) consume_Windows_ApplicationModel_Email_IEmailIrmTemplateFactory<D>::Create(param::hstring const& id, param::hstring const& name, param::hstring const& description) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailIrmTemplateFactory<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Email_IEmailItemCounts<D>::Flagged() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailItemCounts<D>::Flagged() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailItemCounts)->get_Flagged(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Email_IEmailItemCounts<D>::Important() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailItemCounts<D>::Important() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailItemCounts)->get_Important(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Email_IEmailItemCounts<D>::Total() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailItemCounts<D>::Total() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailItemCounts)->get_Total(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Email_IEmailItemCounts<D>::Unread() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailItemCounts<D>::Unread() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailItemCounts)->get_Unread(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxCapabilities) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::Capabilities() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxChangeTracker) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::ChangeTracker() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::IsOwnedByCurrentApp() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::IsOwnedByCurrentApp() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_IsOwnedByCurrentApp(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::IsDataEncryptedUnderLock() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::IsDataEncryptedUnderLock() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_IsDataEncryptedUnderLock(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::MailAddress() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::MailAddress(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::MailAddress(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->put_MailAddress(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::MailAddressAliases() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::MailAddressAliases() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_MailAddressAliases(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppReadAccess) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::OtherAppReadAccess() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::OtherAppReadAccess() const
{
winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppReadAccess value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_OtherAppReadAccess(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::OtherAppReadAccess(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppReadAccess const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::OtherAppReadAccess(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppReadAccess const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->put_OtherAppReadAccess(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppWriteAccess) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::OtherAppWriteAccess() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::OtherAppWriteAccess() const
{
winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppWriteAccess value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->get_OtherAppWriteAccess(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::OtherAppWriteAccess(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppWriteAccess const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::OtherAppWriteAccess(winrt::Windows::ApplicationModel::Email::EmailMailboxOtherAppWriteAccess const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->put_OtherAppWriteAccess(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxPolicies) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::Policies() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::SourceDisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxSyncManager) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::SyncManager() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::UserDataAccountId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::GetConversationReader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::GetConversationReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::GetMessageReader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::GetMessageReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::DeleteAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailConversation>) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::GetConversationAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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<winrt::Windows::ApplicationModel::Email::EmailConversation>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailFolder>) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::GetFolderAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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<winrt::Windows::ApplicationModel::Email::EmailFolder>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMessage>) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::GetMessageAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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<winrt::Windows::ApplicationModel::Email::EmailMessage>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailFolder>) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::GetSpecialFolderAsync(winrt::Windows::ApplicationModel::Email::EmailSpecialFolderKind const& folderType) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::GetSpecialFolderAsync(winrt::Windows::ApplicationModel::Email::EmailSpecialFolderKind const& folderType) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->GetSpecialFolderAsync(static_cast<int32_t>(folderType), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailFolder>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::SaveAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::MarkMessageAsSeenAsync(param::hstring const& messageId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::MarkFolderAsSeenAsync(param::hstring const& folderId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::MarkMessageReadAsync(param::hstring const& messageId, bool isRead) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::ChangeMessageFlagStateAsync(param::hstring const& messageId, winrt::Windows::ApplicationModel::Email::EmailFlagState const& flagState) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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<int32_t>(flagState), &result));
return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::TryMoveMessageAsync(param::hstring const& messageId, param::hstring const& newParentFolderId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::TryMoveFolderAsync(param::hstring const& folderId, param::hstring const& newParentFolderId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::TryMoveFolderAsync(param::hstring const& folderId, param::hstring const& newParentFolderId, param::hstring const& newFolderName) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::DeleteMessageAsync(param::hstring const& messageId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::MarkFolderSyncEnabledAsync(param::hstring const& folderId, bool isSyncEnabled) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::SendMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::SaveDraftAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::DownloadMessageAsync(param::hstring const& messageId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::DownloadAttachmentAsync(param::hstring const& attachmentId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMessage>) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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<int32_t>(responseType), *(void**)(&subject), static_cast<int32_t>(responseHeaderType), *(void**)(&responseHeader), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMessage>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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<int32_t>(response), *(void**)(&subject), *(void**)(&comment), sendUpdate, &result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::TryForwardMeetingAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& meeting, param::async_iterable<winrt::Windows::ApplicationModel::Email::EmailRecipient> const& recipients, param::hstring const& subject, winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& forwardHeaderType, param::hstring const& forwardHeader, param::hstring const& comment) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::TryForwardMeetingAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& meeting, param::async_iterable<winrt::Windows::ApplicationModel::Email::EmailRecipient> 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<int32_t>(forwardHeaderType), *(void**)(&forwardHeader), *(void**)(&comment), &result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::MailboxChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::EmailMailbox, winrt::Windows::ApplicationModel::Email::EmailMailboxChangedEventArgs> const& pHandler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::MailboxChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::EmailMailbox, winrt::Windows::ApplicationModel::Email::EmailMailboxChangedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::MailboxChanged_revoker consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::MailboxChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::EmailMailbox, winrt::Windows::ApplicationModel::Email::EmailMailboxChangedEventArgs> const& pHandler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::MailboxChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::EmailMailbox, winrt::Windows::ApplicationModel::Email::EmailMailboxChangedEventArgs> const& pHandler) const
{
return impl::make_event_revoker<D, MailboxChanged_revoker>(this, MailboxChanged(pHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::MailboxChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::MailboxChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->remove_MailboxChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::SendMessageAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message, bool smartSend) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::TrySetAutoReplySettingsAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings const& autoReplySettings) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings>) consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::TryGetAutoReplySettingsAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind const& requestedFormat) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox<D>::TryGetAutoReplySettingsAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind const& requestedFormat) const
{
void* autoReplySettings{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox)->TryGetAutoReplySettingsAsync(static_cast<int32_t>(requestedFormat), &autoReplySettings));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings>{ autoReplySettings, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailbox2<D>::LinkedMailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailbox2<D>::NetworkAccountId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailbox2<D>::NetworkId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionResult>>) consume_Windows_ApplicationModel_Email_IEmailMailbox3<D>::ResolveRecipientsAsync(param::async_iterable<hstring> const& recipients) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox3<D>::ResolveRecipientsAsync(param::async_iterable<hstring> const& recipients) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox3)->ResolveRecipientsAsync(*(void**)(&recipients), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionResult>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailCertificateValidationStatus>>) consume_Windows_ApplicationModel_Email_IEmailMailbox3<D>::ValidateCertificatesAsync(param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& certificates) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox3<D>::ValidateCertificatesAsync(param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& certificates) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailbox3)->ValidateCertificatesAsync(*(void**)(&certificates), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailCertificateValidationStatus>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMailboxEmptyFolderStatus>) consume_Windows_ApplicationModel_Email_IEmailMailbox3<D>::TryEmptyFolderAsync(param::hstring const& folderId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox3<D>::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<winrt::Windows::ApplicationModel::Email::EmailMailboxEmptyFolderStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMailboxCreateFolderResult>) consume_Windows_ApplicationModel_Email_IEmailMailbox3<D>::TryCreateFolderAsync(param::hstring const& parentFolderId, param::hstring const& name) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox3<D>::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<winrt::Windows::ApplicationModel::Email::EmailMailboxCreateFolderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMailboxDeleteFolderStatus>) consume_Windows_ApplicationModel_Email_IEmailMailbox3<D>::TryDeleteFolderAsync(param::hstring const& folderId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox3<D>::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<winrt::Windows::ApplicationModel::Email::EmailMailboxDeleteFolderStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailMailbox4<D>::RegisterSyncManagerAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxChangeTracker) consume_Windows_ApplicationModel_Email_IEmailMailbox5<D>::GetChangeTracker(param::hstring const& identity) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailbox5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxActionKind) consume_Windows_ApplicationModel_Email_IEmailMailboxAction<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxAction<D>::Kind() const
{
winrt::Windows::ApplicationModel::Email::EmailMailboxActionKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAction)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Email_IEmailMailboxAction<D>::ChangeNumber() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxAction<D>::ChangeNumber() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAction)->get_ChangeNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReply<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReply<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReply)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReply<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReply<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReply)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReply<D>::Response() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReply<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReply<D>::Response(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReply<D>::Response(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReply)->put_Response(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::ResponseKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::ResponseKind() const
{
winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->get_ResponseKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::ResponseKind(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::ResponseKind(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->put_ResponseKind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::StartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::StartTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->get_StartTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::StartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::StartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->put_StartTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::EndTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::EndTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->get_EndTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::EndTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::EndTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings)->put_EndTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReply) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::InternalReply() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReply) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::KnownExternalReply() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReply) consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::UnknownExternalReply() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxAutoReplySettings<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities<D>::CanForwardMeetings() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities<D>::CanForwardMeetings() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities)->get_CanForwardMeetings(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities<D>::CanGetAndSetExternalAutoReplies() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities<D>::CanGetAndSetExternalAutoReplies() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities)->get_CanGetAndSetExternalAutoReplies(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities<D>::CanGetAndSetInternalAutoReplies() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities<D>::CanGetAndSetInternalAutoReplies() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities)->get_CanGetAndSetInternalAutoReplies(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities<D>::CanUpdateMeetingResponses() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities<D>::CanUpdateMeetingResponses() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities)->get_CanUpdateMeetingResponses(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities<D>::CanServerSearchFolders() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities<D>::CanServerSearchFolders() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities)->get_CanServerSearchFolders(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities<D>::CanServerSearchMailbox() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities<D>::CanServerSearchMailbox() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities)->get_CanServerSearchMailbox(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities<D>::CanProposeNewTimeForMeetings() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities<D>::CanProposeNewTimeForMeetings() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities)->get_CanProposeNewTimeForMeetings(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities<D>::CanSmartSend() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities<D>::CanSmartSend() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities)->get_CanSmartSend(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2<D>::CanResolveRecipients() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2<D>::CanResolveRecipients() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities2)->get_CanResolveRecipients(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2<D>::CanValidateCertificates() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2<D>::CanValidateCertificates() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities2)->get_CanValidateCertificates(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2<D>::CanEmptyFolder() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2<D>::CanEmptyFolder() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities2)->get_CanEmptyFolder(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2<D>::CanCreateFolder() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2<D>::CanCreateFolder() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities2)->get_CanCreateFolder(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2<D>::CanDeleteFolder() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2<D>::CanDeleteFolder() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities2)->get_CanDeleteFolder(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2<D>::CanMoveFolder() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities2<D>::CanMoveFolder() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities2)->get_CanMoveFolder(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanForwardMeetings(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanForwardMeetings(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanForwardMeetings(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanGetAndSetExternalAutoReplies(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanGetAndSetExternalAutoReplies(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanGetAndSetExternalAutoReplies(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanGetAndSetInternalAutoReplies(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanGetAndSetInternalAutoReplies(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanGetAndSetInternalAutoReplies(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanUpdateMeetingResponses(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanUpdateMeetingResponses(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanUpdateMeetingResponses(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanServerSearchFolders(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanServerSearchFolders(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanServerSearchFolders(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanServerSearchMailbox(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanServerSearchMailbox(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanServerSearchMailbox(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanProposeNewTimeForMeetings(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanProposeNewTimeForMeetings(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanProposeNewTimeForMeetings(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanSmartSend(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanSmartSend(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanSmartSend(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanResolveRecipients(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanResolveRecipients(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanResolveRecipients(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanValidateCertificates(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanValidateCertificates(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanValidateCertificates(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanEmptyFolder(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanEmptyFolder(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanEmptyFolder(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanCreateFolder(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanCreateFolder(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanCreateFolder(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanDeleteFolder(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanDeleteFolder(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanDeleteFolder(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanMoveFolder(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCapabilities3<D>::CanMoveFolder(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3)->put_CanMoveFolder(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxChangeType) consume_Windows_ApplicationModel_Email_IEmailMailboxChange<D>::ChangeType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxChange<D>::ChangeType() const
{
winrt::Windows::ApplicationModel::Email::EmailMailboxChangeType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChange)->get_ChangeType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Email::EmailMailboxAction>) consume_Windows_ApplicationModel_Email_IEmailMailboxChange<D>::MailboxActions() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxChange<D>::MailboxActions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChange)->get_MailboxActions(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Email::EmailMailboxAction>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessage) consume_Windows_ApplicationModel_Email_IEmailMailboxChange<D>::Message() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxChange<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailFolder) consume_Windows_ApplicationModel_Email_IEmailMailboxChange<D>::Folder() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxChange<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxChangeReader<D>::AcceptChanges() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangeReader<D>::AcceptChanges() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChangeReader)->AcceptChanges());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxChangeReader<D>::AcceptChangesThrough(winrt::Windows::ApplicationModel::Email::EmailMailboxChange const& lastChangeToAcknowledge) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangeReader<D>::AcceptChangesThrough(winrt::Windows::ApplicationModel::Email::EmailMailboxChange const& lastChangeToAcknowledge) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChangeReader)->AcceptChangesThrough(*(void**)(&lastChangeToAcknowledge)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMailboxChange>>) consume_Windows_ApplicationModel_Email_IEmailMailboxChangeReader<D>::ReadBatchAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangeReader<D>::ReadBatchAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChangeReader)->ReadBatchAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMailboxChange>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker<D>::IsTracking() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker<D>::IsTracking() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChangeTracker)->get_IsTracking(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker<D>::Enable() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker<D>::Enable() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChangeTracker)->Enable());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxChangeReader) consume_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker<D>::GetChangeReader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker<D>::Reset() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangeTracker<D>::Reset() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChangeTracker)->Reset());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxChangedDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangedDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxChangedDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxChangedDeferral) consume_Windows_ApplicationModel_Email_IEmailMailboxChangedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxCreateFolderStatus) consume_Windows_ApplicationModel_Email_IEmailMailboxCreateFolderResult<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCreateFolderResult<D>::Status() const
{
winrt::Windows::ApplicationModel::Email::EmailMailboxCreateFolderStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxCreateFolderResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailFolder) consume_Windows_ApplicationModel_Email_IEmailMailboxCreateFolderResult<D>::Folder() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxCreateFolderResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies<D>::AllowedSmimeEncryptionAlgorithmNegotiation() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies<D>::AllowedSmimeEncryptionAlgorithmNegotiation() const
{
winrt::Windows::ApplicationModel::Email::EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies)->get_AllowedSmimeEncryptionAlgorithmNegotiation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies<D>::AllowSmimeSoftCertificates() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies<D>::AllowSmimeSoftCertificates() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies)->get_AllowSmimeSoftCertificates(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::Email::EmailMailboxSmimeEncryptionAlgorithm>) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies<D>::RequiredSmimeEncryptionAlgorithm() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies<D>::RequiredSmimeEncryptionAlgorithm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies)->get_RequiredSmimeEncryptionAlgorithm(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::Email::EmailMailboxSmimeEncryptionAlgorithm>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::Email::EmailMailboxSmimeSigningAlgorithm>) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies<D>::RequiredSmimeSigningAlgorithm() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies<D>::RequiredSmimeSigningAlgorithm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies)->get_RequiredSmimeSigningAlgorithm(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::Email::EmailMailboxSmimeSigningAlgorithm>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies2<D>::MustEncryptSmimeMessages() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies2<D>::MustEncryptSmimeMessages() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies2)->get_MustEncryptSmimeMessages(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies2<D>::MustSignSmimeMessages() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies2<D>::MustSignSmimeMessages() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies2)->get_MustSignSmimeMessages(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3<D>::AllowedSmimeEncryptionAlgorithmNegotiation(winrt::Windows::ApplicationModel::Email::EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3<D>::AllowedSmimeEncryptionAlgorithmNegotiation(winrt::Windows::ApplicationModel::Email::EmailMailboxAllowedSmimeEncryptionAlgorithmNegotiation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies3)->put_AllowedSmimeEncryptionAlgorithmNegotiation(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3<D>::AllowSmimeSoftCertificates(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3<D>::AllowSmimeSoftCertificates(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies3)->put_AllowSmimeSoftCertificates(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3<D>::RequiredSmimeEncryptionAlgorithm(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::Email::EmailMailboxSmimeEncryptionAlgorithm> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3<D>::RequiredSmimeEncryptionAlgorithm(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::Email::EmailMailboxSmimeEncryptionAlgorithm> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies3)->put_RequiredSmimeEncryptionAlgorithm(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3<D>::RequiredSmimeSigningAlgorithm(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::Email::EmailMailboxSmimeSigningAlgorithm> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3<D>::RequiredSmimeSigningAlgorithm(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::Email::EmailMailboxSmimeSigningAlgorithm> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies3)->put_RequiredSmimeSigningAlgorithm(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3<D>::MustEncryptSmimeMessages(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3<D>::MustEncryptSmimeMessages(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies3)->put_MustEncryptSmimeMessages(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3<D>::MustSignSmimeMessages(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxPolicies3<D>::MustSignSmimeMessages(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies3)->put_MustSignSmimeMessages(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxSyncStatus) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager<D>::Status() const
{
winrt::Windows::ApplicationModel::Email::EmailMailboxSyncStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxSyncManager)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager<D>::LastSuccessfulSyncTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager<D>::LastAttemptedSyncTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager<D>::SyncAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager<D>::SyncAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxSyncManager)->SyncAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager<D>::SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::EmailMailboxSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager<D>::SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::EmailMailboxSyncManager, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager<D>::SyncStatusChanged_revoker consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager<D>::SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::EmailMailboxSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager<D>::SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::EmailMailboxSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SyncStatusChanged_revoker>(this, SyncStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager<D>::SyncStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager<D>::SyncStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxSyncManager)->remove_SyncStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager2<D>::Status(winrt::Windows::ApplicationModel::Email::EmailMailboxSyncStatus const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager2<D>::Status(winrt::Windows::ApplicationModel::Email::EmailMailboxSyncStatus const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMailboxSyncManager2)->put_Status(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager2<D>::LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager2<D>::LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMailboxSyncManager2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailManagerForUser<D>::ShowComposeNewEmailAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailStore>) consume_Windows_ApplicationModel_Email_IEmailManagerForUser<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::Email::EmailStoreAccessType const& accessType) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailManagerForUser<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::Email::EmailStoreAccessType const& accessType) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailManagerForUser)->RequestStoreAsync(static_cast<int32_t>(accessType), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailStore>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Email_IEmailManagerForUser<D>::User() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Email_IEmailManagerStatics<D>::ShowComposeNewEmailAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& message) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailStore>) consume_Windows_ApplicationModel_Email_IEmailManagerStatics2<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::Email::EmailStoreAccessType const& accessType) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailManagerStatics2<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::Email::EmailStoreAccessType const& accessType) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailManagerStatics2)->RequestStoreAsync(static_cast<int32_t>(accessType), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailStore>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailManagerForUser) consume_Windows_ApplicationModel_Email_IEmailManagerStatics3<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailManagerStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::AllowNewTimeProposal() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::AllowNewTimeProposal() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_AllowNewTimeProposal(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::AllowNewTimeProposal(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::AllowNewTimeProposal(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_AllowNewTimeProposal(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::AppointmentRoamingId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::AppointmentRoamingId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::AppointmentRoamingId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_AppointmentRoamingId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::AppointmentOriginalStartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::AppointmentOriginalStartTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_AppointmentOriginalStartTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::AppointmentOriginalStartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::AppointmentOriginalStartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_AppointmentOriginalStartTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::Duration() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::Duration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::IsAllDay() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::IsAllDay() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_IsAllDay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::IsAllDay(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::IsAllDay(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_IsAllDay(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::IsResponseRequested() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::IsResponseRequested() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_IsResponseRequested(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::IsResponseRequested(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::IsResponseRequested(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_IsResponseRequested(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::Location() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::Location(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::Location(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_Location(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::ProposedStartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::ProposedStartTime() const
{
void* proposedStartTime{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_ProposedStartTime(&proposedStartTime));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ proposedStartTime, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::ProposedStartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& proposedStartTime) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::ProposedStartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& proposedStartTime) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_ProposedStartTime(*(void**)(&proposedStartTime)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::ProposedDuration() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::ProposedDuration() const
{
void* duration{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_ProposedDuration(&duration));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ duration, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::ProposedDuration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& duration) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::ProposedDuration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& duration) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_ProposedDuration(*(void**)(&duration)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::RecurrenceStartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::RecurrenceStartTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_RecurrenceStartTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::RecurrenceStartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::RecurrenceStartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_RecurrenceStartTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::Recurrence() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::Recurrence(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::Recurrence(winrt::Windows::ApplicationModel::Appointments::AppointmentRecurrence const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_Recurrence(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::RemoteChangeNumber() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::RemoteChangeNumber() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->get_RemoteChangeNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::RemoteChangeNumber(uint64_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::RemoteChangeNumber(uint64_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo)->put_RemoteChangeNumber(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::StartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::StartTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMeetingInfo2<D>::IsReportedOutOfDateByServer() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMeetingInfo2<D>::IsReportedOutOfDateByServer() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo2)->get_IsReportedOutOfDateByServer(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage<D>::Subject() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage<D>::Subject(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage<D>::Subject(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage)->put_Subject(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage<D>::Body() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage<D>::Body(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage<D>::Body(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage)->put_Body(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Email::EmailRecipient>) consume_Windows_ApplicationModel_Email_IEmailMessage<D>::To() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage<D>::To() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage)->get_To(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Email::EmailRecipient>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Email::EmailRecipient>) consume_Windows_ApplicationModel_Email_IEmailMessage<D>::CC() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage<D>::CC() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage)->get_CC(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Email::EmailRecipient>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Email::EmailRecipient>) consume_Windows_ApplicationModel_Email_IEmailMessage<D>::Bcc() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage<D>::Bcc() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage)->get_Bcc(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Email::EmailRecipient>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Email::EmailAttachment>) consume_Windows_ApplicationModel_Email_IEmailMessage<D>::Attachments() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage<D>::Attachments() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage)->get_Attachments(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Email::EmailAttachment>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::RemoteId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::RemoteId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::RemoteId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_RemoteId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::MailboxId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::ConversationId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::FolderId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::AllowInternetImages() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::AllowInternetImages() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_AllowInternetImages(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::AllowInternetImages(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::AllowInternetImages(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_AllowInternetImages(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::ChangeNumber() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::ChangeNumber() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_ChangeNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageDownloadState) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::DownloadState() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::DownloadState() const
{
winrt::Windows::ApplicationModel::Email::EmailMessageDownloadState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_DownloadState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::DownloadState(winrt::Windows::ApplicationModel::Email::EmailMessageDownloadState const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::DownloadState(winrt::Windows::ApplicationModel::Email::EmailMessageDownloadState const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_DownloadState(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::EstimatedDownloadSizeInBytes() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::EstimatedDownloadSizeInBytes() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_EstimatedDownloadSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::EstimatedDownloadSizeInBytes(uint32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::EstimatedDownloadSizeInBytes(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_EstimatedDownloadSizeInBytes(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailFlagState) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::FlagState() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::FlagState() const
{
winrt::Windows::ApplicationModel::Email::EmailFlagState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_FlagState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::FlagState(winrt::Windows::ApplicationModel::Email::EmailFlagState const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::FlagState(winrt::Windows::ApplicationModel::Email::EmailFlagState const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_FlagState(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::HasPartialBodies() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::HasPartialBodies() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_HasPartialBodies(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailImportance) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::Importance() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::Importance() const
{
winrt::Windows::ApplicationModel::Email::EmailImportance value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_Importance(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::Importance(winrt::Windows::ApplicationModel::Email::EmailImportance const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::Importance(winrt::Windows::ApplicationModel::Email::EmailImportance const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_Importance(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::InResponseToMessageId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailIrmInfo) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::IrmInfo() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::IrmInfo(winrt::Windows::ApplicationModel::Email::EmailIrmInfo const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::IrmInfo(winrt::Windows::ApplicationModel::Email::EmailIrmInfo const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_IrmInfo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::IsDraftMessage() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::IsDraftMessage() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_IsDraftMessage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::IsRead() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::IsRead() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_IsRead(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::IsRead(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::IsRead(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_IsRead(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::IsSeen() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::IsSeen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_IsSeen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::IsSeen(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::IsSeen(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_IsSeen(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::IsServerSearchMessage() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::IsServerSearchMessage() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_IsServerSearchMessage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::IsSmartSendable() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::IsSmartSendable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_IsSmartSendable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::MessageClass() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::MessageClass(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::MessageClass(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_MessageClass(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::NormalizedSubject() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::OriginalCodePage() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::OriginalCodePage() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_OriginalCodePage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::OriginalCodePage(int32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::OriginalCodePage(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_OriginalCodePage(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::Preview() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::Preview(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::Preview(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_Preview(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::LastResponseKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::LastResponseKind() const
{
winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_LastResponseKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::LastResponseKind(winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::LastResponseKind(winrt::Windows::ApplicationModel::Email::EmailMessageResponseKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_LastResponseKind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipient) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::Sender() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::Sender(winrt::Windows::ApplicationModel::Email::EmailRecipient const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::Sender(winrt::Windows::ApplicationModel::Email::EmailRecipient const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_Sender(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::SentTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::SentTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->get_SentTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::SentTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::SentTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_SentTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMeetingInfo) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::MeetingInfo() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::MeetingInfo(winrt::Windows::ApplicationModel::Email::EmailMeetingInfo const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::MeetingInfo(winrt::Windows::ApplicationModel::Email::EmailMeetingInfo const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->put_MeetingInfo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::GetBodyStream(winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& type) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::GetBodyStream(winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& type) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage2)->GetBodyStream(static_cast<int32_t>(type), &result));
return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::SetBodyStream(winrt::Windows::ApplicationModel::Email::EmailMessageBodyKind const& type, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage2<D>::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<int32_t>(type), *(void**)(&stream)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Email_IEmailMessage3<D>::SmimeData() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage3<D>::SmimeData(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage3<D>::SmimeData(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage3)->put_SmimeData(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageSmimeKind) consume_Windows_ApplicationModel_Email_IEmailMessage3<D>::SmimeKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage3<D>::SmimeKind() const
{
winrt::Windows::ApplicationModel::Email::EmailMessageSmimeKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage3)->get_SmimeKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage3<D>::SmimeKind(winrt::Windows::ApplicationModel::Email::EmailMessageSmimeKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage3<D>::SmimeKind(winrt::Windows::ApplicationModel::Email::EmailMessageSmimeKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage3)->put_SmimeKind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Email::EmailRecipient>) consume_Windows_ApplicationModel_Email_IEmailMessage4<D>::ReplyTo() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage4<D>::ReplyTo() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage4)->get_ReplyTo(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Email::EmailRecipient>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipient) consume_Windows_ApplicationModel_Email_IEmailMessage4<D>::SentRepresenting() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailMessage4<D>::SentRepresenting(winrt::Windows::ApplicationModel::Email::EmailRecipient const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessage4<D>::SentRepresenting(winrt::Windows::ApplicationModel::Email::EmailRecipient const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessage4)->put_SentRepresenting(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMessage>) consume_Windows_ApplicationModel_Email_IEmailMessageBatch<D>::Messages() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessageBatch<D>::Messages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessageBatch)->get_Messages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMessage>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailBatchStatus) consume_Windows_ApplicationModel_Email_IEmailMessageBatch<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessageBatch<D>::Status() const
{
winrt::Windows::ApplicationModel::Email::EmailBatchStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessageBatch)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMessageBatch>) consume_Windows_ApplicationModel_Email_IEmailMessageReader<D>::ReadBatchAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailMessageReader<D>::ReadBatchAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailMessageReader)->ReadBatchAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMessageBatch>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQueryTextSearch) consume_Windows_ApplicationModel_Email_IEmailQueryOptions<D>::TextSearch() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailQueryOptions<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQuerySortDirection) consume_Windows_ApplicationModel_Email_IEmailQueryOptions<D>::SortDirection() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailQueryOptions<D>::SortDirection() const
{
winrt::Windows::ApplicationModel::Email::EmailQuerySortDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryOptions)->get_SortDirection(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailQueryOptions<D>::SortDirection(winrt::Windows::ApplicationModel::Email::EmailQuerySortDirection const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailQueryOptions<D>::SortDirection(winrt::Windows::ApplicationModel::Email::EmailQuerySortDirection const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryOptions)->put_SortDirection(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQuerySortProperty) consume_Windows_ApplicationModel_Email_IEmailQueryOptions<D>::SortProperty() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailQueryOptions<D>::SortProperty() const
{
winrt::Windows::ApplicationModel::Email::EmailQuerySortProperty value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryOptions)->get_SortProperty(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailQueryOptions<D>::SortProperty(winrt::Windows::ApplicationModel::Email::EmailQuerySortProperty const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailQueryOptions<D>::SortProperty(winrt::Windows::ApplicationModel::Email::EmailQuerySortProperty const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryOptions)->put_SortProperty(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQueryKind) consume_Windows_ApplicationModel_Email_IEmailQueryOptions<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailQueryOptions<D>::Kind() const
{
winrt::Windows::ApplicationModel::Email::EmailQueryKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryOptions)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailQueryOptions<D>::Kind(winrt::Windows::ApplicationModel::Email::EmailQueryKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailQueryOptions<D>::Kind(winrt::Windows::ApplicationModel::Email::EmailQueryKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryOptions)->put_Kind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_Email_IEmailQueryOptions<D>::FolderIds() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailQueryOptions<D>::FolderIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryOptions)->get_FolderIds(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQueryOptions) consume_Windows_ApplicationModel_Email_IEmailQueryOptionsFactory<D>::CreateWithText(param::hstring const& text) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailQueryOptionsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQueryOptions) consume_Windows_ApplicationModel_Email_IEmailQueryOptionsFactory<D>::CreateWithTextAndFields(param::hstring const& text, winrt::Windows::ApplicationModel::Email::EmailQuerySearchFields const& fields) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailQueryOptionsFactory<D>::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<uint32_t>(fields), &result));
return winrt::Windows::ApplicationModel::Email::EmailQueryOptions{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQuerySearchFields) consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch<D>::Fields() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch<D>::Fields() const
{
winrt::Windows::ApplicationModel::Email::EmailQuerySearchFields value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryTextSearch)->get_Fields(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch<D>::Fields(winrt::Windows::ApplicationModel::Email::EmailQuerySearchFields const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch<D>::Fields(winrt::Windows::ApplicationModel::Email::EmailQuerySearchFields const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryTextSearch)->put_Fields(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailQuerySearchScope) consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch<D>::SearchScope() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch<D>::SearchScope() const
{
winrt::Windows::ApplicationModel::Email::EmailQuerySearchScope value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryTextSearch)->get_SearchScope(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch<D>::SearchScope(winrt::Windows::ApplicationModel::Email::EmailQuerySearchScope const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch<D>::SearchScope(winrt::Windows::ApplicationModel::Email::EmailQuerySearchScope const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryTextSearch)->put_SearchScope(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch<D>::Text() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailQueryTextSearch<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailQueryTextSearch)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailRecipient<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailRecipient<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailRecipient<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailRecipient<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailRecipient)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Email_IEmailRecipient<D>::Address() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailRecipient<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailRecipient<D>::Address(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailRecipient<D>::Address(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailRecipient)->put_Address(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipient) consume_Windows_ApplicationModel_Email_IEmailRecipientFactory<D>::Create(param::hstring const& address) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailRecipientFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipient) consume_Windows_ApplicationModel_Email_IEmailRecipientFactory<D>::CreateWithName(param::hstring const& address, param::hstring const& name) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailRecipientFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus) consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult<D>::Status() const
{
winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailRecipientResolutionResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult<D>::PublicKeys() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult<D>::PublicKeys() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailRecipientResolutionResult)->get_PublicKeys(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult2<D>::Status(winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult2<D>::Status(winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailRecipientResolutionResult2)->put_Status(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult2<D>::SetPublicKeys(param::iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailRecipientResolutionResult2<D>::SetPublicKeys(param::iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailRecipientResolutionResult2)->SetPublicKeys(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMailbox>>) consume_Windows_ApplicationModel_Email_IEmailStore<D>::FindMailboxesAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailStore<D>::FindMailboxesAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Email::IEmailStore)->FindMailboxesAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMailbox>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) consume_Windows_ApplicationModel_Email_IEmailStore<D>::GetConversationReader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailConversationReader) consume_Windows_ApplicationModel_Email_IEmailStore<D>::GetConversationReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) consume_Windows_ApplicationModel_Email_IEmailStore<D>::GetMessageReader() const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessageReader) consume_Windows_ApplicationModel_Email_IEmailStore<D>::GetMessageReader(winrt::Windows::ApplicationModel::Email::EmailQueryOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMailbox>) consume_Windows_ApplicationModel_Email_IEmailStore<D>::GetMailboxAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailStore<D>::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<winrt::Windows::ApplicationModel::Email::EmailMailbox>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailConversation>) consume_Windows_ApplicationModel_Email_IEmailStore<D>::GetConversationAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailStore<D>::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<winrt::Windows::ApplicationModel::Email::EmailConversation>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailFolder>) consume_Windows_ApplicationModel_Email_IEmailStore<D>::GetFolderAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailStore<D>::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<winrt::Windows::ApplicationModel::Email::EmailFolder>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMessage>) consume_Windows_ApplicationModel_Email_IEmailStore<D>::GetMessageAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailStore<D>::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<winrt::Windows::ApplicationModel::Email::EmailMessage>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMailbox>) consume_Windows_ApplicationModel_Email_IEmailStore<D>::CreateMailboxAsync(param::hstring const& accountName, param::hstring const& accountAddress) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailStore<D>::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<winrt::Windows::ApplicationModel::Email::EmailMailbox>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMailbox>) consume_Windows_ApplicationModel_Email_IEmailStore<D>::CreateMailboxAsync(param::hstring const& accountName, param::hstring const& accountAddress, param::hstring const& userDataAccountId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Email_IEmailStore<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ExtendedExecution.Foreground.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ExtendedExecution.Foreground.h
index 7c281800d77..9f3b26d7794 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ExtendedExecution.Foreground.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundRevokedReason) consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundRevokedEventArgs<D>::Reason() const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundRevokedEventArgs<D>::Reason() const
{
winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundRevokedReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundRevokedEventArgs)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundSession)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession<D>::Revoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundRevokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession<D>::Revoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundRevokedEventArgs> 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 D> typename consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession<D>::Revoked_revoker consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession<D>::Revoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundRevokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession<D>::Revoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundRevokedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Revoked_revoker>(this, Revoked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession<D>::Revoked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession<D>::Revoked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundSession)->remove_Revoked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundResult>) consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession<D>::RequestExtensionAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession<D>::RequestExtensionAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundSession)->RequestExtensionAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundReason) consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession<D>::Reason() const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession<D>::Reason() const
{
winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundSession)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession<D>::Reason(winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundReason const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_Foreground_IExtendedExecutionForegroundSession<D>::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<int32_t>(value)));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ExtendedExecution.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ExtendedExecution.h
index f6a7ec8731d..8d91dd97fd9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.ExtendedExecution.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionRevokedReason) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionRevokedEventArgs<D>::Reason() const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionRevokedEventArgs<D>::Reason() const
{
winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionRevokedReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionRevokedEventArgs)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionReason) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::Reason() const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::Reason() const
{
winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::Reason(winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionReason const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::Reason(winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionReason const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession)->put_Reason(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::PercentProgress() const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::PercentProgress() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession)->get_PercentProgress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::PercentProgress(uint32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::PercentProgress(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession)->put_PercentProgress(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::Revoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionRevokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::Revoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionRevokedEventArgs> 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 D> typename consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::Revoked_revoker consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::Revoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionRevokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::Revoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionRevokedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Revoked_revoker>(this, Revoked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::Revoked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::Revoked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession)->remove_Revoked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionResult>) consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::RequestExtensionAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionSession<D>::RequestExtensionAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession)->RequestExtensionAsync(&operation));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Holographic.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Holographic.h
index eb75a92367e..520fafcf861 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Holographic.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Holographic_IHolographicKeyboard<D>::SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const
+ template <typename D> auto consume_Windows_ApplicationModel_Holographic_IHolographicKeyboard<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Holographic_IHolographicKeyboard<D>::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 <typename D> auto consume_Windows_ApplicationModel_Holographic_IHolographicKeyboard<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Holographic_IHolographicKeyboard<D>::ResetPlacementOverride() const
+ template <typename D> auto consume_Windows_ApplicationModel_Holographic_IHolographicKeyboard<D>::ResetPlacementOverride() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Holographic::IHolographicKeyboard)->ResetPlacementOverride());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Holographic::HolographicKeyboard) consume_Windows_ApplicationModel_Holographic_IHolographicKeyboardStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_ApplicationModel_Holographic_IHolographicKeyboardStatics<D>::GetDefault() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Holographic::IHolographicKeyboardStatics)->GetDefault(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.LockScreen.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.LockScreen.h
index e45e67e5bb4..df9e2e5006d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.LockScreen.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost<D>::RequestUnlock() const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost<D>::RequestUnlock() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockApplicationHost)->RequestUnlock());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost<D>::Unlocking(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockApplicationHost, winrt::Windows::ApplicationModel::LockScreen::LockScreenUnlockingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost<D>::Unlocking(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockApplicationHost, winrt::Windows::ApplicationModel::LockScreen::LockScreenUnlockingEventArgs> 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 D> typename consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost<D>::Unlocking_revoker consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost<D>::Unlocking(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockApplicationHost, winrt::Windows::ApplicationModel::LockScreen::LockScreenUnlockingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost<D>::Unlocking(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockApplicationHost, winrt::Windows::ApplicationModel::LockScreen::LockScreenUnlockingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Unlocking_revoker>(this, Unlocking(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost<D>::Unlocking(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost<D>::Unlocking(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockApplicationHost)->remove_Unlocking(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::LockScreen::LockApplicationHost) consume_Windows_ApplicationModel_LockScreen_ILockApplicationHostStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockApplicationHostStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge<D>::Logo() const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge<D>::Glyph() const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge<D>::Number() const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge<D>::Number() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenBadge)->get_Number(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge<D>::AutomationName() const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge<D>::LaunchApp() const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenBadge<D>::LaunchApp() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenBadge)->LaunchApp());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::LockScreenImageChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::LockScreenImageChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::LockScreenImageChanged_revoker consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::LockScreenImageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::LockScreenImageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, LockScreenImageChanged_revoker>(this, LockScreenImageChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::LockScreenImageChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::LockScreenImageChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->remove_LockScreenImageChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::LockScreenImage() const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::BadgesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::BadgesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::BadgesChanged_revoker consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::BadgesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::BadgesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, BadgesChanged_revoker>(this, BadgesChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::BadgesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::BadgesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->remove_BadgesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::LockScreen::LockScreenBadge>) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::Badges() const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::Badges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->get_Badges(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::LockScreen::LockScreenBadge>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::DetailTextChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::DetailTextChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::DetailTextChanged_revoker consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::DetailTextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::DetailTextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, DetailTextChanged_revoker>(this, DetailTextChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::DetailTextChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::DetailTextChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->remove_DetailTextChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::DetailText() const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::DetailText() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->get_DetailText(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::AlarmIconChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::AlarmIconChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::AlarmIconChanged_revoker consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::AlarmIconChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::AlarmIconChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, AlarmIconChanged_revoker>(this, AlarmIconChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::AlarmIconChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::AlarmIconChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo)->remove_AlarmIconChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::AlarmIcon() const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::LockScreen::ILockScreenUnlockingDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::LockScreen::LockScreenUnlockingDeferral) consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingEventArgs<D>::Deadline() const
+ template <typename D> auto consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingEventArgs<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Payments.Provider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Payments.Provider.h
index 50f15b05483..bfac65db718 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Payments.Provider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppCanMakePaymentTriggerDetails<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppCanMakePaymentTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppCanMakePaymentTriggerDetails<D>::ReportCanMakePaymentResult(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResult const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppCanMakePaymentTriggerDetails<D>::ReportCanMakePaymentResult(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResult const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentAppCanMakePaymentTriggerDetails)->ReportCanMakePaymentResult(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManager<D>::RegisterAsync(param::async_iterable<hstring> const& supportedPaymentMethodIds) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManager<D>::RegisterAsync(param::async_iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManager<D>::UnregisterAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::Provider::PaymentAppManager) consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManagerStatics<D>::Current() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::PaymentRequest() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::PayerEmail() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::PayerEmail(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::PayerEmail(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction)->put_PayerEmail(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::PayerName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::PayerName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::PayerName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction)->put_PayerName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::PayerPhoneNumber() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::PayerPhoneNumber(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::PayerPhoneNumber(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction)->put_PayerPhoneNumber(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult>) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::UpdateShippingAddressAsync(winrt::Windows::ApplicationModel::Payments::PaymentAddress const& shippingAddress) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::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<winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult>) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::UpdateSelectedShippingOptionAsync(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption const& selectedShippingOption) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::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<winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Payments::Provider::PaymentTransactionAcceptResult>) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::AcceptAsync(winrt::Windows::ApplicationModel::Payments::PaymentToken const& paymentToken) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::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<winrt::Windows::ApplicationModel::Payments::Provider::PaymentTransactionAcceptResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::Reject() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransaction<D>::Reject() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction)->Reject());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequestCompletionStatus) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransactionAcceptResult<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransactionAcceptResult<D>::Status() const
{
winrt::Windows::ApplicationModel::Payments::PaymentRequestCompletionStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransactionAcceptResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Payments::Provider::PaymentTransaction>) consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransactionStatics<D>::FromIdAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransactionStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Payments.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Payments.h
index e3b3cdddb14..5c21c93d710 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Payments.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::Country() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::Country(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::Country(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_Country(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::AddressLines() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::AddressLines() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->get_AddressLines(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::AddressLines(param::async_vector_view<hstring> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::AddressLines(param::async_vector_view<hstring> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_AddressLines(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::Region() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::Region(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::Region(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_Region(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::City() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::City(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::City(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_City(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::DependentLocality() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::DependentLocality(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::DependentLocality(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_DependentLocality(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::PostalCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::PostalCode(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::PostalCode(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_PostalCode(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::SortingCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::SortingCode(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::SortingCode(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_SortingCode(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::LanguageCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::LanguageCode(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::LanguageCode(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_LanguageCode(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::Organization() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::Organization(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::Organization(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_Organization(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::Recipient() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::Recipient(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::Recipient(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_Recipient(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::PhoneNumber() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::PhoneNumber(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::PhoneNumber(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentAddress)->put_PhoneNumber(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::Properties() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentAddress<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResultStatus) consume_Windows_ApplicationModel_Payments_IPaymentCanMakePaymentResult<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentCanMakePaymentResult<D>::Status() const
{
winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResultStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentCanMakePaymentResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResult) consume_Windows_ApplicationModel_Payments_IPaymentCanMakePaymentResultFactory<D>::Create(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResultStatus const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentCanMakePaymentResultFactory<D>::Create(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResultStatus const& value) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentCanMakePaymentResultFactory)->Create(static_cast<int32_t>(value), &result));
return winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResult{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount<D>::Currency() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount<D>::Currency(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount<D>::Currency(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentCurrencyAmount)->put_Currency(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount<D>::CurrencySystem() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount<D>::CurrencySystem(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount<D>::CurrencySystem(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentCurrencyAmount)->put_CurrencySystem(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount<D>::Value() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount<D>::Value(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmount<D>::Value(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentCurrencyAmount)->put_Value(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount) consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmountFactory<D>::Create(param::hstring const& value, param::hstring const& currency) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmountFactory<D>::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**)(&currency), &result));
return winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount) consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmountFactory<D>::CreateWithCurrencySystem(param::hstring const& value, param::hstring const& currency, param::hstring const& currencySystem) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentCurrencyAmountFactory<D>::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**)(&currency), *(void**)(&currencySystem), &result));
return winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentItem) consume_Windows_ApplicationModel_Payments_IPaymentDetails<D>::Total() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentDetails<D>::Total(winrt::Windows::ApplicationModel::Payments::PaymentItem const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentDetails<D>::Total(winrt::Windows::ApplicationModel::Payments::PaymentItem const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetails)->put_Total(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Payments::PaymentItem>) consume_Windows_ApplicationModel_Payments_IPaymentDetails<D>::DisplayItems() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentDetails<D>::DisplayItems() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetails)->get_DisplayItems(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Payments::PaymentItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentDetails<D>::DisplayItems(param::async_vector_view<winrt::Windows::ApplicationModel::Payments::PaymentItem> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentDetails<D>::DisplayItems(param::async_vector_view<winrt::Windows::ApplicationModel::Payments::PaymentItem> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetails)->put_DisplayItems(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Payments::PaymentShippingOption>) consume_Windows_ApplicationModel_Payments_IPaymentDetails<D>::ShippingOptions() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentDetails<D>::ShippingOptions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetails)->get_ShippingOptions(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Payments::PaymentShippingOption>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentDetails<D>::ShippingOptions(param::async_vector_view<winrt::Windows::ApplicationModel::Payments::PaymentShippingOption> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentDetails<D>::ShippingOptions(param::async_vector_view<winrt::Windows::ApplicationModel::Payments::PaymentShippingOption> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetails)->put_ShippingOptions(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier>) consume_Windows_ApplicationModel_Payments_IPaymentDetails<D>::Modifiers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentDetails<D>::Modifiers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetails)->get_Modifiers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentDetails<D>::Modifiers(param::async_vector_view<winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentDetails<D>::Modifiers(param::async_vector_view<winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetails)->put_Modifiers(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetails) consume_Windows_ApplicationModel_Payments_IPaymentDetailsFactory<D>::Create(winrt::Windows::ApplicationModel::Payments::PaymentItem const& total) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetails) consume_Windows_ApplicationModel_Payments_IPaymentDetailsFactory<D>::CreateWithDisplayItems(winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentItem> const& displayItems) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsFactory<D>::CreateWithDisplayItems(winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentItem> 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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier<D>::JsonData() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier<D>::SupportedMethodIds() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier<D>::SupportedMethodIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetailsModifier)->get_SupportedMethodIds(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentItem) consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier<D>::Total() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Payments::PaymentItem>) consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier<D>::AdditionalDisplayItems() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier<D>::AdditionalDisplayItems() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentDetailsModifier)->get_AdditionalDisplayItems(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Payments::PaymentItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier) consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifierFactory<D>::Create(param::iterable<hstring> const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifierFactory<D>::Create(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier) consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifierFactory<D>::CreateWithAdditionalDisplayItems(param::iterable<hstring> const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentItem> const& additionalDisplayItems) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifierFactory<D>::CreateWithAdditionalDisplayItems(param::iterable<hstring> const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentItem> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier) consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifierFactory<D>::CreateWithAdditionalDisplayItemsAndJsonData(param::iterable<hstring> const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentItem> const& additionalDisplayItems, param::hstring const& jsonData) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifierFactory<D>::CreateWithAdditionalDisplayItemsAndJsonData(param::iterable<hstring> const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentItem> 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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentItem<D>::Label() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentItem<D>::Label(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentItem<D>::Label(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentItem)->put_Label(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount) consume_Windows_ApplicationModel_Payments_IPaymentItem<D>::Amount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentItem<D>::Amount(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentItem<D>::Amount(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentItem)->put_Amount(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Payments_IPaymentItem<D>::Pending() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentItem<D>::Pending() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentItem)->get_Pending(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentItem<D>::Pending(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentItem<D>::Pending(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentItem)->put_Pending(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentItem) consume_Windows_ApplicationModel_Payments_IPaymentItemFactory<D>::Create(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) consume_Windows_ApplicationModel_Payments_IPaymentMediator<D>::GetSupportedMethodIdsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentMediator<D>::GetSupportedMethodIdsAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentMediator)->GetSupportedMethodIdsAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Payments::PaymentRequestSubmitResult>) consume_Windows_ApplicationModel_Payments_IPaymentMediator<D>::SubmitPaymentRequestAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentMediator<D>::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<winrt::Windows::ApplicationModel::Payments::PaymentRequestSubmitResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Payments::PaymentRequestSubmitResult>) consume_Windows_ApplicationModel_Payments_IPaymentMediator<D>::SubmitPaymentRequestAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest, winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedHandler const& changeHandler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentMediator<D>::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<winrt::Windows::ApplicationModel::Payments::PaymentRequestSubmitResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResult>) consume_Windows_ApplicationModel_Payments_IPaymentMediator2<D>::CanMakePaymentAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentMediator2<D>::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<winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfo<D>::PackageFullName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfo<D>::Uri() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo) consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfoFactory<D>::Create(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentMerchantInfoFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_ApplicationModel_Payments_IPaymentMethodData<D>::SupportedMethodIds() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentMethodData<D>::SupportedMethodIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentMethodData)->get_SupportedMethodIds(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentMethodData<D>::JsonData() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentMethodData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentMethodData) consume_Windows_ApplicationModel_Payments_IPaymentMethodDataFactory<D>::Create(param::iterable<hstring> const& supportedMethodIds) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentMethodDataFactory<D>::Create(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentMethodData) consume_Windows_ApplicationModel_Payments_IPaymentMethodDataFactory<D>::CreateWithJsonData(param::iterable<hstring> const& supportedMethodIds, param::hstring const& jsonData) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentMethodDataFactory<D>::CreateWithJsonData(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence) consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::RequestPayerEmail() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::RequestPayerEmail() const
{
winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->get_RequestPayerEmail(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::RequestPayerEmail(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::RequestPayerEmail(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->put_RequestPayerEmail(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence) consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::RequestPayerName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::RequestPayerName() const
{
winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->get_RequestPayerName(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::RequestPayerName(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::RequestPayerName(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->put_RequestPayerName(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence) consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::RequestPayerPhoneNumber() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::RequestPayerPhoneNumber() const
{
winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->get_RequestPayerPhoneNumber(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::RequestPayerPhoneNumber(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::RequestPayerPhoneNumber(winrt::Windows::ApplicationModel::Payments::PaymentOptionPresence const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->put_RequestPayerPhoneNumber(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::RequestShipping() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::RequestShipping() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->get_RequestShipping(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::RequestShipping(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::RequestShipping(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->put_RequestShipping(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingType) consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::ShippingType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::ShippingType() const
{
winrt::Windows::ApplicationModel::Payments::PaymentShippingType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->get_ShippingType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::ShippingType(winrt::Windows::ApplicationModel::Payments::PaymentShippingType const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentOptions<D>::ShippingType(winrt::Windows::ApplicationModel::Payments::PaymentShippingType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentOptions)->put_ShippingType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo) consume_Windows_ApplicationModel_Payments_IPaymentRequest<D>::MerchantInfo() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetails) consume_Windows_ApplicationModel_Payments_IPaymentRequest<D>::Details() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Payments::PaymentMethodData>) consume_Windows_ApplicationModel_Payments_IPaymentRequest<D>::MethodData() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequest<D>::MethodData() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequest)->get_MethodData(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Payments::PaymentMethodData>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentOptions) consume_Windows_ApplicationModel_Payments_IPaymentRequest<D>::Options() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentRequest2<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequestChangeKind) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs<D>::ChangeKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs<D>::ChangeKind() const
{
winrt::Windows::ApplicationModel::Payments::PaymentRequestChangeKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedArgs)->get_ChangeKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentAddress) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs<D>::ShippingAddress() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs<D>::SelectedShippingOption() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs<D>::Acknowledge(winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult const& changeResult) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedArgs<D>::Acknowledge(winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult const& changeResult) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedArgs)->Acknowledge(*(void**)(&changeResult)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult<D>::ChangeAcceptedByMerchant() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult<D>::ChangeAcceptedByMerchant() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedResult)->get_ChangeAcceptedByMerchant(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult<D>::ChangeAcceptedByMerchant(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult<D>::ChangeAcceptedByMerchant(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedResult)->put_ChangeAcceptedByMerchant(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult<D>::Message() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult<D>::Message(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult<D>::Message(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedResult)->put_Message(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetails) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult<D>::UpdatedPaymentDetails() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult<D>::UpdatedPaymentDetails(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResult<D>::UpdatedPaymentDetails(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedResult)->put_UpdatedPaymentDetails(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResultFactory<D>::Create(bool changeAcceptedByMerchant) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResultFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult) consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResultFactory<D>::CreateWithPaymentDetails(bool changeAcceptedByMerchant, winrt::Windows::ApplicationModel::Payments::PaymentDetails const& updatedPaymentDetails) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestChangedResultFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory<D>::Create(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentMethodData> const& methodData) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory<D>::Create(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentMethodData> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory<D>::CreateWithMerchantInfo(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentMethodData> const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory<D>::CreateWithMerchantInfo(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentMethodData> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory<D>::CreateWithMerchantInfoAndOptions(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentMethodData> const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo, winrt::Windows::ApplicationModel::Payments::PaymentOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory<D>::CreateWithMerchantInfoAndOptions(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentMethodData> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory2<D>::CreateWithMerchantInfoOptionsAndId(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentMethodData> const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo, winrt::Windows::ApplicationModel::Payments::PaymentOptions const& options, param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory2<D>::CreateWithMerchantInfoOptionsAndId(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentMethodData> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequestStatus) consume_Windows_ApplicationModel_Payments_IPaymentRequestSubmitResult<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestSubmitResult<D>::Status() const
{
winrt::Windows::ApplicationModel::Payments::PaymentRequestStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentRequestSubmitResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentResponse) consume_Windows_ApplicationModel_Payments_IPaymentRequestSubmitResult<D>::Response() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentRequestSubmitResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentToken) consume_Windows_ApplicationModel_Payments_IPaymentResponse<D>::PaymentToken() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentResponse<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption) consume_Windows_ApplicationModel_Payments_IPaymentResponse<D>::ShippingOption() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentResponse<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentAddress) consume_Windows_ApplicationModel_Payments_IPaymentResponse<D>::ShippingAddress() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentResponse<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentResponse<D>::PayerEmail() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentResponse<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentResponse<D>::PayerName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentResponse<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentResponse<D>::PayerPhoneNumber() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentResponse<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Payments_IPaymentResponse<D>::CompleteAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequestCompletionStatus const& status) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentResponse<D>::CompleteAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequestCompletionStatus const& status) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentResponse)->CompleteAsync(static_cast<int32_t>(status), &result));
return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentShippingOption<D>::Label() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOption<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentShippingOption<D>::Label(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOption<D>::Label(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentShippingOption)->put_Label(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount) consume_Windows_ApplicationModel_Payments_IPaymentShippingOption<D>::Amount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOption<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentShippingOption<D>::Amount(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOption<D>::Amount(winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentShippingOption)->put_Amount(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentShippingOption<D>::Tag() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOption<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentShippingOption<D>::Tag(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOption<D>::Tag(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentShippingOption)->put_Tag(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Payments_IPaymentShippingOption<D>::IsSelected() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOption<D>::IsSelected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentShippingOption)->get_IsSelected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Payments_IPaymentShippingOption<D>::IsSelected(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOption<D>::IsSelected(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Payments::IPaymentShippingOption)->put_IsSelected(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption) consume_Windows_ApplicationModel_Payments_IPaymentShippingOptionFactory<D>::Create(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOptionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption) consume_Windows_ApplicationModel_Payments_IPaymentShippingOptionFactory<D>::CreateWithSelected(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount, bool selected) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOptionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption) consume_Windows_ApplicationModel_Payments_IPaymentShippingOptionFactory<D>::CreateWithSelectedAndTag(param::hstring const& label, winrt::Windows::ApplicationModel::Payments::PaymentCurrencyAmount const& amount, bool selected, param::hstring const& tag) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentShippingOptionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentToken<D>::PaymentMethodId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentToken<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Payments_IPaymentToken<D>::JsonDetails() const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentToken<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentToken) consume_Windows_ApplicationModel_Payments_IPaymentTokenFactory<D>::Create(param::hstring const& paymentMethodId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentTokenFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentToken) consume_Windows_ApplicationModel_Payments_IPaymentTokenFactory<D>::CreateWithJsonDetails(param::hstring const& paymentMethodId, param::hstring const& jsonDetails) const
+ template <typename D> auto consume_Windows_ApplicationModel_Payments_IPaymentTokenFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.Holographic.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.Holographic.h
index 5139c41b38c..0206d1d3210 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.Holographic.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Preview_Holographic_IHolographicApplicationPreviewStatics<D>::IsCurrentViewPresentedOnHolographicDisplay() const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Holographic_IHolographicApplicationPreviewStatics<D>::IsCurrentViewPresentedOnHolographicDisplay() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Holographic::IHolographicApplicationPreviewStatics)->IsCurrentViewPresentedOnHolographicDisplay(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Preview_Holographic_IHolographicApplicationPreviewStatics<D>::IsHolographicActivation(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& activatedEventArgs) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Holographic_IHolographicApplicationPreviewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreview<D>::SetPlacementOverride(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& topCenterPosition, winrt::Windows::Foundation::Numerics::float3 const& normal) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreview<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreview<D>::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 <typename D> auto consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreview<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreview<D>::ResetPlacementOverride() const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreview<D>::ResetPlacementOverride() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Holographic::IHolographicKeyboardPlacementOverridePreview)->ResetPlacementOverride());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Preview::Holographic::HolographicKeyboardPlacementOverridePreview) consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreviewStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreviewStatics<D>::GetForCurrentView() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Holographic::IHolographicKeyboardPlacementOverridePreviewStatics)->GetForCurrentView(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.InkWorkspace.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.InkWorkspace.h
index c90949273e9..d1dbbc17dcd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.InkWorkspace.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Preview_InkWorkspace_IInkWorkspaceHostedAppManager<D>::SetThumbnailAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_InkWorkspace_IInkWorkspaceHostedAppManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Preview::InkWorkspace::InkWorkspaceHostedAppManager) consume_Windows_ApplicationModel_Preview_InkWorkspace_IInkWorkspaceHostedAppManagerStatics<D>::GetForCurrentApp() const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_InkWorkspace_IInkWorkspaceHostedAppManagerStatics<D>::GetForCurrentApp() const
{
void* current{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::InkWorkspace::IInkWorkspaceHostedAppManagerStatics)->GetForCurrentApp(&current));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.Notes.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.Notes.h
index 750c93f8ed9..bc403f70717 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Preview.Notes.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Preview_Notes_INotePlacementChangedPreviewEventArgs<D>::ViewId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotePlacementChangedPreviewEventArgs<D>::ViewId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotePlacementChangedPreviewEventArgs)->get_ViewId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_Preview_Notes_INoteVisibilityChangedPreviewEventArgs<D>::ViewId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INoteVisibilityChangedPreviewEventArgs<D>::ViewId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INoteVisibilityChangedPreviewEventArgs)->get_ViewId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Preview_Notes_INoteVisibilityChangedPreviewEventArgs<D>::IsVisible() const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INoteVisibilityChangedPreviewEventArgs<D>::IsVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INoteVisibilityChangedPreviewEventArgs)->get_IsVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::IsScreenLocked() const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::IsScreenLocked() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->get_IsScreenLocked(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::ShowNote(int32_t noteViewId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::ShowNote(int32_t noteViewId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->ShowNote(noteViewId));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::ShowNoteRelativeTo(int32_t noteViewId, int32_t anchorNoteViewId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::ShowNoteRelativeTo(int32_t noteViewId, int32_t anchorNoteViewId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->ShowNoteRelativeTo(noteViewId, anchorNoteViewId));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::ShowNoteWithPlacement(int32_t noteViewId, winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::HideNote(int32_t noteViewId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::HideNote(int32_t noteViewId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->HideNote(noteViewId));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::GetNotePlacement(int32_t noteViewId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::TrySetNoteSize(int32_t noteViewId, winrt::Windows::Foundation::Size const& size) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::SetFocusToNextView() const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::SetFocusToNextView() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->SetFocusToNextView());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::SetNotesThumbnailAsync(winrt::Windows::Storage::Streams::IBuffer const& thumbnail) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::SystemLockStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::SystemLockStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::SystemLockStateChanged_revoker consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::SystemLockStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::SystemLockStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SystemLockStateChanged_revoker>(this, SystemLockStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::SystemLockStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::SystemLockStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->remove_SystemLockStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::NotePlacementChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::ApplicationModel::Preview::Notes::NotePlacementChangedPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::NotePlacementChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::ApplicationModel::Preview::Notes::NotePlacementChangedPreviewEventArgs> 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 D> typename consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::NotePlacementChanged_revoker consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::NotePlacementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::ApplicationModel::Preview::Notes::NotePlacementChangedPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::NotePlacementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::ApplicationModel::Preview::Notes::NotePlacementChangedPreviewEventArgs> const& handler) const
{
return impl::make_event_revoker<D, NotePlacementChanged_revoker>(this, NotePlacementChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::NotePlacementChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::NotePlacementChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->remove_NotePlacementChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::NoteVisibilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::ApplicationModel::Preview::Notes::NoteVisibilityChangedPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::NoteVisibilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::ApplicationModel::Preview::Notes::NoteVisibilityChangedPreviewEventArgs> 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 D> typename consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::NoteVisibilityChanged_revoker consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::NoteVisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::ApplicationModel::Preview::Notes::NoteVisibilityChangedPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::NoteVisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::ApplicationModel::Preview::Notes::NoteVisibilityChangedPreviewEventArgs> const& handler) const
{
return impl::make_event_revoker<D, NoteVisibilityChanged_revoker>(this, NoteVisibilityChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::NoteVisibilityChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview<D>::NoteVisibilityChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview)->remove_NoteVisibilityChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2<D>::ShowNoteRelativeTo(int32_t noteViewId, int32_t anchorNoteViewId, winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreviewShowNoteOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2<D>::ShowNoteWithPlacement(int32_t noteViewId, winrt::Windows::Storage::Streams::IBuffer const& data, winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreviewShowNoteOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2<D>::SetFocusToPreviousView() const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2<D>::SetFocusToPreviousView() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview2)->SetFocusToPreviousView());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2<D>::SetThumbnailImageForTaskSwitcherAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreview2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewShowNoteOptions<D>::ShowWithFocus() const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewShowNoteOptions<D>::ShowWithFocus() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreviewShowNoteOptions)->get_ShowWithFocus(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewShowNoteOptions<D>::ShowWithFocus(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewShowNoteOptions<D>::ShowWithFocus(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreviewShowNoteOptions)->put_ShowWithFocus(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview) consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewStatics<D>::GetForCurrentApp() const
+ template <typename D> auto consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewStatics<D>::GetForCurrentApp() const
{
void* current{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreviewStatics)->GetForCurrentApp(&current));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.Core.h
index b9f8d8bdd0f..8a261cceed7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Resources_Core_INamedResource<D>::Uri() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_INamedResource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate>) consume_Windows_ApplicationModel_Resources_Core_INamedResource<D>::Candidates() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_INamedResource<D>::Candidates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::INamedResource)->get_Candidates(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate) consume_Windows_ApplicationModel_Resources_Core_INamedResource<D>::Resolve() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_INamedResource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate) consume_Windows_ApplicationModel_Resources_Core_INamedResource<D>::Resolve(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& resourceContext) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_INamedResource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate>) consume_Windows_ApplicationModel_Resources_Core_INamedResource<D>::ResolveAll() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_INamedResource<D>::ResolveAll() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::INamedResource)->ResolveAll(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate>) consume_Windows_ApplicationModel_Resources_Core_INamedResource<D>::ResolveAll(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& resourceContext) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_INamedResource<D>::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<winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate>{ instances, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifier>) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate<D>::Qualifiers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate<D>::Qualifiers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate)->get_Qualifiers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifier>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate<D>::IsMatch() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate<D>::IsMatch() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate)->get_IsMatch(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate<D>::IsMatchAsDefault() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate<D>::IsMatchAsDefault() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate)->get_IsMatchAsDefault(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate<D>::IsDefault() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate<D>::IsDefault() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate)->get_IsDefault(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate<D>::ValueAsString() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate<D>::GetValueAsFileAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate<D>::GetValueAsFileAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate)->GetValueAsFileAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate<D>::GetQualifierValue(param::hstring const& qualifierName) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate2<D>::GetValueAsStreamAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate2<D>::GetValueAsStreamAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate2)->GetValueAsStreamAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidateKind) consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate3<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate3<D>::Kind() const
{
winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidateKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate3)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableMap<hstring, hstring>) consume_Windows_ApplicationModel_Resources_Core_IResourceContext<D>::QualifierValues() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceContext<D>::QualifierValues() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContext)->get_QualifierValues(&value));
return winrt::Windows::Foundation::Collections::IObservableMap<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceContext<D>::Reset() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceContext<D>::Reset() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContext)->Reset());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceContext<D>::Reset(param::iterable<hstring> const& qualifierNames) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceContext<D>::Reset(param::iterable<hstring> const& qualifierNames) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContext)->ResetQualifierValues(*(void**)(&qualifierNames)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceContext<D>::OverrideToMatch(param::iterable<winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifier> const& result) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceContext<D>::OverrideToMatch(param::iterable<winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifier> const& result) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContext)->OverrideToMatch(*(void**)(&result)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) consume_Windows_ApplicationModel_Resources_Core_IResourceContext<D>::Clone() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_ApplicationModel_Resources_Core_IResourceContext<D>::Languages() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceContext<D>::Languages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContext)->get_Languages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceContext<D>::Languages(param::async_vector_view<hstring> const& languages) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceContext<D>::Languages(param::async_vector_view<hstring> const& languages) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContext)->put_Languages(*(void**)(&languages)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics<D>::CreateMatchingContext(param::iterable<winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifier> const& result) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics<D>::CreateMatchingContext(param::iterable<winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifier> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2<D>::SetGlobalQualifierValue(param::hstring const& key, param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2<D>::ResetGlobalQualifierValues() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2<D>::ResetGlobalQualifierValues() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContextStatics2)->ResetGlobalQualifierValues());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2<D>::ResetGlobalQualifierValues(param::iterable<hstring> const& qualifierNames) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2<D>::ResetGlobalQualifierValues(param::iterable<hstring> const& qualifierNames) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceContextStatics2)->ResetGlobalQualifierValuesForSpecifiedQualifiers(*(void**)(&qualifierNames)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2<D>::GetForViewIndependentUse() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics3<D>::SetGlobalQualifierValue(param::hstring const& key, param::hstring const& value, winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifierPersistence const& persistence) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics3<D>::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<int32_t>(persistence)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics4<D>::GetForUIContext(winrt::Windows::UI::UIContext const& context) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceMap) consume_Windows_ApplicationModel_Resources_Core_IResourceManager<D>::MainResourceMap() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::Resources::Core::ResourceMap>) consume_Windows_ApplicationModel_Resources_Core_IResourceManager<D>::AllResourceMaps() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceManager<D>::AllResourceMaps() const
{
void* maps{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceManager)->get_AllResourceMaps(&maps));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::Resources::Core::ResourceMap>{ maps, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) consume_Windows_ApplicationModel_Resources_Core_IResourceManager<D>::DefaultContext() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceManager<D>::LoadPriFiles(param::iterable<winrt::Windows::Storage::IStorageFile> const& files) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceManager<D>::LoadPriFiles(param::iterable<winrt::Windows::Storage::IStorageFile> const& files) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceManager)->LoadPriFiles(*(void**)(&files)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Resources_Core_IResourceManager<D>::UnloadPriFiles(param::iterable<winrt::Windows::Storage::IStorageFile> const& files) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceManager<D>::UnloadPriFiles(param::iterable<winrt::Windows::Storage::IStorageFile> const& files) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceManager)->UnloadPriFiles(*(void**)(&files)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Core::NamedResource>) consume_Windows_ApplicationModel_Resources_Core_IResourceManager2<D>::GetAllNamedResourcesForPackage(param::hstring const& packageName, winrt::Windows::ApplicationModel::Resources::Core::ResourceLayoutInfo const& resourceLayoutInfo) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceManager2<D>::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<winrt::Windows::ApplicationModel::Resources::Core::NamedResource>{ table, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Core::ResourceMap>) consume_Windows_ApplicationModel_Resources_Core_IResourceManager2<D>::GetAllSubtreesForPackage(param::hstring const& packageName, winrt::Windows::ApplicationModel::Resources::Core::ResourceLayoutInfo const& resourceLayoutInfo) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceManager2<D>::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<winrt::Windows::ApplicationModel::Resources::Core::ResourceMap>{ table, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceManager) consume_Windows_ApplicationModel_Resources_Core_IResourceManagerStatics<D>::Current() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Resources_Core_IResourceManagerStatics<D>::IsResourceReference(param::hstring const& resourceReference) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Resources_Core_IResourceMap<D>::Uri() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceMap<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate) consume_Windows_ApplicationModel_Resources_Core_IResourceMap<D>::GetValue(param::hstring const& resource) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceMap<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate) consume_Windows_ApplicationModel_Resources_Core_IResourceMap<D>::GetValue(param::hstring const& resource, winrt::Windows::ApplicationModel::Resources::Core::ResourceContext const& context) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceMap<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceMap) consume_Windows_ApplicationModel_Resources_Core_IResourceMap<D>::GetSubtree(param::hstring const& reference) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceMap<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier<D>::QualifierName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier<D>::QualifierValue() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier<D>::IsDefault() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier<D>::IsDefault() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceQualifier)->get_IsDefault(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier<D>::IsMatch() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier<D>::IsMatch() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceQualifier)->get_IsMatch(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier<D>::Score() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Core_IResourceQualifier<D>::Score() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Core::IResourceQualifier)->get_Score(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.Management.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.Management.h
index a017ac5935b..58fe3b8aeef 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.Management.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Management::IndexedResourceType) consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate<D>::Type() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate<D>::Type() const
{
winrt::Windows::ApplicationModel::Resources::Management::IndexedResourceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceCandidate)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate<D>::Uri() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>) consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate<D>::Metadata() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate<D>::Metadata() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceCandidate)->get_Metadata(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Management::IndexedResourceQualifier>) consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate<D>::Qualifiers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate<D>::Qualifiers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceCandidate)->get_Qualifiers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Management::IndexedResourceQualifier>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate<D>::ValueAsString() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate<D>::GetQualifierValue(param::hstring const& qualifierName) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceCandidate<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceQualifier<D>::QualifierName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceQualifier<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceQualifier<D>::QualifierValue() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Management_IIndexedResourceQualifier<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Management::IndexedResourceCandidate) consume_Windows_ApplicationModel_Resources_Management_IResourceIndexer<D>::IndexFilePath(winrt::Windows::Foundation::Uri const& filePath) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Management_IResourceIndexer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Management::IndexedResourceCandidate>>) consume_Windows_ApplicationModel_Resources_Management_IResourceIndexer<D>::IndexFileContentsAsync(winrt::Windows::Foundation::Uri const& file) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Management_IResourceIndexer<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Management::IndexedResourceCandidate>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Management::ResourceIndexer) consume_Windows_ApplicationModel_Resources_Management_IResourceIndexerFactory<D>::CreateResourceIndexer(winrt::Windows::Foundation::Uri const& projectRoot) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Management_IResourceIndexerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Management::ResourceIndexer) consume_Windows_ApplicationModel_Resources_Management_IResourceIndexerFactory2<D>::CreateResourceIndexerWithExtension(winrt::Windows::Foundation::Uri const& projectRoot, winrt::Windows::Foundation::Uri const& extensionDllPath) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_Management_IResourceIndexerFactory2<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.h
index 194df637741..6e8bf7d8f41 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Resources.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_IResourceLoader<D>::GetString(param::hstring const& resource) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_IResourceLoader<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_IResourceLoader2<D>::GetStringForUri(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_IResourceLoader2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) consume_Windows_ApplicationModel_Resources_IResourceLoaderFactory<D>::CreateResourceLoaderByName(param::hstring const& name) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_IResourceLoaderFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics<D>::GetStringForReference(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2<D>::GetForCurrentView(param::hstring const& name) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2<D>::GetForViewIndependentUse() const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2<D>::GetForViewIndependentUse(param::hstring const& name) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::ResourceLoader) consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics3<D>::GetForUIContext(winrt::Windows::UI::UIContext const& context) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics4<D>::GetDefaultPriPath(param::hstring const& packageFullName) const
+ template <typename D> auto consume_Windows_ApplicationModel_Resources_IResourceLoaderStatics4<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Search.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Search.Core.h
index 20a523f3c30..1946f4a1331 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Search.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionKind) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion<D>::Kind() const
{
winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestion)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion<D>::Text() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion<D>::Tag() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion<D>::DetailText() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion<D>::Image() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion<D>::ImageAlternateText() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestion<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SearchHistoryEnabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SearchHistoryEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->get_SearchHistoryEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SearchHistoryEnabled(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SearchHistoryEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->put_SearchHistoryEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SearchHistoryContext() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SearchHistoryContext(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SearchHistoryContext(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->put_SearchHistoryContext(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->SetLocalContentSuggestionSettings(*(void**)(&settings)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SetQuery(param::hstring const& queryText) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SetQuery(param::hstring const& queryText) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->SetQuery(*(void**)(&queryText)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SetQuery(param::hstring const& queryText, param::hstring const& language) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SetQuery(param::hstring const& queryText, param::hstring const& language, winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails const& linguisticDetails) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestion>) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::Suggestions() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::Suggestions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->get_Suggestions(&value));
return winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestion>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::AddToHistory(param::hstring const& queryText) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::AddToHistory(param::hstring const& queryText) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->AddToHistory(*(void**)(&queryText)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::AddToHistory(param::hstring const& queryText, param::hstring const& language) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::ClearHistory() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::ClearHistory() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->ClearHistory());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionManager, winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionManager, winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionsRequestedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SuggestionsRequested_revoker consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionManager, winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionManager, winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionsRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SuggestionsRequested_revoker>(this, SuggestionsRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SuggestionsRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::SuggestionsRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->remove_SuggestionsRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::RequestingFocusOnKeyboardInput(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionManager, winrt::Windows::ApplicationModel::Search::Core::RequestingFocusOnKeyboardInputEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::RequestingFocusOnKeyboardInput(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionManager, winrt::Windows::ApplicationModel::Search::Core::RequestingFocusOnKeyboardInputEventArgs> 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 D> typename consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::RequestingFocusOnKeyboardInput_revoker consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::RequestingFocusOnKeyboardInput(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionManager, winrt::Windows::ApplicationModel::Search::Core::RequestingFocusOnKeyboardInputEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::RequestingFocusOnKeyboardInput(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionManager, winrt::Windows::ApplicationModel::Search::Core::RequestingFocusOnKeyboardInputEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RequestingFocusOnKeyboardInput_revoker>(this, RequestingFocusOnKeyboardInput(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::RequestingFocusOnKeyboardInput(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionManager<D>::RequestingFocusOnKeyboardInput(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager)->remove_RequestingFocusOnKeyboardInput(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs<D>::QueryText() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs<D>::Language() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs<D>::LinguisticDetails() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchSuggestionsRequest) consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_Core_ISearchSuggestionsRequestedEventArgs<D>::Request() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionsRequestedEventArgs)->get_Request(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Search.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Search.h
index 144cce0bbbc..8568417804b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Search.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings<D>::Enabled(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings<D>::Enabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ILocalContentSuggestionSettings)->put_Enabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings<D>::Enabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings<D>::Enabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ILocalContentSuggestionSettings)->get_Enabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Storage::StorageFolder>) consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings<D>::Locations() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings<D>::Locations() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ILocalContentSuggestionSettings)->get_Locations(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Storage::StorageFolder>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings<D>::AqsFilter(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings<D>::AqsFilter(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ILocalContentSuggestionSettings)->put_AqsFilter(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings<D>::AqsFilter() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings<D>::PropertiesToMatch() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ILocalContentSuggestionSettings<D>::PropertiesToMatch() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ILocalContentSuggestionSettings)->get_PropertiesToMatch(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane<D>::SearchHistoryEnabled(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::SearchHistoryEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->put_SearchHistoryEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_ISearchPane<D>::SearchHistoryEnabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::SearchHistoryEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->get_SearchHistoryEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane<D>::SearchHistoryContext(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::SearchHistoryContext(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->put_SearchHistoryContext(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPane<D>::SearchHistoryContext() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane<D>::PlaceholderText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::PlaceholderText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->put_PlaceholderText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPane<D>::PlaceholderText() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPane<D>::QueryText() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPane<D>::Language() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_ISearchPane<D>::Visible() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::Visible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->get_Visible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Search_ISearchPane<D>::VisibilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneVisibilityChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::VisibilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneVisibilityChangedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Search_ISearchPane<D>::VisibilityChanged_revoker consume_Windows_ApplicationModel_Search_ISearchPane<D>::VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneVisibilityChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneVisibilityChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, VisibilityChanged_revoker>(this, VisibilityChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane<D>::VisibilityChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::VisibilityChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->remove_VisibilityChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Search_ISearchPane<D>::QueryChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneQueryChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::QueryChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneQueryChangedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Search_ISearchPane<D>::QueryChanged_revoker consume_Windows_ApplicationModel_Search_ISearchPane<D>::QueryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneQueryChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::QueryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneQueryChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, QueryChanged_revoker>(this, QueryChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane<D>::QueryChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::QueryChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->remove_QueryChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Search_ISearchPane<D>::SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequestedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Search_ISearchPane<D>::SuggestionsRequested_revoker consume_Windows_ApplicationModel_Search_ISearchPane<D>::SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SuggestionsRequested_revoker>(this, SuggestionsRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane<D>::SuggestionsRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::SuggestionsRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->remove_SuggestionsRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Search_ISearchPane<D>::QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneQuerySubmittedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneQuerySubmittedEventArgs> 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 D> typename consume_Windows_ApplicationModel_Search_ISearchPane<D>::QuerySubmitted_revoker consume_Windows_ApplicationModel_Search_ISearchPane<D>::QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneQuerySubmittedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneQuerySubmittedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, QuerySubmitted_revoker>(this, QuerySubmitted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane<D>::QuerySubmitted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::QuerySubmitted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->remove_QuerySubmitted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Search_ISearchPane<D>::ResultSuggestionChosen(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneResultSuggestionChosenEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::ResultSuggestionChosen(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneResultSuggestionChosenEventArgs> 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 D> typename consume_Windows_ApplicationModel_Search_ISearchPane<D>::ResultSuggestionChosen_revoker consume_Windows_ApplicationModel_Search_ISearchPane<D>::ResultSuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneResultSuggestionChosenEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::ResultSuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneResultSuggestionChosenEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ResultSuggestionChosen_revoker>(this, ResultSuggestionChosen(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane<D>::ResultSuggestionChosen(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::ResultSuggestionChosen(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->remove_ResultSuggestionChosen(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane<D>::SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->SetLocalContentSuggestionSettings(*(void**)(&settings)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane<D>::Show() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::Show() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->ShowOverloadDefault());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane<D>::Show(param::hstring const& query) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::Show(param::hstring const& query) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->ShowOverloadWithQuery(*(void**)(&query)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPane<D>::ShowOnKeyboardInput(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::ShowOnKeyboardInput(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->put_ShowOnKeyboardInput(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_ISearchPane<D>::ShowOnKeyboardInput() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::ShowOnKeyboardInput() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPane)->get_ShowOnKeyboardInput(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_ISearchPane<D>::TrySetQueryText(param::hstring const& query) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPane<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPaneQueryChangedEventArgs<D>::QueryText() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneQueryChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPaneQueryChangedEventArgs<D>::Language() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneQueryChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneQueryLinguisticDetails) consume_Windows_ApplicationModel_Search_ISearchPaneQueryChangedEventArgs<D>::LinguisticDetails() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneQueryChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_ApplicationModel_Search_ISearchPaneQueryLinguisticDetails<D>::QueryTextAlternatives() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneQueryLinguisticDetails<D>::QueryTextAlternatives() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneQueryLinguisticDetails)->get_QueryTextAlternatives(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Search_ISearchPaneQueryLinguisticDetails<D>::QueryTextCompositionStart() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneQueryLinguisticDetails<D>::QueryTextCompositionStart() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneQueryLinguisticDetails)->get_QueryTextCompositionStart(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Search_ISearchPaneQueryLinguisticDetails<D>::QueryTextCompositionLength() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneQueryLinguisticDetails<D>::QueryTextCompositionLength() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneQueryLinguisticDetails)->get_QueryTextCompositionLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgs<D>::QueryText() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgs<D>::Language() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneQueryLinguisticDetails) consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails<D>::LinguisticDetails() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Search_ISearchPaneResultSuggestionChosenEventArgs<D>::Tag() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneResultSuggestionChosenEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPane) consume_Windows_ApplicationModel_Search_ISearchPaneStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPaneStaticsWithHideThisApplication<D>::HideThisApplication() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneStaticsWithHideThisApplication<D>::HideThisApplication() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneStaticsWithHideThisApplication)->HideThisApplication());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequest<D>::IsCanceled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequest<D>::IsCanceled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequest)->get_IsCanceled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchSuggestionCollection) consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequest<D>::SearchSuggestionCollection() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequestDeferral) consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequestDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequestDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequestDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequest) consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_ISearchPaneVisibilityChangedEventArgs<D>::Visible() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchPaneVisibilityChangedEventArgs<D>::Visible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchPaneVisibilityChangedEventArgs)->get_Visible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetails<D>::QueryTextAlternatives() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetails<D>::QueryTextAlternatives() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchQueryLinguisticDetails)->get_QueryTextAlternatives(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetails<D>::QueryTextCompositionStart() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetails<D>::QueryTextCompositionStart() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchQueryLinguisticDetails)->get_QueryTextCompositionStart(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetails<D>::QueryTextCompositionLength() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetails<D>::QueryTextCompositionLength() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchQueryLinguisticDetails)->get_QueryTextCompositionLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails) consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetailsFactory<D>::CreateInstance(param::iterable<hstring> const& queryTextAlternatives, uint32_t queryTextCompositionStart, uint32_t queryTextCompositionLength) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetailsFactory<D>::CreateInstance(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection<D>::Size() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection<D>::Size() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchSuggestionCollection)->get_Size(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection<D>::AppendQuerySuggestion(param::hstring const& text) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection<D>::AppendQuerySuggestion(param::hstring const& text) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchSuggestionCollection)->AppendQuerySuggestion(*(void**)(&text)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection<D>::AppendQuerySuggestions(param::iterable<hstring> const& suggestions) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection<D>::AppendQuerySuggestions(param::iterable<hstring> const& suggestions) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchSuggestionCollection)->AppendQuerySuggestions(*(void**)(&suggestions)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection<D>::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 <typename D> auto consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection<D>::AppendSearchSeparator(param::hstring const& label) const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchSuggestionCollection<D>::AppendSearchSeparator(param::hstring const& label) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchSuggestionCollection)->AppendSearchSeparator(*(void**)(&label)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequest<D>::IsCanceled() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequest<D>::IsCanceled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchSuggestionsRequest)->get_IsCanceled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchSuggestionCollection) consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequest<D>::SearchSuggestionCollection() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchSuggestionsRequestDeferral) consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequestDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequestDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Search::ISearchSuggestionsRequestDeferral)->Complete());
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.SocialInfo.Provider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.SocialInfo.Provider.h
index b495d51937a..80461e7b994 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.SocialInfo.Provider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::OwnerRemoteId() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::Content() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::Timestamp() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::Timestamp(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::Thumbnail(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::CommitAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::TargetUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialDashboardItemUpdater<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialDashboardItemUpdater)->put_TargetUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater<D>::OwnerRemoteId() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater<D>::Kind() const
{
winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialFeedUpdater)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItem>) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater<D>::Items() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater<D>::Items() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialFeedUpdater)->get_Items(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater<D>::CommitAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialFeedUpdater<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialFeedUpdater>) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics<D>::CreateSocialFeedUpdaterAsync(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind const& kind, winrt::Windows::ApplicationModel::SocialInfo::SocialFeedUpdateMode const& mode, param::hstring const& ownerRemoteId) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics<D>::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<int32_t>(kind), static_cast<int32_t>(mode), *(void**)(&ownerRemoteId), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialFeedUpdater>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater>) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics<D>::CreateDashboardItemUpdaterAsync(param::hstring const& ownerRemoteId) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics<D>::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<winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics<D>::UpdateBadgeCountValue(param::hstring const& itemRemoteId, int32_t newCount) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics<D>::ReportNewContentAvailable(param::hstring const& contactRemoteId, winrt::Windows::ApplicationModel::SocialInfo::SocialFeedKind const& kind) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics<D>::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<int32_t>(kind)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics<D>::ProvisionAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics<D>::ProvisionAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialInfoProviderManagerStatics)->ProvisionAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics<D>::DeprovisionAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics<D>::DeprovisionAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialInfoProviderManagerStatics)->DeprovisionAsync(&operation));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.SocialInfo.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.SocialInfo.h
index ea9df91266a..4d848dce38e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.SocialInfo.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialUserInfo) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::Author() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::PrimaryContent() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::SecondaryContent() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::Timestamp() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::Timestamp(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::TargetUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem)->put_TargetUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail>) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::Thumbnails() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::Thumbnails() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem)->get_Thumbnails(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::SharedItem() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedChildItem<D>::SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem)->put_SharedItem(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::Title() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::Message() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::Message(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::Message(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent)->put_Message(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::TargetUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedContent<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent)->put_TargetUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialUserInfo) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::Author() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::PrimaryContent() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::SecondaryContent() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::Timestamp() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::Timestamp(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::TargetUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->put_TargetUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail>) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::Thumbnails() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::Thumbnails() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->get_Thumbnails(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::SharedItem() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::SharedItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedSharedItem const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->put_SharedItem(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialItemBadgeStyle) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::BadgeStyle() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::BadgeStyle() const
{
winrt::Windows::ApplicationModel::SocialInfo::SocialItemBadgeStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->get_BadgeStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::BadgeStyle(winrt::Windows::ApplicationModel::SocialInfo::SocialItemBadgeStyle const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::BadgeStyle(winrt::Windows::ApplicationModel::SocialInfo::SocialItemBadgeStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->put_BadgeStyle(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::BadgeCountValue() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::BadgeCountValue() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->get_BadgeCountValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::BadgeCountValue(int32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::BadgeCountValue(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->put_BadgeCountValue(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::RemoteId() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::RemoteId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::RemoteId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->put_RemoteId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedChildItem) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::ChildItem() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::ChildItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedChildItem const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::ChildItem(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedChildItem const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->put_ChildItem(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItemStyle) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::Style() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::Style() const
{
winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItemStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->get_Style(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::Style(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItemStyle const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedItem<D>::Style(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItemStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem)->put_Style(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::OriginalSource() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::OriginalSource(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::OriginalSource(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem)->put_OriginalSource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialFeedContent) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::Content() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::Timestamp() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::Timestamp(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::TargetUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem)->put_TargetUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::Thumbnail(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::Thumbnail(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem)->put_Thumbnail(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail) consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialFeedSharedItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::TargetUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail)->put_TargetUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::ImageUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::ImageUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::ImageUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail)->put_ImageUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapSize) consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::BitmapSize() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::BitmapSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::SetImageAsync(winrt::Windows::Storage::Streams::IInputStream const& image) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialItemThumbnail<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::UserName() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::UserName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::UserName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo)->put_UserName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::RemoteId() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::RemoteId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::RemoteId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo)->put_RemoteId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::TargetUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::TargetUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_SocialInfo_ISocialUserInfo<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.LicenseManagement.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.LicenseManagement.h
index b061c3ceb46..42958559d44 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.LicenseManagement.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics<D>::AddLicenseAsync(winrt::Windows::Storage::Streams::IBuffer const& license) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::LicenseManagement::LicenseSatisfactionResult>) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics<D>::GetSatisfactionInfosAsync(param::async_iterable<hstring> const& contentIds, param::async_iterable<hstring> const& keyIds) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics<D>::GetSatisfactionInfosAsync(param::async_iterable<hstring> const& contentIds, param::async_iterable<hstring> 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<winrt::Windows::ApplicationModel::Store::LicenseManagement::LicenseSatisfactionResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics2<D>::RefreshLicensesAsync(winrt::Windows::ApplicationModel::Store::LicenseManagement::LicenseRefreshOption const& refreshOption) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseManagerStatics2<D>::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<int32_t>(refreshOption), &action));
return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo<D>::SatisfiedByDevice() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo<D>::SatisfiedByDevice() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo)->get_SatisfiedByDevice(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo<D>::SatisfiedByOpenLicense() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo<D>::SatisfiedByOpenLicense() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo)->get_SatisfiedByOpenLicense(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo<D>::SatisfiedByTrial() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo<D>::SatisfiedByTrial() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo)->get_SatisfiedByTrial(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo<D>::SatisfiedByPass() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo<D>::SatisfiedByPass() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo)->get_SatisfiedByPass(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo<D>::SatisfiedByInstallMedia() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo<D>::SatisfiedByInstallMedia() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo)->get_SatisfiedByInstallMedia(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo<D>::SatisfiedBySignedInUser() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo<D>::SatisfiedBySignedInUser() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo)->get_SatisfiedBySignedInUser(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo<D>::IsSatisfied() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionInfo<D>::IsSatisfied() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo)->get_IsSatisfied(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::Store::LicenseManagement::LicenseSatisfactionInfo>) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionResult<D>::LicenseSatisfactionInfos() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionResult<D>::LicenseSatisfactionInfos() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionResult)->get_LicenseSatisfactionInfos(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::Store::LicenseManagement::LicenseSatisfactionInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionResult)->get_ExtendedError(put_abi(value)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.Preview.InstallControl.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.Preview.InstallControl.h
index 6295a04cb79..4f3a0382d8e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.Preview.InstallControl.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::ProductId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::PackageFamilyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallType) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::InstallType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::IsUserInitiated() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::IsUserInitiated() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->get_IsUserInitiated(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallStatus) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::GetCurrentStatus() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::Cancel() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::Cancel() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->Cancel());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::Pause() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::Pause() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->Pause());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::Restart() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::Restart() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->Restart());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::Completed_revoker consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Completed_revoker>(this, Completed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::Completed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::StatusChanged_revoker consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, StatusChanged_revoker>(this, StatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::StatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2<D>::Cancel(param::hstring const& correlationVector) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2<D>::Cancel(param::hstring const& correlationVector) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem2)->CancelWithTelemetry(*(void**)(&correlationVector)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2<D>::Pause(param::hstring const& correlationVector) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2<D>::Pause(param::hstring const& correlationVector) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem2)->PauseWithTelemetry(*(void**)(&correlationVector)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2<D>::Restart(param::hstring const& correlationVector) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2<D>::Restart(param::hstring const& correlationVector) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem2)->RestartWithTelemetry(*(void**)(&correlationVector)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem3<D>::Children() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem3<D>::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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem3<D>::ItemOperationsMightAffectOtherItems() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem3<D>::ItemOperationsMightAffectOtherItems() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem3)->get_ItemOperationsMightAffectOtherItems(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem4<D>::LaunchAfterInstall() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem4<D>::LaunchAfterInstall() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem4)->get_LaunchAfterInstall(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem4<D>::LaunchAfterInstall(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem4<D>::LaunchAfterInstall(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem4)->put_LaunchAfterInstall(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::PinToDesktopAfterInstall() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::PinToDesktopAfterInstall() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->get_PinToDesktopAfterInstall(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::PinToDesktopAfterInstall(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::PinToDesktopAfterInstall(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->put_PinToDesktopAfterInstall(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::PinToStartAfterInstall() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::PinToStartAfterInstall() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->get_PinToStartAfterInstall(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::PinToStartAfterInstall(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::PinToStartAfterInstall(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->put_PinToStartAfterInstall(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::PinToTaskbarAfterInstall() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::PinToTaskbarAfterInstall() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->get_PinToTaskbarAfterInstall(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::PinToTaskbarAfterInstall(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::PinToTaskbarAfterInstall(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->put_PinToTaskbarAfterInstall(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::CompletedInstallToastNotificationMode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::CompletedInstallToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::InstallInProgressToastNotificationMode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::InstallInProgressToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::AppInstallItems() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::Cancel(param::hstring const& productId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::Cancel(param::hstring const& productId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->Cancel(*(void**)(&productId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::Pause(param::hstring const& productId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::Pause(param::hstring const& productId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->Pause(*(void**)(&productId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::Restart(param::hstring const& productId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::Restart(param::hstring const& productId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->Restart(*(void**)(&productId)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::ItemCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManager, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManagerItemEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::ItemCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManager, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManagerItemEventArgs> 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 D> typename consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::ItemCompleted_revoker consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::ItemCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManager, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManagerItemEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::ItemCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManager, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManagerItemEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ItemCompleted_revoker>(this, ItemCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::ItemCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::ItemStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManager, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManagerItemEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::ItemStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManager, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManagerItemEventArgs> 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 D> typename consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::ItemStatusChanged_revoker consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::ItemStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManager, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManagerItemEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::ItemStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManager, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManagerItemEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ItemStatusChanged_revoker>(this, ItemStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::ItemStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AutoUpdateSetting) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::AutoUpdateSetting() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::AutoUpdateSetting(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AutoUpdateSetting const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::AcquisitionIdentity() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::AcquisitionIdentity(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::AcquisitionIdentity(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->put_AcquisitionIdentity(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::GetIsApplicableAsync(param::hstring const& productId, param::hstring const& skuId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::StartAppInstallAsync(param::hstring const& productId, param::hstring const& skuId, bool repair, bool forceUseOfNonRemovableStorage) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::UpdateAppByPackageFamilyNameAsync(param::hstring const& packageFamilyName) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::SearchForAllUpdatesAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::SearchForAllUpdatesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->SearchForAllUpdatesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::IsStoreBlockedByPolicyAsync(param::hstring const& storeClientName, param::hstring const& storeClientPublisher) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::GetIsAppAllowedToInstallAsync(param::hstring const& productId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2<D>::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 <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2<D>::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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2<D>::UpdateAppByPackageFamilyNameAsync(param::hstring const& packageFamilyName, param::hstring const& correlationVector) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2<D>::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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2<D>::SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2<D>::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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2<D>::SearchForAllUpdatesAsync(param::hstring const& correlationVector) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2<D>::GetIsAppAllowedToInstallAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2<D>::Cancel(param::hstring const& productId, param::hstring const& correlationVector) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2<D>::Pause(param::hstring const& productId, param::hstring const& correlationVector) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2<D>::Restart(param::hstring const& productId, param::hstring const& correlationVector) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3<D>::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 <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3<D>::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 <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3<D>::UpdateAppByPackageFamilyNameForUserAsync(winrt::Windows::System::User const& user, param::hstring const& packageFamilyName, param::hstring const& correlationVector) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3<D>::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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3<D>::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 <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3<D>::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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3<D>::SearchForAllUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3<D>::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 <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3<D>::GetIsApplicableForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3<D>::MoveToFrontOfDownloadQueue(param::hstring const& productId, param::hstring const& correlationVector) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementResult>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4<D>::GetFreeUserEntitlementAsync(param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4<D>::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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementResult>{ ppAsyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementResult>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4<D>::GetFreeUserEntitlementForUserAsync(winrt::Windows::System::User const& user, param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4<D>::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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementResult>{ ppAsyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementResult>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4<D>::GetFreeDeviceEntitlementAsync(param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4<D>::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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementResult>{ ppAsyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager5<D>::AppInstallItemsWithGroupSupport() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager5<D>::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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6<D>::SearchForAllUpdatesAsync(param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6<D>::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 <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6<D>::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 <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6<D>::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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6<D>::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 <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6<D>::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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6<D>::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 <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6<D>::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 <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6<D>::GetIsPackageIdentityAllowedToInstallAsync(param::hstring const& correlationVector, param::hstring const& packageIdentityName, param::hstring const& publisherCertificateName) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6<D>::GetIsPackageIdentityAllowedToInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector, param::hstring const& packageIdentityName, param::hstring const& publisherCertificateName) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager7<D>::CanInstallForAllUsers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager7<D>::CanInstallForAllUsers() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager7)->get_CanInstallForAllUsers(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManagerItemEventArgs<D>::Item() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManagerItemEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::CatalogId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::CatalogId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::CatalogId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->put_CatalogId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::ForceUseOfNonRemovableStorage() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::ForceUseOfNonRemovableStorage() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->get_ForceUseOfNonRemovableStorage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::ForceUseOfNonRemovableStorage(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::ForceUseOfNonRemovableStorage(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->put_ForceUseOfNonRemovableStorage(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::AllowForcedAppRestart() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::AllowForcedAppRestart() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->get_AllowForcedAppRestart(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::AllowForcedAppRestart(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::AllowForcedAppRestart(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->put_AllowForcedAppRestart(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::Repair() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::Repair() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->get_Repair(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::Repair(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::Repair(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->put_Repair(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::TargetVolume() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::LaunchAfterInstall() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::LaunchAfterInstall() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->get_LaunchAfterInstall(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::LaunchAfterInstall(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions<D>::LaunchAfterInstall(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->put_LaunchAfterInstall(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::PinToDesktopAfterInstall() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::PinToDesktopAfterInstall() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_PinToDesktopAfterInstall(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::PinToDesktopAfterInstall(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::PinToDesktopAfterInstall(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_PinToDesktopAfterInstall(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::PinToStartAfterInstall() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::PinToStartAfterInstall() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_PinToStartAfterInstall(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::PinToStartAfterInstall(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::PinToStartAfterInstall(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_PinToStartAfterInstall(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::PinToTaskbarAfterInstall() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::PinToTaskbarAfterInstall() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_PinToTaskbarAfterInstall(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::PinToTaskbarAfterInstall(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::PinToTaskbarAfterInstall(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_PinToTaskbarAfterInstall(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::CompletedInstallToastNotificationMode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::CompletedInstallToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::InstallInProgressToastNotificationMode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::InstallInProgressToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::InstallForAllUsers() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::InstallForAllUsers() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_InstallForAllUsers(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::InstallForAllUsers(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::InstallForAllUsers(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_InstallForAllUsers(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::StageButDoNotInstall() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::StageButDoNotInstall() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_StageButDoNotInstall(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::StageButDoNotInstall(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::StageButDoNotInstall(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_StageButDoNotInstall(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::CampaignId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::CampaignId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::CampaignId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_CampaignId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::ExtendedCampaignId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::ExtendedCampaignId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2<D>::ExtendedCampaignId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_ExtendedCampaignId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallState) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus<D>::InstallState() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus<D>::DownloadSizeInBytes() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus<D>::DownloadSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus)->get_DownloadSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus<D>::BytesDownloaded() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus<D>::BytesDownloaded() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus)->get_BytesDownloaded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus<D>::PercentComplete() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus<D>::PercentComplete() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus)->get_PercentComplete(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus2<D>::User() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus2<D>::ReadyForLaunch() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus2<D>::ReadyForLaunch() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus2)->get_ReadyForLaunch(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus3<D>::IsStaged() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus3<D>::IsStaged() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus3)->get_IsStaged(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions<D>::CatalogId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions<D>::CatalogId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions<D>::CatalogId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions)->put_CatalogId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions<D>::AllowForcedAppRestart() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions<D>::AllowForcedAppRestart() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions)->get_AllowForcedAppRestart(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions<D>::AllowForcedAppRestart(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions<D>::AllowForcedAppRestart(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions)->put_AllowForcedAppRestart(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions2<D>::AutomaticallyDownloadAndInstallUpdateIfFound() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions2<D>::AutomaticallyDownloadAndInstallUpdateIfFound() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions2)->get_AutomaticallyDownloadAndInstallUpdateIfFound(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions2<D>::AutomaticallyDownloadAndInstallUpdateIfFound(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions2<D>::AutomaticallyDownloadAndInstallUpdateIfFound(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions2)->put_AutomaticallyDownloadAndInstallUpdateIfFound(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementStatus) consume_Windows_ApplicationModel_Store_Preview_InstallControl_IGetEntitlementResult<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IGetEntitlementResult<D>::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<int32_t*>(&value)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.Preview.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.Preview.h
index ff9f4145c9f..52c86f7b313 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.Preview.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::DeliveryOptimizationDownloadMode) consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettings<D>::DownloadMode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettings<D>::DownloadMode() const
{
winrt::Windows::ApplicationModel::Store::Preview::DeliveryOptimizationDownloadMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IDeliveryOptimizationSettings)->get_DownloadMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::DeliveryOptimizationDownloadModeSource) consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettings<D>::DownloadModeSource() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettings<D>::DownloadModeSource() const
{
winrt::Windows::ApplicationModel::Store::Preview::DeliveryOptimizationDownloadModeSource value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IDeliveryOptimizationSettings)->get_DownloadModeSource(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::DeliveryOptimizationSettings) consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettingsStatics<D>::GetCurrentSettings() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics<D>::SetSystemConfiguration(param::hstring const& catalogHardwareManufacturerId, param::hstring const& catalogStoreContentModifierId, winrt::Windows::Foundation::DateTime const& systemConfigurationExpiration, param::hstring const& catalogHardwareDescriptor) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics<D>::SetMobileOperatorConfiguration(param::hstring const& mobileOperatorId, uint32_t appDownloadLimitInMegabytes, uint32_t updateDownloadLimitInMegabytes) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics<D>::SetStoreWebAccountId(param::hstring const& webAccountId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics<D>::SetStoreWebAccountId(param::hstring const& webAccountId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics)->SetStoreWebAccountId(*(void**)(&webAccountId)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics<D>::IsStoreWebAccountId(param::hstring const& webAccountId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::StoreHardwareManufacturerInfo) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics<D>::HardwareManufacturerInfo() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::StoreSystemFeature>>) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics<D>::FilterUnsupportedSystemFeaturesAsync(param::async_iterable<winrt::Windows::ApplicationModel::Store::Preview::StoreSystemFeature> const& systemFeatures) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics<D>::FilterUnsupportedSystemFeaturesAsync(param::async_iterable<winrt::Windows::ApplicationModel::Store::Preview::StoreSystemFeature> 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::StoreSystemFeature>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics2<D>::PurchasePromptingPolicy() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics2<D>::PurchasePromptingPolicy() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics2)->get_PurchasePromptingPolicy(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics2<D>::PurchasePromptingPolicy(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics2<D>::PurchasePromptingPolicy(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics2)->put_PurchasePromptingPolicy(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3<D>::HasStoreWebAccount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3<D>::HasStoreWebAccount() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics3)->HasStoreWebAccount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3<D>::HasStoreWebAccountForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamReference>) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3<D>::GetStoreLogDataAsync(winrt::Windows::ApplicationModel::Store::Preview::StoreLogOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3<D>::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<uint32_t>(options), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamReference>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3<D>::SetStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3<D>::IsStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3<D>::GetPurchasePromptingPolicyForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3<D>::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<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3<D>::SetPurchasePromptingPolicyForUser(winrt::Windows::System::User const& user, winrt::Windows::Foundation::IReference<uint32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics3<D>::SetPurchasePromptingPolicyForUser(winrt::Windows::System::User const& user, winrt::Windows::Foundation::IReference<uint32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics3)->SetPurchasePromptingPolicyForUser(*(void**)(&user), *(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4<D>::GetStoreWebAccountId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4<D>::GetStoreWebAccountIdForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4<D>::SetEnterpriseStoreWebAccountId(param::hstring const& webAccountId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4<D>::SetEnterpriseStoreWebAccountId(param::hstring const& webAccountId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics4)->SetEnterpriseStoreWebAccountId(*(void**)(&webAccountId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4<D>::SetEnterpriseStoreWebAccountIdForUser(winrt::Windows::System::User const& user, param::hstring const& webAccountId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4<D>::GetEnterpriseStoreWebAccountId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4<D>::GetEnterpriseStoreWebAccountIdForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4<D>::ShouldRestrictToEnterpriseStoreOnly() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4<D>::ShouldRestrictToEnterpriseStoreOnly() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics4)->ShouldRestrictToEnterpriseStoreOnly(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4<D>::ShouldRestrictToEnterpriseStoreOnlyForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5<D>::IsPinToDesktopSupported() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5<D>::IsPinToDesktopSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics5)->IsPinToDesktopSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5<D>::IsPinToTaskbarSupported() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5<D>::IsPinToTaskbarSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics5)->IsPinToTaskbarSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5<D>::IsPinToStartSupported() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5<D>::IsPinToStartSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics5)->IsPinToStartSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5<D>::PinToDesktop(param::hstring const& appPackageFamilyName) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5<D>::PinToDesktop(param::hstring const& appPackageFamilyName) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics5)->PinToDesktop(*(void**)(&appPackageFamilyName)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5<D>::PinToDesktopForUser(winrt::Windows::System::User const& user, param::hstring const& appPackageFamilyName) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo<D>::HardwareManufacturerId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo<D>::StoreContentModifierId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo<D>::ModelName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo<D>::ManufacturerName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStoreHardwareManufacturerInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::StorePreviewPurchaseResults>) consume_Windows_ApplicationModel_Store_Preview_IStorePreview<D>::RequestProductPurchaseByProductIdAndSkuIdAsync(param::hstring const& productId, param::hstring const& skuId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStorePreview<D>::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<winrt::Windows::ApplicationModel::Store::Preview::StorePreviewPurchaseResults>{ requestPurchaseBySkuIdOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::StorePreviewProductInfo>>) consume_Windows_ApplicationModel_Store_Preview_IStorePreview<D>::LoadAddOnProductInfosAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStorePreview<D>::LoadAddOnProductInfosAsync() const
{
void* loadAddOnProductInfosOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreview)->LoadAddOnProductInfosAsync(&loadAddOnProductInfosOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::StorePreviewProductInfo>>{ loadAddOnProductInfosOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo<D>::ProductId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo<D>::ProductType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo<D>::Title() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::StorePreviewSkuInfo>) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo<D>::SkuInfoList() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewProductInfo<D>::SkuInfoList() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewProductInfo)->get_SkuInfoList(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::StorePreviewSkuInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::StorePreviewProductPurchaseStatus) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewPurchaseResults<D>::ProductPurchaseStatus() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewPurchaseResults<D>::ProductPurchaseStatus() const
{
winrt::Windows::ApplicationModel::Store::Preview::StorePreviewProductPurchaseStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewPurchaseResults)->get_ProductPurchaseStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::ProductId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::SkuId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::SkuType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::Title() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::CustomDeveloperData() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::CurrencyCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::FormattedListPrice() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::ExtendedData() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IStorePreviewSkuInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestResult>) consume_Windows_ApplicationModel_Store_Preview_IWebAuthenticationCoreManagerHelper<D>::RequestTokenWithUIElementHostingAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::UI::Xaml::UIElement const& uiElement) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IWebAuthenticationCoreManagerHelper<D>::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<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestResult>) consume_Windows_ApplicationModel_Store_Preview_IWebAuthenticationCoreManagerHelper<D>::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 <typename D> auto consume_Windows_ApplicationModel_Store_Preview_IWebAuthenticationCoreManagerHelper<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.h
index 0b5dc49c98b..0298adb3482 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Store.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::LicenseInformation) consume_Windows_ApplicationModel_Store_ICurrentApp<D>::LicenseInformation() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentApp<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Store_ICurrentApp<D>::LinkUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentApp<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Store_ICurrentApp<D>::AppId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentApp<D>::AppId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentApp)->get_AppId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Store_ICurrentApp<D>::RequestAppPurchaseAsync(bool includeReceipt) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentApp<D>::RequestAppPurchaseAsync(bool includeReceipt) const
{
void* requestAppPurchaseOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentApp)->RequestAppPurchaseAsync(includeReceipt, &requestAppPurchaseOperation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ requestAppPurchaseOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Store_ICurrentApp<D>::RequestProductPurchaseAsync(param::hstring const& productId, bool includeReceipt) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentApp<D>::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<hstring>{ requestProductPurchaseOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>) consume_Windows_ApplicationModel_Store_ICurrentApp<D>::LoadListingInformationAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentApp<D>::LoadListingInformationAsync() const
{
void* loadListingOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentApp)->LoadListingInformationAsync(&loadListingOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>{ loadListingOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Store_ICurrentApp<D>::GetAppReceiptAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentApp<D>::GetAppReceiptAsync() const
{
void* appReceiptOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentApp)->GetAppReceiptAsync(&appReceiptOperation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ appReceiptOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Store_ICurrentApp<D>::GetProductReceiptAsync(param::hstring const& productId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentApp<D>::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<hstring>{ getProductReceiptOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Store_ICurrentApp2Statics<D>::GetCustomerPurchaseIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentApp2Statics<D>::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<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Store_ICurrentApp2Statics<D>::GetCustomerCollectionsIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentApp2Statics<D>::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<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::LicenseInformation) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::LicenseInformation() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::LinkUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::AppId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::AppId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulator)->get_AppId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::RequestAppPurchaseAsync(bool includeReceipt) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::RequestAppPurchaseAsync(bool includeReceipt) const
{
void* requestAppPurchaseOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulator)->RequestAppPurchaseAsync(includeReceipt, &requestAppPurchaseOperation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ requestAppPurchaseOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::RequestProductPurchaseAsync(param::hstring const& productId, bool includeReceipt) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::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<hstring>{ requestProductPurchaseOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::LoadListingInformationAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::LoadListingInformationAsync() const
{
void* loadListingOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulator)->LoadListingInformationAsync(&loadListingOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>{ loadListingOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::GetAppReceiptAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::GetAppReceiptAsync() const
{
void* appReceiptOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulator)->GetAppReceiptAsync(&appReceiptOperation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ appReceiptOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::GetProductReceiptAsync(param::hstring const& productId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::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<hstring>{ getProductReceiptOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::ReloadSimulatorAsync(winrt::Windows::Storage::StorageFile const& simulatorSettingsFile) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>) consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorStaticsWithFiltering<D>::LoadListingInformationByProductIdsAsync(param::async_iterable<hstring> const& productIds) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorStaticsWithFiltering<D>::LoadListingInformationByProductIdsAsync(param::async_iterable<hstring> const& productIds) const
{
void* loadListingOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulatorStaticsWithFiltering)->LoadListingInformationByProductIdsAsync(*(void**)(&productIds), &loadListingOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>{ loadListingOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>) consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorStaticsWithFiltering<D>::LoadListingInformationByKeywordsAsync(param::async_iterable<hstring> const& keywords) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorStaticsWithFiltering<D>::LoadListingInformationByKeywordsAsync(param::async_iterable<hstring> const& keywords) const
{
void* loadListingOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulatorStaticsWithFiltering)->LoadListingInformationByKeywordsAsync(*(void**)(&keywords), &loadListingOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>{ loadListingOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithCampaignId<D>::GetAppPurchaseCampaignIdAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithCampaignId<D>::GetAppPurchaseCampaignIdAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulatorWithCampaignId)->GetAppPurchaseCampaignIdAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::FulfillmentResult>) consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables<D>::ReportConsumableFulfillmentAsync(param::hstring const& productId, winrt::guid const& transactionId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables<D>::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<winrt::Windows::ApplicationModel::Store::FulfillmentResult>{ reportConsumableFulfillmentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::PurchaseResults>) consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables<D>::RequestProductPurchaseAsync(param::hstring const& productId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables<D>::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<winrt::Windows::ApplicationModel::Store::PurchaseResults>{ requestProductPurchaseWithResultsOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::PurchaseResults>) consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables<D>::RequestProductPurchaseAsync(param::hstring const& productId, param::hstring const& offerId, winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties const& displayProperties) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables<D>::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<winrt::Windows::ApplicationModel::Store::PurchaseResults>{ requestProductPurchaseWithDisplayPropertiesOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::UnfulfilledConsumable>>) consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables<D>::GetUnfulfilledConsumablesAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables<D>::GetUnfulfilledConsumablesAsync() const
{
void* getUnfulfilledConsumablesOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppSimulatorWithConsumables)->GetUnfulfilledConsumablesAsync(&getUnfulfilledConsumablesOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::UnfulfilledConsumable>>{ getUnfulfilledConsumablesOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>) consume_Windows_ApplicationModel_Store_ICurrentAppStaticsWithFiltering<D>::LoadListingInformationByProductIdsAsync(param::async_iterable<hstring> const& productIds) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppStaticsWithFiltering<D>::LoadListingInformationByProductIdsAsync(param::async_iterable<hstring> const& productIds) const
{
void* loadListingOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppStaticsWithFiltering)->LoadListingInformationByProductIdsAsync(*(void**)(&productIds), &loadListingOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>{ loadListingOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>) consume_Windows_ApplicationModel_Store_ICurrentAppStaticsWithFiltering<D>::LoadListingInformationByKeywordsAsync(param::async_iterable<hstring> const& keywords) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppStaticsWithFiltering<D>::LoadListingInformationByKeywordsAsync(param::async_iterable<hstring> const& keywords) const
{
void* loadListingOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppStaticsWithFiltering)->LoadListingInformationByKeywordsAsync(*(void**)(&keywords), &loadListingOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>{ loadListingOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_ICurrentAppStaticsWithFiltering<D>::ReportProductFulfillment(param::hstring const& productId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppStaticsWithFiltering<D>::ReportProductFulfillment(param::hstring const& productId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppStaticsWithFiltering)->ReportProductFulfillment(*(void**)(&productId)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_Store_ICurrentAppWithCampaignId<D>::GetAppPurchaseCampaignIdAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppWithCampaignId<D>::GetAppPurchaseCampaignIdAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppWithCampaignId)->GetAppPurchaseCampaignIdAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::FulfillmentResult>) consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables<D>::ReportConsumableFulfillmentAsync(param::hstring const& productId, winrt::guid const& transactionId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables<D>::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<winrt::Windows::ApplicationModel::Store::FulfillmentResult>{ reportConsumableFulfillmentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::PurchaseResults>) consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables<D>::RequestProductPurchaseAsync(param::hstring const& productId) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables<D>::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<winrt::Windows::ApplicationModel::Store::PurchaseResults>{ requestProductPurchaseWithResultsOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::PurchaseResults>) consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables<D>::RequestProductPurchaseAsync(param::hstring const& productId, param::hstring const& offerId, winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties const& displayProperties) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables<D>::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<winrt::Windows::ApplicationModel::Store::PurchaseResults>{ requestProductPurchaseWithDisplayPropertiesOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::UnfulfilledConsumable>>) consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables<D>::GetUnfulfilledConsumablesAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables<D>::GetUnfulfilledConsumablesAsync() const
{
void* getUnfulfilledConsumablesOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ICurrentAppWithConsumables)->GetUnfulfilledConsumablesAsync(&getUnfulfilledConsumablesOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::UnfulfilledConsumable>>{ getUnfulfilledConsumablesOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::Store::ProductLicense>) consume_Windows_ApplicationModel_Store_ILicenseInformation<D>::ProductLicenses() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ILicenseInformation<D>::ProductLicenses() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ILicenseInformation)->get_ProductLicenses(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::Store::ProductLicense>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_ILicenseInformation<D>::IsActive() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ILicenseInformation<D>::IsActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ILicenseInformation)->get_IsActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_ILicenseInformation<D>::IsTrial() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ILicenseInformation<D>::IsTrial() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ILicenseInformation)->get_IsTrial(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Store_ILicenseInformation<D>::ExpirationDate() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ILicenseInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Store_ILicenseInformation<D>::LicenseChanged(winrt::Windows::ApplicationModel::Store::LicenseChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ILicenseInformation<D>::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 D> typename consume_Windows_ApplicationModel_Store_ILicenseInformation<D>::LicenseChanged_revoker consume_Windows_ApplicationModel_Store_ILicenseInformation<D>::LicenseChanged(auto_revoke_t, winrt::Windows::ApplicationModel::Store::LicenseChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ILicenseInformation<D>::LicenseChanged(auto_revoke_t, winrt::Windows::ApplicationModel::Store::LicenseChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, LicenseChanged_revoker>(this, LicenseChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_ILicenseInformation<D>::LicenseChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Store_ILicenseInformation<D>::LicenseChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::ILicenseInformation)->remove_LicenseChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IListingInformation<D>::CurrentMarket() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IListingInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IListingInformation<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IListingInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::Store::ProductListing>) consume_Windows_ApplicationModel_Store_IListingInformation<D>::ProductListings() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IListingInformation<D>::ProductListings() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IListingInformation)->get_ProductListings(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::Store::ProductListing>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IListingInformation<D>::FormattedPrice() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IListingInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IListingInformation<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IListingInformation<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_Store_IListingInformation<D>::AgeRating() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IListingInformation<D>::AgeRating() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IListingInformation)->get_AgeRating(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IListingInformation2<D>::FormattedBasePrice() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IListingInformation2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Store_IListingInformation2<D>::SaleEndDate() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IListingInformation2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_IListingInformation2<D>::IsOnSale() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IListingInformation2<D>::IsOnSale() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IListingInformation2)->get_IsOnSale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IListingInformation2<D>::CurrencyCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IListingInformation2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductLicense<D>::ProductId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductLicense<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_IProductLicense<D>::IsActive() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductLicense<D>::IsActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductLicense)->get_IsActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Store_IProductLicense<D>::ExpirationDate() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductLicense<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_IProductLicenseWithFulfillment<D>::IsConsumable() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductLicenseWithFulfillment<D>::IsConsumable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductLicenseWithFulfillment)->get_IsConsumable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductListing<D>::ProductId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductListing<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductListing<D>::FormattedPrice() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductListing<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductListing<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductListing<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductListing2<D>::FormattedBasePrice() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductListing2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_Store_IProductListing2<D>::SaleEndDate() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductListing2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Store_IProductListing2<D>::IsOnSale() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductListing2<D>::IsOnSale() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductListing2)->get_IsOnSale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductListing2<D>::CurrencyCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductListing2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::ProductType) consume_Windows_ApplicationModel_Store_IProductListingWithConsumables<D>::ProductType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductListingWithConsumables<D>::ProductType() const
{
winrt::Windows::ApplicationModel::Store::ProductType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductListingWithConsumables)->get_ProductType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductListingWithMetadata<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductListingWithMetadata<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<hstring>) consume_Windows_ApplicationModel_Store_IProductListingWithMetadata<D>::Keywords() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductListingWithMetadata<D>::Keywords() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductListingWithMetadata)->get_Keywords(&value));
return winrt::Windows::Foundation::Collections::IIterable<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::ProductType) consume_Windows_ApplicationModel_Store_IProductListingWithMetadata<D>::ProductType() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductListingWithMetadata<D>::ProductType() const
{
winrt::Windows::ApplicationModel::Store::ProductType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductListingWithMetadata)->get_ProductType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductListingWithMetadata<D>::Tag() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductListingWithMetadata<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Store_IProductListingWithMetadata<D>::ImageUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductListingWithMetadata<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductPurchaseDisplayProperties)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductPurchaseDisplayProperties)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties<D>::Image() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties<D>::Image(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayProperties<D>::Image(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IProductPurchaseDisplayProperties)->put_Image(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties) consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayPropertiesFactory<D>::CreateProductPurchaseDisplayProperties(param::hstring const& name) const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IProductPurchaseDisplayPropertiesFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::ProductPurchaseStatus) consume_Windows_ApplicationModel_Store_IPurchaseResults<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IPurchaseResults<D>::Status() const
{
winrt::Windows::ApplicationModel::Store::ProductPurchaseStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IPurchaseResults)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Store_IPurchaseResults<D>::TransactionId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IPurchaseResults<D>::TransactionId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IPurchaseResults)->get_TransactionId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IPurchaseResults<D>::ReceiptXml() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IPurchaseResults<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IPurchaseResults<D>::OfferId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IPurchaseResults<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IUnfulfilledConsumable<D>::ProductId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IUnfulfilledConsumable<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_Store_IUnfulfilledConsumable<D>::TransactionId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IUnfulfilledConsumable<D>::TransactionId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IUnfulfilledConsumable)->get_TransactionId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Store_IUnfulfilledConsumable<D>::OfferId() const
+ template <typename D> auto consume_Windows_ApplicationModel_Store_IUnfulfilledConsumable<D>::OfferId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::IUnfulfilledConsumable)->get_OfferId(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserActivities.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserActivities.Core.h
index 105a26d6295..ac746e4de2a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserActivities.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivitySession) consume_Windows_ApplicationModel_UserActivities_Core_ICoreUserActivityManagerStatics<D>::CreateUserActivitySessionInBackground(winrt::Windows::ApplicationModel::UserActivities::UserActivity const& activity) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_Core_ICoreUserActivityManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserActivities_Core_ICoreUserActivityManagerStatics<D>::DeleteUserActivitySessionsInTimeRangeAsync(winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel const& channel, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_Core_ICoreUserActivityManagerStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserActivities.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserActivities.h
index 00cae3bdefc..3a0b8c71fcf 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserActivities.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityState) consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::State() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::State() const
{
winrt::Windows::ApplicationModel::UserActivities::UserActivityState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::ActivityId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityVisualElements) consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::VisualElements() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::ContentUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::ContentUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::ContentUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->put_ContentUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::ContentType() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::ContentType(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::ContentType(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->put_ContentType(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::FallbackUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::FallbackUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::FallbackUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->put_FallbackUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::ActivationUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::ActivationUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::ActivationUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->put_ActivationUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfo) consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::ContentInfo() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::ContentInfo(winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfo const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::ContentInfo(winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfo const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity)->put_ContentInfo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::SaveAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivitySession) consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::CreateSession() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivity2<D>::ToJson() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity2<D>::ToJson() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity2)->ToJson(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserActivities_IUserActivity3<D>::IsRoamable() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity3<D>::IsRoamable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity3)->get_IsRoamable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivity3<D>::IsRoamable(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivity3<D>::IsRoamable(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivity3)->put_IsRoamable(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution<D>::IconUri() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution<D>::IconUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution<D>::IconUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityAttribution)->put_IconUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution<D>::AlternateText() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution<D>::AlternateText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution<D>::AlternateText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityAttribution)->put_AlternateText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution<D>::AddImageQuery() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution<D>::AddImageQuery() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityAttribution)->get_AddImageQuery(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution<D>::AddImageQuery(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityAttribution<D>::AddImageQuery(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityAttribution)->put_AddImageQuery(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution) consume_Windows_ApplicationModel_UserActivities_IUserActivityAttributionFactory<D>::CreateWithUri(winrt::Windows::Foundation::Uri const& iconUri) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityAttributionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserActivities::UserActivity>) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel<D>::GetOrCreateUserActivityAsync(param::hstring const& activityId) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel<D>::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<winrt::Windows::ApplicationModel::UserActivities::UserActivity>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel<D>::DeleteActivityAsync(param::hstring const& activityId) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel<D>::DeleteAllActivitiesAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::UserActivities::UserActivitySessionHistoryItem>>) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel2<D>::GetRecentUserActivitiesAsync(int32_t maxUniqueActivities) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel2<D>::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<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::UserActivities::UserActivitySessionHistoryItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::UserActivities::UserActivitySessionHistoryItem>>) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel2<D>::GetSessionHistoryItemsForUserActivityAsync(param::hstring const& activityId, winrt::Windows::Foundation::DateTime const& startTime) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel2<D>::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<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::UserActivities::UserActivitySessionHistoryItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics2<D>::DisableAutoSessionCreation() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics2<D>::DisableAutoSessionCreation() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannelStatics2)->DisableAutoSessionCreation());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics2<D>::TryGetForWebAccount(winrt::Windows::Security::Credentials::WebAccount const& account) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel) consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics3<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivityContentInfo<D>::ToJson() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityContentInfo<D>::ToJson() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfo)->ToJson(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityContentInfo) consume_Windows_ApplicationModel_UserActivities_IUserActivityContentInfoStatics<D>::FromJson(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityContentInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivity) consume_Windows_ApplicationModel_UserActivities_IUserActivityFactory<D>::CreateWithActivityId(param::hstring const& activityId) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityRequest<D>::SetUserActivity(winrt::Windows::ApplicationModel::UserActivities::UserActivity const& activity) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityRequest<D>::SetUserActivity(winrt::Windows::ApplicationModel::UserActivities::UserActivity const& activity) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequest)->SetUserActivity(*(void**)(&activity)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager<D>::UserActivityRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestManager, winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager<D>::UserActivityRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestManager, winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestedEventArgs> 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 D> typename consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager<D>::UserActivityRequested_revoker consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager<D>::UserActivityRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestManager, winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager<D>::UserActivityRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestManager, winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, UserActivityRequested_revoker>(this, UserActivityRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager<D>::UserActivityRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager<D>::UserActivityRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequestManager)->remove_UserActivityRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestManager) consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManagerStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityRequest) consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivitySession<D>::ActivityId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivitySession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivity) consume_Windows_ApplicationModel_UserActivities_IUserActivitySessionHistoryItem<D>::UserActivity() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivitySessionHistoryItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_UserActivities_IUserActivitySessionHistoryItem<D>::StartTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivitySessionHistoryItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_UserActivities_IUserActivitySessionHistoryItem<D>::EndTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivitySessionHistoryItem<D>::EndTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivitySessionHistoryItem)->get_EndTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivity) consume_Windows_ApplicationModel_UserActivities_IUserActivityStatics<D>::TryParseFromJson(param::hstring const& json) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::UserActivities::UserActivity>) consume_Windows_ApplicationModel_UserActivities_IUserActivityStatics<D>::TryParseFromJsonArray(param::hstring const& json) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityStatics<D>::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<winrt::Windows::ApplicationModel::UserActivities::UserActivity>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivityStatics<D>::ToJsonArray(param::iterable<winrt::Windows::ApplicationModel::UserActivities::UserActivity> const& activities) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityStatics<D>::ToJsonArray(param::iterable<winrt::Windows::ApplicationModel::UserActivities::UserActivity> 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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::DisplayText() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::DisplayText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::DisplayText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements)->put_DisplayText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::BackgroundColor() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::BackgroundColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::Attribution() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::Attribution(winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::Attribution(winrt::Windows::ApplicationModel::UserActivities::UserActivityAttribution const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements)->put_Attribution(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::Content(winrt::Windows::UI::Shell::IAdaptiveCard const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::Content(winrt::Windows::UI::Shell::IAdaptiveCard const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements)->put_Content(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Shell::IAdaptiveCard) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::Content() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements2<D>::AttributionDisplayText() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements2<D>::AttributionDisplayText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserActivities_IUserActivityVisualElements2<D>::AttributionDisplayText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements2)->put_AttributionDisplayText(*(void**)(&value)));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.Provider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.Provider.h
index ddae502b25e..5cefdabd06c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.Provider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountPartnerAccountInfo<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountPartnerAccountInfo<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountPartnerAccountInfo<D>::Priority() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountPartnerAccountInfo<D>::Priority() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountPartnerAccountInfo)->get_Priority(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::UserDataAccountProviderPartnerAccountKind) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountPartnerAccountInfo<D>::AccountKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountPartnerAccountInfo<D>::AccountKind() const
{
winrt::Windows::ApplicationModel::UserDataAccounts::Provider::UserDataAccountProviderPartnerAccountKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountPartnerAccountInfo)->get_AccountKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountContentKinds) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderAddAccountOperation<D>::ContentKinds() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderAddAccountOperation<D>::ContentKinds() const
{
winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountContentKinds value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderAddAccountOperation)->get_ContentKinds(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::UserDataAccounts::Provider::UserDataAccountPartnerAccountInfo>) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderAddAccountOperation<D>::PartnerAccountInfos() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderAddAccountOperation<D>::PartnerAccountInfos() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderAddAccountOperation)->get_PartnerAccountInfos(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::UserDataAccounts::Provider::UserDataAccountPartnerAccountInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderAddAccountOperation<D>::ReportCompleted(param::hstring const& userDataAccountId) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderAddAccountOperation<D>::ReportCompleted(param::hstring const& userDataAccountId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderAddAccountOperation)->ReportCompleted(*(void**)(&userDataAccountId)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::UserDataAccountProviderOperationKind) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderOperation<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderOperation<D>::Kind() const
{
winrt::Windows::ApplicationModel::UserDataAccounts::Provider::UserDataAccountProviderOperationKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderOperation)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderResolveErrorsOperation<D>::UserDataAccountId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderResolveErrorsOperation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderResolveErrorsOperation<D>::ReportCompleted() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderResolveErrorsOperation<D>::ReportCompleted() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderResolveErrorsOperation)->ReportCompleted());
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderSettingsOperation<D>::UserDataAccountId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderSettingsOperation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderSettingsOperation<D>::ReportCompleted() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_Provider_IUserDataAccountProviderSettingsOperation<D>::ReportCompleted() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderSettingsOperation)->ReportCompleted());
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.SystemAccess.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.SystemAccess.h
index 2be506fba1f..5e060230a07 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.SystemAccess.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::AccountName() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::AccountName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::AccountName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_AccountName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::DeviceAccountTypeId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::DeviceAccountTypeId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::DeviceAccountTypeId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_DeviceAccountTypeId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountServerType) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::ServerType() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::ServerType() const
{
winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountServerType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_ServerType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::ServerType(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountServerType const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::EmailAddress() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::EmailAddress(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::EmailAddress(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_EmailAddress(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::Domain() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::Domain(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::Domain(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_Domain(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::EmailSyncEnabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::EmailSyncEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_EmailSyncEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::EmailSyncEnabled(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::EmailSyncEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_EmailSyncEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::ContactsSyncEnabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::ContactsSyncEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_ContactsSyncEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::ContactsSyncEnabled(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::ContactsSyncEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_ContactsSyncEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::CalendarSyncEnabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::CalendarSyncEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_CalendarSyncEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::CalendarSyncEnabled(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::CalendarSyncEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_CalendarSyncEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::IncomingServerAddress() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::IncomingServerAddress(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::IncomingServerAddress(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_IncomingServerAddress(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::IncomingServerPort() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::IncomingServerPort() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_IncomingServerPort(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::IncomingServerPort(int32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::IncomingServerPort(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_IncomingServerPort(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::IncomingServerRequiresSsl() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::IncomingServerRequiresSsl() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_IncomingServerRequiresSsl(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::IncomingServerRequiresSsl(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::IncomingServerRequiresSsl(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_IncomingServerRequiresSsl(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::IncomingServerUsername() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::IncomingServerUsername(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::IncomingServerUsername(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_IncomingServerUsername(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::OutgoingServerAddress() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::OutgoingServerAddress(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::OutgoingServerAddress(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_OutgoingServerAddress(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::OutgoingServerPort() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::OutgoingServerPort() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_OutgoingServerPort(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::OutgoingServerPort(int32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::OutgoingServerPort(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_OutgoingServerPort(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::OutgoingServerRequiresSsl() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::OutgoingServerRequiresSsl() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->get_OutgoingServerRequiresSsl(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::OutgoingServerRequiresSsl(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::OutgoingServerRequiresSsl(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_OutgoingServerRequiresSsl(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::OutgoingServerUsername() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::OutgoingServerUsername(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration<D>::OutgoingServerUsername(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration)->put_OutgoingServerUsername(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IncomingServerCredential() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IncomingServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::OutgoingServerCredential() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::OutgoingServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::OAuthRefreshToken() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::OAuthRefreshToken(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::OAuthRefreshToken(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_OAuthRefreshToken(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsExternallyManaged() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsExternallyManaged() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_IsExternallyManaged(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsExternallyManaged(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsExternallyManaged(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_IsExternallyManaged(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountIconId) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::AccountIconId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::AccountIconId() const
{
winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountIconId value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_AccountIconId(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::AccountIconId(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountIconId const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountAuthenticationType) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::AuthenticationType() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::AuthenticationType() const
{
winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountAuthenticationType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_AuthenticationType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::AuthenticationType(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountAuthenticationType const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsSsoAuthenticationSupported() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsSsoAuthenticationSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_IsSsoAuthenticationSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::SsoAccountId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::SsoAccountId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::SsoAccountId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_SsoAccountId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::AlwaysDownloadFullMessage() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::AlwaysDownloadFullMessage() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_AlwaysDownloadFullMessage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::AlwaysDownloadFullMessage(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::AlwaysDownloadFullMessage(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_AlwaysDownloadFullMessage(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::DoesPolicyAllowMailSync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::DoesPolicyAllowMailSync() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_DoesPolicyAllowMailSync(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::SyncScheduleKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::SyncScheduleKind() const
{
winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_SyncScheduleKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::SyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountMailAgeFilter) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::MailAgeFilter() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::MailAgeFilter() const
{
winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountMailAgeFilter value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_MailAgeFilter(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::MailAgeFilter(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountMailAgeFilter const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsClientAuthenticationCertificateRequired() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsClientAuthenticationCertificateRequired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_IsClientAuthenticationCertificateRequired(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsClientAuthenticationCertificateRequired(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsClientAuthenticationCertificateRequired(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_IsClientAuthenticationCertificateRequired(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::AutoSelectAuthenticationCertificate() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::AutoSelectAuthenticationCertificate() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_AutoSelectAuthenticationCertificate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::AutoSelectAuthenticationCertificate(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::AutoSelectAuthenticationCertificate(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_AutoSelectAuthenticationCertificate(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::AuthenticationCertificateId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::AuthenticationCertificateId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::AuthenticationCertificateId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_AuthenticationCertificateId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CardDavSyncScheduleKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CardDavSyncScheduleKind() const
{
winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_CardDavSyncScheduleKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CardDavSyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CalDavSyncScheduleKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CalDavSyncScheduleKind() const
{
winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_CalDavSyncScheduleKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CalDavSyncScheduleKind(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountSyncScheduleKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CardDavServerUrl() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CardDavServerUrl(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CardDavServerUrl(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_CardDavServerUrl(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CardDavRequiresSsl() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CardDavRequiresSsl() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_CardDavRequiresSsl(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CardDavRequiresSsl(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CardDavRequiresSsl(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_CardDavRequiresSsl(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CalDavServerUrl() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CalDavServerUrl(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CalDavServerUrl(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_CalDavServerUrl(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CalDavRequiresSsl() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CalDavRequiresSsl() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_CalDavRequiresSsl(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CalDavRequiresSsl(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::CalDavRequiresSsl(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_CalDavRequiresSsl(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::WasModifiedByUser() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::WasModifiedByUser() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_WasModifiedByUser(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::WasModifiedByUser(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::WasModifiedByUser(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_WasModifiedByUser(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::WasIncomingServerCertificateHashConfirmed() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::WasIncomingServerCertificateHashConfirmed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_WasIncomingServerCertificateHashConfirmed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::WasIncomingServerCertificateHashConfirmed(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::WasIncomingServerCertificateHashConfirmed(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_WasIncomingServerCertificateHashConfirmed(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IncomingServerCertificateHash() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IncomingServerCertificateHash(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IncomingServerCertificateHash(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_IncomingServerCertificateHash(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsOutgoingServerAuthenticationRequired() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsOutgoingServerAuthenticationRequired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_IsOutgoingServerAuthenticationRequired(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsOutgoingServerAuthenticationRequired(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsOutgoingServerAuthenticationRequired(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_IsOutgoingServerAuthenticationRequired(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsOutgoingServerAuthenticationEnabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsOutgoingServerAuthenticationEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_IsOutgoingServerAuthenticationEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsOutgoingServerAuthenticationEnabled(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsOutgoingServerAuthenticationEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_IsOutgoingServerAuthenticationEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::WasOutgoingServerCertificateHashConfirmed() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::WasOutgoingServerCertificateHashConfirmed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_WasOutgoingServerCertificateHashConfirmed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::WasOutgoingServerCertificateHashConfirmed(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::WasOutgoingServerCertificateHashConfirmed(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_WasOutgoingServerCertificateHashConfirmed(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::OutgoingServerCertificateHash() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::OutgoingServerCertificateHash(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::OutgoingServerCertificateHash(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_OutgoingServerCertificateHash(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsSyncScheduleManagedBySystem() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsSyncScheduleManagedBySystem() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->get_IsSyncScheduleManagedBySystem(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsSyncScheduleManagedBySystem(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IDeviceAccountConfiguration2<D>::IsSyncScheduleManagedBySystem(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2)->put_IsSyncScheduleManagedBySystem(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics<D>::AddAndShowDeviceAccountsAsync(param::async_iterable<winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountConfiguration> const& accounts) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics<D>::AddAndShowDeviceAccountsAsync(param::async_iterable<winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountConfiguration> 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<winrt::Windows::Foundation::Collections::IVectorView<hstring>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2<D>::SuppressLocalAccountWithAccountAsync(param::hstring const& userDataAccountId) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2<D>::CreateDeviceAccountAsync(winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountConfiguration const& account) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2<D>::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<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2<D>::DeleteDeviceAccountAsync(param::hstring const& accountId) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountConfiguration>) consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2<D>::GetDeviceAccountConfigurationAsync(param::hstring const& accountId) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics2<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.h
index fc97f59e23b..f42938f4474 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataAccounts.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::UserDisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::UserDisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::UserDisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->put_UserDisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountOtherAppReadAccess) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::OtherAppReadAccess() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::OtherAppReadAccess() const
{
winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountOtherAppReadAccess value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->get_OtherAppReadAccess(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::OtherAppReadAccess(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountOtherAppReadAccess const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::OtherAppReadAccess(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountOtherAppReadAccess const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->put_OtherAppReadAccess(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::Icon() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::DeviceAccountTypeId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::PackageFamilyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::SaveAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::DeleteAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::FindAppointmentCalendarsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::FindAppointmentCalendarsAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->FindAppointmentCalendarsAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMailbox>>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::FindEmailMailboxesAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::FindEmailMailboxesAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->FindEmailMailboxesAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMailbox>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactList>>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::FindContactListsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::FindContactListsAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->FindContactListsAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactList>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationList>>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::FindContactAnnotationListsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount<D>::FindContactAnnotationListsAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount)->FindContactAnnotationListsAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationList>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount2<D>::EnterpriseId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount2<D>::IsProtectedUnderLock() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount2<D>::IsProtectedUnderLock() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount2)->get_IsProtectedUnderLock(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount3<D>::ExplictReadAccessPackageFamilyNames() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount3<D>::ExplictReadAccessPackageFamilyNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount3)->get_ExplictReadAccessPackageFamilyNames(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount3<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount3<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount3<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount3)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4<D>::CanShowCreateContactGroup() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4<D>::CanShowCreateContactGroup() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount4)->get_CanShowCreateContactGroup(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4<D>::CanShowCreateContactGroup(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4<D>::CanShowCreateContactGroup(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount4)->put_CanShowCreateContactGroup(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4<D>::ProviderProperties() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskList>>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4<D>::FindUserDataTaskListsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4<D>::FindUserDataTaskListsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount4)->FindUserDataTaskListsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskList>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactGroup>>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4<D>::FindContactGroupsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4<D>::FindContactGroupsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount4)->FindContactGroupsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactGroup>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4<D>::TryShowCreateContactGroupAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4<D>::TryShowCreateContactGroupAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount4)->TryShowCreateContactGroupAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4<D>::IsProtectedUnderLock(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4<D>::IsProtectedUnderLock(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount4)->put_IsProtectedUnderLock(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4<D>::Icon(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount4<D>::Icon(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount4)->put_Icon(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStore>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerForUser<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType const& storeAccessType) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerForUser<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType const& storeAccessType) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountManagerForUser)->RequestStoreAsync(static_cast<int32_t>(storeAccessType), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStore>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerForUser<D>::User() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStore>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType const& storeAccessType) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType const& storeAccessType) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountManagerStatics)->RequestStoreAsync(static_cast<int32_t>(storeAccessType), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStore>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics<D>::ShowAddAccountAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountContentKinds const& contentKinds) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics<D>::ShowAddAccountAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountContentKinds const& contentKinds) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountManagerStatics)->ShowAddAccountAsync(static_cast<uint32_t>(contentKinds), &result));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics<D>::ShowAccountSettingsAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics<D>::ShowAccountErrorResolverAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountManagerForUser) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics2<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccount>>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore<D>::FindAccountsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore<D>::FindAccountsAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore)->FindAccountsAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccount>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccount>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore<D>::GetAccountAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore<D>::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<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccount>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccount>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore<D>::CreateAccountAsync(param::hstring const& userDisplayName) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore<D>::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<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccount>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccount>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2<D>::CreateAccountAsync(param::hstring const& userDisplayName, param::hstring const& packageRelativeAppId) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2<D>::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<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccount>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2<D>::StoreChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStore, winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2<D>::StoreChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStore, winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreChangedEventArgs> 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 D> typename consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2<D>::StoreChanged_revoker consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2<D>::StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStore, winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2<D>::StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStore, winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StoreChanged_revoker>(this, StoreChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2<D>::StoreChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2<D>::StoreChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore2)->remove_StoreChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccount>) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore3<D>::CreateAccountAsync(param::hstring const& userDisplayName, param::hstring const& packageRelativeAppId, param::hstring const& enterpriseId) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore3<D>::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<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccount>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStoreChangedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStoreChangedEventArgs<D>::GetDeferral() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStoreChangedEventArgs)->GetDeferral(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataTasks.DataProvider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataTasks.DataProvider.h
index 75055ca7d4b..c7ff4cd3af3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataTasks.DataProvider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::CreateOrUpdateTaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCreateOrUpdateTaskRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::CreateOrUpdateTaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCreateOrUpdateTaskRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::CreateOrUpdateTaskRequested_revoker consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::CreateOrUpdateTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCreateOrUpdateTaskRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::CreateOrUpdateTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCreateOrUpdateTaskRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CreateOrUpdateTaskRequested_revoker>(this, CreateOrUpdateTaskRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::CreateOrUpdateTaskRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::CreateOrUpdateTaskRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection)->remove_CreateOrUpdateTaskRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::SyncRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSyncManagerSyncRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::SyncRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSyncManagerSyncRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::SyncRequested_revoker consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSyncManagerSyncRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSyncManagerSyncRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SyncRequested_revoker>(this, SyncRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::SyncRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::SyncRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection)->remove_SyncRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::SkipOccurrenceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSkipOccurrenceRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::SkipOccurrenceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSkipOccurrenceRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::SkipOccurrenceRequested_revoker consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::SkipOccurrenceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSkipOccurrenceRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::SkipOccurrenceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSkipOccurrenceRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SkipOccurrenceRequested_revoker>(this, SkipOccurrenceRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::SkipOccurrenceRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::SkipOccurrenceRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection)->remove_SkipOccurrenceRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::CompleteTaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCompleteTaskRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::CompleteTaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCompleteTaskRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::CompleteTaskRequested_revoker consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::CompleteTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCompleteTaskRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::CompleteTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCompleteTaskRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CompleteTaskRequested_revoker>(this, CompleteTaskRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::CompleteTaskRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::CompleteTaskRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection)->remove_CompleteTaskRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::DeleteTaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListDeleteTaskRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::DeleteTaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListDeleteTaskRequestEventArgs> 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 D> typename consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::DeleteTaskRequested_revoker consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::DeleteTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListDeleteTaskRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::DeleteTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListDeleteTaskRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DeleteTaskRequested_revoker>(this, DeleteTaskRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::DeleteTaskRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::DeleteTaskRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection)->remove_DeleteTaskRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::Start() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderTriggerDetails<D>::Connection() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest<D>::TaskListId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest<D>::TaskId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest<D>::ReportCompletedAsync(param::hstring const& completedTaskId) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCompleteTaskRequest) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCompleteTaskRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest<D>::TaskListId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest<D>::Task() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest<D>::ReportCompletedAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& createdOrUpdatedUserDataTask) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCreateOrUpdateTaskRequest) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListCreateOrUpdateTaskRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest<D>::TaskListId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest<D>::TaskId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListDeleteTaskRequest) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListDeleteTaskRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest<D>::TaskListId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest<D>::TaskId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSkipOccurrenceRequest) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSkipOccurrenceRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequest<D>::TaskListId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSyncManagerSyncRequest) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskListSyncManagerSyncRequestEventArgs<D>::GetDeferral() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSyncManagerSyncRequestEventArgs)->GetDeferral(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataTasks.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataTasks.h
index dbfff210a6e..bb70c69dad2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.UserDataTasks.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::ListId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::RemoteId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::RemoteId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::RemoteId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_RemoteId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::CompletedDate() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::CompletedDate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_CompletedDate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::CompletedDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::CompletedDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_CompletedDate(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Details() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Details(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Details(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_Details(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::DetailsKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::DetailsKind() const
{
winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_DetailsKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::DetailsKind(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::DetailsKind(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDetailsKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_DetailsKind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::DueDate() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::DueDate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_DueDate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::DueDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::DueDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_DueDate(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskKind) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Kind() const
{
winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Priority() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Priority() const
{
winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_Priority(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Priority(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Priority(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskPriority const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_Priority(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceProperties) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::RecurrenceProperties() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::RecurrenceProperties(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceProperties const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::RecurrenceProperties(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceProperties const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_RecurrenceProperties(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationProperties) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::RegenerationProperties() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::RegenerationProperties(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationProperties const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::RegenerationProperties(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationProperties const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_RegenerationProperties(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Reminder() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Reminder() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_Reminder(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Reminder(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Reminder(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_Reminder(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Sensitivity() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Sensitivity() const
{
winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_Sensitivity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Sensitivity(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Sensitivity(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskSensitivity const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_Sensitivity(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Subject() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Subject(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::Subject(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_Subject(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::StartDate() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::StartDate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->get_StartDate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::StartDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTask<D>::StartDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask)->put_StartDate(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskBatch<D>::Tasks() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskBatch<D>::Tasks() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskBatch)->get_Tasks(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::UserDataAccountId() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::SourceDisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::OtherAppReadAccess() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::OtherAppReadAccess() const
{
winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->get_OtherAppReadAccess(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::OtherAppReadAccess(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::OtherAppReadAccess(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppReadAccess const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->put_OtherAppReadAccess(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::OtherAppWriteAccess() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::OtherAppWriteAccess() const
{
winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->get_OtherAppWriteAccess(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::OtherAppWriteAccess(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::OtherAppWriteAccess(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListOtherAppWriteAccess const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList)->put_OtherAppWriteAccess(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListLimitedWriteOperations) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::LimitedWriteOperations() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncManager) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::SyncManager() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::RegisterSyncManagerAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskReader) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::GetTaskReader() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskReader) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::GetTaskReader(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::GetTaskAsync(param::hstring const& userDataTask) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::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<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::SaveTaskAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& userDataTask) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::DeleteTaskAsync(param::hstring const& userDataTaskId) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::DeleteAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::SaveAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations<D>::TryCompleteTaskAsync(param::hstring const& userDataTaskId) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations<D>::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<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations<D>::TryCreateOrUpdateTaskAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& userDataTask) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations<D>::TryDeleteTaskAsync(param::hstring const& userDataTaskId) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations<D>::TrySkipOccurrenceAsync(param::hstring const& userDataTaskId) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::LastAttemptedSyncTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::LastAttemptedSyncTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::LastSuccessfulSyncTime() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::LastSuccessfulSyncTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::Status() const
{
winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::Status(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::Status(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncStatus const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager)->put_Status(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::SyncAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::SyncAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager)->SyncAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncManager, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::SyncStatusChanged_revoker consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SyncStatusChanged_revoker>(this, SyncStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::SyncStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListSyncManager<D>::SyncStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager)->remove_SyncStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskStore>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManager<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskStoreAccessType const& accessType) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManager<D>::RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskStoreAccessType const& accessType) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskManager)->RequestStoreAsync(static_cast<int32_t>(accessType), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskStore>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManager<D>::User() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskManager) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManagerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskManager) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManagerStatics<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions<D>::SortProperty() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions<D>::SortProperty() const
{
winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskQueryOptions)->get_SortProperty(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions<D>::SortProperty(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions<D>::SortProperty(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQuerySortProperty const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskQueryOptions)->put_SortProperty(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions<D>::Kind() const
{
winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskQueryOptions)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions<D>::Kind(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskQueryOptions<D>::Kind(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskQueryKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskQueryOptions)->put_Kind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskBatch>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskReader<D>::ReadBatchAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskReader<D>::ReadBatchAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskReader)->ReadBatchAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskBatch>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Unit() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Unit() const
{
winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->get_Unit(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Unit(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Unit(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRecurrenceUnit const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->put_Unit(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Occurrences() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Occurrences() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->get_Occurrences(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Occurrences(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Occurrences(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->put_Occurrences(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Until() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Until() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->get_Until(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Until(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Until(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->put_Until(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Interval() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Interval() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->get_Interval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Interval(int32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Interval(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->put_Interval(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDaysOfWeek>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::DaysOfWeek() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::DaysOfWeek() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->get_DaysOfWeek(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDaysOfWeek>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::DaysOfWeek(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDaysOfWeek> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::DaysOfWeek(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDaysOfWeek> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->put_DaysOfWeek(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskWeekOfMonth>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::WeekOfMonth() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::WeekOfMonth() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->get_WeekOfMonth(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskWeekOfMonth>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::WeekOfMonth(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskWeekOfMonth> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::WeekOfMonth(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskWeekOfMonth> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->put_WeekOfMonth(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Month() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Month() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->get_Month(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Month(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Month(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->put_Month(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Day() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Day() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->get_Day(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Day(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRecurrenceProperties<D>::Day(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties)->put_Day(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties<D>::Unit() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties<D>::Unit() const
{
winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties)->get_Unit(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties<D>::Unit(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties<D>::Unit(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskRegenerationUnit const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties)->put_Unit(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties<D>::Occurrences() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties<D>::Occurrences() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties)->get_Occurrences(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties<D>::Occurrences(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties<D>::Occurrences(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties)->put_Occurrences(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties<D>::Until() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties<D>::Until() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties)->get_Until(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties<D>::Until(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties<D>::Until(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties)->put_Until(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties<D>::Interval() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties<D>::Interval() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties)->get_Interval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties<D>::Interval(int32_t value) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskRegenerationProperties<D>::Interval(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties)->put_Interval(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskList>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore<D>::CreateListAsync(param::hstring const& name) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore<D>::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<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskList>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskList>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore<D>::CreateListAsync(param::hstring const& name, param::hstring const& userDataAccountId) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore<D>::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<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskList>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskList>>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore<D>::FindListsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore<D>::FindListsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskStore)->FindListsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskList>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskList>) consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore<D>::GetListAsync(param::hstring const& taskListId) const
+ template <typename D> auto consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.VoiceCommands.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.VoiceCommands.h
index 363790b8a66..f7ba5af4f72 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.VoiceCommands.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommand<D>::CommandName() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommand<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::Collections::IVectorView<hstring>>) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommand<D>::Properties() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommand<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommand)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::Collections::IVectorView<hstring>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommand<D>::SpeechRecognitionResult() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommand<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandCompletionReason) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandCompletedEventArgs<D>::Reason() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandCompletedEventArgs<D>::Reason() const
{
winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandCompletionReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandCompletedEventArgs)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandConfirmationResult<D>::Confirmed() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandConfirmationResult<D>::Confirmed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandConfirmationResult)->get_Confirmed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::Title() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::TextLine1() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::TextLine1(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::TextLine1(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->put_TextLine1(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::TextLine2() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::TextLine2(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::TextLine2(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->put_TextLine2(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::TextLine3() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::TextLine3(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::TextLine3(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->put_TextLine3(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::Image() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::Image(winrt::Windows::Storage::IStorageFile const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::Image(winrt::Windows::Storage::IStorageFile const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->put_Image(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::AppContext() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::AppContext(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::AppContext(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->put_AppContext(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::AppLaunchArgument() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::AppLaunchArgument(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::AppLaunchArgument(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->put_AppLaunchArgument(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTileType) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::ContentTileType() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::ContentTileType() const
{
winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTileType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->get_ContentTileType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::ContentTileType(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTileType const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandContentTile<D>::ContentTileType(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTileType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile)->put_ContentTileType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinition<D>::Language() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinition<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinition<D>::SetPhraseListAsync(param::hstring const& phraseListName, param::async_iterable<hstring> const& phraseList) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinition<D>::SetPhraseListAsync(param::hstring const& phraseListName, param::async_iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinitionManagerStatics<D>::InstallCommandDefinitionsFromStorageFileAsync(winrt::Windows::Storage::StorageFile const& file) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinitionManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandDefinition>) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinitionManagerStatics<D>::InstalledCommandDefinitions() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDefinitionManagerStatics<D>::InstalledCommandDefinitions() const
{
void* voiceCommandDefinitions{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandDefinitionManagerStatics)->get_InstalledCommandDefinitions(&voiceCommandDefinitions));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandDefinition>{ voiceCommandDefinitions, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTile) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDisambiguationResult<D>::SelectedItem() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDisambiguationResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse<D>::Message() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse<D>::Message(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse<D>::Message(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponse)->put_Message(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse<D>::RepeatMessage() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse<D>::RepeatMessage(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse<D>::RepeatMessage(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponse)->put_RepeatMessage(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse<D>::AppLaunchArgument() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse<D>::AppLaunchArgument(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse<D>::AppLaunchArgument(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponse)->put_AppLaunchArgument(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTile>) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse<D>::VoiceCommandContentTiles() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponse<D>::VoiceCommandContentTiles() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponse)->get_VoiceCommandContentTiles(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics<D>::MaxSupportedVoiceCommandContentTiles() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics<D>::MaxSupportedVoiceCommandContentTiles() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponseStatics)->get_MaxSupportedVoiceCommandContentTiles(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics<D>::CreateResponse(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& userMessage) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics<D>::CreateResponse(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, param::iterable<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTile> const& contentTiles) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics<D>::CreateResponse(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, param::iterable<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTile> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics<D>::CreateResponseForPrompt(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& repeatMessage) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics<D>::CreateResponseForPrompt(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& repeatMessage, param::iterable<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTile> const& contentTiles) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandResponseStatics<D>::CreateResponseForPrompt(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& message, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandUserMessage const& repeatMessage, param::iterable<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTile> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommand>) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::GetVoiceCommandAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::GetVoiceCommandAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection)->GetVoiceCommandAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommand>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandConfirmationResult>) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::RequestConfirmationAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::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<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandConfirmationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandDisambiguationResult>) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::RequestDisambiguationAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::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<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandDisambiguationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::ReportProgressAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::ReportSuccessAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::ReportFailureAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::RequestAppLaunchAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::Language() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::VoiceCommandCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandServiceConnection, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::VoiceCommandCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandServiceConnection, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandCompletedEventArgs> 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 D> typename consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::VoiceCommandCompleted_revoker consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::VoiceCommandCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandServiceConnection, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::VoiceCommandCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandServiceConnection, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, VoiceCommandCompleted_revoker>(this, VoiceCommandCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::VoiceCommandCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection<D>::VoiceCommandCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection)->remove_VoiceCommandCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandServiceConnection) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnectionStatics<D>::FromAppServiceTriggerDetails(winrt::Windows::ApplicationModel::AppService::AppServiceTriggerDetails const& triggerDetails) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage<D>::DisplayMessage() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage<D>::DisplayMessage(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage<D>::DisplayMessage(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandUserMessage)->put_DisplayMessage(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage<D>::SpokenMessage() const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage<D>::SpokenMessage(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandUserMessage<D>::SpokenMessage(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandUserMessage)->put_SpokenMessage(*(void**)(&value)));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Wallet.System.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Wallet.System.h
index ea912d75c80..7c6b4564b28 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Wallet.System.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Wallet::WalletItem>>) consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore<D>::GetItemsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore<D>::GetItemsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::System::IWalletItemSystemStore)->GetItemsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Wallet::WalletItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore<D>::DeleteAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Wallet::WalletItem>) consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore<D>::ImportItemAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore<D>::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<winrt::Windows::ApplicationModel::Wallet::WalletItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::System::WalletItemAppAssociation) consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore<D>::GetAppStatusForItem(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore<D>::LaunchAppForItemAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2<D>::ItemsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2<D>::ItemsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2<D>::ItemsChanged_revoker consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2<D>::ItemsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2<D>::ItemsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ItemsChanged_revoker>(this, ItemsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2<D>::ItemsChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2<D>::ItemsChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::System::IWalletItemSystemStore2)->remove_ItemsChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore>) consume_Windows_ApplicationModel_Wallet_System_IWalletManagerSystemStatics<D>::RequestStoreAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_System_IWalletManagerSystemStatics<D>::RequestStoreAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::System::IWalletManagerSystemStatics)->RequestStoreAsync(&operation));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Wallet.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Wallet.h
index 78eb8ef7459..57045a41457 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.Wallet.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletBarcodeSymbology) consume_Windows_ApplicationModel_Wallet_IWalletBarcode<D>::Symbology() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletBarcode<D>::Symbology() const
{
winrt::Windows::ApplicationModel::Wallet::WalletBarcodeSymbology value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletBarcode)->get_Symbology(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletBarcode<D>::Value() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletBarcode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamReference>) consume_Windows_ApplicationModel_Wallet_IWalletBarcode<D>::GetImageAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletBarcode<D>::GetImageAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletBarcode)->GetImageAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamReference>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletBarcode) consume_Windows_ApplicationModel_Wallet_IWalletBarcodeFactory<D>::CreateWalletBarcode(winrt::Windows::ApplicationModel::Wallet::WalletBarcodeSymbology const& symbology, param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletBarcodeFactory<D>::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<int32_t>(symbology), *(void**)(&value), &barcode));
return winrt::Windows::ApplicationModel::Wallet::WalletBarcode{ barcode, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletBarcode) consume_Windows_ApplicationModel_Wallet_IWalletBarcodeFactory<D>::CreateCustomWalletBarcode(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& streamToBarcodeImage) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletBarcodeFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::IsAcknowledged() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::IsAcknowledged() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_IsAcknowledged(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::IsAcknowledged(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::IsAcknowledged(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_IsAcknowledged(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::IssuerDisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::IssuerDisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::IssuerDisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_IssuerDisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::LastUpdated() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::LastUpdated() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_LastUpdated(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::LastUpdated(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::LastUpdated(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_LastUpdated(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletItemKind) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::Kind() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::Kind() const
{
winrt::Windows::ApplicationModel::Wallet::WalletItemKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletBarcode) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::Barcode() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::Barcode(winrt::Windows::ApplicationModel::Wallet::WalletBarcode const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::Barcode(winrt::Windows::ApplicationModel::Wallet::WalletBarcode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_Barcode(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::ExpirationDate() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::ExpirationDate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_ExpirationDate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::ExpirationDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::ExpirationDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_ExpirationDate(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::Logo159x159() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::Logo159x159(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::Logo159x159(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_Logo159x159(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::Logo336x336() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::Logo336x336(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::Logo336x336(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_Logo336x336(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::Logo99x99() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::Logo99x99(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::Logo99x99(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_Logo99x99(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::DisplayMessage() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::DisplayMessage(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::DisplayMessage(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_DisplayMessage(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::IsDisplayMessageLaunchable() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::IsDisplayMessageLaunchable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_IsDisplayMessageLaunchable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::IsDisplayMessageLaunchable(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::IsDisplayMessageLaunchable(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_IsDisplayMessageLaunchable(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::LogoText() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::LogoText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::LogoText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_LogoText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::HeaderColor() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::HeaderColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::BodyColor() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::BodyColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::HeaderFontColor() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::HeaderFontColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::BodyFontColor() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::BodyFontColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::HeaderBackgroundImage() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::HeaderBackgroundImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::HeaderBackgroundImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_HeaderBackgroundImage(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::BodyBackgroundImage() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::BodyBackgroundImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::BodyBackgroundImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_BodyBackgroundImage(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::LogoImage() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::LogoImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::LogoImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_LogoImage(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::PromotionalImage() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::PromotionalImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::PromotionalImage(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_PromotionalImage(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::RelevantDate() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::RelevantDate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_RelevantDate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::RelevantDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::RelevantDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_RelevantDate(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::RelevantDateDisplayMessage() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::RelevantDateDisplayMessage(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::RelevantDateDisplayMessage(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_RelevantDateDisplayMessage(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::ApplicationModel::Wallet::WalletTransaction>) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::TransactionHistory() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::TransactionHistory() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_TransactionHistory(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::ApplicationModel::Wallet::WalletTransaction>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::ApplicationModel::Wallet::WalletRelevantLocation>) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::RelevantLocations() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::RelevantLocations() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_RelevantLocations(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::ApplicationModel::Wallet::WalletRelevantLocation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::IsMoreTransactionHistoryLaunchable() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::IsMoreTransactionHistoryLaunchable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_IsMoreTransactionHistoryLaunchable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::IsMoreTransactionHistoryLaunchable(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::IsMoreTransactionHistoryLaunchable(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->put_IsMoreTransactionHistoryLaunchable(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::ApplicationModel::Wallet::WalletItemCustomProperty>) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::DisplayProperties() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::DisplayProperties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_DisplayProperties(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::ApplicationModel::Wallet::WalletItemCustomProperty>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::ApplicationModel::Wallet::WalletVerb>) consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::Verbs() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItem<D>::Verbs() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItem)->get_Verbs(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::ApplicationModel::Wallet::WalletVerb>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::Value() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::Value(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::Value(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->put_Value(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::AutoDetectLinks() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::AutoDetectLinks() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->get_AutoDetectLinks(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::AutoDetectLinks(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::AutoDetectLinks(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->put_AutoDetectLinks(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletDetailViewPosition) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::DetailViewPosition() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::DetailViewPosition() const
{
winrt::Windows::ApplicationModel::Wallet::WalletDetailViewPosition value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->get_DetailViewPosition(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::DetailViewPosition(winrt::Windows::ApplicationModel::Wallet::WalletDetailViewPosition const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::DetailViewPosition(winrt::Windows::ApplicationModel::Wallet::WalletDetailViewPosition const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->put_DetailViewPosition(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletSummaryViewPosition) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::SummaryViewPosition() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::SummaryViewPosition() const
{
winrt::Windows::ApplicationModel::Wallet::WalletSummaryViewPosition value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->get_SummaryViewPosition(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::SummaryViewPosition(winrt::Windows::ApplicationModel::Wallet::WalletSummaryViewPosition const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomProperty<D>::SummaryViewPosition(winrt::Windows::ApplicationModel::Wallet::WalletSummaryViewPosition const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty)->put_SummaryViewPosition(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletItemCustomProperty) consume_Windows_ApplicationModel_Wallet_IWalletItemCustomPropertyFactory<D>::CreateWalletItemCustomProperty(param::hstring const& name, param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemCustomPropertyFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletItem) consume_Windows_ApplicationModel_Wallet_IWalletItemFactory<D>::CreateWalletItem(winrt::Windows::ApplicationModel::Wallet::WalletItemKind const& kind, param::hstring const& displayName) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemFactory<D>::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<int32_t>(kind), *(void**)(&displayName), &walletItem));
return winrt::Windows::ApplicationModel::Wallet::WalletItem{ walletItem, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::AddAsync(param::hstring const& id, winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::ClearAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Wallet::WalletItem>) consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::GetWalletItemAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::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<winrt::Windows::ApplicationModel::Wallet::WalletItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Wallet::WalletItem>>) consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::GetItemsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::GetItemsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemStore)->GetItemsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Wallet::WalletItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Wallet::WalletItem>>) consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::GetItemsAsync(winrt::Windows::ApplicationModel::Wallet::WalletItemKind const& kind) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::GetItemsAsync(winrt::Windows::ApplicationModel::Wallet::WalletItemKind const& kind) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemStore)->GetItemsWithKindAsync(static_cast<int32_t>(kind), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Wallet::WalletItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Wallet::WalletItem>) consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::ImportItemAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::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<winrt::Windows::ApplicationModel::Wallet::WalletItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::DeleteAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::ShowAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::ShowAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::UpdateAsync(winrt::Windows::ApplicationModel::Wallet::WalletItem const& item) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_Wallet_IWalletItemStore2<D>::ItemsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Wallet::WalletItemStore, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore2<D>::ItemsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Wallet::WalletItemStore, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_ApplicationModel_Wallet_IWalletItemStore2<D>::ItemsChanged_revoker consume_Windows_ApplicationModel_Wallet_IWalletItemStore2<D>::ItemsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Wallet::WalletItemStore, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore2<D>::ItemsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Wallet::WalletItemStore, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ItemsChanged_revoker>(this, ItemsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletItemStore2<D>::ItemsChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletItemStore2<D>::ItemsChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletItemStore2)->remove_ItemsChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Wallet::WalletItemStore>) consume_Windows_ApplicationModel_Wallet_IWalletManagerStatics<D>::RequestStoreAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletManagerStatics<D>::RequestStoreAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletManagerStatics)->RequestStoreAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Wallet::WalletItemStore>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation<D>::Position() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation<D>::Position(winrt::Windows::Devices::Geolocation::BasicGeoposition const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation<D>::DisplayMessage() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation<D>::DisplayMessage(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletRelevantLocation<D>::DisplayMessage(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletRelevantLocation)->put_DisplayMessage(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::DisplayAmount() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::DisplayAmount(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::DisplayAmount(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->put_DisplayAmount(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::IgnoreTimeOfDay() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::IgnoreTimeOfDay() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->get_IgnoreTimeOfDay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::IgnoreTimeOfDay(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::IgnoreTimeOfDay(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->put_IgnoreTimeOfDay(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::DisplayLocation() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::DisplayLocation(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::DisplayLocation(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->put_DisplayLocation(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::TransactionDate() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::TransactionDate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->get_TransactionDate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::TransactionDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::TransactionDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->put_TransactionDate(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::IsLaunchable() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::IsLaunchable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->get_IsLaunchable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::IsLaunchable(bool value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletTransaction<D>::IsLaunchable(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletTransaction)->put_IsLaunchable(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_Wallet_IWalletVerb<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletVerb<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_Wallet_IWalletVerb<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletVerb<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Wallet::IWalletVerb)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Wallet::WalletVerb) consume_Windows_ApplicationModel_Wallet_IWalletVerbFactory<D>::CreateWalletVerb(param::hstring const& name) const
+ template <typename D> auto consume_Windows_ApplicationModel_Wallet_IWalletVerbFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.h
index 7cb182363b3..ced48ac1b07 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.ApplicationModel.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IAppDisplayInfo<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppDisplayInfo<D>::DisplayName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppDisplayInfo)->get_DisplayName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IAppDisplayInfo<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppDisplayInfo<D>::Description() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppDisplayInfo)->get_Description(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_ApplicationModel_IAppDisplayInfo<D>::GetLogo(winrt::Windows::Foundation::Size const& size) const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppDisplayInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IAppInfo<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInfo<D>::Id() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfo)->get_Id(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IAppInfo<D>::AppUserModelId() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInfo<D>::AppUserModelId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfo)->get_AppUserModelId(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppDisplayInfo) consume_Windows_ApplicationModel_IAppInfo<D>::DisplayInfo() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IAppInfo<D>::PackageFamilyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInfo<D>::PackageFamilyName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfo)->get_PackageFamilyName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IAppInfo2<D>::Package() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInfo2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppExecutionContext) consume_Windows_ApplicationModel_IAppInfo3<D>::ExecutionContext() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInfo3<D>::ExecutionContext() const
{
winrt::Windows::ApplicationModel::AppExecutionContext value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInfo3)->get_ExecutionContext(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(com_array<hstring>) consume_Windows_ApplicationModel_IAppInfo4<D>::SupportedFileExtensions() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInfo4<D>::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<hstring>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_ApplicationModel_IAppInfoStatics<D>::Current() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_ApplicationModel_IAppInfoStatics<D>::GetFromAppUserModelId(param::hstring const& appUserModelId) const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_ApplicationModel_IAppInfoStatics<D>::GetFromAppUserModelIdForUser(winrt::Windows::System::User const& user, param::hstring const& appUserModelId) const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_IAppInstallerInfo<D>::Uri() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInstallerInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IAppInstance<D>::Key() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInstance<D>::Key() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInstance)->get_Key(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IAppInstance<D>::IsCurrentInstance() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInstance<D>::IsCurrentInstance() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInstance)->get_IsCurrentInstance(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IAppInstance<D>::RedirectActivationTo() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInstance<D>::RedirectActivationTo() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInstance)->RedirectActivationTo());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInstance) consume_Windows_ApplicationModel_IAppInstanceStatics<D>::RecommendedInstance() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInstanceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs) consume_Windows_ApplicationModel_IAppInstanceStatics<D>::GetActivatedEventArgs() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInstanceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInstance) consume_Windows_ApplicationModel_IAppInstanceStatics<D>::FindOrRegisterInstanceForKey(param::hstring const& key) const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInstanceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IAppInstanceStatics<D>::Unregister() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInstanceStatics<D>::Unregister() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInstanceStatics)->Unregister());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::AppInstance>) consume_Windows_ApplicationModel_IAppInstanceStatics<D>::GetInstances() const
+ template <typename D> auto consume_Windows_ApplicationModel_IAppInstanceStatics<D>::GetInstances() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IAppInstanceStatics)->GetInstances(&result));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::AppInstance>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ICameraApplicationManagerStatics<D>::ShowInstalledApplicationsUI() const
+ template <typename D> auto consume_Windows_ApplicationModel_ICameraApplicationManagerStatics<D>::ShowInstalledApplicationsUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ICameraApplicationManagerStatics)->ShowInstalledApplicationsUI());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IDesignModeStatics<D>::DesignModeEnabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_IDesignModeStatics<D>::DesignModeEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IDesignModeStatics)->get_DesignModeEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IDesignModeStatics2<D>::DesignMode2Enabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_IDesignModeStatics2<D>::DesignMode2Enabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IDesignModeStatics2)->get_DesignMode2Enabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_IEnteredBackgroundEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_IEnteredBackgroundEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics<D>::LaunchFullTrustProcessForCurrentAppAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics<D>::LaunchFullTrustProcessForCurrentAppAsync(param::hstring const& parameterGroupId) const
+ template <typename D> auto consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics<D>::LaunchFullTrustProcessForCurrentAppAsync(param::hstring const& parameterGroupId) const
{
void* asyncAction{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IFullTrustProcessLauncherStatics)->LaunchFullTrustProcessForCurrentAppWithParametersAsync(*(void**)(&parameterGroupId), &asyncAction));
return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics<D>::LaunchFullTrustProcessForAppAsync(param::hstring const& fullTrustPackageRelativeAppId) const
+ template <typename D> auto consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics<D>::LaunchFullTrustProcessForAppAsync(param::hstring const& fullTrustPackageRelativeAppId, param::hstring const& parameterGroupId) const
+ template <typename D> auto consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics<D>::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**)(&parameterGroupId), &asyncAction));
return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_ApplicationModel_ILeavingBackgroundEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_ILeavingBackgroundEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_ILimitedAccessFeatureRequestResult<D>::FeatureId() const
+ template <typename D> auto consume_Windows_ApplicationModel_ILimitedAccessFeatureRequestResult<D>::FeatureId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ILimitedAccessFeatureRequestResult)->get_FeatureId(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::LimitedAccessFeatureStatus) consume_Windows_ApplicationModel_ILimitedAccessFeatureRequestResult<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_ILimitedAccessFeatureRequestResult<D>::Status() const
{
winrt::Windows::ApplicationModel::LimitedAccessFeatureStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ILimitedAccessFeatureRequestResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_ApplicationModel_ILimitedAccessFeatureRequestResult<D>::EstimatedRemovalDate() const
+ template <typename D> auto consume_Windows_ApplicationModel_ILimitedAccessFeatureRequestResult<D>::EstimatedRemovalDate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ILimitedAccessFeatureRequestResult)->get_EstimatedRemovalDate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::LimitedAccessFeatureRequestResult) consume_Windows_ApplicationModel_ILimitedAccessFeaturesStatics<D>::TryUnlockFeature(param::hstring const& featureId, param::hstring const& token, param::hstring const& attestation) const
+ template <typename D> auto consume_Windows_ApplicationModel_ILimitedAccessFeaturesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageId) consume_Windows_ApplicationModel_IPackage<D>::Id() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_ApplicationModel_IPackage<D>::InstalledLocation() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackage<D>::IsFramework() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage<D>::IsFramework() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage)->get_IsFramework(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Package>) consume_Windows_ApplicationModel_IPackage<D>::Dependencies() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage<D>::Dependencies() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage)->get_Dependencies(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Package>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage2<D>::DisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage2<D>::DisplayName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage2)->get_DisplayName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage2<D>::PublisherDisplayName() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage2<D>::PublisherDisplayName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage2)->get_PublisherDisplayName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage2<D>::Description() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage2<D>::Description() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage2)->get_Description(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_ApplicationModel_IPackage2<D>::Logo() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackage2<D>::IsResourcePackage() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage2<D>::IsResourcePackage() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage2)->get_IsResourcePackage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackage2<D>::IsBundle() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage2<D>::IsBundle() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage2)->get_IsBundle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackage2<D>::IsDevelopmentMode() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage2<D>::IsDevelopmentMode() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage2)->get_IsDevelopmentMode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageStatus) consume_Windows_ApplicationModel_IPackage3<D>::Status() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_IPackage3<D>::InstalledDate() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage3<D>::InstalledDate() const
{
winrt::Windows::Foundation::DateTime value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage3)->get_InstalledDate(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Core::AppListEntry>>) consume_Windows_ApplicationModel_IPackage3<D>::GetAppListEntriesAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage3<D>::GetAppListEntriesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage3)->GetAppListEntriesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Core::AppListEntry>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageSignatureKind) consume_Windows_ApplicationModel_IPackage4<D>::SignatureKind() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage4<D>::SignatureKind() const
{
winrt::Windows::ApplicationModel::PackageSignatureKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage4)->get_SignatureKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackage4<D>::IsOptional() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage4<D>::IsOptional() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage4)->get_IsOptional(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_IPackage4<D>::VerifyContentIntegrityAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage4<D>::VerifyContentIntegrityAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage4)->VerifyContentIntegrityAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::PackageContentGroup>>) consume_Windows_ApplicationModel_IPackage5<D>::GetContentGroupsAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage5<D>::GetContentGroupsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage5)->GetContentGroupsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::PackageContentGroup>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageContentGroup>) consume_Windows_ApplicationModel_IPackage5<D>::GetContentGroupAsync(param::hstring const& name) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage5<D>::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<winrt::Windows::ApplicationModel::PackageContentGroup>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::PackageContentGroup>>) consume_Windows_ApplicationModel_IPackage5<D>::StageContentGroupsAsync(param::async_iterable<hstring> const& names) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage5<D>::StageContentGroupsAsync(param::async_iterable<hstring> const& names) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage5)->StageContentGroupsAsync(*(void**)(&names), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::PackageContentGroup>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::PackageContentGroup>>) consume_Windows_ApplicationModel_IPackage5<D>::StageContentGroupsAsync(param::async_iterable<hstring> const& names, bool moveToHeadOfQueue) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage5<D>::StageContentGroupsAsync(param::async_iterable<hstring> 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<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::PackageContentGroup>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_ApplicationModel_IPackage5<D>::SetInUseAsync(bool inUse) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage5<D>::SetInUseAsync(bool inUse) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage5)->SetInUseAsync(inUse, &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInstallerInfo) consume_Windows_ApplicationModel_IPackage6<D>::GetAppInstallerInfo() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageUpdateAvailabilityResult>) consume_Windows_ApplicationModel_IPackage6<D>::CheckUpdateAvailabilityAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage6<D>::CheckUpdateAvailabilityAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage6)->CheckUpdateAvailabilityAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageUpdateAvailabilityResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_ApplicationModel_IPackage7<D>::MutableLocation() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_ApplicationModel_IPackage7<D>::EffectiveLocation() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_ApplicationModel_IPackage8<D>::EffectiveExternalLocation() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_ApplicationModel_IPackage8<D>::MachineExternalLocation() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_ApplicationModel_IPackage8<D>::UserExternalLocation() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage8<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage8<D>::InstalledPath() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage8<D>::InstalledPath() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->get_InstalledPath(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage8<D>::MutablePath() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage8<D>::MutablePath() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->get_MutablePath(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage8<D>::EffectivePath() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage8<D>::EffectivePath() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->get_EffectivePath(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage8<D>::EffectiveExternalPath() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage8<D>::EffectiveExternalPath() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->get_EffectiveExternalPath(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage8<D>::MachineExternalPath() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage8<D>::MachineExternalPath() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->get_MachineExternalPath(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackage8<D>::UserExternalPath() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage8<D>::UserExternalPath() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->get_UserExternalPath(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_ApplicationModel_IPackage8<D>::GetLogoAsRandomAccessStreamReference(winrt::Windows::Foundation::Size const& size) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Core::AppListEntry>) consume_Windows_ApplicationModel_IPackage8<D>::GetAppListEntries() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage8<D>::GetAppListEntries() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->GetAppListEntries(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Core::AppListEntry>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackage8<D>::IsStub() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackage8<D>::IsStub() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackage8)->get_IsStub(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageStaging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStagingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageStaging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStagingEventArgs> 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 D> typename consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageStaging_revoker consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStagingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStagingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PackageStaging_revoker>(this, PackageStaging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageStaging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageStaging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog)->remove_PackageStaging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageInstalling(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageInstallingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageInstalling(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageInstallingEventArgs> 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 D> typename consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageInstalling_revoker consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageInstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageInstallingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageInstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageInstallingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PackageInstalling_revoker>(this, PackageInstalling(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageInstalling(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageInstalling(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog)->remove_PackageInstalling(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageUpdating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUpdatingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageUpdating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUpdatingEventArgs> 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 D> typename consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageUpdating_revoker consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUpdatingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUpdatingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PackageUpdating_revoker>(this, PackageUpdating(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageUpdating(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageUpdating(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog)->remove_PackageUpdating(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageUninstalling(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUninstallingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageUninstalling(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUninstallingEventArgs> 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 D> typename consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageUninstalling_revoker consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUninstallingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUninstallingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PackageUninstalling_revoker>(this, PackageUninstalling(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageUninstalling(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageUninstalling(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog)->remove_PackageUninstalling(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStatusChangedEventArgs> 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 D> typename consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageStatusChanged_revoker consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStatusChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PackageStatusChanged_revoker>(this, PackageStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog<D>::PackageStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog)->remove_PackageStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_ApplicationModel_IPackageCatalog2<D>::PackageContentGroupStaging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageContentGroupStagingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog2<D>::PackageContentGroupStaging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageContentGroupStagingEventArgs> 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 D> typename consume_Windows_ApplicationModel_IPackageCatalog2<D>::PackageContentGroupStaging_revoker consume_Windows_ApplicationModel_IPackageCatalog2<D>::PackageContentGroupStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageContentGroupStagingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog2<D>::PackageContentGroupStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageContentGroupStagingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PackageContentGroupStaging_revoker>(this, PackageContentGroupStaging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IPackageCatalog2<D>::PackageContentGroupStaging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog2<D>::PackageContentGroupStaging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog2)->remove_PackageContentGroupStaging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageCatalogAddOptionalPackageResult>) consume_Windows_ApplicationModel_IPackageCatalog2<D>::AddOptionalPackageAsync(param::hstring const& optionalPackageFamilyName) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog2<D>::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<winrt::Windows::ApplicationModel::PackageCatalogAddOptionalPackageResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageCatalogRemoveOptionalPackagesResult>) consume_Windows_ApplicationModel_IPackageCatalog3<D>::RemoveOptionalPackagesAsync(param::async_iterable<hstring> const& optionalPackageFamilyNames) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog3<D>::RemoveOptionalPackagesAsync(param::async_iterable<hstring> const& optionalPackageFamilyNames) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog3)->RemoveOptionalPackagesAsync(*(void**)(&optionalPackageFamilyNames), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageCatalogRemoveOptionalPackagesResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::ApplicationModel::PackageCatalogAddResourcePackageResult, winrt::Windows::ApplicationModel::PackageInstallProgress>) consume_Windows_ApplicationModel_IPackageCatalog4<D>::AddResourcePackageAsync(param::hstring const& resourcePackageFamilyName, param::hstring const& resourceID, winrt::Windows::ApplicationModel::AddResourcePackageOptions const& options) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog4<D>::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<uint32_t>(options), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::ApplicationModel::PackageCatalogAddResourcePackageResult, winrt::Windows::ApplicationModel::PackageInstallProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageCatalogRemoveResourcePackagesResult>) consume_Windows_ApplicationModel_IPackageCatalog4<D>::RemoveResourcePackagesAsync(param::async_iterable<winrt::Windows::ApplicationModel::Package> const& resourcePackages) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalog4<D>::RemoveResourcePackagesAsync(param::async_iterable<winrt::Windows::ApplicationModel::Package> const& resourcePackages) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalog4)->RemoveResourcePackagesAsync(*(void**)(&resourcePackages), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageCatalogRemoveResourcePackagesResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageCatalogAddOptionalPackageResult<D>::Package() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalogAddOptionalPackageResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageCatalogAddOptionalPackageResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalogAddOptionalPackageResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogAddOptionalPackageResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageCatalogAddResourcePackageResult<D>::Package() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalogAddResourcePackageResult<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageCatalogAddResourcePackageResult<D>::IsComplete() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalogAddResourcePackageResult<D>::IsComplete() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogAddResourcePackageResult)->get_IsComplete(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageCatalogAddResourcePackageResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalogAddResourcePackageResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogAddResourcePackageResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Package>) consume_Windows_ApplicationModel_IPackageCatalogRemoveOptionalPackagesResult<D>::PackagesRemoved() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalogRemoveOptionalPackagesResult<D>::PackagesRemoved() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogRemoveOptionalPackagesResult)->get_PackagesRemoved(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Package>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageCatalogRemoveOptionalPackagesResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalogRemoveOptionalPackagesResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogRemoveOptionalPackagesResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Package>) consume_Windows_ApplicationModel_IPackageCatalogRemoveResourcePackagesResult<D>::PackagesRemoved() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalogRemoveResourcePackagesResult<D>::PackagesRemoved() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogRemoveResourcePackagesResult)->get_PackagesRemoved(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Package>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageCatalogRemoveResourcePackagesResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalogRemoveResourcePackagesResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageCatalogRemoveResourcePackagesResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageCatalog) consume_Windows_ApplicationModel_IPackageCatalogStatics<D>::OpenForCurrentPackage() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalogStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageCatalog) consume_Windows_ApplicationModel_IPackageCatalogStatics<D>::OpenForCurrentUser() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageCatalogStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageContentGroup<D>::Package() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageContentGroup<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageContentGroup<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageContentGroup<D>::Name() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroup)->get_Name(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageContentGroupState) consume_Windows_ApplicationModel_IPackageContentGroup<D>::State() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageContentGroup<D>::State() const
{
winrt::Windows::ApplicationModel::PackageContentGroupState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroup)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageContentGroup<D>::IsRequired() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageContentGroup<D>::IsRequired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroup)->get_IsRequired(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs<D>::ActivityId() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs<D>::ActivityId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs)->get_ActivityId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs<D>::Package() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs<D>::Progress() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs<D>::Progress() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs)->get_Progress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs<D>::IsComplete() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs<D>::IsComplete() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs)->get_IsComplete(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs<D>::ErrorCode() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs)->get_ErrorCode(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs<D>::ContentGroupName() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs<D>::ContentGroupName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs)->get_ContentGroupName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs<D>::IsContentGroupRequired() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageContentGroupStagingEventArgs<D>::IsContentGroupRequired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs)->get_IsContentGroupRequired(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageContentGroupStatics<D>::RequiredGroupName() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageContentGroupStatics<D>::RequiredGroupName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageContentGroupStatics)->get_RequiredGroupName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageId<D>::Name() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageId<D>::Name() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageId)->get_Name(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageVersion) consume_Windows_ApplicationModel_IPackageId<D>::Version() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageId<D>::Version() const
{
winrt::Windows::ApplicationModel::PackageVersion value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageId)->get_Version(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::ProcessorArchitecture) consume_Windows_ApplicationModel_IPackageId<D>::Architecture() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageId<D>::Architecture() const
{
winrt::Windows::System::ProcessorArchitecture value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageId)->get_Architecture(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageId<D>::ResourceId() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageId<D>::ResourceId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageId)->get_ResourceId(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageId<D>::Publisher() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageId<D>::Publisher() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageId)->get_Publisher(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageId<D>::PublisherId() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageId<D>::PublisherId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageId)->get_PublisherId(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageId<D>::FullName() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageId<D>::FullName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageId)->get_FullName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageId<D>::FamilyName() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageId<D>::FamilyName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageId)->get_FamilyName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageIdWithMetadata<D>::ProductId() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageIdWithMetadata<D>::ProductId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageIdWithMetadata)->get_ProductId(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageIdWithMetadata<D>::Author() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageIdWithMetadata<D>::Author() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageIdWithMetadata)->get_Author(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_IPackageInstallingEventArgs<D>::ActivityId() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageInstallingEventArgs<D>::ActivityId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageInstallingEventArgs)->get_ActivityId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageInstallingEventArgs<D>::Package() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageInstallingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_IPackageInstallingEventArgs<D>::Progress() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageInstallingEventArgs<D>::Progress() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageInstallingEventArgs)->get_Progress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageInstallingEventArgs<D>::IsComplete() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageInstallingEventArgs<D>::IsComplete() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageInstallingEventArgs)->get_IsComplete(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageInstallingEventArgs<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageInstallingEventArgs<D>::ErrorCode() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageInstallingEventArgs)->get_ErrorCode(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_IPackageStagingEventArgs<D>::ActivityId() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStagingEventArgs<D>::ActivityId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStagingEventArgs)->get_ActivityId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageStagingEventArgs<D>::Package() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStagingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_IPackageStagingEventArgs<D>::Progress() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStagingEventArgs<D>::Progress() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStagingEventArgs)->get_Progress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStagingEventArgs<D>::IsComplete() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStagingEventArgs<D>::IsComplete() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStagingEventArgs)->get_IsComplete(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageStagingEventArgs<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStagingEventArgs<D>::ErrorCode() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStagingEventArgs)->get_ErrorCode(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageStatics<D>::Current() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus<D>::VerifyIsOK() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStatus<D>::VerifyIsOK() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->VerifyIsOK(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus<D>::NotAvailable() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStatus<D>::NotAvailable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_NotAvailable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus<D>::PackageOffline() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStatus<D>::PackageOffline() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_PackageOffline(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus<D>::DataOffline() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStatus<D>::DataOffline() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_DataOffline(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus<D>::Disabled() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStatus<D>::Disabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_Disabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus<D>::NeedsRemediation() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStatus<D>::NeedsRemediation() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_NeedsRemediation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus<D>::LicenseIssue() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStatus<D>::LicenseIssue() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_LicenseIssue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus<D>::Modified() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStatus<D>::Modified() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_Modified(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus<D>::Tampered() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStatus<D>::Tampered() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_Tampered(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus<D>::DependencyIssue() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStatus<D>::DependencyIssue() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_DependencyIssue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus<D>::Servicing() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStatus<D>::Servicing() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_Servicing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus<D>::DeploymentInProgress() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStatus<D>::DeploymentInProgress() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus)->get_DeploymentInProgress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageStatus2<D>::IsPartiallyStaged() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStatus2<D>::IsPartiallyStaged() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageStatus2)->get_IsPartiallyStaged(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageStatusChangedEventArgs<D>::Package() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageStatusChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_IPackageUninstallingEventArgs<D>::ActivityId() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageUninstallingEventArgs<D>::ActivityId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUninstallingEventArgs)->get_ActivityId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageUninstallingEventArgs<D>::Package() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageUninstallingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_IPackageUninstallingEventArgs<D>::Progress() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageUninstallingEventArgs<D>::Progress() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUninstallingEventArgs)->get_Progress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageUninstallingEventArgs<D>::IsComplete() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageUninstallingEventArgs<D>::IsComplete() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUninstallingEventArgs)->get_IsComplete(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageUninstallingEventArgs<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageUninstallingEventArgs<D>::ErrorCode() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUninstallingEventArgs)->get_ErrorCode(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::PackageUpdateAvailability) consume_Windows_ApplicationModel_IPackageUpdateAvailabilityResult<D>::Availability() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageUpdateAvailabilityResult<D>::Availability() const
{
winrt::Windows::ApplicationModel::PackageUpdateAvailability value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUpdateAvailabilityResult)->get_Availability(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageUpdateAvailabilityResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageUpdateAvailabilityResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUpdateAvailabilityResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_ApplicationModel_IPackageUpdatingEventArgs<D>::ActivityId() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageUpdatingEventArgs<D>::ActivityId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUpdatingEventArgs)->get_ActivityId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageUpdatingEventArgs<D>::SourcePackage() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageUpdatingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_ApplicationModel_IPackageUpdatingEventArgs<D>::TargetPackage() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageUpdatingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_ApplicationModel_IPackageUpdatingEventArgs<D>::Progress() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageUpdatingEventArgs<D>::Progress() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUpdatingEventArgs)->get_Progress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_ApplicationModel_IPackageUpdatingEventArgs<D>::IsComplete() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageUpdatingEventArgs<D>::IsComplete() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUpdatingEventArgs)->get_IsComplete(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_ApplicationModel_IPackageUpdatingEventArgs<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageUpdatingEventArgs<D>::ErrorCode() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageUpdatingEventArgs)->get_ErrorCode(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_IPackageWithMetadata<D>::InstallDate() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageWithMetadata<D>::InstallDate() const
{
winrt::Windows::Foundation::DateTime value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageWithMetadata)->get_InstallDate(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IPackageWithMetadata<D>::GetThumbnailToken() const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageWithMetadata<D>::GetThumbnailToken() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageWithMetadata)->GetThumbnailToken(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IPackageWithMetadata<D>::Launch(param::hstring const& parameters) const
+ template <typename D> auto consume_Windows_ApplicationModel_IPackageWithMetadata<D>::Launch(param::hstring const& parameters) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IPackageWithMetadata)->Launch(*(void**)(&parameters)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::StartupTaskState>) consume_Windows_ApplicationModel_IStartupTask<D>::RequestEnableAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_IStartupTask<D>::RequestEnableAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IStartupTask)->RequestEnableAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::StartupTaskState>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_IStartupTask<D>::Disable() const
+ template <typename D> auto consume_Windows_ApplicationModel_IStartupTask<D>::Disable() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IStartupTask)->Disable());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::StartupTaskState) consume_Windows_ApplicationModel_IStartupTask<D>::State() const
+ template <typename D> auto consume_Windows_ApplicationModel_IStartupTask<D>::State() const
{
winrt::Windows::ApplicationModel::StartupTaskState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IStartupTask)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_ApplicationModel_IStartupTask<D>::TaskId() const
+ template <typename D> auto consume_Windows_ApplicationModel_IStartupTask<D>::TaskId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IStartupTask)->get_TaskId(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::StartupTask>>) consume_Windows_ApplicationModel_IStartupTaskStatics<D>::GetForCurrentPackageAsync() const
+ template <typename D> auto consume_Windows_ApplicationModel_IStartupTaskStatics<D>::GetForCurrentPackageAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::IStartupTaskStatics)->GetForCurrentPackageAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::StartupTask>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::StartupTask>) consume_Windows_ApplicationModel_IStartupTaskStatics<D>::GetAsync(param::hstring const& taskId) const
+ template <typename D> auto consume_Windows_ApplicationModel_IStartupTaskStatics<D>::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<winrt::Windows::ApplicationModel::StartupTask>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_ApplicationModel_ISuspendingDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_ApplicationModel_ISuspendingDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ISuspendingDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SuspendingOperation) consume_Windows_ApplicationModel_ISuspendingEventArgs<D>::SuspendingOperation() const
+ template <typename D> auto consume_Windows_ApplicationModel_ISuspendingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SuspendingDeferral) consume_Windows_ApplicationModel_ISuspendingOperation<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_ApplicationModel_ISuspendingOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_ApplicationModel_ISuspendingOperation<D>::Deadline() const
+ template <typename D> auto consume_Windows_ApplicationModel_ISuspendingOperation<D>::Deadline() const
{
winrt::Windows::Foundation::DateTime value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::ISuspendingOperation)->get_Deadline(put_abi(value)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Html.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Html.h
index 28e6024213c..60d118c4e8e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Html.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Html_IHtmlUtilities<D>::ConvertToText(param::hstring const& html) const
+ template <typename D> auto consume_Windows_Data_Html_IHtmlUtilities<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Json.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Json.h
index 00d33264a3e..decebd32b34 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Json.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonObject) consume_Windows_Data_Json_IJsonArray<D>::GetObjectAt(uint32_t index) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonArray<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonArray) consume_Windows_Data_Json_IJsonArray<D>::GetArrayAt(uint32_t index) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonArray<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Json_IJsonArray<D>::GetStringAt(uint32_t index) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonArray<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Data_Json_IJsonArray<D>::GetNumberAt(uint32_t index) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonArray<D>::GetNumberAt(uint32_t index) const
{
double returnValue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonArray)->GetNumberAt(index, &returnValue));
return returnValue;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Json_IJsonArray<D>::GetBooleanAt(uint32_t index) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonArray<D>::GetBooleanAt(uint32_t index) const
{
bool returnValue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonArray)->GetBooleanAt(index, &returnValue));
return returnValue;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonArray) consume_Windows_Data_Json_IJsonArrayStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonArrayStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Json_IJsonArrayStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonArray& result) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonArrayStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonErrorStatus) consume_Windows_Data_Json_IJsonErrorStatics2<D>::GetJsonStatus(int32_t hresult) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonErrorStatics2<D>::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<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) consume_Windows_Data_Json_IJsonObject<D>::GetNamedValue(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonObject<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Json_IJsonObject<D>::SetNamedValue(param::hstring const& name, winrt::Windows::Data::Json::IJsonValue const& value) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonObject<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonObject) consume_Windows_Data_Json_IJsonObject<D>::GetNamedObject(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonObject<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonArray) consume_Windows_Data_Json_IJsonObject<D>::GetNamedArray(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonObject<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Json_IJsonObject<D>::GetNamedString(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonObject<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Data_Json_IJsonObject<D>::GetNamedNumber(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonObject<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Json_IJsonObject<D>::GetNamedBoolean(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonObject<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonObject) consume_Windows_Data_Json_IJsonObjectStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonObjectStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Json_IJsonObjectStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonObject& result) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonObjectStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) consume_Windows_Data_Json_IJsonObjectWithDefaultValues<D>::GetNamedValue(param::hstring const& name, winrt::Windows::Data::Json::JsonValue const& defaultValue) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonObjectWithDefaultValues<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonObject) consume_Windows_Data_Json_IJsonObjectWithDefaultValues<D>::GetNamedObject(param::hstring const& name, winrt::Windows::Data::Json::JsonObject const& defaultValue) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonObjectWithDefaultValues<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Json_IJsonObjectWithDefaultValues<D>::GetNamedString(param::hstring const& name, param::hstring const& defaultValue) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonObjectWithDefaultValues<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonArray) consume_Windows_Data_Json_IJsonObjectWithDefaultValues<D>::GetNamedArray(param::hstring const& name, winrt::Windows::Data::Json::JsonArray const& defaultValue) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonObjectWithDefaultValues<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Data_Json_IJsonObjectWithDefaultValues<D>::GetNamedNumber(param::hstring const& name, double defaultValue) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonObjectWithDefaultValues<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Json_IJsonObjectWithDefaultValues<D>::GetNamedBoolean(param::hstring const& name, bool defaultValue) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonObjectWithDefaultValues<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValueType) consume_Windows_Data_Json_IJsonValue<D>::ValueType() const
+ template <typename D> auto consume_Windows_Data_Json_IJsonValue<D>::ValueType() const
{
winrt::Windows::Data::Json::JsonValueType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValue)->get_ValueType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Json_IJsonValue<D>::Stringify() const
+ template <typename D> auto consume_Windows_Data_Json_IJsonValue<D>::Stringify() const
{
void* returnValue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValue)->Stringify(&returnValue));
return hstring{ returnValue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Json_IJsonValue<D>::GetString() const
+ template <typename D> auto consume_Windows_Data_Json_IJsonValue<D>::GetString() const
{
void* returnValue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValue)->GetString(&returnValue));
return hstring{ returnValue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Data_Json_IJsonValue<D>::GetNumber() const
+ template <typename D> auto consume_Windows_Data_Json_IJsonValue<D>::GetNumber() const
{
double returnValue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValue)->GetNumber(&returnValue));
return returnValue;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Json_IJsonValue<D>::GetBoolean() const
+ template <typename D> auto consume_Windows_Data_Json_IJsonValue<D>::GetBoolean() const
{
bool returnValue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValue)->GetBoolean(&returnValue));
return returnValue;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonArray) consume_Windows_Data_Json_IJsonValue<D>::GetArray() const
+ template <typename D> auto consume_Windows_Data_Json_IJsonValue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonObject) consume_Windows_Data_Json_IJsonValue<D>::GetObject() const
+ template <typename D> auto consume_Windows_Data_Json_IJsonValue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) consume_Windows_Data_Json_IJsonValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Json_IJsonValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Data::Json::JsonValue& result) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) consume_Windows_Data_Json_IJsonValueStatics<D>::CreateBooleanValue(bool input) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) consume_Windows_Data_Json_IJsonValueStatics<D>::CreateNumberValue(double input) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) consume_Windows_Data_Json_IJsonValueStatics<D>::CreateStringValue(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Data_Json_IJsonValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) consume_Windows_Data_Json_IJsonValueStatics2<D>::CreateNullValue() const
+ template <typename D> auto consume_Windows_Data_Json_IJsonValueStatics2<D>::CreateNullValue() const
{
void* jsonValue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Json::IJsonValueStatics2)->CreateNullValue(&jsonValue));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Pdf.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Pdf.h
index 090dbbe2163..beefa8c48fe 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Pdf.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Pdf::PdfPage) consume_Windows_Data_Pdf_IPdfDocument<D>::GetPage(uint32_t pageIndex) const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfDocument<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Pdf_IPdfDocument<D>::PageCount() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfDocument<D>::PageCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfDocument)->get_PageCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Pdf_IPdfDocument<D>::IsPasswordProtected() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfDocument<D>::IsPasswordProtected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfDocument)->get_IsPasswordProtected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Data::Pdf::PdfDocument>) consume_Windows_Data_Pdf_IPdfDocumentStatics<D>::LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfDocumentStatics<D>::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<winrt::Windows::Data::Pdf::PdfDocument>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Data::Pdf::PdfDocument>) consume_Windows_Data_Pdf_IPdfDocumentStatics<D>::LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& password) const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfDocumentStatics<D>::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<winrt::Windows::Data::Pdf::PdfDocument>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Data::Pdf::PdfDocument>) consume_Windows_Data_Pdf_IPdfDocumentStatics<D>::LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& inputStream) const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfDocumentStatics<D>::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<winrt::Windows::Data::Pdf::PdfDocument>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Data::Pdf::PdfDocument>) consume_Windows_Data_Pdf_IPdfDocumentStatics<D>::LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& inputStream, param::hstring const& password) const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfDocumentStatics<D>::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<winrt::Windows::Data::Pdf::PdfDocument>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Data_Pdf_IPdfPage<D>::RenderToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& outputStream) const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Data_Pdf_IPdfPage<D>::RenderToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& outputStream, winrt::Windows::Data::Pdf::PdfPageRenderOptions const& options) const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Data_Pdf_IPdfPage<D>::PreparePageAsync() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPage<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Pdf_IPdfPage<D>::Index() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPage<D>::Index() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPage)->get_Index(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Data_Pdf_IPdfPage<D>::Size() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Pdf::PdfPageDimensions) consume_Windows_Data_Pdf_IPdfPage<D>::Dimensions() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Pdf::PdfPageRotation) consume_Windows_Data_Pdf_IPdfPage<D>::Rotation() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPage<D>::Rotation() const
{
winrt::Windows::Data::Pdf::PdfPageRotation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPage)->get_Rotation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Data_Pdf_IPdfPage<D>::PreferredZoom() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPage<D>::PreferredZoom() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPage)->get_PreferredZoom(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Data_Pdf_IPdfPageDimensions<D>::MediaBox() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPageDimensions<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Data_Pdf_IPdfPageDimensions<D>::CropBox() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPageDimensions<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Data_Pdf_IPdfPageDimensions<D>::BleedBox() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPageDimensions<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Data_Pdf_IPdfPageDimensions<D>::TrimBox() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPageDimensions<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Data_Pdf_IPdfPageDimensions<D>::ArtBox() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPageDimensions<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::SourceRect() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::SourceRect(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::DestinationWidth() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::DestinationWidth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->get_DestinationWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::DestinationWidth(uint32_t value) const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::DestinationWidth(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->put_DestinationWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::DestinationHeight() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::DestinationHeight() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->get_DestinationHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::DestinationHeight(uint32_t value) const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::DestinationHeight(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->put_DestinationHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::BackgroundColor() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::BackgroundColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::IsIgnoringHighContrast() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::IsIgnoringHighContrast() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->get_IsIgnoringHighContrast(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::IsIgnoringHighContrast(bool value) const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::IsIgnoringHighContrast(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->put_IsIgnoringHighContrast(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::BitmapEncoderId() const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::BitmapEncoderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Pdf::IPdfPageRenderOptions)->get_BitmapEncoderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::BitmapEncoderId(winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Data_Pdf_IPdfPageRenderOptions<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Text.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Text.h
index 440d7f36778..f4b55f77283 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Text.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextSegment) consume_Windows_Data_Text_IAlternateWordForm<D>::SourceTextSegment() const
+ template <typename D> auto consume_Windows_Data_Text_IAlternateWordForm<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_IAlternateWordForm<D>::AlternateText() const
+ template <typename D> auto consume_Windows_Data_Text_IAlternateWordForm<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Text::AlternateNormalizationFormat) consume_Windows_Data_Text_IAlternateWordForm<D>::NormalizationFormat() const
+ template <typename D> auto consume_Windows_Data_Text_IAlternateWordForm<D>::NormalizationFormat() const
{
winrt::Windows::Data::Text::AlternateNormalizationFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IAlternateWordForm)->get_NormalizationFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_ISelectableWordSegment<D>::Text() const
+ template <typename D> auto consume_Windows_Data_Text_ISelectableWordSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextSegment) consume_Windows_Data_Text_ISelectableWordSegment<D>::SourceTextSegment() const
+ template <typename D> auto consume_Windows_Data_Text_ISelectableWordSegment<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_ISelectableWordsSegmenter<D>::ResolvedLanguage() const
+ template <typename D> auto consume_Windows_Data_Text_ISelectableWordsSegmenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Text::SelectableWordSegment) consume_Windows_Data_Text_ISelectableWordsSegmenter<D>::GetTokenAt(param::hstring const& text, uint32_t startIndex) const
+ template <typename D> auto consume_Windows_Data_Text_ISelectableWordsSegmenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Data::Text::SelectableWordSegment>) consume_Windows_Data_Text_ISelectableWordsSegmenter<D>::GetTokens(param::hstring const& text) const
+ template <typename D> auto consume_Windows_Data_Text_ISelectableWordsSegmenter<D>::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<winrt::Windows::Data::Text::SelectableWordSegment>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Text_ISelectableWordsSegmenter<D>::Tokenize(param::hstring const& text, uint32_t startIndex, winrt::Windows::Data::Text::SelectableWordSegmentsTokenizingHandler const& handler) const
+ template <typename D> auto consume_Windows_Data_Text_ISelectableWordsSegmenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Text::SelectableWordsSegmenter) consume_Windows_Data_Text_ISelectableWordsSegmenterFactory<D>::CreateWithLanguage(param::hstring const& language) const
+ template <typename D> auto consume_Windows_Data_Text_ISelectableWordsSegmenterFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Data::Text::TextSegment>) consume_Windows_Data_Text_ISemanticTextQuery<D>::Find(param::hstring const& content) const
+ template <typename D> auto consume_Windows_Data_Text_ISemanticTextQuery<D>::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<winrt::Windows::Data::Text::TextSegment>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Data::Text::TextSegment>) consume_Windows_Data_Text_ISemanticTextQuery<D>::FindInProperty(param::hstring const& propertyContent, param::hstring const& propertyName) const
+ template <typename D> auto consume_Windows_Data_Text_ISemanticTextQuery<D>::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<winrt::Windows::Data::Text::TextSegment>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Text::SemanticTextQuery) consume_Windows_Data_Text_ISemanticTextQueryFactory<D>::Create(param::hstring const& aqsFilter) const
+ template <typename D> auto consume_Windows_Data_Text_ISemanticTextQueryFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Text::SemanticTextQuery) consume_Windows_Data_Text_ISemanticTextQueryFactory<D>::CreateWithLanguage(param::hstring const& aqsFilter, param::hstring const& filterLanguage) const
+ template <typename D> auto consume_Windows_Data_Text_ISemanticTextQueryFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_ITextConversionGenerator<D>::ResolvedLanguage() const
+ template <typename D> auto consume_Windows_Data_Text_ITextConversionGenerator<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_ITextConversionGenerator<D>::LanguageAvailableButNotInstalled() const
+ template <typename D> auto consume_Windows_Data_Text_ITextConversionGenerator<D>::LanguageAvailableButNotInstalled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextConversionGenerator)->get_LanguageAvailableButNotInstalled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) consume_Windows_Data_Text_ITextConversionGenerator<D>::GetCandidatesAsync(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Data_Text_ITextConversionGenerator<D>::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<winrt::Windows::Foundation::Collections::IVectorView<hstring>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) consume_Windows_Data_Text_ITextConversionGenerator<D>::GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates) const
+ template <typename D> auto consume_Windows_Data_Text_ITextConversionGenerator<D>::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<winrt::Windows::Foundation::Collections::IVectorView<hstring>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextConversionGenerator) consume_Windows_Data_Text_ITextConversionGeneratorFactory<D>::Create(param::hstring const& languageTag) const
+ template <typename D> auto consume_Windows_Data_Text_ITextConversionGeneratorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_ITextPhoneme<D>::DisplayText() const
+ template <typename D> auto consume_Windows_Data_Text_ITextPhoneme<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_ITextPhoneme<D>::ReadingText() const
+ template <typename D> auto consume_Windows_Data_Text_ITextPhoneme<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_ITextPredictionGenerator<D>::ResolvedLanguage() const
+ template <typename D> auto consume_Windows_Data_Text_ITextPredictionGenerator<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_ITextPredictionGenerator<D>::LanguageAvailableButNotInstalled() const
+ template <typename D> auto consume_Windows_Data_Text_ITextPredictionGenerator<D>::LanguageAvailableButNotInstalled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextPredictionGenerator)->get_LanguageAvailableButNotInstalled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) consume_Windows_Data_Text_ITextPredictionGenerator<D>::GetCandidatesAsync(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Data_Text_ITextPredictionGenerator<D>::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<winrt::Windows::Foundation::Collections::IVectorView<hstring>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) consume_Windows_Data_Text_ITextPredictionGenerator<D>::GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates) const
+ template <typename D> auto consume_Windows_Data_Text_ITextPredictionGenerator<D>::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<winrt::Windows::Foundation::Collections::IVectorView<hstring>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) consume_Windows_Data_Text_ITextPredictionGenerator2<D>::GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates, winrt::Windows::Data::Text::TextPredictionOptions const& predictionOptions, param::async_iterable<hstring> const& previousStrings) const
+ template <typename D> auto consume_Windows_Data_Text_ITextPredictionGenerator2<D>::GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates, winrt::Windows::Data::Text::TextPredictionOptions const& predictionOptions, param::async_iterable<hstring> const& previousStrings) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextPredictionGenerator2)->GetCandidatesWithParametersAsync(*(void**)(&input), maxCandidates, static_cast<uint32_t>(predictionOptions), *(void**)(&previousStrings), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) consume_Windows_Data_Text_ITextPredictionGenerator2<D>::GetNextWordCandidatesAsync(uint32_t maxCandidates, param::async_iterable<hstring> const& previousStrings) const
+ template <typename D> auto consume_Windows_Data_Text_ITextPredictionGenerator2<D>::GetNextWordCandidatesAsync(uint32_t maxCandidates, param::async_iterable<hstring> 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<winrt::Windows::Foundation::Collections::IVectorView<hstring>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextInputScope) consume_Windows_Data_Text_ITextPredictionGenerator2<D>::InputScope() const
+ template <typename D> auto consume_Windows_Data_Text_ITextPredictionGenerator2<D>::InputScope() const
{
winrt::Windows::UI::Text::Core::CoreTextInputScope value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextPredictionGenerator2)->get_InputScope(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Text_ITextPredictionGenerator2<D>::InputScope(winrt::Windows::UI::Text::Core::CoreTextInputScope const& value) const
+ template <typename D> auto consume_Windows_Data_Text_ITextPredictionGenerator2<D>::InputScope(winrt::Windows::UI::Text::Core::CoreTextInputScope const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextPredictionGenerator2)->put_InputScope(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextPredictionGenerator) consume_Windows_Data_Text_ITextPredictionGeneratorFactory<D>::Create(param::hstring const& languageTag) const
+ template <typename D> auto consume_Windows_Data_Text_ITextPredictionGeneratorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_ITextReverseConversionGenerator<D>::ResolvedLanguage() const
+ template <typename D> auto consume_Windows_Data_Text_ITextReverseConversionGenerator<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_ITextReverseConversionGenerator<D>::LanguageAvailableButNotInstalled() const
+ template <typename D> auto consume_Windows_Data_Text_ITextReverseConversionGenerator<D>::LanguageAvailableButNotInstalled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::ITextReverseConversionGenerator)->get_LanguageAvailableButNotInstalled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Data_Text_ITextReverseConversionGenerator<D>::ConvertBackAsync(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Data_Text_ITextReverseConversionGenerator<D>::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<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Data::Text::TextPhoneme>>) consume_Windows_Data_Text_ITextReverseConversionGenerator2<D>::GetPhonemesAsync(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Data_Text_ITextReverseConversionGenerator2<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Data::Text::TextPhoneme>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextReverseConversionGenerator) consume_Windows_Data_Text_ITextReverseConversionGeneratorFactory<D>::Create(param::hstring const& languageTag) const
+ template <typename D> auto consume_Windows_Data_Text_ITextReverseConversionGeneratorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::GetCodepointFromSurrogatePair(uint32_t highSurrogate, uint32_t lowSurrogate) const
+ template <typename D> auto consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::GetSurrogatePairFromCodepoint(uint32_t codepoint, char16_t& highSurrogate, char16_t& lowSurrogate) const
+ template <typename D> auto consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsHighSurrogate(uint32_t codepoint) const
+ template <typename D> auto consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsHighSurrogate(uint32_t codepoint) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsHighSurrogate(codepoint, &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsLowSurrogate(uint32_t codepoint) const
+ template <typename D> auto consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsLowSurrogate(uint32_t codepoint) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsLowSurrogate(codepoint, &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsSupplementary(uint32_t codepoint) const
+ template <typename D> auto consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsSupplementary(uint32_t codepoint) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsSupplementary(codepoint, &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsNoncharacter(uint32_t codepoint) const
+ template <typename D> auto consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsNoncharacter(uint32_t codepoint) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsNoncharacter(codepoint, &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsWhitespace(uint32_t codepoint) const
+ template <typename D> auto consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsWhitespace(uint32_t codepoint) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsWhitespace(codepoint, &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsAlphabetic(uint32_t codepoint) const
+ template <typename D> auto consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsAlphabetic(uint32_t codepoint) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsAlphabetic(codepoint, &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsCased(uint32_t codepoint) const
+ template <typename D> auto consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsCased(uint32_t codepoint) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsCased(codepoint, &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsUppercase(uint32_t codepoint) const
+ template <typename D> auto consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsUppercase(uint32_t codepoint) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsUppercase(codepoint, &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsLowercase(uint32_t codepoint) const
+ template <typename D> auto consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsLowercase(uint32_t codepoint) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsLowercase(codepoint, &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsIdStart(uint32_t codepoint) const
+ template <typename D> auto consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsIdStart(uint32_t codepoint) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsIdStart(codepoint, &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsIdContinue(uint32_t codepoint) const
+ template <typename D> auto consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsIdContinue(uint32_t codepoint) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsIdContinue(codepoint, &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsGraphemeBase(uint32_t codepoint) const
+ template <typename D> auto consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsGraphemeBase(uint32_t codepoint) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsGraphemeBase(codepoint, &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsGraphemeExtend(uint32_t codepoint) const
+ template <typename D> auto consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::IsGraphemeExtend(uint32_t codepoint) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IUnicodeCharactersStatics)->IsGraphemeExtend(codepoint, &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Text::UnicodeNumericType) consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::GetNumericType(uint32_t codepoint) const
+ template <typename D> auto consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Text::UnicodeGeneralCategory) consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::GetGeneralCategory(uint32_t codepoint) const
+ template <typename D> auto consume_Windows_Data_Text_IUnicodeCharactersStatics<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_IWordSegment<D>::Text() const
+ template <typename D> auto consume_Windows_Data_Text_IWordSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Text::TextSegment) consume_Windows_Data_Text_IWordSegment<D>::SourceTextSegment() const
+ template <typename D> auto consume_Windows_Data_Text_IWordSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Data::Text::AlternateWordForm>) consume_Windows_Data_Text_IWordSegment<D>::AlternateForms() const
+ template <typename D> auto consume_Windows_Data_Text_IWordSegment<D>::AlternateForms() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Text::IWordSegment)->get_AlternateForms(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Data::Text::AlternateWordForm>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Text_IWordsSegmenter<D>::ResolvedLanguage() const
+ template <typename D> auto consume_Windows_Data_Text_IWordsSegmenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Text::WordSegment) consume_Windows_Data_Text_IWordsSegmenter<D>::GetTokenAt(param::hstring const& text, uint32_t startIndex) const
+ template <typename D> auto consume_Windows_Data_Text_IWordsSegmenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Data::Text::WordSegment>) consume_Windows_Data_Text_IWordsSegmenter<D>::GetTokens(param::hstring const& text) const
+ template <typename D> auto consume_Windows_Data_Text_IWordsSegmenter<D>::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<winrt::Windows::Data::Text::WordSegment>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Text_IWordsSegmenter<D>::Tokenize(param::hstring const& text, uint32_t startIndex, winrt::Windows::Data::Text::WordSegmentsTokenizingHandler const& handler) const
+ template <typename D> auto consume_Windows_Data_Text_IWordsSegmenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Text::WordsSegmenter) consume_Windows_Data_Text_IWordsSegmenterFactory<D>::CreateWithLanguage(param::hstring const& language) const
+ template <typename D> auto consume_Windows_Data_Text_IWordsSegmenterFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Xml.Dom.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Xml.Dom.h
index 583cd136e4c..9b8126de63e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Xml.Dom.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IDtdEntity<D>::PublicId() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IDtdEntity<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IDtdEntity<D>::SystemId() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IDtdEntity<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IDtdEntity<D>::NotationName() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IDtdEntity<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IDtdNotation<D>::PublicId() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IDtdNotation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IDtdNotation<D>::SystemId() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IDtdNotation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlAttribute<D>::Name() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlAttribute<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Xml_Dom_IXmlAttribute<D>::Specified() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlAttribute<D>::Specified() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlAttribute)->get_Specified(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlAttribute<D>::Value() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlAttribute<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlAttribute<D>::Value(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlAttribute<D>::Value(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlAttribute)->put_Value(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlCharacterData<D>::Data() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlCharacterData<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlCharacterData<D>::Data(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlCharacterData<D>::Data(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlCharacterData)->put_Data(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Xml_Dom_IXmlCharacterData<D>::Length() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlCharacterData<D>::Length() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlCharacterData)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlCharacterData<D>::SubstringData(uint32_t offset, uint32_t count) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlCharacterData<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlCharacterData<D>::AppendData(param::hstring const& data) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlCharacterData<D>::AppendData(param::hstring const& data) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlCharacterData)->AppendData(*(void**)(&data)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlCharacterData<D>::InsertData(uint32_t offset, param::hstring const& data) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlCharacterData<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlCharacterData<D>::DeleteData(uint32_t offset, uint32_t count) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlCharacterData<D>::DeleteData(uint32_t offset, uint32_t count) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlCharacterData)->DeleteData(offset, count));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlCharacterData<D>::ReplaceData(uint32_t offset, uint32_t count, param::hstring const& data) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlCharacterData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocumentType) consume_Windows_Data_Xml_Dom_IXmlDocument<D>::Doctype() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDomImplementation) consume_Windows_Data_Xml_Dom_IXmlDocument<D>::Implementation() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlElement) consume_Windows_Data_Xml_Dom_IXmlDocument<D>::DocumentElement() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlElement) consume_Windows_Data_Xml_Dom_IXmlDocument<D>::CreateElement(param::hstring const& tagName) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocumentFragment) consume_Windows_Data_Xml_Dom_IXmlDocument<D>::CreateDocumentFragment() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlText) consume_Windows_Data_Xml_Dom_IXmlDocument<D>::CreateTextNode(param::hstring const& data) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlComment) consume_Windows_Data_Xml_Dom_IXmlDocument<D>::CreateComment(param::hstring const& data) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlProcessingInstruction) consume_Windows_Data_Xml_Dom_IXmlDocument<D>::CreateProcessingInstruction(param::hstring const& target, param::hstring const& data) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) consume_Windows_Data_Xml_Dom_IXmlDocument<D>::CreateAttribute(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlEntityReference) consume_Windows_Data_Xml_Dom_IXmlDocument<D>::CreateEntityReference(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNodeList) consume_Windows_Data_Xml_Dom_IXmlDocument<D>::GetElementsByTagName(param::hstring const& tagName) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlCDataSection) consume_Windows_Data_Xml_Dom_IXmlDocument<D>::CreateCDataSection(param::hstring const& data) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocument<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlDocument<D>::DocumentUri() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) consume_Windows_Data_Xml_Dom_IXmlDocument<D>::CreateAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlElement) consume_Windows_Data_Xml_Dom_IXmlDocument<D>::CreateElementNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlElement) consume_Windows_Data_Xml_Dom_IXmlDocument<D>::GetElementById(param::hstring const& elementId) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlDocument<D>::ImportNode(winrt::Windows::Data::Xml::Dom::IXmlNode const& node, bool deep) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocument<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlDocumentIO<D>::LoadXml(param::hstring const& xml) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocumentIO<D>::LoadXml(param::hstring const& xml) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocumentIO)->LoadXml(*(void**)(&xml)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlDocumentIO<D>::LoadXml(param::hstring const& xml, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocumentIO<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Data_Xml_Dom_IXmlDocumentIO<D>::SaveToFileAsync(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocumentIO<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlDocumentIO2<D>::LoadXmlFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocumentIO2<D>::LoadXmlFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlDocumentIO2)->LoadXmlFromBuffer(*(void**)(&buffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlDocumentIO2<D>::LoadXmlFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocumentIO2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Data::Xml::Dom::XmlDocument>) consume_Windows_Data_Xml_Dom_IXmlDocumentStatics<D>::LoadFromUriAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocumentStatics<D>::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<winrt::Windows::Data::Xml::Dom::XmlDocument>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Data::Xml::Dom::XmlDocument>) consume_Windows_Data_Xml_Dom_IXmlDocumentStatics<D>::LoadFromUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocumentStatics<D>::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<winrt::Windows::Data::Xml::Dom::XmlDocument>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Data::Xml::Dom::XmlDocument>) consume_Windows_Data_Xml_Dom_IXmlDocumentStatics<D>::LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocumentStatics<D>::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<winrt::Windows::Data::Xml::Dom::XmlDocument>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Data::Xml::Dom::XmlDocument>) consume_Windows_Data_Xml_Dom_IXmlDocumentStatics<D>::LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocumentStatics<D>::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<winrt::Windows::Data::Xml::Dom::XmlDocument>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlDocumentType<D>::Name() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocumentType<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNamedNodeMap) consume_Windows_Data_Xml_Dom_IXmlDocumentType<D>::Entities() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocumentType<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNamedNodeMap) consume_Windows_Data_Xml_Dom_IXmlDocumentType<D>::Notations() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDocumentType<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Xml_Dom_IXmlDomImplementation<D>::HasFeature(param::hstring const& feature, winrt::Windows::Foundation::IInspectable const& version) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlDomImplementation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlElement<D>::TagName() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlElement<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlElement<D>::GetAttribute(param::hstring const& attributeName) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlElement<D>::SetAttribute(param::hstring const& attributeName, param::hstring const& attributeValue) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlElement<D>::RemoveAttribute(param::hstring const& attributeName) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlElement<D>::RemoveAttribute(param::hstring const& attributeName) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlElement)->RemoveAttribute(*(void**)(&attributeName)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) consume_Windows_Data_Xml_Dom_IXmlElement<D>::GetAttributeNode(param::hstring const& attributeName) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) consume_Windows_Data_Xml_Dom_IXmlElement<D>::SetAttributeNode(winrt::Windows::Data::Xml::Dom::XmlAttribute const& newAttribute) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) consume_Windows_Data_Xml_Dom_IXmlElement<D>::RemoveAttributeNode(winrt::Windows::Data::Xml::Dom::XmlAttribute const& attributeNode) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNodeList) consume_Windows_Data_Xml_Dom_IXmlElement<D>::GetElementsByTagName(param::hstring const& tagName) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlElement<D>::SetAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& qualifiedName, param::hstring const& value) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlElement<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlElement<D>::GetAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlElement<D>::RemoveAttributeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) consume_Windows_Data_Xml_Dom_IXmlElement<D>::SetAttributeNodeNS(winrt::Windows::Data::Xml::Dom::XmlAttribute const& newAttribute) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlAttribute) consume_Windows_Data_Xml_Dom_IXmlElement<D>::GetAttributeNodeNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& localName) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlElement<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::MaxElementDepth() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::MaxElementDepth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->get_MaxElementDepth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::MaxElementDepth(uint32_t value) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::MaxElementDepth(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->put_MaxElementDepth(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::ProhibitDtd() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::ProhibitDtd() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->get_ProhibitDtd(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::ProhibitDtd(bool value) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::ProhibitDtd(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->put_ProhibitDtd(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::ResolveExternals() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::ResolveExternals() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->get_ResolveExternals(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::ResolveExternals(bool value) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::ResolveExternals(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->put_ResolveExternals(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::ValidateOnParse() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::ValidateOnParse() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->get_ValidateOnParse(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::ValidateOnParse(bool value) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::ValidateOnParse(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->put_ValidateOnParse(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::ElementContentWhiteSpace() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::ElementContentWhiteSpace() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->get_ElementContentWhiteSpace(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::ElementContentWhiteSpace(bool value) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlLoadSettings<D>::ElementContentWhiteSpace(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlLoadSettings)->put_ElementContentWhiteSpace(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap<D>::Length() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap<D>::Length() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNamedNodeMap)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap<D>::Item(uint32_t index) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap<D>::GetNamedItem(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap<D>::SetNamedItem(winrt::Windows::Data::Xml::Dom::IXmlNode const& node) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap<D>::RemoveNamedItem(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap<D>::GetNamedItemNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& name) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap<D>::RemoveNamedItemNS(winrt::Windows::Foundation::IInspectable const& namespaceUri, param::hstring const& name) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap<D>::SetNamedItemNS(winrt::Windows::Data::Xml::Dom::IXmlNode const& node) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNamedNodeMap<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IXmlNode<D>::NodeValue() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlNode<D>::NodeValue(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::NodeValue(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->put_NodeValue(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::NodeType) consume_Windows_Data_Xml_Dom_IXmlNode<D>::NodeType() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::NodeType() const
{
winrt::Windows::Data::Xml::Dom::NodeType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->get_NodeType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlNode<D>::NodeName() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode<D>::ParentNode() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNodeList) consume_Windows_Data_Xml_Dom_IXmlNode<D>::ChildNodes() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode<D>::FirstChild() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode<D>::LastChild() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode<D>::PreviousSibling() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode<D>::NextSibling() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNamedNodeMap) consume_Windows_Data_Xml_Dom_IXmlNode<D>::Attributes() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Data_Xml_Dom_IXmlNode<D>::HasChildNodes() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::HasChildNodes() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->HasChildNodes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_Data_Xml_Dom_IXmlNode<D>::OwnerDocument() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode<D>::InsertBefore(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild, winrt::Windows::Data::Xml::Dom::IXmlNode const& referenceChild) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode<D>::ReplaceChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild, winrt::Windows::Data::Xml::Dom::IXmlNode const& referenceChild) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode<D>::RemoveChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& childNode) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode<D>::AppendChild(winrt::Windows::Data::Xml::Dom::IXmlNode const& newChild) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNode<D>::CloneNode(bool deep) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IXmlNode<D>::NamespaceUri() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IXmlNode<D>::LocalName() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Data_Xml_Dom_IXmlNode<D>::Prefix() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlNode<D>::Normalize() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::Normalize() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->Normalize());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlNode<D>::Prefix(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNode<D>::Prefix(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNode)->put_Prefix(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Data_Xml_Dom_IXmlNodeList<D>::Length() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNodeList<D>::Length() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNodeList)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNodeList<D>::Item(uint32_t index) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNodeList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNodeSelector<D>::SelectSingleNode(param::hstring const& xpath) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNodeSelector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNodeList) consume_Windows_Data_Xml_Dom_IXmlNodeSelector<D>::SelectNodes(param::hstring const& xpath) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNodeSelector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Data_Xml_Dom_IXmlNodeSelector<D>::SelectSingleNodeNS(param::hstring const& xpath, winrt::Windows::Foundation::IInspectable const& namespaces) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNodeSelector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlNodeList) consume_Windows_Data_Xml_Dom_IXmlNodeSelector<D>::SelectNodesNS(param::hstring const& xpath, winrt::Windows::Foundation::IInspectable const& namespaces) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNodeSelector<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlNodeSerializer<D>::GetXml() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNodeSerializer<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlNodeSerializer<D>::InnerText() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNodeSerializer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlNodeSerializer<D>::InnerText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlNodeSerializer<D>::InnerText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlNodeSerializer)->put_InnerText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlProcessingInstruction<D>::Target() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlProcessingInstruction<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Dom_IXmlProcessingInstruction<D>::Data() const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlProcessingInstruction<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Data_Xml_Dom_IXmlProcessingInstruction<D>::Data(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlProcessingInstruction<D>::Data(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlProcessingInstruction)->put_Data(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlText) consume_Windows_Data_Xml_Dom_IXmlText<D>::SplitText(uint32_t offset) const
+ template <typename D> auto consume_Windows_Data_Xml_Dom_IXmlText<D>::SplitText(uint32_t offset) const
{
void* secondPart{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Data::Xml::Dom::IXmlText)->SplitText(offset, &secondPart));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Xml.Xsl.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Xml.Xsl.h
index 8ae25ebce0d..90464efc0b0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Data.Xml.Xsl.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Data_Xml_Xsl_IXsltProcessor<D>::TransformToString(winrt::Windows::Data::Xml::Dom::IXmlNode const& inputNode) const
+ template <typename D> auto consume_Windows_Data_Xml_Xsl_IXsltProcessor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_Data_Xml_Xsl_IXsltProcessor2<D>::TransformToDocument(winrt::Windows::Data::Xml::Dom::IXmlNode const& inputNode) const
+ template <typename D> auto consume_Windows_Data_Xml_Xsl_IXsltProcessor2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Xsl::XsltProcessor) consume_Windows_Data_Xml_Xsl_IXsltProcessorFactory<D>::CreateInstance(winrt::Windows::Data::Xml::Dom::XmlDocument const& document) const
+ template <typename D> auto consume_Windows_Data_Xml_Xsl_IXsltProcessorFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Adc.Provider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Adc.Provider.h
index da9fc1f98a7..5d8a00c999d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Adc.Provider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::ChannelCount() const
+ template <typename D> auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::ChannelCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider)->get_ChannelCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::ResolutionInBits() const
+ template <typename D> auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::ResolutionInBits() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider)->get_ResolutionInBits(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::MinValue() const
+ template <typename D> auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::MinValue() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider)->get_MinValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::MaxValue() const
+ template <typename D> auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::MaxValue() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider)->get_MaxValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::ChannelMode() const
+ template <typename D> auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::ChannelMode() const
{
winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider)->get_ChannelMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::ChannelMode(winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode const& value) const
+ template <typename D> auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::IsChannelModeSupported(winrt::Windows::Devices::Adc::Provider::ProviderAdcChannelMode const& channelMode) const
+ template <typename D> auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::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<int32_t>(channelMode), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::AcquireChannel(int32_t channel) const
+ template <typename D> auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::AcquireChannel(int32_t channel) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider)->AcquireChannel(channel));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::ReleaseChannel(int32_t channel) const
+ template <typename D> auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::ReleaseChannel(int32_t channel) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider)->ReleaseChannel(channel));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::ReadValue(int32_t channelNumber) const
+ template <typename D> auto consume_Windows_Devices_Adc_Provider_IAdcControllerProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider>) consume_Windows_Devices_Adc_Provider_IAdcProvider<D>::GetControllers() const
+ template <typename D> auto consume_Windows_Devices_Adc_Provider_IAdcProvider<D>::GetControllers() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::Provider::IAdcProvider)->GetControllers(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Adc.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Adc.h
index c43f4e9582f..1c1a6b62b70 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Adc.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Adc::AdcController) consume_Windows_Devices_Adc_IAdcChannel<D>::Controller() const
+ template <typename D> auto consume_Windows_Devices_Adc_IAdcChannel<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_IAdcChannel<D>::ReadValue() const
+ template <typename D> auto consume_Windows_Devices_Adc_IAdcChannel<D>::ReadValue() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcChannel)->ReadValue(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Adc_IAdcChannel<D>::ReadRatio() const
+ template <typename D> auto consume_Windows_Devices_Adc_IAdcChannel<D>::ReadRatio() const
{
double result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcChannel)->ReadRatio(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_IAdcController<D>::ChannelCount() const
+ template <typename D> auto consume_Windows_Devices_Adc_IAdcController<D>::ChannelCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcController)->get_ChannelCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_IAdcController<D>::ResolutionInBits() const
+ template <typename D> auto consume_Windows_Devices_Adc_IAdcController<D>::ResolutionInBits() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcController)->get_ResolutionInBits(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_IAdcController<D>::MinValue() const
+ template <typename D> auto consume_Windows_Devices_Adc_IAdcController<D>::MinValue() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcController)->get_MinValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Adc_IAdcController<D>::MaxValue() const
+ template <typename D> auto consume_Windows_Devices_Adc_IAdcController<D>::MaxValue() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcController)->get_MaxValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Adc::AdcChannelMode) consume_Windows_Devices_Adc_IAdcController<D>::ChannelMode() const
+ template <typename D> auto consume_Windows_Devices_Adc_IAdcController<D>::ChannelMode() const
{
winrt::Windows::Devices::Adc::AdcChannelMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcController)->get_ChannelMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Adc_IAdcController<D>::ChannelMode(winrt::Windows::Devices::Adc::AdcChannelMode const& value) const
+ template <typename D> auto consume_Windows_Devices_Adc_IAdcController<D>::ChannelMode(winrt::Windows::Devices::Adc::AdcChannelMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcController)->put_ChannelMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Adc_IAdcController<D>::IsChannelModeSupported(winrt::Windows::Devices::Adc::AdcChannelMode const& channelMode) const
+ template <typename D> auto consume_Windows_Devices_Adc_IAdcController<D>::IsChannelModeSupported(winrt::Windows::Devices::Adc::AdcChannelMode const& channelMode) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcController)->IsChannelModeSupported(static_cast<int32_t>(channelMode), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Adc::AdcChannel) consume_Windows_Devices_Adc_IAdcController<D>::OpenChannel(int32_t channelNumber) const
+ template <typename D> auto consume_Windows_Devices_Adc_IAdcController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Adc::AdcController>>) consume_Windows_Devices_Adc_IAdcControllerStatics<D>::GetControllersAsync(winrt::Windows::Devices::Adc::Provider::IAdcProvider const& provider) const
+ template <typename D> auto consume_Windows_Devices_Adc_IAdcControllerStatics<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Adc::AdcController>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Adc::AdcController>) consume_Windows_Devices_Adc_IAdcControllerStatics2<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_Adc_IAdcControllerStatics2<D>::GetDefaultAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Adc::IAdcControllerStatics2)->GetDefaultAsync(&operation));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.AllJoyn.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.AllJoyn.h
index a4ad480f9d6..67e54d40991 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.AllJoyn.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::DefaultAppName() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::DefaultAppName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::DefaultAppName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_DefaultAppName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::AppNames() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::AppNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_AppNames(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::DateOfManufacture() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::DateOfManufacture() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_DateOfManufacture(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::DateOfManufacture(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::DateOfManufacture(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_DateOfManufacture(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::DefaultDescription() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::DefaultDescription(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::DefaultDescription(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_DefaultDescription(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::Descriptions() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::Descriptions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_Descriptions(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::DefaultManufacturer() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::DefaultManufacturer(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::DefaultManufacturer(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_DefaultManufacturer(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::Manufacturers() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::Manufacturers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_Manufacturers(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::ModelNumber() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::ModelNumber(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::ModelNumber(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_ModelNumber(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::SoftwareVersion() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::SoftwareVersion(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::SoftwareVersion(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_SoftwareVersion(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::SupportUrl() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::SupportUrl(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::SupportUrl(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_SupportUrl(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::AppId() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::AppId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->get_AppId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::AppId(winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutData<D>::AppId(winrt::guid const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutData)->put_AppId(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::Status() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_Status(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::AJSoftwareVersion() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::AppId() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::AppId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_AppId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::DateOfManufacture() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::DateOfManufacture() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_DateOfManufacture(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::DefaultLanguage() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::HardwareVersion() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::ModelNumber() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::SoftwareVersion() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Globalization::Language>) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::SupportedLanguages() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::SupportedLanguages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView)->get_SupportedLanguages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Globalization::Language>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::SupportUrl() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::AppName() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::Description() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::DeviceName() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::Manufacturer() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::AllJoyn::AllJoynAboutDataView>) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataViewStatics<D>::GetDataBySessionPortAsync(param::hstring const& uniqueName, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment, uint16_t sessionPort) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataViewStatics<D>::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<winrt::Windows::Devices::AllJoyn::AllJoynAboutDataView>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::AllJoyn::AllJoynAboutDataView>) consume_Windows_Devices_AllJoyn_IAllJoynAboutDataViewStatics<D>::GetDataBySessionPortAsync(param::hstring const& uniqueName, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment, uint16_t sessionPort, winrt::Windows::Globalization::Language const& language) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAboutDataViewStatics<D>::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<winrt::Windows::Devices::AllJoyn::AllJoynAboutDataView>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoiner<D>::Accept() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoiner<D>::Accept() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoiner)->Accept());
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs<D>::UniqueName() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs<D>::SessionPort() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs<D>::SessionPort() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoinerEventArgs)->get_SessionPort(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynTrafficType) consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs<D>::TrafficType() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs<D>::TrafficType() const
{
winrt::Windows::Devices::AllJoyn::AllJoynTrafficType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoinerEventArgs)->get_TrafficType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs<D>::SamePhysicalNode() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs<D>::SamePhysicalNode() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoinerEventArgs)->get_SamePhysicalNode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs<D>::SameNetwork() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs<D>::SameNetwork() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoinerEventArgs)->get_SameNetwork(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs<D>::Accept() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgs<D>::Accept() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoinerEventArgs)->Accept());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynAcceptSessionJoinerEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgsFactory<D>::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 <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoinerEventArgsFactory<D>::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<int32_t>(trafficType), proximity, *(void**)(&acceptSessionJoiner), &result));
return winrt::Windows::Devices::AllJoyn::AllJoynAcceptSessionJoinerEventArgs{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism) consume_Windows_Devices_AllJoyn_IAllJoynAuthenticationCompleteEventArgs<D>::AuthenticationMechanism() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAuthenticationCompleteEventArgs<D>::AuthenticationMechanism() const
{
winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAuthenticationCompleteEventArgs)->get_AuthenticationMechanism(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynAuthenticationCompleteEventArgs<D>::PeerUniqueName() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAuthenticationCompleteEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_AllJoyn_IAllJoynAuthenticationCompleteEventArgs<D>::Succeeded() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynAuthenticationCompleteEventArgs<D>::Succeeded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynAuthenticationCompleteEventArgs)->get_Succeeded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynAboutData) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::AboutData() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::ConnectionSpecification() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentState) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::State() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::State() const
{
winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::UniqueName() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<int32_t>) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::PingAsync(param::hstring const& uniqueName) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::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<int32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::Connect() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::Connect() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->Connect());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::Disconnect() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::Disconnect() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->Disconnect());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentStateChangedEventArgs> 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 D> typename consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::StateChanged_revoker consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StateChanged_revoker>(this, StateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::StateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::StateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->remove_StateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism>) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::AuthenticationMechanisms() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::AuthenticationMechanisms() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->get_AuthenticationMechanisms(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::CredentialsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynCredentialsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::CredentialsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynCredentialsRequestedEventArgs> 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 D> typename consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::CredentialsRequested_revoker consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::CredentialsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynCredentialsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::CredentialsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynCredentialsRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CredentialsRequested_revoker>(this, CredentialsRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::CredentialsRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::CredentialsRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->remove_CredentialsRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::CredentialsVerificationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynCredentialsVerificationRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::CredentialsVerificationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynCredentialsVerificationRequestedEventArgs> 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 D> typename consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::CredentialsVerificationRequested_revoker consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::CredentialsVerificationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynCredentialsVerificationRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::CredentialsVerificationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynCredentialsVerificationRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CredentialsVerificationRequested_revoker>(this, CredentialsVerificationRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::CredentialsVerificationRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::CredentialsVerificationRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->remove_CredentialsVerificationRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::AuthenticationComplete(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationCompleteEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::AuthenticationComplete(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationCompleteEventArgs> 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 D> typename consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::AuthenticationComplete_revoker consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::AuthenticationComplete(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationCompleteEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::AuthenticationComplete(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationCompleteEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AuthenticationComplete_revoker>(this, AuthenticationComplete(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::AuthenticationComplete(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment<D>::AuthenticationComplete(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment)->remove_AuthenticationComplete(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::AllJoyn::AllJoynAboutDataView>) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::GetAboutDataAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::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<winrt::Windows::Devices::AllJoyn::AllJoynAboutDataView>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::AllJoyn::AllJoynAboutDataView>) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::GetAboutDataAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo, winrt::Windows::Globalization::Language const& language) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::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<winrt::Windows::Devices::AllJoyn::AllJoynAboutDataView>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::AcceptSessionJoinerRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynAcceptSessionJoinerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::AcceptSessionJoinerRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynAcceptSessionJoinerEventArgs> 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 D> typename consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::AcceptSessionJoinerRequested_revoker consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::AcceptSessionJoinerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynAcceptSessionJoinerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::AcceptSessionJoinerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynAcceptSessionJoinerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AcceptSessionJoinerRequested_revoker>(this, AcceptSessionJoinerRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::AcceptSessionJoinerRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::AcceptSessionJoinerRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment2)->remove_AcceptSessionJoinerRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::SessionJoined(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynSessionJoinedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::SessionJoined(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynSessionJoinedEventArgs> 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 D> typename consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::SessionJoined_revoker consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::SessionJoined(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynSessionJoinedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::SessionJoined(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynSessionJoinedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SessionJoined_revoker>(this, SessionJoined(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::SessionJoined(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2<D>::SessionJoined(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment2)->remove_SessionJoined(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentFactory<D>::Create(param::hstring const& connectionSpecification) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentState) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStateChangedEventArgs<D>::State() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStateChangedEventArgs<D>::State() const
{
winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachmentStateChangedEventArgs)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStateChangedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStateChangedEventArgs<D>::Status() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachmentStateChangedEventArgs)->get_Status(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStatics<D>::GetWatcher(param::iterable<hstring> const& requiredInterfaces) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusAttachmentStatics<D>::GetWatcher(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusObject<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusObject<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusObject)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusObject<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusObject<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusObject)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusObject<D>::AddProducer(winrt::Windows::Devices::AllJoyn::IAllJoynProducer const& producer) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusObject<D>::AddProducer(winrt::Windows::Devices::AllJoyn::IAllJoynProducer const& producer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusObject)->AddProducer(*(void**)(&producer)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment) consume_Windows_Devices_AllJoyn_IAllJoynBusObject<D>::BusAttachment() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusObject<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSession) consume_Windows_Devices_AllJoyn_IAllJoynBusObject<D>::Session() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusObject<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynBusObject<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusObject, winrt::Windows::Devices::AllJoyn::AllJoynBusObjectStoppedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusObject<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusObject, winrt::Windows::Devices::AllJoyn::AllJoynBusObjectStoppedEventArgs> 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 D> typename consume_Windows_Devices_AllJoyn_IAllJoynBusObject<D>::Stopped_revoker consume_Windows_Devices_AllJoyn_IAllJoynBusObject<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusObject, winrt::Windows::Devices::AllJoyn::AllJoynBusObjectStoppedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusObject<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusObject, winrt::Windows::Devices::AllJoyn::AllJoynBusObjectStoppedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Stopped_revoker>(this, Stopped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynBusObject<D>::Stopped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusObject<D>::Stopped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusObject)->remove_Stopped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusObject) consume_Windows_Devices_AllJoyn_IAllJoynBusObjectFactory<D>::Create(param::hstring const& objectPath) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusObjectFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusObject) consume_Windows_Devices_AllJoyn_IAllJoynBusObjectFactory<D>::CreateWithBusAttachment(param::hstring const& objectPath, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusObjectFactory<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynBusObjectStoppedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusObjectStoppedEventArgs<D>::Status() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynBusObjectStoppedEventArgs)->get_Status(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynBusObjectStoppedEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynBusObjectStoppedEventArgsFactory<D>::Create(int32_t status) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynBusObjectStoppedEventArgsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism) consume_Windows_Devices_AllJoyn_IAllJoynCredentials<D>::AuthenticationMechanism() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentials<D>::AuthenticationMechanism() const
{
winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentials)->get_AuthenticationMechanism(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Devices_AllJoyn_IAllJoynCredentials<D>::Certificate() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentials<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynCredentials<D>::Certificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentials<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Devices_AllJoyn_IAllJoynCredentials<D>::PasswordCredential() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentials<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynCredentials<D>::PasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentials<D>::PasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentials)->put_PasswordCredential(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_AllJoyn_IAllJoynCredentials<D>::Timeout() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentials<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynCredentials<D>::Timeout(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentials<D>::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 <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs<D>::AttemptCount() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs<D>::AttemptCount() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsRequestedEventArgs)->get_AttemptCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynCredentials) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs<D>::Credentials() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs<D>::PeerUniqueName() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs<D>::RequestedUserName() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs<D>::AuthenticationMechanism() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs<D>::AuthenticationMechanism() const
{
winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsVerificationRequestedEventArgs)->get_AuthenticationMechanism(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs<D>::PeerUniqueName() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs<D>::PeerCertificate() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs<D>::PeerCertificateErrorSeverity() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs<D>::PeerCertificateErrorSeverity() const
{
winrt::Windows::Networking::Sockets::SocketSslErrorSeverity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsVerificationRequestedEventArgs)->get_PeerCertificateErrorSeverity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs<D>::PeerCertificateErrors() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs<D>::PeerCertificateErrors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsVerificationRequestedEventArgs)->get_PeerCertificateErrors(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs<D>::PeerIntermediateCertificates() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs<D>::PeerIntermediateCertificates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsVerificationRequestedEventArgs)->get_PeerIntermediateCertificates(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs<D>::Accept() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs<D>::Accept() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsVerificationRequestedEventArgs)->Accept());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynCredentialsVerificationRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynMessageInfo<D>::SenderUniqueName() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynMessageInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynMessageInfo) consume_Windows_Devices_AllJoyn_IAllJoynMessageInfoFactory<D>::Create(param::hstring const& senderUniqueName) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynMessageInfoFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynProducer<D>::SetBusObject(winrt::Windows::Devices::AllJoyn::AllJoynBusObject const& busObject) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynProducer<D>::SetBusObject(winrt::Windows::Devices::AllJoyn::AllJoynBusObject const& busObject) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynProducer)->SetBusObject(*(void**)(&busObject)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynProducerStoppedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynProducerStoppedEventArgs<D>::Status() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynProducerStoppedEventArgs)->get_Status(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynProducerStoppedEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynProducerStoppedEventArgsFactory<D>::Create(int32_t status) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynProducerStoppedEventArgsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynServiceInfo<D>::UniqueName() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynServiceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynServiceInfo<D>::ObjectPath() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynServiceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_AllJoyn_IAllJoynServiceInfo<D>::SessionPort() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynServiceInfo<D>::SessionPort() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynServiceInfo)->get_SessionPort(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo) consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoFactory<D>::Create(param::hstring const& uniqueName, param::hstring const& objectPath, uint16_t sessionPort) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoRemovedEventArgs<D>::UniqueName() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoRemovedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfoRemovedEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoRemovedEventArgsFactory<D>::Create(param::hstring const& uniqueName) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoRemovedEventArgsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo>) consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoStatics<D>::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<winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::Id() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSession)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::Status() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSession)->get_Status(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<int32_t>) consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::RemoveMemberAsync(param::hstring const& uniqueName) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::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<int32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::MemberAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::MemberAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberAddedEventArgs> 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 D> typename consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::MemberAdded_revoker consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::MemberAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::MemberAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberAddedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MemberAdded_revoker>(this, MemberAdded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::MemberAdded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::MemberAdded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSession)->remove_MemberAdded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::MemberRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::MemberRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberRemovedEventArgs> 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 D> typename consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::MemberRemoved_revoker consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::MemberRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::MemberRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberRemovedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MemberRemoved_revoker>(this, MemberRemoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::MemberRemoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::MemberRemoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSession)->remove_MemberRemoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::Lost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionLostEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::Lost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionLostEventArgs> 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 D> typename consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::Lost_revoker consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::Lost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionLostEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::Lost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionLostEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Lost_revoker>(this, Lost(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::Lost(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSession<D>::Lost(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSession)->remove_Lost(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSession) consume_Windows_Devices_AllJoyn_IAllJoynSessionJoinedEventArgs<D>::Session() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSessionJoinedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSessionJoinedEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynSessionJoinedEventArgsFactory<D>::Create(winrt::Windows::Devices::AllJoyn::AllJoynSession const& session) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSessionJoinedEventArgsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSessionLostReason) consume_Windows_Devices_AllJoyn_IAllJoynSessionLostEventArgs<D>::Reason() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSessionLostEventArgs<D>::Reason() const
{
winrt::Windows::Devices::AllJoyn::AllJoynSessionLostReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSessionLostEventArgs)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSessionLostEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynSessionLostEventArgsFactory<D>::Create(winrt::Windows::Devices::AllJoyn::AllJoynSessionLostReason const& reason) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSessionLostEventArgsFactory<D>::Create(winrt::Windows::Devices::AllJoyn::AllJoynSessionLostReason const& reason) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynSessionLostEventArgsFactory)->Create(static_cast<int32_t>(reason), &result));
return winrt::Windows::Devices::AllJoyn::AllJoynSessionLostEventArgs{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberAddedEventArgs<D>::UniqueName() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberAddedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberAddedEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberAddedEventArgsFactory<D>::Create(param::hstring const& uniqueName) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberAddedEventArgsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberRemovedEventArgs<D>::UniqueName() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberRemovedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberRemovedEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberRemovedEventArgsFactory<D>::Create(param::hstring const& uniqueName) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberRemovedEventArgsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::AllJoyn::AllJoynSession>) consume_Windows_Devices_AllJoyn_IAllJoynSessionStatics<D>::GetFromServiceInfoAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSessionStatics<D>::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<winrt::Windows::Devices::AllJoyn::AllJoynSession>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::AllJoyn::AllJoynSession>) consume_Windows_Devices_AllJoyn_IAllJoynSessionStatics<D>::GetFromServiceInfoAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynSessionStatics<D>::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<winrt::Windows::Devices::AllJoyn::AllJoynSession>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::Ok() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::Ok() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_Ok(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::Fail() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::Fail() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_Fail(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::OperationTimedOut() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::OperationTimedOut() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_OperationTimedOut(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::OtherEndClosed() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::OtherEndClosed() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_OtherEndClosed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::ConnectionRefused() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::ConnectionRefused() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_ConnectionRefused(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::AuthenticationFailed() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::AuthenticationFailed() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_AuthenticationFailed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::AuthenticationRejectedByUser() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::AuthenticationRejectedByUser() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_AuthenticationRejectedByUser(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::SslConnectFailed() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::SslConnectFailed() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_SslConnectFailed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::SslIdentityVerificationFailed() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::SslIdentityVerificationFailed() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_SslIdentityVerificationFailed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InsufficientSecurity() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InsufficientSecurity() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InsufficientSecurity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InvalidArgument1() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InvalidArgument1() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InvalidArgument1(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InvalidArgument2() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InvalidArgument2() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InvalidArgument2(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InvalidArgument3() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InvalidArgument3() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InvalidArgument3(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InvalidArgument4() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InvalidArgument4() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InvalidArgument4(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InvalidArgument5() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InvalidArgument5() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InvalidArgument5(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InvalidArgument6() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InvalidArgument6() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InvalidArgument6(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InvalidArgument7() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InvalidArgument7() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InvalidArgument7(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InvalidArgument8() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynStatusStatics<D>::InvalidArgument8() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics)->get_InvalidArgument8(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_AllJoyn_IAllJoynWatcherStoppedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynWatcherStoppedEventArgs<D>::Status() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynWatcherStoppedEventArgs)->get_Status(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynWatcherStoppedEventArgs) consume_Windows_Devices_AllJoyn_IAllJoynWatcherStoppedEventArgsFactory<D>::Create(int32_t status) const
+ template <typename D> auto consume_Windows_Devices_AllJoyn_IAllJoynWatcherStoppedEventArgsFactory<D>::Create(int32_t status) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::AllJoyn::IAllJoynWatcherStoppedEventArgsFactory)->Create(status, &result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Background.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Background.h
index 35b964cffca..db367eb935b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Background.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Background_IDeviceServicingDetails<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Background_IDeviceServicingDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Background_IDeviceServicingDetails<D>::Arguments() const
+ template <typename D> auto consume_Windows_Devices_Background_IDeviceServicingDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Background_IDeviceServicingDetails<D>::ExpectedDuration() const
+ template <typename D> auto consume_Windows_Devices_Background_IDeviceServicingDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Background_IDeviceUseDetails<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Background_IDeviceUseDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Background_IDeviceUseDetails<D>::Arguments() const
+ template <typename D> auto consume_Windows_Devices_Background_IDeviceUseDetails<D>::Arguments() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Background::IDeviceUseDetails)->get_Arguments(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Advertisement.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Advertisement.h
index d29158d290c..d0b25637212 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Advertisement.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFlags>) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::Flags() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::Flags() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement)->get_Flags(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFlags>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::Flags(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFlags> const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::Flags(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFlags> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement)->put_Flags(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::LocalName() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::LocalName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::LocalName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement)->put_LocalName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::guid>) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::ServiceUuids() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::ServiceUuids() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement)->get_ServiceUuids(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::guid>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEManufacturerData>) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::ManufacturerData() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::ManufacturerData() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement)->get_ManufacturerData(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEManufacturerData>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementDataSection>) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::DataSections() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::DataSections() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement)->get_DataSections(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementDataSection>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEManufacturerData>) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::GetManufacturerDataByCompanyId(uint16_t companyId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::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<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEManufacturerData>{ dataList, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementDataSection>) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::GetSectionsByType(uint8_t type) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement<D>::GetSectionsByType(uint8_t type) const
{
void* sectionList{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement)->GetSectionsByType(type, &sectionList));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementDataSection>{ sectionList, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern<D>::DataType() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern<D>::DataType() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementBytePattern)->get_DataType(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern<D>::DataType(uint8_t value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern<D>::DataType(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementBytePattern)->put_DataType(value));
}
- template <typename D> WINRT_IMPL_AUTO(int16_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern<D>::Offset() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern<D>::Offset() const
{
int16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementBytePattern)->get_Offset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern<D>::Offset(int16_t value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern<D>::Offset(int16_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementBytePattern)->put_Offset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern<D>::Data() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern<D>::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePattern<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementBytePattern) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePatternFactory<D>::Create(uint8_t dataType, int16_t offset, winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementBytePatternFactory<D>::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 <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection<D>::DataType() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection<D>::DataType() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataSection)->get_DataType(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection<D>::DataType(uint8_t value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection<D>::DataType(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataSection)->put_DataType(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection<D>::Data() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection<D>::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementDataSection) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSectionFactory<D>::Create(uint8_t dataType, winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataSectionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::Flags() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::Flags() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_Flags(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::IncompleteService16BitUuids() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::IncompleteService16BitUuids() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_IncompleteService16BitUuids(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::CompleteService16BitUuids() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::CompleteService16BitUuids() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_CompleteService16BitUuids(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::IncompleteService32BitUuids() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::IncompleteService32BitUuids() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_IncompleteService32BitUuids(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::CompleteService32BitUuids() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::CompleteService32BitUuids() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_CompleteService32BitUuids(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::IncompleteService128BitUuids() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::IncompleteService128BitUuids() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_IncompleteService128BitUuids(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::CompleteService128BitUuids() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::CompleteService128BitUuids() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_CompleteService128BitUuids(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::ShortenedLocalName() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::ShortenedLocalName() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_ShortenedLocalName(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::CompleteLocalName() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::CompleteLocalName() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_CompleteLocalName(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::TxPowerLevel() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::TxPowerLevel() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_TxPowerLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::SlaveConnectionIntervalRange() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::SlaveConnectionIntervalRange() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_SlaveConnectionIntervalRange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::ServiceSolicitation16BitUuids() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::ServiceSolicitation16BitUuids() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_ServiceSolicitation16BitUuids(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::ServiceSolicitation32BitUuids() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::ServiceSolicitation32BitUuids() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_ServiceSolicitation32BitUuids(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::ServiceSolicitation128BitUuids() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::ServiceSolicitation128BitUuids() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_ServiceSolicitation128BitUuids(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::ServiceData16BitUuids() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::ServiceData16BitUuids() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_ServiceData16BitUuids(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::ServiceData32BitUuids() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::ServiceData32BitUuids() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_ServiceData32BitUuids(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::ServiceData128BitUuids() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::ServiceData128BitUuids() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_ServiceData128BitUuids(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::PublicTargetAddress() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::PublicTargetAddress() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_PublicTargetAddress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::RandomTargetAddress() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::RandomTargetAddress() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_RandomTargetAddress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::Appearance() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::Appearance() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_Appearance(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::AdvertisingInterval() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::AdvertisingInterval() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_AdvertisingInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::ManufacturerSpecificData() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementDataTypesStatics<D>::ManufacturerSpecificData() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics)->get_ManufacturerSpecificData(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementFilter<D>::Advertisement() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementFilter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementFilter<D>::Advertisement(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementFilter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementBytePattern>) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementFilter<D>::BytePatterns() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementFilter<D>::BytePatterns() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementFilter)->get_BytePatterns(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementBytePattern>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatus) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher<D>::Status() const
{
winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher<D>::Advertisement() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher<D>::StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher<D>::StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatusChangedEventArgs> 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 D> typename consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher<D>::StatusChanged_revoker consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher<D>::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher<D>::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatusChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StatusChanged_revoker>(this, StatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher<D>::StatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher<D>::StatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher)->remove_StatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int16_t>) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2<D>::PreferredTransmitPowerLevelInDBm() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2<D>::PreferredTransmitPowerLevelInDBm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher2)->get_PreferredTransmitPowerLevelInDBm(&value));
return winrt::Windows::Foundation::IReference<int16_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2<D>::PreferredTransmitPowerLevelInDBm(winrt::Windows::Foundation::IReference<int16_t> const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2<D>::PreferredTransmitPowerLevelInDBm(winrt::Windows::Foundation::IReference<int16_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher2)->put_PreferredTransmitPowerLevelInDBm(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2<D>::UseExtendedAdvertisement() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2<D>::UseExtendedAdvertisement() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher2)->get_UseExtendedAdvertisement(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2<D>::UseExtendedAdvertisement(bool value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2<D>::UseExtendedAdvertisement(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher2)->put_UseExtendedAdvertisement(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2<D>::IsAnonymous() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2<D>::IsAnonymous() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher2)->get_IsAnonymous(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2<D>::IsAnonymous(bool value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2<D>::IsAnonymous(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher2)->put_IsAnonymous(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2<D>::IncludeTransmitPowerLevel() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2<D>::IncludeTransmitPowerLevel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher2)->get_IncludeTransmitPowerLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2<D>::IncludeTransmitPowerLevel(bool value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2<D>::IncludeTransmitPowerLevel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher2)->put_IncludeTransmitPowerLevel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisher) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherFactory<D>::Create(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement const& advertisement) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatus) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs<D>::Status() const
{
winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisherStatusChangedEventArgs)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs<D>::Error() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs<D>::Error() const
{
winrt::Windows::Devices::Bluetooth::BluetoothError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisherStatusChangedEventArgs)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int16_t>) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2<D>::SelectedTransmitPowerLevelInDBm() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2<D>::SelectedTransmitPowerLevelInDBm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2)->get_SelectedTransmitPowerLevelInDBm(&value));
return winrt::Windows::Foundation::IReference<int16_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(int16_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs<D>::RawSignalStrengthInDBm() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs<D>::RawSignalStrengthInDBm() const
{
int16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs)->get_RawSignalStrengthInDBm(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs<D>::BluetoothAddress() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs<D>::BluetoothAddress() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs)->get_BluetoothAddress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementType) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs<D>::AdvertisementType() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs<D>::AdvertisementType() const
{
winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs)->get_AdvertisementType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs<D>::Advertisement() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothAddressType) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2<D>::BluetoothAddressType() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2<D>::BluetoothAddressType() const
{
winrt::Windows::Devices::Bluetooth::BluetoothAddressType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs2)->get_BluetoothAddressType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int16_t>) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2<D>::TransmitPowerLevelInDBm() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2<D>::TransmitPowerLevelInDBm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs2)->get_TransmitPowerLevelInDBm(&value));
return winrt::Windows::Foundation::IReference<int16_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2<D>::IsAnonymous() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2<D>::IsAnonymous() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs2)->get_IsAnonymous(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2<D>::IsConnectable() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2<D>::IsConnectable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs2)->get_IsConnectable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2<D>::IsScannable() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2<D>::IsScannable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs2)->get_IsScannable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2<D>::IsDirected() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2<D>::IsDirected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs2)->get_IsDirected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2<D>::IsScanResponse() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementReceivedEventArgs2<D>::IsScanResponse() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs2)->get_IsScanResponse(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::MinSamplingInterval() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::MaxSamplingInterval() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::MinOutOfRangeTimeout() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::MaxOutOfRangeTimeout() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcherStatus) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Status() const
{
winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcherStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEScanningMode) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::ScanningMode() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::ScanningMode() const
{
winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEScanningMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->get_ScanningMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::ScanningMode(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEScanningMode const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::SignalStrengthFilter() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::SignalStrengthFilter(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::AdvertisementFilter() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::AdvertisementFilter(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Received(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Received(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementReceivedEventArgs> 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 D> typename consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Received_revoker consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Received(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Received(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Received_revoker>(this, Received(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Received(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Received(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->remove_Received(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcherStoppedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcherStoppedEventArgs> 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 D> typename consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Stopped_revoker consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcherStoppedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcherStoppedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Stopped_revoker>(this, Stopped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher)->remove_Stopped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher2<D>::AllowExtendedAdvertisements() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher2<D>::AllowExtendedAdvertisements() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher2)->get_AllowExtendedAdvertisements(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher2<D>::AllowExtendedAdvertisements(bool value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcher2<D>::AllowExtendedAdvertisements(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher2)->put_AllowExtendedAdvertisements(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcherFactory<D>::Create(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFilter const& advertisementFilter) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcherFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcherStoppedEventArgs<D>::Error() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementWatcherStoppedEventArgs<D>::Error() const
{
winrt::Windows::Devices::Bluetooth::BluetoothError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcherStoppedEventArgs)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData<D>::CompanyId() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData<D>::CompanyId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEManufacturerData)->get_CompanyId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData<D>::CompanyId(uint16_t value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData<D>::CompanyId(uint16_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEManufacturerData)->put_CompanyId(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData<D>::Data() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData<D>::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEManufacturerData) consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerDataFactory<D>::Create(uint16_t companyId, winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEManufacturerDataFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Background.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Background.h
index d7a6ef705d5..61fb0b0859a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Background.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatus) consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails<D>::Status() const
{
winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementPublisherTriggerDetails)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails<D>::Error() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails<D>::Error() const
{
winrt::Windows::Devices::Bluetooth::BluetoothError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementPublisherTriggerDetails)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int16_t>) consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails2<D>::SelectedTransmitPowerLevelInDBm() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails2<D>::SelectedTransmitPowerLevelInDBm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementPublisherTriggerDetails2)->get_SelectedTransmitPowerLevelInDBm(&value));
return winrt::Windows::Foundation::IReference<int16_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementWatcherTriggerDetails<D>::Error() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementWatcherTriggerDetails<D>::Error() const
{
winrt::Windows::Devices::Bluetooth::BluetoothError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementWatcherTriggerDetails)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementReceivedEventArgs>) consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementWatcherTriggerDetails<D>::Advertisements() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementWatcherTriggerDetails<D>::Advertisements() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementWatcherTriggerDetails)->get_Advertisements(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementReceivedEventArgs>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothSignalStrengthFilter) consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementWatcherTriggerDetails<D>::SignalStrengthFilter() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementWatcherTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic) consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails<D>::Characteristic() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails<D>::Value() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails2<D>::Error() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails2<D>::Error() const
{
winrt::Windows::Devices::Bluetooth::BluetoothError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IGattCharacteristicNotificationTriggerDetails2)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Background::BluetoothEventTriggeringMode) consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails2<D>::EventTriggeringMode() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails2<D>::EventTriggeringMode() const
{
winrt::Windows::Devices::Bluetooth::Background::BluetoothEventTriggeringMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IGattCharacteristicNotificationTriggerDetails2)->get_EventTriggeringMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattValueChangedEventArgs>) consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails2<D>::ValueChangedEvents() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IGattCharacteristicNotificationTriggerDetails2<D>::ValueChangedEvents() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IGattCharacteristicNotificationTriggerDetails2)->get_ValueChangedEvents(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattValueChangedEventArgs>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnection<D>::TriggerId() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalService) consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnection<D>::Service() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnection<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnection<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IGattServiceProviderConnection)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Devices::Bluetooth::Background::GattServiceProviderConnection>) consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnectionStatics<D>::AllServices() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnectionStatics<D>::AllServices() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IGattServiceProviderConnectionStatics)->get_AllServices(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Devices::Bluetooth::Background::GattServiceProviderConnection>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Background::GattServiceProviderConnection) consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderTriggerDetails<D>::Connection() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocket) consume_Windows_Devices_Bluetooth_Background_IRfcommConnectionTriggerDetails<D>::Socket() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IRfcommConnectionTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_Background_IRfcommConnectionTriggerDetails<D>::Incoming() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IRfcommConnectionTriggerDetails<D>::Incoming() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IRfcommConnectionTriggerDetails)->get_Incoming(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDevice) consume_Windows_Devices_Bluetooth_Background_IRfcommConnectionTriggerDetails<D>::RemoteDevice() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IRfcommConnectionTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation<D>::SdpRecord() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation<D>::SdpRecord(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation<D>::LocalServiceId() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation<D>::LocalServiceId(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities) consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation<D>::ServiceCapabilities() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation<D>::ServiceCapabilities() const
{
winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IRfcommInboundConnectionInformation)->get_ServiceCapabilities(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation<D>::ServiceCapabilities(winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IRfcommInboundConnectionInformation<D>::ServiceCapabilities(winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Background::IRfcommInboundConnectionInformation)->put_ServiceCapabilities(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Background_IRfcommOutboundConnectionInformation<D>::RemoteServiceId() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IRfcommOutboundConnectionInformation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Background_IRfcommOutboundConnectionInformation<D>::RemoteServiceId(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Background_IRfcommOutboundConnectionInformation<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.GenericAttributeProfile.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.GenericAttributeProfile.h
index af18224cfec..a77ffa68234 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.GenericAttributeProfile.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptor>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::GetDescriptors(winrt::guid const& descriptorUuid) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptor>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::CharacteristicProperties() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::CharacteristicProperties() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->get_CharacteristicProperties(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::ProtectionLevel() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::ProtectionLevel() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->get_ProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::ProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::UserDescription() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::Uuid() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::Uuid() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->get_Uuid(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::AttributeHandle() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::AttributeHandle() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->get_AttributeHandle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattPresentationFormat>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::PresentationFormats() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::PresentationFormats() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->get_PresentationFormats(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattPresentationFormat>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::ReadValueAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::ReadValueAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->ReadValueAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::ReadValueAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::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<int32_t>(cacheMode), &value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption const& writeOption) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::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<int32_t>(writeOption), &asyncOp));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadClientCharacteristicConfigurationDescriptorResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::ReadClientCharacteristicConfigurationDescriptorAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::ReadClientCharacteristicConfigurationDescriptorAsync() const
{
void* asyncOp{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->ReadClientCharacteristicConfigurationDescriptorAsync(&asyncOp));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadClientCharacteristicConfigurationDescriptorResult>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::WriteClientCharacteristicConfigurationDescriptorAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue const& clientCharacteristicConfigurationDescriptorValue) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::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<int32_t>(clientCharacteristicConfigurationDescriptorValue), &asyncOp));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::ValueChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattValueChangedEventArgs> const& valueChangedHandler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::ValueChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattValueChangedEventArgs> 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 D> typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::ValueChanged_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattValueChangedEventArgs> const& valueChangedHandler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattValueChangedEventArgs> const& valueChangedHandler) const
{
return impl::make_event_revoker<D, ValueChanged_revoker>(this, ValueChanged(valueChangedHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::ValueChanged(winrt::event_token const& valueChangedEventCookie) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic<D>::ValueChanged(winrt::event_token const& valueChangedEventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic)->remove_ValueChanged(impl::bind_in(valueChangedEventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic2<D>::Service() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptor>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic2<D>::GetAllDescriptors() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic2<D>::GetAllDescriptors() const
{
void* descriptors{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic2)->GetAllDescriptors(&descriptors));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptor>{ descriptors, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptorsResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3<D>::GetDescriptorsAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3<D>::GetDescriptorsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic3)->GetDescriptorsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptorsResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptorsResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3<D>::GetDescriptorsAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3<D>::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<int32_t>(cacheMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptorsResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptorsResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3<D>::GetDescriptorsForUuidAsync(winrt::guid const& descriptorUuid) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3<D>::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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptorsResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptorsResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3<D>::GetDescriptorsForUuidAsync(winrt::guid const& descriptorUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3<D>::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<int32_t>(cacheMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptorsResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3<D>::WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3<D>::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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3<D>::WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption const& writeOption) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3<D>::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<int32_t>(writeOption), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3<D>::WriteClientCharacteristicConfigurationDescriptorWithResultAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue const& clientCharacteristicConfigurationDescriptorValue) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3<D>::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<int32_t>(clientCharacteristicConfigurationDescriptorValue), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicStatics<D>::ConvertShortIdToUuid(uint16_t shortId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::BatteryLevel() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::BatteryLevel() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_BatteryLevel(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::BloodPressureFeature() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::BloodPressureFeature() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_BloodPressureFeature(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::BloodPressureMeasurement() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::BloodPressureMeasurement() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_BloodPressureMeasurement(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::BodySensorLocation() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::BodySensorLocation() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_BodySensorLocation(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::CscFeature() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::CscFeature() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_CscFeature(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::CscMeasurement() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::CscMeasurement() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_CscMeasurement(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::GlucoseFeature() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::GlucoseFeature() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_GlucoseFeature(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::GlucoseMeasurement() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::GlucoseMeasurement() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_GlucoseMeasurement(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::GlucoseMeasurementContext() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::GlucoseMeasurementContext() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_GlucoseMeasurementContext(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::HeartRateControlPoint() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::HeartRateControlPoint() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_HeartRateControlPoint(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::HeartRateMeasurement() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::HeartRateMeasurement() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_HeartRateMeasurement(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::IntermediateCuffPressure() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::IntermediateCuffPressure() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_IntermediateCuffPressure(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::IntermediateTemperature() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::IntermediateTemperature() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_IntermediateTemperature(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::MeasurementInterval() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::MeasurementInterval() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_MeasurementInterval(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::RecordAccessControlPoint() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::RecordAccessControlPoint() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_RecordAccessControlPoint(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::RscFeature() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::RscFeature() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_RscFeature(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::RscMeasurement() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::RscMeasurement() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_RscMeasurement(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::SCControlPoint() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::SCControlPoint() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_SCControlPoint(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::SensorLocation() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::SensorLocation() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_SensorLocation(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::TemperatureMeasurement() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::TemperatureMeasurement() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_TemperatureMeasurement(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::TemperatureType() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics<D>::TemperatureType() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics)->get_TemperatureType(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::AlertCategoryId() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::AlertCategoryId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_AlertCategoryId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::AlertCategoryIdBitMask() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::AlertCategoryIdBitMask() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_AlertCategoryIdBitMask(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::AlertLevel() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::AlertLevel() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_AlertLevel(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::AlertNotificationControlPoint() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::AlertNotificationControlPoint() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_AlertNotificationControlPoint(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::AlertStatus() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::AlertStatus() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_AlertStatus(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::GapAppearance() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::GapAppearance() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_GapAppearance(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::BootKeyboardInputReport() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::BootKeyboardInputReport() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_BootKeyboardInputReport(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::BootKeyboardOutputReport() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::BootKeyboardOutputReport() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_BootKeyboardOutputReport(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::BootMouseInputReport() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::BootMouseInputReport() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_BootMouseInputReport(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::CurrentTime() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::CurrentTime() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_CurrentTime(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::CyclingPowerControlPoint() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::CyclingPowerControlPoint() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_CyclingPowerControlPoint(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::CyclingPowerFeature() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::CyclingPowerFeature() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_CyclingPowerFeature(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::CyclingPowerMeasurement() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::CyclingPowerMeasurement() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_CyclingPowerMeasurement(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::CyclingPowerVector() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::CyclingPowerVector() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_CyclingPowerVector(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::DateTime() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::DateTime() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_DateTime(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::DayDateTime() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::DayDateTime() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_DayDateTime(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::DayOfWeek() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::DayOfWeek() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_DayOfWeek(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::GapDeviceName() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::GapDeviceName() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_GapDeviceName(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::DstOffset() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::DstOffset() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_DstOffset(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::ExactTime256() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::ExactTime256() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_ExactTime256(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::FirmwareRevisionString() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::FirmwareRevisionString() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_FirmwareRevisionString(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::HardwareRevisionString() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::HardwareRevisionString() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_HardwareRevisionString(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::HidControlPoint() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::HidControlPoint() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_HidControlPoint(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::HidInformation() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::HidInformation() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_HidInformation(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::Ieee1107320601RegulatoryCertificationDataList() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::Ieee1107320601RegulatoryCertificationDataList() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_Ieee1107320601RegulatoryCertificationDataList(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::LnControlPoint() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::LnControlPoint() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_LnControlPoint(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::LnFeature() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::LnFeature() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_LnFeature(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::LocalTimeInformation() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::LocalTimeInformation() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_LocalTimeInformation(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::LocationAndSpeed() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::LocationAndSpeed() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_LocationAndSpeed(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::ManufacturerNameString() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::ManufacturerNameString() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_ManufacturerNameString(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::ModelNumberString() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::ModelNumberString() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_ModelNumberString(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::Navigation() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::Navigation() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_Navigation(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::NewAlert() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::NewAlert() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_NewAlert(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::GapPeripheralPreferredConnectionParameters() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::GapPeripheralPreferredConnectionParameters() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_GapPeripheralPreferredConnectionParameters(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::GapPeripheralPrivacyFlag() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::GapPeripheralPrivacyFlag() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_GapPeripheralPrivacyFlag(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::PnpId() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::PnpId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_PnpId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::PositionQuality() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::PositionQuality() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_PositionQuality(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::ProtocolMode() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::ProtocolMode() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_ProtocolMode(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::GapReconnectionAddress() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::GapReconnectionAddress() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_GapReconnectionAddress(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::ReferenceTimeInformation() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::ReferenceTimeInformation() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_ReferenceTimeInformation(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::Report() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::Report() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_Report(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::ReportMap() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::ReportMap() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_ReportMap(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::RingerControlPoint() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::RingerControlPoint() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_RingerControlPoint(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::RingerSetting() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::RingerSetting() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_RingerSetting(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::ScanIntervalWindow() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::ScanIntervalWindow() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_ScanIntervalWindow(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::ScanRefresh() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::ScanRefresh() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_ScanRefresh(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::SerialNumberString() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::SerialNumberString() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_SerialNumberString(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::GattServiceChanged() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::GattServiceChanged() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_GattServiceChanged(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::SoftwareRevisionString() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::SoftwareRevisionString() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_SoftwareRevisionString(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::SupportedNewAlertCategory() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::SupportedNewAlertCategory() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_SupportedNewAlertCategory(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::SupportUnreadAlertCategory() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::SupportUnreadAlertCategory() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_SupportUnreadAlertCategory(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::SystemId() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::SystemId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_SystemId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::TimeAccuracy() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::TimeAccuracy() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_TimeAccuracy(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::TimeSource() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::TimeSource() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_TimeSource(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::TimeUpdateControlPoint() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::TimeUpdateControlPoint() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_TimeUpdateControlPoint(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::TimeUpdateState() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::TimeUpdateState() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_TimeUpdateState(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::TimeWithDst() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::TimeWithDst() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_TimeWithDst(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::TimeZone() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::TimeZone() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_TimeZone(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::TxPowerLevel() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::TxPowerLevel() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_TxPowerLevel(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::UnreadAlertStatus() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicUuidsStatics2<D>::UnreadAlertStatus() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2)->get_UnreadAlertStatus(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicsResult<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicsResult<D>::Status() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicsResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint8_t>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicsResult<D>::ProtocolError() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicsResult<D>::ProtocolError() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicsResult)->get_ProtocolError(&value));
return winrt::Windows::Foundation::IReference<uint8_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicsResult<D>::Characteristics() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristicsResult<D>::Characteristics() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicsResult)->get_Characteristics(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult<D>::SubscribedClient() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult<D>::Status() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattClientNotificationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint8_t>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult<D>::ProtocolError() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult<D>::ProtocolError() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattClientNotificationResult)->get_ProtocolError(&value));
return winrt::Windows::Foundation::IReference<uint8_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult2<D>::BytesSent() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult2<D>::BytesSent() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattClientNotificationResult2)->get_BytesSent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor<D>::ProtectionLevel() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor<D>::ProtectionLevel() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptor)->get_ProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor<D>::ProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor<D>::Uuid() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor<D>::Uuid() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptor)->get_Uuid(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor<D>::AttributeHandle() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor<D>::AttributeHandle() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptor)->get_AttributeHandle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor<D>::ReadValueAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor<D>::ReadValueAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptor)->ReadValueAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor<D>::ReadValueAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor<D>::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<int32_t>(cacheMode), &value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor<D>::WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor<D>::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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus>{ action, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor2<D>::WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor2<D>::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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorStatics<D>::ConvertShortIdToUuid(uint16_t shortId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics<D>::CharacteristicAggregateFormat() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics<D>::CharacteristicAggregateFormat() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorUuidsStatics)->get_CharacteristicAggregateFormat(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics<D>::CharacteristicExtendedProperties() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics<D>::CharacteristicExtendedProperties() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorUuidsStatics)->get_CharacteristicExtendedProperties(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics<D>::CharacteristicPresentationFormat() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics<D>::CharacteristicPresentationFormat() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorUuidsStatics)->get_CharacteristicPresentationFormat(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics<D>::CharacteristicUserDescription() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics<D>::CharacteristicUserDescription() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorUuidsStatics)->get_CharacteristicUserDescription(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics<D>::ClientCharacteristicConfiguration() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics<D>::ClientCharacteristicConfiguration() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorUuidsStatics)->get_ClientCharacteristicConfiguration(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics<D>::ServerCharacteristicConfiguration() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorUuidsStatics<D>::ServerCharacteristicConfiguration() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorUuidsStatics)->get_ServerCharacteristicConfiguration(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorsResult<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorsResult<D>::Status() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorsResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint8_t>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorsResult<D>::ProtocolError() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorsResult<D>::ProtocolError() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorsResult)->get_ProtocolError(&value));
return winrt::Windows::Foundation::IReference<uint8_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptor>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorsResult<D>::Descriptors() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptorsResult<D>::Descriptors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorsResult)->get_Descriptors(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptor>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService<D>::GetCharacteristics(winrt::guid const& characteristicUuid) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService<D>::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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService<D>::GetIncludedServices(winrt::guid const& serviceUuid) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService<D>::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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService<D>::Uuid() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService<D>::Uuid() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService)->get_Uuid(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService<D>::AttributeHandle() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService<D>::AttributeHandle() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService)->get_AttributeHandle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothLEDevice) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2<D>::Device() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2<D>::ParentServices() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2<D>::ParentServices() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService2)->get_ParentServices(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2<D>::GetAllCharacteristics() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2<D>::GetAllCharacteristics() const
{
void* characteristics{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService2)->GetAllCharacteristics(&characteristics));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic>{ characteristics, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2<D>::GetAllIncludedServices() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService2<D>::GetAllIncludedServices() const
{
void* includedServices{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService2)->GetAllIncludedServices(&includedServices));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>{ includedServices, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::DeviceAccessInformation() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::Session() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::SharingMode() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::SharingMode() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3)->get_SharingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceAccessStatus>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::RequestAccessAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3)->RequestAccessAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceAccessStatus>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattOpenStatus>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::OpenAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode const& sharingMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::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<int32_t>(sharingMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattOpenStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicsResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::GetCharacteristicsAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::GetCharacteristicsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3)->GetCharacteristicsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicsResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicsResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::GetCharacteristicsAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::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<int32_t>(cacheMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicsResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicsResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::GetCharacteristicsForUuidAsync(winrt::guid const& characteristicUuid) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicsResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicsResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::GetCharacteristicsForUuidAsync(winrt::guid const& characteristicUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::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<int32_t>(cacheMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicsResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::GetIncludedServicesAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::GetIncludedServicesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3)->GetIncludedServicesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::GetIncludedServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::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<int32_t>(cacheMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::GetIncludedServicesForUuidAsync(winrt::guid const& serviceUuid) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::GetIncludedServicesForUuidAsync(winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService3<D>::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<int32_t>(cacheMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics<D>::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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics<D>::GetDeviceSelectorFromUuid(winrt::guid const& serviceUuid) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics<D>::GetDeviceSelectorFromShortId(uint16_t serviceShortId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics<D>::ConvertShortIdToUuid(uint16_t shortId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2<D>::FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode const& sharingMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2<D>::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<int32_t>(sharingMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2<D>::GetDeviceSelectorForBluetoothDeviceId(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2<D>::GetDeviceSelectorForBluetoothDeviceId(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2<D>::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<int32_t>(cacheMode), &result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2<D>::GetDeviceSelectorForBluetoothDeviceIdAndUuid(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::guid const& serviceUuid) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2<D>::GetDeviceSelectorForBluetoothDeviceIdAndUuid(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& bluetoothDeviceId, winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2<D>::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<int32_t>(cacheMode), &result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServicesResult<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServicesResult<D>::Status() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServicesResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint8_t>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServicesResult<D>::ProtocolError() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServicesResult<D>::ProtocolError() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServicesResult)->get_ProtocolError(&value));
return winrt::Windows::Foundation::IReference<uint8_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServicesResult<D>::Services() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServicesResult<D>::Services() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServicesResult)->get_Services(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::Uuid() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::Uuid() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->get_Uuid(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::StaticValue() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::CharacteristicProperties() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::CharacteristicProperties() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->get_CharacteristicProperties(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::ReadProtectionLevel() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::ReadProtectionLevel() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->get_ReadProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::WriteProtectionLevel() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::WriteProtectionLevel() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->get_WriteProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptorResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::CreateDescriptorAsync(winrt::guid const& descriptorUuid, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptorParameters const& parameters) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::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**)(&parameters), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptorResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::Descriptors() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::Descriptors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->get_Descriptors(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::UserDescription() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattPresentationFormat>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::PresentationFormats() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::PresentationFormats() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->get_PresentationFormats(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattPresentationFormat>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::SubscribedClients() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::SubscribedClients() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->get_SubscribedClients(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::SubscribedClientsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::SubscribedClientsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::SubscribedClientsChanged_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::SubscribedClientsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::SubscribedClientsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SubscribedClientsChanged_revoker>(this, SubscribedClientsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::SubscribedClientsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::SubscribedClientsChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->remove_SubscribedClientsChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::ReadRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::ReadRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequestedEventArgs> 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 D> typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::ReadRequested_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ReadRequested_revoker>(this, ReadRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::ReadRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::ReadRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->remove_ReadRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::WriteRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::WriteRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequestedEventArgs> 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 D> typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::WriteRequested_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::WriteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::WriteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, WriteRequested_revoker>(this, WriteRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::WriteRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::WriteRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic)->remove_WriteRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientNotificationResult>>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::NotifyValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientNotificationResult>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientNotificationResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::NotifyValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient const& subscribedClient) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristic<D>::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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientNotificationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::StaticValue(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::StaticValue() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::CharacteristicProperties(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::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<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::CharacteristicProperties() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::CharacteristicProperties() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicProperties value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters)->get_CharacteristicProperties(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::ReadProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::ReadProtectionLevel() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::ReadProtectionLevel() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters)->get_ReadProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::WriteProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::WriteProtectionLevel() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::WriteProtectionLevel() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters)->get_WriteProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::UserDescription(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::UserDescription(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters)->put_UserDescription(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::UserDescription() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattPresentationFormat>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::PresentationFormats() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicParameters<D>::PresentationFormats() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters)->get_PresentationFormats(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattPresentationFormat>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicResult<D>::Characteristic() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicResult<D>::Error() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalCharacteristicResult<D>::Error() const
{
winrt::Windows::Devices::Bluetooth::BluetoothError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicResult)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::Uuid() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::Uuid() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor)->get_Uuid(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::StaticValue() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::ReadProtectionLevel() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::ReadProtectionLevel() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor)->get_ReadProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::WriteProtectionLevel() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::WriteProtectionLevel() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor)->get_WriteProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::ReadRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::ReadRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequestedEventArgs> 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 D> typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::ReadRequested_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ReadRequested_revoker>(this, ReadRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::ReadRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::ReadRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor)->remove_ReadRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::WriteRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::WriteRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequestedEventArgs> 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 D> typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::WriteRequested_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::WriteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::WriteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, WriteRequested_revoker>(this, WriteRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::WriteRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptor<D>::WriteRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor)->remove_WriteRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters<D>::StaticValue(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters<D>::StaticValue() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters<D>::ReadProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters<D>::ReadProtectionLevel() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters<D>::ReadProtectionLevel() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorParameters)->get_ReadProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters<D>::WriteProtectionLevel(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters<D>::WriteProtectionLevel() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorParameters<D>::WriteProtectionLevel() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorParameters)->get_WriteProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorResult<D>::Descriptor() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorResult<D>::Error() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalDescriptorResult<D>::Error() const
{
winrt::Windows::Devices::Bluetooth::BluetoothError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorResult)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalService<D>::Uuid() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalService<D>::Uuid() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalService)->get_Uuid(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristicResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalService<D>::CreateCharacteristicAsync(winrt::guid const& characteristicUuid, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristicParameters const& parameters) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalService<D>::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**)(&parameters), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristicResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalService<D>::Characteristics() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalService<D>::Characteristics() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalService)->get_Characteristics(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat<D>::FormatType() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat<D>::FormatType() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormat)->get_FormatType(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat<D>::Exponent() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat<D>::Exponent() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormat)->get_Exponent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat<D>::Unit() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat<D>::Unit() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormat)->get_Unit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat<D>::Namespace() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat<D>::Namespace() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormat)->get_Namespace(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat<D>::Description() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormat<D>::Description() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormat)->get_Description(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatStatics<D>::BluetoothSigAssignedNumbers() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatStatics<D>::BluetoothSigAssignedNumbers() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatStatics)->get_BluetoothSigAssignedNumbers(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattPresentationFormat) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatStatics2<D>::FromParts(uint8_t formatType, int32_t exponent, uint16_t unit, uint8_t namespaceId, uint16_t description) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Boolean() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Boolean() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Boolean(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Bit2() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Bit2() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Bit2(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Nibble() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Nibble() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Nibble(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::UInt8() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::UInt8() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_UInt8(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::UInt12() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::UInt12() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_UInt12(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::UInt16() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::UInt16() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_UInt16(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::UInt24() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::UInt24() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_UInt24(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::UInt32() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::UInt32() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_UInt32(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::UInt48() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::UInt48() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_UInt48(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::UInt64() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::UInt64() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_UInt64(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::UInt128() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::UInt128() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_UInt128(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SInt8() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SInt8() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SInt8(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SInt12() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SInt12() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SInt12(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SInt16() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SInt16() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SInt16(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SInt24() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SInt24() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SInt24(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SInt32() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SInt32() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SInt32(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SInt48() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SInt48() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SInt48(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SInt64() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SInt64() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SInt64(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SInt128() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SInt128() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SInt128(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Float32() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Float32() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Float32(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Float64() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Float64() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Float64(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SFloat() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::SFloat() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_SFloat(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Float() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Float() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Float(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::DUInt16() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::DUInt16() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_DUInt16(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Utf8() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Utf8() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Utf8(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Utf16() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Utf16() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Utf16(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Struct() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatTypesStatics<D>::Struct() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics)->get_Struct(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InvalidHandle() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InvalidHandle() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InvalidHandle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::ReadNotPermitted() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::ReadNotPermitted() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_ReadNotPermitted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::WriteNotPermitted() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::WriteNotPermitted() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_WriteNotPermitted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InvalidPdu() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InvalidPdu() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InvalidPdu(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InsufficientAuthentication() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InsufficientAuthentication() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InsufficientAuthentication(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::RequestNotSupported() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::RequestNotSupported() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_RequestNotSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InvalidOffset() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InvalidOffset() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InvalidOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InsufficientAuthorization() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InsufficientAuthorization() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InsufficientAuthorization(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::PrepareQueueFull() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::PrepareQueueFull() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_PrepareQueueFull(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::AttributeNotFound() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::AttributeNotFound() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_AttributeNotFound(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::AttributeNotLong() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::AttributeNotLong() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_AttributeNotLong(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InsufficientEncryptionKeySize() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InsufficientEncryptionKeySize() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InsufficientEncryptionKeySize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InvalidAttributeValueLength() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InvalidAttributeValueLength() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InvalidAttributeValueLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::UnlikelyError() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::UnlikelyError() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_UnlikelyError(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InsufficientEncryption() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InsufficientEncryption() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InsufficientEncryption(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::UnsupportedGroupType() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::UnsupportedGroupType() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_UnsupportedGroupType(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InsufficientResources() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattProtocolErrorStatics<D>::InsufficientResources() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics)->get_InsufficientResources(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult<D>::Status() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadClientCharacteristicConfigurationDescriptorResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult<D>::ClientCharacteristicConfigurationDescriptor() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult<D>::ClientCharacteristicConfigurationDescriptor() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadClientCharacteristicConfigurationDescriptorResult)->get_ClientCharacteristicConfigurationDescriptor(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint8_t>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult2<D>::ProtocolError() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult2<D>::ProtocolError() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadClientCharacteristicConfigurationDescriptorResult2)->get_ProtocolError(&value));
return winrt::Windows::Foundation::IReference<uint8_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest<D>::Offset() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest<D>::Offset() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest)->get_Offset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest<D>::Length() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest<D>::Length() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestState) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest<D>::State() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest<D>::State() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequest, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequest, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestStateChangedEventArgs> 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 D> typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest<D>::StateChanged_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequest, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequest, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StateChanged_revoker>(this, StateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest<D>::StateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest<D>::StateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest)->remove_StateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest<D>::RespondWithValue(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest<D>::RespondWithValue(winrt::Windows::Storage::Streams::IBuffer const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest)->RespondWithValue(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest<D>::RespondWithProtocolError(uint8_t protocolError) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequest<D>::RespondWithProtocolError(uint8_t protocolError) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest)->RespondWithProtocolError(protocolError));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequestedEventArgs<D>::Session() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequest>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequestedEventArgs<D>::GetRequestAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadRequestedEventArgs<D>::GetRequestAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequestedEventArgs)->GetRequestAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequest>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult<D>::Status() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult<D>::Value() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint8_t>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult2<D>::ProtocolError() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult2<D>::ProtocolError() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadResult2)->get_ProtocolError(&value));
return winrt::Windows::Foundation::IReference<uint8_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction<D>::WriteValue(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic const& characteristic, winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction<D>::CommitAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction<D>::CommitAsync() const
{
void* asyncOp{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReliableWriteTransaction)->CommitAsync(&asyncOp));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction2<D>::CommitWithResultAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction2<D>::CommitWithResultAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReliableWriteTransaction2)->CommitWithResultAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestState) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattRequestStateChangedEventArgs<D>::State() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattRequestStateChangedEventArgs<D>::State() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattRequestStateChangedEventArgs)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattRequestStateChangedEventArgs<D>::Error() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattRequestStateChangedEventArgs<D>::Error() const
{
winrt::Windows::Devices::Bluetooth::BluetoothError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattRequestStateChangedEventArgs)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalService) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider<D>::Service() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider<D>::AdvertisementStatus() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider<D>::AdvertisementStatus() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider)->get_AdvertisementStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider<D>::AdvertisementStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProvider, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider<D>::AdvertisementStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProvider, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatusChangedEventArgs> 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 D> typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider<D>::AdvertisementStatusChanged_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider<D>::AdvertisementStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProvider, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider<D>::AdvertisementStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProvider, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatusChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AdvertisementStatusChanged_revoker>(this, AdvertisementStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider<D>::AdvertisementStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider<D>::AdvertisementStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider)->remove_AdvertisementStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider<D>::StartAdvertising() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider<D>::StartAdvertising() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider)->StartAdvertising());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider<D>::StartAdvertising(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters const& parameters) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider<D>::StartAdvertising(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisingParameters const& parameters) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider)->StartAdvertisingWithParameters(*(void**)(&parameters)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider<D>::StopAdvertising() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProvider<D>::StopAdvertising() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider)->StopAdvertising());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisementStatusChangedEventArgs<D>::Error() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisementStatusChangedEventArgs<D>::Error() const
{
winrt::Windows::Devices::Bluetooth::BluetoothError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisementStatusChangedEventArgs)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisementStatusChangedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisementStatusChangedEventArgs<D>::Status() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisementStatusChangedEventArgs)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters<D>::IsConnectable(bool value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters<D>::IsConnectable(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisingParameters)->put_IsConnectable(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters<D>::IsConnectable() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters<D>::IsConnectable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisingParameters)->get_IsConnectable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters<D>::IsDiscoverable(bool value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters<D>::IsDiscoverable(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisingParameters)->put_IsDiscoverable(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters<D>::IsDiscoverable() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters<D>::IsDiscoverable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisingParameters)->get_IsDiscoverable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters2<D>::ServiceData(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters2<D>::ServiceData() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderAdvertisingParameters2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderResult<D>::Error() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderResult<D>::Error() const
{
winrt::Windows::Devices::Bluetooth::BluetoothError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderResult)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProvider) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderResult<D>::ServiceProvider() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderResult>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderStatics<D>::CreateAsync(winrt::guid const& serviceUuid) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderStatics<D>::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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::Battery() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::Battery() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_Battery(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::BloodPressure() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::BloodPressure() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_BloodPressure(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::CyclingSpeedAndCadence() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::CyclingSpeedAndCadence() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_CyclingSpeedAndCadence(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::GenericAccess() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::GenericAccess() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_GenericAccess(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::GenericAttribute() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::GenericAttribute() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_GenericAttribute(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::Glucose() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::Glucose() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_Glucose(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::HealthThermometer() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::HealthThermometer() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_HealthThermometer(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::HeartRate() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::HeartRate() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_HeartRate(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::RunningSpeedAndCadence() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics<D>::RunningSpeedAndCadence() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics)->get_RunningSpeedAndCadence(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::AlertNotification() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::AlertNotification() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_AlertNotification(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::CurrentTime() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::CurrentTime() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_CurrentTime(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::CyclingPower() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::CyclingPower() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_CyclingPower(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::DeviceInformation() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::DeviceInformation() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_DeviceInformation(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::HumanInterfaceDevice() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::HumanInterfaceDevice() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_HumanInterfaceDevice(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::ImmediateAlert() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::ImmediateAlert() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_ImmediateAlert(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::LinkLoss() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::LinkLoss() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_LinkLoss(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::LocationAndNavigation() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::LocationAndNavigation() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_LocationAndNavigation(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::NextDstChange() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::NextDstChange() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_NextDstChange(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::PhoneAlertStatus() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::PhoneAlertStatus() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_PhoneAlertStatus(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::ReferenceTimeUpdate() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::ReferenceTimeUpdate() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_ReferenceTimeUpdate(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::ScanParameters() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::ScanParameters() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_ScanParameters(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::TxPower() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceUuidsStatics2<D>::TxPower() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2)->get_TxPower(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::CanMaintainConnection() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::CanMaintainConnection() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession)->get_CanMaintainConnection(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::MaintainConnection(bool value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::MaintainConnection(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession)->put_MaintainConnection(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::MaintainConnection() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::MaintainConnection() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession)->get_MaintainConnection(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::MaxPduSize() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::MaxPduSize() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession)->get_MaxPduSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::SessionStatus() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::SessionStatus() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession)->get_SessionStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::MaxPduSizeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::MaxPduSizeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::MaxPduSizeChanged_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::MaxPduSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::MaxPduSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, MaxPduSizeChanged_revoker>(this, MaxPduSizeChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::MaxPduSizeChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::MaxPduSizeChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession)->remove_MaxPduSizeChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::SessionStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::SessionStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatusChangedEventArgs> 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 D> typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::SessionStatusChanged_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::SessionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::SessionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatusChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SessionStatusChanged_revoker>(this, SessionStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::SessionStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSession<D>::SessionStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession)->remove_SessionStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatics<D>::FromDeviceIdAsync(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatics<D>::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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatusChangedEventArgs<D>::Error() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatusChangedEventArgs<D>::Error() const
{
winrt::Windows::Devices::Bluetooth::BluetoothError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSessionStatusChangedEventArgs)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatusChangedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatusChangedEventArgs<D>::Status() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSessionStatusChangedEventArgs)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient<D>::Session() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient<D>::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 <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient<D>::MaxNotificationSize() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient<D>::MaxNotificationSize() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSubscribedClient)->get_MaxNotificationSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient<D>::MaxNotificationSizeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient<D>::MaxNotificationSizeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient<D>::MaxNotificationSizeChanged_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient<D>::MaxNotificationSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient<D>::MaxNotificationSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, MaxNotificationSizeChanged_revoker>(this, MaxNotificationSizeChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient<D>::MaxNotificationSizeChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSubscribedClient<D>::MaxNotificationSizeChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSubscribedClient)->remove_MaxNotificationSizeChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattValueChangedEventArgs<D>::CharacteristicValue() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattValueChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattValueChangedEventArgs<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattValueChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::Value() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::Offset() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::Offset() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest)->get_Offset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::Option() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::Option() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest)->get_Option(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestState) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::State() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::State() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequest, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequest, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestStateChangedEventArgs> 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 D> typename consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::StateChanged_revoker consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequest, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequest, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StateChanged_revoker>(this, StateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::StateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::StateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest)->remove_StateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::Respond() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::Respond() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest)->Respond());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::RespondWithProtocolError(uint8_t protocolError) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequest<D>::RespondWithProtocolError(uint8_t protocolError) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest)->RespondWithProtocolError(protocolError));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequestedEventArgs<D>::Session() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequest>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequestedEventArgs<D>::GetRequestAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteRequestedEventArgs<D>::GetRequestAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequestedEventArgs)->GetRequestAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequest>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteResult<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteResult<D>::Status() const
{
winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint8_t>) consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteResult<D>::ProtocolError() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattWriteResult<D>::ProtocolError() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteResult)->get_ProtocolError(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Rfcomm.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Rfcomm.h
index 41016076e12..847c88238c9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.Rfcomm.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService<D>::ConnectionHostName() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService<D>::ConnectionServiceName() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService<D>::ServiceId() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketProtectionLevel) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService<D>::ProtectionLevel() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService<D>::ProtectionLevel() const
{
winrt::Windows::Networking::Sockets::SocketProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService)->get_ProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketProtectionLevel) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService<D>::MaxProtectionLevel() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService<D>::MaxProtectionLevel() const
{
winrt::Windows::Networking::Sockets::SocketProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService)->get_MaxProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<uint32_t, winrt::Windows::Storage::Streams::IBuffer>>) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService<D>::GetSdpRawAttributesAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService<D>::GetSdpRawAttributesAsync() const
{
void* asyncOp{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService)->GetSdpRawAttributesAsync(&asyncOp));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<uint32_t, winrt::Windows::Storage::Streams::IBuffer>>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<uint32_t, winrt::Windows::Storage::Streams::IBuffer>>) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService<D>::GetSdpRawAttributesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService<D>::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<int32_t>(cacheMode), &asyncOp));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<uint32_t, winrt::Windows::Storage::Streams::IBuffer>>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDevice) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService2<D>::Device() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService3<D>::DeviceAccessInformation() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceAccessStatus>) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService3<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceService3<D>::RequestAccessAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService3)->RequestAccessAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceAccessStatus>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceService>) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics<D>::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<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceService>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics<D>::GetDeviceSelector(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2<D>::GetDeviceSelectorForBluetoothDevice(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2<D>::GetDeviceSelectorForBluetoothDevice(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2<D>::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<int32_t>(cacheMode), &selector));
return hstring{ selector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2<D>::GetDeviceSelectorForBluetoothDeviceAndServiceId(winrt::Windows::Devices::Bluetooth::BluetoothDevice const& bluetoothDevice, winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2<D>::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 <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics2<D>::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<int32_t>(cacheMode), &selector));
return hstring{ selector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothError) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServicesResult<D>::Error() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServicesResult<D>::Error() const
{
winrt::Windows::Devices::Bluetooth::BluetoothError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServicesResult)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceService>) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServicesResult<D>::Services() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServicesResult<D>::Services() const
{
void* services{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServicesResult)->get_Services(&services));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceService>{ services, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceId<D>::Uuid() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceId<D>::Uuid() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId)->get_Uuid(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceId<D>::AsShortId() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceId<D>::AsShortId() const
{
uint32_t shortId{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId)->AsShortId(&shortId));
return shortId;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceId<D>::AsString() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceId<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics<D>::FromUuid(winrt::guid const& uuid) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics<D>::FromShortId(uint32_t shortId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics<D>::SerialPort() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics<D>::ObexObjectPush() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics<D>::ObexFileTransfer() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics<D>::PhoneBookAccessPce() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics<D>::PhoneBookAccessPse() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics<D>::GenericFileTransfer() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceIdStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider<D>::ServiceId() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<uint32_t, winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider<D>::SdpRawAttributes() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider<D>::SdpRawAttributes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider)->get_SdpRawAttributes(&value));
return winrt::Windows::Foundation::Collections::IMap<uint32_t, winrt::Windows::Storage::Streams::IBuffer>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider<D>::StartAdvertising(winrt::Windows::Networking::Sockets::StreamSocketListener const& listener) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider<D>::StartAdvertising(winrt::Windows::Networking::Sockets::StreamSocketListener const& listener) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider)->StartAdvertising(*(void**)(&listener)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider<D>::StopAdvertising() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider<D>::StopAdvertising() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider)->StopAdvertising());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider2<D>::StartAdvertising(winrt::Windows::Networking::Sockets::StreamSocketListener const& listener, bool radioDiscoverable) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProvider2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceProvider>) consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProviderStatics<D>::CreateAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProviderStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.h
index 79f8ddf91e5..40ca174fcc6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothAdapter<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Devices_Bluetooth_IBluetoothAdapter<D>::BluetoothAddress() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter<D>::BluetoothAddress() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter)->get_BluetoothAddress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothAdapter<D>::IsClassicSupported() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter<D>::IsClassicSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter)->get_IsClassicSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothAdapter<D>::IsLowEnergySupported() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter<D>::IsLowEnergySupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter)->get_IsLowEnergySupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothAdapter<D>::IsPeripheralRoleSupported() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter<D>::IsPeripheralRoleSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter)->get_IsPeripheralRoleSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothAdapter<D>::IsCentralRoleSupported() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter<D>::IsCentralRoleSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter)->get_IsCentralRoleSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothAdapter<D>::IsAdvertisementOffloadSupported() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter<D>::IsAdvertisementOffloadSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter)->get_IsAdvertisementOffloadSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Radios::Radio>) consume_Windows_Devices_Bluetooth_IBluetoothAdapter<D>::GetRadioAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter<D>::GetRadioAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter)->GetRadioAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Radios::Radio>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothAdapter2<D>::AreClassicSecureConnectionsSupported() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter2<D>::AreClassicSecureConnectionsSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter2)->get_AreClassicSecureConnectionsSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothAdapter2<D>::AreLowEnergySecureConnectionsSupported() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter2<D>::AreLowEnergySecureConnectionsSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter2)->get_AreLowEnergySecureConnectionsSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothAdapter3<D>::IsExtendedAdvertisingSupported() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter3<D>::IsExtendedAdvertisingSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter3)->get_IsExtendedAdvertisingSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Bluetooth_IBluetoothAdapter3<D>::MaxAdvertisementDataLength() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothAdapter3<D>::MaxAdvertisementDataLength() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapter3)->get_MaxAdvertisementDataLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothAdapterStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothAdapterStatics<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapterStatics)->GetDeviceSelector(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::BluetoothAdapter>) consume_Windows_Devices_Bluetooth_IBluetoothAdapterStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothAdapterStatics<D>::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<winrt::Windows::Devices::Bluetooth::BluetoothAdapter>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::BluetoothAdapter>) consume_Windows_Devices_Bluetooth_IBluetoothAdapterStatics<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothAdapterStatics<D>::GetDefaultAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothAdapterStatics)->GetDefaultAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::BluetoothAdapter>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice<D>::RawValue() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice<D>::RawValue() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothClassOfDevice)->get_RawValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothMajorClass) consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice<D>::MajorClass() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice<D>::MajorClass() const
{
winrt::Windows::Devices::Bluetooth::BluetoothMajorClass value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothClassOfDevice)->get_MajorClass(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothMinorClass) consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice<D>::MinorClass() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice<D>::MinorClass() const
{
winrt::Windows::Devices::Bluetooth::BluetoothMinorClass value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothClassOfDevice)->get_MinorClass(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities) consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice<D>::ServiceCapabilities() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothClassOfDevice<D>::ServiceCapabilities() const
{
winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothClassOfDevice)->get_ServiceCapabilities(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice) consume_Windows_Devices_Bluetooth_IBluetoothClassOfDeviceStatics<D>::FromRawValue(uint32_t rawValue) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothClassOfDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice) consume_Windows_Devices_Bluetooth_IBluetoothClassOfDeviceStatics<D>::FromParts(winrt::Windows::Devices::Bluetooth::BluetoothMajorClass const& majorClass, winrt::Windows::Devices::Bluetooth::BluetoothMinorClass const& minorClass, winrt::Windows::Devices::Bluetooth::BluetoothServiceCapabilities const& serviceCapabilities) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothClassOfDeviceStatics<D>::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<int32_t>(majorClass), static_cast<int32_t>(minorClass), static_cast<uint32_t>(serviceCapabilities), &classOfDevice));
return winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice{ classOfDevice, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::HostName() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::Name() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice) consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::ClassOfDevice() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::SdpRecords() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::SdpRecords() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->get_SdpRecords(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::Streams::IBuffer>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceService>) consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::RfcommServices() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::RfcommServices() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->get_RfcommServices(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceService>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus) consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::ConnectionStatus() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::ConnectionStatus() const
{
winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->get_ConnectionStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::BluetoothAddress() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::BluetoothAddress() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->get_BluetoothAddress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::NameChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::NameChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::NameChanged_revoker consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, NameChanged_revoker>(this, NameChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::NameChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::NameChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->remove_NameChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::SdpRecordsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::SdpRecordsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::SdpRecordsChanged_revoker consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::SdpRecordsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::SdpRecordsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SdpRecordsChanged_revoker>(this, SdpRecordsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::SdpRecordsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::SdpRecordsChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->remove_SdpRecordsChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::ConnectionStatusChanged_revoker consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ConnectionStatusChanged_revoker>(this, ConnectionStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::ConnectionStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice<D>::ConnectionStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice)->remove_ConnectionStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_Bluetooth_IBluetoothDevice2<D>::DeviceInformation() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) consume_Windows_Devices_Bluetooth_IBluetoothDevice3<D>::DeviceAccessInformation() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceAccessStatus>) consume_Windows_Devices_Bluetooth_IBluetoothDevice3<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice3<D>::RequestAccessAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice3)->RequestAccessAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceAccessStatus>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceServicesResult>) consume_Windows_Devices_Bluetooth_IBluetoothDevice3<D>::GetRfcommServicesAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice3<D>::GetRfcommServicesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice3)->GetRfcommServicesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceServicesResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceServicesResult>) consume_Windows_Devices_Bluetooth_IBluetoothDevice3<D>::GetRfcommServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice3<D>::GetRfcommServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice3)->GetRfcommServicesWithCacheModeAsync(static_cast<int32_t>(cacheMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceServicesResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceServicesResult>) consume_Windows_Devices_Bluetooth_IBluetoothDevice3<D>::GetRfcommServicesForIdAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice3<D>::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<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceServicesResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceServicesResult>) consume_Windows_Devices_Bluetooth_IBluetoothDevice3<D>::GetRfcommServicesForIdAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice3<D>::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<int32_t>(cacheMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceServicesResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId) consume_Windows_Devices_Bluetooth_IBluetoothDevice4<D>::BluetoothDeviceId() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice4<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothDevice5<D>::WasSecureConnectionUsedForPairing() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDevice5<D>::WasSecureConnectionUsedForPairing() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDevice5)->get_WasSecureConnectionUsedForPairing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDeviceId<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceId<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothDeviceId<D>::IsClassicDevice() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceId<D>::IsClassicDevice() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDeviceId)->get_IsClassicDevice(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothDeviceId<D>::IsLowEnergyDevice() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceId<D>::IsLowEnergyDevice() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDeviceId)->get_IsLowEnergyDevice(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId) consume_Windows_Devices_Bluetooth_IBluetoothDeviceIdStatics<D>::FromId(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceIdStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::BluetoothDevice>) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics<D>::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<winrt::Windows::Devices::Bluetooth::BluetoothDevice>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::BluetoothDevice>) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics<D>::FromHostNameAsync(winrt::Windows::Networking::HostName const& hostName) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics<D>::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<winrt::Windows::Devices::Bluetooth::BluetoothDevice>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::BluetoothDevice>) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics<D>::FromBluetoothAddressAsync(uint64_t address) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics<D>::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<winrt::Windows::Devices::Bluetooth::BluetoothDevice>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics<D>::GetDeviceSelector() const
{
void* deviceSelector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDeviceStatics)->GetDeviceSelector(&deviceSelector));
return hstring{ deviceSelector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2<D>::GetDeviceSelectorFromPairingState(bool pairingState) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2<D>::GetDeviceSelectorFromConnectionStatus(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus const& connectionStatus) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2<D>::GetDeviceSelectorFromConnectionStatus(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus const& connectionStatus) const
{
void* deviceSelector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothDeviceStatics2)->GetDeviceSelectorFromConnectionStatus(static_cast<int32_t>(connectionStatus), &deviceSelector));
return hstring{ deviceSelector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2<D>::GetDeviceSelectorFromDeviceName(param::hstring const& deviceName) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2<D>::GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2<D>::GetDeviceSelectorFromClassOfDevice(winrt::Windows::Devices::Bluetooth::BluetoothClassOfDevice const& classOfDevice) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearance<D>::RawValue() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearance<D>::RawValue() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearance)->get_RawValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearance<D>::Category() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearance<D>::Category() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearance)->get_Category(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearance<D>::SubCategory() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearance<D>::SubCategory() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearance)->get_SubCategory(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Uncategorized() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Uncategorized() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Uncategorized(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Phone() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Phone() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Phone(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Computer() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Computer() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Computer(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Watch() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Watch() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Watch(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Clock() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Clock() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Clock(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Display() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Display() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Display(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::RemoteControl() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::RemoteControl() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_RemoteControl(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::EyeGlasses() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::EyeGlasses() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_EyeGlasses(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Tag() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Tag() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Tag(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Keyring() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Keyring() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Keyring(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::MediaPlayer() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::MediaPlayer() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_MediaPlayer(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::BarcodeScanner() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::BarcodeScanner() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_BarcodeScanner(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Thermometer() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Thermometer() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Thermometer(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::HeartRate() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::HeartRate() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_HeartRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::BloodPressure() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::BloodPressure() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_BloodPressure(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::HumanInterfaceDevice() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::HumanInterfaceDevice() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_HumanInterfaceDevice(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::GlucoseMeter() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::GlucoseMeter() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_GlucoseMeter(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::RunningWalking() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::RunningWalking() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_RunningWalking(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Cycling() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::Cycling() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_Cycling(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::PulseOximeter() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::PulseOximeter() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_PulseOximeter(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::WeightScale() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::WeightScale() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_WeightScale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::OutdoorSportActivity() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceCategoriesStatics<D>::OutdoorSportActivity() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics)->get_OutdoorSportActivity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceStatics<D>::FromRawValue(uint16_t rawValue) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceStatics<D>::FromParts(uint16_t appearanceCategory, uint16_t appearanceSubCategory) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::Generic() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::Generic() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_Generic(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::SportsWatch() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::SportsWatch() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_SportsWatch(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::ThermometerEar() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::ThermometerEar() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_ThermometerEar(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::HeartRateBelt() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::HeartRateBelt() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_HeartRateBelt(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::BloodPressureArm() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::BloodPressureArm() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_BloodPressureArm(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::BloodPressureWrist() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::BloodPressureWrist() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_BloodPressureWrist(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::Keyboard() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::Keyboard() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_Keyboard(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::Mouse() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::Mouse() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_Mouse(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::Joystick() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::Joystick() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_Joystick(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::Gamepad() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::Gamepad() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_Gamepad(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::DigitizerTablet() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::DigitizerTablet() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_DigitizerTablet(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::CardReader() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::CardReader() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_CardReader(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::DigitalPen() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::DigitalPen() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_DigitalPen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::BarcodeScanner() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::BarcodeScanner() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_BarcodeScanner(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::RunningWalkingInShoe() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::RunningWalkingInShoe() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_RunningWalkingInShoe(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::RunningWalkingOnShoe() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::RunningWalkingOnShoe() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_RunningWalkingOnShoe(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::RunningWalkingOnHip() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::RunningWalkingOnHip() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_RunningWalkingOnHip(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::CyclingComputer() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::CyclingComputer() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_CyclingComputer(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::CyclingSpeedSensor() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::CyclingSpeedSensor() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_CyclingSpeedSensor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::CyclingCadenceSensor() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::CyclingCadenceSensor() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_CyclingCadenceSensor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::CyclingPowerSensor() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::CyclingPowerSensor() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_CyclingPowerSensor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::CyclingSpeedCadenceSensor() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::CyclingSpeedCadenceSensor() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_CyclingSpeedCadenceSensor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::OximeterFingertip() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::OximeterFingertip() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_OximeterFingertip(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::OximeterWristWorn() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::OximeterWristWorn() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_OximeterWristWorn(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::LocationDisplay() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::LocationDisplay() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_LocationDisplay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::LocationNavigationDisplay() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::LocationNavigationDisplay() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_LocationNavigationDisplay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::LocationPod() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::LocationPod() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_LocationPod(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::LocationNavigationPod() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEAppearanceSubcategoriesStatics<D>::LocationNavigationPod() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics)->get_LocationNavigationPod(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::Name() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::GattServices() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::GattServices() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->get_GattServices(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::ConnectionStatus() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::ConnectionStatus() const
{
winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->get_ConnectionStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::BluetoothAddress() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::BluetoothAddress() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->get_BluetoothAddress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::GetGattService(winrt::guid const& serviceUuid) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::NameChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::NameChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::NameChanged_revoker consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, NameChanged_revoker>(this, NameChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::NameChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::NameChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->remove_NameChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::GattServicesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::GattServicesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::GattServicesChanged_revoker consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::GattServicesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::GattServicesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, GattServicesChanged_revoker>(this, GattServicesChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::GattServicesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::GattServicesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->remove_GattServicesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::ConnectionStatusChanged_revoker consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ConnectionStatusChanged_revoker>(this, ConnectionStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::ConnectionStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice<D>::ConnectionStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice)->remove_ConnectionStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice2<D>::DeviceInformation() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice2<D>::Appearance() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothAddressType) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice2<D>::BluetoothAddressType() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice2<D>::BluetoothAddressType() const
{
winrt::Windows::Devices::Bluetooth::BluetoothAddressType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice2)->get_BluetoothAddressType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3<D>::DeviceAccessInformation() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceAccessStatus>) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3<D>::RequestAccessAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice3)->RequestAccessAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceAccessStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3<D>::GetGattServicesAsync() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3<D>::GetGattServicesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice3)->GetGattServicesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3<D>::GetGattServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3<D>::GetGattServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice3)->GetGattServicesWithCacheModeAsync(static_cast<int32_t>(cacheMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3<D>::GetGattServicesForUuidAsync(winrt::guid const& serviceUuid) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3<D>::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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3<D>::GetGattServicesForUuidAsync(winrt::guid const& serviceUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3<D>::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<int32_t>(cacheMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice4<D>::BluetoothDeviceId() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice4<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Bluetooth_IBluetoothLEDevice5<D>::WasSecureConnectionUsedForPairing() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDevice5<D>::WasSecureConnectionUsedForPairing() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice5)->get_WasSecureConnectionUsedForPairing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice>) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics<D>::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<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice>) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics<D>::FromBluetoothAddressAsync(uint64_t bluetoothAddress) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics<D>::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<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics<D>::GetDeviceSelector() const
{
void* deviceSelector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDeviceStatics)->GetDeviceSelector(&deviceSelector));
return hstring{ deviceSelector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2<D>::GetDeviceSelectorFromPairingState(bool pairingState) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2<D>::GetDeviceSelectorFromConnectionStatus(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus const& connectionStatus) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2<D>::GetDeviceSelectorFromConnectionStatus(winrt::Windows::Devices::Bluetooth::BluetoothConnectionStatus const& connectionStatus) const
{
void* deviceSelector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothLEDeviceStatics2)->GetDeviceSelectorFromConnectionStatus(static_cast<int32_t>(connectionStatus), &deviceSelector));
return hstring{ deviceSelector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2<D>::GetDeviceSelectorFromDeviceName(param::hstring const& deviceName) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2<D>::GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2<D>::GetDeviceSelectorFromBluetoothAddress(uint64_t bluetoothAddress, winrt::Windows::Devices::Bluetooth::BluetoothAddressType const& bluetoothAddressType) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2<D>::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<int32_t>(bluetoothAddressType), &deviceSelector));
return hstring{ deviceSelector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2<D>::GetDeviceSelectorFromAppearance(winrt::Windows::Devices::Bluetooth::BluetoothLEAppearance const& appearance) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice>) consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2<D>::FromBluetoothAddressAsync(uint64_t bluetoothAddress, winrt::Windows::Devices::Bluetooth::BluetoothAddressType const& bluetoothAddressType) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics2<D>::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<int32_t>(bluetoothAddressType), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int16_t>) consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter<D>::InRangeThresholdInDBm() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter<D>::InRangeThresholdInDBm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter)->get_InRangeThresholdInDBm(&value));
return winrt::Windows::Foundation::IReference<int16_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter<D>::InRangeThresholdInDBm(winrt::Windows::Foundation::IReference<int16_t> const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter<D>::InRangeThresholdInDBm(winrt::Windows::Foundation::IReference<int16_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter)->put_InRangeThresholdInDBm(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int16_t>) consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter<D>::OutOfRangeThresholdInDBm() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter<D>::OutOfRangeThresholdInDBm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter)->get_OutOfRangeThresholdInDBm(&value));
return winrt::Windows::Foundation::IReference<int16_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter<D>::OutOfRangeThresholdInDBm(winrt::Windows::Foundation::IReference<int16_t> const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter<D>::OutOfRangeThresholdInDBm(winrt::Windows::Foundation::IReference<int16_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter)->put_OutOfRangeThresholdInDBm(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter<D>::OutOfRangeTimeout() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter<D>::OutOfRangeTimeout() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter)->get_OutOfRangeTimeout(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter<D>::OutOfRangeTimeout(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter<D>::OutOfRangeTimeout(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter)->put_OutOfRangeTimeout(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter<D>::SamplingInterval() const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter<D>::SamplingInterval() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter)->get_SamplingInterval(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter<D>::SamplingInterval(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter<D>::SamplingInterval(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter)->put_SamplingInterval(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Bluetooth_IBluetoothUuidHelperStatics<D>::FromShortId(uint32_t shortId) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothUuidHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Devices_Bluetooth_IBluetoothUuidHelperStatics<D>::TryGetShortId(winrt::guid const& uuid) const
+ template <typename D> auto consume_Windows_Devices_Bluetooth_IBluetoothUuidHelperStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Custom.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Custom.h
index 9251db7b101..20e3979d51e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Custom.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Devices_Custom_ICustomDevice<D>::InputStream() const
+ template <typename D> auto consume_Windows_Devices_Custom_ICustomDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Devices_Custom_ICustomDevice<D>::OutputStream() const
+ template <typename D> auto consume_Windows_Devices_Custom_ICustomDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) consume_Windows_Devices_Custom_ICustomDevice<D>::SendIOControlAsync(winrt::Windows::Devices::Custom::IIOControlCode const& ioControlCode, winrt::Windows::Storage::Streams::IBuffer const& inputBuffer, winrt::Windows::Storage::Streams::IBuffer const& outputBuffer) const
+ template <typename D> auto consume_Windows_Devices_Custom_ICustomDevice<D>::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<uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_Custom_ICustomDevice<D>::TrySendIOControlAsync(winrt::Windows::Devices::Custom::IIOControlCode const& ioControlCode, winrt::Windows::Storage::Streams::IBuffer const& inputBuffer, winrt::Windows::Storage::Streams::IBuffer const& outputBuffer) const
+ template <typename D> auto consume_Windows_Devices_Custom_ICustomDevice<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Custom_ICustomDeviceStatics<D>::GetDeviceSelector(winrt::guid const& classGuid) const
+ template <typename D> auto consume_Windows_Devices_Custom_ICustomDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Custom::CustomDevice>) consume_Windows_Devices_Custom_ICustomDeviceStatics<D>::FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::Custom::DeviceAccessMode const& desiredAccess, winrt::Windows::Devices::Custom::DeviceSharingMode const& sharingMode) const
+ template <typename D> auto consume_Windows_Devices_Custom_ICustomDeviceStatics<D>::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<int32_t>(desiredAccess), static_cast<int32_t>(sharingMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Custom::CustomDevice>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Custom::IOControlAccessMode) consume_Windows_Devices_Custom_IIOControlCode<D>::AccessMode() const
+ template <typename D> auto consume_Windows_Devices_Custom_IIOControlCode<D>::AccessMode() const
{
winrt::Windows::Devices::Custom::IOControlAccessMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::IIOControlCode)->get_AccessMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Custom::IOControlBufferingMethod) consume_Windows_Devices_Custom_IIOControlCode<D>::BufferingMethod() const
+ template <typename D> auto consume_Windows_Devices_Custom_IIOControlCode<D>::BufferingMethod() const
{
winrt::Windows::Devices::Custom::IOControlBufferingMethod value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::IIOControlCode)->get_BufferingMethod(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Custom_IIOControlCode<D>::Function() const
+ template <typename D> auto consume_Windows_Devices_Custom_IIOControlCode<D>::Function() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::IIOControlCode)->get_Function(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Custom_IIOControlCode<D>::DeviceType() const
+ template <typename D> auto consume_Windows_Devices_Custom_IIOControlCode<D>::DeviceType() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::IIOControlCode)->get_DeviceType(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Custom_IIOControlCode<D>::ControlCode() const
+ template <typename D> auto consume_Windows_Devices_Custom_IIOControlCode<D>::ControlCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::IIOControlCode)->get_ControlCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Custom::IOControlCode) consume_Windows_Devices_Custom_IIOControlCodeFactory<D>::CreateIOControlCode(uint16_t deviceType, uint16_t function, winrt::Windows::Devices::Custom::IOControlAccessMode const& accessMode, winrt::Windows::Devices::Custom::IOControlBufferingMethod const& bufferingMethod) const
+ template <typename D> auto consume_Windows_Devices_Custom_IIOControlCodeFactory<D>::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<int32_t>(accessMode), static_cast<int32_t>(bufferingMethod), &instance));
return winrt::Windows::Devices::Custom::IOControlCode{ instance, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Custom_IKnownDeviceTypesStatics<D>::Unknown() const
+ template <typename D> auto consume_Windows_Devices_Custom_IKnownDeviceTypesStatics<D>::Unknown() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Custom::IKnownDeviceTypesStatics)->get_Unknown(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Display.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Display.Core.h
index a72c2ef767a..d2336cea028 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Display.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DisplayAdapterId) consume_Windows_Devices_Display_Core_IDisplayAdapter<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayAdapter<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Display_Core_IDisplayAdapter<D>::DeviceInterfacePath() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayAdapter<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplayAdapter<D>::SourceCount() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayAdapter<D>::SourceCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayAdapter)->get_SourceCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplayAdapter<D>::PciVendorId() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayAdapter<D>::PciVendorId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayAdapter)->get_PciVendorId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplayAdapter<D>::PciDeviceId() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayAdapter<D>::PciDeviceId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayAdapter)->get_PciDeviceId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplayAdapter<D>::PciSubSystemId() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayAdapter<D>::PciSubSystemId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayAdapter)->get_PciSubSystemId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplayAdapter<D>::PciRevision() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayAdapter<D>::PciRevision() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayAdapter)->get_PciRevision(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Display_Core_IDisplayAdapter<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayAdapter<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayAdapter)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayAdapter) consume_Windows_Devices_Display_Core_IDisplayAdapterStatics<D>::FromId(winrt::Windows::Graphics::DisplayAdapterId const& id) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayAdapterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplaySource) consume_Windows_Devices_Display_Core_IDisplayDevice<D>::CreateScanoutSource(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplaySurface) consume_Windows_Devices_Display_Core_IDisplayDevice<D>::CreatePrimary(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription const& desc) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayTaskPool) consume_Windows_Devices_Display_Core_IDisplayDevice<D>::CreateTaskPool() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayFence) consume_Windows_Devices_Display_Core_IDisplayDevice<D>::CreatePeriodicFence(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Foundation::TimeSpan const& offsetFromVBlank) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayDevice<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayDevice<D>::WaitForVBlank(winrt::Windows::Devices::Display::Core::DisplaySource const& source) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayScanout) consume_Windows_Devices_Display_Core_IDisplayDevice<D>::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 <typename D> auto consume_Windows_Devices_Display_Core_IDisplayDevice<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayDevice<D>::IsCapabilitySupported(winrt::Windows::Devices::Display::Core::DisplayDeviceCapability const& capability) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayDevice<D>::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<int32_t>(capability), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Display::Core::DisplayTarget>) consume_Windows_Devices_Display_Core_IDisplayManager<D>::GetCurrentTargets() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::GetCurrentTargets() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->GetCurrentTargets(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Display::Core::DisplayTarget>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Display::Core::DisplayAdapter>) consume_Windows_Devices_Display_Core_IDisplayManager<D>::GetCurrentAdapters() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::GetCurrentAdapters() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->GetCurrentAdapters(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Display::Core::DisplayAdapter>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResult) consume_Windows_Devices_Display_Core_IDisplayManager<D>::TryAcquireTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManager<D>::ReleaseTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) consume_Windows_Devices_Display_Core_IDisplayManager<D>::TryReadCurrentStateForAllTargets() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) consume_Windows_Devices_Display_Core_IDisplayManager<D>::TryAcquireTargetsAndReadCurrentState(param::iterable<winrt::Windows::Devices::Display::Core::DisplayTarget> const& targets) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::TryAcquireTargetsAndReadCurrentState(param::iterable<winrt::Windows::Devices::Display::Core::DisplayTarget> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) consume_Windows_Devices_Display_Core_IDisplayManager<D>::TryAcquireTargetsAndCreateEmptyState(param::iterable<winrt::Windows::Devices::Display::Core::DisplayTarget> const& targets) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::TryAcquireTargetsAndCreateEmptyState(param::iterable<winrt::Windows::Devices::Display::Core::DisplayTarget> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) consume_Windows_Devices_Display_Core_IDisplayManager<D>::TryAcquireTargetsAndCreateSubstate(winrt::Windows::Devices::Display::Core::DisplayState const& existingState, param::iterable<winrt::Windows::Devices::Display::Core::DisplayTarget> const& targets) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::TryAcquireTargetsAndCreateSubstate(winrt::Windows::Devices::Display::Core::DisplayState const& existingState, param::iterable<winrt::Windows::Devices::Display::Core::DisplayTarget> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayDevice) consume_Windows_Devices_Display_Core_IDisplayManager<D>::CreateDisplayDevice(winrt::Windows::Devices::Display::Core::DisplayAdapter const& adapter) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Display_Core_IDisplayManager<D>::Enabled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerEnabledEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::Enabled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerEnabledEventArgs> 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 D> typename consume_Windows_Devices_Display_Core_IDisplayManager<D>::Enabled_revoker consume_Windows_Devices_Display_Core_IDisplayManager<D>::Enabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerEnabledEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::Enabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerEnabledEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Enabled_revoker>(this, Enabled(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManager<D>::Enabled(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::Enabled(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->remove_Enabled(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Display_Core_IDisplayManager<D>::Disabled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerDisabledEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::Disabled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerDisabledEventArgs> 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 D> typename consume_Windows_Devices_Display_Core_IDisplayManager<D>::Disabled_revoker consume_Windows_Devices_Display_Core_IDisplayManager<D>::Disabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerDisabledEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::Disabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerDisabledEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Disabled_revoker>(this, Disabled(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManager<D>::Disabled(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::Disabled(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->remove_Disabled(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Display_Core_IDisplayManager<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerChangedEventArgs> 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 D> typename consume_Windows_Devices_Display_Core_IDisplayManager<D>::Changed_revoker consume_Windows_Devices_Display_Core_IDisplayManager<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Changed_revoker>(this, Changed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManager<D>::Changed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::Changed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->remove_Changed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Display_Core_IDisplayManager<D>::PathsFailedOrInvalidated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerPathsFailedOrInvalidatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::PathsFailedOrInvalidated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerPathsFailedOrInvalidatedEventArgs> 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 D> typename consume_Windows_Devices_Display_Core_IDisplayManager<D>::PathsFailedOrInvalidated_revoker consume_Windows_Devices_Display_Core_IDisplayManager<D>::PathsFailedOrInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerPathsFailedOrInvalidatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::PathsFailedOrInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerPathsFailedOrInvalidatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PathsFailedOrInvalidated_revoker>(this, PathsFailedOrInvalidated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManager<D>::PathsFailedOrInvalidated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::PathsFailedOrInvalidated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->remove_PathsFailedOrInvalidated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManager<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManager<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManager<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManager)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayManagerChangedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManagerChangedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerChangedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManagerChangedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManagerChangedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerChangedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_Display_Core_IDisplayManagerChangedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManagerChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayManagerDisabledEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManagerDisabledEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerDisabledEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManagerDisabledEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManagerDisabledEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerDisabledEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_Display_Core_IDisplayManagerDisabledEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManagerDisabledEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayManagerEnabledEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManagerEnabledEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerEnabledEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManagerEnabledEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManagerEnabledEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerEnabledEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_Display_Core_IDisplayManagerEnabledEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManagerEnabledEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayManagerPathsFailedOrInvalidatedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManagerPathsFailedOrInvalidatedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerPathsFailedOrInvalidatedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayManagerPathsFailedOrInvalidatedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManagerPathsFailedOrInvalidatedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerPathsFailedOrInvalidatedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_Display_Core_IDisplayManagerPathsFailedOrInvalidatedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManagerPathsFailedOrInvalidatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResult) consume_Windows_Devices_Display_Core_IDisplayManagerResultWithState<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManagerResultWithState<D>::ErrorCode() const
{
winrt::Windows::Devices::Display::Core::DisplayManagerResult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerResultWithState)->get_ErrorCode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Devices_Display_Core_IDisplayManagerResultWithState<D>::ExtendedErrorCode() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManagerResultWithState<D>::ExtendedErrorCode() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayManagerResultWithState)->get_ExtendedErrorCode(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayState) consume_Windows_Devices_Display_Core_IDisplayManagerResultWithState<D>::State() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManagerResultWithState<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManager) consume_Windows_Devices_Display_Core_IDisplayManagerStatics<D>::Create(winrt::Windows::Devices::Display::Core::DisplayManagerOptions const& options) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayManagerStatics<D>::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<uint32_t>(options), &result));
return winrt::Windows::Devices::Display::Core::DisplayManager{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::SourceResolution() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::IsStereo() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::IsStereo() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayModeInfo)->get_IsStereo(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::SourcePixelFormat() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::SourcePixelFormat() const
{
winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayModeInfo)->get_SourcePixelFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::TargetResolution() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPresentationRate) consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::PresentationRate() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::IsInterlaced() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::IsInterlaced() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayModeInfo)->get_IsInterlaced(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayBitsPerChannel) consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::GetWireFormatSupportedBitsPerChannel(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding const& encoding) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::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<int32_t>(encoding), reinterpret_cast<uint32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::IsWireFormatSupported(winrt::Windows::Devices::Display::Core::DisplayWireFormat const& wireFormat) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayModeInfo<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayModeInfo)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayView) consume_Windows_Devices_Display_Core_IDisplayPath<D>::View() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayTarget) consume_Windows_Devices_Display_Core_IDisplayPath<D>::Target() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPathStatus) consume_Windows_Devices_Display_Core_IDisplayPath<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::Status() const
{
winrt::Windows::Devices::Display::Core::DisplayPathStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32>) consume_Windows_Devices_Display_Core_IDisplayPath<D>::SourceResolution() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::SourceResolution() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_SourceResolution(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath<D>::SourceResolution(winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32> const& value) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::SourceResolution(winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->put_SourceResolution(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Devices_Display_Core_IDisplayPath<D>::SourcePixelFormat() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::SourcePixelFormat() const
{
winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_SourcePixelFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath<D>::SourcePixelFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::SourcePixelFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->put_SourcePixelFormat(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayPath<D>::IsStereo() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::IsStereo() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_IsStereo(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath<D>::IsStereo(bool value) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::IsStereo(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->put_IsStereo(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32>) consume_Windows_Devices_Display_Core_IDisplayPath<D>::TargetResolution() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::TargetResolution() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_TargetResolution(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath<D>::TargetResolution(winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32> const& value) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::TargetResolution(winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->put_TargetResolution(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Display::Core::DisplayPresentationRate>) consume_Windows_Devices_Display_Core_IDisplayPath<D>::PresentationRate() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::PresentationRate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_PresentationRate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Display::Core::DisplayPresentationRate>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath<D>::PresentationRate(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Display::Core::DisplayPresentationRate> const& value) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::PresentationRate(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Display::Core::DisplayPresentationRate> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->put_PresentationRate(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) consume_Windows_Devices_Display_Core_IDisplayPath<D>::IsInterlaced() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::IsInterlaced() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_IsInterlaced(&value));
return winrt::Windows::Foundation::IReference<bool>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath<D>::IsInterlaced(winrt::Windows::Foundation::IReference<bool> const& value) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::IsInterlaced(winrt::Windows::Foundation::IReference<bool> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->put_IsInterlaced(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormat) consume_Windows_Devices_Display_Core_IDisplayPath<D>::WireFormat() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath<D>::WireFormat(winrt::Windows::Devices::Display::Core::DisplayWireFormat const& value) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayRotation) consume_Windows_Devices_Display_Core_IDisplayPath<D>::Rotation() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::Rotation() const
{
winrt::Windows::Devices::Display::Core::DisplayRotation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_Rotation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath<D>::Rotation(winrt::Windows::Devices::Display::Core::DisplayRotation const& value) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPathScaling) consume_Windows_Devices_Display_Core_IDisplayPath<D>::Scaling() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::Scaling() const
{
winrt::Windows::Devices::Display::Core::DisplayPathScaling value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_Scaling(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath<D>::Scaling(winrt::Windows::Devices::Display::Core::DisplayPathScaling const& value) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Display::Core::DisplayModeInfo>) consume_Windows_Devices_Display_Core_IDisplayPath<D>::FindModes(winrt::Windows::Devices::Display::Core::DisplayModeQueryOptions const& flags) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::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<uint32_t>(flags), &result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Display::Core::DisplayModeInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayPath<D>::ApplyPropertiesFromMode(winrt::Windows::Devices::Display::Core::DisplayModeInfo const& modeResult) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<winrt::guid, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Display_Core_IDisplayPath<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPath<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPath)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMap<winrt::guid, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription<D>::Width() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription<D>::Width() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription<D>::Height() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription<D>::Height() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription)->get_Height(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription<D>::Format() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription<D>::Format() const
{
winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription)->get_Format(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXColorSpace) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription<D>::ColorSpace() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription<D>::ColorSpace() const
{
winrt::Windows::Graphics::DirectX::DirectXColorSpace value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription)->get_ColorSpace(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription<D>::IsStereo() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription<D>::IsStereo() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription)->get_IsStereo(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DMultisampleDescription) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription<D>::MultisampleDescription() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescription<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionFactory<D>::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 <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionFactory<D>::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<int32_t>(pixelFormat), static_cast<int32_t>(colorSpace), isStereo, impl::bind_in(multisampleDescription), &value));
return winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription) consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionStatics<D>::CreateWithProperties(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<winrt::guid, winrt::Windows::Foundation::IInspectable>> 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 <typename D> auto consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionStatics<D>::CreateWithProperties(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<winrt::guid, winrt::Windows::Foundation::IInspectable>> 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<int32_t>(pixelFormat), static_cast<int32_t>(colorSpace), isStereo, impl::bind_in(multisampleDescription), &result));
return winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DisplayAdapterId) consume_Windows_Devices_Display_Core_IDisplaySource<D>::AdapterId() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplaySource<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplaySource<D>::SourceId() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplaySource<D>::SourceId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplaySource)->get_SourceId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Display_Core_IDisplaySource<D>::GetMetadata(winrt::guid const& Key) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplaySource<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayState<D>::IsReadOnly() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayState<D>::IsReadOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->get_IsReadOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayState<D>::IsStale() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayState<D>::IsStale() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->get_IsStale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Display::Core::DisplayTarget>) consume_Windows_Devices_Display_Core_IDisplayState<D>::Targets() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayState<D>::Targets() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->get_Targets(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Display::Core::DisplayTarget>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Display::Core::DisplayView>) consume_Windows_Devices_Display_Core_IDisplayState<D>::Views() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayState<D>::Views() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->get_Views(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Display::Core::DisplayView>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<winrt::guid, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Display_Core_IDisplayState<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayState<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayState)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMap<winrt::guid, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPath) consume_Windows_Devices_Display_Core_IDisplayState<D>::ConnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayState<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPath) consume_Windows_Devices_Display_Core_IDisplayState<D>::ConnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayView const& view) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayState<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayState<D>::CanConnectTargetToView(winrt::Windows::Devices::Display::Core::DisplayTarget const& target, winrt::Windows::Devices::Display::Core::DisplayView const& view) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayState<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayView) consume_Windows_Devices_Display_Core_IDisplayState<D>::GetViewForTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayState<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPath) consume_Windows_Devices_Display_Core_IDisplayState<D>::GetPathForTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayState<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayState<D>::DisconnectTarget(winrt::Windows::Devices::Display::Core::DisplayTarget const& target) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayState<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayStateOperationResult) consume_Windows_Devices_Display_Core_IDisplayState<D>::TryFunctionalize(winrt::Windows::Devices::Display::Core::DisplayStateFunctionalizeOptions const& options) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayState<D>::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<uint32_t>(options), &result));
return winrt::Windows::Devices::Display::Core::DisplayStateOperationResult{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayStateOperationResult) consume_Windows_Devices_Display_Core_IDisplayState<D>::TryApply(winrt::Windows::Devices::Display::Core::DisplayStateApplyOptions const& options) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayState<D>::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<uint32_t>(options), &result));
return winrt::Windows::Devices::Display::Core::DisplayStateOperationResult{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayState) consume_Windows_Devices_Display_Core_IDisplayState<D>::Clone() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayState<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayStateOperationStatus) consume_Windows_Devices_Display_Core_IDisplayStateOperationResult<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayStateOperationResult<D>::Status() const
{
winrt::Windows::Devices::Display::Core::DisplayStateOperationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayStateOperationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Devices_Display_Core_IDisplayStateOperationResult<D>::ExtendedErrorCode() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayStateOperationResult<D>::ExtendedErrorCode() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayStateOperationResult)->get_ExtendedErrorCode(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayAdapter) consume_Windows_Devices_Display_Core_IDisplayTarget<D>::Adapter() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTarget<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Display_Core_IDisplayTarget<D>::DeviceInterfacePath() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTarget<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_Core_IDisplayTarget<D>::AdapterRelativeId() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTarget<D>::AdapterRelativeId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_AdapterRelativeId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayTarget<D>::IsConnected() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTarget<D>::IsConnected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_IsConnected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayTarget<D>::IsVirtualModeEnabled() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTarget<D>::IsVirtualModeEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_IsVirtualModeEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayTarget<D>::IsVirtualTopologyEnabled() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTarget<D>::IsVirtualTopologyEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_IsVirtualTopologyEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::DisplayMonitorUsageKind) consume_Windows_Devices_Display_Core_IDisplayTarget<D>::UsageKind() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTarget<D>::UsageKind() const
{
winrt::Windows::Devices::Display::DisplayMonitorUsageKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_UsageKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayTargetPersistence) consume_Windows_Devices_Display_Core_IDisplayTarget<D>::MonitorPersistence() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTarget<D>::MonitorPersistence() const
{
winrt::Windows::Devices::Display::Core::DisplayTargetPersistence value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_MonitorPersistence(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Display_Core_IDisplayTarget<D>::StableMonitorId() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTarget<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::DisplayMonitor) consume_Windows_Devices_Display_Core_IDisplayTarget<D>::TryGetMonitor() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTarget<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Display_Core_IDisplayTarget<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTarget<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayTarget<D>::IsStale() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTarget<D>::IsStale() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayTarget)->get_IsStale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayTarget<D>::IsSame(winrt::Windows::Devices::Display::Core::DisplayTarget const& otherTarget) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTarget<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_Core_IDisplayTarget<D>::IsEqual(winrt::Windows::Devices::Display::Core::DisplayTarget const& otherTarget) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTarget<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayTask<D>::SetScanout(winrt::Windows::Devices::Display::Core::DisplayScanout const& scanout) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTask<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayTask<D>::SetWait(winrt::Windows::Devices::Display::Core::DisplayFence const& readyFence, uint64_t readyFenceValue) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTask<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayTask) consume_Windows_Devices_Display_Core_IDisplayTaskPool<D>::CreateTask() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTaskPool<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayTaskPool<D>::ExecuteTask(winrt::Windows::Devices::Display::Core::DisplayTask const& task) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayTaskPool<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Display::Core::DisplayPath>) consume_Windows_Devices_Display_Core_IDisplayView<D>::Paths() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayView<D>::Paths() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayView)->get_Paths(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Display::Core::DisplayPath>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32>) consume_Windows_Devices_Display_Core_IDisplayView<D>::ContentResolution() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayView<D>::ContentResolution() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayView)->get_ContentResolution(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayView<D>::ContentResolution(winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32> const& value) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayView<D>::ContentResolution(winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayView)->put_ContentResolution(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Display_Core_IDisplayView<D>::SetPrimaryPath(winrt::Windows::Devices::Display::Core::DisplayPath const& path) const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<winrt::guid, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Display_Core_IDisplayView<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayView<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayView)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMap<winrt::guid, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding) consume_Windows_Devices_Display_Core_IDisplayWireFormat<D>::PixelEncoding() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayWireFormat<D>::PixelEncoding() const
{
winrt::Windows::Devices::Display::Core::DisplayWireFormatPixelEncoding value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayWireFormat)->get_PixelEncoding(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Display_Core_IDisplayWireFormat<D>::BitsPerChannel() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayWireFormat<D>::BitsPerChannel() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayWireFormat)->get_BitsPerChannel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace) consume_Windows_Devices_Display_Core_IDisplayWireFormat<D>::ColorSpace() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayWireFormat<D>::ColorSpace() const
{
winrt::Windows::Devices::Display::Core::DisplayWireFormatColorSpace value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayWireFormat)->get_ColorSpace(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf) consume_Windows_Devices_Display_Core_IDisplayWireFormat<D>::Eotf() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayWireFormat<D>::Eotf() const
{
winrt::Windows::Devices::Display::Core::DisplayWireFormatEotf value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayWireFormat)->get_Eotf(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata) consume_Windows_Devices_Display_Core_IDisplayWireFormat<D>::HdrMetadata() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayWireFormat<D>::HdrMetadata() const
{
winrt::Windows::Devices::Display::Core::DisplayWireFormatHdrMetadata value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayWireFormat)->get_HdrMetadata(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Display_Core_IDisplayWireFormat<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Display_Core_IDisplayWireFormat<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::Core::IDisplayWireFormat)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormat) consume_Windows_Devices_Display_Core_IDisplayWireFormatFactory<D>::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 <typename D> auto consume_Windows_Devices_Display_Core_IDisplayWireFormatFactory<D>::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<int32_t>(pixelEncoding), bitsPerChannel, static_cast<int32_t>(colorSpace), static_cast<int32_t>(eotf), static_cast<int32_t>(hdrMetadata), &value));
return winrt::Windows::Devices::Display::Core::DisplayWireFormat{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormat) consume_Windows_Devices_Display_Core_IDisplayWireFormatStatics<D>::CreateWithProperties(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<winrt::guid, winrt::Windows::Foundation::IInspectable>> 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 <typename D> auto consume_Windows_Devices_Display_Core_IDisplayWireFormatStatics<D>::CreateWithProperties(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<winrt::guid, winrt::Windows::Foundation::IInspectable>> 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<int32_t>(pixelEncoding), bitsPerChannel, static_cast<int32_t>(colorSpace), static_cast<int32_t>(eotf), static_cast<int32_t>(hdrMetadata), &result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Display.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Display.h
index 57f7aac93e2..eaec6106568 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Display.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Display_IDisplayMonitor<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Display_IDisplayMonitor<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::DisplayMonitorConnectionKind) consume_Windows_Devices_Display_IDisplayMonitor<D>::ConnectionKind() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::ConnectionKind() const
{
winrt::Windows::Devices::Display::DisplayMonitorConnectionKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_ConnectionKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::DisplayMonitorPhysicalConnectorKind) consume_Windows_Devices_Display_IDisplayMonitor<D>::PhysicalConnector() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::PhysicalConnector() const
{
winrt::Windows::Devices::Display::DisplayMonitorPhysicalConnectorKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_PhysicalConnector(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Display_IDisplayMonitor<D>::DisplayAdapterDeviceId() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DisplayAdapterId) consume_Windows_Devices_Display_IDisplayMonitor<D>::DisplayAdapterId() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Display_IDisplayMonitor<D>::DisplayAdapterTargetId() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::DisplayAdapterTargetId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_DisplayAdapterTargetId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::DisplayMonitorUsageKind) consume_Windows_Devices_Display_IDisplayMonitor<D>::UsageKind() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::UsageKind() const
{
winrt::Windows::Devices::Display::DisplayMonitorUsageKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_UsageKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_Devices_Display_IDisplayMonitor<D>::NativeResolutionInRawPixels() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Size>) consume_Windows_Devices_Display_IDisplayMonitor<D>::PhysicalSizeInInches() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::PhysicalSizeInInches() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_PhysicalSizeInInches(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Size>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Display_IDisplayMonitor<D>::RawDpiX() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::RawDpiX() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_RawDpiX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Display_IDisplayMonitor<D>::RawDpiY() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::RawDpiY() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_RawDpiY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Devices_Display_IDisplayMonitor<D>::RedPrimary() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Devices_Display_IDisplayMonitor<D>::GreenPrimary() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Devices_Display_IDisplayMonitor<D>::BluePrimary() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Devices_Display_IDisplayMonitor<D>::WhitePoint() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Display_IDisplayMonitor<D>::MaxLuminanceInNits() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::MaxLuminanceInNits() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_MaxLuminanceInNits(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Display_IDisplayMonitor<D>::MinLuminanceInNits() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::MinLuminanceInNits() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_MinLuminanceInNits(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Display_IDisplayMonitor<D>::MaxAverageFullFrameLuminanceInNits() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::MaxAverageFullFrameLuminanceInNits() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor)->get_MaxAverageFullFrameLuminanceInNits(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Devices_Display_IDisplayMonitor<D>::GetDescriptor(winrt::Windows::Devices::Display::DisplayMonitorDescriptorKind const& descriptorKind) const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor<D>::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<int32_t>(descriptorKind), &result_impl_size, &result));
return com_array<uint8_t>{ result, result_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Display_IDisplayMonitor2<D>::IsDolbyVisionSupportedInHdrMode() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitor2<D>::IsDolbyVisionSupportedInHdrMode() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitor2)->get_IsDolbyVisionSupportedInHdrMode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Display_IDisplayMonitorStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitorStatics<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Display::IDisplayMonitorStatics)->GetDeviceSelector(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Display::DisplayMonitor>) consume_Windows_Devices_Display_IDisplayMonitorStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitorStatics<D>::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<winrt::Windows::Devices::Display::DisplayMonitor>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Display::DisplayMonitor>) consume_Windows_Devices_Display_IDisplayMonitorStatics<D>::FromInterfaceIdAsync(param::hstring const& deviceInterfaceId) const
+ template <typename D> auto consume_Windows_Devices_Display_IDisplayMonitorStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Enumeration.Pnp.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Enumeration.Pnp.h
index e33efc35eaa..a28b02bcd2a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Enumeration.Pnp.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType) consume_Windows_Devices_Enumeration_Pnp_IPnpObject<D>::Type() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObject<D>::Type() const
{
winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObject)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_Pnp_IPnpObject<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObject<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Enumeration_Pnp_IPnpObject<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObject<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObject)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_Pnp_IPnpObject<D>::Update(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate const& updateInfo) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObject<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::Pnp::PnpObject>) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics<D>::CreateFromIdAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::hstring const& id, param::async_iterable<hstring> const& requestedProperties) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics<D>::CreateFromIdAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::hstring const& id, param::async_iterable<hstring> const& requestedProperties) const
{
void* asyncOp{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectStatics)->CreateFromIdAsync(static_cast<int32_t>(type), *(void**)(&id), *(void**)(&requestedProperties), &asyncOp));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::Pnp::PnpObject>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectCollection>) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics<D>::FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable<hstring> const& requestedProperties) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics<D>::FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable<hstring> const& requestedProperties) const
{
void* asyncOp{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectStatics)->FindAllAsync(static_cast<int32_t>(type), *(void**)(&requestedProperties), &asyncOp));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectCollection>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectCollection>) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics<D>::FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable<hstring> const& requestedProperties, param::hstring const& aqsFilter) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics<D>::FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable<hstring> const& requestedProperties, param::hstring const& aqsFilter) const
{
void* asyncOp{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectStatics)->FindAllAsyncAqsFilter(static_cast<int32_t>(type), *(void**)(&requestedProperties), *(void**)(&aqsFilter), &asyncOp));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectCollection>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics<D>::CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable<hstring> const& requestedProperties) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics<D>::CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable<hstring> const& requestedProperties) const
{
void* watcher{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectStatics)->CreateWatcher(static_cast<int32_t>(type), *(void**)(&requestedProperties), &watcher));
return winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher{ watcher, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics<D>::CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable<hstring> const& requestedProperties, param::hstring const& aqsFilter) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics<D>::CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable<hstring> const& requestedProperties, param::hstring const& aqsFilter) const
{
void* watcher{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectStatics)->CreateWatcherAqsFilter(static_cast<int32_t>(type), *(void**)(&requestedProperties), *(void**)(&aqsFilter), &watcher));
return winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher{ watcher, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectUpdate<D>::Type() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectUpdate<D>::Type() const
{
winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectUpdate)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectUpdate<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectUpdate<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectUpdate<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectUpdate<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectUpdate)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObject> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObject> 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 D> typename consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Added_revoker consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObject> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObject> const& handler) const
{
return impl::make_event_revoker<D, Added_revoker>(this, Added(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Added(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Added(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->remove_Added(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate> 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 D> typename consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Updated_revoker consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate> const& handler) const
{
return impl::make_event_revoker<D, Updated_revoker>(this, Updated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Updated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Updated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->remove_Updated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate> 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 D> typename consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Removed_revoker consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate> const& handler) const
{
return impl::make_event_revoker<D, Removed_revoker>(this, Removed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Removed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Removed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->remove_Removed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::EnumerationCompleted_revoker consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EnumerationCompleted_revoker>(this, EnumerationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->remove_EnumerationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Stopped_revoker consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Stopped_revoker>(this, Stopped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->remove_Stopped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherStatus) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Status() const
{
winrt::Windows::Devices::Enumeration::DeviceWatcherStatus status{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->get_Status(reinterpret_cast<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher)->Stop());
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Enumeration.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Enumeration.h
index d3bcd21b381..eda7d6b9d1e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Enumeration.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessStatus) consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs<D>::Status() const
{
winrt::Windows::Devices::Enumeration::DeviceAccessStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceAccessChangedEventArgs)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs2<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDeviceAccessInformation<D>::AccessChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceAccessInformation, winrt::Windows::Devices::Enumeration::DeviceAccessChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceAccessInformation<D>::AccessChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceAccessInformation, winrt::Windows::Devices::Enumeration::DeviceAccessChangedEventArgs> 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 D> typename consume_Windows_Devices_Enumeration_IDeviceAccessInformation<D>::AccessChanged_revoker consume_Windows_Devices_Enumeration_IDeviceAccessInformation<D>::AccessChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceAccessInformation, winrt::Windows::Devices::Enumeration::DeviceAccessChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceAccessInformation<D>::AccessChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceAccessInformation, winrt::Windows::Devices::Enumeration::DeviceAccessChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AccessChanged_revoker>(this, AccessChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceAccessInformation<D>::AccessChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceAccessInformation<D>::AccessChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceAccessInformation)->remove_AccessChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessStatus) consume_Windows_Devices_Enumeration_IDeviceAccessInformation<D>::CurrentStatus() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceAccessInformation<D>::CurrentStatus() const
{
winrt::Windows::Devices::Enumeration::DeviceAccessStatus status{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceAccessInformation)->get_CurrentStatus(reinterpret_cast<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) consume_Windows_Devices_Enumeration_IDeviceAccessInformationStatics<D>::CreateFromId(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceAccessInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) consume_Windows_Devices_Enumeration_IDeviceAccessInformationStatics<D>::CreateFromDeviceClassId(winrt::guid const& deviceClassId) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceAccessInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) consume_Windows_Devices_Enumeration_IDeviceAccessInformationStatics<D>::CreateFromDeviceClass(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceAccessInformationStatics<D>::CreateFromDeviceClass(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceAccessInformationStatics)->CreateFromDeviceClass(static_cast<int32_t>(deviceClass), &value));
return winrt::Windows::Devices::Enumeration::DeviceAccessInformation{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_IDeviceConnectionChangeTriggerDetails<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceConnectionChangeTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_Enumeration_IDeviceDisconnectButtonClickedEventArgs<D>::Device() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceDisconnectButtonClickedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_IDeviceInformation<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_IDeviceInformation<D>::Name() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Enumeration_IDeviceInformation<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformation<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Enumeration_IDeviceInformation<D>::IsDefault() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformation<D>::IsDefault() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation)->get_IsDefault(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::EnclosureLocation) consume_Windows_Devices_Enumeration_IDeviceInformation<D>::EnclosureLocation() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Enumeration_IDeviceInformation<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformation<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceInformation<D>::Update(winrt::Windows::Devices::Enumeration::DeviceInformationUpdate const& updateInfo) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformation<D>::Update(winrt::Windows::Devices::Enumeration::DeviceInformationUpdate const& updateInfo) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation)->Update(*(void**)(&updateInfo)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceThumbnail>) consume_Windows_Devices_Enumeration_IDeviceInformation<D>::GetThumbnailAsync() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformation<D>::GetThumbnailAsync() const
{
void* asyncOp{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation)->GetThumbnailAsync(&asyncOp));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceThumbnail>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceThumbnail>) consume_Windows_Devices_Enumeration_IDeviceInformation<D>::GetGlyphThumbnailAsync() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformation<D>::GetGlyphThumbnailAsync() const
{
void* asyncOp{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation)->GetGlyphThumbnailAsync(&asyncOp));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceThumbnail>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformationKind) consume_Windows_Devices_Enumeration_IDeviceInformation2<D>::Kind() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformation2<D>::Kind() const
{
winrt::Windows::Devices::Enumeration::DeviceInformationKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformation2)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformationPairing) consume_Windows_Devices_Enumeration_IDeviceInformation2<D>::Pairing() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformation2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DevicePairingResult>) consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing<D>::PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing<D>::PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationCustomPairing)->PairAsync(static_cast<uint32_t>(pairingKindsSupported), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DevicePairingResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DevicePairingResult>) consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing<D>::PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing<D>::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<uint32_t>(pairingKindsSupported), static_cast<int32_t>(minProtectionLevel), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DevicePairingResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DevicePairingResult>) consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing<D>::PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel, winrt::Windows::Devices::Enumeration::IDevicePairingSettings const& devicePairingSettings) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing<D>::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<uint32_t>(pairingKindsSupported), static_cast<int32_t>(minProtectionLevel), *(void**)(&devicePairingSettings), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DevicePairingResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing<D>::PairingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceInformationCustomPairing, winrt::Windows::Devices::Enumeration::DevicePairingRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing<D>::PairingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceInformationCustomPairing, winrt::Windows::Devices::Enumeration::DevicePairingRequestedEventArgs> 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 D> typename consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing<D>::PairingRequested_revoker consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing<D>::PairingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceInformationCustomPairing, winrt::Windows::Devices::Enumeration::DevicePairingRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing<D>::PairingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceInformationCustomPairing, winrt::Windows::Devices::Enumeration::DevicePairingRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PairingRequested_revoker>(this, PairingRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing<D>::PairingRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing<D>::PairingRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationCustomPairing)->remove_PairingRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Enumeration_IDeviceInformationPairing<D>::IsPaired() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationPairing<D>::IsPaired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationPairing)->get_IsPaired(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Enumeration_IDeviceInformationPairing<D>::CanPair() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationPairing<D>::CanPair() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationPairing)->get_CanPair(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DevicePairingResult>) consume_Windows_Devices_Enumeration_IDeviceInformationPairing<D>::PairAsync() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationPairing<D>::PairAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationPairing)->PairAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DevicePairingResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DevicePairingResult>) consume_Windows_Devices_Enumeration_IDeviceInformationPairing<D>::PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationPairing<D>::PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationPairing)->PairWithProtectionLevelAsync(static_cast<int32_t>(minProtectionLevel), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DevicePairingResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel) consume_Windows_Devices_Enumeration_IDeviceInformationPairing2<D>::ProtectionLevel() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationPairing2<D>::ProtectionLevel() const
{
winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationPairing2)->get_ProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformationCustomPairing) consume_Windows_Devices_Enumeration_IDeviceInformationPairing2<D>::Custom() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationPairing2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DevicePairingResult>) consume_Windows_Devices_Enumeration_IDeviceInformationPairing2<D>::PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel, winrt::Windows::Devices::Enumeration::IDevicePairingSettings const& devicePairingSettings) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationPairing2<D>::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<int32_t>(minProtectionLevel), *(void**)(&devicePairingSettings), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DevicePairingResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceUnpairingResult>) consume_Windows_Devices_Enumeration_IDeviceInformationPairing2<D>::UnpairAsync() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationPairing2<D>::UnpairAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationPairing2)->UnpairAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceUnpairingResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Enumeration_IDeviceInformationPairingStatics<D>::TryRegisterForAllInboundPairingRequests(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationPairingStatics<D>::TryRegisterForAllInboundPairingRequests(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationPairingStatics)->TryRegisterForAllInboundPairingRequests(static_cast<uint32_t>(pairingKindsSupported), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Enumeration_IDeviceInformationPairingStatics2<D>::TryRegisterForAllInboundPairingRequestsWithProtectionLevel(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationPairingStatics2<D>::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<uint32_t>(pairingKindsSupported), static_cast<int32_t>(minProtectionLevel), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformation>) consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::CreateFromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::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<winrt::Windows::Devices::Enumeration::DeviceInformation>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformation>) consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable<hstring> const& additionalProperties) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable<hstring> 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<winrt::Windows::Devices::Enumeration::DeviceInformation>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformationCollection>) consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::FindAllAsync() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::FindAllAsync() const
{
void* asyncOp{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics)->FindAllAsync(&asyncOp));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformationCollection>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformationCollection>) consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::FindAllAsync(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::FindAllAsync(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const
{
void* asyncOp{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics)->FindAllAsyncDeviceClass(static_cast<int32_t>(deviceClass), &asyncOp));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformationCollection>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformationCollection>) consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::FindAllAsync(param::hstring const& aqsFilter) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::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<winrt::Windows::Devices::Enumeration::DeviceInformationCollection>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformationCollection>) consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::FindAllAsync(param::hstring const& aqsFilter, param::async_iterable<hstring> const& additionalProperties) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::FindAllAsync(param::hstring const& aqsFilter, param::async_iterable<hstring> 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<winrt::Windows::Devices::Enumeration::DeviceInformationCollection>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::CreateWatcher() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::CreateWatcher(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::CreateWatcher(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const
{
void* watcher{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics)->CreateWatcherDeviceClass(static_cast<int32_t>(deviceClass), &watcher));
return winrt::Windows::Devices::Enumeration::DeviceWatcher{ watcher, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::CreateWatcher(param::hstring const& aqsFilter) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::CreateWatcher(param::hstring const& aqsFilter, param::iterable<hstring> const& additionalProperties) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics<D>::CreateWatcher(param::hstring const& aqsFilter, param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_IDeviceInformationStatics2<D>::GetAqsFilterFromDeviceClass(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics2<D>::GetAqsFilterFromDeviceClass(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const
{
void* aqsFilter{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationStatics2)->GetAqsFilterFromDeviceClass(static_cast<int32_t>(deviceClass), &aqsFilter));
return hstring{ aqsFilter, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformation>) consume_Windows_Devices_Enumeration_IDeviceInformationStatics2<D>::CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable<hstring> const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics2<D>::CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable<hstring> 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<int32_t>(kind), &asyncOp));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformation>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformationCollection>) consume_Windows_Devices_Enumeration_IDeviceInformationStatics2<D>::FindAllAsync(param::hstring const& aqsFilter, param::async_iterable<hstring> const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics2<D>::FindAllAsync(param::hstring const& aqsFilter, param::async_iterable<hstring> 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<int32_t>(kind), &asyncOp));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformationCollection>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcher) consume_Windows_Devices_Enumeration_IDeviceInformationStatics2<D>::CreateWatcher(param::hstring const& aqsFilter, param::iterable<hstring> const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationStatics2<D>::CreateWatcher(param::hstring const& aqsFilter, param::iterable<hstring> 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<int32_t>(kind), &watcher));
return winrt::Windows::Devices::Enumeration::DeviceWatcher{ watcher, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_IDeviceInformationUpdate<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationUpdate<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Enumeration_IDeviceInformationUpdate<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationUpdate<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationUpdate)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformationKind) consume_Windows_Devices_Enumeration_IDeviceInformationUpdate2<D>::Kind() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceInformationUpdate2<D>::Kind() const
{
winrt::Windows::Devices::Enumeration::DeviceInformationKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceInformationUpdate2)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs<D>::DeviceInformation() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePairingKinds) consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs<D>::PairingKind() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs<D>::PairingKind() const
{
winrt::Windows::Devices::Enumeration::DevicePairingKinds value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePairingRequestedEventArgs)->get_PairingKind(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs<D>::Pin() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs<D>::Accept() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs<D>::Accept() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePairingRequestedEventArgs)->Accept());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs<D>::Accept(param::hstring const& pin) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs<D>::Accept(param::hstring const& pin) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePairingRequestedEventArgs)->AcceptWithPin(*(void**)(&pin)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs2<D>::AcceptWithPasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePairingRequestedEventArgs2<D>::AcceptWithPasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePairingRequestedEventArgs2)->AcceptWithPasswordCredential(*(void**)(&passwordCredential)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePairingResultStatus) consume_Windows_Devices_Enumeration_IDevicePairingResult<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePairingResult<D>::Status() const
{
winrt::Windows::Devices::Enumeration::DevicePairingResultStatus status{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePairingResult)->get_Status(reinterpret_cast<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel) consume_Windows_Devices_Enumeration_IDevicePairingResult<D>::ProtectionLevelUsed() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePairingResult<D>::ProtectionLevelUsed() const
{
winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePairingResult)->get_ProtectionLevelUsed(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePickerFilter) consume_Windows_Devices_Enumeration_IDevicePicker<D>::Filter() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePickerAppearance) consume_Windows_Devices_Enumeration_IDevicePicker<D>::Appearance() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Devices_Enumeration_IDevicePicker<D>::RequestedProperties() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::RequestedProperties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->get_RequestedProperties(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDevicePicker<D>::DeviceSelected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Devices::Enumeration::DeviceSelectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::DeviceSelected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Devices::Enumeration::DeviceSelectedEventArgs> 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 D> typename consume_Windows_Devices_Enumeration_IDevicePicker<D>::DeviceSelected_revoker consume_Windows_Devices_Enumeration_IDevicePicker<D>::DeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Devices::Enumeration::DeviceSelectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::DeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Devices::Enumeration::DeviceSelectedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DeviceSelected_revoker>(this, DeviceSelected(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePicker<D>::DeviceSelected(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::DeviceSelected(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->remove_DeviceSelected(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDevicePicker<D>::DisconnectButtonClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Devices::Enumeration::DeviceDisconnectButtonClickedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::DisconnectButtonClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Devices::Enumeration::DeviceDisconnectButtonClickedEventArgs> 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 D> typename consume_Windows_Devices_Enumeration_IDevicePicker<D>::DisconnectButtonClicked_revoker consume_Windows_Devices_Enumeration_IDevicePicker<D>::DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Devices::Enumeration::DeviceDisconnectButtonClickedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Devices::Enumeration::DeviceDisconnectButtonClickedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DisconnectButtonClicked_revoker>(this, DisconnectButtonClicked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePicker<D>::DisconnectButtonClicked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::DisconnectButtonClicked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->remove_DisconnectButtonClicked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDevicePicker<D>::DevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::DevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Enumeration_IDevicePicker<D>::DevicePickerDismissed_revoker consume_Windows_Devices_Enumeration_IDevicePicker<D>::DevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::DevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, DevicePickerDismissed_revoker>(this, DevicePickerDismissed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePicker<D>::DevicePickerDismissed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::DevicePickerDismissed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->remove_DevicePickerDismissed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePicker<D>::Show(winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::Show(winrt::Windows::Foundation::Rect const& selection) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->Show(impl::bind_in(selection)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePicker<D>::Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& placement) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::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<int32_t>(placement)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformation>) consume_Windows_Devices_Enumeration_IDevicePicker<D>::PickSingleDeviceAsync(winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::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<winrt::Windows::Devices::Enumeration::DeviceInformation>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformation>) consume_Windows_Devices_Enumeration_IDevicePicker<D>::PickSingleDeviceAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& placement) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::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<int32_t>(placement), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformation>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePicker<D>::Hide() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::Hide() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePicker)->Hide());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePicker<D>::SetDisplayStatus(winrt::Windows::Devices::Enumeration::DeviceInformation const& device, param::hstring const& status, winrt::Windows::Devices::Enumeration::DevicePickerDisplayStatusOptions const& options) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePicker<D>::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<uint32_t>(options)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::Title() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerAppearance)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::ForegroundColor() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::ForegroundColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::BackgroundColor() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::BackgroundColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::AccentColor() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::AccentColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::SelectedForegroundColor() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::SelectedForegroundColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::SelectedBackgroundColor() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::SelectedBackgroundColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::SelectedAccentColor() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::SelectedAccentColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePickerAppearance<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Enumeration::DeviceClass>) consume_Windows_Devices_Enumeration_IDevicePickerFilter<D>::SupportedDeviceClasses() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePickerFilter<D>::SupportedDeviceClasses() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerFilter)->get_SupportedDeviceClasses(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Enumeration::DeviceClass>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Devices_Enumeration_IDevicePickerFilter<D>::SupportedDeviceSelectors() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDevicePickerFilter<D>::SupportedDeviceSelectors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDevicePickerFilter)->get_SupportedDeviceSelectors(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_Enumeration_IDeviceSelectedEventArgs<D>::SelectedDevice() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceSelectedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceUnpairingResultStatus) consume_Windows_Devices_Enumeration_IDeviceUnpairingResult<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceUnpairingResult<D>::Status() const
{
winrt::Windows::Devices::Enumeration::DeviceUnpairingResultStatus status{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceUnpairingResult)->get_Status(reinterpret_cast<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformation> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformation> 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 D> typename consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Added_revoker consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformation> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformation> const& handler) const
{
return impl::make_event_revoker<D, Added_revoker>(this, Added(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Added(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Added(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->remove_Added(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformationUpdate> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformationUpdate> 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 D> typename consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Updated_revoker consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformationUpdate> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformationUpdate> const& handler) const
{
return impl::make_event_revoker<D, Updated_revoker>(this, Updated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Updated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Updated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->remove_Updated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformationUpdate> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformationUpdate> 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 D> typename consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Removed_revoker consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformationUpdate> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformationUpdate> const& handler) const
{
return impl::make_event_revoker<D, Removed_revoker>(this, Removed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Removed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Removed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->remove_Removed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::EnumerationCompleted_revoker consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EnumerationCompleted_revoker>(this, EnumerationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->remove_EnumerationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Stopped_revoker consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Stopped_revoker>(this, Stopped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->remove_Stopped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherStatus) consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Status() const
{
winrt::Windows::Devices::Enumeration::DeviceWatcherStatus status{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->get_Status(reinterpret_cast<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::DeviceWatcherTrigger) consume_Windows_Devices_Enumeration_IDeviceWatcher2<D>::GetBackgroundTrigger(param::iterable<winrt::Windows::Devices::Enumeration::DeviceWatcherEventKind> const& requestedEventKinds) const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcher2<D>::GetBackgroundTrigger(param::iterable<winrt::Windows::Devices::Enumeration::DeviceWatcherEventKind> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherEventKind) consume_Windows_Devices_Enumeration_IDeviceWatcherEvent<D>::Kind() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcherEvent<D>::Kind() const
{
winrt::Windows::Devices::Enumeration::DeviceWatcherEventKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcherEvent)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_Enumeration_IDeviceWatcherEvent<D>::DeviceInformation() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcherEvent<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformationUpdate) consume_Windows_Devices_Enumeration_IDeviceWatcherEvent<D>::DeviceInformationUpdate() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcherEvent<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Enumeration::DeviceWatcherEvent>) consume_Windows_Devices_Enumeration_IDeviceWatcherTriggerDetails<D>::DeviceWatcherEvents() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IDeviceWatcherTriggerDetails<D>::DeviceWatcherEvents() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IDeviceWatcherTriggerDetails)->get_DeviceWatcherEvents(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Enumeration::DeviceWatcherEvent>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Enumeration_IEnclosureLocation<D>::InDock() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IEnclosureLocation<D>::InDock() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IEnclosureLocation)->get_InDock(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Enumeration_IEnclosureLocation<D>::InLid() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IEnclosureLocation<D>::InLid() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IEnclosureLocation)->get_InLid(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Panel) consume_Windows_Devices_Enumeration_IEnclosureLocation<D>::Panel() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IEnclosureLocation<D>::Panel() const
{
winrt::Windows::Devices::Enumeration::Panel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IEnclosureLocation)->get_Panel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Enumeration_IEnclosureLocation2<D>::RotationAngleInDegreesClockwise() const
+ template <typename D> auto consume_Windows_Devices_Enumeration_IEnclosureLocation2<D>::RotationAngleInDegreesClockwise() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Enumeration::IEnclosureLocation2)->get_RotationAngleInDegreesClockwise(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Geolocation.Geofencing.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Geolocation.Geofencing.h
index f65fd614c4d..f4304ea277c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Geolocation.Geofencing.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Geolocation_Geofencing_IGeofence<D>::StartTime() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofence<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Geolocation_Geofencing_IGeofence<D>::Duration() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofence<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Geolocation_Geofencing_IGeofence<D>::DwellTime() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofence<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Geolocation_Geofencing_IGeofence<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofence<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates) consume_Windows_Devices_Geolocation_Geofencing_IGeofence<D>::MonitoredStates() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofence<D>::MonitoredStates() const
{
winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofence)->get_MonitoredStates(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::IGeoshape) consume_Windows_Devices_Geolocation_Geofencing_IGeofence<D>::Geoshape() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofence<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Geolocation_Geofencing_IGeofence<D>::SingleUse() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofence<D>::SingleUse() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofence)->get_SingleUse(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory<D>::Create(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory<D>::CreateWithMonitorStates(param::hstring const& id, winrt::Windows::Devices::Geolocation::IGeoshape const& geoshape, winrt::Windows::Devices::Geolocation::Geofencing::MonitoredGeofenceStates const& monitoredStates, bool singleUse) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory<D>::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<uint32_t>(monitoredStates), singleUse, &geofence));
return winrt::Windows::Devices::Geolocation::Geofencing::Geofence{ geofence, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory<D>::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 <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory<D>::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<uint32_t>(monitoredStates), singleUse, impl::bind_in(dwellTime), &geofence));
return winrt::Windows::Devices::Geolocation::Geofencing::Geofence{ geofence, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory<D>::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 <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceFactory<D>::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<uint32_t>(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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitorStatus) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::Status() const
{
winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitorStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Geolocation::Geofencing::Geofence>) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::Geofences() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::Geofences() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor)->get_Geofences(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Geolocation::Geofencing::Geofence>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::LastKnownGeoposition() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::GeofenceStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::GeofenceStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::GeofenceStateChanged_revoker consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::GeofenceStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::GeofenceStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
{
return impl::make_event_revoker<D, GeofenceStateChanged_revoker>(this, GeofenceStateChanged(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::GeofenceStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::GeofenceStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor)->remove_GeofenceStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceStateChangeReport>) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::ReadReports() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::ReadReports() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor)->ReadReports(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceStateChangeReport>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::StatusChanged_revoker consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
{
return impl::make_event_revoker<D, StatusChanged_revoker>(this, StatusChanged(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::StatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitor<D>::StatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor)->remove_StatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitorStatics<D>::Current() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceMonitorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::GeofenceState) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport<D>::NewState() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport<D>::NewState() const
{
winrt::Windows::Devices::Geolocation::Geofencing::GeofenceState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceStateChangeReport)->get_NewState(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::Geofence) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport<D>::Geofence() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport<D>::Geoposition() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geofencing::GeofenceRemovalReason) consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport<D>::RemovalReason() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_Geofencing_IGeofenceStateChangeReport<D>::RemovalReason() const
{
winrt::Windows::Devices::Geolocation::Geofencing::GeofenceRemovalReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceStateChangeReport)->get_RemovalReason(reinterpret_cast<int32_t*>(&value)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Geolocation.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Geolocation.h
index 2aeeb742a29..37cb4a005f3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Geolocation.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Geolocation_ICivicAddress<D>::Country() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_ICivicAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Geolocation_ICivicAddress<D>::State() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_ICivicAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Geolocation_ICivicAddress<D>::City() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_ICivicAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Geolocation_ICivicAddress<D>::PostalCode() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_ICivicAddress<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Geolocation_ICivicAddress<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_ICivicAddress<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) consume_Windows_Devices_Geolocation_IGeoboundingBox<D>::NorthwestCorner() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeoboundingBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) consume_Windows_Devices_Geolocation_IGeoboundingBox<D>::SoutheastCorner() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeoboundingBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) consume_Windows_Devices_Geolocation_IGeoboundingBox<D>::Center() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeoboundingBox<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Geolocation_IGeoboundingBox<D>::MinAltitude() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeoboundingBox<D>::MinAltitude() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoboundingBox)->get_MinAltitude(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Geolocation_IGeoboundingBox<D>::MaxAltitude() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeoboundingBox<D>::MaxAltitude() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoboundingBox)->get_MaxAltitude(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Devices_Geolocation_IGeoboundingBoxFactory<D>::Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeoboundingBoxFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Devices_Geolocation_IGeoboundingBoxFactory<D>::CreateWithAltitudeReference(winrt::Windows::Devices::Geolocation::BasicGeoposition const& northwestCorner, winrt::Windows::Devices::Geolocation::BasicGeoposition const& southeastCorner, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeoboundingBoxFactory<D>::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<int32_t>(altitudeReferenceSystem), &value));
return winrt::Windows::Devices::Geolocation::GeoboundingBox{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Devices_Geolocation_IGeoboundingBoxFactory<D>::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 <typename D> auto consume_Windows_Devices_Geolocation_IGeoboundingBoxFactory<D>::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<int32_t>(altitudeReferenceSystem), spatialReferenceId, &value));
return winrt::Windows::Devices::Geolocation::GeoboundingBox{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Devices_Geolocation_IGeoboundingBoxStatics<D>::TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeoboundingBoxStatics<D>::TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Devices_Geolocation_IGeoboundingBoxStatics<D>::TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeoboundingBoxStatics<D>::TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> 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<int32_t>(altitudeRefSystem), &value));
return winrt::Windows::Devices::Geolocation::GeoboundingBox{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Devices_Geolocation_IGeoboundingBoxStatics<D>::TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem, uint32_t spatialReferenceId) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeoboundingBoxStatics<D>::TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> 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<int32_t>(altitudeRefSystem), spatialReferenceId, &value));
return winrt::Windows::Devices::Geolocation::GeoboundingBox{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) consume_Windows_Devices_Geolocation_IGeocircle<D>::Center() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocircle<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Geolocation_IGeocircle<D>::Radius() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocircle<D>::Radius() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocircle)->get_Radius(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geocircle) consume_Windows_Devices_Geolocation_IGeocircleFactory<D>::Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocircleFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geocircle) consume_Windows_Devices_Geolocation_IGeocircleFactory<D>::CreateWithAltitudeReferenceSystem(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocircleFactory<D>::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<int32_t>(altitudeReferenceSystem), &value));
return winrt::Windows::Devices::Geolocation::Geocircle{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geocircle) consume_Windows_Devices_Geolocation_IGeocircleFactory<D>::CreateWithAltitudeReferenceSystemAndSpatialReferenceId(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, double radius, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocircleFactory<D>::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<int32_t>(altitudeReferenceSystem), spatialReferenceId, &value));
return winrt::Windows::Devices::Geolocation::Geocircle{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Geolocation_IGeocoordinate<D>::Latitude() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocoordinate<D>::Latitude() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinate)->get_Latitude(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Geolocation_IGeocoordinate<D>::Longitude() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocoordinate<D>::Longitude() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinate)->get_Longitude(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Devices_Geolocation_IGeocoordinate<D>::Altitude() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocoordinate<D>::Altitude() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinate)->get_Altitude(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Geolocation_IGeocoordinate<D>::Accuracy() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocoordinate<D>::Accuracy() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinate)->get_Accuracy(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Devices_Geolocation_IGeocoordinate<D>::AltitudeAccuracy() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocoordinate<D>::AltitudeAccuracy() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinate)->get_AltitudeAccuracy(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Devices_Geolocation_IGeocoordinate<D>::Heading() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocoordinate<D>::Heading() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinate)->get_Heading(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Devices_Geolocation_IGeocoordinate<D>::Speed() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocoordinate<D>::Speed() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinate)->get_Speed(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Geolocation_IGeocoordinate<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocoordinate<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData<D>::PositionDilutionOfPrecision() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData<D>::PositionDilutionOfPrecision() const
{
void* ppValue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData)->get_PositionDilutionOfPrecision(&ppValue));
return winrt::Windows::Foundation::IReference<double>{ ppValue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData<D>::HorizontalDilutionOfPrecision() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData<D>::HorizontalDilutionOfPrecision() const
{
void* ppValue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData)->get_HorizontalDilutionOfPrecision(&ppValue));
return winrt::Windows::Foundation::IReference<double>{ ppValue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData<D>::VerticalDilutionOfPrecision() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData<D>::VerticalDilutionOfPrecision() const
{
void* ppValue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData)->get_VerticalDilutionOfPrecision(&ppValue));
return winrt::Windows::Foundation::IReference<double>{ ppValue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2<D>::GeometricDilutionOfPrecision() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2<D>::GeometricDilutionOfPrecision() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2)->get_GeometricDilutionOfPrecision(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2<D>::TimeDilutionOfPrecision() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2<D>::TimeDilutionOfPrecision() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2)->get_TimeDilutionOfPrecision(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Devices_Geolocation_IGeocoordinateWithPoint<D>::Point() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocoordinateWithPoint<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::PositionSource) consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionData<D>::PositionSource() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionData<D>::PositionSource() const
{
winrt::Windows::Devices::Geolocation::PositionSource pValue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateWithPositionData)->get_PositionSource(reinterpret_cast<int32_t*>(&pValue)));
return pValue;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeocoordinateSatelliteData) consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionData<D>::SatelliteData() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionSourceTimestamp<D>::PositionSourceTimestamp() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionSourceTimestamp<D>::PositionSourceTimestamp() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeocoordinateWithPositionSourceTimestamp)->get_PositionSourceTimestamp(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::PositionAccuracy) consume_Windows_Devices_Geolocation_IGeolocator<D>::DesiredAccuracy() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocator<D>::DesiredAccuracy() const
{
winrt::Windows::Devices::Geolocation::PositionAccuracy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->get_DesiredAccuracy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeolocator<D>::DesiredAccuracy(winrt::Windows::Devices::Geolocation::PositionAccuracy const& value) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocator<D>::DesiredAccuracy(winrt::Windows::Devices::Geolocation::PositionAccuracy const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->put_DesiredAccuracy(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Geolocation_IGeolocator<D>::MovementThreshold() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocator<D>::MovementThreshold() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->get_MovementThreshold(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeolocator<D>::MovementThreshold(double value) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocator<D>::MovementThreshold(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->put_MovementThreshold(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Geolocation_IGeolocator<D>::ReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocator<D>::ReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->get_ReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeolocator<D>::ReportInterval(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocator<D>::ReportInterval(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->put_ReportInterval(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::PositionStatus) consume_Windows_Devices_Geolocation_IGeolocator<D>::LocationStatus() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocator<D>::LocationStatus() const
{
winrt::Windows::Devices::Geolocation::PositionStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->get_LocationStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::Geoposition>) consume_Windows_Devices_Geolocation_IGeolocator<D>::GetGeopositionAsync() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocator<D>::GetGeopositionAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->GetGeopositionAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::Geoposition>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::Geoposition>) consume_Windows_Devices_Geolocation_IGeolocator<D>::GetGeopositionAsync(winrt::Windows::Foundation::TimeSpan const& maximumAge, winrt::Windows::Foundation::TimeSpan const& timeout) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocator<D>::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<winrt::Windows::Devices::Geolocation::Geoposition>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Geolocation_IGeolocator<D>::PositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::PositionChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocator<D>::PositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::PositionChangedEventArgs> 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 D> typename consume_Windows_Devices_Geolocation_IGeolocator<D>::PositionChanged_revoker consume_Windows_Devices_Geolocation_IGeolocator<D>::PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::PositionChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocator<D>::PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::PositionChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PositionChanged_revoker>(this, PositionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeolocator<D>::PositionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocator<D>::PositionChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->remove_PositionChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Geolocation_IGeolocator<D>::StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::StatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocator<D>::StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::StatusChangedEventArgs> 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 D> typename consume_Windows_Devices_Geolocation_IGeolocator<D>::StatusChanged_revoker consume_Windows_Devices_Geolocation_IGeolocator<D>::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::StatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocator<D>::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::StatusChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StatusChanged_revoker>(this, StatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeolocator<D>::StatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocator<D>::StatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator)->remove_StatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeolocator2<D>::AllowFallbackToConsentlessPositions() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocator2<D>::AllowFallbackToConsentlessPositions() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocator2)->AllowFallbackToConsentlessPositions());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::GeolocationAccessStatus>) consume_Windows_Devices_Geolocation_IGeolocatorStatics<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocatorStatics<D>::RequestAccessAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocatorStatics)->RequestAccessAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::GeolocationAccessStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::Geoposition>>) consume_Windows_Devices_Geolocation_IGeolocatorStatics<D>::GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocatorStatics<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::Geoposition>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::Geoposition>>) consume_Windows_Devices_Geolocation_IGeolocatorStatics<D>::GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocatorStatics<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::Geoposition>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Geolocation_IGeolocatorStatics2<D>::IsDefaultGeopositionRecommended() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocatorStatics2<D>::IsDefaultGeopositionRecommended() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocatorStatics2)->get_IsDefaultGeopositionRecommended(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeolocatorStatics2<D>::DefaultGeoposition(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& value) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocatorStatics2<D>::DefaultGeoposition(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocatorStatics2)->put_DefaultGeoposition(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Geolocation::BasicGeoposition>) consume_Windows_Devices_Geolocation_IGeolocatorStatics2<D>::DefaultGeoposition() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocatorStatics2<D>::DefaultGeoposition() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocatorStatics2)->get_DefaultGeoposition(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Geolocation::BasicGeoposition>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Devices_Geolocation_IGeolocatorWithScalarAccuracy<D>::DesiredAccuracyInMeters() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocatorWithScalarAccuracy<D>::DesiredAccuracyInMeters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocatorWithScalarAccuracy)->get_DesiredAccuracyInMeters(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeolocatorWithScalarAccuracy<D>::DesiredAccuracyInMeters(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeolocatorWithScalarAccuracy<D>::DesiredAccuracyInMeters(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeolocatorWithScalarAccuracy)->put_DesiredAccuracyInMeters(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::BasicGeoposition>) consume_Windows_Devices_Geolocation_IGeopath<D>::Positions() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeopath<D>::Positions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeopath)->get_Positions(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::BasicGeoposition>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_Devices_Geolocation_IGeopathFactory<D>::Create(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeopathFactory<D>::Create(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_Devices_Geolocation_IGeopathFactory<D>::CreateWithAltitudeReference(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeopathFactory<D>::CreateWithAltitudeReference(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> 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<int32_t>(altitudeReferenceSystem), &value));
return winrt::Windows::Devices::Geolocation::Geopath{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_Devices_Geolocation_IGeopathFactory<D>::CreateWithAltitudeReferenceAndSpatialReference(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeopathFactory<D>::CreateWithAltitudeReferenceAndSpatialReference(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> 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<int32_t>(altitudeReferenceSystem), spatialReferenceId, &value));
return winrt::Windows::Devices::Geolocation::Geopath{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) consume_Windows_Devices_Geolocation_IGeopoint<D>::Position() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeopoint<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Devices_Geolocation_IGeopointFactory<D>::Create(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeopointFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Devices_Geolocation_IGeopointFactory<D>::CreateWithAltitudeReferenceSystem(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeopointFactory<D>::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<int32_t>(altitudeReferenceSystem), &value));
return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Devices_Geolocation_IGeopointFactory<D>::CreateWithAltitudeReferenceSystemAndSpatialReferenceId(winrt::Windows::Devices::Geolocation::BasicGeoposition const& position, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeopointFactory<D>::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<int32_t>(altitudeReferenceSystem), spatialReferenceId, &value));
return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geocoordinate) consume_Windows_Devices_Geolocation_IGeoposition<D>::Coordinate() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeoposition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::CivicAddress) consume_Windows_Devices_Geolocation_IGeoposition<D>::CivicAddress() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeoposition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::VenueData) consume_Windows_Devices_Geolocation_IGeoposition2<D>::VenueData() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeoposition2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoshapeType) consume_Windows_Devices_Geolocation_IGeoshape<D>::GeoshapeType() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeoshape<D>::GeoshapeType() const
{
winrt::Windows::Devices::Geolocation::GeoshapeType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoshape)->get_GeoshapeType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Geolocation_IGeoshape<D>::SpatialReferenceId() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeoshape<D>::SpatialReferenceId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoshape)->get_SpatialReferenceId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem) consume_Windows_Devices_Geolocation_IGeoshape<D>::AltitudeReferenceSystem() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeoshape<D>::AltitudeReferenceSystem() const
{
winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeoshape)->get_AltitudeReferenceSystem(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) consume_Windows_Devices_Geolocation_IGeovisit<D>::Position() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeovisit<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::VisitStateChange) consume_Windows_Devices_Geolocation_IGeovisit<D>::StateChange() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeovisit<D>::StateChange() const
{
winrt::Windows::Devices::Geolocation::VisitStateChange value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisit)->get_StateChange(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Geolocation_IGeovisit<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeovisit<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::VisitMonitoringScope) consume_Windows_Devices_Geolocation_IGeovisitMonitor<D>::MonitoringScope() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeovisitMonitor<D>::MonitoringScope() const
{
winrt::Windows::Devices::Geolocation::VisitMonitoringScope value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisitMonitor)->get_MonitoringScope(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeovisitMonitor<D>::Start(winrt::Windows::Devices::Geolocation::VisitMonitoringScope const& value) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeovisitMonitor<D>::Start(winrt::Windows::Devices::Geolocation::VisitMonitoringScope const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisitMonitor)->Start(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeovisitMonitor<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeovisitMonitor<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisitMonitor)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Geolocation_IGeovisitMonitor<D>::VisitStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::GeovisitMonitor, winrt::Windows::Devices::Geolocation::GeovisitStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeovisitMonitor<D>::VisitStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::GeovisitMonitor, winrt::Windows::Devices::Geolocation::GeovisitStateChangedEventArgs> 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 D> typename consume_Windows_Devices_Geolocation_IGeovisitMonitor<D>::VisitStateChanged_revoker consume_Windows_Devices_Geolocation_IGeovisitMonitor<D>::VisitStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::GeovisitMonitor, winrt::Windows::Devices::Geolocation::GeovisitStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeovisitMonitor<D>::VisitStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::GeovisitMonitor, winrt::Windows::Devices::Geolocation::GeovisitStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, VisitStateChanged_revoker>(this, VisitStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Geolocation_IGeovisitMonitor<D>::VisitStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeovisitMonitor<D>::VisitStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisitMonitor)->remove_VisitStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::Geovisit>) consume_Windows_Devices_Geolocation_IGeovisitMonitorStatics<D>::GetLastReportAsync() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeovisitMonitorStatics<D>::GetLastReportAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisitMonitorStatics)->GetLastReportAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::Geovisit>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geovisit) consume_Windows_Devices_Geolocation_IGeovisitStateChangedEventArgs<D>::Visit() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeovisitStateChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::Geovisit>) consume_Windows_Devices_Geolocation_IGeovisitTriggerDetails<D>::ReadReports() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IGeovisitTriggerDetails<D>::ReadReports() const
{
void* values{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IGeovisitTriggerDetails)->ReadReports(&values));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::Geovisit>{ values, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) consume_Windows_Devices_Geolocation_IPositionChangedEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IPositionChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::PositionStatus) consume_Windows_Devices_Geolocation_IStatusChangedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IStatusChangedEventArgs<D>::Status() const
{
winrt::Windows::Devices::Geolocation::PositionStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IStatusChangedEventArgs)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Geolocation_IVenueData<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IVenueData<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Geolocation_IVenueData<D>::Level() const
+ template <typename D> auto consume_Windows_Devices_Geolocation_IVenueData<D>::Level() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Geolocation::IVenueData)->get_Level(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Gpio.Provider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Gpio.Provider.h
index e805b876c30..4395494e3ea 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Gpio.Provider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Gpio_Provider_IGpioControllerProvider<D>::PinCount() const
+ template <typename D> auto consume_Windows_Devices_Gpio_Provider_IGpioControllerProvider<D>::PinCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioControllerProvider)->get_PinCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider) consume_Windows_Devices_Gpio_Provider_IGpioControllerProvider<D>::OpenPinProvider(int32_t pin, winrt::Windows::Devices::Gpio::Provider::ProviderGpioSharingMode const& sharingMode) const
+ template <typename D> auto consume_Windows_Devices_Gpio_Provider_IGpioControllerProvider<D>::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<int32_t>(sharingMode), &gpioPinProvider));
return winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider{ gpioPinProvider, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::ValueChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider, winrt::Windows::Devices::Gpio::Provider::GpioPinProviderValueChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::ValueChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider, winrt::Windows::Devices::Gpio::Provider::GpioPinProviderValueChangedEventArgs> 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 D> typename consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::ValueChanged_revoker consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider, winrt::Windows::Devices::Gpio::Provider::GpioPinProviderValueChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider, winrt::Windows::Devices::Gpio::Provider::GpioPinProviderValueChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ValueChanged_revoker>(this, ValueChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::ValueChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::ValueChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->remove_ValueChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::DebounceTimeout() const
+ template <typename D> auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::DebounceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::PinNumber() const
+ template <typename D> auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::PinNumber() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->get_PinNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::ProviderGpioSharingMode) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::SharingMode() const
+ template <typename D> auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::SharingMode() const
{
winrt::Windows::Devices::Gpio::Provider::ProviderGpioSharingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->get_SharingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::IsDriveModeSupported(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode const& driveMode) const
+ template <typename D> auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::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<int32_t>(driveMode), &supported));
return supported;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::GetDriveMode() const
+ template <typename D> auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::GetDriveMode() const
{
winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->GetDriveMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::SetDriveMode(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode const& value) const
+ template <typename D> auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::SetDriveMode(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinDriveMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->SetDriveMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::Write(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinValue const& value) const
+ template <typename D> auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::Write(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinValue const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->Write(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinValue) consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::Read() const
+ template <typename D> auto consume_Windows_Devices_Gpio_Provider_IGpioPinProvider<D>::Read() const
{
winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinValue value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider)->Read(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinEdge) consume_Windows_Devices_Gpio_Provider_IGpioPinProviderValueChangedEventArgs<D>::Edge() const
+ template <typename D> auto consume_Windows_Devices_Gpio_Provider_IGpioPinProviderValueChangedEventArgs<D>::Edge() const
{
winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinEdge value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioPinProviderValueChangedEventArgs)->get_Edge(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::GpioPinProviderValueChangedEventArgs) consume_Windows_Devices_Gpio_Provider_IGpioPinProviderValueChangedEventArgsFactory<D>::Create(winrt::Windows::Devices::Gpio::Provider::ProviderGpioPinEdge const& edge) const
+ template <typename D> auto consume_Windows_Devices_Gpio_Provider_IGpioPinProviderValueChangedEventArgsFactory<D>::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<int32_t>(edge), &value));
return winrt::Windows::Devices::Gpio::Provider::GpioPinProviderValueChangedEventArgs{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Gpio::Provider::IGpioControllerProvider>) consume_Windows_Devices_Gpio_Provider_IGpioProvider<D>::GetControllers() const
+ template <typename D> auto consume_Windows_Devices_Gpio_Provider_IGpioProvider<D>::GetControllers() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::Provider::IGpioProvider)->GetControllers(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Gpio.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Gpio.h
index a0d8ad014de..ff972e4069b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Gpio.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioChangeCounter<D>::Polarity(winrt::Windows::Devices::Gpio::GpioChangePolarity const& value) const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeCounter<D>::Polarity(winrt::Windows::Devices::Gpio::GpioChangePolarity const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeCounter)->put_Polarity(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangePolarity) consume_Windows_Devices_Gpio_IGpioChangeCounter<D>::Polarity() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeCounter<D>::Polarity() const
{
winrt::Windows::Devices::Gpio::GpioChangePolarity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeCounter)->get_Polarity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Gpio_IGpioChangeCounter<D>::IsStarted() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeCounter<D>::IsStarted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeCounter)->get_IsStarted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioChangeCounter<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeCounter<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeCounter)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioChangeCounter<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeCounter<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeCounter)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeCount) consume_Windows_Devices_Gpio_IGpioChangeCounter<D>::Read() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeCounter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeCount) consume_Windows_Devices_Gpio_IGpioChangeCounter<D>::Reset() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeCounter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeCounter) consume_Windows_Devices_Gpio_IGpioChangeCounterFactory<D>::Create(winrt::Windows::Devices::Gpio::GpioPin const& pin) const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeCounterFactory<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Gpio_IGpioChangeReader<D>::Capacity() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeReader<D>::Capacity() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->get_Capacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Gpio_IGpioChangeReader<D>::Length() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeReader<D>::Length() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Gpio_IGpioChangeReader<D>::IsEmpty() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeReader<D>::IsEmpty() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->get_IsEmpty(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Gpio_IGpioChangeReader<D>::IsOverflowed() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeReader<D>::IsOverflowed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->get_IsOverflowed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioChangeReader<D>::Polarity(winrt::Windows::Devices::Gpio::GpioChangePolarity const& value) const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeReader<D>::Polarity(winrt::Windows::Devices::Gpio::GpioChangePolarity const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->put_Polarity(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangePolarity) consume_Windows_Devices_Gpio_IGpioChangeReader<D>::Polarity() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeReader<D>::Polarity() const
{
winrt::Windows::Devices::Gpio::GpioChangePolarity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->get_Polarity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Gpio_IGpioChangeReader<D>::IsStarted() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeReader<D>::IsStarted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->get_IsStarted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioChangeReader<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeReader<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioChangeReader<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeReader<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioChangeReader<D>::Clear() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeReader<D>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->Clear());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeRecord) consume_Windows_Devices_Gpio_IGpioChangeReader<D>::GetNextItem() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeRecord) consume_Windows_Devices_Gpio_IGpioChangeReader<D>::PeekNextItem() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Gpio::GpioChangeRecord>) consume_Windows_Devices_Gpio_IGpioChangeReader<D>::GetAllItems() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeReader<D>::GetAllItems() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioChangeReader)->GetAllItems(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Gpio::GpioChangeRecord>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Gpio_IGpioChangeReader<D>::WaitForItemsAsync(int32_t count) const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeReader) consume_Windows_Devices_Gpio_IGpioChangeReaderFactory<D>::Create(winrt::Windows::Devices::Gpio::GpioPin const& pin) const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeReaderFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioChangeReader) consume_Windows_Devices_Gpio_IGpioChangeReaderFactory<D>::CreateWithCapacity(winrt::Windows::Devices::Gpio::GpioPin const& pin, int32_t minCapacity) const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioChangeReaderFactory<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Gpio_IGpioController<D>::PinCount() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioController<D>::PinCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioController)->get_PinCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioPin) consume_Windows_Devices_Gpio_IGpioController<D>::OpenPin(int32_t pinNumber) const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioPin) consume_Windows_Devices_Gpio_IGpioController<D>::OpenPin(int32_t pinNumber, winrt::Windows::Devices::Gpio::GpioSharingMode const& sharingMode) const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioController<D>::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<int32_t>(sharingMode), &pin));
return winrt::Windows::Devices::Gpio::GpioPin{ pin, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Gpio_IGpioController<D>::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 <typename D> auto consume_Windows_Devices_Gpio_IGpioController<D>::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<int32_t>(sharingMode), impl::bind_out(pin), reinterpret_cast<int32_t*>(&openStatus), &succeeded));
return succeeded;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioController) consume_Windows_Devices_Gpio_IGpioControllerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioControllerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Gpio::GpioController>>) consume_Windows_Devices_Gpio_IGpioControllerStatics2<D>::GetControllersAsync(winrt::Windows::Devices::Gpio::Provider::IGpioProvider const& provider) const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioControllerStatics2<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Gpio::GpioController>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Gpio::GpioController>) consume_Windows_Devices_Gpio_IGpioControllerStatics2<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioControllerStatics2<D>::GetDefaultAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioControllerStatics2)->GetDefaultAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Gpio::GpioController>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Gpio_IGpioPin<D>::ValueChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Gpio::GpioPin, winrt::Windows::Devices::Gpio::GpioPinValueChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioPin<D>::ValueChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Gpio::GpioPin, winrt::Windows::Devices::Gpio::GpioPinValueChangedEventArgs> 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 D> typename consume_Windows_Devices_Gpio_IGpioPin<D>::ValueChanged_revoker consume_Windows_Devices_Gpio_IGpioPin<D>::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Gpio::GpioPin, winrt::Windows::Devices::Gpio::GpioPinValueChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioPin<D>::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Gpio::GpioPin, winrt::Windows::Devices::Gpio::GpioPinValueChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ValueChanged_revoker>(this, ValueChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioPin<D>::ValueChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioPin<D>::ValueChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->remove_ValueChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Gpio_IGpioPin<D>::DebounceTimeout() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioPin<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioPin<D>::DebounceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioPin<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Gpio_IGpioPin<D>::PinNumber() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioPin<D>::PinNumber() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->get_PinNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioSharingMode) consume_Windows_Devices_Gpio_IGpioPin<D>::SharingMode() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioPin<D>::SharingMode() const
{
winrt::Windows::Devices::Gpio::GpioSharingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->get_SharingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Gpio_IGpioPin<D>::IsDriveModeSupported(winrt::Windows::Devices::Gpio::GpioPinDriveMode const& driveMode) const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioPin<D>::IsDriveModeSupported(winrt::Windows::Devices::Gpio::GpioPinDriveMode const& driveMode) const
{
bool supported{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->IsDriveModeSupported(static_cast<int32_t>(driveMode), &supported));
return supported;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioPinDriveMode) consume_Windows_Devices_Gpio_IGpioPin<D>::GetDriveMode() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioPin<D>::GetDriveMode() const
{
winrt::Windows::Devices::Gpio::GpioPinDriveMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->GetDriveMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioPin<D>::SetDriveMode(winrt::Windows::Devices::Gpio::GpioPinDriveMode const& value) const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioPin<D>::SetDriveMode(winrt::Windows::Devices::Gpio::GpioPinDriveMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->SetDriveMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Gpio_IGpioPin<D>::Write(winrt::Windows::Devices::Gpio::GpioPinValue const& value) const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioPin<D>::Write(winrt::Windows::Devices::Gpio::GpioPinValue const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->Write(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioPinValue) consume_Windows_Devices_Gpio_IGpioPin<D>::Read() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioPin<D>::Read() const
{
winrt::Windows::Devices::Gpio::GpioPinValue value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPin)->Read(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioPinEdge) consume_Windows_Devices_Gpio_IGpioPinValueChangedEventArgs<D>::Edge() const
+ template <typename D> auto consume_Windows_Devices_Gpio_IGpioPinValueChangedEventArgs<D>::Edge() const
{
winrt::Windows::Devices::Gpio::GpioPinEdge value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Gpio::IGpioPinValueChangedEventArgs)->get_Edge(reinterpret_cast<int32_t*>(&value)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Haptics.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Haptics.h
index c66e0250ecc..cdc1b1a22a6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Haptics.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics<D>::Click() const
+ template <typename D> auto consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics<D>::Click() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IKnownSimpleHapticsControllerWaveformsStatics)->get_Click(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics<D>::BuzzContinuous() const
+ template <typename D> auto consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics<D>::BuzzContinuous() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IKnownSimpleHapticsControllerWaveformsStatics)->get_BuzzContinuous(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics<D>::RumbleContinuous() const
+ template <typename D> auto consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics<D>::RumbleContinuous() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IKnownSimpleHapticsControllerWaveformsStatics)->get_RumbleContinuous(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics<D>::Press() const
+ template <typename D> auto consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics<D>::Press() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IKnownSimpleHapticsControllerWaveformsStatics)->get_Press(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics<D>::Release() const
+ template <typename D> auto consume_Windows_Devices_Haptics_IKnownSimpleHapticsControllerWaveformsStatics<D>::Release() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IKnownSimpleHapticsControllerWaveformsStatics)->get_Release(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback>) consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::SupportedFeedback() const
+ template <typename D> auto consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::SupportedFeedback() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->get_SupportedFeedback(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::IsIntensitySupported() const
+ template <typename D> auto consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::IsIntensitySupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->get_IsIntensitySupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::IsPlayCountSupported() const
+ template <typename D> auto consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::IsPlayCountSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->get_IsPlayCountSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::IsPlayDurationSupported() const
+ template <typename D> auto consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::IsPlayDurationSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->get_IsPlayDurationSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::IsReplayPauseIntervalSupported() const
+ template <typename D> auto consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::IsReplayPauseIntervalSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->get_IsReplayPauseIntervalSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::StopFeedback() const
+ template <typename D> auto consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::StopFeedback() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->StopFeedback());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::SendHapticFeedback(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback) const
+ template <typename D> auto consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::SendHapticFeedback(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsController)->SendHapticFeedback(*(void**)(&feedback)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::SendHapticFeedback(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity) const
+ template <typename D> auto consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::SendHapticFeedbackForDuration(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity, winrt::Windows::Foundation::TimeSpan const& playDuration) const
+ template <typename D> auto consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::SendHapticFeedbackForPlayCount(winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback const& feedback, double intensity, int32_t playCount, winrt::Windows::Foundation::TimeSpan const& replayPauseInterval) const
+ template <typename D> auto consume_Windows_Devices_Haptics_ISimpleHapticsController<D>::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 <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Haptics_ISimpleHapticsControllerFeedback<D>::Waveform() const
+ template <typename D> auto consume_Windows_Devices_Haptics_ISimpleHapticsControllerFeedback<D>::Waveform() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::ISimpleHapticsControllerFeedback)->get_Waveform(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Haptics_ISimpleHapticsControllerFeedback<D>::Duration() const
+ template <typename D> auto consume_Windows_Devices_Haptics_ISimpleHapticsControllerFeedback<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Haptics_IVibrationDevice<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Haptics_IVibrationDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_Devices_Haptics_IVibrationDevice<D>::SimpleHapticsController() const
+ template <typename D> auto consume_Windows_Devices_Haptics_IVibrationDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Haptics::VibrationAccessStatus>) consume_Windows_Devices_Haptics_IVibrationDeviceStatics<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_Devices_Haptics_IVibrationDeviceStatics<D>::RequestAccessAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IVibrationDeviceStatics)->RequestAccessAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Haptics::VibrationAccessStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Haptics_IVibrationDeviceStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Haptics_IVibrationDeviceStatics<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IVibrationDeviceStatics)->GetDeviceSelector(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Haptics::VibrationDevice>) consume_Windows_Devices_Haptics_IVibrationDeviceStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Haptics_IVibrationDeviceStatics<D>::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<winrt::Windows::Devices::Haptics::VibrationDevice>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Haptics::VibrationDevice>) consume_Windows_Devices_Haptics_IVibrationDeviceStatics<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_Haptics_IVibrationDeviceStatics<D>::GetDefaultAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IVibrationDeviceStatics)->GetDefaultAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Haptics::VibrationDevice>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Haptics::VibrationDevice>>) consume_Windows_Devices_Haptics_IVibrationDeviceStatics<D>::FindAllAsync() const
+ template <typename D> auto consume_Windows_Devices_Haptics_IVibrationDeviceStatics<D>::FindAllAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Haptics::IVibrationDeviceStatics)->FindAllAsync(&operation));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.HumanInterfaceDevice.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.HumanInterfaceDevice.h
index 8a8c14566cd..a93b4f992b6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.HumanInterfaceDevice.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControl)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl<D>::UsagePage() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl<D>::UsagePage() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControl)->get_UsagePage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl<D>::UsageId() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl<D>::UsageId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControl)->get_UsageId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl<D>::IsActive() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl<D>::IsActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControl)->get_IsActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl<D>::IsActive(bool value) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl<D>::IsActive(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControl)->put_IsActive(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl<D>::ControlDescription() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControl<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription<D>::ReportId() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription<D>::ReportId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription)->get_ReportId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription<D>::ReportType() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription<D>::ReportType() const
{
winrt::Windows::Devices::HumanInterfaceDevice::HidReportType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription)->get_ReportType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription<D>::UsagePage() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription<D>::UsagePage() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription)->get_UsagePage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription<D>::UsageId() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription<D>::UsageId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription)->get_UsageId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidCollection>) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription<D>::ParentCollections() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription<D>::ParentCollections() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription)->get_ParentCollections(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidCollection>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription2<D>::IsAbsolute() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription2<D>::IsAbsolute() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription2)->get_IsAbsolute(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidCollection<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidCollection<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidCollection)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidCollectionType) consume_Windows_Devices_HumanInterfaceDevice_IHidCollection<D>::Type() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidCollection<D>::Type() const
{
winrt::Windows::Devices::HumanInterfaceDevice::HidCollectionType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidCollection)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidCollection<D>::UsagePage() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidCollection<D>::UsagePage() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidCollection)->get_UsagePage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidCollection<D>::UsageId() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidCollection<D>::UsageId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidCollection)->get_UsageId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::VendorId() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::VendorId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->get_VendorId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::ProductId() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::ProductId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->get_ProductId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::Version() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::Version() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->get_Version(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::UsagePage() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::UsagePage() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->get_UsagePage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::UsageId() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::UsageId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->get_UsageId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::HumanInterfaceDevice::HidInputReport>) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::GetInputReportAsync() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::GetInputReportAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->GetInputReportAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::HumanInterfaceDevice::HidInputReport>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::HumanInterfaceDevice::HidInputReport>) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::GetInputReportAsync(uint16_t reportId) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::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<winrt::Windows::Devices::HumanInterfaceDevice::HidInputReport>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport>) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::GetFeatureReportAsync() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::GetFeatureReportAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->GetFeatureReportAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport>) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::GetFeatureReportAsync(uint16_t reportId) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::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<winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidOutputReport) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::CreateOutputReport() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidOutputReport) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::CreateOutputReport(uint16_t reportId) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::CreateFeatureReport() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::CreateFeatureReport(uint16_t reportId) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::SendOutputReportAsync(winrt::Windows::Devices::HumanInterfaceDevice::HidOutputReport const& outputReport) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::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<uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::SendFeatureReportAsync(winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport const& featureReport) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::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<uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription>) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::GetBooleanControlDescriptions(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType const& reportType, uint16_t usagePage, uint16_t usageId) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::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<int32_t>(reportType), usagePage, usageId, &value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription>) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::GetNumericControlDescriptions(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType const& reportType, uint16_t usagePage, uint16_t usageId) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::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<int32_t>(reportType), usagePage, usageId, &value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::InputReportReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::HumanInterfaceDevice::HidDevice, winrt::Windows::Devices::HumanInterfaceDevice::HidInputReportReceivedEventArgs> const& reportHandler) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::InputReportReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::HumanInterfaceDevice::HidDevice, winrt::Windows::Devices::HumanInterfaceDevice::HidInputReportReceivedEventArgs> 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 D> typename consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::InputReportReceived_revoker consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::InputReportReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::HumanInterfaceDevice::HidDevice, winrt::Windows::Devices::HumanInterfaceDevice::HidInputReportReceivedEventArgs> const& reportHandler) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::InputReportReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::HumanInterfaceDevice::HidDevice, winrt::Windows::Devices::HumanInterfaceDevice::HidInputReportReceivedEventArgs> const& reportHandler) const
{
return impl::make_event_revoker<D, InputReportReceived_revoker>(this, InputReportReceived(reportHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::InputReportReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDevice<D>::InputReportReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice)->remove_InputReportReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_HumanInterfaceDevice_IHidDeviceStatics<D>::GetDeviceSelector(uint16_t usagePage, uint16_t usageId) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_HumanInterfaceDevice_IHidDeviceStatics<D>::GetDeviceSelector(uint16_t usagePage, uint16_t usageId, uint16_t vendorId, uint16_t productId) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::HumanInterfaceDevice::HidDevice>) consume_Windows_Devices_HumanInterfaceDevice_IHidDeviceStatics<D>::FromIdAsync(param::hstring const& deviceId, winrt::Windows::Storage::FileAccessMode const& accessMode) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidDeviceStatics<D>::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<int32_t>(accessMode), &hidDevice));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::HumanInterfaceDevice::HidDevice>{ hidDevice, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport<D>::Id() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidFeatureReport)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport<D>::Data() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport<D>::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport<D>::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidFeatureReport)->put_Data(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport<D>::GetBooleanControl(uint16_t usagePage, uint16_t usageId) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport<D>::GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport<D>::GetNumericControl(uint16_t usagePage, uint16_t usageId) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport<D>::GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidFeatureReport<D>::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 <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport<D>::Id() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReport)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport<D>::Data() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl>) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport<D>::ActivatedBooleanControls() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport<D>::ActivatedBooleanControls() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReport)->get_ActivatedBooleanControls(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl>) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport<D>::TransitionedBooleanControls() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport<D>::TransitionedBooleanControls() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReport)->get_TransitionedBooleanControls(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport<D>::GetBooleanControl(uint16_t usagePage, uint16_t usageId) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport<D>::GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport<D>::GetNumericControl(uint16_t usagePage, uint16_t usageId) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport<D>::GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidInputReport) consume_Windows_Devices_HumanInterfaceDevice_IHidInputReportReceivedEventArgs<D>::Report() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidInputReportReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::IsGrouped() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::IsGrouped() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl)->get_IsGrouped(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::UsagePage() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::UsagePage() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl)->get_UsagePage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::UsageId() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::UsageId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl)->get_UsageId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::Value() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::Value() const
{
int64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl)->get_Value(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::Value(int64_t value) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::Value(int64_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl)->put_Value(value));
}
- template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::ScaledValue() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::ScaledValue() const
{
int64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl)->get_ScaledValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::ScaledValue(int64_t value) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::ScaledValue(int64_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl)->put_ScaledValue(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::ControlDescription() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControl<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::ReportId() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::ReportId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_ReportId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::ReportType() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::ReportType() const
{
winrt::Windows::Devices::HumanInterfaceDevice::HidReportType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_ReportType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::ReportSize() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::ReportSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_ReportSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::ReportCount() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::ReportCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_ReportCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::UsagePage() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::UsagePage() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_UsagePage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::UsageId() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::UsageId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_UsageId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::LogicalMinimum() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::LogicalMinimum() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_LogicalMinimum(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::LogicalMaximum() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::LogicalMaximum() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_LogicalMaximum(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::PhysicalMinimum() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::PhysicalMinimum() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_PhysicalMinimum(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::PhysicalMaximum() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::PhysicalMaximum() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_PhysicalMaximum(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::UnitExponent() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::UnitExponent() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_UnitExponent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::Unit() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::Unit() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_Unit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::IsAbsolute() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::IsAbsolute() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_IsAbsolute(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::HasNull() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::HasNull() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_HasNull(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidCollection>) consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::ParentCollections() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidNumericControlDescription<D>::ParentCollections() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription)->get_ParentCollections(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidCollection>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport<D>::Id() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidOutputReport)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport<D>::Data() const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport<D>::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport<D>::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::HumanInterfaceDevice::IHidOutputReport)->put_Data(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport<D>::GetBooleanControl(uint16_t usagePage, uint16_t usageId) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl) consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport<D>::GetBooleanControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription const& controlDescription) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport<D>::GetNumericControl(uint16_t usagePage, uint16_t usageId) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControl) consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport<D>::GetNumericControlByDescription(winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription const& controlDescription) const
+ template <typename D> auto consume_Windows_Devices_HumanInterfaceDevice_IHidOutputReport<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.I2c.Provider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.I2c.Provider.h
index 27a48fd6fa3..c67ba6b7a8f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.I2c.Provider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::II2cDeviceProvider) consume_Windows_Devices_I2c_Provider_II2cControllerProvider<D>::GetDeviceProvider(winrt::Windows::Devices::I2c::Provider::ProviderI2cConnectionSettings const& settings) const
+ template <typename D> auto consume_Windows_Devices_I2c_Provider_II2cControllerProvider<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_I2c_Provider_II2cDeviceProvider<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_I2c_Provider_II2cDeviceProvider<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_Provider_II2cDeviceProvider<D>::Write(array_view<uint8_t const> buffer) const
+ template <typename D> auto consume_Windows_Devices_I2c_Provider_II2cDeviceProvider<D>::Write(array_view<uint8_t const> buffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::II2cDeviceProvider)->Write(buffer.size(), get_abi(buffer)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cTransferResult) consume_Windows_Devices_I2c_Provider_II2cDeviceProvider<D>::WritePartial(array_view<uint8_t const> buffer) const
+ template <typename D> auto consume_Windows_Devices_I2c_Provider_II2cDeviceProvider<D>::WritePartial(array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_Provider_II2cDeviceProvider<D>::Read(array_view<uint8_t> buffer) const
+ template <typename D> auto consume_Windows_Devices_I2c_Provider_II2cDeviceProvider<D>::Read(array_view<uint8_t> buffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::II2cDeviceProvider)->Read(buffer.size(), put_abi(buffer)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cTransferResult) consume_Windows_Devices_I2c_Provider_II2cDeviceProvider<D>::ReadPartial(array_view<uint8_t> buffer) const
+ template <typename D> auto consume_Windows_Devices_I2c_Provider_II2cDeviceProvider<D>::ReadPartial(array_view<uint8_t> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_Provider_II2cDeviceProvider<D>::WriteRead(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const
+ template <typename D> auto consume_Windows_Devices_I2c_Provider_II2cDeviceProvider<D>::WriteRead(array_view<uint8_t const> writeBuffer, array_view<uint8_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cTransferResult) consume_Windows_Devices_I2c_Provider_II2cDeviceProvider<D>::WriteReadPartial(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const
+ template <typename D> auto consume_Windows_Devices_I2c_Provider_II2cDeviceProvider<D>::WriteReadPartial(array_view<uint8_t const> writeBuffer, array_view<uint8_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::I2c::Provider::II2cControllerProvider>>) consume_Windows_Devices_I2c_Provider_II2cProvider<D>::GetControllersAsync() const
+ template <typename D> auto consume_Windows_Devices_I2c_Provider_II2cProvider<D>::GetControllersAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::II2cProvider)->GetControllersAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::I2c::Provider::II2cControllerProvider>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings<D>::SlaveAddress() const
+ template <typename D> auto consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings<D>::SlaveAddress() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::IProviderI2cConnectionSettings)->get_SlaveAddress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings<D>::SlaveAddress(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings<D>::SlaveAddress(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::IProviderI2cConnectionSettings)->put_SlaveAddress(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cBusSpeed) consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings<D>::BusSpeed() const
+ template <typename D> auto consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings<D>::BusSpeed() const
{
winrt::Windows::Devices::I2c::Provider::ProviderI2cBusSpeed value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::IProviderI2cConnectionSettings)->get_BusSpeed(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings<D>::BusSpeed(winrt::Windows::Devices::I2c::Provider::ProviderI2cBusSpeed const& value) const
+ template <typename D> auto consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cSharingMode) consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings<D>::SharingMode() const
+ template <typename D> auto consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings<D>::SharingMode() const
{
winrt::Windows::Devices::I2c::Provider::ProviderI2cSharingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::Provider::IProviderI2cConnectionSettings)->get_SharingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings<D>::SharingMode(winrt::Windows::Devices::I2c::Provider::ProviderI2cSharingMode const& value) const
+ template <typename D> auto consume_Windows_Devices_I2c_Provider_IProviderI2cConnectionSettings<D>::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<int32_t>(value)));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.I2c.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.I2c.h
index 135e403b90c..09a2d333197 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.I2c.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_I2c_II2cConnectionSettings<D>::SlaveAddress() const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cConnectionSettings<D>::SlaveAddress() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cConnectionSettings)->get_SlaveAddress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_II2cConnectionSettings<D>::SlaveAddress(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cConnectionSettings<D>::SlaveAddress(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cConnectionSettings)->put_SlaveAddress(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cBusSpeed) consume_Windows_Devices_I2c_II2cConnectionSettings<D>::BusSpeed() const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cConnectionSettings<D>::BusSpeed() const
{
winrt::Windows::Devices::I2c::I2cBusSpeed value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cConnectionSettings)->get_BusSpeed(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_II2cConnectionSettings<D>::BusSpeed(winrt::Windows::Devices::I2c::I2cBusSpeed const& value) const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cConnectionSettings<D>::BusSpeed(winrt::Windows::Devices::I2c::I2cBusSpeed const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cConnectionSettings)->put_BusSpeed(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cSharingMode) consume_Windows_Devices_I2c_II2cConnectionSettings<D>::SharingMode() const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cConnectionSettings<D>::SharingMode() const
{
winrt::Windows::Devices::I2c::I2cSharingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cConnectionSettings)->get_SharingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_II2cConnectionSettings<D>::SharingMode(winrt::Windows::Devices::I2c::I2cSharingMode const& value) const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cConnectionSettings<D>::SharingMode(winrt::Windows::Devices::I2c::I2cSharingMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cConnectionSettings)->put_SharingMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cConnectionSettings) consume_Windows_Devices_I2c_II2cConnectionSettingsFactory<D>::Create(int32_t slaveAddress) const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cConnectionSettingsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cDevice) consume_Windows_Devices_I2c_II2cController<D>::GetDevice(winrt::Windows::Devices::I2c::I2cConnectionSettings const& settings) const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::I2c::I2cController>>) consume_Windows_Devices_I2c_II2cControllerStatics<D>::GetControllersAsync(winrt::Windows::Devices::I2c::Provider::II2cProvider const& provider) const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cControllerStatics<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::I2c::I2cController>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::I2c::I2cController>) consume_Windows_Devices_I2c_II2cControllerStatics<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cControllerStatics<D>::GetDefaultAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cControllerStatics)->GetDefaultAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::I2c::I2cController>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_I2c_II2cDevice<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cConnectionSettings) consume_Windows_Devices_I2c_II2cDevice<D>::ConnectionSettings() const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cDevice<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_II2cDevice<D>::Write(array_view<uint8_t const> buffer) const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cDevice<D>::Write(array_view<uint8_t const> buffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cDevice)->Write(buffer.size(), get_abi(buffer)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cTransferResult) consume_Windows_Devices_I2c_II2cDevice<D>::WritePartial(array_view<uint8_t const> buffer) const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cDevice<D>::WritePartial(array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_II2cDevice<D>::Read(array_view<uint8_t> buffer) const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cDevice<D>::Read(array_view<uint8_t> buffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cDevice)->Read(buffer.size(), put_abi(buffer)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cTransferResult) consume_Windows_Devices_I2c_II2cDevice<D>::ReadPartial(array_view<uint8_t> buffer) const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cDevice<D>::ReadPartial(array_view<uint8_t> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_I2c_II2cDevice<D>::WriteRead(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cDevice<D>::WriteRead(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cDevice)->WriteRead(writeBuffer.size(), get_abi(writeBuffer), readBuffer.size(), put_abi(readBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cTransferResult) consume_Windows_Devices_I2c_II2cDevice<D>::WriteReadPartial(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cDevice<D>::WriteReadPartial(array_view<uint8_t const> writeBuffer, array_view<uint8_t> 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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_I2c_II2cDeviceStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cDeviceStatics<D>::GetDeviceSelector() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::I2c::II2cDeviceStatics)->GetDeviceSelector(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_I2c_II2cDeviceStatics<D>::GetDeviceSelector(param::hstring const& friendlyName) const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::I2c::I2cDevice>) consume_Windows_Devices_I2c_II2cDeviceStatics<D>::FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::I2c::I2cConnectionSettings const& settings) const
+ template <typename D> auto consume_Windows_Devices_I2c_II2cDeviceStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Input.Preview.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Input.Preview.h
index f4da9f3a45b..05cc658aeae 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Input.Preview.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Input_Preview_IGazeDevicePreview<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDevicePreview<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDevicePreview)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Input_Preview_IGazeDevicePreview<D>::CanTrackEyes() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDevicePreview<D>::CanTrackEyes() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDevicePreview)->get_CanTrackEyes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Input_Preview_IGazeDevicePreview<D>::CanTrackHead() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDevicePreview<D>::CanTrackHead() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDevicePreview)->get_CanTrackHead(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDeviceConfigurationStatePreview) consume_Windows_Devices_Input_Preview_IGazeDevicePreview<D>::ConfigurationState() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDevicePreview<D>::ConfigurationState() const
{
winrt::Windows::Devices::Input::Preview::GazeDeviceConfigurationStatePreview value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDevicePreview)->get_ConfigurationState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_Input_Preview_IGazeDevicePreview<D>::RequestCalibrationAsync() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDevicePreview<D>::RequestCalibrationAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDevicePreview)->RequestCalibrationAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription>) consume_Windows_Devices_Input_Preview_IGazeDevicePreview<D>::GetNumericControlDescriptions(uint16_t usagePage, uint16_t usageId) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDevicePreview<D>::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<winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription>) consume_Windows_Devices_Input_Preview_IGazeDevicePreview<D>::GetBooleanControlDescriptions(uint16_t usagePage, uint16_t usageId) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDevicePreview<D>::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<winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDevicePreview) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherAddedPreviewEventArgs<D>::Device() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherAddedPreviewEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherAddedPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherAddedPreviewEventArgs> 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 D> typename consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Added_revoker consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherAddedPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherAddedPreviewEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Added_revoker>(this, Added(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Added(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Added(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview)->remove_Added(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherRemovedPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherRemovedPreviewEventArgs> 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 D> typename consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Removed_revoker consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherRemovedPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherRemovedPreviewEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Removed_revoker>(this, Removed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Removed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Removed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview)->remove_Removed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherUpdatedPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherUpdatedPreviewEventArgs> 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 D> typename consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Updated_revoker consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherUpdatedPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherUpdatedPreviewEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Updated_revoker>(this, Updated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Updated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Updated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview)->remove_Updated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::EnumerationCompleted_revoker consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EnumerationCompleted_revoker>(this, EnumerationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview)->remove_EnumerationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDevicePreview) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherRemovedPreviewEventArgs<D>::Device() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherRemovedPreviewEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDevicePreview) consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherUpdatedPreviewEventArgs<D>::Device() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherUpdatedPreviewEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Input_Preview_IGazeEnteredPreviewEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeEnteredPreviewEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeEnteredPreviewEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeEnteredPreviewEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeEnteredPreviewEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeEnteredPreviewEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazePointPreview) consume_Windows_Devices_Input_Preview_IGazeEnteredPreviewEventArgs<D>::CurrentPoint() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeEnteredPreviewEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Input_Preview_IGazeExitedPreviewEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeExitedPreviewEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeExitedPreviewEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeExitedPreviewEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeExitedPreviewEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeExitedPreviewEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazePointPreview) consume_Windows_Devices_Input_Preview_IGazeExitedPreviewEventArgs<D>::CurrentPoint() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeExitedPreviewEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeMoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeMovedPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeMoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeMovedPreviewEventArgs> 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 D> typename consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeMoved_revoker consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeMovedPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeMovedPreviewEventArgs> const& handler) const
{
return impl::make_event_revoker<D, GazeMoved_revoker>(this, GazeMoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeMoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeMoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview)->remove_GazeMoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeEnteredPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeEnteredPreviewEventArgs> 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 D> typename consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeEntered_revoker consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeEnteredPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeEnteredPreviewEventArgs> const& handler) const
{
return impl::make_event_revoker<D, GazeEntered_revoker>(this, GazeEntered(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeEntered(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeEntered(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview)->remove_GazeEntered(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeExitedPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeExitedPreviewEventArgs> 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 D> typename consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeExited_revoker consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeExitedPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeExitedPreviewEventArgs> const& handler) const
{
return impl::make_event_revoker<D, GazeExited_revoker>(this, GazeExited(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeExited(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview<D>::GazeExited(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview)->remove_GazeExited(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview) consume_Windows_Devices_Input_Preview_IGazeInputSourcePreviewStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreviewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview) consume_Windows_Devices_Input_Preview_IGazeInputSourcePreviewStatics<D>::CreateWatcher() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeInputSourcePreviewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeMovedPreviewEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeMovedPreviewEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazePointPreview) consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs<D>::CurrentPoint() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Input::Preview::GazePointPreview>) consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs<D>::GetIntermediatePoints() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazeMovedPreviewEventArgs<D>::GetIntermediatePoints() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazeMovedPreviewEventArgs)->GetIntermediatePoints(&result));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Input::Preview::GazePointPreview>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::Preview::GazeDevicePreview) consume_Windows_Devices_Input_Preview_IGazePointPreview<D>::SourceDevice() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazePointPreview<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>) consume_Windows_Devices_Input_Preview_IGazePointPreview<D>::EyeGazePosition() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazePointPreview<D>::EyeGazePosition() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazePointPreview)->get_EyeGazePosition(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>) consume_Windows_Devices_Input_Preview_IGazePointPreview<D>::HeadGazePosition() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazePointPreview<D>::HeadGazePosition() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazePointPreview)->get_HeadGazePosition(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Devices_Input_Preview_IGazePointPreview<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazePointPreview<D>::Timestamp() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazePointPreview)->get_Timestamp(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidInputReport) consume_Windows_Devices_Input_Preview_IGazePointPreview<D>::HidInputReport() const
+ template <typename D> auto consume_Windows_Devices_Input_Preview_IGazePointPreview<D>::HidInputReport() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::Preview::IGazePointPreview)->get_HidInputReport(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Input.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Input.h
index 3c0dc91952a..d848ba397d2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Input.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Input_IKeyboardCapabilities<D>::KeyboardPresent() const
+ template <typename D> auto consume_Windows_Devices_Input_IKeyboardCapabilities<D>::KeyboardPresent() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IKeyboardCapabilities)->get_KeyboardPresent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Input_IMouseCapabilities<D>::MousePresent() const
+ template <typename D> auto consume_Windows_Devices_Input_IMouseCapabilities<D>::MousePresent() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IMouseCapabilities)->get_MousePresent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Input_IMouseCapabilities<D>::VerticalWheelPresent() const
+ template <typename D> auto consume_Windows_Devices_Input_IMouseCapabilities<D>::VerticalWheelPresent() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IMouseCapabilities)->get_VerticalWheelPresent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Input_IMouseCapabilities<D>::HorizontalWheelPresent() const
+ template <typename D> auto consume_Windows_Devices_Input_IMouseCapabilities<D>::HorizontalWheelPresent() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IMouseCapabilities)->get_HorizontalWheelPresent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Input_IMouseCapabilities<D>::SwapButtons() const
+ template <typename D> auto consume_Windows_Devices_Input_IMouseCapabilities<D>::SwapButtons() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IMouseCapabilities)->get_SwapButtons(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Input_IMouseCapabilities<D>::NumberOfButtons() const
+ template <typename D> auto consume_Windows_Devices_Input_IMouseCapabilities<D>::NumberOfButtons() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IMouseCapabilities)->get_NumberOfButtons(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_IMouseDevice<D>::MouseMoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::MouseDevice, winrt::Windows::Devices::Input::MouseEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_IMouseDevice<D>::MouseMoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::MouseDevice, winrt::Windows::Devices::Input::MouseEventArgs> 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 D> typename consume_Windows_Devices_Input_IMouseDevice<D>::MouseMoved_revoker consume_Windows_Devices_Input_IMouseDevice<D>::MouseMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::MouseDevice, winrt::Windows::Devices::Input::MouseEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_IMouseDevice<D>::MouseMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::MouseDevice, winrt::Windows::Devices::Input::MouseEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MouseMoved_revoker>(this, MouseMoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_IMouseDevice<D>::MouseMoved(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Devices_Input_IMouseDevice<D>::MouseMoved(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IMouseDevice)->remove_MouseMoved(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::MouseDevice) consume_Windows_Devices_Input_IMouseDeviceStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_Devices_Input_IMouseDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::MouseDelta) consume_Windows_Devices_Input_IMouseEventArgs<D>::MouseDelta() const
+ template <typename D> auto consume_Windows_Devices_Input_IMouseEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Input_IPenButtonListener<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Devices_Input_IPenButtonListener<D>::IsSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenButtonListener)->IsSupported(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_IPenButtonListener<D>::IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_IPenButtonListener<D>::IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Input_IPenButtonListener<D>::IsSupportedChanged_revoker consume_Windows_Devices_Input_IPenButtonListener<D>::IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_IPenButtonListener<D>::IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, IsSupportedChanged_revoker>(this, IsSupportedChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_IPenButtonListener<D>::IsSupportedChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Input_IPenButtonListener<D>::IsSupportedChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenButtonListener)->remove_IsSupportedChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonClickedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonClickedEventArgs> 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 D> typename consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonClicked_revoker consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonClickedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonClickedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TailButtonClicked_revoker>(this, TailButtonClicked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonClicked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonClicked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenButtonListener)->remove_TailButtonClicked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonDoubleClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonDoubleClickedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonDoubleClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonDoubleClickedEventArgs> 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 D> typename consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonDoubleClicked_revoker consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonDoubleClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonDoubleClickedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonDoubleClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonDoubleClickedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TailButtonDoubleClicked_revoker>(this, TailButtonDoubleClicked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonDoubleClicked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonDoubleClicked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenButtonListener)->remove_TailButtonDoubleClicked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonLongPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonLongPressedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonLongPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonLongPressedEventArgs> 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 D> typename consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonLongPressed_revoker consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonLongPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonLongPressedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonLongPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonLongPressedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TailButtonLongPressed_revoker>(this, TailButtonLongPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonLongPressed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Input_IPenButtonListener<D>::TailButtonLongPressed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenButtonListener)->remove_TailButtonLongPressed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PenButtonListener) consume_Windows_Devices_Input_IPenButtonListenerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Devices_Input_IPenButtonListenerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_Input_IPenDevice<D>::PenId() const
+ template <typename D> auto consume_Windows_Devices_Input_IPenDevice<D>::PenId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenDevice)->get_PenId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PenDevice) consume_Windows_Devices_Input_IPenDeviceStatics<D>::GetFromPointerId(uint32_t pointerId) const
+ template <typename D> auto consume_Windows_Devices_Input_IPenDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Input_IPenDockListener<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Devices_Input_IPenDockListener<D>::IsSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenDockListener)->IsSupported(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_IPenDockListener<D>::IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_IPenDockListener<D>::IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Input_IPenDockListener<D>::IsSupportedChanged_revoker consume_Windows_Devices_Input_IPenDockListener<D>::IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_IPenDockListener<D>::IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, IsSupportedChanged_revoker>(this, IsSupportedChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_IPenDockListener<D>::IsSupportedChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Input_IPenDockListener<D>::IsSupportedChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenDockListener)->remove_IsSupportedChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_IPenDockListener<D>::Docked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Devices::Input::PenDockedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_IPenDockListener<D>::Docked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Devices::Input::PenDockedEventArgs> 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 D> typename consume_Windows_Devices_Input_IPenDockListener<D>::Docked_revoker consume_Windows_Devices_Input_IPenDockListener<D>::Docked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Devices::Input::PenDockedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_IPenDockListener<D>::Docked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Devices::Input::PenDockedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Docked_revoker>(this, Docked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_IPenDockListener<D>::Docked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Input_IPenDockListener<D>::Docked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenDockListener)->remove_Docked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Input_IPenDockListener<D>::Undocked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Devices::Input::PenUndockedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_IPenDockListener<D>::Undocked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Devices::Input::PenUndockedEventArgs> 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 D> typename consume_Windows_Devices_Input_IPenDockListener<D>::Undocked_revoker consume_Windows_Devices_Input_IPenDockListener<D>::Undocked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Devices::Input::PenUndockedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Input_IPenDockListener<D>::Undocked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Devices::Input::PenUndockedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Undocked_revoker>(this, Undocked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Input_IPenDockListener<D>::Undocked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Input_IPenDockListener<D>::Undocked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPenDockListener)->remove_Undocked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PenDockListener) consume_Windows_Devices_Input_IPenDockListenerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Devices_Input_IPenDockListenerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_Devices_Input_IPointerDevice<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_Devices_Input_IPointerDevice<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPointerDevice)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Input_IPointerDevice<D>::IsIntegrated() const
+ template <typename D> auto consume_Windows_Devices_Input_IPointerDevice<D>::IsIntegrated() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPointerDevice)->get_IsIntegrated(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Input_IPointerDevice<D>::MaxContacts() const
+ template <typename D> auto consume_Windows_Devices_Input_IPointerDevice<D>::MaxContacts() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPointerDevice)->get_MaxContacts(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Devices_Input_IPointerDevice<D>::PhysicalDeviceRect() const
+ template <typename D> auto consume_Windows_Devices_Input_IPointerDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Devices_Input_IPointerDevice<D>::ScreenRect() const
+ template <typename D> auto consume_Windows_Devices_Input_IPointerDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Input::PointerDeviceUsage>) consume_Windows_Devices_Input_IPointerDevice<D>::SupportedUsages() const
+ template <typename D> auto consume_Windows_Devices_Input_IPointerDevice<D>::SupportedUsages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPointerDevice)->get_SupportedUsages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Input::PointerDeviceUsage>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Input_IPointerDevice2<D>::MaxPointersWithZDistance() const
+ template <typename D> auto consume_Windows_Devices_Input_IPointerDevice2<D>::MaxPointersWithZDistance() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPointerDevice2)->get_MaxPointersWithZDistance(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDevice) consume_Windows_Devices_Input_IPointerDeviceStatics<D>::GetPointerDevice(uint32_t pointerId) const
+ template <typename D> auto consume_Windows_Devices_Input_IPointerDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Input::PointerDevice>) consume_Windows_Devices_Input_IPointerDeviceStatics<D>::GetPointerDevices() const
+ template <typename D> auto consume_Windows_Devices_Input_IPointerDeviceStatics<D>::GetPointerDevices() const
{
void* pointerDevices{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::IPointerDeviceStatics)->GetPointerDevices(&pointerDevices));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Input::PointerDevice>{ pointerDevices, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Input_ITouchCapabilities<D>::TouchPresent() const
+ template <typename D> auto consume_Windows_Devices_Input_ITouchCapabilities<D>::TouchPresent() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::ITouchCapabilities)->get_TouchPresent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Input_ITouchCapabilities<D>::Contacts() const
+ template <typename D> auto consume_Windows_Devices_Input_ITouchCapabilities<D>::Contacts() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Input::ITouchCapabilities)->get_Contacts(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Lights.Effects.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Lights.Effects.h
index 98dd9e0f32a..c308c14aa3f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Lights.Effects.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::Duration() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::Duration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::StartDelay() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::UpdateInterval() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::UpdateInterval(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::SuggestedBitmapSize() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::BitmapRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Lights::Effects::LampArrayBitmapEffect, winrt::Windows::Devices::Lights::Effects::LampArrayBitmapRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::BitmapRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Lights::Effects::LampArrayBitmapEffect, winrt::Windows::Devices::Lights::Effects::LampArrayBitmapRequestedEventArgs> 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 D> typename consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::BitmapRequested_revoker consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::BitmapRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Lights::Effects::LampArrayBitmapEffect, winrt::Windows::Devices::Lights::Effects::LampArrayBitmapRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::BitmapRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Lights::Effects::LampArrayBitmapEffect, winrt::Windows::Devices::Lights::Effects::LampArrayBitmapRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, BitmapRequested_revoker>(this, BitmapRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::BitmapRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffect<D>::BitmapRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect)->remove_BitmapRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayBitmapEffect) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffectFactory<D>::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view<int32_t const> lampIndexes) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapEffectFactory<D>::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view<int32_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapRequestedEventArgs<D>::SinceStarted() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBitmapRequestedEventArgs<D>::UpdateBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBitmapRequestedEventArgs<D>::UpdateBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapRequestedEventArgs)->UpdateBitmap(*(void**)(&bitmap)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::Color() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::AttackDuration() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::AttackDuration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::SustainDuration() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::SustainDuration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::DecayDuration() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::DecayDuration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::RepetitionDelay() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::RepetitionDelay(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::StartDelay() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::Occurrences() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::Occurrences() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_Occurrences(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::Occurrences(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::Occurrences(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->put_Occurrences(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::RepetitionMode() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::RepetitionMode() const
{
winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect)->get_RepetitionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::RepetitionMode(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffect<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayBlinkEffect) consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffectFactory<D>::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view<int32_t const> lampIndexes) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayBlinkEffectFactory<D>::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view<int32_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect<D>::Color() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect<D>::RampDuration() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect<D>::RampDuration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect<D>::StartDelay() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect<D>::StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect<D>::CompletionBehavior() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect<D>::CompletionBehavior() const
{
winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect)->get_CompletionBehavior(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect<D>::CompletionBehavior(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffect<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayColorRampEffect) consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffectFactory<D>::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view<int32_t const> lampIndexes) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayColorRampEffectFactory<D>::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view<int32_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect<D>::Duration() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect<D>::Duration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect<D>::UpdateInterval() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect<D>::UpdateInterval(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect<D>::UpdateRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Lights::Effects::LampArrayCustomEffect, winrt::Windows::Devices::Lights::Effects::LampArrayUpdateRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect<D>::UpdateRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Lights::Effects::LampArrayCustomEffect, winrt::Windows::Devices::Lights::Effects::LampArrayUpdateRequestedEventArgs> 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 D> typename consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect<D>::UpdateRequested_revoker consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect<D>::UpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Lights::Effects::LampArrayCustomEffect, winrt::Windows::Devices::Lights::Effects::LampArrayUpdateRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect<D>::UpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Lights::Effects::LampArrayCustomEffect, winrt::Windows::Devices::Lights::Effects::LampArrayUpdateRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, UpdateRequested_revoker>(this, UpdateRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect<D>::UpdateRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffect<D>::UpdateRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect)->remove_UpdateRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayCustomEffect) consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffectFactory<D>::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view<int32_t const> lampIndexes) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayCustomEffectFactory<D>::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view<int32_t const> 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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_Effects_ILampArrayEffect<D>::ZIndex() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayEffect<D>::ZIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffect)->get_ZIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffect<D>::ZIndex(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayEffect<D>::ZIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffect)->put_ZIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::Append(winrt::Windows::Devices::Lights::Effects::ILampArrayEffect const& effect) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::OverrideZIndex(int32_t zIndex) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::OverrideZIndex(int32_t zIndex) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->OverrideZIndex(zIndex));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::Pause() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::Pause() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->Pause());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayEffectStartMode) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::EffectStartMode() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::EffectStartMode() const
{
winrt::Windows::Devices::Lights::Effects::LampArrayEffectStartMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->get_EffectStartMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::EffectStartMode(winrt::Windows::Devices::Lights::Effects::LampArrayEffectStartMode const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::Occurrences() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::Occurrences() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->get_Occurrences(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::Occurrences(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::Occurrences(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->put_Occurrences(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::RepetitionMode() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::RepetitionMode() const
{
winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist)->get_RepetitionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::RepetitionMode(winrt::Windows::Devices::Lights::Effects::LampArrayRepetitionMode const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylist<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics<D>::StartAll(param::iterable<winrt::Windows::Devices::Lights::Effects::LampArrayEffectPlaylist> const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics<D>::StartAll(param::iterable<winrt::Windows::Devices::Lights::Effects::LampArrayEffectPlaylist> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylistStatics)->StartAll(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics<D>::StopAll(param::iterable<winrt::Windows::Devices::Lights::Effects::LampArrayEffectPlaylist> const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics<D>::StopAll(param::iterable<winrt::Windows::Devices::Lights::Effects::LampArrayEffectPlaylist> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylistStatics)->StopAll(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics<D>::PauseAll(param::iterable<winrt::Windows::Devices::Lights::Effects::LampArrayEffectPlaylist> const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics<D>::PauseAll(param::iterable<winrt::Windows::Devices::Lights::Effects::LampArrayEffectPlaylist> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylistStatics)->PauseAll(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect<D>::Color() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect<D>::Duration() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect<D>::Duration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect<D>::StartDelay() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect<D>::StartDelay(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect<D>::CompletionBehavior() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect<D>::CompletionBehavior() const
{
winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect)->get_CompletionBehavior(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect<D>::CompletionBehavior(winrt::Windows::Devices::Lights::Effects::LampArrayEffectCompletionBehavior const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffect<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::Effects::LampArraySolidEffect) consume_Windows_Devices_Lights_Effects_ILampArraySolidEffectFactory<D>::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view<int32_t const> lampIndexes) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArraySolidEffectFactory<D>::CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view<int32_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs<D>::SinceStarted() const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs<D>::SetColor(winrt::Windows::UI::Color const& desiredColor) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs<D>::SetColorForIndex(int32_t lampIndex, winrt::Windows::UI::Color const& desiredColor) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs<D>::SetSingleColorForIndices(winrt::Windows::UI::Color const& desiredColor, array_view<int32_t const> lampIndexes) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs<D>::SetSingleColorForIndices(winrt::Windows::UI::Color const& desiredColor, array_view<int32_t const> lampIndexes) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::Effects::ILampArrayUpdateRequestedEventArgs)->SetSingleColorForIndices(impl::bind_in(desiredColor), lampIndexes.size(), get_abi(lampIndexes)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs<D>::SetColorsForIndices(array_view<winrt::Windows::UI::Color const> desiredColors, array_view<int32_t const> lampIndexes) const
+ template <typename D> auto consume_Windows_Devices_Lights_Effects_ILampArrayUpdateRequestedEventArgs<D>::SetColorsForIndices(array_view<winrt::Windows::UI::Color const> desiredColors, array_view<int32_t const> 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Lights.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Lights.h
index cb99c385c7f..b8fecc0296b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Lights.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Lights_ILamp<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILamp<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Lights_ILamp<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILamp<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILamp)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILamp<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILamp<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILamp)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Lights_ILamp<D>::BrightnessLevel() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILamp<D>::BrightnessLevel() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILamp)->get_BrightnessLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILamp<D>::BrightnessLevel(float value) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILamp<D>::BrightnessLevel(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILamp)->put_BrightnessLevel(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Lights_ILamp<D>::IsColorSettable() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILamp<D>::IsColorSettable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILamp)->get_IsColorSettable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Lights_ILamp<D>::Color() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILamp<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILamp<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILamp<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Lights_ILamp<D>::AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Lights::Lamp, winrt::Windows::Devices::Lights::LampAvailabilityChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILamp<D>::AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Lights::Lamp, winrt::Windows::Devices::Lights::LampAvailabilityChangedEventArgs> 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 D> typename consume_Windows_Devices_Lights_ILamp<D>::AvailabilityChanged_revoker consume_Windows_Devices_Lights_ILamp<D>::AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Lights::Lamp, winrt::Windows::Devices::Lights::LampAvailabilityChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILamp<D>::AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Lights::Lamp, winrt::Windows::Devices::Lights::LampAvailabilityChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AvailabilityChanged_revoker>(this, AvailabilityChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILamp<D>::AvailabilityChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Lights_ILamp<D>::AvailabilityChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILamp)->remove_AvailabilityChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Lights_ILampArray<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::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 <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Lights_ILampArray<D>::HardwareVendorId() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::HardwareVendorId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_HardwareVendorId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Lights_ILampArray<D>::HardwareProductId() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::HardwareProductId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_HardwareProductId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Lights_ILampArray<D>::HardwareVersion() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::HardwareVersion() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_HardwareVersion(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::LampArrayKind) consume_Windows_Devices_Lights_ILampArray<D>::LampArrayKind() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::LampArrayKind() const
{
winrt::Windows::Devices::Lights::LampArrayKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_LampArrayKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_ILampArray<D>::LampCount() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::LampCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_LampCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_ILampArray<D>::MinUpdateInterval() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Devices_Lights_ILampArray<D>::BoundingBox() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Lights_ILampArray<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Lights_ILampArray<D>::BrightnessLevel() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::BrightnessLevel() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_BrightnessLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray<D>::BrightnessLevel(double value) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::BrightnessLevel(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->put_BrightnessLevel(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Lights_ILampArray<D>::IsConnected() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::IsConnected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_IsConnected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Lights_ILampArray<D>::SupportsVirtualKeys() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::SupportsVirtualKeys() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->get_SupportsVirtualKeys(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::LampInfo) consume_Windows_Devices_Lights_ILampArray<D>::GetLampInfo(int32_t lampIndex) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::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 <typename D> WINRT_IMPL_AUTO(com_array<int32_t>) consume_Windows_Devices_Lights_ILampArray<D>::GetIndicesForKey(winrt::Windows::System::VirtualKey const& key) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::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<int32_t>(key), &result_impl_size, &result));
return com_array<int32_t>{ result, result_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(com_array<int32_t>) consume_Windows_Devices_Lights_ILampArray<D>::GetIndicesForPurposes(winrt::Windows::Devices::Lights::LampPurposes const& purposes) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::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<uint32_t>(purposes), &result_impl_size, &result));
return com_array<int32_t>{ result, result_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray<D>::SetColor(winrt::Windows::UI::Color const& desiredColor) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::SetColor(winrt::Windows::UI::Color const& desiredColor) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->SetColor(impl::bind_in(desiredColor)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray<D>::SetColorForIndex(int32_t lampIndex, winrt::Windows::UI::Color const& desiredColor) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray<D>::SetSingleColorForIndices(winrt::Windows::UI::Color const& desiredColor, array_view<int32_t const> lampIndexes) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::SetSingleColorForIndices(winrt::Windows::UI::Color const& desiredColor, array_view<int32_t const> lampIndexes) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->SetSingleColorForIndices(impl::bind_in(desiredColor), lampIndexes.size(), get_abi(lampIndexes)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray<D>::SetColorsForIndices(array_view<winrt::Windows::UI::Color const> desiredColors, array_view<int32_t const> lampIndexes) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::SetColorsForIndices(array_view<winrt::Windows::UI::Color const> desiredColors, array_view<int32_t const> lampIndexes) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->SetColorsForIndices(desiredColors.size(), get_abi(desiredColors), lampIndexes.size(), get_abi(lampIndexes)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray<D>::SetColorsForKey(winrt::Windows::UI::Color const& desiredColor, winrt::Windows::System::VirtualKey const& key) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::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<int32_t>(key)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray<D>::SetColorsForKeys(array_view<winrt::Windows::UI::Color const> desiredColors, array_view<winrt::Windows::System::VirtualKey const> keys) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::SetColorsForKeys(array_view<winrt::Windows::UI::Color const> desiredColors, array_view<winrt::Windows::System::VirtualKey const> keys) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArray)->SetColorsForKeys(desiredColors.size(), get_abi(desiredColors), keys.size(), get_abi(keys)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Lights_ILampArray<D>::SetColorsForPurposes(winrt::Windows::UI::Color const& desiredColor, winrt::Windows::Devices::Lights::LampPurposes const& purposes) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::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<uint32_t>(purposes)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Lights_ILampArray<D>::SendMessageAsync(int32_t messageId, winrt::Windows::Storage::Streams::IBuffer const& message) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Devices_Lights_ILampArray<D>::RequestMessageAsync(int32_t messageId) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArray<D>::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<winrt::Windows::Storage::Streams::IBuffer>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Lights_ILampArrayStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArrayStatics<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampArrayStatics)->GetDeviceSelector(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Lights::LampArray>) consume_Windows_Devices_Lights_ILampArrayStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampArrayStatics<D>::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<winrt::Windows::Devices::Lights::LampArray>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Lights_ILampAvailabilityChangedEventArgs<D>::IsAvailable() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampAvailabilityChangedEventArgs<D>::IsAvailable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampAvailabilityChangedEventArgs)->get_IsAvailable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_ILampInfo<D>::Index() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampInfo<D>::Index() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampInfo)->get_Index(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Lights::LampPurposes) consume_Windows_Devices_Lights_ILampInfo<D>::Purposes() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampInfo<D>::Purposes() const
{
winrt::Windows::Devices::Lights::LampPurposes value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampInfo)->get_Purposes(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Devices_Lights_ILampInfo<D>::Position() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampInfo<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_ILampInfo<D>::RedLevelCount() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampInfo<D>::RedLevelCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampInfo)->get_RedLevelCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_ILampInfo<D>::GreenLevelCount() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampInfo<D>::GreenLevelCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampInfo)->get_GreenLevelCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_ILampInfo<D>::BlueLevelCount() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampInfo<D>::BlueLevelCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampInfo)->get_BlueLevelCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Lights_ILampInfo<D>::GainLevelCount() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampInfo<D>::GainLevelCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampInfo)->get_GainLevelCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_Devices_Lights_ILampInfo<D>::FixedColor() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampInfo<D>::FixedColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampInfo)->get_FixedColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Devices_Lights_ILampInfo<D>::GetNearestSupportedColor(winrt::Windows::UI::Color const& desiredColor) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Lights_ILampInfo<D>::UpdateLatency() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Lights_ILampStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampStatics<D>::GetDeviceSelector() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampStatics)->GetDeviceSelector(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Lights::Lamp>) consume_Windows_Devices_Lights_ILampStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampStatics<D>::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<winrt::Windows::Devices::Lights::Lamp>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Lights::Lamp>) consume_Windows_Devices_Lights_ILampStatics<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_Lights_ILampStatics<D>::GetDefaultAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Lights::ILampStatics)->GetDefaultAsync(&operation));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Midi.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Midi.h
index 002d84fc8ac..12c6e5b8dbc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Midi.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiChannelPressureMessage<D>::Channel() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiChannelPressureMessage<D>::Channel() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiChannelPressureMessage)->get_Channel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiChannelPressureMessage<D>::Pressure() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiChannelPressureMessage<D>::Pressure() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiChannelPressureMessage)->get_Pressure(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiChannelPressureMessage) consume_Windows_Devices_Midi_IMidiChannelPressureMessageFactory<D>::CreateMidiChannelPressureMessage(uint8_t channel, uint8_t pressure) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiChannelPressureMessageFactory<D>::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 <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiControlChangeMessage<D>::Channel() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiControlChangeMessage<D>::Channel() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiControlChangeMessage)->get_Channel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiControlChangeMessage<D>::Controller() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiControlChangeMessage<D>::Controller() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiControlChangeMessage)->get_Controller(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiControlChangeMessage<D>::ControlValue() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiControlChangeMessage<D>::ControlValue() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiControlChangeMessage)->get_ControlValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiControlChangeMessage) consume_Windows_Devices_Midi_IMidiControlChangeMessageFactory<D>::CreateMidiControlChangeMessage(uint8_t channel, uint8_t controller, uint8_t controlValue) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiControlChangeMessageFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Midi_IMidiInPort<D>::MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Midi::MidiInPort, winrt::Windows::Devices::Midi::MidiMessageReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiInPort<D>::MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Midi::MidiInPort, winrt::Windows::Devices::Midi::MidiMessageReceivedEventArgs> 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 D> typename consume_Windows_Devices_Midi_IMidiInPort<D>::MessageReceived_revoker consume_Windows_Devices_Midi_IMidiInPort<D>::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Midi::MidiInPort, winrt::Windows::Devices::Midi::MidiMessageReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiInPort<D>::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Midi::MidiInPort, winrt::Windows::Devices::Midi::MidiMessageReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MessageReceived_revoker>(this, MessageReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Midi_IMidiInPort<D>::MessageReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiInPort<D>::MessageReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiInPort)->remove_MessageReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Midi_IMidiInPort<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiInPort<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Midi::MidiInPort>) consume_Windows_Devices_Midi_IMidiInPortStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiInPortStatics<D>::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<winrt::Windows::Devices::Midi::MidiInPort>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Midi_IMidiInPortStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiInPortStatics<D>::GetDeviceSelector() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiInPortStatics)->GetDeviceSelector(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Midi_IMidiMessage<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiMessage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Midi_IMidiMessage<D>::RawData() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiMessage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiMessageType) consume_Windows_Devices_Midi_IMidiMessage<D>::Type() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiMessage<D>::Type() const
{
winrt::Windows::Devices::Midi::MidiMessageType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiMessage)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::IMidiMessage) consume_Windows_Devices_Midi_IMidiMessageReceivedEventArgs<D>::Message() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiMessageReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiNoteOffMessage<D>::Channel() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiNoteOffMessage<D>::Channel() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiNoteOffMessage)->get_Channel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiNoteOffMessage<D>::Note() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiNoteOffMessage<D>::Note() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiNoteOffMessage)->get_Note(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiNoteOffMessage<D>::Velocity() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiNoteOffMessage<D>::Velocity() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiNoteOffMessage)->get_Velocity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiNoteOffMessage) consume_Windows_Devices_Midi_IMidiNoteOffMessageFactory<D>::CreateMidiNoteOffMessage(uint8_t channel, uint8_t note, uint8_t velocity) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiNoteOffMessageFactory<D>::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 <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiNoteOnMessage<D>::Channel() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiNoteOnMessage<D>::Channel() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiNoteOnMessage)->get_Channel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiNoteOnMessage<D>::Note() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiNoteOnMessage<D>::Note() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiNoteOnMessage)->get_Note(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiNoteOnMessage<D>::Velocity() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiNoteOnMessage<D>::Velocity() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiNoteOnMessage)->get_Velocity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiNoteOnMessage) consume_Windows_Devices_Midi_IMidiNoteOnMessageFactory<D>::CreateMidiNoteOnMessage(uint8_t channel, uint8_t note, uint8_t velocity) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiNoteOnMessageFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Midi_IMidiOutPort<D>::SendMessage(winrt::Windows::Devices::Midi::IMidiMessage const& midiMessage) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiOutPort<D>::SendMessage(winrt::Windows::Devices::Midi::IMidiMessage const& midiMessage) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiOutPort)->SendMessage(*(void**)(&midiMessage)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Midi_IMidiOutPort<D>::SendBuffer(winrt::Windows::Storage::Streams::IBuffer const& midiData) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiOutPort<D>::SendBuffer(winrt::Windows::Storage::Streams::IBuffer const& midiData) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiOutPort)->SendBuffer(*(void**)(&midiData)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Midi_IMidiOutPort<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiOutPort<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Midi::IMidiOutPort>) consume_Windows_Devices_Midi_IMidiOutPortStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiOutPortStatics<D>::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<winrt::Windows::Devices::Midi::IMidiOutPort>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Midi_IMidiOutPortStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiOutPortStatics<D>::GetDeviceSelector() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiOutPortStatics)->GetDeviceSelector(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiPitchBendChangeMessage<D>::Channel() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiPitchBendChangeMessage<D>::Channel() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiPitchBendChangeMessage)->get_Channel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Midi_IMidiPitchBendChangeMessage<D>::Bend() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiPitchBendChangeMessage<D>::Bend() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiPitchBendChangeMessage)->get_Bend(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiPitchBendChangeMessage) consume_Windows_Devices_Midi_IMidiPitchBendChangeMessageFactory<D>::CreateMidiPitchBendChangeMessage(uint8_t channel, uint16_t bend) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiPitchBendChangeMessageFactory<D>::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 <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessage<D>::Channel() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessage<D>::Channel() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiPolyphonicKeyPressureMessage)->get_Channel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessage<D>::Note() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessage<D>::Note() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiPolyphonicKeyPressureMessage)->get_Note(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessage<D>::Pressure() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessage<D>::Pressure() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiPolyphonicKeyPressureMessage)->get_Pressure(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiPolyphonicKeyPressureMessage) consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessageFactory<D>::CreateMidiPolyphonicKeyPressureMessage(uint8_t channel, uint8_t note, uint8_t pressure) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiPolyphonicKeyPressureMessageFactory<D>::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 <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiProgramChangeMessage<D>::Channel() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiProgramChangeMessage<D>::Channel() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiProgramChangeMessage)->get_Channel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiProgramChangeMessage<D>::Program() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiProgramChangeMessage<D>::Program() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiProgramChangeMessage)->get_Program(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiProgramChangeMessage) consume_Windows_Devices_Midi_IMidiProgramChangeMessageFactory<D>::CreateMidiProgramChangeMessage(uint8_t channel, uint8_t program) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiProgramChangeMessageFactory<D>::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 <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_Midi_IMidiSongPositionPointerMessage<D>::Beats() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiSongPositionPointerMessage<D>::Beats() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiSongPositionPointerMessage)->get_Beats(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiSongPositionPointerMessage) consume_Windows_Devices_Midi_IMidiSongPositionPointerMessageFactory<D>::CreateMidiSongPositionPointerMessage(uint16_t beats) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiSongPositionPointerMessageFactory<D>::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 <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiSongSelectMessage<D>::Song() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiSongSelectMessage<D>::Song() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiSongSelectMessage)->get_Song(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiSongSelectMessage) consume_Windows_Devices_Midi_IMidiSongSelectMessageFactory<D>::CreateMidiSongSelectMessage(uint8_t song) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiSongSelectMessageFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_Midi_IMidiSynthesizer<D>::AudioDevice() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiSynthesizer<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Midi_IMidiSynthesizer<D>::Volume() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiSynthesizer<D>::Volume() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiSynthesizer)->get_Volume(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Midi_IMidiSynthesizer<D>::Volume(double value) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiSynthesizer<D>::Volume(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiSynthesizer)->put_Volume(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Midi::MidiSynthesizer>) consume_Windows_Devices_Midi_IMidiSynthesizerStatics<D>::CreateAsync() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiSynthesizerStatics<D>::CreateAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiSynthesizerStatics)->CreateAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Midi::MidiSynthesizer>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Midi::MidiSynthesizer>) consume_Windows_Devices_Midi_IMidiSynthesizerStatics<D>::CreateAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& audioDevice) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiSynthesizerStatics<D>::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<winrt::Windows::Devices::Midi::MidiSynthesizer>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Midi_IMidiSynthesizerStatics<D>::IsSynthesizer(winrt::Windows::Devices::Enumeration::DeviceInformation const& midiDevice) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiSynthesizerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiSystemExclusiveMessage) consume_Windows_Devices_Midi_IMidiSystemExclusiveMessageFactory<D>::CreateMidiSystemExclusiveMessage(winrt::Windows::Storage::Streams::IBuffer const& rawData) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiSystemExclusiveMessageFactory<D>::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 <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiTimeCodeMessage<D>::FrameType() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiTimeCodeMessage<D>::FrameType() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiTimeCodeMessage)->get_FrameType(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Midi_IMidiTimeCodeMessage<D>::Values() const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiTimeCodeMessage<D>::Values() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Midi::IMidiTimeCodeMessage)->get_Values(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::MidiTimeCodeMessage) consume_Windows_Devices_Midi_IMidiTimeCodeMessageFactory<D>::CreateMidiTimeCodeMessage(uint8_t frameType, uint8_t values) const
+ template <typename D> auto consume_Windows_Devices_Midi_IMidiTimeCodeMessageFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Perception.Provider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Perception.Provider.h
index 806c9a0ba2d..4a3f772b252 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Perception.Provider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IKnownPerceptionFrameKindStatics<D>::Color() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IKnownPerceptionFrameKindStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IKnownPerceptionFrameKindStatics<D>::Depth() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IKnownPerceptionFrameKindStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IKnownPerceptionFrameKindStatics<D>::Infrared() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IKnownPerceptionFrameKindStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Devices_Perception_Provider_IPerceptionControlGroup<D>::FrameProviderIds() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionControlGroup<D>::FrameProviderIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionControlGroup)->get_FrameProviderIds(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup) consume_Windows_Devices_Perception_Provider_IPerceptionControlGroupFactory<D>::Create(param::iterable<hstring> const& ids) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionControlGroupFactory<D>::Create(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IPerceptionCorrelation<D>::TargetId() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionCorrelation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Devices_Perception_Provider_IPerceptionCorrelation<D>::Position() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionCorrelation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_Devices_Perception_Provider_IPerceptionCorrelation<D>::Orientation() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionCorrelation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionCorrelation) consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationFactory<D>::Create(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::Provider::PerceptionCorrelation>) consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationGroup<D>::RelativeLocations() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationGroup<D>::RelativeLocations() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionCorrelationGroup)->get_RelativeLocations(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::Provider::PerceptionCorrelation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup) consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationGroupFactory<D>::Create(param::iterable<winrt::Windows::Devices::Perception::Provider::PerceptionCorrelation> const& relativeLocations) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationGroupFactory<D>::Create(param::iterable<winrt::Windows::Devices::Perception::Provider::PerceptionCorrelation> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Devices_Perception_Provider_IPerceptionFaceAuthenticationGroup<D>::FrameProviderIds() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFaceAuthenticationGroup<D>::FrameProviderIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFaceAuthenticationGroup)->get_FrameProviderIds(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup) consume_Windows_Devices_Perception_Provider_IPerceptionFaceAuthenticationGroupFactory<D>::Create(param::iterable<hstring> const& ids, winrt::Windows::Devices::Perception::Provider::PerceptionStartFaceAuthenticationHandler const& startHandler, winrt::Windows::Devices::Perception::Provider::PerceptionStopFaceAuthenticationHandler const& stopHandler) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFaceAuthenticationGroupFactory<D>::Create(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Perception_Provider_IPerceptionFrame<D>::RelativeTime() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrame<D>::RelativeTime(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Devices_Perception_Provider_IPerceptionFrame<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IMemoryBuffer) consume_Windows_Devices_Perception_Provider_IPerceptionFrame<D>::FrameData() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider<D>::FrameProviderInfo() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider<D>::Available() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider<D>::Available() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider)->get_Available(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider<D>::SetProperty(winrt::Windows::Devices::Perception::Provider::PerceptionPropertyChangeRequest const& value) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProvider<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::Id(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::Id(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo)->put_Id(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::DeviceKind() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::DeviceKind(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::DeviceKind(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo)->put_DeviceKind(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::FrameKind() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::FrameKind(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::FrameKind(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo)->put_FrameKind(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::Hidden() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::Hidden() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo)->get_Hidden(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::Hidden(bool value) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderInfo<D>::Hidden(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo)->put_Hidden(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManager<D>::GetFrameProvider(winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::RegisterFrameProviderInfo(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::UnregisterFrameProviderInfo(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFrameProviderInfo const& frameProviderInfo) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::RegisterFaceAuthenticationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup const& faceAuthenticationGroup) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::UnregisterFaceAuthenticationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup const& faceAuthenticationGroup) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::RegisterControlGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup const& controlGroup) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::UnregisterControlGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup const& controlGroup) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::RegisterCorrelationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup const& correlationGroup) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::UnregisterCorrelationGroup(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager const& manager, winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup const& correlationGroup) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::UpdateAvailabilityForProvider(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider const& provider, bool available) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::PublishFrameForProvider(winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider const& provider, winrt::Windows::Devices::Perception::Provider::PerceptionFrame const& frame) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionFrameProviderManagerServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest<D>::Name() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest<D>::Value() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeStatus) consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest<D>::Status() const
{
winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionPropertyChangeRequest)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest<D>::Status(winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeStatus const& value) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest<D>::Status(winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeStatus const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::Provider::IPerceptionPropertyChangeRequest)->put_Status(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionPropertyChangeRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionFrame) consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocator<D>::AllocateFrame() const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionFrame) consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocator<D>::CopyFromVideoFrame(winrt::Windows::Media::VideoFrame const& frame) const
+ template <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionVideoFrameAllocator) consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocatorFactory<D>::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 <typename D> auto consume_Windows_Devices_Perception_Provider_IPerceptionVideoFrameAllocatorFactory<D>::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<int32_t>(format), impl::bind_in(resolution), static_cast<int32_t>(alpha), &result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Perception.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Perception.h
index 86a1959608a..0bb20bd69b0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Perception.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics<D>::FocalLength() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics<D>::PrincipalPoint() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics<D>::RadialDistortion() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics<D>::TangentialDistortion() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownCameraIntrinsicsPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionColorFrameSourcePropertiesStatics<D>::Exposure() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionColorFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionColorFrameSourcePropertiesStatics<D>::AutoExposureEnabled() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionColorFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionColorFrameSourcePropertiesStatics<D>::ExposureCompensation() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionColorFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionDepthFrameSourcePropertiesStatics<D>::MinDepth() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionDepthFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionDepthFrameSourcePropertiesStatics<D>::MaxDepth() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionDepthFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics<D>::PhysicalDeviceIds() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics<D>::FrameKind() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics<D>::DeviceModelVersion() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics<D>::EnclosureLocation() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics2<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics<D>::Exposure() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics<D>::AutoExposureEnabled() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics<D>::ExposureCompensation() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics<D>::ActiveIlluminationEnabled() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics<D>::AmbientSubtractionEnabled() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics<D>::StructureLightPatternEnabled() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics<D>::InterleavedIlluminationEnabled() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionInfraredFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics<D>::VideoProfile() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics<D>::SupportedVideoProfiles() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics<D>::AvailableVideoProfiles() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics<D>::IsMirrored() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics<D>::CameraIntrinsics() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionVideoFrameSourcePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics<D>::BitmapPixelFormat() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics<D>::BitmapAlphaMode() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics<D>::Width() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics<D>::Height() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics<D>::FrameDuration() const
+ template <typename D> auto consume_Windows_Devices_Perception_IKnownPerceptionVideoProfilePropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Devices_Perception_IPerceptionColorFrame<D>::VideoFrame() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Perception_IPerceptionColorFrameArrivedEventArgs<D>::RelativeTime() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameArrivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrame) consume_Windows_Devices_Perception_IPerceptionColorFrameArrivedEventArgs<D>::TryOpenFrame() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameArrivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameReader<D>::FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameReader, winrt::Windows::Devices::Perception::PerceptionColorFrameArrivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameReader<D>::FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameReader, winrt::Windows::Devices::Perception::PerceptionColorFrameArrivedEventArgs> 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 D> typename consume_Windows_Devices_Perception_IPerceptionColorFrameReader<D>::FrameArrived_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameReader<D>::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameReader, winrt::Windows::Devices::Perception::PerceptionColorFrameArrivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameReader<D>::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameReader, winrt::Windows::Devices::Perception::PerceptionColorFrameArrivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FrameArrived_revoker>(this, FrameArrived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameReader<D>::FrameArrived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameReader<D>::FrameArrived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameReader)->remove_FrameArrived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameSource) consume_Windows_Devices_Perception_IPerceptionColorFrameReader<D>::Source() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameReader<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionColorFrameReader<D>::IsPaused() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameReader<D>::IsPaused() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameReader)->get_IsPaused(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameReader<D>::IsPaused(bool value) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameReader<D>::IsPaused(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameReader)->put_IsPaused(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrame) consume_Windows_Devices_Perception_IPerceptionColorFrameReader<D>::TryReadLatestFrame() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::AvailableChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::AvailableChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::AvailableChanged_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, AvailableChanged_revoker>(this, AvailableChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::AvailableChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::AvailableChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->remove_AvailableChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::ActiveChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::ActiveChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::ActiveChanged_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ActiveChanged_revoker>(this, ActiveChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::ActiveChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::ActiveChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->remove_ActiveChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> 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 D> typename consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::PropertiesChanged_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PropertiesChanged_revoker>(this, PropertiesChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::PropertiesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::PropertiesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->remove_PropertiesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::VideoProfileChanged_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, VideoProfileChanged_revoker>(this, VideoProfileChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::VideoProfileChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::VideoProfileChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->remove_VideoProfileChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::CameraIntrinsicsChanged_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, CameraIntrinsicsChanged_revoker>(this, CameraIntrinsicsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->remove_CameraIntrinsicsChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::DeviceKind() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::Available() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::Available() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->get_Available(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::Active() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::Active() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->get_Active(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::IsControlled() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::IsControlled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->get_IsControlled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::SupportedVideoProfiles() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::SupportedVideoProfiles() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->get_SupportedVideoProfiles(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::AvailableVideoProfiles() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::AvailableVideoProfiles() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSource)->get_AvailableVideoProfiles(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionVideoProfile) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::VideoProfile() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::CameraIntrinsics() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionControlSession) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::AcquireControlSession() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::CanControlIndependentlyFrom(param::hstring const& targetId) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::IsCorrelatedWith(param::hstring const& targetId) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCameraIntrinsics>) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& correlatedDepthFrameSource) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::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<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCameraIntrinsics>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCoordinateMapper>) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetSourceId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& correlatedDepthFrameSource) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::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<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCoordinateMapper>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeResult>) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::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<winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameReader) consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::OpenReader() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionColorFrameSource2<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSource2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameSource) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceAddedEventArgs<D>::FrameSource() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceAddedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameSource) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceRemovedEventArgs<D>::FrameSource() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceRemovedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics<D>::CreateWatcher() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionColorFrameSource>>) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics<D>::FindAllAsync() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics<D>::FindAllAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceStatics)->FindAllAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionColorFrameSource>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionColorFrameSource>) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics<D>::FromIdAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics<D>::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<winrt::Windows::Devices::Perception::PerceptionColorFrameSource>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionFrameSourceAccessStatus>) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics<D>::RequestAccessAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceStatics)->RequestAccessAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionFrameSourceAccessStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::SourceAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionColorFrameSourceAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::SourceAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionColorFrameSourceAddedEventArgs> 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 D> typename consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::SourceAdded_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionColorFrameSourceAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionColorFrameSourceAddedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SourceAdded_revoker>(this, SourceAdded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::SourceAdded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::SourceAdded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->remove_SourceAdded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::SourceRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionColorFrameSourceRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::SourceRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionColorFrameSourceRemovedEventArgs> 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 D> typename consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::SourceRemoved_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionColorFrameSourceRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionColorFrameSourceRemovedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SourceRemoved_revoker>(this, SourceRemoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::SourceRemoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::SourceRemoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->remove_SourceRemoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::Stopped_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Stopped_revoker>(this, Stopped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->remove_Stopped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::EnumerationCompleted_revoker consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EnumerationCompleted_revoker>(this, EnumerationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->remove_EnumerationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherStatus) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::Status() const
{
winrt::Windows::Devices::Enumeration::DeviceWatcherStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionControlSession<D>::ControlLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionControlSession, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionControlSession<D>::ControlLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionControlSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionControlSession<D>::ControlLost_revoker consume_Windows_Devices_Perception_IPerceptionControlSession<D>::ControlLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionControlSession, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionControlSession<D>::ControlLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionControlSession, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ControlLost_revoker>(this, ControlLost(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionControlSession<D>::ControlLost(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionControlSession<D>::ControlLost(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionControlSession)->remove_ControlLost(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeResult>) consume_Windows_Devices_Perception_IPerceptionControlSession<D>::TrySetPropertyAsync(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionControlSession<D>::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<winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics<D>::UnprojectPixelAtCorrelatedDepth(winrt::Windows::Foundation::Point const& pixelCoordinate, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics<D>::UnprojectPixelsAtCorrelatedDepth(array_view<winrt::Windows::Foundation::Point const> sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Numerics::float3> results) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics<D>::UnprojectPixelsAtCorrelatedDepth(array_view<winrt::Windows::Foundation::Point const> sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Numerics::float3> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics<D>::UnprojectRegionPixelsAtCorrelatedDepthAsync(winrt::Windows::Foundation::Rect const& region, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Numerics::float3> results) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics<D>::UnprojectRegionPixelsAtCorrelatedDepthAsync(winrt::Windows::Foundation::Rect const& region, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Numerics::float3> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics<D>::UnprojectAllPixelsAtCorrelatedDepthAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Numerics::float3> results) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCameraIntrinsics<D>::UnprojectAllPixelsAtCorrelatedDepthAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Numerics::float3> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper<D>::MapPixelToTarget(winrt::Windows::Foundation::Point const& sourcePixelCoordinate, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper<D>::MapPixelsToTarget(array_view<winrt::Windows::Foundation::Point const> sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Point> results) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper<D>::MapPixelsToTarget(array_view<winrt::Windows::Foundation::Point const> sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Point> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper<D>::MapRegionOfPixelsToTargetAsync(winrt::Windows::Foundation::Rect const& region, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Point> targetCoordinates) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper<D>::MapRegionOfPixelsToTargetAsync(winrt::Windows::Foundation::Rect const& region, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Point> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper<D>::MapAllPixelsToTargetAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Point> targetCoordinates) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthCorrelatedCoordinateMapper<D>::MapAllPixelsToTargetAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Point> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Devices_Perception_IPerceptionDepthFrame<D>::VideoFrame() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Perception_IPerceptionDepthFrameArrivedEventArgs<D>::RelativeTime() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameArrivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrame) consume_Windows_Devices_Perception_IPerceptionDepthFrameArrivedEventArgs<D>::TryOpenFrame() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameArrivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameReader<D>::FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameReader, winrt::Windows::Devices::Perception::PerceptionDepthFrameArrivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameReader<D>::FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameReader, winrt::Windows::Devices::Perception::PerceptionDepthFrameArrivedEventArgs> 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 D> typename consume_Windows_Devices_Perception_IPerceptionDepthFrameReader<D>::FrameArrived_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameReader<D>::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameReader, winrt::Windows::Devices::Perception::PerceptionDepthFrameArrivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameReader<D>::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameReader, winrt::Windows::Devices::Perception::PerceptionDepthFrameArrivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FrameArrived_revoker>(this, FrameArrived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameReader<D>::FrameArrived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameReader<D>::FrameArrived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameReader)->remove_FrameArrived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource) consume_Windows_Devices_Perception_IPerceptionDepthFrameReader<D>::Source() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameReader<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionDepthFrameReader<D>::IsPaused() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameReader<D>::IsPaused() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameReader)->get_IsPaused(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameReader<D>::IsPaused(bool value) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameReader<D>::IsPaused(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameReader)->put_IsPaused(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrame) consume_Windows_Devices_Perception_IPerceptionDepthFrameReader<D>::TryReadLatestFrame() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::AvailableChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::AvailableChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::AvailableChanged_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, AvailableChanged_revoker>(this, AvailableChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::AvailableChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::AvailableChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->remove_AvailableChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::ActiveChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::ActiveChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::ActiveChanged_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ActiveChanged_revoker>(this, ActiveChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::ActiveChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::ActiveChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->remove_ActiveChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> 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 D> typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::PropertiesChanged_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PropertiesChanged_revoker>(this, PropertiesChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::PropertiesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::PropertiesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->remove_PropertiesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::VideoProfileChanged_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, VideoProfileChanged_revoker>(this, VideoProfileChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::VideoProfileChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::VideoProfileChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->remove_VideoProfileChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::CameraIntrinsicsChanged_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, CameraIntrinsicsChanged_revoker>(this, CameraIntrinsicsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->remove_CameraIntrinsicsChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::DeviceKind() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::Available() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::Available() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->get_Available(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::Active() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::Active() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->get_Active(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::IsControlled() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::IsControlled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->get_IsControlled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::SupportedVideoProfiles() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::SupportedVideoProfiles() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->get_SupportedVideoProfiles(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::AvailableVideoProfiles() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::AvailableVideoProfiles() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource)->get_AvailableVideoProfiles(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionVideoProfile) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::VideoProfile() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::CameraIntrinsics() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionControlSession) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::AcquireControlSession() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::CanControlIndependentlyFrom(param::hstring const& targetId) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::IsCorrelatedWith(param::hstring const& targetId) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCameraIntrinsics>) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& target) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::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<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCameraIntrinsics>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCoordinateMapper>) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& depthFrameSourceToMapWith) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::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<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCoordinateMapper>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeResult>) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::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<winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameReader) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::OpenReader() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionDepthFrameSource2<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSource2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceAddedEventArgs<D>::FrameSource() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceAddedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceRemovedEventArgs<D>::FrameSource() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceRemovedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics<D>::CreateWatcher() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource>>) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics<D>::FindAllAsync() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics<D>::FindAllAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceStatics)->FindAllAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource>) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics<D>::FromIdAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics<D>::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<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionFrameSourceAccessStatus>) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics<D>::RequestAccessAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceStatics)->RequestAccessAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionFrameSourceAccessStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::SourceAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::SourceAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceAddedEventArgs> 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 D> typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::SourceAdded_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceAddedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SourceAdded_revoker>(this, SourceAdded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::SourceAdded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::SourceAdded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->remove_SourceAdded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::SourceRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::SourceRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceRemovedEventArgs> 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 D> typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::SourceRemoved_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceRemovedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SourceRemoved_revoker>(this, SourceRemoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::SourceRemoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::SourceRemoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->remove_SourceRemoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::Stopped_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Stopped_revoker>(this, Stopped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->remove_Stopped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::EnumerationCompleted_revoker consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EnumerationCompleted_revoker>(this, EnumerationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->remove_EnumerationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherStatus) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::Status() const
{
winrt::Windows::Devices::Enumeration::DeviceWatcherStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::CollectionChange) consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertiesChangedEventArgs<D>::CollectionChange() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertiesChangedEventArgs<D>::CollectionChange() const
{
winrt::Windows::Foundation::Collections::CollectionChange value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionFrameSourcePropertiesChangedEventArgs)->get_CollectionChange(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertiesChangedEventArgs<D>::Key() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertiesChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeStatus) consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertyChangeResult<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertyChangeResult<D>::Status() const
{
winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionFrameSourcePropertyChangeResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertyChangeResult<D>::NewValue() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionFrameSourcePropertyChangeResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Devices_Perception_IPerceptionInfraredFrame<D>::VideoFrame() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Perception_IPerceptionInfraredFrameArrivedEventArgs<D>::RelativeTime() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameArrivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrame) consume_Windows_Devices_Perception_IPerceptionInfraredFrameArrivedEventArgs<D>::TryOpenFrame() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameArrivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader<D>::FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameReader, winrt::Windows::Devices::Perception::PerceptionInfraredFrameArrivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader<D>::FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameReader, winrt::Windows::Devices::Perception::PerceptionInfraredFrameArrivedEventArgs> 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 D> typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader<D>::FrameArrived_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader<D>::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameReader, winrt::Windows::Devices::Perception::PerceptionInfraredFrameArrivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader<D>::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameReader, winrt::Windows::Devices::Perception::PerceptionInfraredFrameArrivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FrameArrived_revoker>(this, FrameArrived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader<D>::FrameArrived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader<D>::FrameArrived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameReader)->remove_FrameArrived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource) consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader<D>::Source() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader<D>::IsPaused() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader<D>::IsPaused() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameReader)->get_IsPaused(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader<D>::IsPaused(bool value) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader<D>::IsPaused(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameReader)->put_IsPaused(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrame) consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader<D>::TryReadLatestFrame() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::AvailableChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::AvailableChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::AvailableChanged_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, AvailableChanged_revoker>(this, AvailableChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::AvailableChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::AvailableChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->remove_AvailableChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::ActiveChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::ActiveChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::ActiveChanged_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ActiveChanged_revoker>(this, ActiveChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::ActiveChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::ActiveChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->remove_ActiveChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> 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 D> typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::PropertiesChanged_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PropertiesChanged_revoker>(this, PropertiesChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::PropertiesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::PropertiesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->remove_PropertiesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::VideoProfileChanged_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, VideoProfileChanged_revoker>(this, VideoProfileChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::VideoProfileChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::VideoProfileChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->remove_VideoProfileChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::CameraIntrinsicsChanged_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, CameraIntrinsicsChanged_revoker>(this, CameraIntrinsicsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::CameraIntrinsicsChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->remove_CameraIntrinsicsChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::DeviceKind() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::Available() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::Available() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->get_Available(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::Active() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::Active() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->get_Active(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::IsControlled() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::IsControlled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->get_IsControlled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::SupportedVideoProfiles() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::SupportedVideoProfiles() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->get_SupportedVideoProfiles(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::AvailableVideoProfiles() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::AvailableVideoProfiles() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource)->get_AvailableVideoProfiles(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionVideoProfile) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::VideoProfile() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::CameraIntrinsics() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionControlSession) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::AcquireControlSession() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::CanControlIndependentlyFrom(param::hstring const& targetId) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::IsCorrelatedWith(param::hstring const& targetId) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::TryGetTransformTo(param::hstring const& targetId, winrt::Windows::Foundation::Numerics::float4x4& result) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCameraIntrinsics>) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& target) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::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<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCameraIntrinsics>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCoordinateMapper>) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& depthFrameSourceToMapWith) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::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<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCoordinateMapper>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeResult>) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::TrySetVideoProfileAsync(winrt::Windows::Devices::Perception::PerceptionControlSession const& controlSession, winrt::Windows::Devices::Perception::PerceptionVideoProfile const& profile) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::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<winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameReader) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::OpenReader() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource2<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceAddedEventArgs<D>::FrameSource() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceAddedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceRemovedEventArgs<D>::FrameSource() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceRemovedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics<D>::CreateWatcher() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource>>) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics<D>::FindAllAsync() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics<D>::FindAllAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceStatics)->FindAllAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource>) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics<D>::FromIdAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics<D>::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<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionFrameSourceAccessStatus>) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics<D>::RequestAccessAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceStatics)->RequestAccessAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionFrameSourceAccessStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::SourceAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::SourceAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceAddedEventArgs> 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 D> typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::SourceAdded_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceAddedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SourceAdded_revoker>(this, SourceAdded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::SourceAdded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::SourceAdded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->remove_SourceAdded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::SourceRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::SourceRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceRemovedEventArgs> 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 D> typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::SourceRemoved_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceRemovedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SourceRemoved_revoker>(this, SourceRemoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::SourceRemoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::SourceRemoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->remove_SourceRemoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::Stopped_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Stopped_revoker>(this, Stopped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->remove_Stopped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::EnumerationCompleted_revoker consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EnumerationCompleted_revoker>(this, EnumerationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->remove_EnumerationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceWatcherStatus) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::Status() const
{
winrt::Windows::Devices::Enumeration::DeviceWatcherStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) consume_Windows_Devices_Perception_IPerceptionVideoProfile<D>::BitmapPixelFormat() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionVideoProfile<D>::BitmapPixelFormat() const
{
winrt::Windows::Graphics::Imaging::BitmapPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionVideoProfile)->get_BitmapPixelFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapAlphaMode) consume_Windows_Devices_Perception_IPerceptionVideoProfile<D>::BitmapAlphaMode() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionVideoProfile<D>::BitmapAlphaMode() const
{
winrt::Windows::Graphics::Imaging::BitmapAlphaMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionVideoProfile)->get_BitmapAlphaMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Perception_IPerceptionVideoProfile<D>::Width() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionVideoProfile<D>::Width() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionVideoProfile)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Perception_IPerceptionVideoProfile<D>::Height() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionVideoProfile<D>::Height() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Perception::IPerceptionVideoProfile)->get_Height(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Perception_IPerceptionVideoProfile<D>::FrameDuration() const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionVideoProfile<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Perception_IPerceptionVideoProfile<D>::IsEqual(winrt::Windows::Devices::Perception::PerceptionVideoProfile const& other) const
+ template <typename D> auto consume_Windows_Devices_Perception_IPerceptionVideoProfile<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.PointOfService.Provider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.PointOfService.Provider.h
index 2c9a8aed180..cf00a3bc6a2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.PointOfService.Provider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest2<D>::ReportFailedAsync(int32_t reason) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest2<D>::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerDisableScannerRequest) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerDisableScannerRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest2<D>::ReportFailedAsync(int32_t reason) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest2<D>::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerEnableScannerRequest) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerEnableScannerRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader<D>::StartAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader<D>::StartAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReader)->StartAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader<D>::StopAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerVideoFrame>) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader<D>::TryAcquireLatestFrameAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader<D>::TryAcquireLatestFrameAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReader)->TryAcquireLatestFrameAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerVideoFrame>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader<D>::Connection() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader<D>::FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReaderFrameArrivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader<D>::FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReaderFrameArrivedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader<D>::FrameArrived_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader<D>::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReaderFrameArrivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader<D>::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReaderFrameArrivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FrameArrived_revoker>(this, FrameArrived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader<D>::FrameArrived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader<D>::FrameArrived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReader)->remove_FrameArrived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReaderFrameArrivedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReaderFrameArrivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest<D>::Symbology() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest<D>::Symbology() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequest)->get_Symbology(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest<D>::ReportCompletedAsync(winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes const& attributes) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest2<D>::ReportFailedAsync(int32_t reason) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest2<D>::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerGetSymbologyAttributesRequest) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerGetSymbologyAttributesRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest2<D>::ReportFailedAsync(int32_t reason) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest2<D>::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerHideVideoPreviewRequest) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerHideVideoPreviewRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::VideoDeviceId() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<uint32_t>) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::SupportedSymbologies() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::SupportedSymbologies() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->get_SupportedSymbologies(&value));
return winrt::Windows::Foundation::Collections::IVector<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::CompanyName() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::CompanyName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::CompanyName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->put_CompanyName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::Name() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::Version() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::Version(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::Version(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->put_Version(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::ReportScannedDataAsync(winrt::Windows::Devices::PointOfService::BarcodeScannerReport const& report) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::ReportTriggerStateAsync(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerTriggerState const& state) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::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<int32_t>(state), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::ReportErrorAsync(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData const& errorData) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::ReportErrorAsync(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData const& errorData, bool isRetriable, winrt::Windows::Devices::PointOfService::BarcodeScannerReport const& scanReport) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::EnableScannerRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerEnableScannerRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::EnableScannerRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerEnableScannerRequestEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::EnableScannerRequested_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::EnableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerEnableScannerRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::EnableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerEnableScannerRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, EnableScannerRequested_revoker>(this, EnableScannerRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::EnableScannerRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::EnableScannerRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->remove_EnableScannerRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::DisableScannerRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerDisableScannerRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::DisableScannerRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerDisableScannerRequestEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::DisableScannerRequested_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::DisableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerDisableScannerRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::DisableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerDisableScannerRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DisableScannerRequested_revoker>(this, DisableScannerRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::DisableScannerRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::DisableScannerRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->remove_DisableScannerRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::SetActiveSymbologiesRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetActiveSymbologiesRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::SetActiveSymbologiesRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetActiveSymbologiesRequestEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::SetActiveSymbologiesRequested_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::SetActiveSymbologiesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetActiveSymbologiesRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::SetActiveSymbologiesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetActiveSymbologiesRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SetActiveSymbologiesRequested_revoker>(this, SetActiveSymbologiesRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::SetActiveSymbologiesRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::SetActiveSymbologiesRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->remove_SetActiveSymbologiesRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::StartSoftwareTriggerRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStartSoftwareTriggerRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::StartSoftwareTriggerRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStartSoftwareTriggerRequestEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::StartSoftwareTriggerRequested_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::StartSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStartSoftwareTriggerRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::StartSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStartSoftwareTriggerRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StartSoftwareTriggerRequested_revoker>(this, StartSoftwareTriggerRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::StartSoftwareTriggerRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::StartSoftwareTriggerRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->remove_StartSoftwareTriggerRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::StopSoftwareTriggerRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStopSoftwareTriggerRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::StopSoftwareTriggerRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStopSoftwareTriggerRequestEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::StopSoftwareTriggerRequested_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::StopSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStopSoftwareTriggerRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::StopSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStopSoftwareTriggerRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StopSoftwareTriggerRequested_revoker>(this, StopSoftwareTriggerRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::StopSoftwareTriggerRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::StopSoftwareTriggerRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->remove_StopSoftwareTriggerRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::GetBarcodeSymbologyAttributesRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerGetSymbologyAttributesRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::GetBarcodeSymbologyAttributesRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerGetSymbologyAttributesRequestEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::GetBarcodeSymbologyAttributesRequested_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::GetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerGetSymbologyAttributesRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::GetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerGetSymbologyAttributesRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, GetBarcodeSymbologyAttributesRequested_revoker>(this, GetBarcodeSymbologyAttributesRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::GetBarcodeSymbologyAttributesRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::GetBarcodeSymbologyAttributesRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->remove_GetBarcodeSymbologyAttributesRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::SetBarcodeSymbologyAttributesRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetSymbologyAttributesRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::SetBarcodeSymbologyAttributesRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetSymbologyAttributesRequestEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::SetBarcodeSymbologyAttributesRequested_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::SetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetSymbologyAttributesRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::SetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetSymbologyAttributesRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SetBarcodeSymbologyAttributesRequested_revoker>(this, SetBarcodeSymbologyAttributesRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::SetBarcodeSymbologyAttributesRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::SetBarcodeSymbologyAttributesRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->remove_SetBarcodeSymbologyAttributesRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::HideVideoPreviewRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerHideVideoPreviewRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::HideVideoPreviewRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerHideVideoPreviewRequestEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::HideVideoPreviewRequested_revoker consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::HideVideoPreviewRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerHideVideoPreviewRequestEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::HideVideoPreviewRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerHideVideoPreviewRequestEventArgs> const& handler) const
{
return impl::make_event_revoker<D, HideVideoPreviewRequested_revoker>(this, HideVideoPreviewRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::HideVideoPreviewRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection<D>::HideVideoPreviewRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection)->remove_HideVideoPreviewRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader>) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection2<D>::CreateFrameReaderAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection2<D>::CreateFrameReaderAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection2)->CreateFrameReaderAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader>) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection2<D>::CreateFrameReaderAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& preferredFormat) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection2<D>::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<int32_t>(preferredFormat), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader>) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection2<D>::CreateFrameReaderAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& preferredFormat, winrt::Windows::Graphics::Imaging::BitmapSize const& preferredSize) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection2<D>::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<int32_t>(preferredFormat), impl::bind_in(preferredSize), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderTriggerDetails<D>::Connection() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest<D>::Symbologies() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest<D>::Symbologies() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequest)->get_Symbologies(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest2<D>::ReportFailedAsync(int32_t reason) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest2<D>::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetActiveSymbologiesRequest) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest<D>::Symbology() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest<D>::Symbology() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequest)->get_Symbology(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest<D>::Attributes() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest2<D>::ReportFailedAsync(int32_t reason) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest2<D>::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetSymbologyAttributesRequest) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetSymbologyAttributesRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest2<D>::ReportFailedAsync(int32_t reason) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest2<D>::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStartSoftwareTriggerRequest) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStartSoftwareTriggerRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest<D>::ReportCompletedAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest<D>::ReportFailedAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest2<D>::ReportFailedAsync(int32_t reason) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest2<D>::ReportFailedAsync(int32_t reason, param::hstring const& failedReasonDescription) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStopSoftwareTriggerRequest) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequestEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequestEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerStopSoftwareTriggerRequestEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame<D>::Format() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame<D>::Format() const
{
winrt::Windows::Graphics::Imaging::BitmapPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerVideoFrame)->get_Format(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame<D>::Width() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame<D>::Width() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerVideoFrame)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame<D>::Height() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame<D>::Height() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerVideoFrame)->get_Height(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame<D>::PixelData() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerVideoFrame<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder<D>::IsCheckDigitValidationSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder<D>::IsCheckDigitValidationSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder)->get_IsCheckDigitValidationSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder<D>::IsCheckDigitValidationSupported(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder<D>::IsCheckDigitValidationSupported(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder)->put_IsCheckDigitValidationSupported(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder<D>::IsCheckDigitTransmissionSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder<D>::IsCheckDigitTransmissionSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder)->get_IsCheckDigitTransmissionSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder<D>::IsCheckDigitTransmissionSupported(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder<D>::IsCheckDigitTransmissionSupported(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder)->put_IsCheckDigitTransmissionSupported(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder<D>::IsDecodeLengthSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder<D>::IsDecodeLengthSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder)->get_IsDecodeLengthSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder<D>::IsDecodeLengthSupported(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder<D>::IsDecodeLengthSupported(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder)->put_IsDecodeLengthSupported(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes) consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder<D>::CreateAttributes() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_Provider_IBarcodeSymbologyAttributesBuilder<D>::CreateAttributes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder)->CreateAttributes(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.PointOfService.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.PointOfService.h
index 731794ab842..7c08f5aed5d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.PointOfService.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeScannerCapabilities) consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::Capabilities() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner>) consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::ClaimScannerAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::ClaimScannerAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner)->ClaimScannerAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner)->CheckHealthAsync(static_cast<int32_t>(level), &operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<uint32_t>>) consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::GetSupportedSymbologiesAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::GetSupportedSymbologiesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner)->GetSupportedSymbologiesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<uint32_t>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::IsSymbologySupportedAsync(uint32_t barcodeSymbology) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::RetrieveStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::RetrieveStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner)->RetrieveStatisticsAsync(*(void**)(&statisticsCategories), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::GetSupportedProfiles() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::GetSupportedProfiles() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner)->GetSupportedProfiles(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::IsProfileSupported(param::hstring const& profile) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::BarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerStatusUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::BarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerStatusUpdatedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::StatusUpdated_revoker consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::BarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerStatusUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::BarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerStatusUpdatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StatusUpdated_revoker>(this, StatusUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::StatusUpdated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScanner<D>::StatusUpdated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScanner)->remove_StatusUpdated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IBarcodeScanner2<D>::VideoDeviceId() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScanner2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType) consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities<D>::PowerReportingType() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities<D>::PowerReportingType() const
{
winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities)->get_PowerReportingType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities<D>::IsStatisticsReportingSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities<D>::IsStatisticsReportingSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities)->get_IsStatisticsReportingSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities<D>::IsStatisticsUpdatingSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities<D>::IsStatisticsUpdatingSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities)->get_IsStatisticsUpdatingSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities<D>::IsImagePreviewSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities<D>::IsImagePreviewSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities)->get_IsImagePreviewSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities1<D>::IsSoftwareTriggerSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities1<D>::IsSoftwareTriggerSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities1)->get_IsSoftwareTriggerSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities2<D>::IsVideoPreviewSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities2<D>::IsVideoPreviewSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities2)->get_IsVideoPreviewSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeScannerReport) consume_Windows_Devices_PointOfService_IBarcodeScannerDataReceivedEventArgs<D>::Report() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeScannerReport) consume_Windows_Devices_PointOfService_IBarcodeScannerErrorOccurredEventArgs<D>::PartialInputData() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerErrorOccurredEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeScannerErrorOccurredEventArgs<D>::IsRetriable() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerErrorOccurredEventArgs<D>::IsRetriable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerErrorOccurredEventArgs)->get_IsRetriable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData) consume_Windows_Devices_PointOfService_IBarcodeScannerErrorOccurredEventArgs<D>::ErrorData() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerErrorOccurredEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) consume_Windows_Devices_PointOfService_IBarcodeScannerImagePreviewReceivedEventArgs<D>::Preview() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerImagePreviewReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeScannerReport<D>::ScanDataType() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerReport<D>::ScanDataType() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerReport)->get_ScanDataType(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_PointOfService_IBarcodeScannerReport<D>::ScanData() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_PointOfService_IBarcodeScannerReport<D>::ScanDataLabel() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeScannerReport) consume_Windows_Devices_PointOfService_IBarcodeScannerReportFactory<D>::CreateInstance(uint32_t scanDataType, winrt::Windows::Storage::Streams::IBuffer const& scanData, winrt::Windows::Storage::Streams::IBuffer const& scanDataLabel) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerReportFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::BarcodeScanner>) consume_Windows_Devices_PointOfService_IBarcodeScannerStatics<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerStatics<D>::GetDefaultAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerStatics)->GetDefaultAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::BarcodeScanner>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::BarcodeScanner>) consume_Windows_Devices_PointOfService_IBarcodeScannerStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerStatics<D>::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<winrt::Windows::Devices::PointOfService::BarcodeScanner>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IBarcodeScannerStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerStatics<D>::GetDeviceSelector() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerStatics)->GetDeviceSelector(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IBarcodeScannerStatics2<D>::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerStatics2<D>::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerStatics2)->GetDeviceSelectorWithConnectionTypes(static_cast<uint32_t>(connectionTypes), &value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeScannerStatus) consume_Windows_Devices_PointOfService_IBarcodeScannerStatusUpdatedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerStatusUpdatedEventArgs<D>::Status() const
{
winrt::Windows::Devices::PointOfService::BarcodeScannerStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerStatusUpdatedEventArgs)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeScannerStatusUpdatedEventArgs<D>::ExtendedStatus() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeScannerStatusUpdatedEventArgs<D>::ExtendedStatus() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeScannerStatusUpdatedEventArgs)->get_ExtendedStatus(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Unknown() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Unknown() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Unknown(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean8() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean8() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean8(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean8Add2() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean8Add2() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean8Add2(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean8Add5() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean8Add5() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean8Add5(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Eanv() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Eanv() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Eanv(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::EanvAdd2() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::EanvAdd2() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_EanvAdd2(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::EanvAdd5() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::EanvAdd5() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_EanvAdd5(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean13() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean13() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean13(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean13Add2() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean13Add2() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean13Add2(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean13Add5() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean13Add5() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean13Add5(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Isbn() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Isbn() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Isbn(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::IsbnAdd5() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::IsbnAdd5() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_IsbnAdd5(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ismn() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ismn() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ismn(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::IsmnAdd2() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::IsmnAdd2() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_IsmnAdd2(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::IsmnAdd5() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::IsmnAdd5() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_IsmnAdd5(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Issn() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Issn() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Issn(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::IssnAdd2() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::IssnAdd2() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_IssnAdd2(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::IssnAdd5() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::IssnAdd5() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_IssnAdd5(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean99() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean99() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean99(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean99Add2() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean99Add2() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean99Add2(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean99Add5() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ean99Add5() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ean99Add5(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Upca() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Upca() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Upca(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UpcaAdd2() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UpcaAdd2() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UpcaAdd2(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UpcaAdd5() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UpcaAdd5() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UpcaAdd5(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Upce() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Upce() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Upce(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UpceAdd2() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UpceAdd2() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UpceAdd2(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UpceAdd5() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UpceAdd5() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UpceAdd5(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UpcCoupon() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UpcCoupon() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UpcCoupon(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::TfStd() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::TfStd() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_TfStd(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::TfDis() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::TfDis() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_TfDis(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::TfInt() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::TfInt() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_TfInt(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::TfInd() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::TfInd() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_TfInd(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::TfMat() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::TfMat() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_TfMat(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::TfIata() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::TfIata() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_TfIata(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Gs1DatabarType1() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Gs1DatabarType1() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Gs1DatabarType1(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Gs1DatabarType2() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Gs1DatabarType2() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Gs1DatabarType2(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Gs1DatabarType3() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Gs1DatabarType3() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Gs1DatabarType3(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code39() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code39() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code39(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code39Ex() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code39Ex() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code39Ex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Trioptic39() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Trioptic39() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Trioptic39(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code32() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code32() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code32(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Pzn() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Pzn() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Pzn(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code93() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code93() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code93(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code93Ex() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code93Ex() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code93Ex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code128() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code128() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code128(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Gs1128() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Gs1128() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Gs1128(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Gs1128Coupon() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Gs1128Coupon() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Gs1128Coupon(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UccEan128() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UccEan128() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UccEan128(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Sisac() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Sisac() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Sisac(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Isbt() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Isbt() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Isbt(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Codabar() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Codabar() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Codabar(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code11() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code11() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code11(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Msi() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Msi() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Msi(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Plessey() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Plessey() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Plessey(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Telepen() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Telepen() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Telepen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code16k() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code16k() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code16k(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::CodablockA() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::CodablockA() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_CodablockA(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::CodablockF() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::CodablockF() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_CodablockF(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Codablock128() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Codablock128() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Codablock128(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code49() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Code49() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Code49(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Aztec() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Aztec() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Aztec(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::DataCode() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::DataCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_DataCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::DataMatrix() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::DataMatrix() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_DataMatrix(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::HanXin() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::HanXin() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_HanXin(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Maxicode() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Maxicode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Maxicode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::MicroPdf417() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::MicroPdf417() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_MicroPdf417(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::MicroQr() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::MicroQr() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_MicroQr(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Pdf417() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Pdf417() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Pdf417(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Qr() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Qr() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Qr(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::MsTag() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::MsTag() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_MsTag(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ccab() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ccab() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ccab(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ccc() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Ccc() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Ccc(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Tlc39() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Tlc39() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Tlc39(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::AusPost() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::AusPost() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_AusPost(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::CanPost() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::CanPost() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_CanPost(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::ChinaPost() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::ChinaPost() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_ChinaPost(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::DutchKix() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::DutchKix() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_DutchKix(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::InfoMail() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::InfoMail() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_InfoMail(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::ItalianPost25() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::ItalianPost25() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_ItalianPost25(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::ItalianPost39() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::ItalianPost39() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_ItalianPost39(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::JapanPost() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::JapanPost() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_JapanPost(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::KoreanPost() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::KoreanPost() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_KoreanPost(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::SwedenPost() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::SwedenPost() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_SwedenPost(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UkPost() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UkPost() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UkPost(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UsIntelligent() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UsIntelligent() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UsIntelligent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UsIntelligentPkg() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UsIntelligentPkg() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UsIntelligentPkg(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UsPlanet() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UsPlanet() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UsPlanet(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UsPostNet() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::UsPostNet() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_UsPostNet(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Us4StateFics() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Us4StateFics() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Us4StateFics(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::OcrA() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::OcrA() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_OcrA(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::OcrB() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::OcrB() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_OcrB(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Micr() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::Micr() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_Micr(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::ExtendedBase() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::ExtendedBase() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics)->get_ExtendedBase(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::GetName(uint32_t scanDataType) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics2<D>::Gs1DWCode() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics2<D>::Gs1DWCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics2)->get_Gs1DWCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::IsCheckDigitValidationEnabled() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::IsCheckDigitValidationEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->get_IsCheckDigitValidationEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::IsCheckDigitValidationEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::IsCheckDigitValidationEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->put_IsCheckDigitValidationEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::IsCheckDigitValidationSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::IsCheckDigitValidationSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->get_IsCheckDigitValidationSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::IsCheckDigitTransmissionEnabled() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::IsCheckDigitTransmissionEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->get_IsCheckDigitTransmissionEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::IsCheckDigitTransmissionEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::IsCheckDigitTransmissionEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->put_IsCheckDigitTransmissionEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::IsCheckDigitTransmissionSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::IsCheckDigitTransmissionSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->get_IsCheckDigitTransmissionSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::DecodeLength1() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::DecodeLength1() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->get_DecodeLength1(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::DecodeLength1(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::DecodeLength1(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->put_DecodeLength1(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::DecodeLength2() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::DecodeLength2() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->get_DecodeLength2(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::DecodeLength2(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::DecodeLength2(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->put_DecodeLength2(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeSymbologyDecodeLengthKind) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::DecodeLengthKind() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::DecodeLengthKind() const
{
winrt::Windows::Devices::PointOfService::BarcodeSymbologyDecodeLengthKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->get_DecodeLengthKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::DecodeLengthKind(winrt::Windows::Devices::PointOfService::BarcodeSymbologyDecodeLengthKind const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::DecodeLengthKind(winrt::Windows::Devices::PointOfService::BarcodeSymbologyDecodeLengthKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->put_DecodeLengthKind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::IsDecodeLengthSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IBarcodeSymbologyAttributes<D>::IsDecodeLengthSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes)->get_IsDecodeLengthSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ICashDrawer<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerCapabilities) consume_Windows_Devices_PointOfService_ICashDrawer<D>::Capabilities() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerStatus) consume_Windows_Devices_PointOfService_ICashDrawer<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawer<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICashDrawer<D>::IsDrawerOpen() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawer<D>::IsDrawerOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawer)->get_IsDrawerOpen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerEventSource) consume_Windows_Devices_PointOfService_ICashDrawer<D>::DrawerEventSource() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer>) consume_Windows_Devices_PointOfService_ICashDrawer<D>::ClaimDrawerAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawer<D>::ClaimDrawerAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawer)->ClaimDrawerAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Devices_PointOfService_ICashDrawer<D>::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawer<D>::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawer)->CheckHealthAsync(static_cast<int32_t>(level), &operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Devices_PointOfService_ICashDrawer<D>::GetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawer<D>::GetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawer)->GetStatisticsAsync(*(void**)(&statisticsCategories), &operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_ICashDrawer<D>::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawer, winrt::Windows::Devices::PointOfService::CashDrawerStatusUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawer<D>::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawer, winrt::Windows::Devices::PointOfService::CashDrawerStatusUpdatedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_ICashDrawer<D>::StatusUpdated_revoker consume_Windows_Devices_PointOfService_ICashDrawer<D>::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawer, winrt::Windows::Devices::PointOfService::CashDrawerStatusUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawer<D>::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawer, winrt::Windows::Devices::PointOfService::CashDrawerStatusUpdatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StatusUpdated_revoker>(this, StatusUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICashDrawer<D>::StatusUpdated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawer<D>::StatusUpdated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawer)->remove_StatusUpdated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType) consume_Windows_Devices_PointOfService_ICashDrawerCapabilities<D>::PowerReportingType() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCapabilities<D>::PowerReportingType() const
{
winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCapabilities)->get_PowerReportingType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICashDrawerCapabilities<D>::IsStatisticsReportingSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCapabilities<D>::IsStatisticsReportingSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCapabilities)->get_IsStatisticsReportingSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICashDrawerCapabilities<D>::IsStatisticsUpdatingSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCapabilities<D>::IsStatisticsUpdatingSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCapabilities)->get_IsStatisticsUpdatingSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICashDrawerCapabilities<D>::IsStatusReportingSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCapabilities<D>::IsStatusReportingSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCapabilities)->get_IsStatusReportingSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICashDrawerCapabilities<D>::IsStatusMultiDrawerDetectSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCapabilities<D>::IsStatusMultiDrawerDetectSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCapabilities)->get_IsStatusMultiDrawerDetectSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICashDrawerCapabilities<D>::IsDrawerOpenSensorAvailable() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCapabilities<D>::IsDrawerOpenSensorAvailable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCapabilities)->get_IsDrawerOpenSensorAvailable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::AlarmTimeout(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::AlarmTimeout() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::BeepFrequency(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::BeepFrequency(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm)->put_BeepFrequency(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::BeepFrequency() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::BeepFrequency() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm)->get_BeepFrequency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::BeepDuration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::BeepDuration() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::BeepDelay(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::BeepDelay() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::AlarmTimeoutExpired(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerCloseAlarm, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::AlarmTimeoutExpired(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerCloseAlarm, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::AlarmTimeoutExpired_revoker consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::AlarmTimeoutExpired(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerCloseAlarm, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::AlarmTimeoutExpired(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerCloseAlarm, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, AlarmTimeoutExpired_revoker>(this, AlarmTimeoutExpired(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::AlarmTimeoutExpired(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::AlarmTimeoutExpired(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm)->remove_AlarmTimeoutExpired(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::StartAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerCloseAlarm<D>::StartAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm)->StartAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_ICashDrawerEventSource<D>::DrawerClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerEventSource, winrt::Windows::Devices::PointOfService::CashDrawerClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerEventSource<D>::DrawerClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerEventSource, winrt::Windows::Devices::PointOfService::CashDrawerClosedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_ICashDrawerEventSource<D>::DrawerClosed_revoker consume_Windows_Devices_PointOfService_ICashDrawerEventSource<D>::DrawerClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerEventSource, winrt::Windows::Devices::PointOfService::CashDrawerClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerEventSource<D>::DrawerClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerEventSource, winrt::Windows::Devices::PointOfService::CashDrawerClosedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DrawerClosed_revoker>(this, DrawerClosed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICashDrawerEventSource<D>::DrawerClosed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerEventSource<D>::DrawerClosed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerEventSource)->remove_DrawerClosed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_ICashDrawerEventSource<D>::DrawerOpened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerEventSource, winrt::Windows::Devices::PointOfService::CashDrawerOpenedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerEventSource<D>::DrawerOpened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerEventSource, winrt::Windows::Devices::PointOfService::CashDrawerOpenedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_ICashDrawerEventSource<D>::DrawerOpened_revoker consume_Windows_Devices_PointOfService_ICashDrawerEventSource<D>::DrawerOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerEventSource, winrt::Windows::Devices::PointOfService::CashDrawerOpenedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerEventSource<D>::DrawerOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerEventSource, winrt::Windows::Devices::PointOfService::CashDrawerOpenedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DrawerOpened_revoker>(this, DrawerOpened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICashDrawerEventSource<D>::DrawerOpened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerEventSource<D>::DrawerOpened(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerEventSource)->remove_DrawerOpened(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawer) consume_Windows_Devices_PointOfService_ICashDrawerEventSourceEventArgs<D>::CashDrawer() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerEventSourceEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::CashDrawer>) consume_Windows_Devices_PointOfService_ICashDrawerStatics<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerStatics<D>::GetDefaultAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerStatics)->GetDefaultAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::CashDrawer>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::CashDrawer>) consume_Windows_Devices_PointOfService_ICashDrawerStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerStatics<D>::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<winrt::Windows::Devices::PointOfService::CashDrawer>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ICashDrawerStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerStatics<D>::GetDeviceSelector() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerStatics)->GetDeviceSelector(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ICashDrawerStatics2<D>::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerStatics2<D>::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerStatics2)->GetDeviceSelectorWithConnectionTypes(static_cast<uint32_t>(connectionTypes), &value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerStatusKind) consume_Windows_Devices_PointOfService_ICashDrawerStatus<D>::StatusKind() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerStatus<D>::StatusKind() const
{
winrt::Windows::Devices::PointOfService::CashDrawerStatusKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerStatus)->get_StatusKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_ICashDrawerStatus<D>::ExtendedStatus() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerStatus<D>::ExtendedStatus() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICashDrawerStatus)->get_ExtendedStatus(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerStatus) consume_Windows_Devices_PointOfService_ICashDrawerStatusUpdatedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICashDrawerStatusUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::IsDisabledOnDataReceived(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::IsDisabledOnDataReceived(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->put_IsDisabledOnDataReceived(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::IsDisabledOnDataReceived() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::IsDisabledOnDataReceived() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->get_IsDisabledOnDataReceived(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::IsDecodeDataEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::IsDecodeDataEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->put_IsDecodeDataEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::IsDecodeDataEnabled() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::IsDecodeDataEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->get_IsDecodeDataEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::EnableAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::DisableAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::RetainDevice() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::RetainDevice() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->RetainDevice());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::SetActiveSymbologiesAsync(param::async_iterable<uint32_t> const& symbologies) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::SetActiveSymbologiesAsync(param::async_iterable<uint32_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ResetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ResetStatisticsAsync(param::async_iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::UpdateStatisticsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& statistics) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::UpdateStatisticsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::SetActiveProfileAsync(param::hstring const& profile) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::DataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerDataReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::DataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerDataReceivedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::DataReceived_revoker consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerDataReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerDataReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DataReceived_revoker>(this, DataReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::DataReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::DataReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->remove_DataReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::TriggerPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::TriggerPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::TriggerPressed_revoker consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::TriggerPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::TriggerPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const
{
return impl::make_event_revoker<D, TriggerPressed_revoker>(this, TriggerPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::TriggerPressed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::TriggerPressed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->remove_TriggerPressed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::TriggerReleased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::TriggerReleased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::TriggerReleased_revoker consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::TriggerReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::TriggerReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const
{
return impl::make_event_revoker<D, TriggerReleased_revoker>(this, TriggerReleased(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::TriggerReleased(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::TriggerReleased(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->remove_TriggerReleased(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ReleaseDeviceRequested(winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ReleaseDeviceRequested(winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ReleaseDeviceRequested_revoker consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const
{
return impl::make_event_revoker<D, ReleaseDeviceRequested_revoker>(this, ReleaseDeviceRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->remove_ReleaseDeviceRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ImagePreviewReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerImagePreviewReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ImagePreviewReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerImagePreviewReceivedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ImagePreviewReceived_revoker consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ImagePreviewReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerImagePreviewReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ImagePreviewReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerImagePreviewReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ImagePreviewReceived_revoker>(this, ImagePreviewReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ImagePreviewReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ImagePreviewReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->remove_ImagePreviewReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerErrorOccurredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerErrorOccurredEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ErrorOccurred_revoker consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerErrorOccurredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerErrorOccurredEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ErrorOccurred_revoker>(this, ErrorOccurred(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ErrorOccurred(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner<D>::ErrorOccurred(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner)->remove_ErrorOccurred(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner1<D>::StartSoftwareTriggerAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner1<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner1<D>::StopSoftwareTriggerAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner1<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes>) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner2<D>::GetSymbologyAttributesAsync(uint32_t barcodeSymbology) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner2<D>::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<winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner2<D>::SetSymbologyAttributesAsync(uint32_t barcodeSymbology, winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes const& attributes) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner2<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3<D>::ShowVideoPreviewAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3<D>::ShowVideoPreviewAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner3)->ShowVideoPreviewAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3<D>::HideVideoPreview() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3<D>::HideVideoPreview() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner3)->HideVideoPreview());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3<D>::IsVideoPreviewShownOnEnable(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3<D>::IsVideoPreviewShownOnEnable(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner3)->put_IsVideoPreviewShownOnEnable(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3<D>::IsVideoPreviewShownOnEnable() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3<D>::IsVideoPreviewShownOnEnable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner3)->get_IsVideoPreviewShownOnEnable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::ClaimedBarcodeScannerClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::ClaimedBarcodeScannerClosedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4<D>::Closed_revoker consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::ClaimedBarcodeScannerClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::ClaimedBarcodeScannerClosedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner4)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::IsDrawerOpen() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::IsDrawerOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->get_IsDrawerOpen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerCloseAlarm) consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::CloseAlarm() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::OpenDrawerAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::OpenDrawerAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->OpenDrawerAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::EnableAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::EnableAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->EnableAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::DisableAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::DisableAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->DisableAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::RetainDeviceAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::RetainDeviceAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->RetainDeviceAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::ResetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::ResetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->ResetStatisticsAsync(*(void**)(&statisticsCategories), &result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::UpdateStatisticsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& statistics) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::UpdateStatisticsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& statistics) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->UpdateStatisticsAsync(*(void**)(&statistics), &result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::ReleaseDeviceRequested_revoker consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ReleaseDeviceRequested_revoker>(this, ReleaseDeviceRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer<D>::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer)->remove_ReleaseDeviceRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedCashDrawer2<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer, winrt::Windows::Devices::PointOfService::ClaimedCashDrawerClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer2<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer, winrt::Windows::Devices::PointOfService::ClaimedCashDrawerClosedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedCashDrawer2<D>::Closed_revoker consume_Windows_Devices_PointOfService_IClaimedCashDrawer2<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer, winrt::Windows::Devices::PointOfService::ClaimedCashDrawerClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer2<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer, winrt::Windows::Devices::PointOfService::ClaimedCashDrawerClosedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedCashDrawer2<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedCashDrawer2<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedCashDrawer2)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::JournalPrintJob) consume_Windows_Devices_PointOfService_IClaimedJournalPrinter<D>::CreateJob() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedJournalPrinter<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCapabilities) consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::Capabilities() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::PhysicalDeviceName() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::PhysicalDeviceDescription() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::DeviceControlDescription() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::DeviceControlVersion() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::DeviceServiceVersion() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayWindow) consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::DefaultWindow() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::RetainDevice() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::RetainDevice() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay)->RetainDevice());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::ReleaseDeviceRequested_revoker consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ReleaseDeviceRequested_revoker>(this, ReleaseDeviceRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay<D>::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay)->remove_ReleaseDeviceRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::GetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::GetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->GetStatisticsAsync(*(void**)(&statisticsCategories), &result));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->CheckHealthAsync(static_cast<int32_t>(level), &result));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplayPowerStatus>) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::CheckPowerStatusAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::CheckPowerStatusAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->CheckPowerStatusAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplayPowerStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Devices::PointOfService::LineDisplayStatusUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Devices::PointOfService::LineDisplayStatusUpdatedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::StatusUpdated_revoker consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Devices::PointOfService::LineDisplayStatusUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Devices::PointOfService::LineDisplayStatusUpdatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StatusUpdated_revoker>(this, StatusUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::StatusUpdated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::StatusUpdated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->remove_StatusUpdated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Size>) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::SupportedScreenSizesInCharacters() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::SupportedScreenSizesInCharacters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->get_SupportedScreenSizesInCharacters(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Size>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::MaxBitmapSizeInPixels() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int32_t>) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::SupportedCharacterSets() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::SupportedCharacterSets() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->get_SupportedCharacterSets(&value));
return winrt::Windows::Foundation::Collections::IVectorView<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCustomGlyphs) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::CustomGlyphs() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayAttributes) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::GetAttributes() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::TryUpdateAttributesAsync(winrt::Windows::Devices::PointOfService::LineDisplayAttributes const& attributes) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::TrySetDescriptorAsync(uint32_t descriptor, winrt::Windows::Devices::PointOfService::LineDisplayDescriptorState const& descriptorState) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::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<int32_t>(descriptorState), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::TryClearDescriptorsAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::TryClearDescriptorsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2)->TryClearDescriptorsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplayWindow>) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::TryCreateWindowAsync(winrt::Windows::Foundation::Rect const& viewport, winrt::Windows::Foundation::Size const& windowSize) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::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<winrt::Windows::Devices::PointOfService::LineDisplayWindow>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplayStoredBitmap>) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::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<winrt::Windows::Devices::PointOfService::LineDisplayStoredBitmap>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplayStoredBitmap>) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::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<int32_t>(horizontalAlignment), static_cast<int32_t>(verticalAlignment), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplayStoredBitmap>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplayStoredBitmap>) consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::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 <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay2<D>::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<int32_t>(horizontalAlignment), static_cast<int32_t>(verticalAlignment), widthInPixels, &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplayStoredBitmap>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedLineDisplay3<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Devices::PointOfService::ClaimedLineDisplayClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay3<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Devices::PointOfService::ClaimedLineDisplayClosedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedLineDisplay3<D>::Closed_revoker consume_Windows_Devices_PointOfService_IClaimedLineDisplay3<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Devices::PointOfService::ClaimedLineDisplayClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay3<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Devices::PointOfService::ClaimedLineDisplayClosedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedLineDisplay3<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplay3<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplay3)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay>) consume_Windows_Devices_PointOfService_IClaimedLineDisplayStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplayStatics<D>::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<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedLineDisplayStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplayStatics<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplayStatics)->GetDeviceSelector(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedLineDisplayStatics<D>::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedLineDisplayStatics<D>::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedLineDisplayStatics)->GetDeviceSelectorWithConnectionTypes(static_cast<uint32_t>(connectionTypes), &value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::IsDisabledOnDataReceived(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::IsDisabledOnDataReceived(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->put_IsDisabledOnDataReceived(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::IsDisabledOnDataReceived() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::IsDisabledOnDataReceived() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->get_IsDisabledOnDataReceived(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::IsDecodeDataEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::IsDecodeDataEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->put_IsDecodeDataEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::IsDecodeDataEnabled() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::IsDecodeDataEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->get_IsDecodeDataEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::IsDeviceAuthenticated() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::IsDeviceAuthenticated() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->get_IsDeviceAuthenticated(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::DataEncryptionAlgorithm(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::DataEncryptionAlgorithm(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->put_DataEncryptionAlgorithm(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::DataEncryptionAlgorithm() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::DataEncryptionAlgorithm() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->get_DataEncryptionAlgorithm(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::TracksToRead(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackIds const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::TracksToRead(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackIds const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->put_TracksToRead(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackIds) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::TracksToRead() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::TracksToRead() const
{
winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackIds value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->get_TracksToRead(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::IsTransmitSentinelsEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::IsTransmitSentinelsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->put_IsTransmitSentinelsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::IsTransmitSentinelsEnabled() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::IsTransmitSentinelsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->get_IsTransmitSentinelsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::EnableAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::DisableAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::RetainDevice() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::RetainDevice() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->RetainDevice());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::SetErrorReportingType(winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorReportingType const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::SetErrorReportingType(winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorReportingType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->SetErrorReportingType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::RetrieveDeviceAuthenticationDataAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::RetrieveDeviceAuthenticationDataAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->RetrieveDeviceAuthenticationDataAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::AuthenticateDeviceAsync(array_view<uint8_t const> responseToken) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::AuthenticateDeviceAsync(array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::DeAuthenticateDeviceAsync(array_view<uint8_t const> responseToken) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::DeAuthenticateDeviceAsync(array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::UpdateKeyAsync(param::hstring const& key, param::hstring const& keyName) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::ResetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::ResetStatisticsAsync(param::async_iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::UpdateStatisticsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& statistics) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::UpdateStatisticsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> 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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::BankCardDataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderBankCardDataReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::BankCardDataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderBankCardDataReceivedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::BankCardDataReceived_revoker consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::BankCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderBankCardDataReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::BankCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderBankCardDataReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, BankCardDataReceived_revoker>(this, BankCardDataReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::BankCardDataReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::BankCardDataReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->remove_BankCardDataReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::AamvaCardDataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderAamvaCardDataReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::AamvaCardDataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderAamvaCardDataReceivedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::AamvaCardDataReceived_revoker consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::AamvaCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderAamvaCardDataReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::AamvaCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderAamvaCardDataReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AamvaCardDataReceived_revoker>(this, AamvaCardDataReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::AamvaCardDataReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::AamvaCardDataReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->remove_AamvaCardDataReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::VendorSpecificDataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::VendorSpecificDataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::VendorSpecificDataReceived_revoker consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::VendorSpecificDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::VendorSpecificDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, VendorSpecificDataReceived_revoker>(this, VendorSpecificDataReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::VendorSpecificDataReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::VendorSpecificDataReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->remove_VendorSpecificDataReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::ReleaseDeviceRequested(winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::ReleaseDeviceRequested(winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::ReleaseDeviceRequested_revoker consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader> const& handler) const
{
return impl::make_event_revoker<D, ReleaseDeviceRequested_revoker>(this, ReleaseDeviceRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->remove_ReleaseDeviceRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorOccurredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorOccurredEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::ErrorOccurred_revoker consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorOccurredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorOccurredEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ErrorOccurred_revoker>(this, ErrorOccurred(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::ErrorOccurred(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader<D>::ErrorOccurred(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader)->remove_ErrorOccurred(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReaderClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReaderClosedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2<D>::Closed_revoker consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReaderClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReaderClosedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader2)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::CharacterSet(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::CharacterSet(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->put_CharacterSet(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::CharacterSet() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::CharacterSet() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->get_CharacterSet(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::IsCoverOpen() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::IsCoverOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->get_IsCoverOpen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::IsCharacterSetMappingEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::IsCharacterSetMappingEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->put_IsCharacterSetMappingEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::IsCharacterSetMappingEnabled() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::IsCharacterSetMappingEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->get_IsCharacterSetMappingEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::MapMode(winrt::Windows::Devices::PointOfService::PosPrinterMapMode const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::MapMode(winrt::Windows::Devices::PointOfService::PosPrinterMapMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->put_MapMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterMapMode) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::MapMode() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::MapMode() const
{
winrt::Windows::Devices::PointOfService::PosPrinterMapMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->get_MapMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::ClaimedReceiptPrinter) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::Receipt() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::ClaimedSlipPrinter) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::Slip() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::ClaimedJournalPrinter) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::Journal() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::EnableAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::EnableAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->EnableAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::DisableAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::DisableAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->DisableAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::RetainDeviceAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::RetainDeviceAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->RetainDeviceAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::ResetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::ResetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->ResetStatisticsAsync(*(void**)(&statisticsCategories), &result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::UpdateStatisticsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& statistics) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::UpdateStatisticsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& statistics) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->UpdateStatisticsAsync(*(void**)(&statistics), &result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter, winrt::Windows::Devices::PointOfService::PosPrinterReleaseDeviceRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter, winrt::Windows::Devices::PointOfService::PosPrinterReleaseDeviceRequestedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::ReleaseDeviceRequested_revoker consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter, winrt::Windows::Devices::PointOfService::PosPrinterReleaseDeviceRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter, winrt::Windows::Devices::PointOfService::PosPrinterReleaseDeviceRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ReleaseDeviceRequested_revoker>(this, ReleaseDeviceRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter<D>::ReleaseDeviceRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter)->remove_ReleaseDeviceRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IClaimedPosPrinter2<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter, winrt::Windows::Devices::PointOfService::ClaimedPosPrinterClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter2<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter, winrt::Windows::Devices::PointOfService::ClaimedPosPrinterClosedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_IClaimedPosPrinter2<D>::Closed_revoker consume_Windows_Devices_PointOfService_IClaimedPosPrinter2<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter, winrt::Windows::Devices::PointOfService::ClaimedPosPrinterClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter2<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter, winrt::Windows::Devices::PointOfService::ClaimedPosPrinterClosedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedPosPrinter2<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedPosPrinter2<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedPosPrinter2)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter<D>::SidewaysMaxLines() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter<D>::SidewaysMaxLines() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedReceiptPrinter)->get_SidewaysMaxLines(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter<D>::SidewaysMaxChars() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter<D>::SidewaysMaxChars() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedReceiptPrinter)->get_SidewaysMaxChars(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter<D>::LinesToPaperCut() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter<D>::LinesToPaperCut() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedReceiptPrinter)->get_LinesToPaperCut(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter<D>::PageSize() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter<D>::PrintArea() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::ReceiptPrintJob) consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter<D>::CreateJob() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedReceiptPrinter<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::SidewaysMaxLines() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::SidewaysMaxLines() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->get_SidewaysMaxLines(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::SidewaysMaxChars() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::SidewaysMaxChars() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->get_SidewaysMaxChars(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::MaxLines() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::MaxLines() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->get_MaxLines(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::LinesNearEndToEnd() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::LinesNearEndToEnd() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->get_LinesNearEndToEnd(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterPrintSide) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::PrintSide() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::PrintSide() const
{
winrt::Windows::Devices::PointOfService::PosPrinterPrintSide value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->get_PrintSide(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::PageSize() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::PrintArea() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::OpenJaws() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::OpenJaws() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->OpenJaws());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::CloseJaws() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::CloseJaws() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->CloseJaws());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::InsertSlipAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::RemoveSlipAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::ChangePrintSide(winrt::Windows::Devices::PointOfService::PosPrinterPrintSide const& printSide) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::ChangePrintSide(winrt::Windows::Devices::PointOfService::PosPrinterPrintSide const& printSide) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter)->ChangePrintSide(static_cast<int32_t>(printSide)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::SlipPrintJob) consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::CreateJob() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IClaimedSlipPrinter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::CharactersPerLine(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::CharactersPerLine(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->put_CharactersPerLine(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::CharactersPerLine() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::CharactersPerLine() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_CharactersPerLine(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::LineHeight(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::LineHeight(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->put_LineHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::LineHeight() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::LineHeight() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_LineHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::LineSpacing(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::LineSpacing(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->put_LineSpacing(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::LineSpacing() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::LineSpacing() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_LineSpacing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::LineWidth() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::LineWidth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_LineWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsLetterQuality(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsLetterQuality(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->put_IsLetterQuality(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsLetterQuality() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsLetterQuality() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_IsLetterQuality(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsPaperNearEnd() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsPaperNearEnd() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_IsPaperNearEnd(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::ColorCartridge(winrt::Windows::Devices::PointOfService::PosPrinterColorCartridge const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::ColorCartridge(winrt::Windows::Devices::PointOfService::PosPrinterColorCartridge const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->put_ColorCartridge(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterColorCartridge) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::ColorCartridge() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::ColorCartridge() const
{
winrt::Windows::Devices::PointOfService::PosPrinterColorCartridge value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_ColorCartridge(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsCoverOpen() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsCoverOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_IsCoverOpen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsCartridgeRemoved() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsCartridgeRemoved() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_IsCartridgeRemoved(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsCartridgeEmpty() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsCartridgeEmpty() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_IsCartridgeEmpty(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsHeadCleaning() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsHeadCleaning() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_IsHeadCleaning(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsPaperEmpty() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsPaperEmpty() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_IsPaperEmpty(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsReadyToPrint() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::IsReadyToPrint() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation)->get_IsReadyToPrint(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::ValidateData(param::hstring const& data) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonClaimedPosPrinterStation<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsPrinterPresent() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsPrinterPresent() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsPrinterPresent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsDualColorSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsDualColorSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsDualColorSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterColorCapabilities) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::ColorCartridgeCapabilities() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::ColorCartridgeCapabilities() const
{
winrt::Windows::Devices::PointOfService::PosPrinterColorCapabilities value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_ColorCartridgeCapabilities(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterCartridgeSensors) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::CartridgeSensors() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::CartridgeSensors() const
{
winrt::Windows::Devices::PointOfService::PosPrinterCartridgeSensors value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_CartridgeSensors(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsBoldSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsBoldSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsBoldSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsItalicSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsItalicSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsItalicSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsUnderlineSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsUnderlineSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsUnderlineSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsDoubleHighPrintSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsDoubleHighPrintSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsDoubleHighPrintSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsDoubleWidePrintSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsDoubleWidePrintSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsDoubleWidePrintSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsDoubleHighDoubleWidePrintSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsDoubleHighDoubleWidePrintSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsDoubleHighDoubleWidePrintSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsPaperEmptySensorSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsPaperEmptySensorSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsPaperEmptySensorSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsPaperNearEndSensorSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::IsPaperNearEndSensorSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_IsPaperNearEndSensorSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::SupportedCharactersPerLine() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonPosPrintStationCapabilities<D>::SupportedCharactersPerLine() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities)->get_SupportedCharactersPerLine(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::IsBarcodeSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::IsBarcodeSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_IsBarcodeSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::IsBitmapSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::IsBitmapSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_IsBitmapSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::IsLeft90RotationSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::IsLeft90RotationSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_IsLeft90RotationSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::IsRight90RotationSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::IsRight90RotationSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_IsRight90RotationSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::Is180RotationSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::Is180RotationSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_Is180RotationSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::IsPrintAreaSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::IsPrintAreaSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_IsPrintAreaSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterRuledLineCapabilities) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::RuledLineCapabilities() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::RuledLineCapabilities() const
{
winrt::Windows::Devices::PointOfService::PosPrinterRuledLineCapabilities value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_RuledLineCapabilities(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::PointOfService::PosPrinterRotation>) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::SupportedBarcodeRotations() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::SupportedBarcodeRotations() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_SupportedBarcodeRotations(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::PointOfService::PosPrinterRotation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::PointOfService::PosPrinterRotation>) consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::SupportedBitmapRotations() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ICommonReceiptSlipCapabilities<D>::SupportedBitmapRotations() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities)->get_SupportedBitmapRotations(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::PointOfService::PosPrinterRotation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IJournalPrintJob<D>::Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IJournalPrintJob<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IJournalPrintJob<D>::FeedPaperByLine(int32_t lineCount) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IJournalPrintJob<D>::FeedPaperByLine(int32_t lineCount) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IJournalPrintJob)->FeedPaperByLine(lineCount));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IJournalPrintJob<D>::FeedPaperByMapModeUnit(int32_t distance) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IJournalPrintJob<D>::FeedPaperByMapModeUnit(int32_t distance) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IJournalPrintJob)->FeedPaperByMapModeUnit(distance));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2<D>::IsReverseVideoSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2<D>::IsReverseVideoSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IJournalPrinterCapabilities2)->get_IsReverseVideoSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2<D>::IsStrikethroughSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2<D>::IsStrikethroughSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IJournalPrinterCapabilities2)->get_IsStrikethroughSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2<D>::IsSuperscriptSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2<D>::IsSuperscriptSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IJournalPrinterCapabilities2)->get_IsSuperscriptSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2<D>::IsSubscriptSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2<D>::IsSubscriptSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IJournalPrinterCapabilities2)->get_IsSubscriptSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2<D>::IsReversePaperFeedByLineSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2<D>::IsReversePaperFeedByLineSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IJournalPrinterCapabilities2)->get_IsReversePaperFeedByLineSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2<D>::IsReversePaperFeedByMapModeUnitSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IJournalPrinterCapabilities2<D>::IsReversePaperFeedByMapModeUnitSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IJournalPrinterCapabilities2)->get_IsReversePaperFeedByMapModeUnitSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplay<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCapabilities) consume_Windows_Devices_PointOfService_ILineDisplay<D>::Capabilities() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplay<D>::PhysicalDeviceName() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplay<D>::PhysicalDeviceDescription() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplay<D>::DeviceControlDescription() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplay<D>::DeviceControlVersion() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplay<D>::DeviceServiceVersion() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay>) consume_Windows_Devices_PointOfService_ILineDisplay<D>::ClaimAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplay<D>::ClaimAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplay)->ClaimAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplayPowerStatus>) consume_Windows_Devices_PointOfService_ILineDisplay2<D>::CheckPowerStatusAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplay2<D>::CheckPowerStatusAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplay2)->CheckPowerStatusAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplayPowerStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::IsPowerNotifyEnabled() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::IsPowerNotifyEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->get_IsPowerNotifyEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::IsPowerNotifyEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::IsPowerNotifyEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->put_IsPowerNotifyEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::Brightness() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::Brightness() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->get_Brightness(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::Brightness(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::Brightness(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->put_Brightness(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::BlinkRate() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::BlinkRate(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::ScreenSizeInCharacters() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::ScreenSizeInCharacters(winrt::Windows::Foundation::Size const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::CharacterSet() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::CharacterSet() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->get_CharacterSet(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::CharacterSet(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::CharacterSet(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->put_CharacterSet(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::IsCharacterSetMappingEnabled() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::IsCharacterSetMappingEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->get_IsCharacterSetMappingEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::IsCharacterSetMappingEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::IsCharacterSetMappingEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->put_IsCharacterSetMappingEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayWindow) consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::CurrentWindow() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::CurrentWindow(winrt::Windows::Devices::PointOfService::LineDisplayWindow const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayAttributes<D>::CurrentWindow(winrt::Windows::Devices::PointOfService::LineDisplayWindow const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayAttributes)->put_CurrentWindow(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::IsStatisticsReportingSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::IsStatisticsReportingSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_IsStatisticsReportingSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::IsStatisticsUpdatingSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::IsStatisticsUpdatingSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_IsStatisticsUpdatingSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::PowerReportingType() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::PowerReportingType() const
{
winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_PowerReportingType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::CanChangeScreenSize() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::CanChangeScreenSize() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_CanChangeScreenSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::CanDisplayBitmaps() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::CanDisplayBitmaps() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_CanDisplayBitmaps(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::CanReadCharacterAtCursor() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::CanReadCharacterAtCursor() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_CanReadCharacterAtCursor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::CanMapCharacterSets() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::CanMapCharacterSets() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_CanMapCharacterSets(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::CanDisplayCustomGlyphs() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::CanDisplayCustomGlyphs() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_CanDisplayCustomGlyphs(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayTextAttributeGranularity) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::CanReverse() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::CanReverse() const
{
winrt::Windows::Devices::PointOfService::LineDisplayTextAttributeGranularity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_CanReverse(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayTextAttributeGranularity) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::CanBlink() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::CanBlink() const
{
winrt::Windows::Devices::PointOfService::LineDisplayTextAttributeGranularity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_CanBlink(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::CanChangeBlinkRate() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::CanChangeBlinkRate() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_CanChangeBlinkRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::IsBrightnessSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::IsBrightnessSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_IsBrightnessSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::IsCursorSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::IsCursorSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_IsCursorSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::IsHorizontalMarqueeSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::IsHorizontalMarqueeSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_IsHorizontalMarqueeSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::IsVerticalMarqueeSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::IsVerticalMarqueeSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_IsVerticalMarqueeSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::IsInterCharacterWaitSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::IsInterCharacterWaitSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_IsInterCharacterWaitSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::SupportedDescriptors() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::SupportedDescriptors() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_SupportedDescriptors(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::SupportedWindows() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCapabilities<D>::SupportedWindows() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities)->get_SupportedWindows(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::CanCustomize() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::CanCustomize() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursor)->get_CanCustomize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::IsBlinkSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::IsBlinkSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursor)->get_IsBlinkSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::IsBlockSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::IsBlockSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursor)->get_IsBlockSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::IsHalfBlockSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::IsHalfBlockSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursor)->get_IsHalfBlockSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::IsUnderlineSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::IsUnderlineSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursor)->get_IsUnderlineSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::IsReverseSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::IsReverseSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursor)->get_IsReverseSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::IsOtherSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::IsOtherSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursor)->get_IsOtherSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCursorAttributes) consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::GetAttributes() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::TryUpdateAttributesAsync(winrt::Windows::Devices::PointOfService::LineDisplayCursorAttributes const& attributes) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCursor<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes<D>::IsBlinkEnabled() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes<D>::IsBlinkEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes)->get_IsBlinkEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes<D>::IsBlinkEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes<D>::IsBlinkEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes)->put_IsBlinkEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCursorType) consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes<D>::CursorType() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes<D>::CursorType() const
{
winrt::Windows::Devices::PointOfService::LineDisplayCursorType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes)->get_CursorType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes<D>::CursorType(winrt::Windows::Devices::PointOfService::LineDisplayCursorType const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes<D>::CursorType(winrt::Windows::Devices::PointOfService::LineDisplayCursorType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes)->put_CursorType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes<D>::IsAutoAdvanceEnabled() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes<D>::IsAutoAdvanceEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes)->get_IsAutoAdvanceEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes<D>::IsAutoAdvanceEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes<D>::IsAutoAdvanceEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes)->put_IsAutoAdvanceEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes<D>::Position() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes<D>::Position(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCursorAttributes<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_PointOfService_ILineDisplayCustomGlyphs<D>::SizeInPixels() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCustomGlyphs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Devices_PointOfService_ILineDisplayCustomGlyphs<D>::SupportedGlyphCodes() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCustomGlyphs<D>::SupportedGlyphCodes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayCustomGlyphs)->get_SupportedGlyphCodes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ILineDisplayCustomGlyphs<D>::TryRedefineAsync(uint32_t glyphCode, winrt::Windows::Storage::Streams::IBuffer const& glyphData) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayCustomGlyphs<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayMarqueeFormat) consume_Windows_Devices_PointOfService_ILineDisplayMarquee<D>::Format() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayMarquee<D>::Format() const
{
winrt::Windows::Devices::PointOfService::LineDisplayMarqueeFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayMarquee)->get_Format(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayMarquee<D>::Format(winrt::Windows::Devices::PointOfService::LineDisplayMarqueeFormat const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayMarquee<D>::Format(winrt::Windows::Devices::PointOfService::LineDisplayMarqueeFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayMarquee)->put_Format(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_PointOfService_ILineDisplayMarquee<D>::RepeatWaitInterval() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayMarquee<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayMarquee<D>::RepeatWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayMarquee<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_PointOfService_ILineDisplayMarquee<D>::ScrollWaitInterval() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayMarquee<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayMarquee<D>::ScrollWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayMarquee<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ILineDisplayMarquee<D>::TryStartScrollingAsync(winrt::Windows::Devices::PointOfService::LineDisplayScrollDirection const& direction) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayMarquee<D>::TryStartScrollingAsync(winrt::Windows::Devices::PointOfService::LineDisplayScrollDirection const& direction) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayMarquee)->TryStartScrollingAsync(static_cast<int32_t>(direction), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ILineDisplayMarquee<D>::TryStopScrollingAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayMarquee<D>::TryStopScrollingAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayMarquee)->TryStopScrollingAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplay>) consume_Windows_Devices_PointOfService_ILineDisplayStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayStatics<D>::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<winrt::Windows::Devices::PointOfService::LineDisplay>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplay>) consume_Windows_Devices_PointOfService_ILineDisplayStatics<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayStatics<D>::GetDefaultAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayStatics)->GetDefaultAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplay>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplayStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayStatics<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayStatics)->GetDeviceSelector(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplayStatics<D>::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayStatics<D>::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayStatics)->GetDeviceSelectorWithConnectionTypes(static_cast<uint32_t>(connectionTypes), &value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayStatisticsCategorySelector) consume_Windows_Devices_PointOfService_ILineDisplayStatics2<D>::StatisticsCategorySelector() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplayStatisticsCategorySelector<D>::AllStatistics() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayStatisticsCategorySelector<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplayStatisticsCategorySelector<D>::UnifiedPosStatistics() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayStatisticsCategorySelector<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplayStatisticsCategorySelector<D>::ManufacturerStatistics() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayStatisticsCategorySelector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayPowerStatus) consume_Windows_Devices_PointOfService_ILineDisplayStatusUpdatedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayStatusUpdatedEventArgs<D>::Status() const
{
winrt::Windows::Devices::PointOfService::LineDisplayPowerStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayStatusUpdatedEventArgs)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_ILineDisplayStoredBitmap<D>::EscapeSequence() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayStoredBitmap<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ILineDisplayStoredBitmap<D>::TryDeleteAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayStoredBitmap<D>::TryDeleteAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayStoredBitmap)->TryDeleteAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::SizeInCharacters() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::InterCharacterWaitInterval() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::InterCharacterWaitInterval(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::TryRefreshAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::TryRefreshAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow)->TryRefreshAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::TryDisplayTextAsync(param::hstring const& text, winrt::Windows::Devices::PointOfService::LineDisplayTextAttribute const& displayAttribute) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::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<int32_t>(displayAttribute), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::TryDisplayTextAsync(param::hstring const& text, winrt::Windows::Devices::PointOfService::LineDisplayTextAttribute const& displayAttribute, winrt::Windows::Foundation::Point const& startPosition) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::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<int32_t>(displayAttribute), impl::bind_in(startPosition), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::TryDisplayTextAsync(param::hstring const& text) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::TryScrollTextAsync(winrt::Windows::Devices::PointOfService::LineDisplayScrollDirection const& direction, uint32_t numberOfColumnsOrRows) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::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<int32_t>(direction), numberOfColumnsOrRows, &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::TryClearTextAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow<D>::TryClearTextAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow)->TryClearTextAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayCursor) consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::Cursor() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayMarquee) consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::Marquee() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::ReadCharacterAtCursorAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::ReadCharacterAtCursorAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ILineDisplayWindow2)->ReadCharacterAtCursorAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<uint32_t>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::TryDisplayStoredBitmapAtCursorAsync(winrt::Windows::Devices::PointOfService::LineDisplayStoredBitmap const& bitmap) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Devices::PointOfService::LineDisplayHorizontalAlignment const& horizontalAlignment, winrt::Windows::Devices::PointOfService::LineDisplayVerticalAlignment const& verticalAlignment) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::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<int32_t>(horizontalAlignment), static_cast<int32_t>(verticalAlignment), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::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 <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::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<int32_t>(horizontalAlignment), static_cast<int32_t>(verticalAlignment), widthInPixels, &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::TryDisplayStorageFileBitmapAtPointAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Foundation::Point const& offsetInPixels) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::TryDisplayStorageFileBitmapAtPointAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Foundation::Point const& offsetInPixels, int32_t widthInPixels) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ILineDisplayWindow2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderCapabilities) consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::Capabilities() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::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 <typename D> WINRT_IMPL_AUTO(com_array<uint32_t>) consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::SupportedCardTypes() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::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<uint32_t>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderAuthenticationProtocol) consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::DeviceAuthenticationProtocol() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::DeviceAuthenticationProtocol() const
{
winrt::Windows::Devices::PointOfService::MagneticStripeReaderAuthenticationProtocol value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReader)->get_DeviceAuthenticationProtocol(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReader)->CheckHealthAsync(static_cast<int32_t>(level), &operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader>) consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::ClaimReaderAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::ClaimReaderAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReader)->ClaimReaderAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::RetrieveStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::RetrieveStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReader)->RetrieveStatisticsAsync(*(void**)(&statisticsCategories), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorReportingType) consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::GetErrorReportingType() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::GetErrorReportingType() const
{
winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorReportingType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReader)->GetErrorReportingType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::MagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderStatusUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::MagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderStatusUpdatedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::StatusUpdated_revoker consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::MagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderStatusUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::MagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderStatusUpdatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StatusUpdated_revoker>(this, StatusUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::StatusUpdated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReader<D>::StatusUpdated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReader)->remove_StatusUpdated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderReport) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::Report() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::LicenseNumber() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::ExpirationDate() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::Restrictions() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::Class() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::Endorsements() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::BirthDate() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::FirstName() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::Surname() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::Suffix() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::Gender() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::HairColor() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::EyeColor() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::Height() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::Weight() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::Address() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::City() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::State() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::PostalCode() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderAamvaCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderReport) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::Report() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::AccountNumber() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::ExpirationDate() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::ServiceCode() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::Title() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::FirstName() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::MiddleInitial() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::Surname() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::Suffix() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderBankCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::CardAuthentication() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::SupportedEncryptionAlgorithms() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::SupportedEncryptionAlgorithms() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_SupportedEncryptionAlgorithms(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderAuthenticationLevel) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::AuthenticationLevel() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::AuthenticationLevel() const
{
winrt::Windows::Devices::PointOfService::MagneticStripeReaderAuthenticationLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_AuthenticationLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::IsIsoSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::IsIsoSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_IsIsoSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::IsJisOneSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::IsJisOneSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_IsJisOneSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::IsJisTwoSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::IsJisTwoSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_IsJisTwoSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::PowerReportingType() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::PowerReportingType() const
{
winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_PowerReportingType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::IsStatisticsReportingSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::IsStatisticsReportingSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_IsStatisticsReportingSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::IsStatisticsUpdatingSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::IsStatisticsUpdatingSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_IsStatisticsUpdatingSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::IsTrackDataMaskingSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::IsTrackDataMaskingSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_IsTrackDataMaskingSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::IsTransmitSentinelsSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCapabilities<D>::IsTransmitSentinelsSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities)->get_IsTransmitSentinelsSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics<D>::Unknown() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics<D>::Unknown() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCardTypesStatics)->get_Unknown(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics<D>::Bank() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics<D>::Bank() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCardTypesStatics)->get_Bank(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics<D>::Aamva() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics<D>::Aamva() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCardTypesStatics)->get_Aamva(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics<D>::ExtendedBase() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderCardTypesStatics<D>::ExtendedBase() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCardTypesStatics)->get_ExtendedBase(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderEncryptionAlgorithmsStatics<D>::None() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderEncryptionAlgorithmsStatics<D>::None() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderEncryptionAlgorithmsStatics)->get_None(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderEncryptionAlgorithmsStatics<D>::TripleDesDukpt() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderEncryptionAlgorithmsStatics<D>::TripleDesDukpt() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderEncryptionAlgorithmsStatics)->get_TripleDesDukpt(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderEncryptionAlgorithmsStatics<D>::ExtendedBase() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderEncryptionAlgorithmsStatics<D>::ExtendedBase() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderEncryptionAlgorithmsStatics)->get_ExtendedBase(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType) consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs<D>::Track1Status() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs<D>::Track1Status() const
{
winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderErrorOccurredEventArgs)->get_Track1Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType) consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs<D>::Track2Status() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs<D>::Track2Status() const
{
winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderErrorOccurredEventArgs)->get_Track2Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType) consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs<D>::Track3Status() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs<D>::Track3Status() const
{
winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderErrorOccurredEventArgs)->get_Track3Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType) consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs<D>::Track4Status() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs<D>::Track4Status() const
{
winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackErrorType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderErrorOccurredEventArgs)->get_Track4Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData) consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs<D>::ErrorData() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderReport) consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs<D>::PartialInputData() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderErrorOccurredEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::CardType() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::CardType() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderReport)->get_CardType(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackData) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::Track1() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackData) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::Track2() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackData) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::Track3() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderTrackData) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::Track4() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderReport)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::CardAuthenticationData() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::CardAuthenticationDataLength() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::CardAuthenticationDataLength() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderReport)->get_CardAuthenticationDataLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::AdditionalSecurityInformation() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::MagneticStripeReader>) consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics<D>::GetDefaultAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderStatics)->GetDefaultAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::MagneticStripeReader>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::MagneticStripeReader>) consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics<D>::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<winrt::Windows::Devices::PointOfService::MagneticStripeReader>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics<D>::GetDeviceSelector() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderStatics)->GetDeviceSelector(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics2<D>::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics2<D>::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderStatics2)->GetDeviceSelectorWithConnectionTypes(static_cast<uint32_t>(connectionTypes), &value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderStatus) consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatusUpdatedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatusUpdatedEventArgs<D>::Status() const
{
winrt::Windows::Devices::PointOfService::MagneticStripeReaderStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderStatusUpdatedEventArgs)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatusUpdatedEventArgs<D>::ExtendedStatus() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatusUpdatedEventArgs<D>::ExtendedStatus() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IMagneticStripeReaderStatusUpdatedEventArgs)->get_ExtendedStatus(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_PointOfService_IMagneticStripeReaderTrackData<D>::Data() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderTrackData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_PointOfService_IMagneticStripeReaderTrackData<D>::DiscretionaryData() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderTrackData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_PointOfService_IMagneticStripeReaderTrackData<D>::EncryptedData() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderTrackData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderReport) consume_Windows_Devices_PointOfService_IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs<D>::Report() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IPosPrinter<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterCapabilities) consume_Windows_Devices_PointOfService_IPosPrinter<D>::Capabilities() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Devices_PointOfService_IPosPrinter<D>::SupportedCharacterSets() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinter<D>::SupportedCharacterSets() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter)->get_SupportedCharacterSets(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Devices_PointOfService_IPosPrinter<D>::SupportedTypeFaces() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinter<D>::SupportedTypeFaces() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter)->get_SupportedTypeFaces(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterStatus) consume_Windows_Devices_PointOfService_IPosPrinter<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter>) consume_Windows_Devices_PointOfService_IPosPrinter<D>::ClaimPrinterAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinter<D>::ClaimPrinterAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter)->ClaimPrinterAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Devices_PointOfService_IPosPrinter<D>::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinter<D>::CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter)->CheckHealthAsync(static_cast<int32_t>(level), &operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Devices_PointOfService_IPosPrinter<D>::GetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinter<D>::GetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter)->GetStatisticsAsync(*(void**)(&statisticsCategories), &operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_PointOfService_IPosPrinter<D>::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::PosPrinter, winrt::Windows::Devices::PointOfService::PosPrinterStatusUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinter<D>::StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::PosPrinter, winrt::Windows::Devices::PointOfService::PosPrinterStatusUpdatedEventArgs> 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 D> typename consume_Windows_Devices_PointOfService_IPosPrinter<D>::StatusUpdated_revoker consume_Windows_Devices_PointOfService_IPosPrinter<D>::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::PosPrinter, winrt::Windows::Devices::PointOfService::PosPrinterStatusUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinter<D>::StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::PosPrinter, winrt::Windows::Devices::PointOfService::PosPrinterStatusUpdatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StatusUpdated_revoker>(this, StatusUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinter<D>::StatusUpdated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinter<D>::StatusUpdated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter)->remove_StatusUpdated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Devices_PointOfService_IPosPrinter2<D>::SupportedBarcodeSymbologies() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinter2<D>::SupportedBarcodeSymbologies() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinter2)->get_SupportedBarcodeSymbologies(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterFontProperty) consume_Windows_Devices_PointOfService_IPosPrinter2<D>::GetFontProperty(param::hstring const& typeface) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinter2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::PowerReportingType() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::PowerReportingType() const
{
winrt::Windows::Devices::PointOfService::UnifiedPosPowerReportingType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities)->get_PowerReportingType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::IsStatisticsReportingSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::IsStatisticsReportingSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities)->get_IsStatisticsReportingSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::IsStatisticsUpdatingSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::IsStatisticsUpdatingSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities)->get_IsStatisticsUpdatingSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::DefaultCharacterSet() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::DefaultCharacterSet() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities)->get_DefaultCharacterSet(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::HasCoverSensor() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::HasCoverSensor() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities)->get_HasCoverSensor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::CanMapCharacterSet() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::CanMapCharacterSet() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities)->get_CanMapCharacterSet(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::IsTransactionSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::IsTransactionSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities)->get_IsTransactionSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::ReceiptPrinterCapabilities) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::Receipt() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::SlipPrinterCapabilities) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::Slip() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::JournalPrinterCapabilities) consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::Journal() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IPosPrinterCharacterSetIdsStatics<D>::Utf16LE() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterCharacterSetIdsStatics<D>::Utf16LE() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCharacterSetIdsStatics)->get_Utf16LE(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IPosPrinterCharacterSetIdsStatics<D>::Ascii() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterCharacterSetIdsStatics<D>::Ascii() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCharacterSetIdsStatics)->get_Ascii(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IPosPrinterCharacterSetIdsStatics<D>::Ansi() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterCharacterSetIdsStatics<D>::Ansi() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterCharacterSetIdsStatics)->get_Ansi(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IPosPrinterFontProperty<D>::TypeFace() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterFontProperty<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterFontProperty<D>::IsScalableToAnySize() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterFontProperty<D>::IsScalableToAnySize() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterFontProperty)->get_IsScalableToAnySize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::PointOfService::SizeUInt32>) consume_Windows_Devices_PointOfService_IPosPrinterFontProperty<D>::CharacterSizes() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterFontProperty<D>::CharacterSizes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterFontProperty)->get_CharacterSizes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::PointOfService::SizeUInt32>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterJob<D>::Print(param::hstring const& data) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterJob<D>::Print(param::hstring const& data) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterJob)->Print(*(void**)(&data)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterJob<D>::PrintLine(param::hstring const& data) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterJob<D>::PrintLine(param::hstring const& data) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterJob)->PrintLine(*(void**)(&data)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterJob<D>::PrintLine() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterJob<D>::PrintLine() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterJob)->PrintNewline());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_PointOfService_IPosPrinterJob<D>::ExecuteAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterJob<D>::ExecuteAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterJob)->ExecuteAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::TypeFace() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::TypeFace(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::TypeFace(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_TypeFace(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::CharacterHeight() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::CharacterHeight() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_CharacterHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::CharacterHeight(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::CharacterHeight(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_CharacterHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Bold() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Bold() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_Bold(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Bold(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Bold(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_Bold(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Italic() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Italic() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_Italic(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Italic(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Italic(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_Italic(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Underline() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Underline() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_Underline(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Underline(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Underline(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_Underline(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::ReverseVideo() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::ReverseVideo() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_ReverseVideo(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::ReverseVideo(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::ReverseVideo(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_ReverseVideo(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Strikethrough() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Strikethrough() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_Strikethrough(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Strikethrough(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Strikethrough(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_Strikethrough(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Superscript() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Superscript() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_Superscript(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Superscript(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Superscript(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_Superscript(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Subscript() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Subscript() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_Subscript(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Subscript(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Subscript(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_Subscript(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::DoubleWide() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::DoubleWide() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_DoubleWide(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::DoubleWide(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::DoubleWide(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_DoubleWide(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::DoubleHigh() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::DoubleHigh() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_DoubleHigh(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::DoubleHigh(bool value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::DoubleHigh(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_DoubleHigh(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterAlignment) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Alignment() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Alignment() const
{
winrt::Windows::Devices::PointOfService::PosPrinterAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_Alignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Alignment(winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::Alignment(winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_Alignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::CharacterSet() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::CharacterSet() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->get_CharacterSet(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::CharacterSet(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterPrintOptions<D>::CharacterSet(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions)->put_CharacterSet(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::PosPrinter>) consume_Windows_Devices_PointOfService_IPosPrinterStatics<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterStatics<D>::GetDefaultAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterStatics)->GetDefaultAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::PosPrinter>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::PosPrinter>) consume_Windows_Devices_PointOfService_IPosPrinterStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterStatics<D>::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<winrt::Windows::Devices::PointOfService::PosPrinter>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IPosPrinterStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterStatics<D>::GetDeviceSelector() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterStatics)->GetDeviceSelector(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IPosPrinterStatics2<D>::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterStatics2<D>::GetDeviceSelector(winrt::Windows::Devices::PointOfService::PosConnectionTypes const& connectionTypes) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterStatics2)->GetDeviceSelectorWithConnectionTypes(static_cast<uint32_t>(connectionTypes), &value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterStatusKind) consume_Windows_Devices_PointOfService_IPosPrinterStatus<D>::StatusKind() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterStatus<D>::StatusKind() const
{
winrt::Windows::Devices::PointOfService::PosPrinterStatusKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterStatus)->get_StatusKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IPosPrinterStatus<D>::ExtendedStatus() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterStatus<D>::ExtendedStatus() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IPosPrinterStatus)->get_ExtendedStatus(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterStatus) consume_Windows_Devices_PointOfService_IPosPrinterStatusUpdatedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IPosPrinterStatusUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::SetBarcodeRotation(winrt::Windows::Devices::PointOfService::PosPrinterRotation const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::SetBarcodeRotation(winrt::Windows::Devices::PointOfService::PosPrinterRotation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->SetBarcodeRotation(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::SetPrintRotation(winrt::Windows::Devices::PointOfService::PosPrinterRotation const& value, bool includeBitmaps) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::SetPrintRotation(winrt::Windows::Devices::PointOfService::PosPrinterRotation const& value, bool includeBitmaps) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->SetPrintRotation(static_cast<int32_t>(value), includeBitmaps));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::SetPrintArea(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::SetPrintArea(winrt::Windows::Foundation::Rect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->SetPrintArea(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::SetBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::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<int32_t>(alignment)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::SetBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment, uint32_t width) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::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<int32_t>(alignment), width));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::SetCustomAlignedBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::SetCustomAlignedBitmap(uint32_t bitmapNumber, winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance, uint32_t width) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::PrintSavedBitmap(uint32_t bitmapNumber) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::PrintSavedBitmap(uint32_t bitmapNumber) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob)->PrintSavedBitmap(bitmapNumber));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::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 <typename D> auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::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<int32_t>(lineDirection), lineWidth, static_cast<int32_t>(lineStyle), lineColor));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::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 <typename D> auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::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<int32_t>(textPosition), static_cast<int32_t>(alignment)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::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 <typename D> auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::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<int32_t>(textPosition), alignmentDistance));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::PrintBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::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<int32_t>(alignment)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::PrintBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, winrt::Windows::Devices::PointOfService::PosPrinterAlignment const& alignment, uint32_t width) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::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<int32_t>(alignment), width));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::PrintCustomAlignedBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::PrintCustomAlignedBitmap(winrt::Windows::Graphics::Imaging::BitmapFrame const& bitmap, uint32_t alignmentDistance, uint32_t width) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptOrSlipJob<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptPrintJob<D>::MarkFeed(winrt::Windows::Devices::PointOfService::PosPrinterMarkFeedKind const& kind) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptPrintJob<D>::MarkFeed(winrt::Windows::Devices::PointOfService::PosPrinterMarkFeedKind const& kind) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrintJob)->MarkFeed(static_cast<int32_t>(kind)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptPrintJob<D>::CutPaper(double percentage) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptPrintJob<D>::CutPaper(double percentage) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrintJob)->CutPaper(percentage));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptPrintJob<D>::CutPaper() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptPrintJob<D>::CutPaper() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrintJob)->CutPaperDefault());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptPrintJob2<D>::StampPaper() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptPrintJob2<D>::StampPaper() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrintJob2)->StampPaper());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptPrintJob2<D>::Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptPrintJob2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptPrintJob2<D>::FeedPaperByLine(int32_t lineCount) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptPrintJob2<D>::FeedPaperByLine(int32_t lineCount) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrintJob2)->FeedPaperByLine(lineCount));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_IReceiptPrintJob2<D>::FeedPaperByMapModeUnit(int32_t distance) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptPrintJob2<D>::FeedPaperByMapModeUnit(int32_t distance) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrintJob2)->FeedPaperByMapModeUnit(distance));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities<D>::CanCutPaper() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities<D>::CanCutPaper() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities)->get_CanCutPaper(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities<D>::IsStampSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities<D>::IsStampSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities)->get_IsStampSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterMarkFeedCapabilities) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities<D>::MarkFeedCapabilities() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities<D>::MarkFeedCapabilities() const
{
winrt::Windows::Devices::PointOfService::PosPrinterMarkFeedCapabilities value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities)->get_MarkFeedCapabilities(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2<D>::IsReverseVideoSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2<D>::IsReverseVideoSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities2)->get_IsReverseVideoSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2<D>::IsStrikethroughSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2<D>::IsStrikethroughSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities2)->get_IsStrikethroughSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2<D>::IsSuperscriptSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2<D>::IsSuperscriptSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities2)->get_IsSuperscriptSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2<D>::IsSubscriptSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2<D>::IsSubscriptSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities2)->get_IsSubscriptSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2<D>::IsReversePaperFeedByLineSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2<D>::IsReversePaperFeedByLineSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities2)->get_IsReversePaperFeedByLineSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2<D>::IsReversePaperFeedByMapModeUnitSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IReceiptPrinterCapabilities2<D>::IsReversePaperFeedByMapModeUnitSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities2)->get_IsReversePaperFeedByMapModeUnitSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ISlipPrintJob<D>::Print(param::hstring const& data, winrt::Windows::Devices::PointOfService::PosPrinterPrintOptions const& printOptions) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ISlipPrintJob<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ISlipPrintJob<D>::FeedPaperByLine(int32_t lineCount) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ISlipPrintJob<D>::FeedPaperByLine(int32_t lineCount) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrintJob)->FeedPaperByLine(lineCount));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_PointOfService_ISlipPrintJob<D>::FeedPaperByMapModeUnit(int32_t distance) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ISlipPrintJob<D>::FeedPaperByMapModeUnit(int32_t distance) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrintJob)->FeedPaperByMapModeUnit(distance));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities<D>::IsFullLengthSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities<D>::IsFullLengthSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities)->get_IsFullLengthSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities<D>::IsBothSidesPrintingSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities<D>::IsBothSidesPrintingSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities)->get_IsBothSidesPrintingSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2<D>::IsReverseVideoSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2<D>::IsReverseVideoSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities2)->get_IsReverseVideoSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2<D>::IsStrikethroughSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2<D>::IsStrikethroughSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities2)->get_IsStrikethroughSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2<D>::IsSuperscriptSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2<D>::IsSuperscriptSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities2)->get_IsSuperscriptSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2<D>::IsSubscriptSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2<D>::IsSubscriptSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities2)->get_IsSubscriptSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2<D>::IsReversePaperFeedByLineSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2<D>::IsReversePaperFeedByLineSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities2)->get_IsReversePaperFeedByLineSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2<D>::IsReversePaperFeedByMapModeUnitSupported() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_ISlipPrinterCapabilities2<D>::IsReversePaperFeedByMapModeUnitSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities2)->get_IsReversePaperFeedByMapModeUnitSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_PointOfService_IUnifiedPosErrorData<D>::Message() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IUnifiedPosErrorData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosErrorSeverity) consume_Windows_Devices_PointOfService_IUnifiedPosErrorData<D>::Severity() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IUnifiedPosErrorData<D>::Severity() const
{
winrt::Windows::Devices::PointOfService::UnifiedPosErrorSeverity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IUnifiedPosErrorData)->get_Severity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosErrorReason) consume_Windows_Devices_PointOfService_IUnifiedPosErrorData<D>::Reason() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IUnifiedPosErrorData<D>::Reason() const
{
winrt::Windows::Devices::PointOfService::UnifiedPosErrorReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IUnifiedPosErrorData)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_PointOfService_IUnifiedPosErrorData<D>::ExtendedReason() const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IUnifiedPosErrorData<D>::ExtendedReason() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::PointOfService::IUnifiedPosErrorData)->get_ExtendedReason(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::UnifiedPosErrorData) consume_Windows_Devices_PointOfService_IUnifiedPosErrorDataFactory<D>::CreateInstance(param::hstring const& message, winrt::Windows::Devices::PointOfService::UnifiedPosErrorSeverity const& severity, winrt::Windows::Devices::PointOfService::UnifiedPosErrorReason const& reason, uint32_t extendedReason) const
+ template <typename D> auto consume_Windows_Devices_PointOfService_IUnifiedPosErrorDataFactory<D>::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<int32_t>(severity), static_cast<int32_t>(reason), extendedReason, &result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Portable.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Portable.h
index 62e8681801b..1b974dfe7b1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Portable.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Portable_IServiceDeviceStatics<D>::GetDeviceSelector(winrt::Windows::Devices::Portable::ServiceDeviceType const& serviceType) const
+ template <typename D> auto consume_Windows_Devices_Portable_IServiceDeviceStatics<D>::GetDeviceSelector(winrt::Windows::Devices::Portable::ServiceDeviceType const& serviceType) const
{
void* selector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Portable::IServiceDeviceStatics)->GetDeviceSelector(static_cast<int32_t>(serviceType), &selector));
return hstring{ selector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Portable_IServiceDeviceStatics<D>::GetDeviceSelectorFromServiceId(winrt::guid const& serviceId) const
+ template <typename D> auto consume_Windows_Devices_Portable_IServiceDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Devices_Portable_IStorageDeviceStatics<D>::FromId(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Portable_IStorageDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Portable_IStorageDeviceStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Portable_IStorageDeviceStatics<D>::GetDeviceSelector() const
{
void* selector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Portable::IStorageDeviceStatics)->GetDeviceSelector(&selector));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Power.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Power.h
index a43926ddbdc..2450f7c8293 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Power.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Power_IBattery<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Power_IBattery<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Power::BatteryReport) consume_Windows_Devices_Power_IBattery<D>::GetReport() const
+ template <typename D> auto consume_Windows_Devices_Power_IBattery<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Power_IBattery<D>::ReportUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Power::Battery, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Power_IBattery<D>::ReportUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Power::Battery, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Power_IBattery<D>::ReportUpdated_revoker consume_Windows_Devices_Power_IBattery<D>::ReportUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Power::Battery, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Power_IBattery<D>::ReportUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Power::Battery, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ReportUpdated_revoker>(this, ReportUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Power_IBattery<D>::ReportUpdated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Power_IBattery<D>::ReportUpdated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBattery)->remove_ReportUpdated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Devices_Power_IBatteryReport<D>::ChargeRateInMilliwatts() const
+ template <typename D> auto consume_Windows_Devices_Power_IBatteryReport<D>::ChargeRateInMilliwatts() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBatteryReport)->get_ChargeRateInMilliwatts(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Devices_Power_IBatteryReport<D>::DesignCapacityInMilliwattHours() const
+ template <typename D> auto consume_Windows_Devices_Power_IBatteryReport<D>::DesignCapacityInMilliwattHours() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBatteryReport)->get_DesignCapacityInMilliwattHours(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Devices_Power_IBatteryReport<D>::FullChargeCapacityInMilliwattHours() const
+ template <typename D> auto consume_Windows_Devices_Power_IBatteryReport<D>::FullChargeCapacityInMilliwattHours() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBatteryReport)->get_FullChargeCapacityInMilliwattHours(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Devices_Power_IBatteryReport<D>::RemainingCapacityInMilliwattHours() const
+ template <typename D> auto consume_Windows_Devices_Power_IBatteryReport<D>::RemainingCapacityInMilliwattHours() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBatteryReport)->get_RemainingCapacityInMilliwattHours(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Power::BatteryStatus) consume_Windows_Devices_Power_IBatteryReport<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Power_IBatteryReport<D>::Status() const
{
winrt::Windows::System::Power::BatteryStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBatteryReport)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Power::Battery) consume_Windows_Devices_Power_IBatteryStatics<D>::AggregateBattery() const
+ template <typename D> auto consume_Windows_Devices_Power_IBatteryStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Power::Battery>) consume_Windows_Devices_Power_IBatteryStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Power_IBatteryStatics<D>::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<winrt::Windows::Devices::Power::Battery>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Power_IBatteryStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Power_IBatteryStatics<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Power::IBatteryStatics)->GetDeviceSelector(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Printers.Extensions.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Printers.Extensions.h
index 19cd8f157b2..28c8a5df57b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Printers.Extensions.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow<D>::DeviceID() const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow<D>::GetPrintModelPackage() const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow<D>::IsPrintReady() const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow<D>::IsPrintReady() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow)->get_IsPrintReady(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow<D>::IsPrintReady(bool value) const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow<D>::IsPrintReady(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow)->put_IsPrintReady(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow<D>::PrintRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow, winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowPrintRequestedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow<D>::PrintRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow, winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowPrintRequestedEventArgs> 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 D> typename consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow<D>::PrintRequested_revoker consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow<D>::PrintRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow, winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowPrintRequestedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow<D>::PrintRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow, winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowPrintRequestedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, PrintRequested_revoker>(this, PrintRequested(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow<D>::PrintRequested(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow<D>::PrintRequested(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow)->remove_PrintRequested(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2<D>::PrinterChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow, winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowPrinterChangedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2<D>::PrinterChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow, winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowPrinterChangedEventArgs> 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 D> typename consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2<D>::PrinterChanged_revoker consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2<D>::PrinterChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow, winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowPrinterChangedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2<D>::PrinterChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow, winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowPrinterChangedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, PrinterChanged_revoker>(this, PrinterChanged(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2<D>::PrinterChanged(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2<D>::PrinterChanged(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow2)->remove_PrinterChanged(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowStatus) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs<D>::Status() const
{
winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflowPrintRequestedEventArgs)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs<D>::SetExtendedStatus(winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowDetail const& value) const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs<D>::SetExtendedStatus(winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowDetail const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflowPrintRequestedEventArgs)->SetExtendedStatus(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs<D>::SetSource(winrt::Windows::Foundation::IInspectable const& source) const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs<D>::SetSource(winrt::Windows::Foundation::IInspectable const& source) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflowPrintRequestedEventArgs)->SetSource(*(void**)(&source)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs<D>::SetSourceChanged(bool value) const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrintRequestedEventArgs<D>::SetSourceChanged(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflowPrintRequestedEventArgs)->SetSourceChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrinterChangedEventArgs<D>::NewDeviceId() const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrinterChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Devices_Printers_Extensions_IPrintExtensionContextStatic<D>::FromDeviceId(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrintExtensionContextStatic<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Printers_Extensions_IPrintNotificationEventDetails<D>::PrinterName() const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrintNotificationEventDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Printers_Extensions_IPrintNotificationEventDetails<D>::EventData() const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrintNotificationEventDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrintNotificationEventDetails<D>::EventData(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrintNotificationEventDetails<D>::EventData(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintNotificationEventDetails)->put_EventData(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration<D>::PrinterExtensionContext() const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration<D>::SaveRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::PrintTaskConfiguration, winrt::Windows::Devices::Printers::Extensions::PrintTaskConfigurationSaveRequestedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration<D>::SaveRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::PrintTaskConfiguration, winrt::Windows::Devices::Printers::Extensions::PrintTaskConfigurationSaveRequestedEventArgs> 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 D> typename consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration<D>::SaveRequested_revoker consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration<D>::SaveRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::PrintTaskConfiguration, winrt::Windows::Devices::Printers::Extensions::PrintTaskConfigurationSaveRequestedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration<D>::SaveRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::PrintTaskConfiguration, winrt::Windows::Devices::Printers::Extensions::PrintTaskConfigurationSaveRequestedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, SaveRequested_revoker>(this, SaveRequested(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration<D>::SaveRequested(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfiguration<D>::SaveRequested(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfiguration)->remove_SaveRequested(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest<D>::Cancel() const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest<D>::Cancel() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequest)->Cancel());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest<D>::Save(winrt::Windows::Foundation::IInspectable const& printerExtensionContext) const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest<D>::Save(winrt::Windows::Foundation::IInspectable const& printerExtensionContext) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequest)->Save(*(void**)(&printerExtensionContext)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::Extensions::PrintTaskConfigurationSaveRequestedDeferral) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest<D>::Deadline() const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequestedDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequestedDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequestedDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::Extensions::PrintTaskConfigurationSaveRequest) consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequestedEventArgs<D>::Request() const
{
void* context{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequestedEventArgs)->get_Request(&context));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Printers.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Printers.h
index 1333a1130aa..44402657e52 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Printers.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::PrintSchema) consume_Windows_Devices_Printers_IPrint3DDevice<D>::PrintSchema() const
+ template <typename D> auto consume_Windows_Devices_Printers_IPrint3DDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Printers::Print3DDevice>) consume_Windows_Devices_Printers_IPrint3DDeviceStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Printers_IPrint3DDeviceStatics<D>::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<winrt::Windows::Devices::Printers::Print3DDevice>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Printers_IPrint3DDeviceStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Printers_IPrint3DDeviceStatics<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::IPrint3DDeviceStatics)->GetDeviceSelector(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType>) consume_Windows_Devices_Printers_IPrintSchema<D>::GetDefaultPrintTicketAsync() const
+ template <typename D> auto consume_Windows_Devices_Printers_IPrintSchema<D>::GetDefaultPrintTicketAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Printers::IPrintSchema)->GetDefaultPrintTicketAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType>) consume_Windows_Devices_Printers_IPrintSchema<D>::GetCapabilitiesAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& constrainTicket) const
+ template <typename D> auto consume_Windows_Devices_Printers_IPrintSchema<D>::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<winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType>) consume_Windows_Devices_Printers_IPrintSchema<D>::MergeAndValidateWithDefaultPrintTicketAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& deltaTicket) const
+ template <typename D> auto consume_Windows_Devices_Printers_IPrintSchema<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Pwm.Provider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Pwm.Provider.h
index ab8e7fca3b0..c3b9a86ffee 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Pwm.Provider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::PinCount() const
+ template <typename D> auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::PinCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->get_PinCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::ActualFrequency() const
+ template <typename D> auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::ActualFrequency() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->get_ActualFrequency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::SetDesiredFrequency(double frequency) const
+ template <typename D> auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::SetDesiredFrequency(double frequency) const
{
double result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->SetDesiredFrequency(frequency, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::MaxFrequency() const
+ template <typename D> auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::MaxFrequency() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->get_MaxFrequency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::MinFrequency() const
+ template <typename D> auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::MinFrequency() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->get_MinFrequency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::AcquirePin(int32_t pin) const
+ template <typename D> auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::AcquirePin(int32_t pin) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->AcquirePin(pin));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::ReleasePin(int32_t pin) const
+ template <typename D> auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::ReleasePin(int32_t pin) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->ReleasePin(pin));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::EnablePin(int32_t pin) const
+ template <typename D> auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::EnablePin(int32_t pin) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->EnablePin(pin));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::DisablePin(int32_t pin) const
+ template <typename D> auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::DisablePin(int32_t pin) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider)->DisablePin(pin));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::SetPulseParameters(int32_t pin, double dutyCycle, bool invertPolarity) const
+ template <typename D> auto consume_Windows_Devices_Pwm_Provider_IPwmControllerProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider>) consume_Windows_Devices_Pwm_Provider_IPwmProvider<D>::GetControllers() const
+ template <typename D> auto consume_Windows_Devices_Pwm_Provider_IPwmProvider<D>::GetControllers() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::Provider::IPwmProvider)->GetControllers(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Pwm.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Pwm.h
index 694f589dd9b..a9380ea3c27 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Pwm.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Pwm_IPwmController<D>::PinCount() const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmController<D>::PinCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmController)->get_PinCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_IPwmController<D>::ActualFrequency() const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmController<D>::ActualFrequency() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmController)->get_ActualFrequency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_IPwmController<D>::SetDesiredFrequency(double desiredFrequency) const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmController<D>::SetDesiredFrequency(double desiredFrequency) const
{
double result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmController)->SetDesiredFrequency(desiredFrequency, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_IPwmController<D>::MinFrequency() const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmController<D>::MinFrequency() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmController)->get_MinFrequency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_IPwmController<D>::MaxFrequency() const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmController<D>::MaxFrequency() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmController)->get_MaxFrequency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Pwm::PwmPin) consume_Windows_Devices_Pwm_IPwmController<D>::OpenPin(int32_t pinNumber) const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Pwm::PwmController>>) consume_Windows_Devices_Pwm_IPwmControllerStatics<D>::GetControllersAsync(winrt::Windows::Devices::Pwm::Provider::IPwmProvider const& provider) const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmControllerStatics<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Pwm::PwmController>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Pwm::PwmController>) consume_Windows_Devices_Pwm_IPwmControllerStatics2<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmControllerStatics2<D>::GetDefaultAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmControllerStatics2)->GetDefaultAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Pwm::PwmController>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Pwm_IPwmControllerStatics3<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmControllerStatics3<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmControllerStatics3)->GetDeviceSelector(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Pwm_IPwmControllerStatics3<D>::GetDeviceSelector(param::hstring const& friendlyName) const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmControllerStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Pwm::PwmController>) consume_Windows_Devices_Pwm_IPwmControllerStatics3<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmControllerStatics3<D>::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<winrt::Windows::Devices::Pwm::PwmController>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Pwm::PwmController) consume_Windows_Devices_Pwm_IPwmPin<D>::Controller() const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmPin<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Pwm_IPwmPin<D>::GetActiveDutyCyclePercentage() const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmPin<D>::GetActiveDutyCyclePercentage() const
{
double result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmPin)->GetActiveDutyCyclePercentage(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_IPwmPin<D>::SetActiveDutyCyclePercentage(double dutyCyclePercentage) const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmPin<D>::SetActiveDutyCyclePercentage(double dutyCyclePercentage) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmPin)->SetActiveDutyCyclePercentage(dutyCyclePercentage));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Pwm::PwmPulsePolarity) consume_Windows_Devices_Pwm_IPwmPin<D>::Polarity() const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmPin<D>::Polarity() const
{
winrt::Windows::Devices::Pwm::PwmPulsePolarity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmPin)->get_Polarity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_IPwmPin<D>::Polarity(winrt::Windows::Devices::Pwm::PwmPulsePolarity const& value) const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmPin<D>::Polarity(winrt::Windows::Devices::Pwm::PwmPulsePolarity const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmPin)->put_Polarity(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_IPwmPin<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmPin<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmPin)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Pwm_IPwmPin<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmPin<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmPin)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Pwm_IPwmPin<D>::IsStarted() const
+ template <typename D> auto consume_Windows_Devices_Pwm_IPwmPin<D>::IsStarted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Pwm::IPwmPin)->get_IsStarted(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Radios.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Radios.h
index b6d004cc33d..4c5f2d81f6c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Radios.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Radios::RadioAccessStatus>) consume_Windows_Devices_Radios_IRadio<D>::SetStateAsync(winrt::Windows::Devices::Radios::RadioState const& value) const
+ template <typename D> auto consume_Windows_Devices_Radios_IRadio<D>::SetStateAsync(winrt::Windows::Devices::Radios::RadioState const& value) const
{
void* retval{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Radios::IRadio)->SetStateAsync(static_cast<int32_t>(value), &retval));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Radios::RadioAccessStatus>{ retval, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Radios_IRadio<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Radios::Radio, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Radios_IRadio<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Radios::Radio, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Radios_IRadio<D>::StateChanged_revoker consume_Windows_Devices_Radios_IRadio<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Radios::Radio, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Radios_IRadio<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Radios::Radio, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, StateChanged_revoker>(this, StateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Radios_IRadio<D>::StateChanged(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Devices_Radios_IRadio<D>::StateChanged(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Radios::IRadio)->remove_StateChanged(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Radios::RadioState) consume_Windows_Devices_Radios_IRadio<D>::State() const
+ template <typename D> auto consume_Windows_Devices_Radios_IRadio<D>::State() const
{
winrt::Windows::Devices::Radios::RadioState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Radios::IRadio)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Radios_IRadio<D>::Name() const
+ template <typename D> auto consume_Windows_Devices_Radios_IRadio<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Radios::RadioKind) consume_Windows_Devices_Radios_IRadio<D>::Kind() const
+ template <typename D> auto consume_Windows_Devices_Radios_IRadio<D>::Kind() const
{
winrt::Windows::Devices::Radios::RadioKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Radios::IRadio)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Radios::Radio>>) consume_Windows_Devices_Radios_IRadioStatics<D>::GetRadiosAsync() const
+ template <typename D> auto consume_Windows_Devices_Radios_IRadioStatics<D>::GetRadiosAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Radios::IRadioStatics)->GetRadiosAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Radios::Radio>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Radios_IRadioStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Radios_IRadioStatics<D>::GetDeviceSelector() const
{
void* deviceSelector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Radios::IRadioStatics)->GetDeviceSelector(&deviceSelector));
return hstring{ deviceSelector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Radios::Radio>) consume_Windows_Devices_Radios_IRadioStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Radios_IRadioStatics<D>::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<winrt::Windows::Devices::Radios::Radio>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Radios::RadioAccessStatus>) consume_Windows_Devices_Radios_IRadioStatics<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_Devices_Radios_IRadioStatics<D>::RequestAccessAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Radios::IRadioStatics)->RequestAccessAsync(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Scanners.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Scanners.h
index 698f42c8e5c..b714843eca9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Scanners.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Scanners_IImageScanner<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScanner<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerScanSource) consume_Windows_Devices_Scanners_IImageScanner<D>::DefaultScanSource() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScanner<D>::DefaultScanSource() const
{
winrt::Windows::Devices::Scanners::ImageScannerScanSource value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScanner)->get_DefaultScanSource(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScanner<D>::IsScanSourceSupported(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& value) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScanner<D>::IsScanSourceSupported(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& value) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScanner)->IsScanSourceSupported(static_cast<int32_t>(value), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerFlatbedConfiguration) consume_Windows_Devices_Scanners_IImageScanner<D>::FlatbedConfiguration() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScanner<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerFeederConfiguration) consume_Windows_Devices_Scanners_IImageScanner<D>::FeederConfiguration() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScanner<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerAutoConfiguration) consume_Windows_Devices_Scanners_IImageScanner<D>::AutoConfiguration() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScanner<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScanner<D>::IsPreviewSupported(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScanner<D>::IsPreviewSupported(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScanner)->IsPreviewSupported(static_cast<int32_t>(scanSource), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Scanners::ImageScannerPreviewResult>) consume_Windows_Devices_Scanners_IImageScanner<D>::ScanPreviewToStreamAsync(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource, winrt::Windows::Storage::Streams::IRandomAccessStream const& targetStream) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScanner<D>::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<int32_t>(scanSource), *(void**)(&targetStream), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Scanners::ImageScannerPreviewResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Devices::Scanners::ImageScannerScanResult, uint32_t>) consume_Windows_Devices_Scanners_IImageScanner<D>::ScanFilesToFolderAsync(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource, winrt::Windows::Storage::StorageFolder const& storageFolder) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScanner<D>::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<int32_t>(scanSource), *(void**)(&storageFolder), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Devices::Scanners::ImageScannerScanResult, uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::CanAutoDetectPageSize() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::CanAutoDetectPageSize() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_CanAutoDetectPageSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::AutoDetectPageSize() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::AutoDetectPageSize() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_AutoDetectPageSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::AutoDetectPageSize(bool value) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::AutoDetectPageSize(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->put_AutoDetectPageSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintMediaSize) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::PageSize() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::PageSize() const
{
winrt::Windows::Graphics::Printing::PrintMediaSize value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_PageSize(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::PageSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::PageSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->put_PageSize(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintOrientation) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::PageOrientation() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::PageOrientation() const
{
winrt::Windows::Graphics::Printing::PrintOrientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_PageOrientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::PageOrientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::PageOrientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->put_PageOrientation(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::PageSizeDimensions() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::IsPageSizeSupported(winrt::Windows::Graphics::Printing::PrintMediaSize const& pageSize, winrt::Windows::Graphics::Printing::PrintOrientation const& pageOrientation) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::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<int32_t>(pageSize), static_cast<int32_t>(pageOrientation), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::MaxNumberOfPages() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::MaxNumberOfPages() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_MaxNumberOfPages(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::MaxNumberOfPages(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::MaxNumberOfPages(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->put_MaxNumberOfPages(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::CanScanDuplex() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::CanScanDuplex() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_CanScanDuplex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::Duplex() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::Duplex() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_Duplex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::Duplex(bool value) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::Duplex(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->put_Duplex(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::CanScanAhead() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::CanScanAhead() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_CanScanAhead(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::ScanAhead() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::ScanAhead() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->get_ScanAhead(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::ScanAhead(bool value) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFeederConfiguration<D>::ScanAhead(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration)->put_ScanAhead(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerFormat) consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration<D>::DefaultFormat() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration<D>::DefaultFormat() const
{
winrt::Windows::Devices::Scanners::ImageScannerFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration)->get_DefaultFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerFormat) consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration<D>::Format() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration<D>::Format() const
{
winrt::Windows::Devices::Scanners::ImageScannerFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration)->get_Format(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration<D>::Format(winrt::Windows::Devices::Scanners::ImageScannerFormat const& value) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration<D>::Format(winrt::Windows::Devices::Scanners::ImageScannerFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration)->put_Format(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration<D>::IsFormatSupported(winrt::Windows::Devices::Scanners::ImageScannerFormat const& value) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerFormatConfiguration<D>::IsFormatSupported(winrt::Windows::Devices::Scanners::ImageScannerFormat const& value) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration)->IsFormatSupported(static_cast<int32_t>(value), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerPreviewResult<D>::Succeeded() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerPreviewResult<D>::Succeeded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerPreviewResult)->get_Succeeded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerFormat) consume_Windows_Devices_Scanners_IImageScannerPreviewResult<D>::Format() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerPreviewResult<D>::Format() const
{
winrt::Windows::Devices::Scanners::ImageScannerFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerPreviewResult)->get_Format(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>) consume_Windows_Devices_Scanners_IImageScannerScanResult<D>::ScannedFiles() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerScanResult<D>::ScannedFiles() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerScanResult)->get_ScannedFiles(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::MinScanArea() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::MaxScanArea() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::SelectedScanRegion() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::SelectedScanRegion(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::AutoCroppingMode() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::AutoCroppingMode() const
{
winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_AutoCroppingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::AutoCroppingMode(winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode const& value) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::AutoCroppingMode(winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->put_AutoCroppingMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::IsAutoCroppingModeSupported(winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode const& value) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::IsAutoCroppingModeSupported(winrt::Windows::Devices::Scanners::ImageScannerAutoCroppingMode const& value) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->IsAutoCroppingModeSupported(static_cast<int32_t>(value), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerResolution) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::MinResolution() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerResolution) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::MaxResolution() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerResolution) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::OpticalResolution() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerResolution) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::DesiredResolution() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::DesiredResolution(winrt::Windows::Devices::Scanners::ImageScannerResolution const& value) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerResolution) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::ActualResolution() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerColorMode) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::DefaultColorMode() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::DefaultColorMode() const
{
winrt::Windows::Devices::Scanners::ImageScannerColorMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_DefaultColorMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Scanners::ImageScannerColorMode) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::ColorMode() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::ColorMode() const
{
winrt::Windows::Devices::Scanners::ImageScannerColorMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_ColorMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::ColorMode(winrt::Windows::Devices::Scanners::ImageScannerColorMode const& value) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::ColorMode(winrt::Windows::Devices::Scanners::ImageScannerColorMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->put_ColorMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::IsColorModeSupported(winrt::Windows::Devices::Scanners::ImageScannerColorMode const& value) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::IsColorModeSupported(winrt::Windows::Devices::Scanners::ImageScannerColorMode const& value) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->IsColorModeSupported(static_cast<int32_t>(value), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::MinBrightness() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::MinBrightness() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_MinBrightness(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::MaxBrightness() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::MaxBrightness() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_MaxBrightness(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::BrightnessStep() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::BrightnessStep() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_BrightnessStep(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::DefaultBrightness() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::DefaultBrightness() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_DefaultBrightness(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::Brightness() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::Brightness() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_Brightness(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::Brightness(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::Brightness(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->put_Brightness(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::MinContrast() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::MinContrast() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_MinContrast(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::MaxContrast() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::MaxContrast() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_MaxContrast(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::ContrastStep() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::ContrastStep() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_ContrastStep(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::DefaultContrast() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::DefaultContrast() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_DefaultContrast(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::Contrast() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::Contrast() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->get_Contrast(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::Contrast(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerSourceConfiguration<D>::Contrast(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration)->put_Contrast(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Scanners::ImageScanner>) consume_Windows_Devices_Scanners_IImageScannerStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerStatics<D>::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<winrt::Windows::Devices::Scanners::ImageScanner>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Scanners_IImageScannerStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Scanners_IImageScannerStatics<D>::GetDeviceSelector() const
{
void* selector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Scanners::IImageScannerStatics)->GetDeviceSelector(&selector));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sensors.Custom.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sensors.Custom.h
index bb270c6282a..df9327971b4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sensors.Custom.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Custom::CustomSensorReading) consume_Windows_Devices_Sensors_Custom_ICustomSensor<D>::GetCurrentReading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_Custom_ICustomSensor<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_Custom_ICustomSensor<D>::MinimumReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_Custom_ICustomSensor<D>::MinimumReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensor)->get_MinimumReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_Custom_ICustomSensor<D>::ReportInterval(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_Custom_ICustomSensor<D>::ReportInterval(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensor)->put_ReportInterval(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_Custom_ICustomSensor<D>::ReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_Custom_ICustomSensor<D>::ReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensor)->get_ReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_Custom_ICustomSensor<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sensors_Custom_ICustomSensor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_Custom_ICustomSensor<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Custom::CustomSensor, winrt::Windows::Devices::Sensors::Custom::CustomSensorReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_Custom_ICustomSensor<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Custom::CustomSensor, winrt::Windows::Devices::Sensors::Custom::CustomSensorReadingChangedEventArgs> 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 D> typename consume_Windows_Devices_Sensors_Custom_ICustomSensor<D>::ReadingChanged_revoker consume_Windows_Devices_Sensors_Custom_ICustomSensor<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Custom::CustomSensor, winrt::Windows::Devices::Sensors::Custom::CustomSensorReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_Custom_ICustomSensor<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Custom::CustomSensor, winrt::Windows::Devices::Sensors::Custom::CustomSensorReadingChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ReadingChanged_revoker>(this, ReadingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_Custom_ICustomSensor<D>::ReadingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sensors_Custom_ICustomSensor<D>::ReadingChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensor)->remove_ReadingChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_Custom_ICustomSensor2<D>::ReportLatency(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_Custom_ICustomSensor2<D>::ReportLatency(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensor2)->put_ReportLatency(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_Custom_ICustomSensor2<D>::ReportLatency() const
+ template <typename D> auto consume_Windows_Devices_Sensors_Custom_ICustomSensor2<D>::ReportLatency() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensor2)->get_ReportLatency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_Custom_ICustomSensor2<D>::MaxBatchSize() const
+ template <typename D> auto consume_Windows_Devices_Sensors_Custom_ICustomSensor2<D>::MaxBatchSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensor2)->get_MaxBatchSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_Custom_ICustomSensorReading<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sensors_Custom_ICustomSensorReading<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Sensors_Custom_ICustomSensorReading<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Sensors_Custom_ICustomSensorReading<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensorReading)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Devices_Sensors_Custom_ICustomSensorReading2<D>::PerformanceCount() const
+ template <typename D> auto consume_Windows_Devices_Sensors_Custom_ICustomSensorReading2<D>::PerformanceCount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::Custom::ICustomSensorReading2)->get_PerformanceCount(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Custom::CustomSensorReading) consume_Windows_Devices_Sensors_Custom_ICustomSensorReadingChangedEventArgs<D>::Reading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_Custom_ICustomSensorReadingChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_Custom_ICustomSensorStatics<D>::GetDeviceSelector(winrt::guid const& interfaceId) const
+ template <typename D> auto consume_Windows_Devices_Sensors_Custom_ICustomSensorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Custom::CustomSensor>) consume_Windows_Devices_Sensors_Custom_ICustomSensorStatics<D>::FromIdAsync(param::hstring const& sensorId) const
+ template <typename D> auto consume_Windows_Devices_Sensors_Custom_ICustomSensorStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sensors.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sensors.h
index a6a5c05742a..9469c2719e4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sensors.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AccelerometerReading) consume_Windows_Devices_Sensors_IAccelerometer<D>::GetCurrentReading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometer<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IAccelerometer<D>::MinimumReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometer<D>::MinimumReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer)->get_MinimumReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAccelerometer<D>::ReportInterval(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometer<D>::ReportInterval(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer)->put_ReportInterval(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IAccelerometer<D>::ReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometer<D>::ReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer)->get_ReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IAccelerometer<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Accelerometer, winrt::Windows::Devices::Sensors::AccelerometerReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometer<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Accelerometer, winrt::Windows::Devices::Sensors::AccelerometerReadingChangedEventArgs> 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 D> typename consume_Windows_Devices_Sensors_IAccelerometer<D>::ReadingChanged_revoker consume_Windows_Devices_Sensors_IAccelerometer<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Accelerometer, winrt::Windows::Devices::Sensors::AccelerometerReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometer<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Accelerometer, winrt::Windows::Devices::Sensors::AccelerometerReadingChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ReadingChanged_revoker>(this, ReadingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAccelerometer<D>::ReadingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometer<D>::ReadingChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer)->remove_ReadingChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IAccelerometer<D>::Shaken(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Accelerometer, winrt::Windows::Devices::Sensors::AccelerometerShakenEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometer<D>::Shaken(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Accelerometer, winrt::Windows::Devices::Sensors::AccelerometerShakenEventArgs> 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 D> typename consume_Windows_Devices_Sensors_IAccelerometer<D>::Shaken_revoker consume_Windows_Devices_Sensors_IAccelerometer<D>::Shaken(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Accelerometer, winrt::Windows::Devices::Sensors::AccelerometerShakenEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometer<D>::Shaken(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Accelerometer, winrt::Windows::Devices::Sensors::AccelerometerShakenEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Shaken_revoker>(this, Shaken(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAccelerometer<D>::Shaken(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometer<D>::Shaken(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer)->remove_Shaken(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAccelerometer2<D>::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometer2<D>::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer2)->put_ReadingTransform(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Devices_Sensors_IAccelerometer2<D>::ReadingTransform() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometer2<D>::ReadingTransform() const
{
winrt::Windows::Graphics::Display::DisplayOrientations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer2)->get_ReadingTransform(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAccelerometer3<D>::ReportLatency(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometer3<D>::ReportLatency(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer3)->put_ReportLatency(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IAccelerometer3<D>::ReportLatency() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometer3<D>::ReportLatency() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer3)->get_ReportLatency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IAccelerometer3<D>::MaxBatchSize() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometer3<D>::MaxBatchSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer3)->get_MaxBatchSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AccelerometerReadingType) consume_Windows_Devices_Sensors_IAccelerometer4<D>::ReadingType() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometer4<D>::ReadingType() const
{
winrt::Windows::Devices::Sensors::AccelerometerReadingType type{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometer4)->get_ReadingType(reinterpret_cast<int32_t*>(&type)));
return type;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AccelerometerDataThreshold) consume_Windows_Devices_Sensors_IAccelerometer5<D>::ReportThreshold() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometer5<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IAccelerometerDataThreshold<D>::XAxisInGForce() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerDataThreshold<D>::XAxisInGForce() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerDataThreshold)->get_XAxisInGForce(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAccelerometerDataThreshold<D>::XAxisInGForce(double value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerDataThreshold<D>::XAxisInGForce(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerDataThreshold)->put_XAxisInGForce(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IAccelerometerDataThreshold<D>::YAxisInGForce() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerDataThreshold<D>::YAxisInGForce() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerDataThreshold)->get_YAxisInGForce(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAccelerometerDataThreshold<D>::YAxisInGForce(double value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerDataThreshold<D>::YAxisInGForce(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerDataThreshold)->put_YAxisInGForce(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IAccelerometerDataThreshold<D>::ZAxisInGForce() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerDataThreshold<D>::ZAxisInGForce() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerDataThreshold)->get_ZAxisInGForce(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAccelerometerDataThreshold<D>::ZAxisInGForce(double value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerDataThreshold<D>::ZAxisInGForce(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerDataThreshold)->put_ZAxisInGForce(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IAccelerometerDeviceId<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerDeviceId<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IAccelerometerReading<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerReading<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IAccelerometerReading<D>::AccelerationX() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerReading<D>::AccelerationX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerReading)->get_AccelerationX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IAccelerometerReading<D>::AccelerationY() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerReading<D>::AccelerationY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerReading)->get_AccelerationY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IAccelerometerReading<D>::AccelerationZ() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerReading<D>::AccelerationZ() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerReading)->get_AccelerationZ(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Devices_Sensors_IAccelerometerReading2<D>::PerformanceCount() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerReading2<D>::PerformanceCount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerReading2)->get_PerformanceCount(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Sensors_IAccelerometerReading2<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerReading2<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerReading2)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AccelerometerReading) consume_Windows_Devices_Sensors_IAccelerometerReadingChangedEventArgs<D>::Reading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerReadingChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IAccelerometerShakenEventArgs<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerShakenEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Accelerometer) consume_Windows_Devices_Sensors_IAccelerometerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Accelerometer) consume_Windows_Devices_Sensors_IAccelerometerStatics2<D>::GetDefault(winrt::Windows::Devices::Sensors::AccelerometerReadingType const& readingType) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerStatics2<D>::GetDefault(winrt::Windows::Devices::Sensors::AccelerometerReadingType const& readingType) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerStatics2)->GetDefaultWithAccelerometerReadingType(static_cast<int32_t>(readingType), &result));
return winrt::Windows::Devices::Sensors::Accelerometer{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Accelerometer>) consume_Windows_Devices_Sensors_IAccelerometerStatics3<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerStatics3<D>::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<winrt::Windows::Devices::Sensors::Accelerometer>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IAccelerometerStatics3<D>::GetDeviceSelector(winrt::Windows::Devices::Sensors::AccelerometerReadingType const& readingType) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAccelerometerStatics3<D>::GetDeviceSelector(winrt::Windows::Devices::Sensors::AccelerometerReadingType const& readingType) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAccelerometerStatics3)->GetDeviceSelector(static_cast<int32_t>(readingType), &result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::ActivitySensorReading>) consume_Windows_Devices_Sensors_IActivitySensor<D>::GetCurrentReadingAsync() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensor<D>::GetCurrentReadingAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensor)->GetCurrentReadingAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::ActivitySensorReading>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Sensors::ActivityType>) consume_Windows_Devices_Sensors_IActivitySensor<D>::SubscribedActivities() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensor<D>::SubscribedActivities() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensor)->get_SubscribedActivities(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Sensors::ActivityType>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IActivitySensor<D>::PowerInMilliwatts() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensor<D>::PowerInMilliwatts() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensor)->get_PowerInMilliwatts(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IActivitySensor<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::ActivityType>) consume_Windows_Devices_Sensors_IActivitySensor<D>::SupportedActivities() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensor<D>::SupportedActivities() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensor)->get_SupportedActivities(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::ActivityType>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IActivitySensor<D>::MinimumReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensor<D>::MinimumReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensor)->get_MinimumReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IActivitySensor<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::ActivitySensor, winrt::Windows::Devices::Sensors::ActivitySensorReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensor<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::ActivitySensor, winrt::Windows::Devices::Sensors::ActivitySensorReadingChangedEventArgs> 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 D> typename consume_Windows_Devices_Sensors_IActivitySensor<D>::ReadingChanged_revoker consume_Windows_Devices_Sensors_IActivitySensor<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::ActivitySensor, winrt::Windows::Devices::Sensors::ActivitySensorReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensor<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::ActivitySensor, winrt::Windows::Devices::Sensors::ActivitySensorReadingChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ReadingChanged_revoker>(this, ReadingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IActivitySensor<D>::ReadingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensor<D>::ReadingChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensor)->remove_ReadingChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IActivitySensorReading<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensorReading<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ActivityType) consume_Windows_Devices_Sensors_IActivitySensorReading<D>::Activity() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensorReading<D>::Activity() const
{
winrt::Windows::Devices::Sensors::ActivityType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensorReading)->get_Activity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ActivitySensorReadingConfidence) consume_Windows_Devices_Sensors_IActivitySensorReading<D>::Confidence() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensorReading<D>::Confidence() const
{
winrt::Windows::Devices::Sensors::ActivitySensorReadingConfidence value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensorReading)->get_Confidence(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ActivitySensorReading) consume_Windows_Devices_Sensors_IActivitySensorReadingChangeReport<D>::Reading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensorReadingChangeReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ActivitySensorReading) consume_Windows_Devices_Sensors_IActivitySensorReadingChangedEventArgs<D>::Reading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensorReadingChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::ActivitySensor>) consume_Windows_Devices_Sensors_IActivitySensorStatics<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensorStatics<D>::GetDefaultAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensorStatics)->GetDefaultAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::ActivitySensor>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IActivitySensorStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensorStatics<D>::GetDeviceSelector() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensorStatics)->GetDeviceSelector(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::ActivitySensor>) consume_Windows_Devices_Sensors_IActivitySensorStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensorStatics<D>::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<winrt::Windows::Devices::Sensors::ActivitySensor>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::ActivitySensorReading>>) consume_Windows_Devices_Sensors_IActivitySensorStatics<D>::GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensorStatics<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::ActivitySensorReading>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::ActivitySensorReading>>) consume_Windows_Devices_Sensors_IActivitySensorStatics<D>::GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime, winrt::Windows::Foundation::TimeSpan const& duration) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensorStatics<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::ActivitySensorReading>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::ActivitySensorReadingChangeReport>) consume_Windows_Devices_Sensors_IActivitySensorTriggerDetails<D>::ReadReports() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IActivitySensorTriggerDetails<D>::ReadReports() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IActivitySensorTriggerDetails)->ReadReports(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::ActivitySensorReadingChangeReport>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AltimeterReading) consume_Windows_Devices_Sensors_IAltimeter<D>::GetCurrentReading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAltimeter<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IAltimeter<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAltimeter<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IAltimeter<D>::MinimumReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAltimeter<D>::MinimumReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeter)->get_MinimumReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAltimeter<D>::ReportInterval(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAltimeter<D>::ReportInterval(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeter)->put_ReportInterval(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IAltimeter<D>::ReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAltimeter<D>::ReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeter)->get_ReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IAltimeter<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Altimeter, winrt::Windows::Devices::Sensors::AltimeterReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAltimeter<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Altimeter, winrt::Windows::Devices::Sensors::AltimeterReadingChangedEventArgs> 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 D> typename consume_Windows_Devices_Sensors_IAltimeter<D>::ReadingChanged_revoker consume_Windows_Devices_Sensors_IAltimeter<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Altimeter, winrt::Windows::Devices::Sensors::AltimeterReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAltimeter<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Altimeter, winrt::Windows::Devices::Sensors::AltimeterReadingChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ReadingChanged_revoker>(this, ReadingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAltimeter<D>::ReadingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sensors_IAltimeter<D>::ReadingChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeter)->remove_ReadingChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IAltimeter2<D>::ReportLatency(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAltimeter2<D>::ReportLatency(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeter2)->put_ReportLatency(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IAltimeter2<D>::ReportLatency() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAltimeter2<D>::ReportLatency() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeter2)->get_ReportLatency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IAltimeter2<D>::MaxBatchSize() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAltimeter2<D>::MaxBatchSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeter2)->get_MaxBatchSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IAltimeterReading<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAltimeterReading<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IAltimeterReading<D>::AltitudeChangeInMeters() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAltimeterReading<D>::AltitudeChangeInMeters() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeterReading)->get_AltitudeChangeInMeters(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Devices_Sensors_IAltimeterReading2<D>::PerformanceCount() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAltimeterReading2<D>::PerformanceCount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeterReading2)->get_PerformanceCount(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Sensors_IAltimeterReading2<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAltimeterReading2<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IAltimeterReading2)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AltimeterReading) consume_Windows_Devices_Sensors_IAltimeterReadingChangedEventArgs<D>::Reading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAltimeterReadingChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Altimeter) consume_Windows_Devices_Sensors_IAltimeterStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IAltimeterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::BarometerReading) consume_Windows_Devices_Sensors_IBarometer<D>::GetCurrentReading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometer<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IBarometer<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometer<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IBarometer<D>::MinimumReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometer<D>::MinimumReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer)->get_MinimumReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IBarometer<D>::ReportInterval(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometer<D>::ReportInterval(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer)->put_ReportInterval(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IBarometer<D>::ReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometer<D>::ReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer)->get_ReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IBarometer<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Barometer, winrt::Windows::Devices::Sensors::BarometerReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometer<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Barometer, winrt::Windows::Devices::Sensors::BarometerReadingChangedEventArgs> 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 D> typename consume_Windows_Devices_Sensors_IBarometer<D>::ReadingChanged_revoker consume_Windows_Devices_Sensors_IBarometer<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Barometer, winrt::Windows::Devices::Sensors::BarometerReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometer<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Barometer, winrt::Windows::Devices::Sensors::BarometerReadingChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ReadingChanged_revoker>(this, ReadingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IBarometer<D>::ReadingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometer<D>::ReadingChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer)->remove_ReadingChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IBarometer2<D>::ReportLatency(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometer2<D>::ReportLatency(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer2)->put_ReportLatency(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IBarometer2<D>::ReportLatency() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometer2<D>::ReportLatency() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer2)->get_ReportLatency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IBarometer2<D>::MaxBatchSize() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometer2<D>::MaxBatchSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometer2)->get_MaxBatchSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::BarometerDataThreshold) consume_Windows_Devices_Sensors_IBarometer3<D>::ReportThreshold() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometer3<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IBarometerDataThreshold<D>::Hectopascals() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometerDataThreshold<D>::Hectopascals() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometerDataThreshold)->get_Hectopascals(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IBarometerDataThreshold<D>::Hectopascals(double value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometerDataThreshold<D>::Hectopascals(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometerDataThreshold)->put_Hectopascals(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IBarometerReading<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometerReading<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IBarometerReading<D>::StationPressureInHectopascals() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometerReading<D>::StationPressureInHectopascals() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometerReading)->get_StationPressureInHectopascals(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Devices_Sensors_IBarometerReading2<D>::PerformanceCount() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometerReading2<D>::PerformanceCount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometerReading2)->get_PerformanceCount(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Sensors_IBarometerReading2<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometerReading2<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometerReading2)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::BarometerReading) consume_Windows_Devices_Sensors_IBarometerReadingChangedEventArgs<D>::Reading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometerReadingChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Barometer) consume_Windows_Devices_Sensors_IBarometerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Barometer>) consume_Windows_Devices_Sensors_IBarometerStatics2<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometerStatics2<D>::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<winrt::Windows::Devices::Sensors::Barometer>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IBarometerStatics2<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IBarometerStatics2<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IBarometerStatics2)->GetDeviceSelector(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::CompassReading) consume_Windows_Devices_Sensors_ICompass<D>::GetCurrentReading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompass<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_ICompass<D>::MinimumReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompass<D>::MinimumReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass)->get_MinimumReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ICompass<D>::ReportInterval(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompass<D>::ReportInterval(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass)->put_ReportInterval(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_ICompass<D>::ReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompass<D>::ReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass)->get_ReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_ICompass<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Compass, winrt::Windows::Devices::Sensors::CompassReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompass<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Compass, winrt::Windows::Devices::Sensors::CompassReadingChangedEventArgs> 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 D> typename consume_Windows_Devices_Sensors_ICompass<D>::ReadingChanged_revoker consume_Windows_Devices_Sensors_ICompass<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Compass, winrt::Windows::Devices::Sensors::CompassReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompass<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Compass, winrt::Windows::Devices::Sensors::CompassReadingChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ReadingChanged_revoker>(this, ReadingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ICompass<D>::ReadingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompass<D>::ReadingChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass)->remove_ReadingChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ICompass2<D>::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompass2<D>::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass2)->put_ReadingTransform(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Devices_Sensors_ICompass2<D>::ReadingTransform() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompass2<D>::ReadingTransform() const
{
winrt::Windows::Graphics::Display::DisplayOrientations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass2)->get_ReadingTransform(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ICompass3<D>::ReportLatency(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompass3<D>::ReportLatency(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass3)->put_ReportLatency(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_ICompass3<D>::ReportLatency() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompass3<D>::ReportLatency() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass3)->get_ReportLatency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_ICompass3<D>::MaxBatchSize() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompass3<D>::MaxBatchSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompass3)->get_MaxBatchSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::CompassDataThreshold) consume_Windows_Devices_Sensors_ICompass4<D>::ReportThreshold() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompass4<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_ICompassDataThreshold<D>::Degrees() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompassDataThreshold<D>::Degrees() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassDataThreshold)->get_Degrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ICompassDataThreshold<D>::Degrees(double value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompassDataThreshold<D>::Degrees(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassDataThreshold)->put_Degrees(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_ICompassDeviceId<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompassDeviceId<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_ICompassReading<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompassReading<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_ICompassReading<D>::HeadingMagneticNorth() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompassReading<D>::HeadingMagneticNorth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassReading)->get_HeadingMagneticNorth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Devices_Sensors_ICompassReading<D>::HeadingTrueNorth() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompassReading<D>::HeadingTrueNorth() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassReading)->get_HeadingTrueNorth(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Devices_Sensors_ICompassReading2<D>::PerformanceCount() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompassReading2<D>::PerformanceCount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassReading2)->get_PerformanceCount(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Sensors_ICompassReading2<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompassReading2<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassReading2)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::CompassReading) consume_Windows_Devices_Sensors_ICompassReadingChangedEventArgs<D>::Reading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompassReadingChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerAccuracy) consume_Windows_Devices_Sensors_ICompassReadingHeadingAccuracy<D>::HeadingAccuracy() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompassReadingHeadingAccuracy<D>::HeadingAccuracy() const
{
winrt::Windows::Devices::Sensors::MagnetometerAccuracy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassReadingHeadingAccuracy)->get_HeadingAccuracy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Compass) consume_Windows_Devices_Sensors_ICompassStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompassStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_ICompassStatics2<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompassStatics2<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ICompassStatics2)->GetDeviceSelector(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Compass>) consume_Windows_Devices_Sensors_ICompassStatics2<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ICompassStatics2<D>::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<winrt::Windows::Devices::Sensors::Compass>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::GyrometerReading) consume_Windows_Devices_Sensors_IGyrometer<D>::GetCurrentReading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometer<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IGyrometer<D>::MinimumReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometer<D>::MinimumReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer)->get_MinimumReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IGyrometer<D>::ReportInterval(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometer<D>::ReportInterval(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer)->put_ReportInterval(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IGyrometer<D>::ReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometer<D>::ReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer)->get_ReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IGyrometer<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Gyrometer, winrt::Windows::Devices::Sensors::GyrometerReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometer<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Gyrometer, winrt::Windows::Devices::Sensors::GyrometerReadingChangedEventArgs> 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 D> typename consume_Windows_Devices_Sensors_IGyrometer<D>::ReadingChanged_revoker consume_Windows_Devices_Sensors_IGyrometer<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Gyrometer, winrt::Windows::Devices::Sensors::GyrometerReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometer<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Gyrometer, winrt::Windows::Devices::Sensors::GyrometerReadingChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ReadingChanged_revoker>(this, ReadingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IGyrometer<D>::ReadingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometer<D>::ReadingChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer)->remove_ReadingChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IGyrometer2<D>::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometer2<D>::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer2)->put_ReadingTransform(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Devices_Sensors_IGyrometer2<D>::ReadingTransform() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometer2<D>::ReadingTransform() const
{
winrt::Windows::Graphics::Display::DisplayOrientations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer2)->get_ReadingTransform(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IGyrometer3<D>::ReportLatency(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometer3<D>::ReportLatency(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer3)->put_ReportLatency(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IGyrometer3<D>::ReportLatency() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometer3<D>::ReportLatency() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer3)->get_ReportLatency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IGyrometer3<D>::MaxBatchSize() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometer3<D>::MaxBatchSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometer3)->get_MaxBatchSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::GyrometerDataThreshold) consume_Windows_Devices_Sensors_IGyrometer4<D>::ReportThreshold() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometer4<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IGyrometerDataThreshold<D>::XAxisInDegreesPerSecond() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometerDataThreshold<D>::XAxisInDegreesPerSecond() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerDataThreshold)->get_XAxisInDegreesPerSecond(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IGyrometerDataThreshold<D>::XAxisInDegreesPerSecond(double value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometerDataThreshold<D>::XAxisInDegreesPerSecond(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerDataThreshold)->put_XAxisInDegreesPerSecond(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IGyrometerDataThreshold<D>::YAxisInDegreesPerSecond() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometerDataThreshold<D>::YAxisInDegreesPerSecond() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerDataThreshold)->get_YAxisInDegreesPerSecond(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IGyrometerDataThreshold<D>::YAxisInDegreesPerSecond(double value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometerDataThreshold<D>::YAxisInDegreesPerSecond(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerDataThreshold)->put_YAxisInDegreesPerSecond(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IGyrometerDataThreshold<D>::ZAxisInDegreesPerSecond() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometerDataThreshold<D>::ZAxisInDegreesPerSecond() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerDataThreshold)->get_ZAxisInDegreesPerSecond(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IGyrometerDataThreshold<D>::ZAxisInDegreesPerSecond(double value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometerDataThreshold<D>::ZAxisInDegreesPerSecond(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerDataThreshold)->put_ZAxisInDegreesPerSecond(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IGyrometerDeviceId<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometerDeviceId<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IGyrometerReading<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometerReading<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IGyrometerReading<D>::AngularVelocityX() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometerReading<D>::AngularVelocityX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerReading)->get_AngularVelocityX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IGyrometerReading<D>::AngularVelocityY() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometerReading<D>::AngularVelocityY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerReading)->get_AngularVelocityY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IGyrometerReading<D>::AngularVelocityZ() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometerReading<D>::AngularVelocityZ() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerReading)->get_AngularVelocityZ(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Devices_Sensors_IGyrometerReading2<D>::PerformanceCount() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometerReading2<D>::PerformanceCount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerReading2)->get_PerformanceCount(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Sensors_IGyrometerReading2<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometerReading2<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerReading2)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::GyrometerReading) consume_Windows_Devices_Sensors_IGyrometerReadingChangedEventArgs<D>::Reading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometerReadingChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Gyrometer) consume_Windows_Devices_Sensors_IGyrometerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IGyrometerStatics2<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometerStatics2<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IGyrometerStatics2)->GetDeviceSelector(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Gyrometer>) consume_Windows_Devices_Sensors_IGyrometerStatics2<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IGyrometerStatics2<D>::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<winrt::Windows::Devices::Sensors::Gyrometer>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IHingeAngleReading<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IHingeAngleReading<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IHingeAngleReading<D>::AngleInDegrees() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IHingeAngleReading<D>::AngleInDegrees() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleReading)->get_AngleInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Sensors_IHingeAngleReading<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IHingeAngleReading<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleReading)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::HingeAngleReading>) consume_Windows_Devices_Sensors_IHingeAngleSensor<D>::GetCurrentReadingAsync() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IHingeAngleSensor<D>::GetCurrentReadingAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensor)->GetCurrentReadingAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::HingeAngleReading>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IHingeAngleSensor<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IHingeAngleSensor<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IHingeAngleSensor<D>::MinReportThresholdInDegrees() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IHingeAngleSensor<D>::MinReportThresholdInDegrees() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensor)->get_MinReportThresholdInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IHingeAngleSensor<D>::ReportThresholdInDegrees() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IHingeAngleSensor<D>::ReportThresholdInDegrees() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensor)->get_ReportThresholdInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IHingeAngleSensor<D>::ReportThresholdInDegrees(double value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IHingeAngleSensor<D>::ReportThresholdInDegrees(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensor)->put_ReportThresholdInDegrees(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IHingeAngleSensor<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::HingeAngleSensor, winrt::Windows::Devices::Sensors::HingeAngleSensorReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IHingeAngleSensor<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::HingeAngleSensor, winrt::Windows::Devices::Sensors::HingeAngleSensorReadingChangedEventArgs> 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 D> typename consume_Windows_Devices_Sensors_IHingeAngleSensor<D>::ReadingChanged_revoker consume_Windows_Devices_Sensors_IHingeAngleSensor<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::HingeAngleSensor, winrt::Windows::Devices::Sensors::HingeAngleSensorReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IHingeAngleSensor<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::HingeAngleSensor, winrt::Windows::Devices::Sensors::HingeAngleSensorReadingChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ReadingChanged_revoker>(this, ReadingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IHingeAngleSensor<D>::ReadingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sensors_IHingeAngleSensor<D>::ReadingChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensor)->remove_ReadingChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::HingeAngleReading) consume_Windows_Devices_Sensors_IHingeAngleSensorReadingChangedEventArgs<D>::Reading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IHingeAngleSensorReadingChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IHingeAngleSensorStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IHingeAngleSensorStatics<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensorStatics)->GetDeviceSelector(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::HingeAngleSensor>) consume_Windows_Devices_Sensors_IHingeAngleSensorStatics<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IHingeAngleSensorStatics<D>::GetDefaultAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IHingeAngleSensorStatics)->GetDefaultAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::HingeAngleSensor>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::HingeAngleSensor>) consume_Windows_Devices_Sensors_IHingeAngleSensorStatics<D>::GetRelatedToAdjacentPanelsAsync(param::hstring const& firstPanelId, param::hstring const& secondPanelId) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IHingeAngleSensorStatics<D>::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<winrt::Windows::Devices::Sensors::HingeAngleSensor>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::HingeAngleSensor>) consume_Windows_Devices_Sensors_IHingeAngleSensorStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IHingeAngleSensorStatics<D>::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<winrt::Windows::Devices::Sensors::HingeAngleSensor>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::InclinometerReading) consume_Windows_Devices_Sensors_IInclinometer<D>::GetCurrentReading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometer<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IInclinometer<D>::MinimumReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometer<D>::MinimumReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer)->get_MinimumReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IInclinometer<D>::ReportInterval(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometer<D>::ReportInterval(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer)->put_ReportInterval(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IInclinometer<D>::ReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometer<D>::ReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer)->get_ReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IInclinometer<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Inclinometer, winrt::Windows::Devices::Sensors::InclinometerReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometer<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Inclinometer, winrt::Windows::Devices::Sensors::InclinometerReadingChangedEventArgs> 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 D> typename consume_Windows_Devices_Sensors_IInclinometer<D>::ReadingChanged_revoker consume_Windows_Devices_Sensors_IInclinometer<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Inclinometer, winrt::Windows::Devices::Sensors::InclinometerReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometer<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Inclinometer, winrt::Windows::Devices::Sensors::InclinometerReadingChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ReadingChanged_revoker>(this, ReadingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IInclinometer<D>::ReadingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometer<D>::ReadingChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer)->remove_ReadingChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IInclinometer2<D>::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometer2<D>::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer2)->put_ReadingTransform(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Devices_Sensors_IInclinometer2<D>::ReadingTransform() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometer2<D>::ReadingTransform() const
{
winrt::Windows::Graphics::Display::DisplayOrientations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer2)->get_ReadingTransform(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SensorReadingType) consume_Windows_Devices_Sensors_IInclinometer2<D>::ReadingType() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometer2<D>::ReadingType() const
{
winrt::Windows::Devices::Sensors::SensorReadingType type{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer2)->get_ReadingType(reinterpret_cast<int32_t*>(&type)));
return type;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IInclinometer3<D>::ReportLatency(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometer3<D>::ReportLatency(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer3)->put_ReportLatency(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IInclinometer3<D>::ReportLatency() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometer3<D>::ReportLatency() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer3)->get_ReportLatency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IInclinometer3<D>::MaxBatchSize() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometer3<D>::MaxBatchSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometer3)->get_MaxBatchSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::InclinometerDataThreshold) consume_Windows_Devices_Sensors_IInclinometer4<D>::ReportThreshold() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometer4<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IInclinometerDataThreshold<D>::PitchInDegrees() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerDataThreshold<D>::PitchInDegrees() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerDataThreshold)->get_PitchInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IInclinometerDataThreshold<D>::PitchInDegrees(float value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerDataThreshold<D>::PitchInDegrees(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerDataThreshold)->put_PitchInDegrees(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IInclinometerDataThreshold<D>::RollInDegrees() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerDataThreshold<D>::RollInDegrees() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerDataThreshold)->get_RollInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IInclinometerDataThreshold<D>::RollInDegrees(float value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerDataThreshold<D>::RollInDegrees(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerDataThreshold)->put_RollInDegrees(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IInclinometerDataThreshold<D>::YawInDegrees() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerDataThreshold<D>::YawInDegrees() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerDataThreshold)->get_YawInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IInclinometerDataThreshold<D>::YawInDegrees(float value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerDataThreshold<D>::YawInDegrees(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerDataThreshold)->put_YawInDegrees(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IInclinometerDeviceId<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerDeviceId<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IInclinometerReading<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerReading<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IInclinometerReading<D>::PitchDegrees() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerReading<D>::PitchDegrees() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerReading)->get_PitchDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IInclinometerReading<D>::RollDegrees() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerReading<D>::RollDegrees() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerReading)->get_RollDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IInclinometerReading<D>::YawDegrees() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerReading<D>::YawDegrees() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerReading)->get_YawDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Devices_Sensors_IInclinometerReading2<D>::PerformanceCount() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerReading2<D>::PerformanceCount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerReading2)->get_PerformanceCount(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Sensors_IInclinometerReading2<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerReading2<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerReading2)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::InclinometerReading) consume_Windows_Devices_Sensors_IInclinometerReadingChangedEventArgs<D>::Reading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerReadingChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerAccuracy) consume_Windows_Devices_Sensors_IInclinometerReadingYawAccuracy<D>::YawAccuracy() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerReadingYawAccuracy<D>::YawAccuracy() const
{
winrt::Windows::Devices::Sensors::MagnetometerAccuracy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerReadingYawAccuracy)->get_YawAccuracy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Inclinometer) consume_Windows_Devices_Sensors_IInclinometerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Inclinometer) consume_Windows_Devices_Sensors_IInclinometerStatics2<D>::GetDefaultForRelativeReadings() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Inclinometer) consume_Windows_Devices_Sensors_IInclinometerStatics3<D>::GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingtype) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerStatics3<D>::GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingtype) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerStatics3)->GetDefaultWithSensorReadingType(static_cast<int32_t>(sensorReadingtype), &result));
return winrt::Windows::Devices::Sensors::Inclinometer{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IInclinometerStatics4<D>::GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerStatics4<D>::GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IInclinometerStatics4)->GetDeviceSelector(static_cast<int32_t>(readingType), &result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Inclinometer>) consume_Windows_Devices_Sensors_IInclinometerStatics4<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IInclinometerStatics4<D>::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<winrt::Windows::Devices::Sensors::Inclinometer>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::LightSensorReading) consume_Windows_Devices_Sensors_ILightSensor<D>::GetCurrentReading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensor<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_ILightSensor<D>::MinimumReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensor<D>::MinimumReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensor)->get_MinimumReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ILightSensor<D>::ReportInterval(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensor<D>::ReportInterval(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensor)->put_ReportInterval(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_ILightSensor<D>::ReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensor<D>::ReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensor)->get_ReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_ILightSensor<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::LightSensor, winrt::Windows::Devices::Sensors::LightSensorReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensor<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::LightSensor, winrt::Windows::Devices::Sensors::LightSensorReadingChangedEventArgs> 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 D> typename consume_Windows_Devices_Sensors_ILightSensor<D>::ReadingChanged_revoker consume_Windows_Devices_Sensors_ILightSensor<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::LightSensor, winrt::Windows::Devices::Sensors::LightSensorReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensor<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::LightSensor, winrt::Windows::Devices::Sensors::LightSensorReadingChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ReadingChanged_revoker>(this, ReadingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ILightSensor<D>::ReadingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensor<D>::ReadingChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensor)->remove_ReadingChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ILightSensor2<D>::ReportLatency(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensor2<D>::ReportLatency(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensor2)->put_ReportLatency(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_ILightSensor2<D>::ReportLatency() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensor2<D>::ReportLatency() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensor2)->get_ReportLatency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_ILightSensor2<D>::MaxBatchSize() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensor2<D>::MaxBatchSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensor2)->get_MaxBatchSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::LightSensorDataThreshold) consume_Windows_Devices_Sensors_ILightSensor3<D>::ReportThreshold() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensor3<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ILightSensorDataThreshold<D>::LuxPercentage() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensorDataThreshold<D>::LuxPercentage() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorDataThreshold)->get_LuxPercentage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ILightSensorDataThreshold<D>::LuxPercentage(float value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensorDataThreshold<D>::LuxPercentage(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorDataThreshold)->put_LuxPercentage(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ILightSensorDataThreshold<D>::AbsoluteLux() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensorDataThreshold<D>::AbsoluteLux() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorDataThreshold)->get_AbsoluteLux(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ILightSensorDataThreshold<D>::AbsoluteLux(float value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensorDataThreshold<D>::AbsoluteLux(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorDataThreshold)->put_AbsoluteLux(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_ILightSensorDeviceId<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensorDeviceId<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_ILightSensorReading<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensorReading<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ILightSensorReading<D>::IlluminanceInLux() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensorReading<D>::IlluminanceInLux() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorReading)->get_IlluminanceInLux(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Devices_Sensors_ILightSensorReading2<D>::PerformanceCount() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensorReading2<D>::PerformanceCount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorReading2)->get_PerformanceCount(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Sensors_ILightSensorReading2<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensorReading2<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorReading2)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::LightSensorReading) consume_Windows_Devices_Sensors_ILightSensorReadingChangedEventArgs<D>::Reading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensorReadingChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::LightSensor) consume_Windows_Devices_Sensors_ILightSensorStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_ILightSensorStatics2<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensorStatics2<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ILightSensorStatics2)->GetDeviceSelector(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::LightSensor>) consume_Windows_Devices_Sensors_ILightSensorStatics2<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ILightSensorStatics2<D>::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<winrt::Windows::Devices::Sensors::LightSensor>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerReading) consume_Windows_Devices_Sensors_IMagnetometer<D>::GetCurrentReading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometer<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IMagnetometer<D>::MinimumReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometer<D>::MinimumReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer)->get_MinimumReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IMagnetometer<D>::ReportInterval(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometer<D>::ReportInterval(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer)->put_ReportInterval(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IMagnetometer<D>::ReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometer<D>::ReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer)->get_ReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IMagnetometer<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Magnetometer, winrt::Windows::Devices::Sensors::MagnetometerReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometer<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Magnetometer, winrt::Windows::Devices::Sensors::MagnetometerReadingChangedEventArgs> 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 D> typename consume_Windows_Devices_Sensors_IMagnetometer<D>::ReadingChanged_revoker consume_Windows_Devices_Sensors_IMagnetometer<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Magnetometer, winrt::Windows::Devices::Sensors::MagnetometerReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometer<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Magnetometer, winrt::Windows::Devices::Sensors::MagnetometerReadingChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ReadingChanged_revoker>(this, ReadingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IMagnetometer<D>::ReadingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometer<D>::ReadingChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer)->remove_ReadingChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IMagnetometer2<D>::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometer2<D>::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer2)->put_ReadingTransform(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Devices_Sensors_IMagnetometer2<D>::ReadingTransform() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometer2<D>::ReadingTransform() const
{
winrt::Windows::Graphics::Display::DisplayOrientations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer2)->get_ReadingTransform(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IMagnetometer3<D>::ReportLatency(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometer3<D>::ReportLatency(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer3)->put_ReportLatency(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IMagnetometer3<D>::ReportLatency() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometer3<D>::ReportLatency() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer3)->get_ReportLatency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IMagnetometer3<D>::MaxBatchSize() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometer3<D>::MaxBatchSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometer3)->get_MaxBatchSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerDataThreshold) consume_Windows_Devices_Sensors_IMagnetometer4<D>::ReportThreshold() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometer4<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IMagnetometerDataThreshold<D>::XAxisMicroteslas() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerDataThreshold<D>::XAxisMicroteslas() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerDataThreshold)->get_XAxisMicroteslas(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IMagnetometerDataThreshold<D>::XAxisMicroteslas(float value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerDataThreshold<D>::XAxisMicroteslas(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerDataThreshold)->put_XAxisMicroteslas(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IMagnetometerDataThreshold<D>::YAxisMicroteslas() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerDataThreshold<D>::YAxisMicroteslas() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerDataThreshold)->get_YAxisMicroteslas(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IMagnetometerDataThreshold<D>::YAxisMicroteslas(float value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerDataThreshold<D>::YAxisMicroteslas(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerDataThreshold)->put_YAxisMicroteslas(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IMagnetometerDataThreshold<D>::ZAxisMicroteslas() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerDataThreshold<D>::ZAxisMicroteslas() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerDataThreshold)->get_ZAxisMicroteslas(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IMagnetometerDataThreshold<D>::ZAxisMicroteslas(float value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerDataThreshold<D>::ZAxisMicroteslas(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerDataThreshold)->put_ZAxisMicroteslas(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IMagnetometerDeviceId<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerDeviceId<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IMagnetometerReading<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerReading<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IMagnetometerReading<D>::MagneticFieldX() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerReading<D>::MagneticFieldX() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerReading)->get_MagneticFieldX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IMagnetometerReading<D>::MagneticFieldY() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerReading<D>::MagneticFieldY() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerReading)->get_MagneticFieldY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_IMagnetometerReading<D>::MagneticFieldZ() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerReading<D>::MagneticFieldZ() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerReading)->get_MagneticFieldZ(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerAccuracy) consume_Windows_Devices_Sensors_IMagnetometerReading<D>::DirectionalAccuracy() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerReading<D>::DirectionalAccuracy() const
{
winrt::Windows::Devices::Sensors::MagnetometerAccuracy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerReading)->get_DirectionalAccuracy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Devices_Sensors_IMagnetometerReading2<D>::PerformanceCount() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerReading2<D>::PerformanceCount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerReading2)->get_PerformanceCount(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Sensors_IMagnetometerReading2<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerReading2<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerReading2)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerReading) consume_Windows_Devices_Sensors_IMagnetometerReadingChangedEventArgs<D>::Reading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerReadingChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Magnetometer) consume_Windows_Devices_Sensors_IMagnetometerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IMagnetometerStatics2<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerStatics2<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IMagnetometerStatics2)->GetDeviceSelector(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Magnetometer>) consume_Windows_Devices_Sensors_IMagnetometerStatics2<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IMagnetometerStatics2<D>::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<winrt::Windows::Devices::Sensors::Magnetometer>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensorReading) consume_Windows_Devices_Sensors_IOrientationSensor<D>::GetCurrentReading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensor<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IOrientationSensor<D>::MinimumReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensor<D>::MinimumReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor)->get_MinimumReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IOrientationSensor<D>::ReportInterval(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensor<D>::ReportInterval(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor)->put_ReportInterval(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IOrientationSensor<D>::ReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensor<D>::ReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor)->get_ReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IOrientationSensor<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::OrientationSensor, winrt::Windows::Devices::Sensors::OrientationSensorReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensor<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::OrientationSensor, winrt::Windows::Devices::Sensors::OrientationSensorReadingChangedEventArgs> 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 D> typename consume_Windows_Devices_Sensors_IOrientationSensor<D>::ReadingChanged_revoker consume_Windows_Devices_Sensors_IOrientationSensor<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::OrientationSensor, winrt::Windows::Devices::Sensors::OrientationSensorReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensor<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::OrientationSensor, winrt::Windows::Devices::Sensors::OrientationSensorReadingChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ReadingChanged_revoker>(this, ReadingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IOrientationSensor<D>::ReadingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensor<D>::ReadingChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor)->remove_ReadingChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IOrientationSensor2<D>::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensor2<D>::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor2)->put_ReadingTransform(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Devices_Sensors_IOrientationSensor2<D>::ReadingTransform() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensor2<D>::ReadingTransform() const
{
winrt::Windows::Graphics::Display::DisplayOrientations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor2)->get_ReadingTransform(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SensorReadingType) consume_Windows_Devices_Sensors_IOrientationSensor2<D>::ReadingType() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensor2<D>::ReadingType() const
{
winrt::Windows::Devices::Sensors::SensorReadingType type{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor2)->get_ReadingType(reinterpret_cast<int32_t*>(&type)));
return type;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IOrientationSensor3<D>::ReportLatency(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensor3<D>::ReportLatency(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor3)->put_ReportLatency(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IOrientationSensor3<D>::ReportLatency() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensor3<D>::ReportLatency() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor3)->get_ReportLatency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IOrientationSensor3<D>::MaxBatchSize() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensor3<D>::MaxBatchSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensor3)->get_MaxBatchSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IOrientationSensorDeviceId<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensorDeviceId<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IOrientationSensorReading<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensorReading<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SensorRotationMatrix) consume_Windows_Devices_Sensors_IOrientationSensorReading<D>::RotationMatrix() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensorReading<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SensorQuaternion) consume_Windows_Devices_Sensors_IOrientationSensorReading<D>::Quaternion() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensorReading<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Devices_Sensors_IOrientationSensorReading2<D>::PerformanceCount() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensorReading2<D>::PerformanceCount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorReading2)->get_PerformanceCount(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Devices_Sensors_IOrientationSensorReading2<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensorReading2<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorReading2)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensorReading) consume_Windows_Devices_Sensors_IOrientationSensorReadingChangedEventArgs<D>::Reading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensorReadingChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerAccuracy) consume_Windows_Devices_Sensors_IOrientationSensorReadingYawAccuracy<D>::YawAccuracy() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensorReadingYawAccuracy<D>::YawAccuracy() const
{
winrt::Windows::Devices::Sensors::MagnetometerAccuracy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorReadingYawAccuracy)->get_YawAccuracy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensor) consume_Windows_Devices_Sensors_IOrientationSensorStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensor) consume_Windows_Devices_Sensors_IOrientationSensorStatics2<D>::GetDefaultForRelativeReadings() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensorStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensor) consume_Windows_Devices_Sensors_IOrientationSensorStatics3<D>::GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingtype) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensorStatics3<D>::GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingtype) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorStatics3)->GetDefaultWithSensorReadingType(static_cast<int32_t>(sensorReadingtype), &result));
return winrt::Windows::Devices::Sensors::OrientationSensor{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensor) consume_Windows_Devices_Sensors_IOrientationSensorStatics3<D>::GetDefault(winrt::Windows::Devices::Sensors::SensorReadingType const& sensorReadingType, winrt::Windows::Devices::Sensors::SensorOptimizationGoal const& optimizationGoal) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensorStatics3<D>::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<int32_t>(sensorReadingType), static_cast<int32_t>(optimizationGoal), &result));
return winrt::Windows::Devices::Sensors::OrientationSensor{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IOrientationSensorStatics4<D>::GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensorStatics4<D>::GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IOrientationSensorStatics4)->GetDeviceSelector(static_cast<int32_t>(readingType), &result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IOrientationSensorStatics4<D>::GetDeviceSelector(winrt::Windows::Devices::Sensors::SensorReadingType const& readingType, winrt::Windows::Devices::Sensors::SensorOptimizationGoal const& optimizationGoal) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensorStatics4<D>::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<int32_t>(readingType), static_cast<int32_t>(optimizationGoal), &result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::OrientationSensor>) consume_Windows_Devices_Sensors_IOrientationSensorStatics4<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IOrientationSensorStatics4<D>::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<winrt::Windows::Devices::Sensors::OrientationSensor>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IPedometer<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometer<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_Sensors_IPedometer<D>::PowerInMilliwatts() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometer<D>::PowerInMilliwatts() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometer)->get_PowerInMilliwatts(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IPedometer<D>::MinimumReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometer<D>::MinimumReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometer)->get_MinimumReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IPedometer<D>::ReportInterval(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometer<D>::ReportInterval(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometer)->put_ReportInterval(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sensors_IPedometer<D>::ReportInterval() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometer<D>::ReportInterval() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometer)->get_ReportInterval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IPedometer<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Pedometer, winrt::Windows::Devices::Sensors::PedometerReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometer<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Pedometer, winrt::Windows::Devices::Sensors::PedometerReadingChangedEventArgs> 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 D> typename consume_Windows_Devices_Sensors_IPedometer<D>::ReadingChanged_revoker consume_Windows_Devices_Sensors_IPedometer<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Pedometer, winrt::Windows::Devices::Sensors::PedometerReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometer<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Pedometer, winrt::Windows::Devices::Sensors::PedometerReadingChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ReadingChanged_revoker>(this, ReadingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IPedometer<D>::ReadingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometer<D>::ReadingChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometer)->remove_ReadingChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::Windows::Devices::Sensors::PedometerStepKind, winrt::Windows::Devices::Sensors::PedometerReading>) consume_Windows_Devices_Sensors_IPedometer2<D>::GetCurrentReadings() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometer2<D>::GetCurrentReadings() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometer2)->GetCurrentReadings(&value));
return winrt::Windows::Foundation::Collections::IMapView<winrt::Windows::Devices::Sensors::PedometerStepKind, winrt::Windows::Devices::Sensors::PedometerReading>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::PedometerDataThreshold) consume_Windows_Devices_Sensors_IPedometerDataThresholdFactory<D>::Create(winrt::Windows::Devices::Sensors::Pedometer const& sensor, int32_t stepGoal) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometerDataThresholdFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::PedometerStepKind) consume_Windows_Devices_Sensors_IPedometerReading<D>::StepKind() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometerReading<D>::StepKind() const
{
winrt::Windows::Devices::Sensors::PedometerStepKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometerReading)->get_StepKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sensors_IPedometerReading<D>::CumulativeSteps() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometerReading<D>::CumulativeSteps() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometerReading)->get_CumulativeSteps(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IPedometerReading<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometerReading<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Sensors_IPedometerReading<D>::CumulativeStepsDuration() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometerReading<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::PedometerReading) consume_Windows_Devices_Sensors_IPedometerReadingChangedEventArgs<D>::Reading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometerReadingChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Pedometer>) consume_Windows_Devices_Sensors_IPedometerStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometerStatics<D>::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<winrt::Windows::Devices::Sensors::Pedometer>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Pedometer>) consume_Windows_Devices_Sensors_IPedometerStatics<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometerStatics<D>::GetDefaultAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometerStatics)->GetDefaultAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Pedometer>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IPedometerStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometerStatics<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IPedometerStatics)->GetDeviceSelector(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::PedometerReading>>) consume_Windows_Devices_Sensors_IPedometerStatics<D>::GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometerStatics<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::PedometerReading>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::PedometerReading>>) consume_Windows_Devices_Sensors_IPedometerStatics<D>::GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime, winrt::Windows::Foundation::TimeSpan const& duration) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometerStatics<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::PedometerReading>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::PedometerReading>) consume_Windows_Devices_Sensors_IPedometerStatics2<D>::GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IPedometerStatics2<D>::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<winrt::Windows::Devices::Sensors::PedometerReading>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IProximitySensor<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IProximitySensor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Devices_Sensors_IProximitySensor<D>::MaxDistanceInMillimeters() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IProximitySensor<D>::MaxDistanceInMillimeters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensor)->get_MaxDistanceInMillimeters(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Devices_Sensors_IProximitySensor<D>::MinDistanceInMillimeters() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IProximitySensor<D>::MinDistanceInMillimeters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensor)->get_MinDistanceInMillimeters(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ProximitySensorReading) consume_Windows_Devices_Sensors_IProximitySensor<D>::GetCurrentReading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IProximitySensor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_IProximitySensor<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::ProximitySensor, winrt::Windows::Devices::Sensors::ProximitySensorReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IProximitySensor<D>::ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::ProximitySensor, winrt::Windows::Devices::Sensors::ProximitySensorReadingChangedEventArgs> 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 D> typename consume_Windows_Devices_Sensors_IProximitySensor<D>::ReadingChanged_revoker consume_Windows_Devices_Sensors_IProximitySensor<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::ProximitySensor, winrt::Windows::Devices::Sensors::ProximitySensorReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IProximitySensor<D>::ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::ProximitySensor, winrt::Windows::Devices::Sensors::ProximitySensorReadingChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ReadingChanged_revoker>(this, ReadingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_IProximitySensor<D>::ReadingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sensors_IProximitySensor<D>::ReadingChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensor)->remove_ReadingChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ProximitySensorDisplayOnOffController) consume_Windows_Devices_Sensors_IProximitySensor<D>::CreateDisplayOnOffController() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IProximitySensor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ProximitySensorDataThreshold) consume_Windows_Devices_Sensors_IProximitySensorDataThresholdFactory<D>::Create(winrt::Windows::Devices::Sensors::ProximitySensor const& sensor) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IProximitySensorDataThresholdFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_IProximitySensorReading<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IProximitySensorReading<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Sensors_IProximitySensorReading<D>::IsDetected() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IProximitySensorReading<D>::IsDetected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensorReading)->get_IsDetected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Devices_Sensors_IProximitySensorReading<D>::DistanceInMillimeters() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IProximitySensorReading<D>::DistanceInMillimeters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensorReading)->get_DistanceInMillimeters(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ProximitySensorReading) consume_Windows_Devices_Sensors_IProximitySensorReadingChangedEventArgs<D>::Reading() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IProximitySensorReadingChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_IProximitySensorStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Sensors_IProximitySensorStatics<D>::GetDeviceSelector() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::IProximitySensorStatics)->GetDeviceSelector(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ProximitySensor) consume_Windows_Devices_Sensors_IProximitySensorStatics<D>::FromId(param::hstring const& sensorId) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IProximitySensorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::ProximitySensorReading>) consume_Windows_Devices_Sensors_IProximitySensorStatics2<D>::GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails) const
+ template <typename D> auto consume_Windows_Devices_Sensors_IProximitySensorStatics2<D>::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<winrt::Windows::Devices::Sensors::ProximitySensorReading>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_ISensorDataThresholdTriggerDetails<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISensorDataThresholdTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SensorType) consume_Windows_Devices_Sensors_ISensorDataThresholdTriggerDetails<D>::SensorType() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISensorDataThresholdTriggerDetails<D>::SensorType() const
{
winrt::Windows::Devices::Sensors::SensorType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorDataThresholdTriggerDetails)->get_SensorType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorQuaternion<D>::W() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISensorQuaternion<D>::W() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorQuaternion)->get_W(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorQuaternion<D>::X() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISensorQuaternion<D>::X() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorQuaternion)->get_X(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorQuaternion<D>::Y() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISensorQuaternion<D>::Y() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorQuaternion)->get_Y(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorQuaternion<D>::Z() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISensorQuaternion<D>::Z() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorQuaternion)->get_Z(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M11() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M11() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M11(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M12() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M12() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M12(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M13() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M13() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M13(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M21() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M21() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M21(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M22() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M22() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M22(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M23() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M23() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M23(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M31() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M31() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M31(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M32() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M32() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M32(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M33() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISensorRotationMatrix<D>::M33() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISensorRotationMatrix)->get_M33(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientation) consume_Windows_Devices_Sensors_ISimpleOrientationSensor<D>::GetCurrentOrientation() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISimpleOrientationSensor<D>::GetCurrentOrientation() const
{
winrt::Windows::Devices::Sensors::SimpleOrientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISimpleOrientationSensor)->GetCurrentOrientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sensors_ISimpleOrientationSensor<D>::OrientationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::SimpleOrientationSensor, winrt::Windows::Devices::Sensors::SimpleOrientationSensorOrientationChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISimpleOrientationSensor<D>::OrientationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::SimpleOrientationSensor, winrt::Windows::Devices::Sensors::SimpleOrientationSensorOrientationChangedEventArgs> 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 D> typename consume_Windows_Devices_Sensors_ISimpleOrientationSensor<D>::OrientationChanged_revoker consume_Windows_Devices_Sensors_ISimpleOrientationSensor<D>::OrientationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::SimpleOrientationSensor, winrt::Windows::Devices::Sensors::SimpleOrientationSensorOrientationChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISimpleOrientationSensor<D>::OrientationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::SimpleOrientationSensor, winrt::Windows::Devices::Sensors::SimpleOrientationSensorOrientationChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, OrientationChanged_revoker>(this, OrientationChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ISimpleOrientationSensor<D>::OrientationChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sensors_ISimpleOrientationSensor<D>::OrientationChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISimpleOrientationSensor)->remove_OrientationChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sensors_ISimpleOrientationSensor2<D>::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISimpleOrientationSensor2<D>::ReadingTransform(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISimpleOrientationSensor2)->put_ReadingTransform(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Devices_Sensors_ISimpleOrientationSensor2<D>::ReadingTransform() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISimpleOrientationSensor2<D>::ReadingTransform() const
{
winrt::Windows::Graphics::Display::DisplayOrientations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISimpleOrientationSensor2)->get_ReadingTransform(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_ISimpleOrientationSensorDeviceId<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISimpleOrientationSensorDeviceId<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sensors_ISimpleOrientationSensorOrientationChangedEventArgs<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISimpleOrientationSensorOrientationChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientation) consume_Windows_Devices_Sensors_ISimpleOrientationSensorOrientationChangedEventArgs<D>::Orientation() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISimpleOrientationSensorOrientationChangedEventArgs<D>::Orientation() const
{
winrt::Windows::Devices::Sensors::SimpleOrientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISimpleOrientationSensorOrientationChangedEventArgs)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientationSensor) consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics2<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics2<D>::GetDeviceSelector() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sensors::ISimpleOrientationSensorStatics2)->GetDeviceSelector(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::SimpleOrientationSensor>) consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics2<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics2<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.SerialCommunication.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.SerialCommunication.h
index a003a58549e..5fd12f99d71 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.SerialCommunication.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SerialCommunication::SerialError) consume_Windows_Devices_SerialCommunication_IErrorReceivedEventArgs<D>::Error() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_IErrorReceivedEventArgs<D>::Error() const
{
winrt::Windows::Devices::SerialCommunication::SerialError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::IErrorReceivedEventArgs)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SerialCommunication::SerialPinChange) consume_Windows_Devices_SerialCommunication_IPinChangedEventArgs<D>::PinChange() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_IPinChangedEventArgs<D>::PinChange() const
{
winrt::Windows::Devices::SerialCommunication::SerialPinChange value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::IPinChangedEventArgs)->get_PinChange(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::BaudRate() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::BaudRate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_BaudRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::BaudRate(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::BaudRate(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_BaudRate(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::BreakSignalState() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::BreakSignalState() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_BreakSignalState(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::BreakSignalState(bool value) const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::BreakSignalState(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_BreakSignalState(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::BytesReceived() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::BytesReceived() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_BytesReceived(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::CarrierDetectState() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::CarrierDetectState() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_CarrierDetectState(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::ClearToSendState() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::ClearToSendState() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_ClearToSendState(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::DataBits() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::DataBits() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_DataBits(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::DataBits(uint16_t value) const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::DataBits(uint16_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_DataBits(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::DataSetReadyState() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::DataSetReadyState() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_DataSetReadyState(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SerialCommunication::SerialHandshake) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::Handshake() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::Handshake() const
{
winrt::Windows::Devices::SerialCommunication::SerialHandshake value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_Handshake(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::Handshake(winrt::Windows::Devices::SerialCommunication::SerialHandshake const& value) const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::Handshake(winrt::Windows::Devices::SerialCommunication::SerialHandshake const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_Handshake(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::IsDataTerminalReadyEnabled() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::IsDataTerminalReadyEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_IsDataTerminalReadyEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::IsDataTerminalReadyEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::IsDataTerminalReadyEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_IsDataTerminalReadyEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::IsRequestToSendEnabled() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::IsRequestToSendEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_IsRequestToSendEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::IsRequestToSendEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::IsRequestToSendEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_IsRequestToSendEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SerialCommunication::SerialParity) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::Parity() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::Parity() const
{
winrt::Windows::Devices::SerialCommunication::SerialParity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_Parity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::Parity(winrt::Windows::Devices::SerialCommunication::SerialParity const& value) const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::Parity(winrt::Windows::Devices::SerialCommunication::SerialParity const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_Parity(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::PortName() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::ReadTimeout() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::ReadTimeout(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SerialCommunication::SerialStopBitCount) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::StopBits() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::StopBits() const
{
winrt::Windows::Devices::SerialCommunication::SerialStopBitCount value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_StopBits(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::StopBits(winrt::Windows::Devices::SerialCommunication::SerialStopBitCount const& value) const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::StopBits(winrt::Windows::Devices::SerialCommunication::SerialStopBitCount const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->put_StopBits(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::UsbVendorId() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::UsbVendorId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_UsbVendorId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::UsbProductId() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::UsbProductId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->get_UsbProductId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::WriteTimeout() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::WriteTimeout(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::InputStream() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::OutputStream() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::ErrorReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SerialCommunication::SerialDevice, winrt::Windows::Devices::SerialCommunication::ErrorReceivedEventArgs> const& reportHandler) const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::ErrorReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SerialCommunication::SerialDevice, winrt::Windows::Devices::SerialCommunication::ErrorReceivedEventArgs> 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 D> typename consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::ErrorReceived_revoker consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::ErrorReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SerialCommunication::SerialDevice, winrt::Windows::Devices::SerialCommunication::ErrorReceivedEventArgs> const& reportHandler) const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::ErrorReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SerialCommunication::SerialDevice, winrt::Windows::Devices::SerialCommunication::ErrorReceivedEventArgs> const& reportHandler) const
{
return impl::make_event_revoker<D, ErrorReceived_revoker>(this, ErrorReceived(reportHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::ErrorReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::ErrorReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->remove_ErrorReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::PinChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SerialCommunication::SerialDevice, winrt::Windows::Devices::SerialCommunication::PinChangedEventArgs> const& reportHandler) const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::PinChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SerialCommunication::SerialDevice, winrt::Windows::Devices::SerialCommunication::PinChangedEventArgs> 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 D> typename consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::PinChanged_revoker consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::PinChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SerialCommunication::SerialDevice, winrt::Windows::Devices::SerialCommunication::PinChangedEventArgs> const& reportHandler) const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::PinChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SerialCommunication::SerialDevice, winrt::Windows::Devices::SerialCommunication::PinChangedEventArgs> const& reportHandler) const
{
return impl::make_event_revoker<D, PinChanged_revoker>(this, PinChanged(reportHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::PinChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDevice<D>::PinChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDevice)->remove_PinChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics<D>::GetDeviceSelector() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SerialCommunication::ISerialDeviceStatics)->GetDeviceSelector(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics<D>::GetDeviceSelector(param::hstring const& portName) const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics<D>::GetDeviceSelectorFromUsbVidPid(uint16_t vendorId, uint16_t productId) const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SerialCommunication::SerialDevice>) consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_SerialCommunication_ISerialDeviceStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.SmartCards.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.SmartCards.h
index f1ff01dc27f..69edd766c64 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.SmartCards.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCard) consume_Windows_Devices_SmartCards_ICardAddedEventArgs<D>::SmartCard() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ICardAddedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCard) consume_Windows_Devices_SmartCards_ICardRemovedEventArgs<D>::SmartCard() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ICardRemovedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_IKnownSmartCardAppletIds<D>::PaymentSystemEnvironment() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_IKnownSmartCardAppletIds<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_IKnownSmartCardAppletIds<D>::ProximityPaymentSystemEnvironment() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_IKnownSmartCardAppletIds<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardReader) consume_Windows_Devices_SmartCards_ISmartCard<D>::Reader() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCard<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardStatus>) consume_Windows_Devices_SmartCards_ISmartCard<D>::GetStatusAsync() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCard<D>::GetStatusAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCard)->GetStatusAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Devices_SmartCards_ISmartCard<D>::GetAnswerToResetAsync() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCard<D>::GetAnswerToResetAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCard)->GetAnswerToResetAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::AppletIds() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::AppletIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup)->get_AppletIds(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Storage::Streams::IBuffer>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::SmartCardEmulationCategory() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::SmartCardEmulationCategory() const
{
winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup)->get_SmartCardEmulationCategory(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::SmartCardEmulationCategory(winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::SmartCardEmulationCategory(winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup)->put_SmartCardEmulationCategory(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulationType) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::SmartCardEmulationType() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::SmartCardEmulationType() const
{
winrt::Windows::Devices::SmartCards::SmartCardEmulationType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup)->get_SmartCardEmulationType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::SmartCardEmulationType(winrt::Windows::Devices::SmartCards::SmartCardEmulationType const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::SmartCardEmulationType(winrt::Windows::Devices::SmartCards::SmartCardEmulationType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup)->put_SmartCardEmulationType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::AutomaticEnablement() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::AutomaticEnablement() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup)->get_AutomaticEnablement(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::AutomaticEnablement(bool value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup<D>::AutomaticEnablement(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup)->put_AutomaticEnablement(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2<D>::Logo() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2<D>::Logo(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2<D>::Logo(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup2)->put_Logo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2<D>::Description() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup2)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2<D>::Properties() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2<D>::SecureUserAuthenticationRequired() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2<D>::SecureUserAuthenticationRequired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup2)->get_SecureUserAuthenticationRequired(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2<D>::SecureUserAuthenticationRequired(bool value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroup2<D>::SecureUserAuthenticationRequired(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup2)->put_SecureUserAuthenticationRequired(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroup) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupFactory<D>::Create(param::hstring const& displayName, param::vector<winrt::Windows::Storage::Streams::IBuffer> const& appletIds, winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory const& emulationCategory, winrt::Windows::Devices::SmartCards::SmartCardEmulationType const& emulationType) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupFactory<D>::Create(param::hstring const& displayName, param::vector<winrt::Windows::Storage::Streams::IBuffer> 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<int32_t>(emulationCategory), static_cast<int32_t>(emulationType), &result));
return winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroup{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupActivationPolicy) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration<D>::ActivationPolicy() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration<D>::ActivationPolicy() const
{
winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupActivationPolicy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupRegistration)->get_ActivationPolicy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroup) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration<D>::AppletIdGroup() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardActivationPolicyChangeResult>) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration<D>::RequestActivationPolicyChangeAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupActivationPolicy const& policy) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration<D>::RequestActivationPolicyChangeAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupActivationPolicy const& policy) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupRegistration)->RequestActivationPolicyChangeAsync(static_cast<int32_t>(policy), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardActivationPolicyChangeResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration<D>::Id() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupRegistration)->get_Id(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration<D>::SetAutomaticResponseApdusAsync(param::async_iterable<winrt::Windows::Devices::SmartCards::SmartCardAutomaticResponseApdu> const& apdus) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration<D>::SetAutomaticResponseApdusAsync(param::async_iterable<winrt::Windows::Devices::SmartCards::SmartCardAutomaticResponseApdu> 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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration2<D>::SmartCardReaderId() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration2<D>::SetPropertiesAsync(winrt::Windows::Foundation::Collections::ValueSet const& props) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupRegistration2<D>::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 <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupStatics<D>::MaxAppletIds() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupStatics<D>::MaxAppletIds() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupStatics)->get_MaxAppletIds(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::CommandApdu() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::CommandApdu(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::CommandApdu(winrt::Windows::Storage::Streams::IBuffer const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu)->put_CommandApdu(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::CommandApduBitMask() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::CommandApduBitMask(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::CommandApduBitMask(winrt::Windows::Storage::Streams::IBuffer const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu)->put_CommandApduBitMask(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::ShouldMatchLength() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::ShouldMatchLength() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu)->get_ShouldMatchLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::ShouldMatchLength(bool value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::ShouldMatchLength(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu)->put_ShouldMatchLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::AppletId() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::AppletId(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::AppletId(winrt::Windows::Storage::Streams::IBuffer const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu)->put_AppletId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::ResponseApdu() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::ResponseApdu(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu<D>::ResponseApdu(winrt::Windows::Storage::Streams::IBuffer const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu)->put_ResponseApdu(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2<D>::InputState() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2<D>::InputState() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu2)->get_InputState(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2<D>::InputState(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2<D>::InputState(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu2)->put_InputState(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2<D>::OutputState() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2<D>::OutputState() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu2)->get_OutputState(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2<D>::OutputState(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2<D>::OutputState(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu2)->put_OutputState(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu3<D>::AllowWhenCryptogramGeneratorNotPrepared() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu3<D>::AllowWhenCryptogramGeneratorNotPrepared() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu3)->get_AllowWhenCryptogramGeneratorNotPrepared(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu3<D>::AllowWhenCryptogramGeneratorNotPrepared(bool value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu3<D>::AllowWhenCryptogramGeneratorNotPrepared(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu3)->put_AllowWhenCryptogramGeneratorNotPrepared(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardAutomaticResponseApdu) consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApduFactory<D>::Create(winrt::Windows::Storage::Streams::IBuffer const& commandApdu, winrt::Windows::Storage::Streams::IBuffer const& responseApdu) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApduFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardChallengeContext<D>::Challenge() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardChallengeContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_SmartCards_ISmartCardChallengeContext<D>::VerifyResponseAsync(winrt::Windows::Storage::Streams::IBuffer const& response) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardChallengeContext<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_SmartCards_ISmartCardChallengeContext<D>::ProvisionAsync(winrt::Windows::Storage::Streams::IBuffer const& response, bool formatCard) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardChallengeContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_SmartCards_ISmartCardChallengeContext<D>::ProvisionAsync(winrt::Windows::Storage::Streams::IBuffer const& response, bool formatCard, winrt::guid const& newCardId) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardChallengeContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_SmartCards_ISmartCardChallengeContext<D>::ChangeAdministrativeKeyAsync(winrt::Windows::Storage::Streams::IBuffer const& response, winrt::Windows::Storage::Streams::IBuffer const& newAdministrativeKey) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardChallengeContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardConnection>) consume_Windows_Devices_SmartCards_ISmartCardConnect<D>::ConnectAsync() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardConnect<D>::ConnectAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardConnect)->ConnectAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardConnection>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Devices_SmartCards_ISmartCardConnection<D>::TransmitAsync(winrt::Windows::Storage::Streams::IBuffer const& command) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardConnection<D>::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<winrt::Windows::Storage::Streams::IBuffer>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialType>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::SupportedCryptogramMaterialTypes() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::SupportedCryptogramMaterialTypes() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->get_SupportedCryptogramMaterialTypes(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialType>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::SupportedCryptogramAlgorithms() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::SupportedCryptogramAlgorithms() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->get_SupportedCryptogramAlgorithms(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageFormat>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::SupportedCryptogramMaterialPackageFormats() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::SupportedCryptogramMaterialPackageFormats() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->get_SupportedCryptogramMaterialPackageFormats(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageFormat>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageConfirmationResponseFormat>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::SupportedCryptogramMaterialPackageConfirmationResponseFormats() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::SupportedCryptogramMaterialPackageConfirmationResponseFormats() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->get_SupportedCryptogramMaterialPackageConfirmationResponseFormats(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageConfirmationResponseFormat>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::SupportedSmartCardCryptogramStorageKeyCapabilities() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::SupportedSmartCardCryptogramStorageKeyCapabilities() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->get_SupportedSmartCardCryptogramStorageKeyCapabilities(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::DeleteCryptogramMaterialStorageKeyAsync(param::hstring const& storageKeyName) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::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<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::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 <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::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<int32_t>(promptingBehavior), *(void**)(&storageKeyName), static_cast<int32_t>(algorithm), static_cast<uint32_t>(capabilities), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyInfo>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::RequestCryptogramMaterialStorageKeyInfoAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, param::hstring const& storageKeyName, winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& format) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::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<int32_t>(promptingBehavior), *(void**)(&storageKeyName), static_cast<int32_t>(format), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::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 <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::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<int32_t>(format), *(void**)(&storageKeyName), *(void**)(&materialPackageName), *(void**)(&cryptogramMaterialPackage), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPossessionProof>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::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 <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::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<int32_t>(promptingBehavior), static_cast<int32_t>(responseFormat), *(void**)(&materialPackageName), *(void**)(&materialName), *(void**)(&challenge), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPossessionProof>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::RequestUnlockCryptogramMaterialForUseAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::RequestUnlockCryptogramMaterialForUseAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator)->RequestUnlockCryptogramMaterialForUseAsync(static_cast<int32_t>(promptingBehavior), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::DeleteCryptogramMaterialPackageAsync(param::hstring const& materialPackageName) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator<D>::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<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2<D>::ValidateRequestApduAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, winrt::Windows::Storage::Streams::IBuffer const& apduToValidate, param::async_iterable<winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep> const& cryptogramPlacementSteps) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2<D>::ValidateRequestApduAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, winrt::Windows::Storage::Streams::IBuffer const& apduToValidate, param::async_iterable<winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep> const& cryptogramPlacementSteps) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator2)->ValidateRequestApduAsync(static_cast<int32_t>(promptingBehavior), *(void**)(&apduToValidate), *(void**)(&cryptogramPlacementSteps), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2<D>::GetAllCryptogramStorageKeyCharacteristicsAsync() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2<D>::GetAllCryptogramStorageKeyCharacteristicsAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator2)->GetAllCryptogramStorageKeyCharacteristicsAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2<D>::GetAllCryptogramMaterialPackageCharacteristicsAsync() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2<D>::GetAllCryptogramMaterialPackageCharacteristicsAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator2)->GetAllCryptogramMaterialPackageCharacteristicsAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2<D>::GetAllCryptogramMaterialPackageCharacteristicsAsync(param::hstring const& storageKeyName) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2<D>::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<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2<D>::GetAllCryptogramMaterialCharacteristicsAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, param::hstring const& materialPackageName) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2<D>::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<int32_t>(promptingBehavior), *(void**)(&materialPackageName), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGenerator>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGeneratorStatics<D>::GetSmartCardCryptogramGeneratorAsync() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGeneratorStatics<D>::GetSmartCardCryptogramGeneratorAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGeneratorStatics)->GetSmartCardCryptogramGeneratorAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGenerator>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGeneratorStatics2<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGeneratorStatics2<D>::IsSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGeneratorStatics2)->IsSupported(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult<D>::OperationStatus() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult<D>::OperationStatus() const
{
winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult)->get_OperationStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialCharacteristics>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult<D>::Characteristics() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult<D>::Characteristics() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult)->get_Characteristics(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialCharacteristics>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult<D>::OperationStatus() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult<D>::OperationStatus() const
{
winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult)->get_OperationStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageCharacteristics>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult<D>::Characteristics() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult<D>::Characteristics() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult)->get_Characteristics(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageCharacteristics>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult<D>::OperationStatus() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult<D>::OperationStatus() const
{
winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult)->get_OperationStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCharacteristics>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult<D>::Characteristics() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult<D>::Characteristics() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult)->get_Characteristics(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCharacteristics>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics<D>::MaterialName() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics<D>::AllowedAlgorithms() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics<D>::AllowedAlgorithms() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics)->get_AllowedAlgorithms(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageConfirmationResponseFormat>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics<D>::AllowedProofOfPossessionAlgorithms() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics<D>::AllowedProofOfPossessionAlgorithms() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics)->get_AllowedProofOfPossessionAlgorithms(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageConfirmationResponseFormat>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm>) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics<D>::AllowedValidations() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics<D>::AllowedValidations() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics)->get_AllowedValidations(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialType) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics<D>::MaterialType() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics<D>::MaterialType() const
{
winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics)->get_MaterialType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialProtectionMethod) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics<D>::ProtectionMethod() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics<D>::ProtectionMethod() const
{
winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialProtectionMethod value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics)->get_ProtectionMethod(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics<D>::ProtectionVersion() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics<D>::ProtectionVersion() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics)->get_ProtectionVersion(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics<D>::MaterialLength() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics<D>::MaterialLength() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics)->get_MaterialLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics<D>::PackageName() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics<D>::StorageKeyName() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics<D>::DateImported() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageFormat) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics<D>::PackageFormat() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPackageCharacteristics<D>::PackageFormat() const
{
winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialPackageCharacteristics)->get_PackageFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPossessionProof<D>::OperationStatus() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPossessionProof<D>::OperationStatus() const
{
winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialPossessionProof)->get_OperationStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPossessionProof<D>::Proof() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialPossessionProof<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::Algorithm() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::Algorithm() const
{
winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->get_Algorithm(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::Algorithm(winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::Algorithm(winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_Algorithm(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::SourceData() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::SourceData(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::SourceData(winrt::Windows::Storage::Streams::IBuffer const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_SourceData(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramMaterialPackageName() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramMaterialPackageName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramMaterialPackageName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_CryptogramMaterialPackageName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramMaterialName() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramMaterialName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramMaterialName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_CryptogramMaterialName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::TemplateOffset() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::TemplateOffset() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->get_TemplateOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::TemplateOffset(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::TemplateOffset(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_TemplateOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramOffset() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramOffset() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->get_CryptogramOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramOffset(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramOffset(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_CryptogramOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramLength() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramLength() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->get_CryptogramLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramLength(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramLength(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_CryptogramLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementOptions) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramPlacementOptions() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramPlacementOptions() const
{
winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementOptions value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->get_CryptogramPlacementOptions(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramPlacementOptions(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementOptions const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::CryptogramPlacementOptions(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementOptions const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_CryptogramPlacementOptions(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::ChainedOutputStep() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::ChainedOutputStep(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramPlacementStep<D>::ChainedOutputStep(winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep)->put_ChainedOutputStep(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics<D>::StorageKeyName() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics<D>::DateCreated() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyAlgorithm) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics<D>::Algorithm() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics<D>::Algorithm() const
{
winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyAlgorithm value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyCharacteristics)->get_Algorithm(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics<D>::Capabilities() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyCharacteristics<D>::Capabilities() const
{
winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyCharacteristics)->get_Capabilities(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo<D>::OperationStatus() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo<D>::OperationStatus() const
{
winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyInfo)->get_OperationStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo<D>::PublicKeyBlobType() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo<D>::PublicKeyBlobType() const
{
winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyInfo)->get_PublicKeyBlobType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo<D>::PublicKey() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptographicKeyAttestationStatus) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo<D>::AttestationStatus() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo<D>::AttestationStatus() const
{
winrt::Windows::Devices::SmartCards::SmartCardCryptographicKeyAttestationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyInfo)->get_AttestationStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo<D>::Attestation() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo<D>::AttestationCertificateChain() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo<D>::Capabilities() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo<D>::Capabilities() const
{
winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyInfo)->get_Capabilities(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo2<D>::OperationalRequirements() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulatorEnablementPolicy) consume_Windows_Devices_SmartCards_ISmartCardEmulator<D>::EnablementPolicy() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulator<D>::EnablementPolicy() const
{
winrt::Windows::Devices::SmartCards::SmartCardEmulatorEnablementPolicy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulator)->get_EnablementPolicy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::ApduReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardEmulator, winrt::Windows::Devices::SmartCards::SmartCardEmulatorApduReceivedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::ApduReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardEmulator, winrt::Windows::Devices::SmartCards::SmartCardEmulatorApduReceivedEventArgs> 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 D> typename consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::ApduReceived_revoker consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::ApduReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardEmulator, winrt::Windows::Devices::SmartCards::SmartCardEmulatorApduReceivedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::ApduReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardEmulator, winrt::Windows::Devices::SmartCards::SmartCardEmulatorApduReceivedEventArgs> const& value) const
{
return impl::make_event_revoker<D, ApduReceived_revoker>(this, ApduReceived(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::ApduReceived(winrt::event_token const& value) const noexcept
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::ApduReceived(winrt::event_token const& value) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulator2)->remove_ApduReceived(impl::bind_in(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::ConnectionDeactivated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardEmulator, winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionDeactivatedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::ConnectionDeactivated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardEmulator, winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionDeactivatedEventArgs> 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 D> typename consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::ConnectionDeactivated_revoker consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::ConnectionDeactivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardEmulator, winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionDeactivatedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::ConnectionDeactivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardEmulator, winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionDeactivatedEventArgs> const& value) const
{
return impl::make_event_revoker<D, ConnectionDeactivated_revoker>(this, ConnectionDeactivated(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::ConnectionDeactivated(winrt::event_token const& value) const noexcept
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::ConnectionDeactivated(winrt::event_token const& value) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulator2)->remove_ConnectionDeactivated(impl::bind_in(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulator2)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::IsHostCardEmulationSupported() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulator2<D>::IsHostCardEmulationSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulator2)->IsHostCardEmulationSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs<D>::CommandApdu() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionProperties) consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs<D>::ConnectionProperties() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs<D>::TryRespondAsync(winrt::Windows::Storage::Streams::IBuffer const& responseApdu) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardAutomaticResponseStatus) consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs<D>::AutomaticResponseStatus() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs<D>::AutomaticResponseStatus() const
{
winrt::Windows::Devices::SmartCards::SmartCardAutomaticResponseStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorApduReceivedEventArgs)->get_AutomaticResponseStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs2<D>::State() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs2<D>::State() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorApduReceivedEventArgs2)->get_State(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs2<D>::TryRespondAsync(winrt::Windows::Storage::Streams::IBuffer const& responseApdu, winrt::Windows::Foundation::IReference<uint32_t> const& nextState) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs2<D>::TryRespondAsync(winrt::Windows::Storage::Streams::IBuffer const& responseApdu, winrt::Windows::Foundation::IReference<uint32_t> 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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>) consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgsWithCryptograms<D>::TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable<winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep> const& cryptogramPlacementSteps) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgsWithCryptograms<D>::TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable<winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep> 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<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>) consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgsWithCryptograms<D>::TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable<winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep> const& cryptogramPlacementSteps, winrt::Windows::Foundation::IReference<uint32_t> const& nextState) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgsWithCryptograms<D>::TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable<winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep> const& cryptogramPlacementSteps, winrt::Windows::Foundation::IReference<uint32_t> 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<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionProperties) consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionDeactivatedEventArgs<D>::ConnectionProperties() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionDeactivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionDeactivatedReason) consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionDeactivatedEventArgs<D>::Reason() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionDeactivatedEventArgs<D>::Reason() const
{
winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionDeactivatedReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorConnectionDeactivatedEventArgs)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionProperties<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionProperties<D>::Id() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorConnectionProperties)->get_Id(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionSource) consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionProperties<D>::Source() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorConnectionProperties<D>::Source() const
{
winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionSource value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorConnectionProperties)->get_Source(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardEmulator>) consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics<D>::GetDefaultAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorStatics)->GetDefaultAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardEmulator>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupRegistration>>) consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2<D>::GetAppletIdGroupRegistrationsAsync() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2<D>::GetAppletIdGroupRegistrationsAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorStatics2)->GetAppletIdGroupRegistrationsAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupRegistration>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupRegistration>) consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2<D>::RegisterAppletIdGroupAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroup const& appletIdGroup) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2<D>::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<winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupRegistration>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2<D>::UnregisterAppletIdGroupAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupRegistration const& registration) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2<D>::UnregisterAppletIdGroupAsync(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupRegistration const& registration) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorStatics2)->UnregisterAppletIdGroupAsync(*(void**)(&registration), &result));
return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2<D>::MaxAppletIdGroupRegistrations() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2<D>::MaxAppletIdGroupRegistrations() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorStatics2)->get_MaxAppletIdGroupRegistrations(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics3<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics3<D>::IsSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardEmulatorStatics3)->IsSupported(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::MinLength() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::MinLength() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->get_MinLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::MinLength(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::MinLength(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->put_MinLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::MaxLength() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::MaxLength() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->get_MaxLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::MaxLength(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::MaxLength(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->put_MaxLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::UppercaseLetters() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::UppercaseLetters() const
{
winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->get_UppercaseLetters(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::UppercaseLetters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::UppercaseLetters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->put_UppercaseLetters(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::LowercaseLetters() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::LowercaseLetters() const
{
winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->get_LowercaseLetters(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::LowercaseLetters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::LowercaseLetters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->put_LowercaseLetters(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::Digits() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::Digits() const
{
winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->get_Digits(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::Digits(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::Digits(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->put_Digits(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::SpecialCharacters() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::SpecialCharacters() const
{
winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->get_SpecialCharacters(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::SpecialCharacters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardPinPolicy<D>::SpecialCharacters(winrt::Windows::Devices::SmartCards::SmartCardPinCharacterPolicyOption const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy)->put_SpecialCharacters(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardPinResetDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardPinResetDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinResetDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest<D>::Challenge() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest<D>::Deadline() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardPinResetDeferral) consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest<D>::SetResponse(winrt::Windows::Storage::Streams::IBuffer const& response) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardPinResetRequest<D>::SetResponse(winrt::Windows::Storage::Streams::IBuffer const& response) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardPinResetRequest)->SetResponse(*(void**)(&response)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCard) consume_Windows_Devices_SmartCards_ISmartCardProvisioning<D>::SmartCard() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardProvisioning<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::guid>) consume_Windows_Devices_SmartCards_ISmartCardProvisioning<D>::GetIdAsync() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardProvisioning<D>::GetIdAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioning)->GetIdAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::guid>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Devices_SmartCards_ISmartCardProvisioning<D>::GetNameAsync() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardProvisioning<D>::GetNameAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioning)->GetNameAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardChallengeContext>) consume_Windows_Devices_SmartCards_ISmartCardProvisioning<D>::GetChallengeContextAsync() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardProvisioning<D>::GetChallengeContextAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioning)->GetChallengeContextAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardChallengeContext>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_SmartCards_ISmartCardProvisioning<D>::RequestPinChangeAsync() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardProvisioning<D>::RequestPinChangeAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioning)->RequestPinChangeAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_SmartCards_ISmartCardProvisioning<D>::RequestPinResetAsync(winrt::Windows::Devices::SmartCards::SmartCardPinResetHandler const& handler) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardProvisioning<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Devices_SmartCards_ISmartCardProvisioning2<D>::GetAuthorityKeyContainerNameAsync() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardProvisioning2<D>::GetAuthorityKeyContainerNameAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardProvisioning2)->GetAuthorityKeyContainerNameAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardProvisioning>) consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics<D>::FromSmartCardAsync(winrt::Windows::Devices::SmartCards::SmartCard const& card) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics<D>::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<winrt::Windows::Devices::SmartCards::SmartCardProvisioning>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardProvisioning>) consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics<D>::RequestVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics<D>::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<winrt::Windows::Devices::SmartCards::SmartCardProvisioning>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardProvisioning>) consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics<D>::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 <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics<D>::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<winrt::Windows::Devices::SmartCards::SmartCardProvisioning>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics<D>::RequestVirtualSmartCardDeletionAsync(winrt::Windows::Devices::SmartCards::SmartCard const& card) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardProvisioning>) consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics2<D>::RequestAttestedVirtualSmartCardCreationAsync(param::hstring const& friendlyName, winrt::Windows::Storage::Streams::IBuffer const& administrativeKey, winrt::Windows::Devices::SmartCards::SmartCardPinPolicy const& pinPolicy) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics2<D>::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<winrt::Windows::Devices::SmartCards::SmartCardProvisioning>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardProvisioning>) consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics2<D>::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 <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics2<D>::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<winrt::Windows::Devices::SmartCards::SmartCardProvisioning>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardReader<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardReader<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardReader<D>::Name() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardReaderKind) consume_Windows_Devices_SmartCards_ISmartCardReader<D>::Kind() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardReader<D>::Kind() const
{
winrt::Windows::Devices::SmartCards::SmartCardReaderKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReader)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardReaderStatus>) consume_Windows_Devices_SmartCards_ISmartCardReader<D>::GetStatusAsync() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardReader<D>::GetStatusAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReader)->GetStatusAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardReaderStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCard>>) consume_Windows_Devices_SmartCards_ISmartCardReader<D>::FindAllCardsAsync() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardReader<D>::FindAllCardsAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReader)->FindAllCardsAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCard>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_SmartCards_ISmartCardReader<D>::CardAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardReader, winrt::Windows::Devices::SmartCards::CardAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardReader<D>::CardAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardReader, winrt::Windows::Devices::SmartCards::CardAddedEventArgs> 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 D> typename consume_Windows_Devices_SmartCards_ISmartCardReader<D>::CardAdded_revoker consume_Windows_Devices_SmartCards_ISmartCardReader<D>::CardAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardReader, winrt::Windows::Devices::SmartCards::CardAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardReader<D>::CardAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardReader, winrt::Windows::Devices::SmartCards::CardAddedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CardAdded_revoker>(this, CardAdded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardReader<D>::CardAdded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardReader<D>::CardAdded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReader)->remove_CardAdded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_SmartCards_ISmartCardReader<D>::CardRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardReader, winrt::Windows::Devices::SmartCards::CardRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardReader<D>::CardRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardReader, winrt::Windows::Devices::SmartCards::CardRemovedEventArgs> 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 D> typename consume_Windows_Devices_SmartCards_ISmartCardReader<D>::CardRemoved_revoker consume_Windows_Devices_SmartCards_ISmartCardReader<D>::CardRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardReader, winrt::Windows::Devices::SmartCards::CardRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardReader<D>::CardRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardReader, winrt::Windows::Devices::SmartCards::CardRemovedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CardRemoved_revoker>(this, CardRemoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_SmartCards_ISmartCardReader<D>::CardRemoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardReader<D>::CardRemoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReader)->remove_CardRemoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardReaderStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardReaderStatics<D>::GetDeviceSelector() const
{
void* selector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReaderStatics)->GetDeviceSelector(&selector));
return hstring{ selector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_SmartCards_ISmartCardReaderStatics<D>::GetDeviceSelector(winrt::Windows::Devices::SmartCards::SmartCardReaderKind const& kind) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardReaderStatics<D>::GetDeviceSelector(winrt::Windows::Devices::SmartCards::SmartCardReaderKind const& kind) const
{
void* selector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardReaderStatics)->GetDeviceSelectorWithKind(static_cast<int32_t>(kind), &selector));
return hstring{ selector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardReader>) consume_Windows_Devices_SmartCards_ISmartCardReaderStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardReaderStatics<D>::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<winrt::Windows::Devices::SmartCards::SmartCardReader>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardTriggerType) consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails<D>::TriggerType() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails<D>::TriggerType() const
{
winrt::Windows::Devices::SmartCards::SmartCardTriggerType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardTriggerDetails)->get_TriggerType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails<D>::SourceAppletId() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails<D>::TriggerData() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulator) consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails2<D>::Emulator() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails2<D>::TryLaunchCurrentAppAsync(param::hstring const& arguments) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails2<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails2<D>::TryLaunchCurrentAppAsync(param::hstring const& arguments, winrt::Windows::Devices::SmartCards::SmartCardLaunchBehavior const& behavior) const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails2<D>::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<int32_t>(behavior), &result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCard) consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails3<D>::SmartCard() const
+ template <typename D> auto consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails3<D>::SmartCard() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::SmartCards::ISmartCardTriggerDetails3)->get_SmartCard(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sms.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sms.h
index 1baa042a897..7a3fed68014 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Sms.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sms_ISmsAppMessage<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsAppMessage<D>::To() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage<D>::To(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::To(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_To(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsAppMessage<D>::From() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsAppMessage<D>::Body() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage<D>::Body(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::Body(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_Body(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsAppMessage<D>::CallbackNumber() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage<D>::CallbackNumber(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::CallbackNumber(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_CallbackNumber(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Sms_ISmsAppMessage<D>::IsDeliveryNotificationEnabled() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::IsDeliveryNotificationEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_IsDeliveryNotificationEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage<D>::IsDeliveryNotificationEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::IsDeliveryNotificationEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_IsDeliveryNotificationEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsAppMessage<D>::RetryAttemptCount() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::RetryAttemptCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_RetryAttemptCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage<D>::RetryAttemptCount(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::RetryAttemptCount(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_RetryAttemptCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncoding) consume_Windows_Devices_Sms_ISmsAppMessage<D>::Encoding() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::Encoding() const
{
winrt::Windows::Devices::Sms::SmsEncoding value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_Encoding(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage<D>::Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_Encoding(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsAppMessage<D>::PortNumber() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::PortNumber() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_PortNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage<D>::PortNumber(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::PortNumber(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_PortNumber(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsAppMessage<D>::TeleserviceId() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::TeleserviceId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_TeleserviceId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage<D>::TeleserviceId(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::TeleserviceId(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_TeleserviceId(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsAppMessage<D>::ProtocolId() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::ProtocolId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->get_ProtocolId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage<D>::ProtocolId(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::ProtocolId(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_ProtocolId(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Sms_ISmsAppMessage<D>::BinaryBody() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsAppMessage<D>::BinaryBody(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsAppMessage<D>::BinaryBody(winrt::Windows::Storage::Streams::IBuffer const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsAppMessage)->put_BinaryBody(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDataFormat) consume_Windows_Devices_Sms_ISmsBinaryMessage<D>::Format() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsBinaryMessage<D>::Format() const
{
winrt::Windows::Devices::Sms::SmsDataFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBinaryMessage)->get_Format(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsBinaryMessage<D>::Format(winrt::Windows::Devices::Sms::SmsDataFormat const& value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsBinaryMessage<D>::Format(winrt::Windows::Devices::Sms::SmsDataFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBinaryMessage)->put_Format(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Devices_Sms_ISmsBinaryMessage<D>::GetData() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsBinaryMessage<D>::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<uint8_t>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsBinaryMessage<D>::SetData(array_view<uint8_t const> value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsBinaryMessage<D>::SetData(array_view<uint8_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBinaryMessage)->SetData(value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::To() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::Body() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::Channel() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::Channel() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBroadcastMessage)->get_Channel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsGeographicalScope) consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::GeographicalScope() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::GeographicalScope() const
{
winrt::Windows::Devices::Sms::SmsGeographicalScope value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBroadcastMessage)->get_GeographicalScope(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::MessageCode() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::MessageCode() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBroadcastMessage)->get_MessageCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::UpdateNumber() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::UpdateNumber() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBroadcastMessage)->get_UpdateNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsBroadcastType) consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::BroadcastType() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::BroadcastType() const
{
winrt::Windows::Devices::Sms::SmsBroadcastType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBroadcastMessage)->get_BroadcastType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::IsEmergencyAlert() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::IsEmergencyAlert() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBroadcastMessage)->get_IsEmergencyAlert(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::IsUserPopupRequested() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsBroadcastMessage<D>::IsUserPopupRequested() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsBroadcastMessage)->get_IsUserPopupRequested(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SendSmsMessageOperation) consume_Windows_Devices_Sms_ISmsDevice<D>::SendMessageAsync(winrt::Windows::Devices::Sms::ISmsMessage const& message) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncodedLength) consume_Windows_Devices_Sms_ISmsDevice<D>::CalculateLength(winrt::Windows::Devices::Sms::SmsTextMessage const& message) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsDevice<D>::AccountPhoneNumber() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) consume_Windows_Devices_Sms_ISmsDevice<D>::CellularClass() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice<D>::CellularClass() const
{
winrt::Windows::Devices::Sms::CellularClass value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice)->get_CellularClass(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDeviceMessageStore) consume_Windows_Devices_Sms_ISmsDevice<D>::MessageStore() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDeviceStatus) consume_Windows_Devices_Sms_ISmsDevice<D>::DeviceStatus() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice<D>::DeviceStatus() const
{
winrt::Windows::Devices::Sms::SmsDeviceStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice)->get_DeviceStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sms_ISmsDevice<D>::SmsMessageReceived(winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice<D>::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 D> typename consume_Windows_Devices_Sms_ISmsDevice<D>::SmsMessageReceived_revoker consume_Windows_Devices_Sms_ISmsDevice<D>::SmsMessageReceived(auto_revoke_t, winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice<D>::SmsMessageReceived(auto_revoke_t, winrt::Windows::Devices::Sms::SmsMessageReceivedEventHandler const& eventHandler) const
{
return impl::make_event_revoker<D, SmsMessageReceived_revoker>(this, SmsMessageReceived(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsDevice<D>::SmsMessageReceived(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice<D>::SmsMessageReceived(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice)->remove_SmsMessageReceived(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sms_ISmsDevice<D>::SmsDeviceStatusChanged(winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice<D>::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 D> typename consume_Windows_Devices_Sms_ISmsDevice<D>::SmsDeviceStatusChanged_revoker consume_Windows_Devices_Sms_ISmsDevice<D>::SmsDeviceStatusChanged(auto_revoke_t, winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice<D>::SmsDeviceStatusChanged(auto_revoke_t, winrt::Windows::Devices::Sms::SmsDeviceStatusChangedEventHandler const& eventHandler) const
{
return impl::make_event_revoker<D, SmsDeviceStatusChanged_revoker>(this, SmsDeviceStatusChanged(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsDevice<D>::SmsDeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice<D>::SmsDeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice)->remove_SmsDeviceStatusChanged(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsDevice2<D>::SmscAddress() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsDevice2<D>::SmscAddress(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice2<D>::SmscAddress(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2)->put_SmscAddress(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsDevice2<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsDevice2<D>::ParentDeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsDevice2<D>::AccountPhoneNumber() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) consume_Windows_Devices_Sms_ISmsDevice2<D>::CellularClass() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice2<D>::CellularClass() const
{
winrt::Windows::Devices::Sms::CellularClass value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2)->get_CellularClass(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDeviceStatus) consume_Windows_Devices_Sms_ISmsDevice2<D>::DeviceStatus() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice2<D>::DeviceStatus() const
{
winrt::Windows::Devices::Sms::SmsDeviceStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2)->get_DeviceStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncodedLength) consume_Windows_Devices_Sms_ISmsDevice2<D>::CalculateLength(winrt::Windows::Devices::Sms::ISmsMessageBase const& message) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sms::SmsSendMessageResult>) consume_Windows_Devices_Sms_ISmsDevice2<D>::SendMessageAndGetResultAsync(winrt::Windows::Devices::Sms::ISmsMessageBase const& message) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice2<D>::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<winrt::Windows::Devices::Sms::SmsSendMessageResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sms_ISmsDevice2<D>::DeviceStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsDevice2, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice2<D>::DeviceStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsDevice2, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_Sms_ISmsDevice2<D>::DeviceStatusChanged_revoker consume_Windows_Devices_Sms_ISmsDevice2<D>::DeviceStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsDevice2, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice2<D>::DeviceStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsDevice2, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
{
return impl::make_event_revoker<D, DeviceStatusChanged_revoker>(this, DeviceStatusChanged(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsDevice2<D>::DeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice2<D>::DeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2)->remove_DeviceStatusChanged(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsDevice2Statics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice2Statics<D>::GetDeviceSelector() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDevice2Statics)->GetDeviceSelector(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDevice2) consume_Windows_Devices_Sms_ISmsDevice2Statics<D>::FromId(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice2Statics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDevice2) consume_Windows_Devices_Sms_ISmsDevice2Statics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice2Statics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsDevice2) consume_Windows_Devices_Sms_ISmsDevice2Statics<D>::FromParentId(param::hstring const& parentDeviceId) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDevice2Statics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Sms_ISmsDeviceMessageStore<D>::DeleteMessageAsync(uint32_t messageId) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDeviceMessageStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Sms_ISmsDeviceMessageStore<D>::DeleteMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDeviceMessageStore<D>::DeleteMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDeviceMessageStore)->DeleteMessagesAsync(static_cast<int32_t>(messageFilter), &asyncInfo));
return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sms::ISmsMessage>) consume_Windows_Devices_Sms_ISmsDeviceMessageStore<D>::GetMessageAsync(uint32_t messageId) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDeviceMessageStore<D>::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<winrt::Windows::Devices::Sms::ISmsMessage>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sms::ISmsMessage>, int32_t>) consume_Windows_Devices_Sms_ISmsDeviceMessageStore<D>::GetMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDeviceMessageStore<D>::GetMessagesAsync(winrt::Windows::Devices::Sms::SmsMessageFilter const& messageFilter) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDeviceMessageStore)->GetMessagesAsync(static_cast<int32_t>(messageFilter), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sms::ISmsMessage>, int32_t>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sms_ISmsDeviceMessageStore<D>::MaxMessages() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDeviceMessageStore<D>::MaxMessages() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDeviceMessageStore)->get_MaxMessages(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsDeviceStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDeviceStatics<D>::GetDeviceSelector() const
{
void* phstrDeviceClassSelector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDeviceStatics)->GetDeviceSelector(&phstrDeviceClassSelector));
return hstring{ phstrDeviceClassSelector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sms::SmsDevice>) consume_Windows_Devices_Sms_ISmsDeviceStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDeviceStatics<D>::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<winrt::Windows::Devices::Sms::SmsDevice>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sms::SmsDevice>) consume_Windows_Devices_Sms_ISmsDeviceStatics<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDeviceStatics<D>::GetDefaultAsync() const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsDeviceStatics)->GetDefaultAsync(&asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sms::SmsDevice>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sms::SmsDevice>) consume_Windows_Devices_Sms_ISmsDeviceStatics2<D>::FromNetworkAccountIdAsync(param::hstring const& networkAccountId) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsDeviceStatics2<D>::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<winrt::Windows::Devices::Sms::SmsDevice>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageType) consume_Windows_Devices_Sms_ISmsFilterRule<D>::MessageType() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRule<D>::MessageType() const
{
winrt::Windows::Devices::Sms::SmsMessageType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_MessageType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Devices_Sms_ISmsFilterRule<D>::ImsiPrefixes() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRule<D>::ImsiPrefixes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_ImsiPrefixes(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Devices_Sms_ISmsFilterRule<D>::DeviceIds() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRule<D>::DeviceIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_DeviceIds(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Devices_Sms_ISmsFilterRule<D>::SenderNumbers() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRule<D>::SenderNumbers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_SenderNumbers(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Devices_Sms_ISmsFilterRule<D>::TextMessagePrefixes() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRule<D>::TextMessagePrefixes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_TextMessagePrefixes(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<int32_t>) consume_Windows_Devices_Sms_ISmsFilterRule<D>::PortNumbers() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRule<D>::PortNumbers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_PortNumbers(&value));
return winrt::Windows::Foundation::Collections::IVector<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) consume_Windows_Devices_Sms_ISmsFilterRule<D>::CellularClass() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRule<D>::CellularClass() const
{
winrt::Windows::Devices::Sms::CellularClass value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_CellularClass(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsFilterRule<D>::CellularClass(winrt::Windows::Devices::Sms::CellularClass const& value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRule<D>::CellularClass(winrt::Windows::Devices::Sms::CellularClass const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->put_CellularClass(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<int32_t>) consume_Windows_Devices_Sms_ISmsFilterRule<D>::ProtocolIds() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRule<D>::ProtocolIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_ProtocolIds(&value));
return winrt::Windows::Foundation::Collections::IVector<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<int32_t>) consume_Windows_Devices_Sms_ISmsFilterRule<D>::TeleserviceIds() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRule<D>::TeleserviceIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_TeleserviceIds(&value));
return winrt::Windows::Foundation::Collections::IVector<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Devices_Sms_ISmsFilterRule<D>::WapApplicationIds() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRule<D>::WapApplicationIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_WapApplicationIds(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Devices_Sms_ISmsFilterRule<D>::WapContentTypes() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRule<D>::WapContentTypes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_WapContentTypes(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Sms::SmsBroadcastType>) consume_Windows_Devices_Sms_ISmsFilterRule<D>::BroadcastTypes() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRule<D>::BroadcastTypes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_BroadcastTypes(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Sms::SmsBroadcastType>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<int32_t>) consume_Windows_Devices_Sms_ISmsFilterRule<D>::BroadcastChannels() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRule<D>::BroadcastChannels() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRule)->get_BroadcastChannels(&value));
return winrt::Windows::Foundation::Collections::IVector<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsFilterRule) consume_Windows_Devices_Sms_ISmsFilterRuleFactory<D>::CreateFilterRule(winrt::Windows::Devices::Sms::SmsMessageType const& messageType) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRuleFactory<D>::CreateFilterRule(winrt::Windows::Devices::Sms::SmsMessageType const& messageType) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRuleFactory)->CreateFilterRule(static_cast<int32_t>(messageType), &value));
return winrt::Windows::Devices::Sms::SmsFilterRule{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsFilterActionType) consume_Windows_Devices_Sms_ISmsFilterRules<D>::ActionType() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRules<D>::ActionType() const
{
winrt::Windows::Devices::Sms::SmsFilterActionType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRules)->get_ActionType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Sms::SmsFilterRule>) consume_Windows_Devices_Sms_ISmsFilterRules<D>::Rules() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRules<D>::Rules() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRules)->get_Rules(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Sms::SmsFilterRule>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsFilterRules) consume_Windows_Devices_Sms_ISmsFilterRulesFactory<D>::CreateFilterRules(winrt::Windows::Devices::Sms::SmsFilterActionType const& actionType) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsFilterRulesFactory<D>::CreateFilterRules(winrt::Windows::Devices::Sms::SmsFilterActionType const& actionType) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsFilterRulesFactory)->CreateFilterRules(static_cast<int32_t>(actionType), &value));
return winrt::Windows::Devices::Sms::SmsFilterRules{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sms_ISmsMessage<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessage<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessage)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageClass) consume_Windows_Devices_Sms_ISmsMessage<D>::MessageClass() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessage<D>::MessageClass() const
{
winrt::Windows::Devices::Sms::SmsMessageClass value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessage)->get_MessageClass(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageType) consume_Windows_Devices_Sms_ISmsMessageBase<D>::MessageType() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageBase<D>::MessageType() const
{
winrt::Windows::Devices::Sms::SmsMessageType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageBase)->get_MessageType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsMessageBase<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageBase<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) consume_Windows_Devices_Sms_ISmsMessageBase<D>::CellularClass() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageBase<D>::CellularClass() const
{
winrt::Windows::Devices::Sms::CellularClass value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageBase)->get_CellularClass(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageClass) consume_Windows_Devices_Sms_ISmsMessageBase<D>::MessageClass() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageBase<D>::MessageClass() const
{
winrt::Windows::Devices::Sms::SmsMessageClass value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageBase)->get_MessageClass(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsMessageBase<D>::SimIccId() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageBase<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsTextMessage) consume_Windows_Devices_Sms_ISmsMessageReceivedEventArgs<D>::TextMessage() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsBinaryMessage) consume_Windows_Devices_Sms_ISmsMessageReceivedEventArgs<D>::BinaryMessage() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageType) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::MessageType() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::MessageType() const
{
winrt::Windows::Devices::Sms::SmsMessageType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails)->get_MessageType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsTextMessage2) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::TextMessage() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsWapMessage) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::WapMessage() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsAppMessage) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::AppMessage() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsBroadcastMessage) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::BroadcastMessage() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsVoicemailMessage) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::VoicemailMessage() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsStatusMessage) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::StatusMessage() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::Drop() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::Drop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails)->Drop());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::Accept() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageReceivedTriggerDetails<D>::Accept() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails)->Accept());
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsMessageRegistration<D>::Id() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageRegistration<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsMessageRegistration<D>::Unregister() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageRegistration<D>::Unregister() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageRegistration)->Unregister());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Sms_ISmsMessageRegistration<D>::MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsMessageRegistration, winrt::Windows::Devices::Sms::SmsMessageReceivedTriggerDetails> const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageRegistration<D>::MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsMessageRegistration, winrt::Windows::Devices::Sms::SmsMessageReceivedTriggerDetails> 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 D> typename consume_Windows_Devices_Sms_ISmsMessageRegistration<D>::MessageReceived_revoker consume_Windows_Devices_Sms_ISmsMessageRegistration<D>::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsMessageRegistration, winrt::Windows::Devices::Sms::SmsMessageReceivedTriggerDetails> const& eventHandler) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageRegistration<D>::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsMessageRegistration, winrt::Windows::Devices::Sms::SmsMessageReceivedTriggerDetails> const& eventHandler) const
{
return impl::make_event_revoker<D, MessageReceived_revoker>(this, MessageReceived(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsMessageRegistration<D>::MessageReceived(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageRegistration<D>::MessageReceived(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageRegistration)->remove_MessageReceived(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sms::SmsMessageRegistration>) consume_Windows_Devices_Sms_ISmsMessageRegistrationStatics<D>::AllRegistrations() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageRegistrationStatics<D>::AllRegistrations() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsMessageRegistrationStatics)->get_AllRegistrations(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sms::SmsMessageRegistration>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageRegistration) consume_Windows_Devices_Sms_ISmsMessageRegistrationStatics<D>::Register(param::hstring const& id, winrt::Windows::Devices::Sms::SmsFilterRules const& filterRules) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsMessageRegistrationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsReceivedEventDetails<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsReceivedEventDetails<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sms_ISmsReceivedEventDetails<D>::MessageIndex() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsReceivedEventDetails<D>::MessageIndex() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsReceivedEventDetails)->get_MessageIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsMessageClass) consume_Windows_Devices_Sms_ISmsReceivedEventDetails2<D>::MessageClass() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsReceivedEventDetails2<D>::MessageClass() const
{
winrt::Windows::Devices::Sms::SmsMessageClass value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsReceivedEventDetails2)->get_MessageClass(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsBinaryMessage) consume_Windows_Devices_Sms_ISmsReceivedEventDetails2<D>::BinaryMessage() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsReceivedEventDetails2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Sms_ISmsSendMessageResult<D>::IsSuccessful() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsSendMessageResult<D>::IsSuccessful() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsSendMessageResult)->get_IsSuccessful(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int32_t>) consume_Windows_Devices_Sms_ISmsSendMessageResult<D>::MessageReferenceNumbers() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsSendMessageResult<D>::MessageReferenceNumbers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsSendMessageResult)->get_MessageReferenceNumbers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) consume_Windows_Devices_Sms_ISmsSendMessageResult<D>::CellularClass() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsSendMessageResult<D>::CellularClass() const
{
winrt::Windows::Devices::Sms::CellularClass value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsSendMessageResult)->get_CellularClass(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsModemErrorCode) consume_Windows_Devices_Sms_ISmsSendMessageResult<D>::ModemErrorCode() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsSendMessageResult<D>::ModemErrorCode() const
{
winrt::Windows::Devices::Sms::SmsModemErrorCode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsSendMessageResult)->get_ModemErrorCode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Sms_ISmsSendMessageResult<D>::IsErrorTransient() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsSendMessageResult<D>::IsErrorTransient() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsSendMessageResult)->get_IsErrorTransient(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsSendMessageResult<D>::NetworkCauseCode() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsSendMessageResult<D>::NetworkCauseCode() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsSendMessageResult)->get_NetworkCauseCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsSendMessageResult<D>::TransportFailureCause() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsSendMessageResult<D>::TransportFailureCause() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsSendMessageResult)->get_TransportFailureCause(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsStatusMessage<D>::To() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsStatusMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsStatusMessage<D>::From() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsStatusMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsStatusMessage<D>::Body() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsStatusMessage<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsStatusMessage<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsStatusMessage<D>::Status() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsStatusMessage)->get_Status(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsStatusMessage<D>::MessageReferenceNumber() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsStatusMessage<D>::MessageReferenceNumber() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsStatusMessage)->get_MessageReferenceNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sms_ISmsStatusMessage<D>::ServiceCenterTimestamp() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsStatusMessage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sms_ISmsStatusMessage<D>::DischargeTime() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsStatusMessage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sms_ISmsTextMessage<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sms_ISmsTextMessage<D>::PartReferenceId() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage<D>::PartReferenceId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->get_PartReferenceId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sms_ISmsTextMessage<D>::PartNumber() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage<D>::PartNumber() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->get_PartNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Sms_ISmsTextMessage<D>::PartCount() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage<D>::PartCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->get_PartCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsTextMessage<D>::To() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage<D>::To(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage<D>::To(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->put_To(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsTextMessage<D>::From() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage<D>::From(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage<D>::From(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->put_From(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsTextMessage<D>::Body() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage<D>::Body(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage<D>::Body(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->put_Body(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncoding) consume_Windows_Devices_Sms_ISmsTextMessage<D>::Encoding() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage<D>::Encoding() const
{
winrt::Windows::Devices::Sms::SmsEncoding value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->get_Encoding(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage<D>::Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage<D>::Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->put_Encoding(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sms::ISmsBinaryMessage>) consume_Windows_Devices_Sms_ISmsTextMessage<D>::ToBinaryMessages(winrt::Windows::Devices::Sms::SmsDataFormat const& format) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage<D>::ToBinaryMessages(winrt::Windows::Devices::Sms::SmsDataFormat const& format) const
{
void* messages{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage)->ToBinaryMessages(static_cast<int32_t>(format), &messages));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sms::ISmsBinaryMessage>{ messages, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sms_ISmsTextMessage2<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsTextMessage2<D>::To() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage2<D>::To(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage2<D>::To(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->put_To(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsTextMessage2<D>::From() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsTextMessage2<D>::Body() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage2<D>::Body(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage2<D>::Body(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->put_Body(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsEncoding) consume_Windows_Devices_Sms_ISmsTextMessage2<D>::Encoding() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage2<D>::Encoding() const
{
winrt::Windows::Devices::Sms::SmsEncoding value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->get_Encoding(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage2<D>::Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage2<D>::Encoding(winrt::Windows::Devices::Sms::SmsEncoding const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->put_Encoding(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsTextMessage2<D>::CallbackNumber() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage2<D>::CallbackNumber(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage2<D>::CallbackNumber(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->put_CallbackNumber(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Sms_ISmsTextMessage2<D>::IsDeliveryNotificationEnabled() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage2<D>::IsDeliveryNotificationEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->get_IsDeliveryNotificationEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage2<D>::IsDeliveryNotificationEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage2<D>::IsDeliveryNotificationEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->put_IsDeliveryNotificationEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsTextMessage2<D>::RetryAttemptCount() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage2<D>::RetryAttemptCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->get_RetryAttemptCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Sms_ISmsTextMessage2<D>::RetryAttemptCount(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage2<D>::RetryAttemptCount(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->put_RetryAttemptCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsTextMessage2<D>::TeleserviceId() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage2<D>::TeleserviceId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->get_TeleserviceId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Sms_ISmsTextMessage2<D>::ProtocolId() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessage2<D>::ProtocolId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessage2)->get_ProtocolId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsTextMessage) consume_Windows_Devices_Sms_ISmsTextMessageStatics<D>::FromBinaryMessage(winrt::Windows::Devices::Sms::SmsBinaryMessage const& binaryMessage) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessageStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::SmsTextMessage) consume_Windows_Devices_Sms_ISmsTextMessageStatics<D>::FromBinaryData(winrt::Windows::Devices::Sms::SmsDataFormat const& format, array_view<uint8_t const> value) const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsTextMessageStatics<D>::FromBinaryData(winrt::Windows::Devices::Sms::SmsDataFormat const& format, array_view<uint8_t const> value) const
{
void* textMessage{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsTextMessageStatics)->FromBinaryData(static_cast<int32_t>(format), value.size(), get_abi(value), &textMessage));
return winrt::Windows::Devices::Sms::SmsTextMessage{ textMessage, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sms_ISmsVoicemailMessage<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsVoicemailMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsVoicemailMessage<D>::To() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsVoicemailMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsVoicemailMessage<D>::Body() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsVoicemailMessage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Devices_Sms_ISmsVoicemailMessage<D>::MessageCount() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsVoicemailMessage<D>::MessageCount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsVoicemailMessage)->get_MessageCount(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_Sms_ISmsWapMessage<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsWapMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsWapMessage<D>::To() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsWapMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsWapMessage<D>::From() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsWapMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsWapMessage<D>::ApplicationId() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsWapMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Sms_ISmsWapMessage<D>::ContentType() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsWapMessage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Sms_ISmsWapMessage<D>::BinaryBody() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsWapMessage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_Devices_Sms_ISmsWapMessage<D>::Headers() const
+ template <typename D> auto consume_Windows_Devices_Sms_ISmsWapMessage<D>::Headers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Sms::ISmsWapMessage)->get_Headers(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Spi.Provider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Spi.Provider.h
index 27d9f9cbaf0..b4f7593a9e1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Spi.Provider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::ChipSelectLine() const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::ChipSelectLine() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->get_ChipSelectLine(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::ChipSelectLine(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::ChipSelectLine(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->put_ChipSelectLine(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ProviderSpiMode) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::Mode() const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::Mode() const
{
winrt::Windows::Devices::Spi::Provider::ProviderSpiMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::Mode(winrt::Windows::Devices::Spi::Provider::ProviderSpiMode const& value) const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::DataBitLength() const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::DataBitLength() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->get_DataBitLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::DataBitLength(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::DataBitLength(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->put_DataBitLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::ClockFrequency() const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::ClockFrequency() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->get_ClockFrequency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::ClockFrequency(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::ClockFrequency(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->put_ClockFrequency(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ProviderSpiSharingMode) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::SharingMode() const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::SharingMode() const
{
winrt::Windows::Devices::Spi::Provider::ProviderSpiSharingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings)->get_SharingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::SharingMode(winrt::Windows::Devices::Spi::Provider::ProviderSpiSharingMode const& value) const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettings<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ProviderSpiConnectionSettings) consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettingsFactory<D>::Create(int32_t chipSelectLine) const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_IProviderSpiConnectionSettingsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ISpiDeviceProvider) consume_Windows_Devices_Spi_Provider_ISpiControllerProvider<D>::GetDeviceProvider(winrt::Windows::Devices::Spi::Provider::ProviderSpiConnectionSettings const& settings) const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_ISpiControllerProvider<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ProviderSpiConnectionSettings) consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider<D>::ConnectionSettings() const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider<D>::Write(array_view<uint8_t const> buffer) const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider<D>::Write(array_view<uint8_t const> buffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::ISpiDeviceProvider)->Write(buffer.size(), get_abi(buffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider<D>::Read(array_view<uint8_t> buffer) const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider<D>::Read(array_view<uint8_t> buffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::ISpiDeviceProvider)->Read(buffer.size(), put_abi(buffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider<D>::TransferSequential(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider<D>::TransferSequential(array_view<uint8_t const> writeBuffer, array_view<uint8_t> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider<D>::TransferFullDuplex(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_ISpiDeviceProvider<D>::TransferFullDuplex(array_view<uint8_t const> writeBuffer, array_view<uint8_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Spi::Provider::ISpiControllerProvider>>) consume_Windows_Devices_Spi_Provider_ISpiProvider<D>::GetControllersAsync() const
+ template <typename D> auto consume_Windows_Devices_Spi_Provider_ISpiProvider<D>::GetControllersAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::Provider::ISpiProvider)->GetControllersAsync(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Spi.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Spi.h
index b28f360c0d4..be598332584 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Spi.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_ISpiBusInfo<D>::ChipSelectLineCount() const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiBusInfo<D>::ChipSelectLineCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiBusInfo)->get_ChipSelectLineCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_ISpiBusInfo<D>::MinClockFrequency() const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiBusInfo<D>::MinClockFrequency() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiBusInfo)->get_MinClockFrequency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_ISpiBusInfo<D>::MaxClockFrequency() const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiBusInfo<D>::MaxClockFrequency() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiBusInfo)->get_MaxClockFrequency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int32_t>) consume_Windows_Devices_Spi_ISpiBusInfo<D>::SupportedDataBitLengths() const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiBusInfo<D>::SupportedDataBitLengths() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiBusInfo)->get_SupportedDataBitLengths(&value));
return winrt::Windows::Foundation::Collections::IVectorView<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::ChipSelectLine() const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::ChipSelectLine() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->get_ChipSelectLine(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::ChipSelectLine(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::ChipSelectLine(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->put_ChipSelectLine(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiMode) consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::Mode() const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::Mode() const
{
winrt::Windows::Devices::Spi::SpiMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::Mode(winrt::Windows::Devices::Spi::SpiMode const& value) const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::Mode(winrt::Windows::Devices::Spi::SpiMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->put_Mode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::DataBitLength() const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::DataBitLength() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->get_DataBitLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::DataBitLength(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::DataBitLength(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->put_DataBitLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::ClockFrequency() const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::ClockFrequency() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->get_ClockFrequency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::ClockFrequency(int32_t value) const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::ClockFrequency(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->put_ClockFrequency(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiSharingMode) consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::SharingMode() const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::SharingMode() const
{
winrt::Windows::Devices::Spi::SpiSharingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->get_SharingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::SharingMode(winrt::Windows::Devices::Spi::SpiSharingMode const& value) const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiConnectionSettings<D>::SharingMode(winrt::Windows::Devices::Spi::SpiSharingMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiConnectionSettings)->put_SharingMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiConnectionSettings) consume_Windows_Devices_Spi_ISpiConnectionSettingsFactory<D>::Create(int32_t chipSelectLine) const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiConnectionSettingsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiDevice) consume_Windows_Devices_Spi_ISpiController<D>::GetDevice(winrt::Windows::Devices::Spi::SpiConnectionSettings const& settings) const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Spi::SpiController>) consume_Windows_Devices_Spi_ISpiControllerStatics<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiControllerStatics<D>::GetDefaultAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiControllerStatics)->GetDefaultAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Spi::SpiController>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Spi::SpiController>>) consume_Windows_Devices_Spi_ISpiControllerStatics<D>::GetControllersAsync(winrt::Windows::Devices::Spi::Provider::ISpiProvider const& provider) const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiControllerStatics<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Spi::SpiController>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Spi_ISpiDevice<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiConnectionSettings) consume_Windows_Devices_Spi_ISpiDevice<D>::ConnectionSettings() const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiDevice<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiDevice<D>::Write(array_view<uint8_t const> buffer) const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiDevice<D>::Write(array_view<uint8_t const> buffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiDevice)->Write(buffer.size(), get_abi(buffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiDevice<D>::Read(array_view<uint8_t> buffer) const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiDevice<D>::Read(array_view<uint8_t> buffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiDevice)->Read(buffer.size(), put_abi(buffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiDevice<D>::TransferSequential(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiDevice<D>::TransferSequential(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiDevice)->TransferSequential(writeBuffer.size(), get_abi(writeBuffer), readBuffer.size(), put_abi(readBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Spi_ISpiDevice<D>::TransferFullDuplex(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiDevice<D>::TransferFullDuplex(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiDevice)->TransferFullDuplex(writeBuffer.size(), get_abi(writeBuffer), readBuffer.size(), put_abi(readBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Spi_ISpiDeviceStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiDeviceStatics<D>::GetDeviceSelector() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Spi::ISpiDeviceStatics)->GetDeviceSelector(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Spi_ISpiDeviceStatics<D>::GetDeviceSelector(param::hstring const& friendlyName) const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::SpiBusInfo) consume_Windows_Devices_Spi_ISpiDeviceStatics<D>::GetBusInfo(param::hstring const& busId) const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Spi::SpiDevice>) consume_Windows_Devices_Spi_ISpiDeviceStatics<D>::FromIdAsync(param::hstring const& busId, winrt::Windows::Devices::Spi::SpiConnectionSettings const& settings) const
+ template <typename D> auto consume_Windows_Devices_Spi_ISpiDeviceStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Usb.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Usb.h
index d44e4fe9e31..6f056554700 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.Usb.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbBulkInEndpointDescriptor<D>::MaxPacketSize() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkInEndpointDescriptor<D>::MaxPacketSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkInEndpointDescriptor)->get_MaxPacketSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbBulkInEndpointDescriptor<D>::EndpointNumber() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkInEndpointDescriptor<D>::EndpointNumber() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkInEndpointDescriptor)->get_EndpointNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkInPipe) consume_Windows_Devices_Usb_IUsbBulkInEndpointDescriptor<D>::Pipe() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkInEndpointDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbBulkInPipe<D>::MaxTransferSizeBytes() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkInPipe<D>::MaxTransferSizeBytes() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkInPipe)->get_MaxTransferSizeBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkInEndpointDescriptor) consume_Windows_Devices_Usb_IUsbBulkInPipe<D>::EndpointDescriptor() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkInPipe<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Usb_IUsbBulkInPipe<D>::ClearStallAsync() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkInPipe<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbBulkInPipe<D>::ReadOptions(winrt::Windows::Devices::Usb::UsbReadOptions const& value) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkInPipe<D>::ReadOptions(winrt::Windows::Devices::Usb::UsbReadOptions const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkInPipe)->put_ReadOptions(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbReadOptions) consume_Windows_Devices_Usb_IUsbBulkInPipe<D>::ReadOptions() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkInPipe<D>::ReadOptions() const
{
winrt::Windows::Devices::Usb::UsbReadOptions value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkInPipe)->get_ReadOptions(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbBulkInPipe<D>::FlushBuffer() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkInPipe<D>::FlushBuffer() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkInPipe)->FlushBuffer());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Devices_Usb_IUsbBulkInPipe<D>::InputStream() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkInPipe<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbBulkOutEndpointDescriptor<D>::MaxPacketSize() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkOutEndpointDescriptor<D>::MaxPacketSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkOutEndpointDescriptor)->get_MaxPacketSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbBulkOutEndpointDescriptor<D>::EndpointNumber() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkOutEndpointDescriptor<D>::EndpointNumber() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkOutEndpointDescriptor)->get_EndpointNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkOutPipe) consume_Windows_Devices_Usb_IUsbBulkOutEndpointDescriptor<D>::Pipe() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkOutEndpointDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor) consume_Windows_Devices_Usb_IUsbBulkOutPipe<D>::EndpointDescriptor() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkOutPipe<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Usb_IUsbBulkOutPipe<D>::ClearStallAsync() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkOutPipe<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbBulkOutPipe<D>::WriteOptions(winrt::Windows::Devices::Usb::UsbWriteOptions const& value) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkOutPipe<D>::WriteOptions(winrt::Windows::Devices::Usb::UsbWriteOptions const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkOutPipe)->put_WriteOptions(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbWriteOptions) consume_Windows_Devices_Usb_IUsbBulkOutPipe<D>::WriteOptions() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkOutPipe<D>::WriteOptions() const
{
winrt::Windows::Devices::Usb::UsbWriteOptions value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbBulkOutPipe)->get_WriteOptions(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Devices_Usb_IUsbBulkOutPipe<D>::OutputStream() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbBulkOutPipe<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterface>) consume_Windows_Devices_Usb_IUsbConfiguration<D>::UsbInterfaces() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbConfiguration<D>::UsbInterfaces() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbConfiguration)->get_UsbInterfaces(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterface>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbConfigurationDescriptor) consume_Windows_Devices_Usb_IUsbConfiguration<D>::ConfigurationDescriptor() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbDescriptor>) consume_Windows_Devices_Usb_IUsbConfiguration<D>::Descriptors() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbConfiguration<D>::Descriptors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbConfiguration)->get_Descriptors(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbDescriptor>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbConfigurationDescriptor<D>::ConfigurationValue() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbConfigurationDescriptor<D>::ConfigurationValue() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbConfigurationDescriptor)->get_ConfigurationValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbConfigurationDescriptor<D>::MaxPowerMilliamps() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbConfigurationDescriptor<D>::MaxPowerMilliamps() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbConfigurationDescriptor)->get_MaxPowerMilliamps(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Usb_IUsbConfigurationDescriptor<D>::SelfPowered() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbConfigurationDescriptor<D>::SelfPowered() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbConfigurationDescriptor)->get_SelfPowered(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Usb_IUsbConfigurationDescriptor<D>::RemoteWakeup() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbConfigurationDescriptor<D>::RemoteWakeup() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbConfigurationDescriptor)->get_RemoteWakeup(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Usb_IUsbConfigurationDescriptorStatics<D>::TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbConfigurationDescriptor& parsed) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbConfigurationDescriptorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbConfigurationDescriptor) consume_Windows_Devices_Usb_IUsbConfigurationDescriptorStatics<D>::Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbConfigurationDescriptorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbTransferDirection) consume_Windows_Devices_Usb_IUsbControlRequestType<D>::Direction() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbControlRequestType<D>::Direction() const
{
winrt::Windows::Devices::Usb::UsbTransferDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbControlRequestType)->get_Direction(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbControlRequestType<D>::Direction(winrt::Windows::Devices::Usb::UsbTransferDirection const& value) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbControlRequestType<D>::Direction(winrt::Windows::Devices::Usb::UsbTransferDirection const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbControlRequestType)->put_Direction(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbControlTransferType) consume_Windows_Devices_Usb_IUsbControlRequestType<D>::ControlTransferType() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbControlRequestType<D>::ControlTransferType() const
{
winrt::Windows::Devices::Usb::UsbControlTransferType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbControlRequestType)->get_ControlTransferType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbControlRequestType<D>::ControlTransferType(winrt::Windows::Devices::Usb::UsbControlTransferType const& value) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbControlRequestType<D>::ControlTransferType(winrt::Windows::Devices::Usb::UsbControlTransferType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbControlRequestType)->put_ControlTransferType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbControlRecipient) consume_Windows_Devices_Usb_IUsbControlRequestType<D>::Recipient() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbControlRequestType<D>::Recipient() const
{
winrt::Windows::Devices::Usb::UsbControlRecipient value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbControlRequestType)->get_Recipient(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbControlRequestType<D>::Recipient(winrt::Windows::Devices::Usb::UsbControlRecipient const& value) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbControlRequestType<D>::Recipient(winrt::Windows::Devices::Usb::UsbControlRecipient const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbControlRequestType)->put_Recipient(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbControlRequestType<D>::AsByte() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbControlRequestType<D>::AsByte() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbControlRequestType)->get_AsByte(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbControlRequestType<D>::AsByte(uint8_t value) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbControlRequestType<D>::AsByte(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbControlRequestType)->put_AsByte(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbDescriptor<D>::Length() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDescriptor<D>::Length() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDescriptor)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbDescriptor<D>::DescriptorType() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDescriptor<D>::DescriptorType() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDescriptor)->get_DescriptorType(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbDescriptor<D>::ReadDescriptorBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDescriptor<D>::ReadDescriptorBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDescriptor)->ReadDescriptorBuffer(*(void**)(&buffer)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) consume_Windows_Devices_Usb_IUsbDevice<D>::SendControlOutTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket, winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDevice<D>::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<uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) consume_Windows_Devices_Usb_IUsbDevice<D>::SendControlOutTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDevice<D>::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<uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Devices_Usb_IUsbDevice<D>::SendControlInTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket, winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDevice<D>::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<winrt::Windows::Storage::Streams::IBuffer>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Devices_Usb_IUsbDevice<D>::SendControlInTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDevice<D>::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<winrt::Windows::Storage::Streams::IBuffer>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterface) consume_Windows_Devices_Usb_IUsbDevice<D>::DefaultInterface() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceDescriptor) consume_Windows_Devices_Usb_IUsbDevice<D>::DeviceDescriptor() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbConfiguration) consume_Windows_Devices_Usb_IUsbDevice<D>::Configuration() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDevice<D>::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 <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbDeviceClass<D>::ClassCode() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceClass<D>::ClassCode() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClass)->get_ClassCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbDeviceClass<D>::ClassCode(uint8_t value) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceClass<D>::ClassCode(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClass)->put_ClassCode(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint8_t>) consume_Windows_Devices_Usb_IUsbDeviceClass<D>::SubclassCode() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceClass<D>::SubclassCode() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClass)->get_SubclassCode(&value));
return winrt::Windows::Foundation::IReference<uint8_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbDeviceClass<D>::SubclassCode(winrt::Windows::Foundation::IReference<uint8_t> const& value) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceClass<D>::SubclassCode(winrt::Windows::Foundation::IReference<uint8_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClass)->put_SubclassCode(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint8_t>) consume_Windows_Devices_Usb_IUsbDeviceClass<D>::ProtocolCode() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceClass<D>::ProtocolCode() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClass)->get_ProtocolCode(&value));
return winrt::Windows::Foundation::IReference<uint8_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbDeviceClass<D>::ProtocolCode(winrt::Windows::Foundation::IReference<uint8_t> const& value) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceClass<D>::ProtocolCode(winrt::Windows::Foundation::IReference<uint8_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceClass)->put_ProtocolCode(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::CdcControl() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::Physical() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::PersonalHealthcare() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::ActiveSync() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::PalmSync() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::DeviceFirmwareUpdate() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::Irda() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::Measurement() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbDeviceClass) consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::VendorSpecific() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceClassesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbDeviceDescriptor<D>::BcdUsb() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceDescriptor<D>::BcdUsb() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceDescriptor)->get_BcdUsb(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbDeviceDescriptor<D>::MaxPacketSize0() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceDescriptor<D>::MaxPacketSize0() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceDescriptor)->get_MaxPacketSize0(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbDeviceDescriptor<D>::VendorId() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceDescriptor<D>::VendorId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceDescriptor)->get_VendorId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbDeviceDescriptor<D>::ProductId() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceDescriptor<D>::ProductId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceDescriptor)->get_ProductId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbDeviceDescriptor<D>::BcdDeviceRevision() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceDescriptor<D>::BcdDeviceRevision() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceDescriptor)->get_BcdDeviceRevision(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbDeviceDescriptor<D>::NumberOfConfigurations() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceDescriptor<D>::NumberOfConfigurations() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbDeviceDescriptor)->get_NumberOfConfigurations(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Usb_IUsbDeviceStatics<D>::GetDeviceSelector(uint32_t vendorId, uint32_t productId, winrt::guid const& winUsbInterfaceClass) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Usb_IUsbDeviceStatics<D>::GetDeviceSelector(winrt::guid const& winUsbInterfaceClass) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Usb_IUsbDeviceStatics<D>::GetDeviceSelector(uint32_t vendorId, uint32_t productId) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_Usb_IUsbDeviceStatics<D>::GetDeviceClassSelector(winrt::Windows::Devices::Usb::UsbDeviceClass const& usbClass) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Usb::UsbDevice>) consume_Windows_Devices_Usb_IUsbDeviceStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbDeviceStatics<D>::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<winrt::Windows::Devices::Usb::UsbDevice>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbEndpointDescriptor<D>::EndpointNumber() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbEndpointDescriptor<D>::EndpointNumber() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbEndpointDescriptor)->get_EndpointNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbTransferDirection) consume_Windows_Devices_Usb_IUsbEndpointDescriptor<D>::Direction() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbEndpointDescriptor<D>::Direction() const
{
winrt::Windows::Devices::Usb::UsbTransferDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbEndpointDescriptor)->get_Direction(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbEndpointType) consume_Windows_Devices_Usb_IUsbEndpointDescriptor<D>::EndpointType() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbEndpointDescriptor<D>::EndpointType() const
{
winrt::Windows::Devices::Usb::UsbEndpointType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbEndpointDescriptor)->get_EndpointType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkInEndpointDescriptor) consume_Windows_Devices_Usb_IUsbEndpointDescriptor<D>::AsBulkInEndpointDescriptor() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbEndpointDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor) consume_Windows_Devices_Usb_IUsbEndpointDescriptor<D>::AsInterruptInEndpointDescriptor() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbEndpointDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor) consume_Windows_Devices_Usb_IUsbEndpointDescriptor<D>::AsBulkOutEndpointDescriptor() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbEndpointDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor) consume_Windows_Devices_Usb_IUsbEndpointDescriptor<D>::AsInterruptOutEndpointDescriptor() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbEndpointDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Usb_IUsbEndpointDescriptorStatics<D>::TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbEndpointDescriptor& parsed) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbEndpointDescriptorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbEndpointDescriptor) consume_Windows_Devices_Usb_IUsbEndpointDescriptorStatics<D>::Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbEndpointDescriptorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbBulkInPipe>) consume_Windows_Devices_Usb_IUsbInterface<D>::BulkInPipes() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterface<D>::BulkInPipes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterface)->get_BulkInPipes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbBulkInPipe>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterruptInPipe>) consume_Windows_Devices_Usb_IUsbInterface<D>::InterruptInPipes() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterface<D>::InterruptInPipes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterface)->get_InterruptInPipes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterruptInPipe>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbBulkOutPipe>) consume_Windows_Devices_Usb_IUsbInterface<D>::BulkOutPipes() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterface<D>::BulkOutPipes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterface)->get_BulkOutPipes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbBulkOutPipe>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterruptOutPipe>) consume_Windows_Devices_Usb_IUsbInterface<D>::InterruptOutPipes() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterface<D>::InterruptOutPipes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterface)->get_InterruptOutPipes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterruptOutPipe>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterfaceSetting>) consume_Windows_Devices_Usb_IUsbInterface<D>::InterfaceSettings() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterface<D>::InterfaceSettings() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterface)->get_InterfaceSettings(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterfaceSetting>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbInterface<D>::InterfaceNumber() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterface<D>::InterfaceNumber() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterface)->get_InterfaceNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbDescriptor>) consume_Windows_Devices_Usb_IUsbInterface<D>::Descriptors() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterface<D>::Descriptors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterface)->get_Descriptors(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbDescriptor>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbInterfaceDescriptor<D>::ClassCode() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterfaceDescriptor<D>::ClassCode() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceDescriptor)->get_ClassCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbInterfaceDescriptor<D>::SubclassCode() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterfaceDescriptor<D>::SubclassCode() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceDescriptor)->get_SubclassCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbInterfaceDescriptor<D>::ProtocolCode() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterfaceDescriptor<D>::ProtocolCode() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceDescriptor)->get_ProtocolCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbInterfaceDescriptor<D>::AlternateSettingNumber() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterfaceDescriptor<D>::AlternateSettingNumber() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceDescriptor)->get_AlternateSettingNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbInterfaceDescriptor<D>::InterfaceNumber() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterfaceDescriptor<D>::InterfaceNumber() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceDescriptor)->get_InterfaceNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Usb_IUsbInterfaceDescriptorStatics<D>::TryParse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor, winrt::Windows::Devices::Usb::UsbInterfaceDescriptor& parsed) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterfaceDescriptorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterfaceDescriptor) consume_Windows_Devices_Usb_IUsbInterfaceDescriptorStatics<D>::Parse(winrt::Windows::Devices::Usb::UsbDescriptor const& descriptor) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterfaceDescriptorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbBulkInEndpointDescriptor>) consume_Windows_Devices_Usb_IUsbInterfaceSetting<D>::BulkInEndpoints() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterfaceSetting<D>::BulkInEndpoints() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceSetting)->get_BulkInEndpoints(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbBulkInEndpointDescriptor>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor>) consume_Windows_Devices_Usb_IUsbInterfaceSetting<D>::InterruptInEndpoints() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterfaceSetting<D>::InterruptInEndpoints() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceSetting)->get_InterruptInEndpoints(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor>) consume_Windows_Devices_Usb_IUsbInterfaceSetting<D>::BulkOutEndpoints() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterfaceSetting<D>::BulkOutEndpoints() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceSetting)->get_BulkOutEndpoints(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor>) consume_Windows_Devices_Usb_IUsbInterfaceSetting<D>::InterruptOutEndpoints() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterfaceSetting<D>::InterruptOutEndpoints() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceSetting)->get_InterruptOutEndpoints(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_Usb_IUsbInterfaceSetting<D>::Selected() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterfaceSetting<D>::Selected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceSetting)->get_Selected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Usb_IUsbInterfaceSetting<D>::SelectSettingAsync() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterfaceSetting<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterfaceDescriptor) consume_Windows_Devices_Usb_IUsbInterfaceSetting<D>::InterfaceDescriptor() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterfaceSetting<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbDescriptor>) consume_Windows_Devices_Usb_IUsbInterfaceSetting<D>::Descriptors() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterfaceSetting<D>::Descriptors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterfaceSetting)->get_Descriptors(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbDescriptor>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor<D>::MaxPacketSize() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor<D>::MaxPacketSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptInEndpointDescriptor)->get_MaxPacketSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor<D>::EndpointNumber() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor<D>::EndpointNumber() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptInEndpointDescriptor)->get_EndpointNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor<D>::Interval() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptInPipe) consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor<D>::Pipe() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptInEndpointDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_Usb_IUsbInterruptInEventArgs<D>::InterruptData() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptInEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor) consume_Windows_Devices_Usb_IUsbInterruptInPipe<D>::EndpointDescriptor() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptInPipe<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Usb_IUsbInterruptInPipe<D>::ClearStallAsync() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptInPipe<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_Usb_IUsbInterruptInPipe<D>::DataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Usb::UsbInterruptInPipe, winrt::Windows::Devices::Usb::UsbInterruptInEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptInPipe<D>::DataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Usb::UsbInterruptInPipe, winrt::Windows::Devices::Usb::UsbInterruptInEventArgs> 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 D> typename consume_Windows_Devices_Usb_IUsbInterruptInPipe<D>::DataReceived_revoker consume_Windows_Devices_Usb_IUsbInterruptInPipe<D>::DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Usb::UsbInterruptInPipe, winrt::Windows::Devices::Usb::UsbInterruptInEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptInPipe<D>::DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Usb::UsbInterruptInPipe, winrt::Windows::Devices::Usb::UsbInterruptInEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DataReceived_revoker>(this, DataReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbInterruptInPipe<D>::DataReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptInPipe<D>::DataReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptInPipe)->remove_DataReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor<D>::MaxPacketSize() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor<D>::MaxPacketSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptOutEndpointDescriptor)->get_MaxPacketSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor<D>::EndpointNumber() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor<D>::EndpointNumber() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptOutEndpointDescriptor)->get_EndpointNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor<D>::Interval() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptOutPipe) consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor<D>::Pipe() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptOutEndpointDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor) consume_Windows_Devices_Usb_IUsbInterruptOutPipe<D>::EndpointDescriptor() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptOutPipe<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_Usb_IUsbInterruptOutPipe<D>::ClearStallAsync() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptOutPipe<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbInterruptOutPipe<D>::WriteOptions(winrt::Windows::Devices::Usb::UsbWriteOptions const& value) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptOutPipe<D>::WriteOptions(winrt::Windows::Devices::Usb::UsbWriteOptions const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptOutPipe)->put_WriteOptions(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbWriteOptions) consume_Windows_Devices_Usb_IUsbInterruptOutPipe<D>::WriteOptions() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptOutPipe<D>::WriteOptions() const
{
winrt::Windows::Devices::Usb::UsbWriteOptions value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbInterruptOutPipe)->get_WriteOptions(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Devices_Usb_IUsbInterruptOutPipe<D>::OutputStream() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbInterruptOutPipe<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbControlRequestType) consume_Windows_Devices_Usb_IUsbSetupPacket<D>::RequestType() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbSetupPacket<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbSetupPacket<D>::RequestType(winrt::Windows::Devices::Usb::UsbControlRequestType const& value) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbSetupPacket<D>::RequestType(winrt::Windows::Devices::Usb::UsbControlRequestType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->put_RequestType(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_Usb_IUsbSetupPacket<D>::Request() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbSetupPacket<D>::Request() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->get_Request(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbSetupPacket<D>::Request(uint8_t value) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbSetupPacket<D>::Request(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->put_Request(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbSetupPacket<D>::Value() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbSetupPacket<D>::Value() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->get_Value(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbSetupPacket<D>::Value(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbSetupPacket<D>::Value(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->put_Value(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbSetupPacket<D>::Index() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbSetupPacket<D>::Index() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->get_Index(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbSetupPacket<D>::Index(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbSetupPacket<D>::Index(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->put_Index(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_Usb_IUsbSetupPacket<D>::Length() const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbSetupPacket<D>::Length() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_Usb_IUsbSetupPacket<D>::Length(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbSetupPacket<D>::Length(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::Usb::IUsbSetupPacket)->put_Length(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbSetupPacket) consume_Windows_Devices_Usb_IUsbSetupPacketFactory<D>::CreateWithEightByteBuffer(winrt::Windows::Storage::Streams::IBuffer const& eightByteBuffer) const
+ template <typename D> auto consume_Windows_Devices_Usb_IUsbSetupPacketFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFi.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFi.h
index 4447c849ddc..766a2f6e8f0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFi.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAdapter) consume_Windows_Devices_WiFi_IWiFiAdapter<D>::NetworkAdapter() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAdapter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_WiFi_IWiFiAdapter<D>::ScanAsync() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAdapter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFi::WiFiNetworkReport) consume_Windows_Devices_WiFi_IWiFiAdapter<D>::NetworkReport() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAdapter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFi_IWiFiAdapter<D>::AvailableNetworksChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFi::WiFiAdapter, winrt::Windows::Foundation::IInspectable> const& args) const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAdapter<D>::AvailableNetworksChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFi::WiFiAdapter, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_WiFi_IWiFiAdapter<D>::AvailableNetworksChanged_revoker consume_Windows_Devices_WiFi_IWiFiAdapter<D>::AvailableNetworksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFi::WiFiAdapter, winrt::Windows::Foundation::IInspectable> const& args) const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAdapter<D>::AvailableNetworksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFi::WiFiAdapter, winrt::Windows::Foundation::IInspectable> const& args) const
{
return impl::make_event_revoker<D, AvailableNetworksChanged_revoker>(this, AvailableNetworksChanged(args));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFi_IWiFiAdapter<D>::AvailableNetworksChanged(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAdapter<D>::AvailableNetworksChanged(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapter)->remove_AvailableNetworksChanged(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiConnectionResult>) consume_Windows_Devices_WiFi_IWiFiAdapter<D>::ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind) const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAdapter<D>::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<int32_t>(reconnectionKind), &value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiConnectionResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiConnectionResult>) consume_Windows_Devices_WiFi_IWiFiAdapter<D>::ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAdapter<D>::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<int32_t>(reconnectionKind), *(void**)(&passwordCredential), &value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiConnectionResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiConnectionResult>) consume_Windows_Devices_WiFi_IWiFiAdapter<D>::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 <typename D> auto consume_Windows_Devices_WiFi_IWiFiAdapter<D>::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<int32_t>(reconnectionKind), *(void**)(&passwordCredential), *(void**)(&ssid), &value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiConnectionResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFi_IWiFiAdapter<D>::Disconnect() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAdapter<D>::Disconnect() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapter)->Disconnect());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiWpsConfigurationResult>) consume_Windows_Devices_WiFi_IWiFiAdapter2<D>::GetWpsConfigurationAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork) const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAdapter2<D>::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<winrt::Windows::Devices::WiFi::WiFiWpsConfigurationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiConnectionResult>) consume_Windows_Devices_WiFi_IWiFiAdapter2<D>::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 <typename D> auto consume_Windows_Devices_WiFi_IWiFiAdapter2<D>::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<int32_t>(reconnectionKind), *(void**)(&passwordCredential), *(void**)(&ssid), static_cast<int32_t>(connectionMethod), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiConnectionResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::WiFi::WiFiAdapter>>) consume_Windows_Devices_WiFi_IWiFiAdapterStatics<D>::FindAllAdaptersAsync() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAdapterStatics<D>::FindAllAdaptersAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapterStatics)->FindAllAdaptersAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::WiFi::WiFiAdapter>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFi_IWiFiAdapterStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAdapterStatics<D>::GetDeviceSelector() const
{
void* deviceSelector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapterStatics)->GetDeviceSelector(&deviceSelector));
return hstring{ deviceSelector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiAdapter>) consume_Windows_Devices_WiFi_IWiFiAdapterStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAdapterStatics<D>::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<winrt::Windows::Devices::WiFi::WiFiAdapter>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiAccessStatus>) consume_Windows_Devices_WiFi_IWiFiAdapterStatics<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAdapterStatics<D>::RequestAccessAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAdapterStatics)->RequestAccessAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiAccessStatus>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::Uptime() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::Ssid() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::Bssid() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::ChannelCenterFrequencyInKilohertz() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::ChannelCenterFrequencyInKilohertz() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork)->get_ChannelCenterFrequencyInKilohertz(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::NetworkRssiInDecibelMilliwatts() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::NetworkRssiInDecibelMilliwatts() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork)->get_NetworkRssiInDecibelMilliwatts(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::SignalBars() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::SignalBars() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork)->get_SignalBars(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFi::WiFiNetworkKind) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::NetworkKind() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::NetworkKind() const
{
winrt::Windows::Devices::WiFi::WiFiNetworkKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork)->get_NetworkKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFi::WiFiPhyKind) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::PhyKind() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::PhyKind() const
{
winrt::Windows::Devices::WiFi::WiFiPhyKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork)->get_PhyKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkSecuritySettings) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::SecuritySettings() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::BeaconInterval() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::IsWiFiDirect() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiAvailableNetwork<D>::IsWiFiDirect() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork)->get_IsWiFiDirect(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFi::WiFiConnectionStatus) consume_Windows_Devices_WiFi_IWiFiConnectionResult<D>::ConnectionStatus() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiConnectionResult<D>::ConnectionStatus() const
{
winrt::Windows::Devices::WiFi::WiFiConnectionStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiConnectionResult)->get_ConnectionStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Devices_WiFi_IWiFiNetworkReport<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiNetworkReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::WiFi::WiFiAvailableNetwork>) consume_Windows_Devices_WiFi_IWiFiNetworkReport<D>::AvailableNetworks() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiNetworkReport<D>::AvailableNetworks() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiNetworkReport)->get_AvailableNetworks(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::WiFi::WiFiAvailableNetwork>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFi::WiFiWpsConfigurationStatus) consume_Windows_Devices_WiFi_IWiFiWpsConfigurationResult<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiWpsConfigurationResult<D>::Status() const
{
winrt::Windows::Devices::WiFi::WiFiWpsConfigurationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiWpsConfigurationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::WiFi::WiFiWpsKind>) consume_Windows_Devices_WiFi_IWiFiWpsConfigurationResult<D>::SupportedWpsKinds() const
+ template <typename D> auto consume_Windows_Devices_WiFi_IWiFiWpsConfigurationResult<D>::SupportedWpsKinds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFi::IWiFiWpsConfigurationResult)->get_SupportedWpsKinds(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFiDirect.Services.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFiDirect.Services.h
index eff24de41dd..d34c22229f5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFiDirect.Services.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::RemoteServiceInfo() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod>) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::SupportedConfigurationMethods() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::SupportedConfigurationMethods() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->get_SupportedConfigurationMethods(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::PreferGroupOwnerMode() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::PreferGroupOwnerMode() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->get_PreferGroupOwnerMode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::PreferGroupOwnerMode(bool value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::PreferGroupOwnerMode(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->put_PreferGroupOwnerMode(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::SessionInfo() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::SessionInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceError) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::ServiceError() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::ServiceError() const
{
winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->get_ServiceError(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::SessionDeferred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectService, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionDeferredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::SessionDeferred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectService, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionDeferredEventArgs> 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 D> typename consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::SessionDeferred_revoker consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::SessionDeferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectService, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionDeferredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::SessionDeferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectService, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionDeferredEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SessionDeferred_revoker>(this, SessionDeferred(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::SessionDeferred(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::SessionDeferred(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->remove_SessionDeferred(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceProvisioningInfo>) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::GetProvisioningInfoAsync(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod const& selectedConfigurationMethod) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::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<int32_t>(selectedConfigurationMethod), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceProvisioningInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession>) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::ConnectAsync() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::ConnectAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService)->ConnectAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession>) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::ConnectAsync(param::hstring const& pin) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectService<D>::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<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::ServiceName() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::ServiceNamePrefixes() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::ServiceNamePrefixes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_ServiceNamePrefixes(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::ServiceInfo() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::ServiceInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AutoAcceptSession() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AutoAcceptSession() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_AutoAcceptSession(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AutoAcceptSession(bool value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AutoAcceptSession(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->put_AutoAcceptSession(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::PreferGroupOwnerMode() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::PreferGroupOwnerMode() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_PreferGroupOwnerMode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::PreferGroupOwnerMode(bool value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::PreferGroupOwnerMode(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->put_PreferGroupOwnerMode(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod>) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::PreferredConfigurationMethods() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::PreferredConfigurationMethods() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_PreferredConfigurationMethods(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceStatus) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::ServiceStatus() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::ServiceStatus() const
{
winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_ServiceStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::ServiceStatus(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceStatus const& value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::CustomServiceStatusCode() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::CustomServiceStatusCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_CustomServiceStatusCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::CustomServiceStatusCode(uint32_t value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::CustomServiceStatusCode(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->put_CustomServiceStatusCode(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::DeferredSessionInfo() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::DeferredSessionInfo(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertisementStatus) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AdvertisementStatus() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AdvertisementStatus() const
{
winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertisementStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_AdvertisementStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceError) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::ServiceError() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::ServiceError() const
{
winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->get_ServiceError(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::SessionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::SessionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionRequestedEventArgs> 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 D> typename consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::SessionRequested_revoker consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::SessionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::SessionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SessionRequested_revoker>(this, SessionRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::SessionRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::SessionRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->remove_SessionRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AutoAcceptSessionConnected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAutoAcceptSessionConnectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AutoAcceptSessionConnected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAutoAcceptSessionConnectedEventArgs> 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 D> typename consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AutoAcceptSessionConnected_revoker consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AutoAcceptSessionConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAutoAcceptSessionConnectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AutoAcceptSessionConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAutoAcceptSessionConnectedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AutoAcceptSessionConnected_revoker>(this, AutoAcceptSessionConnected(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AutoAcceptSessionConnected(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AutoAcceptSessionConnected(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->remove_AutoAcceptSessionConnected(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AdvertisementStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AdvertisementStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AdvertisementStatusChanged_revoker consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AdvertisementStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AdvertisementStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, AdvertisementStatusChanged_revoker>(this, AdvertisementStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AdvertisementStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::AdvertisementStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->remove_AdvertisementStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession>) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::ConnectAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInfo) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::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<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession>) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::ConnectAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInfo, param::hstring const& pin) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::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<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiserFactory<D>::CreateWiFiDirectServiceAdvertiser(param::hstring const& serviceName) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiserFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs<D>::Session() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs<D>::SessionInfo() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceProvisioningInfo<D>::SelectedConfigurationMethod() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceProvisioningInfo<D>::SelectedConfigurationMethod() const
{
winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceProvisioningInfo)->get_SelectedConfigurationMethod(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceProvisioningInfo<D>::IsGroupFormationNeeded() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceProvisioningInfo<D>::IsGroupFormationNeeded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceProvisioningInfo)->get_IsGroupFormationNeeded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceRemotePortAddedEventArgs<D>::EndpointPairs() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceRemotePortAddedEventArgs<D>::EndpointPairs() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceRemotePortAddedEventArgs)->get_EndpointPairs(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceIPProtocol) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceRemotePortAddedEventArgs<D>::Protocol() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceRemotePortAddedEventArgs<D>::Protocol() const
{
winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceIPProtocol value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceRemotePortAddedEventArgs)->get_Protocol(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::ServiceName() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionStatus) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::Status() const
{
winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionErrorStatus) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::ErrorStatus() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::ErrorStatus() const
{
winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionErrorStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->get_ErrorStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::SessionId() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::SessionId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->get_SessionId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::AdvertisementId() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::AdvertisementId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->get_AdvertisementId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::ServiceAddress() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::SessionAddress() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::GetConnectionEndpointPairs() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::GetConnectionEndpointPairs() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->GetConnectionEndpointPairs(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::SessionStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::SessionStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::SessionStatusChanged_revoker consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::SessionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::SessionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SessionStatusChanged_revoker>(this, SessionStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::SessionStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::SessionStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->remove_SessionStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::AddStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::AddDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::RemotePortAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceRemotePortAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::RemotePortAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceRemotePortAddedEventArgs> 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 D> typename consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::RemotePortAdded_revoker consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::RemotePortAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceRemotePortAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::RemotePortAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceRemotePortAddedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RemotePortAdded_revoker>(this, RemotePortAdded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::RemotePortAdded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSession<D>::RemotePortAdded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession)->remove_RemotePortAdded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionDeferredEventArgs<D>::DeferredSessionInfo() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionDeferredEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequest<D>::DeviceInformation() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceProvisioningInfo) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequest<D>::ProvisioningInfo() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequest<D>::SessionInfo() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionRequest) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequestedEventArgs<D>::GetSessionRequest() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceStatics<D>::GetSelector(param::hstring const& serviceName) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceStatics<D>::GetSelector(param::hstring const& serviceName, winrt::Windows::Storage::Streams::IBuffer const& serviceInfoFilter) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectService>) consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFiDirect.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFiDirect.h
index cd43e46f092..6ef0f307099 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFiDirect.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::WiFiDirect::WiFiDirectInformationElement>) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement<D>::InformationElements() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement<D>::InformationElements() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement)->get_InformationElements(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::WiFiDirect::WiFiDirectInformationElement>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement<D>::InformationElements(param::vector<winrt::Windows::Devices::WiFiDirect::WiFiDirectInformationElement> const& value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement<D>::InformationElements(param::vector<winrt::Windows::Devices::WiFiDirect::WiFiDirectInformationElement> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement)->put_InformationElements(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementListenStateDiscoverability) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement<D>::ListenStateDiscoverability() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement<D>::ListenStateDiscoverability() const
{
winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementListenStateDiscoverability value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement)->get_ListenStateDiscoverability(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement<D>::ListenStateDiscoverability(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementListenStateDiscoverability const& value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement<D>::ListenStateDiscoverability(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementListenStateDiscoverability const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement)->put_ListenStateDiscoverability(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement<D>::IsAutonomousGroupOwnerEnabled() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement<D>::IsAutonomousGroupOwnerEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement)->get_IsAutonomousGroupOwnerEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement<D>::IsAutonomousGroupOwnerEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement<D>::IsAutonomousGroupOwnerEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement)->put_IsAutonomousGroupOwnerEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectLegacySettings) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement<D>::LegacySettings() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::WiFiDirect::WiFiDirectConfigurationMethod>) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement2<D>::SupportedConfigurationMethods() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement2<D>::SupportedConfigurationMethods() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement2)->get_SupportedConfigurationMethods(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::WiFiDirect::WiFiDirectConfigurationMethod>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisement) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher<D>::Advertisement() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatus) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher<D>::Status() const
{
winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisher)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher<D>::StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisher, winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher<D>::StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisher, winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatusChangedEventArgs> 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 D> typename consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher<D>::StatusChanged_revoker consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher<D>::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisher, winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher<D>::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisher, winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatusChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StatusChanged_revoker>(this, StatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher<D>::StatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher<D>::StatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisher)->remove_StatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher<D>::Start() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher<D>::Stop() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatus) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisherStatusChangedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisherStatusChangedEventArgs<D>::Status() const
{
winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisherStatusChangedEventArgs)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectError) consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisherStatusChangedEventArgs<D>::Error() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisementPublisherStatusChangedEventArgs<D>::Error() const
{
winrt::Windows::Devices::WiFiDirect::WiFiDirectError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisherStatusChangedEventArgs)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener<D>::ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionListener, winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener<D>::ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionListener, winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionRequestedEventArgs> 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 D> typename consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener<D>::ConnectionRequested_revoker consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener<D>::ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionListener, winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener<D>::ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionListener, winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ConnectionRequested_revoker>(this, ConnectionRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener<D>::ConnectionRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener<D>::ConnectionRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionListener)->remove_ConnectionRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(int16_t) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters<D>::GroupOwnerIntent() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters<D>::GroupOwnerIntent() const
{
int16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionParameters)->get_GroupOwnerIntent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters<D>::GroupOwnerIntent(int16_t value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters<D>::GroupOwnerIntent(int16_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionParameters)->put_GroupOwnerIntent(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::WiFiDirect::WiFiDirectConfigurationMethod>) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters2<D>::PreferenceOrderedConfigurationMethods() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters2<D>::PreferenceOrderedConfigurationMethods() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionParameters2)->get_PreferenceOrderedConfigurationMethods(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::WiFiDirect::WiFiDirectConfigurationMethod>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectPairingProcedure) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters2<D>::PreferredPairingProcedure() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters2<D>::PreferredPairingProcedure() const
{
winrt::Windows::Devices::WiFiDirect::WiFiDirectPairingProcedure value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionParameters2)->get_PreferredPairingProcedure(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters2<D>::PreferredPairingProcedure(winrt::Windows::Devices::WiFiDirect::WiFiDirectPairingProcedure const& value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters2<D>::PreferredPairingProcedure(winrt::Windows::Devices::WiFiDirect::WiFiDirectPairingProcedure const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionParameters2)->put_PreferredPairingProcedure(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePairingKinds) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParametersStatics<D>::GetDevicePairingKinds(winrt::Windows::Devices::WiFiDirect::WiFiDirectConfigurationMethod const& configurationMethod) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParametersStatics<D>::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<int32_t>(configurationMethod), reinterpret_cast<uint32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionRequest<D>::DeviceInformation() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionRequest) consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionRequestedEventArgs<D>::GetConnectionRequest() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionStatus) consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice<D>::ConnectionStatus() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice<D>::ConnectionStatus() const
{
winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectDevice)->get_ConnectionStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice<D>::ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice<D>::ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectDevice, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice<D>::ConnectionStatusChanged_revoker consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice<D>::ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice<D>::ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ConnectionStatusChanged_revoker>(this, ConnectionStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice<D>::ConnectionStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice<D>::ConnectionStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectDevice)->remove_ConnectionStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>) consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice<D>::GetConnectionEndpointPairs() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDevice<D>::GetConnectionEndpointPairs() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectDevice)->GetConnectionEndpointPairs(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics<D>::GetDeviceSelector() const
{
void* deviceSelector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectDeviceStatics)->GetDeviceSelector(&deviceSelector));
return hstring{ deviceSelector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFiDirect::WiFiDirectDevice>) consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics<D>::FromIdAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics<D>::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<winrt::Windows::Devices::WiFiDirect::WiFiDirectDevice>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics2<D>::GetDeviceSelector(winrt::Windows::Devices::WiFiDirect::WiFiDirectDeviceSelectorType const& type) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics2<D>::GetDeviceSelector(winrt::Windows::Devices::WiFiDirect::WiFiDirectDeviceSelectorType const& type) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectDeviceStatics2)->GetDeviceSelector(static_cast<int32_t>(type), &result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFiDirect::WiFiDirectDevice>) consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics2<D>::FromIdAsync(param::hstring const& deviceId, winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionParameters const& connectionParameters) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics2<D>::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<winrt::Windows::Devices::WiFiDirect::WiFiDirectDevice>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement<D>::Oui() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement<D>::Oui(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement<D>::Oui(winrt::Windows::Storage::Streams::IBuffer const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectInformationElement)->put_Oui(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement<D>::OuiType() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement<D>::OuiType() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectInformationElement)->get_OuiType(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement<D>::OuiType(uint8_t value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement<D>::OuiType(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectInformationElement)->put_OuiType(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement<D>::Value() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement<D>::Value(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElement<D>::Value(winrt::Windows::Storage::Streams::IBuffer const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectInformationElement)->put_Value(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::WiFiDirect::WiFiDirectInformationElement>) consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElementStatics<D>::CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElementStatics<D>::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<winrt::Windows::Devices::WiFiDirect::WiFiDirectInformationElement>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::WiFiDirect::WiFiDirectInformationElement>) consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElementStatics<D>::CreateFromDeviceInformation(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInformation) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElementStatics<D>::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<winrt::Windows::Devices::WiFiDirect::WiFiDirectInformationElement>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectLegacySettings)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectLegacySettings)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings<D>::Ssid() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings<D>::Ssid(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings<D>::Ssid(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::WiFiDirect::IWiFiDirectLegacySettings)->put_Ssid(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings<D>::Passphrase() const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings<D>::Passphrase(winrt::Windows::Security::Credentials::PasswordCredential const& value) const
+ template <typename D> auto consume_Windows_Devices_WiFiDirect_IWiFiDirectLegacySettings<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.h
index fcf3dcfecc4..e92d31c4683 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Devices.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider) consume_Windows_Devices_ILowLevelDevicesAggregateProvider<D>::AdcControllerProvider() const
+ template <typename D> auto consume_Windows_Devices_ILowLevelDevicesAggregateProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider) consume_Windows_Devices_ILowLevelDevicesAggregateProvider<D>::PwmControllerProvider() const
+ template <typename D> auto consume_Windows_Devices_ILowLevelDevicesAggregateProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::Provider::IGpioControllerProvider) consume_Windows_Devices_ILowLevelDevicesAggregateProvider<D>::GpioControllerProvider() const
+ template <typename D> auto consume_Windows_Devices_ILowLevelDevicesAggregateProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::II2cControllerProvider) consume_Windows_Devices_ILowLevelDevicesAggregateProvider<D>::I2cControllerProvider() const
+ template <typename D> auto consume_Windows_Devices_ILowLevelDevicesAggregateProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Spi::Provider::ISpiControllerProvider) consume_Windows_Devices_ILowLevelDevicesAggregateProvider<D>::SpiControllerProvider() const
+ template <typename D> auto consume_Windows_Devices_ILowLevelDevicesAggregateProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::LowLevelDevicesAggregateProvider) consume_Windows_Devices_ILowLevelDevicesAggregateProviderFactory<D>::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 <typename D> auto consume_Windows_Devices_ILowLevelDevicesAggregateProviderFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::ILowLevelDevicesAggregateProvider) consume_Windows_Devices_ILowLevelDevicesControllerStatics<D>::DefaultProvider() const
+ template <typename D> auto consume_Windows_Devices_ILowLevelDevicesControllerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Devices_ILowLevelDevicesControllerStatics<D>::DefaultProvider(winrt::Windows::Devices::ILowLevelDevicesAggregateProvider const& value) const
+ template <typename D> auto consume_Windows_Devices_ILowLevelDevicesControllerStatics<D>::DefaultProvider(winrt::Windows::Devices::ILowLevelDevicesAggregateProvider const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Devices::ILowLevelDevicesControllerStatics)->put_DefaultProvider(*(void**)(&value)));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Embedded.DeviceLockdown.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Embedded.DeviceLockdown.h
index 9f1d9beba9d..0ead393286e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Embedded.DeviceLockdown.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileInformation<D>::Name() const
+ template <typename D> auto consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::guid>) consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics<D>::GetSupportedLockdownProfiles() const
+ template <typename D> auto consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics<D>::GetSupportedLockdownProfiles() const
{
void* ppProfileIDs{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Embedded::DeviceLockdown::IDeviceLockdownProfileStatics)->GetSupportedLockdownProfiles(&ppProfileIDs));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::guid>{ ppProfileIDs, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics<D>::GetCurrentLockdownProfile() const
+ template <typename D> auto consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics<D>::GetCurrentLockdownProfile() const
{
winrt::guid pProfileID{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Embedded::DeviceLockdown::IDeviceLockdownProfileStatics)->GetCurrentLockdownProfile(put_abi(pProfileID)));
return pProfileID;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics<D>::ApplyLockdownProfileAsync(winrt::guid const& profileID) const
+ template <typename D> auto consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Embedded::DeviceLockdown::DeviceLockdownProfileInformation) consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics<D>::GetLockdownProfileInformation(winrt::guid const& profileID) const
+ template <typename D> auto consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Collections.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Collections.h
index 4ba15a0cff2..0656857b554 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Collections.h
+++ b/chromium/third_party/nearby/src/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 <typename D, typename T> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterator<T>) consume_Windows_Foundation_Collections_IIterable<D, T>::First() const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IIterable<D, T>::First() const
{
void* winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IIterable<T>)->First(&winrt_impl_result));
return winrt::Windows::Foundation::Collections::IIterator<T>{ winrt_impl_result, take_ownership_from_abi };
}
- template <typename D, typename T> WINRT_IMPL_AUTO(T) consume_Windows_Foundation_Collections_IIterator<D, T>::Current() const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IIterator<D, T>::Current() const
{
T winrt_impl_result{ empty_value<T>() };
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IIterator<T>)->get_Current(put_abi(winrt_impl_result)));
return winrt_impl_result;
}
- template <typename D, typename T> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Collections_IIterator<D, T>::HasCurrent() const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IIterator<D, T>::HasCurrent() const
{
bool winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IIterator<T>)->get_HasCurrent(&winrt_impl_result));
return winrt_impl_result;
}
- template <typename D, typename T> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Collections_IIterator<D, T>::MoveNext() const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IIterator<D, T>::MoveNext() const
{
bool winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IIterator<T>)->MoveNext(&winrt_impl_result));
return winrt_impl_result;
}
- template <typename D, typename T> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_Collections_IIterator<D, T>::GetMany(array_view<T> items) const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IIterator<D, T>::GetMany(array_view<T> items) const
{
uint32_t winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IIterator<T>)->GetMany(items.size(), put_abi(items), &winrt_impl_result));
return winrt_impl_result;
}
- template <typename D, typename K, typename V> WINRT_IMPL_AUTO(K) consume_Windows_Foundation_Collections_IKeyValuePair<D, K, V>::Key() const
+ template <typename D, typename K, typename V> auto consume_Windows_Foundation_Collections_IKeyValuePair<D, K, V>::Key() const
{
K winrt_impl_result{ empty_value<K>() };
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IKeyValuePair<K, V>)->get_Key(put_abi(winrt_impl_result)));
return winrt_impl_result;
}
- template <typename D, typename K, typename V> WINRT_IMPL_AUTO(V) consume_Windows_Foundation_Collections_IKeyValuePair<D, K, V>::Value() const
+ template <typename D, typename K, typename V> auto consume_Windows_Foundation_Collections_IKeyValuePair<D, K, V>::Value() const
{
V winrt_impl_result{ empty_value<V>() };
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IKeyValuePair<K, V>)->get_Value(put_abi(winrt_impl_result)));
return winrt_impl_result;
}
- template <typename D, typename K> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::CollectionChange) consume_Windows_Foundation_Collections_IMapChangedEventArgs<D, K>::CollectionChange() const
+ template <typename D, typename K> auto consume_Windows_Foundation_Collections_IMapChangedEventArgs<D, K>::CollectionChange() const
{
winrt::Windows::Foundation::Collections::CollectionChange winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMapChangedEventArgs<K>)->get_CollectionChange(reinterpret_cast<int32_t*>(&winrt_impl_result)));
return winrt_impl_result;
}
- template <typename D, typename K> WINRT_IMPL_AUTO(K) consume_Windows_Foundation_Collections_IMapChangedEventArgs<D, K>::Key() const
+ template <typename D, typename K> auto consume_Windows_Foundation_Collections_IMapChangedEventArgs<D, K>::Key() const
{
K winrt_impl_result{ empty_value<K>() };
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMapChangedEventArgs<K>)->get_Key(put_abi(winrt_impl_result)));
return winrt_impl_result;
}
- template <typename D, typename K, typename V> WINRT_IMPL_AUTO(V) consume_Windows_Foundation_Collections_IMapView<D, K, V>::Lookup(impl::param_type<K> const& key) const
+ template <typename D, typename K, typename V> auto consume_Windows_Foundation_Collections_IMapView<D, K, V>::Lookup(impl::param_type<K> const& key) const
{
V winrt_impl_result{ empty_value<V>() };
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMapView<K, V>)->Lookup(impl::bind_in(key), put_abi(winrt_impl_result)));
return winrt_impl_result;
}
- template <typename D, typename K, typename V> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_Collections_IMapView<D, K, V>::Size() const
+ template <typename D, typename K, typename V> auto consume_Windows_Foundation_Collections_IMapView<D, K, V>::Size() const
{
uint32_t winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMapView<K, V>)->get_Size(&winrt_impl_result));
return winrt_impl_result;
}
- template <typename D, typename K, typename V> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Collections_IMapView<D, K, V>::HasKey(impl::param_type<K> const& key) const
+ template <typename D, typename K, typename V> auto consume_Windows_Foundation_Collections_IMapView<D, K, V>::HasKey(impl::param_type<K> const& key) const
{
bool winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMapView<K, V>)->HasKey(impl::bind_in(key), &winrt_impl_result));
return winrt_impl_result;
}
- template <typename D, typename K, typename V> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IMapView<D, K, V>::Split(winrt::Windows::Foundation::Collections::IMapView<K, V>& first, winrt::Windows::Foundation::Collections::IMapView<K, V>& second) const
+ template <typename D, typename K, typename V> auto consume_Windows_Foundation_Collections_IMapView<D, K, V>::Split(winrt::Windows::Foundation::Collections::IMapView<K, V>& first, winrt::Windows::Foundation::Collections::IMapView<K, V>& second) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMapView<K, V>)->Split(impl::bind_out(first), impl::bind_out(second)));
}
- template <typename D, typename K, typename V> WINRT_IMPL_AUTO(V) consume_Windows_Foundation_Collections_IMap<D, K, V>::Lookup(impl::param_type<K> const& key) const
+ template <typename D, typename K, typename V> auto consume_Windows_Foundation_Collections_IMap<D, K, V>::Lookup(impl::param_type<K> const& key) const
{
V winrt_impl_result{ empty_value<V>() };
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMap<K, V>)->Lookup(impl::bind_in(key), put_abi(winrt_impl_result)));
return winrt_impl_result;
}
- template <typename D, typename K, typename V> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_Collections_IMap<D, K, V>::Size() const
+ template <typename D, typename K, typename V> auto consume_Windows_Foundation_Collections_IMap<D, K, V>::Size() const
{
uint32_t winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMap<K, V>)->get_Size(&winrt_impl_result));
return winrt_impl_result;
}
- template <typename D, typename K, typename V> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Collections_IMap<D, K, V>::HasKey(impl::param_type<K> const& key) const
+ template <typename D, typename K, typename V> auto consume_Windows_Foundation_Collections_IMap<D, K, V>::HasKey(impl::param_type<K> const& key) const
{
bool winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMap<K, V>)->HasKey(impl::bind_in(key), &winrt_impl_result));
return winrt_impl_result;
}
- template <typename D, typename K, typename V> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<K, V>) consume_Windows_Foundation_Collections_IMap<D, K, V>::GetView() const
+ template <typename D, typename K, typename V> auto consume_Windows_Foundation_Collections_IMap<D, K, V>::GetView() const
{
void* winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMap<K, V>)->GetView(&winrt_impl_result));
return winrt::Windows::Foundation::Collections::IMapView<K, V>{ winrt_impl_result, take_ownership_from_abi };
}
- template <typename D, typename K, typename V> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Collections_IMap<D, K, V>::Insert(impl::param_type<K> const& key, impl::param_type<V> const& value) const
+ template <typename D, typename K, typename V> auto consume_Windows_Foundation_Collections_IMap<D, K, V>::Insert(impl::param_type<K> const& key, impl::param_type<V> const& value) const
{
bool winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMap<K, V>)->Insert(impl::bind_in(key), impl::bind_in(value), &winrt_impl_result));
return winrt_impl_result;
}
- template <typename D, typename K, typename V> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IMap<D, K, V>::Remove(impl::param_type<K> const& key) const
+ template <typename D, typename K, typename V> auto consume_Windows_Foundation_Collections_IMap<D, K, V>::Remove(impl::param_type<K> const& key) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMap<K, V>)->Remove(impl::bind_in(key)));
}
- template <typename D, typename K, typename V> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IMap<D, K, V>::Clear() const
+ template <typename D, typename K, typename V> auto consume_Windows_Foundation_Collections_IMap<D, K, V>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IMap<K, V>)->Clear());
}
- template <typename D, typename K, typename V> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Foundation_Collections_IObservableMap<D, K, V>::MapChanged(winrt::Windows::Foundation::Collections::MapChangedEventHandler<K, V> const& vhnd) const
+ template <typename D, typename K, typename V> auto consume_Windows_Foundation_Collections_IObservableMap<D, K, V>::MapChanged(winrt::Windows::Foundation::Collections::MapChangedEventHandler<K, V> const& vhnd) const
{
winrt::event_token winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IObservableMap<K, V>)->add_MapChanged(*(void**)(&vhnd), put_abi(winrt_impl_result)));
return winrt_impl_result;
}
- template <typename D, typename K, typename V> typename consume_Windows_Foundation_Collections_IObservableMap<D, K, V>::MapChanged_revoker consume_Windows_Foundation_Collections_IObservableMap<D, K, V>::MapChanged(auto_revoke_t, winrt::Windows::Foundation::Collections::MapChangedEventHandler<K, V> const& vhnd) const
+ template <typename D, typename K, typename V> auto consume_Windows_Foundation_Collections_IObservableMap<D, K, V>::MapChanged(auto_revoke_t, winrt::Windows::Foundation::Collections::MapChangedEventHandler<K, V> const& vhnd) const
{
return impl::make_event_revoker<D, MapChanged_revoker>(this, MapChanged(vhnd));
}
- template <typename D, typename K, typename V> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IObservableMap<D, K, V>::MapChanged(winrt::event_token const& token) const noexcept
+ template <typename D, typename K, typename V> auto consume_Windows_Foundation_Collections_IObservableMap<D, K, V>::MapChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IObservableMap<K, V>)->remove_MapChanged(impl::bind_in(token));
}
- template <typename D, typename T> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Foundation_Collections_IObservableVector<D, T>::VectorChanged(winrt::Windows::Foundation::Collections::VectorChangedEventHandler<T> const& vhnd) const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IObservableVector<D, T>::VectorChanged(winrt::Windows::Foundation::Collections::VectorChangedEventHandler<T> const& vhnd) const
{
winrt::event_token winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IObservableVector<T>)->add_VectorChanged(*(void**)(&vhnd), put_abi(winrt_impl_result)));
return winrt_impl_result;
}
- template <typename D, typename T> typename consume_Windows_Foundation_Collections_IObservableVector<D, T>::VectorChanged_revoker consume_Windows_Foundation_Collections_IObservableVector<D, T>::VectorChanged(auto_revoke_t, winrt::Windows::Foundation::Collections::VectorChangedEventHandler<T> const& vhnd) const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IObservableVector<D, T>::VectorChanged(auto_revoke_t, winrt::Windows::Foundation::Collections::VectorChangedEventHandler<T> const& vhnd) const
{
return impl::make_event_revoker<D, VectorChanged_revoker>(this, VectorChanged(vhnd));
}
- template <typename D, typename T> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IObservableVector<D, T>::VectorChanged(winrt::event_token const& token) const noexcept
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IObservableVector<D, T>::VectorChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IObservableVector<T>)->remove_VectorChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::CollectionChange) consume_Windows_Foundation_Collections_IVectorChangedEventArgs<D>::CollectionChange() const
+ template <typename D> auto consume_Windows_Foundation_Collections_IVectorChangedEventArgs<D>::CollectionChange() const
{
winrt::Windows::Foundation::Collections::CollectionChange value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVectorChangedEventArgs)->get_CollectionChange(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_Collections_IVectorChangedEventArgs<D>::Index() const
+ template <typename D> auto consume_Windows_Foundation_Collections_IVectorChangedEventArgs<D>::Index() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVectorChangedEventArgs)->get_Index(&value));
return value;
}
- template <typename D, typename T> WINRT_IMPL_AUTO(T) consume_Windows_Foundation_Collections_IVectorView<D, T>::GetAt(uint32_t index) const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IVectorView<D, T>::GetAt(uint32_t index) const
{
T winrt_impl_result{ empty_value<T>() };
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVectorView<T>)->GetAt(index, put_abi(winrt_impl_result)));
return winrt_impl_result;
}
- template <typename D, typename T> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_Collections_IVectorView<D, T>::Size() const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IVectorView<D, T>::Size() const
{
uint32_t winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVectorView<T>)->get_Size(&winrt_impl_result));
return winrt_impl_result;
}
- template <typename D, typename T> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Collections_IVectorView<D, T>::IndexOf(impl::param_type<T> const& value, uint32_t& index) const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IVectorView<D, T>::IndexOf(impl::param_type<T> const& value, uint32_t& index) const
{
bool winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVectorView<T>)->IndexOf(impl::bind_in(value), &index, &winrt_impl_result));
return winrt_impl_result;
}
- template <typename D, typename T> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_Collections_IVectorView<D, T>::GetMany(uint32_t startIndex, array_view<T> items) const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IVectorView<D, T>::GetMany(uint32_t startIndex, array_view<T> items) const
{
uint32_t winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVectorView<T>)->GetMany(startIndex, items.size(), put_abi(items), &winrt_impl_result));
return winrt_impl_result;
}
- template <typename D, typename T> WINRT_IMPL_AUTO(T) consume_Windows_Foundation_Collections_IVector<D, T>::GetAt(uint32_t index) const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IVector<D, T>::GetAt(uint32_t index) const
{
T winrt_impl_result{ empty_value<T>() };
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector<T>)->GetAt(index, put_abi(winrt_impl_result)));
return winrt_impl_result;
}
- template <typename D, typename T> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_Collections_IVector<D, T>::Size() const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IVector<D, T>::Size() const
{
uint32_t winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector<T>)->get_Size(&winrt_impl_result));
return winrt_impl_result;
}
- template <typename D, typename T> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<T>) consume_Windows_Foundation_Collections_IVector<D, T>::GetView() const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IVector<D, T>::GetView() const
{
void* winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector<T>)->GetView(&winrt_impl_result));
return winrt::Windows::Foundation::Collections::IVectorView<T>{ winrt_impl_result, take_ownership_from_abi };
}
- template <typename D, typename T> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Collections_IVector<D, T>::IndexOf(impl::param_type<T> const& value, uint32_t& index) const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IVector<D, T>::IndexOf(impl::param_type<T> const& value, uint32_t& index) const
{
bool winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector<T>)->IndexOf(impl::bind_in(value), &index, &winrt_impl_result));
return winrt_impl_result;
}
- template <typename D, typename T> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IVector<D, T>::SetAt(uint32_t index, impl::param_type<T> const& value) const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IVector<D, T>::SetAt(uint32_t index, impl::param_type<T> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector<T>)->SetAt(index, impl::bind_in(value)));
}
- template <typename D, typename T> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IVector<D, T>::InsertAt(uint32_t index, impl::param_type<T> const& value) const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IVector<D, T>::InsertAt(uint32_t index, impl::param_type<T> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector<T>)->InsertAt(index, impl::bind_in(value)));
}
- template <typename D, typename T> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IVector<D, T>::RemoveAt(uint32_t index) const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IVector<D, T>::RemoveAt(uint32_t index) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector<T>)->RemoveAt(index));
}
- template <typename D, typename T> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IVector<D, T>::Append(impl::param_type<T> const& value) const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IVector<D, T>::Append(impl::param_type<T> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector<T>)->Append(impl::bind_in(value)));
}
- template <typename D, typename T> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IVector<D, T>::RemoveAtEnd() const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IVector<D, T>::RemoveAtEnd() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector<T>)->RemoveAtEnd());
}
- template <typename D, typename T> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IVector<D, T>::Clear() const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IVector<D, T>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector<T>)->Clear());
}
- template <typename D, typename T> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_Collections_IVector<D, T>::GetMany(uint32_t startIndex, array_view<T> items) const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IVector<D, T>::GetMany(uint32_t startIndex, array_view<T> items) const
{
uint32_t winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector<T>)->GetMany(startIndex, items.size(), put_abi(items), &winrt_impl_result));
return winrt_impl_result;
}
- template <typename D, typename T> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Collections_IVector<D, T>::ReplaceAll(array_view<T const> items) const
+ template <typename D, typename T> auto consume_Windows_Foundation_Collections_IVector<D, T>::ReplaceAll(array_view<T const> items) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Collections::IVector<T>)->ReplaceAll(items.size(), get_abi(items)));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Diagnostics.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Diagnostics.h
index 5c783969600..76f19f27463 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Diagnostics.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>::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 <typename D> auto consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>::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<int32_t>(traceLevel), static_cast<int32_t>(source), impl::bind_in(platformId), operationId, *(void**)(&operationName), relatedContext));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>::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 <typename D> auto consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>::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<int32_t>(traceLevel), static_cast<int32_t>(source), impl::bind_in(platformId), operationId, static_cast<int32_t>(status)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>::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 <typename D> auto consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>::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<int32_t>(traceLevel), static_cast<int32_t>(source), impl::bind_in(platformId), operationId, static_cast<int32_t>(relation)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>::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 <typename D> auto consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>::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<int32_t>(traceLevel), static_cast<int32_t>(source), impl::bind_in(platformId), operationId, static_cast<int32_t>(work)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>::TraceSynchronousWorkCompletion(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel const& traceLevel, winrt::Windows::Foundation::Diagnostics::CausalitySource const& source, winrt::Windows::Foundation::Diagnostics::CausalitySynchronousWork const& work) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>::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<int32_t>(traceLevel), static_cast<int32_t>(source), static_cast<int32_t>(work)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>::TracingStatusChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>::TracingStatusChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs> 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 D> typename consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>::TracingStatusChanged_revoker consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>::TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>::TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TracingStatusChanged_revoker>(this, TracingStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>::TracingStatusChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IAsyncCausalityTracerStatics<D>::TracingStatusChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics)->remove_TracingStatusChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_Diagnostics_IErrorDetails<D>::Description() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IErrorDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_Diagnostics_IErrorDetails<D>::LongDescription() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IErrorDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Foundation_Diagnostics_IErrorDetails<D>::HelpUri() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IErrorDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Diagnostics::ErrorDetails>) consume_Windows_Foundation_Diagnostics_IErrorDetailsStatics<D>::CreateFromHResultAsync(int32_t errorCode) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IErrorDetailsStatics<D>::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<winrt::Windows::Foundation::Diagnostics::ErrorDetails>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IErrorReportingSettings<D>::SetErrorOptions(winrt::Windows::Foundation::Diagnostics::ErrorOptions const& value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IErrorReportingSettings<D>::SetErrorOptions(winrt::Windows::Foundation::Diagnostics::ErrorOptions const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IErrorReportingSettings)->SetErrorOptions(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::ErrorOptions) consume_Windows_Foundation_Diagnostics_IErrorReportingSettings<D>::GetErrorOptions() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IErrorReportingSettings<D>::GetErrorOptions() const
{
winrt::Windows::Foundation::Diagnostics::ErrorOptions value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IErrorReportingSettings)->GetErrorOptions(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>::Name() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>::AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>::AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IFileLoggingSession)->AddLoggingChannel(*(void**)(&loggingChannel)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>::AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& maxLevel) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>::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<int32_t>(maxLevel)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>::RemoveLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>::RemoveLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IFileLoggingSession)->RemoveLoggingChannel(*(void**)(&loggingChannel)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>::CloseAndSaveToFileAsync() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>::CloseAndSaveToFileAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IFileLoggingSession)->CloseAndSaveToFileAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>::LogFileGenerated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession, winrt::Windows::Foundation::Diagnostics::LogFileGeneratedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>::LogFileGenerated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession, winrt::Windows::Foundation::Diagnostics::LogFileGeneratedEventArgs> 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 D> typename consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>::LogFileGenerated_revoker consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>::LogFileGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession, winrt::Windows::Foundation::Diagnostics::LogFileGeneratedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>::LogFileGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession, winrt::Windows::Foundation::Diagnostics::LogFileGeneratedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, LogFileGenerated_revoker>(this, LogFileGenerated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>::LogFileGenerated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IFileLoggingSession<D>::LogFileGenerated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::IFileLoggingSession)->remove_LogFileGenerated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::FileLoggingSession) consume_Windows_Foundation_Diagnostics_IFileLoggingSessionFactory<D>::Create(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_IFileLoggingSessionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Foundation_Diagnostics_ILogFileGeneratedEventArgs<D>::File() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILogFileGeneratedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_Diagnostics_ILoggingActivity<D>::Name() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingActivity<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Foundation_Diagnostics_ILoggingActivity<D>::Id() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingActivity<D>::Id() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingActivity)->get_Id(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannel) consume_Windows_Foundation_Diagnostics_ILoggingActivity2<D>::Channel() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingActivity2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingActivity2<D>::StopActivity(param::hstring const& stopEventName) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingActivity2<D>::StopActivity(param::hstring const& stopEventName) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingActivity2)->StopActivity(*(void**)(&stopEventName)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingActivity2<D>::StopActivity(param::hstring const& stopEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingActivity2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingActivity2<D>::StopActivity(param::hstring const& stopEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingOptions const& options) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingActivity2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) consume_Windows_Foundation_Diagnostics_ILoggingActivityFactory<D>::CreateLoggingActivity(param::hstring const& activityName, winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingActivityFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) consume_Windows_Foundation_Diagnostics_ILoggingActivityFactory<D>::CreateLoggingActivityWithLevel(param::hstring const& activityName, winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingActivityFactory<D>::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<int32_t>(level), &loggingActivity));
return winrt::Windows::Foundation::Diagnostics::LoggingActivity{ loggingActivity, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::Name() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::Enabled() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::Enabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannel)->get_Enabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingLevel) consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::Level() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::Level() const
{
winrt::Windows::Foundation::Diagnostics::LoggingLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannel)->get_Level(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::LogMessage(param::hstring const& eventString) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::LogMessage(param::hstring const& eventString) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannel)->LogMessage(*(void**)(&eventString)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::LogMessage(param::hstring const& eventString, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::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<int32_t>(level)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::LogValuePair(param::hstring const& value1, int32_t value2) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::LogValuePair(param::hstring const& value1, int32_t value2) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannel)->LogValuePair(*(void**)(&value1), value2));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::LogValuePair(param::hstring const& value1, int32_t value2, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::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<int32_t>(level)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::LoggingEnabled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::Diagnostics::ILoggingChannel, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::LoggingEnabled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::Diagnostics::ILoggingChannel, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::LoggingEnabled_revoker consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::LoggingEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::Diagnostics::ILoggingChannel, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::LoggingEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::Diagnostics::ILoggingChannel, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, LoggingEnabled_revoker>(this, LoggingEnabled(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::LoggingEnabled(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingChannel<D>::LoggingEnabled(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannel)->remove_LoggingEnabled(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Foundation_Diagnostics_ILoggingChannel2<D>::Id() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingChannel2<D>::Id() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannel2)->get_Id(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannel) consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory<D>::Create(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannel) consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory2<D>::CreateWithOptions(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions const& options) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannel) consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory2<D>::CreateWithOptionsAndId(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions const& options, winrt::guid const& id) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingChannelFactory2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Foundation_Diagnostics_ILoggingChannelOptions<D>::Group() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingChannelOptions<D>::Group() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptions)->get_Group(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingChannelOptions<D>::Group(winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingChannelOptions<D>::Group(winrt::guid const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptions)->put_Group(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingChannelOptions) consume_Windows_Foundation_Diagnostics_ILoggingChannelOptionsFactory<D>::Create(winrt::guid const& group) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingChannelOptionsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::Clear() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->Clear());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::BeginStruct(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::BeginStruct(param::hstring const& name) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->BeginStruct(*(void**)(&name)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::BeginStruct(param::hstring const& name, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::BeginStruct(param::hstring const& name, int32_t tags) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->BeginStructWithTags(*(void**)(&name), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::EndStruct() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::EndStruct() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->EndStruct());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddEmpty(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddEmpty(param::hstring const& name) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddEmpty(*(void**)(&name)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddEmpty(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddEmpty(param::hstring const& name, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt8(param::hstring const& name, uint8_t value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt8(param::hstring const& name, uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt8(*(void**)(&name), value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt8(param::hstring const& name, uint8_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt8(param::hstring const& name, uint8_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt8Array(param::hstring const& name, array_view<uint8_t const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt8Array(param::hstring const& name, array_view<uint8_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt8Array(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt8Array(param::hstring const& name, array_view<uint8_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt8Array(param::hstring const& name, array_view<uint8_t const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt8Array(param::hstring const& name, array_view<uint8_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt8Array(param::hstring const& name, array_view<uint8_t const> 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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt16(param::hstring const& name, int16_t value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt16(param::hstring const& name, int16_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt16(*(void**)(&name), value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt16(param::hstring const& name, int16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt16(param::hstring const& name, int16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt16Array(param::hstring const& name, array_view<int16_t const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt16Array(param::hstring const& name, array_view<int16_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt16Array(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt16Array(param::hstring const& name, array_view<int16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt16Array(param::hstring const& name, array_view<int16_t const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt16Array(param::hstring const& name, array_view<int16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt16Array(param::hstring const& name, array_view<int16_t const> 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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt16(param::hstring const& name, uint16_t value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt16(param::hstring const& name, uint16_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt16(*(void**)(&name), value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt16(param::hstring const& name, uint16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt16(param::hstring const& name, uint16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt16Array(param::hstring const& name, array_view<uint16_t const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt16Array(param::hstring const& name, array_view<uint16_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt16Array(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt16Array(param::hstring const& name, array_view<uint16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt16Array(param::hstring const& name, array_view<uint16_t const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt16Array(param::hstring const& name, array_view<uint16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt16Array(param::hstring const& name, array_view<uint16_t const> 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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt32(param::hstring const& name, int32_t value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt32(param::hstring const& name, int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt32(*(void**)(&name), value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt32(param::hstring const& name, int32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt32(param::hstring const& name, int32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt32Array(param::hstring const& name, array_view<int32_t const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt32Array(param::hstring const& name, array_view<int32_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt32Array(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt32Array(param::hstring const& name, array_view<int32_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt32Array(param::hstring const& name, array_view<int32_t const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt32Array(param::hstring const& name, array_view<int32_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt32Array(param::hstring const& name, array_view<int32_t const> 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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt32(param::hstring const& name, uint32_t value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt32(param::hstring const& name, uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt32(*(void**)(&name), value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt32(param::hstring const& name, uint32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt32(param::hstring const& name, uint32_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt32Array(param::hstring const& name, array_view<uint32_t const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt32Array(param::hstring const& name, array_view<uint32_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt32Array(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt32Array(param::hstring const& name, array_view<uint32_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt32Array(param::hstring const& name, array_view<uint32_t const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt32Array(param::hstring const& name, array_view<uint32_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt32Array(param::hstring const& name, array_view<uint32_t const> 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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt64(param::hstring const& name, int64_t value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt64(param::hstring const& name, int64_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt64(*(void**)(&name), value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt64(param::hstring const& name, int64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt64(param::hstring const& name, int64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt64Array(param::hstring const& name, array_view<int64_t const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt64Array(param::hstring const& name, array_view<int64_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddInt64Array(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt64Array(param::hstring const& name, array_view<int64_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt64Array(param::hstring const& name, array_view<int64_t const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt64Array(param::hstring const& name, array_view<int64_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddInt64Array(param::hstring const& name, array_view<int64_t const> 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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt64(param::hstring const& name, uint64_t value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt64(param::hstring const& name, uint64_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt64(*(void**)(&name), value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt64(param::hstring const& name, uint64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt64(param::hstring const& name, uint64_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt64Array(param::hstring const& name, array_view<uint64_t const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt64Array(param::hstring const& name, array_view<uint64_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddUInt64Array(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt64Array(param::hstring const& name, array_view<uint64_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt64Array(param::hstring const& name, array_view<uint64_t const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt64Array(param::hstring const& name, array_view<uint64_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddUInt64Array(param::hstring const& name, array_view<uint64_t const> 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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSingle(param::hstring const& name, float value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSingle(param::hstring const& name, float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddSingle(*(void**)(&name), value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSingle(param::hstring const& name, float value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSingle(param::hstring const& name, float value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSingleArray(param::hstring const& name, array_view<float const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSingleArray(param::hstring const& name, array_view<float const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddSingleArray(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSingleArray(param::hstring const& name, array_view<float const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSingleArray(param::hstring const& name, array_view<float const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSingleArray(param::hstring const& name, array_view<float const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSingleArray(param::hstring const& name, array_view<float const> 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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDouble(param::hstring const& name, double value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDouble(param::hstring const& name, double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddDouble(*(void**)(&name), value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDouble(param::hstring const& name, double value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDouble(param::hstring const& name, double value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDoubleArray(param::hstring const& name, array_view<double const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDoubleArray(param::hstring const& name, array_view<double const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddDoubleArray(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDoubleArray(param::hstring const& name, array_view<double const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDoubleArray(param::hstring const& name, array_view<double const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDoubleArray(param::hstring const& name, array_view<double const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDoubleArray(param::hstring const& name, array_view<double const> 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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddChar16(param::hstring const& name, char16_t value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddChar16(param::hstring const& name, char16_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddChar16(*(void**)(&name), value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddChar16(param::hstring const& name, char16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddChar16(param::hstring const& name, char16_t value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddChar16Array(param::hstring const& name, array_view<char16_t const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddChar16Array(param::hstring const& name, array_view<char16_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddChar16Array(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddChar16Array(param::hstring const& name, array_view<char16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddChar16Array(param::hstring const& name, array_view<char16_t const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddChar16Array(param::hstring const& name, array_view<char16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddChar16Array(param::hstring const& name, array_view<char16_t const> 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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddBoolean(param::hstring const& name, bool value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddBoolean(param::hstring const& name, bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddBoolean(*(void**)(&name), value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddBoolean(param::hstring const& name, bool value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddBoolean(param::hstring const& name, bool value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddBooleanArray(param::hstring const& name, array_view<bool const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddBooleanArray(param::hstring const& name, array_view<bool const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddBooleanArray(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddBooleanArray(param::hstring const& name, array_view<bool const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddBooleanArray(param::hstring const& name, array_view<bool const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddBooleanArray(param::hstring const& name, array_view<bool const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddBooleanArray(param::hstring const& name, array_view<bool const> 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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddString(param::hstring const& name, param::hstring const& value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddString(param::hstring const& name, param::hstring const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddString(param::hstring const& name, param::hstring const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddStringArray(param::hstring const& name, array_view<hstring const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddStringArray(param::hstring const& name, array_view<hstring const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddStringArray(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddStringArray(param::hstring const& name, array_view<hstring const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddStringArray(param::hstring const& name, array_view<hstring const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddStringArray(param::hstring const& name, array_view<hstring const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddStringArray(param::hstring const& name, array_view<hstring const> 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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddGuid(param::hstring const& name, winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddGuid(param::hstring const& name, winrt::guid const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddGuid(param::hstring const& name, winrt::guid const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddGuidArray(param::hstring const& name, array_view<winrt::guid const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddGuidArray(param::hstring const& name, array_view<winrt::guid const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddGuidArray(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddGuidArray(param::hstring const& name, array_view<winrt::guid const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddGuidArray(param::hstring const& name, array_view<winrt::guid const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddGuidArray(param::hstring const& name, array_view<winrt::guid const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddGuidArray(param::hstring const& name, array_view<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)->AddGuidArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDateTime(param::hstring const& name, winrt::Windows::Foundation::DateTime const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDateTimeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::DateTime const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDateTimeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::DateTime const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddDateTimeArray(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDateTimeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::DateTime const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDateTimeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::DateTime const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDateTimeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::DateTime const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddDateTimeArray(param::hstring const& name, array_view<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)->AddDateTimeArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddTimeSpan(param::hstring const& name, winrt::Windows::Foundation::TimeSpan const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddTimeSpanArray(param::hstring const& name, array_view<winrt::Windows::Foundation::TimeSpan const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddTimeSpanArray(param::hstring const& name, array_view<winrt::Windows::Foundation::TimeSpan const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddTimeSpanArray(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddTimeSpanArray(param::hstring const& name, array_view<winrt::Windows::Foundation::TimeSpan const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddTimeSpanArray(param::hstring const& name, array_view<winrt::Windows::Foundation::TimeSpan const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddTimeSpanArray(param::hstring const& name, array_view<winrt::Windows::Foundation::TimeSpan const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddTimeSpanArray(param::hstring const& name, array_view<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)->AddTimeSpanArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddPoint(param::hstring const& name, winrt::Windows::Foundation::Point const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddPointArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Point const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddPointArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Point const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddPointArray(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddPointArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Point const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddPointArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Point const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddPointArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Point const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddPointArray(param::hstring const& name, array_view<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)->AddPointArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSize(param::hstring const& name, winrt::Windows::Foundation::Size const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSizeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Size const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSizeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Size const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddSizeArray(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSizeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Size const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSizeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Size const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSizeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Size const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddSizeArray(param::hstring const& name, array_view<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)->AddSizeArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddRect(param::hstring const& name, winrt::Windows::Foundation::Rect const& value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::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<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddRectArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Rect const> value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddRectArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Rect const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingFields)->AddRectArray(*(void**)(&name), value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddRectArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Rect const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddRectArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Rect const> 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<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddRectArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Rect const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingFields<D>::AddRectArray(param::hstring const& name, array_view<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)->AddRectArrayWithFormatAndTags(*(void**)(&name), value.size(), get_abi(value), static_cast<int32_t>(format), tags));
}
- template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::Keywords() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::Keywords() const
{
int64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->get_Keywords(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::Keywords(int64_t value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::Keywords(int64_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->put_Keywords(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::Tags() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::Tags() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->get_Tags(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::Tags(int32_t value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::Tags(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->put_Tags(value));
}
- template <typename D> WINRT_IMPL_AUTO(int16_t) consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::Task() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::Task() const
{
int16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->get_Task(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::Task(int16_t value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::Task(int16_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->put_Task(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingOpcode) consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::Opcode() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::Opcode() const
{
winrt::Windows::Foundation::Diagnostics::LoggingOpcode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->get_Opcode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::Opcode(winrt::Windows::Foundation::Diagnostics::LoggingOpcode const& value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::Opcode(winrt::Windows::Foundation::Diagnostics::LoggingOpcode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->put_Opcode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::ActivityId() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::ActivityId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->get_ActivityId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::ActivityId(winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::ActivityId(winrt::guid const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->put_ActivityId(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::RelatedActivityId() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::RelatedActivityId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->get_RelatedActivityId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::RelatedActivityId(winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingOptions<D>::RelatedActivityId(winrt::guid const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingOptions)->put_RelatedActivityId(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingOptions) consume_Windows_Foundation_Diagnostics_ILoggingOptionsFactory<D>::CreateWithKeywords(int64_t keywords) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingOptionsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_Diagnostics_ILoggingSession<D>::Name() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Foundation_Diagnostics_ILoggingSession<D>::SaveToFileAsync(winrt::Windows::Storage::IStorageFolder const& folder, param::hstring const& fileName) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingSession<D>::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<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingSession<D>::AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingSession<D>::AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingSession)->AddLoggingChannel(*(void**)(&loggingChannel)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingSession<D>::AddLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& maxLevel) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingSession<D>::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<int32_t>(maxLevel)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingSession<D>::RemoveLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingSession<D>::RemoveLoggingChannel(winrt::Windows::Foundation::Diagnostics::ILoggingChannel const& loggingChannel) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingSession)->RemoveLoggingChannel(*(void**)(&loggingChannel)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingSession) consume_Windows_Foundation_Diagnostics_ILoggingSessionFactory<D>::Create(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingSessionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::IsEnabled() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingTarget)->IsEnabled(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::IsEnabled(winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::IsEnabled(winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingTarget)->IsEnabledWithLevel(static_cast<int32_t>(level), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::IsEnabled(winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level, int64_t keywords) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::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<int32_t>(level), keywords, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::LogEvent(param::hstring const& eventName) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::LogEvent(param::hstring const& eventName) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ILoggingTarget)->LogEvent(*(void**)(&eventName)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::LogEvent(param::hstring const& eventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::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<int32_t>(level)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::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 <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::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<int32_t>(level), *(void**)(&options)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::StartActivity(param::hstring const& startEventName) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::StartActivity(param::hstring const& startEventName, winrt::Windows::Foundation::Diagnostics::LoggingFields const& fields, winrt::Windows::Foundation::Diagnostics::LoggingLevel const& level) const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::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<int32_t>(level), &result));
return winrt::Windows::Foundation::Diagnostics::LoggingActivity{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::LoggingActivity) consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::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 <typename D> auto consume_Windows_Foundation_Diagnostics_ILoggingTarget<D>::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<int32_t>(level), *(void**)(&options), &result));
return winrt::Windows::Foundation::Diagnostics::LoggingActivity{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Diagnostics_ITracingStatusChangedEventArgs<D>::Enabled() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ITracingStatusChangedEventArgs<D>::Enabled() const
{
bool enabled{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ITracingStatusChangedEventArgs)->get_Enabled(&enabled));
return enabled;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel) consume_Windows_Foundation_Diagnostics_ITracingStatusChangedEventArgs<D>::TraceLevel() const
+ template <typename D> auto consume_Windows_Foundation_Diagnostics_ITracingStatusChangedEventArgs<D>::TraceLevel() const
{
winrt::Windows::Foundation::Diagnostics::CausalityTraceLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::Diagnostics::ITracingStatusChangedEventArgs)->get_TraceLevel(reinterpret_cast<int32_t*>(&value)));
@@ -2448,10 +2448,10 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Diagnostics
{
return impl::call_factory<AsyncCausalityTracer, IAsyncCausalityTracerStatics>([&](IAsyncCausalityTracerStatics const& f) { return f.TracingStatusChanged(handler); });
}
- inline AsyncCausalityTracer::TracingStatusChanged_revoker AsyncCausalityTracer::TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs> const& handler)
+ inline auto AsyncCausalityTracer::TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs> const& handler)
{
auto f = get_activation_factory<AsyncCausalityTracer, winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Metadata.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Metadata.h
index d608d6f6699..1bf47d5ed33 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Metadata.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::IsTypePresent(param::hstring const& typeName) const
+ template <typename D> auto consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::IsMethodPresent(param::hstring const& typeName, param::hstring const& methodName) const
+ template <typename D> auto consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::IsMethodPresent(param::hstring const& typeName, param::hstring const& methodName, uint32_t inputParameterCount) const
+ template <typename D> auto consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::IsEventPresent(param::hstring const& typeName, param::hstring const& eventName) const
+ template <typename D> auto consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::IsPropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const
+ template <typename D> auto consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::IsReadOnlyPropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const
+ template <typename D> auto consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::IsWriteablePropertyPresent(param::hstring const& typeName, param::hstring const& propertyName) const
+ template <typename D> auto consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::IsEnumNamedValuePresent(param::hstring const& enumTypeName, param::hstring const& valueName) const
+ template <typename D> auto consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::IsApiContractPresent(param::hstring const& contractName, uint16_t majorVersion) const
+ template <typename D> auto consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::IsApiContractPresent(param::hstring const& contractName, uint16_t majorVersion, uint16_t minorVersion) const
+ template <typename D> auto consume_Windows_Foundation_Metadata_IApiInformationStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Numerics.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Numerics.h
index 66067b3fc8d..e5f8394b539 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.Numerics.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.h
index 321c5d4d212..7dd549f16c2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Foundation.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncAction<D>::Completed(winrt::Windows::Foundation::AsyncActionCompletedHandler const& handler) const
+ template <typename D> auto consume_Windows_Foundation_IAsyncAction<D>::Completed(winrt::Windows::Foundation::AsyncActionCompletedHandler const& handler) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncAction)->put_Completed(*(void**)(&handler)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncActionCompletedHandler) consume_Windows_Foundation_IAsyncAction<D>::Completed() const
+ template <typename D> auto consume_Windows_Foundation_IAsyncAction<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncAction<D>::GetResults() const
+ template <typename D> auto consume_Windows_Foundation_IAsyncAction<D>::GetResults() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncAction)->GetResults());
}
- template <typename D, typename TProgress> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncActionWithProgress<D, TProgress>::Progress(winrt::Windows::Foundation::AsyncActionProgressHandler<TProgress> const& handler) const
+ template <typename D, typename TProgress> auto consume_Windows_Foundation_IAsyncActionWithProgress<D, TProgress>::Progress(winrt::Windows::Foundation::AsyncActionProgressHandler<TProgress> const& handler) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncActionWithProgress<TProgress>)->put_Progress(*(void**)(&handler)));
}
- template <typename D, typename TProgress> WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncActionProgressHandler<TProgress>) consume_Windows_Foundation_IAsyncActionWithProgress<D, TProgress>::Progress() const
+ template <typename D, typename TProgress> auto consume_Windows_Foundation_IAsyncActionWithProgress<D, TProgress>::Progress() const
{
void* winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncActionWithProgress<TProgress>)->get_Progress(&winrt_impl_result));
return winrt::Windows::Foundation::AsyncActionProgressHandler<TProgress>{ winrt_impl_result, take_ownership_from_abi };
}
- template <typename D, typename TProgress> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncActionWithProgress<D, TProgress>::Completed(winrt::Windows::Foundation::AsyncActionWithProgressCompletedHandler<TProgress> const& handler) const
+ template <typename D, typename TProgress> auto consume_Windows_Foundation_IAsyncActionWithProgress<D, TProgress>::Completed(winrt::Windows::Foundation::AsyncActionWithProgressCompletedHandler<TProgress> const& handler) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncActionWithProgress<TProgress>)->put_Completed(*(void**)(&handler)));
}
- template <typename D, typename TProgress> WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncActionWithProgressCompletedHandler<TProgress>) consume_Windows_Foundation_IAsyncActionWithProgress<D, TProgress>::Completed() const
+ template <typename D, typename TProgress> auto consume_Windows_Foundation_IAsyncActionWithProgress<D, TProgress>::Completed() const
{
void* winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncActionWithProgress<TProgress>)->get_Completed(&winrt_impl_result));
return winrt::Windows::Foundation::AsyncActionWithProgressCompletedHandler<TProgress>{ winrt_impl_result, take_ownership_from_abi };
}
- template <typename D, typename TProgress> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncActionWithProgress<D, TProgress>::GetResults() const
+ template <typename D, typename TProgress> auto consume_Windows_Foundation_IAsyncActionWithProgress<D, TProgress>::GetResults() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncActionWithProgress<TProgress>)->GetResults());
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_IAsyncInfo<D>::Id() const
+ template <typename D> auto consume_Windows_Foundation_IAsyncInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncStatus) consume_Windows_Foundation_IAsyncInfo<D>::Status() const
+ template <typename D> auto consume_Windows_Foundation_IAsyncInfo<D>::Status() const
{
winrt::Windows::Foundation::AsyncStatus winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncInfo)->get_Status(reinterpret_cast<int32_t*>(&winrt_impl_result)));
return winrt_impl_result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Foundation_IAsyncInfo<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_Foundation_IAsyncInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncInfo<D>::Cancel() const
+ template <typename D> auto consume_Windows_Foundation_IAsyncInfo<D>::Cancel() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncInfo)->Cancel());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncInfo<D>::Close() const
+ template <typename D> auto consume_Windows_Foundation_IAsyncInfo<D>::Close() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncInfo)->Close());
}
- template <typename D, typename TResult, typename TProgress> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncOperationWithProgress<D, TResult, TProgress>::Progress(winrt::Windows::Foundation::AsyncOperationProgressHandler<TResult, TProgress> const& handler) const
+ template <typename D, typename TResult, typename TProgress> auto consume_Windows_Foundation_IAsyncOperationWithProgress<D, TResult, TProgress>::Progress(winrt::Windows::Foundation::AsyncOperationProgressHandler<TResult, TProgress> const& handler) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncOperationWithProgress<TResult, TProgress>)->put_Progress(*(void**)(&handler)));
}
- template <typename D, typename TResult, typename TProgress> WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncOperationProgressHandler<TResult, TProgress>) consume_Windows_Foundation_IAsyncOperationWithProgress<D, TResult, TProgress>::Progress() const
+ template <typename D, typename TResult, typename TProgress> auto consume_Windows_Foundation_IAsyncOperationWithProgress<D, TResult, TProgress>::Progress() const
{
void* winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncOperationWithProgress<TResult, TProgress>)->get_Progress(&winrt_impl_result));
return winrt::Windows::Foundation::AsyncOperationProgressHandler<TResult, TProgress>{ winrt_impl_result, take_ownership_from_abi };
}
- template <typename D, typename TResult, typename TProgress> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncOperationWithProgress<D, TResult, TProgress>::Completed(winrt::Windows::Foundation::AsyncOperationWithProgressCompletedHandler<TResult, TProgress> const& handler) const
+ template <typename D, typename TResult, typename TProgress> auto consume_Windows_Foundation_IAsyncOperationWithProgress<D, TResult, TProgress>::Completed(winrt::Windows::Foundation::AsyncOperationWithProgressCompletedHandler<TResult, TProgress> const& handler) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncOperationWithProgress<TResult, TProgress>)->put_Completed(*(void**)(&handler)));
}
- template <typename D, typename TResult, typename TProgress> WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncOperationWithProgressCompletedHandler<TResult, TProgress>) consume_Windows_Foundation_IAsyncOperationWithProgress<D, TResult, TProgress>::Completed() const
+ template <typename D, typename TResult, typename TProgress> auto consume_Windows_Foundation_IAsyncOperationWithProgress<D, TResult, TProgress>::Completed() const
{
void* winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncOperationWithProgress<TResult, TProgress>)->get_Completed(&winrt_impl_result));
return winrt::Windows::Foundation::AsyncOperationWithProgressCompletedHandler<TResult, TProgress>{ winrt_impl_result, take_ownership_from_abi };
}
- template <typename D, typename TResult, typename TProgress> WINRT_IMPL_AUTO(TResult) consume_Windows_Foundation_IAsyncOperationWithProgress<D, TResult, TProgress>::GetResults() const
+ template <typename D, typename TResult, typename TProgress> auto consume_Windows_Foundation_IAsyncOperationWithProgress<D, TResult, TProgress>::GetResults() const
{
TResult winrt_impl_result{ empty_value<TResult>() };
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncOperationWithProgress<TResult, TProgress>)->GetResults(put_abi(winrt_impl_result)));
return winrt_impl_result;
}
- template <typename D, typename TResult> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IAsyncOperation<D, TResult>::Completed(winrt::Windows::Foundation::AsyncOperationCompletedHandler<TResult> const& handler) const
+ template <typename D, typename TResult> auto consume_Windows_Foundation_IAsyncOperation<D, TResult>::Completed(winrt::Windows::Foundation::AsyncOperationCompletedHandler<TResult> const& handler) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncOperation<TResult>)->put_Completed(*(void**)(&handler)));
}
- template <typename D, typename TResult> WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncOperationCompletedHandler<TResult>) consume_Windows_Foundation_IAsyncOperation<D, TResult>::Completed() const
+ template <typename D, typename TResult> auto consume_Windows_Foundation_IAsyncOperation<D, TResult>::Completed() const
{
void* winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncOperation<TResult>)->get_Completed(&winrt_impl_result));
return winrt::Windows::Foundation::AsyncOperationCompletedHandler<TResult>{ winrt_impl_result, take_ownership_from_abi };
}
- template <typename D, typename TResult> WINRT_IMPL_AUTO(TResult) consume_Windows_Foundation_IAsyncOperation<D, TResult>::GetResults() const
+ template <typename D, typename TResult> auto consume_Windows_Foundation_IAsyncOperation<D, TResult>::GetResults() const
{
TResult winrt_impl_result{ empty_value<TResult>() };
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IAsyncOperation<TResult>)->GetResults(put_abi(winrt_impl_result)));
return winrt_impl_result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IClosable<D>::Close() const
+ template <typename D> auto consume_Windows_Foundation_IClosable<D>::Close() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IClosable)->Close());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_Foundation_IDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Foundation_IDeferralFactory<D>::Create(winrt::Windows::Foundation::DeferralCompletedHandler const& handler) const
+ template <typename D> auto consume_Windows_Foundation_IDeferralFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IGetActivationFactory<D>::GetActivationFactory(param::hstring const& activatableClassId) const
+ template <typename D> auto consume_Windows_Foundation_IGetActivationFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Foundation_IGuidHelperStatics<D>::CreateNewGuid() const
+ template <typename D> auto consume_Windows_Foundation_IGuidHelperStatics<D>::CreateNewGuid() const
{
winrt::guid result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IGuidHelperStatics)->CreateNewGuid(put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Foundation_IGuidHelperStatics<D>::Empty() const
+ template <typename D> auto consume_Windows_Foundation_IGuidHelperStatics<D>::Empty() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IGuidHelperStatics)->get_Empty(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_IGuidHelperStatics<D>::Equals(winrt::guid const& target, winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Foundation_IGuidHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IMemoryBufferReference) consume_Windows_Foundation_IMemoryBuffer<D>::CreateReference() const
+ template <typename D> auto consume_Windows_Foundation_IMemoryBuffer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::MemoryBuffer) consume_Windows_Foundation_IMemoryBufferFactory<D>::Create(uint32_t capacity) const
+ template <typename D> auto consume_Windows_Foundation_IMemoryBufferFactory<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_IMemoryBufferReference<D>::Capacity() const
+ template <typename D> auto consume_Windows_Foundation_IMemoryBufferReference<D>::Capacity() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IMemoryBufferReference)->get_Capacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Foundation_IMemoryBufferReference<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IMemoryBufferReference, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Foundation_IMemoryBufferReference<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IMemoryBufferReference, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Foundation_IMemoryBufferReference<D>::Closed_revoker consume_Windows_Foundation_IMemoryBufferReference<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IMemoryBufferReference, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Foundation_IMemoryBufferReference<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IMemoryBufferReference, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IMemoryBufferReference<D>::Closed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Foundation_IMemoryBufferReference<D>::Closed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Foundation::IMemoryBufferReference)->remove_Closed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::PropertyType) consume_Windows_Foundation_IPropertyValue<D>::Type() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::Type() const
{
winrt::Windows::Foundation::PropertyType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_IPropertyValue<D>::IsNumericScalar() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::IsNumericScalar() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->get_IsNumericScalar(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Foundation_IPropertyValue<D>::GetUInt8() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetUInt8() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetUInt8(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int16_t) consume_Windows_Foundation_IPropertyValue<D>::GetInt16() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetInt16() const
{
int16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetInt16(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Foundation_IPropertyValue<D>::GetUInt16() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetUInt16() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetUInt16(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Foundation_IPropertyValue<D>::GetInt32() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetInt32() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetInt32(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Foundation_IPropertyValue<D>::GetUInt32() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetUInt32() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetUInt32(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_Foundation_IPropertyValue<D>::GetInt64() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetInt64() const
{
int64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetInt64(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Foundation_IPropertyValue<D>::GetUInt64() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetUInt64() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetUInt64(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Foundation_IPropertyValue<D>::GetSingle() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetSingle() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetSingle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Foundation_IPropertyValue<D>::GetDouble() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetDouble() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetDouble(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(char16_t) consume_Windows_Foundation_IPropertyValue<D>::GetChar16() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetChar16() const
{
char16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetChar16(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_IPropertyValue<D>::GetBoolean() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetBoolean() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetBoolean(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IPropertyValue<D>::GetString() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetString() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetString(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Foundation_IPropertyValue<D>::GetGuid() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetGuid() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetGuid(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Foundation_IPropertyValue<D>::GetDateTime() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetDateTime() const
{
winrt::Windows::Foundation::DateTime value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetDateTime(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Foundation_IPropertyValue<D>::GetTimeSpan() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetTimeSpan() const
{
winrt::Windows::Foundation::TimeSpan value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetTimeSpan(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Foundation_IPropertyValue<D>::GetPoint() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetPoint() const
{
winrt::Windows::Foundation::Point value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetPoint(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Foundation_IPropertyValue<D>::GetSize() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetSize() const
{
winrt::Windows::Foundation::Size value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetSize(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Foundation_IPropertyValue<D>::GetRect() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetRect() const
{
winrt::Windows::Foundation::Rect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetRect(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetUInt8Array(com_array<uint8_t>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetUInt8Array(com_array<uint8_t>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetUInt8Array(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetInt16Array(com_array<int16_t>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetInt16Array(com_array<int16_t>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetInt16Array(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetUInt16Array(com_array<uint16_t>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetUInt16Array(com_array<uint16_t>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetUInt16Array(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetInt32Array(com_array<int32_t>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetInt32Array(com_array<int32_t>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetInt32Array(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetUInt32Array(com_array<uint32_t>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetUInt32Array(com_array<uint32_t>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetUInt32Array(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetInt64Array(com_array<int64_t>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetInt64Array(com_array<int64_t>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetInt64Array(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetUInt64Array(com_array<uint64_t>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetUInt64Array(com_array<uint64_t>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetUInt64Array(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetSingleArray(com_array<float>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetSingleArray(com_array<float>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetSingleArray(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetDoubleArray(com_array<double>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetDoubleArray(com_array<double>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetDoubleArray(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetChar16Array(com_array<char16_t>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetChar16Array(com_array<char16_t>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetChar16Array(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetBooleanArray(com_array<bool>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetBooleanArray(com_array<bool>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetBooleanArray(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetStringArray(com_array<hstring>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetStringArray(com_array<hstring>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetStringArray(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetInspectableArray(com_array<winrt::Windows::Foundation::IInspectable>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetInspectableArray(com_array<winrt::Windows::Foundation::IInspectable>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetInspectableArray(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetGuidArray(com_array<winrt::guid>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetGuidArray(com_array<winrt::guid>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetGuidArray(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetDateTimeArray(com_array<winrt::Windows::Foundation::DateTime>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetDateTimeArray(com_array<winrt::Windows::Foundation::DateTime>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetDateTimeArray(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetTimeSpanArray(com_array<winrt::Windows::Foundation::TimeSpan>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetTimeSpanArray(com_array<winrt::Windows::Foundation::TimeSpan>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetTimeSpanArray(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetPointArray(com_array<winrt::Windows::Foundation::Point>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetPointArray(com_array<winrt::Windows::Foundation::Point>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetPointArray(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetSizeArray(com_array<winrt::Windows::Foundation::Size>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetSizeArray(com_array<winrt::Windows::Foundation::Size>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetSizeArray(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Foundation_IPropertyValue<D>::GetRectArray(com_array<winrt::Windows::Foundation::Rect>& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValue<D>::GetRectArray(com_array<winrt::Windows::Foundation::Rect>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IPropertyValue)->GetRectArray(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateEmpty() const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateUInt8(uint8_t value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateInt16(int16_t value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateUInt16(uint16_t value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateInt32(int32_t value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateUInt32(uint32_t value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateInt64(int64_t value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateUInt64(uint64_t value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateSingle(float value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateDouble(double value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateChar16(char16_t value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateBoolean(bool value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateString(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateInspectable(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateGuid(winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateDateTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateTimeSpan(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreatePoint(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateSize(winrt::Windows::Foundation::Size const& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateRect(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateUInt8Array(array_view<uint8_t const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateUInt8Array(array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateInt16Array(array_view<int16_t const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateInt16Array(array_view<int16_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateUInt16Array(array_view<uint16_t const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateUInt16Array(array_view<uint16_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateInt32Array(array_view<int32_t const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateInt32Array(array_view<int32_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateUInt32Array(array_view<uint32_t const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateUInt32Array(array_view<uint32_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateInt64Array(array_view<int64_t const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateInt64Array(array_view<int64_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateUInt64Array(array_view<uint64_t const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateUInt64Array(array_view<uint64_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateSingleArray(array_view<float const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateSingleArray(array_view<float const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateDoubleArray(array_view<double const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateDoubleArray(array_view<double const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateChar16Array(array_view<char16_t const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateChar16Array(array_view<char16_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateBooleanArray(array_view<bool const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateBooleanArray(array_view<bool const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateStringArray(array_view<hstring const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateStringArray(array_view<hstring const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateInspectableArray(array_view<winrt::Windows::Foundation::IInspectable const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateInspectableArray(array_view<winrt::Windows::Foundation::IInspectable const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateGuidArray(array_view<winrt::guid const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateGuidArray(array_view<winrt::guid const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateDateTimeArray(array_view<winrt::Windows::Foundation::DateTime const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateDateTimeArray(array_view<winrt::Windows::Foundation::DateTime const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateTimeSpanArray(array_view<winrt::Windows::Foundation::TimeSpan const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateTimeSpanArray(array_view<winrt::Windows::Foundation::TimeSpan const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreatePointArray(array_view<winrt::Windows::Foundation::Point const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreatePointArray(array_view<winrt::Windows::Foundation::Point const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateSizeArray(array_view<winrt::Windows::Foundation::Size const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateSizeArray(array_view<winrt::Windows::Foundation::Size const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Foundation_IPropertyValueStatics<D>::CreateRectArray(array_view<winrt::Windows::Foundation::Rect const> value) const
+ template <typename D> auto consume_Windows_Foundation_IPropertyValueStatics<D>::CreateRectArray(array_view<winrt::Windows::Foundation::Rect const> 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 <typename D, typename T> WINRT_IMPL_AUTO(com_array<T>) consume_Windows_Foundation_IReferenceArray<D, T>::Value() const
+ template <typename D, typename T> auto consume_Windows_Foundation_IReferenceArray<D, T>::Value() const
{
uint32_t winrt_impl_result_impl_size{};
T* winrt_impl_result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IReferenceArray<T>)->get_Value(&winrt_impl_result_impl_size, &winrt_impl_result));
return com_array<T>{ winrt_impl_result, winrt_impl_result_impl_size, take_ownership_from_abi };
}
- template <typename D, typename T> WINRT_IMPL_AUTO(T) consume_Windows_Foundation_IReference<D, T>::Value() const
+ template <typename D, typename T> auto consume_Windows_Foundation_IReference<D, T>::Value() const
{
T winrt_impl_result{ empty_value<T>() };
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IReference<T>)->get_Value(put_abi(winrt_impl_result)));
return winrt_impl_result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IStringable<D>::ToString() const
+ template <typename D> auto consume_Windows_Foundation_IStringable<D>::ToString() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IStringable)->ToString(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriEscapeStatics<D>::UnescapeComponent(param::hstring const& toUnescape) const
+ template <typename D> auto consume_Windows_Foundation_IUriEscapeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriEscapeStatics<D>::EscapeComponent(param::hstring const& toEscape) const
+ template <typename D> auto consume_Windows_Foundation_IUriEscapeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass<D>::AbsoluteUri() const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClass<D>::AbsoluteUri() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_AbsoluteUri(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass<D>::DisplayUri() const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClass<D>::DisplayUri() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_DisplayUri(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass<D>::Domain() const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClass<D>::Domain() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Domain(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass<D>::Extension() const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClass<D>::Extension() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Extension(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass<D>::Fragment() const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClass<D>::Fragment() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Fragment(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass<D>::Host() const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClass<D>::Host() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Host(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass<D>::Password() const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClass<D>::Password() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Password(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass<D>::Path() const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClass<D>::Path() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Path(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass<D>::Query() const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClass<D>::Query() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Query(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::WwwFormUrlDecoder) consume_Windows_Foundation_IUriRuntimeClass<D>::QueryParsed() const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClass<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass<D>::RawUri() const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClass<D>::RawUri() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_RawUri(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass<D>::SchemeName() const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClass<D>::SchemeName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_SchemeName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClass<D>::UserName() const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClass<D>::UserName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_UserName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Foundation_IUriRuntimeClass<D>::Port() const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClass<D>::Port() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Port(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_IUriRuntimeClass<D>::Suspicious() const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClass<D>::Suspicious() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClass)->get_Suspicious(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Foundation_IUriRuntimeClass<D>::Equals(winrt::Windows::Foundation::Uri const& pUri) const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClass<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Foundation_IUriRuntimeClass<D>::CombineUri(param::hstring const& relativeUri) const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClass<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Foundation_IUriRuntimeClassFactory<D>::CreateUri(param::hstring const& uri) const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClassFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Foundation_IUriRuntimeClassFactory<D>::CreateWithRelativeUri(param::hstring const& baseUri, param::hstring const& relativeUri) const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClassFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClassWithAbsoluteCanonicalUri<D>::AbsoluteCanonicalUri() const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClassWithAbsoluteCanonicalUri<D>::AbsoluteCanonicalUri() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClassWithAbsoluteCanonicalUri)->get_AbsoluteCanonicalUri(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IUriRuntimeClassWithAbsoluteCanonicalUri<D>::DisplayIri() const
+ template <typename D> auto consume_Windows_Foundation_IUriRuntimeClassWithAbsoluteCanonicalUri<D>::DisplayIri() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IUriRuntimeClassWithAbsoluteCanonicalUri)->get_DisplayIri(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IWwwFormUrlDecoderEntry<D>::Name() const
+ template <typename D> auto consume_Windows_Foundation_IWwwFormUrlDecoderEntry<D>::Name() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IWwwFormUrlDecoderEntry)->get_Name(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IWwwFormUrlDecoderEntry<D>::Value() const
+ template <typename D> auto consume_Windows_Foundation_IWwwFormUrlDecoderEntry<D>::Value() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Foundation::IWwwFormUrlDecoderEntry)->get_Value(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Foundation_IWwwFormUrlDecoderRuntimeClass<D>::GetFirstValueByName(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Foundation_IWwwFormUrlDecoderRuntimeClass<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::WwwFormUrlDecoder) consume_Windows_Foundation_IWwwFormUrlDecoderRuntimeClassFactory<D>::CreateWwwFormUrlDecoder(param::hstring const& query) const
+ template <typename D> auto consume_Windows_Foundation_IWwwFormUrlDecoderRuntimeClassFactory<D>::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<typename Awaiter>
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<typename Async>
+ 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<bool> 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 <typename FormatContext>
+auto std::formatter<winrt::Windows::Foundation::IStringable, wchar_t>::format(winrt::Windows::Foundation::IStringable const& obj, FormatContext& fc)
+{
+ return std::formatter<winrt::hstring, wchar_t>::format(obj.ToString(), fc);
+}
+#endif
#endif
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.Custom.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.Custom.h
index ce266d7979d..6867177e3c8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.Custom.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Gaming_Input_Custom_ICustomGameControllerFactory<D>::CreateGameController(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_ICustomGameControllerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_ICustomGameControllerFactory<D>::OnGameControllerAdded(winrt::Windows::Gaming::Input::IGameController const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_ICustomGameControllerFactory<D>::OnGameControllerAdded(winrt::Windows::Gaming::Input::IGameController const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory)->OnGameControllerAdded(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_ICustomGameControllerFactory<D>::OnGameControllerRemoved(winrt::Windows::Gaming::Input::IGameController const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_ICustomGameControllerFactory<D>::OnGameControllerRemoved(winrt::Windows::Gaming::Input::IGameController const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory)->OnGameControllerRemoved(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics<D>::RegisterCustomFactoryForGipInterface(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::guid const& interfaceId) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics<D>::RegisterCustomFactoryForHardwareId(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, uint16_t hardwareVendorId, uint16_t hardwareProductId) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics<D>::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 <typename D> auto consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics<D>::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<int32_t>(xusbType), static_cast<int32_t>(xusbSubtype)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::IGameController) consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics2<D>::TryGetFactoryControllerFromGameController(winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory const& factory, winrt::Windows::Gaming::Input::IGameController const& gameController) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGameControllerFactoryManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGameControllerInputSink<D>::OnInputResumed(uint64_t timestamp) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGameControllerInputSink<D>::OnInputResumed(uint64_t timestamp) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGameControllerInputSink)->OnInputResumed(timestamp));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGameControllerInputSink<D>::OnInputSuspended(uint64_t timestamp) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGameControllerInputSink<D>::OnInputSuspended(uint64_t timestamp) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGameControllerInputSink)->OnInputSuspended(timestamp));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::Custom::GameControllerVersionInfo) consume_Windows_Gaming_Input_Custom_IGameControllerProvider<D>::FirmwareVersionInfo() const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGameControllerProvider<D>::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 <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Gaming_Input_Custom_IGameControllerProvider<D>::HardwareProductId() const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGameControllerProvider<D>::HardwareProductId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider)->get_HardwareProductId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Gaming_Input_Custom_IGameControllerProvider<D>::HardwareVendorId() const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGameControllerProvider<D>::HardwareVendorId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider)->get_HardwareVendorId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::Custom::GameControllerVersionInfo) consume_Windows_Gaming_Input_Custom_IGameControllerProvider<D>::HardwareVersionInfo() const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGameControllerProvider<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Input_Custom_IGameControllerProvider<D>::IsConnected() const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGameControllerProvider<D>::IsConnected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider)->get_IsConnected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Gaming_Input_Custom_IGipFirmwareUpdateResult<D>::ExtendedErrorCode() const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGipFirmwareUpdateResult<D>::ExtendedErrorCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGipFirmwareUpdateResult)->get_ExtendedErrorCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Gaming_Input_Custom_IGipFirmwareUpdateResult<D>::FinalComponentId() const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGipFirmwareUpdateResult<D>::FinalComponentId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGipFirmwareUpdateResult)->get_FinalComponentId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::Custom::GipFirmwareUpdateStatus) consume_Windows_Gaming_Input_Custom_IGipFirmwareUpdateResult<D>::Status() const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGipFirmwareUpdateResult<D>::Status() const
{
winrt::Windows::Gaming::Input::Custom::GipFirmwareUpdateStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGipFirmwareUpdateResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGipGameControllerInputSink<D>::OnKeyReceived(uint64_t timestamp, uint8_t keyCode, bool isPressed) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGipGameControllerInputSink<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGipGameControllerInputSink<D>::OnMessageReceived(uint64_t timestamp, winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, uint8_t sequenceId, array_view<uint8_t const> messageBuffer) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGipGameControllerInputSink<D>::OnMessageReceived(uint64_t timestamp, winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, uint8_t sequenceId, array_view<uint8_t const> messageBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGipGameControllerInputSink)->OnMessageReceived(timestamp, static_cast<int32_t>(messageClass), messageId, sequenceId, messageBuffer.size(), get_abi(messageBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGipGameControllerProvider<D>::SendMessage(winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, array_view<uint8_t const> messageBuffer) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGipGameControllerProvider<D>::SendMessage(winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, array_view<uint8_t const> messageBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGipGameControllerProvider)->SendMessage(static_cast<int32_t>(messageClass), messageId, messageBuffer.size(), get_abi(messageBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IGipGameControllerProvider<D>::SendReceiveMessage(winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, array_view<uint8_t const> requestMessageBuffer, array_view<uint8_t> responseMessageBuffer) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGipGameControllerProvider<D>::SendReceiveMessage(winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, array_view<uint8_t const> requestMessageBuffer, array_view<uint8_t> responseMessageBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IGipGameControllerProvider)->SendReceiveMessage(static_cast<int32_t>(messageClass), messageId, requestMessageBuffer.size(), get_abi(requestMessageBuffer), responseMessageBuffer.size(), put_abi(responseMessageBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Gaming::Input::Custom::GipFirmwareUpdateResult, winrt::Windows::Gaming::Input::Custom::GipFirmwareUpdateProgress>) consume_Windows_Gaming_Input_Custom_IGipGameControllerProvider<D>::UpdateFirmwareAsync(winrt::Windows::Storage::Streams::IInputStream const& firmwareImage) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IGipGameControllerProvider<D>::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<winrt::Windows::Gaming::Input::Custom::GipFirmwareUpdateResult, winrt::Windows::Gaming::Input::Custom::GipFirmwareUpdateProgress>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IHidGameControllerInputSink<D>::OnInputReportReceived(uint64_t timestamp, uint8_t reportId, array_view<uint8_t const> reportBuffer) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IHidGameControllerInputSink<D>::OnInputReportReceived(uint64_t timestamp, uint8_t reportId, array_view<uint8_t const> reportBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IHidGameControllerInputSink)->OnInputReportReceived(timestamp, reportId, reportBuffer.size(), get_abi(reportBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider<D>::UsageId() const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider<D>::UsageId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IHidGameControllerProvider)->get_UsageId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider<D>::UsagePage() const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider<D>::UsagePage() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IHidGameControllerProvider)->get_UsagePage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider<D>::GetFeatureReport(uint8_t reportId, array_view<uint8_t> reportBuffer) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider<D>::GetFeatureReport(uint8_t reportId, array_view<uint8_t> reportBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IHidGameControllerProvider)->GetFeatureReport(reportId, reportBuffer.size(), put_abi(reportBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider<D>::SendFeatureReport(uint8_t reportId, array_view<uint8_t const> reportBuffer) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider<D>::SendFeatureReport(uint8_t reportId, array_view<uint8_t const> reportBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IHidGameControllerProvider)->SendFeatureReport(reportId, reportBuffer.size(), get_abi(reportBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider<D>::SendOutputReport(uint8_t reportId, array_view<uint8_t const> reportBuffer) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IHidGameControllerProvider<D>::SendOutputReport(uint8_t reportId, array_view<uint8_t const> reportBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IHidGameControllerProvider)->SendOutputReport(reportId, reportBuffer.size(), get_abi(reportBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IXusbGameControllerInputSink<D>::OnInputReceived(uint64_t timestamp, uint8_t reportId, array_view<uint8_t const> inputBuffer) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IXusbGameControllerInputSink<D>::OnInputReceived(uint64_t timestamp, uint8_t reportId, array_view<uint8_t const> inputBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IXusbGameControllerInputSink)->OnInputReceived(timestamp, reportId, inputBuffer.size(), get_abi(inputBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_Custom_IXusbGameControllerProvider<D>::SetVibration(double lowFrequencyMotorSpeed, double highFrequencyMotorSpeed) const
+ template <typename D> auto consume_Windows_Gaming_Input_Custom_IXusbGameControllerProvider<D>::SetVibration(double lowFrequencyMotorSpeed, double highFrequencyMotorSpeed) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::Custom::IXusbGameControllerProvider)->SetVibration(lowFrequencyMotorSpeed, highFrequencyMotorSpeed));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.ForceFeedback.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.ForceFeedback.h
index bb250344549..a0da80235dc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.ForceFeedback.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::ConditionForceEffectKind) consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffect<D>::Kind() const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffect<D>::Kind() const
{
winrt::Windows::Gaming::Input::ForceFeedback::ConditionForceEffectKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IConditionForceEffect)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffect<D>::SetParameters(winrt::Windows::Foundation::Numerics::float3 const& direction, float positiveCoefficient, float negativeCoefficient, float maxPositiveMagnitude, float maxNegativeMagnitude, float deadZone, float bias) const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::ConditionForceEffect) consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffectFactory<D>::CreateInstance(winrt::Windows::Gaming::Input::ForceFeedback::ConditionForceEffectKind const& effectKind) const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IConditionForceEffectFactory<D>::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<int32_t>(effectKind), &value));
return winrt::Windows::Gaming::Input::ForceFeedback::ConditionForceEffect{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IConstantForceEffect<D>::SetParameters(winrt::Windows::Foundation::Numerics::float3 const& vector, winrt::Windows::Foundation::TimeSpan const& duration) const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IConstantForceEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IConstantForceEffect<D>::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 <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IConstantForceEffect<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect<D>::Gain() const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect<D>::Gain() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect)->get_Gain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect<D>::Gain(double value) const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect<D>::Gain(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect)->put_Gain(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackEffectState) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect<D>::State() const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect<D>::State() const
{
winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackEffectState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect<D>::Start() const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect<D>::Stop() const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackEffect<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::AreEffectsPaused() const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::AreEffectsPaused() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->get_AreEffectsPaused(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::MasterGain() const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::MasterGain() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->get_MasterGain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::MasterGain(double value) const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::MasterGain(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->put_MasterGain(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackEffectAxes) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::SupportedAxes() const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::SupportedAxes() const
{
winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackEffectAxes value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->get_SupportedAxes(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult>) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::LoadEffectAsync(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect const& effect) const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::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<winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::PauseAllEffects() const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::PauseAllEffects() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->PauseAllEffects());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::ResumeAllEffects() const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::ResumeAllEffects() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->ResumeAllEffects());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::StopAllEffects() const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::StopAllEffects() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->StopAllEffects());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::TryDisableAsync() const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::TryDisableAsync() const
{
void* asyncOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->TryDisableAsync(&asyncOperation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::TryEnableAsync() const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::TryEnableAsync() const
{
void* asyncOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->TryEnableAsync(&asyncOperation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::TryResetAsync() const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::TryResetAsync() const
{
void* asyncOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor)->TryResetAsync(&asyncOperation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::TryUnloadEffectAsync(winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect const& effect) const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IForceFeedbackMotor<D>::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<bool>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffectKind) consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffect<D>::Kind() const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffect<D>::Kind() const
{
winrt::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffectKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::ForceFeedback::IPeriodicForceEffect)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffect<D>::SetParameters(winrt::Windows::Foundation::Numerics::float3 const& vector, float frequency, float phase, float bias, winrt::Windows::Foundation::TimeSpan const& duration) const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffect<D>::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 <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffect) consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffectFactory<D>::CreateInstance(winrt::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffectKind const& effectKind) const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IPeriodicForceEffectFactory<D>::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<int32_t>(effectKind), &value));
return winrt::Windows::Gaming::Input::ForceFeedback::PeriodicForceEffect{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IRampForceEffect<D>::SetParameters(winrt::Windows::Foundation::Numerics::float3 const& startVector, winrt::Windows::Foundation::Numerics::float3 const& endVector, winrt::Windows::Foundation::TimeSpan const& duration) const
+ template <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IRampForceEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_ForceFeedback_IRampForceEffect<D>::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 <typename D> auto consume_Windows_Gaming_Input_ForceFeedback_IRampForceEffect<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.Preview.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.Preview.h
index d8696b16ebb..35aecfecd06 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.Preview.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_Input_Preview_IGameControllerProviderInfoStatics<D>::GetParentProviderId(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const
+ template <typename D> auto consume_Windows_Gaming_Input_Preview_IGameControllerProviderInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_Input_Preview_IGameControllerProviderInfoStatics<D>::GetProviderId(winrt::Windows::Gaming::Input::Custom::IGameControllerProvider const& provider) const
+ template <typename D> auto consume_Windows_Gaming_Input_Preview_IGameControllerProviderInfoStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.h
index 961e11e14da..78b2397cb81 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Input.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) consume_Windows_Gaming_Input_IArcadeStick<D>::GetButtonLabel(winrt::Windows::Gaming::Input::ArcadeStickButtons const& button) const
+ template <typename D> auto consume_Windows_Gaming_Input_IArcadeStick<D>::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<uint32_t>(button), reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ArcadeStickReading) consume_Windows_Gaming_Input_IArcadeStick<D>::GetCurrentReading() const
+ template <typename D> auto consume_Windows_Gaming_Input_IArcadeStick<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IArcadeStickStatics<D>::ArcadeStickAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IArcadeStickStatics<D>::ArcadeStickAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> 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 D> typename consume_Windows_Gaming_Input_IArcadeStickStatics<D>::ArcadeStickAdded_revoker consume_Windows_Gaming_Input_IArcadeStickStatics<D>::ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IArcadeStickStatics<D>::ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value) const
{
return impl::make_event_revoker<D, ArcadeStickAdded_revoker>(this, ArcadeStickAdded(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IArcadeStickStatics<D>::ArcadeStickAdded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Input_IArcadeStickStatics<D>::ArcadeStickAdded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IArcadeStickStatics)->remove_ArcadeStickAdded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IArcadeStickStatics<D>::ArcadeStickRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IArcadeStickStatics<D>::ArcadeStickRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> 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 D> typename consume_Windows_Gaming_Input_IArcadeStickStatics<D>::ArcadeStickRemoved_revoker consume_Windows_Gaming_Input_IArcadeStickStatics<D>::ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IArcadeStickStatics<D>::ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value) const
{
return impl::make_event_revoker<D, ArcadeStickRemoved_revoker>(this, ArcadeStickRemoved(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IArcadeStickStatics<D>::ArcadeStickRemoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Input_IArcadeStickStatics<D>::ArcadeStickRemoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IArcadeStickStatics)->remove_ArcadeStickRemoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::ArcadeStick>) consume_Windows_Gaming_Input_IArcadeStickStatics<D>::ArcadeSticks() const
+ template <typename D> auto consume_Windows_Gaming_Input_IArcadeStickStatics<D>::ArcadeSticks() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IArcadeStickStatics)->get_ArcadeSticks(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::ArcadeStick>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ArcadeStick) consume_Windows_Gaming_Input_IArcadeStickStatics2<D>::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const
+ template <typename D> auto consume_Windows_Gaming_Input_IArcadeStickStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerSwitchKind) consume_Windows_Gaming_Input_IFlightStick<D>::HatSwitchKind() const
+ template <typename D> auto consume_Windows_Gaming_Input_IFlightStick<D>::HatSwitchKind() const
{
winrt::Windows::Gaming::Input::GameControllerSwitchKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IFlightStick)->get_HatSwitchKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) consume_Windows_Gaming_Input_IFlightStick<D>::GetButtonLabel(winrt::Windows::Gaming::Input::FlightStickButtons const& button) const
+ template <typename D> auto consume_Windows_Gaming_Input_IFlightStick<D>::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<uint32_t>(button), reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::FlightStickReading) consume_Windows_Gaming_Input_IFlightStick<D>::GetCurrentReading() const
+ template <typename D> auto consume_Windows_Gaming_Input_IFlightStick<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IFlightStickStatics<D>::FlightStickAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IFlightStickStatics<D>::FlightStickAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> 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 D> typename consume_Windows_Gaming_Input_IFlightStickStatics<D>::FlightStickAdded_revoker consume_Windows_Gaming_Input_IFlightStickStatics<D>::FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IFlightStickStatics<D>::FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value) const
{
return impl::make_event_revoker<D, FlightStickAdded_revoker>(this, FlightStickAdded(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IFlightStickStatics<D>::FlightStickAdded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Input_IFlightStickStatics<D>::FlightStickAdded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IFlightStickStatics)->remove_FlightStickAdded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IFlightStickStatics<D>::FlightStickRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IFlightStickStatics<D>::FlightStickRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> 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 D> typename consume_Windows_Gaming_Input_IFlightStickStatics<D>::FlightStickRemoved_revoker consume_Windows_Gaming_Input_IFlightStickStatics<D>::FlightStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IFlightStickStatics<D>::FlightStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value) const
{
return impl::make_event_revoker<D, FlightStickRemoved_revoker>(this, FlightStickRemoved(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IFlightStickStatics<D>::FlightStickRemoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Input_IFlightStickStatics<D>::FlightStickRemoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IFlightStickStatics)->remove_FlightStickRemoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::FlightStick>) consume_Windows_Gaming_Input_IFlightStickStatics<D>::FlightSticks() const
+ template <typename D> auto consume_Windows_Gaming_Input_IFlightStickStatics<D>::FlightSticks() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IFlightStickStatics)->get_FlightSticks(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::FlightStick>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::FlightStick) consume_Windows_Gaming_Input_IFlightStickStatics<D>::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const
+ template <typename D> auto consume_Windows_Gaming_Input_IFlightStickStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IGameController<D>::HeadsetConnected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::Gaming::Input::Headset> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IGameController<D>::HeadsetConnected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::Gaming::Input::Headset> 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 D> typename consume_Windows_Gaming_Input_IGameController<D>::HeadsetConnected_revoker consume_Windows_Gaming_Input_IGameController<D>::HeadsetConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::Gaming::Input::Headset> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IGameController<D>::HeadsetConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::Gaming::Input::Headset> const& value) const
{
return impl::make_event_revoker<D, HeadsetConnected_revoker>(this, HeadsetConnected(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IGameController<D>::HeadsetConnected(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Input_IGameController<D>::HeadsetConnected(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGameController)->remove_HeadsetConnected(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IGameController<D>::HeadsetDisconnected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::Gaming::Input::Headset> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IGameController<D>::HeadsetDisconnected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::Gaming::Input::Headset> 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 D> typename consume_Windows_Gaming_Input_IGameController<D>::HeadsetDisconnected_revoker consume_Windows_Gaming_Input_IGameController<D>::HeadsetDisconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::Gaming::Input::Headset> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IGameController<D>::HeadsetDisconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::Gaming::Input::Headset> const& value) const
{
return impl::make_event_revoker<D, HeadsetDisconnected_revoker>(this, HeadsetDisconnected(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IGameController<D>::HeadsetDisconnected(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Input_IGameController<D>::HeadsetDisconnected(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGameController)->remove_HeadsetDisconnected(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IGameController<D>::UserChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::System::UserChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IGameController<D>::UserChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::System::UserChangedEventArgs> 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 D> typename consume_Windows_Gaming_Input_IGameController<D>::UserChanged_revoker consume_Windows_Gaming_Input_IGameController<D>::UserChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::System::UserChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IGameController<D>::UserChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::System::UserChangedEventArgs> const& value) const
{
return impl::make_event_revoker<D, UserChanged_revoker>(this, UserChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IGameController<D>::UserChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Input_IGameController<D>::UserChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGameController)->remove_UserChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::Headset) consume_Windows_Gaming_Input_IGameController<D>::Headset() const
+ template <typename D> auto consume_Windows_Gaming_Input_IGameController<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Input_IGameController<D>::IsWireless() const
+ template <typename D> auto consume_Windows_Gaming_Input_IGameController<D>::IsWireless() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGameController)->get_IsWireless(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Gaming_Input_IGameController<D>::User() const
+ template <typename D> auto consume_Windows_Gaming_Input_IGameController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Power::BatteryReport) consume_Windows_Gaming_Input_IGameControllerBatteryInfo<D>::TryGetBatteryReport() const
+ template <typename D> auto consume_Windows_Gaming_Input_IGameControllerBatteryInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GamepadVibration) consume_Windows_Gaming_Input_IGamepad<D>::Vibration() const
+ template <typename D> auto consume_Windows_Gaming_Input_IGamepad<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IGamepad<D>::Vibration(winrt::Windows::Gaming::Input::GamepadVibration const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IGamepad<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GamepadReading) consume_Windows_Gaming_Input_IGamepad<D>::GetCurrentReading() const
+ template <typename D> auto consume_Windows_Gaming_Input_IGamepad<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) consume_Windows_Gaming_Input_IGamepad2<D>::GetButtonLabel(winrt::Windows::Gaming::Input::GamepadButtons const& button) const
+ template <typename D> auto consume_Windows_Gaming_Input_IGamepad2<D>::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<uint32_t>(button), reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IGamepadStatics<D>::GamepadAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IGamepadStatics<D>::GamepadAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> 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 D> typename consume_Windows_Gaming_Input_IGamepadStatics<D>::GamepadAdded_revoker consume_Windows_Gaming_Input_IGamepadStatics<D>::GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IGamepadStatics<D>::GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value) const
{
return impl::make_event_revoker<D, GamepadAdded_revoker>(this, GamepadAdded(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IGamepadStatics<D>::GamepadAdded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Input_IGamepadStatics<D>::GamepadAdded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGamepadStatics)->remove_GamepadAdded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IGamepadStatics<D>::GamepadRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IGamepadStatics<D>::GamepadRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> 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 D> typename consume_Windows_Gaming_Input_IGamepadStatics<D>::GamepadRemoved_revoker consume_Windows_Gaming_Input_IGamepadStatics<D>::GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IGamepadStatics<D>::GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value) const
{
return impl::make_event_revoker<D, GamepadRemoved_revoker>(this, GamepadRemoved(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IGamepadStatics<D>::GamepadRemoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Input_IGamepadStatics<D>::GamepadRemoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGamepadStatics)->remove_GamepadRemoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::Gamepad>) consume_Windows_Gaming_Input_IGamepadStatics<D>::Gamepads() const
+ template <typename D> auto consume_Windows_Gaming_Input_IGamepadStatics<D>::Gamepads() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IGamepadStatics)->get_Gamepads(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::Gamepad>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::Gamepad) consume_Windows_Gaming_Input_IGamepadStatics2<D>::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const
+ template <typename D> auto consume_Windows_Gaming_Input_IGamepadStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_Input_IHeadset<D>::CaptureDeviceId() const
+ template <typename D> auto consume_Windows_Gaming_Input_IHeadset<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_Input_IHeadset<D>::RenderDeviceId() const
+ template <typename D> auto consume_Windows_Gaming_Input_IHeadset<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Input_IRacingWheel<D>::HasClutch() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRacingWheel<D>::HasClutch() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheel)->get_HasClutch(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Input_IRacingWheel<D>::HasHandbrake() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRacingWheel<D>::HasHandbrake() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheel)->get_HasHandbrake(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Input_IRacingWheel<D>::HasPatternShifter() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRacingWheel<D>::HasPatternShifter() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheel)->get_HasPatternShifter(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Gaming_Input_IRacingWheel<D>::MaxPatternShifterGear() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRacingWheel<D>::MaxPatternShifterGear() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheel)->get_MaxPatternShifterGear(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Gaming_Input_IRacingWheel<D>::MaxWheelAngle() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRacingWheel<D>::MaxWheelAngle() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheel)->get_MaxWheelAngle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor) consume_Windows_Gaming_Input_IRacingWheel<D>::WheelMotor() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRacingWheel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) consume_Windows_Gaming_Input_IRacingWheel<D>::GetButtonLabel(winrt::Windows::Gaming::Input::RacingWheelButtons const& button) const
+ template <typename D> auto consume_Windows_Gaming_Input_IRacingWheel<D>::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<uint32_t>(button), reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::RacingWheelReading) consume_Windows_Gaming_Input_IRacingWheel<D>::GetCurrentReading() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRacingWheel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IRacingWheelStatics<D>::RacingWheelAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IRacingWheelStatics<D>::RacingWheelAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> 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 D> typename consume_Windows_Gaming_Input_IRacingWheelStatics<D>::RacingWheelAdded_revoker consume_Windows_Gaming_Input_IRacingWheelStatics<D>::RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IRacingWheelStatics<D>::RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value) const
{
return impl::make_event_revoker<D, RacingWheelAdded_revoker>(this, RacingWheelAdded(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IRacingWheelStatics<D>::RacingWheelAdded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Input_IRacingWheelStatics<D>::RacingWheelAdded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheelStatics)->remove_RacingWheelAdded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IRacingWheelStatics<D>::RacingWheelRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IRacingWheelStatics<D>::RacingWheelRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> 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 D> typename consume_Windows_Gaming_Input_IRacingWheelStatics<D>::RacingWheelRemoved_revoker consume_Windows_Gaming_Input_IRacingWheelStatics<D>::RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IRacingWheelStatics<D>::RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value) const
{
return impl::make_event_revoker<D, RacingWheelRemoved_revoker>(this, RacingWheelRemoved(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IRacingWheelStatics<D>::RacingWheelRemoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Input_IRacingWheelStatics<D>::RacingWheelRemoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheelStatics)->remove_RacingWheelRemoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::RacingWheel>) consume_Windows_Gaming_Input_IRacingWheelStatics<D>::RacingWheels() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRacingWheelStatics<D>::RacingWheels() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRacingWheelStatics)->get_RacingWheels(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::RacingWheel>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::RacingWheel) consume_Windows_Gaming_Input_IRacingWheelStatics2<D>::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const
+ template <typename D> auto consume_Windows_Gaming_Input_IRacingWheelStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Gaming_Input_IRawGameController<D>::AxisCount() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameController<D>::AxisCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController)->get_AxisCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Gaming_Input_IRawGameController<D>::ButtonCount() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameController<D>::ButtonCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController)->get_ButtonCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor>) consume_Windows_Gaming_Input_IRawGameController<D>::ForceFeedbackMotors() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameController<D>::ForceFeedbackMotors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController)->get_ForceFeedbackMotors(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Gaming_Input_IRawGameController<D>::HardwareProductId() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameController<D>::HardwareProductId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController)->get_HardwareProductId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Gaming_Input_IRawGameController<D>::HardwareVendorId() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameController<D>::HardwareVendorId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController)->get_HardwareVendorId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Gaming_Input_IRawGameController<D>::SwitchCount() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameController<D>::SwitchCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController)->get_SwitchCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) consume_Windows_Gaming_Input_IRawGameController<D>::GetButtonLabel(int32_t buttonIndex) const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameController<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Gaming_Input_IRawGameController<D>::GetCurrentReading(array_view<bool> buttonArray, array_view<winrt::Windows::Gaming::Input::GameControllerSwitchPosition> switchArray, array_view<double> axisArray) const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameController<D>::GetCurrentReading(array_view<bool> buttonArray, array_view<winrt::Windows::Gaming::Input::GameControllerSwitchPosition> switchArray, array_view<double> 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), &timestamp));
return timestamp;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerSwitchKind) consume_Windows_Gaming_Input_IRawGameController<D>::GetSwitchKind(int32_t switchIndex) const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameController<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Haptics::SimpleHapticsController>) consume_Windows_Gaming_Input_IRawGameController2<D>::SimpleHapticsControllers() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameController2<D>::SimpleHapticsControllers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameController2)->get_SimpleHapticsControllers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Haptics::SimpleHapticsController>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_Input_IRawGameController2<D>::NonRoamableId() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameController2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_Input_IRawGameController2<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameController2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::RawGameControllerAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::RawGameControllerAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> 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 D> typename consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::RawGameControllerAdded_revoker consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value) const
{
return impl::make_event_revoker<D, RawGameControllerAdded_revoker>(this, RawGameControllerAdded(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::RawGameControllerAdded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::RawGameControllerAdded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameControllerStatics)->remove_RawGameControllerAdded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::RawGameControllerRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::RawGameControllerRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> 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 D> typename consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::RawGameControllerRemoved_revoker consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::RawGameControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::RawGameControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value) const
{
return impl::make_event_revoker<D, RawGameControllerRemoved_revoker>(this, RawGameControllerRemoved(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::RawGameControllerRemoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::RawGameControllerRemoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameControllerStatics)->remove_RawGameControllerRemoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::RawGameController>) consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::RawGameControllers() const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::RawGameControllers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IRawGameControllerStatics)->get_RawGameControllers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::RawGameController>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::RawGameController) consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const
+ template <typename D> auto consume_Windows_Gaming_Input_IRawGameControllerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::UINavigationReading) consume_Windows_Gaming_Input_IUINavigationController<D>::GetCurrentReading() const
+ template <typename D> auto consume_Windows_Gaming_Input_IUINavigationController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) consume_Windows_Gaming_Input_IUINavigationController<D>::GetOptionalButtonLabel(winrt::Windows::Gaming::Input::OptionalUINavigationButtons const& button) const
+ template <typename D> auto consume_Windows_Gaming_Input_IUINavigationController<D>::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<uint32_t>(button), reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GameControllerButtonLabel) consume_Windows_Gaming_Input_IUINavigationController<D>::GetRequiredButtonLabel(winrt::Windows::Gaming::Input::RequiredUINavigationButtons const& button) const
+ template <typename D> auto consume_Windows_Gaming_Input_IUINavigationController<D>::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<uint32_t>(button), reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IUINavigationControllerStatics<D>::UINavigationControllerAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IUINavigationControllerStatics<D>::UINavigationControllerAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> 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 D> typename consume_Windows_Gaming_Input_IUINavigationControllerStatics<D>::UINavigationControllerAdded_revoker consume_Windows_Gaming_Input_IUINavigationControllerStatics<D>::UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IUINavigationControllerStatics<D>::UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value) const
{
return impl::make_event_revoker<D, UINavigationControllerAdded_revoker>(this, UINavigationControllerAdded(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IUINavigationControllerStatics<D>::UINavigationControllerAdded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Input_IUINavigationControllerStatics<D>::UINavigationControllerAdded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IUINavigationControllerStatics)->remove_UINavigationControllerAdded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Input_IUINavigationControllerStatics<D>::UINavigationControllerRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IUINavigationControllerStatics<D>::UINavigationControllerRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> 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 D> typename consume_Windows_Gaming_Input_IUINavigationControllerStatics<D>::UINavigationControllerRemoved_revoker consume_Windows_Gaming_Input_IUINavigationControllerStatics<D>::UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Input_IUINavigationControllerStatics<D>::UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value) const
{
return impl::make_event_revoker<D, UINavigationControllerRemoved_revoker>(this, UINavigationControllerRemoved(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Input_IUINavigationControllerStatics<D>::UINavigationControllerRemoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Input_IUINavigationControllerStatics<D>::UINavigationControllerRemoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IUINavigationControllerStatics)->remove_UINavigationControllerRemoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::UINavigationController>) consume_Windows_Gaming_Input_IUINavigationControllerStatics<D>::UINavigationControllers() const
+ template <typename D> auto consume_Windows_Gaming_Input_IUINavigationControllerStatics<D>::UINavigationControllers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Input::IUINavigationControllerStatics)->get_UINavigationControllers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::UINavigationController>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::UINavigationController) consume_Windows_Gaming_Input_IUINavigationControllerStatics2<D>::FromGameController(winrt::Windows::Gaming::Input::IGameController const& gameController) const
+ template <typename D> auto consume_Windows_Gaming_Input_IUINavigationControllerStatics2<D>::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<ArcadeStick, IArcadeStickStatics>([&](IArcadeStickStatics const& f) { return f.ArcadeStickAdded(value); });
}
- inline ArcadeStick::ArcadeStickAdded_revoker ArcadeStick::ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value)
+ inline auto ArcadeStick::ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value)
{
auto f = get_activation_factory<ArcadeStick, winrt::Windows::Gaming::Input::IArcadeStickStatics>();
- 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<ArcadeStick, IArcadeStickStatics>([&](IArcadeStickStatics const& f) { return f.ArcadeStickRemoved(value); });
}
- inline ArcadeStick::ArcadeStickRemoved_revoker ArcadeStick::ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value)
+ inline auto ArcadeStick::ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value)
{
auto f = get_activation_factory<ArcadeStick, winrt::Windows::Gaming::Input::IArcadeStickStatics>();
- 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<FlightStick, IFlightStickStatics>([&](IFlightStickStatics const& f) { return f.FlightStickAdded(value); });
}
- inline FlightStick::FlightStickAdded_revoker FlightStick::FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value)
+ inline auto FlightStick::FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value)
{
auto f = get_activation_factory<FlightStick, winrt::Windows::Gaming::Input::IFlightStickStatics>();
- 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<FlightStick, IFlightStickStatics>([&](IFlightStickStatics const& f) { return f.FlightStickRemoved(value); });
}
- inline FlightStick::FlightStickRemoved_revoker FlightStick::FlightStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value)
+ inline auto FlightStick::FlightStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value)
{
auto f = get_activation_factory<FlightStick, winrt::Windows::Gaming::Input::IFlightStickStatics>();
- 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<Gamepad, IGamepadStatics>([&](IGamepadStatics const& f) { return f.GamepadAdded(value); });
}
- inline Gamepad::GamepadAdded_revoker Gamepad::GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value)
+ inline auto Gamepad::GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value)
{
auto f = get_activation_factory<Gamepad, winrt::Windows::Gaming::Input::IGamepadStatics>();
- 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<Gamepad, IGamepadStatics>([&](IGamepadStatics const& f) { return f.GamepadRemoved(value); });
}
- inline Gamepad::GamepadRemoved_revoker Gamepad::GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value)
+ inline auto Gamepad::GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value)
{
auto f = get_activation_factory<Gamepad, winrt::Windows::Gaming::Input::IGamepadStatics>();
- 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<RacingWheel, IRacingWheelStatics>([&](IRacingWheelStatics const& f) { return f.RacingWheelAdded(value); });
}
- inline RacingWheel::RacingWheelAdded_revoker RacingWheel::RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value)
+ inline auto RacingWheel::RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value)
{
auto f = get_activation_factory<RacingWheel, winrt::Windows::Gaming::Input::IRacingWheelStatics>();
- 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<RacingWheel, IRacingWheelStatics>([&](IRacingWheelStatics const& f) { return f.RacingWheelRemoved(value); });
}
- inline RacingWheel::RacingWheelRemoved_revoker RacingWheel::RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value)
+ inline auto RacingWheel::RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value)
{
auto f = get_activation_factory<RacingWheel, winrt::Windows::Gaming::Input::IRacingWheelStatics>();
- 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<RawGameController, IRawGameControllerStatics>([&](IRawGameControllerStatics const& f) { return f.RawGameControllerAdded(value); });
}
- inline RawGameController::RawGameControllerAdded_revoker RawGameController::RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value)
+ inline auto RawGameController::RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value)
{
auto f = get_activation_factory<RawGameController, winrt::Windows::Gaming::Input::IRawGameControllerStatics>();
- 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<RawGameController, IRawGameControllerStatics>([&](IRawGameControllerStatics const& f) { return f.RawGameControllerRemoved(value); });
}
- inline RawGameController::RawGameControllerRemoved_revoker RawGameController::RawGameControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value)
+ inline auto RawGameController::RawGameControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value)
{
auto f = get_activation_factory<RawGameController, winrt::Windows::Gaming::Input::IRawGameControllerStatics>();
- 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<UINavigationController, IUINavigationControllerStatics>([&](IUINavigationControllerStatics const& f) { return f.UINavigationControllerAdded(value); });
}
- inline UINavigationController::UINavigationControllerAdded_revoker UINavigationController::UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value)
+ inline auto UINavigationController::UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value)
{
auto f = get_activation_factory<UINavigationController, winrt::Windows::Gaming::Input::IUINavigationControllerStatics>();
- 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<UINavigationController, IUINavigationControllerStatics>([&](IUINavigationControllerStatics const& f) { return f.UINavigationControllerRemoved(value); });
}
- inline UINavigationController::UINavigationControllerRemoved_revoker UINavigationController::UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value)
+ inline auto UINavigationController::UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value)
{
auto f = get_activation_factory<UINavigationController, winrt::Windows::Gaming::Input::IUINavigationControllerStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Preview.GamesEnumeration.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Preview.GamesEnumeration.h
index 42577105ee8..eb1b360cce8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.Preview.GamesEnumeration.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppDisplayInfo) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry<D>::DisplayInfo() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry<D>::LaunchAsync() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry<D>::LaunchAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry)->LaunchAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListCategory) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry<D>::Category() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry<D>::Category() const
{
winrt::Windows::Gaming::Preview::GamesEnumeration::GameListCategory value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry)->get_Category(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry<D>::Properties() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry<D>::SetCategoryAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListCategory const& value) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry<D>::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<int32_t>(value), &action));
return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntryLaunchableState) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2<D>::LaunchableState() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2<D>::LaunchableState() const
{
winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntryLaunchableState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry2)->get_LaunchableState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2<D>::LauncherExecutable() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2<D>::LaunchParameters() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2<D>::SetLauncherExecutableFileAsync(winrt::Windows::Storage::IStorageFile const& executableFile) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2<D>::SetLauncherExecutableFileAsync(winrt::Windows::Storage::IStorageFile const& executableFile, param::hstring const& launchParams) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2<D>::TitleId() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2<D>::SetTitleIdAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Preview::GamesEnumeration::GameModeConfiguration) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2<D>::GameModeConfiguration() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry>>) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::FindAllAsync() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::FindAllAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics)->FindAllAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry>>) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::FindAllAsync(param::hstring const& packageFamilyName) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameAdded(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::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 D> typename consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameAdded_revoker consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameAdded(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameAdded(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, GameAdded_revoker>(this, GameAdded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameAdded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameAdded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics)->remove_GameAdded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameRemoved(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::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 D> typename consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameRemoved_revoker consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameRemoved(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameRemoved(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListRemovedEventHandler const& handler) const
{
return impl::make_event_revoker<D, GameRemoved_revoker>(this, GameRemoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameRemoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameRemoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics)->remove_GameRemoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameUpdated(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::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 D> typename consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameUpdated_revoker consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameUpdated(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameUpdated(auto_revoke_t, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, GameUpdated_revoker>(this, GameUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameUpdated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics<D>::GameUpdated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics)->remove_GameUpdated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry>) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics2<D>::MergeEntriesAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& left, winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& right) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics2<D>::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<winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry>>) consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics2<D>::UnmergeEntryAsync(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry const& mergedEntry) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics2<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::RelatedProcessNames() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::RelatedProcessNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_RelatedProcessNames(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::PercentGpuTimeAllocatedToGame() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::PercentGpuTimeAllocatedToGame() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_PercentGpuTimeAllocatedToGame(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::PercentGpuTimeAllocatedToGame(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::PercentGpuTimeAllocatedToGame(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->put_PercentGpuTimeAllocatedToGame(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::PercentGpuMemoryAllocatedToGame() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::PercentGpuMemoryAllocatedToGame() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_PercentGpuMemoryAllocatedToGame(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::PercentGpuMemoryAllocatedToGame(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::PercentGpuMemoryAllocatedToGame(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->put_PercentGpuMemoryAllocatedToGame(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::PercentGpuMemoryAllocatedToSystemCompositor() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::PercentGpuMemoryAllocatedToSystemCompositor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_PercentGpuMemoryAllocatedToSystemCompositor(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::PercentGpuMemoryAllocatedToSystemCompositor(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::PercentGpuMemoryAllocatedToSystemCompositor(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->put_PercentGpuMemoryAllocatedToSystemCompositor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::MaxCpuCount() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::MaxCpuCount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_MaxCpuCount(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::MaxCpuCount(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::MaxCpuCount(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->put_MaxCpuCount(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::CpuExclusivityMaskLow() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::CpuExclusivityMaskLow() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_CpuExclusivityMaskLow(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::CpuExclusivityMaskLow(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::CpuExclusivityMaskLow(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->put_CpuExclusivityMaskLow(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::CpuExclusivityMaskHigh() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::CpuExclusivityMaskHigh() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_CpuExclusivityMaskHigh(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::CpuExclusivityMaskHigh(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::CpuExclusivityMaskHigh(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->put_CpuExclusivityMaskHigh(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::AffinitizeToExclusiveCpus() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::AffinitizeToExclusiveCpus() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->get_AffinitizeToExclusiveCpus(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::AffinitizeToExclusiveCpus(bool value) const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::AffinitizeToExclusiveCpus(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration)->put_AffinitizeToExclusiveCpus(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::SaveAsync() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfiguration<D>::GamingRelatedProcessNames() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfiguration<D>::GamingRelatedProcessNames() const
{
void* processNames{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeUserConfiguration)->get_GamingRelatedProcessNames(&processNames));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ processNames, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfiguration<D>::SaveAsync() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Preview::GamesEnumeration::GameModeUserConfiguration) consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfigurationStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfigurationStatics<D>::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<GameList, IGameListStatics>([&](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<GameList, winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics>();
- 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<GameList, IGameListStatics>([&](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<GameList, winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics>();
- 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<GameList, IGameListStatics>([&](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<GameList, winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.UI.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.UI.h
index 9b7c80f4e2c..78a4fdb5905 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.UI.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_UI_IGameBarStatics<D>::VisibilityChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameBarStatics<D>::VisibilityChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Gaming_UI_IGameBarStatics<D>::VisibilityChanged_revoker consume_Windows_Gaming_UI_IGameBarStatics<D>::VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameBarStatics<D>::VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, VisibilityChanged_revoker>(this, VisibilityChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_UI_IGameBarStatics<D>::VisibilityChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_UI_IGameBarStatics<D>::VisibilityChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameBarStatics)->remove_VisibilityChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_UI_IGameBarStatics<D>::IsInputRedirectedChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameBarStatics<D>::IsInputRedirectedChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Gaming_UI_IGameBarStatics<D>::IsInputRedirectedChanged_revoker consume_Windows_Gaming_UI_IGameBarStatics<D>::IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameBarStatics<D>::IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, IsInputRedirectedChanged_revoker>(this, IsInputRedirectedChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_UI_IGameBarStatics<D>::IsInputRedirectedChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_UI_IGameBarStatics<D>::IsInputRedirectedChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameBarStatics)->remove_IsInputRedirectedChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_UI_IGameBarStatics<D>::Visible() const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameBarStatics<D>::Visible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameBarStatics)->get_Visible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_UI_IGameBarStatics<D>::IsInputRedirected() const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameBarStatics<D>::IsInputRedirected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameBarStatics)->get_IsInputRedirected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs<D>::AppId() const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs<D>::AppDisplayName() const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs<D>::SenderName() const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs<D>::Message() const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::UI::GameChatMessageOrigin) consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs<D>::Origin() const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameChatMessageReceivedEventArgs<D>::Origin() const
{
winrt::Windows::Gaming::UI::GameChatMessageOrigin value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameChatMessageReceivedEventArgs)->get_Origin(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::UI::GameChatOverlayPosition) consume_Windows_Gaming_UI_IGameChatOverlay<D>::DesiredPosition() const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameChatOverlay<D>::DesiredPosition() const
{
winrt::Windows::Gaming::UI::GameChatOverlayPosition value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameChatOverlay)->get_DesiredPosition(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_UI_IGameChatOverlay<D>::DesiredPosition(winrt::Windows::Gaming::UI::GameChatOverlayPosition const& value) const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameChatOverlay<D>::DesiredPosition(winrt::Windows::Gaming::UI::GameChatOverlayPosition const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameChatOverlay)->put_DesiredPosition(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_UI_IGameChatOverlay<D>::AddMessage(param::hstring const& sender, param::hstring const& message, winrt::Windows::Gaming::UI::GameChatMessageOrigin const& origin) const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameChatOverlay<D>::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<int32_t>(origin)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Gaming_UI_IGameChatOverlayMessageSource<D>::MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::UI::GameChatOverlayMessageSource, winrt::Windows::Gaming::UI::GameChatMessageReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameChatOverlayMessageSource<D>::MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::UI::GameChatOverlayMessageSource, winrt::Windows::Gaming::UI::GameChatMessageReceivedEventArgs> 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 D> typename consume_Windows_Gaming_UI_IGameChatOverlayMessageSource<D>::MessageReceived_revoker consume_Windows_Gaming_UI_IGameChatOverlayMessageSource<D>::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::UI::GameChatOverlayMessageSource, winrt::Windows::Gaming::UI::GameChatMessageReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameChatOverlayMessageSource<D>::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::UI::GameChatOverlayMessageSource, winrt::Windows::Gaming::UI::GameChatMessageReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MessageReceived_revoker>(this, MessageReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_UI_IGameChatOverlayMessageSource<D>::MessageReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Gaming_UI_IGameChatOverlayMessageSource<D>::MessageReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameChatOverlayMessageSource)->remove_MessageReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_UI_IGameChatOverlayMessageSource<D>::SetDelayBeforeClosingAfterMessageReceived(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameChatOverlayMessageSource<D>::SetDelayBeforeClosingAfterMessageReceived(winrt::Windows::Foundation::TimeSpan const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::UI::IGameChatOverlayMessageSource)->SetDelayBeforeClosingAfterMessageReceived(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::UI::GameChatOverlay) consume_Windows_Gaming_UI_IGameChatOverlayStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameChatOverlayStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Gaming_UI_IGameUIProviderActivatedEventArgs<D>::GameUIArgs() const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameUIProviderActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Gaming_UI_IGameUIProviderActivatedEventArgs<D>::ReportCompleted(winrt::Windows::Foundation::Collections::ValueSet const& results) const
+ template <typename D> auto consume_Windows_Gaming_UI_IGameUIProviderActivatedEventArgs<D>::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<GameBar, IGameBarStatics>([&](IGameBarStatics const& f) { return f.VisibilityChanged(handler); });
}
- inline GameBar::VisibilityChanged_revoker GameBar::VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto GameBar::VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<GameBar, winrt::Windows::Gaming::UI::IGameBarStatics>();
- 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<GameBar, IGameBarStatics>([&](IGameBarStatics const& f) { return f.IsInputRedirectedChanged(handler); });
}
- inline GameBar::IsInputRedirectedChanged_revoker GameBar::IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto GameBar::IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<GameBar, winrt::Windows::Gaming::UI::IGameBarStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.XboxLive.Storage.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.XboxLive.Storage.h
index 6f6ec4213ec..d6c656f334d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Gaming.XboxLive.Storage.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobGetResult<D>::Status() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobGetResult<D>::Status() const
{
winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobGetResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobGetResult<D>::Value() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobGetResult<D>::Value() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobGetResult)->get_Value(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Storage::Streams::IBuffer>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfo<D>::Name() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfo<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfo<D>::Size() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfo<D>::Size() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfo)->get_Size(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoGetResult<D>::Status() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoGetResult<D>::Status() const
{
winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfoGetResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::XboxLive::Storage::GameSaveBlobInfo>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoGetResult<D>::Value() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoGetResult<D>::Value() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfoGetResult)->get_Value(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::XboxLive::Storage::GameSaveBlobInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveBlobInfoGetResult>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoQuery<D>::GetBlobInfoAsync() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoQuery<D>::GetBlobInfoAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfoQuery)->GetBlobInfoAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveBlobInfoGetResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveBlobInfoGetResult>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoQuery<D>::GetBlobInfoAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoQuery<D>::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<winrt::Windows::Gaming::XboxLive::Storage::GameSaveBlobInfoGetResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoQuery<D>::GetItemCountAsync() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoQuery<D>::GetItemCountAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfoQuery)->GetItemCountAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer<D>::Name() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveProvider) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer<D>::Provider() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveOperationResult>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer<D>::SubmitUpdatesAsync(param::async_map_view<hstring, winrt::Windows::Storage::Streams::IBuffer> const& blobsToWrite, param::async_iterable<hstring> const& blobsToDelete, param::hstring const& displayName) const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer<D>::SubmitUpdatesAsync(param::async_map_view<hstring, winrt::Windows::Storage::Streams::IBuffer> const& blobsToWrite, param::async_iterable<hstring> 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<winrt::Windows::Gaming::XboxLive::Storage::GameSaveOperationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveOperationResult>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer<D>::ReadAsync(param::async_map_view<hstring, winrt::Windows::Storage::Streams::IBuffer> const& blobsToRead) const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer<D>::ReadAsync(param::async_map_view<hstring, winrt::Windows::Storage::Streams::IBuffer> 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<winrt::Windows::Gaming::XboxLive::Storage::GameSaveOperationResult>{ action, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveBlobGetResult>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer<D>::GetAsync(param::async_iterable<hstring> const& blobsToRead) const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer<D>::GetAsync(param::async_iterable<hstring> 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<winrt::Windows::Gaming::XboxLive::Storage::GameSaveBlobGetResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveOperationResult>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer<D>::SubmitPropertySetUpdatesAsync(winrt::Windows::Foundation::Collections::IPropertySet const& blobsToWrite, param::async_iterable<hstring> const& blobsToDelete, param::hstring const& displayName) const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer<D>::SubmitPropertySetUpdatesAsync(winrt::Windows::Foundation::Collections::IPropertySet const& blobsToWrite, param::async_iterable<hstring> 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<winrt::Windows::Gaming::XboxLive::Storage::GameSaveOperationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveBlobInfoQuery) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer<D>::CreateBlobInfoQuery(param::hstring const& blobNamePrefix) const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainer<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo<D>::Name() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo<D>::TotalSize() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo<D>::TotalSize() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfo)->get_TotalSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo<D>::LastModifiedTime() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo<D>::NeedsSync() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfo<D>::NeedsSync() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfo)->get_NeedsSync(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoGetResult<D>::Status() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoGetResult<D>::Status() const
{
winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfoGetResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainerInfo>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoGetResult<D>::Value() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoGetResult<D>::Value() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfoGetResult)->get_Value(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainerInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainerInfoGetResult>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoQuery<D>::GetContainerInfoAsync() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoQuery<D>::GetContainerInfoAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfoQuery)->GetContainerInfoAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainerInfoGetResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainerInfoGetResult>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoQuery<D>::GetContainerInfoAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoQuery<D>::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<winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainerInfoGetResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoQuery<D>::GetItemCountAsync() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoQuery<D>::GetItemCountAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfoQuery)->GetItemCountAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus) consume_Windows_Gaming_XboxLive_Storage_IGameSaveOperationResult<D>::Status() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveOperationResult<D>::Status() const
{
winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveOperationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider<D>::User() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainer) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider<D>::CreateContainer(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveOperationResult>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider<D>::DeleteContainerAsync(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider<D>::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<winrt::Windows::Gaming::XboxLive::Storage::GameSaveOperationResult>{ action, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainerInfoQuery) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider<D>::CreateContainerInfoQuery() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainerInfoQuery) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider<D>::CreateContainerInfoQuery(param::hstring const& containerNamePrefix) const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<int64_t>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider<D>::GetRemainingBytesInQuotaAsync() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider<D>::GetRemainingBytesInQuotaAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProvider)->GetRemainingBytesInQuotaAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<int64_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider<D>::ContainersChangedSinceLastSync() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProvider<D>::ContainersChangedSinceLastSync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProvider)->get_ContainersChangedSinceLastSync(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderGetResult<D>::Status() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderGetResult<D>::Status() const
{
winrt::Windows::Gaming::XboxLive::Storage::GameSaveErrorStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProviderGetResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::XboxLive::Storage::GameSaveProvider) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderGetResult<D>::Value() const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderGetResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveProviderGetResult>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderStatics<D>::GetForUserAsync(winrt::Windows::System::User const& user, param::hstring const& serviceConfigId) const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderStatics<D>::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<winrt::Windows::Gaming::XboxLive::Storage::GameSaveProviderGetResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveProviderGetResult>) consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderStatics<D>::GetSyncOnDemandForUserAsync(winrt::Windows::System::User const& user, param::hstring const& serviceConfigId) const
+ template <typename D> auto consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.Collation.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.Collation.h
index 1a83cb9988f..ebe8673ccc4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.Collation.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_Collation_ICharacterGrouping<D>::First() const
+ template <typename D> auto consume_Windows_Globalization_Collation_ICharacterGrouping<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_Collation_ICharacterGrouping<D>::Label() const
+ template <typename D> auto consume_Windows_Globalization_Collation_ICharacterGrouping<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_Collation_ICharacterGroupings<D>::Lookup(param::hstring const& text) const
+ template <typename D> auto consume_Windows_Globalization_Collation_ICharacterGroupings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Collation::CharacterGroupings) consume_Windows_Globalization_Collation_ICharacterGroupingsFactory<D>::Create(param::hstring const& language) const
+ template <typename D> auto consume_Windows_Globalization_Collation_ICharacterGroupingsFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.DateTimeFormatting.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.DateTimeFormatting.h
index c2ed37bd795..f690df1f8a3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.DateTimeFormatting.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::Languages() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::Languages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_Languages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::GeographicRegion() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::Calendar() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::Clock() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::NumeralSystem() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::NumeralSystem(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::NumeralSystem(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->put_NumeralSystem(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::Patterns() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::Patterns() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_Patterns(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::Template() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::Format(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::YearFormat) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::IncludeYear() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::IncludeYear() const
{
winrt::Windows::Globalization::DateTimeFormatting::YearFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_IncludeYear(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::MonthFormat) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::IncludeMonth() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::IncludeMonth() const
{
winrt::Windows::Globalization::DateTimeFormatting::MonthFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_IncludeMonth(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::IncludeDayOfWeek() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::IncludeDayOfWeek() const
{
winrt::Windows::Globalization::DateTimeFormatting::DayOfWeekFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_IncludeDayOfWeek(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DayFormat) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::IncludeDay() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::IncludeDay() const
{
winrt::Windows::Globalization::DateTimeFormatting::DayFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_IncludeDay(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::HourFormat) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::IncludeHour() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::IncludeHour() const
{
winrt::Windows::Globalization::DateTimeFormatting::HourFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_IncludeHour(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::IncludeMinute() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::IncludeMinute() const
{
winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_IncludeMinute(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::SecondFormat) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::IncludeSecond() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::IncludeSecond() const
{
winrt::Windows::Globalization::DateTimeFormatting::SecondFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter)->get_IncludeSecond(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::ResolvedLanguage() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::ResolvedGeographicRegion() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter2<D>::Format(winrt::Windows::Foundation::DateTime const& datetime, param::hstring const& timeZoneId) const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory<D>::CreateDateTimeFormatter(param::hstring const& formatTemplate) const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory<D>::CreateDateTimeFormatterLanguages(param::hstring const& formatTemplate, param::iterable<hstring> const& languages) const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory<D>::CreateDateTimeFormatterLanguages(param::hstring const& formatTemplate, param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory<D>::CreateDateTimeFormatterContext(param::hstring const& formatTemplate, param::iterable<hstring> const& languages, param::hstring const& geographicRegion, param::hstring const& calendar, param::hstring const& clock) const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory<D>::CreateDateTimeFormatterContext(param::hstring const& formatTemplate, param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory<D>::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 <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory<D>::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<int32_t>(yearFormat), static_cast<int32_t>(monthFormat), static_cast<int32_t>(dayFormat), static_cast<int32_t>(dayOfWeekFormat), &result));
return winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory<D>::CreateDateTimeFormatterTime(winrt::Windows::Globalization::DateTimeFormatting::HourFormat const& hourFormat, winrt::Windows::Globalization::DateTimeFormatting::MinuteFormat const& minuteFormat, winrt::Windows::Globalization::DateTimeFormatting::SecondFormat const& secondFormat) const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory<D>::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<int32_t>(hourFormat), static_cast<int32_t>(minuteFormat), static_cast<int32_t>(secondFormat), &result));
return winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory<D>::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<hstring> const& languages) const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory<D>::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<hstring> const& languages) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatterFactory)->CreateDateTimeFormatterDateTimeLanguages(static_cast<int32_t>(yearFormat), static_cast<int32_t>(monthFormat), static_cast<int32_t>(dayFormat), static_cast<int32_t>(dayOfWeekFormat), static_cast<int32_t>(hourFormat), static_cast<int32_t>(minuteFormat), static_cast<int32_t>(secondFormat), *(void**)(&languages), &result));
return winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory<D>::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<hstring> const& languages, param::hstring const& geographicRegion, param::hstring const& calendar, param::hstring const& clock) const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterFactory<D>::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<hstring> 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<int32_t>(yearFormat), static_cast<int32_t>(monthFormat), static_cast<int32_t>(dayFormat), static_cast<int32_t>(dayOfWeekFormat), static_cast<int32_t>(hourFormat), static_cast<int32_t>(minuteFormat), static_cast<int32_t>(secondFormat), *(void**)(&languages), *(void**)(&geographicRegion), *(void**)(&calendar), *(void**)(&clock), &result));
return winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics<D>::LongDate() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics<D>::LongTime() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics<D>::ShortDate() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics<D>::ShortTime() const
+ template <typename D> auto consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatterStatics<D>::ShortTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatterStatics)->get_ShortTime(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.Fonts.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.Fonts.h
index 92202804f3c..819775074ac 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.Fonts.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_Fonts_ILanguageFont<D>::FontFamily() const
+ template <typename D> auto consume_Windows_Globalization_Fonts_ILanguageFont<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_Globalization_Fonts_ILanguageFont<D>::FontWeight() const
+ template <typename D> auto consume_Windows_Globalization_Fonts_ILanguageFont<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) consume_Windows_Globalization_Fonts_ILanguageFont<D>::FontStretch() const
+ template <typename D> auto consume_Windows_Globalization_Fonts_ILanguageFont<D>::FontStretch() const
{
winrt::Windows::UI::Text::FontStretch stretch{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFont)->get_FontStretch(reinterpret_cast<int32_t*>(&stretch)));
return stretch;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_Globalization_Fonts_ILanguageFont<D>::FontStyle() const
+ template <typename D> auto consume_Windows_Globalization_Fonts_ILanguageFont<D>::FontStyle() const
{
winrt::Windows::UI::Text::FontStyle style{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFont)->get_FontStyle(reinterpret_cast<int32_t*>(&style)));
return style;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Globalization_Fonts_ILanguageFont<D>::ScaleFactor() const
+ template <typename D> auto consume_Windows_Globalization_Fonts_ILanguageFont<D>::ScaleFactor() const
{
double scale{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::Fonts::ILanguageFont)->get_ScaleFactor(&scale));
return scale;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::UITextFont() const
+ template <typename D> auto consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::UIHeadingFont() const
+ template <typename D> auto consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::UITitleFont() const
+ template <typename D> auto consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::UICaptionFont() const
+ template <typename D> auto consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::UINotificationHeadingFont() const
+ template <typename D> auto consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::TraditionalDocumentFont() const
+ template <typename D> auto consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::ModernDocumentFont() const
+ template <typename D> auto consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::DocumentHeadingFont() const
+ template <typename D> auto consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::FixedWidthTextFont() const
+ template <typename D> auto consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::DocumentAlternate1Font() const
+ template <typename D> auto consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFont) consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::DocumentAlternate2Font() const
+ template <typename D> auto consume_Windows_Globalization_Fonts_ILanguageFontGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Fonts::LanguageFontGroup) consume_Windows_Globalization_Fonts_ILanguageFontGroupFactory<D>::CreateLanguageFontGroup(param::hstring const& languageTag) const
+ template <typename D> auto consume_Windows_Globalization_Fonts_ILanguageFontGroupFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.NumberFormatting.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.NumberFormatting.h
index 49cbd959a57..4e7c079cab6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.NumberFormatting.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter<D>::Currency() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter<D>::Currency(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter<D>::Currency(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatter)->put_Currency(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::CurrencyFormatterMode) consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter2<D>::Mode() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter2<D>::Mode() const
{
winrt::Windows::Globalization::NumberFormatting::CurrencyFormatterMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatter2)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter2<D>::Mode(winrt::Windows::Globalization::NumberFormatting::CurrencyFormatterMode const& value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter2<D>::Mode(winrt::Windows::Globalization::NumberFormatting::CurrencyFormatterMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatter2)->put_Mode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter2<D>::ApplyRoundingForCurrency(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& roundingAlgorithm) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_ICurrencyFormatter2<D>::ApplyRoundingForCurrency(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& roundingAlgorithm) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatter2)->ApplyRoundingForCurrency(static_cast<int32_t>(roundingAlgorithm)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::CurrencyFormatter) consume_Windows_Globalization_NumberFormatting_ICurrencyFormatterFactory<D>::CreateCurrencyFormatterCode(param::hstring const& currencyCode) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_ICurrencyFormatterFactory<D>::CreateCurrencyFormatterCode(param::hstring const& currencyCode) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatterFactory)->CreateCurrencyFormatterCode(*(void**)(&currencyCode), &result));
return winrt::Windows::Globalization::NumberFormatting::CurrencyFormatter{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::CurrencyFormatter) consume_Windows_Globalization_NumberFormatting_ICurrencyFormatterFactory<D>::CreateCurrencyFormatterCodeContext(param::hstring const& currencyCode, param::iterable<hstring> const& languages, param::hstring const& geographicRegion) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_ICurrencyFormatterFactory<D>::CreateCurrencyFormatterCodeContext(param::hstring const& currencyCode, param::iterable<hstring> const& languages, param::hstring const& geographicRegion) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatterFactory)->CreateCurrencyFormatterCodeContext(*(void**)(&currencyCode), *(void**)(&languages), *(void**)(&geographicRegion), &result));
return winrt::Windows::Globalization::NumberFormatting::CurrencyFormatter{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::DecimalFormatter) consume_Windows_Globalization_NumberFormatting_IDecimalFormatterFactory<D>::CreateDecimalFormatter(param::iterable<hstring> const& languages, param::hstring const& geographicRegion) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_IDecimalFormatterFactory<D>::CreateDecimalFormatter(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm) consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder<D>::RoundingAlgorithm() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder<D>::RoundingAlgorithm() const
{
winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::IIncrementNumberRounder)->get_RoundingAlgorithm(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder<D>::RoundingAlgorithm(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder<D>::RoundingAlgorithm(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::IIncrementNumberRounder)->put_RoundingAlgorithm(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder<D>::Increment() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder<D>::Increment() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::IIncrementNumberRounder)->get_Increment(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder<D>::Increment(double value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_IIncrementNumberRounder<D>::Increment(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::IIncrementNumberRounder)->put_Increment(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatter<D>::Format(int64_t value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatter<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatter<D>::Format(uint64_t value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatter<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatter<D>::Format(double value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatter<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatter2<D>::FormatInt(int64_t value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatter2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatter2<D>::FormatUInt(uint64_t value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatter2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatter2<D>::FormatDouble(double value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatter2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::Languages() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::Languages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->get_Languages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::GeographicRegion() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::IntegerDigits() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::IntegerDigits() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->get_IntegerDigits(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::IntegerDigits(int32_t value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::IntegerDigits(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->put_IntegerDigits(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::FractionDigits() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::FractionDigits() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->get_FractionDigits(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::FractionDigits(int32_t value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::FractionDigits(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->put_FractionDigits(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::IsGrouped() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::IsGrouped() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->get_IsGrouped(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::IsGrouped(bool value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::IsGrouped(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->put_IsGrouped(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::IsDecimalPointAlwaysDisplayed() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::IsDecimalPointAlwaysDisplayed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->get_IsDecimalPointAlwaysDisplayed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::IsDecimalPointAlwaysDisplayed(bool value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::IsDecimalPointAlwaysDisplayed(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->put_IsDecimalPointAlwaysDisplayed(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::NumeralSystem() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::NumeralSystem(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::NumeralSystem(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions)->put_NumeralSystem(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::ResolvedLanguage() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::ResolvedGeographicRegion() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int64_t>) consume_Windows_Globalization_NumberFormatting_INumberParser<D>::ParseInt(param::hstring const& text) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberParser<D>::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<int64_t>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Globalization_NumberFormatting_INumberParser<D>::ParseUInt(param::hstring const& text) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberParser<D>::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<uint64_t>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Globalization_NumberFormatting_INumberParser<D>::ParseDouble(param::hstring const& text) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberParser<D>::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<double>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_NumberFormatting_INumberRounder<D>::RoundInt32(int32_t value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberRounder<D>::RoundInt32(int32_t value) const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberRounder)->RoundInt32(value, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Globalization_NumberFormatting_INumberRounder<D>::RoundUInt32(uint32_t value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberRounder<D>::RoundUInt32(uint32_t value) const
{
uint32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberRounder)->RoundUInt32(value, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_Globalization_NumberFormatting_INumberRounder<D>::RoundInt64(int64_t value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberRounder<D>::RoundInt64(int64_t value) const
{
int64_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberRounder)->RoundInt64(value, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Globalization_NumberFormatting_INumberRounder<D>::RoundUInt64(uint64_t value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberRounder<D>::RoundUInt64(uint64_t value) const
{
uint64_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberRounder)->RoundUInt64(value, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Globalization_NumberFormatting_INumberRounder<D>::RoundSingle(float value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberRounder<D>::RoundSingle(float value) const
{
float result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberRounder)->RoundSingle(value, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Globalization_NumberFormatting_INumberRounder<D>::RoundDouble(double value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberRounder<D>::RoundDouble(double value) const
{
double result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberRounder)->RoundDouble(value, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::INumberRounder) consume_Windows_Globalization_NumberFormatting_INumberRounderOption<D>::NumberRounder() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberRounderOption<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_INumberRounderOption<D>::NumberRounder(winrt::Windows::Globalization::NumberFormatting::INumberRounder const& value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumberRounderOption<D>::NumberRounder(winrt::Windows::Globalization::NumberFormatting::INumberRounder const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumberRounderOption)->put_NumberRounder(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator<D>::Languages() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator<D>::Languages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumeralSystemTranslator)->get_Languages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator<D>::ResolvedLanguage() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator<D>::NumeralSystem() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator<D>::NumeralSystem(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator<D>::NumeralSystem(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::INumeralSystemTranslator)->put_NumeralSystem(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator<D>::TranslateNumerals(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::NumeralSystemTranslator) consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslatorFactory<D>::Create(param::iterable<hstring> const& languages) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslatorFactory<D>::Create(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::PercentFormatter) consume_Windows_Globalization_NumberFormatting_IPercentFormatterFactory<D>::CreatePercentFormatter(param::iterable<hstring> const& languages, param::hstring const& geographicRegion) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_IPercentFormatterFactory<D>::CreatePercentFormatter(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::PermilleFormatter) consume_Windows_Globalization_NumberFormatting_IPermilleFormatterFactory<D>::CreatePermilleFormatter(param::iterable<hstring> const& languages, param::hstring const& geographicRegion) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_IPermilleFormatterFactory<D>::CreatePermilleFormatter(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Globalization_NumberFormatting_ISignedZeroOption<D>::IsZeroSigned() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_ISignedZeroOption<D>::IsZeroSigned() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ISignedZeroOption)->get_IsZeroSigned(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_ISignedZeroOption<D>::IsZeroSigned(bool value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_ISignedZeroOption<D>::IsZeroSigned(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ISignedZeroOption)->put_IsZeroSigned(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm) consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder<D>::RoundingAlgorithm() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder<D>::RoundingAlgorithm() const
{
winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ISignificantDigitsNumberRounder)->get_RoundingAlgorithm(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder<D>::RoundingAlgorithm(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder<D>::RoundingAlgorithm(winrt::Windows::Globalization::NumberFormatting::RoundingAlgorithm const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ISignificantDigitsNumberRounder)->put_RoundingAlgorithm(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder<D>::SignificantDigits() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder<D>::SignificantDigits() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ISignificantDigitsNumberRounder)->get_SignificantDigits(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder<D>::SignificantDigits(uint32_t value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_ISignificantDigitsNumberRounder<D>::SignificantDigits(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ISignificantDigitsNumberRounder)->put_SignificantDigits(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_NumberFormatting_ISignificantDigitsOption<D>::SignificantDigits() const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_ISignificantDigitsOption<D>::SignificantDigits() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ISignificantDigitsOption)->get_SignificantDigits(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_NumberFormatting_ISignificantDigitsOption<D>::SignificantDigits(int32_t value) const
+ template <typename D> auto consume_Windows_Globalization_NumberFormatting_ISignificantDigitsOption<D>::SignificantDigits(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::NumberFormatting::ISignificantDigitsOption)->put_SignificantDigits(value));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.PhoneNumberFormatting.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.PhoneNumberFormatting.h
index 44b9652f4b2..7b7b96eb7ac 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.PhoneNumberFormatting.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter<D>::Format(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& number) const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter<D>::Format(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& number, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberFormat const& numberFormat) const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter<D>::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<int32_t>(numberFormat), &result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter<D>::FormatPartialString(param::hstring const& number) const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter<D>::FormatString(param::hstring const& number) const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter<D>::FormatStringWithLeftToRightMarkers(param::hstring const& number) const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics<D>::TryCreate(param::hstring const& regionCode, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberFormatter& phoneNumber) const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics<D>::TryCreate(param::hstring const& regionCode, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberFormatter& phoneNumber) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberFormatterStatics)->TryCreate(*(void**)(&regionCode), impl::bind_out(phoneNumber)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics<D>::GetCountryCodeForRegion(param::hstring const& regionCode) const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics<D>::GetCountryCodeForRegion(param::hstring const& regionCode) const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberFormatterStatics)->GetCountryCodeForRegion(*(void**)(&regionCode), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics<D>::GetNationalDirectDialingPrefixForRegion(param::hstring const& regionCode, bool stripNonDigit) const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics<D>::GetNationalDirectDialingPrefixForRegion(param::hstring const& regionCode, bool stripNonDigit) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberFormatterStatics)->GetNationalDirectDialingPrefixForRegion(*(void**)(&regionCode), stripNonDigit, &result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics<D>::WrapWithLeftToRightMarkers(param::hstring const& number) const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberFormatterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo<D>::CountryCode() const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo<D>::CountryCode() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo)->get_CountryCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo<D>::PhoneNumber() const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo<D>::GetLengthOfGeographicalAreaCode() const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo<D>::GetLengthOfGeographicalAreaCode() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo)->GetLengthOfGeographicalAreaCode(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo<D>::GetNationalSignificantNumber() const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo<D>::GetNationalSignificantNumber() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo)->GetNationalSignificantNumber(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo<D>::GetLengthOfNationalDestinationCode() const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo<D>::GetLengthOfNationalDestinationCode() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo)->GetLengthOfNationalDestinationCode(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::PhoneNumberFormatting::PredictedPhoneNumberKind) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo<D>::PredictNumberKind() const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo<D>::PredictNumberKind() const
{
winrt::Windows::Globalization::PhoneNumberFormatting::PredictedPhoneNumberKind result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo)->PredictNumberKind(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo<D>::GetGeographicRegionCode() const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo<D>::GetGeographicRegionCode() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo)->GetGeographicRegionCode(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberMatchResult) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo<D>::CheckNumberMatch(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo const& otherNumber) const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfo<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoFactory<D>::Create(param::hstring const& number) const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberParseResult) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo& phoneNumber) const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberParseResult) consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoStatics<D>::TryParse(param::hstring const& input, param::hstring const& regionCode, winrt::Windows::Globalization::PhoneNumberFormatting::PhoneNumberInfo& phoneNumber) const
+ template <typename D> auto consume_Windows_Globalization_PhoneNumberFormatting_IPhoneNumberInfoStatics<D>::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**)(&regionCode), impl::bind_out(phoneNumber), reinterpret_cast<int32_t*>(&result)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.h
index 10adb3a7322..be9f99824db 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Globalization.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IApplicationLanguagesStatics<D>::PrimaryLanguageOverride() const
+ template <typename D> auto consume_Windows_Globalization_IApplicationLanguagesStatics<D>::PrimaryLanguageOverride() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IApplicationLanguagesStatics)->get_PrimaryLanguageOverride(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_IApplicationLanguagesStatics<D>::PrimaryLanguageOverride(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Globalization_IApplicationLanguagesStatics<D>::PrimaryLanguageOverride(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IApplicationLanguagesStatics)->put_PrimaryLanguageOverride(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Globalization_IApplicationLanguagesStatics<D>::Languages() const
+ template <typename D> auto consume_Windows_Globalization_IApplicationLanguagesStatics<D>::Languages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IApplicationLanguagesStatics)->get_Languages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Globalization_IApplicationLanguagesStatics<D>::ManifestLanguages() const
+ template <typename D> auto consume_Windows_Globalization_IApplicationLanguagesStatics<D>::ManifestLanguages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IApplicationLanguagesStatics)->get_ManifestLanguages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Globalization_IApplicationLanguagesStatics2<D>::GetLanguagesForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Globalization_IApplicationLanguagesStatics2<D>::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<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Calendar) consume_Windows_Globalization_ICalendar<D>::Clone() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::SetToMin() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::SetToMin() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->SetToMin());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::SetToMax() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::SetToMax() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->SetToMax());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Globalization_ICalendar<D>::Languages() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Languages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Languages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::NumeralSystem() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::NumeralSystem() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumeralSystem(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::NumeralSystem(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::NumeralSystem(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_NumeralSystem(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::GetCalendarSystem() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::GetCalendarSystem() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->GetCalendarSystem(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::ChangeCalendarSystem(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::ChangeCalendarSystem(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->ChangeCalendarSystem(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::GetClock() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::GetClock() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->GetClock(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::ChangeClock(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::ChangeClock(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->ChangeClock(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Globalization_ICalendar<D>::GetDateTime() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::GetDateTime() const
{
winrt::Windows::Foundation::DateTime result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->GetDateTime(put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::SetDateTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::SetDateTime(winrt::Windows::Foundation::DateTime const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->SetDateTime(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::SetToNow() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::SetToNow() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->SetToNow());
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::FirstEra() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::FirstEra() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_FirstEra(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::LastEra() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::LastEra() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_LastEra(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::NumberOfEras() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::NumberOfEras() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumberOfEras(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::Era() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Era() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Era(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::Era(int32_t value) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Era(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Era(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::AddEras(int32_t eras) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::AddEras(int32_t eras) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddEras(eras));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::EraAsString() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::EraAsString() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->EraAsFullString(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::EraAsString(int32_t idealLength) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::FirstYearInThisEra() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::FirstYearInThisEra() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_FirstYearInThisEra(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::LastYearInThisEra() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::LastYearInThisEra() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_LastYearInThisEra(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::NumberOfYearsInThisEra() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::NumberOfYearsInThisEra() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumberOfYearsInThisEra(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::Year() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Year() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Year(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::Year(int32_t value) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Year(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Year(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::AddYears(int32_t years) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::AddYears(int32_t years) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddYears(years));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::YearAsString() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::YearAsString() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->YearAsString(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::YearAsTruncatedString(int32_t remainingDigits) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::YearAsPaddedString(int32_t minDigits) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::FirstMonthInThisYear() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::FirstMonthInThisYear() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_FirstMonthInThisYear(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::LastMonthInThisYear() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::LastMonthInThisYear() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_LastMonthInThisYear(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::NumberOfMonthsInThisYear() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::NumberOfMonthsInThisYear() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumberOfMonthsInThisYear(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::Month() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Month() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Month(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::Month(int32_t value) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Month(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Month(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::AddMonths(int32_t months) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::AddMonths(int32_t months) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddMonths(months));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::MonthAsString() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::MonthAsString() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->MonthAsFullString(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::MonthAsString(int32_t idealLength) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::MonthAsSoloString() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::MonthAsSoloString() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->MonthAsFullSoloString(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::MonthAsSoloString(int32_t idealLength) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::MonthAsNumericString() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::MonthAsNumericString() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->MonthAsNumericString(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::MonthAsPaddedNumericString(int32_t minDigits) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::AddWeeks(int32_t weeks) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::AddWeeks(int32_t weeks) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddWeeks(weeks));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::FirstDayInThisMonth() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::FirstDayInThisMonth() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_FirstDayInThisMonth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::LastDayInThisMonth() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::LastDayInThisMonth() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_LastDayInThisMonth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::NumberOfDaysInThisMonth() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::NumberOfDaysInThisMonth() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumberOfDaysInThisMonth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::Day() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Day() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Day(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::Day(int32_t value) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Day(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Day(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::AddDays(int32_t days) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::AddDays(int32_t days) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddDays(days));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::DayAsString() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::DayAsString() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->DayAsString(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::DayAsPaddedString(int32_t minDigits) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) consume_Windows_Globalization_ICalendar<D>::DayOfWeek() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::DayOfWeek() const
{
winrt::Windows::Globalization::DayOfWeek value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_DayOfWeek(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::DayOfWeekAsString() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::DayOfWeekAsString() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->DayOfWeekAsFullString(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::DayOfWeekAsString(int32_t idealLength) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::DayOfWeekAsSoloString() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::DayOfWeekAsSoloString() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->DayOfWeekAsFullSoloString(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::DayOfWeekAsSoloString(int32_t idealLength) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::FirstPeriodInThisDay() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::FirstPeriodInThisDay() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_FirstPeriodInThisDay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::LastPeriodInThisDay() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::LastPeriodInThisDay() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_LastPeriodInThisDay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::NumberOfPeriodsInThisDay() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::NumberOfPeriodsInThisDay() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumberOfPeriodsInThisDay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::Period() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Period() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Period(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::Period(int32_t value) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Period(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Period(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::AddPeriods(int32_t periods) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::AddPeriods(int32_t periods) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddPeriods(periods));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::PeriodAsString() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::PeriodAsString() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->PeriodAsFullString(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::PeriodAsString(int32_t idealLength) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::FirstHourInThisPeriod() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::FirstHourInThisPeriod() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_FirstHourInThisPeriod(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::LastHourInThisPeriod() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::LastHourInThisPeriod() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_LastHourInThisPeriod(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::NumberOfHoursInThisPeriod() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::NumberOfHoursInThisPeriod() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumberOfHoursInThisPeriod(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::Hour() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Hour() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Hour(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::Hour(int32_t value) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Hour(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Hour(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::AddHours(int32_t hours) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::AddHours(int32_t hours) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddHours(hours));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::HourAsString() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::HourAsString() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->HourAsString(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::HourAsPaddedString(int32_t minDigits) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::Minute() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Minute() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Minute(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::Minute(int32_t value) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Minute(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Minute(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::AddMinutes(int32_t minutes) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::AddMinutes(int32_t minutes) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddMinutes(minutes));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::MinuteAsString() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::MinuteAsString() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->MinuteAsString(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::MinuteAsPaddedString(int32_t minDigits) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::Second() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Second() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Second(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::Second(int32_t value) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Second(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Second(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::AddSeconds(int32_t seconds) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::AddSeconds(int32_t seconds) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddSeconds(seconds));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::SecondAsString() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::SecondAsString() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->SecondAsString(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::SecondAsPaddedString(int32_t minDigits) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::Nanosecond() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Nanosecond() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_Nanosecond(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::Nanosecond(int32_t value) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::Nanosecond(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->put_Nanosecond(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::AddNanoseconds(int32_t nanoseconds) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::AddNanoseconds(int32_t nanoseconds) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->AddNanoseconds(nanoseconds));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::NanosecondAsString() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::NanosecondAsString() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->NanosecondAsString(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::NanosecondAsPaddedString(int32_t minDigits) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::Compare(winrt::Windows::Globalization::Calendar const& other) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::CompareDateTime(winrt::Windows::Foundation::DateTime const& other) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ICalendar<D>::CopyTo(winrt::Windows::Globalization::Calendar const& other) const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::CopyTo(winrt::Windows::Globalization::Calendar const& other) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->CopyTo(*(void**)(&other)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::FirstMinuteInThisHour() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::FirstMinuteInThisHour() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_FirstMinuteInThisHour(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::LastMinuteInThisHour() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::LastMinuteInThisHour() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_LastMinuteInThisHour(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::NumberOfMinutesInThisHour() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::NumberOfMinutesInThisHour() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumberOfMinutesInThisHour(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::FirstSecondInThisMinute() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::FirstSecondInThisMinute() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_FirstSecondInThisMinute(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::LastSecondInThisMinute() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::LastSecondInThisMinute() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_LastSecondInThisMinute(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Globalization_ICalendar<D>::NumberOfSecondsInThisMinute() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::NumberOfSecondsInThisMinute() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_NumberOfSecondsInThisMinute(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendar<D>::ResolvedLanguage() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::ResolvedLanguage() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_ResolvedLanguage(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Globalization_ICalendar<D>::IsDaylightSavingTime() const
+ template <typename D> auto consume_Windows_Globalization_ICalendar<D>::IsDaylightSavingTime() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendar)->get_IsDaylightSavingTime(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Calendar) consume_Windows_Globalization_ICalendarFactory<D>::CreateCalendarDefaultCalendarAndClock(param::iterable<hstring> const& languages) const
+ template <typename D> auto consume_Windows_Globalization_ICalendarFactory<D>::CreateCalendarDefaultCalendarAndClock(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Calendar) consume_Windows_Globalization_ICalendarFactory<D>::CreateCalendar(param::iterable<hstring> const& languages, param::hstring const& calendar, param::hstring const& clock) const
+ template <typename D> auto consume_Windows_Globalization_ICalendarFactory<D>::CreateCalendar(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Calendar) consume_Windows_Globalization_ICalendarFactory2<D>::CreateCalendarWithTimeZone(param::iterable<hstring> const& languages, param::hstring const& calendar, param::hstring const& clock, param::hstring const& timeZoneId) const
+ template <typename D> auto consume_Windows_Globalization_ICalendarFactory2<D>::CreateCalendarWithTimeZone(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::Gregorian() const
+ template <typename D> auto consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::Gregorian() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_Gregorian(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::Hebrew() const
+ template <typename D> auto consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::Hebrew() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_Hebrew(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::Hijri() const
+ template <typename D> auto consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::Hijri() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_Hijri(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::Japanese() const
+ template <typename D> auto consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::Japanese() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_Japanese(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::Julian() const
+ template <typename D> auto consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::Julian() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_Julian(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::Korean() const
+ template <typename D> auto consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::Korean() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_Korean(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::Taiwan() const
+ template <typename D> auto consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::Taiwan() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_Taiwan(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::Thai() const
+ template <typename D> auto consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::Thai() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_Thai(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::UmAlQura() const
+ template <typename D> auto consume_Windows_Globalization_ICalendarIdentifiersStatics<D>::UmAlQura() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics)->get_UmAlQura(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics2<D>::Persian() const
+ template <typename D> auto consume_Windows_Globalization_ICalendarIdentifiersStatics2<D>::Persian() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics2)->get_Persian(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics3<D>::ChineseLunar() const
+ template <typename D> auto consume_Windows_Globalization_ICalendarIdentifiersStatics3<D>::ChineseLunar() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics3)->get_ChineseLunar(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics3<D>::JapaneseLunar() const
+ template <typename D> auto consume_Windows_Globalization_ICalendarIdentifiersStatics3<D>::JapaneseLunar() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics3)->get_JapaneseLunar(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics3<D>::KoreanLunar() const
+ template <typename D> auto consume_Windows_Globalization_ICalendarIdentifiersStatics3<D>::KoreanLunar() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics3)->get_KoreanLunar(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics3<D>::TaiwanLunar() const
+ template <typename D> auto consume_Windows_Globalization_ICalendarIdentifiersStatics3<D>::TaiwanLunar() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics3)->get_TaiwanLunar(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICalendarIdentifiersStatics3<D>::VietnameseLunar() const
+ template <typename D> auto consume_Windows_Globalization_ICalendarIdentifiersStatics3<D>::VietnameseLunar() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICalendarIdentifiersStatics3)->get_VietnameseLunar(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IClockIdentifiersStatics<D>::TwelveHour() const
+ template <typename D> auto consume_Windows_Globalization_IClockIdentifiersStatics<D>::TwelveHour() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IClockIdentifiersStatics)->get_TwelveHour(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IClockIdentifiersStatics<D>::TwentyFourHour() const
+ template <typename D> auto consume_Windows_Globalization_IClockIdentifiersStatics<D>::TwentyFourHour() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IClockIdentifiersStatics)->get_TwentyFourHour(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyAmount<D>::Amount() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyAmount<D>::Amount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyAmount)->get_Amount(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyAmount<D>::Currency() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyAmount<D>::Currency() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyAmount)->get_Currency(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::CurrencyAmount) consume_Windows_Globalization_ICurrencyAmountFactory<D>::Create(param::hstring const& amount, param::hstring const& currency) const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyAmountFactory<D>::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**)(&currency), &result));
return winrt::Windows::Globalization::CurrencyAmount{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::AED() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::AED() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_AED(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::AFN() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::AFN() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_AFN(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ALL() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ALL() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ALL(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::AMD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::AMD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_AMD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ANG() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ANG() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ANG(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::AOA() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::AOA() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_AOA(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ARS() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ARS() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ARS(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::AUD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::AUD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_AUD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::AWG() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::AWG() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_AWG(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::AZN() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::AZN() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_AZN(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BAM() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BAM() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BAM(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BBD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BBD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BBD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BDT() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BDT() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BDT(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BGN() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BGN() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BGN(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BHD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BHD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BHD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BIF() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BIF() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BIF(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BMD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BMD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BMD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BND() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BND() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BND(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BOB() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BOB() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BOB(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BRL() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BRL() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BRL(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BSD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BSD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BSD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BTN() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BTN() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BTN(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BWP() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BWP() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BWP(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BYR() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BYR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BYR(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BZD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::BZD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_BZD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CAD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CAD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CAD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CDF() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CDF() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CDF(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CHF() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CHF() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CHF(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CLP() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CLP() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CLP(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CNY() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CNY() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CNY(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::COP() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::COP() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_COP(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CRC() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CRC() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CRC(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CUP() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CUP() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CUP(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CVE() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CVE() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CVE(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CZK() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::CZK() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_CZK(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::DJF() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::DJF() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_DJF(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::DKK() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::DKK() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_DKK(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::DOP() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::DOP() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_DOP(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::DZD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::DZD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_DZD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::EGP() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::EGP() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_EGP(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ERN() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ERN() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ERN(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ETB() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ETB() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ETB(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::EUR() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::EUR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_EUR(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::FJD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::FJD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_FJD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::FKP() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::FKP() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_FKP(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::GBP() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::GBP() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_GBP(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::GEL() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::GEL() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_GEL(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::GHS() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::GHS() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_GHS(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::GIP() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::GIP() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_GIP(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::GMD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::GMD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_GMD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::GNF() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::GNF() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_GNF(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::GTQ() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::GTQ() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_GTQ(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::GYD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::GYD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_GYD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::HKD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::HKD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_HKD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::HNL() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::HNL() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_HNL(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::HRK() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::HRK() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_HRK(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::HTG() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::HTG() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_HTG(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::HUF() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::HUF() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_HUF(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::IDR() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::IDR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_IDR(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ILS() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ILS() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ILS(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::INR() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::INR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_INR(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::IQD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::IQD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_IQD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::IRR() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::IRR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_IRR(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ISK() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ISK() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ISK(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::JMD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::JMD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_JMD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::JOD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::JOD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_JOD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::JPY() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::JPY() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_JPY(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KES() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KES() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KES(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KGS() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KGS() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KGS(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KHR() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KHR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KHR(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KMF() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KMF() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KMF(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KPW() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KPW() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KPW(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KRW() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KRW() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KRW(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KWD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KWD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KWD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KYD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KYD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KYD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KZT() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::KZT() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_KZT(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::LAK() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::LAK() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_LAK(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::LBP() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::LBP() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_LBP(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::LKR() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::LKR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_LKR(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::LRD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::LRD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_LRD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::LSL() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::LSL() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_LSL(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::LTL() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::LTL() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_LTL(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::LVL() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::LVL() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_LVL(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::LYD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::LYD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_LYD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MAD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MAD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MAD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MDL() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MDL() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MDL(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MGA() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MGA() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MGA(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MKD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MKD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MKD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MMK() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MMK() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MMK(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MNT() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MNT() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MNT(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MOP() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MOP() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MOP(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MRO() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MRO() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MRO(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MUR() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MUR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MUR(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MVR() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MVR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MVR(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MWK() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MWK() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MWK(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MXN() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MXN() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MXN(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MYR() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MYR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MYR(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MZN() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::MZN() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_MZN(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::NAD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::NAD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_NAD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::NGN() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::NGN() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_NGN(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::NIO() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::NIO() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_NIO(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::NOK() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::NOK() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_NOK(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::NPR() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::NPR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_NPR(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::NZD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::NZD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_NZD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::OMR() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::OMR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_OMR(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::PAB() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::PAB() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_PAB(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::PEN() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::PEN() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_PEN(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::PGK() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::PGK() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_PGK(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::PHP() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::PHP() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_PHP(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::PKR() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::PKR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_PKR(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::PLN() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::PLN() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_PLN(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::PYG() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::PYG() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_PYG(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::QAR() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::QAR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_QAR(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::RON() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::RON() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_RON(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::RSD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::RSD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_RSD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::RUB() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::RUB() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_RUB(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::RWF() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::RWF() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_RWF(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SAR() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SAR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SAR(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SBD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SBD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SBD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SCR() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SCR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SCR(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SDG() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SDG() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SDG(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SEK() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SEK() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SEK(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SGD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SGD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SGD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SHP() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SHP() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SHP(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SLL() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SLL() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SLL(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SOS() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SOS() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SOS(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SRD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SRD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SRD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::STD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::STD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_STD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SYP() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SYP() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SYP(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SZL() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::SZL() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_SZL(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::THB() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::THB() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_THB(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::TJS() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::TJS() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_TJS(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::TMT() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::TMT() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_TMT(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::TND() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::TND() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_TND(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::TOP() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::TOP() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_TOP(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::TRY() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::TRY() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_TRY(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::TTD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::TTD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_TTD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::TWD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::TWD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_TWD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::TZS() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::TZS() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_TZS(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::UAH() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::UAH() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_UAH(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::UGX() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::UGX() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_UGX(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::USD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::USD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_USD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::UYU() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::UYU() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_UYU(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::UZS() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::UZS() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_UZS(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::VEF() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::VEF() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_VEF(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::VND() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::VND() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_VND(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::VUV() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::VUV() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_VUV(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::WST() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::WST() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_WST(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::XAF() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::XAF() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_XAF(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::XCD() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::XCD() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_XCD(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::XOF() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::XOF() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_XOF(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::XPF() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::XPF() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_XPF(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::XXX() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::XXX() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_XXX(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::YER() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::YER() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_YER(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ZAR() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ZAR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ZAR(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ZMW() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ZMW() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ZMW(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ZWL() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics<D>::ZWL() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics)->get_ZWL(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics2<D>::BYN() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics2<D>::BYN() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics2)->get_BYN(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics3<D>::MRU() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics3<D>::MRU() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics3)->get_MRU(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics3<D>::SSP() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics3<D>::SSP() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics3)->get_SSP(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics3<D>::STN() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics3<D>::STN() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics3)->get_STN(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ICurrencyIdentifiersStatics3<D>::VES() const
+ template <typename D> auto consume_Windows_Globalization_ICurrencyIdentifiersStatics3<D>::VES() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ICurrencyIdentifiersStatics3)->get_VES(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IGeographicRegion<D>::Code() const
+ template <typename D> auto consume_Windows_Globalization_IGeographicRegion<D>::Code() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IGeographicRegion)->get_Code(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IGeographicRegion<D>::CodeTwoLetter() const
+ template <typename D> auto consume_Windows_Globalization_IGeographicRegion<D>::CodeTwoLetter() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IGeographicRegion)->get_CodeTwoLetter(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IGeographicRegion<D>::CodeThreeLetter() const
+ template <typename D> auto consume_Windows_Globalization_IGeographicRegion<D>::CodeThreeLetter() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IGeographicRegion)->get_CodeThreeLetter(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IGeographicRegion<D>::CodeThreeDigit() const
+ template <typename D> auto consume_Windows_Globalization_IGeographicRegion<D>::CodeThreeDigit() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IGeographicRegion)->get_CodeThreeDigit(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IGeographicRegion<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Globalization_IGeographicRegion<D>::DisplayName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IGeographicRegion)->get_DisplayName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IGeographicRegion<D>::NativeName() const
+ template <typename D> auto consume_Windows_Globalization_IGeographicRegion<D>::NativeName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IGeographicRegion)->get_NativeName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Globalization_IGeographicRegion<D>::CurrenciesInUse() const
+ template <typename D> auto consume_Windows_Globalization_IGeographicRegion<D>::CurrenciesInUse() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IGeographicRegion)->get_CurrenciesInUse(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::GeographicRegion) consume_Windows_Globalization_IGeographicRegionFactory<D>::CreateGeographicRegion(param::hstring const& geographicRegionCode) const
+ template <typename D> auto consume_Windows_Globalization_IGeographicRegionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Globalization_IGeographicRegionStatics<D>::IsSupported(param::hstring const& geographicRegionCode) const
+ template <typename D> auto consume_Windows_Globalization_IGeographicRegionStatics<D>::IsSupported(param::hstring const& geographicRegionCode) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IGeographicRegionStatics)->IsSupported(*(void**)(&geographicRegionCode), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IJapanesePhoneme<D>::DisplayText() const
+ template <typename D> auto consume_Windows_Globalization_IJapanesePhoneme<D>::DisplayText() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IJapanesePhoneme)->get_DisplayText(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_IJapanesePhoneme<D>::YomiText() const
+ template <typename D> auto consume_Windows_Globalization_IJapanesePhoneme<D>::YomiText() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IJapanesePhoneme)->get_YomiText(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Globalization_IJapanesePhoneme<D>::IsPhraseStart() const
+ template <typename D> auto consume_Windows_Globalization_IJapanesePhoneme<D>::IsPhraseStart() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::IJapanesePhoneme)->get_IsPhraseStart(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Globalization::JapanesePhoneme>) consume_Windows_Globalization_IJapanesePhoneticAnalyzerStatics<D>::GetWords(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Globalization_IJapanesePhoneticAnalyzerStatics<D>::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<winrt::Windows::Globalization::JapanesePhoneme>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Globalization::JapanesePhoneme>) consume_Windows_Globalization_IJapanesePhoneticAnalyzerStatics<D>::GetWords(param::hstring const& input, bool monoRuby) const
+ template <typename D> auto consume_Windows_Globalization_IJapanesePhoneticAnalyzerStatics<D>::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<winrt::Windows::Globalization::JapanesePhoneme>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ILanguage<D>::LanguageTag() const
+ template <typename D> auto consume_Windows_Globalization_ILanguage<D>::LanguageTag() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguage)->get_LanguageTag(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ILanguage<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Globalization_ILanguage<D>::DisplayName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguage)->get_DisplayName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ILanguage<D>::NativeName() const
+ template <typename D> auto consume_Windows_Globalization_ILanguage<D>::NativeName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguage)->get_NativeName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ILanguage<D>::Script() const
+ template <typename D> auto consume_Windows_Globalization_ILanguage<D>::Script() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguage)->get_Script(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::LanguageLayoutDirection) consume_Windows_Globalization_ILanguage2<D>::LayoutDirection() const
+ template <typename D> auto consume_Windows_Globalization_ILanguage2<D>::LayoutDirection() const
{
winrt::Windows::Globalization::LanguageLayoutDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguage2)->get_LayoutDirection(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ILanguage3<D>::AbbreviatedName() const
+ template <typename D> auto consume_Windows_Globalization_ILanguage3<D>::AbbreviatedName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguage3)->get_AbbreviatedName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Globalization_ILanguageExtensionSubtags<D>::GetExtensionSubtags(param::hstring const& singleton) const
+ template <typename D> auto consume_Windows_Globalization_ILanguageExtensionSubtags<D>::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<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) consume_Windows_Globalization_ILanguageFactory<D>::CreateLanguage(param::hstring const& languageTag) const
+ template <typename D> auto consume_Windows_Globalization_ILanguageFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Globalization_ILanguageStatics<D>::IsWellFormed(param::hstring const& languageTag) const
+ template <typename D> auto consume_Windows_Globalization_ILanguageStatics<D>::IsWellFormed(param::hstring const& languageTag) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguageStatics)->IsWellFormed(*(void**)(&languageTag), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ILanguageStatics<D>::CurrentInputMethodLanguageTag() const
+ template <typename D> auto consume_Windows_Globalization_ILanguageStatics<D>::CurrentInputMethodLanguageTag() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguageStatics)->get_CurrentInputMethodLanguageTag(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Globalization_ILanguageStatics2<D>::TrySetInputMethodLanguageTag(param::hstring const& languageTag) const
+ template <typename D> auto consume_Windows_Globalization_ILanguageStatics2<D>::TrySetInputMethodLanguageTag(param::hstring const& languageTag) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguageStatics2)->TrySetInputMethodLanguageTag(*(void**)(&languageTag), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Globalization_ILanguageStatics3<D>::GetMuiCompatibleLanguageListFromLanguageTags(param::iterable<hstring> const& languageTags) const
+ template <typename D> auto consume_Windows_Globalization_ILanguageStatics3<D>::GetMuiCompatibleLanguageListFromLanguageTags(param::iterable<hstring> const& languageTags) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ILanguageStatics3)->GetMuiCompatibleLanguageListFromLanguageTags(*(void**)(&languageTags), &result));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Arab() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Arab() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Arab(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::ArabExt() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::ArabExt() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_ArabExt(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Bali() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Bali() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Bali(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Beng() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Beng() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Beng(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Cham() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Cham() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Cham(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Deva() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Deva() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Deva(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::FullWide() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::FullWide() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_FullWide(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Gujr() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Gujr() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Gujr(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Guru() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Guru() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Guru(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::HaniDec() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::HaniDec() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_HaniDec(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Java() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Java() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Java(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Kali() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Kali() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Kali(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Khmr() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Khmr() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Khmr(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Knda() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Knda() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Knda(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Lana() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Lana() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Lana(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::LanaTham() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::LanaTham() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_LanaTham(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Laoo() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Laoo() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Laoo(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Latn() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Latn() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Latn(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Lepc() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Lepc() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Lepc(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Limb() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Limb() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Limb(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Mlym() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Mlym() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Mlym(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Mong() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Mong() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Mong(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Mtei() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Mtei() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Mtei(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Mymr() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Mymr() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Mymr(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::MymrShan() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::MymrShan() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_MymrShan(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Nkoo() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Nkoo() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Nkoo(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Olck() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Olck() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Olck(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Orya() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Orya() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Orya(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Saur() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Saur() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Saur(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Sund() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Sund() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Sund(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Talu() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Talu() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Talu(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::TamlDec() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::TamlDec() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_TamlDec(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Telu() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Telu() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Telu(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Thai() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Thai() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Thai(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Tibt() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Tibt() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Tibt(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Vaii() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics<D>::Vaii() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics)->get_Vaii(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::Brah() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::Brah() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_Brah(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::Osma() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::Osma() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_Osma(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::MathBold() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::MathBold() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_MathBold(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::MathDbl() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::MathDbl() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_MathDbl(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::MathSans() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::MathSans() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_MathSans(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::MathSanb() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::MathSanb() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_MathSanb(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::MathMono() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::MathMono() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_MathMono(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::ZmthBold() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::ZmthBold() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_ZmthBold(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::ZmthDbl() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::ZmthDbl() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_ZmthDbl(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::ZmthSans() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::ZmthSans() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_ZmthSans(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::ZmthSanb() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::ZmthSanb() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_ZmthSanb(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::ZmthMono() const
+ template <typename D> auto consume_Windows_Globalization_INumeralSystemIdentifiersStatics2<D>::ZmthMono() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2)->get_ZmthMono(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ITimeZoneOnCalendar<D>::GetTimeZone() const
+ template <typename D> auto consume_Windows_Globalization_ITimeZoneOnCalendar<D>::GetTimeZone() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ITimeZoneOnCalendar)->GetTimeZone(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Globalization_ITimeZoneOnCalendar<D>::ChangeTimeZone(param::hstring const& timeZoneId) const
+ template <typename D> auto consume_Windows_Globalization_ITimeZoneOnCalendar<D>::ChangeTimeZone(param::hstring const& timeZoneId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ITimeZoneOnCalendar)->ChangeTimeZone(*(void**)(&timeZoneId)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ITimeZoneOnCalendar<D>::TimeZoneAsString() const
+ template <typename D> auto consume_Windows_Globalization_ITimeZoneOnCalendar<D>::TimeZoneAsString() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ITimeZoneOnCalendar)->TimeZoneAsFullString(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Globalization_ITimeZoneOnCalendar<D>::TimeZoneAsString(int32_t idealLength) const
+ template <typename D> auto consume_Windows_Globalization_ITimeZoneOnCalendar<D>::TimeZoneAsString(int32_t idealLength) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Globalization::ITimeZoneOnCalendar)->TimeZoneAsString(idealLength, &result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Capture.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Capture.h
index 26996828dcf..86b32e5797a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Capture.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) consume_Windows_Graphics_Capture_IDirect3D11CaptureFrame<D>::Surface() const
+ template <typename D> auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Capture_IDirect3D11CaptureFrame<D>::SystemRelativeTime() const
+ template <typename D> auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_Graphics_Capture_IDirect3D11CaptureFrame<D>::ContentSize() const
+ template <typename D> auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool<D>::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 <typename D> auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool<D>::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<int32_t>(pixelFormat), numberOfBuffers, impl::bind_in(size)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::Direct3D11CaptureFrame) consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool<D>::TryGetNextFrame() const
+ template <typename D> auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool<D>::FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool<D>::FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool<D>::FrameArrived_revoker consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool<D>::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool<D>::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, FrameArrived_revoker>(this, FrameArrived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool<D>::FrameArrived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool<D>::FrameArrived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool)->remove_FrameArrived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureSession) consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool<D>::CreateCaptureSession(winrt::Windows::Graphics::Capture::GraphicsCaptureItem const& item) const
+ template <typename D> auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool<D>::DispatcherQueue() const
+ template <typename D> auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePool<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool) consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePoolStatics<D>::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 <typename D> auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePoolStatics<D>::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<int32_t>(pixelFormat), numberOfBuffers, impl::bind_in(size), &result));
return winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool) consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePoolStatics2<D>::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 <typename D> auto consume_Windows_Graphics_Capture_IDirect3D11CaptureFramePoolStatics2<D>::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<int32_t>(pixelFormat), numberOfBuffers, impl::bind_in(size), &result));
return winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus>) consume_Windows_Graphics_Capture_IGraphicsCaptureAccessStatics<D>::RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request) const
+ template <typename D> auto consume_Windows_Graphics_Capture_IGraphicsCaptureAccessStatics<D>::RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureAccessStatics)->RequestAccessAsync(static_cast<int32_t>(request), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Capture_IGraphicsCaptureItem<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Graphics_Capture_IGraphicsCaptureItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_Graphics_Capture_IGraphicsCaptureItem<D>::Size() const
+ template <typename D> auto consume_Windows_Graphics_Capture_IGraphicsCaptureItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Capture_IGraphicsCaptureItem<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Capture::GraphicsCaptureItem, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Capture_IGraphicsCaptureItem<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Capture::GraphicsCaptureItem, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Capture_IGraphicsCaptureItem<D>::Closed_revoker consume_Windows_Graphics_Capture_IGraphicsCaptureItem<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Capture::GraphicsCaptureItem, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Capture_IGraphicsCaptureItem<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Capture::GraphicsCaptureItem, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Capture_IGraphicsCaptureItem<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Capture_IGraphicsCaptureItem<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureItem)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureItem) consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics<D>::CreateFromVisual(winrt::Windows::UI::Composition::Visual const& visual) const
+ template <typename D> auto consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureItem) consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2<D>::TryCreateFromWindowId(winrt::Windows::UI::WindowId const& windowId) const
+ template <typename D> auto consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Capture::GraphicsCaptureItem) consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2<D>::TryCreateFromDisplayId(winrt::Windows::Graphics::DisplayId const& displayId) const
+ template <typename D> auto consume_Windows_Graphics_Capture_IGraphicsCaptureItemStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Capture::GraphicsCaptureItem>) consume_Windows_Graphics_Capture_IGraphicsCapturePicker<D>::PickSingleItemAsync() const
+ template <typename D> auto consume_Windows_Graphics_Capture_IGraphicsCapturePicker<D>::PickSingleItemAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCapturePicker)->PickSingleItemAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Capture::GraphicsCaptureItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Capture_IGraphicsCaptureSession<D>::StartCapture() const
+ template <typename D> auto consume_Windows_Graphics_Capture_IGraphicsCaptureSession<D>::StartCapture() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSession)->StartCapture());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Capture_IGraphicsCaptureSession2<D>::IsCursorCaptureEnabled() const
+ template <typename D> auto consume_Windows_Graphics_Capture_IGraphicsCaptureSession2<D>::IsCursorCaptureEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSession2)->get_IsCursorCaptureEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Capture_IGraphicsCaptureSession2<D>::IsCursorCaptureEnabled(bool value) const
+ template <typename D> auto consume_Windows_Graphics_Capture_IGraphicsCaptureSession2<D>::IsCursorCaptureEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSession2)->put_IsCursorCaptureEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Capture_IGraphicsCaptureSession3<D>::IsBorderRequired() const
+ template <typename D> auto consume_Windows_Graphics_Capture_IGraphicsCaptureSession3<D>::IsBorderRequired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3)->get_IsBorderRequired(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Capture_IGraphicsCaptureSession3<D>::IsBorderRequired(bool value) const
+ template <typename D> auto consume_Windows_Graphics_Capture_IGraphicsCaptureSession3<D>::IsBorderRequired(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3)->put_IsBorderRequired(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Capture_IGraphicsCaptureSessionStatics<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Graphics_Capture_IGraphicsCaptureSessionStatics<D>::IsSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Capture::IGraphicsCaptureSessionStatics)->IsSupported(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.DirectX.Direct3D11.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.DirectX.Direct3D11.h
index ecf331d51aa..5245c323abb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.DirectX.Direct3D11.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_DirectX_Direct3D11_IDirect3DDevice<D>::Trim() const
+ template <typename D> auto consume_Windows_Graphics_DirectX_Direct3D11_IDirect3DDevice<D>::Trim() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice)->Trim());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::Direct3DSurfaceDescription) consume_Windows_Graphics_DirectX_Direct3D11_IDirect3DSurface<D>::Description() const
+ template <typename D> auto consume_Windows_Graphics_DirectX_Direct3D11_IDirect3DSurface<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.DirectX.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.DirectX.h
index 275faeed47f..f551a2b688c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.DirectX.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Display.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Display.Core.h
index 5d4655032f3..eb83f0867f6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Display.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Display::Core::HdmiDisplayMode>) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::GetSupportedDisplayModes() const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::GetSupportedDisplayModes() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformation)->GetSupportedDisplayModes(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Display::Core::HdmiDisplayMode>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::GetCurrentDisplayMode() const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::SetDefaultDisplayModeAsync() const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode) const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode, winrt::Windows::Graphics::Display::Core::HdmiDisplayHdrOption const& hdrOption) const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::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<int32_t>(hdrOption), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::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 <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::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<int32_t>(hdrOption), impl::bind_in(hdrMetadata), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::DisplayModesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::Core::HdmiDisplayInformation, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::DisplayModesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::Core::HdmiDisplayInformation, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::DisplayModesChanged_revoker consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::DisplayModesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::Core::HdmiDisplayInformation, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::DisplayModesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::Core::HdmiDisplayInformation, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, DisplayModesChanged_revoker>(this, DisplayModesChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::DisplayModesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation<D>::DisplayModesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformation)->remove_DisplayModesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::Core::HdmiDisplayInformation) consume_Windows_Graphics_Display_Core_IHdmiDisplayInformationStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::ResolutionWidthInRawPixels() const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::ResolutionWidthInRawPixels() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_ResolutionWidthInRawPixels(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::ResolutionHeightInRawPixels() const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::ResolutionHeightInRawPixels() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_ResolutionHeightInRawPixels(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::RefreshRate() const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::RefreshRate() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_RefreshRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::StereoEnabled() const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::StereoEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_StereoEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::BitsPerPixel() const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::BitsPerPixel() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_BitsPerPixel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::IsEqual(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode) const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::Core::HdmiDisplayColorSpace) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::ColorSpace() const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::ColorSpace() const
{
winrt::Windows::Graphics::Display::Core::HdmiDisplayColorSpace value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_ColorSpace(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::Core::HdmiDisplayPixelEncoding) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::PixelEncoding() const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::PixelEncoding() const
{
winrt::Windows::Graphics::Display::Core::HdmiDisplayPixelEncoding value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_PixelEncoding(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::IsSdrLuminanceSupported() const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::IsSdrLuminanceSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_IsSdrLuminanceSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::IsSmpte2084Supported() const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::IsSmpte2084Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_IsSmpte2084Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::Is2086MetadataSupported() const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode<D>::Is2086MetadataSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode)->get_Is2086MetadataSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_Core_IHdmiDisplayMode2<D>::IsDolbyVisionLowLatencySupported() const
+ template <typename D> auto consume_Windows_Graphics_Display_Core_IHdmiDisplayMode2<D>::IsDolbyVisionLowLatencySupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode2)->get_IsDolbyVisionLowLatencySupported(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Display.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Display.h
index 169dafc6288..7b8de7edceb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Display.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::AdvancedColorKind) consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::CurrentAdvancedColorKind() const
+ template <typename D> auto consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::CurrentAdvancedColorKind() const
{
winrt::Windows::Graphics::Display::AdvancedColorKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->get_CurrentAdvancedColorKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::RedPrimary() const
+ template <typename D> auto consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::GreenPrimary() const
+ template <typename D> auto consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::BluePrimary() const
+ template <typename D> auto consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::WhitePoint() const
+ template <typename D> auto consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::MaxLuminanceInNits() const
+ template <typename D> auto consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::MaxLuminanceInNits() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->get_MaxLuminanceInNits(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::MinLuminanceInNits() const
+ template <typename D> auto consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::MinLuminanceInNits() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->get_MinLuminanceInNits(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::MaxAverageFullFrameLuminanceInNits() const
+ template <typename D> auto consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::MaxAverageFullFrameLuminanceInNits() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->get_MaxAverageFullFrameLuminanceInNits(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::SdrWhiteLevelInNits() const
+ template <typename D> auto consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::SdrWhiteLevelInNits() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->get_SdrWhiteLevelInNits(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::IsHdrMetadataFormatCurrentlySupported(winrt::Windows::Graphics::Display::HdrMetadataFormat const& format) const
+ template <typename D> auto consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::IsHdrMetadataFormatCurrentlySupported(winrt::Windows::Graphics::Display::HdrMetadataFormat const& format) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->IsHdrMetadataFormatCurrentlySupported(static_cast<int32_t>(format), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::IsAdvancedColorKindAvailable(winrt::Windows::Graphics::Display::AdvancedColorKind const& kind) const
+ template <typename D> auto consume_Windows_Graphics_Display_IAdvancedColorInfo<D>::IsAdvancedColorKindAvailable(winrt::Windows::Graphics::Display::AdvancedColorKind const& kind) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IAdvancedColorInfo)->IsAdvancedColorKindAvailable(static_cast<int32_t>(kind), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->get_IsSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsOverrideActive() const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsOverrideActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->get_IsOverrideActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Display_IBrightnessOverride<D>::BrightnessLevel() const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverride<D>::BrightnessLevel() const
{
double level{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->get_BrightnessLevel(&level));
return level;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IBrightnessOverride<D>::SetBrightnessLevel(double brightnessLevel, winrt::Windows::Graphics::Display::DisplayBrightnessOverrideOptions const& options) const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverride<D>::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<uint32_t>(options)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IBrightnessOverride<D>::SetBrightnessScenario(winrt::Windows::Graphics::Display::DisplayBrightnessScenario const& scenario, winrt::Windows::Graphics::Display::DisplayBrightnessOverrideOptions const& options) const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverride<D>::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<int32_t>(scenario), static_cast<uint32_t>(options)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Display_IBrightnessOverride<D>::GetLevelForScenario(winrt::Windows::Graphics::Display::DisplayBrightnessScenario const& scenario) const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverride<D>::GetLevelForScenario(winrt::Windows::Graphics::Display::DisplayBrightnessScenario const& scenario) const
{
double brightnessLevel{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->GetLevelForScenario(static_cast<int32_t>(scenario), &brightnessLevel));
return brightnessLevel;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IBrightnessOverride<D>::StartOverride() const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverride<D>::StartOverride() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->StartOverride());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IBrightnessOverride<D>::StopOverride() const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverride<D>::StopOverride() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->StopOverride());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsSupportedChanged_revoker consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, IsSupportedChanged_revoker>(this, IsSupportedChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsSupportedChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsSupportedChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->remove_IsSupportedChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsOverrideActiveChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsOverrideActiveChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsOverrideActiveChanged_revoker consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, IsOverrideActiveChanged_revoker>(this, IsOverrideActiveChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsOverrideActiveChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverride<D>::IsOverrideActiveChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->remove_IsOverrideActiveChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IBrightnessOverride<D>::BrightnessLevelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverride<D>::BrightnessLevelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Display_IBrightnessOverride<D>::BrightnessLevelChanged_revoker consume_Windows_Graphics_Display_IBrightnessOverride<D>::BrightnessLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverride<D>::BrightnessLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, BrightnessLevelChanged_revoker>(this, BrightnessLevelChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IBrightnessOverride<D>::BrightnessLevelChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverride<D>::BrightnessLevelChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverride)->remove_BrightnessLevelChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Display_IBrightnessOverrideSettings<D>::DesiredLevel() const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverrideSettings<D>::DesiredLevel() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverrideSettings)->get_DesiredLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IBrightnessOverrideSettings<D>::DesiredNits() const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverrideSettings<D>::DesiredNits() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverrideSettings)->get_DesiredNits(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverrideSettings) consume_Windows_Graphics_Display_IBrightnessOverrideSettingsStatics<D>::CreateFromLevel(double level) const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverrideSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverrideSettings) consume_Windows_Graphics_Display_IBrightnessOverrideSettingsStatics<D>::CreateFromNits(float nits) const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverrideSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverrideSettings) consume_Windows_Graphics_Display_IBrightnessOverrideSettingsStatics<D>::CreateFromDisplayBrightnessOverrideScenario(winrt::Windows::Graphics::Display::DisplayBrightnessOverrideScenario const& overrideScenario) const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverrideSettingsStatics<D>::CreateFromDisplayBrightnessOverrideScenario(winrt::Windows::Graphics::Display::DisplayBrightnessOverrideScenario const& overrideScenario) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IBrightnessOverrideSettingsStatics)->CreateFromDisplayBrightnessOverrideScenario(static_cast<int32_t>(overrideScenario), &result));
return winrt::Windows::Graphics::Display::BrightnessOverrideSettings{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverride) consume_Windows_Graphics_Display_IBrightnessOverrideStatics<D>::GetDefaultForSystem() const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverrideStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverride) consume_Windows_Graphics_Display_IBrightnessOverrideStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverrideStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Graphics_Display_IBrightnessOverrideStatics<D>::SaveForSystemAsync(winrt::Windows::Graphics::Display::BrightnessOverride const& value) const
+ template <typename D> auto consume_Windows_Graphics_Display_IBrightnessOverrideStatics<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayColorOverrideScenario) consume_Windows_Graphics_Display_IColorOverrideSettings<D>::DesiredDisplayColorOverrideScenario() const
+ template <typename D> auto consume_Windows_Graphics_Display_IColorOverrideSettings<D>::DesiredDisplayColorOverrideScenario() const
{
winrt::Windows::Graphics::Display::DisplayColorOverrideScenario value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IColorOverrideSettings)->get_DesiredDisplayColorOverrideScenario(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::ColorOverrideSettings) consume_Windows_Graphics_Display_IColorOverrideSettingsStatics<D>::CreateFromDisplayColorOverrideScenario(winrt::Windows::Graphics::Display::DisplayColorOverrideScenario const& overrideScenario) const
+ template <typename D> auto consume_Windows_Graphics_Display_IColorOverrideSettingsStatics<D>::CreateFromDisplayColorOverrideScenario(winrt::Windows::Graphics::Display::DisplayColorOverrideScenario const& overrideScenario) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IColorOverrideSettingsStatics)->CreateFromDisplayColorOverrideScenario(static_cast<int32_t>(overrideScenario), &result));
return winrt::Windows::Graphics::Display::ColorOverrideSettings{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::ColorOverrideSettings) consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::ColorOverrideSettings() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::ColorOverrideSettings(winrt::Windows::Graphics::Display::ColorOverrideSettings const& value) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::ColorOverrideSettings(winrt::Windows::Graphics::Display::ColorOverrideSettings const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->put_ColorOverrideSettings(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::BrightnessOverrideSettings) consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::BrightnessOverrideSettings() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::BrightnessOverrideSettings(winrt::Windows::Graphics::Display::BrightnessOverrideSettings const& value) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::BrightnessOverrideSettings(winrt::Windows::Graphics::Display::BrightnessOverrideSettings const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->put_BrightnessOverrideSettings(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::CanOverride() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::CanOverride() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->get_CanOverride(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::IsOverrideActive() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::IsOverrideActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->get_IsOverrideActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilities) consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::GetCurrentDisplayEnhancementOverrideCapabilities() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::RequestOverride() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::RequestOverride() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->RequestOverride());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::StopOverride() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::StopOverride() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->StopOverride());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::CanOverrideChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::CanOverrideChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::CanOverrideChanged_revoker consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::CanOverrideChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::CanOverrideChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, CanOverrideChanged_revoker>(this, CanOverrideChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::CanOverrideChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::CanOverrideChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->remove_CanOverrideChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::IsOverrideActiveChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::IsOverrideActiveChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::IsOverrideActiveChanged_revoker consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, IsOverrideActiveChanged_revoker>(this, IsOverrideActiveChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::IsOverrideActiveChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::IsOverrideActiveChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->remove_IsOverrideActiveChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::DisplayEnhancementOverrideCapabilitiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilitiesChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::DisplayEnhancementOverrideCapabilitiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilitiesChangedEventArgs> 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 D> typename consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::DisplayEnhancementOverrideCapabilitiesChanged_revoker consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::DisplayEnhancementOverrideCapabilitiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilitiesChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::DisplayEnhancementOverrideCapabilitiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilitiesChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DisplayEnhancementOverrideCapabilitiesChanged_revoker>(this, DisplayEnhancementOverrideCapabilitiesChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::DisplayEnhancementOverrideCapabilitiesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverride<D>::DisplayEnhancementOverrideCapabilitiesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverride)->remove_DisplayEnhancementOverrideCapabilitiesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilities<D>::IsBrightnessControlSupported() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilities<D>::IsBrightnessControlSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilities)->get_IsBrightnessControlSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilities<D>::IsBrightnessNitsControlSupported() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilities<D>::IsBrightnessNitsControlSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilities)->get_IsBrightnessNitsControlSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Display::NitRange>) consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilities<D>::GetSupportedNitRanges() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilities<D>::GetSupportedNitRanges() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilities)->GetSupportedNitRanges(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Display::NitRange>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilities) consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilitiesChangedEventArgs<D>::Capabilities() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilitiesChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayEnhancementOverride) consume_Windows_Graphics_Display_IDisplayEnhancementOverrideStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayEnhancementOverrideStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Graphics_Display_IDisplayInformation<D>::CurrentOrientation() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::CurrentOrientation() const
{
winrt::Windows::Graphics::Display::DisplayOrientations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->get_CurrentOrientation(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Graphics_Display_IDisplayInformation<D>::NativeOrientation() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::NativeOrientation() const
{
winrt::Windows::Graphics::Display::DisplayOrientations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->get_NativeOrientation(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayInformation<D>::OrientationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::OrientationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Display_IDisplayInformation<D>::OrientationChanged_revoker consume_Windows_Graphics_Display_IDisplayInformation<D>::OrientationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::OrientationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, OrientationChanged_revoker>(this, OrientationChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayInformation<D>::OrientationChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::OrientationChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->remove_OrientationChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::ResolutionScale) consume_Windows_Graphics_Display_IDisplayInformation<D>::ResolutionScale() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::ResolutionScale() const
{
winrt::Windows::Graphics::Display::ResolutionScale value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->get_ResolutionScale(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IDisplayInformation<D>::LogicalDpi() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::LogicalDpi() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->get_LogicalDpi(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IDisplayInformation<D>::RawDpiX() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::RawDpiX() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->get_RawDpiX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IDisplayInformation<D>::RawDpiY() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::RawDpiY() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->get_RawDpiY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayInformation<D>::DpiChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::DpiChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Display_IDisplayInformation<D>::DpiChanged_revoker consume_Windows_Graphics_Display_IDisplayInformation<D>::DpiChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::DpiChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, DpiChanged_revoker>(this, DpiChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayInformation<D>::DpiChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::DpiChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->remove_DpiChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IDisplayInformation<D>::StereoEnabled() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::StereoEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->get_StereoEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayInformation<D>::StereoEnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::StereoEnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Display_IDisplayInformation<D>::StereoEnabledChanged_revoker consume_Windows_Graphics_Display_IDisplayInformation<D>::StereoEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::StereoEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, StereoEnabledChanged_revoker>(this, StereoEnabledChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayInformation<D>::StereoEnabledChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::StereoEnabledChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->remove_StereoEnabledChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) consume_Windows_Graphics_Display_IDisplayInformation<D>::GetColorProfileAsync() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::GetColorProfileAsync() const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->GetColorProfileAsync(&asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayInformation<D>::ColorProfileChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::ColorProfileChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Display_IDisplayInformation<D>::ColorProfileChanged_revoker consume_Windows_Graphics_Display_IDisplayInformation<D>::ColorProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::ColorProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ColorProfileChanged_revoker>(this, ColorProfileChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayInformation<D>::ColorProfileChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation<D>::ColorProfileChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation)->remove_ColorProfileChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Display_IDisplayInformation2<D>::RawPixelsPerViewPixel() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation2<D>::RawPixelsPerViewPixel() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation2)->get_RawPixelsPerViewPixel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Graphics_Display_IDisplayInformation3<D>::DiagonalSizeInInches() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation3<D>::DiagonalSizeInInches() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation3)->get_DiagonalSizeInInches(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Display_IDisplayInformation4<D>::ScreenWidthInRawPixels() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation4<D>::ScreenWidthInRawPixels() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation4)->get_ScreenWidthInRawPixels(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Display_IDisplayInformation4<D>::ScreenHeightInRawPixels() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation4<D>::ScreenHeightInRawPixels() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation4)->get_ScreenHeightInRawPixels(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::AdvancedColorInfo) consume_Windows_Graphics_Display_IDisplayInformation5<D>::GetAdvancedColorInfo() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayInformation5<D>::AdvancedColorInfoChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation5<D>::AdvancedColorInfoChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Display_IDisplayInformation5<D>::AdvancedColorInfoChanged_revoker consume_Windows_Graphics_Display_IDisplayInformation5<D>::AdvancedColorInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation5<D>::AdvancedColorInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, AdvancedColorInfoChanged_revoker>(this, AdvancedColorInfoChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayInformation5<D>::AdvancedColorInfoChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformation5<D>::AdvancedColorInfoChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformation5)->remove_AdvancedColorInfoChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayInformation) consume_Windows_Graphics_Display_IDisplayInformationStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformationStatics<D>::GetForCurrentView() const
{
void* current{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformationStatics)->GetForCurrentView(&current));
return winrt::Windows::Graphics::Display::DisplayInformation{ current, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Graphics_Display_IDisplayInformationStatics<D>::AutoRotationPreferences() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformationStatics<D>::AutoRotationPreferences() const
{
winrt::Windows::Graphics::Display::DisplayOrientations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformationStatics)->get_AutoRotationPreferences(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayInformationStatics<D>::AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformationStatics<D>::AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformationStatics)->put_AutoRotationPreferences(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayInformationStatics<D>::DisplayContentsInvalidated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformationStatics<D>::DisplayContentsInvalidated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Display_IDisplayInformationStatics<D>::DisplayContentsInvalidated_revoker consume_Windows_Graphics_Display_IDisplayInformationStatics<D>::DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformationStatics<D>::DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, DisplayContentsInvalidated_revoker>(this, DisplayContentsInvalidated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayInformationStatics<D>::DisplayContentsInvalidated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayInformationStatics<D>::DisplayContentsInvalidated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayInformationStatics)->remove_DisplayContentsInvalidated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::CurrentOrientation() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::CurrentOrientation() const
{
winrt::Windows::Graphics::Display::DisplayOrientations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->get_CurrentOrientation(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::NativeOrientation() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::NativeOrientation() const
{
winrt::Windows::Graphics::Display::DisplayOrientations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->get_NativeOrientation(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayOrientations) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::AutoRotationPreferences() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::AutoRotationPreferences() const
{
winrt::Windows::Graphics::Display::DisplayOrientations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->get_AutoRotationPreferences(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::AutoRotationPreferences(winrt::Windows::Graphics::Display::DisplayOrientations const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->put_AutoRotationPreferences(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::OrientationChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::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 D> typename consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::OrientationChanged_revoker consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::OrientationChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::OrientationChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const
{
return impl::make_event_revoker<D, OrientationChanged_revoker>(this, OrientationChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::OrientationChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::OrientationChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->remove_OrientationChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::ResolutionScale) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::ResolutionScale() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::ResolutionScale() const
{
winrt::Windows::Graphics::Display::ResolutionScale value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->get_ResolutionScale(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::LogicalDpi() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::LogicalDpi() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->get_LogicalDpi(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::LogicalDpiChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::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 D> typename consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::LogicalDpiChanged_revoker consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::LogicalDpiChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::LogicalDpiChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const
{
return impl::make_event_revoker<D, LogicalDpiChanged_revoker>(this, LogicalDpiChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::LogicalDpiChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::LogicalDpiChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->remove_LogicalDpiChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::StereoEnabled() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::StereoEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->get_StereoEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::StereoEnabledChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::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 D> typename consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::StereoEnabledChanged_revoker consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::StereoEnabledChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::StereoEnabledChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const
{
return impl::make_event_revoker<D, StereoEnabledChanged_revoker>(this, StereoEnabledChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::StereoEnabledChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::StereoEnabledChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->remove_StereoEnabledChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::GetColorProfileAsync() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::GetColorProfileAsync() const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->GetColorProfileAsync(&asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::ColorProfileChanged(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::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 D> typename consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::ColorProfileChanged_revoker consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::ColorProfileChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::ColorProfileChanged(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const
{
return impl::make_event_revoker<D, ColorProfileChanged_revoker>(this, ColorProfileChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::ColorProfileChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::ColorProfileChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->remove_ColorProfileChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::DisplayContentsInvalidated(winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::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 D> typename consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::DisplayContentsInvalidated_revoker consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Graphics::Display::DisplayPropertiesEventHandler const& handler) const
{
return impl::make_event_revoker<D, DisplayContentsInvalidated_revoker>(this, DisplayContentsInvalidated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::DisplayContentsInvalidated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayPropertiesStatics<D>::DisplayContentsInvalidated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Display::IDisplayPropertiesStatics)->remove_DisplayContentsInvalidated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::Graphics::DisplayId>) consume_Windows_Graphics_Display_IDisplayServicesStatics<D>::FindAll() const
+ template <typename D> auto consume_Windows_Graphics_Display_IDisplayServicesStatics<D>::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<DisplayInformation, IDisplayInformationStatics>([&](IDisplayInformationStatics const& f) { return f.DisplayContentsInvalidated(handler); });
}
- inline DisplayInformation::DisplayContentsInvalidated_revoker DisplayInformation::DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto DisplayInformation::DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<DisplayInformation, winrt::Windows::Graphics::Display::IDisplayInformationStatics>();
- 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<DisplayProperties, IDisplayPropertiesStatics>([&](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<DisplayProperties, winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>();
- 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<DisplayProperties, IDisplayPropertiesStatics>([&](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<DisplayProperties, winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>();
- 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<DisplayProperties, IDisplayPropertiesStatics>([&](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<DisplayProperties, winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>();
- 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<DisplayProperties, IDisplayPropertiesStatics>([&](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<DisplayProperties, winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>();
- 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<DisplayProperties, IDisplayPropertiesStatics>([&](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<DisplayProperties, winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Effects.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Effects.h
index 911401ae609..24fefb0adc6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Effects.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Effects_IGraphicsEffect<D>::Name() const
+ template <typename D> auto consume_Windows_Graphics_Effects_IGraphicsEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Effects_IGraphicsEffect<D>::Name(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Graphics_Effects_IGraphicsEffect<D>::Name(param::hstring const& name) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Effects::IGraphicsEffect)->put_Name(*(void**)(&name)));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Holographic.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Holographic.h
index 8b560af8529..c52c6cee20d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Holographic.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Graphics_Holographic_IHolographicCamera<D>::RenderTargetSize() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Holographic_IHolographicCamera<D>::ViewportScaleFactor() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera<D>::ViewportScaleFactor() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera)->get_ViewportScaleFactor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCamera<D>::ViewportScaleFactor(double value) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera<D>::ViewportScaleFactor(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera)->put_ViewportScaleFactor(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicCamera<D>::IsStereo() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera<D>::IsStereo() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera)->get_IsStereo(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Holographic_IHolographicCamera<D>::Id() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCamera<D>::SetNearPlaneDistance(double value) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera<D>::SetNearPlaneDistance(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera)->SetNearPlaneDistance(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCamera<D>::SetFarPlaneDistance(double value) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera<D>::SetFarPlaneDistance(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera)->SetFarPlaneDistance(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCameraViewportParameters) consume_Windows_Graphics_Holographic_IHolographicCamera2<D>::LeftViewportParameters() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCameraViewportParameters) consume_Windows_Graphics_Holographic_IHolographicCamera2<D>::RightViewportParameters() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicDisplay) consume_Windows_Graphics_Holographic_IHolographicCamera2<D>::Display() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicCamera3<D>::IsPrimaryLayerEnabled() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera3<D>::IsPrimaryLayerEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera3)->get_IsPrimaryLayerEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCamera3<D>::IsPrimaryLayerEnabled(bool value) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera3<D>::IsPrimaryLayerEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera3)->put_IsPrimaryLayerEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Holographic_IHolographicCamera3<D>::MaxQuadLayerCount() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera3<D>::MaxQuadLayerCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera3)->get_MaxQuadLayerCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Holographic::HolographicQuadLayer>) consume_Windows_Graphics_Holographic_IHolographicCamera3<D>::QuadLayers() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera3<D>::QuadLayers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera3)->get_QuadLayers(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Holographic::HolographicQuadLayer>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicCamera4<D>::CanOverrideViewport() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera4<D>::CanOverrideViewport() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera4)->get_CanOverrideViewport(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicCamera5<D>::IsHardwareContentProtectionSupported() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera5<D>::IsHardwareContentProtectionSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera5)->get_IsHardwareContentProtectionSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicCamera5<D>::IsHardwareContentProtectionEnabled() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera5<D>::IsHardwareContentProtectionEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera5)->get_IsHardwareContentProtectionEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCamera5<D>::IsHardwareContentProtectionEnabled(bool value) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera5<D>::IsHardwareContentProtectionEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCamera5)->put_IsHardwareContentProtectionEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicViewConfiguration) consume_Windows_Graphics_Holographic_IHolographicCamera6<D>::ViewConfiguration() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCamera6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCamera) consume_Windows_Graphics_Holographic_IHolographicCameraPose<D>::HolographicCamera() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraPose<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Graphics_Holographic_IHolographicCameraPose<D>::Viewport() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraPose<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::Holographic::HolographicStereoTransform>) consume_Windows_Graphics_Holographic_IHolographicCameraPose<D>::TryGetViewTransform(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraPose<D>::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<winrt::Windows::Graphics::Holographic::HolographicStereoTransform>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicStereoTransform) consume_Windows_Graphics_Holographic_IHolographicCameraPose<D>::ProjectionTransform() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraPose<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Perception::Spatial::SpatialBoundingFrustum>) consume_Windows_Graphics_Holographic_IHolographicCameraPose<D>::TryGetCullingFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraPose<D>::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<winrt::Windows::Perception::Spatial::SpatialBoundingFrustum>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Perception::Spatial::SpatialBoundingFrustum>) consume_Windows_Graphics_Holographic_IHolographicCameraPose<D>::TryGetVisibleFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraPose<D>::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<winrt::Windows::Perception::Spatial::SpatialBoundingFrustum>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Holographic_IHolographicCameraPose<D>::NearPlaneDistance() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraPose<D>::NearPlaneDistance() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraPose)->get_NearPlaneDistance(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Holographic_IHolographicCameraPose<D>::FarPlaneDistance() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraPose<D>::FarPlaneDistance() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraPose)->get_FarPlaneDistance(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraPose2<D>::OverrideViewTransform(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Graphics::Holographic::HolographicStereoTransform const& coordinateSystemToViewTransform) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraPose2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraPose2<D>::OverrideProjectionTransform(winrt::Windows::Graphics::Holographic::HolographicStereoTransform const& projectionTransform) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraPose2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraPose2<D>::OverrideViewport(winrt::Windows::Foundation::Rect const& leftViewport, winrt::Windows::Foundation::Rect const& rightViewport) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraPose2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters<D>::SetFocusPoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters<D>::SetFocusPoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::float3 const& normal) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters<D>::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 <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters<D>::Direct3D11Device() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters<D>::Direct3D11BackBuffer() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicReprojectionMode) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters2<D>::ReprojectionMode() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters2<D>::ReprojectionMode() const
{
winrt::Windows::Graphics::Holographic::HolographicReprojectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters2)->get_ReprojectionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters2<D>::ReprojectionMode(winrt::Windows::Graphics::Holographic::HolographicReprojectionMode const& value) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters2<D>::ReprojectionMode(winrt::Windows::Graphics::Holographic::HolographicReprojectionMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters2)->put_ReprojectionMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters2<D>::CommitDirect3D11DepthBuffer(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& value) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters2<D>::CommitDirect3D11DepthBuffer(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters2)->CommitDirect3D11DepthBuffer(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters3<D>::IsContentProtectionEnabled() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters3<D>::IsContentProtectionEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters3)->get_IsContentProtectionEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters3<D>::IsContentProtectionEnabled(bool value) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters3<D>::IsContentProtectionEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters3)->put_IsContentProtectionEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4<D>::DepthReprojectionMethod() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4<D>::DepthReprojectionMethod() const
{
winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4)->get_DepthReprojectionMethod(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4<D>::DepthReprojectionMethod(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod const& value) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraRenderingParameters4<D>::DepthReprojectionMethod(winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4)->put_DepthReprojectionMethod(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::Foundation::Numerics::float2>) consume_Windows_Graphics_Holographic_IHolographicCameraViewportParameters<D>::HiddenAreaMesh() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraViewportParameters<D>::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<winrt::Windows::Foundation::Numerics::float2>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::Foundation::Numerics::float2>) consume_Windows_Graphics_Holographic_IHolographicCameraViewportParameters<D>::VisibleAreaMesh() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicCameraViewportParameters<D>::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<winrt::Windows::Foundation::Numerics::float2>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Holographic_IHolographicDisplay<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Graphics_Holographic_IHolographicDisplay<D>::MaxViewportSize() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicDisplay<D>::IsStereo() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicDisplay<D>::IsStereo() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicDisplay)->get_IsStereo(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicDisplay<D>::IsOpaque() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicDisplay<D>::IsOpaque() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicDisplay)->get_IsOpaque(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicAdapterId) consume_Windows_Graphics_Holographic_IHolographicDisplay<D>::AdapterId() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocator) consume_Windows_Graphics_Holographic_IHolographicDisplay<D>::SpatialLocator() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicDisplay<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Holographic_IHolographicDisplay2<D>::RefreshRate() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicDisplay2<D>::RefreshRate() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicDisplay2)->get_RefreshRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicViewConfiguration) consume_Windows_Graphics_Holographic_IHolographicDisplay3<D>::TryGetViewConfiguration(winrt::Windows::Graphics::Holographic::HolographicViewConfigurationKind const& kind) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicDisplay3<D>::TryGetViewConfiguration(winrt::Windows::Graphics::Holographic::HolographicViewConfigurationKind const& kind) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicDisplay3)->TryGetViewConfiguration(static_cast<int32_t>(kind), &result));
return winrt::Windows::Graphics::Holographic::HolographicViewConfiguration{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicDisplay) consume_Windows_Graphics_Holographic_IHolographicDisplayStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicDisplayStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicCamera>) consume_Windows_Graphics_Holographic_IHolographicFrame<D>::AddedCameras() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrame<D>::AddedCameras() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrame)->get_AddedCameras(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicCamera>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicCamera>) consume_Windows_Graphics_Holographic_IHolographicFrame<D>::RemovedCameras() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrame<D>::RemovedCameras() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrame)->get_RemovedCameras(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicCamera>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCameraRenderingParameters) consume_Windows_Graphics_Holographic_IHolographicFrame<D>::GetRenderingParameters(winrt::Windows::Graphics::Holographic::HolographicCameraPose const& cameraPose) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFrame<D>::Duration() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFramePrediction) consume_Windows_Graphics_Holographic_IHolographicFrame<D>::CurrentPrediction() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicFrame<D>::UpdateCurrentPrediction() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrame<D>::UpdateCurrentPrediction() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrame)->UpdateCurrentPrediction());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFramePresentResult) consume_Windows_Graphics_Holographic_IHolographicFrame<D>::PresentUsingCurrentPrediction() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrame<D>::PresentUsingCurrentPrediction() const
{
winrt::Windows::Graphics::Holographic::HolographicFramePresentResult result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrame)->PresentUsingCurrentPrediction(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFramePresentResult) consume_Windows_Graphics_Holographic_IHolographicFrame<D>::PresentUsingCurrentPrediction(winrt::Windows::Graphics::Holographic::HolographicFramePresentWaitBehavior const& waitBehavior) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrame<D>::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<int32_t>(waitBehavior), reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicFrame<D>::WaitForFrameToFinish() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrame<D>::WaitForFrameToFinish() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrame)->WaitForFrameToFinish());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicQuadLayerUpdateParameters) consume_Windows_Graphics_Holographic_IHolographicFrame2<D>::GetQuadLayerUpdateParameters(winrt::Windows::Graphics::Holographic::HolographicQuadLayer const& layer) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrame2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFrameId) consume_Windows_Graphics_Holographic_IHolographicFrame3<D>::Id() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrame3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicCameraPose>) consume_Windows_Graphics_Holographic_IHolographicFramePrediction<D>::CameraPoses() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFramePrediction<D>::CameraPoses() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFramePrediction)->get_CameraPoses(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicCameraPose>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) consume_Windows_Graphics_Holographic_IHolographicFramePrediction<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFramePrediction<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicFramePresentationReport>) consume_Windows_Graphics_Holographic_IHolographicFramePresentationMonitor<D>::ReadReports() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFramePresentationMonitor<D>::ReadReports() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFramePresentationMonitor)->ReadReports(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicFramePresentationReport>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport<D>::CompositorGpuDuration() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport<D>::AppGpuDuration() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport<D>::AppGpuOverrun() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport<D>::MissedPresentationOpportunityCount() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport<D>::MissedPresentationOpportunityCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFramePresentationReport)->get_MissedPresentationOpportunityCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport<D>::PresentationCount() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFramePresentationReport<D>::PresentationCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFramePresentationReport)->get_PresentationCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFrameId) consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport<D>::FrameId() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport<D>::MissedLatchCount() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport<D>::MissedLatchCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrameRenderingReport)->get_MissedLatchCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport<D>::SystemRelativeFrameReadyTime() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport<D>::SystemRelativeActualGpuFinishTime() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport<D>::SystemRelativeTargetLatchTime() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrameRenderingReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Holographic::HolographicFrameScanoutReport>) consume_Windows_Graphics_Holographic_IHolographicFrameScanoutMonitor<D>::ReadReports() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrameScanoutMonitor<D>::ReadReports() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutMonitor)->ReadReports(&result));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Holographic::HolographicFrameScanoutReport>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFrameRenderingReport) consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport<D>::RenderingReport() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport<D>::MissedScanoutCount() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport<D>::MissedScanoutCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutReport)->get_MissedScanoutCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport<D>::SystemRelativeLatchTime() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport<D>::SystemRelativeScanoutStartTime() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport<D>::SystemRelativePhotonTime() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicFrameScanoutReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Graphics_Holographic_IHolographicQuadLayer<D>::PixelFormat() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicQuadLayer<D>::PixelFormat() const
{
winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicQuadLayer)->get_PixelFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Graphics_Holographic_IHolographicQuadLayer<D>::Size() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicQuadLayer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicQuadLayer) consume_Windows_Graphics_Holographic_IHolographicQuadLayerFactory<D>::Create(winrt::Windows::Foundation::Size const& size) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicQuadLayer) consume_Windows_Graphics_Holographic_IHolographicQuadLayerFactory<D>::CreateWithPixelFormat(winrt::Windows::Foundation::Size const& size, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerFactory<D>::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<int32_t>(pixelFormat), &value));
return winrt::Windows::Graphics::Holographic::HolographicQuadLayer{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters<D>::AcquireBufferToUpdateContent() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters<D>::UpdateViewport(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters<D>::UpdateViewport(winrt::Windows::Foundation::Rect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters)->UpdateViewport(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters<D>::UpdateContentProtectionEnabled(bool value) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters<D>::UpdateContentProtectionEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters)->UpdateContentProtectionEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters<D>::UpdateExtents(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters<D>::UpdateLocationWithStationaryMode(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters<D>::UpdateLocationWithDisplayRelativeMode(winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters2<D>::CanAcquireWithHardwareProtection() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters2<D>::CanAcquireWithHardwareProtection() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters2)->get_CanAcquireWithHardwareProtection(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters2<D>::AcquireBufferToUpdateContentWithHardwareProtection() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicQuadLayerUpdateParameters2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicAdapterId) consume_Windows_Graphics_Holographic_IHolographicSpace<D>::PrimaryAdapterId() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpace<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicSpace<D>::SetDirect3D11Device(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& value) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpace<D>::SetDirect3D11Device(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace)->SetDirect3D11Device(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Holographic_IHolographicSpace<D>::CameraAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Graphics::Holographic::HolographicSpaceCameraAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpace<D>::CameraAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Graphics::Holographic::HolographicSpaceCameraAddedEventArgs> 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 D> typename consume_Windows_Graphics_Holographic_IHolographicSpace<D>::CameraAdded_revoker consume_Windows_Graphics_Holographic_IHolographicSpace<D>::CameraAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Graphics::Holographic::HolographicSpaceCameraAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpace<D>::CameraAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Graphics::Holographic::HolographicSpaceCameraAddedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CameraAdded_revoker>(this, CameraAdded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicSpace<D>::CameraAdded(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpace<D>::CameraAdded(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace)->remove_CameraAdded(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Holographic_IHolographicSpace<D>::CameraRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Graphics::Holographic::HolographicSpaceCameraRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpace<D>::CameraRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Graphics::Holographic::HolographicSpaceCameraRemovedEventArgs> 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 D> typename consume_Windows_Graphics_Holographic_IHolographicSpace<D>::CameraRemoved_revoker consume_Windows_Graphics_Holographic_IHolographicSpace<D>::CameraRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Graphics::Holographic::HolographicSpaceCameraRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpace<D>::CameraRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Graphics::Holographic::HolographicSpaceCameraRemovedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CameraRemoved_revoker>(this, CameraRemoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicSpace<D>::CameraRemoved(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpace<D>::CameraRemoved(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace)->remove_CameraRemoved(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFrame) consume_Windows_Graphics_Holographic_IHolographicSpace<D>::CreateNextFrame() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpace<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicSpaceUserPresence) consume_Windows_Graphics_Holographic_IHolographicSpace2<D>::UserPresence() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpace2<D>::UserPresence() const
{
winrt::Windows::Graphics::Holographic::HolographicSpaceUserPresence value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace2)->get_UserPresence(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Holographic_IHolographicSpace2<D>::UserPresenceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpace2<D>::UserPresenceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Holographic_IHolographicSpace2<D>::UserPresenceChanged_revoker consume_Windows_Graphics_Holographic_IHolographicSpace2<D>::UserPresenceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpace2<D>::UserPresenceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, UserPresenceChanged_revoker>(this, UserPresenceChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicSpace2<D>::UserPresenceChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpace2<D>::UserPresenceChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace2)->remove_UserPresenceChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicSpace2<D>::WaitForNextFrameReady() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpace2<D>::WaitForNextFrameReady() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace2)->WaitForNextFrameReady());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicSpace2<D>::WaitForNextFrameReadyWithHeadStart(winrt::Windows::Foundation::TimeSpan const& requestedHeadStartDuration) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpace2<D>::WaitForNextFrameReadyWithHeadStart(winrt::Windows::Foundation::TimeSpan const& requestedHeadStartDuration) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpace2)->WaitForNextFrameReadyWithHeadStart(impl::bind_in(requestedHeadStartDuration)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFramePresentationMonitor) consume_Windows_Graphics_Holographic_IHolographicSpace2<D>::CreateFramePresentationMonitor(uint32_t maxQueuedReports) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpace2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFrameScanoutMonitor) consume_Windows_Graphics_Holographic_IHolographicSpace3<D>::CreateFrameScanoutMonitor(uint32_t maxQueuedReports) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpace3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCamera) consume_Windows_Graphics_Holographic_IHolographicSpaceCameraAddedEventArgs<D>::Camera() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpaceCameraAddedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Graphics_Holographic_IHolographicSpaceCameraAddedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpaceCameraAddedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCamera) consume_Windows_Graphics_Holographic_IHolographicSpaceCameraRemovedEventArgs<D>::Camera() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpaceCameraRemovedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicSpace) consume_Windows_Graphics_Holographic_IHolographicSpaceStatics<D>::CreateForCoreWindow(winrt::Windows::UI::Core::CoreWindow const& window) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpaceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2<D>::IsSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2)->get_IsSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2<D>::IsAvailable() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2<D>::IsAvailable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2)->get_IsAvailable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2<D>::IsAvailableChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2<D>::IsAvailableChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2<D>::IsAvailableChanged_revoker consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2<D>::IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2<D>::IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, IsAvailableChanged_revoker>(this, IsAvailableChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2<D>::IsAvailableChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpaceStatics2<D>::IsAvailableChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2)->remove_IsAvailableChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicSpaceStatics3<D>::IsConfigured() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicSpaceStatics3<D>::IsConfigured() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics3)->get_IsConfigured(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::NativeRenderTargetSize() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::RenderTargetSize() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::RequestRenderTargetSize(winrt::Windows::Foundation::Size const& size) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::DirectX::DirectXPixelFormat>) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::SupportedPixelFormats() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::SupportedPixelFormats() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->get_SupportedPixelFormats(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::DirectX::DirectXPixelFormat>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::PixelFormat() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::PixelFormat() const
{
winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->get_PixelFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::PixelFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::PixelFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->put_PixelFormat(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::IsStereo() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::IsStereo() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->get_IsStereo(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::RefreshRate() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::RefreshRate() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->get_RefreshRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicViewConfigurationKind) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::Kind() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::Kind() const
{
winrt::Windows::Graphics::Holographic::HolographicViewConfigurationKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicDisplay) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::Display() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod>) consume_Windows_Graphics_Holographic_IHolographicViewConfiguration2<D>::SupportedDepthReprojectionMethods() const
+ template <typename D> auto consume_Windows_Graphics_Holographic_IHolographicViewConfiguration2<D>::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<HolographicSpace, IHolographicSpaceStatics2>([&](IHolographicSpaceStatics2 const& f) { return f.IsAvailableChanged(handler); });
}
- inline HolographicSpace::IsAvailableChanged_revoker HolographicSpace::IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto HolographicSpace::IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<HolographicSpace, winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Imaging.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Imaging.h
index c68a9e5fd66..aa0c2bed3dd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Imaging.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Graphics_Imaging_IBitmapBuffer<D>::GetPlaneCount() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapBuffer<D>::GetPlaneCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapBuffer)->GetPlaneCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPlaneDescription) consume_Windows_Graphics_Imaging_IBitmapBuffer<D>::GetPlaneDescription(int32_t index) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapBuffer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapCodecInformation<D>::CodecId() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapCodecInformation<D>::CodecId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapCodecInformation)->get_CodecId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Graphics_Imaging_IBitmapCodecInformation<D>::FileExtensions() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapCodecInformation<D>::FileExtensions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapCodecInformation)->get_FileExtensions(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Imaging_IBitmapCodecInformation<D>::FriendlyName() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapCodecInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Graphics_Imaging_IBitmapCodecInformation<D>::MimeTypes() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapCodecInformation<D>::MimeTypes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapCodecInformation)->get_MimeTypes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPropertiesView) consume_Windows_Graphics_Imaging_IBitmapDecoder<D>::BitmapContainerProperties() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapDecoder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapCodecInformation) consume_Windows_Graphics_Imaging_IBitmapDecoder<D>::DecoderInformation() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapDecoder<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapDecoder<D>::FrameCount() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapDecoder<D>::FrameCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoder)->get_FrameCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::ImageStream>) consume_Windows_Graphics_Imaging_IBitmapDecoder<D>::GetPreviewAsync() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapDecoder<D>::GetPreviewAsync() const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoder)->GetPreviewAsync(&asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::ImageStream>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::BitmapFrame>) consume_Windows_Graphics_Imaging_IBitmapDecoder<D>::GetFrameAsync(uint32_t frameIndex) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapDecoder<D>::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<winrt::Windows::Graphics::Imaging::BitmapFrame>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::BmpDecoderId() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::BmpDecoderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->get_BmpDecoderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::JpegDecoderId() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::JpegDecoderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->get_JpegDecoderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::PngDecoderId() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::PngDecoderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->get_PngDecoderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::TiffDecoderId() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::TiffDecoderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->get_TiffDecoderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::GifDecoderId() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::GifDecoderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->get_GifDecoderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::JpegXRDecoderId() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::JpegXRDecoderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->get_JpegXRDecoderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::IcoDecoderId() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::IcoDecoderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->get_IcoDecoderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Imaging::BitmapCodecInformation>) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::GetDecoderInformationEnumerator() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::GetDecoderInformationEnumerator() const
{
void* decoderInformationEnumerator{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics)->GetDecoderInformationEnumerator(&decoderInformationEnumerator));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Imaging::BitmapCodecInformation>{ decoderInformationEnumerator, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::BitmapDecoder>) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::CreateAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::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<winrt::Windows::Graphics::Imaging::BitmapDecoder>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::BitmapDecoder>) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::CreateAsync(winrt::guid const& decoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics<D>::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<winrt::Windows::Graphics::Imaging::BitmapDecoder>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics2<D>::HeifDecoderId() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics2<D>::HeifDecoderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics2)->get_HeifDecoderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapDecoderStatics2<D>::WebpDecoderId() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapDecoderStatics2<D>::WebpDecoderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics2)->get_WebpDecoderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapCodecInformation) consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::EncoderInformation() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapProperties) consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::BitmapProperties() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapProperties) consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::BitmapContainerProperties() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::IsThumbnailGenerated() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::IsThumbnailGenerated() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->get_IsThumbnailGenerated(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::IsThumbnailGenerated(bool value) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::IsThumbnailGenerated(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->put_IsThumbnailGenerated(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::GeneratedThumbnailWidth() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::GeneratedThumbnailWidth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->get_GeneratedThumbnailWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::GeneratedThumbnailWidth(uint32_t value) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::GeneratedThumbnailWidth(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->put_GeneratedThumbnailWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::GeneratedThumbnailHeight() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::GeneratedThumbnailHeight() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->get_GeneratedThumbnailHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::GeneratedThumbnailHeight(uint32_t value) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::GeneratedThumbnailHeight(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->put_GeneratedThumbnailHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapTransform) consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::BitmapTransform() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::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<uint8_t const> pixels) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::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<uint8_t const> pixels) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoder)->SetPixelData(static_cast<int32_t>(pixelFormat), static_cast<int32_t>(alphaMode), width, height, dpiX, dpiY, pixels.size(), get_abi(pixels)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::GoToNextFrameAsync() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::GoToNextFrameAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Graphics::Imaging::BitmapTypedValue>> const& encodingOptions) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::GoToNextFrameAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Graphics::Imaging::BitmapTypedValue>> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::FlushAsync() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::BmpEncoderId() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::BmpEncoderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->get_BmpEncoderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::JpegEncoderId() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::JpegEncoderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->get_JpegEncoderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::PngEncoderId() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::PngEncoderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->get_PngEncoderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::TiffEncoderId() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::TiffEncoderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->get_TiffEncoderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::GifEncoderId() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::GifEncoderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->get_GifEncoderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::JpegXREncoderId() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::JpegXREncoderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->get_JpegXREncoderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Imaging::BitmapCodecInformation>) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::GetEncoderInformationEnumerator() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::GetEncoderInformationEnumerator() const
{
void* encoderInformationEnumerator{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics)->GetEncoderInformationEnumerator(&encoderInformationEnumerator));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Imaging::BitmapCodecInformation>{ encoderInformationEnumerator, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::BitmapEncoder>) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::CreateAsync(winrt::guid const& encoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::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<winrt::Windows::Graphics::Imaging::BitmapEncoder>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::BitmapEncoder>) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::CreateAsync(winrt::guid const& encoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Graphics::Imaging::BitmapTypedValue>> const& encodingOptions) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::CreateAsync(winrt::guid const& encoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Graphics::Imaging::BitmapTypedValue>> 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<winrt::Windows::Graphics::Imaging::BitmapEncoder>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::BitmapEncoder>) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::CreateForTranscodingAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Graphics::Imaging::BitmapDecoder const& bitmapDecoder) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::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<winrt::Windows::Graphics::Imaging::BitmapEncoder>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::BitmapEncoder>) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::CreateForInPlacePropertyEncodingAsync(winrt::Windows::Graphics::Imaging::BitmapDecoder const& bitmapDecoder) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics<D>::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<winrt::Windows::Graphics::Imaging::BitmapEncoder>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Graphics_Imaging_IBitmapEncoderStatics2<D>::HeifEncoderId() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoderStatics2<D>::HeifEncoderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics2)->get_HeifEncoderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapEncoderWithSoftwareBitmap<D>::SetSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapEncoderWithSoftwareBitmap<D>::SetSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapEncoderWithSoftwareBitmap)->SetSoftwareBitmap(*(void**)(&bitmap)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::ImageStream>) consume_Windows_Graphics_Imaging_IBitmapFrame<D>::GetThumbnailAsync() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapFrame<D>::GetThumbnailAsync() const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->GetThumbnailAsync(&asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::ImageStream>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPropertiesView) consume_Windows_Graphics_Imaging_IBitmapFrame<D>::BitmapProperties() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) consume_Windows_Graphics_Imaging_IBitmapFrame<D>::BitmapPixelFormat() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapFrame<D>::BitmapPixelFormat() const
{
winrt::Windows::Graphics::Imaging::BitmapPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->get_BitmapPixelFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapAlphaMode) consume_Windows_Graphics_Imaging_IBitmapFrame<D>::BitmapAlphaMode() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapFrame<D>::BitmapAlphaMode() const
{
winrt::Windows::Graphics::Imaging::BitmapAlphaMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->get_BitmapAlphaMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Imaging_IBitmapFrame<D>::DpiX() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapFrame<D>::DpiX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->get_DpiX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Imaging_IBitmapFrame<D>::DpiY() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapFrame<D>::DpiY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->get_DpiY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapFrame<D>::PixelWidth() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapFrame<D>::PixelWidth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->get_PixelWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapFrame<D>::PixelHeight() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapFrame<D>::PixelHeight() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->get_PixelHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapFrame<D>::OrientedPixelWidth() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapFrame<D>::OrientedPixelWidth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->get_OrientedPixelWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapFrame<D>::OrientedPixelHeight() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapFrame<D>::OrientedPixelHeight() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->get_OrientedPixelHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::PixelDataProvider>) consume_Windows_Graphics_Imaging_IBitmapFrame<D>::GetPixelDataAsync() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapFrame<D>::GetPixelDataAsync() const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrame)->GetPixelDataAsync(&asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::PixelDataProvider>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::PixelDataProvider>) consume_Windows_Graphics_Imaging_IBitmapFrame<D>::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 <typename D> auto consume_Windows_Graphics_Imaging_IBitmapFrame<D>::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<int32_t>(pixelFormat), static_cast<int32_t>(alphaMode), *(void**)(&transform), static_cast<int32_t>(exifOrientationMode), static_cast<int32_t>(colorManagementMode), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::PixelDataProvider>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::SoftwareBitmap>) consume_Windows_Graphics_Imaging_IBitmapFrameWithSoftwareBitmap<D>::GetSoftwareBitmapAsync() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapFrameWithSoftwareBitmap<D>::GetSoftwareBitmapAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapFrameWithSoftwareBitmap)->GetSoftwareBitmapAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::SoftwareBitmap>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::SoftwareBitmap>) consume_Windows_Graphics_Imaging_IBitmapFrameWithSoftwareBitmap<D>::GetSoftwareBitmapAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapFrameWithSoftwareBitmap<D>::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<int32_t>(pixelFormat), static_cast<int32_t>(alphaMode), &value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::SoftwareBitmap>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::SoftwareBitmap>) consume_Windows_Graphics_Imaging_IBitmapFrameWithSoftwareBitmap<D>::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 <typename D> auto consume_Windows_Graphics_Imaging_IBitmapFrameWithSoftwareBitmap<D>::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<int32_t>(pixelFormat), static_cast<int32_t>(alphaMode), *(void**)(&transform), static_cast<int32_t>(exifOrientationMode), static_cast<int32_t>(colorManagementMode), &value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::SoftwareBitmap>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Graphics_Imaging_IBitmapProperties<D>::SetPropertiesAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Graphics::Imaging::BitmapTypedValue>> const& propertiesToSet) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapProperties<D>::SetPropertiesAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Graphics::Imaging::BitmapTypedValue>> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::BitmapPropertySet>) consume_Windows_Graphics_Imaging_IBitmapPropertiesView<D>::GetPropertiesAsync(param::async_iterable<hstring> const& propertiesToRetrieve) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapPropertiesView<D>::GetPropertiesAsync(param::async_iterable<hstring> const& propertiesToRetrieve) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapPropertiesView)->GetPropertiesAsync(*(void**)(&propertiesToRetrieve), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::BitmapPropertySet>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapTransform<D>::ScaledWidth() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapTransform<D>::ScaledWidth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->get_ScaledWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapTransform<D>::ScaledWidth(uint32_t value) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapTransform<D>::ScaledWidth(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->put_ScaledWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Imaging_IBitmapTransform<D>::ScaledHeight() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapTransform<D>::ScaledHeight() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->get_ScaledHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapTransform<D>::ScaledHeight(uint32_t value) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapTransform<D>::ScaledHeight(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->put_ScaledHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapInterpolationMode) consume_Windows_Graphics_Imaging_IBitmapTransform<D>::InterpolationMode() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapTransform<D>::InterpolationMode() const
{
winrt::Windows::Graphics::Imaging::BitmapInterpolationMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->get_InterpolationMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapTransform<D>::InterpolationMode(winrt::Windows::Graphics::Imaging::BitmapInterpolationMode const& value) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapTransform<D>::InterpolationMode(winrt::Windows::Graphics::Imaging::BitmapInterpolationMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->put_InterpolationMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapFlip) consume_Windows_Graphics_Imaging_IBitmapTransform<D>::Flip() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapTransform<D>::Flip() const
{
winrt::Windows::Graphics::Imaging::BitmapFlip value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->get_Flip(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapTransform<D>::Flip(winrt::Windows::Graphics::Imaging::BitmapFlip const& value) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapTransform<D>::Flip(winrt::Windows::Graphics::Imaging::BitmapFlip const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->put_Flip(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapRotation) consume_Windows_Graphics_Imaging_IBitmapTransform<D>::Rotation() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapTransform<D>::Rotation() const
{
winrt::Windows::Graphics::Imaging::BitmapRotation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->get_Rotation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapTransform<D>::Rotation(winrt::Windows::Graphics::Imaging::BitmapRotation const& value) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapTransform<D>::Rotation(winrt::Windows::Graphics::Imaging::BitmapRotation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTransform)->put_Rotation(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapBounds) consume_Windows_Graphics_Imaging_IBitmapTransform<D>::Bounds() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapTransform<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_IBitmapTransform<D>::Bounds(winrt::Windows::Graphics::Imaging::BitmapBounds const& value) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapTransform<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Graphics_Imaging_IBitmapTypedValue<D>::Value() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapTypedValue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::PropertyType) consume_Windows_Graphics_Imaging_IBitmapTypedValue<D>::Type() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapTypedValue<D>::Type() const
{
winrt::Windows::Foundation::PropertyType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::IBitmapTypedValue)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapTypedValue) consume_Windows_Graphics_Imaging_IBitmapTypedValueFactory<D>::Create(winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::PropertyType const& type) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IBitmapTypedValueFactory<D>::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<int32_t>(type), &bitmapTypedValue));
return winrt::Windows::Graphics::Imaging::BitmapTypedValue{ bitmapTypedValue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Graphics_Imaging_IPixelDataProvider<D>::DetachPixelData() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_IPixelDataProvider<D>::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<uint8_t>{ pixelData, pixelData_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::BitmapPixelFormat() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::BitmapPixelFormat() const
{
winrt::Windows::Graphics::Imaging::BitmapPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->get_BitmapPixelFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapAlphaMode) consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::BitmapAlphaMode() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::BitmapAlphaMode() const
{
winrt::Windows::Graphics::Imaging::BitmapAlphaMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->get_BitmapAlphaMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::PixelWidth() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::PixelWidth() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->get_PixelWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::PixelHeight() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::PixelHeight() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->get_PixelHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::IsReadOnly() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::IsReadOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->get_IsReadOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::DpiX(double value) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::DpiX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->put_DpiX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::DpiX() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::DpiX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->get_DpiX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::DpiY(double value) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::DpiY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->put_DpiY(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::DpiY() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::DpiY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->get_DpiY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapBuffer) consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::LockBuffer(winrt::Windows::Graphics::Imaging::BitmapBufferAccessMode const& mode) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::LockBuffer(winrt::Windows::Graphics::Imaging::BitmapBufferAccessMode const& mode) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->LockBuffer(static_cast<int32_t>(mode), &value));
return winrt::Windows::Graphics::Imaging::BitmapBuffer{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::CopyTo(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::CopyTo(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->CopyTo(*(void**)(&bitmap)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::CopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::CopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->CopyFromBuffer(*(void**)(&buffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::CopyToBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::CopyToBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Imaging::ISoftwareBitmap)->CopyToBuffer(*(void**)(&buffer)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::GetReadOnlyView() const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmap<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Graphics_Imaging_ISoftwareBitmapFactory<D>::Create(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmapFactory<D>::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<int32_t>(format), width, height, &value));
return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Graphics_Imaging_ISoftwareBitmapFactory<D>::CreateWithAlpha(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmapFactory<D>::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<int32_t>(format), width, height, static_cast<int32_t>(alpha), &value));
return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics<D>::Copy(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics<D>::Convert(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics<D>::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<int32_t>(format), &value));
return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics<D>::Convert(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics<D>::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<int32_t>(format), static_cast<int32_t>(alpha), &value));
return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics<D>::CreateCopyFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& source, winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics<D>::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<int32_t>(format), width, height, &value));
return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics<D>::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 <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics<D>::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<int32_t>(format), width, height, static_cast<int32_t>(alpha), &value));
return winrt::Windows::Graphics::Imaging::SoftwareBitmap{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::SoftwareBitmap>) consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics<D>::CreateCopyFromSurfaceAsync(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics<D>::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<winrt::Windows::Graphics::Imaging::SoftwareBitmap>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::SoftwareBitmap>) consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics<D>::CreateCopyFromSurfaceAsync(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const
+ template <typename D> auto consume_Windows_Graphics_Imaging_ISoftwareBitmapStatics<D>::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<int32_t>(alpha), &value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.OptionDetails.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.OptionDetails.h
index e831641dcc7..9f04607b0ae 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.OptionDetails.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails<D>::WarningText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails<D>::WarningText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintBindingOptionDetails)->put_WarningText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails<D>::WarningText() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintBindingOptionDetails)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails<D>::Description() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintBindingOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails<D>::WarningText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails<D>::WarningText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintBorderingOptionDetails)->put_WarningText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails<D>::WarningText() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintBorderingOptionDetails)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails<D>::Description() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintBorderingOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails<D>::WarningText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails<D>::WarningText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCollationOptionDetails)->put_WarningText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails<D>::WarningText() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCollationOptionDetails)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails<D>::Description() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCollationOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails<D>::WarningText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails<D>::WarningText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintColorModeOptionDetails)->put_WarningText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails<D>::WarningText() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintColorModeOptionDetails)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails<D>::Description() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintColorModeOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails<D>::WarningText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails<D>::WarningText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCopiesOptionDetails)->put_WarningText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails<D>::WarningText() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCopiesOptionDetails)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails<D>::Description() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCopiesOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemDetails<D>::ItemId() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemDetails<D>::ItemDisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemDetails<D>::ItemDisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemDetails)->put_ItemDisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemDetails<D>::ItemDisplayName() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails<D>::AddItem(param::hstring const& itemId, param::hstring const& displayName) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails2<D>::AddItem(param::hstring const& itemId, param::hstring const& displayName, param::hstring const& description, winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& icon) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3<D>::WarningText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3<D>::WarningText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemListOptionDetails3)->put_WarningText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3<D>::WarningText() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemListOptionDetails3)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3<D>::Description() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomItemListOptionDetails3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomOptionDetails<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomOptionDetails<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomOptionDetails)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomOptionDetails<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails<D>::MaxCharacters(uint32_t value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails<D>::MaxCharacters(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomTextOptionDetails)->put_MaxCharacters(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails<D>::MaxCharacters() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails<D>::MaxCharacters() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomTextOptionDetails)->get_MaxCharacters(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2<D>::WarningText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2<D>::WarningText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomTextOptionDetails2)->put_WarningText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2<D>::WarningText() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomTextOptionDetails2)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2<D>::Description() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomTextOptionDetails2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails<D>::WarningText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails<D>::WarningText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomToggleOptionDetails)->put_WarningText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails<D>::WarningText() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomToggleOptionDetails)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails<D>::Description() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintCustomToggleOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails<D>::WarningText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails<D>::WarningText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintDuplexOptionDetails)->put_WarningText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails<D>::WarningText() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintDuplexOptionDetails)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails<D>::Description() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintDuplexOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails<D>::WarningText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails<D>::WarningText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintHolePunchOptionDetails)->put_WarningText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails<D>::WarningText() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintHolePunchOptionDetails)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails<D>::Description() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintHolePunchOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::IInspectable>) consume_Windows_Graphics_Printing_OptionDetails_IPrintItemListOptionDetails<D>::Items() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintItemListOptionDetails<D>::Items() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintItemListOptionDetails)->get_Items(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails<D>::WarningText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails<D>::WarningText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintMediaSizeOptionDetails)->put_WarningText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails<D>::WarningText() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintMediaSizeOptionDetails)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails<D>::Description() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaSizeOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails<D>::WarningText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails<D>::WarningText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintMediaTypeOptionDetails)->put_WarningText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails<D>::WarningText() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintMediaTypeOptionDetails)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails<D>::Description() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintMediaTypeOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_OptionDetails_IPrintNumberOptionDetails<D>::MinValue() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintNumberOptionDetails<D>::MinValue() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintNumberOptionDetails)->get_MinValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_OptionDetails_IPrintNumberOptionDetails<D>::MaxValue() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintNumberOptionDetails<D>::MaxValue() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintNumberOptionDetails)->get_MaxValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails<D>::OptionId() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintOptionType) consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails<D>::OptionType() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails<D>::OptionType() const
{
winrt::Windows::Graphics::Printing::OptionDetails::PrintOptionType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails)->get_OptionType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails<D>::ErrorText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails<D>::ErrorText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails)->put_ErrorText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails<D>::ErrorText() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails<D>::State(winrt::Windows::Graphics::Printing::OptionDetails::PrintOptionStates const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails<D>::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<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintOptionStates) consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails<D>::State() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails<D>::State() const
{
winrt::Windows::Graphics::Printing::OptionDetails::PrintOptionStates value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails)->get_State(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails<D>::Value() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails<D>::TrySetValue(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails<D>::WarningText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails<D>::WarningText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintOrientationOptionDetails)->put_WarningText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails<D>::WarningText() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintOrientationOptionDetails)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails<D>::Description() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintOrientationOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails<D>::WarningText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails<D>::WarningText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintPageRangeOptionDetails)->put_WarningText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails<D>::WarningText() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintPageRangeOptionDetails)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails<D>::Description() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintPageRangeOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails<D>::WarningText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails<D>::WarningText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintQualityOptionDetails)->put_WarningText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails<D>::WarningText() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintQualityOptionDetails)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails<D>::Description() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintQualityOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails<D>::WarningText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails<D>::WarningText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintStapleOptionDetails)->put_WarningText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails<D>::WarningText() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintStapleOptionDetails)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails<D>::Description() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintStapleOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionChangedEventArgs<D>::OptionId() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails>) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::Options() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::Options() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails)->get_Options(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintCustomItemListOptionDetails) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::CreateItemListOption(param::hstring const& optionId, param::hstring const& displayName) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintCustomTextOptionDetails) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::CreateTextOption(param::hstring const& optionId, param::hstring const& displayName) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::OptionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails, winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionChangedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::OptionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails, winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionChangedEventArgs> 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 D> typename consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::OptionChanged_revoker consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::OptionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails, winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionChangedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::OptionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails, winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionChangedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, OptionChanged_revoker>(this, OptionChanged(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::OptionChanged(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::OptionChanged(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails)->remove_OptionChanged(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::BeginValidation(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::BeginValidation(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::BeginValidation_revoker consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::BeginValidation(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::BeginValidation(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
{
return impl::make_event_revoker<D, BeginValidation_revoker>(this, BeginValidation(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::BeginValidation(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails<D>::BeginValidation(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails)->remove_BeginValidation(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintCustomToggleOptionDetails) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails2<D>::CreateToggleOption(param::hstring const& optionId, param::hstring const& displayName) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails) consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetailsStatic<D>::GetFromPrintTaskOptions(winrt::Windows::Graphics::Printing::PrintTaskOptions const& printTaskOptions) const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetailsStatic<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_OptionDetails_IPrintTextOptionDetails<D>::MaxCharacters() const
+ template <typename D> auto consume_Windows_Graphics_Printing_OptionDetails_IPrintTextOptionDetails<D>::MaxCharacters() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::OptionDetails::IPrintTextOptionDetails)->get_MaxCharacters(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.PrintTicket.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.PrintTicket.h
index ef15dd2c0b0..d8c001d63f8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.PrintTicket.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::Name() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::XmlNamespace() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::XmlNode() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::DocumentBindingFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::DocumentCollateFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::DocumentDuplexFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::DocumentHolePunchFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::DocumentInputBinFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::DocumentNUpFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::DocumentStapleFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::JobPasscodeFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::PageBorderlessFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::PageMediaSizeFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::PageMediaTypeFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::PageOrientationFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::PageOutputColorFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::PageOutputQualityFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::PageResolutionFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::GetFeature(param::hstring const& name, param::hstring const& xmlNamespace) const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterDefinition) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::GetParameterDefinition(param::hstring const& name, param::hstring const& xmlNamespace) const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::Name() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::XmlNamespace() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::XmlNode() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::GetOption(param::hstring const& name, param::hstring const& xmlNamespace) const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption>) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::Options() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::Options() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->get_Options(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::GetSelectedOption() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::SetSelectedOption(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeatureSelectionType) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::SelectionType() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketFeature<D>::SelectionType() const
{
winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeatureSelectionType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature)->get_SelectionType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption<D>::Name() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption<D>::XmlNamespace() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption<D>::XmlNode() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption<D>::GetPropertyNode(param::hstring const& name, param::hstring const& xmlNamespace) const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption<D>::GetScoredPropertyNode(param::hstring const& name, param::hstring const& xmlNamespace) const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption<D>::GetPropertyValue(param::hstring const& name, param::hstring const& xmlNamespace) const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption<D>::GetScoredPropertyValue(param::hstring const& name, param::hstring const& xmlNamespace) const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketOption<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition<D>::Name() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition<D>::XmlNamespace() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition<D>::XmlNode() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterDataType) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition<D>::DataType() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition<D>::DataType() const
{
winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterDataType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition)->get_DataType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition<D>::UnitType() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition<D>::RangeMin() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition<D>::RangeMin() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition)->get_RangeMin(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition<D>::RangeMax() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterDefinition<D>::RangeMax() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition)->get_RangeMax(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer<D>::Name() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer<D>::XmlNamespace() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer<D>::XmlNode() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer<D>::Value(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValue) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer<D>::Value() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketParameterInitializer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValueType) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue<D>::Type() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue<D>::Type() const
{
winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketValueType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketValue)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue<D>::GetValueAsInteger() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue<D>::GetValueAsInteger() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketValue)->GetValueAsInteger(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue<D>::GetValueAsString() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IPrintTicketValue<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::Name() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::XmlNamespace() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::IXmlNode) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::XmlNode() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketCapabilities) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::GetCapabilities() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::DocumentBindingFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::DocumentCollateFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::DocumentDuplexFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::DocumentHolePunchFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::DocumentInputBinFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::DocumentNUpFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::DocumentStapleFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::JobPasscodeFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::PageBorderlessFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::PageMediaSizeFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::PageMediaTypeFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::PageOrientationFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::PageOutputColorFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::PageOutputQualityFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::PageResolutionFeature() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketFeature) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::GetFeature(param::hstring const& name, param::hstring const& xmlNamespace) const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::NotifyXmlChangedAsync() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicketValidationResult>) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::ValidateAsync() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::ValidateAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket)->ValidateAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicketValidationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterInitializer) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::GetParameterInitializer(param::hstring const& name, param::hstring const& xmlNamespace) const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterInitializer) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::SetParameterInitializerAsInteger(param::hstring const& name, param::hstring const& xmlNamespace, int32_t integerValue) const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketParameterInitializer) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::SetParameterInitializerAsString(param::hstring const& name, param::hstring const& xmlNamespace, param::hstring const& stringValue) const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::MergeAndValidateTicket(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& deltaShemaTicket) const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicket<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicketValidationResult<D>::Validated() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicketValidationResult<D>::Validated() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicketValidationResult)->get_Validated(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicketValidationResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Graphics_Printing_PrintTicket_IWorkflowPrintTicketValidationResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicketValidationResult)->get_ExtendedError(put_abi(value)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.Workflow.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.Workflow.h
index feaff3c671d..8ee56f16fba 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.Workflow.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::SetupRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSetupRequestedEventArgs> const& setupEventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::SetupRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSetupRequestedEventArgs> 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 D> typename consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::SetupRequested_revoker consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSetupRequestedEventArgs> const& setupEventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSetupRequestedEventArgs> const& setupEventHandler) const
{
return impl::make_event_revoker<D, SetupRequested_revoker>(this, SetupRequested(setupEventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::SetupRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::SetupRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession)->remove_SetupRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::Submitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedEventArgs> const& submittedEventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::Submitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedEventArgs> 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 D> typename consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::Submitted_revoker consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::Submitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedEventArgs> const& submittedEventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::Submitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedEventArgs> const& submittedEventHandler) const
{
return impl::make_event_revoker<D, Submitted_revoker>(this, Submitted(submittedEventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::Submitted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::Submitted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession)->remove_Submitted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSessionStatus) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::Status() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::Status() const
{
winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSessionStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::Start() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket>) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs<D>::GetUserPrintTicketAsync() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs<D>::GetUserPrintTicketAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSetupRequestedEventArgs)->GetUserPrintTicketAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowConfiguration) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs<D>::Configuration() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs<D>::SetRequiresUI() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs<D>::SetRequiresUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSetupRequestedEventArgs)->SetRequiresUI());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowConfiguration<D>::SourceAppDisplayName() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowConfiguration<D>::JobTitle() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowConfiguration<D>::SessionId() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::SetupRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSetupRequestedEventArgs> const& setupEventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::SetupRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSetupRequestedEventArgs> 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 D> typename consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::SetupRequested_revoker consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSetupRequestedEventArgs> const& setupEventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSetupRequestedEventArgs> const& setupEventHandler) const
{
return impl::make_event_revoker<D, SetupRequested_revoker>(this, SetupRequested(setupEventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::SetupRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::SetupRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession)->remove_SetupRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::XpsDataAvailable(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowXpsDataAvailableEventArgs> const& xpsDataAvailableEventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::XpsDataAvailable(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowXpsDataAvailableEventArgs> 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 D> typename consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::XpsDataAvailable_revoker consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::XpsDataAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowXpsDataAvailableEventArgs> const& xpsDataAvailableEventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::XpsDataAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowXpsDataAvailableEventArgs> const& xpsDataAvailableEventHandler) const
{
return impl::make_event_revoker<D, XpsDataAvailable_revoker>(this, XpsDataAvailable(xpsDataAvailableEventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::XpsDataAvailable(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::XpsDataAvailable(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession)->remove_XpsDataAvailable(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSessionStatus) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::Status() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::Status() const
{
winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSessionStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::Start() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket>) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSetupRequestedEventArgs<D>::GetUserPrintTicketAsync() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSetupRequestedEventArgs<D>::GetUserPrintTicketAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSetupRequestedEventArgs)->GetUserPrintTicketAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowConfiguration) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSetupRequestedEventArgs<D>::Configuration() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSetupRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSetupRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSetupRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket>) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSourceContent<D>::GetJobPrintTicketAsync() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSourceContent<D>::GetJobPrintTicketAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSourceContent)->GetJobPrintTicketAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSpoolStreamContent) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSourceContent<D>::GetSourceSpoolDataAsStreamContent() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSourceContent<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowObjectModelSourceFileContent) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSourceContent<D>::GetSourceSpoolDataAsXpsObjectModel() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSourceContent<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSpoolStreamContent<D>::GetInputStream() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSpoolStreamContent<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowStreamTarget<D>::GetOutputStream() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowStreamTarget<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedOperation) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedEventArgs<D>::Operation() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowTarget) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedEventArgs<D>::GetTarget(winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket const& jobPrintTicket) const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedOperation<D>::Complete(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedStatus const& status) const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedOperation<D>::Complete(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedStatus const& status) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSubmittedOperation)->Complete(static_cast<int32_t>(status)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowConfiguration) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedOperation<D>::Configuration() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSourceContent) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedOperation<D>::XpsContent() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSubmittedOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowStreamTarget) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTarget<D>::TargetAsStream() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTarget<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowObjectModelTargetPackage) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTarget<D>::TargetAsXpsObjectModelPackage() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTarget<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTriggerDetails<D>::PrintWorkflowSession() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowUIActivatedEventArgs<D>::PrintWorkflowSession() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowUIActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedOperation) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowXpsDataAvailableEventArgs<D>::Operation() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowXpsDataAvailableEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowXpsDataAvailableEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowXpsDataAvailableEventArgs<D>::GetDeferral() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowXpsDataAvailableEventArgs)->GetDeferral(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.h
index 252e40714aa..e6df23b1d5f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_IPrintManager<D>::PrintTaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintManager, winrt::Windows::Graphics::Printing::PrintTaskRequestedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintManager<D>::PrintTaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintManager, winrt::Windows::Graphics::Printing::PrintTaskRequestedEventArgs> 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 D> typename consume_Windows_Graphics_Printing_IPrintManager<D>::PrintTaskRequested_revoker consume_Windows_Graphics_Printing_IPrintManager<D>::PrintTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintManager, winrt::Windows::Graphics::Printing::PrintTaskRequestedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintManager<D>::PrintTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintManager, winrt::Windows::Graphics::Printing::PrintTaskRequestedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, PrintTaskRequested_revoker>(this, PrintTaskRequested(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintManager<D>::PrintTaskRequested(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintManager<D>::PrintTaskRequested(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintManager)->remove_PrintTaskRequested(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintManager) consume_Windows_Graphics_Printing_IPrintManagerStatic<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintManagerStatic<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Graphics_Printing_IPrintManagerStatic<D>::ShowPrintUIAsync() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintManagerStatic<D>::ShowPrintUIAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintManagerStatic)->ShowPrintUIAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_IPrintManagerStatic2<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintManagerStatic2<D>::IsSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintManagerStatic2)->IsSupported(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintPageInfo<D>::MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageInfo<D>::MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->put_MediaSize(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintMediaSize) consume_Windows_Graphics_Printing_IPrintPageInfo<D>::MediaSize() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageInfo<D>::MediaSize() const
{
winrt::Windows::Graphics::Printing::PrintMediaSize value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->get_MediaSize(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintPageInfo<D>::PageSize(winrt::Windows::Foundation::Size const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Graphics_Printing_IPrintPageInfo<D>::PageSize() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintPageInfo<D>::DpiX(uint32_t value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageInfo<D>::DpiX(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->put_DpiX(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_IPrintPageInfo<D>::DpiX() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageInfo<D>::DpiX() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->get_DpiX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintPageInfo<D>::DpiY(uint32_t value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageInfo<D>::DpiY(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->put_DpiY(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_IPrintPageInfo<D>::DpiY() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageInfo<D>::DpiY() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->get_DpiY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintPageInfo<D>::Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageInfo<D>::Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->put_Orientation(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintOrientation) consume_Windows_Graphics_Printing_IPrintPageInfo<D>::Orientation() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageInfo<D>::Orientation() const
{
winrt::Windows::Graphics::Printing::PrintOrientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageInfo)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Graphics_Printing_IPrintPageRange<D>::FirstPageNumber() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageRange<D>::FirstPageNumber() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRange)->get_FirstPageNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Graphics_Printing_IPrintPageRange<D>::LastPageNumber() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageRange<D>::LastPageNumber() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRange)->get_LastPageNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintPageRange) consume_Windows_Graphics_Printing_IPrintPageRangeFactory<D>::Create(int32_t firstPage, int32_t lastPage) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageRangeFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintPageRange) consume_Windows_Graphics_Printing_IPrintPageRangeFactory<D>::CreateWithSinglePage(int32_t page) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageRangeFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintPageRangeOptions<D>::AllowAllPages(bool value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageRangeOptions<D>::AllowAllPages(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRangeOptions)->put_AllowAllPages(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_IPrintPageRangeOptions<D>::AllowAllPages() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageRangeOptions<D>::AllowAllPages() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRangeOptions)->get_AllowAllPages(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintPageRangeOptions<D>::AllowCurrentPage(bool value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageRangeOptions<D>::AllowCurrentPage(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRangeOptions)->put_AllowCurrentPage(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_IPrintPageRangeOptions<D>::AllowCurrentPage() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageRangeOptions<D>::AllowCurrentPage() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRangeOptions)->get_AllowCurrentPage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintPageRangeOptions<D>::AllowCustomSetOfPages(bool value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageRangeOptions<D>::AllowCustomSetOfPages(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRangeOptions)->put_AllowCustomSetOfPages(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_IPrintPageRangeOptions<D>::AllowCustomSetOfPages() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintPageRangeOptions<D>::AllowCustomSetOfPages() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintPageRangeOptions)->get_AllowCustomSetOfPages(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackagePropertySet) consume_Windows_Graphics_Printing_IPrintTask<D>::Properties() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTask<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::IPrintDocumentSource) consume_Windows_Graphics_Printing_IPrintTask<D>::Source() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTask<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskOptions) consume_Windows_Graphics_Printing_IPrintTask<D>::Options() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTask<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_IPrintTask<D>::Previewing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTask<D>::Previewing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Printing_IPrintTask<D>::Previewing_revoker consume_Windows_Graphics_Printing_IPrintTask<D>::Previewing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTask<D>::Previewing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
{
return impl::make_event_revoker<D, Previewing_revoker>(this, Previewing(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTask<D>::Previewing(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTask<D>::Previewing(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask)->remove_Previewing(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_IPrintTask<D>::Submitting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTask<D>::Submitting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Printing_IPrintTask<D>::Submitting_revoker consume_Windows_Graphics_Printing_IPrintTask<D>::Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTask<D>::Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
{
return impl::make_event_revoker<D, Submitting_revoker>(this, Submitting(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTask<D>::Submitting(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTask<D>::Submitting(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask)->remove_Submitting(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_IPrintTask<D>::Progressing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskProgressingEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTask<D>::Progressing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskProgressingEventArgs> 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 D> typename consume_Windows_Graphics_Printing_IPrintTask<D>::Progressing_revoker consume_Windows_Graphics_Printing_IPrintTask<D>::Progressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskProgressingEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTask<D>::Progressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskProgressingEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, Progressing_revoker>(this, Progressing(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTask<D>::Progressing(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTask<D>::Progressing(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask)->remove_Progressing(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing_IPrintTask<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskCompletedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTask<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskCompletedEventArgs> 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 D> typename consume_Windows_Graphics_Printing_IPrintTask<D>::Completed_revoker consume_Windows_Graphics_Printing_IPrintTask<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskCompletedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTask<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskCompletedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, Completed_revoker>(this, Completed(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTask<D>::Completed(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTask<D>::Completed(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask)->remove_Completed(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTask2<D>::IsPreviewEnabled(bool value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTask2<D>::IsPreviewEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask2)->put_IsPreviewEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_IPrintTask2<D>::IsPreviewEnabled() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTask2<D>::IsPreviewEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTask2)->get_IsPreviewEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskCompletion) consume_Windows_Graphics_Printing_IPrintTaskCompletedEventArgs<D>::Completion() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskCompletedEventArgs<D>::Completion() const
{
winrt::Windows::Graphics::Printing::PrintTaskCompletion value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskCompletedEventArgs)->get_Completion(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptions<D>::Bordering(winrt::Windows::Graphics::Printing::PrintBordering const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptions<D>::Bordering(winrt::Windows::Graphics::Printing::PrintBordering const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptions)->put_Bordering(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintBordering) consume_Windows_Graphics_Printing_IPrintTaskOptions<D>::Bordering() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptions<D>::Bordering() const
{
winrt::Windows::Graphics::Printing::PrintBordering value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptions)->get_Bordering(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_Graphics_Printing_IPrintTaskOptions<D>::GetPagePrintTicket(winrt::Windows::Graphics::Printing::PrintPageInfo const& printPageInfo) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptions<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintPageRangeOptions) consume_Windows_Graphics_Printing_IPrintTaskOptions2<D>::PageRangeOptions() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptions2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing::PrintPageRange>) consume_Windows_Graphics_Printing_IPrintTaskOptions2<D>::CustomPageRanges() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptions2<D>::CustomPageRanges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptions2)->get_CustomPageRanges(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing::PrintPageRange>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintPageDescription) consume_Windows_Graphics_Printing_IPrintTaskOptionsCore<D>::GetPageDescription(uint32_t jobPageNumber) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCore<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::MediaSize(winrt::Windows::Graphics::Printing::PrintMediaSize const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_MediaSize(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintMediaSize) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::MediaSize() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::MediaSize() const
{
winrt::Windows::Graphics::Printing::PrintMediaSize value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_MediaSize(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::MediaType(winrt::Windows::Graphics::Printing::PrintMediaType const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::MediaType(winrt::Windows::Graphics::Printing::PrintMediaType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_MediaType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintMediaType) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::MediaType() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::MediaType() const
{
winrt::Windows::Graphics::Printing::PrintMediaType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_MediaType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Orientation(winrt::Windows::Graphics::Printing::PrintOrientation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_Orientation(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintOrientation) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Orientation() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Orientation() const
{
winrt::Windows::Graphics::Printing::PrintOrientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::PrintQuality(winrt::Windows::Graphics::Printing::PrintQuality const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::PrintQuality(winrt::Windows::Graphics::Printing::PrintQuality const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_PrintQuality(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintQuality) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::PrintQuality() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::PrintQuality() const
{
winrt::Windows::Graphics::Printing::PrintQuality value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_PrintQuality(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::ColorMode(winrt::Windows::Graphics::Printing::PrintColorMode const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::ColorMode(winrt::Windows::Graphics::Printing::PrintColorMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_ColorMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintColorMode) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::ColorMode() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::ColorMode() const
{
winrt::Windows::Graphics::Printing::PrintColorMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_ColorMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Duplex(winrt::Windows::Graphics::Printing::PrintDuplex const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Duplex(winrt::Windows::Graphics::Printing::PrintDuplex const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_Duplex(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintDuplex) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Duplex() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Duplex() const
{
winrt::Windows::Graphics::Printing::PrintDuplex value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_Duplex(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Collation(winrt::Windows::Graphics::Printing::PrintCollation const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Collation(winrt::Windows::Graphics::Printing::PrintCollation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_Collation(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintCollation) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Collation() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Collation() const
{
winrt::Windows::Graphics::Printing::PrintCollation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_Collation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Staple(winrt::Windows::Graphics::Printing::PrintStaple const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Staple(winrt::Windows::Graphics::Printing::PrintStaple const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_Staple(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintStaple) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Staple() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Staple() const
{
winrt::Windows::Graphics::Printing::PrintStaple value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_Staple(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::HolePunch(winrt::Windows::Graphics::Printing::PrintHolePunch const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::HolePunch(winrt::Windows::Graphics::Printing::PrintHolePunch const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_HolePunch(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintHolePunch) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::HolePunch() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::HolePunch() const
{
winrt::Windows::Graphics::Printing::PrintHolePunch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_HolePunch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Binding(winrt::Windows::Graphics::Printing::PrintBinding const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Binding(winrt::Windows::Graphics::Printing::PrintBinding const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_Binding(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintBinding) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Binding() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::Binding() const
{
winrt::Windows::Graphics::Printing::PrintBinding value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_Binding(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::MinCopies() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::MinCopies() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_MinCopies(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::MaxCopies() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::MaxCopies() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_MaxCopies(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::NumberOfCopies(uint32_t value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::NumberOfCopies(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->put_NumberOfCopies(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::NumberOfCopies() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreProperties<D>::NumberOfCopies() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties)->get_NumberOfCopies(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreUIConfiguration<D>::DisplayedOptions() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreUIConfiguration<D>::DisplayedOptions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreUIConfiguration)->get_DisplayedOptions(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing_IPrintTaskProgressingEventArgs<D>::DocumentPageCount() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskProgressingEventArgs<D>::DocumentPageCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskProgressingEventArgs)->get_DocumentPageCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Graphics_Printing_IPrintTaskRequest<D>::Deadline() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTask) consume_Windows_Graphics_Printing_IPrintTaskRequest<D>::CreatePrintTask(param::hstring const& title, winrt::Windows::Graphics::Printing::PrintTaskSourceRequestedHandler const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskRequestedDeferral) consume_Windows_Graphics_Printing_IPrintTaskRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskRequestedDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskRequestedDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskRequestedDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskRequest) consume_Windows_Graphics_Printing_IPrintTaskRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedArgs<D>::Deadline() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedArgs<D>::SetSource(winrt::Windows::Graphics::Printing::IPrintDocumentSource const& source) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedArgs<D>::SetSource(winrt::Windows::Graphics::Printing::IPrintDocumentSource const& source) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedArgs)->SetSource(*(void**)(&source)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskSourceRequestedDeferral) consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport<D>::IsPrinterTargetEnabled(bool value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport<D>::IsPrinterTargetEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskTargetDeviceSupport)->put_IsPrinterTargetEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport<D>::IsPrinterTargetEnabled() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport<D>::IsPrinterTargetEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskTargetDeviceSupport)->get_IsPrinterTargetEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport<D>::Is3DManufacturingTargetEnabled(bool value) const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport<D>::Is3DManufacturingTargetEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskTargetDeviceSupport)->put_Is3DManufacturingTargetEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport<D>::Is3DManufacturingTargetEnabled() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IPrintTaskTargetDeviceSupport<D>::Is3DManufacturingTargetEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IPrintTaskTargetDeviceSupport)->get_Is3DManufacturingTargetEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::MediaSize() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::MediaType() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::Orientation() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::PrintQuality() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::ColorMode() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::Duplex() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::Collation() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::Staple() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::HolePunch() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::Binding() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::Copies() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::NUp() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::InputBin() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic2<D>::Bordering() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic3<D>::CustomPageRanges() const
+ template <typename D> auto consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic3<D>::CustomPageRanges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic3)->get_CustomPageRanges(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing3D.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing3D.h
index f5e5af9ee2d..a953e3b2fb2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.Printing3D.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing3D_IPrint3DManager<D>::TaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DManager, winrt::Windows::Graphics::Printing3D::Print3DTaskRequestedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DManager<D>::TaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DManager, winrt::Windows::Graphics::Printing3D::Print3DTaskRequestedEventArgs> 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 D> typename consume_Windows_Graphics_Printing3D_IPrint3DManager<D>::TaskRequested_revoker consume_Windows_Graphics_Printing3D_IPrint3DManager<D>::TaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DManager, winrt::Windows::Graphics::Printing3D::Print3DTaskRequestedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DManager<D>::TaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DManager, winrt::Windows::Graphics::Printing3D::Print3DTaskRequestedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, TaskRequested_revoker>(this, TaskRequested(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrint3DManager<D>::TaskRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DManager<D>::TaskRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DManager)->remove_TaskRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Print3DManager) consume_Windows_Graphics_Printing3D_IPrint3DManagerStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Graphics_Printing3D_IPrint3DManagerStatics<D>::ShowPrintUIAsync() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DManagerStatics<D>::ShowPrintUIAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DManagerStatics)->ShowPrintUIAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage) consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::Source() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::Submitting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::Submitting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::Submitting_revoker consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
{
return impl::make_event_revoker<D, Submitting_revoker>(this, Submitting(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::Submitting(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::Submitting(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTask)->remove_Submitting(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Graphics::Printing3D::Print3DTaskCompletedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Graphics::Printing3D::Print3DTaskCompletedEventArgs> 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 D> typename consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::Completed_revoker consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Graphics::Printing3D::Print3DTaskCompletedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Graphics::Printing3D::Print3DTaskCompletedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, Completed_revoker>(this, Completed(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::Completed(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::Completed(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTask)->remove_Completed(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::SourceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Graphics::Printing3D::Print3DTaskSourceChangedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::SourceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Graphics::Printing3D::Print3DTaskSourceChangedEventArgs> 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 D> typename consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::SourceChanged_revoker consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::SourceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Graphics::Printing3D::Print3DTaskSourceChangedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::SourceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Graphics::Printing3D::Print3DTaskSourceChangedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, SourceChanged_revoker>(this, SourceChanged(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::SourceChanged(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DTask<D>::SourceChanged(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTask)->remove_SourceChanged(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Print3DTaskCompletion) consume_Windows_Graphics_Printing3D_IPrint3DTaskCompletedEventArgs<D>::Completion() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DTaskCompletedEventArgs<D>::Completion() const
{
winrt::Windows::Graphics::Printing3D::Print3DTaskCompletion value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTaskCompletedEventArgs)->get_Completion(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Print3DTaskDetail) consume_Windows_Graphics_Printing3D_IPrint3DTaskCompletedEventArgs<D>::ExtendedStatus() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DTaskCompletedEventArgs<D>::ExtendedStatus() const
{
winrt::Windows::Graphics::Printing3D::Print3DTaskDetail value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTaskCompletedEventArgs)->get_ExtendedStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Print3DTask) consume_Windows_Graphics_Printing3D_IPrint3DTaskRequest<D>::CreateTask(param::hstring const& title, param::hstring const& printerId, winrt::Windows::Graphics::Printing3D::Print3DTaskSourceRequestedHandler const& handler) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DTaskRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Print3DTaskRequest) consume_Windows_Graphics_Printing3D_IPrint3DTaskRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DTaskRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage) consume_Windows_Graphics_Printing3D_IPrint3DTaskSourceChangedEventArgs<D>::Source() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DTaskSourceChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrint3DTaskSourceRequestedArgs<D>::SetSource(winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage const& source) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrint3DTaskSourceRequestedArgs<D>::SetSource(winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage const& source) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrint3DTaskSourceRequestedArgs)->SetSource(*(void**)(&source)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::SaveAsync() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::SaveAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage)->SaveAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::PrintTicket() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::PrintTicket(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::PrintTicket(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage)->put_PrintTicket(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::ModelPart() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::ModelPart(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::ModelPart(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage)->put_ModelPart(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::Thumbnail(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::Thumbnail(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage)->put_Thumbnail(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DTextureResource>) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::Textures() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::Textures() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage)->get_Textures(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DTextureResource>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Printing3D::Printing3DModel>) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::LoadModelFromPackageAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::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<winrt::Windows::Graphics::Printing3D::Printing3DModel>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::SaveModelToPackageAsync(winrt::Windows::Graphics::Printing3D::Printing3DModel const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DPackageCompression) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage2<D>::Compression() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage2<D>::Compression() const
{
winrt::Windows::Graphics::Printing3D::Printing3DPackageCompression value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage2)->get_Compression(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage2<D>::Compression(winrt::Windows::Graphics::Printing3D::Printing3DPackageCompression const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage2<D>::Compression(winrt::Windows::Graphics::Printing3D::Printing3DPackageCompression const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage2)->put_Compression(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage>) consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackageStatics<D>::LoadAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackageStatics<D>::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<winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial<D>::Name() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterial)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DColorMaterial) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial<D>::Color() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial<D>::Color(winrt::Windows::Graphics::Printing3D::Printing3DColorMaterial const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterial<D>::Color(winrt::Windows::Graphics::Printing3D::Printing3DColorMaterial const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterial)->put_Color(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterial>) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroup<D>::Bases() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroup<D>::Bases() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterialGroup)->get_Bases(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterial>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroup<D>::MaterialGroupId() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroup<D>::MaterialGroupId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterialGroup)->get_MaterialGroupId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroupFactory<D>::Create(uint32_t MaterialGroupId) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroupFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialStatics<D>::Abs() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialStatics<D>::Pla() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialStatics<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial<D>::Value() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial<D>::Value() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterial)->get_Value(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial<D>::Value(uint32_t value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial<D>::Value(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterial)->put_Value(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial2<D>::Color() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial2<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterial2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DColorMaterial>) consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroup<D>::Colors() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroup<D>::Colors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterialGroup)->get_Colors(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DColorMaterial>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroup<D>::MaterialGroupId() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroup<D>::MaterialGroupId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterialGroup)->get_MaterialGroupId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DColorMaterialGroup) consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroupFactory<D>::Create(uint32_t MaterialGroupId) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroupFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DMesh) consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::Mesh() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::Mesh(winrt::Windows::Graphics::Printing3D::Printing3DMesh const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::Mesh(winrt::Windows::Graphics::Printing3D::Printing3DMesh const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->put_Mesh(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DComponentWithMatrix>) consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::Components() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::Components() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->get_Components(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DComponentWithMatrix>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource) consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::Thumbnail(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::Thumbnail(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->put_Thumbnail(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DObjectType) consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::Type() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::Type() const
{
winrt::Windows::Graphics::Printing3D::Printing3DObjectType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::Type(winrt::Windows::Graphics::Printing3D::Printing3DObjectType const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::Type(winrt::Windows::Graphics::Printing3D::Printing3DObjectType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->put_Type(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::Name() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::PartNumber() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::PartNumber(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DComponent<D>::PartNumber(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponent)->put_PartNumber(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DComponent) consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix<D>::Component() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix<D>::Component(winrt::Windows::Graphics::Printing3D::Printing3DComponent const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix<D>::Component(winrt::Windows::Graphics::Printing3D::Printing3DComponent const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DComponentWithMatrix)->put_Component(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix<D>::Matrix() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix<D>::Matrix(winrt::Windows::Foundation::Numerics::float4x4 const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DComponentWithMatrix<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<double>) consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterial<D>::Values() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterial<D>::Values() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterial)->get_Values(&value));
return winrt::Windows::Foundation::Collections::IVector<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DCompositeMaterial>) consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup<D>::Composites() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup<D>::Composites() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterialGroup)->get_Composites(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DCompositeMaterial>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup<D>::MaterialGroupId() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup<D>::MaterialGroupId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterialGroup)->get_MaterialGroupId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<uint32_t>) consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup<D>::MaterialIndices() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup<D>::MaterialIndices() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterialGroup)->get_MaterialIndices(&value));
return winrt::Windows::Foundation::Collections::IVector<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup) consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup2<D>::BaseMaterialGroup() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup2<D>::BaseMaterialGroup(winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup2<D>::BaseMaterialGroup(winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterialGroup2)->put_BaseMaterialGroup(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DCompositeMaterialGroup) consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroupFactory<D>::Create(uint32_t MaterialGroupId) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroupFactory<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions<D>::MaxReductionArea() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions<D>::MaxReductionArea() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DFaceReductionOptions)->get_MaxReductionArea(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions<D>::MaxReductionArea(double value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions<D>::MaxReductionArea(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DFaceReductionOptions)->put_MaxReductionArea(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions<D>::TargetTriangleCount() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions<D>::TargetTriangleCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DFaceReductionOptions)->get_TargetTriangleCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions<D>::TargetTriangleCount(uint32_t value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions<D>::TargetTriangleCount(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DFaceReductionOptions)->put_TargetTriangleCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions<D>::MaxEdgeLength() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions<D>::MaxEdgeLength() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DFaceReductionOptions)->get_MaxEdgeLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions<D>::MaxEdgeLength(double value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DFaceReductionOptions<D>::MaxEdgeLength(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DFaceReductionOptions)->put_MaxEdgeLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup>) consume_Windows_Graphics_Printing3D_IPrinting3DMaterial<D>::BaseGroups() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMaterial<D>::BaseGroups() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMaterial)->get_BaseGroups(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DColorMaterialGroup>) consume_Windows_Graphics_Printing3D_IPrinting3DMaterial<D>::ColorGroups() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMaterial<D>::ColorGroups() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMaterial)->get_ColorGroups(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DColorMaterialGroup>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DTexture2CoordMaterialGroup>) consume_Windows_Graphics_Printing3D_IPrinting3DMaterial<D>::Texture2CoordGroups() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMaterial<D>::Texture2CoordGroups() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMaterial)->get_Texture2CoordGroups(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DTexture2CoordMaterialGroup>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DCompositeMaterialGroup>) consume_Windows_Graphics_Printing3D_IPrinting3DMaterial<D>::CompositeGroups() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMaterial<D>::CompositeGroups() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMaterial)->get_CompositeGroups(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DCompositeMaterialGroup>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DMultiplePropertyMaterialGroup>) consume_Windows_Graphics_Printing3D_IPrinting3DMaterial<D>::MultiplePropertyGroups() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMaterial<D>::MultiplePropertyGroups() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMaterial)->get_MultiplePropertyGroups(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DMultiplePropertyMaterialGroup>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::VertexCount() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::VertexCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->get_VertexCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::VertexCount(uint32_t value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::VertexCount(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->put_VertexCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::IndexCount() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::IndexCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->get_IndexCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::IndexCount(uint32_t value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::IndexCount(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->put_IndexCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::VertexPositionsDescription() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::VertexPositionsDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::VertexNormalsDescription() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::VertexNormalsDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::TriangleIndicesDescription() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::TriangleIndicesDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::TriangleMaterialIndicesDescription() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::TriangleMaterialIndicesDescription(winrt::Windows::Graphics::Printing3D::Printing3DBufferDescription const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::GetVertexPositions() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::CreateVertexPositions(uint32_t value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::CreateVertexPositions(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->CreateVertexPositions(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::GetVertexNormals() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::CreateVertexNormals(uint32_t value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::CreateVertexNormals(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->CreateVertexNormals(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::GetTriangleIndices() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::CreateTriangleIndices(uint32_t value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::CreateTriangleIndices(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->CreateTriangleIndices(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::GetTriangleMaterialIndices() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::CreateTriangleMaterialIndices(uint32_t value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::CreateTriangleMaterialIndices(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->CreateTriangleMaterialIndices(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::BufferDescriptionSet() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::BufferSet() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Printing3D::Printing3DMeshVerificationResult>) consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::VerifyAsync(winrt::Windows::Graphics::Printing3D::Printing3DMeshVerificationMode const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMesh<D>::VerifyAsync(winrt::Windows::Graphics::Printing3D::Printing3DMeshVerificationMode const& value) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMesh)->VerifyAsync(static_cast<int32_t>(value), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Printing3D::Printing3DMeshVerificationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Graphics_Printing3D_IPrinting3DMeshVerificationResult<D>::IsValid() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMeshVerificationResult<D>::IsValid() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMeshVerificationResult)->get_IsValid(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Graphics_Printing3D_IPrinting3DMeshVerificationResult<D>::NonmanifoldTriangles() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMeshVerificationResult<D>::NonmanifoldTriangles() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMeshVerificationResult)->get_NonmanifoldTriangles(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Graphics_Printing3D_IPrinting3DMeshVerificationResult<D>::ReversedNormalTriangles() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMeshVerificationResult<D>::ReversedNormalTriangles() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMeshVerificationResult)->get_ReversedNormalTriangles(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DModelUnit) consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Unit() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Unit() const
{
winrt::Windows::Graphics::Printing3D::Printing3DModelUnit value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->get_Unit(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Unit(winrt::Windows::Graphics::Printing3D::Printing3DModelUnit const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Unit(winrt::Windows::Graphics::Printing3D::Printing3DModelUnit const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->put_Unit(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DModelTexture>) consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Textures() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Textures() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->get_Textures(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DModelTexture>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DMesh>) consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Meshes() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Meshes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->get_Meshes(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DMesh>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DComponent>) consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Components() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Components() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->get_Components(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DComponent>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DMaterial) consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Material() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Material(winrt::Windows::Graphics::Printing3D::Printing3DMaterial const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Material(winrt::Windows::Graphics::Printing3D::Printing3DMaterial const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->put_Material(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DComponent) consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Build() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Build(winrt::Windows::Graphics::Printing3D::Printing3DComponent const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Build(winrt::Windows::Graphics::Printing3D::Printing3DComponent const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->put_Build(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Version() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Version(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Version(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->put_Version(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::RequiredExtensions() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::RequiredExtensions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->get_RequiredExtensions(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Metadata() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Metadata() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel)->get_Metadata(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::RepairAsync() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DModel) consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::Clone() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Graphics_Printing3D_IPrinting3DModel2<D>::TryPartialRepairAsync() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel2<D>::TryPartialRepairAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel2)->TryPartialRepairAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Graphics_Printing3D_IPrinting3DModel2<D>::TryPartialRepairAsync(winrt::Windows::Foundation::TimeSpan const& maxWaitTime) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<bool, double>) consume_Windows_Graphics_Printing3D_IPrinting3DModel2<D>::TryReduceFacesAsync() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel2<D>::TryReduceFacesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel2)->TryReduceFacesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<bool, double>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<bool, double>) consume_Windows_Graphics_Printing3D_IPrinting3DModel2<D>::TryReduceFacesAsync(winrt::Windows::Graphics::Printing3D::Printing3DFaceReductionOptions const& printing3DFaceReductionOptions) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel2<D>::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<bool, double>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<bool, double>) consume_Windows_Graphics_Printing3D_IPrinting3DModel2<D>::TryReduceFacesAsync(winrt::Windows::Graphics::Printing3D::Printing3DFaceReductionOptions const& printing3DFaceReductionOptions, winrt::Windows::Foundation::TimeSpan const& maxWait) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel2<D>::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<bool, double>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<bool, double>) consume_Windows_Graphics_Printing3D_IPrinting3DModel2<D>::RepairWithProgressAsync() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModel2<D>::RepairWithProgressAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModel2)->RepairWithProgressAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<bool, double>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource) consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture<D>::TextureResource() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture<D>::TextureResource(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture<D>::TextureResource(winrt::Windows::Graphics::Printing3D::Printing3DTextureResource const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModelTexture)->put_TextureResource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior) consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture<D>::TileStyleU() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture<D>::TileStyleU() const
{
winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModelTexture)->get_TileStyleU(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture<D>::TileStyleU(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture<D>::TileStyleU(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModelTexture)->put_TileStyleU(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior) consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture<D>::TileStyleV() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture<D>::TileStyleV() const
{
winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModelTexture)->get_TileStyleV(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture<D>::TileStyleV(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DModelTexture<D>::TileStyleV(winrt::Windows::Graphics::Printing3D::Printing3DTextureEdgeBehavior const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DModelTexture)->put_TileStyleV(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<uint32_t>) consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterial<D>::MaterialIndices() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterial<D>::MaterialIndices() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterial)->get_MaterialIndices(&value));
return winrt::Windows::Foundation::Collections::IVector<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DMultiplePropertyMaterial>) consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroup<D>::MultipleProperties() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroup<D>::MultipleProperties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterialGroup)->get_MultipleProperties(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DMultiplePropertyMaterial>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<uint32_t>) consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroup<D>::MaterialGroupIndices() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroup<D>::MaterialGroupIndices() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterialGroup)->get_MaterialGroupIndices(&value));
return winrt::Windows::Foundation::Collections::IVector<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroup<D>::MaterialGroupId() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroup<D>::MaterialGroupId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterialGroup)->get_MaterialGroupId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DMultiplePropertyMaterialGroup) consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroupFactory<D>::Create(uint32_t MaterialGroupId) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroupFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial<D>::Texture() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial<D>::Texture(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial<D>::Texture(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterial)->put_Texture(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial<D>::U() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial<D>::U() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterial)->get_U(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial<D>::U(double value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial<D>::U(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterial)->put_U(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial<D>::V() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial<D>::V() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterial)->get_V(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial<D>::V(double value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterial<D>::V(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterial)->put_V(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DTexture2CoordMaterial>) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup<D>::Texture2Coords() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup<D>::Texture2Coords() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterialGroup)->get_Texture2Coords(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DTexture2CoordMaterial>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup<D>::MaterialGroupId() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup<D>::MaterialGroupId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterialGroup)->get_MaterialGroupId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup2<D>::Texture() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup2<D>::Texture(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup2<D>::Texture(winrt::Windows::Graphics::Printing3D::Printing3DModelTexture const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterialGroup2)->put_Texture(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3DTexture2CoordMaterialGroup) consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroupFactory<D>::Create(uint32_t MaterialGroupId) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroupFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource<D>::TextureData() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource<D>::TextureData(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource<D>::TextureData(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTextureResource)->put_TextureData(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource<D>::Name() const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Graphics_Printing3D_IPrinting3DTextureResource<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Graphics::Printing3D::IPrinting3DTextureResource)->put_Name(*(void**)(&value)));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.h
index 26ca2ec33dd..8209cc17a7a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Graphics.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Core.h
index f37fe0b1b42..9f5f38c000d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationData) consume_Windows_Management_Core_IApplicationDataManagerStatics<D>::CreateForPackageFamily(param::hstring const& packageFamilyName) const
+ template <typename D> auto consume_Windows_Management_Core_IApplicationDataManagerStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Deployment.Preview.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Deployment.Preview.h
index 20a070a2e5f..15723cdace2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Deployment.Preview.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::Preview::InstalledClassicAppInfo) consume_Windows_Management_Deployment_Preview_IClassicAppManagerStatics<D>::FindInstalledApp(param::hstring const& appUninstallKey) const
+ template <typename D> auto consume_Windows_Management_Deployment_Preview_IClassicAppManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Deployment_Preview_IInstalledClassicAppInfo<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Management_Deployment_Preview_IInstalledClassicAppInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Deployment_Preview_IInstalledClassicAppInfo<D>::DisplayVersion() const
+ template <typename D> auto consume_Windows_Management_Deployment_Preview_IInstalledClassicAppInfo<D>::DisplayVersion() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::Preview::IInstalledClassicAppInfo)->get_DisplayVersion(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Deployment.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Deployment.h
index b6132273b9d..edcc55bdfed 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Deployment.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) consume_Windows_Management_Deployment_IAddPackageOptions<D>::DependencyPackageUris() const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::DependencyPackageUris() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_DependencyPackageUris(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) consume_Windows_Management_Deployment_IAddPackageOptions<D>::TargetVolume() const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions<D>::TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_TargetVolume(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Management_Deployment_IAddPackageOptions<D>::OptionalPackageFamilyNames() const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::OptionalPackageFamilyNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_OptionalPackageFamilyNames(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) consume_Windows_Management_Deployment_IAddPackageOptions<D>::OptionalPackageUris() const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::OptionalPackageUris() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_OptionalPackageUris(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) consume_Windows_Management_Deployment_IAddPackageOptions<D>::RelatedPackageUris() const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::RelatedPackageUris() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_RelatedPackageUris(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Management_Deployment_IAddPackageOptions<D>::ExternalLocationUri() const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions<D>::ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_ExternalLocationUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::StubPackageOption) consume_Windows_Management_Deployment_IAddPackageOptions<D>::StubPackageOption() const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::StubPackageOption() const
{
winrt::Windows::Management::Deployment::StubPackageOption value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_StubPackageOption(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions<D>::StubPackageOption(winrt::Windows::Management::Deployment::StubPackageOption const& value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::StubPackageOption(winrt::Windows::Management::Deployment::StubPackageOption const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_StubPackageOption(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions<D>::DeveloperMode() const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::DeveloperMode() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_DeveloperMode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions<D>::DeveloperMode(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::DeveloperMode(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_DeveloperMode(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions<D>::ForceAppShutdown() const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::ForceAppShutdown() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_ForceAppShutdown(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions<D>::ForceAppShutdown(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::ForceAppShutdown(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_ForceAppShutdown(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions<D>::ForceTargetAppShutdown() const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::ForceTargetAppShutdown() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_ForceTargetAppShutdown(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions<D>::ForceTargetAppShutdown(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::ForceTargetAppShutdown(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_ForceTargetAppShutdown(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions<D>::ForceUpdateFromAnyVersion() const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::ForceUpdateFromAnyVersion() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_ForceUpdateFromAnyVersion(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions<D>::ForceUpdateFromAnyVersion(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::ForceUpdateFromAnyVersion(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_ForceUpdateFromAnyVersion(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions<D>::InstallAllResources() const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::InstallAllResources() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_InstallAllResources(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions<D>::InstallAllResources(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::InstallAllResources(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_InstallAllResources(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions<D>::RequiredContentGroupOnly() const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::RequiredContentGroupOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_RequiredContentGroupOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions<D>::RequiredContentGroupOnly(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::RequiredContentGroupOnly(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_RequiredContentGroupOnly(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions<D>::RetainFilesOnFailure() const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::RetainFilesOnFailure() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_RetainFilesOnFailure(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions<D>::RetainFilesOnFailure(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::RetainFilesOnFailure(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_RetainFilesOnFailure(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions<D>::StageInPlace() const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::StageInPlace() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_StageInPlace(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions<D>::StageInPlace(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::StageInPlace(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_StageInPlace(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions<D>::AllowUnsigned() const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::AllowUnsigned() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_AllowUnsigned(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions<D>::AllowUnsigned(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::AllowUnsigned(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_AllowUnsigned(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IAddPackageOptions<D>::DeferRegistrationWhenPackagesAreInUse() const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::DeferRegistrationWhenPackagesAreInUse() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->get_DeferRegistrationWhenPackagesAreInUse(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IAddPackageOptions<D>::DeferRegistrationWhenPackagesAreInUse(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IAddPackageOptions<D>::DeferRegistrationWhenPackagesAreInUse(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IAddPackageOptions)->put_DeferRegistrationWhenPackagesAreInUse(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Deployment_IDeploymentResult<D>::ErrorText() const
+ template <typename D> auto consume_Windows_Management_Deployment_IDeploymentResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Management_Deployment_IDeploymentResult<D>::ActivityId() const
+ template <typename D> auto consume_Windows_Management_Deployment_IDeploymentResult<D>::ActivityId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IDeploymentResult)->get_ActivityId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Management_Deployment_IDeploymentResult<D>::ExtendedErrorCode() const
+ template <typename D> auto consume_Windows_Management_Deployment_IDeploymentResult<D>::ExtendedErrorCode() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IDeploymentResult)->get_ExtendedErrorCode(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IDeploymentResult2<D>::IsRegistered() const
+ template <typename D> auto consume_Windows_Management_Deployment_IDeploymentResult2<D>::IsRegistered() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IDeploymentResult2)->get_IsRegistered(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager<D>::AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager<D>::AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> 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<uint32_t>(deploymentOptions), &deploymentOperation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager<D>::UpdatePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager<D>::UpdatePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> 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<uint32_t>(deploymentOptions), &deploymentOperation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager<D>::RemovePackageAsync(param::hstring const& packageFullName) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager<D>::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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager<D>::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager<D>::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> 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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager<D>::RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager<D>::RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable<winrt::Windows::Foundation::Uri> 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<uint32_t>(deploymentOptions), &deploymentOperation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageManager<D>::FindPackages() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager<D>::FindPackages() const
{
void* packageCollection{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager)->FindPackages(&packageCollection));
return winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageManager<D>::FindPackagesForUser(param::hstring const& userSecurityId) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager<D>::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<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageManager<D>::FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager<D>::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<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageManager<D>::FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager<D>::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<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::Management::Deployment::PackageUserInformation>) consume_Windows_Management_Deployment_IPackageManager<D>::FindUsers(param::hstring const& packageFullName) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager<D>::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<winrt::Windows::Management::Deployment::PackageUserInformation>{ users, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IPackageManager<D>::SetPackageState(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageState const& packageState) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager<D>::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<int32_t>(packageState)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_Management_Deployment_IPackageManager<D>::FindPackage(param::hstring const& packageFullName) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager<D>::CleanupPackageForUserAsync(param::hstring const& packageName, param::hstring const& userSecurityId) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager<D>::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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageManager<D>::FindPackages(param::hstring const& packageFamilyName) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager<D>::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<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageManager<D>::FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageFamilyName) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager<D>::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<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_Management_Deployment_IPackageManager<D>::FindPackageForUser(param::hstring const& userSecurityId, param::hstring const& packageFullName) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager2<D>::RemovePackageAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::RemovalOptions const& removalOptions) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager2<D>::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<uint32_t>(removalOptions), &deploymentOperation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager2<D>::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager2<D>::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> 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<uint32_t>(deploymentOptions), &deploymentOperation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager2<D>::RegisterPackageByFullNameAsync(param::hstring const& mainPackageFullName, param::async_iterable<hstring> const& dependencyPackageFullNames, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager2<D>::RegisterPackageByFullNameAsync(param::hstring const& mainPackageFullName, param::async_iterable<hstring> 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<uint32_t>(deploymentOptions), &deploymentOperation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageManager2<D>::FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager2<D>::FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const
{
void* packageCollection{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager2)->FindPackagesWithPackageTypes(static_cast<uint32_t>(packageTypes), &packageCollection));
return winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageManager2<D>::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager2<D>::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<uint32_t>(packageTypes), &packageCollection));
return winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageManager2<D>::FindPackagesWithPackageTypes(param::hstring const& packageName, param::hstring const& packagePublisher, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager2<D>::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<uint32_t>(packageTypes), &packageCollection));
return winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageManager2<D>::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager2<D>::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<uint32_t>(packageTypes), &packageCollection));
return winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageManager2<D>::FindPackagesWithPackageTypes(param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager2<D>::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<uint32_t>(packageTypes), &packageCollection));
return winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageManager2<D>::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager2<D>::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<uint32_t>(packageTypes), &packageCollection));
return winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager2<D>::StageUserDataAsync(param::hstring const& packageFullName) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager2<D>::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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Management::Deployment::PackageVolume>) consume_Windows_Management_Deployment_IPackageManager3<D>::AddPackageVolumeAsync(param::hstring const& packageStorePath) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager3<D>::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<winrt::Windows::Management::Deployment::PackageVolume>{ packageVolume, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager3<D>::AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager3<D>::AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> 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<uint32_t>(deploymentOptions), *(void**)(&targetVolume), &deploymentOperation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IPackageManager3<D>::ClearPackageStatus(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageStatus const& status) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager3<D>::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<uint32_t>(status)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager3<D>::RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& appDataVolume) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager3<D>::RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable<winrt::Windows::Foundation::Uri> 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<uint32_t>(deploymentOptions), *(void**)(&appDataVolume), &deploymentOperation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) consume_Windows_Management_Deployment_IPackageManager3<D>::FindPackageVolume(param::hstring const& volumeName) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::Management::Deployment::PackageVolume>) consume_Windows_Management_Deployment_IPackageManager3<D>::FindPackageVolumes() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager3<D>::FindPackageVolumes() const
{
void* volumeCollection{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager3)->FindPackageVolumes(&volumeCollection));
return winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::Management::Deployment::PackageVolume>{ volumeCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) consume_Windows_Management_Deployment_IPackageManager3<D>::GetDefaultPackageVolume() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager3<D>::MovePackageToVolumeAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager3<D>::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<uint32_t>(deploymentOptions), *(void**)(&targetVolume), &deploymentOperation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager3<D>::RemovePackageVolumeAsync(winrt::Windows::Management::Deployment::PackageVolume const& volume) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager3<D>::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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IPackageManager3<D>::SetDefaultPackageVolume(winrt::Windows::Management::Deployment::PackageVolume const& volume) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager3<D>::SetDefaultPackageVolume(winrt::Windows::Management::Deployment::PackageVolume const& volume) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager3)->SetDefaultPackageVolume(*(void**)(&volume)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IPackageManager3<D>::SetPackageStatus(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::PackageStatus const& status) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager3<D>::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<uint32_t>(status)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager3<D>::SetPackageVolumeOfflineAsync(winrt::Windows::Management::Deployment::PackageVolume const& packageVolume) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager3<D>::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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager3<D>::SetPackageVolumeOnlineAsync(winrt::Windows::Management::Deployment::PackageVolume const& packageVolume) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager3<D>::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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager3<D>::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager3<D>::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> 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<uint32_t>(deploymentOptions), *(void**)(&targetVolume), &deploymentOperation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager3<D>::StageUserDataAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager3<D>::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<uint32_t>(deploymentOptions), &deploymentOperation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Management::Deployment::PackageVolume>>) consume_Windows_Management_Deployment_IPackageManager4<D>::GetPackageVolumesAsync() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager4<D>::GetPackageVolumesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager4)->GetPackageVolumesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Management::Deployment::PackageVolume>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager5<D>::AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& externalPackageUris) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager5<D>::AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& externalPackageUris) const
{
void* deploymentOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager5)->AddPackageToVolumeAndOptionalPackagesAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), static_cast<uint32_t>(deploymentOptions), *(void**)(&targetVolume), *(void**)(&optionalPackageFamilyNames), *(void**)(&externalPackageUris), &deploymentOperation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager5<D>::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& externalPackageUris) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager5<D>::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& externalPackageUris) const
{
void* deploymentOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager5)->StagePackageToVolumeAndOptionalPackagesAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), static_cast<uint32_t>(deploymentOptions), *(void**)(&targetVolume), *(void**)(&optionalPackageFamilyNames), *(void**)(&externalPackageUris), &deploymentOperation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager5<D>::RegisterPackageByFamilyNameAsync(param::hstring const& mainPackageFamilyName, param::async_iterable<hstring> const& dependencyPackageFamilyNames, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& appDataVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager5<D>::RegisterPackageByFamilyNameAsync(param::hstring const& mainPackageFamilyName, param::async_iterable<hstring> const& dependencyPackageFamilyNames, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& appDataVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames) const
{
void* deploymentOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager5)->RegisterPackageByFamilyNameAndOptionalPackagesAsync(*(void**)(&mainPackageFamilyName), *(void**)(&dependencyPackageFamilyNames), static_cast<uint32_t>(deploymentOptions), *(void**)(&appDataVolume), *(void**)(&optionalPackageFamilyNames), &deploymentOperation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageManagerDebugSettings) consume_Windows_Management_Deployment_IPackageManager5<D>::DebugSettings() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager6<D>::ProvisionPackageForAllUsersAsync(param::hstring const& packageFamilyName) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager6<D>::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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager6<D>::AddPackageByAppInstallerFileAsync(winrt::Windows::Foundation::Uri const& appInstallerFileUri, winrt::Windows::Management::Deployment::AddPackageByAppInstallerOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager6<D>::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<uint32_t>(options), *(void**)(&targetVolume), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager6<D>::RequestAddPackageByAppInstallerFileAsync(winrt::Windows::Foundation::Uri const& appInstallerFileUri, winrt::Windows::Management::Deployment::AddPackageByAppInstallerOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager6<D>::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<uint32_t>(options), *(void**)(&targetVolume), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager6<D>::AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& packageUrisToInstall, param::async_iterable<winrt::Windows::Foundation::Uri> const& relatedPackageUris) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager6<D>::AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& packageUrisToInstall, param::async_iterable<winrt::Windows::Foundation::Uri> const& relatedPackageUris) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager6)->AddPackageToVolumeAndRelatedSetAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), static_cast<uint32_t>(options), *(void**)(&targetVolume), *(void**)(&optionalPackageFamilyNames), *(void**)(&packageUrisToInstall), *(void**)(&relatedPackageUris), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager6<D>::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& packageUrisToInstall, param::async_iterable<winrt::Windows::Foundation::Uri> const& relatedPackageUris) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager6<D>::StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& packageUrisToInstall, param::async_iterable<winrt::Windows::Foundation::Uri> const& relatedPackageUris) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager6)->StagePackageToVolumeAndRelatedSetAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), static_cast<uint32_t>(options), *(void**)(&targetVolume), *(void**)(&optionalPackageFamilyNames), *(void**)(&packageUrisToInstall), *(void**)(&relatedPackageUris), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager6<D>::RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& relatedPackageUris) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager6<D>::RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& relatedPackageUris) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager6)->RequestAddPackageAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), static_cast<uint32_t>(deploymentOptions), *(void**)(&targetVolume), *(void**)(&optionalPackageFamilyNames), *(void**)(&relatedPackageUris), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager7<D>::RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& relatedPackageUris, param::async_iterable<winrt::Windows::Foundation::Uri> const& packageUrisToInstall) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager7<D>::RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& relatedPackageUris, param::async_iterable<winrt::Windows::Foundation::Uri> const& packageUrisToInstall) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager7)->RequestAddPackageAndRelatedSetAsync(*(void**)(&packageUri), *(void**)(&dependencyPackageUris), static_cast<uint32_t>(deploymentOptions), *(void**)(&targetVolume), *(void**)(&optionalPackageFamilyNames), *(void**)(&relatedPackageUris), *(void**)(&packageUrisToInstall), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager8<D>::DeprovisionPackageForAllUsersAsync(param::hstring const& packageFamilyName) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager8<D>::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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageManager9<D>::FindProvisionedPackages() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager9<D>::FindProvisionedPackages() const
{
void* packageCollection{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageManager9)->FindProvisionedPackages(&packageCollection));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager9<D>::AddPackageByUriAsync(winrt::Windows::Foundation::Uri const& packageUri, winrt::Windows::Management::Deployment::AddPackageOptions const& options) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager9<D>::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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager9<D>::StagePackageByUriAsync(winrt::Windows::Foundation::Uri const& packageUri, winrt::Windows::Management::Deployment::StagePackageOptions const& options) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager9<D>::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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager9<D>::RegisterPackageByUriAsync(winrt::Windows::Foundation::Uri const& manifestUri, winrt::Windows::Management::Deployment::RegisterPackageOptions const& options) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager9<D>::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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) consume_Windows_Management_Deployment_IPackageManager9<D>::RegisterPackagesByFullNameAsync(param::async_iterable<hstring> const& packageFullNames, winrt::Windows::Management::Deployment::RegisterPackageOptions const& options) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager9<D>::RegisterPackagesByFullNameAsync(param::async_iterable<hstring> 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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>{ deploymentOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IPackageManager9<D>::SetPackageStubPreference(param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageStubPreference const& useStub) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager9<D>::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<int32_t>(useStub)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageStubPreference) consume_Windows_Management_Deployment_IPackageManager9<D>::GetPackageStubPreference(param::hstring const& packageFamilyName) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManager9<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Management_Deployment_IPackageManagerDebugSettings<D>::SetContentGroupStateAsync(winrt::Windows::ApplicationModel::Package const& package, param::hstring const& contentGroupName, winrt::Windows::ApplicationModel::PackageContentGroupState const& state) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManagerDebugSettings<D>::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<int32_t>(state), &action));
return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Management_Deployment_IPackageManagerDebugSettings<D>::SetContentGroupStateAsync(winrt::Windows::ApplicationModel::Package const& package, param::hstring const& contentGroupName, winrt::Windows::ApplicationModel::PackageContentGroupState const& state, double completionPercentage) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageManagerDebugSettings<D>::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<int32_t>(state), completionPercentage, &action));
return winrt::Windows::Foundation::IAsyncAction{ action, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Deployment_IPackageUserInformation<D>::UserSecurityId() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageUserInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageInstallState) consume_Windows_Management_Deployment_IPackageUserInformation<D>::InstallState() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageUserInformation<D>::InstallState() const
{
winrt::Windows::Management::Deployment::PackageInstallState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageUserInformation)->get_InstallState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IPackageVolume<D>::IsOffline() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::IsOffline() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->get_IsOffline(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IPackageVolume<D>::IsSystemVolume() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::IsSystemVolume() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->get_IsSystemVolume(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Deployment_IPackageVolume<D>::MountPoint() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Deployment_IPackageVolume<D>::Name() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Deployment_IPackageVolume<D>::PackageStorePath() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IPackageVolume<D>::SupportsHardLinks() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::SupportsHardLinks() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->get_SupportsHardLinks(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageVolume<D>::FindPackages() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::FindPackages() const
{
void* packageCollection{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->FindPackages(&packageCollection));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageVolume<D>::FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::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<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageVolume<D>::FindPackages(param::hstring const& packageFamilyName) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::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<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageVolume<D>::FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const
{
void* packageCollection{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume)->FindPackagesWithPackageTypes(static_cast<uint32_t>(packageTypes), &packageCollection));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageVolume<D>::FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageName, param::hstring const& packagePublisher) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::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<uint32_t>(packageTypes), *(void**)(&packageName), *(void**)(&packagePublisher), &packageCollection));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageVolume<D>::FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageFamilyName) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::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<uint32_t>(packageTypes), *(void**)(&packageFamilyName), &packageCollection));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageVolume<D>::FindPackage(param::hstring const& packageFullName) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::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<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageVolume<D>::FindPackagesForUser(param::hstring const& userSecurityId) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::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<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageVolume<D>::FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::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<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageVolume<D>::FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageFamilyName) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::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<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageVolume<D>::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::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<uint32_t>(packageTypes), &packageCollection));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageVolume<D>::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageName, param::hstring const& packagePublisher) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::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<uint32_t>(packageTypes), *(void**)(&packageName), *(void**)(&packagePublisher), &packageCollection));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageVolume<D>::FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageFamilyName) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::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<uint32_t>(packageTypes), *(void**)(&packageFamilyName), &packageCollection));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) consume_Windows_Management_Deployment_IPackageVolume<D>::FindPackageForUser(param::hstring const& userSecurityId, param::hstring const& packageFullName) const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume<D>::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<winrt::Windows::ApplicationModel::Package>{ packageCollection, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IPackageVolume2<D>::IsFullTrustPackageSupported() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume2<D>::IsFullTrustPackageSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume2)->get_IsFullTrustPackageSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IPackageVolume2<D>::IsAppxInstallSupported() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume2<D>::IsAppxInstallSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume2)->get_IsAppxInstallSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint64_t>) consume_Windows_Management_Deployment_IPackageVolume2<D>::GetAvailableSpaceAsync() const
+ template <typename D> auto consume_Windows_Management_Deployment_IPackageVolume2<D>::GetAvailableSpaceAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IPackageVolume2)->GetAvailableSpaceAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<uint64_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::DependencyPackageUris() const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::DependencyPackageUris() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_DependencyPackageUris(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::AppDataVolume() const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::AppDataVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::AppDataVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_AppDataVolume(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::OptionalPackageFamilyNames() const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::OptionalPackageFamilyNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_OptionalPackageFamilyNames(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::ExternalLocationUri() const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_ExternalLocationUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::DeveloperMode() const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::DeveloperMode() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_DeveloperMode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::DeveloperMode(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::DeveloperMode(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_DeveloperMode(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::ForceAppShutdown() const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::ForceAppShutdown() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_ForceAppShutdown(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::ForceAppShutdown(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::ForceAppShutdown(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_ForceAppShutdown(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::ForceTargetAppShutdown() const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::ForceTargetAppShutdown() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_ForceTargetAppShutdown(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::ForceTargetAppShutdown(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::ForceTargetAppShutdown(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_ForceTargetAppShutdown(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::ForceUpdateFromAnyVersion() const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::ForceUpdateFromAnyVersion() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_ForceUpdateFromAnyVersion(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::ForceUpdateFromAnyVersion(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::ForceUpdateFromAnyVersion(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_ForceUpdateFromAnyVersion(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::InstallAllResources() const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::InstallAllResources() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_InstallAllResources(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::InstallAllResources(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::InstallAllResources(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_InstallAllResources(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::StageInPlace() const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::StageInPlace() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_StageInPlace(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::StageInPlace(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::StageInPlace(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_StageInPlace(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::AllowUnsigned() const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::AllowUnsigned() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_AllowUnsigned(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::AllowUnsigned(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::AllowUnsigned(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_AllowUnsigned(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::DeferRegistrationWhenPackagesAreInUse() const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::DeferRegistrationWhenPackagesAreInUse() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->get_DeferRegistrationWhenPackagesAreInUse(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::DeferRegistrationWhenPackagesAreInUse(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IRegisterPackageOptions<D>::DeferRegistrationWhenPackagesAreInUse(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IRegisterPackageOptions)->put_DeferRegistrationWhenPackagesAreInUse(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) consume_Windows_Management_Deployment_IStagePackageOptions<D>::DependencyPackageUris() const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::DependencyPackageUris() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_DependencyPackageUris(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) consume_Windows_Management_Deployment_IStagePackageOptions<D>::TargetVolume() const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions<D>::TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_TargetVolume(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Management_Deployment_IStagePackageOptions<D>::OptionalPackageFamilyNames() const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::OptionalPackageFamilyNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_OptionalPackageFamilyNames(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) consume_Windows_Management_Deployment_IStagePackageOptions<D>::OptionalPackageUris() const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::OptionalPackageUris() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_OptionalPackageUris(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) consume_Windows_Management_Deployment_IStagePackageOptions<D>::RelatedPackageUris() const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::RelatedPackageUris() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_RelatedPackageUris(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Management_Deployment_IStagePackageOptions<D>::ExternalLocationUri() const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions<D>::ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::ExternalLocationUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_ExternalLocationUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::StubPackageOption) consume_Windows_Management_Deployment_IStagePackageOptions<D>::StubPackageOption() const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::StubPackageOption() const
{
winrt::Windows::Management::Deployment::StubPackageOption value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_StubPackageOption(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions<D>::StubPackageOption(winrt::Windows::Management::Deployment::StubPackageOption const& value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::StubPackageOption(winrt::Windows::Management::Deployment::StubPackageOption const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_StubPackageOption(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IStagePackageOptions<D>::DeveloperMode() const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::DeveloperMode() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_DeveloperMode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions<D>::DeveloperMode(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::DeveloperMode(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_DeveloperMode(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IStagePackageOptions<D>::ForceUpdateFromAnyVersion() const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::ForceUpdateFromAnyVersion() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_ForceUpdateFromAnyVersion(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions<D>::ForceUpdateFromAnyVersion(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::ForceUpdateFromAnyVersion(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_ForceUpdateFromAnyVersion(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IStagePackageOptions<D>::InstallAllResources() const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::InstallAllResources() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_InstallAllResources(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions<D>::InstallAllResources(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::InstallAllResources(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_InstallAllResources(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IStagePackageOptions<D>::RequiredContentGroupOnly() const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::RequiredContentGroupOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_RequiredContentGroupOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions<D>::RequiredContentGroupOnly(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::RequiredContentGroupOnly(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_RequiredContentGroupOnly(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IStagePackageOptions<D>::StageInPlace() const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::StageInPlace() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_StageInPlace(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions<D>::StageInPlace(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::StageInPlace(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_StageInPlace(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Deployment_IStagePackageOptions<D>::AllowUnsigned() const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::AllowUnsigned() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->get_AllowUnsigned(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Deployment_IStagePackageOptions<D>::AllowUnsigned(bool value) const
+ template <typename D> auto consume_Windows_Management_Deployment_IStagePackageOptions<D>::AllowUnsigned(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Deployment::IStagePackageOptions)->put_AllowUnsigned(value));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Policies.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Policies.h
index 10abd0c4b67..45031c842a7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Policies.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Policies_INamedPolicyData<D>::Area() const
+ template <typename D> auto consume_Windows_Management_Policies_INamedPolicyData<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Policies_INamedPolicyData<D>::Name() const
+ template <typename D> auto consume_Windows_Management_Policies_INamedPolicyData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Policies::NamedPolicyKind) consume_Windows_Management_Policies_INamedPolicyData<D>::Kind() const
+ template <typename D> auto consume_Windows_Management_Policies_INamedPolicyData<D>::Kind() const
{
winrt::Windows::Management::Policies::NamedPolicyKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Policies_INamedPolicyData<D>::IsManaged() const
+ template <typename D> auto consume_Windows_Management_Policies_INamedPolicyData<D>::IsManaged() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->get_IsManaged(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Policies_INamedPolicyData<D>::IsUserPolicy() const
+ template <typename D> auto consume_Windows_Management_Policies_INamedPolicyData<D>::IsUserPolicy() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->get_IsUserPolicy(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Management_Policies_INamedPolicyData<D>::User() const
+ template <typename D> auto consume_Windows_Management_Policies_INamedPolicyData<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Policies_INamedPolicyData<D>::GetBoolean() const
+ template <typename D> auto consume_Windows_Management_Policies_INamedPolicyData<D>::GetBoolean() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->GetBoolean(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Management_Policies_INamedPolicyData<D>::GetBinary() const
+ template <typename D> auto consume_Windows_Management_Policies_INamedPolicyData<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Management_Policies_INamedPolicyData<D>::GetInt32() const
+ template <typename D> auto consume_Windows_Management_Policies_INamedPolicyData<D>::GetInt32() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->GetInt32(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_Management_Policies_INamedPolicyData<D>::GetInt64() const
+ template <typename D> auto consume_Windows_Management_Policies_INamedPolicyData<D>::GetInt64() const
{
int64_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->GetInt64(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Management_Policies_INamedPolicyData<D>::GetString() const
+ template <typename D> auto consume_Windows_Management_Policies_INamedPolicyData<D>::GetString() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->GetString(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Management_Policies_INamedPolicyData<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Management::Policies::NamedPolicyData, winrt::Windows::Foundation::IInspectable> const& changedHandler) const
+ template <typename D> auto consume_Windows_Management_Policies_INamedPolicyData<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Management::Policies::NamedPolicyData, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Management_Policies_INamedPolicyData<D>::Changed_revoker consume_Windows_Management_Policies_INamedPolicyData<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Management::Policies::NamedPolicyData, winrt::Windows::Foundation::IInspectable> const& changedHandler) const
+ template <typename D> auto consume_Windows_Management_Policies_INamedPolicyData<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Management::Policies::NamedPolicyData, winrt::Windows::Foundation::IInspectable> const& changedHandler) const
{
return impl::make_event_revoker<D, Changed_revoker>(this, Changed(changedHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Policies_INamedPolicyData<D>::Changed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Management_Policies_INamedPolicyData<D>::Changed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Management::Policies::INamedPolicyData)->remove_Changed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Policies::NamedPolicyData) consume_Windows_Management_Policies_INamedPolicyStatics<D>::GetPolicyFromPath(param::hstring const& area, param::hstring const& name) const
+ template <typename D> auto consume_Windows_Management_Policies_INamedPolicyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Policies::NamedPolicyData) consume_Windows_Management_Policies_INamedPolicyStatics<D>::GetPolicyFromPathForUser(winrt::Windows::System::User const& user, param::hstring const& area, param::hstring const& name) const
+ template <typename D> auto consume_Windows_Management_Policies_INamedPolicyStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Update.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Update.h
index 5298010e35d..a66c4808b04 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Update.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Update_IPreviewBuildsManager<D>::ArePreviewBuildsAllowed() const
+ template <typename D> auto consume_Windows_Management_Update_IPreviewBuildsManager<D>::ArePreviewBuildsAllowed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Update::IPreviewBuildsManager)->get_ArePreviewBuildsAllowed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_Update_IPreviewBuildsManager<D>::ArePreviewBuildsAllowed(bool value) const
+ template <typename D> auto consume_Windows_Management_Update_IPreviewBuildsManager<D>::ArePreviewBuildsAllowed(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Update::IPreviewBuildsManager)->put_ArePreviewBuildsAllowed(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Update::PreviewBuildsState) consume_Windows_Management_Update_IPreviewBuildsManager<D>::GetCurrentState() const
+ template <typename D> auto consume_Windows_Management_Update_IPreviewBuildsManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Management_Update_IPreviewBuildsManager<D>::SyncAsync() const
+ template <typename D> auto consume_Windows_Management_Update_IPreviewBuildsManager<D>::SyncAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Update::IPreviewBuildsManager)->SyncAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Update::PreviewBuildsManager) consume_Windows_Management_Update_IPreviewBuildsManagerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Management_Update_IPreviewBuildsManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Update_IPreviewBuildsManagerStatics<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Management_Update_IPreviewBuildsManagerStatics<D>::IsSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Update::IPreviewBuildsManagerStatics)->IsSupported(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Management_Update_IPreviewBuildsState<D>::Properties() const
+ template <typename D> auto consume_Windows_Management_Update_IPreviewBuildsState<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Update::IPreviewBuildsState)->get_Properties(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Workplace.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Workplace.h
index af8ba124c52..a3632c4d587 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.Workplace.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Workplace_IMdmAllowPolicyStatics<D>::IsBrowserAllowed() const
+ template <typename D> auto consume_Windows_Management_Workplace_IMdmAllowPolicyStatics<D>::IsBrowserAllowed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Workplace::IMdmAllowPolicyStatics)->IsBrowserAllowed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Workplace_IMdmAllowPolicyStatics<D>::IsCameraAllowed() const
+ template <typename D> auto consume_Windows_Management_Workplace_IMdmAllowPolicyStatics<D>::IsCameraAllowed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Workplace::IMdmAllowPolicyStatics)->IsCameraAllowed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Workplace_IMdmAllowPolicyStatics<D>::IsMicrosoftAccountAllowed() const
+ template <typename D> auto consume_Windows_Management_Workplace_IMdmAllowPolicyStatics<D>::IsMicrosoftAccountAllowed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Workplace::IMdmAllowPolicyStatics)->IsMicrosoftAccountAllowed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Workplace_IMdmAllowPolicyStatics<D>::IsStoreAllowed() const
+ template <typename D> auto consume_Windows_Management_Workplace_IMdmAllowPolicyStatics<D>::IsStoreAllowed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Workplace::IMdmAllowPolicyStatics)->IsStoreAllowed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Workplace::MessagingSyncPolicy) consume_Windows_Management_Workplace_IMdmPolicyStatics2<D>::GetMessagingSyncPolicy() const
+ template <typename D> auto consume_Windows_Management_Workplace_IMdmPolicyStatics2<D>::GetMessagingSyncPolicy() const
{
winrt::Windows::Management::Workplace::MessagingSyncPolicy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Workplace::IMdmPolicyStatics2)->GetMessagingSyncPolicy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Management_Workplace_IWorkplaceSettingsStatics<D>::IsMicrosoftAccountOptional() const
+ template <typename D> auto consume_Windows_Management_Workplace_IWorkplaceSettingsStatics<D>::IsMicrosoftAccountOptional() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::Workplace::IWorkplaceSettingsStatics)->get_IsMicrosoftAccountOptional(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.h
index 194ccc6858c..5ca1016a5cc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Management.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Management_IMdmAlert<D>::Data() const
+ template <typename D> auto consume_Windows_Management_IMdmAlert<D>::Data() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->get_Data(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_IMdmAlert<D>::Data(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Management_IMdmAlert<D>::Data(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->put_Data(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::MdmAlertDataType) consume_Windows_Management_IMdmAlert<D>::Format() const
+ template <typename D> auto consume_Windows_Management_IMdmAlert<D>::Format() const
{
winrt::Windows::Management::MdmAlertDataType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->get_Format(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_IMdmAlert<D>::Format(winrt::Windows::Management::MdmAlertDataType const& value) const
+ template <typename D> auto consume_Windows_Management_IMdmAlert<D>::Format(winrt::Windows::Management::MdmAlertDataType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->put_Format(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::MdmAlertMark) consume_Windows_Management_IMdmAlert<D>::Mark() const
+ template <typename D> auto consume_Windows_Management_IMdmAlert<D>::Mark() const
{
winrt::Windows::Management::MdmAlertMark value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->get_Mark(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_IMdmAlert<D>::Mark(winrt::Windows::Management::MdmAlertMark const& value) const
+ template <typename D> auto consume_Windows_Management_IMdmAlert<D>::Mark(winrt::Windows::Management::MdmAlertMark const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->put_Mark(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Management_IMdmAlert<D>::Source() const
+ template <typename D> auto consume_Windows_Management_IMdmAlert<D>::Source() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->get_Source(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_IMdmAlert<D>::Source(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Management_IMdmAlert<D>::Source(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->put_Source(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Management_IMdmAlert<D>::Status() const
+ template <typename D> auto consume_Windows_Management_IMdmAlert<D>::Status() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->get_Status(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Management_IMdmAlert<D>::Target() const
+ template <typename D> auto consume_Windows_Management_IMdmAlert<D>::Target() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->get_Target(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_IMdmAlert<D>::Target(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Management_IMdmAlert<D>::Target(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->put_Target(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Management_IMdmAlert<D>::Type() const
+ template <typename D> auto consume_Windows_Management_IMdmAlert<D>::Type() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->get_Type(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_IMdmAlert<D>::Type(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Management_IMdmAlert<D>::Type(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmAlert)->put_Type(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Management::MdmAlert>) consume_Windows_Management_IMdmSession<D>::Alerts() const
+ template <typename D> auto consume_Windows_Management_IMdmSession<D>::Alerts() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSession)->get_Alerts(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Management::MdmAlert>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Management_IMdmSession<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Management_IMdmSession<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSession)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Management_IMdmSession<D>::Id() const
+ template <typename D> auto consume_Windows_Management_IMdmSession<D>::Id() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSession)->get_Id(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::MdmSessionState) consume_Windows_Management_IMdmSession<D>::State() const
+ template <typename D> auto consume_Windows_Management_IMdmSession<D>::State() const
{
winrt::Windows::Management::MdmSessionState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSession)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Management_IMdmSession<D>::AttachAsync() const
+ template <typename D> auto consume_Windows_Management_IMdmSession<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_IMdmSession<D>::Delete() const
+ template <typename D> auto consume_Windows_Management_IMdmSession<D>::Delete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSession)->Delete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Management_IMdmSession<D>::StartAsync() const
+ template <typename D> auto consume_Windows_Management_IMdmSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Management_IMdmSession<D>::StartAsync(param::async_iterable<winrt::Windows::Management::MdmAlert> const& alerts) const
+ template <typename D> auto consume_Windows_Management_IMdmSession<D>::StartAsync(param::async_iterable<winrt::Windows::Management::MdmAlert> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Management_IMdmSessionManagerStatics<D>::SessionIds() const
+ template <typename D> auto consume_Windows_Management_IMdmSessionManagerStatics<D>::SessionIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSessionManagerStatics)->get_SessionIds(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::MdmSession) consume_Windows_Management_IMdmSessionManagerStatics<D>::TryCreateSession() const
+ template <typename D> auto consume_Windows_Management_IMdmSessionManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Management_IMdmSessionManagerStatics<D>::DeleteSessionById(param::hstring const& sessionId) const
+ template <typename D> auto consume_Windows_Management_IMdmSessionManagerStatics<D>::DeleteSessionById(param::hstring const& sessionId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSessionManagerStatics)->DeleteSessionById(*(void**)(&sessionId)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::MdmSession) consume_Windows_Management_IMdmSessionManagerStatics<D>::GetSessionById(param::hstring const& sessionId) const
+ template <typename D> auto consume_Windows_Management_IMdmSessionManagerStatics<D>::GetSessionById(param::hstring const& sessionId) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Management::IMdmSessionManagerStatics)->GetSessionById(*(void**)(&sessionId), &result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.AppBroadcasting.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.AppBroadcasting.h
index 9ed1d728274..6f0d7837d59 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.AppBroadcasting.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor<D>::IsCurrentAppBroadcasting() const
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor<D>::IsCurrentAppBroadcasting() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingMonitor)->get_IsCurrentAppBroadcasting(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor<D>::IsCurrentAppBroadcastingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::AppBroadcasting::AppBroadcastingMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor<D>::IsCurrentAppBroadcastingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::AppBroadcasting::AppBroadcastingMonitor, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor<D>::IsCurrentAppBroadcastingChanged_revoker consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor<D>::IsCurrentAppBroadcastingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::AppBroadcasting::AppBroadcastingMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor<D>::IsCurrentAppBroadcastingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::AppBroadcasting::AppBroadcastingMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, IsCurrentAppBroadcastingChanged_revoker>(this, IsCurrentAppBroadcastingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor<D>::IsCurrentAppBroadcastingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor<D>::IsCurrentAppBroadcastingChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingMonitor)->remove_IsCurrentAppBroadcastingChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatus<D>::CanStartBroadcast() const
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatus<D>::CanStartBroadcast() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatus)->get_CanStartBroadcast(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AppBroadcasting::AppBroadcastingStatusDetails) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatus<D>::Details() const
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatus<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails<D>::IsAnyAppBroadcasting() const
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails<D>::IsAnyAppBroadcasting() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails)->get_IsAnyAppBroadcasting(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails<D>::IsCaptureResourceUnavailable() const
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails<D>::IsCaptureResourceUnavailable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails)->get_IsCaptureResourceUnavailable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails<D>::IsGameStreamInProgress() const
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails<D>::IsGameStreamInProgress() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails)->get_IsGameStreamInProgress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails<D>::IsGpuConstrained() const
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails<D>::IsGpuConstrained() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails)->get_IsGpuConstrained(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails<D>::IsAppInactive() const
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails<D>::IsAppInactive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails)->get_IsAppInactive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails<D>::IsBlockedForApp() const
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails<D>::IsBlockedForApp() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails)->get_IsBlockedForApp(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails<D>::IsDisabledByUser() const
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails<D>::IsDisabledByUser() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails)->get_IsDisabledByUser(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails<D>::IsDisabledBySystem() const
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingStatusDetails<D>::IsDisabledBySystem() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails)->get_IsDisabledBySystem(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AppBroadcasting::AppBroadcastingStatus) consume_Windows_Media_AppBroadcasting_IAppBroadcastingUI<D>::GetStatus() const
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingUI<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_AppBroadcasting_IAppBroadcastingUI<D>::ShowBroadcastUI() const
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingUI<D>::ShowBroadcastUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppBroadcasting::IAppBroadcastingUI)->ShowBroadcastUI());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AppBroadcasting::AppBroadcastingUI) consume_Windows_Media_AppBroadcasting_IAppBroadcastingUIStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingUIStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AppBroadcasting::AppBroadcastingUI) consume_Windows_Media_AppBroadcasting_IAppBroadcastingUIStatics<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Media_AppBroadcasting_IAppBroadcastingUIStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.AppRecording.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.AppRecording.h
index f405fef73a0..bc10037e0e5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.AppRecording.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AppRecording::AppRecordingStatus) consume_Windows_Media_AppRecording_IAppRecordingManager<D>::GetStatus() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::AppRecording::AppRecordingResult>) consume_Windows_Media_AppRecording_IAppRecordingManager<D>::StartRecordingToFileAsync(winrt::Windows::Storage::StorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingManager<D>::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<winrt::Windows::Media::AppRecording::AppRecordingResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::AppRecording::AppRecordingResult>) consume_Windows_Media_AppRecording_IAppRecordingManager<D>::RecordTimeSpanToFileAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration, winrt::Windows::Storage::StorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingManager<D>::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<winrt::Windows::Media::AppRecording::AppRecordingResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Media_AppRecording_IAppRecordingManager<D>::SupportedScreenshotMediaEncodingSubtypes() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingManager<D>::SupportedScreenshotMediaEncodingSubtypes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingManager)->get_SupportedScreenshotMediaEncodingSubtypes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::AppRecording::AppRecordingSaveScreenshotResult>) consume_Windows_Media_AppRecording_IAppRecordingManager<D>::SaveScreenshotToFilesAsync(winrt::Windows::Storage::StorageFolder const& folder, param::hstring const& filenamePrefix, winrt::Windows::Media::AppRecording::AppRecordingSaveScreenshotOption const& option, param::async_iterable<hstring> const& requestedFormats) const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingManager<D>::SaveScreenshotToFilesAsync(winrt::Windows::Storage::StorageFolder const& folder, param::hstring const& filenamePrefix, winrt::Windows::Media::AppRecording::AppRecordingSaveScreenshotOption const& option, param::async_iterable<hstring> const& requestedFormats) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingManager)->SaveScreenshotToFilesAsync(*(void**)(&folder), *(void**)(&filenamePrefix), static_cast<int32_t>(option), *(void**)(&requestedFormats), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::AppRecording::AppRecordingSaveScreenshotResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AppRecording::AppRecordingManager) consume_Windows_Media_AppRecording_IAppRecordingManagerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingResult<D>::Succeeded() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingResult<D>::Succeeded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingResult)->get_Succeeded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_AppRecording_IAppRecordingResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_AppRecording_IAppRecordingResult<D>::Duration() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingResult<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingResult<D>::IsFileTruncated() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingResult<D>::IsFileTruncated() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingResult)->get_IsFileTruncated(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingSaveScreenshotResult<D>::Succeeded() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingSaveScreenshotResult<D>::Succeeded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingSaveScreenshotResult)->get_Succeeded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_AppRecording_IAppRecordingSaveScreenshotResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingSaveScreenshotResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingSaveScreenshotResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::AppRecording::AppRecordingSavedScreenshotInfo>) consume_Windows_Media_AppRecording_IAppRecordingSaveScreenshotResult<D>::SavedScreenshotInfos() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingSaveScreenshotResult<D>::SavedScreenshotInfos() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingSaveScreenshotResult)->get_SavedScreenshotInfos(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::AppRecording::AppRecordingSavedScreenshotInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Media_AppRecording_IAppRecordingSavedScreenshotInfo<D>::File() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingSavedScreenshotInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_AppRecording_IAppRecordingSavedScreenshotInfo<D>::MediaEncodingSubtype() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingSavedScreenshotInfo<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatus<D>::CanRecord() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingStatus<D>::CanRecord() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatus)->get_CanRecord(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatus<D>::CanRecordTimeSpan() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingStatus<D>::CanRecordTimeSpan() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatus)->get_CanRecordTimeSpan(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_AppRecording_IAppRecordingStatus<D>::HistoricalBufferDuration() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingStatus<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AppRecording::AppRecordingStatusDetails) consume_Windows_Media_AppRecording_IAppRecordingStatus<D>::Details() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingStatus<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsAnyAppBroadcasting() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsAnyAppBroadcasting() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsAnyAppBroadcasting(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsCaptureResourceUnavailable() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsCaptureResourceUnavailable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsCaptureResourceUnavailable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsGameStreamInProgress() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsGameStreamInProgress() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsGameStreamInProgress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsTimeSpanRecordingDisabled() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsTimeSpanRecordingDisabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsTimeSpanRecordingDisabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsGpuConstrained() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsGpuConstrained() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsGpuConstrained(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsAppInactive() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsAppInactive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsAppInactive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsBlockedForApp() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsBlockedForApp() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsBlockedForApp(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsDisabledByUser() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsDisabledByUser() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsDisabledByUser(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsDisabledBySystem() const
+ template <typename D> auto consume_Windows_Media_AppRecording_IAppRecordingStatusDetails<D>::IsDisabledBySystem() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails)->get_IsDisabledBySystem(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Audio.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Audio.h
index 99c2faf13f0..6b292cea6ba 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Audio.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Media_Audio_IAudioDeviceInputNode<D>::Device() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioDeviceInputNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Media_Audio_IAudioDeviceOutputNode<D>::Device() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioDeviceOutputNode<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFileInputNode<D>::PlaybackSpeedFactor(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileInputNode<D>::PlaybackSpeedFactor(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->put_PlaybackSpeedFactor(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioFileInputNode<D>::PlaybackSpeedFactor() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileInputNode<D>::PlaybackSpeedFactor() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->get_PlaybackSpeedFactor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Audio_IAudioFileInputNode<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileInputNode<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFileInputNode<D>::Seek(winrt::Windows::Foundation::TimeSpan const& position) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileInputNode<D>::Seek(winrt::Windows::Foundation::TimeSpan const& position) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->Seek(impl::bind_in(position)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Audio_IAudioFileInputNode<D>::StartTime() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileInputNode<D>::StartTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->get_StartTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFileInputNode<D>::StartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileInputNode<D>::StartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->put_StartTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Audio_IAudioFileInputNode<D>::EndTime() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileInputNode<D>::EndTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->get_EndTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFileInputNode<D>::EndTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileInputNode<D>::EndTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->put_EndTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Media_Audio_IAudioFileInputNode<D>::LoopCount() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileInputNode<D>::LoopCount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->get_LoopCount(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFileInputNode<D>::LoopCount(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileInputNode<D>::LoopCount(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->put_LoopCount(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Audio_IAudioFileInputNode<D>::Duration() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileInputNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Media_Audio_IAudioFileInputNode<D>::SourceFile() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileInputNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IAudioFileInputNode<D>::FileCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFileInputNode, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileInputNode<D>::FileCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFileInputNode, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Audio_IAudioFileInputNode<D>::FileCompleted_revoker consume_Windows_Media_Audio_IAudioFileInputNode<D>::FileCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFileInputNode, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileInputNode<D>::FileCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFileInputNode, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, FileCompleted_revoker>(this, FileCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFileInputNode<D>::FileCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileInputNode<D>::FileCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileInputNode)->remove_FileCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) consume_Windows_Media_Audio_IAudioFileOutputNode<D>::File() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileOutputNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_Audio_IAudioFileOutputNode<D>::FileEncodingProfile() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileOutputNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Transcoding::TranscodeFailureReason>) consume_Windows_Media_Audio_IAudioFileOutputNode<D>::FinalizeAsync() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFileOutputNode<D>::FinalizeAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFileOutputNode)->FinalizeAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Transcoding::TranscodeFailureReason>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) consume_Windows_Media_Audio_IAudioFrameCompletedEventArgs<D>::Frame() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFrameCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFrameInputNode<D>::PlaybackSpeedFactor(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFrameInputNode<D>::PlaybackSpeedFactor(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameInputNode)->put_PlaybackSpeedFactor(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioFrameInputNode<D>::PlaybackSpeedFactor() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFrameInputNode<D>::PlaybackSpeedFactor() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameInputNode)->get_PlaybackSpeedFactor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFrameInputNode<D>::AddFrame(winrt::Windows::Media::AudioFrame const& frame) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFrameInputNode<D>::AddFrame(winrt::Windows::Media::AudioFrame const& frame) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameInputNode)->AddFrame(*(void**)(&frame)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFrameInputNode<D>::DiscardQueuedFrames() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFrameInputNode<D>::DiscardQueuedFrames() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameInputNode)->DiscardQueuedFrames());
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Audio_IAudioFrameInputNode<D>::QueuedSampleCount() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFrameInputNode<D>::QueuedSampleCount() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameInputNode)->get_QueuedSampleCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IAudioFrameInputNode<D>::AudioFrameCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFrameInputNode, winrt::Windows::Media::Audio::AudioFrameCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFrameInputNode<D>::AudioFrameCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFrameInputNode, winrt::Windows::Media::Audio::AudioFrameCompletedEventArgs> 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 D> typename consume_Windows_Media_Audio_IAudioFrameInputNode<D>::AudioFrameCompleted_revoker consume_Windows_Media_Audio_IAudioFrameInputNode<D>::AudioFrameCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFrameInputNode, winrt::Windows::Media::Audio::AudioFrameCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFrameInputNode<D>::AudioFrameCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFrameInputNode, winrt::Windows::Media::Audio::AudioFrameCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AudioFrameCompleted_revoker>(this, AudioFrameCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFrameInputNode<D>::AudioFrameCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFrameInputNode<D>::AudioFrameCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameInputNode)->remove_AudioFrameCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IAudioFrameInputNode<D>::QuantumStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFrameInputNode, winrt::Windows::Media::Audio::FrameInputNodeQuantumStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFrameInputNode<D>::QuantumStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFrameInputNode, winrt::Windows::Media::Audio::FrameInputNodeQuantumStartedEventArgs> 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 D> typename consume_Windows_Media_Audio_IAudioFrameInputNode<D>::QuantumStarted_revoker consume_Windows_Media_Audio_IAudioFrameInputNode<D>::QuantumStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFrameInputNode, winrt::Windows::Media::Audio::FrameInputNodeQuantumStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFrameInputNode<D>::QuantumStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFrameInputNode, winrt::Windows::Media::Audio::FrameInputNodeQuantumStartedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, QuantumStarted_revoker>(this, QuantumStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioFrameInputNode<D>::QuantumStarted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFrameInputNode<D>::QuantumStarted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioFrameInputNode)->remove_QuantumStarted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) consume_Windows_Media_Audio_IAudioFrameOutputNode<D>::GetFrame() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioFrameOutputNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFrameInputNode) consume_Windows_Media_Audio_IAudioGraph<D>::CreateFrameInputNode() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFrameInputNode) consume_Windows_Media_Audio_IAudioGraph<D>::CreateFrameInputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioDeviceInputNodeResult>) consume_Windows_Media_Audio_IAudioGraph<D>::CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->CreateDeviceInputNodeAsync(static_cast<int32_t>(category), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioDeviceInputNodeResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioDeviceInputNodeResult>) consume_Windows_Media_Audio_IAudioGraph<D>::CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::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<int32_t>(category), *(void**)(&encodingProperties), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioDeviceInputNodeResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioDeviceInputNodeResult>) consume_Windows_Media_Audio_IAudioGraph<D>::CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::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<int32_t>(category), *(void**)(&encodingProperties), *(void**)(&device), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioDeviceInputNodeResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFrameOutputNode) consume_Windows_Media_Audio_IAudioGraph<D>::CreateFrameOutputNode() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFrameOutputNode) consume_Windows_Media_Audio_IAudioGraph<D>::CreateFrameOutputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioDeviceOutputNodeResult>) consume_Windows_Media_Audio_IAudioGraph<D>::CreateDeviceOutputNodeAsync() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::CreateDeviceOutputNodeAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->CreateDeviceOutputNodeAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioDeviceOutputNodeResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioFileInputNodeResult>) consume_Windows_Media_Audio_IAudioGraph<D>::CreateFileInputNodeAsync(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::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<winrt::Windows::Media::Audio::CreateAudioFileInputNodeResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioFileOutputNodeResult>) consume_Windows_Media_Audio_IAudioGraph<D>::CreateFileOutputNodeAsync(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::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<winrt::Windows::Media::Audio::CreateAudioFileOutputNodeResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioFileOutputNodeResult>) consume_Windows_Media_Audio_IAudioGraph<D>::CreateFileOutputNodeAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& fileEncodingProfile) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::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<winrt::Windows::Media::Audio::CreateAudioFileOutputNodeResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioSubmixNode) consume_Windows_Media_Audio_IAudioGraph<D>::CreateSubmixNode() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioSubmixNode) consume_Windows_Media_Audio_IAudioGraph<D>::CreateSubmixNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraph<D>::Start() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraph<D>::Stop() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraph<D>::ResetAllNodes() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::ResetAllNodes() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->ResetAllNodes());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IAudioGraph<D>::QuantumStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::QuantumStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Audio_IAudioGraph<D>::QuantumStarted_revoker consume_Windows_Media_Audio_IAudioGraph<D>::QuantumStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::QuantumStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, QuantumStarted_revoker>(this, QuantumStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraph<D>::QuantumStarted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::QuantumStarted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->remove_QuantumStarted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IAudioGraph<D>::QuantumProcessed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::QuantumProcessed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Audio_IAudioGraph<D>::QuantumProcessed_revoker consume_Windows_Media_Audio_IAudioGraph<D>::QuantumProcessed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::QuantumProcessed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, QuantumProcessed_revoker>(this, QuantumProcessed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraph<D>::QuantumProcessed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::QuantumProcessed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->remove_QuantumProcessed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IAudioGraph<D>::UnrecoverableErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Media::Audio::AudioGraphUnrecoverableErrorOccurredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::UnrecoverableErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Media::Audio::AudioGraphUnrecoverableErrorOccurredEventArgs> 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 D> typename consume_Windows_Media_Audio_IAudioGraph<D>::UnrecoverableErrorOccurred_revoker consume_Windows_Media_Audio_IAudioGraph<D>::UnrecoverableErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Media::Audio::AudioGraphUnrecoverableErrorOccurredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::UnrecoverableErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Media::Audio::AudioGraphUnrecoverableErrorOccurredEventArgs> const& handler) const
{
return impl::make_event_revoker<D, UnrecoverableErrorOccurred_revoker>(this, UnrecoverableErrorOccurred(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraph<D>::UnrecoverableErrorOccurred(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::UnrecoverableErrorOccurred(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->remove_UnrecoverableErrorOccurred(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Audio_IAudioGraph<D>::CompletedQuantumCount() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::CompletedQuantumCount() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->get_CompletedQuantumCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Audio_IAudioGraph<D>::EncodingProperties() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Audio_IAudioGraph<D>::LatencyInSamples() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::LatencyInSamples() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->get_LatencyInSamples(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Media_Audio_IAudioGraph<D>::PrimaryRenderDevice() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AudioProcessing) consume_Windows_Media_Audio_IAudioGraph<D>::RenderDeviceAudioProcessing() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::RenderDeviceAudioProcessing() const
{
winrt::Windows::Media::AudioProcessing value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->get_RenderDeviceAudioProcessing(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Audio_IAudioGraph<D>::SamplesPerQuantum() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph<D>::SamplesPerQuantum() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraph)->get_SamplesPerQuantum(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFrameInputNode) consume_Windows_Media_Audio_IAudioGraph2<D>::CreateFrameInputNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioDeviceInputNodeResult>) consume_Windows_Media_Audio_IAudioGraph2<D>::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 <typename D> auto consume_Windows_Media_Audio_IAudioGraph2<D>::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<int32_t>(category), *(void**)(&encodingProperties), *(void**)(&device), *(void**)(&emitter), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioDeviceInputNodeResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioFileInputNodeResult>) consume_Windows_Media_Audio_IAudioGraph2<D>::CreateFileInputNodeAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph2<D>::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<winrt::Windows::Media::Audio::CreateAudioFileInputNodeResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioSubmixNode) consume_Windows_Media_Audio_IAudioGraph2<D>::CreateSubmixNode(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioGraphBatchUpdater) consume_Windows_Media_Audio_IAudioGraph2<D>::CreateBatchUpdater() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateMediaSourceAudioInputNodeResult>) consume_Windows_Media_Audio_IAudioGraph3<D>::CreateMediaSourceAudioInputNodeAsync(winrt::Windows::Media::Core::MediaSource const& mediaSource) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph3<D>::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<winrt::Windows::Media::Audio::CreateMediaSourceAudioInputNodeResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateMediaSourceAudioInputNodeResult>) consume_Windows_Media_Audio_IAudioGraph3<D>::CreateMediaSourceAudioInputNodeAsync(winrt::Windows::Media::Core::MediaSource const& mediaSource, winrt::Windows::Media::Audio::AudioNodeEmitter const& emitter) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraph3<D>::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<winrt::Windows::Media::Audio::CreateMediaSourceAudioInputNodeResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::IAudioNode) consume_Windows_Media_Audio_IAudioGraphConnection<D>::Destination() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphConnection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraphConnection<D>::Gain(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphConnection<D>::Gain(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphConnection)->put_Gain(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioGraphConnection<D>::Gain() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphConnection<D>::Gain() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphConnection)->get_Gain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Audio_IAudioGraphSettings<D>::EncodingProperties() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphSettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraphSettings<D>::EncodingProperties(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphSettings<D>::EncodingProperties(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->put_EncodingProperties(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Media_Audio_IAudioGraphSettings<D>::PrimaryRenderDevice() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphSettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraphSettings<D>::PrimaryRenderDevice(winrt::Windows::Devices::Enumeration::DeviceInformation const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphSettings<D>::PrimaryRenderDevice(winrt::Windows::Devices::Enumeration::DeviceInformation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->put_PrimaryRenderDevice(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::QuantumSizeSelectionMode) consume_Windows_Media_Audio_IAudioGraphSettings<D>::QuantumSizeSelectionMode() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphSettings<D>::QuantumSizeSelectionMode() const
{
winrt::Windows::Media::Audio::QuantumSizeSelectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->get_QuantumSizeSelectionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraphSettings<D>::QuantumSizeSelectionMode(winrt::Windows::Media::Audio::QuantumSizeSelectionMode const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphSettings<D>::QuantumSizeSelectionMode(winrt::Windows::Media::Audio::QuantumSizeSelectionMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->put_QuantumSizeSelectionMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Audio_IAudioGraphSettings<D>::DesiredSamplesPerQuantum() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphSettings<D>::DesiredSamplesPerQuantum() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->get_DesiredSamplesPerQuantum(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraphSettings<D>::DesiredSamplesPerQuantum(int32_t value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphSettings<D>::DesiredSamplesPerQuantum(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->put_DesiredSamplesPerQuantum(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Render::AudioRenderCategory) consume_Windows_Media_Audio_IAudioGraphSettings<D>::AudioRenderCategory() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphSettings<D>::AudioRenderCategory() const
{
winrt::Windows::Media::Render::AudioRenderCategory value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->get_AudioRenderCategory(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraphSettings<D>::AudioRenderCategory(winrt::Windows::Media::Render::AudioRenderCategory const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphSettings<D>::AudioRenderCategory(winrt::Windows::Media::Render::AudioRenderCategory const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->put_AudioRenderCategory(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AudioProcessing) consume_Windows_Media_Audio_IAudioGraphSettings<D>::DesiredRenderDeviceAudioProcessing() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphSettings<D>::DesiredRenderDeviceAudioProcessing() const
{
winrt::Windows::Media::AudioProcessing value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->get_DesiredRenderDeviceAudioProcessing(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraphSettings<D>::DesiredRenderDeviceAudioProcessing(winrt::Windows::Media::AudioProcessing const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphSettings<D>::DesiredRenderDeviceAudioProcessing(winrt::Windows::Media::AudioProcessing const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings)->put_DesiredRenderDeviceAudioProcessing(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioGraphSettings2<D>::MaxPlaybackSpeedFactor(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphSettings2<D>::MaxPlaybackSpeedFactor(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings2)->put_MaxPlaybackSpeedFactor(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioGraphSettings2<D>::MaxPlaybackSpeedFactor() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphSettings2<D>::MaxPlaybackSpeedFactor() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettings2)->get_MaxPlaybackSpeedFactor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioGraphSettings) consume_Windows_Media_Audio_IAudioGraphSettingsFactory<D>::Create(winrt::Windows::Media::Render::AudioRenderCategory const& audioRenderCategory) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphSettingsFactory<D>::Create(winrt::Windows::Media::Render::AudioRenderCategory const& audioRenderCategory) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphSettingsFactory)->Create(static_cast<int32_t>(audioRenderCategory), &value));
return winrt::Windows::Media::Audio::AudioGraphSettings{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioGraphResult>) consume_Windows_Media_Audio_IAudioGraphStatics<D>::CreateAsync(winrt::Windows::Media::Audio::AudioGraphSettings const& settings) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphStatics<D>::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<winrt::Windows::Media::Audio::CreateAudioGraphResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioGraphUnrecoverableError) consume_Windows_Media_Audio_IAudioGraphUnrecoverableErrorOccurredEventArgs<D>::Error() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioGraphUnrecoverableErrorOccurredEventArgs<D>::Error() const
{
winrt::Windows::Media::Audio::AudioGraphUnrecoverableError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioGraphUnrecoverableErrorOccurredEventArgs)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Audio::AudioGraphConnection>) consume_Windows_Media_Audio_IAudioInputNode<D>::OutgoingConnections() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioInputNode<D>::OutgoingConnections() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioInputNode)->get_OutgoingConnections(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Audio::AudioGraphConnection>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioInputNode<D>::AddOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioInputNode<D>::AddOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioInputNode)->AddOutgoingConnection(*(void**)(&destination)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioInputNode<D>::AddOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination, double gain) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioInputNode<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioInputNode<D>::RemoveOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioInputNode<D>::RemoveOutgoingConnection(winrt::Windows::Media::Audio::IAudioNode const& destination) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioInputNode)->RemoveOutgoingConnection(*(void**)(&destination)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitter) consume_Windows_Media_Audio_IAudioInputNode2<D>::Emitter() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioInputNode2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Effects::IAudioEffectDefinition>) consume_Windows_Media_Audio_IAudioNode<D>::EffectDefinitions() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNode<D>::EffectDefinitions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->get_EffectDefinitions(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Effects::IAudioEffectDefinition>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNode<D>::OutgoingGain(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNode<D>::OutgoingGain(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->put_OutgoingGain(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNode<D>::OutgoingGain() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNode<D>::OutgoingGain() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->get_OutgoingGain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Audio_IAudioNode<D>::EncodingProperties() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNode<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Audio_IAudioNode<D>::ConsumeInput() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNode<D>::ConsumeInput() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->get_ConsumeInput(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNode<D>::ConsumeInput(bool value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNode<D>::ConsumeInput(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->put_ConsumeInput(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNode<D>::Start() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNode<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNode<D>::Stop() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNode<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNode<D>::Reset() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNode<D>::Reset() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->Reset());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNode<D>::DisableEffectsByDefinition(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNode<D>::DisableEffectsByDefinition(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->DisableEffectsByDefinition(*(void**)(&definition)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNode<D>::EnableEffectsByDefinition(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNode<D>::EnableEffectsByDefinition(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNode)->EnableEffectsByDefinition(*(void**)(&definition)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Media_Audio_IAudioNodeEmitter<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeEmitter<D>::Position(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Media_Audio_IAudioNodeEmitter<D>::Direction() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeEmitter<D>::Direction(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterShape) consume_Windows_Media_Audio_IAudioNodeEmitter<D>::Shape() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel) consume_Windows_Media_Audio_IAudioNodeEmitter<D>::DecayModel() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitter<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitter<D>::Gain() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitter<D>::Gain() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->get_Gain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeEmitter<D>::Gain(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitter<D>::Gain(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->put_Gain(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitter<D>::DistanceScale() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitter<D>::DistanceScale() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->get_DistanceScale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeEmitter<D>::DistanceScale(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitter<D>::DistanceScale(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->put_DistanceScale(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitter<D>::DopplerScale() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitter<D>::DopplerScale() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->get_DopplerScale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeEmitter<D>::DopplerScale(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitter<D>::DopplerScale(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->put_DopplerScale(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Media_Audio_IAudioNodeEmitter<D>::DopplerVelocity() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeEmitter<D>::DopplerVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitter<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Audio_IAudioNodeEmitter<D>::IsDopplerDisabled() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitter<D>::IsDopplerDisabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter)->get_IsDopplerDisabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::SpatialAudioModel) consume_Windows_Media_Audio_IAudioNodeEmitter2<D>::SpatialAudioModel() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitter2<D>::SpatialAudioModel() const
{
winrt::Windows::Media::Audio::SpatialAudioModel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter2)->get_SpatialAudioModel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeEmitter2<D>::SpatialAudioModel(winrt::Windows::Media::Audio::SpatialAudioModel const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitter2<D>::SpatialAudioModel(winrt::Windows::Media::Audio::SpatialAudioModel const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitter2)->put_SpatialAudioModel(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitterConeProperties<D>::InnerAngle() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitterConeProperties<D>::InnerAngle() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterConeProperties)->get_InnerAngle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitterConeProperties<D>::OuterAngle() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitterConeProperties<D>::OuterAngle() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterConeProperties)->get_OuterAngle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitterConeProperties<D>::OuterAngleGain() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitterConeProperties<D>::OuterAngleGain() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterConeProperties)->get_OuterAngleGain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterDecayKind) consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel<D>::Kind() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel<D>::Kind() const
{
winrt::Windows::Media::Audio::AudioNodeEmitterDecayKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterDecayModel)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel<D>::MinGain() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel<D>::MinGain() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterDecayModel)->get_MinGain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel<D>::MaxGain() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel<D>::MaxGain() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterDecayModel)->get_MaxGain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterNaturalDecayModelProperties) consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel<D>::NaturalProperties() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitterDecayModel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel) consume_Windows_Media_Audio_IAudioNodeEmitterDecayModelStatics<D>::CreateNatural(double minGain, double maxGain, double unityGainDistance, double cutoffDistance) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitterDecayModelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel) consume_Windows_Media_Audio_IAudioNodeEmitterDecayModelStatics<D>::CreateCustom(double minGain, double maxGain) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitterDecayModelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitter) consume_Windows_Media_Audio_IAudioNodeEmitterFactory<D>::CreateAudioNodeEmitter(winrt::Windows::Media::Audio::AudioNodeEmitterShape const& shape, winrt::Windows::Media::Audio::AudioNodeEmitterDecayModel const& decayModel, winrt::Windows::Media::Audio::AudioNodeEmitterSettings const& settings) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitterFactory<D>::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<uint32_t>(settings), &emitter));
return winrt::Windows::Media::Audio::AudioNodeEmitter{ emitter, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitterNaturalDecayModelProperties<D>::UnityGainDistance() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitterNaturalDecayModelProperties<D>::UnityGainDistance() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterNaturalDecayModelProperties)->get_UnityGainDistance(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeEmitterNaturalDecayModelProperties<D>::CutoffDistance() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitterNaturalDecayModelProperties<D>::CutoffDistance() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterNaturalDecayModelProperties)->get_CutoffDistance(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterShapeKind) consume_Windows_Media_Audio_IAudioNodeEmitterShape<D>::Kind() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitterShape<D>::Kind() const
{
winrt::Windows::Media::Audio::AudioNodeEmitterShapeKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeEmitterShape)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterConeProperties) consume_Windows_Media_Audio_IAudioNodeEmitterShape<D>::ConeProperties() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitterShape<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterShape) consume_Windows_Media_Audio_IAudioNodeEmitterShapeStatics<D>::CreateCone(double innerAngle, double outerAngle, double outerAngleGain) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitterShapeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitterShape) consume_Windows_Media_Audio_IAudioNodeEmitterShapeStatics<D>::CreateOmnidirectional() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeEmitterShapeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Media_Audio_IAudioNodeListener<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeListener<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeListener<D>::Position(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeListener<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_Media_Audio_IAudioNodeListener<D>::Orientation() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeListener<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeListener<D>::Orientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeListener<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IAudioNodeListener<D>::SpeedOfSound() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeListener<D>::SpeedOfSound() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeListener)->get_SpeedOfSound(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeListener<D>::SpeedOfSound(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeListener<D>::SpeedOfSound(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeListener)->put_SpeedOfSound(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Media_Audio_IAudioNodeListener<D>::DopplerVelocity() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeListener<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeListener<D>::DopplerVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeListener<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioNodeWithListener<D>::Listener(winrt::Windows::Media::Audio::AudioNodeListener const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeWithListener<D>::Listener(winrt::Windows::Media::Audio::AudioNodeListener const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioNodeWithListener)->put_Listener(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeListener) consume_Windows_Media_Audio_IAudioNodeWithListener<D>::Listener() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioNodeWithListener<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::Start() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnection)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::StartAsync() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioPlaybackConnectionState) consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::State() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::State() const
{
winrt::Windows::Media::Audio::AudioPlaybackConnectionState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnection)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioPlaybackConnectionOpenResult) consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::Open() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::AudioPlaybackConnectionOpenResult>) consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::OpenAsync() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::OpenAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnection)->OpenAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::AudioPlaybackConnectionOpenResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioPlaybackConnection, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioPlaybackConnection, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::StateChanged_revoker consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioPlaybackConnection, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioPlaybackConnection, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, StateChanged_revoker>(this, StateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::StateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Audio_IAudioPlaybackConnection<D>::StateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnection)->remove_StateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioPlaybackConnectionOpenResultStatus) consume_Windows_Media_Audio_IAudioPlaybackConnectionOpenResult<D>::Status() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioPlaybackConnectionOpenResult<D>::Status() const
{
winrt::Windows::Media::Audio::AudioPlaybackConnectionOpenResultStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnectionOpenResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Audio_IAudioPlaybackConnectionOpenResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioPlaybackConnectionOpenResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnectionOpenResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_IAudioPlaybackConnectionStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioPlaybackConnectionStatics<D>::GetDeviceSelector() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioPlaybackConnectionStatics)->GetDeviceSelector(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioPlaybackConnection) consume_Windows_Media_Audio_IAudioPlaybackConnectionStatics<D>::TryCreateFromId(param::hstring const& id) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioPlaybackConnectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IAudioStateMonitor<D>::SoundLevelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioStateMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioStateMonitor<D>::SoundLevelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioStateMonitor, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Audio_IAudioStateMonitor<D>::SoundLevelChanged_revoker consume_Windows_Media_Audio_IAudioStateMonitor<D>::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioStateMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioStateMonitor<D>::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioStateMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SoundLevelChanged_revoker>(this, SoundLevelChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IAudioStateMonitor<D>::SoundLevelChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Audio_IAudioStateMonitor<D>::SoundLevelChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioStateMonitor)->remove_SoundLevelChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SoundLevel) consume_Windows_Media_Audio_IAudioStateMonitor<D>::SoundLevel() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioStateMonitor<D>::SoundLevel() const
{
winrt::Windows::Media::SoundLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioStateMonitor)->get_SoundLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Audio_IAudioStateMonitorStatics<D>::CreateForRenderMonitoring() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioStateMonitorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Audio_IAudioStateMonitorStatics<D>::CreateForRenderMonitoring(winrt::Windows::Media::Render::AudioRenderCategory const& category) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioStateMonitorStatics<D>::CreateForRenderMonitoring(winrt::Windows::Media::Render::AudioRenderCategory const& category) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioStateMonitorStatics)->CreateForRenderMonitoringWithCategory(static_cast<int32_t>(category), &result));
return winrt::Windows::Media::Audio::AudioStateMonitor{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Audio_IAudioStateMonitorStatics<D>::CreateForRenderMonitoring(winrt::Windows::Media::Render::AudioRenderCategory const& category, winrt::Windows::Media::Devices::AudioDeviceRole const& role) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioStateMonitorStatics<D>::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<int32_t>(category), static_cast<int32_t>(role), &result));
return winrt::Windows::Media::Audio::AudioStateMonitor{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Audio_IAudioStateMonitorStatics<D>::CreateForRenderMonitoringWithCategoryAndDeviceId(winrt::Windows::Media::Render::AudioRenderCategory const& category, param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioStateMonitorStatics<D>::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<int32_t>(category), *(void**)(&deviceId), &result));
return winrt::Windows::Media::Audio::AudioStateMonitor{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Audio_IAudioStateMonitorStatics<D>::CreateForCaptureMonitoring() const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioStateMonitorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Audio_IAudioStateMonitorStatics<D>::CreateForCaptureMonitoring(winrt::Windows::Media::Capture::MediaCategory const& category) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioStateMonitorStatics<D>::CreateForCaptureMonitoring(winrt::Windows::Media::Capture::MediaCategory const& category) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IAudioStateMonitorStatics)->CreateForCaptureMonitoringWithCategory(static_cast<int32_t>(category), &result));
return winrt::Windows::Media::Audio::AudioStateMonitor{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Audio_IAudioStateMonitorStatics<D>::CreateForCaptureMonitoring(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::Devices::AudioDeviceRole const& role) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioStateMonitorStatics<D>::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<int32_t>(category), static_cast<int32_t>(role), &result));
return winrt::Windows::Media::Audio::AudioStateMonitor{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Audio_IAudioStateMonitorStatics<D>::CreateForCaptureMonitoringWithCategoryAndDeviceId(winrt::Windows::Media::Capture::MediaCategory const& category, param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Media_Audio_IAudioStateMonitorStatics<D>::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<int32_t>(category), *(void**)(&deviceId), &result));
return winrt::Windows::Media::Audio::AudioStateMonitor{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioDeviceNodeCreationStatus) consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult<D>::Status() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult<D>::Status() const
{
winrt::Windows::Media::Audio::AudioDeviceNodeCreationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioDeviceInputNodeResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioDeviceInputNode) consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult<D>::DeviceInputNode() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult2<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult2<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioDeviceInputNodeResult2)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioDeviceNodeCreationStatus) consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult<D>::Status() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult<D>::Status() const
{
winrt::Windows::Media::Audio::AudioDeviceNodeCreationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioDeviceOutputNodeResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioDeviceOutputNode) consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult<D>::DeviceOutputNode() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult2<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult2<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioDeviceOutputNodeResult2)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFileNodeCreationStatus) consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult<D>::Status() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult<D>::Status() const
{
winrt::Windows::Media::Audio::AudioFileNodeCreationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioFileInputNodeResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFileInputNode) consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult<D>::FileInputNode() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult2<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult2<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioFileInputNodeResult2)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFileNodeCreationStatus) consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult<D>::Status() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult<D>::Status() const
{
winrt::Windows::Media::Audio::AudioFileNodeCreationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioFileOutputNodeResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioFileOutputNode) consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult<D>::FileOutputNode() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult2<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult2<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioFileOutputNodeResult2)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioGraphCreationStatus) consume_Windows_Media_Audio_ICreateAudioGraphResult<D>::Status() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateAudioGraphResult<D>::Status() const
{
winrt::Windows::Media::Audio::AudioGraphCreationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioGraphResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioGraph) consume_Windows_Media_Audio_ICreateAudioGraphResult<D>::Graph() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateAudioGraphResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Audio_ICreateAudioGraphResult2<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateAudioGraphResult2<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateAudioGraphResult2)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::MediaSourceAudioInputNodeCreationStatus) consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult<D>::Status() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult<D>::Status() const
{
winrt::Windows::Media::Audio::MediaSourceAudioInputNodeCreationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateMediaSourceAudioInputNodeResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::MediaSourceAudioInputNode) consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult<D>::Node() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult2<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult2<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ICreateMediaSourceAudioInputNodeResult2)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IEchoEffectDefinition<D>::WetDryMix(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IEchoEffectDefinition<D>::WetDryMix(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEchoEffectDefinition)->put_WetDryMix(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IEchoEffectDefinition<D>::WetDryMix() const
+ template <typename D> auto consume_Windows_Media_Audio_IEchoEffectDefinition<D>::WetDryMix() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEchoEffectDefinition)->get_WetDryMix(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IEchoEffectDefinition<D>::Feedback(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IEchoEffectDefinition<D>::Feedback(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEchoEffectDefinition)->put_Feedback(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IEchoEffectDefinition<D>::Feedback() const
+ template <typename D> auto consume_Windows_Media_Audio_IEchoEffectDefinition<D>::Feedback() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEchoEffectDefinition)->get_Feedback(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IEchoEffectDefinition<D>::Delay(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IEchoEffectDefinition<D>::Delay(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEchoEffectDefinition)->put_Delay(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IEchoEffectDefinition<D>::Delay() const
+ template <typename D> auto consume_Windows_Media_Audio_IEchoEffectDefinition<D>::Delay() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEchoEffectDefinition)->get_Delay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::EchoEffectDefinition) consume_Windows_Media_Audio_IEchoEffectDefinitionFactory<D>::Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const
+ template <typename D> auto consume_Windows_Media_Audio_IEchoEffectDefinitionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IEqualizerBand<D>::Bandwidth() const
+ template <typename D> auto consume_Windows_Media_Audio_IEqualizerBand<D>::Bandwidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEqualizerBand)->get_Bandwidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IEqualizerBand<D>::Bandwidth(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IEqualizerBand<D>::Bandwidth(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEqualizerBand)->put_Bandwidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IEqualizerBand<D>::FrequencyCenter() const
+ template <typename D> auto consume_Windows_Media_Audio_IEqualizerBand<D>::FrequencyCenter() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEqualizerBand)->get_FrequencyCenter(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IEqualizerBand<D>::FrequencyCenter(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IEqualizerBand<D>::FrequencyCenter(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEqualizerBand)->put_FrequencyCenter(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IEqualizerBand<D>::Gain() const
+ template <typename D> auto consume_Windows_Media_Audio_IEqualizerBand<D>::Gain() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEqualizerBand)->get_Gain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IEqualizerBand<D>::Gain(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IEqualizerBand<D>::Gain(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEqualizerBand)->put_Gain(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Audio::EqualizerBand>) consume_Windows_Media_Audio_IEqualizerEffectDefinition<D>::Bands() const
+ template <typename D> auto consume_Windows_Media_Audio_IEqualizerEffectDefinition<D>::Bands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IEqualizerEffectDefinition)->get_Bands(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Audio::EqualizerBand>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::EqualizerEffectDefinition) consume_Windows_Media_Audio_IEqualizerEffectDefinitionFactory<D>::Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const
+ template <typename D> auto consume_Windows_Media_Audio_IEqualizerEffectDefinitionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Audio_IFrameInputNodeQuantumStartedEventArgs<D>::RequiredSamples() const
+ template <typename D> auto consume_Windows_Media_Audio_IFrameInputNodeQuantumStartedEventArgs<D>::RequiredSamples() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IFrameInputNodeQuantumStartedEventArgs)->get_RequiredSamples(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_ILimiterEffectDefinition<D>::Release(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Audio_ILimiterEffectDefinition<D>::Release(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ILimiterEffectDefinition)->put_Release(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Audio_ILimiterEffectDefinition<D>::Release() const
+ template <typename D> auto consume_Windows_Media_Audio_ILimiterEffectDefinition<D>::Release() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ILimiterEffectDefinition)->get_Release(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_ILimiterEffectDefinition<D>::Loudness(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Audio_ILimiterEffectDefinition<D>::Loudness(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ILimiterEffectDefinition)->put_Loudness(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Audio_ILimiterEffectDefinition<D>::Loudness() const
+ template <typename D> auto consume_Windows_Media_Audio_ILimiterEffectDefinition<D>::Loudness() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ILimiterEffectDefinition)->get_Loudness(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::LimiterEffectDefinition) consume_Windows_Media_Audio_ILimiterEffectDefinitionFactory<D>::Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const
+ template <typename D> auto consume_Windows_Media_Audio_ILimiterEffectDefinitionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::PlaybackSpeedFactor(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::PlaybackSpeedFactor(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->put_PlaybackSpeedFactor(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::PlaybackSpeedFactor() const
+ template <typename D> auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::PlaybackSpeedFactor() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->get_PlaybackSpeedFactor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::Seek(winrt::Windows::Foundation::TimeSpan const& position) const
+ template <typename D> auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::Seek(winrt::Windows::Foundation::TimeSpan const& position) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->Seek(impl::bind_in(position)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::StartTime() const
+ template <typename D> auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::StartTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->get_StartTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::StartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::StartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->put_StartTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::EndTime() const
+ template <typename D> auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::EndTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->get_EndTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::EndTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::EndTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->put_EndTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::LoopCount() const
+ template <typename D> auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::LoopCount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->get_LoopCount(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::LoopCount(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::LoopCount(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->put_LoopCount(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::Duration() const
+ template <typename D> auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::MediaSource() const
+ template <typename D> auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::MediaSourceCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::MediaSourceAudioInputNode, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::MediaSourceCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::MediaSourceAudioInputNode, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::MediaSourceCompleted_revoker consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::MediaSourceCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::MediaSourceAudioInputNode, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::MediaSourceCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::MediaSourceAudioInputNode, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, MediaSourceCompleted_revoker>(this, MediaSourceCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::MediaSourceCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Audio_IMediaSourceAudioInputNode<D>::MediaSourceCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IMediaSourceAudioInputNode)->remove_MediaSourceCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::WetDryMix(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::WetDryMix(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_WetDryMix(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::WetDryMix() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::WetDryMix() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_WetDryMix(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::ReflectionsDelay(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::ReflectionsDelay(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_ReflectionsDelay(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::ReflectionsDelay() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::ReflectionsDelay() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_ReflectionsDelay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::ReverbDelay(uint8_t value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::ReverbDelay(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_ReverbDelay(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::ReverbDelay() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::ReverbDelay() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_ReverbDelay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RearDelay(uint8_t value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RearDelay(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_RearDelay(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RearDelay() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RearDelay() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_RearDelay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::PositionLeft(uint8_t value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::PositionLeft(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_PositionLeft(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::PositionLeft() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::PositionLeft() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_PositionLeft(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::PositionRight(uint8_t value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::PositionRight(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_PositionRight(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::PositionRight() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::PositionRight() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_PositionRight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::PositionMatrixLeft(uint8_t value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::PositionMatrixLeft(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_PositionMatrixLeft(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::PositionMatrixLeft() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::PositionMatrixLeft() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_PositionMatrixLeft(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::PositionMatrixRight(uint8_t value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::PositionMatrixRight(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_PositionMatrixRight(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::PositionMatrixRight() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::PositionMatrixRight() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_PositionMatrixRight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::EarlyDiffusion(uint8_t value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::EarlyDiffusion(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_EarlyDiffusion(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::EarlyDiffusion() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::EarlyDiffusion() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_EarlyDiffusion(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::LateDiffusion(uint8_t value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::LateDiffusion(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_LateDiffusion(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::LateDiffusion() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::LateDiffusion() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_LateDiffusion(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::LowEQGain(uint8_t value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::LowEQGain(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_LowEQGain(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::LowEQGain() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::LowEQGain() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_LowEQGain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::LowEQCutoff(uint8_t value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::LowEQCutoff(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_LowEQCutoff(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::LowEQCutoff() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::LowEQCutoff() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_LowEQCutoff(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::HighEQGain(uint8_t value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::HighEQGain(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_HighEQGain(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::HighEQGain() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::HighEQGain() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_HighEQGain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::HighEQCutoff(uint8_t value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::HighEQCutoff(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_HighEQCutoff(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::HighEQCutoff() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::HighEQCutoff() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_HighEQCutoff(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RoomFilterFreq(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RoomFilterFreq(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_RoomFilterFreq(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RoomFilterFreq() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RoomFilterFreq() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_RoomFilterFreq(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RoomFilterMain(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RoomFilterMain(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_RoomFilterMain(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RoomFilterMain() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RoomFilterMain() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_RoomFilterMain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RoomFilterHF(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RoomFilterHF(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_RoomFilterHF(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RoomFilterHF() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RoomFilterHF() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_RoomFilterHF(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::ReflectionsGain(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::ReflectionsGain(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_ReflectionsGain(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::ReflectionsGain() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::ReflectionsGain() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_ReflectionsGain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::ReverbGain(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::ReverbGain(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_ReverbGain(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::ReverbGain() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::ReverbGain() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_ReverbGain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::DecayTime(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::DecayTime(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_DecayTime(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::DecayTime() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::DecayTime() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_DecayTime(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::Density(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::Density(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_Density(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::Density() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::Density() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_Density(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RoomSize(double value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RoomSize(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_RoomSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RoomSize() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::RoomSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_RoomSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::DisableLateField(bool value) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::DisableLateField(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->put_DisableLateField(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Audio_IReverbEffectDefinition<D>::DisableLateField() const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinition<D>::DisableLateField() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::IReverbEffectDefinition)->get_DisableLateField(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::ReverbEffectDefinition) consume_Windows_Media_Audio_IReverbEffectDefinitionFactory<D>::Create(winrt::Windows::Media::Audio::AudioGraph const& audioGraph) const
+ template <typename D> auto consume_Windows_Media_Audio_IReverbEffectDefinitionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::SetDefaultSpatialAudioFormatStatus) consume_Windows_Media_Audio_ISetDefaultSpatialAudioFormatResult<D>::Status() const
+ template <typename D> auto consume_Windows_Media_Audio_ISetDefaultSpatialAudioFormatResult<D>::Status() const
{
winrt::Windows::Media::Audio::SetDefaultSpatialAudioFormatStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISetDefaultSpatialAudioFormatResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::IsSpatialAudioSupported() const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::IsSpatialAudioSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioDeviceConfiguration)->get_IsSpatialAudioSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::IsSpatialAudioFormatSupported(param::hstring const& subtype) const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::ActiveSpatialAudioFormat() const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::DefaultSpatialAudioFormat() const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::SetDefaultSpatialAudioFormatResult>) consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::SetDefaultSpatialAudioFormatAsync(param::hstring const& subtype) const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::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<winrt::Windows::Media::Audio::SetDefaultSpatialAudioFormatResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::ConfigurationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::SpatialAudioDeviceConfiguration, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::ConfigurationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::SpatialAudioDeviceConfiguration, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::ConfigurationChanged_revoker consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::ConfigurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::SpatialAudioDeviceConfiguration, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::ConfigurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::SpatialAudioDeviceConfiguration, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ConfigurationChanged_revoker>(this, ConfigurationChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::ConfigurationChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfiguration<D>::ConfigurationChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioDeviceConfiguration)->remove_ConfigurationChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::SpatialAudioDeviceConfiguration) consume_Windows_Media_Audio_ISpatialAudioDeviceConfigurationStatics<D>::GetForDeviceId(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioDeviceConfigurationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration<D>::ReportLicenseChangedAsync(param::hstring const& subtype) const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration<D>::ReportConfigurationChangedAsync(param::hstring const& subtype) const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::MixedRealitySpatialAudioFormatPolicy) consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration<D>::MixedRealityExclusiveModePolicy() const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration<D>::MixedRealityExclusiveModePolicy() const
{
winrt::Windows::Media::Audio::MixedRealitySpatialAudioFormatPolicy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatConfiguration)->get_MixedRealityExclusiveModePolicy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration<D>::MixedRealityExclusiveModePolicy(winrt::Windows::Media::Audio::MixedRealitySpatialAudioFormatPolicy const& value) const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioFormatConfiguration<D>::MixedRealityExclusiveModePolicy(winrt::Windows::Media::Audio::MixedRealitySpatialAudioFormatPolicy const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatConfiguration)->put_MixedRealityExclusiveModePolicy(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::SpatialAudioFormatConfiguration) consume_Windows_Media_Audio_ISpatialAudioFormatConfigurationStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioFormatConfigurationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics<D>::WindowsSonic() const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics<D>::DolbyAtmosForHeadphones() const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics<D>::DolbyAtmosForHomeTheater() const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics<D>::DolbyAtmosForSpeakers() const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics<D>::DTSHeadphoneX() const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics<D>::DTSXUltra() const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics2<D>::DTSXForHomeTheater() const
+ template <typename D> auto consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics2<D>::DTSXForHomeTheater() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics2)->get_DTSXForHomeTheater(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.Core.h
index 6ddeffae0ec..99d91bbe6f0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs<D>::Frame() const
+ template <typename D> auto consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs<D>::CaptureTimeOffset() const
+ template <typename D> auto consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs<D>::UsedFrameControllerIndex() const
+ template <typename D> auto consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs<D>::UsedFrameControllerIndex() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Core::IVariablePhotoCapturedEventArgs)->get_UsedFrameControllerIndex(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrameControlValues) consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs<D>::CapturedFrameControlValues() const
+ template <typename D> auto consume_Windows_Media_Capture_Core_IVariablePhotoCapturedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::StartAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::StopAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::FinishAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::PhotoCaptured(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture, winrt::Windows::Media::Capture::Core::VariablePhotoCapturedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::PhotoCaptured(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture, winrt::Windows::Media::Capture::Core::VariablePhotoCapturedEventArgs> 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 D> typename consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::PhotoCaptured_revoker consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::PhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture, winrt::Windows::Media::Capture::Core::VariablePhotoCapturedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::PhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture, winrt::Windows::Media::Capture::Core::VariablePhotoCapturedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PhotoCaptured_revoker>(this, PhotoCaptured(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::PhotoCaptured(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::PhotoCaptured(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture)->remove_PhotoCaptured(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::Stopped_revoker consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Stopped_revoker>(this, Stopped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::Stopped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture<D>::Stopped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture)->remove_Stopped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture2<D>::UpdateSettingsAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture2<D>::UpdateSettingsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture2)->UpdateSettingsAsync(&operation));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.Frames.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.Frames.h
index e8903972df9..544e1f68605 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.Frames.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) consume_Windows_Media_Capture_Frames_IAudioMediaFrame<D>::FrameReference() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IAudioMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Capture_Frames_IAudioMediaFrame<D>::AudioEncodingProperties() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IAudioMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) consume_Windows_Media_Capture_Frames_IAudioMediaFrame<D>::GetAudioFrame() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IAudioMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) consume_Windows_Media_Capture_Frames_IBufferMediaFrame<D>::FrameReference() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IBufferMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Capture_Frames_IBufferMediaFrame<D>::Buffer() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IBufferMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) consume_Windows_Media_Capture_Frames_IDepthMediaFrame<D>::FrameReference() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IDepthMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrame) consume_Windows_Media_Capture_Frames_IDepthMediaFrame<D>::VideoMediaFrame() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IDepthMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::DepthMediaFrameFormat) consume_Windows_Media_Capture_Frames_IDepthMediaFrame<D>::DepthFormat() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IDepthMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::DepthCorrelatedCoordinateMapper) consume_Windows_Media_Capture_Frames_IDepthMediaFrame<D>::TryCreateCoordinateMapper(winrt::Windows::Media::Devices::Core::CameraIntrinsics const& cameraIntrinsics, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IDepthMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_Frames_IDepthMediaFrame2<D>::MaxReliableDepth() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IDepthMediaFrame2<D>::MaxReliableDepth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IDepthMediaFrame2)->get_MaxReliableDepth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_Frames_IDepthMediaFrame2<D>::MinReliableDepth() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IDepthMediaFrame2<D>::MinReliableDepth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IDepthMediaFrame2)->get_MinReliableDepth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrameFormat) consume_Windows_Media_Capture_Frames_IDepthMediaFrameFormat<D>::VideoFormat() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IDepthMediaFrameFormat<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Capture_Frames_IDepthMediaFrameFormat<D>::DepthScaleInMeters() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IDepthMediaFrameFormat<D>::DepthScaleInMeters() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IDepthMediaFrameFormat)->get_DepthScaleInMeters(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) consume_Windows_Media_Capture_Frames_IInfraredMediaFrame<D>::FrameReference() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IInfraredMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrame) consume_Windows_Media_Capture_Frames_IInfraredMediaFrame<D>::VideoMediaFrame() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IInfraredMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_Frames_IInfraredMediaFrame<D>::IsIlluminated() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IInfraredMediaFrame<D>::IsIlluminated() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IInfraredMediaFrame)->get_IsIlluminated(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_Frames_IMediaFrameFormat<D>::MajorType() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameFormat<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_Frames_IMediaFrameFormat<D>::Subtype() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameFormat<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_Capture_Frames_IMediaFrameFormat<D>::FrameRate() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameFormat<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>) consume_Windows_Media_Capture_Frames_IMediaFrameFormat<D>::Properties() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameFormat<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameFormat)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrameFormat) consume_Windows_Media_Capture_Frames_IMediaFrameFormat<D>::VideoFormat() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameFormat<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Capture_Frames_IMediaFrameFormat2<D>::AudioEncodingProperties() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameFormat2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_Frames_IMediaFrameReader<D>::FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MediaFrameReader, winrt::Windows::Media::Capture::Frames::MediaFrameArrivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameReader<D>::FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MediaFrameReader, winrt::Windows::Media::Capture::Frames::MediaFrameArrivedEventArgs> 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 D> typename consume_Windows_Media_Capture_Frames_IMediaFrameReader<D>::FrameArrived_revoker consume_Windows_Media_Capture_Frames_IMediaFrameReader<D>::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MediaFrameReader, winrt::Windows::Media::Capture::Frames::MediaFrameArrivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameReader<D>::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MediaFrameReader, winrt::Windows::Media::Capture::Frames::MediaFrameArrivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FrameArrived_revoker>(this, FrameArrived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_Frames_IMediaFrameReader<D>::FrameArrived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameReader<D>::FrameArrived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReader)->remove_FrameArrived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) consume_Windows_Media_Capture_Frames_IMediaFrameReader<D>::TryAcquireLatestFrame() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameReaderStartStatus>) consume_Windows_Media_Capture_Frames_IMediaFrameReader<D>::StartAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameReader<D>::StartAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReader)->StartAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameReaderStartStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_Frames_IMediaFrameReader<D>::StopAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameReader<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_Frames_IMediaFrameReader2<D>::AcquisitionMode(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameReader2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode) consume_Windows_Media_Capture_Frames_IMediaFrameReader2<D>::AcquisitionMode() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameReader2<D>::AcquisitionMode() const
{
winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReader2)->get_AcquisitionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceKind) consume_Windows_Media_Capture_Frames_IMediaFrameReference<D>::SourceKind() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameReference<D>::SourceKind() const
{
winrt::Windows::Media::Capture::Frames::MediaFrameSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReference)->get_SourceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameFormat) consume_Windows_Media_Capture_Frames_IMediaFrameReference<D>::Format() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameReference<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Capture_Frames_IMediaFrameReference<D>::SystemRelativeTime() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameReference<D>::SystemRelativeTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReference)->get_SystemRelativeTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_Frames_IMediaFrameReference<D>::Duration() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameReference<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>) consume_Windows_Media_Capture_Frames_IMediaFrameReference<D>::Properties() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameReference<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameReference)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::BufferMediaFrame) consume_Windows_Media_Capture_Frames_IMediaFrameReference<D>::BufferMediaFrame() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameReference<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrame) consume_Windows_Media_Capture_Frames_IMediaFrameReference<D>::VideoMediaFrame() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameReference<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Media_Capture_Frames_IMediaFrameReference<D>::CoordinateSystem() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameReference<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::AudioMediaFrame) consume_Windows_Media_Capture_Frames_IMediaFrameReference2<D>::AudioMediaFrame() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameReference2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceInfo) consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::Info() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceController) consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::Controller() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::Frames::MediaFrameFormat>) consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::SupportedFormats() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::SupportedFormats() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSource)->get_SupportedFormats(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::Frames::MediaFrameFormat>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameFormat) consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::CurrentFormat() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::SetFormatAsync(winrt::Windows::Media::Capture::Frames::MediaFrameFormat const& format) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::FormatChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MediaFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::FormatChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MediaFrameSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::FormatChanged_revoker consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::FormatChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MediaFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::FormatChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MediaFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, FormatChanged_revoker>(this, FormatChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::FormatChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::FormatChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSource)->remove_FormatChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::TryGetCameraIntrinsics(winrt::Windows::Media::Capture::Frames::MediaFrameFormat const& format) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameSourceGetPropertyResult>) consume_Windows_Media_Capture_Frames_IMediaFrameSourceController<D>::GetPropertyAsync(param::hstring const& propertyId) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceController<D>::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<winrt::Windows::Media::Capture::Frames::MediaFrameSourceGetPropertyResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameSourceSetPropertyStatus>) consume_Windows_Media_Capture_Frames_IMediaFrameSourceController<D>::SetPropertyAsync(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceController<D>::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<winrt::Windows::Media::Capture::Frames::MediaFrameSourceSetPropertyStatus>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceController) consume_Windows_Media_Capture_Frames_IMediaFrameSourceController<D>::VideoDeviceController() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameSourceGetPropertyResult>) consume_Windows_Media_Capture_Frames_IMediaFrameSourceController2<D>::GetPropertyByExtendedIdAsync(array_view<uint8_t const> extendedPropertyId, winrt::Windows::Foundation::IReference<uint32_t> const& maxPropertyValueSize) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceController2<D>::GetPropertyByExtendedIdAsync(array_view<uint8_t const> extendedPropertyId, winrt::Windows::Foundation::IReference<uint32_t> 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<winrt::Windows::Media::Capture::Frames::MediaFrameSourceGetPropertyResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameSourceSetPropertyStatus>) consume_Windows_Media_Capture_Frames_IMediaFrameSourceController2<D>::SetPropertyByExtendedIdAsync(array_view<uint8_t const> extendedPropertyId, array_view<uint8_t const> propertyValue) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceController2<D>::SetPropertyByExtendedIdAsync(array_view<uint8_t const> extendedPropertyId, array_view<uint8_t const> 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<winrt::Windows::Media::Capture::Frames::MediaFrameSourceSetPropertyStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AudioDeviceController) consume_Windows_Media_Capture_Frames_IMediaFrameSourceController3<D>::AudioDeviceController() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceController3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceGetPropertyStatus) consume_Windows_Media_Capture_Frames_IMediaFrameSourceGetPropertyResult<D>::Status() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceGetPropertyResult<D>::Status() const
{
winrt::Windows::Media::Capture::Frames::MediaFrameSourceGetPropertyStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGetPropertyResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Media_Capture_Frames_IMediaFrameSourceGetPropertyResult<D>::Value() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceGetPropertyResult<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroup<D>::Id() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroup<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroup<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::Frames::MediaFrameSourceInfo>) consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroup<D>::SourceInfos() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroup<D>::SourceInfos() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGroup)->get_SourceInfos(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::Frames::MediaFrameSourceInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup>>) consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroupStatics<D>::FindAllAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroupStatics<D>::FindAllAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGroupStatics)->FindAllAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup>) consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroupStatics<D>::FromIdAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroupStatics<D>::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<winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroupStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroupStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo<D>::Id() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaStreamType) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo<D>::MediaStreamType() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo<D>::MediaStreamType() const
{
winrt::Windows::Media::Capture::MediaStreamType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo)->get_MediaStreamType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceKind) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo<D>::SourceKind() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo<D>::SourceKind() const
{
winrt::Windows::Media::Capture::Frames::MediaFrameSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo)->get_SourceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo<D>::SourceGroup() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo<D>::DeviceInformation() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo<D>::Properties() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo<D>::CoordinateSystem() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo2<D>::ProfileId() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription>) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo2<D>::VideoProfileMediaDescription() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo2<D>::VideoProfileMediaDescription() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo2)->get_VideoProfileMediaDescription(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Panel) consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo3<D>::GetRelativePanel(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo3<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader<D>::FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReader, winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameArrivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader<D>::FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReader, winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameArrivedEventArgs> 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 D> typename consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader<D>::FrameArrived_revoker consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader<D>::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReader, winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameArrivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader<D>::FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReader, winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameArrivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FrameArrived_revoker>(this, FrameArrived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader<D>::FrameArrived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader<D>::FrameArrived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReader)->remove_FrameArrived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReference) consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader<D>::TryAcquireLatestFrame() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReaderStartStatus>) consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader<D>::StartAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader<D>::StartAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReader)->StartAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReaderStartStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader<D>::StopAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader2<D>::AcquisitionMode(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode) consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader2<D>::AcquisitionMode() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader2<D>::AcquisitionMode() const
{
winrt::Windows::Media::Capture::Frames::MediaFrameReaderAcquisitionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReader2)->get_AcquisitionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReference<D>::TryGetFrameReferenceBySourceId(param::hstring const& sourceId) const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReference<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameReference) consume_Windows_Media_Capture_Frames_IVideoMediaFrame<D>::FrameReference() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IVideoMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::VideoMediaFrameFormat) consume_Windows_Media_Capture_Frames_IVideoMediaFrame<D>::VideoFormat() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IVideoMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Media_Capture_Frames_IVideoMediaFrame<D>::SoftwareBitmap() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IVideoMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) consume_Windows_Media_Capture_Frames_IVideoMediaFrame<D>::Direct3DSurface() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IVideoMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) consume_Windows_Media_Capture_Frames_IVideoMediaFrame<D>::CameraIntrinsics() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IVideoMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::InfraredMediaFrame) consume_Windows_Media_Capture_Frames_IVideoMediaFrame<D>::InfraredMediaFrame() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IVideoMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::DepthMediaFrame) consume_Windows_Media_Capture_Frames_IVideoMediaFrame<D>::DepthMediaFrame() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IVideoMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_Capture_Frames_IVideoMediaFrame<D>::GetVideoFrame() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IVideoMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameFormat) consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat<D>::MediaFrameFormat() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::DepthMediaFrameFormat) consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat<D>::DepthFormat() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat<D>::Width() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat<D>::Width() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IVideoMediaFrameFormat)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat<D>::Height() const
+ template <typename D> auto consume_Windows_Media_Capture_Frames_IVideoMediaFrameFormat<D>::Height() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::Frames::IVideoMediaFrameFormat)->get_Height(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.h
index 6ec53392636..7cb10d5aaa0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Capture.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) consume_Windows_Media_Capture_IAdvancedCapturedPhoto<D>::Frame() const
+ template <typename D> auto consume_Windows_Media_Capture_IAdvancedCapturedPhoto<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AdvancedPhotoMode) consume_Windows_Media_Capture_IAdvancedCapturedPhoto<D>::Mode() const
+ template <typename D> auto consume_Windows_Media_Capture_IAdvancedCapturedPhoto<D>::Mode() const
{
winrt::Windows::Media::Devices::AdvancedPhotoMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAdvancedCapturedPhoto)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Media_Capture_IAdvancedCapturedPhoto<D>::Context() const
+ template <typename D> auto consume_Windows_Media_Capture_IAdvancedCapturedPhoto<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect>) consume_Windows_Media_Capture_IAdvancedCapturedPhoto2<D>::FrameBoundsRelativeToReferencePhoto() const
+ template <typename D> auto consume_Windows_Media_Capture_IAdvancedCapturedPhoto2<D>::FrameBoundsRelativeToReferencePhoto() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAdvancedCapturedPhoto2)->get_FrameBoundsRelativeToReferencePhoto(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::AdvancedCapturedPhoto>) consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::CaptureAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::CaptureAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAdvancedPhotoCapture)->CaptureAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::AdvancedCapturedPhoto>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::AdvancedCapturedPhoto>) consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::CaptureAsync(winrt::Windows::Foundation::IInspectable const& context) const
+ template <typename D> auto consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::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<winrt::Windows::Media::Capture::AdvancedCapturedPhoto>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::OptionalReferencePhotoCaptured(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AdvancedPhotoCapture, winrt::Windows::Media::Capture::OptionalReferencePhotoCapturedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::OptionalReferencePhotoCaptured(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AdvancedPhotoCapture, winrt::Windows::Media::Capture::OptionalReferencePhotoCapturedEventArgs> 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 D> typename consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::OptionalReferencePhotoCaptured_revoker consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::OptionalReferencePhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AdvancedPhotoCapture, winrt::Windows::Media::Capture::OptionalReferencePhotoCapturedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::OptionalReferencePhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AdvancedPhotoCapture, winrt::Windows::Media::Capture::OptionalReferencePhotoCapturedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, OptionalReferencePhotoCaptured_revoker>(this, OptionalReferencePhotoCaptured(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::OptionalReferencePhotoCaptured(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::OptionalReferencePhotoCaptured(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAdvancedPhotoCapture)->remove_OptionalReferencePhotoCaptured(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::AllPhotosCaptured(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AdvancedPhotoCapture, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::AllPhotosCaptured(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AdvancedPhotoCapture, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::AllPhotosCaptured_revoker consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::AllPhotosCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AdvancedPhotoCapture, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::AllPhotosCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AdvancedPhotoCapture, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, AllPhotosCaptured_revoker>(this, AllPhotosCaptured(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::AllPhotosCaptured(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::AllPhotosCaptured(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAdvancedPhotoCapture)->remove_AllPhotosCaptured(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::FinishAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_IAdvancedPhotoCapture<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::PlugInState(winrt::Windows::Media::Capture::AppBroadcastPlugInState const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::PlugInState(winrt::Windows::Media::Capture::AppBroadcastPlugInState const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->put_PlugInState(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugInState) consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::PlugInState() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::PlugInState() const
{
winrt::Windows::Media::Capture::AppBroadcastPlugInState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->get_PlugInState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::SignInInfo(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::SignInInfo(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->put_SignInInfo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo) consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::SignInInfo() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::StreamInfo(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::StreamInfo(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->put_StreamInfo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo) consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::StreamInfo() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::AppId() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::BroadcastTitle() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::ViewerCount(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::ViewerCount(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->put_ViewerCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::ViewerCount() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::ViewerCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->get_ViewerCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::TerminateBroadcast(winrt::Windows::Media::Capture::AppBroadcastTerminationReason const& reason, uint32_t providerSpecificReason) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::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<int32_t>(reason), providerSpecificReason));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::HeartbeatRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Media::Capture::AppBroadcastHeartbeatRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::HeartbeatRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Media::Capture::AppBroadcastHeartbeatRequestedEventArgs> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::HeartbeatRequested_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::HeartbeatRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Media::Capture::AppBroadcastHeartbeatRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::HeartbeatRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Media::Capture::AppBroadcastHeartbeatRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, HeartbeatRequested_revoker>(this, HeartbeatRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::HeartbeatRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::HeartbeatRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService)->remove_HeartbeatRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::TitleId() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastTitle(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastTitle(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2)->put_BroadcastTitle(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastLanguage() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastLanguage(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastLanguage(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2)->put_BroadcastLanguage(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastChannel() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastChannel(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastChannel(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2)->put_BroadcastChannel(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastTitleChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastTitleChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastTitleChanged_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastTitleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastTitleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, BroadcastTitleChanged_revoker>(this, BroadcastTitleChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastTitleChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastTitleChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2)->remove_BroadcastTitleChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastLanguageChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastLanguageChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastLanguageChanged_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastLanguageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastLanguageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, BroadcastLanguageChanged_revoker>(this, BroadcastLanguageChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastLanguageChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastLanguageChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2)->remove_BroadcastLanguageChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastChannelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastChannelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastChannelChanged_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastChannelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastChannelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, BroadcastChannelChanged_revoker>(this, BroadcastChannelChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastChannelChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundService2<D>::BroadcastChannelChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2)->remove_BroadcastChannelChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastSignInState) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::SignInState() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::SignInState() const
{
winrt::Windows::Media::Capture::AppBroadcastSignInState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo)->get_SignInState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::OAuthRequestUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::OAuthRequestUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo)->put_OAuthRequestUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::OAuthRequestUri() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::OAuthCallbackUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::OAuthCallbackUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo)->put_OAuthCallbackUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::OAuthCallbackUri() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::WebAuthenticationResult) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::AuthenticationResult() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::UserName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::UserName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo)->put_UserName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::UserName() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::SignInStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo, winrt::Windows::Media::Capture::AppBroadcastSignInStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::SignInStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo, winrt::Windows::Media::Capture::AppBroadcastSignInStateChangedEventArgs> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::SignInStateChanged_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::SignInStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo, winrt::Windows::Media::Capture::AppBroadcastSignInStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::SignInStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo, winrt::Windows::Media::Capture::AppBroadcastSignInStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SignInStateChanged_revoker>(this, SignInStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::SignInStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo<D>::SignInStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo)->remove_SignInStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2<D>::UserNameChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2<D>::UserNameChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2<D>::UserNameChanged_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2<D>::UserNameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2<D>::UserNameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, UserNameChanged_revoker>(this, UserNameChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2<D>::UserNameChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2<D>::UserNameChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo2)->remove_UserNameChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamState) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::StreamState() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::StreamState() const
{
winrt::Windows::Media::Capture::AppBroadcastStreamState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->get_StreamState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::DesiredVideoEncodingBitrate(uint64_t value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::DesiredVideoEncodingBitrate(uint64_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->put_DesiredVideoEncodingBitrate(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::DesiredVideoEncodingBitrate() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::DesiredVideoEncodingBitrate() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->get_DesiredVideoEncodingBitrate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::BandwidthTestBitrate(uint64_t value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::BandwidthTestBitrate(uint64_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->put_BandwidthTestBitrate(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::BandwidthTestBitrate() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::BandwidthTestBitrate() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->get_BandwidthTestBitrate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::AudioCodec(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::AudioCodec(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->put_AudioCodec(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::AudioCodec() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamReader) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::BroadcastStreamReader() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::StreamStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Media::Capture::AppBroadcastStreamStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::StreamStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Media::Capture::AppBroadcastStreamStateChangedEventArgs> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::StreamStateChanged_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Media::Capture::AppBroadcastStreamStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Media::Capture::AppBroadcastStreamStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StreamStateChanged_revoker>(this, StreamStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::StreamStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::StreamStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->remove_StreamStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::VideoEncodingResolutionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::VideoEncodingResolutionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::VideoEncodingResolutionChanged_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::VideoEncodingResolutionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::VideoEncodingResolutionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, VideoEncodingResolutionChanged_revoker>(this, VideoEncodingResolutionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::VideoEncodingResolutionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::VideoEncodingResolutionChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->remove_VideoEncodingResolutionChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::VideoEncodingBitrateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::VideoEncodingBitrateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::VideoEncodingBitrateChanged_revoker consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::VideoEncodingBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::VideoEncodingBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, VideoEncodingBitrateChanged_revoker>(this, VideoEncodingBitrateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::VideoEncodingBitrateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo<D>::VideoEncodingBitrateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo)->remove_VideoEncodingBitrateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo2<D>::ReportProblemWithStream() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo2<D>::ReportProblemWithStream() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo2)->ReportProblemWithStream());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastCameraCaptureState) consume_Windows_Media_Capture_IAppBroadcastCameraCaptureStateChangedEventArgs<D>::State() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastCameraCaptureStateChangedEventArgs<D>::State() const
{
winrt::Windows::Media::Capture::AppBroadcastCameraCaptureState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastCameraCaptureStateChangedEventArgs)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastCameraCaptureStateChangedEventArgs<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastCameraCaptureStateChangedEventArgs<D>::ErrorCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastCameraCaptureStateChangedEventArgs)->get_ErrorCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsBroadcastEnabled() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsBroadcastEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_IsBroadcastEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsDisabledByPolicy() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsDisabledByPolicy() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_IsDisabledByPolicy(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsGpuConstrained() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsGpuConstrained() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_IsGpuConstrained(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::HasHardwareEncoder() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::HasHardwareEncoder() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_HasHardwareEncoder(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsAudioCaptureEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsAudioCaptureEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_IsAudioCaptureEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsAudioCaptureEnabled() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsAudioCaptureEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_IsAudioCaptureEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsMicrophoneCaptureEnabledByDefault(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsMicrophoneCaptureEnabledByDefault(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_IsMicrophoneCaptureEnabledByDefault(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsMicrophoneCaptureEnabledByDefault() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsMicrophoneCaptureEnabledByDefault() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_IsMicrophoneCaptureEnabledByDefault(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsEchoCancellationEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsEchoCancellationEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_IsEchoCancellationEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsEchoCancellationEnabled() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsEchoCancellationEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_IsEchoCancellationEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::SystemAudioGain(double value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::SystemAudioGain(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_SystemAudioGain(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::SystemAudioGain() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::SystemAudioGain() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_SystemAudioGain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::MicrophoneGain(double value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::MicrophoneGain(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_MicrophoneGain(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::MicrophoneGain() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::MicrophoneGain() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_MicrophoneGain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsCameraCaptureEnabledByDefault(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsCameraCaptureEnabledByDefault(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_IsCameraCaptureEnabledByDefault(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsCameraCaptureEnabledByDefault() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsCameraCaptureEnabledByDefault() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_IsCameraCaptureEnabledByDefault(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::SelectedCameraId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::SelectedCameraId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_SelectedCameraId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::SelectedCameraId() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::CameraOverlayLocation(winrt::Windows::Media::Capture::AppBroadcastCameraOverlayLocation const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::CameraOverlayLocation(winrt::Windows::Media::Capture::AppBroadcastCameraOverlayLocation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_CameraOverlayLocation(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastCameraOverlayLocation) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::CameraOverlayLocation() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::CameraOverlayLocation() const
{
winrt::Windows::Media::Capture::AppBroadcastCameraOverlayLocation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_CameraOverlayLocation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::CameraOverlaySize(winrt::Windows::Media::Capture::AppBroadcastCameraOverlaySize const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::CameraOverlaySize(winrt::Windows::Media::Capture::AppBroadcastCameraOverlaySize const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_CameraOverlaySize(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastCameraOverlaySize) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::CameraOverlaySize() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::CameraOverlaySize() const
{
winrt::Windows::Media::Capture::AppBroadcastCameraOverlaySize value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_CameraOverlaySize(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsCursorImageCaptureEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsCursorImageCaptureEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->put_IsCursorImageCaptureEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsCursorImageCaptureEnabled() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastGlobalSettings<D>::IsCursorImageCaptureEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings)->get_IsCursorImageCaptureEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastHeartbeatRequestedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastHeartbeatRequestedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastHeartbeatRequestedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastHeartbeatRequestedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastHeartbeatRequestedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastHeartbeatRequestedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastGlobalSettings) consume_Windows_Media_Capture_IAppBroadcastManagerStatics<D>::GetGlobalSettings() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastManagerStatics<D>::ApplyGlobalSettings(winrt::Windows::Media::Capture::AppBroadcastGlobalSettings const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastManagerStatics<D>::ApplyGlobalSettings(winrt::Windows::Media::Capture::AppBroadcastGlobalSettings const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastManagerStatics)->ApplyGlobalSettings(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastProviderSettings) consume_Windows_Media_Capture_IAppBroadcastManagerStatics<D>::GetProviderSettings() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastManagerStatics<D>::ApplyProviderSettings(winrt::Windows::Media::Capture::AppBroadcastProviderSettings const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastManagerStatics<D>::ApplyProviderSettings(winrt::Windows::Media::Capture::AppBroadcastProviderSettings const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastManagerStatics)->ApplyProviderSettings(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureState) consume_Windows_Media_Capture_IAppBroadcastMicrophoneCaptureStateChangedEventArgs<D>::State() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastMicrophoneCaptureStateChangedEventArgs<D>::State() const
{
winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastMicrophoneCaptureStateChangedEventArgs)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastMicrophoneCaptureStateChangedEventArgs<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastMicrophoneCaptureStateChangedEventArgs<D>::ErrorCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastMicrophoneCaptureStateChangedEventArgs)->get_ErrorCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastPlugIn<D>::AppId() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPlugIn<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastProviderSettings) consume_Windows_Media_Capture_IAppBroadcastPlugIn<D>::ProviderSettings() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPlugIn<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Media_Capture_IAppBroadcastPlugIn<D>::Logo() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPlugIn<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastPlugIn<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPlugIn<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastPlugInManager<D>::IsBroadcastProviderAvailable() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPlugInManager<D>::IsBroadcastProviderAvailable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPlugInManager)->get_IsBroadcastProviderAvailable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::AppBroadcastPlugIn>) consume_Windows_Media_Capture_IAppBroadcastPlugInManager<D>::PlugInList() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPlugInManager<D>::PlugInList() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPlugInManager)->get_PlugInList(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::AppBroadcastPlugIn>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugIn) consume_Windows_Media_Capture_IAppBroadcastPlugInManager<D>::DefaultPlugIn() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPlugInManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastPlugInManager<D>::DefaultPlugIn(winrt::Windows::Media::Capture::AppBroadcastPlugIn const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPlugInManager<D>::DefaultPlugIn(winrt::Windows::Media::Capture::AppBroadcastPlugIn const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPlugInManager)->put_DefaultPlugIn(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugInManager) consume_Windows_Media_Capture_IAppBroadcastPlugInManagerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPlugInManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugInManager) consume_Windows_Media_Capture_IAppBroadcastPlugInManagerStatics<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPlugInManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugInState) consume_Windows_Media_Capture_IAppBroadcastPlugInStateChangedEventArgs<D>::PlugInState() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPlugInStateChangedEventArgs<D>::PlugInState() const
{
winrt::Windows::Media::Capture::AppBroadcastPlugInState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPlugInStateChangedEventArgs)->get_PlugInState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastPreview<D>::StopPreview() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreview<D>::StopPreview() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreview)->StopPreview());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreviewState) consume_Windows_Media_Capture_IAppBroadcastPreview<D>::PreviewState() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreview<D>::PreviewState() const
{
winrt::Windows::Media::Capture::AppBroadcastPreviewState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreview)->get_PreviewState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Capture_IAppBroadcastPreview<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreview<D>::ErrorCode() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreview)->get_ErrorCode(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastPreview<D>::PreviewStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastPreview, winrt::Windows::Media::Capture::AppBroadcastPreviewStateChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreview<D>::PreviewStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastPreview, winrt::Windows::Media::Capture::AppBroadcastPreviewStateChangedEventArgs> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastPreview<D>::PreviewStateChanged_revoker consume_Windows_Media_Capture_IAppBroadcastPreview<D>::PreviewStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastPreview, winrt::Windows::Media::Capture::AppBroadcastPreviewStateChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreview<D>::PreviewStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastPreview, winrt::Windows::Media::Capture::AppBroadcastPreviewStateChangedEventArgs> const& value) const
{
return impl::make_event_revoker<D, PreviewStateChanged_revoker>(this, PreviewStateChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastPreview<D>::PreviewStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreview<D>::PreviewStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreview)->remove_PreviewStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreviewStreamReader) consume_Windows_Media_Capture_IAppBroadcastPreview<D>::PreviewStreamReader() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreview<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreviewState) consume_Windows_Media_Capture_IAppBroadcastPreviewStateChangedEventArgs<D>::PreviewState() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreviewStateChangedEventArgs<D>::PreviewState() const
{
winrt::Windows::Media::Capture::AppBroadcastPreviewState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStateChangedEventArgs)->get_PreviewState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastPreviewStateChangedEventArgs<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreviewStateChangedEventArgs<D>::ErrorCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStateChangedEventArgs)->get_ErrorCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::VideoWidth() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::VideoWidth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader)->get_VideoWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::VideoHeight() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::VideoHeight() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader)->get_VideoHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::VideoStride() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::VideoStride() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader)->get_VideoStride(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPixelFormat) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::VideoBitmapPixelFormat() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::VideoBitmapPixelFormat() const
{
winrt::Windows::Graphics::Imaging::BitmapPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader)->get_VideoBitmapPixelFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapAlphaMode) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::VideoBitmapAlphaMode() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::VideoBitmapAlphaMode() const
{
winrt::Windows::Graphics::Imaging::BitmapAlphaMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader)->get_VideoBitmapAlphaMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreviewStreamVideoFrame) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::TryGetNextVideoFrame() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::VideoFrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastPreviewStreamReader, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::VideoFrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastPreviewStreamReader, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::VideoFrameArrived_revoker consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::VideoFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastPreviewStreamReader, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::VideoFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastPreviewStreamReader, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, VideoFrameArrived_revoker>(this, VideoFrameArrived(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::VideoFrameArrived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamReader<D>::VideoFrameArrived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader)->remove_VideoFrameArrived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreviewStreamVideoHeader) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoFrame<D>::VideoHeader() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoFrame<D>::VideoBuffer() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader<D>::AbsoluteTimestamp() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader<D>::RelativeTimestamp() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader<D>::Duration() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader<D>::FrameId() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastPreviewStreamVideoHeader<D>::FrameId() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoHeader)->get_FrameId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::DefaultBroadcastTitle(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::DefaultBroadcastTitle(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->put_DefaultBroadcastTitle(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::DefaultBroadcastTitle() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::AudioEncodingBitrate(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::AudioEncodingBitrate(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->put_AudioEncodingBitrate(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::AudioEncodingBitrate() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::AudioEncodingBitrate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->get_AudioEncodingBitrate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::CustomVideoEncodingBitrate(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::CustomVideoEncodingBitrate(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->put_CustomVideoEncodingBitrate(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::CustomVideoEncodingBitrate() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::CustomVideoEncodingBitrate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->get_CustomVideoEncodingBitrate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::CustomVideoEncodingHeight(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::CustomVideoEncodingHeight(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->put_CustomVideoEncodingHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::CustomVideoEncodingHeight() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::CustomVideoEncodingHeight() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->get_CustomVideoEncodingHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::CustomVideoEncodingWidth(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::CustomVideoEncodingWidth(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->put_CustomVideoEncodingWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::CustomVideoEncodingWidth() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::CustomVideoEncodingWidth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->get_CustomVideoEncodingWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::VideoEncodingBitrateMode(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingBitrateMode const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::VideoEncodingBitrateMode(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingBitrateMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->put_VideoEncodingBitrateMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingBitrateMode) consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::VideoEncodingBitrateMode() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::VideoEncodingBitrateMode() const
{
winrt::Windows::Media::Capture::AppBroadcastVideoEncodingBitrateMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->get_VideoEncodingBitrateMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::VideoEncodingResolutionMode(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingResolutionMode const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::VideoEncodingResolutionMode(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingResolutionMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->put_VideoEncodingResolutionMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastVideoEncodingResolutionMode) consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::VideoEncodingResolutionMode() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastProviderSettings<D>::VideoEncodingResolutionMode() const
{
winrt::Windows::Media::Capture::AppBroadcastVideoEncodingResolutionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastProviderSettings)->get_VideoEncodingResolutionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastCaptureTargetType) consume_Windows_Media_Capture_IAppBroadcastServices<D>::CaptureTargetType() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastServices<D>::CaptureTargetType() const
{
winrt::Windows::Media::Capture::AppBroadcastCaptureTargetType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->get_CaptureTargetType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastServices<D>::CaptureTargetType(winrt::Windows::Media::Capture::AppBroadcastCaptureTargetType const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastServices<D>::CaptureTargetType(winrt::Windows::Media::Capture::AppBroadcastCaptureTargetType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->put_CaptureTargetType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastServices<D>::BroadcastTitle() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastServices<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastServices<D>::BroadcastTitle(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastServices<D>::BroadcastTitle(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->put_BroadcastTitle(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastServices<D>::BroadcastLanguage() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastServices<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastServices<D>::BroadcastLanguage(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastServices<D>::BroadcastLanguage(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->put_BroadcastLanguage(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IAppBroadcastServices<D>::UserName() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastServices<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastServices<D>::CanCapture() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastServices<D>::CanCapture() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->get_CanCapture(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) consume_Windows_Media_Capture_IAppBroadcastServices<D>::EnterBroadcastModeAsync(winrt::Windows::Media::Capture::AppBroadcastPlugIn const& plugIn) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastServices<D>::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<uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastServices<D>::ExitBroadcastMode(winrt::Windows::Media::Capture::AppBroadcastExitBroadcastModeReason const& reason) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastServices<D>::ExitBroadcastMode(winrt::Windows::Media::Capture::AppBroadcastExitBroadcastModeReason const& reason) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->ExitBroadcastMode(static_cast<int32_t>(reason)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastServices<D>::StartBroadcast() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastServices<D>::StartBroadcast() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->StartBroadcast());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastServices<D>::PauseBroadcast() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastServices<D>::PauseBroadcast() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->PauseBroadcast());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastServices<D>::ResumeBroadcast() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastServices<D>::ResumeBroadcast() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastServices)->ResumeBroadcast());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPreview) consume_Windows_Media_Capture_IAppBroadcastServices<D>::StartPreview(winrt::Windows::Foundation::Size const& desiredSize) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastServices<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastState) consume_Windows_Media_Capture_IAppBroadcastServices<D>::State() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastServices<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastSignInState) consume_Windows_Media_Capture_IAppBroadcastSignInStateChangedEventArgs<D>::SignInState() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastSignInStateChangedEventArgs<D>::SignInState() const
{
winrt::Windows::Media::Capture::AppBroadcastSignInState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastSignInStateChangedEventArgs)->get_SignInState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastSignInResult) consume_Windows_Media_Capture_IAppBroadcastSignInStateChangedEventArgs<D>::Result() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastSignInStateChangedEventArgs<D>::Result() const
{
winrt::Windows::Media::Capture::AppBroadcastSignInResult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastSignInStateChangedEventArgs)->get_Result(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastState<D>::IsCaptureTargetRunning() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::IsCaptureTargetRunning() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_IsCaptureTargetRunning(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastState<D>::ViewerCount() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::ViewerCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_ViewerCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastState<D>::ShouldCaptureMicrophone() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::ShouldCaptureMicrophone() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_ShouldCaptureMicrophone(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState<D>::ShouldCaptureMicrophone(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::ShouldCaptureMicrophone(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->put_ShouldCaptureMicrophone(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState<D>::RestartMicrophoneCapture() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::RestartMicrophoneCapture() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->RestartMicrophoneCapture());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastState<D>::ShouldCaptureCamera() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::ShouldCaptureCamera() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_ShouldCaptureCamera(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState<D>::ShouldCaptureCamera(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::ShouldCaptureCamera(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->put_ShouldCaptureCamera(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState<D>::RestartCameraCapture() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::RestartCameraCapture() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->RestartCameraCapture());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Media_Capture_IAppBroadcastState<D>::EncodedVideoSize() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureState) consume_Windows_Media_Capture_IAppBroadcastState<D>::MicrophoneCaptureState() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::MicrophoneCaptureState() const
{
winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_MicrophoneCaptureState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastState<D>::MicrophoneCaptureError() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::MicrophoneCaptureError() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_MicrophoneCaptureError(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastCameraCaptureState) consume_Windows_Media_Capture_IAppBroadcastState<D>::CameraCaptureState() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::CameraCaptureState() const
{
winrt::Windows::Media::Capture::AppBroadcastCameraCaptureState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_CameraCaptureState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastState<D>::CameraCaptureError() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::CameraCaptureError() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_CameraCaptureError(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamState) consume_Windows_Media_Capture_IAppBroadcastState<D>::StreamState() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::StreamState() const
{
winrt::Windows::Media::Capture::AppBroadcastStreamState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_StreamState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugInState) consume_Windows_Media_Capture_IAppBroadcastState<D>::PlugInState() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::PlugInState() const
{
winrt::Windows::Media::Capture::AppBroadcastPlugInState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_PlugInState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Capture_IAppBroadcastState<D>::OAuthRequestUri() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Capture_IAppBroadcastState<D>::OAuthCallbackUri() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::WebAuthenticationResult) consume_Windows_Media_Capture_IAppBroadcastState<D>::AuthenticationResult() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState<D>::AuthenticationResult(winrt::Windows::Security::Authentication::Web::WebAuthenticationResult const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState<D>::SignInState(winrt::Windows::Media::Capture::AppBroadcastSignInState const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::SignInState(winrt::Windows::Media::Capture::AppBroadcastSignInState const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->put_SignInState(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastSignInState) consume_Windows_Media_Capture_IAppBroadcastState<D>::SignInState() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::SignInState() const
{
winrt::Windows::Media::Capture::AppBroadcastSignInState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_SignInState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastTerminationReason) consume_Windows_Media_Capture_IAppBroadcastState<D>::TerminationReason() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::TerminationReason() const
{
winrt::Windows::Media::Capture::AppBroadcastTerminationReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_TerminationReason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastState<D>::TerminationReasonPlugInSpecific() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::TerminationReasonPlugInSpecific() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->get_TerminationReasonPlugInSpecific(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastState<D>::ViewerCountChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastViewerCountChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::ViewerCountChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastViewerCountChangedEventArgs> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastState<D>::ViewerCountChanged_revoker consume_Windows_Media_Capture_IAppBroadcastState<D>::ViewerCountChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastViewerCountChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::ViewerCountChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastViewerCountChangedEventArgs> const& value) const
{
return impl::make_event_revoker<D, ViewerCountChanged_revoker>(this, ViewerCountChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState<D>::ViewerCountChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::ViewerCountChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->remove_ViewerCountChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastState<D>::MicrophoneCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureStateChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::MicrophoneCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureStateChangedEventArgs> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastState<D>::MicrophoneCaptureStateChanged_revoker consume_Windows_Media_Capture_IAppBroadcastState<D>::MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureStateChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureStateChangedEventArgs> const& value) const
{
return impl::make_event_revoker<D, MicrophoneCaptureStateChanged_revoker>(this, MicrophoneCaptureStateChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState<D>::MicrophoneCaptureStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::MicrophoneCaptureStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->remove_MicrophoneCaptureStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastState<D>::CameraCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastCameraCaptureStateChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::CameraCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastCameraCaptureStateChangedEventArgs> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastState<D>::CameraCaptureStateChanged_revoker consume_Windows_Media_Capture_IAppBroadcastState<D>::CameraCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastCameraCaptureStateChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::CameraCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastCameraCaptureStateChangedEventArgs> const& value) const
{
return impl::make_event_revoker<D, CameraCaptureStateChanged_revoker>(this, CameraCaptureStateChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState<D>::CameraCaptureStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::CameraCaptureStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->remove_CameraCaptureStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastState<D>::PlugInStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastPlugInStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::PlugInStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastPlugInStateChangedEventArgs> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastState<D>::PlugInStateChanged_revoker consume_Windows_Media_Capture_IAppBroadcastState<D>::PlugInStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastPlugInStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::PlugInStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastPlugInStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PlugInStateChanged_revoker>(this, PlugInStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState<D>::PlugInStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::PlugInStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->remove_PlugInStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastState<D>::StreamStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastStreamStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::StreamStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastStreamStateChangedEventArgs> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastState<D>::StreamStateChanged_revoker consume_Windows_Media_Capture_IAppBroadcastState<D>::StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastStreamStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastStreamStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StreamStateChanged_revoker>(this, StreamStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState<D>::StreamStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::StreamStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->remove_StreamStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastState<D>::CaptureTargetClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::CaptureTargetClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastState<D>::CaptureTargetClosed_revoker consume_Windows_Media_Capture_IAppBroadcastState<D>::CaptureTargetClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::CaptureTargetClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, CaptureTargetClosed_revoker>(this, CaptureTargetClosed(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastState<D>::CaptureTargetClosed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastState<D>::CaptureTargetClosed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastState)->remove_CaptureTargetClosed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamAudioHeader) consume_Windows_Media_Capture_IAppBroadcastStreamAudioFrame<D>::AudioHeader() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamAudioFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Capture_IAppBroadcastStreamAudioFrame<D>::AudioBuffer() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamAudioFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader<D>::AbsoluteTimestamp() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader<D>::RelativeTimestamp() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader<D>::Duration() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader<D>::HasDiscontinuity() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader<D>::HasDiscontinuity() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamAudioHeader)->get_HasDiscontinuity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader<D>::FrameId() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamAudioHeader<D>::FrameId() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamAudioHeader)->get_FrameId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::AudioChannels() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::AudioChannels() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->get_AudioChannels(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::AudioSampleRate() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::AudioSampleRate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->get_AudioSampleRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::AudioAacSequence() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::AudioBitrate() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::AudioBitrate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->get_AudioBitrate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamAudioFrame) consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::TryGetNextAudioFrame() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::VideoWidth() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::VideoWidth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->get_VideoWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::VideoHeight() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::VideoHeight() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->get_VideoHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::VideoBitrate() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::VideoBitrate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->get_VideoBitrate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamVideoFrame) consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::TryGetNextVideoFrame() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::AudioFrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastStreamReader, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::AudioFrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastStreamReader, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::AudioFrameArrived_revoker consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::AudioFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastStreamReader, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::AudioFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastStreamReader, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, AudioFrameArrived_revoker>(this, AudioFrameArrived(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::AudioFrameArrived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::AudioFrameArrived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->remove_AudioFrameArrived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::VideoFrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastStreamReader, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::VideoFrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastStreamReader, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::VideoFrameArrived_revoker consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::VideoFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastStreamReader, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::VideoFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastStreamReader, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, VideoFrameArrived_revoker>(this, VideoFrameArrived(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::VideoFrameArrived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamReader<D>::VideoFrameArrived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamReader)->remove_VideoFrameArrived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamState) consume_Windows_Media_Capture_IAppBroadcastStreamStateChangedEventArgs<D>::StreamState() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamStateChangedEventArgs<D>::StreamState() const
{
winrt::Windows::Media::Capture::AppBroadcastStreamState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamStateChangedEventArgs)->get_StreamState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamVideoHeader) consume_Windows_Media_Capture_IAppBroadcastStreamVideoFrame<D>::VideoHeader() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamVideoFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Capture_IAppBroadcastStreamVideoFrame<D>::VideoBuffer() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamVideoFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader<D>::AbsoluteTimestamp() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader<D>::RelativeTimestamp() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader<D>::Duration() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader<D>::IsKeyFrame() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader<D>::IsKeyFrame() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamVideoHeader)->get_IsKeyFrame(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader<D>::HasDiscontinuity() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader<D>::HasDiscontinuity() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamVideoHeader)->get_HasDiscontinuity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader<D>::FrameId() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastStreamVideoHeader<D>::FrameId() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastStreamVideoHeader)->get_FrameId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastBackgroundService) consume_Windows_Media_Capture_IAppBroadcastTriggerDetails<D>::BackgroundService() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppBroadcastViewerCountChangedEventArgs<D>::ViewerCount() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppBroadcastViewerCountChangedEventArgs<D>::ViewerCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppBroadcastViewerCountChangedEventArgs)->get_ViewerCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCapture<D>::IsCapturingAudio() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCapture<D>::IsCapturingAudio() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCapture)->get_IsCapturingAudio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCapture<D>::IsCapturingVideo() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCapture<D>::IsCapturingVideo() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCapture)->get_IsCapturingVideo(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppCapture<D>::CapturingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCapture, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCapture<D>::CapturingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCapture, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_IAppCapture<D>::CapturingChanged_revoker consume_Windows_Media_Capture_IAppCapture<D>::CapturingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCapture, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCapture<D>::CapturingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCapture, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, CapturingChanged_revoker>(this, CapturingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCapture<D>::CapturingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppCapture<D>::CapturingChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCapture)->remove_CapturingChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleGameBarKey(winrt::Windows::System::VirtualKey const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleGameBarKey(winrt::Windows::System::VirtualKey const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_ToggleGameBarKey(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleGameBarKey() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleGameBarKey() const
{
winrt::Windows::System::VirtualKey value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_ToggleGameBarKey(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleGameBarKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleGameBarKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_ToggleGameBarKeyModifiers(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleGameBarKeyModifiers() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleGameBarKeyModifiers() const
{
winrt::Windows::System::VirtualKeyModifiers value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_ToggleGameBarKeyModifiers(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::SaveHistoricalVideoKey(winrt::Windows::System::VirtualKey const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::SaveHistoricalVideoKey(winrt::Windows::System::VirtualKey const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_SaveHistoricalVideoKey(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::SaveHistoricalVideoKey() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::SaveHistoricalVideoKey() const
{
winrt::Windows::System::VirtualKey value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_SaveHistoricalVideoKey(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::SaveHistoricalVideoKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::SaveHistoricalVideoKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_SaveHistoricalVideoKeyModifiers(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::SaveHistoricalVideoKeyModifiers() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::SaveHistoricalVideoKeyModifiers() const
{
winrt::Windows::System::VirtualKeyModifiers value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_SaveHistoricalVideoKeyModifiers(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleRecordingKey(winrt::Windows::System::VirtualKey const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleRecordingKey(winrt::Windows::System::VirtualKey const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_ToggleRecordingKey(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleRecordingKey() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleRecordingKey() const
{
winrt::Windows::System::VirtualKey value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_ToggleRecordingKey(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleRecordingKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleRecordingKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_ToggleRecordingKeyModifiers(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleRecordingKeyModifiers() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleRecordingKeyModifiers() const
{
winrt::Windows::System::VirtualKeyModifiers value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_ToggleRecordingKeyModifiers(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::TakeScreenshotKey(winrt::Windows::System::VirtualKey const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::TakeScreenshotKey(winrt::Windows::System::VirtualKey const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_TakeScreenshotKey(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::TakeScreenshotKey() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::TakeScreenshotKey() const
{
winrt::Windows::System::VirtualKey value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_TakeScreenshotKey(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::TakeScreenshotKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::TakeScreenshotKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_TakeScreenshotKeyModifiers(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::TakeScreenshotKeyModifiers() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::TakeScreenshotKeyModifiers() const
{
winrt::Windows::System::VirtualKeyModifiers value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_TakeScreenshotKeyModifiers(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleRecordingIndicatorKey(winrt::Windows::System::VirtualKey const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleRecordingIndicatorKey(winrt::Windows::System::VirtualKey const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_ToggleRecordingIndicatorKey(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleRecordingIndicatorKey() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleRecordingIndicatorKey() const
{
winrt::Windows::System::VirtualKey value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_ToggleRecordingIndicatorKey(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleRecordingIndicatorKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleRecordingIndicatorKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->put_ToggleRecordingIndicatorKeyModifiers(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleRecordingIndicatorKeyModifiers() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys<D>::ToggleRecordingIndicatorKeyModifiers() const
{
winrt::Windows::System::VirtualKeyModifiers value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys)->get_ToggleRecordingIndicatorKeyModifiers(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2<D>::ToggleMicrophoneCaptureKey(winrt::Windows::System::VirtualKey const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2<D>::ToggleMicrophoneCaptureKey(winrt::Windows::System::VirtualKey const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys2)->put_ToggleMicrophoneCaptureKey(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2<D>::ToggleMicrophoneCaptureKey() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2<D>::ToggleMicrophoneCaptureKey() const
{
winrt::Windows::System::VirtualKey value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys2)->get_ToggleMicrophoneCaptureKey(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2<D>::ToggleMicrophoneCaptureKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2<D>::ToggleMicrophoneCaptureKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys2)->put_ToggleMicrophoneCaptureKeyModifiers(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2<D>::ToggleMicrophoneCaptureKeyModifiers() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys2<D>::ToggleMicrophoneCaptureKeyModifiers() const
{
winrt::Windows::System::VirtualKeyModifiers value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys2)->get_ToggleMicrophoneCaptureKeyModifiers(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3<D>::ToggleCameraCaptureKey(winrt::Windows::System::VirtualKey const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3<D>::ToggleCameraCaptureKey(winrt::Windows::System::VirtualKey const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3)->put_ToggleCameraCaptureKey(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3<D>::ToggleCameraCaptureKey() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3<D>::ToggleCameraCaptureKey() const
{
winrt::Windows::System::VirtualKey value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3)->get_ToggleCameraCaptureKey(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3<D>::ToggleCameraCaptureKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3<D>::ToggleCameraCaptureKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3)->put_ToggleCameraCaptureKeyModifiers(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3<D>::ToggleCameraCaptureKeyModifiers() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3<D>::ToggleCameraCaptureKeyModifiers() const
{
winrt::Windows::System::VirtualKeyModifiers value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3)->get_ToggleCameraCaptureKeyModifiers(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3<D>::ToggleBroadcastKey(winrt::Windows::System::VirtualKey const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3<D>::ToggleBroadcastKey(winrt::Windows::System::VirtualKey const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3)->put_ToggleBroadcastKey(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3<D>::ToggleBroadcastKey() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3<D>::ToggleBroadcastKey() const
{
winrt::Windows::System::VirtualKey value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3)->get_ToggleBroadcastKey(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3<D>::ToggleBroadcastKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3<D>::ToggleBroadcastKeyModifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3)->put_ToggleBroadcastKeyModifiers(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3<D>::ToggleBroadcastKeyModifiers() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureAlternateShortcutKeys3<D>::ToggleBroadcastKeyModifiers() const
{
winrt::Windows::System::VirtualKeyModifiers value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3)->get_ToggleBroadcastKeyModifiers(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IAppCaptureDurationGeneratedEventArgs<D>::Duration() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureDurationGeneratedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Media_Capture_IAppCaptureFileGeneratedEventArgs<D>::File() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureFileGeneratedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureSettings) consume_Windows_Media_Capture_IAppCaptureManagerStatics<D>::GetCurrentSettings() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureManagerStatics<D>::ApplySettings(winrt::Windows::Media::Capture::AppCaptureSettings const& appCaptureSettings) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureManagerStatics<D>::ApplySettings(winrt::Windows::Media::Capture::AppCaptureSettings const& appCaptureSettings) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureManagerStatics)->ApplySettings(*(void**)(&appCaptureSettings)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::AddStringEvent(param::hstring const& name, param::hstring const& value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::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<int32_t>(priority)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::AddInt32Event(param::hstring const& name, int32_t value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::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<int32_t>(priority)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::AddDoubleEvent(param::hstring const& name, double value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::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<int32_t>(priority)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::StartStringState(param::hstring const& name, param::hstring const& value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::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<int32_t>(priority)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::StartInt32State(param::hstring const& name, int32_t value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::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<int32_t>(priority)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::StartDoubleState(param::hstring const& name, double value, winrt::Windows::Media::Capture::AppCaptureMetadataPriority const& priority) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::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<int32_t>(priority)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::StopState(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::StopState(param::hstring const& name) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMetadataWriter)->StopState(*(void**)(&name)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::StopAllStates() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::StopAllStates() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMetadataWriter)->StopAllStates());
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::RemainingStorageBytesAvailable() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::RemainingStorageBytesAvailable() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMetadataWriter)->get_RemainingStorageBytesAvailable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::MetadataPurged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureMetadataWriter, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::MetadataPurged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureMetadataWriter, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::MetadataPurged_revoker consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::MetadataPurged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureMetadataWriter, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::MetadataPurged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureMetadataWriter, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, MetadataPurged_revoker>(this, MetadataPurged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::MetadataPurged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureMetadataWriter<D>::MetadataPurged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMetadataWriter)->remove_MetadataPurged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureState) consume_Windows_Media_Capture_IAppCaptureMicrophoneCaptureStateChangedEventArgs<D>::State() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureMicrophoneCaptureStateChangedEventArgs<D>::State() const
{
winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMicrophoneCaptureStateChangedEventArgs)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppCaptureMicrophoneCaptureStateChangedEventArgs<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureMicrophoneCaptureStateChangedEventArgs<D>::ErrorCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureMicrophoneCaptureStateChangedEventArgs)->get_ErrorCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::StopRecording() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::StopRecording() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->StopRecording());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureRecordingState) consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::State() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::State() const
{
winrt::Windows::Media::Capture::AppCaptureRecordingState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::ErrorCode() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->get_ErrorCode(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::Duration() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::Duration() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->get_Duration(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::File() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::IsFileTruncated() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::IsFileTruncated() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->get_IsFileTruncated(&value));
return winrt::Windows::Foundation::IReference<bool>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureRecordingStateChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureRecordingStateChangedEventArgs> 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 D> typename consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::StateChanged_revoker consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureRecordingStateChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureRecordingStateChangedEventArgs> const& value) const
{
return impl::make_event_revoker<D, StateChanged_revoker>(this, StateChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::StateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::StateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->remove_StateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::DurationGenerated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureDurationGeneratedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::DurationGenerated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureDurationGeneratedEventArgs> 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 D> typename consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::DurationGenerated_revoker consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::DurationGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureDurationGeneratedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::DurationGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureDurationGeneratedEventArgs> const& value) const
{
return impl::make_event_revoker<D, DurationGenerated_revoker>(this, DurationGenerated(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::DurationGenerated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::DurationGenerated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->remove_DurationGenerated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::FileGenerated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureFileGeneratedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::FileGenerated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureFileGeneratedEventArgs> 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 D> typename consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::FileGenerated_revoker consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::FileGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureFileGeneratedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::FileGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureFileGeneratedEventArgs> const& value) const
{
return impl::make_event_revoker<D, FileGenerated_revoker>(this, FileGenerated(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::FileGenerated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureRecordOperation<D>::FileGenerated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordOperation)->remove_FileGenerated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureRecordingState) consume_Windows_Media_Capture_IAppCaptureRecordingStateChangedEventArgs<D>::State() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureRecordingStateChangedEventArgs<D>::State() const
{
winrt::Windows::Media::Capture::AppCaptureRecordingState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordingStateChangedEventArgs)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppCaptureRecordingStateChangedEventArgs<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureRecordingStateChangedEventArgs<D>::ErrorCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureRecordingStateChangedEventArgs)->get_ErrorCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureRecordOperation) consume_Windows_Media_Capture_IAppCaptureServices<D>::Record() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureServices<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureRecordOperation) consume_Windows_Media_Capture_IAppCaptureServices<D>::RecordTimeSpan(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::TimeSpan const& duration) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureServices<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureServices<D>::CanCapture() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureServices<D>::CanCapture() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureServices)->get_CanCapture(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureState) consume_Windows_Media_Capture_IAppCaptureServices<D>::State() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureServices<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings<D>::AppCaptureDestinationFolder(winrt::Windows::Storage::StorageFolder const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::AppCaptureDestinationFolder(winrt::Windows::Storage::StorageFolder const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_AppCaptureDestinationFolder(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Media_Capture_IAppCaptureSettings<D>::AppCaptureDestinationFolder() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings<D>::AudioEncodingBitrate(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::AudioEncodingBitrate(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_AudioEncodingBitrate(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppCaptureSettings<D>::AudioEncodingBitrate() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::AudioEncodingBitrate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_AudioEncodingBitrate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsAudioCaptureEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsAudioCaptureEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_IsAudioCaptureEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsAudioCaptureEnabled() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsAudioCaptureEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_IsAudioCaptureEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings<D>::CustomVideoEncodingBitrate(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::CustomVideoEncodingBitrate(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_CustomVideoEncodingBitrate(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppCaptureSettings<D>::CustomVideoEncodingBitrate() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::CustomVideoEncodingBitrate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_CustomVideoEncodingBitrate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings<D>::CustomVideoEncodingHeight(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::CustomVideoEncodingHeight(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_CustomVideoEncodingHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppCaptureSettings<D>::CustomVideoEncodingHeight() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::CustomVideoEncodingHeight() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_CustomVideoEncodingHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings<D>::CustomVideoEncodingWidth(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::CustomVideoEncodingWidth(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_CustomVideoEncodingWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppCaptureSettings<D>::CustomVideoEncodingWidth() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::CustomVideoEncodingWidth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_CustomVideoEncodingWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings<D>::HistoricalBufferLength(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::HistoricalBufferLength(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_HistoricalBufferLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppCaptureSettings<D>::HistoricalBufferLength() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::HistoricalBufferLength() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_HistoricalBufferLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings<D>::HistoricalBufferLengthUnit(winrt::Windows::Media::Capture::AppCaptureHistoricalBufferLengthUnit const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::HistoricalBufferLengthUnit(winrt::Windows::Media::Capture::AppCaptureHistoricalBufferLengthUnit const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_HistoricalBufferLengthUnit(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureHistoricalBufferLengthUnit) consume_Windows_Media_Capture_IAppCaptureSettings<D>::HistoricalBufferLengthUnit() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::HistoricalBufferLengthUnit() const
{
winrt::Windows::Media::Capture::AppCaptureHistoricalBufferLengthUnit value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_HistoricalBufferLengthUnit(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsHistoricalCaptureEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsHistoricalCaptureEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_IsHistoricalCaptureEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsHistoricalCaptureEnabled() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsHistoricalCaptureEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_IsHistoricalCaptureEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsHistoricalCaptureOnBatteryAllowed(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsHistoricalCaptureOnBatteryAllowed(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_IsHistoricalCaptureOnBatteryAllowed(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsHistoricalCaptureOnBatteryAllowed() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsHistoricalCaptureOnBatteryAllowed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_IsHistoricalCaptureOnBatteryAllowed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsHistoricalCaptureOnWirelessDisplayAllowed(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsHistoricalCaptureOnWirelessDisplayAllowed(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_IsHistoricalCaptureOnWirelessDisplayAllowed(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsHistoricalCaptureOnWirelessDisplayAllowed() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsHistoricalCaptureOnWirelessDisplayAllowed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_IsHistoricalCaptureOnWirelessDisplayAllowed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings<D>::MaximumRecordLength(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IAppCaptureSettings<D>::MaximumRecordLength() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings<D>::ScreenshotDestinationFolder(winrt::Windows::Storage::StorageFolder const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::ScreenshotDestinationFolder(winrt::Windows::Storage::StorageFolder const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_ScreenshotDestinationFolder(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Media_Capture_IAppCaptureSettings<D>::ScreenshotDestinationFolder() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings<D>::VideoEncodingBitrateMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingBitrateMode const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::VideoEncodingBitrateMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingBitrateMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_VideoEncodingBitrateMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureVideoEncodingBitrateMode) consume_Windows_Media_Capture_IAppCaptureSettings<D>::VideoEncodingBitrateMode() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::VideoEncodingBitrateMode() const
{
winrt::Windows::Media::Capture::AppCaptureVideoEncodingBitrateMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_VideoEncodingBitrateMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings<D>::VideoEncodingResolutionMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingResolutionMode const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::VideoEncodingResolutionMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingResolutionMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_VideoEncodingResolutionMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureVideoEncodingResolutionMode) consume_Windows_Media_Capture_IAppCaptureSettings<D>::VideoEncodingResolutionMode() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::VideoEncodingResolutionMode() const
{
winrt::Windows::Media::Capture::AppCaptureVideoEncodingResolutionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_VideoEncodingResolutionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsAppCaptureEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsAppCaptureEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->put_IsAppCaptureEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsAppCaptureEnabled() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsAppCaptureEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_IsAppCaptureEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsCpuConstrained() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsCpuConstrained() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_IsCpuConstrained(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsDisabledByPolicy() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsDisabledByPolicy() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_IsDisabledByPolicy(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsMemoryConstrained() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::IsMemoryConstrained() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_IsMemoryConstrained(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings<D>::HasHardwareEncoder() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings<D>::HasHardwareEncoder() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings)->get_HasHardwareEncoder(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings2<D>::IsGpuConstrained() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings2<D>::IsGpuConstrained() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings2)->get_IsGpuConstrained(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureAlternateShortcutKeys) consume_Windows_Media_Capture_IAppCaptureSettings2<D>::AlternateShortcutKeys() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings3<D>::IsMicrophoneCaptureEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings3<D>::IsMicrophoneCaptureEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings3)->put_IsMicrophoneCaptureEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings3<D>::IsMicrophoneCaptureEnabled() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings3<D>::IsMicrophoneCaptureEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings3)->get_IsMicrophoneCaptureEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings4<D>::IsMicrophoneCaptureEnabledByDefault(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings4<D>::IsMicrophoneCaptureEnabledByDefault(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings4)->put_IsMicrophoneCaptureEnabledByDefault(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings4<D>::IsMicrophoneCaptureEnabledByDefault() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings4<D>::IsMicrophoneCaptureEnabledByDefault() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings4)->get_IsMicrophoneCaptureEnabledByDefault(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings4<D>::SystemAudioGain(double value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings4<D>::SystemAudioGain(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings4)->put_SystemAudioGain(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Capture_IAppCaptureSettings4<D>::SystemAudioGain() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings4<D>::SystemAudioGain() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings4)->get_SystemAudioGain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings4<D>::MicrophoneGain(double value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings4<D>::MicrophoneGain(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings4)->put_MicrophoneGain(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Capture_IAppCaptureSettings4<D>::MicrophoneGain() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings4<D>::MicrophoneGain() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings4)->get_MicrophoneGain(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings4<D>::VideoEncodingFrameRateMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingFrameRateMode const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings4<D>::VideoEncodingFrameRateMode(winrt::Windows::Media::Capture::AppCaptureVideoEncodingFrameRateMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings4)->put_VideoEncodingFrameRateMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureVideoEncodingFrameRateMode) consume_Windows_Media_Capture_IAppCaptureSettings4<D>::VideoEncodingFrameRateMode() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings4<D>::VideoEncodingFrameRateMode() const
{
winrt::Windows::Media::Capture::AppCaptureVideoEncodingFrameRateMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings4)->get_VideoEncodingFrameRateMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings5<D>::IsEchoCancellationEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings5<D>::IsEchoCancellationEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings5)->put_IsEchoCancellationEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings5<D>::IsEchoCancellationEnabled() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings5<D>::IsEchoCancellationEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings5)->get_IsEchoCancellationEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureSettings5<D>::IsCursorImageCaptureEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings5<D>::IsCursorImageCaptureEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings5)->put_IsCursorImageCaptureEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureSettings5<D>::IsCursorImageCaptureEnabled() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureSettings5<D>::IsCursorImageCaptureEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureSettings5)->get_IsCursorImageCaptureEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureState<D>::IsTargetRunning() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureState<D>::IsTargetRunning() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->get_IsTargetRunning(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureState<D>::IsHistoricalCaptureEnabled() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureState<D>::IsHistoricalCaptureEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->get_IsHistoricalCaptureEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IAppCaptureState<D>::ShouldCaptureMicrophone() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureState<D>::ShouldCaptureMicrophone() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->get_ShouldCaptureMicrophone(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureState<D>::ShouldCaptureMicrophone(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureState<D>::ShouldCaptureMicrophone(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->put_ShouldCaptureMicrophone(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureState<D>::RestartMicrophoneCapture() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureState<D>::RestartMicrophoneCapture() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->RestartMicrophoneCapture());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureState) consume_Windows_Media_Capture_IAppCaptureState<D>::MicrophoneCaptureState() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureState<D>::MicrophoneCaptureState() const
{
winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->get_MicrophoneCaptureState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IAppCaptureState<D>::MicrophoneCaptureError() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureState<D>::MicrophoneCaptureError() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->get_MicrophoneCaptureError(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppCaptureState<D>::MicrophoneCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureState, winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureStateChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureState<D>::MicrophoneCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureState, winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureStateChangedEventArgs> 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 D> typename consume_Windows_Media_Capture_IAppCaptureState<D>::MicrophoneCaptureStateChanged_revoker consume_Windows_Media_Capture_IAppCaptureState<D>::MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureState, winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureStateChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureState<D>::MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureState, winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureStateChangedEventArgs> const& value) const
{
return impl::make_event_revoker<D, MicrophoneCaptureStateChanged_revoker>(this, MicrophoneCaptureStateChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureState<D>::MicrophoneCaptureStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureState<D>::MicrophoneCaptureStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->remove_MicrophoneCaptureStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IAppCaptureState<D>::CaptureTargetClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureState, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureState<D>::CaptureTargetClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureState, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_IAppCaptureState<D>::CaptureTargetClosed_revoker consume_Windows_Media_Capture_IAppCaptureState<D>::CaptureTargetClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureState, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureState<D>::CaptureTargetClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureState, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, CaptureTargetClosed_revoker>(this, CaptureTargetClosed(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IAppCaptureState<D>::CaptureTargetClosed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureState<D>::CaptureTargetClosed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IAppCaptureState)->remove_CaptureTargetClosed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCapture) consume_Windows_Media_Capture_IAppCaptureStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IAppCaptureStatics2<D>::SetAllowedAsync(bool allowed) const
+ template <typename D> auto consume_Windows_Media_Capture_IAppCaptureStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIPhotoCaptureSettings) consume_Windows_Media_Capture_ICameraCaptureUI<D>::PhotoSettings() const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUI<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIVideoCaptureSettings) consume_Windows_Media_Capture_ICameraCaptureUI<D>::VideoSettings() const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUI<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Media_Capture_ICameraCaptureUI<D>::CaptureFileAsync(winrt::Windows::Media::Capture::CameraCaptureUIMode const& mode) const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUI<D>::CaptureFileAsync(winrt::Windows::Media::Capture::CameraCaptureUIMode const& mode) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUI)->CaptureFileAsync(static_cast<int32_t>(mode), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIPhotoFormat) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::Format() const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::Format() const
{
winrt::Windows::Media::Capture::CameraCaptureUIPhotoFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings)->get_Format(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::Format(winrt::Windows::Media::Capture::CameraCaptureUIPhotoFormat const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::Format(winrt::Windows::Media::Capture::CameraCaptureUIPhotoFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings)->put_Format(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIMaxPhotoResolution) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::MaxResolution() const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::MaxResolution() const
{
winrt::Windows::Media::Capture::CameraCaptureUIMaxPhotoResolution value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings)->get_MaxResolution(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::MaxResolution(winrt::Windows::Media::Capture::CameraCaptureUIMaxPhotoResolution const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::MaxResolution(winrt::Windows::Media::Capture::CameraCaptureUIMaxPhotoResolution const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings)->put_MaxResolution(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::CroppedSizeInPixels() const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::CroppedSizeInPixels(winrt::Windows::Foundation::Size const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::CroppedAspectRatio() const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::CroppedAspectRatio(winrt::Windows::Foundation::Size const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::AllowCropping() const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::AllowCropping() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings)->get_AllowCropping(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::AllowCropping(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIPhotoCaptureSettings<D>::AllowCropping(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings)->put_AllowCropping(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIVideoFormat) consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings<D>::Format() const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings<D>::Format() const
{
winrt::Windows::Media::Capture::CameraCaptureUIVideoFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings)->get_Format(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings<D>::Format(winrt::Windows::Media::Capture::CameraCaptureUIVideoFormat const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings<D>::Format(winrt::Windows::Media::Capture::CameraCaptureUIVideoFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings)->put_Format(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CameraCaptureUIMaxVideoResolution) consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings<D>::MaxResolution() const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings<D>::MaxResolution() const
{
winrt::Windows::Media::Capture::CameraCaptureUIMaxVideoResolution value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings)->get_MaxResolution(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings<D>::MaxResolution(winrt::Windows::Media::Capture::CameraCaptureUIMaxVideoResolution const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings<D>::MaxResolution(winrt::Windows::Media::Capture::CameraCaptureUIMaxVideoResolution const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings)->put_MaxResolution(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings<D>::MaxDurationInSeconds() const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings<D>::MaxDurationInSeconds() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings)->get_MaxDurationInSeconds(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings<D>::MaxDurationInSeconds(float value) const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings<D>::MaxDurationInSeconds(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings)->put_MaxDurationInSeconds(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings<D>::AllowTrimming() const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings<D>::AllowTrimming() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings)->get_AllowTrimming(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings<D>::AllowTrimming(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraCaptureUIVideoCaptureSettings<D>::AllowTrimming(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings)->put_AllowTrimming(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ICameraOptionsUIStatics<D>::Show(winrt::Windows::Media::Capture::MediaCapture const& mediaCapture) const
+ template <typename D> auto consume_Windows_Media_Capture_ICameraOptionsUIStatics<D>::Show(winrt::Windows::Media::Capture::MediaCapture const& mediaCapture) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICameraOptionsUIStatics)->Show(*(void**)(&mediaCapture)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_ICapturedFrame<D>::Width() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrame<D>::Width() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrame)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_ICapturedFrame<D>::Height() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrame<D>::Height() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrame)->get_Height(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrameControlValues) consume_Windows_Media_Capture_ICapturedFrame2<D>::ControlValues() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrame2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapPropertySet) consume_Windows_Media_Capture_ICapturedFrame2<D>::BitmapProperties() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrame2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::Exposure() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::Exposure() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_Exposure(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::ExposureCompensation() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::ExposureCompensation() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_ExposureCompensation(&value));
return winrt::Windows::Foundation::IReference<float>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::IsoSpeed() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::IsoSpeed() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_IsoSpeed(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::Focus() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::Focus() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_Focus(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Devices::CaptureSceneMode>) consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::SceneMode() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::SceneMode() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_SceneMode(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Media::Devices::CaptureSceneMode>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::Flashed() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::Flashed() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_Flashed(&value));
return winrt::Windows::Foundation::IReference<bool>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::FlashPowerPercent() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::FlashPowerPercent() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_FlashPowerPercent(&value));
return winrt::Windows::Foundation::IReference<float>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::WhiteBalance() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::WhiteBalance() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_WhiteBalance(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::ZoomFactor() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrameControlValues<D>::ZoomFactor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues)->get_ZoomFactor(&value));
return winrt::Windows::Foundation::IReference<float>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Devices::MediaCaptureFocusState>) consume_Windows_Media_Capture_ICapturedFrameControlValues2<D>::FocusState() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrameControlValues2<D>::FocusState() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues2)->get_FocusState(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Media::Devices::MediaCaptureFocusState>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Media_Capture_ICapturedFrameControlValues2<D>::IsoDigitalGain() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrameControlValues2<D>::IsoDigitalGain() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues2)->get_IsoDigitalGain(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Media_Capture_ICapturedFrameControlValues2<D>::IsoAnalogGain() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrameControlValues2<D>::IsoAnalogGain() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues2)->get_IsoAnalogGain(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_Capture_ICapturedFrameControlValues2<D>::SensorFrameRate() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrameControlValues2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Capture::WhiteBalanceGain>) consume_Windows_Media_Capture_ICapturedFrameControlValues2<D>::WhiteBalanceGain() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrameControlValues2<D>::WhiteBalanceGain() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ICapturedFrameControlValues2)->get_WhiteBalanceGain(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Media::Capture::WhiteBalanceGain>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Media_Capture_ICapturedFrameWithSoftwareBitmap<D>::SoftwareBitmap() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedFrameWithSoftwareBitmap<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) consume_Windows_Media_Capture_ICapturedPhoto<D>::Frame() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedPhoto<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) consume_Windows_Media_Capture_ICapturedPhoto<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_Media_Capture_ICapturedPhoto<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarTargetCapturePolicy) consume_Windows_Media_Capture_IGameBarServices<D>::TargetCapturePolicy() const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServices<D>::TargetCapturePolicy() const
{
winrt::Windows::Media::Capture::GameBarTargetCapturePolicy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServices)->get_TargetCapturePolicy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IGameBarServices<D>::EnableCapture() const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServices<D>::EnableCapture() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServices)->EnableCapture());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IGameBarServices<D>::DisableCapture() const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServices<D>::DisableCapture() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServices)->DisableCapture());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarServicesTargetInfo) consume_Windows_Media_Capture_IGameBarServices<D>::TargetInfo() const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServices<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IGameBarServices<D>::SessionId() const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServices<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastServices) consume_Windows_Media_Capture_IGameBarServices<D>::AppBroadcastServices() const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServices<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCaptureServices) consume_Windows_Media_Capture_IGameBarServices<D>::AppCaptureServices() const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServices<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IGameBarServices<D>::CommandReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::GameBarServices, winrt::Windows::Media::Capture::GameBarServicesCommandEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServices<D>::CommandReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::GameBarServices, winrt::Windows::Media::Capture::GameBarServicesCommandEventArgs> 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 D> typename consume_Windows_Media_Capture_IGameBarServices<D>::CommandReceived_revoker consume_Windows_Media_Capture_IGameBarServices<D>::CommandReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::GameBarServices, winrt::Windows::Media::Capture::GameBarServicesCommandEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServices<D>::CommandReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::GameBarServices, winrt::Windows::Media::Capture::GameBarServicesCommandEventArgs> const& value) const
{
return impl::make_event_revoker<D, CommandReceived_revoker>(this, CommandReceived(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IGameBarServices<D>::CommandReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServices<D>::CommandReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServices)->remove_CommandReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarCommand) consume_Windows_Media_Capture_IGameBarServicesCommandEventArgs<D>::Command() const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServicesCommandEventArgs<D>::Command() const
{
winrt::Windows::Media::Capture::GameBarCommand value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServicesCommandEventArgs)->get_Command(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarCommandOrigin) consume_Windows_Media_Capture_IGameBarServicesCommandEventArgs<D>::Origin() const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServicesCommandEventArgs<D>::Origin() const
{
winrt::Windows::Media::Capture::GameBarCommandOrigin value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServicesCommandEventArgs)->get_Origin(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IGameBarServicesManager<D>::GameBarServicesCreated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::GameBarServicesManager, winrt::Windows::Media::Capture::GameBarServicesManagerGameBarServicesCreatedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServicesManager<D>::GameBarServicesCreated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::GameBarServicesManager, winrt::Windows::Media::Capture::GameBarServicesManagerGameBarServicesCreatedEventArgs> 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 D> typename consume_Windows_Media_Capture_IGameBarServicesManager<D>::GameBarServicesCreated_revoker consume_Windows_Media_Capture_IGameBarServicesManager<D>::GameBarServicesCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::GameBarServicesManager, winrt::Windows::Media::Capture::GameBarServicesManagerGameBarServicesCreatedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServicesManager<D>::GameBarServicesCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::GameBarServicesManager, winrt::Windows::Media::Capture::GameBarServicesManagerGameBarServicesCreatedEventArgs> const& value) const
{
return impl::make_event_revoker<D, GameBarServicesCreated_revoker>(this, GameBarServicesCreated(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IGameBarServicesManager<D>::GameBarServicesCreated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServicesManager<D>::GameBarServicesCreated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServicesManager)->remove_GameBarServicesCreated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarServices) consume_Windows_Media_Capture_IGameBarServicesManagerGameBarServicesCreatedEventArgs<D>::GameBarServices() const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServicesManagerGameBarServicesCreatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarServicesManager) consume_Windows_Media_Capture_IGameBarServicesManagerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServicesManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IGameBarServicesTargetInfo<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServicesTargetInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IGameBarServicesTargetInfo<D>::AppId() const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServicesTargetInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IGameBarServicesTargetInfo<D>::TitleId() const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServicesTargetInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarServicesDisplayMode) consume_Windows_Media_Capture_IGameBarServicesTargetInfo<D>::DisplayMode() const
+ template <typename D> auto consume_Windows_Media_Capture_IGameBarServicesTargetInfo<D>::DisplayMode() const
{
winrt::Windows::Media::Capture::GameBarServicesDisplayMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IGameBarServicesTargetInfo)->get_DisplayMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagMediaRecording<D>::StartAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_ILowLagMediaRecording<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagMediaRecording<D>::StopAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_ILowLagMediaRecording<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagMediaRecording<D>::FinishAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_ILowLagMediaRecording<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagMediaRecording2<D>::PauseAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const
+ template <typename D> auto consume_Windows_Media_Capture_ILowLagMediaRecording2<D>::PauseAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagMediaRecording2)->PauseAsync(static_cast<int32_t>(behavior), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagMediaRecording2<D>::ResumeAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_ILowLagMediaRecording2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::MediaCapturePauseResult>) consume_Windows_Media_Capture_ILowLagMediaRecording3<D>::PauseWithResultAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const
+ template <typename D> auto consume_Windows_Media_Capture_ILowLagMediaRecording3<D>::PauseWithResultAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagMediaRecording3)->PauseWithResultAsync(static_cast<int32_t>(behavior), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::MediaCapturePauseResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::MediaCaptureStopResult>) consume_Windows_Media_Capture_ILowLagMediaRecording3<D>::StopWithResultAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_ILowLagMediaRecording3<D>::StopWithResultAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagMediaRecording3)->StopWithResultAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::MediaCaptureStopResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::CapturedPhoto>) consume_Windows_Media_Capture_ILowLagPhotoCapture<D>::CaptureAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_ILowLagPhotoCapture<D>::CaptureAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagPhotoCapture)->CaptureAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::CapturedPhoto>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagPhotoCapture<D>::FinishAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_ILowLagPhotoCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture<D>::StartAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture<D>::StopAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture<D>::FinishAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture<D>::PhotoCaptured(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::LowLagPhotoSequenceCapture, winrt::Windows::Media::Capture::PhotoCapturedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture<D>::PhotoCaptured(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::LowLagPhotoSequenceCapture, winrt::Windows::Media::Capture::PhotoCapturedEventArgs> 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 D> typename consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture<D>::PhotoCaptured_revoker consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture<D>::PhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::LowLagPhotoSequenceCapture, winrt::Windows::Media::Capture::PhotoCapturedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture<D>::PhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::LowLagPhotoSequenceCapture, winrt::Windows::Media::Capture::PhotoCapturedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PhotoCaptured_revoker>(this, PhotoCaptured(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture<D>::PhotoCaptured(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_ILowLagPhotoSequenceCapture<D>::PhotoCaptured(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ILowLagPhotoSequenceCapture)->remove_PhotoCaptured(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture<D>::InitializeAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture<D>::InitializeAsync(winrt::Windows::Media::Capture::MediaCaptureInitializationSettings const& mediaCaptureInitializationSettings) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture<D>::StartRecordToStorageFileAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture<D>::StartRecordToStreamAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture<D>::StartRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture<D>::StartRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture<D>::StopRecordAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture<D>::CapturePhotoToStorageFileAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type, winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture<D>::CapturePhotoToStreamAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture<D>::AddEffectAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, param::hstring const& effectActivationID, winrt::Windows::Foundation::Collections::IPropertySet const& effectSettings) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::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<int32_t>(mediaStreamType), *(void**)(&effectActivationID), *(void**)(&effectSettings), &asyncInfo));
return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture<D>::ClearEffectsAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::ClearEffectsAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->ClearEffectsAsync(static_cast<int32_t>(mediaStreamType), &asyncInfo));
return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture<D>::SetEncoderProperty(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::guid const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::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<int32_t>(mediaStreamType), impl::bind_in(propertyId), *(void**)(&propertyValue)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Media_Capture_IMediaCapture<D>::GetEncoderProperty(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::guid const& propertyId) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::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<int32_t>(mediaStreamType), impl::bind_in(propertyId), &propertyValue));
return winrt::Windows::Foundation::IInspectable{ propertyValue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IMediaCapture<D>::Failed(winrt::Windows::Media::Capture::MediaCaptureFailedEventHandler const& errorEventHandler) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::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 D> typename consume_Windows_Media_Capture_IMediaCapture<D>::Failed_revoker consume_Windows_Media_Capture_IMediaCapture<D>::Failed(auto_revoke_t, winrt::Windows::Media::Capture::MediaCaptureFailedEventHandler const& errorEventHandler) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::Failed(auto_revoke_t, winrt::Windows::Media::Capture::MediaCaptureFailedEventHandler const& errorEventHandler) const
{
return impl::make_event_revoker<D, Failed_revoker>(this, Failed(errorEventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture<D>::Failed(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::Failed(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->remove_Failed(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IMediaCapture<D>::RecordLimitationExceeded(winrt::Windows::Media::Capture::RecordLimitationExceededEventHandler const& recordLimitationExceededEventHandler) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::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 D> typename consume_Windows_Media_Capture_IMediaCapture<D>::RecordLimitationExceeded_revoker consume_Windows_Media_Capture_IMediaCapture<D>::RecordLimitationExceeded(auto_revoke_t, winrt::Windows::Media::Capture::RecordLimitationExceededEventHandler const& recordLimitationExceededEventHandler) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::RecordLimitationExceeded(auto_revoke_t, winrt::Windows::Media::Capture::RecordLimitationExceededEventHandler const& recordLimitationExceededEventHandler) const
{
return impl::make_event_revoker<D, RecordLimitationExceeded_revoker>(this, RecordLimitationExceeded(recordLimitationExceededEventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture<D>::RecordLimitationExceeded(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::RecordLimitationExceeded(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->remove_RecordLimitationExceeded(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureSettings) consume_Windows_Media_Capture_IMediaCapture<D>::MediaCaptureSettings() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AudioDeviceController) consume_Windows_Media_Capture_IMediaCapture<D>::AudioDeviceController() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceController) consume_Windows_Media_Capture_IMediaCapture<D>::VideoDeviceController() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture<D>::SetPreviewMirroring(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::SetPreviewMirroring(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->SetPreviewMirroring(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IMediaCapture<D>::GetPreviewMirroring() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::GetPreviewMirroring() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->GetPreviewMirroring(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture<D>::SetPreviewRotation(winrt::Windows::Media::Capture::VideoRotation const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::SetPreviewRotation(winrt::Windows::Media::Capture::VideoRotation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->SetPreviewRotation(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::VideoRotation) consume_Windows_Media_Capture_IMediaCapture<D>::GetPreviewRotation() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::GetPreviewRotation() const
{
winrt::Windows::Media::Capture::VideoRotation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->GetPreviewRotation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture<D>::SetRecordRotation(winrt::Windows::Media::Capture::VideoRotation const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::SetRecordRotation(winrt::Windows::Media::Capture::VideoRotation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->SetRecordRotation(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::VideoRotation) consume_Windows_Media_Capture_IMediaCapture<D>::GetRecordRotation() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture<D>::GetRecordRotation() const
{
winrt::Windows::Media::Capture::VideoRotation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture)->GetRecordRotation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::LowLagMediaRecording>) consume_Windows_Media_Capture_IMediaCapture2<D>::PrepareLowLagRecordToStorageFileAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture2<D>::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<winrt::Windows::Media::Capture::LowLagMediaRecording>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::LowLagMediaRecording>) consume_Windows_Media_Capture_IMediaCapture2<D>::PrepareLowLagRecordToStreamAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture2<D>::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<winrt::Windows::Media::Capture::LowLagMediaRecording>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::LowLagMediaRecording>) consume_Windows_Media_Capture_IMediaCapture2<D>::PrepareLowLagRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture2<D>::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<winrt::Windows::Media::Capture::LowLagMediaRecording>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::LowLagMediaRecording>) consume_Windows_Media_Capture_IMediaCapture2<D>::PrepareLowLagRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture2<D>::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<winrt::Windows::Media::Capture::LowLagMediaRecording>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::LowLagPhotoCapture>) consume_Windows_Media_Capture_IMediaCapture2<D>::PrepareLowLagPhotoCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture2<D>::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<winrt::Windows::Media::Capture::LowLagPhotoCapture>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::LowLagPhotoSequenceCapture>) consume_Windows_Media_Capture_IMediaCapture2<D>::PrepareLowLagPhotoSequenceCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture2<D>::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<winrt::Windows::Media::Capture::LowLagPhotoSequenceCapture>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture2<D>::SetEncodingPropertiesAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& mediaEncodingProperties, winrt::Windows::Media::MediaProperties::MediaPropertySet const& encoderProperties) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture2<D>::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<int32_t>(mediaStreamType), *(void**)(&mediaEncodingProperties), *(void**)(&encoderProperties), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture>) consume_Windows_Media_Capture_IMediaCapture3<D>::PrepareVariablePhotoSequenceCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture3<D>::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<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IMediaCapture3<D>::FocusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::MediaCaptureFocusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture3<D>::FocusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::MediaCaptureFocusChangedEventArgs> 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 D> typename consume_Windows_Media_Capture_IMediaCapture3<D>::FocusChanged_revoker consume_Windows_Media_Capture_IMediaCapture3<D>::FocusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::MediaCaptureFocusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture3<D>::FocusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::MediaCaptureFocusChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FocusChanged_revoker>(this, FocusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture3<D>::FocusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture3<D>::FocusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture3)->remove_FocusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IMediaCapture3<D>::PhotoConfirmationCaptured(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::PhotoConfirmationCapturedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture3<D>::PhotoConfirmationCaptured(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::PhotoConfirmationCapturedEventArgs> 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 D> typename consume_Windows_Media_Capture_IMediaCapture3<D>::PhotoConfirmationCaptured_revoker consume_Windows_Media_Capture_IMediaCapture3<D>::PhotoConfirmationCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::PhotoConfirmationCapturedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture3<D>::PhotoConfirmationCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::PhotoConfirmationCapturedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PhotoConfirmationCaptured_revoker>(this, PhotoConfirmationCaptured(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture3<D>::PhotoConfirmationCaptured(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture3<D>::PhotoConfirmationCaptured(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture3)->remove_PhotoConfirmationCaptured(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::IMediaExtension>) consume_Windows_Media_Capture_IMediaCapture4<D>::AddAudioEffectAsync(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture4<D>::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<winrt::Windows::Media::IMediaExtension>{ op, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::IMediaExtension>) consume_Windows_Media_Capture_IMediaCapture4<D>::AddVideoEffectAsync(winrt::Windows::Media::Effects::IVideoEffectDefinition const& definition, winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture4<D>::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<int32_t>(mediaStreamType), &op));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::IMediaExtension>{ op, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture4<D>::PauseRecordAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture4<D>::PauseRecordAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->PauseRecordAsync(static_cast<int32_t>(behavior), &asyncInfo));
return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture4<D>::ResumeRecordAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IMediaCapture4<D>::CameraStreamStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture4<D>::CameraStreamStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_IMediaCapture4<D>::CameraStreamStateChanged_revoker consume_Windows_Media_Capture_IMediaCapture4<D>::CameraStreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture4<D>::CameraStreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, CameraStreamStateChanged_revoker>(this, CameraStreamStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture4<D>::CameraStreamStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture4<D>::CameraStreamStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->remove_CameraStreamStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::CameraStreamState) consume_Windows_Media_Capture_IMediaCapture4<D>::CameraStreamState() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture4<D>::CameraStreamState() const
{
winrt::Windows::Media::Devices::CameraStreamState streamState{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->get_CameraStreamState(reinterpret_cast<int32_t*>(&streamState)));
return streamState;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::VideoFrame>) consume_Windows_Media_Capture_IMediaCapture4<D>::GetPreviewFrameAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture4<D>::GetPreviewFrameAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->GetPreviewFrameAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::VideoFrame>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::VideoFrame>) consume_Windows_Media_Capture_IMediaCapture4<D>::GetPreviewFrameAsync(winrt::Windows::Media::VideoFrame const& destination) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture4<D>::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<winrt::Windows::Media::VideoFrame>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IMediaCapture4<D>::ThermalStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture4<D>::ThermalStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_IMediaCapture4<D>::ThermalStatusChanged_revoker consume_Windows_Media_Capture_IMediaCapture4<D>::ThermalStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture4<D>::ThermalStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ThermalStatusChanged_revoker>(this, ThermalStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture4<D>::ThermalStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture4<D>::ThermalStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->remove_ThermalStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureThermalStatus) consume_Windows_Media_Capture_IMediaCapture4<D>::ThermalStatus() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture4<D>::ThermalStatus() const
{
winrt::Windows::Media::Capture::MediaCaptureThermalStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture4)->get_ThermalStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::AdvancedPhotoCapture>) consume_Windows_Media_Capture_IMediaCapture4<D>::PrepareAdvancedPhotoCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& encodingProperties) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture4<D>::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<winrt::Windows::Media::Capture::AdvancedPhotoCapture>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCapture5<D>::RemoveEffectAsync(winrt::Windows::Media::IMediaExtension const& effect) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::MediaCapturePauseResult>) consume_Windows_Media_Capture_IMediaCapture5<D>::PauseRecordWithResultAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture5<D>::PauseRecordWithResultAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture5)->PauseRecordWithResultAsync(static_cast<int32_t>(behavior), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::MediaCapturePauseResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::MediaCaptureStopResult>) consume_Windows_Media_Capture_IMediaCapture5<D>::StopRecordWithResultAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture5<D>::StopRecordWithResultAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture5)->StopRecordWithResultAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::MediaCaptureStopResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Media::Capture::Frames::MediaFrameSource>) consume_Windows_Media_Capture_IMediaCapture5<D>::FrameSources() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture5<D>::FrameSources() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture5)->get_FrameSources(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Media::Capture::Frames::MediaFrameSource>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameReader>) consume_Windows_Media_Capture_IMediaCapture5<D>::CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture5<D>::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<winrt::Windows::Media::Capture::Frames::MediaFrameReader>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameReader>) consume_Windows_Media_Capture_IMediaCapture5<D>::CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource, param::hstring const& outputSubtype) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture5<D>::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<winrt::Windows::Media::Capture::Frames::MediaFrameReader>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameReader>) consume_Windows_Media_Capture_IMediaCapture5<D>::CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource, param::hstring const& outputSubtype, winrt::Windows::Graphics::Imaging::BitmapSize const& outputSize) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture5<D>::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<winrt::Windows::Media::Capture::Frames::MediaFrameReader>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IMediaCapture6<D>::CaptureDeviceExclusiveControlStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::MediaCaptureDeviceExclusiveControlStatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture6<D>::CaptureDeviceExclusiveControlStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::MediaCaptureDeviceExclusiveControlStatusChangedEventArgs> 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 D> typename consume_Windows_Media_Capture_IMediaCapture6<D>::CaptureDeviceExclusiveControlStatusChanged_revoker consume_Windows_Media_Capture_IMediaCapture6<D>::CaptureDeviceExclusiveControlStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::MediaCaptureDeviceExclusiveControlStatusChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture6<D>::CaptureDeviceExclusiveControlStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::MediaCaptureDeviceExclusiveControlStatusChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CaptureDeviceExclusiveControlStatusChanged_revoker>(this, CaptureDeviceExclusiveControlStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCapture6<D>::CaptureDeviceExclusiveControlStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture6<D>::CaptureDeviceExclusiveControlStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture6)->remove_CaptureDeviceExclusiveControlStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReader>) consume_Windows_Media_Capture_IMediaCapture6<D>::CreateMultiSourceFrameReaderAsync(param::async_iterable<winrt::Windows::Media::Capture::Frames::MediaFrameSource> const& inputSources) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture6<D>::CreateMultiSourceFrameReaderAsync(param::async_iterable<winrt::Windows::Media::Capture::Frames::MediaFrameSource> const& inputSources) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCapture6)->CreateMultiSourceFrameReaderAsync(*(void**)(&inputSources), &value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReader>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureRelativePanelWatcher) consume_Windows_Media_Capture_IMediaCapture7<D>::CreateRelativePanelWatcher(winrt::Windows::Media::Capture::StreamingCaptureMode const& captureMode, winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapture7<D>::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<int32_t>(captureMode), *(void**)(&displayRegion), &result));
return winrt::Windows::Media::Capture::MediaCaptureRelativePanelWatcher{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureDeviceExclusiveControlStatus) consume_Windows_Media_Capture_IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs<D>::Status() const
{
winrt::Windows::Media::Capture::MediaCaptureDeviceExclusiveControlStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureFailedEventArgs<D>::Message() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureFailedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IMediaCaptureFailedEventArgs<D>::Code() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureFailedEventArgs<D>::Code() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureFailedEventArgs)->get_Code(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaCaptureFocusState) consume_Windows_Media_Capture_IMediaCaptureFocusChangedEventArgs<D>::FocusState() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureFocusChangedEventArgs<D>::FocusState() const
{
winrt::Windows::Media::Devices::MediaCaptureFocusState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureFocusChangedEventArgs)->get_FocusState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings<D>::AudioDeviceId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings<D>::AudioDeviceId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings)->put_AudioDeviceId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings<D>::AudioDeviceId() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings<D>::VideoDeviceId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings<D>::VideoDeviceId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings)->put_VideoDeviceId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings<D>::VideoDeviceId() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings<D>::StreamingCaptureMode(winrt::Windows::Media::Capture::StreamingCaptureMode const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings<D>::StreamingCaptureMode(winrt::Windows::Media::Capture::StreamingCaptureMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings)->put_StreamingCaptureMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::StreamingCaptureMode) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings<D>::StreamingCaptureMode() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings<D>::StreamingCaptureMode() const
{
winrt::Windows::Media::Capture::StreamingCaptureMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings)->get_StreamingCaptureMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings<D>::PhotoCaptureSource(winrt::Windows::Media::Capture::PhotoCaptureSource const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings<D>::PhotoCaptureSource(winrt::Windows::Media::Capture::PhotoCaptureSource const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings)->put_PhotoCaptureSource(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::PhotoCaptureSource) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings<D>::PhotoCaptureSource() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings<D>::PhotoCaptureSource() const
{
winrt::Windows::Media::Capture::PhotoCaptureSource value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings)->get_PhotoCaptureSource(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2<D>::MediaCategory(winrt::Windows::Media::Capture::MediaCategory const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2<D>::MediaCategory(winrt::Windows::Media::Capture::MediaCategory const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings2)->put_MediaCategory(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCategory) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2<D>::MediaCategory() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2<D>::MediaCategory() const
{
winrt::Windows::Media::Capture::MediaCategory value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings2)->get_MediaCategory(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2<D>::AudioProcessing(winrt::Windows::Media::AudioProcessing const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2<D>::AudioProcessing(winrt::Windows::Media::AudioProcessing const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings2)->put_AudioProcessing(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AudioProcessing) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2<D>::AudioProcessing() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings2<D>::AudioProcessing() const
{
winrt::Windows::Media::AudioProcessing value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings2)->get_AudioProcessing(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3<D>::AudioSource(winrt::Windows::Media::Core::IMediaSource const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3<D>::AudioSource(winrt::Windows::Media::Core::IMediaSource const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings3)->put_AudioSource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaSource) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3<D>::AudioSource() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3<D>::VideoSource(winrt::Windows::Media::Core::IMediaSource const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3<D>::VideoSource(winrt::Windows::Media::Core::IMediaSource const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings3)->put_VideoSource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaSource) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3<D>::VideoSource() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureVideoProfile) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4<D>::VideoProfile() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4<D>::VideoProfile(winrt::Windows::Media::Capture::MediaCaptureVideoProfile const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4<D>::VideoProfile(winrt::Windows::Media::Capture::MediaCaptureVideoProfile const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings4)->put_VideoProfile(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4<D>::PreviewMediaDescription() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4<D>::PreviewMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4<D>::PreviewMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings4)->put_PreviewMediaDescription(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4<D>::RecordMediaDescription() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4<D>::RecordMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4<D>::RecordMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings4)->put_RecordMediaDescription(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4<D>::PhotoMediaDescription() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4<D>::PhotoMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings4<D>::PhotoMediaDescription(winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings4)->put_PhotoMediaDescription(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5<D>::SourceGroup() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5<D>::SourceGroup(winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureSharingMode) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5<D>::SharingMode() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5<D>::SharingMode() const
{
winrt::Windows::Media::Capture::MediaCaptureSharingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings5)->get_SharingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5<D>::SharingMode(winrt::Windows::Media::Capture::MediaCaptureSharingMode const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5<D>::SharingMode(winrt::Windows::Media::Capture::MediaCaptureSharingMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings5)->put_SharingMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCaptureMemoryPreference) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5<D>::MemoryPreference() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5<D>::MemoryPreference() const
{
winrt::Windows::Media::Capture::MediaCaptureMemoryPreference value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings5)->get_MemoryPreference(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5<D>::MemoryPreference(winrt::Windows::Media::Capture::MediaCaptureMemoryPreference const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings5<D>::MemoryPreference(winrt::Windows::Media::Capture::MediaCaptureMemoryPreference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings5)->put_MemoryPreference(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings6<D>::AlwaysPlaySystemShutterSound() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings6<D>::AlwaysPlaySystemShutterSound() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings6)->get_AlwaysPlaySystemShutterSound(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings6<D>::AlwaysPlaySystemShutterSound(bool value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings6<D>::AlwaysPlaySystemShutterSound(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings6)->put_AlwaysPlaySystemShutterSound(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7<D>::DeviceUriPasswordCredential() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7<D>::DeviceUriPasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7<D>::DeviceUriPasswordCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings7)->put_DeviceUriPasswordCredential(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7<D>::DeviceUri() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7<D>::DeviceUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureInitializationSettings7<D>::DeviceUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings7)->put_DeviceUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_Capture_IMediaCapturePauseResult<D>::LastFrame() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapturePauseResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IMediaCapturePauseResult<D>::RecordDuration() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCapturePauseResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Panel) consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher<D>::RelativePanel() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher<D>::RelativePanel() const
{
winrt::Windows::Devices::Enumeration::Panel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureRelativePanelWatcher)->get_RelativePanel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCaptureRelativePanelWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCaptureRelativePanelWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher<D>::Changed_revoker consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCaptureRelativePanelWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCaptureRelativePanelWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Changed_revoker>(this, Changed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher<D>::Changed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher<D>::Changed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureRelativePanelWatcher)->remove_Changed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureRelativePanelWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureRelativePanelWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureRelativePanelWatcher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureSettings<D>::AudioDeviceId() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureSettings<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureSettings<D>::VideoDeviceId() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureSettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::StreamingCaptureMode) consume_Windows_Media_Capture_IMediaCaptureSettings<D>::StreamingCaptureMode() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureSettings<D>::StreamingCaptureMode() const
{
winrt::Windows::Media::Capture::StreamingCaptureMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings)->get_StreamingCaptureMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::PhotoCaptureSource) consume_Windows_Media_Capture_IMediaCaptureSettings<D>::PhotoCaptureSource() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureSettings<D>::PhotoCaptureSource() const
{
winrt::Windows::Media::Capture::PhotoCaptureSource value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings)->get_PhotoCaptureSource(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::VideoDeviceCharacteristic) consume_Windows_Media_Capture_IMediaCaptureSettings<D>::VideoDeviceCharacteristic() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureSettings<D>::VideoDeviceCharacteristic() const
{
winrt::Windows::Media::Capture::VideoDeviceCharacteristic value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings)->get_VideoDeviceCharacteristic(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IMediaCaptureSettings2<D>::ConcurrentRecordAndPhotoSupported() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureSettings2<D>::ConcurrentRecordAndPhotoSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings2)->get_ConcurrentRecordAndPhotoSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IMediaCaptureSettings2<D>::ConcurrentRecordAndPhotoSequenceSupported() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureSettings2<D>::ConcurrentRecordAndPhotoSequenceSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings2)->get_ConcurrentRecordAndPhotoSequenceSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IMediaCaptureSettings2<D>::CameraSoundRequiredForRegion() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureSettings2<D>::CameraSoundRequiredForRegion() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings2)->get_CameraSoundRequiredForRegion(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Capture_IMediaCaptureSettings2<D>::Horizontal35mmEquivalentFocalLength() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureSettings2<D>::Horizontal35mmEquivalentFocalLength() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings2)->get_Horizontal35mmEquivalentFocalLength(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Media_Capture_IMediaCaptureSettings2<D>::PitchOffsetDegrees() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureSettings2<D>::PitchOffsetDegrees() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings2)->get_PitchOffsetDegrees(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Capture_IMediaCaptureSettings2<D>::Vertical35mmEquivalentFocalLength() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureSettings2<D>::Vertical35mmEquivalentFocalLength() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings2)->get_Vertical35mmEquivalentFocalLength(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCategory) consume_Windows_Media_Capture_IMediaCaptureSettings2<D>::MediaCategory() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureSettings2<D>::MediaCategory() const
{
winrt::Windows::Media::Capture::MediaCategory value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings2)->get_MediaCategory(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AudioProcessing) consume_Windows_Media_Capture_IMediaCaptureSettings2<D>::AudioProcessing() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureSettings2<D>::AudioProcessing() const
{
winrt::Windows::Media::AudioProcessing value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureSettings2)->get_AudioProcessing(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice) consume_Windows_Media_Capture_IMediaCaptureSettings3<D>::Direct3D11Device() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureSettings3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IMediaCaptureStatics<D>::IsVideoProfileSupported(param::hstring const& videoDeviceId) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfile>) consume_Windows_Media_Capture_IMediaCaptureStatics<D>::FindAllVideoProfiles(param::hstring const& videoDeviceId) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureStatics<D>::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<winrt::Windows::Media::Capture::MediaCaptureVideoProfile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfile>) consume_Windows_Media_Capture_IMediaCaptureStatics<D>::FindConcurrentProfiles(param::hstring const& videoDeviceId) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureStatics<D>::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<winrt::Windows::Media::Capture::MediaCaptureVideoProfile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfile>) consume_Windows_Media_Capture_IMediaCaptureStatics<D>::FindKnownVideoProfiles(param::hstring const& videoDeviceId, winrt::Windows::Media::Capture::KnownVideoProfile const& name) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureStatics<D>::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<int32_t>(name), &value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_Capture_IMediaCaptureStopResult<D>::LastFrame() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureStopResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IMediaCaptureStopResult<D>::RecordDuration() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureStopResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCaptureVideoPreview<D>::StartPreviewAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoPreview<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCaptureVideoPreview<D>::StartPreviewToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoPreview<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCaptureVideoPreview<D>::StartPreviewToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, param::hstring const& customSinkActivationId, winrt::Windows::Foundation::Collections::IPropertySet const& customSinkSettings) const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoPreview<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Capture_IMediaCaptureVideoPreview<D>::StopPreviewAsync() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoPreview<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureVideoProfile<D>::Id() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoProfile<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureVideoProfile<D>::VideoDeviceId() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoProfile<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription>) consume_Windows_Media_Capture_IMediaCaptureVideoProfile<D>::SupportedPreviewMediaDescription() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoProfile<D>::SupportedPreviewMediaDescription() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfile)->get_SupportedPreviewMediaDescription(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription>) consume_Windows_Media_Capture_IMediaCaptureVideoProfile<D>::SupportedRecordMediaDescription() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoProfile<D>::SupportedRecordMediaDescription() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfile)->get_SupportedRecordMediaDescription(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription>) consume_Windows_Media_Capture_IMediaCaptureVideoProfile<D>::SupportedPhotoMediaDescription() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoProfile<D>::SupportedPhotoMediaDescription() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfile)->get_SupportedPhotoMediaDescription(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfile>) consume_Windows_Media_Capture_IMediaCaptureVideoProfile<D>::GetConcurrency() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoProfile<D>::GetConcurrency() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfile)->GetConcurrency(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::Frames::MediaFrameSourceInfo>) consume_Windows_Media_Capture_IMediaCaptureVideoProfile2<D>::FrameSourceInfos() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoProfile2<D>::FrameSourceInfos() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfile2)->get_FrameSourceInfos(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::Frames::MediaFrameSourceInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>) consume_Windows_Media_Capture_IMediaCaptureVideoProfile2<D>::Properties() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoProfile2<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfile2)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription<D>::Width() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription<D>::Width() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription<D>::Height() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription<D>::Height() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription)->get_Height(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription<D>::FrameRate() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription<D>::FrameRate() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription)->get_FrameRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription<D>::IsVariablePhotoSequenceSupported() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription<D>::IsVariablePhotoSequenceSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription)->get_IsVariablePhotoSequenceSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription<D>::IsHdrVideoSupported() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription<D>::IsHdrVideoSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription)->get_IsHdrVideoSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription2<D>::Subtype() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>) consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription2<D>::Properties() const
+ template <typename D> auto consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription2<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription2)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) consume_Windows_Media_Capture_IOptionalReferencePhotoCapturedEventArgs<D>::Frame() const
+ template <typename D> auto consume_Windows_Media_Capture_IOptionalReferencePhotoCapturedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Media_Capture_IOptionalReferencePhotoCapturedEventArgs<D>::Context() const
+ template <typename D> auto consume_Windows_Media_Capture_IOptionalReferencePhotoCapturedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) consume_Windows_Media_Capture_IPhotoCapturedEventArgs<D>::Frame() const
+ template <typename D> auto consume_Windows_Media_Capture_IPhotoCapturedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) consume_Windows_Media_Capture_IPhotoCapturedEventArgs<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_Media_Capture_IPhotoCapturedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IPhotoCapturedEventArgs<D>::CaptureTimeOffset() const
+ template <typename D> auto consume_Windows_Media_Capture_IPhotoCapturedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrame) consume_Windows_Media_Capture_IPhotoConfirmationCapturedEventArgs<D>::Frame() const
+ template <typename D> auto consume_Windows_Media_Capture_IPhotoConfirmationCapturedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Capture_IPhotoConfirmationCapturedEventArgs<D>::CaptureTimeOffset() const
+ template <typename D> auto consume_Windows_Media_Capture_IPhotoConfirmationCapturedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaSource) consume_Windows_Media_Capture_IScreenCapture<D>::AudioSource() const
+ template <typename D> auto consume_Windows_Media_Capture_IScreenCapture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaSource) consume_Windows_Media_Capture_IScreenCapture<D>::VideoSource() const
+ template <typename D> auto consume_Windows_Media_Capture_IScreenCapture<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IScreenCapture<D>::IsAudioSuspended() const
+ template <typename D> auto consume_Windows_Media_Capture_IScreenCapture<D>::IsAudioSuspended() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IScreenCapture)->get_IsAudioSuspended(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_IScreenCapture<D>::IsVideoSuspended() const
+ template <typename D> auto consume_Windows_Media_Capture_IScreenCapture<D>::IsVideoSuspended() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IScreenCapture)->get_IsVideoSuspended(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Capture_IScreenCapture<D>::SourceSuspensionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::ScreenCapture, winrt::Windows::Media::Capture::SourceSuspensionChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IScreenCapture<D>::SourceSuspensionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::ScreenCapture, winrt::Windows::Media::Capture::SourceSuspensionChangedEventArgs> 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 D> typename consume_Windows_Media_Capture_IScreenCapture<D>::SourceSuspensionChanged_revoker consume_Windows_Media_Capture_IScreenCapture<D>::SourceSuspensionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::ScreenCapture, winrt::Windows::Media::Capture::SourceSuspensionChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Capture_IScreenCapture<D>::SourceSuspensionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::ScreenCapture, winrt::Windows::Media::Capture::SourceSuspensionChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SourceSuspensionChanged_revoker>(this, SourceSuspensionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Capture_IScreenCapture<D>::SourceSuspensionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Capture_IScreenCapture<D>::SourceSuspensionChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IScreenCapture)->remove_SourceSuspensionChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::ScreenCapture) consume_Windows_Media_Capture_IScreenCaptureStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_Media_Capture_IScreenCaptureStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_ISourceSuspensionChangedEventArgs<D>::IsAudioSuspended() const
+ template <typename D> auto consume_Windows_Media_Capture_ISourceSuspensionChangedEventArgs<D>::IsAudioSuspended() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ISourceSuspensionChangedEventArgs)->get_IsAudioSuspended(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Capture_ISourceSuspensionChangedEventArgs<D>::IsVideoSuspended() const
+ template <typename D> auto consume_Windows_Media_Capture_ISourceSuspensionChangedEventArgs<D>::IsVideoSuspended() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::ISourceSuspensionChangedEventArgs)->get_IsVideoSuspended(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_Capture_IVideoStreamConfiguration<D>::InputProperties() const
+ template <typename D> auto consume_Windows_Media_Capture_IVideoStreamConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_Capture_IVideoStreamConfiguration<D>::OutputProperties() const
+ template <typename D> auto consume_Windows_Media_Capture_IVideoStreamConfiguration<D>::OutputProperties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Capture::IVideoStreamConfiguration)->get_OutputProperties(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Casting.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Casting.h
index b4895f8aab1..9d4b2a17e1e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Casting.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingConnectionState) consume_Windows_Media_Casting_ICastingConnection<D>::State() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingConnection<D>::State() const
{
winrt::Windows::Media::Casting::CastingConnectionState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnection)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingDevice) consume_Windows_Media_Casting_ICastingConnection<D>::Device() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingSource) consume_Windows_Media_Casting_ICastingConnection<D>::Source() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingConnection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingConnection<D>::Source(winrt::Windows::Media::Casting::CastingSource const& value) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingConnection<D>::Source(winrt::Windows::Media::Casting::CastingSource const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnection)->put_Source(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Casting_ICastingConnection<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingConnection, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingConnection<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingConnection, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Casting_ICastingConnection<D>::StateChanged_revoker consume_Windows_Media_Casting_ICastingConnection<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingConnection, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingConnection<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingConnection, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, StateChanged_revoker>(this, StateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingConnection<D>::StateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Casting_ICastingConnection<D>::StateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnection)->remove_StateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Casting_ICastingConnection<D>::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingConnection, winrt::Windows::Media::Casting::CastingConnectionErrorOccurredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingConnection<D>::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingConnection, winrt::Windows::Media::Casting::CastingConnectionErrorOccurredEventArgs> 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 D> typename consume_Windows_Media_Casting_ICastingConnection<D>::ErrorOccurred_revoker consume_Windows_Media_Casting_ICastingConnection<D>::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingConnection, winrt::Windows::Media::Casting::CastingConnectionErrorOccurredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingConnection<D>::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingConnection, winrt::Windows::Media::Casting::CastingConnectionErrorOccurredEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ErrorOccurred_revoker>(this, ErrorOccurred(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingConnection<D>::ErrorOccurred(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Casting_ICastingConnection<D>::ErrorOccurred(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnection)->remove_ErrorOccurred(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Casting::CastingConnectionErrorStatus>) consume_Windows_Media_Casting_ICastingConnection<D>::RequestStartCastingAsync(winrt::Windows::Media::Casting::CastingSource const& value) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingConnection<D>::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<winrt::Windows::Media::Casting::CastingConnectionErrorStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Casting::CastingConnectionErrorStatus>) consume_Windows_Media_Casting_ICastingConnection<D>::DisconnectAsync() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingConnection<D>::DisconnectAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnection)->DisconnectAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Casting::CastingConnectionErrorStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingConnectionErrorStatus) consume_Windows_Media_Casting_ICastingConnectionErrorOccurredEventArgs<D>::ErrorStatus() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingConnectionErrorOccurredEventArgs<D>::ErrorStatus() const
{
winrt::Windows::Media::Casting::CastingConnectionErrorStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingConnectionErrorOccurredEventArgs)->get_ErrorStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Casting_ICastingConnectionErrorOccurredEventArgs<D>::Message() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingConnectionErrorOccurredEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Casting_ICastingDevice<D>::Id() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevice<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Casting_ICastingDevice<D>::FriendlyName() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) consume_Windows_Media_Casting_ICastingDevice<D>::Icon() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Casting::CastingPlaybackTypes>) consume_Windows_Media_Casting_ICastingDevice<D>::GetSupportedCastingPlaybackTypesAsync() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevice<D>::GetSupportedCastingPlaybackTypesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevice)->GetSupportedCastingPlaybackTypesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Casting::CastingPlaybackTypes>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingConnection) consume_Windows_Media_Casting_ICastingDevice<D>::CreateCastingConnection() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingDevicePickerFilter) consume_Windows_Media_Casting_ICastingDevicePicker<D>::Filter() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePicker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePickerAppearance) consume_Windows_Media_Casting_ICastingDevicePicker<D>::Appearance() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePicker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Casting_ICastingDevicePicker<D>::CastingDeviceSelected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingDevicePicker, winrt::Windows::Media::Casting::CastingDeviceSelectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePicker<D>::CastingDeviceSelected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingDevicePicker, winrt::Windows::Media::Casting::CastingDeviceSelectedEventArgs> 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 D> typename consume_Windows_Media_Casting_ICastingDevicePicker<D>::CastingDeviceSelected_revoker consume_Windows_Media_Casting_ICastingDevicePicker<D>::CastingDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingDevicePicker, winrt::Windows::Media::Casting::CastingDeviceSelectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePicker<D>::CastingDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingDevicePicker, winrt::Windows::Media::Casting::CastingDeviceSelectedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CastingDeviceSelected_revoker>(this, CastingDeviceSelected(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingDevicePicker<D>::CastingDeviceSelected(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePicker<D>::CastingDeviceSelected(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePicker)->remove_CastingDeviceSelected(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Casting_ICastingDevicePicker<D>::CastingDevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingDevicePicker, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePicker<D>::CastingDevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingDevicePicker, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Casting_ICastingDevicePicker<D>::CastingDevicePickerDismissed_revoker consume_Windows_Media_Casting_ICastingDevicePicker<D>::CastingDevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingDevicePicker, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePicker<D>::CastingDevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingDevicePicker, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, CastingDevicePickerDismissed_revoker>(this, CastingDevicePickerDismissed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingDevicePicker<D>::CastingDevicePickerDismissed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePicker<D>::CastingDevicePickerDismissed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePicker)->remove_CastingDevicePickerDismissed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingDevicePicker<D>::Show(winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePicker<D>::Show(winrt::Windows::Foundation::Rect const& selection) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePicker)->Show(impl::bind_in(selection)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingDevicePicker<D>::Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePicker<D>::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<int32_t>(preferredPlacement)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingDevicePicker<D>::Hide() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePicker<D>::Hide() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePicker)->Hide());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Casting_ICastingDevicePickerFilter<D>::SupportsAudio() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePickerFilter<D>::SupportsAudio() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePickerFilter)->get_SupportsAudio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingDevicePickerFilter<D>::SupportsAudio(bool value) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePickerFilter<D>::SupportsAudio(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePickerFilter)->put_SupportsAudio(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Casting_ICastingDevicePickerFilter<D>::SupportsVideo() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePickerFilter<D>::SupportsVideo() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePickerFilter)->get_SupportsVideo(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingDevicePickerFilter<D>::SupportsVideo(bool value) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePickerFilter<D>::SupportsVideo(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePickerFilter)->put_SupportsVideo(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Casting_ICastingDevicePickerFilter<D>::SupportsPictures() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePickerFilter<D>::SupportsPictures() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePickerFilter)->get_SupportsPictures(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingDevicePickerFilter<D>::SupportsPictures(bool value) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePickerFilter<D>::SupportsPictures(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePickerFilter)->put_SupportsPictures(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Casting::CastingSource>) consume_Windows_Media_Casting_ICastingDevicePickerFilter<D>::SupportedCastingSources() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDevicePickerFilter<D>::SupportedCastingSources() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDevicePickerFilter)->get_SupportedCastingSources(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Casting::CastingSource>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingDevice) consume_Windows_Media_Casting_ICastingDeviceSelectedEventArgs<D>::SelectedCastingDevice() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDeviceSelectedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Casting_ICastingDeviceStatics<D>::GetDeviceSelector(winrt::Windows::Media::Casting::CastingPlaybackTypes const& type) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDeviceStatics<D>::GetDeviceSelector(winrt::Windows::Media::Casting::CastingPlaybackTypes const& type) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Casting::ICastingDeviceStatics)->GetDeviceSelector(static_cast<uint32_t>(type), &value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Media_Casting_ICastingDeviceStatics<D>::GetDeviceSelectorFromCastingSourceAsync(winrt::Windows::Media::Casting::CastingSource const& castingSource) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDeviceStatics<D>::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<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Casting::CastingDevice>) consume_Windows_Media_Casting_ICastingDeviceStatics<D>::FromIdAsync(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDeviceStatics<D>::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<winrt::Windows::Media::Casting::CastingDevice>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_Casting_ICastingDeviceStatics<D>::DeviceInfoSupportsCastingAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingDeviceStatics<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Casting_ICastingSource<D>::PreferredSourceUri() const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Casting_ICastingSource<D>::PreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Media_Casting_ICastingSource<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.ClosedCaptioning.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.ClosedCaptioning.h
index f6945eac92a..12a2bb7bcea 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.ClosedCaptioning.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionColor) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::FontColor() const
+ template <typename D> auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::FontColor() const
{
winrt::Windows::Media::ClosedCaptioning::ClosedCaptionColor value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_FontColor(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::ComputedFontColor() const
+ template <typename D> auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionOpacity) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::FontOpacity() const
+ template <typename D> auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::FontOpacity() const
{
winrt::Windows::Media::ClosedCaptioning::ClosedCaptionOpacity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_FontOpacity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionSize) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::FontSize() const
+ template <typename D> auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::FontSize() const
{
winrt::Windows::Media::ClosedCaptioning::ClosedCaptionSize value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_FontSize(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionStyle) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::FontStyle() const
+ template <typename D> auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::FontStyle() const
{
winrt::Windows::Media::ClosedCaptioning::ClosedCaptionStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_FontStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionEdgeEffect) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::FontEffect() const
+ template <typename D> auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::FontEffect() const
{
winrt::Windows::Media::ClosedCaptioning::ClosedCaptionEdgeEffect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_FontEffect(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionColor) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::BackgroundColor() const
+ template <typename D> auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::BackgroundColor() const
{
winrt::Windows::Media::ClosedCaptioning::ClosedCaptionColor value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_BackgroundColor(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::ComputedBackgroundColor() const
+ template <typename D> auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionOpacity) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::BackgroundOpacity() const
+ template <typename D> auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::BackgroundOpacity() const
{
winrt::Windows::Media::ClosedCaptioning::ClosedCaptionOpacity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_BackgroundOpacity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionColor) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::RegionColor() const
+ template <typename D> auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::RegionColor() const
{
winrt::Windows::Media::ClosedCaptioning::ClosedCaptionColor value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_RegionColor(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::ComputedRegionColor() const
+ template <typename D> auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::ClosedCaptioning::ClosedCaptionOpacity) consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::RegionOpacity() const
+ template <typename D> auto consume_Windows_Media_ClosedCaptioning_IClosedCaptionPropertiesStatics<D>::RegionOpacity() const
{
winrt::Windows::Media::ClosedCaptioning::ClosedCaptionOpacity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics)->get_RegionOpacity(reinterpret_cast<int32_t*>(&value)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.ContentRestrictions.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.ContentRestrictions.h
index 4731433a1c0..29a52403ce6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.ContentRestrictions.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_ContentRestrictions_IContentRestrictionsBrowsePolicy<D>::GeographicRegion() const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IContentRestrictionsBrowsePolicy<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_ContentRestrictions_IContentRestrictionsBrowsePolicy<D>::MaxBrowsableAgeRating() const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IContentRestrictionsBrowsePolicy<D>::MaxBrowsableAgeRating() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IContentRestrictionsBrowsePolicy)->get_MaxBrowsableAgeRating(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_ContentRestrictions_IContentRestrictionsBrowsePolicy<D>::PreferredAgeRating() const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IContentRestrictionsBrowsePolicy<D>::PreferredAgeRating() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IContentRestrictionsBrowsePolicy)->get_PreferredAgeRating(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::Id() const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::Id(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::Id(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescription)->put_Id(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::Title() const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescription)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::Image() const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescription)->put_Image(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::ContentRestrictions::RatedContentCategory) consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::Category() const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::Category() const
{
winrt::Windows::Media::ContentRestrictions::RatedContentCategory value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescription)->get_Category(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::Category(winrt::Windows::Media::ContentRestrictions::RatedContentCategory const& value) const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::Category(winrt::Windows::Media::ContentRestrictions::RatedContentCategory const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescription)->put_Category(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::Ratings() const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::Ratings() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescription)->get_Ratings(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::Ratings(param::vector<hstring> const& value) const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentDescription<D>::Ratings(param::vector<hstring> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentDescription)->put_Ratings(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::ContentRestrictions::RatedContentDescription) consume_Windows_Media_ContentRestrictions_IRatedContentDescriptionFactory<D>::Create(param::hstring const& id, param::hstring const& title, winrt::Windows::Media::ContentRestrictions::RatedContentCategory const& category) const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentDescriptionFactory<D>::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<int32_t>(category), &RatedContentDescription));
return winrt::Windows::Media::ContentRestrictions::RatedContentDescription{ RatedContentDescription, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::ContentRestrictions::ContentRestrictionsBrowsePolicy>) consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions<D>::GetBrowsePolicyAsync() const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions<D>::GetBrowsePolicyAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentRestrictions)->GetBrowsePolicyAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::ContentRestrictions::ContentRestrictionsBrowsePolicy>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::ContentRestrictions::ContentAccessRestrictionLevel>) consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions<D>::GetRestrictionLevelAsync(winrt::Windows::Media::ContentRestrictions::RatedContentDescription const& RatedContentDescription) const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions<D>::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<winrt::Windows::Media::ContentRestrictions::ContentAccessRestrictionLevel>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions<D>::RequestContentAccessAsync(winrt::Windows::Media::ContentRestrictions::RatedContentDescription const& RatedContentDescription) const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions<D>::RestrictionsChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions<D>::RestrictionsChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions<D>::RestrictionsChanged_revoker consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions<D>::RestrictionsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions<D>::RestrictionsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, RestrictionsChanged_revoker>(this, RestrictionsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions<D>::RestrictionsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions<D>::RestrictionsChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentRestrictions)->remove_RestrictionsChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::ContentRestrictions::RatedContentRestrictions) consume_Windows_Media_ContentRestrictions_IRatedContentRestrictionsFactory<D>::CreateWithMaxAgeRating(uint32_t maxAgeRating) const
+ template <typename D> auto consume_Windows_Media_ContentRestrictions_IRatedContentRestrictionsFactory<D>::CreateWithMaxAgeRating(uint32_t maxAgeRating) const
{
void* ratedContentRestrictions{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ContentRestrictions::IRatedContentRestrictionsFactory)->CreateWithMaxAgeRating(maxAgeRating, &ratedContentRestrictions));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Control.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Control.h
index 770f0e61f67..c4183ca2634 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Control.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::SourceAppUserModelId() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionMediaProperties>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryGetMediaPropertiesAsync() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryGetMediaPropertiesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryGetMediaPropertiesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionMediaProperties>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionTimelineProperties) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::GetTimelineProperties() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionPlaybackInfo) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::GetPlaybackInfo() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryPlayAsync() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryPlayAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryPlayAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryPauseAsync() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryPauseAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryPauseAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryStopAsync() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryStopAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryStopAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryRecordAsync() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryRecordAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryRecordAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryFastForwardAsync() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryFastForwardAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryFastForwardAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryRewindAsync() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryRewindAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryRewindAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TrySkipNextAsync() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TrySkipNextAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TrySkipNextAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TrySkipPreviousAsync() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TrySkipPreviousAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TrySkipPreviousAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryChangeChannelUpAsync() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryChangeChannelUpAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryChangeChannelUpAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryChangeChannelDownAsync() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryChangeChannelDownAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryChangeChannelDownAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryTogglePlayPauseAsync() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryTogglePlayPauseAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryTogglePlayPauseAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryChangeAutoRepeatModeAsync(winrt::Windows::Media::MediaPlaybackAutoRepeatMode const& requestedAutoRepeatMode) const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryChangeAutoRepeatModeAsync(winrt::Windows::Media::MediaPlaybackAutoRepeatMode const& requestedAutoRepeatMode) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryChangeAutoRepeatModeAsync(static_cast<int32_t>(requestedAutoRepeatMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryChangePlaybackRateAsync(double requestedPlaybackRate) const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryChangePlaybackRateAsync(double requestedPlaybackRate) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryChangePlaybackRateAsync(requestedPlaybackRate, &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryChangeShuffleActiveAsync(bool requestedShuffleState) const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryChangeShuffleActiveAsync(bool requestedShuffleState) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->TryChangeShuffleActiveAsync(requestedShuffleState, &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TryChangePlaybackPositionAsync(int64_t requestedPlaybackPosition) const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TimelinePropertiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::TimelinePropertiesChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TimelinePropertiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::TimelinePropertiesChangedEventArgs> 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 D> typename consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TimelinePropertiesChanged_revoker consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TimelinePropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::TimelinePropertiesChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TimelinePropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::TimelinePropertiesChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TimelinePropertiesChanged_revoker>(this, TimelinePropertiesChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TimelinePropertiesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::TimelinePropertiesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->remove_TimelinePropertiesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::PlaybackInfoChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::PlaybackInfoChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::PlaybackInfoChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::PlaybackInfoChangedEventArgs> 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 D> typename consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::PlaybackInfoChanged_revoker consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::PlaybackInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::PlaybackInfoChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::PlaybackInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::PlaybackInfoChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PlaybackInfoChanged_revoker>(this, PlaybackInfoChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::PlaybackInfoChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::PlaybackInfoChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->remove_PlaybackInfoChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::MediaPropertiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::MediaPropertiesChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::MediaPropertiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::MediaPropertiesChangedEventArgs> 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 D> typename consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::MediaPropertiesChanged_revoker consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::MediaPropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::MediaPropertiesChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::MediaPropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::MediaPropertiesChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MediaPropertiesChanged_revoker>(this, MediaPropertiesChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::MediaPropertiesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession<D>::MediaPropertiesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession)->remove_MediaPropertiesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::GetCurrentSession() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::GetSessions() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::GetSessions() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManager)->GetSessions(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::CurrentSessionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager, winrt::Windows::Media::Control::CurrentSessionChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::CurrentSessionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager, winrt::Windows::Media::Control::CurrentSessionChangedEventArgs> 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 D> typename consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::CurrentSessionChanged_revoker consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::CurrentSessionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager, winrt::Windows::Media::Control::CurrentSessionChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::CurrentSessionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager, winrt::Windows::Media::Control::CurrentSessionChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CurrentSessionChanged_revoker>(this, CurrentSessionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::CurrentSessionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::CurrentSessionChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManager)->remove_CurrentSessionChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::SessionsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager, winrt::Windows::Media::Control::SessionsChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::SessionsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager, winrt::Windows::Media::Control::SessionsChangedEventArgs> 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 D> typename consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::SessionsChanged_revoker consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::SessionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager, winrt::Windows::Media::Control::SessionsChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::SessionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager, winrt::Windows::Media::Control::SessionsChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SessionsChanged_revoker>(this, SessionsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::SessionsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager<D>::SessionsChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManager)->remove_SessionsChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManagerStatics<D>::RequestAsync() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManagerStatics<D>::RequestAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManagerStatics)->RequestAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::Title() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::Subtitle() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::AlbumArtist() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::Artist() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::AlbumTitle() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::TrackNumber() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::TrackNumber() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties)->get_TrackNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::Genres() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::Genres() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties)->get_Genres(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::AlbumTrackCount() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::AlbumTrackCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties)->get_AlbumTrackCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Media::MediaPlaybackType>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::PlaybackType() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::PlaybackType() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties)->get_PlaybackType(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Media::MediaPlaybackType>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionMediaProperties<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsPlayEnabled() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsPlayEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsPlayEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsPauseEnabled() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsPauseEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsPauseEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsStopEnabled() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsStopEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsStopEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsRecordEnabled() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsRecordEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsRecordEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsFastForwardEnabled() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsFastForwardEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsFastForwardEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsRewindEnabled() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsRewindEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsRewindEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsNextEnabled() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsNextEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsNextEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsPreviousEnabled() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsPreviousEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsPreviousEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsChannelUpEnabled() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsChannelUpEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsChannelUpEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsChannelDownEnabled() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsChannelDownEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsChannelDownEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsPlayPauseToggleEnabled() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsPlayPauseToggleEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsPlayPauseToggleEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsShuffleEnabled() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsShuffleEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsShuffleEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsRepeatEnabled() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsRepeatEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsRepeatEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsPlaybackRateEnabled() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsPlaybackRateEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsPlaybackRateEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsPlaybackPositionEnabled() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackControls<D>::IsPlaybackPositionEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls)->get_IsPlaybackPositionEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionPlaybackControls) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo<D>::Controls() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionPlaybackStatus) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo<D>::PlaybackStatus() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo<D>::PlaybackStatus() const
{
winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionPlaybackStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackInfo)->get_PlaybackStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Media::MediaPlaybackType>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo<D>::PlaybackType() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo<D>::PlaybackType() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackInfo)->get_PlaybackType(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Media::MediaPlaybackType>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Media::MediaPlaybackAutoRepeatMode>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo<D>::AutoRepeatMode() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo<D>::AutoRepeatMode() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackInfo)->get_AutoRepeatMode(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Media::MediaPlaybackAutoRepeatMode>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo<D>::PlaybackRate() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo<D>::PlaybackRate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackInfo)->get_PlaybackRate(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo<D>::IsShuffleActive() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionPlaybackInfo<D>::IsShuffleActive() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackInfo)->get_IsShuffleActive(&value));
return winrt::Windows::Foundation::IReference<bool>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties<D>::StartTime() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties<D>::EndTime() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties<D>::MinSeekTime() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties<D>::MaxSeekTime() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties<D>::LastUpdatedTime() const
+ template <typename D> auto consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionTimelineProperties<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Core.Preview.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Core.Preview.h
index c276cb2c43e..a9301b0542a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Core.Preview.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SoundLevel) consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics<D>::SoundLevel() const
+ template <typename D> auto consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics<D>::SoundLevel() const
{
winrt::Windows::Media::SoundLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::Preview::ISoundLevelBrokerStatics)->get_SoundLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics<D>::SoundLevelChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics<D>::SoundLevelChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics<D>::SoundLevelChanged_revoker consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics<D>::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics<D>::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SoundLevelChanged_revoker>(this, SoundLevelChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics<D>::SoundLevelChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_Preview_ISoundLevelBrokerStatics<D>::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<SoundLevelBroker, ISoundLevelBrokerStatics>([&](ISoundLevelBrokerStatics const& f) { return f.SoundLevelChanged(handler); });
}
- inline SoundLevelBroker::SoundLevelChanged_revoker SoundLevelBroker::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto SoundLevelBroker::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<SoundLevelBroker, winrt::Windows::Media::Core::Preview::ISoundLevelBrokerStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Core.h
index b6c39ba932e..776b4042b09 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Core_IAudioStreamDescriptor<D>::EncodingProperties() const
+ template <typename D> auto consume_Windows_Media_Core_IAudioStreamDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IAudioStreamDescriptor2<D>::LeadingEncoderPadding(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IAudioStreamDescriptor2<D>::LeadingEncoderPadding(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioStreamDescriptor2)->put_LeadingEncoderPadding(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Core_IAudioStreamDescriptor2<D>::LeadingEncoderPadding() const
+ template <typename D> auto consume_Windows_Media_Core_IAudioStreamDescriptor2<D>::LeadingEncoderPadding() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioStreamDescriptor2)->get_LeadingEncoderPadding(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IAudioStreamDescriptor2<D>::TrailingEncoderPadding(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IAudioStreamDescriptor2<D>::TrailingEncoderPadding(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioStreamDescriptor2)->put_TrailingEncoderPadding(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Core_IAudioStreamDescriptor2<D>::TrailingEncoderPadding() const
+ template <typename D> auto consume_Windows_Media_Core_IAudioStreamDescriptor2<D>::TrailingEncoderPadding() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioStreamDescriptor2)->get_TrailingEncoderPadding(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::AudioStreamDescriptor) consume_Windows_Media_Core_IAudioStreamDescriptor3<D>::Copy() const
+ template <typename D> auto consume_Windows_Media_Core_IAudioStreamDescriptor3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::AudioStreamDescriptor) consume_Windows_Media_Core_IAudioStreamDescriptorFactory<D>::Create(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const
+ template <typename D> auto consume_Windows_Media_Core_IAudioStreamDescriptorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IAudioTrack<D>::OpenFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::AudioTrack, winrt::Windows::Media::Core::AudioTrackOpenFailedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IAudioTrack<D>::OpenFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::AudioTrack, winrt::Windows::Media::Core::AudioTrackOpenFailedEventArgs> 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 D> typename consume_Windows_Media_Core_IAudioTrack<D>::OpenFailed_revoker consume_Windows_Media_Core_IAudioTrack<D>::OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::AudioTrack, winrt::Windows::Media::Core::AudioTrackOpenFailedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IAudioTrack<D>::OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::AudioTrack, winrt::Windows::Media::Core::AudioTrackOpenFailedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, OpenFailed_revoker>(this, OpenFailed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IAudioTrack<D>::OpenFailed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IAudioTrack<D>::OpenFailed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioTrack)->remove_OpenFailed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Core_IAudioTrack<D>::GetEncodingProperties() const
+ template <typename D> auto consume_Windows_Media_Core_IAudioTrack<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Core_IAudioTrack<D>::PlaybackItem() const
+ template <typename D> auto consume_Windows_Media_Core_IAudioTrack<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IAudioTrack<D>::Name() const
+ template <typename D> auto consume_Windows_Media_Core_IAudioTrack<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::AudioTrackSupportInfo) consume_Windows_Media_Core_IAudioTrack<D>::SupportInfo() const
+ template <typename D> auto consume_Windows_Media_Core_IAudioTrack<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Core_IAudioTrackOpenFailedEventArgs<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_Core_IAudioTrackOpenFailedEventArgs<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioTrackOpenFailedEventArgs)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaDecoderStatus) consume_Windows_Media_Core_IAudioTrackSupportInfo<D>::DecoderStatus() const
+ template <typename D> auto consume_Windows_Media_Core_IAudioTrackSupportInfo<D>::DecoderStatus() const
{
winrt::Windows::Media::Core::MediaDecoderStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioTrackSupportInfo)->get_DecoderStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::AudioDecoderDegradation) consume_Windows_Media_Core_IAudioTrackSupportInfo<D>::Degradation() const
+ template <typename D> auto consume_Windows_Media_Core_IAudioTrackSupportInfo<D>::Degradation() const
{
winrt::Windows::Media::Core::AudioDecoderDegradation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioTrackSupportInfo)->get_Degradation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::AudioDecoderDegradationReason) consume_Windows_Media_Core_IAudioTrackSupportInfo<D>::DegradationReason() const
+ template <typename D> auto consume_Windows_Media_Core_IAudioTrackSupportInfo<D>::DegradationReason() const
{
winrt::Windows::Media::Core::AudioDecoderDegradationReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioTrackSupportInfo)->get_DegradationReason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceStatus) consume_Windows_Media_Core_IAudioTrackSupportInfo<D>::MediaSourceStatus() const
+ template <typename D> auto consume_Windows_Media_Core_IAudioTrackSupportInfo<D>::MediaSourceStatus() const
{
winrt::Windows::Media::Core::MediaSourceStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IAudioTrackSupportInfo)->get_MediaSourceStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IChapterCue<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IChapterCue<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IChapterCue)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IChapterCue<D>::Title() const
+ template <typename D> auto consume_Windows_Media_Core_IChapterCue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::CodecKind) consume_Windows_Media_Core_ICodecInfo<D>::Kind() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecInfo<D>::Kind() const
{
winrt::Windows::Media::Core::CodecKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecInfo)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::CodecCategory) consume_Windows_Media_Core_ICodecInfo<D>::Category() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecInfo<D>::Category() const
{
winrt::Windows::Media::Core::CodecCategory value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecInfo)->get_Category(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Media_Core_ICodecInfo<D>::Subtypes() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecInfo<D>::Subtypes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecInfo)->get_Subtypes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecInfo<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecInfo<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_ICodecInfo<D>::IsTrusted() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecInfo<D>::IsTrusted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ICodecInfo)->get_IsTrusted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::CodecInfo>>) consume_Windows_Media_Core_ICodecQuery<D>::FindAllAsync(winrt::Windows::Media::Core::CodecKind const& kind, winrt::Windows::Media::Core::CodecCategory const& category, param::hstring const& subType) const
+ template <typename D> auto consume_Windows_Media_Core_ICodecQuery<D>::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<int32_t>(kind), static_cast<int32_t>(category), *(void**)(&subType), &value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::CodecInfo>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatDV25() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatDV50() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatDvc() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatDvh1() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatDvhD() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatDvsd() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatDvsl() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatH263() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatH264() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatH265() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatH264ES() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatHevc() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatHevcES() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatM4S2() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatMjpg() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatMP43() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatMP4S() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatMP4V() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatMpeg2() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatVP80() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatVP90() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatMpg1() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatMss1() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatMss2() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatWmv1() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatWmv2() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatWmv3() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormatWvc1() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::VideoFormat420O() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatAac() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatAdts() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatAlac() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatAmrNB() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatAmrWB() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatAmrWP() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatDolbyAC3() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatDolbyAC3Spdif() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatDolbyDDPlus() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatDrm() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatDts() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatFlac() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatFloat() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatMP3() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatMPeg() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatMsp1() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatOpus() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatPcm() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatWmaSpdif() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatWMAudioLossless() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatWMAudioV8() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ICodecSubtypesStatics<D>::AudioFormatWMAudioV9() const
+ template <typename D> auto consume_Windows_Media_Core_ICodecSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IDataCue<D>::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IDataCue<D>::Data(winrt::Windows::Storage::Streams::IBuffer const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IDataCue)->put_Data(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Core_IDataCue<D>::Data() const
+ template <typename D> auto consume_Windows_Media_Core_IDataCue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::PropertySet) consume_Windows_Media_Core_IDataCue2<D>::Properties() const
+ template <typename D> auto consume_Windows_Media_Core_IDataCue2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::FaceDetectionEffectFrame) consume_Windows_Media_Core_IFaceDetectedEventArgs<D>::ResultFrame() const
+ template <typename D> auto consume_Windows_Media_Core_IFaceDetectedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IFaceDetectionEffect<D>::Enabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Core_IFaceDetectionEffect<D>::Enabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffect)->put_Enabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IFaceDetectionEffect<D>::Enabled() const
+ template <typename D> auto consume_Windows_Media_Core_IFaceDetectionEffect<D>::Enabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffect)->get_Enabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IFaceDetectionEffect<D>::DesiredDetectionInterval(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IFaceDetectionEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IFaceDetectionEffect<D>::DesiredDetectionInterval() const
+ template <typename D> auto consume_Windows_Media_Core_IFaceDetectionEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IFaceDetectionEffect<D>::FaceDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::FaceDetectionEffect, winrt::Windows::Media::Core::FaceDetectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IFaceDetectionEffect<D>::FaceDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::FaceDetectionEffect, winrt::Windows::Media::Core::FaceDetectedEventArgs> 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 D> typename consume_Windows_Media_Core_IFaceDetectionEffect<D>::FaceDetected_revoker consume_Windows_Media_Core_IFaceDetectionEffect<D>::FaceDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::FaceDetectionEffect, winrt::Windows::Media::Core::FaceDetectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IFaceDetectionEffect<D>::FaceDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::FaceDetectionEffect, winrt::Windows::Media::Core::FaceDetectedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FaceDetected_revoker>(this, FaceDetected(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IFaceDetectionEffect<D>::FaceDetected(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IFaceDetectionEffect<D>::FaceDetected(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffect)->remove_FaceDetected(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IFaceDetectionEffectDefinition<D>::DetectionMode(winrt::Windows::Media::Core::FaceDetectionMode const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IFaceDetectionEffectDefinition<D>::DetectionMode(winrt::Windows::Media::Core::FaceDetectionMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffectDefinition)->put_DetectionMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::FaceDetectionMode) consume_Windows_Media_Core_IFaceDetectionEffectDefinition<D>::DetectionMode() const
+ template <typename D> auto consume_Windows_Media_Core_IFaceDetectionEffectDefinition<D>::DetectionMode() const
{
winrt::Windows::Media::Core::FaceDetectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffectDefinition)->get_DetectionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IFaceDetectionEffectDefinition<D>::SynchronousDetectionEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Core_IFaceDetectionEffectDefinition<D>::SynchronousDetectionEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffectDefinition)->put_SynchronousDetectionEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IFaceDetectionEffectDefinition<D>::SynchronousDetectionEnabled() const
+ template <typename D> auto consume_Windows_Media_Core_IFaceDetectionEffectDefinition<D>::SynchronousDetectionEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffectDefinition)->get_SynchronousDetectionEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::FaceAnalysis::DetectedFace>) consume_Windows_Media_Core_IFaceDetectionEffectFrame<D>::DetectedFaces() const
+ template <typename D> auto consume_Windows_Media_Core_IFaceDetectionEffectFrame<D>::DetectedFaces() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IFaceDetectionEffectFrame)->get_DetectedFaces(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::FaceAnalysis::DetectedFace>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IHighDynamicRangeControl<D>::Enabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Core_IHighDynamicRangeControl<D>::Enabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IHighDynamicRangeControl)->put_Enabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IHighDynamicRangeControl<D>::Enabled() const
+ template <typename D> auto consume_Windows_Media_Core_IHighDynamicRangeControl<D>::Enabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IHighDynamicRangeControl)->get_Enabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Core_IHighDynamicRangeOutput<D>::Certainty() const
+ template <typename D> auto consume_Windows_Media_Core_IHighDynamicRangeOutput<D>::Certainty() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IHighDynamicRangeOutput)->get_Certainty(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::Core::FrameController>) consume_Windows_Media_Core_IHighDynamicRangeOutput<D>::FrameControllers() const
+ template <typename D> auto consume_Windows_Media_Core_IHighDynamicRangeOutput<D>::FrameControllers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IHighDynamicRangeOutput)->get_FrameControllers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::Core::FrameController>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextPoint) consume_Windows_Media_Core_IImageCue<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Core_IImageCue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IImageCue<D>::Position(winrt::Windows::Media::Core::TimedTextPoint const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IImageCue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSize) consume_Windows_Media_Core_IImageCue<D>::Extent() const
+ template <typename D> auto consume_Windows_Media_Core_IImageCue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IImageCue<D>::Extent(winrt::Windows::Media::Core::TimedTextSize const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IImageCue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IImageCue<D>::SoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IImageCue<D>::SoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IImageCue)->put_SoftwareBitmap(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Media_Core_IImageCue<D>::SoftwareBitmap() const
+ template <typename D> auto consume_Windows_Media_Core_IImageCue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) consume_Windows_Media_Core_IInitializeMediaStreamSourceRequestedEventArgs<D>::Source() const
+ template <typename D> auto consume_Windows_Media_Core_IInitializeMediaStreamSourceRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_Media_Core_IInitializeMediaStreamSourceRequestedEventArgs<D>::RandomAccessStream() const
+ template <typename D> auto consume_Windows_Media_Core_IInitializeMediaStreamSourceRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Core_IInitializeMediaStreamSourceRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Core_IInitializeMediaStreamSourceRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Media_Core_ILowLightFusionResult<D>::Frame() const
+ template <typename D> auto consume_Windows_Media_Core_ILowLightFusionResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Imaging::BitmapPixelFormat>) consume_Windows_Media_Core_ILowLightFusionStatics<D>::SupportedBitmapPixelFormats() const
+ template <typename D> auto consume_Windows_Media_Core_ILowLightFusionStatics<D>::SupportedBitmapPixelFormats() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ILowLightFusionStatics)->get_SupportedBitmapPixelFormats(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Imaging::BitmapPixelFormat>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Core_ILowLightFusionStatics<D>::MaxSupportedFrameCount() const
+ template <typename D> auto consume_Windows_Media_Core_ILowLightFusionStatics<D>::MaxSupportedFrameCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ILowLightFusionStatics)->get_MaxSupportedFrameCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Core::LowLightFusionResult, double>) consume_Windows_Media_Core_ILowLightFusionStatics<D>::FuseAsync(param::async_iterable<winrt::Windows::Graphics::Imaging::SoftwareBitmap> const& frameSet) const
+ template <typename D> auto consume_Windows_Media_Core_ILowLightFusionStatics<D>::FuseAsync(param::async_iterable<winrt::Windows::Graphics::Imaging::SoftwareBitmap> const& frameSet) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ILowLightFusionStatics)->FuseAsync(*(void**)(&frameSet), &result));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Core::LowLightFusionResult, double>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaBinder<D>::Binding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaBinder, winrt::Windows::Media::Core::MediaBindingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaBinder<D>::Binding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaBinder, winrt::Windows::Media::Core::MediaBindingEventArgs> 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 D> typename consume_Windows_Media_Core_IMediaBinder<D>::Binding_revoker consume_Windows_Media_Core_IMediaBinder<D>::Binding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaBinder, winrt::Windows::Media::Core::MediaBindingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaBinder<D>::Binding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaBinder, winrt::Windows::Media::Core::MediaBindingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Binding_revoker>(this, Binding(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBinder<D>::Binding(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMediaBinder<D>::Binding(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBinder)->remove_Binding(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IMediaBinder<D>::Token() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaBinder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBinder<D>::Token(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaBinder<D>::Token(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBinder)->put_Token(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaBinder<D>::Source() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaBinder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaBindingEventArgs<D>::Canceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaBindingEventArgs, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaBindingEventArgs<D>::Canceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaBindingEventArgs, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Core_IMediaBindingEventArgs<D>::Canceled_revoker consume_Windows_Media_Core_IMediaBindingEventArgs<D>::Canceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaBindingEventArgs, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaBindingEventArgs<D>::Canceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaBindingEventArgs, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Canceled_revoker>(this, Canceled(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBindingEventArgs<D>::Canceled(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMediaBindingEventArgs<D>::Canceled(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBindingEventArgs)->remove_Canceled(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaBinder) consume_Windows_Media_Core_IMediaBindingEventArgs<D>::MediaBinder() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaBindingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Core_IMediaBindingEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaBindingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBindingEventArgs<D>::SetUri(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaBindingEventArgs<D>::SetUri(winrt::Windows::Foundation::Uri const& uri) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBindingEventArgs)->SetUri(*(void**)(&uri)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBindingEventArgs<D>::SetStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& contentType) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaBindingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBindingEventArgs<D>::SetStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream, param::hstring const& contentType) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaBindingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBindingEventArgs2<D>::SetAdaptiveMediaSource(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource const& mediaSource) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaBindingEventArgs2<D>::SetAdaptiveMediaSource(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource const& mediaSource) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBindingEventArgs2)->SetAdaptiveMediaSource(*(void**)(&mediaSource)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBindingEventArgs2<D>::SetStorageFile(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaBindingEventArgs2<D>::SetStorageFile(winrt::Windows::Storage::IStorageFile const& file) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBindingEventArgs2)->SetStorageFile(*(void**)(&file)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaBindingEventArgs3<D>::SetDownloadOperation(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation const& downloadOperation) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaBindingEventArgs3<D>::SetDownloadOperation(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation const& downloadOperation) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaBindingEventArgs3)->SetDownloadOperation(*(void**)(&downloadOperation)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaCue<D>::StartTime(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaCue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMediaCue<D>::StartTime() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaCue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaCue<D>::Duration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaCue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMediaCue<D>::Duration() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaCue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaCue<D>::Id(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaCue<D>::Id(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaCue)->put_Id(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IMediaCue<D>::Id() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaCue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaCue) consume_Windows_Media_Core_IMediaCueEventArgs<D>::Cue() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaCueEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaSource2<D>::OpenOperationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSource, winrt::Windows::Media::Core::MediaSourceOpenOperationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource2<D>::OpenOperationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSource, winrt::Windows::Media::Core::MediaSourceOpenOperationCompletedEventArgs> 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 D> typename consume_Windows_Media_Core_IMediaSource2<D>::OpenOperationCompleted_revoker consume_Windows_Media_Core_IMediaSource2<D>::OpenOperationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSource, winrt::Windows::Media::Core::MediaSourceOpenOperationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource2<D>::OpenOperationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSource, winrt::Windows::Media::Core::MediaSourceOpenOperationCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, OpenOperationCompleted_revoker>(this, OpenOperationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaSource2<D>::OpenOperationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource2<D>::OpenOperationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource2)->remove_OpenOperationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Media_Core_IMediaSource2<D>::CustomProperties() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Core_IMediaSource2<D>::Duration() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource2<D>::Duration() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource2)->get_Duration(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IMediaSource2<D>::IsOpen() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource2<D>::IsOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource2)->get_IsOpen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Media::Core::TimedTextSource>) consume_Windows_Media_Core_IMediaSource2<D>::ExternalTimedTextSources() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource2<D>::ExternalTimedTextSources() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource2)->get_ExternalTimedTextSources(&value));
return winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Media::Core::TimedTextSource>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Media::Core::TimedMetadataTrack>) consume_Windows_Media_Core_IMediaSource2<D>::ExternalTimedMetadataTracks() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource2<D>::ExternalTimedMetadataTracks() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource2)->get_ExternalTimedMetadataTracks(&value));
return winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Media::Core::TimedMetadataTrack>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaSource3<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSource, winrt::Windows::Media::Core::MediaSourceStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource3<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSource, winrt::Windows::Media::Core::MediaSourceStateChangedEventArgs> 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 D> typename consume_Windows_Media_Core_IMediaSource3<D>::StateChanged_revoker consume_Windows_Media_Core_IMediaSource3<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSource, winrt::Windows::Media::Core::MediaSourceStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource3<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSource, winrt::Windows::Media::Core::MediaSourceStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StateChanged_revoker>(this, StateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaSource3<D>::StateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource3<D>::StateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource3)->remove_StateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceState) consume_Windows_Media_Core_IMediaSource3<D>::State() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource3<D>::State() const
{
winrt::Windows::Media::Core::MediaSourceState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource3)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaSource3<D>::Reset() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource3<D>::Reset() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSource3)->Reset());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource) consume_Windows_Media_Core_IMediaSource4<D>::AdaptiveMediaSource() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) consume_Windows_Media_Core_IMediaSource4<D>::MediaStreamSource() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseStreamSource) consume_Windows_Media_Core_IMediaSource4<D>::MseStreamSource() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Core_IMediaSource4<D>::Uri() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Core_IMediaSource4<D>::OpenAsync() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation) consume_Windows_Media_Core_IMediaSource5<D>::DownloadOperation() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSource5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaSourceAppServiceConnection<D>::InitializeMediaStreamSourceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSourceAppServiceConnection, winrt::Windows::Media::Core::InitializeMediaStreamSourceRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceAppServiceConnection<D>::InitializeMediaStreamSourceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSourceAppServiceConnection, winrt::Windows::Media::Core::InitializeMediaStreamSourceRequestedEventArgs> 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 D> typename consume_Windows_Media_Core_IMediaSourceAppServiceConnection<D>::InitializeMediaStreamSourceRequested_revoker consume_Windows_Media_Core_IMediaSourceAppServiceConnection<D>::InitializeMediaStreamSourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSourceAppServiceConnection, winrt::Windows::Media::Core::InitializeMediaStreamSourceRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceAppServiceConnection<D>::InitializeMediaStreamSourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSourceAppServiceConnection, winrt::Windows::Media::Core::InitializeMediaStreamSourceRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, InitializeMediaStreamSourceRequested_revoker>(this, InitializeMediaStreamSourceRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaSourceAppServiceConnection<D>::InitializeMediaStreamSourceRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceAppServiceConnection<D>::InitializeMediaStreamSourceRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceAppServiceConnection)->remove_InitializeMediaStreamSourceRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaSourceAppServiceConnection<D>::Start() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceAppServiceConnection<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceAppServiceConnection)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceAppServiceConnection) consume_Windows_Media_Core_IMediaSourceAppServiceConnectionFactory<D>::Create(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& appServiceConnection) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceAppServiceConnectionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Core_IMediaSourceError<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceError<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceError)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceError) consume_Windows_Media_Core_IMediaSourceOpenOperationCompletedEventArgs<D>::Error() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceOpenOperationCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceState) consume_Windows_Media_Core_IMediaSourceStateChangedEventArgs<D>::OldState() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceStateChangedEventArgs<D>::OldState() const
{
winrt::Windows::Media::Core::MediaSourceState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceStateChangedEventArgs)->get_OldState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceState) consume_Windows_Media_Core_IMediaSourceStateChangedEventArgs<D>::NewState() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceStateChangedEventArgs<D>::NewState() const
{
winrt::Windows::Media::Core::MediaSourceState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaSourceStateChangedEventArgs)->get_NewState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics<D>::CreateFromAdaptiveMediaSource(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource const& mediaSource) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics<D>::CreateFromMediaStreamSource(winrt::Windows::Media::Core::MediaStreamSource const& mediaSource) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics<D>::CreateFromMseStreamSource(winrt::Windows::Media::Core::MseStreamSource const& mediaSource) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics<D>::CreateFromIMediaSource(winrt::Windows::Media::Core::IMediaSource const& mediaSource) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics<D>::CreateFromStorageFile(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics<D>::CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& contentType) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics<D>::CreateFromStreamReference(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& stream, param::hstring const& contentType) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics<D>::CreateFromUri(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics2<D>::CreateFromMediaBinder(winrt::Windows::Media::Core::MediaBinder const& binder) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics3<D>::CreateFromMediaFrameSource(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& frameSource) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Core_IMediaSourceStatics4<D>::CreateFromDownloadOperation(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation const& downloadOperation) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaSourceStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IMediaStreamDescriptor<D>::IsSelected() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamDescriptor<D>::IsSelected() const
{
bool selected{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamDescriptor)->get_IsSelected(&selected));
return selected;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamDescriptor<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamDescriptor<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamDescriptor)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IMediaStreamDescriptor<D>::Name() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamDescriptor<D>::Language(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamDescriptor<D>::Language(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamDescriptor)->put_Language(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IMediaStreamDescriptor<D>::Language() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamDescriptor2<D>::Label(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamDescriptor2<D>::Label(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamDescriptor2)->put_Label(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IMediaStreamDescriptor2<D>::Label() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamDescriptor2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaStreamSample<D>::Processed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSample, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSample<D>::Processed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSample, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Core_IMediaStreamSample<D>::Processed_revoker consume_Windows_Media_Core_IMediaStreamSample<D>::Processed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSample, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSample<D>::Processed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSample, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Processed_revoker>(this, Processed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSample<D>::Processed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSample<D>::Processed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->remove_Processed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::Buffer) consume_Windows_Media_Core_IMediaStreamSample<D>::Buffer() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSample<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMediaStreamSample<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSample<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSamplePropertySet) consume_Windows_Media_Core_IMediaStreamSample<D>::ExtendedProperties() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSample<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSampleProtectionProperties) consume_Windows_Media_Core_IMediaStreamSample<D>::Protection() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSample<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSample<D>::DecodeTimestamp(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSample<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMediaStreamSample<D>::DecodeTimestamp() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSample<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSample<D>::Duration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSample<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMediaStreamSample<D>::Duration() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSample<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSample<D>::KeyFrame(bool value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSample<D>::KeyFrame(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->put_KeyFrame(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IMediaStreamSample<D>::KeyFrame() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSample<D>::KeyFrame() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->get_KeyFrame(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSample<D>::Discontinuous(bool value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSample<D>::Discontinuous(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->put_Discontinuous(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IMediaStreamSample<D>::Discontinuous() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSample<D>::Discontinuous() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSample)->get_Discontinuous(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) consume_Windows_Media_Core_IMediaStreamSample2<D>::Direct3D11Surface() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSample2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties<D>::SetKeyIdentifier(array_view<uint8_t const> value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties<D>::SetKeyIdentifier(array_view<uint8_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSampleProtectionProperties)->SetKeyIdentifier(value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties<D>::GetKeyIdentifier(com_array<uint8_t>& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties<D>::GetKeyIdentifier(com_array<uint8_t>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSampleProtectionProperties)->GetKeyIdentifier(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties<D>::SetInitializationVector(array_view<uint8_t const> value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties<D>::SetInitializationVector(array_view<uint8_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSampleProtectionProperties)->SetInitializationVector(value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties<D>::GetInitializationVector(com_array<uint8_t>& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties<D>::GetInitializationVector(com_array<uint8_t>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSampleProtectionProperties)->GetInitializationVector(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties<D>::SetSubSampleMapping(array_view<uint8_t const> value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties<D>::SetSubSampleMapping(array_view<uint8_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSampleProtectionProperties)->SetSubSampleMapping(value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties<D>::GetSubSampleMapping(com_array<uint8_t>& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties<D>::GetSubSampleMapping(com_array<uint8_t>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSampleProtectionProperties)->GetSubSampleMapping(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSample) consume_Windows_Media_Core_IMediaStreamSampleStatics<D>::CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, winrt::Windows::Foundation::TimeSpan const& timestamp) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSampleStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Core::MediaStreamSample>) consume_Windows_Media_Core_IMediaStreamSampleStatics<D>::CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, uint32_t count, winrt::Windows::Foundation::TimeSpan const& timestamp) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSampleStatics<D>::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<winrt::Windows::Media::Core::MediaStreamSample>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSample) consume_Windows_Media_Core_IMediaStreamSampleStatics2<D>::CreateFromDirect3D11Surface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Foundation::TimeSpan const& timestamp) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSampleStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaStreamSource<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceClosedEventArgs> 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 D> typename consume_Windows_Media_Core_IMediaStreamSource<D>::Closed_revoker consume_Windows_Media_Core_IMediaStreamSource<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceClosedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaStreamSource<D>::Starting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::Starting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceStartingEventArgs> 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 D> typename consume_Windows_Media_Core_IMediaStreamSource<D>::Starting_revoker consume_Windows_Media_Core_IMediaStreamSource<D>::Starting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::Starting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceStartingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Starting_revoker>(this, Starting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource<D>::Starting(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::Starting(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->remove_Starting(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaStreamSource<D>::Paused(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::Paused(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Core_IMediaStreamSource<D>::Paused_revoker consume_Windows_Media_Core_IMediaStreamSource<D>::Paused(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::Paused(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Paused_revoker>(this, Paused(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource<D>::Paused(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::Paused(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->remove_Paused(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaStreamSource<D>::SampleRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSampleRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::SampleRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSampleRequestedEventArgs> 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 D> typename consume_Windows_Media_Core_IMediaStreamSource<D>::SampleRequested_revoker consume_Windows_Media_Core_IMediaStreamSource<D>::SampleRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSampleRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::SampleRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSampleRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SampleRequested_revoker>(this, SampleRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource<D>::SampleRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::SampleRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->remove_SampleRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaStreamSource<D>::SwitchStreamsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::SwitchStreamsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequestedEventArgs> 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 D> typename consume_Windows_Media_Core_IMediaStreamSource<D>::SwitchStreamsRequested_revoker consume_Windows_Media_Core_IMediaStreamSource<D>::SwitchStreamsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::SwitchStreamsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SwitchStreamsRequested_revoker>(this, SwitchStreamsRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource<D>::SwitchStreamsRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::SwitchStreamsRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->remove_SwitchStreamsRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource<D>::NotifyError(winrt::Windows::Media::Core::MediaStreamSourceErrorStatus const& errorStatus) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::NotifyError(winrt::Windows::Media::Core::MediaStreamSourceErrorStatus const& errorStatus) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->NotifyError(static_cast<int32_t>(errorStatus)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource<D>::AddStreamDescriptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::AddStreamDescriptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->AddStreamDescriptor(*(void**)(&descriptor)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource<D>::MediaProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::MediaProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->put_MediaProtectionManager(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionManager) consume_Windows_Media_Core_IMediaStreamSource<D>::MediaProtectionManager() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource<D>::Duration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMediaStreamSource<D>::Duration() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource<D>::CanSeek(bool value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::CanSeek(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->put_CanSeek(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IMediaStreamSource<D>::CanSeek() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::CanSeek() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->get_CanSeek(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource<D>::BufferTime(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMediaStreamSource<D>::BufferTime() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource<D>::SetBufferedRange(winrt::Windows::Foundation::TimeSpan const& startOffset, winrt::Windows::Foundation::TimeSpan const& endOffset) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::MusicProperties) consume_Windows_Media_Core_IMediaStreamSource<D>::MusicProperties() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::VideoProperties) consume_Windows_Media_Core_IMediaStreamSource<D>::VideoProperties() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource<D>::Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::Thumbnail(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource)->put_Thumbnail(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Media_Core_IMediaStreamSource<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource<D>::AddProtectionKey(winrt::Windows::Media::Core::IMediaStreamDescriptor const& streamDescriptor, array_view<uint8_t const> keyIdentifier, array_view<uint8_t const> licenseData) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource<D>::AddProtectionKey(winrt::Windows::Media::Core::IMediaStreamDescriptor const& streamDescriptor, array_view<uint8_t const> keyIdentifier, array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMediaStreamSource2<D>::SampleRendered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSampleRenderedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource2<D>::SampleRendered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSampleRenderedEventArgs> 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 D> typename consume_Windows_Media_Core_IMediaStreamSource2<D>::SampleRendered_revoker consume_Windows_Media_Core_IMediaStreamSource2<D>::SampleRendered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSampleRenderedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource2<D>::SampleRendered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSampleRenderedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SampleRendered_revoker>(this, SampleRendered(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource2<D>::SampleRendered(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource2<D>::SampleRendered(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource2)->remove_SampleRendered(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource3<D>::MaxSupportedPlaybackRate(winrt::Windows::Foundation::IReference<double> const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource3<D>::MaxSupportedPlaybackRate(winrt::Windows::Foundation::IReference<double> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource3)->put_MaxSupportedPlaybackRate(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Media_Core_IMediaStreamSource3<D>::MaxSupportedPlaybackRate() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource3<D>::MaxSupportedPlaybackRate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource3)->get_MaxSupportedPlaybackRate(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSource4<D>::IsLive(bool value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource4<D>::IsLive(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource4)->put_IsLive(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IMediaStreamSource4<D>::IsLive() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSource4<D>::IsLive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSource4)->get_IsLive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceClosedRequest) consume_Windows_Media_Core_IMediaStreamSourceClosedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceClosedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceClosedReason) consume_Windows_Media_Core_IMediaStreamSourceClosedRequest<D>::Reason() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceClosedRequest<D>::Reason() const
{
winrt::Windows::Media::Core::MediaStreamSourceClosedReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceClosedRequest)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) consume_Windows_Media_Core_IMediaStreamSourceFactory<D>::CreateFromDescriptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) consume_Windows_Media_Core_IMediaStreamSourceFactory<D>::CreateFromDescriptors(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor2) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMediaStreamSourceSampleRenderedEventArgs<D>::SampleLag() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceSampleRenderedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaStreamDescriptor) consume_Windows_Media_Core_IMediaStreamSourceSampleRequest<D>::StreamDescriptor() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceSampleRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceSampleRequestDeferral) consume_Windows_Media_Core_IMediaStreamSourceSampleRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceSampleRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSourceSampleRequest<D>::Sample(winrt::Windows::Media::Core::MediaStreamSample const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceSampleRequest<D>::Sample(winrt::Windows::Media::Core::MediaStreamSample const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceSampleRequest)->put_Sample(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSample) consume_Windows_Media_Core_IMediaStreamSourceSampleRequest<D>::Sample() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceSampleRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSourceSampleRequest<D>::ReportSampleProgress(uint32_t progress) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceSampleRequest<D>::ReportSampleProgress(uint32_t progress) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceSampleRequest)->ReportSampleProgress(progress));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSourceSampleRequestDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceSampleRequestDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceSampleRequestDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceSampleRequest) consume_Windows_Media_Core_IMediaStreamSourceSampleRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceSampleRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceStartingRequest) consume_Windows_Media_Core_IMediaStreamSourceStartingEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceStartingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Core_IMediaStreamSourceStartingRequest<D>::StartPosition() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceStartingRequest<D>::StartPosition() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceStartingRequest)->get_StartPosition(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceStartingRequestDeferral) consume_Windows_Media_Core_IMediaStreamSourceStartingRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceStartingRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSourceStartingRequest<D>::SetActualStartPosition(winrt::Windows::Foundation::TimeSpan const& position) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceStartingRequest<D>::SetActualStartPosition(winrt::Windows::Foundation::TimeSpan const& position) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceStartingRequest)->SetActualStartPosition(impl::bind_in(position)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSourceStartingRequestDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceStartingRequestDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceStartingRequestDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaStreamDescriptor) consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequest<D>::OldStreamDescriptor() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaStreamDescriptor) consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequest<D>::NewStreamDescriptor() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequestDeferral) consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequestDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequestDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequestDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequest) consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IMediaTrack<D>::Id() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaTrack<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IMediaTrack<D>::Language() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaTrack<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaTrackKind) consume_Windows_Media_Core_IMediaTrack<D>::TrackKind() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaTrack<D>::TrackKind() const
{
winrt::Windows::Media::Core::MediaTrackKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaTrack)->get_TrackKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMediaTrack<D>::Label(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMediaTrack<D>::Label(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMediaTrack)->put_Label(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IMediaTrack<D>::Label() const
+ template <typename D> auto consume_Windows_Media_Core_IMediaTrack<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseSourceBuffer<D>::UpdateStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::UpdateStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Core_IMseSourceBuffer<D>::UpdateStarting_revoker consume_Windows_Media_Core_IMseSourceBuffer<D>::UpdateStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::UpdateStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, UpdateStarting_revoker>(this, UpdateStarting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer<D>::UpdateStarting(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::UpdateStarting(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->remove_UpdateStarting(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseSourceBuffer<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Core_IMseSourceBuffer<D>::Updated_revoker consume_Windows_Media_Core_IMseSourceBuffer<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Updated_revoker>(this, Updated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer<D>::Updated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::Updated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->remove_Updated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseSourceBuffer<D>::UpdateEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::UpdateEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Core_IMseSourceBuffer<D>::UpdateEnded_revoker consume_Windows_Media_Core_IMseSourceBuffer<D>::UpdateEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::UpdateEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, UpdateEnded_revoker>(this, UpdateEnded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer<D>::UpdateEnded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::UpdateEnded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->remove_UpdateEnded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseSourceBuffer<D>::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Core_IMseSourceBuffer<D>::ErrorOccurred_revoker consume_Windows_Media_Core_IMseSourceBuffer<D>::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ErrorOccurred_revoker>(this, ErrorOccurred(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer<D>::ErrorOccurred(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::ErrorOccurred(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->remove_ErrorOccurred(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseSourceBuffer<D>::Aborted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::Aborted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Core_IMseSourceBuffer<D>::Aborted_revoker consume_Windows_Media_Core_IMseSourceBuffer<D>::Aborted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::Aborted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Aborted_revoker>(this, Aborted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer<D>::Aborted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::Aborted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->remove_Aborted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseAppendMode) consume_Windows_Media_Core_IMseSourceBuffer<D>::Mode() const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::Mode() const
{
winrt::Windows::Media::Core::MseAppendMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer<D>::Mode(winrt::Windows::Media::Core::MseAppendMode const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::Mode(winrt::Windows::Media::Core::MseAppendMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->put_Mode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IMseSourceBuffer<D>::IsUpdating() const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::IsUpdating() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->get_IsUpdating(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::MseTimeRange>) consume_Windows_Media_Core_IMseSourceBuffer<D>::Buffered() const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::Buffered() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->get_Buffered(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::MseTimeRange>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMseSourceBuffer<D>::TimestampOffset() const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer<D>::TimestampOffset(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_IMseSourceBuffer<D>::AppendWindowStart() const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer<D>::AppendWindowStart(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Core_IMseSourceBuffer<D>::AppendWindowEnd() const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::AppendWindowEnd() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->get_AppendWindowEnd(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer<D>::AppendWindowEnd(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::AppendWindowEnd(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->put_AppendWindowEnd(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer<D>::AppendBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::AppendBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->AppendBuffer(*(void**)(&buffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer<D>::AppendStream(winrt::Windows::Storage::Streams::IInputStream const& stream) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::AppendStream(winrt::Windows::Storage::Streams::IInputStream const& stream) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->AppendStream(*(void**)(&stream)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer<D>::AppendStream(winrt::Windows::Storage::Streams::IInputStream const& stream, uint64_t maxSize) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer<D>::Abort() const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::Abort() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->Abort());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBuffer<D>::Remove(winrt::Windows::Foundation::TimeSpan const& start, winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& end) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBuffer<D>::Remove(winrt::Windows::Foundation::TimeSpan const& start, winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& end) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBuffer)->Remove(impl::bind_in(start), *(void**)(&end)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseSourceBufferList<D>::SourceBufferAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBufferList, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBufferList<D>::SourceBufferAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBufferList, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Core_IMseSourceBufferList<D>::SourceBufferAdded_revoker consume_Windows_Media_Core_IMseSourceBufferList<D>::SourceBufferAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBufferList, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBufferList<D>::SourceBufferAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBufferList, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SourceBufferAdded_revoker>(this, SourceBufferAdded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBufferList<D>::SourceBufferAdded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBufferList<D>::SourceBufferAdded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBufferList)->remove_SourceBufferAdded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseSourceBufferList<D>::SourceBufferRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBufferList, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBufferList<D>::SourceBufferRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBufferList, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Core_IMseSourceBufferList<D>::SourceBufferRemoved_revoker consume_Windows_Media_Core_IMseSourceBufferList<D>::SourceBufferRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBufferList, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBufferList<D>::SourceBufferRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBufferList, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SourceBufferRemoved_revoker>(this, SourceBufferRemoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseSourceBufferList<D>::SourceBufferRemoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBufferList<D>::SourceBufferRemoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBufferList)->remove_SourceBufferRemoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::MseSourceBuffer>) consume_Windows_Media_Core_IMseSourceBufferList<D>::Buffers() const
+ template <typename D> auto consume_Windows_Media_Core_IMseSourceBufferList<D>::Buffers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseSourceBufferList)->get_Buffers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::MseSourceBuffer>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseStreamSource<D>::Opened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource<D>::Opened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Core_IMseStreamSource<D>::Opened_revoker consume_Windows_Media_Core_IMseStreamSource<D>::Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource<D>::Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Opened_revoker>(this, Opened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseStreamSource<D>::Opened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource<D>::Opened(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->remove_Opened(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseStreamSource<D>::Ended(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource<D>::Ended(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Core_IMseStreamSource<D>::Ended_revoker consume_Windows_Media_Core_IMseStreamSource<D>::Ended(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource<D>::Ended(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Ended_revoker>(this, Ended(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseStreamSource<D>::Ended(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource<D>::Ended(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->remove_Ended(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IMseStreamSource<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Core_IMseStreamSource<D>::Closed_revoker consume_Windows_Media_Core_IMseStreamSource<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseStreamSource<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseSourceBufferList) consume_Windows_Media_Core_IMseStreamSource<D>::SourceBuffers() const
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseSourceBufferList) consume_Windows_Media_Core_IMseStreamSource<D>::ActiveSourceBuffers() const
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseReadyState) consume_Windows_Media_Core_IMseStreamSource<D>::ReadyState() const
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource<D>::ReadyState() const
{
winrt::Windows::Media::Core::MseReadyState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->get_ReadyState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Core_IMseStreamSource<D>::Duration() const
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource<D>::Duration() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->get_Duration(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseStreamSource<D>::Duration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource<D>::Duration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->put_Duration(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MseSourceBuffer) consume_Windows_Media_Core_IMseStreamSource<D>::AddSourceBuffer(param::hstring const& mimeType) const
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseStreamSource<D>::RemoveSourceBuffer(winrt::Windows::Media::Core::MseSourceBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource<D>::RemoveSourceBuffer(winrt::Windows::Media::Core::MseSourceBuffer const& buffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->RemoveSourceBuffer(*(void**)(&buffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseStreamSource<D>::EndOfStream(winrt::Windows::Media::Core::MseEndOfStreamStatus const& status) const
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource<D>::EndOfStream(winrt::Windows::Media::Core::MseEndOfStreamStatus const& status) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource)->EndOfStream(static_cast<int32_t>(status)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Core::MseTimeRange>) consume_Windows_Media_Core_IMseStreamSource2<D>::LiveSeekableRange() const
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource2<D>::LiveSeekableRange() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource2)->get_LiveSeekableRange(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Media::Core::MseTimeRange>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IMseStreamSource2<D>::LiveSeekableRange(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Core::MseTimeRange> const& value) const
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSource2<D>::LiveSeekableRange(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Core::MseTimeRange> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IMseStreamSource2)->put_LiveSeekableRange(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IMseStreamSourceStatics<D>::IsContentTypeSupported(param::hstring const& contentType) const
+ template <typename D> auto consume_Windows_Media_Core_IMseStreamSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::HighDynamicRangeControl) consume_Windows_Media_Core_ISceneAnalysisEffect<D>::HighDynamicRangeAnalyzer() const
+ template <typename D> auto consume_Windows_Media_Core_ISceneAnalysisEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ISceneAnalysisEffect<D>::DesiredAnalysisInterval(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ISceneAnalysisEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Core_ISceneAnalysisEffect<D>::DesiredAnalysisInterval() const
+ template <typename D> auto consume_Windows_Media_Core_ISceneAnalysisEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_ISceneAnalysisEffect<D>::SceneAnalyzed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::SceneAnalysisEffect, winrt::Windows::Media::Core::SceneAnalyzedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_ISceneAnalysisEffect<D>::SceneAnalyzed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::SceneAnalysisEffect, winrt::Windows::Media::Core::SceneAnalyzedEventArgs> 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 D> typename consume_Windows_Media_Core_ISceneAnalysisEffect<D>::SceneAnalyzed_revoker consume_Windows_Media_Core_ISceneAnalysisEffect<D>::SceneAnalyzed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::SceneAnalysisEffect, winrt::Windows::Media::Core::SceneAnalyzedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_ISceneAnalysisEffect<D>::SceneAnalyzed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::SceneAnalysisEffect, winrt::Windows::Media::Core::SceneAnalyzedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SceneAnalyzed_revoker>(this, SceneAnalyzed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ISceneAnalysisEffect<D>::SceneAnalyzed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_ISceneAnalysisEffect<D>::SceneAnalyzed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISceneAnalysisEffect)->remove_SceneAnalyzed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::CapturedFrameControlValues) consume_Windows_Media_Core_ISceneAnalysisEffectFrame<D>::FrameControlValues() const
+ template <typename D> auto consume_Windows_Media_Core_ISceneAnalysisEffectFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::HighDynamicRangeOutput) consume_Windows_Media_Core_ISceneAnalysisEffectFrame<D>::HighDynamicRange() const
+ template <typename D> auto consume_Windows_Media_Core_ISceneAnalysisEffectFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::SceneAnalysisRecommendation) consume_Windows_Media_Core_ISceneAnalysisEffectFrame2<D>::AnalysisRecommendation() const
+ template <typename D> auto consume_Windows_Media_Core_ISceneAnalysisEffectFrame2<D>::AnalysisRecommendation() const
{
winrt::Windows::Media::Core::SceneAnalysisRecommendation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISceneAnalysisEffectFrame2)->get_AnalysisRecommendation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::SceneAnalysisEffectFrame) consume_Windows_Media_Core_ISceneAnalyzedEventArgs<D>::ResultFrame() const
+ template <typename D> auto consume_Windows_Media_Core_ISceneAnalyzedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_ISingleSelectMediaTrackList<D>::SelectedIndexChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::ISingleSelectMediaTrackList, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_ISingleSelectMediaTrackList<D>::SelectedIndexChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::ISingleSelectMediaTrackList, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Core_ISingleSelectMediaTrackList<D>::SelectedIndexChanged_revoker consume_Windows_Media_Core_ISingleSelectMediaTrackList<D>::SelectedIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::ISingleSelectMediaTrackList, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_ISingleSelectMediaTrackList<D>::SelectedIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::ISingleSelectMediaTrackList, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SelectedIndexChanged_revoker>(this, SelectedIndexChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ISingleSelectMediaTrackList<D>::SelectedIndexChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_ISingleSelectMediaTrackList<D>::SelectedIndexChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISingleSelectMediaTrackList)->remove_SelectedIndexChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ISingleSelectMediaTrackList<D>::SelectedIndex(int32_t value) const
+ template <typename D> auto consume_Windows_Media_Core_ISingleSelectMediaTrackList<D>::SelectedIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISingleSelectMediaTrackList)->put_SelectedIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Core_ISingleSelectMediaTrackList<D>::SelectedIndex() const
+ template <typename D> auto consume_Windows_Media_Core_ISingleSelectMediaTrackList<D>::SelectedIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISingleSelectMediaTrackList)->get_SelectedIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ISpeechCue<D>::Text() const
+ template <typename D> auto consume_Windows_Media_Core_ISpeechCue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ISpeechCue<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ISpeechCue<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISpeechCue)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Media_Core_ISpeechCue<D>::StartPositionInInput() const
+ template <typename D> auto consume_Windows_Media_Core_ISpeechCue<D>::StartPositionInInput() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISpeechCue)->get_StartPositionInInput(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ISpeechCue<D>::StartPositionInInput(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ISpeechCue<D>::StartPositionInInput(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISpeechCue)->put_StartPositionInInput(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Media_Core_ISpeechCue<D>::EndPositionInInput() const
+ template <typename D> auto consume_Windows_Media_Core_ISpeechCue<D>::EndPositionInInput() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISpeechCue)->get_EndPositionInInput(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ISpeechCue<D>::EndPositionInInput(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ISpeechCue<D>::EndPositionInInput(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ISpeechCue)->put_EndPositionInInput(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) consume_Windows_Media_Core_ITimedMetadataStreamDescriptor<D>::EncodingProperties() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataStreamDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataStreamDescriptor) consume_Windows_Media_Core_ITimedMetadataStreamDescriptor<D>::Copy() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataStreamDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataStreamDescriptor) consume_Windows_Media_Core_ITimedMetadataStreamDescriptorFactory<D>::Create(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties const& encodingProperties) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataStreamDescriptorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_ITimedMetadataTrack<D>::CueEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::MediaCueEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrack<D>::CueEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::MediaCueEventArgs> 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 D> typename consume_Windows_Media_Core_ITimedMetadataTrack<D>::CueEntered_revoker consume_Windows_Media_Core_ITimedMetadataTrack<D>::CueEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::MediaCueEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrack<D>::CueEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::MediaCueEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CueEntered_revoker>(this, CueEntered(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedMetadataTrack<D>::CueEntered(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrack<D>::CueEntered(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->remove_CueEntered(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_ITimedMetadataTrack<D>::CueExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::MediaCueEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrack<D>::CueExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::MediaCueEventArgs> 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 D> typename consume_Windows_Media_Core_ITimedMetadataTrack<D>::CueExited_revoker consume_Windows_Media_Core_ITimedMetadataTrack<D>::CueExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::MediaCueEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrack<D>::CueExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::MediaCueEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CueExited_revoker>(this, CueExited(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedMetadataTrack<D>::CueExited(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrack<D>::CueExited(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->remove_CueExited(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_ITimedMetadataTrack<D>::TrackFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::TimedMetadataTrackFailedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrack<D>::TrackFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::TimedMetadataTrackFailedEventArgs> 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 D> typename consume_Windows_Media_Core_ITimedMetadataTrack<D>::TrackFailed_revoker consume_Windows_Media_Core_ITimedMetadataTrack<D>::TrackFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::TimedMetadataTrackFailedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrack<D>::TrackFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::TimedMetadataTrackFailedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TrackFailed_revoker>(this, TrackFailed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedMetadataTrack<D>::TrackFailed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrack<D>::TrackFailed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->remove_TrackFailed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::IMediaCue>) consume_Windows_Media_Core_ITimedMetadataTrack<D>::Cues() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrack<D>::Cues() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->get_Cues(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::IMediaCue>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::IMediaCue>) consume_Windows_Media_Core_ITimedMetadataTrack<D>::ActiveCues() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrack<D>::ActiveCues() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->get_ActiveCues(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::IMediaCue>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataKind) consume_Windows_Media_Core_ITimedMetadataTrack<D>::TimedMetadataKind() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrack<D>::TimedMetadataKind() const
{
winrt::Windows::Media::Core::TimedMetadataKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->get_TimedMetadataKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ITimedMetadataTrack<D>::DispatchType() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrack<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedMetadataTrack<D>::AddCue(winrt::Windows::Media::Core::IMediaCue const& cue) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrack<D>::AddCue(winrt::Windows::Media::Core::IMediaCue const& cue) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->AddCue(*(void**)(&cue)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedMetadataTrack<D>::RemoveCue(winrt::Windows::Media::Core::IMediaCue const& cue) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrack<D>::RemoveCue(winrt::Windows::Media::Core::IMediaCue const& cue) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrack)->RemoveCue(*(void**)(&cue)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Core_ITimedMetadataTrack2<D>::PlaybackItem() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrack2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ITimedMetadataTrack2<D>::Name() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrack2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataTrackErrorCode) consume_Windows_Media_Core_ITimedMetadataTrackError<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrackError<D>::ErrorCode() const
{
winrt::Windows::Media::Core::TimedMetadataTrackErrorCode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrackError)->get_ErrorCode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Core_ITimedMetadataTrackError<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrackError<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrackError)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataTrack) consume_Windows_Media_Core_ITimedMetadataTrackFactory<D>::Create(param::hstring const& id, param::hstring const& language, winrt::Windows::Media::Core::TimedMetadataKind const& kind) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrackFactory<D>::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<int32_t>(kind), &value));
return winrt::Windows::Media::Core::TimedMetadataTrack{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataTrackError) consume_Windows_Media_Core_ITimedMetadataTrackFailedEventArgs<D>::Error() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrackFailedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::TimedMetadataTrack>) consume_Windows_Media_Core_ITimedMetadataTrackProvider<D>::TimedMetadataTracks() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedMetadataTrackProvider<D>::TimedMetadataTracks() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedMetadataTrackProvider)->get_TimedMetadataTracks(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::TimedMetadataTrack>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBoutenType) consume_Windows_Media_Core_ITimedTextBouten<D>::Type() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextBouten<D>::Type() const
{
winrt::Windows::Media::Core::TimedTextBoutenType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextBouten<D>::Type(winrt::Windows::Media::Core::TimedTextBoutenType const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextBouten<D>::Type(winrt::Windows::Media::Core::TimedTextBoutenType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->put_Type(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_Core_ITimedTextBouten<D>::Color() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextBouten<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextBouten<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextBouten<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBoutenPosition) consume_Windows_Media_Core_ITimedTextBouten<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextBouten<D>::Position() const
{
winrt::Windows::Media::Core::TimedTextBoutenPosition value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->get_Position(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextBouten<D>::Position(winrt::Windows::Media::Core::TimedTextBoutenPosition const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextBouten<D>::Position(winrt::Windows::Media::Core::TimedTextBoutenPosition const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextBouten)->put_Position(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRegion) consume_Windows_Media_Core_ITimedTextCue<D>::CueRegion() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextCue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextCue<D>::CueRegion(winrt::Windows::Media::Core::TimedTextRegion const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextCue<D>::CueRegion(winrt::Windows::Media::Core::TimedTextRegion const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextCue)->put_CueRegion(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextStyle) consume_Windows_Media_Core_ITimedTextCue<D>::CueStyle() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextCue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextCue<D>::CueStyle(winrt::Windows::Media::Core::TimedTextStyle const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextCue<D>::CueStyle(winrt::Windows::Media::Core::TimedTextStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextCue)->put_CueStyle(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Core::TimedTextLine>) consume_Windows_Media_Core_ITimedTextCue<D>::Lines() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextCue<D>::Lines() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextCue)->get_Lines(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Core::TimedTextLine>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ITimedTextLine<D>::Text() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextLine<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextLine<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextLine<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextLine)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Core::TimedTextSubformat>) consume_Windows_Media_Core_ITimedTextLine<D>::Subformats() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextLine<D>::Subformats() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextLine)->get_Subformats(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Core::TimedTextSubformat>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ITimedTextRegion<D>::Name() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextPoint) consume_Windows_Media_Core_ITimedTextRegion<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion<D>::Position(winrt::Windows::Media::Core::TimedTextPoint const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSize) consume_Windows_Media_Core_ITimedTextRegion<D>::Extent() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion<D>::Extent(winrt::Windows::Media::Core::TimedTextSize const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_Core_ITimedTextRegion<D>::Background() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion<D>::Background(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextWritingMode) consume_Windows_Media_Core_ITimedTextRegion<D>::WritingMode() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::WritingMode() const
{
winrt::Windows::Media::Core::TimedTextWritingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_WritingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion<D>::WritingMode(winrt::Windows::Media::Core::TimedTextWritingMode const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::WritingMode(winrt::Windows::Media::Core::TimedTextWritingMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_WritingMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextDisplayAlignment) consume_Windows_Media_Core_ITimedTextRegion<D>::DisplayAlignment() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::DisplayAlignment() const
{
winrt::Windows::Media::Core::TimedTextDisplayAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_DisplayAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion<D>::DisplayAlignment(winrt::Windows::Media::Core::TimedTextDisplayAlignment const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::DisplayAlignment(winrt::Windows::Media::Core::TimedTextDisplayAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_DisplayAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextDouble) consume_Windows_Media_Core_ITimedTextRegion<D>::LineHeight() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion<D>::LineHeight(winrt::Windows::Media::Core::TimedTextDouble const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_ITimedTextRegion<D>::IsOverflowClipped() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::IsOverflowClipped() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_IsOverflowClipped(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion<D>::IsOverflowClipped(bool value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::IsOverflowClipped(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_IsOverflowClipped(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextPadding) consume_Windows_Media_Core_ITimedTextRegion<D>::Padding() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion<D>::Padding(winrt::Windows::Media::Core::TimedTextPadding const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextWrapping) consume_Windows_Media_Core_ITimedTextRegion<D>::TextWrapping() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::TextWrapping() const
{
winrt::Windows::Media::Core::TimedTextWrapping value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_TextWrapping(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion<D>::TextWrapping(winrt::Windows::Media::Core::TimedTextWrapping const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::TextWrapping(winrt::Windows::Media::Core::TimedTextWrapping const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_TextWrapping(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Core_ITimedTextRegion<D>::ZIndex() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::ZIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_ZIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion<D>::ZIndex(int32_t value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::ZIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_ZIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextScrollMode) consume_Windows_Media_Core_ITimedTextRegion<D>::ScrollMode() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::ScrollMode() const
{
winrt::Windows::Media::Core::TimedTextScrollMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->get_ScrollMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRegion<D>::ScrollMode(winrt::Windows::Media::Core::TimedTextScrollMode const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRegion<D>::ScrollMode(winrt::Windows::Media::Core::TimedTextScrollMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRegion)->put_ScrollMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ITimedTextRuby<D>::Text() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRuby<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRuby<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRuby<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyPosition) consume_Windows_Media_Core_ITimedTextRuby<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRuby<D>::Position() const
{
winrt::Windows::Media::Core::TimedTextRubyPosition value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->get_Position(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRuby<D>::Position(winrt::Windows::Media::Core::TimedTextRubyPosition const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRuby<D>::Position(winrt::Windows::Media::Core::TimedTextRubyPosition const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->put_Position(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyAlign) consume_Windows_Media_Core_ITimedTextRuby<D>::Align() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRuby<D>::Align() const
{
winrt::Windows::Media::Core::TimedTextRubyAlign value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->get_Align(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRuby<D>::Align(winrt::Windows::Media::Core::TimedTextRubyAlign const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRuby<D>::Align(winrt::Windows::Media::Core::TimedTextRubyAlign const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->put_Align(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRubyReserve) consume_Windows_Media_Core_ITimedTextRuby<D>::Reserve() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRuby<D>::Reserve() const
{
winrt::Windows::Media::Core::TimedTextRubyReserve value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->get_Reserve(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextRuby<D>::Reserve(winrt::Windows::Media::Core::TimedTextRubyReserve const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextRuby<D>::Reserve(winrt::Windows::Media::Core::TimedTextRubyReserve const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextRuby)->put_Reserve(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_ITimedTextSource<D>::Resolved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedTextSource, winrt::Windows::Media::Core::TimedTextSourceResolveResultEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSource<D>::Resolved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedTextSource, winrt::Windows::Media::Core::TimedTextSourceResolveResultEventArgs> 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 D> typename consume_Windows_Media_Core_ITimedTextSource<D>::Resolved_revoker consume_Windows_Media_Core_ITimedTextSource<D>::Resolved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedTextSource, winrt::Windows::Media::Core::TimedTextSourceResolveResultEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSource<D>::Resolved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedTextSource, winrt::Windows::Media::Core::TimedTextSourceResolveResultEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Resolved_revoker>(this, Resolved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextSource<D>::Resolved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSource<D>::Resolved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSource)->remove_Resolved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataTrackError) consume_Windows_Media_Core_ITimedTextSourceResolveResultEventArgs<D>::Error() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSourceResolveResultEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::TimedMetadataTrack>) consume_Windows_Media_Core_ITimedTextSourceResolveResultEventArgs<D>::Tracks() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSourceResolveResultEventArgs<D>::Tracks() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSourceResolveResultEventArgs)->get_Tracks(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::TimedMetadataTrack>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) consume_Windows_Media_Core_ITimedTextSourceStatics<D>::CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) consume_Windows_Media_Core_ITimedTextSourceStatics<D>::CreateFromUri(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) consume_Windows_Media_Core_ITimedTextSourceStatics<D>::CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& defaultLanguage) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) consume_Windows_Media_Core_ITimedTextSourceStatics<D>::CreateFromUri(winrt::Windows::Foundation::Uri const& uri, param::hstring const& defaultLanguage) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) consume_Windows_Media_Core_ITimedTextSourceStatics2<D>::CreateFromStreamWithIndex(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Storage::Streams::IRandomAccessStream const& indexStream) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSourceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) consume_Windows_Media_Core_ITimedTextSourceStatics2<D>::CreateFromUriWithIndex(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Uri const& indexUri) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSourceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) consume_Windows_Media_Core_ITimedTextSourceStatics2<D>::CreateFromStreamWithIndex(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Storage::Streams::IRandomAccessStream const& indexStream, param::hstring const& defaultLanguage) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSourceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextSource) consume_Windows_Media_Core_ITimedTextSourceStatics2<D>::CreateFromUriWithIndex(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Uri const& indexUri, param::hstring const& defaultLanguage) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSourceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ITimedTextStyle<D>::Name() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_ITimedTextStyle<D>::FontFamily() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle<D>::FontFamily(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::FontFamily(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_FontFamily(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextDouble) consume_Windows_Media_Core_ITimedTextStyle<D>::FontSize() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle<D>::FontSize(winrt::Windows::Media::Core::TimedTextDouble const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextWeight) consume_Windows_Media_Core_ITimedTextStyle<D>::FontWeight() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::FontWeight() const
{
winrt::Windows::Media::Core::TimedTextWeight value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->get_FontWeight(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle<D>::FontWeight(winrt::Windows::Media::Core::TimedTextWeight const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::FontWeight(winrt::Windows::Media::Core::TimedTextWeight const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_FontWeight(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_Core_ITimedTextStyle<D>::Foreground() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle<D>::Foreground(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_Core_ITimedTextStyle<D>::Background() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle<D>::Background(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_ITimedTextStyle<D>::IsBackgroundAlwaysShown() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::IsBackgroundAlwaysShown() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->get_IsBackgroundAlwaysShown(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle<D>::IsBackgroundAlwaysShown(bool value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::IsBackgroundAlwaysShown(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_IsBackgroundAlwaysShown(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextFlowDirection) consume_Windows_Media_Core_ITimedTextStyle<D>::FlowDirection() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::FlowDirection() const
{
winrt::Windows::Media::Core::TimedTextFlowDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->get_FlowDirection(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle<D>::FlowDirection(winrt::Windows::Media::Core::TimedTextFlowDirection const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::FlowDirection(winrt::Windows::Media::Core::TimedTextFlowDirection const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_FlowDirection(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextLineAlignment) consume_Windows_Media_Core_ITimedTextStyle<D>::LineAlignment() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::LineAlignment() const
{
winrt::Windows::Media::Core::TimedTextLineAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->get_LineAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle<D>::LineAlignment(winrt::Windows::Media::Core::TimedTextLineAlignment const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::LineAlignment(winrt::Windows::Media::Core::TimedTextLineAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle)->put_LineAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_Core_ITimedTextStyle<D>::OutlineColor() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle<D>::OutlineColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextDouble) consume_Windows_Media_Core_ITimedTextStyle<D>::OutlineThickness() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle<D>::OutlineThickness(winrt::Windows::Media::Core::TimedTextDouble const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextDouble) consume_Windows_Media_Core_ITimedTextStyle<D>::OutlineRadius() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle<D>::OutlineRadius(winrt::Windows::Media::Core::TimedTextDouble const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextFontStyle) consume_Windows_Media_Core_ITimedTextStyle2<D>::FontStyle() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle2<D>::FontStyle() const
{
winrt::Windows::Media::Core::TimedTextFontStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->get_FontStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle2<D>::FontStyle(winrt::Windows::Media::Core::TimedTextFontStyle const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle2<D>::FontStyle(winrt::Windows::Media::Core::TimedTextFontStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->put_FontStyle(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_ITimedTextStyle2<D>::IsUnderlineEnabled() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle2<D>::IsUnderlineEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->get_IsUnderlineEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle2<D>::IsUnderlineEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle2<D>::IsUnderlineEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->put_IsUnderlineEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_ITimedTextStyle2<D>::IsLineThroughEnabled() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle2<D>::IsLineThroughEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->get_IsLineThroughEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle2<D>::IsLineThroughEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle2<D>::IsLineThroughEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->put_IsLineThroughEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_ITimedTextStyle2<D>::IsOverlineEnabled() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle2<D>::IsOverlineEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->get_IsOverlineEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle2<D>::IsOverlineEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle2<D>::IsOverlineEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle2)->put_IsOverlineEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextRuby) consume_Windows_Media_Core_ITimedTextStyle3<D>::Ruby() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextBouten) consume_Windows_Media_Core_ITimedTextStyle3<D>::Bouten() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_ITimedTextStyle3<D>::IsTextCombined() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle3<D>::IsTextCombined() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->get_IsTextCombined(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle3<D>::IsTextCombined(bool value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle3<D>::IsTextCombined(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->put_IsTextCombined(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Core_ITimedTextStyle3<D>::FontAngleInDegrees() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle3<D>::FontAngleInDegrees() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->get_FontAngleInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextStyle3<D>::FontAngleInDegrees(double value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextStyle3<D>::FontAngleInDegrees(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextStyle3)->put_FontAngleInDegrees(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Core_ITimedTextSubformat<D>::StartIndex() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSubformat<D>::StartIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSubformat)->get_StartIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextSubformat<D>::StartIndex(int32_t value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSubformat<D>::StartIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSubformat)->put_StartIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Core_ITimedTextSubformat<D>::Length() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSubformat<D>::Length() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSubformat)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextSubformat<D>::Length(int32_t value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSubformat<D>::Length(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSubformat)->put_Length(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedTextStyle) consume_Windows_Media_Core_ITimedTextSubformat<D>::SubformatStyle() const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSubformat<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_ITimedTextSubformat<D>::SubformatStyle(winrt::Windows::Media::Core::TimedTextStyle const& value) const
+ template <typename D> auto consume_Windows_Media_Core_ITimedTextSubformat<D>::SubformatStyle(winrt::Windows::Media::Core::TimedTextStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::ITimedTextSubformat)->put_SubformatStyle(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IVideoStabilizationEffect<D>::Enabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Core_IVideoStabilizationEffect<D>::Enabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoStabilizationEffect)->put_Enabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Core_IVideoStabilizationEffect<D>::Enabled() const
+ template <typename D> auto consume_Windows_Media_Core_IVideoStabilizationEffect<D>::Enabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoStabilizationEffect)->get_Enabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IVideoStabilizationEffect<D>::EnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::VideoStabilizationEffect, winrt::Windows::Media::Core::VideoStabilizationEffectEnabledChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IVideoStabilizationEffect<D>::EnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::VideoStabilizationEffect, winrt::Windows::Media::Core::VideoStabilizationEffectEnabledChangedEventArgs> 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 D> typename consume_Windows_Media_Core_IVideoStabilizationEffect<D>::EnabledChanged_revoker consume_Windows_Media_Core_IVideoStabilizationEffect<D>::EnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::VideoStabilizationEffect, winrt::Windows::Media::Core::VideoStabilizationEffectEnabledChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IVideoStabilizationEffect<D>::EnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::VideoStabilizationEffect, winrt::Windows::Media::Core::VideoStabilizationEffectEnabledChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, EnabledChanged_revoker>(this, EnabledChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IVideoStabilizationEffect<D>::EnabledChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IVideoStabilizationEffect<D>::EnabledChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoStabilizationEffect)->remove_EnabledChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::VideoStreamConfiguration) consume_Windows_Media_Core_IVideoStabilizationEffect<D>::GetRecommendedStreamConfiguration(winrt::Windows::Media::Devices::VideoDeviceController const& controller, winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& desiredProperties) const
+ template <typename D> auto consume_Windows_Media_Core_IVideoStabilizationEffect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::VideoStabilizationEffectEnabledChangedReason) consume_Windows_Media_Core_IVideoStabilizationEffectEnabledChangedEventArgs<D>::Reason() const
+ template <typename D> auto consume_Windows_Media_Core_IVideoStabilizationEffectEnabledChangedEventArgs<D>::Reason() const
{
winrt::Windows::Media::Core::VideoStabilizationEffectEnabledChangedReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoStabilizationEffectEnabledChangedEventArgs)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_Core_IVideoStreamDescriptor<D>::EncodingProperties() const
+ template <typename D> auto consume_Windows_Media_Core_IVideoStreamDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::VideoStreamDescriptor) consume_Windows_Media_Core_IVideoStreamDescriptor2<D>::Copy() const
+ template <typename D> auto consume_Windows_Media_Core_IVideoStreamDescriptor2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::VideoStreamDescriptor) consume_Windows_Media_Core_IVideoStreamDescriptorFactory<D>::Create(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& encodingProperties) const
+ template <typename D> auto consume_Windows_Media_Core_IVideoStreamDescriptorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Core_IVideoTrack<D>::OpenFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::VideoTrack, winrt::Windows::Media::Core::VideoTrackOpenFailedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IVideoTrack<D>::OpenFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::VideoTrack, winrt::Windows::Media::Core::VideoTrackOpenFailedEventArgs> 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 D> typename consume_Windows_Media_Core_IVideoTrack<D>::OpenFailed_revoker consume_Windows_Media_Core_IVideoTrack<D>::OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::VideoTrack, winrt::Windows::Media::Core::VideoTrackOpenFailedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Core_IVideoTrack<D>::OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::VideoTrack, winrt::Windows::Media::Core::VideoTrackOpenFailedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, OpenFailed_revoker>(this, OpenFailed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Core_IVideoTrack<D>::OpenFailed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Core_IVideoTrack<D>::OpenFailed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoTrack)->remove_OpenFailed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_Core_IVideoTrack<D>::GetEncodingProperties() const
+ template <typename D> auto consume_Windows_Media_Core_IVideoTrack<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Core_IVideoTrack<D>::PlaybackItem() const
+ template <typename D> auto consume_Windows_Media_Core_IVideoTrack<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Core_IVideoTrack<D>::Name() const
+ template <typename D> auto consume_Windows_Media_Core_IVideoTrack<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::VideoTrackSupportInfo) consume_Windows_Media_Core_IVideoTrack<D>::SupportInfo() const
+ template <typename D> auto consume_Windows_Media_Core_IVideoTrack<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Core_IVideoTrackOpenFailedEventArgs<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_Core_IVideoTrackOpenFailedEventArgs<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoTrackOpenFailedEventArgs)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaDecoderStatus) consume_Windows_Media_Core_IVideoTrackSupportInfo<D>::DecoderStatus() const
+ template <typename D> auto consume_Windows_Media_Core_IVideoTrackSupportInfo<D>::DecoderStatus() const
{
winrt::Windows::Media::Core::MediaDecoderStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoTrackSupportInfo)->get_DecoderStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceStatus) consume_Windows_Media_Core_IVideoTrackSupportInfo<D>::MediaSourceStatus() const
+ template <typename D> auto consume_Windows_Media_Core_IVideoTrackSupportInfo<D>::MediaSourceStatus() const
{
winrt::Windows::Media::Core::MediaSourceStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Core::IVideoTrackSupportInfo)->get_MediaSourceStatus(reinterpret_cast<int32_t*>(&value)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Devices.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Devices.Core.h
index 2ab8878fe0b..f9bf7d7a372 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Devices.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::FocalLength() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::PrincipalPoint() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::RadialDistortion() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::TangentialDistortion() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::ImageWidth() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::ImageWidth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsics)->get_ImageWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::ImageHeight() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::ImageHeight() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::ICameraIntrinsics)->get_ImageHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::ProjectOntoFrame(winrt::Windows::Foundation::Numerics::float3 const& coordinate) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::UnprojectAtUnitDepth(winrt::Windows::Foundation::Point const& pixelCoordinate) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::ProjectManyOntoFrame(array_view<winrt::Windows::Foundation::Numerics::float3 const> coordinates, array_view<winrt::Windows::Foundation::Point> results) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::ProjectManyOntoFrame(array_view<winrt::Windows::Foundation::Numerics::float3 const> coordinates, array_view<winrt::Windows::Foundation::Point> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::UnprojectPixelsAtUnitDepth(array_view<winrt::Windows::Foundation::Point const> pixelCoordinates, array_view<winrt::Windows::Foundation::Numerics::float2> results) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_ICameraIntrinsics<D>::UnprojectPixelsAtUnitDepth(array_view<winrt::Windows::Foundation::Point const> pixelCoordinates, array_view<winrt::Windows::Foundation::Numerics::float2> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) consume_Windows_Media_Devices_Core_ICameraIntrinsics2<D>::UndistortedProjectionTransform() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_ICameraIntrinsics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Media_Devices_Core_ICameraIntrinsics2<D>::DistortPoint(winrt::Windows::Foundation::Point const& input) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_ICameraIntrinsics2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_ICameraIntrinsics2<D>::DistortPoints(array_view<winrt::Windows::Foundation::Point const> inputs, array_view<winrt::Windows::Foundation::Point> results) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_ICameraIntrinsics2<D>::DistortPoints(array_view<winrt::Windows::Foundation::Point const> inputs, array_view<winrt::Windows::Foundation::Point> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Media_Devices_Core_ICameraIntrinsics2<D>::UndistortPoint(winrt::Windows::Foundation::Point const& input) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_ICameraIntrinsics2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_ICameraIntrinsics2<D>::UndistortPoints(array_view<winrt::Windows::Foundation::Point const> inputs, array_view<winrt::Windows::Foundation::Point> results) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_ICameraIntrinsics2<D>::UndistortPoints(array_view<winrt::Windows::Foundation::Point const> inputs, array_view<winrt::Windows::Foundation::Point> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::CameraIntrinsics) consume_Windows_Media_Devices_Core_ICameraIntrinsicsFactory<D>::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 <typename D> auto consume_Windows_Media_Devices_Core_ICameraIntrinsicsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper<D>::UnprojectPoint(winrt::Windows::Foundation::Point const& sourcePoint, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper<D>::UnprojectPoints(array_view<winrt::Windows::Foundation::Point const> sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, array_view<winrt::Windows::Foundation::Numerics::float3> results) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper<D>::UnprojectPoints(array_view<winrt::Windows::Foundation::Point const> sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, array_view<winrt::Windows::Foundation::Numerics::float3> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper<D>::MapPoint(winrt::Windows::Foundation::Point const& sourcePoint, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, winrt::Windows::Media::Devices::Core::CameraIntrinsics const& targetCameraIntrinsics) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper<D>::MapPoints(array_view<winrt::Windows::Foundation::Point const> sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, winrt::Windows::Media::Devices::Core::CameraIntrinsics const& targetCameraIntrinsics, array_view<winrt::Windows::Foundation::Point> results) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IDepthCorrelatedCoordinateMapper<D>::MapPoints(array_view<winrt::Windows::Foundation::Point const> sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, winrt::Windows::Media::Devices::Core::CameraIntrinsics const& targetCameraIntrinsics, array_view<winrt::Windows::Foundation::Point> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameExposureCapabilities) consume_Windows_Media_Devices_Core_IFrameControlCapabilities<D>::Exposure() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameControlCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameExposureCompensationCapabilities) consume_Windows_Media_Devices_Core_IFrameControlCapabilities<D>::ExposureCompensation() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameControlCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameIsoSpeedCapabilities) consume_Windows_Media_Devices_Core_IFrameControlCapabilities<D>::IsoSpeed() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameControlCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameFocusCapabilities) consume_Windows_Media_Devices_Core_IFrameControlCapabilities<D>::Focus() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameControlCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameControlCapabilities<D>::PhotoConfirmationSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameControlCapabilities<D>::PhotoConfirmationSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameControlCapabilities)->get_PhotoConfirmationSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameFlashCapabilities) consume_Windows_Media_Devices_Core_IFrameControlCapabilities2<D>::Flash() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameControlCapabilities2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameExposureControl) consume_Windows_Media_Devices_Core_IFrameController<D>::ExposureControl() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameExposureCompensationControl) consume_Windows_Media_Devices_Core_IFrameController<D>::ExposureCompensationControl() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameIsoSpeedControl) consume_Windows_Media_Devices_Core_IFrameController<D>::IsoSpeedControl() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameFocusControl) consume_Windows_Media_Devices_Core_IFrameController<D>::FocusControl() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) consume_Windows_Media_Devices_Core_IFrameController<D>::PhotoConfirmationEnabled() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameController<D>::PhotoConfirmationEnabled() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameController)->get_PhotoConfirmationEnabled(&value));
return winrt::Windows::Foundation::IReference<bool>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameController<D>::PhotoConfirmationEnabled(winrt::Windows::Foundation::IReference<bool> const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameController<D>::PhotoConfirmationEnabled(winrt::Windows::Foundation::IReference<bool> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameController)->put_PhotoConfirmationEnabled(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameFlashControl) consume_Windows_Media_Devices_Core_IFrameController2<D>::FlashControl() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameController2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameExposureCapabilities<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameExposureCapabilities<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureCapabilities)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Devices_Core_IFrameExposureCapabilities<D>::Min() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameExposureCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Devices_Core_IFrameExposureCapabilities<D>::Max() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameExposureCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Devices_Core_IFrameExposureCapabilities<D>::Step() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameExposureCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureCompensationCapabilities)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities<D>::Min() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities<D>::Min() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureCompensationCapabilities)->get_Min(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities<D>::Max() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities<D>::Max() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureCompensationCapabilities)->get_Max(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities<D>::Step() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameExposureCompensationCapabilities<D>::Step() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureCompensationCapabilities)->get_Step(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) consume_Windows_Media_Devices_Core_IFrameExposureCompensationControl<D>::Value() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameExposureCompensationControl<D>::Value() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureCompensationControl)->get_Value(&value));
return winrt::Windows::Foundation::IReference<float>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameExposureCompensationControl<D>::Value(winrt::Windows::Foundation::IReference<float> const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameExposureCompensationControl<D>::Value(winrt::Windows::Foundation::IReference<float> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureCompensationControl)->put_Value(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameExposureControl<D>::Auto() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameExposureControl<D>::Auto() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureControl)->get_Auto(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameExposureControl<D>::Auto(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameExposureControl<D>::Auto(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureControl)->put_Auto(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Devices_Core_IFrameExposureControl<D>::Value() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameExposureControl<D>::Value() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureControl)->get_Value(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameExposureControl<D>::Value(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameExposureControl<D>::Value(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameExposureControl)->put_Value(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameFlashCapabilities<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameFlashCapabilities<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashCapabilities)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameFlashCapabilities<D>::RedEyeReductionSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameFlashCapabilities<D>::RedEyeReductionSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashCapabilities)->get_RedEyeReductionSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameFlashCapabilities<D>::PowerSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameFlashCapabilities<D>::PowerSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashCapabilities)->get_PowerSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameFlashMode) consume_Windows_Media_Devices_Core_IFrameFlashControl<D>::Mode() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameFlashControl<D>::Mode() const
{
winrt::Windows::Media::Devices::Core::FrameFlashMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashControl)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameFlashControl<D>::Mode(winrt::Windows::Media::Devices::Core::FrameFlashMode const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameFlashControl<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameFlashControl<D>::Auto() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameFlashControl<D>::Auto() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashControl)->get_Auto(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameFlashControl<D>::Auto(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameFlashControl<D>::Auto(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashControl)->put_Auto(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameFlashControl<D>::RedEyeReduction() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameFlashControl<D>::RedEyeReduction() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashControl)->get_RedEyeReduction(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameFlashControl<D>::RedEyeReduction(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameFlashControl<D>::RedEyeReduction(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashControl)->put_RedEyeReduction(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_Core_IFrameFlashControl<D>::PowerPercent() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameFlashControl<D>::PowerPercent() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashControl)->get_PowerPercent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameFlashControl<D>::PowerPercent(float value) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameFlashControl<D>::PowerPercent(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFlashControl)->put_PowerPercent(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameFocusCapabilities<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameFocusCapabilities<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFocusCapabilities)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_Core_IFrameFocusCapabilities<D>::Min() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameFocusCapabilities<D>::Min() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFocusCapabilities)->get_Min(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_Core_IFrameFocusCapabilities<D>::Max() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameFocusCapabilities<D>::Max() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFocusCapabilities)->get_Max(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_Core_IFrameFocusCapabilities<D>::Step() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameFocusCapabilities<D>::Step() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFocusCapabilities)->get_Step(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Devices_Core_IFrameFocusControl<D>::Value() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameFocusControl<D>::Value() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFocusControl)->get_Value(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameFocusControl<D>::Value(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameFocusControl<D>::Value(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameFocusControl)->put_Value(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameIsoSpeedCapabilities)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities<D>::Min() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities<D>::Min() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameIsoSpeedCapabilities)->get_Min(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities<D>::Max() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities<D>::Max() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameIsoSpeedCapabilities)->get_Max(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities<D>::Step() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameIsoSpeedCapabilities<D>::Step() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameIsoSpeedCapabilities)->get_Step(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl<D>::Auto() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl<D>::Auto() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameIsoSpeedControl)->get_Auto(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl<D>::Auto(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl<D>::Auto(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameIsoSpeedControl)->put_Auto(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl<D>::Value() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl<D>::Value() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameIsoSpeedControl)->get_Value(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl<D>::Value(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IFrameIsoSpeedControl<D>::Value(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IFrameIsoSpeedControl)->put_Value(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IVariablePhotoSequenceController)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController<D>::MaxPhotosPerSecond() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController<D>::MaxPhotosPerSecond() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IVariablePhotoSequenceController)->get_MaxPhotosPerSecond(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController<D>::PhotosPerSecondLimit() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController<D>::PhotosPerSecondLimit() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IVariablePhotoSequenceController)->get_PhotosPerSecondLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController<D>::PhotosPerSecondLimit(float value) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController<D>::PhotosPerSecondLimit(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IVariablePhotoSequenceController)->put_PhotosPerSecondLimit(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController<D>::GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController<D>::GetCurrentFrameRate() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::FrameControlCapabilities) consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController<D>::FrameCapabilities() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Devices::Core::FrameController>) consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController<D>::DesiredFrameControllers() const
+ template <typename D> auto consume_Windows_Media_Devices_Core_IVariablePhotoSequenceController<D>::DesiredFrameControllers() const
{
void* items{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::Core::IVariablePhotoSequenceController)->get_DesiredFrameControllers(&items));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Devices.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Devices.h
index 502ae31c75f..6b6fe13662e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Devices.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AdvancedPhotoMode) consume_Windows_Media_Devices_IAdvancedPhotoCaptureSettings<D>::Mode() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedPhotoCaptureSettings<D>::Mode() const
{
winrt::Windows::Media::Devices::AdvancedPhotoMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedPhotoCaptureSettings)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAdvancedPhotoCaptureSettings<D>::Mode(winrt::Windows::Media::Devices::AdvancedPhotoMode const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedPhotoCaptureSettings<D>::Mode(winrt::Windows::Media::Devices::AdvancedPhotoMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedPhotoCaptureSettings)->put_Mode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IAdvancedPhotoControl<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedPhotoControl<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedPhotoControl)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::AdvancedPhotoMode>) consume_Windows_Media_Devices_IAdvancedPhotoControl<D>::SupportedModes() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedPhotoControl<D>::SupportedModes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedPhotoControl)->get_SupportedModes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::AdvancedPhotoMode>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AdvancedPhotoMode) consume_Windows_Media_Devices_IAdvancedPhotoControl<D>::Mode() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedPhotoControl<D>::Mode() const
{
winrt::Windows::Media::Devices::AdvancedPhotoMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedPhotoControl)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAdvancedPhotoControl<D>::Configure(winrt::Windows::Media::Devices::AdvancedPhotoCaptureSettings const& settings) const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedPhotoControl<D>::Configure(winrt::Windows::Media::Devices::AdvancedPhotoCaptureSettings const& settings) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedPhotoControl)->Configure(*(void**)(&settings)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController<D>::SetDeviceProperty(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController<D>::GetDeviceProperty(param::hstring const& propertyId) const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::LowLagPhotoSequenceControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::LowLagPhotoSequence() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::LowLagPhotoControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::LowLagPhoto() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::SceneModeControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::SceneModeControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::TorchControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::TorchControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::FlashControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::FlashControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::WhiteBalanceControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::WhiteBalanceControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ExposureControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::ExposureControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::FocusControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::FocusControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ExposureCompensationControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::ExposureCompensationControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::IsoSpeedControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::IsoSpeedControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::RegionsOfInterestControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::RegionsOfInterestControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::CaptureUse) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::PrimaryUse() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::PrimaryUse() const
{
winrt::Windows::Media::Devices::CaptureUse value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2)->get_PrimaryUse(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::PrimaryUse(winrt::Windows::Media::Devices::CaptureUse const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController2<D>::PrimaryUse(winrt::Windows::Media::Devices::CaptureUse const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2)->put_PrimaryUse(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::Core::VariablePhotoSequenceController) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController3<D>::VariablePhotoSequenceController() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::PhotoConfirmationControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController3<D>::PhotoConfirmationControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ZoomControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController3<D>::ZoomControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ExposurePriorityVideoControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4<D>::ExposurePriorityVideoControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaCaptureOptimization) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4<D>::DesiredOptimization() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4<D>::DesiredOptimization() const
{
winrt::Windows::Media::Devices::MediaCaptureOptimization value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController4)->get_DesiredOptimization(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4<D>::DesiredOptimization(winrt::Windows::Media::Devices::MediaCaptureOptimization const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4<D>::DesiredOptimization(winrt::Windows::Media::Devices::MediaCaptureOptimization const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController4)->put_DesiredOptimization(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::HdrVideoControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4<D>::HdrVideoControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::OpticalImageStabilizationControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4<D>::OpticalImageStabilizationControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AdvancedPhotoControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4<D>::AdvancedPhotoControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController4<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5<D>::Id() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceControllerGetDevicePropertyResult) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5<D>::GetDevicePropertyById(param::hstring const& propertyId, winrt::Windows::Foundation::IReference<uint32_t> const& maxPropertyValueSize) const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5<D>::GetDevicePropertyById(param::hstring const& propertyId, winrt::Windows::Foundation::IReference<uint32_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceControllerSetDevicePropertyStatus) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5<D>::SetDevicePropertyById(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceControllerGetDevicePropertyResult) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5<D>::GetDevicePropertyByExtendedId(array_view<uint8_t const> extendedPropertyId, winrt::Windows::Foundation::IReference<uint32_t> const& maxPropertyValueSize) const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5<D>::GetDevicePropertyByExtendedId(array_view<uint8_t const> extendedPropertyId, winrt::Windows::Foundation::IReference<uint32_t> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceControllerSetDevicePropertyStatus) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5<D>::SetDevicePropertyByExtendedId(array_view<uint8_t const> extendedPropertyId, array_view<uint8_t const> propertyValue) const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController5<D>::SetDevicePropertyByExtendedId(array_view<uint8_t const> extendedPropertyId, array_view<uint8_t const> 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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoTemporalDenoisingControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController6<D>::VideoTemporalDenoisingControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::InfraredTorchControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController7<D>::InfraredTorchControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::PanelBasedOptimizationControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController8<D>::PanelBasedOptimizationControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowControl) consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController9<D>::DigitalWindowControl() const
+ template <typename D> auto consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController9<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAudioDeviceController<D>::Muted(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceController<D>::Muted(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceController)->put_Muted(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IAudioDeviceController<D>::Muted() const
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceController<D>::Muted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceController)->get_Muted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAudioDeviceController<D>::VolumePercent(float value) const
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceController<D>::VolumePercent(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceController)->put_VolumePercent(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IAudioDeviceController<D>::VolumePercent() const
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceController<D>::VolumePercent() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceController)->get_VolumePercent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IAudioDeviceModule<D>::ClassId() const
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceModule<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IAudioDeviceModule<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceModule<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IAudioDeviceModule<D>::InstanceId() const
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceModule<D>::InstanceId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModule)->get_InstanceId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IAudioDeviceModule<D>::MajorVersion() const
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceModule<D>::MajorVersion() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModule)->get_MajorVersion(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IAudioDeviceModule<D>::MinorVersion() const
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceModule<D>::MinorVersion() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModule)->get_MinorVersion(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Devices::ModuleCommandResult>) consume_Windows_Media_Devices_IAudioDeviceModule<D>::SendCommandAsync(winrt::Windows::Storage::Streams::IBuffer const& Command) const
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceModule<D>::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<winrt::Windows::Media::Devices::ModuleCommandResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AudioDeviceModule) consume_Windows_Media_Devices_IAudioDeviceModuleNotificationEventArgs<D>::Module() const
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceModuleNotificationEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Devices_IAudioDeviceModuleNotificationEventArgs<D>::NotificationData() const
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceModuleNotificationEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_IAudioDeviceModulesManager<D>::ModuleNotificationReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Devices::AudioDeviceModulesManager, winrt::Windows::Media::Devices::AudioDeviceModuleNotificationEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceModulesManager<D>::ModuleNotificationReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Devices::AudioDeviceModulesManager, winrt::Windows::Media::Devices::AudioDeviceModuleNotificationEventArgs> 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 D> typename consume_Windows_Media_Devices_IAudioDeviceModulesManager<D>::ModuleNotificationReceived_revoker consume_Windows_Media_Devices_IAudioDeviceModulesManager<D>::ModuleNotificationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Devices::AudioDeviceModulesManager, winrt::Windows::Media::Devices::AudioDeviceModuleNotificationEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceModulesManager<D>::ModuleNotificationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Devices::AudioDeviceModulesManager, winrt::Windows::Media::Devices::AudioDeviceModuleNotificationEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ModuleNotificationReceived_revoker>(this, ModuleNotificationReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IAudioDeviceModulesManager<D>::ModuleNotificationReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceModulesManager<D>::ModuleNotificationReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModulesManager)->remove_ModuleNotificationReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::AudioDeviceModule>) consume_Windows_Media_Devices_IAudioDeviceModulesManager<D>::FindAllById(param::hstring const& moduleId) const
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceModulesManager<D>::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<winrt::Windows::Media::Devices::AudioDeviceModule>{ modules, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::AudioDeviceModule>) consume_Windows_Media_Devices_IAudioDeviceModulesManager<D>::FindAll() const
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceModulesManager<D>::FindAll() const
{
void* modules{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IAudioDeviceModulesManager)->FindAll(&modules));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::AudioDeviceModule>{ modules, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AudioDeviceModulesManager) consume_Windows_Media_Devices_IAudioDeviceModulesManagerFactory<D>::Create(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Media_Devices_IAudioDeviceModulesManagerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Devices_ICallControl<D>::IndicateNewIncomingCall(bool enableRinger, param::hstring const& callerId) const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Devices_ICallControl<D>::IndicateNewOutgoingCall() const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::IndicateNewOutgoingCall() const
{
uint64_t callToken{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->IndicateNewOutgoingCall(&callToken));
return callToken;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ICallControl<D>::IndicateActiveCall(uint64_t callToken) const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::IndicateActiveCall(uint64_t callToken) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->IndicateActiveCall(callToken));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ICallControl<D>::EndCall(uint64_t callToken) const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::EndCall(uint64_t callToken) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->EndCall(callToken));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_ICallControl<D>::HasRinger() const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::HasRinger() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->get_HasRinger(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_ICallControl<D>::AnswerRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::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 D> typename consume_Windows_Media_Devices_ICallControl<D>::AnswerRequested_revoker consume_Windows_Media_Devices_ICallControl<D>::AnswerRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::AnswerRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const
{
return impl::make_event_revoker<D, AnswerRequested_revoker>(this, AnswerRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ICallControl<D>::AnswerRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::AnswerRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->remove_AnswerRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_ICallControl<D>::HangUpRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::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 D> typename consume_Windows_Media_Devices_ICallControl<D>::HangUpRequested_revoker consume_Windows_Media_Devices_ICallControl<D>::HangUpRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::HangUpRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const
{
return impl::make_event_revoker<D, HangUpRequested_revoker>(this, HangUpRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ICallControl<D>::HangUpRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::HangUpRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->remove_HangUpRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_ICallControl<D>::DialRequested(winrt::Windows::Media::Devices::DialRequestedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::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 D> typename consume_Windows_Media_Devices_ICallControl<D>::DialRequested_revoker consume_Windows_Media_Devices_ICallControl<D>::DialRequested(auto_revoke_t, winrt::Windows::Media::Devices::DialRequestedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::DialRequested(auto_revoke_t, winrt::Windows::Media::Devices::DialRequestedEventHandler const& handler) const
{
return impl::make_event_revoker<D, DialRequested_revoker>(this, DialRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ICallControl<D>::DialRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::DialRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->remove_DialRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_ICallControl<D>::RedialRequested(winrt::Windows::Media::Devices::RedialRequestedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::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 D> typename consume_Windows_Media_Devices_ICallControl<D>::RedialRequested_revoker consume_Windows_Media_Devices_ICallControl<D>::RedialRequested(auto_revoke_t, winrt::Windows::Media::Devices::RedialRequestedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::RedialRequested(auto_revoke_t, winrt::Windows::Media::Devices::RedialRequestedEventHandler const& handler) const
{
return impl::make_event_revoker<D, RedialRequested_revoker>(this, RedialRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ICallControl<D>::RedialRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::RedialRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->remove_RedialRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_ICallControl<D>::KeypadPressed(winrt::Windows::Media::Devices::KeypadPressedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::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 D> typename consume_Windows_Media_Devices_ICallControl<D>::KeypadPressed_revoker consume_Windows_Media_Devices_ICallControl<D>::KeypadPressed(auto_revoke_t, winrt::Windows::Media::Devices::KeypadPressedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::KeypadPressed(auto_revoke_t, winrt::Windows::Media::Devices::KeypadPressedEventHandler const& handler) const
{
return impl::make_event_revoker<D, KeypadPressed_revoker>(this, KeypadPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ICallControl<D>::KeypadPressed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::KeypadPressed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->remove_KeypadPressed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_ICallControl<D>::AudioTransferRequested(winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::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 D> typename consume_Windows_Media_Devices_ICallControl<D>::AudioTransferRequested_revoker consume_Windows_Media_Devices_ICallControl<D>::AudioTransferRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::AudioTransferRequested(auto_revoke_t, winrt::Windows::Media::Devices::CallControlEventHandler const& handler) const
{
return impl::make_event_revoker<D, AudioTransferRequested_revoker>(this, AudioTransferRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ICallControl<D>::AudioTransferRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Devices_ICallControl<D>::AudioTransferRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ICallControl)->remove_AudioTransferRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::CallControl) consume_Windows_Media_Devices_ICallControlStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::CallControl) consume_Windows_Media_Devices_ICallControlStatics<D>::FromId(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Media_Devices_ICallControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IDefaultAudioDeviceChangedEventArgs<D>::Id() const
+ template <typename D> auto consume_Windows_Media_Devices_IDefaultAudioDeviceChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AudioDeviceRole) consume_Windows_Media_Devices_IDefaultAudioDeviceChangedEventArgs<D>::Role() const
+ template <typename D> auto consume_Windows_Media_Devices_IDefaultAudioDeviceChangedEventArgs<D>::Role() const
{
winrt::Windows::Media::Devices::AudioDeviceRole value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs)->get_Role(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDialRequestedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Media_Devices_IDialRequestedEventArgs<D>::Handled() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDialRequestedEventArgs)->Handled());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Media_Devices_IDialRequestedEventArgs<D>::Contact() const
+ template <typename D> auto consume_Windows_Media_Devices_IDialRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowBounds<D>::NormalizedOriginTop() const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowBounds<D>::NormalizedOriginTop() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->get_NormalizedOriginTop(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowBounds<D>::NormalizedOriginTop(double value) const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowBounds<D>::NormalizedOriginTop(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->put_NormalizedOriginTop(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowBounds<D>::NormalizedOriginLeft() const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowBounds<D>::NormalizedOriginLeft() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->get_NormalizedOriginLeft(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowBounds<D>::NormalizedOriginLeft(double value) const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowBounds<D>::NormalizedOriginLeft(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->put_NormalizedOriginLeft(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowBounds<D>::Scale() const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowBounds<D>::Scale() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->get_Scale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowBounds<D>::Scale(double value) const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowBounds<D>::Scale(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowBounds)->put_Scale(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Devices_IDigitalWindowCapability<D>::Width() const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowCapability<D>::Width() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Devices_IDigitalWindowCapability<D>::Height() const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowCapability<D>::Height() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_Height(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowCapability<D>::MinScaleValue() const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowCapability<D>::MinScaleValue() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_MinScaleValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowCapability<D>::MaxScaleValue() const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowCapability<D>::MaxScaleValue() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_MaxScaleValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IDigitalWindowCapability<D>::MinScaleValueWithoutUpsampling() const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowCapability<D>::MinScaleValueWithoutUpsampling() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowCapability)->get_MinScaleValueWithoutUpsampling(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Media_Devices_IDigitalWindowCapability<D>::NormalizedFieldOfViewLimit() const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowCapability<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IDigitalWindowControl<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowControl<D>::IsSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->get_IsSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::Media::Devices::DigitalWindowMode>) consume_Windows_Media_Devices_IDigitalWindowControl<D>::SupportedModes() const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowControl<D>::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<winrt::Windows::Media::Devices::DigitalWindowMode>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowMode) consume_Windows_Media_Devices_IDigitalWindowControl<D>::CurrentMode() const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowControl<D>::CurrentMode() const
{
winrt::Windows::Media::Devices::DigitalWindowMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->get_CurrentMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowBounds) consume_Windows_Media_Devices_IDigitalWindowControl<D>::GetBounds() const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowControl<D>::Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode) const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowControl<D>::Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->Configure(static_cast<int32_t>(digitalWindowMode)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IDigitalWindowControl<D>::Configure(winrt::Windows::Media::Devices::DigitalWindowMode const& digitalWindowMode, winrt::Windows::Media::Devices::DigitalWindowBounds const& digitalWindowBounds) const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowControl<D>::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<int32_t>(digitalWindowMode), *(void**)(&digitalWindowBounds)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::DigitalWindowCapability>) consume_Windows_Media_Devices_IDigitalWindowControl<D>::SupportedCapabilities() const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowControl<D>::SupportedCapabilities() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IDigitalWindowControl)->get_SupportedCapabilities(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::DigitalWindowCapability>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowCapability) consume_Windows_Media_Devices_IDigitalWindowControl<D>::GetCapabilityForSize(int32_t width, int32_t height) const
+ template <typename D> auto consume_Windows_Media_Devices_IDigitalWindowControl<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IExposureCompensationControl<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_IExposureCompensationControl<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureCompensationControl)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IExposureCompensationControl<D>::Min() const
+ template <typename D> auto consume_Windows_Media_Devices_IExposureCompensationControl<D>::Min() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureCompensationControl)->get_Min(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IExposureCompensationControl<D>::Max() const
+ template <typename D> auto consume_Windows_Media_Devices_IExposureCompensationControl<D>::Max() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureCompensationControl)->get_Max(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IExposureCompensationControl<D>::Step() const
+ template <typename D> auto consume_Windows_Media_Devices_IExposureCompensationControl<D>::Step() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureCompensationControl)->get_Step(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IExposureCompensationControl<D>::Value() const
+ template <typename D> auto consume_Windows_Media_Devices_IExposureCompensationControl<D>::Value() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureCompensationControl)->get_Value(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IExposureCompensationControl<D>::SetValueAsync(float value) const
+ template <typename D> auto consume_Windows_Media_Devices_IExposureCompensationControl<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IExposureControl<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_IExposureControl<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureControl)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IExposureControl<D>::Auto() const
+ template <typename D> auto consume_Windows_Media_Devices_IExposureControl<D>::Auto() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposureControl)->get_Auto(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IExposureControl<D>::SetAutoAsync(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_IExposureControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Devices_IExposureControl<D>::Min() const
+ template <typename D> auto consume_Windows_Media_Devices_IExposureControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Devices_IExposureControl<D>::Max() const
+ template <typename D> auto consume_Windows_Media_Devices_IExposureControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Devices_IExposureControl<D>::Step() const
+ template <typename D> auto consume_Windows_Media_Devices_IExposureControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Devices_IExposureControl<D>::Value() const
+ template <typename D> auto consume_Windows_Media_Devices_IExposureControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IExposureControl<D>::SetValueAsync(winrt::Windows::Foundation::TimeSpan const& shutterDuration) const
+ template <typename D> auto consume_Windows_Media_Devices_IExposureControl<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IExposurePriorityVideoControl<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_IExposurePriorityVideoControl<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposurePriorityVideoControl)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IExposurePriorityVideoControl<D>::Enabled() const
+ template <typename D> auto consume_Windows_Media_Devices_IExposurePriorityVideoControl<D>::Enabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposurePriorityVideoControl)->get_Enabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IExposurePriorityVideoControl<D>::Enabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_IExposurePriorityVideoControl<D>::Enabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IExposurePriorityVideoControl)->put_Enabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFlashControl<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_IFlashControl<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFlashControl<D>::PowerSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_IFlashControl<D>::PowerSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->get_PowerSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFlashControl<D>::RedEyeReductionSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_IFlashControl<D>::RedEyeReductionSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->get_RedEyeReductionSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFlashControl<D>::Enabled() const
+ template <typename D> auto consume_Windows_Media_Devices_IFlashControl<D>::Enabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->get_Enabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFlashControl<D>::Enabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_IFlashControl<D>::Enabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->put_Enabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFlashControl<D>::Auto() const
+ template <typename D> auto consume_Windows_Media_Devices_IFlashControl<D>::Auto() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->get_Auto(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFlashControl<D>::Auto(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_IFlashControl<D>::Auto(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->put_Auto(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFlashControl<D>::RedEyeReduction() const
+ template <typename D> auto consume_Windows_Media_Devices_IFlashControl<D>::RedEyeReduction() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->get_RedEyeReduction(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFlashControl<D>::RedEyeReduction(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_IFlashControl<D>::RedEyeReduction(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->put_RedEyeReduction(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IFlashControl<D>::PowerPercent() const
+ template <typename D> auto consume_Windows_Media_Devices_IFlashControl<D>::PowerPercent() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->get_PowerPercent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFlashControl<D>::PowerPercent(float value) const
+ template <typename D> auto consume_Windows_Media_Devices_IFlashControl<D>::PowerPercent(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl)->put_PowerPercent(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFlashControl2<D>::AssistantLightSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_IFlashControl2<D>::AssistantLightSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl2)->get_AssistantLightSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFlashControl2<D>::AssistantLightEnabled() const
+ template <typename D> auto consume_Windows_Media_Devices_IFlashControl2<D>::AssistantLightEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl2)->get_AssistantLightEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFlashControl2<D>::AssistantLightEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_IFlashControl2<D>::AssistantLightEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFlashControl2)->put_AssistantLightEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFocusControl<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::FocusPreset>) consume_Windows_Media_Devices_IFocusControl<D>::SupportedPresets() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl<D>::SupportedPresets() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->get_SupportedPresets(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::FocusPreset>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::FocusPreset) consume_Windows_Media_Devices_IFocusControl<D>::Preset() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl<D>::Preset() const
{
winrt::Windows::Media::Devices::FocusPreset value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->get_Preset(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IFocusControl<D>::SetPresetAsync(winrt::Windows::Media::Devices::FocusPreset const& preset) const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl<D>::SetPresetAsync(winrt::Windows::Media::Devices::FocusPreset const& preset) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->SetPresetAsync(static_cast<int32_t>(preset), &asyncInfo));
return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IFocusControl<D>::SetPresetAsync(winrt::Windows::Media::Devices::FocusPreset const& preset, bool completeBeforeFocus) const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl<D>::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<int32_t>(preset), completeBeforeFocus, &asyncInfo));
return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IFocusControl<D>::Min() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl<D>::Min() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->get_Min(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IFocusControl<D>::Max() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl<D>::Max() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->get_Max(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IFocusControl<D>::Step() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl<D>::Step() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->get_Step(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IFocusControl<D>::Value() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl<D>::Value() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl)->get_Value(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IFocusControl<D>::SetValueAsync(uint32_t focus) const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IFocusControl<D>::FocusAsync() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFocusControl2<D>::FocusChangedSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl2<D>::FocusChangedSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->get_FocusChangedSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFocusControl2<D>::WaitForFocusSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl2<D>::WaitForFocusSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->get_WaitForFocusSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::FocusMode>) consume_Windows_Media_Devices_IFocusControl2<D>::SupportedFocusModes() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl2<D>::SupportedFocusModes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->get_SupportedFocusModes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::FocusMode>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::ManualFocusDistance>) consume_Windows_Media_Devices_IFocusControl2<D>::SupportedFocusDistances() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl2<D>::SupportedFocusDistances() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->get_SupportedFocusDistances(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::ManualFocusDistance>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::AutoFocusRange>) consume_Windows_Media_Devices_IFocusControl2<D>::SupportedFocusRanges() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl2<D>::SupportedFocusRanges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->get_SupportedFocusRanges(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::AutoFocusRange>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::FocusMode) consume_Windows_Media_Devices_IFocusControl2<D>::Mode() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl2<D>::Mode() const
{
winrt::Windows::Media::Devices::FocusMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaCaptureFocusState) consume_Windows_Media_Devices_IFocusControl2<D>::FocusState() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl2<D>::FocusState() const
{
winrt::Windows::Media::Devices::MediaCaptureFocusState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->get_FocusState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IFocusControl2<D>::UnlockAsync() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IFocusControl2<D>::LockAsync() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFocusControl2<D>::Configure(winrt::Windows::Media::Devices::FocusSettings const& settings) const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusControl2<D>::Configure(winrt::Windows::Media::Devices::FocusSettings const& settings) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusControl2)->Configure(*(void**)(&settings)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::FocusMode) consume_Windows_Media_Devices_IFocusSettings<D>::Mode() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusSettings<D>::Mode() const
{
winrt::Windows::Media::Devices::FocusMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFocusSettings<D>::Mode(winrt::Windows::Media::Devices::FocusMode const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusSettings<D>::Mode(winrt::Windows::Media::Devices::FocusMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->put_Mode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::AutoFocusRange) consume_Windows_Media_Devices_IFocusSettings<D>::AutoFocusRange() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusSettings<D>::AutoFocusRange() const
{
winrt::Windows::Media::Devices::AutoFocusRange value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->get_AutoFocusRange(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFocusSettings<D>::AutoFocusRange(winrt::Windows::Media::Devices::AutoFocusRange const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusSettings<D>::AutoFocusRange(winrt::Windows::Media::Devices::AutoFocusRange const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->put_AutoFocusRange(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Devices_IFocusSettings<D>::Value() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusSettings<D>::Value() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->get_Value(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFocusSettings<D>::Value(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusSettings<D>::Value(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->put_Value(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Devices::ManualFocusDistance>) consume_Windows_Media_Devices_IFocusSettings<D>::Distance() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusSettings<D>::Distance() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->get_Distance(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Media::Devices::ManualFocusDistance>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFocusSettings<D>::Distance(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Devices::ManualFocusDistance> const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusSettings<D>::Distance(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Devices::ManualFocusDistance> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->put_Distance(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFocusSettings<D>::WaitForFocus() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusSettings<D>::WaitForFocus() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->get_WaitForFocus(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFocusSettings<D>::WaitForFocus(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusSettings<D>::WaitForFocus(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->put_WaitForFocus(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IFocusSettings<D>::DisableDriverFallback() const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusSettings<D>::DisableDriverFallback() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->get_DisableDriverFallback(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IFocusSettings<D>::DisableDriverFallback(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_IFocusSettings<D>::DisableDriverFallback(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IFocusSettings)->put_DisableDriverFallback(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IHdrVideoControl<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_IHdrVideoControl<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IHdrVideoControl)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::HdrVideoMode>) consume_Windows_Media_Devices_IHdrVideoControl<D>::SupportedModes() const
+ template <typename D> auto consume_Windows_Media_Devices_IHdrVideoControl<D>::SupportedModes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IHdrVideoControl)->get_SupportedModes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::HdrVideoMode>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::HdrVideoMode) consume_Windows_Media_Devices_IHdrVideoControl<D>::Mode() const
+ template <typename D> auto consume_Windows_Media_Devices_IHdrVideoControl<D>::Mode() const
{
winrt::Windows::Media::Devices::HdrVideoMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IHdrVideoControl)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IHdrVideoControl<D>::Mode(winrt::Windows::Media::Devices::HdrVideoMode const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IHdrVideoControl<D>::Mode(winrt::Windows::Media::Devices::HdrVideoMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IHdrVideoControl)->put_Mode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IInfraredTorchControl<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_IInfraredTorchControl<D>::IsSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->get_IsSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::InfraredTorchMode>) consume_Windows_Media_Devices_IInfraredTorchControl<D>::SupportedModes() const
+ template <typename D> auto consume_Windows_Media_Devices_IInfraredTorchControl<D>::SupportedModes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->get_SupportedModes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::InfraredTorchMode>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::InfraredTorchMode) consume_Windows_Media_Devices_IInfraredTorchControl<D>::CurrentMode() const
+ template <typename D> auto consume_Windows_Media_Devices_IInfraredTorchControl<D>::CurrentMode() const
{
winrt::Windows::Media::Devices::InfraredTorchMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->get_CurrentMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IInfraredTorchControl<D>::CurrentMode(winrt::Windows::Media::Devices::InfraredTorchMode const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IInfraredTorchControl<D>::CurrentMode(winrt::Windows::Media::Devices::InfraredTorchMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->put_CurrentMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Devices_IInfraredTorchControl<D>::MinPower() const
+ template <typename D> auto consume_Windows_Media_Devices_IInfraredTorchControl<D>::MinPower() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->get_MinPower(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Devices_IInfraredTorchControl<D>::MaxPower() const
+ template <typename D> auto consume_Windows_Media_Devices_IInfraredTorchControl<D>::MaxPower() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->get_MaxPower(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Devices_IInfraredTorchControl<D>::PowerStep() const
+ template <typename D> auto consume_Windows_Media_Devices_IInfraredTorchControl<D>::PowerStep() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->get_PowerStep(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Devices_IInfraredTorchControl<D>::Power() const
+ template <typename D> auto consume_Windows_Media_Devices_IInfraredTorchControl<D>::Power() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->get_Power(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IInfraredTorchControl<D>::Power(int32_t value) const
+ template <typename D> auto consume_Windows_Media_Devices_IInfraredTorchControl<D>::Power(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IInfraredTorchControl)->put_Power(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IIsoSpeedControl<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_IIsoSpeedControl<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::IsoSpeedPreset>) consume_Windows_Media_Devices_IIsoSpeedControl<D>::SupportedPresets() const
+ template <typename D> auto consume_Windows_Media_Devices_IIsoSpeedControl<D>::SupportedPresets() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl)->get_SupportedPresets(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::IsoSpeedPreset>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::IsoSpeedPreset) consume_Windows_Media_Devices_IIsoSpeedControl<D>::Preset() const
+ template <typename D> auto consume_Windows_Media_Devices_IIsoSpeedControl<D>::Preset() const
{
winrt::Windows::Media::Devices::IsoSpeedPreset value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl)->get_Preset(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IIsoSpeedControl<D>::SetPresetAsync(winrt::Windows::Media::Devices::IsoSpeedPreset const& preset) const
+ template <typename D> auto consume_Windows_Media_Devices_IIsoSpeedControl<D>::SetPresetAsync(winrt::Windows::Media::Devices::IsoSpeedPreset const& preset) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl)->SetPresetAsync(static_cast<int32_t>(preset), &asyncInfo));
return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IIsoSpeedControl2<D>::Min() const
+ template <typename D> auto consume_Windows_Media_Devices_IIsoSpeedControl2<D>::Min() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl2)->get_Min(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IIsoSpeedControl2<D>::Max() const
+ template <typename D> auto consume_Windows_Media_Devices_IIsoSpeedControl2<D>::Max() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl2)->get_Max(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IIsoSpeedControl2<D>::Step() const
+ template <typename D> auto consume_Windows_Media_Devices_IIsoSpeedControl2<D>::Step() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl2)->get_Step(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IIsoSpeedControl2<D>::Value() const
+ template <typename D> auto consume_Windows_Media_Devices_IIsoSpeedControl2<D>::Value() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl2)->get_Value(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IIsoSpeedControl2<D>::SetValueAsync(uint32_t isoSpeed) const
+ template <typename D> auto consume_Windows_Media_Devices_IIsoSpeedControl2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IIsoSpeedControl2<D>::Auto() const
+ template <typename D> auto consume_Windows_Media_Devices_IIsoSpeedControl2<D>::Auto() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IIsoSpeedControl2)->get_Auto(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IIsoSpeedControl2<D>::SetAutoAsync() const
+ template <typename D> auto consume_Windows_Media_Devices_IIsoSpeedControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::TelephonyKey) consume_Windows_Media_Devices_IKeypadPressedEventArgs<D>::TelephonyKey() const
+ template <typename D> auto consume_Windows_Media_Devices_IKeypadPressedEventArgs<D>::TelephonyKey() const
{
winrt::Windows::Media::Devices::TelephonyKey telephonyKey{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IKeypadPressedEventArgs)->get_TelephonyKey(reinterpret_cast<int32_t*>(&telephonyKey)));
return telephonyKey;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_Devices_ILowLagPhotoControl<D>::GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_Devices_ILowLagPhotoControl<D>::GetCurrentFrameRate() const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoControl<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_ILowLagPhotoControl<D>::ThumbnailEnabled() const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoControl<D>::ThumbnailEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoControl)->get_ThumbnailEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ILowLagPhotoControl<D>::ThumbnailEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoControl<D>::ThumbnailEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoControl)->put_ThumbnailEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat) consume_Windows_Media_Devices_ILowLagPhotoControl<D>::ThumbnailFormat() const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoControl<D>::ThumbnailFormat() const
{
winrt::Windows::Media::MediaProperties::MediaThumbnailFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoControl)->get_ThumbnailFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ILowLagPhotoControl<D>::ThumbnailFormat(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoControl<D>::ThumbnailFormat(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoControl)->put_ThumbnailFormat(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_ILowLagPhotoControl<D>::DesiredThumbnailSize() const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoControl<D>::DesiredThumbnailSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoControl)->get_DesiredThumbnailSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ILowLagPhotoControl<D>::DesiredThumbnailSize(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoControl<D>::DesiredThumbnailSize(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoControl)->put_DesiredThumbnailSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_ILowLagPhotoControl<D>::HardwareAcceleratedThumbnailSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoControl<D>::HardwareAcceleratedThumbnailSupported() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoControl)->get_HardwareAcceleratedThumbnailSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::MaxPastPhotos() const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::MaxPastPhotos() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_MaxPastPhotos(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::MaxPhotosPerSecond() const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::MaxPhotosPerSecond() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_MaxPhotosPerSecond(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::PastPhotoLimit() const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::PastPhotoLimit() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_PastPhotoLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::PastPhotoLimit(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::PastPhotoLimit(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->put_PastPhotoLimit(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::PhotosPerSecondLimit() const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::PhotosPerSecondLimit() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_PhotosPerSecondLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::PhotosPerSecondLimit(float value) const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::PhotosPerSecondLimit(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->put_PhotosPerSecondLimit(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::GetHighestConcurrentFrameRate(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& captureProperties) const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::GetCurrentFrameRate() const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::ThumbnailEnabled() const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::ThumbnailEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_ThumbnailEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::ThumbnailEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::ThumbnailEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->put_ThumbnailEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::ThumbnailFormat() const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::ThumbnailFormat() const
{
winrt::Windows::Media::MediaProperties::MediaThumbnailFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_ThumbnailFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::ThumbnailFormat(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::ThumbnailFormat(winrt::Windows::Media::MediaProperties::MediaThumbnailFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->put_ThumbnailFormat(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::DesiredThumbnailSize() const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::DesiredThumbnailSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_DesiredThumbnailSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::DesiredThumbnailSize(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::DesiredThumbnailSize(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->put_DesiredThumbnailSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::HardwareAcceleratedThumbnailSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_ILowLagPhotoSequenceControl<D>::HardwareAcceleratedThumbnailSupported() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl)->get_HardwareAcceleratedThumbnailSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControlCapabilities) consume_Windows_Media_Devices_IMediaDeviceControl<D>::Capabilities() const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceControl<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IMediaDeviceControl<D>::TryGetValue(double& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceControl<D>::TryGetValue(double& value) const
{
bool succeeded{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControl)->TryGetValue(&value, &succeeded));
return succeeded;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IMediaDeviceControl<D>::TrySetValue(double value) const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceControl<D>::TrySetValue(double value) const
{
bool succeeded{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControl)->TrySetValue(value, &succeeded));
return succeeded;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IMediaDeviceControl<D>::TryGetAuto(bool& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceControl<D>::TryGetAuto(bool& value) const
{
bool succeeded{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControl)->TryGetAuto(&value, &succeeded));
return succeeded;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IMediaDeviceControl<D>::TrySetAuto(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceControl<D>::TrySetAuto(bool value) const
{
bool succeeded{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControl)->TrySetAuto(value, &succeeded));
return succeeded;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IMediaDeviceControlCapabilities<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceControlCapabilities<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControlCapabilities)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IMediaDeviceControlCapabilities<D>::Min() const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceControlCapabilities<D>::Min() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControlCapabilities)->get_Min(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IMediaDeviceControlCapabilities<D>::Max() const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceControlCapabilities<D>::Max() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControlCapabilities)->get_Max(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IMediaDeviceControlCapabilities<D>::Step() const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceControlCapabilities<D>::Step() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControlCapabilities)->get_Step(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Devices_IMediaDeviceControlCapabilities<D>::Default() const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceControlCapabilities<D>::Default() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControlCapabilities)->get_Default(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IMediaDeviceControlCapabilities<D>::AutoModeSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceControlCapabilities<D>::AutoModeSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceControlCapabilities)->get_AutoModeSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::MediaProperties::IMediaEncodingProperties>) consume_Windows_Media_Devices_IMediaDeviceController<D>::GetAvailableMediaStreamProperties(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceController<D>::GetAvailableMediaStreamProperties(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceController)->GetAvailableMediaStreamProperties(static_cast<int32_t>(mediaStreamType), &value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::MediaProperties::IMediaEncodingProperties>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties) consume_Windows_Media_Devices_IMediaDeviceController<D>::GetMediaStreamProperties(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceController<D>::GetMediaStreamProperties(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceController)->GetMediaStreamProperties(static_cast<int32_t>(mediaStreamType), &value));
return winrt::Windows::Media::MediaProperties::IMediaEncodingProperties{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IMediaDeviceController<D>::SetMediaStreamPropertiesAsync(winrt::Windows::Media::Capture::MediaStreamType const& mediaStreamType, winrt::Windows::Media::MediaProperties::IMediaEncodingProperties const& mediaEncodingProperties) const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceController<D>::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<int32_t>(mediaStreamType), *(void**)(&mediaEncodingProperties), &asyncInfo));
return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IMediaDeviceStatics<D>::GetAudioCaptureSelector() const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceStatics<D>::GetAudioCaptureSelector() const
{
void* selector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceStatics)->GetAudioCaptureSelector(&selector));
return hstring{ selector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IMediaDeviceStatics<D>::GetAudioRenderSelector() const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceStatics<D>::GetAudioRenderSelector() const
{
void* selector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceStatics)->GetAudioRenderSelector(&selector));
return hstring{ selector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IMediaDeviceStatics<D>::GetVideoCaptureSelector() const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceStatics<D>::GetVideoCaptureSelector() const
{
void* selector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceStatics)->GetVideoCaptureSelector(&selector));
return hstring{ selector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IMediaDeviceStatics<D>::GetDefaultAudioCaptureId(winrt::Windows::Media::Devices::AudioDeviceRole const& role) const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceStatics<D>::GetDefaultAudioCaptureId(winrt::Windows::Media::Devices::AudioDeviceRole const& role) const
{
void* deviceId{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceStatics)->GetDefaultAudioCaptureId(static_cast<int32_t>(role), &deviceId));
return hstring{ deviceId, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Devices_IMediaDeviceStatics<D>::GetDefaultAudioRenderId(winrt::Windows::Media::Devices::AudioDeviceRole const& role) const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceStatics<D>::GetDefaultAudioRenderId(winrt::Windows::Media::Devices::AudioDeviceRole const& role) const
{
void* deviceId{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceStatics)->GetDefaultAudioRenderId(static_cast<int32_t>(role), &deviceId));
return hstring{ deviceId, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_IMediaDeviceStatics<D>::DefaultAudioCaptureDeviceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceStatics<D>::DefaultAudioCaptureDeviceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs> 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 D> typename consume_Windows_Media_Devices_IMediaDeviceStatics<D>::DefaultAudioCaptureDeviceChanged_revoker consume_Windows_Media_Devices_IMediaDeviceStatics<D>::DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceStatics<D>::DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DefaultAudioCaptureDeviceChanged_revoker>(this, DefaultAudioCaptureDeviceChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IMediaDeviceStatics<D>::DefaultAudioCaptureDeviceChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceStatics<D>::DefaultAudioCaptureDeviceChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceStatics)->remove_DefaultAudioCaptureDeviceChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Devices_IMediaDeviceStatics<D>::DefaultAudioRenderDeviceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceStatics<D>::DefaultAudioRenderDeviceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs> 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 D> typename consume_Windows_Media_Devices_IMediaDeviceStatics<D>::DefaultAudioRenderDeviceChanged_revoker consume_Windows_Media_Devices_IMediaDeviceStatics<D>::DefaultAudioRenderDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceStatics<D>::DefaultAudioRenderDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DefaultAudioRenderDeviceChanged_revoker>(this, DefaultAudioRenderDeviceChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IMediaDeviceStatics<D>::DefaultAudioRenderDeviceChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_Devices_IMediaDeviceStatics<D>::DefaultAudioRenderDeviceChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IMediaDeviceStatics)->remove_DefaultAudioRenderDeviceChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::SendCommandStatus) consume_Windows_Media_Devices_IModuleCommandResult<D>::Status() const
+ template <typename D> auto consume_Windows_Media_Devices_IModuleCommandResult<D>::Status() const
{
winrt::Windows::Media::Devices::SendCommandStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IModuleCommandResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Devices_IModuleCommandResult<D>::Result() const
+ template <typename D> auto consume_Windows_Media_Devices_IModuleCommandResult<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IOpticalImageStabilizationControl<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_IOpticalImageStabilizationControl<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IOpticalImageStabilizationControl)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::OpticalImageStabilizationMode>) consume_Windows_Media_Devices_IOpticalImageStabilizationControl<D>::SupportedModes() const
+ template <typename D> auto consume_Windows_Media_Devices_IOpticalImageStabilizationControl<D>::SupportedModes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IOpticalImageStabilizationControl)->get_SupportedModes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::OpticalImageStabilizationMode>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::OpticalImageStabilizationMode) consume_Windows_Media_Devices_IOpticalImageStabilizationControl<D>::Mode() const
+ template <typename D> auto consume_Windows_Media_Devices_IOpticalImageStabilizationControl<D>::Mode() const
{
winrt::Windows::Media::Devices::OpticalImageStabilizationMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IOpticalImageStabilizationControl)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IOpticalImageStabilizationControl<D>::Mode(winrt::Windows::Media::Devices::OpticalImageStabilizationMode const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IOpticalImageStabilizationControl<D>::Mode(winrt::Windows::Media::Devices::OpticalImageStabilizationMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IOpticalImageStabilizationControl)->put_Mode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IPanelBasedOptimizationControl<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_IPanelBasedOptimizationControl<D>::IsSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IPanelBasedOptimizationControl)->get_IsSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Panel) consume_Windows_Media_Devices_IPanelBasedOptimizationControl<D>::Panel() const
+ template <typename D> auto consume_Windows_Media_Devices_IPanelBasedOptimizationControl<D>::Panel() const
{
winrt::Windows::Devices::Enumeration::Panel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IPanelBasedOptimizationControl)->get_Panel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IPanelBasedOptimizationControl<D>::Panel(winrt::Windows::Devices::Enumeration::Panel const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IPanelBasedOptimizationControl<D>::Panel(winrt::Windows::Devices::Enumeration::Panel const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IPanelBasedOptimizationControl)->put_Panel(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IPhotoConfirmationControl<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_IPhotoConfirmationControl<D>::Supported() const
{
bool pbSupported{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IPhotoConfirmationControl)->get_Supported(&pbSupported));
return pbSupported;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IPhotoConfirmationControl<D>::Enabled() const
+ template <typename D> auto consume_Windows_Media_Devices_IPhotoConfirmationControl<D>::Enabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IPhotoConfirmationControl)->get_Enabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IPhotoConfirmationControl<D>::Enabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_IPhotoConfirmationControl<D>::Enabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IPhotoConfirmationControl)->put_Enabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaPixelFormat) consume_Windows_Media_Devices_IPhotoConfirmationControl<D>::PixelFormat() const
+ template <typename D> auto consume_Windows_Media_Devices_IPhotoConfirmationControl<D>::PixelFormat() const
{
winrt::Windows::Media::MediaProperties::MediaPixelFormat format{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IPhotoConfirmationControl)->get_PixelFormat(reinterpret_cast<int32_t*>(&format)));
return format;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IPhotoConfirmationControl<D>::PixelFormat(winrt::Windows::Media::MediaProperties::MediaPixelFormat const& format) const
+ template <typename D> auto consume_Windows_Media_Devices_IPhotoConfirmationControl<D>::PixelFormat(winrt::Windows::Media::MediaProperties::MediaPixelFormat const& format) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IPhotoConfirmationControl)->put_PixelFormat(static_cast<int32_t>(format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IRedialRequestedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Media_Devices_IRedialRequestedEventArgs<D>::Handled() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRedialRequestedEventArgs)->Handled());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IRegionOfInterest<D>::AutoFocusEnabled() const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionOfInterest<D>::AutoFocusEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest)->get_AutoFocusEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IRegionOfInterest<D>::AutoFocusEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionOfInterest<D>::AutoFocusEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest)->put_AutoFocusEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IRegionOfInterest<D>::AutoWhiteBalanceEnabled() const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionOfInterest<D>::AutoWhiteBalanceEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest)->get_AutoWhiteBalanceEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IRegionOfInterest<D>::AutoWhiteBalanceEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionOfInterest<D>::AutoWhiteBalanceEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest)->put_AutoWhiteBalanceEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IRegionOfInterest<D>::AutoExposureEnabled() const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionOfInterest<D>::AutoExposureEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest)->get_AutoExposureEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IRegionOfInterest<D>::AutoExposureEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionOfInterest<D>::AutoExposureEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest)->put_AutoExposureEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Media_Devices_IRegionOfInterest<D>::Bounds() const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionOfInterest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IRegionOfInterest<D>::Bounds(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionOfInterest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::RegionOfInterestType) consume_Windows_Media_Devices_IRegionOfInterest2<D>::Type() const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionOfInterest2<D>::Type() const
{
winrt::Windows::Media::Devices::RegionOfInterestType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest2)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IRegionOfInterest2<D>::Type(winrt::Windows::Media::Devices::RegionOfInterestType const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionOfInterest2<D>::Type(winrt::Windows::Media::Devices::RegionOfInterestType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest2)->put_Type(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IRegionOfInterest2<D>::BoundsNormalized() const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionOfInterest2<D>::BoundsNormalized() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest2)->get_BoundsNormalized(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IRegionOfInterest2<D>::BoundsNormalized(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionOfInterest2<D>::BoundsNormalized(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest2)->put_BoundsNormalized(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IRegionOfInterest2<D>::Weight() const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionOfInterest2<D>::Weight() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest2)->get_Weight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IRegionOfInterest2<D>::Weight(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionOfInterest2<D>::Weight(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionOfInterest2)->put_Weight(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IRegionsOfInterestControl<D>::MaxRegions() const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionsOfInterestControl<D>::MaxRegions() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionsOfInterestControl)->get_MaxRegions(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IRegionsOfInterestControl<D>::SetRegionsAsync(param::async_iterable<winrt::Windows::Media::Devices::RegionOfInterest> const& regions) const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionsOfInterestControl<D>::SetRegionsAsync(param::async_iterable<winrt::Windows::Media::Devices::RegionOfInterest> const& regions) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionsOfInterestControl)->SetRegionsAsync(*(void**)(&regions), &asyncInfo));
return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IRegionsOfInterestControl<D>::SetRegionsAsync(param::async_iterable<winrt::Windows::Media::Devices::RegionOfInterest> const& regions, bool lockValues) const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionsOfInterestControl<D>::SetRegionsAsync(param::async_iterable<winrt::Windows::Media::Devices::RegionOfInterest> const& regions, bool lockValues) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionsOfInterestControl)->SetRegionsWithLockAsync(*(void**)(&regions), lockValues, &asyncInfo));
return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IRegionsOfInterestControl<D>::ClearRegionsAsync() const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionsOfInterestControl<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IRegionsOfInterestControl<D>::AutoFocusSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionsOfInterestControl<D>::AutoFocusSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionsOfInterestControl)->get_AutoFocusSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IRegionsOfInterestControl<D>::AutoWhiteBalanceSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionsOfInterestControl<D>::AutoWhiteBalanceSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionsOfInterestControl)->get_AutoWhiteBalanceSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IRegionsOfInterestControl<D>::AutoExposureSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_IRegionsOfInterestControl<D>::AutoExposureSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IRegionsOfInterestControl)->get_AutoExposureSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::CaptureSceneMode>) consume_Windows_Media_Devices_ISceneModeControl<D>::SupportedModes() const
+ template <typename D> auto consume_Windows_Media_Devices_ISceneModeControl<D>::SupportedModes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ISceneModeControl)->get_SupportedModes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::CaptureSceneMode>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::CaptureSceneMode) consume_Windows_Media_Devices_ISceneModeControl<D>::Value() const
+ template <typename D> auto consume_Windows_Media_Devices_ISceneModeControl<D>::Value() const
{
winrt::Windows::Media::Devices::CaptureSceneMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ISceneModeControl)->get_Value(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_ISceneModeControl<D>::SetValueAsync(winrt::Windows::Media::Devices::CaptureSceneMode const& sceneMode) const
+ template <typename D> auto consume_Windows_Media_Devices_ISceneModeControl<D>::SetValueAsync(winrt::Windows::Media::Devices::CaptureSceneMode const& sceneMode) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ISceneModeControl)->SetValueAsync(static_cast<int32_t>(sceneMode), &asyncInfo));
return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_ITorchControl<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_ITorchControl<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ITorchControl)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_ITorchControl<D>::PowerSupported() const
+ template <typename D> auto consume_Windows_Media_Devices_ITorchControl<D>::PowerSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ITorchControl)->get_PowerSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_ITorchControl<D>::Enabled() const
+ template <typename D> auto consume_Windows_Media_Devices_ITorchControl<D>::Enabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ITorchControl)->get_Enabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ITorchControl<D>::Enabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Devices_ITorchControl<D>::Enabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ITorchControl)->put_Enabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_ITorchControl<D>::PowerPercent() const
+ template <typename D> auto consume_Windows_Media_Devices_ITorchControl<D>::PowerPercent() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ITorchControl)->get_PowerPercent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_ITorchControl<D>::PowerPercent(float value) const
+ template <typename D> auto consume_Windows_Media_Devices_ITorchControl<D>::PowerPercent(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::ITorchControl)->put_PowerPercent(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController<D>::Brightness() const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoDeviceController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController<D>::Contrast() const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoDeviceController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController<D>::Hue() const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoDeviceController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController<D>::WhiteBalance() const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoDeviceController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController<D>::BacklightCompensation() const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoDeviceController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController<D>::Pan() const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoDeviceController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController<D>::Tilt() const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoDeviceController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController<D>::Zoom() const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoDeviceController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController<D>::Roll() const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoDeviceController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController<D>::Exposure() const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoDeviceController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaDeviceControl) consume_Windows_Media_Devices_IVideoDeviceController<D>::Focus() const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoDeviceController<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IVideoDeviceController<D>::TrySetPowerlineFrequency(winrt::Windows::Media::Capture::PowerlineFrequency const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoDeviceController<D>::TrySetPowerlineFrequency(winrt::Windows::Media::Capture::PowerlineFrequency const& value) const
{
bool succeeded{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceController)->TrySetPowerlineFrequency(static_cast<int32_t>(value), &succeeded));
return succeeded;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IVideoDeviceController<D>::TryGetPowerlineFrequency(winrt::Windows::Media::Capture::PowerlineFrequency& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoDeviceController<D>::TryGetPowerlineFrequency(winrt::Windows::Media::Capture::PowerlineFrequency& value) const
{
bool succeeded{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceController)->TryGetPowerlineFrequency(reinterpret_cast<int32_t*>(&value), &succeeded));
return succeeded;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceControllerGetDevicePropertyStatus) consume_Windows_Media_Devices_IVideoDeviceControllerGetDevicePropertyResult<D>::Status() const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoDeviceControllerGetDevicePropertyResult<D>::Status() const
{
winrt::Windows::Media::Devices::VideoDeviceControllerGetDevicePropertyStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoDeviceControllerGetDevicePropertyResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Media_Devices_IVideoDeviceControllerGetDevicePropertyResult<D>::Value() const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoDeviceControllerGetDevicePropertyResult<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IVideoTemporalDenoisingControl<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoTemporalDenoisingControl<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoTemporalDenoisingControl)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::VideoTemporalDenoisingMode>) consume_Windows_Media_Devices_IVideoTemporalDenoisingControl<D>::SupportedModes() const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoTemporalDenoisingControl<D>::SupportedModes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoTemporalDenoisingControl)->get_SupportedModes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::VideoTemporalDenoisingMode>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoTemporalDenoisingMode) consume_Windows_Media_Devices_IVideoTemporalDenoisingControl<D>::Mode() const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoTemporalDenoisingControl<D>::Mode() const
{
winrt::Windows::Media::Devices::VideoTemporalDenoisingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoTemporalDenoisingControl)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IVideoTemporalDenoisingControl<D>::Mode(winrt::Windows::Media::Devices::VideoTemporalDenoisingMode const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IVideoTemporalDenoisingControl<D>::Mode(winrt::Windows::Media::Devices::VideoTemporalDenoisingMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IVideoTemporalDenoisingControl)->put_Mode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IWhiteBalanceControl<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_IWhiteBalanceControl<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IWhiteBalanceControl)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ColorTemperaturePreset) consume_Windows_Media_Devices_IWhiteBalanceControl<D>::Preset() const
+ template <typename D> auto consume_Windows_Media_Devices_IWhiteBalanceControl<D>::Preset() const
{
winrt::Windows::Media::Devices::ColorTemperaturePreset value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IWhiteBalanceControl)->get_Preset(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IWhiteBalanceControl<D>::SetPresetAsync(winrt::Windows::Media::Devices::ColorTemperaturePreset const& preset) const
+ template <typename D> auto consume_Windows_Media_Devices_IWhiteBalanceControl<D>::SetPresetAsync(winrt::Windows::Media::Devices::ColorTemperaturePreset const& preset) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IWhiteBalanceControl)->SetPresetAsync(static_cast<int32_t>(preset), &asyncInfo));
return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IWhiteBalanceControl<D>::Min() const
+ template <typename D> auto consume_Windows_Media_Devices_IWhiteBalanceControl<D>::Min() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IWhiteBalanceControl)->get_Min(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IWhiteBalanceControl<D>::Max() const
+ template <typename D> auto consume_Windows_Media_Devices_IWhiteBalanceControl<D>::Max() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IWhiteBalanceControl)->get_Max(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IWhiteBalanceControl<D>::Step() const
+ template <typename D> auto consume_Windows_Media_Devices_IWhiteBalanceControl<D>::Step() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IWhiteBalanceControl)->get_Step(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Devices_IWhiteBalanceControl<D>::Value() const
+ template <typename D> auto consume_Windows_Media_Devices_IWhiteBalanceControl<D>::Value() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IWhiteBalanceControl)->get_Value(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Devices_IWhiteBalanceControl<D>::SetValueAsync(uint32_t temperature) const
+ template <typename D> auto consume_Windows_Media_Devices_IWhiteBalanceControl<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Devices_IZoomControl<D>::Supported() const
+ template <typename D> auto consume_Windows_Media_Devices_IZoomControl<D>::Supported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl)->get_Supported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IZoomControl<D>::Min() const
+ template <typename D> auto consume_Windows_Media_Devices_IZoomControl<D>::Min() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl)->get_Min(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IZoomControl<D>::Max() const
+ template <typename D> auto consume_Windows_Media_Devices_IZoomControl<D>::Max() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl)->get_Max(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IZoomControl<D>::Step() const
+ template <typename D> auto consume_Windows_Media_Devices_IZoomControl<D>::Step() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl)->get_Step(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IZoomControl<D>::Value() const
+ template <typename D> auto consume_Windows_Media_Devices_IZoomControl<D>::Value() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl)->get_Value(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IZoomControl<D>::Value(float value) const
+ template <typename D> auto consume_Windows_Media_Devices_IZoomControl<D>::Value(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl)->put_Value(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::ZoomTransitionMode>) consume_Windows_Media_Devices_IZoomControl2<D>::SupportedModes() const
+ template <typename D> auto consume_Windows_Media_Devices_IZoomControl2<D>::SupportedModes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl2)->get_SupportedModes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::ZoomTransitionMode>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ZoomTransitionMode) consume_Windows_Media_Devices_IZoomControl2<D>::Mode() const
+ template <typename D> auto consume_Windows_Media_Devices_IZoomControl2<D>::Mode() const
{
winrt::Windows::Media::Devices::ZoomTransitionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl2)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IZoomControl2<D>::Configure(winrt::Windows::Media::Devices::ZoomSettings const& settings) const
+ template <typename D> auto consume_Windows_Media_Devices_IZoomControl2<D>::Configure(winrt::Windows::Media::Devices::ZoomSettings const& settings) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomControl2)->Configure(*(void**)(&settings)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::ZoomTransitionMode) consume_Windows_Media_Devices_IZoomSettings<D>::Mode() const
+ template <typename D> auto consume_Windows_Media_Devices_IZoomSettings<D>::Mode() const
{
winrt::Windows::Media::Devices::ZoomTransitionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomSettings)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IZoomSettings<D>::Mode(winrt::Windows::Media::Devices::ZoomTransitionMode const& value) const
+ template <typename D> auto consume_Windows_Media_Devices_IZoomSettings<D>::Mode(winrt::Windows::Media::Devices::ZoomTransitionMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomSettings)->put_Mode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Media_Devices_IZoomSettings<D>::Value() const
+ template <typename D> auto consume_Windows_Media_Devices_IZoomSettings<D>::Value() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Devices::IZoomSettings)->get_Value(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Devices_IZoomSettings<D>::Value(float value) const
+ template <typename D> auto consume_Windows_Media_Devices_IZoomSettings<D>::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<MediaDevice, IMediaDeviceStatics>([&](IMediaDeviceStatics const& f) { return f.DefaultAudioCaptureDeviceChanged(handler); });
}
- inline MediaDevice::DefaultAudioCaptureDeviceChanged_revoker MediaDevice::DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs> const& handler)
+ inline auto MediaDevice::DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs> const& handler)
{
auto f = get_activation_factory<MediaDevice, winrt::Windows::Media::Devices::IMediaDeviceStatics>();
- 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<MediaDevice, IMediaDeviceStatics>([&](IMediaDeviceStatics const& f) { return f.DefaultAudioRenderDeviceChanged(handler); });
}
- inline MediaDevice::DefaultAudioRenderDeviceChanged_revoker MediaDevice::DefaultAudioRenderDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs> const& handler)
+ inline auto MediaDevice::DefaultAudioRenderDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs> const& handler)
{
auto f = get_activation_factory<MediaDevice, winrt::Windows::Media::Devices::IMediaDeviceStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.DialProtocol.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.DialProtocol.h
index 6fa660ad458..b123722f6fa 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.DialProtocol.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_DialProtocol_IDialApp<D>::AppName() const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialApp<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::DialProtocol::DialAppLaunchResult>) consume_Windows_Media_DialProtocol_IDialApp<D>::RequestLaunchAsync(param::hstring const& appArgument) const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialApp<D>::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<winrt::Windows::Media::DialProtocol::DialAppLaunchResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::DialProtocol::DialAppStopResult>) consume_Windows_Media_DialProtocol_IDialApp<D>::StopAsync() const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialApp<D>::StopAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialApp)->StopAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::DialProtocol::DialAppStopResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::DialProtocol::DialAppStateDetails>) consume_Windows_Media_DialProtocol_IDialApp<D>::GetAppStateAsync() const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialApp<D>::GetAppStateAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialApp)->GetAppStateAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::DialProtocol::DialAppStateDetails>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialAppState) consume_Windows_Media_DialProtocol_IDialAppStateDetails<D>::State() const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialAppStateDetails<D>::State() const
{
winrt::Windows::Media::DialProtocol::DialAppState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialAppStateDetails)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_DialProtocol_IDialAppStateDetails<D>::FullXml() const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialAppStateDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_DialProtocol_IDialDevice<D>::Id() const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevice<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialApp) consume_Windows_Media_DialProtocol_IDialDevice<D>::GetDialApp(param::hstring const& appName) const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevice<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_DialProtocol_IDialDevice2<D>::FriendlyName() const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevice2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Media_DialProtocol_IDialDevice2<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevice2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialDevicePickerFilter) consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::Filter() const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DevicePickerAppearance) consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::Appearance() const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DialDeviceSelected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Media::DialProtocol::DialDeviceSelectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DialDeviceSelected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Media::DialProtocol::DialDeviceSelectedEventArgs> 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 D> typename consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DialDeviceSelected_revoker consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DialDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Media::DialProtocol::DialDeviceSelectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DialDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Media::DialProtocol::DialDeviceSelectedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DialDeviceSelected_revoker>(this, DialDeviceSelected(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DialDeviceSelected(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DialDeviceSelected(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->remove_DialDeviceSelected(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DisconnectButtonClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Media::DialProtocol::DialDisconnectButtonClickedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DisconnectButtonClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Media::DialProtocol::DialDisconnectButtonClickedEventArgs> 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 D> typename consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DisconnectButtonClicked_revoker consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Media::DialProtocol::DialDisconnectButtonClickedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Media::DialProtocol::DialDisconnectButtonClickedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DisconnectButtonClicked_revoker>(this, DisconnectButtonClicked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DisconnectButtonClicked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DisconnectButtonClicked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->remove_DisconnectButtonClicked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DialDevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DialDevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DialDevicePickerDismissed_revoker consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DialDevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DialDevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, DialDevicePickerDismissed_revoker>(this, DialDevicePickerDismissed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DialDevicePickerDismissed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::DialDevicePickerDismissed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->remove_DialDevicePickerDismissed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::Show(winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::Show(winrt::Windows::Foundation::Rect const& selection) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->Show(impl::bind_in(selection)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::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<int32_t>(preferredPlacement)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::DialProtocol::DialDevice>) consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::PickSingleDialDeviceAsync(winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::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<winrt::Windows::Media::DialProtocol::DialDevice>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::DialProtocol::DialDevice>) consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::PickSingleDialDeviceAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::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<int32_t>(preferredPlacement), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::DialProtocol::DialDevice>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::Hide() const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::Hide() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePicker)->Hide());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::SetDisplayStatus(winrt::Windows::Media::DialProtocol::DialDevice const& device, winrt::Windows::Media::DialProtocol::DialDeviceDisplayStatus const& status) const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePicker<D>::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<int32_t>(status)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Media_DialProtocol_IDialDevicePickerFilter<D>::SupportedAppNames() const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDevicePickerFilter<D>::SupportedAppNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialDevicePickerFilter)->get_SupportedAppNames(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialDevice) consume_Windows_Media_DialProtocol_IDialDeviceSelectedEventArgs<D>::SelectedDialDevice() const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDeviceSelectedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_DialProtocol_IDialDeviceStatics<D>::GetDeviceSelector(param::hstring const& appName) const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::DialProtocol::DialDevice>) consume_Windows_Media_DialProtocol_IDialDeviceStatics<D>::FromIdAsync(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDeviceStatics<D>::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<winrt::Windows::Media::DialProtocol::DialDevice>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_DialProtocol_IDialDeviceStatics<D>::DeviceInfoSupportsDialAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& device) const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDeviceStatics<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialDevice) consume_Windows_Media_DialProtocol_IDialDisconnectButtonClickedEventArgs<D>::Device() const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialDisconnectButtonClickedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMap<hstring, hstring>>) consume_Windows_Media_DialProtocol_IDialReceiverApp<D>::GetAdditionalDataAsync() const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialReceiverApp<D>::GetAdditionalDataAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialReceiverApp)->GetAdditionalDataAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMap<hstring, hstring>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_DialProtocol_IDialReceiverApp<D>::SetAdditionalDataAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& additionalData) const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialReceiverApp<D>::SetAdditionalDataAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Media_DialProtocol_IDialReceiverApp2<D>::GetUniqueDeviceNameAsync() const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialReceiverApp2<D>::GetUniqueDeviceNameAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialReceiverApp2)->GetUniqueDeviceNameAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialReceiverApp) consume_Windows_Media_DialProtocol_IDialReceiverAppStatics<D>::Current() const
+ template <typename D> auto consume_Windows_Media_DialProtocol_IDialReceiverAppStatics<D>::Current() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::DialProtocol::IDialReceiverAppStatics)->get_Current(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Editing.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Editing.h
index a59d5ddf7d1..bdb4dbe3a95 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Editing.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::TrimTimeFromStart() const
+ template <typename D> auto consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::TrimTimeFromStart(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::TrimTimeFromEnd() const
+ template <typename D> auto consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::TrimTimeFromEnd(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::OriginalDuration() const
+ template <typename D> auto consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::TrimmedDuration() const
+ template <typename D> auto consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::UserData() const
+ template <typename D> auto consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::UserData() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->get_UserData(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::Delay(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::Delay() const
+ template <typename D> auto consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::Volume(double value) const
+ template <typename D> auto consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::Volume(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->put_Volume(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::Volume() const
+ template <typename D> auto consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::Volume() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->get_Volume(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::BackgroundAudioTrack) consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::Clone() const
+ template <typename D> auto consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::GetAudioEncodingProperties() const
+ template <typename D> auto consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Effects::IAudioEffectDefinition>) consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::AudioEffectDefinitions() const
+ template <typename D> auto consume_Windows_Media_Editing_IBackgroundAudioTrack<D>::AudioEffectDefinitions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IBackgroundAudioTrack)->get_AudioEffectDefinitions(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Effects::IAudioEffectDefinition>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::BackgroundAudioTrack) consume_Windows_Media_Editing_IBackgroundAudioTrackStatics<D>::CreateFromEmbeddedAudioTrack(winrt::Windows::Media::Editing::EmbeddedAudioTrack const& embeddedAudioTrack) const
+ template <typename D> auto consume_Windows_Media_Editing_IBackgroundAudioTrackStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Editing::BackgroundAudioTrack>) consume_Windows_Media_Editing_IBackgroundAudioTrackStatics<D>::CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_Editing_IBackgroundAudioTrackStatics<D>::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<winrt::Windows::Media::Editing::BackgroundAudioTrack>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_Editing_IEmbeddedAudioTrack<D>::GetAudioEncodingProperties() const
+ template <typename D> auto consume_Windows_Media_Editing_IEmbeddedAudioTrack<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IMediaClip<D>::TrimTimeFromStart() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IMediaClip<D>::TrimTimeFromStart(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IMediaClip<D>::TrimTimeFromEnd() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IMediaClip<D>::TrimTimeFromEnd(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IMediaClip<D>::OriginalDuration() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IMediaClip<D>::TrimmedDuration() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_Media_Editing_IMediaClip<D>::UserData() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::UserData() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_UserData(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaClip) consume_Windows_Media_Editing_IMediaClip<D>::Clone() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IMediaClip<D>::StartTimeInComposition() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IMediaClip<D>::EndTimeInComposition() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Editing::EmbeddedAudioTrack>) consume_Windows_Media_Editing_IMediaClip<D>::EmbeddedAudioTracks() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::EmbeddedAudioTracks() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_EmbeddedAudioTracks(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Editing::EmbeddedAudioTrack>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Editing_IMediaClip<D>::SelectedEmbeddedAudioTrackIndex() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::SelectedEmbeddedAudioTrackIndex() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_SelectedEmbeddedAudioTrackIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IMediaClip<D>::SelectedEmbeddedAudioTrackIndex(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::SelectedEmbeddedAudioTrackIndex(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->put_SelectedEmbeddedAudioTrackIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IMediaClip<D>::Volume(double value) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::Volume(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->put_Volume(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Editing_IMediaClip<D>::Volume() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::Volume() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_Volume(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_Editing_IMediaClip<D>::GetVideoEncodingProperties() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Effects::IAudioEffectDefinition>) consume_Windows_Media_Editing_IMediaClip<D>::AudioEffectDefinitions() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::AudioEffectDefinitions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_AudioEffectDefinitions(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Effects::IAudioEffectDefinition>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Effects::IVideoEffectDefinition>) consume_Windows_Media_Editing_IMediaClip<D>::VideoEffectDefinitions() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClip<D>::VideoEffectDefinitions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaClip)->get_VideoEffectDefinitions(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Effects::IVideoEffectDefinition>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaClip) consume_Windows_Media_Editing_IMediaClipStatics<D>::CreateFromColor(winrt::Windows::UI::Color const& color, winrt::Windows::Foundation::TimeSpan const& originalDuration) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClipStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Editing::MediaClip>) consume_Windows_Media_Editing_IMediaClipStatics<D>::CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClipStatics<D>::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<winrt::Windows::Media::Editing::MediaClip>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Editing::MediaClip>) consume_Windows_Media_Editing_IMediaClipStatics<D>::CreateFromImageFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Foundation::TimeSpan const& originalDuration) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClipStatics<D>::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<winrt::Windows::Media::Editing::MediaClip>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaClip) consume_Windows_Media_Editing_IMediaClipStatics2<D>::CreateFromSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface, winrt::Windows::Foundation::TimeSpan const& originalDuration) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaClipStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IMediaComposition<D>::Duration() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaComposition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Editing::MediaClip>) consume_Windows_Media_Editing_IMediaComposition<D>::Clips() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaComposition<D>::Clips() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->get_Clips(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Editing::MediaClip>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Editing::BackgroundAudioTrack>) consume_Windows_Media_Editing_IMediaComposition<D>::BackgroundAudioTracks() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaComposition<D>::BackgroundAudioTracks() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->get_BackgroundAudioTracks(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Editing::BackgroundAudioTrack>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_Media_Editing_IMediaComposition<D>::UserData() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaComposition<D>::UserData() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition)->get_UserData(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaComposition) consume_Windows_Media_Editing_IMediaComposition<D>::Clone() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaComposition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Editing_IMediaComposition<D>::SaveAsync(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaComposition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::ImageStream>) consume_Windows_Media_Editing_IMediaComposition<D>::GetThumbnailAsync(winrt::Windows::Foundation::TimeSpan const& timeFromStart, int32_t scaledWidth, int32_t scaledHeight, winrt::Windows::Media::Editing::VideoFramePrecision const& framePrecision) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaComposition<D>::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<int32_t>(framePrecision), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::ImageStream>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Imaging::ImageStream>>) consume_Windows_Media_Editing_IMediaComposition<D>::GetThumbnailsAsync(param::async_iterable<winrt::Windows::Foundation::TimeSpan> const& timesFromStart, int32_t scaledWidth, int32_t scaledHeight, winrt::Windows::Media::Editing::VideoFramePrecision const& framePrecision) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaComposition<D>::GetThumbnailsAsync(param::async_iterable<winrt::Windows::Foundation::TimeSpan> 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**)(&timesFromStart), scaledWidth, scaledHeight, static_cast<int32_t>(framePrecision), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Imaging::ImageStream>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Transcoding::TranscodeFailureReason, double>) consume_Windows_Media_Editing_IMediaComposition<D>::RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaComposition<D>::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<winrt::Windows::Media::Transcoding::TranscodeFailureReason, double>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Transcoding::TranscodeFailureReason, double>) consume_Windows_Media_Editing_IMediaComposition<D>::RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::Editing::MediaTrimmingPreference const& trimmingPreference) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaComposition<D>::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<int32_t>(trimmingPreference), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Transcoding::TranscodeFailureReason, double>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Transcoding::TranscodeFailureReason, double>) consume_Windows_Media_Editing_IMediaComposition<D>::RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::Editing::MediaTrimmingPreference const& trimmingPreference, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaComposition<D>::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<int32_t>(trimmingPreference), *(void**)(&encodingProfile), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Transcoding::TranscodeFailureReason, double>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_Editing_IMediaComposition<D>::CreateDefaultEncodingProfile() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaComposition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) consume_Windows_Media_Editing_IMediaComposition<D>::GenerateMediaStreamSource() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaComposition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) consume_Windows_Media_Editing_IMediaComposition<D>::GenerateMediaStreamSource(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaComposition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) consume_Windows_Media_Editing_IMediaComposition<D>::GeneratePreviewMediaStreamSource(int32_t scaledWidth, int32_t scaledHeight) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaComposition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Editing::MediaOverlayLayer>) consume_Windows_Media_Editing_IMediaComposition2<D>::OverlayLayers() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaComposition2<D>::OverlayLayers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaComposition2)->get_OverlayLayers(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Editing::MediaOverlayLayer>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Editing::MediaComposition>) consume_Windows_Media_Editing_IMediaCompositionStatics<D>::LoadAsync(winrt::Windows::Storage::StorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaCompositionStatics<D>::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<winrt::Windows::Media::Editing::MediaComposition>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Media_Editing_IMediaOverlay<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaOverlay<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IMediaOverlay<D>::Position(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaOverlay<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IMediaOverlay<D>::Delay(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaOverlay<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Editing_IMediaOverlay<D>::Delay() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaOverlay<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Editing_IMediaOverlay<D>::Opacity() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaOverlay<D>::Opacity() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlay)->get_Opacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IMediaOverlay<D>::Opacity(double value) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaOverlay<D>::Opacity(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlay)->put_Opacity(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlay) consume_Windows_Media_Editing_IMediaOverlay<D>::Clone() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaOverlay<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaClip) consume_Windows_Media_Editing_IMediaOverlay<D>::Clip() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaOverlay<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Editing_IMediaOverlay<D>::AudioEnabled() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaOverlay<D>::AudioEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlay)->get_AudioEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Editing_IMediaOverlay<D>::AudioEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaOverlay<D>::AudioEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlay)->put_AudioEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlay) consume_Windows_Media_Editing_IMediaOverlayFactory<D>::Create(winrt::Windows::Media::Editing::MediaClip const& clip) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaOverlayFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlay) consume_Windows_Media_Editing_IMediaOverlayFactory<D>::CreateWithPositionAndOpacity(winrt::Windows::Media::Editing::MediaClip const& clip, winrt::Windows::Foundation::Rect const& position, double opacity) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaOverlayFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlayLayer) consume_Windows_Media_Editing_IMediaOverlayLayer<D>::Clone() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaOverlayLayer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Editing::MediaOverlay>) consume_Windows_Media_Editing_IMediaOverlayLayer<D>::Overlays() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaOverlayLayer<D>::Overlays() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Editing::IMediaOverlayLayer)->get_Overlays(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Editing::MediaOverlay>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::IVideoCompositorDefinition) consume_Windows_Media_Editing_IMediaOverlayLayer<D>::CustomCompositorDefinition() const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaOverlayLayer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlayLayer) consume_Windows_Media_Editing_IMediaOverlayLayerFactory<D>::CreateWithCompositorDefinition(winrt::Windows::Media::Effects::IVideoCompositorDefinition const& compositorDefinition) const
+ template <typename D> auto consume_Windows_Media_Editing_IMediaOverlayLayerFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Effects.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Effects.h
index f8a3031c7d8..0efdaaea8aa 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Effects.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Effects_IAudioCaptureEffectsManager<D>::AudioCaptureEffectsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Effects::AudioCaptureEffectsManager, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioCaptureEffectsManager<D>::AudioCaptureEffectsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Effects::AudioCaptureEffectsManager, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Effects_IAudioCaptureEffectsManager<D>::AudioCaptureEffectsChanged_revoker consume_Windows_Media_Effects_IAudioCaptureEffectsManager<D>::AudioCaptureEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Effects::AudioCaptureEffectsManager, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioCaptureEffectsManager<D>::AudioCaptureEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Effects::AudioCaptureEffectsManager, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, AudioCaptureEffectsChanged_revoker>(this, AudioCaptureEffectsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IAudioCaptureEffectsManager<D>::AudioCaptureEffectsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Effects_IAudioCaptureEffectsManager<D>::AudioCaptureEffectsChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioCaptureEffectsManager)->remove_AudioCaptureEffectsChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Effects::AudioEffect>) consume_Windows_Media_Effects_IAudioCaptureEffectsManager<D>::GetAudioCaptureEffects() const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioCaptureEffectsManager<D>::GetAudioCaptureEffects() const
{
void* effects{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioCaptureEffectsManager)->GetAudioCaptureEffects(&effects));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Effects::AudioEffect>{ effects, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioEffectType) consume_Windows_Media_Effects_IAudioEffect<D>::AudioEffectType() const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioEffect<D>::AudioEffectType() const
{
winrt::Windows::Media::Effects::AudioEffectType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioEffect)->get_AudioEffectType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Effects_IAudioEffectDefinition<D>::ActivatableClassId() const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioEffectDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Media_Effects_IAudioEffectDefinition<D>::Properties() const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioEffectDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioEffectDefinition) consume_Windows_Media_Effects_IAudioEffectDefinitionFactory<D>::Create(param::hstring const& activatableClassId) const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioEffectDefinitionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioEffectDefinition) consume_Windows_Media_Effects_IAudioEffectDefinitionFactory<D>::CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioEffectDefinitionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioRenderEffectsManager) consume_Windows_Media_Effects_IAudioEffectsManagerStatics<D>::CreateAudioRenderEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Render::AudioRenderCategory const& category) const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioEffectsManagerStatics<D>::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<int32_t>(category), &value));
return winrt::Windows::Media::Effects::AudioRenderEffectsManager{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioRenderEffectsManager) consume_Windows_Media_Effects_IAudioEffectsManagerStatics<D>::CreateAudioRenderEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Render::AudioRenderCategory const& category, winrt::Windows::Media::AudioProcessing const& mode) const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioEffectsManagerStatics<D>::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<int32_t>(category), static_cast<int32_t>(mode), &value));
return winrt::Windows::Media::Effects::AudioRenderEffectsManager{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioCaptureEffectsManager) consume_Windows_Media_Effects_IAudioEffectsManagerStatics<D>::CreateAudioCaptureEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Capture::MediaCategory const& category) const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioEffectsManagerStatics<D>::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<int32_t>(category), &value));
return winrt::Windows::Media::Effects::AudioCaptureEffectsManager{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioCaptureEffectsManager) consume_Windows_Media_Effects_IAudioEffectsManagerStatics<D>::CreateAudioCaptureEffectsManager(param::hstring const& deviceId, winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::AudioProcessing const& mode) const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioEffectsManagerStatics<D>::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<int32_t>(category), static_cast<int32_t>(mode), &value));
return winrt::Windows::Media::Effects::AudioCaptureEffectsManager{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Effects_IAudioRenderEffectsManager<D>::AudioRenderEffectsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Effects::AudioRenderEffectsManager, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioRenderEffectsManager<D>::AudioRenderEffectsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Effects::AudioRenderEffectsManager, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Effects_IAudioRenderEffectsManager<D>::AudioRenderEffectsChanged_revoker consume_Windows_Media_Effects_IAudioRenderEffectsManager<D>::AudioRenderEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Effects::AudioRenderEffectsManager, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioRenderEffectsManager<D>::AudioRenderEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Effects::AudioRenderEffectsManager, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, AudioRenderEffectsChanged_revoker>(this, AudioRenderEffectsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IAudioRenderEffectsManager<D>::AudioRenderEffectsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Effects_IAudioRenderEffectsManager<D>::AudioRenderEffectsChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioRenderEffectsManager)->remove_AudioRenderEffectsChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Effects::AudioEffect>) consume_Windows_Media_Effects_IAudioRenderEffectsManager<D>::GetAudioRenderEffects() const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioRenderEffectsManager<D>::GetAudioRenderEffects() const
{
void* effects{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioRenderEffectsManager)->GetAudioRenderEffects(&effects));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Effects::AudioEffect>{ effects, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) consume_Windows_Media_Effects_IAudioRenderEffectsManager2<D>::EffectsProviderThumbnail() const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioRenderEffectsManager2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Effects_IAudioRenderEffectsManager2<D>::EffectsProviderSettingsLabel() const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioRenderEffectsManager2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IAudioRenderEffectsManager2<D>::ShowSettingsUI() const
+ template <typename D> auto consume_Windows_Media_Effects_IAudioRenderEffectsManager2<D>::ShowSettingsUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IAudioRenderEffectsManager2)->ShowSettingsUI());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Effects_IBasicAudioEffect<D>::UseInputFrameForOutput() const
+ template <typename D> auto consume_Windows_Media_Effects_IBasicAudioEffect<D>::UseInputFrameForOutput() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicAudioEffect)->get_UseInputFrameForOutput(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::MediaProperties::AudioEncodingProperties>) consume_Windows_Media_Effects_IBasicAudioEffect<D>::SupportedEncodingProperties() const
+ template <typename D> auto consume_Windows_Media_Effects_IBasicAudioEffect<D>::SupportedEncodingProperties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicAudioEffect)->get_SupportedEncodingProperties(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::MediaProperties::AudioEncodingProperties>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IBasicAudioEffect<D>::SetEncodingProperties(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const
+ template <typename D> auto consume_Windows_Media_Effects_IBasicAudioEffect<D>::SetEncodingProperties(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicAudioEffect)->SetEncodingProperties(*(void**)(&encodingProperties)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IBasicAudioEffect<D>::ProcessFrame(winrt::Windows::Media::Effects::ProcessAudioFrameContext const& context) const
+ template <typename D> auto consume_Windows_Media_Effects_IBasicAudioEffect<D>::ProcessFrame(winrt::Windows::Media::Effects::ProcessAudioFrameContext const& context) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicAudioEffect)->ProcessFrame(*(void**)(&context)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IBasicAudioEffect<D>::Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const
+ template <typename D> auto consume_Windows_Media_Effects_IBasicAudioEffect<D>::Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicAudioEffect)->Close(static_cast<int32_t>(reason)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IBasicAudioEffect<D>::DiscardQueuedFrames() const
+ template <typename D> auto consume_Windows_Media_Effects_IBasicAudioEffect<D>::DiscardQueuedFrames() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicAudioEffect)->DiscardQueuedFrames());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Effects_IBasicVideoEffect<D>::IsReadOnly() const
+ template <typename D> auto consume_Windows_Media_Effects_IBasicVideoEffect<D>::IsReadOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicVideoEffect)->get_IsReadOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::MediaMemoryTypes) consume_Windows_Media_Effects_IBasicVideoEffect<D>::SupportedMemoryTypes() const
+ template <typename D> auto consume_Windows_Media_Effects_IBasicVideoEffect<D>::SupportedMemoryTypes() const
{
winrt::Windows::Media::Effects::MediaMemoryTypes value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicVideoEffect)->get_SupportedMemoryTypes(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Effects_IBasicVideoEffect<D>::TimeIndependent() const
+ template <typename D> auto consume_Windows_Media_Effects_IBasicVideoEffect<D>::TimeIndependent() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicVideoEffect)->get_TimeIndependent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::MediaProperties::VideoEncodingProperties>) consume_Windows_Media_Effects_IBasicVideoEffect<D>::SupportedEncodingProperties() const
+ template <typename D> auto consume_Windows_Media_Effects_IBasicVideoEffect<D>::SupportedEncodingProperties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicVideoEffect)->get_SupportedEncodingProperties(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::MediaProperties::VideoEncodingProperties>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IBasicVideoEffect<D>::SetEncodingProperties(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& encodingProperties, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const
+ template <typename D> auto consume_Windows_Media_Effects_IBasicVideoEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IBasicVideoEffect<D>::ProcessFrame(winrt::Windows::Media::Effects::ProcessVideoFrameContext const& context) const
+ template <typename D> auto consume_Windows_Media_Effects_IBasicVideoEffect<D>::ProcessFrame(winrt::Windows::Media::Effects::ProcessVideoFrameContext const& context) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicVideoEffect)->ProcessFrame(*(void**)(&context)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IBasicVideoEffect<D>::Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const
+ template <typename D> auto consume_Windows_Media_Effects_IBasicVideoEffect<D>::Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicVideoEffect)->Close(static_cast<int32_t>(reason)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IBasicVideoEffect<D>::DiscardQueuedFrames() const
+ template <typename D> auto consume_Windows_Media_Effects_IBasicVideoEffect<D>::DiscardQueuedFrames() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IBasicVideoEffect)->DiscardQueuedFrames());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface>) consume_Windows_Media_Effects_ICompositeVideoFrameContext<D>::SurfacesToOverlay() const
+ template <typename D> auto consume_Windows_Media_Effects_ICompositeVideoFrameContext<D>::SurfacesToOverlay() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::ICompositeVideoFrameContext)->get_SurfacesToOverlay(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_Effects_ICompositeVideoFrameContext<D>::BackgroundFrame() const
+ template <typename D> auto consume_Windows_Media_Effects_ICompositeVideoFrameContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_Effects_ICompositeVideoFrameContext<D>::OutputFrame() const
+ template <typename D> auto consume_Windows_Media_Effects_ICompositeVideoFrameContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Editing::MediaOverlay) consume_Windows_Media_Effects_ICompositeVideoFrameContext<D>::GetOverlayForSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surfaceToOverlay) const
+ template <typename D> auto consume_Windows_Media_Effects_ICompositeVideoFrameContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) consume_Windows_Media_Effects_IProcessAudioFrameContext<D>::InputFrame() const
+ template <typename D> auto consume_Windows_Media_Effects_IProcessAudioFrameContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) consume_Windows_Media_Effects_IProcessAudioFrameContext<D>::OutputFrame() const
+ template <typename D> auto consume_Windows_Media_Effects_IProcessAudioFrameContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_Effects_IProcessVideoFrameContext<D>::InputFrame() const
+ template <typename D> auto consume_Windows_Media_Effects_IProcessVideoFrameContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_Effects_IProcessVideoFrameContext<D>::OutputFrame() const
+ template <typename D> auto consume_Windows_Media_Effects_IProcessVideoFrameContext<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Effects_ISlowMotionEffectDefinition<D>::TimeStretchRate() const
+ template <typename D> auto consume_Windows_Media_Effects_ISlowMotionEffectDefinition<D>::TimeStretchRate() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::ISlowMotionEffectDefinition)->get_TimeStretchRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_ISlowMotionEffectDefinition<D>::TimeStretchRate(double value) const
+ template <typename D> auto consume_Windows_Media_Effects_ISlowMotionEffectDefinition<D>::TimeStretchRate(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::ISlowMotionEffectDefinition)->put_TimeStretchRate(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Effects_IVideoCompositor<D>::TimeIndependent() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoCompositor<D>::TimeIndependent() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoCompositor)->get_TimeIndependent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoCompositor<D>::SetEncodingProperties(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& backgroundProperties, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoCompositor<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoCompositor<D>::CompositeFrame(winrt::Windows::Media::Effects::CompositeVideoFrameContext const& context) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoCompositor<D>::CompositeFrame(winrt::Windows::Media::Effects::CompositeVideoFrameContext const& context) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoCompositor)->CompositeFrame(*(void**)(&context)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoCompositor<D>::Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoCompositor<D>::Close(winrt::Windows::Media::Effects::MediaEffectClosedReason const& reason) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoCompositor)->Close(static_cast<int32_t>(reason)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoCompositor<D>::DiscardQueuedFrames() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoCompositor<D>::DiscardQueuedFrames() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoCompositor)->DiscardQueuedFrames());
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Effects_IVideoCompositorDefinition<D>::ActivatableClassId() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoCompositorDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Media_Effects_IVideoCompositorDefinition<D>::Properties() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoCompositorDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::VideoCompositorDefinition) consume_Windows_Media_Effects_IVideoCompositorDefinitionFactory<D>::Create(param::hstring const& activatableClassId) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoCompositorDefinitionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::VideoCompositorDefinition) consume_Windows_Media_Effects_IVideoCompositorDefinitionFactory<D>::CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoCompositorDefinitionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Effects_IVideoEffectDefinition<D>::ActivatableClassId() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoEffectDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Media_Effects_IVideoEffectDefinition<D>::Properties() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoEffectDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::VideoEffectDefinition) consume_Windows_Media_Effects_IVideoEffectDefinitionFactory<D>::Create(param::hstring const& activatableClassId) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoEffectDefinitionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::VideoEffectDefinition) consume_Windows_Media_Effects_IVideoEffectDefinitionFactory<D>::CreateWithProperties(param::hstring const& activatableClassId, winrt::Windows::Foundation::Collections::IPropertySet const& props) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoEffectDefinitionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::PaddingColor() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::PaddingColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::OutputSize() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::OutputSize(winrt::Windows::Foundation::Size const& value) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::CropRectangle() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::CropRectangle(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRotation) consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::Rotation() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::Rotation() const
{
winrt::Windows::Media::MediaProperties::MediaRotation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->get_Rotation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::Rotation(winrt::Windows::Media::MediaProperties::MediaRotation const& value) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::Rotation(winrt::Windows::Media::MediaProperties::MediaRotation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->put_Rotation(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaMirroringOptions) consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::Mirror() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::Mirror() const
{
winrt::Windows::Media::MediaProperties::MediaMirroringOptions value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->get_Mirror(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::Mirror(winrt::Windows::Media::MediaProperties::MediaMirroringOptions const& value) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::Mirror(winrt::Windows::Media::MediaProperties::MediaMirroringOptions const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->put_Mirror(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::ProcessingAlgorithm(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm const& value) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::ProcessingAlgorithm(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->put_ProcessingAlgorithm(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm) consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::ProcessingAlgorithm() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition<D>::ProcessingAlgorithm() const
{
winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformEffectDefinition)->get_ProcessingAlgorithm(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::VideoTransformSphericalProjection) consume_Windows_Media_Effects_IVideoTransformEffectDefinition2<D>::SphericalProjection() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformEffectDefinition2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat) consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::FrameFormat() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::FrameFormat() const
{
winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->get_FrameFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::FrameFormat(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat const& value) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::FrameFormat(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->put_FrameFormat(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::SphericalVideoProjectionMode) consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::ProjectionMode() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::ProjectionMode() const
{
winrt::Windows::Media::Playback::SphericalVideoProjectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->get_ProjectionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::ProjectionMode(winrt::Windows::Media::Playback::SphericalVideoProjectionMode const& value) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::ProjectionMode(winrt::Windows::Media::Playback::SphericalVideoProjectionMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->put_ProjectionMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::HorizontalFieldOfViewInDegrees() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::HorizontalFieldOfViewInDegrees() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->get_HorizontalFieldOfViewInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::HorizontalFieldOfViewInDegrees(double value) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::HorizontalFieldOfViewInDegrees(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Effects::IVideoTransformSphericalProjection)->put_HorizontalFieldOfViewInDegrees(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::ViewOrientation() const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::ViewOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const
+ template <typename D> auto consume_Windows_Media_Effects_IVideoTransformSphericalProjection<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.FaceAnalysis.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.FaceAnalysis.h
index fd5a4529832..1cf994663e2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.FaceAnalysis.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapBounds) consume_Windows_Media_FaceAnalysis_IDetectedFace<D>::FaceBox() const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IDetectedFace<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::FaceAnalysis::DetectedFace>>) consume_Windows_Media_FaceAnalysis_IFaceDetector<D>::DetectFacesAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& image) const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceDetector<D>::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<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::FaceAnalysis::DetectedFace>>{ returnValue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::FaceAnalysis::DetectedFace>>) consume_Windows_Media_FaceAnalysis_IFaceDetector<D>::DetectFacesAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& image, winrt::Windows::Graphics::Imaging::BitmapBounds const& searchArea) const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceDetector<D>::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<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::FaceAnalysis::DetectedFace>>{ returnValue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapSize) consume_Windows_Media_FaceAnalysis_IFaceDetector<D>::MinDetectableFaceSize() const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceDetector<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_FaceAnalysis_IFaceDetector<D>::MinDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceDetector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapSize) consume_Windows_Media_FaceAnalysis_IFaceDetector<D>::MaxDetectableFaceSize() const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceDetector<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_FaceAnalysis_IFaceDetector<D>::MaxDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceDetector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::FaceAnalysis::FaceDetector>) consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics<D>::CreateAsync() const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics<D>::CreateAsync() const
{
void* returnValue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceDetectorStatics)->CreateAsync(&returnValue));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::FaceAnalysis::FaceDetector>{ returnValue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Imaging::BitmapPixelFormat>) consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics<D>::GetSupportedBitmapPixelFormats() const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics<D>::GetSupportedBitmapPixelFormats() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceDetectorStatics)->GetSupportedBitmapPixelFormats(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Imaging::BitmapPixelFormat>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics<D>::IsBitmapPixelFormatSupported(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& bitmapPixelFormat) const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics<D>::IsBitmapPixelFormatSupported(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& bitmapPixelFormat) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceDetectorStatics)->IsBitmapPixelFormatSupported(static_cast<int32_t>(bitmapPixelFormat), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics<D>::IsSupported() const
{
bool returnValue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceDetectorStatics)->get_IsSupported(&returnValue));
return returnValue;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::FaceAnalysis::DetectedFace>>) consume_Windows_Media_FaceAnalysis_IFaceTracker<D>::ProcessNextFrameAsync(winrt::Windows::Media::VideoFrame const& videoFrame) const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceTracker<D>::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<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::FaceAnalysis::DetectedFace>>{ returnValue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapSize) consume_Windows_Media_FaceAnalysis_IFaceTracker<D>::MinDetectableFaceSize() const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceTracker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_FaceAnalysis_IFaceTracker<D>::MinDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceTracker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapSize) consume_Windows_Media_FaceAnalysis_IFaceTracker<D>::MaxDetectableFaceSize() const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceTracker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_FaceAnalysis_IFaceTracker<D>::MaxDetectableFaceSize(winrt::Windows::Graphics::Imaging::BitmapSize const& value) const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceTracker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::FaceAnalysis::FaceTracker>) consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics<D>::CreateAsync() const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics<D>::CreateAsync() const
{
void* returnValue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceTrackerStatics)->CreateAsync(&returnValue));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::FaceAnalysis::FaceTracker>{ returnValue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Imaging::BitmapPixelFormat>) consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics<D>::GetSupportedBitmapPixelFormats() const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics<D>::GetSupportedBitmapPixelFormats() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceTrackerStatics)->GetSupportedBitmapPixelFormats(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Imaging::BitmapPixelFormat>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics<D>::IsBitmapPixelFormatSupported(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& bitmapPixelFormat) const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics<D>::IsBitmapPixelFormatSupported(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& bitmapPixelFormat) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceTrackerStatics)->IsBitmapPixelFormatSupported(static_cast<int32_t>(bitmapPixelFormat), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics<D>::IsSupported() const
{
bool returnValue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::FaceAnalysis::IFaceTrackerStatics)->get_IsSupported(&returnValue));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Import.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Import.h
index 60fd6bdc88d..cbd94545601 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Import.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSession) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::Session() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::HasSucceeded() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::HasSucceeded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_HasSucceeded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportItem>) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::DeletedItems() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::DeletedItems() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_DeletedItems(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::PhotosCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::PhotosCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_PhotosCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::PhotosSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::PhotosSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_PhotosSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::VideosCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::VideosCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_VideosCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::VideosSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::VideosSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_VideosSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::SidecarsCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::SidecarsCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_SidecarsCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::SidecarsSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::SidecarsSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_SidecarsSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::SiblingsCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::SiblingsCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_SiblingsCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::SiblingsSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::SiblingsSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_SiblingsSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::TotalCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::TotalCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_TotalCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::TotalSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportDeleteImportedItemsFromSourceResult<D>::TotalSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult)->get_TotalSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSession) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::Session() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::HasSucceeded() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::HasSucceeded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_HasSucceeded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportItem>) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::FoundItems() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::FoundItems() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_FoundItems(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::PhotosCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::PhotosCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_PhotosCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::PhotosSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::PhotosSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_PhotosSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::VideosCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::VideosCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_VideosCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::VideosSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::VideosSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_VideosSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SidecarsCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SidecarsCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SidecarsCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SidecarsSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SidecarsSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SidecarsSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SiblingsCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SiblingsCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SiblingsCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SiblingsSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SiblingsSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SiblingsSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::TotalCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::TotalCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_TotalCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::TotalSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::TotalSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_TotalSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectAll() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectAll() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->SelectAll());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectNone() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectNone() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->SelectNone());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectNewAsync() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SetImportMode(winrt::Windows::Media::Import::PhotoImportImportMode const& value) const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SetImportMode(winrt::Windows::Media::Import::PhotoImportImportMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->SetImportMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportImportMode) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::ImportMode() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::ImportMode() const
{
winrt::Windows::Media::Import::PhotoImportImportMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_ImportMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedPhotosCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedPhotosCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedPhotosCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedPhotosSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedPhotosSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedPhotosSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedVideosCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedVideosCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedVideosCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedVideosSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedVideosSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedVideosSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedSidecarsCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedSidecarsCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedSidecarsCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedSidecarsSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedSidecarsSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedSidecarsSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedSiblingsCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedSiblingsCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedSiblingsCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedSiblingsSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedSiblingsSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedSiblingsSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedTotalCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedTotalCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedTotalCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedTotalSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectedTotalSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->get_SelectedTotalSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Import::PhotoImportFindItemsResult, winrt::Windows::Media::Import::PhotoImportSelectionChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Import::PhotoImportFindItemsResult, winrt::Windows::Media::Import::PhotoImportSelectionChangedEventArgs> 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 D> typename consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectionChanged_revoker consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Import::PhotoImportFindItemsResult, winrt::Windows::Media::Import::PhotoImportSelectionChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Import::PhotoImportFindItemsResult, winrt::Windows::Media::Import::PhotoImportSelectionChangedEventArgs> const& value) const
{
return impl::make_event_revoker<D, SelectionChanged_revoker>(this, SelectionChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::SelectionChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->remove_SelectionChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Import::PhotoImportImportItemsResult, winrt::Windows::Media::Import::PhotoImportProgress>) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::ImportItemsAsync() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::ImportItemsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->ImportItemsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Import::PhotoImportImportItemsResult, winrt::Windows::Media::Import::PhotoImportProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::ItemImported(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Import::PhotoImportFindItemsResult, winrt::Windows::Media::Import::PhotoImportItemImportedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::ItemImported(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Import::PhotoImportFindItemsResult, winrt::Windows::Media::Import::PhotoImportItemImportedEventArgs> 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 D> typename consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::ItemImported_revoker consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::ItemImported(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Import::PhotoImportFindItemsResult, winrt::Windows::Media::Import::PhotoImportItemImportedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::ItemImported(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Import::PhotoImportFindItemsResult, winrt::Windows::Media::Import::PhotoImportItemImportedEventArgs> const& value) const
{
return impl::make_event_revoker<D, ItemImported_revoker>(this, ItemImported(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::ItemImported(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult<D>::ItemImported(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportFindItemsResult)->remove_ItemImported(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportFindItemsResult2<D>::AddItemsInDateRangeToSelection(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportFindItemsResult2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSession) consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::Session() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::HasSucceeded() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::HasSucceeded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_HasSucceeded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportItem>) consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::ImportedItems() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::ImportedItems() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_ImportedItems(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::PhotosCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::PhotosCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_PhotosCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::PhotosSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::PhotosSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_PhotosSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::VideosCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::VideosCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_VideosCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::VideosSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::VideosSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_VideosSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::SidecarsCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::SidecarsCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_SidecarsCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::SidecarsSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::SidecarsSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_SidecarsSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::SiblingsCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::SiblingsCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_SiblingsCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::SiblingsSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::SiblingsSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_SiblingsSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::TotalCount() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::TotalCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_TotalCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::TotalSizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::TotalSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->get_TotalSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Import::PhotoImportDeleteImportedItemsFromSourceResult, double>) consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::DeleteImportedItemsFromSourceAsync() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportImportItemsResult<D>::DeleteImportedItemsFromSourceAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportImportItemsResult)->DeleteImportedItemsFromSourceAsync(&result));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Import::PhotoImportDeleteImportedItemsFromSourceResult, double>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportItem<D>::Name() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportItem<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportItem<D>::ItemKey() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportItem<D>::ItemKey() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_ItemKey(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportContentType) consume_Windows_Media_Import_IPhotoImportItem<D>::ContentType() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportItem<D>::ContentType() const
{
winrt::Windows::Media::Import::PhotoImportContentType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_ContentType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportItem<D>::SizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportItem<D>::SizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_SizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Import_IPhotoImportItem<D>::Date() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSidecar) consume_Windows_Media_Import_IPhotoImportItem<D>::Sibling() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportSidecar>) consume_Windows_Media_Import_IPhotoImportItem<D>::Sidecars() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportItem<D>::Sidecars() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_Sidecars(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportSidecar>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportVideoSegment>) consume_Windows_Media_Import_IPhotoImportItem<D>::VideoSegments() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportItem<D>::VideoSegments() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_VideoSegments(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportVideoSegment>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Import_IPhotoImportItem<D>::IsSelected() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportItem<D>::IsSelected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_IsSelected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportItem<D>::IsSelected(bool value) const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportItem<D>::IsSelected(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->put_IsSelected(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Media_Import_IPhotoImportItem<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Media_Import_IPhotoImportItem<D>::ImportedFileNames() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportItem<D>::ImportedFileNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_ImportedFileNames(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Media_Import_IPhotoImportItem<D>::DeletedFileNames() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportItem<D>::DeletedFileNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportItem)->get_DeletedFileNames(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportItem2<D>::Path() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportItem2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportItem) consume_Windows_Media_Import_IPhotoImportItemImportedEventArgs<D>::ImportedItem() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportItemImportedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_Import_IPhotoImportManagerStatics<D>::IsSupportedAsync() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportManagerStatics<D>::IsSupportedAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportManagerStatics)->IsSupportedAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportSource>>) consume_Windows_Media_Import_IPhotoImportManagerStatics<D>::FindAllSourcesAsync() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportManagerStatics<D>::FindAllSourcesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportManagerStatics)->FindAllSourcesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportSource>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportOperation>) consume_Windows_Media_Import_IPhotoImportManagerStatics<D>::GetPendingOperations() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportManagerStatics<D>::GetPendingOperations() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportManagerStatics)->GetPendingOperations(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportOperation>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportStage) consume_Windows_Media_Import_IPhotoImportOperation<D>::Stage() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportOperation<D>::Stage() const
{
winrt::Windows::Media::Import::PhotoImportStage value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportOperation)->get_Stage(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSession) consume_Windows_Media_Import_IPhotoImportOperation<D>::Session() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Import::PhotoImportFindItemsResult, uint32_t>) consume_Windows_Media_Import_IPhotoImportOperation<D>::ContinueFindingItemsAsync() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportOperation<D>::ContinueFindingItemsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportOperation)->get_ContinueFindingItemsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Import::PhotoImportFindItemsResult, uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Import::PhotoImportImportItemsResult, winrt::Windows::Media::Import::PhotoImportProgress>) consume_Windows_Media_Import_IPhotoImportOperation<D>::ContinueImportingItemsAsync() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportOperation<D>::ContinueImportingItemsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportOperation)->get_ContinueImportingItemsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Import::PhotoImportImportItemsResult, winrt::Windows::Media::Import::PhotoImportProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Import::PhotoImportDeleteImportedItemsFromSourceResult, double>) consume_Windows_Media_Import_IPhotoImportOperation<D>::ContinueDeletingImportedItemsFromSourceAsync() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportOperation<D>::ContinueDeletingImportedItemsFromSourceAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportOperation)->get_ContinueDeletingImportedItemsFromSourceAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Import::PhotoImportDeleteImportedItemsFromSourceResult, double>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Import_IPhotoImportSelectionChangedEventArgs<D>::IsSelectionEmpty() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSelectionChangedEventArgs<D>::IsSelectionEmpty() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSelectionChangedEventArgs)->get_IsSelectionEmpty(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSource) consume_Windows_Media_Import_IPhotoImportSession<D>::Source() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Import_IPhotoImportSession<D>::SessionId() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSession<D>::SessionId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->get_SessionId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportSession<D>::DestinationFolder(winrt::Windows::Storage::IStorageFolder const& value) const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSession<D>::DestinationFolder(winrt::Windows::Storage::IStorageFolder const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->put_DestinationFolder(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFolder) consume_Windows_Media_Import_IPhotoImportSession<D>::DestinationFolder() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSession<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportSession<D>::AppendSessionDateToDestinationFolder(bool value) const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSession<D>::AppendSessionDateToDestinationFolder(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->put_AppendSessionDateToDestinationFolder(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Import_IPhotoImportSession<D>::AppendSessionDateToDestinationFolder() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSession<D>::AppendSessionDateToDestinationFolder() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->get_AppendSessionDateToDestinationFolder(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportSession<D>::SubfolderCreationMode(winrt::Windows::Media::Import::PhotoImportSubfolderCreationMode const& value) const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSession<D>::SubfolderCreationMode(winrt::Windows::Media::Import::PhotoImportSubfolderCreationMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->put_SubfolderCreationMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSubfolderCreationMode) consume_Windows_Media_Import_IPhotoImportSession<D>::SubfolderCreationMode() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSession<D>::SubfolderCreationMode() const
{
winrt::Windows::Media::Import::PhotoImportSubfolderCreationMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->get_SubfolderCreationMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportSession<D>::DestinationFileNamePrefix(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSession<D>::DestinationFileNamePrefix(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession)->put_DestinationFileNamePrefix(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSession<D>::DestinationFileNamePrefix() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Import::PhotoImportFindItemsResult, uint32_t>) consume_Windows_Media_Import_IPhotoImportSession<D>::FindItemsAsync(winrt::Windows::Media::Import::PhotoImportContentTypeFilter const& contentTypeFilter, winrt::Windows::Media::Import::PhotoImportItemSelectionMode const& itemSelectionMode) const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSession<D>::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<int32_t>(contentTypeFilter), static_cast<int32_t>(itemSelectionMode), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Import::PhotoImportFindItemsResult, uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportSession2<D>::SubfolderDateFormat(winrt::Windows::Media::Import::PhotoImportSubfolderDateFormat const& value) const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSession2<D>::SubfolderDateFormat(winrt::Windows::Media::Import::PhotoImportSubfolderDateFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession2)->put_SubfolderDateFormat(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSubfolderDateFormat) consume_Windows_Media_Import_IPhotoImportSession2<D>::SubfolderDateFormat() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSession2<D>::SubfolderDateFormat() const
{
winrt::Windows::Media::Import::PhotoImportSubfolderDateFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession2)->get_SubfolderDateFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportSession2<D>::RememberDeselectedItems(bool value) const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSession2<D>::RememberDeselectedItems(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession2)->put_RememberDeselectedItems(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Import_IPhotoImportSession2<D>::RememberDeselectedItems() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSession2<D>::RememberDeselectedItems() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSession2)->get_RememberDeselectedItems(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSidecar<D>::Name() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSidecar<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportSidecar<D>::SizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSidecar<D>::SizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSidecar)->get_SizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Import_IPhotoImportSidecar<D>::Date() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSidecar<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSource<D>::Id() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSource<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSource<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSource<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSource<D>::Description() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSource<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSource<D>::Manufacturer() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSource<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSource<D>::Model() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSource<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSource<D>::SerialNumber() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSource<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportSource<D>::ConnectionProtocol() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportConnectionTransport) consume_Windows_Media_Import_IPhotoImportSource<D>::ConnectionTransport() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSource<D>::ConnectionTransport() const
{
winrt::Windows::Media::Import::PhotoImportConnectionTransport value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_ConnectionTransport(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSourceType) consume_Windows_Media_Import_IPhotoImportSource<D>::Type() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSource<D>::Type() const
{
winrt::Windows::Media::Import::PhotoImportSourceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportPowerSource) consume_Windows_Media_Import_IPhotoImportSource<D>::PowerSource() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSource<D>::PowerSource() const
{
winrt::Windows::Media::Import::PhotoImportPowerSource value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_PowerSource(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Import_IPhotoImportSource<D>::BatteryLevelPercent() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSource<D>::BatteryLevelPercent() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_BatteryLevelPercent(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Media_Import_IPhotoImportSource<D>::DateTime() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSource<D>::DateTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_DateTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportStorageMedium>) consume_Windows_Media_Import_IPhotoImportSource<D>::StorageMedia() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSource<D>::StorageMedia() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_StorageMedia(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportStorageMedium>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) consume_Windows_Media_Import_IPhotoImportSource<D>::IsLocked() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSource<D>::IsLocked() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_IsLocked(&value));
return winrt::Windows::Foundation::IReference<bool>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Import_IPhotoImportSource<D>::IsMassStorage() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSource<D>::IsMassStorage() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportSource)->get_IsMassStorage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Media_Import_IPhotoImportSource<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSession) consume_Windows_Media_Import_IPhotoImportSource<D>::CreateImportSession() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Import::PhotoImportSource>) consume_Windows_Media_Import_IPhotoImportSourceStatics<D>::FromIdAsync(param::hstring const& sourceId) const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSourceStatics<D>::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<winrt::Windows::Media::Import::PhotoImportSource>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Import::PhotoImportSource>) consume_Windows_Media_Import_IPhotoImportSourceStatics<D>::FromFolderAsync(winrt::Windows::Storage::IStorageFolder const& sourceRootFolder) const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportSourceStatics<D>::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<winrt::Windows::Media::Import::PhotoImportSource>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportStorageMedium<D>::Name() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportStorageMedium<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportStorageMedium<D>::Description() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportStorageMedium<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportStorageMedium<D>::SerialNumber() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportStorageMedium<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportStorageMediumType) consume_Windows_Media_Import_IPhotoImportStorageMedium<D>::StorageMediumType() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportStorageMedium<D>::StorageMediumType() const
{
winrt::Windows::Media::Import::PhotoImportStorageMediumType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportStorageMedium)->get_StorageMediumType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportAccessMode) consume_Windows_Media_Import_IPhotoImportStorageMedium<D>::SupportedAccessMode() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportStorageMedium<D>::SupportedAccessMode() const
{
winrt::Windows::Media::Import::PhotoImportAccessMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportStorageMedium)->get_SupportedAccessMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportStorageMedium<D>::CapacityInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportStorageMedium<D>::CapacityInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportStorageMedium)->get_CapacityInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportStorageMedium<D>::AvailableSpaceInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportStorageMedium<D>::AvailableSpaceInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportStorageMedium)->get_AvailableSpaceInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Import_IPhotoImportStorageMedium<D>::Refresh() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportStorageMedium<D>::Refresh() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportStorageMedium)->Refresh());
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Import_IPhotoImportVideoSegment<D>::Name() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportVideoSegment<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Import_IPhotoImportVideoSegment<D>::SizeInBytes() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportVideoSegment<D>::SizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportVideoSegment)->get_SizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Import_IPhotoImportVideoSegment<D>::Date() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportVideoSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportSidecar) consume_Windows_Media_Import_IPhotoImportVideoSegment<D>::Sibling() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportVideoSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportSidecar>) consume_Windows_Media_Import_IPhotoImportVideoSegment<D>::Sidecars() const
+ template <typename D> auto consume_Windows_Media_Import_IPhotoImportVideoSegment<D>::Sidecars() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Import::IPhotoImportVideoSegment)->get_Sidecars(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.MediaProperties.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.MediaProperties.h
index 7ed7bcd9107..1f35648eac8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.MediaProperties.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IAudioEncodingProperties<D>::Bitrate(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties<D>::Bitrate(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties)->put_Bitrate(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IAudioEncodingProperties<D>::Bitrate() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties<D>::Bitrate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties)->get_Bitrate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IAudioEncodingProperties<D>::ChannelCount(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties<D>::ChannelCount(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties)->put_ChannelCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IAudioEncodingProperties<D>::ChannelCount() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties<D>::ChannelCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties)->get_ChannelCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IAudioEncodingProperties<D>::SampleRate(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties<D>::SampleRate(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties)->put_SampleRate(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IAudioEncodingProperties<D>::SampleRate() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties<D>::SampleRate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties)->get_SampleRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IAudioEncodingProperties<D>::BitsPerSample(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties<D>::BitsPerSample(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties)->put_BitsPerSample(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IAudioEncodingProperties<D>::BitsPerSample() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties<D>::BitsPerSample() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties)->get_BitsPerSample(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_MediaProperties_IAudioEncodingProperties2<D>::IsSpatial() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties2<D>::IsSpatial() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingProperties2)->get_IsSpatial(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IAudioEncodingProperties3<D>::Copy() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingProperties3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics<D>::CreateAac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics<D>::CreateAacAdts(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics<D>::CreateMp3(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics<D>::CreatePcm(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics<D>::CreateWma(uint32_t sampleRate, uint32_t channelCount, uint32_t bitrate) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics2<D>::CreateAlac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics2<D>::CreateFlac(uint32_t sampleRate, uint32_t channelCount, uint32_t bitsPerSample) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesWithFormatUserData<D>::SetFormatUserData(array_view<uint8_t const> value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesWithFormatUserData<D>::SetFormatUserData(array_view<uint8_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingPropertiesWithFormatUserData)->SetFormatUserData(value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesWithFormatUserData<D>::GetFormatUserData(com_array<uint8_t>& value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesWithFormatUserData<D>::GetFormatUserData(com_array<uint8_t>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IAudioEncodingPropertiesWithFormatUserData)->GetFormatUserData(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ContainerEncodingProperties) consume_Windows_Media_MediaProperties_IContainerEncodingProperties2<D>::Copy() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IContainerEncodingProperties2<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::ConstrainedBaseline() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::ConstrainedBaseline() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_ConstrainedBaseline(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::Baseline() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::Baseline() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_Baseline(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::Extended() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::Extended() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_Extended(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::Main() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::Main() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_Main(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::High() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::High() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_High(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::High10() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::High10() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_High10(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::High422() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::High422() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_High422(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::High444() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::High444() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_High444(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::StereoHigh() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::StereoHigh() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_StereoHigh(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::MultiviewHigh() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IH264ProfileIdsStatics<D>::MultiviewHigh() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics)->get_MultiviewHigh(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IImageEncodingProperties<D>::Width(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IImageEncodingProperties<D>::Width(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IImageEncodingProperties)->put_Width(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IImageEncodingProperties<D>::Width() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IImageEncodingProperties<D>::Width() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IImageEncodingProperties)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IImageEncodingProperties<D>::Height(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IImageEncodingProperties<D>::Height(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IImageEncodingProperties)->put_Height(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IImageEncodingProperties<D>::Height() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IImageEncodingProperties<D>::Height() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IImageEncodingProperties)->get_Height(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) consume_Windows_Media_MediaProperties_IImageEncodingProperties2<D>::Copy() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IImageEncodingProperties2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics<D>::CreateJpeg() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics<D>::CreatePng() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics<D>::CreateJpegXR() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics2<D>::CreateUncompressed(winrt::Windows::Media::MediaProperties::MediaPixelFormat const& format) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics2<D>::CreateUncompressed(winrt::Windows::Media::MediaProperties::MediaPixelFormat const& format) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IImageEncodingPropertiesStatics2)->CreateUncompressed(static_cast<int32_t>(format), &value));
return winrt::Windows::Media::MediaProperties::ImageEncodingProperties{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics2<D>::CreateBmp() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics3<D>::CreateHeif() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaEncodingProfile<D>::Audio(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile<D>::Audio(winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile)->put_Audio(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) consume_Windows_Media_MediaProperties_IMediaEncodingProfile<D>::Audio() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaEncodingProfile<D>::Video(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile<D>::Video(winrt::Windows::Media::MediaProperties::VideoEncodingProperties const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile)->put_Video(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_MediaProperties_IMediaEncodingProfile<D>::Video() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaEncodingProfile<D>::Container(winrt::Windows::Media::MediaProperties::ContainerEncodingProperties const& value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile<D>::Container(winrt::Windows::Media::MediaProperties::ContainerEncodingProperties const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile)->put_Container(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ContainerEncodingProperties) consume_Windows_Media_MediaProperties_IMediaEncodingProfile<D>::Container() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaEncodingProfile2<D>::SetAudioTracks(param::iterable<winrt::Windows::Media::Core::AudioStreamDescriptor> const& value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile2<D>::SetAudioTracks(param::iterable<winrt::Windows::Media::Core::AudioStreamDescriptor> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile2)->SetAudioTracks(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Core::AudioStreamDescriptor>) consume_Windows_Media_MediaProperties_IMediaEncodingProfile2<D>::GetAudioTracks() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile2<D>::GetAudioTracks() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile2)->GetAudioTracks(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Core::AudioStreamDescriptor>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaEncodingProfile2<D>::SetVideoTracks(param::iterable<winrt::Windows::Media::Core::VideoStreamDescriptor> const& value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile2<D>::SetVideoTracks(param::iterable<winrt::Windows::Media::Core::VideoStreamDescriptor> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile2)->SetVideoTracks(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Core::VideoStreamDescriptor>) consume_Windows_Media_MediaProperties_IMediaEncodingProfile2<D>::GetVideoTracks() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile2<D>::GetVideoTracks() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile2)->GetVideoTracks(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Core::VideoStreamDescriptor>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaEncodingProfile3<D>::SetTimedMetadataTracks(param::iterable<winrt::Windows::Media::Core::TimedMetadataStreamDescriptor> const& value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile3<D>::SetTimedMetadataTracks(param::iterable<winrt::Windows::Media::Core::TimedMetadataStreamDescriptor> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile3)->SetTimedMetadataTracks(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Core::TimedMetadataStreamDescriptor>) consume_Windows_Media_MediaProperties_IMediaEncodingProfile3<D>::GetTimedMetadataTracks() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfile3<D>::GetTimedMetadataTracks() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfile3)->GetTimedMetadataTracks(&result));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Core::TimedMetadataStreamDescriptor>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics<D>::CreateM4a(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics<D>::CreateM4a(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics)->CreateM4a(static_cast<int32_t>(quality), &value));
return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics<D>::CreateMp3(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics<D>::CreateMp3(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics)->CreateMp3(static_cast<int32_t>(quality), &value));
return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics<D>::CreateWma(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics<D>::CreateWma(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics)->CreateWma(static_cast<int32_t>(quality), &value));
return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics<D>::CreateMp4(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics<D>::CreateMp4(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics)->CreateMp4(static_cast<int32_t>(quality), &value));
return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics<D>::CreateWmv(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics<D>::CreateWmv(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics)->CreateWmv(static_cast<int32_t>(quality), &value));
return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::MediaProperties::MediaEncodingProfile>) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics<D>::CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics<D>::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<winrt::Windows::Media::MediaProperties::MediaEncodingProfile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::MediaProperties::MediaEncodingProfile>) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics<D>::CreateFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics<D>::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<winrt::Windows::Media::MediaProperties::MediaEncodingProfile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics2<D>::CreateWav(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics2<D>::CreateWav(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics2)->CreateWav(static_cast<int32_t>(quality), &value));
return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics2<D>::CreateAvi(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics2<D>::CreateAvi(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics2)->CreateAvi(static_cast<int32_t>(quality), &value));
return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics3<D>::CreateAlac(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics3<D>::CreateAlac(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics3)->CreateAlac(static_cast<int32_t>(quality), &value));
return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics3<D>::CreateFlac(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics3<D>::CreateFlac(winrt::Windows::Media::MediaProperties::AudioEncodingQuality const& quality) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics3)->CreateFlac(static_cast<int32_t>(quality), &value));
return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaEncodingProfile) consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics3<D>::CreateHevc(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProfileStatics3<D>::CreateHevc(winrt::Windows::Media::MediaProperties::VideoEncodingQuality const& quality) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics3)->CreateHevc(static_cast<int32_t>(quality), &value));
return winrt::Windows::Media::MediaProperties::MediaEncodingProfile{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaPropertySet) consume_Windows_Media_MediaProperties_IMediaEncodingProperties<D>::Properties() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProperties<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingProperties<D>::Type() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaEncodingProperties<D>::Subtype(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProperties<D>::Subtype(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaEncodingProperties)->put_Subtype(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingProperties<D>::Subtype() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingProperties<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Aac() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::AacAdts() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Ac3() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::AmrNb() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::AmrWb() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Argb32() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Asf() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Avi() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Bgra8() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Bmp() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Eac3() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Float() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Gif() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::H263() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::H264() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::H264Es() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Hevc() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::HevcEs() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Iyuv() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Jpeg() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::JpegXr() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Mjpg() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Mpeg() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Mpeg1() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Mpeg2() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Mp3() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Mpeg4() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Nv12() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Pcm() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Png() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Rgb24() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Rgb32() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Tiff() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Wave() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Wma8() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Wma9() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Wmv3() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Wvc1() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Yuy2() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::Yv12() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2<D>::Vp9() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2<D>::L8() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2<D>::L16() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2<D>::D16() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics3<D>::Alac() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics3<D>::Flac() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics4<D>::P010() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics5<D>::Heif() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6<D>::Pgs() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6<D>::Srt() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6<D>::Ssa() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6<D>::VobSub() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaRatio<D>::Numerator(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaRatio<D>::Numerator(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaRatio)->put_Numerator(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IMediaRatio<D>::Numerator() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaRatio<D>::Numerator() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaRatio)->get_Numerator(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IMediaRatio<D>::Denominator(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaRatio<D>::Denominator(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaRatio)->put_Denominator(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IMediaRatio<D>::Denominator() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMediaRatio<D>::Denominator() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMediaRatio)->get_Denominator(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics<D>::Simple() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics<D>::Simple() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMpeg2ProfileIdsStatics)->get_Simple(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics<D>::Main() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics<D>::Main() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMpeg2ProfileIdsStatics)->get_Main(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics<D>::SignalNoiseRatioScalable() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics<D>::SignalNoiseRatioScalable() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMpeg2ProfileIdsStatics)->get_SignalNoiseRatioScalable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics<D>::SpatiallyScalable() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics<D>::SpatiallyScalable() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMpeg2ProfileIdsStatics)->get_SpatiallyScalable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics<D>::High() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IMpeg2ProfileIdsStatics<D>::High() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IMpeg2ProfileIdsStatics)->get_High(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_ITimedMetadataEncodingProperties<D>::SetFormatUserData(array_view<uint8_t const> value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_ITimedMetadataEncodingProperties<D>::SetFormatUserData(array_view<uint8_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::ITimedMetadataEncodingProperties)->SetFormatUserData(value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_ITimedMetadataEncodingProperties<D>::GetFormatUserData(com_array<uint8_t>& value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_ITimedMetadataEncodingProperties<D>::GetFormatUserData(com_array<uint8_t>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::ITimedMetadataEncodingProperties)->GetFormatUserData(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) consume_Windows_Media_MediaProperties_ITimedMetadataEncodingProperties<D>::Copy() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_ITimedMetadataEncodingProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics<D>::CreatePgs() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics<D>::CreateSrt() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics<D>::CreateSsa(array_view<uint8_t const> formatUserData) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics<D>::CreateSsa(array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics<D>::CreateVobSub(array_view<uint8_t const> formatUserData) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_ITimedMetadataEncodingPropertiesStatics<D>::CreateVobSub(array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IVideoEncodingProperties<D>::Bitrate(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties<D>::Bitrate(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties)->put_Bitrate(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IVideoEncodingProperties<D>::Bitrate() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties<D>::Bitrate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties)->get_Bitrate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IVideoEncodingProperties<D>::Width(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties<D>::Width(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties)->put_Width(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IVideoEncodingProperties<D>::Width() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties<D>::Width() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IVideoEncodingProperties<D>::Height(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties<D>::Height(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties)->put_Height(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_MediaProperties_IVideoEncodingProperties<D>::Height() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties<D>::Height() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties)->get_Height(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_MediaProperties_IVideoEncodingProperties<D>::FrameRate() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) consume_Windows_Media_MediaProperties_IVideoEncodingProperties<D>::PixelAspectRatio() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IVideoEncodingProperties2<D>::SetFormatUserData(array_view<uint8_t const> value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties2<D>::SetFormatUserData(array_view<uint8_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties2)->SetFormatUserData(value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IVideoEncodingProperties2<D>::GetFormatUserData(com_array<uint8_t>& value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties2<D>::GetFormatUserData(com_array<uint8_t>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties2)->GetFormatUserData(impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_MediaProperties_IVideoEncodingProperties2<D>::ProfileId(int32_t value) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties2<D>::ProfileId(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties2)->put_ProfileId(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_MediaProperties_IVideoEncodingProperties2<D>::ProfileId() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties2<D>::ProfileId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties2)->get_ProfileId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode) consume_Windows_Media_MediaProperties_IVideoEncodingProperties3<D>::StereoscopicVideoPackingMode() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties3<D>::StereoscopicVideoPackingMode() const
{
winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties3)->get_StereoscopicVideoPackingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat) consume_Windows_Media_MediaProperties_IVideoEncodingProperties4<D>::SphericalVideoFrameFormat() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties4<D>::SphericalVideoFrameFormat() const
{
winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingProperties4)->get_SphericalVideoFrameFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_MediaProperties_IVideoEncodingProperties5<D>::Copy() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingProperties5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics<D>::CreateH264() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics<D>::CreateMpeg2() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics<D>::CreateUncompressed(param::hstring const& subtype, uint32_t width, uint32_t height) const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics2<D>::CreateHevc() const
+ template <typename D> auto consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics2<D>::CreateHevc() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::MediaProperties::IVideoEncodingPropertiesStatics2)->CreateHevc(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Miracast.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Miracast.h
index f171855d482..33c3267db33 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Miracast.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverSettings) consume_Windows_Media_Miracast_IMiracastReceiver<D>::GetDefaultSettings() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiver<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverSettings) consume_Windows_Media_Miracast_IMiracastReceiver<D>::GetCurrentSettings() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiver<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Miracast::MiracastReceiverSettings>) consume_Windows_Media_Miracast_IMiracastReceiver<D>::GetCurrentSettingsAsync() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiver<D>::GetCurrentSettingsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->GetCurrentSettingsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Miracast::MiracastReceiverSettings>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverApplySettingsResult) consume_Windows_Media_Miracast_IMiracastReceiver<D>::DisconnectAllAndApplySettings(winrt::Windows::Media::Miracast::MiracastReceiverSettings const& settings) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiver<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Miracast::MiracastReceiverApplySettingsResult>) consume_Windows_Media_Miracast_IMiracastReceiver<D>::DisconnectAllAndApplySettingsAsync(winrt::Windows::Media::Miracast::MiracastReceiverSettings const& settings) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiver<D>::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<winrt::Windows::Media::Miracast::MiracastReceiverApplySettingsResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverStatus) consume_Windows_Media_Miracast_IMiracastReceiver<D>::GetStatus() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiver<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Miracast::MiracastReceiverStatus>) consume_Windows_Media_Miracast_IMiracastReceiver<D>::GetStatusAsync() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiver<D>::GetStatusAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->GetStatusAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Miracast::MiracastReceiverStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Miracast_IMiracastReceiver<D>::StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiver<D>::StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiver, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Miracast_IMiracastReceiver<D>::StatusChanged_revoker consume_Windows_Media_Miracast_IMiracastReceiver<D>::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiver<D>::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, StatusChanged_revoker>(this, StatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiver<D>::StatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiver<D>::StatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->remove_StatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverSession) consume_Windows_Media_Miracast_IMiracastReceiver<D>::CreateSession(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& view) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiver<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Miracast::MiracastReceiverSession>) consume_Windows_Media_Miracast_IMiracastReceiver<D>::CreateSessionAsync(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& view) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiver<D>::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<winrt::Windows::Media::Miracast::MiracastReceiverSession>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiver<D>::ClearKnownTransmitters() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiver<D>::ClearKnownTransmitters() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->ClearKnownTransmitters());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiver<D>::RemoveKnownTransmitter(winrt::Windows::Media::Miracast::MiracastTransmitter const& transmitter) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiver<D>::RemoveKnownTransmitter(winrt::Windows::Media::Miracast::MiracastTransmitter const& transmitter) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiver)->RemoveKnownTransmitter(*(void**)(&transmitter)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverApplySettingsStatus) consume_Windows_Media_Miracast_IMiracastReceiverApplySettingsResult<D>::Status() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverApplySettingsResult<D>::Status() const
{
winrt::Windows::Media::Miracast::MiracastReceiverApplySettingsStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverApplySettingsResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Miracast_IMiracastReceiverApplySettingsResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverApplySettingsResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverApplySettingsResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::Disconnect(winrt::Windows::Media::Miracast::MiracastReceiverDisconnectReason const& reason) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::Disconnect(winrt::Windows::Media::Miracast::MiracastReceiverDisconnectReason const& reason) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverConnection)->Disconnect(static_cast<int32_t>(reason)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::Disconnect(winrt::Windows::Media::Miracast::MiracastReceiverDisconnectReason const& reason, param::hstring const& message) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::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<int32_t>(reason), *(void**)(&message)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::Pause() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::Pause() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverConnection)->Pause());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::PauseAsync() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::Resume() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::Resume() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverConnection)->Resume());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::ResumeAsync() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastTransmitter) consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::Transmitter() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverInputDevices) consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::InputDevices() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel) consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::CursorImageChannel() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverStreamControl) consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::StreamControl() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverConnection) consume_Windows_Media_Miracast_IMiracastReceiverConnectionCreatedEventArgs<D>::Connection() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverConnectionCreatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Miracast_IMiracastReceiverConnectionCreatedEventArgs<D>::Pin() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverConnectionCreatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Miracast_IMiracastReceiverConnectionCreatedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverConnectionCreatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::MaxImageSize() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::PointInt32) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::ImageStream() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::ImageStreamChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::ImageStreamChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::ImageStreamChanged_revoker consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::ImageStreamChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::ImageStreamChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ImageStreamChanged_revoker>(this, ImageStreamChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::ImageStreamChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::ImageStreamChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel)->remove_ImageStreamChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::PositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::PositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::PositionChanged_revoker consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, PositionChanged_revoker>(this, PositionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::PositionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannel<D>::PositionChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel)->remove_PositionChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannelSettings)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannelSettings)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings<D>::MaxImageSize() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings<D>::MaxImageSize(winrt::Windows::Graphics::SizeInt32 const& value) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverCursorImageChannelSettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverConnection) consume_Windows_Media_Miracast_IMiracastReceiverDisconnectedEventArgs<D>::Connection() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverDisconnectedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::TransmitInput() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::TransmitInput() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice)->get_TransmitInput(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::TransmitInput(bool value) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::TransmitInput(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice)->put_TransmitInput(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::IsRequestedByTransmitter() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::IsRequestedByTransmitter() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice)->get_IsRequestedByTransmitter(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::IsTransmittingInput() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::IsTransmittingInput() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice)->get_IsTransmittingInput(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDeviceUsageMode) consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::Mode() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::Mode() const
{
winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDeviceUsageMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::Mode(winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDeviceUsageMode const& value) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::Mode(winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDeviceUsageMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice)->put_Mode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDevice, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::Changed_revoker consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Changed_revoker>(this, Changed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::Changed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverGameControllerDevice<D>::Changed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice)->remove_Changed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverKeyboardDevice) consume_Windows_Media_Miracast_IMiracastReceiverInputDevices<D>::Keyboard() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverInputDevices<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDevice) consume_Windows_Media_Miracast_IMiracastReceiverInputDevices<D>::GameController() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverInputDevices<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice<D>::TransmitInput() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice<D>::TransmitInput() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverKeyboardDevice)->get_TransmitInput(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice<D>::TransmitInput(bool value) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice<D>::TransmitInput(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverKeyboardDevice)->put_TransmitInput(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice<D>::IsRequestedByTransmitter() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice<D>::IsRequestedByTransmitter() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverKeyboardDevice)->get_IsRequestedByTransmitter(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice<D>::IsTransmittingInput() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice<D>::IsTransmittingInput() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverKeyboardDevice)->get_IsTransmittingInput(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverKeyboardDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverKeyboardDevice, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice<D>::Changed_revoker consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverKeyboardDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverKeyboardDevice, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Changed_revoker>(this, Changed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice<D>::Changed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverKeyboardDevice<D>::Changed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverKeyboardDevice)->remove_Changed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverConnection) consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs<D>::Connection() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs<D>::MediaSource() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannelSettings) consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs<D>::CursorImageChannelSettings() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverMediaSourceCreatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::ConnectionCreated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverConnectionCreatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::ConnectionCreated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverConnectionCreatedEventArgs> 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 D> typename consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::ConnectionCreated_revoker consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::ConnectionCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverConnectionCreatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::ConnectionCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverConnectionCreatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ConnectionCreated_revoker>(this, ConnectionCreated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::ConnectionCreated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::ConnectionCreated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->remove_ConnectionCreated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::MediaSourceCreated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverMediaSourceCreatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::MediaSourceCreated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverMediaSourceCreatedEventArgs> 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 D> typename consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::MediaSourceCreated_revoker consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::MediaSourceCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverMediaSourceCreatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::MediaSourceCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverMediaSourceCreatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MediaSourceCreated_revoker>(this, MediaSourceCreated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::MediaSourceCreated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::MediaSourceCreated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->remove_MediaSourceCreated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::Disconnected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverDisconnectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::Disconnected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverDisconnectedEventArgs> 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 D> typename consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::Disconnected_revoker consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::Disconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverDisconnectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::Disconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverDisconnectedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Disconnected_revoker>(this, Disconnected(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::Disconnected(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::Disconnected(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->remove_Disconnected(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::AllowConnectionTakeover() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::AllowConnectionTakeover() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->get_AllowConnectionTakeover(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::AllowConnectionTakeover(bool value) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::AllowConnectionTakeover(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->put_AllowConnectionTakeover(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::MaxSimultaneousConnections() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::MaxSimultaneousConnections() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->get_MaxSimultaneousConnections(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::MaxSimultaneousConnections(int32_t value) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::MaxSimultaneousConnections(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->put_MaxSimultaneousConnections(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverSessionStartResult) consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::Start() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Miracast::MiracastReceiverSessionStartResult>) consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::StartAsync() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSession<D>::StartAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSession)->StartAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Miracast::MiracastReceiverSessionStartResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverSessionStartStatus) consume_Windows_Media_Miracast_IMiracastReceiverSessionStartResult<D>::Status() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSessionStartResult<D>::Status() const
{
winrt::Windows::Media::Miracast::MiracastReceiverSessionStartStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSessionStartResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Miracast_IMiracastReceiverSessionStartResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSessionStartResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSessionStartResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::FriendlyName() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::FriendlyName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::FriendlyName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSettings)->put_FriendlyName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::ModelName() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::ModelName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::ModelName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSettings)->put_ModelName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::ModelNumber() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::ModelNumber(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::ModelNumber(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSettings)->put_ModelNumber(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverAuthorizationMethod) consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::AuthorizationMethod() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::AuthorizationMethod() const
{
winrt::Windows::Media::Miracast::MiracastReceiverAuthorizationMethod value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSettings)->get_AuthorizationMethod(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::AuthorizationMethod(winrt::Windows::Media::Miracast::MiracastReceiverAuthorizationMethod const& value) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::AuthorizationMethod(winrt::Windows::Media::Miracast::MiracastReceiverAuthorizationMethod const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSettings)->put_AuthorizationMethod(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::RequireAuthorizationFromKnownTransmitters() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::RequireAuthorizationFromKnownTransmitters() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSettings)->get_RequireAuthorizationFromKnownTransmitters(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::RequireAuthorizationFromKnownTransmitters(bool value) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverSettings<D>::RequireAuthorizationFromKnownTransmitters(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverSettings)->put_RequireAuthorizationFromKnownTransmitters(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverListeningStatus) consume_Windows_Media_Miracast_IMiracastReceiverStatus<D>::ListeningStatus() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverStatus<D>::ListeningStatus() const
{
winrt::Windows::Media::Miracast::MiracastReceiverListeningStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStatus)->get_ListeningStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverWiFiStatus) consume_Windows_Media_Miracast_IMiracastReceiverStatus<D>::WiFiStatus() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverStatus<D>::WiFiStatus() const
{
winrt::Windows::Media::Miracast::MiracastReceiverWiFiStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStatus)->get_WiFiStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverStatus<D>::IsConnectionTakeoverSupported() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverStatus<D>::IsConnectionTakeoverSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStatus)->get_IsConnectionTakeoverSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Miracast_IMiracastReceiverStatus<D>::MaxSimultaneousConnections() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverStatus<D>::MaxSimultaneousConnections() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStatus)->get_MaxSimultaneousConnections(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Miracast::MiracastTransmitter>) consume_Windows_Media_Miracast_IMiracastReceiverStatus<D>::KnownTransmitters() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverStatus<D>::KnownTransmitters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStatus)->get_KnownTransmitters(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Miracast::MiracastTransmitter>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings) consume_Windows_Media_Miracast_IMiracastReceiverStreamControl<D>::GetVideoStreamSettings() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverStreamControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings>) consume_Windows_Media_Miracast_IMiracastReceiverStreamControl<D>::GetVideoStreamSettingsAsync() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverStreamControl<D>::GetVideoStreamSettingsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStreamControl)->GetVideoStreamSettingsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverStreamControl<D>::SuggestVideoStreamSettings(winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings const& settings) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverStreamControl<D>::SuggestVideoStreamSettings(winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings const& settings) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStreamControl)->SuggestVideoStreamSettings(*(void**)(&settings)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Miracast_IMiracastReceiverStreamControl<D>::SuggestVideoStreamSettingsAsync(winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings const& settings) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverStreamControl<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Miracast_IMiracastReceiverStreamControl<D>::MuteAudio() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverStreamControl<D>::MuteAudio() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStreamControl)->get_MuteAudio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverStreamControl<D>::MuteAudio(bool value) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverStreamControl<D>::MuteAudio(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverStreamControl)->put_MuteAudio(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings<D>::Size() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings<D>::Size(winrt::Windows::Graphics::SizeInt32 const& value) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings<D>::Bitrate() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings<D>::Bitrate() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverVideoStreamSettings)->get_Bitrate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings<D>::Bitrate(int32_t value) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastReceiverVideoStreamSettings<D>::Bitrate(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastReceiverVideoStreamSettings)->put_Bitrate(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Miracast_IMiracastTransmitter<D>::Name() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastTransmitter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastTransmitter<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastTransmitter<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastTransmitter)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastTransmitterAuthorizationStatus) consume_Windows_Media_Miracast_IMiracastTransmitter<D>::AuthorizationStatus() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastTransmitter<D>::AuthorizationStatus() const
{
winrt::Windows::Media::Miracast::MiracastTransmitterAuthorizationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastTransmitter)->get_AuthorizationStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Miracast_IMiracastTransmitter<D>::AuthorizationStatus(winrt::Windows::Media::Miracast::MiracastTransmitterAuthorizationStatus const& value) const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastTransmitter<D>::AuthorizationStatus(winrt::Windows::Media::Miracast::MiracastTransmitterAuthorizationStatus const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastTransmitter)->put_AuthorizationStatus(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Miracast::MiracastReceiverConnection>) consume_Windows_Media_Miracast_IMiracastTransmitter<D>::GetConnections() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastTransmitter<D>::GetConnections() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Miracast::IMiracastTransmitter)->GetConnections(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Miracast::MiracastReceiverConnection>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Miracast_IMiracastTransmitter<D>::MacAddress() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastTransmitter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Miracast_IMiracastTransmitter<D>::LastConnectionTime() const
+ template <typename D> auto consume_Windows_Media_Miracast_IMiracastTransmitter<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Ocr.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Ocr.h
index 2ddfa0d8593..eca09d0bcbe 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Ocr.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Ocr::OcrResult>) consume_Windows_Media_Ocr_IOcrEngine<D>::RecognizeAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const
+ template <typename D> auto consume_Windows_Media_Ocr_IOcrEngine<D>::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<winrt::Windows::Media::Ocr::OcrResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) consume_Windows_Media_Ocr_IOcrEngine<D>::RecognizerLanguage() const
+ template <typename D> auto consume_Windows_Media_Ocr_IOcrEngine<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Ocr_IOcrEngineStatics<D>::MaxImageDimension() const
+ template <typename D> auto consume_Windows_Media_Ocr_IOcrEngineStatics<D>::MaxImageDimension() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrEngineStatics)->get_MaxImageDimension(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Globalization::Language>) consume_Windows_Media_Ocr_IOcrEngineStatics<D>::AvailableRecognizerLanguages() const
+ template <typename D> auto consume_Windows_Media_Ocr_IOcrEngineStatics<D>::AvailableRecognizerLanguages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrEngineStatics)->get_AvailableRecognizerLanguages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Globalization::Language>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Ocr_IOcrEngineStatics<D>::IsLanguageSupported(winrt::Windows::Globalization::Language const& language) const
+ template <typename D> auto consume_Windows_Media_Ocr_IOcrEngineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Ocr::OcrEngine) consume_Windows_Media_Ocr_IOcrEngineStatics<D>::TryCreateFromLanguage(winrt::Windows::Globalization::Language const& language) const
+ template <typename D> auto consume_Windows_Media_Ocr_IOcrEngineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Ocr::OcrEngine) consume_Windows_Media_Ocr_IOcrEngineStatics<D>::TryCreateFromUserProfileLanguages() const
+ template <typename D> auto consume_Windows_Media_Ocr_IOcrEngineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Ocr::OcrWord>) consume_Windows_Media_Ocr_IOcrLine<D>::Words() const
+ template <typename D> auto consume_Windows_Media_Ocr_IOcrLine<D>::Words() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrLine)->get_Words(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Ocr::OcrWord>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Ocr_IOcrLine<D>::Text() const
+ template <typename D> auto consume_Windows_Media_Ocr_IOcrLine<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Ocr::OcrLine>) consume_Windows_Media_Ocr_IOcrResult<D>::Lines() const
+ template <typename D> auto consume_Windows_Media_Ocr_IOcrResult<D>::Lines() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrResult)->get_Lines(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Ocr::OcrLine>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Media_Ocr_IOcrResult<D>::TextAngle() const
+ template <typename D> auto consume_Windows_Media_Ocr_IOcrResult<D>::TextAngle() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrResult)->get_TextAngle(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Ocr_IOcrResult<D>::Text() const
+ template <typename D> auto consume_Windows_Media_Ocr_IOcrResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Media_Ocr_IOcrWord<D>::BoundingRect() const
+ template <typename D> auto consume_Windows_Media_Ocr_IOcrWord<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Ocr_IOcrWord<D>::Text() const
+ template <typename D> auto consume_Windows_Media_Ocr_IOcrWord<D>::Text() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Ocr::IOcrWord)->get_Text(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.PlayTo.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.PlayTo.h
index 4568b6af7db..c87d0035b12 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.PlayTo.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_PlayTo_ICurrentTimeChangeRequestedEventArgs<D>::Time() const
+ template <typename D> auto consume_Windows_Media_PlayTo_ICurrentTimeChangeRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_PlayTo_IMuteChangeRequestedEventArgs<D>::Mute() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IMuteChangeRequestedEventArgs<D>::Mute() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IMuteChangeRequestedEventArgs)->get_Mute(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToConnectionState) consume_Windows_Media_PlayTo_IPlayToConnection<D>::State() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToConnection<D>::State() const
{
winrt::Windows::Media::PlayTo::PlayToConnectionState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnection)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToConnection<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToConnection<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionStateChangedEventArgs> 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 D> typename consume_Windows_Media_PlayTo_IPlayToConnection<D>::StateChanged_revoker consume_Windows_Media_PlayTo_IPlayToConnection<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToConnection<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StateChanged_revoker>(this, StateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToConnection<D>::StateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToConnection<D>::StateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnection)->remove_StateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToConnection<D>::Transferred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionTransferredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToConnection<D>::Transferred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionTransferredEventArgs> 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 D> typename consume_Windows_Media_PlayTo_IPlayToConnection<D>::Transferred_revoker consume_Windows_Media_PlayTo_IPlayToConnection<D>::Transferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionTransferredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToConnection<D>::Transferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionTransferredEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Transferred_revoker>(this, Transferred(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToConnection<D>::Transferred(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToConnection<D>::Transferred(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnection)->remove_Transferred(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToConnection<D>::Error(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionErrorEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToConnection<D>::Error(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionErrorEventArgs> 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 D> typename consume_Windows_Media_PlayTo_IPlayToConnection<D>::Error_revoker consume_Windows_Media_PlayTo_IPlayToConnection<D>::Error(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionErrorEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToConnection<D>::Error(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionErrorEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Error_revoker>(this, Error(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToConnection<D>::Error(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToConnection<D>::Error(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnection)->remove_Error(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToConnectionError) consume_Windows_Media_PlayTo_IPlayToConnectionErrorEventArgs<D>::Code() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToConnectionErrorEventArgs<D>::Code() const
{
winrt::Windows::Media::PlayTo::PlayToConnectionError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnectionErrorEventArgs)->get_Code(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_PlayTo_IPlayToConnectionErrorEventArgs<D>::Message() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToConnectionErrorEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToConnectionState) consume_Windows_Media_PlayTo_IPlayToConnectionStateChangedEventArgs<D>::PreviousState() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToConnectionStateChangedEventArgs<D>::PreviousState() const
{
winrt::Windows::Media::PlayTo::PlayToConnectionState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnectionStateChangedEventArgs)->get_PreviousState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToConnectionState) consume_Windows_Media_PlayTo_IPlayToConnectionStateChangedEventArgs<D>::CurrentState() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToConnectionStateChangedEventArgs<D>::CurrentState() const
{
winrt::Windows::Media::PlayTo::PlayToConnectionState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToConnectionStateChangedEventArgs)->get_CurrentState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSource) consume_Windows_Media_PlayTo_IPlayToConnectionTransferredEventArgs<D>::PreviousSource() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToConnectionTransferredEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSource) consume_Windows_Media_PlayTo_IPlayToConnectionTransferredEventArgs<D>::CurrentSource() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToConnectionTransferredEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToManager<D>::SourceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToManager, winrt::Windows::Media::PlayTo::PlayToSourceRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToManager<D>::SourceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToManager, winrt::Windows::Media::PlayTo::PlayToSourceRequestedEventArgs> 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 D> typename consume_Windows_Media_PlayTo_IPlayToManager<D>::SourceRequested_revoker consume_Windows_Media_PlayTo_IPlayToManager<D>::SourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToManager, winrt::Windows::Media::PlayTo::PlayToSourceRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToManager<D>::SourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToManager, winrt::Windows::Media::PlayTo::PlayToSourceRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SourceRequested_revoker>(this, SourceRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToManager<D>::SourceRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToManager<D>::SourceRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToManager)->remove_SourceRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToManager<D>::SourceSelected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToManager, winrt::Windows::Media::PlayTo::PlayToSourceSelectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToManager<D>::SourceSelected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToManager, winrt::Windows::Media::PlayTo::PlayToSourceSelectedEventArgs> 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 D> typename consume_Windows_Media_PlayTo_IPlayToManager<D>::SourceSelected_revoker consume_Windows_Media_PlayTo_IPlayToManager<D>::SourceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToManager, winrt::Windows::Media::PlayTo::PlayToSourceSelectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToManager<D>::SourceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToManager, winrt::Windows::Media::PlayTo::PlayToSourceSelectedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SourceSelected_revoker>(this, SourceSelected(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToManager<D>::SourceSelected(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToManager<D>::SourceSelected(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToManager)->remove_SourceSelected(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToManager<D>::DefaultSourceSelection(bool value) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToManager<D>::DefaultSourceSelection(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToManager)->put_DefaultSourceSelection(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_PlayTo_IPlayToManager<D>::DefaultSourceSelection() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToManager<D>::DefaultSourceSelection() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToManager)->get_DefaultSourceSelection(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToManager) consume_Windows_Media_PlayTo_IPlayToManagerStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToManagerStatics<D>::ShowPlayToUI() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToManagerStatics<D>::ShowPlayToUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToManagerStatics)->ShowPlayToUI());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PlayRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PlayRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PlayRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PlayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PlayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, PlayRequested_revoker>(this, PlayRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PlayRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PlayRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_PlayRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PauseRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PauseRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PauseRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PauseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PauseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, PauseRequested_revoker>(this, PauseRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PauseRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PauseRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_PauseRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SourceChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::SourceChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SourceChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::SourceChangeRequestedEventArgs> 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 D> typename consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SourceChangeRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SourceChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::SourceChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SourceChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::SourceChangeRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SourceChangeRequested_revoker>(this, SourceChangeRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SourceChangeRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SourceChangeRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_SourceChangeRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PlaybackRateChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::PlaybackRateChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PlaybackRateChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::PlaybackRateChangeRequestedEventArgs> 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 D> typename consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PlaybackRateChangeRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::PlaybackRateChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::PlaybackRateChangeRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PlaybackRateChangeRequested_revoker>(this, PlaybackRateChangeRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PlaybackRateChangeRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::PlaybackRateChangeRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_PlaybackRateChangeRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::CurrentTimeChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::CurrentTimeChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::CurrentTimeChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::CurrentTimeChangeRequestedEventArgs> 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 D> typename consume_Windows_Media_PlayTo_IPlayToReceiver<D>::CurrentTimeChangeRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver<D>::CurrentTimeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::CurrentTimeChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::CurrentTimeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::CurrentTimeChangeRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CurrentTimeChangeRequested_revoker>(this, CurrentTimeChangeRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::CurrentTimeChangeRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::CurrentTimeChangeRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_CurrentTimeChangeRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::MuteChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::MuteChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::MuteChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::MuteChangeRequestedEventArgs> 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 D> typename consume_Windows_Media_PlayTo_IPlayToReceiver<D>::MuteChangeRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver<D>::MuteChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::MuteChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::MuteChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::MuteChangeRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MuteChangeRequested_revoker>(this, MuteChangeRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::MuteChangeRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::MuteChangeRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_MuteChangeRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::VolumeChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::VolumeChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::VolumeChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::VolumeChangeRequestedEventArgs> 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 D> typename consume_Windows_Media_PlayTo_IPlayToReceiver<D>::VolumeChangeRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver<D>::VolumeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::VolumeChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::VolumeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::VolumeChangeRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, VolumeChangeRequested_revoker>(this, VolumeChangeRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::VolumeChangeRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::VolumeChangeRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_VolumeChangeRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::TimeUpdateRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::TimeUpdateRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_PlayTo_IPlayToReceiver<D>::TimeUpdateRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver<D>::TimeUpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::TimeUpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, TimeUpdateRequested_revoker>(this, TimeUpdateRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::TimeUpdateRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::TimeUpdateRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_TimeUpdateRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::StopRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::StopRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_PlayTo_IPlayToReceiver<D>::StopRequested_revoker consume_Windows_Media_PlayTo_IPlayToReceiver<D>::StopRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::StopRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, StopRequested_revoker>(this, StopRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::StopRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::StopRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->remove_StopRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyVolumeChange(double volume, bool mute) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyVolumeChange(double volume, bool mute) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyVolumeChange(volume, mute));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyRateChange(double rate) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyRateChange(double rate) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyRateChange(rate));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyLoadedMetadata() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyLoadedMetadata() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyLoadedMetadata());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyTimeUpdate(winrt::Windows::Foundation::TimeSpan const& currentTime) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyTimeUpdate(winrt::Windows::Foundation::TimeSpan const& currentTime) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyTimeUpdate(impl::bind_in(currentTime)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyDurationChange(winrt::Windows::Foundation::TimeSpan const& duration) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyDurationChange(winrt::Windows::Foundation::TimeSpan const& duration) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyDurationChange(impl::bind_in(duration)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifySeeking() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifySeeking() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifySeeking());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifySeeked() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifySeeked() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifySeeked());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyPaused() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyPaused() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyPaused());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyPlaying() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyPlaying() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyPlaying());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyEnded() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyEnded() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyEnded());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyError() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyError() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyError());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyStopped() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::NotifyStopped() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->NotifyStopped());
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::FriendlyName() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::FriendlyName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::FriendlyName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->put_FriendlyName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SupportsImage(bool value) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SupportsImage(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->put_SupportsImage(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SupportsImage() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SupportsImage() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->get_SupportsImage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SupportsAudio(bool value) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SupportsAudio(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->put_SupportsAudio(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SupportsAudio() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SupportsAudio() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->get_SupportsAudio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SupportsVideo(bool value) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SupportsVideo(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->put_SupportsVideo(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SupportsVideo() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::SupportsVideo() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToReceiver)->get_SupportsVideo(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::Properties() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::StartAsync() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_PlayTo_IPlayToReceiver<D>::StopAsync() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToReceiver<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToConnection) consume_Windows_Media_PlayTo_IPlayToSource<D>::Connection() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSource) consume_Windows_Media_PlayTo_IPlayToSource<D>::Next() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToSource<D>::Next(winrt::Windows::Media::PlayTo::PlayToSource const& value) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToSource<D>::Next(winrt::Windows::Media::PlayTo::PlayToSource const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSource)->put_Next(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToSource<D>::PlayNext() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToSource<D>::PlayNext() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSource)->PlayNext());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToSourceDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToSourceDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_PlayTo_IPlayToSourceRequest<D>::Deadline() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToSourceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToSourceRequest<D>::DisplayErrorString(param::hstring const& errorString) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToSourceRequest<D>::DisplayErrorString(param::hstring const& errorString) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceRequest)->DisplayErrorString(*(void**)(&errorString)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSourceDeferral) consume_Windows_Media_PlayTo_IPlayToSourceRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToSourceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToSourceRequest<D>::SetSource(winrt::Windows::Media::PlayTo::PlayToSource const& value) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToSourceRequest<D>::SetSource(winrt::Windows::Media::PlayTo::PlayToSource const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceRequest)->SetSource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSourceRequest) consume_Windows_Media_PlayTo_IPlayToSourceRequestedEventArgs<D>::SourceRequest() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToSourceRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs<D>::FriendlyName() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs<D>::Icon() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs<D>::SupportsImage() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs<D>::SupportsImage() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceSelectedEventArgs)->get_SupportsImage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs<D>::SupportsAudio() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs<D>::SupportsAudio() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceSelectedEventArgs)->get_SupportsAudio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs<D>::SupportsVideo() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToSourceSelectedEventArgs<D>::SupportsVideo() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceSelectedEventArgs)->get_SupportsVideo(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_PlayTo_IPlayToSourceWithPreferredSourceUri<D>::PreferredSourceUri() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToSourceWithPreferredSourceUri<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_PlayTo_IPlayToSourceWithPreferredSourceUri<D>::PreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlayToSourceWithPreferredSourceUri<D>::PreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlayToSourceWithPreferredSourceUri)->put_PreferredSourceUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_PlayTo_IPlaybackRateChangeRequestedEventArgs<D>::Rate() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IPlaybackRateChangeRequestedEventArgs<D>::Rate() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IPlaybackRateChangeRequestedEventArgs)->get_Rate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::Stream() const
+ template <typename D> auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::Title() const
+ template <typename D> auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::Author() const
+ template <typename D> auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::Album() const
+ template <typename D> auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::Genre() const
+ template <typename D> auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::Description() const
+ template <typename D> auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::Date() const
+ template <typename D> auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::Date() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::ISourceChangeRequestedEventArgs)->get_Date(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::Rating() const
+ template <typename D> auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::Rating() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::ISourceChangeRequestedEventArgs)->get_Rating(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::Properties() const
+ template <typename D> auto consume_Windows_Media_PlayTo_ISourceChangeRequestedEventArgs<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::ISourceChangeRequestedEventArgs)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_PlayTo_IVolumeChangeRequestedEventArgs<D>::Volume() const
+ template <typename D> auto consume_Windows_Media_PlayTo_IVolumeChangeRequestedEventArgs<D>::Volume() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::PlayTo::IVolumeChangeRequestedEventArgs)->get_Volume(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Playback.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Playback.h
index b21146d6b64..fb91a7fa551 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Playback.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::Current() const
+ template <typename D> auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::MessageReceivedFromBackground(winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::MessageReceivedFromBackground(winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> 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 D> typename consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::MessageReceivedFromBackground_revoker consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value) const
{
return impl::make_event_revoker<D, MessageReceivedFromBackground_revoker>(this, MessageReceivedFromBackground(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::MessageReceivedFromBackground(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::MessageReceivedFromBackground(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics)->remove_MessageReceivedFromBackground(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::MessageReceivedFromForeground(winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::MessageReceivedFromForeground(winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> 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 D> typename consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::MessageReceivedFromForeground_revoker consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::MessageReceivedFromForeground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::MessageReceivedFromForeground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value) const
{
return impl::make_event_revoker<D, MessageReceivedFromForeground_revoker>(this, MessageReceivedFromForeground(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::MessageReceivedFromForeground(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::MessageReceivedFromForeground(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics)->remove_MessageReceivedFromForeground(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::SendMessageToBackground(winrt::Windows::Foundation::Collections::ValueSet const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::SendMessageToBackground(winrt::Windows::Foundation::Collections::ValueSet const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics)->SendMessageToBackground(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::SendMessageToForeground(winrt::Windows::Foundation::Collections::ValueSet const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::SendMessageToForeground(winrt::Windows::Foundation::Collections::ValueSet const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics)->SendMessageToForeground(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::IsMediaPlaying() const
+ template <typename D> auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::IsMediaPlaying() const
{
bool isMediaPlaying{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics)->IsMediaPlaying(&isMediaPlaying));
return isMediaPlaying;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::Shutdown() const
+ template <typename D> auto consume_Windows_Media_Playback_IBackgroundMediaPlayerStatics<D>::Shutdown() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics)->Shutdown());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs<D>::NewItem() const
+ template <typename D> auto consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs<D>::OldItem() const
+ template <typename D> auto consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItemChangedReason) consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs2<D>::Reason() const
+ template <typename D> auto consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs2<D>::Reason() const
{
winrt::Windows::Media::Playback::MediaPlaybackItemChangedReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::ICurrentMediaPlaybackItemChangedEventArgs2)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackList) consume_Windows_Media_Playback_IMediaBreak<D>::PlaybackList() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreak<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Playback_IMediaBreak<D>::PresentationPosition() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreak<D>::PresentationPosition() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreak)->get_PresentationPosition(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreakInsertionMethod) consume_Windows_Media_Playback_IMediaBreak<D>::InsertionMethod() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreak<D>::InsertionMethod() const
{
winrt::Windows::Media::Playback::MediaBreakInsertionMethod value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreak)->get_InsertionMethod(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Media_Playback_IMediaBreak<D>::CustomProperties() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreak<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaBreak<D>::CanStart() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreak<D>::CanStart() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreak)->get_CanStart(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreak<D>::CanStart(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreak<D>::CanStart(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreak)->put_CanStart(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) consume_Windows_Media_Playback_IMediaBreakEndedEventArgs<D>::MediaBreak() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakEndedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) consume_Windows_Media_Playback_IMediaBreakFactory<D>::Create(winrt::Windows::Media::Playback::MediaBreakInsertionMethod const& insertionMethod) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakFactory<D>::Create(winrt::Windows::Media::Playback::MediaBreakInsertionMethod const& insertionMethod) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakFactory)->Create(static_cast<int32_t>(insertionMethod), &result));
return winrt::Windows::Media::Playback::MediaBreak{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) consume_Windows_Media_Playback_IMediaBreakFactory<D>::CreateWithPresentationPosition(winrt::Windows::Media::Playback::MediaBreakInsertionMethod const& insertionMethod, winrt::Windows::Foundation::TimeSpan const& presentationPosition) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakFactory<D>::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<int32_t>(insertionMethod), impl::bind_in(presentationPosition), &result));
return winrt::Windows::Media::Playback::MediaBreak{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaBreakManager<D>::BreaksSeekedOver(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakSeekedOverEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakManager<D>::BreaksSeekedOver(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakSeekedOverEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaBreakManager<D>::BreaksSeekedOver_revoker consume_Windows_Media_Playback_IMediaBreakManager<D>::BreaksSeekedOver(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakSeekedOverEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakManager<D>::BreaksSeekedOver(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakSeekedOverEventArgs> const& handler) const
{
return impl::make_event_revoker<D, BreaksSeekedOver_revoker>(this, BreaksSeekedOver(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakManager<D>::BreaksSeekedOver(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakManager<D>::BreaksSeekedOver(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->remove_BreaksSeekedOver(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakStartedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakStarted_revoker consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakStartedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, BreakStarted_revoker>(this, BreakStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakStarted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakStarted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->remove_BreakStarted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakEndedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakEndedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakEnded_revoker consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakEndedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakEndedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, BreakEnded_revoker>(this, BreakEnded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakEnded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakEnded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->remove_BreakEnded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakSkipped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakSkippedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakSkipped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakSkippedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakSkipped_revoker consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakSkipped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakSkippedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakSkipped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakSkippedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, BreakSkipped_revoker>(this, BreakSkipped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakSkipped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakManager<D>::BreakSkipped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->remove_BreakSkipped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) consume_Windows_Media_Playback_IMediaBreakManager<D>::CurrentBreak() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackSession) consume_Windows_Media_Playback_IMediaBreakManager<D>::PlaybackSession() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakManager<D>::PlayBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakManager<D>::PlayBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->PlayBreak(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakManager<D>::SkipCurrentBreak() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakManager<D>::SkipCurrentBreak() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakManager)->SkipCurrentBreak());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaBreakSchedule<D>::ScheduleChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakSchedule, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakSchedule<D>::ScheduleChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakSchedule, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaBreakSchedule<D>::ScheduleChanged_revoker consume_Windows_Media_Playback_IMediaBreakSchedule<D>::ScheduleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakSchedule, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakSchedule<D>::ScheduleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakSchedule, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ScheduleChanged_revoker>(this, ScheduleChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakSchedule<D>::ScheduleChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakSchedule<D>::ScheduleChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSchedule)->remove_ScheduleChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakSchedule<D>::InsertMidrollBreak(winrt::Windows::Media::Playback::MediaBreak const& mediaBreak) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakSchedule<D>::InsertMidrollBreak(winrt::Windows::Media::Playback::MediaBreak const& mediaBreak) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSchedule)->InsertMidrollBreak(*(void**)(&mediaBreak)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakSchedule<D>::RemoveMidrollBreak(winrt::Windows::Media::Playback::MediaBreak const& mediaBreak) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakSchedule<D>::RemoveMidrollBreak(winrt::Windows::Media::Playback::MediaBreak const& mediaBreak) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSchedule)->RemoveMidrollBreak(*(void**)(&mediaBreak)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Playback::MediaBreak>) consume_Windows_Media_Playback_IMediaBreakSchedule<D>::MidrollBreaks() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakSchedule<D>::MidrollBreaks() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSchedule)->get_MidrollBreaks(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Playback::MediaBreak>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakSchedule<D>::PrerollBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakSchedule<D>::PrerollBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSchedule)->put_PrerollBreak(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) consume_Windows_Media_Playback_IMediaBreakSchedule<D>::PrerollBreak() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakSchedule<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaBreakSchedule<D>::PostrollBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakSchedule<D>::PostrollBreak(winrt::Windows::Media::Playback::MediaBreak const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSchedule)->put_PostrollBreak(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) consume_Windows_Media_Playback_IMediaBreakSchedule<D>::PostrollBreak() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakSchedule<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaBreakSchedule<D>::PlaybackItem() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakSchedule<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Playback::MediaBreak>) consume_Windows_Media_Playback_IMediaBreakSeekedOverEventArgs<D>::SeekedOverBreaks() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakSeekedOverEventArgs<D>::SeekedOverBreaks() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaBreakSeekedOverEventArgs)->get_SeekedOverBreaks(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Playback::MediaBreak>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaBreakSeekedOverEventArgs<D>::OldPosition() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakSeekedOverEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaBreakSeekedOverEventArgs<D>::NewPosition() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakSeekedOverEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) consume_Windows_Media_Playback_IMediaBreakSkippedEventArgs<D>::MediaBreak() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakSkippedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) consume_Windows_Media_Playback_IMediaBreakStartedEventArgs<D>::MediaBreak() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaBreakStartedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaEnginePlaybackSource<D>::CurrentItem() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaEnginePlaybackSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaEnginePlaybackSource<D>::SetPlaybackSource(winrt::Windows::Media::Playback::IMediaPlaybackSource const& source) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaEnginePlaybackSource<D>::SetPlaybackSource(winrt::Windows::Media::Playback::IMediaPlaybackSource const& source) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaEnginePlaybackSource)->SetPlaybackSource(*(void**)(&source)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackType) consume_Windows_Media_Playback_IMediaItemDisplayProperties<D>::Type() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaItemDisplayProperties<D>::Type() const
{
winrt::Windows::Media::MediaPlaybackType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaItemDisplayProperties)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaItemDisplayProperties<D>::Type(winrt::Windows::Media::MediaPlaybackType const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaItemDisplayProperties<D>::Type(winrt::Windows::Media::MediaPlaybackType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaItemDisplayProperties)->put_Type(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MusicDisplayProperties) consume_Windows_Media_Playback_IMediaItemDisplayProperties<D>::MusicProperties() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaItemDisplayProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoDisplayProperties) consume_Windows_Media_Playback_IMediaItemDisplayProperties<D>::VideoProperties() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaItemDisplayProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_Media_Playback_IMediaItemDisplayProperties<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaItemDisplayProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaItemDisplayProperties<D>::Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaItemDisplayProperties<D>::Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaItemDisplayProperties)->put_Thumbnail(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaItemDisplayProperties<D>::ClearAll() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaItemDisplayProperties<D>::ClearAll() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaItemDisplayProperties)->ClearAll());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::MediaPlayer() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PlayBehavior() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PauseBehavior() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::NextBehavior() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PreviousBehavior() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::FastForwardBehavior() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::RewindBehavior() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::ShuffleBehavior() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::AutoRepeatModeBehavior() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PositionBehavior() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::RateBehavior() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PlayReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPlayReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PlayReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPlayReceivedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PlayReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PlayReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPlayReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PlayReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPlayReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PlayReceived_revoker>(this, PlayReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PlayReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PlayReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_PlayReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PauseReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPauseReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PauseReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPauseReceivedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PauseReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PauseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPauseReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PauseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPauseReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PauseReceived_revoker>(this, PauseReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PauseReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PauseReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_PauseReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::NextReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerNextReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::NextReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerNextReceivedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::NextReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::NextReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerNextReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::NextReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerNextReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, NextReceived_revoker>(this, NextReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::NextReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::NextReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_NextReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PreviousReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPreviousReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PreviousReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPreviousReceivedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PreviousReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PreviousReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPreviousReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PreviousReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPreviousReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PreviousReceived_revoker>(this, PreviousReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PreviousReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PreviousReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_PreviousReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::FastForwardReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerFastForwardReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::FastForwardReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerFastForwardReceivedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::FastForwardReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::FastForwardReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerFastForwardReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::FastForwardReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerFastForwardReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FastForwardReceived_revoker>(this, FastForwardReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::FastForwardReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::FastForwardReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_FastForwardReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::RewindReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerRewindReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::RewindReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerRewindReceivedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::RewindReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::RewindReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerRewindReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::RewindReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerRewindReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RewindReceived_revoker>(this, RewindReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::RewindReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::RewindReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_RewindReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::ShuffleReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerShuffleReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::ShuffleReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerShuffleReceivedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::ShuffleReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::ShuffleReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerShuffleReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::ShuffleReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerShuffleReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ShuffleReceived_revoker>(this, ShuffleReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::ShuffleReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::ShuffleReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_ShuffleReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::AutoRepeatModeReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::AutoRepeatModeReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::AutoRepeatModeReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::AutoRepeatModeReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::AutoRepeatModeReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AutoRepeatModeReceived_revoker>(this, AutoRepeatModeReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::AutoRepeatModeReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::AutoRepeatModeReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_AutoRepeatModeReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PositionReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPositionReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PositionReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPositionReceivedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PositionReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PositionReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPositionReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PositionReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPositionReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PositionReceived_revoker>(this, PositionReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PositionReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::PositionReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_PositionReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::RateReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerRateReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::RateReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerRateReceivedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::RateReceived_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::RateReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerRateReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::RateReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerRateReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RateReceived_revoker>(this, RateReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::RateReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManager<D>::RateReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManager)->remove_RateReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackAutoRepeatMode) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs<D>::AutoRepeatMode() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs<D>::AutoRepeatMode() const
{
winrt::Windows::Media::MediaPlaybackAutoRepeatMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs)->get_AutoRepeatMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManager) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior<D>::CommandManager() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerCommandBehavior)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaCommandEnablingRule) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior<D>::EnablingRule() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior<D>::EnablingRule() const
{
winrt::Windows::Media::Playback::MediaCommandEnablingRule value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerCommandBehavior)->get_EnablingRule(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior<D>::EnablingRule(winrt::Windows::Media::Playback::MediaCommandEnablingRule const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior<D>::EnablingRule(winrt::Windows::Media::Playback::MediaCommandEnablingRule const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerCommandBehavior)->put_EnablingRule(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior<D>::IsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior<D>::IsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior<D>::IsEnabledChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior<D>::IsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior<D>::IsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, IsEnabledChanged_revoker>(this, IsEnabledChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior<D>::IsEnabledChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerCommandBehavior<D>::IsEnabledChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerCommandBehavior)->remove_IsEnabledChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerFastForwardReceivedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerFastForwardReceivedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerFastForwardReceivedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerFastForwardReceivedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerFastForwardReceivedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerFastForwardReceivedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerFastForwardReceivedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerFastForwardReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerNextReceivedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerNextReceivedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerNextReceivedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerNextReceivedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerNextReceivedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerNextReceivedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerNextReceivedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerNextReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPauseReceivedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPauseReceivedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPauseReceivedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPauseReceivedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPauseReceivedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPauseReceivedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPauseReceivedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPauseReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPlayReceivedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPlayReceivedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPlayReceivedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPlayReceivedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPlayReceivedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPlayReceivedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPlayReceivedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPlayReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPositionReceivedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPositionReceivedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPositionReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPreviousReceivedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPreviousReceivedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPreviousReceivedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPreviousReceivedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPreviousReceivedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPreviousReceivedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPreviousReceivedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerPreviousReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRateReceivedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRateReceivedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs<D>::PlaybackRate() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs<D>::PlaybackRate() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRateReceivedEventArgs)->get_PlaybackRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRateReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRewindReceivedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRewindReceivedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRewindReceivedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRewindReceivedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRewindReceivedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRewindReceivedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRewindReceivedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerRewindReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerShuffleReceivedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerShuffleReceivedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs<D>::IsShuffleRequested() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs<D>::IsShuffleRequested() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerShuffleReceivedEventArgs)->get_IsShuffleRequested(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackCommandManagerShuffleReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackItem<D>::AudioTracksChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem<D>::AudioTracksChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackItem<D>::AudioTracksChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackItem<D>::AudioTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem<D>::AudioTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AudioTracksChanged_revoker>(this, AudioTracksChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackItem<D>::AudioTracksChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem<D>::AudioTracksChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem)->remove_AudioTracksChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackItem<D>::VideoTracksChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem<D>::VideoTracksChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackItem<D>::VideoTracksChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackItem<D>::VideoTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem<D>::VideoTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, VideoTracksChanged_revoker>(this, VideoTracksChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackItem<D>::VideoTracksChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem<D>::VideoTracksChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem)->remove_VideoTracksChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackItem<D>::TimedMetadataTracksChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem<D>::TimedMetadataTracksChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackItem<D>::TimedMetadataTracksChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackItem<D>::TimedMetadataTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem<D>::TimedMetadataTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TimedMetadataTracksChanged_revoker>(this, TimedMetadataTracksChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackItem<D>::TimedMetadataTracksChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem<D>::TimedMetadataTracksChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem)->remove_TimedMetadataTracksChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSource) consume_Windows_Media_Playback_IMediaPlaybackItem<D>::Source() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackAudioTrackList) consume_Windows_Media_Playback_IMediaPlaybackItem<D>::AudioTracks() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackVideoTrackList) consume_Windows_Media_Playback_IMediaPlaybackItem<D>::VideoTracks() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackTimedMetadataTrackList) consume_Windows_Media_Playback_IMediaPlaybackItem<D>::TimedMetadataTracks() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreakSchedule) consume_Windows_Media_Playback_IMediaPlaybackItem2<D>::BreakSchedule() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaPlaybackItem2<D>::StartTime() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Playback_IMediaPlaybackItem2<D>::DurationLimit() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem2<D>::DurationLimit() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem2)->get_DurationLimit(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackItem2<D>::CanSkip() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem2<D>::CanSkip() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem2)->get_CanSkip(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackItem2<D>::CanSkip(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem2<D>::CanSkip(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem2)->put_CanSkip(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaItemDisplayProperties) consume_Windows_Media_Playback_IMediaPlaybackItem2<D>::GetDisplayProperties() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackItem2<D>::ApplyDisplayProperties(winrt::Windows::Media::Playback::MediaItemDisplayProperties const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem2<D>::ApplyDisplayProperties(winrt::Windows::Media::Playback::MediaItemDisplayProperties const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem2)->ApplyDisplayProperties(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackItem3<D>::IsDisabledInPlaybackList() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem3<D>::IsDisabledInPlaybackList() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem3)->get_IsDisabledInPlaybackList(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackItem3<D>::IsDisabledInPlaybackList(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem3<D>::IsDisabledInPlaybackList(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem3)->put_IsDisabledInPlaybackList(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlaybackItem3<D>::TotalDownloadProgress() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem3<D>::TotalDownloadProgress() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem3)->get_TotalDownloadProgress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::AutoLoadedDisplayPropertyKind) consume_Windows_Media_Playback_IMediaPlaybackItem3<D>::AutoLoadedDisplayProperties() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem3<D>::AutoLoadedDisplayProperties() const
{
winrt::Windows::Media::Playback::AutoLoadedDisplayPropertyKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem3)->get_AutoLoadedDisplayProperties(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackItem3<D>::AutoLoadedDisplayProperties(winrt::Windows::Media::Playback::AutoLoadedDisplayPropertyKind const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItem3<D>::AutoLoadedDisplayProperties(winrt::Windows::Media::Playback::AutoLoadedDisplayPropertyKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItem3)->put_AutoLoadedDisplayProperties(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItemErrorCode) consume_Windows_Media_Playback_IMediaPlaybackItemError<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItemError<D>::ErrorCode() const
{
winrt::Windows::Media::Playback::MediaPlaybackItemErrorCode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItemError)->get_ErrorCode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Playback_IMediaPlaybackItemError<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItemError<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackItemError)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackItemFactory<D>::Create(winrt::Windows::Media::Core::MediaSource const& source) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackItemFactory2<D>::CreateWithStartTime(winrt::Windows::Media::Core::MediaSource const& source, winrt::Windows::Foundation::TimeSpan const& startTime) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItemFactory2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackItemFactory2<D>::CreateWithStartTimeAndDurationLimit(winrt::Windows::Media::Core::MediaSource const& source, winrt::Windows::Foundation::TimeSpan const& startTime, winrt::Windows::Foundation::TimeSpan const& durationLimit) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItemFactory2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackItemFailedEventArgs<D>::Item() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItemFailedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItemError) consume_Windows_Media_Playback_IMediaPlaybackItemFailedEventArgs<D>::Error() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItemFailedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackItemOpenedEventArgs<D>::Item() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItemOpenedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackItemStatics<D>::FindFromMediaSource(winrt::Windows::Media::Core::MediaSource const& source) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackList<D>::ItemFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::MediaPlaybackItemFailedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::ItemFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::MediaPlaybackItemFailedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackList<D>::ItemFailed_revoker consume_Windows_Media_Playback_IMediaPlaybackList<D>::ItemFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::MediaPlaybackItemFailedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::ItemFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::MediaPlaybackItemFailedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ItemFailed_revoker>(this, ItemFailed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList<D>::ItemFailed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::ItemFailed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->remove_ItemFailed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackList<D>::CurrentItemChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::CurrentMediaPlaybackItemChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::CurrentItemChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::CurrentMediaPlaybackItemChangedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackList<D>::CurrentItemChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackList<D>::CurrentItemChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::CurrentMediaPlaybackItemChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::CurrentItemChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::CurrentMediaPlaybackItemChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CurrentItemChanged_revoker>(this, CurrentItemChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList<D>::CurrentItemChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::CurrentItemChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->remove_CurrentItemChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackList<D>::ItemOpened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::MediaPlaybackItemOpenedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::ItemOpened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::MediaPlaybackItemOpenedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackList<D>::ItemOpened_revoker consume_Windows_Media_Playback_IMediaPlaybackList<D>::ItemOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::MediaPlaybackItemOpenedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::ItemOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::MediaPlaybackItemOpenedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ItemOpened_revoker>(this, ItemOpened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList<D>::ItemOpened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::ItemOpened(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->remove_ItemOpened(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Media::Playback::MediaPlaybackItem>) consume_Windows_Media_Playback_IMediaPlaybackList<D>::Items() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::Items() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->get_Items(&value));
return winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Media::Playback::MediaPlaybackItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackList<D>::AutoRepeatEnabled() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::AutoRepeatEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->get_AutoRepeatEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList<D>::AutoRepeatEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::AutoRepeatEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->put_AutoRepeatEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackList<D>::ShuffleEnabled() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::ShuffleEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->get_ShuffleEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList<D>::ShuffleEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::ShuffleEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->put_ShuffleEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackList<D>::CurrentItem() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Playback_IMediaPlaybackList<D>::CurrentItemIndex() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::CurrentItemIndex() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList)->get_CurrentItemIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackList<D>::MoveNext() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackList<D>::MovePrevious() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackList<D>::MoveTo(uint32_t itemIndex) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Playback_IMediaPlaybackList2<D>::MaxPrefetchTime() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList2<D>::MaxPrefetchTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList2)->get_MaxPrefetchTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList2<D>::MaxPrefetchTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList2<D>::MaxPrefetchTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList2)->put_MaxPrefetchTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Playback_IMediaPlaybackList2<D>::StartingItem() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList2<D>::StartingItem(winrt::Windows::Media::Playback::MediaPlaybackItem const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList2<D>::StartingItem(winrt::Windows::Media::Playback::MediaPlaybackItem const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList2)->put_StartingItem(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Playback::MediaPlaybackItem>) consume_Windows_Media_Playback_IMediaPlaybackList2<D>::ShuffledItems() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList2<D>::ShuffledItems() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList2)->get_ShuffledItems(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Playback::MediaPlaybackItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList2<D>::SetShuffledItems(param::iterable<winrt::Windows::Media::Playback::MediaPlaybackItem> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList2<D>::SetShuffledItems(param::iterable<winrt::Windows::Media::Playback::MediaPlaybackItem> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList2)->SetShuffledItems(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Playback_IMediaPlaybackList3<D>::MaxPlayedItemsToKeepOpen() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList3<D>::MaxPlayedItemsToKeepOpen() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList3)->get_MaxPlayedItemsToKeepOpen(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackList3<D>::MaxPlayedItemsToKeepOpen(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackList3<D>::MaxPlayedItemsToKeepOpen(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackList3)->put_MaxPlayedItemsToKeepOpen(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackStateChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, PlaybackStateChanged_revoker>(this, PlaybackStateChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_PlaybackStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackRateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackRateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackRateChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, PlaybackRateChanged_revoker>(this, PlaybackRateChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackRateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackRateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_PlaybackRateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::SeekCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::SeekCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackSession<D>::SeekCompleted_revoker consume_Windows_Media_Playback_IMediaPlaybackSession<D>::SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, SeekCompleted_revoker>(this, SeekCompleted(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::SeekCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::SeekCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_SeekCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingStarted_revoker consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, BufferingStarted_revoker>(this, BufferingStarted(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingStarted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingStarted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_BufferingStarted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingEnded_revoker consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, BufferingEnded_revoker>(this, BufferingEnded(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingEnded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingEnded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_BufferingEnded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingProgressChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingProgressChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingProgressChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, BufferingProgressChanged_revoker>(this, BufferingProgressChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingProgressChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingProgressChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_BufferingProgressChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::DownloadProgressChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::DownloadProgressChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackSession<D>::DownloadProgressChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession<D>::DownloadProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::DownloadProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, DownloadProgressChanged_revoker>(this, DownloadProgressChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::DownloadProgressChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::DownloadProgressChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_DownloadProgressChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalDurationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalDurationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalDurationChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalDurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalDurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, NaturalDurationChanged_revoker>(this, NaturalDurationChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalDurationChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalDurationChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_NaturalDurationChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PositionChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, PositionChanged_revoker>(this, PositionChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PositionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PositionChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_PositionChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalVideoSizeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalVideoSizeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalVideoSizeChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalVideoSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalVideoSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, NaturalVideoSizeChanged_revoker>(this, NaturalVideoSizeChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalVideoSizeChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalVideoSizeChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->remove_NaturalVideoSizeChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::MediaPlayer() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalDuration() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::Position(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackState) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackState() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackState() const
{
winrt::Windows::Media::Playback::MediaPlaybackState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_PlaybackState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::CanSeek() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::CanSeek() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_CanSeek(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::CanPause() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::CanPause() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_CanPause(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::IsProtected() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::IsProtected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_IsProtected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackRate() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackRate() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_PlaybackRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackRate(double value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::PlaybackRate(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->put_PlaybackRate(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingProgress() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::BufferingProgress() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_BufferingProgress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::DownloadProgress() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::DownloadProgress() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_DownloadProgress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalVideoHeight() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalVideoHeight() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_NaturalVideoHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalVideoWidth() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NaturalVideoWidth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_NaturalVideoWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NormalizedSourceRect() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::NormalizedSourceRect(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::StereoscopicVideoPackingMode() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::StereoscopicVideoPackingMode() const
{
winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->get_StereoscopicVideoPackingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession<D>::StereoscopicVideoPackingMode(winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession<D>::StereoscopicVideoPackingMode(winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession)->put_StereoscopicVideoPackingMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::BufferedRangesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::BufferedRangesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::BufferedRangesChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::BufferedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::BufferedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, BufferedRangesChanged_revoker>(this, BufferedRangesChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::BufferedRangesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::BufferedRangesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->remove_BufferedRangesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::PlayedRangesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::PlayedRangesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::PlayedRangesChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::PlayedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::PlayedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, PlayedRangesChanged_revoker>(this, PlayedRangesChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::PlayedRangesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::PlayedRangesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->remove_PlayedRangesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::SeekableRangesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::SeekableRangesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::SeekableRangesChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::SeekableRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::SeekableRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, SeekableRangesChanged_revoker>(this, SeekableRangesChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::SeekableRangesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::SeekableRangesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->remove_SeekableRangesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::SupportedPlaybackRatesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::SupportedPlaybackRatesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::SupportedPlaybackRatesChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::SupportedPlaybackRatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::SupportedPlaybackRatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, SupportedPlaybackRatesChanged_revoker>(this, SupportedPlaybackRatesChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::SupportedPlaybackRatesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::SupportedPlaybackRatesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->remove_SupportedPlaybackRatesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackSphericalVideoProjection) consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::SphericalVideoProjection() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::IsMirroring() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::IsMirroring() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->get_IsMirroring(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::IsMirroring(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::IsMirroring(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->put_IsMirroring(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::MediaTimeRange>) consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::GetBufferedRanges() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::GetBufferedRanges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->GetBufferedRanges(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::MediaTimeRange>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::MediaTimeRange>) consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::GetPlayedRanges() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::GetPlayedRanges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->GetPlayedRanges(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::MediaTimeRange>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::MediaTimeRange>) consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::GetSeekableRanges() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::GetSeekableRanges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession2)->GetSeekableRanges(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::MediaTimeRange>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::IsSupportedPlaybackRateRange(double rate1, double rate2) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRotation) consume_Windows_Media_Playback_IMediaPlaybackSession3<D>::PlaybackRotation() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession3<D>::PlaybackRotation() const
{
winrt::Windows::Media::MediaProperties::MediaRotation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession3)->get_PlaybackRotation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSession3<D>::PlaybackRotation(winrt::Windows::Media::MediaProperties::MediaRotation const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession3<D>::PlaybackRotation(winrt::Windows::Media::MediaProperties::MediaRotation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSession3)->put_PlaybackRotation(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackSessionOutputDegradationPolicyState) consume_Windows_Media_Playback_IMediaPlaybackSession3<D>::GetOutputDegradationPolicyState() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSession3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackSessionBufferingStartedEventArgs<D>::IsPlaybackInterruption() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSessionBufferingStartedEventArgs<D>::IsPlaybackInterruption() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSessionBufferingStartedEventArgs)->get_IsPlaybackInterruption(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackSessionVideoConstrictionReason) consume_Windows_Media_Playback_IMediaPlaybackSessionOutputDegradationPolicyState<D>::VideoConstrictionReason() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSessionOutputDegradationPolicyState<D>::VideoConstrictionReason() const
{
winrt::Windows::Media::Playback::MediaPlaybackSessionVideoConstrictionReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSessionOutputDegradationPolicyState)->get_VideoConstrictionReason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::FrameFormat() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::FrameFormat() const
{
winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->get_FrameFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::FrameFormat(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::FrameFormat(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->put_FrameFormat(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::HorizontalFieldOfViewInDegrees() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::HorizontalFieldOfViewInDegrees() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->get_HorizontalFieldOfViewInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::HorizontalFieldOfViewInDegrees(double value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::HorizontalFieldOfViewInDegrees(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->put_HorizontalFieldOfViewInDegrees(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::ViewOrientation() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::ViewOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::SphericalVideoProjectionMode) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::ProjectionMode() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::ProjectionMode() const
{
winrt::Windows::Media::Playback::SphericalVideoProjectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->get_ProjectionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::ProjectionMode(winrt::Windows::Media::Playback::SphericalVideoProjectionMode const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackSphericalVideoProjection<D>::ProjectionMode(winrt::Windows::Media::Playback::SphericalVideoProjectionMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection)->put_ProjectionMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList<D>::PresentationModeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackTimedMetadataTrackList, winrt::Windows::Media::Playback::TimedMetadataPresentationModeChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList<D>::PresentationModeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackTimedMetadataTrackList, winrt::Windows::Media::Playback::TimedMetadataPresentationModeChangedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList<D>::PresentationModeChanged_revoker consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList<D>::PresentationModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackTimedMetadataTrackList, winrt::Windows::Media::Playback::TimedMetadataPresentationModeChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList<D>::PresentationModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackTimedMetadataTrackList, winrt::Windows::Media::Playback::TimedMetadataPresentationModeChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PresentationModeChanged_revoker>(this, PresentationModeChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList<D>::PresentationModeChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList<D>::PresentationModeChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlaybackTimedMetadataTrackList)->remove_PresentationModeChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode) consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList<D>::GetPresentationMode(uint32_t index) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList<D>::SetPresentationMode(uint32_t index, winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer<D>::AutoPlay() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::AutoPlay() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_AutoPlay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::AutoPlay(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::AutoPlay(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->put_AutoPlay(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaPlayer<D>::NaturalDuration() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaPlayer<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::Position(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlayer<D>::BufferingProgress() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::BufferingProgress() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_BufferingProgress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayerState) consume_Windows_Media_Playback_IMediaPlayer<D>::CurrentState() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::CurrentState() const
{
winrt::Windows::Media::Playback::MediaPlayerState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_CurrentState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer<D>::CanSeek() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::CanSeek() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_CanSeek(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer<D>::CanPause() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::CanPause() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_CanPause(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer<D>::IsLoopingEnabled() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::IsLoopingEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_IsLoopingEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::IsLoopingEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::IsLoopingEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->put_IsLoopingEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer<D>::IsProtected() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::IsProtected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_IsProtected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer<D>::IsMuted() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::IsMuted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_IsMuted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::IsMuted(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::IsMuted(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->put_IsMuted(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlayer<D>::PlaybackRate() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::PlaybackRate() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_PlaybackRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::PlaybackRate(double value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::PlaybackRate(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->put_PlaybackRate(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlayer<D>::Volume() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::Volume() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->get_Volume(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::Volume(double value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::Volume(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->put_Volume(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::PlaybackMediaMarkerSequence) consume_Windows_Media_Playback_IMediaPlayer<D>::PlaybackMediaMarkers() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer<D>::MediaOpened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::MediaOpened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlayer<D>::MediaOpened_revoker consume_Windows_Media_Playback_IMediaPlayer<D>::MediaOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::MediaOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, MediaOpened_revoker>(this, MediaOpened(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::MediaOpened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::MediaOpened(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_MediaOpened(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer<D>::MediaEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::MediaEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlayer<D>::MediaEnded_revoker consume_Windows_Media_Playback_IMediaPlayer<D>::MediaEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::MediaEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, MediaEnded_revoker>(this, MediaEnded(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::MediaEnded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::MediaEnded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_MediaEnded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer<D>::MediaFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::MediaPlayerFailedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::MediaFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::MediaPlayerFailedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlayer<D>::MediaFailed_revoker consume_Windows_Media_Playback_IMediaPlayer<D>::MediaFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::MediaPlayerFailedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::MediaFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::MediaPlayerFailedEventArgs> const& value) const
{
return impl::make_event_revoker<D, MediaFailed_revoker>(this, MediaFailed(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::MediaFailed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::MediaFailed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_MediaFailed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer<D>::CurrentStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::CurrentStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlayer<D>::CurrentStateChanged_revoker consume_Windows_Media_Playback_IMediaPlayer<D>::CurrentStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::CurrentStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, CurrentStateChanged_revoker>(this, CurrentStateChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::CurrentStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::CurrentStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_CurrentStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer<D>::PlaybackMediaMarkerReached(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::PlaybackMediaMarkerReachedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::PlaybackMediaMarkerReached(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::PlaybackMediaMarkerReachedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlayer<D>::PlaybackMediaMarkerReached_revoker consume_Windows_Media_Playback_IMediaPlayer<D>::PlaybackMediaMarkerReached(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::PlaybackMediaMarkerReachedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::PlaybackMediaMarkerReached(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::PlaybackMediaMarkerReachedEventArgs> const& value) const
{
return impl::make_event_revoker<D, PlaybackMediaMarkerReached_revoker>(this, PlaybackMediaMarkerReached(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::PlaybackMediaMarkerReached(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::PlaybackMediaMarkerReached(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_PlaybackMediaMarkerReached(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer<D>::MediaPlayerRateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::MediaPlayerRateChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::MediaPlayerRateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::MediaPlayerRateChangedEventArgs> 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 D> typename consume_Windows_Media_Playback_IMediaPlayer<D>::MediaPlayerRateChanged_revoker consume_Windows_Media_Playback_IMediaPlayer<D>::MediaPlayerRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::MediaPlayerRateChangedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::MediaPlayerRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::MediaPlayerRateChangedEventArgs> const& value) const
{
return impl::make_event_revoker<D, MediaPlayerRateChanged_revoker>(this, MediaPlayerRateChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::MediaPlayerRateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::MediaPlayerRateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_MediaPlayerRateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer<D>::VolumeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::VolumeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlayer<D>::VolumeChanged_revoker consume_Windows_Media_Playback_IMediaPlayer<D>::VolumeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::VolumeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, VolumeChanged_revoker>(this, VolumeChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::VolumeChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::VolumeChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_VolumeChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer<D>::SeekCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::SeekCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlayer<D>::SeekCompleted_revoker consume_Windows_Media_Playback_IMediaPlayer<D>::SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, SeekCompleted_revoker>(this, SeekCompleted(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::SeekCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::SeekCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_SeekCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer<D>::BufferingStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::BufferingStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlayer<D>::BufferingStarted_revoker consume_Windows_Media_Playback_IMediaPlayer<D>::BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, BufferingStarted_revoker>(this, BufferingStarted(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::BufferingStarted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::BufferingStarted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_BufferingStarted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer<D>::BufferingEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::BufferingEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlayer<D>::BufferingEnded_revoker consume_Windows_Media_Playback_IMediaPlayer<D>::BufferingEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::BufferingEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, BufferingEnded_revoker>(this, BufferingEnded(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::BufferingEnded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::BufferingEnded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->remove_BufferingEnded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::Play() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::Play() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->Play());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::Pause() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::Pause() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->Pause());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer<D>::SetUriSource(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer<D>::SetUriSource(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer)->SetUriSource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControls) consume_Windows_Media_Playback_IMediaPlayer2<D>::SystemMediaTransportControls() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayerAudioCategory) consume_Windows_Media_Playback_IMediaPlayer2<D>::AudioCategory() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer2<D>::AudioCategory() const
{
winrt::Windows::Media::Playback::MediaPlayerAudioCategory value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer2)->get_AudioCategory(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer2<D>::AudioCategory(winrt::Windows::Media::Playback::MediaPlayerAudioCategory const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer2<D>::AudioCategory(winrt::Windows::Media::Playback::MediaPlayerAudioCategory const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer2)->put_AudioCategory(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayerAudioDeviceType) consume_Windows_Media_Playback_IMediaPlayer2<D>::AudioDeviceType() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer2<D>::AudioDeviceType() const
{
winrt::Windows::Media::Playback::MediaPlayerAudioDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer2)->get_AudioDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer2<D>::AudioDeviceType(winrt::Windows::Media::Playback::MediaPlayerAudioDeviceType const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer2<D>::AudioDeviceType(winrt::Windows::Media::Playback::MediaPlayerAudioDeviceType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer2)->put_AudioDeviceType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer3<D>::IsMutedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::IsMutedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlayer3<D>::IsMutedChanged_revoker consume_Windows_Media_Playback_IMediaPlayer3<D>::IsMutedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::IsMutedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, IsMutedChanged_revoker>(this, IsMutedChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3<D>::IsMutedChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::IsMutedChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->remove_IsMutedChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer3<D>::SourceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::SourceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlayer3<D>::SourceChanged_revoker consume_Windows_Media_Playback_IMediaPlayer3<D>::SourceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::SourceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, SourceChanged_revoker>(this, SourceChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3<D>::SourceChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::SourceChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->remove_SourceChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlayer3<D>::AudioBalance() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::AudioBalance() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->get_AudioBalance(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3<D>::AudioBalance(double value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::AudioBalance(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->put_AudioBalance(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer3<D>::RealTimePlayback() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::RealTimePlayback() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->get_RealTimePlayback(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3<D>::RealTimePlayback(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::RealTimePlayback(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->put_RealTimePlayback(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::StereoscopicVideoRenderMode) consume_Windows_Media_Playback_IMediaPlayer3<D>::StereoscopicVideoRenderMode() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::StereoscopicVideoRenderMode() const
{
winrt::Windows::Media::Playback::StereoscopicVideoRenderMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->get_StereoscopicVideoRenderMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3<D>::StereoscopicVideoRenderMode(winrt::Windows::Media::Playback::StereoscopicVideoRenderMode const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::StereoscopicVideoRenderMode(winrt::Windows::Media::Playback::StereoscopicVideoRenderMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->put_StereoscopicVideoRenderMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreakManager) consume_Windows_Media_Playback_IMediaPlayer3<D>::BreakManager() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackCommandManager) consume_Windows_Media_Playback_IMediaPlayer3<D>::CommandManager() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) consume_Windows_Media_Playback_IMediaPlayer3<D>::AudioDevice() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3<D>::AudioDevice(winrt::Windows::Devices::Enumeration::DeviceInformation const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::AudioDevice(winrt::Windows::Devices::Enumeration::DeviceInformation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->put_AudioDevice(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaTimelineController) consume_Windows_Media_Playback_IMediaPlayer3<D>::TimelineController() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3<D>::TimelineController(winrt::Windows::Media::MediaTimelineController const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::TimelineController(winrt::Windows::Media::MediaTimelineController const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->put_TimelineController(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IMediaPlayer3<D>::TimelineControllerPositionOffset() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3<D>::TimelineControllerPositionOffset(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackSession) consume_Windows_Media_Playback_IMediaPlayer3<D>::PlaybackSession() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3<D>::StepForwardOneFrame() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::StepForwardOneFrame() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->StepForwardOneFrame());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer3<D>::StepBackwardOneFrame() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::StepBackwardOneFrame() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer3)->StepBackwardOneFrame());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingSource) consume_Windows_Media_Playback_IMediaPlayer3<D>::GetAsCastingSource() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer4<D>::SetSurfaceSize(winrt::Windows::Foundation::Size const& size) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer4<D>::SetSurfaceSize(winrt::Windows::Foundation::Size const& size) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer4)->SetSurfaceSize(impl::bind_in(size)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayerSurface) consume_Windows_Media_Playback_IMediaPlayer4<D>::GetSurface(winrt::Windows::UI::Composition::Compositor const& compositor) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer5<D>::VideoFrameAvailable(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer5<D>::VideoFrameAvailable(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlayer5<D>::VideoFrameAvailable_revoker consume_Windows_Media_Playback_IMediaPlayer5<D>::VideoFrameAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer5<D>::VideoFrameAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, VideoFrameAvailable_revoker>(this, VideoFrameAvailable(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer5<D>::VideoFrameAvailable(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer5<D>::VideoFrameAvailable(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer5)->remove_VideoFrameAvailable(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer5<D>::IsVideoFrameServerEnabled() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer5<D>::IsVideoFrameServerEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer5)->get_IsVideoFrameServerEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer5<D>::IsVideoFrameServerEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer5<D>::IsVideoFrameServerEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer5)->put_IsVideoFrameServerEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer5<D>::CopyFrameToVideoSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer5<D>::CopyFrameToVideoSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer5)->CopyFrameToVideoSurface(*(void**)(&destination)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer5<D>::CopyFrameToVideoSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination, winrt::Windows::Foundation::Rect const& targetRectangle) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer5<D>::CopyFrameToStereoscopicVideoSurfaces(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destinationLeftEye, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destinationRightEye) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Playback_IMediaPlayer6<D>::SubtitleFrameChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer6<D>::SubtitleFrameChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Playback_IMediaPlayer6<D>::SubtitleFrameChanged_revoker consume_Windows_Media_Playback_IMediaPlayer6<D>::SubtitleFrameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer6<D>::SubtitleFrameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SubtitleFrameChanged_revoker>(this, SubtitleFrameChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayer6<D>::SubtitleFrameChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer6<D>::SubtitleFrameChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayer6)->remove_SubtitleFrameChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer6<D>::RenderSubtitlesToSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer6<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Playback_IMediaPlayer6<D>::RenderSubtitlesToSurface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& destination, winrt::Windows::Foundation::Rect const& targetRectangle) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) consume_Windows_Media_Playback_IMediaPlayer7<D>::AudioStateMonitor() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayer7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Media_Playback_IMediaPlayerDataReceivedEventArgs<D>::Data() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayerEffects<D>::AddAudioEffect(param::hstring const& activatableClassId, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerEffects<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayerEffects<D>::RemoveAllEffects() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerEffects<D>::RemoveAllEffects() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerEffects)->RemoveAllEffects());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayerEffects2<D>::AddVideoEffect(param::hstring const& activatableClassId, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& effectConfiguration) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerEffects2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayerError) consume_Windows_Media_Playback_IMediaPlayerFailedEventArgs<D>::Error() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerFailedEventArgs<D>::Error() const
{
winrt::Windows::Media::Playback::MediaPlayerError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerFailedEventArgs)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Playback_IMediaPlayerFailedEventArgs<D>::ExtendedErrorCode() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerFailedEventArgs<D>::ExtendedErrorCode() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerFailedEventArgs)->get_ExtendedErrorCode(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Playback_IMediaPlayerFailedEventArgs<D>::ErrorMessage() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerFailedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_Playback_IMediaPlayerRateChangedEventArgs<D>::NewRate() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerRateChangedEventArgs<D>::NewRate() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerRateChangedEventArgs)->get_NewRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionManager) consume_Windows_Media_Playback_IMediaPlayerSource<D>::ProtectionManager() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayerSource<D>::ProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerSource<D>::ProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerSource)->put_ProtectionManager(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayerSource<D>::SetFileSource(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerSource<D>::SetFileSource(winrt::Windows::Storage::IStorageFile const& file) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerSource)->SetFileSource(*(void**)(&file)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayerSource<D>::SetStreamSource(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerSource<D>::SetStreamSource(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerSource)->SetStreamSource(*(void**)(&stream)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayerSource<D>::SetMediaSource(winrt::Windows::Media::Core::IMediaSource const& source) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerSource<D>::SetMediaSource(winrt::Windows::Media::Core::IMediaSource const& source) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerSource)->SetMediaSource(*(void**)(&source)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::IMediaPlaybackSource) consume_Windows_Media_Playback_IMediaPlayerSource2<D>::Source() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerSource2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IMediaPlayerSource2<D>::Source(winrt::Windows::Media::Playback::IMediaPlaybackSource const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerSource2<D>::Source(winrt::Windows::Media::Playback::IMediaPlaybackSource const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IMediaPlayerSource2)->put_Source(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ICompositionSurface) consume_Windows_Media_Playback_IMediaPlayerSurface<D>::CompositionSurface() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerSurface<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Compositor) consume_Windows_Media_Playback_IMediaPlayerSurface<D>::Compositor() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerSurface<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) consume_Windows_Media_Playback_IMediaPlayerSurface<D>::MediaPlayer() const
+ template <typename D> auto consume_Windows_Media_Playback_IMediaPlayerSurface<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Playback_IPlaybackMediaMarker<D>::Time() const
+ template <typename D> auto consume_Windows_Media_Playback_IPlaybackMediaMarker<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Playback_IPlaybackMediaMarker<D>::MediaMarkerType() const
+ template <typename D> auto consume_Windows_Media_Playback_IPlaybackMediaMarker<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Playback_IPlaybackMediaMarker<D>::Text() const
+ template <typename D> auto consume_Windows_Media_Playback_IPlaybackMediaMarker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::PlaybackMediaMarker) consume_Windows_Media_Playback_IPlaybackMediaMarkerFactory<D>::CreateFromTime(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IPlaybackMediaMarkerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::PlaybackMediaMarker) consume_Windows_Media_Playback_IPlaybackMediaMarkerFactory<D>::Create(winrt::Windows::Foundation::TimeSpan const& value, param::hstring const& mediaMarketType, param::hstring const& text) const
+ template <typename D> auto consume_Windows_Media_Playback_IPlaybackMediaMarkerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::PlaybackMediaMarker) consume_Windows_Media_Playback_IPlaybackMediaMarkerReachedEventArgs<D>::PlaybackMediaMarker() const
+ template <typename D> auto consume_Windows_Media_Playback_IPlaybackMediaMarkerReachedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Playback_IPlaybackMediaMarkerSequence<D>::Size() const
+ template <typename D> auto consume_Windows_Media_Playback_IPlaybackMediaMarkerSequence<D>::Size() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IPlaybackMediaMarkerSequence)->get_Size(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IPlaybackMediaMarkerSequence<D>::Insert(winrt::Windows::Media::Playback::PlaybackMediaMarker const& value) const
+ template <typename D> auto consume_Windows_Media_Playback_IPlaybackMediaMarkerSequence<D>::Insert(winrt::Windows::Media::Playback::PlaybackMediaMarker const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IPlaybackMediaMarkerSequence)->Insert(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Playback_IPlaybackMediaMarkerSequence<D>::Clear() const
+ template <typename D> auto consume_Windows_Media_Playback_IPlaybackMediaMarkerSequence<D>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::IPlaybackMediaMarkerSequence)->Clear());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataTrack) consume_Windows_Media_Playback_ITimedMetadataPresentationModeChangedEventArgs<D>::Track() const
+ template <typename D> auto consume_Windows_Media_Playback_ITimedMetadataPresentationModeChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode) consume_Windows_Media_Playback_ITimedMetadataPresentationModeChangedEventArgs<D>::OldPresentationMode() const
+ template <typename D> auto consume_Windows_Media_Playback_ITimedMetadataPresentationModeChangedEventArgs<D>::OldPresentationMode() const
{
winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::ITimedMetadataPresentationModeChangedEventArgs)->get_OldPresentationMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode) consume_Windows_Media_Playback_ITimedMetadataPresentationModeChangedEventArgs<D>::NewPresentationMode() const
+ template <typename D> auto consume_Windows_Media_Playback_ITimedMetadataPresentationModeChangedEventArgs<D>::NewPresentationMode() const
{
winrt::Windows::Media::Playback::TimedMetadataTrackPresentationMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playback::ITimedMetadataPresentationModeChangedEventArgs)->get_NewPresentationMode(reinterpret_cast<int32_t*>(&value)));
@@ -5283,10 +5283,10 @@ WINRT_EXPORT namespace winrt::Windows::Media::Playback
{
return impl::call_factory<BackgroundMediaPlayer, IBackgroundMediaPlayerStatics>([&](IBackgroundMediaPlayerStatics const& f) { return f.MessageReceivedFromBackground(value); });
}
- inline BackgroundMediaPlayer::MessageReceivedFromBackground_revoker BackgroundMediaPlayer::MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value)
+ inline auto BackgroundMediaPlayer::MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value)
{
auto f = get_activation_factory<BackgroundMediaPlayer, winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics>();
- 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<BackgroundMediaPlayer, IBackgroundMediaPlayerStatics>([&](IBackgroundMediaPlayerStatics const& f) { return f.MessageReceivedFromForeground(value); });
}
- inline BackgroundMediaPlayer::MessageReceivedFromForeground_revoker BackgroundMediaPlayer::MessageReceivedFromForeground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value)
+ inline auto BackgroundMediaPlayer::MessageReceivedFromForeground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value)
{
auto f = get_activation_factory<BackgroundMediaPlayer, winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Playlists.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Playlists.h
index 29627537ac3..440016daa35 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Playlists.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Storage::StorageFile>) consume_Windows_Media_Playlists_IPlaylist<D>::Files() const
+ template <typename D> auto consume_Windows_Media_Playlists_IPlaylist<D>::Files() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Playlists::IPlaylist)->get_Files(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Storage::StorageFile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Playlists_IPlaylist<D>::SaveAsync() const
+ template <typename D> auto consume_Windows_Media_Playlists_IPlaylist<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Media_Playlists_IPlaylist<D>::SaveAsAsync(winrt::Windows::Storage::IStorageFolder const& saveLocation, param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option) const
+ template <typename D> auto consume_Windows_Media_Playlists_IPlaylist<D>::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<int32_t>(option), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Media_Playlists_IPlaylist<D>::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 <typename D> auto consume_Windows_Media_Playlists_IPlaylist<D>::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<int32_t>(option), static_cast<int32_t>(playlistFormat), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Playlists::Playlist>) consume_Windows_Media_Playlists_IPlaylistStatics<D>::LoadAsync(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_Playlists_IPlaylistStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Protection.PlayReady.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Protection.PlayReady.h
index 95ad96094b4..16f20e59fe8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Protection.PlayReady.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_PlayReady_INDClient<D>::RegistrationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDRegistrationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::RegistrationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDRegistrationCompletedEventArgs> 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 D> typename consume_Windows_Media_Protection_PlayReady_INDClient<D>::RegistrationCompleted_revoker consume_Windows_Media_Protection_PlayReady_INDClient<D>::RegistrationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDRegistrationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::RegistrationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDRegistrationCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RegistrationCompleted_revoker>(this, RegistrationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDClient<D>::RegistrationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::RegistrationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->remove_RegistrationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_PlayReady_INDClient<D>::ProximityDetectionCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDProximityDetectionCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::ProximityDetectionCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDProximityDetectionCompletedEventArgs> 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 D> typename consume_Windows_Media_Protection_PlayReady_INDClient<D>::ProximityDetectionCompleted_revoker consume_Windows_Media_Protection_PlayReady_INDClient<D>::ProximityDetectionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDProximityDetectionCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::ProximityDetectionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDProximityDetectionCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ProximityDetectionCompleted_revoker>(this, ProximityDetectionCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDClient<D>::ProximityDetectionCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::ProximityDetectionCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->remove_ProximityDetectionCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_PlayReady_INDClient<D>::LicenseFetchCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::LicenseFetchCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchCompletedEventArgs> 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 D> typename consume_Windows_Media_Protection_PlayReady_INDClient<D>::LicenseFetchCompleted_revoker consume_Windows_Media_Protection_PlayReady_INDClient<D>::LicenseFetchCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::LicenseFetchCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, LicenseFetchCompleted_revoker>(this, LicenseFetchCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDClient<D>::LicenseFetchCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::LicenseFetchCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->remove_LicenseFetchCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_PlayReady_INDClient<D>::ReRegistrationNeeded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::ReRegistrationNeeded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Protection_PlayReady_INDClient<D>::ReRegistrationNeeded_revoker consume_Windows_Media_Protection_PlayReady_INDClient<D>::ReRegistrationNeeded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::ReRegistrationNeeded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ReRegistrationNeeded_revoker>(this, ReRegistrationNeeded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDClient<D>::ReRegistrationNeeded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::ReRegistrationNeeded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->remove_ReRegistrationNeeded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_PlayReady_INDClient<D>::ClosedCaptionDataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDClosedCaptionDataReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::ClosedCaptionDataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDClosedCaptionDataReceivedEventArgs> 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 D> typename consume_Windows_Media_Protection_PlayReady_INDClient<D>::ClosedCaptionDataReceived_revoker consume_Windows_Media_Protection_PlayReady_INDClient<D>::ClosedCaptionDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDClosedCaptionDataReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::ClosedCaptionDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDClosedCaptionDataReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ClosedCaptionDataReceived_revoker>(this, ClosedCaptionDataReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDClient<D>::ClosedCaptionDataReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::ClosedCaptionDataReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->remove_ClosedCaptionDataReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Protection::PlayReady::INDStartResult>) consume_Windows_Media_Protection_PlayReady_INDClient<D>::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 <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::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**)(&registrationCustomData), *(void**)(&licenseFetchDescriptor), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Protection::PlayReady::INDStartResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchResult>) consume_Windows_Media_Protection_PlayReady_INDClient<D>::LicenseFetchAsync(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::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<winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Protection_PlayReady_INDClient<D>::ReRegistrationAsync(winrt::Windows::Media::Protection::PlayReady::INDCustomData const& registrationCustomData) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::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**)(&registrationCustomData), &result));
return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDClient<D>::Close() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClient<D>::Close() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClient)->Close());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDClient) consume_Windows_Media_Protection_PlayReady_INDClientFactory<D>::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 <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClientFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDClosedCaptionFormat) consume_Windows_Media_Protection_PlayReady_INDClosedCaptionDataReceivedEventArgs<D>::ClosedCaptionDataFormat() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClosedCaptionDataReceivedEventArgs<D>::ClosedCaptionDataFormat() const
{
winrt::Windows::Media::Protection::PlayReady::NDClosedCaptionFormat ccForamt{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClosedCaptionDataReceivedEventArgs)->get_ClosedCaptionDataFormat(reinterpret_cast<int32_t*>(&ccForamt)));
return ccForamt;
}
- template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_Media_Protection_PlayReady_INDClosedCaptionDataReceivedEventArgs<D>::PresentationTimestamp() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClosedCaptionDataReceivedEventArgs<D>::PresentationTimestamp() const
{
int64_t presentationTimestamp{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDClosedCaptionDataReceivedEventArgs)->get_PresentationTimestamp(&presentationTimestamp));
return presentationTimestamp;
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Media_Protection_PlayReady_INDClosedCaptionDataReceivedEventArgs<D>::ClosedCaptionData() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDClosedCaptionDataReceivedEventArgs<D>::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<uint8_t>{ ccDataBytes, ccDataBytes_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Media_Protection_PlayReady_INDCustomData<D>::CustomDataTypeID() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDCustomData<D>::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<uint8_t>{ customDataTypeIDBytes, customDataTypeIDBytes_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Media_Protection_PlayReady_INDCustomData<D>::CustomData() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDCustomData<D>::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<uint8_t>{ customDataBytes, customDataBytes_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDCustomData) consume_Windows_Media_Protection_PlayReady_INDCustomDataFactory<D>::CreateInstance(array_view<uint8_t const> customDataTypeIDBytes, array_view<uint8_t const> customDataBytes) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDCustomDataFactory<D>::CreateInstance(array_view<uint8_t const> customDataTypeIDBytes, array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::Open(winrt::Windows::Foundation::Uri const& uri, array_view<uint8_t const> sessionIDBytes) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::Open(winrt::Windows::Foundation::Uri const& uri, array_view<uint8_t const> sessionIDBytes) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine)->Open(*(void**)(&uri), sessionIDBytes.size(), get_abi(sessionIDBytes)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::Pause() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::Pause() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine)->Pause());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::Resume() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::Resume() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine)->Resume());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::Close() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::Close() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine)->Close());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::Seek(winrt::Windows::Foundation::TimeSpan const& startPosition) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::CanSeek() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::CanSeek() const
{
bool canSeek{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine)->get_CanSeek(&canSeek));
return canSeek;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::BufferFullMinThresholdInSamples() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::BufferFullMinThresholdInSamples() const
{
uint32_t bufferFullMinThreshold{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine)->get_BufferFullMinThresholdInSamples(&bufferFullMinThreshold));
return bufferFullMinThreshold;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::BufferFullMaxThresholdInSamples() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::BufferFullMaxThresholdInSamples() const
{
uint32_t bufferFullMaxThreshold{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine)->get_BufferFullMaxThresholdInSamples(&bufferFullMaxThreshold));
return bufferFullMaxThreshold;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDDownloadEngineNotifier) consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::Notifier() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngine<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier<D>::OnStreamOpened() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier<D>::OnStreamOpened() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngineNotifier)->OnStreamOpened());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier<D>::OnPlayReadyObjectReceived(array_view<uint8_t const> dataBytes) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier<D>::OnPlayReadyObjectReceived(array_view<uint8_t const> dataBytes) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngineNotifier)->OnPlayReadyObjectReceived(dataBytes.size(), get_abi(dataBytes)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier<D>::OnContentIDReceived(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier<D>::OnDataReceived(array_view<uint8_t const> dataBytes, uint32_t bytesReceived) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier<D>::OnDataReceived(array_view<uint8_t const> dataBytes, uint32_t bytesReceived) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngineNotifier)->OnDataReceived(dataBytes.size(), get_abi(dataBytes), bytesReceived));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier<D>::OnEndOfStream() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier<D>::OnEndOfStream() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngineNotifier)->OnEndOfStream());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier<D>::OnNetworkError() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier<D>::OnNetworkError() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDDownloadEngineNotifier)->OnNetworkError());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::INDCustomData) consume_Windows_Media_Protection_PlayReady_INDLicenseFetchCompletedEventArgs<D>::ResponseCustomData() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDLicenseFetchCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDContentIDType) consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor<D>::ContentIDType() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor<D>::ContentIDType() const
{
winrt::Windows::Media::Protection::PlayReady::NDContentIDType contentIDType{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor)->get_ContentIDType(reinterpret_cast<int32_t*>(&contentIDType)));
return contentIDType;
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor<D>::ContentID() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor<D>::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<uint8_t>{ contentIDBytes, contentIDBytes_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::INDCustomData) consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor<D>::LicenseFetchChallengeCustomData() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor<D>::LicenseFetchChallengeCustomData(winrt::Windows::Media::Protection::PlayReady::INDCustomData const& licenseFetchChallengeCustomData) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDLicenseFetchDescriptor) consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptorFactory<D>::CreateInstance(winrt::Windows::Media::Protection::PlayReady::NDContentIDType const& contentIDType, array_view<uint8_t const> contentIDBytes, winrt::Windows::Media::Protection::PlayReady::INDCustomData const& licenseFetchChallengeCustomData) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDLicenseFetchDescriptorFactory<D>::CreateInstance(winrt::Windows::Media::Protection::PlayReady::NDContentIDType const& contentIDType, array_view<uint8_t const> 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<int32_t>(contentIDType), contentIDBytes.size(), get_abi(contentIDBytes), *(void**)(&licenseFetchChallengeCustomData), &instance));
return winrt::Windows::Media::Protection::PlayReady::NDLicenseFetchDescriptor{ instance, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::INDCustomData) consume_Windows_Media_Protection_PlayReady_INDLicenseFetchResult<D>::ResponseCustomData() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDLicenseFetchResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Protection::PlayReady::INDSendResult>) consume_Windows_Media_Protection_PlayReady_INDMessenger<D>::SendRegistrationRequestAsync(array_view<uint8_t const> sessionIDBytes, array_view<uint8_t const> challengeDataBytes) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDMessenger<D>::SendRegistrationRequestAsync(array_view<uint8_t const> sessionIDBytes, array_view<uint8_t const> 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<winrt::Windows::Media::Protection::PlayReady::INDSendResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Protection::PlayReady::INDSendResult>) consume_Windows_Media_Protection_PlayReady_INDMessenger<D>::SendProximityDetectionStartAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view<uint8_t const> transmitterChannelBytes, array_view<uint8_t const> sessionIDBytes, array_view<uint8_t const> challengeDataBytes) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDMessenger<D>::SendProximityDetectionStartAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view<uint8_t const> transmitterChannelBytes, array_view<uint8_t const> sessionIDBytes, array_view<uint8_t const> challengeDataBytes) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDMessenger)->SendProximityDetectionStartAsync(static_cast<int32_t>(pdType), transmitterChannelBytes.size(), get_abi(transmitterChannelBytes), sessionIDBytes.size(), get_abi(sessionIDBytes), challengeDataBytes.size(), get_abi(challengeDataBytes), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Protection::PlayReady::INDSendResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Protection::PlayReady::INDSendResult>) consume_Windows_Media_Protection_PlayReady_INDMessenger<D>::SendProximityDetectionResponseAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view<uint8_t const> transmitterChannelBytes, array_view<uint8_t const> sessionIDBytes, array_view<uint8_t const> responseDataBytes) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDMessenger<D>::SendProximityDetectionResponseAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view<uint8_t const> transmitterChannelBytes, array_view<uint8_t const> sessionIDBytes, array_view<uint8_t const> responseDataBytes) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDMessenger)->SendProximityDetectionResponseAsync(static_cast<int32_t>(pdType), transmitterChannelBytes.size(), get_abi(transmitterChannelBytes), sessionIDBytes.size(), get_abi(sessionIDBytes), responseDataBytes.size(), get_abi(responseDataBytes), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Protection::PlayReady::INDSendResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Protection::PlayReady::INDSendResult>) consume_Windows_Media_Protection_PlayReady_INDMessenger<D>::SendLicenseFetchRequestAsync(array_view<uint8_t const> sessionIDBytes, array_view<uint8_t const> challengeDataBytes) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDMessenger<D>::SendLicenseFetchRequestAsync(array_view<uint8_t const> sessionIDBytes, array_view<uint8_t const> 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<winrt::Windows::Media::Protection::PlayReady::INDSendResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_INDProximityDetectionCompletedEventArgs<D>::ProximityDetectionRetryCount() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDProximityDetectionCompletedEventArgs<D>::ProximityDetectionRetryCount() const
{
uint32_t retryCount{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDProximityDetectionCompletedEventArgs)->get_ProximityDetectionRetryCount(&retryCount));
return retryCount;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::INDCustomData) consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs<D>::ResponseCustomData() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties) consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs<D>::TransmitterProperties() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs<D>::TransmitterCertificateAccepted() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs<D>::TransmitterCertificateAccepted() const
{
bool acceptpt{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDRegistrationCompletedEventArgs)->get_TransmitterCertificateAccepted(&acceptpt));
return acceptpt;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs<D>::TransmitterCertificateAccepted(bool accept) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDRegistrationCompletedEventArgs<D>::TransmitterCertificateAccepted(bool accept) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDRegistrationCompletedEventArgs)->put_TransmitterCertificateAccepted(accept));
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Media_Protection_PlayReady_INDSendResult<D>::Response() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDSendResult<D>::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<uint8_t>{ responseDataBytes, responseDataBytes_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSource) consume_Windows_Media_Protection_PlayReady_INDStartResult<D>::MediaStreamSource() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDStartResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Media_Protection_PlayReady_INDStorageFileHelper<D>::GetFileURLs(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDStorageFileHelper<D>::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<hstring>{ fileURLs, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDStreamParser<D>::ParseData(array_view<uint8_t const> dataBytes) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDStreamParser<D>::ParseData(array_view<uint8_t const> dataBytes) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDStreamParser)->ParseData(dataBytes.size(), get_abi(dataBytes)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_INDStreamParser<D>::GetStreamInformation(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::Windows::Media::Protection::PlayReady::NDMediaStreamType& streamType) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDStreamParser<D>::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<int32_t*>(&streamType), &streamID));
return streamID;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDStreamParser<D>::BeginOfStream() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDStreamParser<D>::BeginOfStream() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDStreamParser)->BeginOfStream());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDStreamParser<D>::EndOfStream() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDStreamParser<D>::EndOfStream() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDStreamParser)->EndOfStream());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDStreamParserNotifier) consume_Windows_Media_Protection_PlayReady_INDStreamParser<D>::Notifier() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDStreamParser<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier<D>::OnContentIDReceived(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier<D>::OnMediaStreamDescriptorCreated(param::vector<winrt::Windows::Media::Core::AudioStreamDescriptor> const& audioStreamDescriptors, param::vector<winrt::Windows::Media::Core::VideoStreamDescriptor> const& videoStreamDescriptors) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier<D>::OnMediaStreamDescriptorCreated(param::vector<winrt::Windows::Media::Core::AudioStreamDescriptor> const& audioStreamDescriptors, param::vector<winrt::Windows::Media::Core::VideoStreamDescriptor> const& videoStreamDescriptors) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDStreamParserNotifier)->OnMediaStreamDescriptorCreated(*(void**)(&audioStreamDescriptors), *(void**)(&videoStreamDescriptors)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier<D>::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<uint8_t const> ccDataBytes) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier<D>::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<uint8_t const> ccDataBytes) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDStreamParserNotifier)->OnSampleParsed(streamID, static_cast<int32_t>(streamType), *(void**)(&streamSample), pts, static_cast<int32_t>(ccFormat), ccDataBytes.size(), get_abi(ccDataBytes)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier<D>::OnBeginSetupDecryptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::guid const& keyID, array_view<uint8_t const> proBytes) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDStreamParserNotifier<D>::OnBeginSetupDecryptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::guid const& keyID, array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDTCPMessenger) consume_Windows_Media_Protection_PlayReady_INDTCPMessengerFactory<D>::CreateInstance(param::hstring const& remoteHostName, uint32_t remoteHostPort) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDTCPMessengerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDCertificateType) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::CertificateType() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::CertificateType() const
{
winrt::Windows::Media::Protection::PlayReady::NDCertificateType type{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties)->get_CertificateType(reinterpret_cast<int32_t*>(&type)));
return type;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDCertificatePlatformID) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::PlatformIdentifier() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::PlatformIdentifier() const
{
winrt::Windows::Media::Protection::PlayReady::NDCertificatePlatformID identifier{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties)->get_PlatformIdentifier(reinterpret_cast<int32_t*>(&identifier)));
return identifier;
}
- template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::Media::Protection::PlayReady::NDCertificateFeature>) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::SupportedFeatures() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::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<winrt::Windows::Media::Protection::PlayReady::NDCertificateFeature>{ featureSets, featureSets_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::SecurityLevel() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::SecurityLevel() const
{
uint32_t level{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties)->get_SecurityLevel(&level));
return level;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::SecurityVersion() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::SecurityVersion() const
{
uint32_t securityVersion{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties)->get_SecurityVersion(&securityVersion));
return securityVersion;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::ExpirationDate() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::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 <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::ClientID() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::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<uint8_t>{ clientIDBytes, clientIDBytes_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::ModelDigest() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::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<uint8_t>{ modelDigestBytes, modelDigestBytes_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::ModelManufacturerName() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::ModelName() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::ModelNumber() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_INDTransmitterProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::KeyId() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::KeyId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader)->get_KeyId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::KeyIdString() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::LicenseAcquisitionUrl() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::LicenseAcquisitionUserInterfaceUrl() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::DomainServiceId() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::DomainServiceId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader)->get_DomainServiceId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::EncryptionType() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::EncryptionType() const
{
winrt::Windows::Media::Protection::PlayReady::PlayReadyEncryptionAlgorithm value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader)->get_EncryptionType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::CustomAttributes() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyDecryptorSetup) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::DecryptorSetup() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::DecryptorSetup() const
{
winrt::Windows::Media::Protection::PlayReady::PlayReadyDecryptorSetup value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader)->get_DecryptorSetup(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::GetSerializedHeader() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::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<uint8_t>{ headerBytes, headerBytes_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::HeaderWithEmbeddedUpdates() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader<D>::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 <typename D> WINRT_IMPL_AUTO(com_array<winrt::guid>) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader2<D>::KeyIds() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader2<D>::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<winrt::guid>{ contentKeyIds, contentKeyIds_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(com_array<hstring>) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader2<D>::KeyIdStrings() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader2<D>::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<hstring>{ contentKeyIdStrings, contentKeyIdStrings_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory<D>::CreateInstanceFromWindowsMediaDrmHeader(array_view<uint8_t const> headerBytes, winrt::Windows::Foundation::Uri const& licenseAcquisitionUrl, winrt::Windows::Foundation::Uri const& licenseAcquisitionUserInterfaceUrl, param::hstring const& customAttributes, winrt::guid const& domainServiceId) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory<D>::CreateInstanceFromWindowsMediaDrmHeader(array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory<D>::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 <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory<D>::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<int32_t>(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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory<D>::CreateInstanceFromPlayReadyHeader(array_view<uint8_t const> headerBytes) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory<D>::CreateInstanceFromPlayReadyHeader(array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory2<D>::CreateInstanceFromComponents2(uint32_t dwFlags, array_view<winrt::guid const> contentKeyIds, array_view<hstring const> 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 <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory2<D>::CreateInstanceFromComponents2(uint32_t dwFlags, array_view<winrt::guid const> contentKeyIds, array_view<hstring const> 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<int32_t>(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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest) consume_Windows_Media_Protection_PlayReady_IPlayReadyContentResolver<D>::ServiceRequest(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyContentResolver<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain<D>::AccountId() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain<D>::AccountId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomain)->get_AccountId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain<D>::ServiceId() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain<D>::ServiceId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomain)->get_ServiceId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain<D>::Revision() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain<D>::Revision() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomain)->get_Revision(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain<D>::FriendlyName() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain<D>::DomainJoinUrl() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomain<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyDomainIterable) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainIterableFactory<D>::CreateInstance(winrt::guid const& domainAccountId) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainIterableFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest<D>::DomainAccountId() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest<D>::DomainAccountId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainJoinServiceRequest)->get_DomainAccountId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest<D>::DomainAccountId(winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest<D>::DomainAccountId(winrt::guid const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainJoinServiceRequest)->put_DomainAccountId(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest<D>::DomainFriendlyName() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest<D>::DomainFriendlyName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest<D>::DomainFriendlyName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainJoinServiceRequest)->put_DomainFriendlyName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest<D>::DomainServiceId() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest<D>::DomainServiceId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainJoinServiceRequest)->get_DomainServiceId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest<D>::DomainServiceId(winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainJoinServiceRequest<D>::DomainServiceId(winrt::guid const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainJoinServiceRequest)->put_DomainServiceId(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest<D>::DomainAccountId() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest<D>::DomainAccountId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainLeaveServiceRequest)->get_DomainAccountId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest<D>::DomainAccountId(winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest<D>::DomainAccountId(winrt::guid const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainLeaveServiceRequest)->put_DomainAccountId(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest<D>::DomainServiceId() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest<D>::DomainServiceId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainLeaveServiceRequest)->get_DomainServiceId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest<D>::DomainServiceId(winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyDomainLeaveServiceRequest<D>::DomainServiceId(winrt::guid const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainLeaveServiceRequest)->put_DomainServiceId(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Media_Protection_PlayReady_IPlayReadyITADataGenerator<D>::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 <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyITADataGenerator<D>::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<int32_t>(format), &dataBytes_impl_size, &dataBytes));
return com_array<uint8_t>{ dataBytes, dataBytes_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense<D>::FullyEvaluated() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense<D>::FullyEvaluated() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense)->get_FullyEvaluated(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense<D>::UsableForPlay() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense<D>::UsableForPlay() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense)->get_UsableForPlay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense<D>::ExpirationDate() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense<D>::ExpirationDate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense)->get_ExpirationDate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense<D>::ExpireAfterFirstPlay() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense<D>::ExpireAfterFirstPlay() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense)->get_ExpireAfterFirstPlay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense<D>::DomainAccountID() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense<D>::DomainAccountID() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense)->get_DomainAccountID(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense<D>::ChainDepth() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense<D>::ChainDepth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense)->get_ChainDepth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense<D>::GetKIDAtChainDepth(uint32_t chainDepth) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2<D>::SecureStopId() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2<D>::SecureStopId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense2)->get_SecureStopId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2<D>::SecurityLevel() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2<D>::SecurityLevel() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense2)->get_SecurityLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2<D>::InMemoryOnly() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2<D>::InMemoryOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense2)->get_InMemoryOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2<D>::ExpiresInRealTime() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicense2<D>::ExpiresInRealTime() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense2)->get_ExpiresInRealTime(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest<D>::ContentHeader() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest<D>::ContentHeader(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& value) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest<D>::DomainServiceId() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest<D>::DomainServiceId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest)->get_DomainServiceId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest<D>::DomainServiceId(winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest<D>::DomainServiceId(winrt::guid const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest)->put_DomainServiceId(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest2<D>::SessionId() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest2<D>::SessionId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest2)->get_SessionId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyLicenseIterable) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest3<D>::CreateLicenseIterable(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyLicenseIterable) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseIterableFactory<D>::CreateInstance(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseIterableFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseManagement<D>::DeleteLicenses(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseManagement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession<D>::CreateLAServiceRequest() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession<D>::ConfigureMediaProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& mpm) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession<D>::ConfigureMediaProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& mpm) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseSession)->ConfigureMediaProtectionManager(*(void**)(&mpm)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyLicenseIterable) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession2<D>::CreateLicenseIterable(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader const& contentHeader, bool fullyEvaluated) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSession2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyLicenseSession) consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSessionFactory<D>::CreateInstance(winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseSessionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Media_Protection_PlayReady_IPlayReadyMeteringReportServiceRequest<D>::MeteringCertificate() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyMeteringReportServiceRequest<D>::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<uint8_t>{ meteringCertBytes, meteringCertBytes_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyMeteringReportServiceRequest<D>::MeteringCertificate(array_view<uint8_t const> meteringCertBytes) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyMeteringReportServiceRequest<D>::MeteringCertificate(array_view<uint8_t const> meteringCertBytes) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyMeteringReportServiceRequest)->put_MeteringCertificate(meteringCertBytes.size(), get_abi(meteringCertBytes)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadySecureStopIterable) consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopIterableFactory<D>::CreateInstance(array_view<uint8_t const> publisherCertBytes) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopIterableFactory<D>::CreateInstance(array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest<D>::SessionID() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest<D>::SessionID() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadySecureStopServiceRequest)->get_SessionID(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest<D>::StartTime() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest<D>::UpdateTime() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest<D>::Stopped() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest<D>::Stopped() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadySecureStopServiceRequest)->get_Stopped(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest<D>::PublisherCertificate() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequest<D>::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<uint8_t>{ publisherCertBytes, publisherCertBytes_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadySecureStopServiceRequest) consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequestFactory<D>::CreateInstance(array_view<uint8_t const> publisherCertBytes) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequestFactory<D>::CreateInstance(array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadySecureStopServiceRequest) consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequestFactory<D>::CreateInstanceFromSessionID(winrt::guid const& sessionID, array_view<uint8_t const> publisherCertBytes) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequestFactory<D>::CreateInstanceFromSessionID(winrt::guid const& sessionID, array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::Uri() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest)->put_Uri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::ResponseCustomData() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::ChallengeCustomData() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::ChallengeCustomData(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::ChallengeCustomData(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest)->put_ChallengeCustomData(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::BeginServiceRequest() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::NextServiceRequest() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadySoapMessage) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::GenerateManualEnablingChallenge() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::ProcessManualEnablingResponse(array_view<uint8_t const> responseBytes) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyServiceRequest<D>::ProcessManualEnablingResponse(array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Media_Protection_PlayReady_IPlayReadySoapMessage<D>::GetMessageBody() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadySoapMessage<D>::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<uint8_t>{ messageBodyBytes, messageBodyBytes_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Media_Protection_PlayReady_IPlayReadySoapMessage<D>::MessageHeaders() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadySoapMessage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Protection_PlayReady_IPlayReadySoapMessage<D>::Uri() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadySoapMessage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics<D>::DomainJoinServiceRequestType() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics<D>::DomainJoinServiceRequestType() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics)->get_DomainJoinServiceRequestType(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics<D>::DomainLeaveServiceRequestType() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics<D>::DomainLeaveServiceRequestType() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics)->get_DomainLeaveServiceRequestType(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics<D>::IndividualizationServiceRequestType() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics<D>::IndividualizationServiceRequestType() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics)->get_IndividualizationServiceRequestType(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics<D>::LicenseAcquirerServiceRequestType() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics<D>::LicenseAcquirerServiceRequestType() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics)->get_LicenseAcquirerServiceRequestType(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics<D>::MeteringReportServiceRequestType() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics<D>::MeteringReportServiceRequestType() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics)->get_MeteringReportServiceRequestType(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics<D>::RevocationServiceRequestType() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics<D>::RevocationServiceRequestType() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics)->get_RevocationServiceRequestType(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics<D>::MediaProtectionSystemId() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics<D>::MediaProtectionSystemId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics)->get_MediaProtectionSystemId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics<D>::PlayReadySecurityVersion() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics<D>::PlayReadySecurityVersion() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics)->get_PlayReadySecurityVersion(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics2<D>::PlayReadyCertificateSecurityLevel() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics2<D>::PlayReadyCertificateSecurityLevel() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics2)->get_PlayReadyCertificateSecurityLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics3<D>::SecureStopServiceRequestType() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics3<D>::SecureStopServiceRequestType() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics3)->get_SecureStopServiceRequestType(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics3<D>::CheckSupportedHardware(winrt::Windows::Media::Protection::PlayReady::PlayReadyHardwareDRMFeatures const& hwdrmFeature) const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics3<D>::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<int32_t>(hwdrmFeature), &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics4<D>::InputTrustAuthorityToCreate() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics4<D>::ProtectionSystemId() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics4<D>::ProtectionSystemId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics4)->get_ProtectionSystemId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics5<D>::HardwareDRMDisabledAtTime() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics5<D>::HardwareDRMDisabledAtTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics5)->get_HardwareDRMDisabledAtTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics5<D>::HardwareDRMDisabledUntilTime() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics5<D>::HardwareDRMDisabledUntilTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics5)->get_HardwareDRMDisabledUntilTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics5<D>::ResetHardwareDRMDisabled() const
+ template <typename D> auto consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics5<D>::ResetHardwareDRMDisabled() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics5)->ResetHardwareDRMDisabled());
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Protection.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Protection.h
index 28872e8de39..9223ba16c95 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Protection.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::RevocationAndRenewalInformation) consume_Windows_Media_Protection_IComponentLoadFailedEventArgs<D>::Information() const
+ template <typename D> auto consume_Windows_Media_Protection_IComponentLoadFailedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionServiceCompletion) consume_Windows_Media_Protection_IComponentLoadFailedEventArgs<D>::Completion() const
+ template <typename D> auto consume_Windows_Media_Protection_IComponentLoadFailedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Protection::RenewalStatus, uint32_t>) consume_Windows_Media_Protection_IComponentRenewalStatics<D>::RenewSystemComponentsAsync(winrt::Windows::Media::Protection::RevocationAndRenewalInformation const& information) const
+ template <typename D> auto consume_Windows_Media_Protection_IComponentRenewalStatics<D>::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<winrt::Windows::Media::Protection::RenewalStatus, uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Protection_IHdcpSession<D>::IsEffectiveProtectionAtLeast(winrt::Windows::Media::Protection::HdcpProtection const& protection) const
+ template <typename D> auto consume_Windows_Media_Protection_IHdcpSession<D>::IsEffectiveProtectionAtLeast(winrt::Windows::Media::Protection::HdcpProtection const& protection) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IHdcpSession)->IsEffectiveProtectionAtLeast(static_cast<int32_t>(protection), &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Protection::HdcpProtection>) consume_Windows_Media_Protection_IHdcpSession<D>::GetEffectiveProtection() const
+ template <typename D> auto consume_Windows_Media_Protection_IHdcpSession<D>::GetEffectiveProtection() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IHdcpSession)->GetEffectiveProtection(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Media::Protection::HdcpProtection>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Protection::HdcpSetProtectionResult>) consume_Windows_Media_Protection_IHdcpSession<D>::SetDesiredMinProtectionAsync(winrt::Windows::Media::Protection::HdcpProtection const& protection) const
+ template <typename D> auto consume_Windows_Media_Protection_IHdcpSession<D>::SetDesiredMinProtectionAsync(winrt::Windows::Media::Protection::HdcpProtection const& protection) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IHdcpSession)->SetDesiredMinProtectionAsync(static_cast<int32_t>(protection), &value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Protection::HdcpSetProtectionResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_IHdcpSession<D>::ProtectionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::HdcpSession, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_IHdcpSession<D>::ProtectionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::HdcpSession, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_Protection_IHdcpSession<D>::ProtectionChanged_revoker consume_Windows_Media_Protection_IHdcpSession<D>::ProtectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::HdcpSession, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_IHdcpSession<D>::ProtectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::HdcpSession, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ProtectionChanged_revoker>(this, ProtectionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_IHdcpSession<D>::ProtectionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Protection_IHdcpSession<D>::ProtectionChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IHdcpSession)->remove_ProtectionChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_IMediaProtectionManager<D>::ServiceRequested(winrt::Windows::Media::Protection::ServiceRequestedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_IMediaProtectionManager<D>::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 D> typename consume_Windows_Media_Protection_IMediaProtectionManager<D>::ServiceRequested_revoker consume_Windows_Media_Protection_IMediaProtectionManager<D>::ServiceRequested(auto_revoke_t, winrt::Windows::Media::Protection::ServiceRequestedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_IMediaProtectionManager<D>::ServiceRequested(auto_revoke_t, winrt::Windows::Media::Protection::ServiceRequestedEventHandler const& handler) const
{
return impl::make_event_revoker<D, ServiceRequested_revoker>(this, ServiceRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_IMediaProtectionManager<D>::ServiceRequested(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_Protection_IMediaProtectionManager<D>::ServiceRequested(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionManager)->remove_ServiceRequested(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_IMediaProtectionManager<D>::RebootNeeded(winrt::Windows::Media::Protection::RebootNeededEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_IMediaProtectionManager<D>::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 D> typename consume_Windows_Media_Protection_IMediaProtectionManager<D>::RebootNeeded_revoker consume_Windows_Media_Protection_IMediaProtectionManager<D>::RebootNeeded(auto_revoke_t, winrt::Windows::Media::Protection::RebootNeededEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_IMediaProtectionManager<D>::RebootNeeded(auto_revoke_t, winrt::Windows::Media::Protection::RebootNeededEventHandler const& handler) const
{
return impl::make_event_revoker<D, RebootNeeded_revoker>(this, RebootNeeded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_IMediaProtectionManager<D>::RebootNeeded(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_Protection_IMediaProtectionManager<D>::RebootNeeded(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionManager)->remove_RebootNeeded(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Protection_IMediaProtectionManager<D>::ComponentLoadFailed(winrt::Windows::Media::Protection::ComponentLoadFailedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_IMediaProtectionManager<D>::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 D> typename consume_Windows_Media_Protection_IMediaProtectionManager<D>::ComponentLoadFailed_revoker consume_Windows_Media_Protection_IMediaProtectionManager<D>::ComponentLoadFailed(auto_revoke_t, winrt::Windows::Media::Protection::ComponentLoadFailedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_Media_Protection_IMediaProtectionManager<D>::ComponentLoadFailed(auto_revoke_t, winrt::Windows::Media::Protection::ComponentLoadFailedEventHandler const& handler) const
{
return impl::make_event_revoker<D, ComponentLoadFailed_revoker>(this, ComponentLoadFailed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_IMediaProtectionManager<D>::ComponentLoadFailed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_Protection_IMediaProtectionManager<D>::ComponentLoadFailed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionManager)->remove_ComponentLoadFailed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Media_Protection_IMediaProtectionManager<D>::Properties() const
+ template <typename D> auto consume_Windows_Media_Protection_IMediaProtectionManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Media_Protection_IMediaProtectionPMPServer<D>::Properties() const
+ template <typename D> auto consume_Windows_Media_Protection_IMediaProtectionPMPServer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionPMPServer) consume_Windows_Media_Protection_IMediaProtectionPMPServerFactory<D>::CreatePMPServer(winrt::Windows::Foundation::Collections::IPropertySet const& pProperties) const
+ template <typename D> auto consume_Windows_Media_Protection_IMediaProtectionPMPServerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Protection_IMediaProtectionServiceCompletion<D>::Complete(bool success) const
+ template <typename D> auto consume_Windows_Media_Protection_IMediaProtectionServiceCompletion<D>::Complete(bool success) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionServiceCompletion)->Complete(success));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_IMediaProtectionServiceRequest<D>::ProtectionSystem() const
+ template <typename D> auto consume_Windows_Media_Protection_IMediaProtectionServiceRequest<D>::ProtectionSystem() const
{
winrt::guid system{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionServiceRequest)->get_ProtectionSystem(put_abi(system)));
return system;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Media_Protection_IMediaProtectionServiceRequest<D>::Type() const
+ template <typename D> auto consume_Windows_Media_Protection_IMediaProtectionServiceRequest<D>::Type() const
{
winrt::guid type{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IMediaProtectionServiceRequest)->get_Type(put_abi(type)));
return type;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::ProtectionCapabilityResult) consume_Windows_Media_Protection_IProtectionCapabilities<D>::IsTypeSupported(param::hstring const& type, param::hstring const& keySystem) const
+ template <typename D> auto consume_Windows_Media_Protection_IProtectionCapabilities<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Protection::RevocationAndRenewalItem>) consume_Windows_Media_Protection_IRevocationAndRenewalInformation<D>::Items() const
+ template <typename D> auto consume_Windows_Media_Protection_IRevocationAndRenewalInformation<D>::Items() const
{
void* items{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IRevocationAndRenewalInformation)->get_Items(&items));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Protection::RevocationAndRenewalItem>{ items, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::RevocationAndRenewalReasons) consume_Windows_Media_Protection_IRevocationAndRenewalItem<D>::Reasons() const
+ template <typename D> auto consume_Windows_Media_Protection_IRevocationAndRenewalItem<D>::Reasons() const
{
winrt::Windows::Media::Protection::RevocationAndRenewalReasons reasons{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IRevocationAndRenewalItem)->get_Reasons(reinterpret_cast<uint32_t*>(&reasons)));
return reasons;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_IRevocationAndRenewalItem<D>::HeaderHash() const
+ template <typename D> auto consume_Windows_Media_Protection_IRevocationAndRenewalItem<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_IRevocationAndRenewalItem<D>::PublicKeyHash() const
+ template <typename D> auto consume_Windows_Media_Protection_IRevocationAndRenewalItem<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_IRevocationAndRenewalItem<D>::Name() const
+ template <typename D> auto consume_Windows_Media_Protection_IRevocationAndRenewalItem<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Protection_IRevocationAndRenewalItem<D>::RenewalId() const
+ template <typename D> auto consume_Windows_Media_Protection_IRevocationAndRenewalItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::IMediaProtectionServiceRequest) consume_Windows_Media_Protection_IServiceRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Media_Protection_IServiceRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionServiceCompletion) consume_Windows_Media_Protection_IServiceRequestedEventArgs<D>::Completion() const
+ template <typename D> auto consume_Windows_Media_Protection_IServiceRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) consume_Windows_Media_Protection_IServiceRequestedEventArgs2<D>::MediaPlaybackItem() const
+ template <typename D> auto consume_Windows_Media_Protection_IServiceRequestedEventArgs2<D>::MediaPlaybackItem() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Protection::IServiceRequestedEventArgs2)->get_MediaPlaybackItem(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Render.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Render.h
index 41e0601775d..1048ec502e1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Render.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.SpeechRecognition.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.SpeechRecognition.h
index 3369859273f..82417b3b840 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.SpeechRecognition.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionCompletedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionCompletedEventArgs<D>::Status() const
{
winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionCompletedEventArgs)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionResultGeneratedEventArgs<D>::Result() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionResultGeneratedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::AutoStopSilenceTimeout() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::AutoStopSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::StartAsync() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::StartAsync(winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionMode const& mode) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::StartAsync(winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionMode const& mode) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession)->StartWithModeAsync(static_cast<int32_t>(mode), &value));
return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::StopAsync() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::CancelAsync() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::PauseAsync() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::Resume() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::Resume() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession)->Resume());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession, winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionCompletedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession, winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionCompletedEventArgs> 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 D> typename consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::Completed_revoker consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession, winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionCompletedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession, winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionCompletedEventArgs> const& value) const
{
return impl::make_event_revoker<D, Completed_revoker>(this, Completed(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::Completed(winrt::event_token const& value) const noexcept
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::Completed(winrt::event_token const& value) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession)->remove_Completed(impl::bind_in(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::ResultGenerated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession, winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionResultGeneratedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::ResultGenerated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession, winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionResultGeneratedEventArgs> 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 D> typename consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::ResultGenerated_revoker consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::ResultGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession, winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionResultGeneratedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::ResultGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession, winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionResultGeneratedEventArgs> const& value) const
{
return impl::make_event_revoker<D, ResultGenerated_revoker>(this, ResultGenerated(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::ResultGenerated(winrt::event_token const& value) const noexcept
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession<D>::ResultGenerated(winrt::event_token const& value) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession)->remove_ResultGenerated(impl::bind_in(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionCompilationResult<D>::Status() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionCompilationResult<D>::Status() const
{
winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionCompilationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint<D>::Tag() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint<D>::Tag(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint<D>::Tag(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint)->put_Tag(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintType) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint<D>::Type() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint<D>::Type() const
{
winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintProbability) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint<D>::Probability() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint<D>::Probability() const
{
winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintProbability value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint)->get_Probability(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint<D>::Probability(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintProbability const& value) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint<D>::Probability(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintProbability const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint)->put_Probability(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraint<D>::GrammarFile() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraint<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionGrammarFileConstraint) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraintFactory<D>::Create(winrt::Windows::Storage::StorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraintFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionGrammarFileConstraint) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraintFactory<D>::CreateWithTag(winrt::Windows::Storage::StorageFile const& file, param::hstring const& tag) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraintFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesis<D>::Text() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesis<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionHypothesis) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesisGeneratedEventArgs<D>::Hypothesis() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesisGeneratedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraint<D>::Commands() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraint<D>::Commands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionListConstraint)->get_Commands(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionListConstraint) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraintFactory<D>::Create(param::iterable<hstring> const& commands) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraintFactory<D>::Create(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionListConstraint) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraintFactory<D>::CreateWithTag(param::iterable<hstring> const& commands, param::hstring const& tag) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraintFactory<D>::CreateWithTag(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionAudioProblem) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionQualityDegradingEventArgs<D>::Problem() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionQualityDegradingEventArgs<D>::Problem() const
{
winrt::Windows::Media::SpeechRecognition::SpeechRecognitionAudioProblem value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionQualityDegradingEventArgs)->get_Problem(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult<D>::Status() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult<D>::Status() const
{
winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult<D>::Text() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConfidence) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult<D>::Confidence() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult<D>::Confidence() const
{
winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConfidence value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult)->get_Confidence(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionSemanticInterpretation) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult<D>::SemanticInterpretation() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult>) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult<D>::GetAlternates(uint32_t maxAlternates) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult<D>::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<winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult>{ alternates, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult<D>::Constraint() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult<D>::RulePath() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult<D>::RulePath() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult)->get_RulePath(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult<D>::RawConfidence() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult<D>::RawConfidence() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult)->get_RawConfidence(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult2<D>::PhraseStartTime() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult2<D>::PhraseDuration() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::Collections::IVectorView<hstring>>) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionSemanticInterpretation<D>::Properties() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionSemanticInterpretation<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionSemanticInterpretation)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::Collections::IVectorView<hstring>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraint<D>::Scenario() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraint<D>::Scenario() const
{
winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionTopicConstraint)->get_Scenario(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraint<D>::TopicHint() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraint<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionTopicConstraint) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraintFactory<D>::Create(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario const& scenario, param::hstring const& topicHint) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraintFactory<D>::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<int32_t>(scenario), *(void**)(&topicHint), &constraint));
return winrt::Windows::Media::SpeechRecognition::SpeechRecognitionTopicConstraint{ constraint, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionTopicConstraint) consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraintFactory<D>::CreateWithTag(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario const& scenario, param::hstring const& topicHint, param::hstring const& tag) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraintFactory<D>::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<int32_t>(scenario), *(void**)(&topicHint), *(void**)(&tag), &constraint));
return winrt::Windows::Media::SpeechRecognition::SpeechRecognitionTopicConstraint{ constraint, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::CurrentLanguage() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint>) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::Constraints() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::Constraints() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer)->get_Constraints(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognizerTimeouts) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::Timeouts() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognizerUIOptions) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::UIOptions() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::SpeechRecognition::SpeechRecognitionCompilationResult>) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::CompileConstraintsAsync() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::CompileConstraintsAsync() const
{
void* asyncOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer)->CompileConstraintsAsync(&asyncOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::SpeechRecognition::SpeechRecognitionCompilationResult>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult>) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::RecognizeAsync() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::RecognizeAsync() const
{
void* asyncOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer)->RecognizeAsync(&asyncOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult>) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::RecognizeWithUIAsync() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::RecognizeWithUIAsync() const
{
void* asyncOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer)->RecognizeWithUIAsync(&asyncOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::RecognitionQualityDegrading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognitionQualityDegradingEventArgs> const& speechRecognitionQualityDegradingHandler) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::RecognitionQualityDegrading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognitionQualityDegradingEventArgs> 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 D> typename consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::RecognitionQualityDegrading_revoker consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::RecognitionQualityDegrading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognitionQualityDegradingEventArgs> const& speechRecognitionQualityDegradingHandler) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::RecognitionQualityDegrading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognitionQualityDegradingEventArgs> const& speechRecognitionQualityDegradingHandler) const
{
return impl::make_event_revoker<D, RecognitionQualityDegrading_revoker>(this, RecognitionQualityDegrading(speechRecognitionQualityDegradingHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::RecognitionQualityDegrading(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::RecognitionQualityDegrading(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer)->remove_RecognitionQualityDegrading(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognizerStateChangedEventArgs> const& stateChangedHandler) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognizerStateChangedEventArgs> 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 D> typename consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::StateChanged_revoker consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognizerStateChangedEventArgs> const& stateChangedHandler) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognizerStateChangedEventArgs> const& stateChangedHandler) const
{
return impl::make_event_revoker<D, StateChanged_revoker>(this, StateChanged(stateChangedHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::StateChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer<D>::StateChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer)->remove_StateChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2<D>::ContinuousRecognitionSession() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognizerState) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2<D>::State() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2<D>::State() const
{
winrt::Windows::Media::SpeechRecognition::SpeechRecognizerState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer2)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2<D>::StopRecognitionAsync() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2<D>::HypothesisGenerated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognitionHypothesisGeneratedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2<D>::HypothesisGenerated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognitionHypothesisGeneratedEventArgs> 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 D> typename consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2<D>::HypothesisGenerated_revoker consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2<D>::HypothesisGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognitionHypothesisGeneratedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2<D>::HypothesisGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognitionHypothesisGeneratedEventArgs> const& value) const
{
return impl::make_event_revoker<D, HypothesisGenerated_revoker>(this, HypothesisGenerated(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2<D>::HypothesisGenerated(winrt::event_token const& value) const noexcept
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2<D>::HypothesisGenerated(winrt::event_token const& value) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer2)->remove_HypothesisGenerated(impl::bind_in(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognizer) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerFactory<D>::Create(winrt::Windows::Globalization::Language const& language) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognizerState) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStateChangedEventArgs<D>::State() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStateChangedEventArgs<D>::State() const
{
winrt::Windows::Media::SpeechRecognition::SpeechRecognizerState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerStateChangedEventArgs)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics<D>::SystemSpeechLanguage() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Globalization::Language>) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics<D>::SupportedTopicLanguages() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics<D>::SupportedTopicLanguages() const
{
void* languages{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerStatics)->get_SupportedTopicLanguages(&languages));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Globalization::Language>{ languages, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Globalization::Language>) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics<D>::SupportedGrammarLanguages() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics<D>::SupportedGrammarLanguages() const
{
void* languages{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerStatics)->get_SupportedGrammarLanguages(&languages));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Globalization::Language>{ languages, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics2<D>::TrySetSystemSpeechLanguageAsync(winrt::Windows::Globalization::Language const& speechLanguage) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics2<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts<D>::InitialSilenceTimeout() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts<D>::InitialSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts<D>::EndSilenceTimeout() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts<D>::EndSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts<D>::BabbleTimeout() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts<D>::BabbleTimeout(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions<D>::ExampleText() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions<D>::ExampleText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions<D>::ExampleText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions)->put_ExampleText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions<D>::AudiblePrompt() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions<D>::AudiblePrompt(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions<D>::AudiblePrompt(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions)->put_AudiblePrompt(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions<D>::IsReadBackEnabled() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions<D>::IsReadBackEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions)->get_IsReadBackEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions<D>::IsReadBackEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions<D>::IsReadBackEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions)->put_IsReadBackEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions<D>::ShowConfirmation() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions<D>::ShowConfirmation() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions)->get_ShowConfirmation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions<D>::ShowConfirmation(bool value) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions<D>::ShowConfirmation(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions)->put_ShowConfirmation(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_SpeechRecognition_IVoiceCommandManager<D>::InstallCommandSetsFromStorageFileAsync(winrt::Windows::Storage::StorageFile const& file) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_IVoiceCommandManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Media::SpeechRecognition::VoiceCommandSet>) consume_Windows_Media_SpeechRecognition_IVoiceCommandManager<D>::InstalledCommandSets() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_IVoiceCommandManager<D>::InstalledCommandSets() const
{
void* voiceCommandSets{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::IVoiceCommandManager)->get_InstalledCommandSets(&voiceCommandSets));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Media::SpeechRecognition::VoiceCommandSet>{ voiceCommandSets, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechRecognition_IVoiceCommandSet<D>::Language() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_IVoiceCommandSet<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechRecognition_IVoiceCommandSet<D>::Name() const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_IVoiceCommandSet<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_SpeechRecognition_IVoiceCommandSet<D>::SetPhraseListAsync(param::hstring const& phraseListName, param::async_iterable<hstring> const& phraseList) const
+ template <typename D> auto consume_Windows_Media_SpeechRecognition_IVoiceCommandSet<D>::SetPhraseListAsync(param::hstring const& phraseListName, param::async_iterable<hstring> const& phraseList) const
{
void* updateAction{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechRecognition::IVoiceCommandSet)->SetPhraseListAsync(*(void**)(&phraseListName), *(void**)(&phraseList), &updateAction));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.SpeechSynthesis.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.SpeechSynthesis.h
index 133d7601888..71a1332d6f2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.SpeechSynthesis.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::SpeechSynthesis::VoiceInformation>) consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic<D>::AllVoices() const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic<D>::AllVoices() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::IInstalledVoicesStatic)->get_AllVoices(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::SpeechSynthesis::VoiceInformation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::VoiceInformation) consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic<D>::DefaultVoice() const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic2<D>::TrySetDefaultVoiceAsync(winrt::Windows::Media::SpeechSynthesis::VoiceInformation const& voice) const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic2<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::IMediaMarker>) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesisStream<D>::Markers() const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesisStream<D>::Markers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesisStream)->get_Markers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::IMediaMarker>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::SpeechSynthesis::SpeechSynthesisStream>) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer<D>::SynthesizeTextToStreamAsync(param::hstring const& text) const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer<D>::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<winrt::Windows::Media::SpeechSynthesis::SpeechSynthesisStream>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::SpeechSynthesis::SpeechSynthesisStream>) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer<D>::SynthesizeSsmlToStreamAsync(param::hstring const& Ssml) const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer<D>::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<winrt::Windows::Media::SpeechSynthesis::SpeechSynthesisStream>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer<D>::Voice(winrt::Windows::Media::SpeechSynthesis::VoiceInformation const& value) const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer<D>::Voice(winrt::Windows::Media::SpeechSynthesis::VoiceInformation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizer)->put_Voice(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::VoiceInformation) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer<D>::Voice() const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::SpeechSynthesizerOptions) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer2<D>::Options() const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions<D>::IncludeWordBoundaryMetadata() const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions<D>::IncludeWordBoundaryMetadata() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions)->get_IncludeWordBoundaryMetadata(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions<D>::IncludeWordBoundaryMetadata(bool value) const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions<D>::IncludeWordBoundaryMetadata(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions)->put_IncludeWordBoundaryMetadata(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions<D>::IncludeSentenceBoundaryMetadata() const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions<D>::IncludeSentenceBoundaryMetadata() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions)->get_IncludeSentenceBoundaryMetadata(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions<D>::IncludeSentenceBoundaryMetadata(bool value) const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions<D>::IncludeSentenceBoundaryMetadata(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions)->put_IncludeSentenceBoundaryMetadata(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2<D>::AudioVolume() const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2<D>::AudioVolume() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions2)->get_AudioVolume(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2<D>::AudioVolume(double value) const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2<D>::AudioVolume(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions2)->put_AudioVolume(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2<D>::SpeakingRate() const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2<D>::SpeakingRate() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions2)->get_SpeakingRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2<D>::SpeakingRate(double value) const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2<D>::SpeakingRate(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions2)->put_SpeakingRate(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2<D>::AudioPitch() const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2<D>::AudioPitch() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions2)->get_AudioPitch(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2<D>::AudioPitch(double value) const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions2<D>::AudioPitch(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions2)->put_AudioPitch(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::SpeechAppendedSilence) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3<D>::AppendedSilence() const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3<D>::AppendedSilence() const
{
winrt::Windows::Media::SpeechSynthesis::SpeechAppendedSilence value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions3)->get_AppendedSilence(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3<D>::AppendedSilence(winrt::Windows::Media::SpeechSynthesis::SpeechAppendedSilence const& value) const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3<D>::AppendedSilence(winrt::Windows::Media::SpeechSynthesis::SpeechAppendedSilence const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions3)->put_AppendedSilence(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::SpeechPunctuationSilence) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3<D>::PunctuationSilence() const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3<D>::PunctuationSilence() const
{
winrt::Windows::Media::SpeechSynthesis::SpeechPunctuationSilence value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions3)->get_PunctuationSilence(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3<D>::PunctuationSilence(winrt::Windows::Media::SpeechSynthesis::SpeechPunctuationSilence const& value) const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizerOptions3<D>::PunctuationSilence(winrt::Windows::Media::SpeechSynthesis::SpeechPunctuationSilence const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions3)->put_PunctuationSilence(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechSynthesis_IVoiceInformation<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_IVoiceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechSynthesis_IVoiceInformation<D>::Id() const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_IVoiceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechSynthesis_IVoiceInformation<D>::Language() const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_IVoiceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_SpeechSynthesis_IVoiceInformation<D>::Description() const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_IVoiceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::VoiceGender) consume_Windows_Media_SpeechSynthesis_IVoiceInformation<D>::Gender() const
+ template <typename D> auto consume_Windows_Media_SpeechSynthesis_IVoiceInformation<D>::Gender() const
{
winrt::Windows::Media::SpeechSynthesis::VoiceGender value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::SpeechSynthesis::IVoiceInformation)->get_Gender(reinterpret_cast<int32_t*>(&value)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Streaming.Adaptive.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Streaming.Adaptive.h
index 6d2017908cf..bacadcd44f3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Streaming.Adaptive.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::IsLive() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::IsLive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_IsLive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DesiredLiveOffset() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DesiredLiveOffset(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::InitialBitrate() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::InitialBitrate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_InitialBitrate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::InitialBitrate(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::InitialBitrate(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->put_InitialBitrate(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::CurrentDownloadBitrate() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::CurrentDownloadBitrate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_CurrentDownloadBitrate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::CurrentPlaybackBitrate() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::CurrentPlaybackBitrate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_CurrentPlaybackBitrate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::AvailableBitrates() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::AvailableBitrates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_AvailableBitrates(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DesiredMinBitrate() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DesiredMinBitrate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_DesiredMinBitrate(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DesiredMinBitrate(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DesiredMinBitrate(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->put_DesiredMinBitrate(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DesiredMaxBitrate() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DesiredMaxBitrate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_DesiredMaxBitrate(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DesiredMaxBitrate(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DesiredMaxBitrate(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->put_DesiredMaxBitrate(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::AudioOnlyPlayback() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::AudioOnlyPlayback() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_AudioOnlyPlayback(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::InboundBitsPerSecond() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::InboundBitsPerSecond() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->get_InboundBitsPerSecond(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::InboundBitsPerSecondWindow() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::InboundBitsPerSecondWindow(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadBitrateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadBitrateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedEventArgs> 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 D> typename consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadBitrateChanged_revoker consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DownloadBitrateChanged_revoker>(this, DownloadBitrateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadBitrateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadBitrateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->remove_DownloadBitrateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::PlaybackBitrateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourcePlaybackBitrateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::PlaybackBitrateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourcePlaybackBitrateChangedEventArgs> 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 D> typename consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::PlaybackBitrateChanged_revoker consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::PlaybackBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourcePlaybackBitrateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::PlaybackBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourcePlaybackBitrateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PlaybackBitrateChanged_revoker>(this, PlaybackBitrateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::PlaybackBitrateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::PlaybackBitrateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->remove_PlaybackBitrateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedEventArgs> 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 D> typename consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadRequested_revoker consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DownloadRequested_revoker>(this, DownloadRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->remove_DownloadRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadCompletedEventArgs> 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 D> typename consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadCompleted_revoker consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DownloadCompleted_revoker>(this, DownloadCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->remove_DownloadCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadFailedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadFailedEventArgs> 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 D> typename consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadFailed_revoker consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadFailedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadFailedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DownloadFailed_revoker>(this, DownloadFailed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadFailed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource<D>::DownloadFailed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource)->remove_DownloadFailed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceAdvancedSettings) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource2<D>::AdvancedSettings() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3<D>::MinLiveOffset() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3<D>::MinLiveOffset() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource3)->get_MinLiveOffset(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3<D>::MaxSeekableWindowSize() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3<D>::MaxSeekableWindowSize() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource3)->get_MaxSeekableWindowSize(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3<D>::DesiredSeekableWindowSize() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3<D>::DesiredSeekableWindowSize() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource3)->get_DesiredSeekableWindowSize(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3<D>::DesiredSeekableWindowSize(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3<D>::DesiredSeekableWindowSize(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource3)->put_DesiredSeekableWindowSize(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3<D>::Diagnostics() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCorrelatedTimes) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3<D>::GetCorrelatedTimes() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings<D>::AllSegmentsIndependent() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings<D>::AllSegmentsIndependent() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings)->get_AllSegmentsIndependent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings<D>::AllSegmentsIndependent(bool value) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings<D>::AllSegmentsIndependent(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings)->put_AllSegmentsIndependent(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings<D>::DesiredBitrateHeadroomRatio() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings<D>::DesiredBitrateHeadroomRatio() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings)->get_DesiredBitrateHeadroomRatio(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings<D>::DesiredBitrateHeadroomRatio(winrt::Windows::Foundation::IReference<double> const& value) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings<D>::DesiredBitrateHeadroomRatio(winrt::Windows::Foundation::IReference<double> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings)->put_DesiredBitrateHeadroomRatio(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings<D>::BitrateDowngradeTriggerRatio() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings<D>::BitrateDowngradeTriggerRatio() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings)->get_BitrateDowngradeTriggerRatio(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings<D>::BitrateDowngradeTriggerRatio(winrt::Windows::Foundation::IReference<double> const& value) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceAdvancedSettings<D>::BitrateDowngradeTriggerRatio(winrt::Windows::Foundation::IReference<double> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings)->put_BitrateDowngradeTriggerRatio(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes<D>::Position() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCorrelatedTimes)->get_Position(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes<D>::PresentationTimeStamp() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes<D>::PresentationTimeStamp() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCorrelatedTimes)->get_PresentationTimeStamp(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes<D>::ProgramDateTime() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes<D>::ProgramDateTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCorrelatedTimes)->get_ProgramDateTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationStatus) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult<D>::Status() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult<D>::Status() const
{
winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult<D>::MediaSource() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult<D>::HttpResponseMessage() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult2<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult2<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult2)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticType) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::DiagnosticType() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::DiagnosticType() const
{
winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs)->get_DiagnosticType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::RequestId() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::RequestId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs)->get_RequestId(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::Position() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs)->get_Position(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::SegmentId() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::SegmentId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs)->get_SegmentId(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::ResourceType() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::ResourceType() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs)->get_ResourceType(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::ResourceUri() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::ResourceByteRangeOffset() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::ResourceByteRangeOffset() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs)->get_ResourceByteRangeOffset(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::ResourceByteRangeLength() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::ResourceByteRangeLength() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs)->get_ResourceByteRangeLength(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::Bitrate() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs<D>::Bitrate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs)->get_Bitrate(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs2<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs2<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs2)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs3<D>::ResourceDuration() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs3<D>::ResourceDuration() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs3)->get_ResourceDuration(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs3<D>::ResourceContentType() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics<D>::DiagnosticAvailable(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticAvailableEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics<D>::DiagnosticAvailable(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticAvailableEventArgs> 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 D> typename consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics<D>::DiagnosticAvailable_revoker consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics<D>::DiagnosticAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticAvailableEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics<D>::DiagnosticAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticAvailableEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DiagnosticAvailable_revoker>(this, DiagnosticAvailable(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics<D>::DiagnosticAvailable(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics<D>::DiagnosticAvailable(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnostics)->remove_DiagnosticAvailable(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs<D>::OldValue() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs<D>::OldValue() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs)->get_OldValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs<D>::NewValue() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs<D>::NewValue() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs)->get_NewValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedReason) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2<D>::Reason() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2<D>::Reason() const
{
winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs<D>::ResourceType() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs<D>::ResourceType() const
{
winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs)->get_ResourceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs<D>::ResourceUri() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs<D>::ResourceByteRangeOffset() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs<D>::ResourceByteRangeOffset() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs)->get_ResourceByteRangeOffset(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs<D>::ResourceByteRangeLength() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs<D>::ResourceByteRangeLength() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs)->get_ResourceByteRangeLength(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs<D>::HttpResponseMessage() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs2<D>::RequestId() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs2<D>::RequestId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs2)->get_RequestId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadStatistics) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs2<D>::Statistics() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs2<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs2<D>::Position() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs2)->get_Position(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs3<D>::ResourceDuration() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs3<D>::ResourceDuration() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs3)->get_ResourceDuration(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs3<D>::ResourceContentType() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs<D>::ResourceType() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs<D>::ResourceType() const
{
winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs)->get_ResourceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs<D>::ResourceUri() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs<D>::ResourceByteRangeOffset() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs<D>::ResourceByteRangeOffset() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs)->get_ResourceByteRangeOffset(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs<D>::ResourceByteRangeLength() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs<D>::ResourceByteRangeLength() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs)->get_ResourceByteRangeLength(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs<D>::HttpResponseMessage() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2<D>::RequestId() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2<D>::RequestId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs2)->get_RequestId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs2)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadStatistics) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2<D>::Statistics() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs2<D>::Position() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs2)->get_Position(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs3<D>::ResourceDuration() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs3<D>::ResourceDuration() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs3)->get_ResourceDuration(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs3<D>::ResourceContentType() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs<D>::ResourceType() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs<D>::ResourceType() const
{
winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceResourceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs)->get_ResourceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs<D>::ResourceUri() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs<D>::ResourceByteRangeOffset() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs<D>::ResourceByteRangeOffset() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs)->get_ResourceByteRangeOffset(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs<D>::ResourceByteRangeLength() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs<D>::ResourceByteRangeLength() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs)->get_ResourceByteRangeLength(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadResult) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs<D>::Result() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedDeferral) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs2<D>::RequestId() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs2<D>::RequestId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs2)->get_RequestId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs2<D>::Position() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs2<D>::Position() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs2)->get_Position(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs3<D>::ResourceDuration() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs3<D>::ResourceDuration() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs3)->get_ResourceDuration(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs3<D>::ResourceContentType() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::ResourceUri() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::ResourceUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::ResourceUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult)->put_ResourceUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::InputStream() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::InputStream(winrt::Windows::Storage::Streams::IInputStream const& value) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::Buffer() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::Buffer(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::ContentType() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::ContentType(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::ContentType(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult)->put_ContentType(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::ExtendedStatus() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::ExtendedStatus() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult)->get_ExtendedStatus(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::ExtendedStatus(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult<D>::ExtendedStatus(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult)->put_ExtendedStatus(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2<D>::ResourceByteRangeOffset() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2<D>::ResourceByteRangeOffset() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult2)->get_ResourceByteRangeOffset(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2<D>::ResourceByteRangeOffset(winrt::Windows::Foundation::IReference<uint64_t> const& value) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2<D>::ResourceByteRangeOffset(winrt::Windows::Foundation::IReference<uint64_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult2)->put_ResourceByteRangeOffset(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2<D>::ResourceByteRangeLength() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2<D>::ResourceByteRangeLength() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult2)->get_ResourceByteRangeLength(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2<D>::ResourceByteRangeLength(winrt::Windows::Foundation::IReference<uint64_t> const& value) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2<D>::ResourceByteRangeLength(winrt::Windows::Foundation::IReference<uint64_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult2)->put_ResourceByteRangeLength(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics<D>::ContentBytesReceivedCount() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics<D>::ContentBytesReceivedCount() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics)->get_ContentBytesReceivedCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics<D>::TimeToHeadersReceived() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics<D>::TimeToHeadersReceived() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics)->get_TimeToHeadersReceived(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics<D>::TimeToFirstByteReceived() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics<D>::TimeToFirstByteReceived() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics)->get_TimeToFirstByteReceived(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics<D>::TimeToLastByteReceived() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics<D>::TimeToLastByteReceived() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics)->get_TimeToLastByteReceived(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs<D>::OldValue() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs<D>::OldValue() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs)->get_OldValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs<D>::NewValue() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs<D>::NewValue() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs)->get_NewValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs<D>::AudioOnly() const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs<D>::AudioOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs)->get_AudioOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics<D>::IsContentTypeSupported(param::hstring const& contentType) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationResult>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics<D>::CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics<D>::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<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationResult>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics<D>::CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpClient const& httpClient) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics<D>::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<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationResult>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics<D>::CreateFromStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& stream, winrt::Windows::Foundation::Uri const& uri, param::hstring const& contentType) const
+ template <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics<D>::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<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationResult>) consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics<D>::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 <typename D> auto consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Transcoding.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Transcoding.h
index a0ec7047c3c..498148dee7b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.Transcoding.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder<D>::TrimStartTime(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Transcoding_IMediaTranscoder<D>::TrimStartTime() const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder<D>::TrimStopTime(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_Transcoding_IMediaTranscoder<D>::TrimStopTime() const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder<D>::AlwaysReencode(bool value) const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder<D>::AlwaysReencode(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->put_AlwaysReencode(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Transcoding_IMediaTranscoder<D>::AlwaysReencode() const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder<D>::AlwaysReencode() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->get_AlwaysReencode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder<D>::HardwareAccelerationEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder<D>::HardwareAccelerationEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->put_HardwareAccelerationEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Transcoding_IMediaTranscoder<D>::HardwareAccelerationEnabled() const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder<D>::HardwareAccelerationEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->get_HardwareAccelerationEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder<D>::AddAudioEffect(param::hstring const& activatableClassId) const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder<D>::AddAudioEffect(param::hstring const& activatableClassId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->AddAudioEffect(*(void**)(&activatableClassId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder<D>::AddAudioEffect(param::hstring const& activatableClassId, bool effectRequired, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder<D>::AddVideoEffect(param::hstring const& activatableClassId) const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder<D>::AddVideoEffect(param::hstring const& activatableClassId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->AddVideoEffect(*(void**)(&activatableClassId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder<D>::AddVideoEffect(param::hstring const& activatableClassId, bool effectRequired, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder<D>::ClearEffects() const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder<D>::ClearEffects() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder)->ClearEffects());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Transcoding::PrepareTranscodeResult>) consume_Windows_Media_Transcoding_IMediaTranscoder<D>::PrepareFileTranscodeAsync(winrt::Windows::Storage::IStorageFile const& source, winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder<D>::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<winrt::Windows::Media::Transcoding::PrepareTranscodeResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Transcoding::PrepareTranscodeResult>) consume_Windows_Media_Transcoding_IMediaTranscoder<D>::PrepareStreamTranscodeAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& source, winrt::Windows::Storage::Streams::IRandomAccessStream const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder<D>::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<winrt::Windows::Media::Transcoding::PrepareTranscodeResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Transcoding::PrepareTranscodeResult>) consume_Windows_Media_Transcoding_IMediaTranscoder2<D>::PrepareMediaStreamSourceTranscodeAsync(winrt::Windows::Media::Core::IMediaSource const& source, winrt::Windows::Storage::Streams::IRandomAccessStream const& destination, winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& profile) const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder2<D>::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<winrt::Windows::Media::Transcoding::PrepareTranscodeResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_Transcoding_IMediaTranscoder2<D>::VideoProcessingAlgorithm(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm const& value) const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder2<D>::VideoProcessingAlgorithm(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder2)->put_VideoProcessingAlgorithm(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm) consume_Windows_Media_Transcoding_IMediaTranscoder2<D>::VideoProcessingAlgorithm() const
+ template <typename D> auto consume_Windows_Media_Transcoding_IMediaTranscoder2<D>::VideoProcessingAlgorithm() const
{
winrt::Windows::Media::Transcoding::MediaVideoProcessingAlgorithm value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IMediaTranscoder2)->get_VideoProcessingAlgorithm(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_Transcoding_IPrepareTranscodeResult<D>::CanTranscode() const
+ template <typename D> auto consume_Windows_Media_Transcoding_IPrepareTranscodeResult<D>::CanTranscode() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IPrepareTranscodeResult)->get_CanTranscode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Transcoding::TranscodeFailureReason) consume_Windows_Media_Transcoding_IPrepareTranscodeResult<D>::FailureReason() const
+ template <typename D> auto consume_Windows_Media_Transcoding_IPrepareTranscodeResult<D>::FailureReason() const
{
winrt::Windows::Media::Transcoding::TranscodeFailureReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IPrepareTranscodeResult)->get_FailureReason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress<double>) consume_Windows_Media_Transcoding_IPrepareTranscodeResult<D>::TranscodeAsync() const
+ template <typename D> auto consume_Windows_Media_Transcoding_IPrepareTranscodeResult<D>::TranscodeAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::Transcoding::IPrepareTranscodeResult)->TranscodeAsync(&operation));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.h
index bb78faab76e..2cc56c0aa61 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Media.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_IAudioBuffer<D>::Capacity() const
+ template <typename D> auto consume_Windows_Media_IAudioBuffer<D>::Capacity() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IAudioBuffer)->get_Capacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_IAudioBuffer<D>::Length() const
+ template <typename D> auto consume_Windows_Media_IAudioBuffer<D>::Length() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IAudioBuffer)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IAudioBuffer<D>::Length(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_IAudioBuffer<D>::Length(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IAudioBuffer)->put_Length(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AudioBuffer) consume_Windows_Media_IAudioFrame<D>::LockBuffer(winrt::Windows::Media::AudioBufferAccessMode const& mode) const
+ template <typename D> auto consume_Windows_Media_IAudioFrame<D>::LockBuffer(winrt::Windows::Media::AudioBufferAccessMode const& mode) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IAudioFrame)->LockBuffer(static_cast<int32_t>(mode), &value));
return winrt::Windows::Media::AudioBuffer{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) consume_Windows_Media_IAudioFrameFactory<D>::Create(uint32_t capacity) const
+ template <typename D> auto consume_Windows_Media_IAudioFrameFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackAutoRepeatMode) consume_Windows_Media_IAutoRepeatModeChangeRequestedEventArgs<D>::RequestedAutoRepeatMode() const
+ template <typename D> auto consume_Windows_Media_IAutoRepeatModeChangeRequestedEventArgs<D>::RequestedAutoRepeatMode() const
{
winrt::Windows::Media::MediaPlaybackAutoRepeatMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IAutoRepeatModeChangeRequestedEventArgs)->get_RequestedAutoRepeatMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IImageDisplayProperties<D>::Title() const
+ template <typename D> auto consume_Windows_Media_IImageDisplayProperties<D>::Title() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IImageDisplayProperties)->get_Title(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IImageDisplayProperties<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_IImageDisplayProperties<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IImageDisplayProperties)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IImageDisplayProperties<D>::Subtitle() const
+ template <typename D> auto consume_Windows_Media_IImageDisplayProperties<D>::Subtitle() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IImageDisplayProperties)->get_Subtitle(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IImageDisplayProperties<D>::Subtitle(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_IImageDisplayProperties<D>::Subtitle(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IImageDisplayProperties)->put_Subtitle(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl<D>::SoundLevelChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::SoundLevelChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_IMediaControl<D>::SoundLevelChanged_revoker consume_Windows_Media_IMediaControl<D>::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SoundLevelChanged_revoker>(this, SoundLevelChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl<D>::SoundLevelChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::SoundLevelChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_SoundLevelChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl<D>::PlayPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::PlayPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_IMediaControl<D>::PlayPressed_revoker consume_Windows_Media_IMediaControl<D>::PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, PlayPressed_revoker>(this, PlayPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl<D>::PlayPressed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::PlayPressed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_PlayPressed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl<D>::PausePressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::PausePressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_IMediaControl<D>::PausePressed_revoker consume_Windows_Media_IMediaControl<D>::PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, PausePressed_revoker>(this, PausePressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl<D>::PausePressed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::PausePressed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_PausePressed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl<D>::StopPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::StopPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_IMediaControl<D>::StopPressed_revoker consume_Windows_Media_IMediaControl<D>::StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, StopPressed_revoker>(this, StopPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl<D>::StopPressed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::StopPressed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_StopPressed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl<D>::PlayPauseTogglePressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::PlayPauseTogglePressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_IMediaControl<D>::PlayPauseTogglePressed_revoker consume_Windows_Media_IMediaControl<D>::PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, PlayPauseTogglePressed_revoker>(this, PlayPauseTogglePressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl<D>::PlayPauseTogglePressed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::PlayPauseTogglePressed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_PlayPauseTogglePressed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl<D>::RecordPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::RecordPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_IMediaControl<D>::RecordPressed_revoker consume_Windows_Media_IMediaControl<D>::RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, RecordPressed_revoker>(this, RecordPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl<D>::RecordPressed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::RecordPressed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_RecordPressed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl<D>::NextTrackPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::NextTrackPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_IMediaControl<D>::NextTrackPressed_revoker consume_Windows_Media_IMediaControl<D>::NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, NextTrackPressed_revoker>(this, NextTrackPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl<D>::NextTrackPressed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::NextTrackPressed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_NextTrackPressed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl<D>::PreviousTrackPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::PreviousTrackPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_IMediaControl<D>::PreviousTrackPressed_revoker consume_Windows_Media_IMediaControl<D>::PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, PreviousTrackPressed_revoker>(this, PreviousTrackPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl<D>::PreviousTrackPressed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::PreviousTrackPressed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_PreviousTrackPressed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl<D>::FastForwardPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::FastForwardPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_IMediaControl<D>::FastForwardPressed_revoker consume_Windows_Media_IMediaControl<D>::FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, FastForwardPressed_revoker>(this, FastForwardPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl<D>::FastForwardPressed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::FastForwardPressed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_FastForwardPressed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl<D>::RewindPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::RewindPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_IMediaControl<D>::RewindPressed_revoker consume_Windows_Media_IMediaControl<D>::RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, RewindPressed_revoker>(this, RewindPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl<D>::RewindPressed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::RewindPressed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_RewindPressed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl<D>::ChannelUpPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::ChannelUpPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_IMediaControl<D>::ChannelUpPressed_revoker consume_Windows_Media_IMediaControl<D>::ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ChannelUpPressed_revoker>(this, ChannelUpPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl<D>::ChannelUpPressed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::ChannelUpPressed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_ChannelUpPressed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaControl<D>::ChannelDownPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::ChannelDownPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_IMediaControl<D>::ChannelDownPressed_revoker consume_Windows_Media_IMediaControl<D>::ChannelDownPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::ChannelDownPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ChannelDownPressed_revoker>(this, ChannelDownPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl<D>::ChannelDownPressed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::ChannelDownPressed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->remove_ChannelDownPressed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SoundLevel) consume_Windows_Media_IMediaControl<D>::SoundLevel() const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::SoundLevel() const
{
winrt::Windows::Media::SoundLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->get_SoundLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl<D>::TrackName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::TrackName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->put_TrackName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMediaControl<D>::TrackName() const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::TrackName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->get_TrackName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl<D>::ArtistName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::ArtistName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->put_ArtistName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMediaControl<D>::ArtistName() const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::ArtistName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->get_ArtistName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl<D>::IsPlaying(bool value) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::IsPlaying(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->put_IsPlaying(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_IMediaControl<D>::IsPlaying() const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::IsPlaying() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->get_IsPlaying(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaControl<D>::AlbumArt(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::AlbumArt(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaControl)->put_AlbumArt(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Media_IMediaControl<D>::AlbumArt() const
+ template <typename D> auto consume_Windows_Media_IMediaControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtension<D>::SetProperties(winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const
+ template <typename D> auto consume_Windows_Media_IMediaExtension<D>::SetProperties(winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaExtension)->SetProperties(*(void**)(&configuration)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager<D>::RegisterSchemeHandler(param::hstring const& activatableClassId, param::hstring const& scheme) const
+ template <typename D> auto consume_Windows_Media_IMediaExtensionManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager<D>::RegisterSchemeHandler(param::hstring const& activatableClassId, param::hstring const& scheme, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const
+ template <typename D> auto consume_Windows_Media_IMediaExtensionManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager<D>::RegisterByteStreamHandler(param::hstring const& activatableClassId, param::hstring const& fileExtension, param::hstring const& mimeType) const
+ template <typename D> auto consume_Windows_Media_IMediaExtensionManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager<D>::RegisterByteStreamHandler(param::hstring const& activatableClassId, param::hstring const& fileExtension, param::hstring const& mimeType, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const
+ template <typename D> auto consume_Windows_Media_IMediaExtensionManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager<D>::RegisterAudioDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const
+ template <typename D> auto consume_Windows_Media_IMediaExtensionManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager<D>::RegisterAudioDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const
+ template <typename D> auto consume_Windows_Media_IMediaExtensionManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager<D>::RegisterAudioEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const
+ template <typename D> auto consume_Windows_Media_IMediaExtensionManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager<D>::RegisterAudioEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const
+ template <typename D> auto consume_Windows_Media_IMediaExtensionManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager<D>::RegisterVideoDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const
+ template <typename D> auto consume_Windows_Media_IMediaExtensionManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager<D>::RegisterVideoDecoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const
+ template <typename D> auto consume_Windows_Media_IMediaExtensionManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager<D>::RegisterVideoEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype) const
+ template <typename D> auto consume_Windows_Media_IMediaExtensionManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager<D>::RegisterVideoEncoder(param::hstring const& activatableClassId, winrt::guid const& inputSubtype, winrt::guid const& outputSubtype, winrt::Windows::Foundation::Collections::IPropertySet const& configuration) const
+ template <typename D> auto consume_Windows_Media_IMediaExtensionManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaExtensionManager2<D>::RegisterMediaExtensionForAppService(winrt::Windows::Media::IMediaExtension const& extension, winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& connection) const
+ template <typename D> auto consume_Windows_Media_IMediaExtensionManager2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMediaFrame<D>::Type() const
+ template <typename D> auto consume_Windows_Media_IMediaFrame<D>::Type() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->get_Type(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_IMediaFrame<D>::IsReadOnly() const
+ template <typename D> auto consume_Windows_Media_IMediaFrame<D>::IsReadOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->get_IsReadOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaFrame<D>::RelativeTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Media_IMediaFrame<D>::RelativeTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->put_RelativeTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_IMediaFrame<D>::RelativeTime() const
+ template <typename D> auto consume_Windows_Media_IMediaFrame<D>::RelativeTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->get_RelativeTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaFrame<D>::SystemRelativeTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Media_IMediaFrame<D>::SystemRelativeTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->put_SystemRelativeTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_IMediaFrame<D>::SystemRelativeTime() const
+ template <typename D> auto consume_Windows_Media_IMediaFrame<D>::SystemRelativeTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->get_SystemRelativeTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaFrame<D>::Duration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Media_IMediaFrame<D>::Duration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->put_Duration(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_IMediaFrame<D>::Duration() const
+ template <typename D> auto consume_Windows_Media_IMediaFrame<D>::Duration() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->get_Duration(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaFrame<D>::IsDiscontinuous(bool value) const
+ template <typename D> auto consume_Windows_Media_IMediaFrame<D>::IsDiscontinuous(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->put_IsDiscontinuous(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_IMediaFrame<D>::IsDiscontinuous() const
+ template <typename D> auto consume_Windows_Media_IMediaFrame<D>::IsDiscontinuous() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaFrame)->get_IsDiscontinuous(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Media_IMediaFrame<D>::ExtendedProperties() const
+ template <typename D> auto consume_Windows_Media_IMediaFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_IMediaMarker<D>::Time() const
+ template <typename D> auto consume_Windows_Media_IMediaMarker<D>::Time() const
{
winrt::Windows::Foundation::TimeSpan value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaMarker)->get_Time(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMediaMarker<D>::MediaMarkerType() const
+ template <typename D> auto consume_Windows_Media_IMediaMarker<D>::MediaMarkerType() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaMarker)->get_MediaMarkerType(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMediaMarker<D>::Text() const
+ template <typename D> auto consume_Windows_Media_IMediaMarker<D>::Text() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaMarker)->get_Text(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMediaMarkerTypesStatics<D>::Bookmark() const
+ template <typename D> auto consume_Windows_Media_IMediaMarkerTypesStatics<D>::Bookmark() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaMarkerTypesStatics)->get_Bookmark(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::IMediaMarker>) consume_Windows_Media_IMediaMarkers<D>::Markers() const
+ template <typename D> auto consume_Windows_Media_IMediaMarkers<D>::Markers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaMarkers)->get_Markers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::IMediaMarker>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Media_IMediaProcessingTriggerDetails<D>::Arguments() const
+ template <typename D> auto consume_Windows_Media_IMediaProcessingTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController<D>::Start() const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController<D>::Resume() const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController<D>::Resume() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->Resume());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController<D>::Pause() const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController<D>::Pause() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->Pause());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_IMediaTimelineController<D>::Position() const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController<D>::Position() const
{
winrt::Windows::Foundation::TimeSpan value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->get_Position(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController<D>::Position(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController<D>::Position(winrt::Windows::Foundation::TimeSpan const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->put_Position(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_IMediaTimelineController<D>::ClockRate() const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController<D>::ClockRate() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->get_ClockRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController<D>::ClockRate(double value) const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController<D>::ClockRate(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->put_ClockRate(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaTimelineControllerState) consume_Windows_Media_IMediaTimelineController<D>::State() const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController<D>::State() const
{
winrt::Windows::Media::MediaTimelineControllerState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaTimelineController<D>::PositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> const& positionChangedEventHandler) const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController<D>::PositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_IMediaTimelineController<D>::PositionChanged_revoker consume_Windows_Media_IMediaTimelineController<D>::PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> const& positionChangedEventHandler) const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController<D>::PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> const& positionChangedEventHandler) const
{
return impl::make_event_revoker<D, PositionChanged_revoker>(this, PositionChanged(positionChangedEventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController<D>::PositionChanged(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController<D>::PositionChanged(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->remove_PositionChanged(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaTimelineController<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> const& stateChangedEventHandler) const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_IMediaTimelineController<D>::StateChanged_revoker consume_Windows_Media_IMediaTimelineController<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> const& stateChangedEventHandler) const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> const& stateChangedEventHandler) const
{
return impl::make_event_revoker<D, StateChanged_revoker>(this, StateChanged(stateChangedEventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController<D>::StateChanged(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController<D>::StateChanged(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController)->remove_StateChanged(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Media_IMediaTimelineController2<D>::Duration() const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController2<D>::Duration() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController2)->get_Duration(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController2<D>::Duration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController2<D>::Duration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController2)->put_Duration(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_IMediaTimelineController2<D>::IsLoopingEnabled() const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController2<D>::IsLoopingEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController2)->get_IsLoopingEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController2<D>::IsLoopingEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController2<D>::IsLoopingEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController2)->put_IsLoopingEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaTimelineController2<D>::Failed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Media::MediaTimelineControllerFailedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController2<D>::Failed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Media::MediaTimelineControllerFailedEventArgs> 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 D> typename consume_Windows_Media_IMediaTimelineController2<D>::Failed_revoker consume_Windows_Media_IMediaTimelineController2<D>::Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Media::MediaTimelineControllerFailedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController2<D>::Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Media::MediaTimelineControllerFailedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, Failed_revoker>(this, Failed(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController2<D>::Failed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController2<D>::Failed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController2)->remove_Failed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_IMediaTimelineController2<D>::Ended(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController2<D>::Ended(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Media_IMediaTimelineController2<D>::Ended_revoker consume_Windows_Media_IMediaTimelineController2<D>::Ended(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController2<D>::Ended(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
{
return impl::make_event_revoker<D, Ended_revoker>(this, Ended(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMediaTimelineController2<D>::Ended(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_IMediaTimelineController2<D>::Ended(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineController2)->remove_Ended(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Media_IMediaTimelineControllerFailedEventArgs<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Media_IMediaTimelineControllerFailedEventArgs<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMediaTimelineControllerFailedEventArgs)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMusicDisplayProperties<D>::Title() const
+ template <typename D> auto consume_Windows_Media_IMusicDisplayProperties<D>::Title() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties)->get_Title(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMusicDisplayProperties<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_IMusicDisplayProperties<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMusicDisplayProperties<D>::AlbumArtist() const
+ template <typename D> auto consume_Windows_Media_IMusicDisplayProperties<D>::AlbumArtist() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties)->get_AlbumArtist(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMusicDisplayProperties<D>::AlbumArtist(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_IMusicDisplayProperties<D>::AlbumArtist(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties)->put_AlbumArtist(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMusicDisplayProperties<D>::Artist() const
+ template <typename D> auto consume_Windows_Media_IMusicDisplayProperties<D>::Artist() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties)->get_Artist(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMusicDisplayProperties<D>::Artist(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_IMusicDisplayProperties<D>::Artist(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties)->put_Artist(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IMusicDisplayProperties2<D>::AlbumTitle() const
+ template <typename D> auto consume_Windows_Media_IMusicDisplayProperties2<D>::AlbumTitle() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties2)->get_AlbumTitle(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMusicDisplayProperties2<D>::AlbumTitle(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_IMusicDisplayProperties2<D>::AlbumTitle(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties2)->put_AlbumTitle(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_IMusicDisplayProperties2<D>::TrackNumber() const
+ template <typename D> auto consume_Windows_Media_IMusicDisplayProperties2<D>::TrackNumber() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties2)->get_TrackNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMusicDisplayProperties2<D>::TrackNumber(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_IMusicDisplayProperties2<D>::TrackNumber(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties2)->put_TrackNumber(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Media_IMusicDisplayProperties2<D>::Genres() const
+ template <typename D> auto consume_Windows_Media_IMusicDisplayProperties2<D>::Genres() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties2)->get_Genres(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Media_IMusicDisplayProperties3<D>::AlbumTrackCount() const
+ template <typename D> auto consume_Windows_Media_IMusicDisplayProperties3<D>::AlbumTrackCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties3)->get_AlbumTrackCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IMusicDisplayProperties3<D>::AlbumTrackCount(uint32_t value) const
+ template <typename D> auto consume_Windows_Media_IMusicDisplayProperties3<D>::AlbumTrackCount(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IMusicDisplayProperties3)->put_AlbumTrackCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_IPlaybackPositionChangeRequestedEventArgs<D>::RequestedPlaybackPosition() const
+ template <typename D> auto consume_Windows_Media_IPlaybackPositionChangeRequestedEventArgs<D>::RequestedPlaybackPosition() const
{
winrt::Windows::Foundation::TimeSpan value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IPlaybackPositionChangeRequestedEventArgs)->get_RequestedPlaybackPosition(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_IPlaybackRateChangeRequestedEventArgs<D>::RequestedPlaybackRate() const
+ template <typename D> auto consume_Windows_Media_IPlaybackRateChangeRequestedEventArgs<D>::RequestedPlaybackRate() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IPlaybackRateChangeRequestedEventArgs)->get_RequestedPlaybackRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_IShuffleEnabledChangeRequestedEventArgs<D>::RequestedShuffleEnabled() const
+ template <typename D> auto consume_Windows_Media_IShuffleEnabledChangeRequestedEventArgs<D>::RequestedShuffleEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IShuffleEnabledChangeRequestedEventArgs)->get_RequestedShuffleEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackStatus) consume_Windows_Media_ISystemMediaTransportControls<D>::PlaybackStatus() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::PlaybackStatus() const
{
winrt::Windows::Media::MediaPlaybackStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_PlaybackStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls<D>::PlaybackStatus(winrt::Windows::Media::MediaPlaybackStatus const& value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::PlaybackStatus(winrt::Windows::Media::MediaPlaybackStatus const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_PlaybackStatus(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControlsDisplayUpdater) consume_Windows_Media_ISystemMediaTransportControls<D>::DisplayUpdater() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SoundLevel) consume_Windows_Media_ISystemMediaTransportControls<D>::SoundLevel() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::SoundLevel() const
{
winrt::Windows::Media::SoundLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_SoundLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls<D>::IsPlayEnabled() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsPlayEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsPlayEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls<D>::IsPlayEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsPlayEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsPlayEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls<D>::IsStopEnabled() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsStopEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsStopEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls<D>::IsStopEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsStopEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsStopEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls<D>::IsPauseEnabled() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsPauseEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsPauseEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls<D>::IsPauseEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsPauseEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsPauseEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls<D>::IsRecordEnabled() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsRecordEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsRecordEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls<D>::IsRecordEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsRecordEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsRecordEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls<D>::IsFastForwardEnabled() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsFastForwardEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsFastForwardEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls<D>::IsFastForwardEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsFastForwardEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsFastForwardEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls<D>::IsRewindEnabled() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsRewindEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsRewindEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls<D>::IsRewindEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsRewindEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsRewindEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls<D>::IsPreviousEnabled() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsPreviousEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsPreviousEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls<D>::IsPreviousEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsPreviousEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsPreviousEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls<D>::IsNextEnabled() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsNextEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsNextEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls<D>::IsNextEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsNextEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsNextEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls<D>::IsChannelUpEnabled() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsChannelUpEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsChannelUpEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls<D>::IsChannelUpEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsChannelUpEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsChannelUpEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls<D>::IsChannelDownEnabled() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsChannelDownEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->get_IsChannelDownEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls<D>::IsChannelDownEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::IsChannelDownEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->put_IsChannelDownEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_ISystemMediaTransportControls<D>::ButtonPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::SystemMediaTransportControlsButtonPressedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::ButtonPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::SystemMediaTransportControlsButtonPressedEventArgs> 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 D> typename consume_Windows_Media_ISystemMediaTransportControls<D>::ButtonPressed_revoker consume_Windows_Media_ISystemMediaTransportControls<D>::ButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::SystemMediaTransportControlsButtonPressedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::ButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::SystemMediaTransportControlsButtonPressedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ButtonPressed_revoker>(this, ButtonPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls<D>::ButtonPressed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::ButtonPressed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->remove_ButtonPressed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_ISystemMediaTransportControls<D>::PropertyChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::SystemMediaTransportControlsPropertyChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::PropertyChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::SystemMediaTransportControlsPropertyChangedEventArgs> 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 D> typename consume_Windows_Media_ISystemMediaTransportControls<D>::PropertyChanged_revoker consume_Windows_Media_ISystemMediaTransportControls<D>::PropertyChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::SystemMediaTransportControlsPropertyChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::PropertyChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::SystemMediaTransportControlsPropertyChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PropertyChanged_revoker>(this, PropertyChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls<D>::PropertyChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls<D>::PropertyChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls)->remove_PropertyChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackAutoRepeatMode) consume_Windows_Media_ISystemMediaTransportControls2<D>::AutoRepeatMode() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::AutoRepeatMode() const
{
winrt::Windows::Media::MediaPlaybackAutoRepeatMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->get_AutoRepeatMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls2<D>::AutoRepeatMode(winrt::Windows::Media::MediaPlaybackAutoRepeatMode const& value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::AutoRepeatMode(winrt::Windows::Media::MediaPlaybackAutoRepeatMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->put_AutoRepeatMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Media_ISystemMediaTransportControls2<D>::ShuffleEnabled() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::ShuffleEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->get_ShuffleEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls2<D>::ShuffleEnabled(bool value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::ShuffleEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->put_ShuffleEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackRate() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackRate() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->get_PlaybackRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackRate(double value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackRate(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->put_PlaybackRate(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls2<D>::UpdateTimelineProperties(winrt::Windows::Media::SystemMediaTransportControlsTimelineProperties const& timelineProperties) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::UpdateTimelineProperties(winrt::Windows::Media::SystemMediaTransportControlsTimelineProperties const& timelineProperties) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->UpdateTimelineProperties(*(void**)(&timelineProperties)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackPositionChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::PlaybackPositionChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackPositionChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::PlaybackPositionChangeRequestedEventArgs> 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 D> typename consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackPositionChangeRequested_revoker consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackPositionChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::PlaybackPositionChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackPositionChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::PlaybackPositionChangeRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PlaybackPositionChangeRequested_revoker>(this, PlaybackPositionChangeRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackPositionChangeRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackPositionChangeRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->remove_PlaybackPositionChangeRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackRateChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::PlaybackRateChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackRateChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::PlaybackRateChangeRequestedEventArgs> 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 D> typename consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackRateChangeRequested_revoker consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::PlaybackRateChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::PlaybackRateChangeRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PlaybackRateChangeRequested_revoker>(this, PlaybackRateChangeRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackRateChangeRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::PlaybackRateChangeRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->remove_PlaybackRateChangeRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_ISystemMediaTransportControls2<D>::ShuffleEnabledChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::ShuffleEnabledChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::ShuffleEnabledChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::ShuffleEnabledChangeRequestedEventArgs> 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 D> typename consume_Windows_Media_ISystemMediaTransportControls2<D>::ShuffleEnabledChangeRequested_revoker consume_Windows_Media_ISystemMediaTransportControls2<D>::ShuffleEnabledChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::ShuffleEnabledChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::ShuffleEnabledChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::ShuffleEnabledChangeRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ShuffleEnabledChangeRequested_revoker>(this, ShuffleEnabledChangeRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls2<D>::ShuffleEnabledChangeRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::ShuffleEnabledChangeRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->remove_ShuffleEnabledChangeRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Media_ISystemMediaTransportControls2<D>::AutoRepeatModeChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::AutoRepeatModeChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::AutoRepeatModeChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::AutoRepeatModeChangeRequestedEventArgs> 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 D> typename consume_Windows_Media_ISystemMediaTransportControls2<D>::AutoRepeatModeChangeRequested_revoker consume_Windows_Media_ISystemMediaTransportControls2<D>::AutoRepeatModeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::AutoRepeatModeChangeRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::AutoRepeatModeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::AutoRepeatModeChangeRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AutoRepeatModeChangeRequested_revoker>(this, AutoRepeatModeChangeRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControls2<D>::AutoRepeatModeChangeRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControls2<D>::AutoRepeatModeChangeRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControls2)->remove_AutoRepeatModeChangeRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControlsButton) consume_Windows_Media_ISystemMediaTransportControlsButtonPressedEventArgs<D>::Button() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsButtonPressedEventArgs<D>::Button() const
{
winrt::Windows::Media::SystemMediaTransportControlsButton value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsButtonPressedEventArgs)->get_Button(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackType) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::Type() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::Type() const
{
winrt::Windows::Media::MediaPlaybackType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::Type(winrt::Windows::Media::MediaPlaybackType const& value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::Type(winrt::Windows::Media::MediaPlaybackType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->put_Type(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::AppMediaId() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::AppMediaId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->get_AppMediaId(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::AppMediaId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::AppMediaId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->put_AppMediaId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::Thumbnail(winrt::Windows::Storage::Streams::RandomAccessStreamReference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->put_Thumbnail(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::MusicDisplayProperties) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::MusicProperties() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoDisplayProperties) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::VideoProperties() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::ImageDisplayProperties) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::ImageProperties() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::CopyFromFileAsync(winrt::Windows::Media::MediaPlaybackType const& type, winrt::Windows::Storage::StorageFile const& source) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::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<int32_t>(type), *(void**)(&source), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::ClearAll() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::ClearAll() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->ClearAll());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::Update() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsDisplayUpdater<D>::Update() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater)->Update());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControlsProperty) consume_Windows_Media_ISystemMediaTransportControlsPropertyChangedEventArgs<D>::Property() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsPropertyChangedEventArgs<D>::Property() const
{
winrt::Windows::Media::SystemMediaTransportControlsProperty value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsPropertyChangedEventArgs)->get_Property(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControls) consume_Windows_Media_ISystemMediaTransportControlsStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::StartTime() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::StartTime() const
{
winrt::Windows::Foundation::TimeSpan value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->get_StartTime(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::StartTime(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::StartTime(winrt::Windows::Foundation::TimeSpan const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->put_StartTime(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::EndTime() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::EndTime() const
{
winrt::Windows::Foundation::TimeSpan value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->get_EndTime(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::EndTime(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::EndTime(winrt::Windows::Foundation::TimeSpan const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->put_EndTime(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::MinSeekTime() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::MinSeekTime() const
{
winrt::Windows::Foundation::TimeSpan value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->get_MinSeekTime(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::MinSeekTime(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::MinSeekTime(winrt::Windows::Foundation::TimeSpan const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->put_MinSeekTime(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::MaxSeekTime() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::MaxSeekTime() const
{
winrt::Windows::Foundation::TimeSpan value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->get_MaxSeekTime(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::MaxSeekTime(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::MaxSeekTime(winrt::Windows::Foundation::TimeSpan const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->put_MaxSeekTime(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::Position() const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::Position() const
{
winrt::Windows::Foundation::TimeSpan value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->get_Position(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::Position(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Media_ISystemMediaTransportControlsTimelineProperties<D>::Position(winrt::Windows::Foundation::TimeSpan const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties)->put_Position(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IVideoDisplayProperties<D>::Title() const
+ template <typename D> auto consume_Windows_Media_IVideoDisplayProperties<D>::Title() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoDisplayProperties)->get_Title(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IVideoDisplayProperties<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_IVideoDisplayProperties<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoDisplayProperties)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IVideoDisplayProperties<D>::Subtitle() const
+ template <typename D> auto consume_Windows_Media_IVideoDisplayProperties<D>::Subtitle() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoDisplayProperties)->get_Subtitle(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Media_IVideoDisplayProperties<D>::Subtitle(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Media_IVideoDisplayProperties<D>::Subtitle(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoDisplayProperties)->put_Subtitle(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Media_IVideoDisplayProperties2<D>::Genres() const
+ template <typename D> auto consume_Windows_Media_IVideoDisplayProperties2<D>::Genres() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoDisplayProperties2)->get_Genres(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Media_IVideoEffectsStatics<D>::VideoStabilization() const
+ template <typename D> auto consume_Windows_Media_IVideoEffectsStatics<D>::VideoStabilization() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Media::IVideoEffectsStatics)->get_VideoStabilization(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) consume_Windows_Media_IVideoFrame<D>::SoftwareBitmap() const
+ template <typename D> auto consume_Windows_Media_IVideoFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_IVideoFrame<D>::CopyToAsync(winrt::Windows::Media::VideoFrame const& frame) const
+ template <typename D> auto consume_Windows_Media_IVideoFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface) consume_Windows_Media_IVideoFrame<D>::Direct3DSurface() const
+ template <typename D> auto consume_Windows_Media_IVideoFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Media_IVideoFrame2<D>::CopyToAsync(winrt::Windows::Media::VideoFrame const& frame, winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::Imaging::BitmapBounds> const& sourceBounds, winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::Imaging::BitmapBounds> const& destinationBounds) const
+ template <typename D> auto consume_Windows_Media_IVideoFrame2<D>::CopyToAsync(winrt::Windows::Media::VideoFrame const& frame, winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::Imaging::BitmapBounds> const& sourceBounds, winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::Imaging::BitmapBounds> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_IVideoFrameFactory<D>::Create(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height) const
+ template <typename D> auto consume_Windows_Media_IVideoFrameFactory<D>::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<int32_t>(format), width, height, &value));
return winrt::Windows::Media::VideoFrame{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_IVideoFrameFactory<D>::CreateWithAlpha(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alpha) const
+ template <typename D> auto consume_Windows_Media_IVideoFrameFactory<D>::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<int32_t>(format), width, height, static_cast<int32_t>(alpha), &value));
return winrt::Windows::Media::VideoFrame{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_IVideoFrameStatics<D>::CreateAsDirect3D11SurfaceBacked(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, int32_t width, int32_t height) const
+ template <typename D> auto consume_Windows_Media_IVideoFrameStatics<D>::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<int32_t>(format), width, height, &result));
return winrt::Windows::Media::VideoFrame{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_IVideoFrameStatics<D>::CreateAsDirect3D11SurfaceBacked(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, int32_t width, int32_t height, winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& device) const
+ template <typename D> auto consume_Windows_Media_IVideoFrameStatics<D>::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<int32_t>(format), width, height, *(void**)(&device), &result));
return winrt::Windows::Media::VideoFrame{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_IVideoFrameStatics<D>::CreateWithSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& bitmap) const
+ template <typename D> auto consume_Windows_Media_IVideoFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) consume_Windows_Media_IVideoFrameStatics<D>::CreateWithDirect3D11Surface(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface) const
+ template <typename D> auto consume_Windows_Media_IVideoFrameStatics<D>::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<MediaControl, IMediaControl>([&](IMediaControl const& f) { return f.SoundLevelChanged(handler); });
}
- inline MediaControl::SoundLevelChanged_revoker MediaControl::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto MediaControl::SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<MediaControl, winrt::Windows::Media::IMediaControl>();
- 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<MediaControl, IMediaControl>([&](IMediaControl const& f) { return f.PlayPressed(handler); });
}
- inline MediaControl::PlayPressed_revoker MediaControl::PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto MediaControl::PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<MediaControl, winrt::Windows::Media::IMediaControl>();
- 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<MediaControl, IMediaControl>([&](IMediaControl const& f) { return f.PausePressed(handler); });
}
- inline MediaControl::PausePressed_revoker MediaControl::PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto MediaControl::PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<MediaControl, winrt::Windows::Media::IMediaControl>();
- 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<MediaControl, IMediaControl>([&](IMediaControl const& f) { return f.StopPressed(handler); });
}
- inline MediaControl::StopPressed_revoker MediaControl::StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto MediaControl::StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<MediaControl, winrt::Windows::Media::IMediaControl>();
- 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<MediaControl, IMediaControl>([&](IMediaControl const& f) { return f.PlayPauseTogglePressed(handler); });
}
- inline MediaControl::PlayPauseTogglePressed_revoker MediaControl::PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto MediaControl::PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<MediaControl, winrt::Windows::Media::IMediaControl>();
- 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<MediaControl, IMediaControl>([&](IMediaControl const& f) { return f.RecordPressed(handler); });
}
- inline MediaControl::RecordPressed_revoker MediaControl::RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto MediaControl::RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<MediaControl, winrt::Windows::Media::IMediaControl>();
- 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<MediaControl, IMediaControl>([&](IMediaControl const& f) { return f.NextTrackPressed(handler); });
}
- inline MediaControl::NextTrackPressed_revoker MediaControl::NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto MediaControl::NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<MediaControl, winrt::Windows::Media::IMediaControl>();
- 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<MediaControl, IMediaControl>([&](IMediaControl const& f) { return f.PreviousTrackPressed(handler); });
}
- inline MediaControl::PreviousTrackPressed_revoker MediaControl::PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto MediaControl::PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<MediaControl, winrt::Windows::Media::IMediaControl>();
- 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<MediaControl, IMediaControl>([&](IMediaControl const& f) { return f.FastForwardPressed(handler); });
}
- inline MediaControl::FastForwardPressed_revoker MediaControl::FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto MediaControl::FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<MediaControl, winrt::Windows::Media::IMediaControl>();
- 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<MediaControl, IMediaControl>([&](IMediaControl const& f) { return f.RewindPressed(handler); });
}
- inline MediaControl::RewindPressed_revoker MediaControl::RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto MediaControl::RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<MediaControl, winrt::Windows::Media::IMediaControl>();
- 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<MediaControl, IMediaControl>([&](IMediaControl const& f) { return f.ChannelUpPressed(handler); });
}
- inline MediaControl::ChannelUpPressed_revoker MediaControl::ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto MediaControl::ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<MediaControl, winrt::Windows::Media::IMediaControl>();
- 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<MediaControl, IMediaControl>([&](IMediaControl const& f) { return f.ChannelDownPressed(handler); });
}
- inline MediaControl::ChannelDownPressed_revoker MediaControl::ChannelDownPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto MediaControl::ChannelDownPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<MediaControl, winrt::Windows::Media::IMediaControl>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.BackgroundTransfer.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.BackgroundTransfer.h
index 6df645bd0db..d0fdbeb3d40 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.BackgroundTransfer.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader<D>::CreateDownload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader<D>::CreateDownload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile, winrt::Windows::Storage::IStorageFile const& requestBodyFile) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader<D>::CreateDownloadAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& resultFile, winrt::Windows::Storage::Streams::IInputStream const& requestBodyStream) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader<D>::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<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::TransferGroup() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::TransferGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::TransferGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader2)->put_TransferGroup(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::SuccessToastNotification() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::SuccessToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::SuccessToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader2)->put_SuccessToastNotification(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::FailureToastNotification() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::FailureToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::FailureToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader2)->put_FailureToastNotification(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::SuccessTileNotification() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::SuccessTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::SuccessTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader2)->put_SuccessTileNotification(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::FailureTileNotification() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::FailureTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader2<D>::FailureTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader2)->put_FailureTileNotification(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader3<D>::CompletionGroup() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundDownloader) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderFactory<D>::CreateWithCompletionGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup const& completionGroup) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>>) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods<D>::GetCurrentDownloadsAsync() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods<D>::GetCurrentDownloadsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloaderStaticMethods)->GetCurrentDownloadsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>>) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods<D>::GetCurrentDownloadsAsync(param::hstring const& group) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>>) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods2<D>::GetCurrentDownloadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods2<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::BackgroundTransfer::UnconstrainedTransferRequestResult>) consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderUserConsent<D>::RequestUnconstrainedDownloadsAsync(param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation> const& operations) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderUserConsent<D>::RequestUnconstrainedDownloadsAsync(param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation> const& operations) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloaderUserConsent)->RequestUnconstrainedDownloadsAsync(*(void**)(&operations), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::BackgroundTransfer::UnconstrainedTransferRequestResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::ServerCredential() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase)->put_ServerCredential(*(void**)(&credential)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::ProxyCredential() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase)->put_ProxyCredential(*(void**)(&credential)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::Method() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::Method(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::Method(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase)->put_Method(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::Group() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::Group(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::Group(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase)->put_Group(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::CostPolicy() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::CostPolicy() const
{
winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase)->get_CostPolicy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::CostPolicy(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferBase<D>::CostPolicy(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase)->put_CostPolicy(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroup<D>::Trigger() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroup<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroup<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroup<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferCompletionGroup)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroup<D>::Enable() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroup<D>::Enable() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferCompletionGroup)->Enable());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroupTriggerDetails<D>::Downloads() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroupTriggerDetails<D>::Downloads() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferCompletionGroupTriggerDetails)->get_Downloads(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroupTriggerDetails<D>::Uploads() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroupTriggerDetails<D>::Uploads() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferCompletionGroupTriggerDetails)->get_Uploads(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPart<D>::SetHeader(param::hstring const& headerName, param::hstring const& headerValue) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPart<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPart<D>::SetText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPart<D>::SetText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferContentPart)->SetText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPart<D>::SetFile(winrt::Windows::Storage::IStorageFile const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPart<D>::SetFile(winrt::Windows::Storage::IStorageFile const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferContentPart)->SetFile(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPartFactory<D>::CreateWithName(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPartFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPartFactory<D>::CreateWithNameAndFileName(param::hstring const& name, param::hstring const& fileName) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferContentPartFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferErrorStaticMethods<D>::GetStatus(int32_t hresult) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferErrorStaticMethods<D>::GetStatus(int32_t hresult) const
{
winrt::Windows::Web::WebErrorStatus status{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferErrorStaticMethods)->GetStatus(hresult, reinterpret_cast<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroup<D>::Name() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferBehavior) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroup<D>::TransferBehavior() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroup<D>::TransferBehavior() const
{
winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferBehavior value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup)->get_TransferBehavior(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroup<D>::TransferBehavior(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferBehavior const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroup<D>::TransferBehavior(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferBehavior const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup)->put_TransferBehavior(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroupStatics<D>::CreateGroup(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferGroupStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation<D>::Guid() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation<D>::Guid() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferOperation)->get_Guid(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation<D>::RequestedUri() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation<D>::Method() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation<D>::Group() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation<D>::CostPolicy() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation<D>::CostPolicy() const
{
winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferOperation)->get_CostPolicy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation<D>::CostPolicy(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation<D>::CostPolicy(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCostPolicy const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferOperation)->put_CostPolicy(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation<D>::GetResultStreamAt(uint64_t position) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::ResponseInformation) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation<D>::GetResponseInformation() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferPriority) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperationPriority<D>::Priority() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperationPriority<D>::Priority() const
{
winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferPriority value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferOperationPriority)->get_Priority(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperationPriority<D>::Priority(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferPriority const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferOperationPriority<D>::Priority(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferPriority const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferOperationPriority)->put_Priority(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferRangesDownloadedEventArgs<D>::WasDownloadRestarted() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferRangesDownloadedEventArgs<D>::WasDownloadRestarted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferRangesDownloadedEventArgs)->get_WasDownloadRestarted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferFileRange>) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferRangesDownloadedEventArgs<D>::AddedRanges() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferRangesDownloadedEventArgs<D>::AddedRanges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferRangesDownloadedEventArgs)->get_AddedRanges(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferFileRange>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferRangesDownloadedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferRangesDownloadedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::UploadOperation) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader<D>::CreateUpload(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::IStorageFile const& sourceFile) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader<D>::CreateUploadFromStreamAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::Streams::IInputStream const& sourceStream) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader<D>::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<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader<D>::CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart> const& parts) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader<D>::CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart> 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<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader<D>::CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart> const& parts, param::hstring const& subType) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader<D>::CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart> 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<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader<D>::CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart> const& parts, param::hstring const& subType, param::hstring const& boundary) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader<D>::CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart> 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<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::TransferGroup() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::TransferGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::TransferGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader2)->put_TransferGroup(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::SuccessToastNotification() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::SuccessToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::SuccessToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader2)->put_SuccessToastNotification(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::FailureToastNotification() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::FailureToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::FailureToastNotification(winrt::Windows::UI::Notifications::ToastNotification const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader2)->put_FailureToastNotification(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::SuccessTileNotification() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::SuccessTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::SuccessTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader2)->put_SuccessTileNotification(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::FailureTileNotification() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::FailureTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader2<D>::FailureTileNotification(winrt::Windows::UI::Notifications::TileNotification const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader2)->put_FailureTileNotification(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader3<D>::CompletionGroup() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundUploader) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderFactory<D>::CreateWithCompletionGroup(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup const& completionGroup) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>>) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods<D>::GetCurrentUploadsAsync() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods<D>::GetCurrentUploadsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploaderStaticMethods)->GetCurrentUploadsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>>) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods<D>::GetCurrentUploadsAsync(param::hstring const& group) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>>) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods2<D>::GetCurrentUploadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods2<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::BackgroundTransfer::UnconstrainedTransferRequestResult>) consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderUserConsent<D>::RequestUnconstrainedUploadsAsync(param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::UploadOperation> const& operations) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderUserConsent<D>::RequestUnconstrainedUploadsAsync(param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::UploadOperation> const& operations) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploaderUserConsent)->RequestUnconstrainedUploadsAsync(*(void**)(&operations), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::BackgroundTransfer::UnconstrainedTransferRequestResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) consume_Windows_Networking_BackgroundTransfer_IContentPrefetcher<D>::ContentUris() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IContentPrefetcher<D>::ContentUris() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IContentPrefetcher)->get_ContentUris(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IContentPrefetcher<D>::IndirectContentUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IContentPrefetcher<D>::IndirectContentUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IContentPrefetcher)->put_IndirectContentUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_BackgroundTransfer_IContentPrefetcher<D>::IndirectContentUri() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IContentPrefetcher<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Networking_BackgroundTransfer_IContentPrefetcherTime<D>::LastSuccessfulPrefetchTime() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IContentPrefetcherTime<D>::LastSuccessfulPrefetchTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IContentPrefetcherTime)->get_LastSuccessfulPrefetchTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation<D>::ResultFile() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundDownloadProgress) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation<D>::Progress() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation, winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation<D>::StartAsync() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation<D>::StartAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation)->StartAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation, winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation, winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation<D>::AttachAsync() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation<D>::AttachAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation)->AttachAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation, winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation<D>::Pause() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation<D>::Pause() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation)->Pause());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation<D>::Resume() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation<D>::Resume() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation)->Resume());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation2<D>::TransferGroup() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::IsRandomAccessRequired() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::IsRandomAccessRequired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3)->get_IsRandomAccessRequired(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::IsRandomAccessRequired(bool value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::IsRandomAccessRequired(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3)->put_IsRandomAccessRequired(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::GetResultRandomAccessStreamReference() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferFileRange>) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::GetDownloadedRanges() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::GetDownloadedRanges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3)->GetDownloadedRanges(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferFileRange>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::RangesDownloaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation, winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferRangesDownloadedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::RangesDownloaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation, winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferRangesDownloadedEventArgs> 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 D> typename consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::RangesDownloaded_revoker consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::RangesDownloaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation, winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferRangesDownloadedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::RangesDownloaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation, winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferRangesDownloadedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, RangesDownloaded_revoker>(this, RangesDownloaded(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::RangesDownloaded(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::RangesDownloaded(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3)->remove_RangesDownloaded(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::RequestedUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::RequestedUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3)->put_RequestedUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::WebErrorStatus>) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::RecoverableWebErrorStatuses() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::RecoverableWebErrorStatuses() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3)->get_RecoverableWebErrorStatuses(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::WebErrorStatus>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Web::WebErrorStatus>) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::CurrentWebErrorStatus() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation3<D>::CurrentWebErrorStatus() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3)->get_CurrentWebErrorStatus(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Web::WebErrorStatus>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation4<D>::MakeCurrentInTransferGroup() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation4<D>::MakeCurrentInTransferGroup() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation4)->MakeCurrentInTransferGroup());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation5<D>::SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IDownloadOperation5<D>::RemoveRequestHeader(param::hstring const& headerName) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IDownloadOperation5<D>::RemoveRequestHeader(param::hstring const& headerName) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation5)->RemoveRequestHeader(*(void**)(&headerName)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_BackgroundTransfer_IResponseInformation<D>::IsResumable() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IResponseInformation<D>::IsResumable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IResponseInformation)->get_IsResumable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_BackgroundTransfer_IResponseInformation<D>::ActualUri() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IResponseInformation<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_BackgroundTransfer_IResponseInformation<D>::StatusCode() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IResponseInformation<D>::StatusCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IResponseInformation)->get_StatusCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>) consume_Windows_Networking_BackgroundTransfer_IResponseInformation<D>::Headers() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IResponseInformation<D>::Headers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IResponseInformation)->get_Headers(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_BackgroundTransfer_IUnconstrainedTransferRequestResult<D>::IsUnconstrained() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IUnconstrainedTransferRequestResult<D>::IsUnconstrained() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IUnconstrainedTransferRequestResult)->get_IsUnconstrained(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) consume_Windows_Networking_BackgroundTransfer_IUploadOperation<D>::SourceFile() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IUploadOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundUploadProgress) consume_Windows_Networking_BackgroundTransfer_IUploadOperation<D>::Progress() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IUploadOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Networking::BackgroundTransfer::UploadOperation, winrt::Windows::Networking::BackgroundTransfer::UploadOperation>) consume_Windows_Networking_BackgroundTransfer_IUploadOperation<D>::StartAsync() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IUploadOperation<D>::StartAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IUploadOperation)->StartAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Networking::BackgroundTransfer::UploadOperation, winrt::Windows::Networking::BackgroundTransfer::UploadOperation>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Networking::BackgroundTransfer::UploadOperation, winrt::Windows::Networking::BackgroundTransfer::UploadOperation>) consume_Windows_Networking_BackgroundTransfer_IUploadOperation<D>::AttachAsync() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IUploadOperation<D>::AttachAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IUploadOperation)->AttachAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Networking::BackgroundTransfer::UploadOperation, winrt::Windows::Networking::BackgroundTransfer::UploadOperation>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup) consume_Windows_Networking_BackgroundTransfer_IUploadOperation2<D>::TransferGroup() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IUploadOperation2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IUploadOperation3<D>::MakeCurrentInTransferGroup() const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IUploadOperation3<D>::MakeCurrentInTransferGroup() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IUploadOperation3)->MakeCurrentInTransferGroup());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IUploadOperation4<D>::SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IUploadOperation4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_BackgroundTransfer_IUploadOperation4<D>::RemoveRequestHeader(param::hstring const& headerName) const
+ template <typename D> auto consume_Windows_Networking_BackgroundTransfer_IUploadOperation4<D>::RemoveRequestHeader(param::hstring const& headerName) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::BackgroundTransfer::IUploadOperation4)->RemoveRequestHeader(*(void**)(&headerName)));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Connectivity.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Connectivity.h
index 4962b755fb7..76af53ecd9f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Connectivity.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_IAttributedNetworkUsage<D>::BytesSent() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IAttributedNetworkUsage<D>::BytesSent() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IAttributedNetworkUsage)->get_BytesSent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_IAttributedNetworkUsage<D>::BytesReceived() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IAttributedNetworkUsage<D>::BytesReceived() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IAttributedNetworkUsage)->get_BytesReceived(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_IAttributedNetworkUsage<D>::AttributionId() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IAttributedNetworkUsage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_IAttributedNetworkUsage<D>::AttributionName() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IAttributedNetworkUsage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Networking_Connectivity_IAttributedNetworkUsage<D>::AttributionThumbnail() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IAttributedNetworkUsage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_ICellularApnContext<D>::ProviderId() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ICellularApnContext<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_ICellularApnContext<D>::ProviderId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ICellularApnContext<D>::ProviderId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->put_ProviderId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_ICellularApnContext<D>::AccessPointName() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ICellularApnContext<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_ICellularApnContext<D>::AccessPointName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ICellularApnContext<D>::AccessPointName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->put_AccessPointName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_ICellularApnContext<D>::UserName() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ICellularApnContext<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_ICellularApnContext<D>::UserName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ICellularApnContext<D>::UserName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->put_UserName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_ICellularApnContext<D>::Password() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ICellularApnContext<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_ICellularApnContext<D>::Password(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ICellularApnContext<D>::Password(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->put_Password(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_ICellularApnContext<D>::IsCompressionEnabled() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ICellularApnContext<D>::IsCompressionEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->get_IsCompressionEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_ICellularApnContext<D>::IsCompressionEnabled(bool value) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ICellularApnContext<D>::IsCompressionEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->put_IsCompressionEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::CellularApnAuthenticationType) consume_Windows_Networking_Connectivity_ICellularApnContext<D>::AuthenticationType() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ICellularApnContext<D>::AuthenticationType() const
{
winrt::Windows::Networking::Connectivity::CellularApnAuthenticationType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->get_AuthenticationType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_ICellularApnContext<D>::AuthenticationType(winrt::Windows::Networking::Connectivity::CellularApnAuthenticationType const& value) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ICellularApnContext<D>::AuthenticationType(winrt::Windows::Networking::Connectivity::CellularApnAuthenticationType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext)->put_AuthenticationType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_ICellularApnContext2<D>::ProfileName() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ICellularApnContext2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_ICellularApnContext2<D>::ProfileName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ICellularApnContext2<D>::ProfileName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ICellularApnContext2)->put_ProfileName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkCostType) consume_Windows_Networking_Connectivity_IConnectionCost<D>::NetworkCostType() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionCost<D>::NetworkCostType() const
{
winrt::Windows::Networking::Connectivity::NetworkCostType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionCost)->get_NetworkCostType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionCost<D>::Roaming() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionCost<D>::Roaming() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionCost)->get_Roaming(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionCost<D>::OverDataLimit() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionCost<D>::OverDataLimit() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionCost)->get_OverDataLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionCost<D>::ApproachingDataLimit() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionCost<D>::ApproachingDataLimit() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionCost)->get_ApproachingDataLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionCost2<D>::BackgroundDataUsageRestricted() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionCost2<D>::BackgroundDataUsageRestricted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionCost2)->get_BackgroundDataUsageRestricted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_IConnectionProfile<D>::ProfileName() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkConnectivityLevel) consume_Windows_Networking_Connectivity_IConnectionProfile<D>::GetNetworkConnectivityLevel() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile<D>::GetNetworkConnectivityLevel() const
{
winrt::Windows::Networking::Connectivity::NetworkConnectivityLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile)->GetNetworkConnectivityLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Networking_Connectivity_IConnectionProfile<D>::GetNetworkNames() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile<D>::GetNetworkNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile)->GetNetworkNames(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::ConnectionCost) consume_Windows_Networking_Connectivity_IConnectionProfile<D>::GetConnectionCost() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::DataPlanStatus) consume_Windows_Networking_Connectivity_IConnectionProfile<D>::GetDataPlanStatus() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAdapter) consume_Windows_Networking_Connectivity_IConnectionProfile<D>::NetworkAdapter() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::DataUsage) consume_Windows_Networking_Connectivity_IConnectionProfile<D>::GetLocalUsage(winrt::Windows::Foundation::DateTime const& StartTime, winrt::Windows::Foundation::DateTime const& EndTime) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::DataUsage) consume_Windows_Networking_Connectivity_IConnectionProfile<D>::GetLocalUsage(winrt::Windows::Foundation::DateTime const& StartTime, winrt::Windows::Foundation::DateTime const& EndTime, winrt::Windows::Networking::Connectivity::RoamingStates const& States) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile<D>::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<uint32_t>(States), &value));
return winrt::Windows::Networking::Connectivity::DataUsage{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkSecuritySettings) consume_Windows_Networking_Connectivity_IConnectionProfile<D>::NetworkSecuritySettings() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::IsWwanConnectionProfile() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::IsWwanConnectionProfile() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile2)->get_IsWwanConnectionProfile(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::IsWlanConnectionProfile() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::IsWlanConnectionProfile() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile2)->get_IsWlanConnectionProfile(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::WwanConnectionProfileDetails) consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::WwanConnectionProfileDetails() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::WlanConnectionProfileDetails) consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::WlanConnectionProfileDetails() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::guid>) consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::ServiceProviderGuid() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::ServiceProviderGuid() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile2)->get_ServiceProviderGuid(&value));
return winrt::Windows::Foundation::IReference<winrt::guid>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint8_t>) consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::GetSignalBars() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::GetSignalBars() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile2)->GetSignalBars(&value));
return winrt::Windows::Foundation::IReference<uint8_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::DomainConnectivityLevel) consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::GetDomainConnectivityLevel() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::GetDomainConnectivityLevel() const
{
winrt::Windows::Networking::Connectivity::DomainConnectivityLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile2)->GetDomainConnectivityLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::NetworkUsage>>) consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::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 <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::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<int32_t>(granularity), impl::bind_in(states), &value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::NetworkUsage>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::ConnectivityInterval>>) consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::GetConnectivityIntervalsAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile2<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::ConnectivityInterval>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::AttributedNetworkUsage>>) consume_Windows_Networking_Connectivity_IConnectionProfile3<D>::GetAttributedNetworkUsageAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile3<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::AttributedNetworkUsage>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::ProviderNetworkUsage>>) consume_Windows_Networking_Connectivity_IConnectionProfile4<D>::GetProviderNetworkUsageAsync(winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::Foundation::DateTime const& endTime, winrt::Windows::Networking::Connectivity::NetworkUsageStates const& states) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile4<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::ProviderNetworkUsage>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionProfile5<D>::CanDelete() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile5<D>::CanDelete() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile5)->get_CanDelete(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Connectivity::ConnectionProfileDeleteStatus>) consume_Windows_Networking_Connectivity_IConnectionProfile5<D>::TryDeleteAsync() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfile5<D>::TryDeleteAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfile5)->TryDeleteAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Connectivity::ConnectionProfileDeleteStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::IsConnected(bool value) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::IsConnected(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->put_IsConnected(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::IsConnected() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::IsConnected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->get_IsConnected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::IsWwanConnectionProfile(bool value) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::IsWwanConnectionProfile(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->put_IsWwanConnectionProfile(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::IsWwanConnectionProfile() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::IsWwanConnectionProfile() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->get_IsWwanConnectionProfile(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::IsWlanConnectionProfile(bool value) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::IsWlanConnectionProfile(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->put_IsWlanConnectionProfile(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::IsWlanConnectionProfile() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::IsWlanConnectionProfile() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->get_IsWlanConnectionProfile(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::NetworkCostType(winrt::Windows::Networking::Connectivity::NetworkCostType const& value) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::NetworkCostType(winrt::Windows::Networking::Connectivity::NetworkCostType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->put_NetworkCostType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkCostType) consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::NetworkCostType() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::NetworkCostType() const
{
winrt::Windows::Networking::Connectivity::NetworkCostType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->get_NetworkCostType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::ServiceProviderGuid(winrt::Windows::Foundation::IReference<winrt::guid> const& value) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::ServiceProviderGuid(winrt::Windows::Foundation::IReference<winrt::guid> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->put_ServiceProviderGuid(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::guid>) consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::ServiceProviderGuid() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter<D>::ServiceProviderGuid() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter)->get_ServiceProviderGuid(&value));
return winrt::Windows::Foundation::IReference<winrt::guid>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter2<D>::IsRoaming(winrt::Windows::Foundation::IReference<bool> const& value) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter2<D>::IsRoaming(winrt::Windows::Foundation::IReference<bool> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter2)->put_IsRoaming(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) consume_Windows_Networking_Connectivity_IConnectionProfileFilter2<D>::IsRoaming() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter2<D>::IsRoaming() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter2)->get_IsRoaming(&value));
return winrt::Windows::Foundation::IReference<bool>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter2<D>::IsOverDataLimit(winrt::Windows::Foundation::IReference<bool> const& value) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter2<D>::IsOverDataLimit(winrt::Windows::Foundation::IReference<bool> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter2)->put_IsOverDataLimit(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) consume_Windows_Networking_Connectivity_IConnectionProfileFilter2<D>::IsOverDataLimit() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter2<D>::IsOverDataLimit() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter2)->get_IsOverDataLimit(&value));
return winrt::Windows::Foundation::IReference<bool>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter2<D>::IsBackgroundDataUsageRestricted(winrt::Windows::Foundation::IReference<bool> const& value) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter2<D>::IsBackgroundDataUsageRestricted(winrt::Windows::Foundation::IReference<bool> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter2)->put_IsBackgroundDataUsageRestricted(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) consume_Windows_Networking_Connectivity_IConnectionProfileFilter2<D>::IsBackgroundDataUsageRestricted() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter2<D>::IsBackgroundDataUsageRestricted() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter2)->get_IsBackgroundDataUsageRestricted(&value));
return winrt::Windows::Foundation::IReference<bool>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_Connectivity_IConnectionProfileFilter2<D>::RawData() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectionProfileFilter3<D>::PurposeGuid(winrt::Windows::Foundation::IReference<winrt::guid> const& value) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter3<D>::PurposeGuid(winrt::Windows::Foundation::IReference<winrt::guid> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter3)->put_PurposeGuid(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::guid>) consume_Windows_Networking_Connectivity_IConnectionProfileFilter3<D>::PurposeGuid() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionProfileFilter3<D>::PurposeGuid() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectionProfileFilter3)->get_PurposeGuid(&value));
return winrt::Windows::Foundation::IReference<winrt::guid>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::ConnectionProfile) consume_Windows_Networking_Connectivity_IConnectionSession<D>::ConnectionProfile() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectionSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Networking_Connectivity_IConnectivityInterval<D>::StartTime() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectivityInterval<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Networking_Connectivity_IConnectivityInterval<D>::ConnectionDuration() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectivityInterval<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Connectivity::ConnectionSession>) consume_Windows_Networking_Connectivity_IConnectivityManagerStatics<D>::AcquireConnectionAsync(winrt::Windows::Networking::Connectivity::CellularApnContext const& cellularApnContext) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectivityManagerStatics<D>::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<winrt::Windows::Networking::Connectivity::ConnectionSession>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectivityManagerStatics<D>::AddHttpRoutePolicy(winrt::Windows::Networking::Connectivity::RoutePolicy const& routePolicy) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectivityManagerStatics<D>::AddHttpRoutePolicy(winrt::Windows::Networking::Connectivity::RoutePolicy const& routePolicy) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectivityManagerStatics)->AddHttpRoutePolicy(*(void**)(&routePolicy)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_IConnectivityManagerStatics<D>::RemoveHttpRoutePolicy(winrt::Windows::Networking::Connectivity::RoutePolicy const& routePolicy) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IConnectivityManagerStatics<D>::RemoveHttpRoutePolicy(winrt::Windows::Networking::Connectivity::RoutePolicy const& routePolicy) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IConnectivityManagerStatics)->RemoveHttpRoutePolicy(*(void**)(&routePolicy)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::DataPlanUsage) consume_Windows_Networking_Connectivity_IDataPlanStatus<D>::DataPlanUsage() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IDataPlanStatus<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Networking_Connectivity_IDataPlanStatus<D>::DataLimitInMegabytes() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IDataPlanStatus<D>::DataLimitInMegabytes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataPlanStatus)->get_DataLimitInMegabytes(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Networking_Connectivity_IDataPlanStatus<D>::InboundBitsPerSecond() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IDataPlanStatus<D>::InboundBitsPerSecond() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataPlanStatus)->get_InboundBitsPerSecond(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Networking_Connectivity_IDataPlanStatus<D>::OutboundBitsPerSecond() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IDataPlanStatus<D>::OutboundBitsPerSecond() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataPlanStatus)->get_OutboundBitsPerSecond(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Networking_Connectivity_IDataPlanStatus<D>::NextBillingCycle() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IDataPlanStatus<D>::NextBillingCycle() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataPlanStatus)->get_NextBillingCycle(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Networking_Connectivity_IDataPlanStatus<D>::MaxTransferSizeInMegabytes() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IDataPlanStatus<D>::MaxTransferSizeInMegabytes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataPlanStatus)->get_MaxTransferSizeInMegabytes(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Connectivity_IDataPlanUsage<D>::MegabytesUsed() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IDataPlanUsage<D>::MegabytesUsed() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataPlanUsage)->get_MegabytesUsed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Networking_Connectivity_IDataPlanUsage<D>::LastSyncTime() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IDataPlanUsage<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_IDataUsage<D>::BytesSent() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IDataUsage<D>::BytesSent() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataUsage)->get_BytesSent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_IDataUsage<D>::BytesReceived() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IDataUsage<D>::BytesReceived() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IDataUsage)->get_BytesReceived(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAdapter) consume_Windows_Networking_Connectivity_IIPInformation<D>::NetworkAdapter() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IIPInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint8_t>) consume_Windows_Networking_Connectivity_IIPInformation<D>::PrefixLength() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IIPInformation<D>::PrefixLength() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IIPInformation)->get_PrefixLength(&value));
return winrt::Windows::Foundation::IReference<uint8_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::LanIdentifierData) consume_Windows_Networking_Connectivity_ILanIdentifier<D>::InfrastructureId() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ILanIdentifier<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::LanIdentifierData) consume_Windows_Networking_Connectivity_ILanIdentifier<D>::PortId() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ILanIdentifier<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_Connectivity_ILanIdentifier<D>::NetworkAdapterId() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ILanIdentifier<D>::NetworkAdapterId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ILanIdentifier)->get_NetworkAdapterId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Connectivity_ILanIdentifierData<D>::Type() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ILanIdentifierData<D>::Type() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ILanIdentifierData)->get_Type(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint8_t>) consume_Windows_Networking_Connectivity_ILanIdentifierData<D>::Value() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_ILanIdentifierData<D>::Value() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::ILanIdentifierData)->get_Value(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint8_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_INetworkAdapter<D>::OutboundMaxBitsPerSecond() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkAdapter<D>::OutboundMaxBitsPerSecond() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkAdapter)->get_OutboundMaxBitsPerSecond(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_INetworkAdapter<D>::InboundMaxBitsPerSecond() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkAdapter<D>::InboundMaxBitsPerSecond() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkAdapter)->get_InboundMaxBitsPerSecond(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Connectivity_INetworkAdapter<D>::IanaInterfaceType() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkAdapter<D>::IanaInterfaceType() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkAdapter)->get_IanaInterfaceType(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkItem) consume_Windows_Networking_Connectivity_INetworkAdapter<D>::NetworkItem() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkAdapter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_Connectivity_INetworkAdapter<D>::NetworkAdapterId() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkAdapter<D>::NetworkAdapterId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkAdapter)->get_NetworkAdapterId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Connectivity::ConnectionProfile>) consume_Windows_Networking_Connectivity_INetworkAdapter<D>::GetConnectedProfileAsync() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkAdapter<D>::GetConnectedProfileAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkAdapter)->GetConnectedProfileAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Connectivity::ConnectionProfile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::ConnectionProfile>) consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::GetConnectionProfiles() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::GetConnectionProfiles() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkInformationStatics)->GetConnectionProfiles(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::ConnectionProfile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::ConnectionProfile) consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::GetInternetConnectionProfile() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::LanIdentifier>) consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::GetLanIdentifiers() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::GetLanIdentifiers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkInformationStatics)->GetLanIdentifiers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::LanIdentifier>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::HostName>) consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::GetHostNames() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::GetHostNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkInformationStatics)->GetHostNames(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::HostName>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Connectivity::ProxyConfiguration>) consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::GetProxyConfigurationAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::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<winrt::Windows::Networking::Connectivity::ProxyConfiguration>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>) consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::GetSortedEndpointPairs(param::iterable<winrt::Windows::Networking::EndpointPair> const& destinationList, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::GetSortedEndpointPairs(param::iterable<winrt::Windows::Networking::EndpointPair> 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<uint32_t>(sortOptions), &value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::NetworkStatusChanged(winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::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 D> typename consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::NetworkStatusChanged_revoker consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::NetworkStatusChanged(auto_revoke_t, winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::NetworkStatusChanged(auto_revoke_t, winrt::Windows::Networking::Connectivity::NetworkStatusChangedEventHandler const& networkStatusHandler) const
{
return impl::make_event_revoker<D, NetworkStatusChanged_revoker>(this, NetworkStatusChanged(networkStatusHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::NetworkStatusChanged(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkInformationStatics<D>::NetworkStatusChanged(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkInformationStatics)->remove_NetworkStatusChanged(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::ConnectionProfile>>) consume_Windows_Networking_Connectivity_INetworkInformationStatics2<D>::FindConnectionProfilesAsync(winrt::Windows::Networking::Connectivity::ConnectionProfileFilter const& pProfileFilter) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkInformationStatics2<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::ConnectionProfile>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_Connectivity_INetworkItem<D>::NetworkId() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkItem<D>::NetworkId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkItem)->get_NetworkId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkTypes) consume_Windows_Networking_Connectivity_INetworkItem<D>::GetNetworkTypes() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkItem<D>::GetNetworkTypes() const
{
winrt::Windows::Networking::Connectivity::NetworkTypes value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkItem)->GetNetworkTypes(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAuthenticationType) consume_Windows_Networking_Connectivity_INetworkSecuritySettings<D>::NetworkAuthenticationType() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkSecuritySettings<D>::NetworkAuthenticationType() const
{
winrt::Windows::Networking::Connectivity::NetworkAuthenticationType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkSecuritySettings)->get_NetworkAuthenticationType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkEncryptionType) consume_Windows_Networking_Connectivity_INetworkSecuritySettings<D>::NetworkEncryptionType() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkSecuritySettings<D>::NetworkEncryptionType() const
{
winrt::Windows::Networking::Connectivity::NetworkEncryptionType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkSecuritySettings)->get_NetworkEncryptionType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails<D>::HasNewInternetConnectionProfile() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails<D>::HasNewInternetConnectionProfile() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails)->get_HasNewInternetConnectionProfile(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails<D>::HasNewConnectionCost() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails<D>::HasNewConnectionCost() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails)->get_HasNewConnectionCost(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails<D>::HasNewNetworkConnectivityLevel() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails<D>::HasNewNetworkConnectivityLevel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails)->get_HasNewNetworkConnectivityLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails<D>::HasNewDomainConnectivityLevel() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails<D>::HasNewDomainConnectivityLevel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails)->get_HasNewDomainConnectivityLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails<D>::HasNewHostNameList() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails<D>::HasNewHostNameList() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails)->get_HasNewHostNameList(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails<D>::HasNewWwanRegistrationState() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails<D>::HasNewWwanRegistrationState() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails)->get_HasNewWwanRegistrationState(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails2<D>::HasNewTetheringOperationalState() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails2<D>::HasNewTetheringOperationalState() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails2)->get_HasNewTetheringOperationalState(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails2<D>::HasNewTetheringClientCount() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkStateChangeEventDetails2<D>::HasNewTetheringClientCount() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails2)->get_HasNewTetheringClientCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_INetworkUsage<D>::BytesSent() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkUsage<D>::BytesSent() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkUsage)->get_BytesSent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_INetworkUsage<D>::BytesReceived() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkUsage<D>::BytesReceived() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::INetworkUsage)->get_BytesReceived(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Networking_Connectivity_INetworkUsage<D>::ConnectionDuration() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_INetworkUsage<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_IProviderNetworkUsage<D>::BytesSent() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IProviderNetworkUsage<D>::BytesSent() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IProviderNetworkUsage)->get_BytesSent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Connectivity_IProviderNetworkUsage<D>::BytesReceived() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IProviderNetworkUsage<D>::BytesReceived() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IProviderNetworkUsage)->get_BytesReceived(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_IProviderNetworkUsage<D>::ProviderId() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IProviderNetworkUsage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Uri>) consume_Windows_Networking_Connectivity_IProxyConfiguration<D>::ProxyUris() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IProxyConfiguration<D>::ProxyUris() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IProxyConfiguration)->get_ProxyUris(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Uri>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Connectivity_IProxyConfiguration<D>::CanConnectDirectly() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IProxyConfiguration<D>::CanConnectDirectly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IProxyConfiguration)->get_CanConnectDirectly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::ConnectionProfile) consume_Windows_Networking_Connectivity_IRoutePolicy<D>::ConnectionProfile() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IRoutePolicy<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Connectivity_IRoutePolicy<D>::HostName() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IRoutePolicy<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::DomainNameType) consume_Windows_Networking_Connectivity_IRoutePolicy<D>::HostNameType() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IRoutePolicy<D>::HostNameType() const
{
winrt::Windows::Networking::DomainNameType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IRoutePolicy)->get_HostNameType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::RoutePolicy) consume_Windows_Networking_Connectivity_IRoutePolicyFactory<D>::CreateRoutePolicy(winrt::Windows::Networking::Connectivity::ConnectionProfile const& connectionProfile, winrt::Windows::Networking::HostName const& hostName, winrt::Windows::Networking::DomainNameType const& type) const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IRoutePolicyFactory<D>::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<int32_t>(type), &routePolicy));
return winrt::Windows::Networking::Connectivity::RoutePolicy{ routePolicy, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_IWlanConnectionProfileDetails<D>::GetConnectedSsid() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IWlanConnectionProfileDetails<D>::GetConnectedSsid() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IWlanConnectionProfileDetails)->GetConnectedSsid(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails<D>::HomeProviderId() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails<D>::AccessPointName() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::WwanNetworkRegistrationState) consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails<D>::GetNetworkRegistrationState() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails<D>::GetNetworkRegistrationState() const
{
winrt::Windows::Networking::Connectivity::WwanNetworkRegistrationState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IWwanConnectionProfileDetails)->GetNetworkRegistrationState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::WwanDataClass) consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails<D>::GetCurrentDataClass() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails<D>::GetCurrentDataClass() const
{
winrt::Windows::Networking::Connectivity::WwanDataClass value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IWwanConnectionProfileDetails)->GetCurrentDataClass(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::WwanNetworkIPKind) consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails2<D>::IPKind() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails2<D>::IPKind() const
{
winrt::Windows::Networking::Connectivity::WwanNetworkIPKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Connectivity::IWwanConnectionProfileDetails2)->get_IPKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::guid>) consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails2<D>::PurposeGuids() const
+ template <typename D> auto consume_Windows_Networking_Connectivity_IWwanConnectionProfileDetails2<D>::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<NetworkInformation, INetworkInformationStatics>([&](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<NetworkInformation, winrt::Windows::Networking::Connectivity::INetworkInformationStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.NetworkOperators.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.NetworkOperators.h
index 3430f7b2a91..7c207596c06 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.NetworkOperators.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IESim<D>::AvailableMemoryInBytes() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESim<D>::AvailableMemoryInBytes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->get_AvailableMemoryInBytes(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESim<D>::Eid() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESim<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESim<D>::FirmwareVersion() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESim<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESim<D>::MobileBroadbandModemDeviceId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESim<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimPolicy) consume_Windows_Networking_NetworkOperators_IESim<D>::Policy() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESim<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimState) consume_Windows_Networking_NetworkOperators_IESim<D>::State() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESim<D>::State() const
{
winrt::Windows::Networking::NetworkOperators::ESimState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::ESimProfile>) consume_Windows_Networking_NetworkOperators_IESim<D>::GetProfiles() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESim<D>::GetProfiles() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->GetProfiles(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::ESimProfile>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>) consume_Windows_Networking_NetworkOperators_IESim<D>::DeleteProfileAsync(param::hstring const& profileId) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESim<D>::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<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimDownloadProfileMetadataResult>) consume_Windows_Networking_NetworkOperators_IESim<D>::DownloadProfileMetadataAsync(param::hstring const& activationCode) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESim<D>::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<winrt::Windows::Networking::NetworkOperators::ESimDownloadProfileMetadataResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>) consume_Windows_Networking_NetworkOperators_IESim<D>::ResetAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESim<D>::ResetAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->ResetAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IESim<D>::ProfileChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESim, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESim<D>::ProfileChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESim, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Networking_NetworkOperators_IESim<D>::ProfileChanged_revoker consume_Windows_Networking_NetworkOperators_IESim<D>::ProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESim, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESim<D>::ProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESim, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ProfileChanged_revoker>(this, ProfileChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESim<D>::ProfileChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESim<D>::ProfileChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim)->remove_ProfileChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimDiscoverResult) consume_Windows_Networking_NetworkOperators_IESim2<D>::Discover() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESim2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimDiscoverResult) consume_Windows_Networking_NetworkOperators_IESim2<D>::Discover(param::hstring const& serverAddress, param::hstring const& matchingId) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESim2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimDiscoverResult>) consume_Windows_Networking_NetworkOperators_IESim2<D>::DiscoverAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESim2<D>::DiscoverAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESim2)->DiscoverAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimDiscoverResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimDiscoverResult>) consume_Windows_Networking_NetworkOperators_IESim2<D>::DiscoverAsync(param::hstring const& serverAddress, param::hstring const& matchingId) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESim2<D>::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<winrt::Windows::Networking::NetworkOperators::ESimDiscoverResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESim) consume_Windows_Networking_NetworkOperators_IESimAddedEventArgs<D>::ESim() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimAddedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimDiscoverEvent<D>::MatchingId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimDiscoverEvent<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimDiscoverEvent<D>::RspServerAddress() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimDiscoverEvent<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::ESimDiscoverEvent>) consume_Windows_Networking_NetworkOperators_IESimDiscoverResult<D>::Events() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimDiscoverResult<D>::Events() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDiscoverResult)->get_Events(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::ESimDiscoverEvent>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimDiscoverResultKind) consume_Windows_Networking_NetworkOperators_IESimDiscoverResult<D>::Kind() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimDiscoverResult<D>::Kind() const
{
winrt::Windows::Networking::NetworkOperators::ESimDiscoverResultKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimDiscoverResult)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata) consume_Windows_Networking_NetworkOperators_IESimDiscoverResult<D>::ProfileMetadata() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimDiscoverResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimOperationResult) consume_Windows_Networking_NetworkOperators_IESimDiscoverResult<D>::Result() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimDiscoverResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimOperationResult) consume_Windows_Networking_NetworkOperators_IESimDownloadProfileMetadataResult<D>::Result() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimDownloadProfileMetadataResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata) consume_Windows_Networking_NetworkOperators_IESimDownloadProfileMetadataResult<D>::ProfileMetadata() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimDownloadProfileMetadataResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimServiceInfo) consume_Windows_Networking_NetworkOperators_IESimManagerStatics<D>::ServiceInfo() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimWatcher) consume_Windows_Networking_NetworkOperators_IESimManagerStatics<D>::TryCreateESimWatcher() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IESimManagerStatics<D>::ServiceInfoChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimManagerStatics<D>::ServiceInfoChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Networking_NetworkOperators_IESimManagerStatics<D>::ServiceInfoChanged_revoker consume_Windows_Networking_NetworkOperators_IESimManagerStatics<D>::ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimManagerStatics<D>::ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ServiceInfoChanged_revoker>(this, ServiceInfoChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimManagerStatics<D>::ServiceInfoChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimManagerStatics<D>::ServiceInfoChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimManagerStatics)->remove_ServiceInfoChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimOperationStatus) consume_Windows_Networking_NetworkOperators_IESimOperationResult<D>::Status() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimOperationResult<D>::Status() const
{
winrt::Windows::Networking::NetworkOperators::ESimOperationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimOperationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IESimPolicy<D>::ShouldEnableManagingUi() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimPolicy<D>::ShouldEnableManagingUi() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimPolicy)->get_ShouldEnableManagingUi(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfileClass) consume_Windows_Networking_NetworkOperators_IESimProfile<D>::Class() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfile<D>::Class() const
{
winrt::Windows::Networking::NetworkOperators::ESimProfileClass value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_Class(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimProfile<D>::Nickname() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfile<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfilePolicy) consume_Windows_Networking_NetworkOperators_IESimProfile<D>::Policy() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfile<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimProfile<D>::Id() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfile<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Networking_NetworkOperators_IESimProfile<D>::ProviderIcon() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfile<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimProfile<D>::ProviderId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfile<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimProfile<D>::ProviderName() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfile<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfileState) consume_Windows_Networking_NetworkOperators_IESimProfile<D>::State() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfile<D>::State() const
{
winrt::Windows::Networking::NetworkOperators::ESimProfileState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>) consume_Windows_Networking_NetworkOperators_IESimProfile<D>::DisableAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfile<D>::DisableAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->DisableAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>) consume_Windows_Networking_NetworkOperators_IESimProfile<D>::EnableAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfile<D>::EnableAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfile)->EnableAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>) consume_Windows_Networking_NetworkOperators_IESimProfile<D>::SetNicknameAsync(param::hstring const& newNickname) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfile<D>::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<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::IsConfirmationCodeRequired() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::IsConfirmationCodeRequired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->get_IsConfirmationCodeRequired(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfilePolicy) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::Policy() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::Id() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::ProviderIcon() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::ProviderId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::ProviderName() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimProfileMetadataState) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::State() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::State() const
{
winrt::Windows::Networking::NetworkOperators::ESimProfileMetadataState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::DenyInstallAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::DenyInstallAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->DenyInstallAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Networking::NetworkOperators::ESimOperationResult, winrt::Windows::Networking::NetworkOperators::ESimProfileInstallProgress>) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::ConfirmInstallAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::ConfirmInstallAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->ConfirmInstallAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Networking::NetworkOperators::ESimOperationResult, winrt::Windows::Networking::NetworkOperators::ESimProfileInstallProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Networking::NetworkOperators::ESimOperationResult, winrt::Windows::Networking::NetworkOperators::ESimProfileInstallProgress>) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::ConfirmInstallAsync(param::hstring const& confirmationCode) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::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<winrt::Windows::Networking::NetworkOperators::ESimOperationResult, winrt::Windows::Networking::NetworkOperators::ESimProfileInstallProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::PostponeInstallAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::PostponeInstallAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->PostponeInstallAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::StateChanged_revoker consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, StateChanged_revoker>(this, StateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::StateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfileMetadata<D>::StateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata)->remove_StateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IESimProfilePolicy<D>::CanDelete() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfilePolicy<D>::CanDelete() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfilePolicy)->get_CanDelete(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IESimProfilePolicy<D>::CanDisable() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfilePolicy<D>::CanDisable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfilePolicy)->get_CanDisable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IESimProfilePolicy<D>::IsManagedByEnterprise() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimProfilePolicy<D>::IsManagedByEnterprise() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimProfilePolicy)->get_IsManagedByEnterprise(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESim) consume_Windows_Networking_NetworkOperators_IESimRemovedEventArgs<D>::ESim() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimRemovedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimAuthenticationPreference) consume_Windows_Networking_NetworkOperators_IESimServiceInfo<D>::AuthenticationPreference() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimServiceInfo<D>::AuthenticationPreference() const
{
winrt::Windows::Networking::NetworkOperators::ESimAuthenticationPreference value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimServiceInfo)->get_AuthenticationPreference(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IESimServiceInfo<D>::IsESimUiEnabled() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimServiceInfo<D>::IsESimUiEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimServiceInfo)->get_IsESimUiEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESim) consume_Windows_Networking_NetworkOperators_IESimUpdatedEventArgs<D>::ESim() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimWatcherStatus) consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Status() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Status() const
{
winrt::Windows::Networking::NetworkOperators::ESimWatcherStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimAddedEventArgs> 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 D> typename consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Added_revoker consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimAddedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Added_revoker>(this, Added(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Added(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Added(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->remove_Added(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::EnumerationCompleted_revoker consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EnumerationCompleted_revoker>(this, EnumerationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->remove_EnumerationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimRemovedEventArgs> 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 D> typename consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Removed_revoker consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimRemovedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Removed_revoker>(this, Removed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Removed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Removed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->remove_Removed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Stopped_revoker consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Stopped_revoker>(this, Stopped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->remove_Stopped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimUpdatedEventArgs> 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 D> typename consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Updated_revoker consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimUpdatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Updated_revoker>(this, Updated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Updated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IESimWatcher<D>::Updated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IESimWatcher)->remove_Updated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Networking_NetworkOperators_IFdnAccessManagerStatics<D>::RequestUnlockAsync(param::hstring const& contactListId) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IFdnAccessManagerStatics<D>::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<bool>{ returnValue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::WirelessNetworkId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::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<uint8_t>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAdapter) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::NetworkAdapter() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::RedirectMessageUrl() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::RedirectMessageXml() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::AuthenticationUrl() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::IssueCredentials(param::hstring const& userName, param::hstring const& password, param::hstring const& extraParameters, bool markAsManualConnectOnFailure) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::AbortAuthentication(bool markAsManual) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::AbortAuthentication(bool markAsManual) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->AbortAuthentication(markAsManual));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::SkipAuthentication() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::SkipAuthentication() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext)->SkipAuthentication());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::TriggerAttentionRequired(param::hstring const& packageRelativeApplicationId, param::hstring const& applicationParameters) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::HotspotCredentialsAuthenticationResult>) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext2<D>::IssueCredentialsAsync(param::hstring const& userName, param::hstring const& password, param::hstring const& extraParameters, bool markAsManualConnectOnFailure) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext2<D>::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<winrt::Windows::Networking::NetworkOperators::HotspotCredentialsAuthenticationResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContextStatics<D>::TryGetAuthenticationContext(param::hstring const& evenToken, winrt::Windows::Networking::NetworkOperators::HotspotAuthenticationContext& context) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContextStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationEventDetails<D>::EventToken() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationEventDetails<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult<D>::HasNetworkErrorOccurred() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult<D>::HasNetworkErrorOccurred() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotCredentialsAuthenticationResult)->get_HasNetworkErrorOccurred(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::HotspotAuthenticationResponseCode) consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult<D>::ResponseCode() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult<D>::ResponseCode() const
{
winrt::Windows::Networking::NetworkOperators::HotspotAuthenticationResponseCode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IHotspotCredentialsAuthenticationResult)->get_ResponseCode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult<D>::LogoffUrl() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult<D>::AuthenticationReplyXml() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IHotspotCredentialsAuthenticationResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics<D>::EFSpn() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics<D>::EFSpn() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownCSimFilePathsStatics)->get_EFSpn(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics<D>::Gid1() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics<D>::Gid1() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownCSimFilePathsStatics)->get_Gid1(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics<D>::Gid2() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics<D>::Gid2() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownCSimFilePathsStatics)->get_Gid2(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics<D>::EFSpn() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics<D>::EFSpn() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownRuimFilePathsStatics)->get_EFSpn(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics<D>::Gid1() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics<D>::Gid1() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownRuimFilePathsStatics)->get_Gid1(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics<D>::Gid2() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics<D>::Gid2() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownRuimFilePathsStatics)->get_Gid2(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics<D>::EFOns() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics<D>::EFOns() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownSimFilePathsStatics)->get_EFOns(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics<D>::EFSpn() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics<D>::EFSpn() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownSimFilePathsStatics)->get_EFSpn(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics<D>::Gid1() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics<D>::Gid1() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownSimFilePathsStatics)->get_Gid1(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics<D>::Gid2() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics<D>::Gid2() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownSimFilePathsStatics)->get_Gid2(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics<D>::EFSpn() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics<D>::EFSpn() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownUSimFilePathsStatics)->get_EFSpn(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics<D>::EFOpl() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics<D>::EFOpl() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownUSimFilePathsStatics)->get_EFOpl(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics<D>::EFPnn() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics<D>::EFPnn() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownUSimFilePathsStatics)->get_EFPnn(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics<D>::Gid1() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics<D>::Gid1() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownUSimFilePathsStatics)->get_Gid1(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics<D>::Gid2() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics<D>::Gid2() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IKnownUSimFilePathsStatics)->get_Gid2(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount<D>::NetworkAccountId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount<D>::ServiceProviderGuid() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount<D>::ServiceProviderGuid() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount)->get_ServiceProviderGuid(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount<D>::ServiceProviderName() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetwork) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount<D>::CurrentNetwork() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceInformation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount<D>::CurrentDeviceInformation() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::ConnectionProfile>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount2<D>::GetConnectionProfiles() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount2<D>::GetConnectionProfiles() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount2)->GetConnectionProfiles(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::ConnectionProfile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount3<D>::AccountExperienceUrl() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountEventArgs<D>::NetworkAccountId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountStatics<D>::AvailableNetworkAccountIds() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountStatics<D>::AvailableNetworkAccountIds() const
{
void* ppAccountIds{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountStatics)->get_AvailableNetworkAccountIds(&ppAccountIds));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ ppAccountIds, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccount) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountStatics<D>::CreateFromNetworkAccountId(param::hstring const& networkAccountId) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs<D>::NetworkAccountId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs<D>::HasDeviceInformationChanged() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs<D>::HasDeviceInformationChanged() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountUpdatedEventArgs)->get_HasDeviceInformationChanged(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs<D>::HasNetworkChanged() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountUpdatedEventArgs<D>::HasNetworkChanged() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountUpdatedEventArgs)->get_HasNetworkChanged(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountEventArgs> 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 D> typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountAdded_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AccountAdded_revoker>(this, AccountAdded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountAdded(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountAdded(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->remove_AccountAdded(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountUpdatedEventArgs> 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 D> typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountUpdated_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountUpdatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AccountUpdated_revoker>(this, AccountUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountUpdated(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountUpdated(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->remove_AccountUpdated(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountEventArgs> 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 D> typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountRemoved_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AccountRemoved_revoker>(this, AccountRemoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountRemoved(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::AccountRemoved(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->remove_AccountRemoved(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::EnumerationCompleted_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EnumerationCompleted_revoker>(this, EnumerationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::EnumerationCompleted(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::EnumerationCompleted(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->remove_EnumerationCompleted(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::Stopped_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Stopped_revoker>(this, Stopped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::Stopped(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::Stopped(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->remove_Stopped(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcherStatus) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::Status() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::Status() const
{
winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcherStatus status{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->get_Status(reinterpret_cast<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSar<D>::AntennaIndex() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSar<D>::AntennaIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAntennaSar)->get_AntennaIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSar<D>::SarBackoffIndex() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSar<D>::SarBackoffIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAntennaSar)->get_SarBackoffIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandAntennaSar) consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSarFactory<D>::CreateWithIndex(int32_t antennaIndex, int32_t sarBackoffIndex) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandAntennaSarFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma<D>::BaseStationId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma<D>::BaseStationId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_BaseStationId(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma<D>::BaseStationPNCode() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma<D>::BaseStationPNCode() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_BaseStationPNCode(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma<D>::BaseStationLatitude() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma<D>::BaseStationLatitude() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_BaseStationLatitude(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma<D>::BaseStationLongitude() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma<D>::BaseStationLongitude() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_BaseStationLongitude(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma<D>::BaseStationLastBroadcastGpsTime() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma<D>::BaseStationLastBroadcastGpsTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_BaseStationLastBroadcastGpsTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma<D>::NetworkId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma<D>::NetworkId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_NetworkId(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma<D>::PilotSignalStrengthInDB() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma<D>::PilotSignalStrengthInDB() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_PilotSignalStrengthInDB(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma<D>::SystemId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma<D>::SystemId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma)->get_SystemId(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm<D>::BaseStationId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm<D>::BaseStationId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_BaseStationId(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm<D>::CellId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm<D>::CellId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_CellId(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm<D>::ChannelNumber() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm<D>::ChannelNumber() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_ChannelNumber(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm<D>::LocationAreaCode() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm<D>::LocationAreaCode() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_LocationAreaCode(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm<D>::ProviderId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm<D>::ReceivedSignalStrengthInDBm() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm<D>::ReceivedSignalStrengthInDBm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_ReceivedSignalStrengthInDBm(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm<D>::TimingAdvanceInBitPeriods() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm<D>::TimingAdvanceInBitPeriods() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm)->get_TimingAdvanceInBitPeriods(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte<D>::CellId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte<D>::CellId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_CellId(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte<D>::ChannelNumber() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte<D>::ChannelNumber() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_ChannelNumber(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte<D>::PhysicalCellId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte<D>::PhysicalCellId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_PhysicalCellId(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte<D>::ProviderId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte<D>::ReferenceSignalReceivedPowerInDBm() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte<D>::ReferenceSignalReceivedPowerInDBm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_ReferenceSignalReceivedPowerInDBm(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte<D>::ReferenceSignalReceivedQualityInDBm() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte<D>::ReferenceSignalReceivedQualityInDBm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_ReferenceSignalReceivedQualityInDBm(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte<D>::TimingAdvanceInBitPeriods() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte<D>::TimingAdvanceInBitPeriods() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_TimingAdvanceInBitPeriods(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte<D>::TrackingAreaCode() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte<D>::TrackingAreaCode() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte)->get_TrackingAreaCode(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int64_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::CellId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::CellId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_CellId(&value));
return winrt::Windows::Foundation::IReference<int64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::ChannelNumber() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::ChannelNumber() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ChannelNumber(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::PhysicalCellId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::PhysicalCellId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_PhysicalCellId(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::ProviderId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::ReferenceSignalReceivedPowerInDBm() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::ReferenceSignalReceivedPowerInDBm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ReferenceSignalReceivedPowerInDBm(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::ReferenceSignalReceivedQualityInDBm() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::ReferenceSignalReceivedQualityInDBm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_ReferenceSignalReceivedQualityInDBm(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::TimingAdvanceInNanoseconds() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::TimingAdvanceInNanoseconds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_TimingAdvanceInNanoseconds(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::TrackingAreaCode() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::TrackingAreaCode() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_TrackingAreaCode(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::SignalToNoiseRatioInDB() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR<D>::SignalToNoiseRatioInDB() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR)->get_SignalToNoiseRatioInDB(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma<D>::CellId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma<D>::CellId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_CellId(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma<D>::CellParameterId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma<D>::CellParameterId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_CellParameterId(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma<D>::ChannelNumber() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma<D>::ChannelNumber() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_ChannelNumber(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma<D>::LocationAreaCode() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma<D>::LocationAreaCode() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_LocationAreaCode(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma<D>::PathLossInDB() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma<D>::PathLossInDB() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_PathLossInDB(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma<D>::ProviderId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma<D>::ReceivedSignalCodePowerInDBm() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma<D>::ReceivedSignalCodePowerInDBm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_ReceivedSignalCodePowerInDBm(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma<D>::TimingAdvanceInBitPeriods() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma<D>::TimingAdvanceInBitPeriods() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma)->get_TimingAdvanceInBitPeriods(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts<D>::CellId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts<D>::CellId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_CellId(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts<D>::ChannelNumber() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts<D>::ChannelNumber() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_ChannelNumber(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts<D>::LocationAreaCode() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts<D>::LocationAreaCode() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_LocationAreaCode(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts<D>::PathLossInDB() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts<D>::PathLossInDB() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_PathLossInDB(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts<D>::PrimaryScramblingCode() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts<D>::PrimaryScramblingCode() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_PrimaryScramblingCode(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts<D>::ProviderId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts<D>::ReceivedSignalCodePowerInDBm() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts<D>::ReceivedSignalCodePowerInDBm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_ReceivedSignalCodePowerInDBm(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts<D>::SignalToNoiseRatioInDB() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts<D>::SignalToNoiseRatioInDB() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts)->get_SignalToNoiseRatioInDB(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellCdma>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::NeighboringCellsCdma() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::NeighboringCellsCdma() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_NeighboringCellsCdma(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellCdma>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellGsm>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::NeighboringCellsGsm() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::NeighboringCellsGsm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_NeighboringCellsGsm(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellGsm>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellLte>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::NeighboringCellsLte() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::NeighboringCellsLte() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_NeighboringCellsLte(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellLte>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellTdscdma>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::NeighboringCellsTdscdma() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::NeighboringCellsTdscdma() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_NeighboringCellsTdscdma(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellTdscdma>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellUmts>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::NeighboringCellsUmts() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::NeighboringCellsUmts() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_NeighboringCellsUmts(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellUmts>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellCdma>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::ServingCellsCdma() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::ServingCellsCdma() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_ServingCellsCdma(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellCdma>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellGsm>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::ServingCellsGsm() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::ServingCellsGsm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_ServingCellsGsm(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellGsm>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellLte>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::ServingCellsLte() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::ServingCellsLte() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_ServingCellsLte(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellLte>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellTdscdma>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::ServingCellsTdscdma() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::ServingCellsTdscdma() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_ServingCellsTdscdma(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellTdscdma>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellUmts>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::ServingCellsUmts() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo<D>::ServingCellsUmts() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo)->get_ServingCellsUmts(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellUmts>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2<D>::NeighboringCellsNR() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2<D>::NeighboringCellsNR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2)->get_NeighboringCellsNR(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2<D>::ServingCellsNR() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2<D>::ServingCellsNR() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2)->get_ServingCellsNR(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandCurrentSlotIndexChangedEventArgs<D>::CurrentSlotIndex() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandCurrentSlotIndexChangedEventArgs<D>::CurrentSlotIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs)->get_CurrentSlotIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkDeviceStatus) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::NetworkDeviceStatus() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::NetworkDeviceStatus() const
{
winrt::Windows::Networking::NetworkOperators::NetworkDeviceStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_NetworkDeviceStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::Manufacturer() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::Model() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::FirmwareInformation() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::CellularClass) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::CellularClass() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::CellularClass() const
{
winrt::Windows::Devices::Sms::CellularClass value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_CellularClass(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::DataClasses) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::DataClasses() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::DataClasses() const
{
winrt::Windows::Networking::NetworkOperators::DataClasses value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_DataClasses(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::CustomDataClass() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::MobileEquipmentId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::TelephoneNumbers() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::TelephoneNumbers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_TelephoneNumbers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::SubscriberId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::SimIccId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceType) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::DeviceType() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::DeviceType() const
{
winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceType pDeviceType{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_DeviceType(reinterpret_cast<int32_t*>(&pDeviceType)));
return pDeviceType;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioState) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::CurrentRadioState() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation<D>::CurrentRadioState() const
{
winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioState pCurrentState{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation)->get_CurrentRadioState(reinterpret_cast<int32_t*>(&pCurrentState)));
return pCurrentState;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinManager) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2<D>::PinManager() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2<D>::Revision() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2<D>::SerialNumber() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3<D>::SimSpn() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3<D>::SimPnn() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3<D>::SimGid1() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation4<D>::SlotManager() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService<D>::DeviceServiceId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService<D>::DeviceServiceId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService)->get_DeviceServiceId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService<D>::SupportedCommands() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService<D>::SupportedCommands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService)->get_SupportedCommands(&value));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataSession) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService<D>::OpenDataSession() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceCommandSession) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService<D>::OpenCommandSession() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandResult<D>::StatusCode() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandResult<D>::StatusCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandResult)->get_StatusCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandResult<D>::ResponseData() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceCommandResult>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession<D>::SendQueryCommandAsync(uint32_t commandId, winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession<D>::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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceCommandResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceCommandResult>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession<D>::SendSetCommandAsync(uint32_t commandId, winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession<D>::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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceCommandResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession<D>::CloseSession() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession<D>::CloseSession() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandSession)->CloseSession());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataReceivedEventArgs<D>::ReceivedData() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession<D>::WriteDataAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession<D>::CloseSession() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession<D>::CloseSession() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataSession)->CloseSession());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession<D>::DataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataSession, winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataReceivedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession<D>::DataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataSession, winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataReceivedEventArgs> 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 D> typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession<D>::DataReceived_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession<D>::DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataSession, winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataReceivedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession<D>::DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataSession, winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataReceivedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, DataReceived_revoker>(this, DataReceived(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession<D>::DataReceived(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataSession<D>::DataReceived(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataSession)->remove_DataReceived(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation<D>::DeviceServiceId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation<D>::DeviceServiceId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceInformation)->get_DeviceServiceId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation<D>::IsDataReadSupported() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation<D>::IsDataReadSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceInformation)->get_IsDataReadSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation<D>::IsDataWriteSupported() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceInformation<D>::IsDataWriteSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceInformation)->get_IsDataWriteSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails<D>::DeviceServiceId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails<D>::DeviceServiceId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceTriggerDetails)->get_DeviceServiceId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails<D>::ReceivedData() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccount) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::CurrentAccount() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceInformation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::DeviceInformation() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::MaxDeviceServiceCommandSizeInBytes() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::MaxDeviceServiceCommandSizeInBytes() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_MaxDeviceServiceCommandSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::MaxDeviceServiceDataSizeInBytes() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::MaxDeviceServiceDataSizeInBytes() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_MaxDeviceServiceDataSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceInformation>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::DeviceServices() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::DeviceServices() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_DeviceServices(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceInformation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceService) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::GetDeviceService(winrt::guid const& deviceServiceId) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::IsResetSupported() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::IsResetSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->get_IsResetSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::ResetAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemConfiguration>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::GetCurrentConfigurationAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::GetCurrentConfigurationAsync() const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem)->GetCurrentConfigurationAsync(&asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemConfiguration>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetwork) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::CurrentNetwork() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem2<D>::GetIsPassthroughEnabledAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem2<D>::GetIsPassthroughEnabledAsync() const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem2)->GetIsPassthroughEnabledAsync(&asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem2<D>::SetIsPassthroughEnabledAsync(bool value) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem2<D>::SetIsPassthroughEnabledAsync(bool value) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem2)->SetIsPassthroughEnabledAsync(value, &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPco>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3<D>::TryGetPcoAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3<D>::TryGetPcoAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem3)->TryGetPcoAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPco>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3<D>::IsInEmergencyCallMode() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3<D>::IsInEmergencyCallMode() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem3)->get_IsInEmergencyCallMode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3<D>::IsInEmergencyCallModeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3<D>::IsInEmergencyCallModeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3<D>::IsInEmergencyCallModeChanged_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3<D>::IsInEmergencyCallModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3<D>::IsInEmergencyCallModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, IsInEmergencyCallModeChanged_revoker>(this, IsInEmergencyCallModeChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3<D>::IsInEmergencyCallModeChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3<D>::IsInEmergencyCallModeChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem3)->remove_IsInEmergencyCallModeChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandUicc) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration<D>::Uicc() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration<D>::HomeProviderId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration<D>::HomeProviderName() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration2<D>::SarManager() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation<D>::AddAllowedHost(winrt::Windows::Networking::HostName const& host) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation<D>::AddAllowedHost(winrt::Windows::Networking::HostName const& host) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemIsolation)->AddAllowedHost(*(void**)(&host)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation<D>::AddAllowedHostRange(winrt::Windows::Networking::HostName const& first, winrt::Windows::Networking::HostName const& last) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation<D>::ApplyConfigurationAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation<D>::ClearConfigurationAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemIsolation) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolationFactory<D>::Create(param::hstring const& modemDeviceId, param::hstring const& ruleGroupId) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemIsolationFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics<D>::GetDeviceSelector() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemStatics)->GetDeviceSelector(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics<D>::FromId(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem) consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::NetworkAdapter) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::NetworkAdapter() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkRegistrationState) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::NetworkRegistrationState() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::NetworkRegistrationState() const
{
winrt::Windows::Networking::NetworkOperators::NetworkRegistrationState registrationState{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_NetworkRegistrationState(reinterpret_cast<int32_t*>(&registrationState)));
return registrationState;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::RegistrationNetworkError() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::RegistrationNetworkError() const
{
uint32_t networkError{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_RegistrationNetworkError(&networkError));
return networkError;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::PacketAttachNetworkError() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::PacketAttachNetworkError() const
{
uint32_t networkError{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_PacketAttachNetworkError(&networkError));
return networkError;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::ActivationNetworkError() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::ActivationNetworkError() const
{
uint32_t networkError{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_ActivationNetworkError(&networkError));
return networkError;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::AccessPointName() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::DataClasses) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::RegisteredDataClass() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::RegisteredDataClass() const
{
winrt::Windows::Networking::NetworkOperators::DataClasses value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->get_RegisteredDataClass(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::RegisteredProviderId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::RegisteredProviderName() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::ShowConnectionUI() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork<D>::ShowConnectionUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork)->ShowConnectionUI());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork2<D>::GetVoiceCallSupportAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork2<D>::GetVoiceCallSupportAsync() const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork2)->GetVoiceCallSupportAsync(&asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccApp>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork2<D>::RegistrationUiccApps() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork2<D>::RegistrationUiccApps() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork2)->get_RegistrationUiccApps(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccApp>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellsInfo>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork3<D>::GetCellsInfoAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork3<D>::GetCellsInfoAsync() const
{
void* asyncOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork3)->GetCellsInfoAsync(&asyncOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellsInfo>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChange<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChange<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetwork) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChange<D>::Network() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChange<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetworkRegistrationStateChange>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails<D>::NetworkRegistrationStateChanges() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails<D>::NetworkRegistrationStateChanges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails)->get_NetworkRegistrationStateChanges(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetworkRegistrationStateChange>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco<D>::Data() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco<D>::IsComplete() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco<D>::IsComplete() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPco)->get_IsComplete(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPco<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPco) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPcoDataChangeTriggerDetails<D>::UpdatedData() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPcoDataChangeTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::Type() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::Type() const
{
winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinLockState) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::LockState() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::LockState() const
{
winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinLockState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_LockState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinFormat) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::Format() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::Format() const
{
winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_Format(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::Enabled() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::Enabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_Enabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::MaxLength() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::MaxLength() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_MaxLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::MinLength() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::MinLength() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_MinLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::AttemptsRemaining() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::AttemptsRemaining() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->get_AttemptsRemaining(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinOperationResult>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::EnableAsync(param::hstring const& currentPin) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::EnableAsync(param::hstring const& currentPin) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->EnableAsync(*(void**)(&currentPin), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinOperationResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinOperationResult>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::DisableAsync(param::hstring const& currentPin) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::DisableAsync(param::hstring const& currentPin) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->DisableAsync(*(void**)(&currentPin), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinOperationResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinOperationResult>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::EnterAsync(param::hstring const& currentPin) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::EnterAsync(param::hstring const& currentPin) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->EnterAsync(*(void**)(&currentPin), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinOperationResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinOperationResult>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::ChangeAsync(param::hstring const& currentPin, param::hstring const& newPin) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::ChangeAsync(param::hstring const& currentPin, param::hstring const& newPin) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin)->ChangeAsync(*(void**)(&currentPin), *(void**)(&newPin), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinOperationResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinOperationResult>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::UnblockAsync(param::hstring const& pinUnblockKey, param::hstring const& newPin) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPin<D>::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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinOperationResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange<D>::PinType() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange<D>::PinType() const
{
winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChange)->get_PinType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinLockState) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange<D>::PinLockState() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChange<D>::PinLockState() const
{
winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinLockState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChange)->get_PinLockState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinLockStateChange>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChangeTriggerDetails<D>::PinLockStateChanges() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChangeTriggerDetails<D>::PinLockStateChanges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChangeTriggerDetails)->get_PinLockStateChanges(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinLockStateChange>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinManager<D>::SupportedPins() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinManager<D>::SupportedPins() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinManager)->get_SupportedPins(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPin) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinManager<D>::GetPin(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType const& pinType) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinManager<D>::GetPin(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType const& pinType) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinManager)->GetPin(static_cast<int32_t>(pinType), &value));
return winrt::Windows::Networking::NetworkOperators::MobileBroadbandPin{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinOperationResult<D>::IsSuccessful() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinOperationResult<D>::IsSuccessful() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinOperationResult)->get_IsSuccessful(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinOperationResult<D>::AttemptsRemaining() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinOperationResult<D>::AttemptsRemaining() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinOperationResult)->get_AttemptsRemaining(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChange<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChange<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioState) consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChange<D>::RadioState() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChange<D>::RadioState() const
{
winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChange)->get_RadioState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioStateChange>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChangeTriggerDetails<D>::RadioStateChanges() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChangeTriggerDetails<D>::RadioStateChanges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChangeTriggerDetails)->get_RadioStateChanges(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioStateChange>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::IsBackoffEnabled() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::IsBackoffEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->get_IsBackoffEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::IsWiFiHardwareIntegrated() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::IsWiFiHardwareIntegrated() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->get_IsWiFiHardwareIntegrated(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::IsSarControlledByHardware() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::IsSarControlledByHardware() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->get_IsSarControlledByHardware(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAntennaSar>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::Antennas() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::Antennas() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->get_Antennas(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAntennaSar>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::HysteresisTimerPeriod() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::TransmissionStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandTransmissionStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::TransmissionStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandTransmissionStateChangedEventArgs> 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 D> typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::TransmissionStateChanged_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::TransmissionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandTransmissionStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::TransmissionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandTransmissionStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TransmissionStateChanged_revoker>(this, TransmissionStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::TransmissionStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::TransmissionStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->remove_TransmissionStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::EnableBackoffAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::DisableBackoffAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::SetConfigurationAsync(param::async_iterable<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAntennaSar> const& antennas) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::SetConfigurationAsync(param::async_iterable<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAntennaSar> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::RevertSarToHardwareControlAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::SetTransmissionStateChangedHysteresisAsync(winrt::Windows::Foundation::TimeSpan const& timerPeriod) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::GetIsTransmittingAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::GetIsTransmittingAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->GetIsTransmittingAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::StartTransmissionStateMonitoring() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::StartTransmissionStateMonitoring() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->StartTransmissionStateMonitoring());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::StopTransmissionStateMonitoring() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSarManager<D>::StopTransmissionStateMonitoring() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager)->StopTransmissionStateMonitoring());
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo<D>::Index() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo<D>::Index() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo)->get_Index(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotState) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo<D>::State() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfo<D>::State() const
{
winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfoChangedEventArgs<D>::SlotInfo() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfoChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SlotInfos() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SlotInfos() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->get_SlotInfos(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::CurrentSlotIndex() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::CurrentSlotIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->get_CurrentSlotIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SetCurrentSlot(int32_t slotIndex) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SetCurrentSlotAsync(int32_t slotIndex) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SlotInfoChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfoChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SlotInfoChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfoChangedEventArgs> 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 D> typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SlotInfoChanged_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SlotInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfoChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SlotInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfoChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SlotInfoChanged_revoker>(this, SlotInfoChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SlotInfoChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::SlotInfoChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->remove_SlotInfoChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::CurrentSlotIndexChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandCurrentSlotIndexChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::CurrentSlotIndexChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandCurrentSlotIndexChangedEventArgs> 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 D> typename consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::CurrentSlotIndexChanged_revoker consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::CurrentSlotIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandCurrentSlotIndexChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::CurrentSlotIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandCurrentSlotIndexChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CurrentSlotIndexChanged_revoker>(this, CurrentSlotIndexChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::CurrentSlotIndexChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager<D>::CurrentSlotIndexChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager)->remove_CurrentSlotIndexChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IMobileBroadbandTransmissionStateChangedEventArgs<D>::IsTransmitting() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandTransmissionStateChangedEventArgs<D>::IsTransmitting() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs)->get_IsTransmitting(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUicc<D>::SimIccId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUicc<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppsResult>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUicc<D>::GetUiccAppsAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUicc<D>::GetUiccAppsAsync() const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUicc)->GetUiccAppsAsync(&asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppsResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp<D>::Id() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UiccAppKind) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp<D>::Kind() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp<D>::Kind() const
{
winrt::Windows::Networking::NetworkOperators::UiccAppKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppRecordDetailsResult>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp<D>::GetRecordDetailsAsync(param::async_iterable<uint32_t> const& uiccFilePath) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp<D>::GetRecordDetailsAsync(param::async_iterable<uint32_t> const& uiccFilePath) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp)->GetRecordDetailsAsync(*(void**)(&uiccFilePath), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppRecordDetailsResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppReadRecordResult>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp<D>::ReadRecordAsync(param::async_iterable<uint32_t> const& uiccFilePath, int32_t recordIndex) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccApp<D>::ReadRecordAsync(param::async_iterable<uint32_t> 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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppReadRecordResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppReadRecordResult<D>::Status() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppReadRecordResult<D>::Status() const
{
winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppReadRecordResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppReadRecordResult<D>::Data() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppReadRecordResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult<D>::Status() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult<D>::Status() const
{
winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UiccAppRecordKind) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult<D>::Kind() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult<D>::Kind() const
{
winrt::Windows::Networking::NetworkOperators::UiccAppRecordKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult<D>::RecordCount() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult<D>::RecordCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_RecordCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult<D>::RecordSize() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult<D>::RecordSize() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_RecordSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UiccAccessCondition) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult<D>::ReadAccessCondition() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult<D>::ReadAccessCondition() const
{
winrt::Windows::Networking::NetworkOperators::UiccAccessCondition value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_ReadAccessCondition(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UiccAccessCondition) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult<D>::WriteAccessCondition() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppRecordDetailsResult<D>::WriteAccessCondition() const
{
winrt::Windows::Networking::NetworkOperators::UiccAccessCondition value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult)->get_WriteAccessCondition(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppsResult<D>::Status() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppsResult<D>::Status() const
{
winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppOperationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppsResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccApp>) consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppsResult<D>::UiccApps() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IMobileBroadbandUiccAppsResult<D>::UiccApps() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppsResult)->get_UiccApps(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccApp>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorDataUsageNotificationKind) consume_Windows_Networking_NetworkOperators_INetworkOperatorDataUsageTriggerDetails<D>::NotificationKind() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorDataUsageTriggerDetails<D>::NotificationKind() const
{
winrt::Windows::Networking::NetworkOperators::NetworkOperatorDataUsageNotificationKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorDataUsageTriggerDetails)->get_NotificationKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorEventMessageType) consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails<D>::NotificationType() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails<D>::NotificationType() const
{
winrt::Windows::Networking::NetworkOperators::NetworkOperatorEventMessageType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails)->get_NotificationType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails<D>::NetworkAccountId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails<D>::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 <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails<D>::EncodingType() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails<D>::EncodingType() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails)->get_EncodingType(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails<D>::Message() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails<D>::RuleId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sms::ISmsMessage) consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails<D>::SmsMessage() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorNotificationEventDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration<D>::Ssid() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration<D>::Ssid(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration<D>::Ssid(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration)->put_Ssid(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration<D>::Passphrase() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration<D>::Passphrase(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration<D>::Passphrase(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration)->put_Passphrase(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2<D>::IsBandSupported(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2<D>::IsBandSupported(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration2)->IsBandSupported(static_cast<int32_t>(band), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2<D>::IsBandSupportedAsync(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2<D>::IsBandSupportedAsync(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& band) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration2)->IsBandSupportedAsync(static_cast<int32_t>(band), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2<D>::Band() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2<D>::Band() const
{
winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration2)->get_Band(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2<D>::Band(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& value) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringAccessPointConfiguration2<D>::Band(winrt::Windows::Networking::NetworkOperators::TetheringWiFiBand const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration2)->put_Band(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClient<D>::MacAddress() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClient<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::HostName>) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClient<D>::HostNames() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClient<D>::HostNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringClient)->get_HostNames(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::HostName>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringClient>) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClientManager<D>::GetTetheringClients() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClientManager<D>::GetTetheringClients() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringClientManager)->GetTetheringClients(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringClient>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringEntitlementCheck<D>::AuthorizeTethering(bool allow, param::hstring const& entitlementFailureReason) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringEntitlementCheck<D>::AuthorizeTethering(bool allow, param::hstring const& entitlementFailureReason) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringEntitlementCheck)->AuthorizeTethering(allow, *(void**)(&entitlementFailureReason)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager<D>::MaxClientCount() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager<D>::MaxClientCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->get_MaxClientCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager<D>::ClientCount() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager<D>::ClientCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->get_ClientCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::TetheringOperationalState) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager<D>::TetheringOperationalState() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager<D>::TetheringOperationalState() const
{
winrt::Windows::Networking::NetworkOperators::TetheringOperationalState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->get_TetheringOperationalState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringAccessPointConfiguration) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager<D>::GetCurrentAccessPointConfiguration() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager<D>::ConfigureAccessPointAsync(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringAccessPointConfiguration const& configuration) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringOperationResult>) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager<D>::StartTetheringAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager<D>::StartTetheringAsync() const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->StartTetheringAsync(&asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringOperationResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringOperationResult>) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager<D>::StopTetheringAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManager<D>::StopTetheringAsync() const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager)->StopTetheringAsync(&asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringOperationResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::TetheringCapability) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics<D>::GetTetheringCapability(param::hstring const& networkAccountId) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringManager) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics<D>::CreateFromNetworkAccountId(param::hstring const& networkAccountId) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::TetheringCapability) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics2<D>::GetTetheringCapabilityFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics2<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringManager) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics2<D>::CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringManager) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics3<D>::CreateFromConnectionProfile(winrt::Windows::Networking::Connectivity::ConnectionProfile const& profile, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4<D>::IsNoConnectionsTimeoutEnabled() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4<D>::IsNoConnectionsTimeoutEnabled() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics4)->IsNoConnectionsTimeoutEnabled(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4<D>::EnableNoConnectionsTimeout() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4<D>::EnableNoConnectionsTimeout() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics4)->EnableNoConnectionsTimeout());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4<D>::EnableNoConnectionsTimeoutAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4<D>::DisableNoConnectionsTimeout() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4<D>::DisableNoConnectionsTimeout() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics4)->DisableNoConnectionsTimeout());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4<D>::DisableNoConnectionsTimeoutAsync() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringManagerStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::TetheringOperationStatus) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringOperationResult<D>::Status() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringOperationResult<D>::Status() const
{
winrt::Windows::Networking::NetworkOperators::TetheringOperationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringOperationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringOperationResult<D>::AdditionalErrorMessage() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringOperationResult<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_NetworkOperators_IProvisionFromXmlDocumentResults<D>::AllElementsProvisioned() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IProvisionFromXmlDocumentResults<D>::AllElementsProvisioned() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IProvisionFromXmlDocumentResults)->get_AllElementsProvisioned(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IProvisionFromXmlDocumentResults<D>::ProvisionResultsXml() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IProvisionFromXmlDocumentResults<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IProvisionedProfile<D>::UpdateCost(winrt::Windows::Networking::Connectivity::NetworkCostType const& value) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IProvisionedProfile<D>::UpdateCost(winrt::Windows::Networking::Connectivity::NetworkCostType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IProvisionedProfile)->UpdateCost(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IProvisionedProfile<D>::UpdateUsage(winrt::Windows::Networking::NetworkOperators::ProfileUsage const& value) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IProvisionedProfile<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ProvisionFromXmlDocumentResults>) consume_Windows_Networking_NetworkOperators_IProvisioningAgent<D>::ProvisionFromXmlDocumentAsync(param::hstring const& provisioningXmlDocument) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IProvisioningAgent<D>::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<winrt::Windows::Networking::NetworkOperators::ProvisionFromXmlDocumentResults>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ProvisionedProfile) consume_Windows_Networking_NetworkOperators_IProvisioningAgent<D>::GetProvisionedProfile(winrt::Windows::Networking::NetworkOperators::ProfileMediaType const& mediaType, param::hstring const& profileName) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IProvisioningAgent<D>::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<int32_t>(mediaType), *(void**)(&profileName), &provisionedProfile));
return winrt::Windows::Networking::NetworkOperators::ProvisionedProfile{ provisionedProfile, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ProvisioningAgent) consume_Windows_Networking_NetworkOperators_IProvisioningAgentStaticMethods<D>::CreateFromNetworkAccountId(param::hstring const& networkAccountId) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IProvisioningAgentStaticMethods<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails<D>::NetworkAccountId() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails<D>::AllowTethering() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails<D>::AllowTethering() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::ITetheringEntitlementCheckTriggerDetails)->AllowTethering());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails<D>::DenyTethering(param::hstring const& entitlementFailureReason) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_ITetheringEntitlementCheckTriggerDetails<D>::DenyTethering(param::hstring const& entitlementFailureReason) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::ITetheringEntitlementCheckTriggerDetails)->DenyTethering(*(void**)(&entitlementFailureReason)));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Networking_NetworkOperators_IUssdMessage<D>::DataCodingScheme() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IUssdMessage<D>::DataCodingScheme() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessage)->get_DataCodingScheme(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IUssdMessage<D>::DataCodingScheme(uint8_t value) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IUssdMessage<D>::DataCodingScheme(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessage)->put_DataCodingScheme(value));
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Networking_NetworkOperators_IUssdMessage<D>::GetPayload() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IUssdMessage<D>::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<uint8_t>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IUssdMessage<D>::SetPayload(array_view<uint8_t const> value) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IUssdMessage<D>::SetPayload(array_view<uint8_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessage)->SetPayload(value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_NetworkOperators_IUssdMessage<D>::PayloadAsText() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IUssdMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IUssdMessage<D>::PayloadAsText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IUssdMessage<D>::PayloadAsText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdMessage)->put_PayloadAsText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UssdMessage) consume_Windows_Networking_NetworkOperators_IUssdMessageFactory<D>::CreateMessage(param::hstring const& messageText) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IUssdMessageFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UssdResultCode) consume_Windows_Networking_NetworkOperators_IUssdReply<D>::ResultCode() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IUssdReply<D>::ResultCode() const
{
winrt::Windows::Networking::NetworkOperators::UssdResultCode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdReply)->get_ResultCode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UssdMessage) consume_Windows_Networking_NetworkOperators_IUssdReply<D>::Message() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IUssdReply<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::UssdReply>) consume_Windows_Networking_NetworkOperators_IUssdSession<D>::SendMessageAndGetReplyAsync(winrt::Windows::Networking::NetworkOperators::UssdMessage const& message) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IUssdSession<D>::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<winrt::Windows::Networking::NetworkOperators::UssdReply>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_NetworkOperators_IUssdSession<D>::Close() const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IUssdSession<D>::Close() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::NetworkOperators::IUssdSession)->Close());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UssdSession) consume_Windows_Networking_NetworkOperators_IUssdSessionStatics<D>::CreateFromNetworkAccountId(param::hstring const& networkAccountId) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IUssdSessionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::UssdSession) consume_Windows_Networking_NetworkOperators_IUssdSessionStatics<D>::CreateFromNetworkInterfaceId(param::hstring const& networkInterfaceId) const
+ template <typename D> auto consume_Windows_Networking_NetworkOperators_IUssdSessionStatics<D>::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<ESimManager, IESimManagerStatics>([&](IESimManagerStatics const& f) { return f.ServiceInfoChanged(handler); });
}
- inline ESimManager::ServiceInfoChanged_revoker ESimManager::ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto ESimManager::ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<ESimManager, winrt::Windows::Networking::NetworkOperators::IESimManagerStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Proximity.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Proximity.h
index 48bd0f536f6..e8b48d96f27 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Proximity.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::PeerInformation) consume_Windows_Networking_Proximity_IConnectionRequestedEventArgs<D>::PeerInformation() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IConnectionRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::AllowBluetooth() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::AllowBluetooth() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->get_AllowBluetooth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::AllowBluetooth(bool value) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::AllowBluetooth(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->put_AllowBluetooth(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::AllowInfrastructure() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::AllowInfrastructure() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->get_AllowInfrastructure(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::AllowInfrastructure(bool value) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::AllowInfrastructure(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->put_AllowInfrastructure(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::AllowWiFiDirect() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::AllowWiFiDirect() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->get_AllowWiFiDirect(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::AllowWiFiDirect(bool value) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::AllowWiFiDirect(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->put_AllowWiFiDirect(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::PeerDiscoveryTypes) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::SupportedDiscoveryTypes() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::SupportedDiscoveryTypes() const
{
winrt::Windows::Networking::Proximity::PeerDiscoveryTypes value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->get_SupportedDiscoveryTypes(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::AlternateIdentities() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::AlternateIdentities() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->get_AlternateIdentities(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::Start() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::Start(param::hstring const& peerMessage) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::Start(param::hstring const& peerMessage) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->StartWithMessage(*(void**)(&peerMessage)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::Stop() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::TriggeredConnectionStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::TriggeredConnectionStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::TriggeredConnectionStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::TriggeredConnectionStateChangedEventArgs> 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 D> typename consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::TriggeredConnectionStateChanged_revoker consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::TriggeredConnectionStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::TriggeredConnectionStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TriggeredConnectionStateChanged_revoker>(this, TriggeredConnectionStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::TriggeredConnectionStateChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::TriggeredConnectionStateChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->remove_TriggeredConnectionStateChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::ConnectionRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::ConnectionRequestedEventArgs> 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 D> typename consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::ConnectionRequested_revoker consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::ConnectionRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::ConnectionRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ConnectionRequested_revoker>(this, ConnectionRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::ConnectionRequested(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::ConnectionRequested(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->remove_ConnectionRequested(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Proximity::PeerInformation>>) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::FindAllPeersAsync() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::FindAllPeersAsync() const
{
void* asyncOp{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics)->FindAllPeersAsync(&asyncOp));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Proximity::PeerInformation>>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Sockets::StreamSocket>) consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::ConnectAsync(winrt::Windows::Networking::Proximity::PeerInformation const& peerInformation) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics<D>::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<winrt::Windows::Networking::Sockets::StreamSocket>{ asyncOp, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::PeerRole) consume_Windows_Networking_Proximity_IPeerFinderStatics2<D>::Role() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics2<D>::Role() const
{
winrt::Windows::Networking::Proximity::PeerRole value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics2)->get_Role(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics2<D>::Role(winrt::Windows::Networking::Proximity::PeerRole const& value) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics2<D>::Role(winrt::Windows::Networking::Proximity::PeerRole const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics2)->put_Role(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_Proximity_IPeerFinderStatics2<D>::DiscoveryData() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerFinderStatics2<D>::DiscoveryData(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics2<D>::DiscoveryData(winrt::Windows::Storage::Streams::IBuffer const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerFinderStatics2)->put_DiscoveryData(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::PeerWatcher) consume_Windows_Networking_Proximity_IPeerFinderStatics2<D>::CreateWatcher() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerFinderStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Proximity_IPeerInformation<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Proximity_IPeerInformation3<D>::Id() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerInformation3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_Proximity_IPeerInformation3<D>::DiscoveryData() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerInformation3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Proximity_IPeerInformationWithHostAndService<D>::HostName() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerInformationWithHostAndService<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Proximity_IPeerInformationWithHostAndService<D>::ServiceName() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerInformationWithHostAndService<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IPeerWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> 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 D> typename consume_Windows_Networking_Proximity_IPeerWatcher<D>::Added_revoker consume_Windows_Networking_Proximity_IPeerWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const
{
return impl::make_event_revoker<D, Added_revoker>(this, Added(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerWatcher<D>::Added(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::Added(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->remove_Added(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IPeerWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> 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 D> typename consume_Windows_Networking_Proximity_IPeerWatcher<D>::Removed_revoker consume_Windows_Networking_Proximity_IPeerWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const
{
return impl::make_event_revoker<D, Removed_revoker>(this, Removed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerWatcher<D>::Removed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::Removed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->remove_Removed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IPeerWatcher<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> 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 D> typename consume_Windows_Networking_Proximity_IPeerWatcher<D>::Updated_revoker consume_Windows_Networking_Proximity_IPeerWatcher<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const
{
return impl::make_event_revoker<D, Updated_revoker>(this, Updated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerWatcher<D>::Updated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::Updated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->remove_Updated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IPeerWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Networking_Proximity_IPeerWatcher<D>::EnumerationCompleted_revoker consume_Windows_Networking_Proximity_IPeerWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EnumerationCompleted_revoker>(this, EnumerationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->remove_EnumerationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IPeerWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Networking_Proximity_IPeerWatcher<D>::Stopped_revoker consume_Windows_Networking_Proximity_IPeerWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Stopped_revoker>(this, Stopped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->remove_Stopped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::PeerWatcherStatus) consume_Windows_Networking_Proximity_IPeerWatcher<D>::Status() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::Status() const
{
winrt::Windows::Networking::Proximity::PeerWatcherStatus status{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->get_Status(reinterpret_cast<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IPeerWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IPeerWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IPeerWatcher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_Networking_Proximity_IProximityDevice<D>::SubscribeForMessage(param::hstring const& messageType, winrt::Windows::Networking::Proximity::MessageReceivedHandler const& messageReceivedHandler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::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 <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_Networking_Proximity_IProximityDevice<D>::PublishMessage(param::hstring const& messageType, param::hstring const& message) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::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 <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_Networking_Proximity_IProximityDevice<D>::PublishMessage(param::hstring const& messageType, param::hstring const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::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 <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_Networking_Proximity_IProximityDevice<D>::PublishBinaryMessage(param::hstring const& messageType, winrt::Windows::Storage::Streams::IBuffer const& message) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::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 <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_Networking_Proximity_IProximityDevice<D>::PublishBinaryMessage(param::hstring const& messageType, winrt::Windows::Storage::Streams::IBuffer const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::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 <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_Networking_Proximity_IProximityDevice<D>::PublishUriMessage(winrt::Windows::Foundation::Uri const& message) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::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 <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_Networking_Proximity_IProximityDevice<D>::PublishUriMessage(winrt::Windows::Foundation::Uri const& message, winrt::Windows::Networking::Proximity::MessageTransmittedHandler const& messageTransmittedHandler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IProximityDevice<D>::StopSubscribingForMessage(int64_t subscriptionId) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::StopSubscribingForMessage(int64_t subscriptionId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->StopSubscribingForMessage(subscriptionId));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IProximityDevice<D>::StopPublishingMessage(int64_t messageId) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::StopPublishingMessage(int64_t messageId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->StopPublishingMessage(messageId));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IProximityDevice<D>::DeviceArrived(winrt::Windows::Networking::Proximity::DeviceArrivedEventHandler const& arrivedHandler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::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 D> typename consume_Windows_Networking_Proximity_IProximityDevice<D>::DeviceArrived_revoker consume_Windows_Networking_Proximity_IProximityDevice<D>::DeviceArrived(auto_revoke_t, winrt::Windows::Networking::Proximity::DeviceArrivedEventHandler const& arrivedHandler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::DeviceArrived(auto_revoke_t, winrt::Windows::Networking::Proximity::DeviceArrivedEventHandler const& arrivedHandler) const
{
return impl::make_event_revoker<D, DeviceArrived_revoker>(this, DeviceArrived(arrivedHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IProximityDevice<D>::DeviceArrived(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::DeviceArrived(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->remove_DeviceArrived(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Proximity_IProximityDevice<D>::DeviceDeparted(winrt::Windows::Networking::Proximity::DeviceDepartedEventHandler const& departedHandler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::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 D> typename consume_Windows_Networking_Proximity_IProximityDevice<D>::DeviceDeparted_revoker consume_Windows_Networking_Proximity_IProximityDevice<D>::DeviceDeparted(auto_revoke_t, winrt::Windows::Networking::Proximity::DeviceDepartedEventHandler const& departedHandler) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::DeviceDeparted(auto_revoke_t, winrt::Windows::Networking::Proximity::DeviceDepartedEventHandler const& departedHandler) const
{
return impl::make_event_revoker<D, DeviceDeparted_revoker>(this, DeviceDeparted(departedHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Proximity_IProximityDevice<D>::DeviceDeparted(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::DeviceDeparted(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->remove_DeviceDeparted(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Proximity_IProximityDevice<D>::MaxMessageBytes() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::MaxMessageBytes() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->get_MaxMessageBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_Proximity_IProximityDevice<D>::BitsPerSecond() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::BitsPerSecond() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDevice)->get_BitsPerSecond(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Proximity_IProximityDevice<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDevice<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Proximity_IProximityDeviceStatics<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDeviceStatics<D>::GetDeviceSelector() const
{
void* selector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityDeviceStatics)->GetDeviceSelector(&selector));
return hstring{ selector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::ProximityDevice) consume_Windows_Networking_Proximity_IProximityDeviceStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::ProximityDevice) consume_Windows_Networking_Proximity_IProximityDeviceStatics<D>::FromId(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityDeviceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Proximity_IProximityMessage<D>::MessageType() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityMessage<D>::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 <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_Networking_Proximity_IProximityMessage<D>::SubscriptionId() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityMessage<D>::SubscriptionId() const
{
int64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::IProximityMessage)->get_SubscriptionId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_Proximity_IProximityMessage<D>::Data() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityMessage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Proximity_IProximityMessage<D>::DataAsString() const
+ template <typename D> auto consume_Windows_Networking_Proximity_IProximityMessage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::TriggeredConnectState) consume_Windows_Networking_Proximity_ITriggeredConnectionStateChangedEventArgs<D>::State() const
+ template <typename D> auto consume_Windows_Networking_Proximity_ITriggeredConnectionStateChangedEventArgs<D>::State() const
{
winrt::Windows::Networking::Proximity::TriggeredConnectState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::ITriggeredConnectionStateChangedEventArgs)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Proximity_ITriggeredConnectionStateChangedEventArgs<D>::Id() const
+ template <typename D> auto consume_Windows_Networking_Proximity_ITriggeredConnectionStateChangedEventArgs<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Proximity::ITriggeredConnectionStateChangedEventArgs)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocket) consume_Windows_Networking_Proximity_ITriggeredConnectionStateChangedEventArgs<D>::Socket() const
+ template <typename D> auto consume_Windows_Networking_Proximity_ITriggeredConnectionStateChangedEventArgs<D>::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<PeerFinder, IPeerFinderStatics>([&](IPeerFinderStatics const& f) { return f.TriggeredConnectionStateChanged(handler); });
}
- inline PeerFinder::TriggeredConnectionStateChanged_revoker PeerFinder::TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::TriggeredConnectionStateChangedEventArgs> const& handler)
+ inline auto PeerFinder::TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::TriggeredConnectionStateChangedEventArgs> const& handler)
{
auto f = get_activation_factory<PeerFinder, winrt::Windows::Networking::Proximity::IPeerFinderStatics>();
- 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<PeerFinder, IPeerFinderStatics>([&](IPeerFinderStatics const& f) { return f.ConnectionRequested(handler); });
}
- inline PeerFinder::ConnectionRequested_revoker PeerFinder::ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::ConnectionRequestedEventArgs> const& handler)
+ inline auto PeerFinder::ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::ConnectionRequestedEventArgs> const& handler)
{
auto f = get_activation_factory<PeerFinder, winrt::Windows::Networking::Proximity::IPeerFinderStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.PushNotifications.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.PushNotifications.h
index 7a43c9caecb..617506b3d82 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.PushNotifications.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_PushNotifications_IPushNotificationChannel<D>::Uri() const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Networking_PushNotifications_IPushNotificationChannel<D>::ExpirationTime() const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_PushNotifications_IPushNotificationChannel<D>::Close() const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannel<D>::Close() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannel)->Close());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_PushNotifications_IPushNotificationChannel<D>::PushNotificationReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::PushNotifications::PushNotificationChannel, winrt::Windows::Networking::PushNotifications::PushNotificationReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannel<D>::PushNotificationReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::PushNotifications::PushNotificationChannel, winrt::Windows::Networking::PushNotifications::PushNotificationReceivedEventArgs> 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 D> typename consume_Windows_Networking_PushNotifications_IPushNotificationChannel<D>::PushNotificationReceived_revoker consume_Windows_Networking_PushNotifications_IPushNotificationChannel<D>::PushNotificationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::PushNotifications::PushNotificationChannel, winrt::Windows::Networking::PushNotifications::PushNotificationReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannel<D>::PushNotificationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::PushNotifications::PushNotificationChannel, winrt::Windows::Networking::PushNotifications::PushNotificationReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PushNotificationReceived_revoker>(this, PushNotificationReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_PushNotifications_IPushNotificationChannel<D>::PushNotificationReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannel<D>::PushNotificationReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannel)->remove_PushNotificationReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser<D>::CreatePushNotificationChannelForApplicationAsync() const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser<D>::CreatePushNotificationChannelForApplicationAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerForUser)->CreatePushNotificationChannelForApplicationAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser<D>::CreatePushNotificationChannelForApplicationAsync(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser<D>::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<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser<D>::CreatePushNotificationChannelForSecondaryTileAsync(param::hstring const& tileId) const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser<D>::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<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser<D>::User() const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser2<D>::CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync(winrt::Windows::Storage::Streams::IBuffer const& appServerKey, param::hstring const& channelId) const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser2<D>::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<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser2<D>::CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync(winrt::Windows::Storage::Streams::IBuffer const& appServerKey, param::hstring const& channelId, param::hstring const& appId) const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser2<D>::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<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics<D>::CreatePushNotificationChannelForApplicationAsync() const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics<D>::CreatePushNotificationChannelForApplicationAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics)->CreatePushNotificationChannelForApplicationAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics<D>::CreatePushNotificationChannelForApplicationAsync(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics<D>::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<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics<D>::CreatePushNotificationChannelForSecondaryTileAsync(param::hstring const& tileId) const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics<D>::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<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::PushNotifications::PushNotificationChannelManagerForUser) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics2<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::PushNotifications::PushNotificationChannelManagerForUser) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics3<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4<D>::ChannelsRevoked(winrt::Windows::Foundation::EventHandler<winrt::Windows::Networking::PushNotifications::PushNotificationChannelsRevokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4<D>::ChannelsRevoked(winrt::Windows::Foundation::EventHandler<winrt::Windows::Networking::PushNotifications::PushNotificationChannelsRevokedEventArgs> 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 D> typename consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4<D>::ChannelsRevoked_revoker consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4<D>::ChannelsRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Networking::PushNotifications::PushNotificationChannelsRevokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4<D>::ChannelsRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Networking::PushNotifications::PushNotificationChannelsRevokedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ChannelsRevoked_revoker>(this, ChannelsRevoked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4<D>::ChannelsRevoked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4<D>::ChannelsRevoked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics4)->remove_ChannelsRevoked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationReceivedEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationReceivedEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::PushNotifications::PushNotificationType) consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs<D>::NotificationType() const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs<D>::NotificationType() const
{
winrt::Windows::Networking::PushNotifications::PushNotificationType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IPushNotificationReceivedEventArgs)->get_NotificationType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs<D>::ToastNotification() const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs<D>::TileNotification() const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeNotification) consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs<D>::BadgeNotification() const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::PushNotifications::RawNotification) consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs<D>::RawNotification() const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IPushNotificationReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_PushNotifications_IRawNotification<D>::Content() const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IRawNotification<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>) consume_Windows_Networking_PushNotifications_IRawNotification2<D>::Headers() const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IRawNotification2<D>::Headers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::PushNotifications::IRawNotification2)->get_Headers(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_PushNotifications_IRawNotification2<D>::ChannelId() const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IRawNotification2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_PushNotifications_IRawNotification3<D>::ContentBytes() const
+ template <typename D> auto consume_Windows_Networking_PushNotifications_IRawNotification3<D>::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<PushNotificationChannelManager, IPushNotificationChannelManagerStatics4>([&](IPushNotificationChannelManagerStatics4 const& f) { return f.ChannelsRevoked(handler); });
}
- inline PushNotificationChannelManager::ChannelsRevoked_revoker PushNotificationChannelManager::ChannelsRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Networking::PushNotifications::PushNotificationChannelsRevokedEventArgs> const& handler)
+ inline auto PushNotificationChannelManager::ChannelsRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Networking::PushNotifications::PushNotificationChannelsRevokedEventArgs> const& handler)
{
auto f = get_activation_factory<PushNotificationChannelManager, winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics4>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.ServiceDiscovery.Dnssd.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.ServiceDiscovery.Dnssd.h
index edf469019ee..cb692878165 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.ServiceDiscovery.Dnssd.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdRegistrationStatus) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdRegistrationResult<D>::Status() const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdRegistrationResult<D>::Status() const
{
winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdRegistrationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdRegistrationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdRegistrationResult<D>::IPAddress() const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdRegistrationResult<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdRegistrationResult<D>::HasInstanceNameChanged() const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdRegistrationResult<D>::HasInstanceNameChanged() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdRegistrationResult)->get_HasInstanceNameChanged(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::DnssdServiceInstanceName() const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::DnssdServiceInstanceName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::DnssdServiceInstanceName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->put_DnssdServiceInstanceName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::HostName() const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::HostName(winrt::Windows::Networking::HostName const& value) const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::HostName(winrt::Windows::Networking::HostName const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->put_HostName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::Port() const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::Port() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->get_Port(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::Port(uint16_t value) const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::Port(uint16_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->put_Port(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::Priority() const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::Priority() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->get_Priority(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::Priority(uint16_t value) const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::Priority(uint16_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->put_Priority(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::Weight() const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::Weight() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->get_Weight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::Weight(uint16_t value) const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::Weight(uint16_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->put_Weight(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::TextAttributes() const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::TextAttributes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance)->get_TextAttributes(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdRegistrationResult>) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::RegisterStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& socket) const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::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<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdRegistrationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdRegistrationResult>) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::RegisterStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& socket, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::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<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdRegistrationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdRegistrationResult>) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::RegisterDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& socket) const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::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<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdRegistrationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdRegistrationResult>) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::RegisterDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& socket, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstance<D>::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<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdRegistrationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceInstance) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstanceFactory<D>::Create(param::hstring const& dnssdServiceInstanceName, winrt::Windows::Networking::HostName const& hostName, uint16_t port) const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceInstanceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceInstance> const& handler) const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceInstance> 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 D> typename consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Added_revoker consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceInstance> const& handler) const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceInstance> const& handler) const
{
return impl::make_event_revoker<D, Added_revoker>(this, Added(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Added(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Added(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher)->remove_Added(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::EnumerationCompleted_revoker consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EnumerationCompleted_revoker>(this, EnumerationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher)->remove_EnumerationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Stopped_revoker consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Stopped_revoker>(this, Stopped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher)->remove_Stopped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcherStatus) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Status() const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Status() const
{
winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcherStatus status{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher)->get_Status(reinterpret_cast<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher)->Stop());
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Sockets.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Sockets.h
index c2b3e86f3c4..092397cf4cd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Sockets.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::ControlChannelTriggerId() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::ServerKeepAliveIntervalInMinutes() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::ServerKeepAliveIntervalInMinutes() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->get_ServerKeepAliveIntervalInMinutes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::ServerKeepAliveIntervalInMinutes(uint32_t value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::ServerKeepAliveIntervalInMinutes(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->put_ServerKeepAliveIntervalInMinutes(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::CurrentKeepAliveIntervalInMinutes() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::CurrentKeepAliveIntervalInMinutes() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->get_CurrentKeepAliveIntervalInMinutes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::TransportObject() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger) consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::KeepAliveTrigger() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger) consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::PushNotificationTrigger() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::UsingTransport(winrt::Windows::Foundation::IInspectable const& transport) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::UsingTransport(winrt::Windows::Foundation::IInspectable const& transport) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->UsingTransport(*(void**)(&transport)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTriggerStatus) consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::WaitForPushEnabled() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::WaitForPushEnabled() const
{
winrt::Windows::Networking::Sockets::ControlChannelTriggerStatus channelTriggerStatus{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->WaitForPushEnabled(reinterpret_cast<int32_t*>(&channelTriggerStatus)));
return channelTriggerStatus;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::DecreaseNetworkKeepAliveInterval() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::DecreaseNetworkKeepAliveInterval() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->DecreaseNetworkKeepAliveInterval());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::FlushTransport() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTrigger<D>::FlushTransport() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger)->FlushTransport());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IControlChannelTrigger2<D>::IsWakeFromLowPowerSupported() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTrigger2<D>::IsWakeFromLowPowerSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTrigger2)->get_IsWakeFromLowPowerSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTrigger) consume_Windows_Networking_Sockets_IControlChannelTriggerEventDetails<D>::ControlChannelTrigger() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTriggerEventDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTrigger) consume_Windows_Networking_Sockets_IControlChannelTriggerFactory<D>::CreateControlChannelTrigger(param::hstring const& channelId, uint32_t serverKeepAliveIntervalInMinutes) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTriggerFactory<D>::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, &notificationChannel));
return winrt::Windows::Networking::Sockets::ControlChannelTrigger{ notificationChannel, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTrigger) consume_Windows_Networking_Sockets_IControlChannelTriggerFactory<D>::CreateControlChannelTriggerEx(param::hstring const& channelId, uint32_t serverKeepAliveIntervalInMinutes, winrt::Windows::Networking::Sockets::ControlChannelTriggerResourceType const& resourceRequestType) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTriggerFactory<D>::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<int32_t>(resourceRequestType), &notificationChannel));
return winrt::Windows::Networking::Sockets::ControlChannelTrigger{ notificationChannel, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTriggerResetReason) consume_Windows_Networking_Sockets_IControlChannelTriggerResetEventDetails<D>::ResetReason() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTriggerResetEventDetails<D>::ResetReason() const
{
winrt::Windows::Networking::Sockets::ControlChannelTriggerResetReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTriggerResetEventDetails)->get_ResetReason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IControlChannelTriggerResetEventDetails<D>::HardwareSlotReset() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTriggerResetEventDetails<D>::HardwareSlotReset() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTriggerResetEventDetails)->get_HardwareSlotReset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IControlChannelTriggerResetEventDetails<D>::SoftwareSlotReset() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IControlChannelTriggerResetEventDetails<D>::SoftwareSlotReset() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IControlChannelTriggerResetEventDetails)->get_SoftwareSlotReset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::DatagramSocketControl) consume_Windows_Networking_Sockets_IDatagramSocket<D>::Control() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::DatagramSocketInformation) consume_Windows_Networking_Sockets_IDatagramSocket<D>::Information() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Networking_Sockets_IDatagramSocket<D>::OutputStream() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IDatagramSocket<D>::ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IDatagramSocket<D>::ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IDatagramSocket<D>::BindServiceNameAsync(param::hstring const& localServiceName) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IDatagramSocket<D>::BindEndpointAsync(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocket<D>::JoinMulticastGroup(winrt::Windows::Networking::HostName const& host) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket<D>::JoinMulticastGroup(winrt::Windows::Networking::HostName const& host) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket)->JoinMulticastGroup(*(void**)(&host)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IOutputStream>) consume_Windows_Networking_Sockets_IDatagramSocket<D>::GetOutputStreamAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket<D>::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<winrt::Windows::Storage::Streams::IOutputStream>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IOutputStream>) consume_Windows_Networking_Sockets_IDatagramSocket<D>::GetOutputStreamAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket<D>::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<winrt::Windows::Storage::Streams::IOutputStream>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IDatagramSocket<D>::MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::DatagramSocket, winrt::Windows::Networking::Sockets::DatagramSocketMessageReceivedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket<D>::MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::DatagramSocket, winrt::Windows::Networking::Sockets::DatagramSocketMessageReceivedEventArgs> 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 D> typename consume_Windows_Networking_Sockets_IDatagramSocket<D>::MessageReceived_revoker consume_Windows_Networking_Sockets_IDatagramSocket<D>::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::DatagramSocket, winrt::Windows::Networking::Sockets::DatagramSocketMessageReceivedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket<D>::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::DatagramSocket, winrt::Windows::Networking::Sockets::DatagramSocketMessageReceivedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, MessageReceived_revoker>(this, MessageReceived(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocket<D>::MessageReceived(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket<D>::MessageReceived(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket)->remove_MessageReceived(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IDatagramSocket2<D>::BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IDatagramSocket3<D>::CancelIOAsync() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocket3<D>::EnableTransferOwnership(winrt::guid const& taskId) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket3<D>::EnableTransferOwnership(winrt::guid const& taskId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket3)->EnableTransferOwnership(impl::bind_in(taskId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocket3<D>::EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket3<D>::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<int32_t>(connectedStandbyAction)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocket3<D>::TransferOwnership(param::hstring const& socketId) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket3<D>::TransferOwnership(param::hstring const& socketId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocket3)->TransferOwnership(*(void**)(&socketId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocket3<D>::TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocket3<D>::TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data, winrt::Windows::Foundation::TimeSpan const& keepAliveTime) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocket3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketQualityOfService) consume_Windows_Networking_Sockets_IDatagramSocketControl<D>::QualityOfService() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketControl<D>::QualityOfService() const
{
winrt::Windows::Networking::Sockets::SocketQualityOfService value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl)->get_QualityOfService(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocketControl<D>::QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketControl<D>::QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl)->put_QualityOfService(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Networking_Sockets_IDatagramSocketControl<D>::OutboundUnicastHopLimit() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketControl<D>::OutboundUnicastHopLimit() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl)->get_OutboundUnicastHopLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocketControl<D>::OutboundUnicastHopLimit(uint8_t value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketControl<D>::OutboundUnicastHopLimit(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl)->put_OutboundUnicastHopLimit(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Sockets_IDatagramSocketControl2<D>::InboundBufferSizeInBytes() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketControl2<D>::InboundBufferSizeInBytes() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl2)->get_InboundBufferSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocketControl2<D>::InboundBufferSizeInBytes(uint32_t value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketControl2<D>::InboundBufferSizeInBytes(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl2)->put_InboundBufferSizeInBytes(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IDatagramSocketControl2<D>::DontFragment() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketControl2<D>::DontFragment() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl2)->get_DontFragment(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocketControl2<D>::DontFragment(bool value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketControl2<D>::DontFragment(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl2)->put_DontFragment(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IDatagramSocketControl3<D>::MulticastOnly() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketControl3<D>::MulticastOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl3)->get_MulticastOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IDatagramSocketControl3<D>::MulticastOnly(bool value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketControl3<D>::MulticastOnly(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IDatagramSocketControl3)->put_MulticastOnly(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IDatagramSocketInformation<D>::LocalAddress() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IDatagramSocketInformation<D>::LocalPort() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IDatagramSocketInformation<D>::RemoteAddress() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IDatagramSocketInformation<D>::RemotePort() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs<D>::RemoteAddress() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs<D>::RemotePort() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs<D>::LocalAddress() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataReader) consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs<D>::GetDataReader() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs<D>::GetDataStream() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketMessageReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>>) consume_Windows_Networking_Sockets_IDatagramSocketStatics<D>::GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketStatics<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>>) consume_Windows_Networking_Sockets_IDatagramSocketStatics<D>::GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IDatagramSocketStatics<D>::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<uint32_t>(sortOptions), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::MessageWebSocketControl) consume_Windows_Networking_Sockets_IMessageWebSocket<D>::Control() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::MessageWebSocketInformation) consume_Windows_Networking_Sockets_IMessageWebSocket<D>::Information() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IMessageWebSocket<D>::MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::MessageWebSocket, winrt::Windows::Networking::Sockets::MessageWebSocketMessageReceivedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocket<D>::MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::MessageWebSocket, winrt::Windows::Networking::Sockets::MessageWebSocketMessageReceivedEventArgs> 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 D> typename consume_Windows_Networking_Sockets_IMessageWebSocket<D>::MessageReceived_revoker consume_Windows_Networking_Sockets_IMessageWebSocket<D>::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::MessageWebSocket, winrt::Windows::Networking::Sockets::MessageWebSocketMessageReceivedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocket<D>::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::MessageWebSocket, winrt::Windows::Networking::Sockets::MessageWebSocketMessageReceivedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, MessageReceived_revoker>(this, MessageReceived(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IMessageWebSocket<D>::MessageReceived(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocket<D>::MessageReceived(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocket)->remove_MessageReceived(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IMessageWebSocket2<D>::ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::MessageWebSocket, winrt::Windows::Networking::Sockets::WebSocketServerCustomValidationRequestedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocket2<D>::ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::MessageWebSocket, winrt::Windows::Networking::Sockets::WebSocketServerCustomValidationRequestedEventArgs> 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 D> typename consume_Windows_Networking_Sockets_IMessageWebSocket2<D>::ServerCustomValidationRequested_revoker consume_Windows_Networking_Sockets_IMessageWebSocket2<D>::ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::MessageWebSocket, winrt::Windows::Networking::Sockets::WebSocketServerCustomValidationRequestedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocket2<D>::ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::MessageWebSocket, winrt::Windows::Networking::Sockets::WebSocketServerCustomValidationRequestedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, ServerCustomValidationRequested_revoker>(this, ServerCustomValidationRequested(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IMessageWebSocket2<D>::ServerCustomValidationRequested(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocket2<D>::ServerCustomValidationRequested(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocket2)->remove_ServerCustomValidationRequested(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint32_t, uint32_t>) consume_Windows_Networking_Sockets_IMessageWebSocket3<D>::SendNonfinalFrameAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocket3<D>::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<uint32_t, uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint32_t, uint32_t>) consume_Windows_Networking_Sockets_IMessageWebSocket3<D>::SendFinalFrameAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocket3<D>::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<uint32_t, uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Sockets_IMessageWebSocketControl<D>::MaxMessageSize() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocketControl<D>::MaxMessageSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketControl)->get_MaxMessageSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IMessageWebSocketControl<D>::MaxMessageSize(uint32_t value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocketControl<D>::MaxMessageSize(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketControl)->put_MaxMessageSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketMessageType) consume_Windows_Networking_Sockets_IMessageWebSocketControl<D>::MessageType() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocketControl<D>::MessageType() const
{
winrt::Windows::Networking::Sockets::SocketMessageType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketControl)->get_MessageType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IMessageWebSocketControl<D>::MessageType(winrt::Windows::Networking::Sockets::SocketMessageType const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocketControl<D>::MessageType(winrt::Windows::Networking::Sockets::SocketMessageType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketControl)->put_MessageType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Networking_Sockets_IMessageWebSocketControl2<D>::DesiredUnsolicitedPongInterval() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocketControl2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IMessageWebSocketControl2<D>::DesiredUnsolicitedPongInterval(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocketControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Networking_Sockets_IMessageWebSocketControl2<D>::ActualUnsolicitedPongInterval() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocketControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::MessageWebSocketReceiveMode) consume_Windows_Networking_Sockets_IMessageWebSocketControl2<D>::ReceiveMode() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocketControl2<D>::ReceiveMode() const
{
winrt::Windows::Networking::Sockets::MessageWebSocketReceiveMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketControl2)->get_ReceiveMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IMessageWebSocketControl2<D>::ReceiveMode(winrt::Windows::Networking::Sockets::MessageWebSocketReceiveMode const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocketControl2<D>::ReceiveMode(winrt::Windows::Networking::Sockets::MessageWebSocketReceiveMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketControl2)->put_ReceiveMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Networking_Sockets_IMessageWebSocketControl2<D>::ClientCertificate() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocketControl2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IMessageWebSocketControl2<D>::ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocketControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketMessageType) consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs<D>::MessageType() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs<D>::MessageType() const
{
winrt::Windows::Networking::Sockets::SocketMessageType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketMessageReceivedEventArgs)->get_MessageType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataReader) consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs<D>::GetDataReader() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs<D>::GetDataStream() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs2<D>::IsMessageComplete() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs2<D>::IsMessageComplete() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IMessageWebSocketMessageReceivedEventArgs2)->get_IsMessageComplete(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerMessageWebSocket, winrt::Windows::Networking::Sockets::MessageWebSocketMessageReceivedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerMessageWebSocket, winrt::Windows::Networking::Sockets::MessageWebSocketMessageReceivedEventArgs> 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 D> typename consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::MessageReceived_revoker consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerMessageWebSocket, winrt::Windows::Networking::Sockets::MessageWebSocketMessageReceivedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerMessageWebSocket, winrt::Windows::Networking::Sockets::MessageWebSocketMessageReceivedEventArgs> const& value) const
{
return impl::make_event_revoker<D, MessageReceived_revoker>(this, MessageReceived(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::MessageReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::MessageReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocket)->remove_MessageReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerMessageWebSocketControl) consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::Control() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerMessageWebSocketInformation) consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::Information() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::OutputStream() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerMessageWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerMessageWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> 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 D> typename consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::Closed_revoker consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerMessageWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerMessageWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> const& value) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocket)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::Close(uint16_t code, param::hstring const& reason) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerMessageWebSocket<D>::Close(uint16_t code, param::hstring const& reason) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocket)->CloseWithStatus(code, *(void**)(&reason)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketMessageType) consume_Windows_Networking_Sockets_IServerMessageWebSocketControl<D>::MessageType() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerMessageWebSocketControl<D>::MessageType() const
{
winrt::Windows::Networking::Sockets::SocketMessageType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocketControl)->get_MessageType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IServerMessageWebSocketControl<D>::MessageType(winrt::Windows::Networking::Sockets::SocketMessageType const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerMessageWebSocketControl<D>::MessageType(winrt::Windows::Networking::Sockets::SocketMessageType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerMessageWebSocketControl)->put_MessageType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::BandwidthStatistics) consume_Windows_Networking_Sockets_IServerMessageWebSocketInformation<D>::BandwidthStatistics() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerMessageWebSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IServerMessageWebSocketInformation<D>::Protocol() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerMessageWebSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IServerMessageWebSocketInformation<D>::LocalAddress() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerMessageWebSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerStreamWebSocketInformation) consume_Windows_Networking_Sockets_IServerStreamWebSocket<D>::Information() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerStreamWebSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Networking_Sockets_IServerStreamWebSocket<D>::InputStream() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerStreamWebSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Networking_Sockets_IServerStreamWebSocket<D>::OutputStream() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerStreamWebSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IServerStreamWebSocket<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerStreamWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerStreamWebSocket<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerStreamWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> 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 D> typename consume_Windows_Networking_Sockets_IServerStreamWebSocket<D>::Closed_revoker consume_Windows_Networking_Sockets_IServerStreamWebSocket<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerStreamWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerStreamWebSocket<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerStreamWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> const& value) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IServerStreamWebSocket<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerStreamWebSocket<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerStreamWebSocket)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IServerStreamWebSocket<D>::Close(uint16_t code, param::hstring const& reason) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerStreamWebSocket<D>::Close(uint16_t code, param::hstring const& reason) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IServerStreamWebSocket)->CloseWithStatus(code, *(void**)(&reason)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::BandwidthStatistics) consume_Windows_Networking_Sockets_IServerStreamWebSocketInformation<D>::BandwidthStatistics() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerStreamWebSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IServerStreamWebSocketInformation<D>::Protocol() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerStreamWebSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IServerStreamWebSocketInformation<D>::LocalAddress() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IServerStreamWebSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_Sockets_ISocketActivityContext<D>::Data() const
+ template <typename D> auto consume_Windows_Networking_Sockets_ISocketActivityContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketActivityContext) consume_Windows_Networking_Sockets_ISocketActivityContextFactory<D>::Create(winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Networking_Sockets_ISocketActivityContextFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Networking_Sockets_ISocketActivityInformation<D>::TaskId() const
+ template <typename D> auto consume_Windows_Networking_Sockets_ISocketActivityInformation<D>::TaskId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::ISocketActivityInformation)->get_TaskId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_ISocketActivityInformation<D>::Id() const
+ template <typename D> auto consume_Windows_Networking_Sockets_ISocketActivityInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketActivityKind) consume_Windows_Networking_Sockets_ISocketActivityInformation<D>::SocketKind() const
+ template <typename D> auto consume_Windows_Networking_Sockets_ISocketActivityInformation<D>::SocketKind() const
{
winrt::Windows::Networking::Sockets::SocketActivityKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::ISocketActivityInformation)->get_SocketKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketActivityContext) consume_Windows_Networking_Sockets_ISocketActivityInformation<D>::Context() const
+ template <typename D> auto consume_Windows_Networking_Sockets_ISocketActivityInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::DatagramSocket) consume_Windows_Networking_Sockets_ISocketActivityInformation<D>::DatagramSocket() const
+ template <typename D> auto consume_Windows_Networking_Sockets_ISocketActivityInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocket) consume_Windows_Networking_Sockets_ISocketActivityInformation<D>::StreamSocket() const
+ template <typename D> auto consume_Windows_Networking_Sockets_ISocketActivityInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocketListener) consume_Windows_Networking_Sockets_ISocketActivityInformation<D>::StreamSocketListener() const
+ template <typename D> auto consume_Windows_Networking_Sockets_ISocketActivityInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Networking::Sockets::SocketActivityInformation>) consume_Windows_Networking_Sockets_ISocketActivityInformationStatics<D>::AllSockets() const
+ template <typename D> auto consume_Windows_Networking_Sockets_ISocketActivityInformationStatics<D>::AllSockets() const
{
void* sockets{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::ISocketActivityInformationStatics)->get_AllSockets(&sockets));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Networking::Sockets::SocketActivityInformation>{ sockets, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketActivityTriggerReason) consume_Windows_Networking_Sockets_ISocketActivityTriggerDetails<D>::Reason() const
+ template <typename D> auto consume_Windows_Networking_Sockets_ISocketActivityTriggerDetails<D>::Reason() const
{
winrt::Windows::Networking::Sockets::SocketActivityTriggerReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::ISocketActivityTriggerDetails)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketActivityInformation) consume_Windows_Networking_Sockets_ISocketActivityTriggerDetails<D>::SocketInformation() const
+ template <typename D> auto consume_Windows_Networking_Sockets_ISocketActivityTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketErrorStatus) consume_Windows_Networking_Sockets_ISocketErrorStatics<D>::GetStatus(int32_t hresult) const
+ template <typename D> auto consume_Windows_Networking_Sockets_ISocketErrorStatics<D>::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<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocketControl) consume_Windows_Networking_Sockets_IStreamSocket<D>::Control() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocketInformation) consume_Windows_Networking_Sockets_IStreamSocket<D>::Information() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Networking_Sockets_IStreamSocket<D>::InputStream() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Networking_Sockets_IStreamSocket<D>::OutputStream() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocket<D>::ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocket<D>::ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocket<D>::ConnectAsync(winrt::Windows::Networking::EndpointPair const& endpointPair, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocket<D>::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<int32_t>(protectionLevel), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocket<D>::ConnectAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocket<D>::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<int32_t>(protectionLevel), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocket<D>::UpgradeToSslAsync(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel, winrt::Windows::Networking::HostName const& validationHostName) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocket<D>::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<int32_t>(protectionLevel), *(void**)(&validationHostName), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocket2<D>::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 <typename D> auto consume_Windows_Networking_Sockets_IStreamSocket2<D>::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<int32_t>(protectionLevel), *(void**)(&adapter), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocket3<D>::CancelIOAsync() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocket3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocket3<D>::EnableTransferOwnership(winrt::guid const& taskId) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocket3<D>::EnableTransferOwnership(winrt::guid const& taskId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket3)->EnableTransferOwnership(impl::bind_in(taskId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocket3<D>::EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocket3<D>::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<int32_t>(connectedStandbyAction)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocket3<D>::TransferOwnership(param::hstring const& socketId) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocket3<D>::TransferOwnership(param::hstring const& socketId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocket3)->TransferOwnership(*(void**)(&socketId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocket3<D>::TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocket3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocket3<D>::TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data, winrt::Windows::Foundation::TimeSpan const& keepAliveTime) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocket3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IStreamSocketControl<D>::NoDelay() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketControl<D>::NoDelay() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->get_NoDelay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketControl<D>::NoDelay(bool value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketControl<D>::NoDelay(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->put_NoDelay(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IStreamSocketControl<D>::KeepAlive() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketControl<D>::KeepAlive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->get_KeepAlive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketControl<D>::KeepAlive(bool value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketControl<D>::KeepAlive(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->put_KeepAlive(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Sockets_IStreamSocketControl<D>::OutboundBufferSizeInBytes() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketControl<D>::OutboundBufferSizeInBytes() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->get_OutboundBufferSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketControl<D>::OutboundBufferSizeInBytes(uint32_t value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketControl<D>::OutboundBufferSizeInBytes(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->put_OutboundBufferSizeInBytes(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketQualityOfService) consume_Windows_Networking_Sockets_IStreamSocketControl<D>::QualityOfService() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketControl<D>::QualityOfService() const
{
winrt::Windows::Networking::Sockets::SocketQualityOfService value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->get_QualityOfService(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketControl<D>::QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketControl<D>::QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->put_QualityOfService(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Networking_Sockets_IStreamSocketControl<D>::OutboundUnicastHopLimit() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketControl<D>::OutboundUnicastHopLimit() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->get_OutboundUnicastHopLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketControl<D>::OutboundUnicastHopLimit(uint8_t value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketControl<D>::OutboundUnicastHopLimit(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl)->put_OutboundUnicastHopLimit(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) consume_Windows_Networking_Sockets_IStreamSocketControl2<D>::IgnorableServerCertificateErrors() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketControl2<D>::IgnorableServerCertificateErrors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl2)->get_IgnorableServerCertificateErrors(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IStreamSocketControl3<D>::SerializeConnectionAttempts() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketControl3<D>::SerializeConnectionAttempts() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl3)->get_SerializeConnectionAttempts(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketControl3<D>::SerializeConnectionAttempts(bool value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketControl3<D>::SerializeConnectionAttempts(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl3)->put_SerializeConnectionAttempts(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Networking_Sockets_IStreamSocketControl3<D>::ClientCertificate() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketControl3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketControl3<D>::ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketControl3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketProtectionLevel) consume_Windows_Networking_Sockets_IStreamSocketControl4<D>::MinProtectionLevel() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketControl4<D>::MinProtectionLevel() const
{
winrt::Windows::Networking::Sockets::SocketProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl4)->get_MinProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketControl4<D>::MinProtectionLevel(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketControl4<D>::MinProtectionLevel(winrt::Windows::Networking::Sockets::SocketProtectionLevel const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketControl4)->put_MinProtectionLevel(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::LocalAddress() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::LocalPort() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::RemoteHostName() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::RemoteAddress() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::RemoteServiceName() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::RemotePort() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::RoundTripTimeStatistics) consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::RoundTripTimeStatistics() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::BandwidthStatistics) consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::BandwidthStatistics() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketProtectionLevel) consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::ProtectionLevel() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::ProtectionLevel() const
{
winrt::Windows::Networking::Sockets::SocketProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation)->get_ProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::SessionKey() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) consume_Windows_Networking_Sockets_IStreamSocketInformation2<D>::ServerCertificateErrorSeverity() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketInformation2<D>::ServerCertificateErrorSeverity() const
{
winrt::Windows::Networking::Sockets::SocketSslErrorSeverity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation2)->get_ServerCertificateErrorSeverity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) consume_Windows_Networking_Sockets_IStreamSocketInformation2<D>::ServerCertificateErrors() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketInformation2<D>::ServerCertificateErrors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation2)->get_ServerCertificateErrors(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Networking_Sockets_IStreamSocketInformation2<D>::ServerCertificate() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketInformation2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) consume_Windows_Networking_Sockets_IStreamSocketInformation2<D>::ServerIntermediateCertificates() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketInformation2<D>::ServerIntermediateCertificates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketInformation2)->get_ServerIntermediateCertificates(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocketListenerControl) consume_Windows_Networking_Sockets_IStreamSocketListener<D>::Control() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListener<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocketListenerInformation) consume_Windows_Networking_Sockets_IStreamSocketListener<D>::Information() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListener<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocketListener<D>::BindServiceNameAsync(param::hstring const& localServiceName) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListener<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocketListener<D>::BindEndpointAsync(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListener<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IStreamSocketListener<D>::ConnectionReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::StreamSocketListener, winrt::Windows::Networking::Sockets::StreamSocketListenerConnectionReceivedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListener<D>::ConnectionReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::StreamSocketListener, winrt::Windows::Networking::Sockets::StreamSocketListenerConnectionReceivedEventArgs> 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 D> typename consume_Windows_Networking_Sockets_IStreamSocketListener<D>::ConnectionReceived_revoker consume_Windows_Networking_Sockets_IStreamSocketListener<D>::ConnectionReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::StreamSocketListener, winrt::Windows::Networking::Sockets::StreamSocketListenerConnectionReceivedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListener<D>::ConnectionReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::StreamSocketListener, winrt::Windows::Networking::Sockets::StreamSocketListenerConnectionReceivedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, ConnectionReceived_revoker>(this, ConnectionReceived(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListener<D>::ConnectionReceived(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListener<D>::ConnectionReceived(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListener)->remove_ConnectionReceived(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocketListener2<D>::BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListener2<D>::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<int32_t>(protectionLevel), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocketListener2<D>::BindServiceNameAsync(param::hstring const& localServiceName, winrt::Windows::Networking::Sockets::SocketProtectionLevel const& protectionLevel, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListener2<D>::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<int32_t>(protectionLevel), *(void**)(&adapter), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IStreamSocketListener3<D>::CancelIOAsync() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListener3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListener3<D>::EnableTransferOwnership(winrt::guid const& taskId) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListener3<D>::EnableTransferOwnership(winrt::guid const& taskId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListener3)->EnableTransferOwnership(impl::bind_in(taskId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListener3<D>::EnableTransferOwnership(winrt::guid const& taskId, winrt::Windows::Networking::Sockets::SocketActivityConnectedStandbyAction const& connectedStandbyAction) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListener3<D>::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<int32_t>(connectedStandbyAction)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListener3<D>::TransferOwnership(param::hstring const& socketId) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListener3<D>::TransferOwnership(param::hstring const& socketId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListener3)->TransferOwnership(*(void**)(&socketId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListener3<D>::TransferOwnership(param::hstring const& socketId, winrt::Windows::Networking::Sockets::SocketActivityContext const& data) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListener3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocket) consume_Windows_Networking_Sockets_IStreamSocketListenerConnectionReceivedEventArgs<D>::Socket() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListenerConnectionReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketQualityOfService) consume_Windows_Networking_Sockets_IStreamSocketListenerControl<D>::QualityOfService() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl<D>::QualityOfService() const
{
winrt::Windows::Networking::Sockets::SocketQualityOfService value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl)->get_QualityOfService(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListenerControl<D>::QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl<D>::QualityOfService(winrt::Windows::Networking::Sockets::SocketQualityOfService const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl)->put_QualityOfService(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IStreamSocketListenerControl2<D>::NoDelay() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl2<D>::NoDelay() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl2)->get_NoDelay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListenerControl2<D>::NoDelay(bool value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl2<D>::NoDelay(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl2)->put_NoDelay(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IStreamSocketListenerControl2<D>::KeepAlive() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl2<D>::KeepAlive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl2)->get_KeepAlive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListenerControl2<D>::KeepAlive(bool value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl2<D>::KeepAlive(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl2)->put_KeepAlive(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Sockets_IStreamSocketListenerControl2<D>::OutboundBufferSizeInBytes() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl2<D>::OutboundBufferSizeInBytes() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl2)->get_OutboundBufferSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListenerControl2<D>::OutboundBufferSizeInBytes(uint32_t value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl2<D>::OutboundBufferSizeInBytes(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl2)->put_OutboundBufferSizeInBytes(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Networking_Sockets_IStreamSocketListenerControl2<D>::OutboundUnicastHopLimit() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl2<D>::OutboundUnicastHopLimit() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl2)->get_OutboundUnicastHopLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamSocketListenerControl2<D>::OutboundUnicastHopLimit(uint8_t value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListenerControl2<D>::OutboundUnicastHopLimit(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamSocketListenerControl2)->put_OutboundUnicastHopLimit(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IStreamSocketListenerInformation<D>::LocalPort() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketListenerInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>>) consume_Windows_Networking_Sockets_IStreamSocketStatics<D>::GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketStatics<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>>) consume_Windows_Networking_Sockets_IStreamSocketStatics<D>::GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName, winrt::Windows::Networking::HostNameSortOptions const& sortOptions) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamSocketStatics<D>::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<uint32_t>(sortOptions), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamWebSocketControl) consume_Windows_Networking_Sockets_IStreamWebSocket<D>::Control() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamWebSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamWebSocketInformation) consume_Windows_Networking_Sockets_IStreamWebSocket<D>::Information() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamWebSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Networking_Sockets_IStreamWebSocket<D>::InputStream() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamWebSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IStreamWebSocket2<D>::ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::StreamWebSocket, winrt::Windows::Networking::Sockets::WebSocketServerCustomValidationRequestedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamWebSocket2<D>::ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::StreamWebSocket, winrt::Windows::Networking::Sockets::WebSocketServerCustomValidationRequestedEventArgs> 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 D> typename consume_Windows_Networking_Sockets_IStreamWebSocket2<D>::ServerCustomValidationRequested_revoker consume_Windows_Networking_Sockets_IStreamWebSocket2<D>::ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::StreamWebSocket, winrt::Windows::Networking::Sockets::WebSocketServerCustomValidationRequestedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamWebSocket2<D>::ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::StreamWebSocket, winrt::Windows::Networking::Sockets::WebSocketServerCustomValidationRequestedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, ServerCustomValidationRequested_revoker>(this, ServerCustomValidationRequested(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamWebSocket2<D>::ServerCustomValidationRequested(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamWebSocket2<D>::ServerCustomValidationRequested(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamWebSocket2)->remove_ServerCustomValidationRequested(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Sockets_IStreamWebSocketControl<D>::NoDelay() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamWebSocketControl<D>::NoDelay() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamWebSocketControl)->get_NoDelay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamWebSocketControl<D>::NoDelay(bool value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamWebSocketControl<D>::NoDelay(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IStreamWebSocketControl)->put_NoDelay(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Networking_Sockets_IStreamWebSocketControl2<D>::DesiredUnsolicitedPongInterval() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamWebSocketControl2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamWebSocketControl2<D>::DesiredUnsolicitedPongInterval(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamWebSocketControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Networking_Sockets_IStreamWebSocketControl2<D>::ActualUnsolicitedPongInterval() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamWebSocketControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Networking_Sockets_IStreamWebSocketControl2<D>::ClientCertificate() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamWebSocketControl2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IStreamWebSocketControl2<D>::ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IStreamWebSocketControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Networking_Sockets_IWebSocket<D>::OutputStream() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Sockets_IWebSocket<D>::ConnectAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocket<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IWebSocket<D>::SetRequestHeader(param::hstring const& headerName, param::hstring const& headerValue) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Sockets_IWebSocket<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::IWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocket<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::IWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> 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 D> typename consume_Windows_Networking_Sockets_IWebSocket<D>::Closed_revoker consume_Windows_Networking_Sockets_IWebSocket<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::IWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> const& eventHandler) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocket<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::IWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> const& eventHandler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IWebSocket<D>::Closed(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocket<D>::Closed(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocket)->remove_Closed(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IWebSocket<D>::Close(uint16_t code, param::hstring const& reason) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocket<D>::Close(uint16_t code, param::hstring const& reason) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocket)->CloseWithStatus(code, *(void**)(&reason)));
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Networking_Sockets_IWebSocketClosedEventArgs<D>::Code() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketClosedEventArgs<D>::Code() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketClosedEventArgs)->get_Code(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IWebSocketClosedEventArgs<D>::Reason() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketClosedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Sockets_IWebSocketControl<D>::OutboundBufferSizeInBytes() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketControl<D>::OutboundBufferSizeInBytes() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketControl)->get_OutboundBufferSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IWebSocketControl<D>::OutboundBufferSizeInBytes(uint32_t value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketControl<D>::OutboundBufferSizeInBytes(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketControl)->put_OutboundBufferSizeInBytes(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Networking_Sockets_IWebSocketControl<D>::ServerCredential() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IWebSocketControl<D>::ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketControl<D>::ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketControl)->put_ServerCredential(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Networking_Sockets_IWebSocketControl<D>::ProxyCredential() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IWebSocketControl<D>::ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketControl<D>::ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketControl)->put_ProxyCredential(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Networking_Sockets_IWebSocketControl<D>::SupportedProtocols() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketControl<D>::SupportedProtocols() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketControl)->get_SupportedProtocols(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) consume_Windows_Networking_Sockets_IWebSocketControl2<D>::IgnorableServerCertificateErrors() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketControl2<D>::IgnorableServerCertificateErrors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketControl2)->get_IgnorableServerCertificateErrors(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) consume_Windows_Networking_Sockets_IWebSocketErrorStatics<D>::GetStatus(int32_t hresult) const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketErrorStatics<D>::GetStatus(int32_t hresult) const
{
winrt::Windows::Web::WebErrorStatus status{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketErrorStatics)->GetStatus(hresult, reinterpret_cast<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Sockets_IWebSocketInformation<D>::LocalAddress() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::BandwidthStatistics) consume_Windows_Networking_Sockets_IWebSocketInformation<D>::BandwidthStatistics() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Sockets_IWebSocketInformation<D>::Protocol() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Networking_Sockets_IWebSocketInformation2<D>::ServerCertificate() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketInformation2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) consume_Windows_Networking_Sockets_IWebSocketInformation2<D>::ServerCertificateErrorSeverity() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketInformation2<D>::ServerCertificateErrorSeverity() const
{
winrt::Windows::Networking::Sockets::SocketSslErrorSeverity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketInformation2)->get_ServerCertificateErrorSeverity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) consume_Windows_Networking_Sockets_IWebSocketInformation2<D>::ServerCertificateErrors() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketInformation2<D>::ServerCertificateErrors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketInformation2)->get_ServerCertificateErrors(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) consume_Windows_Networking_Sockets_IWebSocketInformation2<D>::ServerIntermediateCertificates() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketInformation2<D>::ServerIntermediateCertificates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketInformation2)->get_ServerIntermediateCertificates(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs<D>::ServerCertificate() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs<D>::ServerCertificateErrorSeverity() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs<D>::ServerCertificateErrorSeverity() const
{
winrt::Windows::Networking::Sockets::SocketSslErrorSeverity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketServerCustomValidationRequestedEventArgs)->get_ServerCertificateErrorSeverity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs<D>::ServerCertificateErrors() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs<D>::ServerCertificateErrors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketServerCustomValidationRequestedEventArgs)->get_ServerCertificateErrors(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs<D>::ServerIntermediateCertificates() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs<D>::ServerIntermediateCertificates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketServerCustomValidationRequestedEventArgs)->get_ServerIntermediateCertificates(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs<D>::Reject() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs<D>::Reject() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketServerCustomValidationRequestedEventArgs)->Reject());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Networking_Sockets_IWebSocketServerCustomValidationRequestedEventArgs<D>::GetDeferral() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Sockets::IWebSocketServerCustomValidationRequestedEventArgs)->GetDeferral(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Vpn.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Vpn.h
index 2ee535b3c70..800b96b9a1d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.Vpn.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAppIdType) consume_Windows_Networking_Vpn_IVpnAppId<D>::Type() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnAppId<D>::Type() const
{
winrt::Windows::Networking::Vpn::VpnAppIdType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnAppId)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnAppId<D>::Type(winrt::Windows::Networking::Vpn::VpnAppIdType const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnAppId<D>::Type(winrt::Windows::Networking::Vpn::VpnAppIdType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnAppId)->put_Type(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnAppId<D>::Value() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnAppId<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnAppId<D>::Value(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnAppId<D>::Value(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnAppId)->put_Value(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAppId) consume_Windows_Networking_Vpn_IVpnAppIdFactory<D>::Create(winrt::Windows::Networking::Vpn::VpnAppIdType const& type, param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnAppIdFactory<D>::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<int32_t>(type), *(void**)(&value), &result));
return winrt::Windows::Networking::Vpn::VpnAppId{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel<D>::AssociateTransport(winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport, winrt::Windows::Foundation::IInspectable const& optionalOuterTunnelTransport) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel<D>::Start(param::vector_view<winrt::Windows::Networking::HostName> const& assignedClientIPv4list, param::vector_view<winrt::Windows::Networking::HostName> 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 <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel<D>::Start(param::vector_view<winrt::Windows::Networking::HostName> const& assignedClientIPv4list, param::vector_view<winrt::Windows::Networking::HostName> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel<D>::Stop() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPickedCredential) consume_Windows_Networking_Vpn_IVpnChannel<D>::RequestCredentials(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, bool isRetry, bool isSingleSignOnCredential, winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel<D>::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<int32_t>(credType), isRetry, isSingleSignOnCredential, *(void**)(&certificate), &credential));
return winrt::Windows::Networking::Vpn::VpnPickedCredential{ credential, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel<D>::RequestVpnPacketBuffer(winrt::Windows::Networking::Vpn::VpnDataPathType const& type, winrt::Windows::Networking::Vpn::VpnPacketBuffer& vpnPacketBuffer) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel<D>::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<int32_t>(type), impl::bind_out(vpnPacketBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel<D>::LogDiagnosticMessage(param::hstring const& message) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel<D>::LogDiagnosticMessage(param::hstring const& message) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->LogDiagnosticMessage(*(void**)(&message)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Vpn_IVpnChannel<D>::Id() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnChannelConfiguration) consume_Windows_Networking_Vpn_IVpnChannel<D>::Configuration() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Vpn_IVpnChannel<D>::ActivityChange(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Vpn::VpnChannel, winrt::Windows::Networking::Vpn::VpnChannelActivityEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel<D>::ActivityChange(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Vpn::VpnChannel, winrt::Windows::Networking::Vpn::VpnChannelActivityEventArgs> 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 D> typename consume_Windows_Networking_Vpn_IVpnChannel<D>::ActivityChange_revoker consume_Windows_Networking_Vpn_IVpnChannel<D>::ActivityChange(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Vpn::VpnChannel, winrt::Windows::Networking::Vpn::VpnChannelActivityEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel<D>::ActivityChange(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Vpn::VpnChannel, winrt::Windows::Networking::Vpn::VpnChannelActivityEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ActivityChange_revoker>(this, ActivityChange(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel<D>::ActivityChange(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel<D>::ActivityChange(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->remove_ActivityChange(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel<D>::PlugInContext(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel<D>::PlugInContext(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->put_PlugInContext(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Networking_Vpn_IVpnChannel<D>::PlugInContext() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnSystemHealth) consume_Windows_Networking_Vpn_IVpnChannel<D>::SystemHealth() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel<D>::RequestCustomPrompt(param::vector_view<winrt::Windows::Networking::Vpn::IVpnCustomPrompt> const& customPrompt) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel<D>::RequestCustomPrompt(param::vector_view<winrt::Windows::Networking::Vpn::IVpnCustomPrompt> const& customPrompt) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->RequestCustomPrompt(*(void**)(&customPrompt)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel<D>::SetErrorMessage(param::hstring const& message) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel<D>::SetErrorMessage(param::hstring const& message) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel)->SetErrorMessage(*(void**)(&message)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel<D>::SetAllowedSslTlsVersions(winrt::Windows::Foundation::IInspectable const& tunnelTransport, bool useTls12) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel2<D>::StartWithMainTransport(param::vector_view<winrt::Windows::Networking::HostName> const& assignedClientIPv4list, param::vector_view<winrt::Windows::Networking::HostName> 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 <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel2<D>::StartWithMainTransport(param::vector_view<winrt::Windows::Networking::HostName> const& assignedClientIPv4list, param::vector_view<winrt::Windows::Networking::HostName> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel2<D>::StartExistingTransports(param::vector_view<winrt::Windows::Networking::HostName> const& assignedClientIPv4list, param::vector_view<winrt::Windows::Networking::HostName> 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 <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel2<D>::StartExistingTransports(param::vector_view<winrt::Windows::Networking::HostName> const& assignedClientIPv4list, param::vector_view<winrt::Windows::Networking::HostName> 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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_Vpn_IVpnChannel2<D>::ActivityStateChange(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Vpn::VpnChannel, winrt::Windows::Networking::Vpn::VpnChannelActivityStateChangedArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel2<D>::ActivityStateChange(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Vpn::VpnChannel, winrt::Windows::Networking::Vpn::VpnChannelActivityStateChangedArgs> 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 D> typename consume_Windows_Networking_Vpn_IVpnChannel2<D>::ActivityStateChange_revoker consume_Windows_Networking_Vpn_IVpnChannel2<D>::ActivityStateChange(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Vpn::VpnChannel, winrt::Windows::Networking::Vpn::VpnChannelActivityStateChangedArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel2<D>::ActivityStateChange(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Vpn::VpnChannel, winrt::Windows::Networking::Vpn::VpnChannelActivityStateChangedArgs> const& handler) const
{
return impl::make_event_revoker<D, ActivityStateChange_revoker>(this, ActivityStateChange(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel2<D>::ActivityStateChange(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel2<D>::ActivityStateChange(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel2)->remove_ActivityStateChange(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) consume_Windows_Networking_Vpn_IVpnChannel2<D>::GetVpnSendPacketBuffer() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) consume_Windows_Networking_Vpn_IVpnChannel2<D>::GetVpnReceivePacketBuffer() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_Vpn_IVpnChannel2<D>::RequestCustomPromptAsync(param::async_vector_view<winrt::Windows::Networking::Vpn::IVpnCustomPromptElement> const& customPromptElement) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel2<D>::RequestCustomPromptAsync(param::async_vector_view<winrt::Windows::Networking::Vpn::IVpnCustomPromptElement> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnCredential>) consume_Windows_Networking_Vpn_IVpnChannel2<D>::RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, uint32_t credOptions, winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel2<D>::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<int32_t>(credType), credOptions, *(void**)(&certificate), &credential));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnCredential>{ credential, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnCredential>) consume_Windows_Networking_Vpn_IVpnChannel2<D>::RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, uint32_t credOptions) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel2<D>::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<int32_t>(credType), credOptions, &credential));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnCredential>{ credential, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnCredential>) consume_Windows_Networking_Vpn_IVpnChannel2<D>::RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel2<D>::RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType) const
{
void* credential{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel2)->RequestCredentialsSimpleAsync(static_cast<int32_t>(credType), &credential));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnCredential>{ credential, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel2<D>::TerminateConnection(param::hstring const& message) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel2<D>::TerminateConnection(param::hstring const& message) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel2)->TerminateConnection(*(void**)(&message)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel2<D>::StartWithTrafficFilter(param::vector_view<winrt::Windows::Networking::HostName> const& assignedClientIpv4List, param::vector_view<winrt::Windows::Networking::HostName> 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 <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel2<D>::StartWithTrafficFilter(param::vector_view<winrt::Windows::Networking::HostName> const& assignedClientIpv4List, param::vector_view<winrt::Windows::Networking::HostName> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel4<D>::AddAndAssociateTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel4<D>::StartWithTrafficFilter(param::iterable<winrt::Windows::Networking::HostName> const& assignedClientIpv4Addresses, param::iterable<winrt::Windows::Networking::HostName> 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<winrt::Windows::Foundation::IInspectable> const& transports, winrt::Windows::Networking::Vpn::VpnTrafficFilterAssignment const& assignedTrafficFilters) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel4<D>::StartWithTrafficFilter(param::iterable<winrt::Windows::Networking::HostName> const& assignedClientIpv4Addresses, param::iterable<winrt::Windows::Networking::HostName> 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<winrt::Windows::Foundation::IInspectable> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel4<D>::ReplaceAndAssociateTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel4<D>::StartReconnectingTransport(winrt::Windows::Foundation::IInspectable const& transport, winrt::Windows::Foundation::IInspectable const& context) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTriggerStatus) consume_Windows_Networking_Vpn_IVpnChannel4<D>::GetSlotTypeForTransportContext(winrt::Windows::Foundation::IInspectable const& context) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel4<D>::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<int32_t*>(&slotType)));
return slotType;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Networking_Vpn_IVpnChannel4<D>::CurrentRequestTransportContext() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel5<D>::AppendVpnReceivePacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& decapsulatedPacketBuffer) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel5<D>::AppendVpnReceivePacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& decapsulatedPacketBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel5)->AppendVpnReceivePacketBuffer(*(void**)(&decapsulatedPacketBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel5<D>::AppendVpnSendPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& encapsulatedPacketBuffer) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel5<D>::AppendVpnSendPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& encapsulatedPacketBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel5)->AppendVpnSendPacketBuffer(*(void**)(&encapsulatedPacketBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel5<D>::FlushVpnReceivePacketBuffers() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel5<D>::FlushVpnReceivePacketBuffers() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel5)->FlushVpnReceivePacketBuffers());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannel5<D>::FlushVpnSendPacketBuffers() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannel5<D>::FlushVpnSendPacketBuffers() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannel5)->FlushVpnSendPacketBuffers());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnChannelActivityEventType) consume_Windows_Networking_Vpn_IVpnChannelActivityEventArgs<D>::Type() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannelActivityEventArgs<D>::Type() const
{
winrt::Windows::Networking::Vpn::VpnChannelActivityEventType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannelActivityEventArgs)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnChannelActivityEventType) consume_Windows_Networking_Vpn_IVpnChannelActivityStateChangedArgs<D>::ActivityState() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannelActivityStateChangedArgs<D>::ActivityState() const
{
winrt::Windows::Networking::Vpn::VpnChannelActivityEventType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannelActivityStateChangedArgs)->get_ActivityState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnChannelConfiguration<D>::ServerServiceName() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannelConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::HostName>) consume_Windows_Networking_Vpn_IVpnChannelConfiguration<D>::ServerHostNameList() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannelConfiguration<D>::ServerHostNameList() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannelConfiguration)->get_ServerHostNameList(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::HostName>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnChannelConfiguration<D>::CustomField() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannelConfiguration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Uri>) consume_Windows_Networking_Vpn_IVpnChannelConfiguration2<D>::ServerUris() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannelConfiguration2<D>::ServerUris() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnChannelConfiguration2)->get_ServerUris(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Uri>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnChannelStatics<D>::ProcessEventAsync(winrt::Windows::Foundation::IInspectable const& thirdPartyPlugIn, winrt::Windows::Foundation::IInspectable const& event) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnChannelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Networking_Vpn_IVpnCredential<D>::PasskeyCredential() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCredential<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Networking_Vpn_IVpnCredential<D>::CertificateCredential() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCredential<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCredential<D>::AdditionalPin() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCredential<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Networking_Vpn_IVpnCredential<D>::OldPasswordCredential() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCredential<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomCheckBox<D>::InitialCheckState(bool value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomCheckBox<D>::InitialCheckState(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomCheckBox)->put_InitialCheckState(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomCheckBox<D>::InitialCheckState() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomCheckBox<D>::InitialCheckState() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomCheckBox)->get_InitialCheckState(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomCheckBox<D>::Checked() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomCheckBox<D>::Checked() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomCheckBox)->get_Checked(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomComboBox<D>::OptionsText(param::async_vector_view<hstring> const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomComboBox<D>::OptionsText(param::async_vector_view<hstring> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomComboBox)->put_OptionsText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Networking_Vpn_IVpnCustomComboBox<D>::OptionsText() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomComboBox<D>::OptionsText() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomComboBox)->get_OptionsText(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Vpn_IVpnCustomComboBox<D>::Selected() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomComboBox<D>::Selected() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomComboBox)->get_Selected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomEditBox<D>::DefaultText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomEditBox<D>::DefaultText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomEditBox)->put_DefaultText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCustomEditBox<D>::DefaultText() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomEditBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomEditBox<D>::NoEcho(bool value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomEditBox<D>::NoEcho(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomEditBox)->put_NoEcho(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomEditBox<D>::NoEcho() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomEditBox<D>::NoEcho() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomEditBox)->get_NoEcho(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCustomEditBox<D>::Text() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomEditBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPrompt<D>::Label(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPrompt<D>::Label(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPrompt)->put_Label(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCustomPrompt<D>::Label() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPrompt<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPrompt<D>::Compulsory(bool value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPrompt<D>::Compulsory(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPrompt)->put_Compulsory(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomPrompt<D>::Compulsory() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPrompt<D>::Compulsory() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPrompt)->get_Compulsory(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPrompt<D>::Bordered(bool value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPrompt<D>::Bordered(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPrompt)->put_Bordered(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomPrompt<D>::Bordered() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPrompt<D>::Bordered() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPrompt)->get_Bordered(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPromptBooleanInput<D>::InitialValue(bool value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptBooleanInput<D>::InitialValue(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptBooleanInput)->put_InitialValue(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomPromptBooleanInput<D>::InitialValue() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptBooleanInput<D>::InitialValue() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptBooleanInput)->get_InitialValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomPromptBooleanInput<D>::Value() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptBooleanInput<D>::Value() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptBooleanInput)->get_Value(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPromptElement<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptElement<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptElement)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCustomPromptElement<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPromptElement<D>::Compulsory(bool value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptElement<D>::Compulsory(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptElement)->put_Compulsory(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomPromptElement<D>::Compulsory() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptElement<D>::Compulsory() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptElement)->get_Compulsory(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPromptElement<D>::Emphasized(bool value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptElement<D>::Emphasized(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptElement)->put_Emphasized(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomPromptElement<D>::Emphasized() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptElement<D>::Emphasized() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptElement)->get_Emphasized(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Networking_Vpn_IVpnCustomPromptOptionSelector<D>::Options() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptOptionSelector<D>::Options() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptOptionSelector)->get_Options(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Vpn_IVpnCustomPromptOptionSelector<D>::SelectedIndex() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptOptionSelector<D>::SelectedIndex() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptOptionSelector)->get_SelectedIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPromptText<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptText<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptText)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCustomPromptText<D>::Text() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptText<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput<D>::PlaceholderText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput<D>::PlaceholderText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptTextInput)->put_PlaceholderText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput<D>::PlaceholderText() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput<D>::IsTextHidden(bool value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput<D>::IsTextHidden(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptTextInput)->put_IsTextHidden(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput<D>::IsTextHidden() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput<D>::IsTextHidden() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomPromptTextInput)->get_IsTextHidden(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput<D>::Text() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomPromptTextInput<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnCustomTextBox<D>::DisplayText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomTextBox<D>::DisplayText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnCustomTextBox)->put_DisplayText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnCustomTextBox<D>::DisplayText() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnCustomTextBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnDomainNameInfo>) consume_Windows_Networking_Vpn_IVpnDomainNameAssignment<D>::DomainNameList() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnDomainNameAssignment<D>::DomainNameList() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameAssignment)->get_DomainNameList(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnDomainNameInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnDomainNameAssignment<D>::ProxyAutoConfigurationUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnDomainNameAssignment<D>::ProxyAutoConfigurationUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameAssignment)->put_ProxyAutoConfigurationUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_Vpn_IVpnDomainNameAssignment<D>::ProxyAutoConfigurationUri() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnDomainNameAssignment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnDomainNameInfo<D>::DomainName(winrt::Windows::Networking::HostName const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnDomainNameInfo<D>::DomainName(winrt::Windows::Networking::HostName const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameInfo)->put_DomainName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Vpn_IVpnDomainNameInfo<D>::DomainName() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnDomainNameInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnDomainNameInfo<D>::DomainNameType(winrt::Windows::Networking::Vpn::VpnDomainNameType const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnDomainNameInfo<D>::DomainNameType(winrt::Windows::Networking::Vpn::VpnDomainNameType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameInfo)->put_DomainNameType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnDomainNameType) consume_Windows_Networking_Vpn_IVpnDomainNameInfo<D>::DomainNameType() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnDomainNameInfo<D>::DomainNameType() const
{
winrt::Windows::Networking::Vpn::VpnDomainNameType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameInfo)->get_DomainNameType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::HostName>) consume_Windows_Networking_Vpn_IVpnDomainNameInfo<D>::DnsServers() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnDomainNameInfo<D>::DnsServers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameInfo)->get_DnsServers(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::HostName>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::HostName>) consume_Windows_Networking_Vpn_IVpnDomainNameInfo<D>::WebProxyServers() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnDomainNameInfo<D>::WebProxyServers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameInfo)->get_WebProxyServers(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::HostName>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) consume_Windows_Networking_Vpn_IVpnDomainNameInfo2<D>::WebProxyUris() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnDomainNameInfo2<D>::WebProxyUris() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameInfo2)->get_WebProxyUris(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnDomainNameInfo) consume_Windows_Networking_Vpn_IVpnDomainNameInfoFactory<D>::CreateVpnDomainNameInfo(param::hstring const& name, winrt::Windows::Networking::Vpn::VpnDomainNameType const& nameType, param::iterable<winrt::Windows::Networking::HostName> const& dnsServerList, param::iterable<winrt::Windows::Networking::HostName> const& proxyServerList) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnDomainNameInfoFactory<D>::CreateVpnDomainNameInfo(param::hstring const& name, winrt::Windows::Networking::Vpn::VpnDomainNameType const& nameType, param::iterable<winrt::Windows::Networking::HostName> const& dnsServerList, param::iterable<winrt::Windows::Networking::HostName> const& proxyServerList) const
{
void* domainNameInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnDomainNameInfoFactory)->CreateVpnDomainNameInfo(*(void**)(&name), static_cast<int32_t>(nameType), *(void**)(&dnsServerList), *(void**)(&proxyServerList), &domainNameInfo));
return winrt::Windows::Networking::Vpn::VpnDomainNameInfo{ domainNameInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnInterfaceId<D>::GetAddressInfo(com_array<uint8_t>& id) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnInterfaceId<D>::GetAddressInfo(com_array<uint8_t>& id) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnInterfaceId)->GetAddressInfo(impl::put_size_abi(id), put_abi(id)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnInterfaceId) consume_Windows_Networking_Vpn_IVpnInterfaceIdFactory<D>::CreateVpnInterfaceId(array_view<uint8_t const> address) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnInterfaceIdFactory<D>::CreateVpnInterfaceId(array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>) consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::AddProfileFromXmlAsync(param::hstring const& xml) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::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<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>) consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::AddProfileFromObjectAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::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<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>) consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::UpdateProfileFromXmlAsync(param::hstring const& xml) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::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<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>) consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::UpdateProfileFromObjectAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::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<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Vpn::IVpnProfile>>) consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::GetProfilesAsync() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::GetProfilesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnManagementAgent)->GetProfilesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Vpn::IVpnProfile>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>) consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::DeleteProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::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<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>) consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::ConnectProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::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<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>) consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::ConnectProfileWithPasswordCredentialAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::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<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>) consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::DisconnectProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnManagementAgent<D>::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<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNamespaceAssignment<D>::NamespaceList(param::vector<winrt::Windows::Networking::Vpn::VpnNamespaceInfo> const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNamespaceAssignment<D>::NamespaceList(param::vector<winrt::Windows::Networking::Vpn::VpnNamespaceInfo> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceAssignment)->put_NamespaceList(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnNamespaceInfo>) consume_Windows_Networking_Vpn_IVpnNamespaceAssignment<D>::NamespaceList() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNamespaceAssignment<D>::NamespaceList() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceAssignment)->get_NamespaceList(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnNamespaceInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNamespaceAssignment<D>::ProxyAutoConfigUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNamespaceAssignment<D>::ProxyAutoConfigUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceAssignment)->put_ProxyAutoConfigUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Networking_Vpn_IVpnNamespaceAssignment<D>::ProxyAutoConfigUri() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNamespaceAssignment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNamespaceInfo<D>::Namespace(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNamespaceInfo<D>::Namespace(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceInfo)->put_Namespace(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnNamespaceInfo<D>::Namespace() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNamespaceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNamespaceInfo<D>::DnsServers(param::vector<winrt::Windows::Networking::HostName> const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNamespaceInfo<D>::DnsServers(param::vector<winrt::Windows::Networking::HostName> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceInfo)->put_DnsServers(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::HostName>) consume_Windows_Networking_Vpn_IVpnNamespaceInfo<D>::DnsServers() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNamespaceInfo<D>::DnsServers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceInfo)->get_DnsServers(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::HostName>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNamespaceInfo<D>::WebProxyServers(param::vector<winrt::Windows::Networking::HostName> const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNamespaceInfo<D>::WebProxyServers(param::vector<winrt::Windows::Networking::HostName> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceInfo)->put_WebProxyServers(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::HostName>) consume_Windows_Networking_Vpn_IVpnNamespaceInfo<D>::WebProxyServers() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNamespaceInfo<D>::WebProxyServers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNamespaceInfo)->get_WebProxyServers(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::HostName>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnNamespaceInfo) consume_Windows_Networking_Vpn_IVpnNamespaceInfoFactory<D>::CreateVpnNamespaceInfo(param::hstring const& name, param::vector<winrt::Windows::Networking::HostName> const& dnsServerList, param::vector<winrt::Windows::Networking::HostName> const& proxyServerList) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNamespaceInfoFactory<D>::CreateVpnNamespaceInfo(param::hstring const& name, param::vector<winrt::Windows::Networking::HostName> const& dnsServerList, param::vector<winrt::Windows::Networking::HostName> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::Servers() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::Servers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->get_Servers(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType) consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::RoutingPolicyType() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::RoutingPolicyType() const
{
winrt::Windows::Networking::Vpn::VpnRoutingPolicyType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->get_RoutingPolicyType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::RoutingPolicyType(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::RoutingPolicyType(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->put_RoutingPolicyType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnNativeProtocolType) consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::NativeProtocolType() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::NativeProtocolType() const
{
winrt::Windows::Networking::Vpn::VpnNativeProtocolType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->get_NativeProtocolType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::NativeProtocolType(winrt::Windows::Networking::Vpn::VpnNativeProtocolType const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::NativeProtocolType(winrt::Windows::Networking::Vpn::VpnNativeProtocolType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->put_NativeProtocolType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod) consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::UserAuthenticationMethod() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::UserAuthenticationMethod() const
{
winrt::Windows::Networking::Vpn::VpnAuthenticationMethod value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->get_UserAuthenticationMethod(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::UserAuthenticationMethod(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::UserAuthenticationMethod(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->put_UserAuthenticationMethod(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod) consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::TunnelAuthenticationMethod() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::TunnelAuthenticationMethod() const
{
winrt::Windows::Networking::Vpn::VpnAuthenticationMethod value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->get_TunnelAuthenticationMethod(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::TunnelAuthenticationMethod(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::TunnelAuthenticationMethod(winrt::Windows::Networking::Vpn::VpnAuthenticationMethod const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->put_TunnelAuthenticationMethod(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::EapConfiguration() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::EapConfiguration(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNativeProfile<D>::EapConfiguration(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile)->put_EapConfiguration(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnNativeProfile2<D>::RequireVpnClientAppUI() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNativeProfile2<D>::RequireVpnClientAppUI() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile2)->get_RequireVpnClientAppUI(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnNativeProfile2<D>::RequireVpnClientAppUI(bool value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNativeProfile2<D>::RequireVpnClientAppUI(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile2)->put_RequireVpnClientAppUI(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnManagementConnectionStatus) consume_Windows_Networking_Vpn_IVpnNativeProfile2<D>::ConnectionStatus() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnNativeProfile2<D>::ConnectionStatus() const
{
winrt::Windows::Networking::Vpn::VpnManagementConnectionStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnNativeProfile2)->get_ConnectionStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::Buffer) consume_Windows_Networking_Vpn_IVpnPacketBuffer<D>::Buffer() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBuffer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBuffer<D>::Status(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBuffer<D>::Status(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBuffer)->put_Status(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus) consume_Windows_Networking_Vpn_IVpnPacketBuffer<D>::Status() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBuffer<D>::Status() const
{
winrt::Windows::Networking::Vpn::VpnPacketBufferStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBuffer)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBuffer<D>::TransportAffinity(uint32_t value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBuffer<D>::TransportAffinity(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBuffer)->put_TransportAffinity(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Vpn_IVpnPacketBuffer<D>::TransportAffinity() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBuffer<D>::TransportAffinity() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBuffer)->get_TransportAffinity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAppId) consume_Windows_Networking_Vpn_IVpnPacketBuffer2<D>::AppId() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBuffer2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBuffer3<D>::TransportContext(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBuffer3<D>::TransportContext(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBuffer3)->put_TransportContext(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Networking_Vpn_IVpnPacketBuffer3<D>::TransportContext() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBuffer3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) consume_Windows_Networking_Vpn_IVpnPacketBufferFactory<D>::CreateVpnPacketBuffer(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& parentBuffer, uint32_t offset, uint32_t length) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBufferFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBufferList<D>::Append(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBufferList<D>::Append(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList)->Append(*(void**)(&nextVpnPacketBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBufferList<D>::AddAtBegin(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBufferList<D>::AddAtBegin(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList)->AddAtBegin(*(void**)(&nextVpnPacketBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) consume_Windows_Networking_Vpn_IVpnPacketBufferList<D>::RemoveAtEnd() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBufferList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) consume_Windows_Networking_Vpn_IVpnPacketBufferList<D>::RemoveAtBegin() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBufferList<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBufferList<D>::Clear() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBufferList<D>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList)->Clear());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBufferList<D>::Status(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBufferList<D>::Status(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList)->put_Status(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBufferStatus) consume_Windows_Networking_Vpn_IVpnPacketBufferList<D>::Status() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBufferList<D>::Status() const
{
winrt::Windows::Networking::Vpn::VpnPacketBufferStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_Vpn_IVpnPacketBufferList<D>::Size() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBufferList<D>::Size() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList)->get_Size(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBufferList2<D>::AddLeadingPacket(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBufferList2<D>::AddLeadingPacket(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList2)->AddLeadingPacket(*(void**)(&nextVpnPacketBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) consume_Windows_Networking_Vpn_IVpnPacketBufferList2<D>::RemoveLeadingPacket() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBufferList2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPacketBufferList2<D>::AddTrailingPacket(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBufferList2<D>::AddTrailingPacket(winrt::Windows::Networking::Vpn::VpnPacketBuffer const& nextVpnPacketBuffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPacketBufferList2)->AddTrailingPacket(*(void**)(&nextVpnPacketBuffer)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnPacketBuffer) consume_Windows_Networking_Vpn_IVpnPacketBufferList2<D>::RemoveTrailingPacket() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPacketBufferList2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Networking_Vpn_IVpnPickedCredential<D>::PasskeyCredential() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPickedCredential<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnPickedCredential<D>::AdditionalPin() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPickedCredential<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Networking_Vpn_IVpnPickedCredential<D>::OldPasswordCredential() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPickedCredential<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPlugIn<D>::Connect(winrt::Windows::Networking::Vpn::VpnChannel const& channel) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPlugIn<D>::Connect(winrt::Windows::Networking::Vpn::VpnChannel const& channel) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugIn)->Connect(*(void**)(&channel)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPlugIn<D>::Disconnect(winrt::Windows::Networking::Vpn::VpnChannel const& channel) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPlugIn<D>::Disconnect(winrt::Windows::Networking::Vpn::VpnChannel const& channel) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugIn)->Disconnect(*(void**)(&channel)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPlugIn<D>::GetKeepAlivePayload(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Networking::Vpn::VpnPacketBuffer& keepAlivePacket) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPlugIn<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPlugIn<D>::Encapsulate(winrt::Windows::Networking::Vpn::VpnChannel const& channel, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& packets, winrt::Windows::Networking::Vpn::VpnPacketBufferList const& encapulatedPackets) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPlugIn<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPlugIn<D>::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 <typename D> auto consume_Windows_Networking_Vpn_IVpnPlugIn<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) consume_Windows_Networking_Vpn_IVpnPlugInProfile<D>::ServerUris() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPlugInProfile<D>::ServerUris() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugInProfile)->get_ServerUris(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnPlugInProfile<D>::CustomConfiguration() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPlugInProfile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPlugInProfile<D>::CustomConfiguration(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPlugInProfile<D>::CustomConfiguration(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugInProfile)->put_CustomConfiguration(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnPlugInProfile<D>::VpnPluginPackageFamilyName() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPlugInProfile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPlugInProfile<D>::VpnPluginPackageFamilyName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPlugInProfile<D>::VpnPluginPackageFamilyName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugInProfile)->put_VpnPluginPackageFamilyName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnPlugInProfile2<D>::RequireVpnClientAppUI() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPlugInProfile2<D>::RequireVpnClientAppUI() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugInProfile2)->get_RequireVpnClientAppUI(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnPlugInProfile2<D>::RequireVpnClientAppUI(bool value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPlugInProfile2<D>::RequireVpnClientAppUI(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugInProfile2)->put_RequireVpnClientAppUI(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnManagementConnectionStatus) consume_Windows_Networking_Vpn_IVpnPlugInProfile2<D>::ConnectionStatus() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnPlugInProfile2<D>::ConnectionStatus() const
{
winrt::Windows::Networking::Vpn::VpnManagementConnectionStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnPlugInProfile2)->get_ConnectionStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_Vpn_IVpnProfile<D>::ProfileName() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnProfile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnProfile<D>::ProfileName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnProfile<D>::ProfileName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->put_ProfileName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnAppId>) consume_Windows_Networking_Vpn_IVpnProfile<D>::AppTriggers() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnProfile<D>::AppTriggers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->get_AppTriggers(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnAppId>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnRoute>) consume_Windows_Networking_Vpn_IVpnProfile<D>::Routes() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnProfile<D>::Routes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->get_Routes(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnRoute>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnDomainNameInfo>) consume_Windows_Networking_Vpn_IVpnProfile<D>::DomainNameInfoList() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnProfile<D>::DomainNameInfoList() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->get_DomainNameInfoList(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnDomainNameInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnTrafficFilter>) consume_Windows_Networking_Vpn_IVpnProfile<D>::TrafficFilters() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnProfile<D>::TrafficFilters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->get_TrafficFilters(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnTrafficFilter>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnProfile<D>::RememberCredentials() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnProfile<D>::RememberCredentials() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->get_RememberCredentials(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnProfile<D>::RememberCredentials(bool value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnProfile<D>::RememberCredentials(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->put_RememberCredentials(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnProfile<D>::AlwaysOn() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnProfile<D>::AlwaysOn() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->get_AlwaysOn(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnProfile<D>::AlwaysOn(bool value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnProfile<D>::AlwaysOn(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnProfile)->put_AlwaysOn(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnRoute<D>::Address(winrt::Windows::Networking::HostName const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnRoute<D>::Address(winrt::Windows::Networking::HostName const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRoute)->put_Address(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_Vpn_IVpnRoute<D>::Address() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnRoute<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnRoute<D>::PrefixSize(uint8_t value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnRoute<D>::PrefixSize(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRoute)->put_PrefixSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Networking_Vpn_IVpnRoute<D>::PrefixSize() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnRoute<D>::PrefixSize() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRoute)->get_PrefixSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::Ipv4InclusionRoutes(param::vector<winrt::Windows::Networking::Vpn::VpnRoute> const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::Ipv4InclusionRoutes(param::vector<winrt::Windows::Networking::Vpn::VpnRoute> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->put_Ipv4InclusionRoutes(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::Ipv6InclusionRoutes(param::vector<winrt::Windows::Networking::Vpn::VpnRoute> const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::Ipv6InclusionRoutes(param::vector<winrt::Windows::Networking::Vpn::VpnRoute> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->put_Ipv6InclusionRoutes(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnRoute>) consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::Ipv4InclusionRoutes() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::Ipv4InclusionRoutes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->get_Ipv4InclusionRoutes(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnRoute>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnRoute>) consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::Ipv6InclusionRoutes() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::Ipv6InclusionRoutes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->get_Ipv6InclusionRoutes(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnRoute>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::Ipv4ExclusionRoutes(param::vector<winrt::Windows::Networking::Vpn::VpnRoute> const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::Ipv4ExclusionRoutes(param::vector<winrt::Windows::Networking::Vpn::VpnRoute> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->put_Ipv4ExclusionRoutes(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::Ipv6ExclusionRoutes(param::vector<winrt::Windows::Networking::Vpn::VpnRoute> const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::Ipv6ExclusionRoutes(param::vector<winrt::Windows::Networking::Vpn::VpnRoute> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->put_Ipv6ExclusionRoutes(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnRoute>) consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::Ipv4ExclusionRoutes() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::Ipv4ExclusionRoutes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->get_Ipv4ExclusionRoutes(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnRoute>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnRoute>) consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::Ipv6ExclusionRoutes() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::Ipv6ExclusionRoutes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->get_Ipv6ExclusionRoutes(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnRoute>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::ExcludeLocalSubnets(bool value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::ExcludeLocalSubnets(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->put_ExcludeLocalSubnets(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::ExcludeLocalSubnets() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnRouteAssignment<D>::ExcludeLocalSubnets() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnRouteAssignment)->get_ExcludeLocalSubnets(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnRoute) consume_Windows_Networking_Vpn_IVpnRouteFactory<D>::CreateVpnRoute(winrt::Windows::Networking::HostName const& address, uint8_t prefixSize) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnRouteFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::Buffer) consume_Windows_Networking_Vpn_IVpnSystemHealth<D>::StatementOfHealth() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnSystemHealth<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAppId) consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::AppId() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::AppId(winrt::Windows::Networking::Vpn::VpnAppId const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::AppId(winrt::Windows::Networking::Vpn::VpnAppId const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->put_AppId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::AppClaims() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::AppClaims() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->get_AppClaims(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnIPProtocol) consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::Protocol() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::Protocol() const
{
winrt::Windows::Networking::Vpn::VpnIPProtocol value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->get_Protocol(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::Protocol(winrt::Windows::Networking::Vpn::VpnIPProtocol const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::Protocol(winrt::Windows::Networking::Vpn::VpnIPProtocol const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->put_Protocol(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::LocalPortRanges() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::LocalPortRanges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->get_LocalPortRanges(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::RemotePortRanges() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::RemotePortRanges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->get_RemotePortRanges(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::LocalAddressRanges() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::LocalAddressRanges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->get_LocalAddressRanges(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::RemoteAddressRanges() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::RemoteAddressRanges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->get_RemoteAddressRanges(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType) consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::RoutingPolicyType() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::RoutingPolicyType() const
{
winrt::Windows::Networking::Vpn::VpnRoutingPolicyType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->get_RoutingPolicyType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::RoutingPolicyType(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType const& value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnTrafficFilter<D>::RoutingPolicyType(winrt::Windows::Networking::Vpn::VpnRoutingPolicyType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilter)->put_RoutingPolicyType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnTrafficFilter>) consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment<D>::TrafficFilterList() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment<D>::TrafficFilterList() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilterAssignment)->get_TrafficFilterList(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnTrafficFilter>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment<D>::AllowOutbound() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment<D>::AllowOutbound() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilterAssignment)->get_AllowOutbound(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment<D>::AllowOutbound(bool value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment<D>::AllowOutbound(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilterAssignment)->put_AllowOutbound(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment<D>::AllowInbound() const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment<D>::AllowInbound() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilterAssignment)->get_AllowInbound(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment<D>::AllowInbound(bool value) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment<D>::AllowInbound(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::Vpn::IVpnTrafficFilterAssignment)->put_AllowInbound(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnTrafficFilter) consume_Windows_Networking_Vpn_IVpnTrafficFilterFactory<D>::Create(winrt::Windows::Networking::Vpn::VpnAppId const& appId) const
+ template <typename D> auto consume_Windows_Networking_Vpn_IVpnTrafficFilterFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.XboxLive.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.XboxLive.h
index 736e54ea7cc..6b6fcbfdafe 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.XboxLive.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::SnapshotChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::SnapshotChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::SnapshotChanged_revoker consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::SnapshotChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::SnapshotChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SnapshotChanged_revoker>(this, SnapshotChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::SnapshotChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::SnapshotChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress)->remove_SnapshotChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::GetSnapshotAsBase64() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::GetSnapshotAsBase64() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress)->GetSnapshotAsBase64(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::GetSnapshotAsBuffer() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::GetSnapshotAsBytes(array_view<uint8_t> buffer, uint32_t& bytesWritten) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::GetSnapshotAsBytes(array_view<uint8_t> buffer, uint32_t& bytesWritten) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress)->GetSnapshotAsBytes(buffer.size(), put_abi(buffer), &bytesWritten));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::Compare(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& otherDeviceAddress) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::IsValid() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::IsValid() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress)->get_IsValid(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::IsLocal() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::IsLocal() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress)->get_IsLocal(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveNetworkAccessKind) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::NetworkAccessKind() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress<D>::NetworkAccessKind() const
{
winrt::Windows::Networking::XboxLive::XboxLiveNetworkAccessKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress)->get_NetworkAccessKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics<D>::CreateFromSnapshotBase64(param::hstring const& base64) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics<D>::CreateFromSnapshotBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics<D>::CreateFromSnapshotBytes(array_view<uint8_t const> buffer) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics<D>::CreateFromSnapshotBytes(array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics<D>::GetLocal() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics<D>::MaxSnapshotBytesSize() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddressStatics<D>::MaxSnapshotBytesSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddressStatics)->get_MaxSnapshotBytesSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairStateChangedEventArgs> 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 D> typename consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::StateChanged_revoker consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StateChanged_revoker>(this, StateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::StateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::StateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair)->remove_StateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::DeleteAsync() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::GetRemoteSocketAddressBytes(array_view<uint8_t> socketAddress) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::GetRemoteSocketAddressBytes(array_view<uint8_t> socketAddress) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair)->GetRemoteSocketAddressBytes(socketAddress.size(), put_abi(socketAddress)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::GetLocalSocketAddressBytes(array_view<uint8_t> socketAddress) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::GetLocalSocketAddressBytes(array_view<uint8_t> socketAddress) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair)->GetLocalSocketAddressBytes(socketAddress.size(), put_abi(socketAddress)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairState) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::State() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::State() const
{
winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::Template() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::RemoteDeviceAddress() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::RemoteHostName() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::RemotePort() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::LocalHostName() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::LocalPort() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult<D>::DeviceAddress() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationStatus) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult<D>::Status() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult<D>::Status() const
{
winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairCreationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult<D>::IsExistingPathEvaluation() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult<D>::IsExistingPathEvaluation() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairCreationResult)->get_IsExistingPathEvaluation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult<D>::EndpointPair() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairCreationResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairState) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStateChangedEventArgs<D>::OldState() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStateChangedEventArgs<D>::OldState() const
{
winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairStateChangedEventArgs)->get_OldState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairState) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStateChangedEventArgs<D>::NewState() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStateChangedEventArgs<D>::NewState() const
{
winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairStateChangedEventArgs)->get_NewState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStatics<D>::FindEndpointPairBySocketAddressBytes(array_view<uint8_t const> localSocketAddress, array_view<uint8_t const> remoteSocketAddress) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStatics<D>::FindEndpointPairBySocketAddressBytes(array_view<uint8_t const> localSocketAddress, array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStatics<D>::FindEndpointPairByHostNamesAndPorts(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localPort, winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remotePort) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::InboundEndpointPairCreated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate, winrt::Windows::Networking::XboxLive::XboxLiveInboundEndpointPairCreatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::InboundEndpointPairCreated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate, winrt::Windows::Networking::XboxLive::XboxLiveInboundEndpointPairCreatedEventArgs> 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 D> typename consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::InboundEndpointPairCreated_revoker consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::InboundEndpointPairCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate, winrt::Windows::Networking::XboxLive::XboxLiveInboundEndpointPairCreatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::InboundEndpointPairCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate, winrt::Windows::Networking::XboxLive::XboxLiveInboundEndpointPairCreatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, InboundEndpointPairCreated_revoker>(this, InboundEndpointPairCreated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::InboundEndpointPairCreated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::InboundEndpointPairCreated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->remove_InboundEndpointPairCreated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationResult>) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::CreateEndpointPairAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::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<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationResult>) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::CreateEndpointPairAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationBehaviors const& behaviors) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::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<uint32_t>(behaviors), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationResult>) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::CreateEndpointPairForPortsAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, param::hstring const& initiatorPort, param::hstring const& acceptorPort) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::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<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationResult>) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::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 <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::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<uint32_t>(behaviors), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::Name() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveSocketKind) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::SocketKind() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::SocketKind() const
{
winrt::Windows::Networking::XboxLive::XboxLiveSocketKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->get_SocketKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::InitiatorBoundPortRangeLower() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::InitiatorBoundPortRangeLower() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->get_InitiatorBoundPortRangeLower(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::InitiatorBoundPortRangeUpper() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::InitiatorBoundPortRangeUpper() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->get_InitiatorBoundPortRangeUpper(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::AcceptorBoundPortRangeLower() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::AcceptorBoundPortRangeLower() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->get_AcceptorBoundPortRangeLower(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::AcceptorBoundPortRangeUpper() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::AcceptorBoundPortRangeUpper() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->get_AcceptorBoundPortRangeUpper(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair>) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::EndpointPairs() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate<D>::EndpointPairs() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate)->get_EndpointPairs(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplateStatics<D>::GetTemplateByName(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplateStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate>) consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplateStatics<D>::Templates() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplateStatics<D>::Templates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplateStatics)->get_Templates(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair) consume_Windows_Networking_XboxLive_IXboxLiveInboundEndpointPairCreatedEventArgs<D>::EndpointPair() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveInboundEndpointPairCreatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::MeasureAsync() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetricResult>) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::GetMetricResultsForDevice(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::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<winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetricResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetricResult>) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::GetMetricResultsForMetric(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric const& metric) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::GetMetricResultsForMetric(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric const& metric) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->GetMetricResultsForMetric(static_cast<int32_t>(metric), &value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetricResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetricResult) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::GetMetricResult(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric const& metric) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::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<int32_t>(metric), &value));
return winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetricResult{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServicePrivatePayloadResult) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::GetPrivatePayloadResult(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric>) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::Metrics() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::Metrics() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->get_Metrics(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress>) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::DeviceAddresses() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::DeviceAddresses() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->get_DeviceAddresses(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::ShouldRequestPrivatePayloads() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::ShouldRequestPrivatePayloads() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->get_ShouldRequestPrivatePayloads(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::ShouldRequestPrivatePayloads(bool value) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::ShouldRequestPrivatePayloads(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->put_ShouldRequestPrivatePayloads(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::TimeoutInMilliseconds() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::TimeoutInMilliseconds() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->get_TimeoutInMilliseconds(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::TimeoutInMilliseconds(uint32_t value) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::TimeoutInMilliseconds(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->put_TimeoutInMilliseconds(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::NumberOfProbesToAttempt() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::NumberOfProbesToAttempt() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->get_NumberOfProbesToAttempt(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::NumberOfProbesToAttempt(uint32_t value) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::NumberOfProbesToAttempt(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->put_NumberOfProbesToAttempt(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::NumberOfResultsPending() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::NumberOfResultsPending() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->get_NumberOfResultsPending(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetricResult>) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::MetricResults() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::MetricResults() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->get_MetricResults(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetricResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServicePrivatePayloadResult>) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::PrivatePayloadResults() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement<D>::PrivatePayloadResults() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement)->get_PrivatePayloadResults(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServicePrivatePayloadResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::PublishPrivatePayloadBytes(array_view<uint8_t const> payload) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::PublishPrivatePayloadBytes(array_view<uint8_t const> payload) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->PublishPrivatePayloadBytes(payload.size(), get_abi(payload)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::ClearPrivatePayload() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::ClearPrivatePayload() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->ClearPrivatePayload());
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::MaxSimultaneousProbeConnections() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::MaxSimultaneousProbeConnections() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->get_MaxSimultaneousProbeConnections(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::MaxSimultaneousProbeConnections(uint32_t value) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::MaxSimultaneousProbeConnections(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->put_MaxSimultaneousProbeConnections(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::IsSystemOutboundBandwidthConstrained() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::IsSystemOutboundBandwidthConstrained() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->get_IsSystemOutboundBandwidthConstrained(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::IsSystemOutboundBandwidthConstrained(bool value) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::IsSystemOutboundBandwidthConstrained(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->put_IsSystemOutboundBandwidthConstrained(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::IsSystemInboundBandwidthConstrained() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::IsSystemInboundBandwidthConstrained() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->get_IsSystemInboundBandwidthConstrained(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::IsSystemInboundBandwidthConstrained(bool value) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::IsSystemInboundBandwidthConstrained(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->put_IsSystemInboundBandwidthConstrained(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::PublishedPrivatePayload() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::PublishedPrivatePayload(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::PublishedPrivatePayload(winrt::Windows::Storage::Streams::IBuffer const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->put_PublishedPrivatePayload(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::MaxPrivatePayloadSize() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics<D>::MaxPrivatePayloadSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics)->get_MaxPrivatePayloadSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMeasurementStatus) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult<D>::Status() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult<D>::Status() const
{
winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMeasurementStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMetricResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult<D>::DeviceAddress() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult<D>::Metric() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult<D>::Metric() const
{
winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMetricResult)->get_Metric(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult<D>::Value() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMetricResult<D>::Value() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMetricResult)->get_Value(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMeasurementStatus) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServicePrivatePayloadResult<D>::Status() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServicePrivatePayloadResult<D>::Status() const
{
winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMeasurementStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServicePrivatePayloadResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServicePrivatePayloadResult<D>::DeviceAddress() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServicePrivatePayloadResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServicePrivatePayloadResult<D>::Value() const
+ template <typename D> auto consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServicePrivatePayloadResult<D>::Value() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServicePrivatePayloadResult)->get_Value(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.h
index c572754fb77..d488e2310c8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Networking.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_IEndpointPair<D>::LocalHostName() const
+ template <typename D> auto consume_Windows_Networking_IEndpointPair<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_IEndpointPair<D>::LocalHostName(winrt::Windows::Networking::HostName const& value) const
+ template <typename D> auto consume_Windows_Networking_IEndpointPair<D>::LocalHostName(winrt::Windows::Networking::HostName const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IEndpointPair)->put_LocalHostName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_IEndpointPair<D>::LocalServiceName() const
+ template <typename D> auto consume_Windows_Networking_IEndpointPair<D>::LocalServiceName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IEndpointPair)->get_LocalServiceName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_IEndpointPair<D>::LocalServiceName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_IEndpointPair<D>::LocalServiceName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IEndpointPair)->put_LocalServiceName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_IEndpointPair<D>::RemoteHostName() const
+ template <typename D> auto consume_Windows_Networking_IEndpointPair<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_IEndpointPair<D>::RemoteHostName(winrt::Windows::Networking::HostName const& value) const
+ template <typename D> auto consume_Windows_Networking_IEndpointPair<D>::RemoteHostName(winrt::Windows::Networking::HostName const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IEndpointPair)->put_RemoteHostName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_IEndpointPair<D>::RemoteServiceName() const
+ template <typename D> auto consume_Windows_Networking_IEndpointPair<D>::RemoteServiceName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IEndpointPair)->get_RemoteServiceName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Networking_IEndpointPair<D>::RemoteServiceName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Networking_IEndpointPair<D>::RemoteServiceName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IEndpointPair)->put_RemoteServiceName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::EndpointPair) consume_Windows_Networking_IEndpointPairFactory<D>::CreateEndpointPair(winrt::Windows::Networking::HostName const& localHostName, param::hstring const& localServiceName, winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const
+ template <typename D> auto consume_Windows_Networking_IEndpointPairFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::IPInformation) consume_Windows_Networking_IHostName<D>::IPInformation() const
+ template <typename D> auto consume_Windows_Networking_IHostName<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_IHostName<D>::RawName() const
+ template <typename D> auto consume_Windows_Networking_IHostName<D>::RawName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IHostName)->get_RawName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_IHostName<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Networking_IHostName<D>::DisplayName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IHostName)->get_DisplayName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Networking_IHostName<D>::CanonicalName() const
+ template <typename D> auto consume_Windows_Networking_IHostName<D>::CanonicalName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IHostName)->get_CanonicalName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostNameType) consume_Windows_Networking_IHostName<D>::Type() const
+ template <typename D> auto consume_Windows_Networking_IHostName<D>::Type() const
{
winrt::Windows::Networking::HostNameType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Networking::IHostName)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Networking_IHostName<D>::IsEqual(winrt::Windows::Networking::HostName const& hostName) const
+ template <typename D> auto consume_Windows_Networking_IHostName<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Networking_IHostNameFactory<D>::CreateHostName(param::hstring const& hostName) const
+ template <typename D> auto consume_Windows_Networking_IHostNameFactory<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Networking_IHostNameStatics<D>::Compare(param::hstring const& value1, param::hstring const& value2) const
+ template <typename D> auto consume_Windows_Networking_IHostNameStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Automation.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Automation.Core.h
index bc5ff9fa870..2fb4fd5bfef 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Automation.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Automation_Core_ICorePerceptionAutomationStatics<D>::SetActivationFactoryProvider(winrt::Windows::Foundation::IGetActivationFactory const& provider) const
+ template <typename D> auto consume_Windows_Perception_Automation_Core_ICorePerceptionAutomationStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.People.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.People.h
index db3957ea9a6..4fc9846d6d7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.People.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Perception_People_IEyesPose<D>::IsCalibrationValid() const
+ template <typename D> auto consume_Windows_Perception_People_IEyesPose<D>::IsCalibrationValid() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IEyesPose)->get_IsCalibrationValid(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Perception::Spatial::SpatialRay>) consume_Windows_Perception_People_IEyesPose<D>::Gaze() const
+ template <typename D> auto consume_Windows_Perception_People_IEyesPose<D>::Gaze() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IEyesPose)->get_Gaze(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Perception::Spatial::SpatialRay>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) consume_Windows_Perception_People_IEyesPose<D>::UpdateTimestamp() const
+ template <typename D> auto consume_Windows_Perception_People_IEyesPose<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Perception_People_IEyesPoseStatics<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Perception_People_IEyesPoseStatics<D>::IsSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IEyesPoseStatics)->IsSupported(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Input::GazeInputAccessStatus>) consume_Windows_Perception_People_IEyesPoseStatics<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_Perception_People_IEyesPoseStatics<D>::RequestAccessAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IEyesPoseStatics)->RequestAccessAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Input::GazeInputAccessStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSource) consume_Windows_Perception_People_IHandMeshObserver<D>::Source() const
+ template <typename D> auto consume_Windows_Perception_People_IHandMeshObserver<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Perception_People_IHandMeshObserver<D>::TriangleIndexCount() const
+ template <typename D> auto consume_Windows_Perception_People_IHandMeshObserver<D>::TriangleIndexCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandMeshObserver)->get_TriangleIndexCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Perception_People_IHandMeshObserver<D>::VertexCount() const
+ template <typename D> auto consume_Windows_Perception_People_IHandMeshObserver<D>::VertexCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandMeshObserver)->get_VertexCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_People_IHandMeshObserver<D>::GetTriangleIndices(array_view<uint16_t> indices) const
+ template <typename D> auto consume_Windows_Perception_People_IHandMeshObserver<D>::GetTriangleIndices(array_view<uint16_t> indices) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandMeshObserver)->GetTriangleIndices(indices.size(), put_abi(indices)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::People::HandMeshVertexState) consume_Windows_Perception_People_IHandMeshObserver<D>::GetVertexStateForPose(winrt::Windows::Perception::People::HandPose const& handPose) const
+ template <typename D> auto consume_Windows_Perception_People_IHandMeshObserver<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::People::HandPose) consume_Windows_Perception_People_IHandMeshObserver<D>::NeutralPose() const
+ template <typename D> auto consume_Windows_Perception_People_IHandMeshObserver<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Perception_People_IHandMeshObserver<D>::NeutralPoseVersion() const
+ template <typename D> auto consume_Windows_Perception_People_IHandMeshObserver<D>::NeutralPoseVersion() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandMeshObserver)->get_NeutralPoseVersion(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Perception_People_IHandMeshObserver<D>::ModelId() const
+ template <typename D> auto consume_Windows_Perception_People_IHandMeshObserver<D>::ModelId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandMeshObserver)->get_ModelId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_People_IHandMeshVertexState<D>::CoordinateSystem() const
+ template <typename D> auto consume_Windows_Perception_People_IHandMeshVertexState<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_People_IHandMeshVertexState<D>::GetVertices(array_view<winrt::Windows::Perception::People::HandMeshVertex> vertices) const
+ template <typename D> auto consume_Windows_Perception_People_IHandMeshVertexState<D>::GetVertices(array_view<winrt::Windows::Perception::People::HandMeshVertex> vertices) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::People::IHandMeshVertexState)->GetVertices(vertices.size(), put_abi(vertices)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) consume_Windows_Perception_People_IHandMeshVertexState<D>::UpdateTimestamp() const
+ template <typename D> auto consume_Windows_Perception_People_IHandMeshVertexState<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Perception_People_IHandPose<D>::TryGetJoint(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::People::HandJointKind const& joint, winrt::Windows::Perception::People::JointPose& jointPose) const
+ template <typename D> auto consume_Windows_Perception_People_IHandPose<D>::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<int32_t>(joint), impl::bind_out(jointPose), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Perception_People_IHandPose<D>::TryGetJoints(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, array_view<winrt::Windows::Perception::People::HandJointKind const> joints, array_view<winrt::Windows::Perception::People::JointPose> jointPoses) const
+ template <typename D> auto consume_Windows_Perception_People_IHandPose<D>::TryGetJoints(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, array_view<winrt::Windows::Perception::People::HandJointKind const> joints, array_view<winrt::Windows::Perception::People::JointPose> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::People::JointPose) consume_Windows_Perception_People_IHandPose<D>::GetRelativeJoint(winrt::Windows::Perception::People::HandJointKind const& joint, winrt::Windows::Perception::People::HandJointKind const& referenceJoint) const
+ template <typename D> auto consume_Windows_Perception_People_IHandPose<D>::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<int32_t>(joint), static_cast<int32_t>(referenceJoint), put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_People_IHandPose<D>::GetRelativeJoints(array_view<winrt::Windows::Perception::People::HandJointKind const> joints, array_view<winrt::Windows::Perception::People::HandJointKind const> referenceJoints, array_view<winrt::Windows::Perception::People::JointPose> jointPoses) const
+ template <typename D> auto consume_Windows_Perception_People_IHandPose<D>::GetRelativeJoints(array_view<winrt::Windows::Perception::People::HandJointKind const> joints, array_view<winrt::Windows::Perception::People::HandJointKind const> referenceJoints, array_view<winrt::Windows::Perception::People::JointPose> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_People_IHeadPose<D>::Position() const
+ template <typename D> auto consume_Windows_Perception_People_IHeadPose<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_People_IHeadPose<D>::ForwardDirection() const
+ template <typename D> auto consume_Windows_Perception_People_IHeadPose<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_People_IHeadPose<D>::UpDirection() const
+ template <typename D> auto consume_Windows_Perception_People_IHeadPose<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.Preview.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.Preview.h
index 173608c9347..1d59010584f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.Preview.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropFrameOfReferencePreview<D>::CoordinateSystem() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropFrameOfReferencePreview<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropFrameOfReferencePreview<D>::NodeId() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropFrameOfReferencePreview<D>::NodeId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Preview::ISpatialGraphInteropFrameOfReferencePreview)->get_NodeId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropFrameOfReferencePreview<D>::CoordinateSystemToNodeTransform() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropFrameOfReferencePreview<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics<D>::CreateCoordinateSystemForNode(winrt::guid const& nodeId) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics<D>::CreateCoordinateSystemForNode(winrt::guid const& nodeId, winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics<D>::CreateCoordinateSystemForNode(winrt::guid const& nodeId, winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocator) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics<D>::CreateLocatorForNode(winrt::guid const& nodeId) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Preview::SpatialGraphInteropFrameOfReferencePreview) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics2<D>::TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Preview::SpatialGraphInteropFrameOfReferencePreview) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics2<D>::TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Preview::SpatialGraphInteropFrameOfReferencePreview) consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics2<D>::TryCreateFrameOfReference(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Preview_ISpatialGraphInteropPreviewStatics2<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.Surfaces.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.Surfaces.h
index 5f83e5350cd..c06ce7fe908 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.Surfaces.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo<D>::Id() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo<D>::Id() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceInfo)->get_Id(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo<D>::UpdateTime() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Perception::Spatial::SpatialBoundingOrientedBox>) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo<D>::TryGetBounds(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo<D>::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<winrt::Windows::Perception::Spatial::SpatialBoundingOrientedBox>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMesh>) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo<D>::TryComputeLatestMeshAsync(double maxTrianglesPerCubicMeter) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo<D>::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<winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMesh>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMesh>) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo<D>::TryComputeLatestMeshAsync(double maxTrianglesPerCubicMeter, winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshOptions const& options) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceInfo<D>::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<winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMesh>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceInfo) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh<D>::SurfaceInfo() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh<D>::CoordinateSystem() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshBuffer) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh<D>::TriangleIndices() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshBuffer) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh<D>::VertexPositions() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh<D>::VertexPositionScale() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMeshBuffer) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh<D>::VertexNormals() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMesh<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer<D>::Format() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer<D>::Format() const
{
winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshBuffer)->get_Format(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer<D>::Stride() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer<D>::Stride() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshBuffer)->get_Stride(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer<D>::ElementCount() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer<D>::ElementCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshBuffer)->get_ElementCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer<D>::Data() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshBuffer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions<D>::VertexPositionFormat() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions<D>::VertexPositionFormat() const
{
winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions)->get_VertexPositionFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions<D>::VertexPositionFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions<D>::VertexPositionFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions)->put_VertexPositionFormat(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions<D>::TriangleIndexFormat() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions<D>::TriangleIndexFormat() const
{
winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions)->get_TriangleIndexFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions<D>::TriangleIndexFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions<D>::TriangleIndexFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions)->put_TriangleIndexFormat(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions<D>::VertexNormalFormat() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions<D>::VertexNormalFormat() const
{
winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions)->get_VertexNormalFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions<D>::VertexNormalFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions<D>::VertexNormalFormat(winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions)->put_VertexNormalFormat(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions<D>::IncludeVertexNormals() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions<D>::IncludeVertexNormals() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions)->get_IncludeVertexNormals(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions<D>::IncludeVertexNormals(bool value) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptions<D>::IncludeVertexNormals(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions)->put_IncludeVertexNormals(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::DirectX::DirectXPixelFormat>) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptionsStatics<D>::SupportedVertexPositionFormats() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptionsStatics<D>::SupportedVertexPositionFormats() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptionsStatics)->get_SupportedVertexPositionFormats(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::DirectX::DirectXPixelFormat>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::DirectX::DirectXPixelFormat>) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptionsStatics<D>::SupportedTriangleIndexFormats() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptionsStatics<D>::SupportedTriangleIndexFormats() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptionsStatics)->get_SupportedTriangleIndexFormats(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::DirectX::DirectXPixelFormat>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::DirectX::DirectXPixelFormat>) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptionsStatics<D>::SupportedVertexNormalFormats() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptionsStatics<D>::SupportedVertexNormalFormats() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptionsStatics)->get_SupportedVertexNormalFormats(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::DirectX::DirectXPixelFormat>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceInfo>) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver<D>::GetObservedSurfaces() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver<D>::GetObservedSurfaces() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserver)->GetObservedSurfaces(&value));
return winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver<D>::SetBoundingVolume(winrt::Windows::Perception::Spatial::SpatialBoundingVolume const& bounds) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver<D>::SetBoundingVolume(winrt::Windows::Perception::Spatial::SpatialBoundingVolume const& bounds) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserver)->SetBoundingVolume(*(void**)(&bounds)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver<D>::SetBoundingVolumes(param::iterable<winrt::Windows::Perception::Spatial::SpatialBoundingVolume> const& bounds) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver<D>::SetBoundingVolumes(param::iterable<winrt::Windows::Perception::Spatial::SpatialBoundingVolume> const& bounds) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserver)->SetBoundingVolumes(*(void**)(&bounds)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver<D>::ObservedSurfacesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceObserver, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver<D>::ObservedSurfacesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceObserver, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver<D>::ObservedSurfacesChanged_revoker consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver<D>::ObservedSurfacesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceObserver, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver<D>::ObservedSurfacesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceObserver, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ObservedSurfacesChanged_revoker>(this, ObservedSurfacesChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver<D>::ObservedSurfacesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver<D>::ObservedSurfacesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserver)->remove_ObservedSurfacesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialPerceptionAccessStatus>) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserverStatics<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserverStatics<D>::RequestAccessAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserverStatics)->RequestAccessAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialPerceptionAccessStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserverStatics2<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserverStatics2<D>::IsSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserverStatics2)->IsSupported(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.h
index c3d2658cfc4..59a7959b8a7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.Spatial.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_ISpatialAnchor<D>::CoordinateSystem() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_ISpatialAnchor<D>::RawCoordinateSystem() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_ISpatialAnchor<D>::RawCoordinateSystemAdjusted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialAnchor, winrt::Windows::Perception::Spatial::SpatialAnchorRawCoordinateSystemAdjustedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchor<D>::RawCoordinateSystemAdjusted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialAnchor, winrt::Windows::Perception::Spatial::SpatialAnchorRawCoordinateSystemAdjustedEventArgs> 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 D> typename consume_Windows_Perception_Spatial_ISpatialAnchor<D>::RawCoordinateSystemAdjusted_revoker consume_Windows_Perception_Spatial_ISpatialAnchor<D>::RawCoordinateSystemAdjusted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialAnchor, winrt::Windows::Perception::Spatial::SpatialAnchorRawCoordinateSystemAdjustedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchor<D>::RawCoordinateSystemAdjusted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialAnchor, winrt::Windows::Perception::Spatial::SpatialAnchorRawCoordinateSystemAdjustedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RawCoordinateSystemAdjusted_revoker>(this, RawCoordinateSystemAdjusted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialAnchor<D>::RawCoordinateSystemAdjusted(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchor<D>::RawCoordinateSystemAdjusted(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchor)->remove_RawCoordinateSystemAdjusted(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Perception_Spatial_ISpatialAnchor2<D>::RemovedByUser() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchor2<D>::RemovedByUser() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchor2)->get_RemovedByUser(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Perception_Spatial_ISpatialAnchorExportSufficiency<D>::IsMinimallySufficient() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorExportSufficiency<D>::IsMinimallySufficient() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorExportSufficiency)->get_IsMinimallySufficient(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Perception_Spatial_ISpatialAnchorExportSufficiency<D>::SufficiencyLevel() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorExportSufficiency<D>::SufficiencyLevel() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorExportSufficiency)->get_SufficiencyLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Perception_Spatial_ISpatialAnchorExportSufficiency<D>::RecommendedSufficiencyLevel() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorExportSufficiency<D>::RecommendedSufficiencyLevel() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorExportSufficiency)->get_RecommendedSufficiencyLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialAnchorExportSufficiency>) consume_Windows_Perception_Spatial_ISpatialAnchorExporter<D>::GetAnchorExportSufficiencyAsync(winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor, winrt::Windows::Perception::Spatial::SpatialAnchorExportPurpose const& purpose) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorExporter<D>::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<int32_t>(purpose), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialAnchorExportSufficiency>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Perception_Spatial_ISpatialAnchorExporter<D>::TryExportAnchorAsync(winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor, winrt::Windows::Perception::Spatial::SpatialAnchorExportPurpose const& purpose, winrt::Windows::Storage::Streams::IOutputStream const& stream) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorExporter<D>::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<int32_t>(purpose), *(void**)(&stream), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialAnchorExporter) consume_Windows_Perception_Spatial_ISpatialAnchorExporterStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorExporterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialPerceptionAccessStatus>) consume_Windows_Perception_Spatial_ISpatialAnchorExporterStatics<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorExporterStatics<D>::RequestAccessAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorExporterStatics)->RequestAccessAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialPerceptionAccessStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialAnchorStore>) consume_Windows_Perception_Spatial_ISpatialAnchorManagerStatics<D>::RequestStoreAsync() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorManagerStatics<D>::RequestStoreAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorManagerStatics)->RequestStoreAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialAnchorStore>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) consume_Windows_Perception_Spatial_ISpatialAnchorRawCoordinateSystemAdjustedEventArgs<D>::OldRawCoordinateSystemToNewRawCoordinateSystemTransform() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorRawCoordinateSystemAdjustedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialAnchor) consume_Windows_Perception_Spatial_ISpatialAnchorStatics<D>::TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialAnchor) consume_Windows_Perception_Spatial_ISpatialAnchorStatics<D>::TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialAnchor) consume_Windows_Perception_Spatial_ISpatialAnchorStatics<D>::TryCreateRelativeTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Foundation::Numerics::float3 const& position, winrt::Windows::Foundation::Numerics::quaternion const& orientation) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Perception::Spatial::SpatialAnchor>) consume_Windows_Perception_Spatial_ISpatialAnchorStore<D>::GetAllSavedAnchors() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorStore<D>::GetAllSavedAnchors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorStore)->GetAllSavedAnchors(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Perception::Spatial::SpatialAnchor>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Perception_Spatial_ISpatialAnchorStore<D>::TrySave(param::hstring const& id, winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorStore<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialAnchorStore<D>::Remove(param::hstring const& id) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorStore<D>::Remove(param::hstring const& id) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorStore)->Remove(*(void**)(&id)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialAnchorStore<D>::Clear() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorStore<D>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorStore)->Clear());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Perception::Spatial::SpatialAnchor>>) consume_Windows_Perception_Spatial_ISpatialAnchorTransferManagerStatics<D>::TryImportAnchorsAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorTransferManagerStatics<D>::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<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Perception::Spatial::SpatialAnchor>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Perception_Spatial_ISpatialAnchorTransferManagerStatics<D>::TryExportAnchorsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Perception::Spatial::SpatialAnchor>> const& anchors, winrt::Windows::Storage::Streams::IOutputStream const& stream) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorTransferManagerStatics<D>::TryExportAnchorsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Perception::Spatial::SpatialAnchor>> 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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialPerceptionAccessStatus>) consume_Windows_Perception_Spatial_ISpatialAnchorTransferManagerStatics<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialAnchorTransferManagerStatics<D>::RequestAccessAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialAnchorTransferManagerStatics)->RequestAccessAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialPerceptionAccessStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialBoundingVolume) consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics<D>::FromBox(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingBox const& box) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialBoundingVolume) consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics<D>::FromOrientedBox(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingOrientedBox const& box) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialBoundingVolume) consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics<D>::FromSphere(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingSphere const& sphere) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialBoundingVolume) consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics<D>::FromFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::Spatial::SpatialBoundingFrustum const& frustum) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialBoundingVolumeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float4x4>) consume_Windows_Perception_Spatial_ISpatialCoordinateSystem<D>::TryGetTransformTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& target) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialCoordinateSystem<D>::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<winrt::Windows::Foundation::Numerics::float4x4>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Perception_Spatial_ISpatialEntity<D>::Id() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntity<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialAnchor) consume_Windows_Perception_Spatial_ISpatialEntity<D>::Anchor() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntity<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Perception_Spatial_ISpatialEntity<D>::Properties() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntity<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) consume_Windows_Perception_Spatial_ISpatialEntityAddedEventArgs<D>::Entity() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityAddedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) consume_Windows_Perception_Spatial_ISpatialEntityFactory<D>::CreateWithSpatialAnchor(winrt::Windows::Perception::Spatial::SpatialAnchor const& spatialAnchor) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) consume_Windows_Perception_Spatial_ISpatialEntityFactory<D>::CreateWithSpatialAnchorAndProperties(winrt::Windows::Perception::Spatial::SpatialAnchor const& spatialAnchor, winrt::Windows::Foundation::Collections::ValueSet const& propertySet) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) consume_Windows_Perception_Spatial_ISpatialEntityRemovedEventArgs<D>::Entity() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityRemovedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Perception_Spatial_ISpatialEntityStore<D>::SaveAsync(winrt::Windows::Perception::Spatial::SpatialEntity const& entity) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Perception_Spatial_ISpatialEntityStore<D>::RemoveAsync(winrt::Windows::Perception::Spatial::SpatialEntity const& entity) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntityWatcher) consume_Windows_Perception_Spatial_ISpatialEntityStore<D>::CreateEntityWatcher() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityStore<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Perception_Spatial_ISpatialEntityStoreStatics<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityStoreStatics<D>::IsSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityStoreStatics)->get_IsSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntityStore) consume_Windows_Perception_Spatial_ISpatialEntityStoreStatics<D>::TryGet(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityStoreStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) consume_Windows_Perception_Spatial_ISpatialEntityUpdatedEventArgs<D>::Entity() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntityWatcherStatus) consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Status() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Status() const
{
winrt::Windows::Perception::Spatial::SpatialEntityWatcherStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityAddedEventArgs> 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 D> typename consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Added_revoker consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityAddedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Added_revoker>(this, Added(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Added(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Added(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->remove_Added(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityUpdatedEventArgs> 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 D> typename consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Updated_revoker consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityUpdatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Updated_revoker>(this, Updated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Updated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Updated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->remove_Updated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityRemovedEventArgs> 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 D> typename consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Removed_revoker consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityRemovedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Removed_revoker>(this, Removed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Removed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Removed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->remove_Removed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::EnumerationCompleted_revoker consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EnumerationCompleted_revoker>(this, EnumerationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->remove_EnumerationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialEntityWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialEntityWatcher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_Spatial_ISpatialLocation<D>::Position() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_Perception_Spatial_ISpatialLocation<D>::Orientation() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_Spatial_ISpatialLocation<D>::AbsoluteLinearVelocity() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_Spatial_ISpatialLocation<D>::AbsoluteLinearAcceleration() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_Perception_Spatial_ISpatialLocation<D>::AbsoluteAngularVelocity() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_Perception_Spatial_ISpatialLocation<D>::AbsoluteAngularAcceleration() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_Spatial_ISpatialLocation2<D>::AbsoluteAngularVelocityAxisAngle() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocation2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_Spatial_ISpatialLocation2<D>::AbsoluteAngularAccelerationAxisAngle() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocation2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocatability) consume_Windows_Perception_Spatial_ISpatialLocator<D>::Locatability() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocator<D>::Locatability() const
{
winrt::Windows::Perception::Spatial::SpatialLocatability value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocator)->get_Locatability(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_ISpatialLocator<D>::LocatabilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialLocator, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocator<D>::LocatabilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialLocator, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Perception_Spatial_ISpatialLocator<D>::LocatabilityChanged_revoker consume_Windows_Perception_Spatial_ISpatialLocator<D>::LocatabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialLocator, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocator<D>::LocatabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialLocator, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, LocatabilityChanged_revoker>(this, LocatabilityChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialLocator<D>::LocatabilityChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocator<D>::LocatabilityChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocator)->remove_LocatabilityChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_ISpatialLocator<D>::PositionalTrackingDeactivating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialLocator, winrt::Windows::Perception::Spatial::SpatialLocatorPositionalTrackingDeactivatingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocator<D>::PositionalTrackingDeactivating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialLocator, winrt::Windows::Perception::Spatial::SpatialLocatorPositionalTrackingDeactivatingEventArgs> 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 D> typename consume_Windows_Perception_Spatial_ISpatialLocator<D>::PositionalTrackingDeactivating_revoker consume_Windows_Perception_Spatial_ISpatialLocator<D>::PositionalTrackingDeactivating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialLocator, winrt::Windows::Perception::Spatial::SpatialLocatorPositionalTrackingDeactivatingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocator<D>::PositionalTrackingDeactivating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialLocator, winrt::Windows::Perception::Spatial::SpatialLocatorPositionalTrackingDeactivatingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PositionalTrackingDeactivating_revoker>(this, PositionalTrackingDeactivating(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialLocator<D>::PositionalTrackingDeactivating(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocator<D>::PositionalTrackingDeactivating(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocator)->remove_PositionalTrackingDeactivating(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocation) consume_Windows_Perception_Spatial_ISpatialLocator<D>::TryLocateAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocator<D>::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**)(&timestamp), *(void**)(&coordinateSystem), &value));
return winrt::Windows::Perception::Spatial::SpatialLocation{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocatorAttachedFrameOfReference) consume_Windows_Perception_Spatial_ISpatialLocator<D>::CreateAttachedFrameOfReferenceAtCurrentHeading() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocatorAttachedFrameOfReference) consume_Windows_Perception_Spatial_ISpatialLocator<D>::CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocatorAttachedFrameOfReference) consume_Windows_Perception_Spatial_ISpatialLocator<D>::CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocatorAttachedFrameOfReference) consume_Windows_Perception_Spatial_ISpatialLocator<D>::CreateAttachedFrameOfReferenceAtCurrentHeading(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation, double relativeHeadingInRadians) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialStationaryFrameOfReference) consume_Windows_Perception_Spatial_ISpatialLocator<D>::CreateStationaryFrameOfReferenceAtCurrentLocation() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialStationaryFrameOfReference) consume_Windows_Perception_Spatial_ISpatialLocator<D>::CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialStationaryFrameOfReference) consume_Windows_Perception_Spatial_ISpatialLocator<D>::CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialStationaryFrameOfReference) consume_Windows_Perception_Spatial_ISpatialLocator<D>::CreateStationaryFrameOfReferenceAtCurrentLocation(winrt::Windows::Foundation::Numerics::float3 const& relativePosition, winrt::Windows::Foundation::Numerics::quaternion const& relativeOrientation, double relativeHeadingInRadians) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference<D>::RelativePosition() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference<D>::RelativePosition(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference<D>::RelativeOrientation() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference<D>::RelativeOrientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference<D>::AdjustHeading(double headingOffsetInRadians) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference<D>::AdjustHeading(double headingOffsetInRadians) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference)->AdjustHeading(headingOffsetInRadians));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference<D>::GetStationaryCoordinateSystemAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference<D>::GetStationaryCoordinateSystemAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference)->GetStationaryCoordinateSystemAtTimestamp(*(void**)(&timestamp), &value));
return winrt::Windows::Perception::Spatial::SpatialCoordinateSystem{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference<D>::TryGetRelativeHeadingAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocatorAttachedFrameOfReference<D>::TryGetRelativeHeadingAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference)->TryGetRelativeHeadingAtTimestamp(*(void**)(&timestamp), &value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Perception_Spatial_ISpatialLocatorPositionalTrackingDeactivatingEventArgs<D>::Canceled() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocatorPositionalTrackingDeactivatingEventArgs<D>::Canceled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocatorPositionalTrackingDeactivatingEventArgs)->get_Canceled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialLocatorPositionalTrackingDeactivatingEventArgs<D>::Canceled(bool value) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocatorPositionalTrackingDeactivatingEventArgs<D>::Canceled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialLocatorPositionalTrackingDeactivatingEventArgs)->put_Canceled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocator) consume_Windows_Perception_Spatial_ISpatialLocatorStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialLocatorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference<D>::CoordinateSystem() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialMovementRange) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference<D>::MovementRange() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference<D>::MovementRange() const
{
winrt::Windows::Perception::Spatial::SpatialMovementRange value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReference)->get_MovementRange(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLookDirectionRange) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference<D>::LookDirectionRange() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference<D>::LookDirectionRange() const
{
winrt::Windows::Perception::Spatial::SpatialLookDirectionRange value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReference)->get_LookDirectionRange(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference<D>::GetCoordinateSystemAtCurrentLocation(winrt::Windows::Perception::Spatial::SpatialLocator const& locator) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference<D>::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 <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::Foundation::Numerics::float3>) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference<D>::TryGetMovementBounds(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReference<D>::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<winrt::Windows::Foundation::Numerics::float3>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialStageFrameOfReference) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics<D>::Current() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics<D>::CurrentChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics<D>::CurrentChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics<D>::CurrentChanged_revoker consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics<D>::CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics<D>::CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, CurrentChanged_revoker>(this, CurrentChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics<D>::CurrentChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics<D>::CurrentChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReferenceStatics)->remove_CurrentChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialStageFrameOfReference>) consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics<D>::RequestNewStageAsync() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialStageFrameOfReferenceStatics<D>::RequestNewStageAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReferenceStatics)->RequestNewStageAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialStageFrameOfReference>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) consume_Windows_Perception_Spatial_ISpatialStationaryFrameOfReference<D>::CoordinateSystem() const
+ template <typename D> auto consume_Windows_Perception_Spatial_ISpatialStationaryFrameOfReference<D>::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<SpatialStageFrameOfReference, ISpatialStageFrameOfReferenceStatics>([&](ISpatialStageFrameOfReferenceStatics const& f) { return f.CurrentChanged(handler); });
}
- inline SpatialStageFrameOfReference::CurrentChanged_revoker SpatialStageFrameOfReference::CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto SpatialStageFrameOfReference::CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<SpatialStageFrameOfReference, winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReferenceStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.h
index 6714a1d54b6..3c3b538fd6b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Perception.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Perception_IPerceptionTimestamp<D>::TargetTime() const
+ template <typename D> auto consume_Windows_Perception_IPerceptionTimestamp<D>::TargetTime() const
{
winrt::Windows::Foundation::DateTime value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::IPerceptionTimestamp)->get_TargetTime(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Perception_IPerceptionTimestamp<D>::PredictionAmount() const
+ template <typename D> auto consume_Windows_Perception_IPerceptionTimestamp<D>::PredictionAmount() const
{
winrt::Windows::Foundation::TimeSpan value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::IPerceptionTimestamp)->get_PredictionAmount(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Perception_IPerceptionTimestamp2<D>::SystemRelativeTargetTime() const
+ template <typename D> auto consume_Windows_Perception_IPerceptionTimestamp2<D>::SystemRelativeTargetTime() const
{
winrt::Windows::Foundation::TimeSpan value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Perception::IPerceptionTimestamp2)->get_SystemRelativeTargetTime(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) consume_Windows_Perception_IPerceptionTimestampHelperStatics<D>::FromHistoricalTargetTime(winrt::Windows::Foundation::DateTime const& targetTime) const
+ template <typename D> auto consume_Windows_Perception_IPerceptionTimestampHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) consume_Windows_Perception_IPerceptionTimestampHelperStatics2<D>::FromSystemRelativeTargetTime(winrt::Windows::Foundation::TimeSpan const& targetTime) const
+ template <typename D> auto consume_Windows_Perception_IPerceptionTimestampHelperStatics2<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.ApplicationModel.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.ApplicationModel.h
index 8fb8f8d244f..148cd9525bb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.ApplicationModel.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::ApplicationModel::ApplicationProfileModes) consume_Windows_Phone_ApplicationModel_IApplicationProfileStatics<D>::Modes() const
+ template <typename D> auto consume_Windows_Phone_ApplicationModel_IApplicationProfileStatics<D>::Modes() const
{
winrt::Windows::Phone::ApplicationModel::ApplicationProfileModes value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::ApplicationModel::IApplicationProfileStatics)->get_Modes(reinterpret_cast<uint32_t*>(&value)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Devices.Notification.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Devices.Notification.h
index 97288dd1db8..da4e24ed3b5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Devices.Notification.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Devices_Notification_IVibrationDevice<D>::Vibrate(winrt::Windows::Foundation::TimeSpan const& duration) const
+ template <typename D> auto consume_Windows_Phone_Devices_Notification_IVibrationDevice<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Devices_Notification_IVibrationDevice<D>::Cancel() const
+ template <typename D> auto consume_Windows_Phone_Devices_Notification_IVibrationDevice<D>::Cancel() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Devices::Notification::IVibrationDevice)->Cancel());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Devices::Notification::VibrationDevice) consume_Windows_Phone_Devices_Notification_IVibrationDeviceStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Phone_Devices_Notification_IVibrationDeviceStatics<D>::GetDefault() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Devices::Notification::IVibrationDeviceStatics)->GetDefault(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Devices.Power.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Devices.Power.h
index a86bb90ab8b..84b082463a9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Devices.Power.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Phone_Devices_Power_IBattery<D>::RemainingChargePercent() const
+ template <typename D> auto consume_Windows_Phone_Devices_Power_IBattery<D>::RemainingChargePercent() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Devices::Power::IBattery)->get_RemainingChargePercent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Phone_Devices_Power_IBattery<D>::RemainingDischargeTime() const
+ template <typename D> auto consume_Windows_Phone_Devices_Power_IBattery<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Phone_Devices_Power_IBattery<D>::RemainingChargePercentChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler) const
+ template <typename D> auto consume_Windows_Phone_Devices_Power_IBattery<D>::RemainingChargePercentChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Phone_Devices_Power_IBattery<D>::RemainingChargePercentChanged_revoker consume_Windows_Phone_Devices_Power_IBattery<D>::RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler) const
+ template <typename D> auto consume_Windows_Phone_Devices_Power_IBattery<D>::RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler) const
{
return impl::make_event_revoker<D, RemainingChargePercentChanged_revoker>(this, RemainingChargePercentChanged(changeHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Devices_Power_IBattery<D>::RemainingChargePercentChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Phone_Devices_Power_IBattery<D>::RemainingChargePercentChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Phone::Devices::Power::IBattery)->remove_RemainingChargePercentChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Devices::Power::Battery) consume_Windows_Phone_Devices_Power_IBatteryStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Phone_Devices_Power_IBatteryStatics<D>::GetDefault() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Devices::Power::IBatteryStatics)->GetDefault(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Management.Deployment.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Management.Deployment.h
index 5c1db0ac68d..533cb4614cd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Management.Deployment.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Phone_Management_Deployment_IEnterprise<D>::Id() const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IEnterprise<D>::Id() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterprise)->get_Id(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Management_Deployment_IEnterprise<D>::Name() const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IEnterprise<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Phone_Management_Deployment_IEnterprise<D>::WorkplaceId() const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IEnterprise<D>::WorkplaceId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterprise)->get_WorkplaceId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_Management_Deployment_IEnterprise<D>::EnrollmentValidFrom() const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IEnterprise<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_Management_Deployment_IEnterprise<D>::EnrollmentValidTo() const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IEnterprise<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Management::Deployment::EnterpriseStatus) consume_Windows_Phone_Management_Deployment_IEnterprise<D>::Status() const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IEnterprise<D>::Status() const
{
winrt::Windows::Phone::Management::Deployment::EnterpriseStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterprise)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::Management::Deployment::Enterprise>) consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager<D>::EnrolledEnterprises() const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager<D>::EnrolledEnterprises() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterpriseEnrollmentManager)->get_EnrolledEnterprises(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::Management::Deployment::Enterprise>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Management::Deployment::Enterprise) consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager<D>::CurrentEnterprise() const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager<D>::ValidateEnterprisesAsync() const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::Management::Deployment::EnterpriseEnrollmentResult>) consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager<D>::RequestEnrollmentAsync(param::hstring const& enrollmentToken) const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager<D>::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<winrt::Windows::Phone::Management::Deployment::EnterpriseEnrollmentResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager<D>::RequestUnenrollmentAsync(winrt::Windows::Phone::Management::Deployment::Enterprise const& enterprise) const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Management::Deployment::Enterprise) consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentResult<D>::EnrolledEnterprise() const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Management::Deployment::EnterpriseEnrollmentStatus) consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentResult<D>::Status() const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentResult<D>::Status() const
{
winrt::Windows::Phone::Management::Deployment::EnterpriseEnrollmentStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IEnterpriseEnrollmentResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Phone::Management::Deployment::PackageInstallResult, uint32_t>) consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics<D>::AddPackageAsync(param::hstring const& title, winrt::Windows::Foundation::Uri const& sourceLocation) const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics<D>::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<winrt::Windows::Phone::Management::Deployment::PackageInstallResult, uint32_t>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Phone::Management::Deployment::PackageInstallResult, uint32_t>) consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics<D>::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 <typename D> auto consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics<D>::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<winrt::Windows::Phone::Management::Deployment::PackageInstallResult, uint32_t>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Phone::Management::Deployment::PackageInstallResult, uint32_t>>) consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics<D>::GetPendingPackageInstalls() const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics<D>::GetPendingPackageInstalls() const
{
void* items{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IInstallationManagerStatics)->GetPendingPackageInstalls(&items));
return winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Phone::Management::Deployment::PackageInstallResult, uint32_t>>{ items, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics<D>::FindPackagesForCurrentPublisher() const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics<D>::FindPackagesForCurrentPublisher() const
{
void* items{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IInstallationManagerStatics)->FindPackagesForCurrentPublisher(&items));
return winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>{ items, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics<D>::FindPackages() const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics<D>::FindPackages() const
{
void* items{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IInstallationManagerStatics)->FindPackages(&items));
return winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>{ items, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Phone::Management::Deployment::PackageInstallResult, uint32_t>) consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics2<D>::RemovePackageAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::RemovalOptions const& removalOptions) const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics2<D>::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<uint32_t>(removalOptions), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Phone::Management::Deployment::PackageInstallResult, uint32_t>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Phone::Management::Deployment::PackageInstallResult, uint32_t>) consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics2<D>::RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics2<D>::RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable<winrt::Windows::Foundation::Uri> 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<uint32_t>(deploymentOptions), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Phone::Management::Deployment::PackageInstallResult, uint32_t>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics2<D>::FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics2<D>::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<winrt::Windows::ApplicationModel::Package>{ items, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Management_Deployment_IPackageInstallResult<D>::ProductId() const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IPackageInstallResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageInstallState) consume_Windows_Phone_Management_Deployment_IPackageInstallResult<D>::InstallState() const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IPackageInstallResult<D>::InstallState() const
{
winrt::Windows::Management::Deployment::PackageInstallState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IPackageInstallResult)->get_InstallState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Management_Deployment_IPackageInstallResult2<D>::ErrorText() const
+ template <typename D> auto consume_Windows_Phone_Management_Deployment_IPackageInstallResult2<D>::ErrorText() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Management::Deployment::IPackageInstallResult2)->get_ErrorText(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Media.Devices.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Media.Devices.h
index 48be32f02e5..72aae460599 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Media.Devices.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Media::Devices::AudioRoutingEndpoint) consume_Windows_Phone_Media_Devices_IAudioRoutingManager<D>::GetAudioEndpoint() const
+ template <typename D> auto consume_Windows_Phone_Media_Devices_IAudioRoutingManager<D>::GetAudioEndpoint() const
{
winrt::Windows::Phone::Media::Devices::AudioRoutingEndpoint endpoint{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Media::Devices::IAudioRoutingManager)->GetAudioEndpoint(reinterpret_cast<int32_t*>(&endpoint)));
return endpoint;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Media_Devices_IAudioRoutingManager<D>::SetAudioEndpoint(winrt::Windows::Phone::Media::Devices::AudioRoutingEndpoint const& endpoint) const
+ template <typename D> auto consume_Windows_Phone_Media_Devices_IAudioRoutingManager<D>::SetAudioEndpoint(winrt::Windows::Phone::Media::Devices::AudioRoutingEndpoint const& endpoint) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Media::Devices::IAudioRoutingManager)->SetAudioEndpoint(static_cast<int32_t>(endpoint)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Phone_Media_Devices_IAudioRoutingManager<D>::AudioEndpointChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Phone::Media::Devices::AudioRoutingManager, winrt::Windows::Foundation::IInspectable> const& endpointChangeHandler) const
+ template <typename D> auto consume_Windows_Phone_Media_Devices_IAudioRoutingManager<D>::AudioEndpointChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Phone::Media::Devices::AudioRoutingManager, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Phone_Media_Devices_IAudioRoutingManager<D>::AudioEndpointChanged_revoker consume_Windows_Phone_Media_Devices_IAudioRoutingManager<D>::AudioEndpointChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Phone::Media::Devices::AudioRoutingManager, winrt::Windows::Foundation::IInspectable> const& endpointChangeHandler) const
+ template <typename D> auto consume_Windows_Phone_Media_Devices_IAudioRoutingManager<D>::AudioEndpointChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Phone::Media::Devices::AudioRoutingManager, winrt::Windows::Foundation::IInspectable> const& endpointChangeHandler) const
{
return impl::make_event_revoker<D, AudioEndpointChanged_revoker>(this, AudioEndpointChanged(endpointChangeHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Media_Devices_IAudioRoutingManager<D>::AudioEndpointChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Phone_Media_Devices_IAudioRoutingManager<D>::AudioEndpointChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Phone::Media::Devices::IAudioRoutingManager)->remove_AudioEndpointChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Media::Devices::AvailableAudioRoutingEndpoints) consume_Windows_Phone_Media_Devices_IAudioRoutingManager<D>::AvailableAudioEndpoints() const
+ template <typename D> auto consume_Windows_Phone_Media_Devices_IAudioRoutingManager<D>::AvailableAudioEndpoints() const
{
winrt::Windows::Phone::Media::Devices::AvailableAudioRoutingEndpoints value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Media::Devices::IAudioRoutingManager)->get_AvailableAudioEndpoints(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Media::Devices::AudioRoutingManager) consume_Windows_Phone_Media_Devices_IAudioRoutingManagerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Phone_Media_Devices_IAudioRoutingManagerStatics<D>::GetDefault() const
{
void* audioRoutingManager{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Media::Devices::IAudioRoutingManagerStatics)->GetDefault(&audioRoutingManager));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Notification.Management.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Notification.Management.h
index a769accc6d0..b8186352f82 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Notification.Management.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::RegisterAccessoryApp() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::GetNextTriggerDetails() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::ProcessTriggerDetails(winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails const& pDetails) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::Notification::Management::PhoneLineDetails>) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::PhoneLineDetails() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::PhoneLineDetails() const
{
void* ppvalue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->get_PhoneLineDetails(&ppvalue));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::Notification::Management::PhoneLineDetails>{ ppvalue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneLineDetails) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::GetPhoneLineDetails(winrt::guid const& phoneLine) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::AcceptPhoneCall(uint32_t phoneCallId) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::AcceptPhoneCall(uint32_t phoneCallId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->AcceptPhoneCall(phoneCallId));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::AcceptPhoneCall(uint32_t phoneCallId, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::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<int32_t>(endPoint)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::AcceptPhoneCallWithVideo(uint32_t phoneCallId) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::AcceptPhoneCallWithVideo(uint32_t phoneCallId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->AcceptPhoneCallWithVideo(phoneCallId));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::AcceptPhoneCallWithVideo(uint32_t phoneCallId, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::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<int32_t>(endPoint)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::RejectPhoneCall(uint32_t phoneCallId) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::RejectPhoneCall(uint32_t phoneCallId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->RejectPhoneCall(phoneCallId));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::RejectPhoneCall(uint32_t phoneCallId, uint32_t textResponseID) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::RejectPhoneCall(uint32_t phoneCallId, uint32_t textResponseID) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->RejectPhoneCallWithText(phoneCallId, textResponseID));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::MakePhoneCall(winrt::guid const& phoneLine, param::hstring const& phoneNumber) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::MakePhoneCall(winrt::guid const& phoneLine, param::hstring const& phoneNumber, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::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<int32_t>(endPoint)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::MakePhoneCallWithVideo(winrt::guid const& phoneLine, param::hstring const& phoneNumber) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::MakePhoneCallWithVideo(winrt::guid const& phoneLine, param::hstring const& phoneNumber, winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& endPoint) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::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<int32_t>(endPoint)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::SwapPhoneCalls(uint32_t phoneCallIdToHold, uint32_t phoneCallIdOnHold) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::SwapPhoneCalls(uint32_t phoneCallIdToHold, uint32_t phoneCallIdOnHold) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->SwapPhoneCalls(phoneCallIdToHold, phoneCallIdOnHold));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::HoldPhoneCall(uint32_t phoneCallId, bool holdCall) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::HoldPhoneCall(uint32_t phoneCallId, bool holdCall) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->HoldPhoneCall(phoneCallId, holdCall));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::EndPhoneCall(uint32_t phoneCallId) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::EndPhoneCall(uint32_t phoneCallId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->EndPhoneCall(phoneCallId));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::PhoneMute(bool value) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::PhoneMute(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->put_PhoneMute(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::PhoneMute() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::PhoneMute() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->get_PhoneMute(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::PhoneCallAudioEndpoint(winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint const& value) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::PhoneCallAudioEndpoint() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::PhoneCallAudioEndpoint() const
{
winrt::Windows::Phone::Notification::Management::PhoneCallAudioEndpoint value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->get_PhoneCallAudioEndpoint(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::SnoozeAlarm(winrt::guid const& alarmId) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::SnoozeAlarm(winrt::guid const& alarmId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->SnoozeAlarm(impl::bind_in(alarmId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::SnoozeAlarm(winrt::guid const& alarmId, winrt::Windows::Foundation::TimeSpan const& timeSpan) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::DismissAlarm(winrt::guid const& alarmId) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::DismissAlarm(winrt::guid const& alarmId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->DismissAlarm(impl::bind_in(alarmId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::SnoozeReminder(winrt::guid const& reminderId) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::SnoozeReminder(winrt::guid const& reminderId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->SnoozeReminder(impl::bind_in(reminderId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::SnoozeReminder(winrt::guid const& reminderId, winrt::Windows::Foundation::TimeSpan const& timeSpan) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::DismissReminder(winrt::guid const& reminderId) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::DismissReminder(winrt::guid const& reminderId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->DismissReminder(impl::bind_in(reminderId)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::MediaMetadata) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::GetMediaMetadata() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PlaybackCapability) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::MediaPlaybackCapabilities() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::MediaPlaybackCapabilities() const
{
winrt::Windows::Phone::Notification::Management::PlaybackCapability value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->get_MediaPlaybackCapabilities(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PlaybackStatus) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::MediaPlaybackStatus() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::MediaPlaybackStatus() const
{
winrt::Windows::Phone::Notification::Management::PlaybackStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->get_MediaPlaybackStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::PerformMediaPlaybackCommand(winrt::Windows::Phone::Notification::Management::PlaybackCommand const& command) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::PerformMediaPlaybackCommand(winrt::Windows::Phone::Notification::Management::PlaybackCommand const& command) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->PerformMediaPlaybackCommand(static_cast<int32_t>(command)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::DoNotDisturbEnabled() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::DoNotDisturbEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->get_DoNotDisturbEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::DrivingModeEnabled() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::DrivingModeEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->get_DrivingModeEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::BatterySaverState() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::BatterySaverState() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->get_BatterySaverState(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Phone::Notification::Management::AppNotificationInfo>) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::GetApps() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::GetApps() const
{
void* returnValue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->GetApps(&returnValue));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Phone::Notification::Management::AppNotificationInfo>{ returnValue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::EnableNotificationsForApplication(param::hstring const& appId) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::EnableNotificationsForApplication(param::hstring const& appId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->EnableNotificationsForApplication(*(void**)(&appId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::DisableNotificationsForApplication(param::hstring const& appId) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::DisableNotificationsForApplication(param::hstring const& appId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->DisableNotificationsForApplication(*(void**)(&appId)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::IsNotificationEnabledForApplication(param::hstring const& appId) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::GetEnabledAccessoryNotificationTypes() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::GetEnabledAccessoryNotificationTypes() const
{
int32_t enabledAccessoryNotificationTypes{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->GetEnabledAccessoryNotificationTypes(&enabledAccessoryNotificationTypes));
return enabledAccessoryNotificationTypes;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::EnableAccessoryNotificationTypes(int32_t accessoryNotificationTypes) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::EnableAccessoryNotificationTypes(int32_t accessoryNotificationTypes) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->EnableAccessoryNotificationTypes(accessoryNotificationTypes));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::DisableAllAccessoryNotificationTypes() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::DisableAllAccessoryNotificationTypes() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->DisableAllAccessoryNotificationTypes());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::GetUserConsent() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::GetUserConsent() const
{
bool enabled{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager)->GetUserConsent(&enabled));
return enabled;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::GetAppIcon(param::hstring const& appId) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::RingDevice() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::RingDevice() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->RingDevice());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::Notification::Management::SpeedDialEntry>) consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::SpeedDialList() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::SpeedDialList() const
{
void* ppvalue{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->get_SpeedDialList(&ppvalue));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::Notification::Management::SpeedDialEntry>{ ppvalue, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::ClearToast(param::hstring const& instanceId) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::ClearToast(param::hstring const& instanceId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->ClearToast(*(void**)(&instanceId)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::IsPhonePinLocked() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::IsPhonePinLocked() const
{
bool pinLocked{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->get_IsPhonePinLocked(&pinLocked));
return pinLocked;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::IncreaseVolume(int32_t step) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::IncreaseVolume(int32_t step) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->IncreaseVolume(step));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::DecreaseVolume(int32_t step) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::DecreaseVolume(int32_t step) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->DecreaseVolume(step));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::SetMute(bool mute) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::SetMute(bool mute) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->SetMute(mute));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::SetRingerVibrate(bool ringer, bool vibrate) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::SetRingerVibrate(bool ringer, bool vibrate) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->SetRingerVibrate(ringer, vibrate));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::VolumeInfo) consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::VolumeInfo() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::Notification::Management::EmailAccountInfo>) consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::GetAllEmailAccounts() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::GetAllEmailAccounts() const
{
void* emailAccounts{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->GetAllEmailAccounts(&emailAccounts));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::Notification::Management::EmailAccountInfo>{ emailAccounts, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::Notification::Management::EmailFolderInfo>) consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::GetFolders(param::hstring const& emailAccount) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::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<winrt::Windows::Phone::Notification::Management::EmailFolderInfo>{ folders, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::EnableEmailNotificationEmailAccount(param::hstring const& emailAccount) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::EnableEmailNotificationEmailAccount(param::hstring const& emailAccount) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->EnableEmailNotificationEmailAccount(*(void**)(&emailAccount)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::DisableEmailNotificationEmailAccount(param::hstring const& emailAccount) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::DisableEmailNotificationEmailAccount(param::hstring const& emailAccount) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->DisableEmailNotificationEmailAccount(*(void**)(&emailAccount)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::EnableEmailNotificationFolderFilter(param::hstring const& emailAccount, param::vector_view<hstring> const& folders) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::EnableEmailNotificationFolderFilter(param::hstring const& emailAccount, param::vector_view<hstring> const& folders) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager2)->EnableEmailNotificationFolderFilter(*(void**)(&emailAccount), *(void**)(&folders)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::UpdateEmailReadStatus(winrt::Windows::Phone::Notification::Management::BinaryId const& messageEntryId, bool isRead) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager3<D>::SnoozeAlarmByInstanceId(param::hstring const& instanceId) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager3<D>::SnoozeAlarmByInstanceId(param::hstring const& instanceId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager3)->SnoozeAlarmByInstanceId(*(void**)(&instanceId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager3<D>::DismissAlarmByInstanceId(param::hstring const& instanceId) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager3<D>::DismissAlarmByInstanceId(param::hstring const& instanceId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager3)->DismissAlarmByInstanceId(*(void**)(&instanceId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager3<D>::SnoozeReminderByInstanceId(param::hstring const& instanceId) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager3<D>::SnoozeReminderByInstanceId(param::hstring const& instanceId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager3)->SnoozeReminderByInstanceId(*(void**)(&instanceId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryManager3<D>::DismissReminderByInstanceId(param::hstring const& instanceId) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryManager3<D>::DismissReminderByInstanceId(param::hstring const& instanceId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryManager3)->DismissReminderByInstanceId(*(void**)(&instanceId)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails<D>::TimeCreated() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails<D>::AppDisplayName() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails<D>::AppId() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::AccessoryNotificationType) consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails<D>::AccessoryNotificationType() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails<D>::AccessoryNotificationType() const
{
winrt::Windows::Phone::Notification::Management::AccessoryNotificationType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails)->get_AccessoryNotificationType(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails<D>::StartedProcessing() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails<D>::StartedProcessing() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails)->get_StartedProcessing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails<D>::StartedProcessing(bool value) const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAccessoryNotificationTriggerDetails<D>::StartedProcessing(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails)->put_StartedProcessing(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails<D>::AlarmId() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails<D>::AlarmId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAlarmNotificationTriggerDetails)->get_AlarmId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails<D>::Title() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::ReminderState) consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails<D>::ReminderState() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails<D>::ReminderState() const
{
winrt::Windows::Phone::Notification::Management::ReminderState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IAlarmNotificationTriggerDetails)->get_ReminderState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails2<D>::InstanceId() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IAppNotificationInfo<D>::Id() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAppNotificationInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IAppNotificationInfo<D>::Name() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IAppNotificationInfo<D>::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 <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Phone_Notification_Management_IBinaryId<D>::Id() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IBinaryId<D>::Id() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IBinaryId)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IBinaryId<D>::Length() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IBinaryId<D>::Length() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IBinaryId)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::CalendarChangedEvent) consume_Windows_Phone_Notification_Management_ICalendarChangedNotificationTriggerDetails<D>::EventType() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_ICalendarChangedNotificationTriggerDetails<D>::EventType() const
{
winrt::Windows::Phone::Notification::Management::CalendarChangedEvent value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ICalendarChangedNotificationTriggerDetails)->get_EventType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICalendarChangedNotificationTriggerDetails<D>::ItemId() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_ICalendarChangedNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::TileId() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::Content() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::LargeContent1() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::LargeContent2() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::EmphasizedText() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::NonWrappedSmallContent1() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::NonWrappedSmallContent2() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::NonWrappedSmallContent3() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::NonWrappedSmallContent4() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::Source() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_ICortanaTileNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IEmailAccountInfo<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IEmailAccountInfo<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IEmailAccountInfo<D>::IsNotificationEnabled() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IEmailAccountInfo<D>::IsNotificationEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailAccountInfo)->get_IsNotificationEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IEmailFolderInfo<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IEmailFolderInfo<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IEmailFolderInfo<D>::IsNotificationEnabled() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IEmailFolderInfo<D>::IsNotificationEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailFolderInfo)->get_IsNotificationEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails<D>::AccountName() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails<D>::ParentFolderName() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails<D>::SenderName() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails<D>::SenderAddress() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMessage) consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails<D>::EmailMessage() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::BinaryId) consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails2<D>::MessageEntryId() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IEmailNotificationTriggerDetails2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IEmailReadNotificationTriggerDetails<D>::AccountName() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IEmailReadNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IEmailReadNotificationTriggerDetails<D>::ParentFolderName() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IEmailReadNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::BinaryId) consume_Windows_Phone_Notification_Management_IEmailReadNotificationTriggerDetails<D>::MessageEntryId() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IEmailReadNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IEmailReadNotificationTriggerDetails<D>::IsRead() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IEmailReadNotificationTriggerDetails<D>::IsRead() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IEmailReadNotificationTriggerDetails)->get_IsRead(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PlaybackStatus) consume_Windows_Phone_Notification_Management_IMediaControlsTriggerDetails<D>::PlaybackStatus() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IMediaControlsTriggerDetails<D>::PlaybackStatus() const
{
winrt::Windows::Phone::Notification::Management::PlaybackStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IMediaControlsTriggerDetails)->get_PlaybackStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::MediaMetadata) consume_Windows_Phone_Notification_Management_IMediaControlsTriggerDetails<D>::MediaMetadata() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IMediaControlsTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IMediaMetadata<D>::Title() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IMediaMetadata<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IMediaMetadata<D>::Subtitle() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IMediaMetadata<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IMediaMetadata<D>::Artist() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IMediaMetadata<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IMediaMetadata<D>::Album() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IMediaMetadata<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IMediaMetadata<D>::Track() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IMediaMetadata<D>::Track() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IMediaMetadata)->get_Track(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Phone_Notification_Management_IMediaMetadata<D>::Duration() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IMediaMetadata<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Phone_Notification_Management_IMediaMetadata<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IMediaMetadata<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::PhoneLine() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::PhoneLine() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_PhoneLine(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::CallId() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::CallId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_CallId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneCallTransport) consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::CallTransport() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::CallTransport() const
{
winrt::Windows::Phone::Notification::Management::PhoneCallTransport value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_CallTransport(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneMediaType) consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::CallMediaType() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::CallMediaType() const
{
winrt::Windows::Phone::Notification::Management::PhoneMediaType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_CallMediaType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneCallDirection) consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::CallDirection() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::CallDirection() const
{
winrt::Windows::Phone::Notification::Management::PhoneCallDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_CallDirection(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneCallState) consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::State() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::State() const
{
winrt::Windows::Phone::Notification::Management::PhoneCallState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::ConferenceCallId() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::ConferenceCallId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_ConferenceCallId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::StartTime() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::EndTime() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::PhoneNumber() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::ContactName() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::Notification::Management::TextResponse>) consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::PresetTextResponses() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneCallDetails<D>::PresetTextResponses() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneCallDetails)->get_PresetTextResponses(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::Notification::Management::TextResponse>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Phone_Notification_Management_IPhoneLineDetails<D>::LineId() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneLineDetails<D>::LineId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneLineDetails)->get_LineId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IPhoneLineDetails<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneLineDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IPhoneLineDetails<D>::LineNumber() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneLineDetails<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IPhoneLineDetails<D>::DefaultOutgoingLine() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneLineDetails<D>::DefaultOutgoingLine() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneLineDetails)->get_DefaultOutgoingLine(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IPhoneLineDetails<D>::VoicemailCount() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneLineDetails<D>::VoicemailCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneLineDetails)->get_VoicemailCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneLineRegistrationState) consume_Windows_Phone_Notification_Management_IPhoneLineDetails<D>::RegistrationState() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneLineDetails<D>::RegistrationState() const
{
winrt::Windows::Phone::Notification::Management::PhoneLineRegistrationState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneLineDetails)->get_RegistrationState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IPhoneLineDetails2<D>::MissedCallCount() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneLineDetails2<D>::MissedCallCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneLineDetails2)->get_MissedCallCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneNotificationType) consume_Windows_Phone_Notification_Management_IPhoneNotificationTriggerDetails<D>::PhoneNotificationType() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneNotificationTriggerDetails<D>::PhoneNotificationType() const
{
winrt::Windows::Phone::Notification::Management::PhoneNotificationType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneNotificationTriggerDetails)->get_PhoneNotificationType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::PhoneCallDetails) consume_Windows_Phone_Notification_Management_IPhoneNotificationTriggerDetails<D>::CallDetails() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Phone_Notification_Management_IPhoneNotificationTriggerDetails<D>::PhoneLineChangedId() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IPhoneNotificationTriggerDetails<D>::PhoneLineChangedId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IPhoneNotificationTriggerDetails)->get_PhoneLineChangedId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails<D>::ReminderId() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails<D>::ReminderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IReminderNotificationTriggerDetails)->get_ReminderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails<D>::Title() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails<D>::Description() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails<D>::Details() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::Appointment) consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails<D>::Appointment() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::ReminderState) consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails<D>::ReminderState() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails<D>::ReminderState() const
{
winrt::Windows::Phone::Notification::Management::ReminderState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IReminderNotificationTriggerDetails)->get_ReminderState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails2<D>::InstanceId() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ISpeedDialEntry<D>::PhoneNumber() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_ISpeedDialEntry<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ISpeedDialEntry<D>::NumberType() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_ISpeedDialEntry<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ISpeedDialEntry<D>::ContactName() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_ISpeedDialEntry<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_ITextResponse<D>::Id() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_ITextResponse<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::ITextResponse)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_ITextResponse<D>::Content() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_ITextResponse<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails<D>::Text1() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails<D>::Text2() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails<D>::Text3() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails<D>::Text4() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails<D>::SuppressPopup() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails<D>::SuppressPopup() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IToastNotificationTriggerDetails)->get_SuppressPopup(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails2<D>::InstanceId() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails2<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IVolumeInfo<D>::SystemVolume() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IVolumeInfo<D>::SystemVolume() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IVolumeInfo)->get_SystemVolume(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IVolumeInfo<D>::CallVolume() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IVolumeInfo<D>::CallVolume() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IVolumeInfo)->get_CallVolume(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_Notification_Management_IVolumeInfo<D>::MediaVolume() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IVolumeInfo<D>::MediaVolume() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IVolumeInfo)->get_MediaVolume(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_Notification_Management_IVolumeInfo<D>::IsMuted() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IVolumeInfo<D>::IsMuted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IVolumeInfo)->get_IsMuted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::Notification::Management::VibrateState) consume_Windows_Phone_Notification_Management_IVolumeInfo<D>::IsVibrateEnabled() const
+ template <typename D> auto consume_Windows_Phone_Notification_Management_IVolumeInfo<D>::IsVibrateEnabled() const
{
winrt::Windows::Phone::Notification::Management::VibrateState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::Notification::Management::IVolumeInfo)->get_IsVibrateEnabled(reinterpret_cast<int32_t*>(&value)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.PersonalInformation.Provisioning.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.PersonalInformation.Provisioning.h
index e0505255960..493f29253e1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.PersonalInformation.Provisioning.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_Provisioning_IContactPartnerProvisioningManagerStatics<D>::AssociateNetworkAccountAsync(winrt::Windows::Phone::PersonalInformation::ContactStore const& store, param::hstring const& networkName, param::hstring const& networkAccountId) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_Provisioning_IContactPartnerProvisioningManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_Provisioning_IContactPartnerProvisioningManagerStatics<D>::ImportVcardToSystemAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_Provisioning_IContactPartnerProvisioningManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_Provisioning_IContactPartnerProvisioningManagerStatics2<D>::AssociateSocialNetworkAccountAsync(winrt::Windows::Phone::PersonalInformation::ContactStore const& store, param::hstring const& networkName, param::hstring const& networkAccountId) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_Provisioning_IContactPartnerProvisioningManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_Provisioning_IMessagePartnerProvisioningManagerStatics<D>::ImportSmsToSystemAsync(bool incoming, bool read, param::hstring const& body, param::hstring const& sender, param::async_vector_view<hstring> const& recipients, winrt::Windows::Foundation::DateTime const& deliveryTime) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_Provisioning_IMessagePartnerProvisioningManagerStatics<D>::ImportSmsToSystemAsync(bool incoming, bool read, param::hstring const& body, param::hstring const& sender, param::async_vector_view<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_Provisioning_IMessagePartnerProvisioningManagerStatics<D>::ImportMmsToSystemAsync(bool incoming, bool read, param::hstring const& subject, param::hstring const& sender, param::async_vector_view<hstring> const& recipients, winrt::Windows::Foundation::DateTime const& deliveryTime, param::async_vector_view<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>> const& attachments) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_Provisioning_IMessagePartnerProvisioningManagerStatics<D>::ImportMmsToSystemAsync(bool incoming, bool read, param::hstring const& subject, param::hstring const& sender, param::async_vector_view<hstring> const& recipients, winrt::Windows::Foundation::DateTime const& deliveryTime, param::async_vector_view<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>> 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.PersonalInformation.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.PersonalInformation.h
index c678edadcf0..4479cbe0892 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.PersonalInformation.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactAddress<D>::Country() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactAddress<D>::Country(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactAddress<D>::Country(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactAddress)->put_Country(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactAddress<D>::Locality() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactAddress<D>::Locality(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactAddress<D>::Locality(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactAddress)->put_Locality(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactAddress<D>::Region() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactAddress<D>::Region(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactAddress<D>::Region(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactAddress)->put_Region(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactAddress<D>::PostalCode() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactAddress<D>::PostalCode(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactAddress<D>::PostalCode(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactAddress)->put_PostalCode(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactAddress<D>::StreetAddress() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactAddress<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactAddress<D>::StreetAddress(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactAddress<D>::StreetAddress(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactAddress)->put_StreetAddress(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactChangeType) consume_Windows_Phone_PersonalInformation_IContactChangeRecord<D>::ChangeType() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactChangeRecord<D>::ChangeType() const
{
winrt::Windows::Phone::PersonalInformation::ContactChangeType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactChangeRecord)->get_ChangeType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Phone_PersonalInformation_IContactChangeRecord<D>::RevisionNumber() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactChangeRecord<D>::RevisionNumber() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactChangeRecord)->get_RevisionNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactChangeRecord<D>::Id() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactChangeRecord<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactChangeRecord<D>::RemoteId() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactChangeRecord<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactInformation<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactInformation<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactInformation<D>::FamilyName() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactInformation<D>::FamilyName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation<D>::FamilyName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->put_FamilyName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactInformation<D>::GivenName() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactInformation<D>::GivenName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation<D>::GivenName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->put_GivenName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactInformation<D>::HonorificPrefix() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactInformation<D>::HonorificPrefix(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation<D>::HonorificPrefix(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->put_HonorificPrefix(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IContactInformation<D>::HonorificSuffix() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactInformation<D>::HonorificSuffix(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation<D>::HonorificSuffix(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->put_HonorificSuffix(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) consume_Windows_Phone_PersonalInformation_IContactInformation<D>::GetDisplayPictureAsync() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation<D>::GetDisplayPictureAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->GetDisplayPictureAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_IContactInformation<D>::SetDisplayPictureAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_Phone_PersonalInformation_IContactInformation<D>::DisplayPicture() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>>) consume_Windows_Phone_PersonalInformation_IContactInformation<D>::GetPropertiesAsync() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation<D>::GetPropertiesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->GetPropertiesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) consume_Windows_Phone_PersonalInformation_IContactInformation<D>::ToVcardAsync() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation<D>::ToVcardAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->ToVcardAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) consume_Windows_Phone_PersonalInformation_IContactInformation<D>::ToVcardAsync(winrt::Windows::Phone::PersonalInformation::VCardFormat const& format) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation<D>::ToVcardAsync(winrt::Windows::Phone::PersonalInformation::VCardFormat const& format) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactInformation)->ToVcardWithOptionsAsync(static_cast<int32_t>(format), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Phone_PersonalInformation_IContactInformation2<D>::DisplayPictureDate() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactInformation2<D>::DisplayPictureDate(winrt::Windows::Foundation::DateTime const& returnValue) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformation2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::PersonalInformation::ContactInformation>) consume_Windows_Phone_PersonalInformation_IContactInformationStatics<D>::ParseVcardAsync(winrt::Windows::Storage::Streams::IInputStream const& vcard) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactInformationStatics<D>::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<winrt::Windows::Phone::PersonalInformation::ContactInformation>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Phone_PersonalInformation_IContactQueryOptions<D>::DesiredFields() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactQueryOptions<D>::DesiredFields() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactQueryOptions)->get_DesiredFields(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactQueryResultOrdering) consume_Windows_Phone_PersonalInformation_IContactQueryOptions<D>::OrderBy() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactQueryOptions<D>::OrderBy() const
{
winrt::Windows::Phone::PersonalInformation::ContactQueryResultOrdering value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactQueryOptions)->get_OrderBy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IContactQueryOptions<D>::OrderBy(winrt::Windows::Phone::PersonalInformation::ContactQueryResultOrdering const& value) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactQueryOptions<D>::OrderBy(winrt::Windows::Phone::PersonalInformation::ContactQueryResultOrdering const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactQueryOptions)->put_OrderBy(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) consume_Windows_Phone_PersonalInformation_IContactQueryResult<D>::GetContactCountAsync() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactQueryResult<D>::GetContactCountAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactQueryResult)->GetContactCountAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::PersonalInformation::StoredContact>>) consume_Windows_Phone_PersonalInformation_IContactQueryResult<D>::GetContactsAsync() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactQueryResult<D>::GetContactsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactQueryResult)->GetContactsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::PersonalInformation::StoredContact>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::PersonalInformation::StoredContact>>) consume_Windows_Phone_PersonalInformation_IContactQueryResult<D>::GetContactsAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactQueryResult<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::PersonalInformation::StoredContact>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactQueryOptions) consume_Windows_Phone_PersonalInformation_IContactQueryResult<D>::GetCurrentQueryOptions() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactQueryResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::PersonalInformation::StoredContact>) consume_Windows_Phone_PersonalInformation_IContactStore<D>::FindContactByRemoteIdAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactStore<D>::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<winrt::Windows::Phone::PersonalInformation::StoredContact>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::PersonalInformation::StoredContact>) consume_Windows_Phone_PersonalInformation_IContactStore<D>::FindContactByIdAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactStore<D>::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<winrt::Windows::Phone::PersonalInformation::StoredContact>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_IContactStore<D>::DeleteContactAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactQueryResult) consume_Windows_Phone_PersonalInformation_IContactStore<D>::CreateContactQuery() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactQueryResult) consume_Windows_Phone_PersonalInformation_IContactStore<D>::CreateContactQuery(winrt::Windows::Phone::PersonalInformation::ContactQueryOptions const& options) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactStore<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_IContactStore<D>::DeleteAsync() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactStore<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Phone_PersonalInformation_IContactStore<D>::RevisionNumber() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactStore<D>::RevisionNumber() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactStore)->get_RevisionNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::PersonalInformation::ContactChangeRecord>>) consume_Windows_Phone_PersonalInformation_IContactStore<D>::GetChangesAsync(uint64_t baseRevisionNumber) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactStore<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::PersonalInformation::ContactChangeRecord>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>>) consume_Windows_Phone_PersonalInformation_IContactStore<D>::LoadExtendedPropertiesAsync() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactStore<D>::LoadExtendedPropertiesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactStore)->LoadExtendedPropertiesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_IContactStore<D>::SaveExtendedPropertiesAsync(param::async_map_view<hstring, winrt::Windows::Foundation::IInspectable> const& data) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactStore<D>::SaveExtendedPropertiesAsync(param::async_map_view<hstring, winrt::Windows::Foundation::IInspectable> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::PersonalInformation::StoredContact>) consume_Windows_Phone_PersonalInformation_IContactStore2<D>::CreateMeContactAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactStore2<D>::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<winrt::Windows::Phone::PersonalInformation::StoredContact>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::PersonalInformation::ContactStore>) consume_Windows_Phone_PersonalInformation_IContactStoreStatics<D>::CreateOrOpenAsync() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactStoreStatics<D>::CreateOrOpenAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IContactStoreStatics)->CreateOrOpenAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::PersonalInformation::ContactStore>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::PersonalInformation::ContactStore>) consume_Windows_Phone_PersonalInformation_IContactStoreStatics<D>::CreateOrOpenAsync(winrt::Windows::Phone::PersonalInformation::ContactStoreSystemAccessMode const& access, winrt::Windows::Phone::PersonalInformation::ContactStoreApplicationAccessMode const& sharing) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IContactStoreStatics<D>::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<int32_t>(access), static_cast<int32_t>(sharing), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::PersonalInformation::ContactStore>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::FamilyName() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::GivenName() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::HonorificPrefix() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::HonorificSuffix() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::AdditionalName() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::Address() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::OtherAddress() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::Email() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::WorkAddress() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::WorkTelephone() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::JobTitle() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::Birthdate() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::Anniversary() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::Telephone() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::MobileTelephone() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::Url() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::Notes() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::WorkFax() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::Children() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::SignificantOther() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::CompanyName() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::CompanyTelephone() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::HomeFax() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::AlternateTelephone() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::Manager() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::Nickname() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::OfficeLocation() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::WorkEmail() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::YomiGivenName() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::YomiFamilyName() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::YomiCompanyName() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::OtherEmail() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::AlternateMobileTelephone() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::AlternateWorkTelephone() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IKnownContactPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::ContactStore) consume_Windows_Phone_PersonalInformation_IStoredContact<D>::Store() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IStoredContact<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IStoredContact<D>::Id() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IStoredContact<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_PersonalInformation_IStoredContact<D>::RemoteId() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IStoredContact<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_PersonalInformation_IStoredContact<D>::RemoteId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IStoredContact<D>::RemoteId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IStoredContact)->put_RemoteId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>>) consume_Windows_Phone_PersonalInformation_IStoredContact<D>::GetExtendedPropertiesAsync() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IStoredContact<D>::GetExtendedPropertiesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::PersonalInformation::IStoredContact)->GetExtendedPropertiesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_IStoredContact<D>::SaveAsync() const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IStoredContact<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Phone_PersonalInformation_IStoredContact<D>::ReplaceExistingContactAsync(param::hstring const& id) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IStoredContact<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::StoredContact) consume_Windows_Phone_PersonalInformation_IStoredContactFactory<D>::CreateStoredContact(winrt::Windows::Phone::PersonalInformation::ContactStore const& store) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IStoredContactFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::PersonalInformation::StoredContact) consume_Windows_Phone_PersonalInformation_IStoredContactFactory<D>::CreateStoredContactFromInformation(winrt::Windows::Phone::PersonalInformation::ContactStore const& store, winrt::Windows::Phone::PersonalInformation::ContactInformation const& contact) const
+ template <typename D> auto consume_Windows_Phone_PersonalInformation_IStoredContactFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Speech.Recognition.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Speech.Recognition.h
index 8af6ff9c146..37e7ac508cd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.Speech.Recognition.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.StartScreen.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.StartScreen.h
index 8a9e72ae404..37c6bb67b21 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.StartScreen.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_StartScreen_IDualSimTile<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Phone_StartScreen_IDualSimTile<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTile)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Phone_StartScreen_IDualSimTile<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Phone_StartScreen_IDualSimTile<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_StartScreen_IDualSimTile<D>::IsPinnedToStart() const
+ template <typename D> auto consume_Windows_Phone_StartScreen_IDualSimTile<D>::IsPinnedToStart() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTile)->get_IsPinnedToStart(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Phone_StartScreen_IDualSimTile<D>::CreateAsync() const
+ template <typename D> auto consume_Windows_Phone_StartScreen_IDualSimTile<D>::CreateAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTile)->CreateAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Phone_StartScreen_IDualSimTile<D>::UpdateAsync() const
+ template <typename D> auto consume_Windows_Phone_StartScreen_IDualSimTile<D>::UpdateAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTile)->UpdateAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Phone_StartScreen_IDualSimTile<D>::DeleteAsync() const
+ template <typename D> auto consume_Windows_Phone_StartScreen_IDualSimTile<D>::DeleteAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTile)->DeleteAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::StartScreen::DualSimTile) consume_Windows_Phone_StartScreen_IDualSimTileStatics<D>::GetTileForSim2() const
+ template <typename D> auto consume_Windows_Phone_StartScreen_IDualSimTileStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Phone_StartScreen_IDualSimTileStatics<D>::UpdateDisplayNameForSim1Async(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Phone_StartScreen_IDualSimTileStatics<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) consume_Windows_Phone_StartScreen_IDualSimTileStatics<D>::CreateTileUpdaterForSim1() const
+ template <typename D> auto consume_Windows_Phone_StartScreen_IDualSimTileStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) consume_Windows_Phone_StartScreen_IDualSimTileStatics<D>::CreateTileUpdaterForSim2() const
+ template <typename D> auto consume_Windows_Phone_StartScreen_IDualSimTileStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) consume_Windows_Phone_StartScreen_IDualSimTileStatics<D>::CreateBadgeUpdaterForSim1() const
+ template <typename D> auto consume_Windows_Phone_StartScreen_IDualSimTileStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) consume_Windows_Phone_StartScreen_IDualSimTileStatics<D>::CreateBadgeUpdaterForSim2() const
+ template <typename D> auto consume_Windows_Phone_StartScreen_IDualSimTileStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) consume_Windows_Phone_StartScreen_IDualSimTileStatics<D>::CreateToastNotifierForSim1() const
+ template <typename D> auto consume_Windows_Phone_StartScreen_IDualSimTileStatics<D>::CreateToastNotifierForSim1() const
{
void* notifier{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTileStatics)->CreateToastNotifierForSim1(&notifier));
return winrt::Windows::UI::Notifications::ToastNotifier{ notifier, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) consume_Windows_Phone_StartScreen_IDualSimTileStatics<D>::CreateToastNotifierForSim2() const
+ template <typename D> auto consume_Windows_Phone_StartScreen_IDualSimTileStatics<D>::CreateToastNotifierForSim2() const
{
void* notifier{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IDualSimTileStatics)->CreateToastNotifierForSim2(&notifier));
return winrt::Windows::UI::Notifications::ToastNotifier{ notifier, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) consume_Windows_Phone_StartScreen_IToastNotificationManagerStatics3<D>::CreateToastNotifierForSecondaryTile(param::hstring const& tileId) const
+ template <typename D> auto consume_Windows_Phone_StartScreen_IToastNotificationManagerStatics3<D>::CreateToastNotifierForSecondaryTile(param::hstring const& tileId) const
{
void* notifier{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::StartScreen::IToastNotificationManagerStatics3)->CreateToastNotifierForSecondaryTile(*(void**)(&tileId), &notifier));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.Power.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.Power.h
index 063c24acc2d..913258092c3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.Power.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Phone::System::Power::PowerSavingMode) consume_Windows_Phone_System_Power_IPowerManagerStatics<D>::PowerSavingMode() const
+ template <typename D> auto consume_Windows_Phone_System_Power_IPowerManagerStatics<D>::PowerSavingMode() const
{
winrt::Windows::Phone::System::Power::PowerSavingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::Power::IPowerManagerStatics)->get_PowerSavingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Phone_System_Power_IPowerManagerStatics<D>::PowerSavingModeChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler) const
+ template <typename D> auto consume_Windows_Phone_System_Power_IPowerManagerStatics<D>::PowerSavingModeChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Phone_System_Power_IPowerManagerStatics<D>::PowerSavingModeChanged_revoker consume_Windows_Phone_System_Power_IPowerManagerStatics<D>::PowerSavingModeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler) const
+ template <typename D> auto consume_Windows_Phone_System_Power_IPowerManagerStatics<D>::PowerSavingModeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler) const
{
return impl::make_event_revoker<D, PowerSavingModeChanged_revoker>(this, PowerSavingModeChanged(changeHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_System_Power_IPowerManagerStatics<D>::PowerSavingModeChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Phone_System_Power_IPowerManagerStatics<D>::PowerSavingModeChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Phone::System::Power::IPowerManagerStatics)->remove_PowerSavingModeChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_System_Power_IPowerManagerStatics2<D>::PowerSavingModeEnabled() const
+ template <typename D> auto consume_Windows_Phone_System_Power_IPowerManagerStatics2<D>::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<PowerManager, IPowerManagerStatics>([&](IPowerManagerStatics const& f) { return f.PowerSavingModeChanged(changeHandler); });
}
- inline PowerManager::PowerSavingModeChanged_revoker PowerManager::PowerSavingModeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler)
+ inline auto PowerManager::PowerSavingModeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler)
{
auto f = get_activation_factory<PowerManager, winrt::Windows::Phone::System::Power::IPowerManagerStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.Profile.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.Profile.h
index 1afd3459f55..08fdefcd3e2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.Profile.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_System_Profile_IRetailModeStatics<D>::RetailModeEnabled() const
+ template <typename D> auto consume_Windows_Phone_System_Profile_IRetailModeStatics<D>::RetailModeEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::Profile::IRetailModeStatics)->get_RetailModeEnabled(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.UserProfile.GameServices.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.UserProfile.GameServices.Core.h
index 6b5ba59e316..5695b4a5f04 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.UserProfile.GameServices.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService<D>::ServiceUri() const
+ template <typename D> auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::System::UserProfile::GameServices::Core::GameServicePropertyCollection>) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService<D>::GetGamerProfileAsync() const
+ template <typename D> auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService<D>::GetGamerProfileAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService)->GetGamerProfileAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::System::UserProfile::GameServices::Core::GameServicePropertyCollection>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::System::UserProfile::GameServices::Core::GameServicePropertyCollection>) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService<D>::GetInstalledGameItemsAsync() const
+ template <typename D> auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService<D>::GetInstalledGameItemsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService)->GetInstalledGameItemsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::System::UserProfile::GameServices::Core::GameServicePropertyCollection>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService<D>::GetPartnerTokenAsync(winrt::Windows::Foundation::Uri const& audienceUri) const
+ template <typename D> auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService<D>::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<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService<D>::GetPrivilegesAsync() const
+ template <typename D> auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService<D>::GetPrivilegesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService)->GetPrivilegesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService<D>::GrantAchievement(uint32_t achievementId) const
+ template <typename D> auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService<D>::GrantAchievement(uint32_t achievementId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService)->GrantAchievement(achievementId));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService<D>::GrantAvatarAward(uint32_t avatarAwardId) const
+ template <typename D> auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService<D>::GrantAvatarAward(uint32_t avatarAwardId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService)->GrantAvatarAward(avatarAwardId));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService<D>::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 <typename D> auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService<D>::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<int32_t>(scoreKind), scoreValue, static_cast<int32_t>(gameOutcome), *(void**)(&buffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService2<D>::NotifyPartnerTokenExpired(winrt::Windows::Foundation::Uri const& audienceUri) const
+ template <typename D> auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService2<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService2<D>::GetAuthenticationStatus() const
+ template <typename D> auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameService2<D>::GetAuthenticationStatus() const
{
uint32_t status{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService2)->GetAuthenticationStatus(&status));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::IInspectable>) consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameServicePropertyCollection<D>::GetPropertyAsync(param::hstring const& propertyName) const
+ template <typename D> auto consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameServicePropertyCollection<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.h
index 6da1589d0e4..36c49273a6f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.System.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_System_ISystemProtectionStatics<D>::ScreenLocked() const
+ template <typename D> auto consume_Windows_Phone_System_ISystemProtectionStatics<D>::ScreenLocked() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::ISystemProtectionStatics)->get_ScreenLocked(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_System_ISystemProtectionUnlockStatics<D>::RequestScreenUnlock() const
+ template <typename D> auto consume_Windows_Phone_System_ISystemProtectionUnlockStatics<D>::RequestScreenUnlock() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::System::ISystemProtectionUnlockStatics)->RequestScreenUnlock());
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.UI.Input.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.UI.Input.h
index a3735ec02d1..61984ad42b7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Phone.UI.Input.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Phone_UI_Input_IBackPressedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Phone_UI_Input_IBackPressedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::UI::Input::IBackPressedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_UI_Input_IBackPressedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Phone_UI_Input_IBackPressedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Phone::UI::Input::IBackPressedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Phone_UI_Input_IHardwareButtonsStatics<D>::BackPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::BackPressedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics<D>::BackPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::BackPressedEventArgs> 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 D> typename consume_Windows_Phone_UI_Input_IHardwareButtonsStatics<D>::BackPressed_revoker consume_Windows_Phone_UI_Input_IHardwareButtonsStatics<D>::BackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::BackPressedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics<D>::BackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::BackPressedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, BackPressed_revoker>(this, BackPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_UI_Input_IHardwareButtonsStatics<D>::BackPressed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics<D>::BackPressed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics)->remove_BackPressed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraHalfPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraHalfPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> 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 D> typename consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraHalfPressed_revoker consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraHalfPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraHalfPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CameraHalfPressed_revoker>(this, CameraHalfPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraHalfPressed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraHalfPressed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2)->remove_CameraHalfPressed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> 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 D> typename consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraPressed_revoker consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CameraPressed_revoker>(this, CameraPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraPressed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraPressed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2)->remove_CameraPressed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraReleased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraReleased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> 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 D> typename consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraReleased_revoker consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CameraReleased_revoker>(this, CameraReleased(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::CameraReleased(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2<D>::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<HardwareButtons, IHardwareButtonsStatics>([&](IHardwareButtonsStatics const& f) { return f.BackPressed(handler); });
}
- inline HardwareButtons::BackPressed_revoker HardwareButtons::BackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::BackPressedEventArgs> const& handler)
+ inline auto HardwareButtons::BackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::BackPressedEventArgs> const& handler)
{
auto f = get_activation_factory<HardwareButtons, winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics>();
- 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<HardwareButtons, IHardwareButtonsStatics2>([&](IHardwareButtonsStatics2 const& f) { return f.CameraHalfPressed(handler); });
}
- inline HardwareButtons::CameraHalfPressed_revoker HardwareButtons::CameraHalfPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler)
+ inline auto HardwareButtons::CameraHalfPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler)
{
auto f = get_activation_factory<HardwareButtons, winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2>();
- 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<HardwareButtons, IHardwareButtonsStatics2>([&](IHardwareButtonsStatics2 const& f) { return f.CameraPressed(handler); });
}
- inline HardwareButtons::CameraPressed_revoker HardwareButtons::CameraPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler)
+ inline auto HardwareButtons::CameraPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler)
{
auto f = get_activation_factory<HardwareButtons, winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2>();
- 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<HardwareButtons, IHardwareButtonsStatics2>([&](IHardwareButtonsStatics2 const& f) { return f.CameraReleased(handler); });
}
- inline HardwareButtons::CameraReleased_revoker HardwareButtons::CameraReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler)
+ inline auto HardwareButtons::CameraReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler)
{
auto f = get_activation_factory<HardwareButtons, winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.Core.h
index 51f8d0a1bd5..1d09804d4ca 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorOneTimeCodedInfo>) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::GetOneTimePassCodeAsync(param::hstring const& userAccountId, uint32_t codeLength) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::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<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorOneTimeCodedInfo>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::AddDeviceAsync(param::hstring const& userAccountId, param::hstring const& authenticationToken, param::hstring const& wnsChannelId) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::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<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::RemoveDeviceAsync(param::hstring const& userAccountId) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::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<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::UpdateWnsChannelAsync(param::hstring const& userAccountId, param::hstring const& channelUri) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::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<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorGetSessionsResult>) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::GetSessionsAsync(param::async_iterable<hstring> const& userAccountIdList) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::GetSessionsAsync(param::async_iterable<hstring> 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<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorGetSessionsResult>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo>) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::GetSessionsAndUnregisteredAccountsAsync(param::async_iterable<hstring> const& userAccountIdList) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::GetSessionsAndUnregisteredAccountsAsync(param::async_iterable<hstring> 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<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::ApproveSessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionAuthenticationStatus const& sessionAuthentictionStatus, winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo const& authenticationSessionInfo) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::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<int32_t>(sessionAuthentictionStatus), *(void**)(&authenticationSessionInfo), &asyncOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::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 <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::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<int32_t>(sessionAuthentictionStatus), *(void**)(&userAccountId), *(void**)(&sessionId), static_cast<int32_t>(sessionAuthenticationType), &asyncOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::DenySessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo const& authenticationSessionInfo) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::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<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::DenySessionAsync(param::hstring const& userAccountId, param::hstring const& sessionId, winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationType const& sessionAuthenticationType) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager<D>::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<int32_t>(sessionAuthenticationType), &asyncOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationManager) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticatorStatics<D>::Current() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticatorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo>) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorGetSessionsResult<D>::Sessions() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorGetSessionsResult<D>::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<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorGetSessionsResult<D>::ServiceResponse() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorGetSessionsResult<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo<D>::Code() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo<D>::TimeInterval() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo<D>::TimeToLive() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo<D>::ServiceResponse() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorOneTimeCodedInfo<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo<D>::UserAccountId() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo<D>::SessionId() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo<D>::DisplaySessionId() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionApprovalStatus) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo<D>::ApprovalStatus() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorAuthenticationType) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo<D>::AuthenticationType() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo<D>::RequestTime() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo<D>::ExpirationTime() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorSessionInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo>) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo<D>::Sessions() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo<D>::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<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo<D>::UnregisteredAccounts() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo<D>::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<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse) consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo<D>::ServiceResponse() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo<D>::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<int32_t*>(&value)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.Provider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.Provider.h
index 9ec2b46cfe8..f46ffb25739 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.Provider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication<D>::ServiceAuthenticationHmac() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication<D>::SessionNonce() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication<D>::DeviceNonce() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication<D>::DeviceConfigurationData() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorFinishAuthenticationStatus>) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication<D>::FinishAuthenticationAsync(winrt::Windows::Storage::Streams::IBuffer const& deviceHmac, winrt::Windows::Storage::Streams::IBuffer const& sessionHmac) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication<D>::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<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorFinishAuthenticationStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication<D>::AbortAuthenticationAsync(param::hstring const& errorLogMessage) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthentication<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStatus) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationResult<D>::Status() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationResult<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthentication) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationResult<D>::Authentication() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageInfo) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs<D>::StageInfo() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStage) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageInfo<D>::Stage() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageInfo<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationScenario) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageInfo<D>::Scenario() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageInfo<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageInfo<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStageInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics<D>::ShowNotificationMessageAsync(param::hstring const& deviceName, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationMessage const& message) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics<D>::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<int32_t>(message), &result));
return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationResult>) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics<D>::StartAuthenticationAsync(param::hstring const& deviceId, winrt::Windows::Storage::Streams::IBuffer const& serviceAuthenticationNonce) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics<D>::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<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics<D>::AuthenticationStageChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics<D>::AuthenticationStageChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> 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 D> typename consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics<D>::AuthenticationStageChanged_revoker consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics<D>::AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics<D>::AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AuthenticationStageChanged_revoker>(this, AuthenticationStageChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics<D>::AuthenticationStageChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageInfo>) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics<D>::GetAuthenticationStageInfoAsync() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorAuthenticationStatics<D>::GetAuthenticationStageInfoAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStatics)->GetAuthenticationStageInfoAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus>) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics<D>::RegisterDevicePresenceMonitoringAsync(param::hstring const& deviceId, param::hstring const& deviceInstancePath, winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringMode const& monitoringMode) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics<D>::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<int32_t>(monitoringMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus>) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics<D>::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 <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics<D>::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<int32_t>(monitoringMode), *(void**)(&deviceFriendlyName), *(void**)(&deviceModelNumber), *(void**)(&deviceConfigurationData), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics<D>::UnregisterDevicePresenceMonitoringAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics<D>::IsDevicePresenceMonitoringSupported() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics<D>::IsDevicePresenceMonitoringSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics)->IsDevicePresenceMonitoringSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo<D>::DeviceId() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo<D>::DeviceFriendlyName() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo<D>::DeviceModelNumber() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo<D>::DeviceConfigurationData() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringMode) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo2<D>::PresenceMonitoringMode() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo2<D>::UpdateDevicePresenceAsync(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresence const& presenceState) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo2<D>::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<int32_t>(presenceState), &result));
return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo2<D>::IsAuthenticationSupported() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorInfo2<D>::IsAuthenticationSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorInfo2)->get_IsAuthenticationSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistration<D>::FinishRegisteringDeviceAsync(winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistration<D>::AbortRegisteringDeviceAsync(param::hstring const& errorLogMessage) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorRegistrationStatus) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationResult<D>::Status() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationResult<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorRegistration) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationResult<D>::Registration() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorRegistrationResult>) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics<D>::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 <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics<D>::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<uint32_t>(capabilities), *(void**)(&deviceFriendlyName), *(void**)(&deviceModelNumber), *(void**)(&deviceKey), *(void**)(&mutualAuthenticationKey), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorRegistrationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorInfo>>) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics<D>::FindAllRegisteredDeviceInfoAsync(winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDeviceFindScope const& queryType) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics<D>::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<int32_t>(queryType), &deviceInfoList));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorInfo>>{ deviceInfoList, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics<D>::UnregisterDeviceAsync(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics<D>::UpdateDeviceConfigurationDataAsync(param::hstring const& deviceId, winrt::Windows::Storage::Streams::IBuffer const& deviceConfigurationData) const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics<D>::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<SecondaryAuthenticationFactorAuthentication, ISecondaryAuthenticationFactorAuthenticationStatics>([&](ISecondaryAuthenticationFactorAuthenticationStatics const& f) { return f.AuthenticationStageChanged(handler); });
}
- inline SecondaryAuthenticationFactorAuthentication::AuthenticationStageChanged_revoker SecondaryAuthenticationFactorAuthentication::AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> const& handler)
+ inline auto SecondaryAuthenticationFactorAuthentication::AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> const& handler)
{
auto f = get_activation_factory<SecondaryAuthenticationFactorAuthentication, winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.h
index 94cc9cbb779..c629b969e59 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Identity.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo<D>::TenantId() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo<D>::TenantName() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo<D>::Subject() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo<D>::KeyId() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo<D>::KeyName() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::Identity::EnterpriseKeyCredentialRegistrationInfo>>) consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationManager<D>::GetRegistrationsAsync() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationManager<D>::GetRegistrationsAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationManager)->GetRegistrationsAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::Identity::EnterpriseKeyCredentialRegistrationInfo>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Identity::EnterpriseKeyCredentialRegistrationManager) consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationManagerStatics<D>::Current() const
+ template <typename D> auto consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationManagerStatics<D>::Current() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationManagerStatics)->get_Current(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.OnlineId.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.OnlineId.h
index bc50045bfcf..91f56db710a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.OnlineId.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::UserAuthenticationOperation) consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator<D>::AuthenticateUserAsync(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest const& request) const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::UserAuthenticationOperation) consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator<D>::AuthenticateUserAsync(param::iterable<winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest> const& requests, winrt::Windows::Security::Authentication::OnlineId::CredentialPromptType const& credentialPromptType) const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator<D>::AuthenticateUserAsync(param::iterable<winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest> 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<int32_t>(credentialPromptType), &authenticationOperation));
return winrt::Windows::Security::Authentication::OnlineId::UserAuthenticationOperation{ authenticationOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::SignOutUserOperation) consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator<D>::SignOutUserAsync() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator<D>::ApplicationId(winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator<D>::ApplicationId(winrt::guid const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdAuthenticator)->put_ApplicationId(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator<D>::ApplicationId() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator<D>::ApplicationId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdAuthenticator)->get_ApplicationId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator<D>::CanSignOut() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator<D>::CanSignOut() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdAuthenticator)->get_CanSignOut(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator<D>::AuthenticatedSafeCustomerId() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdAuthenticator<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicket<D>::Value() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicket<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest) consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicket<D>::Request() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicket<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicket<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicket<D>::ErrorCode() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdServiceTicket)->get_ErrorCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequest<D>::Service() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequest<D>::Policy() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest) consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequestFactory<D>::CreateOnlineIdServiceTicketRequest(param::hstring const& service, param::hstring const& policy) const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequestFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest) consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequestFactory<D>::CreateOnlineIdServiceTicketRequestAdvanced(param::hstring const& service) const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdServiceTicketRequestFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemTicketResult>) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser<D>::GetTicketAsync(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest const& request) const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser<D>::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<winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemTicketResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser<D>::ApplicationId(winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser<D>::ApplicationId(winrt::guid const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemAuthenticatorForUser)->put_ApplicationId(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser<D>::ApplicationId() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser<D>::ApplicationId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemAuthenticatorForUser)->get_ApplicationId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser<D>::User() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemAuthenticatorForUser) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorStatics<D>::Default() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemAuthenticatorForUser) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorStatics<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicket) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemIdentity<D>::Ticket() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemIdentity<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemIdentity<D>::Id() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemIdentity<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemIdentity) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemTicketResult<D>::Identity() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemTicketResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemTicketStatus) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemTicketResult<D>::Status() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemTicketResult<D>::Status() const
{
winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemTicketStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemTicketResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemTicketResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemTicketResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemTicketResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicket>) consume_Windows_Security_Authentication_OnlineId_IUserIdentity<D>::Tickets() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IUserIdentity<D>::Tickets() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IUserIdentity)->get_Tickets(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicket>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IUserIdentity<D>::Id() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IUserIdentity<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IUserIdentity<D>::SafeCustomerId() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IUserIdentity<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IUserIdentity<D>::SignInName() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IUserIdentity<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IUserIdentity<D>::FirstName() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IUserIdentity<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_OnlineId_IUserIdentity<D>::LastName() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IUserIdentity<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Authentication_OnlineId_IUserIdentity<D>::IsBetaAccount() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IUserIdentity<D>::IsBetaAccount() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IUserIdentity)->get_IsBetaAccount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Authentication_OnlineId_IUserIdentity<D>::IsConfirmedPC() const
+ template <typename D> auto consume_Windows_Security_Authentication_OnlineId_IUserIdentity<D>::IsConfirmedPC() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::OnlineId::IUserIdentity)->get_IsConfirmedPC(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.Core.h
index 91dbbddcff0..9186440d407 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::WebAccount>) consume_Windows_Security_Authentication_Web_Core_IFindAllAccountsResult<D>::Accounts() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IFindAllAccountsResult<D>::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<winrt::Windows::Security::Credentials::WebAccount>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::FindAllWebAccountsStatus) consume_Windows_Security_Authentication_Web_Core_IFindAllAccountsResult<D>::Status() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IFindAllAccountsResult<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebProviderError) consume_Windows_Security_Authentication_Web_Core_IFindAllAccountsResult<D>::ProviderError() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IFindAllAccountsResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) consume_Windows_Security_Authentication_Web_Core_IWebAccountEventArgs<D>::Account() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAccountEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> 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 D> typename consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::Updated_revoker consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Updated_revoker>(this, Updated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::Updated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> 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 D> typename consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::Removed_revoker consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Removed_revoker>(this, Removed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::Removed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::DefaultSignInAccountChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::DefaultSignInAccountChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::DefaultSignInAccountChanged_revoker consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::DefaultSignInAccountChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::DefaultSignInAccountChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, DefaultSignInAccountChanged_revoker>(this, DefaultSignInAccountChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::DefaultSignInAccountChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2<D>::AccountPictureUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2<D>::AccountPictureUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> 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 D> typename consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2<D>::AccountPictureUpdated_revoker consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2<D>::AccountPictureUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2<D>::AccountPictureUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AccountPictureUpdated_revoker>(this, AccountPictureUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2<D>::AccountPictureUpdated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestResult>) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics<D>::GetTokenSilentlyAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics<D>::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<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestResult>) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics<D>::GetTokenSilentlyAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics<D>::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<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestResult>) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics<D>::RequestTokenAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics<D>::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<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestResult>) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics<D>::RequestTokenAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics<D>::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<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics<D>::FindAccountAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& webAccountId) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics<D>::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<winrt::Windows::Security::Credentials::WebAccount>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccountProvider>) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics<D>::FindAccountProviderAsync(param::hstring const& webAccountProviderId) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics<D>::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<winrt::Windows::Security::Credentials::WebAccountProvider>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccountProvider>) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics<D>::FindAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics<D>::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<winrt::Windows::Security::Credentials::WebAccountProvider>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccountProvider>) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics2<D>::FindAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority, winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics2<D>::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<winrt::Windows::Security::Credentials::WebAccountProvider>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics3<D>::CreateWebAccountMonitor(param::iterable<winrt::Windows::Security::Credentials::WebAccount> const& webAccounts) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics3<D>::CreateWebAccountMonitor(param::iterable<winrt::Windows::Security::Credentials::WebAccount> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::Core::FindAllAccountsResult>) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4<D>::FindAllAccountsAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4<D>::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<winrt::Windows::Security::Authentication::Web::Core::FindAllAccountsResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::Core::FindAllAccountsResult>) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4<D>::FindAllAccountsAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& clientId) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4<D>::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<winrt::Windows::Security::Authentication::Web::Core::FindAllAccountsResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccountProvider>) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4<D>::FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4<D>::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<winrt::Windows::Security::Credentials::WebAccountProvider>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccountProvider>) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4<D>::FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4<D>::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<winrt::Windows::Security::Credentials::WebAccountProvider>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccountProvider>) consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4<D>::FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority, winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4<D>::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<winrt::Windows::Security::Credentials::WebAccountProvider>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Authentication_Web_Core_IWebProviderError<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebProviderError<D>::ErrorCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebProviderError)->get_ErrorCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Core_IWebProviderError<D>::ErrorMessage() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebProviderError<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_Security_Authentication_Web_Core_IWebProviderError<D>::Properties() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebProviderError<D>::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<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebProviderError) consume_Windows_Security_Authentication_Web_Core_IWebProviderErrorFactory<D>::Create(uint32_t errorCode, param::hstring const& errorMessage) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebProviderErrorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountProvider) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest<D>::WebAccountProvider() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest<D>::Scope() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest<D>::ClientId() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestPromptType) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest<D>::PromptType() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest<D>::Properties() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest<D>::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<hstring, hstring>{ requestProperties, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest2<D>::AppProperties() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest2<D>::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<hstring, hstring>{ requestProperties, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest3<D>::CorrelationId() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest3<D>::CorrelationId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest3<D>::CorrelationId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequest3)->put_CorrelationId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory<D>::Create(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope, param::hstring const& clientId) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory<D>::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 <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory<D>::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<int32_t>(promptType), &webTokenRequest));
return winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest{ webTokenRequest, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory<D>::CreateWithProvider(winrt::Windows::Security::Credentials::WebAccountProvider const& provider) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory<D>::CreateWithScope(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& scope) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse>) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult<D>::ResponseData() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult<D>::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<winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestStatus) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult<D>::ResponseStatus() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebProviderError) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult<D>::ResponseError() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult<D>::InvalidateCacheAsync() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse<D>::Token() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebProviderError) consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse<D>::ProviderError() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse<D>::WebAccount() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse<D>::Properties() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenResponse<D>::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<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse) consume_Windows_Security_Authentication_Web_Core_IWebTokenResponseFactory<D>::CreateWithToken(param::hstring const& token) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenResponseFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse) consume_Windows_Security_Authentication_Web_Core_IWebTokenResponseFactory<D>::CreateWithTokenAndAccount(param::hstring const& token, winrt::Windows::Security::Credentials::WebAccount const& webAccount) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenResponseFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse) consume_Windows_Security_Authentication_Web_Core_IWebTokenResponseFactory<D>::CreateWithTokenAccountAndError(param::hstring const& token, winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& error) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Core_IWebTokenResponseFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.Provider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.Provider.h
index 5c353da58d9..17373a1f4b8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.Provider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientView<D>::ApplicationCallbackUri() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType) consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientView<D>::Type() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientView<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientView<D>::AccountPairwiseId() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView) consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientViewFactory<D>::Create(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType const& viewType, winrt::Windows::Foundation::Uri const& applicationCallbackUri) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientViewFactory<D>::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<int32_t>(viewType), *(void**)(&applicationCallbackUri), &view));
return winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView{ view, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView) consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientViewFactory<D>::CreateWithPairwiseId(winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientViewType const& viewType, winrt::Windows::Foundation::Uri const& applicationCallbackUri, param::hstring const& accountPairwiseId) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountClientViewFactory<D>::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<int32_t>(viewType), *(void**)(&applicationCallbackUri), *(void**)(&accountPairwiseId), &view));
return winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView{ view, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::UpdateWebAccountPropertiesAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> const& additionalProperties) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::UpdateWebAccountPropertiesAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> const& props) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> 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<winrt::Windows::Security::Credentials::WebAccount>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::DeleteWebAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::WebAccount>>) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::FindAllProviderWebAccountsAsync() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::FindAllProviderWebAccountsAsync() const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics)->FindAllProviderWebAccountsAsync(&asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::WebAccount>>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::PushCookiesAsync(winrt::Windows::Foundation::Uri const& uri, param::async_vector_view<winrt::Windows::Web::Http::HttpCookie> const& cookies) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::PushCookiesAsync(winrt::Windows::Foundation::Uri const& uri, param::async_vector_view<winrt::Windows::Web::Http::HttpCookie> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::SetViewAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView const& view) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::ClearViewAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Foundation::Uri const& applicationCallbackUri) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView>>) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::GetViewsAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView>>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::SetWebAccountPictureAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Storage::Streams::IRandomAccessStream const& webAccountPicture) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::ClearWebAccountPictureAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics2<D>::PullCookiesAsync(param::hstring const& uriString, param::hstring const& callerPFN) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::WebAccount>>) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3<D>::FindAllProviderWebAccountsForUserAsync(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::WebAccount>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3<D>::AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> const& props) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3<D>::AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> 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<winrt::Windows::Security::Credentials::WebAccount>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3<D>::AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3<D>::AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> 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<int32_t>(scope), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3<D>::AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope, param::hstring const& perUserWebAccountId) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3<D>::AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> 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<int32_t>(scope), *(void**)(&perUserWebAccountId), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics4<D>::InvalidateAppCacheForAllAccountsAsync() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics4<D>::InvalidateAppCacheForAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>) consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics<D>::AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope, param::hstring const& perUserWebAccountId) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics<D>::AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> 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<int32_t>(scope), *(void**)(&perUserWebAccountId), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics<D>::SetPerAppToPerUserAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount, param::hstring const& perUserWebAccountId) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>) consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics<D>::GetPerUserFromPerAppAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics<D>::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<winrt::Windows::Security::Credentials::WebAccount>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics<D>::ClearPerUserFromPerAppAccountAsync(winrt::Windows::Security::Credentials::WebAccount const& perAppAccount) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderAddAccountOperation<D>::ReportCompleted() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderAddAccountOperation<D>::ReportCompleted() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderAddAccountOperation)->ReportCompleted());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderBaseReportOperation<D>::ReportCompleted() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderBaseReportOperation<D>::ReportCompleted() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderBaseReportOperation)->ReportCompleted());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderBaseReportOperation<D>::ReportError(winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& value) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderBaseReportOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderDeleteAccountOperation<D>::WebAccount() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderDeleteAccountOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderManageAccountOperation<D>::WebAccount() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderManageAccountOperation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderManageAccountOperation<D>::ReportCompleted() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderManageAccountOperation<D>::ReportCompleted() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderManageAccountOperation)->ReportCompleted());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountProviderOperationKind) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderOperation<D>::Kind() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderOperation<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation<D>::Context() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::HttpCookie>) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation<D>::Cookies() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation<D>::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<winrt::Windows::Web::Http::HttpCookie>{ cookies, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation<D>::Uri(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation<D>::Uri() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation<D>::ApplicationCallbackUri() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderRetrieveCookiesOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSignOutAccountOperation<D>::WebAccount() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSignOutAccountOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSignOutAccountOperation<D>::ApplicationCallbackUri() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSignOutAccountOperation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSignOutAccountOperation<D>::ClientId() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSignOutAccountOperation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSilentReportOperation<D>::ReportUserInteractionRequired() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSilentReportOperation<D>::ReportUserInteractionRequired() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderSilentReportOperation)->ReportUserInteractionRequired());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSilentReportOperation<D>::ReportUserInteractionRequired(winrt::Windows::Security::Authentication::Web::Core::WebProviderError const& value) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderSilentReportOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderOperation) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenObjects<D>::Operation() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenObjects<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenObjects2<D>::User() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenObjects2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebProviderTokenRequest) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation<D>::ProviderRequest() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Security::Authentication::Web::Provider::WebProviderTokenResponse>) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation<D>::ProviderResponses() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation<D>::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<winrt::Windows::Security::Authentication::Web::Provider::WebProviderTokenResponse>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation<D>::CacheExpirationTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation<D>::CacheExpirationTime() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderTokenOperation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderUIReportOperation<D>::ReportUserCanceled() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderUIReportOperation<D>::ReportUserCanceled() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderUIReportOperation)->ReportUserCanceled());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>) consume_Windows_Security_Authentication_Web_Provider_IWebAccountScopeManagerStatics<D>::AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountScopeManagerStatics<D>::AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> 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<int32_t>(scope), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Authentication_Web_Provider_IWebAccountScopeManagerStatics<D>::SetScopeAsync(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountScopeManagerStatics<D>::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<int32_t>(scope), &asyncInfo));
return winrt::Windows::Foundation::IAsyncAction{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope) consume_Windows_Security_Authentication_Web_Provider_IWebAccountScopeManagerStatics<D>::GetScope(winrt::Windows::Security::Credentials::WebAccount const& webAccount) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebAccountScopeManagerStatics<D>::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<int32_t*>(&scope)));
return scope;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest<D>::ClientRequest() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::WebAccount>) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest<D>::WebAccounts() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest<D>::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<winrt::Windows::Security::Credentials::WebAccount>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebAccountSelectionOptions) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest<D>::WebAccountSelectionOptions() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest<D>::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<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest<D>::ApplicationCallbackUri() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Cryptography::Core::CryptographicKey>) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest<D>::GetApplicationTokenBindingKeyAsync(winrt::Windows::Security::Authentication::Web::TokenBindingKeyType const& keyType, winrt::Windows::Foundation::Uri const& target) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest<D>::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<int32_t>(keyType), *(void**)(&target), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Cryptography::Core::CryptographicKey>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest2<D>::GetApplicationTokenBindingKeyIdAsync(winrt::Windows::Security::Authentication::Web::TokenBindingKeyType const& keyType, winrt::Windows::Foundation::Uri const& target) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest2<D>::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<int32_t>(keyType), *(void**)(&target), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest3<D>::ApplicationPackageFamilyName() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest3<D>::ApplicationProcessName() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest3<D>::CheckApplicationForCapabilityAsync(param::hstring const& capabilityName) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest3<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenResponse<D>::ClientResponse() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenResponse<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Provider::WebProviderTokenResponse) consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenResponseFactory<D>::Create(winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse const& webTokenResponse) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenResponseFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.h
index c5d508c1ac4..45cb51d5dbd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authentication.Web.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::WebAuthenticationResult>) consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics<D>::AuthenticateAsync(winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options, winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics<D>::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<uint32_t>(options), *(void**)(&requestUri), *(void**)(&callbackUri), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::WebAuthenticationResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::WebAuthenticationResult>) consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics<D>::AuthenticateAsync(winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options, winrt::Windows::Foundation::Uri const& requestUri) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics<D>::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<uint32_t>(options), *(void**)(&requestUri), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::WebAuthenticationResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics<D>::GetCurrentApplicationCallbackUri() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2<D>::AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2<D>::AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::IWebAuthenticationBrokerStatics2)->AuthenticateAndContinue(*(void**)(&requestUri)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2<D>::AuthenticateAndContinue(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Foundation::Uri const& callbackUri) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2<D>::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 <typename D> auto consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2<D>::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<uint32_t>(options)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::WebAuthenticationResult>) consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2<D>::AuthenticateSilentlyAsync(winrt::Windows::Foundation::Uri const& requestUri) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2<D>::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<winrt::Windows::Security::Authentication::Web::WebAuthenticationResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::WebAuthenticationResult>) consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2<D>::AuthenticateSilentlyAsync(winrt::Windows::Foundation::Uri const& requestUri, winrt::Windows::Security::Authentication::Web::WebAuthenticationOptions const& options) const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics2<D>::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<uint32_t>(options), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::WebAuthenticationResult>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authentication_Web_IWebAuthenticationResult<D>::ResponseData() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_IWebAuthenticationResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::WebAuthenticationStatus) consume_Windows_Security_Authentication_Web_IWebAuthenticationResult<D>::ResponseStatus() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_IWebAuthenticationResult<D>::ResponseStatus() const
{
winrt::Windows::Security::Authentication::Web::WebAuthenticationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::IWebAuthenticationResult)->get_ResponseStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Authentication_Web_IWebAuthenticationResult<D>::ResponseErrorDetail() const
+ template <typename D> auto consume_Windows_Security_Authentication_Web_IWebAuthenticationResult<D>::ResponseErrorDetail() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authentication::Web::IWebAuthenticationResult)->get_ResponseErrorDetail(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authorization.AppCapabilityAccess.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authorization.AppCapabilityAccess.h
index 86e3dae1fee..c77b1002d84 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Authorization.AppCapabilityAccess.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability<D>::CapabilityName() const
+ template <typename D> auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability<D>::User() const
+ template <typename D> auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus>) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability<D>::RequestAccessAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapability)->RequestAccessAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability<D>::CheckAccess() const
+ template <typename D> auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability<D>::CheckAccess() const
{
winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapability)->CheckAccess(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability<D>::AccessChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapability, winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability<D>::AccessChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapability, winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessChangedEventArgs> 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 D> typename consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability<D>::AccessChanged_revoker consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability<D>::AccessChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapability, winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability<D>::AccessChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapability, winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AccessChanged_revoker>(this, AccessChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability<D>::AccessChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapability<D>::AccessChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapability)->remove_AccessChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus>>) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics<D>::RequestAccessForCapabilitiesAsync(param::async_iterable<hstring> const& capabilityNames) const
+ template <typename D> auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics<D>::RequestAccessForCapabilitiesAsync(param::async_iterable<hstring> 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<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus>>) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics<D>::RequestAccessForCapabilitiesForUserAsync(winrt::Windows::System::User const& user, param::async_iterable<hstring> const& capabilityNames) const
+ template <typename D> auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics<D>::RequestAccessForCapabilitiesForUserAsync(winrt::Windows::System::User const& user, param::async_iterable<hstring> 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<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapability) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics<D>::Create(param::hstring const& capabilityName) const
+ template <typename D> auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapability) consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics<D>::CreateWithProcessIdForUser(winrt::Windows::System::User const& user, param::hstring const& capabilityName, uint32_t pid) const
+ template <typename D> auto consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Credentials.UI.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Credentials.UI.h
index 54642b872f7..fda3bc0ad90 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Credentials.UI.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::Caption(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::Caption(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->put_Caption(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::Caption() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::Message(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::Message(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->put_Message(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::Message() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::ErrorCode(uint32_t value) const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::ErrorCode(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->put_ErrorCode(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::ErrorCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->get_ErrorCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::TargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::TargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->put_TargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::TargetName() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::AuthenticationProtocol(winrt::Windows::Security::Credentials::UI::AuthenticationProtocol const& value) const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::UI::AuthenticationProtocol) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::AuthenticationProtocol() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::AuthenticationProtocol() const
{
winrt::Windows::Security::Credentials::UI::AuthenticationProtocol value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->get_AuthenticationProtocol(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::CustomAuthenticationProtocol(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::CustomAuthenticationProtocol(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->put_CustomAuthenticationProtocol(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::CustomAuthenticationProtocol() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::PreviousCredential(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::PreviousCredential() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::AlwaysDisplayDialog(bool value) const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::AlwaysDisplayDialog(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->put_AlwaysDisplayDialog(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::AlwaysDisplayDialog() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::AlwaysDisplayDialog() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->get_AlwaysDisplayDialog(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::CallerSavesCredential(bool value) const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::CallerSavesCredential(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->put_CallerSavesCredential(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::CallerSavesCredential() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::CallerSavesCredential() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->get_CallerSavesCredential(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::CredentialSaveOption(winrt::Windows::Security::Credentials::UI::CredentialSaveOption const& value) const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::UI::CredentialSaveOption) consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::CredentialSaveOption() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerOptions<D>::CredentialSaveOption() const
{
winrt::Windows::Security::Credentials::UI::CredentialSaveOption value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions)->get_CredentialSaveOption(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Credentials_UI_ICredentialPickerResults<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerResults<D>::ErrorCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerResults)->get_ErrorCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::UI::CredentialSaveOption) consume_Windows_Security_Credentials_UI_ICredentialPickerResults<D>::CredentialSaveOption() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerResults<D>::CredentialSaveOption() const
{
winrt::Windows::Security::Credentials::UI::CredentialSaveOption value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerResults)->get_CredentialSaveOption(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Credentials_UI_ICredentialPickerResults<D>::CredentialSaved() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerResults<D>::CredentialSaved() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::ICredentialPickerResults)->get_CredentialSaved(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Credentials_UI_ICredentialPickerResults<D>::Credential() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerResults<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_UI_ICredentialPickerResults<D>::CredentialDomainName() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerResults<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_UI_ICredentialPickerResults<D>::CredentialUserName() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerResults<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_UI_ICredentialPickerResults<D>::CredentialPassword() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerResults<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::UI::CredentialPickerResults>) consume_Windows_Security_Credentials_UI_ICredentialPickerStatics<D>::PickAsync(winrt::Windows::Security::Credentials::UI::CredentialPickerOptions const& options) const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerStatics<D>::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<winrt::Windows::Security::Credentials::UI::CredentialPickerResults>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::UI::CredentialPickerResults>) consume_Windows_Security_Credentials_UI_ICredentialPickerStatics<D>::PickAsync(param::hstring const& targetName, param::hstring const& message) const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerStatics<D>::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<winrt::Windows::Security::Credentials::UI::CredentialPickerResults>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::UI::CredentialPickerResults>) consume_Windows_Security_Credentials_UI_ICredentialPickerStatics<D>::PickAsync(param::hstring const& targetName, param::hstring const& message, param::hstring const& caption) const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_ICredentialPickerStatics<D>::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<winrt::Windows::Security::Credentials::UI::CredentialPickerResults>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::UI::UserConsentVerifierAvailability>) consume_Windows_Security_Credentials_UI_IUserConsentVerifierStatics<D>::CheckAvailabilityAsync() const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_IUserConsentVerifierStatics<D>::CheckAvailabilityAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::UI::IUserConsentVerifierStatics)->CheckAvailabilityAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::UI::UserConsentVerifierAvailability>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::UI::UserConsentVerificationResult>) consume_Windows_Security_Credentials_UI_IUserConsentVerifierStatics<D>::RequestVerificationAsync(param::hstring const& message) const
+ template <typename D> auto consume_Windows_Security_Credentials_UI_IUserConsentVerifierStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Credentials.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Credentials.h
index d3832ffa795..ec94043744f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Credentials.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Security_Credentials_ICredentialFactory<D>::CreatePasswordCredential(param::hstring const& resource, param::hstring const& userName, param::hstring const& password) const
+ template <typename D> auto consume_Windows_Security_Credentials_ICredentialFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IKeyCredential<D>::Name() const
+ template <typename D> auto consume_Windows_Security_Credentials_IKeyCredential<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Credentials_IKeyCredential<D>::RetrievePublicKey() const
+ template <typename D> auto consume_Windows_Security_Credentials_IKeyCredential<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Credentials_IKeyCredential<D>::RetrievePublicKey(winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& blobType) const
+ template <typename D> auto consume_Windows_Security_Credentials_IKeyCredential<D>::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<int32_t>(blobType), &value));
return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::KeyCredentialOperationResult>) consume_Windows_Security_Credentials_IKeyCredential<D>::RequestSignAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Security_Credentials_IKeyCredential<D>::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<winrt::Windows::Security::Credentials::KeyCredentialOperationResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::KeyCredentialAttestationResult>) consume_Windows_Security_Credentials_IKeyCredential<D>::GetAttestationAsync() const
+ template <typename D> auto consume_Windows_Security_Credentials_IKeyCredential<D>::GetAttestationAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredential)->GetAttestationAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::KeyCredentialAttestationResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Credentials_IKeyCredentialAttestationResult<D>::CertificateChainBuffer() const
+ template <typename D> auto consume_Windows_Security_Credentials_IKeyCredentialAttestationResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Credentials_IKeyCredentialAttestationResult<D>::AttestationBuffer() const
+ template <typename D> auto consume_Windows_Security_Credentials_IKeyCredentialAttestationResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::KeyCredentialAttestationStatus) consume_Windows_Security_Credentials_IKeyCredentialAttestationResult<D>::Status() const
+ template <typename D> auto consume_Windows_Security_Credentials_IKeyCredentialAttestationResult<D>::Status() const
{
winrt::Windows::Security::Credentials::KeyCredentialAttestationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredentialAttestationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Security_Credentials_IKeyCredentialManagerStatics<D>::IsSupportedAsync() const
+ template <typename D> auto consume_Windows_Security_Credentials_IKeyCredentialManagerStatics<D>::IsSupportedAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredentialManagerStatics)->IsSupportedAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Credentials_IKeyCredentialManagerStatics<D>::RenewAttestationAsync() const
+ template <typename D> auto consume_Windows_Security_Credentials_IKeyCredentialManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::KeyCredentialRetrievalResult>) consume_Windows_Security_Credentials_IKeyCredentialManagerStatics<D>::RequestCreateAsync(param::hstring const& name, winrt::Windows::Security::Credentials::KeyCredentialCreationOption const& option) const
+ template <typename D> auto consume_Windows_Security_Credentials_IKeyCredentialManagerStatics<D>::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<int32_t>(option), &value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::KeyCredentialRetrievalResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::KeyCredentialRetrievalResult>) consume_Windows_Security_Credentials_IKeyCredentialManagerStatics<D>::OpenAsync(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Security_Credentials_IKeyCredentialManagerStatics<D>::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<winrt::Windows::Security::Credentials::KeyCredentialRetrievalResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Credentials_IKeyCredentialManagerStatics<D>::DeleteAsync(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Security_Credentials_IKeyCredentialManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Credentials_IKeyCredentialOperationResult<D>::Result() const
+ template <typename D> auto consume_Windows_Security_Credentials_IKeyCredentialOperationResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::KeyCredentialStatus) consume_Windows_Security_Credentials_IKeyCredentialOperationResult<D>::Status() const
+ template <typename D> auto consume_Windows_Security_Credentials_IKeyCredentialOperationResult<D>::Status() const
{
winrt::Windows::Security::Credentials::KeyCredentialStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredentialOperationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::KeyCredential) consume_Windows_Security_Credentials_IKeyCredentialRetrievalResult<D>::Credential() const
+ template <typename D> auto consume_Windows_Security_Credentials_IKeyCredentialRetrievalResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::KeyCredentialStatus) consume_Windows_Security_Credentials_IKeyCredentialRetrievalResult<D>::Status() const
+ template <typename D> auto consume_Windows_Security_Credentials_IKeyCredentialRetrievalResult<D>::Status() const
{
winrt::Windows::Security::Credentials::KeyCredentialStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IKeyCredentialRetrievalResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IPasswordCredential<D>::Resource() const
+ template <typename D> auto consume_Windows_Security_Credentials_IPasswordCredential<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_IPasswordCredential<D>::Resource(param::hstring const& resource) const
+ template <typename D> auto consume_Windows_Security_Credentials_IPasswordCredential<D>::Resource(param::hstring const& resource) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordCredential)->put_Resource(*(void**)(&resource)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IPasswordCredential<D>::UserName() const
+ template <typename D> auto consume_Windows_Security_Credentials_IPasswordCredential<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_IPasswordCredential<D>::UserName(param::hstring const& userName) const
+ template <typename D> auto consume_Windows_Security_Credentials_IPasswordCredential<D>::UserName(param::hstring const& userName) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordCredential)->put_UserName(*(void**)(&userName)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IPasswordCredential<D>::Password() const
+ template <typename D> auto consume_Windows_Security_Credentials_IPasswordCredential<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_IPasswordCredential<D>::Password(param::hstring const& password) const
+ template <typename D> auto consume_Windows_Security_Credentials_IPasswordCredential<D>::Password(param::hstring const& password) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordCredential)->put_Password(*(void**)(&password)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_IPasswordCredential<D>::RetrievePassword() const
+ template <typename D> auto consume_Windows_Security_Credentials_IPasswordCredential<D>::RetrievePassword() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordCredential)->RetrievePassword());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Security_Credentials_IPasswordCredential<D>::Properties() const
+ template <typename D> auto consume_Windows_Security_Credentials_IPasswordCredential<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_IPasswordVault<D>::Add(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const
+ template <typename D> auto consume_Windows_Security_Credentials_IPasswordVault<D>::Add(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordVault)->Add(*(void**)(&credential)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Credentials_IPasswordVault<D>::Remove(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const
+ template <typename D> auto consume_Windows_Security_Credentials_IPasswordVault<D>::Remove(winrt::Windows::Security::Credentials::PasswordCredential const& credential) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordVault)->Remove(*(void**)(&credential)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Security_Credentials_IPasswordVault<D>::Retrieve(param::hstring const& resource, param::hstring const& userName) const
+ template <typename D> auto consume_Windows_Security_Credentials_IPasswordVault<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::PasswordCredential>) consume_Windows_Security_Credentials_IPasswordVault<D>::FindAllByResource(param::hstring const& resource) const
+ template <typename D> auto consume_Windows_Security_Credentials_IPasswordVault<D>::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<winrt::Windows::Security::Credentials::PasswordCredential>{ credentials, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::PasswordCredential>) consume_Windows_Security_Credentials_IPasswordVault<D>::FindAllByUserName(param::hstring const& userName) const
+ template <typename D> auto consume_Windows_Security_Credentials_IPasswordVault<D>::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<winrt::Windows::Security::Credentials::PasswordCredential>{ credentials, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::PasswordCredential>) consume_Windows_Security_Credentials_IPasswordVault<D>::RetrieveAll() const
+ template <typename D> auto consume_Windows_Security_Credentials_IPasswordVault<D>::RetrieveAll() const
{
void* credentials{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IPasswordVault)->RetrieveAll(&credentials));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::PasswordCredential>{ credentials, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountProvider) consume_Windows_Security_Credentials_IWebAccount<D>::WebAccountProvider() const
+ template <typename D> auto consume_Windows_Security_Credentials_IWebAccount<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IWebAccount<D>::UserName() const
+ template <typename D> auto consume_Windows_Security_Credentials_IWebAccount<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountState) consume_Windows_Security_Credentials_IWebAccount<D>::State() const
+ template <typename D> auto consume_Windows_Security_Credentials_IWebAccount<D>::State() const
{
winrt::Windows::Security::Credentials::WebAccountState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccount)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IWebAccount2<D>::Id() const
+ template <typename D> auto consume_Windows_Security_Credentials_IWebAccount2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>) consume_Windows_Security_Credentials_IWebAccount2<D>::Properties() const
+ template <typename D> auto consume_Windows_Security_Credentials_IWebAccount2<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccount2)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) consume_Windows_Security_Credentials_IWebAccount2<D>::GetPictureAsync(winrt::Windows::Security::Credentials::WebAccountPictureSize const& desizedSize) const
+ template <typename D> auto consume_Windows_Security_Credentials_IWebAccount2<D>::GetPictureAsync(winrt::Windows::Security::Credentials::WebAccountPictureSize const& desizedSize) const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccount2)->GetPictureAsync(static_cast<int32_t>(desizedSize), &asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Credentials_IWebAccount2<D>::SignOutAsync() const
+ template <typename D> auto consume_Windows_Security_Credentials_IWebAccount2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Credentials_IWebAccount2<D>::SignOutAsync(param::hstring const& clientId) const
+ template <typename D> auto consume_Windows_Security_Credentials_IWebAccount2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) consume_Windows_Security_Credentials_IWebAccountFactory<D>::CreateWebAccount(winrt::Windows::Security::Credentials::WebAccountProvider const& webAccountProvider, param::hstring const& userName, winrt::Windows::Security::Credentials::WebAccountState const& state) const
+ template <typename D> auto consume_Windows_Security_Credentials_IWebAccountFactory<D>::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<int32_t>(state), &instance));
return winrt::Windows::Security::Credentials::WebAccount{ instance, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IWebAccountProvider<D>::Id() const
+ template <typename D> auto consume_Windows_Security_Credentials_IWebAccountProvider<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IWebAccountProvider<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Security_Credentials_IWebAccountProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Security_Credentials_IWebAccountProvider<D>::IconUri() const
+ template <typename D> auto consume_Windows_Security_Credentials_IWebAccountProvider<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IWebAccountProvider2<D>::DisplayPurpose() const
+ template <typename D> auto consume_Windows_Security_Credentials_IWebAccountProvider2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Credentials_IWebAccountProvider2<D>::Authority() const
+ template <typename D> auto consume_Windows_Security_Credentials_IWebAccountProvider2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Security_Credentials_IWebAccountProvider3<D>::User() const
+ template <typename D> auto consume_Windows_Security_Credentials_IWebAccountProvider3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Credentials_IWebAccountProvider4<D>::IsSystemProvider() const
+ template <typename D> auto consume_Windows_Security_Credentials_IWebAccountProvider4<D>::IsSystemProvider() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Credentials::IWebAccountProvider4)->get_IsSystemProvider(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountProvider) consume_Windows_Security_Credentials_IWebAccountProviderFactory<D>::CreateWebAccountProvider(param::hstring const& id, param::hstring const& displayName, winrt::Windows::Foundation::Uri const& iconUri) const
+ template <typename D> auto consume_Windows_Security_Credentials_IWebAccountProviderFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.Certificates.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.Certificates.h
index 484c927a749..06833e04250 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.Certificates.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Cryptography::Certificates::CertificateChain>) consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::BuildChainAsync(param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& certificates) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::BuildChainAsync(param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> 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<winrt::Windows::Security::Cryptography::Certificates::CertificateChain>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Cryptography::Certificates::CertificateChain>) consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::BuildChainAsync(param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& certificates, winrt::Windows::Security::Cryptography::Certificates::ChainBuildingParameters const& parameters) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::BuildChainAsync(param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> 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**)(&parameters), &value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Cryptography::Certificates::CertificateChain>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::SerialNumber() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::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<uint8_t>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::GetHashValue() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::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<uint8_t>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::GetHashValue(param::hstring const& hashAlgorithmName) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::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<uint8_t>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::GetCertificateBlob() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::Subject() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::Issuer() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::HasPrivateKey() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::HasPrivateKey() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->get_HasPrivateKey(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::IsStronglyProtected() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::IsStronglyProtected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->get_IsStronglyProtected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::ValidFrom() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::ValidTo() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::EnhancedKeyUsages() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::EnhancedKeyUsages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->get_EnhancedKeyUsages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::FriendlyName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::FriendlyName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate)->put_FriendlyName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::FriendlyName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificate2<D>::IsSecurityDeviceBound() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate2<D>::IsSecurityDeviceBound() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate2)->get_IsSecurityDeviceBound(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateKeyUsages) consume_Windows_Security_Cryptography_Certificates_ICertificate2<D>::KeyUsages() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificate2<D>::KeyAlgorithmName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificate2<D>::SignatureAlgorithmName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificate2<D>::SignatureHashAlgorithmName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::SubjectAlternativeNameInfo) consume_Windows_Security_Cryptography_Certificates_ICertificate2<D>::SubjectAlternativeName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificate3<D>::IsPerUser() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate3<D>::IsPerUser() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificate3)->get_IsPerUser(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificate3<D>::StoreName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificate3<D>::KeyStorageProviderName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificate3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult) consume_Windows_Security_Cryptography_Certificates_ICertificateChain<D>::Validate() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateChain<D>::Validate() const
{
winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult status{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateChain)->Validate(reinterpret_cast<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult) consume_Windows_Security_Cryptography_Certificates_ICertificateChain<D>::Validate(winrt::Windows::Security::Cryptography::Certificates::ChainValidationParameters const& parameter) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateChain<D>::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**)(&parameter), reinterpret_cast<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) consume_Windows_Security_Cryptography_Certificates_ICertificateChain<D>::GetCertificates(bool includeRoot) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateChain<D>::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<winrt::Windows::Security::Cryptography::Certificates::Certificate>{ certificates, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics<D>::CreateRequestAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateRequestProperties const& request) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics<D>::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<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics<D>::InstallCertificateAsync(param::hstring const& certificate, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics<D>::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<uint32_t>(installOption), &value));
return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics<D>::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 <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics<D>::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<int32_t>(exportable), static_cast<int32_t>(keyProtectionLevel), static_cast<uint32_t>(installOption), *(void**)(&friendlyName), &value));
return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::UserCertificateEnrollmentManager) consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics2<D>::UserCertificateEnrollmentManager() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics2<D>::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 <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics2<D>::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<int32_t>(exportable), static_cast<int32_t>(keyProtectionLevel), static_cast<uint32_t>(installOption), *(void**)(&friendlyName), *(void**)(&keyStorageProvider), &value));
return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics3<D>::ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::PfxImportParameters const& pfxImportParameters) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateExtension<D>::ObjectId() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateExtension<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateExtension<D>::ObjectId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateExtension<D>::ObjectId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateExtension)->put_ObjectId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateExtension<D>::IsCritical() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateExtension<D>::IsCritical() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateExtension)->get_IsCritical(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateExtension<D>::IsCritical(bool value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateExtension<D>::IsCritical(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateExtension)->put_IsCritical(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateExtension<D>::EncodeValue(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateExtension<D>::EncodeValue(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateExtension)->EncodeValue(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Security_Cryptography_Certificates_ICertificateExtension<D>::Value() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateExtension<D>::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<uint8_t>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateExtension<D>::Value(array_view<uint8_t const> value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateExtension<D>::Value(array_view<uint8_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateExtension)->put_Value(value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Security_Cryptography_Certificates_ICertificateFactory<D>::CreateCertificate(winrt::Windows::Storage::Streams::IBuffer const& certBlob) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::EncipherOnly() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::EncipherOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->get_EncipherOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::EncipherOnly(bool value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::EncipherOnly(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->put_EncipherOnly(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::CrlSign() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::CrlSign() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->get_CrlSign(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::CrlSign(bool value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::CrlSign(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->put_CrlSign(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::KeyCertificateSign() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::KeyCertificateSign() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->get_KeyCertificateSign(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::KeyCertificateSign(bool value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::KeyCertificateSign(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->put_KeyCertificateSign(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::KeyAgreement() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::KeyAgreement() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->get_KeyAgreement(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::KeyAgreement(bool value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::KeyAgreement(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->put_KeyAgreement(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::DataEncipherment() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::DataEncipherment() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->get_DataEncipherment(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::DataEncipherment(bool value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::DataEncipherment(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->put_DataEncipherment(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::KeyEncipherment() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::KeyEncipherment() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->get_KeyEncipherment(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::KeyEncipherment(bool value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::KeyEncipherment(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->put_KeyEncipherment(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::NonRepudiation() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::NonRepudiation() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->get_NonRepudiation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::NonRepudiation(bool value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::NonRepudiation(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->put_NonRepudiation(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::DigitalSignature() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::DigitalSignature() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->get_DigitalSignature(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::DigitalSignature(bool value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateKeyUsages<D>::DigitalSignature(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages)->put_DigitalSignature(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::EnhancedKeyUsages() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::EnhancedKeyUsages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery)->get_EnhancedKeyUsages(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::IssuerName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::IssuerName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::IssuerName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery)->put_IssuerName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::FriendlyName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::FriendlyName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::FriendlyName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery)->put_FriendlyName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::Thumbprint() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::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<uint8_t>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::Thumbprint(array_view<uint8_t const> value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::Thumbprint(array_view<uint8_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery)->put_Thumbprint(value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::HardwareOnly() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::HardwareOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery)->get_HardwareOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::HardwareOnly(bool value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery<D>::HardwareOnly(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery)->put_HardwareOnly(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2<D>::IncludeDuplicates() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2<D>::IncludeDuplicates() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery2)->get_IncludeDuplicates(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2<D>::IncludeDuplicates(bool value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2<D>::IncludeDuplicates(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery2)->put_IncludeDuplicates(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2<D>::IncludeExpiredCertificates() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2<D>::IncludeExpiredCertificates() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery2)->get_IncludeExpiredCertificates(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2<D>::IncludeExpiredCertificates(bool value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2<D>::IncludeExpiredCertificates(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery2)->put_IncludeExpiredCertificates(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2<D>::StoreName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2<D>::StoreName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateQuery2<D>::StoreName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery2)->put_StoreName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::Subject() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::Subject(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::Subject(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->put_Subject(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::KeyAlgorithmName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::KeyAlgorithmName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::KeyAlgorithmName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->put_KeyAlgorithmName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::KeySize() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::KeySize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->get_KeySize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::KeySize(uint32_t value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::KeySize(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->put_KeySize(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::FriendlyName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::FriendlyName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::FriendlyName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->put_FriendlyName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::HashAlgorithmName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::HashAlgorithmName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::HashAlgorithmName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->put_HashAlgorithmName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::ExportOption) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::Exportable() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::Exportable() const
{
winrt::Windows::Security::Cryptography::Certificates::ExportOption value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->get_Exportable(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::Exportable(winrt::Windows::Security::Cryptography::Certificates::ExportOption const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::EnrollKeyUsages) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::KeyUsages() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::KeyUsages() const
{
winrt::Windows::Security::Cryptography::Certificates::EnrollKeyUsages value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->get_KeyUsages(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::KeyUsages(winrt::Windows::Security::Cryptography::Certificates::EnrollKeyUsages const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::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<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::KeyProtectionLevel() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::KeyProtectionLevel() const
{
winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->get_KeyProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::KeyProtectionLevel(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::KeyStorageProviderName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::KeyStorageProviderName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties<D>::KeyStorageProviderName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties)->put_KeyStorageProviderName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2<D>::SmartcardReaderName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2<D>::SmartcardReaderName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2<D>::SmartcardReaderName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties2)->put_SmartcardReaderName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2<D>::SigningCertificate() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2<D>::SigningCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2<D>::AttestationCredentialCertificate() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2<D>::AttestationCredentialCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::CurveName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::CurveName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::CurveName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties3)->put_CurveName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::CurveParameters() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::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<uint8_t>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::CurveParameters(array_view<uint8_t const> value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::CurveParameters(array_view<uint8_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties3)->put_CurveParameters(value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::ContainerNamePrefix() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::ContainerNamePrefix(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::ContainerNamePrefix(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties3)->put_ContainerNamePrefix(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::ContainerName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::ContainerName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::ContainerName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties3)->put_ContainerName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::UseExistingKey() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::UseExistingKey() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties3)->get_UseExistingKey(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::UseExistingKey(bool value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties3<D>::UseExistingKey(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties3)->put_UseExistingKey(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties4<D>::SuppressedDefaults() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties4<D>::SuppressedDefaults() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties4)->get_SuppressedDefaults(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::SubjectAlternativeNameInfo) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties4<D>::SubjectAlternativeName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Security::Cryptography::Certificates::CertificateExtension>) consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties4<D>::Extensions() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties4<D>::Extensions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties4)->get_Extensions(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Security::Cryptography::Certificates::CertificateExtension>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateStore<D>::Add(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateStore<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICertificateStore<D>::Delete(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateStore<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICertificateStore2<D>::Name() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateStore2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>>) consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics<D>::FindAllAsync() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics<D>::FindAllAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICertificateStoresStatics)->FindAllAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>>) consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics<D>::FindAllAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateQuery const& query) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateStore) consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics<D>::TrustedRootCertificationAuthorities() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateStore) consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics<D>::IntermediateCertificationAuthorities() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateStore) consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics<D>::GetStoreByName(param::hstring const& storeName) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::UserCertificateStore) consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics2<D>::GetUserStoreByName(param::hstring const& storeName) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::EnhancedKeyUsages() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::EnhancedKeyUsages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->get_EnhancedKeyUsages(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::ValidationTimestamp() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::ValidationTimestamp(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::RevocationCheckEnabled() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::RevocationCheckEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->get_RevocationCheckEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::RevocationCheckEnabled(bool value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::RevocationCheckEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->put_RevocationCheckEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::NetworkRetrievalEnabled() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::NetworkRetrievalEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->get_NetworkRetrievalEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::NetworkRetrievalEnabled(bool value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::NetworkRetrievalEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->put_NetworkRetrievalEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::AuthorityInformationAccessEnabled() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::AuthorityInformationAccessEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->get_AuthorityInformationAccessEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::AuthorityInformationAccessEnabled(bool value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::AuthorityInformationAccessEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->put_AuthorityInformationAccessEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::CurrentTimeValidationEnabled() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::CurrentTimeValidationEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->get_CurrentTimeValidationEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::CurrentTimeValidationEnabled(bool value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::CurrentTimeValidationEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->put_CurrentTimeValidationEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Security::Cryptography::Certificates::Certificate>) consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::ExclusiveTrustRoots() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters<D>::ExclusiveTrustRoots() const
{
void* certificates{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters)->get_ExclusiveTrustRoots(&certificates));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Security::Cryptography::Certificates::Certificate>{ certificates, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateChainPolicy) consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters<D>::CertificateChainPolicy() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters<D>::CertificateChainPolicy() const
{
winrt::Windows::Security::Cryptography::Certificates::CertificateChainPolicy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainValidationParameters)->get_CertificateChainPolicy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters<D>::CertificateChainPolicy(winrt::Windows::Security::Cryptography::Certificates::CertificateChainPolicy const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters<D>::ServerDnsName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters<D>::ServerDnsName(winrt::Windows::Networking::HostName const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IChainValidationParameters<D>::ServerDnsName(winrt::Windows::Networking::HostName const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IChainValidationParameters)->put_ServerDnsName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature<D>::Certificates() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature<D>::Certificates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsAttachedSignature)->get_Certificates(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(com_array<uint8_t>) consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature<D>::Content() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature<D>::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<uint8_t>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::CmsSignerInfo>) consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature<D>::Signers() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature<D>::Signers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsAttachedSignature)->get_Signers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::CmsSignerInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::SignatureValidationResult) consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature<D>::VerifySignature() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature<D>::VerifySignature() const
{
winrt::Windows::Security::Cryptography::Certificates::SignatureValidationResult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsAttachedSignature)->VerifySignature(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CmsAttachedSignature) consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignatureFactory<D>::CreateCmsAttachedSignature(winrt::Windows::Storage::Streams::IBuffer const& inputBlob) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignatureFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignatureStatics<D>::GenerateSignatureAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::CmsSignerInfo> const& signers, param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& certificates) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignatureStatics<D>::GenerateSignatureAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::CmsSignerInfo> const& signers, param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> 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<winrt::Windows::Storage::Streams::IBuffer>{ outputBlob, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignature<D>::Certificates() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignature<D>::Certificates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsDetachedSignature)->get_Certificates(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::CmsSignerInfo>) consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignature<D>::Signers() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignature<D>::Signers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsDetachedSignature)->get_Signers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::CmsSignerInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Cryptography::Certificates::SignatureValidationResult>) consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignature<D>::VerifySignatureAsync(winrt::Windows::Storage::Streams::IInputStream const& data) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignature<D>::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<winrt::Windows::Security::Cryptography::Certificates::SignatureValidationResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CmsDetachedSignature) consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignatureFactory<D>::CreateCmsDetachedSignature(winrt::Windows::Storage::Streams::IBuffer const& inputBlob) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignatureFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignatureStatics<D>::GenerateSignatureAsync(winrt::Windows::Storage::Streams::IInputStream const& data, param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::CmsSignerInfo> const& signers, param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& certificates) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignatureStatics<D>::GenerateSignatureAsync(winrt::Windows::Storage::Streams::IInputStream const& data, param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::CmsSignerInfo> const& signers, param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> 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<winrt::Windows::Storage::Streams::IBuffer>{ outputBlob, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo<D>::Certificate() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo<D>::Certificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo<D>::HashAlgorithmName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo<D>::HashAlgorithmName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo<D>::HashAlgorithmName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsSignerInfo)->put_HashAlgorithmName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CmsTimestampInfo) consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo<D>::TimestampInfo() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsSignerInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Security_Cryptography_Certificates_ICmsTimestampInfo<D>::SigningCertificate() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsTimestampInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) consume_Windows_Security_Cryptography_Certificates_ICmsTimestampInfo<D>::Certificates() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsTimestampInfo<D>::Certificates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ICmsTimestampInfo)->get_Certificates(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Security_Cryptography_Certificates_ICmsTimestampInfo<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ICmsTimestampInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics<D>::Rsa() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics<D>::Dsa() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics<D>::Ecdh256() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics<D>::Ecdh384() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics<D>::Ecdh521() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics<D>::Ecdsa256() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics<D>::Ecdsa384() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics<D>::Ecdsa521() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics2<D>::Ecdsa() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics2<D>::Ecdh() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IKeyAlgorithmNamesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics<D>::DecryptTpmAttestationCredentialAsync(param::hstring const& credential) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics<D>::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<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics<D>::GetTpmAttestationCredentialId(param::hstring const& credential) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics2<D>::DecryptTpmAttestationCredentialAsync(param::hstring const& credential, param::hstring const& containerName) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics2<D>::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<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics<D>::SoftwareKeyStorageProvider() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics<D>::SmartcardKeyStorageProvider() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics<D>::PlatformKeyStorageProvider() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics2<D>::PassportKeyStorageProvider() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::ExportOption) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::Exportable() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::Exportable() const
{
winrt::Windows::Security::Cryptography::Certificates::ExportOption value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->get_Exportable(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::Exportable(winrt::Windows::Security::Cryptography::Certificates::ExportOption const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::KeyProtectionLevel() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::KeyProtectionLevel() const
{
winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->get_KeyProtectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::KeyProtectionLevel(winrt::Windows::Security::Cryptography::Certificates::KeyProtectionLevel const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::InstallOptions) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::InstallOptions() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::InstallOptions() const
{
winrt::Windows::Security::Cryptography::Certificates::InstallOptions value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->get_InstallOptions(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::InstallOptions(winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::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<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::FriendlyName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::FriendlyName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::FriendlyName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->put_FriendlyName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::KeyStorageProviderName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::KeyStorageProviderName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::KeyStorageProviderName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->put_KeyStorageProviderName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::ContainerNamePrefix() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::ContainerNamePrefix(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::ContainerNamePrefix(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->put_ContainerNamePrefix(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::ReaderName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::ReaderName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IPfxImportParameters<D>::ReaderName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters)->put_ReaderName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IStandardCertificateStoreNamesStatics<D>::Personal() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IStandardCertificateStoreNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IStandardCertificateStoreNamesStatics<D>::TrustedRootCertificationAuthorities() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IStandardCertificateStoreNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IStandardCertificateStoreNamesStatics<D>::IntermediateCertificationAuthorities() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IStandardCertificateStoreNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo<D>::EmailName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo<D>::EmailName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo)->get_EmailName(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo<D>::IPAddress() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo<D>::IPAddress() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo)->get_IPAddress(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo<D>::Url() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo<D>::Url() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo)->get_Url(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo<D>::DnsName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo<D>::DnsName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo)->get_DnsName(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo<D>::DistinguishedName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo<D>::DistinguishedName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo)->get_DistinguishedName(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo<D>::PrincipalName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo<D>::PrincipalName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo)->get_PrincipalName(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2<D>::EmailNames() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2<D>::EmailNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo2)->get_EmailNames(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2<D>::IPAddresses() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2<D>::IPAddresses() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo2)->get_IPAddresses(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2<D>::Urls() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2<D>::Urls() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo2)->get_Urls(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2<D>::DnsNames() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2<D>::DnsNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo2)->get_DnsNames(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2<D>::DistinguishedNames() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2<D>::DistinguishedNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo2)->get_DistinguishedNames(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2<D>::PrincipalNames() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2<D>::PrincipalNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo2)->get_PrincipalNames(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::CertificateExtension) consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2<D>::Extension() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager<D>::CreateRequestAsync(winrt::Windows::Security::Cryptography::Certificates::CertificateRequestProperties const& request) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager<D>::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<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager<D>::InstallCertificateAsync(param::hstring const& certificate, winrt::Windows::Security::Cryptography::Certificates::InstallOptions const& installOption) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager<D>::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<uint32_t>(installOption), &value));
return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager<D>::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 <typename D> auto consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager<D>::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<int32_t>(exportable), static_cast<int32_t>(keyProtectionLevel), static_cast<uint32_t>(installOption), *(void**)(&friendlyName), &value));
return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager<D>::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 <typename D> auto consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager<D>::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<int32_t>(exportable), static_cast<int32_t>(keyProtectionLevel), static_cast<uint32_t>(installOption), *(void**)(&friendlyName), *(void**)(&keyStorageProvider), &value));
return winrt::Windows::Foundation::IAsyncAction{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager2<D>::ImportPfxDataAsync(param::hstring const& pfxData, param::hstring const& password, winrt::Windows::Security::Cryptography::Certificates::PfxImportParameters const& pfxImportParameters) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Security_Cryptography_Certificates_IUserCertificateStore<D>::RequestAddAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IUserCertificateStore<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Security_Cryptography_Certificates_IUserCertificateStore<D>::RequestDeleteAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IUserCertificateStore<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Certificates_IUserCertificateStore<D>::Name() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Certificates_IUserCertificateStore<D>::Name() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Certificates::IUserCertificateStore)->get_Name(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.Core.h
index 87e6b13b2bf..6f018a9468d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::RsaPkcs1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::RsaOaepSha1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::RsaOaepSha256() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::RsaOaepSha384() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::RsaOaepSha512() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::EcdsaP256Sha256() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::EcdsaP384Sha384() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::EcdsaP521Sha512() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::DsaSha1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::DsaSha256() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::RsaSignPkcs1Sha1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::RsaSignPkcs1Sha256() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::RsaSignPkcs1Sha384() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::RsaSignPkcs1Sha512() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::RsaSignPssSha1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::RsaSignPssSha256() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::RsaSignPssSha384() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::RsaSignPssSha512() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics2<D>::EcdsaSha256() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics2<D>::EcdsaSha384() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics2<D>::EcdsaSha512() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricAlgorithmNamesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider<D>::AlgorithmName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider<D>::CreateKeyPair(uint32_t keySize) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider<D>::ImportKeyPair(winrt::Windows::Storage::Streams::IBuffer const& keyBlob) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider<D>::ImportKeyPair(winrt::Windows::Storage::Streams::IBuffer const& keyBlob, winrt::Windows::Security::Cryptography::Core::CryptographicPrivateKeyBlobType const& BlobType) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider<D>::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<int32_t>(BlobType), &key));
return winrt::Windows::Security::Cryptography::Core::CryptographicKey{ key, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider<D>::ImportPublicKey(winrt::Windows::Storage::Streams::IBuffer const& keyBlob) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider<D>::ImportPublicKey(winrt::Windows::Storage::Streams::IBuffer const& keyBlob, winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& BlobType) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider<D>::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<int32_t>(BlobType), &key));
return winrt::Windows::Security::Cryptography::Core::CryptographicKey{ key, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider2<D>::CreateKeyPairWithCurveName(param::hstring const& curveName) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider2<D>::CreateKeyPairWithCurveParameters(array_view<uint8_t const> parameters) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProvider2<D>::CreateKeyPairWithCurveParameters(array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::AsymmetricKeyAlgorithmProvider) consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProviderStatics<D>::OpenAlgorithm(param::hstring const& algorithm) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IAsymmetricKeyAlgorithmProviderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics<D>::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 <typename D> auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics<D>::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 <typename D> auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::EncryptedAndAuthenticatedData) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics<D>::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 <typename D> auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics<D>::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 <typename D> auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics<D>::Sign(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics<D>::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 <typename D> auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics<D>::DeriveKeyMaterial(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters const& parameters, uint32_t desiredKeySize) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics<D>::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**)(&parameters), desiredKeySize, &keyMaterial));
return winrt::Windows::Storage::Streams::IBuffer{ keyMaterial, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2<D>::SignHashedData(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2<D>::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 <typename D> auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2<D>::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 <typename D> auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2<D>::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<winrt::Windows::Storage::Streams::IBuffer>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2<D>::SignAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2<D>::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<winrt::Windows::Storage::Streams::IBuffer>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2<D>::SignHashedDataAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ICryptographicEngineStatics2<D>::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<winrt::Windows::Storage::Streams::IBuffer>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Cryptography_Core_ICryptographicKey<D>::KeySize() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ICryptographicKey<D>::KeySize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ICryptographicKey)->get_KeySize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicKey<D>::Export() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ICryptographicKey<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicKey<D>::Export(winrt::Windows::Security::Cryptography::Core::CryptographicPrivateKeyBlobType const& BlobType) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ICryptographicKey<D>::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<int32_t>(BlobType), &value));
return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicKey<D>::ExportPublicKey() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ICryptographicKey<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_ICryptographicKey<D>::ExportPublicKey(winrt::Windows::Security::Cryptography::Core::CryptographicPublicKeyBlobType const& BlobType) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ICryptographicKey<D>::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<int32_t>(BlobType), &value));
return winrt::Windows::Storage::Streams::IBuffer{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::BrainpoolP160r1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::BrainpoolP160t1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::BrainpoolP192r1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::BrainpoolP192t1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::BrainpoolP224r1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::BrainpoolP224t1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::BrainpoolP256r1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::BrainpoolP256t1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::BrainpoolP320r1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::BrainpoolP320t1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::BrainpoolP384r1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::BrainpoolP384t1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::BrainpoolP512r1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::BrainpoolP512t1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::Curve25519() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::Ec192wapi() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::NistP192() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::NistP224() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::NistP256() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::NistP384() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::NistP521() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::NumsP256t1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::NumsP384t1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::NumsP512t1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::SecP160k1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::SecP160r1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::SecP160r2() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::SecP192k1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::SecP192r1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::SecP224k1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::SecP224r1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::SecP256k1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::SecP256r1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::SecP384r1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::SecP521r1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::Wtls7() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::Wtls9() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::Wtls12() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::X962P192v1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::X962P192v2() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::X962P192v3() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::X962P239v1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::X962P239v2() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::X962P239v3() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::X962P256v1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::AllEccCurveNames() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEccCurveNamesStatics<D>::AllEccCurveNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics)->get_AllEccCurveNames(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_IEncryptedAndAuthenticatedData<D>::EncryptedData() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEncryptedAndAuthenticatedData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_IEncryptedAndAuthenticatedData<D>::AuthenticationTag() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IEncryptedAndAuthenticatedData<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics<D>::Md5() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics<D>::Sha1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics<D>::Sha256() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics<D>::Sha384() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics<D>::Sha512() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider<D>::AlgorithmName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider<D>::HashLength() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider<D>::HashLength() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IHashAlgorithmProvider)->get_HashLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider<D>::HashData(winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicHash) consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider<D>::CreateHash() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::HashAlgorithmProvider) consume_Windows_Security_Cryptography_Core_IHashAlgorithmProviderStatics<D>::OpenAlgorithm(param::hstring const& algorithm) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IHashAlgorithmProviderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Core_IHashComputation<D>::Append(winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IHashComputation<D>::Append(winrt::Windows::Storage::Streams::IBuffer const& data) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IHashComputation)->Append(*(void**)(&data)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_IHashComputation<D>::GetValueAndReset() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IHashComputation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::Pbkdf2Md5() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::Pbkdf2Sha1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::Pbkdf2Sha256() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::Pbkdf2Sha384() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::Pbkdf2Sha512() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::Sp800108CtrHmacMd5() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::Sp800108CtrHmacSha1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::Sp800108CtrHmacSha256() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::Sp800108CtrHmacSha384() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::Sp800108CtrHmacSha512() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::Sp80056aConcatMd5() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::Sp80056aConcatSha1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::Sp80056aConcatSha256() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::Sp80056aConcatSha384() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::Sp80056aConcatSha512() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2<D>::CapiKdfMd5() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2<D>::CapiKdfSha1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2<D>::CapiKdfSha256() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2<D>::CapiKdfSha384() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2<D>::CapiKdfSha512() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmNamesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProvider<D>::AlgorithmName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProvider<D>::CreateKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::KeyDerivationAlgorithmProvider) consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProviderStatics<D>::OpenAlgorithm(param::hstring const& algorithm) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationAlgorithmProviderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters<D>::KdfGenericBinary() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters<D>::KdfGenericBinary(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters<D>::IterationCount() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters<D>::IterationCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationParameters)->get_IterationCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm) consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters2<D>::Capi1KdfTargetAlgorithm() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters2<D>::Capi1KdfTargetAlgorithm() const
{
winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IKeyDerivationParameters2)->get_Capi1KdfTargetAlgorithm(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters2<D>::Capi1KdfTargetAlgorithm(winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParameters2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters) consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics<D>::BuildForPbkdf2(winrt::Windows::Storage::Streams::IBuffer const& pbkdf2Salt, uint32_t iterationCount) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters) consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics<D>::BuildForSP800108(winrt::Windows::Storage::Streams::IBuffer const& label, winrt::Windows::Storage::Streams::IBuffer const& context) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters) consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics<D>::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 <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters) consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics2<D>::BuildForCapi1Kdf(winrt::Windows::Security::Cryptography::Core::Capi1KdfTargetAlgorithm const& capi1KdfTargetAlgorithm) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IKeyDerivationParametersStatics2<D>::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<int32_t>(capi1KdfTargetAlgorithm), &value));
return winrt::Windows::Security::Cryptography::Core::KeyDerivationParameters{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics<D>::HmacMd5() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics<D>::HmacSha1() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics<D>::HmacSha256() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics<D>::HmacSha384() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics<D>::HmacSha512() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics<D>::AesCmac() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider<D>::AlgorithmName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider<D>::MacLength() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider<D>::MacLength() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::IMacAlgorithmProvider)->get_MacLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider<D>::CreateKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicHash) consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider2<D>::CreateHash(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmProvider2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::MacAlgorithmProvider) consume_Windows_Security_Cryptography_Core_IMacAlgorithmProviderStatics<D>::OpenAlgorithm(param::hstring const& algorithm) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IMacAlgorithmProviderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Cryptography::Core::CryptographicKey>) consume_Windows_Security_Cryptography_Core_IPersistedKeyProviderStatics<D>::OpenKeyPairFromCertificateAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate, param::hstring const& hashAlgorithmName, winrt::Windows::Security::Cryptography::Core::CryptographicPadding const& padding) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IPersistedKeyProviderStatics<D>::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<int32_t>(padding), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Cryptography::Core::CryptographicKey>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_IPersistedKeyProviderStatics<D>::OpenPublicKeyFromCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate, param::hstring const& hashAlgorithmName, winrt::Windows::Security::Cryptography::Core::CryptographicPadding const& padding) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_IPersistedKeyProviderStatics<D>::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<int32_t>(padding), &key));
return winrt::Windows::Security::Cryptography::Core::CryptographicKey{ key, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::DesCbc() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::DesEcb() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::TripleDesCbc() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::TripleDesEcb() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::Rc2Cbc() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::Rc2Ecb() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::AesCbc() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::AesEcb() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::AesGcm() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::AesCcm() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::AesCbcPkcs7() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::AesEcbPkcs7() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::DesCbcPkcs7() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::DesEcbPkcs7() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::TripleDesCbcPkcs7() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::TripleDesEcbPkcs7() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::Rc2CbcPkcs7() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::Rc2EcbPkcs7() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::Rc4() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricAlgorithmNamesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProvider<D>::AlgorithmName() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProvider<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProvider<D>::BlockLength() const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProvider<D>::BlockLength() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::Core::ISymmetricKeyAlgorithmProvider)->get_BlockLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::CryptographicKey) consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProvider<D>::CreateSymmetricKey(winrt::Windows::Storage::Streams::IBuffer const& keyMaterial) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Core::SymmetricKeyAlgorithmProvider) consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProviderStatics<D>::OpenAlgorithm(param::hstring const& algorithm) const
+ template <typename D> auto consume_Windows_Security_Cryptography_Core_ISymmetricKeyAlgorithmProviderStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.DataProtection.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.DataProtection.h
index 500f17a639c..7ffd3beb1e8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.DataProtection.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider<D>::ProtectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider<D>::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<winrt::Windows::Storage::Streams::IBuffer>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider<D>::UnprotectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider<D>::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<winrt::Windows::Storage::Streams::IBuffer>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider<D>::ProtectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& src, winrt::Windows::Storage::Streams::IOutputStream const& dest) const
+ template <typename D> auto consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider<D>::UnprotectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& src, winrt::Windows::Storage::Streams::IOutputStream const& dest) const
+ template <typename D> auto consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::DataProtection::DataProtectionProvider) consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProviderFactory<D>::CreateOverloadExplicit(param::hstring const& protectionDescriptor) const
+ template <typename D> auto consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProviderFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.h
index ce0e0e1c663..22ae7fd8ac3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Cryptography.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::Compare(winrt::Windows::Storage::Streams::IBuffer const& object1, winrt::Windows::Storage::Streams::IBuffer const& object2) const
+ template <typename D> auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::GenerateRandom(uint32_t length) const
+ template <typename D> auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::GenerateRandomNumber() const
+ template <typename D> auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::GenerateRandomNumber() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::ICryptographicBufferStatics)->GenerateRandomNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::CreateFromByteArray(array_view<uint8_t const> value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::CreateFromByteArray(array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::CopyToByteArray(winrt::Windows::Storage::Streams::IBuffer const& buffer, com_array<uint8_t>& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::CopyToByteArray(winrt::Windows::Storage::Streams::IBuffer const& buffer, com_array<uint8_t>& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Cryptography::ICryptographicBufferStatics)->CopyToByteArray(*(void**)(&buffer), impl::put_size_abi(value), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::DecodeFromHexString(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::EncodeToHexString(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::DecodeFromBase64String(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::EncodeToBase64String(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::ConvertStringToBinary(param::hstring const& value, winrt::Windows::Security::Cryptography::BinaryStringEncoding const& encoding) const
+ template <typename D> auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::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<int32_t>(encoding), &buffer));
return winrt::Windows::Storage::Streams::IBuffer{ buffer, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::ConvertBinaryToString(winrt::Windows::Security::Cryptography::BinaryStringEncoding const& encoding, winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Security_Cryptography_ICryptographicBufferStatics<D>::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<int32_t>(encoding), *(void**)(&buffer), &value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.DataProtection.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.DataProtection.h
index f4dd6134245..7c1e1c797ba 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.DataProtection.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Security_DataProtection_IUserDataAvailabilityStateChangedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Security_DataProtection_IUserDataAvailabilityStateChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::DataProtection::UserDataBufferUnprotectStatus) consume_Windows_Security_DataProtection_IUserDataBufferUnprotectResult<D>::Status() const
+ template <typename D> auto consume_Windows_Security_DataProtection_IUserDataBufferUnprotectResult<D>::Status() const
{
winrt::Windows::Security::DataProtection::UserDataBufferUnprotectStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::DataProtection::IUserDataBufferUnprotectResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_DataProtection_IUserDataBufferUnprotectResult<D>::UnprotectedBuffer() const
+ template <typename D> auto consume_Windows_Security_DataProtection_IUserDataBufferUnprotectResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::DataProtection::UserDataStorageItemProtectionStatus>) consume_Windows_Security_DataProtection_IUserDataProtectionManager<D>::ProtectStorageItemAsync(winrt::Windows::Storage::IStorageItem const& storageItem, winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const
+ template <typename D> auto consume_Windows_Security_DataProtection_IUserDataProtectionManager<D>::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<int32_t>(availability), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::DataProtection::UserDataStorageItemProtectionStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::DataProtection::UserDataStorageItemProtectionInfo>) consume_Windows_Security_DataProtection_IUserDataProtectionManager<D>::GetStorageItemProtectionInfoAsync(winrt::Windows::Storage::IStorageItem const& storageItem) const
+ template <typename D> auto consume_Windows_Security_DataProtection_IUserDataProtectionManager<D>::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<winrt::Windows::Security::DataProtection::UserDataStorageItemProtectionInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Security_DataProtection_IUserDataProtectionManager<D>::ProtectBufferAsync(winrt::Windows::Storage::Streams::IBuffer const& unprotectedBuffer, winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const
+ template <typename D> auto consume_Windows_Security_DataProtection_IUserDataProtectionManager<D>::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<int32_t>(availability), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::DataProtection::UserDataBufferUnprotectResult>) consume_Windows_Security_DataProtection_IUserDataProtectionManager<D>::UnprotectBufferAsync(winrt::Windows::Storage::Streams::IBuffer const& protectedBuffer) const
+ template <typename D> auto consume_Windows_Security_DataProtection_IUserDataProtectionManager<D>::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<winrt::Windows::Security::DataProtection::UserDataBufferUnprotectResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_DataProtection_IUserDataProtectionManager<D>::IsContinuedDataAvailabilityExpected(winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const
+ template <typename D> auto consume_Windows_Security_DataProtection_IUserDataProtectionManager<D>::IsContinuedDataAvailabilityExpected(winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::DataProtection::IUserDataProtectionManager)->IsContinuedDataAvailabilityExpected(static_cast<int32_t>(availability), &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_DataProtection_IUserDataProtectionManager<D>::DataAvailabilityStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::DataProtection::UserDataProtectionManager, winrt::Windows::Security::DataProtection::UserDataAvailabilityStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_DataProtection_IUserDataProtectionManager<D>::DataAvailabilityStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::DataProtection::UserDataProtectionManager, winrt::Windows::Security::DataProtection::UserDataAvailabilityStateChangedEventArgs> 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 D> typename consume_Windows_Security_DataProtection_IUserDataProtectionManager<D>::DataAvailabilityStateChanged_revoker consume_Windows_Security_DataProtection_IUserDataProtectionManager<D>::DataAvailabilityStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::DataProtection::UserDataProtectionManager, winrt::Windows::Security::DataProtection::UserDataAvailabilityStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_DataProtection_IUserDataProtectionManager<D>::DataAvailabilityStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::DataProtection::UserDataProtectionManager, winrt::Windows::Security::DataProtection::UserDataAvailabilityStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DataAvailabilityStateChanged_revoker>(this, DataAvailabilityStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_DataProtection_IUserDataProtectionManager<D>::DataAvailabilityStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Security_DataProtection_IUserDataProtectionManager<D>::DataAvailabilityStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Security::DataProtection::IUserDataProtectionManager)->remove_DataAvailabilityStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::DataProtection::UserDataProtectionManager) consume_Windows_Security_DataProtection_IUserDataProtectionManagerStatics<D>::TryGetDefault() const
+ template <typename D> auto consume_Windows_Security_DataProtection_IUserDataProtectionManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::DataProtection::UserDataProtectionManager) consume_Windows_Security_DataProtection_IUserDataProtectionManagerStatics<D>::TryGetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Security_DataProtection_IUserDataProtectionManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::DataProtection::UserDataAvailability) consume_Windows_Security_DataProtection_IUserDataStorageItemProtectionInfo<D>::Availability() const
+ template <typename D> auto consume_Windows_Security_DataProtection_IUserDataStorageItemProtectionInfo<D>::Availability() const
{
winrt::Windows::Security::DataProtection::UserDataAvailability value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::DataProtection::IUserDataStorageItemProtectionInfo)->get_Availability(reinterpret_cast<int32_t*>(&value)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.EnterpriseData.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.EnterpriseData.h
index 85760613b3a..fb05d0f017b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.EnterpriseData.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Security_EnterpriseData_IBufferProtectUnprotectResult<D>::Buffer() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IBufferProtectUnprotectResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::DataProtectionInfo) consume_Windows_Security_EnterpriseData_IBufferProtectUnprotectResult<D>::ProtectionInfo() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IBufferProtectUnprotectResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::DataProtectionStatus) consume_Windows_Security_EnterpriseData_IDataProtectionInfo<D>::Status() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IDataProtectionInfo<D>::Status() const
{
winrt::Windows::Security::EnterpriseData::DataProtectionStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IDataProtectionInfo)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_EnterpriseData_IDataProtectionInfo<D>::Identity() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IDataProtectionInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::BufferProtectUnprotectResult>) consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics<D>::ProtectAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::hstring const& identity) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics<D>::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<winrt::Windows::Security::EnterpriseData::BufferProtectUnprotectResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::BufferProtectUnprotectResult>) consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics<D>::UnprotectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics<D>::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<winrt::Windows::Security::EnterpriseData::BufferProtectUnprotectResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::DataProtectionInfo>) consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics<D>::ProtectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& unprotectedStream, param::hstring const& identity, winrt::Windows::Storage::Streams::IOutputStream const& protectedStream) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics<D>::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<winrt::Windows::Security::EnterpriseData::DataProtectionInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::DataProtectionInfo>) consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics<D>::UnprotectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& protectedStream, winrt::Windows::Storage::Streams::IOutputStream const& unprotectedStream) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics<D>::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<winrt::Windows::Security::EnterpriseData::DataProtectionInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::DataProtectionInfo>) consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics<D>::GetProtectionInfoAsync(winrt::Windows::Storage::Streams::IBuffer const& protectedData) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics<D>::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<winrt::Windows::Security::EnterpriseData::DataProtectionInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::DataProtectionInfo>) consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics<D>::GetStreamProtectionInfoAsync(winrt::Windows::Storage::Streams::IInputStream const& protectedStream) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics<D>::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<winrt::Windows::Security::EnterpriseData::DataProtectionInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::FileProtectionStatus) consume_Windows_Security_EnterpriseData_IFileProtectionInfo<D>::Status() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileProtectionInfo<D>::Status() const
{
winrt::Windows::Security::EnterpriseData::FileProtectionStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionInfo)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IFileProtectionInfo<D>::IsRoamable() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileProtectionInfo<D>::IsRoamable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionInfo)->get_IsRoamable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_EnterpriseData_IFileProtectionInfo<D>::Identity() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileProtectionInfo<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IFileProtectionInfo2<D>::IsProtectWhileOpenSupported() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileProtectionInfo2<D>::IsProtectWhileOpenSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileProtectionInfo2)->get_IsProtectWhileOpenSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::FileProtectionInfo>) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics<D>::ProtectAsync(winrt::Windows::Storage::IStorageItem const& target, param::hstring const& identity) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics<D>::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<winrt::Windows::Security::EnterpriseData::FileProtectionInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics<D>::CopyProtectionAsync(winrt::Windows::Storage::IStorageItem const& source, winrt::Windows::Storage::IStorageItem const& target) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::FileProtectionInfo>) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics<D>::GetProtectionInfoAsync(winrt::Windows::Storage::IStorageItem const& source) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics<D>::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<winrt::Windows::Security::EnterpriseData::FileProtectionInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectedContainerExportResult>) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics<D>::SaveFileAsContainerAsync(winrt::Windows::Storage::IStorageFile const& protectedFile) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics<D>::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<winrt::Windows::Security::EnterpriseData::ProtectedContainerExportResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectedContainerImportResult>) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics<D>::LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics<D>::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<winrt::Windows::Security::EnterpriseData::ProtectedContainerImportResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectedContainerImportResult>) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics<D>::LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile, winrt::Windows::Storage::IStorageItem const& target) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics<D>::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<winrt::Windows::Security::EnterpriseData::ProtectedContainerImportResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectedFileCreateResult>) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics<D>::CreateProtectedAndOpenAsync(winrt::Windows::Storage::IStorageFolder const& parentFolder, param::hstring const& desiredName, param::hstring const& identity, winrt::Windows::Storage::CreationCollisionOption const& collisionOption) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics<D>::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<int32_t>(collisionOption), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectedFileCreateResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics2<D>::IsContainerAsync(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics2<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectedContainerImportResult>) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics2<D>::LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile, winrt::Windows::Storage::IStorageItem const& target, winrt::Windows::Storage::NameCollisionOption const& collisionOption) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics2<D>::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<int32_t>(collisionOption), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectedContainerImportResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectedContainerExportResult>) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics2<D>::SaveFileAsContainerAsync(winrt::Windows::Storage::IStorageFile const& protectedFile, param::async_iterable<hstring> const& sharedWithIdentities) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics2<D>::SaveFileAsContainerAsync(winrt::Windows::Storage::IStorageFile const& protectedFile, param::async_iterable<hstring> 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<winrt::Windows::Security::EnterpriseData::ProtectedContainerExportResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::FileProtectionInfo>) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics3<D>::UnprotectAsync(winrt::Windows::Storage::IStorageItem const& target) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics3<D>::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<winrt::Windows::Security::EnterpriseData::FileProtectionInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::FileProtectionInfo>) consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics3<D>::UnprotectAsync(winrt::Windows::Storage::IStorageItem const& target, winrt::Windows::Security::EnterpriseData::FileUnprotectOptions const& options) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics3<D>::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<winrt::Windows::Security::EnterpriseData::FileProtectionInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::FileProtectionStatus>) consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics<D>::ProtectAsync(winrt::Windows::Storage::IStorageItem const& storageItem, param::hstring const& enterpriseIdentity) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics<D>::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<winrt::Windows::Security::EnterpriseData::FileProtectionStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics<D>::CopyProtectionAsync(winrt::Windows::Storage::IStorageItem const& sourceStorageItem, winrt::Windows::Storage::IStorageItem const& targetStorageItem) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics<D>::Revoke(param::hstring const& enterpriseIdentity) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics<D>::Revoke(param::hstring const& enterpriseIdentity) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileRevocationManagerStatics)->Revoke(*(void**)(&enterpriseIdentity)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::FileProtectionStatus>) consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics<D>::GetStatusAsync(winrt::Windows::Storage::IStorageItem const& storageItem) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics<D>::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<winrt::Windows::Security::EnterpriseData::FileProtectionStatus>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IFileUnprotectOptions<D>::Audit(bool value) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileUnprotectOptions<D>::Audit(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileUnprotectOptions)->put_Audit(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IFileUnprotectOptions<D>::Audit() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileUnprotectOptions<D>::Audit() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IFileUnprotectOptions)->get_Audit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::FileUnprotectOptions) consume_Windows_Security_EnterpriseData_IFileUnprotectOptionsFactory<D>::Create(bool audit) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IFileUnprotectOptionsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Security_EnterpriseData_IProtectedAccessResumedEventArgs<D>::Identities() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectedAccessResumedEventArgs<D>::Identities() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectedAccessResumedEventArgs)->get_Identities(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Security_EnterpriseData_IProtectedAccessSuspendingEventArgs<D>::Identities() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectedAccessSuspendingEventArgs<D>::Identities() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectedAccessSuspendingEventArgs)->get_Identities(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Security_EnterpriseData_IProtectedAccessSuspendingEventArgs<D>::Deadline() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectedAccessSuspendingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Security_EnterpriseData_IProtectedAccessSuspendingEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectedAccessSuspendingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectedImportExportStatus) consume_Windows_Security_EnterpriseData_IProtectedContainerExportResult<D>::Status() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectedContainerExportResult<D>::Status() const
{
winrt::Windows::Security::EnterpriseData::ProtectedImportExportStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectedContainerExportResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Security_EnterpriseData_IProtectedContainerExportResult<D>::File() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectedContainerExportResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectedImportExportStatus) consume_Windows_Security_EnterpriseData_IProtectedContainerImportResult<D>::Status() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectedContainerImportResult<D>::Status() const
{
winrt::Windows::Security::EnterpriseData::ProtectedImportExportStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectedContainerImportResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Security_EnterpriseData_IProtectedContainerImportResult<D>::File() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectedContainerImportResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Security_EnterpriseData_IProtectedContentRevokedEventArgs<D>::Identities() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectedContentRevokedEventArgs<D>::Identities() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectedContentRevokedEventArgs)->get_Identities(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Security_EnterpriseData_IProtectedFileCreateResult<D>::File() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectedFileCreateResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_Security_EnterpriseData_IProtectedFileCreateResult<D>::Stream() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectedFileCreateResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::FileProtectionInfo) consume_Windows_Security_EnterpriseData_IProtectedFileCreateResult<D>::ProtectionInfo() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectedFileCreateResult<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo<D>::Action(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& value) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo<D>::Action(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo)->put_Action(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo<D>::Action() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo<D>::Action() const
{
winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo)->get_Action(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo<D>::DataDescription(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo<D>::DataDescription(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo)->put_DataDescription(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo<D>::DataDescription() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo<D>::SourceDescription(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo<D>::SourceDescription(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo)->put_SourceDescription(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo<D>::SourceDescription() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo<D>::TargetDescription(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo<D>::TargetDescription(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo)->put_TargetDescription(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo<D>::TargetDescription() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfoFactory<D>::Create(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& action, param::hstring const& dataDescription, param::hstring const& sourceDescription, param::hstring const& targetDescription) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfoFactory<D>::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<int32_t>(action), *(void**)(&dataDescription), *(void**)(&sourceDescription), *(void**)(&targetDescription), &result));
return winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo) consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfoFactory<D>::CreateWithActionAndDataDescription(winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditAction const& action, param::hstring const& dataDescription) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyAuditInfoFactory<D>::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<int32_t>(action), *(void**)(&dataDescription), &result));
return winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManager<D>::Identity(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManager<D>::Identity(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManager)->put_Identity(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_EnterpriseData_IProtectionPolicyManager<D>::Identity() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManager2<D>::ShowEnterpriseIndicator(bool value) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManager2<D>::ShowEnterpriseIndicator(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManager2)->put_ShowEnterpriseIndicator(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IProtectionPolicyManager2<D>::ShowEnterpriseIndicator() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManager2<D>::ShowEnterpriseIndicator() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManager2)->get_ShowEnterpriseIndicator(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::IsIdentityManaged(param::hstring const& identity) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::TryApplyProcessUIPolicy(param::hstring const& identity) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ClearProcessUIPolicy() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ClearProcessUIPolicy() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->ClearProcessUIPolicy());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ThreadNetworkContext) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::CreateCurrentThreadNetworkContext(param::hstring const& identity) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::GetPrimaryManagedIdentityForNetworkEndpointAsync(winrt::Windows::Networking::HostName const& endpointHost) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::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<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::RevokeContent(param::hstring const& identity) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::RevokeContent(param::hstring const& identity) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->RevokeContent(*(void**)(&identity)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyManager) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedAccessSuspending(winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessSuspendingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedAccessSuspending(winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessSuspendingEventArgs> 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 D> typename consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedAccessSuspending_revoker consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessSuspendingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessSuspendingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ProtectedAccessSuspending_revoker>(this, ProtectedAccessSuspending(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedAccessSuspending(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedAccessSuspending(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->remove_ProtectedAccessSuspending(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedAccessResumed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessResumedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedAccessResumed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessResumedEventArgs> 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 D> typename consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedAccessResumed_revoker consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessResumedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessResumedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ProtectedAccessResumed_revoker>(this, ProtectedAccessResumed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedAccessResumed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedAccessResumed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->remove_ProtectedAccessResumed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedContentRevoked(winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedContentRevokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedContentRevoked(winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedContentRevokedEventArgs> 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 D> typename consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedContentRevoked_revoker consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedContentRevokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedContentRevokedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ProtectedContentRevoked_revoker>(this, ProtectedContentRevoked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedContentRevoked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::ProtectedContentRevoked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics)->remove_ProtectedContentRevoked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::CheckAccess(param::hstring const& sourceIdentity, param::hstring const& targetIdentity) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics<D>::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<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::HasContentBeenRevokedSince(param::hstring const& identity, winrt::Windows::Foundation::DateTime const& since) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::CheckAccessForApp(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::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<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::EnterpriseData::EnforcementLevel) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::GetEnforcementLevel(param::hstring const& identity) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::IsUserDecryptionAllowed(param::hstring const& identity) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::IsProtectionUnderLockRequired(param::hstring const& identity) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::PolicyChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::PolicyChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::PolicyChanged_revoker consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, PolicyChanged_revoker>(this, PolicyChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::PolicyChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::PolicyChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics2)->remove_PolicyChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::IsProtectionEnabled() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics2<D>::IsProtectionEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics2)->get_IsProtectionEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3<D>::RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3<D>::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<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3<D>::RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3<D>::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<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3<D>::RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3<D>::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<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3<D>::RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo, param::hstring const& messageFromApp) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3<D>::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<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3<D>::LogAuditEvent(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::IsRoamableProtectionEnabled(param::hstring const& identity) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::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 <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::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<int32_t>(behavior), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::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 <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::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<int32_t>(behavior), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::RequestAccessToFilesForAppAsync(param::async_iterable<winrt::Windows::Storage::IStorageItem> const& sourceItemList, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::RequestAccessToFilesForAppAsync(param::async_iterable<winrt::Windows::Storage::IStorageItem> 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<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::RequestAccessToFilesForAppAsync(param::async_iterable<winrt::Windows::Storage::IStorageItem> 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 <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::RequestAccessToFilesForAppAsync(param::async_iterable<winrt::Windows::Storage::IStorageItem> 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<int32_t>(behavior), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::RequestAccessToFilesForProcessAsync(param::async_iterable<winrt::Windows::Storage::IStorageItem> const& sourceItemList, uint32_t processId, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::RequestAccessToFilesForProcessAsync(param::async_iterable<winrt::Windows::Storage::IStorageItem> 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<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::RequestAccessToFilesForProcessAsync(param::async_iterable<winrt::Windows::Storage::IStorageItem> 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 <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::RequestAccessToFilesForProcessAsync(param::async_iterable<winrt::Windows::Storage::IStorageItem> 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<int32_t>(behavior), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::IsFileProtectionRequiredAsync(winrt::Windows::Storage::IStorageItem const& target, param::hstring const& identity) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::IsFileProtectionRequiredForNewFileAsync(winrt::Windows::Storage::IStorageFolder const& parentFolder, param::hstring const& identity, param::hstring const& desiredName) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::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<bool>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::PrimaryManagedIdentity() const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::GetPrimaryManagedIdentityForIdentity(param::hstring const& identity) const
+ template <typename D> auto consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4<D>::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<ProtectionPolicyManager, IProtectionPolicyManagerStatics>([&](IProtectionPolicyManagerStatics const& f) { return f.ProtectedAccessSuspending(handler); });
}
- inline ProtectionPolicyManager::ProtectedAccessSuspending_revoker ProtectionPolicyManager::ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessSuspendingEventArgs> const& handler)
+ inline auto ProtectionPolicyManager::ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessSuspendingEventArgs> const& handler)
{
auto f = get_activation_factory<ProtectionPolicyManager, winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics>();
- 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<ProtectionPolicyManager, IProtectionPolicyManagerStatics>([&](IProtectionPolicyManagerStatics const& f) { return f.ProtectedAccessResumed(handler); });
}
- inline ProtectionPolicyManager::ProtectedAccessResumed_revoker ProtectionPolicyManager::ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessResumedEventArgs> const& handler)
+ inline auto ProtectionPolicyManager::ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessResumedEventArgs> const& handler)
{
auto f = get_activation_factory<ProtectionPolicyManager, winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics>();
- 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<ProtectionPolicyManager, IProtectionPolicyManagerStatics>([&](IProtectionPolicyManagerStatics const& f) { return f.ProtectedContentRevoked(handler); });
}
- inline ProtectionPolicyManager::ProtectedContentRevoked_revoker ProtectionPolicyManager::ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedContentRevokedEventArgs> const& handler)
+ inline auto ProtectionPolicyManager::ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedContentRevokedEventArgs> const& handler)
{
auto f = get_activation_factory<ProtectionPolicyManager, winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics>();
- 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<ProtectionPolicyManager, IProtectionPolicyManagerStatics2>([&](IProtectionPolicyManagerStatics2 const& f) { return f.PolicyChanged(handler); });
}
- inline ProtectionPolicyManager::PolicyChanged_revoker ProtectionPolicyManager::PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto ProtectionPolicyManager::PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<ProtectionPolicyManager, winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics2>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.ExchangeActiveSyncProvisioning.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.ExchangeActiveSyncProvisioning.h
index 7b936ba4419..b0460c447f4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.ExchangeActiveSyncProvisioning.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation<D>::Id() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation<D>::Id() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientDeviceInformation)->get_Id(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation<D>::OperatingSystem() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation<D>::FriendlyName() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation<D>::SystemManufacturer() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation<D>::SystemProductName() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation<D>::SystemSku() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation2<D>::SystemHardwareVersion() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation2<D>::SystemFirmwareVersion() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientDeviceInformation2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::RequireEncryption() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::RequireEncryption() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->get_RequireEncryption(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::RequireEncryption(bool value) const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::RequireEncryption(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->put_RequireEncryption(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::MinPasswordLength() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::MinPasswordLength() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->get_MinPasswordLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::MinPasswordLength(uint8_t value) const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::MinPasswordLength(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->put_MinPasswordLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::DisallowConvenienceLogon() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::DisallowConvenienceLogon() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->get_DisallowConvenienceLogon(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::DisallowConvenienceLogon(bool value) const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::DisallowConvenienceLogon(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->put_DisallowConvenienceLogon(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::MinPasswordComplexCharacters() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::MinPasswordComplexCharacters() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->get_MinPasswordComplexCharacters(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::MinPasswordComplexCharacters(uint8_t value) const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::MinPasswordComplexCharacters(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->put_MinPasswordComplexCharacters(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::PasswordExpiration() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::PasswordExpiration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::PasswordHistory() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::PasswordHistory() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->get_PasswordHistory(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::PasswordHistory(uint32_t value) const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::PasswordHistory(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->put_PasswordHistory(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::MaxPasswordFailedAttempts() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::MaxPasswordFailedAttempts() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->get_MaxPasswordFailedAttempts(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::MaxPasswordFailedAttempts(uint8_t value) const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::MaxPasswordFailedAttempts(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->put_MaxPasswordFailedAttempts(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::MaxInactivityTimeLock() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::MaxInactivityTimeLock(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasComplianceResults) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::CheckCompliance() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasComplianceResults>) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::ApplyAsync() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasClientSecurityPolicy<D>::ApplyAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy)->ApplyAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasComplianceResults>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::Compliant() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::Compliant() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_Compliant(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasRequireEncryptionResult) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::RequireEncryptionResult() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::RequireEncryptionResult() const
{
winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasRequireEncryptionResult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_RequireEncryptionResult(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMinPasswordLengthResult) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::MinPasswordLengthResult() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::MinPasswordLengthResult() const
{
winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMinPasswordLengthResult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_MinPasswordLengthResult(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasDisallowConvenienceLogonResult) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::DisallowConvenienceLogonResult() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::DisallowConvenienceLogonResult() const
{
winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasDisallowConvenienceLogonResult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_DisallowConvenienceLogonResult(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMinPasswordComplexCharactersResult) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::MinPasswordComplexCharactersResult() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::MinPasswordComplexCharactersResult() const
{
winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMinPasswordComplexCharactersResult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_MinPasswordComplexCharactersResult(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasPasswordExpirationResult) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::PasswordExpirationResult() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::PasswordExpirationResult() const
{
winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasPasswordExpirationResult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_PasswordExpirationResult(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasPasswordHistoryResult) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::PasswordHistoryResult() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::PasswordHistoryResult() const
{
winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasPasswordHistoryResult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_PasswordHistoryResult(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMaxPasswordFailedAttemptsResult) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::MaxPasswordFailedAttemptsResult() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::MaxPasswordFailedAttemptsResult() const
{
winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMaxPasswordFailedAttemptsResult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_MaxPasswordFailedAttemptsResult(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMaxInactivityTimeLockResult) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::MaxInactivityTimeLockResult() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults<D>::MaxInactivityTimeLockResult() const
{
winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasMaxInactivityTimeLockResult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults)->get_MaxInactivityTimeLockResult(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasEncryptionProviderType) consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults2<D>::EncryptionProviderType() const
+ template <typename D> auto consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults2<D>::EncryptionProviderType() const
{
winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasEncryptionProviderType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults2)->get_EncryptionProviderType(reinterpret_cast<int32_t*>(&value)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Isolation.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Isolation.h
index 7d5b48898d2..9be6710f049 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Security.Isolation.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::Id() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentStartProcessResult>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::StartProcessSilentlyAsync(param::hstring const& hostExePath, param::hstring const& arguments, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentActivator const& activator) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::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<int32_t>(activator), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentStartProcessResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentStartProcessResult>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::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 <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::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<int32_t>(activator), *(void**)(&telemetryParameters), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentStartProcessResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderResult>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::ShareFolderAsync(param::hstring const& hostFolder, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderRequestOptions const& requestOptions) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::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<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderResult>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::ShareFolderAsync(param::hstring const& hostFolder, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderRequestOptions const& requestOptions, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::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<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentLaunchFileResult>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::LaunchFileWithUIAsync(param::hstring const& appExePath, param::hstring const& argumentsTemplate, param::hstring const& filePath) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::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<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentLaunchFileResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentLaunchFileResult>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::LaunchFileWithUIAsync(param::hstring const& appExePath, param::hstring const& argumentsTemplate, param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::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<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentLaunchFileResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::TerminateAsync() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::TerminateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::RegisterMessageReceiver(winrt::guid const& receiverId, winrt::Windows::Security::Isolation::MessageReceivedCallback const& messageReceivedCallback) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::UnregisterMessageReceiver(winrt::guid const& receiverId) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment<D>::UnregisterMessageReceiver(winrt::guid const& receiverId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment)->UnregisterMessageReceiver(impl::bind_in(receiverId)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageResult>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment2<D>::PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable<winrt::Windows::Foundation::IInspectable> const& message) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment2<D>::PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageResult>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment2<D>::PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable<winrt::Windows::Foundation::IInspectable> const& message, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment2<D>::PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentUserInfo) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3<D>::GetUserInfo() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3<D>::ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3<D>::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<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3<D>::ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3<D>::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<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult<D>::Status() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult<D>::Status() const
{
winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentCreateResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentCreateResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironment) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult<D>::Environment() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentCreateResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateResult, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateProgress>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory<D>::CreateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOptions const& options) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory<D>::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<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateResult, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateResult, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateProgress>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory<D>::CreateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOptions const& options, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory<D>::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<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateResult, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironment) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory<D>::GetById(param::hstring const& environmentId) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironment>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory<D>::FindByOwnerId(param::hstring const& environmentOwnerId) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory<D>::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<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironment>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile<D>::Id() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile<D>::Id() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile)->get_Id(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile<D>::HostPath() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile<D>::Close() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile<D>::Close() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile)->Close());
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2<D>::GuestPath() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2<D>::IsReadOnly() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFile2<D>::IsReadOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile2)->get_IsReadOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentHostStatics<D>::IsReady() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentHostStatics<D>::IsReady() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentHostStatics)->get_IsReady(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentHostError>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentHostStatics<D>::HostErrors() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentHostStatics<D>::HostErrors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentHostStatics)->get_HostErrors(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentHostError>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentLaunchFileStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentLaunchFileResult<D>::Status() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentLaunchFileResult<D>::Status() const
{
winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentLaunchFileStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentLaunchFileResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentLaunchFileResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentLaunchFileResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentLaunchFileResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentFile) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentLaunchFileResult<D>::File() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentLaunchFileResult<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::EnvironmentOwnerId() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::EnvironmentOwnerId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::EnvironmentOwnerId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->put_EnvironmentOwnerId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAllowedClipboardFormats) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::AllowedClipboardFormats() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::AllowedClipboardFormats() const
{
winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAllowedClipboardFormats value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->get_AllowedClipboardFormats(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::AllowedClipboardFormats(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAllowedClipboardFormats const& value) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::AllowedClipboardFormats(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAllowedClipboardFormats const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->put_AllowedClipboardFormats(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentClipboardCopyPasteDirections) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::ClipboardCopyPasteDirections() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::ClipboardCopyPasteDirections() const
{
winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentClipboardCopyPasteDirections value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->get_ClipboardCopyPasteDirections(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::ClipboardCopyPasteDirections(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentClipboardCopyPasteDirections const& value) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::ClipboardCopyPasteDirections(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentClipboardCopyPasteDirections const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->put_ClipboardCopyPasteDirections(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAvailablePrinters) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::AvailablePrinters() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::AvailablePrinters() const
{
winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAvailablePrinters value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->get_AvailablePrinters(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::AvailablePrinters(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAvailablePrinters const& value) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::AvailablePrinters(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentAvailablePrinters const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->put_AvailablePrinters(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::SharedHostFolderPath() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::SharedFolderNameInEnvironment() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::ShareHostFolderForUntrustedItems(param::hstring const& SharedHostFolderPath, param::hstring const& ShareFolderNameInEnvironment) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::PersistUserProfile() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::PersistUserProfile() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->get_PersistUserProfile(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::PersistUserProfile(bool value) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::PersistUserProfile(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->put_PersistUserProfile(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::AllowGraphicsHardwareAcceleration() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::AllowGraphicsHardwareAcceleration() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->get_AllowGraphicsHardwareAcceleration(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::AllowGraphicsHardwareAcceleration(bool value) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::AllowGraphicsHardwareAcceleration(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->put_AllowGraphicsHardwareAcceleration(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::AllowCameraAndMicrophoneAccess() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::AllowCameraAndMicrophoneAccess() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->get_AllowCameraAndMicrophoneAccess(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::AllowCameraAndMicrophoneAccess(bool value) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions<D>::AllowCameraAndMicrophoneAccess(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions)->put_AllowCameraAndMicrophoneAccess(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2<D>::WindowAnnotationOverride() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2<D>::WindowAnnotationOverride(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOptions2<D>::WindowAnnotationOverride(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions2)->put_WindowAnnotationOverride(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData<D>::ShareableFolders() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData<D>::ShareableFolders() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData)->get_ShareableFolders(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData<D>::ProcessesRunnableAsSystem() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData<D>::ProcessesRunnableAsSystem() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData)->get_ProcessesRunnableAsSystem(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData<D>::ProcessesRunnableAsUser() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData<D>::ProcessesRunnableAsUser() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData)->get_ProcessesRunnableAsUser(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData<D>::ActivationFileExtensions() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData<D>::ActivationFileExtensions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData)->get_ActivationFileExtensions(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationResult<D>::Status() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationResult<D>::Status() const
{
winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationResult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationStatics<D>::Register(param::hstring const& ownerName, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOwnerRegistrationData const& ownerRegistrationData) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationStatics<D>::Unregister(param::hstring const& ownerName) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationStatics<D>::Unregister(param::hstring const& ownerName) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationStatics)->Unregister(*(void**)(&ownerName)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentPostMessageResult<D>::Status() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentPostMessageResult<D>::Status() const
{
winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentPostMessageResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentPostMessageResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentPostMessageResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentPostMessageResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProcessState) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess<D>::State() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess<D>::State() const
{
winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProcessState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess<D>::ExitCode() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess<D>::ExitCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess)->get_ExitCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess<D>::WaitForExit() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess<D>::WaitForExit() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess)->WaitForExit());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess<D>::WaitForExitWithTimeout(uint32_t timeoutMilliseconds) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess<D>::WaitForExitWithTimeout(uint32_t timeoutMilliseconds) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess)->WaitForExitWithTimeout(timeoutMilliseconds));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess<D>::WaitForExitAsync() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentProcess<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions<D>::AllowWrite() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions<D>::AllowWrite() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions)->get_AllowWrite(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions<D>::AllowWrite(bool value) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileRequestOptions<D>::AllowWrite(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions)->put_AllowWrite(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult<D>::Status() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult<D>::Status() const
{
winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentFile) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult<D>::File() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFileResult<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderRequestOptions<D>::AllowWrite() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderRequestOptions<D>::AllowWrite() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions)->get_AllowWrite(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderRequestOptions<D>::AllowWrite(bool value) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderRequestOptions<D>::AllowWrite(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions)->put_AllowWrite(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderResult<D>::Status() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderResult<D>::Status() const
{
winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentShareFolderResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentStartProcessStatus) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentStartProcessResult<D>::Status() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentStartProcessResult<D>::Status() const
{
winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentStartProcessStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentStartProcessResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentStartProcessResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentStartProcessResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentStartProcessResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentProcess) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentStartProcessResult<D>::Process() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentStartProcessResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentTelemetryParameters<D>::CorrelationId() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentTelemetryParameters<D>::CorrelationId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentTelemetryParameters)->get_CorrelationId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentTelemetryParameters<D>::CorrelationId(winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentTelemetryParameters<D>::CorrelationId(winrt::guid const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentTelemetryParameters)->put_CorrelationId(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo<D>::EnvironmentUserSid() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo<D>::EnvironmentUserName() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo<D>::TryWaitForSignInAsync() const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentUserInfo<D>::TryWaitForSignInAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo)->TryWaitForSignInAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics<D>::PostMessageToReceiver(winrt::guid const& receiverId, param::vector_view<winrt::Windows::Foundation::IInspectable> const& message) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics<D>::PostMessageToReceiver(winrt::guid const& receiverId, param::vector_view<winrt::Windows::Foundation::IInspectable> const& message) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics)->PostMessageToReceiver(impl::bind_in(receiverId), *(void**)(&message)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics<D>::GetFileId(param::hstring const& filePath) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics2<D>::RegisterHostMessageReceiver(winrt::guid const& receiverId, winrt::Windows::Security::Isolation::HostMessageReceivedCallback const& hostMessageReceivedCallback) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics2<D>::UnregisterHostMessageReceiver(winrt::guid const& receiverId) const
+ template <typename D> auto consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics2<D>::UnregisterHostMessageReceiver(winrt::guid const& receiverId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics2)->UnregisterHostMessageReceiver(impl::bind_in(receiverId)));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Cortana.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Cortana.h
index 65ef65a612c..e991b8680bd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Cortana.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Services_Cortana_ICortanaActionableInsights<D>::User() const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaActionableInsights<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Services_Cortana_ICortanaActionableInsights<D>::IsAvailableAsync() const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaActionableInsights<D>::IsAvailableAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaActionableInsights)->IsAvailableAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Cortana_ICortanaActionableInsights<D>::ShowInsightsForImageAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& imageStream) const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaActionableInsights<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Cortana_ICortanaActionableInsights<D>::ShowInsightsForImageAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& imageStream, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaActionableInsights<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Cortana_ICortanaActionableInsights<D>::ShowInsightsForTextAsync(param::hstring const& text) const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaActionableInsights<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Cortana_ICortanaActionableInsights<D>::ShowInsightsForTextAsync(param::hstring const& text, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaActionableInsights<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Cortana_ICortanaActionableInsights<D>::ShowInsightsAsync(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& datapackage) const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaActionableInsights<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Cortana_ICortanaActionableInsights<D>::ShowInsightsAsync(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& datapackage, winrt::Windows::Services::Cortana::CortanaActionableInsightsOptions const& options) const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaActionableInsights<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions<D>::ContentSourceWebLink() const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions<D>::ContentSourceWebLink(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions<D>::ContentSourceWebLink(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaActionableInsightsOptions)->put_ContentSourceWebLink(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions<D>::SurroundingText() const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions<D>::SurroundingText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaActionableInsightsOptions<D>::SurroundingText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaActionableInsightsOptions)->put_SurroundingText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Cortana::CortanaActionableInsights) consume_Windows_Services_Cortana_ICortanaActionableInsightsStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaActionableInsightsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Cortana::CortanaActionableInsights) consume_Windows_Services_Cortana_ICortanaActionableInsightsStatics<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaActionableInsightsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Cortana_ICortanaPermissionsManager<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaPermissionsManager<D>::IsSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaPermissionsManager)->IsSupported(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Services_Cortana_ICortanaPermissionsManager<D>::ArePermissionsGrantedAsync(param::async_iterable<winrt::Windows::Services::Cortana::CortanaPermission> const& permissions) const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaPermissionsManager<D>::ArePermissionsGrantedAsync(param::async_iterable<winrt::Windows::Services::Cortana::CortanaPermission> const& permissions) const
{
void* getGrantedPermissionsOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaPermissionsManager)->ArePermissionsGrantedAsync(*(void**)(&permissions), &getGrantedPermissionsOperation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ getGrantedPermissionsOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Cortana::CortanaPermissionsChangeResult>) consume_Windows_Services_Cortana_ICortanaPermissionsManager<D>::GrantPermissionsAsync(param::async_iterable<winrt::Windows::Services::Cortana::CortanaPermission> const& permissions) const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaPermissionsManager<D>::GrantPermissionsAsync(param::async_iterable<winrt::Windows::Services::Cortana::CortanaPermission> const& permissions) const
{
void* grantOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaPermissionsManager)->GrantPermissionsAsync(*(void**)(&permissions), &grantOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Cortana::CortanaPermissionsChangeResult>{ grantOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Cortana::CortanaPermissionsChangeResult>) consume_Windows_Services_Cortana_ICortanaPermissionsManager<D>::RevokePermissionsAsync(param::async_iterable<winrt::Windows::Services::Cortana::CortanaPermission> const& permissions) const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaPermissionsManager<D>::RevokePermissionsAsync(param::async_iterable<winrt::Windows::Services::Cortana::CortanaPermission> const& permissions) const
{
void* revokeOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaPermissionsManager)->RevokePermissionsAsync(*(void**)(&permissions), &revokeOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Cortana::CortanaPermissionsChangeResult>{ revokeOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Cortana::CortanaPermissionsManager) consume_Windows_Services_Cortana_ICortanaPermissionsManagerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaPermissionsManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Cortana_ICortanaSettings<D>::HasUserConsentToVoiceActivation() const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaSettings<D>::HasUserConsentToVoiceActivation() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaSettings)->get_HasUserConsentToVoiceActivation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Cortana_ICortanaSettings<D>::IsVoiceActivationEnabled() const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaSettings<D>::IsVoiceActivationEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaSettings)->get_IsVoiceActivationEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Cortana_ICortanaSettings<D>::IsVoiceActivationEnabled(bool value) const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaSettings<D>::IsVoiceActivationEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaSettings)->put_IsVoiceActivationEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Cortana_ICortanaSettingsStatics<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaSettingsStatics<D>::IsSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaSettingsStatics)->IsSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Cortana::CortanaSettings) consume_Windows_Services_Cortana_ICortanaSettingsStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Services_Cortana_ICortanaSettingsStatics<D>::GetDefault() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Cortana::ICortanaSettingsStatics)->GetDefault(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.Guidance.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.Guidance.h
index 82c108ac75a..4d22df44b04 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.Guidance.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotificationKind) consume_Windows_Services_Maps_Guidance_IGuidanceAudioNotificationRequestedEventArgs<D>::AudioNotification() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceAudioNotificationRequestedEventArgs<D>::AudioNotification() const
{
winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotificationKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceAudioNotificationRequestedEventArgs)->get_AudioNotification(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Services_Maps_Guidance_IGuidanceAudioNotificationRequestedEventArgs<D>::AudioFilePaths() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceAudioNotificationRequestedEventArgs<D>::AudioFilePaths() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceAudioNotificationRequestedEventArgs)->get_AudioFilePaths(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceAudioNotificationRequestedEventArgs<D>::AudioText() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceAudioNotificationRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceLaneMarkers) consume_Windows_Services_Maps_Guidance_IGuidanceLaneInfo<D>::LaneMarkers() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceLaneInfo<D>::LaneMarkers() const
{
winrt::Windows::Services::Maps::Guidance::GuidanceLaneMarkers value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceLaneInfo)->get_LaneMarkers(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceLaneInfo<D>::IsOnRoute() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceLaneInfo<D>::IsOnRoute() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceLaneInfo)->get_IsOnRoute(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::StartLocation() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::DistanceFromRouteStart() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::DistanceFromRouteStart() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver)->get_DistanceFromRouteStart(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::DistanceFromPreviousManeuver() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::DistanceFromPreviousManeuver() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver)->get_DistanceFromPreviousManeuver(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::DepartureRoadName() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::NextRoadName() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::DepartureShortRoadName() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::NextShortRoadName() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceManeuverKind) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::Kind() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::Kind() const
{
winrt::Windows::Services::Maps::Guidance::GuidanceManeuverKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::StartAngle() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::StartAngle() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver)->get_StartAngle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::EndAngle() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::EndAngle() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver)->get_EndAngle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceRoadSignpost) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::RoadSignpost() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::InstructionText() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceManeuver<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate<D>::Location() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate<D>::CurrentHeading() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate<D>::CurrentHeading() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceMapMatchedCoordinate)->get_CurrentHeading(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate<D>::CurrentSpeed() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate<D>::CurrentSpeed() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceMapMatchedCoordinate)->get_CurrentSpeed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate<D>::IsOnStreet() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate<D>::IsOnStreet() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceMapMatchedCoordinate)->get_IsOnStreet(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceRoadSegment) consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate<D>::Road() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceMapMatchedCoordinate<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::StartNavigating(winrt::Windows::Services::Maps::Guidance::GuidanceRoute const& route) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::StartSimulating(winrt::Windows::Services::Maps::Guidance::GuidanceRoute const& route, int32_t speedInMetersPerSecond) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::StartTracking() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::StartTracking() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->StartTracking());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Pause() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Pause() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->Pause());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Resume() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Resume() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->Resume());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Stop() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::RepeatLastAudioNotification() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::RepeatLastAudioNotification() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->RepeatLastAudioNotification());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceAudioMeasurementSystem) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::AudioMeasurementSystem() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::AudioMeasurementSystem() const
{
winrt::Windows::Services::Maps::Guidance::GuidanceAudioMeasurementSystem value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->get_AudioMeasurementSystem(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::AudioMeasurementSystem(winrt::Windows::Services::Maps::Guidance::GuidanceAudioMeasurementSystem const& value) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotifications) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::AudioNotifications() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::AudioNotifications() const
{
winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotifications value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->get_AudioNotifications(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::AudioNotifications(winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotifications const& value) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::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<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::GuidanceUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::GuidanceUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceUpdatedEventArgs> 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 D> typename consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::GuidanceUpdated_revoker consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::GuidanceUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::GuidanceUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceUpdatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, GuidanceUpdated_revoker>(this, GuidanceUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::GuidanceUpdated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::GuidanceUpdated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->remove_GuidanceUpdated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::DestinationReached(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::DestinationReached(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::DestinationReached_revoker consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::DestinationReached(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::DestinationReached(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, DestinationReached_revoker>(this, DestinationReached(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::DestinationReached(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::DestinationReached(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->remove_DestinationReached(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Rerouting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Rerouting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Rerouting_revoker consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Rerouting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Rerouting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Rerouting_revoker>(this, Rerouting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Rerouting(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Rerouting(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->remove_Rerouting(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Rerouted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceReroutedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Rerouted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceReroutedEventArgs> 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 D> typename consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Rerouted_revoker consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Rerouted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceReroutedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Rerouted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceReroutedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Rerouted_revoker>(this, Rerouted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Rerouted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::Rerouted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->remove_Rerouted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::RerouteFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::RerouteFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::RerouteFailed_revoker consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::RerouteFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::RerouteFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, RerouteFailed_revoker>(this, RerouteFailed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::RerouteFailed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::RerouteFailed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->remove_RerouteFailed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::UserLocationLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::UserLocationLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::UserLocationLost_revoker consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::UserLocationLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::UserLocationLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, UserLocationLost_revoker>(this, UserLocationLost(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::UserLocationLost(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::UserLocationLost(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->remove_UserLocationLost(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::UserLocationRestored(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::UserLocationRestored(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::UserLocationRestored_revoker consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::UserLocationRestored(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::UserLocationRestored(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, UserLocationRestored_revoker>(this, UserLocationRestored(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::UserLocationRestored(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::UserLocationRestored(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->remove_UserLocationRestored(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::SetGuidanceVoice(int32_t voiceId, param::hstring const& voiceFolder) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::UpdateUserLocation(winrt::Windows::Devices::Geolocation::Geocoordinate const& userLocation) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::UpdateUserLocation(winrt::Windows::Devices::Geolocation::Geocoordinate const& userLocation) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator)->UpdateUserLocation(*(void**)(&userLocation)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::UpdateUserLocation(winrt::Windows::Devices::Geolocation::Geocoordinate const& userLocation, winrt::Windows::Devices::Geolocation::BasicGeoposition const& positionOverride) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2<D>::AudioNotificationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotificationRequestedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2<D>::AudioNotificationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotificationRequestedEventArgs> 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 D> typename consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2<D>::AudioNotificationRequested_revoker consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2<D>::AudioNotificationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotificationRequestedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2<D>::AudioNotificationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotificationRequestedEventArgs> const& value) const
{
return impl::make_event_revoker<D, AudioNotificationRequested_revoker>(this, AudioNotificationRequested(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2<D>::AudioNotificationRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2<D>::AudioNotificationRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator2)->remove_AudioNotificationRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2<D>::IsGuidanceAudioMuted() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2<D>::IsGuidanceAudioMuted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator2)->get_IsGuidanceAudioMuted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2<D>::IsGuidanceAudioMuted(bool value) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2<D>::IsGuidanceAudioMuted(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator2)->put_IsGuidanceAudioMuted(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceNavigator) consume_Windows_Services_Maps_Guidance_IGuidanceNavigatorStatics<D>::GetCurrent() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigatorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceNavigatorStatics2<D>::UseAppProvidedVoice() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceNavigatorStatics2<D>::UseAppProvidedVoice() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceNavigatorStatics2)->get_UseAppProvidedVoice(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceRoute) consume_Windows_Services_Maps_Guidance_IGuidanceReroutedEventArgs<D>::Route() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceReroutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::RoadName() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::ShortRoadName() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::SpeedLimit() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::SpeedLimit() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSegment)->get_SpeedLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::TravelTime() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::Path() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::Id() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::IsHighway() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::IsHighway() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSegment)->get_IsHighway(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::IsTunnel() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::IsTunnel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSegment)->get_IsTunnel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::IsTollRoad() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment<D>::IsTollRoad() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSegment)->get_IsTollRoad(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment2<D>::IsScenic() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment2<D>::IsScenic() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSegment2)->get_IsScenic(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost<D>::ExitNumber() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost<D>::Exit() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost<D>::BackgroundColor() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost<D>::ForegroundColor() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost<D>::ExitDirections() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoadSignpost<D>::ExitDirections() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSignpost)->get_ExitDirections(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_Guidance_IGuidanceRoute<D>::Duration() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoute<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceRoute<D>::Distance() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoute<D>::Distance() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoute)->get_Distance(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::Guidance::GuidanceManeuver>) consume_Windows_Services_Maps_Guidance_IGuidanceRoute<D>::Maneuvers() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoute<D>::Maneuvers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoute)->get_Maneuvers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::Guidance::GuidanceManeuver>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Services_Maps_Guidance_IGuidanceRoute<D>::BoundingBox() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoute<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_Services_Maps_Guidance_IGuidanceRoute<D>::Path() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoute<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::Guidance::GuidanceRoadSegment>) consume_Windows_Services_Maps_Guidance_IGuidanceRoute<D>::RoadSegments() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoute<D>::RoadSegments() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceRoute)->get_RoadSegments(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::Guidance::GuidanceRoadSegment>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRoute) consume_Windows_Services_Maps_Guidance_IGuidanceRoute<D>::ConvertToMapRoute() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRoute<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceRouteStatics<D>::CanCreateFromMapRoute(winrt::Windows::Services::Maps::MapRoute const& mapRoute) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRouteStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceRoute) consume_Windows_Services_Maps_Guidance_IGuidanceRouteStatics<D>::TryCreateFromMapRoute(winrt::Windows::Services::Maps::MapRoute const& mapRoute) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceRouteStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector<D>::Enabled() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector<D>::Enabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceTelemetryCollector)->get_Enabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector<D>::Enabled(bool value) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector<D>::Enabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceTelemetryCollector)->put_Enabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector<D>::ClearLocalData() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector<D>::ClearLocalData() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceTelemetryCollector)->ClearLocalData());
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector<D>::SpeedTrigger() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector<D>::SpeedTrigger() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceTelemetryCollector)->get_SpeedTrigger(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector<D>::SpeedTrigger(double value) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector<D>::SpeedTrigger(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceTelemetryCollector)->put_SpeedTrigger(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector<D>::UploadFrequency() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector<D>::UploadFrequency() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceTelemetryCollector)->get_UploadFrequency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector<D>::UploadFrequency(int32_t value) const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollector<D>::UploadFrequency(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceTelemetryCollector)->put_UploadFrequency(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceTelemetryCollector) consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollectorStatics<D>::GetCurrent() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollectorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceMode) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::Mode() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::Mode() const
{
winrt::Windows::Services::Maps::Guidance::GuidanceMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceManeuver) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::NextManeuver() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::NextManeuverDistance() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::NextManeuverDistance() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_NextManeuverDistance(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceManeuver) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::AfterNextManeuver() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::AfterNextManeuverDistance() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::AfterNextManeuverDistance() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_AfterNextManeuverDistance(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::DistanceToDestination() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::DistanceToDestination() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_DistanceToDestination(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::ElapsedDistance() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::ElapsedDistance() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_ElapsedDistance(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::ElapsedTime() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::TimeToDestination() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::RoadName() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceRoute) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::Route() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceMapMatchedCoordinate) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::CurrentLocation() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::IsNewManeuver() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::IsNewManeuver() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_IsNewManeuver(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::Guidance::GuidanceLaneInfo>) consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::LaneInfo() const
+ template <typename D> auto consume_Windows_Services_Maps_Guidance_IGuidanceUpdatedEventArgs<D>::LaneInfo() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs)->get_LaneInfo(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.LocalSearch.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.LocalSearch.h
index c68d05d7c4b..dbad1cc7520 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.LocalSearch.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics<D>::BankAndCreditUnions() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics<D>::EatDrink() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics<D>::Hospitals() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics<D>::HotelsAndMotels() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics<D>::All() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics<D>::Parking() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics<D>::SeeDo() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics<D>::Shop() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalCategoriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapAddress) consume_Windows_Services_Maps_LocalSearch_ILocalLocation<D>::Address() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalLocation<D>::Identifier() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalLocation<D>::Description() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalLocation<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Services_Maps_LocalSearch_ILocalLocation<D>::Point() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalLocation<D>::PhoneNumber() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalLocation<D>::DataAttribution() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalLocation2<D>::Category() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::LocalSearch::LocalLocationRatingInfo) consume_Windows_Services_Maps_LocalSearch_ILocalLocation2<D>::RatingInfo() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::LocalSearch::LocalLocationHoursOfOperationItem>) consume_Windows_Services_Maps_LocalSearch_ILocalLocation2<D>::HoursOfOperation() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocation2<D>::HoursOfOperation() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocation2)->get_HoursOfOperation(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::LocalSearch::LocalLocationHoursOfOperationItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::LocalSearch::LocalLocation>) consume_Windows_Services_Maps_LocalSearch_ILocalLocationFinderResult<D>::LocalLocations() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationFinderResult<D>::LocalLocations() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocationFinderResult)->get_LocalLocations(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::LocalSearch::LocalLocation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::LocalSearch::LocalLocationFinderStatus) consume_Windows_Services_Maps_LocalSearch_ILocalLocationFinderResult<D>::Status() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationFinderResult<D>::Status() const
{
winrt::Windows::Services::Maps::LocalSearch::LocalLocationFinderStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocationFinderResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::LocalSearch::LocalLocationFinderResult>) consume_Windows_Services_Maps_LocalSearch_ILocalLocationFinderStatics<D>::FindLocalLocationsAsync(param::hstring const& searchTerm, winrt::Windows::Devices::Geolocation::Geocircle const& searchArea, param::hstring const& localCategory, uint32_t maxResults) const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationFinderStatics<D>::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<winrt::Windows::Services::Maps::LocalSearch::LocalLocationFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) consume_Windows_Services_Maps_LocalSearch_ILocalLocationHoursOfOperationItem<D>::Day() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationHoursOfOperationItem<D>::Day() const
{
winrt::Windows::Globalization::DayOfWeek value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocationHoursOfOperationItem)->get_Day(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_LocalSearch_ILocalLocationHoursOfOperationItem<D>::Start() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationHoursOfOperationItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_LocalSearch_ILocalLocationHoursOfOperationItem<D>::Span() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationHoursOfOperationItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Services_Maps_LocalSearch_ILocalLocationRatingInfo<D>::AggregateRating() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationRatingInfo<D>::AggregateRating() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocationRatingInfo)->get_AggregateRating(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_Services_Maps_LocalSearch_ILocalLocationRatingInfo<D>::RatingCount() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationRatingInfo<D>::RatingCount() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::LocalSearch::ILocalLocationRatingInfo)->get_RatingCount(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_LocalSearch_ILocalLocationRatingInfo<D>::ProviderIdentifier() const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_ILocalLocationRatingInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) consume_Windows_Services_Maps_LocalSearch_IPlaceInfoHelperStatics<D>::CreateFromLocalLocation(winrt::Windows::Services::Maps::LocalSearch::LocalLocation const& location) const
+ template <typename D> auto consume_Windows_Services_Maps_LocalSearch_IPlaceInfoHelperStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.OfflineMaps.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.OfflineMaps.h
index 947f3997840..404a7b1ed0d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.OfflineMaps.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageStatus) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage<D>::Status() const
+ template <typename D> auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage<D>::Status() const
{
winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackage)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage<D>::EnclosingRegionName() const
+ template <typename D> auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage<D>::EstimatedSizeInBytes() const
+ template <typename D> auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage<D>::EstimatedSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackage)->get_EstimatedSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage<D>::StatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage<D>::StatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackage)->remove_StatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage<D>::StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackage, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage<D>::StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackage, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage<D>::StatusChanged_revoker consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage<D>::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackage, winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage<D>::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackage, winrt::Windows::Foundation::IInspectable> const& value) const
{
return impl::make_event_revoker<D, StatusChanged_revoker>(this, StatusChanged(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageStartDownloadResult>) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage<D>::RequestStartDownloadAsync() const
+ template <typename D> auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackage<D>::RequestStartDownloadAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackage)->RequestStartDownloadAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageStartDownloadResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageQueryStatus) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageQueryResult<D>::Status() const
+ template <typename D> auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageQueryResult<D>::Status() const
{
winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageQueryStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackageQueryResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackage>) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageQueryResult<D>::Packages() const
+ template <typename D> auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageQueryResult<D>::Packages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackageQueryResult)->get_Packages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackage>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageStartDownloadStatus) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStartDownloadResult<D>::Status() const
+ template <typename D> auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStartDownloadResult<D>::Status() const
{
winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageStartDownloadStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackageStartDownloadResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageQueryResult>) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStatics<D>::FindPackagesAsync(winrt::Windows::Devices::Geolocation::Geopoint const& queryPoint) const
+ template <typename D> auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStatics<D>::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<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageQueryResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageQueryResult>) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStatics<D>::FindPackagesInBoundingBoxAsync(winrt::Windows::Devices::Geolocation::GeoboundingBox const& queryBoundingBox) const
+ template <typename D> auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStatics<D>::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<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageQueryResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageQueryResult>) consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStatics<D>::FindPackagesInGeocircleAsync(winrt::Windows::Devices::Geolocation::Geocircle const& queryCircle) const
+ template <typename D> auto consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.h
index 41d41fd3ac3..ea81f390bd9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Maps.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Services_Maps_IEnhancedWaypoint<D>::Point() const
+ template <typename D> auto consume_Windows_Services_Maps_IEnhancedWaypoint<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::WaypointKind) consume_Windows_Services_Maps_IEnhancedWaypoint<D>::Kind() const
+ template <typename D> auto consume_Windows_Services_Maps_IEnhancedWaypoint<D>::Kind() const
{
winrt::Windows::Services::Maps::WaypointKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IEnhancedWaypoint)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::EnhancedWaypoint) consume_Windows_Services_Maps_IEnhancedWaypointFactory<D>::Create(winrt::Windows::Devices::Geolocation::Geopoint const& point, winrt::Windows::Services::Maps::WaypointKind const& kind) const
+ template <typename D> auto consume_Windows_Services_Maps_IEnhancedWaypointFactory<D>::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<int32_t>(kind), &value));
return winrt::Windows::Services::Maps::EnhancedWaypoint{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::ManeuverWarningKind) consume_Windows_Services_Maps_IManeuverWarning<D>::Kind() const
+ template <typename D> auto consume_Windows_Services_Maps_IManeuverWarning<D>::Kind() const
{
winrt::Windows::Services::Maps::ManeuverWarningKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IManeuverWarning)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::ManeuverWarningSeverity) consume_Windows_Services_Maps_IManeuverWarning<D>::Severity() const
+ template <typename D> auto consume_Windows_Services_Maps_IManeuverWarning<D>::Severity() const
{
winrt::Windows::Services::Maps::ManeuverWarningSeverity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IManeuverWarning)->get_Severity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress<D>::BuildingName() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress<D>::BuildingFloor() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress<D>::BuildingRoom() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress<D>::BuildingWing() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress<D>::StreetNumber() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress<D>::Street() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress<D>::Neighborhood() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress<D>::District() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress<D>::Town() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress<D>::Region() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress<D>::RegionCode() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress<D>::Country() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress<D>::CountryCode() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress<D>::PostCode() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress<D>::Continent() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapAddress<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapAddress2<D>::FormattedAddress() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapAddress2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Services_Maps_IMapLocation<D>::Point() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapLocation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapLocation<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapLocation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapLocation<D>::Description() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapLocation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapAddress) consume_Windows_Services_Maps_IMapLocation<D>::Address() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapLocation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::MapLocation>) consume_Windows_Services_Maps_IMapLocationFinderResult<D>::Locations() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapLocationFinderResult<D>::Locations() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapLocationFinderResult)->get_Locations(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::MapLocation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapLocationFinderStatus) consume_Windows_Services_Maps_IMapLocationFinderResult<D>::Status() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapLocationFinderResult<D>::Status() const
{
winrt::Windows::Services::Maps::MapLocationFinderStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapLocationFinderResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapLocationFinderResult>) consume_Windows_Services_Maps_IMapLocationFinderStatics<D>::FindLocationsAtAsync(winrt::Windows::Devices::Geolocation::Geopoint const& queryPoint) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapLocationFinderStatics<D>::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<winrt::Windows::Services::Maps::MapLocationFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapLocationFinderResult>) consume_Windows_Services_Maps_IMapLocationFinderStatics<D>::FindLocationsAsync(param::hstring const& searchText, winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapLocationFinderStatics<D>::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<winrt::Windows::Services::Maps::MapLocationFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapLocationFinderResult>) consume_Windows_Services_Maps_IMapLocationFinderStatics<D>::FindLocationsAsync(param::hstring const& searchText, winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint, uint32_t maxCount) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapLocationFinderStatics<D>::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<winrt::Windows::Services::Maps::MapLocationFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapLocationFinderResult>) consume_Windows_Services_Maps_IMapLocationFinderStatics2<D>::FindLocationsAtAsync(winrt::Windows::Devices::Geolocation::Geopoint const& queryPoint, winrt::Windows::Services::Maps::MapLocationDesiredAccuracy const& accuracy) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapLocationFinderStatics2<D>::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<int32_t>(accuracy), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapLocationFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapManagerStatics<D>::ShowDownloadedMapsUI() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapManagerStatics<D>::ShowDownloadedMapsUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapManagerStatics)->ShowDownloadedMapsUI());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapManagerStatics<D>::ShowMapsUpdateUI() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapManagerStatics<D>::ShowMapsUpdateUI() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapManagerStatics)->ShowMapsUpdateUI());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Services_Maps_IMapRoute<D>::BoundingBox() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRoute<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_IMapRoute<D>::LengthInMeters() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRoute<D>::LengthInMeters() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute)->get_LengthInMeters(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_IMapRoute<D>::EstimatedDuration() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRoute<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_Services_Maps_IMapRoute<D>::Path() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRoute<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::MapRouteLeg>) consume_Windows_Services_Maps_IMapRoute<D>::Legs() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRoute<D>::Legs() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute)->get_Legs(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::MapRouteLeg>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_IMapRoute<D>::IsTrafficBased() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRoute<D>::IsTrafficBased() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute)->get_IsTrafficBased(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRouteRestrictions) consume_Windows_Services_Maps_IMapRoute2<D>::ViolatedRestrictions() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRoute2<D>::ViolatedRestrictions() const
{
winrt::Windows::Services::Maps::MapRouteRestrictions value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute2)->get_ViolatedRestrictions(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_IMapRoute2<D>::HasBlockedRoads() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRoute2<D>::HasBlockedRoads() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute2)->get_HasBlockedRoads(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_IMapRoute3<D>::DurationWithoutTraffic() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRoute3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::TrafficCongestion) consume_Windows_Services_Maps_IMapRoute3<D>::TrafficCongestion() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRoute3<D>::TrafficCongestion() const
{
winrt::Windows::Services::Maps::TrafficCongestion value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute3)->get_TrafficCongestion(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_IMapRoute4<D>::IsScenic() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRoute4<D>::IsScenic() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRoute4)->get_IsScenic(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_Maps_IMapRouteDrivingOptions<D>::MaxAlternateRouteCount() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteDrivingOptions<D>::MaxAlternateRouteCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions)->get_MaxAlternateRouteCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapRouteDrivingOptions<D>::MaxAlternateRouteCount(uint32_t value) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteDrivingOptions<D>::MaxAlternateRouteCount(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions)->put_MaxAlternateRouteCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Services_Maps_IMapRouteDrivingOptions<D>::InitialHeading() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteDrivingOptions<D>::InitialHeading() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions)->get_InitialHeading(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapRouteDrivingOptions<D>::InitialHeading(winrt::Windows::Foundation::IReference<double> const& value) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteDrivingOptions<D>::InitialHeading(winrt::Windows::Foundation::IReference<double> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions)->put_InitialHeading(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRouteOptimization) consume_Windows_Services_Maps_IMapRouteDrivingOptions<D>::RouteOptimization() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteDrivingOptions<D>::RouteOptimization() const
{
winrt::Windows::Services::Maps::MapRouteOptimization value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions)->get_RouteOptimization(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapRouteDrivingOptions<D>::RouteOptimization(winrt::Windows::Services::Maps::MapRouteOptimization const& value) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteDrivingOptions<D>::RouteOptimization(winrt::Windows::Services::Maps::MapRouteOptimization const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions)->put_RouteOptimization(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRouteRestrictions) consume_Windows_Services_Maps_IMapRouteDrivingOptions<D>::RouteRestrictions() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteDrivingOptions<D>::RouteRestrictions() const
{
winrt::Windows::Services::Maps::MapRouteRestrictions value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions)->get_RouteRestrictions(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapRouteDrivingOptions<D>::RouteRestrictions(winrt::Windows::Services::Maps::MapRouteRestrictions const& value) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteDrivingOptions<D>::RouteRestrictions(winrt::Windows::Services::Maps::MapRouteRestrictions const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions)->put_RouteRestrictions(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Services_Maps_IMapRouteDrivingOptions2<D>::DepartureTime() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteDrivingOptions2<D>::DepartureTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions2)->get_DepartureTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapRouteDrivingOptions2<D>::DepartureTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteDrivingOptions2<D>::DepartureTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteDrivingOptions2)->put_DepartureTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRoute) consume_Windows_Services_Maps_IMapRouteFinderResult<D>::Route() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteFinderResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRouteFinderStatus) consume_Windows_Services_Maps_IMapRouteFinderResult<D>::Status() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteFinderResult<D>::Status() const
{
winrt::Windows::Services::Maps::MapRouteFinderStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::MapRoute>) consume_Windows_Services_Maps_IMapRouteFinderResult2<D>::AlternateRoutes() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteFinderResult2<D>::AlternateRoutes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderResult2)->get_AlternateRoutes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::MapRoute>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::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<winrt::Windows::Services::Maps::MapRouteFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::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<int32_t>(optimization), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::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 <typename D> auto consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::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<int32_t>(optimization), static_cast<uint32_t>(restrictions), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::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 <typename D> auto consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::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<int32_t>(optimization), static_cast<uint32_t>(restrictions), headingInDegrees, &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::GetDrivingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> const& wayPoints) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::GetDrivingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> const& wayPoints) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderStatics)->GetDrivingRouteFromWaypointsAsync(*(void**)(&wayPoints), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::GetDrivingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::GetDrivingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> 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<int32_t>(optimization), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::GetDrivingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::GetDrivingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> 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<int32_t>(optimization), static_cast<uint32_t>(restrictions), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::GetDrivingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions, double headingInDegrees) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::GetDrivingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> 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<int32_t>(optimization), static_cast<uint32_t>(restrictions), headingInDegrees, &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::GetWalkingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::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<winrt::Windows::Services::Maps::MapRouteFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::GetWalkingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> const& wayPoints) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteFinderStatics<D>::GetWalkingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> const& wayPoints) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderStatics)->GetWalkingRouteFromWaypointsAsync(*(void**)(&wayPoints), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) consume_Windows_Services_Maps_IMapRouteFinderStatics2<D>::GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint, winrt::Windows::Services::Maps::MapRouteDrivingOptions const& options) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteFinderStatics2<D>::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<winrt::Windows::Services::Maps::MapRouteFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) consume_Windows_Services_Maps_IMapRouteFinderStatics3<D>::GetDrivingRouteFromEnhancedWaypointsAsync(param::async_iterable<winrt::Windows::Services::Maps::EnhancedWaypoint> const& waypoints) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteFinderStatics3<D>::GetDrivingRouteFromEnhancedWaypointsAsync(param::async_iterable<winrt::Windows::Services::Maps::EnhancedWaypoint> const& waypoints) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteFinderStatics3)->GetDrivingRouteFromEnhancedWaypointsAsync(*(void**)(&waypoints), &result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) consume_Windows_Services_Maps_IMapRouteFinderStatics3<D>::GetDrivingRouteFromEnhancedWaypointsAsync(param::async_iterable<winrt::Windows::Services::Maps::EnhancedWaypoint> const& waypoints, winrt::Windows::Services::Maps::MapRouteDrivingOptions const& options) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteFinderStatics3<D>::GetDrivingRouteFromEnhancedWaypointsAsync(param::async_iterable<winrt::Windows::Services::Maps::EnhancedWaypoint> 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<winrt::Windows::Services::Maps::MapRouteFinderResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_Services_Maps_IMapRouteLeg<D>::BoundingBox() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteLeg<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_Services_Maps_IMapRouteLeg<D>::Path() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteLeg<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_IMapRouteLeg<D>::LengthInMeters() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteLeg<D>::LengthInMeters() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteLeg)->get_LengthInMeters(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_IMapRouteLeg<D>::EstimatedDuration() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteLeg<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::MapRouteManeuver>) consume_Windows_Services_Maps_IMapRouteLeg<D>::Maneuvers() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteLeg<D>::Maneuvers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteLeg)->get_Maneuvers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::MapRouteManeuver>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Maps_IMapRouteLeg2<D>::DurationWithoutTraffic() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteLeg2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::TrafficCongestion) consume_Windows_Services_Maps_IMapRouteLeg2<D>::TrafficCongestion() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteLeg2<D>::TrafficCongestion() const
{
winrt::Windows::Services::Maps::TrafficCongestion value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteLeg2)->get_TrafficCongestion(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_Services_Maps_IMapRouteManeuver<D>::StartingPoint() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteManeuver<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_IMapRouteManeuver<D>::LengthInMeters() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteManeuver<D>::LengthInMeters() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteManeuver)->get_LengthInMeters(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapRouteManeuver<D>::InstructionText() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteManeuver<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRouteManeuverKind) consume_Windows_Services_Maps_IMapRouteManeuver<D>::Kind() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteManeuver<D>::Kind() const
{
winrt::Windows::Services::Maps::MapRouteManeuverKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteManeuver)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapRouteManeuver<D>::ExitNumber() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteManeuver<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapManeuverNotices) consume_Windows_Services_Maps_IMapRouteManeuver<D>::ManeuverNotices() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteManeuver<D>::ManeuverNotices() const
{
winrt::Windows::Services::Maps::MapManeuverNotices value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteManeuver)->get_ManeuverNotices(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_IMapRouteManeuver2<D>::StartHeading() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteManeuver2<D>::StartHeading() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteManeuver2)->get_StartHeading(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Services_Maps_IMapRouteManeuver2<D>::EndHeading() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteManeuver2<D>::EndHeading() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteManeuver2)->get_EndHeading(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapRouteManeuver2<D>::StreetName() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteManeuver2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::ManeuverWarning>) consume_Windows_Services_Maps_IMapRouteManeuver3<D>::Warnings() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapRouteManeuver3<D>::Warnings() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapRouteManeuver3)->get_Warnings(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::ManeuverWarning>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapServiceStatics<D>::ServiceToken(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapServiceStatics<D>::ServiceToken(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapServiceStatics)->put_ServiceToken(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapServiceStatics<D>::ServiceToken() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapServiceStatics2<D>::WorldViewRegionCode() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapServiceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IMapServiceStatics3<D>::DataAttributions() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapServiceStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IMapServiceStatics4<D>::DataUsagePreference(winrt::Windows::Services::Maps::MapServiceDataUsagePreference const& value) const
+ template <typename D> auto consume_Windows_Services_Maps_IMapServiceStatics4<D>::DataUsagePreference(winrt::Windows::Services::Maps::MapServiceDataUsagePreference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapServiceStatics4)->put_DataUsagePreference(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapServiceDataUsagePreference) consume_Windows_Services_Maps_IMapServiceStatics4<D>::DataUsagePreference() const
+ template <typename D> auto consume_Windows_Services_Maps_IMapServiceStatics4<D>::DataUsagePreference() const
{
winrt::Windows::Services::Maps::MapServiceDataUsagePreference value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IMapServiceStatics4)->get_DataUsagePreference(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IPlaceInfo<D>::Show(winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfo<D>::Show(winrt::Windows::Foundation::Rect const& selection) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfo)->Show(impl::bind_in(selection)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IPlaceInfo<D>::Show(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfo<D>::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<int32_t>(preferredPlacement)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IPlaceInfo<D>::Identifier() const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IPlaceInfo<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IPlaceInfo<D>::DisplayAddress() const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::IGeoshape) consume_Windows_Services_Maps_IPlaceInfo<D>::Geoshape() const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IPlaceInfoCreateOptions<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfoCreateOptions<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfoCreateOptions)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IPlaceInfoCreateOptions<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfoCreateOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Maps_IPlaceInfoCreateOptions<D>::DisplayAddress(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfoCreateOptions<D>::DisplayAddress(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfoCreateOptions)->put_DisplayAddress(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Maps_IPlaceInfoCreateOptions<D>::DisplayAddress() const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfoCreateOptions<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) consume_Windows_Services_Maps_IPlaceInfoStatics<D>::Create(winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint) const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) consume_Windows_Services_Maps_IPlaceInfoStatics<D>::Create(winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint, winrt::Windows::Services::Maps::PlaceInfoCreateOptions const& options) const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) consume_Windows_Services_Maps_IPlaceInfoStatics<D>::CreateFromIdentifier(param::hstring const& identifier) const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) consume_Windows_Services_Maps_IPlaceInfoStatics<D>::CreateFromIdentifier(param::hstring const& identifier, winrt::Windows::Devices::Geolocation::Geopoint const& defaultPoint, winrt::Windows::Services::Maps::PlaceInfoCreateOptions const& options) const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) consume_Windows_Services_Maps_IPlaceInfoStatics<D>::CreateFromMapLocation(winrt::Windows::Services::Maps::MapLocation const& location) const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Maps_IPlaceInfoStatics<D>::IsShowSupported() const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfoStatics<D>::IsShowSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Maps::IPlaceInfoStatics)->get_IsShowSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) consume_Windows_Services_Maps_IPlaceInfoStatics2<D>::CreateFromAddress(param::hstring const& displayAddress) const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfoStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::PlaceInfo) consume_Windows_Services_Maps_IPlaceInfoStatics2<D>::CreateFromAddress(param::hstring const& displayAddress, param::hstring const& displayName) const
+ template <typename D> auto consume_Windows_Services_Maps_IPlaceInfoStatics2<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Store.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Store.h
index 23e927c2f96..7df5b4a2c92 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.Store.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePackageLicense) consume_Windows_Services_Store_IStoreAcquireLicenseResult<D>::StorePackageLicense() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAcquireLicenseResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreAcquireLicenseResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAcquireLicenseResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAcquireLicenseResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreAppLicense<D>::SkuStoreId() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAppLicense<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreAppLicense<D>::IsActive() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAppLicense<D>::IsActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAppLicense)->get_IsActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreAppLicense<D>::IsTrial() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAppLicense<D>::IsTrial() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAppLicense)->get_IsTrial(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Services_Store_IStoreAppLicense<D>::ExpirationDate() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAppLicense<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreAppLicense<D>::ExtendedJsonData() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAppLicense<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Services::Store::StoreLicense>) consume_Windows_Services_Store_IStoreAppLicense<D>::AddOnLicenses() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAppLicense<D>::AddOnLicenses() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAppLicense)->get_AddOnLicenses(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Services::Store::StoreLicense>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Store_IStoreAppLicense<D>::TrialTimeRemaining() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAppLicense<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreAppLicense<D>::IsTrialOwnedByThisUser() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAppLicense<D>::IsTrialOwnedByThisUser() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAppLicense)->get_IsTrialOwnedByThisUser(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreAppLicense<D>::TrialUniqueId() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAppLicense<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreAppLicense2<D>::IsDiscLicense() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAppLicense2<D>::IsDiscLicense() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAppLicense2)->get_IsDiscLicense(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreAvailability<D>::StoreId() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAvailability<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Services_Store_IStoreAvailability<D>::EndDate() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAvailability<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePrice) consume_Windows_Services_Store_IStoreAvailability<D>::Price() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAvailability<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreAvailability<D>::ExtendedJsonData() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAvailability<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>) consume_Windows_Services_Store_IStoreAvailability<D>::RequestPurchaseAsync() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAvailability<D>::RequestPurchaseAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreAvailability)->RequestPurchaseAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>) consume_Windows_Services_Store_IStoreAvailability<D>::RequestPurchaseAsync(winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreAvailability<D>::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<winrt::Windows::Services::Store::StorePurchaseResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreCanAcquireLicenseResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreCanAcquireLicenseResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreCanAcquireLicenseResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreCanAcquireLicenseResult<D>::LicensableSku() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreCanAcquireLicenseResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreCanLicenseStatus) consume_Windows_Services_Store_IStoreCanAcquireLicenseResult<D>::Status() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreCanAcquireLicenseResult<D>::Status() const
{
winrt::Windows::Services::Store::StoreCanLicenseStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreCanAcquireLicenseResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreCollectionData<D>::IsTrial() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreCollectionData<D>::IsTrial() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreCollectionData)->get_IsTrial(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreCollectionData<D>::CampaignId() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreCollectionData<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreCollectionData<D>::DeveloperOfferId() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreCollectionData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Services_Store_IStoreCollectionData<D>::AcquiredDate() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreCollectionData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Services_Store_IStoreCollectionData<D>::StartDate() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreCollectionData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Services_Store_IStoreCollectionData<D>::EndDate() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreCollectionData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Services_Store_IStoreCollectionData<D>::TrialTimeRemaining() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreCollectionData<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreCollectionData<D>::ExtendedJsonData() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreCollectionData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreConsumableStatus) consume_Windows_Services_Store_IStoreConsumableResult<D>::Status() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreConsumableResult<D>::Status() const
{
winrt::Windows::Services::Store::StoreConsumableStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreConsumableResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Services_Store_IStoreConsumableResult<D>::TrackingId() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreConsumableResult<D>::TrackingId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreConsumableResult)->get_TrackingId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_Store_IStoreConsumableResult<D>::BalanceRemaining() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreConsumableResult<D>::BalanceRemaining() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreConsumableResult)->get_BalanceRemaining(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreConsumableResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreConsumableResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreConsumableResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Services_Store_IStoreContext<D>::User() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Store_IStoreContext<D>::OfflineLicensesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreContext, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::OfflineLicensesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreContext, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Services_Store_IStoreContext<D>::OfflineLicensesChanged_revoker consume_Windows_Services_Store_IStoreContext<D>::OfflineLicensesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreContext, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::OfflineLicensesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreContext, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, OfflineLicensesChanged_revoker>(this, OfflineLicensesChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Store_IStoreContext<D>::OfflineLicensesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::OfflineLicensesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->remove_OfflineLicensesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Services_Store_IStoreContext<D>::GetCustomerPurchaseIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::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<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Services_Store_IStoreContext<D>::GetCustomerCollectionsIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::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<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreAppLicense>) consume_Windows_Services_Store_IStoreContext<D>::GetAppLicenseAsync() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::GetAppLicenseAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->GetAppLicenseAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreAppLicense>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductResult>) consume_Windows_Services_Store_IStoreContext<D>::GetStoreProductForCurrentAppAsync() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::GetStoreProductForCurrentAppAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->GetStoreProductForCurrentAppAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductQueryResult>) consume_Windows_Services_Store_IStoreContext<D>::GetStoreProductsAsync(param::async_iterable<hstring> const& productKinds, param::async_iterable<hstring> const& storeIds) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::GetStoreProductsAsync(param::async_iterable<hstring> const& productKinds, param::async_iterable<hstring> 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<winrt::Windows::Services::Store::StoreProductQueryResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductQueryResult>) consume_Windows_Services_Store_IStoreContext<D>::GetAssociatedStoreProductsAsync(param::async_iterable<hstring> const& productKinds) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::GetAssociatedStoreProductsAsync(param::async_iterable<hstring> const& productKinds) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->GetAssociatedStoreProductsAsync(*(void**)(&productKinds), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductQueryResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductPagedQueryResult>) consume_Windows_Services_Store_IStoreContext<D>::GetAssociatedStoreProductsWithPagingAsync(param::async_iterable<hstring> const& productKinds, uint32_t maxItemsToRetrievePerPage) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::GetAssociatedStoreProductsWithPagingAsync(param::async_iterable<hstring> 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<winrt::Windows::Services::Store::StoreProductPagedQueryResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductQueryResult>) consume_Windows_Services_Store_IStoreContext<D>::GetUserCollectionAsync(param::async_iterable<hstring> const& productKinds) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::GetUserCollectionAsync(param::async_iterable<hstring> const& productKinds) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->GetUserCollectionAsync(*(void**)(&productKinds), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductQueryResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductPagedQueryResult>) consume_Windows_Services_Store_IStoreContext<D>::GetUserCollectionWithPagingAsync(param::async_iterable<hstring> const& productKinds, uint32_t maxItemsToRetrievePerPage) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::GetUserCollectionWithPagingAsync(param::async_iterable<hstring> 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<winrt::Windows::Services::Store::StoreProductPagedQueryResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreConsumableResult>) consume_Windows_Services_Store_IStoreContext<D>::ReportConsumableFulfillmentAsync(param::hstring const& productStoreId, uint32_t quantity, winrt::guid const& trackingId) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::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<winrt::Windows::Services::Store::StoreConsumableResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreConsumableResult>) consume_Windows_Services_Store_IStoreContext<D>::GetConsumableBalanceRemainingAsync(param::hstring const& productStoreId) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::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<winrt::Windows::Services::Store::StoreConsumableResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreAcquireLicenseResult>) consume_Windows_Services_Store_IStoreContext<D>::AcquireStoreLicenseForOptionalPackageAsync(winrt::Windows::ApplicationModel::Package const& optionalPackage) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::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<winrt::Windows::Services::Store::StoreAcquireLicenseResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>) consume_Windows_Services_Store_IStoreContext<D>::RequestPurchaseAsync(param::hstring const& storeId) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::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<winrt::Windows::Services::Store::StorePurchaseResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>) consume_Windows_Services_Store_IStoreContext<D>::RequestPurchaseAsync(param::hstring const& storeId, winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::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<winrt::Windows::Services::Store::StorePurchaseResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StorePackageUpdate>>) consume_Windows_Services_Store_IStoreContext<D>::GetAppAndOptionalStorePackageUpdatesAsync() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::GetAppAndOptionalStorePackageUpdatesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->GetAppAndOptionalStorePackageUpdatesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StorePackageUpdate>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>) consume_Windows_Services_Store_IStoreContext<D>::RequestDownloadStorePackageUpdatesAsync(param::async_iterable<winrt::Windows::Services::Store::StorePackageUpdate> const& storePackageUpdates) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::RequestDownloadStorePackageUpdatesAsync(param::async_iterable<winrt::Windows::Services::Store::StorePackageUpdate> const& storePackageUpdates) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->RequestDownloadStorePackageUpdatesAsync(*(void**)(&storePackageUpdates), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>) consume_Windows_Services_Store_IStoreContext<D>::RequestDownloadAndInstallStorePackageUpdatesAsync(param::async_iterable<winrt::Windows::Services::Store::StorePackageUpdate> const& storePackageUpdates) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::RequestDownloadAndInstallStorePackageUpdatesAsync(param::async_iterable<winrt::Windows::Services::Store::StorePackageUpdate> const& storePackageUpdates) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->RequestDownloadAndInstallStorePackageUpdatesAsync(*(void**)(&storePackageUpdates), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>) consume_Windows_Services_Store_IStoreContext<D>::RequestDownloadAndInstallStorePackagesAsync(param::async_iterable<hstring> const& storeIds) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext<D>::RequestDownloadAndInstallStorePackagesAsync(param::async_iterable<hstring> const& storeIds) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext)->RequestDownloadAndInstallStorePackagesAsync(*(void**)(&storeIds), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductResult>) consume_Windows_Services_Store_IStoreContext2<D>::FindStoreProductForPackageAsync(param::async_iterable<hstring> const& productKinds, winrt::Windows::ApplicationModel::Package const& package) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext2<D>::FindStoreProductForPackageAsync(param::async_iterable<hstring> 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<winrt::Windows::Services::Store::StoreProductResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreContext3<D>::CanSilentlyDownloadStorePackageUpdates() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext3<D>::CanSilentlyDownloadStorePackageUpdates() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->get_CanSilentlyDownloadStorePackageUpdates(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>) consume_Windows_Services_Store_IStoreContext3<D>::TrySilentDownloadStorePackageUpdatesAsync(param::async_iterable<winrt::Windows::Services::Store::StorePackageUpdate> const& storePackageUpdates) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext3<D>::TrySilentDownloadStorePackageUpdatesAsync(param::async_iterable<winrt::Windows::Services::Store::StorePackageUpdate> const& storePackageUpdates) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->TrySilentDownloadStorePackageUpdatesAsync(*(void**)(&storePackageUpdates), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>) consume_Windows_Services_Store_IStoreContext3<D>::TrySilentDownloadAndInstallStorePackageUpdatesAsync(param::async_iterable<winrt::Windows::Services::Store::StorePackageUpdate> const& storePackageUpdates) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext3<D>::TrySilentDownloadAndInstallStorePackageUpdatesAsync(param::async_iterable<winrt::Windows::Services::Store::StorePackageUpdate> const& storePackageUpdates) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->TrySilentDownloadAndInstallStorePackageUpdatesAsync(*(void**)(&storePackageUpdates), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreCanAcquireLicenseResult>) consume_Windows_Services_Store_IStoreContext3<D>::CanAcquireStoreLicenseForOptionalPackageAsync(winrt::Windows::ApplicationModel::Package const& optionalPackage) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext3<D>::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<winrt::Windows::Services::Store::StoreCanAcquireLicenseResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreCanAcquireLicenseResult>) consume_Windows_Services_Store_IStoreContext3<D>::CanAcquireStoreLicenseAsync(param::hstring const& productStoreId) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext3<D>::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<winrt::Windows::Services::Store::StoreCanAcquireLicenseResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductQueryResult>) consume_Windows_Services_Store_IStoreContext3<D>::GetStoreProductsAsync(param::async_iterable<hstring> const& productKinds, param::async_iterable<hstring> const& storeIds, winrt::Windows::Services::Store::StoreProductOptions const& storeProductOptions) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext3<D>::GetStoreProductsAsync(param::async_iterable<hstring> const& productKinds, param::async_iterable<hstring> 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<winrt::Windows::Services::Store::StoreProductQueryResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreQueueItem>>) consume_Windows_Services_Store_IStoreContext3<D>::GetAssociatedStoreQueueItemsAsync() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext3<D>::GetAssociatedStoreQueueItemsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->GetAssociatedStoreQueueItemsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreQueueItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreQueueItem>>) consume_Windows_Services_Store_IStoreContext3<D>::GetStoreQueueItemsAsync(param::async_iterable<hstring> const& storeIds) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext3<D>::GetStoreQueueItemsAsync(param::async_iterable<hstring> const& storeIds) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->GetStoreQueueItemsAsync(*(void**)(&storeIds), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreQueueItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>) consume_Windows_Services_Store_IStoreContext3<D>::RequestDownloadAndInstallStorePackagesAsync(param::async_iterable<hstring> const& storeIds, winrt::Windows::Services::Store::StorePackageInstallOptions const& storePackageInstallOptions) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext3<D>::RequestDownloadAndInstallStorePackagesAsync(param::async_iterable<hstring> 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<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>) consume_Windows_Services_Store_IStoreContext3<D>::DownloadAndInstallStorePackagesAsync(param::async_iterable<hstring> const& storeIds) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext3<D>::DownloadAndInstallStorePackagesAsync(param::async_iterable<hstring> const& storeIds) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext3)->DownloadAndInstallStorePackagesAsync(*(void**)(&storeIds), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreUninstallStorePackageResult>) consume_Windows_Services_Store_IStoreContext3<D>::RequestUninstallStorePackageAsync(winrt::Windows::ApplicationModel::Package const& package) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext3<D>::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<winrt::Windows::Services::Store::StoreUninstallStorePackageResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreUninstallStorePackageResult>) consume_Windows_Services_Store_IStoreContext3<D>::RequestUninstallStorePackageByStoreIdAsync(param::hstring const& storeId) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext3<D>::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<winrt::Windows::Services::Store::StoreUninstallStorePackageResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreUninstallStorePackageResult>) consume_Windows_Services_Store_IStoreContext3<D>::UninstallStorePackageAsync(winrt::Windows::ApplicationModel::Package const& package) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext3<D>::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<winrt::Windows::Services::Store::StoreUninstallStorePackageResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreUninstallStorePackageResult>) consume_Windows_Services_Store_IStoreContext3<D>::UninstallStorePackageByStoreIdAsync(param::hstring const& storeId) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext3<D>::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<winrt::Windows::Services::Store::StoreUninstallStorePackageResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreRateAndReviewResult>) consume_Windows_Services_Store_IStoreContext4<D>::RequestRateAndReviewAppAsync() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext4<D>::RequestRateAndReviewAppAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext4)->RequestRateAndReviewAppAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreRateAndReviewResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreQueueItem>>) consume_Windows_Services_Store_IStoreContext4<D>::SetInstallOrderForAssociatedStoreQueueItemsAsync(param::async_iterable<winrt::Windows::Services::Store::StoreQueueItem> const& items) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContext4<D>::SetInstallOrderForAssociatedStoreQueueItemsAsync(param::async_iterable<winrt::Windows::Services::Store::StoreQueueItem> const& items) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreContext4)->SetInstallOrderForAssociatedStoreQueueItemsAsync(*(void**)(&items), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreQueueItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreContext) consume_Windows_Services_Store_IStoreContextStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContextStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreContext) consume_Windows_Services_Store_IStoreContextStatics<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreContextStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Services_Store_IStoreImage<D>::Uri() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreImage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreImage<D>::ImagePurposeTag() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreImage<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_Store_IStoreImage<D>::Width() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreImage<D>::Width() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreImage)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_Store_IStoreImage<D>::Height() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreImage<D>::Height() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreImage)->get_Height(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreImage<D>::Caption() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreImage<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreLicense<D>::SkuStoreId() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreLicense<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreLicense<D>::IsActive() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreLicense<D>::IsActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreLicense)->get_IsActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Services_Store_IStoreLicense<D>::ExpirationDate() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreLicense<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreLicense<D>::ExtendedJsonData() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreLicense<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreLicense<D>::InAppOfferToken() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreLicense<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStorePackageInstallOptions<D>::AllowForcedAppRestart() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePackageInstallOptions<D>::AllowForcedAppRestart() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageInstallOptions)->get_AllowForcedAppRestart(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Store_IStorePackageInstallOptions<D>::AllowForcedAppRestart(bool value) const
+ template <typename D> auto consume_Windows_Services_Store_IStorePackageInstallOptions<D>::AllowForcedAppRestart(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageInstallOptions)->put_AllowForcedAppRestart(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Store_IStorePackageLicense<D>::LicenseLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StorePackageLicense, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Services_Store_IStorePackageLicense<D>::LicenseLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StorePackageLicense, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Services_Store_IStorePackageLicense<D>::LicenseLost_revoker consume_Windows_Services_Store_IStorePackageLicense<D>::LicenseLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StorePackageLicense, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Services_Store_IStorePackageLicense<D>::LicenseLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StorePackageLicense, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, LicenseLost_revoker>(this, LicenseLost(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Store_IStorePackageLicense<D>::LicenseLost(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Services_Store_IStorePackageLicense<D>::LicenseLost(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageLicense)->remove_LicenseLost(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_Services_Store_IStorePackageLicense<D>::Package() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePackageLicense<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStorePackageLicense<D>::IsValid() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePackageLicense<D>::IsValid() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageLicense)->get_IsValid(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Store_IStorePackageLicense<D>::ReleaseLicense() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePackageLicense<D>::ReleaseLicense() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageLicense)->ReleaseLicense());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) consume_Windows_Services_Store_IStorePackageUpdate<D>::Package() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePackageUpdate<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStorePackageUpdate<D>::Mandatory() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePackageUpdate<D>::Mandatory() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageUpdate)->get_Mandatory(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePackageUpdateState) consume_Windows_Services_Store_IStorePackageUpdateResult<D>::OverallState() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePackageUpdateResult<D>::OverallState() const
{
winrt::Windows::Services::Store::StorePackageUpdateState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageUpdateResult)->get_OverallState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StorePackageUpdateStatus>) consume_Windows_Services_Store_IStorePackageUpdateResult<D>::StorePackageUpdateStatuses() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePackageUpdateResult<D>::StorePackageUpdateStatuses() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageUpdateResult)->get_StorePackageUpdateStatuses(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StorePackageUpdateStatus>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreQueueItem>) consume_Windows_Services_Store_IStorePackageUpdateResult2<D>::StoreQueueItems() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePackageUpdateResult2<D>::StoreQueueItems() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePackageUpdateResult2)->get_StoreQueueItems(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreQueueItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStorePrice<D>::FormattedBasePrice() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePrice<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStorePrice<D>::FormattedPrice() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePrice<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStorePrice<D>::IsOnSale() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePrice<D>::IsOnSale() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePrice)->get_IsOnSale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Services_Store_IStorePrice<D>::SaleEndDate() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePrice<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStorePrice<D>::CurrencyCode() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePrice<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStorePrice<D>::FormattedRecurrencePrice() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePrice<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreProduct<D>::StoreId() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreProduct<D>::Language() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreProduct<D>::Title() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreProduct<D>::Description() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreProduct<D>::ProductKind() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreProduct<D>::HasDigitalDownload() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::HasDigitalDownload() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_HasDigitalDownload(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Services_Store_IStoreProduct<D>::Keywords() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::Keywords() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_Keywords(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreImage>) consume_Windows_Services_Store_IStoreProduct<D>::Images() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::Images() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_Images(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreImage>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreVideo>) consume_Windows_Services_Store_IStoreProduct<D>::Videos() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::Videos() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_Videos(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreVideo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreSku>) consume_Windows_Services_Store_IStoreProduct<D>::Skus() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::Skus() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_Skus(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreSku>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreProduct<D>::IsInUserCollection() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::IsInUserCollection() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->get_IsInUserCollection(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePrice) consume_Windows_Services_Store_IStoreProduct<D>::Price() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreProduct<D>::ExtendedJsonData() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Services_Store_IStoreProduct<D>::LinkUri() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Services_Store_IStoreProduct<D>::GetIsAnySkuInstalledAsync() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::GetIsAnySkuInstalledAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->GetIsAnySkuInstalledAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>) consume_Windows_Services_Store_IStoreProduct<D>::RequestPurchaseAsync() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::RequestPurchaseAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProduct)->RequestPurchaseAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>) consume_Windows_Services_Store_IStoreProduct<D>::RequestPurchaseAsync(winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::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<winrt::Windows::Services::Store::StorePurchaseResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreProduct<D>::InAppOfferToken() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProduct<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Services_Store_IStoreProductOptions<D>::ActionFilters() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProductOptions<D>::ActionFilters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProductOptions)->get_ActionFilters(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Services::Store::StoreProduct>) consume_Windows_Services_Store_IStoreProductPagedQueryResult<D>::Products() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProductPagedQueryResult<D>::Products() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProductPagedQueryResult)->get_Products(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Services::Store::StoreProduct>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreProductPagedQueryResult<D>::HasMoreResults() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProductPagedQueryResult<D>::HasMoreResults() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProductPagedQueryResult)->get_HasMoreResults(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreProductPagedQueryResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProductPagedQueryResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProductPagedQueryResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductPagedQueryResult>) consume_Windows_Services_Store_IStoreProductPagedQueryResult<D>::GetNextAsync() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProductPagedQueryResult<D>::GetNextAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProductPagedQueryResult)->GetNextAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductPagedQueryResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Services::Store::StoreProduct>) consume_Windows_Services_Store_IStoreProductQueryResult<D>::Products() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProductQueryResult<D>::Products() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProductQueryResult)->get_Products(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Services::Store::StoreProduct>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreProductQueryResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProductQueryResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProductQueryResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreProduct) consume_Windows_Services_Store_IStoreProductResult<D>::Product() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProductResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreProductResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreProductResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreProductResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStorePurchaseProperties<D>::Name() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePurchaseProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Store_IStorePurchaseProperties<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Services_Store_IStorePurchaseProperties<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePurchaseProperties)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStorePurchaseProperties<D>::ExtendedJsonData() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePurchaseProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Store_IStorePurchaseProperties<D>::ExtendedJsonData(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Services_Store_IStorePurchaseProperties<D>::ExtendedJsonData(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePurchaseProperties)->put_ExtendedJsonData(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePurchaseProperties) consume_Windows_Services_Store_IStorePurchasePropertiesFactory<D>::Create(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Services_Store_IStorePurchasePropertiesFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePurchaseStatus) consume_Windows_Services_Store_IStorePurchaseResult<D>::Status() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePurchaseResult<D>::Status() const
{
winrt::Windows::Services::Store::StorePurchaseStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePurchaseResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStorePurchaseResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Services_Store_IStorePurchaseResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStorePurchaseResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreQueueItem<D>::ProductId() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItem<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreQueueItem<D>::PackageFamilyName() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreQueueItemKind) consume_Windows_Services_Store_IStoreQueueItem<D>::InstallKind() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItem<D>::InstallKind() const
{
winrt::Windows::Services::Store::StoreQueueItemKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItem)->get_InstallKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreQueueItemStatus) consume_Windows_Services_Store_IStoreQueueItem<D>::GetCurrentStatus() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Store_IStoreQueueItem<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreQueueItem, winrt::Windows::Services::Store::StoreQueueItemCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItem<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreQueueItem, winrt::Windows::Services::Store::StoreQueueItemCompletedEventArgs> 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 D> typename consume_Windows_Services_Store_IStoreQueueItem<D>::Completed_revoker consume_Windows_Services_Store_IStoreQueueItem<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreQueueItem, winrt::Windows::Services::Store::StoreQueueItemCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItem<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreQueueItem, winrt::Windows::Services::Store::StoreQueueItemCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Completed_revoker>(this, Completed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Store_IStoreQueueItem<D>::Completed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItem<D>::Completed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItem)->remove_Completed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_Store_IStoreQueueItem<D>::StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreQueueItem, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItem<D>::StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreQueueItem, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Services_Store_IStoreQueueItem<D>::StatusChanged_revoker consume_Windows_Services_Store_IStoreQueueItem<D>::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreQueueItem, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItem<D>::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreQueueItem, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, StatusChanged_revoker>(this, StatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_Store_IStoreQueueItem<D>::StatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItem<D>::StatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItem)->remove_StatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Store_IStoreQueueItem2<D>::CancelInstallAsync() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItem2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Store_IStoreQueueItem2<D>::PauseInstallAsync() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItem2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_Store_IStoreQueueItem2<D>::ResumeInstallAsync() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItem2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreQueueItemStatus) consume_Windows_Services_Store_IStoreQueueItemCompletedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItemCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreQueueItemState) consume_Windows_Services_Store_IStoreQueueItemStatus<D>::PackageInstallState() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItemStatus<D>::PackageInstallState() const
{
winrt::Windows::Services::Store::StoreQueueItemState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItemStatus)->get_PackageInstallState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreQueueItemExtendedState) consume_Windows_Services_Store_IStoreQueueItemStatus<D>::PackageInstallExtendedState() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItemStatus<D>::PackageInstallExtendedState() const
{
winrt::Windows::Services::Store::StoreQueueItemExtendedState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItemStatus)->get_PackageInstallExtendedState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePackageUpdateStatus) consume_Windows_Services_Store_IStoreQueueItemStatus<D>::UpdateStatus() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItemStatus<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreQueueItemStatus<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreQueueItemStatus<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreQueueItemStatus)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreRateAndReviewResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreRateAndReviewResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreRateAndReviewResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreRateAndReviewResult<D>::ExtendedJsonData() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreRateAndReviewResult<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreRateAndReviewResult<D>::WasUpdated() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreRateAndReviewResult<D>::WasUpdated() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreRateAndReviewResult)->get_WasUpdated(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreRateAndReviewStatus) consume_Windows_Services_Store_IStoreRateAndReviewResult<D>::Status() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreRateAndReviewResult<D>::Status() const
{
winrt::Windows::Services::Store::StoreRateAndReviewStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreRateAndReviewResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreSendRequestResult>) consume_Windows_Services_Store_IStoreRequestHelperStatics<D>::SendRequestAsync(winrt::Windows::Services::Store::StoreContext const& context, uint32_t requestKind, param::hstring const& parametersAsJson) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreRequestHelperStatics<D>::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**)(&parametersAsJson), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreSendRequestResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreSendRequestResult<D>::Response() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSendRequestResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreSendRequestResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSendRequestResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSendRequestResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStatusCode) consume_Windows_Services_Store_IStoreSendRequestResult2<D>::HttpStatusCode() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSendRequestResult2<D>::HttpStatusCode() const
{
winrt::Windows::Web::Http::HttpStatusCode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSendRequestResult2)->get_HttpStatusCode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreSku<D>::StoreId() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreSku<D>::Language() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreSku<D>::Title() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreSku<D>::Description() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreSku<D>::IsTrial() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::IsTrial() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_IsTrial(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreSku<D>::CustomDeveloperData() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreImage>) consume_Windows_Services_Store_IStoreSku<D>::Images() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::Images() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_Images(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreImage>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreVideo>) consume_Windows_Services_Store_IStoreSku<D>::Videos() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::Videos() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_Videos(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreVideo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreAvailability>) consume_Windows_Services_Store_IStoreSku<D>::Availabilities() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::Availabilities() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_Availabilities(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreAvailability>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StorePrice) consume_Windows_Services_Store_IStoreSku<D>::Price() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreSku<D>::ExtendedJsonData() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreSku<D>::IsInUserCollection() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::IsInUserCollection() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_IsInUserCollection(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Services_Store_IStoreSku<D>::BundledSkus() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::BundledSkus() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_BundledSkus(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreCollectionData) consume_Windows_Services_Store_IStoreSku<D>::CollectionData() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Services_Store_IStoreSku<D>::GetIsInstalledAsync() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::GetIsInstalledAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->GetIsInstalledAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>) consume_Windows_Services_Store_IStoreSku<D>::RequestPurchaseAsync() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::RequestPurchaseAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->RequestPurchaseAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>) consume_Windows_Services_Store_IStoreSku<D>::RequestPurchaseAsync(winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::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<winrt::Windows::Services::Store::StorePurchaseResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreSku<D>::IsSubscription() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::IsSubscription() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSku)->get_IsSubscription(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreSubscriptionInfo) consume_Windows_Services_Store_IStoreSku<D>::SubscriptionInfo() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSku<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_Store_IStoreSubscriptionInfo<D>::BillingPeriod() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSubscriptionInfo<D>::BillingPeriod() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSubscriptionInfo)->get_BillingPeriod(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreDurationUnit) consume_Windows_Services_Store_IStoreSubscriptionInfo<D>::BillingPeriodUnit() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSubscriptionInfo<D>::BillingPeriodUnit() const
{
winrt::Windows::Services::Store::StoreDurationUnit value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSubscriptionInfo)->get_BillingPeriodUnit(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_Store_IStoreSubscriptionInfo<D>::HasTrialPeriod() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSubscriptionInfo<D>::HasTrialPeriod() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSubscriptionInfo)->get_HasTrialPeriod(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_Store_IStoreSubscriptionInfo<D>::TrialPeriod() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSubscriptionInfo<D>::TrialPeriod() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSubscriptionInfo)->get_TrialPeriod(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreDurationUnit) consume_Windows_Services_Store_IStoreSubscriptionInfo<D>::TrialPeriodUnit() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreSubscriptionInfo<D>::TrialPeriodUnit() const
{
winrt::Windows::Services::Store::StoreDurationUnit value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreSubscriptionInfo)->get_TrialPeriodUnit(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Services_Store_IStoreUninstallStorePackageResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreUninstallStorePackageResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreUninstallStorePackageResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreUninstallStorePackageStatus) consume_Windows_Services_Store_IStoreUninstallStorePackageResult<D>::Status() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreUninstallStorePackageResult<D>::Status() const
{
winrt::Windows::Services::Store::StoreUninstallStorePackageStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreUninstallStorePackageResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Services_Store_IStoreVideo<D>::Uri() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreVideo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreVideo<D>::VideoPurposeTag() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreVideo<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_Store_IStoreVideo<D>::Width() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreVideo<D>::Width() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreVideo)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_Store_IStoreVideo<D>::Height() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreVideo<D>::Height() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreVideo)->get_Height(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_Store_IStoreVideo<D>::Caption() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreVideo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreImage) consume_Windows_Services_Store_IStoreVideo<D>::PreviewImage() const
+ template <typename D> auto consume_Windows_Services_Store_IStoreVideo<D>::PreviewImage() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::Store::IStoreVideo)->get_PreviewImage(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.TargetedContent.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.TargetedContent.h
index 15977b4e29c..7f4f4ecdfd0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Services.TargetedContent.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Services_TargetedContent_ITargetedContentAction<D>::InvokeAsync() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentAction<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Services_TargetedContent_ITargetedContentAvailabilityChangedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentAvailabilityChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Services_TargetedContent_ITargetedContentChangedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_TargetedContent_ITargetedContentChangedEventArgs<D>::HasPreviousContentExpired() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentChangedEventArgs<D>::HasPreviousContentExpired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentChangedEventArgs)->get_HasPreviousContentExpired(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_TargetedContent_ITargetedContentCollection<D>::Id() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentCollection<D>::ReportInteraction(winrt::Windows::Services::TargetedContent::TargetedContentInteraction const& interaction) const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentCollection<D>::ReportInteraction(winrt::Windows::Services::TargetedContent::TargetedContentInteraction const& interaction) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentCollection)->ReportInteraction(static_cast<int32_t>(interaction)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentCollection<D>::ReportCustomInteraction(param::hstring const& customInteractionName) const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentCollection<D>::ReportCustomInteraction(param::hstring const& customInteractionName) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentCollection)->ReportCustomInteraction(*(void**)(&customInteractionName)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_TargetedContent_ITargetedContentCollection<D>::Path() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Services::TargetedContent::TargetedContentValue>) consume_Windows_Services_TargetedContent_ITargetedContentCollection<D>::Properties() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentCollection<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentCollection)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Services::TargetedContent::TargetedContentValue>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::TargetedContent::TargetedContentCollection>) consume_Windows_Services_TargetedContent_ITargetedContentCollection<D>::Collections() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentCollection<D>::Collections() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentCollection)->get_Collections(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::TargetedContent::TargetedContentCollection>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::TargetedContent::TargetedContentItem>) consume_Windows_Services_TargetedContent_ITargetedContentCollection<D>::Items() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentCollection<D>::Items() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentCollection)->get_Items(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::TargetedContent::TargetedContentItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_TargetedContent_ITargetedContentContainer<D>::Id() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentContainer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Services_TargetedContent_ITargetedContentContainer<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentContainer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentAvailability) consume_Windows_Services_TargetedContent_ITargetedContentContainer<D>::Availability() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentContainer<D>::Availability() const
{
winrt::Windows::Services::TargetedContent::TargetedContentAvailability value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentContainer)->get_Availability(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentCollection) consume_Windows_Services_TargetedContent_ITargetedContentContainer<D>::Content() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentContainer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentObject) consume_Windows_Services_TargetedContent_ITargetedContentContainer<D>::SelectSingleObject(param::hstring const& path) const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentContainer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::TargetedContent::TargetedContentContainer>) consume_Windows_Services_TargetedContent_ITargetedContentContainerStatics<D>::GetAsync(param::hstring const& contentId) const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentContainerStatics<D>::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<winrt::Windows::Services::TargetedContent::TargetedContentContainer>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_TargetedContent_ITargetedContentImage<D>::Height() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentImage<D>::Height() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentImage)->get_Height(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Services_TargetedContent_ITargetedContentImage<D>::Width() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentImage<D>::Width() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentImage)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_TargetedContent_ITargetedContentItem<D>::Path() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentItem<D>::ReportInteraction(winrt::Windows::Services::TargetedContent::TargetedContentInteraction const& interaction) const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentItem<D>::ReportInteraction(winrt::Windows::Services::TargetedContent::TargetedContentInteraction const& interaction) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentItem)->ReportInteraction(static_cast<int32_t>(interaction)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentItem<D>::ReportCustomInteraction(param::hstring const& customInteractionName) const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentItem<D>::ReportCustomInteraction(param::hstring const& customInteractionName) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentItem)->ReportCustomInteraction(*(void**)(&customInteractionName)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentItemState) consume_Windows_Services_TargetedContent_ITargetedContentItem<D>::State() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Services::TargetedContent::TargetedContentValue>) consume_Windows_Services_TargetedContent_ITargetedContentItem<D>::Properties() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentItem<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentItem)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Services::TargetedContent::TargetedContentValue>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::TargetedContent::TargetedContentCollection>) consume_Windows_Services_TargetedContent_ITargetedContentItem<D>::Collections() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentItem<D>::Collections() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentItem)->get_Collections(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::TargetedContent::TargetedContentCollection>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_TargetedContent_ITargetedContentItemState<D>::ShouldDisplay() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentItemState<D>::ShouldDisplay() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentItemState)->get_ShouldDisplay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentAppInstallationState) consume_Windows_Services_TargetedContent_ITargetedContentItemState<D>::AppInstallationState() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentItemState<D>::AppInstallationState() const
{
winrt::Windows::Services::TargetedContent::TargetedContentAppInstallationState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentItemState)->get_AppInstallationState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentObjectKind) consume_Windows_Services_TargetedContent_ITargetedContentObject<D>::ObjectKind() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentObject<D>::ObjectKind() const
{
winrt::Windows::Services::TargetedContent::TargetedContentObjectKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentObject)->get_ObjectKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentCollection) consume_Windows_Services_TargetedContent_ITargetedContentObject<D>::Collection() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentObject<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentItem) consume_Windows_Services_TargetedContent_ITargetedContentObject<D>::Item() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentObject<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentValue) consume_Windows_Services_TargetedContent_ITargetedContentObject<D>::Value() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentObject<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Services_TargetedContent_ITargetedContentStateChangedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentStateChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::Id() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::TargetedContent::TargetedContentContainer>) consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::GetContentContainerAsync() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::GetContentContainerAsync() const
{
void* asyncOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscription)->GetContentContainerAsync(&asyncOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::TargetedContent::TargetedContentContainer>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::ContentChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::ContentChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentChangedEventArgs> 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 D> typename consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::ContentChanged_revoker consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::ContentChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::ContentChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ContentChanged_revoker>(this, ContentChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::ContentChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::ContentChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscription)->remove_ContentChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentAvailabilityChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentAvailabilityChangedEventArgs> 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 D> typename consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::AvailabilityChanged_revoker consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentAvailabilityChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentAvailabilityChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AvailabilityChanged_revoker>(this, AvailabilityChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::AvailabilityChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::AvailabilityChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscription)->remove_AvailabilityChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentStateChangedEventArgs> 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 D> typename consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::StateChanged_revoker consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StateChanged_revoker>(this, StateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::StateChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscription<D>::StateChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscription)->remove_StateChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions<D>::SubscriptionId() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions<D>::AllowPartialContentAvailability() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions<D>::AllowPartialContentAvailability() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscriptionOptions)->get_AllowPartialContentAvailability(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions<D>::AllowPartialContentAvailability(bool value) const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions<D>::AllowPartialContentAvailability(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscriptionOptions)->put_AllowPartialContentAvailability(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions<D>::CloudQueryParameters() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions<D>::CloudQueryParameters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscriptionOptions)->get_CloudQueryParameters(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions<D>::LocalFilters() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions<D>::LocalFilters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscriptionOptions)->get_LocalFilters(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions<D>::Update() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionOptions<D>::Update() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentSubscriptionOptions)->Update());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::TargetedContent::TargetedContentSubscription>) consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionStatics<D>::GetAsync(param::hstring const& subscriptionId) const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionStatics<D>::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<winrt::Windows::Services::TargetedContent::TargetedContentSubscription>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentSubscriptionOptions) consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionStatics<D>::GetOptions(param::hstring const& subscriptionId) const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentValueKind) consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::ValueKind() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::ValueKind() const
{
winrt::Windows::Services::TargetedContent::TargetedContentValueKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_ValueKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Path() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::String() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Uri() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Number() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Number() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Number(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Boolean() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Boolean() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Boolean(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentFile) consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::File() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentImage) consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::ImageFile() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::TargetedContent::TargetedContentAction) consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Action() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Strings() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Strings() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Strings(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Uri>) consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Uris() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Uris() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Uris(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Uri>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<double>) consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Numbers() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Numbers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Numbers(&value));
return winrt::Windows::Foundation::Collections::IVectorView<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<bool>) consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Booleans() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Booleans() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Booleans(&value));
return winrt::Windows::Foundation::Collections::IVectorView<bool>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::TargetedContent::TargetedContentFile>) consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Files() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Files() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Files(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::TargetedContent::TargetedContentFile>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::TargetedContent::TargetedContentImage>) consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::ImageFiles() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::ImageFiles() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_ImageFiles(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::TargetedContent::TargetedContentImage>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::TargetedContent::TargetedContentAction>) consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Actions() const
+ template <typename D> auto consume_Windows_Services_TargetedContent_ITargetedContentValue<D>::Actions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Services::TargetedContent::ITargetedContentValue)->get_Actions(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.AccessCache.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.AccessCache.h
index d4395b2d826..7ca3d333e0c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.AccessCache.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::AccessListEntry) consume_Windows_Storage_AccessCache_IItemRemovedEventArgs<D>::RemovedEntry() const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IItemRemovedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::StorageItemAccessList) consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics<D>::FutureAccessList() const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::StorageItemMostRecentlyUsedList) consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics<D>::MostRecentlyUsedList() const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::StorageItemAccessList) consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics2<D>::GetFutureAccessListForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::StorageItemMostRecentlyUsedList) consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics2<D>::GetMostRecentlyUsedListForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageApplicationPermissionsStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::Add(winrt::Windows::Storage::IStorageItem const& file) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::Add(winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::AddOrReplace(param::hstring const& token, winrt::Windows::Storage::IStorageItem const& file) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::AddOrReplace(param::hstring const& token, winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::IStorageItem>) consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::GetItemAsync(param::hstring const& token) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::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<winrt::Windows::Storage::IStorageItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::GetFileAsync(param::hstring const& token) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::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<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::GetFolderAsync(param::hstring const& token) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::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<winrt::Windows::Storage::StorageFolder>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::IStorageItem>) consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::GetItemAsync(param::hstring const& token, winrt::Windows::Storage::AccessCache::AccessCacheOptions const& options) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::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<uint32_t>(options), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::IStorageItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::GetFileAsync(param::hstring const& token, winrt::Windows::Storage::AccessCache::AccessCacheOptions const& options) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::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<uint32_t>(options), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::GetFolderAsync(param::hstring const& token, winrt::Windows::Storage::AccessCache::AccessCacheOptions const& options) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::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<uint32_t>(options), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::Remove(param::hstring const& token) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::Remove(param::hstring const& token) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->Remove(*(void**)(&token)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::ContainsItem(param::hstring const& token) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::Clear() const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->Clear());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::CheckAccess(winrt::Windows::Storage::IStorageItem const& file) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::AccessListEntryView) consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::Entries() const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::MaximumItemsAllowed() const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemAccessList<D>::MaximumItemsAllowed() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemAccessList)->get_MaximumItemsAllowed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList<D>::ItemRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::AccessCache::StorageItemMostRecentlyUsedList, winrt::Windows::Storage::AccessCache::ItemRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList<D>::ItemRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::AccessCache::StorageItemMostRecentlyUsedList, winrt::Windows::Storage::AccessCache::ItemRemovedEventArgs> 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 D> typename consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList<D>::ItemRemoved_revoker consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList<D>::ItemRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::AccessCache::StorageItemMostRecentlyUsedList, winrt::Windows::Storage::AccessCache::ItemRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList<D>::ItemRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::AccessCache::StorageItemMostRecentlyUsedList, winrt::Windows::Storage::AccessCache::ItemRemovedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ItemRemoved_revoker>(this, ItemRemoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList<D>::ItemRemoved(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList<D>::ItemRemoved(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Storage::AccessCache::IStorageItemMostRecentlyUsedList)->remove_ItemRemoved(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList2<D>::Add(winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata, winrt::Windows::Storage::AccessCache::RecentStorageItemVisibility const& visibility) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList2<D>::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<int32_t>(visibility), &token));
return hstring{ token, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList2<D>::AddOrReplace(param::hstring const& token, winrt::Windows::Storage::IStorageItem const& file, param::hstring const& metadata, winrt::Windows::Storage::AccessCache::RecentStorageItemVisibility const& visibility) const
+ template <typename D> auto consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList2<D>::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<int32_t>(visibility)));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.BulkAccess.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.BulkAccess.h
index 7d31d9815b8..2faa8461a04 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.BulkAccess.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::IStorageItemInformation>>) consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::GetItemsAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::IStorageItemInformation>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::IStorageItemInformation>>) consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::GetItemsAsync() const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::GetItemsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IFileInformationFactory)->GetItemsAsyncDefaultStartAndCount(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::IStorageItemInformation>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::FileInformation>>) consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::GetFilesAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::FileInformation>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::FileInformation>>) consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::GetFilesAsync() const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::GetFilesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IFileInformationFactory)->GetFilesAsyncDefaultStartAndCount(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::FileInformation>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::FolderInformation>>) consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::GetFoldersAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::FolderInformation>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::FolderInformation>>) consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::GetFoldersAsync() const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::GetFoldersAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IFileInformationFactory)->GetFoldersAsyncDefaultStartAndCount(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::FolderInformation>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::GetVirtualizedItemsVector() const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::GetVirtualizedFilesVector() const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::GetVirtualizedFoldersVector() const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IFileInformationFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::BulkAccess::FileInformationFactory) consume_Windows_Storage_BulkAccess_IFileInformationFactoryFactory<D>::CreateWithMode(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IFileInformationFactoryFactory<D>::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<int32_t>(mode), &value));
return winrt::Windows::Storage::BulkAccess::FileInformationFactory{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::BulkAccess::FileInformationFactory) consume_Windows_Storage_BulkAccess_IFileInformationFactoryFactory<D>::CreateWithModeAndSize(winrt::Windows::Storage::Search::IStorageQueryResultBase const& queryResult, winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedThumbnailSize) const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IFileInformationFactoryFactory<D>::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<int32_t>(mode), requestedThumbnailSize, &value));
return winrt::Windows::Storage::BulkAccess::FileInformationFactory{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::BulkAccess::FileInformationFactory) consume_Windows_Storage_BulkAccess_IFileInformationFactoryFactory<D>::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 <typename D> auto consume_Windows_Storage_BulkAccess_IFileInformationFactoryFactory<D>::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<int32_t>(mode), requestedThumbnailSize, static_cast<uint32_t>(thumbnailOptions), &value));
return winrt::Windows::Storage::BulkAccess::FileInformationFactory{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::BulkAccess::FileInformationFactory) consume_Windows_Storage_BulkAccess_IFileInformationFactoryFactory<D>::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 <typename D> auto consume_Windows_Storage_BulkAccess_IFileInformationFactoryFactory<D>::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<int32_t>(mode), requestedThumbnailSize, static_cast<uint32_t>(thumbnailOptions), delayLoad, &value));
return winrt::Windows::Storage::BulkAccess::FileInformationFactory{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::MusicProperties) consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::MusicProperties() const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::VideoProperties) consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::VideoProperties() const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::ImageProperties) consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::ImageProperties() const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::DocumentProperties) consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::DocumentProperties() const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::BasicProperties) consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::BasicProperties() const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::StorageItemThumbnail) consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::Thumbnail() const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::ThumbnailUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, winrt::Windows::Foundation::IInspectable> const& changedHandler) const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::ThumbnailUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::ThumbnailUpdated_revoker consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::ThumbnailUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, winrt::Windows::Foundation::IInspectable> const& changedHandler) const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::ThumbnailUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, winrt::Windows::Foundation::IInspectable> const& changedHandler) const
{
return impl::make_event_revoker<D, ThumbnailUpdated_revoker>(this, ThumbnailUpdated(changedHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::ThumbnailUpdated(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::ThumbnailUpdated(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Storage::BulkAccess::IStorageItemInformation)->remove_ThumbnailUpdated(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::PropertiesUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, winrt::Windows::Foundation::IInspectable> const& changedHandler) const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::PropertiesUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::PropertiesUpdated_revoker consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::PropertiesUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, winrt::Windows::Foundation::IInspectable> const& changedHandler) const
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::PropertiesUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, winrt::Windows::Foundation::IInspectable> const& changedHandler) const
{
return impl::make_event_revoker<D, PropertiesUpdated_revoker>(this, PropertiesUpdated(changedHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::PropertiesUpdated(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Storage_BulkAccess_IStorageItemInformation<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Compression.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Compression.h
index d73a65c9b0f..5df308ac3b1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Compression.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Storage_Compression_ICompressor<D>::FinishAsync() const
+ template <typename D> auto consume_Windows_Storage_Compression_ICompressor<D>::FinishAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Compression::ICompressor)->FinishAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Storage_Compression_ICompressor<D>::DetachStream() const
+ template <typename D> auto consume_Windows_Storage_Compression_ICompressor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Compression::Compressor) consume_Windows_Storage_Compression_ICompressorFactory<D>::CreateCompressor(winrt::Windows::Storage::Streams::IOutputStream const& underlyingStream) const
+ template <typename D> auto consume_Windows_Storage_Compression_ICompressorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Compression::Compressor) consume_Windows_Storage_Compression_ICompressorFactory<D>::CreateCompressorEx(winrt::Windows::Storage::Streams::IOutputStream const& underlyingStream, winrt::Windows::Storage::Compression::CompressAlgorithm const& algorithm, uint32_t blockSize) const
+ template <typename D> auto consume_Windows_Storage_Compression_ICompressorFactory<D>::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<int32_t>(algorithm), blockSize, &createdCompressor));
return winrt::Windows::Storage::Compression::Compressor{ createdCompressor, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Storage_Compression_IDecompressor<D>::DetachStream() const
+ template <typename D> auto consume_Windows_Storage_Compression_IDecompressor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Compression::Decompressor) consume_Windows_Storage_Compression_IDecompressorFactory<D>::CreateDecompressor(winrt::Windows::Storage::Streams::IInputStream const& underlyingStream) const
+ template <typename D> auto consume_Windows_Storage_Compression_IDecompressorFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.FileProperties.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.FileProperties.h
index b440c15af2c..7b937b60954 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.FileProperties.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_FileProperties_IBasicProperties<D>::Size() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IBasicProperties<D>::Size() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IBasicProperties)->get_Size(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Storage_FileProperties_IBasicProperties<D>::DateModified() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IBasicProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Storage_FileProperties_IBasicProperties<D>::ItemDate() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IBasicProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Author() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Author() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IDocumentProperties)->get_Author(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Title() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IDocumentProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IDocumentProperties)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Keywords() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Keywords() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IDocumentProperties)->get_Keywords(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Comment() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IDocumentProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Comment(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IDocumentProperties<D>::Comment(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IDocumentProperties)->put_Comment(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::Geopoint>) consume_Windows_Storage_FileProperties_IGeotagHelperStatics<D>::GetGeotagAsync(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IGeotagHelperStatics<D>::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<winrt::Windows::Devices::Geolocation::Geopoint>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_FileProperties_IGeotagHelperStatics<D>::SetGeotagFromGeolocatorAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Devices::Geolocation::Geolocator const& geolocator) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IGeotagHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_FileProperties_IGeotagHelperStatics<D>::SetGeotagAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Devices::Geolocation::Geopoint const& geopoint) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IGeotagHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IImageProperties<D>::Rating() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Rating() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Rating(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IImageProperties<D>::Rating(uint32_t value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Rating(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->put_Rating(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IImageProperties<D>::Keywords() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Keywords() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Keywords(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Storage_FileProperties_IImageProperties<D>::DateTaken() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IImageProperties<D>::DateTaken(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IImageProperties<D>::Width() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Width() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IImageProperties<D>::Height() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Height() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Height(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IImageProperties<D>::Title() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IImageProperties<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Storage_FileProperties_IImageProperties<D>::Latitude() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Latitude() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Latitude(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Storage_FileProperties_IImageProperties<D>::Longitude() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Longitude() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Longitude(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IImageProperties<D>::CameraManufacturer() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IImageProperties<D>::CameraManufacturer(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::CameraManufacturer(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->put_CameraManufacturer(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IImageProperties<D>::CameraModel() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IImageProperties<D>::CameraModel(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::CameraModel(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->put_CameraModel(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::PhotoOrientation) consume_Windows_Storage_FileProperties_IImageProperties<D>::Orientation() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::Orientation() const
{
winrt::Windows::Storage::FileProperties::PhotoOrientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Storage_FileProperties_IImageProperties<D>::PeopleNames() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IImageProperties<D>::PeopleNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IImageProperties)->get_PeopleNames(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Album() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Album(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Album(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Album(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Artist() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Artist(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Artist(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Artist(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Genre() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Genre() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Genre(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IMusicProperties<D>::TrackNumber() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::TrackNumber() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_TrackNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::TrackNumber(uint32_t value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::TrackNumber(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_TrackNumber(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Title() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Rating() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Rating() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Rating(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Rating(uint32_t value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Rating(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Rating(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Duration() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Bitrate() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Bitrate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Bitrate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties<D>::AlbumArtist() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::AlbumArtist(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::AlbumArtist(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_AlbumArtist(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Composers() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Composers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Composers(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Conductors() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Conductors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Conductors(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Subtitle() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Subtitle(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Subtitle(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Subtitle(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Producers() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Producers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Producers(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Publisher() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Publisher(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Publisher(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Publisher(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Writers() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Writers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Writers(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Year() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Year() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->get_Year(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IMusicProperties<D>::Year(uint32_t value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IMusicProperties<D>::Year(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IMusicProperties)->put_Year(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::MusicProperties>) consume_Windows_Storage_FileProperties_IStorageItemContentProperties<D>::GetMusicPropertiesAsync() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IStorageItemContentProperties<D>::GetMusicPropertiesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemContentProperties)->GetMusicPropertiesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::MusicProperties>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::VideoProperties>) consume_Windows_Storage_FileProperties_IStorageItemContentProperties<D>::GetVideoPropertiesAsync() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IStorageItemContentProperties<D>::GetVideoPropertiesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemContentProperties)->GetVideoPropertiesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::VideoProperties>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::ImageProperties>) consume_Windows_Storage_FileProperties_IStorageItemContentProperties<D>::GetImagePropertiesAsync() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IStorageItemContentProperties<D>::GetImagePropertiesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemContentProperties)->GetImagePropertiesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::ImageProperties>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::DocumentProperties>) consume_Windows_Storage_FileProperties_IStorageItemContentProperties<D>::GetDocumentPropertiesAsync() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IStorageItemContentProperties<D>::GetDocumentPropertiesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemContentProperties)->GetDocumentPropertiesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::DocumentProperties>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>>) consume_Windows_Storage_FileProperties_IStorageItemExtraProperties<D>::RetrievePropertiesAsync(param::async_iterable<hstring> const& propertiesToRetrieve) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IStorageItemExtraProperties<D>::RetrievePropertiesAsync(param::async_iterable<hstring> const& propertiesToRetrieve) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IStorageItemExtraProperties)->RetrievePropertiesAsync(*(void**)(&propertiesToRetrieve), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_FileProperties_IStorageItemExtraProperties<D>::SavePropertiesAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Foundation::IInspectable>> const& propertiesToSave) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IStorageItemExtraProperties<D>::SavePropertiesAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Foundation::IInspectable>> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_FileProperties_IStorageItemExtraProperties<D>::SavePropertiesAsync() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IStorageItemExtraProperties<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IThumbnailProperties<D>::OriginalWidth() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IThumbnailProperties<D>::OriginalWidth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IThumbnailProperties)->get_OriginalWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IThumbnailProperties<D>::OriginalHeight() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IThumbnailProperties<D>::OriginalHeight() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IThumbnailProperties)->get_OriginalHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_FileProperties_IThumbnailProperties<D>::ReturnedSmallerCachedSize() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IThumbnailProperties<D>::ReturnedSmallerCachedSize() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IThumbnailProperties)->get_ReturnedSmallerCachedSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::ThumbnailType) consume_Windows_Storage_FileProperties_IThumbnailProperties<D>::Type() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IThumbnailProperties<D>::Type() const
{
winrt::Windows::Storage::FileProperties::ThumbnailType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IThumbnailProperties)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Rating() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Rating() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Rating(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Rating(uint32_t value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Rating(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->put_Rating(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Keywords() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Keywords() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Keywords(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Width() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Width() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Height() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Height() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Height(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Duration() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Latitude() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Latitude() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Latitude(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Longitude() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Longitude() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Longitude(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Title() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Subtitle() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Subtitle(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Subtitle(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->put_Subtitle(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Producers() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Producers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Producers(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Publisher() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Publisher(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Publisher(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->put_Publisher(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Writers() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Writers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Writers(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Year() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Year() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Year(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Year(uint32_t value) const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Year(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->put_Year(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Bitrate() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Bitrate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Bitrate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Directors() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Directors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Directors(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::VideoOrientation) consume_Windows_Storage_FileProperties_IVideoProperties<D>::Orientation() const
+ template <typename D> auto consume_Windows_Storage_FileProperties_IVideoProperties<D>::Orientation() const
{
winrt::Windows::Storage::FileProperties::VideoOrientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::FileProperties::IVideoProperties)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Pickers.Provider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Pickers.Provider.h
index 5954c7c2d70..d2a9807f39f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Pickers.Provider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::AddFileResult) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::AddFile(param::hstring const& id, winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::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<int32_t*>(&addResult)));
return addResult;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::RemoveFile(param::hstring const& id) const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::RemoveFile(param::hstring const& id) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->RemoveFile(*(void**)(&id)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::ContainsFile(param::hstring const& id) const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::CanAddFile(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::AllowedFileTypes() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::AllowedFileTypes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->get_AllowedFileTypes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::FileSelectionMode) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::SelectionMode() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::SelectionMode() const
{
winrt::Windows::Storage::Pickers::Provider::FileSelectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->get_SelectionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::SettingsIdentifier() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::Title() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::FileRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI, winrt::Windows::Storage::Pickers::Provider::FileRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::FileRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI, winrt::Windows::Storage::Pickers::Provider::FileRemovedEventArgs> 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 D> typename consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::FileRemoved_revoker consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::FileRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI, winrt::Windows::Storage::Pickers::Provider::FileRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::FileRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI, winrt::Windows::Storage::Pickers::Provider::FileRemovedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FileRemoved_revoker>(this, FileRemoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::FileRemoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::FileRemoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->remove_FileRemoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::Closing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI, winrt::Windows::Storage::Pickers::Provider::PickerClosingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::Closing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI, winrt::Windows::Storage::Pickers::Provider::PickerClosingEventArgs> 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 D> typename consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::Closing_revoker consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI, winrt::Windows::Storage::Pickers::Provider::PickerClosingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI, winrt::Windows::Storage::Pickers::Provider::PickerClosingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Closing_revoker>(this, Closing(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::Closing(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileOpenPickerUI<D>::Closing(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI)->remove_Closing(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_Provider_IFileRemovedEventArgs<D>::Id() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileRemovedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::Title() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::AllowedFileTypes() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::AllowedFileTypes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI)->get_AllowedFileTypes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::SettingsIdentifier() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::FileName() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::SetFileNameResult) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::TrySetFileName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::FileNameChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::FileNameChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::FileNameChanged_revoker consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::FileNameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::FileNameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, FileNameChanged_revoker>(this, FileNameChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::FileNameChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::FileNameChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI)->remove_FileNameChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::TargetFileRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI, winrt::Windows::Storage::Pickers::Provider::TargetFileRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::TargetFileRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI, winrt::Windows::Storage::Pickers::Provider::TargetFileRequestedEventArgs> 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 D> typename consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::TargetFileRequested_revoker consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::TargetFileRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI, winrt::Windows::Storage::Pickers::Provider::TargetFileRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::TargetFileRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI, winrt::Windows::Storage::Pickers::Provider::TargetFileRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TargetFileRequested_revoker>(this, TargetFileRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::TargetFileRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IFileSavePickerUI<D>::TargetFileRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI)->remove_TargetFileRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_IPickerClosingDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IPickerClosingDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IPickerClosingDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::PickerClosingOperation) consume_Windows_Storage_Pickers_Provider_IPickerClosingEventArgs<D>::ClosingOperation() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IPickerClosingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Pickers_Provider_IPickerClosingEventArgs<D>::IsCanceled() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IPickerClosingEventArgs<D>::IsCanceled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::IPickerClosingEventArgs)->get_IsCanceled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::PickerClosingDeferral) consume_Windows_Storage_Pickers_Provider_IPickerClosingOperation<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IPickerClosingOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Storage_Pickers_Provider_IPickerClosingOperation<D>::Deadline() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_IPickerClosingOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) consume_Windows_Storage_Pickers_Provider_ITargetFileRequest<D>::TargetFile() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_ITargetFileRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_ITargetFileRequest<D>::TargetFile(winrt::Windows::Storage::IStorageFile const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_ITargetFileRequest<D>::TargetFile(winrt::Windows::Storage::IStorageFile const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::ITargetFileRequest)->put_TargetFile(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::TargetFileRequestDeferral) consume_Windows_Storage_Pickers_Provider_ITargetFileRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_ITargetFileRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_Provider_ITargetFileRequestDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_ITargetFileRequestDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::ITargetFileRequestDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::Provider::TargetFileRequest) consume_Windows_Storage_Pickers_Provider_ITargetFileRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Storage_Pickers_Provider_ITargetFileRequestedEventArgs<D>::Request() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::Provider::ITargetFileRequestedEventArgs)->get_Request(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Pickers.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Pickers.h
index 1d5a07a5b95..3611d98c622 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Pickers.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::PickerViewMode) consume_Windows_Storage_Pickers_IFileOpenPicker<D>::ViewMode() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPicker<D>::ViewMode() const
{
winrt::Windows::Storage::Pickers::PickerViewMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->get_ViewMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileOpenPicker<D>::ViewMode(winrt::Windows::Storage::Pickers::PickerViewMode const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPicker<D>::ViewMode(winrt::Windows::Storage::Pickers::PickerViewMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->put_ViewMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFileOpenPicker<D>::SettingsIdentifier() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileOpenPicker<D>::SettingsIdentifier(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPicker<D>::SettingsIdentifier(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->put_SettingsIdentifier(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::PickerLocationId) consume_Windows_Storage_Pickers_IFileOpenPicker<D>::SuggestedStartLocation() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPicker<D>::SuggestedStartLocation() const
{
winrt::Windows::Storage::Pickers::PickerLocationId value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->get_SuggestedStartLocation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileOpenPicker<D>::SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPicker<D>::SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->put_SuggestedStartLocation(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFileOpenPicker<D>::CommitButtonText() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileOpenPicker<D>::CommitButtonText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPicker<D>::CommitButtonText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->put_CommitButtonText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_Pickers_IFileOpenPicker<D>::FileTypeFilter() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPicker<D>::FileTypeFilter() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->get_FileTypeFilter(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_Pickers_IFileOpenPicker<D>::PickSingleFileAsync() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPicker<D>::PickSingleFileAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->PickSingleFileAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>) consume_Windows_Storage_Pickers_IFileOpenPicker<D>::PickMultipleFilesAsync() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPicker<D>::PickMultipleFilesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker)->PickMultipleFilesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Storage_Pickers_IFileOpenPicker2<D>::ContinuationData() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPicker2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileOpenPicker2<D>::PickSingleFileAndContinue() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPicker2<D>::PickSingleFileAndContinue() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker2)->PickSingleFileAndContinue());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileOpenPicker2<D>::PickMultipleFilesAndContinue() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPicker2<D>::PickMultipleFilesAndContinue() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPicker2)->PickMultipleFilesAndContinue());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Storage_Pickers_IFileOpenPicker3<D>::User() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPicker3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_Pickers_IFileOpenPickerStatics<D>::ResumePickSingleFileAsync() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPickerStatics<D>::ResumePickSingleFileAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileOpenPickerStatics)->ResumePickSingleFileAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::FileOpenPicker) consume_Windows_Storage_Pickers_IFileOpenPickerStatics2<D>::CreateForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPickerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_Pickers_IFileOpenPickerWithOperationId<D>::PickSingleFileAsync(param::hstring const& pickerOperationId) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileOpenPickerWithOperationId<D>::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<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFileSavePicker<D>::SettingsIdentifier() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileSavePicker<D>::SettingsIdentifier(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker<D>::SettingsIdentifier(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->put_SettingsIdentifier(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::PickerLocationId) consume_Windows_Storage_Pickers_IFileSavePicker<D>::SuggestedStartLocation() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker<D>::SuggestedStartLocation() const
{
winrt::Windows::Storage::Pickers::PickerLocationId value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->get_SuggestedStartLocation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileSavePicker<D>::SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker<D>::SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->put_SuggestedStartLocation(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFileSavePicker<D>::CommitButtonText() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileSavePicker<D>::CommitButtonText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker<D>::CommitButtonText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->put_CommitButtonText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::Collections::IVector<hstring>>) consume_Windows_Storage_Pickers_IFileSavePicker<D>::FileTypeChoices() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker<D>::FileTypeChoices() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->get_FileTypeChoices(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::Collections::IVector<hstring>>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFileSavePicker<D>::DefaultFileExtension() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileSavePicker<D>::DefaultFileExtension(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker<D>::DefaultFileExtension(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->put_DefaultFileExtension(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Storage_Pickers_IFileSavePicker<D>::SuggestedSaveFile() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileSavePicker<D>::SuggestedSaveFile(winrt::Windows::Storage::StorageFile const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker<D>::SuggestedSaveFile(winrt::Windows::Storage::StorageFile const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->put_SuggestedSaveFile(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFileSavePicker<D>::SuggestedFileName() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileSavePicker<D>::SuggestedFileName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker<D>::SuggestedFileName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->put_SuggestedFileName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_Pickers_IFileSavePicker<D>::PickSaveFileAsync() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker<D>::PickSaveFileAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker)->PickSaveFileAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Storage_Pickers_IFileSavePicker2<D>::ContinuationData() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileSavePicker2<D>::PickSaveFileAndContinue() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker2<D>::PickSaveFileAndContinue() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker2)->PickSaveFileAndContinue());
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFileSavePicker3<D>::EnterpriseId() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFileSavePicker3<D>::EnterpriseId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker3<D>::EnterpriseId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFileSavePicker3)->put_EnterpriseId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Storage_Pickers_IFileSavePicker4<D>::User() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePicker4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::FileSavePicker) consume_Windows_Storage_Pickers_IFileSavePickerStatics<D>::CreateForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFileSavePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::PickerViewMode) consume_Windows_Storage_Pickers_IFolderPicker<D>::ViewMode() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFolderPicker<D>::ViewMode() const
{
winrt::Windows::Storage::Pickers::PickerViewMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->get_ViewMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFolderPicker<D>::ViewMode(winrt::Windows::Storage::Pickers::PickerViewMode const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFolderPicker<D>::ViewMode(winrt::Windows::Storage::Pickers::PickerViewMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->put_ViewMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFolderPicker<D>::SettingsIdentifier() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFolderPicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFolderPicker<D>::SettingsIdentifier(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFolderPicker<D>::SettingsIdentifier(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->put_SettingsIdentifier(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::PickerLocationId) consume_Windows_Storage_Pickers_IFolderPicker<D>::SuggestedStartLocation() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFolderPicker<D>::SuggestedStartLocation() const
{
winrt::Windows::Storage::Pickers::PickerLocationId value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->get_SuggestedStartLocation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFolderPicker<D>::SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFolderPicker<D>::SuggestedStartLocation(winrt::Windows::Storage::Pickers::PickerLocationId const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->put_SuggestedStartLocation(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Pickers_IFolderPicker<D>::CommitButtonText() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFolderPicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFolderPicker<D>::CommitButtonText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFolderPicker<D>::CommitButtonText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->put_CommitButtonText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_Pickers_IFolderPicker<D>::FileTypeFilter() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFolderPicker<D>::FileTypeFilter() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->get_FileTypeFilter(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) consume_Windows_Storage_Pickers_IFolderPicker<D>::PickSingleFolderAsync() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFolderPicker<D>::PickSingleFolderAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker)->PickSingleFolderAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_Storage_Pickers_IFolderPicker2<D>::ContinuationData() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFolderPicker2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Pickers_IFolderPicker2<D>::PickFolderAndContinue() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFolderPicker2<D>::PickFolderAndContinue() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Pickers::IFolderPicker2)->PickFolderAndContinue());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Storage_Pickers_IFolderPicker3<D>::User() const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFolderPicker3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Pickers::FolderPicker) consume_Windows_Storage_Pickers_IFolderPickerStatics<D>::CreateForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Storage_Pickers_IFolderPickerStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Provider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Provider.h
index 739a13ffb13..fb00384845c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Provider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_ICachedFileUpdaterStatics<D>::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 <typename D> auto consume_Windows_Storage_Provider_ICachedFileUpdaterStatics<D>::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<int32_t>(readMode), static_cast<int32_t>(writeMode), static_cast<uint32_t>(options)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::Title() const
+ template <typename D> auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::ICachedFileUpdaterUI)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::CachedFileTarget) consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::UpdateTarget() const
+ template <typename D> auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::UpdateTarget() const
{
winrt::Windows::Storage::Provider::CachedFileTarget value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::ICachedFileUpdaterUI)->get_UpdateTarget(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::FileUpdateRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::CachedFileUpdaterUI, winrt::Windows::Storage::Provider::FileUpdateRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::FileUpdateRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::CachedFileUpdaterUI, winrt::Windows::Storage::Provider::FileUpdateRequestedEventArgs> 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 D> typename consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::FileUpdateRequested_revoker consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::FileUpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::CachedFileUpdaterUI, winrt::Windows::Storage::Provider::FileUpdateRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::FileUpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::CachedFileUpdaterUI, winrt::Windows::Storage::Provider::FileUpdateRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FileUpdateRequested_revoker>(this, FileUpdateRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::FileUpdateRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::FileUpdateRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::ICachedFileUpdaterUI)->remove_FileUpdateRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::UIRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::CachedFileUpdaterUI, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::UIRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::CachedFileUpdaterUI, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::UIRequested_revoker consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::UIRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::CachedFileUpdaterUI, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::UIRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::CachedFileUpdaterUI, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, UIRequested_revoker>(this, UIRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::UIRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::UIRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::ICachedFileUpdaterUI)->remove_UIRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::UIStatus) consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::UIStatus() const
+ template <typename D> auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI<D>::UIStatus() const
{
winrt::Windows::Storage::Provider::UIStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::ICachedFileUpdaterUI)->get_UIStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateRequest) consume_Windows_Storage_Provider_ICachedFileUpdaterUI2<D>::UpdateRequest() const
+ template <typename D> auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateRequestDeferral) consume_Windows_Storage_Provider_ICachedFileUpdaterUI2<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Storage_Provider_ICachedFileUpdaterUI2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IFileUpdateRequest<D>::ContentId() const
+ template <typename D> auto consume_Windows_Storage_Provider_IFileUpdateRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) consume_Windows_Storage_Provider_IFileUpdateRequest<D>::File() const
+ template <typename D> auto consume_Windows_Storage_Provider_IFileUpdateRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateStatus) consume_Windows_Storage_Provider_IFileUpdateRequest<D>::Status() const
+ template <typename D> auto consume_Windows_Storage_Provider_IFileUpdateRequest<D>::Status() const
{
winrt::Windows::Storage::Provider::FileUpdateStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IFileUpdateRequest)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IFileUpdateRequest<D>::Status(winrt::Windows::Storage::Provider::FileUpdateStatus const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IFileUpdateRequest<D>::Status(winrt::Windows::Storage::Provider::FileUpdateStatus const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IFileUpdateRequest)->put_Status(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateRequestDeferral) consume_Windows_Storage_Provider_IFileUpdateRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Storage_Provider_IFileUpdateRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IFileUpdateRequest<D>::UpdateLocalFile(winrt::Windows::Storage::IStorageFile const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IFileUpdateRequest<D>::UpdateLocalFile(winrt::Windows::Storage::IStorageFile const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IFileUpdateRequest)->UpdateLocalFile(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IFileUpdateRequest2<D>::UserInputNeededMessage() const
+ template <typename D> auto consume_Windows_Storage_Provider_IFileUpdateRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IFileUpdateRequest2<D>::UserInputNeededMessage(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IFileUpdateRequest2<D>::UserInputNeededMessage(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IFileUpdateRequest2)->put_UserInputNeededMessage(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IFileUpdateRequestDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_Storage_Provider_IFileUpdateRequestDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IFileUpdateRequestDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateRequest) consume_Windows_Storage_Provider_IFileUpdateRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Storage_Provider_IFileUpdateRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderError<D>::Id() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderError<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderError<D>::Title() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderError<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderError<D>::Message() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderError<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderError<D>::FilePath() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderError<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderError<D>::FilePath(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderError<D>::FilePath(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->put_FilePath(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) consume_Windows_Storage_Provider_IStorageProviderError<D>::PrimaryAction() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderError<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderError<D>::PrimaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderError<D>::PrimaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->put_PrimaryAction(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) consume_Windows_Storage_Provider_IStorageProviderError<D>::SecondaryAction() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderError<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderError<D>::SecondaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderError<D>::SecondaryAction(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->put_SecondaryAction(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) consume_Windows_Storage_Provider_IStorageProviderError<D>::InformationalLink() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderError<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderError<D>::InformationalLink(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderError<D>::InformationalLink(winrt::Windows::Storage::Provider::StorageProviderErrorCommand const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderError)->put_InformationalLink(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderErrorCommand<D>::Label() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderErrorCommand<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Storage_Provider_IStorageProviderErrorCommand<D>::ActionUri() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderErrorCommand<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderErrorCommand) consume_Windows_Storage_Provider_IStorageProviderErrorCommandFactory<D>::CreateInstance(param::hstring const& label, winrt::Windows::Foundation::Uri const& actionUri) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderErrorCommandFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderError) consume_Windows_Storage_Provider_IStorageProviderErrorFactory<D>::CreateInstance(param::hstring const& id, param::hstring const& title, param::hstring const& message) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderErrorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderFileTypeInfo<D>::FileExtension() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderFileTypeInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderFileTypeInfo<D>::IconResource() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderFileTypeInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderFileTypeInfo) consume_Windows_Storage_Provider_IStorageProviderFileTypeInfoFactory<D>::CreateInstance(param::hstring const& fileExtension, param::hstring const& iconResource) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderFileTypeInfoFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus) consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult<D>::Status() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult<D>::Status() const
{
winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetContentInfoForPathResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult<D>::Status(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult<D>::Status(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetContentInfoForPathResult)->put_Status(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult<D>::ContentUri() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult<D>::ContentUri(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult<D>::ContentUri(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetContentInfoForPathResult)->put_ContentUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult<D>::ContentId() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult<D>::ContentId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderGetContentInfoForPathResult<D>::ContentId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetContentInfoForPathResult)->put_ContentId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus) consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult<D>::Status() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult<D>::Status() const
{
winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetPathForContentUriResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult<D>::Status(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult<D>::Status(winrt::Windows::Storage::Provider::StorageProviderUriSourceStatus const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetPathForContentUriResult)->put_Status(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult<D>::Path() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult<D>::Path(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderGetPathForContentUriResult<D>::Path(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderGetPathForContentUriResult)->put_Path(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::IStorageProviderStatusSource) consume_Windows_Storage_Provider_IStorageProviderHandlerFactory<D>::GetStatusSource(param::hstring const& syncRootId) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderHandlerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_Provider_IStorageProviderItemPropertiesStatics<D>::SetAsync(winrt::Windows::Storage::IStorageItem const& item, param::async_iterable<winrt::Windows::Storage::Provider::StorageProviderItemProperty> const& itemProperties) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderItemPropertiesStatics<D>::SetAsync(winrt::Windows::Storage::IStorageItem const& item, param::async_iterable<winrt::Windows::Storage::Provider::StorageProviderItemProperty> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderItemProperty<D>::Id(int32_t value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderItemProperty<D>::Id(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemProperty)->put_Id(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Storage_Provider_IStorageProviderItemProperty<D>::Id() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderItemProperty<D>::Id() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemProperty)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderItemProperty<D>::Value(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderItemProperty<D>::Value(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemProperty)->put_Value(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderItemProperty<D>::Value() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderItemProperty<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderItemProperty<D>::IconResource(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderItemProperty<D>::IconResource(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemProperty)->put_IconResource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderItemProperty<D>::IconResource() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderItemProperty<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Storage_Provider_IStorageProviderItemPropertyDefinition<D>::Id() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderItemPropertyDefinition<D>::Id() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemPropertyDefinition)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderItemPropertyDefinition<D>::Id(int32_t value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderItemPropertyDefinition<D>::Id(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemPropertyDefinition)->put_Id(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderItemPropertyDefinition<D>::DisplayNameResource() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderItemPropertyDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderItemPropertyDefinition<D>::DisplayNameResource(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderItemPropertyDefinition<D>::DisplayNameResource(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderItemPropertyDefinition)->put_DisplayNameResource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::Storage::Provider::StorageProviderItemProperty>) consume_Windows_Storage_Provider_IStorageProviderItemPropertySource<D>::GetItemProperties(param::hstring const& itemPath) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderItemPropertySource<D>::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<winrt::Windows::Storage::Provider::StorageProviderItemProperty>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Provider_IStorageProviderPropertyCapabilities<D>::IsPropertySupported(param::hstring const& propertyCanonicalName) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderPropertyCapabilities<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderStatus<D>::Message() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderStatus<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderState) consume_Windows_Storage_Provider_IStorageProviderStatus<D>::State() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderStatus<D>::State() const
{
winrt::Windows::Storage::Provider::StorageProviderState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatus)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::Provider::StorageProviderError>) consume_Windows_Storage_Provider_IStorageProviderStatus<D>::ErrorMessages() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderStatus<D>::ErrorMessages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatus)->get_ErrorMessages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::Provider::StorageProviderError>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) consume_Windows_Storage_Provider_IStorageProviderStatusFactory<D>::CreateInstance(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderStatusFactory<D>::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<int32_t>(state), *(void**)(&message), &value));
return winrt::Windows::Storage::Provider::StorageProviderStatus{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) consume_Windows_Storage_Provider_IStorageProviderStatusFactory<D>::CreateInstance2(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message, param::iterable<winrt::Windows::Storage::Provider::StorageProviderError> const& errorMessages) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderStatusFactory<D>::CreateInstance2(winrt::Windows::Storage::Provider::StorageProviderState const& state, param::hstring const& message, param::iterable<winrt::Windows::Storage::Provider::StorageProviderError> const& errorMessages) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatusFactory)->CreateInstance2(static_cast<int32_t>(state), *(void**)(&message), *(void**)(&errorMessages), &value));
return winrt::Windows::Storage::Provider::StorageProviderStatus{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderStatus) consume_Windows_Storage_Provider_IStorageProviderStatusSource<D>::GetStatus() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderStatusSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Provider_IStorageProviderStatusSource<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::IStorageProviderStatusSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderStatusSource<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::IStorageProviderStatusSource, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Storage_Provider_IStorageProviderStatusSource<D>::Changed_revoker consume_Windows_Storage_Provider_IStorageProviderStatusSource<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::IStorageProviderStatusSource, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderStatusSource<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::IStorageProviderStatusSource, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Changed_revoker>(this, Changed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderStatusSource<D>::Changed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderStatusSource<D>::Changed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderStatusSource)->remove_Changed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::Id() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::Id(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::Id(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_Id(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::Context() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::Context(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::Context(winrt::Windows::Storage::Streams::IBuffer const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_Context(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFolder) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::Path() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::Path(winrt::Windows::Storage::IStorageFolder const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::Path(winrt::Windows::Storage::IStorageFolder const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_Path(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::DisplayNameResource() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::DisplayNameResource(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::DisplayNameResource(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_DisplayNameResource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::IconResource() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::IconResource(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::IconResource(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_IconResource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicy) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::HydrationPolicy() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::HydrationPolicy() const
{
winrt::Windows::Storage::Provider::StorageProviderHydrationPolicy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_HydrationPolicy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::HydrationPolicy(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicy const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::HydrationPolicy(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicy const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_HydrationPolicy(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicyModifier) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::HydrationPolicyModifier() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::HydrationPolicyModifier() const
{
winrt::Windows::Storage::Provider::StorageProviderHydrationPolicyModifier value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_HydrationPolicyModifier(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::HydrationPolicyModifier(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicyModifier const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::HydrationPolicyModifier(winrt::Windows::Storage::Provider::StorageProviderHydrationPolicyModifier const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_HydrationPolicyModifier(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderPopulationPolicy) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::PopulationPolicy() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::PopulationPolicy() const
{
winrt::Windows::Storage::Provider::StorageProviderPopulationPolicy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_PopulationPolicy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::PopulationPolicy(winrt::Windows::Storage::Provider::StorageProviderPopulationPolicy const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::PopulationPolicy(winrt::Windows::Storage::Provider::StorageProviderPopulationPolicy const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_PopulationPolicy(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderInSyncPolicy) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::InSyncPolicy() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::InSyncPolicy() const
{
winrt::Windows::Storage::Provider::StorageProviderInSyncPolicy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_InSyncPolicy(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::InSyncPolicy(winrt::Windows::Storage::Provider::StorageProviderInSyncPolicy const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::InSyncPolicy(winrt::Windows::Storage::Provider::StorageProviderInSyncPolicy const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_InSyncPolicy(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderHardlinkPolicy) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::HardlinkPolicy() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::HardlinkPolicy() const
{
winrt::Windows::Storage::Provider::StorageProviderHardlinkPolicy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_HardlinkPolicy(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::HardlinkPolicy(winrt::Windows::Storage::Provider::StorageProviderHardlinkPolicy const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::HardlinkPolicy(winrt::Windows::Storage::Provider::StorageProviderHardlinkPolicy const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_HardlinkPolicy(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::ShowSiblingsAsGroup() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::ShowSiblingsAsGroup() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_ShowSiblingsAsGroup(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::ShowSiblingsAsGroup(bool value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::ShowSiblingsAsGroup(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_ShowSiblingsAsGroup(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::Version() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::Version(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::Version(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_Version(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderProtectionMode) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::ProtectionMode() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::ProtectionMode() const
{
winrt::Windows::Storage::Provider::StorageProviderProtectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_ProtectionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::ProtectionMode(winrt::Windows::Storage::Provider::StorageProviderProtectionMode const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::ProtectionMode(winrt::Windows::Storage::Provider::StorageProviderProtectionMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_ProtectionMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::AllowPinning() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::AllowPinning() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_AllowPinning(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::AllowPinning(bool value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::AllowPinning(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_AllowPinning(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Storage::Provider::StorageProviderItemPropertyDefinition>) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::StorageProviderItemPropertyDefinitions() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::StorageProviderItemPropertyDefinitions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->get_StorageProviderItemPropertyDefinitions(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Storage::Provider::StorageProviderItemPropertyDefinition>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::RecycleBinUri() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::RecycleBinUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo<D>::RecycleBinUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo)->put_RecycleBinUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo2<D>::ProviderId() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo2<D>::ProviderId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo2)->get_ProviderId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo2<D>::ProviderId(winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo2<D>::ProviderId(winrt::guid const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo2)->put_ProviderId(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Storage::Provider::StorageProviderFileTypeInfo>) consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo3<D>::FallbackFileTypeInfo() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo3<D>::FallbackFileTypeInfo() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo3)->get_FallbackFileTypeInfo(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Storage::Provider::StorageProviderFileTypeInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics<D>::Register(winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo const& syncRootInformation) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics<D>::Register(winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo const& syncRootInformation) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootManagerStatics)->Register(*(void**)(&syncRootInformation)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics<D>::Unregister(param::hstring const& id) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics<D>::Unregister(param::hstring const& id) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootManagerStatics)->Unregister(*(void**)(&id)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo) consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics<D>::GetSyncRootInformationForFolder(winrt::Windows::Storage::IStorageFolder const& folder) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo) consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics<D>::GetSyncRootInformationForId(param::hstring const& id) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo>) consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics<D>::GetCurrentSyncRoots() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics<D>::GetCurrentSyncRoots() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootManagerStatics)->GetCurrentSyncRoots(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics2<D>::IsSupported() const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics2<D>::IsSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Provider::IStorageProviderSyncRootManagerStatics2)->IsSupported(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderUriSource<D>::GetPathForContentUri(param::hstring const& contentUri, winrt::Windows::Storage::Provider::StorageProviderGetPathForContentUriResult const& result) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderUriSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Provider_IStorageProviderUriSource<D>::GetContentInfoForPath(param::hstring const& path, winrt::Windows::Storage::Provider::StorageProviderGetContentInfoForPathResult const& result) const
+ template <typename D> auto consume_Windows_Storage_Provider_IStorageProviderUriSource<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Search.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Search.h
index 58d53c49202..da5de560e30 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Search.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_Search_IContentIndexer<D>::AddAsync(winrt::Windows::Storage::Search::IIndexableContent const& indexableContent) const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_Search_IContentIndexer<D>::UpdateAsync(winrt::Windows::Storage::Search::IIndexableContent const& indexableContent) const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_Search_IContentIndexer<D>::DeleteAsync(param::hstring const& contentId) const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_Search_IContentIndexer<D>::DeleteMultipleAsync(param::async_iterable<hstring> const& contentIds) const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexer<D>::DeleteMultipleAsync(param::async_iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_Search_IContentIndexer<D>::DeleteAllAsync() const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>>) consume_Windows_Storage_Search_IContentIndexer<D>::RetrievePropertiesAsync(param::hstring const& contentId, param::async_iterable<hstring> const& propertiesToRetrieve) const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexer<D>::RetrievePropertiesAsync(param::hstring const& contentId, param::async_iterable<hstring> 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<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_Search_IContentIndexer<D>::Revision() const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexer<D>::Revision() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexer)->get_Revision(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) consume_Windows_Storage_Search_IContentIndexerQuery<D>::GetCountAsync() const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexerQuery<D>::GetCountAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexerQuery)->GetCountAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>>>) consume_Windows_Storage_Search_IContentIndexerQuery<D>::GetPropertiesAsync() const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexerQuery<D>::GetPropertiesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexerQuery)->GetPropertiesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>>>) consume_Windows_Storage_Search_IContentIndexerQuery<D>::GetPropertiesAsync(uint32_t startIndex, uint32_t maxItems) const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexerQuery<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::Search::IIndexableContent>>) consume_Windows_Storage_Search_IContentIndexerQuery<D>::GetAsync() const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexerQuery<D>::GetAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IContentIndexerQuery)->GetAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::Search::IIndexableContent>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::Search::IIndexableContent>>) consume_Windows_Storage_Search_IContentIndexerQuery<D>::GetAsync(uint32_t startIndex, uint32_t maxItems) const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexerQuery<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::Search::IIndexableContent>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_Search_IContentIndexerQuery<D>::QueryFolder() const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexerQuery<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexerQuery) consume_Windows_Storage_Search_IContentIndexerQueryOperations<D>::CreateQuery(param::hstring const& searchFilter, param::iterable<hstring> const& propertiesToRetrieve, param::iterable<winrt::Windows::Storage::Search::SortEntry> const& sortOrder, param::hstring const& searchFilterLanguage) const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexerQueryOperations<D>::CreateQuery(param::hstring const& searchFilter, param::iterable<hstring> const& propertiesToRetrieve, param::iterable<winrt::Windows::Storage::Search::SortEntry> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexerQuery) consume_Windows_Storage_Search_IContentIndexerQueryOperations<D>::CreateQuery(param::hstring const& searchFilter, param::iterable<hstring> const& propertiesToRetrieve, param::iterable<winrt::Windows::Storage::Search::SortEntry> const& sortOrder) const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexerQueryOperations<D>::CreateQuery(param::hstring const& searchFilter, param::iterable<hstring> const& propertiesToRetrieve, param::iterable<winrt::Windows::Storage::Search::SortEntry> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexerQuery) consume_Windows_Storage_Search_IContentIndexerQueryOperations<D>::CreateQuery(param::hstring const& searchFilter, param::iterable<hstring> const& propertiesToRetrieve) const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexerQueryOperations<D>::CreateQuery(param::hstring const& searchFilter, param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexer) consume_Windows_Storage_Search_IContentIndexerStatics<D>::GetIndexer(param::hstring const& indexName) const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexer) consume_Windows_Storage_Search_IContentIndexerStatics<D>::GetIndexer() const
+ template <typename D> auto consume_Windows_Storage_Search_IContentIndexerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Search_IIndexableContent<D>::Id() const
+ template <typename D> auto consume_Windows_Storage_Search_IIndexableContent<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IIndexableContent<D>::Id(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Search_IIndexableContent<D>::Id(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IIndexableContent)->put_Id(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Storage_Search_IIndexableContent<D>::Properties() const
+ template <typename D> auto consume_Windows_Storage_Search_IIndexableContent<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IIndexableContent)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_Storage_Search_IIndexableContent<D>::Stream() const
+ template <typename D> auto consume_Windows_Storage_Search_IIndexableContent<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IIndexableContent<D>::Stream(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const
+ template <typename D> auto consume_Windows_Storage_Search_IIndexableContent<D>::Stream(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IIndexableContent)->put_Stream(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Search_IIndexableContent<D>::StreamContentType() const
+ template <typename D> auto consume_Windows_Storage_Search_IIndexableContent<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IIndexableContent<D>::StreamContentType(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Search_IIndexableContent<D>::StreamContentType(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IIndexableContent)->put_StreamContentType(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_Search_IQueryOptions<D>::FileTypeFilter() const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::FileTypeFilter() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->get_FileTypeFilter(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::FolderDepth) consume_Windows_Storage_Search_IQueryOptions<D>::FolderDepth() const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::FolderDepth() const
{
winrt::Windows::Storage::Search::FolderDepth value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->get_FolderDepth(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IQueryOptions<D>::FolderDepth(winrt::Windows::Storage::Search::FolderDepth const& value) const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::FolderDepth(winrt::Windows::Storage::Search::FolderDepth const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->put_FolderDepth(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Search_IQueryOptions<D>::ApplicationSearchFilter() const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IQueryOptions<D>::ApplicationSearchFilter(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::ApplicationSearchFilter(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->put_ApplicationSearchFilter(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Search_IQueryOptions<D>::UserSearchFilter() const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IQueryOptions<D>::UserSearchFilter(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::UserSearchFilter(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->put_UserSearchFilter(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Search_IQueryOptions<D>::Language() const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IQueryOptions<D>::Language(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::Language(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->put_Language(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::IndexerOption) consume_Windows_Storage_Search_IQueryOptions<D>::IndexerOption() const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::IndexerOption() const
{
winrt::Windows::Storage::Search::IndexerOption value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->get_IndexerOption(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IQueryOptions<D>::IndexerOption(winrt::Windows::Storage::Search::IndexerOption const& value) const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::IndexerOption(winrt::Windows::Storage::Search::IndexerOption const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->put_IndexerOption(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Storage::Search::SortEntry>) consume_Windows_Storage_Search_IQueryOptions<D>::SortOrder() const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::SortOrder() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->get_SortOrder(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Storage::Search::SortEntry>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Search_IQueryOptions<D>::GroupPropertyName() const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::DateStackOption) consume_Windows_Storage_Search_IQueryOptions<D>::DateStackOption() const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::DateStackOption() const
{
winrt::Windows::Storage::Search::DateStackOption value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->get_DateStackOption(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Search_IQueryOptions<D>::SaveToString() const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::SaveToString() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->SaveToString(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IQueryOptions<D>::LoadFromString(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::LoadFromString(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->LoadFromString(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IQueryOptions<D>::SetThumbnailPrefetch(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& options) const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::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<int32_t>(mode), requestedSize, static_cast<uint32_t>(options)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IQueryOptions<D>::SetPropertyPrefetch(winrt::Windows::Storage::FileProperties::PropertyPrefetchOptions const& options, param::iterable<hstring> const& propertiesToRetrieve) const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptions<D>::SetPropertyPrefetch(winrt::Windows::Storage::FileProperties::PropertyPrefetchOptions const& options, param::iterable<hstring> const& propertiesToRetrieve) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptions)->SetPropertyPrefetch(static_cast<uint32_t>(options), *(void**)(&propertiesToRetrieve)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::QueryOptions) consume_Windows_Storage_Search_IQueryOptionsFactory<D>::CreateCommonFileQuery(winrt::Windows::Storage::Search::CommonFileQuery const& query, param::iterable<hstring> const& fileTypeFilter) const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptionsFactory<D>::CreateCommonFileQuery(winrt::Windows::Storage::Search::CommonFileQuery const& query, param::iterable<hstring> const& fileTypeFilter) const
{
void* queryOptions{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptionsFactory)->CreateCommonFileQuery(static_cast<int32_t>(query), *(void**)(&fileTypeFilter), &queryOptions));
return winrt::Windows::Storage::Search::QueryOptions{ queryOptions, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::QueryOptions) consume_Windows_Storage_Search_IQueryOptionsFactory<D>::CreateCommonFolderQuery(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptionsFactory<D>::CreateCommonFolderQuery(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const
{
void* queryOptions{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptionsFactory)->CreateCommonFolderQuery(static_cast<int32_t>(query), &queryOptions));
return winrt::Windows::Storage::Search::QueryOptions{ queryOptions, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_Storage_Search_IQueryOptionsWithProviderFilter<D>::StorageProviderIdFilter() const
+ template <typename D> auto consume_Windows_Storage_Search_IQueryOptionsWithProviderFilter<D>::StorageProviderIdFilter() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IQueryOptionsWithProviderFilter)->get_StorageProviderIdFilter(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>) consume_Windows_Storage_Search_IStorageFileQueryResult<D>::GetFilesAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFileQueryResult<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>) consume_Windows_Storage_Search_IStorageFileQueryResult<D>::GetFilesAsync() const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFileQueryResult<D>::GetFilesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFileQueryResult)->GetFilesAsyncDefaultStartAndCount(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Data::Text::TextSegment>>) consume_Windows_Storage_Search_IStorageFileQueryResult2<D>::GetMatchingPropertiesWithRanges(winrt::Windows::Storage::StorageFile const& file) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFileQueryResult2<D>::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<hstring, winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Data::Text::TextSegment>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Search::IndexedState>) consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::GetIndexedStateAsync() const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::GetIndexedStateAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->GetIndexedStateAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Search::IndexedState>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFileQueryResult) consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::CreateFileQuery() const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFileQueryResult) consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::CreateFileQuery(winrt::Windows::Storage::Search::CommonFileQuery const& query) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::CreateFileQuery(winrt::Windows::Storage::Search::CommonFileQuery const& query) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->CreateFileQuery(static_cast<int32_t>(query), &value));
return winrt::Windows::Storage::Search::StorageFileQueryResult{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFileQueryResult) consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::CreateFileQueryWithOptions(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFolderQueryResult) consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::CreateFolderQuery() const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFolderQueryResult) consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::CreateFolderQuery(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::CreateFolderQuery(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->CreateFolderQuery(static_cast<int32_t>(query), &value));
return winrt::Windows::Storage::Search::StorageFolderQueryResult{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFolderQueryResult) consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::CreateFolderQueryWithOptions(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageItemQueryResult) consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::CreateItemQuery() const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageItemQueryResult) consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::CreateItemQueryWithOptions(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>) consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::GetFilesAsync(winrt::Windows::Storage::Search::CommonFileQuery const& query, uint32_t startIndex, uint32_t maxItemsToRetrieve) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::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<int32_t>(query), startIndex, maxItemsToRetrieve, &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>) consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::GetFilesAsync(winrt::Windows::Storage::Search::CommonFileQuery const& query) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::GetFilesAsync(winrt::Windows::Storage::Search::CommonFileQuery const& query) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->GetFilesAsyncOverloadDefaultStartAndCount(static_cast<int32_t>(query), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFolder>>) consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::GetFoldersAsync(winrt::Windows::Storage::Search::CommonFolderQuery const& query, uint32_t startIndex, uint32_t maxItemsToRetrieve) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::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<int32_t>(query), startIndex, maxItemsToRetrieve, &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFolder>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFolder>>) consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::GetFoldersAsync(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::GetFoldersAsync(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->GetFoldersAsyncOverloadDefaultStartAndCount(static_cast<int32_t>(query), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFolder>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>>) consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::GetItemsAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::AreQueryOptionsSupported(winrt::Windows::Storage::Search::QueryOptions const& queryOptions) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::IsCommonFolderQuerySupported(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::IsCommonFolderQuerySupported(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->IsCommonFolderQuerySupported(static_cast<int32_t>(query), &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::IsCommonFileQuerySupported(winrt::Windows::Storage::Search::CommonFileQuery const& query) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryOperations<D>::IsCommonFileQuerySupported(winrt::Windows::Storage::Search::CommonFileQuery const& query) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryOperations)->IsCommonFileQuerySupported(static_cast<int32_t>(query), &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFolder>>) consume_Windows_Storage_Search_IStorageFolderQueryResult<D>::GetFoldersAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryResult<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFolder>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFolder>>) consume_Windows_Storage_Search_IStorageFolderQueryResult<D>::GetFoldersAsync() const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageFolderQueryResult<D>::GetFoldersAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageFolderQueryResult)->GetFoldersAsyncDefaultStartAndCount(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFolder>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>>) consume_Windows_Storage_Search_IStorageItemQueryResult<D>::GetItemsAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageItemQueryResult<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>>) consume_Windows_Storage_Search_IStorageItemQueryResult<D>::GetItemsAsync() const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageItemQueryResult<D>::GetItemsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageItemQueryResult)->GetItemsAsyncDefaultStartAndCount(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_Search_IStorageLibraryChangeTrackerTriggerDetails<D>::Folder() const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageLibraryChangeTrackerTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeTracker) consume_Windows_Storage_Search_IStorageLibraryChangeTrackerTriggerDetails<D>::ChangeTracker() const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageLibraryChangeTrackerTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_Search_IStorageLibraryContentChangedTriggerDetails<D>::Folder() const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageLibraryContentChangedTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageItemQueryResult) consume_Windows_Storage_Search_IStorageLibraryContentChangedTriggerDetails<D>::CreateModifiedSinceQuery(winrt::Windows::Foundation::DateTime const& lastQueryTime) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageLibraryContentChangedTriggerDetails<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) consume_Windows_Storage_Search_IStorageQueryResultBase<D>::GetItemCountAsync() const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageQueryResultBase<D>::GetItemCountAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageQueryResultBase)->GetItemCountAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_Search_IStorageQueryResultBase<D>::Folder() const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageQueryResultBase<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Search_IStorageQueryResultBase<D>::ContentsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Search::IStorageQueryResultBase, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageQueryResultBase<D>::ContentsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Search::IStorageQueryResultBase, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Storage_Search_IStorageQueryResultBase<D>::ContentsChanged_revoker consume_Windows_Storage_Search_IStorageQueryResultBase<D>::ContentsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Search::IStorageQueryResultBase, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageQueryResultBase<D>::ContentsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Search::IStorageQueryResultBase, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ContentsChanged_revoker>(this, ContentsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IStorageQueryResultBase<D>::ContentsChanged(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Storage_Search_IStorageQueryResultBase<D>::ContentsChanged(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageQueryResultBase)->remove_ContentsChanged(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_Search_IStorageQueryResultBase<D>::OptionsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Search::IStorageQueryResultBase, winrt::Windows::Foundation::IInspectable> const& changedHandler) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageQueryResultBase<D>::OptionsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Search::IStorageQueryResultBase, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Storage_Search_IStorageQueryResultBase<D>::OptionsChanged_revoker consume_Windows_Storage_Search_IStorageQueryResultBase<D>::OptionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Search::IStorageQueryResultBase, winrt::Windows::Foundation::IInspectable> const& changedHandler) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageQueryResultBase<D>::OptionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Search::IStorageQueryResultBase, winrt::Windows::Foundation::IInspectable> const& changedHandler) const
{
return impl::make_event_revoker<D, OptionsChanged_revoker>(this, OptionsChanged(changedHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IStorageQueryResultBase<D>::OptionsChanged(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Storage_Search_IStorageQueryResultBase<D>::OptionsChanged(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageQueryResultBase)->remove_OptionsChanged(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) consume_Windows_Storage_Search_IStorageQueryResultBase<D>::FindStartIndexAsync(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageQueryResultBase<D>::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<uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::QueryOptions) consume_Windows_Storage_Search_IStorageQueryResultBase<D>::GetCurrentQueryOptions() const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageQueryResultBase<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IStorageQueryResultBase<D>::ApplyNewQueryOptions(winrt::Windows::Storage::Search::QueryOptions const& newQueryOptions) const
+ template <typename D> auto consume_Windows_Storage_Search_IStorageQueryResultBase<D>::ApplyNewQueryOptions(winrt::Windows::Storage::Search::QueryOptions const& newQueryOptions) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IStorageQueryResultBase)->ApplyNewQueryOptions(*(void**)(&newQueryOptions)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Search_IValueAndLanguage<D>::Language() const
+ template <typename D> auto consume_Windows_Storage_Search_IValueAndLanguage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IValueAndLanguage<D>::Language(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Search_IValueAndLanguage<D>::Language(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Search::IValueAndLanguage)->put_Language(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_Storage_Search_IValueAndLanguage<D>::Value() const
+ template <typename D> auto consume_Windows_Storage_Search_IValueAndLanguage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Search_IValueAndLanguage<D>::Value(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_Storage_Search_IValueAndLanguage<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Streams.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Streams.h
index 1e06ded9dda..94650fb9ace 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.Streams.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_Streams_IBuffer<D>::Capacity() const
+ template <typename D> auto consume_Windows_Storage_Streams_IBuffer<D>::Capacity() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IBuffer)->get_Capacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_Streams_IBuffer<D>::Length() const
+ template <typename D> auto consume_Windows_Storage_Streams_IBuffer<D>::Length() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IBuffer)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IBuffer<D>::Length(uint32_t value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IBuffer<D>::Length(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IBuffer)->put_Length(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::Buffer) consume_Windows_Storage_Streams_IBufferFactory<D>::Create(uint32_t capacity) const
+ template <typename D> auto consume_Windows_Storage_Streams_IBufferFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::Buffer) consume_Windows_Storage_Streams_IBufferStatics<D>::CreateCopyFromMemoryBuffer(winrt::Windows::Foundation::IMemoryBuffer const& input) const
+ template <typename D> auto consume_Windows_Storage_Streams_IBufferStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::MemoryBuffer) consume_Windows_Storage_Streams_IBufferStatics<D>::CreateMemoryBufferOverIBuffer(winrt::Windows::Storage::Streams::IBuffer const& input) const
+ template <typename D> auto consume_Windows_Storage_Streams_IBufferStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Streams_IContentTypeProvider<D>::ContentType() const
+ template <typename D> auto consume_Windows_Storage_Streams_IContentTypeProvider<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_Streams_IDataReader<D>::UnconsumedBufferLength() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::UnconsumedBufferLength() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->get_UnconsumedBufferLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::UnicodeEncoding) consume_Windows_Storage_Streams_IDataReader<D>::UnicodeEncoding() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::UnicodeEncoding() const
{
winrt::Windows::Storage::Streams::UnicodeEncoding value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->get_UnicodeEncoding(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataReader<D>::UnicodeEncoding(winrt::Windows::Storage::Streams::UnicodeEncoding const& value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::UnicodeEncoding(winrt::Windows::Storage::Streams::UnicodeEncoding const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->put_UnicodeEncoding(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::ByteOrder) consume_Windows_Storage_Streams_IDataReader<D>::ByteOrder() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::ByteOrder() const
{
winrt::Windows::Storage::Streams::ByteOrder value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->get_ByteOrder(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataReader<D>::ByteOrder(winrt::Windows::Storage::Streams::ByteOrder const& value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::ByteOrder(winrt::Windows::Storage::Streams::ByteOrder const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->put_ByteOrder(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::InputStreamOptions) consume_Windows_Storage_Streams_IDataReader<D>::InputStreamOptions() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::InputStreamOptions() const
{
winrt::Windows::Storage::Streams::InputStreamOptions value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->get_InputStreamOptions(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataReader<D>::InputStreamOptions(winrt::Windows::Storage::Streams::InputStreamOptions const& value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::InputStreamOptions(winrt::Windows::Storage::Streams::InputStreamOptions const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->put_InputStreamOptions(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint8_t) consume_Windows_Storage_Streams_IDataReader<D>::ReadByte() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::ReadByte() const
{
uint8_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadByte(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataReader<D>::ReadBytes(array_view<uint8_t> value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::ReadBytes(array_view<uint8_t> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadBytes(value.size(), put_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Storage_Streams_IDataReader<D>::ReadBuffer(uint32_t length) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Streams_IDataReader<D>::ReadBoolean() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::ReadBoolean() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadBoolean(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Storage_Streams_IDataReader<D>::ReadGuid() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::ReadGuid() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadGuid(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int16_t) consume_Windows_Storage_Streams_IDataReader<D>::ReadInt16() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::ReadInt16() const
{
int16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadInt16(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_Storage_Streams_IDataReader<D>::ReadInt32() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::ReadInt32() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadInt32(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_Storage_Streams_IDataReader<D>::ReadInt64() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::ReadInt64() const
{
int64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadInt64(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_Storage_Streams_IDataReader<D>::ReadUInt16() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::ReadUInt16() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadUInt16(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_Streams_IDataReader<D>::ReadUInt32() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::ReadUInt32() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadUInt32(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_Streams_IDataReader<D>::ReadUInt64() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::ReadUInt64() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadUInt64(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_Storage_Streams_IDataReader<D>::ReadSingle() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::ReadSingle() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadSingle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Storage_Streams_IDataReader<D>::ReadDouble() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::ReadDouble() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadDouble(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_Streams_IDataReader<D>::ReadString(uint32_t codeUnitCount) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Storage_Streams_IDataReader<D>::ReadDateTime() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::ReadDateTime() const
{
winrt::Windows::Foundation::DateTime value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadDateTime(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Storage_Streams_IDataReader<D>::ReadTimeSpan() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::ReadTimeSpan() const
{
winrt::Windows::Foundation::TimeSpan value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataReader)->ReadTimeSpan(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataReaderLoadOperation) consume_Windows_Storage_Streams_IDataReader<D>::LoadAsync(uint32_t count) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Storage_Streams_IDataReader<D>::DetachBuffer() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Storage_Streams_IDataReader<D>::DetachStream() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReader<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataReader) consume_Windows_Storage_Streams_IDataReaderFactory<D>::CreateDataReader(winrt::Windows::Storage::Streams::IInputStream const& inputStream) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReaderFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataReader) consume_Windows_Storage_Streams_IDataReaderStatics<D>::FromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataReaderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_Streams_IDataWriter<D>::UnstoredBufferLength() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::UnstoredBufferLength() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->get_UnstoredBufferLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::UnicodeEncoding) consume_Windows_Storage_Streams_IDataWriter<D>::UnicodeEncoding() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::UnicodeEncoding() const
{
winrt::Windows::Storage::Streams::UnicodeEncoding value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->get_UnicodeEncoding(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::UnicodeEncoding(winrt::Windows::Storage::Streams::UnicodeEncoding const& value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::UnicodeEncoding(winrt::Windows::Storage::Streams::UnicodeEncoding const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->put_UnicodeEncoding(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::ByteOrder) consume_Windows_Storage_Streams_IDataWriter<D>::ByteOrder() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::ByteOrder() const
{
winrt::Windows::Storage::Streams::ByteOrder value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->get_ByteOrder(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::ByteOrder(winrt::Windows::Storage::Streams::ByteOrder const& value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::ByteOrder(winrt::Windows::Storage::Streams::ByteOrder const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->put_ByteOrder(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::WriteByte(uint8_t value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::WriteByte(uint8_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteByte(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::WriteBytes(array_view<uint8_t const> value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::WriteBytes(array_view<uint8_t const> value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteBytes(value.size(), get_abi(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::WriteBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::WriteBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteBuffer(*(void**)(&buffer)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::WriteBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer, uint32_t start, uint32_t count) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::WriteBoolean(bool value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::WriteBoolean(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteBoolean(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::WriteGuid(winrt::guid const& value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::WriteGuid(winrt::guid const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteGuid(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::WriteInt16(int16_t value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::WriteInt16(int16_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteInt16(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::WriteInt32(int32_t value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::WriteInt32(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteInt32(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::WriteInt64(int64_t value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::WriteInt64(int64_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteInt64(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::WriteUInt16(uint16_t value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::WriteUInt16(uint16_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteUInt16(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::WriteUInt32(uint32_t value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::WriteUInt32(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteUInt32(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::WriteUInt64(uint64_t value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::WriteUInt64(uint64_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteUInt64(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::WriteSingle(float value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::WriteSingle(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteSingle(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::WriteDouble(double value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::WriteDouble(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteDouble(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::WriteDateTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::WriteDateTime(winrt::Windows::Foundation::DateTime const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteDateTime(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IDataWriter<D>::WriteTimeSpan(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::WriteTimeSpan(winrt::Windows::Foundation::TimeSpan const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->WriteTimeSpan(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_Streams_IDataWriter<D>::WriteString(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_Streams_IDataWriter<D>::MeasureString(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataWriterStoreOperation) consume_Windows_Storage_Streams_IDataWriter<D>::StoreAsync() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Storage_Streams_IDataWriter<D>::FlushAsync() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::FlushAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IDataWriter)->FlushAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Storage_Streams_IDataWriter<D>::DetachBuffer() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Storage_Streams_IDataWriter<D>::DetachStream() const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::DataWriter) consume_Windows_Storage_Streams_IDataWriterFactory<D>::CreateDataWriter(winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const
+ template <typename D> auto consume_Windows_Storage_Streams_IDataWriterFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics<D>::OpenAsync(param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode) const
+ template <typename D> auto consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics<D>::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<int32_t>(accessMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics<D>::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 <typename D> auto consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics<D>::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<int32_t>(accessMode), static_cast<uint32_t>(sharingOptions), static_cast<int32_t>(openDisposition), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageStreamTransaction>) consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics<D>::OpenTransactedWriteAsync(param::hstring const& filePath) const
+ template <typename D> auto consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics<D>::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<winrt::Windows::Storage::StorageStreamTransaction>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageStreamTransaction>) consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics<D>::OpenTransactedWriteAsync(param::hstring const& filePath, winrt::Windows::Storage::StorageOpenOptions const& openOptions, winrt::Windows::Storage::Streams::FileOpenDisposition const& openDisposition) const
+ template <typename D> auto consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics<D>::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<uint32_t>(openOptions), static_cast<int32_t>(openDisposition), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageStreamTransaction>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics<D>::OpenForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode) const
+ template <typename D> auto consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics<D>::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<int32_t>(accessMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics<D>::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 <typename D> auto consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics<D>::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<int32_t>(accessMode), static_cast<uint32_t>(sharingOptions), static_cast<int32_t>(openDisposition), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageStreamTransaction>) consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics<D>::OpenTransactedWriteForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath) const
+ template <typename D> auto consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics<D>::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<winrt::Windows::Storage::StorageStreamTransaction>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageStreamTransaction>) consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics<D>::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 <typename D> auto consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics<D>::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<uint32_t>(openOptions), static_cast<int32_t>(openDisposition), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageStreamTransaction>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Storage::Streams::IBuffer, uint32_t>) consume_Windows_Storage_Streams_IInputStream<D>::ReadAsync(winrt::Windows::Storage::Streams::IBuffer const& buffer, uint32_t count, winrt::Windows::Storage::Streams::InputStreamOptions const& options) const
+ template <typename D> auto consume_Windows_Storage_Streams_IInputStream<D>::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<uint32_t>(options), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Storage::Streams::IBuffer, uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IInputStream>) consume_Windows_Storage_Streams_IInputStreamReference<D>::OpenSequentialReadAsync() const
+ template <typename D> auto consume_Windows_Storage_Streams_IInputStreamReference<D>::OpenSequentialReadAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IInputStreamReference)->OpenSequentialReadAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IInputStream>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint32_t, uint32_t>) consume_Windows_Storage_Streams_IOutputStream<D>::WriteAsync(winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Storage_Streams_IOutputStream<D>::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<uint32_t, uint32_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Storage_Streams_IOutputStream<D>::FlushAsync() const
+ template <typename D> auto consume_Windows_Storage_Streams_IOutputStream<D>::FlushAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IOutputStream)->FlushAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_Streams_IRandomAccessStream<D>::Size() const
+ template <typename D> auto consume_Windows_Storage_Streams_IRandomAccessStream<D>::Size() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStream)->get_Size(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IRandomAccessStream<D>::Size(uint64_t value) const
+ template <typename D> auto consume_Windows_Storage_Streams_IRandomAccessStream<D>::Size(uint64_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStream)->put_Size(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Storage_Streams_IRandomAccessStream<D>::GetInputStreamAt(uint64_t position) const
+ template <typename D> auto consume_Windows_Storage_Streams_IRandomAccessStream<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_Storage_Streams_IRandomAccessStream<D>::GetOutputStreamAt(uint64_t position) const
+ template <typename D> auto consume_Windows_Storage_Streams_IRandomAccessStream<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_Streams_IRandomAccessStream<D>::Position() const
+ template <typename D> auto consume_Windows_Storage_Streams_IRandomAccessStream<D>::Position() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStream)->get_Position(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_Streams_IRandomAccessStream<D>::Seek(uint64_t position) const
+ template <typename D> auto consume_Windows_Storage_Streams_IRandomAccessStream<D>::Seek(uint64_t position) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStream)->Seek(position));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_Storage_Streams_IRandomAccessStream<D>::CloneStream() const
+ template <typename D> auto consume_Windows_Storage_Streams_IRandomAccessStream<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Streams_IRandomAccessStream<D>::CanRead() const
+ template <typename D> auto consume_Windows_Storage_Streams_IRandomAccessStream<D>::CanRead() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStream)->get_CanRead(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_Streams_IRandomAccessStream<D>::CanWrite() const
+ template <typename D> auto consume_Windows_Storage_Streams_IRandomAccessStream<D>::CanWrite() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStream)->get_CanWrite(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType>) consume_Windows_Storage_Streams_IRandomAccessStreamReference<D>::OpenReadAsync() const
+ template <typename D> auto consume_Windows_Storage_Streams_IRandomAccessStreamReference<D>::OpenReadAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::Streams::IRandomAccessStreamReference)->OpenReadAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_Storage_Streams_IRandomAccessStreamReferenceStatics<D>::CreateFromFile(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Storage_Streams_IRandomAccessStreamReferenceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_Storage_Streams_IRandomAccessStreamReferenceStatics<D>::CreateFromUri(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Storage_Streams_IRandomAccessStreamReferenceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::RandomAccessStreamReference) consume_Windows_Storage_Streams_IRandomAccessStreamReferenceStatics<D>::CreateFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const
+ template <typename D> auto consume_Windows_Storage_Streams_IRandomAccessStreamReferenceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint64_t, uint64_t>) consume_Windows_Storage_Streams_IRandomAccessStreamStatics<D>::CopyAsync(winrt::Windows::Storage::Streams::IInputStream const& source, winrt::Windows::Storage::Streams::IOutputStream const& destination) const
+ template <typename D> auto consume_Windows_Storage_Streams_IRandomAccessStreamStatics<D>::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<uint64_t, uint64_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint64_t, uint64_t>) consume_Windows_Storage_Streams_IRandomAccessStreamStatics<D>::CopyAsync(winrt::Windows::Storage::Streams::IInputStream const& source, winrt::Windows::Storage::Streams::IOutputStream const& destination, uint64_t bytesToCopy) const
+ template <typename D> auto consume_Windows_Storage_Streams_IRandomAccessStreamStatics<D>::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<uint64_t, uint64_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint64_t, uint64_t>) consume_Windows_Storage_Streams_IRandomAccessStreamStatics<D>::CopyAndCloseAsync(winrt::Windows::Storage::Streams::IInputStream const& source, winrt::Windows::Storage::Streams::IOutputStream const& destination) const
+ template <typename D> auto consume_Windows_Storage_Streams_IRandomAccessStreamStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.h
index 4e0947a36d6..3d06e66b0f7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Storage.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths<D>::Cookies() const
+ template <typename D> auto consume_Windows_Storage_IAppDataPaths<D>::Cookies() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_Cookies(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths<D>::Desktop() const
+ template <typename D> auto consume_Windows_Storage_IAppDataPaths<D>::Desktop() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_Desktop(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths<D>::Documents() const
+ template <typename D> auto consume_Windows_Storage_IAppDataPaths<D>::Documents() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_Documents(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths<D>::Favorites() const
+ template <typename D> auto consume_Windows_Storage_IAppDataPaths<D>::Favorites() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_Favorites(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths<D>::History() const
+ template <typename D> auto consume_Windows_Storage_IAppDataPaths<D>::History() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_History(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths<D>::InternetCache() const
+ template <typename D> auto consume_Windows_Storage_IAppDataPaths<D>::InternetCache() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_InternetCache(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths<D>::LocalAppData() const
+ template <typename D> auto consume_Windows_Storage_IAppDataPaths<D>::LocalAppData() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_LocalAppData(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths<D>::ProgramData() const
+ template <typename D> auto consume_Windows_Storage_IAppDataPaths<D>::ProgramData() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_ProgramData(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IAppDataPaths<D>::RoamingAppData() const
+ template <typename D> auto consume_Windows_Storage_IAppDataPaths<D>::RoamingAppData() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IAppDataPaths)->get_RoamingAppData(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::AppDataPaths) consume_Windows_Storage_IAppDataPathsStatics<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Storage_IAppDataPathsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::AppDataPaths) consume_Windows_Storage_IAppDataPathsStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Storage_IAppDataPathsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_IApplicationData<D>::Version() const
+ template <typename D> auto consume_Windows_Storage_IApplicationData<D>::Version() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->get_Version(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IApplicationData<D>::SetVersionAsync(uint32_t desiredVersion, winrt::Windows::Storage::ApplicationDataSetVersionHandler const& handler) const
+ template <typename D> auto consume_Windows_Storage_IApplicationData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IApplicationData<D>::ClearAsync() const
+ template <typename D> auto consume_Windows_Storage_IApplicationData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IApplicationData<D>::ClearAsync(winrt::Windows::Storage::ApplicationDataLocality const& locality) const
+ template <typename D> auto consume_Windows_Storage_IApplicationData<D>::ClearAsync(winrt::Windows::Storage::ApplicationDataLocality const& locality) const
{
void* clearOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->ClearAsync(static_cast<int32_t>(locality), &clearOperation));
return winrt::Windows::Foundation::IAsyncAction{ clearOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationDataContainer) consume_Windows_Storage_IApplicationData<D>::LocalSettings() const
+ template <typename D> auto consume_Windows_Storage_IApplicationData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationDataContainer) consume_Windows_Storage_IApplicationData<D>::RoamingSettings() const
+ template <typename D> auto consume_Windows_Storage_IApplicationData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IApplicationData<D>::LocalFolder() const
+ template <typename D> auto consume_Windows_Storage_IApplicationData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IApplicationData<D>::RoamingFolder() const
+ template <typename D> auto consume_Windows_Storage_IApplicationData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IApplicationData<D>::TemporaryFolder() const
+ template <typename D> auto consume_Windows_Storage_IApplicationData<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_IApplicationData<D>::DataChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::ApplicationData, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Storage_IApplicationData<D>::DataChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::ApplicationData, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Storage_IApplicationData<D>::DataChanged_revoker consume_Windows_Storage_IApplicationData<D>::DataChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::ApplicationData, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Storage_IApplicationData<D>::DataChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::ApplicationData, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, DataChanged_revoker>(this, DataChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_IApplicationData<D>::DataChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Storage_IApplicationData<D>::DataChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->remove_DataChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_IApplicationData<D>::SignalDataChanged() const
+ template <typename D> auto consume_Windows_Storage_IApplicationData<D>::SignalDataChanged() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->SignalDataChanged());
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_IApplicationData<D>::RoamingStorageQuota() const
+ template <typename D> auto consume_Windows_Storage_IApplicationData<D>::RoamingStorageQuota() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationData)->get_RoamingStorageQuota(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IApplicationData2<D>::LocalCacheFolder() const
+ template <typename D> auto consume_Windows_Storage_IApplicationData2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IApplicationData3<D>::GetPublisherCacheFolder(param::hstring const& folderName) const
+ template <typename D> auto consume_Windows_Storage_IApplicationData3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IApplicationData3<D>::ClearPublisherCacheFolderAsync(param::hstring const& folderName) const
+ template <typename D> auto consume_Windows_Storage_IApplicationData3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IApplicationData3<D>::SharedLocalFolder() const
+ template <typename D> auto consume_Windows_Storage_IApplicationData3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IApplicationDataContainer<D>::Name() const
+ template <typename D> auto consume_Windows_Storage_IApplicationDataContainer<D>::Name() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationDataContainer)->get_Name(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationDataLocality) consume_Windows_Storage_IApplicationDataContainer<D>::Locality() const
+ template <typename D> auto consume_Windows_Storage_IApplicationDataContainer<D>::Locality() const
{
winrt::Windows::Storage::ApplicationDataLocality value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationDataContainer)->get_Locality(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_Storage_IApplicationDataContainer<D>::Values() const
+ template <typename D> auto consume_Windows_Storage_IApplicationDataContainer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Storage::ApplicationDataContainer>) consume_Windows_Storage_IApplicationDataContainer<D>::Containers() const
+ template <typename D> auto consume_Windows_Storage_IApplicationDataContainer<D>::Containers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationDataContainer)->get_Containers(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Storage::ApplicationDataContainer>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationDataContainer) consume_Windows_Storage_IApplicationDataContainer<D>::CreateContainer(param::hstring const& name, winrt::Windows::Storage::ApplicationDataCreateDisposition const& disposition) const
+ template <typename D> auto consume_Windows_Storage_IApplicationDataContainer<D>::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<int32_t>(disposition), &container));
return winrt::Windows::Storage::ApplicationDataContainer{ container, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_IApplicationDataContainer<D>::DeleteContainer(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Storage_IApplicationDataContainer<D>::DeleteContainer(param::hstring const& name) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IApplicationDataContainer)->DeleteContainer(*(void**)(&name)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationData) consume_Windows_Storage_IApplicationDataStatics<D>::Current() const
+ template <typename D> auto consume_Windows_Storage_IApplicationDataStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::ApplicationData>) consume_Windows_Storage_IApplicationDataStatics2<D>::GetForUserAsync(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Storage_IApplicationDataStatics2<D>::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<winrt::Windows::Storage::ApplicationData>{ getForUserOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_ICachedFileManagerStatics<D>::DeferUpdates(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Storage_ICachedFileManagerStatics<D>::DeferUpdates(winrt::Windows::Storage::IStorageFile const& file) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ICachedFileManagerStatics)->DeferUpdates(*(void**)(&file)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Provider::FileUpdateStatus>) consume_Windows_Storage_ICachedFileManagerStatics<D>::CompleteUpdatesAsync(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Storage_ICachedFileManagerStatics<D>::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<winrt::Windows::Storage::Provider::FileUpdateStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_IDownloadsFolderStatics<D>::CreateFileAsync(param::hstring const& desiredName) const
+ template <typename D> auto consume_Windows_Storage_IDownloadsFolderStatics<D>::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<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) consume_Windows_Storage_IDownloadsFolderStatics<D>::CreateFolderAsync(param::hstring const& desiredName) const
+ template <typename D> auto consume_Windows_Storage_IDownloadsFolderStatics<D>::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<winrt::Windows::Storage::StorageFolder>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_IDownloadsFolderStatics<D>::CreateFileAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const
+ template <typename D> auto consume_Windows_Storage_IDownloadsFolderStatics<D>::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<int32_t>(option), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) consume_Windows_Storage_IDownloadsFolderStatics<D>::CreateFolderAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const
+ template <typename D> auto consume_Windows_Storage_IDownloadsFolderStatics<D>::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<int32_t>(option), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_IDownloadsFolderStatics2<D>::CreateFileForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName) const
+ template <typename D> auto consume_Windows_Storage_IDownloadsFolderStatics2<D>::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<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) consume_Windows_Storage_IDownloadsFolderStatics2<D>::CreateFolderForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName) const
+ template <typename D> auto consume_Windows_Storage_IDownloadsFolderStatics2<D>::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<winrt::Windows::Storage::StorageFolder>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_IDownloadsFolderStatics2<D>::CreateFileForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const
+ template <typename D> auto consume_Windows_Storage_IDownloadsFolderStatics2<D>::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<int32_t>(option), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) consume_Windows_Storage_IDownloadsFolderStatics2<D>::CreateFolderForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const
+ template <typename D> auto consume_Windows_Storage_IDownloadsFolderStatics2<D>::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<int32_t>(option), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Storage_IFileIOStatics<D>::ReadTextAsync(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Storage_IFileIOStatics<D>::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<hstring>{ textOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Storage_IFileIOStatics<D>::ReadTextAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const
+ template <typename D> auto consume_Windows_Storage_IFileIOStatics<D>::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<int32_t>(encoding), &textOperation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ textOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics<D>::WriteTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents) const
+ template <typename D> auto consume_Windows_Storage_IFileIOStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics<D>::WriteTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const
+ template <typename D> auto consume_Windows_Storage_IFileIOStatics<D>::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<int32_t>(encoding), &textOperation));
return winrt::Windows::Foundation::IAsyncAction{ textOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics<D>::AppendTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents) const
+ template <typename D> auto consume_Windows_Storage_IFileIOStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics<D>::AppendTextAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const
+ template <typename D> auto consume_Windows_Storage_IFileIOStatics<D>::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<int32_t>(encoding), &textOperation));
return winrt::Windows::Foundation::IAsyncAction{ textOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<hstring>>) consume_Windows_Storage_IFileIOStatics<D>::ReadLinesAsync(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Storage_IFileIOStatics<D>::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<winrt::Windows::Foundation::Collections::IVector<hstring>>{ linesOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<hstring>>) consume_Windows_Storage_IFileIOStatics<D>::ReadLinesAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const
+ template <typename D> auto consume_Windows_Storage_IFileIOStatics<D>::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<int32_t>(encoding), &linesOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<hstring>>{ linesOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics<D>::WriteLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable<hstring> const& lines) const
+ template <typename D> auto consume_Windows_Storage_IFileIOStatics<D>::WriteLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics<D>::WriteLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable<hstring> const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const
+ template <typename D> auto consume_Windows_Storage_IFileIOStatics<D>::WriteLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable<hstring> 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<int32_t>(encoding), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics<D>::AppendLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable<hstring> const& lines) const
+ template <typename D> auto consume_Windows_Storage_IFileIOStatics<D>::AppendLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics<D>::AppendLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable<hstring> const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const
+ template <typename D> auto consume_Windows_Storage_IFileIOStatics<D>::AppendLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable<hstring> 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<int32_t>(encoding), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Storage_IFileIOStatics<D>::ReadBufferAsync(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_Storage_IFileIOStatics<D>::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<winrt::Windows::Storage::Streams::IBuffer>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics<D>::WriteBufferAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Storage_IFileIOStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IFileIOStatics<D>::WriteBytesAsync(winrt::Windows::Storage::IStorageFile const& file, array_view<uint8_t const> buffer) const
+ template <typename D> auto consume_Windows_Storage_IFileIOStatics<D>::WriteBytesAsync(winrt::Windows::Storage::IStorageFile const& file, array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersCameraRollStatics<D>::CameraRoll() const
+ template <typename D> auto consume_Windows_Storage_IKnownFoldersCameraRollStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersPlaylistsStatics<D>::Playlists() const
+ template <typename D> auto consume_Windows_Storage_IKnownFoldersPlaylistsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersSavedPicturesStatics<D>::SavedPictures() const
+ template <typename D> auto consume_Windows_Storage_IKnownFoldersSavedPicturesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics<D>::MusicLibrary() const
+ template <typename D> auto consume_Windows_Storage_IKnownFoldersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics<D>::PicturesLibrary() const
+ template <typename D> auto consume_Windows_Storage_IKnownFoldersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics<D>::VideosLibrary() const
+ template <typename D> auto consume_Windows_Storage_IKnownFoldersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics<D>::DocumentsLibrary() const
+ template <typename D> auto consume_Windows_Storage_IKnownFoldersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics<D>::HomeGroup() const
+ template <typename D> auto consume_Windows_Storage_IKnownFoldersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics<D>::RemovableDevices() const
+ template <typename D> auto consume_Windows_Storage_IKnownFoldersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics<D>::MediaServerDevices() const
+ template <typename D> auto consume_Windows_Storage_IKnownFoldersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics2<D>::Objects3D() const
+ template <typename D> auto consume_Windows_Storage_IKnownFoldersStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics2<D>::AppCaptures() const
+ template <typename D> auto consume_Windows_Storage_IKnownFoldersStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IKnownFoldersStatics2<D>::RecordedCalls() const
+ template <typename D> auto consume_Windows_Storage_IKnownFoldersStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) consume_Windows_Storage_IKnownFoldersStatics3<D>::GetFolderForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Storage::KnownFolderId const& folderId) const
+ template <typename D> auto consume_Windows_Storage_IKnownFoldersStatics3<D>::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<int32_t>(folderId), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::KnownFoldersAccessStatus>) consume_Windows_Storage_IKnownFoldersStatics4<D>::RequestAccessAsync(winrt::Windows::Storage::KnownFolderId const& folderId) const
+ template <typename D> auto consume_Windows_Storage_IKnownFoldersStatics4<D>::RequestAccessAsync(winrt::Windows::Storage::KnownFolderId const& folderId) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersStatics4)->RequestAccessAsync(static_cast<int32_t>(folderId), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::KnownFoldersAccessStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::KnownFoldersAccessStatus>) consume_Windows_Storage_IKnownFoldersStatics4<D>::RequestAccessForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Storage::KnownFolderId const& folderId) const
+ template <typename D> auto consume_Windows_Storage_IKnownFoldersStatics4<D>::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<int32_t>(folderId), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::KnownFoldersAccessStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) consume_Windows_Storage_IKnownFoldersStatics4<D>::GetFolderAsync(winrt::Windows::Storage::KnownFolderId const& folderId) const
+ template <typename D> auto consume_Windows_Storage_IKnownFoldersStatics4<D>::GetFolderAsync(winrt::Windows::Storage::KnownFolderId const& folderId) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IKnownFoldersStatics4)->GetFolderAsync(static_cast<int32_t>(folderId), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Storage_IPathIOStatics<D>::ReadTextAsync(param::hstring const& absolutePath) const
+ template <typename D> auto consume_Windows_Storage_IPathIOStatics<D>::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<hstring>{ textOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Storage_IPathIOStatics<D>::ReadTextAsync(param::hstring const& absolutePath, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const
+ template <typename D> auto consume_Windows_Storage_IPathIOStatics<D>::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<int32_t>(encoding), &textOperation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ textOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics<D>::WriteTextAsync(param::hstring const& absolutePath, param::hstring const& contents) const
+ template <typename D> auto consume_Windows_Storage_IPathIOStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics<D>::WriteTextAsync(param::hstring const& absolutePath, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const
+ template <typename D> auto consume_Windows_Storage_IPathIOStatics<D>::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<int32_t>(encoding), &textOperation));
return winrt::Windows::Foundation::IAsyncAction{ textOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics<D>::AppendTextAsync(param::hstring const& absolutePath, param::hstring const& contents) const
+ template <typename D> auto consume_Windows_Storage_IPathIOStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics<D>::AppendTextAsync(param::hstring const& absolutePath, param::hstring const& contents, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const
+ template <typename D> auto consume_Windows_Storage_IPathIOStatics<D>::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<int32_t>(encoding), &textOperation));
return winrt::Windows::Foundation::IAsyncAction{ textOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<hstring>>) consume_Windows_Storage_IPathIOStatics<D>::ReadLinesAsync(param::hstring const& absolutePath) const
+ template <typename D> auto consume_Windows_Storage_IPathIOStatics<D>::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<winrt::Windows::Foundation::Collections::IVector<hstring>>{ linesOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<hstring>>) consume_Windows_Storage_IPathIOStatics<D>::ReadLinesAsync(param::hstring const& absolutePath, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const
+ template <typename D> auto consume_Windows_Storage_IPathIOStatics<D>::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<int32_t>(encoding), &linesOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<hstring>>{ linesOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics<D>::WriteLinesAsync(param::hstring const& absolutePath, param::async_iterable<hstring> const& lines) const
+ template <typename D> auto consume_Windows_Storage_IPathIOStatics<D>::WriteLinesAsync(param::hstring const& absolutePath, param::async_iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics<D>::WriteLinesAsync(param::hstring const& absolutePath, param::async_iterable<hstring> const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const
+ template <typename D> auto consume_Windows_Storage_IPathIOStatics<D>::WriteLinesAsync(param::hstring const& absolutePath, param::async_iterable<hstring> 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<int32_t>(encoding), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics<D>::AppendLinesAsync(param::hstring const& absolutePath, param::async_iterable<hstring> const& lines) const
+ template <typename D> auto consume_Windows_Storage_IPathIOStatics<D>::AppendLinesAsync(param::hstring const& absolutePath, param::async_iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics<D>::AppendLinesAsync(param::hstring const& absolutePath, param::async_iterable<hstring> const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const
+ template <typename D> auto consume_Windows_Storage_IPathIOStatics<D>::AppendLinesAsync(param::hstring const& absolutePath, param::async_iterable<hstring> 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<int32_t>(encoding), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_Storage_IPathIOStatics<D>::ReadBufferAsync(param::hstring const& absolutePath) const
+ template <typename D> auto consume_Windows_Storage_IPathIOStatics<D>::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<winrt::Windows::Storage::Streams::IBuffer>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics<D>::WriteBufferAsync(param::hstring const& absolutePath, winrt::Windows::Storage::Streams::IBuffer const& buffer) const
+ template <typename D> auto consume_Windows_Storage_IPathIOStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IPathIOStatics<D>::WriteBytesAsync(param::hstring const& absolutePath, array_view<uint8_t const> buffer) const
+ template <typename D> auto consume_Windows_Storage_IPathIOStatics<D>::WriteBytesAsync(param::hstring const& absolutePath, array_view<uint8_t const> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_ISetVersionDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_Storage_ISetVersionDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISetVersionDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_ISetVersionRequest<D>::CurrentVersion() const
+ template <typename D> auto consume_Windows_Storage_ISetVersionRequest<D>::CurrentVersion() const
{
uint32_t currentVersion{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISetVersionRequest)->get_CurrentVersion(&currentVersion));
return currentVersion;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Storage_ISetVersionRequest<D>::DesiredVersion() const
+ template <typename D> auto consume_Windows_Storage_ISetVersionRequest<D>::DesiredVersion() const
{
uint32_t desiredVersion{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISetVersionRequest)->get_DesiredVersion(&desiredVersion));
return desiredVersion;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::SetVersionDeferral) consume_Windows_Storage_ISetVersionRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Storage_ISetVersionRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageFile<D>::FileType() const
+ template <typename D> auto consume_Windows_Storage_IStorageFile<D>::FileType() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile)->get_FileType(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageFile<D>::ContentType() const
+ template <typename D> auto consume_Windows_Storage_IStorageFile<D>::ContentType() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile)->get_ContentType(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) consume_Windows_Storage_IStorageFile<D>::OpenAsync(winrt::Windows::Storage::FileAccessMode const& accessMode) const
+ template <typename D> auto consume_Windows_Storage_IStorageFile<D>::OpenAsync(winrt::Windows::Storage::FileAccessMode const& accessMode) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile)->OpenAsync(static_cast<int32_t>(accessMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageStreamTransaction>) consume_Windows_Storage_IStorageFile<D>::OpenTransactedWriteAsync() const
+ template <typename D> auto consume_Windows_Storage_IStorageFile<D>::OpenTransactedWriteAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile)->OpenTransactedWriteAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageStreamTransaction>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_IStorageFile<D>::CopyAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder) const
+ template <typename D> auto consume_Windows_Storage_IStorageFile<D>::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<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_IStorageFile<D>::CopyAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName) const
+ template <typename D> auto consume_Windows_Storage_IStorageFile<D>::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<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_IStorageFile<D>::CopyAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName, winrt::Windows::Storage::NameCollisionOption const& option) const
+ template <typename D> auto consume_Windows_Storage_IStorageFile<D>::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<int32_t>(option), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageFile<D>::CopyAndReplaceAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace) const
+ template <typename D> auto consume_Windows_Storage_IStorageFile<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageFile<D>::MoveAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder) const
+ template <typename D> auto consume_Windows_Storage_IStorageFile<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageFile<D>::MoveAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName) const
+ template <typename D> auto consume_Windows_Storage_IStorageFile<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageFile<D>::MoveAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName, winrt::Windows::Storage::NameCollisionOption const& option) const
+ template <typename D> auto consume_Windows_Storage_IStorageFile<D>::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<int32_t>(option), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageFile<D>::MoveAndReplaceAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace) const
+ template <typename D> auto consume_Windows_Storage_IStorageFile<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) consume_Windows_Storage_IStorageFile2<D>::OpenAsync(winrt::Windows::Storage::FileAccessMode const& accessMode, winrt::Windows::Storage::StorageOpenOptions const& options) const
+ template <typename D> auto consume_Windows_Storage_IStorageFile2<D>::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<int32_t>(accessMode), static_cast<uint32_t>(options), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageStreamTransaction>) consume_Windows_Storage_IStorageFile2<D>::OpenTransactedWriteAsync(winrt::Windows::Storage::StorageOpenOptions const& options) const
+ template <typename D> auto consume_Windows_Storage_IStorageFile2<D>::OpenTransactedWriteAsync(winrt::Windows::Storage::StorageOpenOptions const& options) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFile2)->OpenTransactedWriteWithOptionsAsync(static_cast<uint32_t>(options), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageStreamTransaction>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_IStorageFilePropertiesWithAvailability<D>::IsAvailable() const
+ template <typename D> auto consume_Windows_Storage_IStorageFilePropertiesWithAvailability<D>::IsAvailable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFilePropertiesWithAvailability)->get_IsAvailable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_IStorageFileStatics<D>::GetFileFromPathAsync(param::hstring const& path) const
+ template <typename D> auto consume_Windows_Storage_IStorageFileStatics<D>::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<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_IStorageFileStatics<D>::GetFileFromApplicationUriAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Storage_IStorageFileStatics<D>::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<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_IStorageFileStatics<D>::CreateStreamedFileAsync(param::hstring const& displayNameWithExtension, winrt::Windows::Storage::StreamedFileDataRequestedHandler const& dataRequested, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const
+ template <typename D> auto consume_Windows_Storage_IStorageFileStatics<D>::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<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_IStorageFileStatics<D>::ReplaceWithStreamedFileAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace, winrt::Windows::Storage::StreamedFileDataRequestedHandler const& dataRequested, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const
+ template <typename D> auto consume_Windows_Storage_IStorageFileStatics<D>::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<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_IStorageFileStatics<D>::CreateStreamedFileFromUriAsync(param::hstring const& displayNameWithExtension, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const
+ template <typename D> auto consume_Windows_Storage_IStorageFileStatics<D>::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<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_IStorageFileStatics<D>::ReplaceWithStreamedFileFromUriAsync(winrt::Windows::Storage::IStorageFile const& fileToReplace, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& thumbnail) const
+ template <typename D> auto consume_Windows_Storage_IStorageFileStatics<D>::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<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_IStorageFileStatics2<D>::GetFileFromPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path) const
+ template <typename D> auto consume_Windows_Storage_IStorageFileStatics2<D>::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<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_IStorageFolder<D>::CreateFileAsync(param::hstring const& desiredName) const
+ template <typename D> auto consume_Windows_Storage_IStorageFolder<D>::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<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_IStorageFolder<D>::CreateFileAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& options) const
+ template <typename D> auto consume_Windows_Storage_IStorageFolder<D>::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<int32_t>(options), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) consume_Windows_Storage_IStorageFolder<D>::CreateFolderAsync(param::hstring const& desiredName) const
+ template <typename D> auto consume_Windows_Storage_IStorageFolder<D>::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<winrt::Windows::Storage::StorageFolder>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) consume_Windows_Storage_IStorageFolder<D>::CreateFolderAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& options) const
+ template <typename D> auto consume_Windows_Storage_IStorageFolder<D>::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<int32_t>(options), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) consume_Windows_Storage_IStorageFolder<D>::GetFileAsync(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Storage_IStorageFolder<D>::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<winrt::Windows::Storage::StorageFile>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) consume_Windows_Storage_IStorageFolder<D>::GetFolderAsync(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Storage_IStorageFolder<D>::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<winrt::Windows::Storage::StorageFolder>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::IStorageItem>) consume_Windows_Storage_IStorageFolder<D>::GetItemAsync(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Storage_IStorageFolder<D>::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<winrt::Windows::Storage::IStorageItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>) consume_Windows_Storage_IStorageFolder<D>::GetFilesAsync() const
+ template <typename D> auto consume_Windows_Storage_IStorageFolder<D>::GetFilesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFolder)->GetFilesAsyncOverloadDefaultOptionsStartAndCount(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFolder>>) consume_Windows_Storage_IStorageFolder<D>::GetFoldersAsync() const
+ template <typename D> auto consume_Windows_Storage_IStorageFolder<D>::GetFoldersAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFolder)->GetFoldersAsyncOverloadDefaultOptionsStartAndCount(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFolder>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>>) consume_Windows_Storage_IStorageFolder<D>::GetItemsAsync() const
+ template <typename D> auto consume_Windows_Storage_IStorageFolder<D>::GetItemsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageFolder)->GetItemsAsyncOverloadDefaultStartAndCount(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::IStorageItem>) consume_Windows_Storage_IStorageFolder2<D>::TryGetItemAsync(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Storage_IStorageFolder2<D>::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<winrt::Windows::Storage::IStorageItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeTracker) consume_Windows_Storage_IStorageFolder3<D>::TryGetChangeTracker() const
+ template <typename D> auto consume_Windows_Storage_IStorageFolder3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) consume_Windows_Storage_IStorageFolderStatics<D>::GetFolderFromPathAsync(param::hstring const& path) const
+ template <typename D> auto consume_Windows_Storage_IStorageFolderStatics<D>::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<winrt::Windows::Storage::StorageFolder>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) consume_Windows_Storage_IStorageFolderStatics2<D>::GetFolderFromPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path) const
+ template <typename D> auto consume_Windows_Storage_IStorageFolderStatics2<D>::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<winrt::Windows::Storage::StorageFolder>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageItem<D>::RenameAsync(param::hstring const& desiredName) const
+ template <typename D> auto consume_Windows_Storage_IStorageItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageItem<D>::RenameAsync(param::hstring const& desiredName, winrt::Windows::Storage::NameCollisionOption const& option) const
+ template <typename D> auto consume_Windows_Storage_IStorageItem<D>::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<int32_t>(option), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageItem<D>::DeleteAsync() const
+ template <typename D> auto consume_Windows_Storage_IStorageItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageItem<D>::DeleteAsync(winrt::Windows::Storage::StorageDeleteOption const& option) const
+ template <typename D> auto consume_Windows_Storage_IStorageItem<D>::DeleteAsync(winrt::Windows::Storage::StorageDeleteOption const& option) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem)->DeleteAsync(static_cast<int32_t>(option), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::BasicProperties>) consume_Windows_Storage_IStorageItem<D>::GetBasicPropertiesAsync() const
+ template <typename D> auto consume_Windows_Storage_IStorageItem<D>::GetBasicPropertiesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem)->GetBasicPropertiesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::BasicProperties>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageItem<D>::Name() const
+ template <typename D> auto consume_Windows_Storage_IStorageItem<D>::Name() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem)->get_Name(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageItem<D>::Path() const
+ template <typename D> auto consume_Windows_Storage_IStorageItem<D>::Path() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem)->get_Path(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::FileAttributes) consume_Windows_Storage_IStorageItem<D>::Attributes() const
+ template <typename D> auto consume_Windows_Storage_IStorageItem<D>::Attributes() const
{
winrt::Windows::Storage::FileAttributes value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem)->get_Attributes(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Storage_IStorageItem<D>::DateCreated() const
+ template <typename D> auto consume_Windows_Storage_IStorageItem<D>::DateCreated() const
{
winrt::Windows::Foundation::DateTime value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem)->get_DateCreated(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_IStorageItem<D>::IsOfType(winrt::Windows::Storage::StorageItemTypes const& type) const
+ template <typename D> auto consume_Windows_Storage_IStorageItem<D>::IsOfType(winrt::Windows::Storage::StorageItemTypes const& type) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem)->IsOfType(static_cast<uint32_t>(type), &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) consume_Windows_Storage_IStorageItem2<D>::GetParentAsync() const
+ template <typename D> auto consume_Windows_Storage_IStorageItem2<D>::GetParentAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItem2)->GetParentAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_IStorageItem2<D>::IsEqual(winrt::Windows::Storage::IStorageItem const& item) const
+ template <typename D> auto consume_Windows_Storage_IStorageItem2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>) consume_Windows_Storage_IStorageItemProperties<D>::GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const
+ template <typename D> auto consume_Windows_Storage_IStorageItemProperties<D>::GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItemProperties)->GetThumbnailAsyncOverloadDefaultSizeDefaultOptions(static_cast<int32_t>(mode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>) consume_Windows_Storage_IStorageItemProperties<D>::GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize) const
+ template <typename D> auto consume_Windows_Storage_IStorageItemProperties<D>::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<int32_t>(mode), requestedSize, &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>) consume_Windows_Storage_IStorageItemProperties<D>::GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& options) const
+ template <typename D> auto consume_Windows_Storage_IStorageItemProperties<D>::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<int32_t>(mode), requestedSize, static_cast<uint32_t>(options), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageItemProperties<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Storage_IStorageItemProperties<D>::DisplayName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItemProperties)->get_DisplayName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageItemProperties<D>::DisplayType() const
+ template <typename D> auto consume_Windows_Storage_IStorageItemProperties<D>::DisplayType() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItemProperties)->get_DisplayType(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageItemProperties<D>::FolderRelativeId() const
+ template <typename D> auto consume_Windows_Storage_IStorageItemProperties<D>::FolderRelativeId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItemProperties)->get_FolderRelativeId(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::FileProperties::StorageItemContentProperties) consume_Windows_Storage_IStorageItemProperties<D>::Properties() const
+ template <typename D> auto consume_Windows_Storage_IStorageItemProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>) consume_Windows_Storage_IStorageItemProperties2<D>::GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const
+ template <typename D> auto consume_Windows_Storage_IStorageItemProperties2<D>::GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageItemProperties2)->GetScaledImageAsThumbnailAsyncOverloadDefaultSizeDefaultOptions(static_cast<int32_t>(mode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>) consume_Windows_Storage_IStorageItemProperties2<D>::GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize) const
+ template <typename D> auto consume_Windows_Storage_IStorageItemProperties2<D>::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<int32_t>(mode), requestedSize, &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>) consume_Windows_Storage_IStorageItemProperties2<D>::GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize, winrt::Windows::Storage::FileProperties::ThumbnailOptions const& options) const
+ template <typename D> auto consume_Windows_Storage_IStorageItemProperties2<D>::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<int32_t>(mode), requestedSize, static_cast<uint32_t>(options), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageProvider) consume_Windows_Storage_IStorageItemPropertiesWithProvider<D>::Provider() const
+ template <typename D> auto consume_Windows_Storage_IStorageItemPropertiesWithProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) consume_Windows_Storage_IStorageLibrary<D>::RequestAddFolderAsync() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibrary<D>::RequestAddFolderAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibrary)->RequestAddFolderAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Storage_IStorageLibrary<D>::RequestRemoveFolderAsync(winrt::Windows::Storage::StorageFolder const& folder) const
+ template <typename D> auto consume_Windows_Storage_IStorageLibrary<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Storage::StorageFolder>) consume_Windows_Storage_IStorageLibrary<D>::Folders() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibrary<D>::Folders() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibrary)->get_Folders(&value));
return winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Storage::StorageFolder>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) consume_Windows_Storage_IStorageLibrary<D>::SaveFolder() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibrary<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Storage_IStorageLibrary<D>::DefinitionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::StorageLibrary, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Storage_IStorageLibrary<D>::DefinitionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::StorageLibrary, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Storage_IStorageLibrary<D>::DefinitionChanged_revoker consume_Windows_Storage_IStorageLibrary<D>::DefinitionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::StorageLibrary, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Storage_IStorageLibrary<D>::DefinitionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::StorageLibrary, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, DefinitionChanged_revoker>(this, DefinitionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibrary<D>::DefinitionChanged(winrt::event_token const& eventCookie) const noexcept
+ template <typename D> auto consume_Windows_Storage_IStorageLibrary<D>::DefinitionChanged(winrt::event_token const& eventCookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibrary)->remove_DefinitionChanged(impl::bind_in(eventCookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeTracker) consume_Windows_Storage_IStorageLibrary2<D>::ChangeTracker() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibrary2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Storage_IStorageLibrary3<D>::AreFolderSuggestionsAvailableAsync() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibrary3<D>::AreFolderSuggestionsAvailableAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibrary3)->AreFolderSuggestionsAvailableAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeType) consume_Windows_Storage_IStorageLibraryChange<D>::ChangeType() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryChange<D>::ChangeType() const
{
winrt::Windows::Storage::StorageLibraryChangeType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChange)->get_ChangeType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageLibraryChange<D>::Path() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryChange<D>::Path() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChange)->get_Path(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageLibraryChange<D>::PreviousPath() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryChange<D>::PreviousPath() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChange)->get_PreviousPath(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_IStorageLibraryChange<D>::IsOfType(winrt::Windows::Storage::StorageItemTypes const& type) const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryChange<D>::IsOfType(winrt::Windows::Storage::StorageItemTypes const& type) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChange)->IsOfType(static_cast<uint32_t>(type), &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::IStorageItem>) consume_Windows_Storage_IStorageLibraryChange<D>::GetStorageItemAsync() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryChange<D>::GetStorageItemAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChange)->GetStorageItemAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::IStorageItem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageLibraryChange>>) consume_Windows_Storage_IStorageLibraryChangeReader<D>::ReadBatchAsync() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryChangeReader<D>::ReadBatchAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeReader)->ReadBatchAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageLibraryChange>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageLibraryChangeReader<D>::AcceptChangesAsync() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryChangeReader<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_IStorageLibraryChangeReader2<D>::GetLastChangeId() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryChangeReader2<D>::GetLastChangeId() const
{
uint64_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeReader2)->GetLastChangeId(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeReader) consume_Windows_Storage_IStorageLibraryChangeTracker<D>::GetChangeReader() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryChangeTracker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibraryChangeTracker<D>::Enable() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryChangeTracker<D>::Enable() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTracker)->Enable());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibraryChangeTracker<D>::Reset() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryChangeTracker<D>::Reset() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTracker)->Reset());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibraryChangeTracker2<D>::Enable(winrt::Windows::Storage::StorageLibraryChangeTrackerOptions const& options) const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryChangeTracker2<D>::Enable(winrt::Windows::Storage::StorageLibraryChangeTrackerOptions const& options) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTracker2)->EnableWithOptions(*(void**)(&options)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibraryChangeTracker2<D>::Disable() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryChangeTracker2<D>::Disable() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTracker2)->Disable());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Storage_IStorageLibraryChangeTrackerOptions<D>::TrackChangeDetails() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryChangeTrackerOptions<D>::TrackChangeDetails() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions)->get_TrackChangeDetails(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStorageLibraryChangeTrackerOptions<D>::TrackChangeDetails(bool value) const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryChangeTrackerOptions<D>::TrackChangeDetails(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions)->put_TrackChangeDetails(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Storage_IStorageLibraryLastChangeIdStatics<D>::Unknown() const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryLastChangeIdStatics<D>::Unknown() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryLastChangeIdStatics)->get_Unknown(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageLibrary>) consume_Windows_Storage_IStorageLibraryStatics<D>::GetLibraryAsync(winrt::Windows::Storage::KnownLibraryId const& libraryId) const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryStatics<D>::GetLibraryAsync(winrt::Windows::Storage::KnownLibraryId const& libraryId) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageLibraryStatics)->GetLibraryAsync(static_cast<int32_t>(libraryId), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageLibrary>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageLibrary>) consume_Windows_Storage_IStorageLibraryStatics2<D>::GetLibraryForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Storage::KnownLibraryId const& libraryId) const
+ template <typename D> auto consume_Windows_Storage_IStorageLibraryStatics2<D>::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<int32_t>(libraryId), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageLibrary>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageProvider<D>::Id() const
+ template <typename D> auto consume_Windows_Storage_IStorageProvider<D>::Id() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageProvider)->get_Id(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IStorageProvider<D>::DisplayName() const
+ template <typename D> auto consume_Windows_Storage_IStorageProvider<D>::DisplayName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStorageProvider)->get_DisplayName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_Storage_IStorageProvider2<D>::IsPropertySupportedForPartialFileAsync(param::hstring const& propertyCanonicalName) const
+ template <typename D> auto consume_Windows_Storage_IStorageProvider2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_Storage_IStorageStreamTransaction<D>::Stream() const
+ template <typename D> auto consume_Windows_Storage_IStorageStreamTransaction<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Storage_IStorageStreamTransaction<D>::CommitAsync() const
+ template <typename D> auto consume_Windows_Storage_IStorageStreamTransaction<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Storage_IStreamedFileDataRequest<D>::FailAndClose(winrt::Windows::Storage::StreamedFileFailureMode const& failureMode) const
+ template <typename D> auto consume_Windows_Storage_IStreamedFileDataRequest<D>::FailAndClose(winrt::Windows::Storage::StreamedFileFailureMode const& failureMode) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IStreamedFileDataRequest)->FailAndClose(static_cast<int32_t>(failureMode)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemAudioProperties<D>::EncodingBitrate() const
+ template <typename D> auto consume_Windows_Storage_ISystemAudioProperties<D>::EncodingBitrate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemAudioProperties)->get_EncodingBitrate(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths<D>::Fonts() const
+ template <typename D> auto consume_Windows_Storage_ISystemDataPaths<D>::Fonts() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_Fonts(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths<D>::ProgramData() const
+ template <typename D> auto consume_Windows_Storage_ISystemDataPaths<D>::ProgramData() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_ProgramData(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths<D>::Public() const
+ template <typename D> auto consume_Windows_Storage_ISystemDataPaths<D>::Public() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_Public(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths<D>::PublicDesktop() const
+ template <typename D> auto consume_Windows_Storage_ISystemDataPaths<D>::PublicDesktop() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_PublicDesktop(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths<D>::PublicDocuments() const
+ template <typename D> auto consume_Windows_Storage_ISystemDataPaths<D>::PublicDocuments() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_PublicDocuments(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths<D>::PublicDownloads() const
+ template <typename D> auto consume_Windows_Storage_ISystemDataPaths<D>::PublicDownloads() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_PublicDownloads(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths<D>::PublicMusic() const
+ template <typename D> auto consume_Windows_Storage_ISystemDataPaths<D>::PublicMusic() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_PublicMusic(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths<D>::PublicPictures() const
+ template <typename D> auto consume_Windows_Storage_ISystemDataPaths<D>::PublicPictures() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_PublicPictures(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths<D>::PublicVideos() const
+ template <typename D> auto consume_Windows_Storage_ISystemDataPaths<D>::PublicVideos() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_PublicVideos(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths<D>::System() const
+ template <typename D> auto consume_Windows_Storage_ISystemDataPaths<D>::System() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_System(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths<D>::SystemHost() const
+ template <typename D> auto consume_Windows_Storage_ISystemDataPaths<D>::SystemHost() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_SystemHost(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths<D>::SystemX86() const
+ template <typename D> auto consume_Windows_Storage_ISystemDataPaths<D>::SystemX86() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_SystemX86(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths<D>::SystemX64() const
+ template <typename D> auto consume_Windows_Storage_ISystemDataPaths<D>::SystemX64() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_SystemX64(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths<D>::SystemArm() const
+ template <typename D> auto consume_Windows_Storage_ISystemDataPaths<D>::SystemArm() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_SystemArm(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths<D>::UserProfiles() const
+ template <typename D> auto consume_Windows_Storage_ISystemDataPaths<D>::UserProfiles() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_UserProfiles(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemDataPaths<D>::Windows() const
+ template <typename D> auto consume_Windows_Storage_ISystemDataPaths<D>::Windows() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemDataPaths)->get_Windows(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemDataPaths) consume_Windows_Storage_ISystemDataPathsStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Storage_ISystemDataPathsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemGPSProperties<D>::LatitudeDecimal() const
+ template <typename D> auto consume_Windows_Storage_ISystemGPSProperties<D>::LatitudeDecimal() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemGPSProperties)->get_LatitudeDecimal(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemGPSProperties<D>::LongitudeDecimal() const
+ template <typename D> auto consume_Windows_Storage_ISystemGPSProperties<D>::LongitudeDecimal() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemGPSProperties)->get_LongitudeDecimal(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemImageProperties<D>::HorizontalSize() const
+ template <typename D> auto consume_Windows_Storage_ISystemImageProperties<D>::HorizontalSize() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemImageProperties)->get_HorizontalSize(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemImageProperties<D>::VerticalSize() const
+ template <typename D> auto consume_Windows_Storage_ISystemImageProperties<D>::VerticalSize() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemImageProperties)->get_VerticalSize(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMediaProperties<D>::Duration() const
+ template <typename D> auto consume_Windows_Storage_ISystemMediaProperties<D>::Duration() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMediaProperties)->get_Duration(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMediaProperties<D>::Producer() const
+ template <typename D> auto consume_Windows_Storage_ISystemMediaProperties<D>::Producer() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMediaProperties)->get_Producer(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMediaProperties<D>::Publisher() const
+ template <typename D> auto consume_Windows_Storage_ISystemMediaProperties<D>::Publisher() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMediaProperties)->get_Publisher(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMediaProperties<D>::SubTitle() const
+ template <typename D> auto consume_Windows_Storage_ISystemMediaProperties<D>::SubTitle() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMediaProperties)->get_SubTitle(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMediaProperties<D>::Writer() const
+ template <typename D> auto consume_Windows_Storage_ISystemMediaProperties<D>::Writer() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMediaProperties)->get_Writer(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMediaProperties<D>::Year() const
+ template <typename D> auto consume_Windows_Storage_ISystemMediaProperties<D>::Year() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMediaProperties)->get_Year(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMusicProperties<D>::AlbumArtist() const
+ template <typename D> auto consume_Windows_Storage_ISystemMusicProperties<D>::AlbumArtist() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMusicProperties)->get_AlbumArtist(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMusicProperties<D>::AlbumTitle() const
+ template <typename D> auto consume_Windows_Storage_ISystemMusicProperties<D>::AlbumTitle() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMusicProperties)->get_AlbumTitle(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMusicProperties<D>::Artist() const
+ template <typename D> auto consume_Windows_Storage_ISystemMusicProperties<D>::Artist() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMusicProperties)->get_Artist(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMusicProperties<D>::Composer() const
+ template <typename D> auto consume_Windows_Storage_ISystemMusicProperties<D>::Composer() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMusicProperties)->get_Composer(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMusicProperties<D>::Conductor() const
+ template <typename D> auto consume_Windows_Storage_ISystemMusicProperties<D>::Conductor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMusicProperties)->get_Conductor(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMusicProperties<D>::DisplayArtist() const
+ template <typename D> auto consume_Windows_Storage_ISystemMusicProperties<D>::DisplayArtist() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMusicProperties)->get_DisplayArtist(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMusicProperties<D>::Genre() const
+ template <typename D> auto consume_Windows_Storage_ISystemMusicProperties<D>::Genre() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMusicProperties)->get_Genre(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemMusicProperties<D>::TrackNumber() const
+ template <typename D> auto consume_Windows_Storage_ISystemMusicProperties<D>::TrackNumber() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemMusicProperties)->get_TrackNumber(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemPhotoProperties<D>::CameraManufacturer() const
+ template <typename D> auto consume_Windows_Storage_ISystemPhotoProperties<D>::CameraManufacturer() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemPhotoProperties)->get_CameraManufacturer(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemPhotoProperties<D>::CameraModel() const
+ template <typename D> auto consume_Windows_Storage_ISystemPhotoProperties<D>::CameraModel() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemPhotoProperties)->get_CameraModel(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemPhotoProperties<D>::DateTaken() const
+ template <typename D> auto consume_Windows_Storage_ISystemPhotoProperties<D>::DateTaken() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemPhotoProperties)->get_DateTaken(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemPhotoProperties<D>::Orientation() const
+ template <typename D> auto consume_Windows_Storage_ISystemPhotoProperties<D>::Orientation() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemPhotoProperties)->get_Orientation(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemPhotoProperties<D>::PeopleNames() const
+ template <typename D> auto consume_Windows_Storage_ISystemPhotoProperties<D>::PeopleNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemPhotoProperties)->get_PeopleNames(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemProperties<D>::Author() const
+ template <typename D> auto consume_Windows_Storage_ISystemProperties<D>::Author() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_Author(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemProperties<D>::Comment() const
+ template <typename D> auto consume_Windows_Storage_ISystemProperties<D>::Comment() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_Comment(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemProperties<D>::ItemNameDisplay() const
+ template <typename D> auto consume_Windows_Storage_ISystemProperties<D>::ItemNameDisplay() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_ItemNameDisplay(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemProperties<D>::Keywords() const
+ template <typename D> auto consume_Windows_Storage_ISystemProperties<D>::Keywords() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_Keywords(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemProperties<D>::Rating() const
+ template <typename D> auto consume_Windows_Storage_ISystemProperties<D>::Rating() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_Rating(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemProperties<D>::Title() const
+ template <typename D> auto consume_Windows_Storage_ISystemProperties<D>::Title() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemProperties)->get_Title(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemAudioProperties) consume_Windows_Storage_ISystemProperties<D>::Audio() const
+ template <typename D> auto consume_Windows_Storage_ISystemProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemGPSProperties) consume_Windows_Storage_ISystemProperties<D>::GPS() const
+ template <typename D> auto consume_Windows_Storage_ISystemProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemMediaProperties) consume_Windows_Storage_ISystemProperties<D>::Media() const
+ template <typename D> auto consume_Windows_Storage_ISystemProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemMusicProperties) consume_Windows_Storage_ISystemProperties<D>::Music() const
+ template <typename D> auto consume_Windows_Storage_ISystemProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemPhotoProperties) consume_Windows_Storage_ISystemProperties<D>::Photo() const
+ template <typename D> auto consume_Windows_Storage_ISystemProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemVideoProperties) consume_Windows_Storage_ISystemProperties<D>::Video() const
+ template <typename D> auto consume_Windows_Storage_ISystemProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemImageProperties) consume_Windows_Storage_ISystemProperties<D>::Image() const
+ template <typename D> auto consume_Windows_Storage_ISystemProperties<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemVideoProperties<D>::Director() const
+ template <typename D> auto consume_Windows_Storage_ISystemVideoProperties<D>::Director() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemVideoProperties)->get_Director(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemVideoProperties<D>::FrameHeight() const
+ template <typename D> auto consume_Windows_Storage_ISystemVideoProperties<D>::FrameHeight() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemVideoProperties)->get_FrameHeight(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemVideoProperties<D>::FrameWidth() const
+ template <typename D> auto consume_Windows_Storage_ISystemVideoProperties<D>::FrameWidth() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemVideoProperties)->get_FrameWidth(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemVideoProperties<D>::Orientation() const
+ template <typename D> auto consume_Windows_Storage_ISystemVideoProperties<D>::Orientation() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemVideoProperties)->get_Orientation(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_ISystemVideoProperties<D>::TotalBitrate() const
+ template <typename D> auto consume_Windows_Storage_ISystemVideoProperties<D>::TotalBitrate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::ISystemVideoProperties)->get_TotalBitrate(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::CameraRoll() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::CameraRoll() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_CameraRoll(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::Cookies() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::Cookies() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Cookies(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::Desktop() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::Desktop() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Desktop(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::Documents() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::Documents() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Documents(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::Downloads() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::Downloads() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Downloads(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::Favorites() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::Favorites() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Favorites(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::History() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::History() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_History(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::InternetCache() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::InternetCache() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_InternetCache(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::LocalAppData() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::LocalAppData() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_LocalAppData(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::LocalAppDataLow() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::LocalAppDataLow() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_LocalAppDataLow(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::Music() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::Music() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Music(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::Pictures() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::Pictures() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Pictures(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::Profile() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::Profile() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Profile(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::Recent() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::Recent() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Recent(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::RoamingAppData() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::RoamingAppData() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_RoamingAppData(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::SavedPictures() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::SavedPictures() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_SavedPictures(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::Screenshots() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::Screenshots() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Screenshots(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::Templates() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::Templates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Templates(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Storage_IUserDataPaths<D>::Videos() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPaths<D>::Videos() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPaths)->get_Videos(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::UserDataPaths) consume_Windows_Storage_IUserDataPathsStatics<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Storage_IUserDataPathsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::UserDataPaths) consume_Windows_Storage_IUserDataPathsStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_Storage_IUserDataPathsStatics<D>::GetDefault() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Storage::IUserDataPathsStatics)->GetDefault(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.DevicePortal.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.DevicePortal.h
index 0bd40f5495f..afb2b87dfd3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.DevicePortal.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedEventArgs> 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 D> typename consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::Closed_revoker consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::RequestReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionRequestReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::RequestReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionRequestReceivedEventArgs> 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 D> typename consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::RequestReceived_revoker consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::RequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionRequestReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::RequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionRequestReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RequestReceived_revoker>(this, RequestReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::RequestReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection<D>::RequestReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection)->remove_RequestReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedReason) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionClosedEventArgs<D>::Reason() const
+ template <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionClosedEventArgs<D>::Reason() const
{
winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionClosedEventArgs)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionRequestReceivedEventArgs<D>::RequestMessage() const
+ template <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionRequestReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionRequestReceivedEventArgs<D>::ResponseMessage() const
+ template <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionRequestReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionStatics<D>::GetForAppServiceConnection(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& appServiceConnection) const
+ template <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerMessageWebSocket) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection<D>::GetServerMessageWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request) const
+ template <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerMessageWebSocket) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection<D>::GetServerMessageWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Networking::Sockets::SocketMessageType const& messageType, param::hstring const& protocol) const
+ template <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection<D>::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<int32_t>(messageType), *(void**)(&protocol), &result));
return winrt::Windows::Networking::Sockets::ServerMessageWebSocket{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerMessageWebSocket) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection<D>::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 <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection<D>::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<int32_t>(messageType), *(void**)(&protocol), outboundBufferSizeInBytes, maxMessageSize, static_cast<int32_t>(receiveMode), &result));
return winrt::Windows::Networking::Sockets::ServerMessageWebSocket{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerStreamWebSocket) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection<D>::GetServerStreamWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request) const
+ template <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ServerStreamWebSocket) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection<D>::GetServerStreamWebSocketForRequest(winrt::Windows::Web::Http::HttpRequestMessage const& request, param::hstring const& protocol, uint32_t outboundBufferSizeInBytes, bool noDelay) const
+ template <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnection<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnectionRequestReceivedEventArgs<D>::IsWebSocketUpgradeRequest() const
+ template <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnectionRequestReceivedEventArgs<D>::IsWebSocketUpgradeRequest() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalWebSocketConnectionRequestReceivedEventArgs)->get_IsWebSocketUpgradeRequest(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnectionRequestReceivedEventArgs<D>::WebSocketProtocolsRequested() const
+ template <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnectionRequestReceivedEventArgs<D>::WebSocketProtocolsRequested() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalWebSocketConnectionRequestReceivedEventArgs)->get_WebSocketProtocolsRequested(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnectionRequestReceivedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnectionRequestReceivedEventArgs<D>::GetDeferral() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalWebSocketConnectionRequestReceivedEventArgs)->GetDeferral(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.Telemetry.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.Telemetry.h
index e76b9f93a69..31f3ba4f90d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.Telemetry.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationResult) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryClientStatics<D>::Register(param::hstring const& id) const
+ template <typename D> auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryClientStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationResult) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryClientStatics<D>::Register(param::hstring const& id, winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationSettings const& settings) const
+ template <typename D> auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryClientStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationStatus) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationResult<D>::Status() const
+ template <typename D> auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationResult<D>::Status() const
{
winrt::Windows::System::Diagnostics::Telemetry::PlatformTelemetryRegistrationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings<D>::StorageSize() const
+ template <typename D> auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings<D>::StorageSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationSettings)->get_StorageSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings<D>::StorageSize(uint32_t value) const
+ template <typename D> auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings<D>::StorageSize(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationSettings)->put_StorageSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings<D>::UploadQuotaSize() const
+ template <typename D> auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings<D>::UploadQuotaSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationSettings)->get_UploadQuotaSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings<D>::UploadQuotaSize(uint32_t value) const
+ template <typename D> auto consume_Windows_System_Diagnostics_Telemetry_IPlatformTelemetryRegistrationSettings<D>::UploadQuotaSize(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationSettings)->put_UploadQuotaSize(value));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.TraceReporting.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.TraceReporting.h
index 835fbcbf7a7..df35655dd2f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.TraceReporting.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics<D>::IsScenarioEnabled(winrt::guid const& scenarioId) const
+ template <typename D> auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics<D>::TryEscalateScenario(winrt::guid const& scenarioId, winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticEscalationType const& escalationType, param::hstring const& outputDirectory, bool timestampOutputDirectory, bool forceEscalationUpload, param::map_view<hstring, hstring> const& triggers) const
+ template <typename D> auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics<D>::TryEscalateScenario(winrt::guid const& scenarioId, winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticEscalationType const& escalationType, param::hstring const& outputDirectory, bool timestampOutputDirectory, bool forceEscalationUpload, param::map_view<hstring, hstring> const& triggers) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticActionsStatics)->TryEscalateScenario(impl::bind_in(scenarioId), static_cast<int32_t>(escalationType), *(void**)(&outputDirectory), timestampOutputDirectory, forceEscalationUpload, *(void**)(&triggers), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticActionState) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics<D>::DownloadLatestSettingsForNamespace(param::hstring const& partner, param::hstring const& feature, bool isScenarioNamespace, bool downloadOverCostedNetwork, bool downloadOverBattery) const
+ template <typename D> auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::guid>) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics<D>::GetActiveScenarioList() const
+ template <typename D> auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics<D>::GetActiveScenarioList() const
{
void* scenarioIds{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticActionsStatics)->GetActiveScenarioList(&scenarioIds));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::guid>{ scenarioIds, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticActionState) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics<D>::ForceUpload(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticEventBufferLatencies const& latency, bool uploadOverCostedNetwork, bool uploadOverBattery) const
+ template <typename D> auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics<D>::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<uint32_t>(latency), uploadOverCostedNetwork, uploadOverBattery, reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotState) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics<D>::IsTraceRunning(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotType const& slotType, winrt::guid const& scenarioId, uint64_t traceProfileHash) const
+ template <typename D> auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics<D>::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<int32_t>(slotType), impl::bind_in(scenarioId), traceProfileHash, reinterpret_cast<int32_t*>(&slotState)));
return slotState;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceRuntimeInfo) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics<D>::GetActiveTraceRuntime(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotType const& slotType) const
+ template <typename D> auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics<D>::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<int32_t>(slotType), &traceRuntimeInfo));
return winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceRuntimeInfo{ traceRuntimeInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceInfo>) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics<D>::GetKnownTraceList(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceSlotType const& slotType) const
+ template <typename D> auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticActionsStatics<D>::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<int32_t>(slotType), &traceInfo));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceInfo>{ traceInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo<D>::ScenarioId() const
+ template <typename D> auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo<D>::ScenarioId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceInfo)->get_ScenarioId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo<D>::ProfileHash() const
+ template <typename D> auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo<D>::ProfileHash() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceInfo)->get_ProfileHash(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo<D>::IsExclusive() const
+ template <typename D> auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo<D>::IsExclusive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceInfo)->get_IsExclusive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo<D>::IsAutoLogger() const
+ template <typename D> auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo<D>::IsAutoLogger() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceInfo)->get_IsAutoLogger(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo<D>::MaxTraceDurationFileTime() const
+ template <typename D> auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo<D>::MaxTraceDurationFileTime() const
{
int64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceInfo)->get_MaxTraceDurationFileTime(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTracePriority) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo<D>::Priority() const
+ template <typename D> auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceInfo<D>::Priority() const
{
winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTracePriority value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceInfo)->get_Priority(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceRuntimeInfo<D>::RuntimeFileTime() const
+ template <typename D> auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceRuntimeInfo<D>::RuntimeFileTime() const
{
int64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceRuntimeInfo)->get_RuntimeFileTime(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceRuntimeInfo<D>::EtwRuntimeFileTime() const
+ template <typename D> auto consume_Windows_System_Diagnostics_TraceReporting_IPlatformDiagnosticTraceRuntimeInfo<D>::EtwRuntimeFileTime() const
{
int64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceRuntimeInfo)->get_EtwRuntimeFileTime(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.h
index 8c963fda1a3..8cc9e224fda 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Diagnostics.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_System_Diagnostics_IDiagnosticActionResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IDiagnosticActionResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IDiagnosticActionResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_System_Diagnostics_IDiagnosticActionResult<D>::Results() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IDiagnosticActionResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::System::Diagnostics::DiagnosticActionResult, winrt::Windows::System::Diagnostics::DiagnosticActionState>) consume_Windows_System_Diagnostics_IDiagnosticInvoker<D>::RunDiagnosticActionAsync(winrt::Windows::Data::Json::JsonObject const& context) const
+ template <typename D> auto consume_Windows_System_Diagnostics_IDiagnosticInvoker<D>::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<winrt::Windows::System::Diagnostics::DiagnosticActionResult, winrt::Windows::System::Diagnostics::DiagnosticActionState>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::System::Diagnostics::DiagnosticActionResult, winrt::Windows::System::Diagnostics::DiagnosticActionState>) consume_Windows_System_Diagnostics_IDiagnosticInvoker2<D>::RunDiagnosticActionFromStringAsync(param::hstring const& context) const
+ template <typename D> auto consume_Windows_System_Diagnostics_IDiagnosticInvoker2<D>::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<winrt::Windows::System::Diagnostics::DiagnosticActionResult, winrt::Windows::System::Diagnostics::DiagnosticActionState>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::DiagnosticInvoker) consume_Windows_System_Diagnostics_IDiagnosticInvokerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IDiagnosticInvokerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::DiagnosticInvoker) consume_Windows_System_Diagnostics_IDiagnosticInvokerStatics<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_System_Diagnostics_IDiagnosticInvokerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_IDiagnosticInvokerStatics<D>::IsSupported() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IDiagnosticInvokerStatics<D>::IsSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IDiagnosticInvokerStatics)->get_IsSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessCpuUsageReport) consume_Windows_System_Diagnostics_IProcessCpuUsage<D>::GetReport() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessCpuUsage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Diagnostics_IProcessCpuUsageReport<D>::KernelTime() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessCpuUsageReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Diagnostics_IProcessCpuUsageReport<D>::UserTime() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessCpuUsageReport<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo<D>::ProcessId() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo<D>::ProcessId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiagnosticInfo)->get_ProcessId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo<D>::ExecutableFileName() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo<D>::Parent() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo<D>::ProcessStartTime() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessDiskUsage) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo<D>::DiskUsage() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessMemoryUsage) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo<D>::MemoryUsage() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessCpuUsage) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo<D>::CpuUsage() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppDiagnosticInfo>) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo2<D>::GetAppDiagnosticInfos() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo2<D>::GetAppDiagnosticInfos() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiagnosticInfo2)->GetAppDiagnosticInfos(&result));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppDiagnosticInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_IProcessDiagnosticInfo2<D>::IsPackaged() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfo2<D>::IsPackaged() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiagnosticInfo2)->get_IsPackaged(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo>) consume_Windows_System_Diagnostics_IProcessDiagnosticInfoStatics<D>::GetForProcesses() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfoStatics<D>::GetForProcesses() const
{
void* processes{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiagnosticInfoStatics)->GetForProcesses(&processes));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo>{ processes, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo) consume_Windows_System_Diagnostics_IProcessDiagnosticInfoStatics<D>::GetForCurrentProcess() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo) consume_Windows_System_Diagnostics_IProcessDiagnosticInfoStatics2<D>::TryGetForProcessId(uint32_t processId) const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiagnosticInfoStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessDiskUsageReport) consume_Windows_System_Diagnostics_IProcessDiskUsage<D>::GetReport() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiskUsage<D>::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 <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_IProcessDiskUsageReport<D>::ReadOperationCount() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiskUsageReport<D>::ReadOperationCount() const
{
int64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiskUsageReport)->get_ReadOperationCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_IProcessDiskUsageReport<D>::WriteOperationCount() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiskUsageReport<D>::WriteOperationCount() const
{
int64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiskUsageReport)->get_WriteOperationCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_IProcessDiskUsageReport<D>::OtherOperationCount() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiskUsageReport<D>::OtherOperationCount() const
{
int64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiskUsageReport)->get_OtherOperationCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_IProcessDiskUsageReport<D>::BytesReadCount() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiskUsageReport<D>::BytesReadCount() const
{
int64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiskUsageReport)->get_BytesReadCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_IProcessDiskUsageReport<D>::BytesWrittenCount() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiskUsageReport<D>::BytesWrittenCount() const
{
int64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiskUsageReport)->get_BytesWrittenCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_System_Diagnostics_IProcessDiskUsageReport<D>::OtherBytesCount() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessDiskUsageReport<D>::OtherBytesCount() const
{
int64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessDiskUsageReport)->get_OtherBytesCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessMemoryUsageReport) consume_Windows_System_Diagnostics_IProcessMemoryUsage<D>::GetReport() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessMemoryUsage<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::NonPagedPoolSizeInBytes() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::NonPagedPoolSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_NonPagedPoolSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PageFaultCount() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PageFaultCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PageFaultCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PageFileSizeInBytes() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PageFileSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PageFileSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PagedPoolSizeInBytes() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PagedPoolSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PagedPoolSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PeakNonPagedPoolSizeInBytes() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PeakNonPagedPoolSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PeakNonPagedPoolSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PeakPageFileSizeInBytes() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PeakPageFileSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PeakPageFileSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PeakPagedPoolSizeInBytes() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PeakPagedPoolSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PeakPagedPoolSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PeakVirtualMemorySizeInBytes() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PeakVirtualMemorySizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PeakVirtualMemorySizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PeakWorkingSetSizeInBytes() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PeakWorkingSetSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PeakWorkingSetSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PrivatePageCount() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::PrivatePageCount() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_PrivatePageCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::VirtualMemorySizeInBytes() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::VirtualMemorySizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_VirtualMemorySizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::WorkingSetSizeInBytes() const
+ template <typename D> auto consume_Windows_System_Diagnostics_IProcessMemoryUsageReport<D>::WorkingSetSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport)->get_WorkingSetSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemCpuUsageReport) consume_Windows_System_Diagnostics_ISystemCpuUsage<D>::GetReport() const
+ template <typename D> auto consume_Windows_System_Diagnostics_ISystemCpuUsage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Diagnostics_ISystemCpuUsageReport<D>::KernelTime() const
+ template <typename D> auto consume_Windows_System_Diagnostics_ISystemCpuUsageReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Diagnostics_ISystemCpuUsageReport<D>::UserTime() const
+ template <typename D> auto consume_Windows_System_Diagnostics_ISystemCpuUsageReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Diagnostics_ISystemCpuUsageReport<D>::IdleTime() const
+ template <typename D> auto consume_Windows_System_Diagnostics_ISystemCpuUsageReport<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemMemoryUsage) consume_Windows_System_Diagnostics_ISystemDiagnosticInfo<D>::MemoryUsage() const
+ template <typename D> auto consume_Windows_System_Diagnostics_ISystemDiagnosticInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemCpuUsage) consume_Windows_System_Diagnostics_ISystemDiagnosticInfo<D>::CpuUsage() const
+ template <typename D> auto consume_Windows_System_Diagnostics_ISystemDiagnosticInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemDiagnosticInfo) consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics<D>::GetForCurrentSystem() const
+ template <typename D> auto consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2<D>::IsArchitectureSupported(winrt::Windows::System::ProcessorArchitecture const& type) const
+ template <typename D> auto consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2<D>::IsArchitectureSupported(winrt::Windows::System::ProcessorArchitecture const& type) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics2)->IsArchitectureSupported(static_cast<int32_t>(type), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::ProcessorArchitecture) consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2<D>::PreferredArchitecture() const
+ template <typename D> auto consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics2<D>::PreferredArchitecture() const
{
winrt::Windows::System::ProcessorArchitecture value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics2)->get_PreferredArchitecture(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemMemoryUsageReport) consume_Windows_System_Diagnostics_ISystemMemoryUsage<D>::GetReport() const
+ template <typename D> auto consume_Windows_System_Diagnostics_ISystemMemoryUsage<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_ISystemMemoryUsageReport<D>::TotalPhysicalSizeInBytes() const
+ template <typename D> auto consume_Windows_System_Diagnostics_ISystemMemoryUsageReport<D>::TotalPhysicalSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemMemoryUsageReport)->get_TotalPhysicalSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_ISystemMemoryUsageReport<D>::AvailableSizeInBytes() const
+ template <typename D> auto consume_Windows_System_Diagnostics_ISystemMemoryUsageReport<D>::AvailableSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemMemoryUsageReport)->get_AvailableSizeInBytes(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Diagnostics_ISystemMemoryUsageReport<D>::CommittedSizeInBytes() const
+ template <typename D> auto consume_Windows_System_Diagnostics_ISystemMemoryUsageReport<D>::CommittedSizeInBytes() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Diagnostics::ISystemMemoryUsageReport)->get_CommittedSizeInBytes(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Display.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Display.h
index b98eb2de1af..3ef7bac996b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Display.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Display_IDisplayRequest<D>::RequestActive() const
+ template <typename D> auto consume_Windows_System_Display_IDisplayRequest<D>::RequestActive() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Display::IDisplayRequest)->RequestActive());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Display_IDisplayRequest<D>::RequestRelease() const
+ template <typename D> auto consume_Windows_System_Display_IDisplayRequest<D>::RequestRelease() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Display::IDisplayRequest)->RequestRelease());
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Implementation.FileExplorer.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Implementation.FileExplorer.h
index 12b238349d3..f12ba700ef9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Implementation.FileExplorer.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventReceivedEventArgs<D>::Json() const
+ template <typename D> auto consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs) consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventReceivedEventArgsFactory<D>::CreateInstance(param::hstring const& json) const
+ template <typename D> auto consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventReceivedEventArgsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource<D>::EventReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource, winrt::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource<D>::EventReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource, winrt::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs> 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 D> typename consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource<D>::EventReceived_revoker consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource<D>::EventReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource, winrt::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource<D>::EventReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource, winrt::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, EventReceived_revoker>(this, EventReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource<D>::EventReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource<D>::EventReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource)->remove_EventReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderHttpRequestProvider) consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHandlerFactory<D>::GetHttpRequestProvider(param::hstring const& syncRootId) const
+ template <typename D> auto consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHandlerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource) consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHandlerFactory<D>::GetEventSource(param::hstring const& syncRootId, param::hstring const& eventName) const
+ template <typename D> auto consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHandlerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Web::Http::HttpResponseMessage>) consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHttpRequestProvider<D>::SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const
+ template <typename D> auto consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHttpRequestProvider<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Inventory.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Inventory.h
index f6a60cf32e4..6ee93d47073 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Inventory.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Inventory_IInstalledDesktopApp<D>::Id() const
+ template <typename D> auto consume_Windows_System_Inventory_IInstalledDesktopApp<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Inventory_IInstalledDesktopApp<D>::DisplayName() const
+ template <typename D> auto consume_Windows_System_Inventory_IInstalledDesktopApp<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Inventory_IInstalledDesktopApp<D>::Publisher() const
+ template <typename D> auto consume_Windows_System_Inventory_IInstalledDesktopApp<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Inventory_IInstalledDesktopApp<D>::DisplayVersion() const
+ template <typename D> auto consume_Windows_System_Inventory_IInstalledDesktopApp<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::Inventory::InstalledDesktopApp>>) consume_Windows_System_Inventory_IInstalledDesktopAppStatics<D>::GetInventoryAsync() const
+ template <typename D> auto consume_Windows_System_Inventory_IInstalledDesktopAppStatics<D>::GetInventoryAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Inventory::IInstalledDesktopAppStatics)->GetInventoryAsync(&operation));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Power.Diagnostics.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Power.Diagnostics.h
index 0f5aa201017..6918aa210cf 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Power.Diagnostics.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_System_Power_Diagnostics_IBackgroundEnergyDiagnosticsStatics<D>::DeviceSpecificConversionFactor() const
+ template <typename D> auto consume_Windows_System_Power_Diagnostics_IBackgroundEnergyDiagnosticsStatics<D>::DeviceSpecificConversionFactor() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::Diagnostics::IBackgroundEnergyDiagnosticsStatics)->get_DeviceSpecificConversionFactor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Power_Diagnostics_IBackgroundEnergyDiagnosticsStatics<D>::ComputeTotalEnergyUsage() const
+ template <typename D> auto consume_Windows_System_Power_Diagnostics_IBackgroundEnergyDiagnosticsStatics<D>::ComputeTotalEnergyUsage() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::Diagnostics::IBackgroundEnergyDiagnosticsStatics)->ComputeTotalEnergyUsage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_Diagnostics_IBackgroundEnergyDiagnosticsStatics<D>::ResetTotalEnergyUsage() const
+ template <typename D> auto consume_Windows_System_Power_Diagnostics_IBackgroundEnergyDiagnosticsStatics<D>::ResetTotalEnergyUsage() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::Diagnostics::IBackgroundEnergyDiagnosticsStatics)->ResetTotalEnergyUsage());
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_System_Power_Diagnostics_IForegroundEnergyDiagnosticsStatics<D>::DeviceSpecificConversionFactor() const
+ template <typename D> auto consume_Windows_System_Power_Diagnostics_IForegroundEnergyDiagnosticsStatics<D>::DeviceSpecificConversionFactor() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::Diagnostics::IForegroundEnergyDiagnosticsStatics)->get_DeviceSpecificConversionFactor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_Power_Diagnostics_IForegroundEnergyDiagnosticsStatics<D>::ComputeTotalEnergyUsage() const
+ template <typename D> auto consume_Windows_System_Power_Diagnostics_IForegroundEnergyDiagnosticsStatics<D>::ComputeTotalEnergyUsage() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::Diagnostics::IForegroundEnergyDiagnosticsStatics)->ComputeTotalEnergyUsage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_Diagnostics_IForegroundEnergyDiagnosticsStatics<D>::ResetTotalEnergyUsage() const
+ template <typename D> auto consume_Windows_System_Power_Diagnostics_IForegroundEnergyDiagnosticsStatics<D>::ResetTotalEnergyUsage() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::Diagnostics::IForegroundEnergyDiagnosticsStatics)->ResetTotalEnergyUsage());
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Power.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Power.h
index 3dde95a3173..c1370436816 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Power.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::LowUsageLevel() const
+ template <typename D> auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::LowUsageLevel() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->get_LowUsageLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::NearMaxAcceptableUsageLevel() const
+ template <typename D> auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::NearMaxAcceptableUsageLevel() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->get_NearMaxAcceptableUsageLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::MaxAcceptableUsageLevel() const
+ template <typename D> auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::MaxAcceptableUsageLevel() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->get_MaxAcceptableUsageLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::ExcessiveUsageLevel() const
+ template <typename D> auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::ExcessiveUsageLevel() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->get_ExcessiveUsageLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::NearTerminationUsageLevel() const
+ template <typename D> auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::NearTerminationUsageLevel() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->get_NearTerminationUsageLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::TerminationUsageLevel() const
+ template <typename D> auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::TerminationUsageLevel() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->get_TerminationUsageLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsage() const
+ template <typename D> auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsage() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->get_RecentEnergyUsage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageLevel() const
+ template <typename D> auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageLevel() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->get_RecentEnergyUsageLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageIncreased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageIncreased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageIncreased_revoker consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, RecentEnergyUsageIncreased_revoker>(this, RecentEnergyUsageIncreased(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageIncreased(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageIncreased(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->remove_RecentEnergyUsageIncreased(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow_revoker consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, RecentEnergyUsageReturnedToLow_revoker>(this, RecentEnergyUsageReturnedToLow(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_Power_IBackgroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::Power::IBackgroundEnergyManagerStatics)->remove_RecentEnergyUsageReturnedToLow(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::LowUsageLevel() const
+ template <typename D> auto consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::LowUsageLevel() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->get_LowUsageLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::NearMaxAcceptableUsageLevel() const
+ template <typename D> auto consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::NearMaxAcceptableUsageLevel() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->get_NearMaxAcceptableUsageLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::MaxAcceptableUsageLevel() const
+ template <typename D> auto consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::MaxAcceptableUsageLevel() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->get_MaxAcceptableUsageLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::ExcessiveUsageLevel() const
+ template <typename D> auto consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::ExcessiveUsageLevel() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->get_ExcessiveUsageLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsage() const
+ template <typename D> auto consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsage() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->get_RecentEnergyUsage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageLevel() const
+ template <typename D> auto consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageLevel() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->get_RecentEnergyUsageLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageIncreased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageIncreased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageIncreased_revoker consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, RecentEnergyUsageIncreased_revoker>(this, RecentEnergyUsageIncreased(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageIncreased(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageIncreased(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->remove_RecentEnergyUsageIncreased(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow_revoker consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, RecentEnergyUsageReturnedToLow_revoker>(this, RecentEnergyUsageReturnedToLow(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_Power_IForegroundEnergyManagerStatics<D>::RecentEnergyUsageReturnedToLow(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::Power::IForegroundEnergyManagerStatics)->remove_RecentEnergyUsageReturnedToLow(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Power::EnergySaverStatus) consume_Windows_System_Power_IPowerManagerStatics<D>::EnergySaverStatus() const
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::EnergySaverStatus() const
{
winrt::Windows::System::Power::EnergySaverStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->get_EnergySaverStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IPowerManagerStatics<D>::EnergySaverStatusChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::EnergySaverStatusChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_Power_IPowerManagerStatics<D>::EnergySaverStatusChanged_revoker consume_Windows_System_Power_IPowerManagerStatics<D>::EnergySaverStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::EnergySaverStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EnergySaverStatusChanged_revoker>(this, EnergySaverStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IPowerManagerStatics<D>::EnergySaverStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::EnergySaverStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_EnergySaverStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Power::BatteryStatus) consume_Windows_System_Power_IPowerManagerStatics<D>::BatteryStatus() const
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::BatteryStatus() const
{
winrt::Windows::System::Power::BatteryStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->get_BatteryStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IPowerManagerStatics<D>::BatteryStatusChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::BatteryStatusChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_Power_IPowerManagerStatics<D>::BatteryStatusChanged_revoker consume_Windows_System_Power_IPowerManagerStatics<D>::BatteryStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::BatteryStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, BatteryStatusChanged_revoker>(this, BatteryStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IPowerManagerStatics<D>::BatteryStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::BatteryStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_BatteryStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Power::PowerSupplyStatus) consume_Windows_System_Power_IPowerManagerStatics<D>::PowerSupplyStatus() const
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::PowerSupplyStatus() const
{
winrt::Windows::System::Power::PowerSupplyStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->get_PowerSupplyStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IPowerManagerStatics<D>::PowerSupplyStatusChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::PowerSupplyStatusChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_Power_IPowerManagerStatics<D>::PowerSupplyStatusChanged_revoker consume_Windows_System_Power_IPowerManagerStatics<D>::PowerSupplyStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::PowerSupplyStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, PowerSupplyStatusChanged_revoker>(this, PowerSupplyStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IPowerManagerStatics<D>::PowerSupplyStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::PowerSupplyStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_PowerSupplyStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingChargePercent() const
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingChargePercent() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->get_RemainingChargePercent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingChargePercentChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingChargePercentChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingChargePercentChanged_revoker consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, RemainingChargePercentChanged_revoker>(this, RemainingChargePercentChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingChargePercentChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingChargePercentChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::Power::IPowerManagerStatics)->remove_RemainingChargePercentChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingDischargeTime() const
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingDischargeTimeChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingDischargeTimeChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingDischargeTimeChanged_revoker consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingDischargeTimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingDischargeTimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, RemainingDischargeTimeChanged_revoker>(this, RemainingDischargeTimeChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Power_IPowerManagerStatics<D>::RemainingDischargeTimeChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_Power_IPowerManagerStatics<D>::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<BackgroundEnergyManager, IBackgroundEnergyManagerStatics>([&](IBackgroundEnergyManagerStatics const& f) { return f.RecentEnergyUsageIncreased(handler); });
}
- inline BackgroundEnergyManager::RecentEnergyUsageIncreased_revoker BackgroundEnergyManager::RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto BackgroundEnergyManager::RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<BackgroundEnergyManager, winrt::Windows::System::Power::IBackgroundEnergyManagerStatics>();
- 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<BackgroundEnergyManager, IBackgroundEnergyManagerStatics>([&](IBackgroundEnergyManagerStatics const& f) { return f.RecentEnergyUsageReturnedToLow(handler); });
}
- inline BackgroundEnergyManager::RecentEnergyUsageReturnedToLow_revoker BackgroundEnergyManager::RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto BackgroundEnergyManager::RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<BackgroundEnergyManager, winrt::Windows::System::Power::IBackgroundEnergyManagerStatics>();
- 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<ForegroundEnergyManager, IForegroundEnergyManagerStatics>([&](IForegroundEnergyManagerStatics const& f) { return f.RecentEnergyUsageIncreased(handler); });
}
- inline ForegroundEnergyManager::RecentEnergyUsageIncreased_revoker ForegroundEnergyManager::RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto ForegroundEnergyManager::RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<ForegroundEnergyManager, winrt::Windows::System::Power::IForegroundEnergyManagerStatics>();
- 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<ForegroundEnergyManager, IForegroundEnergyManagerStatics>([&](IForegroundEnergyManagerStatics const& f) { return f.RecentEnergyUsageReturnedToLow(handler); });
}
- inline ForegroundEnergyManager::RecentEnergyUsageReturnedToLow_revoker ForegroundEnergyManager::RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto ForegroundEnergyManager::RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<ForegroundEnergyManager, winrt::Windows::System::Power::IForegroundEnergyManagerStatics>();
- 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<PowerManager, IPowerManagerStatics>([&](IPowerManagerStatics const& f) { return f.EnergySaverStatusChanged(handler); });
}
- inline PowerManager::EnergySaverStatusChanged_revoker PowerManager::EnergySaverStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto PowerManager::EnergySaverStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<PowerManager, winrt::Windows::System::Power::IPowerManagerStatics>();
- 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<PowerManager, IPowerManagerStatics>([&](IPowerManagerStatics const& f) { return f.BatteryStatusChanged(handler); });
}
- inline PowerManager::BatteryStatusChanged_revoker PowerManager::BatteryStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto PowerManager::BatteryStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<PowerManager, winrt::Windows::System::Power::IPowerManagerStatics>();
- 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<PowerManager, IPowerManagerStatics>([&](IPowerManagerStatics const& f) { return f.PowerSupplyStatusChanged(handler); });
}
- inline PowerManager::PowerSupplyStatusChanged_revoker PowerManager::PowerSupplyStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto PowerManager::PowerSupplyStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<PowerManager, winrt::Windows::System::Power::IPowerManagerStatics>();
- 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<PowerManager, IPowerManagerStatics>([&](IPowerManagerStatics const& f) { return f.RemainingChargePercentChanged(handler); });
}
- inline PowerManager::RemainingChargePercentChanged_revoker PowerManager::RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto PowerManager::RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<PowerManager, winrt::Windows::System::Power::IPowerManagerStatics>();
- 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<PowerManager, IPowerManagerStatics>([&](IPowerManagerStatics const& f) { return f.RemainingDischargeTimeChanged(handler); });
}
- inline PowerManager::RemainingDischargeTimeChanged_revoker PowerManager::RemainingDischargeTimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto PowerManager::RemainingDischargeTimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<PowerManager, winrt::Windows::System::Power::IPowerManagerStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Preview.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Preview.h
index 1e229a0fc4f..9d189404895 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Preview.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReading>) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview<D>::GetCurrentPostureAsync() const
+ template <typename D> auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview<D>::GetCurrentPostureAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreview)->GetCurrentPostureAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReading>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview<D>::PostureChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreview, winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview<D>::PostureChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreview, winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> 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 D> typename consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview<D>::PostureChanged_revoker consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview<D>::PostureChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreview, winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview<D>::PostureChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreview, winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PostureChanged_revoker>(this, PostureChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview<D>::PostureChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview<D>::PostureChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreview)->remove_PostureChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading<D>::Timestamp() const
+ template <typename D> auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Preview::HingeState) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading<D>::HingeState() const
+ template <typename D> auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading<D>::HingeState() const
{
winrt::Windows::System::Preview::HingeState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewReading)->get_HingeState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientation) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading<D>::Panel1Orientation() const
+ template <typename D> auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading<D>::Panel1Orientation() const
{
winrt::Windows::Devices::Sensors::SimpleOrientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewReading)->get_Panel1Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading<D>::Panel1Id() const
+ template <typename D> auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientation) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading<D>::Panel2Orientation() const
+ template <typename D> auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading<D>::Panel2Orientation() const
{
winrt::Windows::Devices::Sensors::SimpleOrientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewReading)->get_Panel2Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading<D>::Panel2Id() const
+ template <typename D> auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReading<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReading) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReadingChangedEventArgs<D>::Reading() const
+ template <typename D> auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReadingChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreview>) consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewStatics<D>::GetDefaultAsync() const
+ template <typename D> auto consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewStatics<D>::GetDefaultAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewStatics)->GetDefaultAsync(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Profile.SystemManufacturers.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Profile.SystemManufacturers.h
index a17e466e639..a4d2e7b3716 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Profile.SystemManufacturers.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_System_Profile_SystemManufacturers_IOemSupportInfo<D>::SupportLink() const
+ template <typename D> auto consume_Windows_System_Profile_SystemManufacturers_IOemSupportInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_System_Profile_SystemManufacturers_IOemSupportInfo<D>::SupportAppLink() const
+ template <typename D> auto consume_Windows_System_Profile_SystemManufacturers_IOemSupportInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_IOemSupportInfo<D>::SupportProvider() const
+ template <typename D> auto consume_Windows_System_Profile_SystemManufacturers_IOemSupportInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISmbiosInformationStatics<D>::SerialNumber() const
+ template <typename D> auto consume_Windows_System_Profile_SystemManufacturers_ISmbiosInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo<D>::OperatingSystem() const
+ template <typename D> auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo<D>::FriendlyName() const
+ template <typename D> auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo<D>::SystemManufacturer() const
+ template <typename D> auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo<D>::SystemProductName() const
+ template <typename D> auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo<D>::SystemSku() const
+ template <typename D> auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo<D>::SystemHardwareVersion() const
+ template <typename D> auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo<D>::SystemFirmwareVersion() const
+ template <typename D> auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportDeviceInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportInfoStatics<D>::LocalSystemEdition() const
+ template <typename D> auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemManufacturers::OemSupportInfo) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportInfoStatics<D>::OemSupportInfo() const
+ template <typename D> auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemManufacturers::SystemSupportDeviceInfo) consume_Windows_System_Profile_SystemManufacturers_ISystemSupportInfoStatics2<D>::LocalDeviceInfo() const
+ template <typename D> auto consume_Windows_System_Profile_SystemManufacturers_ISystemSupportInfoStatics2<D>::LocalDeviceInfo() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::SystemManufacturers::ISystemSupportInfoStatics2)->get_LocalDeviceInfo(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Profile.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Profile.h
index 8fcd8305c4e..fe9da1921c7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Profile.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Profile::AnalyticsVersionInfo) consume_Windows_System_Profile_IAnalyticsInfoStatics<D>::VersionInfo() const
+ template <typename D> auto consume_Windows_System_Profile_IAnalyticsInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IAnalyticsInfoStatics<D>::DeviceForm() const
+ template <typename D> auto consume_Windows_System_Profile_IAnalyticsInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>>) consume_Windows_System_Profile_IAnalyticsInfoStatics2<D>::GetSystemPropertiesAsync(param::async_iterable<hstring> const& attributeNames) const
+ template <typename D> auto consume_Windows_System_Profile_IAnalyticsInfoStatics2<D>::GetSystemPropertiesAsync(param::async_iterable<hstring> const& attributeNames) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IAnalyticsInfoStatics2)->GetSystemPropertiesAsync(*(void**)(&attributeNames), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IAnalyticsVersionInfo<D>::DeviceFamily() const
+ template <typename D> auto consume_Windows_System_Profile_IAnalyticsVersionInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IAnalyticsVersionInfo<D>::DeviceFamilyVersion() const
+ template <typename D> auto consume_Windows_System_Profile_IAnalyticsVersionInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IAnalyticsVersionInfo2<D>::ProductName() const
+ template <typename D> auto consume_Windows_System_Profile_IAnalyticsVersionInfo2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::Profile::UnsupportedAppRequirement>) consume_Windows_System_Profile_IAppApplicabilityStatics<D>::GetUnsupportedAppRequirements(param::iterable<hstring> const& capabilities) const
+ template <typename D> auto consume_Windows_System_Profile_IAppApplicabilityStatics<D>::GetUnsupportedAppRequirements(param::iterable<hstring> 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<winrt::Windows::System::Profile::UnsupportedAppRequirement>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_IEducationSettingsStatics<D>::IsEducationEnvironment() const
+ template <typename D> auto consume_Windows_System_Profile_IEducationSettingsStatics<D>::IsEducationEnvironment() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IEducationSettingsStatics)->get_IsEducationEnvironment(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Profile::HardwareToken) consume_Windows_System_Profile_IHardwareIdentificationStatics<D>::GetPackageSpecificToken(winrt::Windows::Storage::Streams::IBuffer const& nonce) const
+ template <typename D> auto consume_Windows_System_Profile_IHardwareIdentificationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_System_Profile_IHardwareToken<D>::Id() const
+ template <typename D> auto consume_Windows_System_Profile_IHardwareToken<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_System_Profile_IHardwareToken<D>::Signature() const
+ template <typename D> auto consume_Windows_System_Profile_IHardwareToken<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_System_Profile_IHardwareToken<D>::Certificate() const
+ template <typename D> auto consume_Windows_System_Profile_IHardwareToken<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::RetailAccessCode() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::ManufacturerName() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::ModelName() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::DisplayModelName() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::Price() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::IsFeatured() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::FormFactor() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::ScreenSize() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::Weight() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::DisplayDescription() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::BatteryLifeDescription() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::ProcessorDescription() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::Memory() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::StorageDescription() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::GraphicsDescription() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::FrontCameraDescription() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::RearCameraDescription() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::HasNfc() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::HasSdSlot() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::HasOpticalDrive() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::IsOfficeInstalled() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::WindowsEdition() const
+ template <typename D> auto consume_Windows_System_Profile_IKnownRetailInfoPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Profile::PlatformDataCollectionLevel) consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics<D>::CollectionLevel() const
+ template <typename D> auto consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics<D>::CollectionLevel() const
{
winrt::Windows::System::Profile::PlatformDataCollectionLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IPlatformDiagnosticsAndUsageDataSettingsStatics)->get_CollectionLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics<D>::CollectionLevelChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics<D>::CollectionLevelChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics<D>::CollectionLevelChanged_revoker consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics<D>::CollectionLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics<D>::CollectionLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, CollectionLevelChanged_revoker>(this, CollectionLevelChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics<D>::CollectionLevelChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics<D>::CollectionLevelChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IPlatformDiagnosticsAndUsageDataSettingsStatics)->remove_CollectionLevelChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics<D>::CanCollectDiagnostics(winrt::Windows::System::Profile::PlatformDataCollectionLevel const& level) const
+ template <typename D> auto consume_Windows_System_Profile_IPlatformDiagnosticsAndUsageDataSettingsStatics<D>::CanCollectDiagnostics(winrt::Windows::System::Profile::PlatformDataCollectionLevel const& level) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IPlatformDiagnosticsAndUsageDataSettingsStatics)->CanCollectDiagnostics(static_cast<int32_t>(level), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_IRetailInfoStatics<D>::IsDemoModeEnabled() const
+ template <typename D> auto consume_Windows_System_Profile_IRetailInfoStatics<D>::IsDemoModeEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IRetailInfoStatics)->get_IsDemoModeEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_System_Profile_IRetailInfoStatics<D>::Properties() const
+ template <typename D> auto consume_Windows_System_Profile_IRetailInfoStatics<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IRetailInfoStatics)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_ISharedModeSettingsStatics<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_System_Profile_ISharedModeSettingsStatics<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::ISharedModeSettingsStatics)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_ISharedModeSettingsStatics2<D>::ShouldAvoidLocalStorage() const
+ template <typename D> auto consume_Windows_System_Profile_ISharedModeSettingsStatics2<D>::ShouldAvoidLocalStorage() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::ISharedModeSettingsStatics2)->get_ShouldAvoidLocalStorage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_System_Profile_ISystemIdentificationInfo<D>::Id() const
+ template <typename D> auto consume_Windows_System_Profile_ISystemIdentificationInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemIdentificationSource) consume_Windows_System_Profile_ISystemIdentificationInfo<D>::Source() const
+ template <typename D> auto consume_Windows_System_Profile_ISystemIdentificationInfo<D>::Source() const
{
winrt::Windows::System::Profile::SystemIdentificationSource value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::ISystemIdentificationInfo)->get_Source(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemIdentificationInfo) consume_Windows_System_Profile_ISystemIdentificationStatics<D>::GetSystemIdForPublisher() const
+ template <typename D> auto consume_Windows_System_Profile_ISystemIdentificationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemIdentificationInfo) consume_Windows_System_Profile_ISystemIdentificationStatics<D>::GetSystemIdForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_System_Profile_ISystemIdentificationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Profile::SystemOutOfBoxExperienceState) consume_Windows_System_Profile_ISystemSetupInfoStatics<D>::OutOfBoxExperienceState() const
+ template <typename D> auto consume_Windows_System_Profile_ISystemSetupInfoStatics<D>::OutOfBoxExperienceState() const
{
winrt::Windows::System::Profile::SystemOutOfBoxExperienceState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::ISystemSetupInfoStatics)->get_OutOfBoxExperienceState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Profile_ISystemSetupInfoStatics<D>::OutOfBoxExperienceStateChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Profile_ISystemSetupInfoStatics<D>::OutOfBoxExperienceStateChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_Profile_ISystemSetupInfoStatics<D>::OutOfBoxExperienceStateChanged_revoker consume_Windows_System_Profile_ISystemSetupInfoStatics<D>::OutOfBoxExperienceStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Profile_ISystemSetupInfoStatics<D>::OutOfBoxExperienceStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, OutOfBoxExperienceStateChanged_revoker>(this, OutOfBoxExperienceStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Profile_ISystemSetupInfoStatics<D>::OutOfBoxExperienceStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_Profile_ISystemSetupInfoStatics<D>::OutOfBoxExperienceStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::Profile::ISystemSetupInfoStatics)->remove_OutOfBoxExperienceStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Profile_IUnsupportedAppRequirement<D>::Requirement() const
+ template <typename D> auto consume_Windows_System_Profile_IUnsupportedAppRequirement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Profile::UnsupportedAppRequirementReasons) consume_Windows_System_Profile_IUnsupportedAppRequirement<D>::Reasons() const
+ template <typename D> auto consume_Windows_System_Profile_IUnsupportedAppRequirement<D>::Reasons() const
{
winrt::Windows::System::Profile::UnsupportedAppRequirementReasons value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IUnsupportedAppRequirement)->get_Reasons(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics<D>::IsEnabledForTrial() const
+ template <typename D> auto consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics<D>::IsEnabledForTrial() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics)->get_IsEnabledForTrial(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics<D>::CanDisable() const
+ template <typename D> auto consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics<D>::CanDisable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics)->get_CanDisable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics<D>::IsDisableSupported() const
+ template <typename D> auto consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics<D>::IsDisableSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics)->get_IsDisableSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics<D>::PolicyChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics<D>::PolicyChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics<D>::PolicyChanged_revoker consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics<D>::PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics<D>::PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, PolicyChanged_revoker>(this, PolicyChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics<D>::PolicyChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_Profile_IWindowsIntegrityPolicyStatics<D>::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<PlatformDiagnosticsAndUsageDataSettings, IPlatformDiagnosticsAndUsageDataSettingsStatics>([&](IPlatformDiagnosticsAndUsageDataSettingsStatics const& f) { return f.CollectionLevelChanged(handler); });
}
- inline PlatformDiagnosticsAndUsageDataSettings::CollectionLevelChanged_revoker PlatformDiagnosticsAndUsageDataSettings::CollectionLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto PlatformDiagnosticsAndUsageDataSettings::CollectionLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<PlatformDiagnosticsAndUsageDataSettings, winrt::Windows::System::Profile::IPlatformDiagnosticsAndUsageDataSettingsStatics>();
- 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<SystemSetupInfo, ISystemSetupInfoStatics>([&](ISystemSetupInfoStatics const& f) { return f.OutOfBoxExperienceStateChanged(handler); });
}
- inline SystemSetupInfo::OutOfBoxExperienceStateChanged_revoker SystemSetupInfo::OutOfBoxExperienceStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto SystemSetupInfo::OutOfBoxExperienceStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<SystemSetupInfo, winrt::Windows::System::Profile::ISystemSetupInfoStatics>();
- 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<WindowsIntegrityPolicy, IWindowsIntegrityPolicyStatics>([&](IWindowsIntegrityPolicyStatics const& f) { return f.PolicyChanged(handler); });
}
- inline WindowsIntegrityPolicy::PolicyChanged_revoker WindowsIntegrityPolicy::PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto WindowsIntegrityPolicy::PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<WindowsIntegrityPolicy, winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.RemoteDesktop.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.RemoteDesktop.h
index e82092679c3..b73786145ad 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.RemoteDesktop.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_RemoteDesktop_IInteractiveSessionStatics<D>::IsRemote() const
+ template <typename D> auto consume_Windows_System_RemoteDesktop_IInteractiveSessionStatics<D>::IsRemote() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteDesktop::IInteractiveSessionStatics)->get_IsRemote(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.RemoteSystems.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.RemoteSystems.h
index 6ebc8d3b5cd..3bd9fff9e24 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.RemoteSystems.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IKnownRemoteSystemCapabilitiesStatics<D>::AppService() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IKnownRemoteSystemCapabilitiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IKnownRemoteSystemCapabilitiesStatics<D>::LaunchUri() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IKnownRemoteSystemCapabilitiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IKnownRemoteSystemCapabilitiesStatics<D>::RemoteSession() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IKnownRemoteSystemCapabilitiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IKnownRemoteSystemCapabilitiesStatics<D>::SpatialEntity() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IKnownRemoteSystemCapabilitiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystem<D>::DisplayName() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystem<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystem<D>::Id() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystem<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystem<D>::Kind() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemStatus) consume_Windows_System_RemoteSystems_IRemoteSystem<D>::Status() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystem<D>::Status() const
{
winrt::Windows::System::RemoteSystems::RemoteSystemStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystem)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_RemoteSystems_IRemoteSystem<D>::IsAvailableByProximity() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystem<D>::IsAvailableByProximity() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystem)->get_IsAvailableByProximity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_RemoteSystems_IRemoteSystem2<D>::IsAvailableBySpatialProximity() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystem2<D>::IsAvailableBySpatialProximity() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystem2)->get_IsAvailableBySpatialProximity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_RemoteSystems_IRemoteSystem2<D>::GetCapabilitySupportedAsync(param::hstring const& capabilityName) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystem2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystem3<D>::ManufacturerDisplayName() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystem3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystem3<D>::ModelDisplayName() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystem3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemPlatform) consume_Windows_System_RemoteSystems_IRemoteSystem4<D>::Platform() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystem4<D>::Platform() const
{
winrt::Windows::System::RemoteSystems::RemoteSystemPlatform value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystem4)->get_Platform(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::RemoteSystems::RemoteSystemApp>) consume_Windows_System_RemoteSystems_IRemoteSystem5<D>::Apps() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystem5<D>::Apps() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystem5)->get_Apps(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::RemoteSystems::RemoteSystemApp>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_RemoteSystems_IRemoteSystem6<D>::User() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystem6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) consume_Windows_System_RemoteSystems_IRemoteSystemAddedEventArgs<D>::RemoteSystem() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemAddedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemApp<D>::Id() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemApp<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemApp<D>::DisplayName() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemApp<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_RemoteSystems_IRemoteSystemApp<D>::IsAvailableByProximity() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemApp<D>::IsAvailableByProximity() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemApp)->get_IsAvailableByProximity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_RemoteSystems_IRemoteSystemApp<D>::IsAvailableBySpatialProximity() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemApp<D>::IsAvailableBySpatialProximity() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemApp)->get_IsAvailableBySpatialProximity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>) consume_Windows_System_RemoteSystems_IRemoteSystemApp<D>::Attributes() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemApp<D>::Attributes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemApp)->get_Attributes(&value));
return winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_RemoteSystems_IRemoteSystemApp2<D>::User() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemApp2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemApp2<D>::ConnectionToken() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemApp2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistration<D>::User() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistration<D>::Attributes() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistration<D>::Attributes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemAppRegistration)->get_Attributes(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistration<D>::SaveAsync() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistration<D>::SaveAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemAppRegistration)->SaveAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemAppRegistration) consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistrationStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistrationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemAppRegistration) consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistrationStatics<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemAppRegistrationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind) consume_Windows_System_RemoteSystems_IRemoteSystemAuthorizationKindFilter<D>::RemoteSystemAuthorizationKind() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemAuthorizationKindFilter<D>::RemoteSystemAuthorizationKind() const
{
winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemAuthorizationKindFilter)->get_RemoteSystemAuthorizationKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKindFilter) consume_Windows_System_RemoteSystems_IRemoteSystemAuthorizationKindFilterFactory<D>::Create(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind const& remoteSystemAuthorizationKind) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemAuthorizationKindFilterFactory<D>::Create(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind const& remoteSystemAuthorizationKind) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemAuthorizationKindFilterFactory)->Create(static_cast<int32_t>(remoteSystemAuthorizationKind), &value));
return winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKindFilter{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionInfo<D>::IsProximal() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionInfo<D>::IsProximal() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionInfo)->get_IsProximal(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionInfo) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionInfoStatics<D>::TryCreateFromAppServiceConnection(winrt::Windows::ApplicationModel::AppService::AppServiceConnection const& connection) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest<D>::RemoteSystem() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemApp) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest2<D>::RemoteSystemApp() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest3<D>::ConnectionToken() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestFactory<D>::Create(winrt::Windows::System::RemoteSystems::RemoteSystem const& remoteSystem) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestStatics<D>::CreateForApp(winrt::Windows::System::RemoteSystems::RemoteSystemApp const& remoteSystemApp) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestStatics2<D>::CreateFromConnectionToken(param::hstring const& connectionToken) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest) consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestStatics2<D>::CreateFromConnectionTokenForUser(winrt::Windows::System::User const& user, param::hstring const& connectionToken) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequestStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemDiscoveryType) consume_Windows_System_RemoteSystems_IRemoteSystemDiscoveryTypeFilter<D>::RemoteSystemDiscoveryType() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemDiscoveryTypeFilter<D>::RemoteSystemDiscoveryType() const
{
winrt::Windows::System::RemoteSystems::RemoteSystemDiscoveryType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemDiscoveryTypeFilter)->get_RemoteSystemDiscoveryType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemDiscoveryTypeFilter) consume_Windows_System_RemoteSystems_IRemoteSystemDiscoveryTypeFilterFactory<D>::Create(winrt::Windows::System::RemoteSystems::RemoteSystemDiscoveryType const& discoveryType) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemDiscoveryTypeFilterFactory<D>::Create(winrt::Windows::System::RemoteSystems::RemoteSystemDiscoveryType const& discoveryType) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemDiscoveryTypeFilterFactory)->Create(static_cast<int32_t>(discoveryType), &value));
return winrt::Windows::System::RemoteSystems::RemoteSystemDiscoveryTypeFilter{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_System_RemoteSystems_IRemoteSystemKindFilter<D>::RemoteSystemKinds() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemKindFilter<D>::RemoteSystemKinds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemKindFilter)->get_RemoteSystemKinds(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemKindFilter) consume_Windows_System_RemoteSystems_IRemoteSystemKindFilterFactory<D>::Create(param::iterable<hstring> const& remoteSystemKinds) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemKindFilterFactory<D>::Create(param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics<D>::Phone() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics<D>::Hub() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics<D>::Holographic() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics<D>::Desktop() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics<D>::Xbox() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics2<D>::Iot() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics2<D>::Tablet() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics2<D>::Laptop() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemKindStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemRemovedEventArgs<D>::RemoteSystemId() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemRemovedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemSession<D>::Id() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSession<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemSession<D>::DisplayName() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSession<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemSession<D>::ControllerDisplayName() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSession<D>::Disconnected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSession, winrt::Windows::System::RemoteSystems::RemoteSystemSessionDisconnectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSession<D>::Disconnected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSession, winrt::Windows::System::RemoteSystems::RemoteSystemSessionDisconnectedEventArgs> 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 D> typename consume_Windows_System_RemoteSystems_IRemoteSystemSession<D>::Disconnected_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSession<D>::Disconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSession, winrt::Windows::System::RemoteSystems::RemoteSystemSessionDisconnectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSession<D>::Disconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSession, winrt::Windows::System::RemoteSystems::RemoteSystemSessionDisconnectedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Disconnected_revoker>(this, Disconnected(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSession<D>::Disconnected(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSession<D>::Disconnected(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSession)->remove_Disconnected(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher) consume_Windows_System_RemoteSystems_IRemoteSystemSession<D>::CreateParticipantWatcher() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSession<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_RemoteSystems_IRemoteSystemSession<D>::SendInvitationAsync(winrt::Windows::System::RemoteSystems::RemoteSystem const& invitee) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSession<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo) consume_Windows_System_RemoteSystems_IRemoteSystemSessionAddedEventArgs<D>::SessionInfo() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionAddedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionController<D>::JoinRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionController, winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionController<D>::JoinRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionController, winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinRequestedEventArgs> 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 D> typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionController<D>::JoinRequested_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionController<D>::JoinRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionController, winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionController<D>::JoinRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionController, winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, JoinRequested_revoker>(this, JoinRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionController<D>::JoinRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionController<D>::JoinRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionController)->remove_JoinRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_RemoteSystems_IRemoteSystemSessionController<D>::RemoveParticipantAsync(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant const& pParticipant) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionController<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::RemoteSystems::RemoteSystemSessionCreationResult>) consume_Windows_System_RemoteSystems_IRemoteSystemSessionController<D>::CreateSessionAsync() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionController<D>::CreateSessionAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionController)->CreateSessionAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::RemoteSystems::RemoteSystemSessionCreationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionController) consume_Windows_System_RemoteSystems_IRemoteSystemSessionControllerFactory<D>::CreateController(param::hstring const& displayName) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionControllerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionController) consume_Windows_System_RemoteSystems_IRemoteSystemSessionControllerFactory<D>::CreateController(param::hstring const& displayName, winrt::Windows::System::RemoteSystems::RemoteSystemSessionOptions const& options) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionControllerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionCreationStatus) consume_Windows_System_RemoteSystems_IRemoteSystemSessionCreationResult<D>::Status() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionCreationResult<D>::Status() const
{
winrt::Windows::System::RemoteSystems::RemoteSystemSessionCreationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionCreationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSession) consume_Windows_System_RemoteSystems_IRemoteSystemSessionCreationResult<D>::Session() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionCreationResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionDisconnectedReason) consume_Windows_System_RemoteSystems_IRemoteSystemSessionDisconnectedEventArgs<D>::Reason() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionDisconnectedEventArgs<D>::Reason() const
{
winrt::Windows::System::RemoteSystems::RemoteSystemSessionDisconnectedReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionDisconnectedEventArgs)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemSessionInfo<D>::DisplayName() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInfo<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_RemoteSystems_IRemoteSystemSessionInfo<D>::ControllerDisplayName() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinResult>) consume_Windows_System_RemoteSystems_IRemoteSystemSessionInfo<D>::JoinAsync() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInfo<D>::JoinAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionInfo)->JoinAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitation<D>::Sender() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo) consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitation<D>::SessionInfo() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationListener<D>::InvitationReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitationListener, winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitationReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationListener<D>::InvitationReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitationListener, winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitationReceivedEventArgs> 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 D> typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationListener<D>::InvitationReceived_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationListener<D>::InvitationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitationListener, winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitationReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationListener<D>::InvitationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitationListener, winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitationReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, InvitationReceived_revoker>(this, InvitationReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationListener<D>::InvitationReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationListener<D>::InvitationReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionInvitationListener)->remove_InvitationReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitation) consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationReceivedEventArgs<D>::Invitation() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant) consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequest<D>::Participant() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequest<D>::Accept() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequest<D>::Accept() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionJoinRequest)->Accept());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinRequest) consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequestedEventArgs<D>::JoinRequest() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinStatus) consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinResult<D>::Status() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinResult<D>::Status() const
{
winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionJoinResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSession) consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinResult<D>::Session() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionJoinResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSession) consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel<D>::Session() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel<D>::BroadcastValueSetAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel<D>::SendValueSetAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant const& participant) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel<D>::SendValueSetToParticipantsAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData, param::async_iterable<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant> const& participants) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel<D>::SendValueSetToParticipantsAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData, param::async_iterable<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant> 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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel<D>::ValueSetReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel, winrt::Windows::System::RemoteSystems::RemoteSystemSessionValueSetReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel<D>::ValueSetReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel, winrt::Windows::System::RemoteSystems::RemoteSystemSessionValueSetReceivedEventArgs> 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 D> typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel<D>::ValueSetReceived_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel<D>::ValueSetReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel, winrt::Windows::System::RemoteSystems::RemoteSystemSessionValueSetReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel<D>::ValueSetReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel, winrt::Windows::System::RemoteSystems::RemoteSystemSessionValueSetReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ValueSetReceived_revoker>(this, ValueSetReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel<D>::ValueSetReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel<D>::ValueSetReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionMessageChannel)->remove_ValueSetReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel) consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannelFactory<D>::Create(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session, param::hstring const& channelName) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannelFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel) consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannelFactory<D>::Create(winrt::Windows::System::RemoteSystems::RemoteSystemSession const& session, param::hstring const& channelName, winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannelReliability const& reliability) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannelFactory<D>::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<int32_t>(reliability), &value));
return winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_RemoteSystems_IRemoteSystemSessionOptions<D>::IsInviteOnly() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionOptions<D>::IsInviteOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionOptions)->get_IsInviteOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionOptions<D>::IsInviteOnly(bool value) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionOptions<D>::IsInviteOnly(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionOptions)->put_IsInviteOnly(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipant<D>::RemoteSystem() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipant<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::HostName>) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipant<D>::GetHostNames() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipant<D>::GetHostNames() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipant)->GetHostNames(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::HostName>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantAddedEventArgs<D>::Participant() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantAddedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantRemovedEventArgs<D>::Participant() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantRemovedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcherStatus) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Status() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Status() const
{
winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcherStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantAddedEventArgs> 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 D> typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Added_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantAddedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Added_revoker>(this, Added(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Added(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Added(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher)->remove_Added(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantRemovedEventArgs> 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 D> typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Removed_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantRemovedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Removed_revoker>(this, Removed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Removed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::Removed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher)->remove_Removed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::EnumerationCompleted_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EnumerationCompleted_revoker>(this, EnumerationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher)->remove_EnumerationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo) consume_Windows_System_RemoteSystems_IRemoteSystemSessionRemovedEventArgs<D>::SessionInfo() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionRemovedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher) consume_Windows_System_RemoteSystems_IRemoteSystemSessionStatics<D>::CreateWatcher() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo) consume_Windows_System_RemoteSystems_IRemoteSystemSessionUpdatedEventArgs<D>::SessionInfo() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant) consume_Windows_System_RemoteSystems_IRemoteSystemSessionValueSetReceivedEventArgs<D>::Sender() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionValueSetReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_System_RemoteSystems_IRemoteSystemSessionValueSetReceivedEventArgs<D>::Message() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionValueSetReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcherStatus) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Status() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Status() const
{
winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcherStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionAddedEventArgs> 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 D> typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Added_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionAddedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Added_revoker>(this, Added(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Added(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Added(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher)->remove_Added(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionUpdatedEventArgs> 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 D> typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Updated_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionUpdatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Updated_revoker>(this, Updated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Updated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Updated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher)->remove_Updated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionRemovedEventArgs> 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 D> typename consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Removed_revoker consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionRemovedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Removed_revoker>(this, Removed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Removed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemSessionWatcher<D>::Removed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher)->remove_Removed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::RemoteSystems::RemoteSystem>) consume_Windows_System_RemoteSystems_IRemoteSystemStatics<D>::FindByHostNameAsync(winrt::Windows::Networking::HostName const& hostName) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemStatics<D>::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<winrt::Windows::System::RemoteSystems::RemoteSystem>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWatcher) consume_Windows_System_RemoteSystems_IRemoteSystemStatics<D>::CreateWatcher() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWatcher) consume_Windows_System_RemoteSystems_IRemoteSystemStatics<D>::CreateWatcher(param::iterable<winrt::Windows::System::RemoteSystems::IRemoteSystemFilter> const& filters) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemStatics<D>::CreateWatcher(param::iterable<winrt::Windows::System::RemoteSystems::IRemoteSystemFilter> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::RemoteSystems::RemoteSystemAccessStatus>) consume_Windows_System_RemoteSystems_IRemoteSystemStatics<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemStatics<D>::RequestAccessAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemStatics)->RequestAccessAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::RemoteSystems::RemoteSystemAccessStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_RemoteSystems_IRemoteSystemStatics2<D>::IsAuthorizationKindEnabled(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind const& kind) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemStatics2<D>::IsAuthorizationKindEnabled(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind const& kind) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemStatics2)->IsAuthorizationKindEnabled(static_cast<int32_t>(kind), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWatcher) consume_Windows_System_RemoteSystems_IRemoteSystemStatics3<D>::CreateWatcherForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWatcher) consume_Windows_System_RemoteSystems_IRemoteSystemStatics3<D>::CreateWatcherForUser(winrt::Windows::System::User const& user, param::iterable<winrt::Windows::System::RemoteSystems::IRemoteSystemFilter> const& filters) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemStatics3<D>::CreateWatcherForUser(winrt::Windows::System::User const& user, param::iterable<winrt::Windows::System::RemoteSystems::IRemoteSystemFilter> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemStatusType) consume_Windows_System_RemoteSystems_IRemoteSystemStatusTypeFilter<D>::RemoteSystemStatusType() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemStatusTypeFilter<D>::RemoteSystemStatusType() const
{
winrt::Windows::System::RemoteSystems::RemoteSystemStatusType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemStatusTypeFilter)->get_RemoteSystemStatusType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemStatusTypeFilter) consume_Windows_System_RemoteSystems_IRemoteSystemStatusTypeFilterFactory<D>::Create(winrt::Windows::System::RemoteSystems::RemoteSystemStatusType const& remoteSystemStatusType) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemStatusTypeFilterFactory<D>::Create(winrt::Windows::System::RemoteSystems::RemoteSystemStatusType const& remoteSystemStatusType) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemStatusTypeFilterFactory)->Create(static_cast<int32_t>(remoteSystemStatusType), &value));
return winrt::Windows::System::RemoteSystems::RemoteSystemStatusTypeFilter{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) consume_Windows_System_RemoteSystems_IRemoteSystemUpdatedEventArgs<D>::RemoteSystem() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemAddedEventArgs> 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 D> typename consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemAdded_revoker consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemAddedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemAddedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RemoteSystemAdded_revoker>(this, RemoteSystemAdded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemAdded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemAdded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher)->remove_RemoteSystemAdded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemUpdatedEventArgs> 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 D> typename consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemUpdated_revoker consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemUpdatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RemoteSystemUpdated_revoker>(this, RemoteSystemUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemUpdated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemUpdated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher)->remove_RemoteSystemUpdated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemRemovedEventArgs> 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 D> typename consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemRemoved_revoker consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemRemovedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemRemovedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RemoteSystemRemoved_revoker>(this, RemoteSystemRemoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemRemoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher<D>::RemoteSystemRemoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher)->remove_RemoteSystemRemoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemEnumerationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemEnumerationCompletedEventArgs> 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 D> typename consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2<D>::EnumerationCompleted_revoker consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemEnumerationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemEnumerationCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, EnumerationCompleted_revoker>(this, EnumerationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher2)->remove_EnumerationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2<D>::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemWatcherErrorOccurredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2<D>::ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemWatcherErrorOccurredEventArgs> 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 D> typename consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2<D>::ErrorOccurred_revoker consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2<D>::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemWatcherErrorOccurredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2<D>::ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemWatcherErrorOccurredEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ErrorOccurred_revoker>(this, ErrorOccurred(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2<D>::ErrorOccurred(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2<D>::ErrorOccurred(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher2)->remove_ErrorOccurred(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_RemoteSystems_IRemoteSystemWatcher3<D>::User() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcher3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWatcherError) consume_Windows_System_RemoteSystems_IRemoteSystemWatcherErrorOccurredEventArgs<D>::Error() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWatcherErrorOccurredEventArgs<D>::Error() const
{
winrt::Windows::System::RemoteSystems::RemoteSystemWatcherError value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::RemoteSystems::IRemoteSystemWatcherErrorOccurredEventArgs)->get_Error(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) consume_Windows_System_RemoteSystems_IRemoteSystemWebAccountFilter<D>::Account() const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWebAccountFilter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWebAccountFilter) consume_Windows_System_RemoteSystems_IRemoteSystemWebAccountFilterFactory<D>::Create(winrt::Windows::Security::Credentials::WebAccount const& account) const
+ template <typename D> auto consume_Windows_System_RemoteSystems_IRemoteSystemWebAccountFilterFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Threading.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Threading.Core.h
index 89e6cdae8c5..44cbad0601a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Threading.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_System_Threading_Core_IPreallocatedWorkItem<D>::RunAsync() const
+ template <typename D> auto consume_Windows_System_Threading_Core_IPreallocatedWorkItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::PreallocatedWorkItem) consume_Windows_System_Threading_Core_IPreallocatedWorkItemFactory<D>::CreateWorkItem(winrt::Windows::System::Threading::WorkItemHandler const& handler) const
+ template <typename D> auto consume_Windows_System_Threading_Core_IPreallocatedWorkItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::PreallocatedWorkItem) consume_Windows_System_Threading_Core_IPreallocatedWorkItemFactory<D>::CreateWorkItemWithPriority(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority) const
+ template <typename D> auto consume_Windows_System_Threading_Core_IPreallocatedWorkItemFactory<D>::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<int32_t>(priority), &WorkItem));
return winrt::Windows::System::Threading::Core::PreallocatedWorkItem{ WorkItem, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::PreallocatedWorkItem) consume_Windows_System_Threading_Core_IPreallocatedWorkItemFactory<D>::CreateWorkItemWithPriorityAndOptions(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority, winrt::Windows::System::Threading::WorkItemOptions const& options) const
+ template <typename D> auto consume_Windows_System_Threading_Core_IPreallocatedWorkItemFactory<D>::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<int32_t>(priority), static_cast<uint32_t>(options), &WorkItem));
return winrt::Windows::System::Threading::Core::PreallocatedWorkItem{ WorkItem, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Threading_Core_ISignalNotifier<D>::Enable() const
+ template <typename D> auto consume_Windows_System_Threading_Core_ISignalNotifier<D>::Enable() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::Core::ISignalNotifier)->Enable());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Threading_Core_ISignalNotifier<D>::Terminate() const
+ template <typename D> auto consume_Windows_System_Threading_Core_ISignalNotifier<D>::Terminate() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::Core::ISignalNotifier)->Terminate());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::SignalNotifier) consume_Windows_System_Threading_Core_ISignalNotifierStatics<D>::AttachToEvent(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler) const
+ template <typename D> auto consume_Windows_System_Threading_Core_ISignalNotifierStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::SignalNotifier) consume_Windows_System_Threading_Core_ISignalNotifierStatics<D>::AttachToEvent(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler, winrt::Windows::Foundation::TimeSpan const& timeout) const
+ template <typename D> auto consume_Windows_System_Threading_Core_ISignalNotifierStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::SignalNotifier) consume_Windows_System_Threading_Core_ISignalNotifierStatics<D>::AttachToSemaphore(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler) const
+ template <typename D> auto consume_Windows_System_Threading_Core_ISignalNotifierStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Threading::Core::SignalNotifier) consume_Windows_System_Threading_Core_ISignalNotifierStatics<D>::AttachToSemaphore(param::hstring const& name, winrt::Windows::System::Threading::Core::SignalHandler const& handler, winrt::Windows::Foundation::TimeSpan const& timeout) const
+ template <typename D> auto consume_Windows_System_Threading_Core_ISignalNotifierStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Threading.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Threading.h
index 39c6873ed8a..a2e72fe1ae1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Threading.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_System_Threading_IThreadPoolStatics<D>::RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler) const
+ template <typename D> auto consume_Windows_System_Threading_IThreadPoolStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_System_Threading_IThreadPoolStatics<D>::RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority) const
+ template <typename D> auto consume_Windows_System_Threading_IThreadPoolStatics<D>::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<int32_t>(priority), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_System_Threading_IThreadPoolStatics<D>::RunAsync(winrt::Windows::System::Threading::WorkItemHandler const& handler, winrt::Windows::System::Threading::WorkItemPriority const& priority, winrt::Windows::System::Threading::WorkItemOptions const& options) const
+ template <typename D> auto consume_Windows_System_Threading_IThreadPoolStatics<D>::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<int32_t>(priority), static_cast<uint32_t>(options), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Threading_IThreadPoolTimer<D>::Period() const
+ template <typename D> auto consume_Windows_System_Threading_IThreadPoolTimer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Threading_IThreadPoolTimer<D>::Delay() const
+ template <typename D> auto consume_Windows_System_Threading_IThreadPoolTimer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Threading_IThreadPoolTimer<D>::Cancel() const
+ template <typename D> auto consume_Windows_System_Threading_IThreadPoolTimer<D>::Cancel() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Threading::IThreadPoolTimer)->Cancel());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Threading::ThreadPoolTimer) consume_Windows_System_Threading_IThreadPoolTimerStatics<D>::CreatePeriodicTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& period) const
+ template <typename D> auto consume_Windows_System_Threading_IThreadPoolTimerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Threading::ThreadPoolTimer) consume_Windows_System_Threading_IThreadPoolTimerStatics<D>::CreateTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& delay) const
+ template <typename D> auto consume_Windows_System_Threading_IThreadPoolTimerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Threading::ThreadPoolTimer) consume_Windows_System_Threading_IThreadPoolTimerStatics<D>::CreatePeriodicTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& period, winrt::Windows::System::Threading::TimerDestroyedHandler const& destroyed) const
+ template <typename D> auto consume_Windows_System_Threading_IThreadPoolTimerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Threading::ThreadPoolTimer) consume_Windows_System_Threading_IThreadPoolTimerStatics<D>::CreateTimer(winrt::Windows::System::Threading::TimerElapsedHandler const& handler, winrt::Windows::Foundation::TimeSpan const& delay, winrt::Windows::System::Threading::TimerDestroyedHandler const& destroyed) const
+ template <typename D> auto consume_Windows_System_Threading_IThreadPoolTimerStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Update.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Update.h
index 634e43f8970..848c2e5d94a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.Update.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Update::SystemUpdateItemState) consume_Windows_System_Update_ISystemUpdateItem<D>::State() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateItem<D>::State() const
{
winrt::Windows::System::Update::SystemUpdateItemState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateItem)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Update_ISystemUpdateItem<D>::Title() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateItem<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Update_ISystemUpdateItem<D>::Description() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateItem<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Update_ISystemUpdateItem<D>::Id() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateItem<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_Update_ISystemUpdateItem<D>::Revision() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateItem<D>::Revision() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateItem)->get_Revision(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_System_Update_ISystemUpdateItem<D>::DownloadProgress() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateItem<D>::DownloadProgress() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateItem)->get_DownloadProgress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_System_Update_ISystemUpdateItem<D>::InstallProgress() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateItem<D>::InstallProgress() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateItem)->get_InstallProgress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_System_Update_ISystemUpdateItem<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateItem<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateItem)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Update::SystemUpdateManagerState) consume_Windows_System_Update_ISystemUpdateLastErrorInfo<D>::State() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateLastErrorInfo<D>::State() const
{
winrt::Windows::System::Update::SystemUpdateManagerState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateLastErrorInfo)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_System_Update_ISystemUpdateLastErrorInfo<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateLastErrorInfo<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateLastErrorInfo)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Update_ISystemUpdateLastErrorInfo<D>::IsInteractive() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateLastErrorInfo<D>::IsInteractive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateLastErrorInfo)->get_IsInteractive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::IsSupported() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::IsSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->IsSupported(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Update::SystemUpdateManagerState) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::State() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::State() const
{
winrt::Windows::System::Update::SystemUpdateManagerState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::StateChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::StateChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::StateChanged_revoker consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::StateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, StateChanged_revoker>(this, StateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::StateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::StateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->remove_StateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::DownloadProgress() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::DownloadProgress() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->get_DownloadProgress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::InstallProgress() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::InstallProgress() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->get_InstallProgress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::UserActiveHoursStart() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::UserActiveHoursEnd() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::UserActiveHoursMax() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::UserActiveHoursMax() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->get_UserActiveHoursMax(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::TrySetUserActiveHours(winrt::Windows::Foundation::TimeSpan const& start, winrt::Windows::Foundation::TimeSpan const& end) const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::LastUpdateCheckTime() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::LastUpdateInstallTime() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Update::SystemUpdateLastErrorInfo) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::LastErrorInfo() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::GetAutomaticRebootBlockIds() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::GetAutomaticRebootBlockIds() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->GetAutomaticRebootBlockIds(&result));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::BlockAutomaticRebootAsync(param::hstring const& lockId) const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::UnblockAutomaticRebootAsync(param::hstring const& lockId) const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::Update::SystemUpdateItem>) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::GetUpdateItems() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::GetUpdateItems() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->GetUpdateItems(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::Update::SystemUpdateItem>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::Update::SystemUpdateAttentionRequiredReason) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::AttentionRequiredReason() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::AttentionRequiredReason() const
{
winrt::Windows::System::Update::SystemUpdateAttentionRequiredReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->get_AttentionRequiredReason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::SetFlightRing(param::hstring const& flightRing) const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::GetFlightRing() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::GetFlightRing() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->GetFlightRing(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::StartInstall(winrt::Windows::System::Update::SystemUpdateStartInstallAction const& action) const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::StartInstall(winrt::Windows::System::Update::SystemUpdateStartInstallAction const& action) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->StartInstall(static_cast<int32_t>(action)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::RebootToCompleteInstall() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::RebootToCompleteInstall() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::Update::ISystemUpdateManagerStatics)->RebootToCompleteInstall());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::StartCancelUpdates() const
+ template <typename D> auto consume_Windows_System_Update_ISystemUpdateManagerStatics<D>::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<SystemUpdateManager, ISystemUpdateManagerStatics>([&](ISystemUpdateManagerStatics const& f) { return f.StateChanged(handler); });
}
- inline SystemUpdateManager::StateChanged_revoker SystemUpdateManager::StateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto SystemUpdateManager::StateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<SystemUpdateManager, winrt::Windows::System::Update::ISystemUpdateManagerStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.UserProfile.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.UserProfile.h
index 0b5d871e290..9bc6587a51f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.UserProfile.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_UserProfile_IAdvertisingManagerForUser<D>::AdvertisingId() const
+ template <typename D> auto consume_Windows_System_UserProfile_IAdvertisingManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_UserProfile_IAdvertisingManagerForUser<D>::User() const
+ template <typename D> auto consume_Windows_System_UserProfile_IAdvertisingManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_UserProfile_IAdvertisingManagerStatics<D>::AdvertisingId() const
+ template <typename D> auto consume_Windows_System_UserProfile_IAdvertisingManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::AdvertisingManagerForUser) consume_Windows_System_UserProfile_IAdvertisingManagerStatics2<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_System_UserProfile_IAdvertisingManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_IAssignedAccessSettings<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_System_UserProfile_IAssignedAccessSettings<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IAssignedAccessSettings)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_IAssignedAccessSettings<D>::IsSingleAppKioskMode() const
+ template <typename D> auto consume_Windows_System_UserProfile_IAssignedAccessSettings<D>::IsSingleAppKioskMode() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IAssignedAccessSettings)->get_IsSingleAppKioskMode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_UserProfile_IAssignedAccessSettings<D>::User() const
+ template <typename D> auto consume_Windows_System_UserProfile_IAssignedAccessSettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::AssignedAccessSettings) consume_Windows_System_UserProfile_IAssignedAccessSettingsStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_System_UserProfile_IAssignedAccessSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::AssignedAccessSettings) consume_Windows_System_UserProfile_IAssignedAccessSettingsStatics<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_System_UserProfile_IAssignedAccessSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_IDiagnosticsSettings<D>::CanUseDiagnosticsToTailorExperiences() const
+ template <typename D> auto consume_Windows_System_UserProfile_IDiagnosticsSettings<D>::CanUseDiagnosticsToTailorExperiences() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IDiagnosticsSettings)->get_CanUseDiagnosticsToTailorExperiences(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_UserProfile_IDiagnosticsSettings<D>::User() const
+ template <typename D> auto consume_Windows_System_UserProfile_IDiagnosticsSettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::DiagnosticsSettings) consume_Windows_System_UserProfile_IDiagnosticsSettingsStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_System_UserProfile_IDiagnosticsSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::DiagnosticsSettings) consume_Windows_System_UserProfile_IDiagnosticsSettingsStatics<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_System_UserProfile_IDiagnosticsSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::FirstSignInSettings) consume_Windows_System_UserProfile_IFirstSignInSettingsStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_System_UserProfile_IFirstSignInSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser<D>::User() const
+ template <typename D> auto consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser<D>::Calendars() const
+ template <typename D> auto consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser<D>::Calendars() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesForUser)->get_Calendars(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser<D>::Clocks() const
+ template <typename D> auto consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser<D>::Clocks() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesForUser)->get_Clocks(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser<D>::Currencies() const
+ template <typename D> auto consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser<D>::Currencies() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesForUser)->get_Currencies(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser<D>::Languages() const
+ template <typename D> auto consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser<D>::Languages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesForUser)->get_Languages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser<D>::HomeGeographicRegion() const
+ template <typename D> auto consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser<D>::WeekStartsOn() const
+ template <typename D> auto consume_Windows_System_UserProfile_IGlobalizationPreferencesForUser<D>::WeekStartsOn() const
{
winrt::Windows::Globalization::DayOfWeek value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesForUser)->get_WeekStartsOn(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics<D>::Calendars() const
+ template <typename D> auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics<D>::Calendars() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics)->get_Calendars(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics<D>::Clocks() const
+ template <typename D> auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics<D>::Clocks() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics)->get_Clocks(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics<D>::Currencies() const
+ template <typename D> auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics<D>::Currencies() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics)->get_Currencies(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics<D>::Languages() const
+ template <typename D> auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics<D>::Languages() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics)->get_Languages(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics<D>::HomeGeographicRegion() const
+ template <typename D> auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics<D>::WeekStartsOn() const
+ template <typename D> auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics<D>::WeekStartsOn() const
{
winrt::Windows::Globalization::DayOfWeek value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics)->get_WeekStartsOn(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics2<D>::TrySetHomeGeographicRegion(param::hstring const& region) const
+ template <typename D> auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics2<D>::TrySetHomeGeographicRegion(param::hstring const& region) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics2)->TrySetHomeGeographicRegion(*(void**)(&region), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics2<D>::TrySetLanguages(param::iterable<hstring> const& languageTags) const
+ template <typename D> auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics2<D>::TrySetLanguages(param::iterable<hstring> const& languageTags) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics2)->TrySetLanguages(*(void**)(&languageTags), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::GlobalizationPreferencesForUser) consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics3<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::UserProfile::SetImageFeedResult>) consume_Windows_System_UserProfile_ILockScreenImageFeedStatics<D>::RequestSetImageFeedAsync(winrt::Windows::Foundation::Uri const& syndicationFeedUri) const
+ template <typename D> auto consume_Windows_System_UserProfile_ILockScreenImageFeedStatics<D>::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<winrt::Windows::System::UserProfile::SetImageFeedResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_ILockScreenImageFeedStatics<D>::TryRemoveImageFeed() const
+ template <typename D> auto consume_Windows_System_UserProfile_ILockScreenImageFeedStatics<D>::TryRemoveImageFeed() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::ILockScreenImageFeedStatics)->TryRemoveImageFeed(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_System_UserProfile_ILockScreenStatics<D>::OriginalImageFile() const
+ template <typename D> auto consume_Windows_System_UserProfile_ILockScreenStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStream) consume_Windows_System_UserProfile_ILockScreenStatics<D>::GetImageStream() const
+ template <typename D> auto consume_Windows_System_UserProfile_ILockScreenStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_System_UserProfile_ILockScreenStatics<D>::SetImageFileAsync(winrt::Windows::Storage::IStorageFile const& value) const
+ template <typename D> auto consume_Windows_System_UserProfile_ILockScreenStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_System_UserProfile_ILockScreenStatics<D>::SetImageStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const
+ template <typename D> auto consume_Windows_System_UserProfile_ILockScreenStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_IUserInformationStatics<D>::AccountPictureChangeEnabled() const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserInformationStatics<D>::AccountPictureChangeEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->get_AccountPictureChangeEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_IUserInformationStatics<D>::NameAccessAllowed() const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserInformationStatics<D>::NameAccessAllowed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->get_NameAccessAllowed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::IStorageFile) consume_Windows_System_UserProfile_IUserInformationStatics<D>::GetAccountPicture(winrt::Windows::System::UserProfile::AccountPictureKind const& kind) const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserInformationStatics<D>::GetAccountPicture(winrt::Windows::System::UserProfile::AccountPictureKind const& kind) const
{
void* storageFile{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->GetAccountPicture(static_cast<int32_t>(kind), &storageFile));
return winrt::Windows::Storage::IStorageFile{ storageFile, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::UserProfile::SetAccountPictureResult>) consume_Windows_System_UserProfile_IUserInformationStatics<D>::SetAccountPictureAsync(winrt::Windows::Storage::IStorageFile const& image) const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserInformationStatics<D>::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<winrt::Windows::System::UserProfile::SetAccountPictureResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::UserProfile::SetAccountPictureResult>) consume_Windows_System_UserProfile_IUserInformationStatics<D>::SetAccountPicturesAsync(winrt::Windows::Storage::IStorageFile const& smallImage, winrt::Windows::Storage::IStorageFile const& largeImage, winrt::Windows::Storage::IStorageFile const& video) const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserInformationStatics<D>::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<winrt::Windows::System::UserProfile::SetAccountPictureResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::UserProfile::SetAccountPictureResult>) consume_Windows_System_UserProfile_IUserInformationStatics<D>::SetAccountPictureFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& image) const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserInformationStatics<D>::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<winrt::Windows::System::UserProfile::SetAccountPictureResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::UserProfile::SetAccountPictureResult>) consume_Windows_System_UserProfile_IUserInformationStatics<D>::SetAccountPicturesFromStreamsAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& smallImage, winrt::Windows::Storage::Streams::IRandomAccessStream const& largeImage, winrt::Windows::Storage::Streams::IRandomAccessStream const& video) const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserInformationStatics<D>::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<winrt::Windows::System::UserProfile::SetAccountPictureResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_UserProfile_IUserInformationStatics<D>::AccountPictureChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler) const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserInformationStatics<D>::AccountPictureChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_UserProfile_IUserInformationStatics<D>::AccountPictureChanged_revoker consume_Windows_System_UserProfile_IUserInformationStatics<D>::AccountPictureChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler) const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserInformationStatics<D>::AccountPictureChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler) const
{
return impl::make_event_revoker<D, AccountPictureChanged_revoker>(this, AccountPictureChanged(changeHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_UserProfile_IUserInformationStatics<D>::AccountPictureChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_UserProfile_IUserInformationStatics<D>::AccountPictureChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->remove_AccountPictureChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_System_UserProfile_IUserInformationStatics<D>::GetDisplayNameAsync() const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserInformationStatics<D>::GetDisplayNameAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->GetDisplayNameAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_System_UserProfile_IUserInformationStatics<D>::GetFirstNameAsync() const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserInformationStatics<D>::GetFirstNameAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->GetFirstNameAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_System_UserProfile_IUserInformationStatics<D>::GetLastNameAsync() const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserInformationStatics<D>::GetLastNameAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->GetLastNameAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_System_UserProfile_IUserInformationStatics<D>::GetPrincipalNameAsync() const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserInformationStatics<D>::GetPrincipalNameAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->GetPrincipalNameAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Uri>) consume_Windows_System_UserProfile_IUserInformationStatics<D>::GetSessionInitiationProtocolUriAsync() const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserInformationStatics<D>::GetSessionInitiationProtocolUriAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->GetSessionInitiationProtocolUriAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Uri>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_System_UserProfile_IUserInformationStatics<D>::GetDomainNameAsync() const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserInformationStatics<D>::GetDomainNameAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::UserProfile::IUserInformationStatics)->GetDomainNameAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_UserProfile_IUserProfilePersonalizationSettings<D>::TrySetLockScreenImageAsync(winrt::Windows::Storage::StorageFile const& imageFile) const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserProfilePersonalizationSettings<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_UserProfile_IUserProfilePersonalizationSettings<D>::TrySetWallpaperImageAsync(winrt::Windows::Storage::StorageFile const& imageFile) const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserProfilePersonalizationSettings<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::UserProfilePersonalizationSettings) consume_Windows_System_UserProfile_IUserProfilePersonalizationSettingsStatics<D>::Current() const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserProfilePersonalizationSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_UserProfile_IUserProfilePersonalizationSettingsStatics<D>::IsSupported() const
+ template <typename D> auto consume_Windows_System_UserProfile_IUserProfilePersonalizationSettingsStatics<D>::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<UserInformation, IUserInformationStatics>([&](IUserInformationStatics const& f) { return f.AccountPictureChanged(changeHandler); });
}
- inline UserInformation::AccountPictureChanged_revoker UserInformation::AccountPictureChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler)
+ inline auto UserInformation::AccountPictureChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler)
{
auto f = get_activation_factory<UserInformation, winrt::Windows::System::UserProfile::IUserInformationStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.h
index c26638db278..46a4eaeb8e7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.System.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_System_IAppActivationResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_System_IAppActivationResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppActivationResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfo) consume_Windows_System_IAppActivationResult<D>::AppResourceGroupInfo() const
+ template <typename D> auto consume_Windows_System_IAppActivationResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_System_IAppDiagnosticInfo<D>::AppInfo() const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppResourceGroupInfo>) consume_Windows_System_IAppDiagnosticInfo2<D>::GetResourceGroups() const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfo2<D>::GetResourceGroups() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfo2)->GetResourceGroups(&result));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppResourceGroupInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfoWatcher) consume_Windows_System_IAppDiagnosticInfo2<D>::CreateResourceGroupWatcher() const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfo2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::AppActivationResult>) consume_Windows_System_IAppDiagnosticInfo3<D>::LaunchAsync() const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfo3<D>::LaunchAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfo3)->LaunchAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::AppActivationResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppDiagnosticInfo>>) consume_Windows_System_IAppDiagnosticInfoStatics<D>::RequestInfoAsync() const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoStatics<D>::RequestInfoAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoStatics)->RequestInfoAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppDiagnosticInfo>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppDiagnosticInfoWatcher) consume_Windows_System_IAppDiagnosticInfoStatics2<D>::CreateWatcher() const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::DiagnosticAccessStatus>) consume_Windows_System_IAppDiagnosticInfoStatics2<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoStatics2<D>::RequestAccessAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoStatics2)->RequestAccessAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::DiagnosticAccessStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppDiagnosticInfo>>) consume_Windows_System_IAppDiagnosticInfoStatics2<D>::RequestInfoForPackageAsync(param::hstring const& packageFamilyName) const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoStatics2<D>::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<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppDiagnosticInfo>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppDiagnosticInfo>>) consume_Windows_System_IAppDiagnosticInfoStatics2<D>::RequestInfoForAppAsync() const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoStatics2<D>::RequestInfoForAppAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoStatics2)->RequestInfoForAppAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppDiagnosticInfo>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppDiagnosticInfo>>) consume_Windows_System_IAppDiagnosticInfoStatics2<D>::RequestInfoForAppAsync(param::hstring const& appUserModelId) const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoStatics2<D>::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<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppDiagnosticInfo>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::System::AppDiagnosticInfoWatcherEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::System::AppDiagnosticInfoWatcherEventArgs> 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 D> typename consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Added_revoker consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::System::AppDiagnosticInfoWatcherEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::System::AppDiagnosticInfoWatcherEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Added_revoker>(this, Added(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Added(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Added(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->remove_Added(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::System::AppDiagnosticInfoWatcherEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::System::AppDiagnosticInfoWatcherEventArgs> 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 D> typename consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Removed_revoker consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::System::AppDiagnosticInfoWatcherEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::System::AppDiagnosticInfoWatcherEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Removed_revoker>(this, Removed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Removed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Removed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->remove_Removed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppDiagnosticInfoWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_IAppDiagnosticInfoWatcher<D>::EnumerationCompleted_revoker consume_Windows_System_IAppDiagnosticInfoWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EnumerationCompleted_revoker>(this, EnumerationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IAppDiagnosticInfoWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->remove_EnumerationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Stopped_revoker consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Stopped_revoker>(this, Stopped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->remove_Stopped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppDiagnosticInfoWatcherStatus) consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Status() const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Status() const
{
winrt::Windows::System::AppDiagnosticInfoWatcherStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppDiagnosticInfoWatcher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppDiagnosticInfo) consume_Windows_System_IAppDiagnosticInfoWatcherEventArgs<D>::AppDiagnosticInfo() const
+ template <typename D> auto consume_Windows_System_IAppDiagnosticInfoWatcherEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_System_IAppExecutionStateChangeResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_System_IAppExecutionStateChangeResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppExecutionStateChangeResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppMemoryReport<D>::PrivateCommitUsage() const
+ template <typename D> auto consume_Windows_System_IAppMemoryReport<D>::PrivateCommitUsage() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppMemoryReport)->get_PrivateCommitUsage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppMemoryReport<D>::PeakPrivateCommitUsage() const
+ template <typename D> auto consume_Windows_System_IAppMemoryReport<D>::PeakPrivateCommitUsage() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppMemoryReport)->get_PeakPrivateCommitUsage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppMemoryReport<D>::TotalCommitUsage() const
+ template <typename D> auto consume_Windows_System_IAppMemoryReport<D>::TotalCommitUsage() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppMemoryReport)->get_TotalCommitUsage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppMemoryReport<D>::TotalCommitLimit() const
+ template <typename D> auto consume_Windows_System_IAppMemoryReport<D>::TotalCommitLimit() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppMemoryReport)->get_TotalCommitLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppMemoryReport2<D>::ExpectedTotalCommitLimit() const
+ template <typename D> auto consume_Windows_System_IAppMemoryReport2<D>::ExpectedTotalCommitLimit() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppMemoryReport2)->get_ExpectedTotalCommitLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppMemoryUsageLimitChangingEventArgs<D>::OldLimit() const
+ template <typename D> auto consume_Windows_System_IAppMemoryUsageLimitChangingEventArgs<D>::OldLimit() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppMemoryUsageLimitChangingEventArgs)->get_OldLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppMemoryUsageLimitChangingEventArgs<D>::NewLimit() const
+ template <typename D> auto consume_Windows_System_IAppMemoryUsageLimitChangingEventArgs<D>::NewLimit() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppMemoryUsageLimitChangingEventArgs)->get_NewLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_System_IAppResourceGroupBackgroundTaskReport<D>::TaskId() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupBackgroundTaskReport<D>::TaskId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupBackgroundTaskReport)->get_TaskId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_IAppResourceGroupBackgroundTaskReport<D>::Name() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupBackgroundTaskReport<D>::Name() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupBackgroundTaskReport)->get_Name(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_IAppResourceGroupBackgroundTaskReport<D>::Trigger() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupBackgroundTaskReport<D>::Trigger() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupBackgroundTaskReport)->get_Trigger(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_IAppResourceGroupBackgroundTaskReport<D>::EntryPoint() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupBackgroundTaskReport<D>::EntryPoint() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupBackgroundTaskReport)->get_EntryPoint(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_System_IAppResourceGroupInfo<D>::InstanceId() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfo<D>::InstanceId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfo)->get_InstanceId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_IAppResourceGroupInfo<D>::IsShared() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfo<D>::IsShared() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfo)->get_IsShared(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppResourceGroupBackgroundTaskReport>) consume_Windows_System_IAppResourceGroupInfo<D>::GetBackgroundTaskReports() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfo<D>::GetBackgroundTaskReports() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfo)->GetBackgroundTaskReports(&result));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppResourceGroupBackgroundTaskReport>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupMemoryReport) consume_Windows_System_IAppResourceGroupInfo<D>::GetMemoryReport() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo>) consume_Windows_System_IAppResourceGroupInfo<D>::GetProcessDiagnosticInfos() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfo<D>::GetProcessDiagnosticInfos() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfo)->GetProcessDiagnosticInfos(&result));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupStateReport) consume_Windows_System_IAppResourceGroupInfo<D>::GetStateReport() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::AppExecutionStateChangeResult>) consume_Windows_System_IAppResourceGroupInfo2<D>::StartSuspendAsync() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfo2<D>::StartSuspendAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfo2)->StartSuspendAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::AppExecutionStateChangeResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::AppExecutionStateChangeResult>) consume_Windows_System_IAppResourceGroupInfo2<D>::StartResumeAsync() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfo2<D>::StartResumeAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfo2)->StartResumeAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::AppExecutionStateChangeResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::AppExecutionStateChangeResult>) consume_Windows_System_IAppResourceGroupInfo2<D>::StartTerminateAsync() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfo2<D>::StartTerminateAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfo2)->StartTerminateAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::AppExecutionStateChangeResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherEventArgs> 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 D> typename consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Added_revoker consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Added_revoker>(this, Added(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Added(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Added(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->remove_Added(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherEventArgs> 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 D> typename consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Removed_revoker consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Removed_revoker>(this, Removed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Removed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Removed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->remove_Removed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppResourceGroupInfoWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_IAppResourceGroupInfoWatcher<D>::EnumerationCompleted_revoker consume_Windows_System_IAppResourceGroupInfoWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EnumerationCompleted_revoker>(this, EnumerationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IAppResourceGroupInfoWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->remove_EnumerationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Stopped_revoker consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Stopped_revoker>(this, Stopped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->remove_Stopped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IAppResourceGroupInfoWatcher<D>::ExecutionStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherExecutionStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::ExecutionStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherExecutionStateChangedEventArgs> 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 D> typename consume_Windows_System_IAppResourceGroupInfoWatcher<D>::ExecutionStateChanged_revoker consume_Windows_System_IAppResourceGroupInfoWatcher<D>::ExecutionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherExecutionStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::ExecutionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherExecutionStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ExecutionStateChanged_revoker>(this, ExecutionStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IAppResourceGroupInfoWatcher<D>::ExecutionStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::ExecutionStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->remove_ExecutionStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfoWatcherStatus) consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Status() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Status() const
{
winrt::Windows::System::AppResourceGroupInfoWatcherStatus status{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->get_Status(reinterpret_cast<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::AppDiagnosticInfo>) consume_Windows_System_IAppResourceGroupInfoWatcherEventArgs<D>::AppDiagnosticInfos() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcherEventArgs<D>::AppDiagnosticInfos() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcherEventArgs)->get_AppDiagnosticInfos(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::AppDiagnosticInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfo) consume_Windows_System_IAppResourceGroupInfoWatcherEventArgs<D>::AppResourceGroupInfo() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcherEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::AppDiagnosticInfo>) consume_Windows_System_IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs<D>::AppDiagnosticInfos() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs<D>::AppDiagnosticInfos() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs)->get_AppDiagnosticInfos(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::AppDiagnosticInfo>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfo) consume_Windows_System_IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs<D>::AppResourceGroupInfo() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppResourceGroupMemoryReport<D>::CommitUsageLimit() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupMemoryReport<D>::CommitUsageLimit() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupMemoryReport)->get_CommitUsageLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppMemoryUsageLevel) consume_Windows_System_IAppResourceGroupMemoryReport<D>::CommitUsageLevel() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupMemoryReport<D>::CommitUsageLevel() const
{
winrt::Windows::System::AppMemoryUsageLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupMemoryReport)->get_CommitUsageLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppResourceGroupMemoryReport<D>::PrivateCommitUsage() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupMemoryReport<D>::PrivateCommitUsage() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupMemoryReport)->get_PrivateCommitUsage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IAppResourceGroupMemoryReport<D>::TotalCommitUsage() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupMemoryReport<D>::TotalCommitUsage() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupMemoryReport)->get_TotalCommitUsage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupExecutionState) consume_Windows_System_IAppResourceGroupStateReport<D>::ExecutionState() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupStateReport<D>::ExecutionState() const
{
winrt::Windows::System::AppResourceGroupExecutionState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupStateReport)->get_ExecutionState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupEnergyQuotaState) consume_Windows_System_IAppResourceGroupStateReport<D>::EnergyQuotaState() const
+ template <typename D> auto consume_Windows_System_IAppResourceGroupStateReport<D>::EnergyQuotaState() const
{
winrt::Windows::System::AppResourceGroupEnergyQuotaState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppResourceGroupStateReport)->get_EnergyQuotaState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_IAppUriHandlerHost<D>::Name() const
+ template <typename D> auto consume_Windows_System_IAppUriHandlerHost<D>::Name() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppUriHandlerHost)->get_Name(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IAppUriHandlerHost<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_System_IAppUriHandlerHost<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppUriHandlerHost)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppUriHandlerHost) consume_Windows_System_IAppUriHandlerHostFactory<D>::CreateInstance(param::hstring const& name) const
+ template <typename D> auto consume_Windows_System_IAppUriHandlerHostFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_IAppUriHandlerRegistration<D>::Name() const
+ template <typename D> auto consume_Windows_System_IAppUriHandlerRegistration<D>::Name() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppUriHandlerRegistration)->get_Name(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IAppUriHandlerRegistration<D>::User() const
+ template <typename D> auto consume_Windows_System_IAppUriHandlerRegistration<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppUriHandlerHost>>) consume_Windows_System_IAppUriHandlerRegistration<D>::GetAppAddedHostsAsync() const
+ template <typename D> auto consume_Windows_System_IAppUriHandlerRegistration<D>::GetAppAddedHostsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IAppUriHandlerRegistration)->GetAppAddedHostsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppUriHandlerHost>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_System_IAppUriHandlerRegistration<D>::SetAppAddedHostsAsync(param::async_iterable<winrt::Windows::System::AppUriHandlerHost> const& hosts) const
+ template <typename D> auto consume_Windows_System_IAppUriHandlerRegistration<D>::SetAppAddedHostsAsync(param::async_iterable<winrt::Windows::System::AppUriHandlerHost> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IAppUriHandlerRegistrationManager<D>::User() const
+ template <typename D> auto consume_Windows_System_IAppUriHandlerRegistrationManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppUriHandlerRegistration) consume_Windows_System_IAppUriHandlerRegistrationManager<D>::TryGetRegistration(param::hstring const& name) const
+ template <typename D> auto consume_Windows_System_IAppUriHandlerRegistrationManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppUriHandlerRegistrationManager) consume_Windows_System_IAppUriHandlerRegistrationManagerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_System_IAppUriHandlerRegistrationManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppUriHandlerRegistrationManager) consume_Windows_System_IAppUriHandlerRegistrationManagerStatics<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_System_IAppUriHandlerRegistrationManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IDateTimeSettingsStatics<D>::SetSystemDateTime(winrt::Windows::Foundation::DateTime const& utcDateTime) const
+ template <typename D> auto consume_Windows_System_IDateTimeSettingsStatics<D>::SetSystemDateTime(winrt::Windows::Foundation::DateTime const& utcDateTime) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDateTimeSettingsStatics)->SetSystemDateTime(impl::bind_in(utcDateTime)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueueTimer) consume_Windows_System_IDispatcherQueue<D>::CreateTimer() const
+ template <typename D> auto consume_Windows_System_IDispatcherQueue<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_IDispatcherQueue<D>::TryEnqueue(winrt::Windows::System::DispatcherQueueHandler const& callback) const
+ template <typename D> auto consume_Windows_System_IDispatcherQueue<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_IDispatcherQueue<D>::TryEnqueue(winrt::Windows::System::DispatcherQueuePriority const& priority, winrt::Windows::System::DispatcherQueueHandler const& callback) const
+ template <typename D> auto consume_Windows_System_IDispatcherQueue<D>::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<int32_t>(priority), *(void**)(&callback), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IDispatcherQueue<D>::ShutdownStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::DispatcherQueue, winrt::Windows::System::DispatcherQueueShutdownStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IDispatcherQueue<D>::ShutdownStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::DispatcherQueue, winrt::Windows::System::DispatcherQueueShutdownStartingEventArgs> 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 D> typename consume_Windows_System_IDispatcherQueue<D>::ShutdownStarting_revoker consume_Windows_System_IDispatcherQueue<D>::ShutdownStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::DispatcherQueue, winrt::Windows::System::DispatcherQueueShutdownStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IDispatcherQueue<D>::ShutdownStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::DispatcherQueue, winrt::Windows::System::DispatcherQueueShutdownStartingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ShutdownStarting_revoker>(this, ShutdownStarting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IDispatcherQueue<D>::ShutdownStarting(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IDispatcherQueue<D>::ShutdownStarting(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueue)->remove_ShutdownStarting(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IDispatcherQueue<D>::ShutdownCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::DispatcherQueue, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IDispatcherQueue<D>::ShutdownCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::DispatcherQueue, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_IDispatcherQueue<D>::ShutdownCompleted_revoker consume_Windows_System_IDispatcherQueue<D>::ShutdownCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::DispatcherQueue, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IDispatcherQueue<D>::ShutdownCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::DispatcherQueue, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ShutdownCompleted_revoker>(this, ShutdownCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IDispatcherQueue<D>::ShutdownCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IDispatcherQueue<D>::ShutdownCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueue)->remove_ShutdownCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_IDispatcherQueue2<D>::HasThreadAccess() const
+ template <typename D> auto consume_Windows_System_IDispatcherQueue2<D>::HasThreadAccess() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueue2)->get_HasThreadAccess(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_System_IDispatcherQueueController<D>::DispatcherQueue() const
+ template <typename D> auto consume_Windows_System_IDispatcherQueueController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_System_IDispatcherQueueController<D>::ShutdownQueueAsync() const
+ template <typename D> auto consume_Windows_System_IDispatcherQueueController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueueController) consume_Windows_System_IDispatcherQueueControllerStatics<D>::CreateOnDedicatedThread() const
+ template <typename D> auto consume_Windows_System_IDispatcherQueueControllerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_System_IDispatcherQueueShutdownStartingEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_System_IDispatcherQueueShutdownStartingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_System_IDispatcherQueueStatics<D>::GetForCurrentThread() const
+ template <typename D> auto consume_Windows_System_IDispatcherQueueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_System_IDispatcherQueueTimer<D>::Interval() const
+ template <typename D> auto consume_Windows_System_IDispatcherQueueTimer<D>::Interval() const
{
winrt::Windows::Foundation::TimeSpan value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueTimer)->get_Interval(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IDispatcherQueueTimer<D>::Interval(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_System_IDispatcherQueueTimer<D>::Interval(winrt::Windows::Foundation::TimeSpan const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueTimer)->put_Interval(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_IDispatcherQueueTimer<D>::IsRunning() const
+ template <typename D> auto consume_Windows_System_IDispatcherQueueTimer<D>::IsRunning() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueTimer)->get_IsRunning(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_IDispatcherQueueTimer<D>::IsRepeating() const
+ template <typename D> auto consume_Windows_System_IDispatcherQueueTimer<D>::IsRepeating() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueTimer)->get_IsRepeating(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IDispatcherQueueTimer<D>::IsRepeating(bool value) const
+ template <typename D> auto consume_Windows_System_IDispatcherQueueTimer<D>::IsRepeating(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueTimer)->put_IsRepeating(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IDispatcherQueueTimer<D>::Start() const
+ template <typename D> auto consume_Windows_System_IDispatcherQueueTimer<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueTimer)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IDispatcherQueueTimer<D>::Stop() const
+ template <typename D> auto consume_Windows_System_IDispatcherQueueTimer<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueTimer)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IDispatcherQueueTimer<D>::Tick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::DispatcherQueueTimer, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IDispatcherQueueTimer<D>::Tick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::DispatcherQueueTimer, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_IDispatcherQueueTimer<D>::Tick_revoker consume_Windows_System_IDispatcherQueueTimer<D>::Tick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::DispatcherQueueTimer, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IDispatcherQueueTimer<D>::Tick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::DispatcherQueueTimer, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Tick_revoker>(this, Tick(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IDispatcherQueueTimer<D>::Tick(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IDispatcherQueueTimer<D>::Tick(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IDispatcherQueueTimer)->remove_Tick(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Storage::IStorageItem>) consume_Windows_System_IFolderLauncherOptions<D>::ItemsToSelect() const
+ template <typename D> auto consume_Windows_System_IFolderLauncherOptions<D>::ItemsToSelect() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IFolderLauncherOptions)->get_ItemsToSelect(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Storage::IStorageItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics<D>::DisplayName() const
+ template <typename D> auto consume_Windows_System_IKnownUserPropertiesStatics<D>::DisplayName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_DisplayName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics<D>::FirstName() const
+ template <typename D> auto consume_Windows_System_IKnownUserPropertiesStatics<D>::FirstName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_FirstName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics<D>::LastName() const
+ template <typename D> auto consume_Windows_System_IKnownUserPropertiesStatics<D>::LastName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_LastName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics<D>::ProviderName() const
+ template <typename D> auto consume_Windows_System_IKnownUserPropertiesStatics<D>::ProviderName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_ProviderName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics<D>::AccountName() const
+ template <typename D> auto consume_Windows_System_IKnownUserPropertiesStatics<D>::AccountName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_AccountName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics<D>::GuestHost() const
+ template <typename D> auto consume_Windows_System_IKnownUserPropertiesStatics<D>::GuestHost() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_GuestHost(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics<D>::PrincipalName() const
+ template <typename D> auto consume_Windows_System_IKnownUserPropertiesStatics<D>::PrincipalName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_PrincipalName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics<D>::DomainName() const
+ template <typename D> auto consume_Windows_System_IKnownUserPropertiesStatics<D>::DomainName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_DomainName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_IKnownUserPropertiesStatics<D>::SessionInitiationProtocolUri() const
+ template <typename D> auto consume_Windows_System_IKnownUserPropertiesStatics<D>::SessionInitiationProtocolUri() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IKnownUserPropertiesStatics)->get_SessionInitiationProtocolUri(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::LaunchUriStatus) consume_Windows_System_ILaunchUriResult<D>::Status() const
+ template <typename D> auto consume_Windows_System_ILaunchUriResult<D>::Status() const
{
winrt::Windows::System::LaunchUriStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILaunchUriResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_System_ILaunchUriResult<D>::Result() const
+ template <typename D> auto consume_Windows_System_ILaunchUriResult<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_ILauncherOptions<D>::TreatAsUntrusted() const
+ template <typename D> auto consume_Windows_System_ILauncherOptions<D>::TreatAsUntrusted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->get_TreatAsUntrusted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions<D>::TreatAsUntrusted(bool value) const
+ template <typename D> auto consume_Windows_System_ILauncherOptions<D>::TreatAsUntrusted(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->put_TreatAsUntrusted(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_ILauncherOptions<D>::DisplayApplicationPicker() const
+ template <typename D> auto consume_Windows_System_ILauncherOptions<D>::DisplayApplicationPicker() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->get_DisplayApplicationPicker(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions<D>::DisplayApplicationPicker(bool value) const
+ template <typename D> auto consume_Windows_System_ILauncherOptions<D>::DisplayApplicationPicker(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->put_DisplayApplicationPicker(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::LauncherUIOptions) consume_Windows_System_ILauncherOptions<D>::UI() const
+ template <typename D> auto consume_Windows_System_ILauncherOptions<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_ILauncherOptions<D>::PreferredApplicationPackageFamilyName() const
+ template <typename D> auto consume_Windows_System_ILauncherOptions<D>::PreferredApplicationPackageFamilyName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->get_PreferredApplicationPackageFamilyName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions<D>::PreferredApplicationPackageFamilyName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_System_ILauncherOptions<D>::PreferredApplicationPackageFamilyName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->put_PreferredApplicationPackageFamilyName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_ILauncherOptions<D>::PreferredApplicationDisplayName() const
+ template <typename D> auto consume_Windows_System_ILauncherOptions<D>::PreferredApplicationDisplayName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->get_PreferredApplicationDisplayName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions<D>::PreferredApplicationDisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_System_ILauncherOptions<D>::PreferredApplicationDisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->put_PreferredApplicationDisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_System_ILauncherOptions<D>::FallbackUri() const
+ template <typename D> auto consume_Windows_System_ILauncherOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions<D>::FallbackUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_System_ILauncherOptions<D>::FallbackUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->put_FallbackUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_ILauncherOptions<D>::ContentType() const
+ template <typename D> auto consume_Windows_System_ILauncherOptions<D>::ContentType() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->get_ContentType(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions<D>::ContentType(param::hstring const& value) const
+ template <typename D> auto consume_Windows_System_ILauncherOptions<D>::ContentType(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions)->put_ContentType(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_ILauncherOptions2<D>::TargetApplicationPackageFamilyName() const
+ template <typename D> auto consume_Windows_System_ILauncherOptions2<D>::TargetApplicationPackageFamilyName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions2)->get_TargetApplicationPackageFamilyName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions2<D>::TargetApplicationPackageFamilyName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_System_ILauncherOptions2<D>::TargetApplicationPackageFamilyName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions2)->put_TargetApplicationPackageFamilyName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFileQueryResult) consume_Windows_System_ILauncherOptions2<D>::NeighboringFilesQuery() const
+ template <typename D> auto consume_Windows_System_ILauncherOptions2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions2<D>::NeighboringFilesQuery(winrt::Windows::Storage::Search::StorageFileQueryResult const& value) const
+ template <typename D> auto consume_Windows_System_ILauncherOptions2<D>::NeighboringFilesQuery(winrt::Windows::Storage::Search::StorageFileQueryResult const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions2)->put_NeighboringFilesQuery(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_ILauncherOptions3<D>::IgnoreAppUriHandlers() const
+ template <typename D> auto consume_Windows_System_ILauncherOptions3<D>::IgnoreAppUriHandlers() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions3)->get_IgnoreAppUriHandlers(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions3<D>::IgnoreAppUriHandlers(bool value) const
+ template <typename D> auto consume_Windows_System_ILauncherOptions3<D>::IgnoreAppUriHandlers(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions3)->put_IgnoreAppUriHandlers(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_ILauncherOptions4<D>::LimitPickerToCurrentAppAndAppUriHandlers() const
+ template <typename D> auto consume_Windows_System_ILauncherOptions4<D>::LimitPickerToCurrentAppAndAppUriHandlers() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions4)->get_LimitPickerToCurrentAppAndAppUriHandlers(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherOptions4<D>::LimitPickerToCurrentAppAndAppUriHandlers(bool value) const
+ template <typename D> auto consume_Windows_System_ILauncherOptions4<D>::LimitPickerToCurrentAppAndAppUriHandlers(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherOptions4)->put_LimitPickerToCurrentAppAndAppUriHandlers(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_ILauncherStatics<D>::LaunchFileAsync(winrt::Windows::Storage::IStorageFile const& file) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_ILauncherStatics<D>::LaunchFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::System::LauncherOptions const& options) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_ILauncherStatics<D>::LaunchUriAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_ILauncherStatics<D>::LaunchUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchUriResult>) consume_Windows_System_ILauncherStatics2<D>::LaunchUriForResultsAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics2<D>::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<winrt::Windows::System::LaunchUriResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchUriResult>) consume_Windows_System_ILauncherStatics2<D>::LaunchUriForResultsAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics2<D>::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<winrt::Windows::System::LaunchUriResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_ILauncherStatics2<D>::LaunchUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options, winrt::Windows::Foundation::Collections::ValueSet const& inputData) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchQuerySupportStatus>) consume_Windows_System_ILauncherStatics2<D>::QueryUriSupportAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LaunchQuerySupportType const& launchQuerySupportType) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics2<D>::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<int32_t>(launchQuerySupportType), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchQuerySupportStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchQuerySupportStatus>) consume_Windows_System_ILauncherStatics2<D>::QueryUriSupportAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LaunchQuerySupportType const& launchQuerySupportType, param::hstring const& packageFamilyName) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics2<D>::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<int32_t>(launchQuerySupportType), *(void**)(&packageFamilyName), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchQuerySupportStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchQuerySupportStatus>) consume_Windows_System_ILauncherStatics2<D>::QueryFileSupportAsync(winrt::Windows::Storage::StorageFile const& file) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics2<D>::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<winrt::Windows::System::LaunchQuerySupportStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchQuerySupportStatus>) consume_Windows_System_ILauncherStatics2<D>::QueryFileSupportAsync(winrt::Windows::Storage::StorageFile const& file, param::hstring const& packageFamilyName) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics2<D>::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<winrt::Windows::System::LaunchQuerySupportStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppInfo>>) consume_Windows_System_ILauncherStatics2<D>::FindUriSchemeHandlersAsync(param::hstring const& scheme) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics2<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppInfo>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppInfo>>) consume_Windows_System_ILauncherStatics2<D>::FindUriSchemeHandlersAsync(param::hstring const& scheme, winrt::Windows::System::LaunchQuerySupportType const& launchQuerySupportType) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics2<D>::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<int32_t>(launchQuerySupportType), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppInfo>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppInfo>>) consume_Windows_System_ILauncherStatics2<D>::FindFileHandlersAsync(param::hstring const& extension) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics2<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppInfo>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_ILauncherStatics3<D>::LaunchFolderAsync(winrt::Windows::Storage::IStorageFolder const& folder) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics3<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_ILauncherStatics3<D>::LaunchFolderAsync(winrt::Windows::Storage::IStorageFolder const& folder, winrt::Windows::System::FolderLauncherOptions const& options) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics3<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchQuerySupportStatus>) consume_Windows_System_ILauncherStatics4<D>::QueryAppUriSupportAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics4<D>::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<winrt::Windows::System::LaunchQuerySupportStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchQuerySupportStatus>) consume_Windows_System_ILauncherStatics4<D>::QueryAppUriSupportAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& packageFamilyName) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics4<D>::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<winrt::Windows::System::LaunchQuerySupportStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppInfo>>) consume_Windows_System_ILauncherStatics4<D>::FindAppUriHandlersAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics4<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppInfo>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchUriStatus>) consume_Windows_System_ILauncherStatics4<D>::LaunchUriForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics4<D>::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<winrt::Windows::System::LaunchUriStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchUriStatus>) consume_Windows_System_ILauncherStatics4<D>::LaunchUriForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics4<D>::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<winrt::Windows::System::LaunchUriStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchUriStatus>) consume_Windows_System_ILauncherStatics4<D>::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 <typename D> auto consume_Windows_System_ILauncherStatics4<D>::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<winrt::Windows::System::LaunchUriStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchUriResult>) consume_Windows_System_ILauncherStatics4<D>::LaunchUriForResultsForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics4<D>::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<winrt::Windows::System::LaunchUriResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchUriResult>) consume_Windows_System_ILauncherStatics4<D>::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 <typename D> auto consume_Windows_System_ILauncherStatics4<D>::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<winrt::Windows::System::LaunchUriResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_ILauncherStatics5<D>::LaunchFolderPathAsync(param::hstring const& path) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics5<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_ILauncherStatics5<D>::LaunchFolderPathAsync(param::hstring const& path, winrt::Windows::System::FolderLauncherOptions const& options) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics5<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_ILauncherStatics5<D>::LaunchFolderPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics5<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_System_ILauncherStatics5<D>::LaunchFolderPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path, winrt::Windows::System::FolderLauncherOptions const& options) const
+ template <typename D> auto consume_Windows_System_ILauncherStatics5<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>) consume_Windows_System_ILauncherUIOptions<D>::InvocationPoint() const
+ template <typename D> auto consume_Windows_System_ILauncherUIOptions<D>::InvocationPoint() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherUIOptions)->get_InvocationPoint(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherUIOptions<D>::InvocationPoint(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point> const& value) const
+ template <typename D> auto consume_Windows_System_ILauncherUIOptions<D>::InvocationPoint(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherUIOptions)->put_InvocationPoint(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect>) consume_Windows_System_ILauncherUIOptions<D>::SelectionRect() const
+ template <typename D> auto consume_Windows_System_ILauncherUIOptions<D>::SelectionRect() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherUIOptions)->get_SelectionRect(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherUIOptions<D>::SelectionRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> const& value) const
+ template <typename D> auto consume_Windows_System_ILauncherUIOptions<D>::SelectionRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherUIOptions)->put_SelectionRect(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::Placement) consume_Windows_System_ILauncherUIOptions<D>::PreferredPlacement() const
+ template <typename D> auto consume_Windows_System_ILauncherUIOptions<D>::PreferredPlacement() const
{
winrt::Windows::UI::Popups::Placement value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherUIOptions)->get_PreferredPlacement(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherUIOptions<D>::PreferredPlacement(winrt::Windows::UI::Popups::Placement const& value) const
+ template <typename D> auto consume_Windows_System_ILauncherUIOptions<D>::PreferredPlacement(winrt::Windows::UI::Popups::Placement const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherUIOptions)->put_PreferredPlacement(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ViewSizePreference) consume_Windows_System_ILauncherViewOptions<D>::DesiredRemainingView() const
+ template <typename D> auto consume_Windows_System_ILauncherViewOptions<D>::DesiredRemainingView() const
{
winrt::Windows::UI::ViewManagement::ViewSizePreference value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherViewOptions)->get_DesiredRemainingView(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_ILauncherViewOptions<D>::DesiredRemainingView(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const
+ template <typename D> auto consume_Windows_System_ILauncherViewOptions<D>::DesiredRemainingView(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ILauncherViewOptions)->put_DesiredRemainingView(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsage() const
+ template <typename D> auto consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsage() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics)->get_AppMemoryUsage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageLimit() const
+ template <typename D> auto consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageLimit() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics)->get_AppMemoryUsageLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppMemoryUsageLevel) consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageLevel() const
+ template <typename D> auto consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageLevel() const
{
winrt::Windows::System::AppMemoryUsageLevel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics)->get_AppMemoryUsageLevel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageIncreased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageIncreased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageIncreased_revoker consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, AppMemoryUsageIncreased_revoker>(this, AppMemoryUsageIncreased(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageIncreased(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageIncreased(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics)->remove_AppMemoryUsageIncreased(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageDecreased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageDecreased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageDecreased_revoker consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageDecreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageDecreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, AppMemoryUsageDecreased_revoker>(this, AppMemoryUsageDecreased(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageDecreased(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageDecreased(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics)->remove_AppMemoryUsageDecreased(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageLimitChanging(winrt::Windows::Foundation::EventHandler<winrt::Windows::System::AppMemoryUsageLimitChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageLimitChanging(winrt::Windows::Foundation::EventHandler<winrt::Windows::System::AppMemoryUsageLimitChangingEventArgs> 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 D> typename consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageLimitChanging_revoker consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageLimitChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::System::AppMemoryUsageLimitChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageLimitChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::System::AppMemoryUsageLimitChangingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AppMemoryUsageLimitChanging_revoker>(this, AppMemoryUsageLimitChanging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageLimitChanging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IMemoryManagerStatics<D>::AppMemoryUsageLimitChanging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics)->remove_AppMemoryUsageLimitChanging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::AppMemoryReport) consume_Windows_System_IMemoryManagerStatics2<D>::GetAppMemoryReport() const
+ template <typename D> auto consume_Windows_System_IMemoryManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::ProcessMemoryReport) consume_Windows_System_IMemoryManagerStatics2<D>::GetProcessMemoryReport() const
+ template <typename D> auto consume_Windows_System_IMemoryManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_IMemoryManagerStatics3<D>::TrySetAppMemoryUsageLimit(uint64_t value) const
+ template <typename D> auto consume_Windows_System_IMemoryManagerStatics3<D>::TrySetAppMemoryUsageLimit(uint64_t value) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics3)->TrySetAppMemoryUsageLimit(value, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IMemoryManagerStatics4<D>::ExpectedAppMemoryUsageLimit() const
+ template <typename D> auto consume_Windows_System_IMemoryManagerStatics4<D>::ExpectedAppMemoryUsageLimit() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IMemoryManagerStatics4)->get_ExpectedAppMemoryUsageLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_System_IProcessLauncherOptions<D>::StandardInput() const
+ template <typename D> auto consume_Windows_System_IProcessLauncherOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IProcessLauncherOptions<D>::StandardInput(winrt::Windows::Storage::Streams::IInputStream const& value) const
+ template <typename D> auto consume_Windows_System_IProcessLauncherOptions<D>::StandardInput(winrt::Windows::Storage::Streams::IInputStream const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessLauncherOptions)->put_StandardInput(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_System_IProcessLauncherOptions<D>::StandardOutput() const
+ template <typename D> auto consume_Windows_System_IProcessLauncherOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IProcessLauncherOptions<D>::StandardOutput(winrt::Windows::Storage::Streams::IOutputStream const& value) const
+ template <typename D> auto consume_Windows_System_IProcessLauncherOptions<D>::StandardOutput(winrt::Windows::Storage::Streams::IOutputStream const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessLauncherOptions)->put_StandardOutput(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) consume_Windows_System_IProcessLauncherOptions<D>::StandardError() const
+ template <typename D> auto consume_Windows_System_IProcessLauncherOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IProcessLauncherOptions<D>::StandardError(winrt::Windows::Storage::Streams::IOutputStream const& value) const
+ template <typename D> auto consume_Windows_System_IProcessLauncherOptions<D>::StandardError(winrt::Windows::Storage::Streams::IOutputStream const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessLauncherOptions)->put_StandardError(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_IProcessLauncherOptions<D>::WorkingDirectory() const
+ template <typename D> auto consume_Windows_System_IProcessLauncherOptions<D>::WorkingDirectory() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessLauncherOptions)->get_WorkingDirectory(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IProcessLauncherOptions<D>::WorkingDirectory(param::hstring const& value) const
+ template <typename D> auto consume_Windows_System_IProcessLauncherOptions<D>::WorkingDirectory(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessLauncherOptions)->put_WorkingDirectory(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_System_IProcessLauncherResult<D>::ExitCode() const
+ template <typename D> auto consume_Windows_System_IProcessLauncherResult<D>::ExitCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessLauncherResult)->get_ExitCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::ProcessLauncherResult>) consume_Windows_System_IProcessLauncherStatics<D>::RunToCompletionAsync(param::hstring const& fileName, param::hstring const& args) const
+ template <typename D> auto consume_Windows_System_IProcessLauncherStatics<D>::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<winrt::Windows::System::ProcessLauncherResult>{ asyncOperationResult, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::ProcessLauncherResult>) consume_Windows_System_IProcessLauncherStatics<D>::RunToCompletionAsync(param::hstring const& fileName, param::hstring const& args, winrt::Windows::System::ProcessLauncherOptions const& options) const
+ template <typename D> auto consume_Windows_System_IProcessLauncherStatics<D>::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<winrt::Windows::System::ProcessLauncherResult>{ asyncOperationResult, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IProcessMemoryReport<D>::PrivateWorkingSetUsage() const
+ template <typename D> auto consume_Windows_System_IProcessMemoryReport<D>::PrivateWorkingSetUsage() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessMemoryReport)->get_PrivateWorkingSetUsage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_System_IProcessMemoryReport<D>::TotalWorkingSetUsage() const
+ template <typename D> auto consume_Windows_System_IProcessMemoryReport<D>::TotalWorkingSetUsage() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProcessMemoryReport)->get_TotalWorkingSetUsage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IProtocolForResultsOperation<D>::ReportCompleted(winrt::Windows::Foundation::Collections::ValueSet const& data) const
+ template <typename D> auto consume_Windows_System_IProtocolForResultsOperation<D>::ReportCompleted(winrt::Windows::Foundation::Collections::ValueSet const& data) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IProtocolForResultsOperation)->ReportCompleted(*(void**)(&data)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_System_IRemoteLauncherOptions<D>::FallbackUri() const
+ template <typename D> auto consume_Windows_System_IRemoteLauncherOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IRemoteLauncherOptions<D>::FallbackUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_System_IRemoteLauncherOptions<D>::FallbackUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IRemoteLauncherOptions)->put_FallbackUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) consume_Windows_System_IRemoteLauncherOptions<D>::PreferredAppIds() const
+ template <typename D> auto consume_Windows_System_IRemoteLauncherOptions<D>::PreferredAppIds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IRemoteLauncherOptions)->get_PreferredAppIds(&value));
return winrt::Windows::Foundation::Collections::IVector<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::RemoteLaunchUriStatus>) consume_Windows_System_IRemoteLauncherStatics<D>::LaunchUriAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest, winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_System_IRemoteLauncherStatics<D>::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<winrt::Windows::System::RemoteLaunchUriStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::RemoteLaunchUriStatus>) consume_Windows_System_IRemoteLauncherStatics<D>::LaunchUriAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest, winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::RemoteLauncherOptions const& options) const
+ template <typename D> auto consume_Windows_System_IRemoteLauncherStatics<D>::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<winrt::Windows::System::RemoteLaunchUriStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::RemoteLaunchUriStatus>) consume_Windows_System_IRemoteLauncherStatics<D>::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 <typename D> auto consume_Windows_System_IRemoteLauncherStatics<D>::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<winrt::Windows::System::RemoteLaunchUriStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IShutdownManagerStatics<D>::BeginShutdown(winrt::Windows::System::ShutdownKind const& shutdownKind, winrt::Windows::Foundation::TimeSpan const& timeout) const
+ template <typename D> auto consume_Windows_System_IShutdownManagerStatics<D>::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<int32_t>(shutdownKind), impl::bind_in(timeout)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IShutdownManagerStatics<D>::CancelShutdown() const
+ template <typename D> auto consume_Windows_System_IShutdownManagerStatics<D>::CancelShutdown() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IShutdownManagerStatics)->CancelShutdown());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_IShutdownManagerStatics2<D>::IsPowerStateSupported(winrt::Windows::System::PowerState const& powerState) const
+ template <typename D> auto consume_Windows_System_IShutdownManagerStatics2<D>::IsPowerStateSupported(winrt::Windows::System::PowerState const& powerState) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IShutdownManagerStatics2)->IsPowerStateSupported(static_cast<int32_t>(powerState), &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IShutdownManagerStatics2<D>::EnterPowerState(winrt::Windows::System::PowerState const& powerState) const
+ template <typename D> auto consume_Windows_System_IShutdownManagerStatics2<D>::EnterPowerState(winrt::Windows::System::PowerState const& powerState) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IShutdownManagerStatics2)->EnterPowerState(static_cast<int32_t>(powerState)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IShutdownManagerStatics2<D>::EnterPowerState(winrt::Windows::System::PowerState const& powerState, winrt::Windows::Foundation::TimeSpan const& wakeUpAfter) const
+ template <typename D> auto consume_Windows_System_IShutdownManagerStatics2<D>::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<int32_t>(powerState), impl::bind_in(wakeUpAfter)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_ITimeZoneSettingsStatics<D>::CurrentTimeZoneDisplayName() const
+ template <typename D> auto consume_Windows_System_ITimeZoneSettingsStatics<D>::CurrentTimeZoneDisplayName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ITimeZoneSettingsStatics)->get_CurrentTimeZoneDisplayName(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_System_ITimeZoneSettingsStatics<D>::SupportedTimeZoneDisplayNames() const
+ template <typename D> auto consume_Windows_System_ITimeZoneSettingsStatics<D>::SupportedTimeZoneDisplayNames() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ITimeZoneSettingsStatics)->get_SupportedTimeZoneDisplayNames(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_ITimeZoneSettingsStatics<D>::CanChangeTimeZone() const
+ template <typename D> auto consume_Windows_System_ITimeZoneSettingsStatics<D>::CanChangeTimeZone() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ITimeZoneSettingsStatics)->get_CanChangeTimeZone(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_ITimeZoneSettingsStatics<D>::ChangeTimeZoneByDisplayName(param::hstring const& timeZoneDisplayName) const
+ template <typename D> auto consume_Windows_System_ITimeZoneSettingsStatics<D>::ChangeTimeZoneByDisplayName(param::hstring const& timeZoneDisplayName) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::ITimeZoneSettingsStatics)->ChangeTimeZoneByDisplayName(*(void**)(&timeZoneDisplayName)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::AutoUpdateTimeZoneStatus>) consume_Windows_System_ITimeZoneSettingsStatics2<D>::AutoUpdateTimeZoneAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const
+ template <typename D> auto consume_Windows_System_ITimeZoneSettingsStatics2<D>::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<winrt::Windows::System::AutoUpdateTimeZoneStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_IUser<D>::NonRoamableId() const
+ template <typename D> auto consume_Windows_System_IUser<D>::NonRoamableId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUser)->get_NonRoamableId(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::UserAuthenticationStatus) consume_Windows_System_IUser<D>::AuthenticationStatus() const
+ template <typename D> auto consume_Windows_System_IUser<D>::AuthenticationStatus() const
{
winrt::Windows::System::UserAuthenticationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUser)->get_AuthenticationStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::UserType) consume_Windows_System_IUser<D>::Type() const
+ template <typename D> auto consume_Windows_System_IUser<D>::Type() const
{
winrt::Windows::System::UserType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUser)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::IInspectable>) consume_Windows_System_IUser<D>::GetPropertyAsync(param::hstring const& value) const
+ template <typename D> auto consume_Windows_System_IUser<D>::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<winrt::Windows::Foundation::IInspectable>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IPropertySet>) consume_Windows_System_IUser<D>::GetPropertiesAsync(param::async_vector_view<hstring> const& values) const
+ template <typename D> auto consume_Windows_System_IUser<D>::GetPropertiesAsync(param::async_vector_view<hstring> const& values) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUser)->GetPropertiesAsync(*(void**)(&values), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IPropertySet>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamReference>) consume_Windows_System_IUser<D>::GetPictureAsync(winrt::Windows::System::UserPictureSize const& desiredSize) const
+ template <typename D> auto consume_Windows_System_IUser<D>::GetPictureAsync(winrt::Windows::System::UserPictureSize const& desiredSize) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUser)->GetPictureAsync(static_cast<int32_t>(desiredSize), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamReference>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IUserAuthenticationStatusChangeDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_System_IUserAuthenticationStatusChangeDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserAuthenticationStatusChangeDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::UserAuthenticationStatusChangeDeferral) consume_Windows_System_IUserAuthenticationStatusChangingEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_System_IUserAuthenticationStatusChangingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserAuthenticationStatusChangingEventArgs<D>::User() const
+ template <typename D> auto consume_Windows_System_IUserAuthenticationStatusChangingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::UserAuthenticationStatus) consume_Windows_System_IUserAuthenticationStatusChangingEventArgs<D>::NewStatus() const
+ template <typename D> auto consume_Windows_System_IUserAuthenticationStatusChangingEventArgs<D>::NewStatus() const
{
winrt::Windows::System::UserAuthenticationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserAuthenticationStatusChangingEventArgs)->get_NewStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::UserAuthenticationStatus) consume_Windows_System_IUserAuthenticationStatusChangingEventArgs<D>::CurrentStatus() const
+ template <typename D> auto consume_Windows_System_IUserAuthenticationStatusChangingEventArgs<D>::CurrentStatus() const
{
winrt::Windows::System::UserAuthenticationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserAuthenticationStatusChangingEventArgs)->get_CurrentStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserChangedEventArgs<D>::User() const
+ template <typename D> auto consume_Windows_System_IUserChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::UserWatcherUpdateKind>) consume_Windows_System_IUserChangedEventArgs2<D>::ChangedPropertyKinds() const
+ template <typename D> auto consume_Windows_System_IUserChangedEventArgs2<D>::ChangedPropertyKinds() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserChangedEventArgs2)->get_ChangedPropertyKinds(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::UserWatcherUpdateKind>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_System_IUserDeviceAssociationChangedEventArgs<D>::DeviceId() const
+ template <typename D> auto consume_Windows_System_IUserDeviceAssociationChangedEventArgs<D>::DeviceId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserDeviceAssociationChangedEventArgs)->get_DeviceId(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserDeviceAssociationChangedEventArgs<D>::NewUser() const
+ template <typename D> auto consume_Windows_System_IUserDeviceAssociationChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserDeviceAssociationChangedEventArgs<D>::OldUser() const
+ template <typename D> auto consume_Windows_System_IUserDeviceAssociationChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserDeviceAssociationStatics<D>::FindUserFromDeviceId(param::hstring const& deviceId) const
+ template <typename D> auto consume_Windows_System_IUserDeviceAssociationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IUserDeviceAssociationStatics<D>::UserDeviceAssociationChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::System::UserDeviceAssociationChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IUserDeviceAssociationStatics<D>::UserDeviceAssociationChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::System::UserDeviceAssociationChangedEventArgs> 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 D> typename consume_Windows_System_IUserDeviceAssociationStatics<D>::UserDeviceAssociationChanged_revoker consume_Windows_System_IUserDeviceAssociationStatics<D>::UserDeviceAssociationChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::System::UserDeviceAssociationChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IUserDeviceAssociationStatics<D>::UserDeviceAssociationChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::System::UserDeviceAssociationChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, UserDeviceAssociationChanged_revoker>(this, UserDeviceAssociationChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IUserDeviceAssociationStatics<D>::UserDeviceAssociationChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IUserDeviceAssociationStatics<D>::UserDeviceAssociationChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IUserDeviceAssociationStatics)->remove_UserDeviceAssociationChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_IUserPicker<D>::AllowGuestAccounts() const
+ template <typename D> auto consume_Windows_System_IUserPicker<D>::AllowGuestAccounts() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserPicker)->get_AllowGuestAccounts(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IUserPicker<D>::AllowGuestAccounts(bool value) const
+ template <typename D> auto consume_Windows_System_IUserPicker<D>::AllowGuestAccounts(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserPicker)->put_AllowGuestAccounts(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserPicker<D>::SuggestedSelectedUser() const
+ template <typename D> auto consume_Windows_System_IUserPicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IUserPicker<D>::SuggestedSelectedUser(winrt::Windows::System::User const& value) const
+ template <typename D> auto consume_Windows_System_IUserPicker<D>::SuggestedSelectedUser(winrt::Windows::System::User const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserPicker)->put_SuggestedSelectedUser(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::User>) consume_Windows_System_IUserPicker<D>::PickSingleUserAsync() const
+ template <typename D> auto consume_Windows_System_IUserPicker<D>::PickSingleUserAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserPicker)->PickSingleUserAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::User>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_System_IUserPickerStatics<D>::IsSupported() const
+ template <typename D> auto consume_Windows_System_IUserPickerStatics<D>::IsSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserPickerStatics)->IsSupported(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::UserWatcher) consume_Windows_System_IUserStatics<D>::CreateWatcher() const
+ template <typename D> auto consume_Windows_System_IUserStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::User>>) consume_Windows_System_IUserStatics<D>::FindAllAsync() const
+ template <typename D> auto consume_Windows_System_IUserStatics<D>::FindAllAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserStatics)->FindAllAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::User>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::User>>) consume_Windows_System_IUserStatics<D>::FindAllAsync(winrt::Windows::System::UserType const& type) const
+ template <typename D> auto consume_Windows_System_IUserStatics<D>::FindAllAsync(winrt::Windows::System::UserType const& type) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserStatics)->FindAllAsyncByType(static_cast<int32_t>(type), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::User>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::User>>) consume_Windows_System_IUserStatics<D>::FindAllAsync(winrt::Windows::System::UserType const& type, winrt::Windows::System::UserAuthenticationStatus const& status) const
+ template <typename D> auto consume_Windows_System_IUserStatics<D>::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<int32_t>(type), static_cast<int32_t>(status), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::User>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserStatics<D>::GetFromId(param::hstring const& nonRoamableId) const
+ template <typename D> auto consume_Windows_System_IUserStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_System_IUserStatics2<D>::GetDefault() const
+ template <typename D> auto consume_Windows_System_IUserStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::UserWatcherStatus) consume_Windows_System_IUserWatcher<D>::Status() const
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::Status() const
{
winrt::Windows::System::UserWatcherStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher<D>::Start() const
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher<D>::Stop() const
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IUserWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> 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 D> typename consume_Windows_System_IUserWatcher<D>::Added_revoker consume_Windows_System_IUserWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Added_revoker>(this, Added(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher<D>::Added(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::Added(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->remove_Added(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IUserWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> 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 D> typename consume_Windows_System_IUserWatcher<D>::Removed_revoker consume_Windows_System_IUserWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Removed_revoker>(this, Removed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher<D>::Removed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::Removed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->remove_Removed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IUserWatcher<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> 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 D> typename consume_Windows_System_IUserWatcher<D>::Updated_revoker consume_Windows_System_IUserWatcher<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Updated_revoker>(this, Updated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher<D>::Updated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::Updated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->remove_Updated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IUserWatcher<D>::AuthenticationStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::AuthenticationStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> 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 D> typename consume_Windows_System_IUserWatcher<D>::AuthenticationStatusChanged_revoker consume_Windows_System_IUserWatcher<D>::AuthenticationStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::AuthenticationStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AuthenticationStatusChanged_revoker>(this, AuthenticationStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher<D>::AuthenticationStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::AuthenticationStatusChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->remove_AuthenticationStatusChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IUserWatcher<D>::AuthenticationStatusChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserAuthenticationStatusChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::AuthenticationStatusChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserAuthenticationStatusChangingEventArgs> 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 D> typename consume_Windows_System_IUserWatcher<D>::AuthenticationStatusChanging_revoker consume_Windows_System_IUserWatcher<D>::AuthenticationStatusChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserAuthenticationStatusChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::AuthenticationStatusChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserAuthenticationStatusChangingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AuthenticationStatusChanging_revoker>(this, AuthenticationStatusChanging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher<D>::AuthenticationStatusChanging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::AuthenticationStatusChanging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->remove_AuthenticationStatusChanging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IUserWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_IUserWatcher<D>::EnumerationCompleted_revoker consume_Windows_System_IUserWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EnumerationCompleted_revoker>(this, EnumerationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::EnumerationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::System::IUserWatcher)->remove_EnumerationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_System_IUserWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_System_IUserWatcher<D>::Stopped_revoker consume_Windows_System_IUserWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Stopped_revoker>(this, Stopped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_System_IUserWatcher<D>::Stopped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_System_IUserWatcher<D>::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<MemoryManager, IMemoryManagerStatics>([&](IMemoryManagerStatics const& f) { return f.AppMemoryUsageIncreased(handler); });
}
- inline MemoryManager::AppMemoryUsageIncreased_revoker MemoryManager::AppMemoryUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto MemoryManager::AppMemoryUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<MemoryManager, winrt::Windows::System::IMemoryManagerStatics>();
- 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<MemoryManager, IMemoryManagerStatics>([&](IMemoryManagerStatics const& f) { return f.AppMemoryUsageDecreased(handler); });
}
- inline MemoryManager::AppMemoryUsageDecreased_revoker MemoryManager::AppMemoryUsageDecreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto MemoryManager::AppMemoryUsageDecreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<MemoryManager, winrt::Windows::System::IMemoryManagerStatics>();
- 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<MemoryManager, IMemoryManagerStatics>([&](IMemoryManagerStatics const& f) { return f.AppMemoryUsageLimitChanging(handler); });
}
- inline MemoryManager::AppMemoryUsageLimitChanging_revoker MemoryManager::AppMemoryUsageLimitChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::System::AppMemoryUsageLimitChangingEventArgs> const& handler)
+ inline auto MemoryManager::AppMemoryUsageLimitChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::System::AppMemoryUsageLimitChangingEventArgs> const& handler)
{
auto f = get_activation_factory<MemoryManager, winrt::Windows::System::IMemoryManagerStatics>();
- 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<UserDeviceAssociation, IUserDeviceAssociationStatics>([&](IUserDeviceAssociationStatics const& f) { return f.UserDeviceAssociationChanged(handler); });
}
- inline UserDeviceAssociation::UserDeviceAssociationChanged_revoker UserDeviceAssociation::UserDeviceAssociationChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::System::UserDeviceAssociationChangedEventArgs> const& handler)
+ inline auto UserDeviceAssociation::UserDeviceAssociationChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::System::UserDeviceAssociationChangedEventArgs> const& handler)
{
auto f = get_activation_factory<UserDeviceAssociation, winrt::Windows::System::IUserDeviceAssociationStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Accessibility.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Accessibility.h
index b6d784bffc7..01fb1499660 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Accessibility.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Accessibility_IScreenReaderPositionChangedEventArgs<D>::ScreenPositionInRawPixels() const
+ template <typename D> auto consume_Windows_UI_Accessibility_IScreenReaderPositionChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Accessibility_IScreenReaderPositionChangedEventArgs<D>::IsReadingText() const
+ template <typename D> auto consume_Windows_UI_Accessibility_IScreenReaderPositionChangedEventArgs<D>::IsReadingText() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Accessibility::IScreenReaderPositionChangedEventArgs)->get_IsReadingText(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Accessibility::ScreenReaderPositionChangedEventArgs) consume_Windows_UI_Accessibility_IScreenReaderService<D>::CurrentScreenReaderPosition() const
+ template <typename D> auto consume_Windows_UI_Accessibility_IScreenReaderService<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Accessibility_IScreenReaderService<D>::ScreenReaderPositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Accessibility::ScreenReaderService, winrt::Windows::UI::Accessibility::ScreenReaderPositionChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Accessibility_IScreenReaderService<D>::ScreenReaderPositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Accessibility::ScreenReaderService, winrt::Windows::UI::Accessibility::ScreenReaderPositionChangedEventArgs> 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 D> typename consume_Windows_UI_Accessibility_IScreenReaderService<D>::ScreenReaderPositionChanged_revoker consume_Windows_UI_Accessibility_IScreenReaderService<D>::ScreenReaderPositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Accessibility::ScreenReaderService, winrt::Windows::UI::Accessibility::ScreenReaderPositionChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Accessibility_IScreenReaderService<D>::ScreenReaderPositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Accessibility::ScreenReaderService, winrt::Windows::UI::Accessibility::ScreenReaderPositionChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ScreenReaderPositionChanged_revoker>(this, ScreenReaderPositionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Accessibility_IScreenReaderService<D>::ScreenReaderPositionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Accessibility_IScreenReaderService<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.ApplicationSettings.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.ApplicationSettings.h
index 20664ce7961..2499533b89b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.ApplicationSettings.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPane<D>::AccountCommandsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ApplicationSettings::AccountsSettingsPane, winrt::Windows::UI::ApplicationSettings::AccountsSettingsPaneCommandsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPane<D>::AccountCommandsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ApplicationSettings::AccountsSettingsPane, winrt::Windows::UI::ApplicationSettings::AccountsSettingsPaneCommandsRequestedEventArgs> 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 D> typename consume_Windows_UI_ApplicationSettings_IAccountsSettingsPane<D>::AccountCommandsRequested_revoker consume_Windows_UI_ApplicationSettings_IAccountsSettingsPane<D>::AccountCommandsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ApplicationSettings::AccountsSettingsPane, winrt::Windows::UI::ApplicationSettings::AccountsSettingsPaneCommandsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPane<D>::AccountCommandsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ApplicationSettings::AccountsSettingsPane, winrt::Windows::UI::ApplicationSettings::AccountsSettingsPaneCommandsRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AccountCommandsRequested_revoker>(this, AccountCommandsRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPane<D>::AccountCommandsRequested(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPane<D>::AccountCommandsRequested(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPane)->remove_AccountCommandsRequested(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::ApplicationSettings::WebAccountProviderCommand>) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs<D>::WebAccountProviderCommands() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs<D>::WebAccountProviderCommands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneCommandsRequestedEventArgs)->get_WebAccountProviderCommands(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::ApplicationSettings::WebAccountProviderCommand>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::ApplicationSettings::WebAccountCommand>) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs<D>::WebAccountCommands() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs<D>::WebAccountCommands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneCommandsRequestedEventArgs)->get_WebAccountCommands(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::ApplicationSettings::WebAccountCommand>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::ApplicationSettings::CredentialCommand>) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs<D>::CredentialCommands() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs<D>::CredentialCommands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneCommandsRequestedEventArgs)->get_CredentialCommands(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::ApplicationSettings::CredentialCommand>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::ApplicationSettings::SettingsCommand>) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs<D>::Commands() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs<D>::Commands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneCommandsRequestedEventArgs)->get_Commands(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::ApplicationSettings::SettingsCommand>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs<D>::HeaderText() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs<D>::HeaderText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs<D>::HeaderText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneCommandsRequestedEventArgs)->put_HeaderText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::AccountsSettingsPaneEventDeferral) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs2<D>::User() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneEventDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneEventDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneEventDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::AccountsSettingsPane) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics<D>::GetForCurrentView() const
{
void* current{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneStatics)->GetForCurrentView(&current));
return winrt::Windows::UI::ApplicationSettings::AccountsSettingsPane{ current, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics<D>::Show() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics<D>::Show() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneStatics)->Show());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics2<D>::ShowManageAccountsAsync() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics2<D>::ShowAddAccountAsync() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics3<D>::ShowManageAccountsForUserAsync(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics3<D>::ShowAddAccountForUserAsync(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_UI_ApplicationSettings_ICredentialCommand<D>::PasswordCredential() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_ICredentialCommand<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::CredentialCommandCredentialDeletedHandler) consume_Windows_UI_ApplicationSettings_ICredentialCommand<D>::CredentialDeleted() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_ICredentialCommand<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::CredentialCommand) consume_Windows_UI_ApplicationSettings_ICredentialCommandFactory<D>::CreateCredentialCommand(winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_ICredentialCommandFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::CredentialCommand) consume_Windows_UI_ApplicationSettings_ICredentialCommandFactory<D>::CreateCredentialCommandWithHandler(winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential, winrt::Windows::UI::ApplicationSettings::CredentialCommandCredentialDeletedHandler const& deleted) const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_ICredentialCommandFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SettingsCommand) consume_Windows_UI_ApplicationSettings_ISettingsCommandFactory<D>::CreateSettingsCommand(winrt::Windows::Foundation::IInspectable const& settingsCommandId, param::hstring const& label, winrt::Windows::UI::Popups::UICommandInvokedHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_ISettingsCommandFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SettingsCommand) consume_Windows_UI_ApplicationSettings_ISettingsCommandStatics<D>::AccountsCommand() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_ISettingsCommandStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ApplicationSettings_ISettingsPane<D>::CommandsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ApplicationSettings::SettingsPane, winrt::Windows::UI::ApplicationSettings::SettingsPaneCommandsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_ISettingsPane<D>::CommandsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ApplicationSettings::SettingsPane, winrt::Windows::UI::ApplicationSettings::SettingsPaneCommandsRequestedEventArgs> 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 D> typename consume_Windows_UI_ApplicationSettings_ISettingsPane<D>::CommandsRequested_revoker consume_Windows_UI_ApplicationSettings_ISettingsPane<D>::CommandsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ApplicationSettings::SettingsPane, winrt::Windows::UI::ApplicationSettings::SettingsPaneCommandsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_ISettingsPane<D>::CommandsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ApplicationSettings::SettingsPane, winrt::Windows::UI::ApplicationSettings::SettingsPaneCommandsRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CommandsRequested_revoker>(this, CommandsRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ApplicationSettings_ISettingsPane<D>::CommandsRequested(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_ISettingsPane<D>::CommandsRequested(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ISettingsPane)->remove_CommandsRequested(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::ApplicationSettings::SettingsCommand>) consume_Windows_UI_ApplicationSettings_ISettingsPaneCommandsRequest<D>::ApplicationCommands() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_ISettingsPaneCommandsRequest<D>::ApplicationCommands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ISettingsPaneCommandsRequest)->get_ApplicationCommands(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::ApplicationSettings::SettingsCommand>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SettingsPaneCommandsRequest) consume_Windows_UI_ApplicationSettings_ISettingsPaneCommandsRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_ISettingsPaneCommandsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SettingsPane) consume_Windows_UI_ApplicationSettings_ISettingsPaneStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_ISettingsPaneStatics<D>::GetForCurrentView() const
{
void* current{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ISettingsPaneStatics)->GetForCurrentView(&current));
return winrt::Windows::UI::ApplicationSettings::SettingsPane{ current, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ApplicationSettings_ISettingsPaneStatics<D>::Show() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_ISettingsPaneStatics<D>::Show() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ISettingsPaneStatics)->Show());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SettingsEdgeLocation) consume_Windows_UI_ApplicationSettings_ISettingsPaneStatics<D>::Edge() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_ISettingsPaneStatics<D>::Edge() const
{
winrt::Windows::UI::ApplicationSettings::SettingsEdgeLocation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::ISettingsPaneStatics)->get_Edge(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) consume_Windows_UI_ApplicationSettings_IWebAccountCommand<D>::WebAccount() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IWebAccountCommand<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::WebAccountCommandInvokedHandler) consume_Windows_UI_ApplicationSettings_IWebAccountCommand<D>::Invoked() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IWebAccountCommand<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SupportedWebAccountActions) consume_Windows_UI_ApplicationSettings_IWebAccountCommand<D>::Actions() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IWebAccountCommand<D>::Actions() const
{
winrt::Windows::UI::ApplicationSettings::SupportedWebAccountActions value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IWebAccountCommand)->get_Actions(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::WebAccountCommand) consume_Windows_UI_ApplicationSettings_IWebAccountCommandFactory<D>::CreateWebAccountCommand(winrt::Windows::Security::Credentials::WebAccount const& webAccount, winrt::Windows::UI::ApplicationSettings::WebAccountCommandInvokedHandler const& invoked, winrt::Windows::UI::ApplicationSettings::SupportedWebAccountActions const& actions) const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IWebAccountCommandFactory<D>::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<uint32_t>(actions), &instance));
return winrt::Windows::UI::ApplicationSettings::WebAccountCommand{ instance, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::WebAccountAction) consume_Windows_UI_ApplicationSettings_IWebAccountInvokedArgs<D>::Action() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IWebAccountInvokedArgs<D>::Action() const
{
winrt::Windows::UI::ApplicationSettings::WebAccountAction action{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ApplicationSettings::IWebAccountInvokedArgs)->get_Action(reinterpret_cast<int32_t*>(&action)));
return action;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccountProvider) consume_Windows_UI_ApplicationSettings_IWebAccountProviderCommand<D>::WebAccountProvider() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IWebAccountProviderCommand<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::WebAccountProviderCommandInvokedHandler) consume_Windows_UI_ApplicationSettings_IWebAccountProviderCommand<D>::Invoked() const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IWebAccountProviderCommand<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::WebAccountProviderCommand) consume_Windows_UI_ApplicationSettings_IWebAccountProviderCommandFactory<D>::CreateWebAccountProviderCommand(winrt::Windows::Security::Credentials::WebAccountProvider const& webAccountProvider, winrt::Windows::UI::ApplicationSettings::WebAccountProviderCommandInvokedHandler const& invoked) const
+ template <typename D> auto consume_Windows_UI_ApplicationSettings_IWebAccountProviderCommandFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Core.h
index 999492ec041..de02a7f9838 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Compositor) consume_Windows_UI_Composition_Core_ICompositorController<D>::Compositor() const
+ template <typename D> auto consume_Windows_UI_Composition_Core_ICompositorController<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Core_ICompositorController<D>::Commit() const
+ template <typename D> auto consume_Windows_UI_Composition_Core_ICompositorController<D>::Commit() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Core::ICompositorController)->Commit());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Composition_Core_ICompositorController<D>::EnsurePreviousCommitCompletedAsync() const
+ template <typename D> auto consume_Windows_UI_Composition_Core_ICompositorController<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Composition_Core_ICompositorController<D>::CommitNeeded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Composition::Core::CompositorController, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Composition_Core_ICompositorController<D>::CommitNeeded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Composition::Core::CompositorController, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Composition_Core_ICompositorController<D>::CommitNeeded_revoker consume_Windows_UI_Composition_Core_ICompositorController<D>::CommitNeeded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Composition::Core::CompositorController, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Composition_Core_ICompositorController<D>::CommitNeeded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Composition::Core::CompositorController, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, CommitNeeded_revoker>(this, CommitNeeded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Core_ICompositorController<D>::CommitNeeded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Composition_Core_ICompositorController<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Desktop.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Desktop.h
index 2d855fa6ed1..85ab3ca23a5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Desktop.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Desktop_IDesktopWindowTarget<D>::IsTopmost() const
+ template <typename D> auto consume_Windows_UI_Composition_Desktop_IDesktopWindowTarget<D>::IsTopmost() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Desktop::IDesktopWindowTarget)->get_IsTopmost(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Diagnostics.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Diagnostics.h
index c69585fe76e..dbbcbc946d7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Diagnostics.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Diagnostics_ICompositionDebugHeatMaps<D>::Hide(winrt::Windows::UI::Composition::Visual const& subtree) const
+ template <typename D> auto consume_Windows_UI_Composition_Diagnostics_ICompositionDebugHeatMaps<D>::Hide(winrt::Windows::UI::Composition::Visual const& subtree) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Diagnostics::ICompositionDebugHeatMaps)->Hide(*(void**)(&subtree)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Diagnostics_ICompositionDebugHeatMaps<D>::ShowMemoryUsage(winrt::Windows::UI::Composition::Visual const& subtree) const
+ template <typename D> auto consume_Windows_UI_Composition_Diagnostics_ICompositionDebugHeatMaps<D>::ShowMemoryUsage(winrt::Windows::UI::Composition::Visual const& subtree) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Diagnostics::ICompositionDebugHeatMaps)->ShowMemoryUsage(*(void**)(&subtree)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Diagnostics_ICompositionDebugHeatMaps<D>::ShowOverdraw(winrt::Windows::UI::Composition::Visual const& subtree, winrt::Windows::UI::Composition::Diagnostics::CompositionDebugOverdrawContentKinds const& contentKinds) const
+ template <typename D> auto consume_Windows_UI_Composition_Diagnostics_ICompositionDebugHeatMaps<D>::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<uint32_t>(contentKinds)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Diagnostics_ICompositionDebugHeatMaps<D>::ShowRedraw(winrt::Windows::UI::Composition::Visual const& subtree) const
+ template <typename D> auto consume_Windows_UI_Composition_Diagnostics_ICompositionDebugHeatMaps<D>::ShowRedraw(winrt::Windows::UI::Composition::Visual const& subtree) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Diagnostics::ICompositionDebugHeatMaps)->ShowRedraw(*(void**)(&subtree)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Diagnostics::CompositionDebugHeatMaps) consume_Windows_UI_Composition_Diagnostics_ICompositionDebugSettings<D>::HeatMaps() const
+ template <typename D> auto consume_Windows_UI_Composition_Diagnostics_ICompositionDebugSettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Diagnostics::CompositionDebugSettings) consume_Windows_UI_Composition_Diagnostics_ICompositionDebugSettingsStatics<D>::TryGetSettings(winrt::Windows::UI::Composition::Compositor const& compositor) const
+ template <typename D> auto consume_Windows_UI_Composition_Diagnostics_ICompositionDebugSettingsStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Effects.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Effects.h
index a355401b748..1538ad58e99 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Effects.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::AmbientAmount() const
+ template <typename D> auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::AmbientAmount() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->get_AmbientAmount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::AmbientAmount(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::AmbientAmount(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->put_AmbientAmount(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::DiffuseAmount() const
+ template <typename D> auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::DiffuseAmount() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->get_DiffuseAmount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::DiffuseAmount(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::DiffuseAmount(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->put_DiffuseAmount(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Effects::IGraphicsEffectSource) consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::NormalMapSource() const
+ template <typename D> auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::NormalMapSource(winrt::Windows::Graphics::Effects::IGraphicsEffectSource const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::SpecularAmount() const
+ template <typename D> auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::SpecularAmount() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->get_SpecularAmount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::SpecularAmount(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::SpecularAmount(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->put_SpecularAmount(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::SpecularShine() const
+ template <typename D> auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::SpecularShine() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->get_SpecularShine(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::SpecularShine(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect<D>::SpecularShine(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect)->put_SpecularShine(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Effects::SceneLightingEffectReflectanceModel) consume_Windows_UI_Composition_Effects_ISceneLightingEffect2<D>::ReflectanceModel() const
+ template <typename D> auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect2<D>::ReflectanceModel() const
{
winrt::Windows::UI::Composition::Effects::SceneLightingEffectReflectanceModel value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Effects::ISceneLightingEffect2)->get_ReflectanceModel(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Effects_ISceneLightingEffect2<D>::ReflectanceModel(winrt::Windows::UI::Composition::Effects::SceneLightingEffectReflectanceModel const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Effects_ISceneLightingEffect2<D>::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<int32_t>(value)));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Interactions.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Interactions.h
index 583a1db2d3d..0a76d7363fe 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Interactions.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_Interactions_ICompositionConditionalValue<D>::Condition() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_ICompositionConditionalValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_ICompositionConditionalValue<D>::Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_ICompositionConditionalValue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_Interactions_ICompositionConditionalValue<D>::Value() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_ICompositionConditionalValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_ICompositionConditionalValue<D>::Value(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_ICompositionConditionalValue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue) consume_Windows_UI_Composition_Interactions_ICompositionConditionalValueStatics<D>::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_ICompositionConditionalValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_ICompositionInteractionSourceCollection<D>::Count() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_ICompositionInteractionSourceCollection<D>::Count() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::ICompositionInteractionSourceCollection)->get_Count(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_ICompositionInteractionSourceCollection<D>::Add(winrt::Windows::UI::Composition::Interactions::ICompositionInteractionSource const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_ICompositionInteractionSourceCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_ICompositionInteractionSourceCollection<D>::Remove(winrt::Windows::UI::Composition::Interactions::ICompositionInteractionSource const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_ICompositionInteractionSourceCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_ICompositionInteractionSourceCollection<D>::RemoveAll() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_ICompositionInteractionSourceCollection<D>::RemoveAll() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::ICompositionInteractionSourceCollection)->RemoveAll());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode) consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration<D>::PositionXSourceMode() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration<D>::PositionXSourceMode() const
{
winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionSourceConfiguration)->get_PositionXSourceMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration<D>::PositionXSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode) consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration<D>::PositionYSourceMode() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration<D>::PositionYSourceMode() const
{
winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionSourceConfiguration)->get_PositionYSourceMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration<D>::PositionYSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode) consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration<D>::ScaleSourceMode() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration<D>::ScaleSourceMode() const
{
winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionSourceConfiguration)->get_ScaleSourceMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration<D>::ScaleSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceRedirectionMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionSourceConfiguration<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::CompositionInteractionSourceCollection) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::InteractionSources() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::IsPositionRoundingSuggested() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::IsPositionRoundingSuggested() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_IsPositionRoundingSuggested(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::MaxPosition() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::MaxPosition(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::MaxScale() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::MaxScale() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_MaxScale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::MaxScale(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::MaxScale(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->put_MaxScale(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::MinPosition() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::MinPosition(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::MinScale() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::MinScale() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_MinScale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::MinScale(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::MinScale(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->put_MinScale(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::NaturalRestingPosition() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::NaturalRestingScale() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::NaturalRestingScale() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_NaturalRestingScale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerOwner) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::Owner() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::PositionInertiaDecayRate() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::PositionInertiaDecayRate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_PositionInertiaDecayRate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::PositionInertiaDecayRate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3> const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::PositionInertiaDecayRate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->put_PositionInertiaDecayRate(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::PositionVelocityInPixelsPerSecond() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::Scale() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::Scale() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_Scale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::ScaleInertiaDecayRate() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::ScaleInertiaDecayRate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_ScaleInertiaDecayRate(&value));
return winrt::Windows::Foundation::IReference<float>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::ScaleInertiaDecayRate(winrt::Windows::Foundation::IReference<float> const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::ScaleInertiaDecayRate(winrt::Windows::Foundation::IReference<float> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->put_ScaleInertiaDecayRate(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::ScaleVelocityInPercentPerSecond() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::ScaleVelocityInPercentPerSecond() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->get_ScaleVelocityInPercentPerSecond(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::AdjustPositionXIfGreaterThanThreshold(float adjustment, float positionThreshold) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::AdjustPositionXIfGreaterThanThreshold(float adjustment, float positionThreshold) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->AdjustPositionXIfGreaterThanThreshold(adjustment, positionThreshold));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::AdjustPositionYIfGreaterThanThreshold(float adjustment, float positionThreshold) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::AdjustPositionYIfGreaterThanThreshold(float adjustment, float positionThreshold) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->AdjustPositionYIfGreaterThanThreshold(adjustment, positionThreshold));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::ConfigurePositionXInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> const& modifiers) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::ConfigurePositionXInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> const& modifiers) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->ConfigurePositionXInertiaModifiers(*(void**)(&modifiers)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::ConfigurePositionYInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> const& modifiers) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::ConfigurePositionYInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> const& modifiers) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->ConfigurePositionYInertiaModifiers(*(void**)(&modifiers)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::ConfigureScaleInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> const& modifiers) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::ConfigureScaleInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> const& modifiers) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker)->ConfigureScaleInertiaModifiers(*(void**)(&modifiers)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::TryUpdatePositionBy(winrt::Windows::Foundation::Numerics::float3 const& amount) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::TryUpdatePositionWithAnimation(winrt::Windows::UI::Composition::CompositionAnimation const& animation) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::TryUpdatePositionWithAdditionalVelocity(winrt::Windows::Foundation::Numerics::float3 const& velocityInPixelsPerSecond) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::TryUpdateScale(float value, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::TryUpdateScaleWithAnimation(winrt::Windows::UI::Composition::CompositionAnimation const& animation, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::TryUpdateScaleWithAdditionalVelocity(float velocityInPercentPerSecond, winrt::Windows::Foundation::Numerics::float3 const& centerPoint) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker2<D>::ConfigureCenterPointXInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker2<D>::ConfigureCenterPointXInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker2)->ConfigureCenterPointXInertiaModifiers(*(void**)(&conditionalValues)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker2<D>::ConfigureCenterPointYInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker2<D>::ConfigureCenterPointYInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker2)->ConfigureCenterPointYInertiaModifiers(*(void**)(&conditionalValues)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTracker3<D>::ConfigureVector2PositionInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::InteractionTrackerVector2InertiaModifier> const& modifiers) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker3<D>::ConfigureVector2PositionInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::InteractionTrackerVector2InertiaModifier> const& modifiers) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker3)->ConfigureVector2PositionInertiaModifiers(*(void**)(&modifiers)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker4<D>::TryUpdatePosition(winrt::Windows::Foundation::Numerics::float3 const& value, winrt::Windows::UI::Composition::Interactions::InteractionTrackerClampingOption const& option) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker4<D>::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<int32_t>(option), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker4<D>::TryUpdatePositionBy(winrt::Windows::Foundation::Numerics::float3 const& amount, winrt::Windows::UI::Composition::Interactions::InteractionTrackerClampingOption const& option) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker4<D>::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<int32_t>(option), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IInteractionTracker4<D>::IsInertiaFromImpulse() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker4<D>::IsInertiaFromImpulse() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTracker4)->get_IsInertiaFromImpulse(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTracker5<D>::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 <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTracker5<D>::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<int32_t>(option), static_cast<int32_t>(posUpdateOption), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTrackerCustomAnimationStateEnteredArgs<D>::RequestId() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerCustomAnimationStateEnteredArgs<D>::RequestId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerCustomAnimationStateEnteredArgs)->get_RequestId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IInteractionTrackerCustomAnimationStateEnteredArgs2<D>::IsFromBinding() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerCustomAnimationStateEnteredArgs2<D>::IsFromBinding() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerCustomAnimationStateEnteredArgs2)->get_IsFromBinding(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTrackerIdleStateEnteredArgs<D>::RequestId() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerIdleStateEnteredArgs<D>::RequestId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerIdleStateEnteredArgs)->get_RequestId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IInteractionTrackerIdleStateEnteredArgs2<D>::IsFromBinding() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerIdleStateEnteredArgs2<D>::IsFromBinding() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerIdleStateEnteredArgs2)->get_IsFromBinding(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotion<D>::Condition() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotion<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotion<D>::Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotion<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotion<D>::Motion() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotion<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotion<D>::Motion(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotion<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaMotion) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotionStatics<D>::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaMotionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion<D>::Condition() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion<D>::Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ScalarNaturalMotionAnimation) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion<D>::NaturalMotion() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion<D>::NaturalMotion(winrt::Windows::UI::Composition::ScalarNaturalMotionAnimation const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotion<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaNaturalMotion) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotionStatics<D>::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaNaturalMotionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue<D>::Condition() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue<D>::Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue<D>::RestingValue() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue<D>::RestingValue(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaRestingValue) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValueStatics<D>::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaRestingValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs<D>::ModifiedRestingPosition() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs<D>::ModifiedRestingPosition() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_ModifiedRestingPosition(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs<D>::ModifiedRestingScale() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs<D>::ModifiedRestingScale() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_ModifiedRestingScale(&value));
return winrt::Windows::Foundation::IReference<float>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs<D>::NaturalRestingPosition() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs<D>::NaturalRestingScale() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs<D>::NaturalRestingScale() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_NaturalRestingScale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs<D>::PositionVelocityInPixelsPerSecond() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs<D>::RequestId() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs<D>::RequestId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_RequestId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs<D>::ScaleVelocityInPercentPerSecond() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs<D>::ScaleVelocityInPercentPerSecond() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs)->get_ScaleVelocityInPercentPerSecond(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs2<D>::IsInertiaFromImpulse() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs2<D>::IsInertiaFromImpulse() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs2)->get_IsInertiaFromImpulse(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs3<D>::IsFromBinding() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs3<D>::IsFromBinding() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs3)->get_IsFromBinding(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInteractingStateEnteredArgs<D>::RequestId() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInteractingStateEnteredArgs<D>::RequestId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInteractingStateEnteredArgs)->get_RequestId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IInteractionTrackerInteractingStateEnteredArgs2<D>::IsFromBinding() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerInteractingStateEnteredArgs2<D>::IsFromBinding() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInteractingStateEnteredArgs2)->get_IsFromBinding(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner<D>::CustomAnimationStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerCustomAnimationStateEnteredArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner<D>::IdleStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerIdleStateEnteredArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner<D>::InertiaStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaStateEnteredArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner<D>::InteractingStateEntered(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerInteractingStateEnteredArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner<D>::RequestIgnored(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerRequestIgnoredArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner<D>::ValuesChanged(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& sender, winrt::Windows::UI::Composition::Interactions::InteractionTrackerValuesChangedArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerOwner<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTrackerRequestIgnoredArgs<D>::RequestId() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerRequestIgnoredArgs<D>::RequestId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerRequestIgnoredArgs)->get_RequestId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTracker) consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics<D>::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTracker) consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics<D>::CreateWithOwner(winrt::Windows::UI::Composition::Compositor const& compositor, winrt::Windows::UI::Composition::Interactions::IInteractionTrackerOwner const& owner) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics2<D>::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 <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics2<D>::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<uint32_t>(axisMode)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionBindingAxisModes) consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics2<D>::GetBindingMode(winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker1, winrt::Windows::UI::Composition::Interactions::InteractionTracker const& boundTracker2) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerStatics2<D>::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<uint32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IInteractionTrackerValuesChangedArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerValuesChangedArgs<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_Interactions_IInteractionTrackerValuesChangedArgs<D>::RequestId() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerValuesChangedArgs<D>::RequestId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerValuesChangedArgs)->get_RequestId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IInteractionTrackerValuesChangedArgs<D>::Scale() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerValuesChangedArgs<D>::Scale() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IInteractionTrackerValuesChangedArgs)->get_Scale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion<D>::Condition() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion<D>::Condition(winrt::Windows::UI::Composition::ExpressionAnimation const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Vector2NaturalMotionAnimation) consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion<D>::NaturalMotion() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion<D>::NaturalMotion(winrt::Windows::UI::Composition::Vector2NaturalMotionAnimation const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotion<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionTrackerVector2InertiaNaturalMotion) consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotionStatics<D>::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IInteractionTrackerVector2InertiaNaturalMotionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::IsPositionXRailsEnabled() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::IsPositionXRailsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_IsPositionXRailsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::IsPositionXRailsEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::IsPositionXRailsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->put_IsPositionXRailsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::IsPositionYRailsEnabled() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::IsPositionYRailsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_IsPositionYRailsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::IsPositionYRailsEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::IsPositionYRailsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->put_IsPositionYRailsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::VisualInteractionSourceRedirectionMode) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::ManipulationRedirectionMode() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::ManipulationRedirectionMode() const
{
winrt::Windows::UI::Composition::Interactions::VisualInteractionSourceRedirectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_ManipulationRedirectionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::ManipulationRedirectionMode(winrt::Windows::UI::Composition::Interactions::VisualInteractionSourceRedirectionMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::PositionXChainingMode() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::PositionXChainingMode() const
{
winrt::Windows::UI::Composition::Interactions::InteractionChainingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_PositionXChainingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::PositionXChainingMode(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::PositionXSourceMode() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::PositionXSourceMode() const
{
winrt::Windows::UI::Composition::Interactions::InteractionSourceMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_PositionXSourceMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::PositionXSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::PositionYChainingMode() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::PositionYChainingMode() const
{
winrt::Windows::UI::Composition::Interactions::InteractionChainingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_PositionYChainingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::PositionYChainingMode(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::PositionYSourceMode() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::PositionYSourceMode() const
{
winrt::Windows::UI::Composition::Interactions::InteractionSourceMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_PositionYSourceMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::PositionYSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::ScaleChainingMode() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::ScaleChainingMode() const
{
winrt::Windows::UI::Composition::Interactions::InteractionChainingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_ScaleChainingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::ScaleChainingMode(winrt::Windows::UI::Composition::Interactions::InteractionChainingMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::ScaleSourceMode() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::ScaleSourceMode() const
{
winrt::Windows::UI::Composition::Interactions::InteractionSourceMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->get_ScaleSourceMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::ScaleSourceMode(winrt::Windows::UI::Composition::Interactions::InteractionSourceMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::Source() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::TryRedirectForManipulation(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource<D>::TryRedirectForManipulation(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource)->TryRedirectForManipulation(*(void**)(&pointerPoint)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::DeltaPosition() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::DeltaScale() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::DeltaScale() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->get_DeltaScale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::PositionVelocity() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::Scale() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::Scale() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->get_Scale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::ScaleVelocity() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::ScaleVelocity() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->get_ScaleVelocity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::ConfigureCenterPointXModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::ConfigureCenterPointXModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->ConfigureCenterPointXModifiers(*(void**)(&conditionalValues)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::ConfigureCenterPointYModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::ConfigureCenterPointYModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->ConfigureCenterPointYModifiers(*(void**)(&conditionalValues)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::ConfigureDeltaPositionXModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::ConfigureDeltaPositionXModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->ConfigureDeltaPositionXModifiers(*(void**)(&conditionalValues)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::ConfigureDeltaPositionYModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::ConfigureDeltaPositionYModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->ConfigureDeltaPositionYModifiers(*(void**)(&conditionalValues)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::ConfigureDeltaScaleModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource2<D>::ConfigureDeltaScaleModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2)->ConfigureDeltaScaleModifiers(*(void**)(&conditionalValues)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::InteractionSourceConfiguration) consume_Windows_UI_Composition_Interactions_IVisualInteractionSource3<D>::PointerWheelConfig() const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSource3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::VisualInteractionSource) consume_Windows_UI_Composition_Interactions_IVisualInteractionSourceStatics<D>::Create(winrt::Windows::UI::Composition::Visual const& source) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Interactions::VisualInteractionSource) consume_Windows_UI_Composition_Interactions_IVisualInteractionSourceStatics2<D>::CreateFromIVisualElement(winrt::Windows::UI::Composition::IVisualElement const& source) const
+ template <typename D> auto consume_Windows_UI_Composition_Interactions_IVisualInteractionSourceStatics2<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Scenes.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Scenes.h
index be9452d392d..60258e01a48 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.Scenes.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_ISceneBoundingBox<D>::Center() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneBoundingBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_ISceneBoundingBox<D>::Extents() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneBoundingBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_ISceneBoundingBox<D>::Max() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneBoundingBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_ISceneBoundingBox<D>::Min() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneBoundingBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_ISceneBoundingBox<D>::Size() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneBoundingBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneComponentType) consume_Windows_UI_Composition_Scenes_ISceneComponent<D>::ComponentType() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneComponent<D>::ComponentType() const
{
winrt::Windows::UI::Composition::Scenes::SceneComponentType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneComponent)->get_ComponentType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneBoundingBox) consume_Windows_UI_Composition_Scenes_ISceneMesh<D>::Bounds() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMesh<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPrimitiveTopology) consume_Windows_UI_Composition_Scenes_ISceneMesh<D>::PrimitiveTopology() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMesh<D>::PrimitiveTopology() const
{
winrt::Windows::Graphics::DirectX::DirectXPrimitiveTopology value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMesh)->get_PrimitiveTopology(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMesh<D>::PrimitiveTopology(winrt::Windows::Graphics::DirectX::DirectXPrimitiveTopology const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMesh<D>::PrimitiveTopology(winrt::Windows::Graphics::DirectX::DirectXPrimitiveTopology const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMesh)->put_PrimitiveTopology(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMesh<D>::FillMeshAttribute(winrt::Windows::UI::Composition::Scenes::SceneAttributeSemantic const& semantic, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& format, winrt::Windows::Foundation::MemoryBuffer const& memory) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMesh<D>::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<int32_t>(semantic), static_cast<int32_t>(format), *(void**)(&memory)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterial) consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent<D>::Material() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent<D>::Material(winrt::Windows::UI::Composition::Scenes::SceneMaterial const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMesh) consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent<D>::Mesh() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent<D>::Mesh(winrt::Windows::UI::Composition::Scenes::SceneMesh const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMeshMaterialAttributeMap) consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent<D>::UVMappings() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponent<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMeshRendererComponent) consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponentStatics<D>::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMeshRendererComponentStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMesh) consume_Windows_UI_Composition_Scenes_ISceneMeshStatics<D>::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMeshStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::BaseColorInput() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::BaseColorInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::BaseColorFactor() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::BaseColorFactor(winrt::Windows::Foundation::Numerics::float4 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::MetallicFactor() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::MetallicFactor() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMetallicRoughnessMaterial)->get_MetallicFactor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::MetallicFactor(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::MetallicFactor(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMetallicRoughnessMaterial)->put_MetallicFactor(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::MetallicRoughnessInput() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::MetallicRoughnessInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::RoughnessFactor() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::RoughnessFactor() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMetallicRoughnessMaterial)->get_RoughnessFactor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::RoughnessFactor(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterial<D>::RoughnessFactor(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneMetallicRoughnessMaterial)->put_RoughnessFactor(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMetallicRoughnessMaterial) consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterialStatics<D>::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneMetallicRoughnessMaterialStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::Orientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::RotationAngle() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::RotationAngle() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneModelTransform)->get_RotationAngle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::RotationAngle(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::RotationAngle(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneModelTransform)->put_RotationAngle(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::RotationAngleInDegrees() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::RotationAngleInDegrees() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneModelTransform)->get_RotationAngleInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::RotationAngleInDegrees(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::RotationAngleInDegrees(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneModelTransform)->put_RotationAngleInDegrees(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::RotationAxis() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::RotationAxis(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::Scale() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::Translation() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::Translation(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneModelTransform<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneNodeCollection) consume_Windows_UI_Composition_Scenes_ISceneNode<D>::Children() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneComponentCollection) consume_Windows_UI_Composition_Scenes_ISceneNode<D>::Components() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneNode) consume_Windows_UI_Composition_Scenes_ISceneNode<D>::Parent() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneModelTransform) consume_Windows_UI_Composition_Scenes_ISceneNode<D>::Transform() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneComponent) consume_Windows_UI_Composition_Scenes_ISceneNode<D>::FindFirstComponentOfType(winrt::Windows::UI::Composition::Scenes::SceneComponentType const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneNode<D>::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<int32_t>(value), &result));
return winrt::Windows::UI::Composition::Scenes::SceneComponent{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneNode) consume_Windows_UI_Composition_Scenes_ISceneNodeStatics<D>::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneNodeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::AlphaCutoff() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::AlphaCutoff() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->get_AlphaCutoff(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::AlphaCutoff(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::AlphaCutoff(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->put_AlphaCutoff(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneAlphaMode) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::AlphaMode() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::AlphaMode() const
{
winrt::Windows::UI::Composition::Scenes::SceneAlphaMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->get_AlphaMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::AlphaMode(winrt::Windows::UI::Composition::Scenes::SceneAlphaMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::EmissiveInput() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::EmissiveInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::EmissiveFactor() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::EmissiveFactor(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::IsDoubleSided() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::IsDoubleSided() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->get_IsDoubleSided(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::IsDoubleSided(bool value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::IsDoubleSided(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->put_IsDoubleSided(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::NormalInput() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::NormalInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::NormalScale() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::NormalScale() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->get_NormalScale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::NormalScale(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::NormalScale(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->put_NormalScale(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::OcclusionInput() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::OcclusionInput(winrt::Windows::UI::Composition::Scenes::SceneMaterialInput const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::OcclusionStrength() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::OcclusionStrength() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->get_OcclusionStrength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::OcclusionStrength(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_IScenePbrMaterial<D>::OcclusionStrength(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial)->put_OcclusionStrength(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput<D>::BitmapInterpolationMode() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput<D>::BitmapInterpolationMode() const
{
winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneSurfaceMaterialInput)->get_BitmapInterpolationMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput<D>::BitmapInterpolationMode(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput<D>::BitmapInterpolationMode(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneSurfaceMaterialInput)->put_BitmapInterpolationMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ICompositionSurface) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput<D>::Surface() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput<D>::Surface(winrt::Windows::UI::Composition::ICompositionSurface const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneWrappingMode) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput<D>::WrappingUMode() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput<D>::WrappingUMode() const
{
winrt::Windows::UI::Composition::Scenes::SceneWrappingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneSurfaceMaterialInput)->get_WrappingUMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput<D>::WrappingUMode(winrt::Windows::UI::Composition::Scenes::SceneWrappingMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneWrappingMode) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput<D>::WrappingVMode() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput<D>::WrappingVMode() const
{
winrt::Windows::UI::Composition::Scenes::SceneWrappingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::Scenes::ISceneSurfaceMaterialInput)->get_WrappingVMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput<D>::WrappingVMode(winrt::Windows::UI::Composition::Scenes::SceneWrappingMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInput<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneSurfaceMaterialInput) consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInputStatics<D>::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneSurfaceMaterialInputStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneNode) consume_Windows_UI_Composition_Scenes_ISceneVisual<D>::Root() const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneVisual<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_Scenes_ISceneVisual<D>::Root(winrt::Windows::UI::Composition::Scenes::SceneNode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneVisual<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Scenes::SceneVisual) consume_Windows_UI_Composition_Scenes_ISceneVisualStatics<D>::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const
+ template <typename D> auto consume_Windows_UI_Composition_Scenes_ISceneVisualStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.h
index 54fc933cc34..8d4f4db85f6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Composition.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Composition_IAmbientLight<D>::Color() const
+ template <typename D> auto consume_Windows_UI_Composition_IAmbientLight<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAmbientLight<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IAmbientLight<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IAmbientLight2<D>::Intensity() const
+ template <typename D> auto consume_Windows_UI_Composition_IAmbientLight2<D>::Intensity() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAmbientLight2)->get_Intensity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAmbientLight2<D>::Intensity(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IAmbientLight2<D>::Intensity(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAmbientLight2)->put_Intensity(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IAnimationController<D>::PlaybackRate() const
+ template <typename D> auto consume_Windows_UI_Composition_IAnimationController<D>::PlaybackRate() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationController)->get_PlaybackRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAnimationController<D>::PlaybackRate(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IAnimationController<D>::PlaybackRate(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationController)->put_PlaybackRate(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IAnimationController<D>::Progress() const
+ template <typename D> auto consume_Windows_UI_Composition_IAnimationController<D>::Progress() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationController)->get_Progress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAnimationController<D>::Progress(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IAnimationController<D>::Progress(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationController)->put_Progress(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationControllerProgressBehavior) consume_Windows_UI_Composition_IAnimationController<D>::ProgressBehavior() const
+ template <typename D> auto consume_Windows_UI_Composition_IAnimationController<D>::ProgressBehavior() const
{
winrt::Windows::UI::Composition::AnimationControllerProgressBehavior value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationController)->get_ProgressBehavior(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAnimationController<D>::ProgressBehavior(winrt::Windows::UI::Composition::AnimationControllerProgressBehavior const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IAnimationController<D>::ProgressBehavior(winrt::Windows::UI::Composition::AnimationControllerProgressBehavior const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationController)->put_ProgressBehavior(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAnimationController<D>::Pause() const
+ template <typename D> auto consume_Windows_UI_Composition_IAnimationController<D>::Pause() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationController)->Pause());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAnimationController<D>::Resume() const
+ template <typename D> auto consume_Windows_UI_Composition_IAnimationController<D>::Resume() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationController)->Resume());
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IAnimationControllerStatics<D>::MaxPlaybackRate() const
+ template <typename D> auto consume_Windows_UI_Composition_IAnimationControllerStatics<D>::MaxPlaybackRate() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationControllerStatics)->get_MaxPlaybackRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IAnimationControllerStatics<D>::MinPlaybackRate() const
+ template <typename D> auto consume_Windows_UI_Composition_IAnimationControllerStatics<D>::MinPlaybackRate() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationControllerStatics)->get_MinPlaybackRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAnimationObject<D>::PopulatePropertyInfo(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& propertyInfo) const
+ template <typename D> auto consume_Windows_UI_Composition_IAnimationObject<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationPropertyAccessMode) consume_Windows_UI_Composition_IAnimationPropertyInfo<D>::AccessMode() const
+ template <typename D> auto consume_Windows_UI_Composition_IAnimationPropertyInfo<D>::AccessMode() const
{
winrt::Windows::UI::Composition::AnimationPropertyAccessMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationPropertyInfo)->get_AccessMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IAnimationPropertyInfo<D>::AccessMode(winrt::Windows::UI::Composition::AnimationPropertyAccessMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IAnimationPropertyInfo<D>::AccessMode(winrt::Windows::UI::Composition::AnimationPropertyAccessMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationPropertyInfo)->put_AccessMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionObject) consume_Windows_UI_Composition_IAnimationPropertyInfo2<D>::GetResolvedCompositionObject() const
+ template <typename D> auto consume_Windows_UI_Composition_IAnimationPropertyInfo2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Composition_IAnimationPropertyInfo2<D>::GetResolvedCompositionObjectProperty() const
+ template <typename D> auto consume_Windows_UI_Composition_IAnimationPropertyInfo2<D>::GetResolvedCompositionObjectProperty() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IAnimationPropertyInfo2)->GetResolvedCompositionObjectProperty(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_IBackEasingFunction<D>::Mode() const
+ template <typename D> auto consume_Windows_UI_Composition_IBackEasingFunction<D>::Mode() const
{
winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBackEasingFunction)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBackEasingFunction<D>::Amplitude() const
+ template <typename D> auto consume_Windows_UI_Composition_IBackEasingFunction<D>::Amplitude() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBackEasingFunction)->get_Amplitude(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IBooleanKeyFrameAnimation<D>::InsertKeyFrame(float normalizedProgressKey, bool value) const
+ template <typename D> auto consume_Windows_UI_Composition_IBooleanKeyFrameAnimation<D>::InsertKeyFrame(float normalizedProgressKey, bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBooleanKeyFrameAnimation)->InsertKeyFrame(normalizedProgressKey, value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_IBounceEasingFunction<D>::Mode() const
+ template <typename D> auto consume_Windows_UI_Composition_IBounceEasingFunction<D>::Mode() const
{
winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceEasingFunction)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IBounceEasingFunction<D>::Bounces() const
+ template <typename D> auto consume_Windows_UI_Composition_IBounceEasingFunction<D>::Bounces() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceEasingFunction)->get_Bounces(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBounceEasingFunction<D>::Bounciness() const
+ template <typename D> auto consume_Windows_UI_Composition_IBounceEasingFunction<D>::Bounciness() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceEasingFunction)->get_Bounciness(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation<D>::Acceleration() const
+ template <typename D> auto consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation<D>::Acceleration() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceScalarNaturalMotionAnimation)->get_Acceleration(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation<D>::Acceleration(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation<D>::Acceleration(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceScalarNaturalMotionAnimation)->put_Acceleration(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation<D>::Restitution() const
+ template <typename D> auto consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation<D>::Restitution() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceScalarNaturalMotionAnimation)->get_Restitution(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation<D>::Restitution(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IBounceScalarNaturalMotionAnimation<D>::Restitution(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceScalarNaturalMotionAnimation)->put_Restitution(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBounceVector2NaturalMotionAnimation<D>::Acceleration() const
+ template <typename D> auto consume_Windows_UI_Composition_IBounceVector2NaturalMotionAnimation<D>::Acceleration() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceVector2NaturalMotionAnimation)->get_Acceleration(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IBounceVector2NaturalMotionAnimation<D>::Acceleration(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IBounceVector2NaturalMotionAnimation<D>::Acceleration(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceVector2NaturalMotionAnimation)->put_Acceleration(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBounceVector2NaturalMotionAnimation<D>::Restitution() const
+ template <typename D> auto consume_Windows_UI_Composition_IBounceVector2NaturalMotionAnimation<D>::Restitution() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceVector2NaturalMotionAnimation)->get_Restitution(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IBounceVector2NaturalMotionAnimation<D>::Restitution(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IBounceVector2NaturalMotionAnimation<D>::Restitution(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceVector2NaturalMotionAnimation)->put_Restitution(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation<D>::Acceleration() const
+ template <typename D> auto consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation<D>::Acceleration() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceVector3NaturalMotionAnimation)->get_Acceleration(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation<D>::Acceleration(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation<D>::Acceleration(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceVector3NaturalMotionAnimation)->put_Acceleration(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation<D>::Restitution() const
+ template <typename D> auto consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation<D>::Restitution() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceVector3NaturalMotionAnimation)->get_Restitution(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation<D>::Restitution(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IBounceVector3NaturalMotionAnimation<D>::Restitution(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IBounceVector3NaturalMotionAnimation)->put_Restitution(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_ICircleEasingFunction<D>::Mode() const
+ template <typename D> auto consume_Windows_UI_Composition_ICircleEasingFunction<D>::Mode() const
{
winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICircleEasingFunction)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorSpace) consume_Windows_UI_Composition_IColorKeyFrameAnimation<D>::InterpolationColorSpace() const
+ template <typename D> auto consume_Windows_UI_Composition_IColorKeyFrameAnimation<D>::InterpolationColorSpace() const
{
winrt::Windows::UI::Composition::CompositionColorSpace value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IColorKeyFrameAnimation)->get_InterpolationColorSpace(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IColorKeyFrameAnimation<D>::InterpolationColorSpace(winrt::Windows::UI::Composition::CompositionColorSpace const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IColorKeyFrameAnimation<D>::InterpolationColorSpace(winrt::Windows::UI::Composition::CompositionColorSpace const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IColorKeyFrameAnimation)->put_InterpolationColorSpace(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IColorKeyFrameAnimation<D>::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IColorKeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IColorKeyFrameAnimation<D>::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Color const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const
+ template <typename D> auto consume_Windows_UI_Composition_IColorKeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation<D>::ClearAllParameters() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimation<D>::ClearAllParameters() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation)->ClearAllParameters());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation<D>::ClearParameter(param::hstring const& key) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimation<D>::ClearParameter(param::hstring const& key) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation)->ClearParameter(*(void**)(&key)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation<D>::SetColorParameter(param::hstring const& key, winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation<D>::SetMatrix3x2Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float3x2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation<D>::SetMatrix4x4Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float4x4 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation<D>::SetQuaternionParameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::quaternion const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation<D>::SetReferenceParameter(param::hstring const& key, winrt::Windows::UI::Composition::CompositionObject const& compositionObject) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation<D>::SetScalarParameter(param::hstring const& key, float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimation<D>::SetScalarParameter(param::hstring const& key, float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation)->SetScalarParameter(*(void**)(&key), value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation<D>::SetVector2Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation<D>::SetVector3Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation<D>::SetVector4Parameter(param::hstring const& key, winrt::Windows::Foundation::Numerics::float4 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation2<D>::SetBooleanParameter(param::hstring const& key, bool value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimation2<D>::SetBooleanParameter(param::hstring const& key, bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation2)->SetBooleanParameter(*(void**)(&key), value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Composition_ICompositionAnimation2<D>::Target() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimation2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation2<D>::Target(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimation2<D>::Target(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimation2)->put_Target(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::InitialValueExpressionCollection) consume_Windows_UI_Composition_ICompositionAnimation3<D>::InitialValueExpressions() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimation3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimation4<D>::SetExpressionReferenceParameter(param::hstring const& parameterName, winrt::Windows::UI::Composition::IAnimationObject const& source) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimation4<D>::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**)(&parameterName), *(void**)(&source)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_ICompositionAnimationGroup<D>::Count() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimationGroup<D>::Count() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimationGroup)->get_Count(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimationGroup<D>::Add(winrt::Windows::UI::Composition::CompositionAnimation const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimationGroup<D>::Add(winrt::Windows::UI::Composition::CompositionAnimation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimationGroup)->Add(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimationGroup<D>::Remove(winrt::Windows::UI::Composition::CompositionAnimation const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimationGroup<D>::Remove(winrt::Windows::UI::Composition::CompositionAnimation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimationGroup)->Remove(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionAnimationGroup<D>::RemoveAll() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionAnimationGroup<D>::RemoveAll() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionAnimationGroup)->RemoveAll());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionCapabilities<D>::AreEffectsSupported() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionCapabilities<D>::AreEffectsSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionCapabilities)->AreEffectsSupported(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionCapabilities<D>::AreEffectsFast() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionCapabilities<D>::AreEffectsFast() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionCapabilities)->AreEffectsFast(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Composition_ICompositionCapabilities<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Composition::CompositionCapabilities, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionCapabilities<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Composition::CompositionCapabilities, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Composition_ICompositionCapabilities<D>::Changed_revoker consume_Windows_UI_Composition_ICompositionCapabilities<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Composition::CompositionCapabilities, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionCapabilities<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Composition::CompositionCapabilities, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Changed_revoker>(this, Changed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionCapabilities<D>::Changed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionCapabilities<D>::Changed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionCapabilities)->remove_Changed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionCapabilities) consume_Windows_UI_Composition_ICompositionCapabilitiesStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionCapabilitiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionClip2<D>::AnchorPoint() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionClip2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionClip2<D>::AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionClip2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionClip2<D>::CenterPoint() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionClip2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionClip2<D>::CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionClip2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionClip2<D>::Offset() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionClip2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionClip2<D>::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionClip2<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionClip2<D>::RotationAngle() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionClip2<D>::RotationAngle() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->get_RotationAngle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionClip2<D>::RotationAngle(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionClip2<D>::RotationAngle(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->put_RotationAngle(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionClip2<D>::RotationAngleInDegrees() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionClip2<D>::RotationAngleInDegrees() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->get_RotationAngleInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionClip2<D>::RotationAngleInDegrees(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionClip2<D>::RotationAngleInDegrees(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionClip2)->put_RotationAngleInDegrees(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionClip2<D>::Scale() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionClip2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionClip2<D>::Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionClip2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) consume_Windows_UI_Composition_ICompositionClip2<D>::TransformMatrix() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionClip2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionClip2<D>::TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionClip2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Composition_ICompositionColorBrush<D>::Color() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionColorBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionColorBrush<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionColorBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Composition_ICompositionColorGradientStop<D>::Color() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionColorGradientStop<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionColorGradientStop<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionColorGradientStop<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionColorGradientStop<D>::Offset() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionColorGradientStop<D>::Offset() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionColorGradientStop)->get_Offset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionColorGradientStop<D>::Offset(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionColorGradientStop<D>::Offset(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionColorGradientStop)->put_Offset(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionCommitBatch<D>::IsActive() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionCommitBatch<D>::IsActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionCommitBatch)->get_IsActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionCommitBatch<D>::IsEnded() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionCommitBatch<D>::IsEnded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionCommitBatch)->get_IsEnded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Composition_ICompositionCommitBatch<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Composition::CompositionBatchCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionCommitBatch<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Composition::CompositionBatchCompletedEventArgs> 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 D> typename consume_Windows_UI_Composition_ICompositionCommitBatch<D>::Completed_revoker consume_Windows_UI_Composition_ICompositionCommitBatch<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Composition::CompositionBatchCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionCommitBatch<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Composition::CompositionBatchCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Completed_revoker>(this, Completed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionCommitBatch<D>::Completed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionCommitBatch<D>::Completed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionCommitBatch)->remove_Completed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionShapeCollection) consume_Windows_UI_Composition_ICompositionContainerShape<D>::Shapes() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionContainerShape<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXAlphaMode) consume_Windows_UI_Composition_ICompositionDrawingSurface<D>::AlphaMode() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionDrawingSurface<D>::AlphaMode() const
{
winrt::Windows::Graphics::DirectX::DirectXAlphaMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionDrawingSurface)->get_AlphaMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_UI_Composition_ICompositionDrawingSurface<D>::PixelFormat() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionDrawingSurface<D>::PixelFormat() const
{
winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionDrawingSurface)->get_PixelFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Composition_ICompositionDrawingSurface<D>::Size() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionDrawingSurface<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_UI_Composition_ICompositionDrawingSurface2<D>::SizeInt32() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionDrawingSurface2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionDrawingSurface2<D>::Resize(winrt::Windows::Graphics::SizeInt32 const& sizePixels) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionDrawingSurface2<D>::Resize(winrt::Windows::Graphics::SizeInt32 const& sizePixels) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionDrawingSurface2)->Resize(impl::bind_in(sizePixels)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionDrawingSurface2<D>::Scroll(winrt::Windows::Graphics::PointInt32 const& offset) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionDrawingSurface2<D>::Scroll(winrt::Windows::Graphics::PointInt32 const& offset) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionDrawingSurface2)->Scroll(impl::bind_in(offset)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionDrawingSurface2<D>::Scroll(winrt::Windows::Graphics::PointInt32 const& offset, winrt::Windows::Graphics::RectInt32 const& scrollRect) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionDrawingSurface2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionDrawingSurface2<D>::ScrollWithClip(winrt::Windows::Graphics::PointInt32 const& offset, winrt::Windows::Graphics::RectInt32 const& clipRect) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionDrawingSurface2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionDrawingSurface2<D>::ScrollWithClip(winrt::Windows::Graphics::PointInt32 const& offset, winrt::Windows::Graphics::RectInt32 const& clipRect, winrt::Windows::Graphics::RectInt32 const& scrollRect) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionDrawingSurface2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CubicBezierEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::CreateCubicBezierEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::Foundation::Numerics::float2 const& controlPoint1, winrt::Windows::Foundation::Numerics::float2 const& controlPoint2) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::LinearEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::CreateLinearEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::StepEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::StepEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::CreateStepEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, int32_t stepCount) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BackEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::CreateBackEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float amplitude) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::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<int32_t>(mode), amplitude, &result));
return winrt::Windows::UI::Composition::BackEasingFunction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BounceEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::CreateBounceEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t bounces, float bounciness) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::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<int32_t>(mode), bounces, bounciness, &result));
return winrt::Windows::UI::Composition::BounceEasingFunction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CircleEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::CreateCircleEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::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<int32_t>(mode), &result));
return winrt::Windows::UI::Composition::CircleEasingFunction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ElasticEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::CreateElasticEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, int32_t oscillations, float springiness) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::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<int32_t>(mode), oscillations, springiness, &result));
return winrt::Windows::UI::Composition::ElasticEasingFunction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExponentialEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::CreateExponentialEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float exponent) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::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<int32_t>(mode), exponent, &result));
return winrt::Windows::UI::Composition::ExponentialEasingFunction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::PowerEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::CreatePowerEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode, float power) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::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<int32_t>(mode), power, &result));
return winrt::Windows::UI::Composition::PowerEasingFunction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SineEasingFunction) consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::CreateSineEasingFunction(winrt::Windows::UI::Composition::Compositor const& owner, winrt::Windows::UI::Composition::CompositionEasingFunctionMode const& mode) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEasingFunctionStatics<D>::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<int32_t>(mode), &result));
return winrt::Windows::UI::Composition::SineEasingFunction{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_ICompositionEffectBrush<D>::GetSourceParameter(param::hstring const& name) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEffectBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionEffectBrush<D>::SetSourceParameter(param::hstring const& name, winrt::Windows::UI::Composition::CompositionBrush const& source) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEffectBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectBrush) consume_Windows_UI_Composition_ICompositionEffectFactory<D>::CreateBrush() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEffectFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_UI_Composition_ICompositionEffectFactory<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEffectFactory<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEffectFactory)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectFactoryLoadStatus) consume_Windows_UI_Composition_ICompositionEffectFactory<D>::LoadStatus() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEffectFactory<D>::LoadStatus() const
{
winrt::Windows::UI::Composition::CompositionEffectFactoryLoadStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionEffectFactory)->get_LoadStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Composition_ICompositionEffectSourceParameter<D>::Name() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEffectSourceParameter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectSourceParameter) consume_Windows_UI_Composition_ICompositionEffectSourceParameterFactory<D>::Create(param::hstring const& name) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEffectSourceParameterFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionEllipseGeometry<D>::Center() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEllipseGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionEllipseGeometry<D>::Center(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEllipseGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionEllipseGeometry<D>::Radius() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEllipseGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionEllipseGeometry<D>::Radius(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionEllipseGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGeometry) consume_Windows_UI_Composition_ICompositionGeometricClip<D>::Geometry() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGeometricClip<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGeometricClip<D>::Geometry(winrt::Windows::UI::Composition::CompositionGeometry const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGeometricClip<D>::Geometry(winrt::Windows::UI::Composition::CompositionGeometry const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometricClip)->put_Geometry(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionViewBox) consume_Windows_UI_Composition_ICompositionGeometricClip<D>::ViewBox() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGeometricClip<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGeometricClip<D>::ViewBox(winrt::Windows::UI::Composition::CompositionViewBox const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGeometricClip<D>::ViewBox(winrt::Windows::UI::Composition::CompositionViewBox const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometricClip)->put_ViewBox(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionGeometry<D>::TrimEnd() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGeometry<D>::TrimEnd() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometry)->get_TrimEnd(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGeometry<D>::TrimEnd(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGeometry<D>::TrimEnd(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometry)->put_TrimEnd(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionGeometry<D>::TrimOffset() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGeometry<D>::TrimOffset() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometry)->get_TrimOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGeometry<D>::TrimOffset(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGeometry<D>::TrimOffset(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometry)->put_TrimOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionGeometry<D>::TrimStart() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGeometry<D>::TrimStart() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometry)->get_TrimStart(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGeometry<D>::TrimStart(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGeometry<D>::TrimStart(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGeometry)->put_TrimStart(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::AnchorPoint() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::CenterPoint() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorGradientStopCollection) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::ColorStops() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGradientExtendMode) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::ExtendMode() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::ExtendMode() const
{
winrt::Windows::UI::Composition::CompositionGradientExtendMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->get_ExtendMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::ExtendMode(winrt::Windows::UI::Composition::CompositionGradientExtendMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::ExtendMode(winrt::Windows::UI::Composition::CompositionGradientExtendMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->put_ExtendMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorSpace) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::InterpolationSpace() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::InterpolationSpace() const
{
winrt::Windows::UI::Composition::CompositionColorSpace value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->get_InterpolationSpace(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::InterpolationSpace(winrt::Windows::UI::Composition::CompositionColorSpace const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::InterpolationSpace(winrt::Windows::UI::Composition::CompositionColorSpace const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->put_InterpolationSpace(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::Offset() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::RotationAngle() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::RotationAngle() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->get_RotationAngle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::RotationAngle(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::RotationAngle(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->put_RotationAngle(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::RotationAngleInDegrees() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::RotationAngleInDegrees() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->get_RotationAngleInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::RotationAngleInDegrees(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::RotationAngleInDegrees(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush)->put_RotationAngleInDegrees(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::Scale() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::TransformMatrix() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush<D>::TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionMappingMode) consume_Windows_UI_Composition_ICompositionGradientBrush2<D>::MappingMode() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush2<D>::MappingMode() const
{
winrt::Windows::UI::Composition::CompositionMappingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush2)->get_MappingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGradientBrush2<D>::MappingMode(winrt::Windows::UI::Composition::CompositionMappingMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGradientBrush2<D>::MappingMode(winrt::Windows::UI::Composition::CompositionMappingMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGradientBrush2)->put_MappingMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionDrawingSurface) consume_Windows_UI_Composition_ICompositionGraphicsDevice<D>::CreateDrawingSurface(winrt::Windows::Foundation::Size const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGraphicsDevice<D>::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<int32_t>(pixelFormat), static_cast<int32_t>(alphaMode), &result));
return winrt::Windows::UI::Composition::CompositionDrawingSurface{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Composition_ICompositionGraphicsDevice<D>::RenderingDeviceReplaced(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Composition::CompositionGraphicsDevice, winrt::Windows::UI::Composition::RenderingDeviceReplacedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGraphicsDevice<D>::RenderingDeviceReplaced(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Composition::CompositionGraphicsDevice, winrt::Windows::UI::Composition::RenderingDeviceReplacedEventArgs> 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 D> typename consume_Windows_UI_Composition_ICompositionGraphicsDevice<D>::RenderingDeviceReplaced_revoker consume_Windows_UI_Composition_ICompositionGraphicsDevice<D>::RenderingDeviceReplaced(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Composition::CompositionGraphicsDevice, winrt::Windows::UI::Composition::RenderingDeviceReplacedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGraphicsDevice<D>::RenderingDeviceReplaced(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Composition::CompositionGraphicsDevice, winrt::Windows::UI::Composition::RenderingDeviceReplacedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RenderingDeviceReplaced_revoker>(this, RenderingDeviceReplaced(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGraphicsDevice<D>::RenderingDeviceReplaced(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGraphicsDevice<D>::RenderingDeviceReplaced(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGraphicsDevice)->remove_RenderingDeviceReplaced(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionDrawingSurface) consume_Windows_UI_Composition_ICompositionGraphicsDevice2<D>::CreateDrawingSurface2(winrt::Windows::Graphics::SizeInt32 const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGraphicsDevice2<D>::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<int32_t>(pixelFormat), static_cast<int32_t>(alphaMode), &result));
return winrt::Windows::UI::Composition::CompositionDrawingSurface{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionVirtualDrawingSurface) consume_Windows_UI_Composition_ICompositionGraphicsDevice2<D>::CreateVirtualDrawingSurface(winrt::Windows::Graphics::SizeInt32 const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGraphicsDevice2<D>::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<int32_t>(pixelFormat), static_cast<int32_t>(alphaMode), &result));
return winrt::Windows::UI::Composition::CompositionVirtualDrawingSurface{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionMipmapSurface) consume_Windows_UI_Composition_ICompositionGraphicsDevice3<D>::CreateMipmapSurface(winrt::Windows::Graphics::SizeInt32 const& sizePixels, winrt::Windows::Graphics::DirectX::DirectXPixelFormat const& pixelFormat, winrt::Windows::Graphics::DirectX::DirectXAlphaMode const& alphaMode) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGraphicsDevice3<D>::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<int32_t>(pixelFormat), static_cast<int32_t>(alphaMode), &result));
return winrt::Windows::UI::Composition::CompositionMipmapSurface{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionGraphicsDevice3<D>::Trim() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionGraphicsDevice3<D>::Trim() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionGraphicsDevice3)->Trim());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Composition::ICompositionSurface>) consume_Windows_UI_Composition_ICompositionGraphicsDevice4<D>::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 <typename D> auto consume_Windows_UI_Composition_ICompositionGraphicsDevice4<D>::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<int32_t>(pixelFormat), static_cast<int32_t>(alphaMode), sdrBoost, &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Composition::ICompositionSurface>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::VisualUnorderedCollection) consume_Windows_UI_Composition_ICompositionLight<D>::Targets() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionLight<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::VisualUnorderedCollection) consume_Windows_UI_Composition_ICompositionLight2<D>::ExclusionsFromTargets() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionLight2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionLight3<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionLight3<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionLight3)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionLight3<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionLight3<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionLight3)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionLineGeometry<D>::Start() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionLineGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionLineGeometry<D>::Start(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionLineGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionLineGeometry<D>::End() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionLineGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionLineGeometry<D>::End(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionLineGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionLinearGradientBrush<D>::EndPoint() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionLinearGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionLinearGradientBrush<D>::EndPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionLinearGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionLinearGradientBrush<D>::StartPoint() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionLinearGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionLinearGradientBrush<D>::StartPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionLinearGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_ICompositionMaskBrush<D>::Mask() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionMaskBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionMaskBrush<D>::Mask(winrt::Windows::UI::Composition::CompositionBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionMaskBrush<D>::Mask(winrt::Windows::UI::Composition::CompositionBrush const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionMaskBrush)->put_Mask(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_ICompositionMaskBrush<D>::Source() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionMaskBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionMaskBrush<D>::Source(winrt::Windows::UI::Composition::CompositionBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionMaskBrush<D>::Source(winrt::Windows::UI::Composition::CompositionBrush const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionMaskBrush)->put_Source(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Composition_ICompositionMipmapSurface<D>::LevelCount() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionMipmapSurface<D>::LevelCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionMipmapSurface)->get_LevelCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXAlphaMode) consume_Windows_UI_Composition_ICompositionMipmapSurface<D>::AlphaMode() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionMipmapSurface<D>::AlphaMode() const
{
winrt::Windows::Graphics::DirectX::DirectXAlphaMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionMipmapSurface)->get_AlphaMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::DirectX::DirectXPixelFormat) consume_Windows_UI_Composition_ICompositionMipmapSurface<D>::PixelFormat() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionMipmapSurface<D>::PixelFormat() const
{
winrt::Windows::Graphics::DirectX::DirectXPixelFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionMipmapSurface)->get_PixelFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::SizeInt32) consume_Windows_UI_Composition_ICompositionMipmapSurface<D>::SizeInt32() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionMipmapSurface<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionDrawingSurface) consume_Windows_UI_Composition_ICompositionMipmapSurface<D>::GetDrawingSurfaceForLevel(uint32_t level) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionMipmapSurface<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::BottomInset() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::BottomInset() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_BottomInset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::BottomInset(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::BottomInset(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_BottomInset(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::BottomInsetScale() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::BottomInsetScale() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_BottomInsetScale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::BottomInsetScale(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::BottomInsetScale(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_BottomInsetScale(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::IsCenterHollow() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::IsCenterHollow() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_IsCenterHollow(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::IsCenterHollow(bool value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::IsCenterHollow(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_IsCenterHollow(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::LeftInset() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::LeftInset() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_LeftInset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::LeftInset(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::LeftInset(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_LeftInset(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::LeftInsetScale() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::LeftInsetScale() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_LeftInsetScale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::LeftInsetScale(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::LeftInsetScale(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_LeftInsetScale(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::RightInset() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::RightInset() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_RightInset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::RightInset(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::RightInset(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_RightInset(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::RightInsetScale() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::RightInsetScale() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_RightInsetScale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::RightInsetScale(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::RightInsetScale(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_RightInsetScale(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::Source() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::Source(winrt::Windows::UI::Composition::CompositionBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::Source(winrt::Windows::UI::Composition::CompositionBrush const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_Source(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::TopInset() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::TopInset() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_TopInset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::TopInset(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::TopInset(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_TopInset(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::TopInsetScale() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::TopInsetScale() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->get_TopInsetScale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::TopInsetScale(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::TopInsetScale(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->put_TopInsetScale(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::SetInsets(float inset) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::SetInsets(float inset) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->SetInsets(inset));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::SetInsets(float left, float top, float right, float bottom) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::SetInsetScales(float scale) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::SetInsetScales(float scale) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionNineGridBrush)->SetInsetScales(scale));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::SetInsetScales(float left, float top, float right, float bottom) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionNineGridBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Compositor) consume_Windows_UI_Composition_ICompositionObject<D>::Compositor() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionObject<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) consume_Windows_UI_Composition_ICompositionObject<D>::Dispatcher() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionObject<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPropertySet) consume_Windows_UI_Composition_ICompositionObject<D>::Properties() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionObject<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionObject<D>::StartAnimation(param::hstring const& propertyName, winrt::Windows::UI::Composition::CompositionAnimation const& animation) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionObject<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionObject<D>::StopAnimation(param::hstring const& propertyName) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionObject<D>::StopAnimation(param::hstring const& propertyName) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject)->StopAnimation(*(void**)(&propertyName)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Composition_ICompositionObject2<D>::Comment() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionObject2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionObject2<D>::Comment(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionObject2<D>::Comment(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject2)->put_Comment(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ImplicitAnimationCollection) consume_Windows_UI_Composition_ICompositionObject2<D>::ImplicitAnimations() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionObject2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionObject2<D>::ImplicitAnimations(winrt::Windows::UI::Composition::ImplicitAnimationCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionObject2<D>::ImplicitAnimations(winrt::Windows::UI::Composition::ImplicitAnimationCollection const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject2)->put_ImplicitAnimations(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionObject2<D>::StartAnimationGroup(winrt::Windows::UI::Composition::ICompositionAnimationBase const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionObject2<D>::StartAnimationGroup(winrt::Windows::UI::Composition::ICompositionAnimationBase const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject2)->StartAnimationGroup(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionObject2<D>::StopAnimationGroup(winrt::Windows::UI::Composition::ICompositionAnimationBase const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionObject2<D>::StopAnimationGroup(winrt::Windows::UI::Composition::ICompositionAnimationBase const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionObject2)->StopAnimationGroup(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_UI_Composition_ICompositionObject3<D>::DispatcherQueue() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionObject3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationController) consume_Windows_UI_Composition_ICompositionObject4<D>::TryGetAnimationController(param::hstring const& propertyName) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionObject4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionObjectStatics<D>::StartAnimationWithIAnimationObject(winrt::Windows::UI::Composition::IAnimationObject const& target, param::hstring const& propertyName, winrt::Windows::UI::Composition::CompositionAnimation const& animation) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionObjectStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionObjectStatics<D>::StartAnimationGroupWithIAnimationObject(winrt::Windows::UI::Composition::IAnimationObject const& target, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionObjectStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPath) consume_Windows_UI_Composition_ICompositionPathFactory<D>::Create(winrt::Windows::Graphics::IGeometrySource2D const& source) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPathFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPath) consume_Windows_UI_Composition_ICompositionPathGeometry<D>::Path() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPathGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPathGeometry<D>::Path(winrt::Windows::UI::Composition::CompositionPath const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPathGeometry<D>::Path(winrt::Windows::UI::Composition::CompositionPath const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPathGeometry)->put_Path(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::BlurRadiusMultiplier() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::BlurRadiusMultiplier() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadow)->get_BlurRadiusMultiplier(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::BlurRadiusMultiplier(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::BlurRadiusMultiplier(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadow)->put_BlurRadiusMultiplier(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionProjectedShadowCasterCollection) consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::Casters() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionLight) consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::LightSource() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::LightSource(winrt::Windows::UI::Composition::CompositionLight const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::LightSource(winrt::Windows::UI::Composition::CompositionLight const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadow)->put_LightSource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::MaxBlurRadius() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::MaxBlurRadius() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadow)->get_MaxBlurRadius(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::MaxBlurRadius(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::MaxBlurRadius(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadow)->put_MaxBlurRadius(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::MinBlurRadius() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::MinBlurRadius() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadow)->get_MinBlurRadius(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::MinBlurRadius(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::MinBlurRadius(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadow)->put_MinBlurRadius(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiverUnorderedCollection) consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::Receivers() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_ICompositionProjectedShadowCaster<D>::Brush() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowCaster<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowCaster<D>::Brush(winrt::Windows::UI::Composition::CompositionBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowCaster<D>::Brush(winrt::Windows::UI::Composition::CompositionBrush const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCaster)->put_Brush(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_ICompositionProjectedShadowCaster<D>::CastingVisual() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowCaster<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowCaster<D>::CastingVisual(winrt::Windows::UI::Composition::Visual const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowCaster<D>::CastingVisual(winrt::Windows::UI::Composition::Visual const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCaster)->put_CastingVisual(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection<D>::Count() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection<D>::Count() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCasterCollection)->get_Count(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection<D>::InsertAbove(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster, winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& reference) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection<D>::InsertAtBottom(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection<D>::InsertAtBottom(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCasterCollection)->InsertAtBottom(*(void**)(&newCaster)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection<D>::InsertAtTop(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection<D>::InsertAtTop(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCasterCollection)->InsertAtTop(*(void**)(&newCaster)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection<D>::InsertBelow(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& newCaster, winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& reference) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection<D>::Remove(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& caster) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection<D>::Remove(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster const& caster) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCasterCollection)->Remove(*(void**)(&caster)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection<D>::RemoveAll() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollection<D>::RemoveAll() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCasterCollection)->RemoveAll());
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollectionStatics<D>::MaxRespectedCasters() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollectionStatics<D>::MaxRespectedCasters() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowCasterCollectionStatics)->get_MaxRespectedCasters(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_ICompositionProjectedShadowReceiver<D>::ReceivingVisual() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowReceiver<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowReceiver<D>::ReceivingVisual(winrt::Windows::UI::Composition::Visual const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowReceiver<D>::ReceivingVisual(winrt::Windows::UI::Composition::Visual const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowReceiver)->put_ReceivingVisual(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowReceiverUnorderedCollection<D>::Add(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiver const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowReceiverUnorderedCollection<D>::Add(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiver const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowReceiverUnorderedCollection)->Add(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_ICompositionProjectedShadowReceiverUnorderedCollection<D>::Count() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowReceiverUnorderedCollection<D>::Count() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowReceiverUnorderedCollection)->get_Count(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowReceiverUnorderedCollection<D>::Remove(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiver const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowReceiverUnorderedCollection<D>::Remove(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiver const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowReceiverUnorderedCollection)->Remove(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionProjectedShadowReceiverUnorderedCollection<D>::RemoveAll() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionProjectedShadowReceiverUnorderedCollection<D>::RemoveAll() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionProjectedShadowReceiverUnorderedCollection)->RemoveAll());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet<D>::InsertColor(param::hstring const& propertyName, winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet<D>::InsertMatrix3x2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3x2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet<D>::InsertMatrix4x4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4x4 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet<D>::InsertQuaternion(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::quaternion const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet<D>::InsertScalar(param::hstring const& propertyName, float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet<D>::InsertScalar(param::hstring const& propertyName, float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet)->InsertScalar(*(void**)(&propertyName), value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet<D>::InsertVector2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet<D>::InsertVector3(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet<D>::InsertVector4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet<D>::TryGetColor(param::hstring const& propertyName, winrt::Windows::UI::Color& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet<D>::TryGetMatrix3x2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3x2& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet<D>::TryGetMatrix4x4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4x4& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet<D>::TryGetQuaternion(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::quaternion& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet<D>::TryGetScalar(param::hstring const& propertyName, float& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet<D>::TryGetVector2(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float2& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet<D>::TryGetVector3(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float3& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet<D>::TryGetVector4(param::hstring const& propertyName, winrt::Windows::Foundation::Numerics::float4& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionPropertySet2<D>::InsertBoolean(param::hstring const& propertyName, bool value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet2<D>::InsertBoolean(param::hstring const& propertyName, bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionPropertySet2)->InsertBoolean(*(void**)(&propertyName), value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGetValueStatus) consume_Windows_UI_Composition_ICompositionPropertySet2<D>::TryGetBoolean(param::hstring const& propertyName, bool& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionPropertySet2<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionRadialGradientBrush<D>::EllipseCenter() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionRadialGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionRadialGradientBrush<D>::EllipseCenter(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionRadialGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionRadialGradientBrush<D>::EllipseRadius() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionRadialGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionRadialGradientBrush<D>::EllipseRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionRadialGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionRadialGradientBrush<D>::GradientOriginOffset() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionRadialGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionRadialGradientBrush<D>::GradientOriginOffset(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionRadialGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionRectangleGeometry<D>::Offset() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionRectangleGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionRectangleGeometry<D>::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionRectangleGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionRectangleGeometry<D>::Size() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionRectangleGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionRectangleGeometry<D>::Size(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionRectangleGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry<D>::CornerRadius() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry<D>::CornerRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry<D>::Offset() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry<D>::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry<D>::Size() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry<D>::Size(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionRoundedRectangleGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionScopedBatch<D>::IsActive() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionScopedBatch<D>::IsActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionScopedBatch)->get_IsActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionScopedBatch<D>::IsEnded() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionScopedBatch<D>::IsEnded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionScopedBatch)->get_IsEnded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionScopedBatch<D>::End() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionScopedBatch<D>::End() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionScopedBatch)->End());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionScopedBatch<D>::Resume() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionScopedBatch<D>::Resume() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionScopedBatch)->Resume());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionScopedBatch<D>::Suspend() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionScopedBatch<D>::Suspend() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionScopedBatch)->Suspend());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Composition_ICompositionScopedBatch<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Composition::CompositionBatchCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionScopedBatch<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Composition::CompositionBatchCompletedEventArgs> 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 D> typename consume_Windows_UI_Composition_ICompositionScopedBatch<D>::Completed_revoker consume_Windows_UI_Composition_ICompositionScopedBatch<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Composition::CompositionBatchCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionScopedBatch<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Composition::CompositionBatchCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Completed_revoker>(this, Completed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionScopedBatch<D>::Completed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionScopedBatch<D>::Completed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionScopedBatch)->remove_Completed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionShape<D>::CenterPoint() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionShape<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionShape<D>::CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionShape<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionShape<D>::Offset() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionShape<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionShape<D>::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionShape<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionShape<D>::RotationAngle() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionShape<D>::RotationAngle() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionShape)->get_RotationAngle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionShape<D>::RotationAngle(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionShape<D>::RotationAngle(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionShape)->put_RotationAngle(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionShape<D>::RotationAngleInDegrees() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionShape<D>::RotationAngleInDegrees() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionShape)->get_RotationAngleInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionShape<D>::RotationAngleInDegrees(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionShape<D>::RotationAngleInDegrees(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionShape)->put_RotationAngleInDegrees(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionShape<D>::Scale() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionShape<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionShape<D>::Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionShape<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) consume_Windows_UI_Composition_ICompositionShape<D>::TransformMatrix() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionShape<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionShape<D>::TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionShape<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::FillBrush() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::FillBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::FillBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_FillBrush(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGeometry) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::Geometry() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::Geometry(winrt::Windows::UI::Composition::CompositionGeometry const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::Geometry(winrt::Windows::UI::Composition::CompositionGeometry const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_Geometry(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::IsStrokeNonScaling() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::IsStrokeNonScaling() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_IsStrokeNonScaling(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::IsStrokeNonScaling(bool value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::IsStrokeNonScaling(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_IsStrokeNonScaling(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeBrush() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_StrokeBrush(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStrokeDashArray) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeDashArray() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStrokeCap) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeDashCap() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeDashCap() const
{
winrt::Windows::UI::Composition::CompositionStrokeCap value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_StrokeDashCap(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeDashCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeDashCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_StrokeDashCap(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeDashOffset() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeDashOffset() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_StrokeDashOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeDashOffset(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeDashOffset(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_StrokeDashOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStrokeCap) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeEndCap() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeEndCap() const
{
winrt::Windows::UI::Composition::CompositionStrokeCap value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_StrokeEndCap(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeEndCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeEndCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_StrokeEndCap(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStrokeLineJoin) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeLineJoin() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeLineJoin() const
{
winrt::Windows::UI::Composition::CompositionStrokeLineJoin value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_StrokeLineJoin(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeLineJoin(winrt::Windows::UI::Composition::CompositionStrokeLineJoin const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeLineJoin(winrt::Windows::UI::Composition::CompositionStrokeLineJoin const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_StrokeLineJoin(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeMiterLimit() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeMiterLimit() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_StrokeMiterLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeMiterLimit(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeMiterLimit(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_StrokeMiterLimit(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStrokeCap) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeStartCap() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeStartCap() const
{
winrt::Windows::UI::Composition::CompositionStrokeCap value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_StrokeStartCap(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeStartCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeStartCap(winrt::Windows::UI::Composition::CompositionStrokeCap const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_StrokeStartCap(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeThickness() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeThickness() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->get_StrokeThickness(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeThickness(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSpriteShape<D>::StrokeThickness(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSpriteShape)->put_StrokeThickness(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode) consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::BitmapInterpolationMode() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::BitmapInterpolationMode() const
{
winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->get_BitmapInterpolationMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::BitmapInterpolationMode(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::BitmapInterpolationMode(winrt::Windows::UI::Composition::CompositionBitmapInterpolationMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->put_BitmapInterpolationMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::HorizontalAlignmentRatio() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::HorizontalAlignmentRatio() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->get_HorizontalAlignmentRatio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::HorizontalAlignmentRatio(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::HorizontalAlignmentRatio(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->put_HorizontalAlignmentRatio(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStretch) consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::Stretch() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::Stretch() const
{
winrt::Windows::UI::Composition::CompositionStretch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->get_Stretch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::Stretch(winrt::Windows::UI::Composition::CompositionStretch const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::Stretch(winrt::Windows::UI::Composition::CompositionStretch const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->put_Stretch(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ICompositionSurface) consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::Surface() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::Surface(winrt::Windows::UI::Composition::ICompositionSurface const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::Surface(winrt::Windows::UI::Composition::ICompositionSurface const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->put_Surface(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::VerticalAlignmentRatio() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::VerticalAlignmentRatio() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->get_VerticalAlignmentRatio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::VerticalAlignmentRatio(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush<D>::VerticalAlignmentRatio(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush)->put_VerticalAlignmentRatio(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::AnchorPoint() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::CenterPoint() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::CenterPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::Offset() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::RotationAngle() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::RotationAngle() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->get_RotationAngle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::RotationAngle(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::RotationAngle(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->put_RotationAngle(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::RotationAngleInDegrees() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::RotationAngleInDegrees() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->get_RotationAngleInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::RotationAngleInDegrees(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::RotationAngleInDegrees(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush2)->put_RotationAngleInDegrees(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::Scale() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::Scale(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::TransformMatrix() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::TransformMatrix(winrt::Windows::Foundation::Numerics::float3x2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_ICompositionSurfaceBrush3<D>::SnapToPixels() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush3<D>::SnapToPixels() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush3)->get_SnapToPixels(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionSurfaceBrush3<D>::SnapToPixels(bool value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceBrush3<D>::SnapToPixels(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionSurfaceBrush3)->put_SnapToPixels(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ICompositionSurface) consume_Windows_UI_Composition_ICompositionSurfaceFacade<D>::GetRealSurface() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionSurfaceFacade<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_ICompositionTarget<D>::Root() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionTarget<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionTarget<D>::Root(winrt::Windows::UI::Composition::Visual const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionTarget<D>::Root(winrt::Windows::UI::Composition::Visual const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionTarget)->put_Root(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionViewBox<D>::HorizontalAlignmentRatio() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionViewBox<D>::HorizontalAlignmentRatio() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionViewBox)->get_HorizontalAlignmentRatio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionViewBox<D>::HorizontalAlignmentRatio(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionViewBox<D>::HorizontalAlignmentRatio(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionViewBox)->put_HorizontalAlignmentRatio(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionViewBox<D>::Offset() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionViewBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionViewBox<D>::Offset(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionViewBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionViewBox<D>::Size() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionViewBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionViewBox<D>::Size(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionViewBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionStretch) consume_Windows_UI_Composition_ICompositionViewBox<D>::Stretch() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionViewBox<D>::Stretch() const
{
winrt::Windows::UI::Composition::CompositionStretch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionViewBox)->get_Stretch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionViewBox<D>::Stretch(winrt::Windows::UI::Composition::CompositionStretch const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionViewBox<D>::Stretch(winrt::Windows::UI::Composition::CompositionStretch const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionViewBox)->put_Stretch(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositionViewBox<D>::VerticalAlignmentRatio() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionViewBox<D>::VerticalAlignmentRatio() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionViewBox)->get_VerticalAlignmentRatio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionViewBox<D>::VerticalAlignmentRatio(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionViewBox<D>::VerticalAlignmentRatio(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionViewBox)->put_VerticalAlignmentRatio(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionVirtualDrawingSurface<D>::Trim(array_view<winrt::Windows::Graphics::RectInt32 const> rects) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionVirtualDrawingSurface<D>::Trim(array_view<winrt::Windows::Graphics::RectInt32 const> rects) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionVirtualDrawingSurface)->Trim(rects.size(), get_abi(rects)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_ICompositionVisualSurface<D>::SourceVisual() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionVisualSurface<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionVisualSurface<D>::SourceVisual(winrt::Windows::UI::Composition::Visual const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionVisualSurface<D>::SourceVisual(winrt::Windows::UI::Composition::Visual const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositionVisualSurface)->put_SourceVisual(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionVisualSurface<D>::SourceOffset() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionVisualSurface<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionVisualSurface<D>::SourceOffset(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionVisualSurface<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICompositionVisualSurface<D>::SourceSize() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionVisualSurface<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositionVisualSurface<D>::SourceSize(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositionVisualSurface<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ColorKeyFrameAnimation) consume_Windows_UI_Composition_ICompositor<D>::CreateColorKeyFrameAnimation() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorBrush) consume_Windows_UI_Composition_ICompositor<D>::CreateColorBrush() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorBrush) consume_Windows_UI_Composition_ICompositor<D>::CreateColorBrush(winrt::Windows::UI::Color const& color) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ContainerVisual) consume_Windows_UI_Composition_ICompositor<D>::CreateContainerVisual() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CubicBezierEasingFunction) consume_Windows_UI_Composition_ICompositor<D>::CreateCubicBezierEasingFunction(winrt::Windows::Foundation::Numerics::float2 const& controlPoint1, winrt::Windows::Foundation::Numerics::float2 const& controlPoint2) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectFactory) consume_Windows_UI_Composition_ICompositor<D>::CreateEffectFactory(winrt::Windows::Graphics::Effects::IGraphicsEffect const& graphicsEffect) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectFactory) consume_Windows_UI_Composition_ICompositor<D>::CreateEffectFactory(winrt::Windows::Graphics::Effects::IGraphicsEffect const& graphicsEffect, param::iterable<hstring> const& animatableProperties) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::CreateEffectFactory(winrt::Windows::Graphics::Effects::IGraphicsEffect const& graphicsEffect, param::iterable<hstring> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_ICompositor<D>::CreateExpressionAnimation() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ExpressionAnimation) consume_Windows_UI_Composition_ICompositor<D>::CreateExpressionAnimation(param::hstring const& expression) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::InsetClip) consume_Windows_UI_Composition_ICompositor<D>::CreateInsetClip() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::InsetClip) consume_Windows_UI_Composition_ICompositor<D>::CreateInsetClip(float leftInset, float topInset, float rightInset, float bottomInset) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::LinearEasingFunction) consume_Windows_UI_Composition_ICompositor<D>::CreateLinearEasingFunction() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPropertySet) consume_Windows_UI_Composition_ICompositor<D>::CreatePropertySet() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::QuaternionKeyFrameAnimation) consume_Windows_UI_Composition_ICompositor<D>::CreateQuaternionKeyFrameAnimation() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ScalarKeyFrameAnimation) consume_Windows_UI_Composition_ICompositor<D>::CreateScalarKeyFrameAnimation() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionScopedBatch) consume_Windows_UI_Composition_ICompositor<D>::CreateScopedBatch(winrt::Windows::UI::Composition::CompositionBatchTypes const& batchType) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::CreateScopedBatch(winrt::Windows::UI::Composition::CompositionBatchTypes const& batchType) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->CreateScopedBatch(static_cast<uint32_t>(batchType), &result));
return winrt::Windows::UI::Composition::CompositionScopedBatch{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SpriteVisual) consume_Windows_UI_Composition_ICompositor<D>::CreateSpriteVisual() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionSurfaceBrush) consume_Windows_UI_Composition_ICompositor<D>::CreateSurfaceBrush() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionSurfaceBrush) consume_Windows_UI_Composition_ICompositor<D>::CreateSurfaceBrush(winrt::Windows::UI::Composition::ICompositionSurface const& surface) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionTarget) consume_Windows_UI_Composition_ICompositor<D>::CreateTargetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Vector2KeyFrameAnimation) consume_Windows_UI_Composition_ICompositor<D>::CreateVector2KeyFrameAnimation() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Vector3KeyFrameAnimation) consume_Windows_UI_Composition_ICompositor<D>::CreateVector3KeyFrameAnimation() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Vector4KeyFrameAnimation) consume_Windows_UI_Composition_ICompositor<D>::CreateVector4KeyFrameAnimation() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionCommitBatch) consume_Windows_UI_Composition_ICompositor<D>::GetCommitBatch(winrt::Windows::UI::Composition::CompositionBatchTypes const& batchType) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor<D>::GetCommitBatch(winrt::Windows::UI::Composition::CompositionBatchTypes const& batchType) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor)->GetCommitBatch(static_cast<uint32_t>(batchType), &result));
return winrt::Windows::UI::Composition::CompositionCommitBatch{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AmbientLight) consume_Windows_UI_Composition_ICompositor2<D>::CreateAmbientLight() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionAnimationGroup) consume_Windows_UI_Composition_ICompositor2<D>::CreateAnimationGroup() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBackdropBrush) consume_Windows_UI_Composition_ICompositor2<D>::CreateBackdropBrush() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::DistantLight) consume_Windows_UI_Composition_ICompositor2<D>::CreateDistantLight() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::DropShadow) consume_Windows_UI_Composition_ICompositor2<D>::CreateDropShadow() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ImplicitAnimationCollection) consume_Windows_UI_Composition_ICompositor2<D>::CreateImplicitAnimationCollection() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::LayerVisual) consume_Windows_UI_Composition_ICompositor2<D>::CreateLayerVisual() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionMaskBrush) consume_Windows_UI_Composition_ICompositor2<D>::CreateMaskBrush() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionNineGridBrush) consume_Windows_UI_Composition_ICompositor2<D>::CreateNineGridBrush() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::PointLight) consume_Windows_UI_Composition_ICompositor2<D>::CreatePointLight() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SpotLight) consume_Windows_UI_Composition_ICompositor2<D>::CreateSpotLight() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::StepEasingFunction) consume_Windows_UI_Composition_ICompositor2<D>::CreateStepEasingFunction() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::StepEasingFunction) consume_Windows_UI_Composition_ICompositor2<D>::CreateStepEasingFunction(int32_t stepCount) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBackdropBrush) consume_Windows_UI_Composition_ICompositor3<D>::CreateHostBackdropBrush() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorGradientStop) consume_Windows_UI_Composition_ICompositor4<D>::CreateColorGradientStop() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionColorGradientStop) consume_Windows_UI_Composition_ICompositor4<D>::CreateColorGradientStop(float offset, winrt::Windows::UI::Color const& color) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionLinearGradientBrush) consume_Windows_UI_Composition_ICompositor4<D>::CreateLinearGradientBrush() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SpringScalarNaturalMotionAnimation) consume_Windows_UI_Composition_ICompositor4<D>::CreateSpringScalarAnimation() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SpringVector2NaturalMotionAnimation) consume_Windows_UI_Composition_ICompositor4<D>::CreateSpringVector2Animation() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::SpringVector3NaturalMotionAnimation) consume_Windows_UI_Composition_ICompositor4<D>::CreateSpringVector3Animation() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor4<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Composition_ICompositor5<D>::Comment() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositor5<D>::Comment(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::Comment(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->put_Comment(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositor5<D>::GlobalPlaybackRate() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::GlobalPlaybackRate() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->get_GlobalPlaybackRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ICompositor5<D>::GlobalPlaybackRate(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::GlobalPlaybackRate(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositor5)->put_GlobalPlaybackRate(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BounceScalarNaturalMotionAnimation) consume_Windows_UI_Composition_ICompositor5<D>::CreateBounceScalarAnimation() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BounceVector2NaturalMotionAnimation) consume_Windows_UI_Composition_ICompositor5<D>::CreateBounceVector2Animation() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BounceVector3NaturalMotionAnimation) consume_Windows_UI_Composition_ICompositor5<D>::CreateBounceVector3Animation() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionContainerShape) consume_Windows_UI_Composition_ICompositor5<D>::CreateContainerShape() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEllipseGeometry) consume_Windows_UI_Composition_ICompositor5<D>::CreateEllipseGeometry() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionLineGeometry) consume_Windows_UI_Composition_ICompositor5<D>::CreateLineGeometry() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPathGeometry) consume_Windows_UI_Composition_ICompositor5<D>::CreatePathGeometry() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPathGeometry) consume_Windows_UI_Composition_ICompositor5<D>::CreatePathGeometry(winrt::Windows::UI::Composition::CompositionPath const& path) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::PathKeyFrameAnimation) consume_Windows_UI_Composition_ICompositor5<D>::CreatePathKeyFrameAnimation() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionRectangleGeometry) consume_Windows_UI_Composition_ICompositor5<D>::CreateRectangleGeometry() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionRoundedRectangleGeometry) consume_Windows_UI_Composition_ICompositor5<D>::CreateRoundedRectangleGeometry() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ShapeVisual) consume_Windows_UI_Composition_ICompositor5<D>::CreateShapeVisual() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionSpriteShape) consume_Windows_UI_Composition_ICompositor5<D>::CreateSpriteShape() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionSpriteShape) consume_Windows_UI_Composition_ICompositor5<D>::CreateSpriteShape(winrt::Windows::UI::Composition::CompositionGeometry const& geometry) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionViewBox) consume_Windows_UI_Composition_ICompositor5<D>::CreateViewBox() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Composition_ICompositor5<D>::RequestCommitAsync() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGeometricClip) consume_Windows_UI_Composition_ICompositor6<D>::CreateGeometricClip() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGeometricClip) consume_Windows_UI_Composition_ICompositor6<D>::CreateGeometricClip(winrt::Windows::UI::Composition::CompositionGeometry const& geometry) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RedirectVisual) consume_Windows_UI_Composition_ICompositor6<D>::CreateRedirectVisual() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RedirectVisual) consume_Windows_UI_Composition_ICompositor6<D>::CreateRedirectVisual(winrt::Windows::UI::Composition::Visual const& source) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::BooleanKeyFrameAnimation) consume_Windows_UI_Composition_ICompositor6<D>::CreateBooleanKeyFrameAnimation() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_UI_Composition_ICompositor7<D>::DispatcherQueue() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationPropertyInfo) consume_Windows_UI_Composition_ICompositor7<D>::CreateAnimationPropertyInfo() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RectangleClip) consume_Windows_UI_Composition_ICompositor7<D>::CreateRectangleClip() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RectangleClip) consume_Windows_UI_Composition_ICompositor7<D>::CreateRectangleClip(float left, float top, float right, float bottom) const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositor7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::RectangleClip) consume_Windows_UI_Composition_ICompositor7<D>::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 <typename D> auto consume_Windows_UI_Composition_ICompositor7<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositorStatics<D>::MaxGlobalPlaybackRate() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositorStatics<D>::MaxGlobalPlaybackRate() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositorStatics)->get_MaxGlobalPlaybackRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ICompositorStatics<D>::MinGlobalPlaybackRate() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositorStatics<D>::MinGlobalPlaybackRate() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ICompositorStatics)->get_MinGlobalPlaybackRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionProjectedShadowCaster) consume_Windows_UI_Composition_ICompositorWithProjectedShadow<D>::CreateProjectedShadowCaster() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositorWithProjectedShadow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionProjectedShadow) consume_Windows_UI_Composition_ICompositorWithProjectedShadow<D>::CreateProjectedShadow() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositorWithProjectedShadow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionProjectedShadowReceiver) consume_Windows_UI_Composition_ICompositorWithProjectedShadow<D>::CreateProjectedShadowReceiver() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositorWithProjectedShadow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionRadialGradientBrush) consume_Windows_UI_Composition_ICompositorWithRadialGradient<D>::CreateRadialGradientBrush() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositorWithRadialGradient<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionVisualSurface) consume_Windows_UI_Composition_ICompositorWithVisualSurface<D>::CreateVisualSurface() const
+ template <typename D> auto consume_Windows_UI_Composition_ICompositorWithVisualSurface<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::VisualCollection) consume_Windows_UI_Composition_IContainerVisual<D>::Children() const
+ template <typename D> auto consume_Windows_UI_Composition_IContainerVisual<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICubicBezierEasingFunction<D>::ControlPoint1() const
+ template <typename D> auto consume_Windows_UI_Composition_ICubicBezierEasingFunction<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_ICubicBezierEasingFunction<D>::ControlPoint2() const
+ template <typename D> auto consume_Windows_UI_Composition_ICubicBezierEasingFunction<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Composition_IDelegatedInkTrailVisual<D>::AddTrailPoints(array_view<winrt::Windows::UI::Composition::InkTrailPoint const> inkPoints) const
+ template <typename D> auto consume_Windows_UI_Composition_IDelegatedInkTrailVisual<D>::AddTrailPoints(array_view<winrt::Windows::UI::Composition::InkTrailPoint const> 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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Composition_IDelegatedInkTrailVisual<D>::AddTrailPointsWithPrediction(array_view<winrt::Windows::UI::Composition::InkTrailPoint const> inkPoints, array_view<winrt::Windows::UI::Composition::InkTrailPoint const> predictedInkPoints) const
+ template <typename D> auto consume_Windows_UI_Composition_IDelegatedInkTrailVisual<D>::AddTrailPointsWithPrediction(array_view<winrt::Windows::UI::Composition::InkTrailPoint const> inkPoints, array_view<winrt::Windows::UI::Composition::InkTrailPoint const> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDelegatedInkTrailVisual<D>::RemoveTrailPoints(uint32_t generationId) const
+ template <typename D> auto consume_Windows_UI_Composition_IDelegatedInkTrailVisual<D>::RemoveTrailPoints(uint32_t generationId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDelegatedInkTrailVisual)->RemoveTrailPoints(generationId));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDelegatedInkTrailVisual<D>::StartNewTrail(winrt::Windows::UI::Color const& color) const
+ template <typename D> auto consume_Windows_UI_Composition_IDelegatedInkTrailVisual<D>::StartNewTrail(winrt::Windows::UI::Color const& color) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDelegatedInkTrailVisual)->StartNewTrail(impl::bind_in(color)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::DelegatedInkTrailVisual) consume_Windows_UI_Composition_IDelegatedInkTrailVisualStatics<D>::Create(winrt::Windows::UI::Composition::Compositor const& compositor) const
+ template <typename D> auto consume_Windows_UI_Composition_IDelegatedInkTrailVisualStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::DelegatedInkTrailVisual) consume_Windows_UI_Composition_IDelegatedInkTrailVisualStatics<D>::CreateForSwapChain(winrt::Windows::UI::Composition::Compositor const& compositor, winrt::Windows::UI::Composition::ICompositionSurface const& swapChain) const
+ template <typename D> auto consume_Windows_UI_Composition_IDelegatedInkTrailVisualStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Composition_IDistantLight<D>::Color() const
+ template <typename D> auto consume_Windows_UI_Composition_IDistantLight<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDistantLight<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IDistantLight<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_IDistantLight<D>::CoordinateSpace() const
+ template <typename D> auto consume_Windows_UI_Composition_IDistantLight<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDistantLight<D>::CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IDistantLight<D>::CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDistantLight)->put_CoordinateSpace(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IDistantLight<D>::Direction() const
+ template <typename D> auto consume_Windows_UI_Composition_IDistantLight<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDistantLight<D>::Direction(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IDistantLight<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IDistantLight2<D>::Intensity() const
+ template <typename D> auto consume_Windows_UI_Composition_IDistantLight2<D>::Intensity() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDistantLight2)->get_Intensity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDistantLight2<D>::Intensity(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IDistantLight2<D>::Intensity(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDistantLight2)->put_Intensity(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IDropShadow<D>::BlurRadius() const
+ template <typename D> auto consume_Windows_UI_Composition_IDropShadow<D>::BlurRadius() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow)->get_BlurRadius(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDropShadow<D>::BlurRadius(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IDropShadow<D>::BlurRadius(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow)->put_BlurRadius(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Composition_IDropShadow<D>::Color() const
+ template <typename D> auto consume_Windows_UI_Composition_IDropShadow<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDropShadow<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IDropShadow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_IDropShadow<D>::Mask() const
+ template <typename D> auto consume_Windows_UI_Composition_IDropShadow<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDropShadow<D>::Mask(winrt::Windows::UI::Composition::CompositionBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IDropShadow<D>::Mask(winrt::Windows::UI::Composition::CompositionBrush const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow)->put_Mask(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IDropShadow<D>::Offset() const
+ template <typename D> auto consume_Windows_UI_Composition_IDropShadow<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDropShadow<D>::Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IDropShadow<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IDropShadow<D>::Opacity() const
+ template <typename D> auto consume_Windows_UI_Composition_IDropShadow<D>::Opacity() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow)->get_Opacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDropShadow<D>::Opacity(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IDropShadow<D>::Opacity(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow)->put_Opacity(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionDropShadowSourcePolicy) consume_Windows_UI_Composition_IDropShadow2<D>::SourcePolicy() const
+ template <typename D> auto consume_Windows_UI_Composition_IDropShadow2<D>::SourcePolicy() const
{
winrt::Windows::UI::Composition::CompositionDropShadowSourcePolicy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow2)->get_SourcePolicy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IDropShadow2<D>::SourcePolicy(winrt::Windows::UI::Composition::CompositionDropShadowSourcePolicy const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IDropShadow2<D>::SourcePolicy(winrt::Windows::UI::Composition::CompositionDropShadowSourcePolicy const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IDropShadow2)->put_SourcePolicy(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_IElasticEasingFunction<D>::Mode() const
+ template <typename D> auto consume_Windows_UI_Composition_IElasticEasingFunction<D>::Mode() const
{
winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IElasticEasingFunction)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IElasticEasingFunction<D>::Oscillations() const
+ template <typename D> auto consume_Windows_UI_Composition_IElasticEasingFunction<D>::Oscillations() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IElasticEasingFunction)->get_Oscillations(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IElasticEasingFunction<D>::Springiness() const
+ template <typename D> auto consume_Windows_UI_Composition_IElasticEasingFunction<D>::Springiness() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IElasticEasingFunction)->get_Springiness(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_IExponentialEasingFunction<D>::Mode() const
+ template <typename D> auto consume_Windows_UI_Composition_IExponentialEasingFunction<D>::Mode() const
{
winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IExponentialEasingFunction)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IExponentialEasingFunction<D>::Exponent() const
+ template <typename D> auto consume_Windows_UI_Composition_IExponentialEasingFunction<D>::Exponent() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IExponentialEasingFunction)->get_Exponent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Composition_IExpressionAnimation<D>::Expression() const
+ template <typename D> auto consume_Windows_UI_Composition_IExpressionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IExpressionAnimation<D>::Expression(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IExpressionAnimation<D>::Expression(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IExpressionAnimation)->put_Expression(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IInsetClip<D>::BottomInset() const
+ template <typename D> auto consume_Windows_UI_Composition_IInsetClip<D>::BottomInset() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IInsetClip)->get_BottomInset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IInsetClip<D>::BottomInset(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IInsetClip<D>::BottomInset(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IInsetClip)->put_BottomInset(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IInsetClip<D>::LeftInset() const
+ template <typename D> auto consume_Windows_UI_Composition_IInsetClip<D>::LeftInset() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IInsetClip)->get_LeftInset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IInsetClip<D>::LeftInset(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IInsetClip<D>::LeftInset(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IInsetClip)->put_LeftInset(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IInsetClip<D>::RightInset() const
+ template <typename D> auto consume_Windows_UI_Composition_IInsetClip<D>::RightInset() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IInsetClip)->get_RightInset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IInsetClip<D>::RightInset(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IInsetClip<D>::RightInset(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IInsetClip)->put_RightInset(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IInsetClip<D>::TopInset() const
+ template <typename D> auto consume_Windows_UI_Composition_IInsetClip<D>::TopInset() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IInsetClip)->get_TopInset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IInsetClip<D>::TopInset(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IInsetClip<D>::TopInset(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IInsetClip)->put_TopInset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Composition_IKeyFrameAnimation<D>::DelayTime() const
+ template <typename D> auto consume_Windows_UI_Composition_IKeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation<D>::DelayTime(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IKeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Composition_IKeyFrameAnimation<D>::Duration() const
+ template <typename D> auto consume_Windows_UI_Composition_IKeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation<D>::Duration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IKeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationIterationBehavior) consume_Windows_UI_Composition_IKeyFrameAnimation<D>::IterationBehavior() const
+ template <typename D> auto consume_Windows_UI_Composition_IKeyFrameAnimation<D>::IterationBehavior() const
{
winrt::Windows::UI::Composition::AnimationIterationBehavior value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->get_IterationBehavior(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation<D>::IterationBehavior(winrt::Windows::UI::Composition::AnimationIterationBehavior const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IKeyFrameAnimation<D>::IterationBehavior(winrt::Windows::UI::Composition::AnimationIterationBehavior const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->put_IterationBehavior(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IKeyFrameAnimation<D>::IterationCount() const
+ template <typename D> auto consume_Windows_UI_Composition_IKeyFrameAnimation<D>::IterationCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->get_IterationCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation<D>::IterationCount(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Composition_IKeyFrameAnimation<D>::IterationCount(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->put_IterationCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IKeyFrameAnimation<D>::KeyFrameCount() const
+ template <typename D> auto consume_Windows_UI_Composition_IKeyFrameAnimation<D>::KeyFrameCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->get_KeyFrameCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationStopBehavior) consume_Windows_UI_Composition_IKeyFrameAnimation<D>::StopBehavior() const
+ template <typename D> auto consume_Windows_UI_Composition_IKeyFrameAnimation<D>::StopBehavior() const
{
winrt::Windows::UI::Composition::AnimationStopBehavior value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->get_StopBehavior(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation<D>::StopBehavior(winrt::Windows::UI::Composition::AnimationStopBehavior const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IKeyFrameAnimation<D>::StopBehavior(winrt::Windows::UI::Composition::AnimationStopBehavior const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->put_StopBehavior(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation<D>::InsertExpressionKeyFrame(float normalizedProgressKey, param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IKeyFrameAnimation<D>::InsertExpressionKeyFrame(float normalizedProgressKey, param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation)->InsertExpressionKeyFrame(normalizedProgressKey, *(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation<D>::InsertExpressionKeyFrame(float normalizedProgressKey, param::hstring const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const
+ template <typename D> auto consume_Windows_UI_Composition_IKeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationDirection) consume_Windows_UI_Composition_IKeyFrameAnimation2<D>::Direction() const
+ template <typename D> auto consume_Windows_UI_Composition_IKeyFrameAnimation2<D>::Direction() const
{
winrt::Windows::UI::Composition::AnimationDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation2)->get_Direction(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation2<D>::Direction(winrt::Windows::UI::Composition::AnimationDirection const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IKeyFrameAnimation2<D>::Direction(winrt::Windows::UI::Composition::AnimationDirection const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation2)->put_Direction(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationDelayBehavior) consume_Windows_UI_Composition_IKeyFrameAnimation3<D>::DelayBehavior() const
+ template <typename D> auto consume_Windows_UI_Composition_IKeyFrameAnimation3<D>::DelayBehavior() const
{
winrt::Windows::UI::Composition::AnimationDelayBehavior value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation3)->get_DelayBehavior(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IKeyFrameAnimation3<D>::DelayBehavior(winrt::Windows::UI::Composition::AnimationDelayBehavior const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IKeyFrameAnimation3<D>::DelayBehavior(winrt::Windows::UI::Composition::AnimationDelayBehavior const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IKeyFrameAnimation3)->put_DelayBehavior(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEffectBrush) consume_Windows_UI_Composition_ILayerVisual<D>::Effect() const
+ template <typename D> auto consume_Windows_UI_Composition_ILayerVisual<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ILayerVisual<D>::Effect(winrt::Windows::UI::Composition::CompositionEffectBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ILayerVisual<D>::Effect(winrt::Windows::UI::Composition::CompositionEffectBrush const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ILayerVisual)->put_Effect(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionShadow) consume_Windows_UI_Composition_ILayerVisual2<D>::Shadow() const
+ template <typename D> auto consume_Windows_UI_Composition_ILayerVisual2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ILayerVisual2<D>::Shadow(winrt::Windows::UI::Composition::CompositionShadow const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ILayerVisual2<D>::Shadow(winrt::Windows::UI::Composition::CompositionShadow const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ILayerVisual2)->put_Shadow(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationDelayBehavior) consume_Windows_UI_Composition_INaturalMotionAnimation<D>::DelayBehavior() const
+ template <typename D> auto consume_Windows_UI_Composition_INaturalMotionAnimation<D>::DelayBehavior() const
{
winrt::Windows::UI::Composition::AnimationDelayBehavior value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::INaturalMotionAnimation)->get_DelayBehavior(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_INaturalMotionAnimation<D>::DelayBehavior(winrt::Windows::UI::Composition::AnimationDelayBehavior const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_INaturalMotionAnimation<D>::DelayBehavior(winrt::Windows::UI::Composition::AnimationDelayBehavior const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::INaturalMotionAnimation)->put_DelayBehavior(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Composition_INaturalMotionAnimation<D>::DelayTime() const
+ template <typename D> auto consume_Windows_UI_Composition_INaturalMotionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_INaturalMotionAnimation<D>::DelayTime(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_INaturalMotionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::AnimationStopBehavior) consume_Windows_UI_Composition_INaturalMotionAnimation<D>::StopBehavior() const
+ template <typename D> auto consume_Windows_UI_Composition_INaturalMotionAnimation<D>::StopBehavior() const
{
winrt::Windows::UI::Composition::AnimationStopBehavior value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::INaturalMotionAnimation)->get_StopBehavior(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_INaturalMotionAnimation<D>::StopBehavior(winrt::Windows::UI::Composition::AnimationStopBehavior const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_INaturalMotionAnimation<D>::StopBehavior(winrt::Windows::UI::Composition::AnimationStopBehavior const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::INaturalMotionAnimation)->put_StopBehavior(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPathKeyFrameAnimation<D>::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Composition::CompositionPath const& path) const
+ template <typename D> auto consume_Windows_UI_Composition_IPathKeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPathKeyFrameAnimation<D>::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::UI::Composition::CompositionPath const& path, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const
+ template <typename D> auto consume_Windows_UI_Composition_IPathKeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Composition_IPointLight<D>::Color() const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IPointLight<D>::ConstantAttenuation() const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight<D>::ConstantAttenuation() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->get_ConstantAttenuation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight<D>::ConstantAttenuation(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight<D>::ConstantAttenuation(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->put_ConstantAttenuation(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_IPointLight<D>::CoordinateSpace() const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight<D>::CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight<D>::CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->put_CoordinateSpace(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IPointLight<D>::LinearAttenuation() const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight<D>::LinearAttenuation() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->get_LinearAttenuation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight<D>::LinearAttenuation(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight<D>::LinearAttenuation(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->put_LinearAttenuation(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IPointLight<D>::Offset() const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight<D>::Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IPointLight<D>::QuadraticAttenuation() const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight<D>::QuadraticAttenuation() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->get_QuadraticAttenuation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight<D>::QuadraticAttenuation(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight<D>::QuadraticAttenuation(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight)->put_QuadraticAttenuation(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IPointLight2<D>::Intensity() const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight2<D>::Intensity() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight2)->get_Intensity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight2<D>::Intensity(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight2<D>::Intensity(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight2)->put_Intensity(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IPointLight3<D>::MinAttenuationCutoff() const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight3<D>::MinAttenuationCutoff() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight3)->get_MinAttenuationCutoff(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight3<D>::MinAttenuationCutoff(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight3<D>::MinAttenuationCutoff(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight3)->put_MinAttenuationCutoff(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IPointLight3<D>::MaxAttenuationCutoff() const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight3<D>::MaxAttenuationCutoff() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight3)->get_MaxAttenuationCutoff(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IPointLight3<D>::MaxAttenuationCutoff(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IPointLight3<D>::MaxAttenuationCutoff(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPointLight3)->put_MaxAttenuationCutoff(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_IPowerEasingFunction<D>::Mode() const
+ template <typename D> auto consume_Windows_UI_Composition_IPowerEasingFunction<D>::Mode() const
{
winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPowerEasingFunction)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IPowerEasingFunction<D>::Power() const
+ template <typename D> auto consume_Windows_UI_Composition_IPowerEasingFunction<D>::Power() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IPowerEasingFunction)->get_Power(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IQuaternionKeyFrameAnimation<D>::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::quaternion const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IQuaternionKeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IQuaternionKeyFrameAnimation<D>::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::quaternion const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const
+ template <typename D> auto consume_Windows_UI_Composition_IQuaternionKeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IRectangleClip<D>::Bottom() const
+ template <typename D> auto consume_Windows_UI_Composition_IRectangleClip<D>::Bottom() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_Bottom(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip<D>::Bottom(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IRectangleClip<D>::Bottom(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_Bottom(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IRectangleClip<D>::BottomLeftRadius() const
+ template <typename D> auto consume_Windows_UI_Composition_IRectangleClip<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip<D>::BottomLeftRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IRectangleClip<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IRectangleClip<D>::BottomRightRadius() const
+ template <typename D> auto consume_Windows_UI_Composition_IRectangleClip<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip<D>::BottomRightRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IRectangleClip<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IRectangleClip<D>::Left() const
+ template <typename D> auto consume_Windows_UI_Composition_IRectangleClip<D>::Left() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_Left(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip<D>::Left(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IRectangleClip<D>::Left(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_Left(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IRectangleClip<D>::Right() const
+ template <typename D> auto consume_Windows_UI_Composition_IRectangleClip<D>::Right() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_Right(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip<D>::Right(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IRectangleClip<D>::Right(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_Right(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IRectangleClip<D>::Top() const
+ template <typename D> auto consume_Windows_UI_Composition_IRectangleClip<D>::Top() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->get_Top(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip<D>::Top(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IRectangleClip<D>::Top(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRectangleClip)->put_Top(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IRectangleClip<D>::TopLeftRadius() const
+ template <typename D> auto consume_Windows_UI_Composition_IRectangleClip<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip<D>::TopLeftRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IRectangleClip<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IRectangleClip<D>::TopRightRadius() const
+ template <typename D> auto consume_Windows_UI_Composition_IRectangleClip<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRectangleClip<D>::TopRightRadius(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IRectangleClip<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_IRedirectVisual<D>::Source() const
+ template <typename D> auto consume_Windows_UI_Composition_IRedirectVisual<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IRedirectVisual<D>::Source(winrt::Windows::UI::Composition::Visual const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IRedirectVisual<D>::Source(winrt::Windows::UI::Composition::Visual const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IRedirectVisual)->put_Source(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGraphicsDevice) consume_Windows_UI_Composition_IRenderingDeviceReplacedEventArgs<D>::GraphicsDevice() const
+ template <typename D> auto consume_Windows_UI_Composition_IRenderingDeviceReplacedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IScalarKeyFrameAnimation<D>::InsertKeyFrame(float normalizedProgressKey, float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IScalarKeyFrameAnimation<D>::InsertKeyFrame(float normalizedProgressKey, float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IScalarKeyFrameAnimation)->InsertKeyFrame(normalizedProgressKey, value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IScalarKeyFrameAnimation<D>::InsertKeyFrame(float normalizedProgressKey, float value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const
+ template <typename D> auto consume_Windows_UI_Composition_IScalarKeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) consume_Windows_UI_Composition_IScalarNaturalMotionAnimation<D>::FinalValue() const
+ template <typename D> auto consume_Windows_UI_Composition_IScalarNaturalMotionAnimation<D>::FinalValue() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IScalarNaturalMotionAnimation)->get_FinalValue(&value));
return winrt::Windows::Foundation::IReference<float>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IScalarNaturalMotionAnimation<D>::FinalValue(winrt::Windows::Foundation::IReference<float> const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IScalarNaturalMotionAnimation<D>::FinalValue(winrt::Windows::Foundation::IReference<float> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IScalarNaturalMotionAnimation)->put_FinalValue(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) consume_Windows_UI_Composition_IScalarNaturalMotionAnimation<D>::InitialValue() const
+ template <typename D> auto consume_Windows_UI_Composition_IScalarNaturalMotionAnimation<D>::InitialValue() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IScalarNaturalMotionAnimation)->get_InitialValue(&value));
return winrt::Windows::Foundation::IReference<float>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IScalarNaturalMotionAnimation<D>::InitialValue(winrt::Windows::Foundation::IReference<float> const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IScalarNaturalMotionAnimation<D>::InitialValue(winrt::Windows::Foundation::IReference<float> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IScalarNaturalMotionAnimation)->put_InitialValue(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IScalarNaturalMotionAnimation<D>::InitialVelocity() const
+ template <typename D> auto consume_Windows_UI_Composition_IScalarNaturalMotionAnimation<D>::InitialVelocity() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IScalarNaturalMotionAnimation)->get_InitialVelocity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IScalarNaturalMotionAnimation<D>::InitialVelocity(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IScalarNaturalMotionAnimation<D>::InitialVelocity(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IScalarNaturalMotionAnimation)->put_InitialVelocity(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionShapeCollection) consume_Windows_UI_Composition_IShapeVisual<D>::Shapes() const
+ template <typename D> auto consume_Windows_UI_Composition_IShapeVisual<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionViewBox) consume_Windows_UI_Composition_IShapeVisual<D>::ViewBox() const
+ template <typename D> auto consume_Windows_UI_Composition_IShapeVisual<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IShapeVisual<D>::ViewBox(winrt::Windows::UI::Composition::CompositionViewBox const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IShapeVisual<D>::ViewBox(winrt::Windows::UI::Composition::CompositionViewBox const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IShapeVisual)->put_ViewBox(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) consume_Windows_UI_Composition_ISineEasingFunction<D>::Mode() const
+ template <typename D> auto consume_Windows_UI_Composition_ISineEasingFunction<D>::Mode() const
{
winrt::Windows::UI::Composition::CompositionEasingFunctionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISineEasingFunction)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight<D>::ConstantAttenuation() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::ConstantAttenuation() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_ConstantAttenuation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight<D>::ConstantAttenuation(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::ConstantAttenuation(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_ConstantAttenuation(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_ISpotLight<D>::CoordinateSpace() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight<D>::CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::CoordinateSpace(winrt::Windows::UI::Composition::Visual const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_CoordinateSpace(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_ISpotLight<D>::Direction() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight<D>::Direction(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight<D>::InnerConeAngle() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::InnerConeAngle() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_InnerConeAngle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight<D>::InnerConeAngle(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::InnerConeAngle(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_InnerConeAngle(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight<D>::InnerConeAngleInDegrees() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::InnerConeAngleInDegrees() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_InnerConeAngleInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight<D>::InnerConeAngleInDegrees(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::InnerConeAngleInDegrees(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_InnerConeAngleInDegrees(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Composition_ISpotLight<D>::InnerConeColor() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight<D>::InnerConeColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight<D>::LinearAttenuation() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::LinearAttenuation() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_LinearAttenuation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight<D>::LinearAttenuation(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::LinearAttenuation(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_LinearAttenuation(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_ISpotLight<D>::Offset() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight<D>::Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight<D>::OuterConeAngle() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::OuterConeAngle() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_OuterConeAngle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight<D>::OuterConeAngle(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::OuterConeAngle(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_OuterConeAngle(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight<D>::OuterConeAngleInDegrees() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::OuterConeAngleInDegrees() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_OuterConeAngleInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight<D>::OuterConeAngleInDegrees(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::OuterConeAngleInDegrees(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_OuterConeAngleInDegrees(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Composition_ISpotLight<D>::OuterConeColor() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight<D>::OuterConeColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight<D>::QuadraticAttenuation() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::QuadraticAttenuation() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->get_QuadraticAttenuation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight<D>::QuadraticAttenuation(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight<D>::QuadraticAttenuation(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight)->put_QuadraticAttenuation(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight2<D>::InnerConeIntensity() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight2<D>::InnerConeIntensity() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight2)->get_InnerConeIntensity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight2<D>::InnerConeIntensity(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight2<D>::InnerConeIntensity(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight2)->put_InnerConeIntensity(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight2<D>::OuterConeIntensity() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight2<D>::OuterConeIntensity() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight2)->get_OuterConeIntensity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight2<D>::OuterConeIntensity(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight2<D>::OuterConeIntensity(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight2)->put_OuterConeIntensity(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight3<D>::MinAttenuationCutoff() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight3<D>::MinAttenuationCutoff() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight3)->get_MinAttenuationCutoff(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight3<D>::MinAttenuationCutoff(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight3<D>::MinAttenuationCutoff(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight3)->put_MinAttenuationCutoff(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpotLight3<D>::MaxAttenuationCutoff() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight3<D>::MaxAttenuationCutoff() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight3)->get_MaxAttenuationCutoff(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpotLight3<D>::MaxAttenuationCutoff(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpotLight3<D>::MaxAttenuationCutoff(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpotLight3)->put_MaxAttenuationCutoff(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpringScalarNaturalMotionAnimation<D>::DampingRatio() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpringScalarNaturalMotionAnimation<D>::DampingRatio() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringScalarNaturalMotionAnimation)->get_DampingRatio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpringScalarNaturalMotionAnimation<D>::DampingRatio(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpringScalarNaturalMotionAnimation<D>::DampingRatio(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringScalarNaturalMotionAnimation)->put_DampingRatio(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Composition_ISpringScalarNaturalMotionAnimation<D>::Period() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpringScalarNaturalMotionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpringScalarNaturalMotionAnimation<D>::Period(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpringScalarNaturalMotionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpringVector2NaturalMotionAnimation<D>::DampingRatio() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpringVector2NaturalMotionAnimation<D>::DampingRatio() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringVector2NaturalMotionAnimation)->get_DampingRatio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpringVector2NaturalMotionAnimation<D>::DampingRatio(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpringVector2NaturalMotionAnimation<D>::DampingRatio(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringVector2NaturalMotionAnimation)->put_DampingRatio(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Composition_ISpringVector2NaturalMotionAnimation<D>::Period() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpringVector2NaturalMotionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpringVector2NaturalMotionAnimation<D>::Period(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpringVector2NaturalMotionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_ISpringVector3NaturalMotionAnimation<D>::DampingRatio() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpringVector3NaturalMotionAnimation<D>::DampingRatio() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringVector3NaturalMotionAnimation)->get_DampingRatio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpringVector3NaturalMotionAnimation<D>::DampingRatio(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpringVector3NaturalMotionAnimation<D>::DampingRatio(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpringVector3NaturalMotionAnimation)->put_DampingRatio(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Composition_ISpringVector3NaturalMotionAnimation<D>::Period() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpringVector3NaturalMotionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpringVector3NaturalMotionAnimation<D>::Period(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpringVector3NaturalMotionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Composition_ISpriteVisual<D>::Brush() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpriteVisual<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpriteVisual<D>::Brush(winrt::Windows::UI::Composition::CompositionBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpriteVisual<D>::Brush(winrt::Windows::UI::Composition::CompositionBrush const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpriteVisual)->put_Brush(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionShadow) consume_Windows_UI_Composition_ISpriteVisual2<D>::Shadow() const
+ template <typename D> auto consume_Windows_UI_Composition_ISpriteVisual2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_ISpriteVisual2<D>::Shadow(winrt::Windows::UI::Composition::CompositionShadow const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_ISpriteVisual2<D>::Shadow(winrt::Windows::UI::Composition::CompositionShadow const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::ISpriteVisual2)->put_Shadow(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IStepEasingFunction<D>::FinalStep() const
+ template <typename D> auto consume_Windows_UI_Composition_IStepEasingFunction<D>::FinalStep() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->get_FinalStep(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IStepEasingFunction<D>::FinalStep(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Composition_IStepEasingFunction<D>::FinalStep(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->put_FinalStep(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IStepEasingFunction<D>::InitialStep() const
+ template <typename D> auto consume_Windows_UI_Composition_IStepEasingFunction<D>::InitialStep() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->get_InitialStep(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IStepEasingFunction<D>::InitialStep(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Composition_IStepEasingFunction<D>::InitialStep(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->put_InitialStep(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_IStepEasingFunction<D>::IsFinalStepSingleFrame() const
+ template <typename D> auto consume_Windows_UI_Composition_IStepEasingFunction<D>::IsFinalStepSingleFrame() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->get_IsFinalStepSingleFrame(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IStepEasingFunction<D>::IsFinalStepSingleFrame(bool value) const
+ template <typename D> auto consume_Windows_UI_Composition_IStepEasingFunction<D>::IsFinalStepSingleFrame(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->put_IsFinalStepSingleFrame(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_IStepEasingFunction<D>::IsInitialStepSingleFrame() const
+ template <typename D> auto consume_Windows_UI_Composition_IStepEasingFunction<D>::IsInitialStepSingleFrame() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->get_IsInitialStepSingleFrame(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IStepEasingFunction<D>::IsInitialStepSingleFrame(bool value) const
+ template <typename D> auto consume_Windows_UI_Composition_IStepEasingFunction<D>::IsInitialStepSingleFrame(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->put_IsInitialStepSingleFrame(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IStepEasingFunction<D>::StepCount() const
+ template <typename D> auto consume_Windows_UI_Composition_IStepEasingFunction<D>::StepCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->get_StepCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IStepEasingFunction<D>::StepCount(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Composition_IStepEasingFunction<D>::StepCount(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IStepEasingFunction)->put_StepCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector2KeyFrameAnimation<D>::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVector2KeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector2KeyFrameAnimation<D>::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float2 const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const
+ template <typename D> auto consume_Windows_UI_Composition_IVector2KeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float2>) consume_Windows_UI_Composition_IVector2NaturalMotionAnimation<D>::FinalValue() const
+ template <typename D> auto consume_Windows_UI_Composition_IVector2NaturalMotionAnimation<D>::FinalValue() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector2NaturalMotionAnimation)->get_FinalValue(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float2>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector2NaturalMotionAnimation<D>::FinalValue(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float2> const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVector2NaturalMotionAnimation<D>::FinalValue(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float2> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector2NaturalMotionAnimation)->put_FinalValue(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float2>) consume_Windows_UI_Composition_IVector2NaturalMotionAnimation<D>::InitialValue() const
+ template <typename D> auto consume_Windows_UI_Composition_IVector2NaturalMotionAnimation<D>::InitialValue() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector2NaturalMotionAnimation)->get_InitialValue(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float2>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector2NaturalMotionAnimation<D>::InitialValue(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float2> const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVector2NaturalMotionAnimation<D>::InitialValue(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float2> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector2NaturalMotionAnimation)->put_InitialValue(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IVector2NaturalMotionAnimation<D>::InitialVelocity() const
+ template <typename D> auto consume_Windows_UI_Composition_IVector2NaturalMotionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector2NaturalMotionAnimation<D>::InitialVelocity(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVector2NaturalMotionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector3KeyFrameAnimation<D>::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVector3KeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector3KeyFrameAnimation<D>::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float3 const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const
+ template <typename D> auto consume_Windows_UI_Composition_IVector3KeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>) consume_Windows_UI_Composition_IVector3NaturalMotionAnimation<D>::FinalValue() const
+ template <typename D> auto consume_Windows_UI_Composition_IVector3NaturalMotionAnimation<D>::FinalValue() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector3NaturalMotionAnimation)->get_FinalValue(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector3NaturalMotionAnimation<D>::FinalValue(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3> const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVector3NaturalMotionAnimation<D>::FinalValue(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector3NaturalMotionAnimation)->put_FinalValue(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>) consume_Windows_UI_Composition_IVector3NaturalMotionAnimation<D>::InitialValue() const
+ template <typename D> auto consume_Windows_UI_Composition_IVector3NaturalMotionAnimation<D>::InitialValue() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector3NaturalMotionAnimation)->get_InitialValue(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector3NaturalMotionAnimation<D>::InitialValue(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3> const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVector3NaturalMotionAnimation<D>::InitialValue(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVector3NaturalMotionAnimation)->put_InitialValue(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IVector3NaturalMotionAnimation<D>::InitialVelocity() const
+ template <typename D> auto consume_Windows_UI_Composition_IVector3NaturalMotionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector3NaturalMotionAnimation<D>::InitialVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVector3NaturalMotionAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector4KeyFrameAnimation<D>::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float4 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVector4KeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVector4KeyFrameAnimation<D>::InsertKeyFrame(float normalizedProgressKey, winrt::Windows::Foundation::Numerics::float4 const& value, winrt::Windows::UI::Composition::CompositionEasingFunction const& easingFunction) const
+ template <typename D> auto consume_Windows_UI_Composition_IVector4KeyFrameAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IVisual<D>::AnchorPoint() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual<D>::AnchorPoint(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBackfaceVisibility) consume_Windows_UI_Composition_IVisual<D>::BackfaceVisibility() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::BackfaceVisibility() const
{
winrt::Windows::UI::Composition::CompositionBackfaceVisibility value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_BackfaceVisibility(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual<D>::BackfaceVisibility(winrt::Windows::UI::Composition::CompositionBackfaceVisibility const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::BackfaceVisibility(winrt::Windows::UI::Composition::CompositionBackfaceVisibility const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_BackfaceVisibility(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBorderMode) consume_Windows_UI_Composition_IVisual<D>::BorderMode() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::BorderMode() const
{
winrt::Windows::UI::Composition::CompositionBorderMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_BorderMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual<D>::BorderMode(winrt::Windows::UI::Composition::CompositionBorderMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::BorderMode(winrt::Windows::UI::Composition::CompositionBorderMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_BorderMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IVisual<D>::CenterPoint() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual<D>::CenterPoint(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionClip) consume_Windows_UI_Composition_IVisual<D>::Clip() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual<D>::Clip(winrt::Windows::UI::Composition::CompositionClip const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::Clip(winrt::Windows::UI::Composition::CompositionClip const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_Clip(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionCompositeMode) consume_Windows_UI_Composition_IVisual<D>::CompositeMode() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::CompositeMode() const
{
winrt::Windows::UI::Composition::CompositionCompositeMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_CompositeMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual<D>::CompositeMode(winrt::Windows::UI::Composition::CompositionCompositeMode const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::CompositeMode(winrt::Windows::UI::Composition::CompositionCompositeMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_CompositeMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_IVisual<D>::IsVisible() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::IsVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_IsVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual<D>::IsVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::IsVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_IsVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IVisual<D>::Offset() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual<D>::Offset(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IVisual<D>::Opacity() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::Opacity() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_Opacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual<D>::Opacity(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::Opacity(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_Opacity(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_UI_Composition_IVisual<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual<D>::Orientation(winrt::Windows::Foundation::Numerics::quaternion const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ContainerVisual) consume_Windows_UI_Composition_IVisual<D>::Parent() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IVisual<D>::RotationAngle() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::RotationAngle() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_RotationAngle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual<D>::RotationAngle(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::RotationAngle(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_RotationAngle(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Composition_IVisual<D>::RotationAngleInDegrees() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::RotationAngleInDegrees() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->get_RotationAngleInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual<D>::RotationAngleInDegrees(float value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::RotationAngleInDegrees(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual)->put_RotationAngleInDegrees(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IVisual<D>::RotationAxis() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual<D>::RotationAxis(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IVisual<D>::Scale() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual<D>::Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IVisual<D>::Size() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual<D>::Size(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) consume_Windows_UI_Composition_IVisual<D>::TransformMatrix() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual<D>::TransformMatrix(winrt::Windows::Foundation::Numerics::float4x4 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_IVisual2<D>::ParentForTransform() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual2<D>::ParentForTransform(winrt::Windows::UI::Composition::Visual const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual2<D>::ParentForTransform(winrt::Windows::UI::Composition::Visual const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual2)->put_ParentForTransform(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Composition_IVisual2<D>::RelativeOffsetAdjustment() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual2<D>::RelativeOffsetAdjustment(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Composition_IVisual2<D>::RelativeSizeAdjustment() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual2<D>::RelativeSizeAdjustment(winrt::Windows::Foundation::Numerics::float2 const& value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_IVisual3<D>::IsHitTestVisible() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual3<D>::IsHitTestVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual3)->get_IsHitTestVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual3<D>::IsHitTestVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual3<D>::IsHitTestVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual3)->put_IsHitTestVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Composition_IVisual4<D>::IsPixelSnappingEnabled() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual4<D>::IsPixelSnappingEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual4)->get_IsPixelSnappingEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisual4<D>::IsPixelSnappingEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisual4<D>::IsPixelSnappingEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisual4)->put_IsPixelSnappingEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IVisualCollection<D>::Count() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisualCollection<D>::Count() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualCollection)->get_Count(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualCollection<D>::InsertAbove(winrt::Windows::UI::Composition::Visual const& newChild, winrt::Windows::UI::Composition::Visual const& sibling) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisualCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualCollection<D>::InsertAtBottom(winrt::Windows::UI::Composition::Visual const& newChild) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisualCollection<D>::InsertAtBottom(winrt::Windows::UI::Composition::Visual const& newChild) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualCollection)->InsertAtBottom(*(void**)(&newChild)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualCollection<D>::InsertAtTop(winrt::Windows::UI::Composition::Visual const& newChild) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisualCollection<D>::InsertAtTop(winrt::Windows::UI::Composition::Visual const& newChild) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualCollection)->InsertAtTop(*(void**)(&newChild)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualCollection<D>::InsertBelow(winrt::Windows::UI::Composition::Visual const& newChild, winrt::Windows::UI::Composition::Visual const& sibling) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisualCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualCollection<D>::Remove(winrt::Windows::UI::Composition::Visual const& child) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisualCollection<D>::Remove(winrt::Windows::UI::Composition::Visual const& child) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualCollection)->Remove(*(void**)(&child)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualCollection<D>::RemoveAll() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisualCollection<D>::RemoveAll() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualCollection)->RemoveAll());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Composition_IVisualElement2<D>::GetVisualInternal() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisualElement2<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Composition_IVisualUnorderedCollection<D>::Count() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisualUnorderedCollection<D>::Count() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualUnorderedCollection)->get_Count(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualUnorderedCollection<D>::Add(winrt::Windows::UI::Composition::Visual const& newVisual) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisualUnorderedCollection<D>::Add(winrt::Windows::UI::Composition::Visual const& newVisual) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualUnorderedCollection)->Add(*(void**)(&newVisual)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualUnorderedCollection<D>::Remove(winrt::Windows::UI::Composition::Visual const& visual) const
+ template <typename D> auto consume_Windows_UI_Composition_IVisualUnorderedCollection<D>::Remove(winrt::Windows::UI::Composition::Visual const& visual) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualUnorderedCollection)->Remove(*(void**)(&visual)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Composition_IVisualUnorderedCollection<D>::RemoveAll() const
+ template <typename D> auto consume_Windows_UI_Composition_IVisualUnorderedCollection<D>::RemoveAll() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Composition::IVisualUnorderedCollection)->RemoveAll());
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.AnimationMetrics.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.AnimationMetrics.h
index 7bc83faeb41..9b34cc53cf9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.AnimationMetrics.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Core::AnimationMetrics::IPropertyAnimation>) consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription<D>::Animations() const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription<D>::Animations() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IAnimationDescription)->get_Animations(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Core::AnimationMetrics::IPropertyAnimation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription<D>::StaggerDelay() const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription<D>::StaggerDelayFactor() const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription<D>::StaggerDelayFactor() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IAnimationDescription)->get_StaggerDelayFactor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription<D>::DelayLimit() const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription<D>::ZOrder() const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription<D>::ZOrder() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IAnimationDescription)->get_ZOrder(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::AnimationMetrics::AnimationDescription) consume_Windows_UI_Core_AnimationMetrics_IAnimationDescriptionFactory<D>::CreateInstance(winrt::Windows::UI::Core::AnimationMetrics::AnimationEffect const& effect, winrt::Windows::UI::Core::AnimationMetrics::AnimationEffectTarget const& target) const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IAnimationDescriptionFactory<D>::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<int32_t>(effect), static_cast<int32_t>(target), &animation));
return winrt::Windows::UI::Core::AnimationMetrics::AnimationDescription{ animation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) consume_Windows_UI_Core_AnimationMetrics_IOpacityAnimation<D>::InitialOpacity() const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IOpacityAnimation<D>::InitialOpacity() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IOpacityAnimation)->get_InitialOpacity(&value));
return winrt::Windows::Foundation::IReference<float>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Core_AnimationMetrics_IOpacityAnimation<D>::FinalOpacity() const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IOpacityAnimation<D>::FinalOpacity() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IOpacityAnimation)->get_FinalOpacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::AnimationMetrics::PropertyAnimationType) consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation<D>::Type() const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation<D>::Type() const
{
winrt::Windows::UI::Core::AnimationMetrics::PropertyAnimationType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IPropertyAnimation)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation<D>::Delay() const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation<D>::Duration() const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation<D>::Control1() const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation<D>::Control2() const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IPropertyAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation<D>::InitialScaleX() const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation<D>::InitialScaleX() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IScaleAnimation)->get_InitialScaleX(&value));
return winrt::Windows::Foundation::IReference<float>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation<D>::InitialScaleY() const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation<D>::InitialScaleY() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IScaleAnimation)->get_InitialScaleY(&value));
return winrt::Windows::Foundation::IReference<float>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation<D>::FinalScaleX() const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation<D>::FinalScaleX() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IScaleAnimation)->get_FinalScaleX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation<D>::FinalScaleY() const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation<D>::FinalScaleY() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::AnimationMetrics::IScaleAnimation)->get_FinalScaleY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation<D>::NormalizedOrigin() const
+ template <typename D> auto consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.Preview.Communications.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.Preview.Communications.h
index 3780429bd4e..a4966e1ed95 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.Preview.Communications.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamCleanupRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamCleanupRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::Preview::Communications::PreviewTeamViewCommand) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamCommandInvokedEventArgs<D>::Command() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamCommandInvokedEventArgs<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamDeviceCredentials<D>::UserPrincipalName() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamDeviceCredentials<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamDeviceCredentials<D>::DomainUserName() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamDeviceCredentials<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamDeviceCredentials<D>::Password() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamDeviceCredentials<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamEndMeetingRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamEndMeetingRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamJoinMeetingRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamJoinMeetingRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamJoinMeetingRequestedEventArgs<D>::MeetingUri() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamJoinMeetingRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::SetTitle(param::hstring const& title) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::SetTitle(param::hstring const& title) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->SetTitle(*(void**)(&title)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::EnterFullScreen() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::EnterFullScreen() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->EnterFullScreen());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::LeaveFullScreen() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::LeaveFullScreen() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->LeaveFullScreen());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::RequestForeground() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::RequestForeground() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->RequestForeground());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::StartSharingScreen() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::StartSharingScreen() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->StartSharingScreen());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::StopSharingScreen() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::StopSharingScreen() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->StopSharingScreen());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::NotifyMeetingEnded(winrt::Windows::UI::Core::Preview::Communications::PreviewTeamEndMeetingKind const& kind) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::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<int32_t>(kind)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::JoinMeetingWithUri(winrt::Windows::Foundation::Uri const& meetingUri) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::JoinMeetingWithUri(winrt::Windows::Foundation::Uri const& meetingUri) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->JoinMeetingWithUri(*(void**)(&meetingUri)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::MeetingUri() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::SharingScreenBounds() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::IsScreenSharing() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::IsScreenSharing() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->get_IsScreenSharing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::IsFullScreen() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::IsFullScreen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView)->get_IsFullScreen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::Preview::Communications::PreviewSystemState) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::SystemState() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::Preview::Communications::PreviewMeetingInfoDisplayKind) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::MeetingInfoDisplayType() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::JoinMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamJoinMeetingRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::JoinMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamJoinMeetingRequestedEventArgs> 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 D> typename consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::JoinMeetingRequested_revoker consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::JoinMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamJoinMeetingRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::JoinMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamJoinMeetingRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, JoinMeetingRequested_revoker>(this, JoinMeetingRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::JoinMeetingRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::EndMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamEndMeetingRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::EndMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamEndMeetingRequestedEventArgs> 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 D> typename consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::EndMeetingRequested_revoker consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::EndMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamEndMeetingRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::EndMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamEndMeetingRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, EndMeetingRequested_revoker>(this, EndMeetingRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::EndMeetingRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::CleanupRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamCleanupRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::CleanupRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamCleanupRequestedEventArgs> 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 D> typename consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::CleanupRequested_revoker consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::CleanupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamCleanupRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::CleanupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamCleanupRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CleanupRequested_revoker>(this, CleanupRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::CleanupRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::SharingScreenBoundsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::SharingScreenBoundsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::SharingScreenBoundsChanged_revoker consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::SharingScreenBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::SharingScreenBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SharingScreenBoundsChanged_revoker>(this, SharingScreenBoundsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::SharingScreenBoundsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::IsScreenSharingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::IsScreenSharingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::IsScreenSharingChanged_revoker consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::IsScreenSharingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::IsScreenSharingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, IsScreenSharingChanged_revoker>(this, IsScreenSharingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::IsScreenSharingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::IsFullScreenChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::IsFullScreenChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::IsFullScreenChanged_revoker consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::IsFullScreenChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::IsFullScreenChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, IsFullScreenChanged_revoker>(this, IsFullScreenChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::IsFullScreenChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::CommandInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamCommandInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::CommandInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamCommandInvokedEventArgs> 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 D> typename consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::CommandInvoked_revoker consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::CommandInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamCommandInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::CommandInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamCommandInvokedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CommandInvoked_revoker>(this, CommandInvoked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::CommandInvoked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::SystemStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::SystemStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::SystemStateChanged_revoker consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::SystemStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::SystemStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SystemStateChanged_revoker>(this, SystemStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::SystemStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView2<D>::SetButtonLabel(param::hstring const& label) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamView2<D>::SetButtonLabel(param::hstring const& label) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView2)->SetButtonLabel(*(void**)(&label)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView) consume_Windows_UI_Core_Preview_Communications_IPreviewTeamViewStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_Communications_IPreviewTeamViewStatics<D>::GetForCurrentView() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamViewStatics)->GetForCurrentView(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.Preview.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.Preview.h
index 6b0ff9c0074..0265978254a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.Preview.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Core_Preview_ICoreAppWindowPreviewStatics<D>::GetIdFromWindow(winrt::Windows::UI::WindowManagement::AppWindow const& window) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_ICoreAppWindowPreviewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_Preview_ISystemNavigationCloseRequestedPreviewEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_ISystemNavigationCloseRequestedPreviewEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::ISystemNavigationCloseRequestedPreviewEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_ISystemNavigationCloseRequestedPreviewEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_ISystemNavigationCloseRequestedPreviewEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::ISystemNavigationCloseRequestedPreviewEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Core_Preview_ISystemNavigationCloseRequestedPreviewEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_ISystemNavigationCloseRequestedPreviewEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreview<D>::CloseRequested(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Core::Preview::SystemNavigationCloseRequestedPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreview<D>::CloseRequested(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Core::Preview::SystemNavigationCloseRequestedPreviewEventArgs> 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 D> typename consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreview<D>::CloseRequested_revoker consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreview<D>::CloseRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Core::Preview::SystemNavigationCloseRequestedPreviewEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreview<D>::CloseRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Core::Preview::SystemNavigationCloseRequestedPreviewEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CloseRequested_revoker>(this, CloseRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreview<D>::CloseRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreview<D>::CloseRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::ISystemNavigationManagerPreview)->remove_CloseRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::Preview::SystemNavigationManagerPreview) consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreviewStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreviewStatics<D>::GetForCurrentView() const
{
void* loader{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::Preview::ISystemNavigationManagerPreviewStatics)->GetForCurrentView(&loader));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.h
index 623dca5e9c7..db9e5b39afb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreAcceleratorKeyEventType) consume_Windows_UI_Core_IAcceleratorKeyEventArgs<D>::EventType() const
+ template <typename D> auto consume_Windows_UI_Core_IAcceleratorKeyEventArgs<D>::EventType() const
{
winrt::Windows::UI::Core::CoreAcceleratorKeyEventType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IAcceleratorKeyEventArgs)->get_EventType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_UI_Core_IAcceleratorKeyEventArgs<D>::VirtualKey() const
+ template <typename D> auto consume_Windows_UI_Core_IAcceleratorKeyEventArgs<D>::VirtualKey() const
{
winrt::Windows::System::VirtualKey value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IAcceleratorKeyEventArgs)->get_VirtualKey(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) consume_Windows_UI_Core_IAcceleratorKeyEventArgs<D>::KeyStatus() const
+ template <typename D> auto consume_Windows_UI_Core_IAcceleratorKeyEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_IAcceleratorKeyEventArgs2<D>::DeviceId() const
+ template <typename D> auto consume_Windows_UI_Core_IAcceleratorKeyEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Core_IAutomationProviderRequestedEventArgs<D>::AutomationProvider() const
+ template <typename D> auto consume_Windows_UI_Core_IAutomationProviderRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_IAutomationProviderRequestedEventArgs<D>::AutomationProvider(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Core_IAutomationProviderRequestedEventArgs<D>::AutomationProvider(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IAutomationProviderRequestedEventArgs)->put_AutomationProvider(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_IBackRequestedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Core_IBackRequestedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IBackRequestedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_IBackRequestedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Core_IBackRequestedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IBackRequestedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Core_ICharacterReceivedEventArgs<D>::KeyCode() const
+ template <typename D> auto consume_Windows_UI_Core_ICharacterReceivedEventArgs<D>::KeyCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICharacterReceivedEventArgs)->get_KeyCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) consume_Windows_UI_Core_ICharacterReceivedEventArgs<D>::KeyStatus() const
+ template <typename D> auto consume_Windows_UI_Core_ICharacterReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Core_IClosestInteractiveBoundsRequestedEventArgs<D>::PointerPosition() const
+ template <typename D> auto consume_Windows_UI_Core_IClosestInteractiveBoundsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Core_IClosestInteractiveBoundsRequestedEventArgs<D>::SearchBounds() const
+ template <typename D> auto consume_Windows_UI_Core_IClosestInteractiveBoundsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Core_IClosestInteractiveBoundsRequestedEventArgs<D>::ClosestInteractiveBounds() const
+ template <typename D> auto consume_Windows_UI_Core_IClosestInteractiveBoundsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_IClosestInteractiveBoundsRequestedEventArgs<D>::ClosestInteractiveBounds(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_UI_Core_IClosestInteractiveBoundsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreAcceleratorKeys<D>::AcceleratorKeyActivated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreDispatcher, winrt::Windows::UI::Core::AcceleratorKeyEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreAcceleratorKeys<D>::AcceleratorKeyActivated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreDispatcher, winrt::Windows::UI::Core::AcceleratorKeyEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreAcceleratorKeys<D>::AcceleratorKeyActivated_revoker consume_Windows_UI_Core_ICoreAcceleratorKeys<D>::AcceleratorKeyActivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreDispatcher, winrt::Windows::UI::Core::AcceleratorKeyEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreAcceleratorKeys<D>::AcceleratorKeyActivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreDispatcher, winrt::Windows::UI::Core::AcceleratorKeyEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AcceleratorKeyActivated_revoker>(this, AcceleratorKeyActivated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreAcceleratorKeys<D>::AcceleratorKeyActivated(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreAcceleratorKeys<D>::AcceleratorKeyActivated(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreAcceleratorKeys)->remove_AcceleratorKeyActivated(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreClosestInteractiveBoundsRequested<D>::ClosestInteractiveBoundsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreComponentInputSource, winrt::Windows::UI::Core::ClosestInteractiveBoundsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreClosestInteractiveBoundsRequested<D>::ClosestInteractiveBoundsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreComponentInputSource, winrt::Windows::UI::Core::ClosestInteractiveBoundsRequestedEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreClosestInteractiveBoundsRequested<D>::ClosestInteractiveBoundsRequested_revoker consume_Windows_UI_Core_ICoreClosestInteractiveBoundsRequested<D>::ClosestInteractiveBoundsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreComponentInputSource, winrt::Windows::UI::Core::ClosestInteractiveBoundsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreClosestInteractiveBoundsRequested<D>::ClosestInteractiveBoundsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreComponentInputSource, winrt::Windows::UI::Core::ClosestInteractiveBoundsRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ClosestInteractiveBoundsRequested_revoker>(this, ClosestInteractiveBoundsRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreClosestInteractiveBoundsRequested<D>::ClosestInteractiveBoundsRequested(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreClosestInteractiveBoundsRequested<D>::ClosestInteractiveBoundsRequested(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreClosestInteractiveBoundsRequested)->remove_ClosestInteractiveBoundsRequested(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreComponentFocusable<D>::HasFocus() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreComponentFocusable<D>::HasFocus() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreComponentFocusable)->get_HasFocus(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreComponentFocusable<D>::GotFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreComponentFocusable<D>::GotFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CoreWindowEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreComponentFocusable<D>::GotFocus_revoker consume_Windows_UI_Core_ICoreComponentFocusable<D>::GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreComponentFocusable<D>::GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const
{
return impl::make_event_revoker<D, GotFocus_revoker>(this, GotFocus(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreComponentFocusable<D>::GotFocus(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreComponentFocusable<D>::GotFocus(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreComponentFocusable)->remove_GotFocus(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreComponentFocusable<D>::LostFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreComponentFocusable<D>::LostFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CoreWindowEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreComponentFocusable<D>::LostFocus_revoker consume_Windows_UI_Core_ICoreComponentFocusable<D>::LostFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreComponentFocusable<D>::LostFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const
{
return impl::make_event_revoker<D, LostFocus_revoker>(this, LostFocus(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreComponentFocusable<D>::LostFocus(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreComponentFocusable<D>::LostFocus(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreComponentFocusable)->remove_LostFocus(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Core_ICoreCursor<D>::Id() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreCursor<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreCursor)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreCursorType) consume_Windows_UI_Core_ICoreCursor<D>::Type() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreCursor<D>::Type() const
{
winrt::Windows::UI::Core::CoreCursorType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreCursor)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreCursor) consume_Windows_UI_Core_ICoreCursorFactory<D>::CreateCursor(winrt::Windows::UI::Core::CoreCursorType const& type, uint32_t id) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreCursorFactory<D>::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<int32_t>(type), id, &cursor));
return winrt::Windows::UI::Core::CoreCursor{ cursor, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreDispatcher<D>::HasThreadAccess() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreDispatcher<D>::HasThreadAccess() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcher)->get_HasThreadAccess(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreDispatcher<D>::ProcessEvents(winrt::Windows::UI::Core::CoreProcessEventsOption const& options) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreDispatcher<D>::ProcessEvents(winrt::Windows::UI::Core::CoreProcessEventsOption const& options) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcher)->ProcessEvents(static_cast<int32_t>(options)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Core_ICoreDispatcher<D>::RunAsync(winrt::Windows::UI::Core::CoreDispatcherPriority const& priority, winrt::Windows::UI::Core::DispatchedHandler const& agileCallback) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreDispatcher<D>::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<int32_t>(priority), *(void**)(&agileCallback), &asyncAction));
return winrt::Windows::Foundation::IAsyncAction{ asyncAction, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Core_ICoreDispatcher<D>::RunIdleAsync(winrt::Windows::UI::Core::IdleDispatchedHandler const& agileCallback) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreDispatcher<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Core_ICoreDispatcher2<D>::TryRunAsync(winrt::Windows::UI::Core::CoreDispatcherPriority const& priority, winrt::Windows::UI::Core::DispatchedHandler const& agileCallback) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreDispatcher2<D>::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<int32_t>(priority), *(void**)(&agileCallback), &asyncOperation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Core_ICoreDispatcher2<D>::TryRunIdleAsync(winrt::Windows::UI::Core::IdleDispatchedHandler const& agileCallback) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreDispatcher2<D>::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<bool>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcherPriority) consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority<D>::CurrentPriority() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority<D>::CurrentPriority() const
{
winrt::Windows::UI::Core::CoreDispatcherPriority value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcherWithTaskPriority)->get_CurrentPriority(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority<D>::CurrentPriority(winrt::Windows::UI::Core::CoreDispatcherPriority const& value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority<D>::CurrentPriority(winrt::Windows::UI::Core::CoreDispatcherPriority const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcherWithTaskPriority)->put_CurrentPriority(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority<D>::ShouldYield() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority<D>::ShouldYield() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcherWithTaskPriority)->ShouldYield(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority<D>::ShouldYield(winrt::Windows::UI::Core::CoreDispatcherPriority const& priority) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority<D>::ShouldYield(winrt::Windows::UI::Core::CoreDispatcherPriority const& priority) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcherWithTaskPriority)->ShouldYieldToPriority(static_cast<int32_t>(priority), &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority<D>::StopProcessEvents() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreDispatcherWithTaskPriority<D>::StopProcessEvents() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreDispatcherWithTaskPriority)->StopProcessEvents());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) consume_Windows_UI_Core_ICoreInputSourceBase<D>::Dispatcher() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreInputSourceBase<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreInputSourceBase<D>::IsInputEnabled() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreInputSourceBase<D>::IsInputEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreInputSourceBase)->get_IsInputEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreInputSourceBase<D>::IsInputEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreInputSourceBase<D>::IsInputEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreInputSourceBase)->put_IsInputEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreInputSourceBase<D>::InputEnabled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::InputEnabledEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreInputSourceBase<D>::InputEnabled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::InputEnabledEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreInputSourceBase<D>::InputEnabled_revoker consume_Windows_UI_Core_ICoreInputSourceBase<D>::InputEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::InputEnabledEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreInputSourceBase<D>::InputEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::InputEnabledEventArgs> const& handler) const
{
return impl::make_event_revoker<D, InputEnabled_revoker>(this, InputEnabled(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreInputSourceBase<D>::InputEnabled(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreInputSourceBase<D>::InputEnabled(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreInputSourceBase)->remove_InputEnabled(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreVirtualKeyStates) consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::GetCurrentKeyState(winrt::Windows::System::VirtualKey const& virtualKey) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::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<int32_t>(virtualKey), reinterpret_cast<uint32_t*>(&KeyState)));
return KeyState;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::CharacterReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CharacterReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::CharacterReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CharacterReceivedEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::CharacterReceived_revoker consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CharacterReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CharacterReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CharacterReceived_revoker>(this, CharacterReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::CharacterReceived(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::CharacterReceived(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreKeyboardInputSource)->remove_CharacterReceived(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::KeyDown(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::KeyDown(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::KeyEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::KeyDown_revoker consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
{
return impl::make_event_revoker<D, KeyDown_revoker>(this, KeyDown(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::KeyDown(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::KeyDown(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreKeyboardInputSource)->remove_KeyDown(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::KeyUp(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::KeyUp(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::KeyEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::KeyUp_revoker consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
{
return impl::make_event_revoker<D, KeyUp_revoker>(this, KeyUp(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::KeyUp(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreKeyboardInputSource<D>::KeyUp(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreKeyboardInputSource)->remove_KeyUp(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_ICoreKeyboardInputSource2<D>::GetCurrentKeyEventDeviceId() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreKeyboardInputSource2<D>::GetCurrentKeyEventDeviceId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreKeyboardInputSource2)->GetCurrentKeyEventDeviceId(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource<D>::ReleasePointerCapture() const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::ReleasePointerCapture() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->ReleasePointerCapture());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource<D>::SetPointerCapture() const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::SetPointerCapture() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->SetPointerCapture());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICorePointerInputSource<D>::HasCapture() const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::HasCapture() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->get_HasCapture(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerPosition() const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreCursor) consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerCursor() const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerCursor(winrt::Windows::UI::Core::CoreCursor const& value) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerCursor(winrt::Windows::UI::Core::CoreCursor const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->put_PointerCursor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerCaptureLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerCaptureLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerCaptureLost_revoker consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerCaptureLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerCaptureLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerCaptureLost_revoker>(this, PointerCaptureLost(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerCaptureLost(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerCaptureLost(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->remove_PointerCaptureLost(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerEntered_revoker consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerEntered_revoker>(this, PointerEntered(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerEntered(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerEntered(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->remove_PointerEntered(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerExited_revoker consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerExited_revoker>(this, PointerExited(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerExited(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerExited(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->remove_PointerExited(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerMoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerMoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerMoved_revoker consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerMoved_revoker>(this, PointerMoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerMoved(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerMoved(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->remove_PointerMoved(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerPressed_revoker consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerPressed_revoker>(this, PointerPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerPressed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerPressed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->remove_PointerPressed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerReleased_revoker consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerReleased_revoker>(this, PointerReleased(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerReleased(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerReleased(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->remove_PointerReleased(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerWheelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerWheelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerWheelChanged_revoker consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerWheelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerWheelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerWheelChanged_revoker>(this, PointerWheelChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerWheelChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource<D>::PointerWheelChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerInputSource)->remove_PointerWheelChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_UI_Core_ICorePointerInputSource2<D>::DispatcherQueue() const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerInputSource2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedAway(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedAway(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedAway_revoker consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedAway(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedAway(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerRoutedAway_revoker>(this, PointerRoutedAway(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedAway(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedAway(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerRedirector)->remove_PointerRoutedAway(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedTo(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedTo(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedTo_revoker consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedTo(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedTo(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerRoutedTo_revoker>(this, PointerRoutedTo(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedTo(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedTo(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerRedirector)->remove_PointerRoutedTo(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedReleased_revoker consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerRoutedReleased_revoker>(this, PointerRoutedReleased(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedReleased(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICorePointerRedirector<D>::PointerRoutedReleased(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICorePointerRedirector)->remove_PointerRoutedReleased(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreTouchHitTesting<D>::TouchHitTesting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::TouchHitTestingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreTouchHitTesting<D>::TouchHitTesting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::TouchHitTestingEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreTouchHitTesting<D>::TouchHitTesting_revoker consume_Windows_UI_Core_ICoreTouchHitTesting<D>::TouchHitTesting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::TouchHitTestingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreTouchHitTesting<D>::TouchHitTesting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::TouchHitTestingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TouchHitTesting_revoker>(this, TouchHitTesting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreTouchHitTesting<D>::TouchHitTesting(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreTouchHitTesting<D>::TouchHitTesting(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreTouchHitTesting)->remove_TouchHitTesting(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Core_ICoreWindow<D>::AutomationHostProvider() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Core_ICoreWindow<D>::Bounds() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) consume_Windows_UI_Core_ICoreWindow<D>::CustomProperties() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) consume_Windows_UI_Core_ICoreWindow<D>::Dispatcher() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowFlowDirection) consume_Windows_UI_Core_ICoreWindow<D>::FlowDirection() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::FlowDirection() const
{
winrt::Windows::UI::Core::CoreWindowFlowDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->get_FlowDirection(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::FlowDirection(winrt::Windows::UI::Core::CoreWindowFlowDirection const& value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::FlowDirection(winrt::Windows::UI::Core::CoreWindowFlowDirection const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->put_FlowDirection(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreWindow<D>::IsInputEnabled() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::IsInputEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->get_IsInputEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::IsInputEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::IsInputEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->put_IsInputEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreCursor) consume_Windows_UI_Core_ICoreWindow<D>::PointerCursor() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::PointerCursor(winrt::Windows::UI::Core::CoreCursor const& value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerCursor(winrt::Windows::UI::Core::CoreCursor const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->put_PointerCursor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Core_ICoreWindow<D>::PointerPosition() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreWindow<D>::Visible() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::Visible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->get_Visible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::Activate() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::Activate() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->Activate());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::Close() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::Close() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->Close());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreVirtualKeyStates) consume_Windows_UI_Core_ICoreWindow<D>::GetAsyncKeyState(winrt::Windows::System::VirtualKey const& virtualKey) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::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<int32_t>(virtualKey), reinterpret_cast<uint32_t*>(&KeyState)));
return KeyState;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreVirtualKeyStates) consume_Windows_UI_Core_ICoreWindow<D>::GetKeyState(winrt::Windows::System::VirtualKey const& virtualKey) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::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<int32_t>(virtualKey), reinterpret_cast<uint32_t*>(&KeyState)));
return KeyState;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::ReleasePointerCapture() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::ReleasePointerCapture() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->ReleasePointerCapture());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::SetPointerCapture() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::SetPointerCapture() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->SetPointerCapture());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow<D>::Activated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::WindowActivatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::Activated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::WindowActivatedEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow<D>::Activated_revoker consume_Windows_UI_Core_ICoreWindow<D>::Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::WindowActivatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::WindowActivatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Activated_revoker>(this, Activated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::Activated(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::Activated(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_Activated(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow<D>::AutomationProviderRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::AutomationProviderRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::AutomationProviderRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::AutomationProviderRequestedEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow<D>::AutomationProviderRequested_revoker consume_Windows_UI_Core_ICoreWindow<D>::AutomationProviderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::AutomationProviderRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::AutomationProviderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::AutomationProviderRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AutomationProviderRequested_revoker>(this, AutomationProviderRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::AutomationProviderRequested(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::AutomationProviderRequested(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_AutomationProviderRequested(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow<D>::CharacterReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CharacterReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::CharacterReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CharacterReceivedEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow<D>::CharacterReceived_revoker consume_Windows_UI_Core_ICoreWindow<D>::CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CharacterReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CharacterReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CharacterReceived_revoker>(this, CharacterReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::CharacterReceived(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::CharacterReceived(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_CharacterReceived(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow<D>::Closed_revoker consume_Windows_UI_Core_ICoreWindow<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::Closed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::Closed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_Closed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow<D>::InputEnabled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::InputEnabledEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::InputEnabled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::InputEnabledEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow<D>::InputEnabled_revoker consume_Windows_UI_Core_ICoreWindow<D>::InputEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::InputEnabledEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::InputEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::InputEnabledEventArgs> const& handler) const
{
return impl::make_event_revoker<D, InputEnabled_revoker>(this, InputEnabled(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::InputEnabled(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::InputEnabled(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_InputEnabled(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow<D>::KeyDown(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::KeyDown(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::KeyEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow<D>::KeyDown_revoker consume_Windows_UI_Core_ICoreWindow<D>::KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
{
return impl::make_event_revoker<D, KeyDown_revoker>(this, KeyDown(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::KeyDown(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::KeyDown(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_KeyDown(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow<D>::KeyUp(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::KeyUp(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::KeyEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow<D>::KeyUp_revoker consume_Windows_UI_Core_ICoreWindow<D>::KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
{
return impl::make_event_revoker<D, KeyUp_revoker>(this, KeyUp(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::KeyUp(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::KeyUp(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_KeyUp(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow<D>::PointerCaptureLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerCaptureLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow<D>::PointerCaptureLost_revoker consume_Windows_UI_Core_ICoreWindow<D>::PointerCaptureLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerCaptureLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerCaptureLost_revoker>(this, PointerCaptureLost(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::PointerCaptureLost(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerCaptureLost(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_PointerCaptureLost(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow<D>::PointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow<D>::PointerEntered_revoker consume_Windows_UI_Core_ICoreWindow<D>::PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerEntered_revoker>(this, PointerEntered(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::PointerEntered(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerEntered(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_PointerEntered(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow<D>::PointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow<D>::PointerExited_revoker consume_Windows_UI_Core_ICoreWindow<D>::PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerExited_revoker>(this, PointerExited(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::PointerExited(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerExited(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_PointerExited(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow<D>::PointerMoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerMoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow<D>::PointerMoved_revoker consume_Windows_UI_Core_ICoreWindow<D>::PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerMoved_revoker>(this, PointerMoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::PointerMoved(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerMoved(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_PointerMoved(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow<D>::PointerPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow<D>::PointerPressed_revoker consume_Windows_UI_Core_ICoreWindow<D>::PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerPressed_revoker>(this, PointerPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::PointerPressed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerPressed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_PointerPressed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow<D>::PointerReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow<D>::PointerReleased_revoker consume_Windows_UI_Core_ICoreWindow<D>::PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerReleased_revoker>(this, PointerReleased(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::PointerReleased(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerReleased(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_PointerReleased(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow<D>::TouchHitTesting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::TouchHitTestingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::TouchHitTesting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::TouchHitTestingEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow<D>::TouchHitTesting_revoker consume_Windows_UI_Core_ICoreWindow<D>::TouchHitTesting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::TouchHitTestingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::TouchHitTesting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::TouchHitTestingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TouchHitTesting_revoker>(this, TouchHitTesting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::TouchHitTesting(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::TouchHitTesting(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_TouchHitTesting(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow<D>::PointerWheelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerWheelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow<D>::PointerWheelChanged_revoker consume_Windows_UI_Core_ICoreWindow<D>::PointerWheelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerWheelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerWheelChanged_revoker>(this, PointerWheelChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::PointerWheelChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::PointerWheelChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_PointerWheelChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow<D>::SizeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::WindowSizeChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::SizeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::WindowSizeChangedEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow<D>::SizeChanged_revoker consume_Windows_UI_Core_ICoreWindow<D>::SizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::WindowSizeChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::SizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::WindowSizeChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SizeChanged_revoker>(this, SizeChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::SizeChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::SizeChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_SizeChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow<D>::VisibilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::VisibilityChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::VisibilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::VisibilityChangedEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow<D>::VisibilityChanged_revoker consume_Windows_UI_Core_ICoreWindow<D>::VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::VisibilityChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::VisibilityChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, VisibilityChanged_revoker>(this, VisibilityChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow<D>::VisibilityChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow<D>::VisibilityChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow)->remove_VisibilityChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow2<D>::PointerPosition(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow3<D>::ClosestInteractiveBoundsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::ClosestInteractiveBoundsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow3<D>::ClosestInteractiveBoundsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::ClosestInteractiveBoundsRequestedEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindow3<D>::ClosestInteractiveBoundsRequested_revoker consume_Windows_UI_Core_ICoreWindow3<D>::ClosestInteractiveBoundsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::ClosestInteractiveBoundsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow3<D>::ClosestInteractiveBoundsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::ClosestInteractiveBoundsRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ClosestInteractiveBoundsRequested_revoker>(this, ClosestInteractiveBoundsRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow3<D>::ClosestInteractiveBoundsRequested(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow3<D>::ClosestInteractiveBoundsRequested(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow3)->remove_ClosestInteractiveBoundsRequested(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_ICoreWindow3<D>::GetCurrentKeyEventDeviceId() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow3<D>::GetCurrentKeyEventDeviceId() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow3)->GetCurrentKeyEventDeviceId(&value));
return hstring{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow4<D>::ResizeStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow4<D>::ResizeStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Core_ICoreWindow4<D>::ResizeStarted_revoker consume_Windows_UI_Core_ICoreWindow4<D>::ResizeStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow4<D>::ResizeStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ResizeStarted_revoker>(this, ResizeStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow4<D>::ResizeStarted(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow4<D>::ResizeStarted(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow4)->remove_ResizeStarted(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindow4<D>::ResizeCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow4<D>::ResizeCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Core_ICoreWindow4<D>::ResizeCompleted_revoker consume_Windows_UI_Core_ICoreWindow4<D>::ResizeCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow4<D>::ResizeCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ResizeCompleted_revoker>(this, ResizeCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindow4<D>::ResizeCompleted(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow4<D>::ResizeCompleted(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow4)->remove_ResizeCompleted(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_UI_Core_ICoreWindow5<D>::DispatcherQueue() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowActivationMode) consume_Windows_UI_Core_ICoreWindow5<D>::ActivationMode() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindow5<D>::ActivationMode() const
{
winrt::Windows::UI::Core::CoreWindowActivationMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindow5)->get_ActivationMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindowDialog<D>::Showing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowPopupShowingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialog<D>::Showing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowPopupShowingEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindowDialog<D>::Showing_revoker consume_Windows_UI_Core_ICoreWindowDialog<D>::Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowPopupShowingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialog<D>::Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowPopupShowingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Showing_revoker>(this, Showing(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowDialog<D>::Showing(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialog<D>::Showing(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->remove_Showing(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Core_ICoreWindowDialog<D>::MaxSize() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialog<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Core_ICoreWindowDialog<D>::MinSize() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialog<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_ICoreWindowDialog<D>::Title() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialog<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowDialog<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialog<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Core_ICoreWindowDialog<D>::IsInteractionDelayed() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialog<D>::IsInteractionDelayed() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->get_IsInteractionDelayed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowDialog<D>::IsInteractionDelayed(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialog<D>::IsInteractionDelayed(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->put_IsInteractionDelayed(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Popups::IUICommand>) consume_Windows_UI_Core_ICoreWindowDialog<D>::Commands() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialog<D>::Commands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->get_Commands(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Popups::IUICommand>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Core_ICoreWindowDialog<D>::DefaultCommandIndex() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialog<D>::DefaultCommandIndex() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->get_DefaultCommandIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowDialog<D>::DefaultCommandIndex(uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialog<D>::DefaultCommandIndex(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->put_DefaultCommandIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Core_ICoreWindowDialog<D>::CancelCommandIndex() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialog<D>::CancelCommandIndex() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->get_CancelCommandIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowDialog<D>::CancelCommandIndex(uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialog<D>::CancelCommandIndex(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->put_CancelCommandIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommandInvokedHandler) consume_Windows_UI_Core_ICoreWindowDialog<D>::BackButtonCommand() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialog<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowDialog<D>::BackButtonCommand(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialog<D>::BackButtonCommand(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->put_BackButtonCommand(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Popups::IUICommand>) consume_Windows_UI_Core_ICoreWindowDialog<D>::ShowAsync() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialog<D>::ShowAsync() const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowDialog)->ShowAsync(&asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Popups::IUICommand>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowDialog) consume_Windows_UI_Core_ICoreWindowDialogFactory<D>::CreateWithTitle(param::hstring const& title) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowDialogFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreWindowEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ICoreWindowFlyout<D>::Showing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowPopupShowingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowFlyout<D>::Showing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowPopupShowingEventArgs> 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 D> typename consume_Windows_UI_Core_ICoreWindowFlyout<D>::Showing_revoker consume_Windows_UI_Core_ICoreWindowFlyout<D>::Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowPopupShowingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowFlyout<D>::Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowPopupShowingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Showing_revoker>(this, Showing(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowFlyout<D>::Showing(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowFlyout<D>::Showing(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->remove_Showing(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Core_ICoreWindowFlyout<D>::MaxSize() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Core_ICoreWindowFlyout<D>::MinSize() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_ICoreWindowFlyout<D>::Title() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowFlyout<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowFlyout<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Core_ICoreWindowFlyout<D>::IsInteractionDelayed() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowFlyout<D>::IsInteractionDelayed() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->get_IsInteractionDelayed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowFlyout<D>::IsInteractionDelayed(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowFlyout<D>::IsInteractionDelayed(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->put_IsInteractionDelayed(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Popups::IUICommand>) consume_Windows_UI_Core_ICoreWindowFlyout<D>::Commands() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowFlyout<D>::Commands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->get_Commands(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Popups::IUICommand>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Core_ICoreWindowFlyout<D>::DefaultCommandIndex() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowFlyout<D>::DefaultCommandIndex() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->get_DefaultCommandIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowFlyout<D>::DefaultCommandIndex(uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowFlyout<D>::DefaultCommandIndex(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->put_DefaultCommandIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommandInvokedHandler) consume_Windows_UI_Core_ICoreWindowFlyout<D>::BackButtonCommand() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowFlyout<D>::BackButtonCommand(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowFlyout<D>::BackButtonCommand(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->put_BackButtonCommand(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Popups::IUICommand>) consume_Windows_UI_Core_ICoreWindowFlyout<D>::ShowAsync() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowFlyout<D>::ShowAsync() const
{
void* asyncInfo{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowFlyout)->ShowAsync(&asyncInfo));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Popups::IUICommand>{ asyncInfo, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowFlyout) consume_Windows_UI_Core_ICoreWindowFlyoutFactory<D>::Create(winrt::Windows::Foundation::Point const& position) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowFlyoutFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowFlyout) consume_Windows_UI_Core_ICoreWindowFlyoutFactory<D>::CreateWithTitle(winrt::Windows::Foundation::Point const& position, param::hstring const& title) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowFlyoutFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowPopupShowingEventArgs<D>::SetDesiredSize(winrt::Windows::Foundation::Size const& value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowPopupShowingEventArgs<D>::SetDesiredSize(winrt::Windows::Foundation::Size const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowPopupShowingEventArgs)->SetDesiredSize(impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowResizeManager<D>::NotifyLayoutCompleted() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowResizeManager<D>::NotifyLayoutCompleted() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowResizeManager)->NotifyLayoutCompleted());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ICoreWindowResizeManagerLayoutCapability<D>::ShouldWaitForLayoutCompletion(bool value) const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowResizeManagerLayoutCapability<D>::ShouldWaitForLayoutCompletion(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowResizeManagerLayoutCapability)->put_ShouldWaitForLayoutCompletion(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_ICoreWindowResizeManagerLayoutCapability<D>::ShouldWaitForLayoutCompletion() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowResizeManagerLayoutCapability<D>::ShouldWaitForLayoutCompletion() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ICoreWindowResizeManagerLayoutCapability)->get_ShouldWaitForLayoutCompletion(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowResizeManager) consume_Windows_UI_Core_ICoreWindowResizeManagerStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowResizeManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindow) consume_Windows_UI_Core_ICoreWindowStatic<D>::GetForCurrentThread() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowStatic<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) consume_Windows_UI_Core_ICoreWindowWithContext<D>::UIContext() const
+ template <typename D> auto consume_Windows_UI_Core_ICoreWindowWithContext<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_IIdleDispatchedHandlerArgs<D>::IsDispatcherIdle() const
+ template <typename D> auto consume_Windows_UI_Core_IIdleDispatchedHandlerArgs<D>::IsDispatcherIdle() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IIdleDispatchedHandlerArgs)->get_IsDispatcherIdle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_IInitializeWithCoreWindow<D>::Initialize(winrt::Windows::UI::Core::CoreWindow const& window) const
+ template <typename D> auto consume_Windows_UI_Core_IInitializeWithCoreWindow<D>::Initialize(winrt::Windows::UI::Core::CoreWindow const& window) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IInitializeWithCoreWindow)->Initialize(*(void**)(&window)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_IInputEnabledEventArgs<D>::InputEnabled() const
+ template <typename D> auto consume_Windows_UI_Core_IInputEnabledEventArgs<D>::InputEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IInputEnabledEventArgs)->get_InputEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_UI_Core_IKeyEventArgs<D>::VirtualKey() const
+ template <typename D> auto consume_Windows_UI_Core_IKeyEventArgs<D>::VirtualKey() const
{
winrt::Windows::System::VirtualKey value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IKeyEventArgs)->get_VirtualKey(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) consume_Windows_UI_Core_IKeyEventArgs<D>::KeyStatus() const
+ template <typename D> auto consume_Windows_UI_Core_IKeyEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Core_IKeyEventArgs2<D>::DeviceId() const
+ template <typename D> auto consume_Windows_UI_Core_IKeyEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPoint) consume_Windows_UI_Core_IPointerEventArgs<D>::CurrentPoint() const
+ template <typename D> auto consume_Windows_UI_Core_IPointerEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_UI_Core_IPointerEventArgs<D>::KeyModifiers() const
+ template <typename D> auto consume_Windows_UI_Core_IPointerEventArgs<D>::KeyModifiers() const
{
winrt::Windows::System::VirtualKeyModifiers value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IPointerEventArgs)->get_KeyModifiers(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Input::PointerPoint>) consume_Windows_UI_Core_IPointerEventArgs<D>::GetIntermediatePoints() const
+ template <typename D> auto consume_Windows_UI_Core_IPointerEventArgs<D>::GetIntermediatePoints() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IPointerEventArgs)->GetIntermediatePoints(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Input::PointerPoint>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Core_ISystemNavigationManager<D>::BackRequested(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Core::BackRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ISystemNavigationManager<D>::BackRequested(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Core::BackRequestedEventArgs> 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 D> typename consume_Windows_UI_Core_ISystemNavigationManager<D>::BackRequested_revoker consume_Windows_UI_Core_ISystemNavigationManager<D>::BackRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Core::BackRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Core_ISystemNavigationManager<D>::BackRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Core::BackRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, BackRequested_revoker>(this, BackRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ISystemNavigationManager<D>::BackRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Core_ISystemNavigationManager<D>::BackRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ISystemNavigationManager)->remove_BackRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::AppViewBackButtonVisibility) consume_Windows_UI_Core_ISystemNavigationManager2<D>::AppViewBackButtonVisibility() const
+ template <typename D> auto consume_Windows_UI_Core_ISystemNavigationManager2<D>::AppViewBackButtonVisibility() const
{
winrt::Windows::UI::Core::AppViewBackButtonVisibility value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ISystemNavigationManager2)->get_AppViewBackButtonVisibility(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ISystemNavigationManager2<D>::AppViewBackButtonVisibility(winrt::Windows::UI::Core::AppViewBackButtonVisibility const& value) const
+ template <typename D> auto consume_Windows_UI_Core_ISystemNavigationManager2<D>::AppViewBackButtonVisibility(winrt::Windows::UI::Core::AppViewBackButtonVisibility const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::ISystemNavigationManager2)->put_AppViewBackButtonVisibility(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::SystemNavigationManager) consume_Windows_UI_Core_ISystemNavigationManagerStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_Core_ISystemNavigationManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreProximityEvaluation) consume_Windows_UI_Core_ITouchHitTestingEventArgs<D>::ProximityEvaluation() const
+ template <typename D> auto consume_Windows_UI_Core_ITouchHitTestingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Core_ITouchHitTestingEventArgs<D>::ProximityEvaluation(winrt::Windows::UI::Core::CoreProximityEvaluation const& value) const
+ template <typename D> auto consume_Windows_UI_Core_ITouchHitTestingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Core_ITouchHitTestingEventArgs<D>::Point() const
+ template <typename D> auto consume_Windows_UI_Core_ITouchHitTestingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Core_ITouchHitTestingEventArgs<D>::BoundingBox() const
+ template <typename D> auto consume_Windows_UI_Core_ITouchHitTestingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreProximityEvaluation) consume_Windows_UI_Core_ITouchHitTestingEventArgs<D>::EvaluateProximity(winrt::Windows::Foundation::Rect const& controlBoundingBox) const
+ template <typename D> auto consume_Windows_UI_Core_ITouchHitTestingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreProximityEvaluation) consume_Windows_UI_Core_ITouchHitTestingEventArgs<D>::EvaluateProximity(array_view<winrt::Windows::Foundation::Point const> controlVertices) const
+ template <typename D> auto consume_Windows_UI_Core_ITouchHitTestingEventArgs<D>::EvaluateProximity(array_view<winrt::Windows::Foundation::Point const> 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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Core_IVisibilityChangedEventArgs<D>::Visible() const
+ template <typename D> auto consume_Windows_UI_Core_IVisibilityChangedEventArgs<D>::Visible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IVisibilityChangedEventArgs)->get_Visible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowActivationState) consume_Windows_UI_Core_IWindowActivatedEventArgs<D>::WindowActivationState() const
+ template <typename D> auto consume_Windows_UI_Core_IWindowActivatedEventArgs<D>::WindowActivationState() const
{
winrt::Windows::UI::Core::CoreWindowActivationState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Core::IWindowActivatedEventArgs)->get_WindowActivationState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Core_IWindowSizeChangedEventArgs<D>::Size() const
+ template <typename D> auto consume_Windows_UI_Core_IWindowSizeChangedEventArgs<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Core.h
index e7e419f5f10..950d25373b5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialController) consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSource<D>::Controller() const
+ template <typename D> auto consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSource<D>::Dispatcher() const
+ template <typename D> auto consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSource2<D>::DispatcherQueue() const
+ template <typename D> auto consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSource2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Core::RadialControllerIndependentInputSource) consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSourceStatics<D>::CreateForView(winrt::Windows::ApplicationModel::Core::CoreApplicationView const& view) const
+ template <typename D> auto consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSourceStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Analysis.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Analysis.h
index d80d2734394..afd3f5bfaf9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Analysis.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkBullet<D>::RecognizedText() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkBullet<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisDrawingKind) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkDrawing<D>::DrawingKind() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkDrawing<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkDrawing<D>::Center() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkDrawing<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Point>) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkDrawing<D>::Points() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkDrawing<D>::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<winrt::Windows::Foundation::Point>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkWord<D>::RecognizedText() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkWord<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkWord<D>::TextAlternates() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkWord<D>::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<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisLine<D>::RecognizedText() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisLine<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisLine<D>::IndentLevel() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisLine<D>::IndentLevel() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisLine)->get_IndentLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisListItem<D>::RecognizedText() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisListItem<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode<D>::Id() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisNodeKind) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode<D>::Kind() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode<D>::BoundingRect() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Point>) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode<D>::RotatedBoundingRect() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode<D>::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<winrt::Windows::Foundation::Point>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode>) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode<D>::Children() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode<D>::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<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode<D>::Parent() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode<D>::GetStrokeIds() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisNode<D>::GetStrokeIds() const
{
void* strokeIds{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode)->GetStrokeIds(&strokeIds));
return winrt::Windows::Foundation::Collections::IVectorView<uint32_t>{ strokeIds, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisParagraph<D>::RecognizedText() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisParagraph<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisStatus) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisResult<D>::Status() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisResult<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisRoot<D>::RecognizedText() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisRoot<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode>) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisRoot<D>::FindNodes(winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisNodeKind const& nodeKind) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisRoot<D>::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<int32_t>(nodeKind), &result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisWritingRegion<D>::RecognizedText() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisWritingRegion<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisRoot) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::AnalysisRoot() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::IsAnalyzing() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::IsAnalyzing() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzer)->get_IsAnalyzing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::AddDataForStroke(winrt::Windows::UI::Input::Inking::InkStroke const& stroke) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::AddDataForStrokes(param::iterable<winrt::Windows::UI::Input::Inking::InkStroke> const& strokes) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::AddDataForStrokes(param::iterable<winrt::Windows::UI::Input::Inking::InkStroke> const& strokes) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzer)->AddDataForStrokes(*(void**)(&strokes)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::ClearDataForAllStrokes() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::ClearDataForAllStrokes() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzer)->ClearDataForAllStrokes());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::RemoveDataForStroke(uint32_t strokeId) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::RemoveDataForStroke(uint32_t strokeId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzer)->RemoveDataForStroke(strokeId));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::RemoveDataForStrokes(param::iterable<uint32_t> const& strokeIds) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::RemoveDataForStrokes(param::iterable<uint32_t> const& strokeIds) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzer)->RemoveDataForStrokes(*(void**)(&strokeIds)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::ReplaceDataForStroke(winrt::Windows::UI::Input::Inking::InkStroke const& stroke) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::SetStrokeDataKind(uint32_t strokeId, winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisStrokeKind const& strokeKind) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::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<int32_t>(strokeKind)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisResult>) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::AnalyzeAsync() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzer<D>::AnalyzeAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzer)->AnalyzeAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisResult>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::InkAnalyzer) consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzerFactory<D>::CreateAnalyzer() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Analysis_IInkAnalyzerFactory<D>::CreateAnalyzer() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzerFactory)->CreateAnalyzer(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Core.h
index d0818b1f37f..a00bc49b02b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke<D>::AppendInkPoints(param::iterable<winrt::Windows::UI::Input::Inking::InkPoint> const& inkPoints) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke<D>::AppendInkPoints(param::iterable<winrt::Windows::UI::Input::Inking::InkPoint> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke<D>::CreateInkStroke() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke<D>::DrawingAttributes() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke<D>::PointTransform() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke<D>::BoundingRect() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Core::CoreIncrementalInkStroke) consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStrokeFactory<D>::Create(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& drawingAttributes, winrt::Windows::Foundation::Numerics::float3x2 const& pointTransform) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStrokeFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerEntering(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerEntering(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerEntering_revoker consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerEntering(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerEntering(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerEntering_revoker>(this, PointerEntering(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerEntering(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerHovering(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerHovering(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerHovering_revoker consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerHovering(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerHovering(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerHovering_revoker>(this, PointerHovering(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerHovering(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerExiting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerExiting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerExiting_revoker consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerExiting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerExiting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerExiting_revoker>(this, PointerExiting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerExiting(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerPressing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerPressing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerPressing_revoker consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerPressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerPressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerPressing_revoker>(this, PointerPressing(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerPressing(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerMoving(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerMoving(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerMoving_revoker consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerMoving(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerMoving(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerMoving_revoker>(this, PointerMoving(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerMoving(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerReleasing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerReleasing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerReleasing_revoker consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerReleasing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerReleasing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerReleasing_revoker>(this, PointerReleasing(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerReleasing(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerLost_revoker consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerLost_revoker>(this, PointerLost(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::PointerLost(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::InkPresenter() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource) consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSourceStatics<D>::Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) consume_Windows_UI_Input_Inking_Core_ICoreInkPresenterHost<D>::InkPresenter() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkPresenterHost<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ContainerVisual) consume_Windows_UI_Input_Inking_Core_ICoreInkPresenterHost<D>::RootVisual() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkPresenterHost<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreInkPresenterHost<D>::RootVisual(winrt::Windows::UI::Composition::ContainerVisual const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreInkPresenterHost<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Input::Inking::InkPoint>) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs<D>::NewInkPoints() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs<D>::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<winrt::Windows::UI::Input::Inking::InkPoint>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs<D>::PointerId() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs<D>::PointerId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateEventArgs)->get_PointerId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeDisposition) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs<D>::Disposition() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs<D>::Disposition(winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeDisposition const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeStarting_revoker consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const
{
return impl::make_event_revoker<D, WetStrokeStarting_revoker>(this, WetStrokeStarting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeStarting(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeContinuing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeContinuing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeContinuing_revoker consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeContinuing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeContinuing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const
{
return impl::make_event_revoker<D, WetStrokeContinuing_revoker>(this, WetStrokeContinuing(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeContinuing(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeStopping(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeStopping(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeStopping_revoker consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeStopping(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeStopping(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const
{
return impl::make_event_revoker<D, WetStrokeStopping_revoker>(this, WetStrokeStopping(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeStopping(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeCompleted_revoker consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const
{
return impl::make_event_revoker<D, WetStrokeCompleted_revoker>(this, WetStrokeCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeCompleted(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeCanceled_revoker consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const
{
return impl::make_event_revoker<D, WetStrokeCanceled_revoker>(this, WetStrokeCanceled(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::WetStrokeCanceled(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::InkPresenter() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource) consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSourceStatics<D>::Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSourceStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Preview.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Preview.h
index 58c8bf29ce8..1e76713f877 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.Preview.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Preview::PalmRejectionDelayZonePreview) consume_Windows_UI_Input_Inking_Preview_IPalmRejectionDelayZonePreviewStatics<D>::CreateForVisual(winrt::Windows::UI::Composition::Visual const& inputPanelVisual, winrt::Windows::Foundation::Rect const& inputPanelRect) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_Preview_IPalmRejectionDelayZonePreviewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Preview::PalmRejectionDelayZonePreview) consume_Windows_UI_Input_Inking_Preview_IPalmRejectionDelayZonePreviewStatics<D>::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 <typename D> auto consume_Windows_UI_Input_Inking_Preview_IPalmRejectionDelayZonePreviewStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.h
index 3dc19206a9b..c30c4c7d440 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Inking.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::Color() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::PenTipShape) consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::PenTip() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::PenTip() const
{
winrt::Windows::UI::Input::Inking::PenTipShape value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes)->get_PenTip(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::PenTip(winrt::Windows::UI::Input::Inking::PenTipShape const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::Size() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::Size(winrt::Windows::Foundation::Size const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::IgnorePressure() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::IgnorePressure() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes)->get_IgnorePressure(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::IgnorePressure(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::IgnorePressure(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes)->put_IgnorePressure(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::FitToCurve() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::FitToCurve() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes)->get_FitToCurve(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::FitToCurve(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes<D>::FitToCurve(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes)->put_FitToCurve(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) consume_Windows_UI_Input_Inking_IInkDrawingAttributes2<D>::PenTipTransform() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributes2<D>::PenTipTransform(winrt::Windows::Foundation::Numerics::float3x2 const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkDrawingAttributes2<D>::DrawAsHighlighter() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes2<D>::DrawAsHighlighter() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes2)->get_DrawAsHighlighter(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributes2<D>::DrawAsHighlighter(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes2<D>::DrawAsHighlighter(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes2)->put_DrawAsHighlighter(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributesKind) consume_Windows_UI_Input_Inking_IInkDrawingAttributes3<D>::Kind() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes3<D>::Kind() const
{
winrt::Windows::UI::Input::Inking::InkDrawingAttributesKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes3)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributesPencilProperties) consume_Windows_UI_Input_Inking_IInkDrawingAttributes3<D>::PencilProperties() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkDrawingAttributes4<D>::IgnoreTilt() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes4<D>::IgnoreTilt() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes4)->get_IgnoreTilt(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributes4<D>::IgnoreTilt(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes4<D>::IgnoreTilt(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributes4)->put_IgnoreTilt(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkModelerAttributes) consume_Windows_UI_Input_Inking_IInkDrawingAttributes5<D>::ModelerAttributes() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributes5<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Inking_IInkDrawingAttributesPencilProperties<D>::Opacity() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributesPencilProperties<D>::Opacity() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributesPencilProperties)->get_Opacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkDrawingAttributesPencilProperties<D>::Opacity(double value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributesPencilProperties<D>::Opacity(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkDrawingAttributesPencilProperties)->put_Opacity(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) consume_Windows_UI_Input_Inking_IInkDrawingAttributesStatics<D>::CreateForPencil() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkDrawingAttributesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkInputConfiguration<D>::IsPrimaryBarrelButtonInputEnabled() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkInputConfiguration<D>::IsPrimaryBarrelButtonInputEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkInputConfiguration)->get_IsPrimaryBarrelButtonInputEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkInputConfiguration<D>::IsPrimaryBarrelButtonInputEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkInputConfiguration<D>::IsPrimaryBarrelButtonInputEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkInputConfiguration)->put_IsPrimaryBarrelButtonInputEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkInputConfiguration<D>::IsEraserInputEnabled() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkInputConfiguration<D>::IsEraserInputEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkInputConfiguration)->get_IsEraserInputEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkInputConfiguration<D>::IsEraserInputEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkInputConfiguration<D>::IsEraserInputEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkInputConfiguration)->put_IsEraserInputEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkInputProcessingMode) consume_Windows_UI_Input_Inking_IInkInputProcessingConfiguration<D>::Mode() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkInputProcessingConfiguration<D>::Mode() const
{
winrt::Windows::UI::Input::Inking::InkInputProcessingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkInputProcessingConfiguration)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkInputProcessingConfiguration<D>::Mode(winrt::Windows::UI::Input::Inking::InkInputProcessingMode const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkInputProcessingConfiguration<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkInputRightDragAction) consume_Windows_UI_Input_Inking_IInkInputProcessingConfiguration<D>::RightDragAction() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkInputProcessingConfiguration<D>::RightDragAction() const
{
winrt::Windows::UI::Input::Inking::InkInputRightDragAction value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkInputProcessingConfiguration)->get_RightDragAction(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkInputProcessingConfiguration<D>::RightDragAction(winrt::Windows::UI::Input::Inking::InkInputRightDragAction const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkInputProcessingConfiguration<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkManipulationMode) consume_Windows_UI_Input_Inking_IInkManager<D>::Mode() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkManager<D>::Mode() const
{
winrt::Windows::UI::Input::Inking::InkManipulationMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkManager)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkManager<D>::Mode(winrt::Windows::UI::Input::Inking::InkManipulationMode const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkManager<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkManager<D>::ProcessPointerDown(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkManager<D>::ProcessPointerDown(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkManager)->ProcessPointerDown(*(void**)(&pointerPoint)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Input_Inking_IInkManager<D>::ProcessPointerUpdate(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkManager<D>::ProcessPointerUp(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkManager<D>::SetDefaultDrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& drawingAttributes) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkRecognitionResult>>) consume_Windows_UI_Input_Inking_IInkManager<D>::RecognizeAsync(winrt::Windows::UI::Input::Inking::InkRecognitionTarget const& recognitionTarget) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkManager<D>::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<int32_t>(recognitionTarget), &recognitionResults));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkRecognitionResult>>{ recognitionResults, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Input_Inking_IInkModelerAttributes<D>::PredictionTime() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkModelerAttributes<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkModelerAttributes<D>::PredictionTime(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkModelerAttributes<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_Inking_IInkModelerAttributes<D>::ScalingFactor() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkModelerAttributes<D>::ScalingFactor() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkModelerAttributes)->get_ScalingFactor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkModelerAttributes<D>::ScalingFactor(float value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkModelerAttributes<D>::ScalingFactor(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkModelerAttributes)->put_ScalingFactor(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkModelerAttributes2<D>::UseVelocityBasedPressure() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkModelerAttributes2<D>::UseVelocityBasedPressure() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkModelerAttributes2)->get_UseVelocityBasedPressure(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkModelerAttributes2<D>::UseVelocityBasedPressure(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkModelerAttributes2<D>::UseVelocityBasedPressure(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkModelerAttributes2)->put_UseVelocityBasedPressure(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_Inking_IInkPoint<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPoint<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_Inking_IInkPoint<D>::Pressure() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPoint<D>::Pressure() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPoint)->get_Pressure(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_Inking_IInkPoint2<D>::TiltX() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPoint2<D>::TiltX() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPoint2)->get_TiltX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_Inking_IInkPoint2<D>::TiltY() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPoint2<D>::TiltY() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPoint2)->get_TiltY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_UI_Input_Inking_IInkPoint2<D>::Timestamp() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPoint2<D>::Timestamp() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPoint2)->get_Timestamp(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPoint) consume_Windows_UI_Input_Inking_IInkPointFactory<D>::CreateInkPoint(winrt::Windows::Foundation::Point const& position, float pressure) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPointFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPoint) consume_Windows_UI_Input_Inking_IInkPointFactory2<D>::CreateInkPointWithTiltAndTimestamp(winrt::Windows::Foundation::Point const& position, float pressure, float tiltX, float tiltY, uint64_t timestamp) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPointFactory2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenter<D>::IsInputEnabled() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::IsInputEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->get_IsInputEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenter<D>::IsInputEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::IsInputEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->put_IsInputEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreInputDeviceTypes) consume_Windows_UI_Input_Inking_IInkPresenter<D>::InputDeviceTypes() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::InputDeviceTypes() const
{
winrt::Windows::UI::Core::CoreInputDeviceTypes value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->get_InputDeviceTypes(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenter<D>::InputDeviceTypes(winrt::Windows::UI::Core::CoreInputDeviceTypes const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::InputDeviceTypes(winrt::Windows::UI::Core::CoreInputDeviceTypes const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->put_InputDeviceTypes(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkUnprocessedInput) consume_Windows_UI_Input_Inking_IInkPresenter<D>::UnprocessedInput() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStrokeInput) consume_Windows_UI_Input_Inking_IInkPresenter<D>::StrokeInput() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkInputProcessingConfiguration) consume_Windows_UI_Input_Inking_IInkPresenter<D>::InputProcessingConfiguration() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStrokeContainer) consume_Windows_UI_Input_Inking_IInkPresenter<D>::StrokeContainer() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenter<D>::StrokeContainer(winrt::Windows::UI::Input::Inking::InkStrokeContainer const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) consume_Windows_UI_Input_Inking_IInkPresenter<D>::CopyDefaultDrawingAttributes() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenter<D>::UpdateDefaultDrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkSynchronizer) consume_Windows_UI_Input_Inking_IInkPresenter<D>::ActivateCustomDrying() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenter<D>::SetPredefinedConfiguration(winrt::Windows::UI::Input::Inking::InkPresenterPredefinedConfiguration const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::SetPredefinedConfiguration(winrt::Windows::UI::Input::Inking::InkPresenterPredefinedConfiguration const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->SetPredefinedConfiguration(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkPresenter<D>::StrokesCollected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkPresenter, winrt::Windows::UI::Input::Inking::InkStrokesCollectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::StrokesCollected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkPresenter, winrt::Windows::UI::Input::Inking::InkStrokesCollectedEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_IInkPresenter<D>::StrokesCollected_revoker consume_Windows_UI_Input_Inking_IInkPresenter<D>::StrokesCollected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkPresenter, winrt::Windows::UI::Input::Inking::InkStrokesCollectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::StrokesCollected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkPresenter, winrt::Windows::UI::Input::Inking::InkStrokesCollectedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StrokesCollected_revoker>(this, StrokesCollected(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenter<D>::StrokesCollected(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::StrokesCollected(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->remove_StrokesCollected(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkPresenter<D>::StrokesErased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkPresenter, winrt::Windows::UI::Input::Inking::InkStrokesErasedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::StrokesErased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkPresenter, winrt::Windows::UI::Input::Inking::InkStrokesErasedEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_IInkPresenter<D>::StrokesErased_revoker consume_Windows_UI_Input_Inking_IInkPresenter<D>::StrokesErased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkPresenter, winrt::Windows::UI::Input::Inking::InkStrokesErasedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::StrokesErased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkPresenter, winrt::Windows::UI::Input::Inking::InkStrokesErasedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StrokesErased_revoker>(this, StrokesErased(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenter<D>::StrokesErased(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter<D>::StrokesErased(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter)->remove_StrokesErased(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkHighContrastAdjustment) consume_Windows_UI_Input_Inking_IInkPresenter2<D>::HighContrastAdjustment() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter2<D>::HighContrastAdjustment() const
{
winrt::Windows::UI::Input::Inking::InkHighContrastAdjustment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenter2)->get_HighContrastAdjustment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenter2<D>::HighContrastAdjustment(winrt::Windows::UI::Input::Inking::InkHighContrastAdjustment const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkInputConfiguration) consume_Windows_UI_Input_Inking_IInkPresenter3<D>::InputConfiguration() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenter3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::AreTickMarksVisible() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::AreTickMarksVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->get_AreTickMarksVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::AreTickMarksVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::AreTickMarksVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->put_AreTickMarksVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::AreRaysVisible() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::AreRaysVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->get_AreRaysVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::AreRaysVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::AreRaysVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->put_AreRaysVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::IsCenterMarkerVisible() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::IsCenterMarkerVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->get_IsCenterMarkerVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::IsCenterMarkerVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::IsCenterMarkerVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->put_IsCenterMarkerVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::IsAngleReadoutVisible() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::IsAngleReadoutVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->get_IsAngleReadoutVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::IsAngleReadoutVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::IsAngleReadoutVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->put_IsAngleReadoutVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::IsResizable() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::IsResizable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->get_IsResizable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::IsResizable(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::IsResizable(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->put_IsResizable(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::Radius() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::Radius() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->get_Radius(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::Radius(double value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::Radius(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterProtractor)->put_Radius(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::AccentColor() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::AccentColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterProtractor<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterProtractor) consume_Windows_UI_Input_Inking_IInkPresenterProtractorFactory<D>::Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterProtractorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Inking_IInkPresenterRuler<D>::Length() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterRuler<D>::Length() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterRuler)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterRuler<D>::Length(double value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterRuler<D>::Length(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterRuler)->put_Length(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Inking_IInkPresenterRuler<D>::Width() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterRuler<D>::Width() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterRuler)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterRuler<D>::Width(double value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterRuler<D>::Width(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterRuler)->put_Width(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenterRuler2<D>::AreTickMarksVisible() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterRuler2<D>::AreTickMarksVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterRuler2)->get_AreTickMarksVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterRuler2<D>::AreTickMarksVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterRuler2<D>::AreTickMarksVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterRuler2)->put_AreTickMarksVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenterRuler2<D>::IsCompassVisible() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterRuler2<D>::IsCompassVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterRuler2)->get_IsCompassVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterRuler2<D>::IsCompassVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterRuler2<D>::IsCompassVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterRuler2)->put_IsCompassVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterRuler) consume_Windows_UI_Input_Inking_IInkPresenterRulerFactory<D>::Create(winrt::Windows::UI::Input::Inking::InkPresenter const& inkPresenter) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterRulerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterStencilKind) consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::Kind() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::Kind() const
{
winrt::Windows::UI::Input::Inking::InkPresenterStencilKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterStencil)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::IsVisible() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::IsVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterStencil)->get_IsVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::IsVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::IsVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkPresenterStencil)->put_IsVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::BackgroundColor() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::BackgroundColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::ForegroundColor() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::ForegroundColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::Transform() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::Transform(winrt::Windows::Foundation::Numerics::float3x2 const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkPresenterStencil<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkRecognitionResult<D>::BoundingRect() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkRecognitionResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_UI_Input_Inking_IInkRecognitionResult<D>::GetTextCandidates() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkRecognitionResult<D>::GetTextCandidates() const
{
void* textCandidates{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkRecognitionResult)->GetTextCandidates(&textCandidates));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ textCandidates, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkStroke>) consume_Windows_UI_Input_Inking_IInkRecognitionResult<D>::GetStrokes() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkRecognitionResult<D>::GetStrokes() const
{
void* strokes{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkRecognitionResult)->GetStrokes(&strokes));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkStroke>{ strokes, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_IInkRecognizer<D>::Name() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkRecognizer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkRecognizerContainer<D>::SetDefaultRecognizer(winrt::Windows::UI::Input::Inking::InkRecognizer const& recognizer) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkRecognizerContainer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkRecognitionResult>>) consume_Windows_UI_Input_Inking_IInkRecognizerContainer<D>::RecognizeAsync(winrt::Windows::UI::Input::Inking::InkStrokeContainer const& strokeCollection, winrt::Windows::UI::Input::Inking::InkRecognitionTarget const& recognitionTarget) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkRecognizerContainer<D>::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<int32_t>(recognitionTarget), &recognitionResults));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkRecognitionResult>>{ recognitionResults, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkRecognizer>) consume_Windows_UI_Input_Inking_IInkRecognizerContainer<D>::GetRecognizers() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkRecognizerContainer<D>::GetRecognizers() const
{
void* recognizerView{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkRecognizerContainer)->GetRecognizers(&recognizerView));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkRecognizer>{ recognizerView, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) consume_Windows_UI_Input_Inking_IInkStroke<D>::DrawingAttributes() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStroke<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStroke<D>::DrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStroke<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkStroke<D>::BoundingRect() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStroke<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkStroke<D>::Selected() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStroke<D>::Selected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke)->get_Selected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStroke<D>::Selected(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStroke<D>::Selected(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke)->put_Selected(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkStroke<D>::Recognized() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStroke<D>::Recognized() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke)->get_Recognized(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkStrokeRenderingSegment>) consume_Windows_UI_Input_Inking_IInkStroke<D>::GetRenderingSegments() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStroke<D>::GetRenderingSegments() const
{
void* renderingSegments{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke)->GetRenderingSegments(&renderingSegments));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkStrokeRenderingSegment>{ renderingSegments, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) consume_Windows_UI_Input_Inking_IInkStroke<D>::Clone() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStroke<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3x2) consume_Windows_UI_Input_Inking_IInkStroke2<D>::PointTransform() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStroke2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStroke2<D>::PointTransform(winrt::Windows::Foundation::Numerics::float3x2 const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStroke2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkPoint>) consume_Windows_UI_Input_Inking_IInkStroke2<D>::GetInkPoints() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStroke2<D>::GetInkPoints() const
{
void* inkPoints{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke2)->GetInkPoints(&inkPoints));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkPoint>{ inkPoints, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_Inking_IInkStroke3<D>::Id() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStroke3<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke3)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_UI_Input_Inking_IInkStroke3<D>::StrokeStartedTime() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStroke3<D>::StrokeStartedTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke3)->get_StrokeStartedTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStroke3<D>::StrokeStartedTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStroke3<D>::StrokeStartedTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke3)->put_StrokeStartedTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_UI_Input_Inking_IInkStroke3<D>::StrokeDuration() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStroke3<D>::StrokeDuration() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke3)->get_StrokeDuration(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStroke3<D>::StrokeDuration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStroke3<D>::StrokeDuration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStroke3)->put_StrokeDuration(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeBuilder<D>::BeginStroke(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeBuilder<D>::BeginStroke(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeBuilder)->BeginStroke(*(void**)(&pointerPoint)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPoint) consume_Windows_UI_Input_Inking_IInkStrokeBuilder<D>::AppendToStroke(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeBuilder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) consume_Windows_UI_Input_Inking_IInkStrokeBuilder<D>::EndStroke(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeBuilder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) consume_Windows_UI_Input_Inking_IInkStrokeBuilder<D>::CreateStroke(param::iterable<winrt::Windows::Foundation::Point> const& points) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeBuilder<D>::CreateStroke(param::iterable<winrt::Windows::Foundation::Point> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeBuilder<D>::SetDefaultDrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& drawingAttributes) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeBuilder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) consume_Windows_UI_Input_Inking_IInkStrokeBuilder2<D>::CreateStrokeFromInkPoints(param::iterable<winrt::Windows::UI::Input::Inking::InkPoint> const& inkPoints, winrt::Windows::Foundation::Numerics::float3x2 const& transform) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeBuilder2<D>::CreateStrokeFromInkPoints(param::iterable<winrt::Windows::UI::Input::Inking::InkPoint> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) consume_Windows_UI_Input_Inking_IInkStrokeBuilder3<D>::CreateStrokeFromInkPoints(param::iterable<winrt::Windows::UI::Input::Inking::InkPoint> const& inkPoints, winrt::Windows::Foundation::Numerics::float3x2 const& transform, winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& strokeStartedTime, winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& strokeDuration) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeBuilder3<D>::CreateStrokeFromInkPoints(param::iterable<winrt::Windows::UI::Input::Inking::InkPoint> const& inkPoints, winrt::Windows::Foundation::Numerics::float3x2 const& transform, winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& strokeStartedTime, winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::BoundingRect() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::AddStroke(winrt::Windows::UI::Input::Inking::InkStroke const& stroke) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::DeleteSelected() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::MoveSelected(winrt::Windows::Foundation::Point const& translation) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::SelectWithPolyLine(param::iterable<winrt::Windows::Foundation::Point> const& polyline) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::SelectWithPolyLine(param::iterable<winrt::Windows::Foundation::Point> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::SelectWithLine(winrt::Windows::Foundation::Point const& from, winrt::Windows::Foundation::Point const& to) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::CopySelectedToClipboard() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::CopySelectedToClipboard() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->CopySelectedToClipboard());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::PasteFromClipboard(winrt::Windows::Foundation::Point const& position) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::CanPasteFromClipboard() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::CanPasteFromClipboard() const
{
bool canPaste{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->CanPasteFromClipboard(&canPaste));
return canPaste;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress<uint64_t>) consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::LoadAsync(winrt::Windows::Storage::Streams::IInputStream const& inputStream) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::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<uint64_t>{ loadAction, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint32_t, uint32_t>) consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::SaveAsync(winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::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<uint32_t, uint32_t>{ outputStreamOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::UpdateRecognitionResults(param::vector_view<winrt::Windows::UI::Input::Inking::InkRecognitionResult> const& recognitionResults) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::UpdateRecognitionResults(param::vector_view<winrt::Windows::UI::Input::Inking::InkRecognitionResult> const& recognitionResults) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->UpdateRecognitionResults(*(void**)(&recognitionResults)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkStroke>) consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::GetStrokes() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::GetStrokes() const
{
void* strokeView{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->GetStrokes(&strokeView));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkStroke>{ strokeView, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkRecognitionResult>) consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::GetRecognitionResults() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer<D>::GetRecognitionResults() const
{
void* recognitionResults{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer)->GetRecognitionResults(&recognitionResults));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkRecognitionResult>{ recognitionResults, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeContainer2<D>::AddStrokes(param::iterable<winrt::Windows::UI::Input::Inking::InkStroke> const& strokes) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer2<D>::AddStrokes(param::iterable<winrt::Windows::UI::Input::Inking::InkStroke> const& strokes) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer2)->AddStrokes(*(void**)(&strokes)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeContainer2<D>::Clear() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer2<D>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeContainer2)->Clear());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint32_t, uint32_t>) consume_Windows_UI_Input_Inking_IInkStrokeContainer3<D>::SaveAsync(winrt::Windows::Storage::Streams::IOutputStream const& outputStream, winrt::Windows::UI::Input::Inking::InkPersistenceFormat const& inkPersistenceFormat) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer3<D>::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<int32_t>(inkPersistenceFormat), &outputStreamOperation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<uint32_t, uint32_t>{ outputStreamOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) consume_Windows_UI_Input_Inking_IInkStrokeContainer3<D>::GetStrokeById(uint32_t id) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeContainer3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeStarted_revoker consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StrokeStarted_revoker>(this, StrokeStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeStarted(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeStarted(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeInput)->remove_StrokeStarted(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeContinued(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeContinued(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeContinued_revoker consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeContinued(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeContinued(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StrokeContinued_revoker>(this, StrokeContinued(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeContinued(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeContinued(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeInput)->remove_StrokeContinued(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeEnded_revoker consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StrokeEnded_revoker>(this, StrokeEnded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeEnded(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeEnded(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeInput)->remove_StrokeEnded(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeCanceled_revoker consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, StrokeCanceled_revoker>(this, StrokeCanceled(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeCanceled(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::StrokeCanceled(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeInput)->remove_StrokeCanceled(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::InkPresenter() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeInput<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment<D>::BezierControlPoint1() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment<D>::BezierControlPoint2() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment<D>::Pressure() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment<D>::Pressure() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeRenderingSegment)->get_Pressure(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment<D>::TiltX() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment<D>::TiltX() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeRenderingSegment)->get_TiltX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment<D>::TiltY() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment<D>::TiltY() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeRenderingSegment)->get_TiltY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment<D>::Twist() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokeRenderingSegment<D>::Twist() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokeRenderingSegment)->get_Twist(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkStroke>) consume_Windows_UI_Input_Inking_IInkStrokesCollectedEventArgs<D>::Strokes() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokesCollectedEventArgs<D>::Strokes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokesCollectedEventArgs)->get_Strokes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkStroke>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkStroke>) consume_Windows_UI_Input_Inking_IInkStrokesErasedEventArgs<D>::Strokes() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkStrokesErasedEventArgs<D>::Strokes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkStrokesErasedEventArgs)->get_Strokes(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkStroke>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkStroke>) consume_Windows_UI_Input_Inking_IInkSynchronizer<D>::BeginDry() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkSynchronizer<D>::BeginDry() const
{
void* inkStrokes{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkSynchronizer)->BeginDry(&inkStrokes));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkStroke>{ inkStrokes, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkSynchronizer<D>::EndDry() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkSynchronizer<D>::EndDry() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkSynchronizer)->EndDry());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerEntered_revoker consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerEntered_revoker>(this, PointerEntered(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerEntered(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerEntered(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->remove_PointerEntered(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerHovered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerHovered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerHovered_revoker consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerHovered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerHovered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerHovered_revoker>(this, PointerHovered(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerHovered(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerHovered(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->remove_PointerHovered(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerExited_revoker consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerExited_revoker>(this, PointerExited(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerExited(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerExited(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->remove_PointerExited(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerPressed_revoker consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerPressed_revoker>(this, PointerPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerPressed(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerPressed(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->remove_PointerPressed(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerMoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerMoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerMoved_revoker consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerMoved_revoker>(this, PointerMoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerMoved(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerMoved(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->remove_PointerMoved(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerReleased_revoker consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerReleased_revoker>(this, PointerReleased(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerReleased(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerReleased(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->remove_PointerReleased(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> 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 D> typename consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerLost_revoker consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PointerLost_revoker>(this, PointerLost(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerLost(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::PointerLost(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IInkUnprocessedInput)->remove_PointerLost(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::InkPresenter() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IInkUnprocessedInput<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IPenAndInkSettings<D>::IsHandwritingDirectlyIntoTextFieldEnabled() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IPenAndInkSettings<D>::IsHandwritingDirectlyIntoTextFieldEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettings)->get_IsHandwritingDirectlyIntoTextFieldEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::PenHandedness) consume_Windows_UI_Input_Inking_IPenAndInkSettings<D>::PenHandedness() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IPenAndInkSettings<D>::PenHandedness() const
{
winrt::Windows::UI::Input::Inking::PenHandedness value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettings)->get_PenHandedness(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::HandwritingLineHeight) consume_Windows_UI_Input_Inking_IPenAndInkSettings<D>::HandwritingLineHeight() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IPenAndInkSettings<D>::HandwritingLineHeight() const
{
winrt::Windows::UI::Input::Inking::HandwritingLineHeight value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettings)->get_HandwritingLineHeight(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_Inking_IPenAndInkSettings<D>::FontFamilyName() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IPenAndInkSettings<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IPenAndInkSettings<D>::UserConsentsToHandwritingTelemetryCollection() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IPenAndInkSettings<D>::UserConsentsToHandwritingTelemetryCollection() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettings)->get_UserConsentsToHandwritingTelemetryCollection(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Inking_IPenAndInkSettings<D>::IsTouchHandwritingEnabled() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IPenAndInkSettings<D>::IsTouchHandwritingEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettings)->get_IsTouchHandwritingEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Inking_IPenAndInkSettings2<D>::SetPenHandedness(winrt::Windows::UI::Input::Inking::PenHandedness const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IPenAndInkSettings2<D>::SetPenHandedness(winrt::Windows::UI::Input::Inking::PenHandedness const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettings2)->SetPenHandedness(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::PenAndInkSettings) consume_Windows_UI_Input_Inking_IPenAndInkSettingsStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_UI_Input_Inking_IPenAndInkSettingsStatics<D>::GetDefault() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Inking::IPenAndInkSettingsStatics)->GetDefault(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Preview.Injection.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Preview.Injection.h
index 64b3db5beea..e3db3738f5d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Preview.Injection.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Gaming::Input::GamepadButtons) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::Buttons() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::Buttons() const
{
winrt::Windows::Gaming::Input::GamepadButtons value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_Buttons(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::Buttons(winrt::Windows::Gaming::Input::GamepadButtons const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::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<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::LeftThumbstickX() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::LeftThumbstickX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_LeftThumbstickX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::LeftThumbstickX(double value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::LeftThumbstickX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_LeftThumbstickX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::LeftThumbstickY() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::LeftThumbstickY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_LeftThumbstickY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::LeftThumbstickY(double value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::LeftThumbstickY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_LeftThumbstickY(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::LeftTrigger() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::LeftTrigger() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_LeftTrigger(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::LeftTrigger(double value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::LeftTrigger(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_LeftTrigger(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::RightThumbstickX() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::RightThumbstickX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_RightThumbstickX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::RightThumbstickX(double value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::RightThumbstickX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_RightThumbstickX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::RightThumbstickY() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::RightThumbstickY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_RightThumbstickY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::RightThumbstickY(double value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::RightThumbstickY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_RightThumbstickY(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::RightTrigger() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::RightTrigger() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->get_RightTrigger(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::RightTrigger(double value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfo<D>::RightTrigger(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo)->put_RightTrigger(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputGamepadInfo) consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfoFactory<D>::CreateInstance(winrt::Windows::Gaming::Input::GamepadReading const& reading) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputGamepadInfoFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputKeyOptions) consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo<D>::KeyOptions() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo<D>::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<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo<D>::KeyOptions(winrt::Windows::UI::Input::Preview::Injection::InjectedInputKeyOptions const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo<D>::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<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo<D>::ScanCode() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo<D>::ScanCode() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputKeyboardInfo)->get_ScanCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo<D>::ScanCode(uint16_t value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo<D>::ScanCode(uint16_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputKeyboardInfo)->put_ScanCode(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo<D>::VirtualKey() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo<D>::VirtualKey() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputKeyboardInfo)->get_VirtualKey(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo<D>::VirtualKey(uint16_t value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputKeyboardInfo<D>::VirtualKey(uint16_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputKeyboardInfo)->put_VirtualKey(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputMouseOptions) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::MouseOptions() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::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<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::MouseOptions(winrt::Windows::UI::Input::Preview::Injection::InjectedInputMouseOptions const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::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<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::MouseData() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::MouseData() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->get_MouseData(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::MouseData(uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::MouseData(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->put_MouseData(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::DeltaY() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::DeltaY() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->get_DeltaY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::DeltaY(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::DeltaY(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->put_DeltaY(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::DeltaX() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::DeltaX() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->get_DeltaX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::DeltaX(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::DeltaX(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->put_DeltaX(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::TimeOffsetInMilliseconds() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::TimeOffsetInMilliseconds() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->get_TimeOffsetInMilliseconds(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::TimeOffsetInMilliseconds(uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputMouseInfo<D>::TimeOffsetInMilliseconds(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo)->put_TimeOffsetInMilliseconds(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::PointerInfo() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::PointerInfo(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenButtons) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::PenButtons() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::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<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::PenButtons(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenButtons const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::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<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenParameters) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::PenParameters() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::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<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::PenParameters(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenParameters const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::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<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::Pressure() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::Pressure() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_Pressure(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::Pressure(double value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::Pressure(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_Pressure(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::Rotation() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::Rotation() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_Rotation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::Rotation(double value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::Rotation(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_Rotation(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::TiltX() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::TiltX() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_TiltX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::TiltX(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::TiltX(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_TiltX(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::TiltY() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::TiltY() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->get_TiltY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::TiltY(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputPenInfo<D>::TiltY(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo)->put_TiltY(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputRectangle) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::Contact() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::Contact(winrt::Windows::UI::Input::Preview::Injection::InjectedInputRectangle const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::Orientation() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->get_Orientation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::Orientation(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::Orientation(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->put_Orientation(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::PointerInfo() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::PointerInfo(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPointerInfo const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::Pressure() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::Pressure() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->get_Pressure(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::Pressure(double value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::Pressure(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo)->put_Pressure(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InjectedInputTouchParameters) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::TouchParameters() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::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<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::TouchParameters(winrt::Windows::UI::Input::Preview::Injection::InjectedInputTouchParameters const& value) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInjectedInputTouchInfo<D>::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<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::InjectKeyboardInput(param::iterable<winrt::Windows::UI::Input::Preview::Injection::InjectedInputKeyboardInfo> const& input) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::InjectKeyboardInput(param::iterable<winrt::Windows::UI::Input::Preview::Injection::InjectedInputKeyboardInfo> const& input) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->InjectKeyboardInput(*(void**)(&input)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::InjectMouseInput(param::iterable<winrt::Windows::UI::Input::Preview::Injection::InjectedInputMouseInfo> const& input) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::InjectMouseInput(param::iterable<winrt::Windows::UI::Input::Preview::Injection::InjectedInputMouseInfo> const& input) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->InjectMouseInput(*(void**)(&input)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::InitializeTouchInjection(winrt::Windows::UI::Input::Preview::Injection::InjectedInputVisualizationMode const& visualMode) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::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<int32_t>(visualMode)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::InjectTouchInput(param::iterable<winrt::Windows::UI::Input::Preview::Injection::InjectedInputTouchInfo> const& input) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::InjectTouchInput(param::iterable<winrt::Windows::UI::Input::Preview::Injection::InjectedInputTouchInfo> const& input) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->InjectTouchInput(*(void**)(&input)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::UninitializeTouchInjection() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::UninitializeTouchInjection() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->UninitializeTouchInjection());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::InitializePenInjection(winrt::Windows::UI::Input::Preview::Injection::InjectedInputVisualizationMode const& visualMode) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::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<int32_t>(visualMode)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::InjectPenInput(winrt::Windows::UI::Input::Preview::Injection::InjectedInputPenInfo const& input) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::UninitializePenInjection() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::UninitializePenInjection() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector)->UninitializePenInjection());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::InjectShortcut(winrt::Windows::UI::Input::Preview::Injection::InjectedInputShortcut const& shortcut) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInputInjector<D>::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<int32_t>(shortcut)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector2<D>::InitializeGamepadInjection() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInputInjector2<D>::InitializeGamepadInjection() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector2)->InitializeGamepadInjection());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector2<D>::InjectGamepadInput(winrt::Windows::UI::Input::Preview::Injection::InjectedInputGamepadInfo const& input) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInputInjector2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Preview_Injection_IInputInjector2<D>::UninitializeGamepadInjection() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInputInjector2<D>::UninitializeGamepadInjection() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjector2)->UninitializeGamepadInjection());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InputInjector) consume_Windows_UI_Input_Preview_Injection_IInputInjectorStatics<D>::TryCreate() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInputInjectorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Preview::Injection::InputInjector) consume_Windows_UI_Input_Preview_Injection_IInputInjectorStatics2<D>::TryCreateForAppBroadcastOnly() const
+ template <typename D> auto consume_Windows_UI_Input_Preview_Injection_IInputInjectorStatics2<D>::TryCreateForAppBroadcastOnly() const
{
void* instance{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Preview::Injection::IInputInjectorStatics2)->TryCreateForAppBroadcastOnly(&instance));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Preview.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Preview.h
index 75d4eb4b0a3..0b5d2b351e5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Preview.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::InputActivationListener) consume_Windows_UI_Input_Preview_IInputActivationListenerPreviewStatics<D>::CreateForApplicationWindow(winrt::Windows::UI::WindowManagement::AppWindow const& window) const
+ template <typename D> auto consume_Windows_UI_Input_Preview_IInputActivationListenerPreviewStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Spatial.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Spatial.h
index 42e91a9b9ec..1ed96033ba5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.Spatial.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::RecognitionStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialRecognitionStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::RecognitionStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialRecognitionStartedEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::RecognitionStarted_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::RecognitionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialRecognitionStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::RecognitionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialRecognitionStartedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RecognitionStarted_revoker>(this, RecognitionStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::RecognitionStarted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::RecognitionStarted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_RecognitionStarted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::RecognitionEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialRecognitionEndedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::RecognitionEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialRecognitionEndedEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::RecognitionEnded_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::RecognitionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialRecognitionEndedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::RecognitionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialRecognitionEndedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RecognitionEnded_revoker>(this, RecognitionEnded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::RecognitionEnded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::RecognitionEnded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_RecognitionEnded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::Tapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialTappedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::Tapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialTappedEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::Tapped_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::Tapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialTappedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::Tapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialTappedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Tapped_revoker>(this, Tapped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::Tapped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::Tapped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_Tapped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldStartedEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldStarted_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldStartedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, HoldStarted_revoker>(this, HoldStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldStarted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldStarted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_HoldStarted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldCompletedEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldCompleted_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, HoldCompleted_revoker>(this, HoldCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_HoldCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldCanceledEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldCanceledEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldCanceled_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldCanceledEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldCanceledEventArgs> const& handler) const
{
return impl::make_event_revoker<D, HoldCanceled_revoker>(this, HoldCanceled(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldCanceled(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::HoldCanceled(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_HoldCanceled(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationStartedEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationStarted_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationStartedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ManipulationStarted_revoker>(this, ManipulationStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationStarted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationStarted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_ManipulationStarted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationUpdatedEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationUpdated_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationUpdatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ManipulationUpdated_revoker>(this, ManipulationUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationUpdated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationUpdated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_ManipulationUpdated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationCompletedEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationCompleted_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ManipulationCompleted_revoker>(this, ManipulationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_ManipulationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationCanceledEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationCanceledEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationCanceled_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationCanceledEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationCanceledEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ManipulationCanceled_revoker>(this, ManipulationCanceled(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationCanceled(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::ManipulationCanceled(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_ManipulationCanceled(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationStartedEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationStarted_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationStartedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, NavigationStarted_revoker>(this, NavigationStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationStarted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationStarted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_NavigationStarted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationUpdatedEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationUpdated_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationUpdatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, NavigationUpdated_revoker>(this, NavigationUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationUpdated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationUpdated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_NavigationUpdated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationCompletedEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationCompleted_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, NavigationCompleted_revoker>(this, NavigationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_NavigationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationCanceledEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationCanceledEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationCanceled_revoker consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationCanceledEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationCanceledEventArgs> const& handler) const
{
return impl::make_event_revoker<D, NavigationCanceled_revoker>(this, NavigationCanceled(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationCanceled(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::NavigationCanceled(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->remove_NavigationCanceled(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::CaptureInteraction(winrt::Windows::UI::Input::Spatial::SpatialInteraction const& interaction) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::CancelPendingGestures() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::CancelPendingGestures() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->CancelPendingGestures());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::TrySetGestureSettings(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings const& settings) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::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<uint32_t>(settings), &succeeded));
return succeeded;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::GestureSettings() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer<D>::GestureSettings() const
{
winrt::Windows::UI::Input::Spatial::SpatialGestureSettings value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer)->get_GestureSettings(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer) consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizerFactory<D>::Create(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings const& settings) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizerFactory<D>::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<uint32_t>(settings), &value));
return winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialHoldCanceledEventArgs<D>::InteractionSourceKind() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialHoldCanceledEventArgs<D>::InteractionSourceKind() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialHoldCanceledEventArgs)->get_InteractionSourceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialHoldCompletedEventArgs<D>::InteractionSourceKind() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialHoldCompletedEventArgs<D>::InteractionSourceKind() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialHoldCompletedEventArgs)->get_InteractionSourceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialHoldStartedEventArgs<D>::InteractionSourceKind() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialHoldStartedEventArgs<D>::InteractionSourceKind() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialHoldStartedEventArgs)->get_InteractionSourceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) consume_Windows_UI_Input_Spatial_ISpatialHoldStartedEventArgs<D>::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialHoldStartedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState) consume_Windows_UI_Input_Spatial_ISpatialInteraction<D>::SourceState() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteraction<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionController<D>::HasTouchpad() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionController<D>::HasTouchpad() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionController)->get_HasTouchpad(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionController<D>::HasThumbstick() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionController<D>::HasThumbstick() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionController)->get_HasThumbstick(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_Spatial_ISpatialInteractionController<D>::SimpleHapticsController() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionController<D>::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 <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_UI_Input_Spatial_ISpatialInteractionController<D>::VendorId() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionController<D>::VendorId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionController)->get_VendorId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_UI_Input_Spatial_ISpatialInteractionController<D>::ProductId() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionController<D>::ProductId() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionController)->get_ProductId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint16_t) consume_Windows_UI_Input_Spatial_ISpatialInteractionController<D>::Version() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionController<D>::Version() const
{
uint16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionController)->get_Version(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType>) consume_Windows_UI_Input_Spatial_ISpatialInteractionController2<D>::TryGetRenderableModelAsync() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionController2<D>::TryGetRenderableModelAsync() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionController2)->TryGetRenderableModelAsync(&value));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Power::BatteryReport) consume_Windows_UI_Input_Spatial_ISpatialInteractionController3<D>::TryGetBatteryReport() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionController3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties<D>::IsTouchpadTouched() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties<D>::IsTouchpadTouched() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionControllerProperties)->get_IsTouchpadTouched(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties<D>::IsTouchpadPressed() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties<D>::IsTouchpadPressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionControllerProperties)->get_IsTouchpadPressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties<D>::IsThumbstickPressed() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties<D>::IsThumbstickPressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionControllerProperties)->get_IsThumbstickPressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties<D>::ThumbstickX() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties<D>::ThumbstickX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionControllerProperties)->get_ThumbstickX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties<D>::ThumbstickY() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties<D>::ThumbstickY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionControllerProperties)->get_ThumbstickY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties<D>::TouchpadX() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties<D>::TouchpadX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionControllerProperties)->get_TouchpadX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties<D>::TouchpadY() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionControllerProperties<D>::TouchpadY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionControllerProperties)->get_TouchpadY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs<D>::InteractionSourceKind() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs<D>::InteractionSourceKind() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionDetectedEventArgs)->get_InteractionSourceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs<D>::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteraction) consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs<D>::Interaction() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSource) consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs2<D>::InteractionSource() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionDetectedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceDetected_revoker consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SourceDetected_revoker>(this, SourceDetected(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceDetected(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceDetected(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->remove_SourceDetected(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceLost_revoker consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SourceLost_revoker>(this, SourceLost(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceLost(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceLost(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->remove_SourceLost(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceUpdated_revoker consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SourceUpdated_revoker>(this, SourceUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceUpdated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceUpdated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->remove_SourceUpdated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourcePressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourcePressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourcePressed_revoker consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourcePressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourcePressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SourcePressed_revoker>(this, SourcePressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourcePressed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourcePressed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->remove_SourcePressed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceReleased_revoker consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SourceReleased_revoker>(this, SourceReleased(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceReleased(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::SourceReleased(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->remove_SourceReleased(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::InteractionDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionDetectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::InteractionDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionDetectedEventArgs> 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 D> typename consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::InteractionDetected_revoker consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::InteractionDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionDetectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::InteractionDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionDetectedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, InteractionDetected_revoker>(this, InteractionDetected(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::InteractionDetected(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::InteractionDetected(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager)->remove_InteractionDetected(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState>) consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::GetDetectedSourcesAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timeStamp) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManager<D>::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<winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionManager) consume_Windows_UI_Input_Spatial_ISpatialInteractionManagerStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionManagerStatics2<D>::IsSourceKindSupported(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind const& kind) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionManagerStatics2<D>::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<int32_t>(kind), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource<D>::Id() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource<D>::Kind() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource<D>::Kind() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2<D>::IsPointingSupported() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2<D>::IsPointingSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource2)->get_IsPointingSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2<D>::IsMenuSupported() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2<D>::IsMenuSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource2)->get_IsMenuSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2<D>::IsGraspSupported() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2<D>::IsGraspSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource2)->get_IsGraspSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionController) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2<D>::Controller() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2<D>::TryGetStateAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource2<D>::TryGetStateAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource2)->TryGetStateAtTimestamp(*(void**)(&timestamp), &value));
return winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceHandedness) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource3<D>::Handedness() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource3<D>::Handedness() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceHandedness value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource3)->get_Handedness(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::People::HandMeshObserver) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource4<D>::TryCreateHandMeshObserver() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::People::HandMeshObserver>) consume_Windows_UI_Input_Spatial_ISpatialInteractionSource4<D>::TryCreateHandMeshObserverAsync() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSource4<D>::TryCreateHandMeshObserverAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource4)->TryCreateHandMeshObserverAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::People::HandMeshObserver>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceEventArgs<D>::State() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionPressKind) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceEventArgs2<D>::PressKind() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceEventArgs2<D>::PressKind() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionPressKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceEventArgs2)->get_PressKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation<D>::Position() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceLocation)->get_Position(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation<D>::Velocity() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation<D>::Velocity() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceLocation)->get_Velocity(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::quaternion>) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation2<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation2<D>::Orientation() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceLocation2)->get_Orientation(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::quaternion>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourcePositionAccuracy) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation3<D>::PositionAccuracy() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation3<D>::PositionAccuracy() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourcePositionAccuracy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceLocation3)->get_PositionAccuracy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation3<D>::AngularVelocity() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation3<D>::AngularVelocity() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceLocation3)->get_AngularVelocity(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerInteractionSourcePose) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation3<D>::SourcePointerPose() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceProperties<D>::TryGetSourceLossMitigationDirection(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceProperties<D>::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<winrt::Windows::Foundation::Numerics::float3>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceProperties<D>::SourceLossRisk() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceProperties<D>::SourceLossRisk() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceProperties)->get_SourceLossRisk(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceLocation) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceProperties<D>::TryGetLocation(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSource) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState<D>::Source() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceProperties) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState<D>::Properties() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState<D>::IsPressed() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState<D>::IsPressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState)->get_IsPressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState<D>::Timestamp() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState<D>::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2<D>::IsSelectPressed() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2<D>::IsSelectPressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState2)->get_IsSelectPressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2<D>::IsMenuPressed() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2<D>::IsMenuPressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState2)->get_IsMenuPressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2<D>::IsGrasped() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2<D>::IsGrasped() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState2)->get_IsGrasped(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2<D>::SelectPressedValue() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2<D>::SelectPressedValue() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState2)->get_SelectPressedValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionControllerProperties) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2<D>::ControllerProperties() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::People::HandPose) consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState3<D>::TryGetHandPose() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialManipulationCanceledEventArgs<D>::InteractionSourceKind() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialManipulationCanceledEventArgs<D>::InteractionSourceKind() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialManipulationCanceledEventArgs)->get_InteractionSourceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialManipulationCompletedEventArgs<D>::InteractionSourceKind() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialManipulationCompletedEventArgs<D>::InteractionSourceKind() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialManipulationCompletedEventArgs)->get_InteractionSourceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialManipulationDelta) consume_Windows_UI_Input_Spatial_ISpatialManipulationCompletedEventArgs<D>::TryGetCumulativeDelta(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialManipulationCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Input_Spatial_ISpatialManipulationDelta<D>::Translation() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialManipulationDelta<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialManipulationStartedEventArgs<D>::InteractionSourceKind() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialManipulationStartedEventArgs<D>::InteractionSourceKind() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialManipulationStartedEventArgs)->get_InteractionSourceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) consume_Windows_UI_Input_Spatial_ISpatialManipulationStartedEventArgs<D>::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialManipulationStartedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialManipulationUpdatedEventArgs<D>::InteractionSourceKind() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialManipulationUpdatedEventArgs<D>::InteractionSourceKind() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialManipulationUpdatedEventArgs)->get_InteractionSourceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialManipulationDelta) consume_Windows_UI_Input_Spatial_ISpatialManipulationUpdatedEventArgs<D>::TryGetCumulativeDelta(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialManipulationUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialNavigationCanceledEventArgs<D>::InteractionSourceKind() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialNavigationCanceledEventArgs<D>::InteractionSourceKind() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialNavigationCanceledEventArgs)->get_InteractionSourceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialNavigationCompletedEventArgs<D>::InteractionSourceKind() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialNavigationCompletedEventArgs<D>::InteractionSourceKind() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialNavigationCompletedEventArgs)->get_InteractionSourceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Input_Spatial_ISpatialNavigationCompletedEventArgs<D>::NormalizedOffset() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialNavigationCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs<D>::InteractionSourceKind() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs<D>::InteractionSourceKind() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialNavigationStartedEventArgs)->get_InteractionSourceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs<D>::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs<D>::IsNavigatingX() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs<D>::IsNavigatingX() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialNavigationStartedEventArgs)->get_IsNavigatingX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs<D>::IsNavigatingY() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs<D>::IsNavigatingY() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialNavigationStartedEventArgs)->get_IsNavigatingY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs<D>::IsNavigatingZ() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialNavigationStartedEventArgs<D>::IsNavigatingZ() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialNavigationStartedEventArgs)->get_IsNavigatingZ(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialNavigationUpdatedEventArgs<D>::InteractionSourceKind() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialNavigationUpdatedEventArgs<D>::InteractionSourceKind() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialNavigationUpdatedEventArgs)->get_InteractionSourceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Input_Spatial_ISpatialNavigationUpdatedEventArgs<D>::NormalizedOffset() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialNavigationUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose<D>::ForwardDirection() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose<D>::UpDirection() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::quaternion) consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose2<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourcePositionAccuracy) consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose2<D>::PositionAccuracy() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialPointerInteractionSourcePose2<D>::PositionAccuracy() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourcePositionAccuracy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialPointerInteractionSourcePose2)->get_PositionAccuracy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) consume_Windows_UI_Input_Spatial_ISpatialPointerPose<D>::Timestamp() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialPointerPose<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::People::HeadPose) consume_Windows_UI_Input_Spatial_ISpatialPointerPose<D>::Head() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialPointerPose<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerInteractionSourcePose) consume_Windows_UI_Input_Spatial_ISpatialPointerPose2<D>::TryGetInteractionSourcePose(winrt::Windows::UI::Input::Spatial::SpatialInteractionSource const& source) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialPointerPose2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Perception::People::EyesPose) consume_Windows_UI_Input_Spatial_ISpatialPointerPose3<D>::Eyes() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialPointerPose3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialPointerPose3<D>::IsHeadCapturedBySystem() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialPointerPose3<D>::IsHeadCapturedBySystem() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialPointerPose3)->get_IsHeadCapturedBySystem(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) consume_Windows_UI_Input_Spatial_ISpatialPointerPoseStatics<D>::TryGetAtTimestamp(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem, winrt::Windows::Perception::PerceptionTimestamp const& timestamp) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialPointerPoseStatics<D>::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**)(&timestamp), &value));
return winrt::Windows::UI::Input::Spatial::SpatialPointerPose{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialRecognitionEndedEventArgs<D>::InteractionSourceKind() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialRecognitionEndedEventArgs<D>::InteractionSourceKind() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialRecognitionEndedEventArgs)->get_InteractionSourceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialRecognitionStartedEventArgs<D>::InteractionSourceKind() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialRecognitionStartedEventArgs<D>::InteractionSourceKind() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialRecognitionStartedEventArgs)->get_InteractionSourceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) consume_Windows_UI_Input_Spatial_ISpatialRecognitionStartedEventArgs<D>::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialRecognitionStartedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_Spatial_ISpatialRecognitionStartedEventArgs<D>::IsGesturePossible(winrt::Windows::UI::Input::Spatial::SpatialGestureSettings const& gesture) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialRecognitionStartedEventArgs<D>::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<uint32_t>(gesture), &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind) consume_Windows_UI_Input_Spatial_ISpatialTappedEventArgs<D>::InteractionSourceKind() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialTappedEventArgs<D>::InteractionSourceKind() const
{
winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialTappedEventArgs)->get_InteractionSourceKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialPointerPose) consume_Windows_UI_Input_Spatial_ISpatialTappedEventArgs<D>::TryGetPointerPose(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialTappedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_Spatial_ISpatialTappedEventArgs<D>::TapCount() const
+ template <typename D> auto consume_Windows_UI_Input_Spatial_ISpatialTappedEventArgs<D>::TapCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::Spatial::ISpatialTappedEventArgs)->get_TapCount(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.h
index 9bf4d3d08ef..ffb8ba439ec 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Input.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_ICrossSlidingEventArgs<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Input_ICrossSlidingEventArgs<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ICrossSlidingEventArgs)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_ICrossSlidingEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Input_ICrossSlidingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::CrossSlidingState) consume_Windows_UI_Input_ICrossSlidingEventArgs<D>::CrossSlidingState() const
+ template <typename D> auto consume_Windows_UI_Input_ICrossSlidingEventArgs<D>::CrossSlidingState() const
{
winrt::Windows::UI::Input::CrossSlidingState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ICrossSlidingEventArgs)->get_CrossSlidingState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_ICrossSlidingEventArgs2<D>::ContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_ICrossSlidingEventArgs2<D>::ContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ICrossSlidingEventArgs2)->get_ContactCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_IDraggingEventArgs<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Input_IDraggingEventArgs<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IDraggingEventArgs)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IDraggingEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Input_IDraggingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::DraggingState) consume_Windows_UI_Input_IDraggingEventArgs<D>::DraggingState() const
+ template <typename D> auto consume_Windows_UI_Input_IDraggingEventArgs<D>::DraggingState() const
{
winrt::Windows::UI::Input::DraggingState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IDraggingEventArgs)->get_DraggingState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IDraggingEventArgs2<D>::ContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_IDraggingEventArgs2<D>::ContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IDraggingEventArgs2)->get_ContactCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IEdgeGesture<D>::Starting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IEdgeGesture<D>::Starting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> 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 D> typename consume_Windows_UI_Input_IEdgeGesture<D>::Starting_revoker consume_Windows_UI_Input_IEdgeGesture<D>::Starting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IEdgeGesture<D>::Starting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Starting_revoker>(this, Starting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IEdgeGesture<D>::Starting(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IEdgeGesture<D>::Starting(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IEdgeGesture)->remove_Starting(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IEdgeGesture<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IEdgeGesture<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> 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 D> typename consume_Windows_UI_Input_IEdgeGesture<D>::Completed_revoker consume_Windows_UI_Input_IEdgeGesture<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IEdgeGesture<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Completed_revoker>(this, Completed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IEdgeGesture<D>::Completed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IEdgeGesture<D>::Completed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IEdgeGesture)->remove_Completed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IEdgeGesture<D>::Canceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IEdgeGesture<D>::Canceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> 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 D> typename consume_Windows_UI_Input_IEdgeGesture<D>::Canceled_revoker consume_Windows_UI_Input_IEdgeGesture<D>::Canceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IEdgeGesture<D>::Canceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Canceled_revoker>(this, Canceled(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IEdgeGesture<D>::Canceled(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IEdgeGesture<D>::Canceled(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IEdgeGesture)->remove_Canceled(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::EdgeGestureKind) consume_Windows_UI_Input_IEdgeGestureEventArgs<D>::Kind() const
+ template <typename D> auto consume_Windows_UI_Input_IEdgeGestureEventArgs<D>::Kind() const
{
winrt::Windows::UI::Input::EdgeGestureKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IEdgeGestureEventArgs)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::EdgeGesture) consume_Windows_UI_Input_IEdgeGestureStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_Input_IEdgeGestureStatics<D>::GetForCurrentView() const
{
void* current{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IEdgeGestureStatics)->GetForCurrentView(&current));
return winrt::Windows::UI::Input::EdgeGesture{ current, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::GestureSettings) consume_Windows_UI_Input_IGestureRecognizer<D>::GestureSettings() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::GestureSettings() const
{
winrt::Windows::UI::Input::GestureSettings value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_GestureSettings(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::GestureSettings(winrt::Windows::UI::Input::GestureSettings const& value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::GestureSettings(winrt::Windows::UI::Input::GestureSettings const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_GestureSettings(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IGestureRecognizer<D>::IsInertial() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::IsInertial() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_IsInertial(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IGestureRecognizer<D>::IsActive() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::IsActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_IsActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IGestureRecognizer<D>::ShowGestureFeedback() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ShowGestureFeedback() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_ShowGestureFeedback(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::ShowGestureFeedback(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ShowGestureFeedback(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_ShowGestureFeedback(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IGestureRecognizer<D>::PivotCenter() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::PivotCenter(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IGestureRecognizer<D>::PivotRadius() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::PivotRadius() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_PivotRadius(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::PivotRadius(float value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::PivotRadius(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_PivotRadius(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaTranslationDeceleration() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaTranslationDeceleration() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_InertiaTranslationDeceleration(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaTranslationDeceleration(float value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaTranslationDeceleration(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_InertiaTranslationDeceleration(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaRotationDeceleration() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaRotationDeceleration() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_InertiaRotationDeceleration(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaRotationDeceleration(float value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaRotationDeceleration(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_InertiaRotationDeceleration(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaExpansionDeceleration() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaExpansionDeceleration() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_InertiaExpansionDeceleration(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaExpansionDeceleration(float value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaExpansionDeceleration(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_InertiaExpansionDeceleration(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaTranslationDisplacement() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaTranslationDisplacement() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_InertiaTranslationDisplacement(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaTranslationDisplacement(float value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaTranslationDisplacement(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_InertiaTranslationDisplacement(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaRotationAngle() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaRotationAngle() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_InertiaRotationAngle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaRotationAngle(float value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaRotationAngle(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_InertiaRotationAngle(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaExpansion() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaExpansion() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_InertiaExpansion(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaExpansion(float value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::InertiaExpansion(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_InertiaExpansion(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationExact() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationExact() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_ManipulationExact(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationExact(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationExact(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_ManipulationExact(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::CrossSlideThresholds) consume_Windows_UI_Input_IGestureRecognizer<D>::CrossSlideThresholds() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::CrossSlideThresholds(winrt::Windows::UI::Input::CrossSlideThresholds const& value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IGestureRecognizer<D>::CrossSlideHorizontally() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::CrossSlideHorizontally() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_CrossSlideHorizontally(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::CrossSlideHorizontally(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::CrossSlideHorizontally(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_CrossSlideHorizontally(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IGestureRecognizer<D>::CrossSlideExact() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::CrossSlideExact() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_CrossSlideExact(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::CrossSlideExact(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::CrossSlideExact(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_CrossSlideExact(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IGestureRecognizer<D>::AutoProcessInertia() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::AutoProcessInertia() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->get_AutoProcessInertia(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::AutoProcessInertia(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::AutoProcessInertia(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->put_AutoProcessInertia(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::MouseWheelParameters) consume_Windows_UI_Input_IGestureRecognizer<D>::MouseWheelParameters() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IGestureRecognizer<D>::CanBeDoubleTap(winrt::Windows::UI::Input::PointerPoint const& value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::ProcessDownEvent(winrt::Windows::UI::Input::PointerPoint const& value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ProcessDownEvent(winrt::Windows::UI::Input::PointerPoint const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->ProcessDownEvent(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::ProcessMoveEvents(param::vector<winrt::Windows::UI::Input::PointerPoint> const& value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ProcessMoveEvents(param::vector<winrt::Windows::UI::Input::PointerPoint> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->ProcessMoveEvents(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::ProcessUpEvent(winrt::Windows::UI::Input::PointerPoint const& value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ProcessUpEvent(winrt::Windows::UI::Input::PointerPoint const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->ProcessUpEvent(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::ProcessMouseWheelEvent(winrt::Windows::UI::Input::PointerPoint const& value, bool isShiftKeyDown, bool isControlKeyDown) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::ProcessInertia() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ProcessInertia() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->ProcessInertia());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::CompleteGesture() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::CompleteGesture() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->CompleteGesture());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer<D>::Tapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::TappedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::Tapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::TappedEventArgs> 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 D> typename consume_Windows_UI_Input_IGestureRecognizer<D>::Tapped_revoker consume_Windows_UI_Input_IGestureRecognizer<D>::Tapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::TappedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::Tapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::TappedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Tapped_revoker>(this, Tapped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::Tapped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::Tapped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_Tapped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer<D>::RightTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::RightTappedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::RightTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::RightTappedEventArgs> 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 D> typename consume_Windows_UI_Input_IGestureRecognizer<D>::RightTapped_revoker consume_Windows_UI_Input_IGestureRecognizer<D>::RightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::RightTappedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::RightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::RightTappedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RightTapped_revoker>(this, RightTapped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::RightTapped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::RightTapped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_RightTapped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer<D>::Holding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::HoldingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::Holding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::HoldingEventArgs> 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 D> typename consume_Windows_UI_Input_IGestureRecognizer<D>::Holding_revoker consume_Windows_UI_Input_IGestureRecognizer<D>::Holding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::HoldingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::Holding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::HoldingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Holding_revoker>(this, Holding(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::Holding(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::Holding(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_Holding(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer<D>::Dragging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::DraggingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::Dragging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::DraggingEventArgs> 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 D> typename consume_Windows_UI_Input_IGestureRecognizer<D>::Dragging_revoker consume_Windows_UI_Input_IGestureRecognizer<D>::Dragging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::DraggingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::Dragging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::DraggingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Dragging_revoker>(this, Dragging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::Dragging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::Dragging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_Dragging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationStartedEventArgs> 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 D> typename consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationStarted_revoker consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationStartedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ManipulationStarted_revoker>(this, ManipulationStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationStarted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationStarted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_ManipulationStarted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationUpdatedEventArgs> 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 D> typename consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationUpdated_revoker consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationUpdatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationUpdatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ManipulationUpdated_revoker>(this, ManipulationUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationUpdated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationUpdated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_ManipulationUpdated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationInertiaStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationInertiaStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationInertiaStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationInertiaStartingEventArgs> 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 D> typename consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationInertiaStarting_revoker consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationInertiaStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationInertiaStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationInertiaStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationInertiaStartingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ManipulationInertiaStarting_revoker>(this, ManipulationInertiaStarting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationInertiaStarting(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationInertiaStarting(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_ManipulationInertiaStarting(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationCompletedEventArgs> 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 D> typename consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationCompleted_revoker consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ManipulationCompleted_revoker>(this, ManipulationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::ManipulationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_ManipulationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IGestureRecognizer<D>::CrossSliding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::CrossSlidingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::CrossSliding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::CrossSlidingEventArgs> 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 D> typename consume_Windows_UI_Input_IGestureRecognizer<D>::CrossSliding_revoker consume_Windows_UI_Input_IGestureRecognizer<D>::CrossSliding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::CrossSlidingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::CrossSliding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::CrossSlidingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CrossSliding_revoker>(this, CrossSliding(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer<D>::CrossSliding(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer<D>::CrossSliding(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer)->remove_CrossSliding(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IGestureRecognizer2<D>::TapMinContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer2<D>::TapMinContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->get_TapMinContactCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer2<D>::TapMinContactCount(uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer2<D>::TapMinContactCount(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->put_TapMinContactCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IGestureRecognizer2<D>::TapMaxContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer2<D>::TapMaxContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->get_TapMaxContactCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer2<D>::TapMaxContactCount(uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer2<D>::TapMaxContactCount(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->put_TapMaxContactCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IGestureRecognizer2<D>::HoldMinContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer2<D>::HoldMinContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->get_HoldMinContactCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer2<D>::HoldMinContactCount(uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer2<D>::HoldMinContactCount(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->put_HoldMinContactCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IGestureRecognizer2<D>::HoldMaxContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer2<D>::HoldMaxContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->get_HoldMaxContactCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer2<D>::HoldMaxContactCount(uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer2<D>::HoldMaxContactCount(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->put_HoldMaxContactCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IGestureRecognizer2<D>::HoldRadius() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer2<D>::HoldRadius() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->get_HoldRadius(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer2<D>::HoldRadius(float value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer2<D>::HoldRadius(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->put_HoldRadius(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Input_IGestureRecognizer2<D>::HoldStartDelay() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer2<D>::HoldStartDelay(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer2<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IGestureRecognizer2<D>::TranslationMinContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer2<D>::TranslationMinContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->get_TranslationMinContactCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer2<D>::TranslationMinContactCount(uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer2<D>::TranslationMinContactCount(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->put_TranslationMinContactCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IGestureRecognizer2<D>::TranslationMaxContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer2<D>::TranslationMaxContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->get_TranslationMaxContactCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IGestureRecognizer2<D>::TranslationMaxContactCount(uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Input_IGestureRecognizer2<D>::TranslationMaxContactCount(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IGestureRecognizer2)->put_TranslationMaxContactCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_IHoldingEventArgs<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Input_IHoldingEventArgs<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IHoldingEventArgs)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IHoldingEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Input_IHoldingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::HoldingState) consume_Windows_UI_Input_IHoldingEventArgs<D>::HoldingState() const
+ template <typename D> auto consume_Windows_UI_Input_IHoldingEventArgs<D>::HoldingState() const
{
winrt::Windows::UI::Input::HoldingState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IHoldingEventArgs)->get_HoldingState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IHoldingEventArgs2<D>::ContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_IHoldingEventArgs2<D>::ContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IHoldingEventArgs2)->get_ContactCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IHoldingEventArgs2<D>::CurrentContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_IHoldingEventArgs2<D>::CurrentContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IHoldingEventArgs2)->get_CurrentContactCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::InputActivationState) consume_Windows_UI_Input_IInputActivationListener<D>::State() const
+ template <typename D> auto consume_Windows_UI_Input_IInputActivationListener<D>::State() const
{
winrt::Windows::UI::Input::InputActivationState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IInputActivationListener)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IInputActivationListener<D>::InputActivationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::InputActivationListener, winrt::Windows::UI::Input::InputActivationListenerActivationChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IInputActivationListener<D>::InputActivationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::InputActivationListener, winrt::Windows::UI::Input::InputActivationListenerActivationChangedEventArgs> 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 D> typename consume_Windows_UI_Input_IInputActivationListener<D>::InputActivationChanged_revoker consume_Windows_UI_Input_IInputActivationListener<D>::InputActivationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::InputActivationListener, winrt::Windows::UI::Input::InputActivationListenerActivationChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IInputActivationListener<D>::InputActivationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::InputActivationListener, winrt::Windows::UI::Input::InputActivationListenerActivationChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, InputActivationChanged_revoker>(this, InputActivationChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IInputActivationListener<D>::InputActivationChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IInputActivationListener<D>::InputActivationChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IInputActivationListener)->remove_InputActivationChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::InputActivationState) consume_Windows_UI_Input_IInputActivationListenerActivationChangedEventArgs<D>::State() const
+ template <typename D> auto consume_Windows_UI_Input_IInputActivationListenerActivationChangedEventArgs<D>::State() const
{
winrt::Windows::UI::Input::InputActivationState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IInputActivationListenerActivationChangedEventArgs)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::IsInterceptionEnabledWhenInForeground() const
+ template <typename D> auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::IsInterceptionEnabledWhenInForeground() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IKeyboardDeliveryInterceptor)->get_IsInterceptionEnabledWhenInForeground(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::IsInterceptionEnabledWhenInForeground(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::IsInterceptionEnabledWhenInForeground(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IKeyboardDeliveryInterceptor)->put_IsInterceptionEnabledWhenInForeground(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::KeyDown(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::KeyboardDeliveryInterceptor, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::KeyDown(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::KeyboardDeliveryInterceptor, winrt::Windows::UI::Core::KeyEventArgs> 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 D> typename consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::KeyDown_revoker consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::KeyboardDeliveryInterceptor, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::KeyboardDeliveryInterceptor, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
{
return impl::make_event_revoker<D, KeyDown_revoker>(this, KeyDown(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::KeyDown(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::KeyDown(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IKeyboardDeliveryInterceptor)->remove_KeyDown(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::KeyUp(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::KeyboardDeliveryInterceptor, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::KeyUp(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::KeyboardDeliveryInterceptor, winrt::Windows::UI::Core::KeyEventArgs> 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 D> typename consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::KeyUp_revoker consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::KeyboardDeliveryInterceptor, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::KeyboardDeliveryInterceptor, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const
{
return impl::make_event_revoker<D, KeyUp_revoker>(this, KeyUp(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::KeyUp(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptor<D>::KeyUp(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IKeyboardDeliveryInterceptor)->remove_KeyUp(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::KeyboardDeliveryInterceptor) consume_Windows_UI_Input_IKeyboardDeliveryInterceptorStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_Input_IKeyboardDeliveryInterceptorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_IManipulationCompletedEventArgs<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationCompletedEventArgs<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationCompletedEventArgs)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IManipulationCompletedEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Input_IManipulationCompletedEventArgs<D>::Cumulative() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) consume_Windows_UI_Input_IManipulationCompletedEventArgs<D>::Velocities() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IManipulationCompletedEventArgs2<D>::ContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationCompletedEventArgs2<D>::ContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationCompletedEventArgs2)->get_ContactCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IManipulationCompletedEventArgs2<D>::CurrentContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationCompletedEventArgs2<D>::CurrentContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationCompletedEventArgs2)->get_CurrentContactCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationInertiaStartingEventArgs)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs<D>::Delta() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs<D>::Cumulative() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs<D>::Velocities() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs2<D>::ContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs2<D>::ContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationInertiaStartingEventArgs2)->get_ContactCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_IManipulationStartedEventArgs<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationStartedEventArgs<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationStartedEventArgs)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IManipulationStartedEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationStartedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Input_IManipulationStartedEventArgs<D>::Cumulative() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationStartedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IManipulationStartedEventArgs2<D>::ContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationStartedEventArgs2<D>::ContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationStartedEventArgs2)->get_ContactCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_IManipulationUpdatedEventArgs<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationUpdatedEventArgs<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationUpdatedEventArgs)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IManipulationUpdatedEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Input_IManipulationUpdatedEventArgs<D>::Delta() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Input_IManipulationUpdatedEventArgs<D>::Cumulative() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) consume_Windows_UI_Input_IManipulationUpdatedEventArgs<D>::Velocities() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationUpdatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IManipulationUpdatedEventArgs2<D>::ContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationUpdatedEventArgs2<D>::ContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationUpdatedEventArgs2)->get_ContactCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IManipulationUpdatedEventArgs2<D>::CurrentContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_IManipulationUpdatedEventArgs2<D>::CurrentContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IManipulationUpdatedEventArgs2)->get_CurrentContactCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IMouseWheelParameters<D>::CharTranslation() const
+ template <typename D> auto consume_Windows_UI_Input_IMouseWheelParameters<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IMouseWheelParameters<D>::CharTranslation(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Input_IMouseWheelParameters<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IMouseWheelParameters<D>::DeltaScale() const
+ template <typename D> auto consume_Windows_UI_Input_IMouseWheelParameters<D>::DeltaScale() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IMouseWheelParameters)->get_DeltaScale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IMouseWheelParameters<D>::DeltaScale(float value) const
+ template <typename D> auto consume_Windows_UI_Input_IMouseWheelParameters<D>::DeltaScale(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IMouseWheelParameters)->put_DeltaScale(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IMouseWheelParameters<D>::DeltaRotationAngle() const
+ template <typename D> auto consume_Windows_UI_Input_IMouseWheelParameters<D>::DeltaRotationAngle() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IMouseWheelParameters)->get_DeltaRotationAngle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IMouseWheelParameters<D>::DeltaRotationAngle(float value) const
+ template <typename D> auto consume_Windows_UI_Input_IMouseWheelParameters<D>::DeltaRotationAngle(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IMouseWheelParameters)->put_DeltaRotationAngle(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IMouseWheelParameters<D>::PageTranslation() const
+ template <typename D> auto consume_Windows_UI_Input_IMouseWheelParameters<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IMouseWheelParameters<D>::PageTranslation(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Input_IMouseWheelParameters<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDevice) consume_Windows_UI_Input_IPointerPoint<D>::PointerDevice() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPoint<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IPointerPoint<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPoint<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IPointerPoint<D>::RawPosition() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPoint<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IPointerPoint<D>::PointerId() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPoint<D>::PointerId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPoint)->get_PointerId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IPointerPoint<D>::FrameId() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPoint<D>::FrameId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPoint)->get_FrameId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_UI_Input_IPointerPoint<D>::Timestamp() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPoint<D>::Timestamp() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPoint)->get_Timestamp(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPoint<D>::IsInContact() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPoint<D>::IsInContact() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPoint)->get_IsInContact(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPointProperties) consume_Windows_UI_Input_IPointerPoint<D>::Properties() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPoint<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IPointerPointProperties<D>::Pressure() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::Pressure() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_Pressure(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties<D>::IsInverted() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::IsInverted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsInverted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties<D>::IsEraser() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::IsEraser() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsEraser(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IPointerPointProperties<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::Orientation() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_Orientation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IPointerPointProperties<D>::XTilt() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::XTilt() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_XTilt(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IPointerPointProperties<D>::YTilt() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::YTilt() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_YTilt(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Input_IPointerPointProperties<D>::Twist() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::Twist() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_Twist(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_IPointerPointProperties<D>::ContactRect() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_IPointerPointProperties<D>::ContactRectRaw() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties<D>::TouchConfidence() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::TouchConfidence() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_TouchConfidence(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties<D>::IsLeftButtonPressed() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::IsLeftButtonPressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsLeftButtonPressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties<D>::IsRightButtonPressed() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::IsRightButtonPressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsRightButtonPressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties<D>::IsMiddleButtonPressed() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::IsMiddleButtonPressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsMiddleButtonPressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Input_IPointerPointProperties<D>::MouseWheelDelta() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::MouseWheelDelta() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_MouseWheelDelta(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties<D>::IsHorizontalMouseWheel() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::IsHorizontalMouseWheel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsHorizontalMouseWheel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties<D>::IsPrimary() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::IsPrimary() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsPrimary(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties<D>::IsInRange() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::IsInRange() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsInRange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties<D>::IsCanceled() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::IsCanceled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsCanceled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties<D>::IsBarrelButtonPressed() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::IsBarrelButtonPressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsBarrelButtonPressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties<D>::IsXButton1Pressed() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::IsXButton1Pressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsXButton1Pressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties<D>::IsXButton2Pressed() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::IsXButton2Pressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_IsXButton2Pressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerUpdateKind) consume_Windows_UI_Input_IPointerPointProperties<D>::PointerUpdateKind() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::PointerUpdateKind() const
{
winrt::Windows::UI::Input::PointerUpdateKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties)->get_PointerUpdateKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointProperties<D>::HasUsage(uint32_t usagePage, uint32_t usageId) const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Input_IPointerPointProperties<D>::GetUsageValue(uint32_t usagePage, uint32_t usageId) const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) consume_Windows_UI_Input_IPointerPointProperties2<D>::ZDistance() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointProperties2<D>::ZDistance() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerPointProperties2)->get_ZDistance(&value));
return winrt::Windows::Foundation::IReference<float>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPoint) consume_Windows_UI_Input_IPointerPointStatics<D>::GetCurrentPoint(uint32_t pointerId) const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Input::PointerPoint>) consume_Windows_UI_Input_IPointerPointStatics<D>::GetIntermediatePoints(uint32_t pointerId) const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointStatics<D>::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<winrt::Windows::UI::Input::PointerPoint>{ pointerPoints, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPoint) consume_Windows_UI_Input_IPointerPointStatics<D>::GetCurrentPoint(uint32_t pointerId, winrt::Windows::UI::Input::IPointerPointTransform const& transform) const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Input::PointerPoint>) consume_Windows_UI_Input_IPointerPointStatics<D>::GetIntermediatePoints(uint32_t pointerId, winrt::Windows::UI::Input::IPointerPointTransform const& transform) const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointStatics<D>::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<winrt::Windows::UI::Input::PointerPoint>{ pointerPoints, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::IPointerPointTransform) consume_Windows_UI_Input_IPointerPointTransform<D>::Inverse() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointTransform<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerPointTransform<D>::TryTransform(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointTransform<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_IPointerPointTransform<D>::TransformBounds(winrt::Windows::Foundation::Rect const& rect) const
+ template <typename D> auto consume_Windows_UI_Input_IPointerPointTransform<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IPointerVisualizationSettings<D>::IsContactFeedbackEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_IPointerVisualizationSettings<D>::IsContactFeedbackEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerVisualizationSettings)->put_IsContactFeedbackEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerVisualizationSettings<D>::IsContactFeedbackEnabled() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerVisualizationSettings<D>::IsContactFeedbackEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerVisualizationSettings)->get_IsContactFeedbackEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IPointerVisualizationSettings<D>::IsBarrelButtonFeedbackEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_IPointerVisualizationSettings<D>::IsBarrelButtonFeedbackEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerVisualizationSettings)->put_IsBarrelButtonFeedbackEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IPointerVisualizationSettings<D>::IsBarrelButtonFeedbackEnabled() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerVisualizationSettings<D>::IsBarrelButtonFeedbackEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IPointerVisualizationSettings)->get_IsBarrelButtonFeedbackEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerVisualizationSettings) consume_Windows_UI_Input_IPointerVisualizationSettingsStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_Input_IPointerVisualizationSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenu) consume_Windows_UI_Input_IRadialController<D>::Menu() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_IRadialController<D>::RotationResolutionInDegrees() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::RotationResolutionInDegrees() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->get_RotationResolutionInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController<D>::RotationResolutionInDegrees(double value) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::RotationResolutionInDegrees(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->put_RotationResolutionInDegrees(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialController<D>::UseAutomaticHapticFeedback() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::UseAutomaticHapticFeedback() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->get_UseAutomaticHapticFeedback(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController<D>::UseAutomaticHapticFeedback(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::UseAutomaticHapticFeedback(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->put_UseAutomaticHapticFeedback(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController<D>::ScreenContactStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerScreenContactStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ScreenContactStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerScreenContactStartedEventArgs> 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 D> typename consume_Windows_UI_Input_IRadialController<D>::ScreenContactStarted_revoker consume_Windows_UI_Input_IRadialController<D>::ScreenContactStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerScreenContactStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ScreenContactStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerScreenContactStartedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ScreenContactStarted_revoker>(this, ScreenContactStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController<D>::ScreenContactStarted(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ScreenContactStarted(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->remove_ScreenContactStarted(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController<D>::ScreenContactEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ScreenContactEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Input_IRadialController<D>::ScreenContactEnded_revoker consume_Windows_UI_Input_IRadialController<D>::ScreenContactEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ScreenContactEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ScreenContactEnded_revoker>(this, ScreenContactEnded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController<D>::ScreenContactEnded(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ScreenContactEnded(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->remove_ScreenContactEnded(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController<D>::ScreenContactContinued(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerScreenContactContinuedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ScreenContactContinued(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerScreenContactContinuedEventArgs> 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 D> typename consume_Windows_UI_Input_IRadialController<D>::ScreenContactContinued_revoker consume_Windows_UI_Input_IRadialController<D>::ScreenContactContinued(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerScreenContactContinuedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ScreenContactContinued(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerScreenContactContinuedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ScreenContactContinued_revoker>(this, ScreenContactContinued(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController<D>::ScreenContactContinued(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ScreenContactContinued(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->remove_ScreenContactContinued(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController<D>::ControlLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ControlLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Input_IRadialController<D>::ControlLost_revoker consume_Windows_UI_Input_IRadialController<D>::ControlLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ControlLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ControlLost_revoker>(this, ControlLost(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController<D>::ControlLost(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ControlLost(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->remove_ControlLost(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController<D>::RotationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerRotationChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::RotationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerRotationChangedEventArgs> 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 D> typename consume_Windows_UI_Input_IRadialController<D>::RotationChanged_revoker consume_Windows_UI_Input_IRadialController<D>::RotationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerRotationChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::RotationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerRotationChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RotationChanged_revoker>(this, RotationChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController<D>::RotationChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::RotationChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->remove_RotationChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController<D>::ButtonClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonClickedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ButtonClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonClickedEventArgs> 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 D> typename consume_Windows_UI_Input_IRadialController<D>::ButtonClicked_revoker consume_Windows_UI_Input_IRadialController<D>::ButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonClickedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonClickedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ButtonClicked_revoker>(this, ButtonClicked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController<D>::ButtonClicked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ButtonClicked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->remove_ButtonClicked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController<D>::ControlAcquired(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerControlAcquiredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ControlAcquired(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerControlAcquiredEventArgs> 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 D> typename consume_Windows_UI_Input_IRadialController<D>::ControlAcquired_revoker consume_Windows_UI_Input_IRadialController<D>::ControlAcquired(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerControlAcquiredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ControlAcquired(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerControlAcquiredEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ControlAcquired_revoker>(this, ControlAcquired(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController<D>::ControlAcquired(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IRadialController<D>::ControlAcquired(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController)->remove_ControlAcquired(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController2<D>::ButtonPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonPressedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController2<D>::ButtonPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonPressedEventArgs> 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 D> typename consume_Windows_UI_Input_IRadialController2<D>::ButtonPressed_revoker consume_Windows_UI_Input_IRadialController2<D>::ButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonPressedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController2<D>::ButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonPressedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ButtonPressed_revoker>(this, ButtonPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController2<D>::ButtonPressed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IRadialController2<D>::ButtonPressed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController2)->remove_ButtonPressed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController2<D>::ButtonHolding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonHoldingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController2<D>::ButtonHolding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonHoldingEventArgs> 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 D> typename consume_Windows_UI_Input_IRadialController2<D>::ButtonHolding_revoker consume_Windows_UI_Input_IRadialController2<D>::ButtonHolding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonHoldingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController2<D>::ButtonHolding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonHoldingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ButtonHolding_revoker>(this, ButtonHolding(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController2<D>::ButtonHolding(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IRadialController2<D>::ButtonHolding(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController2)->remove_ButtonHolding(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialController2<D>::ButtonReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonReleasedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController2<D>::ButtonReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonReleasedEventArgs> 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 D> typename consume_Windows_UI_Input_IRadialController2<D>::ButtonReleased_revoker consume_Windows_UI_Input_IRadialController2<D>::ButtonReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonReleasedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialController2<D>::ButtonReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonReleasedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ButtonReleased_revoker>(this, ButtonReleased(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialController2<D>::ButtonReleased(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IRadialController2<D>::ButtonReleased(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialController2)->remove_ButtonReleased(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) consume_Windows_UI_Input_IRadialControllerButtonClickedEventArgs<D>::Contact() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerButtonClickedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerButtonClickedEventArgs2<D>::SimpleHapticsController() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerButtonClickedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) consume_Windows_UI_Input_IRadialControllerButtonHoldingEventArgs<D>::Contact() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerButtonHoldingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerButtonHoldingEventArgs<D>::SimpleHapticsController() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerButtonHoldingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) consume_Windows_UI_Input_IRadialControllerButtonPressedEventArgs<D>::Contact() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerButtonPressedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerButtonPressedEventArgs<D>::SimpleHapticsController() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerButtonPressedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) consume_Windows_UI_Input_IRadialControllerButtonReleasedEventArgs<D>::Contact() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerButtonReleasedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerButtonReleasedEventArgs<D>::SimpleHapticsController() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerButtonReleasedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerConfiguration<D>::SetDefaultMenuItems(param::iterable<winrt::Windows::UI::Input::RadialControllerSystemMenuItemKind> const& buttons) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerConfiguration<D>::SetDefaultMenuItems(param::iterable<winrt::Windows::UI::Input::RadialControllerSystemMenuItemKind> const& buttons) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfiguration)->SetDefaultMenuItems(*(void**)(&buttons)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerConfiguration<D>::ResetToDefaultMenuItems() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerConfiguration<D>::ResetToDefaultMenuItems() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfiguration)->ResetToDefaultMenuItems());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerConfiguration<D>::TrySelectDefaultMenuItem(winrt::Windows::UI::Input::RadialControllerSystemMenuItemKind const& type) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerConfiguration<D>::TrySelectDefaultMenuItem(winrt::Windows::UI::Input::RadialControllerSystemMenuItemKind const& type) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfiguration)->TrySelectDefaultMenuItem(static_cast<int32_t>(type), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerConfiguration2<D>::ActiveControllerWhenMenuIsSuppressed(winrt::Windows::UI::Input::RadialController const& value) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerConfiguration2<D>::ActiveControllerWhenMenuIsSuppressed(winrt::Windows::UI::Input::RadialController const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfiguration2)->put_ActiveControllerWhenMenuIsSuppressed(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialController) consume_Windows_UI_Input_IRadialControllerConfiguration2<D>::ActiveControllerWhenMenuIsSuppressed() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerConfiguration2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerConfiguration2<D>::IsMenuSuppressed(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerConfiguration2<D>::IsMenuSuppressed(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfiguration2)->put_IsMenuSuppressed(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerConfiguration2<D>::IsMenuSuppressed() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerConfiguration2<D>::IsMenuSuppressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfiguration2)->get_IsMenuSuppressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerConfiguration) consume_Windows_UI_Input_IRadialControllerConfigurationStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerConfigurationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerConfigurationStatics2<D>::AppController(winrt::Windows::UI::Input::RadialController const& value) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerConfigurationStatics2<D>::AppController(winrt::Windows::UI::Input::RadialController const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfigurationStatics2)->put_AppController(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialController) consume_Windows_UI_Input_IRadialControllerConfigurationStatics2<D>::AppController() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerConfigurationStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerConfigurationStatics2<D>::IsAppControllerEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerConfigurationStatics2<D>::IsAppControllerEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfigurationStatics2)->put_IsAppControllerEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerConfigurationStatics2<D>::IsAppControllerEnabled() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerConfigurationStatics2<D>::IsAppControllerEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerConfigurationStatics2)->get_IsAppControllerEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) consume_Windows_UI_Input_IRadialControllerControlAcquiredEventArgs<D>::Contact() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerControlAcquiredEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerControlAcquiredEventArgs2<D>::IsButtonPressed() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerControlAcquiredEventArgs2<D>::IsButtonPressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerControlAcquiredEventArgs2)->get_IsButtonPressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerControlAcquiredEventArgs2<D>::SimpleHapticsController() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerControlAcquiredEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Input::RadialControllerMenuItem>) consume_Windows_UI_Input_IRadialControllerMenu<D>::Items() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerMenu<D>::Items() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenu)->get_Items(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Input::RadialControllerMenuItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerMenu<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerMenu<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenu)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerMenu<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerMenu<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenu)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenuItem) consume_Windows_UI_Input_IRadialControllerMenu<D>::GetSelectedMenuItem() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerMenu<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerMenu<D>::SelectMenuItem(winrt::Windows::UI::Input::RadialControllerMenuItem const& menuItem) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerMenu<D>::SelectMenuItem(winrt::Windows::UI::Input::RadialControllerMenuItem const& menuItem) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenu)->SelectMenuItem(*(void**)(&menuItem)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerMenu<D>::TrySelectPreviouslySelectedMenuItem() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerMenu<D>::TrySelectPreviouslySelectedMenuItem() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenu)->TrySelectPreviouslySelectedMenuItem(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Input_IRadialControllerMenuItem<D>::DisplayText() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerMenuItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Input_IRadialControllerMenuItem<D>::Tag() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerMenuItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerMenuItem<D>::Tag(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerMenuItem<D>::Tag(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenuItem)->put_Tag(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_IRadialControllerMenuItem<D>::Invoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialControllerMenuItem, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerMenuItem<D>::Invoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialControllerMenuItem, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Input_IRadialControllerMenuItem<D>::Invoked_revoker consume_Windows_UI_Input_IRadialControllerMenuItem<D>::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialControllerMenuItem, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerMenuItem<D>::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialControllerMenuItem, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Invoked_revoker>(this, Invoked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_IRadialControllerMenuItem<D>::Invoked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerMenuItem<D>::Invoked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerMenuItem)->remove_Invoked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenuItem) consume_Windows_UI_Input_IRadialControllerMenuItemStatics<D>::CreateFromIcon(param::hstring const& displayText, winrt::Windows::Storage::Streams::RandomAccessStreamReference const& icon) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerMenuItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenuItem) consume_Windows_UI_Input_IRadialControllerMenuItemStatics<D>::CreateFromKnownIcon(param::hstring const& displayText, winrt::Windows::UI::Input::RadialControllerMenuKnownIcon const& value) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerMenuItemStatics<D>::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<int32_t>(value), &result));
return winrt::Windows::UI::Input::RadialControllerMenuItem{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenuItem) consume_Windows_UI_Input_IRadialControllerMenuItemStatics2<D>::CreateFromFontGlyph(param::hstring const& displayText, param::hstring const& glyph, param::hstring const& fontFamily) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerMenuItemStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerMenuItem) consume_Windows_UI_Input_IRadialControllerMenuItemStatics2<D>::CreateFromFontGlyph(param::hstring const& displayText, param::hstring const& glyph, param::hstring const& fontFamily, winrt::Windows::Foundation::Uri const& fontUri) const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerMenuItemStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs<D>::RotationDeltaInDegrees() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs<D>::RotationDeltaInDegrees() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerRotationChangedEventArgs)->get_RotationDeltaInDegrees(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs<D>::Contact() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs2<D>::IsButtonPressed() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs2<D>::IsButtonPressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerRotationChangedEventArgs2)->get_IsButtonPressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs2<D>::SimpleHapticsController() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerRotationChangedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Input_IRadialControllerScreenContact<D>::Bounds() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerScreenContact<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IRadialControllerScreenContact<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerScreenContact<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) consume_Windows_UI_Input_IRadialControllerScreenContactContinuedEventArgs<D>::Contact() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerScreenContactContinuedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerScreenContactContinuedEventArgs2<D>::IsButtonPressed() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerScreenContactContinuedEventArgs2<D>::IsButtonPressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerScreenContactContinuedEventArgs2)->get_IsButtonPressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerScreenContactContinuedEventArgs2<D>::SimpleHapticsController() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerScreenContactContinuedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerScreenContactEndedEventArgs<D>::IsButtonPressed() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerScreenContactEndedEventArgs<D>::IsButtonPressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerScreenContactEndedEventArgs)->get_IsButtonPressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerScreenContactEndedEventArgs<D>::SimpleHapticsController() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerScreenContactEndedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) consume_Windows_UI_Input_IRadialControllerScreenContactStartedEventArgs<D>::Contact() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerScreenContactStartedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerScreenContactStartedEventArgs2<D>::IsButtonPressed() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerScreenContactStartedEventArgs2<D>::IsButtonPressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerScreenContactStartedEventArgs2)->get_IsButtonPressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) consume_Windows_UI_Input_IRadialControllerScreenContactStartedEventArgs2<D>::SimpleHapticsController() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerScreenContactStartedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_IRadialControllerStatics<D>::IsSupported() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerStatics<D>::IsSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRadialControllerStatics)->IsSupported(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialController) consume_Windows_UI_Input_IRadialControllerStatics<D>::CreateForCurrentView() const
+ template <typename D> auto consume_Windows_UI_Input_IRadialControllerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_IRightTappedEventArgs<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Input_IRightTappedEventArgs<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRightTappedEventArgs)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_IRightTappedEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Input_IRightTappedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_IRightTappedEventArgs2<D>::ContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_IRightTappedEventArgs2<D>::ContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::IRightTappedEventArgs2)->get_ContactCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionButtonPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionButtonEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionButtonPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionButtonEventArgs> 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 D> typename consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionButtonPressed_revoker consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionButtonEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionButtonEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SystemFunctionButtonPressed_revoker>(this, SystemFunctionButtonPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionButtonPressed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionButtonPressed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemButtonEventController)->remove_SystemFunctionButtonPressed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionButtonReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionButtonEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionButtonReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionButtonEventArgs> 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 D> typename consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionButtonReleased_revoker consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionButtonReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionButtonEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionButtonReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionButtonEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SystemFunctionButtonReleased_revoker>(this, SystemFunctionButtonReleased(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionButtonReleased(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionButtonReleased(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemButtonEventController)->remove_SystemFunctionButtonReleased(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionLockChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionLockChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionLockChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionLockChangedEventArgs> 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 D> typename consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionLockChanged_revoker consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionLockChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionLockChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionLockChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionLockChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SystemFunctionLockChanged_revoker>(this, SystemFunctionLockChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionLockChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionLockChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemButtonEventController)->remove_SystemFunctionLockChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionLockIndicatorChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionLockIndicatorChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionLockIndicatorChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionLockIndicatorChangedEventArgs> 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 D> typename consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionLockIndicatorChanged_revoker consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionLockIndicatorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionLockIndicatorChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionLockIndicatorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionLockIndicatorChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SystemFunctionLockIndicatorChanged_revoker>(this, SystemFunctionLockIndicatorChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionLockIndicatorChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Input_ISystemButtonEventController<D>::SystemFunctionLockIndicatorChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemButtonEventController)->remove_SystemFunctionLockIndicatorChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::SystemButtonEventController) consume_Windows_UI_Input_ISystemButtonEventControllerStatics<D>::CreateForDispatcherQueue(winrt::Windows::System::DispatcherQueue const& queue) const
+ template <typename D> auto consume_Windows_UI_Input_ISystemButtonEventControllerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_UI_Input_ISystemFunctionButtonEventArgs<D>::Timestamp() const
+ template <typename D> auto consume_Windows_UI_Input_ISystemFunctionButtonEventArgs<D>::Timestamp() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionButtonEventArgs)->get_Timestamp(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_ISystemFunctionButtonEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Input_ISystemFunctionButtonEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionButtonEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_ISystemFunctionButtonEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_ISystemFunctionButtonEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionButtonEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_UI_Input_ISystemFunctionLockChangedEventArgs<D>::Timestamp() const
+ template <typename D> auto consume_Windows_UI_Input_ISystemFunctionLockChangedEventArgs<D>::Timestamp() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionLockChangedEventArgs)->get_Timestamp(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_ISystemFunctionLockChangedEventArgs<D>::IsLocked() const
+ template <typename D> auto consume_Windows_UI_Input_ISystemFunctionLockChangedEventArgs<D>::IsLocked() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionLockChangedEventArgs)->get_IsLocked(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_ISystemFunctionLockChangedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Input_ISystemFunctionLockChangedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionLockChangedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_ISystemFunctionLockChangedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_ISystemFunctionLockChangedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionLockChangedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_UI_Input_ISystemFunctionLockIndicatorChangedEventArgs<D>::Timestamp() const
+ template <typename D> auto consume_Windows_UI_Input_ISystemFunctionLockIndicatorChangedEventArgs<D>::Timestamp() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionLockIndicatorChangedEventArgs)->get_Timestamp(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_ISystemFunctionLockIndicatorChangedEventArgs<D>::IsIndicatorOn() const
+ template <typename D> auto consume_Windows_UI_Input_ISystemFunctionLockIndicatorChangedEventArgs<D>::IsIndicatorOn() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionLockIndicatorChangedEventArgs)->get_IsIndicatorOn(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Input_ISystemFunctionLockIndicatorChangedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Input_ISystemFunctionLockIndicatorChangedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionLockIndicatorChangedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Input_ISystemFunctionLockIndicatorChangedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Input_ISystemFunctionLockIndicatorChangedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ISystemFunctionLockIndicatorChangedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Input_ITappedEventArgs<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Input_ITappedEventArgs<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ITappedEventArgs)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Input_ITappedEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Input_ITappedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_ITappedEventArgs<D>::TapCount() const
+ template <typename D> auto consume_Windows_UI_Input_ITappedEventArgs<D>::TapCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ITappedEventArgs)->get_TapCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Input_ITappedEventArgs2<D>::ContactCount() const
+ template <typename D> auto consume_Windows_UI_Input_ITappedEventArgs2<D>::ContactCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Input::ITappedEventArgs2)->get_ContactCount(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Notifications.Management.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Notifications.Management.h
index 4f4de6990d4..c7a6c5fd0c1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Notifications.Management.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Notifications::Management::UserNotificationListenerAccessStatus>) consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::RequestAccessAsync() const
+ template <typename D> auto consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::RequestAccessAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::Management::IUserNotificationListener)->RequestAccessAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Notifications::Management::UserNotificationListenerAccessStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::Management::UserNotificationListenerAccessStatus) consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::GetAccessStatus() const
+ template <typename D> auto consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::GetAccessStatus() const
{
winrt::Windows::UI::Notifications::Management::UserNotificationListenerAccessStatus result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::Management::IUserNotificationListener)->GetAccessStatus(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::NotificationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::Management::UserNotificationListener, winrt::Windows::UI::Notifications::UserNotificationChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::NotificationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::Management::UserNotificationListener, winrt::Windows::UI::Notifications::UserNotificationChangedEventArgs> 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 D> typename consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::NotificationChanged_revoker consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::NotificationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::Management::UserNotificationListener, winrt::Windows::UI::Notifications::UserNotificationChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::NotificationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::Management::UserNotificationListener, winrt::Windows::UI::Notifications::UserNotificationChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, NotificationChanged_revoker>(this, NotificationChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::NotificationChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::NotificationChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::Management::IUserNotificationListener)->remove_NotificationChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::UserNotification>>) consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::GetNotificationsAsync(winrt::Windows::UI::Notifications::NotificationKinds const& kinds) const
+ template <typename D> auto consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::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<uint32_t>(kinds), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::UserNotification>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::UserNotification) consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::GetNotification(uint32_t notificationId) const
+ template <typename D> auto consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::ClearNotifications() const
+ template <typename D> auto consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::ClearNotifications() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::Management::IUserNotificationListener)->ClearNotifications());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::RemoveNotification(uint32_t notificationId) const
+ template <typename D> auto consume_Windows_UI_Notifications_Management_IUserNotificationListener<D>::RemoveNotification(uint32_t notificationId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::Management::IUserNotificationListener)->RemoveNotification(notificationId));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::Management::UserNotificationListener) consume_Windows_UI_Notifications_Management_IUserNotificationListenerStatics<D>::Current() const
+ template <typename D> auto consume_Windows_UI_Notifications_Management_IUserNotificationListenerStatics<D>::Current() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::Management::IUserNotificationListenerStatics)->get_Current(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Notifications.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Notifications.h
index f9b50147eb8..c4f7fe83bbe 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Notifications.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::AdaptiveNotificationContentKind) consume_Windows_UI_Notifications_IAdaptiveNotificationContent<D>::Kind() const
+ template <typename D> auto consume_Windows_UI_Notifications_IAdaptiveNotificationContent<D>::Kind() const
{
winrt::Windows::UI::Notifications::AdaptiveNotificationContentKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IAdaptiveNotificationContent)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_UI_Notifications_IAdaptiveNotificationContent<D>::Hints() const
+ template <typename D> auto consume_Windows_UI_Notifications_IAdaptiveNotificationContent<D>::Hints() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IAdaptiveNotificationContent)->get_Hints(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IAdaptiveNotificationText<D>::Text() const
+ template <typename D> auto consume_Windows_UI_Notifications_IAdaptiveNotificationText<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IAdaptiveNotificationText<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IAdaptiveNotificationText<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IAdaptiveNotificationText)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IAdaptiveNotificationText<D>::Language() const
+ template <typename D> auto consume_Windows_UI_Notifications_IAdaptiveNotificationText<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IAdaptiveNotificationText<D>::Language(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IAdaptiveNotificationText<D>::Language(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IAdaptiveNotificationText)->put_Language(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_IBadgeNotification<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeNotification<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IBadgeNotification<D>::ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeNotification<D>::ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeNotification)->put_ExpirationTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_UI_Notifications_IBadgeNotification<D>::ExpirationTime() const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeNotification<D>::ExpirationTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeNotification)->get_ExpirationTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeNotification) consume_Windows_UI_Notifications_IBadgeNotificationFactory<D>::CreateBadgeNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeNotificationFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser<D>::CreateBadgeUpdaterForApplication() const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser<D>::CreateBadgeUpdaterForApplication(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser<D>::CreateBadgeUpdaterForSecondaryTile(param::hstring const& tileId) const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser<D>::User() const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeUpdateManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics<D>::CreateBadgeUpdaterForApplication() const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics<D>::CreateBadgeUpdaterForApplication(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdater) consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics<D>::CreateBadgeUpdaterForSecondaryTile(param::hstring const& tileId) const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics<D>::GetTemplateContent(winrt::Windows::UI::Notifications::BadgeTemplateType const& type) const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics<D>::GetTemplateContent(winrt::Windows::UI::Notifications::BadgeTemplateType const& type) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdateManagerStatics)->GetTemplateContent(static_cast<int32_t>(type), &result));
return winrt::Windows::Data::Xml::Dom::XmlDocument{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::BadgeUpdateManagerForUser) consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics2<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeUpdateManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IBadgeUpdater<D>::Update(winrt::Windows::UI::Notifications::BadgeNotification const& notification) const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeUpdater<D>::Update(winrt::Windows::UI::Notifications::BadgeNotification const& notification) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdater)->Update(*(void**)(&notification)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IBadgeUpdater<D>::Clear() const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeUpdater<D>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdater)->Clear());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IBadgeUpdater<D>::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& badgeContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeUpdater<D>::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<int32_t>(requestedInterval)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IBadgeUpdater<D>::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& badgeContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeUpdater<D>::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<int32_t>(requestedInterval)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IBadgeUpdater<D>::StopPeriodicUpdate() const
+ template <typename D> auto consume_Windows_UI_Notifications_IBadgeUpdater<D>::StopPeriodicUpdate() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IBadgeUpdater)->StopPeriodicUpdate());
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics<D>::Style() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics<D>::Wrap() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics<D>::MaxLines() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics<D>::MinLines() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics<D>::TextStacking() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics<D>::Align() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationHintsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::Caption() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::Body() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::Base() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::Subtitle() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::Title() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::Subheader() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::Header() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::TitleNumeral() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::SubheaderNumeral() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::HeaderNumeral() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::CaptionSubtle() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::BodySubtle() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::BaseSubtle() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::SubtitleSubtle() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::TitleSubtle() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::SubheaderSubtle() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::SubheaderNumeralSubtle() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::HeaderSubtle() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::HeaderNumeralSubtle() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownAdaptiveNotificationTextStylesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IKnownNotificationBindingsStatics<D>::ToastGeneric() const
+ template <typename D> auto consume_Windows_UI_Notifications_IKnownNotificationBindingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_UI_Notifications_INotification<D>::ExpirationTime() const
+ template <typename D> auto consume_Windows_UI_Notifications_INotification<D>::ExpirationTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotification)->get_ExpirationTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_INotification<D>::ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_INotification<D>::ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotification)->put_ExpirationTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationVisual) consume_Windows_UI_Notifications_INotification<D>::Visual() const
+ template <typename D> auto consume_Windows_UI_Notifications_INotification<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_INotification<D>::Visual(winrt::Windows::UI::Notifications::NotificationVisual const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_INotification<D>::Visual(winrt::Windows::UI::Notifications::NotificationVisual const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotification)->put_Visual(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_INotificationBinding<D>::Template() const
+ template <typename D> auto consume_Windows_UI_Notifications_INotificationBinding<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_INotificationBinding<D>::Template(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_INotificationBinding<D>::Template(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationBinding)->put_Template(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_INotificationBinding<D>::Language() const
+ template <typename D> auto consume_Windows_UI_Notifications_INotificationBinding<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_INotificationBinding<D>::Language(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_INotificationBinding<D>::Language(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationBinding)->put_Language(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_UI_Notifications_INotificationBinding<D>::Hints() const
+ template <typename D> auto consume_Windows_UI_Notifications_INotificationBinding<D>::Hints() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationBinding)->get_Hints(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::AdaptiveNotificationText>) consume_Windows_UI_Notifications_INotificationBinding<D>::GetTextElements() const
+ template <typename D> auto consume_Windows_UI_Notifications_INotificationBinding<D>::GetTextElements() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationBinding)->GetTextElements(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::AdaptiveNotificationText>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_UI_Notifications_INotificationData<D>::Values() const
+ template <typename D> auto consume_Windows_UI_Notifications_INotificationData<D>::Values() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationData)->get_Values(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Notifications_INotificationData<D>::SequenceNumber() const
+ template <typename D> auto consume_Windows_UI_Notifications_INotificationData<D>::SequenceNumber() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationData)->get_SequenceNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_INotificationData<D>::SequenceNumber(uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Notifications_INotificationData<D>::SequenceNumber(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationData)->put_SequenceNumber(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationData) consume_Windows_UI_Notifications_INotificationDataFactory<D>::CreateNotificationData(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& initialValues, uint32_t sequenceNumber) const
+ template <typename D> auto consume_Windows_UI_Notifications_INotificationDataFactory<D>::CreateNotificationData(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationData) consume_Windows_UI_Notifications_INotificationDataFactory<D>::CreateNotificationData(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& initialValues) const
+ template <typename D> auto consume_Windows_UI_Notifications_INotificationDataFactory<D>::CreateNotificationData(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> 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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_INotificationVisual<D>::Language() const
+ template <typename D> auto consume_Windows_UI_Notifications_INotificationVisual<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_INotificationVisual<D>::Language(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_INotificationVisual<D>::Language(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationVisual)->put_Language(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Notifications::NotificationBinding>) consume_Windows_UI_Notifications_INotificationVisual<D>::Bindings() const
+ template <typename D> auto consume_Windows_UI_Notifications_INotificationVisual<D>::Bindings() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::INotificationVisual)->get_Bindings(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Notifications::NotificationBinding>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationBinding) consume_Windows_UI_Notifications_INotificationVisual<D>::GetBinding(param::hstring const& templateName) const
+ template <typename D> auto consume_Windows_UI_Notifications_INotificationVisual<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_IScheduledTileNotification<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledTileNotification<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Notifications_IScheduledTileNotification<D>::DeliveryTime() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledTileNotification<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledTileNotification<D>::ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledTileNotification<D>::ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledTileNotification)->put_ExpirationTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_UI_Notifications_IScheduledTileNotification<D>::ExpirationTime() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledTileNotification<D>::ExpirationTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledTileNotification)->get_ExpirationTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledTileNotification<D>::Tag(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledTileNotification<D>::Tag(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledTileNotification)->put_Tag(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IScheduledTileNotification<D>::Tag() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledTileNotification<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledTileNotification<D>::Id(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledTileNotification<D>::Id(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledTileNotification)->put_Id(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IScheduledTileNotification<D>::Id() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledTileNotification<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ScheduledTileNotification) consume_Windows_UI_Notifications_IScheduledTileNotificationFactory<D>::CreateScheduledTileNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime) const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledTileNotificationFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_IScheduledToastNotification<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Notifications_IScheduledToastNotification<D>::DeliveryTime() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_UI_Notifications_IScheduledToastNotification<D>::SnoozeInterval() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification<D>::SnoozeInterval() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification)->get_SnoozeInterval(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Notifications_IScheduledToastNotification<D>::MaximumSnoozeCount() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification<D>::MaximumSnoozeCount() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification)->get_MaximumSnoozeCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledToastNotification<D>::Id(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification<D>::Id(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification)->put_Id(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IScheduledToastNotification<D>::Id() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledToastNotification2<D>::Tag(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification2<D>::Tag(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification2)->put_Tag(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IScheduledToastNotification2<D>::Tag() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledToastNotification2<D>::Group(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification2<D>::Group(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification2)->put_Group(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IScheduledToastNotification2<D>::Group() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledToastNotification2<D>::SuppressPopup(bool value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification2<D>::SuppressPopup(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification2)->put_SuppressPopup(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Notifications_IScheduledToastNotification2<D>::SuppressPopup() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification2<D>::SuppressPopup() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification2)->get_SuppressPopup(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationMirroring) consume_Windows_UI_Notifications_IScheduledToastNotification3<D>::NotificationMirroring() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification3<D>::NotificationMirroring() const
{
winrt::Windows::UI::Notifications::NotificationMirroring value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification3)->get_NotificationMirroring(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledToastNotification3<D>::NotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification3<D>::NotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification3)->put_NotificationMirroring(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IScheduledToastNotification3<D>::RemoteId() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledToastNotification3<D>::RemoteId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification3<D>::RemoteId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification3)->put_RemoteId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_UI_Notifications_IScheduledToastNotification4<D>::ExpirationTime() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification4<D>::ExpirationTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification4)->get_ExpirationTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledToastNotification4<D>::ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotification4<D>::ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotification4)->put_ExpirationTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ScheduledToastNotification) consume_Windows_UI_Notifications_IScheduledToastNotificationFactory<D>::CreateScheduledToastNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content, winrt::Windows::Foundation::DateTime const& deliveryTime) const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotificationFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ScheduledToastNotification) consume_Windows_UI_Notifications_IScheduledToastNotificationFactory<D>::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 <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotificationFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotificationShowingEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IScheduledToastNotificationShowingEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ScheduledToastNotification) consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs<D>::ScheduledToastNotification() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Notifications_IScheduledToastNotificationShowingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IShownTileNotification<D>::Arguments() const
+ template <typename D> auto consume_Windows_UI_Notifications_IShownTileNotification<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_ITileFlyoutNotification<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileFlyoutNotification<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileFlyoutNotification<D>::ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileFlyoutNotification<D>::ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutNotification)->put_ExpirationTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_UI_Notifications_ITileFlyoutNotification<D>::ExpirationTime() const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileFlyoutNotification<D>::ExpirationTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutNotification)->get_ExpirationTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileFlyoutNotification) consume_Windows_UI_Notifications_ITileFlyoutNotificationFactory<D>::CreateTileFlyoutNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileFlyoutNotificationFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileFlyoutUpdater) consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics<D>::CreateTileFlyoutUpdaterForApplication() const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileFlyoutUpdater) consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics<D>::CreateTileFlyoutUpdaterForApplication(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileFlyoutUpdater) consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics<D>::CreateTileFlyoutUpdaterForSecondaryTile(param::hstring const& tileId) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics<D>::GetTemplateContent(winrt::Windows::UI::Notifications::TileFlyoutTemplateType const& type) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileFlyoutUpdateManagerStatics<D>::GetTemplateContent(winrt::Windows::UI::Notifications::TileFlyoutTemplateType const& type) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutUpdateManagerStatics)->GetTemplateContent(static_cast<int32_t>(type), &result));
return winrt::Windows::Data::Xml::Dom::XmlDocument{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileFlyoutUpdater<D>::Update(winrt::Windows::UI::Notifications::TileFlyoutNotification const& notification) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileFlyoutUpdater<D>::Update(winrt::Windows::UI::Notifications::TileFlyoutNotification const& notification) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutUpdater)->Update(*(void**)(&notification)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileFlyoutUpdater<D>::Clear() const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileFlyoutUpdater<D>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutUpdater)->Clear());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileFlyoutUpdater<D>::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileFlyoutContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileFlyoutUpdater<D>::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<int32_t>(requestedInterval)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileFlyoutUpdater<D>::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileFlyoutContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileFlyoutUpdater<D>::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<int32_t>(requestedInterval)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileFlyoutUpdater<D>::StopPeriodicUpdate() const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileFlyoutUpdater<D>::StopPeriodicUpdate() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutUpdater)->StopPeriodicUpdate());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationSetting) consume_Windows_UI_Notifications_ITileFlyoutUpdater<D>::Setting() const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileFlyoutUpdater<D>::Setting() const
{
winrt::Windows::UI::Notifications::NotificationSetting value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileFlyoutUpdater)->get_Setting(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_ITileNotification<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileNotification<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileNotification<D>::ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileNotification<D>::ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileNotification)->put_ExpirationTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_UI_Notifications_ITileNotification<D>::ExpirationTime() const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileNotification<D>::ExpirationTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileNotification)->get_ExpirationTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileNotification<D>::Tag(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileNotification<D>::Tag(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileNotification)->put_Tag(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_ITileNotification<D>::Tag() const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileNotification<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileNotification) consume_Windows_UI_Notifications_ITileNotificationFactory<D>::CreateTileNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileNotificationFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) consume_Windows_UI_Notifications_ITileUpdateManagerForUser<D>::CreateTileUpdaterForApplicationForUser() const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdateManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) consume_Windows_UI_Notifications_ITileUpdateManagerForUser<D>::CreateTileUpdaterForApplication(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdateManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) consume_Windows_UI_Notifications_ITileUpdateManagerForUser<D>::CreateTileUpdaterForSecondaryTile(param::hstring const& tileId) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdateManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_UI_Notifications_ITileUpdateManagerForUser<D>::User() const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdateManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) consume_Windows_UI_Notifications_ITileUpdateManagerStatics<D>::CreateTileUpdaterForApplication() const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) consume_Windows_UI_Notifications_ITileUpdateManagerStatics<D>::CreateTileUpdaterForApplication(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdater) consume_Windows_UI_Notifications_ITileUpdateManagerStatics<D>::CreateTileUpdaterForSecondaryTile(param::hstring const& tileId) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_ITileUpdateManagerStatics<D>::GetTemplateContent(winrt::Windows::UI::Notifications::TileTemplateType const& type) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdateManagerStatics<D>::GetTemplateContent(winrt::Windows::UI::Notifications::TileTemplateType const& type) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdateManagerStatics)->GetTemplateContent(static_cast<int32_t>(type), &result));
return winrt::Windows::Data::Xml::Dom::XmlDocument{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::TileUpdateManagerForUser) consume_Windows_UI_Notifications_ITileUpdateManagerStatics2<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdateManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater<D>::Update(winrt::Windows::UI::Notifications::TileNotification const& notification) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdater<D>::Update(winrt::Windows::UI::Notifications::TileNotification const& notification) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->Update(*(void**)(&notification)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater<D>::Clear() const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdater<D>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->Clear());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater<D>::EnableNotificationQueue(bool enable) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdater<D>::EnableNotificationQueue(bool enable) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->EnableNotificationQueue(enable));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationSetting) consume_Windows_UI_Notifications_ITileUpdater<D>::Setting() const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdater<D>::Setting() const
{
winrt::Windows::UI::Notifications::NotificationSetting value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->get_Setting(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater<D>::AddToSchedule(winrt::Windows::UI::Notifications::ScheduledTileNotification const& scheduledTile) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdater<D>::AddToSchedule(winrt::Windows::UI::Notifications::ScheduledTileNotification const& scheduledTile) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->AddToSchedule(*(void**)(&scheduledTile)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater<D>::RemoveFromSchedule(winrt::Windows::UI::Notifications::ScheduledTileNotification const& scheduledTile) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdater<D>::RemoveFromSchedule(winrt::Windows::UI::Notifications::ScheduledTileNotification const& scheduledTile) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->RemoveFromSchedule(*(void**)(&scheduledTile)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ScheduledTileNotification>) consume_Windows_UI_Notifications_ITileUpdater<D>::GetScheduledTileNotifications() const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdater<D>::GetScheduledTileNotifications() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->GetScheduledTileNotifications(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ScheduledTileNotification>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater<D>::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileContent, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdater<D>::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<int32_t>(requestedInterval)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater<D>::StartPeriodicUpdate(winrt::Windows::Foundation::Uri const& tileContent, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdater<D>::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<int32_t>(requestedInterval)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater<D>::StopPeriodicUpdate() const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdater<D>::StopPeriodicUpdate() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater)->StopPeriodicUpdate());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater<D>::StartPeriodicUpdateBatch(param::iterable<winrt::Windows::Foundation::Uri> const& tileContents, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdater<D>::StartPeriodicUpdateBatch(param::iterable<winrt::Windows::Foundation::Uri> 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<int32_t>(requestedInterval)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater<D>::StartPeriodicUpdateBatch(param::iterable<winrt::Windows::Foundation::Uri> const& tileContents, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdater<D>::StartPeriodicUpdateBatch(param::iterable<winrt::Windows::Foundation::Uri> 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<int32_t>(requestedInterval)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater2<D>::EnableNotificationQueueForSquare150x150(bool enable) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdater2<D>::EnableNotificationQueueForSquare150x150(bool enable) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater2)->EnableNotificationQueueForSquare150x150(enable));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater2<D>::EnableNotificationQueueForWide310x150(bool enable) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdater2<D>::EnableNotificationQueueForWide310x150(bool enable) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater2)->EnableNotificationQueueForWide310x150(enable));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_ITileUpdater2<D>::EnableNotificationQueueForSquare310x310(bool enable) const
+ template <typename D> auto consume_Windows_UI_Notifications_ITileUpdater2<D>::EnableNotificationQueueForSquare310x310(bool enable) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::ITileUpdater2)->EnableNotificationQueueForSquare310x310(enable));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastActivatedEventArgs<D>::Arguments() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastActivatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_UI_Notifications_IToastActivatedEventArgs2<D>::UserInput() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastActivatedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastCollection<D>::Id() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastCollection<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastCollection<D>::DisplayName() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastCollection<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastCollection<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollection)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastCollection<D>::LaunchArgs() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastCollection<D>::LaunchArgs(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastCollection<D>::LaunchArgs(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollection)->put_LaunchArgs(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Notifications_IToastCollection<D>::Icon() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastCollection<D>::Icon(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastCollection<D>::Icon(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollection)->put_Icon(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastCollection) consume_Windows_UI_Notifications_IToastCollectionFactory<D>::CreateInstance(param::hstring const& collectionId, param::hstring const& displayName, param::hstring const& launchArgs, winrt::Windows::Foundation::Uri const& iconUri) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastCollectionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Notifications_IToastCollectionManager<D>::SaveToastCollectionAsync(winrt::Windows::UI::Notifications::ToastCollection const& collection) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastCollectionManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ToastCollection>>) consume_Windows_UI_Notifications_IToastCollectionManager<D>::FindAllToastCollectionsAsync() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastCollectionManager<D>::FindAllToastCollectionsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastCollectionManager)->FindAllToastCollectionsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ToastCollection>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Notifications::ToastCollection>) consume_Windows_UI_Notifications_IToastCollectionManager<D>::GetToastCollectionAsync(param::hstring const& collectionId) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastCollectionManager<D>::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<winrt::Windows::UI::Notifications::ToastCollection>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Notifications_IToastCollectionManager<D>::RemoveToastCollectionAsync(param::hstring const& collectionId) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastCollectionManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Notifications_IToastCollectionManager<D>::RemoveAllToastCollectionsAsync() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastCollectionManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_UI_Notifications_IToastCollectionManager<D>::User() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastCollectionManager<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastCollectionManager<D>::AppId() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastCollectionManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastDismissalReason) consume_Windows_UI_Notifications_IToastDismissedEventArgs<D>::Reason() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastDismissedEventArgs<D>::Reason() const
{
winrt::Windows::UI::Notifications::ToastDismissalReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastDismissedEventArgs)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_UI_Notifications_IToastFailedEventArgs<D>::ErrorCode() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastFailedEventArgs<D>::ErrorCode() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastFailedEventArgs)->get_ErrorCode(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_IToastNotification<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification<D>::ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification<D>::ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification)->put_ExpirationTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_UI_Notifications_IToastNotification<D>::ExpirationTime() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification<D>::ExpirationTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification)->get_ExpirationTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Notifications_IToastNotification<D>::Dismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastDismissedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification<D>::Dismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastDismissedEventArgs> 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 D> typename consume_Windows_UI_Notifications_IToastNotification<D>::Dismissed_revoker consume_Windows_UI_Notifications_IToastNotification<D>::Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastDismissedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification<D>::Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastDismissedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Dismissed_revoker>(this, Dismissed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification<D>::Dismissed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification<D>::Dismissed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification)->remove_Dismissed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Notifications_IToastNotification<D>::Activated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification<D>::Activated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Notifications_IToastNotification<D>::Activated_revoker consume_Windows_UI_Notifications_IToastNotification<D>::Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification<D>::Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Activated_revoker>(this, Activated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification<D>::Activated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification<D>::Activated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification)->remove_Activated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Notifications_IToastNotification<D>::Failed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastFailedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification<D>::Failed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastFailedEventArgs> 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 D> typename consume_Windows_UI_Notifications_IToastNotification<D>::Failed_revoker consume_Windows_UI_Notifications_IToastNotification<D>::Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastFailedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification<D>::Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastFailedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Failed_revoker>(this, Failed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification<D>::Failed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification<D>::Failed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification)->remove_Failed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification2<D>::Tag(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification2<D>::Tag(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification2)->put_Tag(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastNotification2<D>::Tag() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification2<D>::Group(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification2<D>::Group(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification2)->put_Group(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastNotification2<D>::Group() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification2<D>::SuppressPopup(bool value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification2<D>::SuppressPopup(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification2)->put_SuppressPopup(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Notifications_IToastNotification2<D>::SuppressPopup() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification2<D>::SuppressPopup() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification2)->get_SuppressPopup(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationMirroring) consume_Windows_UI_Notifications_IToastNotification3<D>::NotificationMirroring() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification3<D>::NotificationMirroring() const
{
winrt::Windows::UI::Notifications::NotificationMirroring value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification3)->get_NotificationMirroring(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification3<D>::NotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification3<D>::NotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification3)->put_NotificationMirroring(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastNotification3<D>::RemoteId() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification3<D>::RemoteId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification3<D>::RemoteId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification3)->put_RemoteId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationData) consume_Windows_UI_Notifications_IToastNotification4<D>::Data() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification4<D>::Data(winrt::Windows::UI::Notifications::NotificationData const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification4<D>::Data(winrt::Windows::UI::Notifications::NotificationData const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification4)->put_Data(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationPriority) consume_Windows_UI_Notifications_IToastNotification4<D>::Priority() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification4<D>::Priority() const
{
winrt::Windows::UI::Notifications::ToastNotificationPriority value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification4)->get_Priority(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification4<D>::Priority(winrt::Windows::UI::Notifications::ToastNotificationPriority const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification4<D>::Priority(winrt::Windows::UI::Notifications::ToastNotificationPriority const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification4)->put_Priority(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Notifications_IToastNotification6<D>::ExpiresOnReboot() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification6<D>::ExpiresOnReboot() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification6)->get_ExpiresOnReboot(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotification6<D>::ExpiresOnReboot(bool value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotification6<D>::ExpiresOnReboot(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotification6)->put_ExpiresOnReboot(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastNotificationActionTriggerDetail<D>::Argument() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationActionTriggerDetail<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) consume_Windows_UI_Notifications_IToastNotificationActionTriggerDetail<D>::UserInput() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationActionTriggerDetail<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotification) consume_Windows_UI_Notifications_IToastNotificationFactory<D>::CreateToastNotification(winrt::Windows::Data::Xml::Dom::XmlDocument const& content) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotificationHistory<D>::RemoveGroup(param::hstring const& group) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationHistory<D>::RemoveGroup(param::hstring const& group) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationHistory)->RemoveGroup(*(void**)(&group)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotificationHistory<D>::RemoveGroup(param::hstring const& group, param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationHistory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotificationHistory<D>::Remove(param::hstring const& tag, param::hstring const& group, param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationHistory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotificationHistory<D>::Remove(param::hstring const& tag, param::hstring const& group) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationHistory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotificationHistory<D>::Remove(param::hstring const& tag) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationHistory<D>::Remove(param::hstring const& tag) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationHistory)->Remove(*(void**)(&tag)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotificationHistory<D>::Clear() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationHistory<D>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationHistory)->Clear());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotificationHistory<D>::Clear(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationHistory<D>::Clear(param::hstring const& applicationId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationHistory)->ClearWithId(*(void**)(&applicationId)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ToastNotification>) consume_Windows_UI_Notifications_IToastNotificationHistory2<D>::GetHistory() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationHistory2<D>::GetHistory() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationHistory2)->GetHistory(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ToastNotification>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ToastNotification>) consume_Windows_UI_Notifications_IToastNotificationHistory2<D>::GetHistory(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationHistory2<D>::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<winrt::Windows::UI::Notifications::ToastNotification>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastHistoryChangedType) consume_Windows_UI_Notifications_IToastNotificationHistoryChangedTriggerDetail<D>::ChangeType() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationHistoryChangedTriggerDetail<D>::ChangeType() const
{
winrt::Windows::UI::Notifications::ToastHistoryChangedType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationHistoryChangedTriggerDetail)->get_ChangeType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Notifications_IToastNotificationHistoryChangedTriggerDetail2<D>::CollectionId() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationHistoryChangedTriggerDetail2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) consume_Windows_UI_Notifications_IToastNotificationManagerForUser<D>::CreateToastNotifier() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) consume_Windows_UI_Notifications_IToastNotificationManagerForUser<D>::CreateToastNotifier(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationHistory) consume_Windows_UI_Notifications_IToastNotificationManagerForUser<D>::History() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_UI_Notifications_IToastNotificationManagerForUser<D>::User() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationManagerForUser<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Notifications::ToastNotifier>) consume_Windows_UI_Notifications_IToastNotificationManagerForUser2<D>::GetToastNotifierForToastCollectionIdAsync(param::hstring const& collectionId) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationManagerForUser2<D>::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<winrt::Windows::UI::Notifications::ToastNotifier>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Notifications::ToastNotificationHistory>) consume_Windows_UI_Notifications_IToastNotificationManagerForUser2<D>::GetHistoryForToastCollectionIdAsync(param::hstring const& collectionId) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationManagerForUser2<D>::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<winrt::Windows::UI::Notifications::ToastNotificationHistory>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastCollectionManager) consume_Windows_UI_Notifications_IToastNotificationManagerForUser2<D>::GetToastCollectionManager() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationManagerForUser2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastCollectionManager) consume_Windows_UI_Notifications_IToastNotificationManagerForUser2<D>::GetToastCollectionManager(param::hstring const& appId) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationManagerForUser2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) consume_Windows_UI_Notifications_IToastNotificationManagerStatics<D>::CreateToastNotifier() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotifier) consume_Windows_UI_Notifications_IToastNotificationManagerStatics<D>::CreateToastNotifier(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_UI_Notifications_IToastNotificationManagerStatics<D>::GetTemplateContent(winrt::Windows::UI::Notifications::ToastTemplateType const& type) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationManagerStatics<D>::GetTemplateContent(winrt::Windows::UI::Notifications::ToastTemplateType const& type) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationManagerStatics)->GetTemplateContent(static_cast<int32_t>(type), &result));
return winrt::Windows::Data::Xml::Dom::XmlDocument{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationHistory) consume_Windows_UI_Notifications_IToastNotificationManagerStatics2<D>::History() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationManagerForUser) consume_Windows_UI_Notifications_IToastNotificationManagerStatics4<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationManagerStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotificationManagerStatics4<D>::ConfigureNotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationManagerStatics4<D>::ConfigureNotificationMirroring(winrt::Windows::UI::Notifications::NotificationMirroring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotificationManagerStatics4)->ConfigureNotificationMirroring(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationManagerForUser) consume_Windows_UI_Notifications_IToastNotificationManagerStatics5<D>::GetDefault() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotificationManagerStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotifier<D>::Show(winrt::Windows::UI::Notifications::ToastNotification const& notification) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotifier<D>::Show(winrt::Windows::UI::Notifications::ToastNotification const& notification) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotifier)->Show(*(void**)(&notification)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotifier<D>::Hide(winrt::Windows::UI::Notifications::ToastNotification const& notification) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotifier<D>::Hide(winrt::Windows::UI::Notifications::ToastNotification const& notification) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotifier)->Hide(*(void**)(&notification)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationSetting) consume_Windows_UI_Notifications_IToastNotifier<D>::Setting() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotifier<D>::Setting() const
{
winrt::Windows::UI::Notifications::NotificationSetting value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotifier)->get_Setting(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotifier<D>::AddToSchedule(winrt::Windows::UI::Notifications::ScheduledToastNotification const& scheduledToast) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotifier<D>::AddToSchedule(winrt::Windows::UI::Notifications::ScheduledToastNotification const& scheduledToast) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotifier)->AddToSchedule(*(void**)(&scheduledToast)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotifier<D>::RemoveFromSchedule(winrt::Windows::UI::Notifications::ScheduledToastNotification const& scheduledToast) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotifier<D>::RemoveFromSchedule(winrt::Windows::UI::Notifications::ScheduledToastNotification const& scheduledToast) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotifier)->RemoveFromSchedule(*(void**)(&scheduledToast)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ScheduledToastNotification>) consume_Windows_UI_Notifications_IToastNotifier<D>::GetScheduledToastNotifications() const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotifier<D>::GetScheduledToastNotifications() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotifier)->GetScheduledToastNotifications(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ScheduledToastNotification>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationUpdateResult) consume_Windows_UI_Notifications_IToastNotifier2<D>::Update(winrt::Windows::UI::Notifications::NotificationData const& data, param::hstring const& tag, param::hstring const& group) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotifier2<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationUpdateResult) consume_Windows_UI_Notifications_IToastNotifier2<D>::Update(winrt::Windows::UI::Notifications::NotificationData const& data, param::hstring const& tag) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotifier2<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Notifications_IToastNotifier3<D>::ScheduledToastNotificationShowing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotifier, winrt::Windows::UI::Notifications::ScheduledToastNotificationShowingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotifier3<D>::ScheduledToastNotificationShowing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotifier, winrt::Windows::UI::Notifications::ScheduledToastNotificationShowingEventArgs> 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 D> typename consume_Windows_UI_Notifications_IToastNotifier3<D>::ScheduledToastNotificationShowing_revoker consume_Windows_UI_Notifications_IToastNotifier3<D>::ScheduledToastNotificationShowing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotifier, winrt::Windows::UI::Notifications::ScheduledToastNotificationShowingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotifier3<D>::ScheduledToastNotificationShowing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotifier, winrt::Windows::UI::Notifications::ScheduledToastNotificationShowingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ScheduledToastNotificationShowing_revoker>(this, ScheduledToastNotificationShowing(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Notifications_IToastNotifier3<D>::ScheduledToastNotificationShowing(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Notifications_IToastNotifier3<D>::ScheduledToastNotificationShowing(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IToastNotifier3)->remove_ScheduledToastNotificationShowing(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::Notification) consume_Windows_UI_Notifications_IUserNotification<D>::Notification() const
+ template <typename D> auto consume_Windows_UI_Notifications_IUserNotification<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) consume_Windows_UI_Notifications_IUserNotification<D>::AppInfo() const
+ template <typename D> auto consume_Windows_UI_Notifications_IUserNotification<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Notifications_IUserNotification<D>::Id() const
+ template <typename D> auto consume_Windows_UI_Notifications_IUserNotification<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IUserNotification)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Notifications_IUserNotification<D>::CreationTime() const
+ template <typename D> auto consume_Windows_UI_Notifications_IUserNotification<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::UserNotificationChangedKind) consume_Windows_UI_Notifications_IUserNotificationChangedEventArgs<D>::ChangeKind() const
+ template <typename D> auto consume_Windows_UI_Notifications_IUserNotificationChangedEventArgs<D>::ChangeKind() const
{
winrt::Windows::UI::Notifications::UserNotificationChangedKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IUserNotificationChangedEventArgs)->get_ChangeKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Notifications_IUserNotificationChangedEventArgs<D>::UserNotificationId() const
+ template <typename D> auto consume_Windows_UI_Notifications_IUserNotificationChangedEventArgs<D>::UserNotificationId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Notifications::IUserNotificationChangedEventArgs)->get_UserNotificationId(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Popups.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Popups.h
index bb59f81ce6b..7f88b3d5650 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Popups.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Popups_IMessageDialog<D>::Title() const
+ template <typename D> auto consume_Windows_UI_Popups_IMessageDialog<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Popups_IMessageDialog<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Popups_IMessageDialog<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Popups::IUICommand>) consume_Windows_UI_Popups_IMessageDialog<D>::Commands() const
+ template <typename D> auto consume_Windows_UI_Popups_IMessageDialog<D>::Commands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->get_Commands(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Popups::IUICommand>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Popups_IMessageDialog<D>::DefaultCommandIndex() const
+ template <typename D> auto consume_Windows_UI_Popups_IMessageDialog<D>::DefaultCommandIndex() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->get_DefaultCommandIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Popups_IMessageDialog<D>::DefaultCommandIndex(uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Popups_IMessageDialog<D>::DefaultCommandIndex(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->put_DefaultCommandIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Popups_IMessageDialog<D>::CancelCommandIndex() const
+ template <typename D> auto consume_Windows_UI_Popups_IMessageDialog<D>::CancelCommandIndex() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->get_CancelCommandIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Popups_IMessageDialog<D>::CancelCommandIndex(uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Popups_IMessageDialog<D>::CancelCommandIndex(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->put_CancelCommandIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Popups_IMessageDialog<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Popups_IMessageDialog<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Popups_IMessageDialog<D>::Content(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Popups_IMessageDialog<D>::Content(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->put_Content(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Popups::IUICommand>) consume_Windows_UI_Popups_IMessageDialog<D>::ShowAsync() const
+ template <typename D> auto consume_Windows_UI_Popups_IMessageDialog<D>::ShowAsync() const
{
void* messageDialogAsyncOperation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->ShowAsync(&messageDialogAsyncOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Popups::IUICommand>{ messageDialogAsyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::MessageDialogOptions) consume_Windows_UI_Popups_IMessageDialog<D>::Options() const
+ template <typename D> auto consume_Windows_UI_Popups_IMessageDialog<D>::Options() const
{
winrt::Windows::UI::Popups::MessageDialogOptions value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->get_Options(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Popups_IMessageDialog<D>::Options(winrt::Windows::UI::Popups::MessageDialogOptions const& value) const
+ template <typename D> auto consume_Windows_UI_Popups_IMessageDialog<D>::Options(winrt::Windows::UI::Popups::MessageDialogOptions const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IMessageDialog)->put_Options(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::MessageDialog) consume_Windows_UI_Popups_IMessageDialogFactory<D>::Create(param::hstring const& content) const
+ template <typename D> auto consume_Windows_UI_Popups_IMessageDialogFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::MessageDialog) consume_Windows_UI_Popups_IMessageDialogFactory<D>::CreateWithTitle(param::hstring const& content, param::hstring const& title) const
+ template <typename D> auto consume_Windows_UI_Popups_IMessageDialogFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Popups::IUICommand>) consume_Windows_UI_Popups_IPopupMenu<D>::Commands() const
+ template <typename D> auto consume_Windows_UI_Popups_IPopupMenu<D>::Commands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IPopupMenu)->get_Commands(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Popups::IUICommand>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Popups::IUICommand>) consume_Windows_UI_Popups_IPopupMenu<D>::ShowAsync(winrt::Windows::Foundation::Point const& invocationPoint) const
+ template <typename D> auto consume_Windows_UI_Popups_IPopupMenu<D>::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<winrt::Windows::UI::Popups::IUICommand>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Popups::IUICommand>) consume_Windows_UI_Popups_IPopupMenu<D>::ShowForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_UI_Popups_IPopupMenu<D>::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<winrt::Windows::UI::Popups::IUICommand>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Popups::IUICommand>) consume_Windows_UI_Popups_IPopupMenu<D>::ShowForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const
+ template <typename D> auto consume_Windows_UI_Popups_IPopupMenu<D>::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<int32_t>(preferredPlacement), &asyncOperation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Popups::IUICommand>{ asyncOperation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Popups_IUICommand<D>::Label() const
+ template <typename D> auto consume_Windows_UI_Popups_IUICommand<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Popups_IUICommand<D>::Label(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Popups_IUICommand<D>::Label(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IUICommand)->put_Label(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommandInvokedHandler) consume_Windows_UI_Popups_IUICommand<D>::Invoked() const
+ template <typename D> auto consume_Windows_UI_Popups_IUICommand<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Popups_IUICommand<D>::Invoked(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const
+ template <typename D> auto consume_Windows_UI_Popups_IUICommand<D>::Invoked(winrt::Windows::UI::Popups::UICommandInvokedHandler const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IUICommand)->put_Invoked(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Popups_IUICommand<D>::Id() const
+ template <typename D> auto consume_Windows_UI_Popups_IUICommand<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Popups_IUICommand<D>::Id(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Popups_IUICommand<D>::Id(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Popups::IUICommand)->put_Id(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommand) consume_Windows_UI_Popups_IUICommandFactory<D>::Create(param::hstring const& label) const
+ template <typename D> auto consume_Windows_UI_Popups_IUICommandFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommand) consume_Windows_UI_Popups_IUICommandFactory<D>::CreateWithHandler(param::hstring const& label, winrt::Windows::UI::Popups::UICommandInvokedHandler const& action) const
+ template <typename D> auto consume_Windows_UI_Popups_IUICommandFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Popups::UICommand) consume_Windows_UI_Popups_IUICommandFactory<D>::CreateWithHandlerAndId(param::hstring const& label, winrt::Windows::UI::Popups::UICommandInvokedHandler const& action, winrt::Windows::Foundation::IInspectable const& commandId) const
+ template <typename D> auto consume_Windows_UI_Popups_IUICommandFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Shell.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Shell.h
index a6fb29afb47..3041dfbf405 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Shell.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Shell_IAdaptiveCard<D>::ToJson() const
+ template <typename D> auto consume_Windows_UI_Shell_IAdaptiveCard<D>::ToJson() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::IAdaptiveCard)->ToJson(&result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Shell::IAdaptiveCard) consume_Windows_UI_Shell_IAdaptiveCardBuilderStatics<D>::CreateAdaptiveCardFromJson(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Shell_IAdaptiveCardBuilderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_UI_Shell_ISecurityAppManager<D>::Register(winrt::Windows::UI::Shell::SecurityAppKind const& kind, param::hstring const& displayName, winrt::Windows::Foundation::Uri const& detailsUri, bool registerPerUser) const
+ template <typename D> auto consume_Windows_UI_Shell_ISecurityAppManager<D>::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<int32_t>(kind), *(void**)(&displayName), *(void**)(&detailsUri), registerPerUser, put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Shell_ISecurityAppManager<D>::Unregister(winrt::Windows::UI::Shell::SecurityAppKind const& kind, winrt::guid const& guidRegistration) const
+ template <typename D> auto consume_Windows_UI_Shell_ISecurityAppManager<D>::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<int32_t>(kind), impl::bind_in(guidRegistration)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Shell_ISecurityAppManager<D>::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 <typename D> auto consume_Windows_UI_Shell_ISecurityAppManager<D>::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<int32_t>(kind), impl::bind_in(guidRegistration), static_cast<int32_t>(state), static_cast<int32_t>(substatus), *(void**)(&detailsUri)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Shell_ITaskbarManager<D>::IsSupported() const
+ template <typename D> auto consume_Windows_UI_Shell_ITaskbarManager<D>::IsSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ITaskbarManager)->get_IsSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Shell_ITaskbarManager<D>::IsPinningAllowed() const
+ template <typename D> auto consume_Windows_UI_Shell_ITaskbarManager<D>::IsPinningAllowed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ITaskbarManager)->get_IsPinningAllowed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Shell_ITaskbarManager<D>::IsCurrentAppPinnedAsync() const
+ template <typename D> auto consume_Windows_UI_Shell_ITaskbarManager<D>::IsCurrentAppPinnedAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ITaskbarManager)->IsCurrentAppPinnedAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Shell_ITaskbarManager<D>::IsAppListEntryPinnedAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const
+ template <typename D> auto consume_Windows_UI_Shell_ITaskbarManager<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Shell_ITaskbarManager<D>::RequestPinCurrentAppAsync() const
+ template <typename D> auto consume_Windows_UI_Shell_ITaskbarManager<D>::RequestPinCurrentAppAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ITaskbarManager)->RequestPinCurrentAppAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Shell_ITaskbarManager<D>::RequestPinAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const
+ template <typename D> auto consume_Windows_UI_Shell_ITaskbarManager<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Shell_ITaskbarManager2<D>::IsSecondaryTilePinnedAsync(param::hstring const& tileId) const
+ template <typename D> auto consume_Windows_UI_Shell_ITaskbarManager2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Shell_ITaskbarManager2<D>::RequestPinSecondaryTileAsync(winrt::Windows::UI::StartScreen::SecondaryTile const& secondaryTile) const
+ template <typename D> auto consume_Windows_UI_Shell_ITaskbarManager2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Shell_ITaskbarManager2<D>::TryUnpinSecondaryTileAsync(param::hstring const& tileId) const
+ template <typename D> auto consume_Windows_UI_Shell_ITaskbarManager2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Shell::TaskbarManager) consume_Windows_UI_Shell_ITaskbarManagerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_UI_Shell_ITaskbarManagerStatics<D>::GetDefault() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Shell::ITaskbarManagerStatics)->GetDefault(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.StartScreen.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.StartScreen.h
index 8eab4d28681..8fc61397b97 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.StartScreen.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::StartScreen::JumpListItem>) consume_Windows_UI_StartScreen_IJumpList<D>::Items() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpList<D>::Items() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpList)->get_Items(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::StartScreen::JumpListItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::JumpListSystemGroupKind) consume_Windows_UI_StartScreen_IJumpList<D>::SystemGroupKind() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpList<D>::SystemGroupKind() const
{
winrt::Windows::UI::StartScreen::JumpListSystemGroupKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpList)->get_SystemGroupKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_IJumpList<D>::SystemGroupKind(winrt::Windows::UI::StartScreen::JumpListSystemGroupKind const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpList<D>::SystemGroupKind(winrt::Windows::UI::StartScreen::JumpListSystemGroupKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpList)->put_SystemGroupKind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_StartScreen_IJumpList<D>::SaveAsync() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpList<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::JumpListItemKind) consume_Windows_UI_StartScreen_IJumpListItem<D>::Kind() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpListItem<D>::Kind() const
{
winrt::Windows::UI::StartScreen::JumpListItemKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_IJumpListItem<D>::Arguments() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpListItem<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_IJumpListItem<D>::RemovedByUser() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpListItem<D>::RemovedByUser() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->get_RemovedByUser(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_IJumpListItem<D>::Description() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpListItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_IJumpListItem<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpListItem<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_IJumpListItem<D>::DisplayName() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpListItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_IJumpListItem<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpListItem<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_IJumpListItem<D>::GroupName() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpListItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_IJumpListItem<D>::GroupName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpListItem<D>::GroupName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->put_GroupName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_IJumpListItem<D>::Logo() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpListItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_IJumpListItem<D>::Logo(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpListItem<D>::Logo(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->put_Logo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::JumpListItem) consume_Windows_UI_StartScreen_IJumpListItemStatics<D>::CreateWithArguments(param::hstring const& arguments, param::hstring const& displayName) const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpListItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::JumpListItem) consume_Windows_UI_StartScreen_IJumpListItemStatics<D>::CreateSeparator() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpListItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::StartScreen::JumpList>) consume_Windows_UI_StartScreen_IJumpListStatics<D>::LoadCurrentAsync() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpListStatics<D>::LoadCurrentAsync() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListStatics)->LoadCurrentAsync(&result));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::StartScreen::JumpList>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_IJumpListStatics<D>::IsSupported() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IJumpListStatics<D>::IsSupported() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListStatics)->IsSupported(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile<D>::TileId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::TileId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_TileId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_ISecondaryTile<D>::TileId() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile<D>::Arguments(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::Arguments(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_Arguments(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_ISecondaryTile<D>::Arguments() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile<D>::ShortName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::ShortName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_ShortName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_ISecondaryTile<D>::ShortName() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_ISecondaryTile<D>::DisplayName() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile<D>::Logo(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::Logo(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_Logo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTile<D>::Logo() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile<D>::SmallLogo(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::SmallLogo(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_SmallLogo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTile<D>::SmallLogo() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile<D>::WideLogo(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::WideLogo(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_WideLogo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTile<D>::WideLogo() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile<D>::LockScreenBadgeLogo(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::LockScreenBadgeLogo(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_LockScreenBadgeLogo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTile<D>::LockScreenBadgeLogo() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile<D>::LockScreenDisplayBadgeAndTileText(bool value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::LockScreenDisplayBadgeAndTileText(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_LockScreenDisplayBadgeAndTileText(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_ISecondaryTile<D>::LockScreenDisplayBadgeAndTileText() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::LockScreenDisplayBadgeAndTileText() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_LockScreenDisplayBadgeAndTileText(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile<D>::TileOptions(winrt::Windows::UI::StartScreen::TileOptions const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::TileOptions(winrt::Windows::UI::StartScreen::TileOptions const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_TileOptions(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::TileOptions) consume_Windows_UI_StartScreen_ISecondaryTile<D>::TileOptions() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::TileOptions() const
{
winrt::Windows::UI::StartScreen::TileOptions value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_TileOptions(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile<D>::ForegroundText(winrt::Windows::UI::StartScreen::ForegroundText const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::ForegroundText(winrt::Windows::UI::StartScreen::ForegroundText const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_ForegroundText(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::ForegroundText) consume_Windows_UI_StartScreen_ISecondaryTile<D>::ForegroundText() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::ForegroundText() const
{
winrt::Windows::UI::StartScreen::ForegroundText value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_ForegroundText(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile<D>::BackgroundColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_StartScreen_ISecondaryTile<D>::BackgroundColor() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_StartScreen_ISecondaryTile<D>::RequestCreateAsync() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::RequestCreateAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestCreateAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_StartScreen_ISecondaryTile<D>::RequestCreateAsync(winrt::Windows::Foundation::Point const& invocationPoint) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_StartScreen_ISecondaryTile<D>::RequestCreateForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_StartScreen_ISecondaryTile<D>::RequestCreateForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::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<int32_t>(preferredPlacement), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_StartScreen_ISecondaryTile<D>::RequestDeleteAsync() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::RequestDeleteAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestDeleteAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_StartScreen_ISecondaryTile<D>::RequestDeleteAsync(winrt::Windows::Foundation::Point const& invocationPoint) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_StartScreen_ISecondaryTile<D>::RequestDeleteForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_StartScreen_ISecondaryTile<D>::RequestDeleteForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::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<int32_t>(preferredPlacement), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_StartScreen_ISecondaryTile<D>::UpdateAsync() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile<D>::UpdateAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->UpdateAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile2<D>::PhoneticName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile2<D>::PhoneticName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->put_PhoneticName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_StartScreen_ISecondaryTile2<D>::PhoneticName() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTileVisualElements) consume_Windows_UI_StartScreen_ISecondaryTile2<D>::VisualElements() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile2<D>::RoamingEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile2<D>::RoamingEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->put_RoamingEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_ISecondaryTile2<D>::RoamingEnabled() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile2<D>::RoamingEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->get_RoamingEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_StartScreen_ISecondaryTile2<D>::VisualElementsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::StartScreen::SecondaryTile, winrt::Windows::UI::StartScreen::VisualElementsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile2<D>::VisualElementsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::StartScreen::SecondaryTile, winrt::Windows::UI::StartScreen::VisualElementsRequestedEventArgs> 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 D> typename consume_Windows_UI_StartScreen_ISecondaryTile2<D>::VisualElementsRequested_revoker consume_Windows_UI_StartScreen_ISecondaryTile2<D>::VisualElementsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::StartScreen::SecondaryTile, winrt::Windows::UI::StartScreen::VisualElementsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile2<D>::VisualElementsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::StartScreen::SecondaryTile, winrt::Windows::UI::StartScreen::VisualElementsRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, VisualElementsRequested_revoker>(this, VisualElementsRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTile2<D>::VisualElementsRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTile2<D>::VisualElementsRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->remove_VisualElementsRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTile) consume_Windows_UI_StartScreen_ISecondaryTileFactory<D>::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 <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileFactory<D>::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<uint32_t>(tileOptions), *(void**)(&logoReference), &value));
return winrt::Windows::UI::StartScreen::SecondaryTile{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTile) consume_Windows_UI_StartScreen_ISecondaryTileFactory<D>::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 <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileFactory<D>::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<uint32_t>(tileOptions), *(void**)(&logoReference), *(void**)(&wideLogoReference), &value));
return winrt::Windows::UI::StartScreen::SecondaryTile{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTile) consume_Windows_UI_StartScreen_ISecondaryTileFactory<D>::CreateWithId(param::hstring const& tileId) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTile) consume_Windows_UI_StartScreen_ISecondaryTileFactory2<D>::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 <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileFactory2<D>::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<int32_t>(desiredSize), &value));
return winrt::Windows::UI::StartScreen::SecondaryTile{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_ISecondaryTileStatics<D>::Exists(param::hstring const& tileId) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::StartScreen::SecondaryTile>>) consume_Windows_UI_StartScreen_ISecondaryTileStatics<D>::FindAllAsync() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileStatics<D>::FindAllAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileStatics)->FindAllAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::StartScreen::SecondaryTile>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::StartScreen::SecondaryTile>>) consume_Windows_UI_StartScreen_ISecondaryTileStatics<D>::FindAllAsync(param::hstring const& applicationId) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileStatics<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::StartScreen::SecondaryTile>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::StartScreen::SecondaryTile>>) consume_Windows_UI_StartScreen_ISecondaryTileStatics<D>::FindAllForPackageAsync() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileStatics<D>::FindAllForPackageAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileStatics)->FindAllForPackageAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::StartScreen::SecondaryTile>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::Square30x30Logo(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::Square30x30Logo(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_Square30x30Logo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::Square30x30Logo() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::Square70x70Logo(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::Square70x70Logo(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_Square70x70Logo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::Square70x70Logo() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::Square150x150Logo(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::Square150x150Logo(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_Square150x150Logo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::Square150x150Logo() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::Wide310x150Logo(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::Wide310x150Logo(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_Wide310x150Logo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::Wide310x150Logo() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::Square310x310Logo(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::Square310x310Logo(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_Square310x310Logo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::Square310x310Logo() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::ForegroundText(winrt::Windows::UI::StartScreen::ForegroundText const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::ForegroundText(winrt::Windows::UI::StartScreen::ForegroundText const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_ForegroundText(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::ForegroundText) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::ForegroundText() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::ForegroundText() const
{
winrt::Windows::UI::StartScreen::ForegroundText value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_ForegroundText(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::BackgroundColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::BackgroundColor() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::ShowNameOnSquare150x150Logo(bool value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::ShowNameOnSquare150x150Logo(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_ShowNameOnSquare150x150Logo(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::ShowNameOnSquare150x150Logo() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::ShowNameOnSquare150x150Logo() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_ShowNameOnSquare150x150Logo(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::ShowNameOnWide310x150Logo(bool value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::ShowNameOnWide310x150Logo(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_ShowNameOnWide310x150Logo(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::ShowNameOnWide310x150Logo() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::ShowNameOnWide310x150Logo() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_ShowNameOnWide310x150Logo(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::ShowNameOnSquare310x310Logo(bool value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::ShowNameOnSquare310x310Logo(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_ShowNameOnSquare310x310Logo(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::ShowNameOnSquare310x310Logo() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements<D>::ShowNameOnSquare310x310Logo() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_ShowNameOnSquare310x310Logo(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements2<D>::Square71x71Logo(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements2<D>::Square71x71Logo(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements2)->put_Square71x71Logo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements2<D>::Square71x71Logo() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements3<D>::Square44x44Logo(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements3<D>::Square44x44Logo(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements3)->put_Square44x44Logo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements3<D>::Square44x44Logo() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::TileMixedRealityModel) consume_Windows_UI_StartScreen_ISecondaryTileVisualElements4<D>::MixedRealityModel() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_UI_StartScreen_IStartScreenManager<D>::User() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IStartScreenManager<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_StartScreen_IStartScreenManager<D>::SupportsAppListEntry(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const
+ template <typename D> auto consume_Windows_UI_StartScreen_IStartScreenManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_StartScreen_IStartScreenManager<D>::ContainsAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const
+ template <typename D> auto consume_Windows_UI_StartScreen_IStartScreenManager<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_StartScreen_IStartScreenManager<D>::RequestAddAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const
+ template <typename D> auto consume_Windows_UI_StartScreen_IStartScreenManager<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_StartScreen_IStartScreenManager2<D>::ContainsSecondaryTileAsync(param::hstring const& tileId) const
+ template <typename D> auto consume_Windows_UI_StartScreen_IStartScreenManager2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_StartScreen_IStartScreenManager2<D>::TryRemoveSecondaryTileAsync(param::hstring const& tileId) const
+ template <typename D> auto consume_Windows_UI_StartScreen_IStartScreenManager2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::StartScreenManager) consume_Windows_UI_StartScreen_IStartScreenManagerStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IStartScreenManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::StartScreenManager) consume_Windows_UI_StartScreen_IStartScreenManagerStatics<D>::GetForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_UI_StartScreen_IStartScreenManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ITileMixedRealityModel<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ITileMixedRealityModel<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ITileMixedRealityModel)->put_Uri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_StartScreen_ITileMixedRealityModel<D>::Uri() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ITileMixedRealityModel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ITileMixedRealityModel<D>::BoundingBox(winrt::Windows::Foundation::IReference<winrt::Windows::Perception::Spatial::SpatialBoundingBox> const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ITileMixedRealityModel<D>::BoundingBox(winrt::Windows::Foundation::IReference<winrt::Windows::Perception::Spatial::SpatialBoundingBox> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ITileMixedRealityModel)->put_BoundingBox(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Perception::Spatial::SpatialBoundingBox>) consume_Windows_UI_StartScreen_ITileMixedRealityModel<D>::BoundingBox() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ITileMixedRealityModel<D>::BoundingBox() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ITileMixedRealityModel)->get_BoundingBox(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Perception::Spatial::SpatialBoundingBox>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_ITileMixedRealityModel2<D>::ActivationBehavior(winrt::Windows::UI::StartScreen::TileMixedRealityModelActivationBehavior const& value) const
+ template <typename D> auto consume_Windows_UI_StartScreen_ITileMixedRealityModel2<D>::ActivationBehavior(winrt::Windows::UI::StartScreen::TileMixedRealityModelActivationBehavior const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ITileMixedRealityModel2)->put_ActivationBehavior(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::TileMixedRealityModelActivationBehavior) consume_Windows_UI_StartScreen_ITileMixedRealityModel2<D>::ActivationBehavior() const
+ template <typename D> auto consume_Windows_UI_StartScreen_ITileMixedRealityModel2<D>::ActivationBehavior() const
{
winrt::Windows::UI::StartScreen::TileMixedRealityModelActivationBehavior value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ITileMixedRealityModel2)->get_ActivationBehavior(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::SecondaryTileVisualElements) consume_Windows_UI_StartScreen_IVisualElementsRequest<D>::VisualElements() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IVisualElementsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::StartScreen::SecondaryTileVisualElements>) consume_Windows_UI_StartScreen_IVisualElementsRequest<D>::AlternateVisualElements() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IVisualElementsRequest<D>::AlternateVisualElements() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IVisualElementsRequest)->get_AlternateVisualElements(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::StartScreen::SecondaryTileVisualElements>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_StartScreen_IVisualElementsRequest<D>::Deadline() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IVisualElementsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::VisualElementsRequestDeferral) consume_Windows_UI_StartScreen_IVisualElementsRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IVisualElementsRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_StartScreen_IVisualElementsRequestDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IVisualElementsRequestDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IVisualElementsRequestDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::VisualElementsRequest) consume_Windows_UI_StartScreen_IVisualElementsRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_UI_StartScreen_IVisualElementsRequestedEventArgs<D>::Request() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IVisualElementsRequestedEventArgs)->get_Request(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Text.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Text.Core.h
index 210034ef9d0..b7587795a6d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Text.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextCompositionCompletedEventArgs<D>::IsCanceled() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextCompositionCompletedEventArgs<D>::IsCanceled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextCompositionCompletedEventArgs)->get_IsCanceled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Text::Core::CoreTextCompositionSegment>) consume_Windows_UI_Text_Core_ICoreTextCompositionCompletedEventArgs<D>::CompositionSegments() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextCompositionCompletedEventArgs<D>::CompositionSegments() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextCompositionCompletedEventArgs)->get_CompositionSegments(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Text::Core::CoreTextCompositionSegment>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Text_Core_ICoreTextCompositionCompletedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextCompositionCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_Core_ICoreTextCompositionSegment<D>::PreconversionString() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextCompositionSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) consume_Windows_UI_Text_Core_ICoreTextCompositionSegment<D>::Range() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextCompositionSegment<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextCompositionStartedEventArgs<D>::IsCanceled() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextCompositionStartedEventArgs<D>::IsCanceled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextCompositionStartedEventArgs)->get_IsCanceled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Text_Core_ICoreTextCompositionStartedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextCompositionStartedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::Name() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextInputScope) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::InputScope() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::InputScope() const
{
winrt::Windows::UI::Text::Core::CoreTextInputScope value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->get_InputScope(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::InputScope(winrt::Windows::UI::Text::Core::CoreTextInputScope const& value) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::IsReadOnly() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::IsReadOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->get_IsReadOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::IsReadOnly(bool value) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::IsReadOnly(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->put_IsReadOnly(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextInputPaneDisplayPolicy) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::InputPaneDisplayPolicy() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::InputPaneDisplayPolicy() const
{
winrt::Windows::UI::Text::Core::CoreTextInputPaneDisplayPolicy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->get_InputPaneDisplayPolicy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::InputPaneDisplayPolicy(winrt::Windows::UI::Text::Core::CoreTextInputPaneDisplayPolicy const& value) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::TextRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextTextRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::TextRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextTextRequestedEventArgs> 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 D> typename consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::TextRequested_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::TextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextTextRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::TextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextTextRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TextRequested_revoker>(this, TextRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::TextRequested(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::TextRequested(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_TextRequested(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::SelectionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextSelectionRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::SelectionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextSelectionRequestedEventArgs> 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 D> typename consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::SelectionRequested_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::SelectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextSelectionRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::SelectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextSelectionRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SelectionRequested_revoker>(this, SelectionRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::SelectionRequested(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::SelectionRequested(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_SelectionRequested(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::LayoutRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextLayoutRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::LayoutRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextLayoutRequestedEventArgs> 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 D> typename consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::LayoutRequested_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::LayoutRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextLayoutRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::LayoutRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextLayoutRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, LayoutRequested_revoker>(this, LayoutRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::LayoutRequested(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::LayoutRequested(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_LayoutRequested(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::TextUpdating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextTextUpdatingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::TextUpdating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextTextUpdatingEventArgs> 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 D> typename consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::TextUpdating_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::TextUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextTextUpdatingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::TextUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextTextUpdatingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TextUpdating_revoker>(this, TextUpdating(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::TextUpdating(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::TextUpdating(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_TextUpdating(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::SelectionUpdating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::SelectionUpdating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingEventArgs> 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 D> typename consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::SelectionUpdating_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::SelectionUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::SelectionUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SelectionUpdating_revoker>(this, SelectionUpdating(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::SelectionUpdating(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::SelectionUpdating(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_SelectionUpdating(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::FormatUpdating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::FormatUpdating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingEventArgs> 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 D> typename consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::FormatUpdating_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::FormatUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::FormatUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FormatUpdating_revoker>(this, FormatUpdating(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::FormatUpdating(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::FormatUpdating(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_FormatUpdating(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::CompositionStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextCompositionStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::CompositionStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextCompositionStartedEventArgs> 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 D> typename consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::CompositionStarted_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::CompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextCompositionStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::CompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextCompositionStartedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CompositionStarted_revoker>(this, CompositionStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::CompositionStarted(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::CompositionStarted(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_CompositionStarted(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::CompositionCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextCompositionCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::CompositionCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextCompositionCompletedEventArgs> 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 D> typename consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::CompositionCompleted_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::CompositionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextCompositionCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::CompositionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextCompositionCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CompositionCompleted_revoker>(this, CompositionCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::CompositionCompleted(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::CompositionCompleted(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_CompositionCompleted(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::FocusRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::FocusRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::FocusRemoved_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::FocusRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::FocusRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, FocusRemoved_revoker>(this, FocusRemoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::FocusRemoved(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::FocusRemoved(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->remove_FocusRemoved(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::NotifyFocusEnter() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::NotifyFocusEnter() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->NotifyFocusEnter());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::NotifyFocusLeave() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::NotifyFocusLeave() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->NotifyFocusLeave());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::NotifyTextChanged(winrt::Windows::UI::Text::Core::CoreTextRange const& modifiedRange, int32_t newLength, winrt::Windows::UI::Text::Core::CoreTextRange const& newSelection) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::NotifySelectionChanged(winrt::Windows::UI::Text::Core::CoreTextRange const& selection) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::NotifyLayoutChanged() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext<D>::NotifyLayoutChanged() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext)->NotifyLayoutChanged());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextEditContext2<D>::NotifyFocusLeaveCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext2<D>::NotifyFocusLeaveCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Text_Core_ICoreTextEditContext2<D>::NotifyFocusLeaveCompleted_revoker consume_Windows_UI_Text_Core_ICoreTextEditContext2<D>::NotifyFocusLeaveCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext2<D>::NotifyFocusLeaveCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, NotifyFocusLeaveCompleted_revoker>(this, NotifyFocusLeaveCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextEditContext2<D>::NotifyFocusLeaveCompleted(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextEditContext2<D>::NotifyFocusLeaveCompleted(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextEditContext2)->remove_NotifyFocusLeaveCompleted(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::Range() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::ViewManagement::UIElementType>) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::TextColor() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::TextColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs)->get_TextColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::ViewManagement::UIElementType>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::ViewManagement::UIElementType>) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::BackgroundColor() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::BackgroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs)->get_BackgroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::ViewManagement::UIElementType>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::ViewManagement::UIElementType>) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::UnderlineColor() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::UnderlineColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs)->get_UnderlineColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::ViewManagement::UIElementType>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Text::UnderlineType>) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::UnderlineType() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::UnderlineType() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs)->get_UnderlineType(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Text::UnderlineType>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingReason) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::Reason() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::Reason() const
{
winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingResult) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::Result() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::Result() const
{
winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingResult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs)->get_Result(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::Result(winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingResult const& value) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::IsCanceled() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::IsCanceled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs)->get_IsCanceled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Text_Core_ICoreTextLayoutBounds<D>::TextBounds() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextLayoutBounds<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextLayoutBounds<D>::TextBounds(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextLayoutBounds<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Text_Core_ICoreTextLayoutBounds<D>::ControlBounds() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextLayoutBounds<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextLayoutBounds<D>::ControlBounds(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextLayoutBounds<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) consume_Windows_UI_Text_Core_ICoreTextLayoutRequest<D>::Range() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextLayoutRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextLayoutBounds) consume_Windows_UI_Text_Core_ICoreTextLayoutRequest<D>::LayoutBounds() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextLayoutRequest<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextLayoutRequest<D>::IsCanceled() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextLayoutRequest<D>::IsCanceled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextLayoutRequest)->get_IsCanceled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Text_Core_ICoreTextLayoutRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextLayoutRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextLayoutBounds) consume_Windows_UI_Text_Core_ICoreTextLayoutRequest2<D>::LayoutBoundsVisualPixels() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextLayoutRequest2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextLayoutRequest) consume_Windows_UI_Text_Core_ICoreTextLayoutRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextLayoutRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) consume_Windows_UI_Text_Core_ICoreTextSelectionRequest<D>::Selection() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextSelectionRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextSelectionRequest<D>::Selection(winrt::Windows::UI::Text::Core::CoreTextRange const& value) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextSelectionRequest<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextSelectionRequest<D>::IsCanceled() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextSelectionRequest<D>::IsCanceled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextSelectionRequest)->get_IsCanceled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Text_Core_ICoreTextSelectionRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextSelectionRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextSelectionRequest) consume_Windows_UI_Text_Core_ICoreTextSelectionRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextSelectionRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs<D>::Selection() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingResult) consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs<D>::Result() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs<D>::Result() const
{
winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingResult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextSelectionUpdatingEventArgs)->get_Result(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs<D>::Result(winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingResult const& value) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs<D>::IsCanceled() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs<D>::IsCanceled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextSelectionUpdatingEventArgs)->get_IsCanceled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) consume_Windows_UI_Text_Core_ICoreTextServicesManager<D>::InputLanguage() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextServicesManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Text_Core_ICoreTextServicesManager<D>::InputLanguageChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextServicesManager, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextServicesManager<D>::InputLanguageChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextServicesManager, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Text_Core_ICoreTextServicesManager<D>::InputLanguageChanged_revoker consume_Windows_UI_Text_Core_ICoreTextServicesManager<D>::InputLanguageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextServicesManager, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextServicesManager<D>::InputLanguageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextServicesManager, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, InputLanguageChanged_revoker>(this, InputLanguageChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextServicesManager<D>::InputLanguageChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextServicesManager<D>::InputLanguageChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextServicesManager)->remove_InputLanguageChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextEditContext) consume_Windows_UI_Text_Core_ICoreTextServicesManager<D>::CreateEditContext() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextServicesManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextServicesManager) consume_Windows_UI_Text_Core_ICoreTextServicesManagerStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextServicesManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(char16_t) consume_Windows_UI_Text_Core_ICoreTextServicesStatics<D>::HiddenCharacter() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextServicesStatics<D>::HiddenCharacter() const
{
char16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextServicesStatics)->get_HiddenCharacter(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) consume_Windows_UI_Text_Core_ICoreTextTextRequest<D>::Range() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextTextRequest<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_Core_ICoreTextTextRequest<D>::Text() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextTextRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextTextRequest<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextTextRequest<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextRequest)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextTextRequest<D>::IsCanceled() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextTextRequest<D>::IsCanceled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextRequest)->get_IsCanceled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Text_Core_ICoreTextTextRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextTextRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextTextRequest) consume_Windows_UI_Text_Core_ICoreTextTextRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextTextRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs<D>::Range() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs<D>::Text() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextRange) consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs<D>::NewSelection() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::Language) consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs<D>::InputLanguage() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextTextUpdatingResult) consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs<D>::Result() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs<D>::Result() const
{
winrt::Windows::UI::Text::Core::CoreTextTextUpdatingResult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextUpdatingEventArgs)->get_Result(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs<D>::Result(winrt::Windows::UI::Text::Core::CoreTextTextUpdatingResult const& value) const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs<D>::IsCanceled() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs<D>::IsCanceled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextUpdatingEventArgs)->get_IsCanceled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs<D>::GetDeferral() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::Core::ICoreTextTextUpdatingEventArgs)->GetDeferral(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Text.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Text.h
index 79a1b787bab..c61576e6d51 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Text.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Text_IContentLinkInfo<D>::Id() const
+ template <typename D> auto consume_Windows_UI_Text_IContentLinkInfo<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IContentLinkInfo)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_IContentLinkInfo<D>::Id(uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Text_IContentLinkInfo<D>::Id(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IContentLinkInfo)->put_Id(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_IContentLinkInfo<D>::DisplayText() const
+ template <typename D> auto consume_Windows_UI_Text_IContentLinkInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_IContentLinkInfo<D>::DisplayText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Text_IContentLinkInfo<D>::DisplayText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IContentLinkInfo)->put_DisplayText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_IContentLinkInfo<D>::SecondaryText() const
+ template <typename D> auto consume_Windows_UI_Text_IContentLinkInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_IContentLinkInfo<D>::SecondaryText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Text_IContentLinkInfo<D>::SecondaryText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IContentLinkInfo)->put_SecondaryText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Text_IContentLinkInfo<D>::Uri() const
+ template <typename D> auto consume_Windows_UI_Text_IContentLinkInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_IContentLinkInfo<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_Text_IContentLinkInfo<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IContentLinkInfo)->put_Uri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_IContentLinkInfo<D>::LinkContentKind() const
+ template <typename D> auto consume_Windows_UI_Text_IContentLinkInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_IContentLinkInfo<D>::LinkContentKind(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Text_IContentLinkInfo<D>::LinkContentKind(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IContentLinkInfo)->put_LinkContentKind(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics<D>::Black() const
+ template <typename D> auto consume_Windows_UI_Text_IFontWeightsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics<D>::Bold() const
+ template <typename D> auto consume_Windows_UI_Text_IFontWeightsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics<D>::ExtraBlack() const
+ template <typename D> auto consume_Windows_UI_Text_IFontWeightsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics<D>::ExtraBold() const
+ template <typename D> auto consume_Windows_UI_Text_IFontWeightsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics<D>::ExtraLight() const
+ template <typename D> auto consume_Windows_UI_Text_IFontWeightsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics<D>::Light() const
+ template <typename D> auto consume_Windows_UI_Text_IFontWeightsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics<D>::Medium() const
+ template <typename D> auto consume_Windows_UI_Text_IFontWeightsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics<D>::Normal() const
+ template <typename D> auto consume_Windows_UI_Text_IFontWeightsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics<D>::SemiBold() const
+ template <typename D> auto consume_Windows_UI_Text_IFontWeightsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics<D>::SemiLight() const
+ template <typename D> auto consume_Windows_UI_Text_IFontWeightsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Text_IFontWeightsStatics<D>::Thin() const
+ template <typename D> auto consume_Windows_UI_Text_IFontWeightsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ContentLinkInfo) consume_Windows_UI_Text_IRichEditTextRange<D>::ContentLinkInfo() const
+ template <typename D> auto consume_Windows_UI_Text_IRichEditTextRange<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_IRichEditTextRange<D>::ContentLinkInfo(winrt::Windows::UI::Text::ContentLinkInfo const& value) const
+ template <typename D> auto consume_Windows_UI_Text_IRichEditTextRange<D>::ContentLinkInfo(winrt::Windows::UI::Text::ContentLinkInfo const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::IRichEditTextRange)->put_ContentLinkInfo(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat<D>::AllCaps() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::AllCaps() const
{
winrt::Windows::UI::Text::FormatEffect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_AllCaps(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::AllCaps(winrt::Windows::UI::Text::FormatEffect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::AllCaps(winrt::Windows::UI::Text::FormatEffect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_AllCaps(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Text_ITextCharacterFormat<D>::BackgroundColor() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::BackgroundColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat<D>::Bold() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Bold() const
{
winrt::Windows::UI::Text::FormatEffect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Bold(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::Bold(winrt::Windows::UI::Text::FormatEffect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Bold(winrt::Windows::UI::Text::FormatEffect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Bold(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) consume_Windows_UI_Text_ITextCharacterFormat<D>::FontStretch() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::FontStretch() const
{
winrt::Windows::UI::Text::FontStretch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_FontStretch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_FontStretch(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Text_ITextCharacterFormat<D>::FontStyle() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::FontStyle() const
{
winrt::Windows::UI::Text::FontStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_FontStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_FontStyle(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Text_ITextCharacterFormat<D>::ForegroundColor() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::ForegroundColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat<D>::Hidden() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Hidden() const
{
winrt::Windows::UI::Text::FormatEffect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Hidden(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::Hidden(winrt::Windows::UI::Text::FormatEffect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Hidden(winrt::Windows::UI::Text::FormatEffect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Hidden(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat<D>::Italic() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Italic() const
{
winrt::Windows::UI::Text::FormatEffect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Italic(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::Italic(winrt::Windows::UI::Text::FormatEffect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Italic(winrt::Windows::UI::Text::FormatEffect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Italic(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextCharacterFormat<D>::Kerning() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Kerning() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Kerning(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::Kerning(float value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Kerning(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Kerning(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_ITextCharacterFormat<D>::LanguageTag() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::LanguageTag(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::LanguageTag(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_LanguageTag(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::LinkType) consume_Windows_UI_Text_ITextCharacterFormat<D>::LinkType() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::LinkType() const
{
winrt::Windows::UI::Text::LinkType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_LinkType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_ITextCharacterFormat<D>::Name() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat<D>::Outline() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Outline() const
{
winrt::Windows::UI::Text::FormatEffect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Outline(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::Outline(winrt::Windows::UI::Text::FormatEffect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Outline(winrt::Windows::UI::Text::FormatEffect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Outline(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextCharacterFormat<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Position() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Position(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::Position(float value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Position(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Position(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat<D>::ProtectedText() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::ProtectedText() const
{
winrt::Windows::UI::Text::FormatEffect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_ProtectedText(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::ProtectedText(winrt::Windows::UI::Text::FormatEffect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::ProtectedText(winrt::Windows::UI::Text::FormatEffect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_ProtectedText(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextCharacterFormat<D>::Size() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Size() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Size(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::Size(float value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Size(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Size(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat<D>::SmallCaps() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::SmallCaps() const
{
winrt::Windows::UI::Text::FormatEffect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_SmallCaps(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::SmallCaps(winrt::Windows::UI::Text::FormatEffect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::SmallCaps(winrt::Windows::UI::Text::FormatEffect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_SmallCaps(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextCharacterFormat<D>::Spacing() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Spacing() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Spacing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::Spacing(float value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Spacing(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Spacing(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat<D>::Strikethrough() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Strikethrough() const
{
winrt::Windows::UI::Text::FormatEffect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Strikethrough(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::Strikethrough(winrt::Windows::UI::Text::FormatEffect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Strikethrough(winrt::Windows::UI::Text::FormatEffect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Strikethrough(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat<D>::Subscript() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Subscript() const
{
winrt::Windows::UI::Text::FormatEffect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Subscript(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::Subscript(winrt::Windows::UI::Text::FormatEffect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Subscript(winrt::Windows::UI::Text::FormatEffect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Subscript(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextCharacterFormat<D>::Superscript() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Superscript() const
{
winrt::Windows::UI::Text::FormatEffect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Superscript(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::Superscript(winrt::Windows::UI::Text::FormatEffect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Superscript(winrt::Windows::UI::Text::FormatEffect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Superscript(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::TextScript) consume_Windows_UI_Text_ITextCharacterFormat<D>::TextScript() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::TextScript() const
{
winrt::Windows::UI::Text::TextScript value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_TextScript(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::TextScript(winrt::Windows::UI::Text::TextScript const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::TextScript(winrt::Windows::UI::Text::TextScript const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_TextScript(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::UnderlineType) consume_Windows_UI_Text_ITextCharacterFormat<D>::Underline() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Underline() const
{
winrt::Windows::UI::Text::UnderlineType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Underline(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::Underline(winrt::Windows::UI::Text::UnderlineType const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Underline(winrt::Windows::UI::Text::UnderlineType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Underline(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextCharacterFormat<D>::Weight() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Weight() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->get_Weight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::Weight(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::Weight(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->put_Weight(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextCharacterFormat<D>::SetClone(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::SetClone(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextCharacterFormat)->SetClone(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextCharacterFormat) consume_Windows_UI_Text_ITextCharacterFormat<D>::GetClone() const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextCharacterFormat<D>::IsEqual(winrt::Windows::UI::Text::ITextCharacterFormat const& format) const
+ template <typename D> auto consume_Windows_UI_Text_ITextCharacterFormat<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Text_ITextConstantsStatics<D>::AutoColor() const
+ template <typename D> auto consume_Windows_UI_Text_ITextConstantsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextConstantsStatics<D>::MinUnitCount() const
+ template <typename D> auto consume_Windows_UI_Text_ITextConstantsStatics<D>::MinUnitCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextConstantsStatics)->get_MinUnitCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextConstantsStatics<D>::MaxUnitCount() const
+ template <typename D> auto consume_Windows_UI_Text_ITextConstantsStatics<D>::MaxUnitCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextConstantsStatics)->get_MaxUnitCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Text_ITextConstantsStatics<D>::UndefinedColor() const
+ template <typename D> auto consume_Windows_UI_Text_ITextConstantsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextConstantsStatics<D>::UndefinedFloatValue() const
+ template <typename D> auto consume_Windows_UI_Text_ITextConstantsStatics<D>::UndefinedFloatValue() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextConstantsStatics)->get_UndefinedFloatValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextConstantsStatics<D>::UndefinedInt32Value() const
+ template <typename D> auto consume_Windows_UI_Text_ITextConstantsStatics<D>::UndefinedInt32Value() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextConstantsStatics)->get_UndefinedInt32Value(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) consume_Windows_UI_Text_ITextConstantsStatics<D>::UndefinedFontStretch() const
+ template <typename D> auto consume_Windows_UI_Text_ITextConstantsStatics<D>::UndefinedFontStretch() const
{
winrt::Windows::UI::Text::FontStretch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextConstantsStatics)->get_UndefinedFontStretch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Text_ITextConstantsStatics<D>::UndefinedFontStyle() const
+ template <typename D> auto consume_Windows_UI_Text_ITextConstantsStatics<D>::UndefinedFontStyle() const
{
winrt::Windows::UI::Text::FontStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextConstantsStatics)->get_UndefinedFontStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::CaretType) consume_Windows_UI_Text_ITextDocument<D>::CaretType() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::CaretType() const
{
winrt::Windows::UI::Text::CaretType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->get_CaretType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument<D>::CaretType(winrt::Windows::UI::Text::CaretType const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::CaretType(winrt::Windows::UI::Text::CaretType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->put_CaretType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextDocument<D>::DefaultTabStop() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::DefaultTabStop() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->get_DefaultTabStop(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument<D>::DefaultTabStop(float value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::DefaultTabStop(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->put_DefaultTabStop(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextSelection) consume_Windows_UI_Text_ITextDocument<D>::Selection() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Text_ITextDocument<D>::UndoLimit() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::UndoLimit() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->get_UndoLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument<D>::UndoLimit(uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::UndoLimit(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->put_UndoLimit(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextDocument<D>::CanCopy() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::CanCopy() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->CanCopy(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextDocument<D>::CanPaste() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::CanPaste() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->CanPaste(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextDocument<D>::CanRedo() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::CanRedo() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->CanRedo(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextDocument<D>::CanUndo() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::CanUndo() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->CanUndo(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextDocument<D>::ApplyDisplayUpdates() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::ApplyDisplayUpdates() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->ApplyDisplayUpdates(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextDocument<D>::BatchDisplayUpdates() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::BatchDisplayUpdates() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->BatchDisplayUpdates(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument<D>::BeginUndoGroup() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::BeginUndoGroup() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->BeginUndoGroup());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument<D>::EndUndoGroup() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::EndUndoGroup() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->EndUndoGroup());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextCharacterFormat) consume_Windows_UI_Text_ITextDocument<D>::GetDefaultCharacterFormat() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextParagraphFormat) consume_Windows_UI_Text_ITextDocument<D>::GetDefaultParagraphFormat() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextRange) consume_Windows_UI_Text_ITextDocument<D>::GetRange(int32_t startPosition, int32_t endPosition) const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextRange) consume_Windows_UI_Text_ITextDocument<D>::GetRangeFromPoint(winrt::Windows::Foundation::Point const& point, winrt::Windows::UI::Text::PointOptions const& options) const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::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<uint32_t>(options), &result));
return winrt::Windows::UI::Text::ITextRange{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument<D>::GetText(winrt::Windows::UI::Text::TextGetOptions const& options, hstring& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::GetText(winrt::Windows::UI::Text::TextGetOptions const& options, hstring& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->GetText(static_cast<uint32_t>(options), impl::bind_out(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument<D>::LoadFromStream(winrt::Windows::UI::Text::TextSetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::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<uint32_t>(options), *(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument<D>::Redo() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::Redo() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->Redo());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument<D>::SaveToStream(winrt::Windows::UI::Text::TextGetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::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<uint32_t>(options), *(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument<D>::SetDefaultCharacterFormat(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::SetDefaultCharacterFormat(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->SetDefaultCharacterFormat(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument<D>::SetDefaultParagraphFormat(winrt::Windows::UI::Text::ITextParagraphFormat const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::SetDefaultParagraphFormat(winrt::Windows::UI::Text::ITextParagraphFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->SetDefaultParagraphFormat(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument<D>::SetText(winrt::Windows::UI::Text::TextSetOptions const& options, param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::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<uint32_t>(options), *(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument<D>::Undo() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument<D>::Undo() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument)->Undo());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextDocument2<D>::AlignmentIncludesTrailingWhitespace() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument2<D>::AlignmentIncludesTrailingWhitespace() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument2)->get_AlignmentIncludesTrailingWhitespace(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument2<D>::AlignmentIncludesTrailingWhitespace(bool value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument2<D>::AlignmentIncludesTrailingWhitespace(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument2)->put_AlignmentIncludesTrailingWhitespace(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextDocument2<D>::IgnoreTrailingCharacterSpacing() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument2<D>::IgnoreTrailingCharacterSpacing() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument2)->get_IgnoreTrailingCharacterSpacing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument2<D>::IgnoreTrailingCharacterSpacing(bool value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument2<D>::IgnoreTrailingCharacterSpacing(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument2)->put_IgnoreTrailingCharacterSpacing(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument3<D>::ClearUndoRedoHistory() const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument3<D>::ClearUndoRedoHistory() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument3)->ClearUndoRedoHistory());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument4<D>::SetMath(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument4<D>::SetMath(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument4)->SetMath(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument4<D>::GetMath(hstring& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument4<D>::GetMath(hstring& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument4)->GetMath(impl::bind_out(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextDocument4<D>::SetMathMode(winrt::Windows::UI::Text::RichEditMathMode const& mode) const
+ template <typename D> auto consume_Windows_UI_Text_ITextDocument4<D>::SetMathMode(winrt::Windows::UI::Text::RichEditMathMode const& mode) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextDocument4)->SetMathMode(static_cast<int32_t>(mode)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ParagraphAlignment) consume_Windows_UI_Text_ITextParagraphFormat<D>::Alignment() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::Alignment() const
{
winrt::Windows::UI::Text::ParagraphAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_Alignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::Alignment(winrt::Windows::UI::Text::ParagraphAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::Alignment(winrt::Windows::UI::Text::ParagraphAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_Alignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextParagraphFormat<D>::FirstLineIndent() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::FirstLineIndent() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_FirstLineIndent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextParagraphFormat<D>::KeepTogether() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::KeepTogether() const
{
winrt::Windows::UI::Text::FormatEffect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_KeepTogether(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::KeepTogether(winrt::Windows::UI::Text::FormatEffect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::KeepTogether(winrt::Windows::UI::Text::FormatEffect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_KeepTogether(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextParagraphFormat<D>::KeepWithNext() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::KeepWithNext() const
{
winrt::Windows::UI::Text::FormatEffect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_KeepWithNext(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::KeepWithNext(winrt::Windows::UI::Text::FormatEffect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::KeepWithNext(winrt::Windows::UI::Text::FormatEffect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_KeepWithNext(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextParagraphFormat<D>::LeftIndent() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::LeftIndent() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_LeftIndent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextParagraphFormat<D>::LineSpacing() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::LineSpacing() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_LineSpacing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::LineSpacingRule) consume_Windows_UI_Text_ITextParagraphFormat<D>::LineSpacingRule() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::LineSpacingRule() const
{
winrt::Windows::UI::Text::LineSpacingRule value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_LineSpacingRule(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::MarkerAlignment) consume_Windows_UI_Text_ITextParagraphFormat<D>::ListAlignment() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::ListAlignment() const
{
winrt::Windows::UI::Text::MarkerAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_ListAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::ListAlignment(winrt::Windows::UI::Text::MarkerAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::ListAlignment(winrt::Windows::UI::Text::MarkerAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_ListAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextParagraphFormat<D>::ListLevelIndex() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::ListLevelIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_ListLevelIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::ListLevelIndex(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::ListLevelIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_ListLevelIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextParagraphFormat<D>::ListStart() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::ListStart() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_ListStart(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::ListStart(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::ListStart(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_ListStart(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::MarkerStyle) consume_Windows_UI_Text_ITextParagraphFormat<D>::ListStyle() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::ListStyle() const
{
winrt::Windows::UI::Text::MarkerStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_ListStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::ListStyle(winrt::Windows::UI::Text::MarkerStyle const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::ListStyle(winrt::Windows::UI::Text::MarkerStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_ListStyle(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextParagraphFormat<D>::ListTab() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::ListTab() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_ListTab(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::ListTab(float value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::ListTab(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_ListTab(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::MarkerType) consume_Windows_UI_Text_ITextParagraphFormat<D>::ListType() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::ListType() const
{
winrt::Windows::UI::Text::MarkerType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_ListType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::ListType(winrt::Windows::UI::Text::MarkerType const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::ListType(winrt::Windows::UI::Text::MarkerType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_ListType(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextParagraphFormat<D>::NoLineNumber() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::NoLineNumber() const
{
winrt::Windows::UI::Text::FormatEffect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_NoLineNumber(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::NoLineNumber(winrt::Windows::UI::Text::FormatEffect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::NoLineNumber(winrt::Windows::UI::Text::FormatEffect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_NoLineNumber(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextParagraphFormat<D>::PageBreakBefore() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::PageBreakBefore() const
{
winrt::Windows::UI::Text::FormatEffect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_PageBreakBefore(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::PageBreakBefore(winrt::Windows::UI::Text::FormatEffect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::PageBreakBefore(winrt::Windows::UI::Text::FormatEffect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_PageBreakBefore(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextParagraphFormat<D>::RightIndent() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::RightIndent() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_RightIndent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::RightIndent(float value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::RightIndent(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_RightIndent(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextParagraphFormat<D>::RightToLeft() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::RightToLeft() const
{
winrt::Windows::UI::Text::FormatEffect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_RightToLeft(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::RightToLeft(winrt::Windows::UI::Text::FormatEffect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::RightToLeft(winrt::Windows::UI::Text::FormatEffect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_RightToLeft(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ParagraphStyle) consume_Windows_UI_Text_ITextParagraphFormat<D>::Style() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::Style() const
{
winrt::Windows::UI::Text::ParagraphStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_Style(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::Style(winrt::Windows::UI::Text::ParagraphStyle const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::Style(winrt::Windows::UI::Text::ParagraphStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_Style(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextParagraphFormat<D>::SpaceAfter() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::SpaceAfter() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_SpaceAfter(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::SpaceAfter(float value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::SpaceAfter(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_SpaceAfter(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Text_ITextParagraphFormat<D>::SpaceBefore() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::SpaceBefore() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_SpaceBefore(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::SpaceBefore(float value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::SpaceBefore(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_SpaceBefore(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FormatEffect) consume_Windows_UI_Text_ITextParagraphFormat<D>::WidowControl() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::WidowControl() const
{
winrt::Windows::UI::Text::FormatEffect value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_WidowControl(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::WidowControl(winrt::Windows::UI::Text::FormatEffect const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::WidowControl(winrt::Windows::UI::Text::FormatEffect const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->put_WidowControl(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextParagraphFormat<D>::TabCount() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::TabCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->get_TabCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::AddTab(float position, winrt::Windows::UI::Text::TabAlignment const& align, winrt::Windows::UI::Text::TabLeader const& leader) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::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<int32_t>(align), static_cast<int32_t>(leader)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::ClearAllTabs() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::ClearAllTabs() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->ClearAllTabs());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::DeleteTab(float position) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::DeleteTab(float position) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->DeleteTab(position));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextParagraphFormat) consume_Windows_UI_Text_ITextParagraphFormat<D>::GetClone() const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::GetTab(int32_t index, float& position, winrt::Windows::UI::Text::TabAlignment& align, winrt::Windows::UI::Text::TabLeader& leader) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::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<int32_t*>(&align), reinterpret_cast<int32_t*>(&leader)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextParagraphFormat<D>::IsEqual(winrt::Windows::UI::Text::ITextParagraphFormat const& format) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::SetClone(winrt::Windows::UI::Text::ITextParagraphFormat const& format) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::SetClone(winrt::Windows::UI::Text::ITextParagraphFormat const& format) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->SetClone(*(void**)(&format)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::SetIndents(float start, float left, float right) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::SetIndents(float start, float left, float right) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->SetIndents(start, left, right));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextParagraphFormat<D>::SetLineSpacing(winrt::Windows::UI::Text::LineSpacingRule const& rule, float spacing) const
+ template <typename D> auto consume_Windows_UI_Text_ITextParagraphFormat<D>::SetLineSpacing(winrt::Windows::UI::Text::LineSpacingRule const& rule, float spacing) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextParagraphFormat)->SetLineSpacing(static_cast<int32_t>(rule), spacing));
}
- template <typename D> WINRT_IMPL_AUTO(char16_t) consume_Windows_UI_Text_ITextRange<D>::Character() const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::Character() const
{
char16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->get_Character(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::Character(char16_t value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::Character(char16_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_Character(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextCharacterFormat) consume_Windows_UI_Text_ITextRange<D>::CharacterFormat() const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::CharacterFormat(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::CharacterFormat(winrt::Windows::UI::Text::ITextCharacterFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_CharacterFormat(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextRange) consume_Windows_UI_Text_ITextRange<D>::FormattedText() const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::FormattedText(winrt::Windows::UI::Text::ITextRange const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::FormattedText(winrt::Windows::UI::Text::ITextRange const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_FormattedText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange<D>::EndPosition() const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::EndPosition() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->get_EndPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::EndPosition(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::EndPosition(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_EndPosition(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::RangeGravity) consume_Windows_UI_Text_ITextRange<D>::Gravity() const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::Gravity() const
{
winrt::Windows::UI::Text::RangeGravity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->get_Gravity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::Gravity(winrt::Windows::UI::Text::RangeGravity const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::Gravity(winrt::Windows::UI::Text::RangeGravity const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_Gravity(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange<D>::Length() const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::Length() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_ITextRange<D>::Link() const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::Link(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::Link(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_Link(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextParagraphFormat) consume_Windows_UI_Text_ITextRange<D>::ParagraphFormat() const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::ParagraphFormat(winrt::Windows::UI::Text::ITextParagraphFormat const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::ParagraphFormat(winrt::Windows::UI::Text::ITextParagraphFormat const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_ParagraphFormat(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange<D>::StartPosition() const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::StartPosition() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->get_StartPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::StartPosition(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::StartPosition(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_StartPosition(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange<D>::StoryLength() const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::StoryLength() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->get_StoryLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Text_ITextRange<D>::Text() const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextRange<D>::CanPaste(int32_t format) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::CanPaste(int32_t format) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->CanPaste(format, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::ChangeCase(winrt::Windows::UI::Text::LetterCase const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::ChangeCase(winrt::Windows::UI::Text::LetterCase const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->ChangeCase(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::Collapse(bool value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::Collapse(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->Collapse(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::Copy() const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::Copy() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->Copy());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::Cut() const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::Cut() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->Cut());
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange<D>::Delete(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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<int32_t>(unit), count, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange<D>::EndOf(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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<int32_t>(unit), extend, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange<D>::Expand(winrt::Windows::UI::Text::TextRangeUnit const& unit) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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<int32_t>(unit), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange<D>::FindText(param::hstring const& value, int32_t scanLength, winrt::Windows::UI::Text::FindOptions const& options) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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<uint32_t>(options), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::GetCharacterUtf32(uint32_t& value, int32_t offset) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::GetCharacterUtf32(uint32_t& value, int32_t offset) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->GetCharacterUtf32(&value, offset));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextRange) consume_Windows_UI_Text_ITextRange<D>::GetClone() const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange<D>::GetIndex(winrt::Windows::UI::Text::TextRangeUnit const& unit) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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<int32_t>(unit), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::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 <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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<int32_t>(horizontalAlign), static_cast<int32_t>(verticalAlign), static_cast<uint32_t>(options), impl::bind_out(point)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::GetRect(winrt::Windows::UI::Text::PointOptions const& options, winrt::Windows::Foundation::Rect& rect, int32_t& hit) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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<uint32_t>(options), impl::bind_out(rect), &hit));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::GetText(winrt::Windows::UI::Text::TextGetOptions const& options, hstring& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::GetText(winrt::Windows::UI::Text::TextGetOptions const& options, hstring& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->GetText(static_cast<uint32_t>(options), impl::bind_out(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::GetTextViaStream(winrt::Windows::UI::Text::TextGetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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<uint32_t>(options), *(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextRange<D>::InRange(winrt::Windows::UI::Text::ITextRange const& range) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::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 <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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<int32_t>(verticalAlign), *(void**)(&alternateText), *(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextRange<D>::InStory(winrt::Windows::UI::Text::ITextRange const& range) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Text_ITextRange<D>::IsEqual(winrt::Windows::UI::Text::ITextRange const& range) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange<D>::Move(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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<int32_t>(unit), count, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange<D>::MoveEnd(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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<int32_t>(unit), count, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange<D>::MoveStart(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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<int32_t>(unit), count, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::Paste(int32_t format) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::Paste(int32_t format) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->Paste(format));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::ScrollIntoView(winrt::Windows::UI::Text::PointOptions const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::ScrollIntoView(winrt::Windows::UI::Text::PointOptions const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->ScrollIntoView(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::MatchSelection() const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::MatchSelection() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->MatchSelection());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::SetIndex(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t index, bool extend) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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<int32_t>(unit), index, extend));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::SetPoint(winrt::Windows::Foundation::Point const& point, winrt::Windows::UI::Text::PointOptions const& options, bool extend) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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<uint32_t>(options), extend));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::SetRange(int32_t startPosition, int32_t endPosition) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::SetRange(int32_t startPosition, int32_t endPosition) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextRange)->SetRange(startPosition, endPosition));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::SetText(winrt::Windows::UI::Text::TextSetOptions const& options, param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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<uint32_t>(options), *(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextRange<D>::SetTextViaStream(winrt::Windows::UI::Text::TextSetOptions const& options, winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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<uint32_t>(options), *(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextRange<D>::StartOf(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const
+ template <typename D> auto consume_Windows_UI_Text_ITextRange<D>::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<int32_t>(unit), extend, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::SelectionOptions) consume_Windows_UI_Text_ITextSelection<D>::Options() const
+ template <typename D> auto consume_Windows_UI_Text_ITextSelection<D>::Options() const
{
winrt::Windows::UI::Text::SelectionOptions value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextSelection)->get_Options(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextSelection<D>::Options(winrt::Windows::UI::Text::SelectionOptions const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextSelection<D>::Options(winrt::Windows::UI::Text::SelectionOptions const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextSelection)->put_Options(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::SelectionType) consume_Windows_UI_Text_ITextSelection<D>::Type() const
+ template <typename D> auto consume_Windows_UI_Text_ITextSelection<D>::Type() const
{
winrt::Windows::UI::Text::SelectionType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextSelection)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextSelection<D>::EndKey(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const
+ template <typename D> auto consume_Windows_UI_Text_ITextSelection<D>::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<int32_t>(unit), extend, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextSelection<D>::HomeKey(winrt::Windows::UI::Text::TextRangeUnit const& unit, bool extend) const
+ template <typename D> auto consume_Windows_UI_Text_ITextSelection<D>::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<int32_t>(unit), extend, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextSelection<D>::MoveDown(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const
+ template <typename D> auto consume_Windows_UI_Text_ITextSelection<D>::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<int32_t>(unit), count, extend, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextSelection<D>::MoveLeft(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const
+ template <typename D> auto consume_Windows_UI_Text_ITextSelection<D>::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<int32_t>(unit), count, extend, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextSelection<D>::MoveRight(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const
+ template <typename D> auto consume_Windows_UI_Text_ITextSelection<D>::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<int32_t>(unit), count, extend, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Text_ITextSelection<D>::MoveUp(winrt::Windows::UI::Text::TextRangeUnit const& unit, int32_t count, bool extend) const
+ template <typename D> auto consume_Windows_UI_Text_ITextSelection<D>::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<int32_t>(unit), count, extend, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Text_ITextSelection<D>::TypeText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Text_ITextSelection<D>::TypeText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Text::ITextSelection)->TypeText(*(void**)(&value)));
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.UIAutomation.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.UIAutomation.Core.h
index 110947e9e75..f8c5d67a965 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.UIAutomation.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationStatus) consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult<D>::Status() const
+ template <typename D> auto consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult<D>::Status() const
{
winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::Core::IAutomationRemoteOperationResult)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::Core::IAutomationRemoteOperationResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult<D>::ErrorLocation() const
+ template <typename D> auto consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult<D>::ErrorLocation() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::Core::IAutomationRemoteOperationResult)->get_ErrorLocation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult<D>::HasOperand(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId) const
+ template <typename D> auto consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult<D>::GetOperand(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId) const
+ template <typename D> auto consume_Windows_UI_UIAutomation_Core_IAutomationRemoteOperationResult<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation<D>::IsOpcodeSupported(uint32_t opcode) const
+ template <typename D> auto consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation<D>::IsOpcodeSupported(uint32_t opcode) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::Core::ICoreAutomationRemoteOperation)->IsOpcodeSupported(opcode, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation<D>::ImportElement(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId, winrt::Windows::UI::UIAutomation::AutomationElement const& element) const
+ template <typename D> auto consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation<D>::ImportTextRange(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId, winrt::Windows::UI::UIAutomation::AutomationTextRange const& textRange) const
+ template <typename D> auto consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation<D>::AddToResults(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationOperandId const& operandId) const
+ template <typename D> auto consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::UIAutomation::Core::AutomationRemoteOperationResult) consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation<D>::Execute(array_view<uint8_t const> bytecodeBuffer) const
+ template <typename D> auto consume_Windows_UI_UIAutomation_Core_ICoreAutomationRemoteOperation<D>::Execute(array_view<uint8_t const> 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.UIAutomation.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.UIAutomation.h
index d0d4436c713..a707c2a8c91 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.UIAutomation.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_UIAutomation_IAutomationElement<D>::IsRemoteSystem() const noexcept
+ template <typename D> auto consume_Windows_UI_UIAutomation_IAutomationElement<D>::IsRemoteSystem() const noexcept
{
bool value{};
WINRT_VERIFY_(0, WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::IAutomationElement)->get_IsRemoteSystem(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_UIAutomation_IAutomationElement<D>::AppUserModelId() const
+ template <typename D> auto consume_Windows_UI_UIAutomation_IAutomationElement<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_UIAutomation_IAutomationElement<D>::ExecutableFileName() const
+ template <typename D> auto consume_Windows_UI_UIAutomation_IAutomationElement<D>::ExecutableFileName() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::UIAutomation::IAutomationElement)->get_ExecutableFileName(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.ViewManagement.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.ViewManagement.Core.h
index 7858f5cd209..51bc9df29b2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.ViewManagement.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_Core_ICoreInputView<D>::OcclusionsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusionsChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView<D>::OcclusionsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusionsChangedEventArgs> 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 D> typename consume_Windows_UI_ViewManagement_Core_ICoreInputView<D>::OcclusionsChanged_revoker consume_Windows_UI_ViewManagement_Core_ICoreInputView<D>::OcclusionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusionsChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView<D>::OcclusionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusionsChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, OcclusionsChanged_revoker>(this, OcclusionsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_ICoreInputView<D>::OcclusionsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView<D>::OcclusionsChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView)->remove_OcclusionsChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusion>) consume_Windows_UI_ViewManagement_Core_ICoreInputView<D>::GetCoreInputViewOcclusions() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView<D>::GetCoreInputViewOcclusions() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView)->GetCoreInputViewOcclusions(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusion>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputView<D>::TryShowPrimaryView() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView<D>::TryShowPrimaryView() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView)->TryShowPrimaryView(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputView<D>::TryHidePrimaryView() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView<D>::TryHidePrimaryView() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView)->TryHidePrimaryView(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_Core_ICoreInputView2<D>::XYFocusTransferringFromPrimaryView(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewTransferringXYFocusEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView2<D>::XYFocusTransferringFromPrimaryView(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewTransferringXYFocusEventArgs> 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 D> typename consume_Windows_UI_ViewManagement_Core_ICoreInputView2<D>::XYFocusTransferringFromPrimaryView_revoker consume_Windows_UI_ViewManagement_Core_ICoreInputView2<D>::XYFocusTransferringFromPrimaryView(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewTransferringXYFocusEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView2<D>::XYFocusTransferringFromPrimaryView(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewTransferringXYFocusEventArgs> const& handler) const
{
return impl::make_event_revoker<D, XYFocusTransferringFromPrimaryView_revoker>(this, XYFocusTransferringFromPrimaryView(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_ICoreInputView2<D>::XYFocusTransferringFromPrimaryView(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView2<D>::XYFocusTransferringFromPrimaryView(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView2)->remove_XYFocusTransferringFromPrimaryView(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_Core_ICoreInputView2<D>::XYFocusTransferredToPrimaryView(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView2<D>::XYFocusTransferredToPrimaryView(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_ViewManagement_Core_ICoreInputView2<D>::XYFocusTransferredToPrimaryView_revoker consume_Windows_UI_ViewManagement_Core_ICoreInputView2<D>::XYFocusTransferredToPrimaryView(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView2<D>::XYFocusTransferredToPrimaryView(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, XYFocusTransferredToPrimaryView_revoker>(this, XYFocusTransferredToPrimaryView(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_ICoreInputView2<D>::XYFocusTransferredToPrimaryView(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView2<D>::XYFocusTransferredToPrimaryView(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView2)->remove_XYFocusTransferredToPrimaryView(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputView2<D>::TryTransferXYFocusToPrimaryView(winrt::Windows::Foundation::Rect const& origin, winrt::Windows::UI::ViewManagement::Core::CoreInputViewXYFocusTransferDirection const& direction) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView2<D>::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<int32_t>(direction), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputView3<D>::TryShow() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView3<D>::TryShow() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView3)->TryShow(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputView3<D>::TryShow(winrt::Windows::UI::ViewManagement::Core::CoreInputViewKind const& type) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView3<D>::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<int32_t>(type), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputView3<D>::TryHide() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView3<D>::TryHide() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView3)->TryHide(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_Core_ICoreInputView4<D>::PrimaryViewShowing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewShowingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView4<D>::PrimaryViewShowing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewShowingEventArgs> 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 D> typename consume_Windows_UI_ViewManagement_Core_ICoreInputView4<D>::PrimaryViewShowing_revoker consume_Windows_UI_ViewManagement_Core_ICoreInputView4<D>::PrimaryViewShowing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewShowingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView4<D>::PrimaryViewShowing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewShowingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PrimaryViewShowing_revoker>(this, PrimaryViewShowing(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_ICoreInputView4<D>::PrimaryViewShowing(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView4<D>::PrimaryViewShowing(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView4)->remove_PrimaryViewShowing(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_Core_ICoreInputView4<D>::PrimaryViewHiding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewHidingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView4<D>::PrimaryViewHiding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewHidingEventArgs> 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 D> typename consume_Windows_UI_ViewManagement_Core_ICoreInputView4<D>::PrimaryViewHiding_revoker consume_Windows_UI_ViewManagement_Core_ICoreInputView4<D>::PrimaryViewHiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewHidingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView4<D>::PrimaryViewHiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewHidingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PrimaryViewHiding_revoker>(this, PrimaryViewHiding(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_ICoreInputView4<D>::PrimaryViewHiding(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputView4<D>::PrimaryViewHiding(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputView4)->remove_PrimaryViewHiding(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputViewHidingEventArgs<D>::TryCancel() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewHidingEventArgs<D>::TryCancel() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewHidingEventArgs)->TryCancel(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusion<D>::OccludingRect() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusion<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusionKind) consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusion<D>::OcclusionKind() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusion<D>::OcclusionKind() const
{
winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusionKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewOcclusion)->get_OcclusionKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusion>) consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusionsChangedEventArgs<D>::Occlusions() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusionsChangedEventArgs<D>::Occlusions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewOcclusionsChangedEventArgs)->get_Occlusions(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusion>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusionsChangedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusionsChangedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewOcclusionsChangedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusionsChangedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusionsChangedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewOcclusionsChangedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputViewShowingEventArgs<D>::TryCancel() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewShowingEventArgs<D>::TryCancel() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewShowingEventArgs)->TryCancel(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::Core::CoreInputView) consume_Windows_UI_ViewManagement_Core_ICoreInputViewStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::Core::CoreInputView) consume_Windows_UI_ViewManagement_Core_ICoreInputViewStatics2<D>::GetForUIContext(winrt::Windows::UI::UIContext const& context) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs<D>::Origin() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::Core::CoreInputViewXYFocusTransferDirection) consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs<D>::Direction() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs<D>::Direction() const
{
winrt::Windows::UI::ViewManagement::Core::CoreInputViewXYFocusTransferDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewTransferringXYFocusEventArgs)->get_Direction(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs<D>::TransferHandled(bool value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs<D>::TransferHandled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewTransferringXYFocusEventArgs)->put_TransferHandled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs<D>::TransferHandled() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs<D>::TransferHandled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewTransferringXYFocusEventArgs)->get_TransferHandled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs<D>::KeepPrimaryViewVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs<D>::KeepPrimaryViewVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewTransferringXYFocusEventArgs)->put_KeepPrimaryViewVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs<D>::KeepPrimaryViewVisible() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_ICoreInputViewTransferringXYFocusEventArgs<D>::KeepPrimaryViewVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::ICoreInputViewTransferringXYFocusEventArgs)->get_KeepPrimaryViewVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_IUISettingsController<D>::SetAdvancedEffectsEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_IUISettingsController<D>::SetAdvancedEffectsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::IUISettingsController)->SetAdvancedEffectsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_IUISettingsController<D>::SetAnimationsEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_IUISettingsController<D>::SetAnimationsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::IUISettingsController)->SetAnimationsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_IUISettingsController<D>::SetAutoHideScrollBars(bool value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_IUISettingsController<D>::SetAutoHideScrollBars(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::IUISettingsController)->SetAutoHideScrollBars(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_IUISettingsController<D>::SetMessageDuration(uint32_t value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_IUISettingsController<D>::SetMessageDuration(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::IUISettingsController)->SetMessageDuration(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_Core_IUISettingsController<D>::SetTextScaleFactor(double value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_IUISettingsController<D>::SetTextScaleFactor(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::IUISettingsController)->SetTextScaleFactor(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::ViewManagement::Core::UISettingsController>) consume_Windows_UI_ViewManagement_Core_IUISettingsControllerStatics<D>::RequestDefaultAsync() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_Core_IUISettingsControllerStatics<D>::RequestDefaultAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::Core::IUISettingsControllerStatics)->RequestDefaultAsync(&operation));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.ViewManagement.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.ViewManagement.h
index ea349deb5ac..a907775f361 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.ViewManagement.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IAccessibilitySettings<D>::HighContrast() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IAccessibilitySettings<D>::HighContrast() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IAccessibilitySettings)->get_HighContrast(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_ViewManagement_IAccessibilitySettings<D>::HighContrastScheme() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IAccessibilitySettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IAccessibilitySettings<D>::HighContrastChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::AccessibilitySettings, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IAccessibilitySettings<D>::HighContrastChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::AccessibilitySettings, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_ViewManagement_IAccessibilitySettings<D>::HighContrastChanged_revoker consume_Windows_UI_ViewManagement_IAccessibilitySettings<D>::HighContrastChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::AccessibilitySettings, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IAccessibilitySettings<D>::HighContrastChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::AccessibilitySettings, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, HighContrastChanged_revoker>(this, HighContrastChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IAccessibilitySettings<D>::HighContrastChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_IAccessibilitySettings<D>::HighContrastChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IAccessibilitySettings)->remove_HighContrastChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IActivationViewSwitcher<D>::ShowAsStandaloneAsync(int32_t viewId) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IActivationViewSwitcher<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IActivationViewSwitcher<D>::ShowAsStandaloneAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& sizePreference) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IActivationViewSwitcher<D>::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<int32_t>(sizePreference), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IActivationViewSwitcher<D>::IsViewPresentedOnActivationVirtualDesktop(int32_t viewId) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IActivationViewSwitcher<D>::IsViewPresentedOnActivationVirtualDesktop(int32_t viewId) const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IActivationViewSwitcher)->IsViewPresentedOnActivationVirtualDesktop(viewId, &value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewOrientation) consume_Windows_UI_ViewManagement_IApplicationView<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView<D>::Orientation() const
{
winrt::Windows::UI::ViewManagement::ApplicationViewOrientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView<D>::AdjacentToLeftDisplayEdge() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView<D>::AdjacentToLeftDisplayEdge() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->get_AdjacentToLeftDisplayEdge(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView<D>::AdjacentToRightDisplayEdge() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView<D>::AdjacentToRightDisplayEdge() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->get_AdjacentToRightDisplayEdge(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView<D>::IsFullScreen() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView<D>::IsFullScreen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->get_IsFullScreen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView<D>::IsOnLockScreen() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView<D>::IsOnLockScreen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->get_IsOnLockScreen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView<D>::IsScreenCaptureEnabled() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView<D>::IsScreenCaptureEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->get_IsScreenCaptureEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView<D>::IsScreenCaptureEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView<D>::IsScreenCaptureEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->put_IsScreenCaptureEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_ViewManagement_IApplicationView<D>::Title() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_ViewManagement_IApplicationView<D>::Id() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView<D>::Id() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IApplicationView<D>::Consolidated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::ApplicationView, winrt::Windows::UI::ViewManagement::ApplicationViewConsolidatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView<D>::Consolidated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::ApplicationView, winrt::Windows::UI::ViewManagement::ApplicationViewConsolidatedEventArgs> 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 D> typename consume_Windows_UI_ViewManagement_IApplicationView<D>::Consolidated_revoker consume_Windows_UI_ViewManagement_IApplicationView<D>::Consolidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::ApplicationView, winrt::Windows::UI::ViewManagement::ApplicationViewConsolidatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView<D>::Consolidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::ApplicationView, winrt::Windows::UI::ViewManagement::ApplicationViewConsolidatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Consolidated_revoker>(this, Consolidated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView<D>::Consolidated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView<D>::Consolidated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView)->remove_Consolidated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView2<D>::SuppressSystemOverlays() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView2<D>::SuppressSystemOverlays() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView2)->get_SuppressSystemOverlays(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView2<D>::SuppressSystemOverlays(bool value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView2<D>::SuppressSystemOverlays(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView2)->put_SuppressSystemOverlays(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_ViewManagement_IApplicationView2<D>::VisibleBounds() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IApplicationView2<D>::VisibleBoundsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::ApplicationView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView2<D>::VisibleBoundsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::ApplicationView, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_ViewManagement_IApplicationView2<D>::VisibleBoundsChanged_revoker consume_Windows_UI_ViewManagement_IApplicationView2<D>::VisibleBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::ApplicationView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView2<D>::VisibleBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::ApplicationView, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, VisibleBoundsChanged_revoker>(this, VisibleBoundsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView2<D>::VisibleBoundsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView2<D>::VisibleBoundsChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView2)->remove_VisibleBoundsChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView2<D>::SetDesiredBoundsMode(winrt::Windows::UI::ViewManagement::ApplicationViewBoundsMode const& boundsMode) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView2<D>::SetDesiredBoundsMode(winrt::Windows::UI::ViewManagement::ApplicationViewBoundsMode const& boundsMode) const
{
bool success{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView2)->SetDesiredBoundsMode(static_cast<int32_t>(boundsMode), &success));
return success;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewBoundsMode) consume_Windows_UI_ViewManagement_IApplicationView2<D>::DesiredBoundsMode() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView2<D>::DesiredBoundsMode() const
{
winrt::Windows::UI::ViewManagement::ApplicationViewBoundsMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView2)->get_DesiredBoundsMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewTitleBar) consume_Windows_UI_ViewManagement_IApplicationView3<D>::TitleBar() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::FullScreenSystemOverlayMode) consume_Windows_UI_ViewManagement_IApplicationView3<D>::FullScreenSystemOverlayMode() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView3<D>::FullScreenSystemOverlayMode() const
{
winrt::Windows::UI::ViewManagement::FullScreenSystemOverlayMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView3)->get_FullScreenSystemOverlayMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView3<D>::FullScreenSystemOverlayMode(winrt::Windows::UI::ViewManagement::FullScreenSystemOverlayMode const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView3<D>::FullScreenSystemOverlayMode(winrt::Windows::UI::ViewManagement::FullScreenSystemOverlayMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView3)->put_FullScreenSystemOverlayMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView3<D>::IsFullScreenMode() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView3<D>::IsFullScreenMode() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView3)->get_IsFullScreenMode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView3<D>::TryEnterFullScreenMode() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView3<D>::TryEnterFullScreenMode() const
{
bool success{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView3)->TryEnterFullScreenMode(&success));
return success;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView3<D>::ExitFullScreenMode() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView3<D>::ExitFullScreenMode() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView3)->ExitFullScreenMode());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView3<D>::ShowStandardSystemOverlays() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView3<D>::ShowStandardSystemOverlays() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView3)->ShowStandardSystemOverlays());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView3<D>::TryResizeView(winrt::Windows::Foundation::Size const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView3<D>::SetPreferredMinSize(winrt::Windows::Foundation::Size const& minSize) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView3<D>::SetPreferredMinSize(winrt::Windows::Foundation::Size const& minSize) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView3)->SetPreferredMinSize(impl::bind_in(minSize)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewMode) consume_Windows_UI_ViewManagement_IApplicationView4<D>::ViewMode() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView4<D>::ViewMode() const
{
winrt::Windows::UI::ViewManagement::ApplicationViewMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView4)->get_ViewMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationView4<D>::IsViewModeSupported(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView4<D>::IsViewModeSupported(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const
{
bool isViewModeSupported{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView4)->IsViewModeSupported(static_cast<int32_t>(viewMode), &isViewModeSupported));
return isViewModeSupported;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_ViewManagement_IApplicationView4<D>::TryEnterViewModeAsync(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView4<D>::TryEnterViewModeAsync(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView4)->TryEnterViewModeAsync(static_cast<int32_t>(viewMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_ViewManagement_IApplicationView4<D>::TryEnterViewModeAsync(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode, winrt::Windows::UI::ViewManagement::ViewModePreferences const& viewModePreferences) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView4<D>::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<int32_t>(viewMode), *(void**)(&viewModePreferences), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_ViewManagement_IApplicationView4<D>::TryConsolidateAsync() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView4<D>::TryConsolidateAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView4)->TryConsolidateAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_ViewManagement_IApplicationView7<D>::PersistedStateId() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView7<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationView7<D>::PersistedStateId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView7<D>::PersistedStateId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView7)->put_PersistedStateId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironment) consume_Windows_UI_ViewManagement_IApplicationView9<D>::WindowingEnvironment() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView9<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowManagement::DisplayRegion>) consume_Windows_UI_ViewManagement_IApplicationView9<D>::GetDisplayRegions() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationView9<D>::GetDisplayRegions() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationView9)->GetDisplayRegions(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowManagement::DisplayRegion>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationViewConsolidatedEventArgs<D>::IsUserInitiated() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewConsolidatedEventArgs<D>::IsUserInitiated() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewConsolidatedEventArgs)->get_IsUserInitiated(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationViewConsolidatedEventArgs2<D>::IsAppInitiated() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewConsolidatedEventArgs2<D>::IsAppInitiated() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewConsolidatedEventArgs2)->get_IsAppInitiated(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationViewFullscreenStatics<D>::TryUnsnapToFullscreen() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewFullscreenStatics<D>::TryUnsnapToFullscreen() const
{
bool success{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewFullscreenStatics)->TryUnsnapToFullscreen(&success));
return success;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_ViewManagement_IApplicationViewInteropStatics<D>::GetApplicationViewIdForWindow(winrt::Windows::UI::Core::ICoreWindow const& window) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewInteropStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationViewScalingStatics<D>::DisableLayoutScaling() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewScalingStatics<D>::DisableLayoutScaling() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewScalingStatics)->get_DisableLayoutScaling(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationViewScalingStatics<D>::TrySetDisableLayoutScaling(bool disableLayoutScaling) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewScalingStatics<D>::TrySetDisableLayoutScaling(bool disableLayoutScaling) const
{
bool success{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewScalingStatics)->TrySetDisableLayoutScaling(disableLayoutScaling, &success));
return success;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewState) consume_Windows_UI_ViewManagement_IApplicationViewStatics<D>::Value() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewStatics<D>::Value() const
{
winrt::Windows::UI::ViewManagement::ApplicationViewState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics)->get_Value(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationViewStatics<D>::TryUnsnap() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewStatics<D>::TryUnsnap() const
{
bool success{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics)->TryUnsnap(&success));
return success;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationView) consume_Windows_UI_ViewManagement_IApplicationViewStatics2<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewStatics2<D>::GetForCurrentView() const
{
void* current{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics2)->GetForCurrentView(&current));
return winrt::Windows::UI::ViewManagement::ApplicationView{ current, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IApplicationViewStatics2<D>::TerminateAppOnFinalViewClose() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewStatics2<D>::TerminateAppOnFinalViewClose() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics2)->get_TerminateAppOnFinalViewClose(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewStatics2<D>::TerminateAppOnFinalViewClose(bool value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewStatics2<D>::TerminateAppOnFinalViewClose(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics2)->put_TerminateAppOnFinalViewClose(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ApplicationViewWindowingMode) consume_Windows_UI_ViewManagement_IApplicationViewStatics3<D>::PreferredLaunchWindowingMode() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewStatics3<D>::PreferredLaunchWindowingMode() const
{
winrt::Windows::UI::ViewManagement::ApplicationViewWindowingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics3)->get_PreferredLaunchWindowingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewStatics3<D>::PreferredLaunchWindowingMode(winrt::Windows::UI::ViewManagement::ApplicationViewWindowingMode const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewStatics3<D>::PreferredLaunchWindowingMode(winrt::Windows::UI::ViewManagement::ApplicationViewWindowingMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics3)->put_PreferredLaunchWindowingMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_ViewManagement_IApplicationViewStatics3<D>::PreferredLaunchViewSize() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewStatics3<D>::PreferredLaunchViewSize(winrt::Windows::Foundation::Size const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewStatics4<D>::ClearAllPersistedState() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewStatics4<D>::ClearAllPersistedState() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics4)->ClearAllPersistedState());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewStatics4<D>::ClearPersistedState(param::hstring const& key) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewStatics4<D>::ClearPersistedState(param::hstring const& key) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewStatics4)->ClearPersistedState(*(void**)(&key)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics<D>::DisableShowingMainViewOnActivation() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics<D>::DisableShowingMainViewOnActivation() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewSwitcherStatics)->DisableShowingMainViewOnActivation());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics<D>::TryShowAsStandaloneAsync(int32_t viewId) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics<D>::TryShowAsStandaloneAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& sizePreference) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics<D>::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<int32_t>(sizePreference), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics<D>::TryShowAsStandaloneAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& sizePreference, int32_t anchorViewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& anchorSizePreference) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics<D>::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<int32_t>(sizePreference), anchorViewId, static_cast<int32_t>(anchorSizePreference), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics<D>::SwitchAsync(int32_t viewId) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics<D>::SwitchAsync(int32_t toViewId, int32_t fromViewId) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics<D>::SwitchAsync(int32_t toViewId, int32_t fromViewId, winrt::Windows::UI::ViewManagement::ApplicationViewSwitchingOptions const& options) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics<D>::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<uint32_t>(options), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics<D>::PrepareForCustomAnimatedSwitchAsync(int32_t toViewId, int32_t fromViewId, winrt::Windows::UI::ViewManagement::ApplicationViewSwitchingOptions const& options) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics<D>::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<uint32_t>(options), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics2<D>::DisableSystemViewActivationPolicy() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics2<D>::DisableSystemViewActivationPolicy() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewSwitcherStatics2)->DisableSystemViewActivationPolicy());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics3<D>::TryShowAsViewModeAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics3<D>::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<int32_t>(viewMode), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics3<D>::TryShowAsViewModeAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode, winrt::Windows::UI::ViewManagement::ViewModePreferences const& viewModePreferences) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics3<D>::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<int32_t>(viewMode), *(void**)(&viewModePreferences), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ForegroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ForegroundColor() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ForegroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ForegroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::BackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::BackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_BackgroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::BackgroundColor() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::BackgroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_BackgroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ButtonForegroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonForegroundColor() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonForegroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ButtonForegroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ButtonBackgroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonBackgroundColor() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonBackgroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ButtonBackgroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonHoverForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonHoverForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ButtonHoverForegroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonHoverForegroundColor() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonHoverForegroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ButtonHoverForegroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonHoverBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonHoverBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ButtonHoverBackgroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonHoverBackgroundColor() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonHoverBackgroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ButtonHoverBackgroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonPressedForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonPressedForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ButtonPressedForegroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonPressedForegroundColor() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonPressedForegroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ButtonPressedForegroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonPressedBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonPressedBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ButtonPressedBackgroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonPressedBackgroundColor() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonPressedBackgroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ButtonPressedBackgroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::InactiveForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::InactiveForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_InactiveForegroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::InactiveForegroundColor() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::InactiveForegroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_InactiveForegroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::InactiveBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::InactiveBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_InactiveBackgroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::InactiveBackgroundColor() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::InactiveBackgroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_InactiveBackgroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonInactiveForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonInactiveForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ButtonInactiveForegroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonInactiveForegroundColor() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonInactiveForegroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ButtonInactiveForegroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonInactiveBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonInactiveBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->put_ButtonInactiveBackgroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonInactiveBackgroundColor() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTitleBar<D>::ButtonInactiveBackgroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar)->get_ButtonInactiveBackgroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_ViewManagement_IApplicationViewTransferContext<D>::ViewId() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTransferContext<D>::ViewId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTransferContext)->get_ViewId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IApplicationViewTransferContext<D>::ViewId(int32_t value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTransferContext<D>::ViewId(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IApplicationViewTransferContext)->put_ViewId(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_ViewManagement_IApplicationViewTransferContextStatics<D>::DataPackageFormatId() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewTransferContextStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) consume_Windows_UI_ViewManagement_IApplicationViewWithContext<D>::UIContext() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IApplicationViewWithContext<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IInputPane<D>::Showing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::InputPane, winrt::Windows::UI::ViewManagement::InputPaneVisibilityEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IInputPane<D>::Showing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::InputPane, winrt::Windows::UI::ViewManagement::InputPaneVisibilityEventArgs> 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 D> typename consume_Windows_UI_ViewManagement_IInputPane<D>::Showing_revoker consume_Windows_UI_ViewManagement_IInputPane<D>::Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::InputPane, winrt::Windows::UI::ViewManagement::InputPaneVisibilityEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IInputPane<D>::Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::InputPane, winrt::Windows::UI::ViewManagement::InputPaneVisibilityEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Showing_revoker>(this, Showing(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IInputPane<D>::Showing(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_IInputPane<D>::Showing(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPane)->remove_Showing(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IInputPane<D>::Hiding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::InputPane, winrt::Windows::UI::ViewManagement::InputPaneVisibilityEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IInputPane<D>::Hiding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::InputPane, winrt::Windows::UI::ViewManagement::InputPaneVisibilityEventArgs> 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 D> typename consume_Windows_UI_ViewManagement_IInputPane<D>::Hiding_revoker consume_Windows_UI_ViewManagement_IInputPane<D>::Hiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::InputPane, winrt::Windows::UI::ViewManagement::InputPaneVisibilityEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IInputPane<D>::Hiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::InputPane, winrt::Windows::UI::ViewManagement::InputPaneVisibilityEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Hiding_revoker>(this, Hiding(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IInputPane<D>::Hiding(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_IInputPane<D>::Hiding(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPane)->remove_Hiding(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_ViewManagement_IInputPane<D>::OccludedRect() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IInputPane<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IInputPane2<D>::TryShow() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IInputPane2<D>::TryShow() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPane2)->TryShow(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IInputPane2<D>::TryHide() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IInputPane2<D>::TryHide() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPane2)->TryHide(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IInputPaneControl<D>::Visible() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IInputPaneControl<D>::Visible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPaneControl)->get_Visible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IInputPaneControl<D>::Visible(bool value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IInputPaneControl<D>::Visible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPaneControl)->put_Visible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::InputPane) consume_Windows_UI_ViewManagement_IInputPaneStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IInputPaneStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::InputPane) consume_Windows_UI_ViewManagement_IInputPaneStatics2<D>::GetForUIContext(winrt::Windows::UI::UIContext const& context) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IInputPaneStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_ViewManagement_IInputPaneVisibilityEventArgs<D>::OccludedRect() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IInputPaneVisibilityEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IInputPaneVisibilityEventArgs<D>::EnsuredFocusedElementInView(bool value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IInputPaneVisibilityEventArgs<D>::EnsuredFocusedElementInView(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPaneVisibilityEventArgs)->put_EnsuredFocusedElementInView(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IInputPaneVisibilityEventArgs<D>::EnsuredFocusedElementInView() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IInputPaneVisibilityEventArgs<D>::EnsuredFocusedElementInView() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IInputPaneVisibilityEventArgs)->get_EnsuredFocusedElementInView(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IProjectionManagerStatics<D>::StartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IProjectionManagerStatics<D>::SwapDisplaysForViewsAsync(int32_t projectionViewId, int32_t anchorViewId) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IProjectionManagerStatics<D>::StopProjectingAsync(int32_t projectionViewId, int32_t anchorViewId) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IProjectionManagerStatics<D>::ProjectionDisplayAvailable() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics<D>::ProjectionDisplayAvailable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IProjectionManagerStatics)->get_ProjectionDisplayAvailable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IProjectionManagerStatics<D>::ProjectionDisplayAvailableChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics<D>::ProjectionDisplayAvailableChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_ViewManagement_IProjectionManagerStatics<D>::ProjectionDisplayAvailableChanged_revoker consume_Windows_UI_ViewManagement_IProjectionManagerStatics<D>::ProjectionDisplayAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics<D>::ProjectionDisplayAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ProjectionDisplayAvailableChanged_revoker>(this, ProjectionDisplayAvailableChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IProjectionManagerStatics<D>::ProjectionDisplayAvailableChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics<D>::ProjectionDisplayAvailableChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IProjectionManagerStatics)->remove_ProjectionDisplayAvailableChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IProjectionManagerStatics2<D>::StartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Devices::Enumeration::DeviceInformation const& displayDeviceInfo) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_ViewManagement_IProjectionManagerStatics2<D>::RequestStartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Foundation::Rect const& selection) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_ViewManagement_IProjectionManagerStatics2<D>::RequestStartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& prefferedPlacement) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics2<D>::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<int32_t>(prefferedPlacement), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_ViewManagement_IProjectionManagerStatics2<D>::GetDeviceSelector() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IProjectionManagerStatics2<D>::GetDeviceSelector() const
{
void* selector{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IProjectionManagerStatics2)->GetDeviceSelector(&selector));
return hstring{ selector, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IStatusBar<D>::ShowAsync() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IStatusBar<D>::HideAsync() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBar<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_ViewManagement_IStatusBar<D>::BackgroundOpacity() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBar<D>::BackgroundOpacity() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->get_BackgroundOpacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IStatusBar<D>::BackgroundOpacity(double value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBar<D>::BackgroundOpacity(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->put_BackgroundOpacity(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_ViewManagement_IStatusBar<D>::ForegroundColor() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBar<D>::ForegroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->get_ForegroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IStatusBar<D>::ForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBar<D>::ForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->put_ForegroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_ViewManagement_IStatusBar<D>::BackgroundColor() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBar<D>::BackgroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->get_BackgroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IStatusBar<D>::BackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBar<D>::BackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->put_BackgroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::StatusBarProgressIndicator) consume_Windows_UI_ViewManagement_IStatusBar<D>::ProgressIndicator() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_ViewManagement_IStatusBar<D>::OccludedRect() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IStatusBar<D>::Showing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::StatusBar, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBar<D>::Showing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::StatusBar, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_ViewManagement_IStatusBar<D>::Showing_revoker consume_Windows_UI_ViewManagement_IStatusBar<D>::Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::StatusBar, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBar<D>::Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::StatusBar, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
{
return impl::make_event_revoker<D, Showing_revoker>(this, Showing(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IStatusBar<D>::Showing(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBar<D>::Showing(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->remove_Showing(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IStatusBar<D>::Hiding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::StatusBar, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBar<D>::Hiding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::StatusBar, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_ViewManagement_IStatusBar<D>::Hiding_revoker consume_Windows_UI_ViewManagement_IStatusBar<D>::Hiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::StatusBar, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBar<D>::Hiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::StatusBar, winrt::Windows::Foundation::IInspectable> const& eventHandler) const
{
return impl::make_event_revoker<D, Hiding_revoker>(this, Hiding(eventHandler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IStatusBar<D>::Hiding(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBar<D>::Hiding(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBar)->remove_Hiding(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator<D>::ShowAsync() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator<D>::HideAsync() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator<D>::Text() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBarProgressIndicator)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator<D>::ProgressValue() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator<D>::ProgressValue() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBarProgressIndicator)->get_ProgressValue(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator<D>::ProgressValue(winrt::Windows::Foundation::IReference<double> const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBarProgressIndicator<D>::ProgressValue(winrt::Windows::Foundation::IReference<double> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IStatusBarProgressIndicator)->put_ProgressValue(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::StatusBar) consume_Windows_UI_ViewManagement_IStatusBarStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IStatusBarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::HandPreference) consume_Windows_UI_ViewManagement_IUISettings<D>::HandPreference() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings<D>::HandPreference() const
{
winrt::Windows::UI::ViewManagement::HandPreference value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_HandPreference(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_ViewManagement_IUISettings<D>::CursorSize() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_ViewManagement_IUISettings<D>::ScrollBarSize() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_ViewManagement_IUISettings<D>::ScrollBarArrowSize() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_ViewManagement_IUISettings<D>::ScrollBarThumbBoxSize() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_ViewManagement_IUISettings<D>::MessageDuration() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings<D>::MessageDuration() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_MessageDuration(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IUISettings<D>::AnimationsEnabled() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings<D>::AnimationsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_AnimationsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IUISettings<D>::CaretBrowsingEnabled() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings<D>::CaretBrowsingEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_CaretBrowsingEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_ViewManagement_IUISettings<D>::CaretBlinkRate() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings<D>::CaretBlinkRate() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_CaretBlinkRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_ViewManagement_IUISettings<D>::CaretWidth() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings<D>::CaretWidth() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_CaretWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_ViewManagement_IUISettings<D>::DoubleClickTime() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings<D>::DoubleClickTime() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_DoubleClickTime(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_ViewManagement_IUISettings<D>::MouseHoverTime() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings<D>::MouseHoverTime() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings)->get_MouseHoverTime(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_ViewManagement_IUISettings<D>::UIElementColor(winrt::Windows::UI::ViewManagement::UIElementType const& desiredElement) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings<D>::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<int32_t>(desiredElement), put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_ViewManagement_IUISettings2<D>::TextScaleFactor() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings2<D>::TextScaleFactor() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings2)->get_TextScaleFactor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IUISettings2<D>::TextScaleFactorChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings2<D>::TextScaleFactorChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_ViewManagement_IUISettings2<D>::TextScaleFactorChanged_revoker consume_Windows_UI_ViewManagement_IUISettings2<D>::TextScaleFactorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings2<D>::TextScaleFactorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, TextScaleFactorChanged_revoker>(this, TextScaleFactorChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IUISettings2<D>::TextScaleFactorChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings2<D>::TextScaleFactorChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings2)->remove_TextScaleFactorChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_ViewManagement_IUISettings3<D>::GetColorValue(winrt::Windows::UI::ViewManagement::UIColorType const& desiredColor) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings3<D>::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<int32_t>(desiredColor), put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IUISettings3<D>::ColorValuesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings3<D>::ColorValuesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_ViewManagement_IUISettings3<D>::ColorValuesChanged_revoker consume_Windows_UI_ViewManagement_IUISettings3<D>::ColorValuesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings3<D>::ColorValuesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ColorValuesChanged_revoker>(this, ColorValuesChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IUISettings3<D>::ColorValuesChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings3<D>::ColorValuesChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings3)->remove_ColorValuesChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IUISettings4<D>::AdvancedEffectsEnabled() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings4<D>::AdvancedEffectsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings4)->get_AdvancedEffectsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IUISettings4<D>::AdvancedEffectsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings4<D>::AdvancedEffectsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_ViewManagement_IUISettings4<D>::AdvancedEffectsEnabledChanged_revoker consume_Windows_UI_ViewManagement_IUISettings4<D>::AdvancedEffectsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings4<D>::AdvancedEffectsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, AdvancedEffectsEnabledChanged_revoker>(this, AdvancedEffectsEnabledChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IUISettings4<D>::AdvancedEffectsEnabledChanged(winrt::event_token const& cookie) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings4<D>::AdvancedEffectsEnabledChanged(winrt::event_token const& cookie) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings4)->remove_AdvancedEffectsEnabledChanged(impl::bind_in(cookie));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_ViewManagement_IUISettings5<D>::AutoHideScrollBars() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings5<D>::AutoHideScrollBars() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings5)->get_AutoHideScrollBars(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IUISettings5<D>::AutoHideScrollBarsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsAutoHideScrollBarsChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings5<D>::AutoHideScrollBarsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsAutoHideScrollBarsChangedEventArgs> 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 D> typename consume_Windows_UI_ViewManagement_IUISettings5<D>::AutoHideScrollBarsChanged_revoker consume_Windows_UI_ViewManagement_IUISettings5<D>::AutoHideScrollBarsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsAutoHideScrollBarsChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings5<D>::AutoHideScrollBarsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsAutoHideScrollBarsChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AutoHideScrollBarsChanged_revoker>(this, AutoHideScrollBarsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IUISettings5<D>::AutoHideScrollBarsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings5<D>::AutoHideScrollBarsChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings5)->remove_AutoHideScrollBarsChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IUISettings6<D>::AnimationsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsAnimationsEnabledChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings6<D>::AnimationsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsAnimationsEnabledChangedEventArgs> 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 D> typename consume_Windows_UI_ViewManagement_IUISettings6<D>::AnimationsEnabledChanged_revoker consume_Windows_UI_ViewManagement_IUISettings6<D>::AnimationsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsAnimationsEnabledChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings6<D>::AnimationsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsAnimationsEnabledChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AnimationsEnabledChanged_revoker>(this, AnimationsEnabledChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IUISettings6<D>::AnimationsEnabledChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings6<D>::AnimationsEnabledChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings6)->remove_AnimationsEnabledChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_ViewManagement_IUISettings6<D>::MessageDurationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsMessageDurationChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings6<D>::MessageDurationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsMessageDurationChangedEventArgs> 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 D> typename consume_Windows_UI_ViewManagement_IUISettings6<D>::MessageDurationChanged_revoker consume_Windows_UI_ViewManagement_IUISettings6<D>::MessageDurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsMessageDurationChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings6<D>::MessageDurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsMessageDurationChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MessageDurationChanged_revoker>(this, MessageDurationChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IUISettings6<D>::MessageDurationChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUISettings6<D>::MessageDurationChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUISettings6)->remove_MessageDurationChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::UserInteractionMode) consume_Windows_UI_ViewManagement_IUIViewSettings<D>::UserInteractionMode() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUIViewSettings<D>::UserInteractionMode() const
{
winrt::Windows::UI::ViewManagement::UserInteractionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUIViewSettings)->get_UserInteractionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::UIViewSettings) consume_Windows_UI_ViewManagement_IUIViewSettingsStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IUIViewSettingsStatics<D>::GetForCurrentView() const
{
void* current{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IUIViewSettingsStatics)->GetForCurrentView(&current));
return winrt::Windows::UI::ViewManagement::UIViewSettings{ current, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ViewSizePreference) consume_Windows_UI_ViewManagement_IViewModePreferences<D>::ViewSizePreference() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IViewModePreferences<D>::ViewSizePreference() const
{
winrt::Windows::UI::ViewManagement::ViewSizePreference value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IViewModePreferences)->get_ViewSizePreference(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IViewModePreferences<D>::ViewSizePreference(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IViewModePreferences<D>::ViewSizePreference(winrt::Windows::UI::ViewManagement::ViewSizePreference const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IViewModePreferences)->put_ViewSizePreference(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_ViewManagement_IViewModePreferences<D>::CustomSize() const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IViewModePreferences<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_ViewManagement_IViewModePreferences<D>::CustomSize(winrt::Windows::Foundation::Size const& value) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IViewModePreferences<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ViewModePreferences) consume_Windows_UI_ViewManagement_IViewModePreferencesStatics<D>::CreateDefault(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& mode) const
+ template <typename D> auto consume_Windows_UI_ViewManagement_IViewModePreferencesStatics<D>::CreateDefault(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& mode) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::ViewManagement::IViewModePreferencesStatics)->CreateDefault(static_cast<int32_t>(mode), &result));
@@ -2864,10 +2864,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::ViewManagement
{
return impl::call_factory<ProjectionManager, IProjectionManagerStatics>([&](IProjectionManagerStatics const& f) { return f.ProjectionDisplayAvailableChanged(handler); });
}
- inline ProjectionManager::ProjectionDisplayAvailableChanged_revoker ProjectionManager::ProjectionDisplayAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto ProjectionManager::ProjectionDisplayAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<ProjectionManager, winrt::Windows::UI::ViewManagement::IProjectionManagerStatics>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.WebUI.Core.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.WebUI.Core.h
index 680c15aecbc..d47b9c58ae9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.WebUI.Core.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::Visible() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::Visible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->get_Visible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::Visible(bool value) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::Visible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->put_Visible(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::Opacity() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::Opacity() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->get_Opacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::Opacity(double value) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::Opacity(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->put_Opacity(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::ForegroundColor() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::ForegroundColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::BackgroundColor() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::BackgroundColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::Core::WebUICommandBarClosedDisplayMode) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::ClosedDisplayMode() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::ClosedDisplayMode() const
{
winrt::Windows::UI::WebUI::Core::WebUICommandBarClosedDisplayMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->get_ClosedDisplayMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::ClosedDisplayMode(winrt::Windows::UI::WebUI::Core::WebUICommandBarClosedDisplayMode const& value) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::IsOpen() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::IsOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->get_IsOpen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::IsOpen(bool value) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::IsOpen(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->put_IsOpen(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::Size() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::WebUI::Core::IWebUICommandBarElement>) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::PrimaryCommands() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::PrimaryCommands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->get_PrimaryCommands(&value));
return winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::WebUI::Core::IWebUICommandBarElement>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::WebUI::Core::IWebUICommandBarElement>) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::SecondaryCommands() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::SecondaryCommands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->get_SecondaryCommands(&value));
return winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::WebUI::Core::IWebUICommandBarElement>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::MenuOpened(winrt::Windows::UI::WebUI::Core::MenuOpenedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::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 D> typename consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::MenuOpened_revoker consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::MenuOpened(auto_revoke_t, winrt::Windows::UI::WebUI::Core::MenuOpenedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::MenuOpened(auto_revoke_t, winrt::Windows::UI::WebUI::Core::MenuOpenedEventHandler const& handler) const
{
return impl::make_event_revoker<D, MenuOpened_revoker>(this, MenuOpened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::MenuOpened(winrt::event_token const& value) const noexcept
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::MenuOpened(winrt::event_token const& value) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->remove_MenuOpened(impl::bind_in(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::MenuClosed(winrt::Windows::UI::WebUI::Core::MenuClosedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::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 D> typename consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::MenuClosed_revoker consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::MenuClosed(auto_revoke_t, winrt::Windows::UI::WebUI::Core::MenuClosedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::MenuClosed(auto_revoke_t, winrt::Windows::UI::WebUI::Core::MenuClosedEventHandler const& handler) const
{
return impl::make_event_revoker<D, MenuClosed_revoker>(this, MenuClosed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::MenuClosed(winrt::event_token const& value) const noexcept
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::MenuClosed(winrt::event_token const& value) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->remove_MenuClosed(impl::bind_in(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::SizeChanged(winrt::Windows::UI::WebUI::Core::SizeChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::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 D> typename consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::SizeChanged_revoker consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::SizeChanged(auto_revoke_t, winrt::Windows::UI::WebUI::Core::SizeChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::SizeChanged(auto_revoke_t, winrt::Windows::UI::WebUI::Core::SizeChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, SizeChanged_revoker>(this, SizeChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::SizeChanged(winrt::event_token const& value) const noexcept
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBar<D>::SizeChanged(winrt::event_token const& value) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBar)->remove_SizeChanged(impl::bind_in(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_WebUI_Core_IWebUICommandBarBitmapIcon<D>::Uri() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarBitmapIcon<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarBitmapIcon<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarBitmapIcon<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarBitmapIcon)->put_Uri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::Core::WebUICommandBarBitmapIcon) consume_Windows_UI_WebUI_Core_IWebUICommandBarBitmapIconFactory<D>::Create(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarBitmapIconFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton<D>::Text() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarConfirmationButton)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton<D>::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::Core::WebUICommandBarConfirmationButton, winrt::Windows::UI::WebUI::Core::WebUICommandBarItemInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton<D>::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::Core::WebUICommandBarConfirmationButton, winrt::Windows::UI::WebUI::Core::WebUICommandBarItemInvokedEventArgs> 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 D> typename consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton<D>::ItemInvoked_revoker consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton<D>::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::Core::WebUICommandBarConfirmationButton, winrt::Windows::UI::WebUI::Core::WebUICommandBarItemInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton<D>::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::Core::WebUICommandBarConfirmationButton, winrt::Windows::UI::WebUI::Core::WebUICommandBarItemInvokedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ItemInvoked_revoker>(this, ItemInvoked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton<D>::ItemInvoked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarConfirmationButton<D>::ItemInvoked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarConfirmationButton)->remove_ItemInvoked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::Enabled() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::Enabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->get_Enabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::Enabled(bool value) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::Enabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->put_Enabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::Label() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::Label(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::Label(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->put_Label(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::IsToggleButton() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::IsToggleButton() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->get_IsToggleButton(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::IsToggleButton(bool value) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::IsToggleButton(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->put_IsToggleButton(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::IsChecked() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::IsChecked() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->get_IsChecked(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::IsChecked(bool value) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::IsChecked(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->put_IsChecked(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIcon) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::Icon() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::Icon(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIcon const& value) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::Core::WebUICommandBarIconButton, winrt::Windows::UI::WebUI::Core::WebUICommandBarItemInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::Core::WebUICommandBarIconButton, winrt::Windows::UI::WebUI::Core::WebUICommandBarItemInvokedEventArgs> 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 D> typename consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::ItemInvoked_revoker consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::Core::WebUICommandBarIconButton, winrt::Windows::UI::WebUI::Core::WebUICommandBarItemInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::Core::WebUICommandBarIconButton, winrt::Windows::UI::WebUI::Core::WebUICommandBarItemInvokedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ItemInvoked_revoker>(this, ItemInvoked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::ItemInvoked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarIconButton<D>::ItemInvoked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton)->remove_ItemInvoked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_Core_IWebUICommandBarItemInvokedEventArgs<D>::IsPrimaryCommand() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarItemInvokedEventArgs<D>::IsPrimaryCommand() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarItemInvokedEventArgs)->get_IsPrimaryCommand(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_WebUI_Core_IWebUICommandBarSizeChangedEventArgs<D>::Size() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarSizeChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::Core::WebUICommandBar) consume_Windows_UI_WebUI_Core_IWebUICommandBarStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_WebUI_Core_IWebUICommandBarSymbolIcon<D>::Symbol() const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarSymbolIcon<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_Core_IWebUICommandBarSymbolIcon<D>::Symbol(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarSymbolIcon<D>::Symbol(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::Core::IWebUICommandBarSymbolIcon)->put_Symbol(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::Core::WebUICommandBarSymbolIcon) consume_Windows_UI_WebUI_Core_IWebUICommandBarSymbolIconFactory<D>::Create(param::hstring const& symbol) const
+ template <typename D> auto consume_Windows_UI_WebUI_Core_IWebUICommandBarSymbolIconFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.WebUI.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.WebUI.h
index 9384a313bf1..384da65d401 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.WebUI.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IActivatedDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_UI_WebUI_IActivatedDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IActivatedDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::ActivatedOperation) consume_Windows_UI_WebUI_IActivatedEventArgsDeferral<D>::ActivatedOperation() const
+ template <typename D> auto consume_Windows_UI_WebUI_IActivatedEventArgsDeferral<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::ActivatedDeferral) consume_Windows_UI_WebUI_IActivatedOperation<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_WebUI_IActivatedOperation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::PrintContent) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::Content() const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::Content() const
{
winrt::Windows::UI::WebUI::PrintContent value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->get_Content(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::Content(winrt::Windows::UI::WebUI::PrintContent const& value) const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::Content(winrt::Windows::UI::WebUI::PrintContent const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->put_Content(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::LeftMargin() const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::LeftMargin() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->get_LeftMargin(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::LeftMargin(float value) const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::LeftMargin(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->put_LeftMargin(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::TopMargin() const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::TopMargin() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->get_TopMargin(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::TopMargin(float value) const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::TopMargin(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->put_TopMargin(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::RightMargin() const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::RightMargin() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->get_RightMargin(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::RightMargin(float value) const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::RightMargin(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->put_RightMargin(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::BottomMargin() const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::BottomMargin() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->get_BottomMargin(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::BottomMargin(float value) const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::BottomMargin(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->put_BottomMargin(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::EnableHeaderFooter() const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::EnableHeaderFooter() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->get_EnableHeaderFooter(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::EnableHeaderFooter(bool value) const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::EnableHeaderFooter(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->put_EnableHeaderFooter(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::ShrinkToFit() const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::ShrinkToFit() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->get_ShrinkToFit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::ShrinkToFit(bool value) const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::ShrinkToFit(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->put_ShrinkToFit(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::PercentScale() const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::PercentScale() const
{
float pScalePercent{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->get_PercentScale(&pScalePercent));
return pScalePercent;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::PercentScale(float scalePercent) const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::PercentScale(float scalePercent) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource)->put_PercentScale(scalePercent));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::PageRange() const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::TrySetPageRange(param::hstring const& strPageRange) const
+ template <typename D> auto consume_Windows_UI_WebUI_IHtmlPrintDocumentSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::WebUIView) consume_Windows_UI_WebUI_INewWebUIViewCreatedEventArgs<D>::WebUIView() const
+ template <typename D> auto consume_Windows_UI_WebUI_INewWebUIViewCreatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs) consume_Windows_UI_WebUI_INewWebUIViewCreatedEventArgs<D>::ActivatedEventArgs() const
+ template <typename D> auto consume_Windows_UI_WebUI_INewWebUIViewCreatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_INewWebUIViewCreatedEventArgs<D>::HasPendingNavigate() const
+ template <typename D> auto consume_Windows_UI_WebUI_INewWebUIViewCreatedEventArgs<D>::HasPendingNavigate() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::INewWebUIViewCreatedEventArgs)->get_HasPendingNavigate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_WebUI_INewWebUIViewCreatedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_WebUI_INewWebUIViewCreatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Activated(winrt::Windows::UI::WebUI::ActivatedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::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 D> typename consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Activated_revoker consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Activated(auto_revoke_t, winrt::Windows::UI::WebUI::ActivatedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Activated(auto_revoke_t, winrt::Windows::UI::WebUI::ActivatedEventHandler const& handler) const
{
return impl::make_event_revoker<D, Activated_revoker>(this, Activated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Activated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Activated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics)->remove_Activated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Suspending(winrt::Windows::UI::WebUI::SuspendingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::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 D> typename consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Suspending_revoker consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Suspending(auto_revoke_t, winrt::Windows::UI::WebUI::SuspendingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Suspending(auto_revoke_t, winrt::Windows::UI::WebUI::SuspendingEventHandler const& handler) const
{
return impl::make_event_revoker<D, Suspending_revoker>(this, Suspending(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Suspending(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Suspending(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics)->remove_Suspending(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Resuming(winrt::Windows::UI::WebUI::ResumingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::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 D> typename consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Resuming_revoker consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Resuming(auto_revoke_t, winrt::Windows::UI::WebUI::ResumingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Resuming(auto_revoke_t, winrt::Windows::UI::WebUI::ResumingEventHandler const& handler) const
{
return impl::make_event_revoker<D, Resuming_revoker>(this, Resuming(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Resuming(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Resuming(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics)->remove_Resuming(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Navigated(winrt::Windows::UI::WebUI::NavigatedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::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 D> typename consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Navigated_revoker consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Navigated(auto_revoke_t, winrt::Windows::UI::WebUI::NavigatedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Navigated(auto_revoke_t, winrt::Windows::UI::WebUI::NavigatedEventHandler const& handler) const
{
return impl::make_event_revoker<D, Navigated_revoker>(this, Navigated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Navigated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics<D>::Navigated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics)->remove_Navigated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIActivationStatics2<D>::LeavingBackground(winrt::Windows::UI::WebUI::LeavingBackgroundEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics2<D>::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 D> typename consume_Windows_UI_WebUI_IWebUIActivationStatics2<D>::LeavingBackground_revoker consume_Windows_UI_WebUI_IWebUIActivationStatics2<D>::LeavingBackground(auto_revoke_t, winrt::Windows::UI::WebUI::LeavingBackgroundEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics2<D>::LeavingBackground(auto_revoke_t, winrt::Windows::UI::WebUI::LeavingBackgroundEventHandler const& handler) const
{
return impl::make_event_revoker<D, LeavingBackground_revoker>(this, LeavingBackground(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics2<D>::LeavingBackground(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics2<D>::LeavingBackground(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics2)->remove_LeavingBackground(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIActivationStatics2<D>::EnteredBackground(winrt::Windows::UI::WebUI::EnteredBackgroundEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics2<D>::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 D> typename consume_Windows_UI_WebUI_IWebUIActivationStatics2<D>::EnteredBackground_revoker consume_Windows_UI_WebUI_IWebUIActivationStatics2<D>::EnteredBackground(auto_revoke_t, winrt::Windows::UI::WebUI::EnteredBackgroundEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics2<D>::EnteredBackground(auto_revoke_t, winrt::Windows::UI::WebUI::EnteredBackgroundEventHandler const& handler) const
{
return impl::make_event_revoker<D, EnteredBackground_revoker>(this, EnteredBackground(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics2<D>::EnteredBackground(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics2<D>::EnteredBackground(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics2)->remove_EnteredBackground(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics2<D>::EnablePrelaunch(bool value) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics2<D>::EnablePrelaunch(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics2)->EnablePrelaunch(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Core::AppRestartFailureReason>) consume_Windows_UI_WebUI_IWebUIActivationStatics3<D>::RequestRestartAsync(param::hstring const& launchArguments) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics3<D>::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<winrt::Windows::ApplicationModel::Core::AppRestartFailureReason>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Core::AppRestartFailureReason>) consume_Windows_UI_WebUI_IWebUIActivationStatics3<D>::RequestRestartForUserAsync(winrt::Windows::System::User const& user, param::hstring const& launchArguments) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics3<D>::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<winrt::Windows::ApplicationModel::Core::AppRestartFailureReason>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIActivationStatics4<D>::NewWebUIViewCreated(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::WebUI::NewWebUIViewCreatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics4<D>::NewWebUIViewCreated(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::WebUI::NewWebUIViewCreatedEventArgs> 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 D> typename consume_Windows_UI_WebUI_IWebUIActivationStatics4<D>::NewWebUIViewCreated_revoker consume_Windows_UI_WebUI_IWebUIActivationStatics4<D>::NewWebUIViewCreated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::WebUI::NewWebUIViewCreatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics4<D>::NewWebUIViewCreated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::WebUI::NewWebUIViewCreatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, NewWebUIViewCreated_revoker>(this, NewWebUIViewCreated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics4<D>::NewWebUIViewCreated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics4<D>::NewWebUIViewCreated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics4)->remove_NewWebUIViewCreated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIActivationStatics4<D>::BackgroundActivated(winrt::Windows::UI::WebUI::BackgroundActivatedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics4<D>::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 D> typename consume_Windows_UI_WebUI_IWebUIActivationStatics4<D>::BackgroundActivated_revoker consume_Windows_UI_WebUI_IWebUIActivationStatics4<D>::BackgroundActivated(auto_revoke_t, winrt::Windows::UI::WebUI::BackgroundActivatedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics4<D>::BackgroundActivated(auto_revoke_t, winrt::Windows::UI::WebUI::BackgroundActivatedEventHandler const& handler) const
{
return impl::make_event_revoker<D, BackgroundActivated_revoker>(this, BackgroundActivated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIActivationStatics4<D>::BackgroundActivated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIActivationStatics4<D>::BackgroundActivated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIActivationStatics4)->remove_BackgroundActivated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_IWebUIBackgroundTaskInstance<D>::Succeeded() const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIBackgroundTaskInstance<D>::Succeeded() const
{
bool succeeded{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIBackgroundTaskInstance)->get_Succeeded(&succeeded));
return succeeded;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIBackgroundTaskInstance<D>::Succeeded(bool succeeded) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIBackgroundTaskInstance<D>::Succeeded(bool succeeded) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIBackgroundTaskInstance)->put_Succeeded(succeeded));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::IWebUIBackgroundTaskInstance) consume_Windows_UI_WebUI_IWebUIBackgroundTaskInstanceStatics<D>::Current() const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIBackgroundTaskInstanceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUINavigatedDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUINavigatedDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUINavigatedDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::WebUINavigatedOperation) consume_Windows_UI_WebUI_IWebUINavigatedEventArgs<D>::NavigatedOperation() const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUINavigatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::WebUINavigatedDeferral) consume_Windows_UI_WebUI_IWebUINavigatedOperation<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUINavigatedOperation<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_WebUI_IWebUIView<D>::ApplicationViewId() const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIView<D>::ApplicationViewId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIView)->get_ApplicationViewId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIView<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::WebUIView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIView<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::WebUIView, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_WebUI_IWebUIView<D>::Closed_revoker consume_Windows_UI_WebUI_IWebUIView<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::WebUIView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIView<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::WebUIView, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIView<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIView<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIView)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WebUI_IWebUIView<D>::Activated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::WebUIView, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIView<D>::Activated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::WebUIView, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> 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 D> typename consume_Windows_UI_WebUI_IWebUIView<D>::Activated_revoker consume_Windows_UI_WebUI_IWebUIView<D>::Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::WebUIView, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIView<D>::Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::WebUIView, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Activated_revoker>(this, Activated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIView<D>::Activated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIView<D>::Activated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIView)->remove_Activated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WebUI_IWebUIView<D>::IgnoreApplicationContentUriRulesNavigationRestrictions() const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIView<D>::IgnoreApplicationContentUriRulesNavigationRestrictions() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIView)->get_IgnoreApplicationContentUriRulesNavigationRestrictions(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WebUI_IWebUIView<D>::IgnoreApplicationContentUriRulesNavigationRestrictions(bool value) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIView<D>::IgnoreApplicationContentUriRulesNavigationRestrictions(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIView)->put_IgnoreApplicationContentUriRulesNavigationRestrictions(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::WebUI::WebUIView>) consume_Windows_UI_WebUI_IWebUIViewStatics<D>::CreateAsync() const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIViewStatics<D>::CreateAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WebUI::IWebUIViewStatics)->CreateAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::WebUI::WebUIView>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::WebUI::WebUIView>) consume_Windows_UI_WebUI_IWebUIViewStatics<D>::CreateAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_UI_WebUI_IWebUIViewStatics<D>::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<WebUIApplication, IWebUIActivationStatics>([&](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<WebUIApplication, winrt::Windows::UI::WebUI::IWebUIActivationStatics>();
- 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<WebUIApplication, IWebUIActivationStatics>([&](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<WebUIApplication, winrt::Windows::UI::WebUI::IWebUIActivationStatics>();
- 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<WebUIApplication, IWebUIActivationStatics>([&](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<WebUIApplication, winrt::Windows::UI::WebUI::IWebUIActivationStatics>();
- 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<WebUIApplication, IWebUIActivationStatics>([&](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<WebUIApplication, winrt::Windows::UI::WebUI::IWebUIActivationStatics>();
- 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<WebUIApplication, IWebUIActivationStatics2>([&](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<WebUIApplication, winrt::Windows::UI::WebUI::IWebUIActivationStatics2>();
- 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<WebUIApplication, IWebUIActivationStatics2>([&](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<WebUIApplication, winrt::Windows::UI::WebUI::IWebUIActivationStatics2>();
- 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<WebUIApplication, IWebUIActivationStatics4>([&](IWebUIActivationStatics4 const& f) { return f.NewWebUIViewCreated(handler); });
}
- inline WebUIApplication::NewWebUIViewCreated_revoker WebUIApplication::NewWebUIViewCreated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::WebUI::NewWebUIViewCreatedEventArgs> const& handler)
+ inline auto WebUIApplication::NewWebUIViewCreated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::WebUI::NewWebUIViewCreatedEventArgs> const& handler)
{
auto f = get_activation_factory<WebUIApplication, winrt::Windows::UI::WebUI::IWebUIActivationStatics4>();
- 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<WebUIApplication, IWebUIActivationStatics4>([&](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<WebUIApplication, winrt::Windows::UI::WebUI::IWebUIActivationStatics4>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.WindowManagement.Preview.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.WindowManagement.Preview.h
index 479cefd381c..cb190c70227 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.WindowManagement.Preview.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_Preview_IWindowManagementPreviewStatics<D>::SetPreferredMinSize(winrt::Windows::UI::WindowManagement::AppWindow const& window, winrt::Windows::Foundation::Size const& preferredFrameMinSize) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_Preview_IWindowManagementPreviewStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.WindowManagement.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.WindowManagement.h
index 761fcc56316..cba8399fa17 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.WindowManagement.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::UIContentRoot) consume_Windows_UI_WindowManagement_IAppWindow<D>::Content() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) consume_Windows_UI_WindowManagement_IAppWindow<D>::DispatcherQueue() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowFrame) consume_Windows_UI_WindowManagement_IAppWindow<D>::Frame() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindow<D>::IsVisible() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::IsVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->get_IsVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_WindowManagement_IAppWindow<D>::PersistedStateId() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow<D>::PersistedStateId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::PersistedStateId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->put_PersistedStateId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowPresenter) consume_Windows_UI_WindowManagement_IAppWindow<D>::Presenter() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_WindowManagement_IAppWindow<D>::Title() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowTitleBar) consume_Windows_UI_WindowManagement_IAppWindow<D>::TitleBar() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) consume_Windows_UI_WindowManagement_IAppWindow<D>::UIContext() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironment) consume_Windows_UI_WindowManagement_IAppWindow<D>::WindowingEnvironment() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_WindowManagement_IAppWindow<D>::CloseAsync() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowPlacement) consume_Windows_UI_WindowManagement_IAppWindow<D>::GetPlacement() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowManagement::DisplayRegion>) consume_Windows_UI_WindowManagement_IAppWindow<D>::GetDisplayRegions() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::GetDisplayRegions() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->GetDisplayRegions(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowManagement::DisplayRegion>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow<D>::RequestMoveToDisplayRegion(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::RequestMoveToDisplayRegion(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->RequestMoveToDisplayRegion(*(void**)(&displayRegion)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow<D>::RequestMoveAdjacentToCurrentView() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::RequestMoveAdjacentToCurrentView() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->RequestMoveAdjacentToCurrentView());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow<D>::RequestMoveAdjacentToWindow(winrt::Windows::UI::WindowManagement::AppWindow const& anchorWindow) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::RequestMoveAdjacentToWindow(winrt::Windows::UI::WindowManagement::AppWindow const& anchorWindow) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->RequestMoveAdjacentToWindow(*(void**)(&anchorWindow)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow<D>::RequestMoveRelativeToWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& anchorWindow, winrt::Windows::Foundation::Point const& contentOffset) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow<D>::RequestMoveRelativeToCurrentViewContent(winrt::Windows::Foundation::Point const& contentOffset) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::RequestMoveRelativeToCurrentViewContent(winrt::Windows::Foundation::Point const& contentOffset) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->RequestMoveRelativeToCurrentViewContent(impl::bind_in(contentOffset)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow<D>::RequestMoveRelativeToDisplayRegion(winrt::Windows::UI::WindowManagement::DisplayRegion const& displayRegion, winrt::Windows::Foundation::Point const& displayRegionOffset) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow<D>::RequestSize(winrt::Windows::Foundation::Size const& frameSize) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::RequestSize(winrt::Windows::Foundation::Size const& frameSize) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->RequestSize(impl::bind_in(frameSize)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_WindowManagement_IAppWindow<D>::TryShowAsync() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::TryShowAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->TryShowAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WindowManagement_IAppWindow<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowChangedEventArgs> 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 D> typename consume_Windows_UI_WindowManagement_IAppWindow<D>::Changed_revoker consume_Windows_UI_WindowManagement_IAppWindow<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Changed_revoker>(this, Changed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow<D>::Changed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::Changed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->remove_Changed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WindowManagement_IAppWindow<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowClosedEventArgs> 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 D> typename consume_Windows_UI_WindowManagement_IAppWindow<D>::Closed_revoker consume_Windows_UI_WindowManagement_IAppWindow<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowClosedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WindowManagement_IAppWindow<D>::CloseRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowCloseRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::CloseRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowCloseRequestedEventArgs> 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 D> typename consume_Windows_UI_WindowManagement_IAppWindow<D>::CloseRequested_revoker consume_Windows_UI_WindowManagement_IAppWindow<D>::CloseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowCloseRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::CloseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowCloseRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CloseRequested_revoker>(this, CloseRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindow<D>::CloseRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindow<D>::CloseRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindow)->remove_CloseRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs<D>::DidAvailableWindowPresentationsChange() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs<D>::DidAvailableWindowPresentationsChange() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs)->get_DidAvailableWindowPresentationsChange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs<D>::DidDisplayRegionsChange() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs<D>::DidDisplayRegionsChange() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs)->get_DidDisplayRegionsChange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs<D>::DidFrameChange() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs<D>::DidFrameChange() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs)->get_DidFrameChange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs<D>::DidSizeChange() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs<D>::DidSizeChange() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs)->get_DidSizeChange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs<D>::DidTitleBarChange() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs<D>::DidTitleBarChange() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs)->get_DidTitleBarChange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs<D>::DidVisibilityChange() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs<D>::DidVisibilityChange() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs)->get_DidVisibilityChange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs<D>::DidWindowingEnvironmentChange() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs<D>::DidWindowingEnvironmentChange() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs)->get_DidWindowingEnvironmentChange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs<D>::DidWindowPresentationChange() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowChangedEventArgs<D>::DidWindowPresentationChange() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs)->get_DidWindowPresentationChange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowCloseRequestedEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowCloseRequestedEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowCloseRequestedEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowCloseRequestedEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowCloseRequestedEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowCloseRequestedEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_WindowManagement_IAppWindowCloseRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowCloseRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowClosedReason) consume_Windows_UI_WindowManagement_IAppWindowClosedEventArgs<D>::Reason() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowClosedEventArgs<D>::Reason() const
{
winrt::Windows::UI::WindowManagement::AppWindowClosedReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowClosedEventArgs)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Composition::IVisualElement>) consume_Windows_UI_WindowManagement_IAppWindowFrame<D>::DragRegionVisuals() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowFrame<D>::DragRegionVisuals() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowFrame)->get_DragRegionVisuals(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Composition::IVisualElement>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowFrameStyle) consume_Windows_UI_WindowManagement_IAppWindowFrameStyle<D>::GetFrameStyle() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowFrameStyle<D>::GetFrameStyle() const
{
winrt::Windows::UI::WindowManagement::AppWindowFrameStyle result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowFrameStyle)->GetFrameStyle(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowFrameStyle<D>::SetFrameStyle(winrt::Windows::UI::WindowManagement::AppWindowFrameStyle const& frameStyle) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowFrameStyle<D>::SetFrameStyle(winrt::Windows::UI::WindowManagement::AppWindowFrameStyle const& frameStyle) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowFrameStyle)->SetFrameStyle(static_cast<int32_t>(frameStyle)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::DisplayRegion) consume_Windows_UI_WindowManagement_IAppWindowPlacement<D>::DisplayRegion() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowPlacement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_WindowManagement_IAppWindowPlacement<D>::Offset() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowPlacement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_WindowManagement_IAppWindowPlacement<D>::Size() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowPlacement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind) consume_Windows_UI_WindowManagement_IAppWindowPresentationConfiguration<D>::Kind() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowPresentationConfiguration<D>::Kind() const
{
winrt::Windows::UI::WindowManagement::AppWindowPresentationKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowPresentationConfiguration)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowPresentationConfiguration) consume_Windows_UI_WindowManagement_IAppWindowPresenter<D>::GetConfiguration() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowPresenter<D>::IsPresentationSupported(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind const& presentationKind) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowPresenter<D>::IsPresentationSupported(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind const& presentationKind) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowPresenter)->IsPresentationSupported(static_cast<int32_t>(presentationKind), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowPresenter<D>::RequestPresentation(winrt::Windows::UI::WindowManagement::AppWindowPresentationConfiguration const& configuration) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowPresenter<D>::RequestPresentation(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind const& presentationKind) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowPresenter<D>::RequestPresentation(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind const& presentationKind) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowPresenter)->RequestPresentationByKind(static_cast<int32_t>(presentationKind), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::WindowManagement::AppWindow>) consume_Windows_UI_WindowManagement_IAppWindowStatics<D>::TryCreateAsync() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowStatics<D>::TryCreateAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowStatics)->TryCreateAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::WindowManagement::AppWindow>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowStatics<D>::ClearAllPersistedState() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowStatics<D>::ClearAllPersistedState() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowStatics)->ClearAllPersistedState());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowStatics<D>::ClearPersistedState(param::hstring const& key) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowStatics<D>::ClearPersistedState(param::hstring const& key) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowStatics)->ClearPersistedState(*(void**)(&key)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::BackgroundColor() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::BackgroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_BackgroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::BackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::BackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_BackgroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonBackgroundColor() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonBackgroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ButtonBackgroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ButtonBackgroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonForegroundColor() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonForegroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ButtonForegroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ButtonForegroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonHoverBackgroundColor() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonHoverBackgroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ButtonHoverBackgroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonHoverBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonHoverBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ButtonHoverBackgroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonHoverForegroundColor() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonHoverForegroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ButtonHoverForegroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonHoverForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonHoverForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ButtonHoverForegroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonInactiveBackgroundColor() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonInactiveBackgroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ButtonInactiveBackgroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonInactiveBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonInactiveBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ButtonInactiveBackgroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonInactiveForegroundColor() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonInactiveForegroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ButtonInactiveForegroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonInactiveForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonInactiveForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ButtonInactiveForegroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonPressedBackgroundColor() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonPressedBackgroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ButtonPressedBackgroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonPressedBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonPressedBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ButtonPressedBackgroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonPressedForegroundColor() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonPressedForegroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ButtonPressedForegroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonPressedForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ButtonPressedForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ButtonPressedForegroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ExtendsContentIntoTitleBar() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ExtendsContentIntoTitleBar() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ExtendsContentIntoTitleBar(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ExtendsContentIntoTitleBar(bool value) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ExtendsContentIntoTitleBar(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ExtendsContentIntoTitleBar(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ForegroundColor() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ForegroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_ForegroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::ForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_ForegroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::InactiveBackgroundColor() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::InactiveBackgroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_InactiveBackgroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::InactiveBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::InactiveBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_InactiveBackgroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::InactiveForegroundColor() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::InactiveForegroundColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_InactiveForegroundColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::InactiveForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::InactiveForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->put_InactiveForegroundColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::IsVisible() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::IsVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->get_IsVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowManagement::AppWindowTitleBarOcclusion>) consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::GetTitleBarOcclusions() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBar<D>::GetTitleBarOcclusions() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBar)->GetTitleBarOcclusions(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowManagement::AppWindowTitleBarOcclusion>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_WindowManagement_IAppWindowTitleBarOcclusion<D>::OccludingRect() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBarOcclusion<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowTitleBarVisibility) consume_Windows_UI_WindowManagement_IAppWindowTitleBarVisibility<D>::GetPreferredVisibility() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBarVisibility<D>::GetPreferredVisibility() const
{
winrt::Windows::UI::WindowManagement::AppWindowTitleBarVisibility result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBarVisibility)->GetPreferredVisibility(reinterpret_cast<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IAppWindowTitleBarVisibility<D>::SetPreferredVisibility(winrt::Windows::UI::WindowManagement::AppWindowTitleBarVisibility const& visibilityMode) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IAppWindowTitleBarVisibility<D>::SetPreferredVisibility(winrt::Windows::UI::WindowManagement::AppWindowTitleBarVisibility const& visibilityMode) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IAppWindowTitleBarVisibility)->SetPreferredVisibility(static_cast<int32_t>(visibilityMode)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_WindowManagement_IDisplayRegion<D>::DisplayMonitorDeviceId() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IDisplayRegion<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IDisplayRegion<D>::IsVisible() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IDisplayRegion<D>::IsVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IDisplayRegion)->get_IsVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_WindowManagement_IDisplayRegion<D>::WorkAreaOffset() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IDisplayRegion<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_WindowManagement_IDisplayRegion<D>::WorkAreaSize() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IDisplayRegion<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironment) consume_Windows_UI_WindowManagement_IDisplayRegion<D>::WindowingEnvironment() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IDisplayRegion<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WindowManagement_IDisplayRegion<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::DisplayRegion, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IDisplayRegion<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::DisplayRegion, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_WindowManagement_IDisplayRegion<D>::Changed_revoker consume_Windows_UI_WindowManagement_IDisplayRegion<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::DisplayRegion, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IDisplayRegion<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::DisplayRegion, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Changed_revoker>(this, Changed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IDisplayRegion<D>::Changed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_WindowManagement_IDisplayRegion<D>::Changed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IDisplayRegion)->remove_Changed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IFullScreenPresentationConfiguration<D>::IsExclusive() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IFullScreenPresentationConfiguration<D>::IsExclusive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IFullScreenPresentationConfiguration)->get_IsExclusive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IFullScreenPresentationConfiguration<D>::IsExclusive(bool value) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IFullScreenPresentationConfiguration<D>::IsExclusive(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IFullScreenPresentationConfiguration)->put_IsExclusive(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowId>) consume_Windows_UI_WindowManagement_IWindowServicesStatics<D>::FindAllTopLevelWindowIds() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IWindowServicesStatics<D>::FindAllTopLevelWindowIds() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowServicesStatics)->FindAllTopLevelWindowIds(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowId>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_WindowManagement_IWindowingEnvironment<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IWindowingEnvironment<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowingEnvironment)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironmentKind) consume_Windows_UI_WindowManagement_IWindowingEnvironment<D>::Kind() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IWindowingEnvironment<D>::Kind() const
{
winrt::Windows::UI::WindowManagement::WindowingEnvironmentKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowingEnvironment)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowManagement::DisplayRegion>) consume_Windows_UI_WindowManagement_IWindowingEnvironment<D>::GetDisplayRegions() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IWindowingEnvironment<D>::GetDisplayRegions() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowingEnvironment)->GetDisplayRegions(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowManagement::DisplayRegion>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_WindowManagement_IWindowingEnvironment<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::WindowingEnvironment, winrt::Windows::UI::WindowManagement::WindowingEnvironmentChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IWindowingEnvironment<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::WindowingEnvironment, winrt::Windows::UI::WindowManagement::WindowingEnvironmentChangedEventArgs> 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 D> typename consume_Windows_UI_WindowManagement_IWindowingEnvironment<D>::Changed_revoker consume_Windows_UI_WindowManagement_IWindowingEnvironment<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::WindowingEnvironment, winrt::Windows::UI::WindowManagement::WindowingEnvironmentChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IWindowingEnvironment<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::WindowingEnvironment, winrt::Windows::UI::WindowManagement::WindowingEnvironmentChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Changed_revoker>(this, Changed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_WindowManagement_IWindowingEnvironment<D>::Changed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_WindowManagement_IWindowingEnvironment<D>::Changed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowingEnvironment)->remove_Changed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironment) consume_Windows_UI_WindowManagement_IWindowingEnvironmentAddedEventArgs<D>::WindowingEnvironment() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IWindowingEnvironmentAddedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironment) consume_Windows_UI_WindowManagement_IWindowingEnvironmentRemovedEventArgs<D>::WindowingEnvironment() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IWindowingEnvironmentRemovedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowManagement::WindowingEnvironment>) consume_Windows_UI_WindowManagement_IWindowingEnvironmentStatics<D>::FindAll() const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IWindowingEnvironmentStatics<D>::FindAll() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowingEnvironmentStatics)->FindAll(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowManagement::WindowingEnvironment>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowManagement::WindowingEnvironment>) consume_Windows_UI_WindowManagement_IWindowingEnvironmentStatics<D>::FindAll(winrt::Windows::UI::WindowManagement::WindowingEnvironmentKind const& kind) const
+ template <typename D> auto consume_Windows_UI_WindowManagement_IWindowingEnvironmentStatics<D>::FindAll(winrt::Windows::UI::WindowManagement::WindowingEnvironmentKind const& kind) const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::WindowManagement::IWindowingEnvironmentStatics)->FindAllWithKind(static_cast<int32_t>(kind), &result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Peers.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Peers.h
index 30e70e76973..64ad8851988 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Peers.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AppBarAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAppBarAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AppBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAppBarAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AppBarButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAppBarButtonAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AppBarButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAppBarButtonAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AppBarToggleButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAppBarToggleButtonAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AppBarToggleButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAppBarToggleButtonAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutoSuggestBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutoSuggestBoxAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox const& owner) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutoSuggestBoxAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::EventsSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::EventsSource(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetPattern(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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<int32_t>(patternInterface), &result));
return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::RaiseAutomationEvent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationEvents const& eventId) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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<int32_t>(eventId)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::RaisePropertyChangedEvent(winrt::Windows::UI::Xaml::Automation::AutomationProperty const& automationProperty, winrt::Windows::Foundation::IInspectable const& oldValue, winrt::Windows::Foundation::IInspectable const& newValue) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetAcceleratorKey() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetAccessKey() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetAutomationControlType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetAutomationId() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetBoundingRectangle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetChildren() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetChildren() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetChildren(&result));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetClassName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetClickablePoint() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetHelpText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetItemStatus() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetItemType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetLabeledBy() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetLocalizedControlType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationOrientation) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetOrientation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::HasKeyboardFocus() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::HasKeyboardFocus() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->HasKeyboardFocus(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::IsContentElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::IsContentElement() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsContentElement(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::IsControlElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::IsControlElement() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsControlElement(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::IsEnabled() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsEnabled(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::IsKeyboardFocusable() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::IsKeyboardFocusable() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsKeyboardFocusable(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::IsOffscreen() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::IsOffscreen() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsOffscreen(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::IsPassword() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::IsPassword() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsPassword(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::IsRequiredForForm() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::IsRequiredForForm() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsRequiredForForm(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::SetFocus() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::SetFocus() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->SetFocus());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetParent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::InvalidatePeer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::InvalidatePeer() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->InvalidatePeer());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetPeerFromPoint(winrt::Windows::Foundation::Point const& point) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::GetLiveSetting() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::Navigate(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::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<int32_t>(direction), &result));
return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::GetElementFromPoint(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::GetFocusedElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::ShowContextMenu() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::ShowContextMenu() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->ShowContextMenu());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::GetControlledPeers() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::GetControlledPeers() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetControlledPeers(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation>) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::GetAnnotations() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::GetAnnotations() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetAnnotations(&result));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::SetParent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::RaiseTextEditTextChangedEvent(winrt::Windows::UI::Xaml::Automation::AutomationTextEditChangeType const& automationTextEditChangeType, param::vector_view<hstring> const& changedData) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::RaiseTextEditTextChangedEvent(winrt::Windows::UI::Xaml::Automation::AutomationTextEditChangeType const& automationTextEditChangeType, param::vector_view<hstring> const& changedData) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->RaiseTextEditTextChangedEvent(static_cast<int32_t>(automationTextEditChangeType), *(void**)(&changedData)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::GetPositionInSet() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::GetPositionInSet() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetPositionInSet(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::GetSizeOfSet() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::GetSizeOfSet() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetSizeOfSet(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::GetLevel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::GetLevel() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetLevel(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::RaiseStructureChangedEvent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationStructureChangeType const& structureChangeType, winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& child) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3<D>::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<int32_t>(structureChangeType), *(void**)(&child)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer4<D>::GetLandmarkType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer4<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer4<D>::GetLocalizedLandmarkType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer4<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer5<D>::IsPeripheral() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer5<D>::IsPeripheral() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer5)->IsPeripheral(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer5<D>::IsDataValidForForm() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer5<D>::IsDataValidForForm() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer5)->IsDataValidForForm(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer5<D>::GetFullDescription() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer5<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer6<D>::GetCulture() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer6<D>::GetCulture() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer6)->GetCulture(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer7<D>::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 <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer7<D>::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<int32_t>(notificationKind), static_cast<int32_t>(notificationProcessing), *(void**)(&displayString), *(void**)(&activityId)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer8<D>::GetHeadingLevel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer8<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer9<D>::IsDialog() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer9<D>::IsDialog() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer9)->IsDialog(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AnnotationType) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation<D>::Type() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation<D>::Type(winrt::Windows::UI::Xaml::Automation::AnnotationType const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation<D>::Peer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation<D>::Peer(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationFactory<D>::CreateInstance(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationFactory<D>::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<int32_t>(type), &value));
return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationFactory<D>::CreateWithPeerParameter(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type, winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationFactory<D>::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<int32_t>(type), *(void**)(&peer), &value));
return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationStatics<D>::TypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationStatics<D>::PeerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetPatternCore(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::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<int32_t>(patternInterface), &result));
return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetAcceleratorKeyCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetAccessKeyCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetAutomationControlTypeCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetAutomationIdCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetBoundingRectangleCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetChildrenCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetChildrenCore() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetChildrenCore(&result));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetClassNameCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetClickablePointCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetHelpTextCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetItemStatusCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetItemTypeCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetLabeledByCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetLocalizedControlTypeCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetNameCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationOrientation) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetOrientationCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::HasKeyboardFocusCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::HasKeyboardFocusCore() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->HasKeyboardFocusCore(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::IsContentElementCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::IsContentElementCore() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsContentElementCore(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::IsControlElementCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::IsControlElementCore() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsControlElementCore(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::IsEnabledCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::IsEnabledCore() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsEnabledCore(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::IsKeyboardFocusableCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::IsKeyboardFocusableCore() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsKeyboardFocusableCore(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::IsOffscreenCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::IsOffscreenCore() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsOffscreenCore(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::IsPasswordCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::IsPasswordCore() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsPasswordCore(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::IsRequiredForFormCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::IsRequiredForFormCore() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsRequiredForFormCore(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::SetFocusCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::SetFocusCore() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->SetFocusCore());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetPeerFromPointCore(winrt::Windows::Foundation::Point const& point) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::GetLiveSettingCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides2<D>::ShowContextMenuCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides2<D>::ShowContextMenuCore() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2)->ShowContextMenuCore());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides2<D>::GetControlledPeersCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides2<D>::GetControlledPeersCore() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2)->GetControlledPeersCore(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3<D>::NavigateCore(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3<D>::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<int32_t>(direction), &result));
return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3<D>::GetElementFromPointCore(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3<D>::GetFocusedElementCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation>) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3<D>::GetAnnotationsCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3<D>::GetAnnotationsCore() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->GetAnnotationsCore(&result));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3<D>::GetPositionInSetCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3<D>::GetPositionInSetCore() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->GetPositionInSetCore(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3<D>::GetSizeOfSetCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3<D>::GetSizeOfSetCore() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->GetSizeOfSetCore(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3<D>::GetLevelCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3<D>::GetLevelCore() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->GetLevelCore(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides4<D>::GetLandmarkTypeCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides4<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides4<D>::GetLocalizedLandmarkTypeCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides4<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5<D>::IsPeripheralCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5<D>::IsPeripheralCore() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5)->IsPeripheralCore(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5<D>::IsDataValidForFormCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5<D>::IsDataValidForFormCore() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5)->IsDataValidForFormCore(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5<D>::GetFullDescriptionCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5<D>::GetDescribedByCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5<D>::GetDescribedByCore() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5)->GetDescribedByCore(&result));
return winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5<D>::GetFlowsToCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5<D>::GetFlowsToCore() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5)->GetFlowsToCore(&result));
return winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5<D>::GetFlowsFromCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5<D>::GetFlowsFromCore() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5)->GetFlowsFromCore(&result));
return winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides6<D>::GetCultureCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides6<D>::GetCultureCore() const
{
int32_t result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6)->GetCultureCore(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides8<D>::GetHeadingLevelCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides8<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides9<D>::IsDialogCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides9<D>::IsDialogCore() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9)->IsDialogCore(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerProtected<D>::PeerFromProvider(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& provider) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerProtected<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerProtected<D>::ProviderFromPeer(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerProtected<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerStatics<D>::ListenerExists(winrt::Windows::UI::Xaml::Automation::Peers::AutomationEvents const& eventId) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerStatics<D>::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<int32_t>(eventId), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RawElementProviderRuntimeId) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerStatics3<D>::GenerateRawElementProviderRuntimeId() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IButtonAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Button const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IButtonAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ButtonBaseAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IButtonBaseAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ButtonBase const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IButtonBaseAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::CalendarDatePickerAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ICalendarDatePickerAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::CalendarDatePicker const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_ICalendarDatePickerAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::CaptureElementAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ICaptureElementAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::CaptureElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_ICaptureElementAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::CheckBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ICheckBoxAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::CheckBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_ICheckBoxAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ColorPickerSliderAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IColorPickerSliderAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ColorPickerSlider const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IColorPickerSliderAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ColorSpectrumAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IColorSpectrumAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IColorSpectrumAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IComboBoxAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ComboBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IComboBoxAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IComboBoxItemAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ComboBoxItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IComboBoxItemAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IComboBoxItemDataAutomationPeerFactory<D>::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 <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IComboBoxItemDataAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::DatePickerAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IDatePickerAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::DatePicker const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IDatePickerAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FlipViewAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFlipViewAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::FlipView const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IFlipViewAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FlipViewItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFlipViewItemAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::FlipViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IFlipViewItemAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FlipViewItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFlipViewItemDataAutomationPeerFactory<D>::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 <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IFlipViewItemDataAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FlyoutPresenterAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFlyoutPresenterAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::FlyoutPresenter const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IFlyoutPresenterAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeer<D>::Owner() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FrameworkElementAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::FrameworkElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerStatics<D>::FromElement(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerStatics<D>::CreatePeerForElement(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GridViewAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IGridViewAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GridView const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IGridViewAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GridViewHeaderItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IGridViewHeaderItemAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GridViewHeaderItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IGridViewHeaderItemAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GridViewItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IGridViewItemAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GridViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IGridViewItemAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GridViewItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IGridViewItemDataAutomationPeerFactory<D>::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 <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IGridViewItemDataAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GroupItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IGroupItemAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::GroupItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IGroupItemAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::HubAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IHubAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Hub const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IHubAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::HubSectionAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IHubSectionAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::HubSection const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IHubSectionAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::HyperlinkButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IHyperlinkButtonAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::HyperlinkButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IHyperlinkButtonAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ImageAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IImageAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Image const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IImageAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IItemAutomationPeer<D>::Item() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IItemAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IItemAutomationPeer<D>::ItemsControlAutomationPeer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IItemAutomationPeer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IItemAutomationPeerFactory<D>::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 <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IItemAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeer2<D>::CreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeer2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ItemsControl const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeerOverrides2<D>::OnCreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeerOverrides2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListBoxAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IListBoxAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListBoxItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListBoxItemAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListBoxItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IListBoxItemAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListBoxItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListBoxItemDataAutomationPeerFactory<D>::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 <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IListBoxItemDataAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListView const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IListViewAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewBaseAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewBaseAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewBase const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IListViewBaseAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewBaseHeaderItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewBaseHeaderItemAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewBaseHeaderItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IListViewBaseHeaderItemAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewHeaderItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewHeaderItemAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewHeaderItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IListViewHeaderItemAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewItemAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ListViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IListViewItemAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewItemDataAutomationPeerFactory<D>::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 <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IListViewItemDataAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MediaElementAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMediaElementAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MediaElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IMediaElementAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MediaPlayerElementAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMediaPlayerElementAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MediaPlayerElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IMediaPlayerElementAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MediaTransportControlsAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMediaTransportControlsAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MediaTransportControls const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IMediaTransportControlsAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MenuBarAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMenuBarAutomationPeerFactory<D>::CreateInstance(winrt::Windows::UI::Xaml::Controls::MenuBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IMenuBarAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MenuBarItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMenuBarItemAutomationPeerFactory<D>::CreateInstance(winrt::Windows::UI::Xaml::Controls::MenuBarItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IMenuBarItemAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MenuFlyoutItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMenuFlyoutItemAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MenuFlyoutItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IMenuFlyoutItemAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MenuFlyoutPresenterAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMenuFlyoutPresenterAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MenuFlyoutPresenter const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IMenuFlyoutPresenterAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::NavigationViewItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_INavigationViewItemAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::NavigationViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_INavigationViewItemAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PasswordBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IPasswordBoxAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::PasswordBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IPasswordBoxAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PersonPictureAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IPersonPictureAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::PersonPicture const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IPersonPictureAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PivotAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IPivotAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Pivot const& owner) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IPivotAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PivotItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IPivotItemAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::PivotItem const& owner) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IPivotItemAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PivotItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IPivotItemDataAutomationPeerFactory<D>::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::PivotAutomationPeer const& parent) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IPivotItemDataAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ProgressBarAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IProgressBarAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ProgressBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IProgressBarAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ProgressRingAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IProgressRingAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ProgressRing const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IProgressRingAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RadioButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRadioButtonAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RadioButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IRadioButtonAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RangeBaseAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRangeBaseAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::RangeBase const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IRangeBaseAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RatingControlAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRatingControlAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RatingControl const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IRatingControlAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RepeatButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRepeatButtonAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::RepeatButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IRepeatButtonAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RichEditBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRichEditBoxAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RichEditBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IRichEditBoxAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RichTextBlockAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRichTextBlockAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RichTextBlock const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IRichTextBlockAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RichTextBlockOverflowAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRichTextBlockOverflowAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IRichTextBlockOverflowAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ScrollBarAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IScrollBarAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IScrollBarAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ScrollViewerAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IScrollViewerAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ScrollViewer const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IScrollViewerAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SearchBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISearchBoxAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::SearchBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_ISearchBoxAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SelectorAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISelectorAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::Selector const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_ISelectorAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SelectorItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISelectorItemAutomationPeerFactory<D>::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 <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_ISelectorItemAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SemanticZoomAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISemanticZoomAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::SemanticZoom const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_ISemanticZoomAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SettingsFlyoutAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISettingsFlyoutAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::SettingsFlyout const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_ISettingsFlyoutAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SliderAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISliderAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Slider const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_ISliderAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TextBlockAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ITextBlockAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TextBlock const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_ITextBlockAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TextBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ITextBoxAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TextBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_ITextBoxAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ThumbAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IThumbAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::Thumb const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IThumbAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TimePickerAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ITimePickerAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TimePicker const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_ITimePickerAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ToggleButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IToggleButtonAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Primitives::ToggleButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IToggleButtonAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ToggleMenuFlyoutItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IToggleMenuFlyoutItemAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ToggleMenuFlyoutItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IToggleMenuFlyoutItemAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ToggleSwitchAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IToggleSwitchAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::ToggleSwitch const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_IToggleSwitchAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TreeViewItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ITreeViewItemAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TreeViewItem const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_ITreeViewItemAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TreeViewListAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ITreeViewListAutomationPeerFactory<D>::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::TreeViewList const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Peers_ITreeViewListAutomationPeerFactory<D>::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<TreeViewListAutomationPeer, ITreeViewListAutomationPeerFactory>([&](ITreeViewListAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); });
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) IAutomationPeerOverridesT<D>::GetPatternCore(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetPatternCore(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const
{
return shim().template try_as<IAutomationPeerOverrides>().GetPatternCore(patternInterface);
}
- template <typename D> WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT<D>::GetAcceleratorKeyCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetAcceleratorKeyCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().GetAcceleratorKeyCore();
}
- template <typename D> WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT<D>::GetAccessKeyCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetAccessKeyCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().GetAccessKeyCore();
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType) IAutomationPeerOverridesT<D>::GetAutomationControlTypeCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetAutomationControlTypeCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().GetAutomationControlTypeCore();
}
- template <typename D> WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT<D>::GetAutomationIdCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetAutomationIdCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().GetAutomationIdCore();
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) IAutomationPeerOverridesT<D>::GetBoundingRectangleCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetBoundingRectangleCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().GetBoundingRectangleCore();
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) IAutomationPeerOverridesT<D>::GetChildrenCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetChildrenCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().GetChildrenCore();
}
- template <typename D> WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT<D>::GetClassNameCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetClassNameCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().GetClassNameCore();
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) IAutomationPeerOverridesT<D>::GetClickablePointCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetClickablePointCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().GetClickablePointCore();
}
- template <typename D> WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT<D>::GetHelpTextCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetHelpTextCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().GetHelpTextCore();
}
- template <typename D> WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT<D>::GetItemStatusCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetItemStatusCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().GetItemStatusCore();
}
- template <typename D> WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT<D>::GetItemTypeCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetItemTypeCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().GetItemTypeCore();
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) IAutomationPeerOverridesT<D>::GetLabeledByCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetLabeledByCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().GetLabeledByCore();
}
- template <typename D> WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT<D>::GetLocalizedControlTypeCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetLocalizedControlTypeCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().GetLocalizedControlTypeCore();
}
- template <typename D> WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT<D>::GetNameCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetNameCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().GetNameCore();
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationOrientation) IAutomationPeerOverridesT<D>::GetOrientationCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetOrientationCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().GetOrientationCore();
}
- template <typename D> WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT<D>::HasKeyboardFocusCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::HasKeyboardFocusCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().HasKeyboardFocusCore();
}
- template <typename D> WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT<D>::IsContentElementCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::IsContentElementCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().IsContentElementCore();
}
- template <typename D> WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT<D>::IsControlElementCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::IsControlElementCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().IsControlElementCore();
}
- template <typename D> WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT<D>::IsEnabledCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::IsEnabledCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().IsEnabledCore();
}
- template <typename D> WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT<D>::IsKeyboardFocusableCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::IsKeyboardFocusableCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().IsKeyboardFocusableCore();
}
- template <typename D> WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT<D>::IsOffscreenCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::IsOffscreenCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().IsOffscreenCore();
}
- template <typename D> WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT<D>::IsPasswordCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::IsPasswordCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().IsPasswordCore();
}
- template <typename D> WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT<D>::IsRequiredForFormCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::IsRequiredForFormCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().IsRequiredForFormCore();
}
- template <typename D> WINRT_IMPL_AUTO(void) IAutomationPeerOverridesT<D>::SetFocusCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::SetFocusCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().SetFocusCore();
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) IAutomationPeerOverridesT<D>::GetPeerFromPointCore(winrt::Windows::Foundation::Point const& point) const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetPeerFromPointCore(winrt::Windows::Foundation::Point const& point) const
{
return shim().template try_as<IAutomationPeerOverrides>().GetPeerFromPointCore(point);
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting) IAutomationPeerOverridesT<D>::GetLiveSettingCore() const
+ template <typename D> auto IAutomationPeerOverridesT<D>::GetLiveSettingCore() const
{
return shim().template try_as<IAutomationPeerOverrides>().GetLiveSettingCore();
}
- template <typename D> WINRT_IMPL_AUTO(void) IAutomationPeerOverrides2T<D>::ShowContextMenuCore() const
+ template <typename D> auto IAutomationPeerOverrides2T<D>::ShowContextMenuCore() const
{
return shim().template try_as<IAutomationPeerOverrides2>().ShowContextMenuCore();
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) IAutomationPeerOverrides2T<D>::GetControlledPeersCore() const
+ template <typename D> auto IAutomationPeerOverrides2T<D>::GetControlledPeersCore() const
{
return shim().template try_as<IAutomationPeerOverrides2>().GetControlledPeersCore();
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) IAutomationPeerOverrides3T<D>::NavigateCore(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const
+ template <typename D> auto IAutomationPeerOverrides3T<D>::NavigateCore(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const
{
return shim().template try_as<IAutomationPeerOverrides3>().NavigateCore(direction);
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) IAutomationPeerOverrides3T<D>::GetElementFromPointCore(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const
+ template <typename D> auto IAutomationPeerOverrides3T<D>::GetElementFromPointCore(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const
{
return shim().template try_as<IAutomationPeerOverrides3>().GetElementFromPointCore(pointInWindowCoordinates);
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) IAutomationPeerOverrides3T<D>::GetFocusedElementCore() const
+ template <typename D> auto IAutomationPeerOverrides3T<D>::GetFocusedElementCore() const
{
return shim().template try_as<IAutomationPeerOverrides3>().GetFocusedElementCore();
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation>) IAutomationPeerOverrides3T<D>::GetAnnotationsCore() const
+ template <typename D> auto IAutomationPeerOverrides3T<D>::GetAnnotationsCore() const
{
return shim().template try_as<IAutomationPeerOverrides3>().GetAnnotationsCore();
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) IAutomationPeerOverrides3T<D>::GetPositionInSetCore() const
+ template <typename D> auto IAutomationPeerOverrides3T<D>::GetPositionInSetCore() const
{
return shim().template try_as<IAutomationPeerOverrides3>().GetPositionInSetCore();
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) IAutomationPeerOverrides3T<D>::GetSizeOfSetCore() const
+ template <typename D> auto IAutomationPeerOverrides3T<D>::GetSizeOfSetCore() const
{
return shim().template try_as<IAutomationPeerOverrides3>().GetSizeOfSetCore();
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) IAutomationPeerOverrides3T<D>::GetLevelCore() const
+ template <typename D> auto IAutomationPeerOverrides3T<D>::GetLevelCore() const
{
return shim().template try_as<IAutomationPeerOverrides3>().GetLevelCore();
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType) IAutomationPeerOverrides4T<D>::GetLandmarkTypeCore() const
+ template <typename D> auto IAutomationPeerOverrides4T<D>::GetLandmarkTypeCore() const
{
return shim().template try_as<IAutomationPeerOverrides4>().GetLandmarkTypeCore();
}
- template <typename D> WINRT_IMPL_AUTO(hstring) IAutomationPeerOverrides4T<D>::GetLocalizedLandmarkTypeCore() const
+ template <typename D> auto IAutomationPeerOverrides4T<D>::GetLocalizedLandmarkTypeCore() const
{
return shim().template try_as<IAutomationPeerOverrides4>().GetLocalizedLandmarkTypeCore();
}
- template <typename D> WINRT_IMPL_AUTO(bool) IAutomationPeerOverrides5T<D>::IsPeripheralCore() const
+ template <typename D> auto IAutomationPeerOverrides5T<D>::IsPeripheralCore() const
{
return shim().template try_as<IAutomationPeerOverrides5>().IsPeripheralCore();
}
- template <typename D> WINRT_IMPL_AUTO(bool) IAutomationPeerOverrides5T<D>::IsDataValidForFormCore() const
+ template <typename D> auto IAutomationPeerOverrides5T<D>::IsDataValidForFormCore() const
{
return shim().template try_as<IAutomationPeerOverrides5>().IsDataValidForFormCore();
}
- template <typename D> WINRT_IMPL_AUTO(hstring) IAutomationPeerOverrides5T<D>::GetFullDescriptionCore() const
+ template <typename D> auto IAutomationPeerOverrides5T<D>::GetFullDescriptionCore() const
{
return shim().template try_as<IAutomationPeerOverrides5>().GetFullDescriptionCore();
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) IAutomationPeerOverrides5T<D>::GetDescribedByCore() const
+ template <typename D> auto IAutomationPeerOverrides5T<D>::GetDescribedByCore() const
{
return shim().template try_as<IAutomationPeerOverrides5>().GetDescribedByCore();
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) IAutomationPeerOverrides5T<D>::GetFlowsToCore() const
+ template <typename D> auto IAutomationPeerOverrides5T<D>::GetFlowsToCore() const
{
return shim().template try_as<IAutomationPeerOverrides5>().GetFlowsToCore();
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) IAutomationPeerOverrides5T<D>::GetFlowsFromCore() const
+ template <typename D> auto IAutomationPeerOverrides5T<D>::GetFlowsFromCore() const
{
return shim().template try_as<IAutomationPeerOverrides5>().GetFlowsFromCore();
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) IAutomationPeerOverrides6T<D>::GetCultureCore() const
+ template <typename D> auto IAutomationPeerOverrides6T<D>::GetCultureCore() const
{
return shim().template try_as<IAutomationPeerOverrides6>().GetCultureCore();
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel) IAutomationPeerOverrides8T<D>::GetHeadingLevelCore() const
+ template <typename D> auto IAutomationPeerOverrides8T<D>::GetHeadingLevelCore() const
{
return shim().template try_as<IAutomationPeerOverrides8>().GetHeadingLevelCore();
}
- template <typename D> WINRT_IMPL_AUTO(bool) IAutomationPeerOverrides9T<D>::IsDialogCore() const
+ template <typename D> auto IAutomationPeerOverrides9T<D>::IsDialogCore() const
{
return shim().template try_as<IAutomationPeerOverrides9>().IsDialogCore();
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer) IItemsControlAutomationPeerOverrides2T<D>::OnCreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto IItemsControlAutomationPeerOverrides2T<D>::OnCreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const
{
return shim().template try_as<IItemsControlAutomationPeerOverrides2>().OnCreateItemAutomationPeer(item);
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Provider.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Provider.h
index 377f984ac38..e6cb19f00b3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Provider.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider<D>::AnnotationTypeId() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider<D>::AnnotationTypeId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IAnnotationProvider)->get_AnnotationTypeId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider<D>::AnnotationTypeName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider<D>::Author() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider<D>::DateTime() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider<D>::Target() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IAnnotationProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Provider_ICustomNavigationProvider<D>::NavigateCustom(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ICustomNavigationProvider<D>::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<int32_t>(direction), &result));
return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::DockPosition) consume_Windows_UI_Xaml_Automation_Provider_IDockProvider<D>::DockPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IDockProvider<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IDockProvider<D>::SetDockPosition(winrt::Windows::UI::Xaml::Automation::DockPosition const& dockPosition) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IDockProvider<D>::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<int32_t>(dockPosition)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IDragProvider<D>::IsGrabbed() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IDragProvider<D>::IsGrabbed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IDragProvider)->get_IsGrabbed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IDragProvider<D>::DropEffect() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IDragProvider<D>::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 <typename D> WINRT_IMPL_AUTO(com_array<hstring>) consume_Windows_UI_Xaml_Automation_Provider_IDragProvider<D>::DropEffects() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IDragProvider<D>::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<hstring>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>) consume_Windows_UI_Xaml_Automation_Provider_IDragProvider<D>::GetGrabbedItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IDragProvider<D>::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<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>{ result, result_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IDropTargetProvider<D>::DropEffect() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IDropTargetProvider<D>::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 <typename D> WINRT_IMPL_AUTO(com_array<hstring>) consume_Windows_UI_Xaml_Automation_Provider_IDropTargetProvider<D>::DropEffects() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IDropTargetProvider<D>::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<hstring>{ value, value_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::ExpandCollapseState) consume_Windows_UI_Xaml_Automation_Provider_IExpandCollapseProvider<D>::ExpandCollapseState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IExpandCollapseProvider<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IExpandCollapseProvider<D>::Collapse() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IExpandCollapseProvider<D>::Collapse() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IExpandCollapseProvider)->Collapse());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IExpandCollapseProvider<D>::Expand() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IExpandCollapseProvider<D>::Expand() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IExpandCollapseProvider)->Expand());
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider<D>::Column() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider<D>::Column() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IGridItemProvider)->get_Column(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider<D>::ColumnSpan() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider<D>::ColumnSpan() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IGridItemProvider)->get_ColumnSpan(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider<D>::ContainingGrid() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider<D>::Row() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider<D>::Row() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IGridItemProvider)->get_Row(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider<D>::RowSpan() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IGridItemProvider<D>::RowSpan() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IGridItemProvider)->get_RowSpan(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IGridProvider<D>::ColumnCount() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IGridProvider<D>::ColumnCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IGridProvider)->get_ColumnCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IGridProvider<D>::RowCount() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IGridProvider<D>::RowCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IGridProvider)->get_RowCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Provider_IGridProvider<D>::GetItem(int32_t row, int32_t column) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IGridProvider<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IInvokeProvider<D>::Invoke() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IInvokeProvider<D>::Invoke() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IInvokeProvider)->Invoke());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Provider_IItemContainerProvider<D>::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 <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IItemContainerProvider<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider<D>::CurrentView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider<D>::CurrentView() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IMultipleViewProvider)->get_CurrentView(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(com_array<int32_t>) consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider<D>::GetSupportedViews() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider<D>::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<int32_t>{ result, result_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider<D>::GetViewName(int32_t viewId) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider<D>::SetCurrentView(int32_t viewId) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider<D>::SetCurrentView(int32_t viewId) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IMultipleViewProvider)->SetCurrentView(viewId));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Provider_IObjectModelProvider<D>::GetUnderlyingObjectModel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IObjectModelProvider<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider<D>::IsReadOnly() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider<D>::IsReadOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IRangeValueProvider)->get_IsReadOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider<D>::LargeChange() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider<D>::LargeChange() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IRangeValueProvider)->get_LargeChange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider<D>::Maximum() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider<D>::Maximum() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IRangeValueProvider)->get_Maximum(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider<D>::Minimum() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider<D>::Minimum() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IRangeValueProvider)->get_Minimum(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider<D>::SmallChange() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider<D>::SmallChange() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IRangeValueProvider)->get_SmallChange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider<D>::Value() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider<D>::Value() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IRangeValueProvider)->get_Value(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider<D>::SetValue(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IRangeValueProvider<D>::SetValue(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IRangeValueProvider)->SetValue(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IScrollItemProvider<D>::ScrollIntoView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IScrollItemProvider<D>::ScrollIntoView() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IScrollItemProvider)->ScrollIntoView());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider<D>::HorizontallyScrollable() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider<D>::HorizontallyScrollable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IScrollProvider)->get_HorizontallyScrollable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider<D>::HorizontalScrollPercent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider<D>::HorizontalScrollPercent() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IScrollProvider)->get_HorizontalScrollPercent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider<D>::HorizontalViewSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider<D>::HorizontalViewSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IScrollProvider)->get_HorizontalViewSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider<D>::VerticallyScrollable() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider<D>::VerticallyScrollable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IScrollProvider)->get_VerticallyScrollable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider<D>::VerticalScrollPercent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider<D>::VerticalScrollPercent() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IScrollProvider)->get_VerticalScrollPercent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider<D>::VerticalViewSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider<D>::VerticalViewSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IScrollProvider)->get_VerticalViewSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider<D>::Scroll(winrt::Windows::UI::Xaml::Automation::ScrollAmount const& horizontalAmount, winrt::Windows::UI::Xaml::Automation::ScrollAmount const& verticalAmount) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider<D>::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<int32_t>(horizontalAmount), static_cast<int32_t>(verticalAmount)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider<D>::SetScrollPercent(double horizontalPercent, double verticalPercent) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IScrollProvider<D>::SetScrollPercent(double horizontalPercent, double verticalPercent) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IScrollProvider)->SetScrollPercent(horizontalPercent, verticalPercent));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider<D>::IsSelected() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider<D>::IsSelected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISelectionItemProvider)->get_IsSelected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider<D>::SelectionContainer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider<D>::AddToSelection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider<D>::AddToSelection() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISelectionItemProvider)->AddToSelection());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider<D>::RemoveFromSelection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider<D>::RemoveFromSelection() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISelectionItemProvider)->RemoveFromSelection());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider<D>::Select() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ISelectionItemProvider<D>::Select() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISelectionItemProvider)->Select());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_ISelectionProvider<D>::CanSelectMultiple() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ISelectionProvider<D>::CanSelectMultiple() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISelectionProvider)->get_CanSelectMultiple(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_ISelectionProvider<D>::IsSelectionRequired() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ISelectionProvider<D>::IsSelectionRequired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISelectionProvider)->get_IsSelectionRequired(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>) consume_Windows_UI_Xaml_Automation_Provider_ISelectionProvider<D>::GetSelection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ISelectionProvider<D>::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<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>{ result, result_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetItemProvider<D>::Formula() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetItemProvider<D>::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 <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>) consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetItemProvider<D>::GetAnnotationObjects() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetItemProvider<D>::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<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>{ result, result_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::AnnotationType>) consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetItemProvider<D>::GetAnnotationTypes() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetItemProvider<D>::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<winrt::Windows::UI::Xaml::Automation::AnnotationType>{ result, result_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetProvider<D>::GetItemByName(param::hstring const& name) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetProvider<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider<D>::ExtendedProperties() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider<D>::FillColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider<D>::FillPatternColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider<D>::FillPatternStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider<D>::Shape() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider<D>::StyleId() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider<D>::StyleId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IStylesProvider)->get_StyleId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider<D>::StyleName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IStylesProvider<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ISynchronizedInputProvider<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ISynchronizedInputProvider<D>::Cancel() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ISynchronizedInputProvider)->Cancel());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ISynchronizedInputProvider<D>::StartListening(winrt::Windows::UI::Xaml::Automation::SynchronizedInputType const& inputType) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ISynchronizedInputProvider<D>::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<int32_t>(inputType)));
}
- template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>) consume_Windows_UI_Xaml_Automation_Provider_ITableItemProvider<D>::GetColumnHeaderItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITableItemProvider<D>::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<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>{ result, result_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>) consume_Windows_UI_Xaml_Automation_Provider_ITableItemProvider<D>::GetRowHeaderItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITableItemProvider<D>::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<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>{ result, result_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::RowOrColumnMajor) consume_Windows_UI_Xaml_Automation_Provider_ITableProvider<D>::RowOrColumnMajor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITableProvider<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>) consume_Windows_UI_Xaml_Automation_Provider_ITableProvider<D>::GetColumnHeaders() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITableProvider<D>::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<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>{ result, result_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>) consume_Windows_UI_Xaml_Automation_Provider_ITableProvider<D>::GetRowHeaders() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITableProvider<D>::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<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>{ result, result_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Provider_ITextChildProvider<D>::TextContainer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextChildProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextChildProvider<D>::TextRange() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextChildProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextEditProvider<D>::GetActiveComposition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextEditProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextEditProvider<D>::GetConversionTarget() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextEditProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextProvider<D>::DocumentRange() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::SupportedTextSelection) consume_Windows_UI_Xaml_Automation_Provider_ITextProvider<D>::SupportedTextSelection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextProvider<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider>) consume_Windows_UI_Xaml_Automation_Provider_ITextProvider<D>::GetSelection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextProvider<D>::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<winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider>{ result, result_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider>) consume_Windows_UI_Xaml_Automation_Provider_ITextProvider<D>::GetVisibleRanges() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextProvider<D>::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<winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider>{ result, result_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextProvider<D>::RangeFromChild(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& childElement) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextProvider<D>::RangeFromPoint(winrt::Windows::Foundation::Point const& screenLocation) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextProvider2<D>::RangeFromAnnotation(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& annotationElement) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextProvider2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextProvider2<D>::GetCaretRange(bool& isActive) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextProvider2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::Clone() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::Compare(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider const& textRangeProvider) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::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 <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::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<int32_t>(endpoint), *(void**)(&textRangeProvider), static_cast<int32_t>(targetEndpoint), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::ExpandToEnclosingUnit(winrt::Windows::UI::Xaml::Automation::Text::TextUnit const& unit) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::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<int32_t>(unit)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::FindAttribute(int32_t attributeId, winrt::Windows::Foundation::IInspectable const& value, bool backward) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::FindText(param::hstring const& text, bool backward, bool ignoreCase) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::GetAttributeValue(int32_t attributeId) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::GetBoundingRectangles(com_array<double>& returnValue) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::GetBoundingRectangles(com_array<double>& returnValue) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->GetBoundingRectangles(impl::put_size_abi(returnValue), put_abi(returnValue)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::GetEnclosingElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::GetText(int32_t maxLength) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::Move(winrt::Windows::UI::Xaml::Automation::Text::TextUnit const& unit, int32_t count) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::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<int32_t>(unit), count, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::MoveEndpointByUnit(winrt::Windows::UI::Xaml::Automation::Text::TextPatternRangeEndpoint const& endpoint, winrt::Windows::UI::Xaml::Automation::Text::TextUnit const& unit, int32_t count) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::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<int32_t>(endpoint), static_cast<int32_t>(unit), count, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::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 <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::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<int32_t>(endpoint), *(void**)(&textRangeProvider), static_cast<int32_t>(targetEndpoint)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::Select() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::Select() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->Select());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::AddToSelection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::AddToSelection() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->AddToSelection());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::RemoveFromSelection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::RemoveFromSelection() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->RemoveFromSelection());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::ScrollIntoView(bool alignToTop) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::ScrollIntoView(bool alignToTop) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider)->ScrollIntoView(alignToTop));
}
- template <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::GetChildren() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider<D>::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<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>{ result, result_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider2<D>::ShowContextMenu() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider2<D>::ShowContextMenu() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider2)->ShowContextMenu());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::ToggleState) consume_Windows_UI_Xaml_Automation_Provider_IToggleProvider<D>::ToggleState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IToggleProvider<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IToggleProvider<D>::Toggle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IToggleProvider<D>::Toggle() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IToggleProvider)->Toggle());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider<D>::CanMove() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider<D>::CanMove() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider)->get_CanMove(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider<D>::CanResize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider<D>::CanResize() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider)->get_CanResize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider<D>::CanRotate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider<D>::CanRotate() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider)->get_CanRotate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider<D>::Move(double x, double y) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider<D>::Move(double x, double y) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider)->Move(x, y));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider<D>::Resize(double width, double height) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider<D>::Resize(double width, double height) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider)->Resize(width, height));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider<D>::Rotate(double degrees) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider<D>::Rotate(double degrees) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider)->Rotate(degrees));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2<D>::CanZoom() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2<D>::CanZoom() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider2)->get_CanZoom(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2<D>::ZoomLevel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2<D>::ZoomLevel() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider2)->get_ZoomLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2<D>::MaxZoom() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2<D>::MaxZoom() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider2)->get_MaxZoom(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2<D>::MinZoom() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2<D>::MinZoom() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider2)->get_MinZoom(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2<D>::Zoom(double zoom) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2<D>::Zoom(double zoom) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider2)->Zoom(zoom));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2<D>::ZoomByUnit(winrt::Windows::UI::Xaml::Automation::ZoomUnit const& zoomUnit) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_ITransformProvider2<D>::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<int32_t>(zoomUnit)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IValueProvider<D>::IsReadOnly() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IValueProvider<D>::IsReadOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IValueProvider)->get_IsReadOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Provider_IValueProvider<D>::Value() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IValueProvider<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IValueProvider<D>::SetValue(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IValueProvider<D>::SetValue(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IValueProvider)->SetValue(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IVirtualizedItemProvider<D>::Realize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IVirtualizedItemProvider<D>::Realize() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IVirtualizedItemProvider)->Realize());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::IsModal() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::IsModal() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IWindowProvider)->get_IsModal(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::IsTopmost() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::IsTopmost() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IWindowProvider)->get_IsTopmost(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::Maximizable() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::Maximizable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IWindowProvider)->get_Maximizable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::Minimizable() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::Minimizable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IWindowProvider)->get_Minimizable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::WindowInteractionState) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::InteractionState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::WindowVisualState) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::VisualState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::Close() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::Close() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Provider::IWindowProvider)->Close());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::SetVisualState(winrt::Windows::UI::Xaml::Automation::WindowVisualState const& state) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::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<int32_t>(state)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::WaitForInputIdle(int32_t milliseconds) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_Provider_IWindowProvider<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Text.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Text.h
index dd1c60a4630..79304ad0b6e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.Text.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.h
index f3dff4e436d..9567ac0fd15 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Automation.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics<D>::AnnotationTypeIdProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics<D>::AnnotationTypeNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics<D>::AuthorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics<D>::DateTimeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics<D>::TargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAnnotationPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AnnotationType) consume_Windows_UI_Xaml_Automation_IAutomationAnnotation<D>::Type() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationAnnotation<D>::Type() const
{
winrt::Windows::UI::Xaml::Automation::AnnotationType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IAutomationAnnotation)->get_Type(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationAnnotation<D>::Type(winrt::Windows::UI::Xaml::Automation::AnnotationType const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationAnnotation<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Automation_IAutomationAnnotation<D>::Element() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationAnnotation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationAnnotation<D>::Element(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationAnnotation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationAnnotation) consume_Windows_UI_Xaml_Automation_IAutomationAnnotationFactory<D>::CreateInstance(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationAnnotationFactory<D>::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<int32_t>(type), &value));
return winrt::Windows::UI::Xaml::Automation::AutomationAnnotation{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationAnnotation) consume_Windows_UI_Xaml_Automation_IAutomationAnnotationFactory<D>::CreateWithElementParameter(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type, winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationAnnotationFactory<D>::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<int32_t>(type), *(void**)(&element), &value));
return winrt::Windows::UI::Xaml::Automation::AutomationAnnotation{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationAnnotationStatics<D>::TypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationAnnotationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationAnnotationStatics<D>::ElementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationAnnotationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::AcceleratorKeyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::AccessKeyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::AutomationIdProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::BoundingRectangleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::ClassNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::ClickablePointProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::ControlTypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::HasKeyboardFocusProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::HelpTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::IsContentElementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::IsControlElementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::IsEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::IsKeyboardFocusableProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::IsOffscreenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::IsPasswordProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::IsRequiredForFormProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::ItemStatusProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::ItemTypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::LabeledByProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::LocalizedControlTypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::NameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::OrientationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::LiveSettingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics2<D>::ControlledPeersProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics3<D>::PositionInSetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics3<D>::SizeOfSetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics3<D>::LevelProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics3<D>::AnnotationsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics4<D>::LandmarkTypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics4<D>::LocalizedLandmarkTypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5<D>::IsPeripheralProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5<D>::IsDataValidForFormProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5<D>::FullDescriptionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5<D>::DescribedByProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5<D>::FlowsToProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5<D>::FlowsFromProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics6<D>::CultureProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics7<D>::HeadingLevelProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics8<D>::IsDialogProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationElementIdentifiersStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::AcceleratorKeyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::GetAcceleratorKey(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::SetAcceleratorKey(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::AccessKeyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::GetAccessKey(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::SetAccessKey(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::AutomationIdProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::GetAutomationId(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::SetAutomationId(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::HelpTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::GetHelpText(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::SetHelpText(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::IsRequiredForFormProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::GetIsRequiredForForm(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::SetIsRequiredForForm(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::ItemStatusProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::GetItemStatus(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::SetItemStatus(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::ItemTypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::GetItemType(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::SetItemType(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::LabeledByProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::GetLabeledBy(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::SetLabeledBy(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::NameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::GetName(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::SetName(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::LiveSettingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::GetLiveSetting(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::SetLiveSetting(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2<D>::AccessibilityViewProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AccessibilityView) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2<D>::GetAccessibilityView(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2<D>::SetAccessibilityView(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AccessibilityView const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2<D>::ControlledPeersProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::UIElement>) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2<D>::GetControlledPeers(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics2<D>::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<winrt::Windows::UI::Xaml::UIElement>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::PositionInSetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::GetPositionInSet(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::SetPositionInSet(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::SizeOfSetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::GetSizeOfSet(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::SetSizeOfSet(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::LevelProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::GetLevel(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::SetLevel(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::AnnotationsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Automation::AutomationAnnotation>) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::GetAnnotations(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics3<D>::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<winrt::Windows::UI::Xaml::Automation::AutomationAnnotation>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4<D>::LandmarkTypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4<D>::GetLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4<D>::SetLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4<D>::LocalizedLandmarkTypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4<D>::GetLocalizedLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4<D>::SetLocalizedLandmarkType(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::IsPeripheralProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::GetIsPeripheral(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::SetIsPeripheral(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::IsDataValidForFormProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::GetIsDataValidForForm(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::SetIsDataValidForForm(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::FullDescriptionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::GetFullDescription(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::SetFullDescription(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::LocalizedControlTypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::GetLocalizedControlType(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::SetLocalizedControlType(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::DescribedByProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::DependencyObject>) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::GetDescribedBy(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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<winrt::Windows::UI::Xaml::DependencyObject>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::FlowsToProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::DependencyObject>) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::GetFlowsTo(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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<winrt::Windows::UI::Xaml::DependencyObject>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::FlowsFromProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::DependencyObject>) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::GetFlowsFrom(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics5<D>::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<winrt::Windows::UI::Xaml::DependencyObject>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics6<D>::CultureProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics6<D>::GetCulture(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics6<D>::SetCulture(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics7<D>::HeadingLevelProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics7<D>::GetHeadingLevel(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics7<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics7<D>::SetHeadingLevel(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics7<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics8<D>::IsDialogProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics8<D>::GetIsDialog(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics8<D>::SetIsDialog(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IAutomationPropertiesStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IDockPatternIdentifiersStatics<D>::DockPositionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IDockPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IDragPatternIdentifiersStatics<D>::DropEffectProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IDragPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IDragPatternIdentifiersStatics<D>::DropEffectsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IDragPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IDragPatternIdentifiersStatics<D>::GrabbedItemsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IDragPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IDragPatternIdentifiersStatics<D>::IsGrabbedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IDragPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IDropTargetPatternIdentifiersStatics<D>::DropTargetEffectProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IDropTargetPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IDropTargetPatternIdentifiersStatics<D>::DropTargetEffectsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IDropTargetPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IExpandCollapsePatternIdentifiersStatics<D>::ExpandCollapseStateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IExpandCollapsePatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics<D>::ColumnProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics<D>::ColumnSpanProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics<D>::ContainingGridProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics<D>::RowProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics<D>::RowSpanProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IGridItemPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IGridPatternIdentifiersStatics<D>::ColumnCountProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IGridPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IGridPatternIdentifiersStatics<D>::RowCountProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IGridPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IMultipleViewPatternIdentifiersStatics<D>::CurrentViewProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IMultipleViewPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IMultipleViewPatternIdentifiersStatics<D>::SupportedViewsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IMultipleViewPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics<D>::IsReadOnlyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics<D>::LargeChangeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics<D>::MaximumProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics<D>::MinimumProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics<D>::SmallChangeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics<D>::ValueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IRangeValuePatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics<D>::HorizontallyScrollableProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics<D>::HorizontalScrollPercentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics<D>::HorizontalViewSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics<D>::NoScroll() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics<D>::NoScroll() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IScrollPatternIdentifiersStatics)->get_NoScroll(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics<D>::VerticallyScrollableProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics<D>::VerticalScrollPercentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics<D>::VerticalViewSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IScrollPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ISelectionItemPatternIdentifiersStatics<D>::IsSelectedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ISelectionItemPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ISelectionItemPatternIdentifiersStatics<D>::SelectionContainerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ISelectionItemPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ISelectionPatternIdentifiersStatics<D>::CanSelectMultipleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ISelectionPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ISelectionPatternIdentifiersStatics<D>::IsSelectionRequiredProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ISelectionPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ISelectionPatternIdentifiersStatics<D>::SelectionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ISelectionPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ISpreadsheetItemPatternIdentifiersStatics<D>::FormulaProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ISpreadsheetItemPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics<D>::ExtendedPropertiesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics<D>::FillColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics<D>::FillPatternColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics<D>::FillPatternStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics<D>::ShapeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics<D>::StyleIdProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics<D>::StyleNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IStylesPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITableItemPatternIdentifiersStatics<D>::ColumnHeaderItemsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ITableItemPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITableItemPatternIdentifiersStatics<D>::RowHeaderItemsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ITableItemPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITablePatternIdentifiersStatics<D>::ColumnHeadersProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ITablePatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITablePatternIdentifiersStatics<D>::RowHeadersProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ITablePatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITablePatternIdentifiersStatics<D>::RowOrColumnMajorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ITablePatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITogglePatternIdentifiersStatics<D>::ToggleStateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ITogglePatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITransformPattern2IdentifiersStatics<D>::CanZoomProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ITransformPattern2IdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITransformPattern2IdentifiersStatics<D>::ZoomLevelProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ITransformPattern2IdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITransformPattern2IdentifiersStatics<D>::MaxZoomProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ITransformPattern2IdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITransformPattern2IdentifiersStatics<D>::MinZoomProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ITransformPattern2IdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITransformPatternIdentifiersStatics<D>::CanMoveProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ITransformPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITransformPatternIdentifiersStatics<D>::CanResizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ITransformPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_ITransformPatternIdentifiersStatics<D>::CanRotateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_ITransformPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IValuePatternIdentifiersStatics<D>::IsReadOnlyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IValuePatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IValuePatternIdentifiersStatics<D>::ValueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IValuePatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics<D>::CanMaximizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics<D>::CanMinimizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics<D>::IsModalProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics<D>::IsTopmostProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics<D>::WindowInteractionStateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AutomationProperty) consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics<D>::WindowVisualStateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Automation_IWindowPatternIdentifiersStatics<D>::WindowVisualStateProperty() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::IWindowPatternIdentifiersStatics)->get_WindowVisualStateProperty(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.Maps.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.Maps.h
index 78c9e44a983..f7af7bd0014 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.Maps.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource<D>::BitmapRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::CustomMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource<D>::BitmapRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::CustomMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource<D>::BitmapRequested_revoker consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource<D>::BitmapRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::CustomMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource<D>::BitmapRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::CustomMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, BitmapRequested_revoker>(this, BitmapRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource<D>::BitmapRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::CustomMapTileDataSource) consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSourceFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource<D>::UriFormatString() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource<D>::UriFormatString(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource<D>::UriFormatString(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource)->put_UriFormatString(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource<D>::AdditionalRequestHeaders() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource<D>::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<hstring, hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource<D>::AllowCaching() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource<D>::AllowCaching() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource)->get_AllowCaching(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource<D>::AllowCaching(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource<D>::AllowCaching(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource)->put_AllowCaching(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource<D>::UriRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource<D>::UriRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource<D>::UriRequested_revoker consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource<D>::UriRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource<D>::UriRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, UriRequested_revoker>(this, UriRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource<D>::UriRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSourceFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource) consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSourceFactory<D>::CreateInstanceWithUriFormatString(param::hstring const& uriFormatString, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource<D>::UriFormatString() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource<D>::UriFormatString(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource<D>::UriFormatString(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSource)->put_UriFormatString(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource<D>::UriRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource<D>::UriRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource<D>::UriRequested_revoker consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource<D>::UriRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource<D>::UriRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, UriRequested_revoker>(this, UriRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource<D>::UriRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource) consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSourceFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource) consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSourceFactory<D>::CreateInstanceWithUriFormatString(param::hstring const& uriFormatString, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangedEventArgs<D>::Camera() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCameraChangeReason) consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangedEventArgs2<D>::ChangeReason() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangedEventArgs2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangingEventArgs<D>::Camera() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCameraChangeReason) consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangingEventArgs2<D>::ChangeReason() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangingEventArgs2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::NormalizedAnchorPoint() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::NormalizedAnchorPoint(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::Image() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::CollisionBehaviorDesired() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::CollisionBehaviorDesired(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::ReferenceCamera() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapBillboard) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardFactory<D>::CreateInstanceFromCamera(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera const& camera) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardStatics<D>::LocationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardStatics<D>::NormalizedAnchorPointProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardStatics<D>::CollisionBehaviorDesiredProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::Heading() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::Heading() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->get_Heading(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::Heading(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::Heading(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->put_Heading(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::Pitch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::Pitch() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->get_Pitch(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::Pitch(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::Pitch(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->put_Pitch(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::Roll() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::Roll() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->get_Roll(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::Roll(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::Roll(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->put_Roll(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::FieldOfView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::FieldOfView() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->get_FieldOfView(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::FieldOfView(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera<D>::FieldOfView(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->put_FieldOfView(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory<D>::CreateInstanceWithLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory<D>::CreateInstanceWithLocationAndHeading(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory<D>::CreateInstanceWithLocationHeadingAndPitch(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory<D>::CreateInstanceWithLocationHeadingPitchRollAndFieldOfView(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees, double rollInDegrees, double fieldOfViewInDegrees) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapContextRequestedEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapContextRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapContextRequestedEventArgs<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapContextRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>) consume_Windows_UI_Xaml_Controls_Maps_IMapContextRequestedEventArgs<D>::MapElements() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapContextRequestedEventArgs<D>::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<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::Center() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::Center(winrt::Windows::Devices::Geolocation::Geopoint const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::DependencyObject>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::Children() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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<winrt::Windows::UI::Xaml::DependencyObject>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapColorScheme) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::ColorScheme() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::ColorScheme(winrt::Windows::UI::Xaml::Controls::Maps::MapColorScheme const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::DesiredPitch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::DesiredPitch() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_DesiredPitch(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::DesiredPitch(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::DesiredPitch(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_DesiredPitch(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::Heading() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::Heading() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_Heading(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::Heading(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::Heading(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_Heading(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::LandmarksVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::LandmarksVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_LandmarksVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::LandmarksVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::LandmarksVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_LandmarksVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapLoadingStatus) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::LoadingStatus() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapServiceToken() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapServiceToken(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapServiceToken(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_MapServiceToken(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MaxZoomLevel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MaxZoomLevel() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_MaxZoomLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MinZoomLevel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MinZoomLevel() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_MinZoomLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::PedestrianFeaturesVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::PedestrianFeaturesVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_PedestrianFeaturesVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::PedestrianFeaturesVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::PedestrianFeaturesVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_PedestrianFeaturesVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::Pitch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::Pitch() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_Pitch(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyle) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::Style() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::Style(winrt::Windows::UI::Xaml::Controls::Maps::MapStyle const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TrafficFlowVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TrafficFlowVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_TrafficFlowVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TrafficFlowVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TrafficFlowVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_TrafficFlowVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TransformOrigin() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TransformOrigin(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapWatermarkMode) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::WatermarkMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::WatermarkMode(winrt::Windows::UI::Xaml::Controls::Maps::MapWatermarkMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::ZoomLevel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::ZoomLevel() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_ZoomLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::ZoomLevel(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::ZoomLevel(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_ZoomLevel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapElements() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::Maps::MapRouteView>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::Routes() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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<winrt::Windows::UI::Xaml::Controls::Maps::MapRouteView>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TileSources() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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<winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::CenterChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::CenterChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::CenterChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::CenterChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::CenterChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, CenterChanged_revoker>(this, CenterChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::CenterChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::HeadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::HeadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::HeadingChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::HeadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::HeadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, HeadingChanged_revoker>(this, HeadingChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::HeadingChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::LoadingStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::LoadingStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::LoadingStatusChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::LoadingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::LoadingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, LoadingStatusChanged_revoker>(this, LoadingStatusChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::LoadingStatusChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapDoubleTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapDoubleTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapDoubleTapped_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapDoubleTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapDoubleTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MapDoubleTapped_revoker>(this, MapDoubleTapped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapDoubleTapped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapHolding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapHolding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapHolding_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapHolding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapHolding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MapHolding_revoker>(this, MapHolding(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapHolding(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapTapped_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MapTapped_revoker>(this, MapTapped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::MapTapped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::PitchChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::PitchChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::PitchChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::PitchChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::PitchChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, PitchChanged_revoker>(this, PitchChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::PitchChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TransformOriginChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TransformOriginChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TransformOriginChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TransformOriginChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TransformOriginChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, TransformOriginChanged_revoker>(this, TransformOriginChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TransformOriginChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::ZoomLevelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::ZoomLevelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::ZoomLevelChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::ZoomLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::ZoomLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ZoomLevelChanged_revoker>(this, ZoomLevelChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::ZoomLevelChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::FindMapElementsAtOffset(winrt::Windows::Foundation::Point const& offset) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::GetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::Geopoint& location) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::GetOffsetFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location, winrt::Windows::Foundation::Point& offset) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::IsLocationInView(winrt::Windows::Devices::Geolocation::Geopoint const& location, bool& isInView) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TrySetViewBoundsAsync(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, winrt::Windows::Foundation::IReference<winrt::Windows::UI::Xaml::Thickness> const& margin, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animation) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TrySetViewBoundsAsync(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, winrt::Windows::Foundation::IReference<winrt::Windows::UI::Xaml::Thickness> 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<int32_t>(animation), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::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**)(&center), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference<double> const& zoomLevel) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference<double> const& zoomLevel) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->TrySetViewWithCenterAndZoomAsync(*(void**)(&center), *(void**)(&zoomLevel), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference<double> const& zoomLevel, winrt::Windows::Foundation::IReference<double> const& heading, winrt::Windows::Foundation::IReference<double> const& desiredPitch) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference<double> const& zoomLevel, winrt::Windows::Foundation::IReference<double> const& heading, winrt::Windows::Foundation::IReference<double> const& desiredPitch) const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->TrySetViewWithCenterZoomHeadingAndPitchAsync(*(void**)(&center), *(void**)(&zoomLevel), *(void**)(&heading), *(void**)(&desiredPitch), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference<double> const& zoomLevel, winrt::Windows::Foundation::IReference<double> const& heading, winrt::Windows::Foundation::IReference<double> const& desiredPitch, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animation) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl<D>::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference<double> const& zoomLevel, winrt::Windows::Foundation::IReference<double> const& heading, winrt::Windows::Foundation::IReference<double> 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**)(&center), *(void**)(&zoomLevel), *(void**)(&heading), *(void**)(&desiredPitch), static_cast<int32_t>(animation), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::BusinessLandmarksVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::BusinessLandmarksVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_BusinessLandmarksVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::BusinessLandmarksVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::BusinessLandmarksVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_BusinessLandmarksVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TransitFeaturesVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TransitFeaturesVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_TransitFeaturesVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TransitFeaturesVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TransitFeaturesVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_TransitFeaturesVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapPanInteractionMode) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::PanInteractionMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::PanInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapPanInteractionMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::RotateInteractionMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::RotateInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TiltInteractionMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TiltInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::ZoomInteractionMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::ZoomInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::Is3DSupported() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::Is3DSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_Is3DSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::IsStreetsideSupported() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::IsStreetsideSupported() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_IsStreetsideSupported(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::Scene() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::Scene(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::ActualCamera() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TargetCamera() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperience) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::CustomExperience() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::CustomExperience(winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperience const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementClickEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementClickEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementClick_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementClickEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementClickEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MapElementClick_revoker>(this, MapElementClick(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementClick(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementPointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerEnteredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementPointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerEnteredEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementPointerEntered_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerEnteredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerEnteredEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MapElementPointerEntered_revoker>(this, MapElementPointerEntered(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementPointerEntered(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementPointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerExitedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementPointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerExitedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementPointerExited_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerExitedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerExitedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MapElementPointerExited_revoker>(this, MapElementPointerExited(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::MapElementPointerExited(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::ActualCameraChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::ActualCameraChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::ActualCameraChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::ActualCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::ActualCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ActualCameraChanged_revoker>(this, ActualCameraChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::ActualCameraChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::ActualCameraChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::ActualCameraChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::ActualCameraChanging_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::ActualCameraChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::ActualCameraChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ActualCameraChanging_revoker>(this, ActualCameraChanging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::ActualCameraChanging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TargetCameraChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapTargetCameraChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TargetCameraChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapTargetCameraChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TargetCameraChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TargetCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapTargetCameraChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TargetCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapTargetCameraChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TargetCameraChanged_revoker>(this, TargetCameraChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TargetCameraChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::CustomExperienceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperienceChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::CustomExperienceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperienceChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::CustomExperienceChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::CustomExperienceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperienceChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::CustomExperienceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperienceChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CustomExperienceChanged_revoker>(this, CustomExperienceChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::CustomExperienceChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::StartContinuousRotate(double rateInDegreesPerSecond) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::StartContinuousRotate(double rateInDegreesPerSecond) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StartContinuousRotate(rateInDegreesPerSecond));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::StopContinuousRotate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::StopContinuousRotate() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StopContinuousRotate());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::StartContinuousTilt(double rateInDegreesPerSecond) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::StartContinuousTilt(double rateInDegreesPerSecond) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StartContinuousTilt(rateInDegreesPerSecond));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::StopContinuousTilt() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::StopContinuousTilt() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StopContinuousTilt());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::StartContinuousZoom(double rateOfChangePerSecond) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::StartContinuousZoom(double rateOfChangePerSecond) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StartContinuousZoom(rateOfChangePerSecond));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::StopContinuousZoom() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::StopContinuousZoom() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StopContinuousZoom());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TryRotateAsync(double degrees) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TryRotateToAsync(double angleInDegrees) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TryTiltAsync(double degrees) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TryTiltToAsync(double angleInDegrees) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TryZoomInAsync() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TryZoomInAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TryZoomInAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TryZoomOutAsync() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TryZoomOutAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TryZoomOutAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TryZoomToAsync(double zoomLevel) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TrySetSceneAsync(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& scene) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::TrySetSceneAsync(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& scene, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animationKind) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2<D>::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<int32_t>(animationKind), &operation));
return winrt::Windows::Foundation::IAsyncOperation<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl3<D>::MapRightTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapRightTappedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl3<D>::MapRightTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapRightTappedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl3<D>::MapRightTapped_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl3<D>::MapRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapRightTappedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl3<D>::MapRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapRightTappedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MapRightTapped_revoker>(this, MapRightTapped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl3<D>::MapRightTapped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl4<D>::BusinessLandmarksEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl4<D>::BusinessLandmarksEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl4)->get_BusinessLandmarksEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl4<D>::BusinessLandmarksEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl4<D>::BusinessLandmarksEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl4)->put_BusinessLandmarksEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl4<D>::TransitFeaturesEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl4<D>::TransitFeaturesEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl4)->get_TransitFeaturesEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl4<D>::TransitFeaturesEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl4<D>::TransitFeaturesEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl4)->put_TransitFeaturesEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_UI_Xaml_Controls_Maps_IMapControl4<D>::GetVisibleRegion(winrt::Windows::UI::Xaml::Controls::Maps::MapVisibleRegionKind const& region) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl4<D>::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<int32_t>(region), &result));
return winrt::Windows::Devices::Geolocation::Geopath{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapProjection) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::MapProjection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::MapProjection(winrt::Windows::UI::Xaml::Controls::Maps::MapProjection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::StyleSheet() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::StyleSheet(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::ViewPadding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::ViewPadding(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::MapContextRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapContextRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::MapContextRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapContextRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::MapContextRequested_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::MapContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapContextRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::MapContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapContextRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MapContextRequested_revoker>(this, MapContextRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::MapContextRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::FindMapElementsAtOffset(winrt::Windows::Foundation::Point const& offset, double radius) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::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<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::GetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& desiredReferenceSystem, winrt::Windows::Devices::Geolocation::Geopoint& location) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::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<int32_t>(desiredReferenceSystem), impl::bind_out(location)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::StartContinuousPan(double horizontalPixelsPerSecond, double verticalPixelsPerSecond) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::StartContinuousPan(double horizontalPixelsPerSecond, double verticalPixelsPerSecond) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->StartContinuousPan(horizontalPixelsPerSecond, verticalPixelsPerSecond));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::StopContinuousPan() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::StopContinuousPan() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->StopContinuousPan());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::TryPanAsync(double horizontalPixels, double verticalPixels) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::TryPanToAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::Maps::MapLayer>) consume_Windows_UI_Xaml_Controls_Maps_IMapControl6<D>::Layers() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl6<D>::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<winrt::Windows::UI::Xaml::Controls::Maps::MapLayer>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl6<D>::Layers(param::vector<winrt::Windows::UI::Xaml::Controls::Maps::MapLayer> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl6<D>::Layers(param::vector<winrt::Windows::UI::Xaml::Controls::Maps::MapLayer> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl6)->put_Layers(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl6<D>::TryGetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::Geopoint& location) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl6<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl6<D>::TryGetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& desiredReferenceSystem, winrt::Windows::Devices::Geolocation::Geopoint& location) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl6<D>::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<int32_t>(desiredReferenceSystem), impl::bind_out(location), &returnValue));
return returnValue;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapControl7<D>::Region() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl7<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControl7<D>::Region(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl7<D>::Region(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl7)->put_Region(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl8<D>::CanTiltDown() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl8<D>::CanTiltDown() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl8)->get_CanTiltDown(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl8<D>::CanTiltUp() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl8<D>::CanTiltUp() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl8)->get_CanTiltUp(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl8<D>::CanZoomIn() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl8<D>::CanZoomIn() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl8)->get_CanZoomIn(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapControl8<D>::CanZoomOut() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl8<D>::CanZoomOut() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl8)->get_CanZoomOut(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::LocalSearch::LocalLocation>) consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkClickEventArgs<D>::LocalLocations() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkClickEventArgs<D>::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<winrt::Windows::Services::Maps::LocalSearch::LocalLocation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::LocalSearch::LocalLocation>) consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkPointerEnteredEventArgs<D>::LocalLocations() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkPointerEnteredEventArgs<D>::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<winrt::Windows::Services::Maps::LocalSearch::LocalLocation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::LocalSearch::LocalLocation>) consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkPointerExitedEventArgs<D>::LocalLocations() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkPointerExitedEventArgs<D>::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<winrt::Windows::Services::Maps::LocalSearch::LocalLocation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::LocalSearch::LocalLocation>) consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkRightTappedEventArgs<D>::LocalLocations() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkRightTappedEventArgs<D>::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<winrt::Windows::Services::Maps::LocalSearch::LocalLocation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::BusinessLandmarkClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkClickEventArgs> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::BusinessLandmarkClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkClickEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::BusinessLandmarkClick_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::BusinessLandmarkClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkClickEventArgs> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::BusinessLandmarkClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkClickEventArgs> const& value) const
{
return impl::make_event_revoker<D, BusinessLandmarkClick_revoker>(this, BusinessLandmarkClick(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::BusinessLandmarkClick(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::TransitFeatureClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeatureClickEventArgs> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::TransitFeatureClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeatureClickEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::TransitFeatureClick_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::TransitFeatureClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeatureClickEventArgs> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::TransitFeatureClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeatureClickEventArgs> const& value) const
{
return impl::make_event_revoker<D, TransitFeatureClick_revoker>(this, TransitFeatureClick(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::TransitFeatureClick(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::BusinessLandmarkRightTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkRightTappedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::BusinessLandmarkRightTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkRightTappedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::BusinessLandmarkRightTapped_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::BusinessLandmarkRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkRightTappedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::BusinessLandmarkRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkRightTappedEventArgs> const& value) const
{
return impl::make_event_revoker<D, BusinessLandmarkRightTapped_revoker>(this, BusinessLandmarkRightTapped(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::BusinessLandmarkRightTapped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::TransitFeatureRightTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeatureRightTappedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::TransitFeatureRightTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeatureRightTappedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::TransitFeatureRightTapped_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::TransitFeatureRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeatureRightTappedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::TransitFeatureRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeatureRightTappedEventArgs> const& value) const
{
return impl::make_event_revoker<D, TransitFeatureRightTapped_revoker>(this, TransitFeatureRightTapped(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::TransitFeatureRightTapped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::BusinessLandmarkPointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkPointerEnteredEventArgs> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::BusinessLandmarkPointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkPointerEnteredEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::BusinessLandmarkPointerEntered_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::BusinessLandmarkPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkPointerEnteredEventArgs> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::BusinessLandmarkPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkPointerEnteredEventArgs> const& value) const
{
return impl::make_event_revoker<D, BusinessLandmarkPointerEntered_revoker>(this, BusinessLandmarkPointerEntered(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::BusinessLandmarkPointerEntered(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::TransitFeaturePointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeaturePointerEnteredEventArgs> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::TransitFeaturePointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeaturePointerEnteredEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::TransitFeaturePointerEntered_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::TransitFeaturePointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeaturePointerEnteredEventArgs> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::TransitFeaturePointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeaturePointerEnteredEventArgs> const& value) const
{
return impl::make_event_revoker<D, TransitFeaturePointerEntered_revoker>(this, TransitFeaturePointerEntered(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::TransitFeaturePointerEntered(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::BusinessLandmarkPointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkPointerExitedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::BusinessLandmarkPointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkPointerExitedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::BusinessLandmarkPointerExited_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::BusinessLandmarkPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkPointerExitedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::BusinessLandmarkPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkPointerExitedEventArgs> const& value) const
{
return impl::make_event_revoker<D, BusinessLandmarkPointerExited_revoker>(this, BusinessLandmarkPointerExited(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::BusinessLandmarkPointerExited(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::TransitFeaturePointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeaturePointerExitedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::TransitFeaturePointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeaturePointerExitedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::TransitFeaturePointerExited_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::TransitFeaturePointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeaturePointerExitedEventArgs> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::TransitFeaturePointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeaturePointerExitedEventArgs> const& value) const
{
return impl::make_event_revoker<D, TransitFeaturePointerExited_revoker>(this, TransitFeaturePointerExited(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::TransitFeaturePointerExited(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapControlDataHelper) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelperFactory<D>::CreateInstance(winrt::Windows::UI::Xaml::Controls::Maps::MapControl const& map) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelperFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapControl) consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelperStatics<D>::CreateMapControl(bool rasterRenderMode) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::CenterProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::ChildrenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::ColorSchemeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::DesiredPitchProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::HeadingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::LandmarksVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::LoadingStatusProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::MapServiceTokenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::PedestrianFeaturesVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::PitchProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::StyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::TrafficFlowVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::TransformOriginProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::WatermarkModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::ZoomLevelProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::MapElementsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::RoutesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::TileSourcesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::LocationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::GetLocation(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::SetLocation(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Devices::Geolocation::Geopoint const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::NormalizedAnchorPointProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::GetNormalizedAnchorPoint(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::SetNormalizedAnchorPoint(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::BusinessLandmarksVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::TransitFeaturesVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::PanInteractionModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::RotateInteractionModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::TiltInteractionModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::ZoomInteractionModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::Is3DSupportedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::IsStreetsideSupportedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::SceneProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics4<D>::BusinessLandmarksEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics4<D>::TransitFeaturesEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics5<D>::MapProjectionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics5<D>::StyleSheetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics5<D>::ViewPaddingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics6<D>::LayersProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics7<D>::RegionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8<D>::CanTiltDownProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8<D>::CanTiltUpProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8<D>::CanZoomInProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8<D>::CanZoomOutProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureClickEventArgs<D>::DisplayName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureClickEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureClickEventArgs<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureClickEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureClickEventArgs<D>::TransitProperties() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureClickEventArgs<D>::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<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerEnteredEventArgs<D>::DisplayName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerEnteredEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerEnteredEventArgs<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerEnteredEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerEnteredEventArgs<D>::TransitProperties() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerEnteredEventArgs<D>::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<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerExitedEventArgs<D>::DisplayName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerExitedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerExitedEventArgs<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerExitedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerExitedEventArgs<D>::TransitProperties() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerExitedEventArgs<D>::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<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureRightTappedEventArgs<D>::DisplayName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureRightTappedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureRightTappedEventArgs<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureRightTappedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureRightTappedEventArgs<D>::TransitProperties() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureRightTappedEventArgs<D>::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<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperience) consume_Windows_UI_Xaml_Controls_Maps_IMapCustomExperienceFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapCustomExperienceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapElement<D>::ZIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement<D>::ZIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement)->get_ZIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement<D>::ZIndex(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement<D>::ZIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement)->put_ZIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapElement<D>::Visible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement<D>::Visible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement)->get_Visible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement<D>::Visible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement<D>::Visible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement)->put_Visible(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapElement2<D>::MapTabIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement2<D>::MapTabIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement2)->get_MapTabIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement2<D>::MapTabIndex(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement2<D>::MapTabIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement2)->put_MapTabIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3<D>::MapStyleSheetEntry() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3<D>::MapStyleSheetEntry(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3<D>::MapStyleSheetEntry(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3)->put_MapStyleSheetEntry(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3<D>::MapStyleSheetEntryState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3<D>::MapStyleSheetEntryState(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3<D>::MapStyleSheetEntryState(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3)->put_MapStyleSheetEntryState(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3<D>::Tag() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3<D>::Tag(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Model() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Model(winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Heading() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Heading() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->get_Heading(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Heading(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Heading(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->put_Heading(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Pitch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Pitch() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->get_Pitch(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Pitch(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Pitch(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->put_Pitch(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Roll() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Roll() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->get_Roll(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Roll(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Roll(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->put_Roll(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Scale() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics<D>::LocationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics<D>::HeadingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics<D>::PitchProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics<D>::RollProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics<D>::ScaleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapElement4<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement4<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement4)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElement4<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement4<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement4)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapElementClickEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementClickEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapElementClickEventArgs<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementClickEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>) consume_Windows_UI_Xaml_Controls_Maps_IMapElementClickEventArgs<D>::MapElements() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementClickEventArgs<D>::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<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElement) consume_Windows_UI_Xaml_Controls_Maps_IMapElementFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerEnteredEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerEnteredEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerEnteredEventArgs<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerEnteredEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElement) consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerEnteredEventArgs<D>::MapElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerEnteredEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerExitedEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerExitedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerExitedEventArgs<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerExitedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElement) consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerExitedEventArgs<D>::MapElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerExitedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics<D>::ZIndexProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics<D>::VisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics2<D>::MapTabIndexProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics3<D>::MapStyleSheetEntryProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics3<D>::MapStyleSheetEntryStateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics3<D>::TagProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics4<D>::IsEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElements() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::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<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElements(param::vector<winrt::Windows::UI::Xaml::Controls::Maps::MapElement> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElements(param::vector<winrt::Windows::UI::Xaml::Controls::Maps::MapElement> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->put_MapElements(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerClickEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerClickEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementClick_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerClickEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerClickEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MapElementClick_revoker>(this, MapElementClick(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementClick(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementPointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerPointerEnteredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementPointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerPointerEnteredEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementPointerEntered_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerPointerEnteredEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerPointerEnteredEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MapElementPointerEntered_revoker>(this, MapElementPointerEntered(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementPointerEntered(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementPointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerPointerExitedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementPointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerPointerExitedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementPointerExited_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerPointerExitedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerPointerExitedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MapElementPointerExited_revoker>(this, MapElementPointerExited(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapElementPointerExited(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapContextRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerContextRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapContextRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerContextRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapContextRequested_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerContextRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerContextRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MapContextRequested_revoker>(this, MapContextRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::MapContextRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerClickEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerClickEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerClickEventArgs<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerClickEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerClickEventArgs<D>::MapElements() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerClickEventArgs<D>::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<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerContextRequestedEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerContextRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerContextRequestedEventArgs<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerContextRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerContextRequestedEventArgs<D>::MapElements() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerContextRequestedEventArgs<D>::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<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerEnteredEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerEnteredEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerEnteredEventArgs<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerEnteredEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElement) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerEnteredEventArgs<D>::MapElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerEnteredEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerExitedEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerExitedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerExitedEventArgs<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerExitedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElement) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerExitedEventArgs<D>::MapElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerExitedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerStatics<D>::MapElementsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon<D>::Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon<D>::Title() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon<D>::NormalizedAnchorPoint() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon<D>::NormalizedAnchorPoint(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon<D>::Image() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon<D>::Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon2<D>::CollisionBehaviorDesired() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapIcon2<D>::CollisionBehaviorDesired(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics<D>::LocationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics<D>::TitleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics<D>::NormalizedAnchorPointProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics2<D>::CollisionBehaviorDesiredProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapInputEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapInputEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapInputEventArgs<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapInputEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl<D>::ItemsSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl<D>::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::DependencyObject>) consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl<D>::Items() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl<D>::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<winrt::Windows::UI::Xaml::DependencyObject>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl<D>::ItemTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl<D>::ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControlStatics<D>::ItemsSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControlStatics<D>::ItemsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControlStatics<D>::ItemTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapLayer<D>::MapTabIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer<D>::MapTabIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->get_MapTabIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapLayer<D>::MapTabIndex(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer<D>::MapTabIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->put_MapTabIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapLayer<D>::Visible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer<D>::Visible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->get_Visible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapLayer<D>::Visible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer<D>::Visible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->put_Visible(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapLayer<D>::ZIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer<D>::ZIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->get_ZIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapLayer<D>::ZIndex(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer<D>::ZIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->put_ZIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapLayer) consume_Windows_UI_Xaml_Controls_Maps_IMapLayerFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapLayerStatics<D>::MapTabIndexProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapLayerStatics<D>::VisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapLayerStatics<D>::ZIndexProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D) consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D>) consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DStatics<D>::CreateFrom3MFAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& source) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DStatics<D>::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<winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D>) consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DStatics<D>::CreateFrom3MFAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& source, winrt::Windows::UI::Xaml::Controls::Maps::MapModel3DShadingOption const& shadingOption) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DStatics<D>::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<int32_t>(shadingOption), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::Path() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::Path(winrt::Windows::Devices::Geolocation::Geopath const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::StrokeColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::StrokeColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::StrokeThickness() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::StrokeThickness() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->get_StrokeThickness(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::StrokeThickness(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::StrokeThickness(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->put_StrokeThickness(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::StrokeDashed() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::StrokeDashed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->get_StrokeDashed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::StrokeDashed(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::StrokeDashed(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->put_StrokeDashed(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::FillColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::FillColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Geolocation::Geopath>) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon2<D>::Paths() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon2<D>::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<winrt::Windows::Devices::Geolocation::Geopath>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygonStatics<D>::PathProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygonStatics<D>::StrokeThicknessProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapPolygonStatics<D>::StrokeDashedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline<D>::Path() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline<D>::Path(winrt::Windows::Devices::Geolocation::Geopath const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline<D>::StrokeColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline<D>::StrokeColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline<D>::StrokeThickness() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline<D>::StrokeThickness() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->get_StrokeThickness(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline<D>::StrokeThickness(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline<D>::StrokeThickness(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->put_StrokeThickness(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline<D>::StrokeDashed() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline<D>::StrokeDashed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->get_StrokeDashed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline<D>::StrokeDashed(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline<D>::StrokeDashed(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->put_StrokeDashed(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapPolylineStatics<D>::PathProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolylineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapPolylineStatics<D>::StrokeDashedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolylineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Controls_Maps_IMapRightTappedEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapRightTappedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IMapRightTappedEventArgs<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapRightTappedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView<D>::RouteColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView<D>::RouteColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView<D>::OutlineColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView<D>::OutlineColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapRoute) consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView<D>::Route() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapRouteView) consume_Windows_UI_Xaml_Controls_Maps_IMapRouteViewFactory<D>::CreateInstanceWithMapRoute(winrt::Windows::Services::Maps::MapRoute const& route, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteViewFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapScene<D>::TargetCamera() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapScene<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Maps_IMapScene<D>::TargetCameraChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapScene, winrt::Windows::UI::Xaml::Controls::Maps::MapTargetCameraChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapScene<D>::TargetCameraChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapScene, winrt::Windows::UI::Xaml::Controls::Maps::MapTargetCameraChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Maps_IMapScene<D>::TargetCameraChanged_revoker consume_Windows_UI_Xaml_Controls_Maps_IMapScene<D>::TargetCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapScene, winrt::Windows::UI::Xaml::Controls::Maps::MapTargetCameraChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapScene<D>::TargetCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapScene, winrt::Windows::UI::Xaml::Controls::Maps::MapTargetCameraChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TargetCameraChanged_revoker>(this, TargetCameraChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapScene<D>::TargetCameraChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapScene<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::CreateFromBoundingBox(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::CreateFromBoundingBox(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, double headingInDegrees, double pitchInDegrees) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::CreateFromCamera(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera const& camera) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::CreateFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::CreateFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::CreateFromLocationAndRadius(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::CreateFromLocationAndRadius(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters, double headingInDegrees, double pitchInDegrees) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::CreateFromLocations(param::iterable<winrt::Windows::Devices::Geolocation::Geopoint> const& locations) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::CreateFromLocations(param::iterable<winrt::Windows::Devices::Geolocation::Geopoint> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::CreateFromLocations(param::iterable<winrt::Windows::Devices::Geolocation::Geopoint> const& locations, double headingInDegrees, double pitchInDegrees) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics<D>::CreateFromLocations(param::iterable<winrt::Windows::Devices::Geolocation::Geopoint> 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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Area() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Airport() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Cemetery() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Continent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Education() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::IndigenousPeoplesReserve() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Island() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Medical() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Military() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Nautical() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Neighborhood() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Runway() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Sand() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::ShoppingCenter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Stadium() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Vegetation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Forest() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::GolfCourse() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Park() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::PlayingField() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Reserve() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Point() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::NaturalPoint() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Peak() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::VolcanicPeak() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::WaterPoint() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::PointOfInterest() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Business() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::FoodPoint() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::PopulatedPlace() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Capital() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::AdminDistrictCapital() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::CountryRegionCapital() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::RoadShield() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::RoadExit() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Transit() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Political() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::CountryRegion() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::AdminDistrict() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::District() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Structure() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Building() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::EducationBuilding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::MedicalBuilding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::TransitBuilding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Transportation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Road() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::ControlledAccessHighway() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::HighSpeedRamp() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Highway() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::MajorRoad() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::ArterialRoad() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Street() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Ramp() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::UnpavedStreet() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::TollRoad() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Railway() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Trail() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::WaterRoute() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::Water() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::River() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::RouteLine() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::WalkingRoute() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::DrivingRoute() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntryStatesStatics<D>::Disabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntryStatesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntryStatesStatics<D>::Hover() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntryStatesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntryStatesStatics<D>::Selected() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntryStatesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::Aerial() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::AerialWithOverlay() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::RoadLight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::RoadDark() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::RoadHighContrastLight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::RoadHighContrastDark() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::Combine(param::iterable<winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet> const& styleSheets) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::Combine(param::iterable<winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::ParseFromJson(param::hstring const& styleAsJson) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::TryParseFromJson(param::hstring const& styleAsJson, winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet& styleSheet) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera) consume_Windows_UI_Xaml_Controls_Maps_IMapTargetCameraChangedEventArgs<D>::Camera() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTargetCameraChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapCameraChangeReason) consume_Windows_UI_Xaml_Controls_Maps_IMapTargetCameraChangedEventArgs2<D>::ChangeReason() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTargetCameraChangedEventArgs2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequest<D>::PixelData() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequest<D>::PixelData(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequestDeferral) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs<D>::X() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs<D>::X() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs)->get_X(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs<D>::Y() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs<D>::Y() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs)->get_Y(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs<D>::ZoomLevel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs<D>::ZoomLevel() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs)->get_ZoomLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequest) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs2<D>::FrameIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs2<D>::FrameIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs2)->get_FrameIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource) consume_Windows_UI_Xaml_Controls_Maps_IMapTileDataSourceFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileDataSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::DataSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::DataSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileLayer) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::Layer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::Layer(winrt::Windows::UI::Xaml::Controls::Maps::MapTileLayer const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::ZoomLevelRange() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::ZoomLevelRange(winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::Bounds() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::Bounds(winrt::Windows::Devices::Geolocation::GeoboundingBox const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::AllowOverstretch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::AllowOverstretch() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_AllowOverstretch(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::AllowOverstretch(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::AllowOverstretch(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_AllowOverstretch(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::IsFadingEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::IsFadingEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_IsFadingEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::IsFadingEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::IsFadingEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_IsFadingEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::IsTransparencyEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::IsTransparencyEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_IsTransparencyEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::IsTransparencyEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::IsTransparencyEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_IsTransparencyEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::IsRetryEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::IsRetryEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_IsRetryEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::IsRetryEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::IsRetryEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_IsRetryEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::ZIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::ZIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_ZIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::ZIndex(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::ZIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_ZIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::TilePixelSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::TilePixelSize() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_TilePixelSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::TilePixelSize(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::TilePixelSize(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_TilePixelSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::Visible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::Visible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_Visible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::Visible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource<D>::Visible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_Visible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileAnimationState) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::AnimationState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::AutoPlay() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::AutoPlay() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->get_AutoPlay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::AutoPlay(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::AutoPlay(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->put_AutoPlay(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::FrameCount() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::FrameCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->get_FrameCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::FrameCount(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::FrameCount(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->put_FrameCount(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::FrameDuration() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::FrameDuration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::Pause() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::Pause() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->Pause());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::Play() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::Play() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->Play());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::Stop() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory<D>::CreateInstanceWithDataSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory<D>::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 <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory<D>::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 <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory<D>::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 <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::DataSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::LayerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::ZoomLevelRangeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::BoundsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::AllowOverstretchProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::IsFadingEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::IsTransparencyEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::IsRetryEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::ZIndexProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::TilePixelSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::VisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2<D>::AnimationStateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2<D>::AutoPlayProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2<D>::FrameCountProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2<D>::FrameDurationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequest<D>::Uri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequest<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestDeferral) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequest<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequest<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs<D>::X() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs<D>::X() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs)->get_X(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs<D>::Y() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs<D>::Y() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs)->get_Y(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs<D>::ZoomLevel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs<D>::ZoomLevel() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs)->get_ZoomLevel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequest) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs2<D>::FrameIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs2<D>::FrameIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs2)->get_FrameIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::AddressTextVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::AddressTextVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_AddressTextVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::AddressTextVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::AddressTextVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_AddressTextVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::CursorVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::CursorVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_CursorVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::CursorVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::CursorVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_CursorVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::OverviewMapVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::OverviewMapVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_OverviewMapVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::OverviewMapVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::OverviewMapVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_OverviewMapVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::StreetLabelsVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::StreetLabelsVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_StreetLabelsVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::StreetLabelsVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::StreetLabelsVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_StreetLabelsVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::ExitButtonVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::ExitButtonVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_ExitButtonVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::ExitButtonVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::ExitButtonVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_ExitButtonVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::ZoomButtonsVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::ZoomButtonsVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_ZoomButtonsVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::ZoomButtonsVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience<D>::ZoomButtonsVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_ZoomButtonsVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::StreetsideExperience) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperienceFactory<D>::CreateInstanceWithPanorama(winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama const& panorama) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperienceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::StreetsideExperience) consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperienceFactory<D>::CreateInstanceWithPanoramaHeadingPitchAndFieldOfView(winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama const& panorama, double headingInDegrees, double pitchInDegrees, double fieldOfViewInDegrees) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperienceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanorama<D>::Location() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanorama<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama>) consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanoramaStatics<D>::FindNearbyAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanoramaStatics<D>::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<winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama>) consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanoramaStatics<D>::FindNearbyAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanoramaStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.Primitives.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.Primitives.h
index 7183276e782..0711a20dd12 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.Primitives.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarButtonTemplateSettings<D>::KeyboardAcceleratorTextMinWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarButtonTemplateSettings<D>::KeyboardAcceleratorTextMinWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarButtonTemplateSettings)->get_KeyboardAcceleratorTextMinWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings<D>::ClipRect() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings<D>::CompactVerticalDelta() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings<D>::CompactVerticalDelta() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings)->get_CompactVerticalDelta(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings<D>::CompactRootMargin() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings<D>::MinimalVerticalDelta() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings<D>::MinimalVerticalDelta() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings)->get_MinimalVerticalDelta(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings<D>::MinimalRootMargin() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings<D>::HiddenVerticalDelta() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings<D>::HiddenVerticalDelta() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings)->get_HiddenVerticalDelta(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings<D>::HiddenRootMargin() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings2<D>::NegativeCompactVerticalDelta() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings2<D>::NegativeCompactVerticalDelta() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings2)->get_NegativeCompactVerticalDelta(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings2<D>::NegativeMinimalVerticalDelta() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings2<D>::NegativeMinimalVerticalDelta() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings2)->get_NegativeMinimalVerticalDelta(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings2<D>::NegativeHiddenVerticalDelta() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarTemplateSettings2<D>::NegativeHiddenVerticalDelta() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings2)->get_NegativeHiddenVerticalDelta(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IAppBarToggleButtonTemplateSettings<D>::KeyboardAcceleratorTextMinWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IAppBarToggleButtonTemplateSettings<D>::KeyboardAcceleratorTextMinWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarToggleButtonTemplateSettings)->get_KeyboardAcceleratorTextMinWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ClickMode) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::ClickMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::ClickMode(winrt::Windows::UI::Xaml::Controls::ClickMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::IsPointerOver() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::IsPointerOver() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBase)->get_IsPointerOver(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::IsPressed() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::IsPressed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBase)->get_IsPressed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::Command() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::CommandParameter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::Click(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::Click_revoker consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::Click(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::Click(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, Click_revoker>(this, Click(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::Click(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBase<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ButtonBase) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics<D>::ClickModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics<D>::IsPointerOverProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics<D>::IsPressedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics<D>::CommandProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics<D>::CommandParameterProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IButtonBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::MinViewWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::MinViewWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_MinViewWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::HeaderText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::WeekDay1() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::WeekDay2() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::WeekDay3() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::WeekDay4() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::WeekDay5() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::WeekDay6() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::WeekDay7() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::HasMoreContentAfter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::HasMoreContentAfter() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_HasMoreContentAfter(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::HasMoreContentBefore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::HasMoreContentBefore() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_HasMoreContentBefore(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::HasMoreViews() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::HasMoreViews() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_HasMoreViews(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::ClipRect() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::CenterX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::CenterX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_CenterX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::CenterY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICalendarViewTemplateSettings<D>::CenterY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings)->get_CenterY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::CanVerticallyScroll() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::CanVerticallyScroll() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->get_CanVerticallyScroll(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::CanVerticallyScroll(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::CanVerticallyScroll(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->put_CanVerticallyScroll(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::CanHorizontallyScroll() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::CanHorizontallyScroll() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->get_CanHorizontallyScroll(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::CanHorizontallyScroll(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::CanHorizontallyScroll(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->put_CanHorizontallyScroll(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::ExtentWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::ExtentWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->get_ExtentWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::ExtentHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::ExtentHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->get_ExtentHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::ViewportWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::ViewportWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->get_ViewportWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::ViewportHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::ViewportHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->get_ViewportHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::HorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::HorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->get_HorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::VerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::VerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->get_VerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::ScrollOwner() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::ScrollOwner(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::LineUp() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::LineUp() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->LineUp());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::LineDown() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::LineDown() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->LineDown());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::LineLeft() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::LineLeft() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->LineLeft());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::LineRight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::LineRight() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->LineRight());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::PageUp() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::PageUp() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->PageUp());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::PageDown() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::PageDown() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->PageDown());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::PageLeft() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::PageLeft() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->PageLeft());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::PageRight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::PageRight() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->PageRight());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::MouseWheelUp() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::MouseWheelUp() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->MouseWheelUp());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::MouseWheelDown() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::MouseWheelDown() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->MouseWheelDown());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::MouseWheelLeft() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::MouseWheelLeft() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->MouseWheelLeft());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::MouseWheelRight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::MouseWheelRight() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->MouseWheelRight());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::SetHorizontalOffset(double offset) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::SetHorizontalOffset(double offset) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->SetHorizontalOffset(offset));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::SetVerticalOffset(double offset) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::SetVerticalOffset(double offset) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel)->SetVerticalOffset(offset));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::MakeVisible(winrt::Windows::UI::Xaml::UIElement const& visual, winrt::Windows::Foundation::Rect const& rectangle) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::CarouselPanel) consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanelFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICarouselPanelFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorPickerHsvChannel) consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSlider<D>::ColorChannel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSlider<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSlider<D>::ColorChannel(winrt::Windows::UI::Xaml::Controls::ColorPickerHsvChannel const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSlider<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ColorPickerSlider) consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSliderFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSliderFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSliderStatics<D>::ColorChannelProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorPickerSliderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::Color() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::HsvColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::HsvColor(winrt::Windows::Foundation::Numerics::float4 const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MinHue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MinHue() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MinHue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MinHue(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MinHue(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MinHue(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MaxHue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MaxHue() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MaxHue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MaxHue(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MaxHue(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MaxHue(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MinSaturation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MinSaturation() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MinSaturation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MinSaturation(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MinSaturation(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MinSaturation(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MaxSaturation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MaxSaturation() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MaxSaturation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MaxSaturation(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MaxSaturation(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MaxSaturation(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MinValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MinValue() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MinValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MinValue(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MinValue(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MinValue(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MaxValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MaxValue() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->get_MaxValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MaxValue(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::MaxValue(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum)->put_MaxValue(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::Shape() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::Shape(winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::Components() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::Components(winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::ColorChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum, winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::ColorChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum, winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::ColorChanged_revoker consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::ColorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum, winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::ColorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum, winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ColorChanged_revoker>(this, ColorChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::ColorChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrum<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::ColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::HsvColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::MinHueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::MaxHueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::MinSaturationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::MaxSaturationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::MinValueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::MaxValueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::ShapeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::ComponentsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IColorSpectrumStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings<D>::DropDownOpenedHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings<D>::DropDownOpenedHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IComboBoxTemplateSettings)->get_DropDownOpenedHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings<D>::DropDownClosedHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings<D>::DropDownClosedHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IComboBoxTemplateSettings)->get_DropDownClosedHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings<D>::DropDownOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings<D>::DropDownOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IComboBoxTemplateSettings)->get_DropDownOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection) consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings<D>::SelectedItemDirection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings2<D>::DropDownContentMinWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings2<D>::DropDownContentMinWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IComboBoxTemplateSettings2)->get_DropDownContentMinWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::CommandBarFlyoutCommandBarTemplateSettings) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBar<D>::FlyoutTemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::CommandBarFlyoutCommandBar) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarFactory<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::OpenAnimationStartPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::OpenAnimationStartPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_OpenAnimationStartPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::OpenAnimationEndPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::OpenAnimationEndPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_OpenAnimationEndPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::CloseAnimationEndPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::CloseAnimationEndPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_CloseAnimationEndPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::CurrentWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::CurrentWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_CurrentWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandedWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandedWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandedWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::WidthExpansionDelta() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::WidthExpansionDelta() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_WidthExpansionDelta(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::WidthExpansionAnimationStartPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::WidthExpansionAnimationStartPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_WidthExpansionAnimationStartPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::WidthExpansionAnimationEndPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::WidthExpansionAnimationEndPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_WidthExpansionAnimationEndPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::WidthExpansionMoreButtonAnimationStartPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::WidthExpansionMoreButtonAnimationStartPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_WidthExpansionMoreButtonAnimationStartPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::WidthExpansionMoreButtonAnimationEndPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::WidthExpansionMoreButtonAnimationEndPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_WidthExpansionMoreButtonAnimationEndPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandUpOverflowVerticalPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandUpOverflowVerticalPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandUpOverflowVerticalPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandDownOverflowVerticalPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandDownOverflowVerticalPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandDownOverflowVerticalPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandUpAnimationStartPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandUpAnimationStartPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandUpAnimationStartPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandUpAnimationEndPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandUpAnimationEndPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandUpAnimationEndPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandUpAnimationHoldPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandUpAnimationHoldPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandUpAnimationHoldPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandDownAnimationStartPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandDownAnimationStartPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandDownAnimationStartPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandDownAnimationEndPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandDownAnimationEndPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandDownAnimationEndPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandDownAnimationHoldPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ExpandDownAnimationHoldPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings)->get_ExpandDownAnimationHoldPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::ContentClipRect() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::OverflowContentClipRect() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarFlyoutCommandBarTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings<D>::ContentHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings<D>::ContentHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings)->get_ContentHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings<D>::OverflowContentClipRect() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings<D>::OverflowContentMinWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings<D>::OverflowContentMinWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings)->get_OverflowContentMinWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings<D>::OverflowContentMaxHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings<D>::OverflowContentMaxHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings)->get_OverflowContentMaxHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings<D>::OverflowContentHorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings<D>::OverflowContentHorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings)->get_OverflowContentHorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings<D>::OverflowContentHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings<D>::OverflowContentHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings)->get_OverflowContentHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings<D>::NegativeOverflowContentHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings<D>::NegativeOverflowContentHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings)->get_NegativeOverflowContentHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings2<D>::OverflowContentMaxWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings2<D>::OverflowContentMaxWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings2)->get_OverflowContentMaxWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings3<D>::EffectiveOverflowButtonVisibility() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings3<D>::EffectiveOverflowButtonVisibility() const
{
winrt::Windows::UI::Xaml::Visibility value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings3)->get_EffectiveOverflowButtonVisibility(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings4<D>::OverflowContentCompactYTranslation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings4<D>::OverflowContentCompactYTranslation() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings4)->get_OverflowContentCompactYTranslation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings4<D>::OverflowContentMinimalYTranslation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings4<D>::OverflowContentMinimalYTranslation() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings4)->get_OverflowContentMinimalYTranslation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings4<D>::OverflowContentHiddenYTranslation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings4<D>::OverflowContentHiddenYTranslation() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings4)->get_OverflowContentHiddenYTranslation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgs<D>::HorizontalChange() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgs<D>::HorizontalChange() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IDragCompletedEventArgs)->get_HorizontalChange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgs<D>::VerticalChange() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgs<D>::VerticalChange() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IDragCompletedEventArgs)->get_VerticalChange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgs<D>::Canceled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgs<D>::Canceled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IDragCompletedEventArgs)->get_Canceled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::DragCompletedEventArgs) consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgsFactory<D>::CreateInstanceWithHorizontalChangeVerticalChangeAndCanceled(double horizontalChange, double verticalChange, bool canceled, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IDragCompletedEventArgsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IDragDeltaEventArgs<D>::HorizontalChange() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IDragDeltaEventArgs<D>::HorizontalChange() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IDragDeltaEventArgs)->get_HorizontalChange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IDragDeltaEventArgs<D>::VerticalChange() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IDragDeltaEventArgs<D>::VerticalChange() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IDragDeltaEventArgs)->get_VerticalChange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::DragDeltaEventArgs) consume_Windows_UI_Xaml_Controls_Primitives_IDragDeltaEventArgsFactory<D>::CreateInstanceWithHorizontalChangeAndVerticalChange(double horizontalChange, double verticalChange, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IDragDeltaEventArgsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IDragStartedEventArgs<D>::HorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IDragStartedEventArgs<D>::HorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IDragStartedEventArgs)->get_HorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IDragStartedEventArgs<D>::VerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IDragStartedEventArgs<D>::VerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IDragStartedEventArgs)->get_VerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::DragStartedEventArgs) consume_Windows_UI_Xaml_Controls_Primitives_IDragStartedEventArgsFactory<D>::CreateInstanceWithHorizontalOffsetAndVerticalOffset(double horizontalOffset, double verticalOffset, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IDragStartedEventArgsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Placement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Placement(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Opened(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Opened(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Opened_revoker consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Opened_revoker>(this, Opened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Opened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Closed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Closed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Closed_revoker consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Opening(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Opening(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Opening_revoker consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Opening(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Opening(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Opening_revoker>(this, Opening(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Opening(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::ShowAt(winrt::Windows::UI::Xaml::FrameworkElement const& placementTarget) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Hide() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase<D>::Hide() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase)->Hide());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FrameworkElement) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::Target() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::AllowFocusOnInteraction() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::AllowFocusOnInteraction() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2)->get_AllowFocusOnInteraction(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::AllowFocusOnInteraction(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::AllowFocusOnInteraction(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2)->put_AllowFocusOnInteraction(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::LightDismissOverlayMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::AllowFocusWhenDisabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::AllowFocusWhenDisabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2)->get_AllowFocusWhenDisabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::AllowFocusWhenDisabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::AllowFocusWhenDisabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2)->put_AllowFocusWhenDisabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSoundMode) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::ElementSoundMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::ElementSoundMode() const
{
winrt::Windows::UI::Xaml::ElementSoundMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2)->get_ElementSoundMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::Closing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBaseClosingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::Closing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBaseClosingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::Closing_revoker consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBaseClosingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBaseClosingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Closing_revoker>(this, Closing(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::Closing(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase3<D>::OverlayInputPassThroughElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase3<D>::OverlayInputPassThroughElement(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase4<D>::TryInvokeKeyboardAccelerator(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5<D>::ShowMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5<D>::ShowMode(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5<D>::InputDevicePrefersPrimaryCommands() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5<D>::InputDevicePrefersPrimaryCommands() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase5)->get_InputDevicePrefersPrimaryCommands(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5<D>::AreOpenCloseAnimationsEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5<D>::AreOpenCloseAnimationsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase5)->get_AreOpenCloseAnimationsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5<D>::AreOpenCloseAnimationsEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5<D>::AreOpenCloseAnimationsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase5)->put_AreOpenCloseAnimationsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5<D>::IsOpen() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5<D>::IsOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase5)->get_IsOpen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5<D>::ShowAt(winrt::Windows::UI::Xaml::DependencyObject const& placementTarget, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowOptions const& showOptions) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase5<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6<D>::ShouldConstrainToRootBounds() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6<D>::ShouldConstrainToRootBounds() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase6)->get_ShouldConstrainToRootBounds(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6<D>::ShouldConstrainToRootBounds(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6<D>::ShouldConstrainToRootBounds(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase6)->put_ShouldConstrainToRootBounds(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6<D>::IsConstrainedToRootBounds() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6<D>::IsConstrainedToRootBounds() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase6)->get_IsConstrainedToRootBounds(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::XamlRoot) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6<D>::XamlRoot() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6<D>::XamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBase6<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseClosingEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseClosingEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseClosingEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseClosingEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseClosingEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseClosingEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Control) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseOverrides<D>::CreatePresenter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseOverrides4<D>::OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseOverrides4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics<D>::PlacementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics<D>::AttachedFlyoutProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics<D>::GetAttachedFlyout(winrt::Windows::UI::Xaml::FrameworkElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics<D>::SetAttachedFlyout(winrt::Windows::UI::Xaml::FrameworkElement const& element, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics<D>::ShowAttachedFlyout(winrt::Windows::UI::Xaml::FrameworkElement const& flyoutOwner) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics2<D>::AllowFocusOnInteractionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics2<D>::LightDismissOverlayModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics2<D>::AllowFocusWhenDisabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics2<D>::ElementSoundModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics3<D>::OverlayInputPassThroughElementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5<D>::TargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5<D>::ShowModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5<D>::InputDevicePrefersPrimaryCommandsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5<D>::AreOpenCloseAnimationsEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5<D>::IsOpenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics6<D>::ShouldConstrainToRootBoundsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutBaseStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions<D>::Position() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutShowOptions)->get_Position(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions<D>::Position(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions<D>::Position(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutShowOptions)->put_Position(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect>) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions<D>::ExclusionRect() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions<D>::ExclusionRect() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutShowOptions)->get_ExclusionRect(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions<D>::ExclusionRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions<D>::ExclusionRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutShowOptions)->put_ExclusionRect(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions<D>::ShowMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions<D>::ShowMode(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions<D>::Placement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions<D>::Placement(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutPlacementMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutShowOptions) consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptionsFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptionsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition) consume_Windows_UI_Xaml_Controls_Primitives_IGeneratorPositionHelperStatics<D>::FromIndexAndOffset(int32_t index, int32_t offset) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGeneratorPositionHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::SelectionCheckMarkVisualEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::SelectionCheckMarkVisualEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_SelectionCheckMarkVisualEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::SelectionCheckMarkVisualEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::SelectionCheckMarkVisualEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_SelectionCheckMarkVisualEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::CheckHintBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::CheckHintBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::CheckSelectingBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::CheckSelectingBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::CheckBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::CheckBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::DragBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::DragBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::DragForeground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::DragForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::FocusBorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::FocusBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::PlaceholderBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::PlaceholderBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::PointerOverBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::PointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::SelectedBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::SelectedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::SelectedForeground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::SelectedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::SelectedPointerOverBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::SelectedPointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::SelectedPointerOverBorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::SelectedPointerOverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::SelectedBorderThickness() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::SelectedBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::DisabledOpacity() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::DisabledOpacity() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_DisabledOpacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::DisabledOpacity(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::DisabledOpacity(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_DisabledOpacity(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::DragOpacity() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::DragOpacity() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_DragOpacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::DragOpacity(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::DragOpacity(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_DragOpacity(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::ReorderHintOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::ReorderHintOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_ReorderHintOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::ReorderHintOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::ReorderHintOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->put_ReorderHintOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::GridViewItemPresenterHorizontalContentAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::GridViewItemPresenterHorizontalContentAlignment() const
{
winrt::Windows::UI::Xaml::HorizontalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_GridViewItemPresenterHorizontalContentAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::GridViewItemPresenterHorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::GridViewItemPresenterVerticalContentAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::GridViewItemPresenterVerticalContentAlignment() const
{
winrt::Windows::UI::Xaml::VerticalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter)->get_GridViewItemPresenterVerticalContentAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::GridViewItemPresenterVerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::GridViewItemPresenterPadding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::GridViewItemPresenterPadding(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::PointerOverBackgroundMargin() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::PointerOverBackgroundMargin(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::ContentMargin() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::ContentMargin(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GridViewItemPresenter) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::SelectionCheckMarkVisualEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::CheckHintBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::CheckSelectingBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::CheckBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::DragBackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::DragForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::FocusBorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::PlaceholderBackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::PointerOverBackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::SelectedBackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::SelectedForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::SelectedPointerOverBackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::SelectedPointerOverBorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::SelectedBorderThicknessProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::DisabledOpacityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::DragOpacityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::ReorderHintOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::GridViewItemPresenterHorizontalContentAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::GridViewItemPresenterVerticalContentAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::GridViewItemPresenterPaddingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::PointerOverBackgroundMarginProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::ContentMarginProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemTemplateSettings<D>::DragItemsCount() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemTemplateSettings<D>::DragItemsCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemTemplateSettings)->get_DragItemsCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs<D>::Action() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs<D>::Action() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IItemsChangedEventArgs)->get_Action(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition) consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition) consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs<D>::OldPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs<D>::ItemCount() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs<D>::ItemCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IItemsChangedEventArgs)->get_ItemCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs<D>::ItemUICount() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IItemsChangedEventArgs<D>::ItemUICount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IItemsChangedEventArgs)->get_ItemUICount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverter<D>::Enabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverter<D>::Enabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverter<D>::Disabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverter<D>::Disabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverterStatics<D>::EnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverterStatics<D>::DisabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemBackgroundConverterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverter<D>::Enabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverter<D>::Enabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverter<D>::Disabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverter<D>::Disabled(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverterStatics<D>::EnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverterStatics<D>::DisabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IJumpListItemForegroundConverterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_Primitives_ILayoutInformationStatics<D>::GetLayoutExceptionElement(winrt::Windows::Foundation::IInspectable const& dispatcher) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILayoutInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_Primitives_ILayoutInformationStatics<D>::GetLayoutSlot(winrt::Windows::UI::Xaml::FrameworkElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILayoutInformationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_Controls_Primitives_ILayoutInformationStatics2<D>::GetAvailableSize(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILayoutInformationStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::SelectionCheckMarkVisualEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::SelectionCheckMarkVisualEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_SelectionCheckMarkVisualEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::SelectionCheckMarkVisualEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::SelectionCheckMarkVisualEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_SelectionCheckMarkVisualEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::CheckHintBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::CheckHintBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::CheckSelectingBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::CheckSelectingBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::CheckBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::CheckBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::DragBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::DragBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::DragForeground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::DragForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::FocusBorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::FocusBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::PlaceholderBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::PlaceholderBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::PointerOverBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::PointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::SelectedBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::SelectedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::SelectedForeground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::SelectedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::SelectedPointerOverBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::SelectedPointerOverBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::SelectedPointerOverBorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::SelectedPointerOverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::SelectedBorderThickness() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::SelectedBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::DisabledOpacity() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::DisabledOpacity() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_DisabledOpacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::DisabledOpacity(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::DisabledOpacity(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_DisabledOpacity(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::DragOpacity() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::DragOpacity() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_DragOpacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::DragOpacity(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::DragOpacity(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_DragOpacity(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::ReorderHintOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::ReorderHintOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_ReorderHintOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::ReorderHintOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::ReorderHintOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->put_ReorderHintOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::ListViewItemPresenterHorizontalContentAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::ListViewItemPresenterHorizontalContentAlignment() const
{
winrt::Windows::UI::Xaml::HorizontalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_ListViewItemPresenterHorizontalContentAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::ListViewItemPresenterHorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::ListViewItemPresenterVerticalContentAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::ListViewItemPresenterVerticalContentAlignment() const
{
winrt::Windows::UI::Xaml::VerticalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter)->get_ListViewItemPresenterVerticalContentAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::ListViewItemPresenterVerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::ListViewItemPresenterPadding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::ListViewItemPresenterPadding(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::PointerOverBackgroundMargin() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::PointerOverBackgroundMargin(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::ContentMargin() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::ContentMargin(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::SelectedPressedBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::SelectedPressedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::PressedBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::PressedBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::CheckBoxBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::CheckBoxBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::FocusSecondaryBorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::FocusSecondaryBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemPresenterCheckMode) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::CheckMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::CheckMode(winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemPresenterCheckMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::PointerOverForeground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::PointerOverForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3<D>::RevealBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3<D>::RevealBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3<D>::RevealBorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3<D>::RevealBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3<D>::RevealBorderThickness() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3<D>::RevealBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3<D>::RevealBackgroundShowsAboveContent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3<D>::RevealBackgroundShowsAboveContent() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter3)->get_RevealBackgroundShowsAboveContent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3<D>::RevealBackgroundShowsAboveContent(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenter3<D>::RevealBackgroundShowsAboveContent(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter3)->put_RevealBackgroundShowsAboveContent(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemPresenter) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::SelectionCheckMarkVisualEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::CheckHintBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::CheckSelectingBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::CheckBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::DragBackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::DragForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::FocusBorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::PlaceholderBackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::PointerOverBackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::SelectedBackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::SelectedForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::SelectedPointerOverBackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::SelectedPointerOverBorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::SelectedBorderThicknessProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::DisabledOpacityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::DragOpacityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::ReorderHintOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::ListViewItemPresenterHorizontalContentAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::ListViewItemPresenterVerticalContentAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::ListViewItemPresenterPaddingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::PointerOverBackgroundMarginProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::ContentMarginProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2<D>::SelectedPressedBackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2<D>::PressedBackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2<D>::CheckBoxBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2<D>::FocusSecondaryBorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2<D>::CheckModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2<D>::PointerOverForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics3<D>::RevealBackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics3<D>::RevealBorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics3<D>::RevealBorderThicknessProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics3<D>::RevealBackgroundShowsAboveContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemPresenterStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemTemplateSettings<D>::DragItemsCount() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemTemplateSettings<D>::DragItemsCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemTemplateSettings)->get_DragItemsCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::ShouldLoop() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::ShouldLoop() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->get_ShouldLoop(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::ShouldLoop(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::ShouldLoop(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->put_ShouldLoop(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::Items() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::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<winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::Items(param::vector<winrt::Windows::Foundation::IInspectable> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::Items(param::vector<winrt::Windows::Foundation::IInspectable> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->put_Items(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::SelectedIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::SelectedIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->get_SelectedIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::SelectedIndex(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::SelectedIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->put_SelectedIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::SelectedItem() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::ItemWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::ItemWidth() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->get_ItemWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::ItemWidth(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::ItemWidth(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->put_ItemWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::ItemHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::ItemHeight() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->get_ItemHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::ItemHeight(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::ItemHeight(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector)->put_ItemHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::ItemTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::SelectionChanged_revoker consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, SelectionChanged_revoker>(this, SelectionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::SelectionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics<D>::ShouldLoopProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics<D>::ItemsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics<D>::SelectedIndexProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics<D>::SelectedItemProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics<D>::ItemWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics<D>::ItemHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics<D>::ItemTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ILoopingSelectorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IMenuFlyoutItemTemplateSettings<D>::KeyboardAcceleratorTextMinWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IMenuFlyoutItemTemplateSettings<D>::KeyboardAcceleratorTextMinWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IMenuFlyoutItemTemplateSettings)->get_KeyboardAcceleratorTextMinWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IMenuFlyoutPresenterTemplateSettings<D>::FlyoutContentMinWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IMenuFlyoutPresenterTemplateSettings<D>::FlyoutContentMinWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IMenuFlyoutPresenterTemplateSettings)->get_FlyoutContentMinWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenter<D>::Icon() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenter<D>::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::NavigationViewItemPresenter) consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterStatics<D>::IconProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_INavigationViewItemPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::CanVerticallyScroll() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::CanVerticallyScroll() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->get_CanVerticallyScroll(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::CanVerticallyScroll(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::CanVerticallyScroll(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->put_CanVerticallyScroll(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::CanHorizontallyScroll() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::CanHorizontallyScroll() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->get_CanHorizontallyScroll(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::CanHorizontallyScroll(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::CanHorizontallyScroll(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->put_CanHorizontallyScroll(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::ExtentWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::ExtentWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->get_ExtentWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::ExtentHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::ExtentHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->get_ExtentHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::ViewportWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::ViewportWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->get_ViewportWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::ViewportHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::ViewportHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->get_ViewportHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::HorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::HorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->get_HorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::VerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::VerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->get_VerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::ScrollOwner() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::ScrollOwner(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::LineUp() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::LineUp() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->LineUp());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::LineDown() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::LineDown() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->LineDown());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::LineLeft() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::LineLeft() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->LineLeft());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::LineRight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::LineRight() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->LineRight());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::PageUp() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::PageUp() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->PageUp());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::PageDown() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::PageDown() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->PageDown());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::PageLeft() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::PageLeft() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->PageLeft());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::PageRight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::PageRight() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->PageRight());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::MouseWheelUp() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::MouseWheelUp() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->MouseWheelUp());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::MouseWheelDown() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::MouseWheelDown() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->MouseWheelDown());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::MouseWheelLeft() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::MouseWheelLeft() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->MouseWheelLeft());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::MouseWheelRight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::MouseWheelRight() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->MouseWheelRight());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::SetHorizontalOffset(double offset) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::SetHorizontalOffset(double offset) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->SetHorizontalOffset(offset));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::SetVerticalOffset(double offset) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::SetVerticalOffset(double offset) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel)->SetVerticalOffset(offset));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::MakeVisible(winrt::Windows::UI::Xaml::UIElement const& visual, winrt::Windows::Foundation::Rect const& rectangle) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IOrientedVirtualizingPanel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::PickerFlyoutBase) consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseOverrides<D>::OnConfirmed() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseOverrides<D>::OnConfirmed() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPickerFlyoutBaseOverrides)->OnConfirmed());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseOverrides<D>::ShouldShowConfirmationButtons() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseOverrides<D>::ShouldShowConfirmationButtons() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPickerFlyoutBaseOverrides)->ShouldShowConfirmationButtons(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseStatics<D>::TitleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseStatics<D>::GetTitle(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseStatics<D>::SetTitle(winrt::Windows::UI::Xaml::DependencyObject const& element, param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPickerFlyoutBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::PivotHeaderItem) consume_Windows_UI_Xaml_Controls_Primitives_IPivotHeaderItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPivotHeaderItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::Child() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::Child(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::IsOpen() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::IsOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->get_IsOpen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::IsOpen(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::IsOpen(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->put_IsOpen(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::HorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::HorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->get_HorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::HorizontalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::HorizontalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->put_HorizontalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::VerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::VerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->get_VerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::VerticalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::VerticalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->put_VerticalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::ChildTransitions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::ChildTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::IsLightDismissEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::IsLightDismissEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->get_IsLightDismissEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::IsLightDismissEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::IsLightDismissEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup)->put_IsLightDismissEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::Opened(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::Opened(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::Opened_revoker consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Opened_revoker>(this, Opened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::Opened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::Closed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::Closed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::Closed_revoker consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_Primitives_IPopup2<D>::LightDismissOverlayMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup2<D>::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IPopup3<D>::ShouldConstrainToRootBounds() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup3<D>::ShouldConstrainToRootBounds() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup3)->get_ShouldConstrainToRootBounds(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IPopup3<D>::ShouldConstrainToRootBounds(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup3<D>::ShouldConstrainToRootBounds(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup3)->put_ShouldConstrainToRootBounds(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IPopup3<D>::IsConstrainedToRootBounds() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopup3<D>::IsConstrainedToRootBounds() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IPopup3)->get_IsConstrainedToRootBounds(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics<D>::ChildProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics<D>::IsOpenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics<D>::HorizontalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics<D>::VerticalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics<D>::ChildTransitionsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics<D>::IsLightDismissEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics2<D>::LightDismissOverlayModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics3<D>::ShouldConstrainToRootBoundsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IPopupStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings<D>::EllipseDiameter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings<D>::EllipseDiameter() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressBarTemplateSettings)->get_EllipseDiameter(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings<D>::EllipseOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings<D>::EllipseOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressBarTemplateSettings)->get_EllipseOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings<D>::EllipseAnimationWellPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings<D>::EllipseAnimationWellPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressBarTemplateSettings)->get_EllipseAnimationWellPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings<D>::EllipseAnimationEndPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings<D>::EllipseAnimationEndPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressBarTemplateSettings)->get_EllipseAnimationEndPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings<D>::ContainerAnimationStartPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings<D>::ContainerAnimationStartPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressBarTemplateSettings)->get_ContainerAnimationStartPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings<D>::ContainerAnimationEndPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings<D>::ContainerAnimationEndPosition() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressBarTemplateSettings)->get_ContainerAnimationEndPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings<D>::IndicatorLengthDelta() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressBarTemplateSettings<D>::IndicatorLengthDelta() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressBarTemplateSettings)->get_IndicatorLengthDelta(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressRingTemplateSettings<D>::EllipseDiameter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressRingTemplateSettings<D>::EllipseDiameter() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressRingTemplateSettings)->get_EllipseDiameter(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_IProgressRingTemplateSettings<D>::EllipseOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressRingTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IProgressRingTemplateSettings<D>::MaxSideLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IProgressRingTemplateSettings<D>::MaxSideLength() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IProgressRingTemplateSettings)->get_MaxSideLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::Minimum() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::Minimum() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->get_Minimum(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::Minimum(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::Minimum(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->put_Minimum(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::Maximum() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::Maximum() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->get_Maximum(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::Maximum(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::Maximum(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->put_Maximum(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::SmallChange() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::SmallChange() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->get_SmallChange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::SmallChange(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::SmallChange(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->put_SmallChange(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::LargeChange() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::LargeChange() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->get_LargeChange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::LargeChange(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::LargeChange(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->put_LargeChange(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::Value() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::Value() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->get_Value(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::Value(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::Value(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase)->put_Value(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::ValueChanged(winrt::Windows::UI::Xaml::Controls::Primitives::RangeBaseValueChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::ValueChanged_revoker consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::ValueChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::RangeBaseValueChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::ValueChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::RangeBaseValueChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, ValueChanged_revoker>(this, ValueChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::ValueChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBase<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::RangeBase) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseOverrides<D>::OnMinimumChanged(double oldMinimum, double newMinimum) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseOverrides<D>::OnMinimumChanged(double oldMinimum, double newMinimum) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseOverrides)->OnMinimumChanged(oldMinimum, newMinimum));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseOverrides<D>::OnMaximumChanged(double oldMaximum, double newMaximum) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseOverrides<D>::OnMaximumChanged(double oldMaximum, double newMaximum) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseOverrides)->OnMaximumChanged(oldMaximum, newMaximum));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseOverrides<D>::OnValueChanged(double oldValue, double newValue) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseOverrides<D>::OnValueChanged(double oldValue, double newValue) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseOverrides)->OnValueChanged(oldValue, newValue));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics<D>::MinimumProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics<D>::MaximumProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics<D>::SmallChangeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics<D>::LargeChangeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics<D>::ValueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseValueChangedEventArgs<D>::OldValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseValueChangedEventArgs<D>::OldValue() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseValueChangedEventArgs)->get_OldValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseValueChangedEventArgs<D>::NewValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRangeBaseValueChangedEventArgs<D>::NewValue() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseValueChangedEventArgs)->get_NewValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButton<D>::Delay() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButton<D>::Delay() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRepeatButton)->get_Delay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButton<D>::Delay(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButton<D>::Delay(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRepeatButton)->put_Delay(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButton<D>::Interval() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButton<D>::Interval() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRepeatButton)->get_Interval(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButton<D>::Interval(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButton<D>::Interval(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IRepeatButton)->put_Interval(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButtonStatics<D>::DelayProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButtonStatics<D>::IntervalProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IRepeatButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::ViewportSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::ViewportSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollBar)->get_ViewportSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::ViewportSize(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::ViewportSize(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollBar)->put_ViewportSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollingIndicatorMode) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::IndicatorMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::IndicatorMode(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollingIndicatorMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::Scroll(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::Scroll_revoker consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::Scroll(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::ScrollEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::Scroll(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::ScrollEventHandler const& handler) const
{
return impl::make_event_revoker<D, Scroll_revoker>(this, Scroll(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::Scroll(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBarStatics<D>::OrientationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBarStatics<D>::ViewportSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IScrollBarStatics<D>::IndicatorModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollBarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IScrollEventArgs<D>::NewValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollEventArgs<D>::NewValue() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollEventArgs)->get_NewValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ScrollEventType) consume_Windows_UI_Xaml_Controls_Primitives_IScrollEventArgs<D>::ScrollEventType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollEventArgs<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::AreHorizontalSnapPointsRegular() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::AreHorizontalSnapPointsRegular() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollSnapPointsInfo)->get_AreHorizontalSnapPointsRegular(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::AreVerticalSnapPointsRegular() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::AreVerticalSnapPointsRegular() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IScrollSnapPointsInfo)->get_AreVerticalSnapPointsRegular(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::HorizontalSnapPointsChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::HorizontalSnapPointsChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::HorizontalSnapPointsChanged_revoker consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::HorizontalSnapPointsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::HorizontalSnapPointsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, HorizontalSnapPointsChanged_revoker>(this, HorizontalSnapPointsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::HorizontalSnapPointsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::VerticalSnapPointsChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::VerticalSnapPointsChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::VerticalSnapPointsChanged_revoker consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::VerticalSnapPointsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::VerticalSnapPointsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, VerticalSnapPointsChanged_revoker>(this, VerticalSnapPointsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::VerticalSnapPointsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<float>) consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::GetIrregularSnapPoints(winrt::Windows::UI::Xaml::Controls::Orientation const& orientation, winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& alignment) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::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<int32_t>(orientation), static_cast<int32_t>(alignment), &result));
return winrt::Windows::Foundation::Collections::IVectorView<float>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::GetRegularSnapPoints(winrt::Windows::UI::Xaml::Controls::Orientation const& orientation, winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& alignment, float& offset) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IScrollSnapPointsInfo<D>::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<int32_t>(orientation), static_cast<int32_t>(alignment), &offset, &returnValue));
return returnValue;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::SelectedIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::SelectedIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelector)->get_SelectedIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::SelectedIndex(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::SelectedIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelector)->put_SelectedIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::SelectedItem() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::SelectedValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::SelectedValue(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::SelectedValuePath() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::SelectedValuePath(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::SelectedValuePath(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelector)->put_SelectedValuePath(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::IsSynchronizedWithCurrentItem() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::IsSynchronizedWithCurrentItem() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelector)->get_IsSynchronizedWithCurrentItem(&value));
return winrt::Windows::Foundation::IReference<bool>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::IsSynchronizedWithCurrentItem(winrt::Windows::Foundation::IReference<bool> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::IsSynchronizedWithCurrentItem(winrt::Windows::Foundation::IReference<bool> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelector)->put_IsSynchronizedWithCurrentItem(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::SelectionChanged_revoker consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, SelectionChanged_revoker>(this, SelectionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::SelectionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelector<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItem<D>::IsSelected() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItem<D>::IsSelected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelectorItem)->get_IsSelected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItem<D>::IsSelected(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItem<D>::IsSelected(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISelectorItem)->put_IsSelected(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItemStatics<D>::IsSelectedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics<D>::SelectedIndexProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics<D>::SelectedItemProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics<D>::SelectedValueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics<D>::SelectedValuePathProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics<D>::IsSynchronizedWithCurrentItemProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics<D>::GetIsSelectionActive(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISelectorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings<D>::HeaderBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings<D>::HeaderForeground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings<D>::BorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings<D>::BorderThickness() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings<D>::IconSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings<D>::ContentTransitions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISettingsFlyoutTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings<D>::OpenPaneLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings<D>::OpenPaneLength() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISplitViewTemplateSettings)->get_OpenPaneLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings<D>::NegativeOpenPaneLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings<D>::NegativeOpenPaneLength() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISplitViewTemplateSettings)->get_NegativeOpenPaneLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings<D>::OpenPaneLengthMinusCompactLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings<D>::OpenPaneLengthMinusCompactLength() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISplitViewTemplateSettings)->get_OpenPaneLengthMinusCompactLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings<D>::NegativeOpenPaneLengthMinusCompactLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings<D>::NegativeOpenPaneLengthMinusCompactLength() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::ISplitViewTemplateSettings)->get_NegativeOpenPaneLengthMinusCompactLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings<D>::OpenPaneGridLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings<D>::CompactPaneGridLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ISplitViewTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::IsDragging() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::IsDragging() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IThumb)->get_IsDragging(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::DragStarted(winrt::Windows::UI::Xaml::Controls::Primitives::DragStartedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::DragStarted_revoker consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::DragStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragStartedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::DragStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragStartedEventHandler const& handler) const
{
return impl::make_event_revoker<D, DragStarted_revoker>(this, DragStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::DragStarted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::DragDelta(winrt::Windows::UI::Xaml::Controls::Primitives::DragDeltaEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::DragDelta_revoker consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::DragDelta(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragDeltaEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::DragDelta(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragDeltaEventHandler const& handler) const
{
return impl::make_event_revoker<D, DragDelta_revoker>(this, DragDelta(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::DragDelta(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::DragCompleted(winrt::Windows::UI::Xaml::Controls::Primitives::DragCompletedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::DragCompleted_revoker consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::DragCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragCompletedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::DragCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::DragCompletedEventHandler const& handler) const
{
return impl::make_event_revoker<D, DragCompleted_revoker>(this, DragCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::DragCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::CancelDrag() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IThumb<D>::CancelDrag() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IThumb)->CancelDrag());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IThumbStatics<D>::IsDraggingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IThumbStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_Primitives_ITickBar<D>::Fill() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ITickBar<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_ITickBar<D>::Fill(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ITickBar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_ITickBarStatics<D>::FillProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_ITickBarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::IsChecked() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::IsChecked() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton)->get_IsChecked(&value));
return winrt::Windows::Foundation::IReference<bool>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::IsChecked(winrt::Windows::Foundation::IReference<bool> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::IsChecked(winrt::Windows::Foundation::IReference<bool> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton)->put_IsChecked(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::IsThreeState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::IsThreeState() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton)->get_IsThreeState(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::IsThreeState(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::IsThreeState(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton)->put_IsThreeState(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::Checked(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::Checked_revoker consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::Checked(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::Checked(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, Checked_revoker>(this, Checked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::Checked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::Unchecked(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::Unchecked_revoker consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::Unchecked(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::Unchecked(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, Unchecked_revoker>(this, Unchecked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::Unchecked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::Indeterminate(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::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 D> typename consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::Indeterminate_revoker consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::Indeterminate(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::Indeterminate(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, Indeterminate_revoker>(this, Indeterminate(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::Indeterminate(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ToggleButton) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonOverrides<D>::OnToggle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonOverrides<D>::OnToggle() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButtonOverrides)->OnToggle());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonStatics<D>::IsCheckedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonStatics<D>::IsThreeStateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings<D>::KnobCurrentToOnOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings<D>::KnobCurrentToOnOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleSwitchTemplateSettings)->get_KnobCurrentToOnOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings<D>::KnobCurrentToOffOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings<D>::KnobCurrentToOffOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleSwitchTemplateSettings)->get_KnobCurrentToOffOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings<D>::KnobOnToOffOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings<D>::KnobOnToOffOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleSwitchTemplateSettings)->get_KnobOnToOffOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings<D>::KnobOffToOnOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings<D>::KnobOffToOnOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleSwitchTemplateSettings)->get_KnobOffToOnOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings<D>::CurtainCurrentToOnOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings<D>::CurtainCurrentToOnOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleSwitchTemplateSettings)->get_CurtainCurrentToOnOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings<D>::CurtainCurrentToOffOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings<D>::CurtainCurrentToOffOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleSwitchTemplateSettings)->get_CurtainCurrentToOffOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings<D>::CurtainOnToOffOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings<D>::CurtainOnToOffOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleSwitchTemplateSettings)->get_CurtainOnToOffOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings<D>::CurtainOffToOnOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToggleSwitchTemplateSettings<D>::CurtainOffToOnOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToggleSwitchTemplateSettings)->get_CurtainOffToOnOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToolTipTemplateSettings<D>::FromHorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToolTipTemplateSettings<D>::FromHorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Primitives::IToolTipTemplateSettings)->get_FromHorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_Primitives_IToolTipTemplateSettings<D>::FromVerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_Primitives_IToolTipTemplateSettings<D>::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<ScrollEventHandler>**)this)->Invoke(*(void**)(&sender), *(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Control) IFlyoutBaseOverridesT<D>::CreatePresenter() const
+ template <typename D> auto IFlyoutBaseOverridesT<D>::CreatePresenter() const
{
return shim().template try_as<IFlyoutBaseOverrides>().CreatePresenter();
}
- template <typename D> WINRT_IMPL_AUTO(void) IFlyoutBaseOverrides4T<D>::OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const
+ template <typename D> auto IFlyoutBaseOverrides4T<D>::OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const
{
return shim().template try_as<IFlyoutBaseOverrides4>().OnProcessKeyboardAccelerators(args);
}
- template <typename D> WINRT_IMPL_AUTO(void) IPickerFlyoutBaseOverridesT<D>::OnConfirmed() const
+ template <typename D> auto IPickerFlyoutBaseOverridesT<D>::OnConfirmed() const
{
return shim().template try_as<IPickerFlyoutBaseOverrides>().OnConfirmed();
}
- template <typename D> WINRT_IMPL_AUTO(bool) IPickerFlyoutBaseOverridesT<D>::ShouldShowConfirmationButtons() const
+ template <typename D> auto IPickerFlyoutBaseOverridesT<D>::ShouldShowConfirmationButtons() const
{
return shim().template try_as<IPickerFlyoutBaseOverrides>().ShouldShowConfirmationButtons();
}
- template <typename D> WINRT_IMPL_AUTO(void) IRangeBaseOverridesT<D>::OnMinimumChanged(double oldMinimum, double newMinimum) const
+ template <typename D> auto IRangeBaseOverridesT<D>::OnMinimumChanged(double oldMinimum, double newMinimum) const
{
return shim().template try_as<IRangeBaseOverrides>().OnMinimumChanged(oldMinimum, newMinimum);
}
- template <typename D> WINRT_IMPL_AUTO(void) IRangeBaseOverridesT<D>::OnMaximumChanged(double oldMaximum, double newMaximum) const
+ template <typename D> auto IRangeBaseOverridesT<D>::OnMaximumChanged(double oldMaximum, double newMaximum) const
{
return shim().template try_as<IRangeBaseOverrides>().OnMaximumChanged(oldMaximum, newMaximum);
}
- template <typename D> WINRT_IMPL_AUTO(void) IRangeBaseOverridesT<D>::OnValueChanged(double oldValue, double newValue) const
+ template <typename D> auto IRangeBaseOverridesT<D>::OnValueChanged(double oldValue, double newValue) const
{
return shim().template try_as<IRangeBaseOverrides>().OnValueChanged(oldValue, newValue);
}
- template <typename D> WINRT_IMPL_AUTO(void) IToggleButtonOverridesT<D>::OnToggle() const
+ template <typename D> auto IToggleButtonOverridesT<D>::OnToggle() const
{
return shim().template try_as<IToggleButtonOverrides>().OnToggle();
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.h
index 0f84e8f18c3..19040294b60 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Controls.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IAnchorRequestedEventArgs<D>::Anchor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAnchorRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAnchorRequestedEventArgs<D>::Anchor(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAnchorRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::UIElement>) consume_Windows_UI_Xaml_Controls_IAnchorRequestedEventArgs<D>::AnchorCandidates() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAnchorRequestedEventArgs<D>::AnchorCandidates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAnchorRequestedEventArgs)->get_AnchorCandidates(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::UIElement>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IAppBar<D>::IsOpen() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar<D>::IsOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar)->get_IsOpen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBar<D>::IsOpen(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar<D>::IsOpen(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar)->put_IsOpen(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IAppBar<D>::IsSticky() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar<D>::IsSticky() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar)->get_IsSticky(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBar<D>::IsSticky(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar<D>::IsSticky(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar)->put_IsSticky(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IAppBar<D>::Opened(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar<D>::Opened(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_IAppBar<D>::Opened_revoker consume_Windows_UI_Xaml_Controls_IAppBar<D>::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar<D>::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Opened_revoker>(this, Opened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBar<D>::Opened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar<D>::Opened(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar)->remove_Opened(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IAppBar<D>::Closed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar<D>::Closed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_IAppBar<D>::Closed_revoker consume_Windows_UI_Xaml_Controls_IAppBar<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBar<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBarClosedDisplayMode) consume_Windows_UI_Xaml_Controls_IAppBar2<D>::ClosedDisplayMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar2<D>::ClosedDisplayMode() const
{
winrt::Windows::UI::Xaml::Controls::AppBarClosedDisplayMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar2)->get_ClosedDisplayMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBar2<D>::ClosedDisplayMode(winrt::Windows::UI::Xaml::Controls::AppBarClosedDisplayMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AppBarTemplateSettings) consume_Windows_UI_Xaml_Controls_IAppBar3<D>::TemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IAppBar3<D>::Opening(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar3<D>::Opening(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_IAppBar3<D>::Opening_revoker consume_Windows_UI_Xaml_Controls_IAppBar3<D>::Opening(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar3<D>::Opening(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Opening_revoker>(this, Opening(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBar3<D>::Opening(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar3<D>::Opening(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar3)->remove_Opening(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IAppBar3<D>::Closing(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar3<D>::Closing(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_IAppBar3<D>::Closing_revoker consume_Windows_UI_Xaml_Controls_IAppBar3<D>::Closing(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar3<D>::Closing(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Closing_revoker>(this, Closing(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBar3<D>::Closing(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar3<D>::Closing(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar3)->remove_Closing(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_IAppBar4<D>::LightDismissOverlayMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar4<D>::LightDismissOverlayMode() const
{
winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBar4)->get_LightDismissOverlayMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBar4<D>::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBar4<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IAppBarButton<D>::Label() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarButton<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarButton<D>::Label(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarButton<D>::Label(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButton)->put_Label(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) consume_Windows_UI_Xaml_Controls_IAppBarButton<D>::Icon() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarButton<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarButton<D>::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarButton<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition) consume_Windows_UI_Xaml_Controls_IAppBarButton3<D>::LabelPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarButton3<D>::LabelPosition() const
{
winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButton3)->get_LabelPosition(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarButton3<D>::LabelPosition(winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarButton3<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IAppBarButton4<D>::KeyboardAcceleratorTextOverride() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarButton4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarButton4<D>::KeyboardAcceleratorTextOverride(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarButton4<D>::KeyboardAcceleratorTextOverride(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarButton4)->put_KeyboardAcceleratorTextOverride(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AppBarButtonTemplateSettings) consume_Windows_UI_Xaml_Controls_IAppBarButton5<D>::TemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarButton5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBarButton) consume_Windows_UI_Xaml_Controls_IAppBarButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics<D>::LabelProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics<D>::IconProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics<D>::IsCompactProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics3<D>::LabelPositionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics3<D>::IsInOverflowProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics3<D>::DynamicOverflowOrderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics4<D>::KeyboardAcceleratorTextOverrideProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarButtonStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBarElementContainer) consume_Windows_UI_Xaml_Controls_IAppBarElementContainerFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarElementContainerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarElementContainerStatics<D>::IsCompactProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarElementContainerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarElementContainerStatics<D>::IsInOverflowProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarElementContainerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarElementContainerStatics<D>::DynamicOverflowOrderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarElementContainerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBar) consume_Windows_UI_Xaml_Controls_IAppBarFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarOverrides<D>::OnClosed(winrt::Windows::Foundation::IInspectable const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarOverrides<D>::OnClosed(winrt::Windows::Foundation::IInspectable const& e) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarOverrides)->OnClosed(*(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarOverrides<D>::OnOpened(winrt::Windows::Foundation::IInspectable const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarOverrides<D>::OnOpened(winrt::Windows::Foundation::IInspectable const& e) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarOverrides)->OnOpened(*(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarOverrides3<D>::OnClosing(winrt::Windows::Foundation::IInspectable const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarOverrides3<D>::OnClosing(winrt::Windows::Foundation::IInspectable const& e) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarOverrides3)->OnClosing(*(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarOverrides3<D>::OnOpening(winrt::Windows::Foundation::IInspectable const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarOverrides3<D>::OnOpening(winrt::Windows::Foundation::IInspectable const& e) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarOverrides3)->OnOpening(*(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBarSeparator) consume_Windows_UI_Xaml_Controls_IAppBarSeparatorFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarSeparatorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarSeparatorStatics<D>::IsCompactProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarSeparatorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarSeparatorStatics3<D>::IsInOverflowProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarSeparatorStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarSeparatorStatics3<D>::DynamicOverflowOrderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarSeparatorStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarStatics<D>::IsOpenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarStatics<D>::IsStickyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarStatics2<D>::ClosedDisplayModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarStatics4<D>::LightDismissOverlayModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton<D>::Label() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton<D>::Label(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton<D>::Label(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButton)->put_Label(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton<D>::Icon() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton<D>::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton3<D>::LabelPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton3<D>::LabelPosition() const
{
winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButton3)->get_LabelPosition(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton3<D>::LabelPosition(winrt::Windows::UI::Xaml::Controls::CommandBarLabelPosition const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton3<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton4<D>::KeyboardAcceleratorTextOverride() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton4<D>::KeyboardAcceleratorTextOverride(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton4<D>::KeyboardAcceleratorTextOverride(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAppBarToggleButton4)->put_KeyboardAcceleratorTextOverride(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AppBarToggleButtonTemplateSettings) consume_Windows_UI_Xaml_Controls_IAppBarToggleButton5<D>::TemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButton5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBarToggleButton) consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics<D>::LabelProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics<D>::IconProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics<D>::IsCompactProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics3<D>::LabelPositionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics3<D>::IsInOverflowProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics3<D>::DynamicOverflowOrderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics4<D>::KeyboardAcceleratorTextOverrideProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAppBarToggleButtonStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::MaxSuggestionListHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::MaxSuggestionListHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->get_MaxSuggestionListHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::MaxSuggestionListHeight(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::MaxSuggestionListHeight(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->put_MaxSuggestionListHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::IsSuggestionListOpen() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::IsSuggestionListOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->get_IsSuggestionListOpen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::IsSuggestionListOpen(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::IsSuggestionListOpen(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->put_IsSuggestionListOpen(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::TextMemberPath() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::TextMemberPath(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::TextMemberPath(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->put_TextMemberPath(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::Text() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::UpdateTextOnSelect() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::UpdateTextOnSelect() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->get_UpdateTextOnSelect(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::UpdateTextOnSelect(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::UpdateTextOnSelect(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->put_UpdateTextOnSelect(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::PlaceholderText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::PlaceholderText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::PlaceholderText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->put_PlaceholderText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::Header() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->put_Header(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::AutoMaximizeSuggestionArea() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::AutoMaximizeSuggestionArea() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->get_AutoMaximizeSuggestionArea(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::AutoMaximizeSuggestionArea(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::AutoMaximizeSuggestionArea(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->put_AutoMaximizeSuggestionArea(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::TextBoxStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::TextBoxStyle(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::SuggestionChosen(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxSuggestionChosenEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::SuggestionChosen(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxSuggestionChosenEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::SuggestionChosen_revoker consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::SuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxSuggestionChosenEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::SuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxSuggestionChosenEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SuggestionChosen_revoker>(this, SuggestionChosen(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::SuggestionChosen(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::SuggestionChosen(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->remove_SuggestionChosen(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::TextChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxTextChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::TextChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxTextChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::TextChanged_revoker consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::TextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxTextChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::TextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxTextChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TextChanged_revoker>(this, TextChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::TextChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox<D>::TextChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox)->remove_TextChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2<D>::QueryIcon() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2<D>::QueryIcon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2<D>::QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxQuerySubmittedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2<D>::QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxQuerySubmittedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2<D>::QuerySubmitted_revoker consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2<D>::QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxQuerySubmittedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2<D>::QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxQuerySubmittedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, QuerySubmitted_revoker>(this, QuerySubmitted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2<D>::QuerySubmitted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox2<D>::QuerySubmitted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox2)->remove_QuerySubmitted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox3<D>::LightDismissOverlayMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox3<D>::LightDismissOverlayMode() const
{
winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox3)->get_LightDismissOverlayMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox3<D>::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox3<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox4<D>::Description() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBox4<D>::Description(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBox4<D>::Description(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox4)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxQuerySubmittedEventArgs<D>::QueryText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxQuerySubmittedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxQuerySubmittedEventArgs<D>::ChosenSuggestion() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxQuerySubmittedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::MaxSuggestionListHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::IsSuggestionListOpenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::TextMemberPathProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::TextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::UpdateTextOnSelectProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::PlaceholderTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::HeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::AutoMaximizeSuggestionAreaProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::TextBoxStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics2<D>::QueryIconProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics3<D>::LightDismissOverlayModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics4<D>::DescriptionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxSuggestionChosenEventArgs<D>::SelectedItem() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxSuggestionChosenEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AutoSuggestionBoxTextChangeReason) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgs<D>::Reason() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgs<D>::Reason() const
{
winrt::Windows::UI::Xaml::Controls::AutoSuggestionBoxTextChangeReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxTextChangedEventArgs)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgs<D>::Reason(winrt::Windows::UI::Xaml::Controls::AutoSuggestionBoxTextChangeReason const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgs<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgs<D>::CheckCurrent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgs<D>::CheckCurrent() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxTextChangedEventArgs)->CheckCurrent(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgsStatics<D>::ReasonProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IBackClickEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBackClickEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBackClickEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBackClickEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBackClickEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBackClickEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IBitmapIcon<D>::UriSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBitmapIcon<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBitmapIcon<D>::UriSource(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBitmapIcon<D>::UriSource(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIcon)->put_UriSource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IBitmapIcon2<D>::ShowAsMonochrome() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBitmapIcon2<D>::ShowAsMonochrome() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIcon2)->get_ShowAsMonochrome(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBitmapIcon2<D>::ShowAsMonochrome(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBitmapIcon2<D>::ShowAsMonochrome(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIcon2)->put_ShowAsMonochrome(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BitmapIcon) consume_Windows_UI_Xaml_Controls_IBitmapIconFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBitmapIconFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IBitmapIconSource<D>::UriSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBitmapIconSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBitmapIconSource<D>::UriSource(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBitmapIconSource<D>::UriSource(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIconSource)->put_UriSource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IBitmapIconSource<D>::ShowAsMonochrome() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBitmapIconSource<D>::ShowAsMonochrome() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIconSource)->get_ShowAsMonochrome(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBitmapIconSource<D>::ShowAsMonochrome(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBitmapIconSource<D>::ShowAsMonochrome(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBitmapIconSource)->put_ShowAsMonochrome(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BitmapIconSource) consume_Windows_UI_Xaml_Controls_IBitmapIconSourceFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBitmapIconSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBitmapIconSourceStatics<D>::UriSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBitmapIconSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBitmapIconSourceStatics<D>::ShowAsMonochromeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBitmapIconSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBitmapIconStatics<D>::UriSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBitmapIconStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBitmapIconStatics2<D>::ShowAsMonochromeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBitmapIconStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IBorder<D>::BorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder<D>::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IBorder<D>::BorderThickness() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder<D>::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IBorder<D>::Background() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder<D>::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_Controls_IBorder<D>::CornerRadius() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder<D>::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IBorder<D>::Padding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder<D>::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IBorder<D>::Child() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder<D>::Child(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IBorder<D>::ChildTransitions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder<D>::ChildTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) consume_Windows_UI_Xaml_Controls_IBorder2<D>::BackgroundSizing() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder2<D>::BackgroundSizing() const
{
winrt::Windows::UI::Xaml::Controls::BackgroundSizing value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IBorder2)->get_BackgroundSizing(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder2<D>::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::BrushTransition) consume_Windows_UI_Xaml_Controls_IBorder2<D>::BackgroundTransition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IBorder2<D>::BackgroundTransition(winrt::Windows::UI::Xaml::BrushTransition const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorder2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBorderStatics<D>::BorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBorderStatics<D>::BorderThicknessProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBorderStatics<D>::BackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBorderStatics<D>::CornerRadiusProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBorderStatics<D>::PaddingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBorderStatics<D>::ChildTransitionsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IBorderStatics2<D>::BackgroundSizingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IBorderStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Button) consume_Windows_UI_Xaml_Controls_IButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IButtonStaticsWithFlyout<D>::FlyoutProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IButtonStaticsWithFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_IButtonWithFlyout<D>::Flyout() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IButtonWithFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IButtonWithFlyout<D>::Flyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IButtonWithFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Date() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Date() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_Date(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Date(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Date(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_Date(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::IsCalendarOpen() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::IsCalendarOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_IsCalendarOpen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::IsCalendarOpen(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::IsCalendarOpen(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_IsCalendarOpen(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::DateFormat() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::DateFormat(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::DateFormat(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_DateFormat(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::PlaceholderText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::PlaceholderText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::PlaceholderText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_PlaceholderText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Header() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_Header(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::HeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::CalendarViewStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::CalendarViewStyle(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::MinDate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::MinDate(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::MaxDate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::MaxDate(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::IsTodayHighlighted() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::IsTodayHighlighted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_IsTodayHighlighted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::IsTodayHighlighted(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::IsTodayHighlighted(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_IsTodayHighlighted(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::DisplayMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::DisplayMode() const
{
winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_DisplayMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::DisplayMode(winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::FirstDayOfWeek() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::FirstDayOfWeek() const
{
winrt::Windows::Globalization::DayOfWeek value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_FirstDayOfWeek(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::FirstDayOfWeek(winrt::Windows::Globalization::DayOfWeek const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::FirstDayOfWeek(winrt::Windows::Globalization::DayOfWeek const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_FirstDayOfWeek(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::DayOfWeekFormat() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::DayOfWeekFormat(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::DayOfWeekFormat(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_DayOfWeekFormat(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::CalendarIdentifier() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::CalendarIdentifier(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::CalendarIdentifier(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_CalendarIdentifier(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::IsOutOfScopeEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::IsOutOfScopeEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_IsOutOfScopeEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::IsOutOfScopeEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::IsOutOfScopeEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_IsOutOfScopeEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::IsGroupLabelVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::IsGroupLabelVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->get_IsGroupLabelVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::IsGroupLabelVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::IsGroupLabelVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->put_IsGroupLabelVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::CalendarViewDayItemChanging(winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::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 D> typename consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::CalendarViewDayItemChanging_revoker consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::CalendarViewDayItemChanging(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::CalendarViewDayItemChanging(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventHandler const& handler) const
{
return impl::make_event_revoker<D, CalendarViewDayItemChanging_revoker>(this, CalendarViewDayItemChanging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::CalendarViewDayItemChanging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::CalendarViewDayItemChanging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->remove_CalendarViewDayItemChanging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::DateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarDatePicker, winrt::Windows::UI::Xaml::Controls::CalendarDatePickerDateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::DateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarDatePicker, winrt::Windows::UI::Xaml::Controls::CalendarDatePickerDateChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::DateChanged_revoker consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::DateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarDatePicker, winrt::Windows::UI::Xaml::Controls::CalendarDatePickerDateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::DateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarDatePicker, winrt::Windows::UI::Xaml::Controls::CalendarDatePickerDateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DateChanged_revoker>(this, DateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::DateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::DateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->remove_DateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Opened(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Opened(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Opened_revoker consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Opened_revoker>(this, Opened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Opened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Opened(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->remove_Opened(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Closed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Closed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Closed_revoker consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::SetDisplayDate(winrt::Windows::Foundation::DateTime const& date) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::SetYearDecadeDisplayDimensions(int32_t columns, int32_t rows) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker<D>::SetYearDecadeDisplayDimensions(int32_t columns, int32_t rows) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker)->SetYearDecadeDisplayDimensions(columns, rows));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker2<D>::LightDismissOverlayMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker2<D>::LightDismissOverlayMode() const
{
winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker2)->get_LightDismissOverlayMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker2<D>::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker3<D>::Description() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarDatePicker3<D>::Description(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePicker3<D>::Description(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker3)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerDateChangedEventArgs<D>::NewDate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerDateChangedEventArgs<D>::NewDate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerDateChangedEventArgs)->get_NewDate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerDateChangedEventArgs<D>::OldDate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerDateChangedEventArgs<D>::OldDate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerDateChangedEventArgs)->get_OldDate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarDatePicker) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::DateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::IsCalendarOpenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::DateFormatProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::PlaceholderTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::HeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::HeaderTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::CalendarViewStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::MinDateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::MaxDateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::IsTodayHighlightedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::DisplayModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::FirstDayOfWeekProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::DayOfWeekFormatProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::CalendarIdentifierProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::IsOutOfScopeEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::IsGroupLabelVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics2<D>::LightDismissOverlayModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics3<D>::DescriptionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarDatePickerStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarIdentifier() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarIdentifier(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarIdentifier(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_CalendarIdentifier(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DayOfWeekFormat() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DayOfWeekFormat(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DayOfWeekFormat(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_DayOfWeekFormat(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::IsGroupLabelVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::IsGroupLabelVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_IsGroupLabelVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::IsGroupLabelVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::IsGroupLabelVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_IsGroupLabelVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DisplayMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DisplayMode() const
{
winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_DisplayMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DisplayMode(winrt::Windows::UI::Xaml::Controls::CalendarViewDisplayMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Globalization::DayOfWeek) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstDayOfWeek() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstDayOfWeek() const
{
winrt::Windows::Globalization::DayOfWeek value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_FirstDayOfWeek(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstDayOfWeek(winrt::Windows::Globalization::DayOfWeek const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstDayOfWeek(winrt::Windows::Globalization::DayOfWeek const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_FirstDayOfWeek(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::IsOutOfScopeEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::IsOutOfScopeEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_IsOutOfScopeEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::IsOutOfScopeEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::IsOutOfScopeEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_IsOutOfScopeEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::IsTodayHighlighted() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::IsTodayHighlighted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_IsTodayHighlighted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::IsTodayHighlighted(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::IsTodayHighlighted(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_IsTodayHighlighted(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::MaxDate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::MaxDate(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::MinDate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::MinDate(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::NumberOfWeeksInView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::NumberOfWeeksInView() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_NumberOfWeeksInView(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::NumberOfWeeksInView(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::NumberOfWeeksInView(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_NumberOfWeeksInView(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::DateTime>) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectedDates() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectedDates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_SelectedDates(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarViewSelectionMode) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectionMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectionMode() const
{
winrt::Windows::UI::Xaml::Controls::CalendarViewSelectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_SelectionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectionMode(winrt::Windows::UI::Xaml::Controls::CalendarViewSelectionMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::CalendarViewTemplateSettings) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::TemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FocusBorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FocusBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectedHoverBorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectedHoverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectedPressedBorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectedPressedBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectedBorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectedBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::HoverBorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::HoverBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::PressedBorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::PressedBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarItemBorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarItemBorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::OutOfScopeBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::OutOfScopeBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarItemBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarItemBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::PressedForeground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::PressedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::TodayForeground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::TodayForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::BlackoutForeground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::BlackoutForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectedForeground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectedForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::OutOfScopeForeground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::OutOfScopeForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarItemForeground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarItemForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DayItemFontFamily() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DayItemFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DayItemFontSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DayItemFontSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_DayItemFontSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DayItemFontSize(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DayItemFontSize(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_DayItemFontSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DayItemFontStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DayItemFontStyle() const
{
winrt::Windows::UI::Text::FontStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_DayItemFontStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DayItemFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DayItemFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_DayItemFontStyle(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DayItemFontWeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::DayItemFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::TodayFontWeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::TodayFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfMonthLabelFontFamily() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfMonthLabelFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfMonthLabelFontSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfMonthLabelFontSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_FirstOfMonthLabelFontSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfMonthLabelFontSize(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfMonthLabelFontSize(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_FirstOfMonthLabelFontSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfMonthLabelFontStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfMonthLabelFontStyle() const
{
winrt::Windows::UI::Text::FontStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_FirstOfMonthLabelFontStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfMonthLabelFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfMonthLabelFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_FirstOfMonthLabelFontStyle(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfMonthLabelFontWeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfMonthLabelFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::MonthYearItemFontFamily() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::MonthYearItemFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::MonthYearItemFontSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::MonthYearItemFontSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_MonthYearItemFontSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::MonthYearItemFontSize(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::MonthYearItemFontSize(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_MonthYearItemFontSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::MonthYearItemFontStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::MonthYearItemFontStyle() const
{
winrt::Windows::UI::Text::FontStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_MonthYearItemFontStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::MonthYearItemFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::MonthYearItemFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_MonthYearItemFontStyle(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::MonthYearItemFontWeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::MonthYearItemFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfYearDecadeLabelFontFamily() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfYearDecadeLabelFontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfYearDecadeLabelFontSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfYearDecadeLabelFontSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_FirstOfYearDecadeLabelFontSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfYearDecadeLabelFontSize(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfYearDecadeLabelFontSize(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_FirstOfYearDecadeLabelFontSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfYearDecadeLabelFontStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfYearDecadeLabelFontStyle() const
{
winrt::Windows::UI::Text::FontStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_FirstOfYearDecadeLabelFontStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfYearDecadeLabelFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfYearDecadeLabelFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_FirstOfYearDecadeLabelFontStyle(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfYearDecadeLabelFontWeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::FirstOfYearDecadeLabelFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::HorizontalDayItemAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::HorizontalDayItemAlignment() const
{
winrt::Windows::UI::Xaml::HorizontalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_HorizontalDayItemAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::HorizontalDayItemAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::HorizontalDayItemAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_HorizontalDayItemAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::VerticalDayItemAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::VerticalDayItemAlignment() const
{
winrt::Windows::UI::Xaml::VerticalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_VerticalDayItemAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::VerticalDayItemAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::VerticalDayItemAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_VerticalDayItemAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::HorizontalFirstOfMonthLabelAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::HorizontalFirstOfMonthLabelAlignment() const
{
winrt::Windows::UI::Xaml::HorizontalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_HorizontalFirstOfMonthLabelAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::HorizontalFirstOfMonthLabelAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::HorizontalFirstOfMonthLabelAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_HorizontalFirstOfMonthLabelAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::VerticalFirstOfMonthLabelAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::VerticalFirstOfMonthLabelAlignment() const
{
winrt::Windows::UI::Xaml::VerticalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->get_VerticalFirstOfMonthLabelAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::VerticalFirstOfMonthLabelAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::VerticalFirstOfMonthLabelAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->put_VerticalFirstOfMonthLabelAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarItemBorderThickness() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarItemBorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarViewDayItemStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarViewDayItemStyle(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarViewDayItemChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarViewDayItemChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarViewDayItemChanging_revoker consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarViewDayItemChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarViewDayItemChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CalendarViewDayItemChanging_revoker>(this, CalendarViewDayItemChanging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarViewDayItemChanging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::CalendarViewDayItemChanging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->remove_CalendarViewDayItemChanging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectedDatesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewSelectedDatesChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectedDatesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewSelectedDatesChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectedDatesChanged_revoker consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectedDatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewSelectedDatesChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectedDatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewSelectedDatesChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SelectedDatesChanged_revoker>(this, SelectedDatesChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectedDatesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SelectedDatesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->remove_SelectedDatesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SetDisplayDate(winrt::Windows::Foundation::DateTime const& date) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SetYearDecadeDisplayDimensions(int32_t columns, int32_t rows) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarView<D>::SetYearDecadeDisplayDimensions(int32_t columns, int32_t rows) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarView)->SetYearDecadeDisplayDimensions(columns, rows));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItem<D>::IsBlackout() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItem<D>::IsBlackout() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItem)->get_IsBlackout(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItem<D>::IsBlackout(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItem<D>::IsBlackout(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItem)->put_IsBlackout(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItem<D>::Date() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItem<D>::SetDensityColors(param::iterable<winrt::Windows::UI::Color> const& colors) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItem<D>::SetDensityColors(param::iterable<winrt::Windows::UI::Color> const& colors) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItem)->SetDensityColors(*(void**)(&colors)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs<D>::InRecycleQueue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs<D>::InRecycleQueue() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItemChangingEventArgs)->get_InRecycleQueue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarViewDayItem) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs<D>::Item() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs<D>::Phase() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs<D>::Phase() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItemChangingEventArgs)->get_Phase(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs<D>::RegisterUpdateCallback(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs> const& callback) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs<D>::RegisterUpdateCallback(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs> const& callback) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItemChangingEventArgs)->RegisterUpdateCallback(*(void**)(&callback)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs<D>::RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs> const& callback) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs<D>::RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs> const& callback) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItemChangingEventArgs)->RegisterUpdateCallbackWithPhase(callbackPhase, *(void**)(&callback)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarViewDayItem) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemStatics<D>::IsBlackoutProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemStatics<D>::DateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewDayItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CalendarView) consume_Windows_UI_Xaml_Controls_ICalendarViewFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::DateTime>) consume_Windows_UI_Xaml_Controls_ICalendarViewSelectedDatesChangedEventArgs<D>::AddedDates() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewSelectedDatesChangedEventArgs<D>::AddedDates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewSelectedDatesChangedEventArgs)->get_AddedDates(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::DateTime>) consume_Windows_UI_Xaml_Controls_ICalendarViewSelectedDatesChangedEventArgs<D>::RemovedDates() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewSelectedDatesChangedEventArgs<D>::RemovedDates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICalendarViewSelectedDatesChangedEventArgs)->get_RemovedDates(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::CalendarIdentifierProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::DayOfWeekFormatProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::IsGroupLabelVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::DisplayModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::FirstDayOfWeekProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::IsOutOfScopeEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::IsTodayHighlightedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::MaxDateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::MinDateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::NumberOfWeeksInViewProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::SelectedDatesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::SelectionModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::TemplateSettingsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::FocusBorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::SelectedHoverBorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::SelectedPressedBorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::SelectedBorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::HoverBorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::PressedBorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::CalendarItemBorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::OutOfScopeBackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::CalendarItemBackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::PressedForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::TodayForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::BlackoutForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::SelectedForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::OutOfScopeForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::CalendarItemForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::DayItemFontFamilyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::DayItemFontSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::DayItemFontStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::DayItemFontWeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::TodayFontWeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::FirstOfMonthLabelFontFamilyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::FirstOfMonthLabelFontSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::FirstOfMonthLabelFontStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::FirstOfMonthLabelFontWeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::MonthYearItemFontFamilyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::MonthYearItemFontSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::MonthYearItemFontStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::MonthYearItemFontWeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::FirstOfYearDecadeLabelFontFamilyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::FirstOfYearDecadeLabelFontSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::FirstOfYearDecadeLabelFontStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::FirstOfYearDecadeLabelFontWeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::HorizontalDayItemAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::VerticalDayItemAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::HorizontalFirstOfMonthLabelAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::VerticalFirstOfMonthLabelAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::CalendarItemBorderThicknessProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::CalendarViewDayItemStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICalendarViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_ICandidateWindowBoundsChangedEventArgs<D>::Bounds() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICandidateWindowBoundsChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Canvas) consume_Windows_UI_Xaml_Controls_ICanvasFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICanvasFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::LeftProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::GetLeft(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::SetLeft(winrt::Windows::UI::Xaml::UIElement const& element, double length) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::TopProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::GetTop(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::SetTop(winrt::Windows::UI::Xaml::UIElement const& element, double length) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::ZIndexProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::GetZIndex(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::SetZIndex(winrt::Windows::UI::Xaml::UIElement const& element, int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICanvasStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::MediaCapture) consume_Windows_UI_Xaml_Controls_ICaptureElement<D>::Source() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICaptureElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICaptureElement<D>::Source(winrt::Windows::Media::Capture::MediaCapture const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICaptureElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) consume_Windows_UI_Xaml_Controls_ICaptureElement<D>::Stretch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICaptureElement<D>::Stretch() const
{
winrt::Windows::UI::Xaml::Media::Stretch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICaptureElement)->get_Stretch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICaptureElement<D>::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICaptureElement<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICaptureElementStatics<D>::SourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICaptureElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICaptureElementStatics<D>::StretchProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICaptureElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CheckBox) consume_Windows_UI_Xaml_Controls_ICheckBoxFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICheckBoxFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewBaseHeaderItem) consume_Windows_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs<D>::GroupHeaderContainer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs<D>::GroupHeaderContainer(winrt::Windows::UI::Xaml::Controls::ListViewBaseHeaderItem const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs<D>::GroupIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs<D>::GroupIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IChoosingGroupHeaderContainerEventArgs)->get_GroupIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs<D>::Group() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs<D>::ItemIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs<D>::ItemIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IChoosingItemContainerEventArgs)->get_ItemIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs<D>::Item() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem) consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs<D>::ItemContainer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs<D>::ItemContainer(winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs<D>::IsContainerPrepared() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs<D>::IsContainerPrepared() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IChoosingItemContainerEventArgs)->get_IsContainerPrepared(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs<D>::IsContainerPrepared(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IChoosingItemContainerEventArgs<D>::IsContainerPrepared(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IChoosingItemContainerEventArgs)->put_IsContainerPrepared(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs<D>::Value() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs<D>::UIElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICleanUpVirtualizedItemEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICleanUpVirtualizedItemEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_IColorChangedEventArgs<D>::OldColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_IColorChangedEventArgs<D>::NewColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::Color() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::PreviousColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::PreviousColor() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_PreviousColor(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::PreviousColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::PreviousColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_PreviousColor(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsAlphaEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsAlphaEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsAlphaEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsAlphaEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsAlphaEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsAlphaEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsColorSpectrumVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsColorSpectrumVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsColorSpectrumVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsColorSpectrumVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsColorSpectrumVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsColorSpectrumVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsColorPreviewVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsColorPreviewVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsColorPreviewVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsColorPreviewVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsColorPreviewVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsColorPreviewVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsColorSliderVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsColorSliderVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsColorSliderVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsColorSliderVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsColorSliderVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsColorSliderVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsAlphaSliderVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsAlphaSliderVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsAlphaSliderVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsAlphaSliderVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsAlphaSliderVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsAlphaSliderVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsMoreButtonVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsMoreButtonVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsMoreButtonVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsMoreButtonVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsMoreButtonVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsMoreButtonVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsColorChannelTextInputVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsColorChannelTextInputVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsColorChannelTextInputVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsColorChannelTextInputVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsColorChannelTextInputVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsColorChannelTextInputVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsAlphaTextInputVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsAlphaTextInputVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsAlphaTextInputVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsAlphaTextInputVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsAlphaTextInputVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsAlphaTextInputVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsHexInputVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsHexInputVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_IsHexInputVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsHexInputVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::IsHexInputVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_IsHexInputVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MinHue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MinHue() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_MinHue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MinHue(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MinHue(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_MinHue(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MaxHue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MaxHue() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_MaxHue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MaxHue(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MaxHue(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_MaxHue(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MinSaturation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MinSaturation() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_MinSaturation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MinSaturation(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MinSaturation(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_MinSaturation(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MaxSaturation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MaxSaturation() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_MaxSaturation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MaxSaturation(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MaxSaturation(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_MaxSaturation(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MinValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MinValue() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_MinValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MinValue(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MinValue(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_MinValue(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MaxValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MaxValue() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_MaxValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MaxValue(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::MaxValue(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->put_MaxValue(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::ColorSpectrumShape() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::ColorSpectrumShape() const
{
winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_ColorSpectrumShape(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::ColorSpectrumShape(winrt::Windows::UI::Xaml::Controls::ColorSpectrumShape const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::ColorSpectrumComponents() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::ColorSpectrumComponents() const
{
winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->get_ColorSpectrumComponents(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::ColorSpectrumComponents(winrt::Windows::UI::Xaml::Controls::ColorSpectrumComponents const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::ColorChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ColorPicker, winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::ColorChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ColorPicker, winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IColorPicker<D>::ColorChanged_revoker consume_Windows_UI_Xaml_Controls_IColorPicker<D>::ColorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ColorPicker, winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::ColorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ColorPicker, winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ColorChanged_revoker>(this, ColorChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColorPicker<D>::ColorChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPicker<D>::ColorChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColorPicker)->remove_ColorChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColorPicker) consume_Windows_UI_Xaml_Controls_IColorPickerFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::ColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::PreviousColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::IsAlphaEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::IsColorSpectrumVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::IsColorPreviewVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::IsColorSliderVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::IsAlphaSliderVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::IsMoreButtonVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::IsColorChannelTextInputVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::IsAlphaTextInputVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::IsHexInputVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::MinHueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::MaxHueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::MinSaturationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::MaxSaturationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::MinValueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::MaxValueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::ColorSpectrumShapeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::ColorSpectrumComponentsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColorPickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_Controls_IColumnDefinition<D>::Width() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColumnDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColumnDefinition<D>::Width(winrt::Windows::UI::Xaml::GridLength const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColumnDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IColumnDefinition<D>::MaxWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColumnDefinition<D>::MaxWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColumnDefinition)->get_MaxWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColumnDefinition<D>::MaxWidth(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColumnDefinition<D>::MaxWidth(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColumnDefinition)->put_MaxWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IColumnDefinition<D>::MinWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColumnDefinition<D>::MinWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColumnDefinition)->get_MinWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IColumnDefinition<D>::MinWidth(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColumnDefinition<D>::MinWidth(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColumnDefinition)->put_MinWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IColumnDefinition<D>::ActualWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColumnDefinition<D>::ActualWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IColumnDefinition)->get_ActualWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColumnDefinitionStatics<D>::WidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColumnDefinitionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColumnDefinitionStatics<D>::MaxWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColumnDefinitionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IColumnDefinitionStatics<D>::MinWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IColumnDefinitionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IComboBox<D>::IsDropDownOpen() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox<D>::IsDropDownOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->get_IsDropDownOpen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox<D>::IsDropDownOpen(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox<D>::IsDropDownOpen(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->put_IsDropDownOpen(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IComboBox<D>::IsEditable() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox<D>::IsEditable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->get_IsEditable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IComboBox<D>::IsSelectionBoxHighlighted() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox<D>::IsSelectionBoxHighlighted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->get_IsSelectionBoxHighlighted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IComboBox<D>::MaxDropDownHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox<D>::MaxDropDownHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->get_MaxDropDownHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox<D>::MaxDropDownHeight(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox<D>::MaxDropDownHeight(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->put_MaxDropDownHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IComboBox<D>::SelectionBoxItem() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IComboBox<D>::SelectionBoxItemTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ComboBoxTemplateSettings) consume_Windows_UI_Xaml_Controls_IComboBox<D>::TemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IComboBox<D>::DropDownClosed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox<D>::DropDownClosed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_IComboBox<D>::DropDownClosed_revoker consume_Windows_UI_Xaml_Controls_IComboBox<D>::DropDownClosed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox<D>::DropDownClosed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, DropDownClosed_revoker>(this, DropDownClosed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox<D>::DropDownClosed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox<D>::DropDownClosed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->remove_DropDownClosed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IComboBox<D>::DropDownOpened(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox<D>::DropDownOpened(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_IComboBox<D>::DropDownOpened_revoker consume_Windows_UI_Xaml_Controls_IComboBox<D>::DropDownOpened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox<D>::DropDownOpened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, DropDownOpened_revoker>(this, DropDownOpened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox<D>::DropDownOpened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox<D>::DropDownOpened(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox)->remove_DropDownOpened(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IComboBox2<D>::Header() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox2<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox2<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox2)->put_Header(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IComboBox2<D>::HeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox2<D>::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IComboBox2<D>::PlaceholderText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox2<D>::PlaceholderText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox2<D>::PlaceholderText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox2)->put_PlaceholderText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_IComboBox3<D>::LightDismissOverlayMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox3<D>::LightDismissOverlayMode() const
{
winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox3)->get_LightDismissOverlayMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox3<D>::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox3<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IComboBox3<D>::IsTextSearchEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox3<D>::IsTextSearchEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox3)->get_IsTextSearchEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox3<D>::IsTextSearchEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox3<D>::IsTextSearchEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox3)->put_IsTextSearchEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ComboBoxSelectionChangedTrigger) consume_Windows_UI_Xaml_Controls_IComboBox4<D>::SelectionChangedTrigger() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox4<D>::SelectionChangedTrigger() const
{
winrt::Windows::UI::Xaml::Controls::ComboBoxSelectionChangedTrigger value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox4)->get_SelectionChangedTrigger(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox4<D>::SelectionChangedTrigger(winrt::Windows::UI::Xaml::Controls::ComboBoxSelectionChangedTrigger const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox4<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IComboBox5<D>::PlaceholderForeground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox5<D>::PlaceholderForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox6<D>::IsEditable(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox6<D>::IsEditable(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox6)->put_IsEditable(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IComboBox6<D>::Text() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox6<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox6<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox6<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox6)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IComboBox6<D>::TextBoxStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox6<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox6<D>::TextBoxStyle(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IComboBox6<D>::Description() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox6<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox6<D>::Description(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox6<D>::Description(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox6)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IComboBox6<D>::TextSubmitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ComboBox, winrt::Windows::UI::Xaml::Controls::ComboBoxTextSubmittedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox6<D>::TextSubmitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ComboBox, winrt::Windows::UI::Xaml::Controls::ComboBoxTextSubmittedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IComboBox6<D>::TextSubmitted_revoker consume_Windows_UI_Xaml_Controls_IComboBox6<D>::TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ComboBox, winrt::Windows::UI::Xaml::Controls::ComboBoxTextSubmittedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox6<D>::TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ComboBox, winrt::Windows::UI::Xaml::Controls::ComboBoxTextSubmittedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TextSubmitted_revoker>(this, TextSubmitted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBox6<D>::TextSubmitted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBox6<D>::TextSubmitted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBox6)->remove_TextSubmitted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ComboBox) consume_Windows_UI_Xaml_Controls_IComboBoxFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ComboBoxItem) consume_Windows_UI_Xaml_Controls_IComboBoxItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBoxOverrides<D>::OnDropDownClosed(winrt::Windows::Foundation::IInspectable const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxOverrides<D>::OnDropDownClosed(winrt::Windows::Foundation::IInspectable const& e) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxOverrides)->OnDropDownClosed(*(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBoxOverrides<D>::OnDropDownOpened(winrt::Windows::Foundation::IInspectable const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxOverrides<D>::OnDropDownOpened(winrt::Windows::Foundation::IInspectable const& e) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxOverrides)->OnDropDownOpened(*(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics<D>::IsDropDownOpenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics<D>::MaxDropDownHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics2<D>::HeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics2<D>::HeaderTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics2<D>::PlaceholderTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics3<D>::LightDismissOverlayModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics3<D>::IsTextSearchEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics4<D>::SelectionChangedTriggerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics5<D>::PlaceholderForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics6<D>::IsEditableProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics6<D>::TextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics6<D>::TextBoxStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IComboBoxStatics6<D>::DescriptionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IComboBoxTextSubmittedEventArgs<D>::Text() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxTextSubmittedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IComboBoxTextSubmittedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxTextSubmittedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxTextSubmittedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IComboBoxTextSubmittedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IComboBoxTextSubmittedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IComboBoxTextSubmittedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::Xaml::Controls::ICommandBarElement>) consume_Windows_UI_Xaml_Controls_ICommandBar<D>::PrimaryCommands() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBar<D>::PrimaryCommands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar)->get_PrimaryCommands(&value));
return winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::Xaml::Controls::ICommandBarElement>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::Xaml::Controls::ICommandBarElement>) consume_Windows_UI_Xaml_Controls_ICommandBar<D>::SecondaryCommands() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBar<D>::SecondaryCommands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar)->get_SecondaryCommands(&value));
return winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::Xaml::Controls::ICommandBarElement>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_ICommandBar2<D>::CommandBarOverflowPresenterStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBar2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICommandBar2<D>::CommandBarOverflowPresenterStyle(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBar2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::CommandBarTemplateSettings) consume_Windows_UI_Xaml_Controls_ICommandBar2<D>::CommandBarTemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBar2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarDefaultLabelPosition) consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::DefaultLabelPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::DefaultLabelPosition() const
{
winrt::Windows::UI::Xaml::Controls::CommandBarDefaultLabelPosition value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar3)->get_DefaultLabelPosition(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::DefaultLabelPosition(winrt::Windows::UI::Xaml::Controls::CommandBarDefaultLabelPosition const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarOverflowButtonVisibility) consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::OverflowButtonVisibility() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::OverflowButtonVisibility() const
{
winrt::Windows::UI::Xaml::Controls::CommandBarOverflowButtonVisibility value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar3)->get_OverflowButtonVisibility(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::OverflowButtonVisibility(winrt::Windows::UI::Xaml::Controls::CommandBarOverflowButtonVisibility const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::IsDynamicOverflowEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::IsDynamicOverflowEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar3)->get_IsDynamicOverflowEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::IsDynamicOverflowEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::IsDynamicOverflowEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar3)->put_IsDynamicOverflowEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::DynamicOverflowItemsChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CommandBar, winrt::Windows::UI::Xaml::Controls::DynamicOverflowItemsChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::DynamicOverflowItemsChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CommandBar, winrt::Windows::UI::Xaml::Controls::DynamicOverflowItemsChangingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::DynamicOverflowItemsChanging_revoker consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::DynamicOverflowItemsChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CommandBar, winrt::Windows::UI::Xaml::Controls::DynamicOverflowItemsChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::DynamicOverflowItemsChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CommandBar, winrt::Windows::UI::Xaml::Controls::DynamicOverflowItemsChangingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DynamicOverflowItemsChanging_revoker>(this, DynamicOverflowItemsChanging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::DynamicOverflowItemsChanging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBar3<D>::DynamicOverflowItemsChanging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBar3)->remove_DynamicOverflowItemsChanging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICommandBarElement<D>::IsCompact() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBarElement<D>::IsCompact() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarElement)->get_IsCompact(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICommandBarElement<D>::IsCompact(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBarElement<D>::IsCompact(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarElement)->put_IsCompact(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ICommandBarElement2<D>::IsInOverflow() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBarElement2<D>::IsInOverflow() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarElement2)->get_IsInOverflow(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ICommandBarElement2<D>::DynamicOverflowOrder() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBarElement2<D>::DynamicOverflowOrder() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarElement2)->get_DynamicOverflowOrder(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ICommandBarElement2<D>::DynamicOverflowOrder(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBarElement2<D>::DynamicOverflowOrder(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarElement2)->put_DynamicOverflowOrder(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBar) consume_Windows_UI_Xaml_Controls_ICommandBarFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBarFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::Xaml::Controls::ICommandBarElement>) consume_Windows_UI_Xaml_Controls_ICommandBarFlyout<D>::PrimaryCommands() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBarFlyout<D>::PrimaryCommands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarFlyout)->get_PrimaryCommands(&value));
return winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::Xaml::Controls::ICommandBarElement>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::Xaml::Controls::ICommandBarElement>) consume_Windows_UI_Xaml_Controls_ICommandBarFlyout<D>::SecondaryCommands() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBarFlyout<D>::SecondaryCommands() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ICommandBarFlyout)->get_SecondaryCommands(&value));
return winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::Xaml::Controls::ICommandBarElement>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarFlyout) consume_Windows_UI_Xaml_Controls_ICommandBarFlyoutFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBarFlyoutFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarOverflowPresenter) consume_Windows_UI_Xaml_Controls_ICommandBarOverflowPresenterFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBarOverflowPresenterFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICommandBarStatics<D>::PrimaryCommandsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICommandBarStatics<D>::SecondaryCommandsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICommandBarStatics2<D>::CommandBarOverflowPresenterStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBarStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICommandBarStatics3<D>::DefaultLabelPositionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBarStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICommandBarStatics3<D>::OverflowButtonVisibilityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBarStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ICommandBarStatics3<D>::IsDynamicOverflowEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ICommandBarStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SelectorItem) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::ItemContainer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::InRecycleQueue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::InRecycleQueue() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContainerContentChangingEventArgs)->get_InRecycleQueue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::ItemIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::ItemIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContainerContentChangingEventArgs)->get_ItemIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::Item() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::Phase() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::Phase() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContainerContentChangingEventArgs)->get_Phase(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContainerContentChangingEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContainerContentChangingEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::RegisterUpdateCallback(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs> const& callback) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::RegisterUpdateCallback(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs> const& callback) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContainerContentChangingEventArgs)->RegisterUpdateCallback(*(void**)(&callback)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs> const& callback) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContainerContentChangingEventArgs<D>::RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs> const& callback) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContainerContentChangingEventArgs)->RegisterUpdateCallbackWithPhase(callbackPhase, *(void**)(&callback)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IContentControl<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentControl<D>::Content(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentControl<D>::Content(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentControl)->put_Content(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IContentControl<D>::ContentTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentControl<D>::ContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) consume_Windows_UI_Xaml_Controls_IContentControl<D>::ContentTemplateSelector() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentControl<D>::ContentTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IContentControl<D>::ContentTransitions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentControl<D>::ContentTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IContentControl2<D>::ContentTemplateRoot() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentControl) consume_Windows_UI_Xaml_Controls_IContentControlFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentControlFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentControlOverrides<D>::OnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentControlOverrides<D>::OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentControlOverrides<D>::OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentControlStatics<D>::ContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentControlStatics<D>::ContentTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentControlStatics<D>::ContentTemplateSelectorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentControlStatics<D>::ContentTransitionsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Title() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Title(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Title(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::TitleTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::TitleTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::FullSizeDesired() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::FullSizeDesired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->get_FullSizeDesired(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::FullSizeDesired(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::FullSizeDesired(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_FullSizeDesired(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::PrimaryButtonText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::PrimaryButtonText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::PrimaryButtonText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_PrimaryButtonText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::SecondaryButtonText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::SecondaryButtonText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::SecondaryButtonText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_SecondaryButtonText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::PrimaryButtonCommand() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::PrimaryButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::SecondaryButtonCommand() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::SecondaryButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::PrimaryButtonCommandParameter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::PrimaryButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::PrimaryButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_PrimaryButtonCommandParameter(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::SecondaryButtonCommandParameter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::SecondaryButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::SecondaryButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_SecondaryButtonCommandParameter(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::IsPrimaryButtonEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::IsPrimaryButtonEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->get_IsPrimaryButtonEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::IsPrimaryButtonEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::IsPrimaryButtonEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_IsPrimaryButtonEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::IsSecondaryButtonEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::IsSecondaryButtonEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->get_IsSecondaryButtonEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::IsSecondaryButtonEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::IsSecondaryButtonEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->put_IsSecondaryButtonEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Closing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogClosingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Closing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogClosingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Closing_revoker consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogClosingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogClosingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Closing_revoker>(this, Closing(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Closing(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Closing(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->remove_Closing(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogClosedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Closed_revoker consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogClosedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Opened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogOpenedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Opened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogOpenedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Opened_revoker consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogOpenedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogOpenedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Opened_revoker>(this, Opened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Opened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Opened(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->remove_Opened(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::PrimaryButtonClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::PrimaryButtonClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IContentDialog<D>::PrimaryButtonClick_revoker consume_Windows_UI_Xaml_Controls_IContentDialog<D>::PrimaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::PrimaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PrimaryButtonClick_revoker>(this, PrimaryButtonClick(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::PrimaryButtonClick(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::PrimaryButtonClick(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->remove_PrimaryButtonClick(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::SecondaryButtonClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::SecondaryButtonClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IContentDialog<D>::SecondaryButtonClick_revoker consume_Windows_UI_Xaml_Controls_IContentDialog<D>::SecondaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::SecondaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SecondaryButtonClick_revoker>(this, SecondaryButtonClick(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::SecondaryButtonClick(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::SecondaryButtonClick(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->remove_SecondaryButtonClick(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Hide() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::Hide() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->Hide());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Controls::ContentDialogResult>) consume_Windows_UI_Xaml_Controls_IContentDialog<D>::ShowAsync() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog<D>::ShowAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog)->ShowAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Controls::ContentDialogResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::CloseButtonText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::CloseButtonText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::CloseButtonText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->put_CloseButtonText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::CloseButtonCommand() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::CloseButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::CloseButtonCommandParameter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::CloseButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::CloseButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->put_CloseButtonCommandParameter(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::PrimaryButtonStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::PrimaryButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::SecondaryButtonStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::SecondaryButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::CloseButtonStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::CloseButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialogButton) consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::DefaultButton() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::DefaultButton() const
{
winrt::Windows::UI::Xaml::Controls::ContentDialogButton value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->get_DefaultButton(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::DefaultButton(winrt::Windows::UI::Xaml::Controls::ContentDialogButton const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::CloseButtonClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::CloseButtonClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::CloseButtonClick_revoker consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::CloseButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::CloseButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CloseButtonClick_revoker>(this, CloseButtonClick(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::CloseButtonClick(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog2<D>::CloseButtonClick(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialog2)->remove_CloseButtonClick(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Controls::ContentDialogResult>) consume_Windows_UI_Xaml_Controls_IContentDialog3<D>::ShowAsync(winrt::Windows::UI::Xaml::Controls::ContentDialogPlacement const& placement) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialog3<D>::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<int32_t>(placement), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Controls::ContentDialogResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogButtonClickDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogButtonClickEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogButtonClickEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickDeferral) consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialogResult) consume_Windows_UI_Xaml_Controls_IContentDialogClosedEventArgs<D>::Result() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogClosedEventArgs<D>::Result() const
{
winrt::Windows::UI::Xaml::Controls::ContentDialogResult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogClosedEventArgs)->get_Result(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialogClosingDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogClosingDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogClosingDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialogResult) consume_Windows_UI_Xaml_Controls_IContentDialogClosingEventArgs<D>::Result() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogClosingEventArgs<D>::Result() const
{
winrt::Windows::UI::Xaml::Controls::ContentDialogResult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogClosingEventArgs)->get_Result(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContentDialogClosingEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogClosingEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogClosingEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentDialogClosingEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogClosingEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentDialogClosingEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialogClosingDeferral) consume_Windows_UI_Xaml_Controls_IContentDialogClosingEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogClosingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentDialog) consume_Windows_UI_Xaml_Controls_IContentDialogFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::TitleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::TitleTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::FullSizeDesiredProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::PrimaryButtonTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::SecondaryButtonTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::PrimaryButtonCommandProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::SecondaryButtonCommandProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::PrimaryButtonCommandParameterProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::SecondaryButtonCommandParameterProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::IsPrimaryButtonEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::IsSecondaryButtonEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics2<D>::CloseButtonTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics2<D>::CloseButtonCommandProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics2<D>::CloseButtonCommandParameterProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics2<D>::PrimaryButtonStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics2<D>::SecondaryButtonStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics2<D>::CloseButtonStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentDialogStatics2<D>::DefaultButtonProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentDialogStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentLinkChangeKind) consume_Windows_UI_Xaml_Controls_IContentLinkChangedEventArgs<D>::ChangeKind() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentLinkChangedEventArgs<D>::ChangeKind() const
{
winrt::Windows::UI::Xaml::Controls::ContentLinkChangeKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentLinkChangedEventArgs)->get_ChangeKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ContentLinkInfo) consume_Windows_UI_Xaml_Controls_IContentLinkChangedEventArgs<D>::ContentLinkInfo() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentLinkChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextRange) consume_Windows_UI_Xaml_Controls_IContentLinkChangedEventArgs<D>::TextRange() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentLinkChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::Content(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::Content(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->put_Content(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::ContentTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::ContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::ContentTemplateSelector() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::ContentTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::ContentTransitions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::ContentTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::FontSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::FontSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->get_FontSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::FontSize(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::FontSize(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->put_FontSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::FontFamily() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::FontWeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::FontStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::FontStyle() const
{
winrt::Windows::UI::Text::FontStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->get_FontStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->put_FontStyle(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::FontStretch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::FontStretch() const
{
winrt::Windows::UI::Text::FontStretch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->get_FontStretch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->put_FontStretch(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::CharacterSpacing() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::CharacterSpacing() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->get_CharacterSpacing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::CharacterSpacing(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::CharacterSpacing(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter)->put_CharacterSpacing(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::Foreground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::OpticalMarginAlignment) consume_Windows_UI_Xaml_Controls_IContentPresenter2<D>::OpticalMarginAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter2<D>::OpticalMarginAlignment() const
{
winrt::Windows::UI::Xaml::OpticalMarginAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter2)->get_OpticalMarginAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter2<D>::OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter2<D>::OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter2)->put_OpticalMarginAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextLineBounds) consume_Windows_UI_Xaml_Controls_IContentPresenter2<D>::TextLineBounds() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter2<D>::TextLineBounds() const
{
winrt::Windows::UI::Xaml::TextLineBounds value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter2)->get_TextLineBounds(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter2<D>::TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter2<D>::TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter2)->put_TextLineBounds(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContentPresenter3<D>::IsTextScaleFactorEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter3<D>::IsTextScaleFactorEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter3)->get_IsTextScaleFactorEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter3<D>::IsTextScaleFactorEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter3<D>::IsTextScaleFactorEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter3)->put_IsTextScaleFactorEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextWrapping) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::TextWrapping() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::TextWrapping() const
{
winrt::Windows::UI::Xaml::TextWrapping value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->get_TextWrapping(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->put_TextWrapping(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::MaxLines() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::MaxLines() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->get_MaxLines(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::MaxLines(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::MaxLines(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->put_MaxLines(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::LineStackingStrategy) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::LineStackingStrategy() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::LineStackingStrategy() const
{
winrt::Windows::UI::Xaml::LineStackingStrategy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->get_LineStackingStrategy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->put_LineStackingStrategy(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::LineHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::LineHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->get_LineHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::LineHeight(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::LineHeight(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->put_LineHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::BorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::BorderThickness() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::CornerRadius() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::Padding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::Background() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::HorizontalContentAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::HorizontalContentAlignment() const
{
winrt::Windows::UI::Xaml::HorizontalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->get_HorizontalContentAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::HorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::HorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->put_HorizontalContentAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::VerticalContentAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::VerticalContentAlignment() const
{
winrt::Windows::UI::Xaml::VerticalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->get_VerticalContentAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::VerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter4<D>::VerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter4)->put_VerticalContentAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::BrushTransition) consume_Windows_UI_Xaml_Controls_IContentPresenter5<D>::BackgroundTransition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter5<D>::BackgroundTransition(winrt::Windows::UI::Xaml::BrushTransition const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) consume_Windows_UI_Xaml_Controls_IContentPresenter5<D>::BackgroundSizing() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter5<D>::BackgroundSizing() const
{
winrt::Windows::UI::Xaml::Controls::BackgroundSizing value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContentPresenter5)->get_BackgroundSizing(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenter5<D>::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenter5<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ContentPresenter) consume_Windows_UI_Xaml_Controls_IContentPresenterFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenterOverrides<D>::OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContentPresenterOverrides<D>::OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::ContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::ContentTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::ContentTemplateSelectorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::ContentTransitionsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::FontSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::FontFamilyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::FontWeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::FontStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::FontStretchProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::CharacterSpacingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::ForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics2<D>::OpticalMarginAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics2<D>::TextLineBoundsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics3<D>::IsTextScaleFactorEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::TextWrappingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::MaxLinesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::LineStackingStrategyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::LineHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::BorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::BorderThicknessProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::CornerRadiusProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::PaddingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::BackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::HorizontalContentAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::VerticalContentAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IContentPresenterStatics5<D>::BackgroundSizingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContentPresenterStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IContextMenuEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContextMenuEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContextMenuEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IContextMenuEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContextMenuEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContextMenuEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IContextMenuEventArgs<D>::CursorLeft() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContextMenuEventArgs<D>::CursorLeft() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContextMenuEventArgs)->get_CursorLeft(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IContextMenuEventArgs<D>::CursorTop() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IContextMenuEventArgs<D>::CursorTop() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IContextMenuEventArgs)->get_CursorTop(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IControl<D>::FontSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::FontSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_FontSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::FontSize(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::FontSize(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_FontSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_IControl<D>::FontFamily() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_IControl<D>::FontWeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_IControl<D>::FontStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::FontStyle() const
{
winrt::Windows::UI::Text::FontStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_FontStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_FontStyle(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) consume_Windows_UI_Xaml_Controls_IControl<D>::FontStretch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::FontStretch() const
{
winrt::Windows::UI::Text::FontStretch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_FontStretch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_FontStretch(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IControl<D>::CharacterSpacing() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::CharacterSpacing() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_CharacterSpacing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::CharacterSpacing(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::CharacterSpacing(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_CharacterSpacing(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IControl<D>::Foreground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControl<D>::IsTabStop() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::IsTabStop() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_IsTabStop(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::IsTabStop(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::IsTabStop(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_IsTabStop(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControl<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IControl<D>::TabIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::TabIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_TabIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::TabIndex(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::TabIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_TabIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode) consume_Windows_UI_Xaml_Controls_IControl<D>::TabNavigation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::TabNavigation() const
{
winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_TabNavigation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::TabNavigation(winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ControlTemplate) consume_Windows_UI_Xaml_Controls_IControl<D>::Template() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::Template(winrt::Windows::UI::Xaml::Controls::ControlTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IControl<D>::Padding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_Controls_IControl<D>::HorizontalContentAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::HorizontalContentAlignment() const
{
winrt::Windows::UI::Xaml::HorizontalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_HorizontalContentAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::HorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::HorizontalContentAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_HorizontalContentAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_Controls_IControl<D>::VerticalContentAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::VerticalContentAlignment() const
{
winrt::Windows::UI::Xaml::VerticalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_VerticalContentAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::VerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::VerticalContentAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->put_VerticalContentAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IControl<D>::Background() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IControl<D>::BorderThickness() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IControl<D>::BorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusState) consume_Windows_UI_Xaml_Controls_IControl<D>::FocusState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::FocusState() const
{
winrt::Windows::UI::Xaml::FocusState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->get_FocusState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IControl<D>::IsEnabledChanged(winrt::Windows::UI::Xaml::DependencyPropertyChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IControl<D>::IsEnabledChanged_revoker consume_Windows_UI_Xaml_Controls_IControl<D>::IsEnabledChanged(auto_revoke_t, winrt::Windows::UI::Xaml::DependencyPropertyChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::IsEnabledChanged(auto_revoke_t, winrt::Windows::UI::Xaml::DependencyPropertyChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, IsEnabledChanged_revoker>(this, IsEnabledChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl<D>::IsEnabledChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::IsEnabledChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->remove_IsEnabledChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControl<D>::ApplyTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::ApplyTemplate() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl)->ApplyTemplate(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControl<D>::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl<D>::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<int32_t>(value), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControl2<D>::IsTextScaleFactorEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl2<D>::IsTextScaleFactorEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl2)->get_IsTextScaleFactorEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl2<D>::IsTextScaleFactorEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl2<D>::IsTextScaleFactorEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl2)->put_IsTextScaleFactorEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControl3<D>::UseSystemFocusVisuals() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl3<D>::UseSystemFocusVisuals() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl3)->get_UseSystemFocusVisuals(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl3<D>::UseSystemFocusVisuals(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl3<D>::UseSystemFocusVisuals(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl3)->put_UseSystemFocusVisuals(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControl4<D>::IsFocusEngagementEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::IsFocusEngagementEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->get_IsFocusEngagementEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4<D>::IsFocusEngagementEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::IsFocusEngagementEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->put_IsFocusEngagementEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControl4<D>::IsFocusEngaged() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::IsFocusEngaged() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->get_IsFocusEngaged(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4<D>::IsFocusEngaged(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::IsFocusEngaged(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->put_IsFocusEngaged(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RequiresPointer) consume_Windows_UI_Xaml_Controls_IControl4<D>::RequiresPointer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::RequiresPointer() const
{
winrt::Windows::UI::Xaml::Controls::RequiresPointer value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->get_RequiresPointer(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4<D>::RequiresPointer(winrt::Windows::UI::Xaml::Controls::RequiresPointer const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IControl4<D>::XYFocusLeft() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4<D>::XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IControl4<D>::XYFocusRight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4<D>::XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IControl4<D>::XYFocusUp() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4<D>::XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IControl4<D>::XYFocusDown() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4<D>::XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSoundMode) consume_Windows_UI_Xaml_Controls_IControl4<D>::ElementSoundMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::ElementSoundMode() const
{
winrt::Windows::UI::Xaml::ElementSoundMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->get_ElementSoundMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4<D>::ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->put_ElementSoundMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IControl4<D>::FocusEngaged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Control, winrt::Windows::UI::Xaml::Controls::FocusEngagedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::FocusEngaged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Control, winrt::Windows::UI::Xaml::Controls::FocusEngagedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IControl4<D>::FocusEngaged_revoker consume_Windows_UI_Xaml_Controls_IControl4<D>::FocusEngaged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Control, winrt::Windows::UI::Xaml::Controls::FocusEngagedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::FocusEngaged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Control, winrt::Windows::UI::Xaml::Controls::FocusEngagedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FocusEngaged_revoker>(this, FocusEngaged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4<D>::FocusEngaged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::FocusEngaged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->remove_FocusEngaged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IControl4<D>::FocusDisengaged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Control, winrt::Windows::UI::Xaml::Controls::FocusDisengagedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::FocusDisengaged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Control, winrt::Windows::UI::Xaml::Controls::FocusDisengagedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IControl4<D>::FocusDisengaged_revoker consume_Windows_UI_Xaml_Controls_IControl4<D>::FocusDisengaged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Control, winrt::Windows::UI::Xaml::Controls::FocusDisengagedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::FocusDisengaged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Control, winrt::Windows::UI::Xaml::Controls::FocusDisengagedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FocusDisengaged_revoker>(this, FocusDisengaged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4<D>::FocusDisengaged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::FocusDisengaged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->remove_FocusDisengaged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl4<D>::RemoveFocusEngagement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl4<D>::RemoveFocusEngagement() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl4)->RemoveFocusEngagement());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IControl5<D>::DefaultStyleResourceUri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl5<D>::DefaultStyleResourceUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl5<D>::DefaultStyleResourceUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl5)->put_DefaultStyleResourceUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) consume_Windows_UI_Xaml_Controls_IControl7<D>::BackgroundSizing() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl7<D>::BackgroundSizing() const
{
winrt::Windows::UI::Xaml::Controls::BackgroundSizing value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControl7)->get_BackgroundSizing(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl7<D>::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl7<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_Controls_IControl7<D>::CornerRadius() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl7<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControl7<D>::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControl7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Control) consume_Windows_UI_Xaml_Controls_IControlFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnPointerEntered(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnPointerPressed(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnPointerMoved(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnPointerReleased(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnPointerExited(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnPointerCaptureLost(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnPointerCanceled(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnPointerWheelChanged(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnTapped(winrt::Windows::UI::Xaml::Input::TappedRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnDoubleTapped(winrt::Windows::UI::Xaml::Input::DoubleTappedRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnHolding(winrt::Windows::UI::Xaml::Input::HoldingRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnRightTapped(winrt::Windows::UI::Xaml::Input::RightTappedRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnManipulationStarting(winrt::Windows::UI::Xaml::Input::ManipulationStartingRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnManipulationInertiaStarting(winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnManipulationStarted(winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnManipulationDelta(winrt::Windows::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnManipulationCompleted(winrt::Windows::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnGotFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnGotFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnGotFocus(*(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnLostFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnLostFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnLostFocus(*(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnDragEnter(winrt::Windows::UI::Xaml::DragEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnDragEnter(winrt::Windows::UI::Xaml::DragEventArgs const& e) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnDragEnter(*(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnDragLeave(winrt::Windows::UI::Xaml::DragEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnDragLeave(winrt::Windows::UI::Xaml::DragEventArgs const& e) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnDragLeave(*(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnDragOver(winrt::Windows::UI::Xaml::DragEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnDragOver(winrt::Windows::UI::Xaml::DragEventArgs const& e) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnDragOver(*(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnDrop(winrt::Windows::UI::Xaml::DragEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides<D>::OnDrop(winrt::Windows::UI::Xaml::DragEventArgs const& e) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlOverrides)->OnDrop(*(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides6<D>::OnPreviewKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides6<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides6<D>::OnPreviewKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides6<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlOverrides6<D>::OnCharacterReceived(winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlOverrides6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IControlProtected<D>::DefaultStyleKey() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlProtected<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlProtected<D>::DefaultStyleKey(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlProtected<D>::DefaultStyleKey(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IControlProtected)->put_DefaultStyleKey(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IControlProtected<D>::GetTemplateChild(param::hstring const& childName) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlProtected<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::FontSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::FontFamilyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::FontWeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::FontStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::FontStretchProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::CharacterSpacingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::ForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::IsTabStopProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::IsEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::TabIndexProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::TabNavigationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::TemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::PaddingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::HorizontalContentAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::VerticalContentAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::BackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::BorderThicknessProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::BorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::DefaultStyleKeyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics<D>::FocusStateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics2<D>::IsTextScaleFactorEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics3<D>::UseSystemFocusVisualsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics3<D>::IsTemplateFocusTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControlStatics3<D>::GetIsTemplateFocusTarget(winrt::Windows::UI::Xaml::FrameworkElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlStatics3<D>::SetIsTemplateFocusTarget(winrt::Windows::UI::Xaml::FrameworkElement const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics4<D>::IsFocusEngagementEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics4<D>::IsFocusEngagedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics4<D>::RequiresPointerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics4<D>::XYFocusLeftProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics4<D>::XYFocusRightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics4<D>::XYFocusUpProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics4<D>::XYFocusDownProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics4<D>::ElementSoundModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics5<D>::DefaultStyleResourceUriProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics5<D>::IsTemplateKeyTipTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IControlStatics5<D>::GetIsTemplateKeyTipTarget(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlStatics5<D>::SetIsTemplateKeyTipTarget(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics7<D>::BackgroundSizingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IControlStatics7<D>::CornerRadiusProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlStatics7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Controls_IControlTemplate<D>::TargetType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlTemplate<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IControlTemplate<D>::TargetType(winrt::Windows::UI::Xaml::Interop::TypeName const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IControlTemplate<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IDataTemplateSelector<D>::SelectTemplate(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDataTemplateSelector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IDataTemplateSelector2<D>::SelectTemplate(winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDataTemplateSelector2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) consume_Windows_UI_Xaml_Controls_IDataTemplateSelectorFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDataTemplateSelectorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IDataTemplateSelectorOverrides<D>::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDataTemplateSelectorOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IDataTemplateSelectorOverrides2<D>::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDataTemplateSelectorOverrides2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePickedEventArgs<D>::OldDate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePickedEventArgs<D>::NewDate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::Header() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_Header(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::HeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::CalendarIdentifier() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::CalendarIdentifier(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::CalendarIdentifier(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_CalendarIdentifier(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::Date() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::Date(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::DayVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::DayVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->get_DayVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::DayVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::DayVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_DayVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::MonthVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::MonthVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->get_MonthVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::MonthVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::MonthVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_MonthVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::YearVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::YearVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->get_YearVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::YearVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::YearVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_YearVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::DayFormat() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::DayFormat(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::DayFormat(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_DayFormat(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::MonthFormat() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::MonthFormat(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::MonthFormat(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_MonthFormat(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::YearFormat() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::YearFormat(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::YearFormat(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->put_YearFormat(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::MinYear() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::MinYear(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::MaxYear() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::MaxYear(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::Orientation() const
{
winrt::Windows::UI::Xaml::Controls::Orientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::DateChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::DatePickerValueChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::DateChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::DatePickerValueChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IDatePicker<D>::DateChanged_revoker consume_Windows_UI_Xaml_Controls_IDatePicker<D>::DateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::DatePickerValueChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::DateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::DatePickerValueChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DateChanged_revoker>(this, DateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker<D>::DateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker<D>::DateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker)->remove_DateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_IDatePicker2<D>::LightDismissOverlayMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker2<D>::LightDismissOverlayMode() const
{
winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker2)->get_LightDismissOverlayMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker2<D>::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_UI_Xaml_Controls_IDatePicker3<D>::SelectedDate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker3<D>::SelectedDate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker3)->get_SelectedDate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker3<D>::SelectedDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker3<D>::SelectedDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker3)->put_SelectedDate(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IDatePicker3<D>::SelectedDateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::DatePicker, winrt::Windows::UI::Xaml::Controls::DatePickerSelectedValueChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker3<D>::SelectedDateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::DatePicker, winrt::Windows::UI::Xaml::Controls::DatePickerSelectedValueChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IDatePicker3<D>::SelectedDateChanged_revoker consume_Windows_UI_Xaml_Controls_IDatePicker3<D>::SelectedDateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::DatePicker, winrt::Windows::UI::Xaml::Controls::DatePickerSelectedValueChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker3<D>::SelectedDateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::DatePicker, winrt::Windows::UI::Xaml::Controls::DatePickerSelectedValueChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SelectedDateChanged_revoker>(this, SelectedDateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePicker3<D>::SelectedDateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePicker3<D>::SelectedDateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePicker3)->remove_SelectedDateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DatePicker) consume_Windows_UI_Xaml_Controls_IDatePickerFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::CalendarIdentifier() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::CalendarIdentifier(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::CalendarIdentifier(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->put_CalendarIdentifier(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::Date() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::Date(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::DayVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::DayVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->get_DayVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::DayVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::DayVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->put_DayVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::MonthVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::MonthVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->get_MonthVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::MonthVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::MonthVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->put_MonthVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::YearVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::YearVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->get_YearVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::YearVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::YearVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->put_YearVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::MinYear() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::MinYear(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::MaxYear() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::MaxYear(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::DatePicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::DatePickerFlyout, winrt::Windows::UI::Xaml::Controls::DatePickedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::DatePicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::DatePickerFlyout, winrt::Windows::UI::Xaml::Controls::DatePickedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::DatePicked_revoker consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::DatePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::DatePickerFlyout, winrt::Windows::UI::Xaml::Controls::DatePickedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::DatePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::DatePickerFlyout, winrt::Windows::UI::Xaml::Controls::DatePickedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DatePicked_revoker>(this, DatePicked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::DatePicked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::DatePicked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout)->remove_DatePicked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>>) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout<D>::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<winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2<D>::DayFormat() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2<D>::DayFormat(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2<D>::DayFormat(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout2)->put_DayFormat(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2<D>::MonthFormat() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2<D>::MonthFormat(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2<D>::MonthFormat(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout2)->put_MonthFormat(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2<D>::YearFormat() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2<D>::YearFormat(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyout2<D>::YearFormat(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout2)->put_YearFormat(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItem<D>::PrimaryText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItem<D>::PrimaryText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItem<D>::PrimaryText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutItem)->put_PrimaryText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItem<D>::SecondaryText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItem<D>::SecondaryText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItem<D>::SecondaryText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutItem)->put_SecondaryText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItemStatics<D>::PrimaryTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItemStatics<D>::SecondaryTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutPresenter2<D>::IsDefaultShadowEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutPresenter2<D>::IsDefaultShadowEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutPresenter2)->get_IsDefaultShadowEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutPresenter2<D>::IsDefaultShadowEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutPresenter2<D>::IsDefaultShadowEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutPresenter2)->put_IsDefaultShadowEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutPresenterStatics2<D>::IsDefaultShadowEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutPresenterStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics<D>::CalendarIdentifierProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics<D>::DateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics<D>::DayVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics<D>::MonthVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics<D>::YearVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics<D>::MinYearProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics<D>::MaxYearProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics2<D>::DayFormatProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics2<D>::MonthFormatProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics2<D>::YearFormatProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerFlyoutStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_UI_Xaml_Controls_IDatePickerSelectedValueChangedEventArgs<D>::OldDate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerSelectedValueChangedEventArgs<D>::OldDate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerSelectedValueChangedEventArgs)->get_OldDate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_UI_Xaml_Controls_IDatePickerSelectedValueChangedEventArgs<D>::NewDate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerSelectedValueChangedEventArgs<D>::NewDate() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDatePickerSelectedValueChangedEventArgs)->get_NewDate(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::HeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::HeaderTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::CalendarIdentifierProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::DateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::DayVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::MonthVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::YearVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::DayFormatProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::MonthFormatProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::YearFormatProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::MinYearProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::MaxYearProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::OrientationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics2<D>::LightDismissOverlayModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IDatePickerStatics3<D>::SelectedDateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePickerValueChangedEventArgs<D>::OldDate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerValueChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Controls_IDatePickerValueChangedEventArgs<D>::NewDate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDatePickerValueChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_IDragItemsCompletedEventArgs<D>::Items() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDragItemsCompletedEventArgs<D>::Items() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDragItemsCompletedEventArgs)->get_Items(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_UI_Xaml_Controls_IDragItemsCompletedEventArgs<D>::DropResult() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDragItemsCompletedEventArgs<D>::DropResult() const
{
winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDragItemsCompletedEventArgs)->get_DropResult(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IDragItemsStartingEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDragItemsStartingEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDragItemsStartingEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IDragItemsStartingEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDragItemsStartingEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDragItemsStartingEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_IDragItemsStartingEventArgs<D>::Items() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDragItemsStartingEventArgs<D>::Items() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDragItemsStartingEventArgs)->get_Items(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) consume_Windows_UI_Xaml_Controls_IDragItemsStartingEventArgs<D>::Data() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDragItemsStartingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DropDownButtonAutomationPeer) consume_Windows_UI_Xaml_Controls_IDropDownButtonAutomationPeerFactory<D>::CreateInstance(winrt::Windows::UI::Xaml::Controls::DropDownButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDropDownButtonAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DropDownButton) consume_Windows_UI_Xaml_Controls_IDropDownButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDropDownButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CommandBarDynamicOverflowAction) consume_Windows_UI_Xaml_Controls_IDynamicOverflowItemsChangingEventArgs<D>::Action() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IDynamicOverflowItemsChangingEventArgs<D>::Action() const
{
winrt::Windows::UI::Xaml::Controls::CommandBarDynamicOverflowAction value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IDynamicOverflowItemsChangingEventArgs)->get_Action(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFlipView2<D>::UseTouchAnimationsForAllNavigation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFlipView2<D>::UseTouchAnimationsForAllNavigation() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlipView2)->get_UseTouchAnimationsForAllNavigation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFlipView2<D>::UseTouchAnimationsForAllNavigation(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFlipView2<D>::UseTouchAnimationsForAllNavigation(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlipView2)->put_UseTouchAnimationsForAllNavigation(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::FlipView) consume_Windows_UI_Xaml_Controls_IFlipViewFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFlipViewFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::FlipViewItem) consume_Windows_UI_Xaml_Controls_IFlipViewItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFlipViewItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFlipViewStatics2<D>::UseTouchAnimationsForAllNavigationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFlipViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IFlyout<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFlyout<D>::Content(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IFlyout<D>::FlyoutPresenterStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFlyout<D>::FlyoutPresenterStyle(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Flyout) consume_Windows_UI_Xaml_Controls_IFlyoutFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFlyoutFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFlyoutPresenter2<D>::IsDefaultShadowEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFlyoutPresenter2<D>::IsDefaultShadowEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlyoutPresenter2)->get_IsDefaultShadowEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFlyoutPresenter2<D>::IsDefaultShadowEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFlyoutPresenter2<D>::IsDefaultShadowEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFlyoutPresenter2)->put_IsDefaultShadowEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::FlyoutPresenter) consume_Windows_UI_Xaml_Controls_IFlyoutPresenterFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFlyoutPresenterFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFlyoutPresenterStatics2<D>::IsDefaultShadowEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFlyoutPresenterStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFlyoutStatics<D>::ContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFlyoutStatics<D>::FlyoutPresenterStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFocusEngagedEventArgs2<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFocusEngagedEventArgs2<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFocusEngagedEventArgs2)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFocusEngagedEventArgs2<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFocusEngagedEventArgs2<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFocusEngagedEventArgs2)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IFontIcon<D>::Glyph() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIcon<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIcon<D>::Glyph(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIcon<D>::Glyph(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon)->put_Glyph(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IFontIcon<D>::FontSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIcon<D>::FontSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon)->get_FontSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIcon<D>::FontSize(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIcon<D>::FontSize(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon)->put_FontSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_IFontIcon<D>::FontFamily() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIcon<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIcon<D>::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIcon<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_IFontIcon<D>::FontWeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIcon<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIcon<D>::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIcon<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_IFontIcon<D>::FontStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIcon<D>::FontStyle() const
{
winrt::Windows::UI::Text::FontStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon)->get_FontStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIcon<D>::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIcon<D>::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon)->put_FontStyle(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFontIcon2<D>::IsTextScaleFactorEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIcon2<D>::IsTextScaleFactorEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon2)->get_IsTextScaleFactorEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIcon2<D>::IsTextScaleFactorEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIcon2<D>::IsTextScaleFactorEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon2)->put_IsTextScaleFactorEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFontIcon3<D>::MirroredWhenRightToLeft() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIcon3<D>::MirroredWhenRightToLeft() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon3)->get_MirroredWhenRightToLeft(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIcon3<D>::MirroredWhenRightToLeft(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIcon3<D>::MirroredWhenRightToLeft(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIcon3)->put_MirroredWhenRightToLeft(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::FontIcon) consume_Windows_UI_Xaml_Controls_IFontIconFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::Glyph() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::Glyph(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::Glyph(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->put_Glyph(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::FontSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::FontSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->get_FontSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::FontSize(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::FontSize(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->put_FontSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::FontFamily() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::FontWeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::FontStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::FontStyle() const
{
winrt::Windows::UI::Text::FontStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->get_FontStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->put_FontStyle(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::IsTextScaleFactorEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::IsTextScaleFactorEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->get_IsTextScaleFactorEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::IsTextScaleFactorEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::IsTextScaleFactorEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->put_IsTextScaleFactorEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::MirroredWhenRightToLeft() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::MirroredWhenRightToLeft() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->get_MirroredWhenRightToLeft(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::MirroredWhenRightToLeft(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSource<D>::MirroredWhenRightToLeft(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFontIconSource)->put_MirroredWhenRightToLeft(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::FontIconSource) consume_Windows_UI_Xaml_Controls_IFontIconSourceFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics<D>::GlyphProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics<D>::FontSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics<D>::FontFamilyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics<D>::FontWeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics<D>::FontStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics<D>::IsTextScaleFactorEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics<D>::MirroredWhenRightToLeftProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconStatics<D>::GlyphProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconStatics<D>::FontSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconStatics<D>::FontFamilyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconStatics<D>::FontWeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconStatics<D>::FontStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconStatics2<D>::IsTextScaleFactorEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFontIconStatics3<D>::MirroredWhenRightToLeftProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFontIconStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IFrame<D>::CacheSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::CacheSize() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->get_CacheSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame<D>::CacheSize(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::CacheSize(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->put_CacheSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFrame<D>::CanGoBack() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::CanGoBack() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->get_CanGoBack(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFrame<D>::CanGoForward() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::CanGoForward() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->get_CanGoForward(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Controls_IFrame<D>::CurrentSourcePageType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Controls_IFrame<D>::SourcePageType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame<D>::SourcePageType(winrt::Windows::UI::Xaml::Interop::TypeName const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IFrame<D>::BackStackDepth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::BackStackDepth() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->get_BackStackDepth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IFrame<D>::Navigated(winrt::Windows::UI::Xaml::Navigation::NavigatedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IFrame<D>::Navigated_revoker consume_Windows_UI_Xaml_Controls_IFrame<D>::Navigated(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigatedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::Navigated(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigatedEventHandler const& handler) const
{
return impl::make_event_revoker<D, Navigated_revoker>(this, Navigated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame<D>::Navigated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::Navigated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->remove_Navigated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IFrame<D>::Navigating(winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IFrame<D>::Navigating_revoker consume_Windows_UI_Xaml_Controls_IFrame<D>::Navigating(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::Navigating(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventHandler const& handler) const
{
return impl::make_event_revoker<D, Navigating_revoker>(this, Navigating(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame<D>::Navigating(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::Navigating(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->remove_Navigating(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IFrame<D>::NavigationFailed(winrt::Windows::UI::Xaml::Navigation::NavigationFailedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IFrame<D>::NavigationFailed_revoker consume_Windows_UI_Xaml_Controls_IFrame<D>::NavigationFailed(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigationFailedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::NavigationFailed(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigationFailedEventHandler const& handler) const
{
return impl::make_event_revoker<D, NavigationFailed_revoker>(this, NavigationFailed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame<D>::NavigationFailed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::NavigationFailed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->remove_NavigationFailed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IFrame<D>::NavigationStopped(winrt::Windows::UI::Xaml::Navigation::NavigationStoppedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IFrame<D>::NavigationStopped_revoker consume_Windows_UI_Xaml_Controls_IFrame<D>::NavigationStopped(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigationStoppedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::NavigationStopped(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::NavigationStoppedEventHandler const& handler) const
{
return impl::make_event_revoker<D, NavigationStopped_revoker>(this, NavigationStopped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame<D>::NavigationStopped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::NavigationStopped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->remove_NavigationStopped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame<D>::GoBack() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::GoBack() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->GoBack());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame<D>::GoForward() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::GoForward() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->GoForward());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFrame<D>::Navigate(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::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**)(&parameter), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IFrame<D>::GetNavigationState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame<D>::SetNavigationState(param::hstring const& navigationState) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame<D>::SetNavigationState(param::hstring const& navigationState) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame)->SetNavigationState(*(void**)(&navigationState)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Navigation::PageStackEntry>) consume_Windows_UI_Xaml_Controls_IFrame2<D>::BackStack() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame2<D>::BackStack() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame2)->get_BackStack(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Navigation::PageStackEntry>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Navigation::PageStackEntry>) consume_Windows_UI_Xaml_Controls_IFrame2<D>::ForwardStack() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame2<D>::ForwardStack() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame2)->get_ForwardStack(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Navigation::PageStackEntry>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFrame2<D>::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 <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame2<D>::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**)(&parameter), *(void**)(&infoOverride), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame3<D>::GoBack(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& transitionInfoOverride) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame4<D>::SetNavigationState(param::hstring const& navigationState, bool suppressNavigate) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame4<D>::SetNavigationState(param::hstring const& navigationState, bool suppressNavigate) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame4)->SetNavigationStateWithNavigationControl(*(void**)(&navigationState), suppressNavigate));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFrame5<D>::IsNavigationStackEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame5<D>::IsNavigationStackEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame5)->get_IsNavigationStackEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IFrame5<D>::IsNavigationStackEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame5<D>::IsNavigationStackEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IFrame5)->put_IsNavigationStackEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IFrame5<D>::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 <typename D> auto consume_Windows_UI_Xaml_Controls_IFrame5<D>::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**)(&parameter), *(void**)(&navigationOptions), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Frame) consume_Windows_UI_Xaml_Controls_IFrameFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrameFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics<D>::CacheSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics<D>::CanGoBackProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics<D>::CanGoForwardProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics<D>::CurrentSourcePageTypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics<D>::SourcePageTypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics<D>::BackStackDepthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics2<D>::BackStackProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrameStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics2<D>::ForwardStackProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrameStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IFrameStatics5<D>::IsNavigationStackEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IFrameStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RowDefinitionCollection) consume_Windows_UI_Xaml_Controls_IGrid<D>::RowDefinitions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGrid<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ColumnDefinitionCollection) consume_Windows_UI_Xaml_Controls_IGrid<D>::ColumnDefinitions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGrid<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IGrid2<D>::BorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGrid2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGrid2<D>::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGrid2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IGrid2<D>::BorderThickness() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGrid2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGrid2<D>::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGrid2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_Controls_IGrid2<D>::CornerRadius() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGrid2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGrid2<D>::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGrid2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IGrid2<D>::Padding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGrid2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGrid2<D>::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGrid2<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IGrid3<D>::RowSpacing() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGrid3<D>::RowSpacing() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid3)->get_RowSpacing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGrid3<D>::RowSpacing(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGrid3<D>::RowSpacing(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid3)->put_RowSpacing(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IGrid3<D>::ColumnSpacing() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGrid3<D>::ColumnSpacing() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid3)->get_ColumnSpacing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGrid3<D>::ColumnSpacing(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGrid3<D>::ColumnSpacing(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid3)->put_ColumnSpacing(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) consume_Windows_UI_Xaml_Controls_IGrid4<D>::BackgroundSizing() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGrid4<D>::BackgroundSizing() const
{
winrt::Windows::UI::Xaml::Controls::BackgroundSizing value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGrid4)->get_BackgroundSizing(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGrid4<D>::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGrid4<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Grid) consume_Windows_UI_Xaml_Controls_IGridFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics<D>::RowProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IGridStatics<D>::GetRow(winrt::Windows::UI::Xaml::FrameworkElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGridStatics<D>::SetRow(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics<D>::ColumnProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IGridStatics<D>::GetColumn(winrt::Windows::UI::Xaml::FrameworkElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGridStatics<D>::SetColumn(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics<D>::RowSpanProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IGridStatics<D>::GetRowSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGridStatics<D>::SetRowSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics<D>::ColumnSpanProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IGridStatics<D>::GetColumnSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGridStatics<D>::SetColumnSpan(winrt::Windows::UI::Xaml::FrameworkElement const& element, int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics2<D>::BorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics2<D>::BorderThicknessProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics2<D>::CornerRadiusProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics2<D>::PaddingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics3<D>::RowSpacingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics3<D>::ColumnSpacingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IGridStatics4<D>::BackgroundSizingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GridView) consume_Windows_UI_Xaml_Controls_IGridViewFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridViewFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GridViewHeaderItem) consume_Windows_UI_Xaml_Controls_IGridViewHeaderItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridViewHeaderItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GridViewItemTemplateSettings) consume_Windows_UI_Xaml_Controls_IGridViewItem<D>::TemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridViewItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GridViewItem) consume_Windows_UI_Xaml_Controls_IGridViewItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGridViewItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupItem) consume_Windows_UI_Xaml_Controls_IGroupItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate) consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::Panel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::Panel(winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::ContainerStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::ContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StyleSelector) consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::ContainerStyleSelector() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::ContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::HeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::HeaderTemplateSelector() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::HeaderTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::HidesIfEmpty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::HidesIfEmpty() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyle)->get_HidesIfEmpty(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::HidesIfEmpty(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyle<D>::HidesIfEmpty(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IGroupStyle)->put_HidesIfEmpty(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IGroupStyle2<D>::HeaderContainerStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyle2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IGroupStyle2<D>::HeaderContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyle2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyle) consume_Windows_UI_Xaml_Controls_IGroupStyleFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyleFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyle) consume_Windows_UI_Xaml_Controls_IGroupStyleSelector<D>::SelectGroupStyle(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyleSelector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector) consume_Windows_UI_Xaml_Controls_IGroupStyleSelectorFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyleSelectorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyle) consume_Windows_UI_Xaml_Controls_IGroupStyleSelectorOverrides<D>::SelectGroupStyleCore(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IGroupStyleSelectorOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::PlacementTarget() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::PlacementTarget(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HandwritingPanelPlacementAlignment) consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::PlacementAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::PlacementAlignment() const
{
winrt::Windows::UI::Xaml::Controls::HandwritingPanelPlacementAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->get_PlacementAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::PlacementAlignment(winrt::Windows::UI::Xaml::Controls::HandwritingPanelPlacementAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::IsOpen() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::IsOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->get_IsOpen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::AreCandidatesEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::AreCandidatesEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->get_AreCandidatesEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::AreCandidatesEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::AreCandidatesEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->put_AreCandidatesEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::Opened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingPanelOpenedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::Opened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingPanelOpenedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::Opened_revoker consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingPanelOpenedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingPanelOpenedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Opened_revoker>(this, Opened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::Opened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::Opened(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->remove_Opened(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingPanelClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingPanelClosedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::Closed_revoker consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingPanelClosedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingPanelClosedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::TryClose() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::TryClose() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->TryClose(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::TryOpen() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView<D>::TryOpen() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView)->TryOpen(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::IsSwitchToKeyboardEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::IsSwitchToKeyboardEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->get_IsSwitchToKeyboardEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::IsSwitchToKeyboardEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::IsSwitchToKeyboardEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->put_IsSwitchToKeyboardEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::IsCommandBarOpen() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::IsCommandBarOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->get_IsCommandBarOpen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::IsCommandBarOpen(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::IsCommandBarOpen(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->put_IsCommandBarOpen(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreInputDeviceTypes) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::InputDeviceTypes() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::InputDeviceTypes() const
{
winrt::Windows::UI::Core::CoreInputDeviceTypes value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->get_InputDeviceTypes(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::InputDeviceTypes(winrt::Windows::UI::Core::CoreInputDeviceTypes const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::InputDeviceTypes(winrt::Windows::UI::Core::CoreInputDeviceTypes const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->put_InputDeviceTypes(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::CandidatesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewCandidatesChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::CandidatesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewCandidatesChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::CandidatesChanged_revoker consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::CandidatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewCandidatesChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::CandidatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewCandidatesChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CandidatesChanged_revoker>(this, CandidatesChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::CandidatesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::CandidatesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->remove_CandidatesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::TextSubmitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewTextSubmittedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::TextSubmitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewTextSubmittedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::TextSubmitted_revoker consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewTextSubmittedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewTextSubmittedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TextSubmitted_revoker>(this, TextSubmitted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::TextSubmitted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::TextSubmitted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->remove_TextSubmitted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::GetCandidates(uint32_t candidatesSessionId) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::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<hstring>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::SelectCandidate(uint32_t candidatesSessionId, uint32_t selectedCandidateIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingView2<D>::SelectCandidate(uint32_t candidatesSessionId, uint32_t selectedCandidateIndex) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingView2)->SelectCandidate(candidatesSessionId, selectedCandidateIndex));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Controls_IHandwritingViewCandidatesChangedEventArgs<D>::CandidatesSessionId() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingViewCandidatesChangedEventArgs<D>::CandidatesSessionId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHandwritingViewCandidatesChangedEventArgs)->get_CandidatesSessionId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HandwritingView) consume_Windows_UI_Xaml_Controls_IHandwritingViewFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingViewFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics<D>::PlacementTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics<D>::PlacementAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics<D>::IsOpenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics<D>::AreCandidatesEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics2<D>::IsSwitchToKeyboardEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics2<D>::IsCommandBarOpenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHandwritingViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IHub<D>::Header() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHub<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->put_Header(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IHub<D>::HeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHub<D>::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IHub<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::Orientation() const
{
winrt::Windows::UI::Xaml::Controls::Orientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHub<D>::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IHub<D>::DefaultSectionIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::DefaultSectionIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->get_DefaultSectionIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHub<D>::DefaultSectionIndex(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::DefaultSectionIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->put_DefaultSectionIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::HubSection>) consume_Windows_UI_Xaml_Controls_IHub<D>::Sections() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::Sections() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->get_Sections(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::HubSection>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::HubSection>) consume_Windows_UI_Xaml_Controls_IHub<D>::SectionsInView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::SectionsInView() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->get_SectionsInView(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::HubSection>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_IHub<D>::SectionHeaders() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::SectionHeaders() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->get_SectionHeaders(&value));
return winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IHub<D>::SectionHeaderClick(winrt::Windows::UI::Xaml::Controls::HubSectionHeaderClickEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IHub<D>::SectionHeaderClick_revoker consume_Windows_UI_Xaml_Controls_IHub<D>::SectionHeaderClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::HubSectionHeaderClickEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::SectionHeaderClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::HubSectionHeaderClickEventHandler const& handler) const
{
return impl::make_event_revoker<D, SectionHeaderClick_revoker>(this, SectionHeaderClick(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHub<D>::SectionHeaderClick(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::SectionHeaderClick(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->remove_SectionHeaderClick(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IHub<D>::SectionsInViewChanged(winrt::Windows::UI::Xaml::Controls::SectionsInViewChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IHub<D>::SectionsInViewChanged_revoker consume_Windows_UI_Xaml_Controls_IHub<D>::SectionsInViewChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SectionsInViewChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::SectionsInViewChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SectionsInViewChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, SectionsInViewChanged_revoker>(this, SectionsInViewChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHub<D>::SectionsInViewChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::SectionsInViewChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->remove_SectionsInViewChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHub<D>::ScrollToSection(winrt::Windows::UI::Xaml::Controls::HubSection const& section) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHub<D>::ScrollToSection(winrt::Windows::UI::Xaml::Controls::HubSection const& section) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHub)->ScrollToSection(*(void**)(&section)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Hub) consume_Windows_UI_Xaml_Controls_IHubFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IHubSection<D>::Header() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubSection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHubSection<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubSection<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubSection)->put_Header(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IHubSection<D>::HeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubSection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHubSection<D>::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubSection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IHubSection<D>::ContentTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubSection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHubSection<D>::ContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubSection<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IHubSection<D>::IsHeaderInteractive() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubSection<D>::IsHeaderInteractive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubSection)->get_IsHeaderInteractive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHubSection<D>::IsHeaderInteractive(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubSection<D>::IsHeaderInteractive(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHubSection)->put_IsHeaderInteractive(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HubSection) consume_Windows_UI_Xaml_Controls_IHubSectionFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubSectionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HubSection) consume_Windows_UI_Xaml_Controls_IHubSectionHeaderClickEventArgs<D>::Section() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubSectionHeaderClickEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubSectionStatics<D>::HeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubSectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubSectionStatics<D>::HeaderTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubSectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubSectionStatics<D>::ContentTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubSectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubSectionStatics<D>::IsHeaderInteractiveProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubSectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubStatics<D>::HeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubStatics<D>::HeaderTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubStatics<D>::OrientationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubStatics<D>::DefaultSectionIndexProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubStatics<D>::SemanticZoomOwnerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubStatics<D>::IsActiveViewProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHubStatics<D>::IsZoomedInViewProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHubStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IHyperlinkButton<D>::NavigateUri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHyperlinkButton<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IHyperlinkButton<D>::NavigateUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHyperlinkButton<D>::NavigateUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IHyperlinkButton)->put_NavigateUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HyperlinkButton) consume_Windows_UI_Xaml_Controls_IHyperlinkButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHyperlinkButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IHyperlinkButtonStatics<D>::NavigateUriProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IHyperlinkButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IIconElement<D>::Foreground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IIconElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IIconElement<D>::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IIconElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IIconElementStatics<D>::ForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IIconElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IIconSource<D>::Foreground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IIconSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IIconSource<D>::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IIconSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconSource) consume_Windows_UI_Xaml_Controls_IIconSourceElement<D>::IconSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IIconSourceElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IIconSourceElement<D>::IconSource(winrt::Windows::UI::Xaml::Controls::IconSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IIconSourceElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconSourceElement) consume_Windows_UI_Xaml_Controls_IIconSourceElementFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IIconSourceElementFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IIconSourceElementStatics<D>::IconSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IIconSourceElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IIconSourceStatics<D>::ForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IIconSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IImage<D>::Source() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IImage<D>::Source(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) consume_Windows_UI_Xaml_Controls_IImage<D>::Stretch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImage<D>::Stretch() const
{
winrt::Windows::UI::Xaml::Media::Stretch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImage)->get_Stretch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IImage<D>::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImage<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IImage<D>::NineGrid() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IImage<D>::NineGrid(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSource) consume_Windows_UI_Xaml_Controls_IImage<D>::PlayToSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IImage<D>::ImageFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImage<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IImage<D>::ImageFailed_revoker consume_Windows_UI_Xaml_Controls_IImage<D>::ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImage<D>::ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, ImageFailed_revoker>(this, ImageFailed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IImage<D>::ImageFailed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImage<D>::ImageFailed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImage)->remove_ImageFailed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IImage<D>::ImageOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImage<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IImage<D>::ImageOpened_revoker consume_Windows_UI_Xaml_Controls_IImage<D>::ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImage<D>::ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, ImageOpened_revoker>(this, ImageOpened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IImage<D>::ImageOpened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImage<D>::ImageOpened(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IImage)->remove_ImageOpened(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingSource) consume_Windows_UI_Xaml_Controls_IImage2<D>::GetAsCastingSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImage2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Xaml_Controls_IImage3<D>::GetAlphaMask() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImage3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IImageStatics<D>::SourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImageStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IImageStatics<D>::StretchProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImageStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IImageStatics<D>::NineGridProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImageStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IImageStatics<D>::PlayToSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IImageStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) consume_Windows_UI_Xaml_Controls_IInkCanvas<D>::InkPresenter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkCanvas<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkCanvas) consume_Windows_UI_Xaml_Controls_IInkCanvasFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkCanvasFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarInitialControls) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::InitialControls() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::InitialControls() const
{
winrt::Windows::UI::Xaml::Controls::InkToolbarInitialControls value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->get_InitialControls(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::InitialControls(winrt::Windows::UI::Xaml::Controls::InkToolbarInitialControls const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObjectCollection) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::Children() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarToolButton) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::ActiveTool() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::ActiveTool(winrt::Windows::UI::Xaml::Controls::InkToolbarToolButton const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::InkDrawingAttributes() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::IsRulerButtonChecked() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::IsRulerButtonChecked() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->get_IsRulerButtonChecked(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::IsRulerButtonChecked(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::IsRulerButtonChecked(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->put_IsRulerButtonChecked(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkCanvas) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::TargetInkCanvas() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::TargetInkCanvas(winrt::Windows::UI::Xaml::Controls::InkCanvas const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::ActiveToolChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::ActiveToolChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::ActiveToolChanged_revoker consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::ActiveToolChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::ActiveToolChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ActiveToolChanged_revoker>(this, ActiveToolChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::ActiveToolChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::ActiveToolChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->remove_ActiveToolChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::InkDrawingAttributesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::InkDrawingAttributesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::InkDrawingAttributesChanged_revoker consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::InkDrawingAttributesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::InkDrawingAttributesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, InkDrawingAttributesChanged_revoker>(this, InkDrawingAttributesChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::InkDrawingAttributesChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::InkDrawingAttributesChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->remove_InkDrawingAttributesChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::EraseAllClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::EraseAllClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::EraseAllClicked_revoker consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::EraseAllClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::EraseAllClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, EraseAllClicked_revoker>(this, EraseAllClicked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::EraseAllClicked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::EraseAllClicked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->remove_EraseAllClicked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::IsRulerButtonCheckedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::IsRulerButtonCheckedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::IsRulerButtonCheckedChanged_revoker consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::IsRulerButtonCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::IsRulerButtonCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, IsRulerButtonCheckedChanged_revoker>(this, IsRulerButtonCheckedChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::IsRulerButtonCheckedChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::IsRulerButtonCheckedChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar)->remove_IsRulerButtonCheckedChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarToolButton) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::GetToolButton(winrt::Windows::UI::Xaml::Controls::InkToolbarTool const& tool) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::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<int32_t>(tool), &result));
return winrt::Windows::UI::Xaml::Controls::InkToolbarToolButton{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarToggleButton) consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::GetToggleButton(winrt::Windows::UI::Xaml::Controls::InkToolbarToggle const& tool) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar<D>::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<int32_t>(tool), &result));
return winrt::Windows::UI::Xaml::Controls::InkToolbarToggleButton{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::IsStencilButtonChecked() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::IsStencilButtonChecked() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar2)->get_IsStencilButtonChecked(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::IsStencilButtonChecked(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::IsStencilButtonChecked(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar2)->put_IsStencilButtonChecked(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarButtonFlyoutPlacement) consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::ButtonFlyoutPlacement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::ButtonFlyoutPlacement() const
{
winrt::Windows::UI::Xaml::Controls::InkToolbarButtonFlyoutPlacement value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar2)->get_ButtonFlyoutPlacement(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::ButtonFlyoutPlacement(winrt::Windows::UI::Xaml::Controls::InkToolbarButtonFlyoutPlacement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::Orientation() const
{
winrt::Windows::UI::Xaml::Controls::Orientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar2)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::IsStencilButtonCheckedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::UI::Xaml::Controls::InkToolbarIsStencilButtonCheckedChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::IsStencilButtonCheckedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::UI::Xaml::Controls::InkToolbarIsStencilButtonCheckedChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::IsStencilButtonCheckedChanged_revoker consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::IsStencilButtonCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::UI::Xaml::Controls::InkToolbarIsStencilButtonCheckedChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::IsStencilButtonCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::UI::Xaml::Controls::InkToolbarIsStencilButtonCheckedChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, IsStencilButtonCheckedChanged_revoker>(this, IsStencilButtonCheckedChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::IsStencilButtonCheckedChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::IsStencilButtonCheckedChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbar2)->remove_IsStencilButtonCheckedChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarMenuButton) consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::GetMenuButton(winrt::Windows::UI::Xaml::Controls::InkToolbarMenuKind const& menu) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar2<D>::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<int32_t>(menu), &result));
return winrt::Windows::UI::Xaml::Controls::InkToolbarMenuButton{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenter) consume_Windows_UI_Xaml_Controls_IInkToolbar3<D>::TargetInkPresenter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbar3<D>::TargetInkPresenter(winrt::Windows::UI::Input::Inking::InkPresenter const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbar3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarBallpointPenButton) consume_Windows_UI_Xaml_Controls_IInkToolbarBallpointPenButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarBallpointPenButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPen<D>::CreateInkDrawingAttributes(winrt::Windows::UI::Xaml::Media::Brush const& brush, double strokeWidth) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPen<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomPen) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButton<D>::CustomPen() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButton<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButton<D>::CustomPen(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomPen const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButton<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButton<D>::ConfigurationContent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButton<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButton<D>::ConfigurationContent(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButton<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomPenButton) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButtonStatics<D>::CustomPenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButtonStatics<D>::ConfigurationContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomPen) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenOverrides<D>::CreateInkDrawingAttributesCore(winrt::Windows::UI::Xaml::Media::Brush const& brush, double strokeWidth) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomPenOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomToggleButton) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToggleButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToggleButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButton<D>::ConfigurationContent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButton<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButton<D>::ConfigurationContent(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButton<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarCustomToolButton) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButtonStatics<D>::ConfigurationContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarCustomToolButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButton2<D>::IsClearAllVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButton2<D>::IsClearAllVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarEraserButton2)->get_IsClearAllVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButton2<D>::IsClearAllVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButton2<D>::IsClearAllVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarEraserButton2)->put_IsClearAllVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarEraserButton) consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButtonStatics2<D>::IsClearAllVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarEraserButtonStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbar) consume_Windows_UI_Xaml_Controls_IInkToolbarFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItemKind) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::Kind() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::Kind() const
{
winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItemKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::Kind(winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItemKind const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::IsChecked() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::IsChecked() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem)->get_IsChecked(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::IsChecked(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::IsChecked(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem)->put_IsChecked(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::Checked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::Checked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::Checked_revoker consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::Checked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::Checked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Checked_revoker>(this, Checked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::Checked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::Checked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem)->remove_Checked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::Unchecked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::Unchecked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::Unchecked_revoker consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::Unchecked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::Unchecked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Unchecked_revoker>(this, Unchecked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::Unchecked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItem<D>::Unchecked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem)->remove_Unchecked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItemStatics<D>::KindProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItemStatics<D>::IsCheckedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarFlyoutItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarHighlighterButton) consume_Windows_UI_Xaml_Controls_IInkToolbarHighlighterButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarHighlighterButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarStencilButton) consume_Windows_UI_Xaml_Controls_IInkToolbarIsStencilButtonCheckedChangedEventArgs<D>::StencilButton() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarIsStencilButtonCheckedChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarStencilKind) consume_Windows_UI_Xaml_Controls_IInkToolbarIsStencilButtonCheckedChangedEventArgs<D>::StencilKind() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarIsStencilButtonCheckedChangedEventArgs<D>::StencilKind() const
{
winrt::Windows::UI::Xaml::Controls::InkToolbarStencilKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarIsStencilButtonCheckedChangedEventArgs)->get_StencilKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarMenuKind) consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButton<D>::MenuKind() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButton<D>::MenuKind() const
{
winrt::Windows::UI::Xaml::Controls::InkToolbarMenuKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarMenuButton)->get_MenuKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButton<D>::IsExtensionGlyphShown() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButton<D>::IsExtensionGlyphShown() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarMenuButton)->get_IsExtensionGlyphShown(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButton<D>::IsExtensionGlyphShown(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButton<D>::IsExtensionGlyphShown(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarMenuButton)->put_IsExtensionGlyphShown(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButtonStatics<D>::IsExtensionGlyphShownProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarMenuButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Media::Brush>) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::Palette() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::Palette() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->get_Palette(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Media::Brush>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::Palette(param::vector<winrt::Windows::UI::Xaml::Media::Brush> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::Palette(param::vector<winrt::Windows::UI::Xaml::Media::Brush> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->put_Palette(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::MinStrokeWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::MinStrokeWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->get_MinStrokeWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::MinStrokeWidth(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::MinStrokeWidth(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->put_MinStrokeWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::MaxStrokeWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::MaxStrokeWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->get_MaxStrokeWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::MaxStrokeWidth(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::MaxStrokeWidth(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->put_MaxStrokeWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::SelectedBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::SelectedBrushIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::SelectedBrushIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->get_SelectedBrushIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::SelectedBrushIndex(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::SelectedBrushIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->put_SelectedBrushIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::SelectedStrokeWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::SelectedStrokeWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->get_SelectedStrokeWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::SelectedStrokeWidth(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton<D>::SelectedStrokeWidth(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton)->put_SelectedStrokeWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics<D>::PaletteProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics<D>::MinStrokeWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics<D>::MaxStrokeWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics<D>::SelectedBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics<D>::SelectedBrushIndexProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics<D>::SelectedStrokeWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarPenButton) consume_Windows_UI_Xaml_Controls_IInkToolbarPenConfigurationControl<D>::PenButton() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenConfigurationControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarPenConfigurationControl) consume_Windows_UI_Xaml_Controls_IInkToolbarPenConfigurationControlFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenConfigurationControlFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarPenConfigurationControlStatics<D>::PenButtonProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPenConfigurationControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarPencilButton) consume_Windows_UI_Xaml_Controls_IInkToolbarPencilButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarPencilButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterRuler) consume_Windows_UI_Xaml_Controls_IInkToolbarRulerButton<D>::Ruler() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarRulerButton<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarRulerButton) consume_Windows_UI_Xaml_Controls_IInkToolbarRulerButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarRulerButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarRulerButtonStatics<D>::RulerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarRulerButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics<D>::InitialControlsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics<D>::ChildrenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics<D>::ActiveToolProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics<D>::InkDrawingAttributesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics<D>::IsRulerButtonCheckedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics<D>::TargetInkCanvasProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics2<D>::IsStencilButtonCheckedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics2<D>::ButtonFlyoutPlacementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics2<D>::OrientationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStatics3<D>::TargetInkPresenterProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterRuler) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton<D>::Ruler() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkPresenterProtractor) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton<D>::Protractor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarStencilKind) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton<D>::SelectedStencil() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton<D>::SelectedStencil() const
{
winrt::Windows::UI::Xaml::Controls::InkToolbarStencilKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButton)->get_SelectedStencil(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton<D>::SelectedStencil(winrt::Windows::UI::Xaml::Controls::InkToolbarStencilKind const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton<D>::IsRulerItemVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton<D>::IsRulerItemVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButton)->get_IsRulerItemVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton<D>::IsRulerItemVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton<D>::IsRulerItemVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButton)->put_IsRulerItemVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton<D>::IsProtractorItemVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton<D>::IsProtractorItemVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButton)->get_IsProtractorItemVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton<D>::IsProtractorItemVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButton<D>::IsProtractorItemVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButton)->put_IsProtractorItemVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarStencilButton) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics<D>::RulerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics<D>::ProtractorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics<D>::SelectedStencilProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics<D>::IsRulerItemVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics<D>::IsProtractorItemVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarStencilButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarToggle) consume_Windows_UI_Xaml_Controls_IInkToolbarToggleButton<D>::ToggleKind() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarToggleButton<D>::ToggleKind() const
{
winrt::Windows::UI::Xaml::Controls::InkToolbarToggle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarToggleButton)->get_ToggleKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::InkToolbarTool) consume_Windows_UI_Xaml_Controls_IInkToolbarToolButton<D>::ToolKind() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarToolButton<D>::ToolKind() const
{
winrt::Windows::UI::Xaml::Controls::InkToolbarTool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarToolButton)->get_ToolKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IInkToolbarToolButton<D>::IsExtensionGlyphShown() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarToolButton<D>::IsExtensionGlyphShown() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarToolButton)->get_IsExtensionGlyphShown(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInkToolbarToolButton<D>::IsExtensionGlyphShown(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarToolButton<D>::IsExtensionGlyphShown(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IInkToolbarToolButton)->put_IsExtensionGlyphShown(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IInkToolbarToolButtonStatics<D>::IsExtensionGlyphShownProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInkToolbarToolButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IInsertionPanel<D>::GetInsertionIndexes(winrt::Windows::Foundation::Point const& position, int32_t& first, int32_t& second) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IInsertionPanel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IItemClickEventArgs<D>::ClickedItem() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemClickEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::ItemsChanged(winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::ItemsChanged_revoker consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::ItemsChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::ItemsChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, ItemsChanged_revoker>(this, ItemsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::ItemsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::ItemsChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->remove_ItemsChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::ItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::IndexFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::ContainerFromIndex(int32_t index) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemContainerGenerator) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::GetItemContainerGeneratorForPanel(winrt::Windows::UI::Xaml::Controls::Panel const& panel) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::StartAt(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorDirection const& direction, bool allowStartAtRealizedItem) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::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<int32_t>(direction), allowStartAtRealizedItem));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::Stop() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::GenerateNext(bool& isNewlyRealized) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::PrepareItemContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::PrepareItemContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->PrepareItemContainer(*(void**)(&container)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::RemoveAll() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::RemoveAll() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator)->RemoveAll());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::Remove(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, int32_t count) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::GeneratorPositionFromIndex(int32_t itemIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::IndexFromGeneratorPosition(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::Recycle(winrt::Windows::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, int32_t count) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerGenerator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IItemContainerMapping<D>::ItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerMapping<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IItemContainerMapping<D>::ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerMapping<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemContainerMapping<D>::IndexFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerMapping<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IItemContainerMapping<D>::ContainerFromIndex(int32_t index) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemContainerMapping<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::ItemsSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->put_ItemsSource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemCollection) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::Items() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::ItemTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::ItemTemplateSelector() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::ItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::ItemsPanel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::ItemsPanel(winrt::Windows::UI::Xaml::Controls::ItemsPanelTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::DisplayMemberPath() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::DisplayMemberPath(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::DisplayMemberPath(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->put_DisplayMemberPath(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::ItemContainerStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::ItemContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StyleSelector) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::ItemContainerStyleSelector() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::ItemContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemContainerGenerator) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::ItemContainerGenerator() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::ItemContainerTransitions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::ItemContainerTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::Xaml::Controls::GroupStyle>) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::GroupStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::GroupStyle() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->get_GroupStyle(&value));
return winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::Xaml::Controls::GroupStyle>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::GroupStyleSelector() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::GroupStyleSelector(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IItemsControl<D>::IsGrouping() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl<D>::IsGrouping() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControl)->get_IsGrouping(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Panel) consume_Windows_UI_Xaml_Controls_IItemsControl2<D>::ItemsPanelRoot() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IItemsControl3<D>::GroupHeaderContainerFromItemContainer(winrt::Windows::UI::Xaml::DependencyObject const& itemContainer) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControl3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsControl) consume_Windows_UI_Xaml_Controls_IItemsControlFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::IsItemItsOwnContainerOverride(winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::GetContainerForItemOverride() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::ClearContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::PrepareContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& e) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsControlOverrides)->OnItemsChanged(*(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::OnItemContainerStyleChanged(winrt::Windows::UI::Xaml::Style const& oldItemContainerStyle, winrt::Windows::UI::Xaml::Style const& newItemContainerStyle) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::OnItemContainerStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::StyleSelector const& oldItemContainerStyleSelector, winrt::Windows::UI::Xaml::Controls::StyleSelector const& newItemContainerStyleSelector) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::OnItemTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldItemTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newItemTemplate) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::OnItemTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldItemTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newItemTemplateSelector) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::OnGroupStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& oldGroupStyleSelector, winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& newGroupStyleSelector) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::ItemsSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::ItemTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::ItemTemplateSelectorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::ItemsPanelProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::DisplayMemberPathProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::ItemContainerStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::ItemContainerStyleSelectorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::ItemContainerTransitionsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::GroupStyleSelectorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::IsGroupingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsControl) consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::GetItemsOwner(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsControl) consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::ItemsControlFromItemContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_IItemsPickedEventArgs<D>::AddedItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPickedEventArgs<D>::AddedItems() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPickedEventArgs)->get_AddedItems(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_IItemsPickedEventArgs<D>::RemovedItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPickedEventArgs<D>::RemovedItems() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPickedEventArgs)->get_RemovedItems(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IItemsPresenter<D>::Header() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsPresenter<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenter<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenter)->put_Header(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IItemsPresenter<D>::HeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsPresenter<D>::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IItemsPresenter<D>::HeaderTransitions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsPresenter<D>::HeaderTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IItemsPresenter<D>::Padding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsPresenter<D>::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IItemsPresenter2<D>::Footer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenter2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsPresenter2<D>::Footer(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenter2<D>::Footer(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsPresenter2)->put_Footer(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IItemsPresenter2<D>::FooterTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenter2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsPresenter2<D>::FooterTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenter2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IItemsPresenter2<D>::FooterTransitions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenter2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsPresenter2<D>::FooterTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenter2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics<D>::HeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics<D>::HeaderTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics<D>::HeaderTransitionsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics<D>::PaddingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics2<D>::FooterProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics2<D>::FooterTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics2<D>::FooterTransitionsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsPresenterStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::GroupPadding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::GroupPadding(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::Orientation() const
{
winrt::Windows::UI::Xaml::Controls::Orientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::FirstCacheIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::FirstCacheIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_FirstCacheIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::FirstVisibleIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::FirstVisibleIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_FirstVisibleIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::LastVisibleIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::LastVisibleIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_LastVisibleIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::LastCacheIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::LastCacheIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_LastCacheIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PanelScrollingDirection) consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::ScrollingDirection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::ScrollingDirection() const
{
winrt::Windows::UI::Xaml::Controls::PanelScrollingDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_ScrollingDirection(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement) consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::GroupHeaderPlacement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::GroupHeaderPlacement(winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemsUpdatingScrollMode) consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::ItemsUpdatingScrollMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::ItemsUpdatingScrollMode() const
{
winrt::Windows::UI::Xaml::Controls::ItemsUpdatingScrollMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_ItemsUpdatingScrollMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::ItemsUpdatingScrollMode(winrt::Windows::UI::Xaml::Controls::ItemsUpdatingScrollMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::CacheLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::CacheLength() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->get_CacheLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::CacheLength(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel<D>::CacheLength(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel)->put_CacheLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IItemsStackPanel2<D>::AreStickyGroupHeadersEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel2<D>::AreStickyGroupHeadersEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel2)->get_AreStickyGroupHeadersEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsStackPanel2<D>::AreStickyGroupHeadersEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanel2<D>::AreStickyGroupHeadersEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsStackPanel2)->put_AreStickyGroupHeadersEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics<D>::GroupPaddingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics<D>::OrientationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics<D>::GroupHeaderPlacementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics<D>::CacheLengthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics2<D>::AreStickyGroupHeadersEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsStackPanelStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::GroupPadding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::GroupPadding(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::Orientation() const
{
winrt::Windows::UI::Xaml::Controls::Orientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::MaximumRowsOrColumns() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::MaximumRowsOrColumns() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_MaximumRowsOrColumns(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::MaximumRowsOrColumns(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::MaximumRowsOrColumns(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->put_MaximumRowsOrColumns(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::ItemWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::ItemWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_ItemWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::ItemWidth(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::ItemWidth(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->put_ItemWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::ItemHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::ItemHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_ItemHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::ItemHeight(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::ItemHeight(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->put_ItemHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::FirstCacheIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::FirstCacheIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_FirstCacheIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::FirstVisibleIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::FirstVisibleIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_FirstVisibleIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::LastVisibleIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::LastVisibleIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_LastVisibleIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::LastCacheIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::LastCacheIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_LastCacheIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PanelScrollingDirection) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::ScrollingDirection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::ScrollingDirection() const
{
winrt::Windows::UI::Xaml::Controls::PanelScrollingDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_ScrollingDirection(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::GroupHeaderPlacement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::GroupHeaderPlacement(winrt::Windows::UI::Xaml::Controls::Primitives::GroupHeaderPlacement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::CacheLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::CacheLength() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->get_CacheLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::CacheLength(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid<D>::CacheLength(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid)->put_CacheLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid2<D>::AreStickyGroupHeadersEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid2<D>::AreStickyGroupHeadersEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid2)->get_AreStickyGroupHeadersEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IItemsWrapGrid2<D>::AreStickyGroupHeadersEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGrid2<D>::AreStickyGroupHeadersEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid2)->put_AreStickyGroupHeadersEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics<D>::GroupPaddingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics<D>::OrientationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics<D>::MaximumRowsOrColumnsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics<D>::ItemWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics<D>::ItemHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics<D>::GroupHeaderPlacementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics<D>::CacheLengthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics2<D>::AreStickyGroupHeadersEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IItemsWrapGridStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_IListBox<D>::SelectedItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListBox<D>::SelectedItems() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListBox)->get_SelectedItems(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SelectionMode) consume_Windows_UI_Xaml_Controls_IListBox<D>::SelectionMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListBox<D>::SelectionMode() const
{
winrt::Windows::UI::Xaml::Controls::SelectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListBox)->get_SelectionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListBox<D>::SelectionMode(winrt::Windows::UI::Xaml::Controls::SelectionMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListBox<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListBox<D>::ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListBox<D>::ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListBox)->ScrollIntoView(*(void**)(&item)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListBox<D>::SelectAll() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListBox<D>::SelectAll() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListBox)->SelectAll());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListBox2<D>::SingleSelectionFollowsFocus() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListBox2<D>::SingleSelectionFollowsFocus() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListBox2)->get_SingleSelectionFollowsFocus(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListBox2<D>::SingleSelectionFollowsFocus(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListBox2<D>::SingleSelectionFollowsFocus(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListBox2)->put_SingleSelectionFollowsFocus(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListBox) consume_Windows_UI_Xaml_Controls_IListBoxFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListBoxFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListBoxItem) consume_Windows_UI_Xaml_Controls_IListBoxItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListBoxItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListBoxStatics<D>::SelectionModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListBoxStatics2<D>::SingleSelectionFollowsFocusProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::ItemsSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->put_ItemsSource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::ItemTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::DisplayMemberPath() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::DisplayMemberPath(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::DisplayMemberPath(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->put_DisplayMemberPath(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListPickerFlyoutSelectionMode) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectionMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectionMode() const
{
winrt::Windows::UI::Xaml::Controls::ListPickerFlyoutSelectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->get_SelectionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectionMode(winrt::Windows::UI::Xaml::Controls::ListPickerFlyoutSelectionMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectedIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectedIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->get_SelectedIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectedIndex(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectedIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->put_SelectedIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectedItem() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->put_SelectedItem(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectedValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectedValue(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectedValue(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->put_SelectedValue(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectedValuePath() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectedValuePath(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectedValuePath(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->put_SelectedValuePath(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectedItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::SelectedItems() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->get_SelectedItems(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::ItemsPicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListPickerFlyout, winrt::Windows::UI::Xaml::Controls::ItemsPickedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::ItemsPicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListPickerFlyout, winrt::Windows::UI::Xaml::Controls::ItemsPickedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::ItemsPicked_revoker consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::ItemsPicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListPickerFlyout, winrt::Windows::UI::Xaml::Controls::ItemsPickedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::ItemsPicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListPickerFlyout, winrt::Windows::UI::Xaml::Controls::ItemsPickedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ItemsPicked_revoker>(this, ItemsPicked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::ItemsPicked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::ItemsPicked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListPickerFlyout)->remove_ItemsPicked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::IInspectable>>) consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyout<D>::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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::IInspectable>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics<D>::ItemsSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics<D>::ItemTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics<D>::DisplayMemberPathProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics<D>::SelectionModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics<D>::SelectedIndexProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics<D>::SelectedItemProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics<D>::SelectedValueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics<D>::SelectedValuePathProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListPickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::SelectedItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::SelectedItems() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_SelectedItems(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewSelectionMode) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::SelectionMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::SelectionMode() const
{
winrt::Windows::UI::Xaml::Controls::ListViewSelectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_SelectionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::SelectionMode(winrt::Windows::UI::Xaml::Controls::ListViewSelectionMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::IsSwipeEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::IsSwipeEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_IsSwipeEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::IsSwipeEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::IsSwipeEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_IsSwipeEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::CanDragItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::CanDragItems() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_CanDragItems(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::CanDragItems(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::CanDragItems(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_CanDragItems(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::CanReorderItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::CanReorderItems() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_CanReorderItems(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::CanReorderItems(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::CanReorderItems(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_CanReorderItems(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::IsItemClickEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::IsItemClickEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_IsItemClickEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::IsItemClickEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::IsItemClickEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_IsItemClickEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::DataFetchSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::DataFetchSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_DataFetchSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::DataFetchSize(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::DataFetchSize(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_DataFetchSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::IncrementalLoadingThreshold() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::IncrementalLoadingThreshold() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_IncrementalLoadingThreshold(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::IncrementalLoadingThreshold(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::IncrementalLoadingThreshold(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_IncrementalLoadingThreshold(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IncrementalLoadingTrigger) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::IncrementalLoadingTrigger() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::IncrementalLoadingTrigger() const
{
winrt::Windows::UI::Xaml::Controls::IncrementalLoadingTrigger value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->get_IncrementalLoadingTrigger(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::IncrementalLoadingTrigger(winrt::Windows::UI::Xaml::Controls::IncrementalLoadingTrigger const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::ItemClick(winrt::Windows::UI::Xaml::Controls::ItemClickEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IListViewBase<D>::ItemClick_revoker consume_Windows_UI_Xaml_Controls_IListViewBase<D>::ItemClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ItemClickEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::ItemClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ItemClickEventHandler const& handler) const
{
return impl::make_event_revoker<D, ItemClick_revoker>(this, ItemClick(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::ItemClick(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::ItemClick(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->remove_ItemClick(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::DragItemsStarting(winrt::Windows::UI::Xaml::Controls::DragItemsStartingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IListViewBase<D>::DragItemsStarting_revoker consume_Windows_UI_Xaml_Controls_IListViewBase<D>::DragItemsStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::DragItemsStartingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::DragItemsStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::DragItemsStartingEventHandler const& handler) const
{
return impl::make_event_revoker<D, DragItemsStarting_revoker>(this, DragItemsStarting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::DragItemsStarting(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::DragItemsStarting(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->remove_DragItemsStarting(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->ScrollIntoView(*(void**)(&item)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::SelectAll() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::SelectAll() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->SelectAll());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Data::LoadMoreItemsResult>) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::LoadMoreItemsAsync() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::LoadMoreItemsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->LoadMoreItemsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Data::LoadMoreItemsResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Controls::ScrollIntoViewAlignment const& alignment) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::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<int32_t>(alignment)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::Header() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase)->put_Header(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::HeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::HeaderTransitions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase<D>::HeaderTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::ShowsScrollingPlaceholders() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::ShowsScrollingPlaceholders() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase2)->get_ShowsScrollingPlaceholders(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::ShowsScrollingPlaceholders(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::ShowsScrollingPlaceholders(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase2)->put_ShowsScrollingPlaceholders(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::ContainerContentChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::ContainerContentChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::ContainerContentChanging_revoker consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::ContainerContentChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::ContainerContentChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ContainerContentChanging_revoker>(this, ContainerContentChanging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::ContainerContentChanging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::ContainerContentChanging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase2)->remove_ContainerContentChanging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::SetDesiredContainerUpdateDuration(winrt::Windows::Foundation::TimeSpan const& duration) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::Footer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::Footer(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::Footer(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase2)->put_Footer(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::FooterTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::FooterTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::FooterTransitions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::FooterTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewReorderMode) consume_Windows_UI_Xaml_Controls_IListViewBase3<D>::ReorderMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase3<D>::ReorderMode() const
{
winrt::Windows::UI::Xaml::Controls::ListViewReorderMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase3)->get_ReorderMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase3<D>::ReorderMode(winrt::Windows::UI::Xaml::Controls::ListViewReorderMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase3<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Data::ItemIndexRange>) consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::SelectedRanges() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::SelectedRanges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase4)->get_SelectedRanges(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Data::ItemIndexRange>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::IsMultiSelectCheckBoxEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::IsMultiSelectCheckBoxEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase4)->get_IsMultiSelectCheckBoxEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::IsMultiSelectCheckBoxEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::IsMultiSelectCheckBoxEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase4)->put_IsMultiSelectCheckBoxEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::DragItemsCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::DragItemsCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::DragItemsCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::DragItemsCompletedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::DragItemsCompleted_revoker consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::DragItemsCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::DragItemsCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::DragItemsCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::DragItemsCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DragItemsCompleted_revoker>(this, DragItemsCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::DragItemsCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::DragItemsCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase4)->remove_DragItemsCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::ChoosingItemContainer(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ChoosingItemContainerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::ChoosingItemContainer(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ChoosingItemContainerEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::ChoosingItemContainer_revoker consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::ChoosingItemContainer(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ChoosingItemContainerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::ChoosingItemContainer(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ChoosingItemContainerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ChoosingItemContainer_revoker>(this, ChoosingItemContainer(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::ChoosingItemContainer(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::ChoosingItemContainer(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase4)->remove_ChoosingItemContainer(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::ChoosingGroupHeaderContainer(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ChoosingGroupHeaderContainerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::ChoosingGroupHeaderContainer(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ChoosingGroupHeaderContainerEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::ChoosingGroupHeaderContainer_revoker consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::ChoosingGroupHeaderContainer(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ChoosingGroupHeaderContainerEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::ChoosingGroupHeaderContainer(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ChoosingGroupHeaderContainerEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ChoosingGroupHeaderContainer_revoker>(this, ChoosingGroupHeaderContainer(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::ChoosingGroupHeaderContainer(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::ChoosingGroupHeaderContainer(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase4)->remove_ChoosingGroupHeaderContainer(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::SelectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::DeselectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase4<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListViewBase5<D>::SingleSelectionFollowsFocus() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase5<D>::SingleSelectionFollowsFocus() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase5)->get_SingleSelectionFollowsFocus(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IListViewBase5<D>::SingleSelectionFollowsFocus(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase5<D>::SingleSelectionFollowsFocus(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase5)->put_SingleSelectionFollowsFocus(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IListViewBase5<D>::IsDragSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase5<D>::IsDragSource() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IListViewBase5)->IsDragSource(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_IListViewBase6<D>::TryStartConnectedAnimationAsync(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation const& animation, winrt::Windows::Foundation::IInspectable const& item, param::hstring const& elementName) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase6<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation) consume_Windows_UI_Xaml_Controls_IListViewBase6<D>::PrepareConnectedAnimation(param::hstring const& key, winrt::Windows::Foundation::IInspectable const& item, param::hstring const& elementName) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBase6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewBase) consume_Windows_UI_Xaml_Controls_IListViewBaseFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::SelectionModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::IsSwipeEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::CanDragItemsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::CanReorderItemsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::IsItemClickEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::DataFetchSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::IncrementalLoadingThresholdProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::IncrementalLoadingTriggerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::SemanticZoomOwnerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::IsActiveViewProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::IsZoomedInViewProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::HeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::HeaderTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::HeaderTransitionsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics2<D>::ShowsScrollingPlaceholdersProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics2<D>::FooterProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics2<D>::FooterTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics2<D>::FooterTransitionsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics3<D>::ReorderModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics4<D>::IsMultiSelectCheckBoxEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IListViewBaseStatics5<D>::SingleSelectionFollowsFocusProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewBaseStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListView) consume_Windows_UI_Xaml_Controls_IListViewFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewHeaderItem) consume_Windows_UI_Xaml_Controls_IListViewHeaderItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewHeaderItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ListViewItemTemplateSettings) consume_Windows_UI_Xaml_Controls_IListViewItem<D>::TemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ListViewItem) consume_Windows_UI_Xaml_Controls_IListViewItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IListViewPersistenceHelperStatics<D>::GetRelativeScrollPosition(winrt::Windows::UI::Xaml::Controls::ListViewBase const& listViewBase, winrt::Windows::UI::Xaml::Controls::ListViewItemToKeyHandler const& itemToKeyHandler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewPersistenceHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Controls_IListViewPersistenceHelperStatics<D>::SetRelativeScrollPositionAsync(winrt::Windows::UI::Xaml::Controls::ListViewBase const& listViewBase, param::hstring const& relativeScrollPosition, winrt::Windows::UI::Xaml::Controls::ListViewKeyToItemHandler const& keyToItemHandler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IListViewPersistenceHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::PosterSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::PosterSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Source() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Source(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Source(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_Source(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::IsMuted() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::IsMuted() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_IsMuted(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::IsMuted(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::IsMuted(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_IsMuted(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::IsAudioOnly() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::IsAudioOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_IsAudioOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AutoPlay() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AutoPlay() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_AutoPlay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AutoPlay(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AutoPlay(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_AutoPlay(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Volume() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Volume() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_Volume(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Volume(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Volume(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_Volume(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Balance() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Balance() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_Balance(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Balance(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Balance(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_Balance(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::NaturalVideoHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::NaturalVideoHeight() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_NaturalVideoHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::NaturalVideoWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::NaturalVideoWidth() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_NaturalVideoWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::NaturalDuration() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Position(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::DownloadProgress() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::DownloadProgress() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_DownloadProgress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::BufferingProgress() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::BufferingProgress() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_BufferingProgress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::DownloadProgressOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::DownloadProgressOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_DownloadProgressOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::MediaElementState) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::CurrentState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::CurrentState() const
{
winrt::Windows::UI::Xaml::Media::MediaElementState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_CurrentState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::TimelineMarkerCollection) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Markers() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::CanSeek() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::CanSeek() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_CanSeek(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::CanPause() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::CanPause() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_CanPause(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AudioStreamCount() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AudioStreamCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_AudioStreamCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AudioStreamIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AudioStreamIndex() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_AudioStreamIndex(&value));
return winrt::Windows::Foundation::IReference<int32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AudioStreamIndex(winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AudioStreamIndex(winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_AudioStreamIndex(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::PlaybackRate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::PlaybackRate() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_PlaybackRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::PlaybackRate(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::PlaybackRate(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_PlaybackRate(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::IsLooping() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::IsLooping() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_IsLooping(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::IsLooping(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::IsLooping(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_IsLooping(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSource) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::PlayToSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::DefaultPlaybackRate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::DefaultPlaybackRate() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_DefaultPlaybackRate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::DefaultPlaybackRate(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::DefaultPlaybackRate(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_DefaultPlaybackRate(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AspectRatioWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AspectRatioWidth() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_AspectRatioWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AspectRatioHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AspectRatioHeight() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_AspectRatioHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::RealTimePlayback() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::RealTimePlayback() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_RealTimePlayback(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::RealTimePlayback(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::RealTimePlayback(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->put_RealTimePlayback(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AudioCategory) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AudioCategory() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AudioCategory() const
{
winrt::Windows::UI::Xaml::Media::AudioCategory value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_AudioCategory(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AudioCategory(winrt::Windows::UI::Xaml::Media::AudioCategory const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AudioDeviceType) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AudioDeviceType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AudioDeviceType() const
{
winrt::Windows::UI::Xaml::Media::AudioDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_AudioDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AudioDeviceType(winrt::Windows::UI::Xaml::Media::AudioDeviceType const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::MediaProtectionManager) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::ProtectionManager() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::ProtectionManager(winrt::Windows::Media::Protection::MediaProtectionManager const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stereo3DVideoPackingMode) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Stereo3DVideoPackingMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Stereo3DVideoPackingMode() const
{
winrt::Windows::UI::Xaml::Media::Stereo3DVideoPackingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_Stereo3DVideoPackingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Stereo3DVideoPackingMode(winrt::Windows::UI::Xaml::Media::Stereo3DVideoPackingMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stereo3DVideoRenderMode) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Stereo3DVideoRenderMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Stereo3DVideoRenderMode() const
{
winrt::Windows::UI::Xaml::Media::Stereo3DVideoRenderMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_Stereo3DVideoRenderMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Stereo3DVideoRenderMode(winrt::Windows::UI::Xaml::Media::Stereo3DVideoRenderMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::IsStereo3DVideo() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::IsStereo3DVideo() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_IsStereo3DVideo(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaOpened_revoker consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, MediaOpened_revoker>(this, MediaOpened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaOpened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaOpened(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_MediaOpened(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaEnded(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaEnded_revoker consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaEnded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaEnded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, MediaEnded_revoker>(this, MediaEnded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaEnded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaEnded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_MediaEnded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaFailed_revoker consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, MediaFailed_revoker>(this, MediaFailed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaFailed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MediaFailed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_MediaFailed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::DownloadProgressChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IMediaElement<D>::DownloadProgressChanged_revoker consume_Windows_UI_Xaml_Controls_IMediaElement<D>::DownloadProgressChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::DownloadProgressChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, DownloadProgressChanged_revoker>(this, DownloadProgressChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::DownloadProgressChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::DownloadProgressChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_DownloadProgressChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::BufferingProgressChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IMediaElement<D>::BufferingProgressChanged_revoker consume_Windows_UI_Xaml_Controls_IMediaElement<D>::BufferingProgressChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::BufferingProgressChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, BufferingProgressChanged_revoker>(this, BufferingProgressChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::BufferingProgressChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::BufferingProgressChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_BufferingProgressChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::CurrentStateChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IMediaElement<D>::CurrentStateChanged_revoker consume_Windows_UI_Xaml_Controls_IMediaElement<D>::CurrentStateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::CurrentStateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, CurrentStateChanged_revoker>(this, CurrentStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::CurrentStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::CurrentStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_CurrentStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MarkerReached(winrt::Windows::UI::Xaml::Media::TimelineMarkerRoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MarkerReached_revoker consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MarkerReached(auto_revoke_t, winrt::Windows::UI::Xaml::Media::TimelineMarkerRoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MarkerReached(auto_revoke_t, winrt::Windows::UI::Xaml::Media::TimelineMarkerRoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, MarkerReached_revoker>(this, MarkerReached(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MarkerReached(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::MarkerReached(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_MarkerReached(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::RateChanged(winrt::Windows::UI::Xaml::Media::RateChangedRoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IMediaElement<D>::RateChanged_revoker consume_Windows_UI_Xaml_Controls_IMediaElement<D>::RateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Media::RateChangedRoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::RateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Media::RateChangedRoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, RateChanged_revoker>(this, RateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::RateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::RateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_RateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::VolumeChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IMediaElement<D>::VolumeChanged_revoker consume_Windows_UI_Xaml_Controls_IMediaElement<D>::VolumeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::VolumeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, VolumeChanged_revoker>(this, VolumeChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::VolumeChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::VolumeChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_VolumeChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::SeekCompleted(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IMediaElement<D>::SeekCompleted_revoker consume_Windows_UI_Xaml_Controls_IMediaElement<D>::SeekCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::SeekCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, SeekCompleted_revoker>(this, SeekCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::SeekCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::SeekCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->remove_SeekCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Stop() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Play() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Play() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->Play());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Pause() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::Pause() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->Pause());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::MediaCanPlayResponse) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::CanPlayType(param::hstring const& type) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::SetSource(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::hstring const& mimeType) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::GetAudioStreamLanguage(winrt::Windows::Foundation::IReference<int32_t> const& index) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::GetAudioStreamLanguage(winrt::Windows::Foundation::IReference<int32_t> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AddAudioEffect(param::hstring const& effectID, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& effectConfiguration) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::AddVideoEffect(param::hstring const& effectID, bool effectOptional, winrt::Windows::Foundation::Collections::IPropertySet const& effectConfiguration) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::RemoveAllEffects() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::RemoveAllEffects() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->RemoveAllEffects());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stereo3DVideoPackingMode) consume_Windows_UI_Xaml_Controls_IMediaElement<D>::ActualStereo3DVideoPackingMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement<D>::ActualStereo3DVideoPackingMode() const
{
winrt::Windows::UI::Xaml::Media::Stereo3DVideoPackingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement)->get_ActualStereo3DVideoPackingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::AreTransportControlsEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::AreTransportControlsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement2)->get_AreTransportControlsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::AreTransportControlsEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::AreTransportControlsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement2)->put_AreTransportControlsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::Stretch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::Stretch() const
{
winrt::Windows::UI::Xaml::Media::Stretch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement2)->get_Stretch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::IsFullWindow() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::IsFullWindow() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement2)->get_IsFullWindow(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::IsFullWindow(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::IsFullWindow(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement2)->put_IsFullWindow(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::SetMediaStreamSource(winrt::Windows::Media::Core::IMediaSource const& source) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::SetMediaStreamSource(winrt::Windows::Media::Core::IMediaSource const& source) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement2)->SetMediaStreamSource(*(void**)(&source)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::PlayToPreferredSourceUri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::PlayToPreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement2<D>::PlayToPreferredSourceUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement2)->put_PlayToPreferredSourceUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MediaTransportControls) consume_Windows_UI_Xaml_Controls_IMediaElement3<D>::TransportControls() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement3<D>::TransportControls(winrt::Windows::UI::Xaml::Controls::MediaTransportControls const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaElement3<D>::PartialMediaFailureDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::MediaElement, winrt::Windows::UI::Xaml::Media::PartialMediaFailureDetectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement3<D>::PartialMediaFailureDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::MediaElement, winrt::Windows::UI::Xaml::Media::PartialMediaFailureDetectedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IMediaElement3<D>::PartialMediaFailureDetected_revoker consume_Windows_UI_Xaml_Controls_IMediaElement3<D>::PartialMediaFailureDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::MediaElement, winrt::Windows::UI::Xaml::Media::PartialMediaFailureDetectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement3<D>::PartialMediaFailureDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::MediaElement, winrt::Windows::UI::Xaml::Media::PartialMediaFailureDetectedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PartialMediaFailureDetected_revoker>(this, PartialMediaFailureDetected(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement3<D>::PartialMediaFailureDetected(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement3<D>::PartialMediaFailureDetected(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement3)->remove_PartialMediaFailureDetected(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaElement3<D>::SetPlaybackSource(winrt::Windows::Media::Playback::IMediaPlaybackSource const& source) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement3<D>::SetPlaybackSource(winrt::Windows::Media::Playback::IMediaPlaybackSource const& source) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaElement3)->SetPlaybackSource(*(void**)(&source)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingSource) consume_Windows_UI_Xaml_Controls_IMediaElement3<D>::GetAsCastingSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElement3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::PosterSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::SourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::IsMutedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::IsAudioOnlyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::AutoPlayProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::VolumeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::BalanceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::NaturalVideoHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::NaturalVideoWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::NaturalDurationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::PositionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::DownloadProgressProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::BufferingProgressProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::DownloadProgressOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::CurrentStateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::CanSeekProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::CanPauseProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::AudioStreamCountProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::AudioStreamIndexProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::PlaybackRateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::IsLoopingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::PlayToSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::DefaultPlaybackRateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::AspectRatioWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::AspectRatioHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::RealTimePlaybackProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::AudioCategoryProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::AudioDeviceTypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::ProtectionManagerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::Stereo3DVideoPackingModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::Stereo3DVideoRenderModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::IsStereo3DVideoProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::ActualStereo3DVideoPackingModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics2<D>::AreTransportControlsEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics2<D>::StretchProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics2<D>::IsFullWindowProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaElementStatics2<D>::PlayToPreferredSourceUriProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaElementStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::IMediaPlaybackSource) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::Source() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::Source(winrt::Windows::Media::Playback::IMediaPlaybackSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MediaTransportControls) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::TransportControls() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::TransportControls(winrt::Windows::UI::Xaml::Controls::MediaTransportControls const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::AreTransportControlsEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::AreTransportControlsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->get_AreTransportControlsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::AreTransportControlsEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::AreTransportControlsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->put_AreTransportControlsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::PosterSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::PosterSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::Stretch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::Stretch() const
{
winrt::Windows::UI::Xaml::Media::Stretch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->get_Stretch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::AutoPlay() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::AutoPlay() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->get_AutoPlay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::AutoPlay(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::AutoPlay(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->put_AutoPlay(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::IsFullWindow() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::IsFullWindow() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->get_IsFullWindow(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::IsFullWindow(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::IsFullWindow(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->put_IsFullWindow(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::MediaPlayer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::SetMediaPlayer(winrt::Windows::Media::Playback::MediaPlayer const& mediaPlayer) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElement<D>::SetMediaPlayer(winrt::Windows::Media::Playback::MediaPlayer const& mediaPlayer) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement)->SetMediaPlayer(*(void**)(&mediaPlayer)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MediaPlayerElement) consume_Windows_UI_Xaml_Controls_IMediaPlayerElementFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElementFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics<D>::SourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics<D>::AreTransportControlsEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics<D>::PosterSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics<D>::StretchProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics<D>::AutoPlayProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics<D>::IsFullWindowProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics<D>::MediaPlayerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlayer) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter<D>::MediaPlayer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter<D>::MediaPlayer(winrt::Windows::Media::Playback::MediaPlayer const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter<D>::Stretch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter<D>::Stretch() const
{
winrt::Windows::UI::Xaml::Media::Stretch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerPresenter)->get_Stretch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter<D>::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter<D>::IsFullWindow() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter<D>::IsFullWindow() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerPresenter)->get_IsFullWindow(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter<D>::IsFullWindow(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenter<D>::IsFullWindow(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaPlayerPresenter)->put_IsFullWindow(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MediaPlayerPresenter) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterStatics<D>::MediaPlayerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterStatics<D>::StretchProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterStatics<D>::IsFullWindowProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaPlayerPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFullWindowButtonVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFullWindowButtonVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsFullWindowButtonVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFullWindowButtonVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFullWindowButtonVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsFullWindowButtonVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFullWindowEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFullWindowEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsFullWindowEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFullWindowEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFullWindowEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsFullWindowEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsZoomButtonVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsZoomButtonVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsZoomButtonVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsZoomButtonVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsZoomButtonVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsZoomButtonVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsZoomEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsZoomEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsZoomEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsZoomEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsZoomEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsZoomEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFastForwardButtonVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFastForwardButtonVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsFastForwardButtonVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFastForwardButtonVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFastForwardButtonVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsFastForwardButtonVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFastForwardEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFastForwardEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsFastForwardEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFastForwardEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFastForwardEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsFastForwardEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFastRewindButtonVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFastRewindButtonVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsFastRewindButtonVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFastRewindButtonVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFastRewindButtonVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsFastRewindButtonVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFastRewindEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFastRewindEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsFastRewindEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFastRewindEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsFastRewindEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsFastRewindEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsStopButtonVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsStopButtonVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsStopButtonVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsStopButtonVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsStopButtonVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsStopButtonVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsStopEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsStopEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsStopEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsStopEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsStopEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsStopEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsVolumeButtonVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsVolumeButtonVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsVolumeButtonVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsVolumeButtonVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsVolumeButtonVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsVolumeButtonVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsVolumeEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsVolumeEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsVolumeEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsVolumeEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsVolumeEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsVolumeEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsPlaybackRateButtonVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsPlaybackRateButtonVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsPlaybackRateButtonVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsPlaybackRateButtonVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsPlaybackRateButtonVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsPlaybackRateButtonVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsPlaybackRateEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsPlaybackRateEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsPlaybackRateEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsPlaybackRateEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsPlaybackRateEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsPlaybackRateEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsSeekBarVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsSeekBarVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsSeekBarVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsSeekBarVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsSeekBarVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsSeekBarVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsSeekEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsSeekEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsSeekEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsSeekEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsSeekEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsSeekEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsCompact() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsCompact() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->get_IsCompact(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsCompact(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls<D>::IsCompact(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls)->put_IsCompact(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsSkipForwardButtonVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsSkipForwardButtonVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->get_IsSkipForwardButtonVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsSkipForwardButtonVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsSkipForwardButtonVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->put_IsSkipForwardButtonVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsSkipForwardEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsSkipForwardEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->get_IsSkipForwardEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsSkipForwardEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsSkipForwardEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->put_IsSkipForwardEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsSkipBackwardButtonVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsSkipBackwardButtonVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->get_IsSkipBackwardButtonVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsSkipBackwardButtonVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsSkipBackwardButtonVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->put_IsSkipBackwardButtonVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsSkipBackwardEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsSkipBackwardEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->get_IsSkipBackwardEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsSkipBackwardEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsSkipBackwardEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->put_IsSkipBackwardEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsNextTrackButtonVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsNextTrackButtonVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->get_IsNextTrackButtonVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsNextTrackButtonVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsNextTrackButtonVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->put_IsNextTrackButtonVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsPreviousTrackButtonVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsPreviousTrackButtonVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->get_IsPreviousTrackButtonVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsPreviousTrackButtonVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::IsPreviousTrackButtonVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->put_IsPreviousTrackButtonVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FastPlayFallbackBehaviour) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::FastPlayFallbackBehaviour() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::FastPlayFallbackBehaviour() const
{
winrt::Windows::UI::Xaml::Media::FastPlayFallbackBehaviour value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->get_FastPlayFallbackBehaviour(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::FastPlayFallbackBehaviour(winrt::Windows::UI::Xaml::Media::FastPlayFallbackBehaviour const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::ThumbnailRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::MediaTransportControls, winrt::Windows::UI::Xaml::Media::MediaTransportControlsThumbnailRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::ThumbnailRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::MediaTransportControls, winrt::Windows::UI::Xaml::Media::MediaTransportControlsThumbnailRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::ThumbnailRequested_revoker consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::ThumbnailRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::MediaTransportControls, winrt::Windows::UI::Xaml::Media::MediaTransportControlsThumbnailRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::ThumbnailRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::MediaTransportControls, winrt::Windows::UI::Xaml::Media::MediaTransportControlsThumbnailRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ThumbnailRequested_revoker>(this, ThumbnailRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::ThumbnailRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls2<D>::ThumbnailRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2)->remove_ThumbnailRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls3<D>::ShowAndHideAutomatically() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls3<D>::ShowAndHideAutomatically() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls3)->get_ShowAndHideAutomatically(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls3<D>::ShowAndHideAutomatically(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls3<D>::ShowAndHideAutomatically(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls3)->put_ShowAndHideAutomatically(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls3<D>::IsRepeatEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls3<D>::IsRepeatEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls3)->get_IsRepeatEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls3<D>::IsRepeatEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls3<D>::IsRepeatEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls3)->put_IsRepeatEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls3<D>::IsRepeatButtonVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls3<D>::IsRepeatButtonVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls3)->get_IsRepeatButtonVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls3<D>::IsRepeatButtonVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls3<D>::IsRepeatButtonVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls3)->put_IsRepeatButtonVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls3<D>::Show() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls3<D>::Show() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls3)->Show());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls3<D>::Hide() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls3<D>::Hide() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls3)->Hide());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls4<D>::IsCompactOverlayButtonVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls4<D>::IsCompactOverlayButtonVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls4)->get_IsCompactOverlayButtonVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls4<D>::IsCompactOverlayButtonVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls4<D>::IsCompactOverlayButtonVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls4)->put_IsCompactOverlayButtonVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMediaTransportControls4<D>::IsCompactOverlayEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls4<D>::IsCompactOverlayEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls4)->get_IsCompactOverlayEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControls4<D>::IsCompactOverlayEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControls4<D>::IsCompactOverlayEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControls4)->put_IsCompactOverlayEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MediaTransportControls) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsHelperStatics<D>::DropoutOrderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsHelperStatics<D>::GetDropoutOrder(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsHelperStatics<D>::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<int32_t>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsHelperStatics<D>::SetDropoutOrder(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IReference<int32_t> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsHelperStatics<D>::SetDropoutOrder(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IReference<int32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsHelperStatics)->SetDropoutOrder(*(void**)(&element), *(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::IsFullWindowButtonVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::IsFullWindowEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::IsZoomButtonVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::IsZoomEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::IsFastForwardButtonVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::IsFastForwardEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::IsFastRewindButtonVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::IsFastRewindEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::IsStopButtonVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::IsStopEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::IsVolumeButtonVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::IsVolumeEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::IsPlaybackRateButtonVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::IsPlaybackRateEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::IsSeekBarVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::IsSeekEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::IsCompactProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2<D>::IsSkipForwardButtonVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2<D>::IsSkipForwardEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2<D>::IsSkipBackwardButtonVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2<D>::IsSkipBackwardEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2<D>::IsNextTrackButtonVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2<D>::IsPreviousTrackButtonVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2<D>::FastPlayFallbackBehaviourProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics3<D>::ShowAndHideAutomaticallyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics3<D>::IsRepeatEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics3<D>::IsRepeatButtonVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics4<D>::IsCompactOverlayButtonVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics4<D>::IsCompactOverlayEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMediaTransportControlsStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::MenuBarItem>) consume_Windows_UI_Xaml_Controls_IMenuBar<D>::Items() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuBar<D>::Items() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuBar)->get_Items(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::MenuBarItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuBar) consume_Windows_UI_Xaml_Controls_IMenuBarFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuBarFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IMenuBarItem<D>::Title() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuBarItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuBarItem<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuBarItem<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuBarItem)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::MenuFlyoutItemBase>) consume_Windows_UI_Xaml_Controls_IMenuBarItem<D>::Items() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuBarItem<D>::Items() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuBarItem)->get_Items(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::MenuFlyoutItemBase>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuBarItem) consume_Windows_UI_Xaml_Controls_IMenuBarItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuBarItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuBarItemFlyout) consume_Windows_UI_Xaml_Controls_IMenuBarItemFlyoutFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuBarItemFlyoutFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuBarItemStatics<D>::TitleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuBarItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuBarItemStatics<D>::ItemsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuBarItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuBarStatics<D>::ItemsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuBarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::MenuFlyoutItemBase>) consume_Windows_UI_Xaml_Controls_IMenuFlyout<D>::Items() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyout<D>::Items() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyout)->get_Items(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::MenuFlyoutItemBase>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IMenuFlyout<D>::MenuFlyoutPresenterStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyout<D>::MenuFlyoutPresenterStyle(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyout2<D>::ShowAt(winrt::Windows::UI::Xaml::UIElement const& targetElement, winrt::Windows::Foundation::Point const& point) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyout2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuFlyout) consume_Windows_UI_Xaml_Controls_IMenuFlyoutFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::Text() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::Command() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::CommandParameter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem)->put_CommandParameter(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::Click(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::Click_revoker consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::Click(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::Click(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, Click_revoker>(this, Click(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::Click(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem<D>::Click(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem)->remove_Click(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem2<D>::Icon() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem2<D>::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem3<D>::KeyboardAcceleratorTextOverride() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem3<D>::KeyboardAcceleratorTextOverride(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem3<D>::KeyboardAcceleratorTextOverride(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem3)->put_KeyboardAcceleratorTextOverride(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::MenuFlyoutItemTemplateSettings) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem3<D>::TemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItem3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuFlyoutItem) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics<D>::TextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics<D>::CommandProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics<D>::CommandParameterProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics2<D>::IconProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics3<D>::KeyboardAcceleratorTextOverrideProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutItemStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::MenuFlyoutPresenterTemplateSettings) consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenter2<D>::TemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenter2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenter3<D>::IsDefaultShadowEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenter3<D>::IsDefaultShadowEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutPresenter3)->get_IsDefaultShadowEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenter3<D>::IsDefaultShadowEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenter3<D>::IsDefaultShadowEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutPresenter3)->put_IsDefaultShadowEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuFlyoutPresenter) consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenterFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenterFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenterStatics3<D>::IsDefaultShadowEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutPresenterStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::MenuFlyoutSeparator) consume_Windows_UI_Xaml_Controls_IMenuFlyoutSeparatorFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutSeparatorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutStatics<D>::MenuFlyoutPresenterStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::MenuFlyoutItemBase>) consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem<D>::Items() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem<D>::Items() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutSubItem)->get_Items(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::MenuFlyoutItemBase>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem<D>::Text() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IMenuFlyoutSubItem)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem2<D>::Icon() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem2<D>::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItemStatics<D>::TextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItemStatics2<D>::IconProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItemStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigate<D>::Navigate(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigate<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationView<D>::IsPaneOpen() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::IsPaneOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_IsPaneOpen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::IsPaneOpen(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::IsPaneOpen(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_IsPaneOpen(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_INavigationView<D>::CompactModeThresholdWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::CompactModeThresholdWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_CompactModeThresholdWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::CompactModeThresholdWidth(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::CompactModeThresholdWidth(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_CompactModeThresholdWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_INavigationView<D>::ExpandedModeThresholdWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::ExpandedModeThresholdWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_ExpandedModeThresholdWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::ExpandedModeThresholdWidth(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::ExpandedModeThresholdWidth(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_ExpandedModeThresholdWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_INavigationView<D>::PaneFooter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::PaneFooter(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_INavigationView<D>::Header() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_Header(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_INavigationView<D>::HeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayMode) consume_Windows_UI_Xaml_Controls_INavigationView<D>::DisplayMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::DisplayMode() const
{
winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_DisplayMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationView<D>::IsSettingsVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::IsSettingsVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_IsSettingsVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::IsSettingsVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::IsSettingsVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_IsSettingsVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationView<D>::IsPaneToggleButtonVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::IsPaneToggleButtonVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_IsPaneToggleButtonVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::IsPaneToggleButtonVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::IsPaneToggleButtonVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_IsPaneToggleButtonVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationView<D>::AlwaysShowHeader() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::AlwaysShowHeader() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_AlwaysShowHeader(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::AlwaysShowHeader(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::AlwaysShowHeader(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_AlwaysShowHeader(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_INavigationView<D>::CompactPaneLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::CompactPaneLength() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_CompactPaneLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::CompactPaneLength(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::CompactPaneLength(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_CompactPaneLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_INavigationView<D>::OpenPaneLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::OpenPaneLength() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_OpenPaneLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::OpenPaneLength(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::OpenPaneLength(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_OpenPaneLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_INavigationView<D>::PaneToggleButtonStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::PaneToggleButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_INavigationView<D>::SelectedItem() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_SelectedItem(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_INavigationView<D>::MenuItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::MenuItems() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->get_MenuItems(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_INavigationView<D>::MenuItemsSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::MenuItemsSource(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::MenuItemsSource(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->put_MenuItemsSource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_INavigationView<D>::SettingsItem() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox) consume_Windows_UI_Xaml_Controls_INavigationView<D>::AutoSuggestBox() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::AutoSuggestBox(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_INavigationView<D>::MenuItemTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::MenuItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) consume_Windows_UI_Xaml_Controls_INavigationView<D>::MenuItemTemplateSelector() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::MenuItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_INavigationView<D>::MenuItemContainerStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::MenuItemContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StyleSelector) consume_Windows_UI_Xaml_Controls_INavigationView<D>::MenuItemContainerStyleSelector() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::MenuItemContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_INavigationView<D>::MenuItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_INavigationView<D>::ContainerFromMenuItem(winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_INavigationView<D>::SelectionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::SelectionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_INavigationView<D>::SelectionChanged_revoker consume_Windows_UI_Xaml_Controls_INavigationView<D>::SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SelectionChanged_revoker>(this, SelectionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::SelectionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::SelectionChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->remove_SelectionChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_INavigationView<D>::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewItemInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewItemInvokedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_INavigationView<D>::ItemInvoked_revoker consume_Windows_UI_Xaml_Controls_INavigationView<D>::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewItemInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewItemInvokedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ItemInvoked_revoker>(this, ItemInvoked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::ItemInvoked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::ItemInvoked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->remove_ItemInvoked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_INavigationView<D>::DisplayModeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayModeChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::DisplayModeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayModeChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_INavigationView<D>::DisplayModeChanged_revoker consume_Windows_UI_Xaml_Controls_INavigationView<D>::DisplayModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayModeChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::DisplayModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayModeChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DisplayModeChanged_revoker>(this, DisplayModeChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView<D>::DisplayModeChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView<D>::DisplayModeChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView)->remove_DisplayModeChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewBackButtonVisible) consume_Windows_UI_Xaml_Controls_INavigationView2<D>::IsBackButtonVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::IsBackButtonVisible() const
{
winrt::Windows::UI::Xaml::Controls::NavigationViewBackButtonVisible value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->get_IsBackButtonVisible(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView2<D>::IsBackButtonVisible(winrt::Windows::UI::Xaml::Controls::NavigationViewBackButtonVisible const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationView2<D>::IsBackEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::IsBackEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->get_IsBackEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView2<D>::IsBackEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::IsBackEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->put_IsBackEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneTitle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneTitle(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneTitle(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->put_PaneTitle(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_INavigationView2<D>::BackRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewBackRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::BackRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewBackRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_INavigationView2<D>::BackRequested_revoker consume_Windows_UI_Xaml_Controls_INavigationView2<D>::BackRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewBackRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::BackRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewBackRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, BackRequested_revoker>(this, BackRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView2<D>::BackRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::BackRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->remove_BackRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneClosed_revoker consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, PaneClosed_revoker>(this, PaneClosed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneClosed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneClosed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->remove_PaneClosed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneClosing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewPaneClosingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneClosing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewPaneClosingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneClosing_revoker consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewPaneClosingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewPaneClosingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PaneClosing_revoker>(this, PaneClosing(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneClosing(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneClosing(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->remove_PaneClosing(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneOpened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneOpened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneOpened_revoker consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, PaneOpened_revoker>(this, PaneOpened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneOpened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneOpened(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->remove_PaneOpened(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneOpening(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneOpening(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneOpening_revoker consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneOpening(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneOpening(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, PaneOpening_revoker>(this, PaneOpening(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneOpening(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView2<D>::PaneOpening(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView2)->remove_PaneOpening(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewPaneDisplayMode) consume_Windows_UI_Xaml_Controls_INavigationView3<D>::PaneDisplayMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView3<D>::PaneDisplayMode() const
{
winrt::Windows::UI::Xaml::Controls::NavigationViewPaneDisplayMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->get_PaneDisplayMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView3<D>::PaneDisplayMode(winrt::Windows::UI::Xaml::Controls::NavigationViewPaneDisplayMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView3<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_INavigationView3<D>::PaneHeader() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView3<D>::PaneHeader(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_INavigationView3<D>::PaneCustomContent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView3<D>::PaneCustomContent(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_INavigationView3<D>::ContentOverlay() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView3<D>::ContentOverlay(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationView3<D>::IsPaneVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView3<D>::IsPaneVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->get_IsPaneVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView3<D>::IsPaneVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView3<D>::IsPaneVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->put_IsPaneVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionFollowsFocus) consume_Windows_UI_Xaml_Controls_INavigationView3<D>::SelectionFollowsFocus() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView3<D>::SelectionFollowsFocus() const
{
winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionFollowsFocus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->get_SelectionFollowsFocus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView3<D>::SelectionFollowsFocus(winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionFollowsFocus const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView3<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewTemplateSettings) consume_Windows_UI_Xaml_Controls_INavigationView3<D>::TemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewShoulderNavigationEnabled) consume_Windows_UI_Xaml_Controls_INavigationView3<D>::ShoulderNavigationEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView3<D>::ShoulderNavigationEnabled() const
{
winrt::Windows::UI::Xaml::Controls::NavigationViewShoulderNavigationEnabled value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->get_ShoulderNavigationEnabled(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView3<D>::ShoulderNavigationEnabled(winrt::Windows::UI::Xaml::Controls::NavigationViewShoulderNavigationEnabled const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView3<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewOverflowLabelMode) consume_Windows_UI_Xaml_Controls_INavigationView3<D>::OverflowLabelMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView3<D>::OverflowLabelMode() const
{
winrt::Windows::UI::Xaml::Controls::NavigationViewOverflowLabelMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationView3)->get_OverflowLabelMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationView3<D>::OverflowLabelMode(winrt::Windows::UI::Xaml::Controls::NavigationViewOverflowLabelMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationView3<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayMode) consume_Windows_UI_Xaml_Controls_INavigationViewDisplayModeChangedEventArgs<D>::DisplayMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewDisplayModeChangedEventArgs<D>::DisplayMode() const
{
winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewDisplayModeChangedEventArgs)->get_DisplayMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationView) consume_Windows_UI_Xaml_Controls_INavigationViewFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconElement) consume_Windows_UI_Xaml_Controls_INavigationViewItem<D>::Icon() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationViewItem<D>::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewItem<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_INavigationViewItem<D>::CompactPaneLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewItem<D>::CompactPaneLength() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItem)->get_CompactPaneLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationViewItem2<D>::SelectsOnInvoked() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewItem2<D>::SelectsOnInvoked() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItem2)->get_SelectsOnInvoked(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationViewItem2<D>::SelectsOnInvoked(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewItem2<D>::SelectsOnInvoked(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItem2)->put_SelectsOnInvoked(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewItem) consume_Windows_UI_Xaml_Controls_INavigationViewItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewItemHeader) consume_Windows_UI_Xaml_Controls_INavigationViewItemHeaderFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewItemHeaderFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs<D>::InvokedItem() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs<D>::IsSettingsInvoked() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs<D>::IsSettingsInvoked() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewItemInvokedEventArgs)->get_IsSettingsInvoked(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewItemBase) consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs2<D>::InvokedItemContainer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs2<D>::RecommendedNavigationTransitionInfo() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewItemSeparator) consume_Windows_UI_Xaml_Controls_INavigationViewItemSeparatorFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewItemSeparatorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewItemStatics<D>::IconProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewItemStatics<D>::CompactPaneLengthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewItemStatics2<D>::SelectsOnInvokedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewItemStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewList) consume_Windows_UI_Xaml_Controls_INavigationViewListFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewListFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationViewPaneClosingEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewPaneClosingEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewPaneClosingEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_INavigationViewPaneClosingEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewPaneClosingEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewPaneClosingEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs<D>::SelectedItem() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs<D>::IsSettingsSelected() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs<D>::IsSettingsSelected() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewSelectionChangedEventArgs)->get_IsSettingsSelected(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewItemBase) consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs2<D>::SelectedItemContainer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs2<D>::RecommendedNavigationTransitionInfo() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::IsPaneOpenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::CompactModeThresholdWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::ExpandedModeThresholdWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::PaneFooterProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::HeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::HeaderTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::DisplayModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::IsSettingsVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::IsPaneToggleButtonVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::AlwaysShowHeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::CompactPaneLengthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::OpenPaneLengthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::PaneToggleButtonStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::MenuItemsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::MenuItemsSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::SelectedItemProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::SettingsItemProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::AutoSuggestBoxProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::MenuItemTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::MenuItemTemplateSelectorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::MenuItemContainerStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::MenuItemContainerStyleSelectorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics2<D>::IsBackButtonVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics2<D>::IsBackEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics2<D>::PaneTitleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::PaneDisplayModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::PaneHeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::PaneCustomContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::ContentOverlayProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::IsPaneVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::SelectionFollowsFocusProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::TemplateSettingsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::ShoulderNavigationEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::OverflowLabelModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings<D>::TopPadding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings<D>::TopPadding() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_TopPadding(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings<D>::OverflowButtonVisibility() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings<D>::OverflowButtonVisibility() const
{
winrt::Windows::UI::Xaml::Visibility value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_OverflowButtonVisibility(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings<D>::PaneToggleButtonVisibility() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings<D>::PaneToggleButtonVisibility() const
{
winrt::Windows::UI::Xaml::Visibility value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_PaneToggleButtonVisibility(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings<D>::BackButtonVisibility() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings<D>::BackButtonVisibility() const
{
winrt::Windows::UI::Xaml::Visibility value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_BackButtonVisibility(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings<D>::TopPaneVisibility() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings<D>::TopPaneVisibility() const
{
winrt::Windows::UI::Xaml::Visibility value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_TopPaneVisibility(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings<D>::LeftPaneVisibility() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings<D>::LeftPaneVisibility() const
{
winrt::Windows::UI::Xaml::Visibility value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_LeftPaneVisibility(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings<D>::SingleSelectionFollowsFocus() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettings<D>::SingleSelectionFollowsFocus() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_SingleSelectionFollowsFocus(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::NavigationViewTemplateSettings) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics<D>::TopPaddingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics<D>::OverflowButtonVisibilityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics<D>::PaneToggleButtonVisibilityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics<D>::BackButtonVisibilityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics<D>::TopPaneVisibilityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics<D>::LeftPaneVisibilityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics<D>::SingleSelectionFollowsFocusProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_INotifyEventArgs<D>::Value() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INotifyEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_INotifyEventArgs2<D>::CallingUri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_INotifyEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Frame) consume_Windows_UI_Xaml_Controls_IPage<D>::Frame() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Navigation::NavigationCacheMode) consume_Windows_UI_Xaml_Controls_IPage<D>::NavigationCacheMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPage<D>::NavigationCacheMode() const
{
winrt::Windows::UI::Xaml::Navigation::NavigationCacheMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPage)->get_NavigationCacheMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPage<D>::NavigationCacheMode(winrt::Windows::UI::Xaml::Navigation::NavigationCacheMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPage<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBar) consume_Windows_UI_Xaml_Controls_IPage<D>::TopAppBar() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPage<D>::TopAppBar(winrt::Windows::UI::Xaml::Controls::AppBar const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::AppBar) consume_Windows_UI_Xaml_Controls_IPage<D>::BottomAppBar() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPage<D>::BottomAppBar(winrt::Windows::UI::Xaml::Controls::AppBar const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Page) consume_Windows_UI_Xaml_Controls_IPageFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPageFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPageOverrides<D>::OnNavigatedFrom(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPageOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPageOverrides<D>::OnNavigatedTo(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPageOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPageOverrides<D>::OnNavigatingFrom(winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPageOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPageStatics<D>::FrameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPageStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPageStatics<D>::TopAppBarProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPageStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPageStatics<D>::BottomAppBarProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPageStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::UIElementCollection) consume_Windows_UI_Xaml_Controls_IPanel<D>::Children() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPanel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IPanel<D>::Background() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPanel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPanel<D>::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPanel<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPanel<D>::IsItemsHost() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPanel<D>::IsItemsHost() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPanel)->get_IsItemsHost(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_IPanel<D>::ChildrenTransitions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPanel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPanel<D>::ChildrenTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPanel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::BrushTransition) consume_Windows_UI_Xaml_Controls_IPanel2<D>::BackgroundTransition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPanel2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPanel2<D>::BackgroundTransition(winrt::Windows::UI::Xaml::BrushTransition const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPanel2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Panel) consume_Windows_UI_Xaml_Controls_IPanelFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPanelFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPanelStatics<D>::BackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPanelStatics<D>::IsItemsHostProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPanelStatics<D>::ChildrenTransitionsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::Child() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::Child(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::HorizontalShift() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::HorizontalShift() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_HorizontalShift(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::HorizontalShift(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::HorizontalShift(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_HorizontalShift(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::HorizontalSourceEndOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::HorizontalSourceEndOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_HorizontalSourceEndOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::HorizontalSourceEndOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::HorizontalSourceEndOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_HorizontalSourceEndOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::HorizontalSourceOffsetKind() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::HorizontalSourceOffsetKind() const
{
winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_HorizontalSourceOffsetKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::HorizontalSourceOffsetKind(winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::HorizontalSourceStartOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::HorizontalSourceStartOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_HorizontalSourceStartOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::HorizontalSourceStartOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::HorizontalSourceStartOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_HorizontalSourceStartOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::IsHorizontalShiftClamped() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::IsHorizontalShiftClamped() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_IsHorizontalShiftClamped(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::IsHorizontalShiftClamped(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::IsHorizontalShiftClamped(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_IsHorizontalShiftClamped(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::IsVerticalShiftClamped() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::IsVerticalShiftClamped() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_IsVerticalShiftClamped(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::IsVerticalShiftClamped(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::IsVerticalShiftClamped(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_IsVerticalShiftClamped(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::MaxHorizontalShiftRatio() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::MaxHorizontalShiftRatio() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_MaxHorizontalShiftRatio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::MaxHorizontalShiftRatio(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::MaxHorizontalShiftRatio(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_MaxHorizontalShiftRatio(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::MaxVerticalShiftRatio() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::MaxVerticalShiftRatio() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_MaxVerticalShiftRatio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::MaxVerticalShiftRatio(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::MaxVerticalShiftRatio(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_MaxVerticalShiftRatio(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::Source() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::Source(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::VerticalShift() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::VerticalShift() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_VerticalShift(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::VerticalShift(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::VerticalShift(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_VerticalShift(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::VerticalSourceEndOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::VerticalSourceEndOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_VerticalSourceEndOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::VerticalSourceEndOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::VerticalSourceEndOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_VerticalSourceEndOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::VerticalSourceOffsetKind() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::VerticalSourceOffsetKind() const
{
winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_VerticalSourceOffsetKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::VerticalSourceOffsetKind(winrt::Windows::UI::Xaml::Controls::ParallaxSourceOffsetKind const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::VerticalSourceStartOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::VerticalSourceStartOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->get_VerticalSourceStartOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::VerticalSourceStartOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::VerticalSourceStartOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->put_VerticalSourceStartOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::RefreshAutomaticHorizontalOffsets() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::RefreshAutomaticHorizontalOffsets() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->RefreshAutomaticHorizontalOffsets());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IParallaxView<D>::RefreshAutomaticVerticalOffsets() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxView<D>::RefreshAutomaticVerticalOffsets() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IParallaxView)->RefreshAutomaticVerticalOffsets());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ParallaxView) consume_Windows_UI_Xaml_Controls_IParallaxViewFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxViewFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::ChildProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::HorizontalSourceEndOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::HorizontalSourceOffsetKindProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::HorizontalSourceStartOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::MaxHorizontalShiftRatioProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::HorizontalShiftProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::IsHorizontalShiftClampedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::IsVerticalShiftClampedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::SourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::VerticalSourceEndOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::VerticalSourceOffsetKindProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::VerticalSourceStartOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::MaxVerticalShiftRatioProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::VerticalShiftProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IParallaxViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::Password() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::Password(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::Password(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->put_Password(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::PasswordChar() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::PasswordChar(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::PasswordChar(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->put_PasswordChar(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::IsPasswordRevealButtonEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::IsPasswordRevealButtonEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->get_IsPasswordRevealButtonEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::IsPasswordRevealButtonEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::IsPasswordRevealButtonEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->put_IsPasswordRevealButtonEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::MaxLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::MaxLength() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->get_MaxLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::MaxLength(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::MaxLength(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->put_MaxLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::PasswordChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::PasswordChanged_revoker consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::PasswordChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::PasswordChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, PasswordChanged_revoker>(this, PasswordChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::PasswordChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::PasswordChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->remove_PasswordChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::ContextMenuOpening_revoker consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const
{
return impl::make_event_revoker<D, ContextMenuOpening_revoker>(this, ContextMenuOpening(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::ContextMenuOpening(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::ContextMenuOpening(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->remove_ContextMenuOpening(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::SelectAll() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox<D>::SelectAll() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox)->SelectAll());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::Header() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox2)->put_Header(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::HeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::PlaceholderText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::PlaceholderText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::PlaceholderText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox2)->put_PlaceholderText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::SelectionHighlightColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::PreventKeyboardDisplayOnProgrammaticFocus() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::PreventKeyboardDisplayOnProgrammaticFocus() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox2)->get_PreventKeyboardDisplayOnProgrammaticFocus(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::PreventKeyboardDisplayOnProgrammaticFocus(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::PreventKeyboardDisplayOnProgrammaticFocus(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox2)->put_PreventKeyboardDisplayOnProgrammaticFocus(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::Paste(winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::Paste_revoker consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const
{
return impl::make_event_revoker<D, Paste_revoker>(this, Paste(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::Paste(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox2<D>::Paste(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox2)->remove_Paste(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PasswordRevealMode) consume_Windows_UI_Xaml_Controls_IPasswordBox3<D>::PasswordRevealMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox3<D>::PasswordRevealMode() const
{
winrt::Windows::UI::Xaml::Controls::PasswordRevealMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox3)->get_PasswordRevealMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox3<D>::PasswordRevealMode(winrt::Windows::UI::Xaml::Controls::PasswordRevealMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox3<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextReadingOrder) consume_Windows_UI_Xaml_Controls_IPasswordBox3<D>::TextReadingOrder() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox3<D>::TextReadingOrder() const
{
winrt::Windows::UI::Xaml::TextReadingOrder value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox3)->get_TextReadingOrder(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox3<D>::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox3<D>::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox3)->put_TextReadingOrder(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InputScope) consume_Windows_UI_Xaml_Controls_IPasswordBox3<D>::InputScope() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox3<D>::InputScope(winrt::Windows::UI::Xaml::Input::InputScope const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPasswordBox4<D>::PasswordChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::PasswordBox, winrt::Windows::UI::Xaml::Controls::PasswordBoxPasswordChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox4<D>::PasswordChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::PasswordBox, winrt::Windows::UI::Xaml::Controls::PasswordBoxPasswordChangingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IPasswordBox4<D>::PasswordChanging_revoker consume_Windows_UI_Xaml_Controls_IPasswordBox4<D>::PasswordChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::PasswordBox, winrt::Windows::UI::Xaml::Controls::PasswordBoxPasswordChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox4<D>::PasswordChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::PasswordBox, winrt::Windows::UI::Xaml::Controls::PasswordBoxPasswordChangingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PasswordChanging_revoker>(this, PasswordChanging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox4<D>::PasswordChanging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox4<D>::PasswordChanging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox4)->remove_PasswordChanging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPasswordBox5<D>::CanPasteClipboardContent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox5<D>::CanPasteClipboardContent() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox5)->get_CanPasteClipboardContent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_IPasswordBox5<D>::SelectionFlyout() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox5<D>::SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IPasswordBox5<D>::Description() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox5<D>::Description(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox5<D>::Description(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox5)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPasswordBox5<D>::PasteFromClipboard() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBox5<D>::PasteFromClipboard() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBox5)->PasteFromClipboard());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPasswordBoxPasswordChangingEventArgs<D>::IsContentChanging() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBoxPasswordChangingEventArgs<D>::IsContentChanging() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPasswordBoxPasswordChangingEventArgs)->get_IsContentChanging(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics<D>::PasswordProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics<D>::PasswordCharProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics<D>::IsPasswordRevealButtonEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics<D>::MaxLengthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2<D>::HeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2<D>::HeaderTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2<D>::PlaceholderTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2<D>::SelectionHighlightColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2<D>::PreventKeyboardDisplayOnProgrammaticFocusProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics3<D>::PasswordRevealModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics3<D>::TextReadingOrderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics3<D>::InputScopeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics5<D>::CanPasteClipboardContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics5<D>::SelectionFlyoutProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics5<D>::DescriptionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPasswordBoxStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Geometry) consume_Windows_UI_Xaml_Controls_IPathIcon<D>::Data() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPathIcon<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPathIcon<D>::Data(winrt::Windows::UI::Xaml::Media::Geometry const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPathIcon<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PathIcon) consume_Windows_UI_Xaml_Controls_IPathIconFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPathIconFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Geometry) consume_Windows_UI_Xaml_Controls_IPathIconSource<D>::Data() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPathIconSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPathIconSource<D>::Data(winrt::Windows::UI::Xaml::Media::Geometry const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPathIconSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PathIconSource) consume_Windows_UI_Xaml_Controls_IPathIconSourceFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPathIconSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPathIconSourceStatics<D>::DataProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPathIconSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPathIconStatics<D>::DataProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPathIconStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::BadgeNumber() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::BadgeNumber() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->get_BadgeNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::BadgeNumber(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::BadgeNumber(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->put_BadgeNumber(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::BadgeGlyph() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::BadgeGlyph(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::BadgeGlyph(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->put_BadgeGlyph(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::BadgeImageSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::BadgeImageSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::BadgeText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::BadgeText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::BadgeText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->put_BadgeText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::IsGroup() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::IsGroup() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->get_IsGroup(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::IsGroup(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::IsGroup(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->put_IsGroup(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::Contact) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::Contact() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::Contact(winrt::Windows::ApplicationModel::Contacts::Contact const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::DisplayName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::DisplayName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::DisplayName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->put_DisplayName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::Initials() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::Initials(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::Initials(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->put_Initials(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::PreferSmallImage() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::PreferSmallImage() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->get_PreferSmallImage(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::PreferSmallImage(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::PreferSmallImage(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPersonPicture)->put_PreferSmallImage(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::ProfilePicture() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::ProfilePicture(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPicture<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PersonPicture) consume_Windows_UI_Xaml_Controls_IPersonPictureFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPictureFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::BadgeNumberProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::BadgeGlyphProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::BadgeImageSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::BadgeTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::IsGroupProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::ContactProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::DisplayNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::InitialsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::PreferSmallImageProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::ProfilePictureProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPersonPictureStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IPickerFlyout<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPickerFlyout<D>::Content(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPickerFlyout<D>::ConfirmationButtonsVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPickerFlyout<D>::ConfirmationButtonsVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPickerFlyout)->get_ConfirmationButtonsVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPickerFlyout<D>::ConfirmationButtonsVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPickerFlyout<D>::ConfirmationButtonsVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPickerFlyout)->put_ConfirmationButtonsVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPickerFlyout<D>::Confirmed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::PickerFlyout, winrt::Windows::UI::Xaml::Controls::PickerConfirmedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPickerFlyout<D>::Confirmed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::PickerFlyout, winrt::Windows::UI::Xaml::Controls::PickerConfirmedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IPickerFlyout<D>::Confirmed_revoker consume_Windows_UI_Xaml_Controls_IPickerFlyout<D>::Confirmed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::PickerFlyout, winrt::Windows::UI::Xaml::Controls::PickerConfirmedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPickerFlyout<D>::Confirmed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::PickerFlyout, winrt::Windows::UI::Xaml::Controls::PickerConfirmedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Confirmed_revoker>(this, Confirmed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPickerFlyout<D>::Confirmed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPickerFlyout<D>::Confirmed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPickerFlyout)->remove_Confirmed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) consume_Windows_UI_Xaml_Controls_IPickerFlyout<D>::ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPickerFlyout<D>::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<bool>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPickerFlyoutStatics<D>::ContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPickerFlyoutStatics<D>::ConfirmationButtonsVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IPivot<D>::Title() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot<D>::Title(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::Title(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IPivot<D>::TitleTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot<D>::TitleTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IPivot<D>::HeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot<D>::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IPivot<D>::SelectedIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::SelectedIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->get_SelectedIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot<D>::SelectedIndex(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::SelectedIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->put_SelectedIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IPivot<D>::SelectedItem() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot<D>::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->put_SelectedItem(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPivot<D>::IsLocked() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::IsLocked() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->get_IsLocked(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot<D>::IsLocked(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::IsLocked(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->put_IsLocked(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPivot<D>::SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IPivot<D>::SelectionChanged_revoker consume_Windows_UI_Xaml_Controls_IPivot<D>::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, SelectionChanged_revoker>(this, SelectionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot<D>::SelectionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::SelectionChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->remove_SelectionChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemLoading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemLoading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemLoading_revoker consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PivotItemLoading_revoker>(this, PivotItemLoading(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemLoading(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemLoading(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->remove_PivotItemLoading(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemLoaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemLoaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemLoaded_revoker consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PivotItemLoaded_revoker>(this, PivotItemLoaded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemLoaded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemLoaded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->remove_PivotItemLoaded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemUnloading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemUnloading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemUnloading_revoker consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemUnloading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemUnloading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PivotItemUnloading_revoker>(this, PivotItemUnloading(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemUnloading(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemUnloading(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->remove_PivotItemUnloading(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemUnloaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemUnloaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemUnloaded_revoker consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemUnloaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemUnloaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PivotItemUnloaded_revoker>(this, PivotItemUnloaded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemUnloaded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot<D>::PivotItemUnloaded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot)->remove_PivotItemUnloaded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IPivot2<D>::LeftHeader() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot2<D>::LeftHeader(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot2<D>::LeftHeader(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot2)->put_LeftHeader(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IPivot2<D>::LeftHeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot2<D>::LeftHeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IPivot2<D>::RightHeader() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot2<D>::RightHeader(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot2<D>::RightHeader(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot2)->put_RightHeader(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IPivot2<D>::RightHeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot2<D>::RightHeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PivotHeaderFocusVisualPlacement) consume_Windows_UI_Xaml_Controls_IPivot3<D>::HeaderFocusVisualPlacement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot3<D>::HeaderFocusVisualPlacement() const
{
winrt::Windows::UI::Xaml::Controls::PivotHeaderFocusVisualPlacement value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot3)->get_HeaderFocusVisualPlacement(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot3<D>::HeaderFocusVisualPlacement(winrt::Windows::UI::Xaml::Controls::PivotHeaderFocusVisualPlacement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot3<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IPivot3<D>::IsHeaderItemsCarouselEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot3<D>::IsHeaderItemsCarouselEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot3)->get_IsHeaderItemsCarouselEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivot3<D>::IsHeaderItemsCarouselEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivot3<D>::IsHeaderItemsCarouselEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivot3)->put_IsHeaderItemsCarouselEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Pivot) consume_Windows_UI_Xaml_Controls_IPivotFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IPivotItem<D>::Header() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivotItem<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotItem<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IPivotItem)->put_Header(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PivotItem) consume_Windows_UI_Xaml_Controls_IPivotItemEventArgs<D>::Item() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotItemEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivotItemEventArgs<D>::Item(winrt::Windows::UI::Xaml::Controls::PivotItem const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotItemEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PivotItem) consume_Windows_UI_Xaml_Controls_IPivotItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotItemStatics<D>::HeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::TitleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::TitleTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::HeaderTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::SelectedIndexProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::SelectedItemProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::IsLockedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::SlideInAnimationGroupProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::PivotSlideInAnimationGroup) consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::GetSlideInAnimationGroup(winrt::Windows::UI::Xaml::FrameworkElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::SetSlideInAnimationGroup(winrt::Windows::UI::Xaml::FrameworkElement const& element, winrt::Windows::UI::Xaml::Controls::PivotSlideInAnimationGroup const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotStatics<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics2<D>::LeftHeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics2<D>::LeftHeaderTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics2<D>::RightHeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics2<D>::RightHeaderTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics3<D>::HeaderFocusVisualPlacementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IPivotStatics3<D>::IsHeaderItemsCarouselEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IPivotStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IProgressBar<D>::IsIndeterminate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IProgressBar<D>::IsIndeterminate() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressBar)->get_IsIndeterminate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IProgressBar<D>::IsIndeterminate(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IProgressBar<D>::IsIndeterminate(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressBar)->put_IsIndeterminate(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IProgressBar<D>::ShowError() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IProgressBar<D>::ShowError() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressBar)->get_ShowError(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IProgressBar<D>::ShowError(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IProgressBar<D>::ShowError(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressBar)->put_ShowError(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IProgressBar<D>::ShowPaused() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IProgressBar<D>::ShowPaused() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressBar)->get_ShowPaused(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IProgressBar<D>::ShowPaused(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IProgressBar<D>::ShowPaused(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressBar)->put_ShowPaused(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ProgressBarTemplateSettings) consume_Windows_UI_Xaml_Controls_IProgressBar<D>::TemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IProgressBar<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ProgressBar) consume_Windows_UI_Xaml_Controls_IProgressBarFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IProgressBarFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IProgressBarStatics<D>::IsIndeterminateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IProgressBarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IProgressBarStatics<D>::ShowErrorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IProgressBarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IProgressBarStatics<D>::ShowPausedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IProgressBarStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IProgressRing<D>::IsActive() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IProgressRing<D>::IsActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressRing)->get_IsActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IProgressRing<D>::IsActive(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IProgressRing<D>::IsActive(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IProgressRing)->put_IsActive(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ProgressRingTemplateSettings) consume_Windows_UI_Xaml_Controls_IProgressRing<D>::TemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IProgressRing<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IProgressRingStatics<D>::IsActiveProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IProgressRingStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRadioButton<D>::GroupName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRadioButton<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRadioButton<D>::GroupName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRadioButton<D>::GroupName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRadioButton)->put_GroupName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RadioButton) consume_Windows_UI_Xaml_Controls_IRadioButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRadioButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRadioButtonStatics<D>::GroupNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRadioButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::Caption() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::Caption(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::Caption(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->put_Caption(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::InitialSetValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::InitialSetValue() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->get_InitialSetValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::InitialSetValue(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::InitialSetValue(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->put_InitialSetValue(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::IsClearEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::IsClearEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->get_IsClearEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::IsClearEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::IsClearEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->put_IsClearEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::IsReadOnly() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::IsReadOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->get_IsReadOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::IsReadOnly(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::IsReadOnly(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->put_IsReadOnly(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::MaxRating() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::MaxRating() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->get_MaxRating(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::MaxRating(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::MaxRating(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->put_MaxRating(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::PlaceholderValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::PlaceholderValue() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->get_PlaceholderValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::PlaceholderValue(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::PlaceholderValue(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->put_PlaceholderValue(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RatingItemInfo) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::ItemInfo() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::ItemInfo(winrt::Windows::UI::Xaml::Controls::RatingItemInfo const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::Value() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::Value() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->get_Value(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::Value(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::Value(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->put_Value(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::ValueChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RatingControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::ValueChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RatingControl, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_IRatingControl<D>::ValueChanged_revoker consume_Windows_UI_Xaml_Controls_IRatingControl<D>::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RatingControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RatingControl, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ValueChanged_revoker>(this, ValueChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingControl<D>::ValueChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControl<D>::ValueChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingControl)->remove_ValueChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RatingControl) consume_Windows_UI_Xaml_Controls_IRatingControlFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControlFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingControlStatics<D>::CaptionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingControlStatics<D>::InitialSetValueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingControlStatics<D>::IsClearEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingControlStatics<D>::IsReadOnlyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingControlStatics<D>::MaxRatingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingControlStatics<D>::PlaceholderValueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingControlStatics<D>::ItemInfoProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingControlStatics<D>::ValueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::DisabledGlyph() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::DisabledGlyph(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::DisabledGlyph(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->put_DisabledGlyph(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::Glyph() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::Glyph(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::Glyph(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->put_Glyph(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::PointerOverGlyph() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::PointerOverGlyph(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::PointerOverGlyph(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->put_PointerOverGlyph(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::PointerOverPlaceholderGlyph() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::PointerOverPlaceholderGlyph(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::PointerOverPlaceholderGlyph(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->put_PointerOverPlaceholderGlyph(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::PlaceholderGlyph() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::PlaceholderGlyph(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::PlaceholderGlyph(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->put_PlaceholderGlyph(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::UnsetGlyph() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::UnsetGlyph(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfo<D>::UnsetGlyph(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo)->put_UnsetGlyph(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RatingItemFontInfo) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics<D>::DisabledGlyphProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics<D>::GlyphProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics<D>::PlaceholderGlyphProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics<D>::PointerOverGlyphProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics<D>::PointerOverPlaceholderGlyphProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics<D>::UnsetGlyphProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemFontInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::DisabledImage() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::DisabledImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::Image() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::Image(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::PlaceholderImage() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::PlaceholderImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::PointerOverImage() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::PointerOverImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::PointerOverPlaceholderImage() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::PointerOverPlaceholderImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::UnsetImage() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::UnsetImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RatingItemImageInfo) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics<D>::DisabledImageProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics<D>::ImageProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics<D>::PlaceholderImageProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics<D>::PointerOverImageProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics<D>::PointerOverPlaceholderImageProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics<D>::UnsetImageProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemImageInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RatingItemInfo) consume_Windows_UI_Xaml_Controls_IRatingItemInfoFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRatingItemInfoFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizer) consume_Windows_UI_Xaml_Controls_IRefreshContainer<D>::Visualizer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshContainer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshContainer<D>::Visualizer(winrt::Windows::UI::Xaml::Controls::RefreshVisualizer const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshContainer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshPullDirection) consume_Windows_UI_Xaml_Controls_IRefreshContainer<D>::PullDirection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshContainer<D>::PullDirection() const
{
winrt::Windows::UI::Xaml::Controls::RefreshPullDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshContainer)->get_PullDirection(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshContainer<D>::PullDirection(winrt::Windows::UI::Xaml::Controls::RefreshPullDirection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshContainer<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRefreshContainer<D>::RefreshRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RefreshContainer, winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshContainer<D>::RefreshRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RefreshContainer, winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IRefreshContainer<D>::RefreshRequested_revoker consume_Windows_UI_Xaml_Controls_IRefreshContainer<D>::RefreshRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RefreshContainer, winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshContainer<D>::RefreshRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RefreshContainer, winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RefreshRequested_revoker>(this, RefreshRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshContainer<D>::RefreshRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshContainer<D>::RefreshRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshContainer)->remove_RefreshRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshContainer<D>::RequestRefresh() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshContainer<D>::RequestRefresh() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshContainer)->RequestRefresh());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshContainer) consume_Windows_UI_Xaml_Controls_IRefreshContainerFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshContainerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRefreshContainerStatics<D>::VisualizerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshContainerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRefreshContainerStatics<D>::PullDirectionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshContainerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRefreshInteractionRatioChangedEventArgs<D>::InteractionRatio() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshInteractionRatioChangedEventArgs<D>::InteractionRatio() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshInteractionRatioChangedEventArgs)->get_InteractionRatio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Xaml_Controls_IRefreshRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizerState) consume_Windows_UI_Xaml_Controls_IRefreshStateChangedEventArgs<D>::OldState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshStateChangedEventArgs<D>::OldState() const
{
winrt::Windows::UI::Xaml::Controls::RefreshVisualizerState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshStateChangedEventArgs)->get_OldState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizerState) consume_Windows_UI_Xaml_Controls_IRefreshStateChangedEventArgs<D>::NewState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshStateChangedEventArgs<D>::NewState() const
{
winrt::Windows::UI::Xaml::Controls::RefreshVisualizerState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshStateChangedEventArgs)->get_NewState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::RequestRefresh() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::RequestRefresh() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer)->RequestRefresh());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizerOrientation) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::Orientation() const
{
winrt::Windows::UI::Xaml::Controls::RefreshVisualizerOrientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::Orientation(winrt::Windows::UI::Xaml::Controls::RefreshVisualizerOrientation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::Content(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizerState) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::State() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::State() const
{
winrt::Windows::UI::Xaml::Controls::RefreshVisualizerState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::RefreshRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer, winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::RefreshRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer, winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::RefreshRequested_revoker consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::RefreshRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer, winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::RefreshRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer, winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RefreshRequested_revoker>(this, RefreshRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::RefreshRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::RefreshRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer)->remove_RefreshRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::RefreshStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer, winrt::Windows::UI::Xaml::Controls::RefreshStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::RefreshStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer, winrt::Windows::UI::Xaml::Controls::RefreshStateChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::RefreshStateChanged_revoker consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::RefreshStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer, winrt::Windows::UI::Xaml::Controls::RefreshStateChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::RefreshStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer, winrt::Windows::UI::Xaml::Controls::RefreshStateChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RefreshStateChanged_revoker>(this, RefreshStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::RefreshStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizer<D>::RefreshStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer)->remove_RefreshStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RefreshVisualizer) consume_Windows_UI_Xaml_Controls_IRefreshVisualizerFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRefreshVisualizerStatics<D>::InfoProviderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRefreshVisualizerStatics<D>::OrientationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRefreshVisualizerStatics<D>::ContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRefreshVisualizerStatics<D>::StateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRefreshVisualizerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IRelativePanel<D>::BorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanel<D>::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IRelativePanel<D>::BorderThickness() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanel<D>::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_Controls_IRelativePanel<D>::CornerRadius() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanel<D>::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IRelativePanel<D>::Padding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanel<D>::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanel<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) consume_Windows_UI_Xaml_Controls_IRelativePanel2<D>::BackgroundSizing() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanel2<D>::BackgroundSizing() const
{
winrt::Windows::UI::Xaml::Controls::BackgroundSizing value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRelativePanel2)->get_BackgroundSizing(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanel2<D>::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanel2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RelativePanel) consume_Windows_UI_Xaml_Controls_IRelativePanelFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::LeftOfProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::GetLeftOf(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::SetLeftOf(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::AboveProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::GetAbove(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::SetAbove(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::RightOfProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::GetRightOf(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::SetRightOf(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::BelowProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::GetBelow(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::SetBelow(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::AlignHorizontalCenterWithProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::GetAlignHorizontalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::SetAlignHorizontalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::AlignVerticalCenterWithProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::GetAlignVerticalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::SetAlignVerticalCenterWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::AlignLeftWithProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::GetAlignLeftWith(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::SetAlignLeftWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::AlignTopWithProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::GetAlignTopWith(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::SetAlignTopWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::AlignRightWithProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::GetAlignRightWith(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::SetAlignRightWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::AlignBottomWithProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::GetAlignBottomWith(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::SetAlignBottomWith(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::AlignLeftWithPanelProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::GetAlignLeftWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::SetAlignLeftWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::AlignTopWithPanelProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::GetAlignTopWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::SetAlignTopWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::AlignRightWithPanelProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::GetAlignRightWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::SetAlignRightWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::AlignBottomWithPanelProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::GetAlignBottomWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::SetAlignBottomWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::AlignHorizontalCenterWithPanelProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::GetAlignHorizontalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::SetAlignHorizontalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::AlignVerticalCenterWithPanelProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::GetAlignVerticalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::SetAlignVerticalCenterWithPanel(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::BorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::BorderThicknessProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::CornerRadiusProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::PaddingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRelativePanelStatics2<D>::BackgroundSizingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRelativePanelStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::IsReadOnly() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::IsReadOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->get_IsReadOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::IsReadOnly(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::IsReadOnly(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->put_IsReadOnly(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::AcceptsReturn() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::AcceptsReturn() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->get_AcceptsReturn(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::AcceptsReturn(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::AcceptsReturn(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->put_AcceptsReturn(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::TextAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::TextAlignment() const
{
winrt::Windows::UI::Xaml::TextAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->get_TextAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->put_TextAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextWrapping) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::TextWrapping() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::TextWrapping() const
{
winrt::Windows::UI::Xaml::TextWrapping value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->get_TextWrapping(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->put_TextWrapping(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::IsSpellCheckEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::IsSpellCheckEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->get_IsSpellCheckEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::IsSpellCheckEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::IsSpellCheckEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->put_IsSpellCheckEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::IsTextPredictionEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::IsTextPredictionEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->get_IsTextPredictionEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::IsTextPredictionEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::IsTextPredictionEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->put_IsTextPredictionEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ITextDocument) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::Document() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InputScope) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::InputScope() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::InputScope(winrt::Windows::UI::Xaml::Input::InputScope const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::TextChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::TextChanged_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::TextChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::TextChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, TextChanged_revoker>(this, TextChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::TextChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::TextChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->remove_TextChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::SelectionChanged_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, SelectionChanged_revoker>(this, SelectionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::SelectionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::SelectionChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->remove_SelectionChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::ContextMenuOpening_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const
{
return impl::make_event_revoker<D, ContextMenuOpening_revoker>(this, ContextMenuOpening(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::ContextMenuOpening(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox<D>::ContextMenuOpening(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox)->remove_ContextMenuOpening(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::Header() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->put_Header(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::HeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::PlaceholderText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::PlaceholderText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::PlaceholderText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->put_PlaceholderText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::SelectionHighlightColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::PreventKeyboardDisplayOnProgrammaticFocus() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::PreventKeyboardDisplayOnProgrammaticFocus() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->get_PreventKeyboardDisplayOnProgrammaticFocus(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::PreventKeyboardDisplayOnProgrammaticFocus(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::PreventKeyboardDisplayOnProgrammaticFocus(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->put_PreventKeyboardDisplayOnProgrammaticFocus(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::IsColorFontEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::IsColorFontEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->get_IsColorFontEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::IsColorFontEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::IsColorFontEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->put_IsColorFontEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::Paste(winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::Paste_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const
{
return impl::make_event_revoker<D, Paste_revoker>(this, Paste(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::Paste(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox2<D>::Paste(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox2)->remove_Paste(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionStarted_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TextCompositionStarted_revoker>(this, TextCompositionStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionStarted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionStarted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->remove_TextCompositionStarted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionChanged_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TextCompositionChanged_revoker>(this, TextCompositionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->remove_TextCompositionChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionEnded_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TextCompositionEnded_revoker>(this, TextCompositionEnded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionEnded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextCompositionEnded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->remove_TextCompositionEnded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextReadingOrder) consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextReadingOrder() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextReadingOrder() const
{
winrt::Windows::UI::Xaml::TextReadingOrder value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->get_TextReadingOrder(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->put_TextReadingOrder(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment) consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::DesiredCandidateWindowAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::DesiredCandidateWindowAlignment() const
{
winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->get_DesiredCandidateWindowAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::DesiredCandidateWindowAlignment(winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::CandidateWindowBoundsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::CandidateWindowBoundsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::CandidateWindowBoundsChanged_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CandidateWindowBoundsChanged_revoker>(this, CandidateWindowBoundsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::CandidateWindowBoundsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::CandidateWindowBoundsChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->remove_CandidateWindowBoundsChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::RichEditBoxTextChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::RichEditBoxTextChangingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextChanging_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::RichEditBoxTextChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::RichEditBoxTextChangingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TextChanging_revoker>(this, TextChanging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextChanging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox3<D>::TextChanging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox3)->remove_TextChanging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) consume_Windows_UI_Xaml_Controls_IRichEditBox4<D>::GetLinguisticAlternativesAsync() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox4<D>::GetLinguisticAlternativesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox4)->GetLinguisticAlternativesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RichEditClipboardFormat) consume_Windows_UI_Xaml_Controls_IRichEditBox4<D>::ClipboardCopyFormat() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox4<D>::ClipboardCopyFormat() const
{
winrt::Windows::UI::Xaml::Controls::RichEditClipboardFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox4)->get_ClipboardCopyFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox4<D>::ClipboardCopyFormat(winrt::Windows::UI::Xaml::Controls::RichEditClipboardFormat const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox4<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_IRichEditBox5<D>::SelectionHighlightColorWhenNotFocused() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox5<D>::SelectionHighlightColorWhenNotFocused(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox5<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IRichEditBox5<D>::MaxLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox5<D>::MaxLength() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox5)->get_MaxLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox5<D>::MaxLength(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox5<D>::MaxLength(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox5)->put_MaxLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::HorizontalTextAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::HorizontalTextAlignment() const
{
winrt::Windows::UI::Xaml::TextAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox6)->get_HorizontalTextAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox6)->put_HorizontalTextAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CharacterCasing) consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::CharacterCasing() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::CharacterCasing() const
{
winrt::Windows::UI::Xaml::Controls::CharacterCasing value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox6)->get_CharacterCasing(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::CharacterCasing(winrt::Windows::UI::Xaml::Controls::CharacterCasing const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DisabledFormattingAccelerators) consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::DisabledFormattingAccelerators() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::DisabledFormattingAccelerators() const
{
winrt::Windows::UI::Xaml::Controls::DisabledFormattingAccelerators value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox6)->get_DisabledFormattingAccelerators(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::DisabledFormattingAccelerators(winrt::Windows::UI::Xaml::Controls::DisabledFormattingAccelerators const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::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<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::CopyingToClipboard(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::CopyingToClipboard(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::CopyingToClipboard_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CopyingToClipboard_revoker>(this, CopyingToClipboard(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::CopyingToClipboard(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::CopyingToClipboard(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox6)->remove_CopyingToClipboard(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::CuttingToClipboard(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::CuttingToClipboard(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::CuttingToClipboard_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::CuttingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::CuttingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CuttingToClipboard_revoker>(this, CuttingToClipboard(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::CuttingToClipboard(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox6<D>::CuttingToClipboard(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox6)->remove_CuttingToClipboard(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkForegroundColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkForegroundColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkBackgroundColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkBackgroundColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::ContentLinkProviderCollection) consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkProviders() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkProviders(winrt::Windows::UI::Xaml::Documents::ContentLinkProviderCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HandwritingView) consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::HandwritingView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::HandwritingView(winrt::Windows::UI::Xaml::Controls::HandwritingView const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::IsHandwritingViewEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::IsHandwritingViewEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->get_IsHandwritingViewEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::IsHandwritingViewEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::IsHandwritingViewEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->put_IsHandwritingViewEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::ContentLinkChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::ContentLinkChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkChanged_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::ContentLinkChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::ContentLinkChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ContentLinkChanged_revoker>(this, ContentLinkChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->remove_ContentLinkChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkInvoked_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ContentLinkInvoked_revoker>(this, ContentLinkInvoked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkInvoked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox7<D>::ContentLinkInvoked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox7)->remove_ContentLinkInvoked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::RichEditTextDocument) consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::TextDocument() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::SelectionFlyout() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::ProofingMenuFlyout() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::Description() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::Description(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::Description(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox8)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::SelectionChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::RichEditBoxSelectionChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::SelectionChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::RichEditBoxSelectionChangingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::SelectionChanging_revoker consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::SelectionChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::RichEditBoxSelectionChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::SelectionChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::RichEditBoxSelectionChangingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SelectionChanging_revoker>(this, SelectionChanging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::SelectionChanging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBox8<D>::SelectionChanging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBox8)->remove_SelectionChanging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RichEditBox) consume_Windows_UI_Xaml_Controls_IRichEditBoxFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxFactory<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs<D>::SelectionStart() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs<D>::SelectionStart() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxSelectionChangingEventArgs)->get_SelectionStart(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs<D>::SelectionLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs<D>::SelectionLength() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxSelectionChangingEventArgs)->get_SelectionLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxSelectionChangingEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxSelectionChangingEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics<D>::IsReadOnlyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics<D>::AcceptsReturnProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics<D>::TextAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics<D>::TextWrappingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics<D>::IsSpellCheckEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics<D>::IsTextPredictionEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics<D>::InputScopeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2<D>::HeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2<D>::HeaderTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2<D>::PlaceholderTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2<D>::SelectionHighlightColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2<D>::PreventKeyboardDisplayOnProgrammaticFocusProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2<D>::IsColorFontEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics3<D>::DesiredCandidateWindowAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics3<D>::TextReadingOrderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics4<D>::ClipboardCopyFormatProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics5<D>::SelectionHighlightColorWhenNotFocusedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics5<D>::MaxLengthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics6<D>::HorizontalTextAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics6<D>::CharacterCasingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics6<D>::DisabledFormattingAcceleratorsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7<D>::ContentLinkForegroundColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7<D>::ContentLinkBackgroundColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7<D>::ContentLinkProvidersProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7<D>::HandwritingViewProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7<D>::IsHandwritingViewEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics8<D>::SelectionFlyoutProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics8<D>::ProofingMenuFlyoutProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics8<D>::DescriptionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichEditBoxTextChangingEventArgs2<D>::IsContentChanging() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichEditBoxTextChangingEventArgs2<D>::IsContentChanging() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichEditBoxTextChangingEventArgs2)->get_IsContentChanging(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::FontSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::FontSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_FontSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::FontSize(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::FontSize(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_FontSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::FontFamily() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::FontWeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::FontStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::FontStyle() const
{
winrt::Windows::UI::Text::FontStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_FontStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_FontStyle(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::FontStretch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::FontStretch() const
{
winrt::Windows::UI::Text::FontStretch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_FontStretch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_FontStretch(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::Foreground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextWrapping) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::TextWrapping() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::TextWrapping() const
{
winrt::Windows::UI::Xaml::TextWrapping value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_TextWrapping(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_TextWrapping(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextTrimming) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::TextTrimming() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::TextTrimming() const
{
winrt::Windows::UI::Xaml::TextTrimming value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_TextTrimming(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::TextTrimming(winrt::Windows::UI::Xaml::TextTrimming const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::TextTrimming(winrt::Windows::UI::Xaml::TextTrimming const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_TextTrimming(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::TextAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::TextAlignment() const
{
winrt::Windows::UI::Xaml::TextAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_TextAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_TextAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::BlockCollection) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::Blocks() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::Padding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::LineHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::LineHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_LineHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::LineHeight(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::LineHeight(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_LineHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::LineStackingStrategy) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::LineStackingStrategy() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::LineStackingStrategy() const
{
winrt::Windows::UI::Xaml::LineStackingStrategy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_LineStackingStrategy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_LineStackingStrategy(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::CharacterSpacing() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::CharacterSpacing() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_CharacterSpacing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::CharacterSpacing(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::CharacterSpacing(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_CharacterSpacing(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::OverflowContentTarget() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::OverflowContentTarget(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::IsTextSelectionEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::IsTextSelectionEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_IsTextSelectionEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::IsTextSelectionEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::IsTextSelectionEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_IsTextSelectionEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::HasOverflowContent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::HasOverflowContent() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_HasOverflowContent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::SelectedText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::ContentStart() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::ContentEnd() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::SelectionStart() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::SelectionEnd() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::BaselineOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::BaselineOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_BaselineOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::SelectionChanged_revoker consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, SelectionChanged_revoker>(this, SelectionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::SelectionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::SelectionChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->remove_SelectionChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::ContextMenuOpening_revoker consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const
{
return impl::make_event_revoker<D, ContextMenuOpening_revoker>(this, ContextMenuOpening(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::ContextMenuOpening(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::ContextMenuOpening(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->remove_ContextMenuOpening(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::SelectAll() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::SelectAll() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->SelectAll());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::Select(winrt::Windows::UI::Xaml::Documents::TextPointer const& start, winrt::Windows::UI::Xaml::Documents::TextPointer const& end) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::GetPositionFromPoint(winrt::Windows::Foundation::Point const& point) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::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<int32_t>(value), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::TextIndent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::TextIndent() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->get_TextIndent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::TextIndent(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock<D>::TextIndent(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock)->put_TextIndent(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::MaxLines() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::MaxLines() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->get_MaxLines(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::MaxLines(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::MaxLines(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->put_MaxLines(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextLineBounds) consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::TextLineBounds() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::TextLineBounds() const
{
winrt::Windows::UI::Xaml::TextLineBounds value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->get_TextLineBounds(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->put_TextLineBounds(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::SelectionHighlightColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::OpticalMarginAlignment) consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::OpticalMarginAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::OpticalMarginAlignment() const
{
winrt::Windows::UI::Xaml::OpticalMarginAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->get_OpticalMarginAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->put_OpticalMarginAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::IsColorFontEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::IsColorFontEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->get_IsColorFontEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::IsColorFontEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::IsColorFontEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->put_IsColorFontEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextReadingOrder) consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::TextReadingOrder() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::TextReadingOrder() const
{
winrt::Windows::UI::Xaml::TextReadingOrder value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->get_TextReadingOrder(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock2<D>::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock2)->put_TextReadingOrder(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlock3<D>::IsTextScaleFactorEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock3<D>::IsTextScaleFactorEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock3)->get_IsTextScaleFactorEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock3<D>::IsTextScaleFactorEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock3<D>::IsTextScaleFactorEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock3)->put_IsTextScaleFactorEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::TextDecorations) consume_Windows_UI_Xaml_Controls_IRichTextBlock4<D>::TextDecorations() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock4<D>::TextDecorations() const
{
winrt::Windows::UI::Text::TextDecorations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock4)->get_TextDecorations(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock4<D>::TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock4<D>::TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock4)->put_TextDecorations(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlock5<D>::IsTextTrimmed() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock5<D>::IsTextTrimmed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock5)->get_IsTextTrimmed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Controls_IRichTextBlock5<D>::HorizontalTextAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock5<D>::HorizontalTextAlignment() const
{
winrt::Windows::UI::Xaml::TextAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock5)->get_HorizontalTextAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock5<D>::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock5<D>::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock5)->put_HorizontalTextAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Documents::TextHighlighter>) consume_Windows_UI_Xaml_Controls_IRichTextBlock5<D>::TextHighlighters() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock5<D>::TextHighlighters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock5)->get_TextHighlighters(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Documents::TextHighlighter>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichTextBlock5<D>::IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichTextBlock, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock5<D>::IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichTextBlock, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IRichTextBlock5<D>::IsTextTrimmedChanged_revoker consume_Windows_UI_Xaml_Controls_IRichTextBlock5<D>::IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichTextBlock, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock5<D>::IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichTextBlock, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, IsTextTrimmedChanged_revoker>(this, IsTextTrimmedChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock5<D>::IsTextTrimmedChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock5<D>::IsTextTrimmedChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock5)->remove_IsTextTrimmedChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_IRichTextBlock6<D>::SelectionFlyout() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock6<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock6<D>::SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock6<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlock6<D>::CopySelectionToClipboard() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlock6<D>::CopySelectionToClipboard() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlock6)->CopySelectionToClipboard());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::OverflowContentTarget() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::OverflowContentTarget(winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::Padding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::RichTextBlock) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::ContentSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::HasOverflowContent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::HasOverflowContent() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow)->get_HasOverflowContent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::ContentStart() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::ContentEnd() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::BaselineOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::BaselineOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow)->get_BaselineOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::GetPositionFromPoint(winrt::Windows::Foundation::Point const& point) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow<D>::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<int32_t>(value), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow2<D>::MaxLines() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow2<D>::MaxLines() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow2)->get_MaxLines(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow2<D>::MaxLines(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow2<D>::MaxLines(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow2)->put_MaxLines(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3<D>::IsTextTrimmed() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3<D>::IsTextTrimmed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow3)->get_IsTextTrimmed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3<D>::IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3<D>::IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3<D>::IsTextTrimmedChanged_revoker consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3<D>::IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3<D>::IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, IsTextTrimmedChanged_revoker>(this, IsTextTrimmedChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3<D>::IsTextTrimmedChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflow3<D>::IsTextTrimmedChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow3)->remove_IsTextTrimmedChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics<D>::OverflowContentTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics<D>::PaddingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics<D>::HasOverflowContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics2<D>::MaxLinesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics3<D>::IsTextTrimmedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockOverflowStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::FontSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::FontFamilyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::FontWeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::FontStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::FontStretchProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::ForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::TextWrappingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::TextTrimmingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::TextAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::PaddingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::LineHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::LineStackingStrategyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::CharacterSpacingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::OverflowContentTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::IsTextSelectionEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::HasOverflowContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::SelectedTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::TextIndentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2<D>::MaxLinesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2<D>::TextLineBoundsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2<D>::SelectionHighlightColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2<D>::OpticalMarginAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2<D>::IsColorFontEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2<D>::TextReadingOrderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics3<D>::IsTextScaleFactorEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics4<D>::TextDecorationsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics5<D>::IsTextTrimmedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics5<D>::HorizontalTextAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics6<D>::SelectionFlyoutProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRichTextBlockStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_Controls_IRowDefinition<D>::Height() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRowDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRowDefinition<D>::Height(winrt::Windows::UI::Xaml::GridLength const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRowDefinition<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRowDefinition<D>::MaxHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRowDefinition<D>::MaxHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRowDefinition)->get_MaxHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRowDefinition<D>::MaxHeight(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRowDefinition<D>::MaxHeight(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRowDefinition)->put_MaxHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRowDefinition<D>::MinHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRowDefinition<D>::MinHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRowDefinition)->get_MinHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IRowDefinition<D>::MinHeight(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRowDefinition<D>::MinHeight(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRowDefinition)->put_MinHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IRowDefinition<D>::ActualHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRowDefinition<D>::ActualHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IRowDefinition)->get_ActualHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRowDefinitionStatics<D>::HeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRowDefinitionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRowDefinitionStatics<D>::MaxHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRowDefinitionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IRowDefinitionStatics<D>::MinHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IRowDefinitionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IScrollAnchorProvider<D>::CurrentAnchor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollAnchorProvider<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollAnchorProvider<D>::RegisterAnchorCandidate(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollAnchorProvider<D>::RegisterAnchorCandidate(winrt::Windows::UI::Xaml::UIElement const& element) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollAnchorProvider)->RegisterAnchorCandidate(*(void**)(&element)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollAnchorProvider<D>::UnregisterAnchorCandidate(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollAnchorProvider<D>::UnregisterAnchorCandidate(winrt::Windows::UI::Xaml::UIElement const& element) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollAnchorProvider)->UnregisterAnchorCandidate(*(void**)(&element)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::CanVerticallyScroll() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::CanVerticallyScroll() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->get_CanVerticallyScroll(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::CanVerticallyScroll(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::CanVerticallyScroll(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->put_CanVerticallyScroll(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::CanHorizontallyScroll() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::CanHorizontallyScroll() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->get_CanHorizontallyScroll(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::CanHorizontallyScroll(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::CanHorizontallyScroll(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->put_CanHorizontallyScroll(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::ExtentWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::ExtentWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->get_ExtentWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::ExtentHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::ExtentHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->get_ExtentHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::ViewportWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::ViewportWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->get_ViewportWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::ViewportHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::ViewportHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->get_ViewportHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::HorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::HorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->get_HorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::VerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::VerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->get_VerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::ScrollOwner() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::ScrollOwner(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::ScrollOwner(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->put_ScrollOwner(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::LineUp() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::LineUp() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->LineUp());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::LineDown() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::LineDown() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->LineDown());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::LineLeft() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::LineLeft() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->LineLeft());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::LineRight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::LineRight() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->LineRight());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::PageUp() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::PageUp() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->PageUp());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::PageDown() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::PageDown() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->PageDown());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::PageLeft() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::PageLeft() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->PageLeft());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::PageRight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::PageRight() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->PageRight());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::MouseWheelUp() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::MouseWheelUp() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->MouseWheelUp());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::MouseWheelDown() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::MouseWheelDown() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->MouseWheelDown());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::MouseWheelLeft() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::MouseWheelLeft() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->MouseWheelLeft());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::MouseWheelRight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::MouseWheelRight() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->MouseWheelRight());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::SetHorizontalOffset(double offset) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::SetHorizontalOffset(double offset) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->SetHorizontalOffset(offset));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::SetVerticalOffset(double offset) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::SetVerticalOffset(double offset) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter)->SetVerticalOffset(offset));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::MakeVisible(winrt::Windows::UI::Xaml::UIElement const& visual, winrt::Windows::Foundation::Rect const& rectangle) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter2<D>::CanContentRenderOutsideBounds() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter2<D>::CanContentRenderOutsideBounds() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter2)->get_CanContentRenderOutsideBounds(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter2<D>::CanContentRenderOutsideBounds(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter2<D>::CanContentRenderOutsideBounds(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter2)->put_CanContentRenderOutsideBounds(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter2<D>::SizesContentToTemplatedParent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter2<D>::SizesContentToTemplatedParent() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter2)->get_SizesContentToTemplatedParent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollContentPresenter2<D>::SizesContentToTemplatedParent(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenter2<D>::SizesContentToTemplatedParent(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter2)->put_SizesContentToTemplatedParent(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollContentPresenterStatics2<D>::CanContentRenderOutsideBoundsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenterStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollContentPresenterStatics2<D>::SizesContentToTemplatedParentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollContentPresenterStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::HorizontalScrollBarVisibility() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::HorizontalScrollBarVisibility() const
{
winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_HorizontalScrollBarVisibility(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::HorizontalScrollBarVisibility(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::VerticalScrollBarVisibility() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::VerticalScrollBarVisibility() const
{
winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_VerticalScrollBarVisibility(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::VerticalScrollBarVisibility(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsHorizontalRailEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsHorizontalRailEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_IsHorizontalRailEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsHorizontalRailEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsHorizontalRailEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_IsHorizontalRailEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsVerticalRailEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsVerticalRailEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_IsVerticalRailEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsVerticalRailEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsVerticalRailEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_IsVerticalRailEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsHorizontalScrollChainingEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsHorizontalScrollChainingEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_IsHorizontalScrollChainingEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsHorizontalScrollChainingEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsHorizontalScrollChainingEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_IsHorizontalScrollChainingEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsVerticalScrollChainingEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsVerticalScrollChainingEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_IsVerticalScrollChainingEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsVerticalScrollChainingEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsVerticalScrollChainingEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_IsVerticalScrollChainingEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsZoomChainingEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsZoomChainingEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_IsZoomChainingEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsZoomChainingEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsZoomChainingEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_IsZoomChainingEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsScrollInertiaEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsScrollInertiaEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_IsScrollInertiaEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsScrollInertiaEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsScrollInertiaEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_IsScrollInertiaEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsZoomInertiaEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsZoomInertiaEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_IsZoomInertiaEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsZoomInertiaEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsZoomInertiaEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_IsZoomInertiaEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollMode) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::HorizontalScrollMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::HorizontalScrollMode() const
{
winrt::Windows::UI::Xaml::Controls::ScrollMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_HorizontalScrollMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::HorizontalScrollMode(winrt::Windows::UI::Xaml::Controls::ScrollMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollMode) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::VerticalScrollMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::VerticalScrollMode() const
{
winrt::Windows::UI::Xaml::Controls::ScrollMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_VerticalScrollMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::VerticalScrollMode(winrt::Windows::UI::Xaml::Controls::ScrollMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ZoomMode) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ZoomMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ZoomMode() const
{
winrt::Windows::UI::Xaml::Controls::ZoomMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ZoomMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ZoomMode(winrt::Windows::UI::Xaml::Controls::ZoomMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::HorizontalSnapPointsAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::HorizontalSnapPointsAlignment(winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::VerticalSnapPointsAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::VerticalSnapPointsAlignment(winrt::Windows::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SnapPointsType) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::HorizontalSnapPointsType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::HorizontalSnapPointsType() const
{
winrt::Windows::UI::Xaml::Controls::SnapPointsType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_HorizontalSnapPointsType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::HorizontalSnapPointsType(winrt::Windows::UI::Xaml::Controls::SnapPointsType const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SnapPointsType) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::VerticalSnapPointsType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::VerticalSnapPointsType() const
{
winrt::Windows::UI::Xaml::Controls::SnapPointsType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_VerticalSnapPointsType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::VerticalSnapPointsType(winrt::Windows::UI::Xaml::Controls::SnapPointsType const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SnapPointsType) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ZoomSnapPointsType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ZoomSnapPointsType() const
{
winrt::Windows::UI::Xaml::Controls::SnapPointsType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ZoomSnapPointsType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ZoomSnapPointsType(winrt::Windows::UI::Xaml::Controls::SnapPointsType const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::HorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::HorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_HorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ViewportWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ViewportWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ViewportWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ScrollableWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ScrollableWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ScrollableWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ComputedHorizontalScrollBarVisibility() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ComputedHorizontalScrollBarVisibility() const
{
winrt::Windows::UI::Xaml::Visibility value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ComputedHorizontalScrollBarVisibility(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ExtentWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ExtentWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ExtentWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::VerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::VerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_VerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ViewportHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ViewportHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ViewportHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ScrollableHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ScrollableHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ScrollableHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ComputedVerticalScrollBarVisibility() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ComputedVerticalScrollBarVisibility() const
{
winrt::Windows::UI::Xaml::Visibility value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ComputedVerticalScrollBarVisibility(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ExtentHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ExtentHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ExtentHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::MinZoomFactor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::MinZoomFactor() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_MinZoomFactor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::MinZoomFactor(float value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::MinZoomFactor(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_MinZoomFactor(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::MaxZoomFactor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::MaxZoomFactor() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_MaxZoomFactor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::MaxZoomFactor(float value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::MaxZoomFactor(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_MaxZoomFactor(value));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ZoomFactor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ZoomFactor() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ZoomFactor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<float>) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ZoomSnapPoints() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ZoomSnapPoints() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_ZoomSnapPoints(&value));
return winrt::Windows::Foundation::Collections::IVector<float>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ViewChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ViewChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ViewChanged_revoker consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ViewChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ViewChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ViewChanged_revoker>(this, ViewChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ViewChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ViewChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->remove_ViewChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ScrollToHorizontalOffset(double offset) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ScrollToHorizontalOffset(double offset) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->ScrollToHorizontalOffset(offset));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ScrollToVerticalOffset(double offset) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ScrollToVerticalOffset(double offset) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->ScrollToVerticalOffset(offset));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ZoomToFactor(float factor) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::ZoomToFactor(float factor) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->ZoomToFactor(factor));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::InvalidateScrollInfo() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::InvalidateScrollInfo() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->InvalidateScrollInfo());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsDeferredScrollingEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsDeferredScrollingEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_IsDeferredScrollingEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsDeferredScrollingEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::IsDeferredScrollingEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_IsDeferredScrollingEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::BringIntoViewOnFocusChange() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::BringIntoViewOnFocusChange() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->get_BringIntoViewOnFocusChange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::BringIntoViewOnFocusChange(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer<D>::BringIntoViewOnFocusChange(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer)->put_BringIntoViewOnFocusChange(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::TopLeftHeader() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::TopLeftHeader(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::LeftHeader() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::LeftHeader(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::TopHeader() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::TopHeader(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::ViewChanging(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::ViewChanging(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::ViewChanging_revoker consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::ViewChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::ViewChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ViewChanging_revoker>(this, ViewChanging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::ViewChanging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::ViewChanging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer2)->remove_ViewChanging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::ChangeView(winrt::Windows::Foundation::IReference<double> const& horizontalOffset, winrt::Windows::Foundation::IReference<double> const& verticalOffset, winrt::Windows::Foundation::IReference<float> const& zoomFactor) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::ChangeView(winrt::Windows::Foundation::IReference<double> const& horizontalOffset, winrt::Windows::Foundation::IReference<double> const& verticalOffset, winrt::Windows::Foundation::IReference<float> 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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::ChangeView(winrt::Windows::Foundation::IReference<double> const& horizontalOffset, winrt::Windows::Foundation::IReference<double> const& verticalOffset, winrt::Windows::Foundation::IReference<float> const& zoomFactor, bool disableAnimation) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer2<D>::ChangeView(winrt::Windows::Foundation::IReference<double> const& horizontalOffset, winrt::Windows::Foundation::IReference<double> const& verticalOffset, winrt::Windows::Foundation::IReference<float> 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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IScrollViewer3<D>::DirectManipulationStarted(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer3<D>::DirectManipulationStarted(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_IScrollViewer3<D>::DirectManipulationStarted_revoker consume_Windows_UI_Xaml_Controls_IScrollViewer3<D>::DirectManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer3<D>::DirectManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, DirectManipulationStarted_revoker>(this, DirectManipulationStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer3<D>::DirectManipulationStarted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer3<D>::DirectManipulationStarted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer3)->remove_DirectManipulationStarted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IScrollViewer3<D>::DirectManipulationCompleted(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer3<D>::DirectManipulationCompleted(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_IScrollViewer3<D>::DirectManipulationCompleted_revoker consume_Windows_UI_Xaml_Controls_IScrollViewer3<D>::DirectManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer3<D>::DirectManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, DirectManipulationCompleted_revoker>(this, DirectManipulationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer3<D>::DirectManipulationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer3<D>::DirectManipulationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer3)->remove_DirectManipulationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::ReduceViewportForCoreInputViewOcclusions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::ReduceViewportForCoreInputViewOcclusions() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->get_ReduceViewportForCoreInputViewOcclusions(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::ReduceViewportForCoreInputViewOcclusions(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::ReduceViewportForCoreInputViewOcclusions(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->put_ReduceViewportForCoreInputViewOcclusions(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::HorizontalAnchorRatio() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::HorizontalAnchorRatio() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->get_HorizontalAnchorRatio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::HorizontalAnchorRatio(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::HorizontalAnchorRatio(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->put_HorizontalAnchorRatio(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::VerticalAnchorRatio() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::VerticalAnchorRatio() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->get_VerticalAnchorRatio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::VerticalAnchorRatio(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::VerticalAnchorRatio(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->put_VerticalAnchorRatio(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::CanContentRenderOutsideBounds() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::CanContentRenderOutsideBounds() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->get_CanContentRenderOutsideBounds(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::CanContentRenderOutsideBounds(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::CanContentRenderOutsideBounds(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->put_CanContentRenderOutsideBounds(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::AnchorRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ScrollViewer, winrt::Windows::UI::Xaml::Controls::AnchorRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::AnchorRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ScrollViewer, winrt::Windows::UI::Xaml::Controls::AnchorRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::AnchorRequested_revoker consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::AnchorRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ScrollViewer, winrt::Windows::UI::Xaml::Controls::AnchorRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::AnchorRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ScrollViewer, winrt::Windows::UI::Xaml::Controls::AnchorRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AnchorRequested_revoker>(this, AnchorRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::AnchorRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewer4<D>::AnchorRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewer4)->remove_AnchorRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::HorizontalSnapPointsAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::VerticalSnapPointsAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::HorizontalSnapPointsTypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::VerticalSnapPointsTypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::ZoomSnapPointsTypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::HorizontalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::ViewportWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::ScrollableWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::ComputedHorizontalScrollBarVisibilityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::ExtentWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::VerticalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::ViewportHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::ScrollableHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::ComputedVerticalScrollBarVisibilityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::ExtentHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::MinZoomFactorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::MaxZoomFactorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::ZoomFactorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::ZoomSnapPointsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::HorizontalScrollBarVisibilityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::GetHorizontalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::SetHorizontalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& horizontalScrollBarVisibility) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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<int32_t>(horizontalScrollBarVisibility)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::VerticalScrollBarVisibilityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::GetVerticalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::SetVerticalScrollBarVisibility(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollBarVisibility const& verticalScrollBarVisibility) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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<int32_t>(verticalScrollBarVisibility)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::IsHorizontalRailEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::GetIsHorizontalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::SetIsHorizontalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isHorizontalRailEnabled) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::IsVerticalRailEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::GetIsVerticalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::SetIsVerticalRailEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isVerticalRailEnabled) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::IsHorizontalScrollChainingEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::GetIsHorizontalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::SetIsHorizontalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isHorizontalScrollChainingEnabled) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::IsVerticalScrollChainingEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::GetIsVerticalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::SetIsVerticalScrollChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isVerticalScrollChainingEnabled) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::IsZoomChainingEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::GetIsZoomChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::SetIsZoomChainingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isZoomChainingEnabled) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::IsScrollInertiaEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::GetIsScrollInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::SetIsScrollInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isScrollInertiaEnabled) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::IsZoomInertiaEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::GetIsZoomInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::SetIsZoomInertiaEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isZoomInertiaEnabled) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::HorizontalScrollModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollMode) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::GetHorizontalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::SetHorizontalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollMode const& horizontalScrollMode) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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<int32_t>(horizontalScrollMode)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::VerticalScrollModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollMode) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::GetVerticalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::SetVerticalScrollMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ScrollMode const& verticalScrollMode) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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<int32_t>(verticalScrollMode)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::ZoomModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ZoomMode) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::GetZoomMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::SetZoomMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::ZoomMode const& zoomMode) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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<int32_t>(zoomMode)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::IsDeferredScrollingEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::GetIsDeferredScrollingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::SetIsDeferredScrollingEnabled(winrt::Windows::UI::Xaml::DependencyObject const& element, bool isDeferredScrollingEnabled) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::BringIntoViewOnFocusChangeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::GetBringIntoViewOnFocusChange(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::SetBringIntoViewOnFocusChange(winrt::Windows::UI::Xaml::DependencyObject const& element, bool bringIntoViewOnFocusChange) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics2<D>::TopLeftHeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics2<D>::LeftHeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics2<D>::TopHeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4<D>::ReduceViewportForCoreInputViewOcclusionsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4<D>::HorizontalAnchorRatioProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4<D>::VerticalAnchorRatioProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4<D>::CanContentRenderOutsideBoundsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4<D>::GetCanContentRenderOutsideBounds(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4<D>::SetCanContentRenderOutsideBounds(winrt::Windows::UI::Xaml::DependencyObject const& element, bool canContentRenderOutsideBounds) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewerView<D>::HorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerView<D>::HorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerView)->get_HorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IScrollViewerView<D>::VerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerView<D>::VerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerView)->get_VerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_Controls_IScrollViewerView<D>::ZoomFactor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerView<D>::ZoomFactor() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerView)->get_ZoomFactor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangedEventArgs<D>::IsIntermediate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangedEventArgs<D>::IsIntermediate() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerViewChangedEventArgs)->get_IsIntermediate(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollViewerView) consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangingEventArgs<D>::NextView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ScrollViewerView) consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangingEventArgs<D>::FinalView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangingEventArgs<D>::IsInertial() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangingEventArgs<D>::IsInertial() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IScrollViewerViewChangingEventArgs)->get_IsInertial(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::SearchHistoryEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::SearchHistoryEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->get_SearchHistoryEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::SearchHistoryEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::SearchHistoryEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->put_SearchHistoryEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::SearchHistoryContext() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::SearchHistoryContext(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::SearchHistoryContext(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->put_SearchHistoryContext(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::PlaceholderText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::PlaceholderText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::PlaceholderText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->put_PlaceholderText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::QueryText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::QueryText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::QueryText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->put_QueryText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::FocusOnKeyboardInput() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::FocusOnKeyboardInput() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->get_FocusOnKeyboardInput(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::FocusOnKeyboardInput(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::FocusOnKeyboardInput(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->put_FocusOnKeyboardInput(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::ChooseSuggestionOnEnter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::ChooseSuggestionOnEnter() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->get_ChooseSuggestionOnEnter(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::ChooseSuggestionOnEnter(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::ChooseSuggestionOnEnter(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->put_ChooseSuggestionOnEnter(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::QueryChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxQueryChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::QueryChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxQueryChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ISearchBox<D>::QueryChanged_revoker consume_Windows_UI_Xaml_Controls_ISearchBox<D>::QueryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxQueryChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::QueryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxQueryChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, QueryChanged_revoker>(this, QueryChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::QueryChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::QueryChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->remove_QueryChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxSuggestionsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxSuggestionsRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ISearchBox<D>::SuggestionsRequested_revoker consume_Windows_UI_Xaml_Controls_ISearchBox<D>::SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxSuggestionsRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxSuggestionsRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SuggestionsRequested_revoker>(this, SuggestionsRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::SuggestionsRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::SuggestionsRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->remove_SuggestionsRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxQuerySubmittedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxQuerySubmittedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ISearchBox<D>::QuerySubmitted_revoker consume_Windows_UI_Xaml_Controls_ISearchBox<D>::QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxQuerySubmittedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxQuerySubmittedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, QuerySubmitted_revoker>(this, QuerySubmitted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::QuerySubmitted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::QuerySubmitted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->remove_QuerySubmitted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::ResultSuggestionChosen(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxResultSuggestionChosenEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::ResultSuggestionChosen(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxResultSuggestionChosenEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ISearchBox<D>::ResultSuggestionChosen_revoker consume_Windows_UI_Xaml_Controls_ISearchBox<D>::ResultSuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxResultSuggestionChosenEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::ResultSuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxResultSuggestionChosenEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ResultSuggestionChosen_revoker>(this, ResultSuggestionChosen(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::ResultSuggestionChosen(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::ResultSuggestionChosen(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->remove_ResultSuggestionChosen(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::PrepareForFocusOnKeyboardInput(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::RoutedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::PrepareForFocusOnKeyboardInput(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::RoutedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ISearchBox<D>::PrepareForFocusOnKeyboardInput_revoker consume_Windows_UI_Xaml_Controls_ISearchBox<D>::PrepareForFocusOnKeyboardInput(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::RoutedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::PrepareForFocusOnKeyboardInput(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::RoutedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PrepareForFocusOnKeyboardInput_revoker>(this, PrepareForFocusOnKeyboardInput(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::PrepareForFocusOnKeyboardInput(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::PrepareForFocusOnKeyboardInput(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->remove_PrepareForFocusOnKeyboardInput(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISearchBox<D>::SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBox<D>::SetLocalContentSuggestionSettings(winrt::Windows::ApplicationModel::Search::LocalContentSuggestionSettings const& settings) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBox)->SetLocalContentSuggestionSettings(*(void**)(&settings)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SearchBox) consume_Windows_UI_Xaml_Controls_ISearchBoxFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBoxQueryChangedEventArgs<D>::QueryText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxQueryChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBoxQueryChangedEventArgs<D>::Language() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxQueryChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails) consume_Windows_UI_Xaml_Controls_ISearchBoxQueryChangedEventArgs<D>::LinguisticDetails() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxQueryChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBoxQuerySubmittedEventArgs<D>::QueryText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxQuerySubmittedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBoxQuerySubmittedEventArgs<D>::Language() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxQuerySubmittedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails) consume_Windows_UI_Xaml_Controls_ISearchBoxQuerySubmittedEventArgs<D>::LinguisticDetails() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxQuerySubmittedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_UI_Xaml_Controls_ISearchBoxQuerySubmittedEventArgs<D>::KeyModifiers() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxQuerySubmittedEventArgs<D>::KeyModifiers() const
{
winrt::Windows::System::VirtualKeyModifiers value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxQuerySubmittedEventArgs)->get_KeyModifiers(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBoxResultSuggestionChosenEventArgs<D>::Tag() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxResultSuggestionChosenEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_UI_Xaml_Controls_ISearchBoxResultSuggestionChosenEventArgs<D>::KeyModifiers() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxResultSuggestionChosenEventArgs<D>::KeyModifiers() const
{
winrt::Windows::System::VirtualKeyModifiers value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISearchBoxResultSuggestionChosenEventArgs)->get_KeyModifiers(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISearchBoxStatics<D>::SearchHistoryEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISearchBoxStatics<D>::SearchHistoryContextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISearchBoxStatics<D>::PlaceholderTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISearchBoxStatics<D>::QueryTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISearchBoxStatics<D>::FocusOnKeyboardInputProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISearchBoxStatics<D>::ChooseSuggestionOnEnterProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBoxSuggestionsRequestedEventArgs<D>::QueryText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxSuggestionsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISearchBoxSuggestionsRequestedEventArgs<D>::Language() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxSuggestionsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails) consume_Windows_UI_Xaml_Controls_ISearchBoxSuggestionsRequestedEventArgs<D>::LinguisticDetails() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxSuggestionsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchSuggestionsRequest) consume_Windows_UI_Xaml_Controls_ISearchBoxSuggestionsRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISearchBoxSuggestionsRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::HubSection>) consume_Windows_UI_Xaml_Controls_ISectionsInViewChangedEventArgs<D>::AddedSections() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISectionsInViewChangedEventArgs<D>::AddedSections() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISectionsInViewChangedEventArgs)->get_AddedSections(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::HubSection>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::HubSection>) consume_Windows_UI_Xaml_Controls_ISectionsInViewChangedEventArgs<D>::RemovedSections() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISectionsInViewChangedEventArgs<D>::RemovedSections() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISectionsInViewChangedEventArgs)->get_RemovedSections(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::HubSection>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_ISelectionChangedEventArgs<D>::AddedItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISelectionChangedEventArgs<D>::AddedItems() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISelectionChangedEventArgs)->get_AddedItems(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_ISelectionChangedEventArgs<D>::RemovedItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISelectionChangedEventArgs<D>::RemovedItems() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISelectionChangedEventArgs)->get_RemovedItems(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventArgs) consume_Windows_UI_Xaml_Controls_ISelectionChangedEventArgsFactory<D>::CreateInstanceWithRemovedItemsAndAddedItems(param::vector<winrt::Windows::Foundation::IInspectable> const& removedItems, param::vector<winrt::Windows::Foundation::IInspectable> const& addedItems, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISelectionChangedEventArgsFactory<D>::CreateInstanceWithRemovedItemsAndAddedItems(param::vector<winrt::Windows::Foundation::IInspectable> const& removedItems, param::vector<winrt::Windows::Foundation::IInspectable> 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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation) consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ZoomedInView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ZoomedInView(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation) consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ZoomedOutView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ZoomedOutView(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::IsZoomedInViewActive() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::IsZoomedInViewActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->get_IsZoomedInViewActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::IsZoomedInViewActive(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::IsZoomedInViewActive(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->put_IsZoomedInViewActive(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::CanChangeViews() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::CanChangeViews() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->get_CanChangeViews(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::CanChangeViews(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::CanChangeViews(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->put_CanChangeViews(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ViewChangeStarted(winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::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 D> typename consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ViewChangeStarted_revoker consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ViewChangeStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ViewChangeStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, ViewChangeStarted_revoker>(this, ViewChangeStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ViewChangeStarted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ViewChangeStarted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->remove_ViewChangeStarted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ViewChangeCompleted(winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::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 D> typename consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ViewChangeCompleted_revoker consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ViewChangeCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ViewChangeCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, ViewChangeCompleted_revoker>(this, ViewChangeCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ViewChangeCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ViewChangeCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->remove_ViewChangeCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ToggleActiveView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::ToggleActiveView() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->ToggleActiveView());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::IsZoomOutButtonEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::IsZoomOutButtonEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->get_IsZoomOutButtonEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::IsZoomOutButtonEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoom<D>::IsZoomOutButtonEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoom)->put_IsZoomOutButtonEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SemanticZoom) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::SemanticZoomOwner() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::SemanticZoomOwner(winrt::Windows::UI::Xaml::Controls::SemanticZoom const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::IsActiveView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::IsActiveView() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->get_IsActiveView(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::IsActiveView(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::IsActiveView(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->put_IsActiveView(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::IsZoomedInView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::IsZoomedInView() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->get_IsZoomedInView(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::IsZoomedInView(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::IsZoomedInView(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->put_IsZoomedInView(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::InitializeViewChange() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::InitializeViewChange() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->InitializeViewChange());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::CompleteViewChange() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::CompleteViewChange() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation)->CompleteViewChange());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::MakeVisible(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& item) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::StartViewChangeFrom(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::StartViewChangeTo(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::CompleteViewChangeFrom(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::CompleteViewChangeTo(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& destination) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ISemanticZoomLocation<D>::Item() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomLocation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomLocation<D>::Item(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomLocation<D>::Item(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomLocation)->put_Item(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_ISemanticZoomLocation<D>::Bounds() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomLocation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomLocation<D>::Bounds(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomLocation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics<D>::ZoomedInViewProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics<D>::ZoomedOutViewProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics<D>::IsZoomedInViewActiveProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics<D>::CanChangeViewsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics<D>::IsZoomOutButtonEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs<D>::IsSourceZoomedInView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs<D>::IsSourceZoomedInView() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomViewChangedEventArgs)->get_IsSourceZoomedInView(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs<D>::IsSourceZoomedInView(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs<D>::IsSourceZoomedInView(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISemanticZoomViewChangedEventArgs)->put_IsSourceZoomedInView(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation) consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs<D>::SourceItem() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs<D>::SourceItem(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation) consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs<D>::DestinationItem() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs<D>::DestinationItem(winrt::Windows::UI::Xaml::Controls::SemanticZoomLocation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::Title() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::HeaderBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::HeaderBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::HeaderForeground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::HeaderForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::IconSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::IconSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SettingsFlyoutTemplateSettings) consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::TemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::BackClick(winrt::Windows::UI::Xaml::Controls::BackClickEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::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 D> typename consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::BackClick_revoker consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::BackClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::BackClickEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::BackClick(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::BackClickEventHandler const& handler) const
{
return impl::make_event_revoker<D, BackClick_revoker>(this, BackClick(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::BackClick(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::BackClick(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->remove_BackClick(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::Show() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::Show() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->Show());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::ShowIndependent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::ShowIndependent() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->ShowIndependent());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::Hide() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyout<D>::Hide() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISettingsFlyout)->Hide());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SettingsFlyout) consume_Windows_UI_Xaml_Controls_ISettingsFlyoutFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyoutFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISettingsFlyoutStatics<D>::TitleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISettingsFlyoutStatics<D>::HeaderBackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISettingsFlyoutStatics<D>::HeaderForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISettingsFlyoutStatics<D>::IconSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISettingsFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ISlider<D>::IntermediateValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::IntermediateValue() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->get_IntermediateValue(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider<D>::IntermediateValue(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::IntermediateValue(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->put_IntermediateValue(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ISlider<D>::StepFrequency() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::StepFrequency() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->get_StepFrequency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider<D>::StepFrequency(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::StepFrequency(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->put_StepFrequency(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SliderSnapsTo) consume_Windows_UI_Xaml_Controls_ISlider<D>::SnapsTo() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider<D>::SnapsTo(winrt::Windows::UI::Xaml::Controls::Primitives::SliderSnapsTo const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ISlider<D>::TickFrequency() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::TickFrequency() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->get_TickFrequency(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider<D>::TickFrequency(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::TickFrequency(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->put_TickFrequency(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::TickPlacement) consume_Windows_UI_Xaml_Controls_ISlider<D>::TickPlacement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider<D>::TickPlacement(winrt::Windows::UI::Xaml::Controls::Primitives::TickPlacement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_ISlider<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::Orientation() const
{
winrt::Windows::UI::Xaml::Controls::Orientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider<D>::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISlider<D>::IsDirectionReversed() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::IsDirectionReversed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->get_IsDirectionReversed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider<D>::IsDirectionReversed(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::IsDirectionReversed(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->put_IsDirectionReversed(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISlider<D>::IsThumbToolTipEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::IsThumbToolTipEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->get_IsThumbToolTipEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider<D>::IsThumbToolTipEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::IsThumbToolTipEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider)->put_IsThumbToolTipEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::IValueConverter) consume_Windows_UI_Xaml_Controls_ISlider<D>::ThumbToolTipValueConverter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider<D>::ThumbToolTipValueConverter(winrt::Windows::UI::Xaml::Data::IValueConverter const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ISlider2<D>::Header() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider2<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider2<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISlider2)->put_Header(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_ISlider2<D>::HeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISlider2<D>::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISlider2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Slider) consume_Windows_UI_Xaml_Controls_ISliderFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISliderFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::IntermediateValueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::StepFrequencyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::SnapsToProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::TickFrequencyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::TickPlacementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::OrientationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::IsDirectionReversedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::IsThumbToolTipEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::ThumbToolTipValueConverterProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISliderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics2<D>::HeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISliderStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISliderStatics2<D>::HeaderTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISliderStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_ISplitButton<D>::Flyout() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitButton<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitButton<D>::Flyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitButton<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) consume_Windows_UI_Xaml_Controls_ISplitButton<D>::Command() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitButton<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitButton<D>::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitButton<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ISplitButton<D>::CommandParameter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitButton<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitButton<D>::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitButton<D>::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitButton)->put_CommandParameter(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISplitButton<D>::Click(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitButton, winrt::Windows::UI::Xaml::Controls::SplitButtonClickEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitButton<D>::Click(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitButton, winrt::Windows::UI::Xaml::Controls::SplitButtonClickEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ISplitButton<D>::Click_revoker consume_Windows_UI_Xaml_Controls_ISplitButton<D>::Click(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitButton, winrt::Windows::UI::Xaml::Controls::SplitButtonClickEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitButton<D>::Click(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitButton, winrt::Windows::UI::Xaml::Controls::SplitButtonClickEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Click_revoker>(this, Click(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitButton<D>::Click(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitButton<D>::Click(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitButton)->remove_Click(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SplitButtonAutomationPeer) consume_Windows_UI_Xaml_Controls_ISplitButtonAutomationPeerFactory<D>::CreateInstance(winrt::Windows::UI::Xaml::Controls::SplitButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitButtonAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SplitButton) consume_Windows_UI_Xaml_Controls_ISplitButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitButtonStatics<D>::FlyoutProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitButtonStatics<D>::CommandProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitButtonStatics<D>::CommandParameterProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitButtonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_ISplitView<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView<D>::Content(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_ISplitView<D>::Pane() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView<D>::Pane(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISplitView<D>::IsPaneOpen() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::IsPaneOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->get_IsPaneOpen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView<D>::IsPaneOpen(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::IsPaneOpen(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->put_IsPaneOpen(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ISplitView<D>::OpenPaneLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::OpenPaneLength() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->get_OpenPaneLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView<D>::OpenPaneLength(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::OpenPaneLength(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->put_OpenPaneLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ISplitView<D>::CompactPaneLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::CompactPaneLength() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->get_CompactPaneLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView<D>::CompactPaneLength(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::CompactPaneLength(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->put_CompactPaneLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SplitViewPanePlacement) consume_Windows_UI_Xaml_Controls_ISplitView<D>::PanePlacement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::PanePlacement() const
{
winrt::Windows::UI::Xaml::Controls::SplitViewPanePlacement value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->get_PanePlacement(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView<D>::PanePlacement(winrt::Windows::UI::Xaml::Controls::SplitViewPanePlacement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SplitViewDisplayMode) consume_Windows_UI_Xaml_Controls_ISplitView<D>::DisplayMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::DisplayMode() const
{
winrt::Windows::UI::Xaml::Controls::SplitViewDisplayMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->get_DisplayMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView<D>::DisplayMode(winrt::Windows::UI::Xaml::Controls::SplitViewDisplayMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::SplitViewTemplateSettings) consume_Windows_UI_Xaml_Controls_ISplitView<D>::TemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ISplitView<D>::PaneBackground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView<D>::PaneBackground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISplitView<D>::PaneClosing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::UI::Xaml::Controls::SplitViewPaneClosingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::PaneClosing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::UI::Xaml::Controls::SplitViewPaneClosingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ISplitView<D>::PaneClosing_revoker consume_Windows_UI_Xaml_Controls_ISplitView<D>::PaneClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::UI::Xaml::Controls::SplitViewPaneClosingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::PaneClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::UI::Xaml::Controls::SplitViewPaneClosingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PaneClosing_revoker>(this, PaneClosing(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView<D>::PaneClosing(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::PaneClosing(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->remove_PaneClosing(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISplitView<D>::PaneClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::PaneClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_ISplitView<D>::PaneClosed_revoker consume_Windows_UI_Xaml_Controls_ISplitView<D>::PaneClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::PaneClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, PaneClosed_revoker>(this, PaneClosed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView<D>::PaneClosed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView<D>::PaneClosed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView)->remove_PaneClosed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_ISplitView2<D>::LightDismissOverlayMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView2<D>::LightDismissOverlayMode() const
{
winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView2)->get_LightDismissOverlayMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView2<D>::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISplitView3<D>::PaneOpening(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView3<D>::PaneOpening(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_ISplitView3<D>::PaneOpening_revoker consume_Windows_UI_Xaml_Controls_ISplitView3<D>::PaneOpening(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView3<D>::PaneOpening(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, PaneOpening_revoker>(this, PaneOpening(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView3<D>::PaneOpening(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView3<D>::PaneOpening(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView3)->remove_PaneOpening(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISplitView3<D>::PaneOpened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView3<D>::PaneOpened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_ISplitView3<D>::PaneOpened_revoker consume_Windows_UI_Xaml_Controls_ISplitView3<D>::PaneOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView3<D>::PaneOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, PaneOpened_revoker>(this, PaneOpened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitView3<D>::PaneOpened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitView3<D>::PaneOpened(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitView3)->remove_PaneOpened(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SplitView) consume_Windows_UI_Xaml_Controls_ISplitViewFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitViewFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ISplitViewPaneClosingEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitViewPaneClosingEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitViewPaneClosingEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISplitViewPaneClosingEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitViewPaneClosingEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISplitViewPaneClosingEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::ContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::PaneProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::IsPaneOpenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::OpenPaneLengthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::CompactPaneLengthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::PanePlacementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::DisplayModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::TemplateSettingsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::PaneBackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISplitViewStatics2<D>::LightDismissOverlayModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISplitViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IStackPanel<D>::AreScrollSnapPointsRegular() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanel<D>::AreScrollSnapPointsRegular() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel)->get_AreScrollSnapPointsRegular(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IStackPanel<D>::AreScrollSnapPointsRegular(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanel<D>::AreScrollSnapPointsRegular(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel)->put_AreScrollSnapPointsRegular(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IStackPanel<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanel<D>::Orientation() const
{
winrt::Windows::UI::Xaml::Controls::Orientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IStackPanel<D>::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanel<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_IStackPanel2<D>::BorderBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanel2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IStackPanel2<D>::BorderBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanel2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IStackPanel2<D>::BorderThickness() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanel2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IStackPanel2<D>::BorderThickness(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanel2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_Controls_IStackPanel2<D>::CornerRadius() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanel2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IStackPanel2<D>::CornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanel2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_IStackPanel2<D>::Padding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanel2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IStackPanel2<D>::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanel2<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IStackPanel4<D>::Spacing() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanel4<D>::Spacing() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel4)->get_Spacing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IStackPanel4<D>::Spacing(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanel4<D>::Spacing(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel4)->put_Spacing(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::BackgroundSizing) consume_Windows_UI_Xaml_Controls_IStackPanel5<D>::BackgroundSizing() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanel5<D>::BackgroundSizing() const
{
winrt::Windows::UI::Xaml::Controls::BackgroundSizing value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IStackPanel5)->get_BackgroundSizing(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IStackPanel5<D>::BackgroundSizing(winrt::Windows::UI::Xaml::Controls::BackgroundSizing const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanel5<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StackPanel) consume_Windows_UI_Xaml_Controls_IStackPanelFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanelFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IStackPanelStatics<D>::AreScrollSnapPointsRegularProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IStackPanelStatics<D>::OrientationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IStackPanelStatics2<D>::BorderBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanelStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IStackPanelStatics2<D>::BorderThicknessProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanelStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IStackPanelStatics2<D>::CornerRadiusProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanelStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IStackPanelStatics2<D>::PaddingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanelStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IStackPanelStatics4<D>::SpacingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanelStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IStackPanelStatics5<D>::BackgroundSizingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStackPanelStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IStyleSelector<D>::SelectStyle(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStyleSelector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StyleSelector) consume_Windows_UI_Xaml_Controls_IStyleSelectorFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStyleSelectorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_IStyleSelectorOverrides<D>::SelectStyleCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IStyleSelectorOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreIndependentInputSource) consume_Windows_UI_Xaml_Controls_ISwapChainBackgroundPanel2<D>::CreateCoreIndependentInputSource(winrt::Windows::UI::Core::CoreInputDeviceTypes const& deviceTypes) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwapChainBackgroundPanel2<D>::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<uint32_t>(deviceTypes), &result));
return winrt::Windows::UI::Core::CoreIndependentInputSource{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwapChainBackgroundPanel) consume_Windows_UI_Xaml_Controls_ISwapChainBackgroundPanelFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwapChainBackgroundPanelFactory<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_Controls_ISwapChainPanel<D>::CompositionScaleX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwapChainPanel<D>::CompositionScaleX() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwapChainPanel)->get_CompositionScaleX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_Controls_ISwapChainPanel<D>::CompositionScaleY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwapChainPanel<D>::CompositionScaleY() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwapChainPanel)->get_CompositionScaleY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISwapChainPanel<D>::CompositionScaleChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SwapChainPanel, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwapChainPanel<D>::CompositionScaleChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SwapChainPanel, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_ISwapChainPanel<D>::CompositionScaleChanged_revoker consume_Windows_UI_Xaml_Controls_ISwapChainPanel<D>::CompositionScaleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SwapChainPanel, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwapChainPanel<D>::CompositionScaleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SwapChainPanel, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, CompositionScaleChanged_revoker>(this, CompositionScaleChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwapChainPanel<D>::CompositionScaleChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwapChainPanel<D>::CompositionScaleChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwapChainPanel)->remove_CompositionScaleChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreIndependentInputSource) consume_Windows_UI_Xaml_Controls_ISwapChainPanel<D>::CreateCoreIndependentInputSource(winrt::Windows::UI::Core::CoreInputDeviceTypes const& deviceTypes) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwapChainPanel<D>::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<uint32_t>(deviceTypes), &result));
return winrt::Windows::UI::Core::CoreIndependentInputSource{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwapChainPanel) consume_Windows_UI_Xaml_Controls_ISwapChainPanelFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwapChainPanelFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwapChainPanelStatics<D>::CompositionScaleXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwapChainPanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwapChainPanelStatics<D>::CompositionScaleYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwapChainPanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItems) consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::LeftItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::LeftItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItems) consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::RightItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::RightItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItems) consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::TopItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::TopItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItems) consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::BottomItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::BottomItems(winrt::Windows::UI::Xaml::Controls::SwipeItems const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::Close() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeControl<D>::Close() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeControl)->Close());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeControl) consume_Windows_UI_Xaml_Controls_ISwipeControlFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeControlFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeControlStatics<D>::LeftItemsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeControlStatics<D>::RightItemsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeControlStatics<D>::TopItemsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeControlStatics<D>::BottomItemsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::Text() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconSource) consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::IconSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::IconSource(winrt::Windows::UI::Xaml::Controls::IconSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::Background() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::Foreground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::Command() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::CommandParameter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->put_CommandParameter(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeBehaviorOnInvoked) consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::BehaviorOnInvoked() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::BehaviorOnInvoked() const
{
winrt::Windows::UI::Xaml::Controls::SwipeBehaviorOnInvoked value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->get_BehaviorOnInvoked(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::BehaviorOnInvoked(winrt::Windows::UI::Xaml::Controls::SwipeBehaviorOnInvoked const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::Invoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SwipeItem, winrt::Windows::UI::Xaml::Controls::SwipeItemInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::Invoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SwipeItem, winrt::Windows::UI::Xaml::Controls::SwipeItemInvokedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::Invoked_revoker consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SwipeItem, winrt::Windows::UI::Xaml::Controls::SwipeItemInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SwipeItem, winrt::Windows::UI::Xaml::Controls::SwipeItemInvokedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Invoked_revoker>(this, Invoked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::Invoked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItem<D>::Invoked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItem)->remove_Invoked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItem) consume_Windows_UI_Xaml_Controls_ISwipeItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeControl) consume_Windows_UI_Xaml_Controls_ISwipeItemInvokedEventArgs<D>::SwipeControl() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItemInvokedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeItemStatics<D>::IconSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeItemStatics<D>::TextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeItemStatics<D>::BackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeItemStatics<D>::ForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeItemStatics<D>::CommandProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeItemStatics<D>::CommandParameterProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeItemStatics<D>::BehaviorOnInvokedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeMode) consume_Windows_UI_Xaml_Controls_ISwipeItems<D>::Mode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItems<D>::Mode() const
{
winrt::Windows::UI::Xaml::Controls::SwipeMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISwipeItems)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISwipeItems<D>::Mode(winrt::Windows::UI::Xaml::Controls::SwipeMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItems<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SwipeItems) consume_Windows_UI_Xaml_Controls_ISwipeItemsFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItemsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISwipeItemsStatics<D>::ModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISwipeItemsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Symbol) consume_Windows_UI_Xaml_Controls_ISymbolIcon<D>::Symbol() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISymbolIcon<D>::Symbol() const
{
winrt::Windows::UI::Xaml::Controls::Symbol value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISymbolIcon)->get_Symbol(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISymbolIcon<D>::Symbol(winrt::Windows::UI::Xaml::Controls::Symbol const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISymbolIcon<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SymbolIcon) consume_Windows_UI_Xaml_Controls_ISymbolIconFactory<D>::CreateInstanceWithSymbol(winrt::Windows::UI::Xaml::Controls::Symbol const& symbol) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISymbolIconFactory<D>::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<int32_t>(symbol), &value));
return winrt::Windows::UI::Xaml::Controls::SymbolIcon{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Symbol) consume_Windows_UI_Xaml_Controls_ISymbolIconSource<D>::Symbol() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISymbolIconSource<D>::Symbol() const
{
winrt::Windows::UI::Xaml::Controls::Symbol value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ISymbolIconSource)->get_Symbol(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ISymbolIconSource<D>::Symbol(winrt::Windows::UI::Xaml::Controls::Symbol const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISymbolIconSource<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SymbolIconSource) consume_Windows_UI_Xaml_Controls_ISymbolIconSourceFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISymbolIconSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISymbolIconSourceStatics<D>::SymbolProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISymbolIconSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ISymbolIconStatics<D>::SymbolProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ISymbolIconStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::FontSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::FontSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_FontSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::FontSize(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::FontSize(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_FontSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::FontFamily() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::FontWeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::FontStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::FontStyle() const
{
winrt::Windows::UI::Text::FontStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_FontStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_FontStyle(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::FontStretch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::FontStretch() const
{
winrt::Windows::UI::Text::FontStretch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_FontStretch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_FontStretch(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::CharacterSpacing() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::CharacterSpacing() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_CharacterSpacing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::CharacterSpacing(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::CharacterSpacing(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_CharacterSpacing(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::Foreground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextWrapping) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::TextWrapping() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::TextWrapping() const
{
winrt::Windows::UI::Xaml::TextWrapping value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_TextWrapping(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_TextWrapping(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextTrimming) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::TextTrimming() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::TextTrimming() const
{
winrt::Windows::UI::Xaml::TextTrimming value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_TextTrimming(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::TextTrimming(winrt::Windows::UI::Xaml::TextTrimming const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::TextTrimming(winrt::Windows::UI::Xaml::TextTrimming const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_TextTrimming(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::TextAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::TextAlignment() const
{
winrt::Windows::UI::Xaml::TextAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_TextAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_TextAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::Text() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::InlineCollection) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::Inlines() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::Padding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::Padding(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::LineHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::LineHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_LineHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::LineHeight(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::LineHeight(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_LineHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::LineStackingStrategy) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::LineStackingStrategy() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::LineStackingStrategy() const
{
winrt::Windows::UI::Xaml::LineStackingStrategy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_LineStackingStrategy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_LineStackingStrategy(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::IsTextSelectionEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::IsTextSelectionEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_IsTextSelectionEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::IsTextSelectionEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::IsTextSelectionEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->put_IsTextSelectionEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::SelectedText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::ContentStart() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::ContentEnd() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::SelectionStart() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::SelectionEnd() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::BaselineOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::BaselineOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->get_BaselineOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 D> typename consume_Windows_UI_Xaml_Controls_ITextBlock<D>::SelectionChanged_revoker consume_Windows_UI_Xaml_Controls_ITextBlock<D>::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, SelectionChanged_revoker>(this, SelectionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::SelectionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::SelectionChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->remove_SelectionChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 D> typename consume_Windows_UI_Xaml_Controls_ITextBlock<D>::ContextMenuOpening_revoker consume_Windows_UI_Xaml_Controls_ITextBlock<D>::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const
{
return impl::make_event_revoker<D, ContextMenuOpening_revoker>(this, ContextMenuOpening(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::ContextMenuOpening(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::ContextMenuOpening(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->remove_ContextMenuOpening(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::SelectAll() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::SelectAll() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock)->SelectAll());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::Select(winrt::Windows::UI::Xaml::Documents::TextPointer const& start, winrt::Windows::UI::Xaml::Documents::TextPointer const& end) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBlock<D>::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock<D>::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<int32_t>(value), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::SelectionHighlightColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::MaxLines() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::MaxLines() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->get_MaxLines(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::MaxLines(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::MaxLines(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->put_MaxLines(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextLineBounds) consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::TextLineBounds() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::TextLineBounds() const
{
winrt::Windows::UI::Xaml::TextLineBounds value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->get_TextLineBounds(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::TextLineBounds(winrt::Windows::UI::Xaml::TextLineBounds const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->put_TextLineBounds(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::OpticalMarginAlignment) consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::OpticalMarginAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::OpticalMarginAlignment() const
{
winrt::Windows::UI::Xaml::OpticalMarginAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->get_OpticalMarginAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::OpticalMarginAlignment(winrt::Windows::UI::Xaml::OpticalMarginAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->put_OpticalMarginAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::IsColorFontEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::IsColorFontEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->get_IsColorFontEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::IsColorFontEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::IsColorFontEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->put_IsColorFontEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextReadingOrder) consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::TextReadingOrder() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::TextReadingOrder() const
{
winrt::Windows::UI::Xaml::TextReadingOrder value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->get_TextReadingOrder(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock2<D>::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock2)->put_TextReadingOrder(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBlock3<D>::IsTextScaleFactorEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock3<D>::IsTextScaleFactorEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock3)->get_IsTextScaleFactorEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock3<D>::IsTextScaleFactorEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock3<D>::IsTextScaleFactorEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock3)->put_IsTextScaleFactorEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Xaml_Controls_ITextBlock4<D>::GetAlphaMask() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::TextDecorations) consume_Windows_UI_Xaml_Controls_ITextBlock5<D>::TextDecorations() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock5<D>::TextDecorations() const
{
winrt::Windows::UI::Text::TextDecorations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock5)->get_TextDecorations(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock5<D>::TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock5<D>::TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock5)->put_TextDecorations(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBlock6<D>::IsTextTrimmed() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock6<D>::IsTextTrimmed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock6)->get_IsTextTrimmed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Controls_ITextBlock6<D>::HorizontalTextAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock6<D>::HorizontalTextAlignment() const
{
winrt::Windows::UI::Xaml::TextAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock6)->get_HorizontalTextAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock6<D>::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock6<D>::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock6)->put_HorizontalTextAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Documents::TextHighlighter>) consume_Windows_UI_Xaml_Controls_ITextBlock6<D>::TextHighlighters() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock6<D>::TextHighlighters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock6)->get_TextHighlighters(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Documents::TextHighlighter>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBlock6<D>::IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBlock, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock6<D>::IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBlock, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITextBlock6<D>::IsTextTrimmedChanged_revoker consume_Windows_UI_Xaml_Controls_ITextBlock6<D>::IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBlock, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock6<D>::IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBlock, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, IsTextTrimmedChanged_revoker>(this, IsTextTrimmedChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock6<D>::IsTextTrimmedChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock6<D>::IsTextTrimmedChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock6)->remove_IsTextTrimmedChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_ITextBlock7<D>::SelectionFlyout() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock7<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock7<D>::SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock7<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBlock7<D>::CopySelectionToClipboard() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlock7<D>::CopySelectionToClipboard() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBlock7)->CopySelectionToClipboard());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::FontSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::FontFamilyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::FontWeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::FontStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::FontStretchProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::CharacterSpacingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::ForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::TextWrappingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::TextTrimmingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::TextAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::TextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::PaddingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::LineHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::LineStackingStrategyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::IsTextSelectionEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::SelectedTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics2<D>::SelectionHighlightColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics2<D>::MaxLinesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics2<D>::TextLineBoundsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics2<D>::OpticalMarginAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics2<D>::IsColorFontEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics2<D>::TextReadingOrderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics3<D>::IsTextScaleFactorEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics5<D>::TextDecorationsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics6<D>::IsTextTrimmedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics6<D>::HorizontalTextAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBlockStatics7<D>::SelectionFlyoutProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBlockStatics7<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITextBox<D>::Text() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectedText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectedText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectedText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_SelectedText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectionLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectionLength() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_SelectionLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectionLength(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectionLength(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_SelectionLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectionStart() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectionStart() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_SelectionStart(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectionStart(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectionStart(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_SelectionStart(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextBox<D>::MaxLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::MaxLength() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_MaxLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox<D>::MaxLength(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::MaxLength(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_MaxLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox<D>::IsReadOnly() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::IsReadOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_IsReadOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox<D>::IsReadOnly(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::IsReadOnly(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_IsReadOnly(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox<D>::AcceptsReturn() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::AcceptsReturn() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_AcceptsReturn(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox<D>::AcceptsReturn(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::AcceptsReturn(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_AcceptsReturn(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Controls_ITextBox<D>::TextAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::TextAlignment() const
{
winrt::Windows::UI::Xaml::TextAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_TextAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox<D>::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_TextAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextWrapping) consume_Windows_UI_Xaml_Controls_ITextBox<D>::TextWrapping() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::TextWrapping() const
{
winrt::Windows::UI::Xaml::TextWrapping value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_TextWrapping(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox<D>::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::TextWrapping(winrt::Windows::UI::Xaml::TextWrapping const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_TextWrapping(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox<D>::IsSpellCheckEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::IsSpellCheckEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_IsSpellCheckEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox<D>::IsSpellCheckEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::IsSpellCheckEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_IsSpellCheckEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox<D>::IsTextPredictionEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::IsTextPredictionEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->get_IsTextPredictionEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox<D>::IsTextPredictionEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::IsTextPredictionEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->put_IsTextPredictionEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InputScope) consume_Windows_UI_Xaml_Controls_ITextBox<D>::InputScope() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox<D>::InputScope(winrt::Windows::UI::Xaml::Input::InputScope const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox<D>::TextChanged(winrt::Windows::UI::Xaml::Controls::TextChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::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 D> typename consume_Windows_UI_Xaml_Controls_ITextBox<D>::TextChanged_revoker consume_Windows_UI_Xaml_Controls_ITextBox<D>::TextChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::TextChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, TextChanged_revoker>(this, TextChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox<D>::TextChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::TextChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->remove_TextChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectionChanged(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::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 D> typename consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectionChanged_revoker consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, SelectionChanged_revoker>(this, SelectionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectionChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->remove_SelectionChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox<D>::ContextMenuOpening(winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::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 D> typename consume_Windows_UI_Xaml_Controls_ITextBox<D>::ContextMenuOpening_revoker consume_Windows_UI_Xaml_Controls_ITextBox<D>::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::ContextMenuOpening(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const
{
return impl::make_event_revoker<D, ContextMenuOpening_revoker>(this, ContextMenuOpening(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox<D>::ContextMenuOpening(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::ContextMenuOpening(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->remove_ContextMenuOpening(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox<D>::Select(int32_t start, int32_t length) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::Select(int32_t start, int32_t length) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->Select(start, length));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectAll() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::SelectAll() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox)->SelectAll());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Controls_ITextBox<D>::GetRectFromCharacterIndex(int32_t charIndex, bool trailingEdge) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITextBox2<D>::Header() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox2<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox2<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->put_Header(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_ITextBox2<D>::HeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox2<D>::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox2<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITextBox2<D>::PlaceholderText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox2<D>::PlaceholderText(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox2<D>::PlaceholderText(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->put_PlaceholderText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_ITextBox2<D>::SelectionHighlightColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox2<D>::SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox2<D>::PreventKeyboardDisplayOnProgrammaticFocus() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox2<D>::PreventKeyboardDisplayOnProgrammaticFocus() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->get_PreventKeyboardDisplayOnProgrammaticFocus(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox2<D>::PreventKeyboardDisplayOnProgrammaticFocus(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox2<D>::PreventKeyboardDisplayOnProgrammaticFocus(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->put_PreventKeyboardDisplayOnProgrammaticFocus(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox2<D>::IsColorFontEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox2<D>::IsColorFontEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->get_IsColorFontEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox2<D>::IsColorFontEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox2<D>::IsColorFontEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->put_IsColorFontEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox2<D>::Paste(winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox2<D>::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 D> typename consume_Windows_UI_Xaml_Controls_ITextBox2<D>::Paste_revoker consume_Windows_UI_Xaml_Controls_ITextBox2<D>::Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox2<D>::Paste(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const
{
return impl::make_event_revoker<D, Paste_revoker>(this, Paste(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox2<D>::Paste(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox2<D>::Paste(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox2)->remove_Paste(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionStarted_revoker consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TextCompositionStarted_revoker>(this, TextCompositionStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionStarted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionStarted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->remove_TextCompositionStarted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionChanged_revoker consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TextCompositionChanged_revoker>(this, TextCompositionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->remove_TextCompositionChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionEnded_revoker consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TextCompositionEnded_revoker>(this, TextCompositionEnded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionEnded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextCompositionEnded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->remove_TextCompositionEnded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextReadingOrder) consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextReadingOrder() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextReadingOrder() const
{
winrt::Windows::UI::Xaml::TextReadingOrder value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->get_TextReadingOrder(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->put_TextReadingOrder(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment) consume_Windows_UI_Xaml_Controls_ITextBox3<D>::DesiredCandidateWindowAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::DesiredCandidateWindowAlignment() const
{
winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->get_DesiredCandidateWindowAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox3<D>::DesiredCandidateWindowAlignment(winrt::Windows::UI::Xaml::Controls::CandidateWindowAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox3<D>::CandidateWindowBoundsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::CandidateWindowBoundsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITextBox3<D>::CandidateWindowBoundsChanged_revoker consume_Windows_UI_Xaml_Controls_ITextBox3<D>::CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CandidateWindowBoundsChanged_revoker>(this, CandidateWindowBoundsChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox3<D>::CandidateWindowBoundsChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::CandidateWindowBoundsChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->remove_CandidateWindowBoundsChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxTextChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxTextChangingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextChanging_revoker consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxTextChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxTextChangingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TextChanging_revoker>(this, TextChanging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextChanging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox3<D>::TextChanging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox3)->remove_TextChanging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) consume_Windows_UI_Xaml_Controls_ITextBox4<D>::GetLinguisticAlternativesAsync() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox4<D>::GetLinguisticAlternativesAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox4)->GetLinguisticAlternativesAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Controls_ITextBox5<D>::SelectionHighlightColorWhenNotFocused() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox5<D>::SelectionHighlightColorWhenNotFocused(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Controls_ITextBox6<D>::HorizontalTextAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox6<D>::HorizontalTextAlignment() const
{
winrt::Windows::UI::Xaml::TextAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->get_HorizontalTextAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox6<D>::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox6<D>::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->put_HorizontalTextAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::CharacterCasing) consume_Windows_UI_Xaml_Controls_ITextBox6<D>::CharacterCasing() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox6<D>::CharacterCasing() const
{
winrt::Windows::UI::Xaml::Controls::CharacterCasing value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->get_CharacterCasing(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox6<D>::CharacterCasing(winrt::Windows::UI::Xaml::Controls::CharacterCasing const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox6<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ITextBox6<D>::PlaceholderForeground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox6<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox6<D>::PlaceholderForeground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox6<D>::CopyingToClipboard(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox6<D>::CopyingToClipboard(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITextBox6<D>::CopyingToClipboard_revoker consume_Windows_UI_Xaml_Controls_ITextBox6<D>::CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox6<D>::CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CopyingToClipboard_revoker>(this, CopyingToClipboard(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox6<D>::CopyingToClipboard(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox6<D>::CopyingToClipboard(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->remove_CopyingToClipboard(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox6<D>::CuttingToClipboard(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox6<D>::CuttingToClipboard(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITextBox6<D>::CuttingToClipboard_revoker consume_Windows_UI_Xaml_Controls_ITextBox6<D>::CuttingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox6<D>::CuttingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CuttingToClipboard_revoker>(this, CuttingToClipboard(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox6<D>::CuttingToClipboard(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox6<D>::CuttingToClipboard(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->remove_CuttingToClipboard(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox6<D>::BeforeTextChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxBeforeTextChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox6<D>::BeforeTextChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxBeforeTextChangingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITextBox6<D>::BeforeTextChanging_revoker consume_Windows_UI_Xaml_Controls_ITextBox6<D>::BeforeTextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxBeforeTextChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox6<D>::BeforeTextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxBeforeTextChangingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, BeforeTextChanging_revoker>(this, BeforeTextChanging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox6<D>::BeforeTextChanging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox6<D>::BeforeTextChanging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox6)->remove_BeforeTextChanging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::HandwritingView) consume_Windows_UI_Xaml_Controls_ITextBox7<D>::HandwritingView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox7<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox7<D>::HandwritingView(winrt::Windows::UI::Xaml::Controls::HandwritingView const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox7<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox7<D>::IsHandwritingViewEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox7<D>::IsHandwritingViewEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox7)->get_IsHandwritingViewEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox7<D>::IsHandwritingViewEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox7<D>::IsHandwritingViewEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox7)->put_IsHandwritingViewEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox8<D>::CanPasteClipboardContent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox8<D>::CanPasteClipboardContent() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->get_CanPasteClipboardContent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox8<D>::CanUndo() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox8<D>::CanUndo() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->get_CanUndo(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBox8<D>::CanRedo() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox8<D>::CanRedo() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->get_CanRedo(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_ITextBox8<D>::SelectionFlyout() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox8<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8<D>::SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_Controls_ITextBox8<D>::ProofingMenuFlyout() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITextBox8<D>::Description() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox8<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8<D>::Description(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox8<D>::Description(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITextBox8<D>::SelectionChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxSelectionChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox8<D>::SelectionChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxSelectionChangingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITextBox8<D>::SelectionChanging_revoker consume_Windows_UI_Xaml_Controls_ITextBox8<D>::SelectionChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxSelectionChangingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox8<D>::SelectionChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxSelectionChangingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SelectionChanging_revoker>(this, SelectionChanging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8<D>::SelectionChanging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox8<D>::SelectionChanging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->remove_SelectionChanging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8<D>::Undo() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox8<D>::Undo() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->Undo());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8<D>::Redo() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox8<D>::Redo() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->Redo());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8<D>::PasteFromClipboard() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox8<D>::PasteFromClipboard() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->PasteFromClipboard());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8<D>::CopySelectionToClipboard() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox8<D>::CopySelectionToClipboard() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->CopySelectionToClipboard());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8<D>::CutSelectionToClipboard() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox8<D>::CutSelectionToClipboard() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->CutSelectionToClipboard());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBox8<D>::ClearUndoRedoHistory() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBox8<D>::ClearUndoRedoHistory() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBox8)->ClearUndoRedoHistory());
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITextBoxBeforeTextChangingEventArgs<D>::NewText() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxBeforeTextChangingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBoxBeforeTextChangingEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxBeforeTextChangingEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxBeforeTextChangingEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBoxBeforeTextChangingEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxBeforeTextChangingEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxBeforeTextChangingEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TextBox) consume_Windows_UI_Xaml_Controls_ITextBoxFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxFactory<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs<D>::SelectionStart() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs<D>::SelectionStart() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxSelectionChangingEventArgs)->get_SelectionStart(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs<D>::SelectionLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs<D>::SelectionLength() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxSelectionChangingEventArgs)->get_SelectionLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxSelectionChangingEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxSelectionChangingEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::TextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::MaxLengthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::IsReadOnlyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::AcceptsReturnProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::TextAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::TextWrappingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::IsSpellCheckEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::IsTextPredictionEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::InputScopeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics2<D>::HeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics2<D>::HeaderTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics2<D>::PlaceholderTextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics2<D>::SelectionHighlightColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics2<D>::PreventKeyboardDisplayOnProgrammaticFocusProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics2<D>::IsColorFontEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics3<D>::DesiredCandidateWindowAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics3<D>::TextReadingOrderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics5<D>::SelectionHighlightColorWhenNotFocusedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics6<D>::HorizontalTextAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics6<D>::CharacterCasingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics6<D>::PlaceholderForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics7<D>::HandwritingViewProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics7<D>::IsHandwritingViewEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics8<D>::CanPasteClipboardContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics8<D>::CanUndoProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics8<D>::CanRedoProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics8<D>::SelectionFlyoutProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics8<D>::ProofingMenuFlyoutProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITextBoxStatics8<D>::DescriptionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextBoxTextChangingEventArgs2<D>::IsContentChanging() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextBoxTextChangingEventArgs2<D>::IsContentChanging() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextBoxTextChangingEventArgs2)->get_IsContentChanging(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TextCommandBarFlyout) consume_Windows_UI_Xaml_Controls_ITextCommandBarFlyoutFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextCommandBarFlyoutFactory<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextCompositionChangedEventArgs<D>::StartIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextCompositionChangedEventArgs<D>::StartIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextCompositionChangedEventArgs)->get_StartIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextCompositionChangedEventArgs<D>::Length() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextCompositionChangedEventArgs<D>::Length() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextCompositionChangedEventArgs)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextCompositionEndedEventArgs<D>::StartIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextCompositionEndedEventArgs<D>::StartIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextCompositionEndedEventArgs)->get_StartIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextCompositionEndedEventArgs<D>::Length() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextCompositionEndedEventArgs<D>::Length() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextCompositionEndedEventArgs)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextCompositionStartedEventArgs<D>::StartIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextCompositionStartedEventArgs<D>::StartIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextCompositionStartedEventArgs)->get_StartIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITextCompositionStartedEventArgs<D>::Length() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextCompositionStartedEventArgs<D>::Length() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextCompositionStartedEventArgs)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextControlCopyingToClipboardEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextControlCopyingToClipboardEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextControlCopyingToClipboardEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextControlCopyingToClipboardEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextControlCopyingToClipboardEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextControlCopyingToClipboardEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextControlCuttingToClipboardEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextControlCuttingToClipboardEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextControlCuttingToClipboardEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextControlCuttingToClipboardEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextControlCuttingToClipboardEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextControlCuttingToClipboardEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITextControlPasteEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextControlPasteEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextControlPasteEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITextControlPasteEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITextControlPasteEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITextControlPasteEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_ITimePickedEventArgs<D>::OldTime() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_ITimePickedEventArgs<D>::NewTime() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITimePicker<D>::Header() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker)->put_Header(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_ITimePicker<D>::HeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker<D>::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITimePicker<D>::ClockIdentifier() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker<D>::ClockIdentifier(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker<D>::ClockIdentifier(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker)->put_ClockIdentifier(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITimePicker<D>::MinuteIncrement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker<D>::MinuteIncrement() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker)->get_MinuteIncrement(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker<D>::MinuteIncrement(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker<D>::MinuteIncrement(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker)->put_MinuteIncrement(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_ITimePicker<D>::Time() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker<D>::Time(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITimePicker<D>::TimeChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::TimePickerValueChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker<D>::TimeChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::TimePickerValueChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITimePicker<D>::TimeChanged_revoker consume_Windows_UI_Xaml_Controls_ITimePicker<D>::TimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::TimePickerValueChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker<D>::TimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::TimePickerValueChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TimeChanged_revoker>(this, TimeChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker<D>::TimeChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker<D>::TimeChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker)->remove_TimeChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode) consume_Windows_UI_Xaml_Controls_ITimePicker2<D>::LightDismissOverlayMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker2<D>::LightDismissOverlayMode() const
{
winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker2)->get_LightDismissOverlayMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker2<D>::LightDismissOverlayMode(winrt::Windows::UI::Xaml::Controls::LightDismissOverlayMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_UI_Xaml_Controls_ITimePicker3<D>::SelectedTime() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker3<D>::SelectedTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker3)->get_SelectedTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker3<D>::SelectedTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker3<D>::SelectedTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker3)->put_SelectedTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITimePicker3<D>::SelectedTimeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TimePicker, winrt::Windows::UI::Xaml::Controls::TimePickerSelectedValueChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker3<D>::SelectedTimeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TimePicker, winrt::Windows::UI::Xaml::Controls::TimePickerSelectedValueChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITimePicker3<D>::SelectedTimeChanged_revoker consume_Windows_UI_Xaml_Controls_ITimePicker3<D>::SelectedTimeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TimePicker, winrt::Windows::UI::Xaml::Controls::TimePickerSelectedValueChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker3<D>::SelectedTimeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TimePicker, winrt::Windows::UI::Xaml::Controls::TimePickerSelectedValueChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SelectedTimeChanged_revoker>(this, SelectedTimeChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePicker3<D>::SelectedTimeChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePicker3<D>::SelectedTimeChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePicker3)->remove_SelectedTimeChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TimePicker) consume_Windows_UI_Xaml_Controls_ITimePickerFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::ClockIdentifier() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::ClockIdentifier(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::ClockIdentifier(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyout)->put_ClockIdentifier(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::Time() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::Time(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::MinuteIncrement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::MinuteIncrement() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyout)->get_MinuteIncrement(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::MinuteIncrement(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::MinuteIncrement(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyout)->put_MinuteIncrement(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::TimePicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TimePickerFlyout, winrt::Windows::UI::Xaml::Controls::TimePickedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::TimePicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TimePickerFlyout, winrt::Windows::UI::Xaml::Controls::TimePickedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::TimePicked_revoker consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::TimePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TimePickerFlyout, winrt::Windows::UI::Xaml::Controls::TimePickedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::TimePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TimePickerFlyout, winrt::Windows::UI::Xaml::Controls::TimePickedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TimePicked_revoker>(this, TimePicked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::TimePicked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::TimePicked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyout)->remove_TimePicked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>>) consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyout<D>::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<winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutPresenter2<D>::IsDefaultShadowEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutPresenter2<D>::IsDefaultShadowEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyoutPresenter2)->get_IsDefaultShadowEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutPresenter2<D>::IsDefaultShadowEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutPresenter2<D>::IsDefaultShadowEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerFlyoutPresenter2)->put_IsDefaultShadowEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutPresenterStatics2<D>::IsDefaultShadowEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutPresenterStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutStatics<D>::ClockIdentifierProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutStatics<D>::TimeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutStatics<D>::MinuteIncrementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerFlyoutStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_UI_Xaml_Controls_ITimePickerSelectedValueChangedEventArgs<D>::OldTime() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerSelectedValueChangedEventArgs<D>::OldTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerSelectedValueChangedEventArgs)->get_OldTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_UI_Xaml_Controls_ITimePickerSelectedValueChangedEventArgs<D>::NewTime() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerSelectedValueChangedEventArgs<D>::NewTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITimePickerSelectedValueChangedEventArgs)->get_NewTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerStatics<D>::HeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerStatics<D>::HeaderTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerStatics<D>::ClockIdentifierProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerStatics<D>::MinuteIncrementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerStatics<D>::TimeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerStatics2<D>::LightDismissOverlayModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITimePickerStatics3<D>::SelectedTimeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_ITimePickerValueChangedEventArgs<D>::OldTime() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerValueChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_ITimePickerValueChangedEventArgs<D>::NewTime() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITimePickerValueChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItem<D>::IsChecked() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItem<D>::IsChecked() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleMenuFlyoutItem)->get_IsChecked(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItem<D>::IsChecked(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItem<D>::IsChecked(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleMenuFlyoutItem)->put_IsChecked(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ToggleMenuFlyoutItem) consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItemStatics<D>::IsCheckedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleMenuFlyoutItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IToggleSplitButton<D>::IsChecked() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSplitButton<D>::IsChecked() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSplitButton)->get_IsChecked(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSplitButton<D>::IsChecked(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSplitButton<D>::IsChecked(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSplitButton)->put_IsChecked(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IToggleSplitButton<D>::IsCheckedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ToggleSplitButton, winrt::Windows::UI::Xaml::Controls::ToggleSplitButtonIsCheckedChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSplitButton<D>::IsCheckedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ToggleSplitButton, winrt::Windows::UI::Xaml::Controls::ToggleSplitButtonIsCheckedChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IToggleSplitButton<D>::IsCheckedChanged_revoker consume_Windows_UI_Xaml_Controls_IToggleSplitButton<D>::IsCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ToggleSplitButton, winrt::Windows::UI::Xaml::Controls::ToggleSplitButtonIsCheckedChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSplitButton<D>::IsCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ToggleSplitButton, winrt::Windows::UI::Xaml::Controls::ToggleSplitButtonIsCheckedChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, IsCheckedChanged_revoker>(this, IsCheckedChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSplitButton<D>::IsCheckedChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSplitButton<D>::IsCheckedChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSplitButton)->remove_IsCheckedChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ToggleSplitButtonAutomationPeer) consume_Windows_UI_Xaml_Controls_IToggleSplitButtonAutomationPeerFactory<D>::CreateInstance(winrt::Windows::UI::Xaml::Controls::ToggleSplitButton const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSplitButtonAutomationPeerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ToggleSplitButton) consume_Windows_UI_Xaml_Controls_IToggleSplitButtonFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSplitButtonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::IsOn() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::IsOn() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->get_IsOn(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::IsOn(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::IsOn(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->put_IsOn(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::Header() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::Header(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->put_Header(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::HeaderTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::OnContent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::OnContent(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::OnContent(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->put_OnContent(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::OnContentTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::OnContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::OffContent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::OffContent(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::OffContent(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->put_OffContent(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::OffContentTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::OffContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ToggleSwitchTemplateSettings) consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::TemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::Toggled(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::Toggled_revoker consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::Toggled(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::Toggled(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, Toggled_revoker>(this, Toggled(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::Toggled(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitch<D>::Toggled(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitch)->remove_Toggled(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitchOverrides<D>::OnToggled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitchOverrides<D>::OnToggled() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToggleSwitchOverrides)->OnToggled());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitchOverrides<D>::OnOnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitchOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitchOverrides<D>::OnOffContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitchOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToggleSwitchOverrides<D>::OnHeaderChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitchOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics<D>::IsOnProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics<D>::HeaderProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics<D>::HeaderTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics<D>::OnContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics<D>::OnContentTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics<D>::OffContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics<D>::OffContentTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToggleSwitchStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IToolTip<D>::HorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip<D>::HorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->get_HorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTip<D>::HorizontalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip<D>::HorizontalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->put_HorizontalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IToolTip<D>::IsOpen() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip<D>::IsOpen() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->get_IsOpen(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTip<D>::IsOpen(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip<D>::IsOpen(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->put_IsOpen(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode) consume_Windows_UI_Xaml_Controls_IToolTip<D>::Placement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTip<D>::Placement(winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IToolTip<D>::PlacementTarget() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTip<D>::PlacementTarget(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IToolTip<D>::VerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip<D>::VerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->get_VerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTip<D>::VerticalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip<D>::VerticalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->put_VerticalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::ToolTipTemplateSettings) consume_Windows_UI_Xaml_Controls_IToolTip<D>::TemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IToolTip<D>::Closed(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IToolTip<D>::Closed_revoker consume_Windows_UI_Xaml_Controls_IToolTip<D>::Closed(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip<D>::Closed(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTip<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IToolTip<D>::Opened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IToolTip<D>::Opened_revoker consume_Windows_UI_Xaml_Controls_IToolTip<D>::Opened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip<D>::Opened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, Opened_revoker>(this, Opened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTip<D>::Opened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip<D>::Opened(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip)->remove_Opened(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect>) consume_Windows_UI_Xaml_Controls_IToolTip2<D>::PlacementRect() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip2<D>::PlacementRect() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip2)->get_PlacementRect(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTip2<D>::PlacementRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTip2<D>::PlacementRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IToolTip2)->put_PlacementRect(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ToolTip) consume_Windows_UI_Xaml_Controls_IToolTipFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTipFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::PlacementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::GetPlacement(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::SetPlacement(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::Primitives::PlacementMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::PlacementTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::GetPlacementTarget(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::SetPlacementTarget(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::ToolTipProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::GetToolTip(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::SetToolTip(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTipServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipStatics<D>::HorizontalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTipStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipStatics<D>::IsOpenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTipStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipStatics<D>::PlacementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTipStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipStatics<D>::PlacementTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTipStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipStatics<D>::VerticalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTipStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IToolTipStatics2<D>::PlacementRectProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IToolTipStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::TreeViewNode>) consume_Windows_UI_Xaml_Controls_ITreeView<D>::RootNodes() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView<D>::RootNodes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->get_RootNodes(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::TreeViewNode>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewSelectionMode) consume_Windows_UI_Xaml_Controls_ITreeView<D>::SelectionMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView<D>::SelectionMode() const
{
winrt::Windows::UI::Xaml::Controls::TreeViewSelectionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->get_SelectionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView<D>::SelectionMode(winrt::Windows::UI::Xaml::Controls::TreeViewSelectionMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::TreeViewNode>) consume_Windows_UI_Xaml_Controls_ITreeView<D>::SelectedNodes() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView<D>::SelectedNodes() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->get_SelectedNodes(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::TreeViewNode>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView<D>::Expand(winrt::Windows::UI::Xaml::Controls::TreeViewNode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView<D>::Collapse(winrt::Windows::UI::Xaml::Controls::TreeViewNode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView<D>::SelectAll() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView<D>::SelectAll() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->SelectAll());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITreeView<D>::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewItemInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView<D>::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewItemInvokedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITreeView<D>::ItemInvoked_revoker consume_Windows_UI_Xaml_Controls_ITreeView<D>::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewItemInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView<D>::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewItemInvokedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ItemInvoked_revoker>(this, ItemInvoked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView<D>::ItemInvoked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView<D>::ItemInvoked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->remove_ItemInvoked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITreeView<D>::Expanding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewExpandingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView<D>::Expanding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewExpandingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITreeView<D>::Expanding_revoker consume_Windows_UI_Xaml_Controls_ITreeView<D>::Expanding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewExpandingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView<D>::Expanding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewExpandingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Expanding_revoker>(this, Expanding(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView<D>::Expanding(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView<D>::Expanding(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->remove_Expanding(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITreeView<D>::Collapsed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewCollapsedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView<D>::Collapsed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewCollapsedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITreeView<D>::Collapsed_revoker consume_Windows_UI_Xaml_Controls_ITreeView<D>::Collapsed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewCollapsedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView<D>::Collapsed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewCollapsedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Collapsed_revoker>(this, Collapsed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView<D>::Collapsed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView<D>::Collapsed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView)->remove_Collapsed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewNode) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::NodeFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::ContainerFromNode(winrt::Windows::UI::Xaml::Controls::TreeViewNode const& node) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::ItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::CanDragItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::CanDragItems() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->get_CanDragItems(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::CanDragItems(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::CanDragItems(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->put_CanDragItems(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::CanReorderItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::CanReorderItems() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->get_CanReorderItems(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::CanReorderItems(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::CanReorderItems(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->put_CanReorderItems(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::ItemTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::ItemTemplateSelector() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::ItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::ItemContainerStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::ItemContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StyleSelector) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::ItemContainerStyleSelector() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::ItemContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::ItemContainerTransitions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::ItemContainerTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::ItemsSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->put_ItemsSource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::DragItemsStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::DragItemsStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsStartingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITreeView2<D>::DragItemsStarting_revoker consume_Windows_UI_Xaml_Controls_ITreeView2<D>::DragItemsStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::DragItemsStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsStartingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DragItemsStarting_revoker>(this, DragItemsStarting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::DragItemsStarting(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::DragItemsStarting(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->remove_DragItemsStarting(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::DragItemsCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::DragItemsCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsCompletedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_ITreeView2<D>::DragItemsCompleted_revoker consume_Windows_UI_Xaml_Controls_ITreeView2<D>::DragItemsCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::DragItemsCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DragItemsCompleted_revoker>(this, DragItemsCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeView2<D>::DragItemsCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeView2<D>::DragItemsCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeView2)->remove_DragItemsCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewNode) consume_Windows_UI_Xaml_Controls_ITreeViewCollapsedEventArgs<D>::Node() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewCollapsedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITreeViewCollapsedEventArgs2<D>::Item() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewCollapsedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsCompletedEventArgs<D>::DropResult() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsCompletedEventArgs<D>::DropResult() const
{
winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewDragItemsCompletedEventArgs)->get_DropResult(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsCompletedEventArgs<D>::Items() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsCompletedEventArgs<D>::Items() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewDragItemsCompletedEventArgs)->get_Items(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewDragItemsStartingEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewDragItemsStartingEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs<D>::Data() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs<D>::Items() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs<D>::Items() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewDragItemsStartingEventArgs)->get_Items(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewNode) consume_Windows_UI_Xaml_Controls_ITreeViewExpandingEventArgs<D>::Node() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewExpandingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITreeViewExpandingEventArgs2<D>::Item() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewExpandingEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeView) consume_Windows_UI_Xaml_Controls_ITreeViewFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewFactory<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::GlyphOpacity() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::GlyphOpacity() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->get_GlyphOpacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::GlyphOpacity(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::GlyphOpacity(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->put_GlyphOpacity(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::GlyphBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::GlyphBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::ExpandedGlyph() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::ExpandedGlyph(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::ExpandedGlyph(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->put_ExpandedGlyph(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::CollapsedGlyph() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::CollapsedGlyph(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::CollapsedGlyph(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->put_CollapsedGlyph(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::GlyphSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::GlyphSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->get_GlyphSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::GlyphSize(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::GlyphSize(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->put_GlyphSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::IsExpanded() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::IsExpanded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->get_IsExpanded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::IsExpanded(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::IsExpanded(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem)->put_IsExpanded(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewItemTemplateSettings) consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::TreeViewItemTemplateSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItem<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeViewItem2<D>::HasUnrealizedChildren() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItem2<D>::HasUnrealizedChildren() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem2)->get_HasUnrealizedChildren(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItem2<D>::HasUnrealizedChildren(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItem2<D>::HasUnrealizedChildren(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem2)->put_HasUnrealizedChildren(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITreeViewItem2<D>::ItemsSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItem2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItem2<D>::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItem2<D>::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItem2)->put_ItemsSource(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewItem) consume_Windows_UI_Xaml_Controls_ITreeViewItemFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITreeViewItemInvokedEventArgs<D>::InvokedItem() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemInvokedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewItemInvokedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemInvokedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemInvokedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeViewItemInvokedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemInvokedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemInvokedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics<D>::GlyphOpacityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics<D>::GlyphBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics<D>::ExpandedGlyphProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics<D>::CollapsedGlyphProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics<D>::GlyphSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics<D>::IsExpandedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics<D>::TreeViewItemTemplateSettingsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics2<D>::HasUnrealizedChildrenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics2<D>::ItemsSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettings<D>::ExpandedGlyphVisibility() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettings<D>::ExpandedGlyphVisibility() const
{
winrt::Windows::UI::Xaml::Visibility value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemTemplateSettings)->get_ExpandedGlyphVisibility(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettings<D>::CollapsedGlyphVisibility() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettings<D>::CollapsedGlyphVisibility() const
{
winrt::Windows::UI::Xaml::Visibility value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemTemplateSettings)->get_CollapsedGlyphVisibility(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettings<D>::Indentation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettings<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettings<D>::DragItemsCount() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettings<D>::DragItemsCount() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewItemTemplateSettings)->get_DragItemsCount(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewItemTemplateSettings) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics<D>::ExpandedGlyphVisibilityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics<D>::CollapsedGlyphVisibilityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics<D>::IndentationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics<D>::DragItemsCountProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewList) consume_Windows_UI_Xaml_Controls_ITreeViewListFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewListFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::Content(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::Content(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->put_Content(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewNode) consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::Parent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::IsExpanded() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::IsExpanded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->get_IsExpanded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::IsExpanded(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::IsExpanded(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->put_IsExpanded(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::HasChildren() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::HasChildren() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->get_HasChildren(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::Depth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::Depth() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->get_Depth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::HasUnrealizedChildren() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::HasUnrealizedChildren() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->get_HasUnrealizedChildren(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::HasUnrealizedChildren(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::HasUnrealizedChildren(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->put_HasUnrealizedChildren(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::TreeViewNode>) consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::Children() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewNode<D>::Children() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITreeViewNode)->get_Children(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::TreeViewNode>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TreeViewNode) consume_Windows_UI_Xaml_Controls_ITreeViewNodeFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewNodeFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewNodeStatics<D>::ContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewNodeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewNodeStatics<D>::DepthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewNodeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewNodeStatics<D>::IsExpandedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewNodeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewNodeStatics<D>::HasChildrenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewNodeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics<D>::SelectionModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics2<D>::CanDragItemsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics2<D>::CanReorderItemsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics2<D>::ItemTemplateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics2<D>::ItemTemplateSelectorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics2<D>::ItemContainerStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics2<D>::ItemContainerStyleSelectorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics2<D>::ItemContainerTransitionsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITreeViewStatics2<D>::ItemsSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITreeViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::Pane1() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::Pane1(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::Pane2() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::Pane2(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::Pane1Length() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::Pane1Length(winrt::Windows::UI::Xaml::GridLength const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::Pane2Length() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::Pane2Length(winrt::Windows::UI::Xaml::GridLength const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TwoPaneViewPriority) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::PanePriority() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::PanePriority() const
{
winrt::Windows::UI::Xaml::Controls::TwoPaneViewPriority value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->get_PanePriority(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::PanePriority(winrt::Windows::UI::Xaml::Controls::TwoPaneViewPriority const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TwoPaneViewMode) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::Mode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::Mode() const
{
winrt::Windows::UI::Xaml::Controls::TwoPaneViewMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TwoPaneViewWideModeConfiguration) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::WideModeConfiguration() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::WideModeConfiguration() const
{
winrt::Windows::UI::Xaml::Controls::TwoPaneViewWideModeConfiguration value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->get_WideModeConfiguration(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::WideModeConfiguration(winrt::Windows::UI::Xaml::Controls::TwoPaneViewWideModeConfiguration const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TwoPaneViewTallModeConfiguration) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::TallModeConfiguration() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::TallModeConfiguration() const
{
winrt::Windows::UI::Xaml::Controls::TwoPaneViewTallModeConfiguration value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->get_TallModeConfiguration(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::TallModeConfiguration(winrt::Windows::UI::Xaml::Controls::TwoPaneViewTallModeConfiguration const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::MinWideModeWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::MinWideModeWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->get_MinWideModeWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::MinWideModeWidth(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::MinWideModeWidth(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->put_MinWideModeWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::MinTallModeHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::MinTallModeHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->get_MinTallModeHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::MinTallModeHeight(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::MinTallModeHeight(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->put_MinTallModeHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::ModeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TwoPaneView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::ModeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TwoPaneView, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::ModeChanged_revoker consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::ModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TwoPaneView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::ModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TwoPaneView, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ModeChanged_revoker>(this, ModeChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::ModeChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneView<D>::ModeChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::ITwoPaneView)->remove_ModeChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::TwoPaneView) consume_Windows_UI_Xaml_Controls_ITwoPaneViewFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::Pane1Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::Pane2Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::Pane1LengthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::Pane2LengthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::PanePriorityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::ModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::WideModeConfigurationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::TallModeConfigurationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::MinWideModeWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::MinTallModeHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_ITwoPaneViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IUIElementCollection<D>::Move(uint32_t oldIndex, uint32_t newIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IUIElementCollection<D>::Move(uint32_t oldIndex, uint32_t newIndex) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IUIElementCollection)->Move(oldIndex, newIndex));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IUserControl<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IUserControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IUserControl<D>::Content(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IUserControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::UserControl) consume_Windows_UI_Xaml_Controls_IUserControlFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IUserControlFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IUserControlStatics<D>::ContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IUserControlStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::ItemHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::ItemHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_ItemHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::ItemHeight(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::ItemHeight(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->put_ItemHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::ItemWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::ItemWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_ItemWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::ItemWidth(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::ItemWidth(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->put_ItemWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::Orientation() const
{
winrt::Windows::UI::Xaml::Controls::Orientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::HorizontalChildrenAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::HorizontalChildrenAlignment() const
{
winrt::Windows::UI::Xaml::HorizontalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_HorizontalChildrenAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::HorizontalChildrenAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::HorizontalChildrenAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->put_HorizontalChildrenAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::VerticalChildrenAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::VerticalChildrenAlignment() const
{
winrt::Windows::UI::Xaml::VerticalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_VerticalChildrenAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::VerticalChildrenAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::VerticalChildrenAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->put_VerticalChildrenAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::MaximumRowsOrColumns() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::MaximumRowsOrColumns() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_MaximumRowsOrColumns(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::MaximumRowsOrColumns(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGrid<D>::MaximumRowsOrColumns(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid)->put_MaximumRowsOrColumns(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::ItemHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::ItemWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::OrientationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::HorizontalChildrenAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::VerticalChildrenAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::MaximumRowsOrColumnsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::RowSpanProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::GetRowSpan(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::SetRowSpan(winrt::Windows::UI::Xaml::UIElement const& element, int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::ColumnSpanProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::GetColumnSpan(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::SetColumnSpan(winrt::Windows::UI::Xaml::UIElement const& element, int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVariableSizedWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Controls_IViewbox<D>::Child() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IViewbox<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IViewbox<D>::Child(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IViewbox<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) consume_Windows_UI_Xaml_Controls_IViewbox<D>::Stretch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IViewbox<D>::Stretch() const
{
winrt::Windows::UI::Xaml::Media::Stretch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IViewbox)->get_Stretch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IViewbox<D>::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IViewbox<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::StretchDirection) consume_Windows_UI_Xaml_Controls_IViewbox<D>::StretchDirection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IViewbox<D>::StretchDirection() const
{
winrt::Windows::UI::Xaml::Controls::StretchDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IViewbox)->get_StretchDirection(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IViewbox<D>::StretchDirection(winrt::Windows::UI::Xaml::Controls::StretchDirection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IViewbox<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IViewboxStatics<D>::StretchProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IViewboxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IViewboxStatics<D>::StretchDirectionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IViewboxStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::ItemContainerGenerator) consume_Windows_UI_Xaml_Controls_IVirtualizingPanel<D>::ItemContainerGenerator() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingPanel<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingPanelOverrides<D>::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingPanelOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingPanelOverrides<D>::OnClearChildren() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingPanelOverrides<D>::OnClearChildren() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingPanelOverrides)->OnClearChildren());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingPanelOverrides<D>::BringIndexIntoView(int32_t index) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingPanelOverrides<D>::BringIndexIntoView(int32_t index) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingPanelOverrides)->BringIndexIntoView(index));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingPanelProtected<D>::AddInternalChild(winrt::Windows::UI::Xaml::UIElement const& child) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingPanelProtected<D>::AddInternalChild(winrt::Windows::UI::Xaml::UIElement const& child) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingPanelProtected)->AddInternalChild(*(void**)(&child)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingPanelProtected<D>::InsertInternalChild(int32_t index, winrt::Windows::UI::Xaml::UIElement const& child) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingPanelProtected<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingPanelProtected<D>::RemoveInternalChildRange(int32_t index, int32_t range) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingPanelProtected<D>::RemoveInternalChildRange(int32_t index, int32_t range) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingPanelProtected)->RemoveInternalChildRange(index, range));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel<D>::AreScrollSnapPointsRegular() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel<D>::AreScrollSnapPointsRegular() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanel)->get_AreScrollSnapPointsRegular(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel<D>::AreScrollSnapPointsRegular(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel<D>::AreScrollSnapPointsRegular(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanel)->put_AreScrollSnapPointsRegular(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel<D>::Orientation() const
{
winrt::Windows::UI::Xaml::Controls::Orientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanel)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel<D>::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel<D>::CleanUpVirtualizedItemEvent(winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel<D>::CleanUpVirtualizedItemEvent_revoker consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel<D>::CleanUpVirtualizedItemEvent(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel<D>::CleanUpVirtualizedItemEvent(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventHandler const& handler) const
{
return impl::make_event_revoker<D, CleanUpVirtualizedItemEvent_revoker>(this, CleanUpVirtualizedItemEvent(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel<D>::CleanUpVirtualizedItemEvent(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanel<D>::CleanUpVirtualizedItemEvent(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanel)->remove_CleanUpVirtualizedItemEvent(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelOverrides<D>::OnCleanUpVirtualizedItem(winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics<D>::AreScrollSnapPointsRegularProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics<D>::OrientationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics<D>::VirtualizationModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::VirtualizationMode) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics<D>::GetVirtualizationMode(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics<D>::SetVirtualizationMode(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Controls::VirtualizationMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics<D>::IsVirtualizingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics<D>::GetIsVirtualizing(winrt::Windows::UI::Xaml::DependencyObject const& o) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IVirtualizingStackPanelStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebView<D>::Source() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView<D>::Source(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView<D>::Source(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->put_Source(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) consume_Windows_UI_Xaml_Controls_IWebView<D>::AllowedScriptNotifyUris() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView<D>::AllowedScriptNotifyUris() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->get_AllowedScriptNotifyUris(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView<D>::AllowedScriptNotifyUris(param::vector<winrt::Windows::Foundation::Uri> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView<D>::AllowedScriptNotifyUris(param::vector<winrt::Windows::Foundation::Uri> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->put_AllowedScriptNotifyUris(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) consume_Windows_UI_Xaml_Controls_IWebView<D>::DataTransferPackage() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView<D>::LoadCompleted(winrt::Windows::UI::Xaml::Navigation::LoadCompletedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IWebView<D>::LoadCompleted_revoker consume_Windows_UI_Xaml_Controls_IWebView<D>::LoadCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::LoadCompletedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView<D>::LoadCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Navigation::LoadCompletedEventHandler const& handler) const
{
return impl::make_event_revoker<D, LoadCompleted_revoker>(this, LoadCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView<D>::LoadCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView<D>::LoadCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->remove_LoadCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView<D>::ScriptNotify(winrt::Windows::UI::Xaml::Controls::NotifyEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IWebView<D>::ScriptNotify_revoker consume_Windows_UI_Xaml_Controls_IWebView<D>::ScriptNotify(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::NotifyEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView<D>::ScriptNotify(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::NotifyEventHandler const& handler) const
{
return impl::make_event_revoker<D, ScriptNotify_revoker>(this, ScriptNotify(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView<D>::ScriptNotify(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView<D>::ScriptNotify(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->remove_ScriptNotify(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView<D>::NavigationFailed(winrt::Windows::UI::Xaml::Controls::WebViewNavigationFailedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView<D>::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 D> typename consume_Windows_UI_Xaml_Controls_IWebView<D>::NavigationFailed_revoker consume_Windows_UI_Xaml_Controls_IWebView<D>::NavigationFailed(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::WebViewNavigationFailedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView<D>::NavigationFailed(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::WebViewNavigationFailedEventHandler const& handler) const
{
return impl::make_event_revoker<D, NavigationFailed_revoker>(this, NavigationFailed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView<D>::NavigationFailed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView<D>::NavigationFailed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->remove_NavigationFailed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IWebView<D>::InvokeScript(param::hstring const& scriptName, array_view<hstring const> arguments) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView<D>::InvokeScript(param::hstring const& scriptName, array_view<hstring const> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView<D>::Navigate(winrt::Windows::Foundation::Uri const& source) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView<D>::Navigate(winrt::Windows::Foundation::Uri const& source) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->Navigate(*(void**)(&source)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView<D>::NavigateToString(param::hstring const& text) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView<D>::NavigateToString(param::hstring const& text) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView)->NavigateToString(*(void**)(&text)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebView2<D>::CanGoBack() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::CanGoBack() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->get_CanGoBack(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebView2<D>::CanGoForward() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::CanGoForward() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->get_CanGoForward(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IWebView2<D>::DocumentTitle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2<D>::NavigationStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::NavigationStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IWebView2<D>::NavigationStarting_revoker consume_Windows_UI_Xaml_Controls_IWebView2<D>::NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, NavigationStarting_revoker>(this, NavigationStarting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::NavigationStarting(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::NavigationStarting(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_NavigationStarting(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2<D>::ContentLoading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::ContentLoading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IWebView2<D>::ContentLoading_revoker consume_Windows_UI_Xaml_Controls_IWebView2<D>::ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ContentLoading_revoker>(this, ContentLoading(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::ContentLoading(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::ContentLoading(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_ContentLoading(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2<D>::DOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::DOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IWebView2<D>::DOMContentLoaded_revoker consume_Windows_UI_Xaml_Controls_IWebView2<D>::DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DOMContentLoaded_revoker>(this, DOMContentLoaded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::DOMContentLoaded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::DOMContentLoaded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_DOMContentLoaded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::GoForward() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::GoForward() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->GoForward());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::GoBack() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::GoBack() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->GoBack());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::Refresh() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::Refresh() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->Refresh());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::Stop() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Controls_IWebView2<D>::CapturePreviewToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_UI_Xaml_Controls_IWebView2<D>::InvokeScriptAsync(param::hstring const& scriptName, param::async_iterable<hstring> const& arguments) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::InvokeScriptAsync(param::hstring const& scriptName, param::async_iterable<hstring> 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<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::DataTransfer::DataPackage>) consume_Windows_UI_Xaml_Controls_IWebView2<D>::CaptureSelectedContentToDataPackageAsync() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::CaptureSelectedContentToDataPackageAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->CaptureSelectedContentToDataPackageAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::DataTransfer::DataPackage>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::NavigateToLocalStreamUri(winrt::Windows::Foundation::Uri const& source, winrt::Windows::Web::IUriToStreamResolver const& streamResolver) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebView2<D>::BuildLocalStreamUri(param::hstring const& contentIdentifier, param::hstring const& relativePath) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Controls_IWebView2<D>::DefaultBackgroundColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::DefaultBackgroundColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2<D>::NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IWebView2<D>::NavigationCompleted_revoker consume_Windows_UI_Xaml_Controls_IWebView2<D>::NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, NavigationCompleted_revoker>(this, NavigationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::NavigationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::NavigationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_NavigationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameNavigationStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameNavigationStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameNavigationStarting_revoker consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FrameNavigationStarting_revoker>(this, FrameNavigationStarting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameNavigationStarting(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameNavigationStarting(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_FrameNavigationStarting(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameContentLoading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameContentLoading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameContentLoading_revoker consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FrameContentLoading_revoker>(this, FrameContentLoading(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameContentLoading(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameContentLoading(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_FrameContentLoading(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameDOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameDOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameDOMContentLoaded_revoker consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameDOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameDOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FrameDOMContentLoaded_revoker>(this, FrameDOMContentLoaded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameDOMContentLoaded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameDOMContentLoaded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_FrameDOMContentLoaded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameNavigationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameNavigationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameNavigationCompleted_revoker consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FrameNavigationCompleted_revoker>(this, FrameNavigationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameNavigationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::FrameNavigationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_FrameNavigationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2<D>::LongRunningScriptDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewLongRunningScriptDetectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::LongRunningScriptDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewLongRunningScriptDetectedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IWebView2<D>::LongRunningScriptDetected_revoker consume_Windows_UI_Xaml_Controls_IWebView2<D>::LongRunningScriptDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewLongRunningScriptDetectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::LongRunningScriptDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewLongRunningScriptDetectedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, LongRunningScriptDetected_revoker>(this, LongRunningScriptDetected(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::LongRunningScriptDetected(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::LongRunningScriptDetected(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_LongRunningScriptDetected(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2<D>::UnsafeContentWarningDisplaying(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::UnsafeContentWarningDisplaying(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_IWebView2<D>::UnsafeContentWarningDisplaying_revoker consume_Windows_UI_Xaml_Controls_IWebView2<D>::UnsafeContentWarningDisplaying(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::UnsafeContentWarningDisplaying(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, UnsafeContentWarningDisplaying_revoker>(this, UnsafeContentWarningDisplaying(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::UnsafeContentWarningDisplaying(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::UnsafeContentWarningDisplaying(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_UnsafeContentWarningDisplaying(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView2<D>::UnviewableContentIdentified(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewUnviewableContentIdentifiedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::UnviewableContentIdentified(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewUnviewableContentIdentifiedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IWebView2<D>::UnviewableContentIdentified_revoker consume_Windows_UI_Xaml_Controls_IWebView2<D>::UnviewableContentIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewUnviewableContentIdentifiedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::UnviewableContentIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewUnviewableContentIdentifiedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, UnviewableContentIdentified_revoker>(this, UnviewableContentIdentified(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::UnviewableContentIdentified(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::UnviewableContentIdentified(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->remove_UnviewableContentIdentified(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView2<D>::NavigateWithHttpRequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& requestMessage) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::NavigateWithHttpRequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& requestMessage) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView2)->NavigateWithHttpRequestMessage(*(void**)(&requestMessage)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebView2<D>::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView2<D>::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<int32_t>(value), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebView3<D>::ContainsFullScreenElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView3<D>::ContainsFullScreenElement() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView3)->get_ContainsFullScreenElement(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView3<D>::ContainsFullScreenElementChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView3<D>::ContainsFullScreenElementChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Controls_IWebView3<D>::ContainsFullScreenElementChanged_revoker consume_Windows_UI_Xaml_Controls_IWebView3<D>::ContainsFullScreenElementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView3<D>::ContainsFullScreenElementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ContainsFullScreenElementChanged_revoker>(this, ContainsFullScreenElementChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView3<D>::ContainsFullScreenElementChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView3<D>::ContainsFullScreenElementChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView3)->remove_ContainsFullScreenElementChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewExecutionMode) consume_Windows_UI_Xaml_Controls_IWebView4<D>::ExecutionMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView4<D>::ExecutionMode() const
{
winrt::Windows::UI::Xaml::Controls::WebViewExecutionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView4)->get_ExecutionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::WebViewDeferredPermissionRequest>) consume_Windows_UI_Xaml_Controls_IWebView4<D>::DeferredPermissionRequests() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView4<D>::DeferredPermissionRequests() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView4)->get_DeferredPermissionRequests(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::WebViewDeferredPermissionRequest>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewSettings) consume_Windows_UI_Xaml_Controls_IWebView4<D>::Settings() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView4<D>::UnsupportedUriSchemeIdentified(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewUnsupportedUriSchemeIdentifiedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView4<D>::UnsupportedUriSchemeIdentified(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewUnsupportedUriSchemeIdentifiedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IWebView4<D>::UnsupportedUriSchemeIdentified_revoker consume_Windows_UI_Xaml_Controls_IWebView4<D>::UnsupportedUriSchemeIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewUnsupportedUriSchemeIdentifiedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView4<D>::UnsupportedUriSchemeIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewUnsupportedUriSchemeIdentifiedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, UnsupportedUriSchemeIdentified_revoker>(this, UnsupportedUriSchemeIdentified(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView4<D>::UnsupportedUriSchemeIdentified(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView4<D>::UnsupportedUriSchemeIdentified(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView4)->remove_UnsupportedUriSchemeIdentified(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView4<D>::NewWindowRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNewWindowRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView4<D>::NewWindowRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNewWindowRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IWebView4<D>::NewWindowRequested_revoker consume_Windows_UI_Xaml_Controls_IWebView4<D>::NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNewWindowRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView4<D>::NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNewWindowRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, NewWindowRequested_revoker>(this, NewWindowRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView4<D>::NewWindowRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView4<D>::NewWindowRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView4)->remove_NewWindowRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView4<D>::PermissionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewPermissionRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView4<D>::PermissionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewPermissionRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IWebView4<D>::PermissionRequested_revoker consume_Windows_UI_Xaml_Controls_IWebView4<D>::PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewPermissionRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView4<D>::PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewPermissionRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PermissionRequested_revoker>(this, PermissionRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView4<D>::PermissionRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView4<D>::PermissionRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView4)->remove_PermissionRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView4<D>::AddWebAllowedObject(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& pObject) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewDeferredPermissionRequest) consume_Windows_UI_Xaml_Controls_IWebView4<D>::DeferredPermissionRequestById(uint32_t id) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IWebView5<D>::XYFocusLeft() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView5<D>::XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IWebView5<D>::XYFocusRight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView5<D>::XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IWebView5<D>::XYFocusUp() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView5<D>::XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Controls_IWebView5<D>::XYFocusDown() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView5<D>::XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView6<D>::SeparateProcessLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewSeparateProcessLostEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView6<D>::SeparateProcessLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewSeparateProcessLostEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IWebView6<D>::SeparateProcessLost_revoker consume_Windows_UI_Xaml_Controls_IWebView6<D>::SeparateProcessLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewSeparateProcessLostEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView6<D>::SeparateProcessLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewSeparateProcessLostEventArgs> const& handler) const
{
return impl::make_event_revoker<D, SeparateProcessLost_revoker>(this, SeparateProcessLost(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView6<D>::SeparateProcessLost(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView6<D>::SeparateProcessLost(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView6)->remove_SeparateProcessLost(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Controls_IWebView7<D>::WebResourceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewWebResourceRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView7<D>::WebResourceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewWebResourceRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Controls_IWebView7<D>::WebResourceRequested_revoker consume_Windows_UI_Xaml_Controls_IWebView7<D>::WebResourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewWebResourceRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView7<D>::WebResourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewWebResourceRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, WebResourceRequested_revoker>(this, WebResourceRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebView7<D>::WebResourceRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebView7<D>::WebResourceRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebView7)->remove_WebResourceRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IWebViewBrush<D>::SourceName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewBrush<D>::SourceName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewBrush<D>::SourceName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewBrush)->put_SourceName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewBrush<D>::Redraw() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewBrush<D>::Redraw() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewBrush)->Redraw());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewBrush<D>::SetSource(winrt::Windows::UI::Xaml::Controls::WebView const& source) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewBrushStatics<D>::SourceNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewContentLoadingEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewContentLoadingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewDOMContentLoadedEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewDOMContentLoadedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest<D>::Uri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewPermissionType) consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest<D>::PermissionType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest<D>::PermissionType() const
{
winrt::Windows::UI::Xaml::Controls::WebViewPermissionType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewDeferredPermissionRequest)->get_PermissionType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest<D>::Id() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewDeferredPermissionRequest)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest<D>::Allow() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest<D>::Allow() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewDeferredPermissionRequest)->Allow());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest<D>::Deny() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewDeferredPermissionRequest<D>::Deny() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewDeferredPermissionRequest)->Deny());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebView) consume_Windows_UI_Xaml_Controls_IWebViewFactory4<D>::CreateInstanceWithExecutionMode(winrt::Windows::UI::Xaml::Controls::WebViewExecutionMode const& executionMode) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewFactory4<D>::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<int32_t>(executionMode), &value));
return winrt::Windows::UI::Xaml::Controls::WebView{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Controls_IWebViewLongRunningScriptDetectedEventArgs<D>::ExecutionTime() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewLongRunningScriptDetectedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebViewLongRunningScriptDetectedEventArgs<D>::StopPageScriptExecution() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewLongRunningScriptDetectedEventArgs<D>::StopPageScriptExecution() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewLongRunningScriptDetectedEventArgs)->get_StopPageScriptExecution(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewLongRunningScriptDetectedEventArgs<D>::StopPageScriptExecution(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewLongRunningScriptDetectedEventArgs<D>::StopPageScriptExecution(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewLongRunningScriptDetectedEventArgs)->put_StopPageScriptExecution(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewNavigationCompletedEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewNavigationCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebViewNavigationCompletedEventArgs<D>::IsSuccess() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewNavigationCompletedEventArgs<D>::IsSuccess() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNavigationCompletedEventArgs)->get_IsSuccess(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) consume_Windows_UI_Xaml_Controls_IWebViewNavigationCompletedEventArgs<D>::WebErrorStatus() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewNavigationCompletedEventArgs<D>::WebErrorStatus() const
{
winrt::Windows::Web::WebErrorStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNavigationCompletedEventArgs)->get_WebErrorStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewNavigationFailedEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewNavigationFailedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) consume_Windows_UI_Xaml_Controls_IWebViewNavigationFailedEventArgs<D>::WebErrorStatus() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewNavigationFailedEventArgs<D>::WebErrorStatus() const
{
winrt::Windows::Web::WebErrorStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNavigationFailedEventArgs)->get_WebErrorStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewNavigationStartingEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewNavigationStartingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebViewNavigationStartingEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewNavigationStartingEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNavigationStartingEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewNavigationStartingEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewNavigationStartingEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNavigationStartingEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewNewWindowRequestedEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewNewWindowRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewNewWindowRequestedEventArgs<D>::Referrer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewNewWindowRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebViewNewWindowRequestedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewNewWindowRequestedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNewWindowRequestedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewNewWindowRequestedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewNewWindowRequestedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewNewWindowRequestedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest<D>::Uri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewPermissionType) consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest<D>::PermissionType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest<D>::PermissionType() const
{
winrt::Windows::UI::Xaml::Controls::WebViewPermissionType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewPermissionRequest)->get_PermissionType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest<D>::Id() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewPermissionRequest)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewPermissionState) consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest<D>::State() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest<D>::State() const
{
winrt::Windows::UI::Xaml::Controls::WebViewPermissionState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewPermissionRequest)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest<D>::Defer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest<D>::Defer() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewPermissionRequest)->Defer());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest<D>::Allow() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest<D>::Allow() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewPermissionRequest)->Allow());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest<D>::Deny() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequest<D>::Deny() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewPermissionRequest)->Deny());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewPermissionRequest) consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequestedEventArgs<D>::PermissionRequest() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewPermissionRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebViewSettings<D>::IsJavaScriptEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewSettings<D>::IsJavaScriptEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewSettings)->get_IsJavaScriptEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewSettings<D>::IsJavaScriptEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewSettings<D>::IsJavaScriptEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewSettings)->put_IsJavaScriptEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebViewSettings<D>::IsIndexedDBEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewSettings<D>::IsIndexedDBEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewSettings)->get_IsIndexedDBEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewSettings<D>::IsIndexedDBEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewSettings<D>::IsIndexedDBEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewSettings)->put_IsIndexedDBEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) consume_Windows_UI_Xaml_Controls_IWebViewStatics<D>::AnyScriptNotifyUri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewStatics<D>::AnyScriptNotifyUri() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewStatics)->get_AnyScriptNotifyUri(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics<D>::SourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics<D>::AllowedScriptNotifyUrisProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics<D>::DataTransferPackageProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics2<D>::CanGoBackProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics2<D>::CanGoForwardProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics2<D>::DocumentTitleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics2<D>::DefaultBackgroundColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics3<D>::ContainsFullScreenElementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::WebViewExecutionMode) consume_Windows_UI_Xaml_Controls_IWebViewStatics4<D>::DefaultExecutionMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewStatics4<D>::DefaultExecutionMode() const
{
winrt::Windows::UI::Xaml::Controls::WebViewExecutionMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewStatics4)->get_DefaultExecutionMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Controls_IWebViewStatics4<D>::ClearTemporaryWebDataAsync() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics5<D>::XYFocusLeftProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics5<D>::XYFocusRightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics5<D>::XYFocusUpProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWebViewStatics5<D>::XYFocusDownProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewUnsupportedUriSchemeIdentifiedEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewUnsupportedUriSchemeIdentifiedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Controls_IWebViewUnsupportedUriSchemeIdentifiedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewUnsupportedUriSchemeIdentifiedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewUnsupportedUriSchemeIdentifiedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewUnsupportedUriSchemeIdentifiedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewUnsupportedUriSchemeIdentifiedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWebViewUnsupportedUriSchemeIdentifiedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewUnviewableContentIdentifiedEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewUnviewableContentIdentifiedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Controls_IWebViewUnviewableContentIdentifiedEventArgs<D>::Referrer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewUnviewableContentIdentifiedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Controls_IWebViewUnviewableContentIdentifiedEventArgs2<D>::MediaType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewUnviewableContentIdentifiedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_UI_Xaml_Controls_IWebViewWebResourceRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewWebResourceRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_UI_Xaml_Controls_IWebViewWebResourceRequestedEventArgs<D>::Response() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewWebResourceRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWebViewWebResourceRequestedEventArgs<D>::Response(winrt::Windows::Web::Http::HttpResponseMessage const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewWebResourceRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Xaml_Controls_IWebViewWebResourceRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWebViewWebResourceRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::ItemWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::ItemWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->get_ItemWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::ItemWidth(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::ItemWidth(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->put_ItemWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::ItemHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::ItemHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->get_ItemHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::ItemHeight(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::ItemHeight(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->put_ItemHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Orientation) consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::Orientation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::Orientation() const
{
winrt::Windows::UI::Xaml::Controls::Orientation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->get_Orientation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::HorizontalChildrenAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::HorizontalChildrenAlignment() const
{
winrt::Windows::UI::Xaml::HorizontalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->get_HorizontalChildrenAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::HorizontalChildrenAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::HorizontalChildrenAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->put_HorizontalChildrenAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::VerticalChildrenAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::VerticalChildrenAlignment() const
{
winrt::Windows::UI::Xaml::VerticalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->get_VerticalChildrenAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::VerticalChildrenAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::VerticalChildrenAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->put_VerticalChildrenAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::MaximumRowsOrColumns() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::MaximumRowsOrColumns() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->get_MaximumRowsOrColumns(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::MaximumRowsOrColumns(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGrid<D>::MaximumRowsOrColumns(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::IWrapGrid)->put_MaximumRowsOrColumns(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWrapGridStatics<D>::ItemWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWrapGridStatics<D>::ItemHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWrapGridStatics<D>::OrientationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWrapGridStatics<D>::HorizontalChildrenAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWrapGridStatics<D>::VerticalChildrenAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGridStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Controls_IWrapGridStatics<D>::MaximumRowsOrColumnsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Controls_IWrapGridStatics<D>::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<WebViewNavigationFailedEventHandler>**)this)->Invoke(*(void**)(&sender), *(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(void) IAppBarOverridesT<D>::OnClosed(winrt::Windows::Foundation::IInspectable const& e) const
+ template <typename D> auto IAppBarOverridesT<D>::OnClosed(winrt::Windows::Foundation::IInspectable const& e) const
{
return shim().template try_as<IAppBarOverrides>().OnClosed(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IAppBarOverridesT<D>::OnOpened(winrt::Windows::Foundation::IInspectable const& e) const
+ template <typename D> auto IAppBarOverridesT<D>::OnOpened(winrt::Windows::Foundation::IInspectable const& e) const
{
return shim().template try_as<IAppBarOverrides>().OnOpened(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IAppBarOverrides3T<D>::OnClosing(winrt::Windows::Foundation::IInspectable const& e) const
+ template <typename D> auto IAppBarOverrides3T<D>::OnClosing(winrt::Windows::Foundation::IInspectable const& e) const
{
return shim().template try_as<IAppBarOverrides3>().OnClosing(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IAppBarOverrides3T<D>::OnOpening(winrt::Windows::Foundation::IInspectable const& e) const
+ template <typename D> auto IAppBarOverrides3T<D>::OnOpening(winrt::Windows::Foundation::IInspectable const& e) const
{
return shim().template try_as<IAppBarOverrides3>().OnOpening(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IComboBoxOverridesT<D>::OnDropDownClosed(winrt::Windows::Foundation::IInspectable const& e) const
+ template <typename D> auto IComboBoxOverridesT<D>::OnDropDownClosed(winrt::Windows::Foundation::IInspectable const& e) const
{
return shim().template try_as<IComboBoxOverrides>().OnDropDownClosed(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IComboBoxOverridesT<D>::OnDropDownOpened(winrt::Windows::Foundation::IInspectable const& e) const
+ template <typename D> auto IComboBoxOverridesT<D>::OnDropDownOpened(winrt::Windows::Foundation::IInspectable const& e) const
{
return shim().template try_as<IComboBoxOverrides>().OnDropDownOpened(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IContentControlOverridesT<D>::OnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const
+ template <typename D> auto IContentControlOverridesT<D>::OnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const
{
return shim().template try_as<IContentControlOverrides>().OnContentChanged(oldContent, newContent);
}
- template <typename D> WINRT_IMPL_AUTO(void) IContentControlOverridesT<D>::OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const
+ template <typename D> auto IContentControlOverridesT<D>::OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const
{
return shim().template try_as<IContentControlOverrides>().OnContentTemplateChanged(oldContentTemplate, newContentTemplate);
}
- template <typename D> WINRT_IMPL_AUTO(void) IContentControlOverridesT<D>::OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const
+ template <typename D> auto IContentControlOverridesT<D>::OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const
{
return shim().template try_as<IContentControlOverrides>().OnContentTemplateSelectorChanged(oldContentTemplateSelector, newContentTemplateSelector);
}
- template <typename D> WINRT_IMPL_AUTO(void) IContentPresenterOverridesT<D>::OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const
+ template <typename D> auto IContentPresenterOverridesT<D>::OnContentTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newContentTemplate) const
{
return shim().template try_as<IContentPresenterOverrides>().OnContentTemplateChanged(oldContentTemplate, newContentTemplate);
}
- template <typename D> WINRT_IMPL_AUTO(void) IContentPresenterOverridesT<D>::OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const
+ template <typename D> auto IContentPresenterOverridesT<D>::OnContentTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const
{
return shim().template try_as<IContentPresenterOverrides>().OnContentTemplateSelectorChanged(oldContentTemplateSelector, newContentTemplateSelector);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnPointerEntered(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnPointerEntered(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnPointerEntered(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnPointerPressed(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnPointerPressed(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnPointerPressed(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnPointerMoved(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnPointerMoved(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnPointerMoved(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnPointerReleased(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnPointerReleased(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnPointerReleased(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnPointerExited(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnPointerExited(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnPointerExited(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnPointerCaptureLost(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnPointerCaptureLost(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnPointerCaptureLost(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnPointerCanceled(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnPointerCanceled(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnPointerCanceled(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnPointerWheelChanged(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnPointerWheelChanged(winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnPointerWheelChanged(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnTapped(winrt::Windows::UI::Xaml::Input::TappedRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnTapped(winrt::Windows::UI::Xaml::Input::TappedRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnTapped(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnDoubleTapped(winrt::Windows::UI::Xaml::Input::DoubleTappedRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnDoubleTapped(winrt::Windows::UI::Xaml::Input::DoubleTappedRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnDoubleTapped(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnHolding(winrt::Windows::UI::Xaml::Input::HoldingRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnHolding(winrt::Windows::UI::Xaml::Input::HoldingRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnHolding(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnRightTapped(winrt::Windows::UI::Xaml::Input::RightTappedRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnRightTapped(winrt::Windows::UI::Xaml::Input::RightTappedRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnRightTapped(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnManipulationStarting(winrt::Windows::UI::Xaml::Input::ManipulationStartingRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnManipulationStarting(winrt::Windows::UI::Xaml::Input::ManipulationStartingRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnManipulationStarting(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnManipulationInertiaStarting(winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnManipulationInertiaStarting(winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnManipulationInertiaStarting(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnManipulationStarted(winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnManipulationStarted(winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnManipulationStarted(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnManipulationDelta(winrt::Windows::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnManipulationDelta(winrt::Windows::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnManipulationDelta(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnManipulationCompleted(winrt::Windows::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnManipulationCompleted(winrt::Windows::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnManipulationCompleted(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnKeyUp(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnKeyDown(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnGotFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnGotFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnGotFocus(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnLostFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnLostFocus(winrt::Windows::UI::Xaml::RoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnLostFocus(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnDragEnter(winrt::Windows::UI::Xaml::DragEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnDragEnter(winrt::Windows::UI::Xaml::DragEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnDragEnter(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnDragLeave(winrt::Windows::UI::Xaml::DragEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnDragLeave(winrt::Windows::UI::Xaml::DragEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnDragLeave(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnDragOver(winrt::Windows::UI::Xaml::DragEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnDragOver(winrt::Windows::UI::Xaml::DragEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnDragOver(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverridesT<D>::OnDrop(winrt::Windows::UI::Xaml::DragEventArgs const& e) const
+ template <typename D> auto IControlOverridesT<D>::OnDrop(winrt::Windows::UI::Xaml::DragEventArgs const& e) const
{
return shim().template try_as<IControlOverrides>().OnDrop(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverrides6T<D>::OnPreviewKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverrides6T<D>::OnPreviewKeyDown(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides6>().OnPreviewKeyDown(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverrides6T<D>::OnPreviewKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverrides6T<D>::OnPreviewKeyUp(winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides6>().OnPreviewKeyUp(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IControlOverrides6T<D>::OnCharacterReceived(winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs const& e) const
+ template <typename D> auto IControlOverrides6T<D>::OnCharacterReceived(winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs const& e) const
{
return shim().template try_as<IControlOverrides6>().OnCharacterReceived(e);
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) IDataTemplateSelectorOverridesT<D>::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const
+ template <typename D> auto IDataTemplateSelectorOverridesT<D>::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const
{
return shim().template try_as<IDataTemplateSelectorOverrides>().SelectTemplateCore(item, container);
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) IDataTemplateSelectorOverrides2T<D>::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto IDataTemplateSelectorOverrides2T<D>::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item) const
{
return shim().template try_as<IDataTemplateSelectorOverrides2>().SelectTemplateCore(item);
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::GroupStyle) IGroupStyleSelectorOverridesT<D>::SelectGroupStyleCore(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const
+ template <typename D> auto IGroupStyleSelectorOverridesT<D>::SelectGroupStyleCore(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const
{
return shim().template try_as<IGroupStyleSelectorOverrides>().SelectGroupStyleCore(group, level);
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) IInkToolbarCustomPenOverridesT<D>::CreateInkDrawingAttributesCore(winrt::Windows::UI::Xaml::Media::Brush const& brush, double strokeWidth) const
+ template <typename D> auto IInkToolbarCustomPenOverridesT<D>::CreateInkDrawingAttributesCore(winrt::Windows::UI::Xaml::Media::Brush const& brush, double strokeWidth) const
{
return shim().template try_as<IInkToolbarCustomPenOverrides>().CreateInkDrawingAttributesCore(brush, strokeWidth);
}
- template <typename D> WINRT_IMPL_AUTO(bool) IItemsControlOverridesT<D>::IsItemItsOwnContainerOverride(winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto IItemsControlOverridesT<D>::IsItemItsOwnContainerOverride(winrt::Windows::Foundation::IInspectable const& item) const
{
return shim().template try_as<IItemsControlOverrides>().IsItemItsOwnContainerOverride(item);
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) IItemsControlOverridesT<D>::GetContainerForItemOverride() const
+ template <typename D> auto IItemsControlOverridesT<D>::GetContainerForItemOverride() const
{
return shim().template try_as<IItemsControlOverrides>().GetContainerForItemOverride();
}
- template <typename D> WINRT_IMPL_AUTO(void) IItemsControlOverridesT<D>::ClearContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto IItemsControlOverridesT<D>::ClearContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const
{
return shim().template try_as<IItemsControlOverrides>().ClearContainerForItemOverride(element, item);
}
- template <typename D> WINRT_IMPL_AUTO(void) IItemsControlOverridesT<D>::PrepareContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto IItemsControlOverridesT<D>::PrepareContainerForItemOverride(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const
{
return shim().template try_as<IItemsControlOverrides>().PrepareContainerForItemOverride(element, item);
}
- template <typename D> WINRT_IMPL_AUTO(void) IItemsControlOverridesT<D>::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& e) const
+ template <typename D> auto IItemsControlOverridesT<D>::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& e) const
{
return shim().template try_as<IItemsControlOverrides>().OnItemsChanged(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IItemsControlOverridesT<D>::OnItemContainerStyleChanged(winrt::Windows::UI::Xaml::Style const& oldItemContainerStyle, winrt::Windows::UI::Xaml::Style const& newItemContainerStyle) const
+ template <typename D> auto IItemsControlOverridesT<D>::OnItemContainerStyleChanged(winrt::Windows::UI::Xaml::Style const& oldItemContainerStyle, winrt::Windows::UI::Xaml::Style const& newItemContainerStyle) const
{
return shim().template try_as<IItemsControlOverrides>().OnItemContainerStyleChanged(oldItemContainerStyle, newItemContainerStyle);
}
- template <typename D> WINRT_IMPL_AUTO(void) IItemsControlOverridesT<D>::OnItemContainerStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::StyleSelector const& oldItemContainerStyleSelector, winrt::Windows::UI::Xaml::Controls::StyleSelector const& newItemContainerStyleSelector) const
+ template <typename D> auto IItemsControlOverridesT<D>::OnItemContainerStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::StyleSelector const& oldItemContainerStyleSelector, winrt::Windows::UI::Xaml::Controls::StyleSelector const& newItemContainerStyleSelector) const
{
return shim().template try_as<IItemsControlOverrides>().OnItemContainerStyleSelectorChanged(oldItemContainerStyleSelector, newItemContainerStyleSelector);
}
- template <typename D> WINRT_IMPL_AUTO(void) IItemsControlOverridesT<D>::OnItemTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldItemTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newItemTemplate) const
+ template <typename D> auto IItemsControlOverridesT<D>::OnItemTemplateChanged(winrt::Windows::UI::Xaml::DataTemplate const& oldItemTemplate, winrt::Windows::UI::Xaml::DataTemplate const& newItemTemplate) const
{
return shim().template try_as<IItemsControlOverrides>().OnItemTemplateChanged(oldItemTemplate, newItemTemplate);
}
- template <typename D> WINRT_IMPL_AUTO(void) IItemsControlOverridesT<D>::OnItemTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldItemTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newItemTemplateSelector) const
+ template <typename D> auto IItemsControlOverridesT<D>::OnItemTemplateSelectorChanged(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& oldItemTemplateSelector, winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& newItemTemplateSelector) const
{
return shim().template try_as<IItemsControlOverrides>().OnItemTemplateSelectorChanged(oldItemTemplateSelector, newItemTemplateSelector);
}
- template <typename D> WINRT_IMPL_AUTO(void) IItemsControlOverridesT<D>::OnGroupStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& oldGroupStyleSelector, winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& newGroupStyleSelector) const
+ template <typename D> auto IItemsControlOverridesT<D>::OnGroupStyleSelectorChanged(winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& oldGroupStyleSelector, winrt::Windows::UI::Xaml::Controls::GroupStyleSelector const& newGroupStyleSelector) const
{
return shim().template try_as<IItemsControlOverrides>().OnGroupStyleSelectorChanged(oldGroupStyleSelector, newGroupStyleSelector);
}
- template <typename D> WINRT_IMPL_AUTO(void) IPageOverridesT<D>::OnNavigatedFrom(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const
+ template <typename D> auto IPageOverridesT<D>::OnNavigatedFrom(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const
{
return shim().template try_as<IPageOverrides>().OnNavigatedFrom(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IPageOverridesT<D>::OnNavigatedTo(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const
+ template <typename D> auto IPageOverridesT<D>::OnNavigatedTo(winrt::Windows::UI::Xaml::Navigation::NavigationEventArgs const& e) const
{
return shim().template try_as<IPageOverrides>().OnNavigatedTo(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IPageOverridesT<D>::OnNavigatingFrom(winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventArgs const& e) const
+ template <typename D> auto IPageOverridesT<D>::OnNavigatingFrom(winrt::Windows::UI::Xaml::Navigation::NavigatingCancelEventArgs const& e) const
{
return shim().template try_as<IPageOverrides>().OnNavigatingFrom(e);
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) IStyleSelectorOverridesT<D>::SelectStyleCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const
+ template <typename D> auto IStyleSelectorOverridesT<D>::SelectStyleCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::DependencyObject const& container) const
{
return shim().template try_as<IStyleSelectorOverrides>().SelectStyleCore(item, container);
}
- template <typename D> WINRT_IMPL_AUTO(void) IToggleSwitchOverridesT<D>::OnToggled() const
+ template <typename D> auto IToggleSwitchOverridesT<D>::OnToggled() const
{
return shim().template try_as<IToggleSwitchOverrides>().OnToggled();
}
- template <typename D> WINRT_IMPL_AUTO(void) IToggleSwitchOverridesT<D>::OnOnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const
+ template <typename D> auto IToggleSwitchOverridesT<D>::OnOnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const
{
return shim().template try_as<IToggleSwitchOverrides>().OnOnContentChanged(oldContent, newContent);
}
- template <typename D> WINRT_IMPL_AUTO(void) IToggleSwitchOverridesT<D>::OnOffContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const
+ template <typename D> auto IToggleSwitchOverridesT<D>::OnOffContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const
{
return shim().template try_as<IToggleSwitchOverrides>().OnOffContentChanged(oldContent, newContent);
}
- template <typename D> WINRT_IMPL_AUTO(void) IToggleSwitchOverridesT<D>::OnHeaderChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const
+ template <typename D> auto IToggleSwitchOverridesT<D>::OnHeaderChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const
{
return shim().template try_as<IToggleSwitchOverrides>().OnHeaderChanged(oldContent, newContent);
}
- template <typename D> WINRT_IMPL_AUTO(void) IVirtualizingPanelOverridesT<D>::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventArgs const& args) const
+ template <typename D> auto IVirtualizingPanelOverridesT<D>::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Controls::Primitives::ItemsChangedEventArgs const& args) const
{
return shim().template try_as<IVirtualizingPanelOverrides>().OnItemsChanged(sender, args);
}
- template <typename D> WINRT_IMPL_AUTO(void) IVirtualizingPanelOverridesT<D>::OnClearChildren() const
+ template <typename D> auto IVirtualizingPanelOverridesT<D>::OnClearChildren() const
{
return shim().template try_as<IVirtualizingPanelOverrides>().OnClearChildren();
}
- template <typename D> WINRT_IMPL_AUTO(void) IVirtualizingPanelOverridesT<D>::BringIndexIntoView(int32_t index) const
+ template <typename D> auto IVirtualizingPanelOverridesT<D>::BringIndexIntoView(int32_t index) const
{
return shim().template try_as<IVirtualizingPanelOverrides>().BringIndexIntoView(index);
}
- template <typename D> WINRT_IMPL_AUTO(void) IVirtualizingStackPanelOverridesT<D>::OnCleanUpVirtualizedItem(winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventArgs const& e) const
+ template <typename D> auto IVirtualizingStackPanelOverridesT<D>::OnCleanUpVirtualizedItem(winrt::Windows::UI::Xaml::Controls::CleanUpVirtualizedItemEventArgs const& e) const
{
return shim().template try_as<IVirtualizingStackPanelOverrides>().OnCleanUpVirtualizedItem(e);
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Core.Direct.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Core.Direct.h
index d5dac4d4470..636c00d2d0f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Core.Direct.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetObject(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetXamlDirectObject(winrt::Windows::Foundation::IInspectable const& object) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::CreateInstance(winrt::Windows::UI::Xaml::Core::Direct::XamlTypeIndex const& typeIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(typeIndex), &result));
return winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), *(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), *(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::SetBooleanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::SetDoubleProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::SetInt32Property(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), *(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), impl::bind_in(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::SetEnumProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex, uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), &result));
return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetXamlDirectObjectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), &result));
return winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetBooleanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetDoubleProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetInt32Property(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetStringProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), &result));
return hstring{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetDateTimeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetPointProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetRectProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetSizeProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetTimeSpanProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetColorProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetCornerRadiusProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetDurationProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetGridLengthProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetThicknessProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Matrix) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetMatrixProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetMatrix3DProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetEnumProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::ClearProperty(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::XamlPropertyIndex const& propertyIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(propertyIndex)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetCollectionCount(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::GetXamlDirectObjectFromCollectionAt(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, uint32_t index) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::AddToCollection(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::InsertIntoCollectionAt(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, uint32_t index, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::RemoveFromCollection(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::RemoveFromCollectionAt(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject, uint32_t index) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::ClearCollection(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectObject const& xamlDirectObject) const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(eventIndex), *(void**)(&handler)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(eventIndex), *(void**)(&handler), handledEventsToo));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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 <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirect<D>::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<int32_t>(eventIndex), *(void**)(&handler)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Core::Direct::XamlDirect) consume_Windows_UI_Xaml_Core_Direct_IXamlDirectStatics<D>::GetDefault() const
+ template <typename D> auto consume_Windows_UI_Xaml_Core_Direct_IXamlDirectStatics<D>::GetDefault() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectStatics)->GetDefault(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Data.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Data.h
index 0726072d210..346037d3722 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Data.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyPath) consume_Windows_UI_Xaml_Data_IBinding<D>::Path() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding<D>::Path(winrt::Windows::UI::Xaml::PropertyPath const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::BindingMode) consume_Windows_UI_Xaml_Data_IBinding<D>::Mode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding<D>::Mode() const
{
winrt::Windows::UI::Xaml::Data::BindingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding<D>::Mode(winrt::Windows::UI::Xaml::Data::BindingMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_IBinding<D>::Source() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding<D>::Source(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding<D>::Source(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->put_Source(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::RelativeSource) consume_Windows_UI_Xaml_Data_IBinding<D>::RelativeSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding<D>::RelativeSource(winrt::Windows::UI::Xaml::Data::RelativeSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Data_IBinding<D>::ElementName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding<D>::ElementName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding<D>::ElementName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->put_ElementName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::IValueConverter) consume_Windows_UI_Xaml_Data_IBinding<D>::Converter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding<D>::Converter(winrt::Windows::UI::Xaml::Data::IValueConverter const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_IBinding<D>::ConverterParameter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding<D>::ConverterParameter(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding<D>::ConverterParameter(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->put_ConverterParameter(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Data_IBinding<D>::ConverterLanguage() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding<D>::ConverterLanguage(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding<D>::ConverterLanguage(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding)->put_ConverterLanguage(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_IBinding2<D>::FallbackValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding2<D>::FallbackValue(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding2<D>::FallbackValue(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding2)->put_FallbackValue(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_IBinding2<D>::TargetNullValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding2<D>::TargetNullValue(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding2<D>::TargetNullValue(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding2)->put_TargetNullValue(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::UpdateSourceTrigger) consume_Windows_UI_Xaml_Data_IBinding2<D>::UpdateSourceTrigger() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding2<D>::UpdateSourceTrigger() const
{
winrt::Windows::UI::Xaml::Data::UpdateSourceTrigger value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBinding2)->get_UpdateSourceTrigger(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBinding2<D>::UpdateSourceTrigger(winrt::Windows::UI::Xaml::Data::UpdateSourceTrigger const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBinding2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::BindingBase) consume_Windows_UI_Xaml_Data_IBindingBaseFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBindingBaseFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_IBindingExpression<D>::DataItem() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBindingExpression<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::Binding) consume_Windows_UI_Xaml_Data_IBindingExpression<D>::ParentBinding() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBindingExpression<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBindingExpression<D>::UpdateSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBindingExpression<D>::UpdateSource() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IBindingExpression)->UpdateSource());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::Binding) consume_Windows_UI_Xaml_Data_IBindingFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IBindingFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IBindingOperationsStatics<D>::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 <typename D> auto consume_Windows_UI_Xaml_Data_IBindingOperationsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_ICollectionView<D>::CurrentItem() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Data_ICollectionView<D>::CurrentPosition() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::CurrentPosition() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->get_CurrentPosition(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView<D>::IsCurrentAfterLast() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::IsCurrentAfterLast() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->get_IsCurrentAfterLast(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView<D>::IsCurrentBeforeFirst() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::IsCurrentBeforeFirst() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->get_IsCurrentBeforeFirst(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Data_ICollectionView<D>::CollectionGroups() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::CollectionGroups() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->get_CollectionGroups(&value));
return winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView<D>::HasMoreItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::HasMoreItems() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->get_HasMoreItems(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Data_ICollectionView<D>::CurrentChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::CurrentChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Data_ICollectionView<D>::CurrentChanged_revoker consume_Windows_UI_Xaml_Data_ICollectionView<D>::CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, CurrentChanged_revoker>(this, CurrentChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ICollectionView<D>::CurrentChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::CurrentChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->remove_CurrentChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Data_ICollectionView<D>::CurrentChanging(winrt::Windows::UI::Xaml::Data::CurrentChangingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::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 D> typename consume_Windows_UI_Xaml_Data_ICollectionView<D>::CurrentChanging_revoker consume_Windows_UI_Xaml_Data_ICollectionView<D>::CurrentChanging(auto_revoke_t, winrt::Windows::UI::Xaml::Data::CurrentChangingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::CurrentChanging(auto_revoke_t, winrt::Windows::UI::Xaml::Data::CurrentChangingEventHandler const& handler) const
{
return impl::make_event_revoker<D, CurrentChanging_revoker>(this, CurrentChanging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ICollectionView<D>::CurrentChanging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::CurrentChanging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->remove_CurrentChanging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView<D>::MoveCurrentTo(winrt::Windows::Foundation::IInspectable const& item) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView<D>::MoveCurrentToPosition(int32_t index) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::MoveCurrentToPosition(int32_t index) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->MoveCurrentToPosition(index, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView<D>::MoveCurrentToFirst() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::MoveCurrentToFirst() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->MoveCurrentToFirst(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView<D>::MoveCurrentToLast() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::MoveCurrentToLast() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->MoveCurrentToLast(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView<D>::MoveCurrentToNext() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::MoveCurrentToNext() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->MoveCurrentToNext(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionView<D>::MoveCurrentToPrevious() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::MoveCurrentToPrevious() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionView)->MoveCurrentToPrevious(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Data::LoadMoreItemsResult>) consume_Windows_UI_Xaml_Data_ICollectionView<D>::LoadMoreItemsAsync(uint32_t count) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionView<D>::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<winrt::Windows::UI::Xaml::Data::LoadMoreItemsResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::ICollectionView) consume_Windows_UI_Xaml_Data_ICollectionViewFactory<D>::CreateView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionViewFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_ICollectionViewGroup<D>::Group() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionViewGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_Data_ICollectionViewGroup<D>::GroupItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionViewGroup<D>::GroupItems() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewGroup)->get_GroupItems(&value));
return winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_ICollectionViewSource<D>::Source() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionViewSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ICollectionViewSource<D>::Source(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionViewSource<D>::Source(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewSource)->put_Source(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::ICollectionView) consume_Windows_UI_Xaml_Data_ICollectionViewSource<D>::View() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionViewSource<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICollectionViewSource<D>::IsSourceGrouped() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionViewSource<D>::IsSourceGrouped() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewSource)->get_IsSourceGrouped(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ICollectionViewSource<D>::IsSourceGrouped(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionViewSource<D>::IsSourceGrouped(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICollectionViewSource)->put_IsSourceGrouped(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyPath) consume_Windows_UI_Xaml_Data_ICollectionViewSource<D>::ItemsPath() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionViewSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ICollectionViewSource<D>::ItemsPath(winrt::Windows::UI::Xaml::PropertyPath const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionViewSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Data_ICollectionViewSourceStatics<D>::SourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionViewSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Data_ICollectionViewSourceStatics<D>::ViewProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionViewSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Data_ICollectionViewSourceStatics<D>::IsSourceGroupedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionViewSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Data_ICollectionViewSourceStatics<D>::ItemsPathProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICollectionViewSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICurrentChangingEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICurrentChangingEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgs<D>::IsCancelable() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgs<D>::IsCancelable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICurrentChangingEventArgs)->get_IsCancelable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::CurrentChangingEventArgs) consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgsFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::CurrentChangingEventArgs) consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgsFactory<D>::CreateWithCancelableParameter(bool isCancelable, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICurrentChangingEventArgsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Data_ICustomProperty<D>::Type() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICustomProperty<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Data_ICustomProperty<D>::Name() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICustomProperty<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_ICustomProperty<D>::GetValue(winrt::Windows::Foundation::IInspectable const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICustomProperty<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ICustomProperty<D>::SetValue(winrt::Windows::Foundation::IInspectable const& target, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICustomProperty<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_ICustomProperty<D>::GetIndexedValue(winrt::Windows::Foundation::IInspectable const& target, winrt::Windows::Foundation::IInspectable const& index) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICustomProperty<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ICustomProperty<D>::SetIndexedValue(winrt::Windows::Foundation::IInspectable const& target, winrt::Windows::Foundation::IInspectable const& value, winrt::Windows::Foundation::IInspectable const& index) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICustomProperty<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICustomProperty<D>::CanWrite() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICustomProperty<D>::CanWrite() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICustomProperty)->get_CanWrite(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ICustomProperty<D>::CanRead() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICustomProperty<D>::CanRead() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ICustomProperty)->get_CanRead(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::ICustomProperty) consume_Windows_UI_Xaml_Data_ICustomPropertyProvider<D>::GetCustomProperty(param::hstring const& name) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICustomPropertyProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::ICustomProperty) consume_Windows_UI_Xaml_Data_ICustomPropertyProvider<D>::GetIndexedProperty(param::hstring const& name, winrt::Windows::UI::Xaml::Interop::TypeName const& type) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICustomPropertyProvider<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Data_ICustomPropertyProvider<D>::GetStringRepresentation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICustomPropertyProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Data_ICustomPropertyProvider<D>::Type() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ICustomPropertyProvider<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Data_IItemIndexRange<D>::FirstIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IItemIndexRange<D>::FirstIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IItemIndexRange)->get_FirstIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Data_IItemIndexRange<D>::Length() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IItemIndexRange<D>::Length() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IItemIndexRange)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Data_IItemIndexRange<D>::LastIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IItemIndexRange<D>::LastIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IItemIndexRange)->get_LastIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::ItemIndexRange) consume_Windows_UI_Xaml_Data_IItemIndexRangeFactory<D>::CreateInstance(int32_t firstIndex, uint32_t length, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IItemIndexRangeFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IItemsRangeInfo<D>::RangesChanged(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& visibleRange, param::vector_view<winrt::Windows::UI::Xaml::Data::ItemIndexRange> const& trackedItems) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IItemsRangeInfo<D>::RangesChanged(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& visibleRange, param::vector_view<winrt::Windows::UI::Xaml::Data::ItemIndexRange> const& trackedItems) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IItemsRangeInfo)->RangesChanged(*(void**)(&visibleRange), *(void**)(&trackedItems)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Data_INotifyPropertyChanged<D>::PropertyChanged(winrt::Windows::UI::Xaml::Data::PropertyChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_INotifyPropertyChanged<D>::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 D> typename consume_Windows_UI_Xaml_Data_INotifyPropertyChanged<D>::PropertyChanged_revoker consume_Windows_UI_Xaml_Data_INotifyPropertyChanged<D>::PropertyChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Data::PropertyChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_INotifyPropertyChanged<D>::PropertyChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Data::PropertyChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, PropertyChanged_revoker>(this, PropertyChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_INotifyPropertyChanged<D>::PropertyChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Data_INotifyPropertyChanged<D>::PropertyChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::INotifyPropertyChanged)->remove_PropertyChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Data_IPropertyChangedEventArgs<D>::PropertyName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IPropertyChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::PropertyChangedEventArgs) consume_Windows_UI_Xaml_Data_IPropertyChangedEventArgsFactory<D>::CreateInstance(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IPropertyChangedEventArgsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::RelativeSourceMode) consume_Windows_UI_Xaml_Data_IRelativeSource<D>::Mode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IRelativeSource<D>::Mode() const
{
winrt::Windows::UI::Xaml::Data::RelativeSourceMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::IRelativeSource)->get_Mode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_IRelativeSource<D>::Mode(winrt::Windows::UI::Xaml::Data::RelativeSourceMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IRelativeSource<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::RelativeSource) consume_Windows_UI_Xaml_Data_IRelativeSourceFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_IRelativeSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ISelectionInfo<D>::SelectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ISelectionInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Data_ISelectionInfo<D>::DeselectRange(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ISelectionInfo<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ISelectionInfo<D>::IsSelected(int32_t index) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ISelectionInfo<D>::IsSelected(int32_t index) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ISelectionInfo)->IsSelected(index, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Data::ItemIndexRange>) consume_Windows_UI_Xaml_Data_ISelectionInfo<D>::GetSelectedRanges() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ISelectionInfo<D>::GetSelectedRanges() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ISelectionInfo)->GetSelectedRanges(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Data::ItemIndexRange>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Data::LoadMoreItemsResult>) consume_Windows_UI_Xaml_Data_ISupportIncrementalLoading<D>::LoadMoreItemsAsync(uint32_t count) const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ISupportIncrementalLoading<D>::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<winrt::Windows::UI::Xaml::Data::LoadMoreItemsResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Data_ISupportIncrementalLoading<D>::HasMoreItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Data_ISupportIncrementalLoading<D>::HasMoreItems() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Data::ISupportIncrementalLoading)->get_HasMoreItems(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_IValueConverter<D>::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 <typename D> auto consume_Windows_UI_Xaml_Data_IValueConverter<D>::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**)(&parameter), *(void**)(&language), &result));
return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Data_IValueConverter<D>::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 <typename D> auto consume_Windows_UI_Xaml_Data_IValueConverter<D>::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**)(&parameter), *(void**)(&language), &result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Documents.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Documents.h
index db2abd404e4..563cb7352d6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Documents.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Documents_IBlock<D>::TextAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IBlock<D>::TextAlignment() const
{
winrt::Windows::UI::Xaml::TextAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock)->get_TextAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IBlock<D>::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IBlock<D>::TextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock)->put_TextAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Documents_IBlock<D>::LineHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IBlock<D>::LineHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock)->get_LineHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IBlock<D>::LineHeight(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IBlock<D>::LineHeight(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock)->put_LineHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::LineStackingStrategy) consume_Windows_UI_Xaml_Documents_IBlock<D>::LineStackingStrategy() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IBlock<D>::LineStackingStrategy() const
{
winrt::Windows::UI::Xaml::LineStackingStrategy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock)->get_LineStackingStrategy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IBlock<D>::LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IBlock<D>::LineStackingStrategy(winrt::Windows::UI::Xaml::LineStackingStrategy const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock)->put_LineStackingStrategy(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_Documents_IBlock<D>::Margin() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IBlock<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IBlock<D>::Margin(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IBlock<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TextAlignment) consume_Windows_UI_Xaml_Documents_IBlock2<D>::HorizontalTextAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IBlock2<D>::HorizontalTextAlignment() const
{
winrt::Windows::UI::Xaml::TextAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock2)->get_HorizontalTextAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IBlock2<D>::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IBlock2<D>::HorizontalTextAlignment(winrt::Windows::UI::Xaml::TextAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IBlock2)->put_HorizontalTextAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::Block) consume_Windows_UI_Xaml_Documents_IBlockFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IBlockFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IBlockStatics<D>::TextAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IBlockStatics<D>::LineHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IBlockStatics<D>::LineStackingStrategyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IBlockStatics<D>::MarginProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IBlockStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IBlockStatics2<D>::HorizontalTextAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IBlockStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ContentLinkInfo) consume_Windows_UI_Xaml_Documents_IContentLink<D>::Info() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink<D>::Info(winrt::Windows::UI::Text::ContentLinkInfo const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Documents_IContentLink<D>::Background() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink<D>::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreCursorType) consume_Windows_UI_Xaml_Documents_IContentLink<D>::Cursor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::Cursor() const
{
winrt::Windows::UI::Core::CoreCursorType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_Cursor(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink<D>::Cursor(winrt::Windows::UI::Core::CoreCursorType const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::Cursor(winrt::Windows::UI::Core::CoreCursorType const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_Cursor(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusLeft() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusRight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusUp() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusDown() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSoundMode) consume_Windows_UI_Xaml_Documents_IContentLink<D>::ElementSoundMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::ElementSoundMode() const
{
winrt::Windows::UI::Xaml::ElementSoundMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_ElementSoundMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink<D>::ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_ElementSoundMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusState) consume_Windows_UI_Xaml_Documents_IContentLink<D>::FocusState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::FocusState() const
{
winrt::Windows::UI::Xaml::FocusState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_FocusState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusUpNavigationStrategy() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusUpNavigationStrategy() const
{
winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_XYFocusUpNavigationStrategy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusUpNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusDownNavigationStrategy() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusDownNavigationStrategy() const
{
winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_XYFocusDownNavigationStrategy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusDownNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusLeftNavigationStrategy() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusLeftNavigationStrategy() const
{
winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_XYFocusLeftNavigationStrategy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusLeftNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusRightNavigationStrategy() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusRightNavigationStrategy() const
{
winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_XYFocusRightNavigationStrategy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink<D>::XYFocusRightNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_IContentLink<D>::IsTabStop() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::IsTabStop() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_IsTabStop(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink<D>::IsTabStop(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::IsTabStop(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_IsTabStop(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_IContentLink<D>::TabIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::TabIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->get_TabIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink<D>::TabIndex(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::TabIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->put_TabIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_IContentLink<D>::Invoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::ContentLink, winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::Invoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::ContentLink, winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Documents_IContentLink<D>::Invoked_revoker consume_Windows_UI_Xaml_Documents_IContentLink<D>::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::ContentLink, winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::ContentLink, winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Invoked_revoker>(this, Invoked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink<D>::Invoked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::Invoked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->remove_Invoked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_IContentLink<D>::GotFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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 D> typename consume_Windows_UI_Xaml_Documents_IContentLink<D>::GotFocus_revoker consume_Windows_UI_Xaml_Documents_IContentLink<D>::GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, GotFocus_revoker>(this, GotFocus(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink<D>::GotFocus(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::GotFocus(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->remove_GotFocus(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_IContentLink<D>::LostFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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 D> typename consume_Windows_UI_Xaml_Documents_IContentLink<D>::LostFocus_revoker consume_Windows_UI_Xaml_Documents_IContentLink<D>::LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, LostFocus_revoker>(this, LostFocus(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLink<D>::LostFocus(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::LostFocus(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLink)->remove_LostFocus(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_IContentLink<D>::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLink<D>::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<int32_t>(value), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::ContentLinkInfo) consume_Windows_UI_Xaml_Documents_IContentLinkInvokedEventArgs<D>::ContentLinkInfo() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkInvokedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_IContentLinkInvokedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkInvokedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkInvokedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IContentLinkInvokedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkInvokedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IContentLinkInvokedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::ContentLinkProvider) consume_Windows_UI_Xaml_Documents_IContentLinkProviderFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkProviderFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::BackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::CursorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::XYFocusLeftProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::XYFocusRightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::XYFocusUpProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::XYFocusDownProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::ElementSoundModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::FocusStateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::XYFocusUpNavigationStrategyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::XYFocusDownNavigationStrategyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::XYFocusLeftNavigationStrategyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::XYFocusRightNavigationStrategyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::IsTabStopProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::TabIndexProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IContentLinkStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Documents_IGlyphs<D>::UnicodeString() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs<D>::UnicodeString(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs<D>::UnicodeString(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->put_UnicodeString(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Documents_IGlyphs<D>::Indices() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs<D>::Indices(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs<D>::Indices(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->put_Indices(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Documents_IGlyphs<D>::FontUri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs<D>::FontUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs<D>::FontUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->put_FontUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::StyleSimulations) consume_Windows_UI_Xaml_Documents_IGlyphs<D>::StyleSimulations() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs<D>::StyleSimulations() const
{
winrt::Windows::UI::Xaml::Media::StyleSimulations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->get_StyleSimulations(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs<D>::StyleSimulations(winrt::Windows::UI::Xaml::Media::StyleSimulations const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Documents_IGlyphs<D>::FontRenderingEmSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs<D>::FontRenderingEmSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->get_FontRenderingEmSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs<D>::FontRenderingEmSize(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs<D>::FontRenderingEmSize(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->put_FontRenderingEmSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Documents_IGlyphs<D>::OriginX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs<D>::OriginX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->get_OriginX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs<D>::OriginX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs<D>::OriginX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->put_OriginX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Documents_IGlyphs<D>::OriginY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs<D>::OriginY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->get_OriginY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs<D>::OriginY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs<D>::OriginY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs)->put_OriginY(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Documents_IGlyphs<D>::Fill() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs<D>::Fill(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_IGlyphs2<D>::IsColorFontEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs2<D>::IsColorFontEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs2)->get_IsColorFontEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs2<D>::IsColorFontEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs2<D>::IsColorFontEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs2)->put_IsColorFontEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_IGlyphs2<D>::ColorFontPaletteIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs2<D>::ColorFontPaletteIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs2)->get_ColorFontPaletteIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IGlyphs2<D>::ColorFontPaletteIndex(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphs2<D>::ColorFontPaletteIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IGlyphs2)->put_ColorFontPaletteIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics<D>::UnicodeStringProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics<D>::IndicesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics<D>::FontUriProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics<D>::StyleSimulationsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics<D>::FontRenderingEmSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics<D>::OriginXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics<D>::OriginYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics<D>::FillProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics2<D>::IsColorFontEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IGlyphsStatics2<D>::ColorFontPaletteIndexProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IGlyphsStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Documents_IHyperlink<D>::NavigateUri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink<D>::NavigateUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink<D>::NavigateUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink)->put_NavigateUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_IHyperlink<D>::Click(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::Hyperlink, winrt::Windows::UI::Xaml::Documents::HyperlinkClickEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink<D>::Click(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::Hyperlink, winrt::Windows::UI::Xaml::Documents::HyperlinkClickEventArgs> 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 D> typename consume_Windows_UI_Xaml_Documents_IHyperlink<D>::Click_revoker consume_Windows_UI_Xaml_Documents_IHyperlink<D>::Click(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::Hyperlink, winrt::Windows::UI::Xaml::Documents::HyperlinkClickEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink<D>::Click(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::Hyperlink, winrt::Windows::UI::Xaml::Documents::HyperlinkClickEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Click_revoker>(this, Click(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink<D>::Click(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink<D>::Click(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink)->remove_Click(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::UnderlineStyle) consume_Windows_UI_Xaml_Documents_IHyperlink2<D>::UnderlineStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink2<D>::UnderlineStyle() const
{
winrt::Windows::UI::Xaml::Documents::UnderlineStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink2)->get_UnderlineStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink2<D>::UnderlineStyle(winrt::Windows::UI::Xaml::Documents::UnderlineStyle const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::XYFocusLeft() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::XYFocusLeft(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::XYFocusRight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::XYFocusRight(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::XYFocusUp() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::XYFocusUp(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::XYFocusDown() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::XYFocusDown(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSoundMode) consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::ElementSoundMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::ElementSoundMode() const
{
winrt::Windows::UI::Xaml::ElementSoundMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink3)->get_ElementSoundMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink3<D>::ElementSoundMode(winrt::Windows::UI::Xaml::ElementSoundMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink3)->put_ElementSoundMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusState) consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::FocusState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::FocusState() const
{
winrt::Windows::UI::Xaml::FocusState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->get_FocusState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::XYFocusUpNavigationStrategy() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::XYFocusUpNavigationStrategy() const
{
winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->get_XYFocusUpNavigationStrategy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::XYFocusUpNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::XYFocusDownNavigationStrategy() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::XYFocusDownNavigationStrategy() const
{
winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->get_XYFocusDownNavigationStrategy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::XYFocusDownNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::XYFocusLeftNavigationStrategy() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::XYFocusLeftNavigationStrategy() const
{
winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->get_XYFocusLeftNavigationStrategy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::XYFocusLeftNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::XYFocusRightNavigationStrategy() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::XYFocusRightNavigationStrategy() const
{
winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->get_XYFocusRightNavigationStrategy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::XYFocusRightNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::GotFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::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 D> typename consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::GotFocus_revoker consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, GotFocus_revoker>(this, GotFocus(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::GotFocus(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::GotFocus(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->remove_GotFocus(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::LostFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::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 D> typename consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::LostFocus_revoker consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, LostFocus_revoker>(this, LostFocus(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::LostFocus(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::LostFocus(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink4)->remove_LostFocus(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::Focus(winrt::Windows::UI::Xaml::FocusState const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink4<D>::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<int32_t>(value), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_IHyperlink5<D>::IsTabStop() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink5<D>::IsTabStop() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink5)->get_IsTabStop(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink5<D>::IsTabStop(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink5<D>::IsTabStop(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink5)->put_IsTabStop(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_IHyperlink5<D>::TabIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink5<D>::TabIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink5)->get_TabIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IHyperlink5<D>::TabIndex(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlink5<D>::TabIndex(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IHyperlink5)->put_TabIndex(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics<D>::NavigateUriProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics2<D>::UnderlineStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3<D>::XYFocusLeftProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3<D>::XYFocusRightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3<D>::XYFocusUpProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3<D>::XYFocusDownProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3<D>::ElementSoundModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4<D>::FocusStateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4<D>::XYFocusUpNavigationStrategyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4<D>::XYFocusDownNavigationStrategyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4<D>::XYFocusLeftNavigationStrategyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4<D>::XYFocusRightNavigationStrategyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics5<D>::IsTabStopProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IHyperlinkStatics5<D>::TabIndexProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IHyperlinkStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::Inline) consume_Windows_UI_Xaml_Documents_IInlineFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IInlineFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Documents_IInlineUIContainer<D>::Child() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IInlineUIContainer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IInlineUIContainer<D>::Child(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IInlineUIContainer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::InlineCollection) consume_Windows_UI_Xaml_Documents_IParagraph<D>::Inlines() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IParagraph<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Documents_IParagraph<D>::TextIndent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IParagraph<D>::TextIndent() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IParagraph)->get_TextIndent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IParagraph<D>::TextIndent(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IParagraph<D>::TextIndent(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IParagraph)->put_TextIndent(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IParagraphStatics<D>::TextIndentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IParagraphStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Documents_IRun<D>::Text() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IRun<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IRun<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IRun<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IRun)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FlowDirection) consume_Windows_UI_Xaml_Documents_IRun<D>::FlowDirection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IRun<D>::FlowDirection() const
{
winrt::Windows::UI::Xaml::FlowDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IRun)->get_FlowDirection(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_IRun<D>::FlowDirection(winrt::Windows::UI::Xaml::FlowDirection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IRun<D>::FlowDirection(winrt::Windows::UI::Xaml::FlowDirection const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::IRun)->put_FlowDirection(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_IRunStatics<D>::FlowDirectionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_IRunStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::InlineCollection) consume_Windows_UI_Xaml_Documents_ISpan<D>::Inlines() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ISpan<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ISpan<D>::Inlines(winrt::Windows::UI::Xaml::Documents::InlineCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ISpan<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::Span) consume_Windows_UI_Xaml_Documents_ISpanFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ISpanFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Documents_ITextElement<D>::Name() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Documents_ITextElement<D>::FontSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::FontSize() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->get_FontSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement<D>::FontSize(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::FontSize(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->put_FontSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Documents_ITextElement<D>::FontFamily() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement<D>::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontWeight) consume_Windows_UI_Xaml_Documents_ITextElement<D>::FontWeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement<D>::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStyle) consume_Windows_UI_Xaml_Documents_ITextElement<D>::FontStyle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::FontStyle() const
{
winrt::Windows::UI::Text::FontStyle value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->get_FontStyle(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement<D>::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->put_FontStyle(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::FontStretch) consume_Windows_UI_Xaml_Documents_ITextElement<D>::FontStretch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::FontStretch() const
{
winrt::Windows::UI::Text::FontStretch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->get_FontStretch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement<D>::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->put_FontStretch(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_ITextElement<D>::CharacterSpacing() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::CharacterSpacing() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->get_CharacterSpacing(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement<D>::CharacterSpacing(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::CharacterSpacing(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->put_CharacterSpacing(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Documents_ITextElement<D>::Foreground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement<D>::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Documents_ITextElement<D>::Language() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement<D>::Language(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::Language(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement)->put_Language(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Documents_ITextElement<D>::ContentStart() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Documents_ITextElement<D>::ContentEnd() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Documents_ITextElement<D>::ElementStart() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Documents_ITextElement<D>::ElementEnd() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Documents_ITextElement<D>::FindName(param::hstring const& name) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITextElement2<D>::IsTextScaleFactorEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement2<D>::IsTextScaleFactorEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement2)->get_IsTextScaleFactorEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement2<D>::IsTextScaleFactorEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement2<D>::IsTextScaleFactorEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement2)->put_IsTextScaleFactorEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITextElement3<D>::AllowFocusOnInteraction() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement3<D>::AllowFocusOnInteraction() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement3)->get_AllowFocusOnInteraction(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement3<D>::AllowFocusOnInteraction(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement3<D>::AllowFocusOnInteraction(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement3)->put_AllowFocusOnInteraction(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Documents_ITextElement3<D>::AccessKey() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement3<D>::AccessKey(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement3<D>::AccessKey(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement3)->put_AccessKey(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITextElement3<D>::ExitDisplayModeOnAccessKeyInvoked() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement3<D>::ExitDisplayModeOnAccessKeyInvoked() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement3)->get_ExitDisplayModeOnAccessKeyInvoked(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement3<D>::ExitDisplayModeOnAccessKeyInvoked(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement3<D>::ExitDisplayModeOnAccessKeyInvoked(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement3)->put_ExitDisplayModeOnAccessKeyInvoked(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Text::TextDecorations) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::TextDecorations() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::TextDecorations() const
{
winrt::Windows::UI::Text::TextDecorations value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->get_TextDecorations(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->put_TextDecorations(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::IsAccessKeyScope() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::IsAccessKeyScope() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->get_IsAccessKeyScope(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::IsAccessKeyScope(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::IsAccessKeyScope(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->put_IsAccessKeyScope(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyScopeOwner() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyScopeOwner(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::KeyTipPlacementMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::KeyTipPlacementMode() const
{
winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->get_KeyTipPlacementMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::KeyTipPlacementMode(winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::KeyTipHorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::KeyTipHorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->get_KeyTipHorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::KeyTipHorizontalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::KeyTipHorizontalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->put_KeyTipHorizontalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::KeyTipVerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::KeyTipVerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->get_KeyTipVerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::KeyTipVerticalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::KeyTipVerticalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->put_KeyTipVerticalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyDisplayRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyDisplayRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyDisplayRequested_revoker consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyDisplayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyDisplayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AccessKeyDisplayRequested_revoker>(this, AccessKeyDisplayRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyDisplayRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyDisplayRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->remove_AccessKeyDisplayRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyDisplayDismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyDisplayDismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyDisplayDismissed_revoker consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyDisplayDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyDisplayDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AccessKeyDisplayDismissed_revoker>(this, AccessKeyDisplayDismissed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyDisplayDismissed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyDisplayDismissed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->remove_AccessKeyDisplayDismissed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyInvoked_revoker consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AccessKeyInvoked_revoker>(this, AccessKeyInvoked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyInvoked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement4<D>::AccessKeyInvoked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElement4)->remove_AccessKeyInvoked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::XamlRoot) consume_Windows_UI_Xaml_Documents_ITextElement5<D>::XamlRoot() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElement5<D>::XamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElement5<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextElementOverrides<D>::OnDisconnectVisualChildren() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementOverrides<D>::OnDisconnectVisualChildren() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextElementOverrides)->OnDisconnectVisualChildren());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics<D>::FontSizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics<D>::FontFamilyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics<D>::FontWeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics<D>::FontStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics<D>::FontStretchProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics<D>::CharacterSpacingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics<D>::ForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics<D>::LanguageProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics2<D>::IsTextScaleFactorEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics3<D>::AllowFocusOnInteractionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics3<D>::AccessKeyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics3<D>::ExitDisplayModeOnAccessKeyInvokedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics4<D>::TextDecorationsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics4<D>::IsAccessKeyScopeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics4<D>::AccessKeyScopeOwnerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics4<D>::KeyTipPlacementModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics4<D>::KeyTipHorizontalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextElementStatics4<D>::KeyTipVerticalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Documents::TextRange>) consume_Windows_UI_Xaml_Documents_ITextHighlighter<D>::Ranges() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextHighlighter<D>::Ranges() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextHighlighter)->get_Ranges(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Documents::TextRange>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Documents_ITextHighlighter<D>::Foreground() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextHighlighter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextHighlighter<D>::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextHighlighter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Documents_ITextHighlighter<D>::Background() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextHighlighter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITextHighlighter<D>::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextHighlighter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextHighlighter) consume_Windows_UI_Xaml_Documents_ITextHighlighterFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextHighlighterFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextHighlighterStatics<D>::ForegroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextHighlighterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITextHighlighterStatics<D>::BackgroundProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextHighlighterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Documents_ITextPointer<D>::Parent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextPointer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FrameworkElement) consume_Windows_UI_Xaml_Documents_ITextPointer<D>::VisualParent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextPointer<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::LogicalDirection) consume_Windows_UI_Xaml_Documents_ITextPointer<D>::LogicalDirection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextPointer<D>::LogicalDirection() const
{
winrt::Windows::UI::Xaml::Documents::LogicalDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextPointer)->get_LogicalDirection(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_ITextPointer<D>::Offset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextPointer<D>::Offset() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Documents::ITextPointer)->get_Offset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Documents_ITextPointer<D>::GetCharacterRect(winrt::Windows::UI::Xaml::Documents::LogicalDirection const& direction) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextPointer<D>::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<int32_t>(direction), put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Documents::TextPointer) consume_Windows_UI_Xaml_Documents_ITextPointer<D>::GetPositionAtOffset(int32_t offset, winrt::Windows::UI::Xaml::Documents::LogicalDirection const& direction) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITextPointer<D>::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<int32_t>(direction), &result));
return winrt::Windows::UI::Xaml::Documents::TextPointer{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::AnnotationAlternatesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetAnnotationAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetAnnotationAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::EastAsianExpertFormsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetEastAsianExpertForms(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetEastAsianExpertForms(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::EastAsianLanguageProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontEastAsianLanguage) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetEastAsianLanguage(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetEastAsianLanguage(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontEastAsianLanguage const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::EastAsianWidthsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontEastAsianWidths) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetEastAsianWidths(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetEastAsianWidths(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontEastAsianWidths const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StandardLigaturesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStandardLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStandardLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::ContextualLigaturesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetContextualLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetContextualLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::DiscretionaryLigaturesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetDiscretionaryLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetDiscretionaryLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::HistoricalLigaturesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetHistoricalLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetHistoricalLigatures(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StandardSwashesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStandardSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStandardSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::ContextualSwashesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetContextualSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetContextualSwashes(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::ContextualAlternatesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetContextualAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetContextualAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticAlternatesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticAlternates(winrt::Windows::UI::Xaml::DependencyObject const& element, int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet1Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet1(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet1(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet2Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet2(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet2(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet3Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet3(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet3(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet4Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet4(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet4(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet5Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet5(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet5(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet6Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet6(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet6(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet7Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet7(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet7(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet8Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet8(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet8(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet9Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet9(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet9(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet10Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet10(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet10(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet11Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet11(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet11(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet12Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet12(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet12(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet13Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet13(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet13(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet14Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet14(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet14(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet15Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet15(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet15(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet16Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet16(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet16(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet17Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet17(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet17(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet18Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet18(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet18(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet19Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet19(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet19(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::StylisticSet20Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetStylisticSet20(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetStylisticSet20(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::CapitalsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontCapitals) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetCapitals(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetCapitals(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontCapitals const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::CapitalSpacingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetCapitalSpacing(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetCapitalSpacing(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::KerningProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetKerning(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetKerning(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::CaseSensitiveFormsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetCaseSensitiveForms(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetCaseSensitiveForms(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::HistoricalFormsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetHistoricalForms(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetHistoricalForms(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::FractionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontFraction) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetFraction(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetFraction(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontFraction const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::NumeralStyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontNumeralStyle) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetNumeralStyle(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetNumeralStyle(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontNumeralStyle const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::NumeralAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontNumeralAlignment) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetNumeralAlignment(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetNumeralAlignment(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontNumeralAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SlashedZeroProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetSlashedZero(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetSlashedZero(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::MathematicalGreekProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetMathematicalGreek(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetMathematicalGreek(winrt::Windows::UI::Xaml::DependencyObject const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::VariantsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FontVariants) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::GetVariants(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::SetVariants(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FontVariants const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Documents_ITypographyStatics<D>::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<int32_t>(value)));
}
@@ -6067,7 +6067,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Documents
Underline(impl::call_factory_cast<Underline(*)(winrt::Windows::Foundation::IActivationFactory const&), Underline>([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<Underline>(); }))
{
}
- template <typename D> WINRT_IMPL_AUTO(void) ITextElementOverridesT<D>::OnDisconnectVisualChildren() const
+ template <typename D> auto ITextElementOverridesT<D>::OnDisconnectVisualChildren() const
{
return shim().template try_as<ITextElementOverrides>().OnDisconnectVisualChildren();
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Hosting.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Hosting.h
index 0bb2a36212e..369faf41414 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Hosting.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Hosting_IDesignerAppExitedEventArgs<D>::ExitCode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesignerAppExitedEventArgs<D>::ExitCode() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesignerAppExitedEventArgs)->get_ExitCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Hosting_IDesignerAppManager<D>::AppUserModelId() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesignerAppManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Hosting_IDesignerAppManager<D>::DesignerAppExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesignerAppManager, winrt::Windows::UI::Xaml::Hosting::DesignerAppExitedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesignerAppManager<D>::DesignerAppExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesignerAppManager, winrt::Windows::UI::Xaml::Hosting::DesignerAppExitedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Hosting_IDesignerAppManager<D>::DesignerAppExited_revoker consume_Windows_UI_Xaml_Hosting_IDesignerAppManager<D>::DesignerAppExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesignerAppManager, winrt::Windows::UI::Xaml::Hosting::DesignerAppExitedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesignerAppManager<D>::DesignerAppExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesignerAppManager, winrt::Windows::UI::Xaml::Hosting::DesignerAppExitedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DesignerAppExited_revoker>(this, DesignerAppExited(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IDesignerAppManager<D>::DesignerAppExited(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesignerAppManager<D>::DesignerAppExited(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesignerAppManager)->remove_DesignerAppExited(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Hosting::DesignerAppView>) consume_Windows_UI_Xaml_Hosting_IDesignerAppManager<D>::CreateNewViewAsync(winrt::Windows::UI::Xaml::Hosting::DesignerAppViewState const& initialViewState, winrt::Windows::Foundation::Size const& initialViewSize) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesignerAppManager<D>::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<int32_t>(initialViewState), impl::bind_in(initialViewSize), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Hosting::DesignerAppView>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Hosting_IDesignerAppManager<D>::LoadObjectIntoAppAsync(param::hstring const& dllName, winrt::guid const& classId, param::hstring const& initializationData) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesignerAppManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::DesignerAppManager) consume_Windows_UI_Xaml_Hosting_IDesignerAppManagerFactory<D>::Create(param::hstring const& appUserModelId) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesignerAppManagerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Hosting_IDesignerAppView<D>::ApplicationViewId() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesignerAppView<D>::ApplicationViewId() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesignerAppView)->get_ApplicationViewId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Hosting_IDesignerAppView<D>::AppUserModelId() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesignerAppView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::DesignerAppViewState) consume_Windows_UI_Xaml_Hosting_IDesignerAppView<D>::ViewState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesignerAppView<D>::ViewState() const
{
winrt::Windows::UI::Xaml::Hosting::DesignerAppViewState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesignerAppView)->get_ViewState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_Hosting_IDesignerAppView<D>::ViewSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesignerAppView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Hosting_IDesignerAppView<D>::UpdateViewAsync(winrt::Windows::UI::Xaml::Hosting::DesignerAppViewState const& viewState, winrt::Windows::Foundation::Size const& viewSize) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesignerAppView<D>::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<int32_t>(viewState), impl::bind_in(viewSize), &operation));
return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::Content(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::HasFocus() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::HasFocus() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource)->get_HasFocus(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::TakeFocusRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource, winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSourceTakeFocusRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::TakeFocusRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource, winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSourceTakeFocusRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::TakeFocusRequested_revoker consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::TakeFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource, winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSourceTakeFocusRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::TakeFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource, winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSourceTakeFocusRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, TakeFocusRequested_revoker>(this, TakeFocusRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::TakeFocusRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::TakeFocusRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource)->remove_TakeFocusRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::GotFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource, winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSourceGotFocusEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::GotFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource, winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSourceGotFocusEventArgs> 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 D> typename consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::GotFocus_revoker consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource, winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSourceGotFocusEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource, winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSourceGotFocusEventArgs> const& handler) const
{
return impl::make_event_revoker<D, GotFocus_revoker>(this, GotFocus(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::GotFocus(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::GotFocus(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource)->remove_GotFocus(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationResult) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::NavigateFocus(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest const& request) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceGotFocusEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceGotFocusEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest) consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceTakeFocusRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IDesktopWindowXamlSourceTakeFocusRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics<D>::GetElementVisual(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics<D>::GetElementChildVisual(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics<D>::SetElementChildVisual(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::Visual const& visual) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPropertySet) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics<D>::GetScrollViewerManipulationPropertySet(winrt::Windows::UI::Xaml::Controls::ScrollViewer const& scrollViewer) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2<D>::SetImplicitShowAnimation(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2<D>::SetImplicitHideAnimation(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2<D>::SetIsTranslationEnabled(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionPropertySet) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2<D>::GetPointerPositionPropertySet(winrt::Windows::UI::Xaml::UIElement const& targetElement) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics3<D>::SetAppWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& appWindow, winrt::Windows::UI::Xaml::UIElement const& xamlContent) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics3<D>::GetAppWindowContent(winrt::Windows::UI::WindowManagement::AppWindow const& appWindow) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IElementCompositionPreviewStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::WindowsXamlManager) consume_Windows_UI_Xaml_Hosting_IWindowsXamlManagerStatics<D>::InitializeForCurrentThread() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IWindowsXamlManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason) consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequest<D>::Reason() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequest<D>::Reason() const
{
winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationRequest)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequest<D>::HintRect() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequest<D>::CorrelationId() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequest<D>::CorrelationId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationRequest)->get_CorrelationId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest) consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequestFactory<D>::CreateInstance(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequestFactory<D>::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<int32_t>(reason), &value));
return winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest) consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequestFactory<D>::CreateInstanceWithHintRect(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason, winrt::Windows::Foundation::Rect const& hintRect) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequestFactory<D>::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<int32_t>(reason), impl::bind_in(hintRect), &value));
return winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest) consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequestFactory<D>::CreateInstanceWithHintRectAndCorrelationId(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationReason const& reason, winrt::Windows::Foundation::Rect const& hintRect, winrt::guid const& correlationId) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationRequestFactory<D>::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<int32_t>(reason), impl::bind_in(hintRect), impl::bind_in(correlationId), &value));
return winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationRequest{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationResult<D>::WasFocusMoved() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationResult<D>::WasFocusMoved() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationResult)->get_WasFocusMoved(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::XamlSourceFocusNavigationResult) consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationResultFactory<D>::CreateInstance(bool focusMoved) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationResultFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::RootElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::RootElement(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::ThemeKey() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::ThemeKey(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::ThemeKey(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter)->put_ThemeKey(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::ThemeResourcesXaml() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::ThemeResourcesXaml(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::ThemeResourcesXaml(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter)->put_ThemeResourcesXaml(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::SetSize(int32_t width, int32_t height) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::SetSize(int32_t width, int32_t height) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter)->SetSize(width, height));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::Render() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::Render() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter)->Render());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::Present() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenter<D>::Present() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter)->Present());
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost<D>::ResolveFileResource(param::hstring const& path) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost2<D>::GetGenericXamlFilePath() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost3<D>::ResolveDictionaryResource(winrt::Windows::UI::Xaml::ResourceDictionary const& dictionary, winrt::Windows::Foundation::IInspectable const& dictionaryKey, winrt::Windows::Foundation::IInspectable const& suggestedValue) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics<D>::CompleteTimelinesAutomatically() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics<D>::CompleteTimelinesAutomatically() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterStatics)->get_CompleteTimelinesAutomatically(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics<D>::CompleteTimelinesAutomatically(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics<D>::CompleteTimelinesAutomatically(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterStatics)->put_CompleteTimelinesAutomatically(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics<D>::SetHost(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterHost const& host) const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics<D>::NotifyWindowSizeChanged() const
+ template <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics<D>::NotifyWindowSizeChanged() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterStatics)->NotifyWindowSizeChanged());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics2<D>::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 <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics2<D>::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<int32_t>(preferredPlacement), reinterpret_cast<int32_t*>(&targetPreferredPlacement), &allowFallbacks, put_abi(returnValue)));
return returnValue;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics2<D>::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 <typename D> auto consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterStatics2<D>::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<int32_t>(targetPreferredPlacement), allowFallbacks, reinterpret_cast<int32_t*>(&chosenPlacement), put_abi(returnValue)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Input.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Input.h
index 09544677859..8b7ea8870f6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Input.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Input_IAccessKeyDisplayRequestedEventArgs<D>::PressedKeys() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IAccessKeyDisplayRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IAccessKeyInvokedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IAccessKeyInvokedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyInvokedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IAccessKeyInvokedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IAccessKeyInvokedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyInvokedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics<D>::IsDisplayModeEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics<D>::IsDisplayModeEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics)->get_IsDisplayModeEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics<D>::IsDisplayModeEnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics<D>::IsDisplayModeEnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics<D>::IsDisplayModeEnabledChanged_revoker consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics<D>::IsDisplayModeEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics<D>::IsDisplayModeEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, IsDisplayModeEnabledChanged_revoker>(this, IsDisplayModeEnabledChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics<D>::IsDisplayModeEnabledChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics<D>::IsDisplayModeEnabledChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics)->remove_IsDisplayModeEnabledChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics<D>::ExitDisplayMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics<D>::ExitDisplayMode() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics)->ExitDisplayMode());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics2<D>::AreKeyTipsEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics2<D>::AreKeyTipsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics2)->get_AreKeyTipsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics2<D>::AreKeyTipsEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics2<D>::AreKeyTipsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics2)->put_AreKeyTipsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Input_ICanExecuteRequestedEventArgs<D>::Parameter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ICanExecuteRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_ICanExecuteRequestedEventArgs<D>::CanExecute() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ICanExecuteRequestedEventArgs<D>::CanExecute() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICanExecuteRequestedEventArgs)->get_CanExecute(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_ICanExecuteRequestedEventArgs<D>::CanExecute(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ICanExecuteRequestedEventArgs<D>::CanExecute(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICanExecuteRequestedEventArgs)->put_CanExecute(value));
}
- template <typename D> WINRT_IMPL_AUTO(char16_t) consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs<D>::Character() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs<D>::Character() const
{
char16_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICharacterReceivedRoutedEventArgs)->get_Character(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs<D>::KeyStatus() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICharacterReceivedRoutedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICharacterReceivedRoutedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_ICommand<D>::CanExecuteChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ICommand<D>::CanExecuteChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Input_ICommand<D>::CanExecuteChanged_revoker consume_Windows_UI_Xaml_Input_ICommand<D>::CanExecuteChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ICommand<D>::CanExecuteChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, CanExecuteChanged_revoker>(this, CanExecuteChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_ICommand<D>::CanExecuteChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ICommand<D>::CanExecuteChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICommand)->remove_CanExecuteChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_ICommand<D>::CanExecute(winrt::Windows::Foundation::IInspectable const& parameter) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ICommand<D>::CanExecute(winrt::Windows::Foundation::IInspectable const& parameter) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICommand)->CanExecute(*(void**)(&parameter), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_ICommand<D>::Execute(winrt::Windows::Foundation::IInspectable const& parameter) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ICommand<D>::Execute(winrt::Windows::Foundation::IInspectable const& parameter) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICommand)->Execute(*(void**)(&parameter)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IContextRequestedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IContextRequestedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IContextRequestedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IContextRequestedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IContextRequestedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IContextRequestedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IContextRequestedEventArgs<D>::TryGetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo, winrt::Windows::Foundation::Point& point) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IContextRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IDoubleTappedRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IDoubleTappedRoutedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IDoubleTappedRoutedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs<D>::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Input_IExecuteRequestedEventArgs<D>::Parameter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IExecuteRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IFindNextElementOptions<D>::SearchRoot() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IFindNextElementOptions<D>::SearchRoot(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Input_IFindNextElementOptions<D>::ExclusionRect() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IFindNextElementOptions<D>::ExclusionRect(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Input_IFindNextElementOptions<D>::HintRect() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IFindNextElementOptions<D>::HintRect(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategyOverride) consume_Windows_UI_Xaml_Input_IFindNextElementOptions<D>::XYFocusNavigationStrategyOverride() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions<D>::XYFocusNavigationStrategyOverride() const
{
winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategyOverride value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFindNextElementOptions)->get_XYFocusNavigationStrategyOverride(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IFindNextElementOptions<D>::XYFocusNavigationStrategyOverride(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategyOverride const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IFocusManagerGotFocusEventArgs<D>::NewFocusedElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerGotFocusEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_UI_Xaml_Input_IFocusManagerGotFocusEventArgs<D>::CorrelationId() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerGotFocusEventArgs<D>::CorrelationId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerGotFocusEventArgs)->get_CorrelationId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IFocusManagerLostFocusEventArgs<D>::OldFocusedElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerLostFocusEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_UI_Xaml_Input_IFocusManagerLostFocusEventArgs<D>::CorrelationId() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerLostFocusEventArgs<D>::CorrelationId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerLostFocusEventArgs)->get_CorrelationId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Input_IFocusManagerStatics<D>::GetFocusedElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IFocusManagerStatics2<D>::TryMoveFocus(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics2<D>::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<int32_t>(focusNavigationDirection), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Input_IFocusManagerStatics3<D>::FindNextFocusableElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics3<D>::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<int32_t>(focusNavigationDirection), &result));
return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Input_IFocusManagerStatics3<D>::FindNextFocusableElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::Foundation::Rect const& hintRect) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics3<D>::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<int32_t>(focusNavigationDirection), impl::bind_in(hintRect), &result));
return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IFocusManagerStatics4<D>::TryMoveFocus(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics4<D>::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<int32_t>(focusNavigationDirection), *(void**)(&focusNavigationOptions), &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IFocusManagerStatics4<D>::FindNextElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics4<D>::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<int32_t>(focusNavigationDirection), &result));
return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IFocusManagerStatics4<D>::FindFirstFocusableElement(winrt::Windows::UI::Xaml::DependencyObject const& searchScope) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IFocusManagerStatics4<D>::FindLastFocusableElement(winrt::Windows::UI::Xaml::DependencyObject const& searchScope) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IFocusManagerStatics4<D>::FindNextElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics4<D>::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<int32_t>(focusNavigationDirection), *(void**)(&focusNavigationOptions), &result));
return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Input::FocusMovementResult>) consume_Windows_UI_Xaml_Input_IFocusManagerStatics5<D>::TryFocusAsync(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FocusState const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics5<D>::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<int32_t>(value), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Input::FocusMovementResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Input::FocusMovementResult>) consume_Windows_UI_Xaml_Input_IFocusManagerStatics5<D>::TryMoveFocusAsync(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics5<D>::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<int32_t>(focusNavigationDirection), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Input::FocusMovementResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Input::FocusMovementResult>) consume_Windows_UI_Xaml_Input_IFocusManagerStatics5<D>::TryMoveFocusAsync(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics5<D>::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<int32_t>(focusNavigationDirection), *(void**)(&focusNavigationOptions), &operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Input::FocusMovementResult>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::GotFocus(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerGotFocusEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::GotFocus(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerGotFocusEventArgs> 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 D> typename consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::GotFocus_revoker consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerGotFocusEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerGotFocusEventArgs> const& handler) const
{
return impl::make_event_revoker<D, GotFocus_revoker>(this, GotFocus(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::GotFocus(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::GotFocus(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->remove_GotFocus(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::LostFocus(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerLostFocusEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::LostFocus(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerLostFocusEventArgs> 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 D> typename consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::LostFocus_revoker consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerLostFocusEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerLostFocusEventArgs> const& handler) const
{
return impl::make_event_revoker<D, LostFocus_revoker>(this, LostFocus(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::LostFocus(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::LostFocus(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->remove_LostFocus(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::GettingFocus(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::GettingFocus(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> 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 D> typename consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::GettingFocus_revoker consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> const& handler) const
{
return impl::make_event_revoker<D, GettingFocus_revoker>(this, GettingFocus(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::GettingFocus(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::GettingFocus(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->remove_GettingFocus(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::LosingFocus(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::LosingFocus(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> 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 D> typename consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::LosingFocus_revoker consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::LosingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::LosingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> const& handler) const
{
return impl::make_event_revoker<D, LosingFocus_revoker>(this, LosingFocus(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::LosingFocus(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6<D>::LosingFocus(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->remove_LosingFocus(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Input_IFocusManagerStatics7<D>::GetFocusedElement(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics7<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IFocusMovementResult<D>::Succeeded() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IFocusMovementResult<D>::Succeeded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusMovementResult)->get_Succeeded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::OldFocusedElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::NewFocusedElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::NewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusState) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::FocusState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::FocusState() const
{
winrt::Windows::UI::Xaml::FocusState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_FocusState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::Direction() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::Direction() const
{
winrt::Windows::UI::Xaml::Input::FocusNavigationDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_Direction(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::InputDevice() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::InputDevice() const
{
winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_InputDevice(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs2<D>::TryCancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs2<D>::TryCancel() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs2)->TryCancel(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs2<D>::TrySetNewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs3<D>::CorrelationId() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs3<D>::CorrelationId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs3)->get_CorrelationId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IHoldingRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::HoldingState) consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs<D>::HoldingState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs<D>::HoldingState() const
{
winrt::Windows::UI::Input::HoldingState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IHoldingRoutedEventArgs)->get_HoldingState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IHoldingRoutedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IHoldingRoutedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs<D>::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior<D>::DesiredDeceleration() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior<D>::DesiredDeceleration() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaExpansionBehavior)->get_DesiredDeceleration(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior<D>::DesiredDeceleration(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior<D>::DesiredDeceleration(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaExpansionBehavior)->put_DesiredDeceleration(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior<D>::DesiredExpansion() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior<D>::DesiredExpansion() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaExpansionBehavior)->get_DesiredExpansion(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior<D>::DesiredExpansion(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior<D>::DesiredExpansion(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaExpansionBehavior)->put_DesiredExpansion(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior<D>::DesiredDeceleration() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior<D>::DesiredDeceleration() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaRotationBehavior)->get_DesiredDeceleration(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior<D>::DesiredDeceleration(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior<D>::DesiredDeceleration(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaRotationBehavior)->put_DesiredDeceleration(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior<D>::DesiredRotation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior<D>::DesiredRotation() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaRotationBehavior)->get_DesiredRotation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior<D>::DesiredRotation(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior<D>::DesiredRotation(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaRotationBehavior)->put_DesiredRotation(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior<D>::DesiredDeceleration() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior<D>::DesiredDeceleration() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaTranslationBehavior)->get_DesiredDeceleration(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior<D>::DesiredDeceleration(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior<D>::DesiredDeceleration(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaTranslationBehavior)->put_DesiredDeceleration(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior<D>::DesiredDisplacement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior<D>::DesiredDisplacement() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaTranslationBehavior)->get_DesiredDisplacement(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior<D>::DesiredDisplacement(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior<D>::DesiredDisplacement(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaTranslationBehavior)->put_DesiredDisplacement(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Input::InputScopeName>) consume_Windows_UI_Xaml_Input_IInputScope<D>::Names() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IInputScope<D>::Names() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInputScope)->get_Names(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Input::InputScopeName>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InputScopeNameValue) consume_Windows_UI_Xaml_Input_IInputScopeName<D>::NameValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IInputScopeName<D>::NameValue() const
{
winrt::Windows::UI::Xaml::Input::InputScopeNameValue value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInputScopeName)->get_NameValue(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IInputScopeName<D>::NameValue(winrt::Windows::UI::Xaml::Input::InputScopeNameValue const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IInputScopeName<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InputScopeName) consume_Windows_UI_Xaml_Input_IInputScopeNameFactory<D>::CreateInstance(winrt::Windows::UI::Xaml::Input::InputScopeNameValue const& nameValue) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IInputScopeNameFactory<D>::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<int32_t>(nameValue), &value));
return winrt::Windows::UI::Xaml::Input::InputScopeName{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs<D>::Key() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs<D>::Key() const
{
winrt::Windows::System::VirtualKey value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs)->get_Key(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs<D>::KeyStatus() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs2<D>::OriginalKey() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs2<D>::OriginalKey() const
{
winrt::Windows::System::VirtualKey value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs2)->get_OriginalKey(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs3<D>::DeviceId() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::Key() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::Key() const
{
winrt::Windows::System::VirtualKey value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->get_Key(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::Key(winrt::Windows::System::VirtualKey const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::Key(winrt::Windows::System::VirtualKey const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->put_Key(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::Modifiers() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::Modifiers() const
{
winrt::Windows::System::VirtualKeyModifiers value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->get_Modifiers(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::Modifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::Modifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->put_Modifiers(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::IsEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::IsEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->put_IsEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::ScopeOwner() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::ScopeOwner(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::Invoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Input::KeyboardAccelerator, winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::Invoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Input::KeyboardAccelerator, winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::Invoked_revoker consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Input::KeyboardAccelerator, winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Input::KeyboardAccelerator, winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Invoked_revoker>(this, Invoked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::Invoked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator<D>::Invoked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->remove_Invoked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyboardAccelerator) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorInvokedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorInvokedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs<D>::Element() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyboardAccelerator) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs2<D>::KeyboardAccelerator() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics<D>::KeyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics<D>::ModifiersProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics<D>::IsEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics<D>::ScopeOwnerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::OldFocusedElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::NewFocusedElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::NewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusState) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::FocusState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::FocusState() const
{
winrt::Windows::UI::Xaml::FocusState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_FocusState(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::Direction() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::Direction() const
{
winrt::Windows::UI::Xaml::Input::FocusNavigationDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_Direction(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::InputDevice() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::InputDevice() const
{
winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_InputDevice(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs2<D>::TryCancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs2<D>::TryCancel() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs2)->TryCancel(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs2<D>::TrySetNewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs3<D>::CorrelationId() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs3<D>::CorrelationId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs3)->get_CorrelationId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs<D>::Container() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs<D>::IsInertial() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs<D>::IsInertial() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->get_IsInertial(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs<D>::Cumulative() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs<D>::Velocities() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::Container() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::IsInertial() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::IsInertial() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_IsInertial(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::Delta() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::Cumulative() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::Velocities() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::Complete() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::Container() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InertiaExpansionBehavior) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::ExpansionBehavior() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::ExpansionBehavior(winrt::Windows::UI::Xaml::Input::InertiaExpansionBehavior const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InertiaRotationBehavior) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::RotationBehavior() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::RotationBehavior(winrt::Windows::UI::Xaml::Input::InertiaRotationBehavior const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::InertiaTranslationBehavior) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::TranslationBehavior() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::TranslationBehavior(winrt::Windows::UI::Xaml::Input::InertiaTranslationBehavior const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::Delta() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::Cumulative() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationVelocities) consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::Velocities() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Input_IManipulationPivot<D>::Center() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationPivot<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationPivot<D>::Center(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationPivot<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Input_IManipulationPivot<D>::Radius() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationPivot<D>::Radius() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationPivot)->get_Radius(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationPivot<D>::Radius(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationPivot<D>::Radius(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationPivot)->put_Radius(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ManipulationPivot) consume_Windows_UI_Xaml_Input_IManipulationPivotFactory<D>::CreateInstanceWithCenterAndRadius(winrt::Windows::Foundation::Point const& center, double radius) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationPivotFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs<D>::Container() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs<D>::Position() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::ManipulationDelta) consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs<D>::Cumulative() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs<D>::Complete() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs) consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgsFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ManipulationModes) consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs<D>::Mode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs<D>::Mode() const
{
winrt::Windows::UI::Xaml::Input::ManipulationModes value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->get_Mode(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs<D>::Mode(winrt::Windows::UI::Xaml::Input::ManipulationModes const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs<D>::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<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs<D>::Container() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs<D>::Container(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ManipulationPivot) consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs<D>::Pivot() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs<D>::Pivot(winrt::Windows::UI::Xaml::Input::ManipulationPivot const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection) consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs<D>::Direction() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs<D>::Direction() const
{
winrt::Windows::UI::Xaml::Input::FocusNavigationDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::INoFocusCandidateFoundEventArgs)->get_Direction(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::INoFocusCandidateFoundEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::INoFocusCandidateFoundEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind) consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs<D>::InputDevice() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs<D>::InputDevice() const
{
winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::INoFocusCandidateFoundEventArgs)->get_InputDevice(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Input_IPointer<D>::PointerId() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IPointer<D>::PointerId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointer)->get_PointerId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_IPointer<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IPointer<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointer)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IPointer<D>::IsInContact() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IPointer<D>::IsInContact() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointer)->get_IsInContact(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IPointer<D>::IsInRange() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IPointer<D>::IsInRange() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointer)->get_IsInRange(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::Pointer) consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs<D>::Pointer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs<D>::KeyModifiers() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs<D>::KeyModifiers() const
{
winrt::Windows::System::VirtualKeyModifiers value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs)->get_KeyModifiers(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerPoint) consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs<D>::GetCurrentPoint(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Input::PointerPoint>) consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs<D>::GetIntermediatePoints(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs<D>::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<winrt::Windows::UI::Input::PointerPoint>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs2<D>::IsGenerated() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs2<D>::IsGenerated() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs2)->get_IsGenerated(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs<D>::Key() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs<D>::Key() const
{
winrt::Windows::System::VirtualKey value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IProcessKeyboardAcceleratorEventArgs)->get_Key(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKeyModifiers) consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs<D>::Modifiers() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs<D>::Modifiers() const
{
winrt::Windows::System::VirtualKeyModifiers value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IProcessKeyboardAcceleratorEventArgs)->get_Modifiers(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IProcessKeyboardAcceleratorEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IProcessKeyboardAcceleratorEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IRightTappedRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IRightTappedRoutedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IRightTappedRoutedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs<D>::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::StandardUICommandKind) consume_Windows_UI_Xaml_Input_IStandardUICommand<D>::Kind() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IStandardUICommand<D>::Kind() const
{
winrt::Windows::UI::Xaml::Input::StandardUICommandKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IStandardUICommand)->get_Kind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IStandardUICommand2<D>::Kind(winrt::Windows::UI::Xaml::Input::StandardUICommandKind const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IStandardUICommand2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::StandardUICommand) consume_Windows_UI_Xaml_Input_IStandardUICommandFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IStandardUICommandFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::StandardUICommand) consume_Windows_UI_Xaml_Input_IStandardUICommandFactory<D>::CreateInstanceWithKind(winrt::Windows::UI::Xaml::Input::StandardUICommandKind const& kind, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IStandardUICommandFactory<D>::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<int32_t>(kind), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value));
return winrt::Windows::UI::Xaml::Input::StandardUICommand{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IStandardUICommandStatics<D>::KindProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IStandardUICommandStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PointerDeviceType) consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs<D>::PointerDeviceType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs<D>::PointerDeviceType() const
{
winrt::Windows::Devices::Input::PointerDeviceType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ITappedRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ITappedRoutedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ITappedRoutedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs<D>::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::Label() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::Label(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::Label(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->put_Label(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::IconSource) consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::IconSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::IconSource(winrt::Windows::UI::Xaml::Controls::IconSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Input::KeyboardAccelerator>) consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::KeyboardAccelerators() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::KeyboardAccelerators() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->get_KeyboardAccelerators(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Input::KeyboardAccelerator>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::AccessKey() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::AccessKey(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::AccessKey(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->put_AccessKey(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::Description() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::Description(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::Description(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->put_Description(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ICommand) consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::Command() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::ExecuteRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Input::XamlUICommand, winrt::Windows::UI::Xaml::Input::ExecuteRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::ExecuteRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Input::XamlUICommand, winrt::Windows::UI::Xaml::Input::ExecuteRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::ExecuteRequested_revoker consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::ExecuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Input::XamlUICommand, winrt::Windows::UI::Xaml::Input::ExecuteRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::ExecuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Input::XamlUICommand, winrt::Windows::UI::Xaml::Input::ExecuteRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ExecuteRequested_revoker>(this, ExecuteRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::ExecuteRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::ExecuteRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->remove_ExecuteRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::CanExecuteRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Input::XamlUICommand, winrt::Windows::UI::Xaml::Input::CanExecuteRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::CanExecuteRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Input::XamlUICommand, winrt::Windows::UI::Xaml::Input::CanExecuteRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::CanExecuteRequested_revoker consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::CanExecuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Input::XamlUICommand, winrt::Windows::UI::Xaml::Input::CanExecuteRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::CanExecuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Input::XamlUICommand, winrt::Windows::UI::Xaml::Input::CanExecuteRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CanExecuteRequested_revoker>(this, CanExecuteRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::CanExecuteRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::CanExecuteRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->remove_CanExecuteRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::NotifyCanExecuteChanged() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommand<D>::NotifyCanExecuteChanged() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->NotifyCanExecuteChanged());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XamlUICommand) consume_Windows_UI_Xaml_Input_IXamlUICommandFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommandFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IXamlUICommandStatics<D>::LabelProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IXamlUICommandStatics<D>::IconSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IXamlUICommandStatics<D>::KeyboardAcceleratorsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IXamlUICommandStatics<D>::AccessKeyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IXamlUICommandStatics<D>::DescriptionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Input_IXamlUICommandStatics<D>::CommandProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics<D>::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<AccessKeyManager, IAccessKeyManagerStatics>([&](IAccessKeyManagerStatics const& f) { return f.IsDisplayModeEnabledChanged(handler); });
}
- inline AccessKeyManager::IsDisplayModeEnabledChanged_revoker AccessKeyManager::IsDisplayModeEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto AccessKeyManager::IsDisplayModeEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<AccessKeyManager, winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics>();
- 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<FocusManager, IFocusManagerStatics6>([&](IFocusManagerStatics6 const& f) { return f.GotFocus(handler); });
}
- inline FocusManager::GotFocus_revoker FocusManager::GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerGotFocusEventArgs> const& handler)
+ inline auto FocusManager::GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerGotFocusEventArgs> const& handler)
{
auto f = get_activation_factory<FocusManager, winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6>();
- 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<FocusManager, IFocusManagerStatics6>([&](IFocusManagerStatics6 const& f) { return f.LostFocus(handler); });
}
- inline FocusManager::LostFocus_revoker FocusManager::LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerLostFocusEventArgs> const& handler)
+ inline auto FocusManager::LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerLostFocusEventArgs> const& handler)
{
auto f = get_activation_factory<FocusManager, winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6>();
- 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<FocusManager, IFocusManagerStatics6>([&](IFocusManagerStatics6 const& f) { return f.GettingFocus(handler); });
}
- inline FocusManager::GettingFocus_revoker FocusManager::GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> const& handler)
+ inline auto FocusManager::GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> const& handler)
{
auto f = get_activation_factory<FocusManager, winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6>();
- 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<FocusManager, IFocusManagerStatics6>([&](IFocusManagerStatics6 const& f) { return f.LosingFocus(handler); });
}
- inline FocusManager::LosingFocus_revoker FocusManager::LosingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> const& handler)
+ inline auto FocusManager::LosingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> const& handler)
{
auto f = get_activation_factory<FocusManager, winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6>();
- 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Interop.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Interop.h
index ba6ca4c5ea5..033c7256f75 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Interop.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::IBindableIterator) consume_Windows_UI_Xaml_Interop_IBindableIterable<D>::First() const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableIterable<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Interop_IBindableIterator<D>::Current() const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableIterator<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Interop_IBindableIterator<D>::HasCurrent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableIterator<D>::HasCurrent() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableIterator)->get_HasCurrent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Interop_IBindableIterator<D>::MoveNext() const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableIterator<D>::MoveNext() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableIterator)->MoveNext(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Interop_IBindableObservableVector<D>::VectorChanged(winrt::Windows::UI::Xaml::Interop::BindableVectorChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableObservableVector<D>::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 D> typename consume_Windows_UI_Xaml_Interop_IBindableObservableVector<D>::VectorChanged_revoker consume_Windows_UI_Xaml_Interop_IBindableObservableVector<D>::VectorChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Interop::BindableVectorChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableObservableVector<D>::VectorChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Interop::BindableVectorChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, VectorChanged_revoker>(this, VectorChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Interop_IBindableObservableVector<D>::VectorChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableObservableVector<D>::VectorChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableObservableVector)->remove_VectorChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Interop_IBindableVector<D>::GetAt(uint32_t index) const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableVector<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Interop_IBindableVector<D>::Size() const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableVector<D>::Size() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVector)->get_Size(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::IBindableVectorView) consume_Windows_UI_Xaml_Interop_IBindableVector<D>::GetView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableVector<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Interop_IBindableVector<D>::IndexOf(winrt::Windows::Foundation::IInspectable const& value, uint32_t& index) const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableVector<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Interop_IBindableVector<D>::SetAt(uint32_t index, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableVector<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Interop_IBindableVector<D>::InsertAt(uint32_t index, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableVector<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Interop_IBindableVector<D>::RemoveAt(uint32_t index) const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableVector<D>::RemoveAt(uint32_t index) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVector)->RemoveAt(index));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Interop_IBindableVector<D>::Append(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableVector<D>::Append(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVector)->Append(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Interop_IBindableVector<D>::RemoveAtEnd() const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableVector<D>::RemoveAtEnd() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVector)->RemoveAtEnd());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Interop_IBindableVector<D>::Clear() const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableVector<D>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVector)->Clear());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Interop_IBindableVectorView<D>::GetAt(uint32_t index) const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableVectorView<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_UI_Xaml_Interop_IBindableVectorView<D>::Size() const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableVectorView<D>::Size() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::IBindableVectorView)->get_Size(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Interop_IBindableVectorView<D>::IndexOf(winrt::Windows::Foundation::IInspectable const& value, uint32_t& index) const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_IBindableVectorView<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Interop_INotifyCollectionChanged<D>::CollectionChanged(winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChanged<D>::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 D> typename consume_Windows_UI_Xaml_Interop_INotifyCollectionChanged<D>::CollectionChanged_revoker consume_Windows_UI_Xaml_Interop_INotifyCollectionChanged<D>::CollectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChanged<D>::CollectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, CollectionChanged_revoker>(this, CollectionChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Interop_INotifyCollectionChanged<D>::CollectionChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChanged<D>::CollectionChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::INotifyCollectionChanged)->remove_CollectionChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedAction) consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs<D>::Action() const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs<D>::Action() const
{
winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedAction value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs)->get_Action(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::IBindableVector) consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs<D>::NewItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::IBindableVector) consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs<D>::OldItems() const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs<D>::NewStartingIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs<D>::NewStartingIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs)->get_NewStartingIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs<D>::OldStartingIndex() const
+ template <typename D> auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgs<D>::OldStartingIndex() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs)->get_OldStartingIndex(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventArgs) consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgsFactory<D>::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 <typename D> auto consume_Windows_UI_Xaml_Interop_INotifyCollectionChangedEventArgsFactory<D>::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<int32_t>(action), *(void**)(&newItems), *(void**)(&oldItems), newIndex, oldIndex, *(void**)(&baseInterface), impl::bind_out(innerInterface), &value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Markup.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Markup.h
index fb13205902a..77c2fe0c9b7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Markup.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IComponentConnector<D>::Connect(int32_t connectionId, winrt::Windows::Foundation::IInspectable const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IComponentConnector<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IComponentConnector) consume_Windows_UI_Xaml_Markup_IComponentConnector2<D>::GetBindingConnector(int32_t connectionId, winrt::Windows::Foundation::IInspectable const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IComponentConnector2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IDataTemplateComponent<D>::Recycle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IDataTemplateComponent<D>::Recycle() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IDataTemplateComponent)->Recycle());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IDataTemplateComponent<D>::ProcessBindings(winrt::Windows::Foundation::IInspectable const& item, int32_t itemIndex, int32_t phase, int32_t& nextPhase) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IDataTemplateComponent<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::MarkupExtension) consume_Windows_UI_Xaml_Markup_IMarkupExtensionFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IMarkupExtensionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Markup_IMarkupExtensionOverrides<D>::ProvideValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IMarkupExtensionOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::XamlBinaryWriterErrorInformation) consume_Windows_UI_Xaml_Markup_IXamlBinaryWriterStatics<D>::Write(param::vector<winrt::Windows::Storage::Streams::IRandomAccessStream> const& inputStreams, param::vector<winrt::Windows::Storage::Streams::IRandomAccessStream> const& outputStreams, winrt::Windows::UI::Xaml::Markup::IXamlMetadataProvider const& xamlMetadataProvider) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBinaryWriterStatics<D>::Write(param::vector<winrt::Windows::Storage::Streams::IRandomAccessStream> const& inputStreams, param::vector<winrt::Windows::Storage::Streams::IRandomAccessStream> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindScopeDiagnostics<D>::Disable(int32_t lineNumber, int32_t columnNumber) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindScopeDiagnostics<D>::Disable(int32_t lineNumber, int32_t columnNumber) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindScopeDiagnostics)->Disable(lineNumber, columnNumber));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::DataTemplateComponentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IDataTemplateComponent) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::GetDataTemplateComponent(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetDataTemplateComponent(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::Markup::IDataTemplateComponent const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SuspendRendering(winrt::Windows::UI::Xaml::UIElement const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SuspendRendering(winrt::Windows::UI::Xaml::UIElement const& target) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->SuspendRendering(*(void**)(&target)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::ResumeRendering(winrt::Windows::UI::Xaml::UIElement const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::ResumeRendering(winrt::Windows::UI::Xaml::UIElement const& target) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics)->ResumeRendering(*(void**)(&target)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::ConvertValue(winrt::Windows::UI::Xaml::Interop::TypeName const& type, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetPropertyFromString(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetPropertyFromBoolean(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetPropertyFromChar16(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, char16_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetPropertyFromDateTime(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetPropertyFromDouble(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetPropertyFromInt32(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetPropertyFromUInt32(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, uint32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetPropertyFromInt64(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, int64_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetPropertyFromUInt64(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, uint64_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetPropertyFromSingle(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, float value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetPropertyFromPoint(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetPropertyFromRect(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetPropertyFromSize(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Size const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetPropertyFromTimeSpan(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetPropertyFromByte(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, uint8_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetPropertyFromUri(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::SetPropertyFromObject(winrt::Windows::Foundation::IInspectable const& dependencyObject, winrt::Windows::UI::Xaml::DependencyProperty const& propertyToSet, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlBindingHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlMarkupHelperStatics<D>::UnloadObject(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlMarkupHelperStatics<D>::UnloadObject(winrt::Windows::UI::Xaml::DependencyObject const& element) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlMarkupHelperStatics)->UnloadObject(*(void**)(&element)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlMember<D>::IsAttachable() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlMember<D>::IsAttachable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlMember)->get_IsAttachable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlMember<D>::IsDependencyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlMember<D>::IsDependencyProperty() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlMember)->get_IsDependencyProperty(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlMember<D>::IsReadOnly() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlMember<D>::IsReadOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlMember)->get_IsReadOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Markup_IXamlMember<D>::Name() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlMember<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) consume_Windows_UI_Xaml_Markup_IXamlMember<D>::TargetType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlMember<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) consume_Windows_UI_Xaml_Markup_IXamlMember<D>::Type() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlMember<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Markup_IXamlMember<D>::GetValue(winrt::Windows::Foundation::IInspectable const& instance) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlMember<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlMember<D>::SetValue(winrt::Windows::Foundation::IInspectable const& instance, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlMember<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) consume_Windows_UI_Xaml_Markup_IXamlMetadataProvider<D>::GetXamlType(winrt::Windows::UI::Xaml::Interop::TypeName const& type) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlMetadataProvider<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) consume_Windows_UI_Xaml_Markup_IXamlMetadataProvider<D>::GetXamlType(param::hstring const& fullName) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlMetadataProvider<D>::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 <typename D> WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Markup::XmlnsDefinition>) consume_Windows_UI_Xaml_Markup_IXamlMetadataProvider<D>::GetXmlnsDefinitions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlMetadataProvider<D>::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<winrt::Windows::UI::Xaml::Markup::XmlnsDefinition>{ result, result_impl_size, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Markup_IXamlReaderStatics<D>::Load(param::hstring const& xaml) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlReaderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Markup_IXamlReaderStatics<D>::LoadWithInitialTemplateValidation(param::hstring const& xaml) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlReaderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) consume_Windows_UI_Xaml_Markup_IXamlType<D>::BaseType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlMember) consume_Windows_UI_Xaml_Markup_IXamlType<D>::ContentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Markup_IXamlType<D>::FullName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlType<D>::IsArray() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::IsArray() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_IsArray(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlType<D>::IsCollection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::IsCollection() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_IsCollection(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlType<D>::IsConstructible() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::IsConstructible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_IsConstructible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlType<D>::IsDictionary() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::IsDictionary() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_IsDictionary(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlType<D>::IsMarkupExtension() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::IsMarkupExtension() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_IsMarkupExtension(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Markup_IXamlType<D>::IsBindable() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::IsBindable() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->get_IsBindable(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) consume_Windows_UI_Xaml_Markup_IXamlType<D>::ItemType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) consume_Windows_UI_Xaml_Markup_IXamlType<D>::KeyType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Markup_IXamlType<D>::UnderlyingType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Markup_IXamlType<D>::ActivateInstance() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Markup_IXamlType<D>::CreateFromString(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlMember) consume_Windows_UI_Xaml_Markup_IXamlType<D>::GetMember(param::hstring const& name) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlType<D>::AddToVector(winrt::Windows::Foundation::IInspectable const& instance, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlType<D>::AddToMap(winrt::Windows::Foundation::IInspectable const& instance, winrt::Windows::Foundation::IInspectable const& key, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Markup_IXamlType<D>::RunInitializer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType<D>::RunInitializer() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Markup::IXamlType)->RunInitializer());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::IXamlType) consume_Windows_UI_Xaml_Markup_IXamlType2<D>::BoxedType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Markup_IXamlType2<D>::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<XamlReader, IXamlReaderStatics>([&](IXamlReaderStatics const& f) { return f.LoadWithInitialTemplateValidation(xaml); });
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) IMarkupExtensionOverridesT<D>::ProvideValue() const
+ template <typename D> auto IMarkupExtensionOverridesT<D>::ProvideValue() const
{
return shim().template try_as<IMarkupExtensionOverrides>().ProvideValue();
}
@@ -1095,4 +1095,57 @@ namespace std
#ifdef __cpp_lib_format
#endif
}
+
+WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Markup
+{
+ template <typename D>
+ 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<composable_base>::value &&
+ impl::has_interface<D, IComponentConnector>() &&
+ impl::has_interface<D, IComponentConnector2>() };
+
+ bool m_dispatch_base{};
+ };
+}
#endif
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Animation.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Animation.h
index e7cba2b0561..7cbb232006f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Animation.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IBackEase<D>::Amplitude() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IBackEase<D>::Amplitude() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBackEase)->get_Amplitude(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IBackEase<D>::Amplitude(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IBackEase<D>::Amplitude(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBackEase)->put_Amplitude(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IBackEaseStatics<D>::AmplitudeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IBackEaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::BasicConnectedAnimationConfiguration) consume_Windows_UI_Xaml_Media_Animation_IBasicConnectedAnimationConfigurationFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IBasicConnectedAnimationConfigurationFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::Storyboard) consume_Windows_UI_Xaml_Media_Animation_IBeginStoryboard<D>::Storyboard() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IBeginStoryboard<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IBeginStoryboard<D>::Storyboard(winrt::Windows::UI::Xaml::Media::Animation::Storyboard const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IBeginStoryboard<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IBeginStoryboardStatics<D>::StoryboardProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IBeginStoryboardStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Animation_IBounceEase<D>::Bounces() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IBounceEase<D>::Bounces() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBounceEase)->get_Bounces(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IBounceEase<D>::Bounces(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IBounceEase<D>::Bounces(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBounceEase)->put_Bounces(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IBounceEase<D>::Bounciness() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IBounceEase<D>::Bounciness() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBounceEase)->get_Bounciness(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IBounceEase<D>::Bounciness(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IBounceEase<D>::Bounciness(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IBounceEase)->put_Bounciness(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IBounceEaseStatics<D>::BouncesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IBounceEaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IBounceEaseStatics<D>::BouncinessProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IBounceEaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::From() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::From() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->get_From(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::From(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::From(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->put_From(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::To() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::To() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->get_To(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::To(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::To(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->put_To(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::By() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::By() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->get_By(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::By(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::By(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->put_By(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::EasingFunction() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::EnableDependentAnimation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::EnableDependentAnimation() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->get_EnableDependentAnimation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::EnableDependentAnimation(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimation<D>::EnableDependentAnimation(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation)->put_EnableDependentAnimation(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics<D>::FromProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics<D>::ToProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics<D>::ByProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics<D>::EasingFunctionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics<D>::EnableDependentAnimationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ColorKeyFrameCollection) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFrames<D>::KeyFrames() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFrames<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFrames<D>::EnableDependentAnimation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFrames<D>::EnableDependentAnimation() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimationUsingKeyFrames)->get_EnableDependentAnimation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFrames<D>::EnableDependentAnimation(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFrames<D>::EnableDependentAnimation(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IColorAnimationUsingKeyFrames)->put_EnableDependentAnimation(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFramesStatics<D>::EnableDependentAnimationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFramesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrame<D>::Value() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrame<D>::Value(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeyTime) consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrame<D>::KeyTime() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrame<D>::KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ColorKeyFrame) consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrameFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrameFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrameStatics<D>::ValueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrameStatics<D>::KeyTimeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IColorKeyFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfo<D>::IsStaggeringEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfo<D>::IsStaggeringEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ICommonNavigationTransitionInfo)->get_IsStaggeringEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfo<D>::IsStaggeringEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfo<D>::IsStaggeringEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ICommonNavigationTransitionInfo)->put_IsStaggeringEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics<D>::IsStaggeringEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics<D>::IsStaggerElementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics<D>::GetIsStaggerElement(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics<D>::SetIsStaggerElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation<D>::Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation<D>::Completed_revoker consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Completed_revoker>(this, Completed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation<D>::Completed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation<D>::TryStart(winrt::Windows::UI::Xaml::UIElement const& destination) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation<D>::Cancel() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation)->Cancel());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation2<D>::IsScaleAnimationEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation2<D>::IsScaleAnimationEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation2)->get_IsScaleAnimationEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation2<D>::IsScaleAnimationEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation2<D>::IsScaleAnimationEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation2)->put_IsScaleAnimationEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation2<D>::TryStart(winrt::Windows::UI::Xaml::UIElement const& destination, param::iterable<winrt::Windows::UI::Xaml::UIElement> const& coordinatedElements) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation2<D>::TryStart(winrt::Windows::UI::Xaml::UIElement const& destination, param::iterable<winrt::Windows::UI::Xaml::UIElement> 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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation2<D>::SetAnimationComponent(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationComponent const& component, winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation2<D>::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<int32_t>(component), *(void**)(&animation)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationConfiguration) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation3<D>::Configuration() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation3<D>::Configuration(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationConfiguration const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService<D>::DefaultDuration() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService<D>::DefaultDuration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunction) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService<D>::DefaultEasingFunction() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService<D>::DefaultEasingFunction(winrt::Windows::UI::Composition::CompositionEasingFunction const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService<D>::PrepareToAnimate(param::hstring const& key, winrt::Windows::UI::Xaml::UIElement const& source) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService<D>::GetAnimation(param::hstring const& key) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationService<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimationService) consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationServiceStatics<D>::GetForCurrentView() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimationServiceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransition<D>::HorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransition<D>::HorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContentThemeTransition)->get_HorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransition<D>::HorizontalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransition<D>::HorizontalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContentThemeTransition)->put_HorizontalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransition<D>::VerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransition<D>::VerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContentThemeTransition)->get_VerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransition<D>::VerticalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransition<D>::VerticalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IContentThemeTransition)->put_VerticalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransitionStatics<D>::HorizontalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransitionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransitionStatics<D>::VerticalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContentThemeTransitionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfo<D>::ExitElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfo<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfo<D>::ExitElement(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfo<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::ExitElementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::IsEntranceElementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::GetIsEntranceElement(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::SetIsEntranceElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::IsExitElementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::GetIsExitElement(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::SetIsExitElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::ExitElementContainerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::GetExitElementContainer(winrt::Windows::UI::Xaml::Controls::ListViewBase const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::SetExitElementContainer(winrt::Windows::UI::Xaml::Controls::ListViewBase const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::DirectConnectedAnimationConfiguration) consume_Windows_UI_Xaml_Media_Animation_IDirectConnectedAnimationConfigurationFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDirectConnectedAnimationConfigurationFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::From() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::From() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->get_From(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::From(winrt::Windows::Foundation::IReference<double> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::From(winrt::Windows::Foundation::IReference<double> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->put_From(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::To() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::To() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->get_To(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::To(winrt::Windows::Foundation::IReference<double> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::To(winrt::Windows::Foundation::IReference<double> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->put_To(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::By() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::By() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->get_By(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::By(winrt::Windows::Foundation::IReference<double> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::By(winrt::Windows::Foundation::IReference<double> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->put_By(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::EasingFunction() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::EnableDependentAnimation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::EnableDependentAnimation() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->get_EnableDependentAnimation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::EnableDependentAnimation(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation<D>::EnableDependentAnimation(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation)->put_EnableDependentAnimation(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics<D>::FromProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics<D>::ToProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics<D>::ByProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics<D>::EasingFunctionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics<D>::EnableDependentAnimationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::DoubleKeyFrameCollection) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFrames<D>::KeyFrames() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFrames<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFrames<D>::EnableDependentAnimation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFrames<D>::EnableDependentAnimation() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimationUsingKeyFrames)->get_EnableDependentAnimation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFrames<D>::EnableDependentAnimation(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFrames<D>::EnableDependentAnimation(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimationUsingKeyFrames)->put_EnableDependentAnimation(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFramesStatics<D>::EnableDependentAnimationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFramesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrame<D>::Value() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrame<D>::Value() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleKeyFrame)->get_Value(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrame<D>::Value(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrame<D>::Value(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDoubleKeyFrame)->put_Value(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeyTime) consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrame<D>::KeyTime() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrame<D>::KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::DoubleKeyFrame) consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrameFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrameFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrameStatics<D>::ValueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrameStatics<D>::KeyTimeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDoubleKeyFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IDragItemThemeAnimation<D>::TargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDragItemThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDragItemThemeAnimation<D>::TargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDragItemThemeAnimation<D>::TargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDragItemThemeAnimation)->put_TargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDragItemThemeAnimationStatics<D>::TargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDragItemThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation<D>::TargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation<D>::TargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation<D>::TargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDragOverThemeAnimation)->put_TargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation<D>::ToOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation<D>::ToOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDragOverThemeAnimation)->get_ToOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation<D>::ToOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation<D>::ToOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDragOverThemeAnimation)->put_ToOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation<D>::Direction() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation<D>::Direction(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimation<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimationStatics<D>::TargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimationStatics<D>::ToOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimationStatics<D>::DirectionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDragOverThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation<D>::EntranceTargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation<D>::EntranceTargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation<D>::EntranceTargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillInThemeAnimation)->put_EntranceTargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation<D>::EntranceTarget() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation<D>::EntranceTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation<D>::ExitTargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation<D>::ExitTargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation<D>::ExitTargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillInThemeAnimation)->put_ExitTargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation<D>::ExitTarget() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation<D>::ExitTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics<D>::EntranceTargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics<D>::EntranceTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics<D>::ExitTargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics<D>::ExitTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation<D>::EntranceTargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation<D>::EntranceTargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation<D>::EntranceTargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillOutThemeAnimation)->put_EntranceTargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation<D>::EntranceTarget() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation<D>::EntranceTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation<D>::ExitTargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation<D>::ExitTargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation<D>::ExitTargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDrillOutThemeAnimation)->put_ExitTargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation<D>::ExitTarget() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation<D>::ExitTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics<D>::EntranceTargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics<D>::EntranceTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics<D>::ExitTargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics<D>::ExitTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IDropTargetItemThemeAnimation<D>::TargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDropTargetItemThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IDropTargetItemThemeAnimation<D>::TargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDropTargetItemThemeAnimation<D>::TargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IDropTargetItemThemeAnimation)->put_TargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IDropTargetItemThemeAnimationStatics<D>::TargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IDropTargetItemThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) consume_Windows_UI_Xaml_Media_Animation_IEasingColorKeyFrame<D>::EasingFunction() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEasingColorKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEasingColorKeyFrame<D>::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEasingColorKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEasingColorKeyFrameStatics<D>::EasingFunctionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEasingColorKeyFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) consume_Windows_UI_Xaml_Media_Animation_IEasingDoubleKeyFrame<D>::EasingFunction() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEasingDoubleKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEasingDoubleKeyFrame<D>::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEasingDoubleKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEasingDoubleKeyFrameStatics<D>::EasingFunctionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEasingDoubleKeyFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingMode) consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBase<D>::EasingMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBase<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBase<D>::EasingMode(winrt::Windows::UI::Xaml::Media::Animation::EasingMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBase<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBase<D>::Ease(double normalizedTime) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBase<D>::Ease(double normalizedTime) const
{
double result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEasingFunctionBase)->Ease(normalizedTime, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBaseStatics<D>::EasingModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEasingFunctionBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) consume_Windows_UI_Xaml_Media_Animation_IEasingPointKeyFrame<D>::EasingFunction() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEasingPointKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEasingPointKeyFrame<D>::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEasingPointKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEasingPointKeyFrameStatics<D>::EasingFunctionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEasingPointKeyFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation) consume_Windows_UI_Xaml_Media_Animation_IEdgeUIThemeTransition<D>::Edge() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEdgeUIThemeTransition<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEdgeUIThemeTransition<D>::Edge(winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEdgeUIThemeTransition<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEdgeUIThemeTransitionStatics<D>::EdgeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEdgeUIThemeTransitionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Animation_IElasticEase<D>::Oscillations() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IElasticEase<D>::Oscillations() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IElasticEase)->get_Oscillations(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IElasticEase<D>::Oscillations(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IElasticEase<D>::Oscillations(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IElasticEase)->put_Oscillations(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IElasticEase<D>::Springiness() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IElasticEase<D>::Springiness() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IElasticEase)->get_Springiness(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IElasticEase<D>::Springiness(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IElasticEase<D>::Springiness(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IElasticEase)->put_Springiness(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IElasticEaseStatics<D>::OscillationsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IElasticEaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IElasticEaseStatics<D>::SpringinessProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IElasticEaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEntranceNavigationTransitionInfoStatics<D>::IsTargetElementProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEntranceNavigationTransitionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IEntranceNavigationTransitionInfoStatics<D>::GetIsTargetElement(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEntranceNavigationTransitionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEntranceNavigationTransitionInfoStatics<D>::SetIsTargetElement(winrt::Windows::UI::Xaml::UIElement const& element, bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEntranceNavigationTransitionInfoStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition<D>::FromHorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition<D>::FromHorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceThemeTransition)->get_FromHorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition<D>::FromHorizontalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition<D>::FromHorizontalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceThemeTransition)->put_FromHorizontalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition<D>::FromVerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition<D>::FromVerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceThemeTransition)->get_FromVerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition<D>::FromVerticalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition<D>::FromVerticalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceThemeTransition)->put_FromVerticalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition<D>::IsStaggeringEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition<D>::IsStaggeringEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceThemeTransition)->get_IsStaggeringEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition<D>::IsStaggeringEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransition<D>::IsStaggeringEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IEntranceThemeTransition)->put_IsStaggeringEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransitionStatics<D>::FromHorizontalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransitionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransitionStatics<D>::FromVerticalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransitionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransitionStatics<D>::IsStaggeringEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IEntranceThemeTransitionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IExponentialEase<D>::Exponent() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IExponentialEase<D>::Exponent() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IExponentialEase)->get_Exponent(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IExponentialEase<D>::Exponent(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IExponentialEase<D>::Exponent(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IExponentialEase)->put_Exponent(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IExponentialEaseStatics<D>::ExponentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IExponentialEaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IFadeInThemeAnimation<D>::TargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IFadeInThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IFadeInThemeAnimation<D>::TargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IFadeInThemeAnimation<D>::TargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IFadeInThemeAnimation)->put_TargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IFadeInThemeAnimationStatics<D>::TargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IFadeInThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IFadeOutThemeAnimation<D>::TargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IFadeOutThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IFadeOutThemeAnimation<D>::TargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IFadeOutThemeAnimation<D>::TargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IFadeOutThemeAnimation)->put_TargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IFadeOutThemeAnimationStatics<D>::TargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IFadeOutThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IGravityConnectedAnimationConfiguration2<D>::IsShadowEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IGravityConnectedAnimationConfiguration2<D>::IsShadowEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IGravityConnectedAnimationConfiguration2)->get_IsShadowEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IGravityConnectedAnimationConfiguration2<D>::IsShadowEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IGravityConnectedAnimationConfiguration2<D>::IsShadowEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IGravityConnectedAnimationConfiguration2)->put_IsShadowEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::GravityConnectedAnimationConfiguration) consume_Windows_UI_Xaml_Media_Animation_IGravityConnectedAnimationConfigurationFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IGravityConnectedAnimationConfigurationFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_Animation_IKeySpline<D>::ControlPoint1() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IKeySpline<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IKeySpline<D>::ControlPoint1(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IKeySpline<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_Animation_IKeySpline<D>::ControlPoint2() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IKeySpline<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IKeySpline<D>::ControlPoint2(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IKeySpline<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeyTime) consume_Windows_UI_Xaml_Media_Animation_IKeyTimeHelperStatics<D>::FromTimeSpan(winrt::Windows::Foundation::TimeSpan const& timeSpan) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IKeyTimeHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) consume_Windows_UI_Xaml_Media_Animation_INavigationThemeTransition<D>::DefaultNavigationTransitionInfo() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_INavigationThemeTransition<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_INavigationThemeTransition<D>::DefaultNavigationTransitionInfo(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_INavigationThemeTransition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_INavigationThemeTransitionStatics<D>::DefaultNavigationTransitionInfoProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_INavigationThemeTransitionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) consume_Windows_UI_Xaml_Media_Animation_INavigationTransitionInfoFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_INavigationTransitionInfoFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_INavigationTransitionInfoOverrides<D>::GetNavigationStateCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_INavigationTransitionInfoOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_INavigationTransitionInfoOverrides<D>::SetNavigationStateCore(param::hstring const& navigationState) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_INavigationTransitionInfoOverrides<D>::SetNavigationStateCore(param::hstring const& navigationState) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::INavigationTransitionInfoOverrides)->SetNavigationStateCore(*(void**)(&navigationState)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ObjectKeyFrameCollection) consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFrames<D>::KeyFrames() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFrames<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFrames<D>::EnableDependentAnimation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFrames<D>::EnableDependentAnimation() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IObjectAnimationUsingKeyFrames)->get_EnableDependentAnimation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFrames<D>::EnableDependentAnimation(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFrames<D>::EnableDependentAnimation(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IObjectAnimationUsingKeyFrames)->put_EnableDependentAnimation(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFramesStatics<D>::EnableDependentAnimationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFramesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrame<D>::Value() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrame<D>::Value(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeyTime) consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrame<D>::KeyTime() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrame<D>::KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ObjectKeyFrame) consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrameFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrameFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrameStatics<D>::ValueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrameStatics<D>::KeyTimeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IObjectKeyFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation) consume_Windows_UI_Xaml_Media_Animation_IPaneThemeTransition<D>::Edge() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPaneThemeTransition<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPaneThemeTransition<D>::Edge(winrt::Windows::UI::Xaml::Controls::Primitives::EdgeTransitionLocation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPaneThemeTransition<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPaneThemeTransitionStatics<D>::EdgeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPaneThemeTransitionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::From() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::From() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->get_From(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::From(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::From(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->put_From(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::To() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::To() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->get_To(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::To(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::To(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->put_To(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::By() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::By() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->get_By(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::By(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::By(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->put_By(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::EasingFunction() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::EasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::EnableDependentAnimation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::EnableDependentAnimation() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->get_EnableDependentAnimation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::EnableDependentAnimation(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimation<D>::EnableDependentAnimation(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation)->put_EnableDependentAnimation(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics<D>::FromProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics<D>::ToProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics<D>::ByProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics<D>::EasingFunctionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics<D>::EnableDependentAnimationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::PointKeyFrameCollection) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFrames<D>::KeyFrames() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFrames<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFrames<D>::EnableDependentAnimation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFrames<D>::EnableDependentAnimation() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimationUsingKeyFrames)->get_EnableDependentAnimation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFrames<D>::EnableDependentAnimation(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFrames<D>::EnableDependentAnimation(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointAnimationUsingKeyFrames)->put_EnableDependentAnimation(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFramesStatics<D>::EnableDependentAnimationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFramesStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrame<D>::Value() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrame<D>::Value(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeyTime) consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrame<D>::KeyTime() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrame<D>::KeyTime(winrt::Windows::UI::Xaml::Media::Animation::KeyTime const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::PointKeyFrame) consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrameFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrameFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrameStatics<D>::ValueProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrameStatics<D>::KeyTimeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointKeyFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IPointerDownThemeAnimation<D>::TargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointerDownThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointerDownThemeAnimation<D>::TargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointerDownThemeAnimation<D>::TargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointerDownThemeAnimation)->put_TargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointerDownThemeAnimationStatics<D>::TargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointerDownThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IPointerUpThemeAnimation<D>::TargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointerUpThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPointerUpThemeAnimation<D>::TargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointerUpThemeAnimation<D>::TargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPointerUpThemeAnimation)->put_TargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPointerUpThemeAnimationStatics<D>::TargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPointerUpThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation<D>::TargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation<D>::TargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation<D>::TargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopInThemeAnimation)->put_TargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation<D>::FromHorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation<D>::FromHorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopInThemeAnimation)->get_FromHorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation<D>::FromHorizontalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation<D>::FromHorizontalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopInThemeAnimation)->put_FromHorizontalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation<D>::FromVerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation<D>::FromVerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopInThemeAnimation)->get_FromVerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation<D>::FromVerticalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimation<D>::FromVerticalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopInThemeAnimation)->put_FromVerticalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimationStatics<D>::TargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimationStatics<D>::FromHorizontalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimationStatics<D>::FromVerticalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopInThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IPopOutThemeAnimation<D>::TargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopOutThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPopOutThemeAnimation<D>::TargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopOutThemeAnimation<D>::TargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopOutThemeAnimation)->put_TargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPopOutThemeAnimationStatics<D>::TargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopOutThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransition<D>::FromHorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransition<D>::FromHorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopupThemeTransition)->get_FromHorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransition<D>::FromHorizontalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransition<D>::FromHorizontalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopupThemeTransition)->put_FromHorizontalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransition<D>::FromVerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransition<D>::FromVerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopupThemeTransition)->get_FromVerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransition<D>::FromVerticalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransition<D>::FromVerticalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPopupThemeTransition)->put_FromVerticalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransitionStatics<D>::FromHorizontalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransitionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransitionStatics<D>::FromVerticalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPopupThemeTransitionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IPowerEase<D>::Power() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPowerEase<D>::Power() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPowerEase)->get_Power(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IPowerEase<D>::Power(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPowerEase<D>::Power(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IPowerEase)->put_Power(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IPowerEaseStatics<D>::PowerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IPowerEaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior) consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics<D>::Forever() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior) consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics<D>::FromCount(double count) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior) consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics<D>::FromDuration(winrt::Windows::Foundation::TimeSpan const& duration) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics<D>::GetHasCount(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics<D>::GetHasDuration(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics<D>::Equals(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& target, winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation<D>::TargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation<D>::TargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation<D>::TargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeAnimation)->put_TargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation<D>::FromHorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation<D>::FromHorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeAnimation)->get_FromHorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation<D>::FromHorizontalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation<D>::FromHorizontalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeAnimation)->put_FromHorizontalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation<D>::FromVerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation<D>::FromVerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeAnimation)->get_FromVerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation<D>::FromVerticalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimation<D>::FromVerticalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeAnimation)->put_FromVerticalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimationStatics<D>::TargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimationStatics<D>::FromHorizontalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimationStatics<D>::FromVerticalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeTransition2<D>::IsStaggeringEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeTransition2<D>::IsStaggeringEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeTransition2)->get_IsStaggeringEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeTransition2<D>::IsStaggeringEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeTransition2<D>::IsStaggeringEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeTransition2)->put_IsStaggeringEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeTransitionStatics2<D>::IsStaggeringEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IRepositionThemeTransitionStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::SlideNavigationTransitionEffect) consume_Windows_UI_Xaml_Media_Animation_ISlideNavigationTransitionInfo2<D>::Effect() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISlideNavigationTransitionInfo2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISlideNavigationTransitionInfo2<D>::Effect(winrt::Windows::UI::Xaml::Media::Animation::SlideNavigationTransitionEffect const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISlideNavigationTransitionInfo2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISlideNavigationTransitionInfoStatics2<D>::EffectProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISlideNavigationTransitionInfoStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeySpline) consume_Windows_UI_Xaml_Media_Animation_ISplineColorKeyFrame<D>::KeySpline() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplineColorKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplineColorKeyFrame<D>::KeySpline(winrt::Windows::UI::Xaml::Media::Animation::KeySpline const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplineColorKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplineColorKeyFrameStatics<D>::KeySplineProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplineColorKeyFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeySpline) consume_Windows_UI_Xaml_Media_Animation_ISplineDoubleKeyFrame<D>::KeySpline() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplineDoubleKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplineDoubleKeyFrame<D>::KeySpline(winrt::Windows::UI::Xaml::Media::Animation::KeySpline const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplineDoubleKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplineDoubleKeyFrameStatics<D>::KeySplineProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplineDoubleKeyFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::KeySpline) consume_Windows_UI_Xaml_Media_Animation_ISplinePointKeyFrame<D>::KeySpline() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplinePointKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplinePointKeyFrame<D>::KeySpline(winrt::Windows::UI::Xaml::Media::Animation::KeySpline const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplinePointKeyFrame<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplinePointKeyFrameStatics<D>::KeySplineProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplinePointKeyFrameStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::OpenedTargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::OpenedTargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::OpenedTargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_OpenedTargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::OpenedTarget() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::OpenedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ClosedTargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ClosedTargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ClosedTargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_ClosedTargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ClosedTarget() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ClosedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ContentTargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ContentTargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ContentTargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_ContentTargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ContentTarget() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ContentTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::OpenedLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::OpenedLength() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->get_OpenedLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::OpenedLength(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::OpenedLength(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_OpenedLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ClosedLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ClosedLength() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->get_ClosedLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ClosedLength(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ClosedLength(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_ClosedLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::OffsetFromCenter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::OffsetFromCenter() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->get_OffsetFromCenter(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::OffsetFromCenter(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::OffsetFromCenter(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_OffsetFromCenter(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ContentTranslationDirection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ContentTranslationDirection(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ContentTranslationOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ContentTranslationOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->get_ContentTranslationOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ContentTranslationOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation<D>::ContentTranslationOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation)->put_ContentTranslationOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::OpenedTargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::OpenedTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::ClosedTargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::ClosedTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::ContentTargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::ContentTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::OpenedLengthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::ClosedLengthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::OffsetFromCenterProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::ContentTranslationDirectionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::ContentTranslationOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::OpenedTargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::OpenedTargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::OpenedTargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_OpenedTargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::OpenedTarget() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::OpenedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ClosedTargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ClosedTargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ClosedTargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_ClosedTargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ClosedTarget() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ClosedTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ContentTargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ContentTargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ContentTargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_ContentTargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ContentTarget() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ContentTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::OpenedLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::OpenedLength() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->get_OpenedLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::OpenedLength(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::OpenedLength(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_OpenedLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ClosedLength() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ClosedLength() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->get_ClosedLength(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ClosedLength(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ClosedLength(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_ClosedLength(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::OffsetFromCenter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::OffsetFromCenter() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->get_OffsetFromCenter(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::OffsetFromCenter(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::OffsetFromCenter(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_OffsetFromCenter(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ContentTranslationDirection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ContentTranslationDirection(winrt::Windows::UI::Xaml::Controls::Primitives::AnimationDirection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ContentTranslationOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ContentTranslationOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->get_ContentTranslationOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ContentTranslationOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation<D>::ContentTranslationOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation)->put_ContentTranslationOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::OpenedTargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::OpenedTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::ClosedTargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::ClosedTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::ContentTargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::ContentTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::OpenedLengthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::ClosedLengthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::OffsetFromCenterProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::ContentTranslationDirectionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::ContentTranslationOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TimelineCollection) consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::Children() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::Seek(winrt::Windows::Foundation::TimeSpan const& offset) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::Stop() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboard)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::Begin() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::Begin() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboard)->Begin());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::Pause() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::Pause() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboard)->Pause());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::Resume() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::Resume() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboard)->Resume());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::ClockState) consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::GetCurrentState() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::GetCurrentTime() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::SeekAlignedToLastTick(winrt::Windows::Foundation::TimeSpan const& offset) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::SkipToFill() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IStoryboard<D>::SkipToFill() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::IStoryboard)->SkipToFill());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics<D>::TargetPropertyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics<D>::GetTargetProperty(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics<D>::SetTargetProperty(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element, param::hstring const& path) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics<D>::TargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics<D>::GetTargetName(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics<D>::SetTargetName(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& element, param::hstring const& name) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics<D>::SetTarget(winrt::Windows::UI::Xaml::Media::Animation::Timeline const& timeline, winrt::Windows::UI::Xaml::DependencyObject const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_IStoryboardStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation<D>::TargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation<D>::TargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation<D>::TargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation)->put_TargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation<D>::FromHorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation<D>::FromHorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation)->get_FromHorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation<D>::FromHorizontalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation<D>::FromHorizontalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation)->put_FromHorizontalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation<D>::FromVerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation<D>::FromVerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation)->get_FromVerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation<D>::FromVerticalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation<D>::FromVerticalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation)->put_FromVerticalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimationStatics<D>::TargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimationStatics<D>::FromHorizontalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimationStatics<D>::FromVerticalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeBackThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation<D>::TargetName() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation<D>::TargetName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation<D>::TargetName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation)->put_TargetName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation<D>::ToHorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation<D>::ToHorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation)->get_ToHorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation<D>::ToHorizontalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation<D>::ToHorizontalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation)->put_ToHorizontalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation<D>::ToVerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation<D>::ToVerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation)->get_ToVerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation<D>::ToVerticalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation<D>::ToVerticalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation)->put_ToVerticalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimationStatics<D>::TargetNameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimationStatics<D>::ToHorizontalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimationStatics<D>::ToVerticalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ISwipeHintThemeAnimationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::AutoReverse() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::AutoReverse() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->get_AutoReverse(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::AutoReverse(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::AutoReverse(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->put_AutoReverse(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::BeginTime() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::BeginTime() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->get_BeginTime(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::BeginTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::BeginTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->put_BeginTime(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::Duration() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::Duration(winrt::Windows::UI::Xaml::Duration const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::SpeedRatio() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::SpeedRatio() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->get_SpeedRatio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::SpeedRatio(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::SpeedRatio(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimeline)->put_SpeedRatio(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::FillBehavior) consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::FillBehavior() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::FillBehavior(winrt::Windows::UI::Xaml::Media::Animation::FillBehavior const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior) consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::RepeatBehavior() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::RepeatBehavior(winrt::Windows::UI::Xaml::Media::Animation::RepeatBehavior const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::Completed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::Completed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::Completed_revoker consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::Completed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Completed_revoker>(this, Completed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::Completed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimeline<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::Timeline) consume_Windows_UI_Xaml_Media_Animation_ITimelineFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimelineFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics<D>::AllowDependentAnimations() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics<D>::AllowDependentAnimations() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimelineStatics)->get_AllowDependentAnimations(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics<D>::AllowDependentAnimations(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics<D>::AllowDependentAnimations(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Animation::ITimelineStatics)->put_AllowDependentAnimations(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics<D>::AutoReverseProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics<D>::BeginTimeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics<D>::DurationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics<D>::SpeedRatioProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics<D>::FillBehaviorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics<D>::RepeatBehaviorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Animation_ITimelineStatics<D>::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<TransitionCollection(*)(winrt::Windows::Foundation::IActivationFactory const&), TransitionCollection>([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance<TransitionCollection>(); }))
{
}
- template <typename D> WINRT_IMPL_AUTO(hstring) INavigationTransitionInfoOverridesT<D>::GetNavigationStateCore() const
+ template <typename D> auto INavigationTransitionInfoOverridesT<D>::GetNavigationStateCore() const
{
return shim().template try_as<INavigationTransitionInfoOverrides>().GetNavigationStateCore();
}
- template <typename D> WINRT_IMPL_AUTO(void) INavigationTransitionInfoOverridesT<D>::SetNavigationStateCore(param::hstring const& navigationState) const
+ template <typename D> auto INavigationTransitionInfoOverridesT<D>::SetNavigationStateCore(param::hstring const& navigationState) const
{
return shim().template try_as<INavigationTransitionInfoOverrides>().SetNavigationStateCore(navigationState);
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Imaging.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Imaging.h
index 84008d6e0c4..f2b92ef63d8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Imaging.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::BitmapCreateOptions) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::CreateOptions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::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<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::CreateOptions(winrt::Windows::UI::Xaml::Media::Imaging::BitmapCreateOptions const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::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<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::UriSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::UriSource(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::DecodePixelWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::DecodePixelWidth() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->get_DecodePixelWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::DecodePixelWidth(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::DecodePixelWidth(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->put_DecodePixelWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::DecodePixelHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::DecodePixelHeight() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->get_DecodePixelHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::DecodePixelHeight(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::DecodePixelHeight(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage)->put_DecodePixelHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::DownloadProgress(winrt::Windows::UI::Xaml::Media::Imaging::DownloadProgressEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::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 D> typename consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::DownloadProgress_revoker consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::DownloadProgress(auto_revoke_t, winrt::Windows::UI::Xaml::Media::Imaging::DownloadProgressEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::DownloadProgress(auto_revoke_t, winrt::Windows::UI::Xaml::Media::Imaging::DownloadProgressEventHandler const& handler) const
{
return impl::make_event_revoker<D, DownloadProgress_revoker>(this, DownloadProgress(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::DownloadProgress(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::ImageOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::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 D> typename consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::ImageOpened_revoker consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, ImageOpened_revoker>(this, ImageOpened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::ImageOpened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::ImageFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::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 D> typename consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::ImageFailed_revoker consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, ImageFailed_revoker>(this, ImageFailed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::ImageFailed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::DecodePixelType) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage2<D>::DecodePixelType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage2<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage2<D>::DecodePixelType(winrt::Windows::UI::Xaml::Media::Imaging::DecodePixelType const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage2<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3<D>::IsAnimatedBitmap() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3<D>::IsAnimatedBitmap() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage3)->get_IsAnimatedBitmap(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3<D>::IsPlaying() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3<D>::IsPlaying() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage3)->get_IsPlaying(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3<D>::AutoPlay() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3<D>::AutoPlay() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage3)->get_AutoPlay(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3<D>::AutoPlay(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3<D>::AutoPlay(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage3)->put_AutoPlay(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3<D>::Play() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3<D>::Play() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage3)->Play());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3<D>::Stop() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImage3<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage3)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageFactory<D>::CreateInstanceWithUriSource(winrt::Windows::Foundation::Uri const& uriSource) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics<D>::CreateOptionsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics<D>::UriSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics<D>::DecodePixelWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics<D>::DecodePixelHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics2<D>::DecodePixelTypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics3<D>::IsAnimatedBitmapProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics3<D>::IsPlayingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics3<D>::AutoPlayProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapImageStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Imaging_IBitmapSource<D>::PixelWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapSource<D>::PixelWidth() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapSource)->get_PixelWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Imaging_IBitmapSource<D>::PixelHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapSource<D>::PixelHeight() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IBitmapSource)->get_PixelHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IBitmapSource<D>::SetSource(winrt::Windows::Storage::Streams::IRandomAccessStream const& streamSource) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Media_Imaging_IBitmapSource<D>::SetSourceAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& streamSource) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::BitmapSource) consume_Windows_UI_Xaml_Media_Imaging_IBitmapSourceFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapSourceStatics<D>::PixelWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IBitmapSourceStatics<D>::PixelHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IBitmapSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Imaging_IDownloadProgressEventArgs<D>::Progress() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IDownloadProgressEventArgs<D>::Progress() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IDownloadProgressEventArgs)->get_Progress(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IDownloadProgressEventArgs<D>::Progress(int32_t value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IDownloadProgressEventArgs<D>::Progress(int32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IDownloadProgressEventArgs)->put_Progress(value));
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap<D>::PixelWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap<D>::PixelWidth() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IRenderTargetBitmap)->get_PixelWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap<D>::PixelHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap<D>::PixelHeight() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IRenderTargetBitmap)->get_PixelHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap<D>::RenderAsync(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap<D>::RenderAsync(winrt::Windows::UI::Xaml::UIElement const& element, int32_t scaledWidth, int32_t scaledHeight) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap<D>::GetPixelsAsync() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmap<D>::GetPixelsAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IRenderTargetBitmap)->GetPixelsAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmapStatics<D>::PixelWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmapStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmapStatics<D>::PixelHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IRenderTargetBitmapStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_UI_Xaml_Media_Imaging_ISoftwareBitmapSource<D>::SetBitmapAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISoftwareBitmapSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::SurfaceImageSource) consume_Windows_UI_Xaml_Media_Imaging_ISurfaceImageSourceFactory<D>::CreateInstanceWithDimensions(int32_t pixelWidth, int32_t pixelHeight, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISurfaceImageSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::SurfaceImageSource) consume_Windows_UI_Xaml_Media_Imaging_ISurfaceImageSourceFactory<D>::CreateInstanceWithDimensionsAndOpacity(int32_t pixelWidth, int32_t pixelHeight, bool isOpaque, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISurfaceImageSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::UriSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::UriSource(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::RasterizePixelWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::RasterizePixelWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource)->get_RasterizePixelWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::RasterizePixelWidth(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::RasterizePixelWidth(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource)->put_RasterizePixelWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::RasterizePixelHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::RasterizePixelHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource)->get_RasterizePixelHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::RasterizePixelHeight(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::RasterizePixelHeight(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource)->put_RasterizePixelHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::Opened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource, winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceOpenedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::Opened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource, winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceOpenedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::Opened_revoker consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource, winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceOpenedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource, winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceOpenedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Opened_revoker>(this, Opened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::Opened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::OpenFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource, winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceFailedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::OpenFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource, winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceFailedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::OpenFailed_revoker consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource, winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceFailedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource, winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceFailedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, OpenFailed_revoker>(this, OpenFailed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::OpenFailed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceLoadStatus>) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::SetSourceAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& streamSource) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSource<D>::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<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceLoadStatus>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceFactory<D>::CreateInstanceWithUriSource(winrt::Windows::Foundation::Uri const& uriSource, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceLoadStatus) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceFailedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceFailedEventArgs<D>::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<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceStatics<D>::UriSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceStatics<D>::RasterizePixelWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceStatics<D>::RasterizePixelHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_ISvgImageSourceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::VirtualSurfaceImageSource) consume_Windows_UI_Xaml_Media_Imaging_IVirtualSurfaceImageSourceFactory<D>::CreateInstanceWithDimensions(int32_t pixelWidth, int32_t pixelHeight) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IVirtualSurfaceImageSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::VirtualSurfaceImageSource) consume_Windows_UI_Xaml_Media_Imaging_IVirtualSurfaceImageSourceFactory<D>::CreateInstanceWithDimensionsAndOpacity(int32_t pixelWidth, int32_t pixelHeight, bool isOpaque) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IVirtualSurfaceImageSourceFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_UI_Xaml_Media_Imaging_IWriteableBitmap<D>::PixelBuffer() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IWriteableBitmap<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IWriteableBitmap<D>::Invalidate() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IWriteableBitmap<D>::Invalidate() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Imaging::IWriteableBitmap)->Invalidate());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::WriteableBitmap) consume_Windows_UI_Xaml_Media_Imaging_IWriteableBitmapFactory<D>::CreateInstanceWithDimensions(int32_t pixelWidth, int32_t pixelHeight) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IWriteableBitmapFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Imaging::XamlRenderingBackgroundTask) consume_Windows_UI_Xaml_Media_Imaging_IXamlRenderingBackgroundTaskFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IXamlRenderingBackgroundTaskFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Imaging_IXamlRenderingBackgroundTaskOverrides<D>::OnRun(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Imaging_IXamlRenderingBackgroundTaskOverrides<D>::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<DownloadProgressEventHandler>**)this)->Invoke(*(void**)(&sender), *(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(void) IXamlRenderingBackgroundTaskOverridesT<D>::OnRun(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const
+ template <typename D> auto IXamlRenderingBackgroundTaskOverridesT<D>::OnRun(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance const& taskInstance) const
{
return shim().template try_as<IXamlRenderingBackgroundTaskOverrides>().OnRun(taskInstance);
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Media3D.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Media3D.h
index 1541395cad7..5a5422a9cd4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.Media3D.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::CenterX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::CenterX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_CenterX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::CenterX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::CenterX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_CenterX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::CenterY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::CenterY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_CenterY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::CenterY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::CenterY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_CenterY(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::CenterZ() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::CenterZ() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_CenterZ(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::CenterZ(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::CenterZ(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_CenterZ(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::RotationX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::RotationX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_RotationX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::RotationX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::RotationX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_RotationX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::RotationY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::RotationY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_RotationY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::RotationY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::RotationY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_RotationY(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::RotationZ() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::RotationZ() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_RotationZ(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::RotationZ(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::RotationZ(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_RotationZ(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::ScaleX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::ScaleX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_ScaleX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::ScaleX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::ScaleX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_ScaleX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::ScaleY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::ScaleY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_ScaleY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::ScaleY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::ScaleY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_ScaleY(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::ScaleZ() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::ScaleZ() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_ScaleZ(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::ScaleZ(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::ScaleZ(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_ScaleZ(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::TranslateX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::TranslateX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_TranslateX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::TranslateX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::TranslateX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_TranslateX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::TranslateY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::TranslateY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_TranslateY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::TranslateY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::TranslateY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_TranslateY(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::TranslateZ() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::TranslateZ() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->get_TranslateZ(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::TranslateZ(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3D<D>::TranslateZ(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D)->put_TranslateZ(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::CenterXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::CenterYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::CenterZProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::RotationXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::RotationYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::RotationZProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::ScaleXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::ScaleYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::ScaleZProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::TranslateXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::TranslateYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::TranslateZProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ICompositeTransform3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics<D>::Identity() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics<D>::Multiply(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& matrix1, winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& matrix2) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics<D>::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 <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics<D>::GetHasInverse(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics<D>::GetIsIdentity(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics<D>::Invert(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_IMatrix3DHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D<D>::Depth() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D<D>::Depth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IPerspectiveTransform3D)->get_Depth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D<D>::Depth(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D<D>::Depth(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IPerspectiveTransform3D)->put_Depth(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D<D>::OffsetX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D<D>::OffsetX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IPerspectiveTransform3D)->get_OffsetX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D<D>::OffsetX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D<D>::OffsetX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IPerspectiveTransform3D)->put_OffsetX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D<D>::OffsetY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D<D>::OffsetY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IPerspectiveTransform3D)->get_OffsetY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D<D>::OffsetY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3D<D>::OffsetY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::Media3D::IPerspectiveTransform3D)->put_OffsetY(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3DStatics<D>::DepthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3DStatics<D>::OffsetXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3DStatics<D>::OffsetYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_IPerspectiveTransform3DStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Transform3D) consume_Windows_UI_Xaml_Media_Media3D_ITransform3DFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_Media3D_ITransform3DFactory<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.h
index 7164a8f1c08..e14f8690bb2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Media.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AcrylicBackgroundSource) consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::BackgroundSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::BackgroundSource() const
{
winrt::Windows::UI::Xaml::Media::AcrylicBackgroundSource value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->get_BackgroundSource(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::BackgroundSource(winrt::Windows::UI::Xaml::Media::AcrylicBackgroundSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::TintColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::TintColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::TintOpacity() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::TintOpacity() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->get_TintOpacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::TintOpacity(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::TintOpacity(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->put_TintOpacity(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::TintTransitionDuration() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::TintTransitionDuration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::AlwaysUseFallback() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::AlwaysUseFallback() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->get_AlwaysUseFallback(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::AlwaysUseFallback(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrush<D>::AlwaysUseFallback(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->put_AlwaysUseFallback(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_UI_Xaml_Media_IAcrylicBrush2<D>::TintLuminosityOpacity() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrush2<D>::TintLuminosityOpacity() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush2)->get_TintLuminosityOpacity(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IAcrylicBrush2<D>::TintLuminosityOpacity(winrt::Windows::Foundation::IReference<double> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrush2<D>::TintLuminosityOpacity(winrt::Windows::Foundation::IReference<double> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush2)->put_TintLuminosityOpacity(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AcrylicBrush) consume_Windows_UI_Xaml_Media_IAcrylicBrushFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrushFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics<D>::BackgroundSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics<D>::TintColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics<D>::TintOpacityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics<D>::TintTransitionDurationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics<D>::AlwaysUseFallbackProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics2<D>::TintLuminosityOpacityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IArcSegment<D>::Point() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IArcSegment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IArcSegment<D>::Point(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IArcSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_Media_IArcSegment<D>::Size() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IArcSegment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IArcSegment<D>::Size(winrt::Windows::Foundation::Size const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IArcSegment<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IArcSegment<D>::RotationAngle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IArcSegment<D>::RotationAngle() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->get_RotationAngle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IArcSegment<D>::RotationAngle(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IArcSegment<D>::RotationAngle(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->put_RotationAngle(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_IArcSegment<D>::IsLargeArc() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IArcSegment<D>::IsLargeArc() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->get_IsLargeArc(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IArcSegment<D>::IsLargeArc(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IArcSegment<D>::IsLargeArc(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->put_IsLargeArc(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SweepDirection) consume_Windows_UI_Xaml_Media_IArcSegment<D>::SweepDirection() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IArcSegment<D>::SweepDirection() const
{
winrt::Windows::UI::Xaml::Media::SweepDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->get_SweepDirection(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IArcSegment<D>::SweepDirection(winrt::Windows::UI::Xaml::Media::SweepDirection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IArcSegment<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IArcSegmentStatics<D>::PointProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IArcSegmentStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IArcSegmentStatics<D>::SizeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IArcSegmentStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IArcSegmentStatics<D>::RotationAngleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IArcSegmentStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IArcSegmentStatics<D>::IsLargeArcProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IArcSegmentStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IArcSegmentStatics<D>::SweepDirectionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IArcSegmentStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IBezierSegment<D>::Point1() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBezierSegment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IBezierSegment<D>::Point1(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBezierSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IBezierSegment<D>::Point2() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBezierSegment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IBezierSegment<D>::Point2(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBezierSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IBezierSegment<D>::Point3() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBezierSegment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IBezierSegment<D>::Point3(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBezierSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IBezierSegmentStatics<D>::Point1Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBezierSegmentStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IBezierSegmentStatics<D>::Point2Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBezierSegmentStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IBezierSegmentStatics<D>::Point3Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBezierSegmentStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IBrush<D>::Opacity() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBrush<D>::Opacity() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrush)->get_Opacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IBrush<D>::Opacity(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBrush<D>::Opacity(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrush)->put_Opacity(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Transform) consume_Windows_UI_Xaml_Media_IBrush<D>::Transform() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IBrush<D>::Transform(winrt::Windows::UI::Xaml::Media::Transform const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Transform) consume_Windows_UI_Xaml_Media_IBrush<D>::RelativeTransform() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IBrush<D>::RelativeTransform(winrt::Windows::UI::Xaml::Media::Transform const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Media_IBrushFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBrushFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IBrushOverrides2<D>::PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBrushOverrides2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IBrushStatics<D>::OpacityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IBrushStatics<D>::TransformProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IBrushStatics<D>::RelativeTransformProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::CacheMode) consume_Windows_UI_Xaml_Media_ICacheModeFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICacheModeFactory<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::CenterX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::CenterX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_CenterX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::CenterX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::CenterX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_CenterX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::CenterY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::CenterY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_CenterY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::CenterY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::CenterY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_CenterY(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::ScaleX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::ScaleX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_ScaleX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::ScaleX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::ScaleX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_ScaleX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::ScaleY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::ScaleY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_ScaleY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::ScaleY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::ScaleY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_ScaleY(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::SkewX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::SkewX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_SkewX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::SkewX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::SkewX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_SkewX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::SkewY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::SkewY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_SkewY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::SkewY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::SkewY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_SkewY(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::Rotation() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::Rotation() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_Rotation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::Rotation(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::Rotation(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_Rotation(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::TranslateX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::TranslateX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_TranslateX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::TranslateX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::TranslateX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_TranslateX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::TranslateY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::TranslateY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_TranslateY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::TranslateY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransform<D>::TranslateY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_TranslateY(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::CenterXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::CenterYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::ScaleXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::ScaleYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::SkewXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::SkewYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::RotationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::TranslateXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::TranslateYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_ICompositionTargetStatics<D>::Rendering(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics<D>::Rendering(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Media_ICompositionTargetStatics<D>::Rendering_revoker consume_Windows_UI_Xaml_Media_ICompositionTargetStatics<D>::Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics<D>::Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Rendering_revoker>(this, Rendering(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositionTargetStatics<D>::Rendering(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics<D>::Rendering(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics)->remove_Rendering(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_ICompositionTargetStatics<D>::SurfaceContentsLost(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics<D>::SurfaceContentsLost(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_Media_ICompositionTargetStatics<D>::SurfaceContentsLost_revoker consume_Windows_UI_Xaml_Media_ICompositionTargetStatics<D>::SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics<D>::SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, SurfaceContentsLost_revoker>(this, SurfaceContentsLost(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositionTargetStatics<D>::SurfaceContentsLost(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics<D>::SurfaceContentsLost(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics)->remove_SurfaceContentsLost(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3<D>::Rendered(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Media::RenderedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3<D>::Rendered(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Media::RenderedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3<D>::Rendered_revoker consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3<D>::Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Media::RenderedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3<D>::Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Media::RenderedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Rendered_revoker>(this, Rendered(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3<D>::Rendered(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3<D>::Rendered(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics3)->remove_Rendered(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IEllipseGeometry<D>::Center() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IEllipseGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IEllipseGeometry<D>::Center(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IEllipseGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IEllipseGeometry<D>::RadiusX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IEllipseGeometry<D>::RadiusX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometry)->get_RadiusX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IEllipseGeometry<D>::RadiusX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IEllipseGeometry<D>::RadiusX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometry)->put_RadiusX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IEllipseGeometry<D>::RadiusY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IEllipseGeometry<D>::RadiusY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometry)->get_RadiusY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IEllipseGeometry<D>::RadiusY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IEllipseGeometry<D>::RadiusY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometry)->put_RadiusY(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IEllipseGeometryStatics<D>::CenterProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IEllipseGeometryStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IEllipseGeometryStatics<D>::RadiusXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IEllipseGeometryStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IEllipseGeometryStatics<D>::RadiusYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IEllipseGeometryStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_IFontFamily<D>::Source() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IFontFamily<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Media_IFontFamilyFactory<D>::CreateInstanceWithName(param::hstring const& familyName, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IFontFamilyFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FontFamily) consume_Windows_UI_Xaml_Media_IFontFamilyStatics2<D>::XamlAutoFontFamily() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IFontFamilyStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeneralTransform) consume_Windows_UI_Xaml_Media_IGeneralTransform<D>::Inverse() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeneralTransform<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IGeneralTransform<D>::TransformPoint(winrt::Windows::Foundation::Point const& point) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeneralTransform<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_IGeneralTransform<D>::TryTransform(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeneralTransform<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Media_IGeneralTransform<D>::TransformBounds(winrt::Windows::Foundation::Rect const& rect) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeneralTransform<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeneralTransform) consume_Windows_UI_Xaml_Media_IGeneralTransformFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeneralTransformFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeneralTransform) consume_Windows_UI_Xaml_Media_IGeneralTransformOverrides<D>::InverseCore() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeneralTransformOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_IGeneralTransformOverrides<D>::TryTransformCore(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeneralTransformOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Media_IGeneralTransformOverrides<D>::TransformBoundsCore(winrt::Windows::Foundation::Rect const& rect) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeneralTransformOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Transform) consume_Windows_UI_Xaml_Media_IGeometry<D>::Transform() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGeometry<D>::Transform(winrt::Windows::UI::Xaml::Media::Transform const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Media_IGeometry<D>::Bounds() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FillRule) consume_Windows_UI_Xaml_Media_IGeometryGroup<D>::FillRule() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeometryGroup<D>::FillRule() const
{
winrt::Windows::UI::Xaml::Media::FillRule value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryGroup)->get_FillRule(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGeometryGroup<D>::FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeometryGroup<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeometryCollection) consume_Windows_UI_Xaml_Media_IGeometryGroup<D>::Children() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeometryGroup<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGeometryGroup<D>::Children(winrt::Windows::UI::Xaml::Media::GeometryCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeometryGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGeometryGroupStatics<D>::FillRuleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeometryGroupStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGeometryGroupStatics<D>::ChildrenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeometryGroupStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Geometry) consume_Windows_UI_Xaml_Media_IGeometryStatics<D>::Empty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeometryStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IGeometryStatics<D>::StandardFlatteningTolerance() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeometryStatics<D>::StandardFlatteningTolerance() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryStatics)->get_StandardFlatteningTolerance(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGeometryStatics<D>::TransformProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGeometryStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GradientSpreadMethod) consume_Windows_UI_Xaml_Media_IGradientBrush<D>::SpreadMethod() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientBrush<D>::SpreadMethod() const
{
winrt::Windows::UI::Xaml::Media::GradientSpreadMethod value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->get_SpreadMethod(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGradientBrush<D>::SpreadMethod(winrt::Windows::UI::Xaml::Media::GradientSpreadMethod const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientBrush<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::BrushMappingMode) consume_Windows_UI_Xaml_Media_IGradientBrush<D>::MappingMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientBrush<D>::MappingMode() const
{
winrt::Windows::UI::Xaml::Media::BrushMappingMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->get_MappingMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGradientBrush<D>::MappingMode(winrt::Windows::UI::Xaml::Media::BrushMappingMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientBrush<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ColorInterpolationMode) consume_Windows_UI_Xaml_Media_IGradientBrush<D>::ColorInterpolationMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientBrush<D>::ColorInterpolationMode() const
{
winrt::Windows::UI::Xaml::Media::ColorInterpolationMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->get_ColorInterpolationMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGradientBrush<D>::ColorInterpolationMode(winrt::Windows::UI::Xaml::Media::ColorInterpolationMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientBrush<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GradientStopCollection) consume_Windows_UI_Xaml_Media_IGradientBrush<D>::GradientStops() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGradientBrush<D>::GradientStops(winrt::Windows::UI::Xaml::Media::GradientStopCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GradientBrush) consume_Windows_UI_Xaml_Media_IGradientBrushFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientBrushFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGradientBrushStatics<D>::SpreadMethodProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGradientBrushStatics<D>::MappingModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGradientBrushStatics<D>::ColorInterpolationModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGradientBrushStatics<D>::GradientStopsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Media_IGradientStop<D>::Color() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientStop<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGradientStop<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientStop<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IGradientStop<D>::Offset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientStop<D>::Offset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientStop)->get_Offset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IGradientStop<D>::Offset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientStop<D>::Offset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientStop)->put_Offset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGradientStopStatics<D>::ColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientStopStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IGradientStopStatics<D>::OffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IGradientStopStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ImageSource) consume_Windows_UI_Xaml_Media_IImageBrush<D>::ImageSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IImageBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IImageBrush<D>::ImageSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IImageBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_IImageBrush<D>::ImageFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IImageBrush<D>::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 D> typename consume_Windows_UI_Xaml_Media_IImageBrush<D>::ImageFailed_revoker consume_Windows_UI_Xaml_Media_IImageBrush<D>::ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IImageBrush<D>::ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, ImageFailed_revoker>(this, ImageFailed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IImageBrush<D>::ImageFailed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IImageBrush<D>::ImageFailed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IImageBrush)->remove_ImageFailed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_IImageBrush<D>::ImageOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IImageBrush<D>::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 D> typename consume_Windows_UI_Xaml_Media_IImageBrush<D>::ImageOpened_revoker consume_Windows_UI_Xaml_Media_IImageBrush<D>::ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IImageBrush<D>::ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, ImageOpened_revoker>(this, ImageOpened(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IImageBrush<D>::ImageOpened(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IImageBrush<D>::ImageOpened(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IImageBrush)->remove_ImageOpened(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IImageBrushStatics<D>::ImageSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IImageBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_ILineGeometry<D>::StartPoint() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILineGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ILineGeometry<D>::StartPoint(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILineGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_ILineGeometry<D>::EndPoint() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILineGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ILineGeometry<D>::EndPoint(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILineGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ILineGeometryStatics<D>::StartPointProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILineGeometryStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ILineGeometryStatics<D>::EndPointProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILineGeometryStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_ILineSegment<D>::Point() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILineSegment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ILineSegment<D>::Point(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILineSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ILineSegmentStatics<D>::PointProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILineSegmentStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_ILinearGradientBrush<D>::StartPoint() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILinearGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ILinearGradientBrush<D>::StartPoint(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILinearGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_ILinearGradientBrush<D>::EndPoint() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILinearGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ILinearGradientBrush<D>::EndPoint(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILinearGradientBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LinearGradientBrush) consume_Windows_UI_Xaml_Media_ILinearGradientBrushFactory<D>::CreateInstanceWithGradientStopCollectionAndAngle(winrt::Windows::UI::Xaml::Media::GradientStopCollection const& gradientStopCollection, double angle) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILinearGradientBrushFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ILinearGradientBrushStatics<D>::StartPointProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILinearGradientBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ILinearGradientBrushStatics<D>::EndPointProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILinearGradientBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LoadedImageSourceLoadStatus) consume_Windows_UI_Xaml_Media_ILoadedImageSourceLoadCompletedEventArgs<D>::Status() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILoadedImageSourceLoadCompletedEventArgs<D>::Status() const
{
winrt::Windows::UI::Xaml::Media::LoadedImageSourceLoadStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSourceLoadCompletedEventArgs)->get_Status(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_Media_ILoadedImageSurface<D>::DecodedPhysicalSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_Media_ILoadedImageSurface<D>::DecodedSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_Media_ILoadedImageSurface<D>::NaturalSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Media_ILoadedImageSurface<D>::LoadCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::LoadedImageSurface, winrt::Windows::UI::Xaml::Media::LoadedImageSourceLoadCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface<D>::LoadCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::LoadedImageSurface, winrt::Windows::UI::Xaml::Media::LoadedImageSourceLoadCompletedEventArgs> 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 D> typename consume_Windows_UI_Xaml_Media_ILoadedImageSurface<D>::LoadCompleted_revoker consume_Windows_UI_Xaml_Media_ILoadedImageSurface<D>::LoadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::LoadedImageSurface, winrt::Windows::UI::Xaml::Media::LoadedImageSourceLoadCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface<D>::LoadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::LoadedImageSurface, winrt::Windows::UI::Xaml::Media::LoadedImageSourceLoadCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, LoadCompleted_revoker>(this, LoadCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ILoadedImageSurface<D>::LoadCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface<D>::LoadCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurface)->remove_LoadCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LoadedImageSurface) consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics<D>::StartLoadFromUri(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Size const& desiredMaxSize) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LoadedImageSurface) consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics<D>::StartLoadFromUri(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LoadedImageSurface) consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics<D>::StartLoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Foundation::Size const& desiredMaxSize) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::LoadedImageSurface) consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics<D>::StartLoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) consume_Windows_UI_Xaml_Media_IMatrix3DProjection<D>::ProjectionMatrix() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IMatrix3DProjection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IMatrix3DProjection<D>::ProjectionMatrix(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IMatrix3DProjection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IMatrix3DProjectionStatics<D>::ProjectionMatrixProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IMatrix3DProjectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Matrix) consume_Windows_UI_Xaml_Media_IMatrixHelperStatics<D>::Identity() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IMatrixHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Matrix) consume_Windows_UI_Xaml_Media_IMatrixHelperStatics<D>::FromElements(double m11, double m12, double m21, double m22, double offsetX, double offsetY) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IMatrixHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_IMatrixHelperStatics<D>::GetIsIdentity(winrt::Windows::UI::Xaml::Media::Matrix const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IMatrixHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IMatrixHelperStatics<D>::Transform(winrt::Windows::UI::Xaml::Media::Matrix const& target, winrt::Windows::Foundation::Point const& point) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IMatrixHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Matrix) consume_Windows_UI_Xaml_Media_IMatrixTransform<D>::Matrix() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IMatrixTransform<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IMatrixTransform<D>::Matrix(winrt::Windows::UI::Xaml::Media::Matrix const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IMatrixTransform<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IMatrixTransformStatics<D>::MatrixProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IMatrixTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IMediaTransportControlsThumbnailRequestedEventArgs<D>::SetThumbnailImage(winrt::Windows::Storage::Streams::IInputStream const& source) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IMediaTransportControlsThumbnailRequestedEventArgs<D>::SetThumbnailImage(winrt::Windows::Storage::Streams::IInputStream const& source) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMediaTransportControlsThumbnailRequestedEventArgs)->SetThumbnailImage(*(void**)(&source)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_UI_Xaml_Media_IMediaTransportControlsThumbnailRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IMediaTransportControlsThumbnailRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::FailedMediaStreamKind) consume_Windows_UI_Xaml_Media_IPartialMediaFailureDetectedEventArgs<D>::StreamKind() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPartialMediaFailureDetectedEventArgs<D>::StreamKind() const
{
winrt::Windows::Media::Playback::FailedMediaStreamKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPartialMediaFailureDetectedEventArgs)->get_StreamKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_UI_Xaml_Media_IPartialMediaFailureDetectedEventArgs2<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPartialMediaFailureDetectedEventArgs2<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPartialMediaFailureDetectedEventArgs2)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PathSegmentCollection) consume_Windows_UI_Xaml_Media_IPathFigure<D>::Segments() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathFigure<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPathFigure<D>::Segments(winrt::Windows::UI::Xaml::Media::PathSegmentCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathFigure<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IPathFigure<D>::StartPoint() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathFigure<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPathFigure<D>::StartPoint(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathFigure<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_IPathFigure<D>::IsClosed() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathFigure<D>::IsClosed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->get_IsClosed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPathFigure<D>::IsClosed(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathFigure<D>::IsClosed(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->put_IsClosed(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_IPathFigure<D>::IsFilled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathFigure<D>::IsFilled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->get_IsFilled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPathFigure<D>::IsFilled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathFigure<D>::IsFilled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->put_IsFilled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPathFigureStatics<D>::SegmentsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathFigureStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPathFigureStatics<D>::StartPointProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathFigureStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPathFigureStatics<D>::IsClosedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathFigureStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPathFigureStatics<D>::IsFilledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathFigureStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FillRule) consume_Windows_UI_Xaml_Media_IPathGeometry<D>::FillRule() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathGeometry<D>::FillRule() const
{
winrt::Windows::UI::Xaml::Media::FillRule value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathGeometry)->get_FillRule(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPathGeometry<D>::FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathGeometry<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PathFigureCollection) consume_Windows_UI_Xaml_Media_IPathGeometry<D>::Figures() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPathGeometry<D>::Figures(winrt::Windows::UI::Xaml::Media::PathFigureCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPathGeometryStatics<D>::FillRuleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathGeometryStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPathGeometryStatics<D>::FiguresProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPathGeometryStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::LocalOffsetX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::LocalOffsetX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_LocalOffsetX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::LocalOffsetX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::LocalOffsetX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_LocalOffsetX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::LocalOffsetY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::LocalOffsetY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_LocalOffsetY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::LocalOffsetY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::LocalOffsetY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_LocalOffsetY(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::LocalOffsetZ() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::LocalOffsetZ() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_LocalOffsetZ(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::LocalOffsetZ(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::LocalOffsetZ(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_LocalOffsetZ(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::RotationX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::RotationX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_RotationX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::RotationX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::RotationX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_RotationX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::RotationY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::RotationY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_RotationY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::RotationY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::RotationY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_RotationY(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::RotationZ() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::RotationZ() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_RotationZ(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::RotationZ(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::RotationZ(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_RotationZ(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::CenterOfRotationX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::CenterOfRotationX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_CenterOfRotationX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::CenterOfRotationX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::CenterOfRotationX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_CenterOfRotationX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::CenterOfRotationY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::CenterOfRotationY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_CenterOfRotationY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::CenterOfRotationY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::CenterOfRotationY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_CenterOfRotationY(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::CenterOfRotationZ() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::CenterOfRotationZ() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_CenterOfRotationZ(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::CenterOfRotationZ(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::CenterOfRotationZ(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_CenterOfRotationZ(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::GlobalOffsetX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::GlobalOffsetX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_GlobalOffsetX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::GlobalOffsetX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::GlobalOffsetX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_GlobalOffsetX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::GlobalOffsetY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::GlobalOffsetY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_GlobalOffsetY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::GlobalOffsetY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::GlobalOffsetY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_GlobalOffsetY(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::GlobalOffsetZ() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::GlobalOffsetZ() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_GlobalOffsetZ(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::GlobalOffsetZ(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::GlobalOffsetZ(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_GlobalOffsetZ(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D) consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::ProjectionMatrix() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::LocalOffsetXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::LocalOffsetYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::LocalOffsetZProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::RotationXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::RotationYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::RotationZProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::CenterOfRotationXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::CenterOfRotationYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::CenterOfRotationZProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::GlobalOffsetXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::GlobalOffsetYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::GlobalOffsetZProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::ProjectionMatrixProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PointCollection) consume_Windows_UI_Xaml_Media_IPolyBezierSegment<D>::Points() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPolyBezierSegment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPolyBezierSegment<D>::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPolyBezierSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPolyBezierSegmentStatics<D>::PointsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPolyBezierSegmentStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PointCollection) consume_Windows_UI_Xaml_Media_IPolyLineSegment<D>::Points() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPolyLineSegment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPolyLineSegment<D>::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPolyLineSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPolyLineSegmentStatics<D>::PointsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPolyLineSegmentStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PointCollection) consume_Windows_UI_Xaml_Media_IPolyQuadraticBezierSegment<D>::Points() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPolyQuadraticBezierSegment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IPolyQuadraticBezierSegment<D>::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPolyQuadraticBezierSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IPolyQuadraticBezierSegmentStatics<D>::PointsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IPolyQuadraticBezierSegmentStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Projection) consume_Windows_UI_Xaml_Media_IProjectionFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IProjectionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment<D>::Point1() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment<D>::Point1(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment<D>::Point2() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment<D>::Point2(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IQuadraticBezierSegmentStatics<D>::Point1Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegmentStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IQuadraticBezierSegmentStatics<D>::Point2Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegmentStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Media_IRectangleGeometry<D>::Rect() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRectangleGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IRectangleGeometry<D>::Rect(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRectangleGeometry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IRectangleGeometryStatics<D>::RectProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRectangleGeometryStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Media_IRenderedEventArgs<D>::FrameDuration() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRenderedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Media_IRenderingEventArgs<D>::RenderingTime() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRenderingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::RevealBackgroundBrush) consume_Windows_UI_Xaml_Media_IRevealBackgroundBrushFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRevealBackgroundBrushFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::RevealBorderBrush) consume_Windows_UI_Xaml_Media_IRevealBorderBrushFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRevealBorderBrushFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Media_IRevealBrush<D>::Color() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRevealBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IRevealBrush<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRevealBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ApplicationTheme) consume_Windows_UI_Xaml_Media_IRevealBrush<D>::TargetTheme() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRevealBrush<D>::TargetTheme() const
{
winrt::Windows::UI::Xaml::ApplicationTheme value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrush)->get_TargetTheme(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IRevealBrush<D>::TargetTheme(winrt::Windows::UI::Xaml::ApplicationTheme const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRevealBrush<D>::TargetTheme(winrt::Windows::UI::Xaml::ApplicationTheme const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrush)->put_TargetTheme(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Media_IRevealBrush<D>::AlwaysUseFallback() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRevealBrush<D>::AlwaysUseFallback() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrush)->get_AlwaysUseFallback(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IRevealBrush<D>::AlwaysUseFallback(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRevealBrush<D>::AlwaysUseFallback(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrush)->put_AlwaysUseFallback(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::RevealBrush) consume_Windows_UI_Xaml_Media_IRevealBrushFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRevealBrushFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IRevealBrushStatics<D>::ColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IRevealBrushStatics<D>::TargetThemeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IRevealBrushStatics<D>::AlwaysUseFallbackProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IRevealBrushStatics<D>::StateProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IRevealBrushStatics<D>::SetState(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Xaml::Media::RevealBrushState const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::RevealBrushState) consume_Windows_UI_Xaml_Media_IRevealBrushStatics<D>::GetState(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics<D>::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<int32_t*>(&result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IRotateTransform<D>::CenterX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRotateTransform<D>::CenterX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->get_CenterX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IRotateTransform<D>::CenterX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRotateTransform<D>::CenterX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->put_CenterX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IRotateTransform<D>::CenterY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRotateTransform<D>::CenterY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->get_CenterY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IRotateTransform<D>::CenterY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRotateTransform<D>::CenterY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->put_CenterY(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IRotateTransform<D>::Angle() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRotateTransform<D>::Angle() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->get_Angle(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IRotateTransform<D>::Angle(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRotateTransform<D>::Angle(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->put_Angle(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IRotateTransformStatics<D>::CenterXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRotateTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IRotateTransformStatics<D>::CenterYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRotateTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IRotateTransformStatics<D>::AngleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IRotateTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IScaleTransform<D>::CenterX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IScaleTransform<D>::CenterX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->get_CenterX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IScaleTransform<D>::CenterX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IScaleTransform<D>::CenterX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->put_CenterX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IScaleTransform<D>::CenterY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IScaleTransform<D>::CenterY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->get_CenterY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IScaleTransform<D>::CenterY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IScaleTransform<D>::CenterY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->put_CenterY(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IScaleTransform<D>::ScaleX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IScaleTransform<D>::ScaleX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->get_ScaleX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IScaleTransform<D>::ScaleX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IScaleTransform<D>::ScaleX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->put_ScaleX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_IScaleTransform<D>::ScaleY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IScaleTransform<D>::ScaleY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->get_ScaleY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IScaleTransform<D>::ScaleY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IScaleTransform<D>::ScaleY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->put_ScaleY(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IScaleTransformStatics<D>::CenterXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IScaleTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IScaleTransformStatics<D>::CenterYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IScaleTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IScaleTransformStatics<D>::ScaleXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IScaleTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IScaleTransformStatics<D>::ScaleYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IScaleTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ISkewTransform<D>::CenterX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ISkewTransform<D>::CenterX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->get_CenterX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ISkewTransform<D>::CenterX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ISkewTransform<D>::CenterX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->put_CenterX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ISkewTransform<D>::CenterY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ISkewTransform<D>::CenterY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->get_CenterY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ISkewTransform<D>::CenterY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ISkewTransform<D>::CenterY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->put_CenterY(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ISkewTransform<D>::AngleX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ISkewTransform<D>::AngleX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->get_AngleX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ISkewTransform<D>::AngleX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ISkewTransform<D>::AngleX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->put_AngleX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ISkewTransform<D>::AngleY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ISkewTransform<D>::AngleY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->get_AngleY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ISkewTransform<D>::AngleY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ISkewTransform<D>::AngleY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->put_AngleY(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ISkewTransformStatics<D>::CenterXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ISkewTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ISkewTransformStatics<D>::CenterYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ISkewTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ISkewTransformStatics<D>::AngleXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ISkewTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ISkewTransformStatics<D>::AngleYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ISkewTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Media_ISolidColorBrush<D>::Color() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ISolidColorBrush<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ISolidColorBrush<D>::Color(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ISolidColorBrush<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::SolidColorBrush) consume_Windows_UI_Xaml_Media_ISolidColorBrushFactory<D>::CreateInstanceWithColor(winrt::Windows::UI::Color const& color) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ISolidColorBrushFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ISolidColorBrushStatics<D>::ColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ISolidColorBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElementWeakCollection) consume_Windows_UI_Xaml_Media_IThemeShadow<D>::Receivers() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IThemeShadow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ThemeShadow) consume_Windows_UI_Xaml_Media_IThemeShadowFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IThemeShadowFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AlignmentX) consume_Windows_UI_Xaml_Media_ITileBrush<D>::AlignmentX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITileBrush<D>::AlignmentX() const
{
winrt::Windows::UI::Xaml::Media::AlignmentX value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrush)->get_AlignmentX(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITileBrush<D>::AlignmentX(winrt::Windows::UI::Xaml::Media::AlignmentX const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITileBrush<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::AlignmentY) consume_Windows_UI_Xaml_Media_ITileBrush<D>::AlignmentY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITileBrush<D>::AlignmentY() const
{
winrt::Windows::UI::Xaml::Media::AlignmentY value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrush)->get_AlignmentY(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITileBrush<D>::AlignmentY(winrt::Windows::UI::Xaml::Media::AlignmentY const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITileBrush<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) consume_Windows_UI_Xaml_Media_ITileBrush<D>::Stretch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITileBrush<D>::Stretch() const
{
winrt::Windows::UI::Xaml::Media::Stretch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrush)->get_Stretch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITileBrush<D>::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITileBrush<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::TileBrush) consume_Windows_UI_Xaml_Media_ITileBrushFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITileBrushFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITileBrushStatics<D>::AlignmentXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITileBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITileBrushStatics<D>::AlignmentYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITileBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITileBrushStatics<D>::StretchProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITileBrushStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_Media_ITimelineMarker<D>::Time() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITimelineMarker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITimelineMarker<D>::Time(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITimelineMarker<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_ITimelineMarker<D>::Type() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITimelineMarker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITimelineMarker<D>::Type(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITimelineMarker<D>::Type(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarker)->put_Type(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_ITimelineMarker<D>::Text() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITimelineMarker<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITimelineMarker<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITimelineMarker<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarker)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::TimelineMarker) consume_Windows_UI_Xaml_Media_ITimelineMarkerRoutedEventArgs<D>::Marker() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITimelineMarkerRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITimelineMarkerRoutedEventArgs<D>::Marker(winrt::Windows::UI::Xaml::Media::TimelineMarker const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITimelineMarkerRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITimelineMarkerStatics<D>::TimeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITimelineMarkerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITimelineMarkerStatics<D>::TypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITimelineMarkerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITimelineMarkerStatics<D>::TextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITimelineMarkerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::TransformCollection) consume_Windows_UI_Xaml_Media_ITransformGroup<D>::Children() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITransformGroup<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITransformGroup<D>::Children(winrt::Windows::UI::Xaml::Media::TransformCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITransformGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Matrix) consume_Windows_UI_Xaml_Media_ITransformGroup<D>::Value() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITransformGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITransformGroupStatics<D>::ChildrenProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITransformGroupStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ITranslateTransform<D>::X() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITranslateTransform<D>::X() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITranslateTransform)->get_X(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITranslateTransform<D>::X(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITranslateTransform<D>::X(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITranslateTransform)->put_X(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Media_ITranslateTransform<D>::Y() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITranslateTransform<D>::Y() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITranslateTransform)->get_Y(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_ITranslateTransform<D>::Y(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITranslateTransform<D>::Y(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITranslateTransform)->put_Y(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITranslateTransformStatics<D>::XProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITranslateTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_ITranslateTransformStatics<D>::YProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_ITranslateTransformStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::UIElement>) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics<D>::FindElementsInHostCoordinates(winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Windows::UI::Xaml::UIElement const& subtree) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics<D>::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<winrt::Windows::UI::Xaml::UIElement>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::UIElement>) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics<D>::FindElementsInHostCoordinates(winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Windows::UI::Xaml::UIElement const& subtree) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics<D>::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<winrt::Windows::UI::Xaml::UIElement>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::UIElement>) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics<D>::FindElementsInHostCoordinates(winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Windows::UI::Xaml::UIElement const& subtree, bool includeAllElements) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics<D>::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<winrt::Windows::UI::Xaml::UIElement>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::UIElement>) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics<D>::FindElementsInHostCoordinates(winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Windows::UI::Xaml::UIElement const& subtree, bool includeAllElements) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics<D>::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<winrt::Windows::UI::Xaml::UIElement>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics<D>::GetChild(winrt::Windows::UI::Xaml::DependencyObject const& reference, int32_t childIndex) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics<D>::GetChildrenCount(winrt::Windows::UI::Xaml::DependencyObject const& reference) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics<D>::GetParent(winrt::Windows::UI::Xaml::DependencyObject const& reference) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics<D>::DisconnectChildrenRecursive(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics<D>::DisconnectChildrenRecursive(winrt::Windows::UI::Xaml::UIElement const& element) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics)->DisconnectChildrenRecursive(*(void**)(&element)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Controls::Primitives::Popup>) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics2<D>::GetOpenPopups(winrt::Windows::UI::Xaml::Window const& window) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics2<D>::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<winrt::Windows::UI::Xaml::Controls::Primitives::Popup>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Controls::Primitives::Popup>) consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics3<D>::GetOpenPopupsForXamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics3<D>::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<winrt::Windows::UI::Xaml::Controls::Primitives::Popup>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBase<D>::FallbackColor() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBase<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBase<D>::FallbackColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBase<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::XamlCompositionBrushBase) consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseOverrides<D>::OnConnected() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseOverrides<D>::OnConnected() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseOverrides)->OnConnected());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseOverrides<D>::OnDisconnected() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseOverrides<D>::OnDisconnected() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseOverrides)->OnDisconnected());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseProtected<D>::CompositionBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseProtected<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseProtected<D>::CompositionBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseProtected<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseStatics<D>::FallbackColorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::XamlLight) consume_Windows_UI_Xaml_Media_IXamlLightFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlLightFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Media_IXamlLightOverrides<D>::GetId() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlLightOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlLightOverrides<D>::OnConnected(winrt::Windows::UI::Xaml::UIElement const& newElement) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlLightOverrides<D>::OnConnected(winrt::Windows::UI::Xaml::UIElement const& newElement) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightOverrides)->OnConnected(*(void**)(&newElement)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlLightOverrides<D>::OnDisconnected(winrt::Windows::UI::Xaml::UIElement const& oldElement) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlLightOverrides<D>::OnDisconnected(winrt::Windows::UI::Xaml::UIElement const& oldElement) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightOverrides)->OnDisconnected(*(void**)(&oldElement)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionLight) consume_Windows_UI_Xaml_Media_IXamlLightProtected<D>::CompositionLight() const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlLightProtected<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlLightProtected<D>::CompositionLight(winrt::Windows::UI::Composition::CompositionLight const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlLightProtected<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlLightStatics<D>::AddTargetElement(param::hstring const& lightId, winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlLightStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlLightStatics<D>::RemoveTargetElement(param::hstring const& lightId, winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlLightStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlLightStatics<D>::AddTargetBrush(param::hstring const& lightId, winrt::Windows::UI::Xaml::Media::Brush const& brush) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlLightStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Media_IXamlLightStatics<D>::RemoveTargetBrush(param::hstring const& lightId, winrt::Windows::UI::Xaml::Media::Brush const& brush) const
+ template <typename D> auto consume_Windows_UI_Xaml_Media_IXamlLightStatics<D>::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<CompositionTarget, ICompositionTargetStatics>([&](ICompositionTargetStatics const& f) { return f.Rendering(handler); });
}
- inline CompositionTarget::Rendering_revoker CompositionTarget::Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto CompositionTarget::Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<CompositionTarget, winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics>();
- 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<CompositionTarget, ICompositionTargetStatics>([&](ICompositionTargetStatics const& f) { return f.SurfaceContentsLost(handler); });
}
- inline CompositionTarget::SurfaceContentsLost_revoker CompositionTarget::SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
+ inline auto CompositionTarget::SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler)
{
auto f = get_activation_factory<CompositionTarget, winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics>();
- 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<CompositionTarget, ICompositionTargetStatics3>([&](ICompositionTargetStatics3 const& f) { return f.Rendered(handler); });
}
- inline CompositionTarget::Rendered_revoker CompositionTarget::Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Media::RenderedEventArgs> const& handler)
+ inline auto CompositionTarget::Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Media::RenderedEventArgs> const& handler)
{
auto f = get_activation_factory<CompositionTarget, winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics3>();
- 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<TimelineMarkerRoutedEventHandler>**)this)->Invoke(*(void**)(&sender), *(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(void) IBrushOverrides2T<D>::PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const
+ template <typename D> auto IBrushOverrides2T<D>::PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const
{
return shim().template try_as<IBrushOverrides2>().PopulatePropertyInfoOverride(propertyName, animationPropertyInfo);
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeneralTransform) IGeneralTransformOverridesT<D>::InverseCore() const
+ template <typename D> auto IGeneralTransformOverridesT<D>::InverseCore() const
{
return shim().template try_as<IGeneralTransformOverrides>().InverseCore();
}
- template <typename D> WINRT_IMPL_AUTO(bool) IGeneralTransformOverridesT<D>::TryTransformCore(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const
+ template <typename D> auto IGeneralTransformOverridesT<D>::TryTransformCore(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const
{
return shim().template try_as<IGeneralTransformOverrides>().TryTransformCore(inPoint, outPoint);
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) IGeneralTransformOverridesT<D>::TransformBoundsCore(winrt::Windows::Foundation::Rect const& rect) const
+ template <typename D> auto IGeneralTransformOverridesT<D>::TransformBoundsCore(winrt::Windows::Foundation::Rect const& rect) const
{
return shim().template try_as<IGeneralTransformOverrides>().TransformBoundsCore(rect);
}
- template <typename D> WINRT_IMPL_AUTO(void) IXamlCompositionBrushBaseOverridesT<D>::OnConnected() const
+ template <typename D> auto IXamlCompositionBrushBaseOverridesT<D>::OnConnected() const
{
return shim().template try_as<IXamlCompositionBrushBaseOverrides>().OnConnected();
}
- template <typename D> WINRT_IMPL_AUTO(void) IXamlCompositionBrushBaseOverridesT<D>::OnDisconnected() const
+ template <typename D> auto IXamlCompositionBrushBaseOverridesT<D>::OnDisconnected() const
{
return shim().template try_as<IXamlCompositionBrushBaseOverrides>().OnDisconnected();
}
- template <typename D> WINRT_IMPL_AUTO(hstring) IXamlLightOverridesT<D>::GetId() const
+ template <typename D> auto IXamlLightOverridesT<D>::GetId() const
{
return shim().template try_as<IXamlLightOverrides>().GetId();
}
- template <typename D> WINRT_IMPL_AUTO(void) IXamlLightOverridesT<D>::OnConnected(winrt::Windows::UI::Xaml::UIElement const& newElement) const
+ template <typename D> auto IXamlLightOverridesT<D>::OnConnected(winrt::Windows::UI::Xaml::UIElement const& newElement) const
{
return shim().template try_as<IXamlLightOverrides>().OnConnected(newElement);
}
- template <typename D> WINRT_IMPL_AUTO(void) IXamlLightOverridesT<D>::OnDisconnected(winrt::Windows::UI::Xaml::UIElement const& oldElement) const
+ template <typename D> auto IXamlLightOverridesT<D>::OnDisconnected(winrt::Windows::UI::Xaml::UIElement const& oldElement) const
{
return shim().template try_as<IXamlLightOverrides>().OnDisconnected(oldElement);
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Navigation.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Navigation.h
index 89561e03e8f..00c05ec17fb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Navigation.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptions<D>::IsNavigationStackEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptions<D>::IsNavigationStackEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::IFrameNavigationOptions)->get_IsNavigationStackEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptions<D>::IsNavigationStackEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptions<D>::IsNavigationStackEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::IFrameNavigationOptions)->put_IsNavigationStackEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptions<D>::TransitionInfoOverride() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptions<D>::TransitionInfoOverride(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptions<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Navigation::FrameNavigationOptions) consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptionsFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_IFrameNavigationOptionsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigatingCancelEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigatingCancelEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Navigation::NavigationMode) consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs<D>::NavigationMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs<D>::NavigationMode() const
{
winrt::Windows::UI::Xaml::Navigation::NavigationMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigatingCancelEventArgs)->get_NavigationMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs<D>::SourcePageType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs2<D>::Parameter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs2<D>::NavigationTransitionInfo() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_INavigatingCancelEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Navigation_INavigationEventArgs<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_INavigationEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Navigation_INavigationEventArgs<D>::Parameter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_INavigationEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Navigation_INavigationEventArgs<D>::SourcePageType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_INavigationEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Navigation::NavigationMode) consume_Windows_UI_Xaml_Navigation_INavigationEventArgs<D>::NavigationMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_INavigationEventArgs<D>::NavigationMode() const
{
winrt::Windows::UI::Xaml::Navigation::NavigationMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigationEventArgs)->get_NavigationMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_Navigation_INavigationEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_INavigationEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Navigation_INavigationEventArgs<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_INavigationEventArgs<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigationEventArgs)->put_Uri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) consume_Windows_UI_Xaml_Navigation_INavigationEventArgs2<D>::NavigationTransitionInfo() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_INavigationEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_UI_Xaml_Navigation_INavigationFailedEventArgs<D>::Exception() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_INavigationFailedEventArgs<D>::Exception() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigationFailedEventArgs)->get_Exception(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Navigation_INavigationFailedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_INavigationFailedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigationFailedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Navigation_INavigationFailedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_INavigationFailedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::INavigationFailedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Navigation_INavigationFailedEventArgs<D>::SourcePageType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_INavigationFailedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_Navigation_IPageStackEntry<D>::SourcePageType() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_IPageStackEntry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Navigation_IPageStackEntry<D>::Parameter() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_IPageStackEntry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo) consume_Windows_UI_Xaml_Navigation_IPageStackEntry<D>::NavigationTransitionInfo() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_IPageStackEntry<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Navigation::PageStackEntry) consume_Windows_UI_Xaml_Navigation_IPageStackEntryFactory<D>::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 <typename D> auto consume_Windows_UI_Xaml_Navigation_IPageStackEntryFactory<D>::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**)(&parameter), *(void**)(&navigationTransitionInfo), &value));
return winrt::Windows::UI::Xaml::Navigation::PageStackEntry{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Navigation_IPageStackEntryStatics<D>::SourcePageTypeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Navigation_IPageStackEntryStatics<D>::SourcePageTypeProperty() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Navigation::IPageStackEntryStatics)->get_SourcePageTypeProperty(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Printing.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Printing.h
index afd38a7dacf..a7d9c83d9f4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Printing.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskOptions) consume_Windows_UI_Xaml_Printing_IAddPagesEventArgs<D>::PrintTaskOptions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IAddPagesEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Printing_IGetPreviewPageEventArgs<D>::PageNumber() const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IGetPreviewPageEventArgs<D>::PageNumber() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IGetPreviewPageEventArgs)->get_PageNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskOptions) consume_Windows_UI_Xaml_Printing_IPaginateEventArgs<D>::PrintTaskOptions() const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPaginateEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Printing_IPaginateEventArgs<D>::CurrentPreviewPageNumber() const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPaginateEventArgs<D>::CurrentPreviewPageNumber() const
{
int32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPaginateEventArgs)->get_CurrentPreviewPageNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::IPrintDocumentSource) consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::DocumentSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::Paginate(winrt::Windows::UI::Xaml::Printing::PaginateEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::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 D> typename consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::Paginate_revoker consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::Paginate(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::PaginateEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::Paginate(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::PaginateEventHandler const& handler) const
{
return impl::make_event_revoker<D, Paginate_revoker>(this, Paginate(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::Paginate(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::Paginate(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->remove_Paginate(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::GetPreviewPage(winrt::Windows::UI::Xaml::Printing::GetPreviewPageEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::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 D> typename consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::GetPreviewPage_revoker consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::GetPreviewPage(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::GetPreviewPageEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::GetPreviewPage(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::GetPreviewPageEventHandler const& handler) const
{
return impl::make_event_revoker<D, GetPreviewPage_revoker>(this, GetPreviewPage(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::GetPreviewPage(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::GetPreviewPage(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->remove_GetPreviewPage(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::AddPages(winrt::Windows::UI::Xaml::Printing::AddPagesEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::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 D> typename consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::AddPages_revoker consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::AddPages(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::AddPagesEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::AddPages(auto_revoke_t, winrt::Windows::UI::Xaml::Printing::AddPagesEventHandler const& handler) const
{
return impl::make_event_revoker<D, AddPages_revoker>(this, AddPages(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::AddPages(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::AddPages(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->remove_AddPages(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::AddPage(winrt::Windows::UI::Xaml::UIElement const& pageVisual) const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::AddPage(winrt::Windows::UI::Xaml::UIElement const& pageVisual) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->AddPage(*(void**)(&pageVisual)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::AddPagesComplete() const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::AddPagesComplete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->AddPagesComplete());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::SetPreviewPageCount(int32_t count, winrt::Windows::UI::Xaml::Printing::PreviewPageCountType const& type) const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::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<int32_t>(type)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::SetPreviewPage(int32_t pageNumber, winrt::Windows::UI::Xaml::UIElement const& pageVisual) const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::InvalidatePreview() const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPrintDocument<D>::InvalidatePreview() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocument)->InvalidatePreview());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Printing::PrintDocument) consume_Windows_UI_Xaml_Printing_IPrintDocumentFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPrintDocumentFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Printing_IPrintDocumentStatics<D>::DocumentSourceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Printing_IPrintDocumentStatics<D>::DocumentSourceProperty() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Printing::IPrintDocumentStatics)->get_DocumentSourceProperty(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Resources.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Resources.h
index 41f2d84c63a..9acb98d1e6a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Resources.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Resources::CustomXamlResourceLoader) consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderOverrides<D>::GetResource(param::hstring const& resourceId, param::hstring const& objectType, param::hstring const& propertyName, param::hstring const& propertyType) const
+ template <typename D> auto consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Resources::CustomXamlResourceLoader) consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderStatics<D>::Current() const
+ template <typename D> auto consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderStatics<D>::Current(winrt::Windows::UI::Xaml::Resources::CustomXamlResourceLoader const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Resources_ICustomXamlResourceLoaderStatics<D>::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<CustomXamlResourceLoader, ICustomXamlResourceLoaderStatics>([&](ICustomXamlResourceLoaderStatics const& f) { return f.Current(value); });
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ICustomXamlResourceLoaderOverridesT<D>::GetResource(param::hstring const& resourceId, param::hstring const& objectType, param::hstring const& propertyName, param::hstring const& propertyType) const
+ template <typename D> auto ICustomXamlResourceLoaderOverridesT<D>::GetResource(param::hstring const& resourceId, param::hstring const& objectType, param::hstring const& propertyName, param::hstring const& propertyType) const
{
return shim().template try_as<ICustomXamlResourceLoaderOverrides>().GetResource(resourceId, objectType, propertyName, propertyType);
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Shapes.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Shapes.h
index 49282c78232..927e7234026 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.Shapes.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_ILine<D>::X1() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_ILine<D>::X1() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILine)->get_X1(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_ILine<D>::X1(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_ILine<D>::X1(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILine)->put_X1(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_ILine<D>::Y1() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_ILine<D>::Y1() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILine)->get_Y1(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_ILine<D>::Y1(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_ILine<D>::Y1(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILine)->put_Y1(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_ILine<D>::X2() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_ILine<D>::X2() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILine)->get_X2(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_ILine<D>::X2(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_ILine<D>::X2(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILine)->put_X2(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_ILine<D>::Y2() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_ILine<D>::Y2() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILine)->get_Y2(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_ILine<D>::Y2(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_ILine<D>::Y2(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::ILine)->put_Y2(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_ILineStatics<D>::X1Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_ILineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_ILineStatics<D>::Y1Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_ILineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_ILineStatics<D>::X2Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_ILineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_ILineStatics<D>::Y2Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_ILineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Geometry) consume_Windows_UI_Xaml_Shapes_IPath<D>::Data() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IPath<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IPath<D>::Data(winrt::Windows::UI::Xaml::Media::Geometry const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IPath<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Shapes::Path) consume_Windows_UI_Xaml_Shapes_IPathFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IPathFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IPathStatics<D>::DataProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IPathStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FillRule) consume_Windows_UI_Xaml_Shapes_IPolygon<D>::FillRule() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IPolygon<D>::FillRule() const
{
winrt::Windows::UI::Xaml::Media::FillRule value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPolygon)->get_FillRule(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IPolygon<D>::FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IPolygon<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PointCollection) consume_Windows_UI_Xaml_Shapes_IPolygon<D>::Points() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IPolygon<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IPolygon<D>::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IPolygon<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IPolygonStatics<D>::FillRuleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IPolygonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IPolygonStatics<D>::PointsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IPolygonStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::FillRule) consume_Windows_UI_Xaml_Shapes_IPolyline<D>::FillRule() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IPolyline<D>::FillRule() const
{
winrt::Windows::UI::Xaml::Media::FillRule value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IPolyline)->get_FillRule(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IPolyline<D>::FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IPolyline<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PointCollection) consume_Windows_UI_Xaml_Shapes_IPolyline<D>::Points() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IPolyline<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IPolyline<D>::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IPolyline<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IPolylineStatics<D>::FillRuleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IPolylineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IPolylineStatics<D>::PointsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IPolylineStatics<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_IRectangle<D>::RadiusX() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IRectangle<D>::RadiusX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IRectangle)->get_RadiusX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IRectangle<D>::RadiusX(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IRectangle<D>::RadiusX(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IRectangle)->put_RadiusX(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_IRectangle<D>::RadiusY() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IRectangle<D>::RadiusY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IRectangle)->get_RadiusY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IRectangle<D>::RadiusY(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IRectangle<D>::RadiusY(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IRectangle)->put_RadiusY(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IRectangleStatics<D>::RadiusXProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IRectangleStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IRectangleStatics<D>::RadiusYProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IRectangleStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Shapes_IShape<D>::Fill() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape<D>::Fill(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_Shapes_IShape<D>::Stroke() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape<D>::Stroke(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeMiterLimit() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeMiterLimit() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_StrokeMiterLimit(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeMiterLimit(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeMiterLimit(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->put_StrokeMiterLimit(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeThickness() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeThickness() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_StrokeThickness(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeThickness(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeThickness(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->put_StrokeThickness(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PenLineCap) consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeStartLineCap() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeStartLineCap() const
{
winrt::Windows::UI::Xaml::Media::PenLineCap value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_StrokeStartLineCap(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeStartLineCap(winrt::Windows::UI::Xaml::Media::PenLineCap const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PenLineCap) consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeEndLineCap() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeEndLineCap() const
{
winrt::Windows::UI::Xaml::Media::PenLineCap value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_StrokeEndLineCap(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeEndLineCap(winrt::Windows::UI::Xaml::Media::PenLineCap const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PenLineJoin) consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeLineJoin() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeLineJoin() const
{
winrt::Windows::UI::Xaml::Media::PenLineJoin value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_StrokeLineJoin(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeLineJoin(winrt::Windows::UI::Xaml::Media::PenLineJoin const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeDashOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeDashOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_StrokeDashOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeDashOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeDashOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->put_StrokeDashOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::PenLineCap) consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeDashCap() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeDashCap() const
{
winrt::Windows::UI::Xaml::Media::PenLineCap value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_StrokeDashCap(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeDashCap(winrt::Windows::UI::Xaml::Media::PenLineCap const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::DoubleCollection) consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeDashArray() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape<D>::StrokeDashArray(winrt::Windows::UI::Xaml::Media::DoubleCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Stretch) consume_Windows_UI_Xaml_Shapes_IShape<D>::Stretch() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::Stretch() const
{
winrt::Windows::UI::Xaml::Media::Stretch value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShape)->get_Stretch(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Shapes_IShape<D>::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Transform) consume_Windows_UI_Xaml_Shapes_IShape<D>::GeometryTransform() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) consume_Windows_UI_Xaml_Shapes_IShape2<D>::GetAlphaMask() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShape2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Shapes::Shape) consume_Windows_UI_Xaml_Shapes_IShapeFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShapeFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::FillProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::StrokeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::StrokeMiterLimitProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::StrokeThicknessProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::StrokeStartLineCapProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::StrokeEndLineCapProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::StrokeLineJoinProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::StrokeDashOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::StrokeDashCapProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::StrokeDashArrayProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::StretchProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_Shapes_IShapeStatics<D>::StretchProperty() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Shapes::IShapeStatics)->get_StretchProperty(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.h
index cd21051e894..9c0a146df9b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.Xaml.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IAdaptiveTrigger<D>::MinWindowWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_IAdaptiveTrigger<D>::MinWindowWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IAdaptiveTrigger)->get_MinWindowWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IAdaptiveTrigger<D>::MinWindowWidth(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IAdaptiveTrigger<D>::MinWindowWidth(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IAdaptiveTrigger)->put_MinWindowWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IAdaptiveTrigger<D>::MinWindowHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_IAdaptiveTrigger<D>::MinWindowHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IAdaptiveTrigger)->get_MinWindowHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IAdaptiveTrigger<D>::MinWindowHeight(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IAdaptiveTrigger<D>::MinWindowHeight(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IAdaptiveTrigger)->put_MinWindowHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::AdaptiveTrigger) consume_Windows_UI_Xaml_IAdaptiveTriggerFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IAdaptiveTriggerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IAdaptiveTriggerStatics<D>::MinWindowWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IAdaptiveTriggerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IAdaptiveTriggerStatics<D>::MinWindowHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IAdaptiveTriggerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ResourceDictionary) consume_Windows_UI_Xaml_IApplication<D>::Resources() const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication<D>::Resources(winrt::Windows::UI::Xaml::ResourceDictionary const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication<D>::Resources(winrt::Windows::UI::Xaml::ResourceDictionary const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->put_Resources(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DebugSettings) consume_Windows_UI_Xaml_IApplication<D>::DebugSettings() const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ApplicationTheme) consume_Windows_UI_Xaml_IApplication<D>::RequestedTheme() const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication<D>::RequestedTheme() const
{
winrt::Windows::UI::Xaml::ApplicationTheme value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->get_RequestedTheme(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication<D>::RequestedTheme(winrt::Windows::UI::Xaml::ApplicationTheme const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication<D>::RequestedTheme(winrt::Windows::UI::Xaml::ApplicationTheme const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->put_RequestedTheme(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IApplication<D>::UnhandledException(winrt::Windows::UI::Xaml::UnhandledExceptionEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication<D>::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 D> typename consume_Windows_UI_Xaml_IApplication<D>::UnhandledException_revoker consume_Windows_UI_Xaml_IApplication<D>::UnhandledException(auto_revoke_t, winrt::Windows::UI::Xaml::UnhandledExceptionEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication<D>::UnhandledException(auto_revoke_t, winrt::Windows::UI::Xaml::UnhandledExceptionEventHandler const& handler) const
{
return impl::make_event_revoker<D, UnhandledException_revoker>(this, UnhandledException(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication<D>::UnhandledException(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication<D>::UnhandledException(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->remove_UnhandledException(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IApplication<D>::Suspending(winrt::Windows::UI::Xaml::SuspendingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication<D>::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 D> typename consume_Windows_UI_Xaml_IApplication<D>::Suspending_revoker consume_Windows_UI_Xaml_IApplication<D>::Suspending(auto_revoke_t, winrt::Windows::UI::Xaml::SuspendingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication<D>::Suspending(auto_revoke_t, winrt::Windows::UI::Xaml::SuspendingEventHandler const& handler) const
{
return impl::make_event_revoker<D, Suspending_revoker>(this, Suspending(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication<D>::Suspending(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication<D>::Suspending(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->remove_Suspending(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IApplication<D>::Resuming(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication<D>::Resuming(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_IApplication<D>::Resuming_revoker consume_Windows_UI_Xaml_IApplication<D>::Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication<D>::Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Resuming_revoker>(this, Resuming(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication<D>::Resuming(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication<D>::Resuming(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->remove_Resuming(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication<D>::Exit() const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication<D>::Exit() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication)->Exit());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FocusVisualKind) consume_Windows_UI_Xaml_IApplication2<D>::FocusVisualKind() const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication2<D>::FocusVisualKind() const
{
winrt::Windows::UI::Xaml::FocusVisualKind value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication2)->get_FocusVisualKind(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication2<D>::FocusVisualKind(winrt::Windows::UI::Xaml::FocusVisualKind const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication2<D>::FocusVisualKind(winrt::Windows::UI::Xaml::FocusVisualKind const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication2)->put_FocusVisualKind(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ApplicationRequiresPointerMode) consume_Windows_UI_Xaml_IApplication2<D>::RequiresPointerMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication2<D>::RequiresPointerMode() const
{
winrt::Windows::UI::Xaml::ApplicationRequiresPointerMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication2)->get_RequiresPointerMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication2<D>::RequiresPointerMode(winrt::Windows::UI::Xaml::ApplicationRequiresPointerMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication2<D>::RequiresPointerMode(winrt::Windows::UI::Xaml::ApplicationRequiresPointerMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication2)->put_RequiresPointerMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IApplication2<D>::LeavingBackground(winrt::Windows::UI::Xaml::LeavingBackgroundEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication2<D>::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 D> typename consume_Windows_UI_Xaml_IApplication2<D>::LeavingBackground_revoker consume_Windows_UI_Xaml_IApplication2<D>::LeavingBackground(auto_revoke_t, winrt::Windows::UI::Xaml::LeavingBackgroundEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication2<D>::LeavingBackground(auto_revoke_t, winrt::Windows::UI::Xaml::LeavingBackgroundEventHandler const& handler) const
{
return impl::make_event_revoker<D, LeavingBackground_revoker>(this, LeavingBackground(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication2<D>::LeavingBackground(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication2<D>::LeavingBackground(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication2)->remove_LeavingBackground(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IApplication2<D>::EnteredBackground(winrt::Windows::UI::Xaml::EnteredBackgroundEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication2<D>::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 D> typename consume_Windows_UI_Xaml_IApplication2<D>::EnteredBackground_revoker consume_Windows_UI_Xaml_IApplication2<D>::EnteredBackground(auto_revoke_t, winrt::Windows::UI::Xaml::EnteredBackgroundEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication2<D>::EnteredBackground(auto_revoke_t, winrt::Windows::UI::Xaml::EnteredBackgroundEventHandler const& handler) const
{
return impl::make_event_revoker<D, EnteredBackground_revoker>(this, EnteredBackground(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication2<D>::EnteredBackground(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication2<D>::EnteredBackground(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication2)->remove_EnteredBackground(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ApplicationHighContrastAdjustment) consume_Windows_UI_Xaml_IApplication3<D>::HighContrastAdjustment() const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication3<D>::HighContrastAdjustment() const
{
winrt::Windows::UI::Xaml::ApplicationHighContrastAdjustment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication3)->get_HighContrastAdjustment(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplication3<D>::HighContrastAdjustment(winrt::Windows::UI::Xaml::ApplicationHighContrastAdjustment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplication3<D>::HighContrastAdjustment(winrt::Windows::UI::Xaml::ApplicationHighContrastAdjustment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplication3)->put_HighContrastAdjustment(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Application) consume_Windows_UI_Xaml_IApplicationFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplicationFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnActivated(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnActivated(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& args) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnActivated(*(void**)(&args)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnLaunched(winrt::Windows::ApplicationModel::Activation::LaunchActivatedEventArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnLaunched(winrt::Windows::ApplicationModel::Activation::LaunchActivatedEventArgs const& args) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnLaunched(*(void**)(&args)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnFileActivated(winrt::Windows::ApplicationModel::Activation::FileActivatedEventArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnFileActivated(winrt::Windows::ApplicationModel::Activation::FileActivatedEventArgs const& args) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnFileActivated(*(void**)(&args)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnSearchActivated(winrt::Windows::ApplicationModel::Activation::SearchActivatedEventArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnSearchActivated(winrt::Windows::ApplicationModel::Activation::SearchActivatedEventArgs const& args) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnSearchActivated(*(void**)(&args)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnShareTargetActivated(winrt::Windows::ApplicationModel::Activation::ShareTargetActivatedEventArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnShareTargetActivated(winrt::Windows::ApplicationModel::Activation::ShareTargetActivatedEventArgs const& args) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnShareTargetActivated(*(void**)(&args)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnFileOpenPickerActivated(winrt::Windows::ApplicationModel::Activation::FileOpenPickerActivatedEventArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnFileOpenPickerActivated(winrt::Windows::ApplicationModel::Activation::FileOpenPickerActivatedEventArgs const& args) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnFileOpenPickerActivated(*(void**)(&args)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnFileSavePickerActivated(winrt::Windows::ApplicationModel::Activation::FileSavePickerActivatedEventArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnFileSavePickerActivated(winrt::Windows::ApplicationModel::Activation::FileSavePickerActivatedEventArgs const& args) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnFileSavePickerActivated(*(void**)(&args)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnCachedFileUpdaterActivated(winrt::Windows::ApplicationModel::Activation::CachedFileUpdaterActivatedEventArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnCachedFileUpdaterActivated(winrt::Windows::ApplicationModel::Activation::CachedFileUpdaterActivatedEventArgs const& args) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnCachedFileUpdaterActivated(*(void**)(&args)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnWindowCreated(winrt::Windows::UI::Xaml::WindowCreatedEventArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplicationOverrides<D>::OnWindowCreated(winrt::Windows::UI::Xaml::WindowCreatedEventArgs const& args) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides)->OnWindowCreated(*(void**)(&args)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationOverrides2<D>::OnBackgroundActivated(winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplicationOverrides2<D>::OnBackgroundActivated(winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs const& args) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationOverrides2)->OnBackgroundActivated(*(void**)(&args)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Application) consume_Windows_UI_Xaml_IApplicationStatics<D>::Current() const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplicationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationStatics<D>::Start(winrt::Windows::UI::Xaml::ApplicationInitializationCallback const& callback) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplicationStatics<D>::Start(winrt::Windows::UI::Xaml::ApplicationInitializationCallback const& callback) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IApplicationStatics)->Start(*(void**)(&callback)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationStatics<D>::LoadComponent(winrt::Windows::Foundation::IInspectable const& component, winrt::Windows::Foundation::Uri const& resourceLocator) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplicationStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IApplicationStatics<D>::LoadComponent(winrt::Windows::Foundation::IInspectable const& component, winrt::Windows::Foundation::Uri const& resourceLocator, winrt::Windows::UI::Xaml::Controls::Primitives::ComponentResourceLocation const& componentResourceLocation) const
+ template <typename D> auto consume_Windows_UI_Xaml_IApplicationStatics<D>::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<int32_t>(componentResourceLocation)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IBindingFailedEventArgs<D>::Message() const
+ template <typename D> auto consume_Windows_UI_Xaml_IBindingFailedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IBringIntoViewOptions<D>::AnimationDesired() const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewOptions<D>::AnimationDesired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions)->get_AnimationDesired(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewOptions<D>::AnimationDesired(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewOptions<D>::AnimationDesired(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions)->put_AnimationDesired(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect>) consume_Windows_UI_Xaml_IBringIntoViewOptions<D>::TargetRect() const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewOptions<D>::TargetRect() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions)->get_TargetRect(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewOptions<D>::TargetRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewOptions<D>::TargetRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions)->put_TargetRect(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IBringIntoViewOptions2<D>::HorizontalAlignmentRatio() const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewOptions2<D>::HorizontalAlignmentRatio() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions2)->get_HorizontalAlignmentRatio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewOptions2<D>::HorizontalAlignmentRatio(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewOptions2<D>::HorizontalAlignmentRatio(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions2)->put_HorizontalAlignmentRatio(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IBringIntoViewOptions2<D>::VerticalAlignmentRatio() const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewOptions2<D>::VerticalAlignmentRatio() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions2)->get_VerticalAlignmentRatio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewOptions2<D>::VerticalAlignmentRatio(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewOptions2<D>::VerticalAlignmentRatio(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions2)->put_VerticalAlignmentRatio(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IBringIntoViewOptions2<D>::HorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewOptions2<D>::HorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions2)->get_HorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewOptions2<D>::HorizontalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewOptions2<D>::HorizontalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions2)->put_HorizontalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IBringIntoViewOptions2<D>::VerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewOptions2<D>::VerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions2)->get_VerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewOptions2<D>::VerticalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewOptions2<D>::VerticalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewOptions2)->put_VerticalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::TargetElement() const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::TargetElement(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::TargetElement(winrt::Windows::UI::Xaml::UIElement const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->put_TargetElement(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::AnimationDesired() const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::AnimationDesired() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->get_AnimationDesired(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::AnimationDesired(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::AnimationDesired(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->put_AnimationDesired(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::TargetRect() const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::TargetRect(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::HorizontalAlignmentRatio() const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::HorizontalAlignmentRatio() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->get_HorizontalAlignmentRatio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::VerticalAlignmentRatio() const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::VerticalAlignmentRatio() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->get_VerticalAlignmentRatio(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::HorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::HorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->get_HorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::HorizontalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::HorizontalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->put_HorizontalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::VerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::VerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->get_VerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::VerticalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::VerticalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->put_VerticalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IBringIntoViewRequestedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_IBrushTransition<D>::Duration() const
+ template <typename D> auto consume_Windows_UI_Xaml_IBrushTransition<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IBrushTransition<D>::Duration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IBrushTransition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::BrushTransition) consume_Windows_UI_Xaml_IBrushTransitionFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IBrushTransitionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltHigh() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltHigh() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_AltHigh(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_AltHigh(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltLow() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltLow() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_AltLow(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_AltLow(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltMedium() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltMedium() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_AltMedium(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_AltMedium(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltMediumHigh() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltMediumHigh() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_AltMediumHigh(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltMediumHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltMediumHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_AltMediumHigh(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltMediumLow() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltMediumLow() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_AltMediumLow(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltMediumLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::AltMediumLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_AltMediumLow(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseHigh() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseHigh() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_BaseHigh(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_BaseHigh(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseLow() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseLow() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_BaseLow(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_BaseLow(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseMedium() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseMedium() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_BaseMedium(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_BaseMedium(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseMediumHigh() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseMediumHigh() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_BaseMediumHigh(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseMediumHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseMediumHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_BaseMediumHigh(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseMediumLow() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseMediumLow() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_BaseMediumLow(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseMediumLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::BaseMediumLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_BaseMediumLow(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeAltLow() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeAltLow() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeAltLow(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeAltLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeAltLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeAltLow(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeBlackHigh() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeBlackHigh() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeBlackHigh(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeBlackHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeBlackHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeBlackHigh(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeBlackLow() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeBlackLow() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeBlackLow(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeBlackLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeBlackLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeBlackLow(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeBlackMediumLow() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeBlackMediumLow() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeBlackMediumLow(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeBlackMediumLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeBlackMediumLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeBlackMediumLow(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeBlackMedium() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeBlackMedium() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeBlackMedium(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeBlackMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeBlackMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeBlackMedium(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeDisabledHigh() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeDisabledHigh() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeDisabledHigh(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeDisabledHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeDisabledHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeDisabledHigh(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeDisabledLow() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeDisabledLow() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeDisabledLow(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeDisabledLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeDisabledLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeDisabledLow(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeHigh() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeHigh() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeHigh(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeHigh(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeLow() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeLow() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeLow(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeLow(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeMedium() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeMedium() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeMedium(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeMedium(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeMediumLow() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeMediumLow() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeMediumLow(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeMediumLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeMediumLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeMediumLow(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeWhite() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeWhite() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeWhite(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeWhite(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeWhite(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeWhite(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeGray() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeGray() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ChromeGray(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeGray(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ChromeGray(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ChromeGray(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ListLow() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ListLow() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ListLow(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ListLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ListLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ListLow(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ListMedium() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ListMedium() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ListMedium(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ListMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ListMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ListMedium(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ErrorText() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ErrorText() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_ErrorText(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::ErrorText(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::ErrorText(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_ErrorText(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) consume_Windows_UI_Xaml_IColorPaletteResources<D>::Accent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::Accent() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->get_Accent(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IColorPaletteResources<D>::Accent(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResources<D>::Accent(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IColorPaletteResources)->put_Accent(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ColorPaletteResources) consume_Windows_UI_Xaml_IColorPaletteResourcesFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IColorPaletteResourcesFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_ICornerRadiusHelperStatics<D>::FromRadii(double topLeft, double topRight, double bottomRight, double bottomLeft) const
+ template <typename D> auto consume_Windows_UI_Xaml_ICornerRadiusHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CornerRadius) consume_Windows_UI_Xaml_ICornerRadiusHelperStatics<D>::FromUniformRadius(double uniformRadius) const
+ template <typename D> auto consume_Windows_UI_Xaml_ICornerRadiusHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IDataContextChangedEventArgs<D>::NewValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDataContextChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDataContextChangedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDataContextChangedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataContextChangedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDataContextChangedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDataContextChangedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataContextChangedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_IDataTemplate<D>::LoadContent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDataTemplate<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDataTemplateExtension<D>::ResetTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDataTemplateExtension<D>::ResetTemplate() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataTemplateExtension)->ResetTemplate());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDataTemplateExtension<D>::ProcessBinding(uint32_t phase) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDataTemplateExtension<D>::ProcessBinding(uint32_t phase) const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataTemplateExtension)->ProcessBinding(phase, &result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_IDataTemplateExtension<D>::ProcessBindings(winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs const& arg) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDataTemplateExtension<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplate) consume_Windows_UI_Xaml_IDataTemplateFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDataTemplateFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IDataTemplateKey<D>::DataType() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDataTemplateKey<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDataTemplateKey<D>::DataType(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDataTemplateKey<D>::DataType(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDataTemplateKey)->put_DataType(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplateKey) consume_Windows_UI_Xaml_IDataTemplateKeyFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDataTemplateKeyFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DataTemplateKey) consume_Windows_UI_Xaml_IDataTemplateKeyFactory<D>::CreateInstanceWithType(winrt::Windows::Foundation::IInspectable const& dataType, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDataTemplateKeyFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IDataTemplateStatics2<D>::ExtensionInstanceProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDataTemplateStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::IDataTemplateExtension) consume_Windows_UI_Xaml_IDataTemplateStatics2<D>::GetExtensionInstance(winrt::Windows::UI::Xaml::FrameworkElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDataTemplateStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDataTemplateStatics2<D>::SetExtensionInstance(winrt::Windows::UI::Xaml::FrameworkElement const& element, winrt::Windows::UI::Xaml::IDataTemplateExtension const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDataTemplateStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDebugSettings<D>::EnableFrameRateCounter() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDebugSettings<D>::EnableFrameRateCounter() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings)->get_EnableFrameRateCounter(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDebugSettings<D>::EnableFrameRateCounter(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDebugSettings<D>::EnableFrameRateCounter(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings)->put_EnableFrameRateCounter(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDebugSettings<D>::IsBindingTracingEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDebugSettings<D>::IsBindingTracingEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings)->get_IsBindingTracingEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDebugSettings<D>::IsBindingTracingEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDebugSettings<D>::IsBindingTracingEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings)->put_IsBindingTracingEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDebugSettings<D>::IsOverdrawHeatMapEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDebugSettings<D>::IsOverdrawHeatMapEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings)->get_IsOverdrawHeatMapEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDebugSettings<D>::IsOverdrawHeatMapEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDebugSettings<D>::IsOverdrawHeatMapEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings)->put_IsOverdrawHeatMapEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IDebugSettings<D>::BindingFailed(winrt::Windows::UI::Xaml::BindingFailedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDebugSettings<D>::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 D> typename consume_Windows_UI_Xaml_IDebugSettings<D>::BindingFailed_revoker consume_Windows_UI_Xaml_IDebugSettings<D>::BindingFailed(auto_revoke_t, winrt::Windows::UI::Xaml::BindingFailedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDebugSettings<D>::BindingFailed(auto_revoke_t, winrt::Windows::UI::Xaml::BindingFailedEventHandler const& handler) const
{
return impl::make_event_revoker<D, BindingFailed_revoker>(this, BindingFailed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDebugSettings<D>::BindingFailed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IDebugSettings<D>::BindingFailed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings)->remove_BindingFailed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDebugSettings2<D>::EnableRedrawRegions() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDebugSettings2<D>::EnableRedrawRegions() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings2)->get_EnableRedrawRegions(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDebugSettings2<D>::EnableRedrawRegions(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDebugSettings2<D>::EnableRedrawRegions(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings2)->put_EnableRedrawRegions(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDebugSettings3<D>::IsTextPerformanceVisualizationEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDebugSettings3<D>::IsTextPerformanceVisualizationEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings3)->get_IsTextPerformanceVisualizationEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDebugSettings3<D>::IsTextPerformanceVisualizationEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDebugSettings3<D>::IsTextPerformanceVisualizationEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings3)->put_IsTextPerformanceVisualizationEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDebugSettings4<D>::FailFastOnErrors() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDebugSettings4<D>::FailFastOnErrors() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings4)->get_FailFastOnErrors(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDebugSettings4<D>::FailFastOnErrors(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDebugSettings4<D>::FailFastOnErrors(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDebugSettings4)->put_FailFastOnErrors(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IDependencyObject<D>::GetValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDependencyObject<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDependencyObject<D>::SetValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDependencyObject<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDependencyObject<D>::ClearValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDependencyObject<D>::ClearValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDependencyObject)->ClearValue(*(void**)(&dp)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IDependencyObject<D>::ReadLocalValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDependencyObject<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IDependencyObject<D>::GetAnimationBaseValue(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDependencyObject<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) consume_Windows_UI_Xaml_IDependencyObject<D>::Dispatcher() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDependencyObject<D>::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 <typename D> WINRT_IMPL_AUTO(int64_t) consume_Windows_UI_Xaml_IDependencyObject2<D>::RegisterPropertyChangedCallback(winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::UI::Xaml::DependencyPropertyChangedCallback const& callback) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDependencyObject2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDependencyObject2<D>::UnregisterPropertyChangedCallback(winrt::Windows::UI::Xaml::DependencyProperty const& dp, int64_t token) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDependencyObject2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObjectCollection) consume_Windows_UI_Xaml_IDependencyObjectCollectionFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDependencyObjectCollectionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_IDependencyObjectFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDependencyObjectFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) consume_Windows_UI_Xaml_IDependencyProperty<D>::GetMetadata(winrt::Windows::UI::Xaml::Interop::TypeName const& forType) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDependencyProperty<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IDependencyPropertyChangedEventArgs<D>::Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDependencyPropertyChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IDependencyPropertyChangedEventArgs<D>::OldValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDependencyPropertyChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IDependencyPropertyChangedEventArgs<D>::NewValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDependencyPropertyChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IDependencyPropertyStatics<D>::UnsetValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDependencyPropertyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IDependencyPropertyStatics<D>::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 <typename D> auto consume_Windows_UI_Xaml_IDependencyPropertyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IDependencyPropertyStatics<D>::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 <typename D> auto consume_Windows_UI_Xaml_IDependencyPropertyStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_IDispatcherTimer<D>::Interval() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDispatcherTimer<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDispatcherTimer<D>::Interval(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDispatcherTimer<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDispatcherTimer<D>::IsEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDispatcherTimer<D>::IsEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDispatcherTimer)->get_IsEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IDispatcherTimer<D>::Tick(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDispatcherTimer<D>::Tick(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_IDispatcherTimer<D>::Tick_revoker consume_Windows_UI_Xaml_IDispatcherTimer<D>::Tick(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDispatcherTimer<D>::Tick(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Tick_revoker>(this, Tick(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDispatcherTimer<D>::Tick(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IDispatcherTimer<D>::Tick(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDispatcherTimer)->remove_Tick(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDispatcherTimer<D>::Start() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDispatcherTimer<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDispatcherTimer)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDispatcherTimer<D>::Stop() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDispatcherTimer<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDispatcherTimer)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DispatcherTimer) consume_Windows_UI_Xaml_IDispatcherTimerFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDispatcherTimerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDragEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) consume_Windows_UI_Xaml_IDragEventArgs<D>::Data() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragEventArgs<D>::Data(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragEventArgs<D>::Data(winrt::Windows::ApplicationModel::DataTransfer::DataPackage const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs)->put_Data(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_IDragEventArgs<D>::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageView) consume_Windows_UI_Xaml_IDragEventArgs2<D>::DataView() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DragUIOverride) consume_Windows_UI_Xaml_IDragEventArgs2<D>::DragUIOverride() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DragDrop::DragDropModifiers) consume_Windows_UI_Xaml_IDragEventArgs2<D>::Modifiers() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragEventArgs2<D>::Modifiers() const
{
winrt::Windows::ApplicationModel::DataTransfer::DragDrop::DragDropModifiers value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs2)->get_Modifiers(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_UI_Xaml_IDragEventArgs2<D>::AcceptedOperation() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragEventArgs2<D>::AcceptedOperation() const
{
winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs2)->get_AcceptedOperation(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragEventArgs2<D>::AcceptedOperation(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragEventArgs2<D>::AcceptedOperation(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs2)->put_AcceptedOperation(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DragOperationDeferral) consume_Windows_UI_Xaml_IDragEventArgs2<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_UI_Xaml_IDragEventArgs3<D>::AllowedOperations() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragEventArgs3<D>::AllowedOperations() const
{
winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragEventArgs3)->get_AllowedOperations(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragOperationDeferral<D>::Complete() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragOperationDeferral<D>::Complete() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragOperationDeferral)->Complete());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDragStartingEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragStartingEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragStartingEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragStartingEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragStartingEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragStartingEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackage) consume_Windows_UI_Xaml_IDragStartingEventArgs<D>::Data() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragStartingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DragUI) consume_Windows_UI_Xaml_IDragStartingEventArgs<D>::DragUI() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragStartingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DragOperationDeferral) consume_Windows_UI_Xaml_IDragStartingEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragStartingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_IDragStartingEventArgs<D>::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragStartingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_UI_Xaml_IDragStartingEventArgs2<D>::AllowedOperations() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragStartingEventArgs2<D>::AllowedOperations() const
{
winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragStartingEventArgs2)->get_AllowedOperations(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragStartingEventArgs2<D>::AllowedOperations(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragStartingEventArgs2<D>::AllowedOperations(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragStartingEventArgs2)->put_AllowedOperations(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUI<D>::SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUI<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUI<D>::SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage, winrt::Windows::Foundation::Point const& anchorPoint) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUI<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUI<D>::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUI<D>::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUI)->SetContentFromSoftwareBitmap(*(void**)(&softwareBitmap)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUI<D>::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUI<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUI<D>::SetContentFromDataPackage() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUI<D>::SetContentFromDataPackage() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUI)->SetContentFromDataPackage());
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IDragUIOverride<D>::Caption() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUIOverride<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride<D>::Caption(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUIOverride<D>::Caption(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->put_Caption(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDragUIOverride<D>::IsContentVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUIOverride<D>::IsContentVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->get_IsContentVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride<D>::IsContentVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUIOverride<D>::IsContentVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->put_IsContentVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDragUIOverride<D>::IsCaptionVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUIOverride<D>::IsCaptionVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->get_IsCaptionVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride<D>::IsCaptionVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUIOverride<D>::IsCaptionVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->put_IsCaptionVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDragUIOverride<D>::IsGlyphVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUIOverride<D>::IsGlyphVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->get_IsGlyphVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride<D>::IsGlyphVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUIOverride<D>::IsGlyphVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->put_IsGlyphVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride<D>::Clear() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUIOverride<D>::Clear() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->Clear());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride<D>::SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUIOverride<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride<D>::SetContentFromBitmapImage(winrt::Windows::UI::Xaml::Media::Imaging::BitmapImage const& bitmapImage, winrt::Windows::Foundation::Point const& anchorPoint) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUIOverride<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride<D>::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUIOverride<D>::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDragUIOverride)->SetContentFromSoftwareBitmap(*(void**)(&softwareBitmap)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IDragUIOverride<D>::SetContentFromSoftwareBitmap(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& softwareBitmap, winrt::Windows::Foundation::Point const& anchorPoint) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDragUIOverride<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) consume_Windows_UI_Xaml_IDropCompletedEventArgs<D>::DropResult() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDropCompletedEventArgs<D>::DropResult() const
{
winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IDropCompletedEventArgs)->get_DropResult(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_IDurationHelperStatics<D>::Automatic() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDurationHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_IDurationHelperStatics<D>::Forever() const
+ template <typename D> auto consume_Windows_UI_Xaml_IDurationHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_IDurationHelperStatics<D>::Compare(winrt::Windows::UI::Xaml::Duration const& duration1, winrt::Windows::UI::Xaml::Duration const& duration2) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDurationHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_IDurationHelperStatics<D>::FromTimeSpan(winrt::Windows::Foundation::TimeSpan const& timeSpan) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDurationHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDurationHelperStatics<D>::GetHasTimeSpan(winrt::Windows::UI::Xaml::Duration const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDurationHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_IDurationHelperStatics<D>::Add(winrt::Windows::UI::Xaml::Duration const& target, winrt::Windows::UI::Xaml::Duration const& duration) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDurationHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IDurationHelperStatics<D>::Equals(winrt::Windows::UI::Xaml::Duration const& target, winrt::Windows::UI::Xaml::Duration const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDurationHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_IDurationHelperStatics<D>::Subtract(winrt::Windows::UI::Xaml::Duration const& target, winrt::Windows::UI::Xaml::Duration const& duration) const
+ template <typename D> auto consume_Windows_UI_Xaml_IDurationHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IEffectiveViewportChangedEventArgs<D>::EffectiveViewport() const
+ template <typename D> auto consume_Windows_UI_Xaml_IEffectiveViewportChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IEffectiveViewportChangedEventArgs<D>::MaxViewport() const
+ template <typename D> auto consume_Windows_UI_Xaml_IEffectiveViewportChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IEffectiveViewportChangedEventArgs<D>::BringIntoViewDistanceX() const
+ template <typename D> auto consume_Windows_UI_Xaml_IEffectiveViewportChangedEventArgs<D>::BringIntoViewDistanceX() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IEffectiveViewportChangedEventArgs)->get_BringIntoViewDistanceX(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IEffectiveViewportChangedEventArgs<D>::BringIntoViewDistanceY() const
+ template <typename D> auto consume_Windows_UI_Xaml_IEffectiveViewportChangedEventArgs<D>::BringIntoViewDistanceY() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IEffectiveViewportChangedEventArgs)->get_BringIntoViewDistanceY(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_IElementFactory<D>::GetElement(winrt::Windows::UI::Xaml::ElementFactoryGetArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementFactory<D>::RecycleElement(winrt::Windows::UI::Xaml::ElementFactoryRecycleArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementFactory<D>::RecycleElement(winrt::Windows::UI::Xaml::ElementFactoryRecycleArgs const& args) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementFactory)->RecycleElement(*(void**)(&args)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IElementFactoryGetArgs<D>::Data() const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementFactoryGetArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementFactoryGetArgs<D>::Data(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementFactoryGetArgs<D>::Data(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementFactoryGetArgs)->put_Data(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_IElementFactoryGetArgs<D>::Parent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementFactoryGetArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementFactoryGetArgs<D>::Parent(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementFactoryGetArgs<D>::Parent(winrt::Windows::UI::Xaml::UIElement const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementFactoryGetArgs)->put_Parent(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementFactoryGetArgs) consume_Windows_UI_Xaml_IElementFactoryGetArgsFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementFactoryGetArgsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_IElementFactoryRecycleArgs<D>::Element() const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementFactoryRecycleArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementFactoryRecycleArgs<D>::Element(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementFactoryRecycleArgs<D>::Element(winrt::Windows::UI::Xaml::UIElement const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementFactoryRecycleArgs)->put_Element(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_IElementFactoryRecycleArgs<D>::Parent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementFactoryRecycleArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementFactoryRecycleArgs<D>::Parent(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementFactoryRecycleArgs<D>::Parent(winrt::Windows::UI::Xaml::UIElement const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementFactoryRecycleArgs)->put_Parent(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementFactoryRecycleArgs) consume_Windows_UI_Xaml_IElementFactoryRecycleArgsFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementFactoryRecycleArgsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IElementSoundPlayerStatics<D>::Volume() const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementSoundPlayerStatics<D>::Volume() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementSoundPlayerStatics)->get_Volume(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementSoundPlayerStatics<D>::Volume(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementSoundPlayerStatics<D>::Volume(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementSoundPlayerStatics)->put_Volume(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSoundPlayerState) consume_Windows_UI_Xaml_IElementSoundPlayerStatics<D>::State() const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementSoundPlayerStatics<D>::State() const
{
winrt::Windows::UI::Xaml::ElementSoundPlayerState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementSoundPlayerStatics)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementSoundPlayerStatics<D>::State(winrt::Windows::UI::Xaml::ElementSoundPlayerState const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementSoundPlayerStatics<D>::State(winrt::Windows::UI::Xaml::ElementSoundPlayerState const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementSoundPlayerStatics)->put_State(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementSoundPlayerStatics<D>::Play(winrt::Windows::UI::Xaml::ElementSoundKind const& sound) const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementSoundPlayerStatics<D>::Play(winrt::Windows::UI::Xaml::ElementSoundKind const& sound) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementSoundPlayerStatics)->Play(static_cast<int32_t>(sound)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementSpatialAudioMode) consume_Windows_UI_Xaml_IElementSoundPlayerStatics2<D>::SpatialAudioMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementSoundPlayerStatics2<D>::SpatialAudioMode() const
{
winrt::Windows::UI::Xaml::ElementSpatialAudioMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementSoundPlayerStatics2)->get_SpatialAudioMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IElementSoundPlayerStatics2<D>::SpatialAudioMode(winrt::Windows::UI::Xaml::ElementSpatialAudioMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IElementSoundPlayerStatics2<D>::SpatialAudioMode(winrt::Windows::UI::Xaml::ElementSpatialAudioMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IElementSoundPlayerStatics2)->put_SpatialAudioMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IEventTrigger<D>::RoutedEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IEventTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IEventTrigger<D>::RoutedEvent(winrt::Windows::UI::Xaml::RoutedEvent const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IEventTrigger<D>::RoutedEvent(winrt::Windows::UI::Xaml::RoutedEvent const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IEventTrigger)->put_RoutedEvent(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TriggerActionCollection) consume_Windows_UI_Xaml_IEventTrigger<D>::Actions() const
+ template <typename D> auto consume_Windows_UI_Xaml_IEventTrigger<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IExceptionRoutedEventArgs<D>::ErrorMessage() const
+ template <typename D> auto consume_Windows_UI_Xaml_IExceptionRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TriggerCollection) consume_Windows_UI_Xaml_IFrameworkElement<D>::Triggers() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ResourceDictionary) consume_Windows_UI_Xaml_IFrameworkElement<D>::Resources() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::Resources(winrt::Windows::UI::Xaml::ResourceDictionary const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::Resources(winrt::Windows::UI::Xaml::ResourceDictionary const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_Resources(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IFrameworkElement<D>::Tag() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::Tag(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::Tag(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_Tag(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IFrameworkElement<D>::Language() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::Language(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::Language(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_Language(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IFrameworkElement<D>::ActualWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::ActualWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_ActualWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IFrameworkElement<D>::ActualHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::ActualHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_ActualHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IFrameworkElement<D>::Width() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::Width() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_Width(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::Width(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::Width(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_Width(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IFrameworkElement<D>::Height() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::Height() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_Height(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::Height(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::Height(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_Height(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IFrameworkElement<D>::MinWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::MinWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_MinWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::MinWidth(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::MinWidth(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_MinWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IFrameworkElement<D>::MaxWidth() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::MaxWidth() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_MaxWidth(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::MaxWidth(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::MaxWidth(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_MaxWidth(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IFrameworkElement<D>::MinHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::MinHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_MinHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::MinHeight(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::MinHeight(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_MinHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IFrameworkElement<D>::MaxHeight() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::MaxHeight() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_MaxHeight(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::MaxHeight(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::MaxHeight(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_MaxHeight(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::HorizontalAlignment) consume_Windows_UI_Xaml_IFrameworkElement<D>::HorizontalAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::HorizontalAlignment() const
{
winrt::Windows::UI::Xaml::HorizontalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_HorizontalAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::HorizontalAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::HorizontalAlignment(winrt::Windows::UI::Xaml::HorizontalAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_HorizontalAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VerticalAlignment) consume_Windows_UI_Xaml_IFrameworkElement<D>::VerticalAlignment() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::VerticalAlignment() const
{
winrt::Windows::UI::Xaml::VerticalAlignment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_VerticalAlignment(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::VerticalAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::VerticalAlignment(winrt::Windows::UI::Xaml::VerticalAlignment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_VerticalAlignment(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_IFrameworkElement<D>::Margin() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::Margin(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IFrameworkElement<D>::Name() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_IFrameworkElement<D>::BaseUri() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IFrameworkElement<D>::DataContext() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::DataContext(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::DataContext(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_DataContext(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_IFrameworkElement<D>::Style() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::Style(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::Style(winrt::Windows::UI::Xaml::Style const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_Style(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_IFrameworkElement<D>::Parent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FlowDirection) consume_Windows_UI_Xaml_IFrameworkElement<D>::FlowDirection() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::FlowDirection() const
{
winrt::Windows::UI::Xaml::FlowDirection value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->get_FlowDirection(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::FlowDirection(winrt::Windows::UI::Xaml::FlowDirection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::FlowDirection(winrt::Windows::UI::Xaml::FlowDirection const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->put_FlowDirection(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IFrameworkElement<D>::Loaded(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::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 D> typename consume_Windows_UI_Xaml_IFrameworkElement<D>::Loaded_revoker consume_Windows_UI_Xaml_IFrameworkElement<D>::Loaded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::Loaded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, Loaded_revoker>(this, Loaded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::Loaded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::Loaded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->remove_Loaded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IFrameworkElement<D>::Unloaded(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::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 D> typename consume_Windows_UI_Xaml_IFrameworkElement<D>::Unloaded_revoker consume_Windows_UI_Xaml_IFrameworkElement<D>::Unloaded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::Unloaded(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, Unloaded_revoker>(this, Unloaded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::Unloaded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::Unloaded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->remove_Unloaded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IFrameworkElement<D>::SizeChanged(winrt::Windows::UI::Xaml::SizeChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::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 D> typename consume_Windows_UI_Xaml_IFrameworkElement<D>::SizeChanged_revoker consume_Windows_UI_Xaml_IFrameworkElement<D>::SizeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::SizeChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::SizeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::SizeChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, SizeChanged_revoker>(this, SizeChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::SizeChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::SizeChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->remove_SizeChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IFrameworkElement<D>::LayoutUpdated(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::LayoutUpdated(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_IFrameworkElement<D>::LayoutUpdated_revoker consume_Windows_UI_Xaml_IFrameworkElement<D>::LayoutUpdated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::LayoutUpdated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, LayoutUpdated_revoker>(this, LayoutUpdated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::LayoutUpdated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::LayoutUpdated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement)->remove_LayoutUpdated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IFrameworkElement<D>::FindName(param::hstring const& name) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement<D>::SetBinding(winrt::Windows::UI::Xaml::DependencyProperty const& dp, winrt::Windows::UI::Xaml::Data::BindingBase const& binding) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementTheme) consume_Windows_UI_Xaml_IFrameworkElement2<D>::RequestedTheme() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement2<D>::RequestedTheme() const
{
winrt::Windows::UI::Xaml::ElementTheme value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement2)->get_RequestedTheme(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement2<D>::RequestedTheme(winrt::Windows::UI::Xaml::ElementTheme const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement2<D>::RequestedTheme(winrt::Windows::UI::Xaml::ElementTheme const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement2)->put_RequestedTheme(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IFrameworkElement2<D>::DataContextChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::UI::Xaml::DataContextChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement2<D>::DataContextChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::UI::Xaml::DataContextChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_IFrameworkElement2<D>::DataContextChanged_revoker consume_Windows_UI_Xaml_IFrameworkElement2<D>::DataContextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::UI::Xaml::DataContextChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement2<D>::DataContextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::UI::Xaml::DataContextChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DataContextChanged_revoker>(this, DataContextChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement2<D>::DataContextChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement2<D>::DataContextChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement2)->remove_DataContextChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::BindingExpression) consume_Windows_UI_Xaml_IFrameworkElement2<D>::GetBindingExpression(winrt::Windows::UI::Xaml::DependencyProperty const& dp) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IFrameworkElement3<D>::Loading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement3<D>::Loading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_IFrameworkElement3<D>::Loading_revoker consume_Windows_UI_Xaml_IFrameworkElement3<D>::Loading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement3<D>::Loading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, Loading_revoker>(this, Loading(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement3<D>::Loading(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement3<D>::Loading(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement3)->remove_Loading(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IFrameworkElement4<D>::AllowFocusOnInteraction() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement4<D>::AllowFocusOnInteraction() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->get_AllowFocusOnInteraction(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement4<D>::AllowFocusOnInteraction(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement4<D>::AllowFocusOnInteraction(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->put_AllowFocusOnInteraction(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_IFrameworkElement4<D>::FocusVisualMargin() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement4<D>::FocusVisualMargin(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_IFrameworkElement4<D>::FocusVisualSecondaryThickness() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement4<D>::FocusVisualSecondaryThickness(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_IFrameworkElement4<D>::FocusVisualPrimaryThickness() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement4<D>::FocusVisualPrimaryThickness(winrt::Windows::UI::Xaml::Thickness const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_IFrameworkElement4<D>::FocusVisualSecondaryBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement4<D>::FocusVisualSecondaryBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Brush) consume_Windows_UI_Xaml_IFrameworkElement4<D>::FocusVisualPrimaryBrush() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement4<D>::FocusVisualPrimaryBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement4<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IFrameworkElement4<D>::AllowFocusWhenDisabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement4<D>::AllowFocusWhenDisabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->get_AllowFocusWhenDisabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement4<D>::AllowFocusWhenDisabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement4<D>::AllowFocusWhenDisabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement4)->put_AllowFocusWhenDisabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementTheme) consume_Windows_UI_Xaml_IFrameworkElement6<D>::ActualTheme() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement6<D>::ActualTheme() const
{
winrt::Windows::UI::Xaml::ElementTheme value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement6)->get_ActualTheme(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IFrameworkElement6<D>::ActualThemeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement6<D>::ActualThemeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_UI_Xaml_IFrameworkElement6<D>::ActualThemeChanged_revoker consume_Windows_UI_Xaml_IFrameworkElement6<D>::ActualThemeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement6<D>::ActualThemeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ActualThemeChanged_revoker>(this, ActualThemeChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement6<D>::ActualThemeChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement6<D>::ActualThemeChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement6)->remove_ActualThemeChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IFrameworkElement7<D>::IsLoaded() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement7<D>::IsLoaded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement7)->get_IsLoaded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IFrameworkElement7<D>::EffectiveViewportChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::UI::Xaml::EffectiveViewportChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement7<D>::EffectiveViewportChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::UI::Xaml::EffectiveViewportChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_IFrameworkElement7<D>::EffectiveViewportChanged_revoker consume_Windows_UI_Xaml_IFrameworkElement7<D>::EffectiveViewportChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::UI::Xaml::EffectiveViewportChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement7<D>::EffectiveViewportChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::UI::Xaml::EffectiveViewportChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, EffectiveViewportChanged_revoker>(this, EffectiveViewportChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElement7<D>::EffectiveViewportChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElement7<D>::EffectiveViewportChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElement7)->remove_EffectiveViewportChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FrameworkElement) consume_Windows_UI_Xaml_IFrameworkElementFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_IFrameworkElementOverrides<D>::MeasureOverride(winrt::Windows::Foundation::Size const& availableSize) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_IFrameworkElementOverrides<D>::ArrangeOverride(winrt::Windows::Foundation::Size const& finalSize) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElementOverrides<D>::OnApplyTemplate() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementOverrides<D>::OnApplyTemplate() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementOverrides)->OnApplyTemplate());
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IFrameworkElementOverrides2<D>::GoToElementStateCore(param::hstring const& stateName, bool useTransitions) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementOverrides2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElementProtected7<D>::InvalidateViewport() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementProtected7<D>::InvalidateViewport() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementProtected7)->InvalidateViewport());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::TagProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::LanguageProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::ActualWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::ActualHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::WidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::HeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::MinWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::MaxWidthProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::MinHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::MaxHeightProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::HorizontalAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::VerticalAlignmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::MarginProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::NameProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::DataContextProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::StyleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::FlowDirectionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics2<D>::RequestedThemeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics4<D>::AllowFocusOnInteractionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics4<D>::FocusVisualMarginProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics4<D>::FocusVisualSecondaryThicknessProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics4<D>::FocusVisualPrimaryThicknessProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics4<D>::FocusVisualSecondaryBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics4<D>::FocusVisualPrimaryBrushProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics4<D>::AllowFocusWhenDisabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IFrameworkElementStatics5<D>::DeferTree(winrt::Windows::UI::Xaml::DependencyObject const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics5<D>::DeferTree(winrt::Windows::UI::Xaml::DependencyObject const& element) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IFrameworkElementStatics5)->DeferTree(*(void**)(&element)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IFrameworkElementStatics6<D>::ActualThemeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkElementStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::FrameworkTemplate) consume_Windows_UI_Xaml_IFrameworkTemplateFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IFrameworkTemplateFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_IGridLengthHelperStatics<D>::Auto() const
+ template <typename D> auto consume_Windows_UI_Xaml_IGridLengthHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_IGridLengthHelperStatics<D>::FromPixels(double pixels) const
+ template <typename D> auto consume_Windows_UI_Xaml_IGridLengthHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::GridLength) consume_Windows_UI_Xaml_IGridLengthHelperStatics<D>::FromValueAndType(double value, winrt::Windows::UI::Xaml::GridUnitType const& type) const
+ template <typename D> auto consume_Windows_UI_Xaml_IGridLengthHelperStatics<D>::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<int32_t>(type), put_abi(result)));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IGridLengthHelperStatics<D>::GetIsAbsolute(winrt::Windows::UI::Xaml::GridLength const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_IGridLengthHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IGridLengthHelperStatics<D>::GetIsAuto(winrt::Windows::UI::Xaml::GridLength const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_IGridLengthHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IGridLengthHelperStatics<D>::GetIsStar(winrt::Windows::UI::Xaml::GridLength const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_IGridLengthHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IGridLengthHelperStatics<D>::Equals(winrt::Windows::UI::Xaml::GridLength const& target, winrt::Windows::UI::Xaml::GridLength const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IGridLengthHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IMediaFailedRoutedEventArgs<D>::ErrorTrace() const
+ template <typename D> auto consume_Windows_UI_Xaml_IMediaFailedRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_IPointHelperStatics<D>::FromCoordinates(float x, float y) const
+ template <typename D> auto consume_Windows_UI_Xaml_IPointHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IPropertyMetadata<D>::DefaultValue() const
+ template <typename D> auto consume_Windows_UI_Xaml_IPropertyMetadata<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::CreateDefaultValueCallback) consume_Windows_UI_Xaml_IPropertyMetadata<D>::CreateDefaultValueCallback() const
+ template <typename D> auto consume_Windows_UI_Xaml_IPropertyMetadata<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) consume_Windows_UI_Xaml_IPropertyMetadataFactory<D>::CreateInstanceWithDefaultValue(winrt::Windows::Foundation::IInspectable const& defaultValue, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IPropertyMetadataFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) consume_Windows_UI_Xaml_IPropertyMetadataFactory<D>::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 <typename D> auto consume_Windows_UI_Xaml_IPropertyMetadataFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) consume_Windows_UI_Xaml_IPropertyMetadataStatics<D>::Create(winrt::Windows::Foundation::IInspectable const& defaultValue) const
+ template <typename D> auto consume_Windows_UI_Xaml_IPropertyMetadataStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) consume_Windows_UI_Xaml_IPropertyMetadataStatics<D>::Create(winrt::Windows::Foundation::IInspectable const& defaultValue, winrt::Windows::UI::Xaml::PropertyChangedCallback const& propertyChangedCallback) const
+ template <typename D> auto consume_Windows_UI_Xaml_IPropertyMetadataStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) consume_Windows_UI_Xaml_IPropertyMetadataStatics<D>::Create(winrt::Windows::UI::Xaml::CreateDefaultValueCallback const& createDefaultValueCallback) const
+ template <typename D> auto consume_Windows_UI_Xaml_IPropertyMetadataStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyMetadata) consume_Windows_UI_Xaml_IPropertyMetadataStatics<D>::Create(winrt::Windows::UI::Xaml::CreateDefaultValueCallback const& createDefaultValueCallback, winrt::Windows::UI::Xaml::PropertyChangedCallback const& propertyChangedCallback) const
+ template <typename D> auto consume_Windows_UI_Xaml_IPropertyMetadataStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IPropertyPath<D>::Path() const
+ template <typename D> auto consume_Windows_UI_Xaml_IPropertyPath<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyPath) consume_Windows_UI_Xaml_IPropertyPathFactory<D>::CreateInstance(param::hstring const& path) const
+ template <typename D> auto consume_Windows_UI_Xaml_IPropertyPathFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IRectHelperStatics<D>::Empty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IRectHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IRectHelperStatics<D>::FromCoordinatesAndDimensions(float x, float y, float width, float height) const
+ template <typename D> auto consume_Windows_UI_Xaml_IRectHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IRectHelperStatics<D>::FromPoints(winrt::Windows::Foundation::Point const& point1, winrt::Windows::Foundation::Point const& point2) const
+ template <typename D> auto consume_Windows_UI_Xaml_IRectHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IRectHelperStatics<D>::FromLocationAndSize(winrt::Windows::Foundation::Point const& location, winrt::Windows::Foundation::Size const& size) const
+ template <typename D> auto consume_Windows_UI_Xaml_IRectHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IRectHelperStatics<D>::GetIsEmpty(winrt::Windows::Foundation::Rect const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_IRectHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_IRectHelperStatics<D>::GetBottom(winrt::Windows::Foundation::Rect const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_IRectHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_IRectHelperStatics<D>::GetLeft(winrt::Windows::Foundation::Rect const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_IRectHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_IRectHelperStatics<D>::GetRight(winrt::Windows::Foundation::Rect const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_IRectHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_IRectHelperStatics<D>::GetTop(winrt::Windows::Foundation::Rect const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_IRectHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IRectHelperStatics<D>::Contains(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Point const& point) const
+ template <typename D> auto consume_Windows_UI_Xaml_IRectHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IRectHelperStatics<D>::Equals(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IRectHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IRectHelperStatics<D>::Intersect(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Rect const& rect) const
+ template <typename D> auto consume_Windows_UI_Xaml_IRectHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IRectHelperStatics<D>::Union(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Point const& point) const
+ template <typename D> auto consume_Windows_UI_Xaml_IRectHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IRectHelperStatics<D>::Union(winrt::Windows::Foundation::Rect const& target, winrt::Windows::Foundation::Rect const& rect) const
+ template <typename D> auto consume_Windows_UI_Xaml_IRectHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_UI_Xaml_IResourceDictionary<D>::Source() const
+ template <typename D> auto consume_Windows_UI_Xaml_IResourceDictionary<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IResourceDictionary<D>::Source(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IResourceDictionary<D>::Source(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IResourceDictionary)->put_Source(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::ResourceDictionary>) consume_Windows_UI_Xaml_IResourceDictionary<D>::MergedDictionaries() const
+ template <typename D> auto consume_Windows_UI_Xaml_IResourceDictionary<D>::MergedDictionaries() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IResourceDictionary)->get_MergedDictionaries(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::ResourceDictionary>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<winrt::Windows::Foundation::IInspectable, winrt::Windows::Foundation::IInspectable>) consume_Windows_UI_Xaml_IResourceDictionary<D>::ThemeDictionaries() const
+ template <typename D> auto consume_Windows_UI_Xaml_IResourceDictionary<D>::ThemeDictionaries() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IResourceDictionary)->get_ThemeDictionaries(&value));
return winrt::Windows::Foundation::Collections::IMap<winrt::Windows::Foundation::IInspectable, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ResourceDictionary) consume_Windows_UI_Xaml_IResourceDictionaryFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IResourceDictionaryFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_IRoutedEventArgs<D>::OriginalSource() const
+ template <typename D> auto consume_Windows_UI_Xaml_IRoutedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEventArgs) consume_Windows_UI_Xaml_IRoutedEventArgsFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IRoutedEventArgsFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_IScalarTransition<D>::Duration() const
+ template <typename D> auto consume_Windows_UI_Xaml_IScalarTransition<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IScalarTransition<D>::Duration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IScalarTransition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ScalarTransition) consume_Windows_UI_Xaml_IScalarTransitionFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IScalarTransitionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_ISetter<D>::Property() const
+ template <typename D> auto consume_Windows_UI_Xaml_ISetter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_ISetter<D>::Property(winrt::Windows::UI::Xaml::DependencyProperty const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_ISetter<D>::Property(winrt::Windows::UI::Xaml::DependencyProperty const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISetter)->put_Property(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_ISetter<D>::Value() const
+ template <typename D> auto consume_Windows_UI_Xaml_ISetter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_ISetter<D>::Value(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_ISetter<D>::Value(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISetter)->put_Value(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TargetPropertyPath) consume_Windows_UI_Xaml_ISetter2<D>::Target() const
+ template <typename D> auto consume_Windows_UI_Xaml_ISetter2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_ISetter2<D>::Target(winrt::Windows::UI::Xaml::TargetPropertyPath const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_ISetter2<D>::Target(winrt::Windows::UI::Xaml::TargetPropertyPath const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISetter2)->put_Target(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_ISetterBase<D>::IsSealed() const
+ template <typename D> auto consume_Windows_UI_Xaml_ISetterBase<D>::IsSealed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISetterBase)->get_IsSealed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_ISetterBaseCollection<D>::IsSealed() const
+ template <typename D> auto consume_Windows_UI_Xaml_ISetterBaseCollection<D>::IsSealed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ISetterBaseCollection)->get_IsSealed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Setter) consume_Windows_UI_Xaml_ISetterFactory<D>::CreateInstance(winrt::Windows::UI::Xaml::DependencyProperty const& targetProperty, winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_ISetterFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_ISizeChangedEventArgs<D>::PreviousSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_ISizeChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_ISizeChangedEventArgs<D>::NewSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_ISizeChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_ISizeHelperStatics<D>::Empty() const
+ template <typename D> auto consume_Windows_UI_Xaml_ISizeHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_ISizeHelperStatics<D>::FromDimensions(float width, float height) const
+ template <typename D> auto consume_Windows_UI_Xaml_ISizeHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_ISizeHelperStatics<D>::GetIsEmpty(winrt::Windows::Foundation::Size const& target) const
+ template <typename D> auto consume_Windows_UI_Xaml_ISizeHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_ISizeHelperStatics<D>::Equals(winrt::Windows::Foundation::Size const& target, winrt::Windows::Foundation::Size const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_ISizeHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IStateTrigger<D>::IsActive() const
+ template <typename D> auto consume_Windows_UI_Xaml_IStateTrigger<D>::IsActive() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStateTrigger)->get_IsActive(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IStateTrigger<D>::IsActive(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IStateTrigger<D>::IsActive(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStateTrigger)->put_IsActive(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::StateTriggerBase) consume_Windows_UI_Xaml_IStateTriggerBaseFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IStateTriggerBaseFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IStateTriggerBaseProtected<D>::SetActive(bool IsActive) const
+ template <typename D> auto consume_Windows_UI_Xaml_IStateTriggerBaseProtected<D>::SetActive(bool IsActive) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStateTriggerBaseProtected)->SetActive(IsActive));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IStateTriggerStatics<D>::IsActiveProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IStateTriggerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IStyle<D>::IsSealed() const
+ template <typename D> auto consume_Windows_UI_Xaml_IStyle<D>::IsSealed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStyle)->get_IsSealed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::SetterBaseCollection) consume_Windows_UI_Xaml_IStyle<D>::Setters() const
+ template <typename D> auto consume_Windows_UI_Xaml_IStyle<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Interop::TypeName) consume_Windows_UI_Xaml_IStyle<D>::TargetType() const
+ template <typename D> auto consume_Windows_UI_Xaml_IStyle<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IStyle<D>::TargetType(winrt::Windows::UI::Xaml::Interop::TypeName const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IStyle<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_IStyle<D>::BasedOn() const
+ template <typename D> auto consume_Windows_UI_Xaml_IStyle<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IStyle<D>::BasedOn(winrt::Windows::UI::Xaml::Style const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IStyle<D>::BasedOn(winrt::Windows::UI::Xaml::Style const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStyle)->put_BasedOn(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IStyle<D>::Seal() const
+ template <typename D> auto consume_Windows_UI_Xaml_IStyle<D>::Seal() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IStyle)->Seal());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Style) consume_Windows_UI_Xaml_IStyleFactory<D>::CreateInstance(winrt::Windows::UI::Xaml::Interop::TypeName const& targetType) const
+ template <typename D> auto consume_Windows_UI_Xaml_IStyleFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::PropertyPath) consume_Windows_UI_Xaml_ITargetPropertyPath<D>::Path() const
+ template <typename D> auto consume_Windows_UI_Xaml_ITargetPropertyPath<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_ITargetPropertyPath<D>::Path(winrt::Windows::UI::Xaml::PropertyPath const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_ITargetPropertyPath<D>::Path(winrt::Windows::UI::Xaml::PropertyPath const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ITargetPropertyPath)->put_Path(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_ITargetPropertyPath<D>::Target() const
+ template <typename D> auto consume_Windows_UI_Xaml_ITargetPropertyPath<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_ITargetPropertyPath<D>::Target(winrt::Windows::Foundation::IInspectable const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_ITargetPropertyPath<D>::Target(winrt::Windows::Foundation::IInspectable const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::ITargetPropertyPath)->put_Target(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::TargetPropertyPath) consume_Windows_UI_Xaml_ITargetPropertyPathFactory<D>::CreateInstance(winrt::Windows::UI::Xaml::DependencyProperty const& targetProperty) const
+ template <typename D> auto consume_Windows_UI_Xaml_ITargetPropertyPathFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_IThicknessHelperStatics<D>::FromLengths(double left, double top, double right, double bottom) const
+ template <typename D> auto consume_Windows_UI_Xaml_IThicknessHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Thickness) consume_Windows_UI_Xaml_IThicknessHelperStatics<D>::FromUniformLength(double uniformLength) const
+ template <typename D> auto consume_Windows_UI_Xaml_IThicknessHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_IUIElement<D>::DesiredSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement<D>::AllowDrop() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::AllowDrop() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_AllowDrop(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::AllowDrop(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::AllowDrop(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_AllowDrop(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IUIElement<D>::Opacity() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::Opacity() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_Opacity(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::Opacity(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::Opacity(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_Opacity(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::RectangleGeometry) consume_Windows_UI_Xaml_IUIElement<D>::Clip() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::Clip(winrt::Windows::UI::Xaml::Media::RectangleGeometry const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Transform) consume_Windows_UI_Xaml_IUIElement<D>::RenderTransform() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::RenderTransform(winrt::Windows::UI::Xaml::Media::Transform const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Projection) consume_Windows_UI_Xaml_IUIElement<D>::Projection() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::Projection(winrt::Windows::UI::Xaml::Media::Projection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_IUIElement<D>::RenderTransformOrigin() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::RenderTransformOrigin(winrt::Windows::Foundation::Point const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement<D>::IsHitTestVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::IsHitTestVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_IsHitTestVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::IsHitTestVisible(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::IsHitTestVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_IsHitTestVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Visibility) consume_Windows_UI_Xaml_IUIElement<D>::Visibility() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::Visibility() const
{
winrt::Windows::UI::Xaml::Visibility value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_Visibility(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::Visibility(winrt::Windows::UI::Xaml::Visibility const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::Visibility(winrt::Windows::UI::Xaml::Visibility const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_Visibility(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_IUIElement<D>::RenderSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement<D>::UseLayoutRounding() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::UseLayoutRounding() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_UseLayoutRounding(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::UseLayoutRounding(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::UseLayoutRounding(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_UseLayoutRounding(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection) consume_Windows_UI_Xaml_IUIElement<D>::Transitions() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::Transitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::CacheMode) consume_Windows_UI_Xaml_IUIElement<D>::CacheMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::CacheMode(winrt::Windows::UI::Xaml::Media::CacheMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement<D>::IsTapEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::IsTapEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_IsTapEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::IsTapEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::IsTapEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_IsTapEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement<D>::IsDoubleTapEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::IsDoubleTapEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_IsDoubleTapEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::IsDoubleTapEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::IsDoubleTapEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_IsDoubleTapEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement<D>::IsRightTapEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::IsRightTapEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_IsRightTapEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::IsRightTapEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::IsRightTapEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_IsRightTapEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement<D>::IsHoldingEnabled() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::IsHoldingEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_IsHoldingEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::IsHoldingEnabled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::IsHoldingEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_IsHoldingEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::ManipulationModes) consume_Windows_UI_Xaml_IUIElement<D>::ManipulationMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::ManipulationMode() const
{
winrt::Windows::UI::Xaml::Input::ManipulationModes value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_ManipulationMode(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::ManipulationMode(winrt::Windows::UI::Xaml::Input::ManipulationModes const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::ManipulationMode(winrt::Windows::UI::Xaml::Input::ManipulationModes const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->put_ManipulationMode(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Input::Pointer>) consume_Windows_UI_Xaml_IUIElement<D>::PointerCaptures() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::PointerCaptures() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->get_PointerCaptures(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Input::Pointer>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::KeyUp(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::KeyUp_revoker consume_Windows_UI_Xaml_IUIElement<D>::KeyUp(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::KeyUp(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const
{
return impl::make_event_revoker<D, KeyUp_revoker>(this, KeyUp(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::KeyUp(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::KeyUp(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_KeyUp(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::KeyDown(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::KeyDown_revoker consume_Windows_UI_Xaml_IUIElement<D>::KeyDown(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::KeyDown(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const
{
return impl::make_event_revoker<D, KeyDown_revoker>(this, KeyDown(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::KeyDown(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::KeyDown(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_KeyDown(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::GotFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::GotFocus_revoker consume_Windows_UI_Xaml_IUIElement<D>::GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::GotFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, GotFocus_revoker>(this, GotFocus(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::GotFocus(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::GotFocus(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_GotFocus(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::LostFocus(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::LostFocus_revoker consume_Windows_UI_Xaml_IUIElement<D>::LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::LostFocus(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const
{
return impl::make_event_revoker<D, LostFocus_revoker>(this, LostFocus(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::LostFocus(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::LostFocus(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_LostFocus(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::DragEnter(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::DragEnter_revoker consume_Windows_UI_Xaml_IUIElement<D>::DragEnter(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::DragEnter(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const
{
return impl::make_event_revoker<D, DragEnter_revoker>(this, DragEnter(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::DragEnter(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::DragEnter(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_DragEnter(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::DragLeave(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::DragLeave_revoker consume_Windows_UI_Xaml_IUIElement<D>::DragLeave(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::DragLeave(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const
{
return impl::make_event_revoker<D, DragLeave_revoker>(this, DragLeave(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::DragLeave(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::DragLeave(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_DragLeave(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::DragOver(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::DragOver_revoker consume_Windows_UI_Xaml_IUIElement<D>::DragOver(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::DragOver(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const
{
return impl::make_event_revoker<D, DragOver_revoker>(this, DragOver(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::DragOver(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::DragOver(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_DragOver(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::Drop(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::Drop_revoker consume_Windows_UI_Xaml_IUIElement<D>::Drop(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::Drop(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const
{
return impl::make_event_revoker<D, Drop_revoker>(this, Drop(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::Drop(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::Drop(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_Drop(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::PointerPressed(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::PointerPressed_revoker consume_Windows_UI_Xaml_IUIElement<D>::PointerPressed(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::PointerPressed(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
{
return impl::make_event_revoker<D, PointerPressed_revoker>(this, PointerPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::PointerPressed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::PointerPressed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_PointerPressed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::PointerMoved(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::PointerMoved_revoker consume_Windows_UI_Xaml_IUIElement<D>::PointerMoved(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::PointerMoved(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
{
return impl::make_event_revoker<D, PointerMoved_revoker>(this, PointerMoved(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::PointerMoved(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::PointerMoved(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_PointerMoved(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::PointerReleased(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::PointerReleased_revoker consume_Windows_UI_Xaml_IUIElement<D>::PointerReleased(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::PointerReleased(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
{
return impl::make_event_revoker<D, PointerReleased_revoker>(this, PointerReleased(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::PointerReleased(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::PointerReleased(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_PointerReleased(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::PointerEntered(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::PointerEntered_revoker consume_Windows_UI_Xaml_IUIElement<D>::PointerEntered(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::PointerEntered(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
{
return impl::make_event_revoker<D, PointerEntered_revoker>(this, PointerEntered(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::PointerEntered(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::PointerEntered(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_PointerEntered(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::PointerExited(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::PointerExited_revoker consume_Windows_UI_Xaml_IUIElement<D>::PointerExited(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::PointerExited(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
{
return impl::make_event_revoker<D, PointerExited_revoker>(this, PointerExited(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::PointerExited(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::PointerExited(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_PointerExited(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::PointerCaptureLost(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::PointerCaptureLost_revoker consume_Windows_UI_Xaml_IUIElement<D>::PointerCaptureLost(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::PointerCaptureLost(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
{
return impl::make_event_revoker<D, PointerCaptureLost_revoker>(this, PointerCaptureLost(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::PointerCaptureLost(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::PointerCaptureLost(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_PointerCaptureLost(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::PointerCanceled(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::PointerCanceled_revoker consume_Windows_UI_Xaml_IUIElement<D>::PointerCanceled(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::PointerCanceled(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
{
return impl::make_event_revoker<D, PointerCanceled_revoker>(this, PointerCanceled(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::PointerCanceled(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::PointerCanceled(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_PointerCanceled(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::PointerWheelChanged(winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::PointerWheelChanged_revoker consume_Windows_UI_Xaml_IUIElement<D>::PointerWheelChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::PointerWheelChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Input::PointerEventHandler const& handler) const
{
return impl::make_event_revoker<D, PointerWheelChanged_revoker>(this, PointerWheelChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::PointerWheelChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::PointerWheelChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_PointerWheelChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::Tapped(winrt::Windows::UI::Xaml::Input::TappedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::Tapped_revoker consume_Windows_UI_Xaml_IUIElement<D>::Tapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::TappedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::Tapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::TappedEventHandler const& handler) const
{
return impl::make_event_revoker<D, Tapped_revoker>(this, Tapped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::Tapped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::Tapped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_Tapped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::DoubleTapped(winrt::Windows::UI::Xaml::Input::DoubleTappedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::DoubleTapped_revoker consume_Windows_UI_Xaml_IUIElement<D>::DoubleTapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::DoubleTappedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::DoubleTapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::DoubleTappedEventHandler const& handler) const
{
return impl::make_event_revoker<D, DoubleTapped_revoker>(this, DoubleTapped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::DoubleTapped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::DoubleTapped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_DoubleTapped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::Holding(winrt::Windows::UI::Xaml::Input::HoldingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::Holding_revoker consume_Windows_UI_Xaml_IUIElement<D>::Holding(auto_revoke_t, winrt::Windows::UI::Xaml::Input::HoldingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::Holding(auto_revoke_t, winrt::Windows::UI::Xaml::Input::HoldingEventHandler const& handler) const
{
return impl::make_event_revoker<D, Holding_revoker>(this, Holding(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::Holding(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::Holding(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_Holding(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::RightTapped(winrt::Windows::UI::Xaml::Input::RightTappedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::RightTapped_revoker consume_Windows_UI_Xaml_IUIElement<D>::RightTapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::RightTappedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::RightTapped(auto_revoke_t, winrt::Windows::UI::Xaml::Input::RightTappedEventHandler const& handler) const
{
return impl::make_event_revoker<D, RightTapped_revoker>(this, RightTapped(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::RightTapped(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::RightTapped(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_RightTapped(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::ManipulationStarting(winrt::Windows::UI::Xaml::Input::ManipulationStartingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::ManipulationStarting_revoker consume_Windows_UI_Xaml_IUIElement<D>::ManipulationStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationStartingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::ManipulationStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationStartingEventHandler const& handler) const
{
return impl::make_event_revoker<D, ManipulationStarting_revoker>(this, ManipulationStarting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::ManipulationStarting(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::ManipulationStarting(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_ManipulationStarting(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::ManipulationInertiaStarting(winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::ManipulationInertiaStarting_revoker consume_Windows_UI_Xaml_IUIElement<D>::ManipulationInertiaStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::ManipulationInertiaStarting(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingEventHandler const& handler) const
{
return impl::make_event_revoker<D, ManipulationInertiaStarting_revoker>(this, ManipulationInertiaStarting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::ManipulationInertiaStarting(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::ManipulationInertiaStarting(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_ManipulationInertiaStarting(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::ManipulationStarted(winrt::Windows::UI::Xaml::Input::ManipulationStartedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::ManipulationStarted_revoker consume_Windows_UI_Xaml_IUIElement<D>::ManipulationStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationStartedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::ManipulationStarted(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationStartedEventHandler const& handler) const
{
return impl::make_event_revoker<D, ManipulationStarted_revoker>(this, ManipulationStarted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::ManipulationStarted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::ManipulationStarted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_ManipulationStarted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::ManipulationDelta(winrt::Windows::UI::Xaml::Input::ManipulationDeltaEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::ManipulationDelta_revoker consume_Windows_UI_Xaml_IUIElement<D>::ManipulationDelta(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationDeltaEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::ManipulationDelta(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationDeltaEventHandler const& handler) const
{
return impl::make_event_revoker<D, ManipulationDelta_revoker>(this, ManipulationDelta(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::ManipulationDelta(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::ManipulationDelta(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_ManipulationDelta(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement<D>::ManipulationCompleted(winrt::Windows::UI::Xaml::Input::ManipulationCompletedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement<D>::ManipulationCompleted_revoker consume_Windows_UI_Xaml_IUIElement<D>::ManipulationCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationCompletedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::ManipulationCompleted(auto_revoke_t, winrt::Windows::UI::Xaml::Input::ManipulationCompletedEventHandler const& handler) const
{
return impl::make_event_revoker<D, ManipulationCompleted_revoker>(this, ManipulationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::ManipulationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::ManipulationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->remove_ManipulationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::Measure(winrt::Windows::Foundation::Size const& availableSize) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::Measure(winrt::Windows::Foundation::Size const& availableSize) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->Measure(impl::bind_in(availableSize)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::Arrange(winrt::Windows::Foundation::Rect const& finalRect) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::Arrange(winrt::Windows::Foundation::Rect const& finalRect) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->Arrange(impl::bind_in(finalRect)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement<D>::CapturePointer(winrt::Windows::UI::Xaml::Input::Pointer const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::ReleasePointerCapture(winrt::Windows::UI::Xaml::Input::Pointer const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::ReleasePointerCapture(winrt::Windows::UI::Xaml::Input::Pointer const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->ReleasePointerCapture(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::ReleasePointerCaptures() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::ReleasePointerCaptures() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->ReleasePointerCaptures());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::AddHandler(winrt::Windows::UI::Xaml::RoutedEvent const& routedEvent, winrt::Windows::Foundation::IInspectable const& handler, bool handledEventsToo) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::RemoveHandler(winrt::Windows::UI::Xaml::RoutedEvent const& routedEvent, winrt::Windows::Foundation::IInspectable const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::GeneralTransform) consume_Windows_UI_Xaml_IUIElement<D>::TransformToVisual(winrt::Windows::UI::Xaml::UIElement const& visual) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::InvalidateMeasure() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::InvalidateMeasure() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->InvalidateMeasure());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::InvalidateArrange() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::InvalidateArrange() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->InvalidateArrange());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement<D>::UpdateLayout() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement<D>::UpdateLayout() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement)->UpdateLayout());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Xaml_IUIElement10<D>::ActualOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement10<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float2) consume_Windows_UI_Xaml_IUIElement10<D>::ActualSize() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement10<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::XamlRoot) consume_Windows_UI_Xaml_IUIElement10<D>::XamlRoot() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement10<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement10<D>::XamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement10<D>::XamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement10)->put_XamlRoot(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) consume_Windows_UI_Xaml_IUIElement10<D>::UIContext() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement10<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Shadow) consume_Windows_UI_Xaml_IUIElement10<D>::Shadow() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement10<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement10<D>::Shadow(winrt::Windows::UI::Xaml::Media::Shadow const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement10<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::ElementCompositeMode) consume_Windows_UI_Xaml_IUIElement2<D>::CompositeMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement2<D>::CompositeMode() const
{
winrt::Windows::UI::Xaml::Media::ElementCompositeMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement2)->get_CompositeMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement2<D>::CompositeMode(winrt::Windows::UI::Xaml::Media::ElementCompositeMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement2<D>::CompositeMode(winrt::Windows::UI::Xaml::Media::ElementCompositeMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement2)->put_CompositeMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement2<D>::CancelDirectManipulations() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement2<D>::CancelDirectManipulations() const
{
bool result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement2)->CancelDirectManipulations(&result));
return result;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Media3D::Transform3D) consume_Windows_UI_Xaml_IUIElement3<D>::Transform3D() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement3<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement3<D>::Transform3D(winrt::Windows::UI::Xaml::Media::Media3D::Transform3D const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement3<D>::CanDrag() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement3<D>::CanDrag() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement3)->get_CanDrag(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement3<D>::CanDrag(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement3<D>::CanDrag(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement3)->put_CanDrag(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement3<D>::DragStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::DragStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement3<D>::DragStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::DragStartingEventArgs> 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 D> typename consume_Windows_UI_Xaml_IUIElement3<D>::DragStarting_revoker consume_Windows_UI_Xaml_IUIElement3<D>::DragStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::DragStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement3<D>::DragStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::DragStartingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DragStarting_revoker>(this, DragStarting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement3<D>::DragStarting(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement3<D>::DragStarting(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement3)->remove_DragStarting(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement3<D>::DropCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::DropCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement3<D>::DropCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::DropCompletedEventArgs> 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 D> typename consume_Windows_UI_Xaml_IUIElement3<D>::DropCompleted_revoker consume_Windows_UI_Xaml_IUIElement3<D>::DropCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::DropCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement3<D>::DropCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::DropCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DropCompleted_revoker>(this, DropCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement3<D>::DropCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement3<D>::DropCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement3)->remove_DropCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation>) consume_Windows_UI_Xaml_IUIElement3<D>::StartDragAsync(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement3<D>::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<winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase) consume_Windows_UI_Xaml_IUIElement4<D>::ContextFlyout() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4<D>::ContextFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement4<D>::ExitDisplayModeOnAccessKeyInvoked() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::ExitDisplayModeOnAccessKeyInvoked() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->get_ExitDisplayModeOnAccessKeyInvoked(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4<D>::ExitDisplayModeOnAccessKeyInvoked(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::ExitDisplayModeOnAccessKeyInvoked(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->put_ExitDisplayModeOnAccessKeyInvoked(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement4<D>::IsAccessKeyScope() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::IsAccessKeyScope() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->get_IsAccessKeyScope(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4<D>::IsAccessKeyScope(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::IsAccessKeyScope(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->put_IsAccessKeyScope(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyScopeOwner() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyScopeOwner(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyScopeOwner(winrt::Windows::UI::Xaml::DependencyObject const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->put_AccessKeyScopeOwner(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IUIElement4<D>::AccessKey() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4<D>::AccessKey(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::AccessKey(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->put_AccessKey(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement4<D>::ContextRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::ContextRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::ContextRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::ContextRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_IUIElement4<D>::ContextRequested_revoker consume_Windows_UI_Xaml_IUIElement4<D>::ContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::ContextRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::ContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::ContextRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ContextRequested_revoker>(this, ContextRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4<D>::ContextRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::ContextRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->remove_ContextRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement4<D>::ContextCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::RoutedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::ContextCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::RoutedEventArgs> 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 D> typename consume_Windows_UI_Xaml_IUIElement4<D>::ContextCanceled_revoker consume_Windows_UI_Xaml_IUIElement4<D>::ContextCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::RoutedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::ContextCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::RoutedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ContextCanceled_revoker>(this, ContextCanceled(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4<D>::ContextCanceled(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::ContextCanceled(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->remove_ContextCanceled(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyDisplayRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyDisplayRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyDisplayRequested_revoker consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyDisplayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyDisplayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AccessKeyDisplayRequested_revoker>(this, AccessKeyDisplayRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyDisplayRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyDisplayRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->remove_AccessKeyDisplayRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyDisplayDismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyDisplayDismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs> 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 D> typename consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyDisplayDismissed_revoker consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyDisplayDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyDisplayDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AccessKeyDisplayDismissed_revoker>(this, AccessKeyDisplayDismissed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyDisplayDismissed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyDisplayDismissed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->remove_AccessKeyDisplayDismissed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs> 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 D> typename consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyInvoked_revoker consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AccessKeyInvoked_revoker>(this, AccessKeyInvoked(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyInvoked(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement4<D>::AccessKeyInvoked(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement4)->remove_AccessKeyInvoked(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Media::XamlLight>) consume_Windows_UI_Xaml_IUIElement5<D>::Lights() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::Lights() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_Lights(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Media::XamlLight>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode) consume_Windows_UI_Xaml_IUIElement5<D>::KeyTipPlacementMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::KeyTipPlacementMode() const
{
winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_KeyTipPlacementMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5<D>::KeyTipPlacementMode(winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::KeyTipPlacementMode(winrt::Windows::UI::Xaml::Input::KeyTipPlacementMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_KeyTipPlacementMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IUIElement5<D>::KeyTipHorizontalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::KeyTipHorizontalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_KeyTipHorizontalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5<D>::KeyTipHorizontalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::KeyTipHorizontalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_KeyTipHorizontalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IUIElement5<D>::KeyTipVerticalOffset() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::KeyTipVerticalOffset() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_KeyTipVerticalOffset(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5<D>::KeyTipVerticalOffset(double value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::KeyTipVerticalOffset(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_KeyTipVerticalOffset(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusKeyboardNavigationMode) consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusKeyboardNavigation() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusKeyboardNavigation() const
{
winrt::Windows::UI::Xaml::Input::XYFocusKeyboardNavigationMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_XYFocusKeyboardNavigation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusKeyboardNavigation(winrt::Windows::UI::Xaml::Input::XYFocusKeyboardNavigationMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusKeyboardNavigation(winrt::Windows::UI::Xaml::Input::XYFocusKeyboardNavigationMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_XYFocusKeyboardNavigation(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusUpNavigationStrategy() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusUpNavigationStrategy() const
{
winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_XYFocusUpNavigationStrategy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusUpNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusUpNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_XYFocusUpNavigationStrategy(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusDownNavigationStrategy() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusDownNavigationStrategy() const
{
winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_XYFocusDownNavigationStrategy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusDownNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusDownNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_XYFocusDownNavigationStrategy(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusLeftNavigationStrategy() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusLeftNavigationStrategy() const
{
winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_XYFocusLeftNavigationStrategy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusLeftNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusLeftNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_XYFocusLeftNavigationStrategy(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy) consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusRightNavigationStrategy() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusRightNavigationStrategy() const
{
winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_XYFocusRightNavigationStrategy(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusRightNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::XYFocusRightNavigationStrategy(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategy const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_XYFocusRightNavigationStrategy(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ElementHighContrastAdjustment) consume_Windows_UI_Xaml_IUIElement5<D>::HighContrastAdjustment() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::HighContrastAdjustment() const
{
winrt::Windows::UI::Xaml::ElementHighContrastAdjustment value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_HighContrastAdjustment(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5<D>::HighContrastAdjustment(winrt::Windows::UI::Xaml::ElementHighContrastAdjustment const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::HighContrastAdjustment(winrt::Windows::UI::Xaml::ElementHighContrastAdjustment const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_HighContrastAdjustment(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode) consume_Windows_UI_Xaml_IUIElement5<D>::TabFocusNavigation() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::TabFocusNavigation() const
{
winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->get_TabFocusNavigation(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5<D>::TabFocusNavigation(winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::TabFocusNavigation(winrt::Windows::UI::Xaml::Input::KeyboardNavigationMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->put_TabFocusNavigation(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement5<D>::GettingFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::GettingFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> 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 D> typename consume_Windows_UI_Xaml_IUIElement5<D>::GettingFocus_revoker consume_Windows_UI_Xaml_IUIElement5<D>::GettingFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::GettingFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> const& handler) const
{
return impl::make_event_revoker<D, GettingFocus_revoker>(this, GettingFocus(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5<D>::GettingFocus(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::GettingFocus(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->remove_GettingFocus(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement5<D>::LosingFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::LosingFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> 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 D> typename consume_Windows_UI_Xaml_IUIElement5<D>::LosingFocus_revoker consume_Windows_UI_Xaml_IUIElement5<D>::LosingFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::LosingFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> const& handler) const
{
return impl::make_event_revoker<D, LosingFocus_revoker>(this, LosingFocus(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5<D>::LosingFocus(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::LosingFocus(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->remove_LosingFocus(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement5<D>::NoFocusCandidateFound(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::NoFocusCandidateFoundEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::NoFocusCandidateFound(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::NoFocusCandidateFoundEventArgs> 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 D> typename consume_Windows_UI_Xaml_IUIElement5<D>::NoFocusCandidateFound_revoker consume_Windows_UI_Xaml_IUIElement5<D>::NoFocusCandidateFound(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::NoFocusCandidateFoundEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::NoFocusCandidateFound(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::NoFocusCandidateFoundEventArgs> const& handler) const
{
return impl::make_event_revoker<D, NoFocusCandidateFound_revoker>(this, NoFocusCandidateFound(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5<D>::NoFocusCandidateFound(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::NoFocusCandidateFound(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->remove_NoFocusCandidateFound(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5<D>::StartBringIntoView() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::StartBringIntoView() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->StartBringIntoView());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement5<D>::StartBringIntoView(winrt::Windows::UI::Xaml::BringIntoViewOptions const& options) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement5<D>::StartBringIntoView(winrt::Windows::UI::Xaml::BringIntoViewOptions const& options) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement5)->StartBringIntoViewWithOptions(*(void**)(&options)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Input::KeyboardAccelerator>) consume_Windows_UI_Xaml_IUIElement7<D>::KeyboardAccelerators() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement7<D>::KeyboardAccelerators() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement7)->get_KeyboardAccelerators(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Input::KeyboardAccelerator>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement7<D>::CharacterReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement7<D>::CharacterReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs> 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 D> typename consume_Windows_UI_Xaml_IUIElement7<D>::CharacterReceived_revoker consume_Windows_UI_Xaml_IUIElement7<D>::CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement7<D>::CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, CharacterReceived_revoker>(this, CharacterReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement7<D>::CharacterReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement7<D>::CharacterReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement7)->remove_CharacterReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement7<D>::ProcessKeyboardAccelerators(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement7<D>::ProcessKeyboardAccelerators(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs> 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 D> typename consume_Windows_UI_Xaml_IUIElement7<D>::ProcessKeyboardAccelerators_revoker consume_Windows_UI_Xaml_IUIElement7<D>::ProcessKeyboardAccelerators(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement7<D>::ProcessKeyboardAccelerators(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ProcessKeyboardAccelerators_revoker>(this, ProcessKeyboardAccelerators(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement7<D>::ProcessKeyboardAccelerators(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement7<D>::ProcessKeyboardAccelerators(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement7)->remove_ProcessKeyboardAccelerators(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement7<D>::PreviewKeyDown(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement7<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement7<D>::PreviewKeyDown_revoker consume_Windows_UI_Xaml_IUIElement7<D>::PreviewKeyDown(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement7<D>::PreviewKeyDown(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const
{
return impl::make_event_revoker<D, PreviewKeyDown_revoker>(this, PreviewKeyDown(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement7<D>::PreviewKeyDown(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement7<D>::PreviewKeyDown(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement7)->remove_PreviewKeyDown(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement7<D>::PreviewKeyUp(winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement7<D>::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 D> typename consume_Windows_UI_Xaml_IUIElement7<D>::PreviewKeyUp_revoker consume_Windows_UI_Xaml_IUIElement7<D>::PreviewKeyUp(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement7<D>::PreviewKeyUp(auto_revoke_t, winrt::Windows::UI::Xaml::Input::KeyEventHandler const& handler) const
{
return impl::make_event_revoker<D, PreviewKeyUp_revoker>(this, PreviewKeyUp(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement7<D>::PreviewKeyUp(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement7<D>::PreviewKeyUp(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement7)->remove_PreviewKeyUp(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement7<D>::TryInvokeKeyboardAccelerator(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement7<D>::TryInvokeKeyboardAccelerator(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement7)->TryInvokeKeyboardAccelerator(*(void**)(&args)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_IUIElement8<D>::KeyTipTarget() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement8<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement8<D>::KeyTipTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement8<D>::KeyTipTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement8)->put_KeyTipTarget(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) consume_Windows_UI_Xaml_IUIElement8<D>::KeyboardAcceleratorPlacementTarget() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement8<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement8<D>::KeyboardAcceleratorPlacementTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement8<D>::KeyboardAcceleratorPlacementTarget(winrt::Windows::UI::Xaml::DependencyObject const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement8)->put_KeyboardAcceleratorPlacementTarget(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorPlacementMode) consume_Windows_UI_Xaml_IUIElement8<D>::KeyboardAcceleratorPlacementMode() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement8<D>::KeyboardAcceleratorPlacementMode() const
{
winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorPlacementMode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement8)->get_KeyboardAcceleratorPlacementMode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement8<D>::KeyboardAcceleratorPlacementMode(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorPlacementMode const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement8<D>::KeyboardAcceleratorPlacementMode(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorPlacementMode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement8)->put_KeyboardAcceleratorPlacementMode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IUIElement8<D>::BringIntoViewRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement8<D>::BringIntoViewRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs> 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 D> typename consume_Windows_UI_Xaml_IUIElement8<D>::BringIntoViewRequested_revoker consume_Windows_UI_Xaml_IUIElement8<D>::BringIntoViewRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement8<D>::BringIntoViewRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, BringIntoViewRequested_revoker>(this, BringIntoViewRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement8<D>::BringIntoViewRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement8<D>::BringIntoViewRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement8)->remove_BringIntoViewRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElement9<D>::CanBeScrollAnchor() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::CanBeScrollAnchor() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->get_CanBeScrollAnchor(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9<D>::CanBeScrollAnchor(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::CanBeScrollAnchor(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->put_CanBeScrollAnchor(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ScalarTransition) consume_Windows_UI_Xaml_IUIElement9<D>::OpacityTransition() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9<D>::OpacityTransition(winrt::Windows::UI::Xaml::ScalarTransition const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::OpacityTransition(winrt::Windows::UI::Xaml::ScalarTransition const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->put_OpacityTransition(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Xaml_IUIElement9<D>::Translation() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9<D>::Translation(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Vector3Transition) consume_Windows_UI_Xaml_IUIElement9<D>::TranslationTransition() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9<D>::TranslationTransition(winrt::Windows::UI::Xaml::Vector3Transition const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::TranslationTransition(winrt::Windows::UI::Xaml::Vector3Transition const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->put_TranslationTransition(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(float) consume_Windows_UI_Xaml_IUIElement9<D>::Rotation() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::Rotation() const
{
float value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->get_Rotation(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9<D>::Rotation(float value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::Rotation(float value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->put_Rotation(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::ScalarTransition) consume_Windows_UI_Xaml_IUIElement9<D>::RotationTransition() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9<D>::RotationTransition(winrt::Windows::UI::Xaml::ScalarTransition const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::RotationTransition(winrt::Windows::UI::Xaml::ScalarTransition const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->put_RotationTransition(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Xaml_IUIElement9<D>::Scale() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9<D>::Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Vector3Transition) consume_Windows_UI_Xaml_IUIElement9<D>::ScaleTransition() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9<D>::ScaleTransition(winrt::Windows::UI::Xaml::Vector3Transition const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::ScaleTransition(winrt::Windows::UI::Xaml::Vector3Transition const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->put_ScaleTransition(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) consume_Windows_UI_Xaml_IUIElement9<D>::TransformMatrix() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9<D>::TransformMatrix(winrt::Windows::Foundation::Numerics::float4x4 const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Xaml_IUIElement9<D>::CenterPoint() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9<D>::CenterPoint(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float3) consume_Windows_UI_Xaml_IUIElement9<D>::RotationAxis() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9<D>::RotationAxis(winrt::Windows::Foundation::Numerics::float3 const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9<D>::StartAnimation(winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::StartAnimation(winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->StartAnimation(*(void**)(&animation)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElement9<D>::StopAnimation(winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElement9<D>::StopAnimation(winrt::Windows::UI::Composition::ICompositionAnimationBase const& animation) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElement9)->StopAnimation(*(void**)(&animation)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_IUIElementOverrides<D>::OnCreateAutomationPeer() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElementOverrides<D>::OnDisconnectVisualChildren() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementOverrides<D>::OnDisconnectVisualChildren() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementOverrides)->OnDisconnectVisualChildren());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::Foundation::Point>>) consume_Windows_UI_Xaml_IUIElementOverrides<D>::FindSubElementsForTouchTargeting(winrt::Windows::Foundation::Point const& point, winrt::Windows::Foundation::Rect const& boundingRect) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementOverrides<D>::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<winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::Foundation::Point>>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::DependencyObject>) consume_Windows_UI_Xaml_IUIElementOverrides7<D>::GetChildrenInTabFocusOrder() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementOverrides7<D>::GetChildrenInTabFocusOrder() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementOverrides7)->GetChildrenInTabFocusOrder(&result));
return winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::DependencyObject>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElementOverrides7<D>::OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementOverrides7<D>::OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementOverrides7)->OnProcessKeyboardAccelerators(*(void**)(&args)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElementOverrides8<D>::OnKeyboardAcceleratorInvoked(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs const& args) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementOverrides8<D>::OnKeyboardAcceleratorInvoked(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs const& args) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementOverrides8)->OnKeyboardAcceleratorInvoked(*(void**)(&args)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElementOverrides8<D>::OnBringIntoViewRequested(winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs const& e) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementOverrides8<D>::OnBringIntoViewRequested(winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs const& e) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementOverrides8)->OnBringIntoViewRequested(*(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElementOverrides9<D>::PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementOverrides9<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::KeyDownEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::KeyUpEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::PointerEnteredEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::PointerPressedEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::PointerMovedEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::PointerReleasedEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::PointerExitedEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::PointerCaptureLostEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::PointerCanceledEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::PointerWheelChangedEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::TappedEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::DoubleTappedEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::HoldingEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::RightTappedEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::ManipulationStartingEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::ManipulationInertiaStartingEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::ManipulationStartedEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::ManipulationDeltaEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::ManipulationCompletedEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::DragEnterEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::DragLeaveEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::DragOverEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics<D>::DropEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics<D>::AllowDropProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics<D>::OpacityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics<D>::ClipProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics<D>::RenderTransformProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics<D>::ProjectionProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics<D>::RenderTransformOriginProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics<D>::IsHitTestVisibleProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics<D>::VisibilityProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics<D>::UseLayoutRoundingProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics<D>::TransitionsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics<D>::CacheModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics<D>::IsTapEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics<D>::IsDoubleTapEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics<D>::IsRightTapEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics<D>::IsHoldingEnabledProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics<D>::ManipulationModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics<D>::PointerCapturesProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics10<D>::ShadowProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics10<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics2<D>::CompositeModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics3<D>::Transform3DProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics3<D>::CanDragProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUIElementStatics3<D>::TryStartDirectManipulation(winrt::Windows::UI::Xaml::Input::Pointer const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics4<D>::ContextFlyoutProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics4<D>::ExitDisplayModeOnAccessKeyInvokedProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics4<D>::IsAccessKeyScopeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics4<D>::AccessKeyScopeOwnerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics4<D>::AccessKeyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5<D>::LightsProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5<D>::KeyTipPlacementModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5<D>::KeyTipHorizontalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5<D>::KeyTipVerticalOffsetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5<D>::XYFocusKeyboardNavigationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5<D>::XYFocusUpNavigationStrategyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5<D>::XYFocusDownNavigationStrategyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5<D>::XYFocusLeftNavigationStrategyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5<D>::XYFocusRightNavigationStrategyProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5<D>::HighContrastAdjustmentProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics5<D>::TabFocusNavigationProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics6<D>::GettingFocusEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics6<D>::LosingFocusEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics6<D>::NoFocusCandidateFoundEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics6<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics7<D>::PreviewKeyDownEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics7<D>::CharacterReceivedEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics7<D>::PreviewKeyUpEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics7<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics8<D>::BringIntoViewRequestedEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::RoutedEvent) consume_Windows_UI_Xaml_IUIElementStatics8<D>::ContextRequestedEvent() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics8<D>::KeyTipTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics8<D>::KeyboardAcceleratorPlacementTargetProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics8<D>::KeyboardAcceleratorPlacementModeProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics8<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUIElementStatics8<D>::RegisterAsScrollPort(winrt::Windows::UI::Xaml::UIElement const& element) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics8<D>::RegisterAsScrollPort(winrt::Windows::UI::Xaml::UIElement const& element) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUIElementStatics8)->RegisterAsScrollPort(*(void**)(&element)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IUIElementStatics9<D>::CanBeScrollAnchorProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementStatics9<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElementWeakCollection) consume_Windows_UI_Xaml_IUIElementWeakCollectionFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUIElementWeakCollectionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_UI_Xaml_IUnhandledExceptionEventArgs<D>::Exception() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUnhandledExceptionEventArgs<D>::Exception() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUnhandledExceptionEventArgs)->get_Exception(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IUnhandledExceptionEventArgs<D>::Message() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUnhandledExceptionEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IUnhandledExceptionEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_UI_Xaml_IUnhandledExceptionEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUnhandledExceptionEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IUnhandledExceptionEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IUnhandledExceptionEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IUnhandledExceptionEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_UI_Xaml_IVector3Transition<D>::Duration() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVector3Transition<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVector3Transition<D>::Duration(winrt::Windows::Foundation::TimeSpan const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVector3Transition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Vector3TransitionComponents) consume_Windows_UI_Xaml_IVector3Transition<D>::Components() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVector3Transition<D>::Components() const
{
winrt::Windows::UI::Xaml::Vector3TransitionComponents value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVector3Transition)->get_Components(reinterpret_cast<uint32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVector3Transition<D>::Components(winrt::Windows::UI::Xaml::Vector3TransitionComponents const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVector3Transition<D>::Components(winrt::Windows::UI::Xaml::Vector3TransitionComponents const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVector3Transition)->put_Components(static_cast<uint32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Vector3Transition) consume_Windows_UI_Xaml_IVector3TransitionFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVector3TransitionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IVisualState<D>::Name() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualState<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::Storyboard) consume_Windows_UI_Xaml_IVisualState<D>::Storyboard() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualState<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualState<D>::Storyboard(winrt::Windows::UI::Xaml::Media::Animation::Storyboard const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualState<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::SetterBaseCollection) consume_Windows_UI_Xaml_IVisualState2<D>::Setters() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualState2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::StateTriggerBase>) consume_Windows_UI_Xaml_IVisualState2<D>::StateTriggers() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualState2<D>::StateTriggers() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualState2)->get_StateTriggers(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::StateTriggerBase>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualState) consume_Windows_UI_Xaml_IVisualStateChangedEventArgs<D>::OldState() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualStateChangedEventArgs<D>::OldState(winrt::Windows::UI::Xaml::VisualState const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateChangedEventArgs<D>::OldState(winrt::Windows::UI::Xaml::VisualState const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateChangedEventArgs)->put_OldState(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualState) consume_Windows_UI_Xaml_IVisualStateChangedEventArgs<D>::NewState() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualStateChangedEventArgs<D>::NewState(winrt::Windows::UI::Xaml::VisualState const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateChangedEventArgs<D>::NewState(winrt::Windows::UI::Xaml::VisualState const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateChangedEventArgs)->put_NewState(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Control) consume_Windows_UI_Xaml_IVisualStateChangedEventArgs<D>::Control() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualStateChangedEventArgs<D>::Control(winrt::Windows::UI::Xaml::Controls::Control const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateChangedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IVisualStateGroup<D>::Name() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::VisualTransition>) consume_Windows_UI_Xaml_IVisualStateGroup<D>::Transitions() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateGroup<D>::Transitions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateGroup)->get_Transitions(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::VisualTransition>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::VisualState>) consume_Windows_UI_Xaml_IVisualStateGroup<D>::States() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateGroup<D>::States() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateGroup)->get_States(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::VisualState>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualState) consume_Windows_UI_Xaml_IVisualStateGroup<D>::CurrentState() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateGroup<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IVisualStateGroup<D>::CurrentStateChanged(winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateGroup<D>::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 D> typename consume_Windows_UI_Xaml_IVisualStateGroup<D>::CurrentStateChanged_revoker consume_Windows_UI_Xaml_IVisualStateGroup<D>::CurrentStateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateGroup<D>::CurrentStateChanged(auto_revoke_t, winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, CurrentStateChanged_revoker>(this, CurrentStateChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualStateGroup<D>::CurrentStateChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateGroup<D>::CurrentStateChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateGroup)->remove_CurrentStateChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IVisualStateGroup<D>::CurrentStateChanging(winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateGroup<D>::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 D> typename consume_Windows_UI_Xaml_IVisualStateGroup<D>::CurrentStateChanging_revoker consume_Windows_UI_Xaml_IVisualStateGroup<D>::CurrentStateChanging(auto_revoke_t, winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateGroup<D>::CurrentStateChanging(auto_revoke_t, winrt::Windows::UI::Xaml::VisualStateChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, CurrentStateChanging_revoker>(this, CurrentStateChanging(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualStateGroup<D>::CurrentStateChanging(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateGroup<D>::CurrentStateChanging(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualStateGroup)->remove_CurrentStateChanging(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualStateManager) consume_Windows_UI_Xaml_IVisualStateManagerFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateManagerFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IVisualStateManagerOverrides<D>::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 <typename D> auto consume_Windows_UI_Xaml_IVisualStateManagerOverrides<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualStateManagerProtected<D>::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 <typename D> auto consume_Windows_UI_Xaml_IVisualStateManagerProtected<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualStateManagerProtected<D>::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 <typename D> auto consume_Windows_UI_Xaml_IVisualStateManagerProtected<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::VisualStateGroup>) consume_Windows_UI_Xaml_IVisualStateManagerStatics<D>::GetVisualStateGroups(winrt::Windows::UI::Xaml::FrameworkElement const& obj) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateManagerStatics<D>::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<winrt::Windows::UI::Xaml::VisualStateGroup>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_IVisualStateManagerStatics<D>::CustomVisualStateManagerProperty() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualStateManager) consume_Windows_UI_Xaml_IVisualStateManagerStatics<D>::GetCustomVisualStateManager(winrt::Windows::UI::Xaml::FrameworkElement const& obj) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualStateManagerStatics<D>::SetCustomVisualStateManager(winrt::Windows::UI::Xaml::FrameworkElement const& obj, winrt::Windows::UI::Xaml::VisualStateManager const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IVisualStateManagerStatics<D>::GoToState(winrt::Windows::UI::Xaml::Controls::Control const& control, param::hstring const& stateName, bool useTransitions) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualStateManagerStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Duration) consume_Windows_UI_Xaml_IVisualTransition<D>::GeneratedDuration() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualTransition<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualTransition<D>::GeneratedDuration(winrt::Windows::UI::Xaml::Duration const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualTransition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase) consume_Windows_UI_Xaml_IVisualTransition<D>::GeneratedEasingFunction() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualTransition<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualTransition<D>::GeneratedEasingFunction(winrt::Windows::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualTransition<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IVisualTransition<D>::To() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualTransition<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualTransition<D>::To(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualTransition<D>::To(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualTransition)->put_To(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_IVisualTransition<D>::From() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualTransition<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualTransition<D>::From(param::hstring const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualTransition<D>::From(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IVisualTransition)->put_From(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Media::Animation::Storyboard) consume_Windows_UI_Xaml_IVisualTransition<D>::Storyboard() const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualTransition<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IVisualTransition<D>::Storyboard(winrt::Windows::UI::Xaml::Media::Animation::Storyboard const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualTransition<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::VisualTransition) consume_Windows_UI_Xaml_IVisualTransitionFactory<D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const
+ template <typename D> auto consume_Windows_UI_Xaml_IVisualTransitionFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_IWindow<D>::Bounds() const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IWindow<D>::Visible() const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::Visible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->get_Visible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_IWindow<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IWindow<D>::Content(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::Content(winrt::Windows::UI::Xaml::UIElement const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->put_Content(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindow) consume_Windows_UI_Xaml_IWindow<D>::CoreWindow() const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) consume_Windows_UI_Xaml_IWindow<D>::Dispatcher() const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IWindow<D>::Activated(winrt::Windows::UI::Xaml::WindowActivatedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::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 D> typename consume_Windows_UI_Xaml_IWindow<D>::Activated_revoker consume_Windows_UI_Xaml_IWindow<D>::Activated(auto_revoke_t, winrt::Windows::UI::Xaml::WindowActivatedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::Activated(auto_revoke_t, winrt::Windows::UI::Xaml::WindowActivatedEventHandler const& handler) const
{
return impl::make_event_revoker<D, Activated_revoker>(this, Activated(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IWindow<D>::Activated(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::Activated(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->remove_Activated(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IWindow<D>::Closed(winrt::Windows::UI::Xaml::WindowClosedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::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 D> typename consume_Windows_UI_Xaml_IWindow<D>::Closed_revoker consume_Windows_UI_Xaml_IWindow<D>::Closed(auto_revoke_t, winrt::Windows::UI::Xaml::WindowClosedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::Closed(auto_revoke_t, winrt::Windows::UI::Xaml::WindowClosedEventHandler const& handler) const
{
return impl::make_event_revoker<D, Closed_revoker>(this, Closed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IWindow<D>::Closed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::Closed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->remove_Closed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IWindow<D>::SizeChanged(winrt::Windows::UI::Xaml::WindowSizeChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::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 D> typename consume_Windows_UI_Xaml_IWindow<D>::SizeChanged_revoker consume_Windows_UI_Xaml_IWindow<D>::SizeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::WindowSizeChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::SizeChanged(auto_revoke_t, winrt::Windows::UI::Xaml::WindowSizeChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, SizeChanged_revoker>(this, SizeChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IWindow<D>::SizeChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::SizeChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->remove_SizeChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IWindow<D>::VisibilityChanged(winrt::Windows::UI::Xaml::WindowVisibilityChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::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 D> typename consume_Windows_UI_Xaml_IWindow<D>::VisibilityChanged_revoker consume_Windows_UI_Xaml_IWindow<D>::VisibilityChanged(auto_revoke_t, winrt::Windows::UI::Xaml::WindowVisibilityChangedEventHandler const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::VisibilityChanged(auto_revoke_t, winrt::Windows::UI::Xaml::WindowVisibilityChangedEventHandler const& handler) const
{
return impl::make_event_revoker<D, VisibilityChanged_revoker>(this, VisibilityChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IWindow<D>::VisibilityChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::VisibilityChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->remove_VisibilityChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IWindow<D>::Activate() const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::Activate() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->Activate());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IWindow<D>::Close() const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow<D>::Close() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow)->Close());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IWindow2<D>::SetTitleBar(winrt::Windows::UI::Xaml::UIElement const& value) const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow2<D>::SetTitleBar(winrt::Windows::UI::Xaml::UIElement const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IWindow2)->SetTitleBar(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Compositor) consume_Windows_UI_Xaml_IWindow3<D>::Compositor() const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow3<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) consume_Windows_UI_Xaml_IWindow4<D>::UIContext() const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindow4<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Window) consume_Windows_UI_Xaml_IWindowCreatedEventArgs<D>::Window() const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindowCreatedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Window) consume_Windows_UI_Xaml_IWindowStatics<D>::Current() const
+ template <typename D> auto consume_Windows_UI_Xaml_IWindowStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_IXamlRoot<D>::Content() const
+ template <typename D> auto consume_Windows_UI_Xaml_IXamlRoot<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) consume_Windows_UI_Xaml_IXamlRoot<D>::Size() const
+ template <typename D> auto consume_Windows_UI_Xaml_IXamlRoot<D>::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 <typename D> WINRT_IMPL_AUTO(double) consume_Windows_UI_Xaml_IXamlRoot<D>::RasterizationScale() const
+ template <typename D> auto consume_Windows_UI_Xaml_IXamlRoot<D>::RasterizationScale() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IXamlRoot)->get_RasterizationScale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_IXamlRoot<D>::IsHostVisible() const
+ template <typename D> auto consume_Windows_UI_Xaml_IXamlRoot<D>::IsHostVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::IXamlRoot)->get_IsHostVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) consume_Windows_UI_Xaml_IXamlRoot<D>::UIContext() const
+ template <typename D> auto consume_Windows_UI_Xaml_IXamlRoot<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_UI_Xaml_IXamlRoot<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::XamlRoot, winrt::Windows::UI::Xaml::XamlRootChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IXamlRoot<D>::Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::XamlRoot, winrt::Windows::UI::Xaml::XamlRootChangedEventArgs> 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 D> typename consume_Windows_UI_Xaml_IXamlRoot<D>::Changed_revoker consume_Windows_UI_Xaml_IXamlRoot<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::XamlRoot, winrt::Windows::UI::Xaml::XamlRootChangedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_UI_Xaml_IXamlRoot<D>::Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::XamlRoot, winrt::Windows::UI::Xaml::XamlRootChangedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, Changed_revoker>(this, Changed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_IXamlRoot<D>::Changed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_UI_Xaml_IXamlRoot<D>::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<WindowVisibilityChangedEventHandler>**)this)->Invoke(*(void**)(&sender), *(void**)(&e)));
}
- template <typename D> WINRT_IMPL_AUTO(void) IApplicationOverridesT<D>::OnActivated(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& args) const
+ template <typename D> auto IApplicationOverridesT<D>::OnActivated(winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs const& args) const
{
return shim().template try_as<IApplicationOverrides>().OnActivated(args);
}
- template <typename D> WINRT_IMPL_AUTO(void) IApplicationOverridesT<D>::OnLaunched(winrt::Windows::ApplicationModel::Activation::LaunchActivatedEventArgs const& args) const
+ template <typename D> auto IApplicationOverridesT<D>::OnLaunched(winrt::Windows::ApplicationModel::Activation::LaunchActivatedEventArgs const& args) const
{
return shim().template try_as<IApplicationOverrides>().OnLaunched(args);
}
- template <typename D> WINRT_IMPL_AUTO(void) IApplicationOverridesT<D>::OnFileActivated(winrt::Windows::ApplicationModel::Activation::FileActivatedEventArgs const& args) const
+ template <typename D> auto IApplicationOverridesT<D>::OnFileActivated(winrt::Windows::ApplicationModel::Activation::FileActivatedEventArgs const& args) const
{
return shim().template try_as<IApplicationOverrides>().OnFileActivated(args);
}
- template <typename D> WINRT_IMPL_AUTO(void) IApplicationOverridesT<D>::OnSearchActivated(winrt::Windows::ApplicationModel::Activation::SearchActivatedEventArgs const& args) const
+ template <typename D> auto IApplicationOverridesT<D>::OnSearchActivated(winrt::Windows::ApplicationModel::Activation::SearchActivatedEventArgs const& args) const
{
return shim().template try_as<IApplicationOverrides>().OnSearchActivated(args);
}
- template <typename D> WINRT_IMPL_AUTO(void) IApplicationOverridesT<D>::OnShareTargetActivated(winrt::Windows::ApplicationModel::Activation::ShareTargetActivatedEventArgs const& args) const
+ template <typename D> auto IApplicationOverridesT<D>::OnShareTargetActivated(winrt::Windows::ApplicationModel::Activation::ShareTargetActivatedEventArgs const& args) const
{
return shim().template try_as<IApplicationOverrides>().OnShareTargetActivated(args);
}
- template <typename D> WINRT_IMPL_AUTO(void) IApplicationOverridesT<D>::OnFileOpenPickerActivated(winrt::Windows::ApplicationModel::Activation::FileOpenPickerActivatedEventArgs const& args) const
+ template <typename D> auto IApplicationOverridesT<D>::OnFileOpenPickerActivated(winrt::Windows::ApplicationModel::Activation::FileOpenPickerActivatedEventArgs const& args) const
{
return shim().template try_as<IApplicationOverrides>().OnFileOpenPickerActivated(args);
}
- template <typename D> WINRT_IMPL_AUTO(void) IApplicationOverridesT<D>::OnFileSavePickerActivated(winrt::Windows::ApplicationModel::Activation::FileSavePickerActivatedEventArgs const& args) const
+ template <typename D> auto IApplicationOverridesT<D>::OnFileSavePickerActivated(winrt::Windows::ApplicationModel::Activation::FileSavePickerActivatedEventArgs const& args) const
{
return shim().template try_as<IApplicationOverrides>().OnFileSavePickerActivated(args);
}
- template <typename D> WINRT_IMPL_AUTO(void) IApplicationOverridesT<D>::OnCachedFileUpdaterActivated(winrt::Windows::ApplicationModel::Activation::CachedFileUpdaterActivatedEventArgs const& args) const
+ template <typename D> auto IApplicationOverridesT<D>::OnCachedFileUpdaterActivated(winrt::Windows::ApplicationModel::Activation::CachedFileUpdaterActivatedEventArgs const& args) const
{
return shim().template try_as<IApplicationOverrides>().OnCachedFileUpdaterActivated(args);
}
- template <typename D> WINRT_IMPL_AUTO(void) IApplicationOverridesT<D>::OnWindowCreated(winrt::Windows::UI::Xaml::WindowCreatedEventArgs const& args) const
+ template <typename D> auto IApplicationOverridesT<D>::OnWindowCreated(winrt::Windows::UI::Xaml::WindowCreatedEventArgs const& args) const
{
return shim().template try_as<IApplicationOverrides>().OnWindowCreated(args);
}
- template <typename D> WINRT_IMPL_AUTO(void) IApplicationOverrides2T<D>::OnBackgroundActivated(winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs const& args) const
+ template <typename D> auto IApplicationOverrides2T<D>::OnBackgroundActivated(winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs const& args) const
{
return shim().template try_as<IApplicationOverrides2>().OnBackgroundActivated(args);
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) IFrameworkElementOverridesT<D>::MeasureOverride(winrt::Windows::Foundation::Size const& availableSize) const
+ template <typename D> auto IFrameworkElementOverridesT<D>::MeasureOverride(winrt::Windows::Foundation::Size const& availableSize) const
{
return shim().template try_as<IFrameworkElementOverrides>().MeasureOverride(availableSize);
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) IFrameworkElementOverridesT<D>::ArrangeOverride(winrt::Windows::Foundation::Size const& finalSize) const
+ template <typename D> auto IFrameworkElementOverridesT<D>::ArrangeOverride(winrt::Windows::Foundation::Size const& finalSize) const
{
return shim().template try_as<IFrameworkElementOverrides>().ArrangeOverride(finalSize);
}
- template <typename D> WINRT_IMPL_AUTO(void) IFrameworkElementOverridesT<D>::OnApplyTemplate() const
+ template <typename D> auto IFrameworkElementOverridesT<D>::OnApplyTemplate() const
{
return shim().template try_as<IFrameworkElementOverrides>().OnApplyTemplate();
}
- template <typename D> WINRT_IMPL_AUTO(bool) IFrameworkElementOverrides2T<D>::GoToElementStateCore(param::hstring const& stateName, bool useTransitions) const
+ template <typename D> auto IFrameworkElementOverrides2T<D>::GoToElementStateCore(param::hstring const& stateName, bool useTransitions) const
{
return shim().template try_as<IFrameworkElementOverrides2>().GoToElementStateCore(stateName, useTransitions);
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) IUIElementOverridesT<D>::OnCreateAutomationPeer() const
+ template <typename D> auto IUIElementOverridesT<D>::OnCreateAutomationPeer() const
{
return shim().template try_as<IUIElementOverrides>().OnCreateAutomationPeer();
}
- template <typename D> WINRT_IMPL_AUTO(void) IUIElementOverridesT<D>::OnDisconnectVisualChildren() const
+ template <typename D> auto IUIElementOverridesT<D>::OnDisconnectVisualChildren() const
{
return shim().template try_as<IUIElementOverrides>().OnDisconnectVisualChildren();
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::Foundation::Point>>) IUIElementOverridesT<D>::FindSubElementsForTouchTargeting(winrt::Windows::Foundation::Point const& point, winrt::Windows::Foundation::Rect const& boundingRect) const
+ template <typename D> auto IUIElementOverridesT<D>::FindSubElementsForTouchTargeting(winrt::Windows::Foundation::Point const& point, winrt::Windows::Foundation::Rect const& boundingRect) const
{
return shim().template try_as<IUIElementOverrides>().FindSubElementsForTouchTargeting(point, boundingRect);
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::DependencyObject>) IUIElementOverrides7T<D>::GetChildrenInTabFocusOrder() const
+ template <typename D> auto IUIElementOverrides7T<D>::GetChildrenInTabFocusOrder() const
{
return shim().template try_as<IUIElementOverrides7>().GetChildrenInTabFocusOrder();
}
- template <typename D> WINRT_IMPL_AUTO(void) IUIElementOverrides7T<D>::OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const
+ template <typename D> auto IUIElementOverrides7T<D>::OnProcessKeyboardAccelerators(winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs const& args) const
{
return shim().template try_as<IUIElementOverrides7>().OnProcessKeyboardAccelerators(args);
}
- template <typename D> WINRT_IMPL_AUTO(void) IUIElementOverrides8T<D>::OnKeyboardAcceleratorInvoked(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs const& args) const
+ template <typename D> auto IUIElementOverrides8T<D>::OnKeyboardAcceleratorInvoked(winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs const& args) const
{
return shim().template try_as<IUIElementOverrides8>().OnKeyboardAcceleratorInvoked(args);
}
- template <typename D> WINRT_IMPL_AUTO(void) IUIElementOverrides8T<D>::OnBringIntoViewRequested(winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs const& e) const
+ template <typename D> auto IUIElementOverrides8T<D>::OnBringIntoViewRequested(winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs const& e) const
{
return shim().template try_as<IUIElementOverrides8>().OnBringIntoViewRequested(e);
}
- template <typename D> WINRT_IMPL_AUTO(void) IUIElementOverrides9T<D>::PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const
+ template <typename D> auto IUIElementOverrides9T<D>::PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const
{
return shim().template try_as<IUIElementOverrides9>().PopulatePropertyInfoOverride(propertyName, animationPropertyInfo);
}
- template <typename D> WINRT_IMPL_AUTO(bool) IVisualStateManagerOverridesT<D>::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 <typename D> auto IVisualStateManagerOverridesT<D>::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<IVisualStateManagerOverrides>().GoToStateCore(control, templateRoot, stateName, group, state, useTransitions);
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.h
index 67082295bfb..0d0a03b4b6b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.UI.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorHelperStatics<D>::FromArgb(uint8_t a, uint8_t r, uint8_t g, uint8_t b) const
+ template <typename D> auto consume_Windows_UI_IColorHelperStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_UI_IColorHelperStatics2<D>::ToDisplayName(winrt::Windows::UI::Color const& color) const
+ template <typename D> auto consume_Windows_UI_IColorHelperStatics2<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::AliceBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::AliceBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_AliceBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::AntiqueWhite() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::AntiqueWhite() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_AntiqueWhite(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Aqua() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Aqua() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Aqua(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Aquamarine() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Aquamarine() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Aquamarine(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Azure() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Azure() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Azure(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Beige() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Beige() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Beige(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Bisque() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Bisque() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Bisque(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Black() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Black() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Black(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::BlanchedAlmond() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::BlanchedAlmond() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_BlanchedAlmond(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Blue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Blue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Blue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::BlueViolet() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::BlueViolet() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_BlueViolet(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Brown() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Brown() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Brown(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::BurlyWood() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::BurlyWood() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_BurlyWood(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::CadetBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::CadetBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_CadetBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Chartreuse() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Chartreuse() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Chartreuse(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Chocolate() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Chocolate() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Chocolate(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Coral() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Coral() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Coral(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::CornflowerBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::CornflowerBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_CornflowerBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Cornsilk() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Cornsilk() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Cornsilk(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Crimson() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Crimson() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Crimson(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Cyan() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Cyan() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Cyan(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DarkBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DarkBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DarkCyan() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DarkCyan() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkCyan(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DarkGoldenrod() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DarkGoldenrod() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkGoldenrod(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DarkGray() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DarkGray() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkGray(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DarkGreen() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DarkGreen() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkGreen(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DarkKhaki() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DarkKhaki() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkKhaki(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DarkMagenta() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DarkMagenta() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkMagenta(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DarkOliveGreen() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DarkOliveGreen() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkOliveGreen(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DarkOrange() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DarkOrange() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkOrange(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DarkOrchid() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DarkOrchid() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkOrchid(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DarkRed() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DarkRed() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkRed(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DarkSalmon() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DarkSalmon() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkSalmon(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DarkSeaGreen() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DarkSeaGreen() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkSeaGreen(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DarkSlateBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DarkSlateBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkSlateBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DarkSlateGray() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DarkSlateGray() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkSlateGray(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DarkTurquoise() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DarkTurquoise() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkTurquoise(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DarkViolet() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DarkViolet() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DarkViolet(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DeepPink() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DeepPink() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DeepPink(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DeepSkyBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DeepSkyBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DeepSkyBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DimGray() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DimGray() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DimGray(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::DodgerBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::DodgerBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_DodgerBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Firebrick() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Firebrick() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Firebrick(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::FloralWhite() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::FloralWhite() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_FloralWhite(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::ForestGreen() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::ForestGreen() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_ForestGreen(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Fuchsia() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Fuchsia() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Fuchsia(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Gainsboro() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Gainsboro() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Gainsboro(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::GhostWhite() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::GhostWhite() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_GhostWhite(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Gold() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Gold() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Gold(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Goldenrod() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Goldenrod() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Goldenrod(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Gray() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Gray() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Gray(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Green() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Green() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Green(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::GreenYellow() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::GreenYellow() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_GreenYellow(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Honeydew() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Honeydew() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Honeydew(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::HotPink() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::HotPink() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_HotPink(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::IndianRed() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::IndianRed() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_IndianRed(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Indigo() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Indigo() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Indigo(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Ivory() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Ivory() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Ivory(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Khaki() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Khaki() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Khaki(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Lavender() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Lavender() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Lavender(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::LavenderBlush() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::LavenderBlush() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LavenderBlush(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::LawnGreen() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::LawnGreen() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LawnGreen(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::LemonChiffon() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::LemonChiffon() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LemonChiffon(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::LightBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::LightBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::LightCoral() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::LightCoral() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightCoral(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::LightCyan() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::LightCyan() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightCyan(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::LightGoldenrodYellow() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::LightGoldenrodYellow() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightGoldenrodYellow(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::LightGreen() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::LightGreen() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightGreen(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::LightGray() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::LightGray() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightGray(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::LightPink() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::LightPink() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightPink(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::LightSalmon() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::LightSalmon() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightSalmon(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::LightSeaGreen() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::LightSeaGreen() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightSeaGreen(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::LightSkyBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::LightSkyBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightSkyBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::LightSlateGray() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::LightSlateGray() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightSlateGray(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::LightSteelBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::LightSteelBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightSteelBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::LightYellow() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::LightYellow() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LightYellow(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Lime() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Lime() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Lime(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::LimeGreen() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::LimeGreen() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_LimeGreen(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Linen() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Linen() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Linen(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Magenta() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Magenta() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Magenta(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Maroon() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Maroon() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Maroon(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::MediumAquamarine() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::MediumAquamarine() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumAquamarine(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::MediumBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::MediumBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::MediumOrchid() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::MediumOrchid() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumOrchid(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::MediumPurple() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::MediumPurple() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumPurple(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::MediumSeaGreen() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::MediumSeaGreen() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumSeaGreen(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::MediumSlateBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::MediumSlateBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumSlateBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::MediumSpringGreen() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::MediumSpringGreen() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumSpringGreen(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::MediumTurquoise() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::MediumTurquoise() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumTurquoise(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::MediumVioletRed() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::MediumVioletRed() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MediumVioletRed(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::MidnightBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::MidnightBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MidnightBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::MintCream() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::MintCream() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MintCream(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::MistyRose() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::MistyRose() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_MistyRose(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Moccasin() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Moccasin() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Moccasin(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::NavajoWhite() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::NavajoWhite() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_NavajoWhite(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Navy() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Navy() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Navy(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::OldLace() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::OldLace() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_OldLace(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Olive() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Olive() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Olive(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::OliveDrab() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::OliveDrab() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_OliveDrab(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Orange() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Orange() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Orange(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::OrangeRed() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::OrangeRed() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_OrangeRed(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Orchid() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Orchid() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Orchid(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::PaleGoldenrod() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::PaleGoldenrod() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_PaleGoldenrod(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::PaleGreen() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::PaleGreen() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_PaleGreen(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::PaleTurquoise() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::PaleTurquoise() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_PaleTurquoise(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::PaleVioletRed() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::PaleVioletRed() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_PaleVioletRed(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::PapayaWhip() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::PapayaWhip() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_PapayaWhip(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::PeachPuff() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::PeachPuff() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_PeachPuff(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Peru() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Peru() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Peru(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Pink() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Pink() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Pink(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Plum() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Plum() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Plum(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::PowderBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::PowderBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_PowderBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Purple() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Purple() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Purple(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Red() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Red() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Red(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::RosyBrown() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::RosyBrown() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_RosyBrown(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::RoyalBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::RoyalBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_RoyalBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::SaddleBrown() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::SaddleBrown() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SaddleBrown(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Salmon() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Salmon() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Salmon(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::SandyBrown() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::SandyBrown() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SandyBrown(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::SeaGreen() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::SeaGreen() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SeaGreen(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::SeaShell() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::SeaShell() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SeaShell(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Sienna() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Sienna() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Sienna(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Silver() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Silver() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Silver(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::SkyBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::SkyBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SkyBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::SlateBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::SlateBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SlateBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::SlateGray() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::SlateGray() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SlateGray(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Snow() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Snow() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Snow(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::SpringGreen() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::SpringGreen() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SpringGreen(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::SteelBlue() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::SteelBlue() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_SteelBlue(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Tan() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Tan() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Tan(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Teal() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Teal() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Teal(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Thistle() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Thistle() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Thistle(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Tomato() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Tomato() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Tomato(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Transparent() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Transparent() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Transparent(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Turquoise() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Turquoise() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Turquoise(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Violet() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Violet() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Violet(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Wheat() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Wheat() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Wheat(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::White() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::White() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_White(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::WhiteSmoke() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::WhiteSmoke() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_WhiteSmoke(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::Yellow() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::Yellow() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_Yellow(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_UI_IColorsStatics<D>::YellowGreen() const
+ template <typename D> auto consume_Windows_UI_IColorsStatics<D>::YellowGreen() const
{
winrt::Windows::UI::Color value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IColorsStatics)->get_YellowGreen(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) consume_Windows_UI_IUIContentRoot<D>::UIContext() const
+ template <typename D> auto consume_Windows_UI_IUIContentRoot<D>::UIContext() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::IUIContentRoot)->get_UIContext(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.AtomPub.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.AtomPub.h
index 2cc0e49c507..8126927ea31 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.AtomPub.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::AtomPub::ServiceDocument, winrt::Windows::Web::Syndication::RetrievalProgress>) consume_Windows_Web_AtomPub_IAtomPubClient<D>::RetrieveServiceDocumentAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_AtomPub_IAtomPubClient<D>::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<winrt::Windows::Web::AtomPub::ServiceDocument, winrt::Windows::Web::Syndication::RetrievalProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Storage::Streams::IInputStream, winrt::Windows::Web::Syndication::RetrievalProgress>) consume_Windows_Web_AtomPub_IAtomPubClient<D>::RetrieveMediaResourceAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_AtomPub_IAtomPubClient<D>::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<winrt::Windows::Storage::Streams::IInputStream, winrt::Windows::Web::Syndication::RetrievalProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Syndication::SyndicationItem, winrt::Windows::Web::Syndication::RetrievalProgress>) consume_Windows_Web_AtomPub_IAtomPubClient<D>::RetrieveResourceAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_AtomPub_IAtomPubClient<D>::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<winrt::Windows::Web::Syndication::SyndicationItem, winrt::Windows::Web::Syndication::RetrievalProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Syndication::SyndicationItem, winrt::Windows::Web::Syndication::TransferProgress>) consume_Windows_Web_AtomPub_IAtomPubClient<D>::CreateResourceAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& description, winrt::Windows::Web::Syndication::SyndicationItem const& item) const
+ template <typename D> auto consume_Windows_Web_AtomPub_IAtomPubClient<D>::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<winrt::Windows::Web::Syndication::SyndicationItem, winrt::Windows::Web::Syndication::TransferProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Syndication::SyndicationItem, winrt::Windows::Web::Syndication::TransferProgress>) consume_Windows_Web_AtomPub_IAtomPubClient<D>::CreateMediaResourceAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& mediaType, param::hstring const& description, winrt::Windows::Storage::Streams::IInputStream const& mediaStream) const
+ template <typename D> auto consume_Windows_Web_AtomPub_IAtomPubClient<D>::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<winrt::Windows::Web::Syndication::SyndicationItem, winrt::Windows::Web::Syndication::TransferProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress<winrt::Windows::Web::Syndication::TransferProgress>) consume_Windows_Web_AtomPub_IAtomPubClient<D>::UpdateMediaResourceAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& mediaType, winrt::Windows::Storage::Streams::IInputStream const& mediaStream) const
+ template <typename D> auto consume_Windows_Web_AtomPub_IAtomPubClient<D>::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<winrt::Windows::Web::Syndication::TransferProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress<winrt::Windows::Web::Syndication::TransferProgress>) consume_Windows_Web_AtomPub_IAtomPubClient<D>::UpdateResourceAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Syndication::SyndicationItem const& item) const
+ template <typename D> auto consume_Windows_Web_AtomPub_IAtomPubClient<D>::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<winrt::Windows::Web::Syndication::TransferProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress<winrt::Windows::Web::Syndication::TransferProgress>) consume_Windows_Web_AtomPub_IAtomPubClient<D>::UpdateResourceItemAsync(winrt::Windows::Web::Syndication::SyndicationItem const& item) const
+ template <typename D> auto consume_Windows_Web_AtomPub_IAtomPubClient<D>::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<winrt::Windows::Web::Syndication::TransferProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress<winrt::Windows::Web::Syndication::TransferProgress>) consume_Windows_Web_AtomPub_IAtomPubClient<D>::DeleteResourceAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_AtomPub_IAtomPubClient<D>::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<winrt::Windows::Web::Syndication::TransferProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress<winrt::Windows::Web::Syndication::TransferProgress>) consume_Windows_Web_AtomPub_IAtomPubClient<D>::DeleteResourceItemAsync(winrt::Windows::Web::Syndication::SyndicationItem const& item) const
+ template <typename D> auto consume_Windows_Web_AtomPub_IAtomPubClient<D>::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<winrt::Windows::Web::Syndication::TransferProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_AtomPub_IAtomPubClient<D>::CancelAsyncOperations() const
+ template <typename D> auto consume_Windows_Web_AtomPub_IAtomPubClient<D>::CancelAsyncOperations() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IAtomPubClient)->CancelAsyncOperations());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::AtomPub::AtomPubClient) consume_Windows_Web_AtomPub_IAtomPubClientFactory<D>::CreateAtomPubClientWithCredentials(winrt::Windows::Security::Credentials::PasswordCredential const& serverCredential) const
+ template <typename D> auto consume_Windows_Web_AtomPub_IAtomPubClientFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) consume_Windows_Web_AtomPub_IResourceCollection<D>::Title() const
+ template <typename D> auto consume_Windows_Web_AtomPub_IResourceCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_AtomPub_IResourceCollection<D>::Uri() const
+ template <typename D> auto consume_Windows_Web_AtomPub_IResourceCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Web::Syndication::SyndicationCategory>) consume_Windows_Web_AtomPub_IResourceCollection<D>::Categories() const
+ template <typename D> auto consume_Windows_Web_AtomPub_IResourceCollection<D>::Categories() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IResourceCollection)->get_Categories(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Web::Syndication::SyndicationCategory>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) consume_Windows_Web_AtomPub_IResourceCollection<D>::Accepts() const
+ template <typename D> auto consume_Windows_Web_AtomPub_IResourceCollection<D>::Accepts() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IResourceCollection)->get_Accepts(&value));
return winrt::Windows::Foundation::Collections::IVectorView<hstring>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Web::AtomPub::Workspace>) consume_Windows_Web_AtomPub_IServiceDocument<D>::Workspaces() const
+ template <typename D> auto consume_Windows_Web_AtomPub_IServiceDocument<D>::Workspaces() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IServiceDocument)->get_Workspaces(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Web::AtomPub::Workspace>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) consume_Windows_Web_AtomPub_IWorkspace<D>::Title() const
+ template <typename D> auto consume_Windows_Web_AtomPub_IWorkspace<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Web::AtomPub::ResourceCollection>) consume_Windows_Web_AtomPub_IWorkspace<D>::Collections() const
+ template <typename D> auto consume_Windows_Web_AtomPub_IWorkspace<D>::Collections() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::AtomPub::IWorkspace)->get_Collections(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Diagnostics.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Diagnostics.h
index 89d69f20ded..34e597e6cd4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Diagnostics.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::Start() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::Start() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider)->Start());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::Stop() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::RequestSent(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::RequestSent(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs> 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 D> typename consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::RequestSent_revoker consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::RequestSent(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::RequestSent(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RequestSent_revoker>(this, RequestSent(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::RequestSent(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::RequestSent(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider)->remove_RequestSent(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::ResponseReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderResponseReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::ResponseReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderResponseReceivedEventArgs> 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 D> typename consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::ResponseReceived_revoker consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::ResponseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderResponseReceivedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::ResponseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderResponseReceivedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ResponseReceived_revoker>(this, ResponseReceived(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::ResponseReceived(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::ResponseReceived(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider)->remove_ResponseReceived(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::RequestResponseCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::RequestResponseCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs> 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 D> typename consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::RequestResponseCompleted_revoker consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::RequestResponseCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::RequestResponseCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, RequestResponseCompleted_revoker>(this, RequestResponseCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::RequestResponseCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProvider<D>::RequestResponseCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider)->remove_RequestResponseCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs<D>::ActivityId() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs<D>::ActivityId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseCompletedEventArgs)->get_ActivityId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseTimestamps) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs<D>::Timestamps() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs<D>::RequestedUri() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs<D>::ProcessId() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs<D>::ProcessId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseCompletedEventArgs)->get_ProcessId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs<D>::ThreadId() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs<D>::ThreadId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseCompletedEventArgs)->get_ThreadId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticRequestInitiator) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs<D>::Initiator() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs<D>::Initiator() const
{
winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticRequestInitiator value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseCompletedEventArgs)->get_Initiator(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticSourceLocation>) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs<D>::SourceLocations() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseCompletedEventArgs<D>::SourceLocations() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseCompletedEventArgs)->get_SourceLocations(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticSourceLocation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::CacheCheckedTimestamp() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::CacheCheckedTimestamp() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_CacheCheckedTimestamp(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::ConnectionInitiatedTimestamp() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::ConnectionInitiatedTimestamp() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_ConnectionInitiatedTimestamp(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::NameResolvedTimestamp() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::NameResolvedTimestamp() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_NameResolvedTimestamp(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::SslNegotiatedTimestamp() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::SslNegotiatedTimestamp() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_SslNegotiatedTimestamp(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::ConnectionCompletedTimestamp() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::ConnectionCompletedTimestamp() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_ConnectionCompletedTimestamp(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::RequestSentTimestamp() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::RequestSentTimestamp() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_RequestSentTimestamp(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::RequestCompletedTimestamp() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::RequestCompletedTimestamp() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_RequestCompletedTimestamp(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::ResponseReceivedTimestamp() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::ResponseReceivedTimestamp() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_ResponseReceivedTimestamp(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::ResponseCompletedTimestamp() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps<D>::ResponseCompletedTimestamp() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps)->get_ResponseCompletedTimestamp(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs<D>::ActivityId() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs<D>::ActivityId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestSentEventArgs)->get_ActivityId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs<D>::Message() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs<D>::ProcessId() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs<D>::ProcessId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestSentEventArgs)->get_ProcessId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs<D>::ThreadId() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs<D>::ThreadId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestSentEventArgs)->get_ThreadId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticRequestInitiator) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs<D>::Initiator() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs<D>::Initiator() const
{
winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticRequestInitiator value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestSentEventArgs)->get_Initiator(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticSourceLocation>) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs<D>::SourceLocations() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestSentEventArgs<D>::SourceLocations() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestSentEventArgs)->get_SourceLocations(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticSourceLocation>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderResponseReceivedEventArgs<D>::Timestamp() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderResponseReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::guid) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderResponseReceivedEventArgs<D>::ActivityId() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderResponseReceivedEventArgs<D>::ActivityId() const
{
winrt::guid value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderResponseReceivedEventArgs)->get_ActivityId(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderResponseReceivedEventArgs<D>::Message() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderResponseReceivedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderStatics<D>::CreateFromProcessDiagnosticInfo(winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo const& processDiagnosticInfo) const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticSourceLocation<D>::SourceUri() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticSourceLocation<D>::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 <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticSourceLocation<D>::LineNumber() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticSourceLocation<D>::LineNumber() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticSourceLocation)->get_LineNumber(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint64_t) consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticSourceLocation<D>::ColumnNumber() const
+ template <typename D> auto consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticSourceLocation<D>::ColumnNumber() const
{
uint64_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticSourceLocation)->get_ColumnNumber(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Filters.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Filters.h
index f5d95941235..0b576b0d58d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Filters.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::AllowAutoRedirect() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::AllowAutoRedirect() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->get_AllowAutoRedirect(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::AllowAutoRedirect(bool value) const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::AllowAutoRedirect(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->put_AllowAutoRedirect(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::AllowUI() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::AllowUI() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->get_AllowUI(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::AllowUI(bool value) const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::AllowUI(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->put_AllowUI(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::AutomaticDecompression() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::AutomaticDecompression() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->get_AutomaticDecompression(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::AutomaticDecompression(bool value) const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::AutomaticDecompression(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->put_AutomaticDecompression(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Filters::HttpCacheControl) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::CacheControl() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpCookieManager) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::CookieManager() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::ClientCertificate() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::ClientCertificate(winrt::Windows::Security::Cryptography::Certificates::Certificate const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::IgnorableServerCertificateErrors() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::IgnorableServerCertificateErrors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->get_IgnorableServerCertificateErrors(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::MaxConnectionsPerServer() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::MaxConnectionsPerServer() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->get_MaxConnectionsPerServer(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::MaxConnectionsPerServer(uint32_t value) const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::MaxConnectionsPerServer(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->put_MaxConnectionsPerServer(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::ProxyCredential() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::ServerCredential() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::UseProxy() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::UseProxy() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->get_UseProxy(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::UseProxy(bool value) const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter<D>::UseProxy(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter)->put_UseProxy(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpVersion) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter2<D>::MaxVersion() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter2<D>::MaxVersion() const
{
winrt::Windows::Web::Http::HttpVersion value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter2)->get_MaxVersion(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter2<D>::MaxVersion(winrt::Windows::Web::Http::HttpVersion const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter2<D>::MaxVersion(winrt::Windows::Web::Http::HttpVersion const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter2)->put_MaxVersion(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Filters::HttpCookieUsageBehavior) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter3<D>::CookieUsageBehavior() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter3<D>::CookieUsageBehavior() const
{
winrt::Windows::Web::Http::Filters::HttpCookieUsageBehavior value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter3)->get_CookieUsageBehavior(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter3<D>::CookieUsageBehavior(winrt::Windows::Web::Http::Filters::HttpCookieUsageBehavior const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter3<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4<D>::ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Filters::HttpBaseProtocolFilter, winrt::Windows::Web::Http::Filters::HttpServerCustomValidationRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4<D>::ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Filters::HttpBaseProtocolFilter, winrt::Windows::Web::Http::Filters::HttpServerCustomValidationRequestedEventArgs> 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 D> typename consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4<D>::ServerCustomValidationRequested_revoker consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4<D>::ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Filters::HttpBaseProtocolFilter, winrt::Windows::Web::Http::Filters::HttpServerCustomValidationRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4<D>::ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Filters::HttpBaseProtocolFilter, winrt::Windows::Web::Http::Filters::HttpServerCustomValidationRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ServerCustomValidationRequested_revoker>(this, ServerCustomValidationRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4<D>::ServerCustomValidationRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4<D>::ServerCustomValidationRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter4)->remove_ServerCustomValidationRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4<D>::ClearAuthenticationCache() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4<D>::ClearAuthenticationCache() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter4)->ClearAuthenticationCache());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::User) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter5<D>::User() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter5<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Filters::HttpBaseProtocolFilter) consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilterStatics<D>::CreateForUser(winrt::Windows::System::User const& user) const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilterStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Filters::HttpCacheReadBehavior) consume_Windows_Web_Http_Filters_IHttpCacheControl<D>::ReadBehavior() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpCacheControl<D>::ReadBehavior() const
{
winrt::Windows::Web::Http::Filters::HttpCacheReadBehavior value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpCacheControl)->get_ReadBehavior(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpCacheControl<D>::ReadBehavior(winrt::Windows::Web::Http::Filters::HttpCacheReadBehavior const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpCacheControl<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Filters::HttpCacheWriteBehavior) consume_Windows_Web_Http_Filters_IHttpCacheControl<D>::WriteBehavior() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpCacheControl<D>::WriteBehavior() const
{
winrt::Windows::Web::Http::Filters::HttpCacheWriteBehavior value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpCacheControl)->get_WriteBehavior(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpCacheControl<D>::WriteBehavior(winrt::Windows::Web::Http::Filters::HttpCacheWriteBehavior const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpCacheControl<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_Filters_IHttpFilter<D>::SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpFilter<D>::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<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs<D>::RequestMessage() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs<D>::ServerCertificate() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs<D>::ServerCertificateErrorSeverity() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs<D>::ServerCertificateErrorSeverity() const
{
winrt::Windows::Networking::Sockets::SocketSslErrorSeverity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpServerCustomValidationRequestedEventArgs)->get_ServerCertificateErrorSeverity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs<D>::ServerCertificateErrors() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs<D>::ServerCertificateErrors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpServerCustomValidationRequestedEventArgs)->get_ServerCertificateErrors(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs<D>::ServerIntermediateCertificates() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs<D>::ServerIntermediateCertificates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpServerCustomValidationRequestedEventArgs)->get_ServerIntermediateCertificates(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs<D>::Reject() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs<D>::Reject() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpServerCustomValidationRequestedEventArgs)->Reject());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Web_Http_Filters_IHttpServerCustomValidationRequestedEventArgs<D>::GetDeferral() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Filters::IHttpServerCustomValidationRequestedEventArgs)->GetDeferral(&result));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Headers.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Headers.h
index 7c931d3c4cf..b151f0cb2af 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.Headers.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::MaxAge() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::MaxAge() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->get_MaxAge(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::MaxAge(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::MaxAge(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->put_MaxAge(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::MaxStale() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::MaxStale() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->get_MaxStale(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::MaxStale(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::MaxStale(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->put_MaxStale(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::MinFresh() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::MinFresh() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->get_MinFresh(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::MinFresh(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::MinFresh(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->put_MinFresh(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::SharedMaxAge() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::SharedMaxAge() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->get_SharedMaxAge(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::SharedMaxAge(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::SharedMaxAge(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->put_SharedMaxAge(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection)->ParseAdd(*(void**)(&input)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::TryParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValue<D>::Parameters() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValue<D>::Parameters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValue)->get_Parameters(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValue<D>::Scheme() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValue<D>::Token() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueCollection)->ParseAdd(*(void**)(&input)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueCollection<D>::TryParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueFactory<D>::CreateFromScheme(param::hstring const& scheme) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueFactory<D>::CreateFromSchemeWithToken(param::hstring const& scheme, param::hstring const& token) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValue& challengeHeaderValue) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValue<D>::Token() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValueCollection)->ParseAdd(*(void**)(&input)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueCollection<D>::TryParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue) consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueFactory<D>::Create(param::hstring const& token) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue) consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValue& connectionOptionHeaderValue) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValue<D>::ContentCoding() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValueCollection)->ParseAdd(*(void**)(&input)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueCollection<D>::TryParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueFactory<D>::Create(param::hstring const& contentCoding) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValue& contentCodingHeaderValue) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValue<D>::ContentCoding() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValue<D>::Quality() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValue<D>::Quality() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValue)->get_Quality(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueCollection)->ParseAdd(*(void**)(&input)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueCollection<D>::TryParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueFactory<D>::CreateFromValue(param::hstring const& contentCoding) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueFactory<D>::CreateFromValueWithQuality(param::hstring const& contentCoding, double quality) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValue& contentCodingWithQualityHeaderValue) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::DispositionType() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::DispositionType(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::DispositionType(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->put_DispositionType(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::FileName() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::FileName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::FileName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->put_FileName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::FileNameStar() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::FileNameStar(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::FileNameStar(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->put_FileNameStar(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::Name() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::Parameters() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::Parameters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->get_Parameters(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::Size() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::Size() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->get_Size(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::Size(winrt::Windows::Foundation::IReference<uint64_t> const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValue<D>::Size(winrt::Windows::Foundation::IReference<uint64_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue)->put_Size(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValueFactory<D>::Create(param::hstring const& dispositionType) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue& contentDispositionHeaderValue) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentDispositionHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::ContentDisposition() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::ContentDisposition(winrt::Windows::Web::Http::Headers::HttpContentDispositionHeaderValue const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::ContentEncoding() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpLanguageHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::ContentLanguage() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::ContentLength() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::ContentLength() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_ContentLength(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::ContentLength(winrt::Windows::Foundation::IReference<uint64_t> const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::ContentLength(winrt::Windows::Foundation::IReference<uint64_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_ContentLength(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::ContentLocation() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::ContentLocation(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::ContentLocation(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_ContentLocation(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::ContentMD5() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::ContentMD5(winrt::Windows::Storage::Streams::IBuffer const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::ContentRange() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::ContentRange(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::ContentType() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::ContentType(winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::Expires() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::Expires() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_Expires(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::Expires(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::Expires(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_Expires(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::LastModified() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::LastModified() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->get_LastModified(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::LastModified(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::LastModified(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection)->put_LastModified(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::Append(param::hstring const& name, param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue<D>::FirstBytePosition() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue<D>::FirstBytePosition() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValue)->get_FirstBytePosition(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue<D>::LastBytePosition() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue<D>::LastBytePosition() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValue)->get_LastBytePosition(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue<D>::Length() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue<D>::Length() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValue)->get_Length(&value));
return winrt::Windows::Foundation::IReference<uint64_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue<D>::Unit() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue<D>::Unit(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue<D>::Unit(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValue)->put_Unit(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueFactory<D>::CreateFromLength(uint64_t length) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueFactory<D>::CreateFromRange(uint64_t from, uint64_t to) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueFactory<D>::CreateFromRangeWithLength(uint64_t from, uint64_t to, uint64_t length) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpContentRangeHeaderValue& contentRangeHeaderValue) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValue<D>::Name() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValue<D>::Value() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValue<D>::Value(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValue<D>::Value(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValue)->put_Value(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueCollection)->ParseAdd(*(void**)(&input)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueCollection<D>::TryParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueFactory<D>::CreateFromName(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueFactory<D>::CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValue& cookiePairHeaderValue) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCookiePairHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>) consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValue<D>::Parameters() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValue<D>::Parameters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValue)->get_Parameters(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValue<D>::Scheme() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValue<D>::Token() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue) consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueFactory<D>::CreateFromScheme(param::hstring const& scheme) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue) consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueFactory<D>::CreateFromSchemeWithToken(param::hstring const& scheme, param::hstring const& token) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue) consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue& credentialsHeaderValue) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValue<D>::Date() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValue<D>::Date() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpDateOrDeltaHeaderValue)->get_Date(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValue<D>::Delta() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValue<D>::Delta() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpDateOrDeltaHeaderValue)->get_Delta(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue) consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue& dateOrDeltaHeaderValue) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue<D>::Name() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue<D>::Value() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue<D>::Value(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue<D>::Value(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValue)->put_Value(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue<D>::Parameters() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValue<D>::Parameters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValue)->get_Parameters(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueCollection)->ParseAdd(*(void**)(&input)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueCollection<D>::TryParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueFactory<D>::CreateFromName(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueFactory<D>::CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValue& expectationHeaderValue) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpExpectationHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpLanguageHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpLanguageHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageHeaderValueCollection)->ParseAdd(*(void**)(&input)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpLanguageHeaderValueCollection<D>::TryParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpLanguageHeaderValueCollection<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValue<D>::LanguageRange() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValue<D>::Quality() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValue<D>::Quality() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValue)->get_Quality(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueCollection)->ParseAdd(*(void**)(&input)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueCollection<D>::TryParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueFactory<D>::CreateFromLanguageRange(param::hstring const& languageRange) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueFactory<D>::CreateFromLanguageRangeWithQuality(param::hstring const& languageRange, double quality) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValue& languageRangeWithQualityHeaderValue) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue<D>::CharSet() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue<D>::CharSet(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue<D>::CharSet(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValue)->put_CharSet(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue<D>::MediaType() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue<D>::MediaType(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue<D>::MediaType(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValue)->put_MediaType(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>) consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue<D>::Parameters() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValue<D>::Parameters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValue)->get_Parameters(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue) consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValueFactory<D>::Create(param::hstring const& mediaType) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue) consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpMediaTypeHeaderValue& mediaTypeHeaderValue) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue<D>::CharSet() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue<D>::CharSet(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue<D>::CharSet(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->put_CharSet(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue<D>::MediaType() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue<D>::MediaType(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue<D>::MediaType(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->put_MediaType(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue<D>::Parameters() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue<D>::Parameters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->get_Parameters(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue<D>::Quality() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue<D>::Quality() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->get_Quality(&value));
return winrt::Windows::Foundation::IReference<double>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue<D>::Quality(winrt::Windows::Foundation::IReference<double> const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValue<D>::Quality(winrt::Windows::Foundation::IReference<double> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue)->put_Quality(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueCollection)->ParseAdd(*(void**)(&input)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueCollection<D>::TryParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueFactory<D>::CreateFromMediaType(param::hstring const& mediaType) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueFactory<D>::CreateFromMediaTypeWithQuality(param::hstring const& mediaType, double quality) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValue& mediaTypeWithQualityHeaderValue) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMediaTypeWithQualityHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpMethodHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMethodHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpMethodHeaderValueCollection)->ParseAdd(*(void**)(&input)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpMethodHeaderValueCollection<D>::TryParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpMethodHeaderValueCollection<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValue<D>::Name() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValue<D>::Value() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValue<D>::Value(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValue<D>::Value(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValue)->put_Value(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue) consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueFactory<D>::CreateFromName(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue) consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueFactory<D>::CreateFromNameWithValue(param::hstring const& name, param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue) consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue& nameValueHeaderValue) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpNameValueHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpProductHeaderValue<D>::Name() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpProductHeaderValue<D>::Version() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductHeaderValue) consume_Windows_Web_Http_Headers_IHttpProductHeaderValueFactory<D>::CreateFromName(param::hstring const& productName) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductHeaderValue) consume_Windows_Web_Http_Headers_IHttpProductHeaderValueFactory<D>::CreateFromNameWithVersion(param::hstring const& productName, param::hstring const& productVersion) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductHeaderValue) consume_Windows_Web_Http_Headers_IHttpProductHeaderValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpProductHeaderValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpProductHeaderValue& productHeaderValue) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpProductHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductHeaderValue) consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValue<D>::Product() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValue<D>::Comment() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueCollection)->ParseAdd(*(void**)(&input)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueCollection<D>::TryParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue) consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueFactory<D>::CreateFromComment(param::hstring const& productComment) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue) consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueFactory<D>::CreateFromNameWithVersion(param::hstring const& productName, param::hstring const& productVersion) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue) consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValue& productInfoHeaderValue) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpProductInfoHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMediaTypeWithQualityHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::Accept() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentCodingWithQualityHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::AcceptEncoding() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpLanguageRangeWithQualityHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::AcceptLanguage() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::Authorization() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::Authorization(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCacheDirectiveHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::CacheControl() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::Connection() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCookiePairHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::Cookie() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::Date() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::Date() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_Date(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::Date(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::Date(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_Date(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpExpectationHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::Expect() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::From() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::From(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::From(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_From(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::HostName) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::Host() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::Host(winrt::Windows::Networking::HostName const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::Host(winrt::Windows::Networking::HostName const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_Host(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::IfModifiedSince() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::IfModifiedSince() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_IfModifiedSince(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::IfModifiedSince(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::IfModifiedSince(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_IfModifiedSince(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::IfUnmodifiedSince() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::IfUnmodifiedSince() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_IfUnmodifiedSince(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::IfUnmodifiedSince(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::IfUnmodifiedSince(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_IfUnmodifiedSince(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::MaxForwards() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::MaxForwards() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->get_MaxForwards(&value));
return winrt::Windows::Foundation::IReference<uint32_t>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::MaxForwards(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::MaxForwards(winrt::Windows::Foundation::IReference<uint32_t> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_MaxForwards(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::ProxyAuthorization() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::ProxyAuthorization(winrt::Windows::Web::Http::Headers::HttpCredentialsHeaderValue const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::Referer() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::Referer(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::Referer(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection)->put_Referer(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::TransferEncoding() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpProductInfoHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::UserAgent() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::Append(param::hstring const& name, param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpRequestHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::Age() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::Age() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_Age(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::Age(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::Age(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->put_Age(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpMethodHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::Allow() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpCacheDirectiveHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::CacheControl() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpConnectionOptionHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::Connection() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::Date() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::Date() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->get_Date(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::Date(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::Date(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->put_Date(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::Location() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::Location(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::Location(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection)->put_Location(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::ProxyAuthenticate() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::RetryAfter() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::RetryAfter(winrt::Windows::Web::Http::Headers::HttpDateOrDeltaHeaderValue const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::TransferEncoding() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpChallengeHeaderValueCollection) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::WwwAuthenticate() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::Append(param::hstring const& name, param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::TryAppendWithoutValidation(param::hstring const& name, param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>) consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValue<D>::Parameters() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValue<D>::Parameters() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValue)->get_Parameters(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValue<D>::Value() const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValue<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueCollection<D>::ParseAdd(param::hstring const& input) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValueCollection)->ParseAdd(*(void**)(&input)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueCollection<D>::TryParseAdd(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueCollection<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue) consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueFactory<D>::Create(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue) consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueStatics<D>::Parse(param::hstring const& input) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueStatics<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueStatics<D>::TryParse(param::hstring const& input, winrt::Windows::Web::Http::Headers::HttpTransferCodingHeaderValue& transferCodingHeaderValue) const
+ template <typename D> auto consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValueStatics<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.h
index 50ece6278e9..ebb123ee64c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Http.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpBufferContent) consume_Windows_Web_Http_IHttpBufferContentFactory<D>::CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& content) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpBufferContentFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpBufferContent) consume_Windows_Web_Http_IHttpBufferContentFactory<D>::CreateFromBufferWithOffset(winrt::Windows::Storage::Streams::IBuffer const& content, uint32_t offset, uint32_t count) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpBufferContentFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient<D>::DeleteAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient<D>::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<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient<D>::GetAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient<D>::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<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient<D>::GetAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient<D>::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<int32_t>(completionOption), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Storage::Streams::IBuffer, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient<D>::GetBufferAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient<D>::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<winrt::Windows::Storage::Streams::IBuffer, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Storage::Streams::IInputStream, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient<D>::GetInputStreamAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient<D>::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<winrt::Windows::Storage::Streams::IInputStream, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<hstring, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient<D>::GetStringAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient<D>::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<hstring, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient<D>::PostAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient<D>::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<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient<D>::PutAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient<D>::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<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient<D>::SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient<D>::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<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient<D>::SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient<D>::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<int32_t>(completionOption), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpRequestHeaderCollection) consume_Windows_Web_Http_IHttpClient<D>::DefaultRequestHeaders() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient2<D>::TryDeleteAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient2<D>::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<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient2<D>::TryGetAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient2<D>::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<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient2<D>::TryGetAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient2<D>::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<int32_t>(completionOption), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpGetBufferResult, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient2<D>::TryGetBufferAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient2<D>::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<winrt::Windows::Web::Http::HttpGetBufferResult, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpGetInputStreamResult, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient2<D>::TryGetInputStreamAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient2<D>::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<winrt::Windows::Web::Http::HttpGetInputStreamResult, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpGetStringResult, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient2<D>::TryGetStringAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient2<D>::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<winrt::Windows::Web::Http::HttpGetStringResult, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient2<D>::TryPostAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient2<D>::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<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient2<D>::TryPutAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient2<D>::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<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient2<D>::TrySendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient2<D>::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<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>) consume_Windows_Web_Http_IHttpClient2<D>::TrySendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClient2<D>::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<int32_t>(completionOption), &operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpClient) consume_Windows_Web_Http_IHttpClientFactory<D>::Create(winrt::Windows::Web::Http::Filters::IHttpFilter const& filter) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpClientFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpContentHeaderCollection) consume_Windows_Web_Http_IHttpContent<D>::Headers() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpContent<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint64_t, uint64_t>) consume_Windows_Web_Http_IHttpContent<D>::BufferAllAsync() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpContent<D>::BufferAllAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpContent)->BufferAllAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<uint64_t, uint64_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Storage::Streams::IBuffer, uint64_t>) consume_Windows_Web_Http_IHttpContent<D>::ReadAsBufferAsync() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpContent<D>::ReadAsBufferAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpContent)->ReadAsBufferAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Storage::Streams::IBuffer, uint64_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Storage::Streams::IInputStream, uint64_t>) consume_Windows_Web_Http_IHttpContent<D>::ReadAsInputStreamAsync() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpContent<D>::ReadAsInputStreamAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpContent)->ReadAsInputStreamAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Storage::Streams::IInputStream, uint64_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<hstring, uint64_t>) consume_Windows_Web_Http_IHttpContent<D>::ReadAsStringAsync() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpContent<D>::ReadAsStringAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpContent)->ReadAsStringAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperationWithProgress<hstring, uint64_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpContent<D>::TryComputeLength(uint64_t& length) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpContent<D>::TryComputeLength(uint64_t& length) const
{
bool succeeded{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpContent)->TryComputeLength(&length, &succeeded));
return succeeded;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint64_t, uint64_t>) consume_Windows_Web_Http_IHttpContent<D>::WriteToStreamAsync(winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpContent<D>::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<uint64_t, uint64_t>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_IHttpCookie<D>::Name() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpCookie<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_IHttpCookie<D>::Domain() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpCookie<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_IHttpCookie<D>::Path() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpCookie<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) consume_Windows_Web_Http_IHttpCookie<D>::Expires() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpCookie<D>::Expires() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->get_Expires(&value));
return winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpCookie<D>::Expires(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpCookie<D>::Expires(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->put_Expires(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpCookie<D>::HttpOnly() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpCookie<D>::HttpOnly() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->get_HttpOnly(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpCookie<D>::HttpOnly(bool value) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpCookie<D>::HttpOnly(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->put_HttpOnly(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpCookie<D>::Secure() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpCookie<D>::Secure() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->get_Secure(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpCookie<D>::Secure(bool value) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpCookie<D>::Secure(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->put_Secure(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_IHttpCookie<D>::Value() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpCookie<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpCookie<D>::Value(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpCookie<D>::Value(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookie)->put_Value(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpCookie) consume_Windows_Web_Http_IHttpCookieFactory<D>::Create(param::hstring const& name, param::hstring const& domain, param::hstring const& path) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpCookieFactory<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpCookieManager<D>::SetCookie(winrt::Windows::Web::Http::HttpCookie const& cookie) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpCookieManager<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpCookieManager<D>::SetCookie(winrt::Windows::Web::Http::HttpCookie const& cookie, bool thirdParty) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpCookieManager<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpCookieManager<D>::DeleteCookie(winrt::Windows::Web::Http::HttpCookie const& cookie) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpCookieManager<D>::DeleteCookie(winrt::Windows::Web::Http::HttpCookie const& cookie) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpCookieManager)->DeleteCookie(*(void**)(&cookie)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpCookieCollection) consume_Windows_Web_Http_IHttpCookieManager<D>::GetCookies(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpCookieManager<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpFormUrlEncodedContent) consume_Windows_Web_Http_IHttpFormUrlEncodedContentFactory<D>::Create(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& content) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpFormUrlEncodedContentFactory<D>::Create(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> 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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Web_Http_IHttpGetBufferResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpGetBufferResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetBufferResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_Http_IHttpGetBufferResult<D>::RequestMessage() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpGetBufferResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Web_Http_IHttpGetBufferResult<D>::ResponseMessage() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpGetBufferResult<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpGetBufferResult<D>::Succeeded() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpGetBufferResult<D>::Succeeded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetBufferResult)->get_Succeeded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) consume_Windows_Web_Http_IHttpGetBufferResult<D>::Value() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpGetBufferResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Web_Http_IHttpGetInputStreamResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpGetInputStreamResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetInputStreamResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_Http_IHttpGetInputStreamResult<D>::RequestMessage() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpGetInputStreamResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Web_Http_IHttpGetInputStreamResult<D>::ResponseMessage() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpGetInputStreamResult<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpGetInputStreamResult<D>::Succeeded() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpGetInputStreamResult<D>::Succeeded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetInputStreamResult)->get_Succeeded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) consume_Windows_Web_Http_IHttpGetInputStreamResult<D>::Value() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpGetInputStreamResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Web_Http_IHttpGetStringResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpGetStringResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetStringResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_Http_IHttpGetStringResult<D>::RequestMessage() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpGetStringResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Web_Http_IHttpGetStringResult<D>::ResponseMessage() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpGetStringResult<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpGetStringResult<D>::Succeeded() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpGetStringResult<D>::Succeeded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpGetStringResult)->get_Succeeded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_IHttpGetStringResult<D>::Value() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpGetStringResult<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_IHttpMethod<D>::Method() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpMethod<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpMethodFactory<D>::Create(param::hstring const& method) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpMethodFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpMethodStatics<D>::Delete() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpMethodStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpMethodStatics<D>::Get() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpMethodStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpMethodStatics<D>::Head() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpMethodStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpMethodStatics<D>::Options() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpMethodStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpMethodStatics<D>::Patch() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpMethodStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpMethodStatics<D>::Post() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpMethodStatics<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpMethodStatics<D>::Put() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpMethodStatics<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpMultipartContent<D>::Add(winrt::Windows::Web::Http::IHttpContent const& content) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpMultipartContent<D>::Add(winrt::Windows::Web::Http::IHttpContent const& content) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMultipartContent)->Add(*(void**)(&content)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMultipartContent) consume_Windows_Web_Http_IHttpMultipartContentFactory<D>::CreateWithSubtype(param::hstring const& subtype) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpMultipartContentFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMultipartContent) consume_Windows_Web_Http_IHttpMultipartContentFactory<D>::CreateWithSubtypeAndBoundary(param::hstring const& subtype, param::hstring const& boundary) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpMultipartContentFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpMultipartFormDataContent<D>::Add(winrt::Windows::Web::Http::IHttpContent const& content) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpMultipartFormDataContent<D>::Add(winrt::Windows::Web::Http::IHttpContent const& content) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpMultipartFormDataContent)->Add(*(void**)(&content)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpMultipartFormDataContent<D>::Add(winrt::Windows::Web::Http::IHttpContent const& content, param::hstring const& name) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpMultipartFormDataContent<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpMultipartFormDataContent<D>::Add(winrt::Windows::Web::Http::IHttpContent const& content, param::hstring const& name, param::hstring const& fileName) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpMultipartFormDataContent<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMultipartFormDataContent) consume_Windows_Web_Http_IHttpMultipartFormDataContentFactory<D>::CreateWithBoundary(param::hstring const& boundary) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpMultipartFormDataContentFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::IHttpContent) consume_Windows_Web_Http_IHttpRequestMessage<D>::Content() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpRequestMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpRequestMessage<D>::Content(winrt::Windows::Web::Http::IHttpContent const& value) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpRequestMessage<D>::Content(winrt::Windows::Web::Http::IHttpContent const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestMessage)->put_Content(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpRequestHeaderCollection) consume_Windows_Web_Http_IHttpRequestMessage<D>::Headers() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpRequestMessage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpMethod) consume_Windows_Web_Http_IHttpRequestMessage<D>::Method() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpRequestMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpRequestMessage<D>::Method(winrt::Windows::Web::Http::HttpMethod const& value) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpRequestMessage<D>::Method(winrt::Windows::Web::Http::HttpMethod const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestMessage)->put_Method(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>) consume_Windows_Web_Http_IHttpRequestMessage<D>::Properties() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpRequestMessage<D>::Properties() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestMessage)->get_Properties(&value));
return winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Http_IHttpRequestMessage<D>::RequestUri() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpRequestMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpRequestMessage<D>::RequestUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpRequestMessage<D>::RequestUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestMessage)->put_RequestUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpTransportInformation) consume_Windows_Web_Http_IHttpRequestMessage<D>::TransportInformation() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpRequestMessage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_Http_IHttpRequestMessageFactory<D>::Create(winrt::Windows::Web::Http::HttpMethod const& method, winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpRequestMessageFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::hresult) consume_Windows_Web_Http_IHttpRequestResult<D>::ExtendedError() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpRequestResult<D>::ExtendedError() const
{
winrt::hresult value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestResult)->get_ExtendedError(put_abi(value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_Http_IHttpRequestResult<D>::RequestMessage() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpRequestResult<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Web_Http_IHttpRequestResult<D>::ResponseMessage() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpRequestResult<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpRequestResult<D>::Succeeded() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpRequestResult<D>::Succeeded() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpRequestResult)->get_Succeeded(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::IHttpContent) consume_Windows_Web_Http_IHttpResponseMessage<D>::Content() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpResponseMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpResponseMessage<D>::Content(winrt::Windows::Web::Http::IHttpContent const& value) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpResponseMessage<D>::Content(winrt::Windows::Web::Http::IHttpContent const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->put_Content(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::Headers::HttpResponseHeaderCollection) consume_Windows_Web_Http_IHttpResponseMessage<D>::Headers() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpResponseMessage<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Http_IHttpResponseMessage<D>::IsSuccessStatusCode() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpResponseMessage<D>::IsSuccessStatusCode() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->get_IsSuccessStatusCode(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Http_IHttpResponseMessage<D>::ReasonPhrase() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpResponseMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpResponseMessage<D>::ReasonPhrase(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpResponseMessage<D>::ReasonPhrase(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->put_ReasonPhrase(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_Http_IHttpResponseMessage<D>::RequestMessage() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpResponseMessage<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpResponseMessage<D>::RequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& value) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpResponseMessage<D>::RequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->put_RequestMessage(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessageSource) consume_Windows_Web_Http_IHttpResponseMessage<D>::Source() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpResponseMessage<D>::Source() const
{
winrt::Windows::Web::Http::HttpResponseMessageSource value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->get_Source(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpResponseMessage<D>::Source(winrt::Windows::Web::Http::HttpResponseMessageSource const& value) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpResponseMessage<D>::Source(winrt::Windows::Web::Http::HttpResponseMessageSource const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->put_Source(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStatusCode) consume_Windows_Web_Http_IHttpResponseMessage<D>::StatusCode() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpResponseMessage<D>::StatusCode() const
{
winrt::Windows::Web::Http::HttpStatusCode value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->get_StatusCode(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpResponseMessage<D>::StatusCode(winrt::Windows::Web::Http::HttpStatusCode const& value) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpResponseMessage<D>::StatusCode(winrt::Windows::Web::Http::HttpStatusCode const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->put_StatusCode(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpVersion) consume_Windows_Web_Http_IHttpResponseMessage<D>::Version() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpResponseMessage<D>::Version() const
{
winrt::Windows::Web::Http::HttpVersion value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->get_Version(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Http_IHttpResponseMessage<D>::Version(winrt::Windows::Web::Http::HttpVersion const& value) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpResponseMessage<D>::Version(winrt::Windows::Web::Http::HttpVersion const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessage)->put_Version(static_cast<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Web_Http_IHttpResponseMessage<D>::EnsureSuccessStatusCode() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpResponseMessage<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Web_Http_IHttpResponseMessageFactory<D>::Create(winrt::Windows::Web::Http::HttpStatusCode const& statusCode) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpResponseMessageFactory<D>::Create(winrt::Windows::Web::Http::HttpStatusCode const& statusCode) const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpResponseMessageFactory)->Create(static_cast<int32_t>(statusCode), &value));
return winrt::Windows::Web::Http::HttpResponseMessage{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStreamContent) consume_Windows_Web_Http_IHttpStreamContentFactory<D>::CreateFromInputStream(winrt::Windows::Storage::Streams::IInputStream const& content) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpStreamContentFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStringContent) consume_Windows_Web_Http_IHttpStringContentFactory<D>::CreateFromString(param::hstring const& content) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpStringContentFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStringContent) consume_Windows_Web_Http_IHttpStringContentFactory<D>::CreateFromStringWithEncoding(param::hstring const& content, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpStringContentFactory<D>::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<int32_t>(encoding), &value));
return winrt::Windows::Web::Http::HttpStringContent{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStringContent) consume_Windows_Web_Http_IHttpStringContentFactory<D>::CreateFromStringWithEncodingAndMediaType(param::hstring const& content, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding, param::hstring const& mediaType) const
+ template <typename D> auto consume_Windows_Web_Http_IHttpStringContentFactory<D>::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<int32_t>(encoding), *(void**)(&mediaType), &value));
return winrt::Windows::Web::Http::HttpStringContent{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) consume_Windows_Web_Http_IHttpTransportInformation<D>::ServerCertificate() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpTransportInformation<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::SocketSslErrorSeverity) consume_Windows_Web_Http_IHttpTransportInformation<D>::ServerCertificateErrorSeverity() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpTransportInformation<D>::ServerCertificateErrorSeverity() const
{
winrt::Windows::Networking::Sockets::SocketSslErrorSeverity value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpTransportInformation)->get_ServerCertificateErrorSeverity(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) consume_Windows_Web_Http_IHttpTransportInformation<D>::ServerCertificateErrors() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpTransportInformation<D>::ServerCertificateErrors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpTransportInformation)->get_ServerCertificateErrors(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) consume_Windows_Web_Http_IHttpTransportInformation<D>::ServerIntermediateCertificates() const
+ template <typename D> auto consume_Windows_Web_Http_IHttpTransportInformation<D>::ServerIntermediateCertificates() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Http::IHttpTransportInformation)->get_ServerIntermediateCertificates(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Syndication.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Syndication.h
index f9bc7219ef5..c5aa09e4f12 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.Syndication.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationAttribute<D>::Name() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationAttribute<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationAttribute<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationAttribute<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationAttribute)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationAttribute<D>::Namespace() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationAttribute<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationAttribute<D>::Namespace(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationAttribute<D>::Namespace(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationAttribute)->put_Namespace(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationAttribute<D>::Value() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationAttribute<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationAttribute<D>::Value(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationAttribute<D>::Value(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationAttribute)->put_Value(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationAttribute) consume_Windows_Web_Syndication_ISyndicationAttributeFactory<D>::CreateSyndicationAttribute(param::hstring const& attributeName, param::hstring const& attributeNamespace, param::hstring const& attributeValue) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationAttributeFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationCategory<D>::Label() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationCategory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationCategory<D>::Label(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationCategory<D>::Label(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationCategory)->put_Label(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationCategory<D>::Scheme() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationCategory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationCategory<D>::Scheme(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationCategory<D>::Scheme(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationCategory)->put_Scheme(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationCategory<D>::Term() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationCategory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationCategory<D>::Term(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationCategory<D>::Term(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationCategory)->put_Term(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationCategory) consume_Windows_Web_Syndication_ISyndicationCategoryFactory<D>::CreateSyndicationCategory(param::hstring const& term) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationCategoryFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationCategory) consume_Windows_Web_Syndication_ISyndicationCategoryFactory<D>::CreateSyndicationCategoryEx(param::hstring const& term, param::hstring const& scheme, param::hstring const& label) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationCategoryFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Web_Syndication_ISyndicationClient<D>::ServerCredential() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationClient<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationClient<D>::ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationClient<D>::ServerCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->put_ServerCredential(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::PasswordCredential) consume_Windows_Web_Syndication_ISyndicationClient<D>::ProxyCredential() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationClient<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationClient<D>::ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationClient<D>::ProxyCredential(winrt::Windows::Security::Credentials::PasswordCredential const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->put_ProxyCredential(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_Syndication_ISyndicationClient<D>::MaxResponseBufferSize() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationClient<D>::MaxResponseBufferSize() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->get_MaxResponseBufferSize(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationClient<D>::MaxResponseBufferSize(uint32_t value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationClient<D>::MaxResponseBufferSize(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->put_MaxResponseBufferSize(value));
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_Syndication_ISyndicationClient<D>::Timeout() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationClient<D>::Timeout() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->get_Timeout(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationClient<D>::Timeout(uint32_t value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationClient<D>::Timeout(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->put_Timeout(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_Syndication_ISyndicationClient<D>::BypassCacheOnRetrieve() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationClient<D>::BypassCacheOnRetrieve() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->get_BypassCacheOnRetrieve(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationClient<D>::BypassCacheOnRetrieve(bool value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationClient<D>::BypassCacheOnRetrieve(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationClient)->put_BypassCacheOnRetrieve(value));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationClient<D>::SetRequestHeader(param::hstring const& name, param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationClient<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Syndication::SyndicationFeed, winrt::Windows::Web::Syndication::RetrievalProgress>) consume_Windows_Web_Syndication_ISyndicationClient<D>::RetrieveFeedAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationClient<D>::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<winrt::Windows::Web::Syndication::SyndicationFeed, winrt::Windows::Web::Syndication::RetrievalProgress>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationClient) consume_Windows_Web_Syndication_ISyndicationClientFactory<D>::CreateSyndicationClient(winrt::Windows::Security::Credentials::PasswordCredential const& serverCredential) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationClientFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationContent<D>::SourceUri() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationContent<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationContent<D>::SourceUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationContent<D>::SourceUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationContent)->put_SourceUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationContent) consume_Windows_Web_Syndication_ISyndicationContentFactory<D>::CreateSyndicationContent(param::hstring const& text, winrt::Windows::Web::Syndication::SyndicationTextType const& type) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationContentFactory<D>::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<int32_t>(type), &content));
return winrt::Windows::Web::Syndication::SyndicationContent{ content, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationContent) consume_Windows_Web_Syndication_ISyndicationContentFactory<D>::CreateSyndicationContentWithSourceUri(winrt::Windows::Foundation::Uri const& sourceUri) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationContentFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationErrorStatus) consume_Windows_Web_Syndication_ISyndicationErrorStatics<D>::GetStatus(int32_t hresult) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationErrorStatics<D>::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<int32_t*>(&status)));
return status;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationPerson>) consume_Windows_Web_Syndication_ISyndicationFeed<D>::Authors() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::Authors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_Authors(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationPerson>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationCategory>) consume_Windows_Web_Syndication_ISyndicationFeed<D>::Categories() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::Categories() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_Categories(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationCategory>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationPerson>) consume_Windows_Web_Syndication_ISyndicationFeed<D>::Contributors() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::Contributors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_Contributors(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationPerson>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationGenerator) consume_Windows_Web_Syndication_ISyndicationFeed<D>::Generator() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed<D>::Generator(winrt::Windows::Web::Syndication::SyndicationGenerator const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::Generator(winrt::Windows::Web::Syndication::SyndicationGenerator const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->put_Generator(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationFeed<D>::IconUri() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed<D>::IconUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::IconUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->put_IconUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationFeed<D>::Id() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed<D>::Id(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::Id(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->put_Id(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationItem>) consume_Windows_Web_Syndication_ISyndicationFeed<D>::Items() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::Items() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_Items(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationItem>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Web_Syndication_ISyndicationFeed<D>::LastUpdatedTime() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed<D>::LastUpdatedTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationLink>) consume_Windows_Web_Syndication_ISyndicationFeed<D>::Links() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::Links() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_Links(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationLink>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationFeed<D>::ImageUri() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed<D>::ImageUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::ImageUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->put_ImageUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) consume_Windows_Web_Syndication_ISyndicationFeed<D>::Rights() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed<D>::Rights(winrt::Windows::Web::Syndication::ISyndicationText const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::Rights(winrt::Windows::Web::Syndication::ISyndicationText const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->put_Rights(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) consume_Windows_Web_Syndication_ISyndicationFeed<D>::Subtitle() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed<D>::Subtitle(winrt::Windows::Web::Syndication::ISyndicationText const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::Subtitle(winrt::Windows::Web::Syndication::ISyndicationText const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->put_Subtitle(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) consume_Windows_Web_Syndication_ISyndicationFeed<D>::Title() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed<D>::Title(winrt::Windows::Web::Syndication::ISyndicationText const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::Title(winrt::Windows::Web::Syndication::ISyndicationText const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationFeed<D>::FirstUri() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationFeed<D>::LastUri() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationFeed<D>::NextUri() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationFeed<D>::PreviousUri() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationFormat) consume_Windows_Web_Syndication_ISyndicationFeed<D>::SourceFormat() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::SourceFormat() const
{
winrt::Windows::Web::Syndication::SyndicationFormat value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->get_SourceFormat(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed<D>::Load(param::hstring const& feed) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::Load(param::hstring const& feed) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->Load(*(void**)(&feed)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationFeed<D>::LoadFromXml(winrt::Windows::Data::Xml::Dom::XmlDocument const& feedDocument) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeed<D>::LoadFromXml(winrt::Windows::Data::Xml::Dom::XmlDocument const& feedDocument) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationFeed)->LoadFromXml(*(void**)(&feedDocument)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationFeed) consume_Windows_Web_Syndication_ISyndicationFeedFactory<D>::CreateSyndicationFeed(param::hstring const& title, param::hstring const& subtitle, winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationFeedFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationGenerator<D>::Text() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationGenerator<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationGenerator<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationGenerator<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationGenerator)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationGenerator<D>::Uri() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationGenerator<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationGenerator<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationGenerator<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationGenerator)->put_Uri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationGenerator<D>::Version() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationGenerator<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationGenerator<D>::Version(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationGenerator<D>::Version(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationGenerator)->put_Version(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationGenerator) consume_Windows_Web_Syndication_ISyndicationGeneratorFactory<D>::CreateSyndicationGenerator(param::hstring const& text) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationGeneratorFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationPerson>) consume_Windows_Web_Syndication_ISyndicationItem<D>::Authors() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::Authors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_Authors(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationPerson>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationCategory>) consume_Windows_Web_Syndication_ISyndicationItem<D>::Categories() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::Categories() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_Categories(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationCategory>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationPerson>) consume_Windows_Web_Syndication_ISyndicationItem<D>::Contributors() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::Contributors() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_Contributors(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationPerson>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationContent) consume_Windows_Web_Syndication_ISyndicationItem<D>::Content() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem<D>::Content(winrt::Windows::Web::Syndication::SyndicationContent const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::Content(winrt::Windows::Web::Syndication::SyndicationContent const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->put_Content(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationItem<D>::Id() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem<D>::Id(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::Id(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->put_Id(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Web_Syndication_ISyndicationItem<D>::LastUpdatedTime() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem<D>::LastUpdatedTime(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationLink>) consume_Windows_Web_Syndication_ISyndicationItem<D>::Links() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::Links() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->get_Links(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationLink>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) consume_Windows_Web_Syndication_ISyndicationItem<D>::PublishedDate() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem<D>::PublishedDate(winrt::Windows::Foundation::DateTime const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) consume_Windows_Web_Syndication_ISyndicationItem<D>::Rights() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem<D>::Rights(winrt::Windows::Web::Syndication::ISyndicationText const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::Rights(winrt::Windows::Web::Syndication::ISyndicationText const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->put_Rights(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationFeed) consume_Windows_Web_Syndication_ISyndicationItem<D>::Source() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem<D>::Source(winrt::Windows::Web::Syndication::SyndicationFeed const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::Source(winrt::Windows::Web::Syndication::SyndicationFeed const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->put_Source(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) consume_Windows_Web_Syndication_ISyndicationItem<D>::Summary() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem<D>::Summary(winrt::Windows::Web::Syndication::ISyndicationText const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::Summary(winrt::Windows::Web::Syndication::ISyndicationText const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->put_Summary(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::ISyndicationText) consume_Windows_Web_Syndication_ISyndicationItem<D>::Title() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem<D>::Title(winrt::Windows::Web::Syndication::ISyndicationText const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::Title(winrt::Windows::Web::Syndication::ISyndicationText const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationItem<D>::CommentsUri() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem<D>::CommentsUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::CommentsUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->put_CommentsUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationItem<D>::EditUri() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationItem<D>::EditMediaUri() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationItem<D>::ETag() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationItem<D>::ItemUri() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem<D>::Load(param::hstring const& item) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::Load(param::hstring const& item) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->Load(*(void**)(&item)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationItem<D>::LoadFromXml(winrt::Windows::Data::Xml::Dom::XmlDocument const& itemDocument) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItem<D>::LoadFromXml(winrt::Windows::Data::Xml::Dom::XmlDocument const& itemDocument) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationItem)->LoadFromXml(*(void**)(&itemDocument)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationItem) consume_Windows_Web_Syndication_ISyndicationItemFactory<D>::CreateSyndicationItem(param::hstring const& title, winrt::Windows::Web::Syndication::SyndicationContent const& content, winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationItemFactory<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_Syndication_ISyndicationLink<D>::Length() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationLink<D>::Length() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->get_Length(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationLink<D>::Length(uint32_t value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationLink<D>::Length(uint32_t value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->put_Length(value));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationLink<D>::MediaType() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationLink<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationLink<D>::MediaType(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationLink<D>::MediaType(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->put_MediaType(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationLink<D>::Relationship() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationLink<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationLink<D>::Relationship(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationLink<D>::Relationship(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->put_Relationship(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationLink<D>::Title() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationLink<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationLink<D>::Title(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationLink<D>::Title(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->put_Title(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationLink<D>::Uri() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationLink<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationLink<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationLink<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->put_Uri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationLink<D>::ResourceLanguage() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationLink<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationLink<D>::ResourceLanguage(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationLink<D>::ResourceLanguage(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationLink)->put_ResourceLanguage(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationLink) consume_Windows_Web_Syndication_ISyndicationLinkFactory<D>::CreateSyndicationLink(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationLinkFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationLink) consume_Windows_Web_Syndication_ISyndicationLinkFactory<D>::CreateSyndicationLinkEx(winrt::Windows::Foundation::Uri const& uri, param::hstring const& relationship, param::hstring const& title, param::hstring const& mediaType, uint32_t length) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationLinkFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationNode<D>::NodeName() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationNode<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationNode<D>::NodeName(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationNode<D>::NodeName(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->put_NodeName(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationNode<D>::NodeNamespace() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationNode<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationNode<D>::NodeNamespace(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationNode<D>::NodeNamespace(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->put_NodeNamespace(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationNode<D>::NodeValue() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationNode<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationNode<D>::NodeValue(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationNode<D>::NodeValue(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->put_NodeValue(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationNode<D>::Language() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationNode<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationNode<D>::Language(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationNode<D>::Language(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->put_Language(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationNode<D>::BaseUri() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationNode<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationNode<D>::BaseUri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationNode<D>::BaseUri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->put_BaseUri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationAttribute>) consume_Windows_Web_Syndication_ISyndicationNode<D>::AttributeExtensions() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationNode<D>::AttributeExtensions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->get_AttributeExtensions(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationAttribute>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::ISyndicationNode>) consume_Windows_Web_Syndication_ISyndicationNode<D>::ElementExtensions() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationNode<D>::ElementExtensions() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->get_ElementExtensions(&value));
return winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::ISyndicationNode>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_Web_Syndication_ISyndicationNode<D>::GetXmlDocument(winrt::Windows::Web::Syndication::SyndicationFormat const& format) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationNode<D>::GetXmlDocument(winrt::Windows::Web::Syndication::SyndicationFormat const& format) const
{
void* xmlDocument{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationNode)->GetXmlDocument(static_cast<int32_t>(format), &xmlDocument));
return winrt::Windows::Data::Xml::Dom::XmlDocument{ xmlDocument, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationNode) consume_Windows_Web_Syndication_ISyndicationNodeFactory<D>::CreateSyndicationNode(param::hstring const& nodeName, param::hstring const& nodeNamespace, param::hstring const& nodeValue) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationNodeFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationPerson<D>::Email() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationPerson<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationPerson<D>::Email(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationPerson<D>::Email(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationPerson)->put_Email(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationPerson<D>::Name() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationPerson<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationPerson<D>::Name(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationPerson<D>::Name(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationPerson)->put_Name(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_Syndication_ISyndicationPerson<D>::Uri() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationPerson<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationPerson<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationPerson<D>::Uri(winrt::Windows::Foundation::Uri const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationPerson)->put_Uri(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationPerson) consume_Windows_Web_Syndication_ISyndicationPersonFactory<D>::CreateSyndicationPerson(param::hstring const& name) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationPersonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationPerson) consume_Windows_Web_Syndication_ISyndicationPersonFactory<D>::CreateSyndicationPersonEx(param::hstring const& name, param::hstring const& email, winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationPersonFactory<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationText<D>::Text() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationText<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationText<D>::Text(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationText<D>::Text(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationText)->put_Text(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_Syndication_ISyndicationText<D>::Type() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationText<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationText<D>::Type(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationText<D>::Type(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::Syndication::ISyndicationText)->put_Type(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Data::Xml::Dom::XmlDocument) consume_Windows_Web_Syndication_ISyndicationText<D>::Xml() const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationText<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_Syndication_ISyndicationText<D>::Xml(winrt::Windows::Data::Xml::Dom::XmlDocument const& value) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationText<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationText) consume_Windows_Web_Syndication_ISyndicationTextFactory<D>::CreateSyndicationText(param::hstring const& text) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationTextFactory<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Syndication::SyndicationText) consume_Windows_Web_Syndication_ISyndicationTextFactory<D>::CreateSyndicationTextEx(param::hstring const& text, winrt::Windows::Web::Syndication::SyndicationTextType const& type) const
+ template <typename D> auto consume_Windows_Web_Syndication_ISyndicationTextFactory<D>::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<int32_t>(type), &syndicationText));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.UI.Interop.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.UI.Interop.h
index 1f2a40bf90f..d97ca769324 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.UI.Interop.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreAcceleratorKeyEventType) consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs<D>::EventType() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs<D>::EventType() const
{
winrt::Windows::UI::Core::CoreAcceleratorKeyEventType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlAcceleratorKeyPressedEventArgs)->get_EventType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs<D>::VirtualKey() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs<D>::VirtualKey() const
{
winrt::Windows::System::VirtualKey value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlAcceleratorKeyPressedEventArgs)->get_VirtualKey(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CorePhysicalKeyStatus) consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs<D>::KeyStatus() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyRoutingStage) consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs<D>::RoutingStage() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs<D>::RoutingStage() const
{
winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyRoutingStage value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlAcceleratorKeyPressedEventArgs)->get_RoutingStage(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlAcceleratorKeyPressedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlAcceleratorKeyPressedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlAcceleratorKeyPressedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusReason) consume_Windows_Web_UI_Interop_IWebViewControlMoveFocusRequestedEventArgs<D>::Reason() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlMoveFocusRequestedEventArgs<D>::Reason() const
{
winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusReason value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlMoveFocusRequestedEventArgs)->get_Reason(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::ProcessId() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::ProcessId() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcess)->get_ProcessId(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::EnterpriseId() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::IsPrivateNetworkClientServerCapabilityEnabled() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::IsPrivateNetworkClientServerCapabilityEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcess)->get_IsPrivateNetworkClientServerCapabilityEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Web::UI::Interop::WebViewControl>) consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::CreateWebViewControlAsync(int64_t hostWindowHandle, winrt::Windows::Foundation::Rect const& bounds) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::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<winrt::Windows::Web::UI::Interop::WebViewControl>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Web::UI::Interop::WebViewControl>) consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::GetWebViewControls() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::GetWebViewControls() const
{
void* result{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcess)->GetWebViewControls(&result));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Web::UI::Interop::WebViewControl>{ result, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::Terminate() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::Terminate() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcess)->Terminate());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::ProcessExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControlProcess, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::ProcessExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControlProcess, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::ProcessExited_revoker consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::ProcessExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControlProcess, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::ProcessExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControlProcess, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ProcessExited_revoker>(this, ProcessExited(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::ProcessExited(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlProcess<D>::ProcessExited(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcess)->remove_ProcessExited(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlProcess) consume_Windows_Web_UI_Interop_IWebViewControlProcessFactory<D>::CreateWithOptions(winrt::Windows::Web::UI::Interop::WebViewControlProcessOptions const& processOptions) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlProcessFactory<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions<D>::EnterpriseId(param::hstring const& value) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions<D>::EnterpriseId(param::hstring const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcessOptions)->put_EnterpriseId(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions<D>::EnterpriseId() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions<D>::PrivateNetworkClientServerCapability(winrt::Windows::Web::UI::Interop::WebViewControlProcessCapabilityState const& value) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions<D>::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<int32_t>(value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlProcessCapabilityState) consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions<D>::PrivateNetworkClientServerCapability() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlProcessOptions<D>::PrivateNetworkClientServerCapability() const
{
winrt::Windows::Web::UI::Interop::WebViewControlProcessCapabilityState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlProcessOptions)->get_PrivateNetworkClientServerCapability(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::UI::Interop::WebViewControlProcess) consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::Process() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::Scale(double value) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::Scale(double value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->put_Scale(value));
}
- template <typename D> WINRT_IMPL_AUTO(double) consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::Scale() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::Scale() const
{
double value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->get_Scale(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::Bounds(winrt::Windows::Foundation::Rect const& value) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::Bounds() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::IsVisible(bool value) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::IsVisible(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->put_IsVisible(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::IsVisible() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::IsVisible() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->get_IsVisible(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::Close() const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::Close() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->Close());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::MoveFocus(winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusReason const& reason) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::MoveFocus(winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusReason const& reason) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->MoveFocus(static_cast<int32_t>(reason)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::MoveFocusRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::MoveFocusRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusRequestedEventArgs> 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 D> typename consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::MoveFocusRequested_revoker consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::MoveFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::MoveFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, MoveFocusRequested_revoker>(this, MoveFocusRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::MoveFocusRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::MoveFocusRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->remove_MoveFocusRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::AcceleratorKeyPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyPressedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::AcceleratorKeyPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyPressedEventArgs> 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 D> typename consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::AcceleratorKeyPressed_revoker consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::AcceleratorKeyPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyPressedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::AcceleratorKeyPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyPressedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, AcceleratorKeyPressed_revoker>(this, AcceleratorKeyPressed(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::AcceleratorKeyPressed(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite<D>::AcceleratorKeyPressed(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite)->remove_AcceleratorKeyPressed(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_Interop_IWebViewControlSite2<D>::GotFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite2<D>::GotFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Web_UI_Interop_IWebViewControlSite2<D>::GotFocus_revoker consume_Windows_Web_UI_Interop_IWebViewControlSite2<D>::GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite2<D>::GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, GotFocus_revoker>(this, GotFocus(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite2<D>::GotFocus(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite2<D>::GotFocus(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::Interop::IWebViewControlSite2)->remove_GotFocus(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_Interop_IWebViewControlSite2<D>::LostFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite2<D>::LostFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Web_UI_Interop_IWebViewControlSite2<D>::LostFocus_revoker consume_Windows_Web_UI_Interop_IWebViewControlSite2<D>::LostFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite2<D>::LostFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, LostFocus_revoker>(this, LostFocus(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_Interop_IWebViewControlSite2<D>::LostFocus(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_Interop_IWebViewControlSite2<D>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.UI.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.UI.h
index 48e1bc52cf2..644cb47b538 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.UI.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControl<D>::Source() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::Source(winrt::Windows::Foundation::Uri const& source) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::Source(winrt::Windows::Foundation::Uri const& source) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->put_Source(*(void**)(&source)));
}
- template <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_UI_IWebViewControl<D>::DocumentTitle() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControl<D>::CanGoBack() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::CanGoBack() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->get_CanGoBack(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControl<D>::CanGoForward() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::CanGoForward() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->get_CanGoForward(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::DefaultBackgroundColor(winrt::Windows::UI::Color const& value) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::UI::Color) consume_Windows_Web_UI_IWebViewControl<D>::DefaultBackgroundColor() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControl<D>::ContainsFullScreenElement() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::ContainsFullScreenElement() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->get_ContainsFullScreenElement(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::UI::WebViewControlSettings) consume_Windows_Web_UI_IWebViewControl<D>::Settings() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Web::UI::WebViewControlDeferredPermissionRequest>) consume_Windows_Web_UI_IWebViewControl<D>::DeferredPermissionRequests() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::DeferredPermissionRequests() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->get_DeferredPermissionRequests(&value));
return winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Web::UI::WebViewControlDeferredPermissionRequest>{ value, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::GoForward() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::GoForward() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->GoForward());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::GoBack() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::GoBack() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->GoBack());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::Refresh() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::Refresh() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->Refresh());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::Stop() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::Stop() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->Stop());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::Navigate(winrt::Windows::Foundation::Uri const& source) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::Navigate(winrt::Windows::Foundation::Uri const& source) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->Navigate(*(void**)(&source)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::NavigateToString(param::hstring const& text) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::NavigateToString(param::hstring const& text) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->NavigateToString(*(void**)(&text)));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::NavigateToLocalStreamUri(winrt::Windows::Foundation::Uri const& source, winrt::Windows::Web::IUriToStreamResolver const& streamResolver) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::NavigateWithHttpRequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& requestMessage) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::NavigateWithHttpRequestMessage(winrt::Windows::Web::Http::HttpRequestMessage const& requestMessage) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->NavigateWithHttpRequestMessage(*(void**)(&requestMessage)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) consume_Windows_Web_UI_IWebViewControl<D>::InvokeScriptAsync(param::hstring const& scriptName, param::async_iterable<hstring> const& arguments) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::InvokeScriptAsync(param::hstring const& scriptName, param::async_iterable<hstring> 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<hstring>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) consume_Windows_Web_UI_IWebViewControl<D>::CapturePreviewToStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::DataTransfer::DataPackage>) consume_Windows_Web_UI_IWebViewControl<D>::CaptureSelectedContentToDataPackageAsync() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::CaptureSelectedContentToDataPackageAsync() const
{
void* operation{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->CaptureSelectedContentToDataPackageAsync(&operation));
return winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::DataTransfer::DataPackage>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControl<D>::BuildLocalStreamUri(param::hstring const& contentIdentifier, param::hstring const& relativePath) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::GetDeferredPermissionRequestById(uint32_t id, winrt::Windows::Web::UI::WebViewControlDeferredPermissionRequest& result) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl<D>::NavigationStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::NavigationStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> 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 D> typename consume_Windows_Web_UI_IWebViewControl<D>::NavigationStarting_revoker consume_Windows_Web_UI_IWebViewControl<D>::NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, NavigationStarting_revoker>(this, NavigationStarting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::NavigationStarting(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::NavigationStarting(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_NavigationStarting(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl<D>::ContentLoading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::ContentLoading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> 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 D> typename consume_Windows_Web_UI_IWebViewControl<D>::ContentLoading_revoker consume_Windows_Web_UI_IWebViewControl<D>::ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ContentLoading_revoker>(this, ContentLoading(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::ContentLoading(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::ContentLoading(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_ContentLoading(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl<D>::DOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::DOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> 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 D> typename consume_Windows_Web_UI_IWebViewControl<D>::DOMContentLoaded_revoker consume_Windows_Web_UI_IWebViewControl<D>::DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, DOMContentLoaded_revoker>(this, DOMContentLoaded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::DOMContentLoaded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::DOMContentLoaded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_DOMContentLoaded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl<D>::NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> 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 D> typename consume_Windows_Web_UI_IWebViewControl<D>::NavigationCompleted_revoker consume_Windows_Web_UI_IWebViewControl<D>::NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, NavigationCompleted_revoker>(this, NavigationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::NavigationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::NavigationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_NavigationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl<D>::FrameNavigationStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::FrameNavigationStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> 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 D> typename consume_Windows_Web_UI_IWebViewControl<D>::FrameNavigationStarting_revoker consume_Windows_Web_UI_IWebViewControl<D>::FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FrameNavigationStarting_revoker>(this, FrameNavigationStarting(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::FrameNavigationStarting(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::FrameNavigationStarting(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_FrameNavigationStarting(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl<D>::FrameContentLoading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::FrameContentLoading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> 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 D> typename consume_Windows_Web_UI_IWebViewControl<D>::FrameContentLoading_revoker consume_Windows_Web_UI_IWebViewControl<D>::FrameContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::FrameContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FrameContentLoading_revoker>(this, FrameContentLoading(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::FrameContentLoading(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::FrameContentLoading(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_FrameContentLoading(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl<D>::FrameDOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::FrameDOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> 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 D> typename consume_Windows_Web_UI_IWebViewControl<D>::FrameDOMContentLoaded_revoker consume_Windows_Web_UI_IWebViewControl<D>::FrameDOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::FrameDOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FrameDOMContentLoaded_revoker>(this, FrameDOMContentLoaded(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::FrameDOMContentLoaded(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::FrameDOMContentLoaded(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_FrameDOMContentLoaded(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl<D>::FrameNavigationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::FrameNavigationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> 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 D> typename consume_Windows_Web_UI_IWebViewControl<D>::FrameNavigationCompleted_revoker consume_Windows_Web_UI_IWebViewControl<D>::FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, FrameNavigationCompleted_revoker>(this, FrameNavigationCompleted(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::FrameNavigationCompleted(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::FrameNavigationCompleted(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_FrameNavigationCompleted(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl<D>::ScriptNotify(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlScriptNotifyEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::ScriptNotify(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlScriptNotifyEventArgs> 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 D> typename consume_Windows_Web_UI_IWebViewControl<D>::ScriptNotify_revoker consume_Windows_Web_UI_IWebViewControl<D>::ScriptNotify(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlScriptNotifyEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::ScriptNotify(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlScriptNotifyEventArgs> const& handler) const
{
return impl::make_event_revoker<D, ScriptNotify_revoker>(this, ScriptNotify(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::ScriptNotify(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::ScriptNotify(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_ScriptNotify(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl<D>::LongRunningScriptDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlLongRunningScriptDetectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::LongRunningScriptDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlLongRunningScriptDetectedEventArgs> 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 D> typename consume_Windows_Web_UI_IWebViewControl<D>::LongRunningScriptDetected_revoker consume_Windows_Web_UI_IWebViewControl<D>::LongRunningScriptDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlLongRunningScriptDetectedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::LongRunningScriptDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlLongRunningScriptDetectedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, LongRunningScriptDetected_revoker>(this, LongRunningScriptDetected(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::LongRunningScriptDetected(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::LongRunningScriptDetected(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_LongRunningScriptDetected(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl<D>::UnsafeContentWarningDisplaying(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::UnsafeContentWarningDisplaying(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Web_UI_IWebViewControl<D>::UnsafeContentWarningDisplaying_revoker consume_Windows_Web_UI_IWebViewControl<D>::UnsafeContentWarningDisplaying(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::UnsafeContentWarningDisplaying(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, UnsafeContentWarningDisplaying_revoker>(this, UnsafeContentWarningDisplaying(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::UnsafeContentWarningDisplaying(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::UnsafeContentWarningDisplaying(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_UnsafeContentWarningDisplaying(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl<D>::UnviewableContentIdentified(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnviewableContentIdentifiedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::UnviewableContentIdentified(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnviewableContentIdentifiedEventArgs> 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 D> typename consume_Windows_Web_UI_IWebViewControl<D>::UnviewableContentIdentified_revoker consume_Windows_Web_UI_IWebViewControl<D>::UnviewableContentIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnviewableContentIdentifiedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::UnviewableContentIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnviewableContentIdentifiedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, UnviewableContentIdentified_revoker>(this, UnviewableContentIdentified(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::UnviewableContentIdentified(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::UnviewableContentIdentified(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_UnviewableContentIdentified(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl<D>::PermissionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlPermissionRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::PermissionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlPermissionRequestedEventArgs> 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 D> typename consume_Windows_Web_UI_IWebViewControl<D>::PermissionRequested_revoker consume_Windows_Web_UI_IWebViewControl<D>::PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlPermissionRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlPermissionRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, PermissionRequested_revoker>(this, PermissionRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::PermissionRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::PermissionRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_PermissionRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl<D>::UnsupportedUriSchemeIdentified(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnsupportedUriSchemeIdentifiedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::UnsupportedUriSchemeIdentified(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnsupportedUriSchemeIdentifiedEventArgs> 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 D> typename consume_Windows_Web_UI_IWebViewControl<D>::UnsupportedUriSchemeIdentified_revoker consume_Windows_Web_UI_IWebViewControl<D>::UnsupportedUriSchemeIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnsupportedUriSchemeIdentifiedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::UnsupportedUriSchemeIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnsupportedUriSchemeIdentifiedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, UnsupportedUriSchemeIdentified_revoker>(this, UnsupportedUriSchemeIdentified(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::UnsupportedUriSchemeIdentified(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::UnsupportedUriSchemeIdentified(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_UnsupportedUriSchemeIdentified(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl<D>::NewWindowRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNewWindowRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::NewWindowRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNewWindowRequestedEventArgs> 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 D> typename consume_Windows_Web_UI_IWebViewControl<D>::NewWindowRequested_revoker consume_Windows_Web_UI_IWebViewControl<D>::NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNewWindowRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNewWindowRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, NewWindowRequested_revoker>(this, NewWindowRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::NewWindowRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::NewWindowRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_NewWindowRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl<D>::ContainsFullScreenElementChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::ContainsFullScreenElementChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> 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 D> typename consume_Windows_Web_UI_IWebViewControl<D>::ContainsFullScreenElementChanged_revoker consume_Windows_Web_UI_IWebViewControl<D>::ContainsFullScreenElementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::ContainsFullScreenElementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const
{
return impl::make_event_revoker<D, ContainsFullScreenElementChanged_revoker>(this, ContainsFullScreenElementChanged(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::ContainsFullScreenElementChanged(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::ContainsFullScreenElementChanged(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_ContainsFullScreenElementChanged(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::event_token) consume_Windows_Web_UI_IWebViewControl<D>::WebResourceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlWebResourceRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::WebResourceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlWebResourceRequestedEventArgs> 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 D> typename consume_Windows_Web_UI_IWebViewControl<D>::WebResourceRequested_revoker consume_Windows_Web_UI_IWebViewControl<D>::WebResourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlWebResourceRequestedEventArgs> const& handler) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::WebResourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlWebResourceRequestedEventArgs> const& handler) const
{
return impl::make_event_revoker<D, WebResourceRequested_revoker>(this, WebResourceRequested(handler));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl<D>::WebResourceRequested(winrt::event_token const& token) const noexcept
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl<D>::WebResourceRequested(winrt::event_token const& token) const noexcept
{
WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl)->remove_WebResourceRequested(impl::bind_in(token));
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControl2<D>::AddInitializeScript(param::hstring const& script) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControl2<D>::AddInitializeScript(param::hstring const& script) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControl2)->AddInitializeScript(*(void**)(&script)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlContentLoadingEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlContentLoadingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlDOMContentLoadedEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlDOMContentLoadedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest<D>::Id() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlDeferredPermissionRequest)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest<D>::Uri() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::UI::WebViewControlPermissionType) consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest<D>::PermissionType() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest<D>::PermissionType() const
{
winrt::Windows::Web::UI::WebViewControlPermissionType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlDeferredPermissionRequest)->get_PermissionType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest<D>::Allow() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest<D>::Allow() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlDeferredPermissionRequest)->Allow());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest<D>::Deny() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlDeferredPermissionRequest<D>::Deny() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlDeferredPermissionRequest)->Deny());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) consume_Windows_Web_UI_IWebViewControlLongRunningScriptDetectedEventArgs<D>::ExecutionTime() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlLongRunningScriptDetectedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControlLongRunningScriptDetectedEventArgs<D>::StopPageScriptExecution() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlLongRunningScriptDetectedEventArgs<D>::StopPageScriptExecution() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlLongRunningScriptDetectedEventArgs)->get_StopPageScriptExecution(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlLongRunningScriptDetectedEventArgs<D>::StopPageScriptExecution(bool value) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlLongRunningScriptDetectedEventArgs<D>::StopPageScriptExecution(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlLongRunningScriptDetectedEventArgs)->put_StopPageScriptExecution(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlNavigationCompletedEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlNavigationCompletedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControlNavigationCompletedEventArgs<D>::IsSuccess() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlNavigationCompletedEventArgs<D>::IsSuccess() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNavigationCompletedEventArgs)->get_IsSuccess(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) consume_Windows_Web_UI_IWebViewControlNavigationCompletedEventArgs<D>::WebErrorStatus() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlNavigationCompletedEventArgs<D>::WebErrorStatus() const
{
winrt::Windows::Web::WebErrorStatus value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNavigationCompletedEventArgs)->get_WebErrorStatus(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlNavigationStartingEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlNavigationStartingEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControlNavigationStartingEventArgs<D>::Cancel() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlNavigationStartingEventArgs<D>::Cancel() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNavigationStartingEventArgs)->get_Cancel(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlNavigationStartingEventArgs<D>::Cancel(bool value) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlNavigationStartingEventArgs<D>::Cancel(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNavigationStartingEventArgs)->put_Cancel(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs<D>::Referrer() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::UI::IWebViewControl) consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs2<D>::NewWindow() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs2<D>::NewWindow(winrt::Windows::Web::UI::IWebViewControl const& value) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs2<D>::NewWindow(winrt::Windows::Web::UI::IWebViewControl const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs2)->put_NewWindow(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs2<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlNewWindowRequestedEventArgs2<D>::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 <typename D> WINRT_IMPL_AUTO(uint32_t) consume_Windows_Web_UI_IWebViewControlPermissionRequest<D>::Id() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlPermissionRequest<D>::Id() const
{
uint32_t value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlPermissionRequest)->get_Id(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlPermissionRequest<D>::Uri() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlPermissionRequest<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::UI::WebViewControlPermissionType) consume_Windows_Web_UI_IWebViewControlPermissionRequest<D>::PermissionType() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlPermissionRequest<D>::PermissionType() const
{
winrt::Windows::Web::UI::WebViewControlPermissionType value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlPermissionRequest)->get_PermissionType(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::UI::WebViewControlPermissionState) consume_Windows_Web_UI_IWebViewControlPermissionRequest<D>::State() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlPermissionRequest<D>::State() const
{
winrt::Windows::Web::UI::WebViewControlPermissionState value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlPermissionRequest)->get_State(reinterpret_cast<int32_t*>(&value)));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlPermissionRequest<D>::Defer() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlPermissionRequest<D>::Defer() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlPermissionRequest)->Defer());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlPermissionRequest<D>::Allow() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlPermissionRequest<D>::Allow() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlPermissionRequest)->Allow());
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlPermissionRequest<D>::Deny() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlPermissionRequest<D>::Deny() const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlPermissionRequest)->Deny());
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::UI::WebViewControlPermissionRequest) consume_Windows_Web_UI_IWebViewControlPermissionRequestedEventArgs<D>::PermissionRequest() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlPermissionRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlScriptNotifyEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlScriptNotifyEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_UI_IWebViewControlScriptNotifyEventArgs<D>::Value() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlScriptNotifyEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlSettings<D>::IsJavaScriptEnabled(bool value) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlSettings<D>::IsJavaScriptEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlSettings)->put_IsJavaScriptEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControlSettings<D>::IsJavaScriptEnabled() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlSettings<D>::IsJavaScriptEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlSettings)->get_IsJavaScriptEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlSettings<D>::IsIndexedDBEnabled(bool value) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlSettings<D>::IsIndexedDBEnabled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlSettings)->put_IsIndexedDBEnabled(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControlSettings<D>::IsIndexedDBEnabled() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlSettings<D>::IsIndexedDBEnabled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlSettings)->get_IsIndexedDBEnabled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlSettings<D>::IsScriptNotifyAllowed(bool value) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlSettings<D>::IsScriptNotifyAllowed(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlSettings)->put_IsScriptNotifyAllowed(value));
}
- template <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControlSettings<D>::IsScriptNotifyAllowed() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlSettings<D>::IsScriptNotifyAllowed() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlSettings)->get_IsScriptNotifyAllowed(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(bool) consume_Windows_Web_UI_IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs<D>::Handled() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs<D>::Handled() const
{
bool value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs)->get_Handled(&value));
return value;
}
- template <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs<D>::Handled(bool value) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs<D>::Handled(bool value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs)->put_Handled(value));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlUnviewableContentIdentifiedEventArgs<D>::Uri() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlUnviewableContentIdentifiedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) consume_Windows_Web_UI_IWebViewControlUnviewableContentIdentifiedEventArgs<D>::Referrer() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlUnviewableContentIdentifiedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(hstring) consume_Windows_Web_UI_IWebViewControlUnviewableContentIdentifiedEventArgs<D>::MediaType() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlUnviewableContentIdentifiedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs<D>::GetDeferral() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpRequestMessage) consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs<D>::Request() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs<D>::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 <typename D> WINRT_IMPL_AUTO(void) consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs<D>::Response(winrt::Windows::Web::Http::HttpResponseMessage const& value) const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs<D>::Response(winrt::Windows::Web::Http::HttpResponseMessage const& value) const
{
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlWebResourceRequestedEventArgs)->put_Response(*(void**)(&value)));
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpResponseMessage) consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs<D>::Response() const
+ template <typename D> auto consume_Windows_Web_UI_IWebViewControlWebResourceRequestedEventArgs<D>::Response() const
{
void* value{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::UI::IWebViewControlWebResourceRequestedEventArgs)->get_Response(&value));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.h
index 2ade92388e5..51b21b2a2f1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/Windows.Web.h
+++ b/chromium/third_party/nearby/src/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 <typename D> WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IInputStream>) consume_Windows_Web_IUriToStreamResolver<D>::UriToStreamAsync(winrt::Windows::Foundation::Uri const& uri) const
+ template <typename D> auto consume_Windows_Web_IUriToStreamResolver<D>::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<winrt::Windows::Storage::Streams::IInputStream>{ operation, take_ownership_from_abi };
}
- template <typename D> WINRT_IMPL_AUTO(winrt::Windows::Web::WebErrorStatus) consume_Windows_Web_IWebErrorStatics<D>::GetStatus(int32_t hresult) const
+ template <typename D> auto consume_Windows_Web_IWebErrorStatics<D>::GetStatus(int32_t hresult) const
{
winrt::Windows::Web::WebErrorStatus status{};
check_hresult(WINRT_IMPL_SHIM(winrt::Windows::Web::IWebErrorStatics)->GetStatus(hresult, reinterpret_cast<int32_t*>(&status)));
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/base.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/base.h
index 2d1eb4507d2..189fee09e36 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/base.h
+++ b/chromium/third_party/nearby/src/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<D const&>(*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 <typename TStringView>
- 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<T> const& object)
+ template<typename U = impl::com_ref<T> const&, typename = std::enable_if_t<std::is_convertible_v<U&&, impl::com_ref<T> const&>>>
+ weak_ref(U&& object)
{
- if (object)
- {
- if constexpr(impl::is_implements_v<T>)
- {
- 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<impl::IWeakReferenceSource>()->GetWeakReference(m_ref.put()));
- }
- }
+ from_com_ref(static_cast<impl::com_ref<T> const&>(object));
}
- [[nodiscard]] impl::com_ref<T> get() const noexcept
+ [[nodiscard]] auto get() const noexcept
{
if (!m_ref)
{
- return nullptr;
+ return impl::com_ref<T>{ nullptr };
}
if constexpr(impl::is_implements_v<T>)
@@ -4146,13 +4136,13 @@ WINRT_EXPORT namespace winrt
m_ref->Resolve(guid_of<T>(), put_abi(temp));
void* result = get_self<T>(temp);
detach_abi(temp);
- return { result, take_ownership_from_abi };
+ return impl::com_ref<T>{ result, take_ownership_from_abi };
}
else
{
void* result{};
m_ref->Resolve(guid_of<T>(), &result);
- return { result, take_ownership_from_abi };
+ return impl::com_ref<T>{ result, take_ownership_from_abi };
}
}
@@ -4168,6 +4158,24 @@ WINRT_EXPORT namespace winrt
private:
+ template<typename U>
+ void from_com_ref(U&& object)
+ {
+ if (object)
+ {
+ if constexpr (impl::is_implements_v<T>)
+ {
+ 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<impl::IWeakReferenceSource>()->GetWeakReference(m_ref.put()));
+ }
+ }
+ }
+
com_ptr<impl::IWeakReference> m_ref;
};
@@ -5802,8 +5810,8 @@ WINRT_EXPORT namespace winrt
using delegate_type = Delegate;
event() = default;
- event(event<Delegate> const&) = delete;
- event<Delegate>& operator =(event<Delegate> 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<typename...Arg>
void operator()(Arg const&... args)
{
@@ -6737,24 +6763,24 @@ namespace winrt::impl
template <>
struct interface_list<>
{
- template <typename T, typename Predicate>
- static constexpr void* find(const T*, const Predicate&) noexcept
+ template <typename Traits>
+ static constexpr auto find(Traits const& traits) noexcept
{
- return nullptr;
+ return traits.not_found();
}
};
template <typename First, typename ... Rest>
struct interface_list<First, Rest...>
{
- template <typename T, typename Predicate>
- static constexpr void* find(const T* obj, const Predicate& pred) noexcept
+ template <typename Traits>
+ static constexpr auto find(Traits const& traits) noexcept
{
- if (pred.template test<First>())
+ if (traits.template test<First>())
{
- return to_abi<First>(obj);
+ return traits.template found<First>();
}
- return interface_list<Rest...>::find(obj, pred);
+ return interface_list<Rest...>::find(traits);
}
using first_interface = First;
};
@@ -6846,34 +6872,88 @@ namespace winrt::impl
using type = typename implements_default_interface<T>::type;
};
- struct iid_finder
+ template<typename T>
+ struct find_iid_traits
{
- const guid& m_guid;
+ T const* m_object;
+ guid const& m_guid;
template <typename I>
constexpr bool test() const noexcept
{
return is_guid_of<typename default_interface<I>::type>(m_guid);
}
+
+ template <typename I>
+ constexpr void* found() const noexcept
+ {
+ return to_abi<I>(m_object);
+ }
+
+ static constexpr void* not_found() noexcept
+ {
+ return nullptr;
+ }
};
template <typename T>
- auto find_iid(const T* obj, const guid& iid) noexcept
+ auto find_iid(T const* obj, guid const& iid) noexcept
{
- return static_cast<unknown_abi*>(implemented_interfaces<T>::find(obj, iid_finder{ iid }));
+ return static_cast<unknown_abi*>(implemented_interfaces<T>::find(find_iid_traits<T>{ obj, iid }));
}
- struct inspectable_finder
+ template <typename I>
+ struct has_interface_traits
{
+ template <typename T>
+ constexpr bool test() const noexcept
+ {
+ return std::is_same_v<T, I>;
+ }
+
+ template <typename>
+ static constexpr bool found() noexcept
+ {
+ return true;
+ }
+
+ static constexpr bool not_found() noexcept
+ {
+ return false;
+ }
+ };
+
+ template <typename T, typename I>
+ constexpr bool has_interface() noexcept
+ {
+ return impl::implemented_interfaces<T>::find(has_interface_traits<I>{});
+ }
+
+ template<typename T>
+ struct find_inspectable_traits
+ {
+ T const* m_object;
+
template <typename I>
static constexpr bool test() noexcept
{
return std::is_base_of_v<inspectable_abi, abi_t<I>>;
}
+
+ template <typename I>
+ constexpr void* found() const noexcept
+ {
+ return to_abi<I>(m_object);
+ }
+
+ static constexpr void* not_found() noexcept
+ {
+ return nullptr;
+ }
};
template <typename T>
- inspectable_abi* find_inspectable(const T* obj) noexcept
+ inspectable_abi* find_inspectable(T const* obj) noexcept
{
using default_interface = typename implements_default_interface<T>::type;
@@ -6883,7 +6963,7 @@ namespace winrt::impl
}
else
{
- return static_cast<inspectable_abi*>(implemented_interfaces<T>::find(obj, inspectable_finder{}));
+ return static_cast<inspectable_abi*>(implemented_interfaces<T>::find(find_inspectable_traits<T>{ obj }));
}
}
@@ -6986,7 +7066,7 @@ namespace winrt::impl
template <typename D>
struct produce<D, INonDelegatingInspectable> : produce_base<D, INonDelegatingInspectable>
{
- 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<D>(static_cast<D*>(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<Windows::Foundation::IInspectable>(id) || is_guid_of<Windows::Foundation::IUnknown>(id))
{
@@ -7420,13 +7496,13 @@ namespace winrt::impl
int32_t __stdcall NonDelegatingGetIids(uint32_t* count, guid** array) noexcept
{
- const auto& local_iids = static_cast<D*>(this)->get_local_iids();
- const uint32_t& local_count = local_iids.first;
+ auto const& local_iids = static_cast<D*>(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<guid>& inner_iids = get_interfaces(root_implements_type::m_inner);
+ com_array<guid> const& inner_iids = get_interfaces(root_implements_type::m_inner);
*count = local_count + inner_iids.size();
*array = static_cast<guid*>(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 <typename T>
winrt::weak_ref<T> get_weak()
{
@@ -7538,7 +7627,7 @@ namespace winrt::impl
using is_agile = std::negation<std::disjunction<std::is_same<non_agile, I>...>>;
using is_inspectable = std::disjunction<std::is_base_of<Windows::Foundation::IInspectable, I>...>;
- using is_weak_ref_source = std::conjunction<is_inspectable, std::negation<std::disjunction<std::is_same<no_weak_ref, I>...>>>;
+ using is_weak_ref_source = std::negation<std::disjunction<std::is_same<no_weak_ref, I>...>>;
using use_module_lock = std::negation<std::disjunction<std::is_same<no_module_lock, I>...>>;
using weak_ref_t = impl::weak_ref<is_agile::value, use_module_lock::value>;
@@ -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_t> weak_ref;
- *weak_ref.put() = new (std::nothrow) weak_ref_t(get_unknown(), static_cast<uint32_t>(count_or_pointer));
+ uintptr_t count_or_pointer = m_references.load(std::memory_order_relaxed);
- if (!weak_ref)
- {
- return nullptr;
- }
+ if (is_weak_ref(count_or_pointer))
+ {
+ return decode_weak_ref(count_or_pointer)->get_source();
+ }
- uintptr_t const encoding = encode_weak_ref(weak_ref.get());
+ com_ptr<weak_ref_t> weak_ref;
+ *weak_ref.put() = new (std::nothrow) weak_ref_t(get_unknown(), static_cast<uint32_t>(count_or_pointer));
- for (;;)
- {
- if (m_references.compare_exchange_weak(count_or_pointer, encoding, std::memory_order_acq_rel, std::memory_order_relaxed))
+ if (!weak_ref)
{
- impl::IWeakReferenceSource* result = weak_ref->get_source();
- detach_abi(weak_ref);
- return result;
+ return nullptr;
}
- if (is_weak_ref(count_or_pointer))
+ uintptr_t const encoding = encode_weak_ref(weak_ref.get());
+
+ for (;;)
{
- return decode_weak_ref(count_or_pointer)->get_source();
- }
+ 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;
+ }
- weak_ref->set_strong(static_cast<uint32_t>(count_or_pointer));
+ if (is_weak_ref(count_or_pointer))
+ {
+ return decode_weak_ref(count_or_pointer)->get_source();
+ }
+
+ weak_ref->set_strong(static_cast<uint32_t>(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<weak_ref_t*>(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<uintptr_t>(1) << ((sizeof(uintptr_t) * 8) - 1);
WINRT_ASSERT((reinterpret_cast<uintptr_t>(value) & 1) == 0);
return (reinterpret_cast<uintptr_t>(value) >> 1) | pointer_flag;
}
virtual unknown_abi* get_unknown() const noexcept = 0;
- virtual std::pair<uint32_t, const guid*> get_local_iids() const noexcept = 0;
+ virtual std::pair<uint32_t, guid const*> 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<typename T>
+ class has_initializer
+ {
+ template <typename U, typename = decltype(std::declval<U>().InitializeComponent())> static constexpr bool get_value(int) { return true; }
+ template <typename> static constexpr bool get_value(...) { return false; }
+
+ public:
+ static constexpr bool value = get_value<T>(0);
+ };
+
+ template<typename T, typename... Args>
+ T* create_and_initialize(Args&&... args)
+ {
+ com_ptr<T> instance{ new heap_implements<T>(std::forward<Args>(args)...), take_ownership_from_abi };
+
+ if constexpr (has_initializer<T>::value)
+ {
+ instance->InitializeComponent();
+ }
+
+ return instance.detach();
+ }
+
inline com_ptr<IStaticLifetimeCollection> get_static_lifetime_map()
{
auto const lifetime_factory = get_activation_factory<impl::IStaticLifetime>(L"Windows.ApplicationModel.Core.CoreApplication");
@@ -7701,7 +7820,7 @@ namespace winrt::impl
if constexpr (!has_static_lifetime_v<D>)
{
- return { to_abi<result_type>(new heap_implements<D>), take_ownership_from_abi };
+ return { to_abi<result_type>(create_and_initialize<D>()), take_ownership_from_abi };
}
else
{
@@ -7715,7 +7834,7 @@ namespace winrt::impl
return { result, take_ownership_from_abi };
}
- result_type object{ to_abi<result_type>(new heap_implements<D>), take_ownership_from_abi };
+ result_type object{ to_abi<result_type>(create_and_initialize<D>()), 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<D>::value)
{
- impl::com_ref<I> result{ to_abi<I>(new impl::heap_implements<D>(std::forward<Args>(args)...)), take_ownership_from_abi };
+ impl::com_ref<I> result{ to_abi<I>(impl::create_and_initialize<D>(std::forward<Args>(args)...)), take_ownership_from_abi };
return result.template as<typename D::composable>();
}
else if constexpr (impl::has_class_type<D>::value)
{
static_assert(std::is_same_v<I, default_interface<typename D::class_type>>);
- return typename D::class_type{ to_abi<I>(new impl::heap_implements<D>(std::forward<Args>(args)...)), take_ownership_from_abi };
+ return typename D::class_type{ to_abi<I>(impl::create_and_initialize<D>(std::forward<Args>(args)...)), take_ownership_from_abi };
}
else
{
- return impl::com_ref<I>{ to_abi<I>(new impl::heap_implements<D>(std::forward<Args>(args)...)), take_ownership_from_abi };
+ return impl::com_ref<I>{ to_abi<I>(impl::create_and_initialize<D>(std::forward<Args>(args)...)), take_ownership_from_abi };
}
}
@@ -7793,7 +7912,7 @@ WINRT_EXPORT namespace winrt
}
else
{
- return { new impl::heap_implements<D>(std::forward<Args>(args)...), take_ownership_from_abi };
+ return { impl::create_and_initialize<D>(std::forward<Args>(args)...), take_ownership_from_abi };
}
}
@@ -7895,7 +8014,7 @@ WINRT_EXPORT namespace winrt
return impl::find_inspectable(static_cast<const D*>(this));
}
- std::pair<uint32_t, const guid*> get_local_iids() const noexcept override
+ std::pair<uint32_t, guid const*> get_local_iids() const noexcept override
{
using interfaces = impl::uncloaked_interfaces<D>;
using local_iids = impl::uncloaked_iids<interfaces>;
@@ -8221,7 +8340,7 @@ WINRT_EXPORT namespace winrt
static time_t to_time_t(time_point const& time) noexcept
{
- return static_cast<time_t>(std::chrono::system_clock::to_time_t(to_sys(time)));
+ return static_cast<time_t>(std::chrono::system_clock::to_time_t(to_sys(std::chrono::time_point_cast<std::chrono::system_clock::duration>(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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.0.h
index 252552fbe4b..f8879a7ad76 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
template <typename K, typename V> struct __declspec(empty_bases) IMap;
struct IPropertySet;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Graphics
{
@@ -966,10 +960,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::IImageFeatureDescriptor>
{
@@ -978,7 +972,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_IImageFeatureValue
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) VideoFrame() const;
+ [[nodiscard]] auto VideoFrame() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::IImageFeatureValue>
{
@@ -987,7 +981,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::IImageFeatureValueStatics>
{
@@ -996,14 +990,14 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring>) Metadata() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor>) InputFeatures() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor>) 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<winrt::Windows::AI::MachineLearning::ILearningModel>
{
@@ -1012,9 +1006,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::ILearningModelBinding>
{
@@ -1023,7 +1017,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::ILearningModelBindingFactory>
{
@@ -1032,8 +1026,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::ILearningModelDevice>
{
@@ -1042,7 +1036,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::ILearningModelDeviceFactory>
{
@@ -1051,7 +1045,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::ILearningModelDeviceStatics>
{
@@ -1060,10 +1054,10 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Foundation::IInspectable>) Outputs() const;
+ [[nodiscard]] auto CorrelationId() const;
+ [[nodiscard]] auto ErrorStatus() const;
+ [[nodiscard]] auto Succeeded() const;
+ [[nodiscard]] auto Outputs() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelEvaluationResult>
{
@@ -1072,10 +1066,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor>
{
@@ -1084,7 +1078,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelFeatureValue
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::LearningModelFeatureKind) Kind() const;
+ [[nodiscard]] auto Kind() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelFeatureValue>
{
@@ -1101,13 +1095,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult>) EvaluateAsync(winrt::Windows::AI::MachineLearning::LearningModelBinding const& bindings, param::hstring const& correlationId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModelEvaluationResult>) EvaluateFeaturesAsync(param::map<hstring, winrt::Windows::Foundation::IInspectable> 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<hstring, winrt::Windows::Foundation::IInspectable> 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<hstring, winrt::Windows::Foundation::IInspectable> 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<hstring, winrt::Windows::Foundation::IInspectable> const& features, param::hstring const& correlationId) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ILearningModelSession>
{
@@ -1116,8 +1110,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::ILearningModelSessionFactory>
{
@@ -1126,7 +1120,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::ILearningModelSessionFactory2>
{
@@ -1135,8 +1129,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions>
{
@@ -1145,8 +1139,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions2>
{
@@ -1155,7 +1149,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::ILearningModelSessionOptions3>
{
@@ -1164,14 +1158,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ILearningModelStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>) LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>) 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<winrt::Windows::AI::MachineLearning::LearningModel>) LoadFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile, winrt::Windows::AI::MachineLearning::ILearningModelOperatorProvider const& operatorProvider) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::LearningModel>) 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<winrt::Windows::AI::MachineLearning::ILearningModelStatics>
{
@@ -1180,8 +1174,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::IMapFeatureDescriptor>
{
@@ -1190,7 +1184,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ISequenceFeatureDescriptor
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::ILearningModelFeatureDescriptor) ElementDescriptor() const;
+ [[nodiscard]] auto ElementDescriptor() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ISequenceFeatureDescriptor>
{
@@ -1199,8 +1193,8 @@ namespace winrt::impl
template <typename D>
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<int64_t>) Shape() const;
+ [[nodiscard]] auto TensorKind() const;
+ [[nodiscard]] auto Shape() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensor>
{
@@ -1209,7 +1203,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorBoolean
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<bool>) GetAsVectorView() const;
+ auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorBoolean>
{
@@ -1218,10 +1212,10 @@ namespace winrt::impl
template <typename D>
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<int64_t> const& shape) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) CreateFromArray(param::iterable<int64_t> const& shape, array_view<bool const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<bool> const& data) const;
+ auto Create() const;
+ auto Create(param::iterable<int64_t> const& shape) const;
+ auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<bool const> data) const;
+ auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<bool> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorBooleanStatics>
{
@@ -1230,8 +1224,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorBooleanStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<bool const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorBoolean) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
+ auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<bool const> data) const;
+ auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorBooleanStatics2>
{
@@ -1240,7 +1234,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorDouble
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<double>) GetAsVectorView() const;
+ auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorDouble>
{
@@ -1249,10 +1243,10 @@ namespace winrt::impl
template <typename D>
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<int64_t> const& shape) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) CreateFromArray(param::iterable<int64_t> const& shape, array_view<double const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<double> const& data) const;
+ auto Create() const;
+ auto Create(param::iterable<int64_t> const& shape) const;
+ auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<double const> data) const;
+ auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<double> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorDoubleStatics>
{
@@ -1261,8 +1255,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorDoubleStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<double const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorDouble) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
+ auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<double const> data) const;
+ auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorDoubleStatics2>
{
@@ -1271,8 +1265,8 @@ namespace winrt::impl
template <typename D>
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<int64_t>) Shape() const;
+ [[nodiscard]] auto TensorKind() const;
+ [[nodiscard]] auto Shape() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorFeatureDescriptor>
{
@@ -1281,7 +1275,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorFloat
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<float>) GetAsVectorView() const;
+ auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorFloat>
{
@@ -1290,7 +1284,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorFloat16Bit
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<float>) GetAsVectorView() const;
+ auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorFloat16Bit>
{
@@ -1299,10 +1293,10 @@ namespace winrt::impl
template <typename D>
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<int64_t> const& shape) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<float const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<float> const& data) const;
+ auto Create() const;
+ auto Create(param::iterable<int64_t> const& shape) const;
+ auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<float const> data) const;
+ auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<float> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorFloat16BitStatics>
{
@@ -1311,8 +1305,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorFloat16BitStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<float const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat16Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
+ auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<float const> data) const;
+ auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorFloat16BitStatics2>
{
@@ -1321,10 +1315,10 @@ namespace winrt::impl
template <typename D>
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<int64_t> const& shape) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) CreateFromArray(param::iterable<int64_t> const& shape, array_view<float const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<float> const& data) const;
+ auto Create() const;
+ auto Create(param::iterable<int64_t> const& shape) const;
+ auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<float const> data) const;
+ auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<float> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorFloatStatics>
{
@@ -1333,8 +1327,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorFloatStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<float const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorFloat) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
+ auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<float const> data) const;
+ auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorFloatStatics2>
{
@@ -1343,7 +1337,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt16Bit
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int16_t>) GetAsVectorView() const;
+ auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt16Bit>
{
@@ -1352,10 +1346,10 @@ namespace winrt::impl
template <typename D>
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<int64_t> const& shape) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<int16_t const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int16_t> const& data) const;
+ auto Create() const;
+ auto Create(param::iterable<int64_t> const& shape) const;
+ auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<int16_t const> data) const;
+ auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int16_t> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt16BitStatics>
{
@@ -1364,8 +1358,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt16BitStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int16_t const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt16Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
+ auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int16_t const> data) const;
+ auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt16BitStatics2>
{
@@ -1374,7 +1368,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt32Bit
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int32_t>) GetAsVectorView() const;
+ auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt32Bit>
{
@@ -1383,10 +1377,10 @@ namespace winrt::impl
template <typename D>
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<int64_t> const& shape) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<int32_t const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int32_t> const& data) const;
+ auto Create() const;
+ auto Create(param::iterable<int64_t> const& shape) const;
+ auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<int32_t const> data) const;
+ auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int32_t> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt32BitStatics>
{
@@ -1395,8 +1389,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt32BitStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int32_t const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt32Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
+ auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int32_t const> data) const;
+ auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt32BitStatics2>
{
@@ -1405,7 +1399,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt64Bit
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int64_t>) GetAsVectorView() const;
+ auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt64Bit>
{
@@ -1414,10 +1408,10 @@ namespace winrt::impl
template <typename D>
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<int64_t> const& shape) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<int64_t const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int64_t> const& data) const;
+ auto Create() const;
+ auto Create(param::iterable<int64_t> const& shape) const;
+ auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<int64_t const> data) const;
+ auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<int64_t> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt64BitStatics>
{
@@ -1426,8 +1420,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt64BitStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int64_t const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt64Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
+ auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<int64_t const> data) const;
+ auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt64BitStatics2>
{
@@ -1436,7 +1430,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt8Bit
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint8_t>) GetAsVectorView() const;
+ auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt8Bit>
{
@@ -1445,10 +1439,10 @@ namespace winrt::impl
template <typename D>
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<int64_t> const& shape) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint8_t const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint8_t> const& data) const;
+ auto Create() const;
+ auto Create(param::iterable<int64_t> const& shape) const;
+ auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint8_t const> data) const;
+ auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint8_t> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt8BitStatics>
{
@@ -1457,8 +1451,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorInt8BitStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint8_t const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorInt8Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
+ auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint8_t const> data) const;
+ auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorInt8BitStatics2>
{
@@ -1467,7 +1461,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorString
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) GetAsVectorView() const;
+ auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorString>
{
@@ -1476,10 +1470,10 @@ namespace winrt::impl
template <typename D>
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<int64_t> const& shape) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) CreateFromArray(param::iterable<int64_t> const& shape, array_view<hstring const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<hstring> const& data) const;
+ auto Create() const;
+ auto Create(param::iterable<int64_t> const& shape) const;
+ auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<hstring const> data) const;
+ auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<hstring> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorStringStatics>
{
@@ -1488,7 +1482,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorStringStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorString) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<hstring const> data) const;
+ auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<hstring const> data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorStringStatics2>
{
@@ -1497,7 +1491,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt16Bit
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint16_t>) GetAsVectorView() const;
+ auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt16Bit>
{
@@ -1506,10 +1500,10 @@ namespace winrt::impl
template <typename D>
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<int64_t> const& shape) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint16_t const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint16_t> const& data) const;
+ auto Create() const;
+ auto Create(param::iterable<int64_t> const& shape) const;
+ auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint16_t const> data) const;
+ auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint16_t> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt16BitStatics>
{
@@ -1518,8 +1512,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt16BitStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint16_t const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt16Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
+ auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint16_t const> data) const;
+ auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt16BitStatics2>
{
@@ -1528,7 +1522,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt32Bit
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) GetAsVectorView() const;
+ auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt32Bit>
{
@@ -1537,10 +1531,10 @@ namespace winrt::impl
template <typename D>
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<int64_t> const& shape) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint32_t const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint32_t> const& data) const;
+ auto Create() const;
+ auto Create(param::iterable<int64_t> const& shape) const;
+ auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint32_t const> data) const;
+ auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint32_t> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt32BitStatics>
{
@@ -1549,8 +1543,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt32BitStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint32_t const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt32Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
+ auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint32_t const> data) const;
+ auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt32BitStatics2>
{
@@ -1559,7 +1553,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt64Bit
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint64_t>) GetAsVectorView() const;
+ auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt64Bit>
{
@@ -1568,10 +1562,10 @@ namespace winrt::impl
template <typename D>
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<int64_t> const& shape) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint64_t const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint64_t> const& data) const;
+ auto Create() const;
+ auto Create(param::iterable<int64_t> const& shape) const;
+ auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint64_t const> data) const;
+ auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint64_t> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt64BitStatics>
{
@@ -1580,8 +1574,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt64BitStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint64_t const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt64Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
+ auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint64_t const> data) const;
+ auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt64BitStatics2>
{
@@ -1590,7 +1584,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt8Bit
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint8_t>) GetAsVectorView() const;
+ auto GetAsVectorView() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt8Bit>
{
@@ -1599,10 +1593,10 @@ namespace winrt::impl
template <typename D>
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<int64_t> const& shape) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint8_t const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint8_t> const& data) const;
+ auto Create() const;
+ auto Create(param::iterable<int64_t> const& shape) const;
+ auto CreateFromArray(param::iterable<int64_t> const& shape, array_view<uint8_t const> data) const;
+ auto CreateFromIterable(param::iterable<int64_t> const& shape, param::iterable<uint8_t> const& data) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt8BitStatics>
{
@@ -1611,8 +1605,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_ITensorUInt8BitStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint8_t const> data) const;
- WINRT_IMPL_AUTO(winrt::Windows::AI::MachineLearning::TensorUInt8Bit) CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
+ auto CreateFromShapeArrayAndDataArray(array_view<int64_t const> shape, array_view<uint8_t const> data) const;
+ auto CreateFromBuffer(array_view<int64_t const> shape, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::ITensorUInt8BitStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.1.h
index b867ed53d59..6625446de59 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.2.h
index 859f8baf9f1..d1e0c6351f5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.0.h
index 0d5b97b06d9..67f8487fe21 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
- template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
template <typename K, typename V> struct __declspec(empty_bases) IMap;
struct IPropertySet;
}
@@ -281,9 +275,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::Preview::IImageVariableDescriptorPreview>
{
@@ -292,16 +286,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::Preview::IInferencingOptionsPreview>
{
@@ -310,9 +304,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::Preview::ILearningModelBindingPreview>
{
@@ -321,7 +315,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::Preview::ILearningModelBindingPreviewFactory>
{
@@ -330,14 +324,14 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring>) Metadata() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview>) InputFeatures() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview>) 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<winrt::Windows::AI::MachineLearning::Preview::ILearningModelDescriptionPreview>
{
@@ -346,8 +340,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_Preview_ILearningModelEvaluationResultPreview
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) CorrelationId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) Outputs() const;
+ [[nodiscard]] auto CorrelationId() const;
+ [[nodiscard]] auto Outputs() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::Preview::ILearningModelEvaluationResultPreview>
{
@@ -356,11 +350,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_Preview_ILearningModelPreview
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::Preview::LearningModelEvaluationResultPreview>) EvaluateAsync(winrt::Windows::AI::MachineLearning::Preview::LearningModelBindingPreview const& binding, param::hstring const& correlationId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::Preview::LearningModelEvaluationResultPreview>) EvaluateFeaturesAsync(param::map<hstring, winrt::Windows::Foundation::IInspectable> 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<hstring, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::AI::MachineLearning::Preview::ILearningModelPreview>
{
@@ -369,8 +363,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_AI_MachineLearning_Preview_ILearningModelPreviewStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::Preview::LearningModelPreview>) LoadModelFromStorageFileAsync(winrt::Windows::Storage::IStorageFile const& modelFile) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::AI::MachineLearning::Preview::LearningModelPreview>) 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<winrt::Windows::AI::MachineLearning::Preview::ILearningModelPreviewStatics>
{
@@ -379,10 +373,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::Preview::ILearningModelVariableDescriptorPreview>
{
@@ -391,10 +385,10 @@ namespace winrt::impl
template <typename D>
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<hstring>) ValidStringKeys() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<int64_t>) 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<winrt::Windows::AI::MachineLearning::Preview::IMapVariableDescriptorPreview>
{
@@ -403,7 +397,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::AI::MachineLearning::Preview::ISequenceVariableDescriptorPreview>
{
@@ -412,8 +406,8 @@ namespace winrt::impl
template <typename D>
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<int64_t>) Shape() const;
+ [[nodiscard]] auto DataType() const;
+ [[nodiscard]] auto Shape() const;
};
template <> struct consume<winrt::Windows::AI::MachineLearning::Preview::ITensorVariableDescriptorPreview>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.1.h
index 4894c0facab..41a9537438e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.2.h
index 3b27257549a..f9b63fc7231 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.AI.MachineLearning.Preview.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.0.h
index 06167009351..064238ff20e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
struct Size;
template <typename TSender, typename TResult> 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 <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Storage
{
@@ -954,9 +945,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IAppDisplayInfo>
{
@@ -965,10 +956,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IAppInfo>
{
@@ -977,7 +968,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IAppInfo2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const;
+ [[nodiscard]] auto Package() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IAppInfo2>
{
@@ -986,7 +977,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IAppInfo3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppExecutionContext) ExecutionContext() const;
+ [[nodiscard]] auto ExecutionContext() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IAppInfo3>
{
@@ -995,7 +986,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IAppInfo4
{
- [[nodiscard]] WINRT_IMPL_AUTO(com_array<hstring>) SupportedFileExtensions() const;
+ [[nodiscard]] auto SupportedFileExtensions() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IAppInfo4>
{
@@ -1004,9 +995,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IAppInfoStatics>
{
@@ -1015,7 +1006,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IAppInstallerInfo
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const;
+ [[nodiscard]] auto Uri() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IAppInstallerInfo>
{
@@ -1024,9 +1015,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IAppInstance>
{
@@ -1035,11 +1026,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::AppInstance>) 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<winrt::Windows::ApplicationModel::IAppInstanceStatics>
{
@@ -1048,7 +1039,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_ICameraApplicationManagerStatics
{
- WINRT_IMPL_AUTO(void) ShowInstalledApplicationsUI() const;
+ auto ShowInstalledApplicationsUI() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::ICameraApplicationManagerStatics>
{
@@ -1057,7 +1048,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IDesignModeStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) DesignModeEnabled() const;
+ [[nodiscard]] auto DesignModeEnabled() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IDesignModeStatics>
{
@@ -1066,7 +1057,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IDesignModeStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) DesignMode2Enabled() const;
+ [[nodiscard]] auto DesignMode2Enabled() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IDesignModeStatics2>
{
@@ -1075,7 +1066,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IEnteredBackgroundEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IEnteredBackgroundEventArgs>
{
@@ -1084,10 +1075,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IFullTrustProcessLauncherStatics>
{
@@ -1096,7 +1087,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_ILeavingBackgroundEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::ILeavingBackgroundEventArgs>
{
@@ -1105,9 +1096,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) EstimatedRemovalDate() const;
+ [[nodiscard]] auto FeatureId() const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto EstimatedRemovalDate() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::ILimitedAccessFeatureRequestResult>
{
@@ -1116,7 +1107,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::ILimitedAccessFeaturesStatics>
{
@@ -1125,10 +1116,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Package>) Dependencies() const;
+ [[nodiscard]] auto Id() const;
+ [[nodiscard]] auto InstalledLocation() const;
+ [[nodiscard]] auto IsFramework() const;
+ [[nodiscard]] auto Dependencies() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IPackage>
{
@@ -1137,13 +1128,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IPackage2>
{
@@ -1152,9 +1143,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Core::AppListEntry>>) GetAppListEntriesAsync() const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto InstalledDate() const;
+ auto GetAppListEntriesAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IPackage3>
{
@@ -1163,9 +1154,9 @@ namespace winrt::impl
template <typename D>
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<bool>) VerifyContentIntegrityAsync() const;
+ [[nodiscard]] auto SignatureKind() const;
+ [[nodiscard]] auto IsOptional() const;
+ auto VerifyContentIntegrityAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IPackage4>
{
@@ -1174,11 +1165,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IPackage5
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::PackageContentGroup>>) GetContentGroupsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageContentGroup>) GetContentGroupAsync(param::hstring const& name) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::PackageContentGroup>>) StageContentGroupsAsync(param::async_iterable<hstring> const& names) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::PackageContentGroup>>) StageContentGroupsAsync(param::async_iterable<hstring> const& names, bool moveToHeadOfQueue) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) SetInUseAsync(bool inUse) const;
+ auto GetContentGroupsAsync() const;
+ auto GetContentGroupAsync(param::hstring const& name) const;
+ auto StageContentGroupsAsync(param::async_iterable<hstring> const& names) const;
+ auto StageContentGroupsAsync(param::async_iterable<hstring> const& names, bool moveToHeadOfQueue) const;
+ auto SetInUseAsync(bool inUse) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IPackage5>
{
@@ -1187,8 +1178,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IPackage6
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInstallerInfo) GetAppInstallerInfo() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageUpdateAvailabilityResult>) CheckUpdateAvailabilityAsync() const;
+ auto GetAppInstallerInfo() const;
+ auto CheckUpdateAvailabilityAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IPackage6>
{
@@ -1197,8 +1188,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IPackage7>
{
@@ -1207,18 +1198,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Core::AppListEntry>) 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<winrt::Windows::ApplicationModel::IPackage8>
{
@@ -1227,26 +1218,26 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IPackageCatalog
{
- WINRT_IMPL_AUTO(winrt::event_token) PackageStaging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStagingEventArgs> const& handler) const;
+ auto PackageStaging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStagingEventArgs> const& handler) const;
using PackageStaging_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::IPackageCatalog, &impl::abi_t<winrt::Windows::ApplicationModel::IPackageCatalog>::remove_PackageStaging>;
- [[nodiscard]] PackageStaging_revoker PackageStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStagingEventArgs> 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<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageInstallingEventArgs> const& handler) const;
+ [[nodiscard]] auto PackageStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStagingEventArgs> const& handler) const;
+ auto PackageStaging(winrt::event_token const& token) const noexcept;
+ auto PackageInstalling(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageInstallingEventArgs> const& handler) const;
using PackageInstalling_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::IPackageCatalog, &impl::abi_t<winrt::Windows::ApplicationModel::IPackageCatalog>::remove_PackageInstalling>;
- [[nodiscard]] PackageInstalling_revoker PackageInstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageInstallingEventArgs> 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<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUpdatingEventArgs> const& handler) const;
+ [[nodiscard]] auto PackageInstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageInstallingEventArgs> const& handler) const;
+ auto PackageInstalling(winrt::event_token const& token) const noexcept;
+ auto PackageUpdating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUpdatingEventArgs> const& handler) const;
using PackageUpdating_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::IPackageCatalog, &impl::abi_t<winrt::Windows::ApplicationModel::IPackageCatalog>::remove_PackageUpdating>;
- [[nodiscard]] PackageUpdating_revoker PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUpdatingEventArgs> 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<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUninstallingEventArgs> const& handler) const;
+ [[nodiscard]] auto PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUpdatingEventArgs> const& handler) const;
+ auto PackageUpdating(winrt::event_token const& token) const noexcept;
+ auto PackageUninstalling(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUninstallingEventArgs> const& handler) const;
using PackageUninstalling_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::IPackageCatalog, &impl::abi_t<winrt::Windows::ApplicationModel::IPackageCatalog>::remove_PackageUninstalling>;
- [[nodiscard]] PackageUninstalling_revoker PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUninstallingEventArgs> 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<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStatusChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageUninstallingEventArgs> const& handler) const;
+ auto PackageUninstalling(winrt::event_token const& token) const noexcept;
+ auto PackageStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStatusChangedEventArgs> const& handler) const;
using PackageStatusChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::IPackageCatalog, &impl::abi_t<winrt::Windows::ApplicationModel::IPackageCatalog>::remove_PackageStatusChanged>;
- [[nodiscard]] PackageStatusChanged_revoker PackageStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStatusChangedEventArgs> 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<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStatusChangedEventArgs> const& handler) const;
+ auto PackageStatusChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::IPackageCatalog>
{
@@ -1255,11 +1246,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IPackageCatalog2
{
- WINRT_IMPL_AUTO(winrt::event_token) PackageContentGroupStaging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageContentGroupStagingEventArgs> const& handler) const;
+ auto PackageContentGroupStaging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageContentGroupStagingEventArgs> const& handler) const;
using PackageContentGroupStaging_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::IPackageCatalog2, &impl::abi_t<winrt::Windows::ApplicationModel::IPackageCatalog2>::remove_PackageContentGroupStaging>;
- [[nodiscard]] PackageContentGroupStaging_revoker PackageContentGroupStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageContentGroupStagingEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) PackageContentGroupStaging(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageCatalogAddOptionalPackageResult>) AddOptionalPackageAsync(param::hstring const& optionalPackageFamilyName) const;
+ [[nodiscard]] auto PackageContentGroupStaging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageContentGroupStagingEventArgs> const& handler) const;
+ auto PackageContentGroupStaging(winrt::event_token const& token) const noexcept;
+ auto AddOptionalPackageAsync(param::hstring const& optionalPackageFamilyName) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IPackageCatalog2>
{
@@ -1268,7 +1259,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IPackageCatalog3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageCatalogRemoveOptionalPackagesResult>) RemoveOptionalPackagesAsync(param::async_iterable<hstring> const& optionalPackageFamilyNames) const;
+ auto RemoveOptionalPackagesAsync(param::async_iterable<hstring> const& optionalPackageFamilyNames) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IPackageCatalog3>
{
@@ -1277,8 +1268,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IPackageCatalog4
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::ApplicationModel::PackageCatalogAddResourcePackageResult, winrt::Windows::ApplicationModel::PackageInstallProgress>) AddResourcePackageAsync(param::hstring const& resourcePackageFamilyName, param::hstring const& resourceID, winrt::Windows::ApplicationModel::AddResourcePackageOptions const& options) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::PackageCatalogRemoveResourcePackagesResult>) RemoveResourcePackagesAsync(param::async_iterable<winrt::Windows::ApplicationModel::Package> 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<winrt::Windows::ApplicationModel::Package> const& resourcePackages) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IPackageCatalog4>
{
@@ -1287,8 +1278,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IPackageCatalogAddOptionalPackageResult>
{
@@ -1297,9 +1288,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IPackageCatalogAddResourcePackageResult>
{
@@ -1308,8 +1299,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IPackageCatalogRemoveOptionalPackagesResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Package>) PackagesRemoved() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto PackagesRemoved() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IPackageCatalogRemoveOptionalPackagesResult>
{
@@ -1318,8 +1309,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IPackageCatalogRemoveResourcePackagesResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Package>) PackagesRemoved() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto PackagesRemoved() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IPackageCatalogRemoveResourcePackagesResult>
{
@@ -1328,8 +1319,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IPackageCatalogStatics>
{
@@ -1338,10 +1329,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IPackageContentGroup>
{
@@ -1350,13 +1341,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs>
{
@@ -1365,7 +1356,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IPackageContentGroupStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) RequiredGroupName() const;
+ [[nodiscard]] auto RequiredGroupName() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IPackageContentGroupStatics>
{
@@ -1374,14 +1365,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IPackageId>
{
@@ -1390,8 +1381,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IPackageIdWithMetadata>
{
@@ -1400,11 +1391,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IPackageInstallingEventArgs>
{
@@ -1413,11 +1404,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IPackageStagingEventArgs>
{
@@ -1426,7 +1417,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IPackageStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Current() const;
+ [[nodiscard]] auto Current() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IPackageStatics>
{
@@ -1435,18 +1426,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IPackageStatus>
{
@@ -1455,7 +1446,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IPackageStatus2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPartiallyStaged() const;
+ [[nodiscard]] auto IsPartiallyStaged() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IPackageStatus2>
{
@@ -1464,7 +1455,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IPackageStatusChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Package) Package() const;
+ [[nodiscard]] auto Package() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IPackageStatusChangedEventArgs>
{
@@ -1473,11 +1464,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IPackageUninstallingEventArgs>
{
@@ -1486,8 +1477,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IPackageUpdateAvailabilityResult>
{
@@ -1496,12 +1487,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IPackageUpdatingEventArgs>
{
@@ -1510,9 +1501,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::IPackageWithMetadata>
{
@@ -1521,10 +1512,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IStartupTask
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::StartupTaskState>) 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<winrt::Windows::ApplicationModel::IStartupTask>
{
@@ -1533,8 +1524,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_IStartupTaskStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::StartupTask>>) GetForCurrentPackageAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::StartupTask>) GetAsync(param::hstring const& taskId) const;
+ auto GetForCurrentPackageAsync() const;
+ auto GetAsync(param::hstring const& taskId) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IStartupTaskStatics>
{
@@ -1543,7 +1534,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_ISuspendingDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::ISuspendingDeferral>
{
@@ -1552,7 +1543,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_ISuspendingEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::SuspendingOperation) SuspendingOperation() const;
+ [[nodiscard]] auto SuspendingOperation() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::ISuspendingEventArgs>
{
@@ -1561,8 +1552,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::ISuspendingOperation>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.1.h
index 897f809d1a0..955cbc292a4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.2.h
index 0e04d1ea954..c9af412bccf 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.0.h
index 5b13173168e..8b261d1863e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IReference;
struct Rect;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
- template <typename T> 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 <typename D>
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<winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs>
{
@@ -1100,7 +1093,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IActivatedEventArgsWithUser
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
+ [[nodiscard]] auto User() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IActivatedEventArgsWithUser>
{
@@ -1109,7 +1102,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IApplicationViewActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CurrentlyShownApplicationViewId() const;
+ [[nodiscard]] auto CurrentlyShownApplicationViewId() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IApplicationViewActivatedEventArgs>
{
@@ -1118,7 +1111,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IAppointmentsProviderActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Verb() const;
+ [[nodiscard]] auto Verb() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderActivatedEventArgs>
{
@@ -1127,7 +1120,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderAddAppointmentActivatedEventArgs>
{
@@ -1136,7 +1129,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderRemoveAppointmentActivatedEventArgs>
{
@@ -1145,7 +1138,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderReplaceAppointmentActivatedEventArgs>
{
@@ -1154,9 +1147,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) 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<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs>
{
@@ -1165,8 +1158,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IAppointmentsProviderShowTimeFrameActivatedEventArgs>
{
@@ -1175,7 +1168,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IBackgroundActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance) TaskInstance() const;
+ [[nodiscard]] auto TaskInstance() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IBackgroundActivatedEventArgs>
{
@@ -1184,7 +1177,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IBarcodeScannerPreviewActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ConnectionId() const;
+ [[nodiscard]] auto ConnectionId() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IBarcodeScannerPreviewActivatedEventArgs>
{
@@ -1193,7 +1186,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_ICachedFileUpdaterActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::CachedFileUpdaterUI) CachedFileUpdaterUI() const;
+ [[nodiscard]] auto CachedFileUpdaterUI() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::ICachedFileUpdaterActivatedEventArgs>
{
@@ -1202,8 +1195,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::ICameraSettingsActivatedEventArgs>
{
@@ -1212,7 +1205,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_ICommandLineActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::CommandLineActivationOperation) Operation() const;
+ [[nodiscard]] auto Operation() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::ICommandLineActivatedEventArgs>
{
@@ -1221,11 +1214,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::ICommandLineActivationOperation>
{
@@ -1234,7 +1227,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IContactActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Verb() const;
+ [[nodiscard]] auto Verb() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IContactActivatedEventArgs>
{
@@ -1243,9 +1236,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IContactCallActivatedEventArgs>
{
@@ -1254,8 +1247,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IContactMapActivatedEventArgs>
{
@@ -1264,9 +1257,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IContactMessageActivatedEventArgs>
{
@@ -1275,8 +1268,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IContactPanelActivatedEventArgs>
{
@@ -1285,7 +1278,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IContactPickerActivatedEventArgs>
{
@@ -1294,9 +1287,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IContactPostActivatedEventArgs>
{
@@ -1305,9 +1298,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IContactVideoCallActivatedEventArgs>
{
@@ -1316,7 +1309,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IContactsProviderActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Verb() const;
+ [[nodiscard]] auto Verb() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IContactsProviderActivatedEventArgs>
{
@@ -1325,7 +1318,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IContinuationActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) ContinuationData() const;
+ [[nodiscard]] auto ContinuationData() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IContinuationActivatedEventArgs>
{
@@ -1334,8 +1327,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IDeviceActivatedEventArgs>
{
@@ -1344,7 +1337,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IDevicePairingActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) DeviceInformation() const;
+ [[nodiscard]] auto DeviceInformation() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IDevicePairingActivatedEventArgs>
{
@@ -1353,7 +1346,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IDialReceiverActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppName() const;
+ [[nodiscard]] auto AppName() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IDialReceiverActivatedEventArgs>
{
@@ -1362,8 +1355,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>) Files() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Verb() const;
+ [[nodiscard]] auto Files() const;
+ [[nodiscard]] auto Verb() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgs>
{
@@ -1372,7 +1365,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgsWithCallerPackageFamilyName
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) CallerPackageFamilyName() const;
+ [[nodiscard]] auto CallerPackageFamilyName() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithCallerPackageFamilyName>
{
@@ -1381,7 +1374,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IFileActivatedEventArgsWithNeighboringFiles
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::StorageFileQueryResult) NeighboringFilesQuery() const;
+ [[nodiscard]] auto NeighboringFilesQuery() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IFileActivatedEventArgsWithNeighboringFiles>
{
@@ -1390,7 +1383,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs>
{
@@ -1399,7 +1392,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IFileOpenPickerActivatedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) CallerPackageFamilyName() const;
+ [[nodiscard]] auto CallerPackageFamilyName() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IFileOpenPickerActivatedEventArgs2>
{
@@ -1408,7 +1401,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IFileOpenPickerContinuationEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>) Files() const;
+ [[nodiscard]] auto Files() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IFileOpenPickerContinuationEventArgs>
{
@@ -1417,7 +1410,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs>
{
@@ -1426,8 +1419,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IFileSavePickerActivatedEventArgs2>
{
@@ -1436,7 +1429,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IFileSavePickerContinuationEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) File() const;
+ [[nodiscard]] auto File() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IFileSavePickerContinuationEventArgs>
{
@@ -1445,7 +1438,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IFolderPickerContinuationEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) Folder() const;
+ [[nodiscard]] auto Folder() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IFolderPickerContinuationEventArgs>
{
@@ -1454,8 +1447,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs>
{
@@ -1464,7 +1457,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_ILaunchActivatedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Activation::TileActivatedInfo) TileActivatedInfo() const;
+ [[nodiscard]] auto TileActivatedInfo() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::ILaunchActivatedEventArgs2>
{
@@ -1473,7 +1466,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_ILockScreenActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Info() const;
+ [[nodiscard]] auto Info() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::ILockScreenActivatedEventArgs>
{
@@ -1482,7 +1475,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_ILockScreenCallActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::LockScreenCallUI) CallUI() const;
+ [[nodiscard]] auto CallUI() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::ILockScreenCallActivatedEventArgs>
{
@@ -1491,7 +1484,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IPickerReturnedActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) PickerOperationId() const;
+ [[nodiscard]] auto PickerOperationId() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IPickerReturnedActivatedEventArgs>
{
@@ -1500,7 +1493,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IPrelaunchActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) PrelaunchActivated() const;
+ [[nodiscard]] auto PrelaunchActivated() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IPrelaunchActivatedEventArgs>
{
@@ -1509,7 +1502,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IPrint3DWorkflowActivatedEventArgs>
{
@@ -1518,7 +1511,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IPrintTaskSettingsActivatedEventArgs>
{
@@ -1527,7 +1520,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IProtocolActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const;
+ [[nodiscard]] auto Uri() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgs>
{
@@ -1536,8 +1529,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData>
{
@@ -1546,7 +1539,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IProtocolForResultsActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::ProtocolForResultsOperation) ProtocolForResultsOperation() const;
+ [[nodiscard]] auto ProtocolForResultsOperation() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IProtocolForResultsActivatedEventArgs>
{
@@ -1555,7 +1548,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IRestrictedLaunchActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SharedContext() const;
+ [[nodiscard]] auto SharedContext() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IRestrictedLaunchActivatedEventArgs>
{
@@ -1564,8 +1557,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgs>
{
@@ -1574,7 +1567,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_ISearchActivatedEventArgsWithLinguisticDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneQueryLinguisticDetails) LinguisticDetails() const;
+ [[nodiscard]] auto LinguisticDetails() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::ISearchActivatedEventArgsWithLinguisticDetails>
{
@@ -1583,7 +1576,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IShareTargetActivatedEventArgs>
{
@@ -1592,11 +1585,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::SplashScreen, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto ImageLocation() const;
+ auto Dismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Activation::SplashScreen, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Dismissed_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Activation::ISplashScreen, &impl::abi_t<winrt::Windows::ApplicationModel::Activation::ISplashScreen>::remove_Dismissed>;
- [[nodiscard]] Dismissed_revoker Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Activation::SplashScreen, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Activation::SplashScreen, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Dismissed(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::ISplashScreen>
{
@@ -1605,7 +1598,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IStartupTaskActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) TaskId() const;
+ [[nodiscard]] auto TaskId() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IStartupTaskActivatedEventArgs>
{
@@ -1614,7 +1607,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_ITileActivatedInfo
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ShownTileNotification>) RecentlyShownNotifications() const;
+ [[nodiscard]] auto RecentlyShownNotifications() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::ITileActivatedInfo>
{
@@ -1623,8 +1616,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IToastNotificationActivatedEventArgs>
{
@@ -1633,7 +1626,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IUserDataAccountProviderActivatedEventArgs>
{
@@ -1642,7 +1635,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IViewSwitcherProvider
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::ActivationViewSwitcher) ViewSwitcher() const;
+ [[nodiscard]] auto ViewSwitcher() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IViewSwitcherProvider>
{
@@ -1651,7 +1644,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Activation_IVoiceCommandActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult) Result() const;
+ [[nodiscard]] auto Result() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Activation::IVoiceCommandActivatedEventArgs>
{
@@ -1660,9 +1653,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IWalletActionActivatedEventArgs>
{
@@ -1671,7 +1664,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IWebAccountProviderActivatedEventArgs>
{
@@ -1680,7 +1673,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Activation::IWebAuthenticationBrokerContinuationEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.1.h
index 48df8e66012..3e77e6a0de5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.2.h
index 4aadb004fbb..4e6190d71b2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Activation.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.0.h
index cd7c71c0fb4..09ef38c8143 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- struct IPropertySet;
- template <typename T> 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 <typename D>
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<winrt::Windows::Foundation::Collections::IPropertySet>) GetExtensionPropertiesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) 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<winrt::Windows::ApplicationModel::AppExtensions::IAppExtension>
{
@@ -186,28 +176,28 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_AppExtensions_IAppExtensionCatalog
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppExtensions::AppExtension>>) FindAllAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestRemovePackageAsync(param::hstring const& packageFullName) const;
- WINRT_IMPL_AUTO(winrt::event_token) PackageInstalled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageInstalledEventArgs> const& handler) const;
+ auto FindAllAsync() const;
+ auto RequestRemovePackageAsync(param::hstring const& packageFullName) const;
+ auto PackageInstalled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageInstalledEventArgs> const& handler) const;
using PackageInstalled_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog, &impl::abi_t<winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog>::remove_PackageInstalled>;
- [[nodiscard]] PackageInstalled_revoker PackageInstalled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageInstalledEventArgs> 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<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatingEventArgs> const& handler) const;
+ [[nodiscard]] auto PackageInstalled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageInstalledEventArgs> const& handler) const;
+ auto PackageInstalled(winrt::event_token const& token) const noexcept;
+ auto PackageUpdating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatingEventArgs> const& handler) const;
using PackageUpdating_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog, &impl::abi_t<winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog>::remove_PackageUpdating>;
- [[nodiscard]] PackageUpdating_revoker PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatingEventArgs> 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<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatedEventArgs> const& handler) const;
+ [[nodiscard]] auto PackageUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatingEventArgs> const& handler) const;
+ auto PackageUpdating(winrt::event_token const& token) const noexcept;
+ auto PackageUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatedEventArgs> const& handler) const;
using PackageUpdated_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog, &impl::abi_t<winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog>::remove_PackageUpdated>;
- [[nodiscard]] PackageUpdated_revoker PackageUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatedEventArgs> 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<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUninstallingEventArgs> const& handler) const;
+ [[nodiscard]] auto PackageUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUpdatedEventArgs> const& handler) const;
+ auto PackageUpdated(winrt::event_token const& token) const noexcept;
+ auto PackageUninstalling(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUninstallingEventArgs> const& handler) const;
using PackageUninstalling_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog, &impl::abi_t<winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog>::remove_PackageUninstalling>;
- [[nodiscard]] PackageUninstalling_revoker PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUninstallingEventArgs> 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<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageStatusChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto PackageUninstalling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageUninstallingEventArgs> const& handler) const;
+ auto PackageUninstalling(winrt::event_token const& token) const noexcept;
+ auto PackageStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageStatusChangedEventArgs> const& handler) const;
using PackageStatusChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog, &impl::abi_t<winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog>::remove_PackageStatusChanged>;
- [[nodiscard]] PackageStatusChanged_revoker PackageStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageStatusChangedEventArgs> 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<winrt::Windows::ApplicationModel::AppExtensions::AppExtensionCatalog, winrt::Windows::ApplicationModel::AppExtensions::AppExtensionPackageStatusChangedEventArgs> const& handler) const;
+ auto PackageStatusChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalog>
{
@@ -216,7 +206,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionCatalogStatics>
{
@@ -225,9 +215,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::AppExtensions::AppExtension>) Extensions() const;
+ [[nodiscard]] auto AppExtensionName() const;
+ [[nodiscard]] auto Package() const;
+ [[nodiscard]] auto Extensions() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageInstalledEventArgs>
{
@@ -236,8 +226,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageStatusChangedEventArgs>
{
@@ -246,8 +236,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageUninstallingEventArgs>
{
@@ -256,9 +246,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::AppExtensions::AppExtension>) Extensions() const;
+ [[nodiscard]] auto AppExtensionName() const;
+ [[nodiscard]] auto Package() const;
+ [[nodiscard]] auto Extensions() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageUpdatedEventArgs>
{
@@ -267,8 +257,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::AppExtensions::IAppExtensionPackageUpdatingEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.1.h
index 9e7369c92bd..4269c587592 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.2.h
index 00264d851b7..01f30092cf0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppExtensions.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.0.h
index 3bc8eaff471..3c002ab95e4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
- template <typename T> struct __declspec(empty_bases) IVectorView;
struct ValueSet;
}
WINRT_EXPORT namespace winrt::Windows::System
@@ -302,7 +296,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_AppService_IAppServiceCatalogStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppInfo>>) FindAppServiceProvidersAsync(param::hstring const& appServiceName) const;
+ auto FindAppServiceProvidersAsync(param::hstring const& appServiceName) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::AppService::IAppServiceCatalogStatics>
{
@@ -311,7 +305,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_AppService_IAppServiceClosedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppService::AppServiceClosedStatus) Status() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::AppService::IAppServiceClosedEventArgs>
{
@@ -320,20 +314,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::AppService::AppServiceConnectionStatus>) OpenAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::AppService::AppServiceResponse>) SendMessageAsync(winrt::Windows::Foundation::Collections::ValueSet const& message) const;
- WINRT_IMPL_AUTO(winrt::event_token) RequestReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceRequestReceivedEventArgs> 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<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceRequestReceivedEventArgs> const& handler) const;
using RequestReceived_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::AppService::IAppServiceConnection, &impl::abi_t<winrt::Windows::ApplicationModel::AppService::IAppServiceConnection>::remove_RequestReceived>;
- [[nodiscard]] RequestReceived_revoker RequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceRequestReceivedEventArgs> 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<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceClosedEventArgs> const& handler) const;
+ [[nodiscard]] auto RequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceRequestReceivedEventArgs> const& handler) const;
+ auto RequestReceived(winrt::event_token const& token) const noexcept;
+ auto ServiceClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceClosedEventArgs> const& handler) const;
using ServiceClosed_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::AppService::IAppServiceConnection, &impl::abi_t<winrt::Windows::ApplicationModel::AppService::IAppServiceConnection>::remove_ServiceClosed>;
- [[nodiscard]] ServiceClosed_revoker ServiceClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceClosedEventArgs> 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<winrt::Windows::ApplicationModel::AppService::AppServiceConnection, winrt::Windows::ApplicationModel::AppService::AppServiceClosedEventArgs> const& handler) const;
+ auto ServiceClosed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::AppService::IAppServiceConnection>
{
@@ -342,9 +336,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_AppService_IAppServiceConnection2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::AppService::AppServiceConnectionStatus>) 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<winrt::Windows::ApplicationModel::AppService::IAppServiceConnection2>
{
@@ -353,7 +347,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_AppService_IAppServiceConnectionStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::AppService::StatelessAppServiceResponse>) 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<winrt::Windows::ApplicationModel::AppService::IAppServiceConnectionStatics>
{
@@ -362,7 +356,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_AppService_IAppServiceDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::AppService::IAppServiceDeferral>
{
@@ -371,8 +365,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_AppService_IAppServiceRequest
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Message() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::AppService::AppServiceResponseStatus>) 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<winrt::Windows::ApplicationModel::AppService::IAppServiceRequest>
{
@@ -381,8 +375,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::AppService::IAppServiceRequestReceivedEventArgs>
{
@@ -391,8 +385,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::AppService::IAppServiceResponse>
{
@@ -401,9 +395,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::AppService::IAppServiceTriggerDetails>
{
@@ -412,7 +406,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRemoteSystemConnection() const;
+ [[nodiscard]] auto IsRemoteSystemConnection() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::AppService::IAppServiceTriggerDetails2>
{
@@ -421,7 +415,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) CheckCallerForCapabilityAsync(param::hstring const& capabilityName) const;
+ auto CheckCallerForCapabilityAsync(param::hstring const& capabilityName) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::AppService::IAppServiceTriggerDetails3>
{
@@ -430,7 +424,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_AppService_IAppServiceTriggerDetails4
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) CallerRemoteConnectionToken() const;
+ [[nodiscard]] auto CallerRemoteConnectionToken() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::AppService::IAppServiceTriggerDetails4>
{
@@ -439,8 +433,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::AppService::IStatelessAppServiceResponse>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.1.h
index c98facf8ca1..ba787cd18af 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.2.h
index ffed0c376e6..132bc5dad09 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.AppService.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.0.h
index 1035b21451d..7eda21c9151 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
struct Rect;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
@@ -16,8 +15,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::System
{
@@ -839,31 +836,31 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::TimeSpan>) Reminder() const;
- WINRT_IMPL_AUTO(void) Reminder(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::ApplicationModel::Appointments::AppointmentInvitee>) 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<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::ApplicationModel::Appointments::IAppointment>
{
@@ -872,26 +869,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) 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<winrt::Windows::Foundation::DateTime>) ReplyTime() const;
- WINRT_IMPL_AUTO(void) ReplyTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::ApplicationModel::Appointments::IAppointment2>
{
@@ -900,11 +897,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::IAppointment3>
{
@@ -913,32 +910,32 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>) FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>) 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentException>>) FindExceptionsFromMasterAsync(param::hstring const& masterLocalId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>) 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>) 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<winrt::Windows::ApplicationModel::Appointments::Appointment>) GetAppointmentAsync(param::hstring const& localId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::Appointment>) GetAppointmentInstanceAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartTime) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>) FindUnexpandedAppointmentsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>) 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<winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar>
{
@@ -947,31 +944,31 @@ namespace winrt::impl
template <typename D>
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<bool>) TryCreateOrUpdateAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, bool notifyInvitees) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<bool>) TryForwardMeetingAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& meeting, param::async_iterable<winrt::Windows::ApplicationModel::Appointments::AppointmentInvitee> const& invitees, param::hstring const& subject, param::hstring const& forwardHeader, param::hstring const& comment) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<bool>) 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<winrt::Windows::ApplicationModel::Appointments::AppointmentInvitee> 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<winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar2>
{
@@ -980,7 +977,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Appointments_IAppointmentCalendar3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RegisterSyncManagerAsync() const;
+ auto RegisterSyncManagerAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendar3>
{
@@ -989,14 +986,14 @@ namespace winrt::impl
template <typename D>
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<bool>) SyncAsync() const;
- WINRT_IMPL_AUTO(winrt::event_token) SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto LastSuccessfulSyncTime() const;
+ [[nodiscard]] auto LastAttemptedSyncTime() const;
+ auto SyncAsync() const;
+ auto SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
using SyncStatusChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager, &impl::abi_t<winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager>::remove_SyncStatusChanged>;
- [[nodiscard]] SyncStatusChanged_revoker SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncManager, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendarSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SyncStatusChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager>
{
@@ -1005,9 +1002,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::IAppointmentCalendarSyncManager2>
{
@@ -1016,8 +1013,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::IAppointmentConflictResult>
{
@@ -1026,9 +1023,9 @@ namespace winrt::impl
template <typename D>
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<hstring>) ExceptionProperties() const;
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDeleted() const;
+ [[nodiscard]] auto Appointment() const;
+ [[nodiscard]] auto ExceptionProperties() const;
+ [[nodiscard]] auto IsDeleted() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Appointments::IAppointmentException>
{
@@ -1037,10 +1034,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::IAppointmentInvitee>
{
@@ -1049,20 +1046,20 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Appointments_IAppointmentManagerForUser
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) 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<hstring>) 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<hstring>) 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<hstring>) 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<bool>) ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<bool>) 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<hstring>) ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::AppointmentStore>) 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<winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerForUser>
{
@@ -1071,15 +1068,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Appointments_IAppointmentManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) 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<hstring>) 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<hstring>) 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<hstring>) 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<bool>) ShowRemoveAppointmentAsync(param::hstring const& appointmentId, winrt::Windows::Foundation::Rect const& selection) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<bool>) 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<winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics>
{
@@ -1088,10 +1085,10 @@ namespace winrt::impl
template <typename D>
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<hstring>) ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::AppointmentStore>) 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<winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics2>
{
@@ -1100,7 +1097,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::IAppointmentManagerStatics3>
{
@@ -1109,10 +1106,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::IAppointmentParticipant>
{
@@ -1121,29 +1118,29 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics>
{
@@ -1152,9 +1149,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::IAppointmentPropertiesStatics2>
{
@@ -1163,22 +1160,22 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) Occurrences() const;
- WINRT_IMPL_AUTO(void) Occurrences(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) Until() const;
- WINRT_IMPL_AUTO(void) Until(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<uint32_t> const& value) const;
+ [[nodiscard]] auto Until() const;
+ auto Until(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence>
{
@@ -1187,9 +1184,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence2>
{
@@ -1198,7 +1195,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Appointments_IAppointmentRecurrence3
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) CalendarIdentifier() const;
+ [[nodiscard]] auto CalendarIdentifier() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Appointments::IAppointmentRecurrence3>
{
@@ -1207,27 +1204,27 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Appointments_IAppointmentStore
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangeTracker) ChangeTracker() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>) CreateAppointmentCalendarAsync(param::hstring const& name) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>) GetAppointmentCalendarAsync(param::hstring const& calendarId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::Appointment>) GetAppointmentAsync(param::hstring const& localId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::Appointment>) GetAppointmentInstanceAsync(param::hstring const& localId, winrt::Windows::Foundation::DateTime const& instanceStartTime) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>>) FindAppointmentCalendarsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>>) FindAppointmentCalendarsAsync(winrt::Windows::ApplicationModel::Appointments::FindAppointmentCalendarsOptions const& options) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>) FindAppointmentsAsync(winrt::Windows::Foundation::DateTime const& rangeStart, winrt::Windows::Foundation::TimeSpan const& rangeLength) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::Appointment>>) 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<winrt::Windows::ApplicationModel::Appointments::AppointmentConflictResult>) FindConflictAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::AppointmentConflictResult>) 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<hstring>) ShowAddAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment, winrt::Windows::Foundation::Rect const& selection) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) 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<hstring>) 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<bool>) ShowRemoveAppointmentAsync(param::hstring const& localId, winrt::Windows::Foundation::Rect const& selection) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<hstring>) ShowEditNewAppointmentAsync(winrt::Windows::ApplicationModel::Appointments::Appointment const& appointment) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) 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<winrt::Windows::ApplicationModel::Appointments::IAppointmentStore>
{
@@ -1236,11 +1233,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Appointments_IAppointmentStore2
{
- WINRT_IMPL_AUTO(winrt::event_token) StoreChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::AppointmentStore, winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangedEventArgs> const& pHandler) const;
+ auto StoreChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::AppointmentStore, winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangedEventArgs> const& pHandler) const;
using StoreChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Appointments::IAppointmentStore2, &impl::abi_t<winrt::Windows::ApplicationModel::Appointments::IAppointmentStore2>::remove_StoreChanged>;
- [[nodiscard]] StoreChanged_revoker StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::AppointmentStore, winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangedEventArgs> const& pHandler) const;
- WINRT_IMPL_AUTO(void) StoreChanged(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>) CreateAppointmentCalendarAsync(param::hstring const& name, param::hstring const& userDataAccountId) const;
+ [[nodiscard]] auto StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::AppointmentStore, winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangedEventArgs> 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<winrt::Windows::ApplicationModel::Appointments::IAppointmentStore2>
{
@@ -1249,7 +1246,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::IAppointmentStore3>
{
@@ -1258,8 +1255,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChange>
{
@@ -1268,7 +1265,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChange2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar) AppointmentCalendar() const;
+ [[nodiscard]] auto AppointmentCalendar() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChange2>
{
@@ -1277,9 +1274,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeReader
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChange>>) 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<winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeReader>
{
@@ -1288,9 +1285,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeTracker>
{
@@ -1299,7 +1296,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangeTracker2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTracking() const;
+ [[nodiscard]] auto IsTracking() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangeTracker2>
{
@@ -1308,7 +1305,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangedDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangedDeferral>
{
@@ -1317,7 +1314,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Appointments_IAppointmentStoreChangedEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Appointments::AppointmentStoreChangedDeferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Appointments::IAppointmentStoreChangedEventArgs>
{
@@ -1334,12 +1331,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Appointments_IFindAppointmentsOptions
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) CalendarIds() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) 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<winrt::Windows::ApplicationModel::Appointments::IFindAppointmentsOptions>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.1.h
index b64169bb2c5..d923d9297d2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.2.h
index a942db8cdff..d1f259455d1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.0.h
index 172e170d5f9..aa179dd6e00 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IReference;
-}
WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider
{
struct IAddAppointmentOperation;
@@ -110,12 +106,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAddAppointmentOperation>
{
@@ -124,10 +120,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAppointmentsProviderLaunchActionVerbsStatics>
{
@@ -136,7 +132,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IAppointmentsProviderLaunchActionVerbsStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ShowAppointmentDetails() const;
+ [[nodiscard]] auto ShowAppointmentDetails() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IAppointmentsProviderLaunchActionVerbsStatics2>
{
@@ -145,13 +141,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Appointments_AppointmentsProvider_IRemoveAppointmentOperation
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppointmentId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) 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<winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IRemoveAppointmentOperation>
{
@@ -160,14 +156,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) 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<winrt::Windows::ApplicationModel::Appointments::AppointmentsProvider::IReplaceAppointmentOperation>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.1.h
index 023ac8eeca7..1dcee69caa1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.2.h
index 5466f36ac59..5abd7b87ee9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.AppointmentsProvider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.0.h
index 3ae6465a79d..58b7530200b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Appointments::DataProvider
{
struct IAppointmentCalendarCancelMeetingRequest;
@@ -295,14 +289,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) 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<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCancelMeetingRequest>
{
@@ -311,8 +305,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCancelMeetingRequestEventArgs>
{
@@ -321,12 +315,12 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCreateOrUpdateAppointmentRequest>
{
@@ -335,8 +329,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs>
{
@@ -345,15 +339,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) AppointmentOriginalStartTime() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentInvitee>) 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<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarForwardMeetingRequest>
{
@@ -362,8 +356,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarForwardMeetingRequestEventArgs>
{
@@ -372,15 +366,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) 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<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarProposeNewTimeForMeetingRequest>
{
@@ -389,8 +383,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarProposeNewTimeForMeetingRequestEventArgs>
{
@@ -399,9 +393,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarSyncManagerSyncRequest>
{
@@ -410,8 +404,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarSyncManagerSyncRequestEventArgs>
{
@@ -420,15 +414,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) 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<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarUpdateMeetingResponseRequest>
{
@@ -437,8 +431,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentCalendarUpdateMeetingResponseRequestEventArgs>
{
@@ -447,31 +441,31 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Appointments_DataProvider_IAppointmentDataProviderConnection
{
- WINRT_IMPL_AUTO(winrt::event_token) SyncRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarSyncManagerSyncRequestEventArgs> const& handler) const;
+ auto SyncRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarSyncManagerSyncRequestEventArgs> const& handler) const;
using SyncRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection>::remove_SyncRequested>;
- [[nodiscard]] SyncRequested_revoker SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarSyncManagerSyncRequestEventArgs> 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<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarSyncManagerSyncRequestEventArgs> const& handler) const;
+ auto SyncRequested(winrt::event_token const& token) const noexcept;
+ auto CreateOrUpdateAppointmentRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs> const& handler) const;
using CreateOrUpdateAppointmentRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection>::remove_CreateOrUpdateAppointmentRequested>;
- [[nodiscard]] CreateOrUpdateAppointmentRequested_revoker CreateOrUpdateAppointmentRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs> 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<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCancelMeetingRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto CreateOrUpdateAppointmentRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCreateOrUpdateAppointmentRequestEventArgs> const& handler) const;
+ auto CreateOrUpdateAppointmentRequested(winrt::event_token const& token) const noexcept;
+ auto CancelMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCancelMeetingRequestEventArgs> const& handler) const;
using CancelMeetingRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection>::remove_CancelMeetingRequested>;
- [[nodiscard]] CancelMeetingRequested_revoker CancelMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCancelMeetingRequestEventArgs> 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<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarForwardMeetingRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto CancelMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarCancelMeetingRequestEventArgs> const& handler) const;
+ auto CancelMeetingRequested(winrt::event_token const& token) const noexcept;
+ auto ForwardMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarForwardMeetingRequestEventArgs> const& handler) const;
using ForwardMeetingRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection>::remove_ForwardMeetingRequested>;
- [[nodiscard]] ForwardMeetingRequested_revoker ForwardMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarForwardMeetingRequestEventArgs> 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<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto ForwardMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarForwardMeetingRequestEventArgs> const& handler) const;
+ auto ForwardMeetingRequested(winrt::event_token const& token) const noexcept;
+ auto ProposeNewTimeForMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs> const& handler) const;
using ProposeNewTimeForMeetingRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection>::remove_ProposeNewTimeForMeetingRequested>;
- [[nodiscard]] ProposeNewTimeForMeetingRequested_revoker ProposeNewTimeForMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs> 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<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarUpdateMeetingResponseRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto ProposeNewTimeForMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarProposeNewTimeForMeetingRequestEventArgs> const& handler) const;
+ auto ProposeNewTimeForMeetingRequested(winrt::event_token const& token) const noexcept;
+ auto UpdateMeetingResponseRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarUpdateMeetingResponseRequestEventArgs> const& handler) const;
using UpdateMeetingResponseRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection>::remove_UpdateMeetingResponseRequested>;
- [[nodiscard]] UpdateMeetingResponseRequested_revoker UpdateMeetingResponseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarUpdateMeetingResponseRequestEventArgs> 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<winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentDataProviderConnection, winrt::Windows::ApplicationModel::Appointments::DataProvider::AppointmentCalendarUpdateMeetingResponseRequestEventArgs> const& handler) const;
+ auto UpdateMeetingResponseRequested(winrt::event_token const& token) const noexcept;
+ auto Start() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderConnection>
{
@@ -480,7 +474,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Appointments::DataProvider::IAppointmentDataProviderTriggerDetails>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.1.h
index e1fa857faac..8edcb9f77a7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.2.h
index affce542a6c..3de7dd9c87d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Appointments.DataProvider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.0.h
index 3e3accda296..d591b0df8c2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
struct ValueSet;
}
WINRT_EXPORT namespace winrt::Windows::Networking
@@ -1655,10 +1650,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IActivitySensorTrigger
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Sensors::ActivityType>) SubscribedActivities() const;
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ReportInterval() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::ActivityType>) 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<winrt::Windows::ApplicationModel::Background::IActivitySensorTrigger>
{
@@ -1667,7 +1662,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IActivitySensorTriggerFactory>
{
@@ -1676,8 +1671,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IAlarmApplicationManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::AlarmAccessStatus>) RequestAccessAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::AlarmAccessStatus) GetAccessStatus() const;
+ auto RequestAccessAsync() const;
+ auto GetAccessStatus() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::IAlarmApplicationManagerStatics>
{
@@ -1686,8 +1681,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IAppBroadcastTrigger>
{
@@ -1696,7 +1691,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerFactory>
{
@@ -1705,18 +1700,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IAppBroadcastTriggerProviderInfo>
{
@@ -1725,8 +1720,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IApplicationTrigger
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::ApplicationTriggerResult>) RequestAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::ApplicationTriggerResult>) 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<winrt::Windows::ApplicationModel::Background::IApplicationTrigger>
{
@@ -1735,7 +1730,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IApplicationTriggerDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Arguments() const;
+ [[nodiscard]] auto Arguments() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::IApplicationTriggerDetails>
{
@@ -1760,12 +1755,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::BackgroundAccessStatus>) RequestAccessAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::BackgroundAccessStatus>) 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<winrt::Windows::ApplicationModel::Background::IBackgroundExecutionManagerStatics>
{
@@ -1774,7 +1769,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IBackgroundExecutionManagerStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::ApplicationModel::Background::IBackgroundExecutionManagerStatics2>
{
@@ -1783,7 +1778,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IBackgroundTask>
{
@@ -1792,13 +1787,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder>
{
@@ -1807,8 +1802,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder2>
{
@@ -1817,8 +1812,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder3>
{
@@ -1827,8 +1822,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder4>
{
@@ -1837,7 +1832,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IBackgroundTaskBuilder5>
{
@@ -1846,8 +1841,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IBackgroundTaskCompletedEventArgs>
{
@@ -1856,7 +1851,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IBackgroundTaskDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::IBackgroundTaskDeferral>
{
@@ -1865,17 +1860,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance, &impl::abi_t<winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance>::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<winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance>
{
@@ -1884,7 +1879,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance2>
{
@@ -1893,7 +1888,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IBackgroundTaskInstance4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
+ [[nodiscard]] auto User() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::IBackgroundTaskInstance4>
{
@@ -1902,8 +1897,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IBackgroundTaskProgressEventArgs>
{
@@ -1912,17 +1907,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration, &impl::abi_t<winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration>::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<winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration, &impl::abi_t<winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration>::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<winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration>
{
@@ -1931,7 +1926,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::IBackgroundTrigger) Trigger() const;
+ [[nodiscard]] auto Trigger() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration2>
{
@@ -1940,7 +1935,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistration3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup) TaskGroup() const;
+ [[nodiscard]] auto TaskGroup() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration3>
{
@@ -1949,13 +1944,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup, winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler) const;
+ [[nodiscard]] auto Id() const;
+ [[nodiscard]] auto Name() const;
+ auto BackgroundActivated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup, winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler) const;
using BackgroundActivated_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationGroup, &impl::abi_t<winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationGroup>::remove_BackgroundActivated>;
- [[nodiscard]] BackgroundActivated_revoker BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup, winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) BackgroundActivated(winrt::event_token const& token) const noexcept;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistration>) AllTasks() const;
+ [[nodiscard]] auto BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup, winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler) const;
+ auto BackgroundActivated(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto AllTasks() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationGroup>
{
@@ -1964,8 +1959,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationGroupFactory>
{
@@ -1974,7 +1969,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistration>) AllTasks() const;
+ [[nodiscard]] auto AllTasks() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationStatics>
{
@@ -1983,8 +1978,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IBackgroundTaskRegistrationStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::Background::BackgroundTaskRegistrationGroup>) 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<winrt::Windows::ApplicationModel::Background::IBackgroundTaskRegistrationStatics2>
{
@@ -2001,7 +1996,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IBackgroundWorkCostStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::BackgroundWorkCostValue) CurrentBackgroundWorkCost() const;
+ [[nodiscard]] auto CurrentBackgroundWorkCost() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::IBackgroundWorkCostStatics>
{
@@ -2010,7 +2005,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger>
{
@@ -2019,14 +2014,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IBluetoothLEAdvertisementPublisherTrigger2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int16_t>) PreferredTransmitPowerLevelInDBm() const;
- WINRT_IMPL_AUTO(void) PreferredTransmitPowerLevelInDBm(winrt::Windows::Foundation::IReference<int16_t> 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<int16_t> 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<winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementPublisherTrigger2>
{
@@ -2035,14 +2030,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementWatcherTrigger>
{
@@ -2051,8 +2046,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IBluetoothLEAdvertisementWatcherTrigger2>
{
@@ -2069,9 +2064,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::ICachedFileUpdaterTriggerDetails>
{
@@ -2112,7 +2107,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IContentPrefetchTrigger
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) WaitInterval() const;
+ [[nodiscard]] auto WaitInterval() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::IContentPrefetchTrigger>
{
@@ -2121,7 +2116,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IContentPrefetchTriggerFactory>
{
@@ -2130,8 +2125,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::ICustomSystemEventTrigger>
{
@@ -2140,7 +2135,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::ICustomSystemEventTriggerFactory>
{
@@ -2149,10 +2144,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IDeviceConnectionChangeTrigger>
{
@@ -2161,7 +2156,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IDeviceConnectionChangeTriggerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::DeviceConnectionChangeTrigger>) FromIdAsync(param::hstring const& deviceId) const;
+ auto FromIdAsync(param::hstring const& deviceId) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::IDeviceConnectionChangeTriggerStatics>
{
@@ -2170,8 +2165,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IDeviceManufacturerNotificationTrigger>
{
@@ -2180,7 +2175,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IDeviceManufacturerNotificationTriggerFactory>
{
@@ -2189,8 +2184,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IDeviceServicingTrigger
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::DeviceTriggerResult>) RequestAsync(param::hstring const& deviceId, winrt::Windows::Foundation::TimeSpan const& expectedDuration) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::DeviceTriggerResult>) 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<winrt::Windows::ApplicationModel::Background::IDeviceServicingTrigger>
{
@@ -2199,8 +2194,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IDeviceUseTrigger
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::DeviceTriggerResult>) RequestAsync(param::hstring const& deviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::DeviceTriggerResult>) 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<winrt::Windows::ApplicationModel::Background::IDeviceUseTrigger>
{
@@ -2225,7 +2220,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IGattCharacteristicNotificationTrigger>
{
@@ -2234,7 +2229,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IGattCharacteristicNotificationTrigger2>
{
@@ -2243,7 +2238,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IGattCharacteristicNotificationTriggerFactory>
{
@@ -2252,7 +2247,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IGattCharacteristicNotificationTriggerFactory2>
{
@@ -2261,10 +2256,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IGattServiceProviderTrigger>
{
@@ -2273,8 +2268,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IGattServiceProviderTriggerResult>
{
@@ -2283,7 +2278,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IGattServiceProviderTriggerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::GattServiceProviderTriggerResult>) CreateAsync(param::hstring const& triggerId, winrt::guid const& serviceUuid) const;
+ auto CreateAsync(param::hstring const& triggerId, winrt::guid const& serviceUuid) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::IGattServiceProviderTriggerStatics>
{
@@ -2292,8 +2287,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IGeovisitTrigger>
{
@@ -2302,7 +2297,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_ILocationTrigger
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::LocationTriggerType) TriggerType() const;
+ [[nodiscard]] auto TriggerType() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::ILocationTrigger>
{
@@ -2311,7 +2306,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::ILocationTriggerFactory>
{
@@ -2320,8 +2315,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IMaintenanceTrigger>
{
@@ -2330,7 +2325,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IMaintenanceTriggerFactory>
{
@@ -2339,8 +2334,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_IMediaProcessingTrigger
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::MediaProcessingTriggerResult>) RequestAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Background::MediaProcessingTriggerResult>) 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<winrt::Windows::ApplicationModel::Background::IMediaProcessingTrigger>
{
@@ -2357,7 +2352,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_INetworkOperatorNotificationTrigger
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) NetworkAccountId() const;
+ [[nodiscard]] auto NetworkAccountId() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::INetworkOperatorNotificationTrigger>
{
@@ -2366,7 +2361,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::INetworkOperatorNotificationTriggerFactory>
{
@@ -2375,8 +2370,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IPhoneTrigger>
{
@@ -2385,7 +2380,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IPhoneTriggerFactory>
{
@@ -2394,7 +2389,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IPushNotificationTriggerFactory>
{
@@ -2411,14 +2406,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IRfcommConnectionTrigger>
{
@@ -2443,7 +2438,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::ISensorDataThresholdTriggerFactory>
{
@@ -2452,7 +2447,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_ISmartCardTrigger
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardTriggerType) TriggerType() const;
+ [[nodiscard]] auto TriggerType() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::ISmartCardTrigger>
{
@@ -2461,7 +2456,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::ISmartCardTriggerFactory>
{
@@ -2470,7 +2465,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::ISmsMessageReceivedTriggerFactory>
{
@@ -2479,7 +2474,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_ISocketActivityTrigger
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsWakeFromLowPowerSupported() const;
+ [[nodiscard]] auto IsWakeFromLowPowerSupported() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::ISocketActivityTrigger>
{
@@ -2488,7 +2483,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IStorageLibraryChangeTrackerTriggerFactory>
{
@@ -2505,8 +2500,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::StorageLibrary> const& storageLibraries) const;
+ auto Create(winrt::Windows::Storage::StorageLibrary const& storageLibrary) const;
+ auto CreateFromLibraries(param::iterable<winrt::Windows::Storage::StorageLibrary> const& storageLibraries) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::IStorageLibraryContentChangedTriggerStatics>
{
@@ -2515,7 +2510,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Background_ISystemCondition
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::SystemConditionType) ConditionType() const;
+ [[nodiscard]] auto ConditionType() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Background::ISystemCondition>
{
@@ -2524,7 +2519,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::ISystemConditionFactory>
{
@@ -2533,8 +2528,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::ISystemTrigger>
{
@@ -2543,7 +2538,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::ISystemTriggerFactory>
{
@@ -2552,8 +2547,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::ITimeTrigger>
{
@@ -2562,7 +2557,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::ITimeTriggerFactory>
{
@@ -2571,7 +2566,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IToastNotificationActionTriggerFactory>
{
@@ -2580,7 +2575,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IToastNotificationHistoryChangedTriggerFactory>
{
@@ -2589,7 +2584,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Background::IUserNotificationChangedTriggerFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.1.h
index d374dfb57dc..b6f288f37bd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.2.h
index b16add87843..b67a19e299f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Background.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.0.h
index 3f103537ec8..f9c93c232bb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
struct IAsyncAction;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> 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 <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::System
{
@@ -932,7 +924,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_ICallAnswerEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallMedia) AcceptedMedia() const;
+ [[nodiscard]] auto AcceptedMedia() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::ICallAnswerEventArgs>
{
@@ -941,7 +933,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_ICallRejectEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallRejectReason) RejectReason() const;
+ [[nodiscard]] auto RejectReason() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::ICallRejectEventArgs>
{
@@ -950,7 +942,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_ICallStateChangeEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipPhoneCallState) State() const;
+ [[nodiscard]] auto State() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::ICallStateChangeEventArgs>
{
@@ -959,7 +951,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_ILockScreenCallEndCallDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::ILockScreenCallEndCallDeferral>
{
@@ -968,8 +960,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::ILockScreenCallEndRequestedEventArgs>
{
@@ -978,17 +970,17 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_ILockScreenCallUI
{
- WINRT_IMPL_AUTO(void) Dismiss() const;
- WINRT_IMPL_AUTO(winrt::event_token) EndRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::LockScreenCallUI, winrt::Windows::ApplicationModel::Calls::LockScreenCallEndRequestedEventArgs> const& handler) const;
+ auto Dismiss() const;
+ auto EndRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::LockScreenCallUI, winrt::Windows::ApplicationModel::Calls::LockScreenCallEndRequestedEventArgs> const& handler) const;
using EndRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Calls::ILockScreenCallUI, &impl::abi_t<winrt::Windows::ApplicationModel::Calls::ILockScreenCallUI>::remove_EndRequested>;
- [[nodiscard]] EndRequested_revoker EndRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::LockScreenCallUI, winrt::Windows::ApplicationModel::Calls::LockScreenCallEndRequestedEventArgs> 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<winrt::Windows::ApplicationModel::Calls::LockScreenCallUI, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto EndRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::LockScreenCallUI, winrt::Windows::ApplicationModel::Calls::LockScreenCallEndRequestedEventArgs> const& handler) const;
+ auto EndRequested(winrt::event_token const& token) const noexcept;
+ auto Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::LockScreenCallUI, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Calls::ILockScreenCallUI, &impl::abi_t<winrt::Windows::ApplicationModel::Calls::ILockScreenCallUI>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::LockScreenCallUI, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Calls::LockScreenCallUI, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Calls::ILockScreenCallUI>
{
@@ -997,7 +989,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IMuteChangeEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) Muted() const;
+ [[nodiscard]] auto Muted() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::IMuteChangeEventArgs>
{
@@ -1006,11 +998,11 @@ namespace winrt::impl
template <typename D>
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<bool>) SetCallBlockingListAsync(param::async_iterable<hstring> 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<hstring> const& phoneNumberList) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::IPhoneCallBlockingStatics>
{
@@ -1019,40 +1011,40 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::TimeSpan>) Duration() const;
- WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntry>
{
@@ -1061,14 +1053,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryAddress>
{
@@ -1077,7 +1069,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryAddressFactory>
{
@@ -1086,9 +1078,9 @@ namespace winrt::impl
template <typename D>
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<hstring>) SourceIds() const;
+ [[nodiscard]] auto DesiredMedia() const;
+ auto DesiredMedia(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntryQueryDesiredMedia const& value) const;
+ [[nodiscard]] auto SourceIds() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryQueryOptions>
{
@@ -1097,7 +1089,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryEntryReader
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry>>) ReadBatchAsync() const;
+ auto ReadBatchAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryEntryReader>
{
@@ -1106,8 +1098,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerForUser
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStore>) 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<winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryManagerForUser>
{
@@ -1116,7 +1108,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStore>) RequestStoreAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType const& accessType) const;
+ auto RequestStoreAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryStoreAccessType const& accessType) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryManagerStatics>
{
@@ -1125,7 +1117,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryManagerStatics2>
{
@@ -1134,18 +1126,18 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IPhoneCallHistoryStore
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry>) 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<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry> 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<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry> const& callHistoryEntries) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) GetUnseenCountAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkAllAsSeenAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) GetSourcesUnseenCountAsync(param::async_iterable<hstring> const& sourceIds) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkSourcesAsSeenAsync(param::async_iterable<hstring> 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<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry> const& callHistoryEntries) const;
+ auto MarkEntryAsSeenAsync(winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry const& callHistoryEntry) const;
+ auto MarkEntriesAsSeenAsync(param::async_iterable<winrt::Windows::ApplicationModel::Calls::PhoneCallHistoryEntry> const& callHistoryEntries) const;
+ auto GetUnseenCountAsync() const;
+ auto MarkAllAsSeenAsync() const;
+ auto GetSourcesUnseenCountAsync(param::async_iterable<hstring> const& sourceIds) const;
+ auto MarkSourcesAsSeenAsync(param::async_iterable<hstring> const& sourceIds) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::IPhoneCallHistoryStore>
{
@@ -1154,7 +1146,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics>
{
@@ -1163,14 +1155,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IPhoneCallManagerStatics2
{
- WINRT_IMPL_AUTO(winrt::event_token) CallStateChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto CallStateChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using CallStateChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics2, &impl::abi_t<winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics2>::remove_CallStateChanged>;
- [[nodiscard]] CallStateChanged_revoker CallStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Calls::PhoneCallStore>) RequestStoreAsync() const;
+ [[nodiscard]] auto CallStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics2>
{
@@ -1179,9 +1171,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IPhoneCallStore
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) IsEmergencyPhoneNumberAsync(param::hstring const& number) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::guid>) 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<winrt::Windows::ApplicationModel::Calls::IPhoneCallStore>
{
@@ -1190,7 +1182,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IPhoneCallVideoCapabilities
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVideoCallingCapable() const;
+ [[nodiscard]] auto IsVideoCallingCapable() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::IPhoneCallVideoCapabilities>
{
@@ -1199,7 +1191,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IPhoneCallVideoCapabilitiesManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::PhoneCallVideoCapabilities>) GetCapabilitiesAsync(param::hstring const& phoneNumber) const;
+ auto GetCapabilitiesAsync(param::hstring const& phoneNumber) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::IPhoneCallVideoCapabilitiesManagerStatics>
{
@@ -1208,18 +1200,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::IPhoneDialOptions>
{
@@ -1228,25 +1220,25 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IPhoneLine
{
- WINRT_IMPL_AUTO(winrt::event_token) LineChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLine, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto LineChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLine, winrt::Windows::Foundation::IInspectable> const& handler) const;
using LineChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Calls::IPhoneLine, &impl::abi_t<winrt::Windows::ApplicationModel::Calls::IPhoneLine>::remove_LineChanged>;
- [[nodiscard]] LineChanged_revoker LineChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLine, winrt::Windows::Foundation::IInspectable> 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<bool>) 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<winrt::Windows::ApplicationModel::Calls::PhoneLine, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Calls::IPhoneLine>
{
@@ -1255,8 +1247,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::IPhoneLine2>
{
@@ -1265,11 +1257,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::IPhoneLineCellularDetails>
{
@@ -1278,8 +1270,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IPhoneLineConfiguration
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVideoCallingEnabled() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) ExtendedProperties() const;
+ [[nodiscard]] auto IsVideoCallingEnabled() const;
+ [[nodiscard]] auto ExtendedProperties() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::IPhoneLineConfiguration>
{
@@ -1288,7 +1280,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IPhoneLineStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::PhoneLine>) FromIdAsync(winrt::guid const& lineId) const;
+ auto FromIdAsync(winrt::guid const& lineId) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::IPhoneLineStatics>
{
@@ -1297,16 +1289,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Enumeration::DeviceAccessStatus>) 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<bool>) 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<winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDevice>
{
@@ -1315,9 +1307,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::IPhoneLineTransportDeviceStatics>
{
@@ -1326,29 +1318,29 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const;
+ auto Start() const;
+ auto Stop() const;
+ auto LineAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const;
using LineAdded_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher, &impl::abi_t<winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher>::remove_LineAdded>;
- [[nodiscard]] LineAdded_revoker LineAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> 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<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const;
+ [[nodiscard]] auto LineAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const;
+ auto LineAdded(winrt::event_token const& token) const noexcept;
+ auto LineRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const;
using LineRemoved_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher, &impl::abi_t<winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher>::remove_LineRemoved>;
- [[nodiscard]] LineRemoved_revoker LineRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> 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<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const;
+ [[nodiscard]] auto LineRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const;
+ auto LineRemoved(winrt::event_token const& token) const noexcept;
+ auto LineUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const;
using LineUpdated_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher, &impl::abi_t<winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher>::remove_LineUpdated>;
- [[nodiscard]] LineUpdated_revoker LineUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> 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<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto LineUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::ApplicationModel::Calls::PhoneLineWatcherEventArgs> const& handler) const;
+ auto LineUpdated(winrt::event_token const& token) const noexcept;
+ auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using EnumerationCompleted_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher, &impl::abi_t<winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher>::remove_EnumerationCompleted>;
- [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto EnumerationCompleted(winrt::event_token const& token) const noexcept;
+ auto Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Stopped_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher, &impl::abi_t<winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher>::remove_Stopped>;
- [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Calls::PhoneLineWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Stopped(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcher>
{
@@ -1357,7 +1349,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IPhoneLineWatcherEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) LineId() const;
+ [[nodiscard]] auto LineId() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::IPhoneLineWatcherEventArgs>
{
@@ -1366,10 +1358,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::IPhoneVoicemail>
{
@@ -1378,19 +1370,19 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::VoipPhoneCallResourceReservationStatus>) ReserveCallResourcesAsync(param::hstring const& taskEntryPoint) const;
- WINRT_IMPL_AUTO(winrt::event_token) MuteStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipCallCoordinator, winrt::Windows::ApplicationModel::Calls::MuteChangeEventArgs> const& muteChangeHandler) const;
+ auto ReserveCallResourcesAsync(param::hstring const& taskEntryPoint) const;
+ auto MuteStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipCallCoordinator, winrt::Windows::ApplicationModel::Calls::MuteChangeEventArgs> const& muteChangeHandler) const;
using MuteStateChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator, &impl::abi_t<winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator>::remove_MuteStateChanged>;
- [[nodiscard]] MuteStateChanged_revoker MuteStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipCallCoordinator, winrt::Windows::ApplicationModel::Calls::MuteChangeEventArgs> 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<winrt::Windows::ApplicationModel::Calls::VoipCallCoordinator, winrt::Windows::ApplicationModel::Calls::MuteChangeEventArgs> 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<winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator>
{
@@ -1399,7 +1391,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator2>
{
@@ -1408,8 +1400,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator3>
{
@@ -1418,7 +1410,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IVoipCallCoordinator4
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Calls::VoipPhoneCallResourceReservationStatus>) ReserveCallResourcesAsync() const;
+ auto ReserveCallResourcesAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinator4>
{
@@ -1427,7 +1419,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IVoipCallCoordinatorStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Calls::VoipCallCoordinator) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::IVoipCallCoordinatorStatics>
{
@@ -1436,36 +1428,36 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IVoipPhoneCall
{
- WINRT_IMPL_AUTO(winrt::event_token) EndRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const;
+ auto EndRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const;
using EndRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall, &impl::abi_t<winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall>::remove_EndRequested>;
- [[nodiscard]] EndRequested_revoker EndRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> 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<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const;
+ [[nodiscard]] auto EndRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const;
+ auto EndRequested(winrt::event_token const& token) const noexcept;
+ auto HoldRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const;
using HoldRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall, &impl::abi_t<winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall>::remove_HoldRequested>;
- [[nodiscard]] HoldRequested_revoker HoldRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> 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<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const;
+ [[nodiscard]] auto HoldRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const;
+ auto HoldRequested(winrt::event_token const& token) const noexcept;
+ auto ResumeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const;
using ResumeRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall, &impl::abi_t<winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall>::remove_ResumeRequested>;
- [[nodiscard]] ResumeRequested_revoker ResumeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> 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<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallAnswerEventArgs> const& acceptHandler) const;
+ [[nodiscard]] auto ResumeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallStateChangeEventArgs> const& handler) const;
+ auto ResumeRequested(winrt::event_token const& token) const noexcept;
+ auto AnswerRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallAnswerEventArgs> const& acceptHandler) const;
using AnswerRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall, &impl::abi_t<winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall>::remove_AnswerRequested>;
- [[nodiscard]] AnswerRequested_revoker AnswerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallAnswerEventArgs> 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<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallRejectEventArgs> const& rejectHandler) const;
+ [[nodiscard]] auto AnswerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallAnswerEventArgs> const& acceptHandler) const;
+ auto AnswerRequested(winrt::event_token const& token) const noexcept;
+ auto RejectRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallRejectEventArgs> const& rejectHandler) const;
using RejectRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall, &impl::abi_t<winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall>::remove_RejectRequested>;
- [[nodiscard]] RejectRequested_revoker RejectRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallRejectEventArgs> 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<winrt::Windows::ApplicationModel::Calls::VoipPhoneCall, winrt::Windows::ApplicationModel::Calls::CallRejectEventArgs> 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<winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall>
{
@@ -1474,7 +1466,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_IVoipPhoneCall2
{
- WINRT_IMPL_AUTO(void) TryShowAppUI() const;
+ auto TryShowAppUI() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall2>
{
@@ -1483,7 +1475,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::IVoipPhoneCall3>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.1.h
index 12384059a9e..5239d2680c1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.2.h
index 32782b9fcb5..6380dc139cd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable> const& handler);
using CallStateChanged_revoker = impl::factory_event_revoker<winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics2, &impl::abi_t<winrt::Windows::ApplicationModel::Calls::IPhoneCallManagerStatics2>::remove_CallStateChanged>;
- [[nodiscard]] static CallStateChanged_revoker CallStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto CallStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto CallStateChanged(winrt::event_token const& token);
[[nodiscard]] static auto IsCallActive();
[[nodiscard]] static auto IsCallIncoming();
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.0.h
index a6f041db72e..b3fa49ae611 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::ApplicationModel::Calls::Background::IPhoneCallBlockedTriggerDetails>
{
@@ -164,8 +164,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::Background::IPhoneCallOriginDataRequestTriggerDetails>
{
@@ -174,12 +174,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::Background::IPhoneIncomingCallDismissedTriggerDetails>
{
@@ -188,9 +188,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::Background::IPhoneLineChangedTriggerDetails>
{
@@ -199,9 +199,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::Background::IPhoneNewVoicemailMessageTriggerDetails>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.1.h
index 336a2e7d309..831afc50c74 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.2.h
index 9d8fb9abb3e..0b58a41e850 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Background.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.0.h
index ea83f07189e..b1d15e9840e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
WINRT_EXPORT namespace winrt::Windows::Storage
{
struct StorageFile;
@@ -101,12 +97,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin>
{
@@ -115,8 +111,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin2>
{
@@ -125,8 +121,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOrigin3>
{
@@ -135,9 +131,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOriginManagerStatics>
{
@@ -146,7 +142,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestSetAsActiveCallOriginAppAsync() const;
+ auto RequestSetAsActiveCallOriginAppAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOriginManagerStatics2>
{
@@ -155,7 +151,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Calls_Provider_IPhoneCallOriginManagerStatics3
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSupported() const;
+ [[nodiscard]] auto IsSupported() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Calls::Provider::IPhoneCallOriginManagerStatics3>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.1.h
index 617e5487aea..8664a47cdae 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.2.h
index b2fa2a4b14c..1ef9f5ff9df 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Calls.Provider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.0.h
index 0beaf12c315..c869a7f8cd1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
struct IAsyncAction;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Media::MediaProperties
{
@@ -1083,11 +1079,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IChatCapabilities>
{
@@ -1096,8 +1092,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatCapabilities>) GetCachedCapabilitiesAsync(param::hstring const& address) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatCapabilities>) GetCapabilitiesFromNetworkAsync(param::hstring const& address) const;
+ auto GetCachedCapabilitiesAsync(param::hstring const& address) const;
+ auto GetCapabilitiesFromNetworkAsync(param::hstring const& address) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IChatCapabilitiesManagerStatics>
{
@@ -1106,8 +1102,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatCapabilitiesManagerStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatCapabilities>) GetCachedCapabilitiesAsync(param::hstring const& address, param::hstring const& transportId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatCapabilities>) 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<winrt::Windows::ApplicationModel::Chat::IChatCapabilitiesManagerStatics2>
{
@@ -1116,26 +1112,26 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::ApplicationModel::Chat::ChatConversation, winrt::Windows::ApplicationModel::Chat::RemoteParticipantComposingChangedEventArgs> 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<winrt::Windows::ApplicationModel::Chat::ChatConversation, winrt::Windows::ApplicationModel::Chat::RemoteParticipantComposingChangedEventArgs> const& handler) const;
using RemoteParticipantComposingChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Chat::IChatConversation, &impl::abi_t<winrt::Windows::ApplicationModel::Chat::IChatConversation>::remove_RemoteParticipantComposingChanged>;
- [[nodiscard]] RemoteParticipantComposingChanged_revoker RemoteParticipantComposingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::ChatConversation, winrt::Windows::ApplicationModel::Chat::RemoteParticipantComposingChangedEventArgs> 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<winrt::Windows::ApplicationModel::Chat::ChatConversation, winrt::Windows::ApplicationModel::Chat::RemoteParticipantComposingChangedEventArgs> const& handler) const;
+ auto RemoteParticipantComposingChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IChatConversation>
{
@@ -1144,8 +1140,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IChatConversation2>
{
@@ -1154,8 +1150,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatConversationReader
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatConversation>>) ReadBatchAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatConversation>>) ReadBatchAsync(int32_t count) const;
+ auto ReadBatchAsync() const;
+ auto ReadBatchAsync(int32_t count) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IChatConversationReader>
{
@@ -1164,15 +1160,15 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::ApplicationModel::Chat::IChatConversationThreadingInfo>
{
@@ -1181,7 +1177,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatItem
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatItemKind) ItemKind() const;
+ [[nodiscard]] auto ItemKind() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IChatItem>
{
@@ -1190,23 +1186,23 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatMessage
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Chat::ChatMessageAttachment>) 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<hstring>) Recipients() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::Chat::ChatMessageStatus>) 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<winrt::Windows::ApplicationModel::Chat::IChatMessage>
{
@@ -1215,34 +1211,34 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::ChatRecipientDeliveryInfo>) 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<winrt::Windows::ApplicationModel::Chat::IChatMessage2>
{
@@ -1251,7 +1247,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatMessage3
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteId() const;
+ [[nodiscard]] auto RemoteId() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IChatMessage3>
{
@@ -1260,8 +1256,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IChatMessage4>
{
@@ -1270,14 +1266,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment>
{
@@ -1286,12 +1282,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IChatMessageAttachment2>
{
@@ -1300,7 +1296,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IChatMessageAttachmentFactory>
{
@@ -1309,7 +1305,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IChatMessageBlockingStatic>
{
@@ -1318,8 +1314,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IChatMessageChange>
{
@@ -1328,9 +1324,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatMessageChange>>) ReadBatchAsync() const;
+ auto AcceptChanges() const;
+ auto AcceptChangesThrough(winrt::Windows::ApplicationModel::Chat::ChatMessageChange const& lastChangeToAcknowledge) const;
+ auto ReadBatchAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IChatMessageChangeReader>
{
@@ -1339,9 +1335,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IChatMessageChangeTracker>
{
@@ -1350,7 +1346,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatMessageChangedDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IChatMessageChangedDeferral>
{
@@ -1359,7 +1355,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatMessageChangedEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessageChangedDeferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IChatMessageChangedEventArgs>
{
@@ -1368,8 +1364,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatMessageManager2Statics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) RegisterTransportAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatMessageTransport>) GetTransportAsync(param::hstring const& transportId) const;
+ auto RegisterTransportAsync() const;
+ auto GetTransportAsync(param::hstring const& transportId) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IChatMessageManager2Statics>
{
@@ -1378,10 +1374,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatic
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatMessageTransport>>) GetTransportsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatMessageStore>) 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<winrt::Windows::ApplicationModel::Chat::IChatMessageManagerStatic>
{
@@ -1390,7 +1386,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatMessageManagerStatics3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatSyncManager>) RequestSyncManagerAsync() const;
+ auto RequestSyncManagerAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IChatMessageManagerStatics3>
{
@@ -1399,7 +1395,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatMessageNotificationTriggerDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::ChatMessage) ChatMessage() const;
+ [[nodiscard]] auto ChatMessage() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IChatMessageNotificationTriggerDetails>
{
@@ -1408,10 +1404,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IChatMessageNotificationTriggerDetails2>
{
@@ -1420,7 +1416,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatMessageReader
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatMessage>>) ReadBatchAsync() const;
+ auto ReadBatchAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IChatMessageReader>
{
@@ -1429,7 +1425,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatMessageReader2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::ChatMessage>>) ReadBatchAsync(int32_t count) const;
+ auto ReadBatchAsync(int32_t count) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IChatMessageReader2>
{
@@ -1438,20 +1434,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::ChatMessage>) 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<winrt::Windows::ApplicationModel::Chat::ChatMessageStore, winrt::Windows::ApplicationModel::Chat::ChatMessageChangedEventArgs> 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<winrt::Windows::ApplicationModel::Chat::ChatMessageStore, winrt::Windows::ApplicationModel::Chat::ChatMessageChangedEventArgs> const& value) const;
using MessageChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Chat::IChatMessageStore, &impl::abi_t<winrt::Windows::ApplicationModel::Chat::IChatMessageStore>::remove_MessageChanged>;
- [[nodiscard]] MessageChanged_revoker MessageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::ChatMessageStore, winrt::Windows::ApplicationModel::Chat::ChatMessageChangedEventArgs> 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<winrt::Windows::ApplicationModel::Chat::ChatMessageStore, winrt::Windows::ApplicationModel::Chat::ChatMessageChangedEventArgs> const& value) const;
+ auto MessageChanged(winrt::event_token const& value) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IChatMessageStore>
{
@@ -1460,25 +1456,25 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatMessageStore2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatMessage>) ForwardMessageAsync(param::hstring const& localChatMessageId, param::async_iterable<hstring> const& addresses) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatConversation>) GetConversationAsync(param::hstring const& conversationId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatConversation>) GetConversationAsync(param::hstring const& conversationId, param::async_iterable<hstring> const& transportIds) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatConversation>) 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<hstring> const& transportIds) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatMessage>) GetMessageByRemoteIdAsync(param::hstring const& transportId, param::hstring const& remoteId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<int32_t>) GetUnseenCountAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<int32_t>) GetUnseenCountAsync(param::async_iterable<hstring> const& transportIds) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkAsSeenAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MarkAsSeenAsync(param::async_iterable<hstring> 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<bool>) TryCancelDownloadMessageAsync(param::hstring const& localChatMessageId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryCancelSendMessageAsync(param::hstring const& localChatMessageId) const;
- WINRT_IMPL_AUTO(winrt::event_token) StoreChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::ChatMessageStore, winrt::Windows::ApplicationModel::Chat::ChatMessageStoreChangedEventArgs> const& handler) const;
+ auto ForwardMessageAsync(param::hstring const& localChatMessageId, param::async_iterable<hstring> const& addresses) const;
+ auto GetConversationAsync(param::hstring const& conversationId) const;
+ auto GetConversationAsync(param::hstring const& conversationId, param::async_iterable<hstring> const& transportIds) const;
+ auto GetConversationFromThreadingInfoAsync(winrt::Windows::ApplicationModel::Chat::ChatConversationThreadingInfo const& threadingInfo) const;
+ auto GetConversationReader() const;
+ auto GetConversationReader(param::iterable<hstring> const& transportIds) const;
+ auto GetMessageByRemoteIdAsync(param::hstring const& transportId, param::hstring const& remoteId) const;
+ auto GetUnseenCountAsync() const;
+ auto GetUnseenCountAsync(param::async_iterable<hstring> const& transportIds) const;
+ auto MarkAsSeenAsync() const;
+ auto MarkAsSeenAsync(param::async_iterable<hstring> 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<winrt::Windows::ApplicationModel::Chat::ChatMessageStore, winrt::Windows::ApplicationModel::Chat::ChatMessageStoreChangedEventArgs> const& handler) const;
using StoreChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Chat::IChatMessageStore2, &impl::abi_t<winrt::Windows::ApplicationModel::Chat::IChatMessageStore2>::remove_StoreChanged>;
- [[nodiscard]] StoreChanged_revoker StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::ChatMessageStore, winrt::Windows::ApplicationModel::Chat::ChatMessageStoreChangedEventArgs> 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<winrt::Windows::ApplicationModel::Chat::ChatMessageStore, winrt::Windows::ApplicationModel::Chat::ChatMessageStoreChangedEventArgs> const& handler) const;
+ auto StoreChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IChatMessageStore2>
{
@@ -1487,7 +1483,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatMessageStore3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::ChatMessage>) GetMessageBySyncIdAsync(param::hstring const& syncId) const;
+ auto GetMessageBySyncIdAsync(param::hstring const& syncId) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IChatMessageStore3>
{
@@ -1496,8 +1492,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IChatMessageStoreChangedEventArgs>
{
@@ -1506,11 +1502,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IChatMessageTransport>
{
@@ -1519,8 +1515,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IChatMessageTransport2>
{
@@ -1529,11 +1525,11 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::ApplicationModel::Chat::IChatMessageTransportConfiguration>
{
@@ -1542,10 +1538,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatMessageValidationResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) MaxPartCount() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) PartCount() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) 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<winrt::Windows::ApplicationModel::Chat::IChatMessageValidationResult>
{
@@ -1554,8 +1550,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IChatQueryOptions>
{
@@ -1564,17 +1560,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) DeliveryTime() const;
- WINRT_IMPL_AUTO(void) DeliveryTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) ReadTime() const;
- WINRT_IMPL_AUTO(void) ReadTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime> const& value) const;
+ [[nodiscard]] auto ReadTime() const;
+ auto ReadTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::ApplicationModel::Chat::IChatRecipientDeliveryInfo>
{
@@ -1583,8 +1579,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IChatSearchReader
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::IChatItem>>) ReadBatchAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::IChatItem>>) ReadBatchAsync(int32_t count) const;
+ auto ReadBatchAsync() const;
+ auto ReadBatchAsync(int32_t count) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IChatSearchReader>
{
@@ -1593,10 +1589,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IChatSyncConfiguration>
{
@@ -1605,12 +1601,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IChatSyncManager>
{
@@ -1619,13 +1615,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAction>) 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<winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessage>
{
@@ -1634,7 +1630,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageAction
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Label() const;
+ [[nodiscard]] auto Label() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessageAction>
{
@@ -1643,8 +1639,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessageAvailableEventArgs>
{
@@ -1653,8 +1649,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessageAvailableTriggerDetails>
{
@@ -1663,10 +1659,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IRcsEndUserMessageManager
{
- WINRT_IMPL_AUTO(winrt::event_token) MessageAvailableChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageManager, winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAvailableEventArgs> const& handler) const;
+ auto MessageAvailableChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageManager, winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAvailableEventArgs> const& handler) const;
using MessageAvailableChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessageManager, &impl::abi_t<winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessageManager>::remove_MessageAvailableChanged>;
- [[nodiscard]] MessageAvailableChanged_revoker MessageAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageManager, winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAvailableEventArgs> 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<winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageManager, winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageAvailableEventArgs> const& handler) const;
+ auto MessageAvailableChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IRcsEndUserMessageManager>
{
@@ -1675,10 +1671,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IRcsManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::RcsEndUserMessageManager) GetEndUserMessageManager() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Chat::RcsTransport>>) GetTransportsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Chat::RcsTransport>) 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<winrt::Windows::ApplicationModel::Chat::IRcsManagerStatics>
{
@@ -1687,10 +1683,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IRcsManagerStatics2
{
- WINRT_IMPL_AUTO(winrt::event_token) TransportListChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto TransportListChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using TransportListChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Chat::IRcsManagerStatics2, &impl::abi_t<winrt::Windows::ApplicationModel::Chat::IRcsManagerStatics2>::remove_TransportListChanged>;
- [[nodiscard]] TransportListChanged_revoker TransportListChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto TransportListChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IRcsManagerStatics2>
{
@@ -1699,7 +1695,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IRcsServiceKindSupportedChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Chat::RcsServiceKind) ServiceKind() const;
+ [[nodiscard]] auto ServiceKind() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IRcsServiceKindSupportedChangedEventArgs>
{
@@ -1708,17 +1704,17 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Chat_IRcsTransport
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::ApplicationModel::Chat::RcsTransport, winrt::Windows::ApplicationModel::Chat::RcsServiceKindSupportedChangedEventArgs> 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<winrt::Windows::ApplicationModel::Chat::RcsTransport, winrt::Windows::ApplicationModel::Chat::RcsServiceKindSupportedChangedEventArgs> const& handler) const;
using ServiceKindSupportedChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Chat::IRcsTransport, &impl::abi_t<winrt::Windows::ApplicationModel::Chat::IRcsTransport>::remove_ServiceKindSupportedChanged>;
- [[nodiscard]] ServiceKindSupportedChanged_revoker ServiceKindSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Chat::RcsTransport, winrt::Windows::ApplicationModel::Chat::RcsServiceKindSupportedChangedEventArgs> 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<winrt::Windows::ApplicationModel::Chat::RcsTransport, winrt::Windows::ApplicationModel::Chat::RcsServiceKindSupportedChangedEventArgs> const& handler) const;
+ auto ServiceKindSupportedChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Chat::IRcsTransport>
{
@@ -1727,12 +1723,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IRcsTransportConfiguration>
{
@@ -1741,9 +1737,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Chat::IRemoteParticipantComposingChangedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.1.h
index 07b7258698f..bed4c7398c4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.2.h
index 17ba32f1a17..72a9c012b2e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Chat.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable> const& handler);
using TransportListChanged_revoker = impl::factory_event_revoker<winrt::Windows::ApplicationModel::Chat::IRcsManagerStatics2, &impl::abi_t<winrt::Windows::ApplicationModel::Chat::IRcsManagerStatics2>::remove_TransportListChanged>;
- [[nodiscard]] static TransportListChanged_revoker TransportListChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto TransportListChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto TransportListChanged(winrt::event_token const& token);
};
struct __declspec(empty_bases) RcsServiceKindSupportedChangedEventArgs : winrt::Windows::ApplicationModel::Chat::IRcsServiceKindSupportedChangedEventArgs
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.0.h
index 2e662163a94..3649b8fd421 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
@@ -64,12 +60,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAccessManagerStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBlockingActive() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) IsBlockedNumberAsync(param::hstring const& number) const;
- WINRT_IMPL_AUTO(bool) ShowBlockNumbersUI(param::iterable<hstring> const& phoneNumbers) const;
- WINRT_IMPL_AUTO(bool) ShowUnblockNumbersUI(param::iterable<hstring> 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<hstring> const& phoneNumbers) const;
+ auto ShowUnblockNumbersUI(param::iterable<hstring> const& phoneNumbers) const;
+ auto ShowBlockedCallsUI() const;
+ auto ShowBlockedMessagesUI() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAccessManagerStatics>
{
@@ -78,8 +74,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAppManagerStatics>
{
@@ -88,7 +84,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_CommunicationBlocking_ICommunicationBlockingAppManagerStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestSetAsActiveBlockingAppAsync() const;
+ auto RequestSetAsActiveBlockingAppAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::CommunicationBlocking::ICommunicationBlockingAppManagerStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.1.h
index f4226659ac6..280fda379b4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.2.h
index 01dcd002556..53253367675 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.CommunicationBlocking.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.0.h
index 211fbfbf25c..50cb23b1b3f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
struct Rect;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
@@ -22,15 +17,11 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
struct IPropertySet;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
struct consume_Windows_ApplicationModel_Contacts_IAggregateContactManager
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::Contact>>) FindRawContactsAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>) 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<bool>) 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<winrt::Windows::ApplicationModel::Contacts::IAggregateContactManager>
{
@@ -1660,7 +1651,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IAggregateContactManager2>
{
@@ -1669,11 +1660,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactField>) 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<winrt::Windows::ApplicationModel::Contacts::IContact>
{
@@ -1682,20 +1673,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::ContactPhone>) Phones() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactEmail>) Emails() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactAddress>) Addresses() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactConnectedServiceAccount>) ConnectedServiceAccounts() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactDate>) ImportantDates() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) DataSuppliers() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactJobInfo>) JobInfo() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactSignificantOther>) SignificantOthers() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactWebsite>) 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<winrt::Windows::ApplicationModel::Contacts::IContact2>
{
@@ -1704,29 +1695,29 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContact3>
{
@@ -1735,20 +1726,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactAddress>
{
@@ -1757,16 +1748,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactAnnotation>
{
@@ -1775,8 +1766,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactAnnotation2>
{
@@ -1785,15 +1776,15 @@ namespace winrt::impl
template <typename D>
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<bool>) TrySaveAnnotationAsync(winrt::Windows::ApplicationModel::Contacts::ContactAnnotation const& annotation) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactAnnotation>) GetAnnotationAsync(param::hstring const& annotationId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotation>>) FindAnnotationsByRemoteIdAsync(param::hstring const& remoteId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotation>>) 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<winrt::Windows::ApplicationModel::Contacts::IContactAnnotationList>
{
@@ -1802,14 +1793,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) FindContactIdsByEmailAsync(param::hstring const& emailAddress) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) FindContactIdsByPhoneNumberAsync(param::hstring const& phoneNumber) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotation>>) 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<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationList>) CreateAnnotationListAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationList>) CreateAnnotationListAsync(param::hstring const& userDataAccountId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationList>) GetAnnotationListAsync(param::hstring const& annotationListId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationList>>) 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<winrt::Windows::ApplicationModel::Contacts::IContactAnnotationStore>
{
@@ -1818,7 +1809,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactAnnotationStore2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotation>>) FindAnnotationsForContactListAsync(param::hstring const& contactListId) const;
+ auto FindAnnotationsForContactListAsync(param::hstring const& contactListId) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::IContactAnnotationStore2>
{
@@ -1827,8 +1818,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactBatch
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::Contact>) Contacts() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactBatchStatus) Status() const;
+ [[nodiscard]] auto Contacts() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::IContactBatch>
{
@@ -1837,7 +1828,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactCardDelayedDataLoader>
{
@@ -1846,10 +1837,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactCardOptions>
{
@@ -1858,7 +1849,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactCardOptions2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) ServerSearchContactListIds() const;
+ [[nodiscard]] auto ServerSearchContactListIds() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::IContactCardOptions2>
{
@@ -1867,8 +1858,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactChange>
{
@@ -1877,9 +1868,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactChange>>) ReadBatchAsync() const;
+ auto AcceptChanges() const;
+ auto AcceptChangesThrough(winrt::Windows::ApplicationModel::Contacts::ContactChange const& lastChangeToAccept) const;
+ auto ReadBatchAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::IContactChangeReader>
{
@@ -1888,9 +1879,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactChangeTracker>
{
@@ -1899,7 +1890,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactChangeTracker2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTracking() const;
+ [[nodiscard]] auto IsTracking() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::IContactChangeTracker2>
{
@@ -1908,7 +1899,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactChangedDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::IContactChangedDeferral>
{
@@ -1917,7 +1908,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactChangedEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactChangedDeferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::IContactChangedEventArgs>
{
@@ -1926,10 +1917,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactConnectedServiceAccount>
{
@@ -1938,16 +1929,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactDate
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) Day() const;
- WINRT_IMPL_AUTO(void) Day(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) Month() const;
- WINRT_IMPL_AUTO(void) Month(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) Year() const;
- WINRT_IMPL_AUTO(void) Year(winrt::Windows::Foundation::IReference<int32_t> 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<uint32_t> const& value) const;
+ [[nodiscard]] auto Month() const;
+ auto Month(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
+ [[nodiscard]] auto Year() const;
+ auto Year(winrt::Windows::Foundation::IReference<int32_t> 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<winrt::Windows::ApplicationModel::Contacts::IContactDate>
{
@@ -1956,12 +1947,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactEmail>
{
@@ -1970,10 +1961,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactField>
{
@@ -1982,9 +1973,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactFieldFactory>
{
@@ -2001,14 +1992,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactInformation
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType>) GetThumbnailAsync() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactField>) Emails() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactField>) PhoneNumbers() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactLocationField>) Locations() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactInstantMessageField>) InstantMessages() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactField>) CustomFields() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactField>) 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<winrt::Windows::ApplicationModel::Contacts::IContactInformation>
{
@@ -2017,10 +2008,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactInstantMessageField>
{
@@ -2029,9 +2020,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactInstantMessageFieldFactory>
{
@@ -2040,22 +2031,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactJobInfo>
{
@@ -2064,11 +2055,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactLaunchActionVerbsStatics>
{
@@ -2077,33 +2068,33 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::ContactList, winrt::Windows::ApplicationModel::Contacts::ContactChangedEventArgs> 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<winrt::Windows::ApplicationModel::Contacts::ContactList, winrt::Windows::ApplicationModel::Contacts::ContactChangedEventArgs> const& value) const;
using ContactChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Contacts::IContactList, &impl::abi_t<winrt::Windows::ApplicationModel::Contacts::IContactList>::remove_ContactChanged>;
- [[nodiscard]] ContactChanged_revoker ContactChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactList, winrt::Windows::ApplicationModel::Contacts::ContactChangedEventArgs> 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<winrt::Windows::ApplicationModel::Contacts::Contact>) GetContactFromRemoteIdAsync(param::hstring const& remoteId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>) 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<winrt::Windows::ApplicationModel::Contacts::Contact>) GetContactAsync(param::hstring const& contactId) const;
+ [[nodiscard]] auto ContactChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactList, winrt::Windows::ApplicationModel::Contacts::ContactChangedEventArgs> 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<winrt::Windows::ApplicationModel::Contacts::IContactList>
{
@@ -2112,9 +2103,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactList2>
{
@@ -2123,8 +2114,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactList3>
{
@@ -2133,8 +2124,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactListLimitedWriteOperations
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryCreateOrUpdateContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::ApplicationModel::Contacts::IContactListLimitedWriteOperations>
{
@@ -2143,62 +2134,62 @@ namespace winrt::impl
template <typename D>
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<int32_t>) MaxHomePhoneNumbers() const;
- WINRT_IMPL_AUTO(void) MaxHomePhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxMobilePhoneNumbers() const;
- WINRT_IMPL_AUTO(void) MaxMobilePhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxWorkPhoneNumbers() const;
- WINRT_IMPL_AUTO(void) MaxWorkPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxOtherPhoneNumbers() const;
- WINRT_IMPL_AUTO(void) MaxOtherPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxPagerPhoneNumbers() const;
- WINRT_IMPL_AUTO(void) MaxPagerPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxBusinessFaxPhoneNumbers() const;
- WINRT_IMPL_AUTO(void) MaxBusinessFaxPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxHomeFaxPhoneNumbers() const;
- WINRT_IMPL_AUTO(void) MaxHomeFaxPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxCompanyPhoneNumbers() const;
- WINRT_IMPL_AUTO(void) MaxCompanyPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxAssistantPhoneNumbers() const;
- WINRT_IMPL_AUTO(void) MaxAssistantPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxRadioPhoneNumbers() const;
- WINRT_IMPL_AUTO(void) MaxRadioPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxPersonalEmailAddresses() const;
- WINRT_IMPL_AUTO(void) MaxPersonalEmailAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxWorkEmailAddresses() const;
- WINRT_IMPL_AUTO(void) MaxWorkEmailAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxOtherEmailAddresses() const;
- WINRT_IMPL_AUTO(void) MaxOtherEmailAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxHomeAddresses() const;
- WINRT_IMPL_AUTO(void) MaxHomeAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxWorkAddresses() const;
- WINRT_IMPL_AUTO(void) MaxWorkAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxOtherAddresses() const;
- WINRT_IMPL_AUTO(void) MaxOtherAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxBirthdayDates() const;
- WINRT_IMPL_AUTO(void) MaxBirthdayDates(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxAnniversaryDates() const;
- WINRT_IMPL_AUTO(void) MaxAnniversaryDates(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxOtherDates() const;
- WINRT_IMPL_AUTO(void) MaxOtherDates(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxOtherRelationships() const;
- WINRT_IMPL_AUTO(void) MaxOtherRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxSpouseRelationships() const;
- WINRT_IMPL_AUTO(void) MaxSpouseRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxPartnerRelationships() const;
- WINRT_IMPL_AUTO(void) MaxPartnerRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxSiblingRelationships() const;
- WINRT_IMPL_AUTO(void) MaxSiblingRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxParentRelationships() const;
- WINRT_IMPL_AUTO(void) MaxParentRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxChildRelationships() const;
- WINRT_IMPL_AUTO(void) MaxChildRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxJobInfo() const;
- WINRT_IMPL_AUTO(void) MaxJobInfo(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxWebsites() const;
- WINRT_IMPL_AUTO(void) MaxWebsites(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto CanSyncDescriptions() const;
+ auto CanSyncDescriptions(bool value) const;
+ [[nodiscard]] auto MaxHomePhoneNumbers() const;
+ auto MaxHomePhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxMobilePhoneNumbers() const;
+ auto MaxMobilePhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxWorkPhoneNumbers() const;
+ auto MaxWorkPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxOtherPhoneNumbers() const;
+ auto MaxOtherPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxPagerPhoneNumbers() const;
+ auto MaxPagerPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxBusinessFaxPhoneNumbers() const;
+ auto MaxBusinessFaxPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxHomeFaxPhoneNumbers() const;
+ auto MaxHomeFaxPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxCompanyPhoneNumbers() const;
+ auto MaxCompanyPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxAssistantPhoneNumbers() const;
+ auto MaxAssistantPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxRadioPhoneNumbers() const;
+ auto MaxRadioPhoneNumbers(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxPersonalEmailAddresses() const;
+ auto MaxPersonalEmailAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxWorkEmailAddresses() const;
+ auto MaxWorkEmailAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxOtherEmailAddresses() const;
+ auto MaxOtherEmailAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxHomeAddresses() const;
+ auto MaxHomeAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxWorkAddresses() const;
+ auto MaxWorkAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxOtherAddresses() const;
+ auto MaxOtherAddresses(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxBirthdayDates() const;
+ auto MaxBirthdayDates(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxAnniversaryDates() const;
+ auto MaxAnniversaryDates(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxOtherDates() const;
+ auto MaxOtherDates(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxOtherRelationships() const;
+ auto MaxOtherRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxSpouseRelationships() const;
+ auto MaxSpouseRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxPartnerRelationships() const;
+ auto MaxPartnerRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxSiblingRelationships() const;
+ auto MaxSiblingRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxParentRelationships() const;
+ auto MaxParentRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxChildRelationships() const;
+ auto MaxChildRelationships(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxJobInfo() const;
+ auto MaxJobInfo(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxWebsites() const;
+ auto MaxWebsites(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::IContactListSyncConstraints>
{
@@ -2207,14 +2198,14 @@ namespace winrt::impl
template <typename D>
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<bool>) SyncAsync() const;
- WINRT_IMPL_AUTO(winrt::event_token) SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactListSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto LastSuccessfulSyncTime() const;
+ [[nodiscard]] auto LastAttemptedSyncTime() const;
+ auto SyncAsync() const;
+ auto SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactListSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
using SyncStatusChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Contacts::IContactListSyncManager, &impl::abi_t<winrt::Windows::ApplicationModel::Contacts::IContactListSyncManager>::remove_SyncStatusChanged>;
- [[nodiscard]] SyncStatusChanged_revoker SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactListSyncManager, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Contacts::ContactListSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SyncStatusChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::IContactListSyncManager>
{
@@ -2223,9 +2214,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactListSyncManager2>
{
@@ -2234,12 +2225,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactLocationField>
{
@@ -2248,9 +2239,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactLocationFieldFactory>
{
@@ -2259,16 +2250,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactManagerForUser
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::RandomAccessStreamReference>) ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::RandomAccessStreamReference>) ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, uint32_t maxBytes) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>) ConvertVCardToContactAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& vCard) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactStore>) RequestStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactStoreAccessType const& accessType) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStore>) 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<winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser>
{
@@ -2277,7 +2268,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactManagerForUser2>
{
@@ -2286,9 +2277,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics>
{
@@ -2297,7 +2288,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactManagerStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactStore>) RequestStoreAsync() const;
+ auto RequestStoreAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics2>
{
@@ -2306,20 +2297,20 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactManagerStatics3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::RandomAccessStreamReference>) ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::RandomAccessStreamReference>) ConvertContactToVCardAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, uint32_t maxBytes) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>) ConvertVCardToContactAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& vCard) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactStore>) RequestStoreAsync(winrt::Windows::ApplicationModel::Contacts::ContactStoreAccessType const& accessType) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationStore>) 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<winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics3>
{
@@ -2328,7 +2319,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics4>
{
@@ -2337,9 +2328,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactManagerStatics5
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::ApplicationModel::Contacts::IContactManagerStatics5>
{
@@ -2348,9 +2339,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Text::TextSegment>) Segments() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const;
+ [[nodiscard]] auto Field() const;
+ [[nodiscard]] auto Segments() const;
+ [[nodiscard]] auto Text() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::IContactMatchReason>
{
@@ -2359,22 +2350,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactName>
{
@@ -2383,17 +2374,17 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactPanel
{
- WINRT_IMPL_AUTO(void) ClosePanel() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) HeaderColor() const;
- WINRT_IMPL_AUTO(void) HeaderColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- WINRT_IMPL_AUTO(winrt::event_token) LaunchFullAppRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactPanel, winrt::Windows::ApplicationModel::Contacts::ContactPanelLaunchFullAppRequestedEventArgs> const& handler) const;
+ auto ClosePanel() const;
+ [[nodiscard]] auto HeaderColor() const;
+ auto HeaderColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ auto LaunchFullAppRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactPanel, winrt::Windows::ApplicationModel::Contacts::ContactPanelLaunchFullAppRequestedEventArgs> const& handler) const;
using LaunchFullAppRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Contacts::IContactPanel, &impl::abi_t<winrt::Windows::ApplicationModel::Contacts::IContactPanel>::remove_LaunchFullAppRequested>;
- [[nodiscard]] LaunchFullAppRequested_revoker LaunchFullAppRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactPanel, winrt::Windows::ApplicationModel::Contacts::ContactPanelLaunchFullAppRequestedEventArgs> 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<winrt::Windows::ApplicationModel::Contacts::ContactPanel, winrt::Windows::ApplicationModel::Contacts::ContactPanelClosingEventArgs> const& handler) const;
+ [[nodiscard]] auto LaunchFullAppRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactPanel, winrt::Windows::ApplicationModel::Contacts::ContactPanelLaunchFullAppRequestedEventArgs> const& handler) const;
+ auto LaunchFullAppRequested(winrt::event_token const& token) const noexcept;
+ auto Closing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactPanel, winrt::Windows::ApplicationModel::Contacts::ContactPanelClosingEventArgs> const& handler) const;
using Closing_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Contacts::IContactPanel, &impl::abi_t<winrt::Windows::ApplicationModel::Contacts::IContactPanel>::remove_Closing>;
- [[nodiscard]] Closing_revoker Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactPanel, winrt::Windows::ApplicationModel::Contacts::ContactPanelClosingEventArgs> 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<winrt::Windows::ApplicationModel::Contacts::ContactPanel, winrt::Windows::ApplicationModel::Contacts::ContactPanelClosingEventArgs> const& handler) const;
+ auto Closing(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::IContactPanel>
{
@@ -2402,7 +2393,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactPanelClosingEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::IContactPanelClosingEventArgs>
{
@@ -2411,8 +2402,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactPanelLaunchFullAppRequestedEventArgs>
{
@@ -2421,12 +2412,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactPhone>
{
@@ -2435,13 +2426,13 @@ namespace winrt::impl
template <typename D>
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<hstring>) DesiredFields() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactInformation>) PickSingleContactAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactInformation>>) 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<winrt::Windows::ApplicationModel::Contacts::IContactPicker>
{
@@ -2450,9 +2441,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactPicker2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::ContactFieldType>) DesiredFieldsWithContactFieldType() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>) PickContactAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Contacts::Contact>>) PickContactsAsync() const;
+ [[nodiscard]] auto DesiredFieldsWithContactFieldType() const;
+ auto PickContactAsync() const;
+ auto PickContactsAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::IContactPicker2>
{
@@ -2461,7 +2452,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactPicker3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
+ [[nodiscard]] auto User() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::IContactPicker3>
{
@@ -2470,8 +2461,8 @@ namespace winrt::impl
template <typename D>
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<bool>) IsSupportedAsync() const;
+ auto CreateForUser(winrt::Windows::System::User const& user) const;
+ auto IsSupportedAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::IContactPickerStatics>
{
@@ -2480,15 +2471,15 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<hstring>) 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<winrt::Windows::ApplicationModel::Contacts::IContactQueryOptions>
{
@@ -2497,8 +2488,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactQueryOptionsFactory>
{
@@ -2507,12 +2498,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactQueryTextSearch>
{
@@ -2521,8 +2512,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactReader
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactBatch>) ReadBatchAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactMatchReason>) 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<winrt::Windows::ApplicationModel::Contacts::IContactReader>
{
@@ -2531,10 +2522,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactSignificantOther>
{
@@ -2543,8 +2534,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactSignificantOther2>
{
@@ -2553,9 +2544,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IContactStore
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::Contact>>) FindContactsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::Contact>>) FindContactsAsync(param::hstring const& searchText) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>) 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<winrt::Windows::ApplicationModel::Contacts::IContactStore>
{
@@ -2564,19 +2555,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::ContactStore, winrt::Windows::ApplicationModel::Contacts::ContactChangedEventArgs> const& value) const;
+ [[nodiscard]] auto ChangeTracker() const;
+ auto ContactChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactStore, winrt::Windows::ApplicationModel::Contacts::ContactChangedEventArgs> const& value) const;
using ContactChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Contacts::IContactStore2, &impl::abi_t<winrt::Windows::ApplicationModel::Contacts::IContactStore2>::remove_ContactChanged>;
- [[nodiscard]] ContactChanged_revoker ContactChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactStore, winrt::Windows::ApplicationModel::Contacts::ContactChangedEventArgs> 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactList>>) FindContactListsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactList>) GetContactListAsync(param::hstring const& contactListId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::ContactList>) CreateContactListAsync(param::hstring const& displayName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Contacts::Contact>) 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<winrt::Windows::ApplicationModel::Contacts::ContactList>) CreateContactListAsync(param::hstring const& displayName, param::hstring const& userDataAccountId) const;
+ [[nodiscard]] auto ContactChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::ContactStore, winrt::Windows::ApplicationModel::Contacts::ContactChangedEventArgs> 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<winrt::Windows::ApplicationModel::Contacts::IContactStore2>
{
@@ -2585,7 +2576,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactStore3>
{
@@ -2602,10 +2593,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactWebsite>
{
@@ -2614,8 +2605,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IContactWebsite2>
{
@@ -2624,8 +2615,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IFullContactCardOptions>
{
@@ -2634,12 +2625,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IKnownContactFieldStatics>
{
@@ -2648,7 +2639,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_IPinnedContactIdsQueryResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) ContactIds() const;
+ [[nodiscard]] auto ContactIds() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::IPinnedContactIdsQueryResult>
{
@@ -2657,14 +2648,14 @@ namespace winrt::impl
template <typename D>
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<bool>) RequestPinContactAsync(winrt::Windows::ApplicationModel::Contacts::Contact const& contact, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestPinContactsAsync(param::async_iterable<winrt::Windows::ApplicationModel::Contacts::Contact> const& contacts, winrt::Windows::ApplicationModel::Contacts::PinnedContactSurface const& surface) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::ApplicationModel::Contacts::PinnedContactIdsQueryResult>) 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<winrt::Windows::ApplicationModel::Contacts::Contact> 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<winrt::Windows::ApplicationModel::Contacts::IPinnedContactManager>
{
@@ -2673,9 +2664,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::IPinnedContactManagerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.1.h
index 9ea46646c21..870d7728e23 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.2.h
index 4c3050382a2..f980f0c09d2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.0.h
index a15b9fb8ba4..9b57c00df60 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection
{
- WINRT_IMPL_AUTO(winrt::event_token) SyncRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListSyncManagerSyncRequestEventArgs> const& handler) const;
+ auto SyncRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListSyncManagerSyncRequestEventArgs> const& handler) const;
using SyncRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection>::remove_SyncRequested>;
- [[nodiscard]] SyncRequested_revoker SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListSyncManagerSyncRequestEventArgs> 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<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListServerSearchReadBatchRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListSyncManagerSyncRequestEventArgs> const& handler) const;
+ auto SyncRequested(winrt::event_token const& token) const noexcept;
+ auto ServerSearchReadBatchRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListServerSearchReadBatchRequestEventArgs> const& handler) const;
using ServerSearchReadBatchRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection>::remove_ServerSearchReadBatchRequested>;
- [[nodiscard]] ServerSearchReadBatchRequested_revoker ServerSearchReadBatchRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListServerSearchReadBatchRequestEventArgs> 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<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListServerSearchReadBatchRequestEventArgs> const& handler) const;
+ auto ServerSearchReadBatchRequested(winrt::event_token const& token) const noexcept;
+ auto Start() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection>
{
@@ -227,14 +227,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_DataProvider_IContactDataProviderConnection2
{
- WINRT_IMPL_AUTO(winrt::event_token) CreateOrUpdateContactRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListCreateOrUpdateContactRequestEventArgs> const& handler) const;
+ auto CreateOrUpdateContactRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListCreateOrUpdateContactRequestEventArgs> const& handler) const;
using CreateOrUpdateContactRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection2, &impl::abi_t<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection2>::remove_CreateOrUpdateContactRequested>;
- [[nodiscard]] CreateOrUpdateContactRequested_revoker CreateOrUpdateContactRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListCreateOrUpdateContactRequestEventArgs> 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<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListDeleteContactRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto CreateOrUpdateContactRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListCreateOrUpdateContactRequestEventArgs> const& handler) const;
+ auto CreateOrUpdateContactRequested(winrt::event_token const& token) const noexcept;
+ auto DeleteContactRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListDeleteContactRequestEventArgs> const& handler) const;
using DeleteContactRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection2, &impl::abi_t<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection2>::remove_DeleteContactRequested>;
- [[nodiscard]] DeleteContactRequested_revoker DeleteContactRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListDeleteContactRequestEventArgs> 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<winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactDataProviderConnection, winrt::Windows::ApplicationModel::Contacts::DataProvider::ContactListDeleteContactRequestEventArgs> const& handler) const;
+ auto DeleteContactRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderConnection2>
{
@@ -243,7 +243,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactDataProviderTriggerDetails>
{
@@ -252,10 +252,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListCreateOrUpdateContactRequest>
{
@@ -264,8 +264,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListCreateOrUpdateContactRequestEventArgs>
{
@@ -274,10 +274,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListDeleteContactRequest>
{
@@ -286,8 +286,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListDeleteContactRequestEventArgs>
{
@@ -296,13 +296,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListServerSearchReadBatchRequest>
{
@@ -311,8 +311,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListServerSearchReadBatchRequestEventArgs>
{
@@ -321,9 +321,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListSyncManagerSyncRequest>
{
@@ -332,8 +332,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::DataProvider::IContactListSyncManagerSyncRequestEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.1.h
index b17e000baa2..b337d9d4361 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.2.h
index 212242145e2..d609bbba283 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.DataProvider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.0.h
index 7f40744b490..e7ebb01f7a8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<hstring>) DesiredFields() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Contacts::ContactSelectionMode) SelectionMode() const;
- WINRT_IMPL_AUTO(winrt::event_token) ContactRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::Provider::ContactPickerUI, winrt::Windows::ApplicationModel::Contacts::Provider::ContactRemovedEventArgs> 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<winrt::Windows::ApplicationModel::Contacts::Provider::ContactPickerUI, winrt::Windows::ApplicationModel::Contacts::Provider::ContactRemovedEventArgs> const& handler) const;
using ContactRemoved_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI, &impl::abi_t<winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI>::remove_ContactRemoved>;
- [[nodiscard]] ContactRemoved_revoker ContactRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Contacts::Provider::ContactPickerUI, winrt::Windows::ApplicationModel::Contacts::Provider::ContactRemovedEventArgs> 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<winrt::Windows::ApplicationModel::Contacts::Provider::ContactPickerUI, winrt::Windows::ApplicationModel::Contacts::Provider::ContactRemovedEventArgs> const& handler) const;
+ auto ContactRemoved(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI>
{
@@ -100,8 +94,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Contacts::ContactFieldType>) DesiredFieldsWithContactFieldType() const;
+ auto AddContact(winrt::Windows::ApplicationModel::Contacts::Contact const& contact) const;
+ [[nodiscard]] auto DesiredFieldsWithContactFieldType() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::Provider::IContactPickerUI2>
{
@@ -110,7 +104,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Contacts_Provider_IContactRemovedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
+ [[nodiscard]] auto Id() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Contacts::Provider::IContactRemovedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.1.h
index 0b040420bbb..483ae18cb94 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.2.h
index 9787e4782fc..899eb408d5e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Contacts.Provider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.0.h
index a602e113f95..24a677e7655 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Media::Audio
{
struct AudioDeviceInputNode;
@@ -370,32 +365,32 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration, winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityChangedEventArgs> 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<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration, winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityChangedEventArgs> const& handler) const;
using AvailabilityChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration, &impl::abi_t<winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration>::remove_AvailabilityChanged>;
- [[nodiscard]] AvailabilityChanged_revoker AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration, winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityChangedEventArgs> 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<hstring>) GetModelDataTypeAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) GetModelData() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IInputStream>) 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<winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationTrainingStatus>) 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<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration, winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityChangedEventArgs> 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<winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetectionConfiguration>
{
@@ -404,22 +399,22 @@ namespace winrt::impl
template <typename D>
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<hstring>) SupportedModelDataTypes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionTrainingDataFormat>) SupportedTrainingDataFormats() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorPowerState>) SupportedPowerStates() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) GetSupportedModelIdsForSignalId(param::hstring const& signalId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) 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<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration>) GetConfigurations() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration>>) 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<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectionConfiguration>) 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<winrt::Windows::ApplicationModel::ConversationalAgent::IActivationSignalDetector>
{
@@ -428,10 +423,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManager
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetector>) GetAllActivationSignalDetectors() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetector>>) GetAllActivationSignalDetectorsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetector>) GetActivationSignalDetectors(winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetectorKind const& kind) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::ConversationalAgent::ActivationSignalDetector>>) 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<winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentDetectorManager>
{
@@ -440,7 +435,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentDetectorManagerStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentDetectorManager) Default() const;
+ [[nodiscard]] auto Default() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentDetectorManagerStatics>
{
@@ -449,46 +444,46 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSession
{
- WINRT_IMPL_AUTO(winrt::event_token) SessionInterrupted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionInterruptedEventArgs> const& handler) const;
+ auto SessionInterrupted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionInterruptedEventArgs> const& handler) const;
using SessionInterrupted_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession, &impl::abi_t<winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession>::remove_SessionInterrupted>;
- [[nodiscard]] SessionInterrupted_revoker SessionInterrupted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionInterruptedEventArgs> 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<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSignalDetectedEventArgs> const& handler) const;
+ [[nodiscard]] auto SessionInterrupted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionInterruptedEventArgs> const& handler) const;
+ auto SessionInterrupted(winrt::event_token const& token) const noexcept;
+ auto SignalDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSignalDetectedEventArgs> const& handler) const;
using SignalDetected_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession, &impl::abi_t<winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession>::remove_SignalDetected>;
- [[nodiscard]] SignalDetected_revoker SignalDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSignalDetectedEventArgs> 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<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSystemStateChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto SignalDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSignalDetectedEventArgs> const& handler) const;
+ auto SignalDetected(winrt::event_token const& token) const noexcept;
+ auto SystemStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSystemStateChangedEventArgs> const& handler) const;
using SystemStateChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession, &impl::abi_t<winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession>::remove_SystemStateChanged>;
- [[nodiscard]] SystemStateChanged_revoker SystemStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSystemStateChangedEventArgs> 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<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse>) RequestInterruptibleAsync(bool interruptible) const;
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse) RequestInterruptible(bool interruptible) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse>) 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<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse>) RequestForegroundActivationAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSessionUpdateResponse) RequestForegroundActivation() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::IInspectable>) GetAudioClientAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetAudioClient() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::AudioDeviceInputNode>) 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<hstring>) GetAudioCaptureDeviceIdAsync() const;
- WINRT_IMPL_AUTO(hstring) GetAudioCaptureDeviceId() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetAudioRenderDeviceIdAsync() const;
- WINRT_IMPL_AUTO(hstring) GetAudioRenderDeviceId() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) GetSignalModelIdAsync() const;
- WINRT_IMPL_AUTO(uint32_t) GetSignalModelId() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) SetSignalModelIdAsync(uint32_t signalModelId) const;
- WINRT_IMPL_AUTO(bool) SetSignalModelId(uint32_t signalModelId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<uint32_t>>) GetSupportedSignalModelIdsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) GetSupportedSignalModelIds() const;
+ [[nodiscard]] auto SystemStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession, winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSystemStateChangedEventArgs> 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<winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSession>
{
@@ -505,8 +500,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSessionStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession>) GetCurrentSessionAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSession) GetCurrentSessionSync() const;
+ auto GetCurrentSessionAsync() const;
+ auto GetCurrentSessionSync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSessionStatics>
{
@@ -515,18 +510,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSignal>
{
@@ -543,7 +538,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_ConversationalAgent_IConversationalAgentSystemStateChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::ConversationalAgentSystemStateChangeType) SystemStateChangeType() const;
+ [[nodiscard]] auto SystemStateChangeType() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::ConversationalAgent::IConversationalAgentSystemStateChangedEventArgs>
{
@@ -552,7 +547,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_ConversationalAgent_IDetectionConfigurationAvailabilityChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ConversationalAgent::DetectionConfigurationAvailabilityChangeKind) Kind() const;
+ [[nodiscard]] auto Kind() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::ConversationalAgent::IDetectionConfigurationAvailabilityChangedEventArgs>
{
@@ -561,10 +556,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::ConversationalAgent::IDetectionConfigurationAvailabilityInfo>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.1.h
index c81bea4f463..a255d58a6e7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.2.h
index 0721a3e1e53..f1fc4dd4234 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ConversationalAgent.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.0.h
index 1445c921e23..08d749bf0cd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct IGetActivationFactory;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
struct IPropertySet;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::System
{
@@ -391,8 +389,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Core_IAppListEntry
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppDisplayInfo) DisplayInfo() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) LaunchAsync() const;
+ [[nodiscard]] auto DisplayInfo() const;
+ auto LaunchAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::IAppListEntry>
{
@@ -401,7 +399,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Core_IAppListEntry2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppUserModelId() const;
+ [[nodiscard]] auto AppUserModelId() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::IAppListEntry2>
{
@@ -410,7 +408,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Core_IAppListEntry3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) LaunchForUserAsync(winrt::Windows::System::User const& user) const;
+ auto LaunchForUserAsync(winrt::Windows::System::User const& user) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::IAppListEntry3>
{
@@ -419,7 +417,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Core_IAppListEntry4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) AppInfo() const;
+ [[nodiscard]] auto AppInfo() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::IAppListEntry4>
{
@@ -428,19 +426,19 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Core_ICoreApplication
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
- WINRT_IMPL_AUTO(winrt::event_token) Suspending(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::SuspendingEventArgs> const& handler) const;
+ [[nodiscard]] auto Id() const;
+ auto Suspending(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::SuspendingEventArgs> const& handler) const;
using Suspending_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplication, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplication>::remove_Suspending>;
- [[nodiscard]] Suspending_revoker Suspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::SuspendingEventArgs> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Suspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::SuspendingEventArgs> const& handler) const;
+ auto Suspending(winrt::event_token const& token) const noexcept;
+ auto Resuming(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Resuming_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplication, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplication>::remove_Resuming>;
- [[nodiscard]] Resuming_revoker Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Core::ICoreApplication>
{
@@ -449,19 +447,19 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Core_ICoreApplication2
{
- WINRT_IMPL_AUTO(winrt::event_token) BackgroundActivated(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler) const;
+ auto BackgroundActivated(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler) const;
using BackgroundActivated_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplication2, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplication2>::remove_BackgroundActivated>;
- [[nodiscard]] BackgroundActivated_revoker BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> 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<winrt::Windows::ApplicationModel::LeavingBackgroundEventArgs> const& handler) const;
+ [[nodiscard]] auto BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler) const;
+ auto BackgroundActivated(winrt::event_token const& token) const noexcept;
+ auto LeavingBackground(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::LeavingBackgroundEventArgs> const& handler) const;
using LeavingBackground_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplication2, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplication2>::remove_LeavingBackground>;
- [[nodiscard]] LeavingBackground_revoker LeavingBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::LeavingBackgroundEventArgs> 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<winrt::Windows::ApplicationModel::EnteredBackgroundEventArgs> const& handler) const;
+ [[nodiscard]] auto LeavingBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::LeavingBackgroundEventArgs> const& handler) const;
+ auto LeavingBackground(winrt::event_token const& token) const noexcept;
+ auto EnteredBackground(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::EnteredBackgroundEventArgs> const& handler) const;
using EnteredBackground_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplication2, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplication2>::remove_EnteredBackground>;
- [[nodiscard]] EnteredBackground_revoker EnteredBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::EnteredBackgroundEventArgs> 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<winrt::Windows::ApplicationModel::EnteredBackgroundEventArgs> const& handler) const;
+ auto EnteredBackground(winrt::event_token const& token) const noexcept;
+ auto EnablePrelaunch(bool value) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::ICoreApplication2>
{
@@ -470,8 +468,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Core_ICoreApplication3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Core::AppRestartFailureReason>) RequestRestartAsync(param::hstring const& launchArguments) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Core::AppRestartFailureReason>) 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<winrt::Windows::ApplicationModel::Core::ICoreApplication3>
{
@@ -480,11 +478,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Core_ICoreApplicationExit
{
- WINRT_IMPL_AUTO(void) Exit() const;
- WINRT_IMPL_AUTO(winrt::event_token) Exiting(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Exit() const;
+ auto Exiting(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Exiting_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplicationExit, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplicationExit>::remove_Exiting>;
- [[nodiscard]] Exiting_revoker Exiting(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Exiting(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::ICoreApplicationExit>
{
@@ -493,10 +491,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Core_ICoreApplicationUnhandledError
{
- WINRT_IMPL_AUTO(winrt::event_token) UnhandledErrorDetected(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Core::UnhandledErrorDetectedEventArgs> const& handler) const;
+ auto UnhandledErrorDetected(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Core::UnhandledErrorDetectedEventArgs> const& handler) const;
using UnhandledErrorDetected_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplicationUnhandledError, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplicationUnhandledError>::remove_UnhandledErrorDetected>;
- [[nodiscard]] UnhandledErrorDetected_revoker UnhandledErrorDetected(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Core::UnhandledErrorDetectedEventArgs> 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<winrt::Windows::ApplicationModel::Core::UnhandledErrorDetectedEventArgs> const& handler) const;
+ auto UnhandledErrorDetected(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::ICoreApplicationUnhandledError>
{
@@ -505,8 +503,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Core::ICoreApplicationUseCount>
{
@@ -515,13 +513,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Core::CoreApplicationView, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> const& handler) const;
+ [[nodiscard]] auto CoreWindow() const;
+ auto Activated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationView, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> const& handler) const;
using Activated_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplicationView, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplicationView>::remove_Activated>;
- [[nodiscard]] Activated_revoker Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationView, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> 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<winrt::Windows::ApplicationModel::Core::CoreApplicationView, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> const& handler) const;
+ auto Activated(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto IsMain() const;
+ [[nodiscard]] auto IsHosted() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::ICoreApplicationView>
{
@@ -530,7 +528,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Core_ICoreApplicationView2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreDispatcher) Dispatcher() const;
+ [[nodiscard]] auto Dispatcher() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::ICoreApplicationView2>
{
@@ -539,12 +537,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Core::CoreApplicationView, winrt::Windows::ApplicationModel::Core::HostedViewClosingEventArgs> const& handler) const;
+ [[nodiscard]] auto IsComponent() const;
+ [[nodiscard]] auto TitleBar() const;
+ auto HostedViewClosing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationView, winrt::Windows::ApplicationModel::Core::HostedViewClosingEventArgs> const& handler) const;
using HostedViewClosing_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplicationView3, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplicationView3>::remove_HostedViewClosing>;
- [[nodiscard]] HostedViewClosing_revoker HostedViewClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationView, winrt::Windows::ApplicationModel::Core::HostedViewClosingEventArgs> 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<winrt::Windows::ApplicationModel::Core::CoreApplicationView, winrt::Windows::ApplicationModel::Core::HostedViewClosingEventArgs> const& handler) const;
+ auto HostedViewClosing(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::ICoreApplicationView3>
{
@@ -553,7 +551,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Core_ICoreApplicationView5
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) Properties() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::ICoreApplicationView5>
{
@@ -562,7 +560,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Core_ICoreApplicationView6
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) DispatcherQueue() const;
+ [[nodiscard]] auto DispatcherQueue() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::ICoreApplicationView6>
{
@@ -571,20 +569,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar, winrt::Windows::Foundation::IInspectable> const& handler) const;
using LayoutMetricsChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar>::remove_LayoutMetricsChanged>;
- [[nodiscard]] LayoutMetricsChanged_revoker LayoutMetricsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto LayoutMetricsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto LayoutMetricsChanged(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto IsVisible() const;
+ auto IsVisibleChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar, winrt::Windows::Foundation::IInspectable> const& handler) const;
using IsVisibleChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar>::remove_IsVisibleChanged>;
- [[nodiscard]] IsVisibleChanged_revoker IsVisibleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Core::CoreApplicationViewTitleBar, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto IsVisibleChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::ICoreApplicationViewTitleBar>
{
@@ -593,9 +591,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Core::CoreApplicationView>) 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<winrt::Windows::ApplicationModel::Core::ICoreImmersiveApplication>
{
@@ -604,7 +602,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Core_ICoreImmersiveApplication2
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::CoreApplicationView) CreateNewView() const;
+ auto CreateNewView() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::ICoreImmersiveApplication2>
{
@@ -613,7 +611,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Core::ICoreImmersiveApplication3>
{
@@ -622,11 +620,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Core::IFrameworkView>
{
@@ -635,7 +633,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Core_IFrameworkViewSource
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::IFrameworkView) CreateView() const;
+ auto CreateView() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::IFrameworkViewSource>
{
@@ -644,7 +642,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Core_IHostedViewClosingEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::IHostedViewClosingEventArgs>
{
@@ -653,8 +651,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Core::IUnhandledError>
{
@@ -663,7 +661,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Core_IUnhandledErrorDetectedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Core::UnhandledError) UnhandledError() const;
+ [[nodiscard]] auto UnhandledError() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Core::IUnhandledErrorDetectedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.1.h
index 61451bd7a6d..cd9663e126e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.2.h
index fa600a1a0fb..0506d1fce2a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Core.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::ApplicationModel::SuspendingEventArgs> const& handler);
using Suspending_revoker = impl::factory_event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplication, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplication>::remove_Suspending>;
- [[nodiscard]] static Suspending_revoker Suspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::SuspendingEventArgs> const& handler);
+ [[nodiscard]] static auto Suspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::SuspendingEventArgs> const& handler);
static auto Suspending(winrt::event_token const& token);
static auto Resuming(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using Resuming_revoker = impl::factory_event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplication, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplication>::remove_Resuming>;
- [[nodiscard]] static Resuming_revoker Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler);
using BackgroundActivated_revoker = impl::factory_event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplication2, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplication2>::remove_BackgroundActivated>;
- [[nodiscard]] static BackgroundActivated_revoker BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler);
+ [[nodiscard]] static auto BackgroundActivated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Activation::BackgroundActivatedEventArgs> const& handler);
static auto BackgroundActivated(winrt::event_token const& token);
static auto LeavingBackground(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::LeavingBackgroundEventArgs> const& handler);
using LeavingBackground_revoker = impl::factory_event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplication2, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplication2>::remove_LeavingBackground>;
- [[nodiscard]] static LeavingBackground_revoker LeavingBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::LeavingBackgroundEventArgs> const& handler);
+ [[nodiscard]] static auto LeavingBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::LeavingBackgroundEventArgs> const& handler);
static auto LeavingBackground(winrt::event_token const& token);
static auto EnteredBackground(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::EnteredBackgroundEventArgs> const& handler);
using EnteredBackground_revoker = impl::factory_event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplication2, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplication2>::remove_EnteredBackground>;
- [[nodiscard]] static EnteredBackground_revoker EnteredBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::EnteredBackgroundEventArgs> const& handler);
+ [[nodiscard]] static auto EnteredBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::EnteredBackgroundEventArgs> 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<winrt::Windows::Foundation::IInspectable> const& handler);
using Exiting_revoker = impl::factory_event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplicationExit, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplicationExit>::remove_Exiting>;
- [[nodiscard]] static Exiting_revoker Exiting(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto Exiting(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto Exiting(winrt::event_token const& token);
static auto UnhandledErrorDetected(winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Core::UnhandledErrorDetectedEventArgs> const& handler);
using UnhandledErrorDetected_revoker = impl::factory_event_revoker<winrt::Windows::ApplicationModel::Core::ICoreApplicationUnhandledError, &impl::abi_t<winrt::Windows::ApplicationModel::Core::ICoreApplicationUnhandledError>::remove_UnhandledErrorDetected>;
- [[nodiscard]] static UnhandledErrorDetected_revoker UnhandledErrorDetected(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Core::UnhandledErrorDetectedEventArgs> const& handler);
+ [[nodiscard]] static auto UnhandledErrorDetected(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::Core::UnhandledErrorDetectedEventArgs> const& handler);
static auto UnhandledErrorDetected(winrt::event_token const& token);
static auto IncrementApplicationUseCount();
static auto DecrementApplicationUseCount();
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.0.h
index e1bd4ec471b..9dce7cdb24c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
struct Rect;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
@@ -17,10 +16,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<hstring>) RoamingFormats() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) 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<winrt::Windows::ApplicationModel::DataTransfer::IClipboardContentOptions>
{
@@ -877,9 +871,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IClipboardHistoryItem>
{
@@ -888,8 +882,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItem>) Items() const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto Items() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IClipboardHistoryItemsResult>
{
@@ -898,14 +892,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
using ContentChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics>::remove_ContentChanged>;
- [[nodiscard]] ContentChanged_revoker ContentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ContentChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics>
{
@@ -914,25 +908,25 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IClipboardStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryItemsResult>) 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<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryChangedEventArgs> 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<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryChangedEventArgs> const& handler) const;
using HistoryChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2>::remove_HistoryChanged>;
- [[nodiscard]] HistoryChanged_revoker HistoryChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryChangedEventArgs> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto HistoryChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryChangedEventArgs> const& handler) const;
+ auto HistoryChanged(winrt::event_token const& token) const noexcept;
+ auto RoamingEnabledChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using RoamingEnabledChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2>::remove_RoamingEnabledChanged>;
- [[nodiscard]] RoamingEnabledChanged_revoker RoamingEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto RoamingEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto RoamingEnabledChanged(winrt::event_token const& token) const noexcept;
+ auto HistoryEnabledChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using HistoryEnabledChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2>::remove_HistoryEnabledChanged>;
- [[nodiscard]] HistoryEnabledChanged_revoker HistoryEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto HistoryEnabledChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2>
{
@@ -941,28 +935,28 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::ApplicationModel::DataTransfer::OperationCompletedEventArgs> 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<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::ApplicationModel::DataTransfer::OperationCompletedEventArgs> const& handler) const;
using OperationCompleted_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::DataTransfer::IDataPackage, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::IDataPackage>::remove_OperationCompleted>;
- [[nodiscard]] OperationCompleted_revoker OperationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::ApplicationModel::DataTransfer::OperationCompletedEventArgs> 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<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto OperationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::ApplicationModel::DataTransfer::OperationCompletedEventArgs> const& handler) const;
+ auto OperationCompleted(winrt::event_token const& token) const noexcept;
+ auto Destroyed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Destroyed_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::DataTransfer::IDataPackage, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::IDataPackage>::remove_Destroyed>;
- [[nodiscard]] Destroyed_revoker Destroyed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::Foundation::IInspectable> 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<hstring, winrt::Windows::Storage::Streams::RandomAccessStreamReference>) 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<winrt::Windows::Storage::IStorageItem> const& value) const;
- WINRT_IMPL_AUTO(void) SetStorageItems(param::iterable<winrt::Windows::Storage::IStorageItem> const& value, bool readOnly) const;
+ [[nodiscard]] auto Destroyed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Storage::IStorageItem> const& value) const;
+ auto SetStorageItems(param::iterable<winrt::Windows::Storage::IStorageItem> const& value, bool readOnly) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IDataPackage>
{
@@ -971,8 +965,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IDataPackage2>
{
@@ -981,10 +975,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IDataPackage3
{
- WINRT_IMPL_AUTO(winrt::event_token) ShareCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::ApplicationModel::DataTransfer::ShareCompletedEventArgs> const& handler) const;
+ auto ShareCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::ApplicationModel::DataTransfer::ShareCompletedEventArgs> const& handler) const;
using ShareCompleted_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::DataTransfer::IDataPackage3, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::IDataPackage3>::remove_ShareCompleted>;
- [[nodiscard]] ShareCompleted_revoker ShareCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::ApplicationModel::DataTransfer::ShareCompletedEventArgs> 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<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::ApplicationModel::DataTransfer::ShareCompletedEventArgs> const& handler) const;
+ auto ShareCompleted(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IDataPackage3>
{
@@ -993,10 +987,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IDataPackage4
{
- WINRT_IMPL_AUTO(winrt::event_token) ShareCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ShareCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ShareCanceled_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::DataTransfer::IDataPackage4, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::IDataPackage4>::remove_ShareCanceled>;
- [[nodiscard]] ShareCanceled_revoker ShareCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::DataTransfer::DataPackage, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ShareCanceled(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IDataPackage4>
{
@@ -1005,17 +999,17 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet>
{
@@ -1024,16 +1018,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet2>
{
@@ -1042,8 +1036,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet3>
{
@@ -1052,8 +1046,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySet4>
{
@@ -1062,12 +1056,12 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView>
{
@@ -1076,11 +1070,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView2>
{
@@ -1089,7 +1083,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView3
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) EnterpriseId() const;
+ [[nodiscard]] auto EnterpriseId() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView3>
{
@@ -1098,7 +1092,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView4
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentSourceUserActivityJson() const;
+ [[nodiscard]] auto ContentSourceUserActivityJson() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView4>
{
@@ -1107,7 +1101,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IDataPackagePropertySetView5
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFromRoamingClipboard() const;
+ [[nodiscard]] auto IsFromRoamingClipboard() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IDataPackagePropertySetView5>
{
@@ -1116,20 +1110,20 @@ namespace winrt::impl
template <typename D>
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<hstring>) AvailableFormats() const;
- WINRT_IMPL_AUTO(bool) Contains(param::hstring const& formatId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::IInspectable>) GetDataAsync(param::hstring const& formatId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetTextAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetTextAsync(param::hstring const& formatId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Uri>) GetUriAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetHtmlFormatAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Storage::Streams::RandomAccessStreamReference>>) GetResourceMapAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetRtfAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::RandomAccessStreamReference>) GetBitmapAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>>) 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<winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView>
{
@@ -1138,8 +1132,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IDataPackageView2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Uri>) GetApplicationLinkAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Uri>) GetWebLinkAsync() const;
+ auto GetApplicationLinkAsync() const;
+ auto GetWebLinkAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView2>
{
@@ -1148,9 +1142,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IDataPackageView3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) RequestAccessAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) 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<winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView3>
{
@@ -1159,7 +1153,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IDataPackageView4>
{
@@ -1168,7 +1162,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IDataProviderDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IDataProviderDeferral>
{
@@ -1177,10 +1171,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IDataProviderRequest>
{
@@ -1189,11 +1183,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IDataRequest>
{
@@ -1202,7 +1196,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IDataRequestDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IDataRequestDeferral>
{
@@ -1211,7 +1205,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IDataRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataRequest) Request() const;
+ [[nodiscard]] auto Request() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IDataRequestedEventArgs>
{
@@ -1220,14 +1214,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager
{
- WINRT_IMPL_AUTO(winrt::event_token) DataRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> const& handler) const;
+ auto DataRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> const& handler) const;
using DataRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager>::remove_DataRequested>;
- [[nodiscard]] DataRequested_revoker DataRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> 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<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> const& handler) const;
+ [[nodiscard]] auto DataRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::DataRequestedEventArgs> const& handler) const;
+ auto DataRequested(winrt::event_token const& token) const noexcept;
+ auto TargetApplicationChosen(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> const& handler) const;
using TargetApplicationChosen_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager>::remove_TargetApplicationChosen>;
- [[nodiscard]] TargetApplicationChosen_revoker TargetApplicationChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> 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<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::TargetApplicationChosenEventArgs> const& handler) const;
+ auto TargetApplicationChosen(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager>
{
@@ -1236,10 +1230,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IDataTransferManager2
{
- WINRT_IMPL_AUTO(winrt::event_token) ShareProvidersRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::ShareProvidersRequestedEventArgs> const& handler) const;
+ auto ShareProvidersRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::ShareProvidersRequestedEventArgs> const& handler) const;
using ShareProvidersRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager2, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager2>::remove_ShareProvidersRequested>;
- [[nodiscard]] ShareProvidersRequested_revoker ShareProvidersRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::ShareProvidersRequestedEventArgs> 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<winrt::Windows::ApplicationModel::DataTransfer::DataTransferManager, winrt::Windows::ApplicationModel::DataTransfer::ShareProvidersRequestedEventArgs> const& handler) const;
+ auto ShareProvidersRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManager2>
{
@@ -1248,8 +1242,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics>
{
@@ -1258,7 +1252,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IDataTransferManagerStatics2
{
- WINRT_IMPL_AUTO(bool) IsSupported() const;
+ auto IsSupported() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics2>
{
@@ -1267,7 +1261,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IDataTransferManagerStatics3>
{
@@ -1276,8 +1270,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IHtmlFormatHelperStatics>
{
@@ -1286,7 +1280,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IOperationCompletedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) Operation() const;
+ [[nodiscard]] auto Operation() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IOperationCompletedEventArgs>
{
@@ -1295,7 +1289,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IOperationCompletedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) AcceptedFormatId() const;
+ [[nodiscard]] auto AcceptedFormatId() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IOperationCompletedEventArgs2>
{
@@ -1304,7 +1298,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IShareCompletedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::ShareTargetInfo) ShareTarget() const;
+ [[nodiscard]] auto ShareTarget() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IShareCompletedEventArgs>
{
@@ -1313,11 +1307,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IShareProvider>
{
@@ -1326,7 +1320,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IShareProviderFactory>
{
@@ -1335,9 +1329,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IShareProviderOperation>
{
@@ -1346,9 +1340,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IShareProvidersRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::DataTransfer::ShareProvider>) 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<winrt::Windows::ApplicationModel::DataTransfer::IShareProvidersRequestedEventArgs>
{
@@ -1357,8 +1351,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IShareTargetInfo>
{
@@ -1367,10 +1361,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Rect>) SelectionRect() const;
- WINRT_IMPL_AUTO(void) SelectionRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> 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<winrt::Windows::Foundation::Rect> const& value) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IShareUIOptions>
{
@@ -1379,9 +1373,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::StorageFile>) 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<winrt::Windows::ApplicationModel::DataTransfer::ISharedStorageAccessManagerStatics>
{
@@ -1390,12 +1384,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IStandardDataFormatsStatics>
{
@@ -1404,8 +1398,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::IStandardDataFormatsStatics2>
{
@@ -1414,7 +1408,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_IStandardDataFormatsStatics3
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserActivityJsonArray() const;
+ [[nodiscard]] auto UserActivityJsonArray() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::IStandardDataFormatsStatics3>
{
@@ -1423,7 +1417,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_ITargetApplicationChosenEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ApplicationName() const;
+ [[nodiscard]] auto ApplicationName() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::ITargetApplicationChosenEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.1.h
index b7d962dda61..233bf548b82 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.2.h
index 8efe9f05258..de468394dac 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable> const& handler);
using ContentChanged_revoker = impl::factory_event_revoker<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics>::remove_ContentChanged>;
- [[nodiscard]] static ContentChanged_revoker ContentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto ContentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryChangedEventArgs> const& handler);
using HistoryChanged_revoker = impl::factory_event_revoker<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2>::remove_HistoryChanged>;
- [[nodiscard]] static HistoryChanged_revoker HistoryChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryChangedEventArgs> const& handler);
+ [[nodiscard]] static auto HistoryChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::ApplicationModel::DataTransfer::ClipboardHistoryChangedEventArgs> const& handler);
static auto HistoryChanged(winrt::event_token const& token);
static auto RoamingEnabledChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using RoamingEnabledChanged_revoker = impl::factory_event_revoker<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2>::remove_RoamingEnabledChanged>;
- [[nodiscard]] static RoamingEnabledChanged_revoker RoamingEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto RoamingEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto RoamingEnabledChanged(winrt::event_token const& token);
static auto HistoryEnabledChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using HistoryEnabledChanged_revoker = impl::factory_event_revoker<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::IClipboardStatics2>::remove_HistoryEnabledChanged>;
- [[nodiscard]] static HistoryEnabledChanged_revoker HistoryEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto HistoryEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto HistoryEnabledChanged(winrt::event_token const& token);
};
struct __declspec(empty_bases) ClipboardContentOptions : winrt::Windows::ApplicationModel::DataTransfer::IClipboardContentOptions
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.0.h
index e4a06006671..89762fea829 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.0.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.1.h
index 7a797dcdbc5..4c5af95d4a0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.2.h
index ac98e0ca787..75d296b43cb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.0.h
index 095aa316536..ee94a05fbd2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Point;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
@@ -184,12 +183,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDragDropManager
{
- WINRT_IMPL_AUTO(winrt::event_token) TargetRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragDropManager, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDropOperationTargetRequestedEventArgs> const& value) const;
+ auto TargetRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragDropManager, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDropOperationTargetRequestedEventArgs> const& value) const;
using TargetRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragDropManager, &impl::abi_t<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragDropManager>::remove_TargetRequested>;
- [[nodiscard]] TargetRequested_revoker TargetRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragDropManager, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDropOperationTargetRequestedEventArgs> 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<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDragDropManager, winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::CoreDropOperationTargetRequestedEventArgs> const& value) const;
+ auto TargetRequested(winrt::event_token const& value) const noexcept;
+ [[nodiscard]] auto AreConcurrentOperationsEnabled() const;
+ auto AreConcurrentOperationsEnabled(bool value) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragDropManager>
{
@@ -198,7 +197,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragDropManagerStatics>
{
@@ -207,9 +206,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragInfo>
{
@@ -218,7 +217,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragInfo2>
{
@@ -227,13 +226,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation>) 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<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragOperation>
{
@@ -242,8 +241,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragOperation2>
{
@@ -252,17 +251,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDragUIOverride>
{
@@ -271,10 +270,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_DragDrop_Core_ICoreDropOperationTarget
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation>) 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<winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation>) 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<winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation>) 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<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDropOperationTarget>
{
@@ -283,7 +282,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::DragDrop::Core::ICoreDropOperationTargetRequestedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.1.h
index 04dff2f65ea..ec00a6c77d8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.2.h
index 535a2eebc4f..cce5e344fcf 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.DragDrop.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.0.h
index fd6883ad0f8..c3c69f74595 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct RandomAccessStreamReference;
@@ -95,14 +86,14 @@ namespace winrt::impl
template <typename D>
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<hstring>) SupportedDataFormats() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) 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<winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IQuickLink>
{
@@ -111,15 +102,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation>
{
@@ -128,7 +119,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation2
{
- WINRT_IMPL_AUTO(void) DismissUI() const;
+ auto DismissUI() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation2>
{
@@ -137,7 +128,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_DataTransfer_ShareTarget_IShareOperation3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::Contact>) Contacts() const;
+ [[nodiscard]] auto Contacts() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::DataTransfer::ShareTarget::IShareOperation3>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.1.h
index f7c13de5012..e20d0778bd6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.2.h
index 4ed377591fe..4e868b6451f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.DataTransfer.ShareTarget.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.0.h
index 6bce33ff5c6..540d19809c0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Certificates
{
@@ -1394,10 +1391,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailAttachment>
{
@@ -1406,20 +1403,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailAttachment2>
{
@@ -1428,7 +1425,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailAttachmentFactory>
{
@@ -1437,7 +1434,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailAttachmentFactory2>
{
@@ -1446,21 +1443,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMessage>>) FindMessagesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMessage>>) 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<winrt::Windows::ApplicationModel::Email::IEmailConversation>
{
@@ -1469,8 +1466,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Email_IEmailConversationBatch
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailConversation>) Conversations() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailBatchStatus) Status() const;
+ [[nodiscard]] auto Conversations() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::IEmailConversationBatch>
{
@@ -1479,7 +1476,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Email_IEmailConversationReader
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailConversationBatch>) ReadBatchAsync() const;
+ auto ReadBatchAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::IEmailConversationReader>
{
@@ -1488,31 +1485,31 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::EmailFolder>) CreateFolderAsync(param::hstring const& name) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailFolder>>) 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<winrt::Windows::ApplicationModel::Email::EmailMessage>) 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<winrt::Windows::ApplicationModel::Email::EmailItemCounts>) GetMessageCountsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryMoveAsync(winrt::Windows::ApplicationModel::Email::EmailFolder const& newParentFolder) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryMoveAsync(winrt::Windows::ApplicationModel::Email::EmailFolder const& newParentFolder, param::hstring const& newFolderName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::ApplicationModel::Email::IEmailFolder>
{
@@ -1521,30 +1518,30 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailIrmInfo>
{
@@ -1553,7 +1550,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailIrmInfoFactory>
{
@@ -1562,12 +1559,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailIrmTemplate>
{
@@ -1576,7 +1573,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailIrmTemplateFactory>
{
@@ -1585,10 +1582,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailItemCounts>
{
@@ -1597,58 +1594,58 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::ApplicationModel::Email::EmailConversation>) GetConversationAsync(param::hstring const& id) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailFolder>) GetFolderAsync(param::hstring const& id) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMessage>) GetMessageAsync(param::hstring const& id) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailFolder>) 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<bool>) TryMoveMessageAsync(param::hstring const& messageId, param::hstring const& newParentFolderId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryMoveFolderAsync(param::hstring const& folderId, param::hstring const& newParentFolderId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::ApplicationModel::Email::EmailMessage>) 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<bool>) 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<bool>) TryForwardMeetingAsync(winrt::Windows::ApplicationModel::Email::EmailMessage const& meeting, param::async_iterable<winrt::Windows::ApplicationModel::Email::EmailRecipient> 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<bool>) 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<winrt::Windows::ApplicationModel::Email::EmailMailbox, winrt::Windows::ApplicationModel::Email::EmailMailboxChangedEventArgs> 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<winrt::Windows::ApplicationModel::Email::EmailRecipient> 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<winrt::Windows::ApplicationModel::Email::EmailMailbox, winrt::Windows::ApplicationModel::Email::EmailMailboxChangedEventArgs> const& pHandler) const;
using MailboxChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Email::IEmailMailbox, &impl::abi_t<winrt::Windows::ApplicationModel::Email::IEmailMailbox>::remove_MailboxChanged>;
- [[nodiscard]] MailboxChanged_revoker MailboxChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::EmailMailbox, winrt::Windows::ApplicationModel::Email::EmailMailboxChangedEventArgs> 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<bool>) TrySetAutoReplySettingsAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings const& autoReplySettings) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplySettings>) TryGetAutoReplySettingsAsync(winrt::Windows::ApplicationModel::Email::EmailMailboxAutoReplyMessageResponseKind const& requestedFormat) const;
+ [[nodiscard]] auto MailboxChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::EmailMailbox, winrt::Windows::ApplicationModel::Email::EmailMailboxChangedEventArgs> 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<winrt::Windows::ApplicationModel::Email::IEmailMailbox>
{
@@ -1657,9 +1654,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailMailbox2>
{
@@ -1668,11 +1665,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Email_IEmailMailbox3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionResult>>) ResolveRecipientsAsync(param::async_iterable<hstring> const& recipients) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailCertificateValidationStatus>>) ValidateCertificatesAsync(param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& certificates) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMailboxEmptyFolderStatus>) TryEmptyFolderAsync(param::hstring const& folderId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMailboxCreateFolderResult>) TryCreateFolderAsync(param::hstring const& parentFolderId, param::hstring const& name) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMailboxDeleteFolderStatus>) TryDeleteFolderAsync(param::hstring const& folderId) const;
+ auto ResolveRecipientsAsync(param::async_iterable<hstring> const& recipients) const;
+ auto ValidateCertificatesAsync(param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> 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<winrt::Windows::ApplicationModel::Email::IEmailMailbox3>
{
@@ -1681,7 +1678,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Email_IEmailMailbox4
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RegisterSyncManagerAsync() const;
+ auto RegisterSyncManagerAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::IEmailMailbox4>
{
@@ -1690,7 +1687,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailMailbox5>
{
@@ -1699,8 +1696,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailMailboxAction>
{
@@ -1709,10 +1706,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReply>
{
@@ -1721,17 +1718,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) StartTime() const;
- WINRT_IMPL_AUTO(void) StartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) EndTime() const;
- WINRT_IMPL_AUTO(void) EndTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime> const& value) const;
+ [[nodiscard]] auto EndTime() const;
+ auto EndTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
+ [[nodiscard]] auto InternalReply() const;
+ [[nodiscard]] auto KnownExternalReply() const;
+ [[nodiscard]] auto UnknownExternalReply() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::IEmailMailboxAutoReplySettings>
{
@@ -1740,14 +1737,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities>
{
@@ -1756,12 +1753,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities2>
{
@@ -1770,20 +1767,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailMailboxCapabilities3>
{
@@ -1792,10 +1789,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::EmailMailboxAction>) 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<winrt::Windows::ApplicationModel::Email::IEmailMailboxChange>
{
@@ -1804,9 +1801,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMailboxChange>>) ReadBatchAsync() const;
+ auto AcceptChanges() const;
+ auto AcceptChangesThrough(winrt::Windows::ApplicationModel::Email::EmailMailboxChange const& lastChangeToAcknowledge) const;
+ auto ReadBatchAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::IEmailMailboxChangeReader>
{
@@ -1815,10 +1812,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailMailboxChangeTracker>
{
@@ -1827,7 +1824,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Email_IEmailMailboxChangedDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::IEmailMailboxChangedDeferral>
{
@@ -1836,7 +1833,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Email_IEmailMailboxChangedEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailMailboxChangedDeferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::IEmailMailboxChangedEventArgs>
{
@@ -1845,8 +1842,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailMailboxCreateFolderResult>
{
@@ -1855,10 +1852,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::EmailMailboxSmimeEncryptionAlgorithm>) RequiredSmimeEncryptionAlgorithm() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::Email::EmailMailboxSmimeSigningAlgorithm>) RequiredSmimeSigningAlgorithm() const;
+ [[nodiscard]] auto AllowedSmimeEncryptionAlgorithmNegotiation() const;
+ [[nodiscard]] auto AllowSmimeSoftCertificates() const;
+ [[nodiscard]] auto RequiredSmimeEncryptionAlgorithm() const;
+ [[nodiscard]] auto RequiredSmimeSigningAlgorithm() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies>
{
@@ -1867,8 +1864,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies2>
{
@@ -1877,12 +1874,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::EmailMailboxSmimeEncryptionAlgorithm> const& value) const;
- WINRT_IMPL_AUTO(void) RequiredSmimeSigningAlgorithm(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::Email::EmailMailboxSmimeSigningAlgorithm> 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<winrt::Windows::ApplicationModel::Email::EmailMailboxSmimeEncryptionAlgorithm> const& value) const;
+ auto RequiredSmimeSigningAlgorithm(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::Email::EmailMailboxSmimeSigningAlgorithm> const& value) const;
+ auto MustEncryptSmimeMessages(bool value) const;
+ auto MustSignSmimeMessages(bool value) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::IEmailMailboxPolicies3>
{
@@ -1891,14 +1888,14 @@ namespace winrt::impl
template <typename D>
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<bool>) SyncAsync() const;
- WINRT_IMPL_AUTO(winrt::event_token) SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::EmailMailboxSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto LastSuccessfulSyncTime() const;
+ [[nodiscard]] auto LastAttemptedSyncTime() const;
+ auto SyncAsync() const;
+ auto SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::EmailMailboxSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
using SyncStatusChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Email::IEmailMailboxSyncManager, &impl::abi_t<winrt::Windows::ApplicationModel::Email::IEmailMailboxSyncManager>::remove_SyncStatusChanged>;
- [[nodiscard]] SyncStatusChanged_revoker SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::EmailMailboxSyncManager, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Email::EmailMailboxSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SyncStatusChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::IEmailMailboxSyncManager>
{
@@ -1907,9 +1904,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailMailboxSyncManager2>
{
@@ -1918,9 +1915,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::EmailStore>) 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<winrt::Windows::ApplicationModel::Email::IEmailManagerForUser>
{
@@ -1929,7 +1926,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailManagerStatics>
{
@@ -1938,7 +1935,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Email_IEmailManagerStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailStore>) RequestStoreAsync(winrt::Windows::ApplicationModel::Email::EmailStoreAccessType const& accessType) const;
+ auto RequestStoreAsync(winrt::Windows::ApplicationModel::Email::EmailStoreAccessType const& accessType) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::IEmailManagerStatics2>
{
@@ -1947,7 +1944,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailManagerStatics3>
{
@@ -1956,32 +1953,32 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) AppointmentOriginalStartTime() const;
- WINRT_IMPL_AUTO(void) AppointmentOriginalStartTime(winrt::Windows::Foundation::IReference<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(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<winrt::Windows::Foundation::DateTime>) ProposedStartTime() const;
- WINRT_IMPL_AUTO(void) ProposedStartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& proposedStartTime) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) ProposedDuration() const;
- WINRT_IMPL_AUTO(void) ProposedDuration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& duration) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) RecurrenceStartTime() const;
- WINRT_IMPL_AUTO(void) RecurrenceStartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime> const& proposedStartTime) const;
+ [[nodiscard]] auto ProposedDuration() const;
+ auto ProposedDuration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& duration) const;
+ [[nodiscard]] auto RecurrenceStartTime() const;
+ auto RecurrenceStartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo>
{
@@ -1990,7 +1987,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Email_IEmailMeetingInfo2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReportedOutOfDateByServer() const;
+ [[nodiscard]] auto IsReportedOutOfDateByServer() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::IEmailMeetingInfo2>
{
@@ -1999,14 +1996,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::EmailRecipient>) To() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Email::EmailRecipient>) CC() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Email::EmailRecipient>) Bcc() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Email::EmailAttachment>) 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<winrt::Windows::ApplicationModel::Email::IEmailMessage>
{
@@ -2015,51 +2012,51 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) SentTime() const;
- WINRT_IMPL_AUTO(void) SentTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::ApplicationModel::Email::IEmailMessage2>
{
@@ -2068,10 +2065,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailMessage3>
{
@@ -2080,9 +2077,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Email_IEmailMessage4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Email::EmailRecipient>) 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<winrt::Windows::ApplicationModel::Email::IEmailMessage4>
{
@@ -2091,8 +2088,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Email_IEmailMessageBatch
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMessage>) Messages() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Email::EmailBatchStatus) Status() const;
+ [[nodiscard]] auto Messages() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::IEmailMessageBatch>
{
@@ -2101,7 +2098,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Email_IEmailMessageReader
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMessageBatch>) ReadBatchAsync() const;
+ auto ReadBatchAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::IEmailMessageReader>
{
@@ -2110,14 +2107,14 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::ApplicationModel::Email::IEmailQueryOptions>
{
@@ -2126,8 +2123,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailQueryOptionsFactory>
{
@@ -2136,12 +2133,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailQueryTextSearch>
{
@@ -2150,10 +2147,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailRecipient>
{
@@ -2162,8 +2159,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::IEmailRecipientFactory>
{
@@ -2172,8 +2169,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::Certificate>) PublicKeys() const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto PublicKeys() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::IEmailRecipientResolutionResult>
{
@@ -2182,8 +2179,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& value) const;
+ auto Status(winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionStatus const& value) const;
+ auto SetPublicKeys(param::iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& value) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::IEmailRecipientResolutionResult2>
{
@@ -2192,17 +2189,17 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Email_IEmailStore
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMailbox>>) 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<winrt::Windows::ApplicationModel::Email::EmailMailbox>) GetMailboxAsync(param::hstring const& id) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailConversation>) GetConversationAsync(param::hstring const& id) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailFolder>) GetFolderAsync(param::hstring const& id) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMessage>) GetMessageAsync(param::hstring const& id) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMailbox>) CreateMailboxAsync(param::hstring const& accountName, param::hstring const& accountAddress) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Email::EmailMailbox>) 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<winrt::Windows::ApplicationModel::Email::IEmailStore>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.1.h
index 6c19adbf2f3..154fc8f46f9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.2.h
index eb127bc8663..07410f4b4df 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.0.h
index 6104c46e289..f3f9676b0e0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> 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 <typename D>
struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailDataProviderConnection
{
- WINRT_IMPL_AUTO(winrt::event_token) MailboxSyncRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSyncManagerSyncRequestEventArgs> const& handler) const;
+ auto MailboxSyncRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSyncManagerSyncRequestEventArgs> const& handler) const;
using MailboxSyncRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection>::remove_MailboxSyncRequested>;
- [[nodiscard]] MailboxSyncRequested_revoker MailboxSyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSyncManagerSyncRequestEventArgs> 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<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadMessageRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto MailboxSyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSyncManagerSyncRequestEventArgs> const& handler) const;
+ auto MailboxSyncRequested(winrt::event_token const& token) const noexcept;
+ auto DownloadMessageRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadMessageRequestEventArgs> const& handler) const;
using DownloadMessageRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection>::remove_DownloadMessageRequested>;
- [[nodiscard]] DownloadMessageRequested_revoker DownloadMessageRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadMessageRequestEventArgs> 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<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadAttachmentRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto DownloadMessageRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadMessageRequestEventArgs> const& handler) const;
+ auto DownloadMessageRequested(winrt::event_token const& token) const noexcept;
+ auto DownloadAttachmentRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadAttachmentRequestEventArgs> const& handler) const;
using DownloadAttachmentRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection>::remove_DownloadAttachmentRequested>;
- [[nodiscard]] DownloadAttachmentRequested_revoker DownloadAttachmentRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadAttachmentRequestEventArgs> 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<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxCreateFolderRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto DownloadAttachmentRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDownloadAttachmentRequestEventArgs> const& handler) const;
+ auto DownloadAttachmentRequested(winrt::event_token const& token) const noexcept;
+ auto CreateFolderRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxCreateFolderRequestEventArgs> const& handler) const;
using CreateFolderRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection>::remove_CreateFolderRequested>;
- [[nodiscard]] CreateFolderRequested_revoker CreateFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxCreateFolderRequestEventArgs> 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<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDeleteFolderRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto CreateFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxCreateFolderRequestEventArgs> const& handler) const;
+ auto CreateFolderRequested(winrt::event_token const& token) const noexcept;
+ auto DeleteFolderRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDeleteFolderRequestEventArgs> const& handler) const;
using DeleteFolderRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection>::remove_DeleteFolderRequested>;
- [[nodiscard]] DeleteFolderRequested_revoker DeleteFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDeleteFolderRequestEventArgs> 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<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxEmptyFolderRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto DeleteFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxDeleteFolderRequestEventArgs> const& handler) const;
+ auto DeleteFolderRequested(winrt::event_token const& token) const noexcept;
+ auto EmptyFolderRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxEmptyFolderRequestEventArgs> const& handler) const;
using EmptyFolderRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection>::remove_EmptyFolderRequested>;
- [[nodiscard]] EmptyFolderRequested_revoker EmptyFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxEmptyFolderRequestEventArgs> 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<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxMoveFolderRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto EmptyFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxEmptyFolderRequestEventArgs> const& handler) const;
+ auto EmptyFolderRequested(winrt::event_token const& token) const noexcept;
+ auto MoveFolderRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxMoveFolderRequestEventArgs> const& handler) const;
using MoveFolderRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection>::remove_MoveFolderRequested>;
- [[nodiscard]] MoveFolderRequested_revoker MoveFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxMoveFolderRequestEventArgs> 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<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxUpdateMeetingResponseRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto MoveFolderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxMoveFolderRequestEventArgs> const& handler) const;
+ auto MoveFolderRequested(winrt::event_token const& token) const noexcept;
+ auto UpdateMeetingResponseRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxUpdateMeetingResponseRequestEventArgs> const& handler) const;
using UpdateMeetingResponseRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection>::remove_UpdateMeetingResponseRequested>;
- [[nodiscard]] UpdateMeetingResponseRequested_revoker UpdateMeetingResponseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxUpdateMeetingResponseRequestEventArgs> 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<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxForwardMeetingRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto UpdateMeetingResponseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxUpdateMeetingResponseRequestEventArgs> const& handler) const;
+ auto UpdateMeetingResponseRequested(winrt::event_token const& token) const noexcept;
+ auto ForwardMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxForwardMeetingRequestEventArgs> const& handler) const;
using ForwardMeetingRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection>::remove_ForwardMeetingRequested>;
- [[nodiscard]] ForwardMeetingRequested_revoker ForwardMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxForwardMeetingRequestEventArgs> 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<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxProposeNewTimeForMeetingRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto ForwardMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxForwardMeetingRequestEventArgs> const& handler) const;
+ auto ForwardMeetingRequested(winrt::event_token const& token) const noexcept;
+ auto ProposeNewTimeForMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxProposeNewTimeForMeetingRequestEventArgs> const& handler) const;
using ProposeNewTimeForMeetingRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection>::remove_ProposeNewTimeForMeetingRequested>;
- [[nodiscard]] ProposeNewTimeForMeetingRequested_revoker ProposeNewTimeForMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxProposeNewTimeForMeetingRequestEventArgs> 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<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSetAutoReplySettingsRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto ProposeNewTimeForMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxProposeNewTimeForMeetingRequestEventArgs> const& handler) const;
+ auto ProposeNewTimeForMeetingRequested(winrt::event_token const& token) const noexcept;
+ auto SetAutoReplySettingsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSetAutoReplySettingsRequestEventArgs> const& handler) const;
using SetAutoReplySettingsRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection>::remove_SetAutoReplySettingsRequested>;
- [[nodiscard]] SetAutoReplySettingsRequested_revoker SetAutoReplySettingsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSetAutoReplySettingsRequestEventArgs> 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<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxGetAutoReplySettingsRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto SetAutoReplySettingsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxSetAutoReplySettingsRequestEventArgs> const& handler) const;
+ auto SetAutoReplySettingsRequested(winrt::event_token const& token) const noexcept;
+ auto GetAutoReplySettingsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxGetAutoReplySettingsRequestEventArgs> const& handler) const;
using GetAutoReplySettingsRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection>::remove_GetAutoReplySettingsRequested>;
- [[nodiscard]] GetAutoReplySettingsRequested_revoker GetAutoReplySettingsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxGetAutoReplySettingsRequestEventArgs> 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<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxResolveRecipientsRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto GetAutoReplySettingsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxGetAutoReplySettingsRequestEventArgs> const& handler) const;
+ auto GetAutoReplySettingsRequested(winrt::event_token const& token) const noexcept;
+ auto ResolveRecipientsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxResolveRecipientsRequestEventArgs> const& handler) const;
using ResolveRecipientsRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection>::remove_ResolveRecipientsRequested>;
- [[nodiscard]] ResolveRecipientsRequested_revoker ResolveRecipientsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxResolveRecipientsRequestEventArgs> 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<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxValidateCertificatesRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto ResolveRecipientsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxResolveRecipientsRequestEventArgs> const& handler) const;
+ auto ResolveRecipientsRequested(winrt::event_token const& token) const noexcept;
+ auto ValidateCertificatesRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxValidateCertificatesRequestEventArgs> const& handler) const;
using ValidateCertificatesRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection>::remove_ValidateCertificatesRequested>;
- [[nodiscard]] ValidateCertificatesRequested_revoker ValidateCertificatesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxValidateCertificatesRequestEventArgs> 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<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxServerSearchReadBatchRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto ValidateCertificatesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxValidateCertificatesRequestEventArgs> const& handler) const;
+ auto ValidateCertificatesRequested(winrt::event_token const& token) const noexcept;
+ auto ServerSearchReadBatchRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxServerSearchReadBatchRequestEventArgs> const& handler) const;
using ServerSearchReadBatchRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection>::remove_ServerSearchReadBatchRequested>;
- [[nodiscard]] ServerSearchReadBatchRequested_revoker ServerSearchReadBatchRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxServerSearchReadBatchRequestEventArgs> 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<winrt::Windows::ApplicationModel::Email::DataProvider::EmailDataProviderConnection, winrt::Windows::ApplicationModel::Email::DataProvider::EmailMailboxServerSearchReadBatchRequestEventArgs> const& handler) const;
+ auto ServerSearchReadBatchRequested(winrt::event_token const& token) const noexcept;
+ auto Start() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderConnection>
{
@@ -703,7 +697,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailDataProviderTriggerDetails>
{
@@ -712,11 +706,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxCreateFolderRequest>
{
@@ -725,8 +719,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxCreateFolderRequestEventArgs>
{
@@ -735,10 +729,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDeleteFolderRequest>
{
@@ -747,8 +741,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDeleteFolderRequestEventArgs>
{
@@ -757,11 +751,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDownloadAttachmentRequest>
{
@@ -770,8 +764,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDownloadAttachmentRequestEventArgs>
{
@@ -780,10 +774,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDownloadMessageRequest>
{
@@ -792,8 +786,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxDownloadMessageRequestEventArgs>
{
@@ -802,10 +796,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxEmptyFolderRequest>
{
@@ -814,8 +808,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxEmptyFolderRequestEventArgs>
{
@@ -824,15 +818,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::EmailRecipient>) 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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxForwardMeetingRequest>
{
@@ -841,8 +835,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxForwardMeetingRequestEventArgs>
{
@@ -851,10 +845,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxGetAutoReplySettingsRequest>
{
@@ -863,8 +857,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxGetAutoReplySettingsRequestEventArgs>
{
@@ -873,12 +867,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxMoveFolderRequest>
{
@@ -887,8 +881,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxMoveFolderRequestEventArgs>
{
@@ -897,14 +891,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxProposeNewTimeForMeetingRequest>
{
@@ -913,8 +907,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxProposeNewTimeForMeetingRequestEventArgs>
{
@@ -923,10 +917,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxResolveRecipientsRequest
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMailboxId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) Recipients() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync(param::async_iterable<winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionResult> 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<winrt::Windows::ApplicationModel::Email::EmailRecipientResolutionResult> const& resolutionResults) const;
+ auto ReportFailedAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxResolveRecipientsRequest>
{
@@ -935,8 +929,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxResolveRecipientsRequestEventArgs>
{
@@ -945,14 +939,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxServerSearchReadBatchRequest>
{
@@ -961,8 +955,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxServerSearchReadBatchRequestEventArgs>
{
@@ -971,10 +965,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxSetAutoReplySettingsRequest>
{
@@ -983,8 +977,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxSetAutoReplySettingsRequestEventArgs>
{
@@ -993,9 +987,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxSyncManagerSyncRequest>
{
@@ -1004,8 +998,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxSyncManagerSyncRequestEventArgs>
{
@@ -1014,14 +1008,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxUpdateMeetingResponseRequest>
{
@@ -1030,8 +1024,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxUpdateMeetingResponseRequestEventArgs>
{
@@ -1040,10 +1034,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Email_DataProvider_IEmailMailboxValidateCertificatesRequest
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) EmailMailboxId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) Certificates() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ReportCompletedAsync(param::async_iterable<winrt::Windows::ApplicationModel::Email::EmailCertificateValidationStatus> 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<winrt::Windows::ApplicationModel::Email::EmailCertificateValidationStatus> const& validationStatuses) const;
+ auto ReportFailedAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxValidateCertificatesRequest>
{
@@ -1052,8 +1046,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Email::DataProvider::IEmailMailboxValidateCertificatesRequestEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.1.h
index 1b5082093e2..dcccbc7a1f7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.2.h
index 10b0432ff38..57450fa94a9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Email.DataProvider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.0.h
index 9ac89465abf..07f603e543a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::ApplicationModel::ExtendedExecution
@@ -77,7 +76,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_ExtendedExecution_IExtendedExecutionRevokedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionRevokedReason) Reason() const;
+ [[nodiscard]] auto Reason() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionRevokedEventArgs>
{
@@ -86,17 +85,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable, winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionRevokedEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionRevokedEventArgs> const& handler) const;
using Revoked_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession, &impl::abi_t<winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession>::remove_Revoked>;
- [[nodiscard]] Revoked_revoker Revoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionRevokedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) Revoked(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionResult>) RequestExtensionAsync() const;
+ [[nodiscard]] auto Revoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::ApplicationModel::ExtendedExecution::ExtendedExecutionRevokedEventArgs> const& handler) const;
+ auto Revoked(winrt::event_token const& token) const noexcept;
+ auto RequestExtensionAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::ExtendedExecution::IExtendedExecutionSession>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.1.h
index ca4b9357767..1f33dda0323 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.2.h
index c300a36e733..82884031d07 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.0.h
index 61e4553890f..3c3652424d5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::ApplicationModel::ExtendedExecution::Foreground
@@ -76,7 +75,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundRevokedEventArgs>
{
@@ -85,15 +84,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable, winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundRevokedEventArgs> const& handler) const;
+ [[nodiscard]] auto Description() const;
+ auto Description(param::hstring const& value) const;
+ auto Revoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundRevokedEventArgs> const& handler) const;
using Revoked_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundSession, &impl::abi_t<winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundSession>::remove_Revoked>;
- [[nodiscard]] Revoked_revoker Revoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundRevokedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) Revoked(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundResult>) 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::ExtendedExecutionForegroundRevokedEventArgs> 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<winrt::Windows::ApplicationModel::ExtendedExecution::Foreground::IExtendedExecutionForegroundSession>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.1.h
index cae1be94122..268ad349b95 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.2.h
index aeb64697206..61c275cbfe7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.ExtendedExecution.Foreground.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.0.h
index 393f0b610a2..fe53f22b7e1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::ApplicationModel::Holographic::IHolographicKeyboard>
{
@@ -57,7 +57,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Holographic_IHolographicKeyboardStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Holographic::HolographicKeyboard) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Holographic::IHolographicKeyboardStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.1.h
index 520a3f7bf35..123e8e79043 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.2.h
index 47d20ebbde2..687c9e78d63 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Holographic.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.0.h
index efca615f956..8005f63654d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IRandomAccessStream;
@@ -129,11 +124,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_LockScreen_ILockApplicationHost
{
- WINRT_IMPL_AUTO(void) RequestUnlock() const;
- WINRT_IMPL_AUTO(winrt::event_token) Unlocking(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockApplicationHost, winrt::Windows::ApplicationModel::LockScreen::LockScreenUnlockingEventArgs> const& handler) const;
+ auto RequestUnlock() const;
+ auto Unlocking(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockApplicationHost, winrt::Windows::ApplicationModel::LockScreen::LockScreenUnlockingEventArgs> const& handler) const;
using Unlocking_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::LockScreen::ILockApplicationHost, &impl::abi_t<winrt::Windows::ApplicationModel::LockScreen::ILockApplicationHost>::remove_Unlocking>;
- [[nodiscard]] Unlocking_revoker Unlocking(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockApplicationHost, winrt::Windows::ApplicationModel::LockScreen::LockScreenUnlockingEventArgs> 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<winrt::Windows::ApplicationModel::LockScreen::LockApplicationHost, winrt::Windows::ApplicationModel::LockScreen::LockScreenUnlockingEventArgs> const& handler) const;
+ auto Unlocking(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::LockScreen::ILockApplicationHost>
{
@@ -142,7 +137,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_LockScreen_ILockApplicationHostStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::LockScreen::LockApplicationHost) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::LockScreen::ILockApplicationHostStatics>
{
@@ -151,11 +146,11 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) 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<winrt::Windows::ApplicationModel::LockScreen::ILockScreenBadge>
{
@@ -164,26 +159,26 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_LockScreen_ILockScreenInfo
{
- WINRT_IMPL_AUTO(winrt::event_token) LockScreenImageChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto LockScreenImageChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
using LockScreenImageChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo, &impl::abi_t<winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo>::remove_LockScreenImageChanged>;
- [[nodiscard]] LockScreenImageChanged_revoker LockScreenImageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto LockScreenImageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto LockScreenImageChanged(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto LockScreenImage() const;
+ auto BadgesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
using BadgesChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo, &impl::abi_t<winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo>::remove_BadgesChanged>;
- [[nodiscard]] BadgesChanged_revoker BadgesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
- WINRT_IMPL_AUTO(void) BadgesChanged(winrt::event_token const& token) const noexcept;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::LockScreen::LockScreenBadge>) Badges() const;
- WINRT_IMPL_AUTO(winrt::event_token) DetailTextChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto BadgesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto BadgesChanged(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto Badges() const;
+ auto DetailTextChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
using DetailTextChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo, &impl::abi_t<winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo>::remove_DetailTextChanged>;
- [[nodiscard]] DetailTextChanged_revoker DetailTextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
- WINRT_IMPL_AUTO(void) DetailTextChanged(winrt::event_token const& token) const noexcept;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) DetailText() const;
- WINRT_IMPL_AUTO(winrt::event_token) AlarmIconChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto DetailTextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto DetailTextChanged(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto DetailText() const;
+ auto AlarmIconChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
using AlarmIconChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo, &impl::abi_t<winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo>::remove_AlarmIconChanged>;
- [[nodiscard]] AlarmIconChanged_revoker AlarmIconChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::LockScreen::LockScreenInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AlarmIconChanged(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto AlarmIcon() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::LockScreen::ILockScreenInfo>
{
@@ -192,7 +187,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_LockScreen_ILockScreenUnlockingDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::LockScreen::ILockScreenUnlockingDeferral>
{
@@ -201,8 +196,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::LockScreen::ILockScreenUnlockingEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.1.h
index 1dc5e8628b2..cfcd7eb6d8e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.2.h
index 1f9cc1f869b..05f8c0346a9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.LockScreen.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.0.h
index 9f86f940a30..48821e46603 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
@@ -586,29 +585,29 @@ namespace winrt::impl
template <typename D>
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<hstring>) AddressLines() const;
- WINRT_IMPL_AUTO(void) AddressLines(param::async_vector_view<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) 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<hstring> 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<winrt::Windows::ApplicationModel::Payments::IPaymentAddress>
{
@@ -617,7 +616,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Payments_IPaymentCanMakePaymentResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResultStatus) Status() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Payments::IPaymentCanMakePaymentResult>
{
@@ -626,7 +625,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::IPaymentCanMakePaymentResultFactory>
{
@@ -635,12 +634,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::IPaymentCurrencyAmount>
{
@@ -649,8 +648,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::IPaymentCurrencyAmountFactory>
{
@@ -659,14 +658,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::PaymentItem>) DisplayItems() const;
- WINRT_IMPL_AUTO(void) DisplayItems(param::async_vector_view<winrt::Windows::ApplicationModel::Payments::PaymentItem> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Payments::PaymentShippingOption>) ShippingOptions() const;
- WINRT_IMPL_AUTO(void) ShippingOptions(param::async_vector_view<winrt::Windows::ApplicationModel::Payments::PaymentShippingOption> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier>) Modifiers() const;
- WINRT_IMPL_AUTO(void) Modifiers(param::async_vector_view<winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier> 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<winrt::Windows::ApplicationModel::Payments::PaymentItem> const& value) const;
+ [[nodiscard]] auto ShippingOptions() const;
+ auto ShippingOptions(param::async_vector_view<winrt::Windows::ApplicationModel::Payments::PaymentShippingOption> const& value) const;
+ [[nodiscard]] auto Modifiers() const;
+ auto Modifiers(param::async_vector_view<winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier> const& value) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Payments::IPaymentDetails>
{
@@ -675,8 +674,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::PaymentItem> const& displayItems) const;
+ auto Create(winrt::Windows::ApplicationModel::Payments::PaymentItem const& total) const;
+ auto CreateWithDisplayItems(winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentItem> const& displayItems) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Payments::IPaymentDetailsFactory>
{
@@ -685,10 +684,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifier
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) JsonData() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) SupportedMethodIds() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentItem) Total() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Payments::PaymentItem>) AdditionalDisplayItems() const;
+ [[nodiscard]] auto JsonData() const;
+ [[nodiscard]] auto SupportedMethodIds() const;
+ [[nodiscard]] auto Total() const;
+ [[nodiscard]] auto AdditionalDisplayItems() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Payments::IPaymentDetailsModifier>
{
@@ -697,9 +696,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Payments_IPaymentDetailsModifierFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier) Create(param::iterable<hstring> const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total) const;
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier) CreateWithAdditionalDisplayItems(param::iterable<hstring> const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentItem> const& additionalDisplayItems) const;
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentDetailsModifier) CreateWithAdditionalDisplayItemsAndJsonData(param::iterable<hstring> const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentItem> const& additionalDisplayItems, param::hstring const& jsonData) const;
+ auto Create(param::iterable<hstring> const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total) const;
+ auto CreateWithAdditionalDisplayItems(param::iterable<hstring> const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentItem> const& additionalDisplayItems) const;
+ auto CreateWithAdditionalDisplayItemsAndJsonData(param::iterable<hstring> const& supportedMethodIds, winrt::Windows::ApplicationModel::Payments::PaymentItem const& total, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentItem> const& additionalDisplayItems, param::hstring const& jsonData) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Payments::IPaymentDetailsModifierFactory>
{
@@ -708,12 +707,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::IPaymentItem>
{
@@ -722,7 +721,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::IPaymentItemFactory>
{
@@ -731,9 +730,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Payments_IPaymentMediator
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) GetSupportedMethodIdsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Payments::PaymentRequestSubmitResult>) SubmitPaymentRequestAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Payments::PaymentRequestSubmitResult>) 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<winrt::Windows::ApplicationModel::Payments::IPaymentMediator>
{
@@ -742,7 +741,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Payments_IPaymentMediator2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Payments::PaymentCanMakePaymentResult>) CanMakePaymentAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest) const;
+ auto CanMakePaymentAsync(winrt::Windows::ApplicationModel::Payments::PaymentRequest const& paymentRequest) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Payments::IPaymentMediator2>
{
@@ -751,8 +750,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::IPaymentMerchantInfo>
{
@@ -761,7 +760,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::IPaymentMerchantInfoFactory>
{
@@ -770,8 +769,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Payments_IPaymentMethodData
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) SupportedMethodIds() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) JsonData() const;
+ [[nodiscard]] auto SupportedMethodIds() const;
+ [[nodiscard]] auto JsonData() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Payments::IPaymentMethodData>
{
@@ -780,8 +779,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Payments_IPaymentMethodDataFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentMethodData) Create(param::iterable<hstring> const& supportedMethodIds) const;
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentMethodData) CreateWithJsonData(param::iterable<hstring> const& supportedMethodIds, param::hstring const& jsonData) const;
+ auto Create(param::iterable<hstring> const& supportedMethodIds) const;
+ auto CreateWithJsonData(param::iterable<hstring> const& supportedMethodIds, param::hstring const& jsonData) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Payments::IPaymentMethodDataFactory>
{
@@ -790,16 +789,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::IPaymentOptions>
{
@@ -808,10 +807,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::PaymentMethodData>) 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<winrt::Windows::ApplicationModel::Payments::IPaymentRequest>
{
@@ -820,7 +819,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Payments_IPaymentRequest2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
+ [[nodiscard]] auto Id() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Payments::IPaymentRequest2>
{
@@ -829,10 +828,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedArgs>
{
@@ -841,12 +840,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedResult>
{
@@ -855,8 +854,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::IPaymentRequestChangedResultFactory>
{
@@ -865,9 +864,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) Create(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentMethodData> const& methodData) const;
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) CreateWithMerchantInfo(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentMethodData> 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<winrt::Windows::ApplicationModel::Payments::PaymentMethodData> 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<winrt::Windows::ApplicationModel::Payments::PaymentMethodData> const& methodData) const;
+ auto CreateWithMerchantInfo(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentMethodData> const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo) const;
+ auto CreateWithMerchantInfoAndOptions(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentMethodData> const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo, winrt::Windows::ApplicationModel::Payments::PaymentOptions const& options) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Payments::IPaymentRequestFactory>
{
@@ -876,7 +875,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Payments_IPaymentRequestFactory2
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Payments::PaymentRequest) CreateWithMerchantInfoOptionsAndId(winrt::Windows::ApplicationModel::Payments::PaymentDetails const& details, param::iterable<winrt::Windows::ApplicationModel::Payments::PaymentMethodData> 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<winrt::Windows::ApplicationModel::Payments::PaymentMethodData> const& methodData, winrt::Windows::ApplicationModel::Payments::PaymentMerchantInfo const& merchantInfo, winrt::Windows::ApplicationModel::Payments::PaymentOptions const& options, param::hstring const& id) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Payments::IPaymentRequestFactory2>
{
@@ -885,8 +884,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::IPaymentRequestSubmitResult>
{
@@ -895,13 +894,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::IPaymentResponse>
{
@@ -910,14 +909,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::IPaymentShippingOption>
{
@@ -926,9 +925,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::IPaymentShippingOptionFactory>
{
@@ -937,8 +936,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::IPaymentToken>
{
@@ -947,8 +946,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::IPaymentTokenFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.1.h
index cbc531ee3b1..8dbd78cfb05 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.2.h
index 2350ac03e15..4c17bdfe65e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.0.h
index 126cebaf2e9..88028694383 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
@@ -124,8 +122,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::Provider::IPaymentAppCanMakePaymentTriggerDetails>
{
@@ -134,8 +132,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Payments_Provider_IPaymentAppManager
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RegisterAsync(param::async_iterable<hstring> const& supportedPaymentMethodIds) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UnregisterAsync() const;
+ auto RegisterAsync(param::async_iterable<hstring> const& supportedPaymentMethodIds) const;
+ auto UnregisterAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Payments::Provider::IPaymentAppManager>
{
@@ -144,7 +142,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::Provider::IPaymentAppManagerStatics>
{
@@ -153,17 +151,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult>) UpdateShippingAddressAsync(winrt::Windows::ApplicationModel::Payments::PaymentAddress const& shippingAddress) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Payments::PaymentRequestChangedResult>) UpdateSelectedShippingOptionAsync(winrt::Windows::ApplicationModel::Payments::PaymentShippingOption const& selectedShippingOption) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Payments::Provider::PaymentTransactionAcceptResult>) 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<winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransaction>
{
@@ -172,7 +170,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransactionAcceptResult>
{
@@ -181,7 +179,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Payments_Provider_IPaymentTransactionStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Payments::Provider::PaymentTransaction>) FromIdAsync(param::hstring const& id) const;
+ auto FromIdAsync(param::hstring const& id) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Payments::Provider::IPaymentTransactionStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.1.h
index b9bdb5479cb..e2f0806adf1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.2.h
index ef718464779..82fd31f63a7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Payments.Provider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.0.h
index dbc4c81bfd5..71929e18c72 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::ApplicationModel::Preview::Holographic::IHolographicApplicationPreviewStatics>
{
@@ -75,9 +75,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Preview::Holographic::IHolographicKeyboardPlacementOverridePreview>
{
@@ -86,7 +86,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Preview_Holographic_IHolographicKeyboardPlacementOverridePreviewStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Preview::Holographic::HolographicKeyboardPlacementOverridePreview) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Preview::Holographic::IHolographicKeyboardPlacementOverridePreviewStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.1.h
index 8ea1ac7b038..764cde6ed40 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.2.h
index 7074065b742..5c2ad224587 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Holographic.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.0.h
index e1673425b30..3efb794816d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::ApplicationModel::Preview::InkWorkspace::IInkWorkspaceHostedAppManager>
{
@@ -54,7 +54,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Preview_InkWorkspace_IInkWorkspaceHostedAppManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Preview::InkWorkspace::InkWorkspaceHostedAppManager) GetForCurrentApp() const;
+ auto GetForCurrentApp() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Preview::InkWorkspace::IInkWorkspaceHostedAppManagerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.1.h
index 033fa08c92c..2e2577423c0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.2.h
index c3ca44c0e90..11ff77c3a25 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.InkWorkspace.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.0.h
index bc5b87c148e..5c3f8c139df 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
struct consume_Windows_ApplicationModel_Preview_Notes_INotePlacementChangedPreviewEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ViewId() const;
+ [[nodiscard]] auto ViewId() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Preview::Notes::INotePlacementChangedPreviewEventArgs>
{
@@ -136,8 +136,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Preview::Notes::INoteVisibilityChangedPreviewEventArgs>
{
@@ -146,27 +146,27 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::Foundation::IInspectable> const& handler) const;
using SystemLockStateChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview, &impl::abi_t<winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview>::remove_SystemLockStateChanged>;
- [[nodiscard]] SystemLockStateChanged_revoker SystemLockStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::ApplicationModel::Preview::Notes::NotePlacementChangedPreviewEventArgs> const& handler) const;
+ [[nodiscard]] auto SystemLockStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SystemLockStateChanged(winrt::event_token const& token) const noexcept;
+ auto NotePlacementChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::ApplicationModel::Preview::Notes::NotePlacementChangedPreviewEventArgs> const& handler) const;
using NotePlacementChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview, &impl::abi_t<winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview>::remove_NotePlacementChanged>;
- [[nodiscard]] NotePlacementChanged_revoker NotePlacementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::ApplicationModel::Preview::Notes::NotePlacementChangedPreviewEventArgs> 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<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::ApplicationModel::Preview::Notes::NoteVisibilityChangedPreviewEventArgs> const& handler) const;
+ [[nodiscard]] auto NotePlacementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::ApplicationModel::Preview::Notes::NotePlacementChangedPreviewEventArgs> const& handler) const;
+ auto NotePlacementChanged(winrt::event_token const& token) const noexcept;
+ auto NoteVisibilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::ApplicationModel::Preview::Notes::NoteVisibilityChangedPreviewEventArgs> const& handler) const;
using NoteVisibilityChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview, &impl::abi_t<winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview>::remove_NoteVisibilityChanged>;
- [[nodiscard]] NoteVisibilityChanged_revoker NoteVisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::ApplicationModel::Preview::Notes::NoteVisibilityChangedPreviewEventArgs> 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<winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview, winrt::Windows::ApplicationModel::Preview::Notes::NoteVisibilityChangedPreviewEventArgs> const& handler) const;
+ auto NoteVisibilityChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview>
{
@@ -175,10 +175,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreview2>
{
@@ -187,8 +187,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreviewShowNoteOptions>
{
@@ -197,7 +197,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Preview_Notes_INotesWindowManagerPreviewStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Preview::Notes::NotesWindowManagerPreview) GetForCurrentApp() const;
+ auto GetForCurrentApp() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Preview::Notes::INotesWindowManagerPreviewStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.1.h
index ae6aa718111..4a308e2e913 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.2.h
index 7a466c5f9ef..5c38a2390f3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Preview.Notes.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.0.h
index 96c11ac029b..461064a8c79 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::ApplicationModel::Resources::IResourceLoader>
{
@@ -112,7 +112,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Resources::IResourceLoader2>
{
@@ -121,7 +121,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Resources::IResourceLoaderFactory>
{
@@ -130,7 +130,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics>
{
@@ -139,10 +139,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics2>
{
@@ -151,7 +151,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics3>
{
@@ -160,7 +160,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Resources::IResourceLoaderStatics4>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.1.h
index 711f621d190..2f9d06cd115 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.2.h
index 4923db14a16..8ee2be4e67d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.0.h
index 368ae26b63f..6002e521730 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> 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 <typename D>
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<winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate>) 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<winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate>) ResolveAll() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Core::ResourceCandidate>) 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<winrt::Windows::ApplicationModel::Resources::Core::INamedResource>
{
@@ -314,13 +308,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifier>) 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<winrt::Windows::Storage::StorageFile>) 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<winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate>
{
@@ -329,7 +323,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Resources_Core_IResourceCandidate2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) GetValueAsStreamAsync() const;
+ auto GetValueAsStreamAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate2>
{
@@ -338,7 +332,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Resources::Core::IResourceCandidate3>
{
@@ -347,13 +341,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Resources_Core_IResourceContext
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableMap<hstring, hstring>) QualifierValues() const;
- WINRT_IMPL_AUTO(void) Reset() const;
- WINRT_IMPL_AUTO(void) Reset(param::iterable<hstring> const& qualifierNames) const;
- WINRT_IMPL_AUTO(void) OverrideToMatch(param::iterable<winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifier> const& result) const;
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) Clone() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) Languages() const;
- WINRT_IMPL_AUTO(void) Languages(param::async_vector_view<hstring> const& languages) const;
+ [[nodiscard]] auto QualifierValues() const;
+ auto Reset() const;
+ auto Reset(param::iterable<hstring> const& qualifierNames) const;
+ auto OverrideToMatch(param::iterable<winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifier> const& result) const;
+ auto Clone() const;
+ [[nodiscard]] auto Languages() const;
+ auto Languages(param::async_vector_view<hstring> const& languages) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Resources::Core::IResourceContext>
{
@@ -362,7 +356,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Resources_Core_IResourceContextStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) CreateMatchingContext(param::iterable<winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifier> const& result) const;
+ auto CreateMatchingContext(param::iterable<winrt::Windows::ApplicationModel::Resources::Core::ResourceQualifier> const& result) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Resources::Core::IResourceContextStatics>
{
@@ -371,11 +365,11 @@ namespace winrt::impl
template <typename D>
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<hstring> 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<hstring> const& qualifierNames) const;
+ auto GetForViewIndependentUse() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Resources::Core::IResourceContextStatics2>
{
@@ -384,7 +378,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Resources::Core::IResourceContextStatics3>
{
@@ -393,7 +387,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Resources::Core::IResourceContextStatics4>
{
@@ -402,11 +396,11 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::ApplicationModel::Resources::Core::ResourceMap>) AllResourceMaps() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Resources::Core::ResourceContext) DefaultContext() const;
- WINRT_IMPL_AUTO(void) LoadPriFiles(param::iterable<winrt::Windows::Storage::IStorageFile> const& files) const;
- WINRT_IMPL_AUTO(void) UnloadPriFiles(param::iterable<winrt::Windows::Storage::IStorageFile> const& files) const;
+ [[nodiscard]] auto MainResourceMap() const;
+ [[nodiscard]] auto AllResourceMaps() const;
+ [[nodiscard]] auto DefaultContext() const;
+ auto LoadPriFiles(param::iterable<winrt::Windows::Storage::IStorageFile> const& files) const;
+ auto UnloadPriFiles(param::iterable<winrt::Windows::Storage::IStorageFile> const& files) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Resources::Core::IResourceManager>
{
@@ -415,8 +409,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Resources_Core_IResourceManager2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Core::NamedResource>) GetAllNamedResourcesForPackage(param::hstring const& packageName, winrt::Windows::ApplicationModel::Resources::Core::ResourceLayoutInfo const& resourceLayoutInfo) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Core::ResourceMap>) 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<winrt::Windows::ApplicationModel::Resources::Core::IResourceManager2>
{
@@ -425,8 +419,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Resources::Core::IResourceManagerStatics>
{
@@ -435,10 +429,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Resources::Core::IResourceMap>
{
@@ -447,11 +441,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Resources::Core::IResourceQualifier>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.1.h
index 7b50e22aa46..4d58345ec21 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.2.h
index 41b5388d0eb..df3841a60ce 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.0.h
index 61d4563ed24..8d59b08371a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Uri;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> 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 <typename D>
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<hstring, hstring>) Metadata() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Management::IndexedResourceQualifier>) 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<winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceCandidate>
{
@@ -117,8 +111,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Resources::Management::IIndexedResourceQualifier>
{
@@ -127,8 +121,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Resources::Management::IndexedResourceCandidate>>) 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<winrt::Windows::ApplicationModel::Resources::Management::IResourceIndexer>
{
@@ -137,7 +131,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Resources::Management::IResourceIndexerFactory>
{
@@ -146,7 +140,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Resources::Management::IResourceIndexerFactory2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.1.h
index 6ba401cc8bc..d99fa1cebc7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.2.h
index 531c7c93ecc..762e748e97e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Resources.Management.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.0.h
index b39b6f544aa..54ca9fc2059 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<winrt::Windows::Storage::StorageFolder>) 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<hstring>) 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<winrt::Windows::ApplicationModel::Search::ILocalContentSuggestionSettings>
{
@@ -342,41 +336,41 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneVisibilityChangedEventArgs> 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<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneVisibilityChangedEventArgs> const& handler) const;
using VisibilityChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Search::ISearchPane, &impl::abi_t<winrt::Windows::ApplicationModel::Search::ISearchPane>::remove_VisibilityChanged>;
- [[nodiscard]] VisibilityChanged_revoker VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneVisibilityChangedEventArgs> 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<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneQueryChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneVisibilityChangedEventArgs> const& handler) const;
+ auto VisibilityChanged(winrt::event_token const& token) const noexcept;
+ auto QueryChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneQueryChangedEventArgs> const& handler) const;
using QueryChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Search::ISearchPane, &impl::abi_t<winrt::Windows::ApplicationModel::Search::ISearchPane>::remove_QueryChanged>;
- [[nodiscard]] QueryChanged_revoker QueryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneQueryChangedEventArgs> 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<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto QueryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneQueryChangedEventArgs> const& handler) const;
+ auto QueryChanged(winrt::event_token const& token) const noexcept;
+ auto SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequestedEventArgs> const& handler) const;
using SuggestionsRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Search::ISearchPane, &impl::abi_t<winrt::Windows::ApplicationModel::Search::ISearchPane>::remove_SuggestionsRequested>;
- [[nodiscard]] SuggestionsRequested_revoker SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequestedEventArgs> 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<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneQuerySubmittedEventArgs> const& handler) const;
+ [[nodiscard]] auto SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequestedEventArgs> const& handler) const;
+ auto SuggestionsRequested(winrt::event_token const& token) const noexcept;
+ auto QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneQuerySubmittedEventArgs> const& handler) const;
using QuerySubmitted_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Search::ISearchPane, &impl::abi_t<winrt::Windows::ApplicationModel::Search::ISearchPane>::remove_QuerySubmitted>;
- [[nodiscard]] QuerySubmitted_revoker QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneQuerySubmittedEventArgs> 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<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneResultSuggestionChosenEventArgs> const& handler) const;
+ [[nodiscard]] auto QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneQuerySubmittedEventArgs> const& handler) const;
+ auto QuerySubmitted(winrt::event_token const& token) const noexcept;
+ auto ResultSuggestionChosen(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneResultSuggestionChosenEventArgs> const& handler) const;
using ResultSuggestionChosen_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Search::ISearchPane, &impl::abi_t<winrt::Windows::ApplicationModel::Search::ISearchPane>::remove_ResultSuggestionChosen>;
- [[nodiscard]] ResultSuggestionChosen_revoker ResultSuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneResultSuggestionChosenEventArgs> 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<winrt::Windows::ApplicationModel::Search::SearchPane, winrt::Windows::ApplicationModel::Search::SearchPaneResultSuggestionChosenEventArgs> 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<winrt::Windows::ApplicationModel::Search::ISearchPane>
{
@@ -385,9 +379,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Search::ISearchPaneQueryChangedEventArgs>
{
@@ -396,9 +390,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Search_ISearchPaneQueryLinguisticDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) 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<winrt::Windows::ApplicationModel::Search::ISearchPaneQueryLinguisticDetails>
{
@@ -407,8 +401,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Search::ISearchPaneQuerySubmittedEventArgs>
{
@@ -417,7 +411,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Search_ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneQueryLinguisticDetails) LinguisticDetails() const;
+ [[nodiscard]] auto LinguisticDetails() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Search::ISearchPaneQuerySubmittedEventArgsWithLinguisticDetails>
{
@@ -426,7 +420,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Search_ISearchPaneResultSuggestionChosenEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Tag() const;
+ [[nodiscard]] auto Tag() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Search::ISearchPaneResultSuggestionChosenEventArgs>
{
@@ -435,7 +429,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Search_ISearchPaneStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPane) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Search::ISearchPaneStatics>
{
@@ -444,7 +438,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Search_ISearchPaneStaticsWithHideThisApplication
{
- WINRT_IMPL_AUTO(void) HideThisApplication() const;
+ auto HideThisApplication() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Search::ISearchPaneStaticsWithHideThisApplication>
{
@@ -453,9 +447,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequest>
{
@@ -464,7 +458,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequestDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequestDeferral>
{
@@ -473,7 +467,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Search_ISearchPaneSuggestionsRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchPaneSuggestionsRequest) Request() const;
+ [[nodiscard]] auto Request() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Search::ISearchPaneSuggestionsRequestedEventArgs>
{
@@ -482,7 +476,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Search_ISearchPaneVisibilityChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) Visible() const;
+ [[nodiscard]] auto Visible() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Search::ISearchPaneVisibilityChangedEventArgs>
{
@@ -491,9 +485,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) 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<winrt::Windows::ApplicationModel::Search::ISearchQueryLinguisticDetails>
{
@@ -502,7 +496,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Search_ISearchQueryLinguisticDetailsFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Search::SearchQueryLinguisticDetails) CreateInstance(param::iterable<hstring> const& queryTextAlternatives, uint32_t queryTextCompositionStart, uint32_t queryTextCompositionLength) const;
+ auto CreateInstance(param::iterable<hstring> const& queryTextAlternatives, uint32_t queryTextCompositionStart, uint32_t queryTextCompositionLength) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Search::ISearchQueryLinguisticDetailsFactory>
{
@@ -511,11 +505,11 @@ namespace winrt::impl
template <typename D>
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<hstring> 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<hstring> 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<winrt::Windows::ApplicationModel::Search::ISearchSuggestionCollection>
{
@@ -524,9 +518,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Search::ISearchSuggestionsRequest>
{
@@ -535,7 +529,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Search_ISearchSuggestionsRequestDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Search::ISearchSuggestionsRequestDeferral>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.1.h
index cbf1828c412..f0a8876a32b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.2.h
index 93cd5f488a3..a643baa7b4c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.0.h
index b55a81dcff0..60b32f4bee4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IObservableVector;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IRandomAccessStreamReference;
@@ -128,12 +124,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestion>
{
@@ -142,26 +138,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestion>) 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<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionManager, winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionsRequestedEventArgs> 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<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionManager, winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionsRequestedEventArgs> const& handler) const;
using SuggestionsRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager, &impl::abi_t<winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager>::remove_SuggestionsRequested>;
- [[nodiscard]] SuggestionsRequested_revoker SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionManager, winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionsRequestedEventArgs> 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<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionManager, winrt::Windows::ApplicationModel::Search::Core::RequestingFocusOnKeyboardInputEventArgs> const& handler) const;
+ [[nodiscard]] auto SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionManager, winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionsRequestedEventArgs> const& handler) const;
+ auto SuggestionsRequested(winrt::event_token const& token) const noexcept;
+ auto RequestingFocusOnKeyboardInput(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionManager, winrt::Windows::ApplicationModel::Search::Core::RequestingFocusOnKeyboardInputEventArgs> const& handler) const;
using RequestingFocusOnKeyboardInput_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager, &impl::abi_t<winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager>::remove_RequestingFocusOnKeyboardInput>;
- [[nodiscard]] RequestingFocusOnKeyboardInput_revoker RequestingFocusOnKeyboardInput(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionManager, winrt::Windows::ApplicationModel::Search::Core::RequestingFocusOnKeyboardInputEventArgs> 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<winrt::Windows::ApplicationModel::Search::Core::SearchSuggestionManager, winrt::Windows::ApplicationModel::Search::Core::RequestingFocusOnKeyboardInputEventArgs> const& handler) const;
+ auto RequestingFocusOnKeyboardInput(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionManager>
{
@@ -170,10 +166,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Search::Core::ISearchSuggestionsRequestedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.1.h
index 2b94d37772b..cf118156752 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.2.h
index 93c6b709f7d..88ecff0740e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Search.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.0.h
index 94835f0e8ca..876be19ffe4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging
{
struct BitmapSize;
@@ -202,16 +198,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail>) 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<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedChildItem>
{
@@ -220,12 +216,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedContent>
{
@@ -234,26 +230,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::SocialInfo::SocialItemThumbnail>) 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<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedItem>
{
@@ -262,15 +258,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::SocialInfo::ISocialFeedSharedItem>
{
@@ -279,13 +275,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::SocialInfo::ISocialItemThumbnail>
{
@@ -294,14 +290,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::SocialInfo::ISocialUserInfo>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.1.h
index 0696f83b10d..4c0ba6eabdd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.2.h
index 316a3951d8b..d81b029d21b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.0.h
index bdbabfa3188..0efc019754a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Uri;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::ApplicationModel::SocialInfo::Provider
{
struct ISocialDashboardItemUpdater;
@@ -89,15 +83,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialDashboardItemUpdater>
{
@@ -106,10 +100,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::SocialInfo::SocialFeedItem>) 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<winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialFeedUpdater>
{
@@ -118,12 +112,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_SocialInfo_Provider_ISocialInfoProviderManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialFeedUpdater>) 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<winrt::Windows::ApplicationModel::SocialInfo::Provider::SocialDashboardItemUpdater>) 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<bool>) 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<winrt::Windows::ApplicationModel::SocialInfo::Provider::ISocialInfoProviderManagerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.1.h
index 1b9b7bf8ce8..48e5e3cfe89 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.2.h
index 2d214b09e46..2be6be605a6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.SocialInfo.Provider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.0.h
index 583f62ed860..c26172bee1e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Storage
{
@@ -401,14 +398,14 @@ namespace winrt::impl
template <typename D>
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<hstring>) RequestAppPurchaseAsync(bool includeReceipt) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) RequestProductPurchaseAsync(param::hstring const& productId, bool includeReceipt) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>) LoadListingInformationAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetAppReceiptAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) 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<winrt::Windows::ApplicationModel::Store::ICurrentApp>
{
@@ -417,8 +414,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_ICurrentApp2Statics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetCustomerPurchaseIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) 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<winrt::Windows::ApplicationModel::Store::ICurrentApp2Statics>
{
@@ -427,15 +424,15 @@ namespace winrt::impl
template <typename D>
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<hstring>) RequestAppPurchaseAsync(bool includeReceipt) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) RequestProductPurchaseAsync(param::hstring const& productId, bool includeReceipt) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>) LoadListingInformationAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetAppReceiptAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) 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<winrt::Windows::ApplicationModel::Store::ICurrentAppSimulator>
{
@@ -444,8 +441,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorStaticsWithFiltering
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>) LoadListingInformationByProductIdsAsync(param::async_iterable<hstring> const& productIds) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>) LoadListingInformationByKeywordsAsync(param::async_iterable<hstring> const& keywords) const;
+ auto LoadListingInformationByProductIdsAsync(param::async_iterable<hstring> const& productIds) const;
+ auto LoadListingInformationByKeywordsAsync(param::async_iterable<hstring> const& keywords) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::ICurrentAppSimulatorStaticsWithFiltering>
{
@@ -454,7 +451,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithCampaignId
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetAppPurchaseCampaignIdAsync() const;
+ auto GetAppPurchaseCampaignIdAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::ICurrentAppSimulatorWithCampaignId>
{
@@ -463,10 +460,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_ICurrentAppSimulatorWithConsumables
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::FulfillmentResult>) ReportConsumableFulfillmentAsync(param::hstring const& productId, winrt::guid const& transactionId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::PurchaseResults>) RequestProductPurchaseAsync(param::hstring const& productId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::PurchaseResults>) RequestProductPurchaseAsync(param::hstring const& productId, param::hstring const& offerId, winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties const& displayProperties) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::UnfulfilledConsumable>>) 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<winrt::Windows::ApplicationModel::Store::ICurrentAppSimulatorWithConsumables>
{
@@ -475,9 +472,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_ICurrentAppStaticsWithFiltering
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>) LoadListingInformationByProductIdsAsync(param::async_iterable<hstring> const& productIds) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::ListingInformation>) LoadListingInformationByKeywordsAsync(param::async_iterable<hstring> const& keywords) const;
- WINRT_IMPL_AUTO(void) ReportProductFulfillment(param::hstring const& productId) const;
+ auto LoadListingInformationByProductIdsAsync(param::async_iterable<hstring> const& productIds) const;
+ auto LoadListingInformationByKeywordsAsync(param::async_iterable<hstring> const& keywords) const;
+ auto ReportProductFulfillment(param::hstring const& productId) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::ICurrentAppStaticsWithFiltering>
{
@@ -486,7 +483,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_ICurrentAppWithCampaignId
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetAppPurchaseCampaignIdAsync() const;
+ auto GetAppPurchaseCampaignIdAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::ICurrentAppWithCampaignId>
{
@@ -495,10 +492,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_ICurrentAppWithConsumables
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::FulfillmentResult>) ReportConsumableFulfillmentAsync(param::hstring const& productId, winrt::guid const& transactionId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::PurchaseResults>) RequestProductPurchaseAsync(param::hstring const& productId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::PurchaseResults>) RequestProductPurchaseAsync(param::hstring const& productId, param::hstring const& offerId, winrt::Windows::ApplicationModel::Store::ProductPurchaseDisplayProperties const& displayProperties) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::UnfulfilledConsumable>>) 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<winrt::Windows::ApplicationModel::Store::ICurrentAppWithConsumables>
{
@@ -507,14 +504,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_ILicenseInformation
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::Store::ProductLicense>) 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<winrt::Windows::ApplicationModel::Store::ILicenseInformation, &impl::abi_t<winrt::Windows::ApplicationModel::Store::ILicenseInformation>::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<winrt::Windows::ApplicationModel::Store::ILicenseInformation>
{
@@ -523,12 +520,12 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::ApplicationModel::Store::ProductListing>) 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<winrt::Windows::ApplicationModel::Store::IListingInformation>
{
@@ -537,10 +534,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::IListingInformation2>
{
@@ -549,9 +546,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::IProductLicense>
{
@@ -560,7 +557,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_IProductLicenseWithFulfillment
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConsumable() const;
+ [[nodiscard]] auto IsConsumable() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::IProductLicenseWithFulfillment>
{
@@ -569,9 +566,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::IProductListing>
{
@@ -580,10 +577,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::IProductListing2>
{
@@ -592,7 +589,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_IProductListingWithConsumables
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::ProductType) ProductType() const;
+ [[nodiscard]] auto ProductType() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::IProductListingWithConsumables>
{
@@ -601,11 +598,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_IProductListingWithMetadata
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Description() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<hstring>) 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<winrt::Windows::ApplicationModel::Store::IProductListingWithMetadata>
{
@@ -614,12 +611,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::IProductPurchaseDisplayProperties>
{
@@ -628,7 +625,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::IProductPurchaseDisplayPropertiesFactory>
{
@@ -637,10 +634,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::IPurchaseResults>
{
@@ -649,9 +646,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::IUnfulfilledConsumable>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.1.h
index 14ac67c677d..2f956f5f59e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.2.h
index 4cf45d5bb34..42f0dcab1cf 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.0.h
index d7dcd5fd149..8760e9ca8c7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
@@ -96,8 +94,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::LicenseManagement::LicenseSatisfactionResult>) GetSatisfactionInfosAsync(param::async_iterable<hstring> const& contentIds, param::async_iterable<hstring> const& keyIds) const;
+ auto AddLicenseAsync(winrt::Windows::Storage::Streams::IBuffer const& license) const;
+ auto GetSatisfactionInfosAsync(param::async_iterable<hstring> const& contentIds, param::async_iterable<hstring> const& keyIds) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseManagerStatics>
{
@@ -106,7 +104,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseManagerStatics2>
{
@@ -115,13 +113,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionInfo>
{
@@ -130,8 +128,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_LicenseManagement_ILicenseSatisfactionResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::ApplicationModel::Store::LicenseManagement::LicenseSatisfactionInfo>) LicenseSatisfactionInfos() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto LicenseSatisfactionInfos() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::LicenseManagement::ILicenseSatisfactionResult>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.1.h
index 656f8a80a4c..01797708b11 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.2.h
index 652973572d1..4fcd0555cf3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.LicenseManagement.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.0.h
index 7f75aa246e4..710d1fa6f9c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> 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 <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::IDeliveryOptimizationSettings>
{
@@ -339,7 +332,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_Preview_IDeliveryOptimizationSettingsStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Store::Preview::DeliveryOptimizationSettings) GetCurrentSettings() const;
+ auto GetCurrentSettings() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::Preview::IDeliveryOptimizationSettingsStatics>
{
@@ -348,12 +341,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::StoreSystemFeature>>) FilterUnsupportedSystemFeaturesAsync(param::async_iterable<winrt::Windows::ApplicationModel::Store::Preview::StoreSystemFeature> 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<winrt::Windows::ApplicationModel::Store::Preview::StoreSystemFeature> const& systemFeatures) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics>
{
@@ -362,8 +355,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_Preview_IStoreConfigurationStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) PurchasePromptingPolicy() const;
- WINRT_IMPL_AUTO(void) PurchasePromptingPolicy(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
+ [[nodiscard]] auto PurchasePromptingPolicy() const;
+ auto PurchasePromptingPolicy(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics2>
{
@@ -372,13 +365,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Streams::IRandomAccessStreamReference>) 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<uint32_t>) GetPurchasePromptingPolicyForUser(winrt::Windows::System::User const& user) const;
- WINRT_IMPL_AUTO(void) SetPurchasePromptingPolicyForUser(winrt::Windows::System::User const& user, winrt::Windows::Foundation::IReference<uint32_t> 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<uint32_t> const& value) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics3>
{
@@ -387,14 +380,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics4>
{
@@ -403,11 +396,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::IStoreConfigurationStatics5>
{
@@ -416,10 +409,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::IStoreHardwareManufacturerInfo>
{
@@ -428,8 +421,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_Preview_IStorePreview
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::StorePreviewPurchaseResults>) RequestProductPurchaseByProductIdAndSkuIdAsync(param::hstring const& productId, param::hstring const& skuId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::StorePreviewProductInfo>>) LoadAddOnProductInfosAsync() const;
+ auto RequestProductPurchaseByProductIdAndSkuIdAsync(param::hstring const& productId, param::hstring const& skuId) const;
+ auto LoadAddOnProductInfosAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::Preview::IStorePreview>
{
@@ -438,11 +431,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::StorePreviewSkuInfo>) 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<winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewProductInfo>
{
@@ -451,7 +444,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewPurchaseResults>
{
@@ -460,15 +453,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::IStorePreviewSkuInfo>
{
@@ -477,8 +470,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_Preview_IWebAuthenticationCoreManagerHelper
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestResult>) 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<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestResult>) 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<winrt::Windows::ApplicationModel::Store::Preview::IWebAuthenticationCoreManagerHelper>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.1.h
index 98eacafbacd..487d21880c0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.2.h
index 4265a8cee9d..211ee0cdbfe 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.0.h
index b9a4f1aae99..3a2b9c9e64d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Management::Deployment
{
struct PackageVolume;
@@ -445,22 +440,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Completed_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem, &impl::abi_t<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem>::remove_Completed>;
- [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Completed(winrt::event_token const& token) const noexcept;
+ auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
using StatusChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem, &impl::abi_t<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem>::remove_StatusChanged>;
- [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto StatusChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem>
{
@@ -469,9 +464,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem2>
{
@@ -480,8 +475,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) Children() const;
- [[nodiscard]] WINRT_IMPL_AUTO(bool) ItemOperationsMightAffectOtherItems() const;
+ [[nodiscard]] auto Children() const;
+ [[nodiscard]] auto ItemOperationsMightAffectOtherItems() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem3>
{
@@ -490,8 +485,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem4>
{
@@ -500,16 +495,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5>
{
@@ -518,29 +513,29 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) 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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManager, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManagerItemEventArgs> 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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManager, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManagerItemEventArgs> const& handler) const;
using ItemCompleted_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager, &impl::abi_t<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager>::remove_ItemCompleted>;
- [[nodiscard]] ItemCompleted_revoker ItemCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManager, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManagerItemEventArgs> 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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManager, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManagerItemEventArgs> const& handler) const;
+ [[nodiscard]] auto ItemCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManager, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManagerItemEventArgs> const& handler) const;
+ auto ItemCompleted(winrt::event_token const& token) const noexcept;
+ auto ItemStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManager, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManagerItemEventArgs> const& handler) const;
using ItemStatusChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager, &impl::abi_t<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager>::remove_ItemStatusChanged>;
- [[nodiscard]] ItemStatusChanged_revoker ItemStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManager, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManagerItemEventArgs> 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<bool>) GetIsApplicableAsync(param::hstring const& productId, param::hstring const& skuId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) StartAppInstallAsync(param::hstring const& productId, param::hstring const& skuId, bool repair, bool forceUseOfNonRemovableStorage) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) UpdateAppByPackageFamilyNameAsync(param::hstring const& packageFamilyName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) SearchForAllUpdatesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) IsStoreBlockedByPolicyAsync(param::hstring const& storeClientName, param::hstring const& storeClientPublisher) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) GetIsAppAllowedToInstallAsync(param::hstring const& productId) const;
+ [[nodiscard]] auto ItemStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManager, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallManagerItemEventArgs> 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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager>
{
@@ -549,14 +544,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) 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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) UpdateAppByPackageFamilyNameAsync(param::hstring const& packageFamilyName, param::hstring const& correlationVector) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) SearchForAllUpdatesAsync(param::hstring const& correlationVector) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager2>
{
@@ -565,14 +560,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) 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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) UpdateAppByPackageFamilyNameForUserAsync(winrt::Windows::System::User const& user, param::hstring const& packageFamilyName, param::hstring const& correlationVector) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) SearchForAllUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<bool>) 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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager3>
{
@@ -581,9 +576,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementResult>) GetFreeUserEntitlementAsync(param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementResult>) 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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementResult>) 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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager4>
{
@@ -592,7 +587,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager5
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) AppInstallItemsWithGroupSupport() const;
+ [[nodiscard]] auto AppInstallItemsWithGroupSupport() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager5>
{
@@ -601,14 +596,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) 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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) 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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>) 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem>>) 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<bool>) GetIsPackageIdentityAllowedToInstallAsync(param::hstring const& correlationVector, param::hstring const& packageIdentityName, param::hstring const& publisherCertificateName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager6>
{
@@ -617,7 +612,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager7
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) CanInstallForAllUsers() const;
+ [[nodiscard]] auto CanInstallForAllUsers() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager7>
{
@@ -626,7 +621,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManagerItemEventArgs>
{
@@ -635,18 +630,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions>
{
@@ -655,24 +650,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2>
{
@@ -681,11 +676,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus>
{
@@ -694,8 +689,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus2>
{
@@ -704,7 +699,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus3
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsStaged() const;
+ [[nodiscard]] auto IsStaged() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus3>
{
@@ -713,10 +708,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions>
{
@@ -725,8 +720,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions2>
{
@@ -735,7 +730,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IGetEntitlementResult>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.1.h
index 294156d57c0..36cbfdf70a1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.2.h
index 3992435175b..8aa075df01e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.0.h
index 8ce5baf0672..46176aa88e1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Security::Credentials
{
@@ -371,21 +368,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserActivities::IUserActivity>
{
@@ -394,7 +391,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserActivities_IUserActivity2
{
- WINRT_IMPL_AUTO(hstring) ToJson() const;
+ auto ToJson() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserActivities::IUserActivity2>
{
@@ -403,8 +400,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserActivities::IUserActivity3>
{
@@ -413,12 +410,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserActivities::IUserActivityAttribution>
{
@@ -427,7 +424,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserActivities::IUserActivityAttributionFactory>
{
@@ -436,9 +433,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserActivities::UserActivity>) 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<winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannel>
{
@@ -447,8 +444,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserActivities_IUserActivityChannel2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::UserActivities::UserActivitySessionHistoryItem>>) GetRecentUserActivitiesAsync(int32_t maxUniqueActivities) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::UserActivities::UserActivitySessionHistoryItem>>) 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<winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannel2>
{
@@ -457,7 +454,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserActivities_IUserActivityChannelStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityChannel) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannelStatics>
{
@@ -466,8 +463,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannelStatics2>
{
@@ -476,7 +473,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserActivities::IUserActivityChannelStatics3>
{
@@ -485,7 +482,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserActivities_IUserActivityContentInfo
{
- WINRT_IMPL_AUTO(hstring) ToJson() const;
+ auto ToJson() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfo>
{
@@ -494,7 +491,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserActivities::IUserActivityContentInfoStatics>
{
@@ -503,7 +500,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserActivities::IUserActivityFactory>
{
@@ -512,7 +509,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequest>
{
@@ -521,10 +518,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManager
{
- WINRT_IMPL_AUTO(winrt::event_token) UserActivityRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestManager, winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestedEventArgs> const& handler) const;
+ auto UserActivityRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestManager, winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestedEventArgs> const& handler) const;
using UserActivityRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequestManager, &impl::abi_t<winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequestManager>::remove_UserActivityRequested>;
- [[nodiscard]] UserActivityRequested_revoker UserActivityRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestManager, winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestedEventArgs> 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<winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestManager, winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestedEventArgs> const& handler) const;
+ auto UserActivityRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequestManager>
{
@@ -533,7 +530,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserActivities_IUserActivityRequestManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::UserActivities::UserActivityRequestManager) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequestManagerStatics>
{
@@ -542,8 +539,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserActivities::IUserActivityRequestedEventArgs>
{
@@ -552,7 +549,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserActivities_IUserActivitySession
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ActivityId() const;
+ [[nodiscard]] auto ActivityId() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserActivities::IUserActivitySession>
{
@@ -561,9 +558,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) EndTime() const;
+ [[nodiscard]] auto UserActivity() const;
+ [[nodiscard]] auto StartTime() const;
+ [[nodiscard]] auto EndTime() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserActivities::IUserActivitySessionHistoryItem>
{
@@ -572,9 +569,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserActivities::UserActivity>) TryParseFromJsonArray(param::hstring const& json) const;
- WINRT_IMPL_AUTO(hstring) ToJsonArray(param::iterable<winrt::Windows::ApplicationModel::UserActivities::UserActivity> const& activities) const;
+ auto TryParseFromJson(param::hstring const& json) const;
+ auto TryParseFromJsonArray(param::hstring const& json) const;
+ auto ToJsonArray(param::iterable<winrt::Windows::ApplicationModel::UserActivities::UserActivity> const& activities) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserActivities::IUserActivityStatics>
{
@@ -583,16 +580,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements>
{
@@ -601,8 +598,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserActivities::IUserActivityVisualElements2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.1.h
index f9c333fa55c..ec586f29942 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.2.h
index 162513071f1..f9dd6c5f8ff 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.0.h
index 283d2b23e3a..0e67554ec3f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::ApplicationModel::UserActivities::Core::ICoreUserActivityManagerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.1.h
index 341c89384ef..bed9749d62e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.2.h
index e168a5d1eda..6815795c045 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserActivities.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.0.h
index e0c5c272f01..ec3633f1f61 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
struct IPropertySet;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
@@ -245,20 +224,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Appointments::AppointmentCalendar>>) FindAppointmentCalendarsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Email::EmailMailbox>>) FindEmailMailboxesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactList>>) FindContactListsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactAnnotationList>>) 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<winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount>
{
@@ -267,8 +246,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount2>
{
@@ -277,9 +256,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccount3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) 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<winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount3>
{
@@ -288,14 +267,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskList>>) FindUserDataTaskListsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Contacts::ContactGroup>>) FindContactGroupsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) 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<winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccount4>
{
@@ -304,8 +283,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerForUser
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStore>) 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<winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountManagerForUser>
{
@@ -314,10 +293,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStore>) RequestStoreAsync(winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreAccessType const& storeAccessType) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) 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<winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountManagerStatics>
{
@@ -326,7 +305,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountManagerStatics2>
{
@@ -335,9 +314,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccount>>) FindAccountsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccount>) GetAccountAsync(param::hstring const& id) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccount>) 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<winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore>
{
@@ -346,11 +325,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccount>) CreateAccountAsync(param::hstring const& userDisplayName, param::hstring const& packageRelativeAppId) const;
- WINRT_IMPL_AUTO(winrt::event_token) StoreChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStore, winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreChangedEventArgs> const& handler) const;
+ auto CreateAccountAsync(param::hstring const& userDisplayName, param::hstring const& packageRelativeAppId) const;
+ auto StoreChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStore, winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreChangedEventArgs> const& handler) const;
using StoreChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore2, &impl::abi_t<winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore2>::remove_StoreChanged>;
- [[nodiscard]] StoreChanged_revoker StoreChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStore, winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreChangedEventArgs> 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<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStore, winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccountStoreChangedEventArgs> const& handler) const;
+ auto StoreChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore2>
{
@@ -359,7 +338,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStore3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataAccounts::UserDataAccount>) 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<winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStore3>
{
@@ -368,7 +347,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserDataAccounts_IUserDataAccountStoreChangedEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserDataAccounts::IUserDataAccountStoreChangedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.1.h
index f7a14f7d360..1e8747c7d0f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.2.h
index 9009dbdbcdd..66ad8346fdb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.0.h
index 689c93340bf..06519583299 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> 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 <typename D>
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<winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountPartnerAccountInfo>
{
@@ -122,9 +118,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataAccounts::Provider::UserDataAccountPartnerAccountInfo>) 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<winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderAddAccountOperation>
{
@@ -133,7 +129,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderOperation>
{
@@ -142,8 +138,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderResolveErrorsOperation>
{
@@ -152,8 +148,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataAccounts::Provider::IUserDataAccountProviderSettingsOperation>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.1.h
index d07ac46276e..6916172584e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.2.h
index 9c97ef89426..ae362e9ba72 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.Provider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.0.h
index fa312eb8b11..6101d9ef6e8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Security::Credentials
{
@@ -215,38 +213,38 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration>
{
@@ -255,62 +253,62 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IDeviceAccountConfiguration2>
{
@@ -319,7 +317,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserDataAccounts_SystemAccess_IUserDataAccountSystemAccessManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) AddAndShowDeviceAccountsAsync(param::async_iterable<winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountConfiguration> const& accounts) const;
+ auto AddAndShowDeviceAccountsAsync(param::async_iterable<winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountConfiguration> const& accounts) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IUserDataAccountSystemAccessManagerStatics>
{
@@ -328,10 +326,10 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::DeviceAccountConfiguration>) 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<winrt::Windows::ApplicationModel::UserDataAccounts::SystemAccess::IUserDataAccountSystemAccessManagerStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.1.h
index dc53a104e05..d5080acb983 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.2.h
index 99adfda99f2..72b0a35cbbf 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataAccounts.SystemAccess.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.0.h
index 6719adabfee..cf695250ee8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::System
{
struct User;
@@ -408,33 +403,33 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) CompletedDate() const;
- WINRT_IMPL_AUTO(void) CompletedDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime>) DueDate() const;
- WINRT_IMPL_AUTO(void) DueDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime>) Reminder() const;
- WINRT_IMPL_AUTO(void) Reminder(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime>) StartDate() const;
- WINRT_IMPL_AUTO(void) StartDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime> const& value) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTask>
{
@@ -443,7 +438,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskBatch
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask>) Tasks() const;
+ [[nodiscard]] auto Tasks() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskBatch>
{
@@ -452,25 +447,25 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask>) 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<winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskList>
{
@@ -479,10 +474,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskListLimitedWriteOperations
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) TryCompleteTaskAsync(param::hstring const& userDataTaskId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryCreateOrUpdateTaskAsync(winrt::Windows::ApplicationModel::UserDataTasks::UserDataTask const& userDataTask) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryDeleteTaskAsync(param::hstring const& userDataTaskId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListLimitedWriteOperations>
{
@@ -491,17 +486,17 @@ namespace winrt::impl
template <typename D>
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<bool>) SyncAsync() const;
- WINRT_IMPL_AUTO(winrt::event_token) SyncStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncManager, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
using SyncStatusChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager, &impl::abi_t<winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager>::remove_SyncStatusChanged>;
- [[nodiscard]] SyncStatusChanged_revoker SyncStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncManager, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskListSyncManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SyncStatusChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskListSyncManager>
{
@@ -510,8 +505,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskManager
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskStore>) 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<winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskManager>
{
@@ -520,8 +515,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskManagerStatics>
{
@@ -530,10 +525,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskQueryOptions>
{
@@ -542,7 +537,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskReader
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskBatch>) ReadBatchAsync() const;
+ auto ReadBatchAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskReader>
{
@@ -551,22 +546,22 @@ namespace winrt::impl
template <typename D>
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<int32_t>) Occurrences() const;
- WINRT_IMPL_AUTO(void) Occurrences(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) Until() const;
- WINRT_IMPL_AUTO(void) Until(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDaysOfWeek>) DaysOfWeek() const;
- WINRT_IMPL_AUTO(void) DaysOfWeek(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDaysOfWeek> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskWeekOfMonth>) WeekOfMonth() const;
- WINRT_IMPL_AUTO(void) WeekOfMonth(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskWeekOfMonth> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) Month() const;
- WINRT_IMPL_AUTO(void) Month(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) Day() const;
- WINRT_IMPL_AUTO(void) Day(winrt::Windows::Foundation::IReference<int32_t> 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<int32_t> const& value) const;
+ [[nodiscard]] auto Until() const;
+ auto Until(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
+ [[nodiscard]] auto Interval() const;
+ auto Interval(int32_t value) const;
+ [[nodiscard]] auto DaysOfWeek() const;
+ auto DaysOfWeek(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskDaysOfWeek> const& value) const;
+ [[nodiscard]] auto WeekOfMonth() const;
+ auto WeekOfMonth(winrt::Windows::Foundation::IReference<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskWeekOfMonth> const& value) const;
+ [[nodiscard]] auto Month() const;
+ auto Month(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto Day() const;
+ auto Day(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRecurrenceProperties>
{
@@ -575,14 +570,14 @@ namespace winrt::impl
template <typename D>
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<int32_t>) Occurrences() const;
- WINRT_IMPL_AUTO(void) Occurrences(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) Until() const;
- WINRT_IMPL_AUTO(void) Until(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<int32_t> const& value) const;
+ [[nodiscard]] auto Until() const;
+ auto Until(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
+ [[nodiscard]] auto Interval() const;
+ auto Interval(int32_t value) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskRegenerationProperties>
{
@@ -591,10 +586,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_UserDataTasks_IUserDataTaskStore
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskList>) CreateListAsync(param::hstring const& name) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskList>) CreateListAsync(param::hstring const& name, param::hstring const& userDataAccountId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskList>>) FindListsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::UserDataTasks::UserDataTaskList>) 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<winrt::Windows::ApplicationModel::UserDataTasks::IUserDataTaskStore>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.1.h
index 489672df866..fe31ad821a4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.2.h
index 83a616975a2..6aecb2bac81 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.0.h
index 357823ac49e..64e29999db2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
struct consume_Windows_ApplicationModel_UserDataTasks_DataProvider_IUserDataTaskDataProviderConnection
{
- WINRT_IMPL_AUTO(winrt::event_token) CreateOrUpdateTaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCreateOrUpdateTaskRequestEventArgs> const& handler) const;
+ auto CreateOrUpdateTaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCreateOrUpdateTaskRequestEventArgs> const& handler) const;
using CreateOrUpdateTaskRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection>::remove_CreateOrUpdateTaskRequested>;
- [[nodiscard]] CreateOrUpdateTaskRequested_revoker CreateOrUpdateTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCreateOrUpdateTaskRequestEventArgs> 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<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSyncManagerSyncRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto CreateOrUpdateTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCreateOrUpdateTaskRequestEventArgs> const& handler) const;
+ auto CreateOrUpdateTaskRequested(winrt::event_token const& token) const noexcept;
+ auto SyncRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSyncManagerSyncRequestEventArgs> const& handler) const;
using SyncRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection>::remove_SyncRequested>;
- [[nodiscard]] SyncRequested_revoker SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSyncManagerSyncRequestEventArgs> 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<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSkipOccurrenceRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto SyncRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSyncManagerSyncRequestEventArgs> const& handler) const;
+ auto SyncRequested(winrt::event_token const& token) const noexcept;
+ auto SkipOccurrenceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSkipOccurrenceRequestEventArgs> const& handler) const;
using SkipOccurrenceRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection>::remove_SkipOccurrenceRequested>;
- [[nodiscard]] SkipOccurrenceRequested_revoker SkipOccurrenceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSkipOccurrenceRequestEventArgs> 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<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCompleteTaskRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto SkipOccurrenceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListSkipOccurrenceRequestEventArgs> const& handler) const;
+ auto SkipOccurrenceRequested(winrt::event_token const& token) const noexcept;
+ auto CompleteTaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCompleteTaskRequestEventArgs> const& handler) const;
using CompleteTaskRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection>::remove_CompleteTaskRequested>;
- [[nodiscard]] CompleteTaskRequested_revoker CompleteTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCompleteTaskRequestEventArgs> 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<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListDeleteTaskRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto CompleteTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListCompleteTaskRequestEventArgs> const& handler) const;
+ auto CompleteTaskRequested(winrt::event_token const& token) const noexcept;
+ auto DeleteTaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListDeleteTaskRequestEventArgs> const& handler) const;
using DeleteTaskRequested_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection, &impl::abi_t<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection>::remove_DeleteTaskRequested>;
- [[nodiscard]] DeleteTaskRequested_revoker DeleteTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListDeleteTaskRequestEventArgs> 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<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskDataProviderConnection, winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::UserDataTaskListDeleteTaskRequestEventArgs> const& handler) const;
+ auto DeleteTaskRequested(winrt::event_token const& token) const noexcept;
+ auto Start() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderConnection>
{
@@ -260,7 +260,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskDataProviderTriggerDetails>
{
@@ -269,10 +269,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCompleteTaskRequest>
{
@@ -281,8 +281,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCompleteTaskRequestEventArgs>
{
@@ -291,10 +291,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCreateOrUpdateTaskRequest>
{
@@ -303,8 +303,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListCreateOrUpdateTaskRequestEventArgs>
{
@@ -313,10 +313,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListDeleteTaskRequest>
{
@@ -325,8 +325,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListDeleteTaskRequestEventArgs>
{
@@ -335,10 +335,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSkipOccurrenceRequest>
{
@@ -347,8 +347,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSkipOccurrenceRequestEventArgs>
{
@@ -357,9 +357,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSyncManagerSyncRequest>
{
@@ -368,8 +368,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::UserDataTasks::DataProvider::IUserDataTaskListSyncManagerSyncRequestEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.1.h
index bf2d76958fe..75b730316df 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.2.h
index 8d12011532c..ca97300c171 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.UserDataTasks.DataProvider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.0.h
index 774125a4a65..ad280201623 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Globalization
{
@@ -280,9 +276,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommand
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) CommandName() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::Collections::IVectorView<hstring>>) 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<winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommand>
{
@@ -291,7 +287,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandCompletedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandCompletionReason) Reason() const;
+ [[nodiscard]] auto Reason() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandCompletedEventArgs>
{
@@ -300,7 +296,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandConfirmationResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) Confirmed() const;
+ [[nodiscard]] auto Confirmed() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandConfirmationResult>
{
@@ -309,22 +305,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandContentTile>
{
@@ -333,9 +329,9 @@ namespace winrt::impl
template <typename D>
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<hstring> const& phraseList) const;
+ [[nodiscard]] auto Language() const;
+ [[nodiscard]] auto Name() const;
+ auto SetPhraseListAsync(param::hstring const& phraseListName, param::async_iterable<hstring> const& phraseList) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandDefinition>
{
@@ -344,8 +340,8 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandDefinition>) InstalledCommandDefinitions() const;
+ auto InstallCommandDefinitionsFromStorageFileAsync(winrt::Windows::Storage::StorageFile const& file) const;
+ [[nodiscard]] auto InstalledCommandDefinitions() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandDefinitionManagerStatics>
{
@@ -354,7 +350,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandDisambiguationResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTile) SelectedItem() const;
+ [[nodiscard]] auto SelectedItem() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandDisambiguationResult>
{
@@ -363,13 +359,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTile>) 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<winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponse>
{
@@ -378,11 +374,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTile> 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<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTile> 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<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTile> 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<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTile> const& contentTiles) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandResponseStatics>
{
@@ -391,18 +387,18 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_VoiceCommands_IVoiceCommandServiceConnection
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommand>) GetVoiceCommandAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandConfirmationResult>) RequestConfirmationAsync(winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandResponse const& response) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandDisambiguationResult>) 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<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandServiceConnection, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandCompletedEventArgs> 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<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandServiceConnection, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandCompletedEventArgs> const& handler) const;
using VoiceCommandCompleted_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection, &impl::abi_t<winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection>::remove_VoiceCommandCompleted>;
- [[nodiscard]] VoiceCommandCompleted_revoker VoiceCommandCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandServiceConnection, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandCompletedEventArgs> 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<winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandServiceConnection, winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandCompletedEventArgs> const& handler) const;
+ auto VoiceCommandCompleted(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnection>
{
@@ -411,7 +407,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandServiceConnectionStatics>
{
@@ -420,10 +416,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::VoiceCommands::IVoiceCommandUserMessage>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.1.h
index b483a20055b..4ed574efa46 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.2.h
index 5c5a024ba22..83e2c3a47fd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.VoiceCommands.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.0.h
index f578aa7d7b4..331d968aee5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IRandomAccessStreamReference;
@@ -365,9 +359,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Streams::IRandomAccessStreamReference>) GetImageAsync() const;
+ [[nodiscard]] auto Symbology() const;
+ [[nodiscard]] auto Value() const;
+ auto GetImageAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Wallet::IWalletBarcode>
{
@@ -376,8 +370,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Wallet::IWalletBarcodeFactory>
{
@@ -386,58 +380,58 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) LastUpdated() const;
- WINRT_IMPL_AUTO(void) LastUpdated(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime>) ExpirationDate() const;
- WINRT_IMPL_AUTO(void) ExpirationDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime>) RelevantDate() const;
- WINRT_IMPL_AUTO(void) RelevantDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<hstring, winrt::Windows::ApplicationModel::Wallet::WalletTransaction>) TransactionHistory() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::ApplicationModel::Wallet::WalletRelevantLocation>) 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<hstring, winrt::Windows::ApplicationModel::Wallet::WalletItemCustomProperty>) DisplayProperties() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::ApplicationModel::Wallet::WalletVerb>) 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<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::ApplicationModel::Wallet::IWalletItem>
{
@@ -446,16 +440,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomProperty>
{
@@ -464,7 +458,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Wallet::IWalletItemCustomPropertyFactory>
{
@@ -473,7 +467,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Wallet::IWalletItemFactory>
{
@@ -482,16 +476,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Wallet::WalletItem>) GetWalletItemAsync(param::hstring const& id) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Wallet::WalletItem>>) GetItemsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Wallet::WalletItem>>) GetItemsAsync(winrt::Windows::ApplicationModel::Wallet::WalletItemKind const& kind) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Wallet::WalletItem>) 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<winrt::Windows::ApplicationModel::Wallet::IWalletItemStore>
{
@@ -500,10 +494,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Wallet_IWalletItemStore2
{
- WINRT_IMPL_AUTO(winrt::event_token) ItemsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Wallet::WalletItemStore, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ItemsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Wallet::WalletItemStore, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ItemsChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Wallet::IWalletItemStore2, &impl::abi_t<winrt::Windows::ApplicationModel::Wallet::IWalletItemStore2>::remove_ItemsChanged>;
- [[nodiscard]] ItemsChanged_revoker ItemsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Wallet::WalletItemStore, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Wallet::WalletItemStore, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ItemsChanged(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Wallet::IWalletItemStore2>
{
@@ -512,7 +506,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Wallet_IWalletManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Wallet::WalletItemStore>) RequestStoreAsync() const;
+ auto RequestStoreAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Wallet::IWalletManagerStatics>
{
@@ -521,10 +515,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Wallet::IWalletRelevantLocation>
{
@@ -533,18 +527,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) TransactionDate() const;
- WINRT_IMPL_AUTO(void) TransactionDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime> const& value) const;
+ [[nodiscard]] auto IsLaunchable() const;
+ auto IsLaunchable(bool value) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Wallet::IWalletTransaction>
{
@@ -553,8 +547,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Wallet::IWalletVerb>
{
@@ -563,7 +557,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Wallet::IWalletVerbFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.1.h
index ef861c35e77..953f816c9e2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.2.h
index e41101b27ea..88927698759 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.0.h
index 23d49e1c70b..0e412ff0d81 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IRandomAccessStreamReference;
@@ -83,11 +78,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::Wallet::WalletItem>>) 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<winrt::Windows::ApplicationModel::Wallet::WalletItem>) 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<bool>) 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<winrt::Windows::ApplicationModel::Wallet::System::IWalletItemSystemStore>
{
@@ -96,10 +91,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Wallet_System_IWalletItemSystemStore2
{
- WINRT_IMPL_AUTO(winrt::event_token) ItemsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ItemsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ItemsChanged_revoker = impl::event_revoker<winrt::Windows::ApplicationModel::Wallet::System::IWalletItemSystemStore2, &impl::abi_t<winrt::Windows::ApplicationModel::Wallet::System::IWalletItemSystemStore2>::remove_ItemsChanged>;
- [[nodiscard]] ItemsChanged_revoker ItemsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ItemsChanged(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::ApplicationModel::Wallet::System::IWalletItemSystemStore2>
{
@@ -108,7 +103,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_ApplicationModel_Wallet_System_IWalletManagerSystemStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Wallet::System::WalletItemSystemStore>) RequestStoreAsync() const;
+ auto RequestStoreAsync() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::Wallet::System::IWalletManagerSystemStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.1.h
index 7abfe4cdfaa..6c1de371be1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.2.h
index d516351e1b0..8a7785e8d0b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.ApplicationModel.Wallet.System.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.0.h
index 705f36295dc..5d7e9f58e74 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Data::Html::IHtmlUtilities>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.1.h
index 37d3b795804..31da569f6ad 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.2.h
index 68d0829a6d7..70293607b23 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Html.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.0.h
index 0fdab2c59f6..65918fa1f0b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Data::Json::IJsonArray>
{
@@ -186,8 +186,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Json::IJsonArrayStatics>
{
@@ -196,7 +196,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Json::IJsonErrorStatics2>
{
@@ -205,13 +205,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Json::IJsonObject>
{
@@ -220,8 +220,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Json::IJsonObjectStatics>
{
@@ -230,12 +230,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Json::IJsonObjectWithDefaultValues>
{
@@ -244,13 +244,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Json::IJsonValue>
{
@@ -259,11 +259,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Json::IJsonValueStatics>
{
@@ -272,7 +272,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Data_Json_IJsonValueStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Data::Json::JsonValue) CreateNullValue() const;
+ auto CreateNullValue() const;
};
template <> struct consume<winrt::Windows::Data::Json::IJsonValueStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.1.h
index 69037ec497c..ccbe292746d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.2.h
index 78314d6b50e..f1c6e7461a3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Json.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.0.h
index 92fde42970d..cc6ba6dac7c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Rect;
struct Size;
}
@@ -137,9 +136,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Pdf::IPdfDocument>
{
@@ -148,10 +147,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Data_Pdf_IPdfDocumentStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Data::Pdf::PdfDocument>) LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Data::Pdf::PdfDocument>) LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file, param::hstring const& password) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Data::Pdf::PdfDocument>) LoadFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& inputStream) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Data::Pdf::PdfDocument>) 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<winrt::Windows::Data::Pdf::IPdfDocumentStatics>
{
@@ -160,14 +159,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Pdf::IPdfPage>
{
@@ -176,11 +175,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Pdf::IPdfPageDimensions>
{
@@ -189,18 +188,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Pdf::IPdfPageRenderOptions>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.1.h
index 8a268bb97b4..a15dcfb4b4a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.2.h
index f658c899512..eb62691e247 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Pdf.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.0.h
index b9537df7007..4026cfd600e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::UI::Text::Core
{
@@ -404,9 +399,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Text::IAlternateWordForm>
{
@@ -415,8 +410,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Text::ISelectableWordSegment>
{
@@ -425,10 +420,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Text::SelectableWordSegment>) 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<winrt::Windows::Data::Text::ISelectableWordsSegmenter>
{
@@ -437,7 +432,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Text::ISelectableWordsSegmenterFactory>
{
@@ -446,8 +441,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Data_Text_ISemanticTextQuery
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Data::Text::TextSegment>) Find(param::hstring const& content) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Data::Text::TextSegment>) 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<winrt::Windows::Data::Text::ISemanticTextQuery>
{
@@ -456,8 +451,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Text::ISemanticTextQueryFactory>
{
@@ -466,10 +461,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) GetCandidatesAsync(param::hstring const& input) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) 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<winrt::Windows::Data::Text::ITextConversionGenerator>
{
@@ -478,7 +473,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Text::ITextConversionGeneratorFactory>
{
@@ -487,8 +482,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Text::ITextPhoneme>
{
@@ -497,10 +492,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) GetCandidatesAsync(param::hstring const& input) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) 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<winrt::Windows::Data::Text::ITextPredictionGenerator>
{
@@ -509,10 +504,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Data_Text_ITextPredictionGenerator2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) GetCandidatesAsync(param::hstring const& input, uint32_t maxCandidates, winrt::Windows::Data::Text::TextPredictionOptions const& predictionOptions, param::async_iterable<hstring> const& previousStrings) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) GetNextWordCandidatesAsync(uint32_t maxCandidates, param::async_iterable<hstring> 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<hstring> const& previousStrings) const;
+ auto GetNextWordCandidatesAsync(uint32_t maxCandidates, param::async_iterable<hstring> const& previousStrings) const;
+ [[nodiscard]] auto InputScope() const;
+ auto InputScope(winrt::Windows::UI::Text::Core::CoreTextInputScope const& value) const;
};
template <> struct consume<winrt::Windows::Data::Text::ITextPredictionGenerator2>
{
@@ -521,7 +516,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Text::ITextPredictionGeneratorFactory>
{
@@ -530,9 +525,9 @@ namespace winrt::impl
template <typename D>
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<hstring>) ConvertBackAsync(param::hstring const& input) const;
+ [[nodiscard]] auto ResolvedLanguage() const;
+ [[nodiscard]] auto LanguageAvailableButNotInstalled() const;
+ auto ConvertBackAsync(param::hstring const& input) const;
};
template <> struct consume<winrt::Windows::Data::Text::ITextReverseConversionGenerator>
{
@@ -541,7 +536,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Data_Text_ITextReverseConversionGenerator2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Data::Text::TextPhoneme>>) GetPhonemesAsync(param::hstring const& input) const;
+ auto GetPhonemesAsync(param::hstring const& input) const;
};
template <> struct consume<winrt::Windows::Data::Text::ITextReverseConversionGenerator2>
{
@@ -550,7 +545,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Text::ITextReverseConversionGeneratorFactory>
{
@@ -559,23 +554,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Text::IUnicodeCharactersStatics>
{
@@ -584,9 +579,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Text::AlternateWordForm>) AlternateForms() const;
+ [[nodiscard]] auto Text() const;
+ [[nodiscard]] auto SourceTextSegment() const;
+ [[nodiscard]] auto AlternateForms() const;
};
template <> struct consume<winrt::Windows::Data::Text::IWordSegment>
{
@@ -595,10 +590,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Text::WordSegment>) 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<winrt::Windows::Data::Text::IWordsSegmenter>
{
@@ -607,7 +602,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Text::IWordsSegmenterFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.1.h
index 63b8edb18f6..cd83dd77289 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.2.h
index e5948466791..4bf36b4cb01 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Text.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.0.h
index 1b8b9a4d54a..202790949c6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Storage
@@ -451,9 +450,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IDtdEntity>
{
@@ -462,8 +461,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IDtdNotation>
{
@@ -472,10 +471,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IXmlAttribute>
{
@@ -492,14 +491,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IXmlCharacterData>
{
@@ -516,23 +515,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IXmlDocument>
{
@@ -549,9 +548,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IXmlDocumentIO>
{
@@ -560,8 +559,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IXmlDocumentIO2>
{
@@ -570,10 +569,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Data_Xml_Dom_IXmlDocumentStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Data::Xml::Dom::XmlDocument>) LoadFromUriAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Data::Xml::Dom::XmlDocument>) LoadFromUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Data::Xml::Dom::XmlLoadSettings const& loadSettings) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Data::Xml::Dom::XmlDocument>) LoadFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Data::Xml::Dom::XmlDocument>) 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<winrt::Windows::Data::Xml::Dom::IXmlDocumentStatics>
{
@@ -582,9 +581,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IXmlDocumentType>
{
@@ -593,7 +592,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IXmlDomImplementation>
{
@@ -602,19 +601,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IXmlElement>
{
@@ -631,16 +630,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IXmlLoadSettings>
{
@@ -649,14 +648,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IXmlNamedNodeMap>
{
@@ -665,29 +664,29 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IXmlNode>
{
@@ -696,8 +695,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IXmlNodeList>
{
@@ -706,10 +705,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IXmlNodeSelector>
{
@@ -718,9 +717,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IXmlNodeSerializer>
{
@@ -729,9 +728,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IXmlProcessingInstruction>
{
@@ -740,7 +739,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Dom::IXmlText>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.1.h
index 905076fe134..9a3b282c224 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.2.h
index aff2912092d..126b1f55efd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Dom.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.0.h
index 7c67d8c2cbf..5f9c5ee22e4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Data::Xml::Xsl::IXsltProcessor>
{
@@ -62,7 +62,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Xsl::IXsltProcessor2>
{
@@ -71,7 +71,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Data::Xml::Xsl::IXsltProcessorFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.1.h
index 786e645789a..622e706ccce 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.2.h
index d29c0e8604f..dfe7946ac6a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Data.Xml.Xsl.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.0.h
index a1d81d7dfe1..f58e2e1852d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Devices::ILowLevelDevicesAggregateProvider>
{
@@ -100,7 +100,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::ILowLevelDevicesAggregateProviderFactory>
{
@@ -117,8 +117,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::ILowLevelDevicesControllerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.1.h
index 8099f2201c5..3fd3a33818b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.2.h
index 2143f199d0e..bef6f36efa1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.0.h
index e7bbeb27730..da69e681b14 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
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<winrt::Windows::Devices::Adc::IAdcChannel>
{
@@ -102,14 +94,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Adc::IAdcController>
{
@@ -118,7 +110,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Adc_IAdcControllerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Adc::AdcController>>) GetControllersAsync(winrt::Windows::Devices::Adc::Provider::IAdcProvider const& provider) const;
+ auto GetControllersAsync(winrt::Windows::Devices::Adc::Provider::IAdcProvider const& provider) const;
};
template <> struct consume<winrt::Windows::Devices::Adc::IAdcControllerStatics>
{
@@ -127,7 +119,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Adc_IAdcControllerStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Adc::AdcController>) GetDefaultAsync() const;
+ auto GetDefaultAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Adc::IAdcControllerStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.1.h
index fc7c5737dfd..a16e2225747 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.2.h
index 3e129a9303c..11631a68f63 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.0.h
index e6e88089f8c..a0ee4274f88 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> 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 <typename D>
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<winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider>
{
@@ -71,7 +67,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Adc_Provider_IAdcProvider
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Adc::Provider::IAdcControllerProvider>) GetControllers() const;
+ auto GetControllers() const;
};
template <> struct consume<winrt::Windows::Devices::Adc::Provider::IAdcProvider>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.1.h
index 7779f741c45..fb34906b91e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.2.h
index c4ff28a4c2f..aab66210ab1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Adc.Provider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.0.h
index 036ff058546..c2901b1dc28 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> 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 <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<hstring, hstring>) AppNames() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) DateOfManufacture() const;
- WINRT_IMPL_AUTO(void) DateOfManufacture(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<hstring, hstring>) 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<hstring, hstring>) 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<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Devices::AllJoyn::IAllJoynAboutData>
{
@@ -785,22 +779,22 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_AllJoyn_IAllJoynAboutDataView
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Status() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::Foundation::DateTime>) 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<winrt::Windows::Globalization::Language>) 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<winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataView>
{
@@ -809,8 +803,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_AllJoyn_IAllJoynAboutDataViewStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::AllJoyn::AllJoynAboutDataView>) GetDataBySessionPortAsync(param::hstring const& uniqueName, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment const& busAttachment, uint16_t sessionPort) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::AllJoyn::AllJoynAboutDataView>) 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<winrt::Windows::Devices::AllJoyn::IAllJoynAboutDataViewStatics>
{
@@ -819,7 +813,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_AllJoyn_IAllJoynAcceptSessionJoiner
{
- WINRT_IMPL_AUTO(void) Accept() const;
+ auto Accept() const;
};
template <> struct consume<winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoiner>
{
@@ -828,12 +822,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoinerEventArgs>
{
@@ -842,7 +836,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynAcceptSessionJoinerEventArgsFactory>
{
@@ -851,9 +845,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynAuthenticationCompleteEventArgs>
{
@@ -862,30 +856,30 @@ namespace winrt::impl
template <typename D>
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<int32_t>) 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<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentStateChangedEventArgs> 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<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentStateChangedEventArgs> const& handler) const;
using StateChanged_revoker = impl::event_revoker<winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment, &impl::abi_t<winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment>::remove_StateChanged>;
- [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentStateChangedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) StateChanged(winrt::event_token const& token) const noexcept;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationMechanism>) AuthenticationMechanisms() const;
- WINRT_IMPL_AUTO(winrt::event_token) CredentialsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynCredentialsRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynBusAttachmentStateChangedEventArgs> const& handler) const;
+ auto StateChanged(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto AuthenticationMechanisms() const;
+ auto CredentialsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynCredentialsRequestedEventArgs> const& handler) const;
using CredentialsRequested_revoker = impl::event_revoker<winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment, &impl::abi_t<winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment>::remove_CredentialsRequested>;
- [[nodiscard]] CredentialsRequested_revoker CredentialsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynCredentialsRequestedEventArgs> 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<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynCredentialsVerificationRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto CredentialsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynCredentialsRequestedEventArgs> const& handler) const;
+ auto CredentialsRequested(winrt::event_token const& token) const noexcept;
+ auto CredentialsVerificationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynCredentialsVerificationRequestedEventArgs> const& handler) const;
using CredentialsVerificationRequested_revoker = impl::event_revoker<winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment, &impl::abi_t<winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment>::remove_CredentialsVerificationRequested>;
- [[nodiscard]] CredentialsVerificationRequested_revoker CredentialsVerificationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynCredentialsVerificationRequestedEventArgs> 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<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationCompleteEventArgs> const& handler) const;
+ [[nodiscard]] auto CredentialsVerificationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynCredentialsVerificationRequestedEventArgs> const& handler) const;
+ auto CredentialsVerificationRequested(winrt::event_token const& token) const noexcept;
+ auto AuthenticationComplete(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationCompleteEventArgs> const& handler) const;
using AuthenticationComplete_revoker = impl::event_revoker<winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment, &impl::abi_t<winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment>::remove_AuthenticationComplete>;
- [[nodiscard]] AuthenticationComplete_revoker AuthenticationComplete(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationCompleteEventArgs> 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<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynAuthenticationCompleteEventArgs> const& handler) const;
+ auto AuthenticationComplete(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment>
{
@@ -894,16 +888,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_AllJoyn_IAllJoynBusAttachment2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::AllJoyn::AllJoynAboutDataView>) GetAboutDataAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::AllJoyn::AllJoynAboutDataView>) 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<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynAcceptSessionJoinerEventArgs> 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<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynAcceptSessionJoinerEventArgs> const& handler) const;
using AcceptSessionJoinerRequested_revoker = impl::event_revoker<winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment2, &impl::abi_t<winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment2>::remove_AcceptSessionJoinerRequested>;
- [[nodiscard]] AcceptSessionJoinerRequested_revoker AcceptSessionJoinerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynAcceptSessionJoinerEventArgs> 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<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynSessionJoinedEventArgs> const& handler) const;
+ [[nodiscard]] auto AcceptSessionJoinerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynAcceptSessionJoinerEventArgs> const& handler) const;
+ auto AcceptSessionJoinerRequested(winrt::event_token const& token) const noexcept;
+ auto SessionJoined(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynSessionJoinedEventArgs> const& handler) const;
using SessionJoined_revoker = impl::event_revoker<winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment2, &impl::abi_t<winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment2>::remove_SessionJoined>;
- [[nodiscard]] SessionJoined_revoker SessionJoined(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynSessionJoinedEventArgs> 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<winrt::Windows::Devices::AllJoyn::AllJoynBusAttachment, winrt::Windows::Devices::AllJoyn::AllJoynSessionJoinedEventArgs> const& handler) const;
+ auto SessionJoined(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachment2>
{
@@ -912,7 +906,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachmentFactory>
{
@@ -921,8 +915,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachmentStateChangedEventArgs>
{
@@ -931,8 +925,8 @@ namespace winrt::impl
template <typename D>
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<hstring> const& requiredInterfaces) const;
+ auto GetDefault() const;
+ auto GetWatcher(param::iterable<hstring> const& requiredInterfaces) const;
};
template <> struct consume<winrt::Windows::Devices::AllJoyn::IAllJoynBusAttachmentStatics>
{
@@ -941,15 +935,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::AllJoynBusObject, winrt::Windows::Devices::AllJoyn::AllJoynBusObjectStoppedEventArgs> 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<winrt::Windows::Devices::AllJoyn::AllJoynBusObject, winrt::Windows::Devices::AllJoyn::AllJoynBusObjectStoppedEventArgs> const& handler) const;
using Stopped_revoker = impl::event_revoker<winrt::Windows::Devices::AllJoyn::IAllJoynBusObject, &impl::abi_t<winrt::Windows::Devices::AllJoyn::IAllJoynBusObject>::remove_Stopped>;
- [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynBusObject, winrt::Windows::Devices::AllJoyn::AllJoynBusObjectStoppedEventArgs> 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<winrt::Windows::Devices::AllJoyn::AllJoynBusObject, winrt::Windows::Devices::AllJoyn::AllJoynBusObjectStoppedEventArgs> const& handler) const;
+ auto Stopped(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::AllJoyn::IAllJoynBusObject>
{
@@ -958,8 +952,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynBusObjectFactory>
{
@@ -968,7 +962,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_AllJoyn_IAllJoynBusObjectStoppedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Status() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::Devices::AllJoyn::IAllJoynBusObjectStoppedEventArgs>
{
@@ -977,7 +971,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynBusObjectStoppedEventArgsFactory>
{
@@ -986,13 +980,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynCredentials>
{
@@ -1001,11 +995,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsRequestedEventArgs>
{
@@ -1014,14 +1008,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) PeerCertificateErrors() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) 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<winrt::Windows::Devices::AllJoyn::IAllJoynCredentialsVerificationRequestedEventArgs>
{
@@ -1030,7 +1024,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_AllJoyn_IAllJoynMessageInfo
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) SenderUniqueName() const;
+ [[nodiscard]] auto SenderUniqueName() const;
};
template <> struct consume<winrt::Windows::Devices::AllJoyn::IAllJoynMessageInfo>
{
@@ -1039,7 +1033,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynMessageInfoFactory>
{
@@ -1048,7 +1042,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynProducer>
{
@@ -1057,7 +1051,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_AllJoyn_IAllJoynProducerStoppedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Status() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::Devices::AllJoyn::IAllJoynProducerStoppedEventArgs>
{
@@ -1066,7 +1060,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynProducerStoppedEventArgsFactory>
{
@@ -1075,9 +1069,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynServiceInfo>
{
@@ -1086,7 +1080,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynServiceInfoFactory>
{
@@ -1095,7 +1089,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoRemovedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) UniqueName() const;
+ [[nodiscard]] auto UniqueName() const;
};
template <> struct consume<winrt::Windows::Devices::AllJoyn::IAllJoynServiceInfoRemovedEventArgs>
{
@@ -1104,7 +1098,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynServiceInfoRemovedEventArgsFactory>
{
@@ -1113,7 +1107,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_AllJoyn_IAllJoynServiceInfoStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo>) FromIdAsync(param::hstring const& deviceId) const;
+ auto FromIdAsync(param::hstring const& deviceId) const;
};
template <> struct consume<winrt::Windows::Devices::AllJoyn::IAllJoynServiceInfoStatics>
{
@@ -1122,21 +1116,21 @@ namespace winrt::impl
template <typename D>
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<int32_t>) RemoveMemberAsync(param::hstring const& uniqueName) const;
- WINRT_IMPL_AUTO(winrt::event_token) MemberAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberAddedEventArgs> const& handler) const;
+ [[nodiscard]] auto Id() const;
+ [[nodiscard]] auto Status() const;
+ auto RemoveMemberAsync(param::hstring const& uniqueName) const;
+ auto MemberAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberAddedEventArgs> const& handler) const;
using MemberAdded_revoker = impl::event_revoker<winrt::Windows::Devices::AllJoyn::IAllJoynSession, &impl::abi_t<winrt::Windows::Devices::AllJoyn::IAllJoynSession>::remove_MemberAdded>;
- [[nodiscard]] MemberAdded_revoker MemberAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberAddedEventArgs> 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<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberRemovedEventArgs> const& handler) const;
+ [[nodiscard]] auto MemberAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberAddedEventArgs> const& handler) const;
+ auto MemberAdded(winrt::event_token const& token) const noexcept;
+ auto MemberRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberRemovedEventArgs> const& handler) const;
using MemberRemoved_revoker = impl::event_revoker<winrt::Windows::Devices::AllJoyn::IAllJoynSession, &impl::abi_t<winrt::Windows::Devices::AllJoyn::IAllJoynSession>::remove_MemberRemoved>;
- [[nodiscard]] MemberRemoved_revoker MemberRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberRemovedEventArgs> 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<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionLostEventArgs> const& handler) const;
+ [[nodiscard]] auto MemberRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionMemberRemovedEventArgs> const& handler) const;
+ auto MemberRemoved(winrt::event_token const& token) const noexcept;
+ auto Lost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionLostEventArgs> const& handler) const;
using Lost_revoker = impl::event_revoker<winrt::Windows::Devices::AllJoyn::IAllJoynSession, &impl::abi_t<winrt::Windows::Devices::AllJoyn::IAllJoynSession>::remove_Lost>;
- [[nodiscard]] Lost_revoker Lost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionLostEventArgs> 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<winrt::Windows::Devices::AllJoyn::AllJoynSession, winrt::Windows::Devices::AllJoyn::AllJoynSessionLostEventArgs> const& handler) const;
+ auto Lost(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::AllJoyn::IAllJoynSession>
{
@@ -1145,7 +1139,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_AllJoyn_IAllJoynSessionJoinedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSession) Session() const;
+ [[nodiscard]] auto Session() const;
};
template <> struct consume<winrt::Windows::Devices::AllJoyn::IAllJoynSessionJoinedEventArgs>
{
@@ -1154,7 +1148,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynSessionJoinedEventArgsFactory>
{
@@ -1163,7 +1157,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_AllJoyn_IAllJoynSessionLostEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::AllJoyn::AllJoynSessionLostReason) Reason() const;
+ [[nodiscard]] auto Reason() const;
};
template <> struct consume<winrt::Windows::Devices::AllJoyn::IAllJoynSessionLostEventArgs>
{
@@ -1172,7 +1166,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynSessionLostEventArgsFactory>
{
@@ -1181,7 +1175,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberAddedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) UniqueName() const;
+ [[nodiscard]] auto UniqueName() const;
};
template <> struct consume<winrt::Windows::Devices::AllJoyn::IAllJoynSessionMemberAddedEventArgs>
{
@@ -1190,7 +1184,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynSessionMemberAddedEventArgsFactory>
{
@@ -1199,7 +1193,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_AllJoyn_IAllJoynSessionMemberRemovedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) UniqueName() const;
+ [[nodiscard]] auto UniqueName() const;
};
template <> struct consume<winrt::Windows::Devices::AllJoyn::IAllJoynSessionMemberRemovedEventArgs>
{
@@ -1208,7 +1202,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynSessionMemberRemovedEventArgsFactory>
{
@@ -1217,8 +1211,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_AllJoyn_IAllJoynSessionStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::AllJoyn::AllJoynSession>) GetFromServiceInfoAsync(winrt::Windows::Devices::AllJoyn::AllJoynServiceInfo const& serviceInfo) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::AllJoyn::AllJoynSession>) 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<winrt::Windows::Devices::AllJoyn::IAllJoynSessionStatics>
{
@@ -1227,24 +1221,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynStatusStatics>
{
@@ -1253,7 +1247,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_AllJoyn_IAllJoynWatcherStoppedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) Status() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::Devices::AllJoyn::IAllJoynWatcherStoppedEventArgs>
{
@@ -1262,7 +1256,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::AllJoyn::IAllJoynWatcherStoppedEventArgsFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.1.h
index a24f182e41f..29ee0d2e313 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.2.h
index a445ceea572..8d4058dec03 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.AllJoyn.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.0.h
index 39c7737a170..c98df555c3c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Devices::Background::IDeviceServicingDetails>
{
@@ -58,8 +58,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Background::IDeviceUseDetails>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.1.h
index 6e70789d2c4..48eadf56265 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.2.h
index ea47d81ca94..1a1c949efc2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Background.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.0.h
index 606d9a54356..3a493dbef58 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
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<winrt::Windows::Devices::Radios::Radio>) 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<winrt::Windows::Devices::Bluetooth::IBluetoothAdapter>
{
@@ -682,8 +665,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::IBluetoothAdapter2>
{
@@ -692,8 +675,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::IBluetoothAdapter3>
{
@@ -702,9 +685,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_IBluetoothAdapterStatics
{
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::BluetoothAdapter>) FromIdAsync(param::hstring const& deviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::BluetoothAdapter>) GetDefaultAsync() const;
+ auto GetDeviceSelector() const;
+ auto FromIdAsync(param::hstring const& deviceId) const;
+ auto GetDefaultAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::IBluetoothAdapterStatics>
{
@@ -713,10 +696,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::IBluetoothClassOfDevice>
{
@@ -725,8 +708,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::IBluetoothClassOfDeviceStatics>
{
@@ -735,26 +718,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Streams::IBuffer>) SdpRecords() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceService>) 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<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
using NameChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::IBluetoothDevice, &impl::abi_t<winrt::Windows::Devices::Bluetooth::IBluetoothDevice>::remove_NameChanged>;
- [[nodiscard]] NameChanged_revoker NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto NameChanged(winrt::event_token const& token) const noexcept;
+ auto SdpRecordsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
using SdpRecordsChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::IBluetoothDevice, &impl::abi_t<winrt::Windows::Devices::Bluetooth::IBluetoothDevice>::remove_SdpRecordsChanged>;
- [[nodiscard]] SdpRecordsChanged_revoker SdpRecordsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto SdpRecordsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SdpRecordsChanged(winrt::event_token const& token) const noexcept;
+ auto ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ConnectionStatusChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::IBluetoothDevice, &impl::abi_t<winrt::Windows::Devices::Bluetooth::IBluetoothDevice>::remove_ConnectionStatusChanged>;
- [[nodiscard]] ConnectionStatusChanged_revoker ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Bluetooth::BluetoothDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ConnectionStatusChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::IBluetoothDevice>
{
@@ -763,7 +746,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_IBluetoothDevice2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) DeviceInformation() const;
+ [[nodiscard]] auto DeviceInformation() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::IBluetoothDevice2>
{
@@ -772,12 +755,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_IBluetoothDevice3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) DeviceAccessInformation() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceAccessStatus>) RequestAccessAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceServicesResult>) GetRfcommServicesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceServicesResult>) GetRfcommServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceServicesResult>) GetRfcommServicesForIdAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceServicesResult>) 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<winrt::Windows::Devices::Bluetooth::IBluetoothDevice3>
{
@@ -786,7 +769,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_IBluetoothDevice4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId) BluetoothDeviceId() const;
+ [[nodiscard]] auto BluetoothDeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::IBluetoothDevice4>
{
@@ -795,7 +778,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_IBluetoothDevice5
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) WasSecureConnectionUsedForPairing() const;
+ [[nodiscard]] auto WasSecureConnectionUsedForPairing() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::IBluetoothDevice5>
{
@@ -804,9 +787,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::IBluetoothDeviceId>
{
@@ -815,7 +798,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::IBluetoothDeviceIdStatics>
{
@@ -824,10 +807,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_IBluetoothDeviceStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::BluetoothDevice>) FromIdAsync(param::hstring const& deviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::BluetoothDevice>) FromHostNameAsync(winrt::Windows::Networking::HostName const& hostName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::BluetoothDevice>) 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<winrt::Windows::Devices::Bluetooth::IBluetoothDeviceStatics>
{
@@ -836,11 +819,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::IBluetoothDeviceStatics2>
{
@@ -849,9 +832,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearance>
{
@@ -860,28 +843,28 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceCategoriesStatics>
{
@@ -890,8 +873,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceStatics>
{
@@ -900,34 +883,34 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::IBluetoothLEAppearanceSubcategoriesStatics>
{
@@ -936,24 +919,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>) 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<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
using NameChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice, &impl::abi_t<winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice>::remove_NameChanged>;
- [[nodiscard]] NameChanged_revoker NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto NameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto NameChanged(winrt::event_token const& token) const noexcept;
+ auto GattServicesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
using GattServicesChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice, &impl::abi_t<winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice>::remove_GattServicesChanged>;
- [[nodiscard]] GattServicesChanged_revoker GattServicesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto GattServicesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto GattServicesChanged(winrt::event_token const& token) const noexcept;
+ auto ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ConnectionStatusChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice, &impl::abi_t<winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice>::remove_ConnectionStatusChanged>;
- [[nodiscard]] ConnectionStatusChanged_revoker ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ConnectionStatusChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice>
{
@@ -962,9 +945,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice2>
{
@@ -973,12 +956,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_IBluetoothLEDevice3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessInformation) DeviceAccessInformation() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceAccessStatus>) RequestAccessAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>) GetGattServicesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>) GetGattServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>) GetGattServicesForUuidAsync(winrt::guid const& serviceUuid) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>) 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<winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice3>
{
@@ -987,7 +970,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_IBluetoothLEDevice4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId) BluetoothDeviceId() const;
+ [[nodiscard]] auto BluetoothDeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice4>
{
@@ -996,7 +979,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_IBluetoothLEDevice5
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) WasSecureConnectionUsedForPairing() const;
+ [[nodiscard]] auto WasSecureConnectionUsedForPairing() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::IBluetoothLEDevice5>
{
@@ -1005,9 +988,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_IBluetoothLEDeviceStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice>) FromIdAsync(param::hstring const& deviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice>) 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<winrt::Windows::Devices::Bluetooth::IBluetoothLEDeviceStatics>
{
@@ -1016,13 +999,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::BluetoothLEDevice>) 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<winrt::Windows::Devices::Bluetooth::IBluetoothLEDeviceStatics2>
{
@@ -1031,14 +1014,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_IBluetoothSignalStrengthFilter
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int16_t>) InRangeThresholdInDBm() const;
- WINRT_IMPL_AUTO(void) InRangeThresholdInDBm(winrt::Windows::Foundation::IReference<int16_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int16_t>) OutOfRangeThresholdInDBm() const;
- WINRT_IMPL_AUTO(void) OutOfRangeThresholdInDBm(winrt::Windows::Foundation::IReference<int16_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) OutOfRangeTimeout() const;
- WINRT_IMPL_AUTO(void) OutOfRangeTimeout(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) SamplingInterval() const;
- WINRT_IMPL_AUTO(void) SamplingInterval(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ [[nodiscard]] auto InRangeThresholdInDBm() const;
+ auto InRangeThresholdInDBm(winrt::Windows::Foundation::IReference<int16_t> const& value) const;
+ [[nodiscard]] auto OutOfRangeThresholdInDBm() const;
+ auto OutOfRangeThresholdInDBm(winrt::Windows::Foundation::IReference<int16_t> const& value) const;
+ [[nodiscard]] auto OutOfRangeTimeout() const;
+ auto OutOfRangeTimeout(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ [[nodiscard]] auto SamplingInterval() const;
+ auto SamplingInterval(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::IBluetoothSignalStrengthFilter>
{
@@ -1047,8 +1030,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_IBluetoothUuidHelperStatics
{
- WINRT_IMPL_AUTO(winrt::guid) FromShortId(uint32_t shortId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) TryGetShortId(winrt::guid const& uuid) const;
+ auto FromShortId(uint32_t shortId) const;
+ auto TryGetShortId(winrt::guid const& uuid) const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::IBluetoothUuidHelperStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.1.h
index 47c9d61f05c..9ad7456831f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.2.h
index 835b0f05a55..466b772fa7b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.0.h
index a585bdc65ee..f6169b6bc21 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IBuffer;
@@ -428,15 +423,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisement
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFlags>) Flags() const;
- WINRT_IMPL_AUTO(void) Flags(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFlags> 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<winrt::guid>) ServiceUuids() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEManufacturerData>) ManufacturerData() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementDataSection>) DataSections() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEManufacturerData>) GetManufacturerDataByCompanyId(uint16_t companyId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementDataSection>) GetSectionsByType(uint8_t type) const;
+ [[nodiscard]] auto Flags() const;
+ auto Flags(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementFlags> 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<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisement>
{
@@ -445,12 +440,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementBytePattern>
{
@@ -459,7 +454,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementBytePatternFactory>
{
@@ -468,10 +463,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataSection>
{
@@ -480,7 +475,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataSectionFactory>
{
@@ -489,28 +484,28 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementDataTypesStatics>
{
@@ -519,9 +514,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementBytePattern>) BytePatterns() const;
+ [[nodiscard]] auto Advertisement() const;
+ auto Advertisement(winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisement const& value) const;
+ [[nodiscard]] auto BytePatterns() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementFilter>
{
@@ -530,14 +525,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatusChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto Advertisement() const;
+ auto Start() const;
+ auto Stop() const;
+ auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatusChangedEventArgs> const& handler) const;
using StatusChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher, &impl::abi_t<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher>::remove_StatusChanged>;
- [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatusChangedEventArgs> 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<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementPublisherStatusChangedEventArgs> const& handler) const;
+ auto StatusChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher>
{
@@ -546,14 +541,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisher2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int16_t>) PreferredTransmitPowerLevelInDBm() const;
- WINRT_IMPL_AUTO(void) PreferredTransmitPowerLevelInDBm(winrt::Windows::Foundation::IReference<int16_t> 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<int16_t> 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<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisher2>
{
@@ -562,7 +557,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisherFactory>
{
@@ -571,8 +566,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisherStatusChangedEventArgs>
{
@@ -581,7 +576,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_Advertisement_IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int16_t>) SelectedTransmitPowerLevelInDBm() const;
+ [[nodiscard]] auto SelectedTransmitPowerLevelInDBm() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementPublisherStatusChangedEventArgs2>
{
@@ -590,11 +585,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs>
{
@@ -603,13 +598,13 @@ namespace winrt::impl
template <typename D>
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<int16_t>) 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<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementReceivedEventArgs2>
{
@@ -618,27 +613,27 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementReceivedEventArgs> 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<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementReceivedEventArgs> const& handler) const;
using Received_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher, &impl::abi_t<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher>::remove_Received>;
- [[nodiscard]] Received_revoker Received(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementReceivedEventArgs> 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<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcherStoppedEventArgs> const& handler) const;
+ [[nodiscard]] auto Received(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementReceivedEventArgs> const& handler) const;
+ auto Received(winrt::event_token const& token) const noexcept;
+ auto Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcherStoppedEventArgs> const& handler) const;
using Stopped_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher, &impl::abi_t<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher>::remove_Stopped>;
- [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcherStoppedEventArgs> 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<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcher, winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementWatcherStoppedEventArgs> const& handler) const;
+ auto Stopped(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher>
{
@@ -647,8 +642,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcher2>
{
@@ -657,7 +652,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcherFactory>
{
@@ -666,7 +661,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEAdvertisementWatcherStoppedEventArgs>
{
@@ -675,10 +670,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEManufacturerData>
{
@@ -687,7 +682,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Advertisement::IBluetoothLEManufacturerDataFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.1.h
index 92ac542c4e8..b2454c30382 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.2.h
index 3875ae24cd3..d2a83805877 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Advertisement.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.0.h
index 50a4e30de61..7e61cc3ad5b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IReference;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Networking::Sockets
{
struct StreamSocket;
@@ -227,8 +216,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementPublisherTriggerDetails>
{
@@ -237,7 +226,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_Background_IBluetoothLEAdvertisementPublisherTriggerDetails2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int16_t>) SelectedTransmitPowerLevelInDBm() const;
+ [[nodiscard]] auto SelectedTransmitPowerLevelInDBm() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementPublisherTriggerDetails2>
{
@@ -246,9 +235,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Advertisement::BluetoothLEAdvertisementReceivedEventArgs>) 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<winrt::Windows::Devices::Bluetooth::Background::IBluetoothLEAdvertisementWatcherTriggerDetails>
{
@@ -257,8 +246,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Background::IGattCharacteristicNotificationTriggerDetails>
{
@@ -267,9 +256,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattValueChangedEventArgs>) ValueChangedEvents() const;
+ [[nodiscard]] auto Error() const;
+ [[nodiscard]] auto EventTriggeringMode() const;
+ [[nodiscard]] auto ValueChangedEvents() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::Background::IGattCharacteristicNotificationTriggerDetails2>
{
@@ -278,9 +267,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Background::IGattServiceProviderConnection>
{
@@ -289,7 +278,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_Background_IGattServiceProviderConnectionStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Devices::Bluetooth::Background::GattServiceProviderConnection>) AllServices() const;
+ [[nodiscard]] auto AllServices() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::Background::IGattServiceProviderConnectionStatics>
{
@@ -298,7 +287,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Background::IGattServiceProviderTriggerDetails>
{
@@ -307,9 +296,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Background::IRfcommConnectionTriggerDetails>
{
@@ -318,12 +307,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Background::IRfcommInboundConnectionInformation>
{
@@ -332,8 +321,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Background::IRfcommOutboundConnectionInformation>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.1.h
index 0f367f40f29..3a2d7eea471 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.2.h
index af042cf3cf9..cef8c2b83b8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Background.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.0.h
index 3d173abde0c..1b59e706475 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IBuffer;
@@ -1207,24 +1199,24 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptor>) 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattPresentationFormat>) PresentationFormats() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadResult>) ReadValueAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadResult>) ReadValueAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus>) WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus>) WriteValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption const& writeOption) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadClientCharacteristicConfigurationDescriptorResult>) ReadClientCharacteristicConfigurationDescriptorAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus>) WriteClientCharacteristicConfigurationDescriptorAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientCharacteristicConfigurationDescriptorValue const& clientCharacteristicConfigurationDescriptorValue) const;
- WINRT_IMPL_AUTO(winrt::event_token) ValueChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattValueChangedEventArgs> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattValueChangedEventArgs> const& valueChangedHandler) const;
using ValueChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic, &impl::abi_t<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic>::remove_ValueChanged>;
- [[nodiscard]] ValueChanged_revoker ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattValueChangedEventArgs> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattValueChangedEventArgs> const& valueChangedHandler) const;
+ auto ValueChanged(winrt::event_token const& valueChangedEventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic>
{
@@ -1233,8 +1225,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptor>) GetAllDescriptors() const;
+ [[nodiscard]] auto Service() const;
+ auto GetAllDescriptors() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic2>
{
@@ -1243,13 +1235,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattCharacteristic3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptorsResult>) GetDescriptorsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptorsResult>) GetDescriptorsAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptorsResult>) GetDescriptorsForUuidAsync(winrt::guid const& descriptorUuid) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptorsResult>) GetDescriptorsForUuidAsync(winrt::guid const& descriptorUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteResult>) WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteResult>) WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteOption const& writeOption) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteResult>) 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristic3>
{
@@ -1258,7 +1250,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicStatics>
{
@@ -1267,27 +1259,27 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics>
{
@@ -1296,66 +1288,66 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicUuidsStatics2>
{
@@ -1364,9 +1356,9 @@ namespace winrt::impl
template <typename D>
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<uint8_t>) ProtocolError() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic>) Characteristics() const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto ProtocolError() const;
+ [[nodiscard]] auto Characteristics() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattCharacteristicsResult>
{
@@ -1375,9 +1367,9 @@ namespace winrt::impl
template <typename D>
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<uint8_t>) ProtocolError() const;
+ [[nodiscard]] auto SubscribedClient() const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto ProtocolError() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattClientNotificationResult>
{
@@ -1386,7 +1378,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattClientNotificationResult2
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) BytesSent() const;
+ [[nodiscard]] auto BytesSent() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattClientNotificationResult2>
{
@@ -1395,13 +1387,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadResult>) ReadValueAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadResult>) ReadValueAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus>) 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptor>
{
@@ -1410,7 +1402,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDescriptor2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteResult>) WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const;
+ auto WriteValueWithResultAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptor2>
{
@@ -1419,7 +1411,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorStatics>
{
@@ -1428,12 +1420,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorUuidsStatics>
{
@@ -1442,9 +1434,9 @@ namespace winrt::impl
template <typename D>
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<uint8_t>) ProtocolError() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDescriptor>) Descriptors() const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto ProtocolError() const;
+ [[nodiscard]] auto Descriptors() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDescriptorsResult>
{
@@ -1453,11 +1445,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceService
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic>) GetCharacteristics(winrt::guid const& characteristicUuid) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>) 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService>
{
@@ -1466,10 +1458,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>) ParentServices() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristic>) GetAllCharacteristics() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>) GetAllIncludedServices() const;
+ [[nodiscard]] auto Device() const;
+ [[nodiscard]] auto ParentServices() const;
+ auto GetAllCharacteristics() const;
+ auto GetAllIncludedServices() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService2>
{
@@ -1478,19 +1470,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Enumeration::DeviceAccessStatus>) RequestAccessAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattOpenStatus>) OpenAsync(winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSharingMode const& sharingMode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicsResult>) GetCharacteristicsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicsResult>) GetCharacteristicsAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicsResult>) GetCharacteristicsForUuidAsync(winrt::guid const& characteristicUuid) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCharacteristicsResult>) GetCharacteristicsForUuidAsync(winrt::guid const& characteristicUuid, winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>) GetIncludedServicesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>) GetIncludedServicesAsync(winrt::Windows::Devices::Bluetooth::BluetoothCacheMode const& cacheMode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>) GetIncludedServicesForUuidAsync(winrt::guid const& serviceUuid) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceServicesResult>) 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceService3>
{
@@ -1499,10 +1491,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>) 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServiceStatics>
{
@@ -1511,11 +1503,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattDeviceServiceStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>) 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServiceStatics2>
{
@@ -1524,9 +1516,9 @@ namespace winrt::impl
template <typename D>
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<uint8_t>) ProtocolError() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattDeviceService>) Services() const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto ProtocolError() const;
+ [[nodiscard]] auto Services() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattDeviceServicesResult>
{
@@ -1535,30 +1527,30 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptorResult>) CreateDescriptorAsync(winrt::guid const& descriptorUuid, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptorParameters const& parameters) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor>) Descriptors() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) UserDescription() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattPresentationFormat>) PresentationFormats() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient>) SubscribedClients() const;
- WINRT_IMPL_AUTO(winrt::event_token) SubscribedClientsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Foundation::IInspectable> const& handler) const;
using SubscribedClientsChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic, &impl::abi_t<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic>::remove_SubscribedClientsChanged>;
- [[nodiscard]] SubscribedClientsChanged_revoker SubscribedClientsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto SubscribedClientsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SubscribedClientsChanged(winrt::event_token const& token) const noexcept;
+ auto ReadRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequestedEventArgs> const& handler) const;
using ReadRequested_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic, &impl::abi_t<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic>::remove_ReadRequested>;
- [[nodiscard]] ReadRequested_revoker ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequestedEventArgs> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequestedEventArgs> const& handler) const;
+ auto ReadRequested(winrt::event_token const& token) const noexcept;
+ auto WriteRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequestedEventArgs> const& handler) const;
using WriteRequested_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic, &impl::abi_t<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic>::remove_WriteRequested>;
- [[nodiscard]] WriteRequested_revoker WriteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequestedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) WriteRequested(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientNotificationResult>>) NotifyValueAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattClientNotificationResult>) 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequestedEventArgs> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristic>
{
@@ -1567,17 +1559,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattPresentationFormat>) 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicParameters>
{
@@ -1586,8 +1578,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalCharacteristicResult>
{
@@ -1596,18 +1588,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequestedEventArgs> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequestedEventArgs> const& handler) const;
using ReadRequested_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor, &impl::abi_t<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor>::remove_ReadRequested>;
- [[nodiscard]] ReadRequested_revoker ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequestedEventArgs> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto ReadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequestedEventArgs> const& handler) const;
+ auto ReadRequested(winrt::event_token const& token) const noexcept;
+ auto WriteRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequestedEventArgs> const& handler) const;
using WriteRequested_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor, &impl::abi_t<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor>::remove_WriteRequested>;
- [[nodiscard]] WriteRequested_revoker WriteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequestedEventArgs> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalDescriptor, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequestedEventArgs> const& handler) const;
+ auto WriteRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptor>
{
@@ -1616,12 +1608,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorParameters>
{
@@ -1630,8 +1622,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalDescriptorResult>
{
@@ -1640,9 +1632,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattLocalService
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Uuid() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristicResult>) CreateCharacteristicAsync(winrt::guid const& characteristicUuid, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristicParameters const& parameters) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattLocalCharacteristic>) 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattLocalService>
{
@@ -1651,11 +1643,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormat>
{
@@ -1664,7 +1656,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattPresentationFormatStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) BluetoothSigAssignedNumbers() const;
+ [[nodiscard]] auto BluetoothSigAssignedNumbers() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatStatics>
{
@@ -1673,7 +1665,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatStatics2>
{
@@ -1682,33 +1674,33 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattPresentationFormatTypesStatics>
{
@@ -1717,23 +1709,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattProtocolErrorStatics>
{
@@ -1742,8 +1734,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadClientCharacteristicConfigurationDescriptorResult>
{
@@ -1752,7 +1744,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadClientCharacteristicConfigurationDescriptorResult2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint8_t>) ProtocolError() const;
+ [[nodiscard]] auto ProtocolError() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadClientCharacteristicConfigurationDescriptorResult2>
{
@@ -1761,15 +1753,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequest, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestStateChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto Offset() const;
+ [[nodiscard]] auto Length() const;
+ [[nodiscard]] auto State() const;
+ auto StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequest, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestStateChangedEventArgs> const& handler) const;
using StateChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest, &impl::abi_t<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest>::remove_StateChanged>;
- [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequest, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestStateChangedEventArgs> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequest, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestStateChangedEventArgs> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequest>
{
@@ -1778,9 +1770,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattReadRequest>) GetRequestAsync() const;
+ [[nodiscard]] auto Session() const;
+ auto GetDeferral() const;
+ auto GetRequestAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadRequestedEventArgs>
{
@@ -1789,8 +1781,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadResult>
{
@@ -1799,7 +1791,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReadResult2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint8_t>) ProtocolError() const;
+ [[nodiscard]] auto ProtocolError() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReadResult2>
{
@@ -1808,8 +1800,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattCommunicationStatus>) 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReliableWriteTransaction>
{
@@ -1818,7 +1810,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattReliableWriteTransaction2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteResult>) CommitWithResultAsync() const;
+ auto CommitWithResultAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattReliableWriteTransaction2>
{
@@ -1827,8 +1819,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattRequestStateChangedEventArgs>
{
@@ -1837,15 +1829,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProvider, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatusChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto Service() const;
+ [[nodiscard]] auto AdvertisementStatus() const;
+ auto AdvertisementStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProvider, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatusChangedEventArgs> const& handler) const;
using AdvertisementStatusChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider, &impl::abi_t<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider>::remove_AdvertisementStatusChanged>;
- [[nodiscard]] AdvertisementStatusChanged_revoker AdvertisementStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProvider, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatusChangedEventArgs> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProvider, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderAdvertisementStatusChangedEventArgs> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProvider>
{
@@ -1854,8 +1846,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisementStatusChangedEventArgs>
{
@@ -1864,10 +1856,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisingParameters>
{
@@ -1876,8 +1868,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderAdvertisingParameters2>
{
@@ -1886,8 +1878,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderResult>
{
@@ -1896,7 +1888,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattServiceProviderStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattServiceProviderResult>) CreateAsync(winrt::guid const& serviceUuid) const;
+ auto CreateAsync(winrt::guid const& serviceUuid) const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceProviderStatics>
{
@@ -1905,15 +1897,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics>
{
@@ -1922,19 +1914,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattServiceUuidsStatics2>
{
@@ -1943,20 +1935,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession, winrt::Windows::Foundation::IInspectable> const& handler) const;
using MaxPduSizeChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession, &impl::abi_t<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession>::remove_MaxPduSizeChanged>;
- [[nodiscard]] MaxPduSizeChanged_revoker MaxPduSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatusChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto MaxPduSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto MaxPduSizeChanged(winrt::event_token const& token) const noexcept;
+ auto SessionStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatusChangedEventArgs> const& handler) const;
using SessionStatusChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession, &impl::abi_t<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession>::remove_SessionStatusChanged>;
- [[nodiscard]] SessionStatusChanged_revoker SessionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatusChangedEventArgs> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSessionStatusChangedEventArgs> const& handler) const;
+ auto SessionStatusChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSession>
{
@@ -1965,7 +1957,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_GenericAttributeProfile_IGattSessionStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSession>) FromDeviceIdAsync(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& deviceId) const;
+ auto FromDeviceIdAsync(winrt::Windows::Devices::Bluetooth::BluetoothDeviceId const& deviceId) const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSessionStatics>
{
@@ -1974,8 +1966,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSessionStatusChangedEventArgs>
{
@@ -1984,12 +1976,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Session() const;
+ [[nodiscard]] auto MaxNotificationSize() const;
+ auto MaxNotificationSizeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient, winrt::Windows::Foundation::IInspectable> const& handler) const;
using MaxNotificationSizeChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSubscribedClient, &impl::abi_t<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSubscribedClient>::remove_MaxNotificationSizeChanged>;
- [[nodiscard]] MaxNotificationSizeChanged_revoker MaxNotificationSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattSubscribedClient, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto MaxNotificationSizeChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattSubscribedClient>
{
@@ -1998,8 +1990,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattValueChangedEventArgs>
{
@@ -2008,16 +2000,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequest, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestStateChangedEventArgs> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequest, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestStateChangedEventArgs> const& handler) const;
using StateChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest, &impl::abi_t<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest>::remove_StateChanged>;
- [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequest, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestStateChangedEventArgs> 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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequest, winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattRequestStateChangedEventArgs> const& handler) const;
+ auto StateChanged(winrt::event_token const& token) const noexcept;
+ auto Respond() const;
+ auto RespondWithProtocolError(uint8_t protocolError) const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequest>
{
@@ -2026,9 +2018,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::GattWriteRequest>) GetRequestAsync() const;
+ [[nodiscard]] auto Session() const;
+ auto GetDeferral() const;
+ auto GetRequestAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteRequestedEventArgs>
{
@@ -2037,8 +2029,8 @@ namespace winrt::impl
template <typename D>
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<uint8_t>) ProtocolError() const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto ProtocolError() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::GenericAttributeProfile::IGattWriteResult>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.1.h
index 7f936b16cd0..aa4a8c9c145 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.2.h
index e58af689a7d..3df2103e499 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.GenericAttributeProfile.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.0.h
index b3343085a96..6032ee48b65 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> 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 <typename D>
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<winrt::Windows::Foundation::Collections::IMapView<uint32_t, winrt::Windows::Storage::Streams::IBuffer>>) GetSdpRawAttributesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<uint32_t, winrt::Windows::Storage::Streams::IBuffer>>) 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<winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService>
{
@@ -221,7 +206,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService2>
{
@@ -230,8 +215,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Enumeration::DeviceAccessStatus>) RequestAccessAsync() const;
+ [[nodiscard]] auto DeviceAccessInformation() const;
+ auto RequestAccessAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceService3>
{
@@ -240,8 +225,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommDeviceServiceStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceService>) 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<winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServiceStatics>
{
@@ -250,10 +235,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServiceStatics2>
{
@@ -262,8 +247,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommDeviceService>) Services() const;
+ [[nodiscard]] auto Error() const;
+ [[nodiscard]] auto Services() const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommDeviceServicesResult>
{
@@ -272,9 +257,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceId>
{
@@ -283,14 +268,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceIdStatics>
{
@@ -299,10 +284,10 @@ namespace winrt::impl
template <typename D>
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<uint32_t, winrt::Windows::Storage::Streams::IBuffer>) 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<winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider>
{
@@ -311,7 +296,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProvider2>
{
@@ -320,7 +305,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Bluetooth_Rfcomm_IRfcommServiceProviderStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceProvider>) CreateAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const;
+ auto CreateAsync(winrt::Windows::Devices::Bluetooth::Rfcomm::RfcommServiceId const& serviceId) const;
};
template <> struct consume<winrt::Windows::Devices::Bluetooth::Rfcomm::IRfcommServiceProviderStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.1.h
index 5a9d99617c3..c03cdfc7cb8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.2.h
index 102665da740..ef5c723b828 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Bluetooth.Rfcomm.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.0.h
index ec6c988ae4d..a148fdb72e1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IBuffer;
@@ -128,10 +124,10 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) 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<bool>) 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<winrt::Windows::Devices::Custom::ICustomDevice>
{
@@ -140,8 +136,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Custom_ICustomDeviceStatics
{
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::guid const& classGuid) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Custom::CustomDevice>) 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<winrt::Windows::Devices::Custom::ICustomDeviceStatics>
{
@@ -150,11 +146,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Custom::IIOControlCode>
{
@@ -163,7 +159,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Custom::IIOControlCodeFactory>
{
@@ -172,7 +168,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Custom_IKnownDeviceTypesStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Unknown() const;
+ [[nodiscard]] auto Unknown() const;
};
template <> struct consume<winrt::Windows::Devices::Custom::IKnownDeviceTypesStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.1.h
index 304b075a6ba..d376a53fe50 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.2.h
index 58a8fd50e79..a7073775708 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Custom.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.0.h
index 3e8eabc4004..cee80bf3ce0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
struct Point;
- struct Size;
}
WINRT_EXPORT namespace winrt::Windows::Graphics
{
@@ -118,26 +115,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Size>) 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<uint8_t>) 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<winrt::Windows::Devices::Display::IDisplayMonitor>
{
@@ -146,7 +143,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Display_IDisplayMonitor2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDolbyVisionSupportedInHdrMode() const;
+ [[nodiscard]] auto IsDolbyVisionSupportedInHdrMode() const;
};
template <> struct consume<winrt::Windows::Devices::Display::IDisplayMonitor2>
{
@@ -155,9 +152,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Display_IDisplayMonitorStatics
{
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Display::DisplayMonitor>) FromIdAsync(param::hstring const& deviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Display::DisplayMonitor>) 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<winrt::Windows::Devices::Display::IDisplayMonitorStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.1.h
index 31ae470b257..d2a6c2b2585 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.2.h
index 3e1fa2363d3..304ee4d1cec 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.0.h
index fc7768ad8c6..28e61dc3253 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IIterable;
template <typename K, typename V> struct __declspec(empty_bases) IKeyValuePair;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics
{
@@ -720,14 +717,14 @@ namespace winrt::impl
template <typename D>
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<winrt::guid, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::Devices::Display::Core::IDisplayAdapter>
{
@@ -736,7 +733,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Display::Core::IDisplayAdapterStatics>
{
@@ -745,13 +742,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Display::Core::IDisplayDevice>
{
@@ -768,33 +765,33 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Display_Core_IDisplayManager
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Display::Core::DisplayTarget>) GetCurrentTargets() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Display::Core::DisplayAdapter>) 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<winrt::Windows::Devices::Display::Core::DisplayTarget> const& targets) const;
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) TryAcquireTargetsAndCreateEmptyState(param::iterable<winrt::Windows::Devices::Display::Core::DisplayTarget> const& targets) const;
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayManagerResultWithState) TryAcquireTargetsAndCreateSubstate(winrt::Windows::Devices::Display::Core::DisplayState const& existingState, param::iterable<winrt::Windows::Devices::Display::Core::DisplayTarget> 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<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerEnabledEventArgs> 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<winrt::Windows::Devices::Display::Core::DisplayTarget> const& targets) const;
+ auto TryAcquireTargetsAndCreateEmptyState(param::iterable<winrt::Windows::Devices::Display::Core::DisplayTarget> const& targets) const;
+ auto TryAcquireTargetsAndCreateSubstate(winrt::Windows::Devices::Display::Core::DisplayState const& existingState, param::iterable<winrt::Windows::Devices::Display::Core::DisplayTarget> const& targets) const;
+ auto CreateDisplayDevice(winrt::Windows::Devices::Display::Core::DisplayAdapter const& adapter) const;
+ auto Enabled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerEnabledEventArgs> const& handler) const;
using Enabled_revoker = impl::event_revoker<winrt::Windows::Devices::Display::Core::IDisplayManager, &impl::abi_t<winrt::Windows::Devices::Display::Core::IDisplayManager>::remove_Enabled>;
- [[nodiscard]] Enabled_revoker Enabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerEnabledEventArgs> 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<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerDisabledEventArgs> const& handler) const;
+ [[nodiscard]] auto Enabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerEnabledEventArgs> const& handler) const;
+ auto Enabled(winrt::event_token const& token) const noexcept;
+ auto Disabled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerDisabledEventArgs> const& handler) const;
using Disabled_revoker = impl::event_revoker<winrt::Windows::Devices::Display::Core::IDisplayManager, &impl::abi_t<winrt::Windows::Devices::Display::Core::IDisplayManager>::remove_Disabled>;
- [[nodiscard]] Disabled_revoker Disabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerDisabledEventArgs> 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<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto Disabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerDisabledEventArgs> const& handler) const;
+ auto Disabled(winrt::event_token const& token) const noexcept;
+ auto Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerChangedEventArgs> const& handler) const;
using Changed_revoker = impl::event_revoker<winrt::Windows::Devices::Display::Core::IDisplayManager, &impl::abi_t<winrt::Windows::Devices::Display::Core::IDisplayManager>::remove_Changed>;
- [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerChangedEventArgs> 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<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerPathsFailedOrInvalidatedEventArgs> const& handler) const;
+ [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerChangedEventArgs> const& handler) const;
+ auto Changed(winrt::event_token const& token) const noexcept;
+ auto PathsFailedOrInvalidated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerPathsFailedOrInvalidatedEventArgs> const& handler) const;
using PathsFailedOrInvalidated_revoker = impl::event_revoker<winrt::Windows::Devices::Display::Core::IDisplayManager, &impl::abi_t<winrt::Windows::Devices::Display::Core::IDisplayManager>::remove_PathsFailedOrInvalidated>;
- [[nodiscard]] PathsFailedOrInvalidated_revoker PathsFailedOrInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerPathsFailedOrInvalidatedEventArgs> 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<winrt::Windows::Devices::Display::Core::DisplayManager, winrt::Windows::Devices::Display::Core::DisplayManagerPathsFailedOrInvalidatedEventArgs> const& handler) const;
+ auto PathsFailedOrInvalidated(winrt::event_token const& token) const noexcept;
+ auto Start() const;
+ auto Stop() const;
};
template <> struct consume<winrt::Windows::Devices::Display::Core::IDisplayManager>
{
@@ -803,9 +800,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Display::Core::IDisplayManagerChangedEventArgs>
{
@@ -814,9 +811,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Display::Core::IDisplayManagerDisabledEventArgs>
{
@@ -825,9 +822,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Display::Core::IDisplayManagerEnabledEventArgs>
{
@@ -836,9 +833,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Display::Core::IDisplayManagerPathsFailedOrInvalidatedEventArgs>
{
@@ -847,9 +844,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Display::Core::IDisplayManagerResultWithState>
{
@@ -858,7 +855,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Display::Core::IDisplayManagerStatics>
{
@@ -867,15 +864,15 @@ namespace winrt::impl
template <typename D>
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<winrt::guid, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::Devices::Display::Core::IDisplayModeInfo>
{
@@ -884,30 +881,30 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::SizeInt32>) SourceResolution() const;
- WINRT_IMPL_AUTO(void) SourceResolution(winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32> 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<winrt::Windows::Graphics::SizeInt32>) TargetResolution() const;
- WINRT_IMPL_AUTO(void) TargetResolution(winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Display::Core::DisplayPresentationRate>) PresentationRate() const;
- WINRT_IMPL_AUTO(void) PresentationRate(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Display::Core::DisplayPresentationRate> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) IsInterlaced() const;
- WINRT_IMPL_AUTO(void) IsInterlaced(winrt::Windows::Foundation::IReference<bool> 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<winrt::Windows::Devices::Display::Core::DisplayModeInfo>) 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<winrt::guid, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto View() const;
+ [[nodiscard]] auto Target() const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto SourceResolution() const;
+ auto SourceResolution(winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32> 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<winrt::Windows::Graphics::SizeInt32> const& value) const;
+ [[nodiscard]] auto PresentationRate() const;
+ auto PresentationRate(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Display::Core::DisplayPresentationRate> const& value) const;
+ [[nodiscard]] auto IsInterlaced() const;
+ auto IsInterlaced(winrt::Windows::Foundation::IReference<bool> 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<winrt::Windows::Devices::Display::Core::IDisplayPath>
{
@@ -916,13 +913,13 @@ namespace winrt::impl
template <typename D>
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<winrt::guid, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescription>
{
@@ -931,7 +928,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescriptionFactory>
{
@@ -940,7 +937,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Display_Core_IDisplayPrimaryDescriptionStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayPrimaryDescription) CreateWithProperties(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<winrt::guid, winrt::Windows::Foundation::IInspectable>> 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<winrt::Windows::Foundation::Collections::IKeyValuePair<winrt::guid, winrt::Windows::Foundation::IInspectable>> 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<winrt::Windows::Devices::Display::Core::IDisplayPrimaryDescriptionStatics>
{
@@ -957,9 +954,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Display::Core::IDisplaySource>
{
@@ -968,20 +965,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Display::Core::DisplayTarget>) Targets() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Display::Core::DisplayView>) Views() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<winrt::guid, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::Devices::Display::Core::IDisplayState>
{
@@ -990,8 +987,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Display::Core::IDisplayStateOperationResult>
{
@@ -1008,20 +1005,20 @@ namespace winrt::impl
template <typename D>
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<winrt::guid, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::Devices::Display::Core::IDisplayTarget>
{
@@ -1030,8 +1027,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Display::Core::IDisplayTask>
{
@@ -1040,8 +1037,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Display::Core::IDisplayTaskPool>
{
@@ -1050,11 +1047,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Display_Core_IDisplayView
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Display::Core::DisplayPath>) Paths() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32>) ContentResolution() const;
- WINRT_IMPL_AUTO(void) ContentResolution(winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32> 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<winrt::guid, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto Paths() const;
+ [[nodiscard]] auto ContentResolution() const;
+ auto ContentResolution(winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::SizeInt32> const& value) const;
+ auto SetPrimaryPath(winrt::Windows::Devices::Display::Core::DisplayPath const& path) const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Devices::Display::Core::IDisplayView>
{
@@ -1063,12 +1060,12 @@ namespace winrt::impl
template <typename D>
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<winrt::guid, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::Devices::Display::Core::IDisplayWireFormat>
{
@@ -1077,7 +1074,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Display::Core::IDisplayWireFormatFactory>
{
@@ -1086,7 +1083,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Display_Core_IDisplayWireFormatStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Display::Core::DisplayWireFormat) CreateWithProperties(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<winrt::guid, winrt::Windows::Foundation::IInspectable>> 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<winrt::Windows::Foundation::Collections::IKeyValuePair<winrt::guid, winrt::Windows::Foundation::IInspectable>> 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<winrt::Windows::Devices::Display::Core::IDisplayWireFormatStatics>
{
@@ -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<Windows::Devices::Display::Core::DisplayPresentationRate>
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.1.h
index 0c3e0c834be..f6803e1dff0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.2.h
index b1e3b3c5e00..cf6b4ba1d90 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Display.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.0.h
index 4afba783b94..1b891d8e44f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Rect;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Security::Credentials
{
@@ -697,7 +694,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceAccessStatus) Status() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::IDeviceAccessChangedEventArgs>
{
@@ -706,7 +703,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_IDeviceAccessChangedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
+ [[nodiscard]] auto Id() const;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::IDeviceAccessChangedEventArgs2>
{
@@ -715,11 +712,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_IDeviceAccessInformation
{
- WINRT_IMPL_AUTO(winrt::event_token) AccessChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceAccessInformation, winrt::Windows::Devices::Enumeration::DeviceAccessChangedEventArgs> const& handler) const;
+ auto AccessChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceAccessInformation, winrt::Windows::Devices::Enumeration::DeviceAccessChangedEventArgs> const& handler) const;
using AccessChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Enumeration::IDeviceAccessInformation, &impl::abi_t<winrt::Windows::Devices::Enumeration::IDeviceAccessInformation>::remove_AccessChanged>;
- [[nodiscard]] AccessChanged_revoker AccessChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceAccessInformation, winrt::Windows::Devices::Enumeration::DeviceAccessChangedEventArgs> 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<winrt::Windows::Devices::Enumeration::DeviceAccessInformation, winrt::Windows::Devices::Enumeration::DeviceAccessChangedEventArgs> const& handler) const;
+ auto AccessChanged(winrt::event_token const& cookie) const noexcept;
+ [[nodiscard]] auto CurrentStatus() const;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::IDeviceAccessInformation>
{
@@ -728,9 +725,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Enumeration::IDeviceAccessInformationStatics>
{
@@ -739,7 +736,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_IDeviceConnectionChangeTriggerDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
+ [[nodiscard]] auto DeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::IDeviceConnectionChangeTriggerDetails>
{
@@ -748,7 +745,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_IDeviceDisconnectButtonClickedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) Device() const;
+ [[nodiscard]] auto Device() const;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::IDeviceDisconnectButtonClickedEventArgs>
{
@@ -757,15 +754,15 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
- WINRT_IMPL_AUTO(void) Update(winrt::Windows::Devices::Enumeration::DeviceInformationUpdate const& updateInfo) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceThumbnail>) GetThumbnailAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceThumbnail>) 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<winrt::Windows::Devices::Enumeration::IDeviceInformation>
{
@@ -774,8 +771,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Enumeration::IDeviceInformation2>
{
@@ -784,13 +781,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_IDeviceInformationCustomPairing
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DevicePairingResult>) PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DevicePairingResult>) PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingKinds const& pairingKindsSupported, winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DevicePairingResult>) 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<winrt::Windows::Devices::Enumeration::DeviceInformationCustomPairing, winrt::Windows::Devices::Enumeration::DevicePairingRequestedEventArgs> 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<winrt::Windows::Devices::Enumeration::DeviceInformationCustomPairing, winrt::Windows::Devices::Enumeration::DevicePairingRequestedEventArgs> const& handler) const;
using PairingRequested_revoker = impl::event_revoker<winrt::Windows::Devices::Enumeration::IDeviceInformationCustomPairing, &impl::abi_t<winrt::Windows::Devices::Enumeration::IDeviceInformationCustomPairing>::remove_PairingRequested>;
- [[nodiscard]] PairingRequested_revoker PairingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceInformationCustomPairing, winrt::Windows::Devices::Enumeration::DevicePairingRequestedEventArgs> 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<winrt::Windows::Devices::Enumeration::DeviceInformationCustomPairing, winrt::Windows::Devices::Enumeration::DevicePairingRequestedEventArgs> const& handler) const;
+ auto PairingRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::IDeviceInformationCustomPairing>
{
@@ -799,10 +796,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Enumeration::DevicePairingResult>) PairAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DevicePairingResult>) 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<winrt::Windows::Devices::Enumeration::IDeviceInformationPairing>
{
@@ -811,10 +808,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Enumeration::DevicePairingResult>) PairAsync(winrt::Windows::Devices::Enumeration::DevicePairingProtectionLevel const& minProtectionLevel, winrt::Windows::Devices::Enumeration::IDevicePairingSettings const& devicePairingSettings) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceUnpairingResult>) 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<winrt::Windows::Devices::Enumeration::IDeviceInformationPairing2>
{
@@ -823,7 +820,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Enumeration::IDeviceInformationPairingStatics>
{
@@ -832,7 +829,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Enumeration::IDeviceInformationPairingStatics2>
{
@@ -841,16 +838,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_IDeviceInformationStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformation>) CreateFromIdAsync(param::hstring const& deviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformation>) CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable<hstring> const& additionalProperties) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformationCollection>) FindAllAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformationCollection>) FindAllAsync(winrt::Windows::Devices::Enumeration::DeviceClass const& deviceClass) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformationCollection>) FindAllAsync(param::hstring const& aqsFilter) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformationCollection>) FindAllAsync(param::hstring const& aqsFilter, param::async_iterable<hstring> 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<hstring> const& additionalProperties) const;
+ auto CreateFromIdAsync(param::hstring const& deviceId) const;
+ auto CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable<hstring> 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<hstring> 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<hstring> const& additionalProperties) const;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::IDeviceInformationStatics>
{
@@ -859,10 +856,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Enumeration::DeviceInformation>) CreateFromIdAsync(param::hstring const& deviceId, param::async_iterable<hstring> const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformationCollection>) FindAllAsync(param::hstring const& aqsFilter, param::async_iterable<hstring> 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<hstring> 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<hstring> const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const;
+ auto FindAllAsync(param::hstring const& aqsFilter, param::async_iterable<hstring> const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const;
+ auto CreateWatcher(param::hstring const& aqsFilter, param::iterable<hstring> const& additionalProperties, winrt::Windows::Devices::Enumeration::DeviceInformationKind const& kind) const;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::IDeviceInformationStatics2>
{
@@ -871,8 +868,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_IDeviceInformationUpdate
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto Id() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::IDeviceInformationUpdate>
{
@@ -881,7 +878,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_IDeviceInformationUpdate2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformationKind) Kind() const;
+ [[nodiscard]] auto Kind() const;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::IDeviceInformationUpdate2>
{
@@ -890,12 +887,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Enumeration::IDevicePairingRequestedEventArgs>
{
@@ -904,7 +901,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Enumeration::IDevicePairingRequestedEventArgs2>
{
@@ -913,8 +910,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Enumeration::IDevicePairingResult>
{
@@ -931,27 +928,27 @@ namespace winrt::impl
template <typename D>
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<hstring>) RequestedProperties() const;
- WINRT_IMPL_AUTO(winrt::event_token) DeviceSelected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Devices::Enumeration::DeviceSelectedEventArgs> const& handler) const;
+ [[nodiscard]] auto Filter() const;
+ [[nodiscard]] auto Appearance() const;
+ [[nodiscard]] auto RequestedProperties() const;
+ auto DeviceSelected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Devices::Enumeration::DeviceSelectedEventArgs> const& handler) const;
using DeviceSelected_revoker = impl::event_revoker<winrt::Windows::Devices::Enumeration::IDevicePicker, &impl::abi_t<winrt::Windows::Devices::Enumeration::IDevicePicker>::remove_DeviceSelected>;
- [[nodiscard]] DeviceSelected_revoker DeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Devices::Enumeration::DeviceSelectedEventArgs> 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<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Devices::Enumeration::DeviceDisconnectButtonClickedEventArgs> const& handler) const;
+ [[nodiscard]] auto DeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Devices::Enumeration::DeviceSelectedEventArgs> const& handler) const;
+ auto DeviceSelected(winrt::event_token const& token) const noexcept;
+ auto DisconnectButtonClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Devices::Enumeration::DeviceDisconnectButtonClickedEventArgs> const& handler) const;
using DisconnectButtonClicked_revoker = impl::event_revoker<winrt::Windows::Devices::Enumeration::IDevicePicker, &impl::abi_t<winrt::Windows::Devices::Enumeration::IDevicePicker>::remove_DisconnectButtonClicked>;
- [[nodiscard]] DisconnectButtonClicked_revoker DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Devices::Enumeration::DeviceDisconnectButtonClickedEventArgs> 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<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Devices::Enumeration::DeviceDisconnectButtonClickedEventArgs> const& handler) const;
+ auto DisconnectButtonClicked(winrt::event_token const& token) const noexcept;
+ auto DevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Foundation::IInspectable> const& handler) const;
using DevicePickerDismissed_revoker = impl::event_revoker<winrt::Windows::Devices::Enumeration::IDevicePicker, &impl::abi_t<winrt::Windows::Devices::Enumeration::IDevicePicker>::remove_DevicePickerDismissed>;
- [[nodiscard]] DevicePickerDismissed_revoker DevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Enumeration::DeviceInformation>) PickSingleDeviceAsync(winrt::Windows::Foundation::Rect const& selection) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::DeviceInformation>) 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<winrt::Windows::Devices::Enumeration::DevicePicker, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Enumeration::IDevicePicker>
{
@@ -960,20 +957,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Enumeration::IDevicePickerAppearance>
{
@@ -982,8 +979,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_IDevicePickerFilter
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Enumeration::DeviceClass>) SupportedDeviceClasses() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) SupportedDeviceSelectors() const;
+ [[nodiscard]] auto SupportedDeviceClasses() const;
+ [[nodiscard]] auto SupportedDeviceSelectors() const;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::IDevicePickerFilter>
{
@@ -992,7 +989,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_IDeviceSelectedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) SelectedDevice() const;
+ [[nodiscard]] auto SelectedDevice() const;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::IDeviceSelectedEventArgs>
{
@@ -1001,7 +998,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_IDeviceUnpairingResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceUnpairingResultStatus) Status() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::IDeviceUnpairingResult>
{
@@ -1010,29 +1007,29 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_IDeviceWatcher
{
- WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformation> const& handler) const;
+ auto Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformation> const& handler) const;
using Added_revoker = impl::event_revoker<winrt::Windows::Devices::Enumeration::IDeviceWatcher, &impl::abi_t<winrt::Windows::Devices::Enumeration::IDeviceWatcher>::remove_Added>;
- [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformation> 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<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformationUpdate> const& handler) const;
+ [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformation> const& handler) const;
+ auto Added(winrt::event_token const& token) const noexcept;
+ auto Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformationUpdate> const& handler) const;
using Updated_revoker = impl::event_revoker<winrt::Windows::Devices::Enumeration::IDeviceWatcher, &impl::abi_t<winrt::Windows::Devices::Enumeration::IDeviceWatcher>::remove_Updated>;
- [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformationUpdate> 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<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformationUpdate> const& handler) const;
+ [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformationUpdate> const& handler) const;
+ auto Updated(winrt::event_token const& token) const noexcept;
+ auto Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformationUpdate> const& handler) const;
using Removed_revoker = impl::event_revoker<winrt::Windows::Devices::Enumeration::IDeviceWatcher, &impl::abi_t<winrt::Windows::Devices::Enumeration::IDeviceWatcher>::remove_Removed>;
- [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformationUpdate> 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<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Devices::Enumeration::DeviceInformationUpdate> const& handler) const;
+ auto Removed(winrt::event_token const& token) const noexcept;
+ auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using EnumerationCompleted_revoker = impl::event_revoker<winrt::Windows::Devices::Enumeration::IDeviceWatcher, &impl::abi_t<winrt::Windows::Devices::Enumeration::IDeviceWatcher>::remove_EnumerationCompleted>;
- [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto EnumerationCompleted(winrt::event_token const& token) const noexcept;
+ auto Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Stopped_revoker = impl::event_revoker<winrt::Windows::Devices::Enumeration::IDeviceWatcher, &impl::abi_t<winrt::Windows::Devices::Enumeration::IDeviceWatcher>::remove_Stopped>;
- [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Enumeration::DeviceWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Enumeration::IDeviceWatcher>
{
@@ -1041,7 +1038,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_IDeviceWatcher2
{
- WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::Background::DeviceWatcherTrigger) GetBackgroundTrigger(param::iterable<winrt::Windows::Devices::Enumeration::DeviceWatcherEventKind> const& requestedEventKinds) const;
+ auto GetBackgroundTrigger(param::iterable<winrt::Windows::Devices::Enumeration::DeviceWatcherEventKind> const& requestedEventKinds) const;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::IDeviceWatcher2>
{
@@ -1050,9 +1047,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Enumeration::IDeviceWatcherEvent>
{
@@ -1061,7 +1058,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_IDeviceWatcherTriggerDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Enumeration::DeviceWatcherEvent>) DeviceWatcherEvents() const;
+ [[nodiscard]] auto DeviceWatcherEvents() const;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::IDeviceWatcherTriggerDetails>
{
@@ -1070,9 +1067,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Enumeration::IEnclosureLocation>
{
@@ -1081,7 +1078,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_IEnclosureLocation2
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) RotationAngleInDegreesClockwise() const;
+ [[nodiscard]] auto RotationAngleInDegreesClockwise() const;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::IEnclosureLocation2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.1.h
index 446c8681ab4..c438f551912 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.2.h
index cb380a0140f..f6d277d24a7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.0.h
index a9ec6f4dd35..7e46912327b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Devices::Enumeration::Pnp
@@ -122,10 +120,10 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::Devices::Enumeration::Pnp::IPnpObject>
{
@@ -134,11 +132,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_Pnp_IPnpObjectStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::Pnp::PnpObject>) CreateFromIdAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::hstring const& id, param::async_iterable<hstring> const& requestedProperties) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectCollection>) FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable<hstring> const& requestedProperties) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectCollection>) FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable<hstring> 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<hstring> const& requestedProperties) const;
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher) CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable<hstring> const& requestedProperties, param::hstring const& aqsFilter) const;
+ auto CreateFromIdAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::hstring const& id, param::async_iterable<hstring> const& requestedProperties) const;
+ auto FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable<hstring> const& requestedProperties) const;
+ auto FindAllAsync(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::async_iterable<hstring> const& requestedProperties, param::hstring const& aqsFilter) const;
+ auto CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable<hstring> const& requestedProperties) const;
+ auto CreateWatcher(winrt::Windows::Devices::Enumeration::Pnp::PnpObjectType const& type, param::iterable<hstring> const& requestedProperties, param::hstring const& aqsFilter) const;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectStatics>
{
@@ -147,9 +145,9 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto Type() const;
+ [[nodiscard]] auto Id() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectUpdate>
{
@@ -158,29 +156,29 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Enumeration_Pnp_IPnpObjectWatcher
{
- WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObject> const& handler) const;
+ auto Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObject> const& handler) const;
using Added_revoker = impl::event_revoker<winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher, &impl::abi_t<winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher>::remove_Added>;
- [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObject> 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<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate> const& handler) const;
+ [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObject> const& handler) const;
+ auto Added(winrt::event_token const& token) const noexcept;
+ auto Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate> const& handler) const;
using Updated_revoker = impl::event_revoker<winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher, &impl::abi_t<winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher>::remove_Updated>;
- [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate> 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<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate> const& handler) const;
+ [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate> const& handler) const;
+ auto Updated(winrt::event_token const& token) const noexcept;
+ auto Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate> const& handler) const;
using Removed_revoker = impl::event_revoker<winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher, &impl::abi_t<winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher>::remove_Removed>;
- [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate> 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<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Devices::Enumeration::Pnp::PnpObjectUpdate> const& handler) const;
+ auto Removed(winrt::event_token const& token) const noexcept;
+ auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using EnumerationCompleted_revoker = impl::event_revoker<winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher, &impl::abi_t<winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher>::remove_EnumerationCompleted>;
- [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto EnumerationCompleted(winrt::event_token const& token) const noexcept;
+ auto Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Stopped_revoker = impl::event_revoker<winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher, &impl::abi_t<winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher>::remove_Stopped>;
- [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Enumeration::Pnp::PnpObjectWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Enumeration::Pnp::IPnpObjectWatcher>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.1.h
index 623f3e4a311..d3ce5c7cb74 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.2.h
index 650c60d74af..cac3505853f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Enumeration.Pnp.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.0.h
index fe2ab7610cc..3b58ff49bad 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Devices::Geolocation
{
@@ -572,11 +570,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::ICivicAddress>
{
@@ -585,11 +583,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::IGeoboundingBox>
{
@@ -598,9 +596,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::IGeoboundingBoxFactory>
{
@@ -609,9 +607,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeoboundingBoxStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem) const;
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::GeoboundingBox) TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem, uint32_t spatialReferenceId) const;
+ auto TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions) const;
+ auto TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem) const;
+ auto TryCompute(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeRefSystem, uint32_t spatialReferenceId) const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeoboundingBoxStatics>
{
@@ -620,8 +618,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::IGeocircle>
{
@@ -630,9 +628,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::IGeocircleFactory>
{
@@ -641,14 +639,14 @@ namespace winrt::impl
template <typename D>
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<double>) Altitude() const;
- [[nodiscard]] WINRT_IMPL_AUTO(double) Accuracy() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) AltitudeAccuracy() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) Heading() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) 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<winrt::Windows::Devices::Geolocation::IGeocoordinate>
{
@@ -657,9 +655,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) PositionDilutionOfPrecision() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) HorizontalDilutionOfPrecision() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) VerticalDilutionOfPrecision() const;
+ [[nodiscard]] auto PositionDilutionOfPrecision() const;
+ [[nodiscard]] auto HorizontalDilutionOfPrecision() const;
+ [[nodiscard]] auto VerticalDilutionOfPrecision() const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData>
{
@@ -668,8 +666,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeocoordinateSatelliteData2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) GeometricDilutionOfPrecision() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) TimeDilutionOfPrecision() const;
+ [[nodiscard]] auto GeometricDilutionOfPrecision() const;
+ [[nodiscard]] auto TimeDilutionOfPrecision() const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeocoordinateSatelliteData2>
{
@@ -678,7 +676,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeocoordinateWithPoint
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopoint) Point() const;
+ [[nodiscard]] auto Point() const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPoint>
{
@@ -687,8 +685,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPositionData>
{
@@ -697,7 +695,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeocoordinateWithPositionSourceTimestamp
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) PositionSourceTimestamp() const;
+ [[nodiscard]] auto PositionSourceTimestamp() const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeocoordinateWithPositionSourceTimestamp>
{
@@ -706,23 +704,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::Geoposition>) GetGeopositionAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::Geoposition>) 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<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::PositionChangedEventArgs> 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<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::PositionChangedEventArgs> const& handler) const;
using PositionChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Geolocation::IGeolocator, &impl::abi_t<winrt::Windows::Devices::Geolocation::IGeolocator>::remove_PositionChanged>;
- [[nodiscard]] PositionChanged_revoker PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::PositionChangedEventArgs> 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<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::StatusChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::PositionChangedEventArgs> const& handler) const;
+ auto PositionChanged(winrt::event_token const& token) const noexcept;
+ auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::StatusChangedEventArgs> const& handler) const;
using StatusChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Geolocation::IGeolocator, &impl::abi_t<winrt::Windows::Devices::Geolocation::IGeolocator>::remove_StatusChanged>;
- [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::StatusChangedEventArgs> 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<winrt::Windows::Devices::Geolocation::Geolocator, winrt::Windows::Devices::Geolocation::StatusChangedEventArgs> const& handler) const;
+ auto StatusChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeolocator>
{
@@ -731,7 +729,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeolocator2
{
- WINRT_IMPL_AUTO(void) AllowFallbackToConsentlessPositions() const;
+ auto AllowFallbackToConsentlessPositions() const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeolocator2>
{
@@ -740,9 +738,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeolocatorStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::GeolocationAccessStatus>) RequestAccessAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::Geoposition>>) GetGeopositionHistoryAsync(winrt::Windows::Foundation::DateTime const& startTime) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::Geoposition>>) 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<winrt::Windows::Devices::Geolocation::IGeolocatorStatics>
{
@@ -751,9 +749,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeolocatorStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDefaultGeopositionRecommended() const;
- WINRT_IMPL_AUTO(void) DefaultGeoposition(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Geolocation::BasicGeoposition>) DefaultGeoposition() const;
+ [[nodiscard]] auto IsDefaultGeopositionRecommended() const;
+ auto DefaultGeoposition(winrt::Windows::Foundation::IReference<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& value) const;
+ [[nodiscard]] auto DefaultGeoposition() const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeolocatorStatics2>
{
@@ -762,8 +760,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeolocatorWithScalarAccuracy
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) DesiredAccuracyInMeters() const;
- WINRT_IMPL_AUTO(void) DesiredAccuracyInMeters(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
+ [[nodiscard]] auto DesiredAccuracyInMeters() const;
+ auto DesiredAccuracyInMeters(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeolocatorWithScalarAccuracy>
{
@@ -772,7 +770,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeopath
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::BasicGeoposition>) Positions() const;
+ [[nodiscard]] auto Positions() const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeopath>
{
@@ -781,9 +779,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeopathFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) Create(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) CreateWithAltitudeReference(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const;
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geopath) CreateWithAltitudeReferenceAndSpatialReference(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const;
+ auto Create(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions) const;
+ auto CreateWithAltitudeReference(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem) const;
+ auto CreateWithAltitudeReferenceAndSpatialReference(param::iterable<winrt::Windows::Devices::Geolocation::BasicGeoposition> const& positions, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& altitudeReferenceSystem, uint32_t spatialReferenceId) const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeopathFactory>
{
@@ -792,7 +790,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeopoint
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::BasicGeoposition) Position() const;
+ [[nodiscard]] auto Position() const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeopoint>
{
@@ -801,9 +799,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::IGeopointFactory>
{
@@ -812,8 +810,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::IGeoposition>
{
@@ -822,7 +820,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeoposition2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::VenueData) VenueData() const;
+ [[nodiscard]] auto VenueData() const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeoposition2>
{
@@ -831,9 +829,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::IGeoshape>
{
@@ -842,9 +840,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::IGeovisit>
{
@@ -853,13 +851,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::GeovisitMonitor, winrt::Windows::Devices::Geolocation::GeovisitStateChangedEventArgs> 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<winrt::Windows::Devices::Geolocation::GeovisitMonitor, winrt::Windows::Devices::Geolocation::GeovisitStateChangedEventArgs> const& handler) const;
using VisitStateChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Geolocation::IGeovisitMonitor, &impl::abi_t<winrt::Windows::Devices::Geolocation::IGeovisitMonitor>::remove_VisitStateChanged>;
- [[nodiscard]] VisitStateChanged_revoker VisitStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::GeovisitMonitor, winrt::Windows::Devices::Geolocation::GeovisitStateChangedEventArgs> 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<winrt::Windows::Devices::Geolocation::GeovisitMonitor, winrt::Windows::Devices::Geolocation::GeovisitStateChangedEventArgs> const& handler) const;
+ auto VisitStateChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeovisitMonitor>
{
@@ -868,7 +866,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeovisitMonitorStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::Geovisit>) GetLastReportAsync() const;
+ auto GetLastReportAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeovisitMonitorStatics>
{
@@ -877,7 +875,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeovisitStateChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geovisit) Visit() const;
+ [[nodiscard]] auto Visit() const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeovisitStateChangedEventArgs>
{
@@ -886,7 +884,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IGeovisitTriggerDetails
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::Geovisit>) ReadReports() const;
+ auto ReadReports() const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IGeovisitTriggerDetails>
{
@@ -895,7 +893,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IPositionChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) Position() const;
+ [[nodiscard]] auto Position() const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IPositionChangedEventArgs>
{
@@ -904,7 +902,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Geolocation_IStatusChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::PositionStatus) Status() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::IStatusChangedEventArgs>
{
@@ -913,8 +911,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::IVenueData>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.1.h
index 01bcc8beaef..a9af1ee6061 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.2.h
index cb43c7c88c1..b048e4fc0d3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.0.h
index 02f29353e88..ed1af225e00 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<winrt::Windows::Devices::Geolocation::Geofencing::IGeofence>
{
@@ -163,10 +158,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceFactory>
{
@@ -175,18 +170,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::Geofencing::Geofence>) Geofences() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Geolocation::Geoposition) LastKnownGeoposition() const;
- WINRT_IMPL_AUTO(winrt::event_token) GeofenceStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto Geofences() const;
+ [[nodiscard]] auto LastKnownGeoposition() const;
+ auto GeofenceStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
using GeofenceStateChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor, &impl::abi_t<winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor>::remove_GeofenceStateChanged>;
- [[nodiscard]] GeofenceStateChanged_revoker GeofenceStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
- WINRT_IMPL_AUTO(void) GeofenceStateChanged(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceStateChangeReport>) ReadReports() const;
- WINRT_IMPL_AUTO(winrt::event_token) StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ [[nodiscard]] auto GeofenceStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ auto GeofenceStateChanged(winrt::event_token const& token) const noexcept;
+ auto ReadReports() const;
+ auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
using StatusChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor, &impl::abi_t<winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor>::remove_StatusChanged>;
- [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Geolocation::Geofencing::GeofenceMonitor, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ auto StatusChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitor>
{
@@ -195,7 +190,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceMonitorStatics>
{
@@ -204,10 +199,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::Geofencing::IGeofenceStateChangeReport>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.1.h
index fbf4d709d33..6a45de64eb9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.2.h
index d1697abac0b..17975c0c964 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Geolocation.Geofencing.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.0.h
index 0878cac8ff6..b4ceb6e2889 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<winrt::Windows::Devices::Gpio::IGpioChangeCounter>
{
@@ -253,7 +247,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Gpio::IGpioChangeCounterFactory>
{
@@ -262,20 +256,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Gpio::GpioChangeRecord>) 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<winrt::Windows::Devices::Gpio::IGpioChangeReader>
{
@@ -284,8 +278,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Gpio::IGpioChangeReaderFactory>
{
@@ -294,10 +288,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Gpio::IGpioController>
{
@@ -306,7 +300,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Gpio_IGpioControllerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioController) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Devices::Gpio::IGpioControllerStatics>
{
@@ -315,8 +309,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Gpio_IGpioControllerStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Gpio::GpioController>>) GetControllersAsync(winrt::Windows::Devices::Gpio::Provider::IGpioProvider const& provider) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Gpio::GpioController>) GetDefaultAsync() const;
+ auto GetControllersAsync(winrt::Windows::Devices::Gpio::Provider::IGpioProvider const& provider) const;
+ auto GetDefaultAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Gpio::IGpioControllerStatics2>
{
@@ -325,19 +319,19 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Gpio_IGpioPin
{
- WINRT_IMPL_AUTO(winrt::event_token) ValueChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Gpio::GpioPin, winrt::Windows::Devices::Gpio::GpioPinValueChangedEventArgs> const& handler) const;
+ auto ValueChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Gpio::GpioPin, winrt::Windows::Devices::Gpio::GpioPinValueChangedEventArgs> const& handler) const;
using ValueChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Gpio::IGpioPin, &impl::abi_t<winrt::Windows::Devices::Gpio::IGpioPin>::remove_ValueChanged>;
- [[nodiscard]] ValueChanged_revoker ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Gpio::GpioPin, winrt::Windows::Devices::Gpio::GpioPinValueChangedEventArgs> 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<winrt::Windows::Devices::Gpio::GpioPin, winrt::Windows::Devices::Gpio::GpioPinValueChangedEventArgs> 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<winrt::Windows::Devices::Gpio::IGpioPin>
{
@@ -346,7 +340,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Gpio_IGpioPinValueChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Gpio::GpioPinEdge) Edge() const;
+ [[nodiscard]] auto Edge() const;
};
template <> struct consume<winrt::Windows::Devices::Gpio::IGpioPinValueChangedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.1.h
index c62d9c79b61..d3200219322 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.2.h
index 1e0f9097639..bc5582e3f78 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.0.h
index c85de80b8ef..35887909286 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
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<winrt::Windows::Devices::Gpio::Provider::IGpioControllerProvider>
{
@@ -134,19 +130,19 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Gpio_Provider_IGpioPinProvider
{
- WINRT_IMPL_AUTO(winrt::event_token) ValueChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider, winrt::Windows::Devices::Gpio::Provider::GpioPinProviderValueChangedEventArgs> const& handler) const;
+ auto ValueChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider, winrt::Windows::Devices::Gpio::Provider::GpioPinProviderValueChangedEventArgs> const& handler) const;
using ValueChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider, &impl::abi_t<winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider>::remove_ValueChanged>;
- [[nodiscard]] ValueChanged_revoker ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider, winrt::Windows::Devices::Gpio::Provider::GpioPinProviderValueChangedEventArgs> 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<winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider, winrt::Windows::Devices::Gpio::Provider::GpioPinProviderValueChangedEventArgs> 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<winrt::Windows::Devices::Gpio::Provider::IGpioPinProvider>
{
@@ -155,7 +151,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Gpio::Provider::IGpioPinProviderValueChangedEventArgs>
{
@@ -164,7 +160,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Gpio::Provider::IGpioPinProviderValueChangedEventArgsFactory>
{
@@ -173,7 +169,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Gpio_Provider_IGpioProvider
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Gpio::Provider::IGpioControllerProvider>) GetControllers() const;
+ auto GetControllers() const;
};
template <> struct consume<winrt::Windows::Devices::Gpio::Provider::IGpioProvider>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.1.h
index 4b60be08318..53fcd9a6864 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.2.h
index 850c83f8c42..3e36a85c969 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Gpio.Provider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.0.h
index 92411865c60..3ce6a2530e9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Devices::Haptics
{
@@ -118,11 +113,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Haptics::IKnownSimpleHapticsControllerWaveformsStatics>
{
@@ -131,17 +126,17 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Haptics_ISimpleHapticsController
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Haptics::SimpleHapticsControllerFeedback>) 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<winrt::Windows::Devices::Haptics::ISimpleHapticsController>
{
@@ -150,8 +145,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Haptics::ISimpleHapticsControllerFeedback>
{
@@ -160,8 +155,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Haptics::IVibrationDevice>
{
@@ -170,11 +165,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Haptics_IVibrationDeviceStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Haptics::VibrationAccessStatus>) RequestAccessAsync() const;
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Haptics::VibrationDevice>) FromIdAsync(param::hstring const& deviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Haptics::VibrationDevice>) GetDefaultAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Haptics::VibrationDevice>>) FindAllAsync() const;
+ auto RequestAccessAsync() const;
+ auto GetDeviceSelector() const;
+ auto FromIdAsync(param::hstring const& deviceId) const;
+ auto GetDefaultAsync() const;
+ auto FindAllAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Haptics::IVibrationDeviceStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.1.h
index afcfbb3d226..52be07ca03b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.2.h
index 25efc314d5c..7f5253408b0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Haptics.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.0.h
index 0ed5e40199f..4c705c427d5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Storage
{
enum class FileAccessMode : int32_t;
@@ -297,12 +292,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControl>
{
@@ -311,12 +306,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::HumanInterfaceDevice::HidCollection>) 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<winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription>
{
@@ -325,7 +320,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_HumanInterfaceDevice_IHidBooleanControlDescription2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAbsolute() const;
+ [[nodiscard]] auto IsAbsolute() const;
};
template <> struct consume<winrt::Windows::Devices::HumanInterfaceDevice::IHidBooleanControlDescription2>
{
@@ -334,10 +329,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::HumanInterfaceDevice::IHidCollection>
{
@@ -346,27 +341,27 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::HumanInterfaceDevice::HidInputReport>) GetInputReportAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::HumanInterfaceDevice::HidInputReport>) GetInputReportAsync(uint16_t reportId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport>) GetFeatureReportAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport>) 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<uint32_t>) SendOutputReportAsync(winrt::Windows::Devices::HumanInterfaceDevice::HidOutputReport const& outputReport) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) SendFeatureReportAsync(winrt::Windows::Devices::HumanInterfaceDevice::HidFeatureReport const& featureReport) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription>) GetBooleanControlDescriptions(winrt::Windows::Devices::HumanInterfaceDevice::HidReportType const& reportType, uint16_t usagePage, uint16_t usageId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription>) 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<winrt::Windows::Devices::HumanInterfaceDevice::HidDevice, winrt::Windows::Devices::HumanInterfaceDevice::HidInputReportReceivedEventArgs> 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<winrt::Windows::Devices::HumanInterfaceDevice::HidDevice, winrt::Windows::Devices::HumanInterfaceDevice::HidInputReportReceivedEventArgs> const& reportHandler) const;
using InputReportReceived_revoker = impl::event_revoker<winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice, &impl::abi_t<winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice>::remove_InputReportReceived>;
- [[nodiscard]] InputReportReceived_revoker InputReportReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::HumanInterfaceDevice::HidDevice, winrt::Windows::Devices::HumanInterfaceDevice::HidInputReportReceivedEventArgs> 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<winrt::Windows::Devices::HumanInterfaceDevice::HidDevice, winrt::Windows::Devices::HumanInterfaceDevice::HidInputReportReceivedEventArgs> const& reportHandler) const;
+ auto InputReportReceived(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::HumanInterfaceDevice::IHidDevice>
{
@@ -375,9 +370,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::HumanInterfaceDevice::HidDevice>) 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<winrt::Windows::Devices::HumanInterfaceDevice::IHidDeviceStatics>
{
@@ -386,13 +381,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::HumanInterfaceDevice::IHidFeatureReport>
{
@@ -401,14 +396,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl>) ActivatedBooleanControls() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControl>) 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<winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReport>
{
@@ -417,7 +412,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_HumanInterfaceDevice_IHidInputReportReceivedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::HumanInterfaceDevice::HidInputReport) Report() const;
+ [[nodiscard]] auto Report() const;
};
template <> struct consume<winrt::Windows::Devices::HumanInterfaceDevice::IHidInputReportReceivedEventArgs>
{
@@ -426,15 +421,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControl>
{
@@ -443,22 +438,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::HumanInterfaceDevice::HidCollection>) 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<winrt::Windows::Devices::HumanInterfaceDevice::IHidNumericControlDescription>
{
@@ -467,13 +462,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::HumanInterfaceDevice::IHidOutputReport>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.1.h
index 6a6245b6c68..471a2811d9d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.2.h
index 05cdf29ffb6..3b35f0cc20f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.HumanInterfaceDevice.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.0.h
index 8459c632abe..9a7125fe19e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
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<winrt::Windows::Devices::I2c::II2cConnectionSettings>
{
@@ -157,7 +149,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::I2c::II2cConnectionSettingsFactory>
{
@@ -166,7 +158,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::I2c::II2cController>
{
@@ -175,8 +167,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_I2c_II2cControllerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::I2c::I2cController>>) GetControllersAsync(winrt::Windows::Devices::I2c::Provider::II2cProvider const& provider) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::I2c::I2cController>) GetDefaultAsync() const;
+ auto GetControllersAsync(winrt::Windows::Devices::I2c::Provider::II2cProvider const& provider) const;
+ auto GetDefaultAsync() const;
};
template <> struct consume<winrt::Windows::Devices::I2c::II2cControllerStatics>
{
@@ -185,14 +177,14 @@ namespace winrt::impl
template <typename D>
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<uint8_t const> buffer) const;
- WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cTransferResult) WritePartial(array_view<uint8_t const> buffer) const;
- WINRT_IMPL_AUTO(void) Read(array_view<uint8_t> buffer) const;
- WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cTransferResult) ReadPartial(array_view<uint8_t> buffer) const;
- WINRT_IMPL_AUTO(void) WriteRead(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const;
- WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::I2cTransferResult) WriteReadPartial(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const;
+ [[nodiscard]] auto DeviceId() const;
+ [[nodiscard]] auto ConnectionSettings() const;
+ auto Write(array_view<uint8_t const> buffer) const;
+ auto WritePartial(array_view<uint8_t const> buffer) const;
+ auto Read(array_view<uint8_t> buffer) const;
+ auto ReadPartial(array_view<uint8_t> buffer) const;
+ auto WriteRead(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const;
+ auto WriteReadPartial(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const;
};
template <> struct consume<winrt::Windows::Devices::I2c::II2cDevice>
{
@@ -201,9 +193,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::I2c::I2cDevice>) 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<winrt::Windows::Devices::I2c::II2cDeviceStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.1.h
index 3e4adb658d7..16f3206a9d1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.2.h
index 03b5bb790ea..3d350702236 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.0.h
index d6d52cd62b2..909d7a19740 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
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<winrt::Windows::Devices::I2c::Provider::II2cControllerProvider>
{
@@ -112,13 +104,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_I2c_Provider_II2cDeviceProvider
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
- WINRT_IMPL_AUTO(void) Write(array_view<uint8_t const> buffer) const;
- WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cTransferResult) WritePartial(array_view<uint8_t const> buffer) const;
- WINRT_IMPL_AUTO(void) Read(array_view<uint8_t> buffer) const;
- WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cTransferResult) ReadPartial(array_view<uint8_t> buffer) const;
- WINRT_IMPL_AUTO(void) WriteRead(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const;
- WINRT_IMPL_AUTO(winrt::Windows::Devices::I2c::Provider::ProviderI2cTransferResult) WriteReadPartial(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const;
+ [[nodiscard]] auto DeviceId() const;
+ auto Write(array_view<uint8_t const> buffer) const;
+ auto WritePartial(array_view<uint8_t const> buffer) const;
+ auto Read(array_view<uint8_t> buffer) const;
+ auto ReadPartial(array_view<uint8_t> buffer) const;
+ auto WriteRead(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const;
+ auto WriteReadPartial(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const;
};
template <> struct consume<winrt::Windows::Devices::I2c::Provider::II2cDeviceProvider>
{
@@ -127,7 +119,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_I2c_Provider_II2cProvider
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::I2c::Provider::II2cControllerProvider>>) GetControllersAsync() const;
+ auto GetControllersAsync() const;
};
template <> struct consume<winrt::Windows::Devices::I2c::Provider::II2cProvider>
{
@@ -136,12 +128,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::I2c::Provider::IProviderI2cConnectionSettings>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.1.h
index 0bcd90303a8..8c780cc3bbf 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.2.h
index e5ede00df40..235bee6cdf2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.I2c.Provider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.0.h
index 9d930cf1199..9070d9d6034 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
struct consume_Windows_Devices_Input_IKeyboardCapabilities
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) KeyboardPresent() const;
+ [[nodiscard]] auto KeyboardPresent() const;
};
template <> struct consume<winrt::Windows::Devices::Input::IKeyboardCapabilities>
{
@@ -341,11 +337,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Input::IMouseCapabilities>
{
@@ -354,10 +350,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Input_IMouseDevice
{
- WINRT_IMPL_AUTO(winrt::event_token) MouseMoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::MouseDevice, winrt::Windows::Devices::Input::MouseEventArgs> const& handler) const;
+ auto MouseMoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::MouseDevice, winrt::Windows::Devices::Input::MouseEventArgs> const& handler) const;
using MouseMoved_revoker = impl::event_revoker<winrt::Windows::Devices::Input::IMouseDevice, &impl::abi_t<winrt::Windows::Devices::Input::IMouseDevice>::remove_MouseMoved>;
- [[nodiscard]] MouseMoved_revoker MouseMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::MouseDevice, winrt::Windows::Devices::Input::MouseEventArgs> 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<winrt::Windows::Devices::Input::MouseDevice, winrt::Windows::Devices::Input::MouseEventArgs> const& handler) const;
+ auto MouseMoved(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Input::IMouseDevice>
{
@@ -366,7 +362,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Input_IMouseDeviceStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::MouseDevice) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::Devices::Input::IMouseDeviceStatics>
{
@@ -375,7 +371,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Input_IMouseEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::MouseDelta) MouseDelta() const;
+ [[nodiscard]] auto MouseDelta() const;
};
template <> struct consume<winrt::Windows::Devices::Input::IMouseEventArgs>
{
@@ -384,23 +380,23 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Input_IPenButtonListener
{
- WINRT_IMPL_AUTO(bool) IsSupported() const;
- WINRT_IMPL_AUTO(winrt::event_token) IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto IsSupported() const;
+ auto IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Foundation::IInspectable> const& handler) const;
using IsSupportedChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Input::IPenButtonListener, &impl::abi_t<winrt::Windows::Devices::Input::IPenButtonListener>::remove_IsSupportedChanged>;
- [[nodiscard]] IsSupportedChanged_revoker IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonClickedEventArgs> const& handler) const;
+ [[nodiscard]] auto IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto IsSupportedChanged(winrt::event_token const& token) const noexcept;
+ auto TailButtonClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonClickedEventArgs> const& handler) const;
using TailButtonClicked_revoker = impl::event_revoker<winrt::Windows::Devices::Input::IPenButtonListener, &impl::abi_t<winrt::Windows::Devices::Input::IPenButtonListener>::remove_TailButtonClicked>;
- [[nodiscard]] TailButtonClicked_revoker TailButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonClickedEventArgs> 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<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonDoubleClickedEventArgs> const& handler) const;
+ [[nodiscard]] auto TailButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonClickedEventArgs> const& handler) const;
+ auto TailButtonClicked(winrt::event_token const& token) const noexcept;
+ auto TailButtonDoubleClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonDoubleClickedEventArgs> const& handler) const;
using TailButtonDoubleClicked_revoker = impl::event_revoker<winrt::Windows::Devices::Input::IPenButtonListener, &impl::abi_t<winrt::Windows::Devices::Input::IPenButtonListener>::remove_TailButtonDoubleClicked>;
- [[nodiscard]] TailButtonDoubleClicked_revoker TailButtonDoubleClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonDoubleClickedEventArgs> 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<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonLongPressedEventArgs> const& handler) const;
+ [[nodiscard]] auto TailButtonDoubleClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonDoubleClickedEventArgs> const& handler) const;
+ auto TailButtonDoubleClicked(winrt::event_token const& token) const noexcept;
+ auto TailButtonLongPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonLongPressedEventArgs> const& handler) const;
using TailButtonLongPressed_revoker = impl::event_revoker<winrt::Windows::Devices::Input::IPenButtonListener, &impl::abi_t<winrt::Windows::Devices::Input::IPenButtonListener>::remove_TailButtonLongPressed>;
- [[nodiscard]] TailButtonLongPressed_revoker TailButtonLongPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonLongPressedEventArgs> 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<winrt::Windows::Devices::Input::PenButtonListener, winrt::Windows::Devices::Input::PenTailButtonLongPressedEventArgs> const& handler) const;
+ auto TailButtonLongPressed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Input::IPenButtonListener>
{
@@ -409,7 +405,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Input_IPenButtonListenerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PenButtonListener) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Devices::Input::IPenButtonListenerStatics>
{
@@ -418,7 +414,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Input_IPenDevice
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) PenId() const;
+ [[nodiscard]] auto PenId() const;
};
template <> struct consume<winrt::Windows::Devices::Input::IPenDevice>
{
@@ -427,7 +423,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Input::IPenDeviceStatics>
{
@@ -436,19 +432,19 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Input_IPenDockListener
{
- WINRT_IMPL_AUTO(bool) IsSupported() const;
- WINRT_IMPL_AUTO(winrt::event_token) IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto IsSupported() const;
+ auto IsSupportedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Foundation::IInspectable> const& handler) const;
using IsSupportedChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Input::IPenDockListener, &impl::abi_t<winrt::Windows::Devices::Input::IPenDockListener>::remove_IsSupportedChanged>;
- [[nodiscard]] IsSupportedChanged_revoker IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Devices::Input::PenDockedEventArgs> const& handler) const;
+ [[nodiscard]] auto IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto IsSupportedChanged(winrt::event_token const& token) const noexcept;
+ auto Docked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Devices::Input::PenDockedEventArgs> const& handler) const;
using Docked_revoker = impl::event_revoker<winrt::Windows::Devices::Input::IPenDockListener, &impl::abi_t<winrt::Windows::Devices::Input::IPenDockListener>::remove_Docked>;
- [[nodiscard]] Docked_revoker Docked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Devices::Input::PenDockedEventArgs> 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<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Devices::Input::PenUndockedEventArgs> const& handler) const;
+ [[nodiscard]] auto Docked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Devices::Input::PenDockedEventArgs> const& handler) const;
+ auto Docked(winrt::event_token const& token) const noexcept;
+ auto Undocked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Devices::Input::PenUndockedEventArgs> const& handler) const;
using Undocked_revoker = impl::event_revoker<winrt::Windows::Devices::Input::IPenDockListener, &impl::abi_t<winrt::Windows::Devices::Input::IPenDockListener>::remove_Undocked>;
- [[nodiscard]] Undocked_revoker Undocked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Devices::Input::PenUndockedEventArgs> 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<winrt::Windows::Devices::Input::PenDockListener, winrt::Windows::Devices::Input::PenUndockedEventArgs> const& handler) const;
+ auto Undocked(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Input::IPenDockListener>
{
@@ -457,7 +453,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Input_IPenDockListenerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Input::PenDockListener) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Devices::Input::IPenDockListenerStatics>
{
@@ -506,12 +502,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Input::PointerDeviceUsage>) 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<winrt::Windows::Devices::Input::IPointerDevice>
{
@@ -520,7 +516,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Input_IPointerDevice2
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxPointersWithZDistance() const;
+ [[nodiscard]] auto MaxPointersWithZDistance() const;
};
template <> struct consume<winrt::Windows::Devices::Input::IPointerDevice2>
{
@@ -529,8 +525,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Input::PointerDevice>) GetPointerDevices() const;
+ auto GetPointerDevice(uint32_t pointerId) const;
+ auto GetPointerDevices() const;
};
template <> struct consume<winrt::Windows::Devices::Input::IPointerDeviceStatics>
{
@@ -539,8 +535,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Input::ITouchCapabilities>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.1.h
index 5f1fa18873e..329ece496b7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.2.h
index b3e27284f88..484d15eaedc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.0.h
index e0d0a3308d7..37d381dea43 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
- struct Point;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<bool>) RequestCalibrationAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidNumericControlDescription>) GetNumericControlDescriptions(uint16_t usagePage, uint16_t usageId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::HumanInterfaceDevice::HidBooleanControlDescription>) 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<winrt::Windows::Devices::Input::Preview::IGazeDevicePreview>
{
@@ -248,7 +238,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherAddedPreviewEventArgs>
{
@@ -257,24 +247,24 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Input_Preview_IGazeDeviceWatcherPreview
{
- WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherAddedPreviewEventArgs> const& handler) const;
+ auto Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherAddedPreviewEventArgs> const& handler) const;
using Added_revoker = impl::event_revoker<winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview, &impl::abi_t<winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview>::remove_Added>;
- [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherAddedPreviewEventArgs> 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<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherRemovedPreviewEventArgs> const& handler) const;
+ [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherAddedPreviewEventArgs> const& handler) const;
+ auto Added(winrt::event_token const& token) const noexcept;
+ auto Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherRemovedPreviewEventArgs> const& handler) const;
using Removed_revoker = impl::event_revoker<winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview, &impl::abi_t<winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview>::remove_Removed>;
- [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherRemovedPreviewEventArgs> 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<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherUpdatedPreviewEventArgs> const& handler) const;
+ [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherRemovedPreviewEventArgs> const& handler) const;
+ auto Removed(winrt::event_token const& token) const noexcept;
+ auto Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherUpdatedPreviewEventArgs> const& handler) const;
using Updated_revoker = impl::event_revoker<winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview, &impl::abi_t<winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview>::remove_Updated>;
- [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherUpdatedPreviewEventArgs> 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<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherUpdatedPreviewEventArgs> const& handler) const;
+ auto Updated(winrt::event_token const& token) const noexcept;
+ auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Foundation::IInspectable> const& handler) const;
using EnumerationCompleted_revoker = impl::event_revoker<winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview, &impl::abi_t<winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview>::remove_EnumerationCompleted>;
- [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Input::Preview::GazeDeviceWatcherPreview, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto EnumerationCompleted(winrt::event_token const& token) const noexcept;
+ auto Start() const;
+ auto Stop() const;
};
template <> struct consume<winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherPreview>
{
@@ -283,7 +273,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherRemovedPreviewEventArgs>
{
@@ -292,7 +282,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Input::Preview::IGazeDeviceWatcherUpdatedPreviewEventArgs>
{
@@ -301,9 +291,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Input::Preview::IGazeEnteredPreviewEventArgs>
{
@@ -312,9 +302,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Input::Preview::IGazeExitedPreviewEventArgs>
{
@@ -323,18 +313,18 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Input_Preview_IGazeInputSourcePreview
{
- WINRT_IMPL_AUTO(winrt::event_token) GazeMoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeMovedPreviewEventArgs> const& handler) const;
+ auto GazeMoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeMovedPreviewEventArgs> const& handler) const;
using GazeMoved_revoker = impl::event_revoker<winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview, &impl::abi_t<winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview>::remove_GazeMoved>;
- [[nodiscard]] GazeMoved_revoker GazeMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeMovedPreviewEventArgs> 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<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeEnteredPreviewEventArgs> const& handler) const;
+ [[nodiscard]] auto GazeMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeMovedPreviewEventArgs> const& handler) const;
+ auto GazeMoved(winrt::event_token const& token) const noexcept;
+ auto GazeEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeEnteredPreviewEventArgs> const& handler) const;
using GazeEntered_revoker = impl::event_revoker<winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview, &impl::abi_t<winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview>::remove_GazeEntered>;
- [[nodiscard]] GazeEntered_revoker GazeEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeEnteredPreviewEventArgs> 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<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeExitedPreviewEventArgs> const& handler) const;
+ [[nodiscard]] auto GazeEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeEnteredPreviewEventArgs> const& handler) const;
+ auto GazeEntered(winrt::event_token const& token) const noexcept;
+ auto GazeExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeExitedPreviewEventArgs> const& handler) const;
using GazeExited_revoker = impl::event_revoker<winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview, &impl::abi_t<winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview>::remove_GazeExited>;
- [[nodiscard]] GazeExited_revoker GazeExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeExitedPreviewEventArgs> 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<winrt::Windows::Devices::Input::Preview::GazeInputSourcePreview, winrt::Windows::Devices::Input::Preview::GazeExitedPreviewEventArgs> const& handler) const;
+ auto GazeExited(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreview>
{
@@ -343,8 +333,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Input::Preview::IGazeInputSourcePreviewStatics>
{
@@ -353,10 +343,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Input::Preview::GazePointPreview>) GetIntermediatePoints() const;
+ [[nodiscard]] auto Handled() const;
+ auto Handled(bool value) const;
+ [[nodiscard]] auto CurrentPoint() const;
+ auto GetIntermediatePoints() const;
};
template <> struct consume<winrt::Windows::Devices::Input::Preview::IGazeMovedPreviewEventArgs>
{
@@ -365,11 +355,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Point>) EyeGazePosition() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>) 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<winrt::Windows::Devices::Input::Preview::IGazePointPreview>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.1.h
index 2b7199cd635..f875a02aef1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.2.h
index f35f9ecdf93..5b8dbb56b0a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Input.Preview.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.0.h
index 2f974cd367b..a439ba89689 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics
@@ -190,18 +188,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Lights::Lamp, winrt::Windows::Devices::Lights::LampAvailabilityChangedEventArgs> 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<winrt::Windows::Devices::Lights::Lamp, winrt::Windows::Devices::Lights::LampAvailabilityChangedEventArgs> const& handler) const;
using AvailabilityChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Lights::ILamp, &impl::abi_t<winrt::Windows::Devices::Lights::ILamp>::remove_AvailabilityChanged>;
- [[nodiscard]] AvailabilityChanged_revoker AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Lights::Lamp, winrt::Windows::Devices::Lights::LampAvailabilityChangedEventArgs> 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<winrt::Windows::Devices::Lights::Lamp, winrt::Windows::Devices::Lights::LampAvailabilityChangedEventArgs> const& handler) const;
+ auto AvailabilityChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Lights::ILamp>
{
@@ -210,32 +208,32 @@ namespace winrt::impl
template <typename D>
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<int32_t>) GetIndicesForKey(winrt::Windows::System::VirtualKey const& key) const;
- WINRT_IMPL_AUTO(com_array<int32_t>) 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<int32_t const> lampIndexes) const;
- WINRT_IMPL_AUTO(void) SetColorsForIndices(array_view<winrt::Windows::UI::Color const> desiredColors, array_view<int32_t const> 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<winrt::Windows::UI::Color const> desiredColors, array_view<winrt::Windows::System::VirtualKey const> 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<winrt::Windows::Storage::Streams::IBuffer>) 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<int32_t const> lampIndexes) const;
+ auto SetColorsForIndices(array_view<winrt::Windows::UI::Color const> desiredColors, array_view<int32_t const> lampIndexes) const;
+ auto SetColorsForKey(winrt::Windows::UI::Color const& desiredColor, winrt::Windows::System::VirtualKey const& key) const;
+ auto SetColorsForKeys(array_view<winrt::Windows::UI::Color const> desiredColors, array_view<winrt::Windows::System::VirtualKey const> 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<winrt::Windows::Devices::Lights::ILampArray>
{
@@ -244,8 +242,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Lights_ILampArrayStatics
{
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Lights::LampArray>) FromIdAsync(param::hstring const& deviceId) const;
+ auto GetDeviceSelector() const;
+ auto FromIdAsync(param::hstring const& deviceId) const;
};
template <> struct consume<winrt::Windows::Devices::Lights::ILampArrayStatics>
{
@@ -254,7 +252,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Lights_ILampAvailabilityChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAvailable() const;
+ [[nodiscard]] auto IsAvailable() const;
};
template <> struct consume<winrt::Windows::Devices::Lights::ILampAvailabilityChangedEventArgs>
{
@@ -263,16 +261,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Color>) 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<winrt::Windows::Devices::Lights::ILampInfo>
{
@@ -281,9 +279,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Lights_ILampStatics
{
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Lights::Lamp>) FromIdAsync(param::hstring const& deviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Lights::Lamp>) GetDefaultAsync() const;
+ auto GetDeviceSelector() const;
+ auto FromIdAsync(param::hstring const& deviceId) const;
+ auto GetDefaultAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Lights::ILampStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.1.h
index 5aee5ecebef..76bc72a83e3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.2.h
index 42fa35b5ac9..df41ea205a1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.0.h
index e5c09d9703b..5366676a585 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Devices::Lights::Effects::LampArrayBitmapEffect, winrt::Windows::Devices::Lights::Effects::LampArrayBitmapRequestedEventArgs> 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<winrt::Windows::Devices::Lights::Effects::LampArrayBitmapEffect, winrt::Windows::Devices::Lights::Effects::LampArrayBitmapRequestedEventArgs> const& handler) const;
using BitmapRequested_revoker = impl::event_revoker<winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect, &impl::abi_t<winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect>::remove_BitmapRequested>;
- [[nodiscard]] BitmapRequested_revoker BitmapRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Lights::Effects::LampArrayBitmapEffect, winrt::Windows::Devices::Lights::Effects::LampArrayBitmapRequestedEventArgs> 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<winrt::Windows::Devices::Lights::Effects::LampArrayBitmapEffect, winrt::Windows::Devices::Lights::Effects::LampArrayBitmapRequestedEventArgs> const& handler) const;
+ auto BitmapRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffect>
{
@@ -330,7 +330,7 @@ namespace winrt::impl
template <typename D>
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<int32_t const> lampIndexes) const;
+ auto CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view<int32_t const> lampIndexes) const;
};
template <> struct consume<winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapEffectFactory>
{
@@ -339,8 +339,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Lights::Effects::ILampArrayBitmapRequestedEventArgs>
{
@@ -349,22 +349,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffect>
{
@@ -373,7 +373,7 @@ namespace winrt::impl
template <typename D>
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<int32_t const> lampIndexes) const;
+ auto CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view<int32_t const> lampIndexes) const;
};
template <> struct consume<winrt::Windows::Devices::Lights::Effects::ILampArrayBlinkEffectFactory>
{
@@ -382,14 +382,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffect>
{
@@ -398,7 +398,7 @@ namespace winrt::impl
template <typename D>
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<int32_t const> lampIndexes) const;
+ auto CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view<int32_t const> lampIndexes) const;
};
template <> struct consume<winrt::Windows::Devices::Lights::Effects::ILampArrayColorRampEffectFactory>
{
@@ -407,14 +407,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Lights::Effects::LampArrayCustomEffect, winrt::Windows::Devices::Lights::Effects::LampArrayUpdateRequestedEventArgs> 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<winrt::Windows::Devices::Lights::Effects::LampArrayCustomEffect, winrt::Windows::Devices::Lights::Effects::LampArrayUpdateRequestedEventArgs> const& handler) const;
using UpdateRequested_revoker = impl::event_revoker<winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect, &impl::abi_t<winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect>::remove_UpdateRequested>;
- [[nodiscard]] UpdateRequested_revoker UpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Lights::Effects::LampArrayCustomEffect, winrt::Windows::Devices::Lights::Effects::LampArrayUpdateRequestedEventArgs> 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<winrt::Windows::Devices::Lights::Effects::LampArrayCustomEffect, winrt::Windows::Devices::Lights::Effects::LampArrayUpdateRequestedEventArgs> const& handler) const;
+ auto UpdateRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffect>
{
@@ -423,7 +423,7 @@ namespace winrt::impl
template <typename D>
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<int32_t const> lampIndexes) const;
+ auto CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view<int32_t const> lampIndexes) const;
};
template <> struct consume<winrt::Windows::Devices::Lights::Effects::ILampArrayCustomEffectFactory>
{
@@ -432,8 +432,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Lights::Effects::ILampArrayEffect>
{
@@ -442,17 +442,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylist>
{
@@ -461,9 +461,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Lights_Effects_ILampArrayEffectPlaylistStatics
{
- WINRT_IMPL_AUTO(void) StartAll(param::iterable<winrt::Windows::Devices::Lights::Effects::LampArrayEffectPlaylist> const& value) const;
- WINRT_IMPL_AUTO(void) StopAll(param::iterable<winrt::Windows::Devices::Lights::Effects::LampArrayEffectPlaylist> const& value) const;
- WINRT_IMPL_AUTO(void) PauseAll(param::iterable<winrt::Windows::Devices::Lights::Effects::LampArrayEffectPlaylist> const& value) const;
+ auto StartAll(param::iterable<winrt::Windows::Devices::Lights::Effects::LampArrayEffectPlaylist> const& value) const;
+ auto StopAll(param::iterable<winrt::Windows::Devices::Lights::Effects::LampArrayEffectPlaylist> const& value) const;
+ auto PauseAll(param::iterable<winrt::Windows::Devices::Lights::Effects::LampArrayEffectPlaylist> const& value) const;
};
template <> struct consume<winrt::Windows::Devices::Lights::Effects::ILampArrayEffectPlaylistStatics>
{
@@ -472,14 +472,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffect>
{
@@ -488,7 +488,7 @@ namespace winrt::impl
template <typename D>
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<int32_t const> lampIndexes) const;
+ auto CreateInstance(winrt::Windows::Devices::Lights::LampArray const& lampArray, array_view<int32_t const> lampIndexes) const;
};
template <> struct consume<winrt::Windows::Devices::Lights::Effects::ILampArraySolidEffectFactory>
{
@@ -497,11 +497,11 @@ namespace winrt::impl
template <typename D>
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<int32_t const> lampIndexes) const;
- WINRT_IMPL_AUTO(void) SetColorsForIndices(array_view<winrt::Windows::UI::Color const> desiredColors, array_view<int32_t const> 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<int32_t const> lampIndexes) const;
+ auto SetColorsForIndices(array_view<winrt::Windows::UI::Color const> desiredColors, array_view<int32_t const> lampIndexes) const;
};
template <> struct consume<winrt::Windows::Devices::Lights::Effects::ILampArrayUpdateRequestedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.1.h
index 674970d23c5..245ddb39cfe 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.2.h
index b12f76f027a..3783620932c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Lights.Effects.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.0.h
index 490f868ed23..94ee331197e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
@@ -481,8 +480,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiChannelPressureMessage>
{
@@ -491,7 +490,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiChannelPressureMessageFactory>
{
@@ -500,9 +499,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiControlChangeMessage>
{
@@ -511,7 +510,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiControlChangeMessageFactory>
{
@@ -520,11 +519,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Midi_IMidiInPort
{
- WINRT_IMPL_AUTO(winrt::event_token) MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Midi::MidiInPort, winrt::Windows::Devices::Midi::MidiMessageReceivedEventArgs> const& handler) const;
+ auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Midi::MidiInPort, winrt::Windows::Devices::Midi::MidiMessageReceivedEventArgs> const& handler) const;
using MessageReceived_revoker = impl::event_revoker<winrt::Windows::Devices::Midi::IMidiInPort, &impl::abi_t<winrt::Windows::Devices::Midi::IMidiInPort>::remove_MessageReceived>;
- [[nodiscard]] MessageReceived_revoker MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Midi::MidiInPort, winrt::Windows::Devices::Midi::MidiMessageReceivedEventArgs> 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<winrt::Windows::Devices::Midi::MidiInPort, winrt::Windows::Devices::Midi::MidiMessageReceivedEventArgs> const& handler) const;
+ auto MessageReceived(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto DeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::Midi::IMidiInPort>
{
@@ -533,8 +532,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Midi_IMidiInPortStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Midi::MidiInPort>) 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<winrt::Windows::Devices::Midi::IMidiInPortStatics>
{
@@ -543,9 +542,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiMessage>
{
@@ -554,7 +553,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Midi_IMidiMessageReceivedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Midi::IMidiMessage) Message() const;
+ [[nodiscard]] auto Message() const;
};
template <> struct consume<winrt::Windows::Devices::Midi::IMidiMessageReceivedEventArgs>
{
@@ -563,9 +562,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiNoteOffMessage>
{
@@ -574,7 +573,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiNoteOffMessageFactory>
{
@@ -583,9 +582,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiNoteOnMessage>
{
@@ -594,7 +593,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiNoteOnMessageFactory>
{
@@ -603,9 +602,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiOutPort>
{
@@ -614,8 +613,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Midi_IMidiOutPortStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Midi::IMidiOutPort>) 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<winrt::Windows::Devices::Midi::IMidiOutPortStatics>
{
@@ -624,8 +623,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiPitchBendChangeMessage>
{
@@ -634,7 +633,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiPitchBendChangeMessageFactory>
{
@@ -643,9 +642,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiPolyphonicKeyPressureMessage>
{
@@ -654,7 +653,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiPolyphonicKeyPressureMessageFactory>
{
@@ -663,8 +662,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiProgramChangeMessage>
{
@@ -673,7 +672,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiProgramChangeMessageFactory>
{
@@ -682,7 +681,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Midi_IMidiSongPositionPointerMessage
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) Beats() const;
+ [[nodiscard]] auto Beats() const;
};
template <> struct consume<winrt::Windows::Devices::Midi::IMidiSongPositionPointerMessage>
{
@@ -691,7 +690,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiSongPositionPointerMessageFactory>
{
@@ -700,7 +699,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Midi_IMidiSongSelectMessage
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) Song() const;
+ [[nodiscard]] auto Song() const;
};
template <> struct consume<winrt::Windows::Devices::Midi::IMidiSongSelectMessage>
{
@@ -709,7 +708,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiSongSelectMessageFactory>
{
@@ -718,9 +717,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiSynthesizer>
{
@@ -729,9 +728,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Midi_IMidiSynthesizerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Midi::MidiSynthesizer>) CreateAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Midi::MidiSynthesizer>) 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<winrt::Windows::Devices::Midi::IMidiSynthesizerStatics>
{
@@ -740,7 +739,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiSystemExclusiveMessageFactory>
{
@@ -749,8 +748,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiTimeCodeMessage>
{
@@ -759,7 +758,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Midi::IMidiTimeCodeMessageFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.1.h
index a963b55e21c..53934c775be 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.2.h
index df20bd75fc7..d1003907228 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Midi.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.0.h
index 7a34a35352d..032eb388d52 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Point;
struct Rect;
template <typename TSender, typename TResult> 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 <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics
{
@@ -826,10 +823,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::IKnownCameraIntrinsicsPropertiesStatics>
{
@@ -838,9 +835,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::IKnownPerceptionColorFrameSourcePropertiesStatics>
{
@@ -849,8 +846,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::IKnownPerceptionDepthFrameSourcePropertiesStatics>
{
@@ -859,11 +856,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::IKnownPerceptionFrameSourcePropertiesStatics>
{
@@ -872,7 +869,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IKnownPerceptionFrameSourcePropertiesStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
+ [[nodiscard]] auto DeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IKnownPerceptionFrameSourcePropertiesStatics2>
{
@@ -881,13 +878,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::IKnownPerceptionInfraredFrameSourcePropertiesStatics>
{
@@ -896,11 +893,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::IKnownPerceptionVideoFrameSourcePropertiesStatics>
{
@@ -909,11 +906,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::IKnownPerceptionVideoProfilePropertiesStatics>
{
@@ -922,7 +919,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionColorFrame
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) VideoFrame() const;
+ [[nodiscard]] auto VideoFrame() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IPerceptionColorFrame>
{
@@ -931,8 +928,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::IPerceptionColorFrameArrivedEventArgs>
{
@@ -941,14 +938,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionColorFrameReader
{
- WINRT_IMPL_AUTO(winrt::event_token) FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameReader, winrt::Windows::Devices::Perception::PerceptionColorFrameArrivedEventArgs> const& handler) const;
+ auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameReader, winrt::Windows::Devices::Perception::PerceptionColorFrameArrivedEventArgs> const& handler) const;
using FrameArrived_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionColorFrameReader, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionColorFrameReader>::remove_FrameArrived>;
- [[nodiscard]] FrameArrived_revoker FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameReader, winrt::Windows::Devices::Perception::PerceptionColorFrameArrivedEventArgs> 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<winrt::Windows::Devices::Perception::PerceptionColorFrameReader, winrt::Windows::Devices::Perception::PerceptionColorFrameArrivedEventArgs> 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<winrt::Windows::Devices::Perception::IPerceptionColorFrameReader>
{
@@ -957,45 +954,45 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionColorFrameSource
{
- WINRT_IMPL_AUTO(winrt::event_token) AvailableChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AvailableChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using AvailableChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionColorFrameSource, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionColorFrameSource>::remove_AvailableChanged>;
- [[nodiscard]] AvailableChanged_revoker AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AvailableChanged(winrt::event_token const& token) const noexcept;
+ auto ActiveChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ActiveChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionColorFrameSource, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionColorFrameSource>::remove_ActiveChanged>;
- [[nodiscard]] ActiveChanged_revoker ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ActiveChanged(winrt::event_token const& token) const noexcept;
+ auto PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const;
using PropertiesChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionColorFrameSource, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionColorFrameSource>::remove_PropertiesChanged>;
- [[nodiscard]] PropertiesChanged_revoker PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> 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<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const;
+ auto PropertiesChanged(winrt::event_token const& token) const noexcept;
+ auto VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using VideoProfileChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionColorFrameSource, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionColorFrameSource>::remove_VideoProfileChanged>;
- [[nodiscard]] VideoProfileChanged_revoker VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto VideoProfileChanged(winrt::event_token const& token) const noexcept;
+ auto CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using CameraIntrinsicsChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionColorFrameSource, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionColorFrameSource>::remove_CameraIntrinsicsChanged>;
- [[nodiscard]] CameraIntrinsicsChanged_revoker CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> 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<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>) SupportedVideoProfiles() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>) 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<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCameraIntrinsics>) TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& correlatedDepthFrameSource) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCoordinateMapper>) TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetSourceId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& correlatedDepthFrameSource) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeResult>) 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<winrt::Windows::Devices::Perception::PerceptionColorFrameSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::IPerceptionColorFrameSource>
{
@@ -1004,7 +1001,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionColorFrameSource2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
+ [[nodiscard]] auto DeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IPerceptionColorFrameSource2>
{
@@ -1013,7 +1010,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionColorFrameSourceAddedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameSource) FrameSource() const;
+ [[nodiscard]] auto FrameSource() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceAddedEventArgs>
{
@@ -1022,7 +1019,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionColorFrameSourceRemovedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameSource) FrameSource() const;
+ [[nodiscard]] auto FrameSource() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceRemovedEventArgs>
{
@@ -1031,10 +1028,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionColorFrameSourceStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher) CreateWatcher() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionColorFrameSource>>) FindAllAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionColorFrameSource>) FromIdAsync(param::hstring const& id) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionFrameSourceAccessStatus>) RequestAccessAsync() const;
+ auto CreateWatcher() const;
+ auto FindAllAsync() const;
+ auto FromIdAsync(param::hstring const& id) const;
+ auto RequestAccessAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceStatics>
{
@@ -1043,25 +1040,25 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionColorFrameSourceWatcher
{
- WINRT_IMPL_AUTO(winrt::event_token) SourceAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionColorFrameSourceAddedEventArgs> const& handler) const;
+ auto SourceAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionColorFrameSourceAddedEventArgs> const& handler) const;
using SourceAdded_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher>::remove_SourceAdded>;
- [[nodiscard]] SourceAdded_revoker SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionColorFrameSourceAddedEventArgs> 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<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionColorFrameSourceRemovedEventArgs> const& handler) const;
+ [[nodiscard]] auto SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionColorFrameSourceAddedEventArgs> const& handler) const;
+ auto SourceAdded(winrt::event_token const& token) const noexcept;
+ auto SourceRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionColorFrameSourceRemovedEventArgs> const& handler) const;
using SourceRemoved_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher>::remove_SourceRemoved>;
- [[nodiscard]] SourceRemoved_revoker SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionColorFrameSourceRemovedEventArgs> 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<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionColorFrameSourceRemovedEventArgs> const& handler) const;
+ auto SourceRemoved(winrt::event_token const& token) const noexcept;
+ auto Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Stopped_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher>::remove_Stopped>;
- [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Stopped(winrt::event_token const& token) const noexcept;
+ auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using EnumerationCompleted_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher>::remove_EnumerationCompleted>;
- [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::PerceptionColorFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::IPerceptionColorFrameSourceWatcher>
{
@@ -1070,11 +1067,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionControlSession
{
- WINRT_IMPL_AUTO(winrt::event_token) ControlLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionControlSession, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ControlLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionControlSession, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ControlLost_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionControlSession, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionControlSession>::remove_ControlLost>;
- [[nodiscard]] ControlLost_revoker ControlLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionControlSession, winrt::Windows::Foundation::IInspectable> const& handler) const;
- WINRT_IMPL_AUTO(void) ControlLost(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeResult>) TrySetPropertyAsync(param::hstring const& name, winrt::Windows::Foundation::IInspectable const& value) const;
+ [[nodiscard]] auto ControlLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionControlSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::IPerceptionControlSession>
{
@@ -1083,10 +1080,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Point const> sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Numerics::float3> 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<winrt::Windows::Foundation::Numerics::float3> results) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UnprojectAllPixelsAtCorrelatedDepthAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Numerics::float3> results) const;
+ auto UnprojectPixelAtCorrelatedDepth(winrt::Windows::Foundation::Point const& pixelCoordinate, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame) const;
+ auto UnprojectPixelsAtCorrelatedDepth(array_view<winrt::Windows::Foundation::Point const> sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Numerics::float3> results) const;
+ auto UnprojectRegionPixelsAtCorrelatedDepthAsync(winrt::Windows::Foundation::Rect const& region, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Numerics::float3> results) const;
+ auto UnprojectAllPixelsAtCorrelatedDepthAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Numerics::float3> results) const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IPerceptionDepthCorrelatedCameraIntrinsics>
{
@@ -1095,10 +1092,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Point const> sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Point> 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<winrt::Windows::Foundation::Point> targetCoordinates) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MapAllPixelsToTargetAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Point> targetCoordinates) const;
+ auto MapPixelToTarget(winrt::Windows::Foundation::Point const& sourcePixelCoordinate, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame) const;
+ auto MapPixelsToTarget(array_view<winrt::Windows::Foundation::Point const> sourceCoordinates, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Point> results) const;
+ auto MapRegionOfPixelsToTargetAsync(winrt::Windows::Foundation::Rect const& region, winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Point> targetCoordinates) const;
+ auto MapAllPixelsToTargetAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrame const& depthFrame, array_view<winrt::Windows::Foundation::Point> targetCoordinates) const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IPerceptionDepthCorrelatedCoordinateMapper>
{
@@ -1107,7 +1104,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionDepthFrame
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) VideoFrame() const;
+ [[nodiscard]] auto VideoFrame() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IPerceptionDepthFrame>
{
@@ -1116,8 +1113,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::IPerceptionDepthFrameArrivedEventArgs>
{
@@ -1126,14 +1123,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionDepthFrameReader
{
- WINRT_IMPL_AUTO(winrt::event_token) FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameReader, winrt::Windows::Devices::Perception::PerceptionDepthFrameArrivedEventArgs> const& handler) const;
+ auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameReader, winrt::Windows::Devices::Perception::PerceptionDepthFrameArrivedEventArgs> const& handler) const;
using FrameArrived_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionDepthFrameReader, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionDepthFrameReader>::remove_FrameArrived>;
- [[nodiscard]] FrameArrived_revoker FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameReader, winrt::Windows::Devices::Perception::PerceptionDepthFrameArrivedEventArgs> 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<winrt::Windows::Devices::Perception::PerceptionDepthFrameReader, winrt::Windows::Devices::Perception::PerceptionDepthFrameArrivedEventArgs> 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<winrt::Windows::Devices::Perception::IPerceptionDepthFrameReader>
{
@@ -1142,45 +1139,45 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSource
{
- WINRT_IMPL_AUTO(winrt::event_token) AvailableChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AvailableChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using AvailableChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource>::remove_AvailableChanged>;
- [[nodiscard]] AvailableChanged_revoker AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AvailableChanged(winrt::event_token const& token) const noexcept;
+ auto ActiveChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ActiveChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource>::remove_ActiveChanged>;
- [[nodiscard]] ActiveChanged_revoker ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ActiveChanged(winrt::event_token const& token) const noexcept;
+ auto PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const;
using PropertiesChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource>::remove_PropertiesChanged>;
- [[nodiscard]] PropertiesChanged_revoker PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> 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<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const;
+ auto PropertiesChanged(winrt::event_token const& token) const noexcept;
+ auto VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using VideoProfileChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource>::remove_VideoProfileChanged>;
- [[nodiscard]] VideoProfileChanged_revoker VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto VideoProfileChanged(winrt::event_token const& token) const noexcept;
+ auto CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using CameraIntrinsicsChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource>::remove_CameraIntrinsicsChanged>;
- [[nodiscard]] CameraIntrinsicsChanged_revoker CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> 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<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>) SupportedVideoProfiles() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>) 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<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCameraIntrinsics>) TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& target) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCoordinateMapper>) TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& depthFrameSourceToMapWith) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeResult>) 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<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource>
{
@@ -1189,7 +1186,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSource2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
+ [[nodiscard]] auto DeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSource2>
{
@@ -1198,7 +1195,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceAddedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource) FrameSource() const;
+ [[nodiscard]] auto FrameSource() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceAddedEventArgs>
{
@@ -1207,7 +1204,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceRemovedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource) FrameSource() const;
+ [[nodiscard]] auto FrameSource() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceRemovedEventArgs>
{
@@ -1216,10 +1213,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher) CreateWatcher() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource>>) FindAllAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionDepthFrameSource>) FromIdAsync(param::hstring const& id) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionFrameSourceAccessStatus>) RequestAccessAsync() const;
+ auto CreateWatcher() const;
+ auto FindAllAsync() const;
+ auto FromIdAsync(param::hstring const& id) const;
+ auto RequestAccessAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceStatics>
{
@@ -1228,25 +1225,25 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionDepthFrameSourceWatcher
{
- WINRT_IMPL_AUTO(winrt::event_token) SourceAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceAddedEventArgs> const& handler) const;
+ auto SourceAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceAddedEventArgs> const& handler) const;
using SourceAdded_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher>::remove_SourceAdded>;
- [[nodiscard]] SourceAdded_revoker SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceAddedEventArgs> 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<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceRemovedEventArgs> const& handler) const;
+ [[nodiscard]] auto SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceAddedEventArgs> const& handler) const;
+ auto SourceAdded(winrt::event_token const& token) const noexcept;
+ auto SourceRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceRemovedEventArgs> const& handler) const;
using SourceRemoved_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher>::remove_SourceRemoved>;
- [[nodiscard]] SourceRemoved_revoker SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceRemovedEventArgs> 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<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceRemovedEventArgs> const& handler) const;
+ auto SourceRemoved(winrt::event_token const& token) const noexcept;
+ auto Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Stopped_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher>::remove_Stopped>;
- [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Stopped(winrt::event_token const& token) const noexcept;
+ auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using EnumerationCompleted_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher>::remove_EnumerationCompleted>;
- [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::PerceptionDepthFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::IPerceptionDepthFrameSourceWatcher>
{
@@ -1255,8 +1252,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::IPerceptionFrameSourcePropertiesChangedEventArgs>
{
@@ -1265,8 +1262,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::IPerceptionFrameSourcePropertyChangeResult>
{
@@ -1275,7 +1272,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionInfraredFrame
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::VideoFrame) VideoFrame() const;
+ [[nodiscard]] auto VideoFrame() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IPerceptionInfraredFrame>
{
@@ -1284,8 +1281,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameArrivedEventArgs>
{
@@ -1294,14 +1291,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameReader
{
- WINRT_IMPL_AUTO(winrt::event_token) FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameReader, winrt::Windows::Devices::Perception::PerceptionInfraredFrameArrivedEventArgs> const& handler) const;
+ auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameReader, winrt::Windows::Devices::Perception::PerceptionInfraredFrameArrivedEventArgs> const& handler) const;
using FrameArrived_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameReader, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameReader>::remove_FrameArrived>;
- [[nodiscard]] FrameArrived_revoker FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameReader, winrt::Windows::Devices::Perception::PerceptionInfraredFrameArrivedEventArgs> 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<winrt::Windows::Devices::Perception::PerceptionInfraredFrameReader, winrt::Windows::Devices::Perception::PerceptionInfraredFrameArrivedEventArgs> 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<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameReader>
{
@@ -1310,45 +1307,45 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource
{
- WINRT_IMPL_AUTO(winrt::event_token) AvailableChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AvailableChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using AvailableChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource>::remove_AvailableChanged>;
- [[nodiscard]] AvailableChanged_revoker AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto AvailableChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AvailableChanged(winrt::event_token const& token) const noexcept;
+ auto ActiveChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ActiveChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource>::remove_ActiveChanged>;
- [[nodiscard]] ActiveChanged_revoker ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto ActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ActiveChanged(winrt::event_token const& token) const noexcept;
+ auto PropertiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const;
using PropertiesChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource>::remove_PropertiesChanged>;
- [[nodiscard]] PropertiesChanged_revoker PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> 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<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto PropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertiesChangedEventArgs> const& handler) const;
+ auto PropertiesChanged(winrt::event_token const& token) const noexcept;
+ auto VideoProfileChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using VideoProfileChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource>::remove_VideoProfileChanged>;
- [[nodiscard]] VideoProfileChanged_revoker VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto VideoProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto VideoProfileChanged(winrt::event_token const& token) const noexcept;
+ auto CameraIntrinsicsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using CameraIntrinsicsChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource>::remove_CameraIntrinsicsChanged>;
- [[nodiscard]] CameraIntrinsicsChanged_revoker CameraIntrinsicsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> 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<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>) SupportedVideoProfiles() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionVideoProfile>) 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<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCameraIntrinsics>) TryGetDepthCorrelatedCameraIntrinsicsAsync(winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& target) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionDepthCorrelatedCoordinateMapper>) TryGetDepthCorrelatedCoordinateMapperAsync(param::hstring const& targetId, winrt::Windows::Devices::Perception::PerceptionDepthFrameSource const& depthFrameSourceToMapWith) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionFrameSourcePropertyChangeResult>) 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<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource>
{
@@ -1357,7 +1354,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSource2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
+ [[nodiscard]] auto DeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSource2>
{
@@ -1366,7 +1363,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceAddedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource) FrameSource() const;
+ [[nodiscard]] auto FrameSource() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceAddedEventArgs>
{
@@ -1375,7 +1372,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceRemovedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource) FrameSource() const;
+ [[nodiscard]] auto FrameSource() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceRemovedEventArgs>
{
@@ -1384,10 +1381,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher) CreateWatcher() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource>>) FindAllAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSource>) FromIdAsync(param::hstring const& id) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Perception::PerceptionFrameSourceAccessStatus>) RequestAccessAsync() const;
+ auto CreateWatcher() const;
+ auto FindAllAsync() const;
+ auto FromIdAsync(param::hstring const& id) const;
+ auto RequestAccessAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceStatics>
{
@@ -1396,25 +1393,25 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_IPerceptionInfraredFrameSourceWatcher
{
- WINRT_IMPL_AUTO(winrt::event_token) SourceAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceAddedEventArgs> const& handler) const;
+ auto SourceAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceAddedEventArgs> const& handler) const;
using SourceAdded_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher>::remove_SourceAdded>;
- [[nodiscard]] SourceAdded_revoker SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceAddedEventArgs> 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<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceRemovedEventArgs> const& handler) const;
+ [[nodiscard]] auto SourceAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceAddedEventArgs> const& handler) const;
+ auto SourceAdded(winrt::event_token const& token) const noexcept;
+ auto SourceRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceRemovedEventArgs> const& handler) const;
using SourceRemoved_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher>::remove_SourceRemoved>;
- [[nodiscard]] SourceRemoved_revoker SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceRemovedEventArgs> 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<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto SourceRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceRemovedEventArgs> const& handler) const;
+ auto SourceRemoved(winrt::event_token const& token) const noexcept;
+ auto Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Stopped_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher>::remove_Stopped>;
- [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Stopped(winrt::event_token const& token) const noexcept;
+ auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using EnumerationCompleted_revoker = impl::event_revoker<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher, &impl::abi_t<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher>::remove_EnumerationCompleted>;
- [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::PerceptionInfraredFrameSourceWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Perception::IPerceptionInfraredFrameSourceWatcher>
{
@@ -1423,12 +1420,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::IPerceptionVideoProfile>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.1.h
index f9adb35f76f..7a7a2c9a700 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.2.h
index 657e114a95d..d617f7f5910 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.0.h
index 479df09a493..3d088b3fdab 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IIterable;
struct IPropertySet;
- template <typename T> struct __declspec(empty_bases) IVectorView;
struct ValueSet;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics
@@ -322,9 +321,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::Provider::IKnownPerceptionFrameKindStatics>
{
@@ -333,7 +332,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_Provider_IPerceptionControlGroup
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) FrameProviderIds() const;
+ [[nodiscard]] auto FrameProviderIds() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::Provider::IPerceptionControlGroup>
{
@@ -342,7 +341,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_Provider_IPerceptionControlGroupFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionControlGroup) Create(param::iterable<hstring> const& ids) const;
+ auto Create(param::iterable<hstring> const& ids) const;
};
template <> struct consume<winrt::Windows::Devices::Perception::Provider::IPerceptionControlGroupFactory>
{
@@ -351,9 +350,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::Provider::IPerceptionCorrelation>
{
@@ -362,7 +361,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::Provider::IPerceptionCorrelationFactory>
{
@@ -371,7 +370,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationGroup
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Perception::Provider::PerceptionCorrelation>) RelativeLocations() const;
+ [[nodiscard]] auto RelativeLocations() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::Provider::IPerceptionCorrelationGroup>
{
@@ -380,7 +379,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_Provider_IPerceptionCorrelationGroupFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionCorrelationGroup) Create(param::iterable<winrt::Windows::Devices::Perception::Provider::PerceptionCorrelation> const& relativeLocations) const;
+ auto Create(param::iterable<winrt::Windows::Devices::Perception::Provider::PerceptionCorrelation> const& relativeLocations) const;
};
template <> struct consume<winrt::Windows::Devices::Perception::Provider::IPerceptionCorrelationGroupFactory>
{
@@ -389,7 +388,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_Provider_IPerceptionFaceAuthenticationGroup
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) FrameProviderIds() const;
+ [[nodiscard]] auto FrameProviderIds() const;
};
template <> struct consume<winrt::Windows::Devices::Perception::Provider::IPerceptionFaceAuthenticationGroup>
{
@@ -398,7 +397,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Perception_Provider_IPerceptionFaceAuthenticationGroupFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Perception::Provider::PerceptionFaceAuthenticationGroup) Create(param::iterable<hstring> const& ids, winrt::Windows::Devices::Perception::Provider::PerceptionStartFaceAuthenticationHandler const& startHandler, winrt::Windows::Devices::Perception::Provider::PerceptionStopFaceAuthenticationHandler const& stopHandler) const;
+ auto Create(param::iterable<hstring> const& ids, winrt::Windows::Devices::Perception::Provider::PerceptionStartFaceAuthenticationHandler const& startHandler, winrt::Windows::Devices::Perception::Provider::PerceptionStopFaceAuthenticationHandler const& stopHandler) const;
};
template <> struct consume<winrt::Windows::Devices::Perception::Provider::IPerceptionFaceAuthenticationGroupFactory>
{
@@ -407,10 +406,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::Provider::IPerceptionFrame>
{
@@ -419,12 +418,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProvider>
{
@@ -433,16 +432,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderInfo>
{
@@ -451,7 +450,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManager>
{
@@ -460,16 +459,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::Provider::IPerceptionFrameProviderManagerServiceStatics>
{
@@ -478,11 +477,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::Provider::IPerceptionPropertyChangeRequest>
{
@@ -491,8 +490,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::Provider::IPerceptionVideoFrameAllocator>
{
@@ -501,7 +500,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Perception::Provider::IPerceptionVideoFrameAllocatorFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.1.h
index 0215a763b92..f70ff0d7db9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.2.h
index 3a7da8d4dff..da5a9609627 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Perception.Provider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.0.h
index 88020429e3d..2d10ffa5824 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
struct IAsyncAction;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Point;
struct Rect;
struct Size;
@@ -18,8 +17,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
template <typename K, typename V> struct __declspec(empty_bases) IKeyValuePair;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging
{
@@ -2377,19 +2374,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner>) ClaimScannerAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<uint32_t>>) GetSupportedSymbologiesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) IsSymbologySupportedAsync(uint32_t barcodeSymbology) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) RetrieveStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) GetSupportedProfiles() const;
- WINRT_IMPL_AUTO(bool) IsProfileSupported(param::hstring const& profile) const;
- WINRT_IMPL_AUTO(winrt::event_token) StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::BarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerStatusUpdatedEventArgs> 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<hstring> const& statisticsCategories) const;
+ auto GetSupportedProfiles() const;
+ auto IsProfileSupported(param::hstring const& profile) const;
+ auto StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::BarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerStatusUpdatedEventArgs> const& handler) const;
using StatusUpdated_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IBarcodeScanner, &impl::abi_t<winrt::Windows::Devices::PointOfService::IBarcodeScanner>::remove_StatusUpdated>;
- [[nodiscard]] StatusUpdated_revoker StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::BarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerStatusUpdatedEventArgs> 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<winrt::Windows::Devices::PointOfService::BarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerStatusUpdatedEventArgs> const& handler) const;
+ auto StatusUpdated(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IBarcodeScanner>
{
@@ -2398,7 +2395,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IBarcodeScanner2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoDeviceId() const;
+ [[nodiscard]] auto VideoDeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IBarcodeScanner2>
{
@@ -2407,10 +2404,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities>
{
@@ -2419,7 +2416,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities1
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSoftwareTriggerSupported() const;
+ [[nodiscard]] auto IsSoftwareTriggerSupported() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities1>
{
@@ -2428,7 +2425,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IBarcodeScannerCapabilities2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVideoPreviewSupported() const;
+ [[nodiscard]] auto IsVideoPreviewSupported() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IBarcodeScannerCapabilities2>
{
@@ -2437,7 +2434,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IBarcodeScannerDataReceivedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::BarcodeScannerReport) Report() const;
+ [[nodiscard]] auto Report() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IBarcodeScannerDataReceivedEventArgs>
{
@@ -2446,9 +2443,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IBarcodeScannerErrorOccurredEventArgs>
{
@@ -2457,7 +2454,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IBarcodeScannerImagePreviewReceivedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType) Preview() const;
+ [[nodiscard]] auto Preview() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IBarcodeScannerImagePreviewReceivedEventArgs>
{
@@ -2466,9 +2463,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IBarcodeScannerReport>
{
@@ -2477,7 +2474,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IBarcodeScannerReportFactory>
{
@@ -2486,9 +2483,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IBarcodeScannerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::BarcodeScanner>) GetDefaultAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::BarcodeScanner>) 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<winrt::Windows::Devices::PointOfService::IBarcodeScannerStatics>
{
@@ -2497,7 +2494,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IBarcodeScannerStatics2>
{
@@ -2506,8 +2503,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IBarcodeScannerStatusUpdatedEventArgs>
{
@@ -2516,100 +2513,100 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics>
{
@@ -2618,7 +2615,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IBarcodeSymbologiesStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Gs1DWCode() const;
+ [[nodiscard]] auto Gs1DWCode() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IBarcodeSymbologiesStatics2>
{
@@ -2627,19 +2624,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IBarcodeSymbologyAttributes>
{
@@ -2648,18 +2645,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer>) ClaimDrawerAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const;
- WINRT_IMPL_AUTO(winrt::event_token) StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawer, winrt::Windows::Devices::PointOfService::CashDrawerStatusUpdatedEventArgs> 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<hstring> const& statisticsCategories) const;
+ auto StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawer, winrt::Windows::Devices::PointOfService::CashDrawerStatusUpdatedEventArgs> const& handler) const;
using StatusUpdated_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::ICashDrawer, &impl::abi_t<winrt::Windows::Devices::PointOfService::ICashDrawer>::remove_StatusUpdated>;
- [[nodiscard]] StatusUpdated_revoker StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawer, winrt::Windows::Devices::PointOfService::CashDrawerStatusUpdatedEventArgs> 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<winrt::Windows::Devices::PointOfService::CashDrawer, winrt::Windows::Devices::PointOfService::CashDrawerStatusUpdatedEventArgs> const& handler) const;
+ auto StatusUpdated(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::ICashDrawer>
{
@@ -2668,12 +2665,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::ICashDrawerCapabilities>
{
@@ -2682,19 +2679,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::CashDrawerCloseAlarm, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::PointOfService::CashDrawerCloseAlarm, winrt::Windows::Foundation::IInspectable> const& handler) const;
using AlarmTimeoutExpired_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm, &impl::abi_t<winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm>::remove_AlarmTimeoutExpired>;
- [[nodiscard]] AlarmTimeoutExpired_revoker AlarmTimeoutExpired(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerCloseAlarm, winrt::Windows::Foundation::IInspectable> const& handler) const;
- WINRT_IMPL_AUTO(void) AlarmTimeoutExpired(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) StartAsync() const;
+ [[nodiscard]] auto AlarmTimeoutExpired(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerCloseAlarm, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AlarmTimeoutExpired(winrt::event_token const& token) const noexcept;
+ auto StartAsync() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::ICashDrawerCloseAlarm>
{
@@ -2703,14 +2700,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_ICashDrawerEventSource
{
- WINRT_IMPL_AUTO(winrt::event_token) DrawerClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerEventSource, winrt::Windows::Devices::PointOfService::CashDrawerClosedEventArgs> const& handler) const;
+ auto DrawerClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerEventSource, winrt::Windows::Devices::PointOfService::CashDrawerClosedEventArgs> const& handler) const;
using DrawerClosed_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::ICashDrawerEventSource, &impl::abi_t<winrt::Windows::Devices::PointOfService::ICashDrawerEventSource>::remove_DrawerClosed>;
- [[nodiscard]] DrawerClosed_revoker DrawerClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerEventSource, winrt::Windows::Devices::PointOfService::CashDrawerClosedEventArgs> 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<winrt::Windows::Devices::PointOfService::CashDrawerEventSource, winrt::Windows::Devices::PointOfService::CashDrawerOpenedEventArgs> const& handler) const;
+ [[nodiscard]] auto DrawerClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerEventSource, winrt::Windows::Devices::PointOfService::CashDrawerClosedEventArgs> const& handler) const;
+ auto DrawerClosed(winrt::event_token const& token) const noexcept;
+ auto DrawerOpened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerEventSource, winrt::Windows::Devices::PointOfService::CashDrawerOpenedEventArgs> const& handler) const;
using DrawerOpened_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::ICashDrawerEventSource, &impl::abi_t<winrt::Windows::Devices::PointOfService::ICashDrawerEventSource>::remove_DrawerOpened>;
- [[nodiscard]] DrawerOpened_revoker DrawerOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::CashDrawerEventSource, winrt::Windows::Devices::PointOfService::CashDrawerOpenedEventArgs> 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<winrt::Windows::Devices::PointOfService::CashDrawerEventSource, winrt::Windows::Devices::PointOfService::CashDrawerOpenedEventArgs> const& handler) const;
+ auto DrawerOpened(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::ICashDrawerEventSource>
{
@@ -2719,7 +2716,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_ICashDrawerEventSourceEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawer) CashDrawer() const;
+ [[nodiscard]] auto CashDrawer() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::ICashDrawerEventSourceEventArgs>
{
@@ -2728,9 +2725,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_ICashDrawerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::CashDrawer>) GetDefaultAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::CashDrawer>) 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<winrt::Windows::Devices::PointOfService::ICashDrawerStatics>
{
@@ -2739,7 +2736,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::ICashDrawerStatics2>
{
@@ -2748,8 +2745,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::ICashDrawerStatus>
{
@@ -2758,7 +2755,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_ICashDrawerStatusUpdatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::CashDrawerStatus) Status() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::ICashDrawerStatusUpdatedEventArgs>
{
@@ -2767,43 +2764,43 @@ namespace winrt::impl
template <typename D>
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<uint32_t> const& symbologies) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) ResetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UpdateStatisticsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> 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<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerDataReceivedEventArgs> 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<uint32_t> const& symbologies) const;
+ auto ResetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const;
+ auto UpdateStatisticsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& statistics) const;
+ auto SetActiveProfileAsync(param::hstring const& profile) const;
+ auto DataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerDataReceivedEventArgs> const& handler) const;
using DataReceived_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner>::remove_DataReceived>;
- [[nodiscard]] DataReceived_revoker DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerDataReceivedEventArgs> 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<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const;
+ [[nodiscard]] auto DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerDataReceivedEventArgs> const& handler) const;
+ auto DataReceived(winrt::event_token const& token) const noexcept;
+ auto TriggerPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const;
using TriggerPressed_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner>::remove_TriggerPressed>;
- [[nodiscard]] TriggerPressed_revoker TriggerPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> 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<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const;
+ [[nodiscard]] auto TriggerPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const;
+ auto TriggerPressed(winrt::event_token const& token) const noexcept;
+ auto TriggerReleased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const;
using TriggerReleased_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner>::remove_TriggerReleased>;
- [[nodiscard]] TriggerReleased_revoker TriggerReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> 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<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const;
+ [[nodiscard]] auto TriggerReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const;
+ auto TriggerReleased(winrt::event_token const& token) const noexcept;
+ auto ReleaseDeviceRequested(winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const;
using ReleaseDeviceRequested_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner>::remove_ReleaseDeviceRequested>;
- [[nodiscard]] ReleaseDeviceRequested_revoker ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> 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<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerImagePreviewReceivedEventArgs> const& handler) const;
+ [[nodiscard]] auto ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner> const& handler) const;
+ auto ReleaseDeviceRequested(winrt::event_token const& token) const noexcept;
+ auto ImagePreviewReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerImagePreviewReceivedEventArgs> const& handler) const;
using ImagePreviewReceived_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner>::remove_ImagePreviewReceived>;
- [[nodiscard]] ImagePreviewReceived_revoker ImagePreviewReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerImagePreviewReceivedEventArgs> 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<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerErrorOccurredEventArgs> const& handler) const;
+ [[nodiscard]] auto ImagePreviewReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerImagePreviewReceivedEventArgs> const& handler) const;
+ auto ImagePreviewReceived(winrt::event_token const& token) const noexcept;
+ auto ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerErrorOccurredEventArgs> const& handler) const;
using ErrorOccurred_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner>::remove_ErrorOccurred>;
- [[nodiscard]] ErrorOccurred_revoker ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerErrorOccurredEventArgs> 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<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::BarcodeScannerErrorOccurredEventArgs> const& handler) const;
+ auto ErrorOccurred(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner>
{
@@ -2812,8 +2809,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner1>
{
@@ -2822,8 +2819,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::BarcodeSymbologyAttributes>) GetSymbologyAttributesAsync(uint32_t barcodeSymbology) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner2>
{
@@ -2832,10 +2829,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner3>
{
@@ -2844,10 +2841,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IClaimedBarcodeScanner4
{
- WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::ClaimedBarcodeScannerClosedEventArgs> const& handler) const;
+ auto Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::ClaimedBarcodeScannerClosedEventArgs> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner4, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner4>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::ClaimedBarcodeScannerClosedEventArgs> 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<winrt::Windows::Devices::PointOfService::ClaimedBarcodeScanner, winrt::Windows::Devices::PointOfService::ClaimedBarcodeScannerClosedEventArgs> const& handler) const;
+ auto Closed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IClaimedBarcodeScanner4>
{
@@ -2864,20 +2861,20 @@ namespace winrt::impl
template <typename D>
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<bool>) OpenDrawerAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) EnableAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) DisableAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RetainDeviceAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) ResetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) UpdateStatisticsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& statistics) const;
- WINRT_IMPL_AUTO(winrt::event_token) ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer, winrt::Windows::Foundation::IInspectable> 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<hstring> const& statisticsCategories) const;
+ auto UpdateStatisticsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& statistics) const;
+ auto ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ReleaseDeviceRequested_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedCashDrawer, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedCashDrawer>::remove_ReleaseDeviceRequested>;
- [[nodiscard]] ReleaseDeviceRequested_revoker ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ReleaseDeviceRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IClaimedCashDrawer>
{
@@ -2886,10 +2883,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IClaimedCashDrawer2
{
- WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer, winrt::Windows::Devices::PointOfService::ClaimedCashDrawerClosedEventArgs> const& handler) const;
+ auto Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer, winrt::Windows::Devices::PointOfService::ClaimedCashDrawerClosedEventArgs> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedCashDrawer2, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedCashDrawer2>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer, winrt::Windows::Devices::PointOfService::ClaimedCashDrawerClosedEventArgs> 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<winrt::Windows::Devices::PointOfService::ClaimedCashDrawer, winrt::Windows::Devices::PointOfService::ClaimedCashDrawerClosedEventArgs> const& handler) const;
+ auto Closed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IClaimedCashDrawer2>
{
@@ -2906,7 +2903,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IClaimedJournalPrinter
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::JournalPrintJob) CreateJob() const;
+ auto CreateJob() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IClaimedJournalPrinter>
{
@@ -2915,19 +2912,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ReleaseDeviceRequested_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedLineDisplay, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedLineDisplay>::remove_ReleaseDeviceRequested>;
- [[nodiscard]] ReleaseDeviceRequested_revoker ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ReleaseDeviceRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IClaimedLineDisplay>
{
@@ -2936,25 +2933,25 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IClaimedLineDisplay2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplayPowerStatus>) CheckPowerStatusAsync() const;
- WINRT_IMPL_AUTO(winrt::event_token) StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Devices::PointOfService::LineDisplayStatusUpdatedEventArgs> const& handler) const;
+ auto GetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const;
+ auto CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const;
+ auto CheckPowerStatusAsync() const;
+ auto StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Devices::PointOfService::LineDisplayStatusUpdatedEventArgs> const& handler) const;
using StatusUpdated_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2>::remove_StatusUpdated>;
- [[nodiscard]] StatusUpdated_revoker StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Devices::PointOfService::LineDisplayStatusUpdatedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) StatusUpdated(winrt::event_token const& token) const noexcept;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Size>) SupportedScreenSizesInCharacters() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) MaxBitmapSizeInPixels() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int32_t>) 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<bool>) TryUpdateAttributesAsync(winrt::Windows::Devices::PointOfService::LineDisplayAttributes const& attributes) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TrySetDescriptorAsync(uint32_t descriptor, winrt::Windows::Devices::PointOfService::LineDisplayDescriptorState const& descriptorState) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryClearDescriptorsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplayWindow>) TryCreateWindowAsync(winrt::Windows::Foundation::Rect const& viewport, winrt::Windows::Foundation::Size const& windowSize) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplayStoredBitmap>) TryStoreStorageFileBitmapAsync(winrt::Windows::Storage::StorageFile const& bitmap) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplayStoredBitmap>) 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<winrt::Windows::Devices::PointOfService::LineDisplayStoredBitmap>) 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<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Devices::PointOfService::LineDisplayStatusUpdatedEventArgs> 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<winrt::Windows::Devices::PointOfService::IClaimedLineDisplay2>
{
@@ -2963,10 +2960,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IClaimedLineDisplay3
{
- WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Devices::PointOfService::ClaimedLineDisplayClosedEventArgs> const& handler) const;
+ auto Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Devices::PointOfService::ClaimedLineDisplayClosedEventArgs> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedLineDisplay3, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedLineDisplay3>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Devices::PointOfService::ClaimedLineDisplayClosedEventArgs> 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<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay, winrt::Windows::Devices::PointOfService::ClaimedLineDisplayClosedEventArgs> const& handler) const;
+ auto Closed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IClaimedLineDisplay3>
{
@@ -2983,9 +2980,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IClaimedLineDisplayStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay>) 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<winrt::Windows::Devices::PointOfService::IClaimedLineDisplayStatics>
{
@@ -2994,49 +2991,49 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Streams::IBuffer>) RetrieveDeviceAuthenticationDataAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AuthenticateDeviceAsync(array_view<uint8_t const> responseToken) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeAuthenticateDeviceAsync(array_view<uint8_t const> 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<hstring> const& statisticsCategories) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UpdateStatisticsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& statistics) const;
- WINRT_IMPL_AUTO(winrt::event_token) BankCardDataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderBankCardDataReceivedEventArgs> 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<uint8_t const> responseToken) const;
+ auto DeAuthenticateDeviceAsync(array_view<uint8_t const> responseToken) const;
+ auto UpdateKeyAsync(param::hstring const& key, param::hstring const& keyName) const;
+ auto ResetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const;
+ auto UpdateStatisticsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& statistics) const;
+ auto BankCardDataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderBankCardDataReceivedEventArgs> const& handler) const;
using BankCardDataReceived_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader>::remove_BankCardDataReceived>;
- [[nodiscard]] BankCardDataReceived_revoker BankCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderBankCardDataReceivedEventArgs> 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<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderAamvaCardDataReceivedEventArgs> const& handler) const;
+ [[nodiscard]] auto BankCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderBankCardDataReceivedEventArgs> const& handler) const;
+ auto BankCardDataReceived(winrt::event_token const& token) const noexcept;
+ auto AamvaCardDataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderAamvaCardDataReceivedEventArgs> const& handler) const;
using AamvaCardDataReceived_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader>::remove_AamvaCardDataReceived>;
- [[nodiscard]] AamvaCardDataReceived_revoker AamvaCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderAamvaCardDataReceivedEventArgs> 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<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs> const& handler) const;
+ [[nodiscard]] auto AamvaCardDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderAamvaCardDataReceivedEventArgs> const& handler) const;
+ auto AamvaCardDataReceived(winrt::event_token const& token) const noexcept;
+ auto VendorSpecificDataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs> const& handler) const;
using VendorSpecificDataReceived_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader>::remove_VendorSpecificDataReceived>;
- [[nodiscard]] VendorSpecificDataReceived_revoker VendorSpecificDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs> 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<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader> const& handler) const;
+ [[nodiscard]] auto VendorSpecificDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderVendorSpecificCardDataReceivedEventArgs> const& handler) const;
+ auto VendorSpecificDataReceived(winrt::event_token const& token) const noexcept;
+ auto ReleaseDeviceRequested(winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader> const& handler) const;
using ReleaseDeviceRequested_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader>::remove_ReleaseDeviceRequested>;
- [[nodiscard]] ReleaseDeviceRequested_revoker ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader> 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<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorOccurredEventArgs> const& handler) const;
+ [[nodiscard]] auto ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader> const& handler) const;
+ auto ReleaseDeviceRequested(winrt::event_token const& token) const noexcept;
+ auto ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorOccurredEventArgs> const& handler) const;
using ErrorOccurred_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader>::remove_ErrorOccurred>;
- [[nodiscard]] ErrorOccurred_revoker ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorOccurredEventArgs> 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<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorOccurredEventArgs> const& handler) const;
+ auto ErrorOccurred(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader>
{
@@ -3045,10 +3042,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IClaimedMagneticStripeReader2
{
- WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReaderClosedEventArgs> const& handler) const;
+ auto Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReaderClosedEventArgs> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader2, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader2>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReaderClosedEventArgs> 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<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader, winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReaderClosedEventArgs> const& handler) const;
+ auto Closed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IClaimedMagneticStripeReader2>
{
@@ -3065,27 +3062,27 @@ namespace winrt::impl
template <typename D>
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<bool>) EnableAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) DisableAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RetainDeviceAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) ResetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) UpdateStatisticsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& statistics) const;
- WINRT_IMPL_AUTO(winrt::event_token) ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter, winrt::Windows::Devices::PointOfService::PosPrinterReleaseDeviceRequestedEventArgs> 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<hstring> const& statisticsCategories) const;
+ auto UpdateStatisticsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& statistics) const;
+ auto ReleaseDeviceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter, winrt::Windows::Devices::PointOfService::PosPrinterReleaseDeviceRequestedEventArgs> const& handler) const;
using ReleaseDeviceRequested_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedPosPrinter, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedPosPrinter>::remove_ReleaseDeviceRequested>;
- [[nodiscard]] ReleaseDeviceRequested_revoker ReleaseDeviceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter, winrt::Windows::Devices::PointOfService::PosPrinterReleaseDeviceRequestedEventArgs> 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<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter, winrt::Windows::Devices::PointOfService::PosPrinterReleaseDeviceRequestedEventArgs> const& handler) const;
+ auto ReleaseDeviceRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IClaimedPosPrinter>
{
@@ -3094,10 +3091,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IClaimedPosPrinter2
{
- WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter, winrt::Windows::Devices::PointOfService::ClaimedPosPrinterClosedEventArgs> const& handler) const;
+ auto Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter, winrt::Windows::Devices::PointOfService::ClaimedPosPrinterClosedEventArgs> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IClaimedPosPrinter2, &impl::abi_t<winrt::Windows::Devices::PointOfService::IClaimedPosPrinter2>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter, winrt::Windows::Devices::PointOfService::ClaimedPosPrinterClosedEventArgs> 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<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter, winrt::Windows::Devices::PointOfService::ClaimedPosPrinterClosedEventArgs> const& handler) const;
+ auto Closed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IClaimedPosPrinter2>
{
@@ -3114,12 +3111,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IClaimedReceiptPrinter>
{
@@ -3128,19 +3125,19 @@ namespace winrt::impl
template <typename D>
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<bool>) InsertSlipAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Devices::PointOfService::IClaimedSlipPrinter>
{
@@ -3149,25 +3146,25 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::ICommonClaimedPosPrinterStation>
{
@@ -3176,19 +3173,19 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) 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<winrt::Windows::Devices::PointOfService::ICommonPosPrintStationCapabilities>
{
@@ -3197,15 +3194,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::PosPrinterRotation>) SupportedBarcodeRotations() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::PointOfService::PosPrinterRotation>) 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<winrt::Windows::Devices::PointOfService::ICommonReceiptSlipCapabilities>
{
@@ -3214,9 +3211,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IJournalPrintJob>
{
@@ -3233,12 +3230,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IJournalPrinterCapabilities2>
{
@@ -3247,14 +3244,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::ClaimedLineDisplay>) 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<winrt::Windows::Devices::PointOfService::ILineDisplay>
{
@@ -3263,7 +3260,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_ILineDisplay2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplayPowerStatus>) CheckPowerStatusAsync() const;
+ auto CheckPowerStatusAsync() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::ILineDisplay2>
{
@@ -3272,20 +3269,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::ILineDisplayAttributes>
{
@@ -3294,24 +3291,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::ILineDisplayCapabilities>
{
@@ -3320,15 +3317,15 @@ namespace winrt::impl
template <typename D>
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<bool>) 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<winrt::Windows::Devices::PointOfService::ILineDisplayCursor>
{
@@ -3337,14 +3334,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::ILineDisplayCursorAttributes>
{
@@ -3353,9 +3350,9 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) SupportedGlyphCodes() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Devices::PointOfService::ILineDisplayCustomGlyphs>
{
@@ -3364,14 +3361,14 @@ namespace winrt::impl
template <typename D>
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<bool>) TryStartScrollingAsync(winrt::Windows::Devices::PointOfService::LineDisplayScrollDirection const& direction) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Devices::PointOfService::ILineDisplayMarquee>
{
@@ -3380,10 +3377,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_ILineDisplayStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplay>) FromIdAsync(param::hstring const& deviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::LineDisplay>) 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<winrt::Windows::Devices::PointOfService::ILineDisplayStatics>
{
@@ -3392,7 +3389,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_ILineDisplayStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayStatisticsCategorySelector) StatisticsCategorySelector() const;
+ [[nodiscard]] auto StatisticsCategorySelector() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::ILineDisplayStatics2>
{
@@ -3401,9 +3398,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::ILineDisplayStatisticsCategorySelector>
{
@@ -3412,7 +3409,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_ILineDisplayStatusUpdatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::LineDisplayPowerStatus) Status() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::ILineDisplayStatusUpdatedEventArgs>
{
@@ -3421,8 +3418,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_ILineDisplayStoredBitmap
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) EscapeSequence() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryDeleteAsync() const;
+ [[nodiscard]] auto EscapeSequence() const;
+ auto TryDeleteAsync() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::ILineDisplayStoredBitmap>
{
@@ -3431,15 +3428,15 @@ namespace winrt::impl
template <typename D>
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<bool>) TryRefreshAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryDisplayTextAsync(param::hstring const& text, winrt::Windows::Devices::PointOfService::LineDisplayTextAttribute const& displayAttribute) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<bool>) TryDisplayTextAsync(param::hstring const& text) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryScrollTextAsync(winrt::Windows::Devices::PointOfService::LineDisplayScrollDirection const& direction, uint32_t numberOfColumnsOrRows) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Devices::PointOfService::ILineDisplayWindow>
{
@@ -3448,15 +3445,15 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) ReadCharacterAtCursorAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryDisplayStoredBitmapAtCursorAsync(winrt::Windows::Devices::PointOfService::LineDisplayStoredBitmap const& bitmap) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryDisplayStorageFileBitmapAtCursorAsync(winrt::Windows::Storage::StorageFile const& bitmap) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<bool>) 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<bool>) TryDisplayStorageFileBitmapAtPointAsync(winrt::Windows::Storage::StorageFile const& bitmap, winrt::Windows::Foundation::Point const& offsetInPixels) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Devices::PointOfService::ILineDisplayWindow2>
{
@@ -3465,18 +3462,18 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) SupportedCardTypes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderAuthenticationProtocol) DeviceAuthenticationProtocol() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::ClaimedMagneticStripeReader>) ClaimReaderAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) RetrieveStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const;
- WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderErrorReportingType) GetErrorReportingType() const;
- WINRT_IMPL_AUTO(winrt::event_token) StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::MagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderStatusUpdatedEventArgs> 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<hstring> const& statisticsCategories) const;
+ auto GetErrorReportingType() const;
+ auto StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::MagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderStatusUpdatedEventArgs> const& handler) const;
using StatusUpdated_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IMagneticStripeReader, &impl::abi_t<winrt::Windows::Devices::PointOfService::IMagneticStripeReader>::remove_StatusUpdated>;
- [[nodiscard]] StatusUpdated_revoker StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::MagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderStatusUpdatedEventArgs> 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<winrt::Windows::Devices::PointOfService::MagneticStripeReader, winrt::Windows::Devices::PointOfService::MagneticStripeReaderStatusUpdatedEventArgs> const& handler) const;
+ auto StatusUpdated(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IMagneticStripeReader>
{
@@ -3485,25 +3482,25 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IMagneticStripeReaderAamvaCardDataReceivedEventArgs>
{
@@ -3512,15 +3509,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IMagneticStripeReaderBankCardDataReceivedEventArgs>
{
@@ -3529,17 +3526,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCapabilities>
{
@@ -3548,10 +3545,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IMagneticStripeReaderCardTypesStatics>
{
@@ -3560,9 +3557,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IMagneticStripeReaderEncryptionAlgorithmsStatics>
{
@@ -3571,12 +3568,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IMagneticStripeReaderErrorOccurredEventArgs>
{
@@ -3585,15 +3582,15 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring>) 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<winrt::Windows::Devices::PointOfService::IMagneticStripeReaderReport>
{
@@ -3602,9 +3599,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::MagneticStripeReader>) GetDefaultAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::MagneticStripeReader>) 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<winrt::Windows::Devices::PointOfService::IMagneticStripeReaderStatics>
{
@@ -3613,7 +3610,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IMagneticStripeReaderStatics2>
{
@@ -3622,8 +3619,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IMagneticStripeReaderStatusUpdatedEventArgs>
{
@@ -3632,9 +3629,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IMagneticStripeReaderTrackData>
{
@@ -3643,7 +3640,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::MagneticStripeReaderReport) Report() const;
+ [[nodiscard]] auto Report() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IMagneticStripeReaderVendorSpecificCardDataReceivedEventArgs>
{
@@ -3652,18 +3649,18 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) SupportedCharacterSets() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) SupportedTypeFaces() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterStatus) Status() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::ClaimedPosPrinter>) ClaimPrinterAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) CheckHealthAsync(winrt::Windows::Devices::PointOfService::UnifiedPosHealthCheckLevel const& level) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetStatisticsAsync(param::async_iterable<hstring> const& statisticsCategories) const;
- WINRT_IMPL_AUTO(winrt::event_token) StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::PosPrinter, winrt::Windows::Devices::PointOfService::PosPrinterStatusUpdatedEventArgs> 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<hstring> const& statisticsCategories) const;
+ auto StatusUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::PosPrinter, winrt::Windows::Devices::PointOfService::PosPrinterStatusUpdatedEventArgs> const& handler) const;
using StatusUpdated_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::IPosPrinter, &impl::abi_t<winrt::Windows::Devices::PointOfService::IPosPrinter>::remove_StatusUpdated>;
- [[nodiscard]] StatusUpdated_revoker StatusUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::PosPrinter, winrt::Windows::Devices::PointOfService::PosPrinterStatusUpdatedEventArgs> 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<winrt::Windows::Devices::PointOfService::PosPrinter, winrt::Windows::Devices::PointOfService::PosPrinterStatusUpdatedEventArgs> const& handler) const;
+ auto StatusUpdated(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IPosPrinter>
{
@@ -3672,8 +3669,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IPosPrinter2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) 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<winrt::Windows::Devices::PointOfService::IPosPrinter2>
{
@@ -3682,16 +3679,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IPosPrinterCapabilities>
{
@@ -3700,9 +3697,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IPosPrinterCharacterSetIdsStatics>
{
@@ -3711,9 +3708,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::SizeUInt32>) CharacterSizes() const;
+ [[nodiscard]] auto TypeFace() const;
+ [[nodiscard]] auto IsScalableToAnySize() const;
+ [[nodiscard]] auto CharacterSizes() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IPosPrinterFontProperty>
{
@@ -3722,10 +3719,10 @@ namespace winrt::impl
template <typename D>
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<bool>) 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<winrt::Windows::Devices::PointOfService::IPosPrinterJob>
{
@@ -3734,32 +3731,32 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IPosPrinterPrintOptions>
{
@@ -3776,9 +3773,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IPosPrinterStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::PosPrinter>) GetDefaultAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::PosPrinter>) 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<winrt::Windows::Devices::PointOfService::IPosPrinterStatics>
{
@@ -3787,7 +3784,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IPosPrinterStatics2>
{
@@ -3796,8 +3793,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IPosPrinterStatus>
{
@@ -3806,7 +3803,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_IPosPrinterStatusUpdatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::PointOfService::PosPrinterStatus) Status() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::IPosPrinterStatusUpdatedEventArgs>
{
@@ -3815,21 +3812,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IReceiptOrSlipJob>
{
@@ -3838,9 +3835,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IReceiptPrintJob>
{
@@ -3849,10 +3846,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IReceiptPrintJob2>
{
@@ -3861,9 +3858,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities>
{
@@ -3872,12 +3869,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IReceiptPrinterCapabilities2>
{
@@ -3886,9 +3883,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::ISlipPrintJob>
{
@@ -3897,8 +3894,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities>
{
@@ -3907,12 +3904,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::ISlipPrinterCapabilities2>
{
@@ -3921,10 +3918,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IUnifiedPosErrorData>
{
@@ -3933,7 +3930,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::IUnifiedPosErrorDataFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.1.h
index e72905ad994..225e206a907 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.2.h
index 034b25cee05..e651382bc4a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.0.h
index ba5f2b08c1f..d418a97fefb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerDisableScannerRequest>
{
@@ -558,8 +552,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerDisableScannerRequest2>
{
@@ -568,8 +562,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerDisableScannerRequestEventArgs>
{
@@ -578,8 +572,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerEnableScannerRequest>
{
@@ -588,8 +582,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerEnableScannerRequest2>
{
@@ -598,8 +592,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerEnableScannerRequestEventArgs>
{
@@ -608,14 +602,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReader
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) StartAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StopAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerVideoFrame>) 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<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReaderFrameArrivedEventArgs> const& handler) const;
+ auto StartAsync() const;
+ auto StopAsync() const;
+ auto TryAcquireLatestFrameAsync() const;
+ [[nodiscard]] auto Connection() const;
+ auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReaderFrameArrivedEventArgs> const& handler) const;
using FrameArrived_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReader, &impl::abi_t<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReader>::remove_FrameArrived>;
- [[nodiscard]] FrameArrived_revoker FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReaderFrameArrivedEventArgs> 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<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReaderFrameArrivedEventArgs> const& handler) const;
+ auto FrameArrived(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReader>
{
@@ -624,7 +618,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerFrameReaderFrameArrivedEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerFrameReaderFrameArrivedEventArgs>
{
@@ -633,9 +627,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequest>
{
@@ -644,8 +638,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequest2>
{
@@ -654,8 +648,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerGetSymbologyAttributesRequestEventArgs>
{
@@ -664,8 +658,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerHideVideoPreviewRequest>
{
@@ -674,8 +668,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerHideVideoPreviewRequest2>
{
@@ -684,8 +678,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerHideVideoPreviewRequestEventArgs>
{
@@ -694,52 +688,52 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) 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<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerEnableScannerRequestEventArgs> 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<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerEnableScannerRequestEventArgs> const& handler) const;
using EnableScannerRequested_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection, &impl::abi_t<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection>::remove_EnableScannerRequested>;
- [[nodiscard]] EnableScannerRequested_revoker EnableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerEnableScannerRequestEventArgs> 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<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerDisableScannerRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto EnableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerEnableScannerRequestEventArgs> const& handler) const;
+ auto EnableScannerRequested(winrt::event_token const& token) const noexcept;
+ auto DisableScannerRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerDisableScannerRequestEventArgs> const& handler) const;
using DisableScannerRequested_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection, &impl::abi_t<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection>::remove_DisableScannerRequested>;
- [[nodiscard]] DisableScannerRequested_revoker DisableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerDisableScannerRequestEventArgs> 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<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetActiveSymbologiesRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto DisableScannerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerDisableScannerRequestEventArgs> const& handler) const;
+ auto DisableScannerRequested(winrt::event_token const& token) const noexcept;
+ auto SetActiveSymbologiesRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetActiveSymbologiesRequestEventArgs> const& handler) const;
using SetActiveSymbologiesRequested_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection, &impl::abi_t<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection>::remove_SetActiveSymbologiesRequested>;
- [[nodiscard]] SetActiveSymbologiesRequested_revoker SetActiveSymbologiesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetActiveSymbologiesRequestEventArgs> 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<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStartSoftwareTriggerRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto SetActiveSymbologiesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetActiveSymbologiesRequestEventArgs> const& handler) const;
+ auto SetActiveSymbologiesRequested(winrt::event_token const& token) const noexcept;
+ auto StartSoftwareTriggerRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStartSoftwareTriggerRequestEventArgs> const& handler) const;
using StartSoftwareTriggerRequested_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection, &impl::abi_t<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection>::remove_StartSoftwareTriggerRequested>;
- [[nodiscard]] StartSoftwareTriggerRequested_revoker StartSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStartSoftwareTriggerRequestEventArgs> 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<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStopSoftwareTriggerRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto StartSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStartSoftwareTriggerRequestEventArgs> const& handler) const;
+ auto StartSoftwareTriggerRequested(winrt::event_token const& token) const noexcept;
+ auto StopSoftwareTriggerRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStopSoftwareTriggerRequestEventArgs> const& handler) const;
using StopSoftwareTriggerRequested_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection, &impl::abi_t<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection>::remove_StopSoftwareTriggerRequested>;
- [[nodiscard]] StopSoftwareTriggerRequested_revoker StopSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStopSoftwareTriggerRequestEventArgs> 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<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerGetSymbologyAttributesRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto StopSoftwareTriggerRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerStopSoftwareTriggerRequestEventArgs> const& handler) const;
+ auto StopSoftwareTriggerRequested(winrt::event_token const& token) const noexcept;
+ auto GetBarcodeSymbologyAttributesRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerGetSymbologyAttributesRequestEventArgs> const& handler) const;
using GetBarcodeSymbologyAttributesRequested_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection, &impl::abi_t<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection>::remove_GetBarcodeSymbologyAttributesRequested>;
- [[nodiscard]] GetBarcodeSymbologyAttributesRequested_revoker GetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerGetSymbologyAttributesRequestEventArgs> 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<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetSymbologyAttributesRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto GetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerGetSymbologyAttributesRequestEventArgs> const& handler) const;
+ auto GetBarcodeSymbologyAttributesRequested(winrt::event_token const& token) const noexcept;
+ auto SetBarcodeSymbologyAttributesRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetSymbologyAttributesRequestEventArgs> const& handler) const;
using SetBarcodeSymbologyAttributesRequested_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection, &impl::abi_t<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection>::remove_SetBarcodeSymbologyAttributesRequested>;
- [[nodiscard]] SetBarcodeSymbologyAttributesRequested_revoker SetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetSymbologyAttributesRequestEventArgs> 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<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerHideVideoPreviewRequestEventArgs> const& handler) const;
+ [[nodiscard]] auto SetBarcodeSymbologyAttributesRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerSetSymbologyAttributesRequestEventArgs> const& handler) const;
+ auto SetBarcodeSymbologyAttributesRequested(winrt::event_token const& token) const noexcept;
+ auto HideVideoPreviewRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerHideVideoPreviewRequestEventArgs> const& handler) const;
using HideVideoPreviewRequested_revoker = impl::event_revoker<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection, &impl::abi_t<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection>::remove_HideVideoPreviewRequested>;
- [[nodiscard]] HideVideoPreviewRequested_revoker HideVideoPreviewRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerHideVideoPreviewRequestEventArgs> 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<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerProviderConnection, winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerHideVideoPreviewRequestEventArgs> const& handler) const;
+ auto HideVideoPreviewRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection>
{
@@ -748,9 +742,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerProviderConnection2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader>) CreateFrameReaderAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader>) CreateFrameReaderAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& preferredFormat) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::PointOfService::Provider::BarcodeScannerFrameReader>) 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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderConnection2>
{
@@ -759,7 +753,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerProviderTriggerDetails>
{
@@ -768,9 +762,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_PointOfService_Provider_IBarcodeScannerSetActiveSymbologiesRequest
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) 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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequest>
{
@@ -779,8 +773,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequest2>
{
@@ -789,8 +783,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetActiveSymbologiesRequestEventArgs>
{
@@ -799,10 +793,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequest>
{
@@ -811,8 +805,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequest2>
{
@@ -821,8 +815,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerSetSymbologyAttributesRequestEventArgs>
{
@@ -831,8 +825,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStartSoftwareTriggerRequest>
{
@@ -841,8 +835,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStartSoftwareTriggerRequest2>
{
@@ -851,8 +845,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStartSoftwareTriggerRequestEventArgs>
{
@@ -861,8 +855,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStopSoftwareTriggerRequest>
{
@@ -871,8 +865,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStopSoftwareTriggerRequest2>
{
@@ -881,8 +875,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerStopSoftwareTriggerRequestEventArgs>
{
@@ -891,10 +885,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeScannerVideoFrame>
{
@@ -903,13 +897,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::PointOfService::Provider::IBarcodeSymbologyAttributesBuilder>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.1.h
index 0c52b8c375a..f243c198b49 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.2.h
index 875215b9df5..afb40908ed3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.PointOfService.Provider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.0.h
index f47351b3e50..a51a997bd33 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Devices::Portable::IServiceDeviceStatics>
{
@@ -67,8 +67,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Portable::IStorageDeviceStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.1.h
index 5eaf1b5727c..bcd3fbe0626 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.2.h
index 8859a72b43a..6613f877e18 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Portable.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.0.h
index ad31ee1f78d..2876fd4fd57 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::System::Power
@@ -72,12 +70,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Power::Battery, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto DeviceId() const;
+ auto GetReport() const;
+ auto ReportUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Power::Battery, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ReportUpdated_revoker = impl::event_revoker<winrt::Windows::Devices::Power::IBattery, &impl::abi_t<winrt::Windows::Devices::Power::IBattery>::remove_ReportUpdated>;
- [[nodiscard]] ReportUpdated_revoker ReportUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Power::Battery, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Power::Battery, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ReportUpdated(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Power::IBattery>
{
@@ -86,11 +84,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Power_IBatteryReport
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) ChargeRateInMilliwatts() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) DesignCapacityInMilliwattHours() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) FullChargeCapacityInMilliwattHours() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) 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<winrt::Windows::Devices::Power::IBatteryReport>
{
@@ -99,9 +97,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Power_IBatteryStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Power::Battery) AggregateBattery() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Power::Battery>) 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<winrt::Windows::Devices::Power::IBatteryStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.1.h
index eca1cd521ea..977095cfb52 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.2.h
index 54b2d9e4f0d..9c7fc0643ef 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Power.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.0.h
index 7f02e5ade61..51834f6bb7a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IRandomAccessStreamWithContentType;
@@ -63,7 +59,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Printers_IPrint3DDevice
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Printers::PrintSchema) PrintSchema() const;
+ [[nodiscard]] auto PrintSchema() const;
};
template <> struct consume<winrt::Windows::Devices::Printers::IPrint3DDevice>
{
@@ -72,8 +68,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Printers_IPrint3DDeviceStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Printers::Print3DDevice>) 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<winrt::Windows::Devices::Printers::IPrint3DDeviceStatics>
{
@@ -82,9 +78,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Printers_IPrintSchema
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType>) GetDefaultPrintTicketAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType>) GetCapabilitiesAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType const& constrainTicket) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType>) 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<winrt::Windows::Devices::Printers::IPrintSchema>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.1.h
index 69dc643cc09..830b13cd56b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.2.h
index 52c21c4edc9..8b814bf9acb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.0.h
index 5b819513ead..ef9732bb671 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow, winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowPrintRequestedEventArgs> 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<winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow, winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowPrintRequestedEventArgs> const& eventHandler) const;
using PrintRequested_revoker = impl::event_revoker<winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow, &impl::abi_t<winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow>::remove_PrintRequested>;
- [[nodiscard]] PrintRequested_revoker PrintRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow, winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowPrintRequestedEventArgs> 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<winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow, winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowPrintRequestedEventArgs> const& eventHandler) const;
+ auto PrintRequested(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow>
{
@@ -215,10 +215,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflow2
{
- WINRT_IMPL_AUTO(winrt::event_token) PrinterChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow, winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowPrinterChangedEventArgs> const& eventHandler) const;
+ auto PrinterChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow, winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowPrinterChangedEventArgs> const& eventHandler) const;
using PrinterChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow2, &impl::abi_t<winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow2>::remove_PrinterChanged>;
- [[nodiscard]] PrinterChanged_revoker PrinterChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow, winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowPrinterChangedEventArgs> 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<winrt::Windows::Devices::Printers::Extensions::Print3DWorkflow, winrt::Windows::Devices::Printers::Extensions::Print3DWorkflowPrinterChangedEventArgs> const& eventHandler) const;
+ auto PrinterChanged(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflow2>
{
@@ -227,10 +227,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflowPrintRequestedEventArgs>
{
@@ -239,7 +239,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Printers_Extensions_IPrint3DWorkflowPrinterChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) NewDeviceId() const;
+ [[nodiscard]] auto NewDeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::Printers::Extensions::IPrint3DWorkflowPrinterChangedEventArgs>
{
@@ -248,7 +248,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Printers::Extensions::IPrintExtensionContextStatic>
{
@@ -257,9 +257,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Printers::Extensions::IPrintNotificationEventDetails>
{
@@ -268,11 +268,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Printers::Extensions::PrintTaskConfiguration, winrt::Windows::Devices::Printers::Extensions::PrintTaskConfigurationSaveRequestedEventArgs> const& eventHandler) const;
+ [[nodiscard]] auto PrinterExtensionContext() const;
+ auto SaveRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::PrintTaskConfiguration, winrt::Windows::Devices::Printers::Extensions::PrintTaskConfigurationSaveRequestedEventArgs> const& eventHandler) const;
using SaveRequested_revoker = impl::event_revoker<winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfiguration, &impl::abi_t<winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfiguration>::remove_SaveRequested>;
- [[nodiscard]] SaveRequested_revoker SaveRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Printers::Extensions::PrintTaskConfiguration, winrt::Windows::Devices::Printers::Extensions::PrintTaskConfigurationSaveRequestedEventArgs> 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<winrt::Windows::Devices::Printers::Extensions::PrintTaskConfiguration, winrt::Windows::Devices::Printers::Extensions::PrintTaskConfigurationSaveRequestedEventArgs> const& eventHandler) const;
+ auto SaveRequested(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfiguration>
{
@@ -281,10 +281,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequest>
{
@@ -293,7 +293,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Printers_Extensions_IPrintTaskConfigurationSaveRequestedDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequestedDeferral>
{
@@ -302,7 +302,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Printers::Extensions::IPrintTaskConfigurationSaveRequestedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.1.h
index db758bda36f..3822f499dac 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.2.h
index e8c715cd3dc..2452f5857ad 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Printers.Extensions.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.0.h
index 582688b4d6a..e8cf53f72fe 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
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<winrt::Windows::Devices::Pwm::IPwmController>
{
@@ -121,7 +113,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Pwm_IPwmControllerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Pwm::PwmController>>) GetControllersAsync(winrt::Windows::Devices::Pwm::Provider::IPwmProvider const& provider) const;
+ auto GetControllersAsync(winrt::Windows::Devices::Pwm::Provider::IPwmProvider const& provider) const;
};
template <> struct consume<winrt::Windows::Devices::Pwm::IPwmControllerStatics>
{
@@ -130,7 +122,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Pwm_IPwmControllerStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Pwm::PwmController>) GetDefaultAsync() const;
+ auto GetDefaultAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Pwm::IPwmControllerStatics2>
{
@@ -139,9 +131,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Pwm::PwmController>) 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<winrt::Windows::Devices::Pwm::IPwmControllerStatics3>
{
@@ -150,14 +142,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Pwm::IPwmPin>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.1.h
index 3c16d03c4d1..b95530f5a22 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.2.h
index 883b01aa83c..bdd4466e40a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.0.h
index 7c437174119..df2dc84c52c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Devices::Pwm::Provider
{
struct IPwmControllerProvider;
@@ -46,16 +42,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider>
{
@@ -64,7 +60,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Pwm_Provider_IPwmProvider
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Pwm::Provider::IPwmControllerProvider>) GetControllers() const;
+ auto GetControllers() const;
};
template <> struct consume<winrt::Windows::Devices::Pwm::Provider::IPwmProvider>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.1.h
index df4523574f7..eaa1a9dfbac 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.2.h
index 2cdb5d6f812..7d110663d34 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Pwm.Provider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.0.h
index 0254f72314d..d2b4d8707b1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
struct consume_Windows_Devices_Radios_IRadio
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Radios::RadioAccessStatus>) SetStateAsync(winrt::Windows::Devices::Radios::RadioState const& value) const;
- WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Radios::Radio, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SetStateAsync(winrt::Windows::Devices::Radios::RadioState const& value) const;
+ auto StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Radios::Radio, winrt::Windows::Foundation::IInspectable> const& handler) const;
using StateChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Radios::IRadio, &impl::abi_t<winrt::Windows::Devices::Radios::IRadio>::remove_StateChanged>;
- [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Radios::Radio, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Radios::Radio, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Radios::IRadio>
{
@@ -99,10 +94,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Radios_IRadioStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Radios::Radio>>) GetRadiosAsync() const;
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Radios::Radio>) FromIdAsync(param::hstring const& deviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Radios::RadioAccessStatus>) RequestAccessAsync() const;
+ auto GetRadiosAsync() const;
+ auto GetDeviceSelector() const;
+ auto FromIdAsync(param::hstring const& deviceId) const;
+ auto RequestAccessAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Radios::IRadioStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.1.h
index 1c5636b454a..22a90825d72 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.2.h
index 9d9621c9750..91d9cc72ba9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Radios.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.0.h
index 5579e13cab5..26e304d8441 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Rect;
struct Size;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
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<winrt::Windows::Devices::Scanners::ImageScannerPreviewResult>) ScanPreviewToStreamAsync(winrt::Windows::Devices::Scanners::ImageScannerScanSource const& scanSource, winrt::Windows::Storage::Streams::IRandomAccessStream const& targetStream) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Devices::Scanners::ImageScannerScanResult, uint32_t>) 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<winrt::Windows::Devices::Scanners::IImageScanner>
{
@@ -252,23 +245,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Scanners::IImageScannerFeederConfiguration>
{
@@ -277,10 +270,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Scanners::IImageScannerFormatConfiguration>
{
@@ -289,8 +282,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Scanners::IImageScannerPreviewResult>
{
@@ -299,7 +292,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Scanners_IImageScannerScanResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>) ScannedFiles() const;
+ [[nodiscard]] auto ScannedFiles() const;
};
template <> struct consume<winrt::Windows::Devices::Scanners::IImageScannerScanResult>
{
@@ -308,35 +301,35 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Scanners::IImageScannerSourceConfiguration>
{
@@ -345,8 +338,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Scanners_IImageScannerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Scanners::ImageScanner>) 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<winrt::Windows::Devices::Scanners::IImageScannerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.1.h
index 121babedee0..dd4585e1998 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.2.h
index cb7de48a0d0..1b1a9e0fe06 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Scanners.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.0.h
index de133425b04..345c1b69838 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct IClosable;
- template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<winrt::Windows::Devices::Sensors::Accelerometer, winrt::Windows::Devices::Sensors::AccelerometerReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Accelerometer, winrt::Windows::Devices::Sensors::AccelerometerReadingChangedEventArgs> const& handler) const;
using ReadingChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sensors::IAccelerometer, &impl::abi_t<winrt::Windows::Devices::Sensors::IAccelerometer>::remove_ReadingChanged>;
- [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Accelerometer, winrt::Windows::Devices::Sensors::AccelerometerReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Accelerometer, winrt::Windows::Devices::Sensors::AccelerometerShakenEventArgs> const& handler) const;
+ [[nodiscard]] auto ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Accelerometer, winrt::Windows::Devices::Sensors::AccelerometerReadingChangedEventArgs> const& handler) const;
+ auto ReadingChanged(winrt::event_token const& token) const noexcept;
+ auto Shaken(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Accelerometer, winrt::Windows::Devices::Sensors::AccelerometerShakenEventArgs> const& handler) const;
using Shaken_revoker = impl::event_revoker<winrt::Windows::Devices::Sensors::IAccelerometer, &impl::abi_t<winrt::Windows::Devices::Sensors::IAccelerometer>::remove_Shaken>;
- [[nodiscard]] Shaken_revoker Shaken(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Accelerometer, winrt::Windows::Devices::Sensors::AccelerometerShakenEventArgs> 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<winrt::Windows::Devices::Sensors::Accelerometer, winrt::Windows::Devices::Sensors::AccelerometerShakenEventArgs> const& handler) const;
+ auto Shaken(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IAccelerometer>
{
@@ -2019,8 +2011,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IAccelerometer2>
{
@@ -2029,9 +2021,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IAccelerometer3>
{
@@ -2040,7 +2032,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IAccelerometer4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AccelerometerReadingType) ReadingType() const;
+ [[nodiscard]] auto ReadingType() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IAccelerometer4>
{
@@ -2049,7 +2041,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IAccelerometer5
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AccelerometerDataThreshold) ReportThreshold() const;
+ [[nodiscard]] auto ReportThreshold() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IAccelerometer5>
{
@@ -2058,12 +2050,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IAccelerometerDataThreshold>
{
@@ -2072,7 +2064,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IAccelerometerDeviceId
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
+ [[nodiscard]] auto DeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IAccelerometerDeviceId>
{
@@ -2081,10 +2073,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IAccelerometerReading>
{
@@ -2093,8 +2085,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IAccelerometerReading2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) PerformanceCount() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto PerformanceCount() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IAccelerometerReading2>
{
@@ -2103,7 +2095,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IAccelerometerReadingChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AccelerometerReading) Reading() const;
+ [[nodiscard]] auto Reading() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IAccelerometerReadingChangedEventArgs>
{
@@ -2112,7 +2104,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IAccelerometerShakenEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::DateTime) Timestamp() const;
+ [[nodiscard]] auto Timestamp() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IAccelerometerShakenEventArgs>
{
@@ -2121,7 +2113,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IAccelerometerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Accelerometer) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IAccelerometerStatics>
{
@@ -2130,7 +2122,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IAccelerometerStatics2>
{
@@ -2139,8 +2131,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IAccelerometerStatics3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Accelerometer>) 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<winrt::Windows::Devices::Sensors::IAccelerometerStatics3>
{
@@ -2149,16 +2141,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IActivitySensor
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::ActivitySensorReading>) GetCurrentReadingAsync() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Sensors::ActivityType>) 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<winrt::Windows::Devices::Sensors::ActivityType>) SupportedActivities() const;
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MinimumReportInterval() const;
- WINRT_IMPL_AUTO(winrt::event_token) ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::ActivitySensor, winrt::Windows::Devices::Sensors::ActivitySensorReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::ActivitySensor, winrt::Windows::Devices::Sensors::ActivitySensorReadingChangedEventArgs> const& handler) const;
using ReadingChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sensors::IActivitySensor, &impl::abi_t<winrt::Windows::Devices::Sensors::IActivitySensor>::remove_ReadingChanged>;
- [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::ActivitySensor, winrt::Windows::Devices::Sensors::ActivitySensorReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::ActivitySensor, winrt::Windows::Devices::Sensors::ActivitySensorReadingChangedEventArgs> const& handler) const;
+ auto ReadingChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IActivitySensor>
{
@@ -2167,9 +2159,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IActivitySensorReading>
{
@@ -2178,7 +2170,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IActivitySensorReadingChangeReport
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ActivitySensorReading) Reading() const;
+ [[nodiscard]] auto Reading() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IActivitySensorReadingChangeReport>
{
@@ -2187,7 +2179,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IActivitySensorReadingChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ActivitySensorReading) Reading() const;
+ [[nodiscard]] auto Reading() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IActivitySensorReadingChangedEventArgs>
{
@@ -2196,11 +2188,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IActivitySensorStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::ActivitySensor>) GetDefaultAsync() const;
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::ActivitySensor>) FromIdAsync(param::hstring const& deviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::ActivitySensorReading>>) GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::ActivitySensorReading>>) 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<winrt::Windows::Devices::Sensors::IActivitySensorStatics>
{
@@ -2209,7 +2201,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IActivitySensorTriggerDetails
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::ActivitySensorReadingChangeReport>) ReadReports() const;
+ auto ReadReports() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IActivitySensorTriggerDetails>
{
@@ -2218,15 +2210,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::Altimeter, winrt::Windows::Devices::Sensors::AltimeterReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Altimeter, winrt::Windows::Devices::Sensors::AltimeterReadingChangedEventArgs> const& handler) const;
using ReadingChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sensors::IAltimeter, &impl::abi_t<winrt::Windows::Devices::Sensors::IAltimeter>::remove_ReadingChanged>;
- [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Altimeter, winrt::Windows::Devices::Sensors::AltimeterReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Altimeter, winrt::Windows::Devices::Sensors::AltimeterReadingChangedEventArgs> const& handler) const;
+ auto ReadingChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IAltimeter>
{
@@ -2235,9 +2227,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IAltimeter2>
{
@@ -2246,8 +2238,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IAltimeterReading>
{
@@ -2256,8 +2248,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IAltimeterReading2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) PerformanceCount() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto PerformanceCount() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IAltimeterReading2>
{
@@ -2266,7 +2258,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IAltimeterReadingChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::AltimeterReading) Reading() const;
+ [[nodiscard]] auto Reading() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IAltimeterReadingChangedEventArgs>
{
@@ -2275,7 +2267,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IAltimeterStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Altimeter) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IAltimeterStatics>
{
@@ -2284,15 +2276,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::Barometer, winrt::Windows::Devices::Sensors::BarometerReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Barometer, winrt::Windows::Devices::Sensors::BarometerReadingChangedEventArgs> const& handler) const;
using ReadingChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sensors::IBarometer, &impl::abi_t<winrt::Windows::Devices::Sensors::IBarometer>::remove_ReadingChanged>;
- [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Barometer, winrt::Windows::Devices::Sensors::BarometerReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Barometer, winrt::Windows::Devices::Sensors::BarometerReadingChangedEventArgs> const& handler) const;
+ auto ReadingChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IBarometer>
{
@@ -2301,9 +2293,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IBarometer2>
{
@@ -2312,7 +2304,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IBarometer3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::BarometerDataThreshold) ReportThreshold() const;
+ [[nodiscard]] auto ReportThreshold() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IBarometer3>
{
@@ -2321,8 +2313,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IBarometerDataThreshold>
{
@@ -2331,8 +2323,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IBarometerReading>
{
@@ -2341,8 +2333,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IBarometerReading2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) PerformanceCount() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto PerformanceCount() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IBarometerReading2>
{
@@ -2351,7 +2343,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IBarometerReadingChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::BarometerReading) Reading() const;
+ [[nodiscard]] auto Reading() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IBarometerReadingChangedEventArgs>
{
@@ -2360,7 +2352,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IBarometerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Barometer) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IBarometerStatics>
{
@@ -2369,8 +2361,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IBarometerStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Barometer>) 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<winrt::Windows::Devices::Sensors::IBarometerStatics2>
{
@@ -2379,14 +2371,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::Compass, winrt::Windows::Devices::Sensors::CompassReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Compass, winrt::Windows::Devices::Sensors::CompassReadingChangedEventArgs> const& handler) const;
using ReadingChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sensors::ICompass, &impl::abi_t<winrt::Windows::Devices::Sensors::ICompass>::remove_ReadingChanged>;
- [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Compass, winrt::Windows::Devices::Sensors::CompassReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Compass, winrt::Windows::Devices::Sensors::CompassReadingChangedEventArgs> const& handler) const;
+ auto ReadingChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ICompass>
{
@@ -2395,8 +2387,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::ICompass2>
{
@@ -2405,9 +2397,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::ICompass3>
{
@@ -2416,7 +2408,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_ICompass4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::CompassDataThreshold) ReportThreshold() const;
+ [[nodiscard]] auto ReportThreshold() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ICompass4>
{
@@ -2425,8 +2417,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::ICompassDataThreshold>
{
@@ -2435,7 +2427,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_ICompassDeviceId
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
+ [[nodiscard]] auto DeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ICompassDeviceId>
{
@@ -2444,9 +2436,9 @@ namespace winrt::impl
template <typename D>
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<double>) HeadingTrueNorth() const;
+ [[nodiscard]] auto Timestamp() const;
+ [[nodiscard]] auto HeadingMagneticNorth() const;
+ [[nodiscard]] auto HeadingTrueNorth() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ICompassReading>
{
@@ -2455,8 +2447,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_ICompassReading2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) PerformanceCount() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto PerformanceCount() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ICompassReading2>
{
@@ -2465,7 +2457,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_ICompassReadingChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::CompassReading) Reading() const;
+ [[nodiscard]] auto Reading() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ICompassReadingChangedEventArgs>
{
@@ -2474,7 +2466,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_ICompassReadingHeadingAccuracy
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerAccuracy) HeadingAccuracy() const;
+ [[nodiscard]] auto HeadingAccuracy() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ICompassReadingHeadingAccuracy>
{
@@ -2483,7 +2475,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_ICompassStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Compass) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ICompassStatics>
{
@@ -2492,8 +2484,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_ICompassStatics2
{
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Compass>) FromIdAsync(param::hstring const& deviceId) const;
+ auto GetDeviceSelector() const;
+ auto FromIdAsync(param::hstring const& deviceId) const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ICompassStatics2>
{
@@ -2502,14 +2494,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::Gyrometer, winrt::Windows::Devices::Sensors::GyrometerReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Gyrometer, winrt::Windows::Devices::Sensors::GyrometerReadingChangedEventArgs> const& handler) const;
using ReadingChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sensors::IGyrometer, &impl::abi_t<winrt::Windows::Devices::Sensors::IGyrometer>::remove_ReadingChanged>;
- [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Gyrometer, winrt::Windows::Devices::Sensors::GyrometerReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Gyrometer, winrt::Windows::Devices::Sensors::GyrometerReadingChangedEventArgs> const& handler) const;
+ auto ReadingChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IGyrometer>
{
@@ -2518,8 +2510,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IGyrometer2>
{
@@ -2528,9 +2520,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IGyrometer3>
{
@@ -2539,7 +2531,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IGyrometer4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::GyrometerDataThreshold) ReportThreshold() const;
+ [[nodiscard]] auto ReportThreshold() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IGyrometer4>
{
@@ -2548,12 +2540,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IGyrometerDataThreshold>
{
@@ -2562,7 +2554,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IGyrometerDeviceId
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
+ [[nodiscard]] auto DeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IGyrometerDeviceId>
{
@@ -2571,10 +2563,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IGyrometerReading>
{
@@ -2583,8 +2575,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IGyrometerReading2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) PerformanceCount() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto PerformanceCount() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IGyrometerReading2>
{
@@ -2593,7 +2585,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IGyrometerReadingChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::GyrometerReading) Reading() const;
+ [[nodiscard]] auto Reading() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IGyrometerReadingChangedEventArgs>
{
@@ -2602,7 +2594,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IGyrometerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Gyrometer) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IGyrometerStatics>
{
@@ -2611,8 +2603,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IGyrometerStatics2
{
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Gyrometer>) FromIdAsync(param::hstring const& deviceId) const;
+ auto GetDeviceSelector() const;
+ auto FromIdAsync(param::hstring const& deviceId) const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IGyrometerStatics2>
{
@@ -2621,9 +2613,9 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto Timestamp() const;
+ [[nodiscard]] auto AngleInDegrees() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IHingeAngleReading>
{
@@ -2632,15 +2624,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IHingeAngleSensor
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::HingeAngleReading>) 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<winrt::Windows::Devices::Sensors::HingeAngleSensor, winrt::Windows::Devices::Sensors::HingeAngleSensorReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::HingeAngleSensor, winrt::Windows::Devices::Sensors::HingeAngleSensorReadingChangedEventArgs> const& handler) const;
using ReadingChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sensors::IHingeAngleSensor, &impl::abi_t<winrt::Windows::Devices::Sensors::IHingeAngleSensor>::remove_ReadingChanged>;
- [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::HingeAngleSensor, winrt::Windows::Devices::Sensors::HingeAngleSensorReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::HingeAngleSensor, winrt::Windows::Devices::Sensors::HingeAngleSensorReadingChangedEventArgs> const& handler) const;
+ auto ReadingChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IHingeAngleSensor>
{
@@ -2649,7 +2641,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IHingeAngleSensorReadingChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::HingeAngleReading) Reading() const;
+ [[nodiscard]] auto Reading() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IHingeAngleSensorReadingChangedEventArgs>
{
@@ -2658,10 +2650,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IHingeAngleSensorStatics
{
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::HingeAngleSensor>) GetDefaultAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::HingeAngleSensor>) GetRelatedToAdjacentPanelsAsync(param::hstring const& firstPanelId, param::hstring const& secondPanelId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::HingeAngleSensor>) 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<winrt::Windows::Devices::Sensors::IHingeAngleSensorStatics>
{
@@ -2670,14 +2662,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::Inclinometer, winrt::Windows::Devices::Sensors::InclinometerReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Inclinometer, winrt::Windows::Devices::Sensors::InclinometerReadingChangedEventArgs> const& handler) const;
using ReadingChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sensors::IInclinometer, &impl::abi_t<winrt::Windows::Devices::Sensors::IInclinometer>::remove_ReadingChanged>;
- [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Inclinometer, winrt::Windows::Devices::Sensors::InclinometerReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Inclinometer, winrt::Windows::Devices::Sensors::InclinometerReadingChangedEventArgs> const& handler) const;
+ auto ReadingChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IInclinometer>
{
@@ -2686,9 +2678,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IInclinometer2>
{
@@ -2697,9 +2689,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IInclinometer3>
{
@@ -2708,7 +2700,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IInclinometer4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::InclinometerDataThreshold) ReportThreshold() const;
+ [[nodiscard]] auto ReportThreshold() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IInclinometer4>
{
@@ -2717,12 +2709,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IInclinometerDataThreshold>
{
@@ -2731,7 +2723,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IInclinometerDeviceId
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
+ [[nodiscard]] auto DeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IInclinometerDeviceId>
{
@@ -2740,10 +2732,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IInclinometerReading>
{
@@ -2752,8 +2744,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IInclinometerReading2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) PerformanceCount() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto PerformanceCount() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IInclinometerReading2>
{
@@ -2762,7 +2754,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IInclinometerReadingChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::InclinometerReading) Reading() const;
+ [[nodiscard]] auto Reading() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IInclinometerReadingChangedEventArgs>
{
@@ -2771,7 +2763,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IInclinometerReadingYawAccuracy
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerAccuracy) YawAccuracy() const;
+ [[nodiscard]] auto YawAccuracy() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IInclinometerReadingYawAccuracy>
{
@@ -2780,7 +2772,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IInclinometerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Inclinometer) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IInclinometerStatics>
{
@@ -2789,7 +2781,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IInclinometerStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Inclinometer) GetDefaultForRelativeReadings() const;
+ auto GetDefaultForRelativeReadings() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IInclinometerStatics2>
{
@@ -2798,7 +2790,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IInclinometerStatics3>
{
@@ -2807,8 +2799,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::Inclinometer>) 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<winrt::Windows::Devices::Sensors::IInclinometerStatics4>
{
@@ -2817,14 +2809,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::LightSensor, winrt::Windows::Devices::Sensors::LightSensorReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::LightSensor, winrt::Windows::Devices::Sensors::LightSensorReadingChangedEventArgs> const& handler) const;
using ReadingChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sensors::ILightSensor, &impl::abi_t<winrt::Windows::Devices::Sensors::ILightSensor>::remove_ReadingChanged>;
- [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::LightSensor, winrt::Windows::Devices::Sensors::LightSensorReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::LightSensor, winrt::Windows::Devices::Sensors::LightSensorReadingChangedEventArgs> const& handler) const;
+ auto ReadingChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ILightSensor>
{
@@ -2833,9 +2825,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::ILightSensor2>
{
@@ -2844,7 +2836,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_ILightSensor3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::LightSensorDataThreshold) ReportThreshold() const;
+ [[nodiscard]] auto ReportThreshold() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ILightSensor3>
{
@@ -2853,10 +2845,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::ILightSensorDataThreshold>
{
@@ -2865,7 +2857,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_ILightSensorDeviceId
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
+ [[nodiscard]] auto DeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ILightSensorDeviceId>
{
@@ -2874,8 +2866,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::ILightSensorReading>
{
@@ -2884,8 +2876,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_ILightSensorReading2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) PerformanceCount() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto PerformanceCount() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ILightSensorReading2>
{
@@ -2894,7 +2886,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_ILightSensorReadingChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::LightSensorReading) Reading() const;
+ [[nodiscard]] auto Reading() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ILightSensorReadingChangedEventArgs>
{
@@ -2903,7 +2895,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_ILightSensorStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::LightSensor) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ILightSensorStatics>
{
@@ -2912,8 +2904,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_ILightSensorStatics2
{
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::LightSensor>) FromIdAsync(param::hstring const& deviceId) const;
+ auto GetDeviceSelector() const;
+ auto FromIdAsync(param::hstring const& deviceId) const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ILightSensorStatics2>
{
@@ -2922,14 +2914,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::Magnetometer, winrt::Windows::Devices::Sensors::MagnetometerReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Magnetometer, winrt::Windows::Devices::Sensors::MagnetometerReadingChangedEventArgs> const& handler) const;
using ReadingChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sensors::IMagnetometer, &impl::abi_t<winrt::Windows::Devices::Sensors::IMagnetometer>::remove_ReadingChanged>;
- [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Magnetometer, winrt::Windows::Devices::Sensors::MagnetometerReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Magnetometer, winrt::Windows::Devices::Sensors::MagnetometerReadingChangedEventArgs> const& handler) const;
+ auto ReadingChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IMagnetometer>
{
@@ -2938,8 +2930,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IMagnetometer2>
{
@@ -2948,9 +2940,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IMagnetometer3>
{
@@ -2959,7 +2951,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IMagnetometer4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerDataThreshold) ReportThreshold() const;
+ [[nodiscard]] auto ReportThreshold() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IMagnetometer4>
{
@@ -2968,12 +2960,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IMagnetometerDataThreshold>
{
@@ -2982,7 +2974,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IMagnetometerDeviceId
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
+ [[nodiscard]] auto DeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IMagnetometerDeviceId>
{
@@ -2991,11 +2983,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IMagnetometerReading>
{
@@ -3004,8 +2996,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IMagnetometerReading2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) PerformanceCount() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto PerformanceCount() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IMagnetometerReading2>
{
@@ -3014,7 +3006,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IMagnetometerReadingChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerReading) Reading() const;
+ [[nodiscard]] auto Reading() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IMagnetometerReadingChangedEventArgs>
{
@@ -3023,7 +3015,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IMagnetometerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::Magnetometer) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IMagnetometerStatics>
{
@@ -3032,8 +3024,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IMagnetometerStatics2
{
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Magnetometer>) FromIdAsync(param::hstring const& deviceId) const;
+ auto GetDeviceSelector() const;
+ auto FromIdAsync(param::hstring const& deviceId) const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IMagnetometerStatics2>
{
@@ -3042,14 +3034,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::OrientationSensor, winrt::Windows::Devices::Sensors::OrientationSensorReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::OrientationSensor, winrt::Windows::Devices::Sensors::OrientationSensorReadingChangedEventArgs> const& handler) const;
using ReadingChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sensors::IOrientationSensor, &impl::abi_t<winrt::Windows::Devices::Sensors::IOrientationSensor>::remove_ReadingChanged>;
- [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::OrientationSensor, winrt::Windows::Devices::Sensors::OrientationSensorReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::OrientationSensor, winrt::Windows::Devices::Sensors::OrientationSensorReadingChangedEventArgs> const& handler) const;
+ auto ReadingChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IOrientationSensor>
{
@@ -3058,9 +3050,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IOrientationSensor2>
{
@@ -3069,9 +3061,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IOrientationSensor3>
{
@@ -3080,7 +3072,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IOrientationSensorDeviceId
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
+ [[nodiscard]] auto DeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IOrientationSensorDeviceId>
{
@@ -3089,9 +3081,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IOrientationSensorReading>
{
@@ -3100,8 +3092,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IOrientationSensorReading2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) PerformanceCount() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto PerformanceCount() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IOrientationSensorReading2>
{
@@ -3110,7 +3102,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IOrientationSensorReadingChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensorReading) Reading() const;
+ [[nodiscard]] auto Reading() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IOrientationSensorReadingChangedEventArgs>
{
@@ -3119,7 +3111,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IOrientationSensorReadingYawAccuracy
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::MagnetometerAccuracy) YawAccuracy() const;
+ [[nodiscard]] auto YawAccuracy() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IOrientationSensorReadingYawAccuracy>
{
@@ -3128,7 +3120,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IOrientationSensorStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensor) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IOrientationSensorStatics>
{
@@ -3137,7 +3129,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IOrientationSensorStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::OrientationSensor) GetDefaultForRelativeReadings() const;
+ auto GetDefaultForRelativeReadings() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IOrientationSensorStatics2>
{
@@ -3146,8 +3138,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IOrientationSensorStatics3>
{
@@ -3156,9 +3148,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::OrientationSensor>) 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<winrt::Windows::Devices::Sensors::IOrientationSensorStatics4>
{
@@ -3167,15 +3159,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::Pedometer, winrt::Windows::Devices::Sensors::PedometerReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Pedometer, winrt::Windows::Devices::Sensors::PedometerReadingChangedEventArgs> const& handler) const;
using ReadingChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sensors::IPedometer, &impl::abi_t<winrt::Windows::Devices::Sensors::IPedometer>::remove_ReadingChanged>;
- [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Pedometer, winrt::Windows::Devices::Sensors::PedometerReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Pedometer, winrt::Windows::Devices::Sensors::PedometerReadingChangedEventArgs> const& handler) const;
+ auto ReadingChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IPedometer>
{
@@ -3184,7 +3176,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IPedometer2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::Windows::Devices::Sensors::PedometerStepKind, winrt::Windows::Devices::Sensors::PedometerReading>) GetCurrentReadings() const;
+ auto GetCurrentReadings() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IPedometer2>
{
@@ -3193,7 +3185,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IPedometerDataThresholdFactory>
{
@@ -3202,10 +3194,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IPedometerReading>
{
@@ -3214,7 +3206,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IPedometerReadingChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::PedometerReading) Reading() const;
+ [[nodiscard]] auto Reading() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IPedometerReadingChangedEventArgs>
{
@@ -3223,11 +3215,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IPedometerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Pedometer>) FromIdAsync(param::hstring const& deviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Pedometer>) GetDefaultAsync() const;
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::PedometerReading>>) GetSystemHistoryAsync(winrt::Windows::Foundation::DateTime const& fromTime) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::PedometerReading>>) 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<winrt::Windows::Devices::Sensors::IPedometerStatics>
{
@@ -3236,7 +3228,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IPedometerStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::PedometerReading>) GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails) const;
+ auto GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails) const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IPedometerStatics2>
{
@@ -3245,15 +3237,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IProximitySensor
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) MaxDistanceInMillimeters() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) MinDistanceInMillimeters() const;
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ProximitySensorReading) GetCurrentReading() const;
- WINRT_IMPL_AUTO(winrt::event_token) ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::ProximitySensor, winrt::Windows::Devices::Sensors::ProximitySensorReadingChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto DeviceId() const;
+ [[nodiscard]] auto MaxDistanceInMillimeters() const;
+ [[nodiscard]] auto MinDistanceInMillimeters() const;
+ auto GetCurrentReading() const;
+ auto ReadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::ProximitySensor, winrt::Windows::Devices::Sensors::ProximitySensorReadingChangedEventArgs> const& handler) const;
using ReadingChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sensors::IProximitySensor, &impl::abi_t<winrt::Windows::Devices::Sensors::IProximitySensor>::remove_ReadingChanged>;
- [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::ProximitySensor, winrt::Windows::Devices::Sensors::ProximitySensorReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::ProximitySensor, winrt::Windows::Devices::Sensors::ProximitySensorReadingChangedEventArgs> const& handler) const;
+ auto ReadingChanged(winrt::event_token const& token) const noexcept;
+ auto CreateDisplayOnOffController() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IProximitySensor>
{
@@ -3262,7 +3254,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IProximitySensorDataThresholdFactory>
{
@@ -3271,9 +3263,9 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) DistanceInMillimeters() const;
+ [[nodiscard]] auto Timestamp() const;
+ [[nodiscard]] auto IsDetected() const;
+ [[nodiscard]] auto DistanceInMillimeters() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IProximitySensorReading>
{
@@ -3282,7 +3274,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IProximitySensorReadingChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::ProximitySensorReading) Reading() const;
+ [[nodiscard]] auto Reading() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IProximitySensorReadingChangedEventArgs>
{
@@ -3291,8 +3283,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::IProximitySensorStatics>
{
@@ -3301,7 +3293,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_IProximitySensorStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sensors::ProximitySensorReading>) GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails) const;
+ auto GetReadingsFromTriggerDetails(winrt::Windows::Devices::Sensors::SensorDataThresholdTriggerDetails const& triggerDetails) const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::IProximitySensorStatics2>
{
@@ -3318,8 +3310,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::ISensorDataThresholdTriggerDetails>
{
@@ -3328,10 +3320,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::ISensorQuaternion>
{
@@ -3340,15 +3332,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::ISensorRotationMatrix>
{
@@ -3357,11 +3349,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::SimpleOrientationSensor, winrt::Windows::Devices::Sensors::SimpleOrientationSensorOrientationChangedEventArgs> const& handler) const;
+ auto GetCurrentOrientation() const;
+ auto OrientationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::SimpleOrientationSensor, winrt::Windows::Devices::Sensors::SimpleOrientationSensorOrientationChangedEventArgs> const& handler) const;
using OrientationChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sensors::ISimpleOrientationSensor, &impl::abi_t<winrt::Windows::Devices::Sensors::ISimpleOrientationSensor>::remove_OrientationChanged>;
- [[nodiscard]] OrientationChanged_revoker OrientationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::SimpleOrientationSensor, winrt::Windows::Devices::Sensors::SimpleOrientationSensorOrientationChangedEventArgs> 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<winrt::Windows::Devices::Sensors::SimpleOrientationSensor, winrt::Windows::Devices::Sensors::SimpleOrientationSensorOrientationChangedEventArgs> const& handler) const;
+ auto OrientationChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ISimpleOrientationSensor>
{
@@ -3370,8 +3362,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::ISimpleOrientationSensor2>
{
@@ -3380,7 +3372,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_ISimpleOrientationSensorDeviceId
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
+ [[nodiscard]] auto DeviceId() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ISimpleOrientationSensorDeviceId>
{
@@ -3389,8 +3381,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::ISimpleOrientationSensorOrientationChangedEventArgs>
{
@@ -3399,7 +3391,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Sensors::SimpleOrientationSensor) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ISimpleOrientationSensorStatics>
{
@@ -3408,8 +3400,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_ISimpleOrientationSensorStatics2
{
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::SimpleOrientationSensor>) FromIdAsync(param::hstring const& deviceId) const;
+ auto GetDeviceSelector() const;
+ auto FromIdAsync(param::hstring const& deviceId) const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::ISimpleOrientationSensorStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.1.h
index c2cbe86d027..93eacd54846 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.2.h
index 81b426761f8..50d15958fad 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.0.h
index 68568ae2898..587d22fe01f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
-}
WINRT_EXPORT namespace winrt::Windows::Devices::Sensors::Custom
{
struct ICustomSensor;
@@ -110,15 +104,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::Custom::CustomSensor, winrt::Windows::Devices::Sensors::Custom::CustomSensorReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Custom::CustomSensor, winrt::Windows::Devices::Sensors::Custom::CustomSensorReadingChangedEventArgs> const& handler) const;
using ReadingChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sensors::Custom::ICustomSensor, &impl::abi_t<winrt::Windows::Devices::Sensors::Custom::ICustomSensor>::remove_ReadingChanged>;
- [[nodiscard]] ReadingChanged_revoker ReadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sensors::Custom::CustomSensor, winrt::Windows::Devices::Sensors::Custom::CustomSensorReadingChangedEventArgs> 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<winrt::Windows::Devices::Sensors::Custom::CustomSensor, winrt::Windows::Devices::Sensors::Custom::CustomSensorReadingChangedEventArgs> const& handler) const;
+ auto ReadingChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sensors::Custom::ICustomSensor>
{
@@ -127,9 +121,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::Custom::ICustomSensor2>
{
@@ -138,8 +132,8 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto Timestamp() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::Custom::ICustomSensorReading>
{
@@ -148,7 +142,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_Custom_ICustomSensorReading2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) PerformanceCount() const;
+ [[nodiscard]] auto PerformanceCount() const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::Custom::ICustomSensorReading2>
{
@@ -157,7 +151,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sensors::Custom::ICustomSensorReadingChangedEventArgs>
{
@@ -166,8 +160,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sensors_Custom_ICustomSensorStatics
{
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector(winrt::guid const& interfaceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sensors::Custom::CustomSensor>) FromIdAsync(param::hstring const& sensorId) const;
+ auto GetDeviceSelector(winrt::guid const& interfaceId) const;
+ auto FromIdAsync(param::hstring const& sensorId) const;
};
template <> struct consume<winrt::Windows::Devices::Sensors::Custom::ICustomSensorStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.1.h
index 48516e3b4e3..1f2ee4e602b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.2.h
index e21bbdc3dd2..ad4fd166d24 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sensors.Custom.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.0.h
index 6d77a1e3d30..b78e4586207 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
@@ -160,7 +159,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SerialCommunication_IErrorReceivedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SerialCommunication::SerialError) Error() const;
+ [[nodiscard]] auto Error() const;
};
template <> struct consume<winrt::Windows::Devices::SerialCommunication::IErrorReceivedEventArgs>
{
@@ -169,7 +168,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SerialCommunication_IPinChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SerialCommunication::SerialPinChange) PinChange() const;
+ [[nodiscard]] auto PinChange() const;
};
template <> struct consume<winrt::Windows::Devices::SerialCommunication::IPinChangedEventArgs>
{
@@ -178,43 +177,43 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SerialCommunication::SerialDevice, winrt::Windows::Devices::SerialCommunication::ErrorReceivedEventArgs> 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<winrt::Windows::Devices::SerialCommunication::SerialDevice, winrt::Windows::Devices::SerialCommunication::ErrorReceivedEventArgs> const& reportHandler) const;
using ErrorReceived_revoker = impl::event_revoker<winrt::Windows::Devices::SerialCommunication::ISerialDevice, &impl::abi_t<winrt::Windows::Devices::SerialCommunication::ISerialDevice>::remove_ErrorReceived>;
- [[nodiscard]] ErrorReceived_revoker ErrorReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SerialCommunication::SerialDevice, winrt::Windows::Devices::SerialCommunication::ErrorReceivedEventArgs> 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<winrt::Windows::Devices::SerialCommunication::SerialDevice, winrt::Windows::Devices::SerialCommunication::PinChangedEventArgs> const& reportHandler) const;
+ [[nodiscard]] auto ErrorReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SerialCommunication::SerialDevice, winrt::Windows::Devices::SerialCommunication::ErrorReceivedEventArgs> const& reportHandler) const;
+ auto ErrorReceived(winrt::event_token const& token) const noexcept;
+ auto PinChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SerialCommunication::SerialDevice, winrt::Windows::Devices::SerialCommunication::PinChangedEventArgs> const& reportHandler) const;
using PinChanged_revoker = impl::event_revoker<winrt::Windows::Devices::SerialCommunication::ISerialDevice, &impl::abi_t<winrt::Windows::Devices::SerialCommunication::ISerialDevice>::remove_PinChanged>;
- [[nodiscard]] PinChanged_revoker PinChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SerialCommunication::SerialDevice, winrt::Windows::Devices::SerialCommunication::PinChangedEventArgs> 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<winrt::Windows::Devices::SerialCommunication::SerialDevice, winrt::Windows::Devices::SerialCommunication::PinChangedEventArgs> const& reportHandler) const;
+ auto PinChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::SerialCommunication::ISerialDevice>
{
@@ -223,10 +222,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SerialCommunication::SerialDevice>) 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<winrt::Windows::Devices::SerialCommunication::ISerialDeviceStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.1.h
index 1b0139a34b1..e2a7ff8015f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.2.h
index ad6bbca7ce1..b45556f602f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SerialCommunication.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.0.h
index 4deb061a86a..5fb2302e3c4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
template <typename T> struct __declspec(empty_bases) IVector;
struct ValueSet;
}
@@ -1114,7 +1112,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ICardAddedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCard) SmartCard() const;
+ [[nodiscard]] auto SmartCard() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ICardAddedEventArgs>
{
@@ -1123,7 +1121,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ICardRemovedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCard) SmartCard() const;
+ [[nodiscard]] auto SmartCard() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ICardRemovedEventArgs>
{
@@ -1132,8 +1130,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::IKnownSmartCardAppletIds>
{
@@ -1142,9 +1140,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCard
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardReader) Reader() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardStatus>) GetStatusAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) GetAnswerToResetAsync() const;
+ [[nodiscard]] auto Reader() const;
+ auto GetStatusAsync() const;
+ auto GetAnswerToResetAsync() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCard>
{
@@ -1153,15 +1151,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Streams::IBuffer>) 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<winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup>
{
@@ -1170,13 +1168,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroup2>
{
@@ -1185,7 +1183,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroup) Create(param::hstring const& displayName, param::vector<winrt::Windows::Storage::Streams::IBuffer> 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<winrt::Windows::Storage::Streams::IBuffer> const& appletIds, winrt::Windows::Devices::SmartCards::SmartCardEmulationCategory const& emulationCategory, winrt::Windows::Devices::SmartCards::SmartCardEmulationType const& emulationType) const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupFactory>
{
@@ -1194,11 +1192,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::SmartCardActivationPolicyChangeResult>) 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<winrt::Windows::Devices::SmartCards::SmartCardAutomaticResponseApdu> 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<winrt::Windows::Devices::SmartCards::SmartCardAutomaticResponseApdu> const& apdus) const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupRegistration>
{
@@ -1207,8 +1205,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupRegistration2>
{
@@ -1217,7 +1215,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardAppletIdGroupStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint16_t) MaxAppletIds() const;
+ [[nodiscard]] auto MaxAppletIds() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardAppletIdGroupStatics>
{
@@ -1226,16 +1224,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu>
{
@@ -1244,10 +1242,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardAutomaticResponseApdu2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) InputState() const;
- WINRT_IMPL_AUTO(void) InputState(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) OutputState() const;
- WINRT_IMPL_AUTO(void) OutputState(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
+ [[nodiscard]] auto InputState() const;
+ auto InputState(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
+ [[nodiscard]] auto OutputState() const;
+ auto OutputState(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu2>
{
@@ -1256,8 +1254,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApdu3>
{
@@ -1266,7 +1264,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::ISmartCardAutomaticResponseApduFactory>
{
@@ -1275,11 +1273,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardChallengeContext
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Challenge() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Devices::SmartCards::ISmartCardChallengeContext>
{
@@ -1288,7 +1286,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardConnect
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardConnection>) ConnectAsync() const;
+ auto ConnectAsync() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardConnect>
{
@@ -1297,7 +1295,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardConnection
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) TransmitAsync(winrt::Windows::Storage::Streams::IBuffer const& command) const;
+ auto TransmitAsync(winrt::Windows::Storage::Streams::IBuffer const& command) const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardConnection>
{
@@ -1306,18 +1304,18 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialType>) SupportedCryptogramMaterialTypes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm>) SupportedCryptogramAlgorithms() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageFormat>) SupportedCryptogramMaterialPackageFormats() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageConfirmationResponseFormat>) SupportedCryptogramMaterialPackageConfirmationResponseFormats() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCapabilities>) SupportedSmartCardCryptogramStorageKeyCapabilities() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>) DeleteCryptogramMaterialStorageKeyAsync(param::hstring const& storageKeyName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>) 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<winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyInfo>) 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<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>) 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<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPossessionProof>) 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<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>) RequestUnlockCryptogramMaterialForUseAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>) 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<winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator>
{
@@ -1326,11 +1324,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGenerator2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>) ValidateRequestApduAsync(winrt::Windows::Devices::SmartCards::SmartCardUnlockPromptingBehavior const& promptingBehavior, winrt::Windows::Storage::Streams::IBuffer const& apduToValidate, param::async_iterable<winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep> const& cryptogramPlacementSteps) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult>) GetAllCryptogramStorageKeyCharacteristicsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult>) GetAllCryptogramMaterialPackageCharacteristicsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult>) GetAllCryptogramMaterialPackageCharacteristicsAsync(param::hstring const& storageKeyName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult>) 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<winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep> 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<winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGenerator2>
{
@@ -1339,7 +1337,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGeneratorStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGenerator>) GetSmartCardCryptogramGeneratorAsync() const;
+ auto GetSmartCardCryptogramGeneratorAsync() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGeneratorStatics>
{
@@ -1348,7 +1346,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramGeneratorStatics2
{
- WINRT_IMPL_AUTO(bool) IsSupported() const;
+ auto IsSupported() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGeneratorStatics2>
{
@@ -1357,8 +1355,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialCharacteristics>) Characteristics() const;
+ [[nodiscard]] auto OperationStatus() const;
+ [[nodiscard]] auto Characteristics() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramMaterialCharacteristicsResult>
{
@@ -1367,8 +1365,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageCharacteristics>) Characteristics() const;
+ [[nodiscard]] auto OperationStatus() const;
+ [[nodiscard]] auto Characteristics() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramMaterialPackageCharacteristicsResult>
{
@@ -1377,8 +1375,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::SmartCardCryptogramStorageKeyCharacteristics>) Characteristics() const;
+ [[nodiscard]] auto OperationStatus() const;
+ [[nodiscard]] auto Characteristics() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardCryptogramGetAllCryptogramStorageKeyCharacteristicsResult>
{
@@ -1387,14 +1385,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramMaterialCharacteristics
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) MaterialName() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm>) AllowedAlgorithms() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramMaterialPackageConfirmationResponseFormat>) AllowedProofOfPossessionAlgorithms() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardCryptogramAlgorithm>) 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<winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialCharacteristics>
{
@@ -1403,10 +1401,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialPackageCharacteristics>
{
@@ -1415,8 +1413,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::ISmartCardCryptogramMaterialPossessionProof>
{
@@ -1425,24 +1423,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::ISmartCardCryptogramPlacementStep>
{
@@ -1451,10 +1449,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyCharacteristics>
{
@@ -1463,13 +1461,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyInfo>
{
@@ -1478,7 +1476,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardCryptogramStorageKeyInfo2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) OperationalRequirements() const;
+ [[nodiscard]] auto OperationalRequirements() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardCryptogramStorageKeyInfo2>
{
@@ -1487,7 +1485,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardEmulator
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulatorEnablementPolicy) EnablementPolicy() const;
+ [[nodiscard]] auto EnablementPolicy() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardEmulator>
{
@@ -1496,16 +1494,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardEmulator2
{
- WINRT_IMPL_AUTO(winrt::event_token) ApduReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardEmulator, winrt::Windows::Devices::SmartCards::SmartCardEmulatorApduReceivedEventArgs> const& value) const;
+ auto ApduReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardEmulator, winrt::Windows::Devices::SmartCards::SmartCardEmulatorApduReceivedEventArgs> const& value) const;
using ApduReceived_revoker = impl::event_revoker<winrt::Windows::Devices::SmartCards::ISmartCardEmulator2, &impl::abi_t<winrt::Windows::Devices::SmartCards::ISmartCardEmulator2>::remove_ApduReceived>;
- [[nodiscard]] ApduReceived_revoker ApduReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardEmulator, winrt::Windows::Devices::SmartCards::SmartCardEmulatorApduReceivedEventArgs> 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<winrt::Windows::Devices::SmartCards::SmartCardEmulator, winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionDeactivatedEventArgs> const& value) const;
+ [[nodiscard]] auto ApduReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardEmulator, winrt::Windows::Devices::SmartCards::SmartCardEmulatorApduReceivedEventArgs> const& value) const;
+ auto ApduReceived(winrt::event_token const& value) const noexcept;
+ auto ConnectionDeactivated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardEmulator, winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionDeactivatedEventArgs> const& value) const;
using ConnectionDeactivated_revoker = impl::event_revoker<winrt::Windows::Devices::SmartCards::ISmartCardEmulator2, &impl::abi_t<winrt::Windows::Devices::SmartCards::ISmartCardEmulator2>::remove_ConnectionDeactivated>;
- [[nodiscard]] ConnectionDeactivated_revoker ConnectionDeactivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardEmulator, winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionDeactivatedEventArgs> 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<winrt::Windows::Devices::SmartCards::SmartCardEmulator, winrt::Windows::Devices::SmartCards::SmartCardEmulatorConnectionDeactivatedEventArgs> const& value) const;
+ auto ConnectionDeactivated(winrt::event_token const& value) const noexcept;
+ auto Start() const;
+ auto IsHostCardEmulationSupported() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardEmulator2>
{
@@ -1514,10 +1512,10 @@ namespace winrt::impl
template <typename D>
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<bool>) 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<winrt::Windows::Devices::SmartCards::ISmartCardEmulatorApduReceivedEventArgs>
{
@@ -1526,8 +1524,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) State() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryRespondAsync(winrt::Windows::Storage::Streams::IBuffer const& responseApdu, winrt::Windows::Foundation::IReference<uint32_t> const& nextState) const;
+ [[nodiscard]] auto State() const;
+ auto TryRespondAsync(winrt::Windows::Storage::Streams::IBuffer const& responseApdu, winrt::Windows::Foundation::IReference<uint32_t> const& nextState) const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardEmulatorApduReceivedEventArgs2>
{
@@ -1536,8 +1534,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorApduReceivedEventArgsWithCryptograms
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>) TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable<winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep> const& cryptogramPlacementSteps) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardCryptogramGeneratorOperationStatus>) TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable<winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep> const& cryptogramPlacementSteps, winrt::Windows::Foundation::IReference<uint32_t> const& nextState) const;
+ auto TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable<winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep> const& cryptogramPlacementSteps) const;
+ auto TryRespondWithCryptogramsAsync(winrt::Windows::Storage::Streams::IBuffer const& responseTemplate, param::async_iterable<winrt::Windows::Devices::SmartCards::SmartCardCryptogramPlacementStep> const& cryptogramPlacementSteps, winrt::Windows::Foundation::IReference<uint32_t> const& nextState) const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardEmulatorApduReceivedEventArgsWithCryptograms>
{
@@ -1546,8 +1544,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::ISmartCardEmulatorConnectionDeactivatedEventArgs>
{
@@ -1556,8 +1554,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::ISmartCardEmulatorConnectionProperties>
{
@@ -1566,7 +1564,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardEmulator>) GetDefaultAsync() const;
+ auto GetDefaultAsync() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardEmulatorStatics>
{
@@ -1575,10 +1573,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupRegistration>>) GetAppletIdGroupRegistrationsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardAppletIdGroupRegistration>) 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<winrt::Windows::Devices::SmartCards::ISmartCardEmulatorStatics2>
{
@@ -1587,7 +1585,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardEmulatorStatics3
{
- WINRT_IMPL_AUTO(bool) IsSupported() const;
+ auto IsSupported() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardEmulatorStatics3>
{
@@ -1596,18 +1594,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::ISmartCardPinPolicy>
{
@@ -1616,7 +1614,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardPinResetDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardPinResetDeferral>
{
@@ -1625,10 +1623,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::ISmartCardPinResetRequest>
{
@@ -1637,12 +1635,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardProvisioning
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCard) SmartCard() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::guid>) GetIdAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetNameAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardChallengeContext>) GetChallengeContextAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestPinChangeAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Devices::SmartCards::ISmartCardProvisioning>
{
@@ -1651,7 +1649,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardProvisioning2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetAuthorityKeyContainerNameAsync() const;
+ auto GetAuthorityKeyContainerNameAsync() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardProvisioning2>
{
@@ -1660,10 +1658,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardProvisioning>) FromSmartCardAsync(winrt::Windows::Devices::SmartCards::SmartCard const& card) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardProvisioning>) 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<winrt::Windows::Devices::SmartCards::SmartCardProvisioning>) 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<bool>) 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<winrt::Windows::Devices::SmartCards::ISmartCardProvisioningStatics>
{
@@ -1672,8 +1670,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardProvisioningStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::SmartCards::SmartCardProvisioning>) 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<winrt::Windows::Devices::SmartCards::SmartCardProvisioning>) 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<winrt::Windows::Devices::SmartCards::ISmartCardProvisioningStatics2>
{
@@ -1682,19 +1680,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::SmartCardReaderStatus>) GetStatusAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::SmartCards::SmartCard>>) FindAllCardsAsync() const;
- WINRT_IMPL_AUTO(winrt::event_token) CardAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardReader, winrt::Windows::Devices::SmartCards::CardAddedEventArgs> 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<winrt::Windows::Devices::SmartCards::SmartCardReader, winrt::Windows::Devices::SmartCards::CardAddedEventArgs> const& handler) const;
using CardAdded_revoker = impl::event_revoker<winrt::Windows::Devices::SmartCards::ISmartCardReader, &impl::abi_t<winrt::Windows::Devices::SmartCards::ISmartCardReader>::remove_CardAdded>;
- [[nodiscard]] CardAdded_revoker CardAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardReader, winrt::Windows::Devices::SmartCards::CardAddedEventArgs> 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<winrt::Windows::Devices::SmartCards::SmartCardReader, winrt::Windows::Devices::SmartCards::CardRemovedEventArgs> const& handler) const;
+ [[nodiscard]] auto CardAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardReader, winrt::Windows::Devices::SmartCards::CardAddedEventArgs> const& handler) const;
+ auto CardAdded(winrt::event_token const& token) const noexcept;
+ auto CardRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardReader, winrt::Windows::Devices::SmartCards::CardRemovedEventArgs> const& handler) const;
using CardRemoved_revoker = impl::event_revoker<winrt::Windows::Devices::SmartCards::ISmartCardReader, &impl::abi_t<winrt::Windows::Devices::SmartCards::ISmartCardReader>::remove_CardRemoved>;
- [[nodiscard]] CardRemoved_revoker CardRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::SmartCards::SmartCardReader, winrt::Windows::Devices::SmartCards::CardRemovedEventArgs> 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<winrt::Windows::Devices::SmartCards::SmartCardReader, winrt::Windows::Devices::SmartCards::CardRemovedEventArgs> const& handler) const;
+ auto CardRemoved(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardReader>
{
@@ -1703,9 +1701,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::SmartCardReader>) 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<winrt::Windows::Devices::SmartCards::ISmartCardReaderStatics>
{
@@ -1714,9 +1712,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::SmartCards::ISmartCardTriggerDetails>
{
@@ -1725,9 +1723,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCardEmulator) Emulator() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryLaunchCurrentAppAsync(param::hstring const& arguments) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Devices::SmartCards::ISmartCardTriggerDetails2>
{
@@ -1736,7 +1734,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_SmartCards_ISmartCardTriggerDetails3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::SmartCards::SmartCard) SmartCard() const;
+ [[nodiscard]] auto SmartCard() const;
};
template <> struct consume<winrt::Windows::Devices::SmartCards::ISmartCardTriggerDetails3>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.1.h
index bb0924208dd..dd5a20b39a4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.2.h
index 774a1f8cd87..9e64a2095cc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.SmartCards.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.0.h
index 5f98d4b01b7..3407be55c3a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
@@ -738,28 +735,28 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::ISmsAppMessage>
{
@@ -768,10 +765,10 @@ namespace winrt::impl
template <typename D>
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<uint8_t>) GetData() const;
- WINRT_IMPL_AUTO(void) SetData(array_view<uint8_t const> value) const;
+ [[nodiscard]] auto Format() const;
+ auto Format(winrt::Windows::Devices::Sms::SmsDataFormat const& value) const;
+ auto GetData() const;
+ auto SetData(array_view<uint8_t const> value) const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsBinaryMessage>
{
@@ -780,16 +777,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::ISmsBroadcastMessage>
{
@@ -798,20 +795,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::ISmsDevice, &impl::abi_t<winrt::Windows::Devices::Sms::ISmsDevice>::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<winrt::Windows::Devices::Sms::ISmsDevice, &impl::abi_t<winrt::Windows::Devices::Sms::ISmsDevice>::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<winrt::Windows::Devices::Sms::ISmsDevice>
{
@@ -820,19 +817,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::SmsSendMessageResult>) SendMessageAndGetResultAsync(winrt::Windows::Devices::Sms::ISmsMessageBase const& message) const;
- WINRT_IMPL_AUTO(winrt::event_token) DeviceStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsDevice2, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Sms::SmsDevice2, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
using DeviceStatusChanged_revoker = impl::event_revoker<winrt::Windows::Devices::Sms::ISmsDevice2, &impl::abi_t<winrt::Windows::Devices::Sms::ISmsDevice2>::remove_DeviceStatusChanged>;
- [[nodiscard]] DeviceStatusChanged_revoker DeviceStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsDevice2, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::Sms::SmsDevice2, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ auto DeviceStatusChanged(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsDevice2>
{
@@ -841,10 +838,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::ISmsDevice2Statics>
{
@@ -853,11 +850,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::ISmsMessage>) GetMessageAsync(uint32_t messageId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sms::ISmsMessage>, 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<winrt::Windows::Devices::Sms::ISmsDeviceMessageStore>
{
@@ -866,9 +863,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsDeviceStatics
{
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sms::SmsDevice>) FromIdAsync(param::hstring const& deviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sms::SmsDevice>) GetDefaultAsync() const;
+ auto GetDeviceSelector() const;
+ auto FromIdAsync(param::hstring const& deviceId) const;
+ auto GetDefaultAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsDeviceStatics>
{
@@ -877,7 +874,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsDeviceStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Sms::SmsDevice>) FromNetworkAccountIdAsync(param::hstring const& networkAccountId) const;
+ auto FromNetworkAccountIdAsync(param::hstring const& networkAccountId) const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsDeviceStatics2>
{
@@ -886,20 +883,20 @@ namespace winrt::impl
template <typename D>
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<hstring>) ImsiPrefixes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) DeviceIds() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) SenderNumbers() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) TextMessagePrefixes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<int32_t>) 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<int32_t>) ProtocolIds() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<int32_t>) TeleserviceIds() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) WapApplicationIds() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) WapContentTypes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Sms::SmsBroadcastType>) BroadcastTypes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<int32_t>) 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<winrt::Windows::Devices::Sms::ISmsFilterRule>
{
@@ -908,7 +905,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::ISmsFilterRuleFactory>
{
@@ -917,8 +914,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::SmsFilterRule>) Rules() const;
+ [[nodiscard]] auto ActionType() const;
+ [[nodiscard]] auto Rules() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsFilterRules>
{
@@ -927,7 +924,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::ISmsFilterRulesFactory>
{
@@ -936,8 +933,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::ISmsMessage>
{
@@ -946,11 +943,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::ISmsMessageBase>
{
@@ -959,8 +956,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::ISmsMessageReceivedEventArgs>
{
@@ -969,15 +966,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::ISmsMessageReceivedTriggerDetails>
{
@@ -986,12 +983,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::SmsMessageRegistration, winrt::Windows::Devices::Sms::SmsMessageReceivedTriggerDetails> const& eventHandler) const;
+ [[nodiscard]] auto Id() const;
+ auto Unregister() const;
+ auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsMessageRegistration, winrt::Windows::Devices::Sms::SmsMessageReceivedTriggerDetails> const& eventHandler) const;
using MessageReceived_revoker = impl::event_revoker<winrt::Windows::Devices::Sms::ISmsMessageRegistration, &impl::abi_t<winrt::Windows::Devices::Sms::ISmsMessageRegistration>::remove_MessageReceived>;
- [[nodiscard]] MessageReceived_revoker MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Sms::SmsMessageRegistration, winrt::Windows::Devices::Sms::SmsMessageReceivedTriggerDetails> 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<winrt::Windows::Devices::Sms::SmsMessageRegistration, winrt::Windows::Devices::Sms::SmsMessageReceivedTriggerDetails> const& eventHandler) const;
+ auto MessageReceived(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsMessageRegistration>
{
@@ -1000,8 +997,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsMessageRegistrationStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Sms::SmsMessageRegistration>) 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<winrt::Windows::Devices::Sms::ISmsMessageRegistrationStatics>
{
@@ -1010,8 +1007,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::ISmsReceivedEventDetails>
{
@@ -1020,8 +1017,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::ISmsReceivedEventDetails2>
{
@@ -1030,13 +1027,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Sms_ISmsSendMessageResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSuccessful() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<int32_t>) 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<winrt::Windows::Devices::Sms::ISmsSendMessageResult>
{
@@ -1045,13 +1042,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::ISmsStatusMessage>
{
@@ -1060,19 +1057,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::ISmsBinaryMessage>) 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<winrt::Windows::Devices::Sms::ISmsTextMessage>
{
@@ -1081,22 +1078,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Sms::ISmsTextMessage2>
{
@@ -1105,8 +1102,8 @@ namespace winrt::impl
template <typename D>
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<uint8_t const> value) const;
+ auto FromBinaryMessage(winrt::Windows::Devices::Sms::SmsBinaryMessage const& binaryMessage) const;
+ auto FromBinaryData(winrt::Windows::Devices::Sms::SmsDataFormat const& format, array_view<uint8_t const> value) const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsTextMessageStatics>
{
@@ -1115,10 +1112,10 @@ namespace winrt::impl
template <typename D>
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<int32_t>) MessageCount() const;
+ [[nodiscard]] auto Timestamp() const;
+ [[nodiscard]] auto To() const;
+ [[nodiscard]] auto Body() const;
+ [[nodiscard]] auto MessageCount() const;
};
template <> struct consume<winrt::Windows::Devices::Sms::ISmsVoicemailMessage>
{
@@ -1127,13 +1124,13 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring>) 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<winrt::Windows::Devices::Sms::ISmsWapMessage>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.1.h
index 489297935f8..d58291bee59 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.2.h
index 11b8bed010c..284d268637d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Sms.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.0.h
index b6612c4aae4..43175ea1539 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
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<int32_t>) SupportedDataBitLengths() const;
+ [[nodiscard]] auto ChipSelectLineCount() const;
+ [[nodiscard]] auto MinClockFrequency() const;
+ [[nodiscard]] auto MaxClockFrequency() const;
+ [[nodiscard]] auto SupportedDataBitLengths() const;
};
template <> struct consume<winrt::Windows::Devices::Spi::ISpiBusInfo>
{
@@ -165,16 +157,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Spi::ISpiConnectionSettings>
{
@@ -183,7 +175,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Spi::ISpiConnectionSettingsFactory>
{
@@ -192,7 +184,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Spi::ISpiController>
{
@@ -201,8 +193,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Spi_ISpiControllerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Spi::SpiController>) GetDefaultAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Spi::SpiController>>) 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<winrt::Windows::Devices::Spi::ISpiControllerStatics>
{
@@ -211,12 +203,12 @@ namespace winrt::impl
template <typename D>
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<uint8_t const> buffer) const;
- WINRT_IMPL_AUTO(void) Read(array_view<uint8_t> buffer) const;
- WINRT_IMPL_AUTO(void) TransferSequential(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const;
- WINRT_IMPL_AUTO(void) TransferFullDuplex(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const;
+ [[nodiscard]] auto DeviceId() const;
+ [[nodiscard]] auto ConnectionSettings() const;
+ auto Write(array_view<uint8_t const> buffer) const;
+ auto Read(array_view<uint8_t> buffer) const;
+ auto TransferSequential(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const;
+ auto TransferFullDuplex(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const;
};
template <> struct consume<winrt::Windows::Devices::Spi::ISpiDevice>
{
@@ -225,10 +217,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Spi::SpiDevice>) 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<winrt::Windows::Devices::Spi::ISpiDeviceStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.1.h
index 4d9e115a1fc..0e8793cc102 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.2.h
index cc150bb394c..b017c759fb7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.0.h
index 3531c4ab113..474f9f67be3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
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<winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettings>
{
@@ -126,7 +118,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Spi::Provider::IProviderSpiConnectionSettingsFactory>
{
@@ -135,7 +127,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Spi::Provider::ISpiControllerProvider>
{
@@ -144,12 +136,12 @@ namespace winrt::impl
template <typename D>
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<uint8_t const> buffer) const;
- WINRT_IMPL_AUTO(void) Read(array_view<uint8_t> buffer) const;
- WINRT_IMPL_AUTO(void) TransferSequential(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const;
- WINRT_IMPL_AUTO(void) TransferFullDuplex(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const;
+ [[nodiscard]] auto DeviceId() const;
+ [[nodiscard]] auto ConnectionSettings() const;
+ auto Write(array_view<uint8_t const> buffer) const;
+ auto Read(array_view<uint8_t> buffer) const;
+ auto TransferSequential(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const;
+ auto TransferFullDuplex(array_view<uint8_t const> writeBuffer, array_view<uint8_t> readBuffer) const;
};
template <> struct consume<winrt::Windows::Devices::Spi::Provider::ISpiDeviceProvider>
{
@@ -158,7 +150,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Spi_Provider_ISpiProvider
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Spi::Provider::ISpiControllerProvider>>) GetControllersAsync() const;
+ auto GetControllersAsync() const;
};
template <> struct consume<winrt::Windows::Devices::Spi::Provider::ISpiProvider>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.1.h
index f0eee27f22b..a886f40b72e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.2.h
index 54101d3f30b..62ee3692119 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Spi.Provider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.0.h
index 6b611046be1..655a2e82198 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IBuffer;
@@ -580,9 +575,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbBulkInEndpointDescriptor>
{
@@ -591,13 +586,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbBulkInPipe>
{
@@ -606,9 +601,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbBulkOutEndpointDescriptor>
{
@@ -617,11 +612,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbBulkOutPipe>
{
@@ -630,9 +625,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Usb_IUsbConfiguration
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterface>) UsbInterfaces() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Usb::UsbConfigurationDescriptor) ConfigurationDescriptor() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbDescriptor>) Descriptors() const;
+ [[nodiscard]] auto UsbInterfaces() const;
+ [[nodiscard]] auto ConfigurationDescriptor() const;
+ [[nodiscard]] auto Descriptors() const;
};
template <> struct consume<winrt::Windows::Devices::Usb::IUsbConfiguration>
{
@@ -641,10 +636,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbConfigurationDescriptor>
{
@@ -653,8 +648,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbConfigurationDescriptorStatics>
{
@@ -663,14 +658,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbControlRequestType>
{
@@ -679,9 +674,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbDescriptor>
{
@@ -690,13 +685,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Usb_IUsbDevice
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) SendControlOutTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) SendControlOutTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) SendControlInTransferAsync(winrt::Windows::Devices::Usb::UsbSetupPacket const& setupPacket, winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) 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<winrt::Windows::Devices::Usb::IUsbDevice>
{
@@ -705,12 +700,12 @@ namespace winrt::impl
template <typename D>
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<uint8_t>) SubclassCode() const;
- WINRT_IMPL_AUTO(void) SubclassCode(winrt::Windows::Foundation::IReference<uint8_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint8_t>) ProtocolCode() const;
- WINRT_IMPL_AUTO(void) ProtocolCode(winrt::Windows::Foundation::IReference<uint8_t> const& value) const;
+ [[nodiscard]] auto ClassCode() const;
+ auto ClassCode(uint8_t value) const;
+ [[nodiscard]] auto SubclassCode() const;
+ auto SubclassCode(winrt::Windows::Foundation::IReference<uint8_t> const& value) const;
+ [[nodiscard]] auto ProtocolCode() const;
+ auto ProtocolCode(winrt::Windows::Foundation::IReference<uint8_t> const& value) const;
};
template <> struct consume<winrt::Windows::Devices::Usb::IUsbDeviceClass>
{
@@ -727,15 +722,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbDeviceClassesStatics>
{
@@ -744,12 +739,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbDeviceDescriptor>
{
@@ -758,11 +753,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::UsbDevice>) 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<winrt::Windows::Devices::Usb::IUsbDeviceStatics>
{
@@ -771,13 +766,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbEndpointDescriptor>
{
@@ -786,8 +781,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbEndpointDescriptorStatics>
{
@@ -796,13 +791,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Usb_IUsbInterface
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbBulkInPipe>) BulkInPipes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterruptInPipe>) InterruptInPipes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbBulkOutPipe>) BulkOutPipes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterruptOutPipe>) InterruptOutPipes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterfaceSetting>) InterfaceSettings() const;
- [[nodiscard]] WINRT_IMPL_AUTO(uint8_t) InterfaceNumber() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbDescriptor>) 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<winrt::Windows::Devices::Usb::IUsbInterface>
{
@@ -811,11 +806,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbInterfaceDescriptor>
{
@@ -824,8 +819,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbInterfaceDescriptorStatics>
{
@@ -834,14 +829,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Usb_IUsbInterfaceSetting
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbBulkInEndpointDescriptor>) BulkInEndpoints() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterruptInEndpointDescriptor>) InterruptInEndpoints() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbBulkOutEndpointDescriptor>) BulkOutEndpoints() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Usb::UsbInterruptOutEndpointDescriptor>) 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<winrt::Windows::Devices::Usb::UsbDescriptor>) 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<winrt::Windows::Devices::Usb::IUsbInterfaceSetting>
{
@@ -850,10 +845,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbInterruptInEndpointDescriptor>
{
@@ -862,7 +857,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_Usb_IUsbInterruptInEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) InterruptData() const;
+ [[nodiscard]] auto InterruptData() const;
};
template <> struct consume<winrt::Windows::Devices::Usb::IUsbInterruptInEventArgs>
{
@@ -871,12 +866,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::UsbInterruptInPipe, winrt::Windows::Devices::Usb::UsbInterruptInEventArgs> const& handler) const;
+ [[nodiscard]] auto EndpointDescriptor() const;
+ auto ClearStallAsync() const;
+ auto DataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Usb::UsbInterruptInPipe, winrt::Windows::Devices::Usb::UsbInterruptInEventArgs> const& handler) const;
using DataReceived_revoker = impl::event_revoker<winrt::Windows::Devices::Usb::IUsbInterruptInPipe, &impl::abi_t<winrt::Windows::Devices::Usb::IUsbInterruptInPipe>::remove_DataReceived>;
- [[nodiscard]] DataReceived_revoker DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::Usb::UsbInterruptInPipe, winrt::Windows::Devices::Usb::UsbInterruptInEventArgs> 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<winrt::Windows::Devices::Usb::UsbInterruptInPipe, winrt::Windows::Devices::Usb::UsbInterruptInEventArgs> const& handler) const;
+ auto DataReceived(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::Usb::IUsbInterruptInPipe>
{
@@ -885,10 +880,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbInterruptOutEndpointDescriptor>
{
@@ -897,11 +892,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbInterruptOutPipe>
{
@@ -910,16 +905,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbSetupPacket>
{
@@ -928,7 +923,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Usb::IUsbSetupPacketFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.1.h
index 832cdad9101..f03b3354386 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.2.h
index 59fb39e0a01..e42518910fe 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.Usb.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.0.h
index c7c51fd369d..f6f6370f6a4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Networking::Connectivity
{
struct NetworkAdapter;
@@ -231,17 +226,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFi::WiFiAdapter, winrt::Windows::Foundation::IInspectable> const& args) const;
+ [[nodiscard]] auto NetworkAdapter() const;
+ auto ScanAsync() const;
+ [[nodiscard]] auto NetworkReport() const;
+ auto AvailableNetworksChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFi::WiFiAdapter, winrt::Windows::Foundation::IInspectable> const& args) const;
using AvailableNetworksChanged_revoker = impl::event_revoker<winrt::Windows::Devices::WiFi::IWiFiAdapter, &impl::abi_t<winrt::Windows::Devices::WiFi::IWiFiAdapter>::remove_AvailableNetworksChanged>;
- [[nodiscard]] AvailableNetworksChanged_revoker AvailableNetworksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFi::WiFiAdapter, winrt::Windows::Foundation::IInspectable> const& args) const;
- WINRT_IMPL_AUTO(void) AvailableNetworksChanged(winrt::event_token const& eventCookie) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiConnectionResult>) ConnectAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork, winrt::Windows::Devices::WiFi::WiFiReconnectionKind const& reconnectionKind) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiConnectionResult>) 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<winrt::Windows::Devices::WiFi::WiFiConnectionResult>) 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<winrt::Windows::Devices::WiFi::WiFiAdapter, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::WiFi::IWiFiAdapter>
{
@@ -250,8 +245,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_WiFi_IWiFiAdapter2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiWpsConfigurationResult>) GetWpsConfigurationAsync(winrt::Windows::Devices::WiFi::WiFiAvailableNetwork const& availableNetwork) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiConnectionResult>) 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<winrt::Windows::Devices::WiFi::IWiFiAdapter2>
{
@@ -260,10 +255,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_WiFi_IWiFiAdapterStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::WiFi::WiFiAdapter>>) FindAllAdaptersAsync() const;
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiAdapter>) FromIdAsync(param::hstring const& deviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFi::WiFiAccessStatus>) RequestAccessAsync() const;
+ auto FindAllAdaptersAsync() const;
+ auto GetDeviceSelector() const;
+ auto FromIdAsync(param::hstring const& deviceId) const;
+ auto RequestAccessAsync() const;
};
template <> struct consume<winrt::Windows::Devices::WiFi::IWiFiAdapterStatics>
{
@@ -272,17 +267,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFi::IWiFiAvailableNetwork>
{
@@ -291,7 +286,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_WiFi_IWiFiConnectionResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFi::WiFiConnectionStatus) ConnectionStatus() const;
+ [[nodiscard]] auto ConnectionStatus() const;
};
template <> struct consume<winrt::Windows::Devices::WiFi::IWiFiConnectionResult>
{
@@ -300,8 +295,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFi::WiFiAvailableNetwork>) AvailableNetworks() const;
+ [[nodiscard]] auto Timestamp() const;
+ [[nodiscard]] auto AvailableNetworks() const;
};
template <> struct consume<winrt::Windows::Devices::WiFi::IWiFiNetworkReport>
{
@@ -310,8 +305,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFi::WiFiWpsKind>) SupportedWpsKinds() const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto SupportedWpsKinds() const;
};
template <> struct consume<winrt::Windows::Devices::WiFi::IWiFiWpsConfigurationResult>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.1.h
index c7fdf3e80d1..e7d351a9787 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.2.h
index 4bebbae3828..e84b7dd42f5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFi.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.0.h
index c4550ae78ca..a9fdbac2788 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
- template <typename T> struct __declspec(empty_bases) IVectorView;
template <typename T> 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 <typename D>
struct consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::WiFiDirect::WiFiDirectInformationElement>) InformationElements() const;
- WINRT_IMPL_AUTO(void) InformationElements(param::vector<winrt::Windows::Devices::WiFiDirect::WiFiDirectInformationElement> 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<winrt::Windows::Devices::WiFiDirect::WiFiDirectInformationElement> 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<winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement>
{
@@ -357,7 +351,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_WiFiDirect_IWiFiDirectAdvertisement2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::WiFiDirect::WiFiDirectConfigurationMethod>) SupportedConfigurationMethods() const;
+ [[nodiscard]] auto SupportedConfigurationMethods() const;
};
template <> struct consume<winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisement2>
{
@@ -366,14 +360,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisher, winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatusChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto Advertisement() const;
+ [[nodiscard]] auto Status() const;
+ auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisher, winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatusChangedEventArgs> const& handler) const;
using StatusChanged_revoker = impl::event_revoker<winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisher, &impl::abi_t<winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisher>::remove_StatusChanged>;
- [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisher, winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatusChangedEventArgs> 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<winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisher, winrt::Windows::Devices::WiFiDirect::WiFiDirectAdvertisementPublisherStatusChangedEventArgs> const& handler) const;
+ auto StatusChanged(winrt::event_token const& token) const noexcept;
+ auto Start() const;
+ auto Stop() const;
};
template <> struct consume<winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisher>
{
@@ -382,8 +376,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFiDirect::IWiFiDirectAdvertisementPublisherStatusChangedEventArgs>
{
@@ -392,10 +386,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionListener
{
- WINRT_IMPL_AUTO(winrt::event_token) ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionListener, winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionRequestedEventArgs> const& handler) const;
+ auto ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionListener, winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionRequestedEventArgs> const& handler) const;
using ConnectionRequested_revoker = impl::event_revoker<winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionListener, &impl::abi_t<winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionListener>::remove_ConnectionRequested>;
- [[nodiscard]] ConnectionRequested_revoker ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionListener, winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionRequestedEventArgs> 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<winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionListener, winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionRequestedEventArgs> const& handler) const;
+ auto ConnectionRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionListener>
{
@@ -404,8 +398,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionParameters>
{
@@ -414,9 +408,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionParameters2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::WiFiDirect::WiFiDirectConfigurationMethod>) 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<winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionParameters2>
{
@@ -425,7 +419,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionParametersStatics>
{
@@ -434,7 +428,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionRequest
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) DeviceInformation() const;
+ [[nodiscard]] auto DeviceInformation() const;
};
template <> struct consume<winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionRequest>
{
@@ -443,7 +437,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_WiFiDirect_IWiFiDirectConnectionRequestedEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionRequest) GetConnectionRequest() const;
+ auto GetConnectionRequest() const;
};
template <> struct consume<winrt::Windows::Devices::WiFiDirect::IWiFiDirectConnectionRequestedEventArgs>
{
@@ -452,13 +446,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFiDirect::WiFiDirectDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto ConnectionStatus() const;
+ [[nodiscard]] auto DeviceId() const;
+ auto ConnectionStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ConnectionStatusChanged_revoker = impl::event_revoker<winrt::Windows::Devices::WiFiDirect::IWiFiDirectDevice, &impl::abi_t<winrt::Windows::Devices::WiFiDirect::IWiFiDirectDevice>::remove_ConnectionStatusChanged>;
- [[nodiscard]] ConnectionStatusChanged_revoker ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
- WINRT_IMPL_AUTO(void) ConnectionStatusChanged(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>) GetConnectionEndpointPairs() const;
+ [[nodiscard]] auto ConnectionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::WiFiDirectDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ConnectionStatusChanged(winrt::event_token const& token) const noexcept;
+ auto GetConnectionEndpointPairs() const;
};
template <> struct consume<winrt::Windows::Devices::WiFiDirect::IWiFiDirectDevice>
{
@@ -467,8 +461,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_WiFiDirect_IWiFiDirectDeviceStatics
{
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFiDirect::WiFiDirectDevice>) FromIdAsync(param::hstring const& deviceId) const;
+ auto GetDeviceSelector() const;
+ auto FromIdAsync(param::hstring const& deviceId) const;
};
template <> struct consume<winrt::Windows::Devices::WiFiDirect::IWiFiDirectDeviceStatics>
{
@@ -477,8 +471,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFiDirect::WiFiDirectDevice>) 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<winrt::Windows::Devices::WiFiDirect::IWiFiDirectDeviceStatics2>
{
@@ -487,12 +481,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFiDirect::IWiFiDirectInformationElement>
{
@@ -501,8 +495,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_WiFiDirect_IWiFiDirectInformationElementStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::WiFiDirect::WiFiDirectInformationElement>) CreateFromBuffer(winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::WiFiDirect::WiFiDirectInformationElement>) 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<winrt::Windows::Devices::WiFiDirect::IWiFiDirectInformationElementStatics>
{
@@ -511,12 +505,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFiDirect::IWiFiDirectLegacySettings>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.1.h
index 525b6ff1dc8..02be4d9d07f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.2.h
index e864589a326..8feae78d1b3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.0.h
index c618c49e580..798088a18a8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod>) 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<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectService, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionDeferredEventArgs> 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<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectService, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionDeferredEventArgs> const& handler) const;
using SessionDeferred_revoker = impl::event_revoker<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService, &impl::abi_t<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService>::remove_SessionDeferred>;
- [[nodiscard]] SessionDeferred_revoker SessionDeferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectService, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionDeferredEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) SessionDeferred(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceProvisioningInfo>) GetProvisioningInfoAsync(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod const& selectedConfigurationMethod) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession>) ConnectAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession>) ConnectAsync(param::hstring const& pin) const;
+ [[nodiscard]] auto SessionDeferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectService, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionDeferredEventArgs> 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<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectService>
{
@@ -338,39 +328,39 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceAdvertiser
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServiceName() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) 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<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceConfigurationMethod>) 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<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionRequestedEventArgs> 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<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionRequestedEventArgs> const& handler) const;
using SessionRequested_revoker = impl::event_revoker<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser, &impl::abi_t<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser>::remove_SessionRequested>;
- [[nodiscard]] SessionRequested_revoker SessionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionRequestedEventArgs> 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<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAutoAcceptSessionConnectedEventArgs> const& handler) const;
+ [[nodiscard]] auto SessionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionRequestedEventArgs> const& handler) const;
+ auto SessionRequested(winrt::event_token const& token) const noexcept;
+ auto AutoAcceptSessionConnected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAutoAcceptSessionConnectedEventArgs> const& handler) const;
using AutoAcceptSessionConnected_revoker = impl::event_revoker<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser, &impl::abi_t<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser>::remove_AutoAcceptSessionConnected>;
- [[nodiscard]] AutoAcceptSessionConnected_revoker AutoAcceptSessionConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAutoAcceptSessionConnectedEventArgs> 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<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto AutoAcceptSessionConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAutoAcceptSessionConnectedEventArgs> const& handler) const;
+ auto AutoAcceptSessionConnected(winrt::event_token const& token) const noexcept;
+ auto AdvertisementStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Foundation::IInspectable> const& handler) const;
using AdvertisementStatusChanged_revoker = impl::event_revoker<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser, &impl::abi_t<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser>::remove_AdvertisementStatusChanged>;
- [[nodiscard]] AdvertisementStatusChanged_revoker AdvertisementStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Foundation::IInspectable> const& handler) const;
- WINRT_IMPL_AUTO(void) AdvertisementStatusChanged(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession>) ConnectAsync(winrt::Windows::Devices::Enumeration::DeviceInformation const& deviceInfo) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession>) 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<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceAdvertiser, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiser>
{
@@ -379,7 +369,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAdvertiserFactory>
{
@@ -388,8 +378,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceAutoAcceptSessionConnectedEventArgs>
{
@@ -398,8 +388,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceProvisioningInfo>
{
@@ -408,8 +398,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceRemotePortAddedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>) 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<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceRemotePortAddedEventArgs>
{
@@ -418,24 +408,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::EndpointPair>) GetConnectionEndpointPairs() const;
- WINRT_IMPL_AUTO(winrt::event_token) SessionStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession, winrt::Windows::Foundation::IInspectable> const& handler) const;
using SessionStatusChanged_revoker = impl::event_revoker<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession, &impl::abi_t<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession>::remove_SessionStatusChanged>;
- [[nodiscard]] SessionStatusChanged_revoker SessionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceRemotePortAddedEventArgs> const& handler) const;
+ [[nodiscard]] auto SessionStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceRemotePortAddedEventArgs> const& handler) const;
using RemotePortAdded_revoker = impl::event_revoker<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession, &impl::abi_t<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession>::remove_RemotePortAdded>;
- [[nodiscard]] RemotePortAdded_revoker RemotePortAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceRemotePortAddedEventArgs> 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<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSession, winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceRemotePortAddedEventArgs> const& handler) const;
+ auto RemotePortAdded(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSession>
{
@@ -444,7 +434,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSessionDeferredEventArgs>
{
@@ -453,9 +443,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSessionRequest>
{
@@ -464,7 +454,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Devices_WiFiDirect_Services_IWiFiDirectServiceSessionRequestedEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectServiceSessionRequest) GetSessionRequest() const;
+ auto GetSessionRequest() const;
};
template <> struct consume<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceSessionRequestedEventArgs>
{
@@ -473,9 +463,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::WiFiDirect::Services::WiFiDirectService>) 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<winrt::Windows::Devices::WiFiDirect::Services::IWiFiDirectServiceStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.1.h
index 9466502a8a6..f0bdef2bf41 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.2.h
index 802c58caced..de138424f4a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Devices.WiFiDirect.Services.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.0.h
index 72c9c5b56a0..2f0afff0e61 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Embedded::DeviceLockdown
{
struct IDeviceLockdownProfileInformation;
@@ -51,7 +47,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileInformation
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const;
+ [[nodiscard]] auto Name() const;
};
template <> struct consume<winrt::Windows::Embedded::DeviceLockdown::IDeviceLockdownProfileInformation>
{
@@ -60,10 +56,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Embedded_DeviceLockdown_IDeviceLockdownProfileStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::guid>) 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<winrt::Windows::Embedded::DeviceLockdown::IDeviceLockdownProfileStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.1.h
index d81d0c8fed2..aeef40e9fef 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.2.h
index 66348771435..79797488a8d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Embedded.DeviceLockdown.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.0.h
index 5f6e306dc27..eb50e12e44a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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 <typename D, typename TProgress>
struct consume_Windows_Foundation_IAsyncActionWithProgress
{
- WINRT_IMPL_AUTO(void) Progress(winrt::Windows::Foundation::AsyncActionProgressHandler<TProgress> const& handler) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncActionProgressHandler<TProgress>) Progress() const;
- WINRT_IMPL_AUTO(void) Completed(winrt::Windows::Foundation::AsyncActionWithProgressCompletedHandler<TProgress> const& handler) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncActionWithProgressCompletedHandler<TProgress>) Completed() const;
- WINRT_IMPL_AUTO(void) GetResults() const;
+ auto Progress(winrt::Windows::Foundation::AsyncActionProgressHandler<TProgress> const& handler) const;
+ [[nodiscard]] auto Progress() const;
+ auto Completed(winrt::Windows::Foundation::AsyncActionWithProgressCompletedHandler<TProgress> 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 <typename D>
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<winrt::Windows::Foundation::IAsyncInfo>
{
@@ -635,11 +635,11 @@ namespace winrt::impl
template <typename D, typename TResult, typename TProgress>
struct consume_Windows_Foundation_IAsyncOperationWithProgress
{
- WINRT_IMPL_AUTO(void) Progress(winrt::Windows::Foundation::AsyncOperationProgressHandler<TResult, TProgress> const& handler) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncOperationProgressHandler<TResult, TProgress>) Progress() const;
- WINRT_IMPL_AUTO(void) Completed(winrt::Windows::Foundation::AsyncOperationWithProgressCompletedHandler<TResult, TProgress> const& handler) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncOperationWithProgressCompletedHandler<TResult, TProgress>) Completed() const;
- WINRT_IMPL_AUTO(TResult) GetResults() const;
+ auto Progress(winrt::Windows::Foundation::AsyncOperationProgressHandler<TResult, TProgress> const& handler) const;
+ [[nodiscard]] auto Progress() const;
+ auto Completed(winrt::Windows::Foundation::AsyncOperationWithProgressCompletedHandler<TResult, TProgress> 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 <typename D, typename TResult>
struct consume_Windows_Foundation_IAsyncOperation
{
- WINRT_IMPL_AUTO(void) Completed(winrt::Windows::Foundation::AsyncOperationCompletedHandler<TResult> const& handler) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::AsyncOperationCompletedHandler<TResult>) Completed() const;
- WINRT_IMPL_AUTO(TResult) GetResults() const;
+ auto Completed(winrt::Windows::Foundation::AsyncOperationCompletedHandler<TResult> 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 <typename D>
struct consume_Windows_Foundation_IClosable
{
- WINRT_IMPL_AUTO(void) Close() const;
+ auto Close() const;
};
template <> struct consume<winrt::Windows::Foundation::IClosable>
{
@@ -672,7 +672,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Foundation_IDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::Foundation::IDeferral>
{
@@ -681,7 +681,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IDeferralFactory>
{
@@ -690,7 +690,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IGetActivationFactory>
{
@@ -699,9 +699,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IGuidHelperStatics>
{
@@ -710,7 +710,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Foundation_IMemoryBuffer
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IMemoryBufferReference) CreateReference() const;
+ auto CreateReference() const;
};
template <> struct consume<winrt::Windows::Foundation::IMemoryBuffer>
{
@@ -719,7 +719,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IMemoryBufferFactory>
{
@@ -728,11 +728,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Foundation_IMemoryBufferReference
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Capacity() const;
- WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IMemoryBufferReference, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Capacity() const;
+ auto Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IMemoryBufferReference, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::Foundation::IMemoryBufferReference, &impl::abi_t<winrt::Windows::Foundation::IMemoryBufferReference>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IMemoryBufferReference, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IMemoryBufferReference, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Closed(winrt::event_token const& cookie) const noexcept;
auto data() const
{
@@ -749,45 +749,45 @@ namespace winrt::impl
template <typename D>
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<uint8_t>& value) const;
- WINRT_IMPL_AUTO(void) GetInt16Array(com_array<int16_t>& value) const;
- WINRT_IMPL_AUTO(void) GetUInt16Array(com_array<uint16_t>& value) const;
- WINRT_IMPL_AUTO(void) GetInt32Array(com_array<int32_t>& value) const;
- WINRT_IMPL_AUTO(void) GetUInt32Array(com_array<uint32_t>& value) const;
- WINRT_IMPL_AUTO(void) GetInt64Array(com_array<int64_t>& value) const;
- WINRT_IMPL_AUTO(void) GetUInt64Array(com_array<uint64_t>& value) const;
- WINRT_IMPL_AUTO(void) GetSingleArray(com_array<float>& value) const;
- WINRT_IMPL_AUTO(void) GetDoubleArray(com_array<double>& value) const;
- WINRT_IMPL_AUTO(void) GetChar16Array(com_array<char16_t>& value) const;
- WINRT_IMPL_AUTO(void) GetBooleanArray(com_array<bool>& value) const;
- WINRT_IMPL_AUTO(void) GetStringArray(com_array<hstring>& value) const;
- WINRT_IMPL_AUTO(void) GetInspectableArray(com_array<winrt::Windows::Foundation::IInspectable>& value) const;
- WINRT_IMPL_AUTO(void) GetGuidArray(com_array<winrt::guid>& value) const;
- WINRT_IMPL_AUTO(void) GetDateTimeArray(com_array<winrt::Windows::Foundation::DateTime>& value) const;
- WINRT_IMPL_AUTO(void) GetTimeSpanArray(com_array<winrt::Windows::Foundation::TimeSpan>& value) const;
- WINRT_IMPL_AUTO(void) GetPointArray(com_array<winrt::Windows::Foundation::Point>& value) const;
- WINRT_IMPL_AUTO(void) GetSizeArray(com_array<winrt::Windows::Foundation::Size>& value) const;
- WINRT_IMPL_AUTO(void) GetRectArray(com_array<winrt::Windows::Foundation::Rect>& 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<uint8_t>& value) const;
+ auto GetInt16Array(com_array<int16_t>& value) const;
+ auto GetUInt16Array(com_array<uint16_t>& value) const;
+ auto GetInt32Array(com_array<int32_t>& value) const;
+ auto GetUInt32Array(com_array<uint32_t>& value) const;
+ auto GetInt64Array(com_array<int64_t>& value) const;
+ auto GetUInt64Array(com_array<uint64_t>& value) const;
+ auto GetSingleArray(com_array<float>& value) const;
+ auto GetDoubleArray(com_array<double>& value) const;
+ auto GetChar16Array(com_array<char16_t>& value) const;
+ auto GetBooleanArray(com_array<bool>& value) const;
+ auto GetStringArray(com_array<hstring>& value) const;
+ auto GetInspectableArray(com_array<winrt::Windows::Foundation::IInspectable>& value) const;
+ auto GetGuidArray(com_array<winrt::guid>& value) const;
+ auto GetDateTimeArray(com_array<winrt::Windows::Foundation::DateTime>& value) const;
+ auto GetTimeSpanArray(com_array<winrt::Windows::Foundation::TimeSpan>& value) const;
+ auto GetPointArray(com_array<winrt::Windows::Foundation::Point>& value) const;
+ auto GetSizeArray(com_array<winrt::Windows::Foundation::Size>& value) const;
+ auto GetRectArray(com_array<winrt::Windows::Foundation::Rect>& value) const;
};
template <> struct consume<winrt::Windows::Foundation::IPropertyValue>
{
@@ -796,45 +796,45 @@ namespace winrt::impl
template <typename D>
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<uint8_t const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateInt16Array(array_view<int16_t const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateUInt16Array(array_view<uint16_t const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateInt32Array(array_view<int32_t const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateUInt32Array(array_view<uint32_t const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateInt64Array(array_view<int64_t const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateUInt64Array(array_view<uint64_t const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateSingleArray(array_view<float const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateDoubleArray(array_view<double const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateChar16Array(array_view<char16_t const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateBooleanArray(array_view<bool const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateStringArray(array_view<hstring const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateInspectableArray(array_view<winrt::Windows::Foundation::IInspectable const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateGuidArray(array_view<winrt::guid const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateDateTimeArray(array_view<winrt::Windows::Foundation::DateTime const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateTimeSpanArray(array_view<winrt::Windows::Foundation::TimeSpan const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreatePointArray(array_view<winrt::Windows::Foundation::Point const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateSizeArray(array_view<winrt::Windows::Foundation::Size const> value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) CreateRectArray(array_view<winrt::Windows::Foundation::Rect const> 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<uint8_t const> value) const;
+ auto CreateInt16Array(array_view<int16_t const> value) const;
+ auto CreateUInt16Array(array_view<uint16_t const> value) const;
+ auto CreateInt32Array(array_view<int32_t const> value) const;
+ auto CreateUInt32Array(array_view<uint32_t const> value) const;
+ auto CreateInt64Array(array_view<int64_t const> value) const;
+ auto CreateUInt64Array(array_view<uint64_t const> value) const;
+ auto CreateSingleArray(array_view<float const> value) const;
+ auto CreateDoubleArray(array_view<double const> value) const;
+ auto CreateChar16Array(array_view<char16_t const> value) const;
+ auto CreateBooleanArray(array_view<bool const> value) const;
+ auto CreateStringArray(array_view<hstring const> value) const;
+ auto CreateInspectableArray(array_view<winrt::Windows::Foundation::IInspectable const> value) const;
+ auto CreateGuidArray(array_view<winrt::guid const> value) const;
+ auto CreateDateTimeArray(array_view<winrt::Windows::Foundation::DateTime const> value) const;
+ auto CreateTimeSpanArray(array_view<winrt::Windows::Foundation::TimeSpan const> value) const;
+ auto CreatePointArray(array_view<winrt::Windows::Foundation::Point const> value) const;
+ auto CreateSizeArray(array_view<winrt::Windows::Foundation::Size const> value) const;
+ auto CreateRectArray(array_view<winrt::Windows::Foundation::Rect const> value) const;
};
template <> struct consume<winrt::Windows::Foundation::IPropertyValueStatics>
{
@@ -843,7 +843,7 @@ namespace winrt::impl
template <typename D, typename T>
struct consume_Windows_Foundation_IReferenceArray
{
- [[nodiscard]] WINRT_IMPL_AUTO(com_array<T>) Value() const;
+ [[nodiscard]] auto Value() const;
};
template <typename T> struct consume<winrt::Windows::Foundation::IReferenceArray<T>>
{
@@ -852,7 +852,7 @@ namespace winrt::impl
template <typename D, typename T>
struct consume_Windows_Foundation_IReference
{
- [[nodiscard]] WINRT_IMPL_AUTO(T) Value() const;
+ [[nodiscard]] auto Value() const;
};
template <typename T> struct consume<winrt::Windows::Foundation::IReference<T>>
{
@@ -861,7 +861,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Foundation_IStringable
{
- WINRT_IMPL_AUTO(hstring) ToString() const;
+ auto ToString() const;
};
template <> struct consume<winrt::Windows::Foundation::IStringable>
{
@@ -870,8 +870,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IUriEscapeStatics>
{
@@ -880,23 +880,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IUriRuntimeClass>
{
@@ -905,8 +905,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IUriRuntimeClassFactory>
{
@@ -915,8 +915,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IUriRuntimeClassWithAbsoluteCanonicalUri>
{
@@ -925,8 +925,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IWwwFormUrlDecoderEntry>
{
@@ -935,7 +935,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IWwwFormUrlDecoderRuntimeClass>
{
@@ -944,7 +944,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IWwwFormUrlDecoderRuntimeClassFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.1.h
index 0a4fb70b813..423ba9052f1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.1.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IStringable, wchar_t> : std::formatter<winrt::hstring, wchar_t>
{
- template<typename FormatContext>
- auto format(winrt::Windows::Foundation::IStringable const& obj, FormatContext& fc)
- {
- return std::formatter<winrt::hstring, wchar_t>::format(obj.ToString(), fc);
- }
+ template <typename FormatContext>
+ auto format(winrt::Windows::Foundation::IStringable const& obj, FormatContext& fc);
};
#endif
#endif
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.2.h
index 8bf37e00e7d..8ff44398bca 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.0.h
index e163296f0f4..d07dc1237fd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D, typename T>
struct consume_Windows_Foundation_Collections_IIterable
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterator<T>) First() const;
+ auto First() const;
auto begin() const;
auto end() const;
@@ -244,10 +244,10 @@ namespace winrt::impl
template <typename D, typename T>
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<T> items) const;
+ [[nodiscard]] auto Current() const;
+ [[nodiscard]] auto HasCurrent() const;
+ auto MoveNext() const;
+ auto GetMany(array_view<T> items) const;
auto& operator++()
{
@@ -276,8 +276,8 @@ namespace winrt::impl
template <typename D, typename K, typename V>
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<K, V> const& other) const
{
@@ -296,8 +296,8 @@ namespace winrt::impl
template <typename D, typename K>
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 <typename K> struct consume<winrt::Windows::Foundation::Collections::IMapChangedEventArgs<K>>
{
@@ -306,10 +306,10 @@ namespace winrt::impl
template <typename D, typename K, typename V>
struct consume_Windows_Foundation_Collections_IMapView
{
- WINRT_IMPL_AUTO(V) Lookup(impl::param_type<K> const& key) const;
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Size() const;
- WINRT_IMPL_AUTO(bool) HasKey(impl::param_type<K> const& key) const;
- WINRT_IMPL_AUTO(void) Split(winrt::Windows::Foundation::Collections::IMapView<K, V>& first, winrt::Windows::Foundation::Collections::IMapView<K, V>& second) const;
+ auto Lookup(impl::param_type<K> const& key) const;
+ [[nodiscard]] auto Size() const;
+ auto HasKey(impl::param_type<K> const& key) const;
+ auto Split(winrt::Windows::Foundation::Collections::IMapView<K, V>& first, winrt::Windows::Foundation::Collections::IMapView<K, V>& second) const;
auto TryLookup(param_type<K> const& key) const
{
@@ -340,13 +340,13 @@ namespace winrt::impl
template <typename D, typename K, typename V>
struct consume_Windows_Foundation_Collections_IMap
{
- WINRT_IMPL_AUTO(V) Lookup(impl::param_type<K> const& key) const;
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Size() const;
- WINRT_IMPL_AUTO(bool) HasKey(impl::param_type<K> const& key) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<K, V>) GetView() const;
- WINRT_IMPL_AUTO(bool) Insert(impl::param_type<K> const& key, impl::param_type<V> const& value) const;
- WINRT_IMPL_AUTO(void) Remove(impl::param_type<K> const& key) const;
- WINRT_IMPL_AUTO(void) Clear() const;
+ auto Lookup(impl::param_type<K> const& key) const;
+ [[nodiscard]] auto Size() const;
+ auto HasKey(impl::param_type<K> const& key) const;
+ auto GetView() const;
+ auto Insert(impl::param_type<K> const& key, impl::param_type<V> const& value) const;
+ auto Remove(impl::param_type<K> const& key) const;
+ auto Clear() const;
auto TryLookup(param_type<K> const& key) const
{
@@ -382,10 +382,10 @@ namespace winrt::impl
template <typename D, typename K, typename V>
struct consume_Windows_Foundation_Collections_IObservableMap
{
- WINRT_IMPL_AUTO(winrt::event_token) MapChanged(winrt::Windows::Foundation::Collections::MapChangedEventHandler<K, V> const& vhnd) const;
+ auto MapChanged(winrt::Windows::Foundation::Collections::MapChangedEventHandler<K, V> const& vhnd) const;
using MapChanged_revoker = impl::event_revoker<winrt::Windows::Foundation::Collections::IObservableMap<K, V>, &impl::abi_t<winrt::Windows::Foundation::Collections::IObservableMap<K, V>>::remove_MapChanged>;
- [[nodiscard]] MapChanged_revoker MapChanged(auto_revoke_t, winrt::Windows::Foundation::Collections::MapChangedEventHandler<K, V> 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<K, V> const& vhnd) const;
+ auto MapChanged(winrt::event_token const& token) const noexcept;
};
template <typename K, typename V> struct consume<winrt::Windows::Foundation::Collections::IObservableMap<K, V>>
{
@@ -394,10 +394,10 @@ namespace winrt::impl
template <typename D, typename T>
struct consume_Windows_Foundation_Collections_IObservableVector
{
- WINRT_IMPL_AUTO(winrt::event_token) VectorChanged(winrt::Windows::Foundation::Collections::VectorChangedEventHandler<T> const& vhnd) const;
+ auto VectorChanged(winrt::Windows::Foundation::Collections::VectorChangedEventHandler<T> const& vhnd) const;
using VectorChanged_revoker = impl::event_revoker<winrt::Windows::Foundation::Collections::IObservableVector<T>, &impl::abi_t<winrt::Windows::Foundation::Collections::IObservableVector<T>>::remove_VectorChanged>;
- [[nodiscard]] VectorChanged_revoker VectorChanged(auto_revoke_t, winrt::Windows::Foundation::Collections::VectorChangedEventHandler<T> 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<T> const& vhnd) const;
+ auto VectorChanged(winrt::event_token const& token) const noexcept;
};
template <typename T> struct consume<winrt::Windows::Foundation::Collections::IObservableVector<T>>
{
@@ -414,8 +414,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IVectorChangedEventArgs>
{
@@ -424,10 +424,10 @@ namespace winrt::impl
template <typename D, typename T>
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<T> const& value, uint32_t& index) const;
- WINRT_IMPL_AUTO(uint32_t) GetMany(uint32_t startIndex, array_view<T> items) const;
+ auto GetAt(uint32_t index) const;
+ [[nodiscard]] auto Size() const;
+ auto IndexOf(impl::param_type<T> const& value, uint32_t& index) const;
+ auto GetMany(uint32_t startIndex, array_view<T> items) const;
};
template <typename T> struct consume<winrt::Windows::Foundation::Collections::IVectorView<T>>
{
@@ -436,18 +436,18 @@ namespace winrt::impl
template <typename D, typename T>
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<T>) GetView() const;
- WINRT_IMPL_AUTO(bool) IndexOf(impl::param_type<T> const& value, uint32_t& index) const;
- WINRT_IMPL_AUTO(void) SetAt(uint32_t index, impl::param_type<T> const& value) const;
- WINRT_IMPL_AUTO(void) InsertAt(uint32_t index, impl::param_type<T> const& value) const;
- WINRT_IMPL_AUTO(void) RemoveAt(uint32_t index) const;
- WINRT_IMPL_AUTO(void) Append(impl::param_type<T> 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<T> items) const;
- WINRT_IMPL_AUTO(void) ReplaceAll(array_view<T const> items) const;
+ auto GetAt(uint32_t index) const;
+ [[nodiscard]] auto Size() const;
+ auto GetView() const;
+ auto IndexOf(impl::param_type<T> const& value, uint32_t& index) const;
+ auto SetAt(uint32_t index, impl::param_type<T> const& value) const;
+ auto InsertAt(uint32_t index, impl::param_type<T> const& value) const;
+ auto RemoveAt(uint32_t index) const;
+ auto Append(impl::param_type<T> const& value) const;
+ auto RemoveAtEnd() const;
+ auto Clear() const;
+ auto GetMany(uint32_t startIndex, array_view<T> items) const;
+ auto ReplaceAll(array_view<T const> items) const;
};
template <typename T> struct consume<winrt::Windows::Foundation::Collections::IVector<T>>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.1.h
index 864a002385c..2319a7103d7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.2.h
index 44a621a68ba..17ece4af14a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Collections.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.0.h
index 4ff53fa8832..a1a27be0465 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Point;
struct Rect;
struct Size;
@@ -588,15 +587,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs> 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<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs> const& handler) const;
using TracingStatusChanged_revoker = impl::event_revoker<winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics, &impl::abi_t<winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics>::remove_TracingStatusChanged>;
- [[nodiscard]] TracingStatusChanged_revoker TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs> 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<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs> const& handler) const;
+ auto TracingStatusChanged(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics>
{
@@ -605,9 +604,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Diagnostics::IErrorDetails>
{
@@ -616,7 +615,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Foundation_Diagnostics_IErrorDetailsStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Diagnostics::ErrorDetails>) CreateFromHResultAsync(int32_t errorCode) const;
+ auto CreateFromHResultAsync(int32_t errorCode) const;
};
template <> struct consume<winrt::Windows::Foundation::Diagnostics::IErrorDetailsStatics>
{
@@ -625,8 +624,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Diagnostics::IErrorReportingSettings>
{
@@ -635,15 +634,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::StorageFile>) CloseAndSaveToFileAsync() const;
- WINRT_IMPL_AUTO(winrt::event_token) LogFileGenerated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession, winrt::Windows::Foundation::Diagnostics::LogFileGeneratedEventArgs> 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<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession, winrt::Windows::Foundation::Diagnostics::LogFileGeneratedEventArgs> const& handler) const;
using LogFileGenerated_revoker = impl::event_revoker<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession, &impl::abi_t<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession>::remove_LogFileGenerated>;
- [[nodiscard]] LogFileGenerated_revoker LogFileGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession, winrt::Windows::Foundation::Diagnostics::LogFileGeneratedEventArgs> 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<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession, winrt::Windows::Foundation::Diagnostics::LogFileGeneratedEventArgs> const& handler) const;
+ auto LogFileGenerated(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Foundation::Diagnostics::IFileLoggingSession>
{
@@ -652,7 +651,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Diagnostics::IFileLoggingSessionFactory>
{
@@ -661,7 +660,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Foundation_Diagnostics_ILogFileGeneratedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) File() const;
+ [[nodiscard]] auto File() const;
};
template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILogFileGeneratedEventArgs>
{
@@ -670,8 +669,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Diagnostics::ILoggingActivity>
{
@@ -680,10 +679,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Diagnostics::ILoggingActivity2>
{
@@ -692,8 +691,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Diagnostics::ILoggingActivityFactory>
{
@@ -702,17 +701,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Diagnostics::ILoggingChannel, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::Diagnostics::ILoggingChannel, winrt::Windows::Foundation::IInspectable> const& handler) const;
using LoggingEnabled_revoker = impl::event_revoker<winrt::Windows::Foundation::Diagnostics::ILoggingChannel, &impl::abi_t<winrt::Windows::Foundation::Diagnostics::ILoggingChannel>::remove_LoggingEnabled>;
- [[nodiscard]] LoggingEnabled_revoker LoggingEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::Diagnostics::ILoggingChannel, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::Diagnostics::ILoggingChannel, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto LoggingEnabled(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingChannel>
{
@@ -721,7 +720,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Foundation_Diagnostics_ILoggingChannel2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) Id() const;
+ [[nodiscard]] auto Id() const;
};
template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingChannel2>
{
@@ -730,7 +729,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Diagnostics::ILoggingChannelFactory>
{
@@ -739,8 +738,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Diagnostics::ILoggingChannelFactory2>
{
@@ -749,8 +748,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptions>
{
@@ -759,7 +758,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Diagnostics::ILoggingChannelOptionsFactory>
{
@@ -768,121 +767,121 @@ namespace winrt::impl
template <typename D>
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<uint8_t const> value) const;
- WINRT_IMPL_AUTO(void) AddUInt8Array(param::hstring const& name, array_view<uint8_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddUInt8Array(param::hstring const& name, array_view<uint8_t const> 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<int16_t const> value) const;
- WINRT_IMPL_AUTO(void) AddInt16Array(param::hstring const& name, array_view<int16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddInt16Array(param::hstring const& name, array_view<int16_t const> 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<uint16_t const> value) const;
- WINRT_IMPL_AUTO(void) AddUInt16Array(param::hstring const& name, array_view<uint16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddUInt16Array(param::hstring const& name, array_view<uint16_t const> 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<int32_t const> value) const;
- WINRT_IMPL_AUTO(void) AddInt32Array(param::hstring const& name, array_view<int32_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddInt32Array(param::hstring const& name, array_view<int32_t const> 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<uint32_t const> value) const;
- WINRT_IMPL_AUTO(void) AddUInt32Array(param::hstring const& name, array_view<uint32_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddUInt32Array(param::hstring const& name, array_view<uint32_t const> 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<int64_t const> value) const;
- WINRT_IMPL_AUTO(void) AddInt64Array(param::hstring const& name, array_view<int64_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddInt64Array(param::hstring const& name, array_view<int64_t const> 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<uint64_t const> value) const;
- WINRT_IMPL_AUTO(void) AddUInt64Array(param::hstring const& name, array_view<uint64_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddUInt64Array(param::hstring const& name, array_view<uint64_t const> 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<float const> value) const;
- WINRT_IMPL_AUTO(void) AddSingleArray(param::hstring const& name, array_view<float const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddSingleArray(param::hstring const& name, array_view<float const> 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<double const> value) const;
- WINRT_IMPL_AUTO(void) AddDoubleArray(param::hstring const& name, array_view<double const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddDoubleArray(param::hstring const& name, array_view<double const> 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<char16_t const> value) const;
- WINRT_IMPL_AUTO(void) AddChar16Array(param::hstring const& name, array_view<char16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddChar16Array(param::hstring const& name, array_view<char16_t const> 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<bool const> value) const;
- WINRT_IMPL_AUTO(void) AddBooleanArray(param::hstring const& name, array_view<bool const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddBooleanArray(param::hstring const& name, array_view<bool const> 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<hstring const> value) const;
- WINRT_IMPL_AUTO(void) AddStringArray(param::hstring const& name, array_view<hstring const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddStringArray(param::hstring const& name, array_view<hstring const> 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<winrt::guid const> value) const;
- WINRT_IMPL_AUTO(void) AddGuidArray(param::hstring const& name, array_view<winrt::guid const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddGuidArray(param::hstring const& name, array_view<winrt::guid const> 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<winrt::Windows::Foundation::DateTime const> value) const;
- WINRT_IMPL_AUTO(void) AddDateTimeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::DateTime const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddDateTimeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::DateTime const> 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<winrt::Windows::Foundation::TimeSpan const> value) const;
- WINRT_IMPL_AUTO(void) AddTimeSpanArray(param::hstring const& name, array_view<winrt::Windows::Foundation::TimeSpan const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddTimeSpanArray(param::hstring const& name, array_view<winrt::Windows::Foundation::TimeSpan const> 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<winrt::Windows::Foundation::Point const> value) const;
- WINRT_IMPL_AUTO(void) AddPointArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Point const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddPointArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Point const> 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<winrt::Windows::Foundation::Size const> value) const;
- WINRT_IMPL_AUTO(void) AddSizeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Size const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddSizeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Size const> 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<winrt::Windows::Foundation::Rect const> value) const;
- WINRT_IMPL_AUTO(void) AddRectArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Rect const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
- WINRT_IMPL_AUTO(void) AddRectArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Rect const> 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<uint8_t const> value) const;
+ auto AddUInt8Array(param::hstring const& name, array_view<uint8_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddUInt8Array(param::hstring const& name, array_view<uint8_t const> 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<int16_t const> value) const;
+ auto AddInt16Array(param::hstring const& name, array_view<int16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddInt16Array(param::hstring const& name, array_view<int16_t const> 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<uint16_t const> value) const;
+ auto AddUInt16Array(param::hstring const& name, array_view<uint16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddUInt16Array(param::hstring const& name, array_view<uint16_t const> 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<int32_t const> value) const;
+ auto AddInt32Array(param::hstring const& name, array_view<int32_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddInt32Array(param::hstring const& name, array_view<int32_t const> 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<uint32_t const> value) const;
+ auto AddUInt32Array(param::hstring const& name, array_view<uint32_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddUInt32Array(param::hstring const& name, array_view<uint32_t const> 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<int64_t const> value) const;
+ auto AddInt64Array(param::hstring const& name, array_view<int64_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddInt64Array(param::hstring const& name, array_view<int64_t const> 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<uint64_t const> value) const;
+ auto AddUInt64Array(param::hstring const& name, array_view<uint64_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddUInt64Array(param::hstring const& name, array_view<uint64_t const> 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<float const> value) const;
+ auto AddSingleArray(param::hstring const& name, array_view<float const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddSingleArray(param::hstring const& name, array_view<float const> 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<double const> value) const;
+ auto AddDoubleArray(param::hstring const& name, array_view<double const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddDoubleArray(param::hstring const& name, array_view<double const> 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<char16_t const> value) const;
+ auto AddChar16Array(param::hstring const& name, array_view<char16_t const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddChar16Array(param::hstring const& name, array_view<char16_t const> 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<bool const> value) const;
+ auto AddBooleanArray(param::hstring const& name, array_view<bool const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddBooleanArray(param::hstring const& name, array_view<bool const> 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<hstring const> value) const;
+ auto AddStringArray(param::hstring const& name, array_view<hstring const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddStringArray(param::hstring const& name, array_view<hstring const> 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<winrt::guid const> value) const;
+ auto AddGuidArray(param::hstring const& name, array_view<winrt::guid const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddGuidArray(param::hstring const& name, array_view<winrt::guid const> 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<winrt::Windows::Foundation::DateTime const> value) const;
+ auto AddDateTimeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::DateTime const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddDateTimeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::DateTime const> 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<winrt::Windows::Foundation::TimeSpan const> value) const;
+ auto AddTimeSpanArray(param::hstring const& name, array_view<winrt::Windows::Foundation::TimeSpan const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddTimeSpanArray(param::hstring const& name, array_view<winrt::Windows::Foundation::TimeSpan const> 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<winrt::Windows::Foundation::Point const> value) const;
+ auto AddPointArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Point const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddPointArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Point const> 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<winrt::Windows::Foundation::Size const> value) const;
+ auto AddSizeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Size const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddSizeArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Size const> 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<winrt::Windows::Foundation::Rect const> value) const;
+ auto AddRectArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Rect const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format) const;
+ auto AddRectArray(param::hstring const& name, array_view<winrt::Windows::Foundation::Rect const> value, winrt::Windows::Foundation::Diagnostics::LoggingFieldFormat const& format, int32_t tags) const;
};
template <> struct consume<winrt::Windows::Foundation::Diagnostics::ILoggingFields>
{
@@ -891,18 +890,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Diagnostics::ILoggingOptions>
{
@@ -911,7 +910,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Diagnostics::ILoggingOptionsFactory>
{
@@ -920,11 +919,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Foundation_Diagnostics_ILoggingSession
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) 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<winrt::Windows::Foundation::Diagnostics::ILoggingSession>
{
@@ -933,7 +932,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Diagnostics::ILoggingSessionFactory>
{
@@ -942,17 +941,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Diagnostics::ILoggingTarget>
{
@@ -961,8 +960,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Diagnostics::ITracingStatusChangedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.1.h
index 2554b574b8b..0e27d7ebc03 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.2.h
index ad742491865..44ae89a5f5b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Diagnostics.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs> const& handler);
using TracingStatusChanged_revoker = impl::factory_event_revoker<winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics, &impl::abi_t<winrt::Windows::Foundation::Diagnostics::IAsyncCausalityTracerStatics>::remove_TracingStatusChanged>;
- [[nodiscard]] static TracingStatusChanged_revoker TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs> const& handler);
+ [[nodiscard]] static auto TracingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::Diagnostics::TracingStatusChangedEventArgs> const& handler);
static auto TracingStatusChanged(winrt::event_token const& cookie);
};
struct __declspec(empty_bases) ErrorDetails : winrt::Windows::Foundation::Diagnostics::IErrorDetails
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.0.h
index 126eb81649d..2f06881b909 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Foundation::Metadata::IApiInformationStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.1.h
index 5c2510ab14b..afad4792d7f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.2.h
index 0e894898e17..e862ff3d8a3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Metadata.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.0.h
index c688c60eca0..c23d64335ea 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.0.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.1.h
index 082a27d4f65..2bb51388eeb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.2.h
index c2714ffce5d..6ca91cd9fc6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Foundation.Numerics.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.0.h
index 5d28f2fb894..4655c52b20b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Gaming::Input::ForceFeedback
{
struct ForceFeedbackMotor;
@@ -580,8 +572,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::IArcadeStick>
{
@@ -590,15 +582,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_Input_IArcadeStickStatics
{
- WINRT_IMPL_AUTO(winrt::event_token) ArcadeStickAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value) const;
+ auto ArcadeStickAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value) const;
using ArcadeStickAdded_revoker = impl::event_revoker<winrt::Windows::Gaming::Input::IArcadeStickStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IArcadeStickStatics>::remove_ArcadeStickAdded>;
- [[nodiscard]] ArcadeStickAdded_revoker ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> 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<winrt::Windows::Gaming::Input::ArcadeStick> const& value) const;
+ [[nodiscard]] auto ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value) const;
+ auto ArcadeStickAdded(winrt::event_token const& token) const noexcept;
+ auto ArcadeStickRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value) const;
using ArcadeStickRemoved_revoker = impl::event_revoker<winrt::Windows::Gaming::Input::IArcadeStickStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IArcadeStickStatics>::remove_ArcadeStickRemoved>;
- [[nodiscard]] ArcadeStickRemoved_revoker ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value) const;
- WINRT_IMPL_AUTO(void) ArcadeStickRemoved(winrt::event_token const& token) const noexcept;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::ArcadeStick>) ArcadeSticks() const;
+ [[nodiscard]] auto ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value) const;
+ auto ArcadeStickRemoved(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto ArcadeSticks() const;
};
template <> struct consume<winrt::Windows::Gaming::Input::IArcadeStickStatics>
{
@@ -607,7 +599,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::IArcadeStickStatics2>
{
@@ -616,9 +608,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::IFlightStick>
{
@@ -627,16 +619,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_Input_IFlightStickStatics
{
- WINRT_IMPL_AUTO(winrt::event_token) FlightStickAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value) const;
+ auto FlightStickAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value) const;
using FlightStickAdded_revoker = impl::event_revoker<winrt::Windows::Gaming::Input::IFlightStickStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IFlightStickStatics>::remove_FlightStickAdded>;
- [[nodiscard]] FlightStickAdded_revoker FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> 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<winrt::Windows::Gaming::Input::FlightStick> const& value) const;
+ [[nodiscard]] auto FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value) const;
+ auto FlightStickAdded(winrt::event_token const& token) const noexcept;
+ auto FlightStickRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value) const;
using FlightStickRemoved_revoker = impl::event_revoker<winrt::Windows::Gaming::Input::IFlightStickStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IFlightStickStatics>::remove_FlightStickRemoved>;
- [[nodiscard]] FlightStickRemoved_revoker FlightStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value) const;
- WINRT_IMPL_AUTO(void) FlightStickRemoved(winrt::event_token const& token) const noexcept;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::FlightStick>) 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<winrt::Windows::Gaming::Input::FlightStick> 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<winrt::Windows::Gaming::Input::IFlightStickStatics>
{
@@ -645,21 +637,21 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_Input_IGameController
{
- WINRT_IMPL_AUTO(winrt::event_token) HeadsetConnected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::Gaming::Input::Headset> const& value) const;
+ auto HeadsetConnected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::Gaming::Input::Headset> const& value) const;
using HeadsetConnected_revoker = impl::event_revoker<winrt::Windows::Gaming::Input::IGameController, &impl::abi_t<winrt::Windows::Gaming::Input::IGameController>::remove_HeadsetConnected>;
- [[nodiscard]] HeadsetConnected_revoker HeadsetConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::Gaming::Input::Headset> 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<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::Gaming::Input::Headset> const& value) const;
+ [[nodiscard]] auto HeadsetConnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::Gaming::Input::Headset> const& value) const;
+ auto HeadsetConnected(winrt::event_token const& token) const noexcept;
+ auto HeadsetDisconnected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::Gaming::Input::Headset> const& value) const;
using HeadsetDisconnected_revoker = impl::event_revoker<winrt::Windows::Gaming::Input::IGameController, &impl::abi_t<winrt::Windows::Gaming::Input::IGameController>::remove_HeadsetDisconnected>;
- [[nodiscard]] HeadsetDisconnected_revoker HeadsetDisconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::Gaming::Input::Headset> 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<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::System::UserChangedEventArgs> const& value) const;
+ [[nodiscard]] auto HeadsetDisconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::Gaming::Input::Headset> const& value) const;
+ auto HeadsetDisconnected(winrt::event_token const& token) const noexcept;
+ auto UserChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::System::UserChangedEventArgs> const& value) const;
using UserChanged_revoker = impl::event_revoker<winrt::Windows::Gaming::Input::IGameController, &impl::abi_t<winrt::Windows::Gaming::Input::IGameController>::remove_UserChanged>;
- [[nodiscard]] UserChanged_revoker UserChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::System::UserChangedEventArgs> 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<winrt::Windows::Gaming::Input::IGameController, winrt::Windows::System::UserChangedEventArgs> 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<winrt::Windows::Gaming::Input::IGameController>
{
@@ -668,7 +660,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_Input_IGameControllerBatteryInfo
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Power::BatteryReport) TryGetBatteryReport() const;
+ auto TryGetBatteryReport() const;
};
template <> struct consume<winrt::Windows::Gaming::Input::IGameControllerBatteryInfo>
{
@@ -677,9 +669,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::IGamepad>
{
@@ -688,7 +680,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::IGamepad2>
{
@@ -697,15 +689,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_Input_IGamepadStatics
{
- WINRT_IMPL_AUTO(winrt::event_token) GamepadAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value) const;
+ auto GamepadAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value) const;
using GamepadAdded_revoker = impl::event_revoker<winrt::Windows::Gaming::Input::IGamepadStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IGamepadStatics>::remove_GamepadAdded>;
- [[nodiscard]] GamepadAdded_revoker GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> 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<winrt::Windows::Gaming::Input::Gamepad> const& value) const;
+ [[nodiscard]] auto GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value) const;
+ auto GamepadAdded(winrt::event_token const& token) const noexcept;
+ auto GamepadRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value) const;
using GamepadRemoved_revoker = impl::event_revoker<winrt::Windows::Gaming::Input::IGamepadStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IGamepadStatics>::remove_GamepadRemoved>;
- [[nodiscard]] GamepadRemoved_revoker GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value) const;
- WINRT_IMPL_AUTO(void) GamepadRemoved(winrt::event_token const& token) const noexcept;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::Gamepad>) Gamepads() const;
+ [[nodiscard]] auto GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value) const;
+ auto GamepadRemoved(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto Gamepads() const;
};
template <> struct consume<winrt::Windows::Gaming::Input::IGamepadStatics>
{
@@ -714,7 +706,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::IGamepadStatics2>
{
@@ -723,8 +715,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::IHeadset>
{
@@ -733,14 +725,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::IRacingWheel>
{
@@ -749,15 +741,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_Input_IRacingWheelStatics
{
- WINRT_IMPL_AUTO(winrt::event_token) RacingWheelAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value) const;
+ auto RacingWheelAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value) const;
using RacingWheelAdded_revoker = impl::event_revoker<winrt::Windows::Gaming::Input::IRacingWheelStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IRacingWheelStatics>::remove_RacingWheelAdded>;
- [[nodiscard]] RacingWheelAdded_revoker RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> 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<winrt::Windows::Gaming::Input::RacingWheel> const& value) const;
+ [[nodiscard]] auto RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value) const;
+ auto RacingWheelAdded(winrt::event_token const& token) const noexcept;
+ auto RacingWheelRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value) const;
using RacingWheelRemoved_revoker = impl::event_revoker<winrt::Windows::Gaming::Input::IRacingWheelStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IRacingWheelStatics>::remove_RacingWheelRemoved>;
- [[nodiscard]] RacingWheelRemoved_revoker RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value) const;
- WINRT_IMPL_AUTO(void) RacingWheelRemoved(winrt::event_token const& token) const noexcept;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::RacingWheel>) RacingWheels() const;
+ [[nodiscard]] auto RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value) const;
+ auto RacingWheelRemoved(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto RacingWheels() const;
};
template <> struct consume<winrt::Windows::Gaming::Input::IRacingWheelStatics>
{
@@ -766,7 +758,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::IRacingWheelStatics2>
{
@@ -775,15 +767,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackMotor>) 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<bool> buttonArray, array_view<winrt::Windows::Gaming::Input::GameControllerSwitchPosition> switchArray, array_view<double> 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<bool> buttonArray, array_view<winrt::Windows::Gaming::Input::GameControllerSwitchPosition> switchArray, array_view<double> axisArray) const;
+ auto GetSwitchKind(int32_t switchIndex) const;
};
template <> struct consume<winrt::Windows::Gaming::Input::IRawGameController>
{
@@ -792,9 +784,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_Input_IRawGameController2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Devices::Haptics::SimpleHapticsController>) 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<winrt::Windows::Gaming::Input::IRawGameController2>
{
@@ -803,16 +795,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_Input_IRawGameControllerStatics
{
- WINRT_IMPL_AUTO(winrt::event_token) RawGameControllerAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value) const;
+ auto RawGameControllerAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value) const;
using RawGameControllerAdded_revoker = impl::event_revoker<winrt::Windows::Gaming::Input::IRawGameControllerStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IRawGameControllerStatics>::remove_RawGameControllerAdded>;
- [[nodiscard]] RawGameControllerAdded_revoker RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> 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<winrt::Windows::Gaming::Input::RawGameController> const& value) const;
+ [[nodiscard]] auto RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value) const;
+ auto RawGameControllerAdded(winrt::event_token const& token) const noexcept;
+ auto RawGameControllerRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value) const;
using RawGameControllerRemoved_revoker = impl::event_revoker<winrt::Windows::Gaming::Input::IRawGameControllerStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IRawGameControllerStatics>::remove_RawGameControllerRemoved>;
- [[nodiscard]] RawGameControllerRemoved_revoker RawGameControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value) const;
- WINRT_IMPL_AUTO(void) RawGameControllerRemoved(winrt::event_token const& token) const noexcept;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::RawGameController>) 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<winrt::Windows::Gaming::Input::RawGameController> 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<winrt::Windows::Gaming::Input::IRawGameControllerStatics>
{
@@ -821,9 +813,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::IUINavigationController>
{
@@ -832,15 +824,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_Input_IUINavigationControllerStatics
{
- WINRT_IMPL_AUTO(winrt::event_token) UINavigationControllerAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value) const;
+ auto UINavigationControllerAdded(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value) const;
using UINavigationControllerAdded_revoker = impl::event_revoker<winrt::Windows::Gaming::Input::IUINavigationControllerStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IUINavigationControllerStatics>::remove_UINavigationControllerAdded>;
- [[nodiscard]] UINavigationControllerAdded_revoker UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> 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<winrt::Windows::Gaming::Input::UINavigationController> const& value) const;
+ [[nodiscard]] auto UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value) const;
+ auto UINavigationControllerAdded(winrt::event_token const& token) const noexcept;
+ auto UINavigationControllerRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value) const;
using UINavigationControllerRemoved_revoker = impl::event_revoker<winrt::Windows::Gaming::Input::IUINavigationControllerStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IUINavigationControllerStatics>::remove_UINavigationControllerRemoved>;
- [[nodiscard]] UINavigationControllerRemoved_revoker UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value) const;
- WINRT_IMPL_AUTO(void) UINavigationControllerRemoved(winrt::event_token const& token) const noexcept;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Input::UINavigationController>) UINavigationControllers() const;
+ [[nodiscard]] auto UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value) const;
+ auto UINavigationControllerRemoved(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto UINavigationControllers() const;
};
template <> struct consume<winrt::Windows::Gaming::Input::IUINavigationControllerStatics>
{
@@ -849,7 +841,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::IUINavigationControllerStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.1.h
index 083439a838d..5ef3873dc9f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.2.h
index f790d0779eb..1f7162c2fc3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Gaming::Input::ArcadeStick> const& value);
using ArcadeStickAdded_revoker = impl::factory_event_revoker<winrt::Windows::Gaming::Input::IArcadeStickStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IArcadeStickStatics>::remove_ArcadeStickAdded>;
- [[nodiscard]] static ArcadeStickAdded_revoker ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value);
+ [[nodiscard]] static auto ArcadeStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value);
static auto ArcadeStickAdded(winrt::event_token const& token);
static auto ArcadeStickRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value);
using ArcadeStickRemoved_revoker = impl::factory_event_revoker<winrt::Windows::Gaming::Input::IArcadeStickStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IArcadeStickStatics>::remove_ArcadeStickRemoved>;
- [[nodiscard]] static ArcadeStickRemoved_revoker ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> const& value);
+ [[nodiscard]] static auto ArcadeStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::ArcadeStick> 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<winrt::Windows::Gaming::Input::FlightStick> const& value);
using FlightStickAdded_revoker = impl::factory_event_revoker<winrt::Windows::Gaming::Input::IFlightStickStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IFlightStickStatics>::remove_FlightStickAdded>;
- [[nodiscard]] static FlightStickAdded_revoker FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value);
+ [[nodiscard]] static auto FlightStickAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value);
static auto FlightStickAdded(winrt::event_token const& token);
static auto FlightStickRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value);
using FlightStickRemoved_revoker = impl::factory_event_revoker<winrt::Windows::Gaming::Input::IFlightStickStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IFlightStickStatics>::remove_FlightStickRemoved>;
- [[nodiscard]] static FlightStickRemoved_revoker FlightStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> const& value);
+ [[nodiscard]] static auto FlightStickRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::FlightStick> 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<winrt::Windows::Gaming::Input::Gamepad> const& value);
using GamepadAdded_revoker = impl::factory_event_revoker<winrt::Windows::Gaming::Input::IGamepadStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IGamepadStatics>::remove_GamepadAdded>;
- [[nodiscard]] static GamepadAdded_revoker GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value);
+ [[nodiscard]] static auto GamepadAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value);
static auto GamepadAdded(winrt::event_token const& token);
static auto GamepadRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value);
using GamepadRemoved_revoker = impl::factory_event_revoker<winrt::Windows::Gaming::Input::IGamepadStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IGamepadStatics>::remove_GamepadRemoved>;
- [[nodiscard]] static GamepadRemoved_revoker GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> const& value);
+ [[nodiscard]] static auto GamepadRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::Gamepad> 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<winrt::Windows::Gaming::Input::RacingWheel> const& value);
using RacingWheelAdded_revoker = impl::factory_event_revoker<winrt::Windows::Gaming::Input::IRacingWheelStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IRacingWheelStatics>::remove_RacingWheelAdded>;
- [[nodiscard]] static RacingWheelAdded_revoker RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value);
+ [[nodiscard]] static auto RacingWheelAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value);
static auto RacingWheelAdded(winrt::event_token const& token);
static auto RacingWheelRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value);
using RacingWheelRemoved_revoker = impl::factory_event_revoker<winrt::Windows::Gaming::Input::IRacingWheelStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IRacingWheelStatics>::remove_RacingWheelRemoved>;
- [[nodiscard]] static RacingWheelRemoved_revoker RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> const& value);
+ [[nodiscard]] static auto RacingWheelRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RacingWheel> 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<winrt::Windows::Gaming::Input::RawGameController> const& value);
using RawGameControllerAdded_revoker = impl::factory_event_revoker<winrt::Windows::Gaming::Input::IRawGameControllerStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IRawGameControllerStatics>::remove_RawGameControllerAdded>;
- [[nodiscard]] static RawGameControllerAdded_revoker RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value);
+ [[nodiscard]] static auto RawGameControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value);
static auto RawGameControllerAdded(winrt::event_token const& token);
static auto RawGameControllerRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value);
using RawGameControllerRemoved_revoker = impl::factory_event_revoker<winrt::Windows::Gaming::Input::IRawGameControllerStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IRawGameControllerStatics>::remove_RawGameControllerRemoved>;
- [[nodiscard]] static RawGameControllerRemoved_revoker RawGameControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> const& value);
+ [[nodiscard]] static auto RawGameControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::RawGameController> 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<winrt::Windows::Gaming::Input::UINavigationController> const& value);
using UINavigationControllerAdded_revoker = impl::factory_event_revoker<winrt::Windows::Gaming::Input::IUINavigationControllerStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IUINavigationControllerStatics>::remove_UINavigationControllerAdded>;
- [[nodiscard]] static UINavigationControllerAdded_revoker UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value);
+ [[nodiscard]] static auto UINavigationControllerAdded(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value);
static auto UINavigationControllerAdded(winrt::event_token const& token);
static auto UINavigationControllerRemoved(winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value);
using UINavigationControllerRemoved_revoker = impl::factory_event_revoker<winrt::Windows::Gaming::Input::IUINavigationControllerStatics, &impl::abi_t<winrt::Windows::Gaming::Input::IUINavigationControllerStatics>::remove_UINavigationControllerRemoved>;
- [[nodiscard]] static UINavigationControllerRemoved_revoker UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> const& value);
+ [[nodiscard]] static auto UINavigationControllerRemoved(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Gaming::Input::UINavigationController> 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.0.h
index 2cb643637cf..4ea7d9e6811 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
-}
WINRT_EXPORT namespace winrt::Windows::Gaming::Input
{
struct IGameController;
@@ -237,9 +233,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::Custom::ICustomGameControllerFactory>
{
@@ -248,9 +244,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::Custom::IGameControllerFactoryManagerStatics>
{
@@ -259,7 +255,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::Custom::IGameControllerFactoryManagerStatics2>
{
@@ -268,8 +264,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::Custom::IGameControllerInputSink>
{
@@ -278,11 +274,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::Custom::IGameControllerProvider>
{
@@ -291,9 +287,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::Custom::IGipFirmwareUpdateResult>
{
@@ -302,8 +298,8 @@ namespace winrt::impl
template <typename D>
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<uint8_t const> 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<uint8_t const> messageBuffer) const;
};
template <> struct consume<winrt::Windows::Gaming::Input::Custom::IGipGameControllerInputSink>
{
@@ -312,9 +308,9 @@ namespace winrt::impl
template <typename D>
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<uint8_t const> messageBuffer) const;
- WINRT_IMPL_AUTO(void) SendReceiveMessage(winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, array_view<uint8_t const> requestMessageBuffer, array_view<uint8_t> responseMessageBuffer) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Gaming::Input::Custom::GipFirmwareUpdateResult, winrt::Windows::Gaming::Input::Custom::GipFirmwareUpdateProgress>) UpdateFirmwareAsync(winrt::Windows::Storage::Streams::IInputStream const& firmwareImage) const;
+ auto SendMessage(winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, array_view<uint8_t const> messageBuffer) const;
+ auto SendReceiveMessage(winrt::Windows::Gaming::Input::Custom::GipMessageClass const& messageClass, uint8_t messageId, array_view<uint8_t const> requestMessageBuffer, array_view<uint8_t> responseMessageBuffer) const;
+ auto UpdateFirmwareAsync(winrt::Windows::Storage::Streams::IInputStream const& firmwareImage) const;
};
template <> struct consume<winrt::Windows::Gaming::Input::Custom::IGipGameControllerProvider>
{
@@ -323,7 +319,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_Input_Custom_IHidGameControllerInputSink
{
- WINRT_IMPL_AUTO(void) OnInputReportReceived(uint64_t timestamp, uint8_t reportId, array_view<uint8_t const> reportBuffer) const;
+ auto OnInputReportReceived(uint64_t timestamp, uint8_t reportId, array_view<uint8_t const> reportBuffer) const;
};
template <> struct consume<winrt::Windows::Gaming::Input::Custom::IHidGameControllerInputSink>
{
@@ -332,11 +328,11 @@ namespace winrt::impl
template <typename D>
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<uint8_t> reportBuffer) const;
- WINRT_IMPL_AUTO(void) SendFeatureReport(uint8_t reportId, array_view<uint8_t const> reportBuffer) const;
- WINRT_IMPL_AUTO(void) SendOutputReport(uint8_t reportId, array_view<uint8_t const> reportBuffer) const;
+ [[nodiscard]] auto UsageId() const;
+ [[nodiscard]] auto UsagePage() const;
+ auto GetFeatureReport(uint8_t reportId, array_view<uint8_t> reportBuffer) const;
+ auto SendFeatureReport(uint8_t reportId, array_view<uint8_t const> reportBuffer) const;
+ auto SendOutputReport(uint8_t reportId, array_view<uint8_t const> reportBuffer) const;
};
template <> struct consume<winrt::Windows::Gaming::Input::Custom::IHidGameControllerProvider>
{
@@ -345,7 +341,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_Input_Custom_IXusbGameControllerInputSink
{
- WINRT_IMPL_AUTO(void) OnInputReceived(uint64_t timestamp, uint8_t reportId, array_view<uint8_t const> inputBuffer) const;
+ auto OnInputReceived(uint64_t timestamp, uint8_t reportId, array_view<uint8_t const> inputBuffer) const;
};
template <> struct consume<winrt::Windows::Gaming::Input::Custom::IXusbGameControllerInputSink>
{
@@ -354,7 +350,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::Custom::IXusbGameControllerProvider>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.1.h
index 8f89382cf1e..5fa72d25ba0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.2.h
index 4b6a6053ba7..9e4967804f5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Custom.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.0.h
index 1ecb31d6cc9..d634f36ff1d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics
{
@@ -192,8 +191,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::ForceFeedback::IConditionForceEffect>
{
@@ -202,7 +201,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::ForceFeedback::IConditionForceEffectFactory>
{
@@ -211,8 +210,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::ForceFeedback::IConstantForceEffect>
{
@@ -221,11 +220,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackEffect>
{
@@ -234,19 +233,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::ForceFeedback::ForceFeedbackLoadEffectResult>) 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<bool>) TryDisableAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryEnableAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryResetAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Gaming::Input::ForceFeedback::IForceFeedbackMotor>
{
@@ -255,9 +254,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::ForceFeedback::IPeriodicForceEffect>
{
@@ -266,7 +265,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::ForceFeedback::IPeriodicForceEffectFactory>
{
@@ -275,8 +274,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Input::ForceFeedback::IRampForceEffect>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.1.h
index 824b52763f5..21ccf7a048d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.2.h
index ba8e8f23bd7..676de95014a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.ForceFeedback.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.0.h
index 31cf4a94860..ebbc8037d0d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Gaming::Input::Preview::IGameControllerProviderInfoStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.1.h
index 52ddfe91fdf..d892018eaa9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.2.h
index fda686a1d80..36fbd02fbc6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Input.Preview.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.0.h
index bb7eedf72b1..b0be18ea01e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::Storage
{
struct IStorageFile;
@@ -200,11 +193,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameListEntry
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppDisplayInfo) DisplayInfo() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) LaunchAsync() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Gaming::Preview::GamesEnumeration::GameListCategory) Category() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry>
{
@@ -213,14 +206,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListEntry2>
{
@@ -229,20 +222,20 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry>>) FindAllAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry>>) 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<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics, &impl::abi_t<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics>::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<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics, &impl::abi_t<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics>::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<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics, &impl::abi_t<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics>::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<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics>
{
@@ -251,8 +244,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameListStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry>) 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Gaming::Preview::GamesEnumeration::GameListEntry>>) 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<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics2>
{
@@ -261,24 +254,24 @@ namespace winrt::impl
template <typename D>
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<hstring>) RelatedProcessNames() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) PercentGpuTimeAllocatedToGame() const;
- WINRT_IMPL_AUTO(void) PercentGpuTimeAllocatedToGame(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) PercentGpuMemoryAllocatedToGame() const;
- WINRT_IMPL_AUTO(void) PercentGpuMemoryAllocatedToGame(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) PercentGpuMemoryAllocatedToSystemCompositor() const;
- WINRT_IMPL_AUTO(void) PercentGpuMemoryAllocatedToSystemCompositor(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) MaxCpuCount() const;
- WINRT_IMPL_AUTO(void) MaxCpuCount(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) CpuExclusivityMaskLow() const;
- WINRT_IMPL_AUTO(void) CpuExclusivityMaskLow(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) CpuExclusivityMaskHigh() const;
- WINRT_IMPL_AUTO(void) CpuExclusivityMaskHigh(winrt::Windows::Foundation::IReference<int32_t> 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<int32_t> const& value) const;
+ [[nodiscard]] auto PercentGpuMemoryAllocatedToGame() const;
+ auto PercentGpuMemoryAllocatedToGame(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto PercentGpuMemoryAllocatedToSystemCompositor() const;
+ auto PercentGpuMemoryAllocatedToSystemCompositor(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto MaxCpuCount() const;
+ auto MaxCpuCount(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto CpuExclusivityMaskLow() const;
+ auto CpuExclusivityMaskLow(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto CpuExclusivityMaskHigh() const;
+ auto CpuExclusivityMaskHigh(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto AffinitizeToExclusiveCpus() const;
+ auto AffinitizeToExclusiveCpus(bool value) const;
+ auto SaveAsync() const;
};
template <> struct consume<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeConfiguration>
{
@@ -287,8 +280,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfiguration
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) GamingRelatedProcessNames() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveAsync() const;
+ [[nodiscard]] auto GamingRelatedProcessNames() const;
+ auto SaveAsync() const;
};
template <> struct consume<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeUserConfiguration>
{
@@ -297,7 +290,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_Preview_GamesEnumeration_IGameModeUserConfigurationStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Gaming::Preview::GamesEnumeration::GameModeUserConfiguration) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameModeUserConfigurationStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.1.h
index 9b43b76c291..c8660ff5e80 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.2.h
index c6c2a0ba29f..3f3dd5bea09 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.Preview.GamesEnumeration.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics, &impl::abi_t<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics>::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<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics, &impl::abi_t<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics>::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<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics, &impl::abi_t<winrt::Windows::Gaming::Preview::GamesEnumeration::IGameListStatics>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.0.h
index 72eb667e94e..aee0cac9a03 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
struct consume_Windows_Gaming_UI_IGameBarStatics
{
- WINRT_IMPL_AUTO(winrt::event_token) VisibilityChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto VisibilityChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using VisibilityChanged_revoker = impl::event_revoker<winrt::Windows::Gaming::UI::IGameBarStatics, &impl::abi_t<winrt::Windows::Gaming::UI::IGameBarStatics>::remove_VisibilityChanged>;
- [[nodiscard]] VisibilityChanged_revoker VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto VisibilityChanged(winrt::event_token const& token) const noexcept;
+ auto IsInputRedirectedChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using IsInputRedirectedChanged_revoker = impl::event_revoker<winrt::Windows::Gaming::UI::IGameBarStatics, &impl::abi_t<winrt::Windows::Gaming::UI::IGameBarStatics>::remove_IsInputRedirectedChanged>;
- [[nodiscard]] IsInputRedirectedChanged_revoker IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto IsInputRedirectedChanged(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto Visible() const;
+ [[nodiscard]] auto IsInputRedirected() const;
};
template <> struct consume<winrt::Windows::Gaming::UI::IGameBarStatics>
{
@@ -158,11 +158,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::UI::IGameChatMessageReceivedEventArgs>
{
@@ -171,9 +171,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::UI::IGameChatOverlay>
{
@@ -182,11 +182,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_UI_IGameChatOverlayMessageSource
{
- WINRT_IMPL_AUTO(winrt::event_token) MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::UI::GameChatOverlayMessageSource, winrt::Windows::Gaming::UI::GameChatMessageReceivedEventArgs> const& handler) const;
+ auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::UI::GameChatOverlayMessageSource, winrt::Windows::Gaming::UI::GameChatMessageReceivedEventArgs> const& handler) const;
using MessageReceived_revoker = impl::event_revoker<winrt::Windows::Gaming::UI::IGameChatOverlayMessageSource, &impl::abi_t<winrt::Windows::Gaming::UI::IGameChatOverlayMessageSource>::remove_MessageReceived>;
- [[nodiscard]] MessageReceived_revoker MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Gaming::UI::GameChatOverlayMessageSource, winrt::Windows::Gaming::UI::GameChatMessageReceivedEventArgs> 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<winrt::Windows::Gaming::UI::GameChatOverlayMessageSource, winrt::Windows::Gaming::UI::GameChatMessageReceivedEventArgs> const& handler) const;
+ auto MessageReceived(winrt::event_token const& token) const noexcept;
+ auto SetDelayBeforeClosingAfterMessageReceived(winrt::Windows::Foundation::TimeSpan const& value) const;
};
template <> struct consume<winrt::Windows::Gaming::UI::IGameChatOverlayMessageSource>
{
@@ -195,7 +195,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_UI_IGameChatOverlayStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Gaming::UI::GameChatOverlay) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Gaming::UI::IGameChatOverlayStatics>
{
@@ -204,8 +204,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::UI::IGameUIProviderActivatedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.1.h
index e1d01259087..17689f6402c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.2.h
index d677586ea9f..74db291a750 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.UI.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable> const& handler);
using VisibilityChanged_revoker = impl::factory_event_revoker<winrt::Windows::Gaming::UI::IGameBarStatics, &impl::abi_t<winrt::Windows::Gaming::UI::IGameBarStatics>::remove_VisibilityChanged>;
- [[nodiscard]] static VisibilityChanged_revoker VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto VisibilityChanged(winrt::event_token const& token);
static auto IsInputRedirectedChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using IsInputRedirectedChanged_revoker = impl::factory_event_revoker<winrt::Windows::Gaming::UI::IGameBarStatics, &impl::abi_t<winrt::Windows::Gaming::UI::IGameBarStatics>::remove_IsInputRedirectedChanged>;
- [[nodiscard]] static IsInputRedirectedChanged_revoker IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto IsInputRedirectedChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto IsInputRedirectedChanged(winrt::event_token const& token);
[[nodiscard]] static auto Visible();
[[nodiscard]] static auto IsInputRedirected();
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.0.h
index 06a49b184a4..52ad33fc13c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
template <typename K, typename V> struct __declspec(empty_bases) IMapView;
struct IPropertySet;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
@@ -252,8 +250,8 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Storage::Streams::IBuffer>) Value() const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto Value() const;
};
template <> struct consume<winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobGetResult>
{
@@ -262,8 +260,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfo>
{
@@ -272,8 +270,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::XboxLive::Storage::GameSaveBlobInfo>) Value() const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto Value() const;
};
template <> struct consume<winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfoGetResult>
{
@@ -282,9 +280,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveBlobInfoQuery
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveBlobInfoGetResult>) GetBlobInfoAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveBlobInfoGetResult>) GetBlobInfoAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) GetItemCountAsync() const;
+ auto GetBlobInfoAsync() const;
+ auto GetBlobInfoAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const;
+ auto GetItemCountAsync() const;
};
template <> struct consume<winrt::Windows::Gaming::XboxLive::Storage::IGameSaveBlobInfoQuery>
{
@@ -293,13 +291,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::XboxLive::Storage::GameSaveOperationResult>) SubmitUpdatesAsync(param::async_map_view<hstring, winrt::Windows::Storage::Streams::IBuffer> const& blobsToWrite, param::async_iterable<hstring> const& blobsToDelete, param::hstring const& displayName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveOperationResult>) ReadAsync(param::async_map_view<hstring, winrt::Windows::Storage::Streams::IBuffer> const& blobsToRead) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveBlobGetResult>) GetAsync(param::async_iterable<hstring> const& blobsToRead) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveOperationResult>) SubmitPropertySetUpdatesAsync(winrt::Windows::Foundation::Collections::IPropertySet const& blobsToWrite, param::async_iterable<hstring> 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<hstring, winrt::Windows::Storage::Streams::IBuffer> const& blobsToWrite, param::async_iterable<hstring> const& blobsToDelete, param::hstring const& displayName) const;
+ auto ReadAsync(param::async_map_view<hstring, winrt::Windows::Storage::Streams::IBuffer> const& blobsToRead) const;
+ auto GetAsync(param::async_iterable<hstring> const& blobsToRead) const;
+ auto SubmitPropertySetUpdatesAsync(winrt::Windows::Foundation::Collections::IPropertySet const& blobsToWrite, param::async_iterable<hstring> const& blobsToDelete, param::hstring const& displayName) const;
+ auto CreateBlobInfoQuery(param::hstring const& blobNamePrefix) const;
};
template <> struct consume<winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainer>
{
@@ -308,11 +306,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfo>
{
@@ -321,8 +319,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainerInfo>) Value() const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto Value() const;
};
template <> struct consume<winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfoGetResult>
{
@@ -331,9 +329,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveContainerInfoQuery
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainerInfoGetResult>) GetContainerInfoAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveContainerInfoGetResult>) GetContainerInfoAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) GetItemCountAsync() const;
+ auto GetContainerInfoAsync() const;
+ auto GetContainerInfoAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const;
+ auto GetItemCountAsync() const;
};
template <> struct consume<winrt::Windows::Gaming::XboxLive::Storage::IGameSaveContainerInfoQuery>
{
@@ -342,7 +340,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::XboxLive::Storage::IGameSaveOperationResult>
{
@@ -351,13 +349,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::XboxLive::Storage::GameSaveOperationResult>) 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<int64_t>) GetRemainingBytesInQuotaAsync() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) 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<winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProvider>
{
@@ -366,8 +364,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProviderGetResult>
{
@@ -376,8 +374,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Gaming_XboxLive_Storage_IGameSaveProviderStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveProviderGetResult>) GetForUserAsync(winrt::Windows::System::User const& user, param::hstring const& serviceConfigId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Gaming::XboxLive::Storage::GameSaveProviderGetResult>) 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<winrt::Windows::Gaming::XboxLive::Storage::IGameSaveProviderStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.1.h
index 8be2fd7fe62..48414864a72 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.2.h
index c110c2cf135..9060dea6de3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Gaming.XboxLive.Storage.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.0.h
index b8d08d72822..dd15b027c47 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::System
{
@@ -749,10 +747,10 @@ namespace winrt::impl
template <typename D>
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<hstring>) Languages() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) ManifestLanguages() const;
+ [[nodiscard]] auto PrimaryLanguageOverride() const;
+ auto PrimaryLanguageOverride(param::hstring const& value) const;
+ [[nodiscard]] auto Languages() const;
+ [[nodiscard]] auto ManifestLanguages() const;
};
template <> struct consume<winrt::Windows::Globalization::IApplicationLanguagesStatics>
{
@@ -761,7 +759,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_IApplicationLanguagesStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) GetLanguagesForUser(winrt::Windows::System::User const& user) const;
+ auto GetLanguagesForUser(winrt::Windows::System::User const& user) const;
};
template <> struct consume<winrt::Windows::Globalization::IApplicationLanguagesStatics2>
{
@@ -770,104 +768,104 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::Globalization::ICalendar>
{
@@ -876,8 +874,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_ICalendarFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Globalization::Calendar) CreateCalendarDefaultCalendarAndClock(param::iterable<hstring> const& languages) const;
- WINRT_IMPL_AUTO(winrt::Windows::Globalization::Calendar) CreateCalendar(param::iterable<hstring> const& languages, param::hstring const& calendar, param::hstring const& clock) const;
+ auto CreateCalendarDefaultCalendarAndClock(param::iterable<hstring> const& languages) const;
+ auto CreateCalendar(param::iterable<hstring> const& languages, param::hstring const& calendar, param::hstring const& clock) const;
};
template <> struct consume<winrt::Windows::Globalization::ICalendarFactory>
{
@@ -886,7 +884,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_ICalendarFactory2
{
- WINRT_IMPL_AUTO(winrt::Windows::Globalization::Calendar) CreateCalendarWithTimeZone(param::iterable<hstring> const& languages, param::hstring const& calendar, param::hstring const& clock, param::hstring const& timeZoneId) const;
+ auto CreateCalendarWithTimeZone(param::iterable<hstring> const& languages, param::hstring const& calendar, param::hstring const& clock, param::hstring const& timeZoneId) const;
};
template <> struct consume<winrt::Windows::Globalization::ICalendarFactory2>
{
@@ -895,15 +893,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::ICalendarIdentifiersStatics>
{
@@ -912,7 +910,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_ICalendarIdentifiersStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Persian() const;
+ [[nodiscard]] auto Persian() const;
};
template <> struct consume<winrt::Windows::Globalization::ICalendarIdentifiersStatics2>
{
@@ -921,11 +919,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::ICalendarIdentifiersStatics3>
{
@@ -934,8 +932,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::IClockIdentifiersStatics>
{
@@ -944,8 +942,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::ICurrencyAmount>
{
@@ -954,7 +952,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::ICurrencyAmountFactory>
{
@@ -963,163 +961,163 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::ICurrencyIdentifiersStatics>
{
@@ -1128,7 +1126,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_ICurrencyIdentifiersStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) BYN() const;
+ [[nodiscard]] auto BYN() const;
};
template <> struct consume<winrt::Windows::Globalization::ICurrencyIdentifiersStatics2>
{
@@ -1137,10 +1135,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::ICurrencyIdentifiersStatics3>
{
@@ -1149,13 +1147,13 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::Globalization::IGeographicRegion>
{
@@ -1164,7 +1162,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::IGeographicRegionFactory>
{
@@ -1173,7 +1171,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::IGeographicRegionStatics>
{
@@ -1182,9 +1180,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::IJapanesePhoneme>
{
@@ -1193,8 +1191,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_IJapanesePhoneticAnalyzerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Globalization::JapanesePhoneme>) GetWords(param::hstring const& input) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Globalization::JapanesePhoneme>) 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<winrt::Windows::Globalization::IJapanesePhoneticAnalyzerStatics>
{
@@ -1203,10 +1201,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::ILanguage>
{
@@ -1215,7 +1213,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_ILanguage2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Globalization::LanguageLayoutDirection) LayoutDirection() const;
+ [[nodiscard]] auto LayoutDirection() const;
};
template <> struct consume<winrt::Windows::Globalization::ILanguage2>
{
@@ -1224,7 +1222,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_ILanguage3
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) AbbreviatedName() const;
+ [[nodiscard]] auto AbbreviatedName() const;
};
template <> struct consume<winrt::Windows::Globalization::ILanguage3>
{
@@ -1233,7 +1231,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_ILanguageExtensionSubtags
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) GetExtensionSubtags(param::hstring const& singleton) const;
+ auto GetExtensionSubtags(param::hstring const& singleton) const;
};
template <> struct consume<winrt::Windows::Globalization::ILanguageExtensionSubtags>
{
@@ -1242,7 +1240,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::ILanguageFactory>
{
@@ -1251,8 +1249,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::ILanguageStatics>
{
@@ -1261,7 +1259,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::ILanguageStatics2>
{
@@ -1270,7 +1268,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_ILanguageStatics3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) GetMuiCompatibleLanguageListFromLanguageTags(param::iterable<hstring> const& languageTags) const;
+ auto GetMuiCompatibleLanguageListFromLanguageTags(param::iterable<hstring> const& languageTags) const;
};
template <> struct consume<winrt::Windows::Globalization::ILanguageStatics3>
{
@@ -1279,42 +1277,42 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::INumeralSystemIdentifiersStatics>
{
@@ -1323,18 +1321,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::INumeralSystemIdentifiersStatics2>
{
@@ -1343,10 +1341,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::ITimeZoneOnCalendar>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.1.h
index 52ec3194850..8fdf3f55534 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.2.h
index 19bbf782c36..e0fb0435e78 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.0.h
index a42a39b7bbb..98fe6359c8f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Globalization::Collation::ICharacterGrouping>
{
@@ -63,7 +63,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::Collation::ICharacterGroupings>
{
@@ -72,7 +72,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::Collation::ICharacterGroupingsFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.1.h
index 6691d76051b..73afc4bfef5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.2.h
index df803dcd3cf..fe19e294fb2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Collation.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.0.h
index 2ef26ca3417..46d6d8edd7a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Globalization::DateTimeFormatting
{
@@ -149,24 +148,24 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_DateTimeFormatting_IDateTimeFormatter
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) 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<hstring>) 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<winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter>
{
@@ -175,7 +174,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatter2>
{
@@ -184,13 +183,13 @@ namespace winrt::impl
template <typename D>
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<hstring> const& languages) const;
- WINRT_IMPL_AUTO(winrt::Windows::Globalization::DateTimeFormatting::DateTimeFormatter) CreateDateTimeFormatterContext(param::hstring const& formatTemplate, param::iterable<hstring> 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<hstring> 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<hstring> 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<hstring> const& languages) const;
+ auto CreateDateTimeFormatterContext(param::hstring const& formatTemplate, param::iterable<hstring> 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<hstring> 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<hstring> const& languages, param::hstring const& geographicRegion, param::hstring const& calendar, param::hstring const& clock) const;
};
template <> struct consume<winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatterFactory>
{
@@ -199,10 +198,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::DateTimeFormatting::IDateTimeFormatterStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.1.h
index 3c50228654a..c63ac3dbd3c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.2.h
index cf85088d028..71826ed0e36 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.DateTimeFormatting.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.0.h
index d66241d0bf6..2694d66e0b7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Globalization::Fonts::ILanguageFont>
{
@@ -85,17 +85,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::Fonts::ILanguageFontGroup>
{
@@ -104,7 +104,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::Fonts::ILanguageFontGroupFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.1.h
index 3b7ad6934ad..7b008d2fa61 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.2.h
index 3d202138017..23bd1109545 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.Fonts.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.0.h
index d52a9c5033d..f75f1a4f1a6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IReference;
-}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Globalization::NumberFormatting
{
@@ -310,8 +305,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatter>
{
@@ -320,9 +315,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatter2>
{
@@ -331,8 +326,8 @@ namespace winrt::impl
template <typename D>
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<hstring> const& languages, param::hstring const& geographicRegion) const;
+ auto CreateCurrencyFormatterCode(param::hstring const& currencyCode) const;
+ auto CreateCurrencyFormatterCodeContext(param::hstring const& currencyCode, param::iterable<hstring> const& languages, param::hstring const& geographicRegion) const;
};
template <> struct consume<winrt::Windows::Globalization::NumberFormatting::ICurrencyFormatterFactory>
{
@@ -341,7 +336,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_NumberFormatting_IDecimalFormatterFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::DecimalFormatter) CreateDecimalFormatter(param::iterable<hstring> const& languages, param::hstring const& geographicRegion) const;
+ auto CreateDecimalFormatter(param::iterable<hstring> const& languages, param::hstring const& geographicRegion) const;
};
template <> struct consume<winrt::Windows::Globalization::NumberFormatting::IDecimalFormatterFactory>
{
@@ -350,10 +345,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::NumberFormatting::IIncrementNumberRounder>
{
@@ -362,9 +357,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::NumberFormatting::INumberFormatter>
{
@@ -373,9 +368,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::NumberFormatting::INumberFormatter2>
{
@@ -384,20 +379,20 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_NumberFormatting_INumberFormatterOptions
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) 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<winrt::Windows::Globalization::NumberFormatting::INumberFormatterOptions>
{
@@ -406,9 +401,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_NumberFormatting_INumberParser
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int64_t>) ParseInt(param::hstring const& text) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) ParseUInt(param::hstring const& text) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) 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<winrt::Windows::Globalization::NumberFormatting::INumberParser>
{
@@ -417,12 +412,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::NumberFormatting::INumberRounder>
{
@@ -431,8 +426,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::NumberFormatting::INumberRounderOption>
{
@@ -441,11 +436,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslator
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) 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<winrt::Windows::Globalization::NumberFormatting::INumeralSystemTranslator>
{
@@ -454,7 +449,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_NumberFormatting_INumeralSystemTranslatorFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::NumeralSystemTranslator) Create(param::iterable<hstring> const& languages) const;
+ auto Create(param::iterable<hstring> const& languages) const;
};
template <> struct consume<winrt::Windows::Globalization::NumberFormatting::INumeralSystemTranslatorFactory>
{
@@ -463,7 +458,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_NumberFormatting_IPercentFormatterFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::PercentFormatter) CreatePercentFormatter(param::iterable<hstring> const& languages, param::hstring const& geographicRegion) const;
+ auto CreatePercentFormatter(param::iterable<hstring> const& languages, param::hstring const& geographicRegion) const;
};
template <> struct consume<winrt::Windows::Globalization::NumberFormatting::IPercentFormatterFactory>
{
@@ -472,7 +467,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Globalization_NumberFormatting_IPermilleFormatterFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Globalization::NumberFormatting::PermilleFormatter) CreatePermilleFormatter(param::iterable<hstring> const& languages, param::hstring const& geographicRegion) const;
+ auto CreatePermilleFormatter(param::iterable<hstring> const& languages, param::hstring const& geographicRegion) const;
};
template <> struct consume<winrt::Windows::Globalization::NumberFormatting::IPermilleFormatterFactory>
{
@@ -481,8 +476,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::NumberFormatting::ISignedZeroOption>
{
@@ -491,10 +486,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::NumberFormatting::ISignificantDigitsNumberRounder>
{
@@ -503,8 +498,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::NumberFormatting::ISignificantDigitsOption>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.1.h
index 648510ab302..5644e571255 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.2.h
index fa150176a12..fb60d15b675 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.NumberFormatting.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.0.h
index e837866f729..4e5ad775c6d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberFormatter>
{
@@ -147,10 +147,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberFormatterStatics>
{
@@ -159,14 +159,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfo>
{
@@ -175,7 +175,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfoFactory>
{
@@ -184,8 +184,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::PhoneNumberFormatting::IPhoneNumberInfoStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.1.h
index 7d707816f95..501f8ea227e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.2.h
index 96dbd75470b..eb1f004ecbe 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Globalization.PhoneNumberFormatting.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.0.h
index bbd10c5f600..401f2936ed0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.0.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.1.h
index 1a3d16aebf8..229490c0828 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.2.h
index 9033fdb22e8..d3291d93591 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.0.h
index 64361d57d91..3a1907d2358 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> 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 <typename D>
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<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFrame>
{
@@ -243,14 +238,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool, winrt::Windows::Foundation::IInspectable> const& handler) const;
using FrameArrived_revoker = impl::event_revoker<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool, &impl::abi_t<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool>::remove_FrameArrived>;
- [[nodiscard]] FrameArrived_revoker FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Capture::Direct3D11CaptureFramePool, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePool>
{
@@ -259,7 +254,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePoolStatics>
{
@@ -268,7 +263,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Capture::IDirect3D11CaptureFramePoolStatics2>
{
@@ -277,7 +272,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Capture_IGraphicsCaptureAccessStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus>) RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request) const;
+ auto RequestAccessAsync(winrt::Windows::Graphics::Capture::GraphicsCaptureAccessKind const& request) const;
};
template <> struct consume<winrt::Windows::Graphics::Capture::IGraphicsCaptureAccessStatics>
{
@@ -286,12 +281,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Capture::GraphicsCaptureItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto DisplayName() const;
+ [[nodiscard]] auto Size() const;
+ auto Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Capture::GraphicsCaptureItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::Graphics::Capture::IGraphicsCaptureItem, &impl::abi_t<winrt::Windows::Graphics::Capture::IGraphicsCaptureItem>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Capture::GraphicsCaptureItem, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Capture::GraphicsCaptureItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Closed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Graphics::Capture::IGraphicsCaptureItem>
{
@@ -300,7 +295,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics>
{
@@ -309,8 +304,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Capture::IGraphicsCaptureItemStatics2>
{
@@ -319,7 +314,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Capture_IGraphicsCapturePicker
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Capture::GraphicsCaptureItem>) PickSingleItemAsync() const;
+ auto PickSingleItemAsync() const;
};
template <> struct consume<winrt::Windows::Graphics::Capture::IGraphicsCapturePicker>
{
@@ -328,7 +323,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Capture_IGraphicsCaptureSession
{
- WINRT_IMPL_AUTO(void) StartCapture() const;
+ auto StartCapture() const;
};
template <> struct consume<winrt::Windows::Graphics::Capture::IGraphicsCaptureSession>
{
@@ -337,8 +332,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Capture::IGraphicsCaptureSession2>
{
@@ -347,8 +342,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Capture::IGraphicsCaptureSession3>
{
@@ -357,7 +352,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Capture_IGraphicsCaptureSessionStatics
{
- WINRT_IMPL_AUTO(bool) IsSupported() const;
+ auto IsSupported() const;
};
template <> struct consume<winrt::Windows::Graphics::Capture::IGraphicsCaptureSessionStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.1.h
index 87c4cbede7c..e8bc5d0ed16 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.2.h
index 5adc964f66c..91cf6bdd25c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Capture.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.0.h
index d917ab6dd5a..ae5d3a4d320 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.0.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.1.h
index d73d917a91d..7fa5317a278 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.2.h
index dfdaa1caced..e277d6f75dc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.0.h
index 12968d9b733..4ea916131e9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
struct consume_Windows_Graphics_DirectX_Direct3D11_IDirect3DDevice
{
- WINRT_IMPL_AUTO(void) Trim() const;
+ auto Trim() const;
};
template <> struct consume<winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice>
{
@@ -76,7 +76,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.1.h
index a17b9223fda..aaf527ece95 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.2.h
index 74d868c0099..1da297411e0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.DirectX.Direct3D11.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.0.h
index 512dd010d51..e9fbf78d590 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
struct Point;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
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<winrt::Windows::Graphics::Display::IAdvancedColorInfo>
{
@@ -482,26 +472,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> const& handler) const;
using IsSupportedChanged_revoker = impl::event_revoker<winrt::Windows::Graphics::Display::IBrightnessOverride, &impl::abi_t<winrt::Windows::Graphics::Display::IBrightnessOverride>::remove_IsSupportedChanged>;
- [[nodiscard]] IsSupportedChanged_revoker IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto IsSupportedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto IsSupportedChanged(winrt::event_token const& token) const noexcept;
+ auto IsOverrideActiveChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> const& handler) const;
using IsOverrideActiveChanged_revoker = impl::event_revoker<winrt::Windows::Graphics::Display::IBrightnessOverride, &impl::abi_t<winrt::Windows::Graphics::Display::IBrightnessOverride>::remove_IsOverrideActiveChanged>;
- [[nodiscard]] IsOverrideActiveChanged_revoker IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto IsOverrideActiveChanged(winrt::event_token const& token) const noexcept;
+ auto BrightnessLevelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> const& handler) const;
using BrightnessLevelChanged_revoker = impl::event_revoker<winrt::Windows::Graphics::Display::IBrightnessOverride, &impl::abi_t<winrt::Windows::Graphics::Display::IBrightnessOverride>::remove_BrightnessLevelChanged>;
- [[nodiscard]] BrightnessLevelChanged_revoker BrightnessLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Display::BrightnessOverride, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto BrightnessLevelChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Graphics::Display::IBrightnessOverride>
{
@@ -510,8 +500,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Display::IBrightnessOverrideSettings>
{
@@ -520,9 +510,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Display::IBrightnessOverrideSettingsStatics>
{
@@ -531,9 +521,9 @@ namespace winrt::impl
template <typename D>
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<bool>) 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<winrt::Windows::Graphics::Display::IBrightnessOverrideStatics>
{
@@ -542,7 +532,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Display_IColorOverrideSettings
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayColorOverrideScenario) DesiredDisplayColorOverrideScenario() const;
+ [[nodiscard]] auto DesiredDisplayColorOverrideScenario() const;
};
template <> struct consume<winrt::Windows::Graphics::Display::IColorOverrideSettings>
{
@@ -551,7 +541,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Display::IColorOverrideSettingsStatics>
{
@@ -560,27 +550,27 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Foundation::IInspectable> const& handler) const;
using CanOverrideChanged_revoker = impl::event_revoker<winrt::Windows::Graphics::Display::IDisplayEnhancementOverride, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayEnhancementOverride>::remove_CanOverrideChanged>;
- [[nodiscard]] CanOverrideChanged_revoker CanOverrideChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto CanOverrideChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto CanOverrideChanged(winrt::event_token const& token) const noexcept;
+ auto IsOverrideActiveChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Foundation::IInspectable> const& handler) const;
using IsOverrideActiveChanged_revoker = impl::event_revoker<winrt::Windows::Graphics::Display::IDisplayEnhancementOverride, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayEnhancementOverride>::remove_IsOverrideActiveChanged>;
- [[nodiscard]] IsOverrideActiveChanged_revoker IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilitiesChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto IsOverrideActiveChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto IsOverrideActiveChanged(winrt::event_token const& token) const noexcept;
+ auto DisplayEnhancementOverrideCapabilitiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilitiesChangedEventArgs> const& handler) const;
using DisplayEnhancementOverrideCapabilitiesChanged_revoker = impl::event_revoker<winrt::Windows::Graphics::Display::IDisplayEnhancementOverride, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayEnhancementOverride>::remove_DisplayEnhancementOverrideCapabilitiesChanged>;
- [[nodiscard]] DisplayEnhancementOverrideCapabilitiesChanged_revoker DisplayEnhancementOverrideCapabilitiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilitiesChangedEventArgs> 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<winrt::Windows::Graphics::Display::DisplayEnhancementOverride, winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilitiesChangedEventArgs> const& handler) const;
+ auto DisplayEnhancementOverrideCapabilitiesChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Graphics::Display::IDisplayEnhancementOverride>
{
@@ -589,9 +579,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Display::NitRange>) GetSupportedNitRanges() const;
+ [[nodiscard]] auto IsBrightnessControlSupported() const;
+ [[nodiscard]] auto IsBrightnessNitsControlSupported() const;
+ auto GetSupportedNitRanges() const;
};
template <> struct consume<winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilities>
{
@@ -600,7 +590,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Display_IDisplayEnhancementOverrideCapabilitiesChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayEnhancementOverrideCapabilities) Capabilities() const;
+ [[nodiscard]] auto Capabilities() const;
};
template <> struct consume<winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideCapabilitiesChangedEventArgs>
{
@@ -609,7 +599,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Display_IDisplayEnhancementOverrideStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::DisplayEnhancementOverride) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::Graphics::Display::IDisplayEnhancementOverrideStatics>
{
@@ -618,30 +608,30 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto CurrentOrientation() const;
+ [[nodiscard]] auto NativeOrientation() const;
+ auto OrientationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const;
using OrientationChanged_revoker = impl::event_revoker<winrt::Windows::Graphics::Display::IDisplayInformation, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayInformation>::remove_OrientationChanged>;
- [[nodiscard]] OrientationChanged_revoker OrientationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto OrientationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const;
using DpiChanged_revoker = impl::event_revoker<winrt::Windows::Graphics::Display::IDisplayInformation, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayInformation>::remove_DpiChanged>;
- [[nodiscard]] DpiChanged_revoker DpiChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto DpiChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto DpiChanged(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto StereoEnabled() const;
+ auto StereoEnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const;
using StereoEnabledChanged_revoker = impl::event_revoker<winrt::Windows::Graphics::Display::IDisplayInformation, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayInformation>::remove_StereoEnabledChanged>;
- [[nodiscard]] StereoEnabledChanged_revoker StereoEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const;
- WINRT_IMPL_AUTO(void) StereoEnabledChanged(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) GetColorProfileAsync() const;
- WINRT_IMPL_AUTO(winrt::event_token) ColorProfileChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto StereoEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto StereoEnabledChanged(winrt::event_token const& token) const noexcept;
+ auto GetColorProfileAsync() const;
+ auto ColorProfileChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ColorProfileChanged_revoker = impl::event_revoker<winrt::Windows::Graphics::Display::IDisplayInformation, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayInformation>::remove_ColorProfileChanged>;
- [[nodiscard]] ColorProfileChanged_revoker ColorProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ColorProfileChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Graphics::Display::IDisplayInformation>
{
@@ -650,7 +640,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Display_IDisplayInformation2
{
- [[nodiscard]] WINRT_IMPL_AUTO(double) RawPixelsPerViewPixel() const;
+ [[nodiscard]] auto RawPixelsPerViewPixel() const;
};
template <> struct consume<winrt::Windows::Graphics::Display::IDisplayInformation2>
{
@@ -659,7 +649,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Display_IDisplayInformation3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) DiagonalSizeInInches() const;
+ [[nodiscard]] auto DiagonalSizeInInches() const;
};
template <> struct consume<winrt::Windows::Graphics::Display::IDisplayInformation3>
{
@@ -668,8 +658,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Display::IDisplayInformation4>
{
@@ -678,11 +668,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto GetAdvancedColorInfo() const;
+ auto AdvancedColorInfoChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const;
using AdvancedColorInfoChanged_revoker = impl::event_revoker<winrt::Windows::Graphics::Display::IDisplayInformation5, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayInformation5>::remove_AdvancedColorInfoChanged>;
- [[nodiscard]] AdvancedColorInfoChanged_revoker AdvancedColorInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AdvancedColorInfoChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Graphics::Display::IDisplayInformation5>
{
@@ -691,13 +681,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const;
using DisplayContentsInvalidated_revoker = impl::event_revoker<winrt::Windows::Graphics::Display::IDisplayInformationStatics, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayInformationStatics>::remove_DisplayContentsInvalidated>;
- [[nodiscard]] DisplayContentsInvalidated_revoker DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto DisplayContentsInvalidated(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Graphics::Display::IDisplayInformationStatics>
{
@@ -706,34 +696,34 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>::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<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>::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<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>::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<winrt::Windows::Storage::Streams::IRandomAccessStream>) 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<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>::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<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>::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<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>
{
@@ -750,7 +740,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Display_IDisplayServicesStatics
{
- WINRT_IMPL_AUTO(com_array<winrt::Windows::Graphics::DisplayId>) FindAll() const;
+ auto FindAll() const;
};
template <> struct consume<winrt::Windows::Graphics::Display::IDisplayServicesStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.1.h
index 1be4f0143d7..1894e594a8c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.2.h
index 915d3de9a29..cde68f7a0be 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler);
using DisplayContentsInvalidated_revoker = impl::factory_event_revoker<winrt::Windows::Graphics::Display::IDisplayInformationStatics, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayInformationStatics>::remove_DisplayContentsInvalidated>;
- [[nodiscard]] static DisplayContentsInvalidated_revoker DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto DisplayContentsInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::DisplayInformation, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>::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<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>::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<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>::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<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>::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<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics, &impl::abi_t<winrt::Windows::Graphics::Display::IDisplayPropertiesStatics>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.0.h
index fefd5e0d040..1979dedd222 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
struct consume_Windows_Graphics_Display_Core_IHdmiDisplayInformation
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Display::Core::HdmiDisplayMode>) 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<bool>) RequestSetCurrentDisplayModeAsync(winrt::Windows::Graphics::Display::Core::HdmiDisplayMode const& mode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<bool>) 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<winrt::Windows::Graphics::Display::Core::HdmiDisplayInformation, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Display::Core::HdmiDisplayInformation, winrt::Windows::Foundation::IInspectable> const& value) const;
using DisplayModesChanged_revoker = impl::event_revoker<winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformation, &impl::abi_t<winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformation>::remove_DisplayModesChanged>;
- [[nodiscard]] DisplayModesChanged_revoker DisplayModesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Display::Core::HdmiDisplayInformation, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Display::Core::HdmiDisplayInformation, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto DisplayModesChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformation>
{
@@ -139,7 +134,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Display_Core_IHdmiDisplayInformationStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Graphics::Display::Core::HdmiDisplayInformation) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::Graphics::Display::Core::IHdmiDisplayInformationStatics>
{
@@ -148,17 +143,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode>
{
@@ -167,7 +162,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Display_Core_IHdmiDisplayMode2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDolbyVisionLowLatencySupported() const;
+ [[nodiscard]] auto IsDolbyVisionLowLatencySupported() const;
};
template <> struct consume<winrt::Windows::Graphics::Display::Core::IHdmiDisplayMode2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.1.h
index e08152fbfba..93722b154ac 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.2.h
index 9b4547349ef..ec8b5cece3c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Display.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.0.h
index 2147bba17ff..a10dce12e4e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Graphics::Effects::IGraphicsEffect>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.1.h
index 1a1c884d48a..548ad329291 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.2.h
index 3889241ca22..b10edc1a429 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Effects.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.0.h
index 40fe6660e53..a62accc1aa9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
- template <typename T> struct __declspec(empty_bases) IReference;
struct Rect;
struct Size;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicCamera>
{
@@ -723,9 +716,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicCamera2>
{
@@ -734,10 +727,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::HolographicQuadLayer>) QuadLayers() const;
+ [[nodiscard]] auto IsPrimaryLayerEnabled() const;
+ auto IsPrimaryLayerEnabled(bool value) const;
+ [[nodiscard]] auto MaxQuadLayerCount() const;
+ [[nodiscard]] auto QuadLayers() const;
};
template <> struct consume<winrt::Windows::Graphics::Holographic::IHolographicCamera3>
{
@@ -746,7 +739,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Holographic_IHolographicCamera4
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) CanOverrideViewport() const;
+ [[nodiscard]] auto CanOverrideViewport() const;
};
template <> struct consume<winrt::Windows::Graphics::Holographic::IHolographicCamera4>
{
@@ -755,9 +748,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicCamera5>
{
@@ -766,7 +759,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Holographic_IHolographicCamera6
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicViewConfiguration) ViewConfiguration() const;
+ [[nodiscard]] auto ViewConfiguration() const;
};
template <> struct consume<winrt::Windows::Graphics::Holographic::IHolographicCamera6>
{
@@ -775,14 +768,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::HolographicStereoTransform>) 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<winrt::Windows::Perception::Spatial::SpatialBoundingFrustum>) TryGetCullingFrustum(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Perception::Spatial::SpatialBoundingFrustum>) 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<winrt::Windows::Graphics::Holographic::IHolographicCameraPose>
{
@@ -791,9 +784,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicCameraPose2>
{
@@ -802,11 +795,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters>
{
@@ -815,9 +808,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters2>
{
@@ -826,8 +819,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters3>
{
@@ -836,8 +829,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicCameraRenderingParameters4>
{
@@ -846,8 +839,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Holographic_IHolographicCameraViewportParameters
{
- [[nodiscard]] WINRT_IMPL_AUTO(com_array<winrt::Windows::Foundation::Numerics::float2>) HiddenAreaMesh() const;
- [[nodiscard]] WINRT_IMPL_AUTO(com_array<winrt::Windows::Foundation::Numerics::float2>) VisibleAreaMesh() const;
+ [[nodiscard]] auto HiddenAreaMesh() const;
+ [[nodiscard]] auto VisibleAreaMesh() const;
};
template <> struct consume<winrt::Windows::Graphics::Holographic::IHolographicCameraViewportParameters>
{
@@ -856,12 +849,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicDisplay>
{
@@ -870,7 +863,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Holographic_IHolographicDisplay2
{
- [[nodiscard]] WINRT_IMPL_AUTO(double) RefreshRate() const;
+ [[nodiscard]] auto RefreshRate() const;
};
template <> struct consume<winrt::Windows::Graphics::Holographic::IHolographicDisplay2>
{
@@ -879,7 +872,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicDisplay3>
{
@@ -888,7 +881,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Holographic_IHolographicDisplayStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicDisplay) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Graphics::Holographic::IHolographicDisplayStatics>
{
@@ -897,15 +890,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Holographic_IHolographicFrame
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicCamera>) AddedCameras() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicCamera>) 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<winrt::Windows::Graphics::Holographic::IHolographicFrame>
{
@@ -914,7 +907,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicFrame2>
{
@@ -923,7 +916,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Holographic_IHolographicFrame3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicFrameId) Id() const;
+ [[nodiscard]] auto Id() const;
};
template <> struct consume<winrt::Windows::Graphics::Holographic::IHolographicFrame3>
{
@@ -932,8 +925,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Holographic_IHolographicFramePrediction
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicCameraPose>) CameraPoses() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) Timestamp() const;
+ [[nodiscard]] auto CameraPoses() const;
+ [[nodiscard]] auto Timestamp() const;
};
template <> struct consume<winrt::Windows::Graphics::Holographic::IHolographicFramePrediction>
{
@@ -942,7 +935,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Holographic_IHolographicFramePresentationMonitor
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicFramePresentationReport>) ReadReports() const;
+ auto ReadReports() const;
};
template <> struct consume<winrt::Windows::Graphics::Holographic::IHolographicFramePresentationMonitor>
{
@@ -951,11 +944,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicFramePresentationReport>
{
@@ -964,11 +957,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicFrameRenderingReport>
{
@@ -977,7 +970,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Holographic_IHolographicFrameScanoutMonitor
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Holographic::HolographicFrameScanoutReport>) ReadReports() const;
+ auto ReadReports() const;
};
template <> struct consume<winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutMonitor>
{
@@ -986,11 +979,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicFrameScanoutReport>
{
@@ -999,8 +992,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicQuadLayer>
{
@@ -1009,8 +1002,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicQuadLayerFactory>
{
@@ -1019,12 +1012,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters>
{
@@ -1033,8 +1026,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicQuadLayerUpdateParameters2>
{
@@ -1043,17 +1036,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Graphics::Holographic::HolographicSpaceCameraAddedEventArgs> const& handler) const;
+ [[nodiscard]] auto PrimaryAdapterId() const;
+ auto SetDirect3D11Device(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DDevice const& value) const;
+ auto CameraAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Graphics::Holographic::HolographicSpaceCameraAddedEventArgs> const& handler) const;
using CameraAdded_revoker = impl::event_revoker<winrt::Windows::Graphics::Holographic::IHolographicSpace, &impl::abi_t<winrt::Windows::Graphics::Holographic::IHolographicSpace>::remove_CameraAdded>;
- [[nodiscard]] CameraAdded_revoker CameraAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Graphics::Holographic::HolographicSpaceCameraAddedEventArgs> 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<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Graphics::Holographic::HolographicSpaceCameraRemovedEventArgs> const& handler) const;
+ [[nodiscard]] auto CameraAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Graphics::Holographic::HolographicSpaceCameraAddedEventArgs> const& handler) const;
+ auto CameraAdded(winrt::event_token const& cookie) const noexcept;
+ auto CameraRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Graphics::Holographic::HolographicSpaceCameraRemovedEventArgs> const& handler) const;
using CameraRemoved_revoker = impl::event_revoker<winrt::Windows::Graphics::Holographic::IHolographicSpace, &impl::abi_t<winrt::Windows::Graphics::Holographic::IHolographicSpace>::remove_CameraRemoved>;
- [[nodiscard]] CameraRemoved_revoker CameraRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Graphics::Holographic::HolographicSpaceCameraRemovedEventArgs> 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<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Graphics::Holographic::HolographicSpaceCameraRemovedEventArgs> const& handler) const;
+ auto CameraRemoved(winrt::event_token const& cookie) const noexcept;
+ auto CreateNextFrame() const;
};
template <> struct consume<winrt::Windows::Graphics::Holographic::IHolographicSpace>
{
@@ -1062,14 +1055,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto UserPresence() const;
+ auto UserPresenceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Foundation::IInspectable> const& handler) const;
using UserPresenceChanged_revoker = impl::event_revoker<winrt::Windows::Graphics::Holographic::IHolographicSpace2, &impl::abi_t<winrt::Windows::Graphics::Holographic::IHolographicSpace2>::remove_UserPresenceChanged>;
- [[nodiscard]] UserPresenceChanged_revoker UserPresenceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Holographic::HolographicSpace, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Holographic::IHolographicSpace2>
{
@@ -1078,7 +1071,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicSpace3>
{
@@ -1087,8 +1080,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicSpaceCameraAddedEventArgs>
{
@@ -1097,7 +1090,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Holographic_IHolographicSpaceCameraRemovedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Holographic::HolographicCamera) Camera() const;
+ [[nodiscard]] auto Camera() const;
};
template <> struct consume<winrt::Windows::Graphics::Holographic::IHolographicSpaceCameraRemovedEventArgs>
{
@@ -1106,7 +1099,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics>
{
@@ -1115,12 +1108,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto IsSupported() const;
+ [[nodiscard]] auto IsAvailable() const;
+ auto IsAvailableChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using IsAvailableChanged_revoker = impl::event_revoker<winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2, &impl::abi_t<winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2>::remove_IsAvailableChanged>;
- [[nodiscard]] IsAvailableChanged_revoker IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto IsAvailableChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2>
{
@@ -1129,7 +1122,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Holographic_IHolographicSpaceStatics3
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsConfigured() const;
+ [[nodiscard]] auto IsConfigured() const;
};
template <> struct consume<winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics3>
{
@@ -1138,18 +1131,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::DirectX::DirectXPixelFormat>) 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<winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration>
{
@@ -1158,7 +1151,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Holographic_IHolographicViewConfiguration2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Holographic::HolographicDepthReprojectionMethod>) SupportedDepthReprojectionMethods() const;
+ [[nodiscard]] auto SupportedDepthReprojectionMethods() const;
};
template <> struct consume<winrt::Windows::Graphics::Holographic::IHolographicViewConfiguration2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.1.h
index bb9fd882461..86723ee30ea 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.2.h
index a28533fb7be..636892e559d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Holographic.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable> const& handler);
using IsAvailableChanged_revoker = impl::factory_event_revoker<winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2, &impl::abi_t<winrt::Windows::Graphics::Holographic::IHolographicSpaceStatics2>::remove_IsAvailableChanged>;
- [[nodiscard]] static IsAvailableChanged_revoker IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto IsAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto IsAvailableChanged(winrt::event_token const& token);
[[nodiscard]] static auto IsConfigured();
};
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.0.h
index 662636d606e..13012f93c65 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> 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 <typename T> struct __declspec(empty_bases) IIterable;
template <typename K, typename V> struct __declspec(empty_bases) IKeyValuePair;
template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX::Direct3D11
{
@@ -505,8 +503,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Imaging::IBitmapBuffer>
{
@@ -515,10 +513,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Imaging_IBitmapCodecInformation
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CodecId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) FileExtensions() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) FriendlyName() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) MimeTypes() const;
+ [[nodiscard]] auto CodecId() const;
+ [[nodiscard]] auto FileExtensions() const;
+ [[nodiscard]] auto FriendlyName() const;
+ [[nodiscard]] auto MimeTypes() const;
};
template <> struct consume<winrt::Windows::Graphics::Imaging::IBitmapCodecInformation>
{
@@ -527,11 +525,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Imaging::ImageStream>) GetPreviewAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::BitmapFrame>) 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<winrt::Windows::Graphics::Imaging::IBitmapDecoder>
{
@@ -540,16 +538,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Imaging::BitmapCodecInformation>) GetDecoderInformationEnumerator() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::BitmapDecoder>) CreateAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::BitmapDecoder>) 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<winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics>
{
@@ -558,8 +556,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Imaging::IBitmapDecoderStatics2>
{
@@ -568,20 +566,20 @@ namespace winrt::impl
template <typename D>
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<uint8_t const> pixels) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) GoToNextFrameAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) GoToNextFrameAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Graphics::Imaging::BitmapTypedValue>> 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<uint8_t const> pixels) const;
+ auto GoToNextFrameAsync() const;
+ auto GoToNextFrameAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Graphics::Imaging::BitmapTypedValue>> const& encodingOptions) const;
+ auto FlushAsync() const;
};
template <> struct consume<winrt::Windows::Graphics::Imaging::IBitmapEncoder>
{
@@ -590,17 +588,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Imaging::BitmapCodecInformation>) GetEncoderInformationEnumerator() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::BitmapEncoder>) CreateAsync(winrt::guid const& encoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::BitmapEncoder>) CreateAsync(winrt::guid const& encoderId, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Graphics::Imaging::BitmapTypedValue>> const& encodingOptions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::BitmapEncoder>) CreateForTranscodingAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Graphics::Imaging::BitmapDecoder const& bitmapDecoder) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::BitmapEncoder>) 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<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Graphics::Imaging::BitmapTypedValue>> 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<winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics>
{
@@ -609,7 +607,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Imaging_IBitmapEncoderStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) HeifEncoderId() const;
+ [[nodiscard]] auto HeifEncoderId() const;
};
template <> struct consume<winrt::Windows::Graphics::Imaging::IBitmapEncoderStatics2>
{
@@ -618,7 +616,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Imaging::IBitmapEncoderWithSoftwareBitmap>
{
@@ -627,18 +625,18 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Imaging_IBitmapFrame
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::ImageStream>) 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<winrt::Windows::Graphics::Imaging::PixelDataProvider>) GetPixelDataAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::PixelDataProvider>) 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<winrt::Windows::Graphics::Imaging::IBitmapFrame>
{
@@ -647,9 +645,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Imaging_IBitmapFrameWithSoftwareBitmap
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::SoftwareBitmap>) GetSoftwareBitmapAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::SoftwareBitmap>) GetSoftwareBitmapAsync(winrt::Windows::Graphics::Imaging::BitmapPixelFormat const& pixelFormat, winrt::Windows::Graphics::Imaging::BitmapAlphaMode const& alphaMode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::SoftwareBitmap>) 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<winrt::Windows::Graphics::Imaging::IBitmapFrameWithSoftwareBitmap>
{
@@ -658,7 +656,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Imaging_IBitmapProperties
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetPropertiesAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Graphics::Imaging::BitmapTypedValue>> const& propertiesToSet) const;
+ auto SetPropertiesAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Graphics::Imaging::BitmapTypedValue>> const& propertiesToSet) const;
};
template <> struct consume<winrt::Windows::Graphics::Imaging::IBitmapProperties>
{
@@ -667,7 +665,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Imaging_IBitmapPropertiesView
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::BitmapPropertySet>) GetPropertiesAsync(param::async_iterable<hstring> const& propertiesToRetrieve) const;
+ auto GetPropertiesAsync(param::async_iterable<hstring> const& propertiesToRetrieve) const;
};
template <> struct consume<winrt::Windows::Graphics::Imaging::IBitmapPropertiesView>
{
@@ -676,18 +674,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Imaging::IBitmapTransform>
{
@@ -696,8 +694,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Imaging::IBitmapTypedValue>
{
@@ -706,7 +704,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Imaging::IBitmapTypedValueFactory>
{
@@ -715,7 +713,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Imaging_IPixelDataProvider
{
- WINRT_IMPL_AUTO(com_array<uint8_t>) DetachPixelData() const;
+ auto DetachPixelData() const;
};
template <> struct consume<winrt::Windows::Graphics::Imaging::IPixelDataProvider>
{
@@ -724,20 +722,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Imaging::ISoftwareBitmap>
{
@@ -746,8 +744,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Imaging::ISoftwareBitmapFactory>
{
@@ -756,13 +754,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Imaging::SoftwareBitmap>) CreateCopyFromSurfaceAsync(winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface const& surface) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Imaging::SoftwareBitmap>) 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<winrt::Windows::Graphics::Imaging::ISoftwareBitmapStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.1.h
index b907e31e46e..7f212e516a4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.2.h
index 428a650bbe4..51366f38bcc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Imaging.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.0.h
index b8c3b8c379e..50d018691ff 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Rect;
struct Size;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IRandomAccessStream;
@@ -813,10 +808,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintManager
{
- WINRT_IMPL_AUTO(winrt::event_token) PrintTaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintManager, winrt::Windows::Graphics::Printing::PrintTaskRequestedEventArgs> const& eventHandler) const;
+ auto PrintTaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintManager, winrt::Windows::Graphics::Printing::PrintTaskRequestedEventArgs> const& eventHandler) const;
using PrintTaskRequested_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing::IPrintManager, &impl::abi_t<winrt::Windows::Graphics::Printing::IPrintManager>::remove_PrintTaskRequested>;
- [[nodiscard]] PrintTaskRequested_revoker PrintTaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintManager, winrt::Windows::Graphics::Printing::PrintTaskRequestedEventArgs> 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<winrt::Windows::Graphics::Printing::PrintManager, winrt::Windows::Graphics::Printing::PrintTaskRequestedEventArgs> const& eventHandler) const;
+ auto PrintTaskRequested(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintManager>
{
@@ -825,8 +820,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintManagerStatic
{
- WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintManager) GetForCurrentView() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) ShowPrintUIAsync() const;
+ auto GetForCurrentView() const;
+ auto ShowPrintUIAsync() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintManagerStatic>
{
@@ -835,7 +830,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintManagerStatic2
{
- WINRT_IMPL_AUTO(bool) IsSupported() const;
+ auto IsSupported() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintManagerStatic2>
{
@@ -844,16 +839,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::IPrintPageInfo>
{
@@ -862,8 +857,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::IPrintPageRange>
{
@@ -872,8 +867,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::IPrintPageRangeFactory>
{
@@ -882,12 +877,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::IPrintPageRangeOptions>
{
@@ -896,25 +891,25 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ [[nodiscard]] auto Properties() const;
+ [[nodiscard]] auto Source() const;
+ [[nodiscard]] auto Options() const;
+ auto Previewing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
using Previewing_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing::IPrintTask, &impl::abi_t<winrt::Windows::Graphics::Printing::IPrintTask>::remove_Previewing>;
- [[nodiscard]] Previewing_revoker Previewing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ [[nodiscard]] auto Previewing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ auto Previewing(winrt::event_token const& eventCookie) const noexcept;
+ auto Submitting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
using Submitting_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing::IPrintTask, &impl::abi_t<winrt::Windows::Graphics::Printing::IPrintTask>::remove_Submitting>;
- [[nodiscard]] Submitting_revoker Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskProgressingEventArgs> const& eventHandler) const;
+ [[nodiscard]] auto Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ auto Submitting(winrt::event_token const& eventCookie) const noexcept;
+ auto Progressing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskProgressingEventArgs> const& eventHandler) const;
using Progressing_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing::IPrintTask, &impl::abi_t<winrt::Windows::Graphics::Printing::IPrintTask>::remove_Progressing>;
- [[nodiscard]] Progressing_revoker Progressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskProgressingEventArgs> 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<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskCompletedEventArgs> const& eventHandler) const;
+ [[nodiscard]] auto Progressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskProgressingEventArgs> const& eventHandler) const;
+ auto Progressing(winrt::event_token const& eventCookie) const noexcept;
+ auto Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskCompletedEventArgs> const& eventHandler) const;
using Completed_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing::IPrintTask, &impl::abi_t<winrt::Windows::Graphics::Printing::IPrintTask>::remove_Completed>;
- [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskCompletedEventArgs> 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<winrt::Windows::Graphics::Printing::PrintTask, winrt::Windows::Graphics::Printing::PrintTaskCompletedEventArgs> const& eventHandler) const;
+ auto Completed(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTask>
{
@@ -923,8 +918,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::IPrintTask2>
{
@@ -933,7 +928,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskCompletedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskCompletion) Completion() const;
+ [[nodiscard]] auto Completion() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskCompletedEventArgs>
{
@@ -942,9 +937,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::IPrintTaskOptions>
{
@@ -953,8 +948,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::PrintPageRange>) CustomPageRanges() const;
+ [[nodiscard]] auto PageRangeOptions() const;
+ [[nodiscard]] auto CustomPageRanges() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskOptions2>
{
@@ -963,7 +958,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::IPrintTaskOptionsCore>
{
@@ -972,30 +967,30 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreProperties>
{
@@ -1004,7 +999,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskOptionsCoreUIConfiguration
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) DisplayedOptions() const;
+ [[nodiscard]] auto DisplayedOptions() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskOptionsCoreUIConfiguration>
{
@@ -1013,7 +1008,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskProgressingEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) DocumentPageCount() const;
+ [[nodiscard]] auto DocumentPageCount() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskProgressingEventArgs>
{
@@ -1022,9 +1017,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::IPrintTaskRequest>
{
@@ -1033,7 +1028,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskRequestedDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskRequestedDeferral>
{
@@ -1042,7 +1037,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing::PrintTaskRequest) Request() const;
+ [[nodiscard]] auto Request() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskRequestedEventArgs>
{
@@ -1051,9 +1046,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedArgs>
{
@@ -1062,7 +1057,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IPrintTaskSourceRequestedDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IPrintTaskSourceRequestedDeferral>
{
@@ -1071,10 +1066,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::IPrintTaskTargetDeviceSupport>
{
@@ -1083,19 +1078,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic>
{
@@ -1104,7 +1099,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Bordering() const;
+ [[nodiscard]] auto Bordering() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic2>
{
@@ -1113,7 +1108,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_IStandardPrintTaskOptionsStatic3
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) CustomPageRanges() const;
+ [[nodiscard]] auto CustomPageRanges() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::IStandardPrintTaskOptionsStatic3>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.1.h
index 29dee8eae71..fa9789b6245 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.2.h
index a2b47b3a6c5..744c1bf8297 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.0.h
index 44e84d6971f..3e787d52af9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Graphics::Printing
{
struct PrintTaskOptions;
@@ -508,10 +503,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintBindingOptionDetails>
{
@@ -520,10 +515,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintBorderingOptionDetails>
{
@@ -532,10 +527,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintCollationOptionDetails>
{
@@ -544,10 +539,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintColorModeOptionDetails>
{
@@ -556,10 +551,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintCopiesOptionDetails>
{
@@ -568,9 +563,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemDetails>
{
@@ -579,7 +574,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemListOptionDetails>
{
@@ -588,7 +583,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemListOptionDetails2>
{
@@ -597,10 +592,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomItemListOptionDetails3>
{
@@ -609,8 +604,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomOptionDetails>
{
@@ -619,8 +614,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomTextOptionDetails>
{
@@ -629,10 +624,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomTextOptionDetails2>
{
@@ -641,10 +636,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintCustomToggleOptionDetails>
{
@@ -653,10 +648,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintDuplexOptionDetails>
{
@@ -665,10 +660,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintHolePunchOptionDetails>
{
@@ -677,7 +672,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_OptionDetails_IPrintItemListOptionDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::IInspectable>) Items() const;
+ [[nodiscard]] auto Items() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::OptionDetails::IPrintItemListOptionDetails>
{
@@ -686,10 +681,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintMediaSizeOptionDetails>
{
@@ -698,10 +693,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintMediaTypeOptionDetails>
{
@@ -710,8 +705,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintNumberOptionDetails>
{
@@ -720,14 +715,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails>
{
@@ -736,10 +731,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintOrientationOptionDetails>
{
@@ -748,10 +743,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintPageRangeOptionDetails>
{
@@ -760,10 +755,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintQualityOptionDetails>
{
@@ -772,10 +767,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintStapleOptionDetails>
{
@@ -784,7 +779,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) OptionId() const;
+ [[nodiscard]] auto OptionId() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionChangedEventArgs>
{
@@ -793,17 +788,17 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_OptionDetails_IPrintTaskOptionDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Graphics::Printing::OptionDetails::IPrintOptionDetails>) 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<winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails, winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionChangedEventArgs> 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<winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails, winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionChangedEventArgs> const& eventHandler) const;
using OptionChanged_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails, &impl::abi_t<winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails>::remove_OptionChanged>;
- [[nodiscard]] OptionChanged_revoker OptionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails, winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionChangedEventArgs> 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<winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ [[nodiscard]] auto OptionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails, winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionChangedEventArgs> const& eventHandler) const;
+ auto OptionChanged(winrt::event_token const& eventCookie) const noexcept;
+ auto BeginValidation(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
using BeginValidation_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails, &impl::abi_t<winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails>::remove_BeginValidation>;
- [[nodiscard]] BeginValidation_revoker BeginValidation(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Printing::OptionDetails::PrintTaskOptionDetails, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ auto BeginValidation(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails>
{
@@ -812,7 +807,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetails2>
{
@@ -821,7 +816,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::OptionDetails::IPrintTaskOptionDetailsStatic>
{
@@ -830,7 +825,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_OptionDetails_IPrintTextOptionDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxCharacters() const;
+ [[nodiscard]] auto MaxCharacters() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::OptionDetails::IPrintTextOptionDetails>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.1.h
index 466e1406159..52228885bb9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.2.h
index 9db999865c4..aafefc8e2d7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.OptionDetails.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.0.h
index 7a08d6d5a1e..36da70e5bb4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::PrintTicket
{
@@ -240,26 +235,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketCapabilities>
{
@@ -268,15 +263,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::PrintTicket::PrintTicketOption>) 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<winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketFeature>
{
@@ -285,14 +280,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketOption>
{
@@ -301,13 +296,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterDefinition>
{
@@ -316,11 +311,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketParameterInitializer>
{
@@ -329,9 +324,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::PrintTicket::IPrintTicketValue>
{
@@ -340,32 +335,32 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicketValidationResult>) 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<winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicket>
{
@@ -374,8 +369,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::PrintTicket::IWorkflowPrintTicketValidationResult>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.1.h
index 7efe4297546..a8176682ae4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.2.h
index 8c1ae5668de..1dd6b40ad03 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.PrintTicket.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.0.h
index e65e6071b87..9c0467255a4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Graphics::Printing::PrintTicket
@@ -307,16 +306,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSession
{
- WINRT_IMPL_AUTO(winrt::event_token) SetupRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSetupRequestedEventArgs> const& setupEventHandler) const;
+ auto SetupRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSetupRequestedEventArgs> const& setupEventHandler) const;
using SetupRequested_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession, &impl::abi_t<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession>::remove_SetupRequested>;
- [[nodiscard]] SetupRequested_revoker SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSetupRequestedEventArgs> 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<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedEventArgs> const& submittedEventHandler) const;
+ [[nodiscard]] auto SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSetupRequestedEventArgs> const& setupEventHandler) const;
+ auto SetupRequested(winrt::event_token const& token) const noexcept;
+ auto Submitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedEventArgs> const& submittedEventHandler) const;
using Submitted_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession, &impl::abi_t<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession>::remove_Submitted>;
- [[nodiscard]] Submitted_revoker Submitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedEventArgs> 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<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowBackgroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowSubmittedEventArgs> const& submittedEventHandler) const;
+ auto Submitted(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto Status() const;
+ auto Start() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSession>
{
@@ -325,10 +324,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowBackgroundSetupRequestedEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket>) 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<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowBackgroundSetupRequestedEventArgs>
{
@@ -337,9 +336,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowConfiguration>
{
@@ -348,16 +347,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSession
{
- WINRT_IMPL_AUTO(winrt::event_token) SetupRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSetupRequestedEventArgs> const& setupEventHandler) const;
+ auto SetupRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSetupRequestedEventArgs> const& setupEventHandler) const;
using SetupRequested_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession, &impl::abi_t<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession>::remove_SetupRequested>;
- [[nodiscard]] SetupRequested_revoker SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSetupRequestedEventArgs> 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<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowXpsDataAvailableEventArgs> const& xpsDataAvailableEventHandler) const;
+ [[nodiscard]] auto SetupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSetupRequestedEventArgs> const& setupEventHandler) const;
+ auto SetupRequested(winrt::event_token const& token) const noexcept;
+ auto XpsDataAvailable(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowXpsDataAvailableEventArgs> const& xpsDataAvailableEventHandler) const;
using XpsDataAvailable_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession, &impl::abi_t<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession>::remove_XpsDataAvailable>;
- [[nodiscard]] XpsDataAvailable_revoker XpsDataAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowXpsDataAvailableEventArgs> 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<winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowForegroundSession, winrt::Windows::Graphics::Printing::Workflow::PrintWorkflowXpsDataAvailableEventArgs> const& xpsDataAvailableEventHandler) const;
+ auto XpsDataAvailable(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto Status() const;
+ auto Start() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSession>
{
@@ -366,9 +365,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowForegroundSetupRequestedEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket>) 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<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowForegroundSetupRequestedEventArgs>
{
@@ -393,9 +392,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSourceContent
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Printing::PrintTicket::WorkflowPrintTicket>) 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<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSourceContent>
{
@@ -404,7 +403,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowSpoolStreamContent
{
- WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) GetInputStream() const;
+ auto GetInputStream() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSpoolStreamContent>
{
@@ -413,7 +412,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing_Workflow_IPrintWorkflowStreamTarget
{
- WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) GetOutputStream() const;
+ auto GetOutputStream() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowStreamTarget>
{
@@ -422,9 +421,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSubmittedEventArgs>
{
@@ -433,9 +432,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowSubmittedOperation>
{
@@ -444,8 +443,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowTarget>
{
@@ -454,7 +453,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowTriggerDetails>
{
@@ -463,7 +462,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowUIActivatedEventArgs>
{
@@ -472,8 +471,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing::Workflow::IPrintWorkflowXpsDataAvailableEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.1.h
index d90120498e5..b01ba2a978b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.2.h
index 6e5dae1c3a7..e7d779e6ac0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing.Workflow.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.0.h
index d268e6993a5..6102c928652 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
struct IPropertySet;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics
{
@@ -790,10 +785,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing3D_IPrint3DManager
{
- WINRT_IMPL_AUTO(winrt::event_token) TaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DManager, winrt::Windows::Graphics::Printing3D::Print3DTaskRequestedEventArgs> const& eventHandler) const;
+ auto TaskRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DManager, winrt::Windows::Graphics::Printing3D::Print3DTaskRequestedEventArgs> const& eventHandler) const;
using TaskRequested_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing3D::IPrint3DManager, &impl::abi_t<winrt::Windows::Graphics::Printing3D::IPrint3DManager>::remove_TaskRequested>;
- [[nodiscard]] TaskRequested_revoker TaskRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DManager, winrt::Windows::Graphics::Printing3D::Print3DTaskRequestedEventArgs> 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<winrt::Windows::Graphics::Printing3D::Print3DManager, winrt::Windows::Graphics::Printing3D::Print3DTaskRequestedEventArgs> const& eventHandler) const;
+ auto TaskRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Graphics::Printing3D::IPrint3DManager>
{
@@ -802,8 +797,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing3D_IPrint3DManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Print3DManager) GetForCurrentView() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) ShowPrintUIAsync() const;
+ auto GetForCurrentView() const;
+ auto ShowPrintUIAsync() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing3D::IPrint3DManagerStatics>
{
@@ -812,19 +807,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ [[nodiscard]] auto Source() const;
+ auto Submitting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
using Submitting_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing3D::IPrint3DTask, &impl::abi_t<winrt::Windows::Graphics::Printing3D::IPrint3DTask>::remove_Submitting>;
- [[nodiscard]] Submitting_revoker Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Graphics::Printing3D::Print3DTaskCompletedEventArgs> const& eventHandler) const;
+ [[nodiscard]] auto Submitting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ auto Submitting(winrt::event_token const& eventCookie) const noexcept;
+ auto Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Graphics::Printing3D::Print3DTaskCompletedEventArgs> const& eventHandler) const;
using Completed_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing3D::IPrint3DTask, &impl::abi_t<winrt::Windows::Graphics::Printing3D::IPrint3DTask>::remove_Completed>;
- [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Graphics::Printing3D::Print3DTaskCompletedEventArgs> 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<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Graphics::Printing3D::Print3DTaskSourceChangedEventArgs> const& eventHandler) const;
+ [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Graphics::Printing3D::Print3DTaskCompletedEventArgs> const& eventHandler) const;
+ auto Completed(winrt::event_token const& eventCookie) const noexcept;
+ auto SourceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Graphics::Printing3D::Print3DTaskSourceChangedEventArgs> const& eventHandler) const;
using SourceChanged_revoker = impl::event_revoker<winrt::Windows::Graphics::Printing3D::IPrint3DTask, &impl::abi_t<winrt::Windows::Graphics::Printing3D::IPrint3DTask>::remove_SourceChanged>;
- [[nodiscard]] SourceChanged_revoker SourceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Graphics::Printing3D::Print3DTaskSourceChangedEventArgs> 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<winrt::Windows::Graphics::Printing3D::Print3DTask, winrt::Windows::Graphics::Printing3D::Print3DTaskSourceChangedEventArgs> const& eventHandler) const;
+ auto SourceChanged(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Graphics::Printing3D::IPrint3DTask>
{
@@ -833,8 +828,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrint3DTaskCompletedEventArgs>
{
@@ -843,7 +838,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrint3DTaskRequest>
{
@@ -852,7 +847,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing3D_IPrint3DTaskRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Print3DTaskRequest) Request() const;
+ [[nodiscard]] auto Request() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing3D::IPrint3DTaskRequestedEventArgs>
{
@@ -861,7 +856,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing3D_IPrint3DTaskSourceChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage) Source() const;
+ [[nodiscard]] auto Source() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing3D::IPrint3DTaskSourceChangedEventArgs>
{
@@ -870,7 +865,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrint3DTaskSourceRequestedArgs>
{
@@ -879,16 +874,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackage
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) 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<winrt::Windows::Graphics::Printing3D::Printing3DTextureResource>) Textures() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Printing3D::Printing3DModel>) 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<winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage>
{
@@ -897,8 +892,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackage2>
{
@@ -907,7 +902,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing3D_IPrinting3D3MFPackageStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Graphics::Printing3D::Printing3D3MFPackage>) LoadAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const;
+ auto LoadAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& value) const;
};
template <> struct consume<winrt::Windows::Graphics::Printing3D::IPrinting3D3MFPackageStatics>
{
@@ -916,10 +911,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterial>
{
@@ -928,8 +923,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing3D_IPrinting3DBaseMaterialGroup
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterial>) Bases() const;
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaterialGroupId() const;
+ [[nodiscard]] auto Bases() const;
+ [[nodiscard]] auto MaterialGroupId() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterialGroup>
{
@@ -938,7 +933,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterialGroupFactory>
{
@@ -947,8 +942,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrinting3DBaseMaterialStatics>
{
@@ -957,8 +952,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterial>
{
@@ -967,8 +962,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterial2>
{
@@ -977,8 +972,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing3D_IPrinting3DColorMaterialGroup
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DColorMaterial>) Colors() const;
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaterialGroupId() const;
+ [[nodiscard]] auto Colors() const;
+ [[nodiscard]] auto MaterialGroupId() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterialGroup>
{
@@ -987,7 +982,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrinting3DColorMaterialGroupFactory>
{
@@ -996,17 +991,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::Printing3DComponentWithMatrix>) 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<winrt::Windows::Graphics::Printing3D::IPrinting3DComponent>
{
@@ -1015,10 +1010,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrinting3DComponentWithMatrix>
{
@@ -1027,7 +1022,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterial
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<double>) Values() const;
+ [[nodiscard]] auto Values() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterial>
{
@@ -1036,9 +1031,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing3D_IPrinting3DCompositeMaterialGroup
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DCompositeMaterial>) Composites() const;
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaterialGroupId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<uint32_t>) MaterialIndices() const;
+ [[nodiscard]] auto Composites() const;
+ [[nodiscard]] auto MaterialGroupId() const;
+ [[nodiscard]] auto MaterialIndices() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterialGroup>
{
@@ -1047,8 +1042,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterialGroup2>
{
@@ -1057,7 +1052,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrinting3DCompositeMaterialGroupFactory>
{
@@ -1066,12 +1061,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrinting3DFaceReductionOptions>
{
@@ -1080,11 +1075,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing3D_IPrinting3DMaterial
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DBaseMaterialGroup>) BaseGroups() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DColorMaterialGroup>) ColorGroups() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DTexture2CoordMaterialGroup>) Texture2CoordGroups() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DCompositeMaterialGroup>) CompositeGroups() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DMultiplePropertyMaterialGroup>) 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<winrt::Windows::Graphics::Printing3D::IPrinting3DMaterial>
{
@@ -1093,29 +1088,29 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::Printing3DMeshVerificationResult>) 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<winrt::Windows::Graphics::Printing3D::IPrinting3DMesh>
{
@@ -1124,9 +1119,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing3D_IPrinting3DMeshVerificationResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsValid() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) NonmanifoldTriangles() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) ReversedNormalTriangles() const;
+ [[nodiscard]] auto IsValid() const;
+ [[nodiscard]] auto NonmanifoldTriangles() const;
+ [[nodiscard]] auto ReversedNormalTriangles() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing3D::IPrinting3DMeshVerificationResult>
{
@@ -1135,21 +1130,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::Printing3DModelTexture>) Textures() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DMesh>) Meshes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DComponent>) 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<hstring>) RequiredExtensions() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) 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<winrt::Windows::Graphics::Printing3D::IPrinting3DModel>
{
@@ -1158,12 +1153,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing3D_IPrinting3DModel2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryPartialRepairAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryPartialRepairAsync(winrt::Windows::Foundation::TimeSpan const& maxWaitTime) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<bool, double>) TryReduceFacesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<bool, double>) TryReduceFacesAsync(winrt::Windows::Graphics::Printing3D::Printing3DFaceReductionOptions const& printing3DFaceReductionOptions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<bool, double>) TryReduceFacesAsync(winrt::Windows::Graphics::Printing3D::Printing3DFaceReductionOptions const& printing3DFaceReductionOptions, winrt::Windows::Foundation::TimeSpan const& maxWait) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<bool, double>) 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<winrt::Windows::Graphics::Printing3D::IPrinting3DModel2>
{
@@ -1172,12 +1167,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrinting3DModelTexture>
{
@@ -1186,7 +1181,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterial
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<uint32_t>) MaterialIndices() const;
+ [[nodiscard]] auto MaterialIndices() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterial>
{
@@ -1195,9 +1190,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing3D_IPrinting3DMultiplePropertyMaterialGroup
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DMultiplePropertyMaterial>) MultipleProperties() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<uint32_t>) 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<winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterialGroup>
{
@@ -1206,7 +1201,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrinting3DMultiplePropertyMaterialGroupFactory>
{
@@ -1215,12 +1210,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterial>
{
@@ -1229,8 +1224,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Graphics_Printing3D_IPrinting3DTexture2CoordMaterialGroup
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Graphics::Printing3D::Printing3DTexture2CoordMaterial>) Texture2Coords() const;
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaterialGroupId() const;
+ [[nodiscard]] auto Texture2Coords() const;
+ [[nodiscard]] auto MaterialGroupId() const;
};
template <> struct consume<winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterialGroup>
{
@@ -1239,8 +1234,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterialGroup2>
{
@@ -1249,7 +1244,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrinting3DTexture2CoordMaterialGroupFactory>
{
@@ -1258,10 +1253,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Graphics::Printing3D::IPrinting3DTextureResource>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.1.h
index 8e89dd2c92c..d071759cf00 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.2.h
index 0644c9cd78f..95dd0f2e26c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Graphics.Printing3D.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.0.h
index 65d9d4c5515..529725554a3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Management
{
@@ -118,19 +117,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Management::IMdmAlert>
{
@@ -139,14 +138,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_IMdmSession
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Management::MdmAlert>) 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<winrt::Windows::Management::MdmAlert> 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<winrt::Windows::Management::MdmAlert> const& alerts) const;
};
template <> struct consume<winrt::Windows::Management::IMdmSession>
{
@@ -155,10 +154,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_IMdmSessionManagerStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) 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<winrt::Windows::Management::IMdmSessionManagerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.1.h
index d7bb357b4d6..87adcb228b8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.2.h
index afc970381ec..6457fc2fc2d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.0.h
index 9467603f3d3..6429a47c967 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Management::Core::IApplicationDataManagerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.1.h
index a47d00feb48..f1b07368c5c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.2.h
index ce0d91e6361..0acb771461d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.0.h
index 604007089bb..f5d12bce316 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Management::Deployment
{
@@ -508,36 +504,36 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_Deployment_IAddPackageOptions
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) 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<hstring>) OptionalPackageFamilyNames() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) OptionalPackageUris() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) 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<winrt::Windows::Management::Deployment::IAddPackageOptions>
{
@@ -546,9 +542,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Management::Deployment::IDeploymentResult>
{
@@ -557,7 +553,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_Deployment_IDeploymentResult2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRegistered() const;
+ [[nodiscard]] auto IsRegistered() const;
};
template <> struct consume<winrt::Windows::Management::Deployment::IDeploymentResult2>
{
@@ -566,22 +562,22 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_Deployment_IPackageManager
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) UpdatePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) RemovePackageAsync(param::hstring const& packageFullName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) FindPackages() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) FindPackagesForUser(param::hstring const& userSecurityId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::Management::Deployment::PackageUserInformation>) 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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) CleanupPackageForUserAsync(param::hstring const& packageName, param::hstring const& userSecurityId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) FindPackages(param::hstring const& packageFamilyName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) 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<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const;
+ auto UpdatePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> 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<winrt::Windows::Foundation::Uri> const& dependencyPackageUris) const;
+ auto RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable<winrt::Windows::Foundation::Uri> 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<winrt::Windows::Management::Deployment::IPackageManager>
{
@@ -590,16 +586,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_Deployment_IPackageManager2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) RemovePackageAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::RemovalOptions const& removalOptions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) RegisterPackageByFullNameAsync(param::hstring const& mainPackageFullName, param::async_iterable<hstring> const& dependencyPackageFullNames, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) 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<winrt::Windows::ApplicationModel::Package>) 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<winrt::Windows::ApplicationModel::Package>) FindPackagesWithPackageTypes(param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, param::hstring const& packageFamilyName, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) 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<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const;
+ auto RegisterPackageByFullNameAsync(param::hstring const& mainPackageFullName, param::async_iterable<hstring> 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<winrt::Windows::Management::Deployment::IPackageManager2>
{
@@ -608,21 +604,21 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_Deployment_IPackageManager3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Management::Deployment::PackageVolume>) AddPackageVolumeAsync(param::hstring const& packageStorePath) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> 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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable<winrt::Windows::Foundation::Uri> 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<winrt::Windows::Management::Deployment::PackageVolume>) FindPackageVolumes() const;
- WINRT_IMPL_AUTO(winrt::Windows::Management::Deployment::PackageVolume) GetDefaultPackageVolume() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) 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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) 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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) SetPackageVolumeOfflineAsync(winrt::Windows::Management::Deployment::PackageVolume const& packageVolume) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) SetPackageVolumeOnlineAsync(winrt::Windows::Management::Deployment::PackageVolume const& packageVolume) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) 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<winrt::Windows::Foundation::Uri> 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<winrt::Windows::Foundation::Uri> 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<winrt::Windows::Foundation::Uri> 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<winrt::Windows::Management::Deployment::IPackageManager3>
{
@@ -631,7 +627,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_Deployment_IPackageManager4
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Management::Deployment::PackageVolume>>) GetPackageVolumesAsync() const;
+ auto GetPackageVolumesAsync() const;
};
template <> struct consume<winrt::Windows::Management::Deployment::IPackageManager4>
{
@@ -640,10 +636,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_Deployment_IPackageManager5
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& externalPackageUris) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& externalPackageUris) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) RegisterPackageByFamilyNameAsync(param::hstring const& mainPackageFamilyName, param::async_iterable<hstring> const& dependencyPackageFamilyNames, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& appDataVolume, param::async_iterable<hstring> 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<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& externalPackageUris) const;
+ auto StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& externalPackageUris) const;
+ auto RegisterPackageByFamilyNameAsync(param::hstring const& mainPackageFamilyName, param::async_iterable<hstring> const& dependencyPackageFamilyNames, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& appDataVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames) const;
+ [[nodiscard]] auto DebugSettings() const;
};
template <> struct consume<winrt::Windows::Management::Deployment::IPackageManager5>
{
@@ -652,12 +648,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_Deployment_IPackageManager6
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) ProvisionPackageForAllUsersAsync(param::hstring const& packageFamilyName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) 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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) 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<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) AddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& packageUrisToInstall, param::async_iterable<winrt::Windows::Foundation::Uri> const& relatedPackageUris) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& packageUrisToInstall, param::async_iterable<winrt::Windows::Foundation::Uri> const& relatedPackageUris) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> 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<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& packageUrisToInstall, param::async_iterable<winrt::Windows::Foundation::Uri> const& relatedPackageUris) const;
+ auto StagePackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& options, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& packageUrisToInstall, param::async_iterable<winrt::Windows::Foundation::Uri> const& relatedPackageUris) const;
+ auto RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& relatedPackageUris) const;
};
template <> struct consume<winrt::Windows::Management::Deployment::IPackageManager6>
{
@@ -666,7 +662,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_Deployment_IPackageManager7
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& relatedPackageUris, param::async_iterable<winrt::Windows::Foundation::Uri> const& packageUrisToInstall) const;
+ auto RequestAddPackageAsync(winrt::Windows::Foundation::Uri const& packageUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume, param::async_iterable<hstring> const& optionalPackageFamilyNames, param::async_iterable<winrt::Windows::Foundation::Uri> const& relatedPackageUris, param::async_iterable<winrt::Windows::Foundation::Uri> const& packageUrisToInstall) const;
};
template <> struct consume<winrt::Windows::Management::Deployment::IPackageManager7>
{
@@ -675,7 +671,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_Deployment_IPackageManager8
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) DeprovisionPackageForAllUsersAsync(param::hstring const& packageFamilyName) const;
+ auto DeprovisionPackageForAllUsersAsync(param::hstring const& packageFamilyName) const;
};
template <> struct consume<winrt::Windows::Management::Deployment::IPackageManager8>
{
@@ -684,13 +680,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_Deployment_IPackageManager9
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) FindProvisionedPackages() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) AddPackageByUriAsync(winrt::Windows::Foundation::Uri const& packageUri, winrt::Windows::Management::Deployment::AddPackageOptions const& options) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) StagePackageByUriAsync(winrt::Windows::Foundation::Uri const& packageUri, winrt::Windows::Management::Deployment::StagePackageOptions const& options) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) RegisterPackageByUriAsync(winrt::Windows::Foundation::Uri const& manifestUri, winrt::Windows::Management::Deployment::RegisterPackageOptions const& options) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Management::Deployment::DeploymentResult, winrt::Windows::Management::Deployment::DeploymentProgress>) RegisterPackagesByFullNameAsync(param::async_iterable<hstring> 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<hstring> 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<winrt::Windows::Management::Deployment::IPackageManager9>
{
@@ -699,8 +695,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Management::Deployment::IPackageManagerDebugSettings>
{
@@ -709,8 +705,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Management::Deployment::IPackageUserInformation>
{
@@ -719,26 +715,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::ApplicationModel::Package>) FindPackages() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) FindPackages(param::hstring const& packageFamilyName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) 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<winrt::Windows::ApplicationModel::Package>) FindPackagesWithPackageTypes(winrt::Windows::Management::Deployment::PackageTypes const& packageTypes, param::hstring const& packageFamilyName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) FindPackage(param::hstring const& packageFullName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) FindPackagesForUser(param::hstring const& userSecurityId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageName, param::hstring const& packagePublisher) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) FindPackagesForUser(param::hstring const& userSecurityId, param::hstring const& packageFamilyName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) FindPackagesForUserWithPackageTypes(param::hstring const& userSecurityId, winrt::Windows::Management::Deployment::PackageTypes const& packageTypes) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::ApplicationModel::Package>) 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<winrt::Windows::ApplicationModel::Package>) 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<winrt::Windows::ApplicationModel::Package>) 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<winrt::Windows::Management::Deployment::IPackageVolume>
{
@@ -747,9 +743,9 @@ namespace winrt::impl
template <typename D>
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<uint64_t>) GetAvailableSpaceAsync() const;
+ [[nodiscard]] auto IsFullTrustPackageSupported() const;
+ [[nodiscard]] auto IsAppxInstallSupported() const;
+ auto GetAvailableSpaceAsync() const;
};
template <> struct consume<winrt::Windows::Management::Deployment::IPackageVolume2>
{
@@ -758,28 +754,28 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_Deployment_IRegisterPackageOptions
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) 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<hstring>) 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<winrt::Windows::Management::Deployment::IRegisterPackageOptions>
{
@@ -788,28 +784,28 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_Deployment_IStagePackageOptions
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) 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<hstring>) OptionalPackageFamilyNames() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) OptionalPackageUris() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) 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<winrt::Windows::Management::Deployment::IStagePackageOptions>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.1.h
index 4c752dfb0d5..b4f78c8fa2f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.2.h
index 0e85896e25e..6ab06449a40 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.0.h
index d500f52b202..9db068132f9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Management::Deployment::Preview::IClassicAppManagerStatics>
{
@@ -50,8 +50,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Management::Deployment::Preview::IInstalledClassicAppInfo>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.1.h
index e9cfb56b950..23a1378537d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.2.h
index 17b6864d202..373e3edc38d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Deployment.Preview.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.0.h
index bc1b0f1b547..c32d2e23e8b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Management::Policies::NamedPolicyData, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Management::Policies::NamedPolicyData, winrt::Windows::Foundation::IInspectable> const& changedHandler) const;
using Changed_revoker = impl::event_revoker<winrt::Windows::Management::Policies::INamedPolicyData, &impl::abi_t<winrt::Windows::Management::Policies::INamedPolicyData>::remove_Changed>;
- [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Management::Policies::NamedPolicyData, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Management::Policies::NamedPolicyData, winrt::Windows::Foundation::IInspectable> const& changedHandler) const;
+ auto Changed(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::Management::Policies::INamedPolicyData>
{
@@ -100,8 +100,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Management::Policies::INamedPolicyStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.1.h
index a7bbe0dd50e..c9e9c82a313 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.2.h
index b9cadca1bd9..c3e555c4411 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Policies.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.0.h
index e6d243322a1..6956a71d499 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
struct ValueSet;
@@ -64,10 +60,10 @@ namespace winrt::impl
template <typename D>
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<bool>) SyncAsync() const;
+ [[nodiscard]] auto ArePreviewBuildsAllowed() const;
+ auto ArePreviewBuildsAllowed(bool value) const;
+ auto GetCurrentState() const;
+ auto SyncAsync() const;
};
template <> struct consume<winrt::Windows::Management::Update::IPreviewBuildsManager>
{
@@ -76,8 +72,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Management::Update::IPreviewBuildsManagerStatics>
{
@@ -86,7 +82,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_Update_IPreviewBuildsState
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Properties() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Management::Update::IPreviewBuildsState>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.1.h
index 088adf683c1..a847f98648a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.2.h
index 477af056eb6..761ef5545be 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Update.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.0.h
index bb72ca102de..c33139f27dc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Management::Workplace::IMdmAllowPolicyStatics>
{
@@ -73,7 +73,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_Workplace_IMdmPolicyStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Management::Workplace::MessagingSyncPolicy) GetMessagingSyncPolicy() const;
+ auto GetMessagingSyncPolicy() const;
};
template <> struct consume<winrt::Windows::Management::Workplace::IMdmPolicyStatics2>
{
@@ -82,7 +82,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Management_Workplace_IWorkplaceSettingsStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMicrosoftAccountOptional() const;
+ [[nodiscard]] auto IsMicrosoftAccountOptional() const;
};
template <> struct consume<winrt::Windows::Management::Workplace::IWorkplaceSettingsStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.1.h
index 0a6444b1580..40f8fd8c726 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.2.h
index 05a900410d6..d9033c235ed 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Management.Workplace.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.0.h
index 3fd248d3641..db3e948a722 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> 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 <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
struct ValueSet;
}
WINRT_EXPORT namespace winrt::Windows::Graphics::DirectX
@@ -792,9 +789,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::IAudioBuffer>
{
@@ -803,7 +800,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::IAudioFrame>
{
@@ -812,7 +809,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::IAudioFrameFactory>
{
@@ -821,7 +818,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_IAutoRepeatModeChangeRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaPlaybackAutoRepeatMode) RequestedAutoRepeatMode() const;
+ [[nodiscard]] auto RequestedAutoRepeatMode() const;
};
template <> struct consume<winrt::Windows::Media::IAutoRepeatModeChangeRequestedEventArgs>
{
@@ -830,10 +827,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::IImageDisplayProperties>
{
@@ -842,63 +839,63 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_IMediaControl
{
- WINRT_IMPL_AUTO(winrt::event_token) SoundLevelChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SoundLevelChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using SoundLevelChanged_revoker = impl::event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_SoundLevelChanged>;
- [[nodiscard]] SoundLevelChanged_revoker SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SoundLevelChanged(winrt::event_token const& cookie) const noexcept;
+ auto PlayPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using PlayPressed_revoker = impl::event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_PlayPressed>;
- [[nodiscard]] PlayPressed_revoker PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PlayPressed(winrt::event_token const& cookie) const noexcept;
+ auto PausePressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using PausePressed_revoker = impl::event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_PausePressed>;
- [[nodiscard]] PausePressed_revoker PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PausePressed(winrt::event_token const& cookie) const noexcept;
+ auto StopPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using StopPressed_revoker = impl::event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_StopPressed>;
- [[nodiscard]] StopPressed_revoker StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto StopPressed(winrt::event_token const& cookie) const noexcept;
+ auto PlayPauseTogglePressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using PlayPauseTogglePressed_revoker = impl::event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_PlayPauseTogglePressed>;
- [[nodiscard]] PlayPauseTogglePressed_revoker PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PlayPauseTogglePressed(winrt::event_token const& cookie) const noexcept;
+ auto RecordPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using RecordPressed_revoker = impl::event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_RecordPressed>;
- [[nodiscard]] RecordPressed_revoker RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto RecordPressed(winrt::event_token const& cookie) const noexcept;
+ auto NextTrackPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using NextTrackPressed_revoker = impl::event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_NextTrackPressed>;
- [[nodiscard]] NextTrackPressed_revoker NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto NextTrackPressed(winrt::event_token const& cookie) const noexcept;
+ auto PreviousTrackPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using PreviousTrackPressed_revoker = impl::event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_PreviousTrackPressed>;
- [[nodiscard]] PreviousTrackPressed_revoker PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PreviousTrackPressed(winrt::event_token const& cookie) const noexcept;
+ auto FastForwardPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using FastForwardPressed_revoker = impl::event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_FastForwardPressed>;
- [[nodiscard]] FastForwardPressed_revoker FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto FastForwardPressed(winrt::event_token const& cookie) const noexcept;
+ auto RewindPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using RewindPressed_revoker = impl::event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_RewindPressed>;
- [[nodiscard]] RewindPressed_revoker RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto RewindPressed(winrt::event_token const& cookie) const noexcept;
+ auto ChannelUpPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using ChannelUpPressed_revoker = impl::event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_ChannelUpPressed>;
- [[nodiscard]] ChannelUpPressed_revoker ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ChannelUpPressed(winrt::event_token const& cookie) const noexcept;
+ auto ChannelDownPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using ChannelDownPressed_revoker = impl::event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_ChannelDownPressed>;
- [[nodiscard]] ChannelDownPressed_revoker ChannelDownPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::IMediaControl>
{
@@ -907,7 +904,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::IMediaExtension>
{
@@ -916,18 +913,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::IMediaExtensionManager>
{
@@ -936,7 +933,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::IMediaExtensionManager2>
{
@@ -945,17 +942,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::TimeSpan> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) RelativeTime() const;
- WINRT_IMPL_AUTO(void) SystemRelativeTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) SystemRelativeTime() const;
- WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) 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<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ [[nodiscard]] auto RelativeTime() const;
+ auto SystemRelativeTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ [[nodiscard]] auto SystemRelativeTime() const;
+ auto Duration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ [[nodiscard]] auto Duration() const;
+ auto IsDiscontinuous(bool value) const;
+ [[nodiscard]] auto IsDiscontinuous() const;
+ [[nodiscard]] auto ExtendedProperties() const;
};
template <> struct consume<winrt::Windows::Media::IMediaFrame>
{
@@ -964,9 +961,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::IMediaMarker>
{
@@ -975,7 +972,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_IMediaMarkerTypesStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Bookmark() const;
+ [[nodiscard]] auto Bookmark() const;
};
template <> struct consume<winrt::Windows::Media::IMediaMarkerTypesStatics>
{
@@ -984,7 +981,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_IMediaMarkers
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::IMediaMarker>) Markers() const;
+ [[nodiscard]] auto Markers() const;
};
template <> struct consume<winrt::Windows::Media::IMediaMarkers>
{
@@ -993,7 +990,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_IMediaProcessingTriggerDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Arguments() const;
+ [[nodiscard]] auto Arguments() const;
};
template <> struct consume<winrt::Windows::Media::IMediaProcessingTriggerDetails>
{
@@ -1002,22 +999,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> const& positionChangedEventHandler) const;
using PositionChanged_revoker = impl::event_revoker<winrt::Windows::Media::IMediaTimelineController, &impl::abi_t<winrt::Windows::Media::IMediaTimelineController>::remove_PositionChanged>;
- [[nodiscard]] PositionChanged_revoker PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> const& stateChangedEventHandler) const;
+ [[nodiscard]] auto PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> const& positionChangedEventHandler) const;
+ auto PositionChanged(winrt::event_token const& eventCookie) const noexcept;
+ auto StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> const& stateChangedEventHandler) const;
using StateChanged_revoker = impl::event_revoker<winrt::Windows::Media::IMediaTimelineController, &impl::abi_t<winrt::Windows::Media::IMediaTimelineController>::remove_StateChanged>;
- [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> const& stateChangedEventHandler) const;
+ auto StateChanged(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Media::IMediaTimelineController>
{
@@ -1026,18 +1023,18 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_IMediaTimelineController2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) Duration() const;
- WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Media::MediaTimelineControllerFailedEventArgs> const& eventHandler) const;
+ [[nodiscard]] auto Duration() const;
+ auto Duration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ [[nodiscard]] auto IsLoopingEnabled() const;
+ auto IsLoopingEnabled(bool value) const;
+ auto Failed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Media::MediaTimelineControllerFailedEventArgs> const& eventHandler) const;
using Failed_revoker = impl::event_revoker<winrt::Windows::Media::IMediaTimelineController2, &impl::abi_t<winrt::Windows::Media::IMediaTimelineController2>::remove_Failed>;
- [[nodiscard]] Failed_revoker Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Media::MediaTimelineControllerFailedEventArgs> 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<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ [[nodiscard]] auto Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Media::MediaTimelineControllerFailedEventArgs> const& eventHandler) const;
+ auto Failed(winrt::event_token const& token) const noexcept;
+ auto Ended(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
using Ended_revoker = impl::event_revoker<winrt::Windows::Media::IMediaTimelineController2, &impl::abi_t<winrt::Windows::Media::IMediaTimelineController2>::remove_Ended>;
- [[nodiscard]] Ended_revoker Ended(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::MediaTimelineController, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ auto Ended(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::IMediaTimelineController2>
{
@@ -1046,7 +1043,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_IMediaTimelineControllerFailedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::Media::IMediaTimelineControllerFailedEventArgs>
{
@@ -1055,12 +1052,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::IMusicDisplayProperties>
{
@@ -1069,11 +1066,11 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::Media::IMusicDisplayProperties2>
{
@@ -1082,8 +1079,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::IMusicDisplayProperties3>
{
@@ -1092,7 +1089,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_IPlaybackPositionChangeRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RequestedPlaybackPosition() const;
+ [[nodiscard]] auto RequestedPlaybackPosition() const;
};
template <> struct consume<winrt::Windows::Media::IPlaybackPositionChangeRequestedEventArgs>
{
@@ -1101,7 +1098,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_IPlaybackRateChangeRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(double) RequestedPlaybackRate() const;
+ [[nodiscard]] auto RequestedPlaybackRate() const;
};
template <> struct consume<winrt::Windows::Media::IPlaybackRateChangeRequestedEventArgs>
{
@@ -1110,7 +1107,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_IShuffleEnabledChangeRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) RequestedShuffleEnabled() const;
+ [[nodiscard]] auto RequestedShuffleEnabled() const;
};
template <> struct consume<winrt::Windows::Media::IShuffleEnabledChangeRequestedEventArgs>
{
@@ -1119,40 +1116,40 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::SystemMediaTransportControlsButtonPressedEventArgs> 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<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::SystemMediaTransportControlsButtonPressedEventArgs> const& handler) const;
using ButtonPressed_revoker = impl::event_revoker<winrt::Windows::Media::ISystemMediaTransportControls, &impl::abi_t<winrt::Windows::Media::ISystemMediaTransportControls>::remove_ButtonPressed>;
- [[nodiscard]] ButtonPressed_revoker ButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::SystemMediaTransportControlsButtonPressedEventArgs> 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<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::SystemMediaTransportControlsPropertyChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto ButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::SystemMediaTransportControlsButtonPressedEventArgs> const& handler) const;
+ auto ButtonPressed(winrt::event_token const& token) const noexcept;
+ auto PropertyChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::SystemMediaTransportControlsPropertyChangedEventArgs> const& handler) const;
using PropertyChanged_revoker = impl::event_revoker<winrt::Windows::Media::ISystemMediaTransportControls, &impl::abi_t<winrt::Windows::Media::ISystemMediaTransportControls>::remove_PropertyChanged>;
- [[nodiscard]] PropertyChanged_revoker PropertyChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::SystemMediaTransportControlsPropertyChangedEventArgs> 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<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::SystemMediaTransportControlsPropertyChangedEventArgs> const& handler) const;
+ auto PropertyChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::ISystemMediaTransportControls>
{
@@ -1161,29 +1158,29 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::PlaybackPositionChangeRequestedEventArgs> 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<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::PlaybackPositionChangeRequestedEventArgs> const& handler) const;
using PlaybackPositionChangeRequested_revoker = impl::event_revoker<winrt::Windows::Media::ISystemMediaTransportControls2, &impl::abi_t<winrt::Windows::Media::ISystemMediaTransportControls2>::remove_PlaybackPositionChangeRequested>;
- [[nodiscard]] PlaybackPositionChangeRequested_revoker PlaybackPositionChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::PlaybackPositionChangeRequestedEventArgs> 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<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::PlaybackRateChangeRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto PlaybackPositionChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::PlaybackPositionChangeRequestedEventArgs> const& handler) const;
+ auto PlaybackPositionChangeRequested(winrt::event_token const& token) const noexcept;
+ auto PlaybackRateChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::PlaybackRateChangeRequestedEventArgs> const& handler) const;
using PlaybackRateChangeRequested_revoker = impl::event_revoker<winrt::Windows::Media::ISystemMediaTransportControls2, &impl::abi_t<winrt::Windows::Media::ISystemMediaTransportControls2>::remove_PlaybackRateChangeRequested>;
- [[nodiscard]] PlaybackRateChangeRequested_revoker PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::PlaybackRateChangeRequestedEventArgs> 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<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::ShuffleEnabledChangeRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::PlaybackRateChangeRequestedEventArgs> const& handler) const;
+ auto PlaybackRateChangeRequested(winrt::event_token const& token) const noexcept;
+ auto ShuffleEnabledChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::ShuffleEnabledChangeRequestedEventArgs> const& handler) const;
using ShuffleEnabledChangeRequested_revoker = impl::event_revoker<winrt::Windows::Media::ISystemMediaTransportControls2, &impl::abi_t<winrt::Windows::Media::ISystemMediaTransportControls2>::remove_ShuffleEnabledChangeRequested>;
- [[nodiscard]] ShuffleEnabledChangeRequested_revoker ShuffleEnabledChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::ShuffleEnabledChangeRequestedEventArgs> 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<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::AutoRepeatModeChangeRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto ShuffleEnabledChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::ShuffleEnabledChangeRequestedEventArgs> const& handler) const;
+ auto ShuffleEnabledChangeRequested(winrt::event_token const& token) const noexcept;
+ auto AutoRepeatModeChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::AutoRepeatModeChangeRequestedEventArgs> const& handler) const;
using AutoRepeatModeChangeRequested_revoker = impl::event_revoker<winrt::Windows::Media::ISystemMediaTransportControls2, &impl::abi_t<winrt::Windows::Media::ISystemMediaTransportControls2>::remove_AutoRepeatModeChangeRequested>;
- [[nodiscard]] AutoRepeatModeChangeRequested_revoker AutoRepeatModeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::AutoRepeatModeChangeRequestedEventArgs> 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<winrt::Windows::Media::SystemMediaTransportControls, winrt::Windows::Media::AutoRepeatModeChangeRequestedEventArgs> const& handler) const;
+ auto AutoRepeatModeChangeRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::ISystemMediaTransportControls2>
{
@@ -1192,7 +1189,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_ISystemMediaTransportControlsButtonPressedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControlsButton) Button() const;
+ [[nodiscard]] auto Button() const;
};
template <> struct consume<winrt::Windows::Media::ISystemMediaTransportControlsButtonPressedEventArgs>
{
@@ -1201,18 +1198,18 @@ namespace winrt::impl
template <typename D>
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<bool>) 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<winrt::Windows::Media::ISystemMediaTransportControlsDisplayUpdater>
{
@@ -1221,7 +1218,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_ISystemMediaTransportControlsPropertyChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControlsProperty) Property() const;
+ [[nodiscard]] auto Property() const;
};
template <> struct consume<winrt::Windows::Media::ISystemMediaTransportControlsPropertyChangedEventArgs>
{
@@ -1230,7 +1227,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_ISystemMediaTransportControlsStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::SystemMediaTransportControls) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::Media::ISystemMediaTransportControlsStatics>
{
@@ -1239,16 +1236,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::ISystemMediaTransportControlsTimelineProperties>
{
@@ -1257,10 +1254,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::IVideoDisplayProperties>
{
@@ -1269,7 +1266,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_IVideoDisplayProperties2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) Genres() const;
+ [[nodiscard]] auto Genres() const;
};
template <> struct consume<winrt::Windows::Media::IVideoDisplayProperties2>
{
@@ -1278,7 +1275,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_IVideoEffectsStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) VideoStabilization() const;
+ [[nodiscard]] auto VideoStabilization() const;
};
template <> struct consume<winrt::Windows::Media::IVideoEffectsStatics>
{
@@ -1287,9 +1284,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::IVideoFrame>
{
@@ -1298,7 +1295,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_IVideoFrame2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) CopyToAsync(winrt::Windows::Media::VideoFrame const& frame, winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::Imaging::BitmapBounds> const& sourceBounds, winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::Imaging::BitmapBounds> const& destinationBounds) const;
+ auto CopyToAsync(winrt::Windows::Media::VideoFrame const& frame, winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::Imaging::BitmapBounds> const& sourceBounds, winrt::Windows::Foundation::IReference<winrt::Windows::Graphics::Imaging::BitmapBounds> const& destinationBounds) const;
};
template <> struct consume<winrt::Windows::Media::IVideoFrame2>
{
@@ -1307,8 +1304,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::IVideoFrameFactory>
{
@@ -1317,10 +1314,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::IVideoFrameStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.1.h
index 53e08da537c..8ae5709b112 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.2.h
index 6a2b61768a1..743222ef7ab 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable> const& handler);
using SoundLevelChanged_revoker = impl::factory_event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_SoundLevelChanged>;
- [[nodiscard]] static SoundLevelChanged_revoker SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto SoundLevelChanged(winrt::event_token const& cookie);
static auto PlayPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using PlayPressed_revoker = impl::factory_event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_PlayPressed>;
- [[nodiscard]] static PlayPressed_revoker PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto PlayPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto PlayPressed(winrt::event_token const& cookie);
static auto PausePressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using PausePressed_revoker = impl::factory_event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_PausePressed>;
- [[nodiscard]] static PausePressed_revoker PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto PausePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto PausePressed(winrt::event_token const& cookie);
static auto StopPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using StopPressed_revoker = impl::factory_event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_StopPressed>;
- [[nodiscard]] static StopPressed_revoker StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto StopPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto StopPressed(winrt::event_token const& cookie);
static auto PlayPauseTogglePressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using PlayPauseTogglePressed_revoker = impl::factory_event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_PlayPauseTogglePressed>;
- [[nodiscard]] static PlayPauseTogglePressed_revoker PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto PlayPauseTogglePressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto PlayPauseTogglePressed(winrt::event_token const& cookie);
static auto RecordPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using RecordPressed_revoker = impl::factory_event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_RecordPressed>;
- [[nodiscard]] static RecordPressed_revoker RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto RecordPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto RecordPressed(winrt::event_token const& cookie);
static auto NextTrackPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using NextTrackPressed_revoker = impl::factory_event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_NextTrackPressed>;
- [[nodiscard]] static NextTrackPressed_revoker NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto NextTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto NextTrackPressed(winrt::event_token const& cookie);
static auto PreviousTrackPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using PreviousTrackPressed_revoker = impl::factory_event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_PreviousTrackPressed>;
- [[nodiscard]] static PreviousTrackPressed_revoker PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto PreviousTrackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto PreviousTrackPressed(winrt::event_token const& cookie);
static auto FastForwardPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using FastForwardPressed_revoker = impl::factory_event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_FastForwardPressed>;
- [[nodiscard]] static FastForwardPressed_revoker FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto FastForwardPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto FastForwardPressed(winrt::event_token const& cookie);
static auto RewindPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using RewindPressed_revoker = impl::factory_event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_RewindPressed>;
- [[nodiscard]] static RewindPressed_revoker RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto RewindPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto RewindPressed(winrt::event_token const& cookie);
static auto ChannelUpPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using ChannelUpPressed_revoker = impl::factory_event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_ChannelUpPressed>;
- [[nodiscard]] static ChannelUpPressed_revoker ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto ChannelUpPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto ChannelUpPressed(winrt::event_token const& cookie);
static auto ChannelDownPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using ChannelDownPressed_revoker = impl::factory_event_revoker<winrt::Windows::Media::IMediaControl, &impl::abi_t<winrt::Windows::Media::IMediaControl>::remove_ChannelDownPressed>;
- [[nodiscard]] static ChannelDownPressed_revoker ChannelDownPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto ChannelDownPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto ChannelDownPressed(winrt::event_token const& cookie);
[[nodiscard]] static auto SoundLevel();
static auto TrackName(param::hstring const& value);
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.0.h
index 7238b551556..383a2ed0e5c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
struct consume_Windows_Media_AppBroadcasting_IAppBroadcastingMonitor
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCurrentAppBroadcasting() const;
- WINRT_IMPL_AUTO(winrt::event_token) IsCurrentAppBroadcastingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::AppBroadcasting::AppBroadcastingMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto IsCurrentAppBroadcasting() const;
+ auto IsCurrentAppBroadcastingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::AppBroadcasting::AppBroadcastingMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const;
using IsCurrentAppBroadcastingChanged_revoker = impl::event_revoker<winrt::Windows::Media::AppBroadcasting::IAppBroadcastingMonitor, &impl::abi_t<winrt::Windows::Media::AppBroadcasting::IAppBroadcastingMonitor>::remove_IsCurrentAppBroadcastingChanged>;
- [[nodiscard]] IsCurrentAppBroadcastingChanged_revoker IsCurrentAppBroadcastingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::AppBroadcasting::AppBroadcastingMonitor, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::AppBroadcasting::AppBroadcastingMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto IsCurrentAppBroadcastingChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::AppBroadcasting::IAppBroadcastingMonitor>
{
@@ -116,8 +116,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatus>
{
@@ -126,14 +126,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::AppBroadcasting::IAppBroadcastingStatusDetails>
{
@@ -142,8 +142,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::AppBroadcasting::IAppBroadcastingUI>
{
@@ -152,8 +152,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::AppBroadcasting::IAppBroadcastingUIStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.1.h
index 353088647f3..38009c1ef55 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.2.h
index 9661e5be8e4..9510095e4ac 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppBroadcasting.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.0.h
index 72769c0370b..858db06f163 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Storage
{
@@ -155,11 +153,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_AppRecording_IAppRecordingManager
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::AppRecording::AppRecordingStatus) GetStatus() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::AppRecording::AppRecordingResult>) StartRecordingToFileAsync(winrt::Windows::Storage::StorageFile const& file) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::AppRecording::AppRecordingResult>) 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<hstring>) SupportedScreenshotMediaEncodingSubtypes() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::AppRecording::AppRecordingSaveScreenshotResult>) SaveScreenshotToFilesAsync(winrt::Windows::Storage::StorageFolder const& folder, param::hstring const& filenamePrefix, winrt::Windows::Media::AppRecording::AppRecordingSaveScreenshotOption const& option, param::async_iterable<hstring> 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<hstring> const& requestedFormats) const;
};
template <> struct consume<winrt::Windows::Media::AppRecording::IAppRecordingManager>
{
@@ -168,7 +166,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_AppRecording_IAppRecordingManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::AppRecording::AppRecordingManager) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Media::AppRecording::IAppRecordingManagerStatics>
{
@@ -177,10 +175,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::AppRecording::IAppRecordingResult>
{
@@ -189,9 +187,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::AppRecording::AppRecordingSavedScreenshotInfo>) SavedScreenshotInfos() const;
+ [[nodiscard]] auto Succeeded() const;
+ [[nodiscard]] auto ExtendedError() const;
+ [[nodiscard]] auto SavedScreenshotInfos() const;
};
template <> struct consume<winrt::Windows::Media::AppRecording::IAppRecordingSaveScreenshotResult>
{
@@ -200,8 +198,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::AppRecording::IAppRecordingSavedScreenshotInfo>
{
@@ -210,10 +208,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::AppRecording::IAppRecordingStatus>
{
@@ -222,15 +220,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::AppRecording::IAppRecordingStatusDetails>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.1.h
index e83b6517124..8244497b06d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.2.h
index 539206381f8..04806ecc4eb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.AppRecording.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.0.h
index bbf1585577b..19b85d70cbd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct IClosable;
template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
struct consume_Windows_Media_Audio_IAudioDeviceInputNode
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) Device() const;
+ [[nodiscard]] auto Device() const;
};
template <> struct consume<winrt::Windows::Media::Audio::IAudioDeviceInputNode>
{
@@ -1293,7 +1283,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_IAudioDeviceOutputNode
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Enumeration::DeviceInformation) Device() const;
+ [[nodiscard]] auto Device() const;
};
template <> struct consume<winrt::Windows::Media::Audio::IAudioDeviceOutputNode>
{
@@ -1302,22 +1292,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::TimeSpan>) StartTime() const;
- WINRT_IMPL_AUTO(void) StartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) EndTime() const;
- WINRT_IMPL_AUTO(void) EndTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) LoopCount() const;
- WINRT_IMPL_AUTO(void) LoopCount(winrt::Windows::Foundation::IReference<int32_t> 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<winrt::Windows::Media::Audio::AudioFileInputNode, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ [[nodiscard]] auto EndTime() const;
+ auto EndTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ [[nodiscard]] auto LoopCount() const;
+ auto LoopCount(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto Duration() const;
+ [[nodiscard]] auto SourceFile() const;
+ auto FileCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFileInputNode, winrt::Windows::Foundation::IInspectable> const& handler) const;
using FileCompleted_revoker = impl::event_revoker<winrt::Windows::Media::Audio::IAudioFileInputNode, &impl::abi_t<winrt::Windows::Media::Audio::IAudioFileInputNode>::remove_FileCompleted>;
- [[nodiscard]] FileCompleted_revoker FileCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFileInputNode, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Audio::AudioFileInputNode, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto FileCompleted(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Audio::IAudioFileInputNode>
{
@@ -1326,9 +1316,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Transcoding::TranscodeFailureReason>) FinalizeAsync() const;
+ [[nodiscard]] auto File() const;
+ [[nodiscard]] auto FileEncodingProfile() const;
+ auto FinalizeAsync() const;
};
template <> struct consume<winrt::Windows::Media::Audio::IAudioFileOutputNode>
{
@@ -1337,7 +1327,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_IAudioFrameCompletedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) Frame() const;
+ [[nodiscard]] auto Frame() const;
};
template <> struct consume<winrt::Windows::Media::Audio::IAudioFrameCompletedEventArgs>
{
@@ -1346,19 +1336,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::AudioFrameInputNode, winrt::Windows::Media::Audio::AudioFrameCompletedEventArgs> 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<winrt::Windows::Media::Audio::AudioFrameInputNode, winrt::Windows::Media::Audio::AudioFrameCompletedEventArgs> const& handler) const;
using AudioFrameCompleted_revoker = impl::event_revoker<winrt::Windows::Media::Audio::IAudioFrameInputNode, &impl::abi_t<winrt::Windows::Media::Audio::IAudioFrameInputNode>::remove_AudioFrameCompleted>;
- [[nodiscard]] AudioFrameCompleted_revoker AudioFrameCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFrameInputNode, winrt::Windows::Media::Audio::AudioFrameCompletedEventArgs> 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<winrt::Windows::Media::Audio::AudioFrameInputNode, winrt::Windows::Media::Audio::FrameInputNodeQuantumStartedEventArgs> const& handler) const;
+ [[nodiscard]] auto AudioFrameCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFrameInputNode, winrt::Windows::Media::Audio::AudioFrameCompletedEventArgs> const& handler) const;
+ auto AudioFrameCompleted(winrt::event_token const& token) const noexcept;
+ auto QuantumStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFrameInputNode, winrt::Windows::Media::Audio::FrameInputNodeQuantumStartedEventArgs> const& handler) const;
using QuantumStarted_revoker = impl::event_revoker<winrt::Windows::Media::Audio::IAudioFrameInputNode, &impl::abi_t<winrt::Windows::Media::Audio::IAudioFrameInputNode>::remove_QuantumStarted>;
- [[nodiscard]] QuantumStarted_revoker QuantumStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioFrameInputNode, winrt::Windows::Media::Audio::FrameInputNodeQuantumStartedEventArgs> 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<winrt::Windows::Media::Audio::AudioFrameInputNode, winrt::Windows::Media::Audio::FrameInputNodeQuantumStartedEventArgs> const& handler) const;
+ auto QuantumStarted(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Audio::IAudioFrameInputNode>
{
@@ -1367,7 +1357,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_IAudioFrameOutputNode
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::AudioFrame) GetFrame() const;
+ auto GetFrame() const;
};
template <> struct consume<winrt::Windows::Media::Audio::IAudioFrameOutputNode>
{
@@ -1376,40 +1366,40 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::CreateAudioDeviceInputNodeResult>) CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioDeviceInputNodeResult>) CreateDeviceInputNodeAsync(winrt::Windows::Media::Capture::MediaCategory const& category, winrt::Windows::Media::MediaProperties::AudioEncodingProperties const& encodingProperties) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioDeviceInputNodeResult>) 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<winrt::Windows::Media::Audio::CreateAudioDeviceOutputNodeResult>) CreateDeviceOutputNodeAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioFileInputNodeResult>) CreateFileInputNodeAsync(winrt::Windows::Storage::IStorageFile const& file) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioFileOutputNodeResult>) CreateFileOutputNodeAsync(winrt::Windows::Storage::IStorageFile const& file) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioFileOutputNodeResult>) 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<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Foundation::IInspectable> const& handler) const;
using QuantumStarted_revoker = impl::event_revoker<winrt::Windows::Media::Audio::IAudioGraph, &impl::abi_t<winrt::Windows::Media::Audio::IAudioGraph>::remove_QuantumStarted>;
- [[nodiscard]] QuantumStarted_revoker QuantumStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto QuantumStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto QuantumStarted(winrt::event_token const& token) const noexcept;
+ auto QuantumProcessed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Foundation::IInspectable> const& handler) const;
using QuantumProcessed_revoker = impl::event_revoker<winrt::Windows::Media::Audio::IAudioGraph, &impl::abi_t<winrt::Windows::Media::Audio::IAudioGraph>::remove_QuantumProcessed>;
- [[nodiscard]] QuantumProcessed_revoker QuantumProcessed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Media::Audio::AudioGraphUnrecoverableErrorOccurredEventArgs> const& handler) const;
+ [[nodiscard]] auto QuantumProcessed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto QuantumProcessed(winrt::event_token const& token) const noexcept;
+ auto UnrecoverableErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Media::Audio::AudioGraphUnrecoverableErrorOccurredEventArgs> const& handler) const;
using UnrecoverableErrorOccurred_revoker = impl::event_revoker<winrt::Windows::Media::Audio::IAudioGraph, &impl::abi_t<winrt::Windows::Media::Audio::IAudioGraph>::remove_UnrecoverableErrorOccurred>;
- [[nodiscard]] UnrecoverableErrorOccurred_revoker UnrecoverableErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Media::Audio::AudioGraphUnrecoverableErrorOccurredEventArgs> 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<winrt::Windows::Media::Audio::AudioGraph, winrt::Windows::Media::Audio::AudioGraphUnrecoverableErrorOccurredEventArgs> 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<winrt::Windows::Media::Audio::IAudioGraph>
{
@@ -1418,11 +1408,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::CreateAudioDeviceInputNodeResult>) 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<winrt::Windows::Media::Audio::CreateAudioFileInputNodeResult>) 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<winrt::Windows::Media::Audio::IAudioGraph2>
{
@@ -1431,8 +1421,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_IAudioGraph3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateMediaSourceAudioInputNodeResult>) CreateMediaSourceAudioInputNodeAsync(winrt::Windows::Media::Core::MediaSource const& mediaSource) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateMediaSourceAudioInputNodeResult>) 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<winrt::Windows::Media::Audio::IAudioGraph3>
{
@@ -1441,9 +1431,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioGraphConnection>
{
@@ -1452,18 +1442,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioGraphSettings>
{
@@ -1472,8 +1462,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioGraphSettings2>
{
@@ -1482,7 +1472,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioGraphSettingsFactory>
{
@@ -1491,7 +1481,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_IAudioGraphStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Audio::CreateAudioGraphResult>) CreateAsync(winrt::Windows::Media::Audio::AudioGraphSettings const& settings) const;
+ auto CreateAsync(winrt::Windows::Media::Audio::AudioGraphSettings const& settings) const;
};
template <> struct consume<winrt::Windows::Media::Audio::IAudioGraphStatics>
{
@@ -1500,7 +1490,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_IAudioGraphUnrecoverableErrorOccurredEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioGraphUnrecoverableError) Error() const;
+ [[nodiscard]] auto Error() const;
};
template <> struct consume<winrt::Windows::Media::Audio::IAudioGraphUnrecoverableErrorOccurredEventArgs>
{
@@ -1509,10 +1499,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_IAudioInputNode
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Audio::AudioGraphConnection>) 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<winrt::Windows::Media::Audio::IAudioInputNode>
{
@@ -1521,7 +1511,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_IAudioInputNode2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioNodeEmitter) Emitter() const;
+ [[nodiscard]] auto Emitter() const;
};
template <> struct consume<winrt::Windows::Media::Audio::IAudioInputNode2>
{
@@ -1530,17 +1520,17 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_IAudioNode
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Effects::IAudioEffectDefinition>) 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<winrt::Windows::Media::Audio::IAudioNode>
{
@@ -1549,21 +1539,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioNodeEmitter>
{
@@ -1572,8 +1562,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioNodeEmitter2>
{
@@ -1582,9 +1572,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioNodeEmitterConeProperties>
{
@@ -1593,10 +1583,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioNodeEmitterDecayModel>
{
@@ -1605,8 +1595,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioNodeEmitterDecayModelStatics>
{
@@ -1615,7 +1605,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioNodeEmitterFactory>
{
@@ -1624,8 +1614,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioNodeEmitterNaturalDecayModelProperties>
{
@@ -1634,8 +1624,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioNodeEmitterShape>
{
@@ -1644,8 +1634,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioNodeEmitterShapeStatics>
{
@@ -1654,14 +1644,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioNodeListener>
{
@@ -1670,8 +1660,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioNodeWithListener>
{
@@ -1680,16 +1670,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::AudioPlaybackConnectionOpenResult>) OpenAsync() const;
- WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioPlaybackConnection, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Audio::AudioPlaybackConnection, winrt::Windows::Foundation::IInspectable> const& handler) const;
using StateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Audio::IAudioPlaybackConnection, &impl::abi_t<winrt::Windows::Media::Audio::IAudioPlaybackConnection>::remove_StateChanged>;
- [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioPlaybackConnection, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Audio::AudioPlaybackConnection, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto StateChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Audio::IAudioPlaybackConnection>
{
@@ -1698,8 +1688,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioPlaybackConnectionOpenResult>
{
@@ -1708,8 +1698,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioPlaybackConnectionStatics>
{
@@ -1718,11 +1708,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_IAudioStateMonitor
{
- WINRT_IMPL_AUTO(winrt::event_token) SoundLevelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioStateMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SoundLevelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioStateMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const;
using SoundLevelChanged_revoker = impl::event_revoker<winrt::Windows::Media::Audio::IAudioStateMonitor, &impl::abi_t<winrt::Windows::Media::Audio::IAudioStateMonitor>::remove_SoundLevelChanged>;
- [[nodiscard]] SoundLevelChanged_revoker SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::AudioStateMonitor, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Audio::AudioStateMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SoundLevelChanged(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto SoundLevel() const;
};
template <> struct consume<winrt::Windows::Media::Audio::IAudioStateMonitor>
{
@@ -1731,14 +1721,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IAudioStateMonitorStatics>
{
@@ -1747,8 +1737,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::ICreateAudioDeviceInputNodeResult>
{
@@ -1757,7 +1747,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_ICreateAudioDeviceInputNodeResult2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::Media::Audio::ICreateAudioDeviceInputNodeResult2>
{
@@ -1766,8 +1756,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::ICreateAudioDeviceOutputNodeResult>
{
@@ -1776,7 +1766,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_ICreateAudioDeviceOutputNodeResult2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::Media::Audio::ICreateAudioDeviceOutputNodeResult2>
{
@@ -1785,8 +1775,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::ICreateAudioFileInputNodeResult>
{
@@ -1795,7 +1785,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_ICreateAudioFileInputNodeResult2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::Media::Audio::ICreateAudioFileInputNodeResult2>
{
@@ -1804,8 +1794,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::ICreateAudioFileOutputNodeResult>
{
@@ -1814,7 +1804,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_ICreateAudioFileOutputNodeResult2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::Media::Audio::ICreateAudioFileOutputNodeResult2>
{
@@ -1823,8 +1813,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::ICreateAudioGraphResult>
{
@@ -1833,7 +1823,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_ICreateAudioGraphResult2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::Media::Audio::ICreateAudioGraphResult2>
{
@@ -1842,8 +1832,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::ICreateMediaSourceAudioInputNodeResult>
{
@@ -1852,7 +1842,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_ICreateMediaSourceAudioInputNodeResult2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::Media::Audio::ICreateMediaSourceAudioInputNodeResult2>
{
@@ -1861,12 +1851,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IEchoEffectDefinition>
{
@@ -1875,7 +1865,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IEchoEffectDefinitionFactory>
{
@@ -1884,12 +1874,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IEqualizerBand>
{
@@ -1898,7 +1888,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_IEqualizerEffectDefinition
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Audio::EqualizerBand>) Bands() const;
+ [[nodiscard]] auto Bands() const;
};
template <> struct consume<winrt::Windows::Media::Audio::IEqualizerEffectDefinition>
{
@@ -1907,7 +1897,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IEqualizerEffectDefinitionFactory>
{
@@ -1916,7 +1906,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_IFrameInputNodeQuantumStartedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RequiredSamples() const;
+ [[nodiscard]] auto RequiredSamples() const;
};
template <> struct consume<winrt::Windows::Media::Audio::IFrameInputNodeQuantumStartedEventArgs>
{
@@ -1925,10 +1915,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::ILimiterEffectDefinition>
{
@@ -1937,7 +1927,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::ILimiterEffectDefinitionFactory>
{
@@ -1946,22 +1936,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::TimeSpan>) StartTime() const;
- WINRT_IMPL_AUTO(void) StartTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) EndTime() const;
- WINRT_IMPL_AUTO(void) EndTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) LoopCount() const;
- WINRT_IMPL_AUTO(void) LoopCount(winrt::Windows::Foundation::IReference<int32_t> 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<winrt::Windows::Media::Audio::MediaSourceAudioInputNode, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ [[nodiscard]] auto EndTime() const;
+ auto EndTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ [[nodiscard]] auto LoopCount() const;
+ auto LoopCount(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto Duration() const;
+ [[nodiscard]] auto MediaSource() const;
+ auto MediaSourceCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::MediaSourceAudioInputNode, winrt::Windows::Foundation::IInspectable> const& handler) const;
using MediaSourceCompleted_revoker = impl::event_revoker<winrt::Windows::Media::Audio::IMediaSourceAudioInputNode, &impl::abi_t<winrt::Windows::Media::Audio::IMediaSourceAudioInputNode>::remove_MediaSourceCompleted>;
- [[nodiscard]] MediaSourceCompleted_revoker MediaSourceCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::MediaSourceAudioInputNode, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Audio::MediaSourceAudioInputNode, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto MediaSourceCompleted(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Audio::IMediaSourceAudioInputNode>
{
@@ -1970,52 +1960,52 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IReverbEffectDefinition>
{
@@ -2024,7 +2014,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::IReverbEffectDefinitionFactory>
{
@@ -2033,7 +2023,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_ISetDefaultSpatialAudioFormatResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::SetDefaultSpatialAudioFormatStatus) Status() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::Media::Audio::ISetDefaultSpatialAudioFormatResult>
{
@@ -2042,16 +2032,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::SetDefaultSpatialAudioFormatResult>) SetDefaultSpatialAudioFormatAsync(param::hstring const& subtype) const;
- WINRT_IMPL_AUTO(winrt::event_token) ConfigurationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::SpatialAudioDeviceConfiguration, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Audio::SpatialAudioDeviceConfiguration, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ConfigurationChanged_revoker = impl::event_revoker<winrt::Windows::Media::Audio::ISpatialAudioDeviceConfiguration, &impl::abi_t<winrt::Windows::Media::Audio::ISpatialAudioDeviceConfiguration>::remove_ConfigurationChanged>;
- [[nodiscard]] ConfigurationChanged_revoker ConfigurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Audio::SpatialAudioDeviceConfiguration, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Audio::SpatialAudioDeviceConfiguration, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ConfigurationChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Audio::ISpatialAudioDeviceConfiguration>
{
@@ -2060,7 +2050,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::ISpatialAudioDeviceConfigurationStatics>
{
@@ -2069,10 +2059,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::ISpatialAudioFormatConfiguration>
{
@@ -2081,7 +2071,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_ISpatialAudioFormatConfigurationStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::SpatialAudioFormatConfiguration) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Media::Audio::ISpatialAudioFormatConfigurationStatics>
{
@@ -2090,12 +2080,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics>
{
@@ -2104,7 +2094,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Audio_ISpatialAudioFormatSubtypeStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DTSXForHomeTheater() const;
+ [[nodiscard]] auto DTSXForHomeTheater() const;
};
template <> struct consume<winrt::Windows::Media::Audio::ISpatialAudioFormatSubtypeStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.1.h
index 384d6c98714..79bc5d2fd99 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.2.h
index 312d86b297b..d49ce8e9d7a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Audio.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.0.h
index edd3d90789d..43e63345ab8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
- struct Rect;
struct Size;
template <typename TSender, typename TResult> 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 <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
struct IPropertySet;
- template <typename T> 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 <typename D>
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<winrt::Windows::Media::Capture::IAdvancedCapturedPhoto>
{
@@ -2567,7 +2554,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IAdvancedCapturedPhoto2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect>) FrameBoundsRelativeToReferencePhoto() const;
+ [[nodiscard]] auto FrameBoundsRelativeToReferencePhoto() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IAdvancedCapturedPhoto2>
{
@@ -2576,17 +2563,17 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IAdvancedPhotoCapture
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::AdvancedCapturedPhoto>) CaptureAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::AdvancedCapturedPhoto>) CaptureAsync(winrt::Windows::Foundation::IInspectable const& context) const;
- WINRT_IMPL_AUTO(winrt::event_token) OptionalReferencePhotoCaptured(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AdvancedPhotoCapture, winrt::Windows::Media::Capture::OptionalReferencePhotoCapturedEventArgs> const& handler) const;
+ auto CaptureAsync() const;
+ auto CaptureAsync(winrt::Windows::Foundation::IInspectable const& context) const;
+ auto OptionalReferencePhotoCaptured(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AdvancedPhotoCapture, winrt::Windows::Media::Capture::OptionalReferencePhotoCapturedEventArgs> const& handler) const;
using OptionalReferencePhotoCaptured_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAdvancedPhotoCapture, &impl::abi_t<winrt::Windows::Media::Capture::IAdvancedPhotoCapture>::remove_OptionalReferencePhotoCaptured>;
- [[nodiscard]] OptionalReferencePhotoCaptured_revoker OptionalReferencePhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AdvancedPhotoCapture, winrt::Windows::Media::Capture::OptionalReferencePhotoCapturedEventArgs> 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<winrt::Windows::Media::Capture::AdvancedPhotoCapture, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto OptionalReferencePhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AdvancedPhotoCapture, winrt::Windows::Media::Capture::OptionalReferencePhotoCapturedEventArgs> const& handler) const;
+ auto OptionalReferencePhotoCaptured(winrt::event_token const& token) const noexcept;
+ auto AllPhotosCaptured(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AdvancedPhotoCapture, winrt::Windows::Foundation::IInspectable> const& handler) const;
using AllPhotosCaptured_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAdvancedPhotoCapture, &impl::abi_t<winrt::Windows::Media::Capture::IAdvancedPhotoCapture>::remove_AllPhotosCaptured>;
- [[nodiscard]] AllPhotosCaptured_revoker AllPhotosCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AdvancedPhotoCapture, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AdvancedPhotoCapture, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AllPhotosCaptured(winrt::event_token const& token) const noexcept;
+ auto FinishAsync() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IAdvancedPhotoCapture>
{
@@ -2595,22 +2582,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Media::Capture::AppBroadcastHeartbeatRequestedEventArgs> 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<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Media::Capture::AppBroadcastHeartbeatRequestedEventArgs> const& handler) const;
using HeartbeatRequested_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastBackgroundService, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastBackgroundService>::remove_HeartbeatRequested>;
- [[nodiscard]] HeartbeatRequested_revoker HeartbeatRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Media::Capture::AppBroadcastHeartbeatRequestedEventArgs> 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<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Media::Capture::AppBroadcastHeartbeatRequestedEventArgs> const& handler) const;
+ auto HeartbeatRequested(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto TitleId() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppBroadcastBackgroundService>
{
@@ -2619,23 +2606,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> const& handler) const;
using BroadcastTitleChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2>::remove_BroadcastTitleChanged>;
- [[nodiscard]] BroadcastTitleChanged_revoker BroadcastTitleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto BroadcastTitleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto BroadcastTitleChanged(winrt::event_token const& token) const noexcept;
+ auto BroadcastLanguageChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> const& handler) const;
using BroadcastLanguageChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2>::remove_BroadcastLanguageChanged>;
- [[nodiscard]] BroadcastLanguageChanged_revoker BroadcastLanguageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto BroadcastLanguageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto BroadcastLanguageChanged(winrt::event_token const& token) const noexcept;
+ auto BroadcastChannelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> const& handler) const;
using BroadcastChannelChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2>::remove_BroadcastChannelChanged>;
- [[nodiscard]] BroadcastChannelChanged_revoker BroadcastChannelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AppBroadcastBackgroundService, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto BroadcastChannelChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppBroadcastBackgroundService2>
{
@@ -2644,18 +2631,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo, winrt::Windows::Media::Capture::AppBroadcastSignInStateChangedEventArgs> 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<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo, winrt::Windows::Media::Capture::AppBroadcastSignInStateChangedEventArgs> const& handler) const;
using SignInStateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo>::remove_SignInStateChanged>;
- [[nodiscard]] SignInStateChanged_revoker SignInStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo, winrt::Windows::Media::Capture::AppBroadcastSignInStateChangedEventArgs> 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<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo, winrt::Windows::Media::Capture::AppBroadcastSignInStateChangedEventArgs> const& handler) const;
+ auto SignInStateChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo>
{
@@ -2664,10 +2651,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceSignInInfo2
{
- WINRT_IMPL_AUTO(winrt::event_token) UserNameChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto UserNameChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
using UserNameChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo2, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo2>::remove_UserNameChanged>;
- [[nodiscard]] UserNameChanged_revoker UserNameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceSignInInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto UserNameChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceSignInInfo2>
{
@@ -2676,26 +2663,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Media::Capture::AppBroadcastStreamStateChangedEventArgs> 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<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Media::Capture::AppBroadcastStreamStateChangedEventArgs> const& handler) const;
using StreamStateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo>::remove_StreamStateChanged>;
- [[nodiscard]] StreamStateChanged_revoker StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Media::Capture::AppBroadcastStreamStateChangedEventArgs> 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<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Media::Capture::AppBroadcastStreamStateChangedEventArgs> const& handler) const;
+ auto StreamStateChanged(winrt::event_token const& token) const noexcept;
+ auto VideoEncodingResolutionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
using VideoEncodingResolutionChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo>::remove_VideoEncodingResolutionChanged>;
- [[nodiscard]] VideoEncodingResolutionChanged_revoker VideoEncodingResolutionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto VideoEncodingResolutionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto VideoEncodingResolutionChanged(winrt::event_token const& token) const noexcept;
+ auto VideoEncodingBitrateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
using VideoEncodingBitrateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo>::remove_VideoEncodingBitrateChanged>;
- [[nodiscard]] VideoEncodingBitrateChanged_revoker VideoEncodingBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AppBroadcastBackgroundServiceStreamInfo, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto VideoEncodingBitrateChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo>
{
@@ -2704,7 +2691,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IAppBroadcastBackgroundServiceStreamInfo2
{
- WINRT_IMPL_AUTO(void) ReportProblemWithStream() const;
+ auto ReportProblemWithStream() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppBroadcastBackgroundServiceStreamInfo2>
{
@@ -2713,8 +2700,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppBroadcastCameraCaptureStateChangedEventArgs>
{
@@ -2723,30 +2710,30 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppBroadcastGlobalSettings>
{
@@ -2755,8 +2742,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppBroadcastHeartbeatRequestedEventArgs>
{
@@ -2765,10 +2752,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppBroadcastManagerStatics>
{
@@ -2777,8 +2764,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppBroadcastMicrophoneCaptureStateChangedEventArgs>
{
@@ -2787,10 +2774,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppBroadcastPlugIn>
{
@@ -2799,10 +2786,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IAppBroadcastPlugInManager
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsBroadcastProviderAvailable() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::AppBroadcastPlugIn>) 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<winrt::Windows::Media::Capture::IAppBroadcastPlugInManager>
{
@@ -2811,8 +2798,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppBroadcastPlugInManagerStatics>
{
@@ -2821,7 +2808,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IAppBroadcastPlugInStateChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastPlugInState) PlugInState() const;
+ [[nodiscard]] auto PlugInState() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppBroadcastPlugInStateChangedEventArgs>
{
@@ -2830,14 +2817,14 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) ErrorCode() const;
- WINRT_IMPL_AUTO(winrt::event_token) PreviewStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastPreview, winrt::Windows::Media::Capture::AppBroadcastPreviewStateChangedEventArgs> const& value) const;
+ auto StopPreview() const;
+ [[nodiscard]] auto PreviewState() const;
+ [[nodiscard]] auto ErrorCode() const;
+ auto PreviewStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastPreview, winrt::Windows::Media::Capture::AppBroadcastPreviewStateChangedEventArgs> const& value) const;
using PreviewStateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastPreview, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastPreview>::remove_PreviewStateChanged>;
- [[nodiscard]] PreviewStateChanged_revoker PreviewStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastPreview, winrt::Windows::Media::Capture::AppBroadcastPreviewStateChangedEventArgs> 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<winrt::Windows::Media::Capture::AppBroadcastPreview, winrt::Windows::Media::Capture::AppBroadcastPreviewStateChangedEventArgs> const& value) const;
+ auto PreviewStateChanged(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto PreviewStreamReader() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppBroadcastPreview>
{
@@ -2846,8 +2833,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppBroadcastPreviewStateChangedEventArgs>
{
@@ -2856,16 +2843,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::AppBroadcastPreviewStreamReader, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AppBroadcastPreviewStreamReader, winrt::Windows::Foundation::IInspectable> const& value) const;
using VideoFrameArrived_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader>::remove_VideoFrameArrived>;
- [[nodiscard]] VideoFrameArrived_revoker VideoFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastPreviewStreamReader, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AppBroadcastPreviewStreamReader, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto VideoFrameArrived(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamReader>
{
@@ -2874,8 +2861,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoFrame>
{
@@ -2884,10 +2871,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppBroadcastPreviewStreamVideoHeader>
{
@@ -2896,20 +2883,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppBroadcastProviderSettings>
{
@@ -2918,21 +2905,21 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) 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<winrt::Windows::Media::Capture::IAppBroadcastServices>
{
@@ -2941,8 +2928,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppBroadcastSignInStateChangedEventArgs>
{
@@ -2951,53 +2938,53 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastViewerCountChangedEventArgs> 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<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastViewerCountChangedEventArgs> const& value) const;
using ViewerCountChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastState, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastState>::remove_ViewerCountChanged>;
- [[nodiscard]] ViewerCountChanged_revoker ViewerCountChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastViewerCountChangedEventArgs> 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<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureStateChangedEventArgs> const& value) const;
+ [[nodiscard]] auto ViewerCountChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastViewerCountChangedEventArgs> const& value) const;
+ auto ViewerCountChanged(winrt::event_token const& token) const noexcept;
+ auto MicrophoneCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureStateChangedEventArgs> const& value) const;
using MicrophoneCaptureStateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastState, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastState>::remove_MicrophoneCaptureStateChanged>;
- [[nodiscard]] MicrophoneCaptureStateChanged_revoker MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureStateChangedEventArgs> 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<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastCameraCaptureStateChangedEventArgs> const& value) const;
+ [[nodiscard]] auto MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastMicrophoneCaptureStateChangedEventArgs> const& value) const;
+ auto MicrophoneCaptureStateChanged(winrt::event_token const& token) const noexcept;
+ auto CameraCaptureStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastCameraCaptureStateChangedEventArgs> const& value) const;
using CameraCaptureStateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastState, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastState>::remove_CameraCaptureStateChanged>;
- [[nodiscard]] CameraCaptureStateChanged_revoker CameraCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastCameraCaptureStateChangedEventArgs> 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<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastPlugInStateChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto CameraCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastCameraCaptureStateChangedEventArgs> const& value) const;
+ auto CameraCaptureStateChanged(winrt::event_token const& token) const noexcept;
+ auto PlugInStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastPlugInStateChangedEventArgs> const& handler) const;
using PlugInStateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastState, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastState>::remove_PlugInStateChanged>;
- [[nodiscard]] PlugInStateChanged_revoker PlugInStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastPlugInStateChangedEventArgs> 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<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastStreamStateChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto PlugInStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastPlugInStateChangedEventArgs> const& handler) const;
+ auto PlugInStateChanged(winrt::event_token const& token) const noexcept;
+ auto StreamStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastStreamStateChangedEventArgs> const& handler) const;
using StreamStateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastState, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastState>::remove_StreamStateChanged>;
- [[nodiscard]] StreamStateChanged_revoker StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastStreamStateChangedEventArgs> 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<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto StreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Media::Capture::AppBroadcastStreamStateChangedEventArgs> const& handler) const;
+ auto StreamStateChanged(winrt::event_token const& token) const noexcept;
+ auto CaptureTargetClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Foundation::IInspectable> const& value) const;
using CaptureTargetClosed_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastState, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastState>::remove_CaptureTargetClosed>;
- [[nodiscard]] CaptureTargetClosed_revoker CaptureTargetClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AppBroadcastState, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto CaptureTargetClosed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppBroadcastState>
{
@@ -3006,8 +2993,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppBroadcastStreamAudioFrame>
{
@@ -3016,11 +3003,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppBroadcastStreamAudioHeader>
{
@@ -3029,23 +3016,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::AppBroadcastStreamReader, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AppBroadcastStreamReader, winrt::Windows::Foundation::IInspectable> const& value) const;
using AudioFrameArrived_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastStreamReader, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastStreamReader>::remove_AudioFrameArrived>;
- [[nodiscard]] AudioFrameArrived_revoker AudioFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastStreamReader, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AppBroadcastStreamReader, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto AudioFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastStreamReader, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto AudioFrameArrived(winrt::event_token const& token) const noexcept;
+ auto VideoFrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastStreamReader, winrt::Windows::Foundation::IInspectable> const& value) const;
using VideoFrameArrived_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppBroadcastStreamReader, &impl::abi_t<winrt::Windows::Media::Capture::IAppBroadcastStreamReader>::remove_VideoFrameArrived>;
- [[nodiscard]] VideoFrameArrived_revoker VideoFrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppBroadcastStreamReader, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AppBroadcastStreamReader, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto VideoFrameArrived(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppBroadcastStreamReader>
{
@@ -3054,7 +3041,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IAppBroadcastStreamStateChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastStreamState) StreamState() const;
+ [[nodiscard]] auto StreamState() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppBroadcastStreamStateChangedEventArgs>
{
@@ -3063,8 +3050,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppBroadcastStreamVideoFrame>
{
@@ -3073,12 +3060,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppBroadcastStreamVideoHeader>
{
@@ -3087,7 +3074,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IAppBroadcastTriggerDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppBroadcastBackgroundService) BackgroundService() const;
+ [[nodiscard]] auto BackgroundService() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppBroadcastTriggerDetails>
{
@@ -3096,7 +3083,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IAppBroadcastViewerCountChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ViewerCount() const;
+ [[nodiscard]] auto ViewerCount() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppBroadcastViewerCountChangedEventArgs>
{
@@ -3105,12 +3092,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::AppCapture, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto IsCapturingAudio() const;
+ [[nodiscard]] auto IsCapturingVideo() const;
+ auto CapturingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCapture, winrt::Windows::Foundation::IInspectable> const& handler) const;
using CapturingChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppCapture, &impl::abi_t<winrt::Windows::Media::Capture::IAppCapture>::remove_CapturingChanged>;
- [[nodiscard]] CapturingChanged_revoker CapturingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCapture, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AppCapture, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto CapturingChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppCapture>
{
@@ -3119,26 +3106,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys>
{
@@ -3147,10 +3134,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys2>
{
@@ -3159,14 +3146,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppCaptureAlternateShortcutKeys3>
{
@@ -3175,7 +3162,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IAppCaptureDurationGeneratedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const;
+ [[nodiscard]] auto Duration() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppCaptureDurationGeneratedEventArgs>
{
@@ -3184,7 +3171,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IAppCaptureFileGeneratedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) File() const;
+ [[nodiscard]] auto File() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppCaptureFileGeneratedEventArgs>
{
@@ -3193,8 +3180,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppCaptureManagerStatics>
{
@@ -3203,19 +3190,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::AppCaptureMetadataWriter, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AppCaptureMetadataWriter, winrt::Windows::Foundation::IInspectable> const& handler) const;
using MetadataPurged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppCaptureMetadataWriter, &impl::abi_t<winrt::Windows::Media::Capture::IAppCaptureMetadataWriter>::remove_MetadataPurged>;
- [[nodiscard]] MetadataPurged_revoker MetadataPurged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureMetadataWriter, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AppCaptureMetadataWriter, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto MetadataPurged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppCaptureMetadataWriter>
{
@@ -3224,8 +3211,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppCaptureMicrophoneCaptureStateChangedEventArgs>
{
@@ -3234,24 +3221,24 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) ErrorCode() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) Duration() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) File() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) IsFileTruncated() const;
- WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureRecordingStateChangedEventArgs> 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<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureRecordingStateChangedEventArgs> const& value) const;
using StateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppCaptureRecordOperation, &impl::abi_t<winrt::Windows::Media::Capture::IAppCaptureRecordOperation>::remove_StateChanged>;
- [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureRecordingStateChangedEventArgs> 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<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureDurationGeneratedEventArgs> const& value) const;
+ [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureRecordingStateChangedEventArgs> const& value) const;
+ auto StateChanged(winrt::event_token const& token) const noexcept;
+ auto DurationGenerated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureDurationGeneratedEventArgs> const& value) const;
using DurationGenerated_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppCaptureRecordOperation, &impl::abi_t<winrt::Windows::Media::Capture::IAppCaptureRecordOperation>::remove_DurationGenerated>;
- [[nodiscard]] DurationGenerated_revoker DurationGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureDurationGeneratedEventArgs> 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<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureFileGeneratedEventArgs> const& value) const;
+ [[nodiscard]] auto DurationGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureDurationGeneratedEventArgs> const& value) const;
+ auto DurationGenerated(winrt::event_token const& token) const noexcept;
+ auto FileGenerated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureFileGeneratedEventArgs> const& value) const;
using FileGenerated_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppCaptureRecordOperation, &impl::abi_t<winrt::Windows::Media::Capture::IAppCaptureRecordOperation>::remove_FileGenerated>;
- [[nodiscard]] FileGenerated_revoker FileGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureFileGeneratedEventArgs> 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<winrt::Windows::Media::Capture::AppCaptureRecordOperation, winrt::Windows::Media::Capture::AppCaptureFileGeneratedEventArgs> const& value) const;
+ auto FileGenerated(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppCaptureRecordOperation>
{
@@ -3260,8 +3247,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppCaptureRecordingStateChangedEventArgs>
{
@@ -3270,10 +3257,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppCaptureServices>
{
@@ -3282,42 +3269,42 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppCaptureSettings>
{
@@ -3326,8 +3313,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppCaptureSettings2>
{
@@ -3336,8 +3323,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppCaptureSettings3>
{
@@ -3346,14 +3333,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppCaptureSettings4>
{
@@ -3362,10 +3349,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppCaptureSettings5>
{
@@ -3374,21 +3361,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::AppCaptureState, winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureStateChangedEventArgs> 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<winrt::Windows::Media::Capture::AppCaptureState, winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureStateChangedEventArgs> const& value) const;
using MicrophoneCaptureStateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppCaptureState, &impl::abi_t<winrt::Windows::Media::Capture::IAppCaptureState>::remove_MicrophoneCaptureStateChanged>;
- [[nodiscard]] MicrophoneCaptureStateChanged_revoker MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureState, winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureStateChangedEventArgs> 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<winrt::Windows::Media::Capture::AppCaptureState, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto MicrophoneCaptureStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureState, winrt::Windows::Media::Capture::AppCaptureMicrophoneCaptureStateChangedEventArgs> const& value) const;
+ auto MicrophoneCaptureStateChanged(winrt::event_token const& token) const noexcept;
+ auto CaptureTargetClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureState, winrt::Windows::Foundation::IInspectable> const& value) const;
using CaptureTargetClosed_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IAppCaptureState, &impl::abi_t<winrt::Windows::Media::Capture::IAppCaptureState>::remove_CaptureTargetClosed>;
- [[nodiscard]] CaptureTargetClosed_revoker CaptureTargetClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::AppCaptureState, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AppCaptureState, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto CaptureTargetClosed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppCaptureState>
{
@@ -3397,7 +3384,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IAppCaptureStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::AppCapture) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IAppCaptureStatics>
{
@@ -3406,7 +3393,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IAppCaptureStatics2>
{
@@ -3415,9 +3402,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::StorageFile>) 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<winrt::Windows::Media::Capture::ICameraCaptureUI>
{
@@ -3426,16 +3413,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::ICameraCaptureUIPhotoCaptureSettings>
{
@@ -3444,14 +3431,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::ICameraCaptureUIVideoCaptureSettings>
{
@@ -3460,7 +3447,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::ICameraOptionsUIStatics>
{
@@ -3469,8 +3456,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::ICapturedFrame>
{
@@ -3479,8 +3466,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::ICapturedFrame2>
{
@@ -3489,15 +3476,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_ICapturedFrameControlValues
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) Exposure() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) ExposureCompensation() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) IsoSpeed() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) Focus() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Devices::CaptureSceneMode>) SceneMode() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) Flashed() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) FlashPowerPercent() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) WhiteBalance() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) 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<winrt::Windows::Media::Capture::ICapturedFrameControlValues>
{
@@ -3506,11 +3493,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_ICapturedFrameControlValues2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Devices::MediaCaptureFocusState>) FocusState() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) IsoDigitalGain() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) IsoAnalogGain() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::MediaRatio) SensorFrameRate() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Capture::WhiteBalanceGain>) 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<winrt::Windows::Media::Capture::ICapturedFrameControlValues2>
{
@@ -3519,7 +3506,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_ICapturedFrameWithSoftwareBitmap
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) SoftwareBitmap() const;
+ [[nodiscard]] auto SoftwareBitmap() const;
};
template <> struct consume<winrt::Windows::Media::Capture::ICapturedFrameWithSoftwareBitmap>
{
@@ -3528,8 +3515,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::ICapturedPhoto>
{
@@ -3538,17 +3525,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::GameBarServices, winrt::Windows::Media::Capture::GameBarServicesCommandEventArgs> 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<winrt::Windows::Media::Capture::GameBarServices, winrt::Windows::Media::Capture::GameBarServicesCommandEventArgs> const& value) const;
using CommandReceived_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IGameBarServices, &impl::abi_t<winrt::Windows::Media::Capture::IGameBarServices>::remove_CommandReceived>;
- [[nodiscard]] CommandReceived_revoker CommandReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::GameBarServices, winrt::Windows::Media::Capture::GameBarServicesCommandEventArgs> 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<winrt::Windows::Media::Capture::GameBarServices, winrt::Windows::Media::Capture::GameBarServicesCommandEventArgs> const& value) const;
+ auto CommandReceived(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Capture::IGameBarServices>
{
@@ -3557,8 +3544,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IGameBarServicesCommandEventArgs>
{
@@ -3567,10 +3554,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IGameBarServicesManager
{
- WINRT_IMPL_AUTO(winrt::event_token) GameBarServicesCreated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::GameBarServicesManager, winrt::Windows::Media::Capture::GameBarServicesManagerGameBarServicesCreatedEventArgs> const& value) const;
+ auto GameBarServicesCreated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::GameBarServicesManager, winrt::Windows::Media::Capture::GameBarServicesManagerGameBarServicesCreatedEventArgs> const& value) const;
using GameBarServicesCreated_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IGameBarServicesManager, &impl::abi_t<winrt::Windows::Media::Capture::IGameBarServicesManager>::remove_GameBarServicesCreated>;
- [[nodiscard]] GameBarServicesCreated_revoker GameBarServicesCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::GameBarServicesManager, winrt::Windows::Media::Capture::GameBarServicesManagerGameBarServicesCreatedEventArgs> 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<winrt::Windows::Media::Capture::GameBarServicesManager, winrt::Windows::Media::Capture::GameBarServicesManagerGameBarServicesCreatedEventArgs> const& value) const;
+ auto GameBarServicesCreated(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Capture::IGameBarServicesManager>
{
@@ -3579,7 +3566,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IGameBarServicesManagerGameBarServicesCreatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarServices) GameBarServices() const;
+ [[nodiscard]] auto GameBarServices() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IGameBarServicesManagerGameBarServicesCreatedEventArgs>
{
@@ -3588,7 +3575,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IGameBarServicesManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::GameBarServicesManager) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IGameBarServicesManagerStatics>
{
@@ -3597,10 +3584,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IGameBarServicesTargetInfo>
{
@@ -3609,9 +3596,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::ILowLagMediaRecording>
{
@@ -3620,8 +3607,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::ILowLagMediaRecording2>
{
@@ -3630,8 +3617,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_ILowLagMediaRecording3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::MediaCapturePauseResult>) PauseWithResultAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::MediaCaptureStopResult>) StopWithResultAsync() const;
+ auto PauseWithResultAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const;
+ auto StopWithResultAsync() const;
};
template <> struct consume<winrt::Windows::Media::Capture::ILowLagMediaRecording3>
{
@@ -3640,8 +3627,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_ILowLagPhotoCapture
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::CapturedPhoto>) CaptureAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) FinishAsync() const;
+ auto CaptureAsync() const;
+ auto FinishAsync() const;
};
template <> struct consume<winrt::Windows::Media::Capture::ILowLagPhotoCapture>
{
@@ -3650,13 +3637,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::LowLagPhotoSequenceCapture, winrt::Windows::Media::Capture::PhotoCapturedEventArgs> const& handler) const;
+ auto StartAsync() const;
+ auto StopAsync() const;
+ auto FinishAsync() const;
+ auto PhotoCaptured(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::LowLagPhotoSequenceCapture, winrt::Windows::Media::Capture::PhotoCapturedEventArgs> const& handler) const;
using PhotoCaptured_revoker = impl::event_revoker<winrt::Windows::Media::Capture::ILowLagPhotoSequenceCapture, &impl::abi_t<winrt::Windows::Media::Capture::ILowLagPhotoSequenceCapture>::remove_PhotoCaptured>;
- [[nodiscard]] PhotoCaptured_revoker PhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::LowLagPhotoSequenceCapture, winrt::Windows::Media::Capture::PhotoCapturedEventArgs> 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<winrt::Windows::Media::Capture::LowLagPhotoSequenceCapture, winrt::Windows::Media::Capture::PhotoCapturedEventArgs> const& handler) const;
+ auto PhotoCaptured(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Capture::ILowLagPhotoSequenceCapture>
{
@@ -3665,36 +3652,36 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IMediaCapture, &impl::abi_t<winrt::Windows::Media::Capture::IMediaCapture>::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<winrt::Windows::Media::Capture::IMediaCapture, &impl::abi_t<winrt::Windows::Media::Capture::IMediaCapture>::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<winrt::Windows::Media::Capture::IMediaCapture>
{
@@ -3703,13 +3690,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IMediaCapture2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::LowLagMediaRecording>) PrepareLowLagRecordToStorageFileAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::IStorageFile const& file) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::LowLagMediaRecording>) PrepareLowLagRecordToStreamAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::LowLagMediaRecording>) PrepareLowLagRecordToCustomSinkAsync(winrt::Windows::Media::MediaProperties::MediaEncodingProfile const& encodingProfile, winrt::Windows::Media::IMediaExtension const& customMediaSink) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::LowLagMediaRecording>) 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<winrt::Windows::Media::Capture::LowLagPhotoCapture>) PrepareLowLagPhotoCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::LowLagPhotoSequenceCapture>) 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<winrt::Windows::Media::Capture::IMediaCapture2>
{
@@ -3718,15 +3705,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IMediaCapture3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture>) PrepareVariablePhotoSequenceCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const;
- WINRT_IMPL_AUTO(winrt::event_token) FocusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::MediaCaptureFocusChangedEventArgs> const& handler) const;
+ auto PrepareVariablePhotoSequenceCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& type) const;
+ auto FocusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::MediaCaptureFocusChangedEventArgs> const& handler) const;
using FocusChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IMediaCapture3, &impl::abi_t<winrt::Windows::Media::Capture::IMediaCapture3>::remove_FocusChanged>;
- [[nodiscard]] FocusChanged_revoker FocusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::MediaCaptureFocusChangedEventArgs> 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<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::PhotoConfirmationCapturedEventArgs> const& handler) const;
+ [[nodiscard]] auto FocusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::MediaCaptureFocusChangedEventArgs> const& handler) const;
+ auto FocusChanged(winrt::event_token const& token) const noexcept;
+ auto PhotoConfirmationCaptured(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::PhotoConfirmationCapturedEventArgs> const& handler) const;
using PhotoConfirmationCaptured_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IMediaCapture3, &impl::abi_t<winrt::Windows::Media::Capture::IMediaCapture3>::remove_PhotoConfirmationCaptured>;
- [[nodiscard]] PhotoConfirmationCaptured_revoker PhotoConfirmationCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::PhotoConfirmationCapturedEventArgs> 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<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::PhotoConfirmationCapturedEventArgs> const& handler) const;
+ auto PhotoConfirmationCaptured(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Capture::IMediaCapture3>
{
@@ -3735,23 +3722,23 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IMediaCapture4
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::IMediaExtension>) AddAudioEffectAsync(winrt::Windows::Media::Effects::IAudioEffectDefinition const& definition) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::IMediaExtension>) 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<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Foundation::IInspectable> const& handler) const;
using CameraStreamStateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IMediaCapture4, &impl::abi_t<winrt::Windows::Media::Capture::IMediaCapture4>::remove_CameraStreamStateChanged>;
- [[nodiscard]] CameraStreamStateChanged_revoker CameraStreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::VideoFrame>) GetPreviewFrameAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::VideoFrame>) GetPreviewFrameAsync(winrt::Windows::Media::VideoFrame const& destination) const;
- WINRT_IMPL_AUTO(winrt::event_token) ThermalStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto CameraStreamStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ThermalStatusChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IMediaCapture4, &impl::abi_t<winrt::Windows::Media::Capture::IMediaCapture4>::remove_ThermalStatusChanged>;
- [[nodiscard]] ThermalStatusChanged_revoker ThermalStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::AdvancedPhotoCapture>) PrepareAdvancedPhotoCaptureAsync(winrt::Windows::Media::MediaProperties::ImageEncodingProperties const& encodingProperties) const;
+ [[nodiscard]] auto ThermalStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::IMediaCapture4>
{
@@ -3760,13 +3747,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::MediaCapturePauseResult>) PauseRecordWithResultAsync(winrt::Windows::Media::Devices::MediaCapturePauseBehavior const& behavior) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::MediaCaptureStopResult>) StopRecordWithResultAsync() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Media::Capture::Frames::MediaFrameSource>) FrameSources() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameReader>) CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameReader>) CreateFrameReaderAsync(winrt::Windows::Media::Capture::Frames::MediaFrameSource const& inputSource, param::hstring const& outputSubtype) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameReader>) 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<winrt::Windows::Media::Capture::IMediaCapture5>
{
@@ -3775,11 +3762,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IMediaCapture6
{
- WINRT_IMPL_AUTO(winrt::event_token) CaptureDeviceExclusiveControlStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::MediaCaptureDeviceExclusiveControlStatusChangedEventArgs> const& handler) const;
+ auto CaptureDeviceExclusiveControlStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::MediaCaptureDeviceExclusiveControlStatusChangedEventArgs> const& handler) const;
using CaptureDeviceExclusiveControlStatusChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IMediaCapture6, &impl::abi_t<winrt::Windows::Media::Capture::IMediaCapture6>::remove_CaptureDeviceExclusiveControlStatusChanged>;
- [[nodiscard]] CaptureDeviceExclusiveControlStatusChanged_revoker CaptureDeviceExclusiveControlStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::MediaCaptureDeviceExclusiveControlStatusChangedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) CaptureDeviceExclusiveControlStatusChanged(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReader>) CreateMultiSourceFrameReaderAsync(param::async_iterable<winrt::Windows::Media::Capture::Frames::MediaFrameSource> const& inputSources) const;
+ [[nodiscard]] auto CaptureDeviceExclusiveControlStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCapture, winrt::Windows::Media::Capture::MediaCaptureDeviceExclusiveControlStatusChangedEventArgs> const& handler) const;
+ auto CaptureDeviceExclusiveControlStatusChanged(winrt::event_token const& token) const noexcept;
+ auto CreateMultiSourceFrameReaderAsync(param::async_iterable<winrt::Windows::Media::Capture::Frames::MediaFrameSource> const& inputSources) const;
};
template <> struct consume<winrt::Windows::Media::Capture::IMediaCapture6>
{
@@ -3788,7 +3775,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IMediaCapture7>
{
@@ -3797,8 +3784,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IMediaCaptureDeviceExclusiveControlStatusChangedEventArgs>
{
@@ -3807,8 +3794,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IMediaCaptureFailedEventArgs>
{
@@ -3817,7 +3804,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IMediaCaptureFocusChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::MediaCaptureFocusState) FocusState() const;
+ [[nodiscard]] auto FocusState() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IMediaCaptureFocusChangedEventArgs>
{
@@ -3826,14 +3813,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings>
{
@@ -3842,10 +3829,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings2>
{
@@ -3854,10 +3841,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings3>
{
@@ -3866,14 +3853,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings4>
{
@@ -3882,12 +3869,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings5>
{
@@ -3896,8 +3883,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings6>
{
@@ -3906,10 +3893,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IMediaCaptureInitializationSettings7>
{
@@ -3918,8 +3905,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IMediaCapturePauseResult>
{
@@ -3928,13 +3915,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::MediaCaptureRelativePanelWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto RelativePanel() const;
+ auto Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCaptureRelativePanelWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Changed_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IMediaCaptureRelativePanelWatcher, &impl::abi_t<winrt::Windows::Media::Capture::IMediaCaptureRelativePanelWatcher>::remove_Changed>;
- [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::MediaCaptureRelativePanelWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::MediaCaptureRelativePanelWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Changed(winrt::event_token const& token) const noexcept;
+ auto Start() const;
+ auto Stop() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IMediaCaptureRelativePanelWatcher>
{
@@ -3943,11 +3930,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IMediaCaptureSettings>
{
@@ -3956,14 +3943,14 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) Horizontal35mmEquivalentFocalLength() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) PitchOffsetDegrees() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) 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<winrt::Windows::Media::Capture::IMediaCaptureSettings2>
{
@@ -3972,7 +3959,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IMediaCaptureSettings3>
{
@@ -3981,10 +3968,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IMediaCaptureStatics
{
- WINRT_IMPL_AUTO(bool) IsVideoProfileSupported(param::hstring const& videoDeviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfile>) FindAllVideoProfiles(param::hstring const& videoDeviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfile>) FindConcurrentProfiles(param::hstring const& videoDeviceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfile>) 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<winrt::Windows::Media::Capture::IMediaCaptureStatics>
{
@@ -3993,8 +3980,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IMediaCaptureStopResult>
{
@@ -4003,10 +3990,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IMediaCaptureVideoPreview>
{
@@ -4015,12 +4002,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription>) SupportedPreviewMediaDescription() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription>) SupportedRecordMediaDescription() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription>) SupportedPhotoMediaDescription() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfile>) 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<winrt::Windows::Media::Capture::IMediaCaptureVideoProfile>
{
@@ -4029,8 +4016,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IMediaCaptureVideoProfile2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::Frames::MediaFrameSourceInfo>) FrameSourceInfos() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto FrameSourceInfos() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IMediaCaptureVideoProfile2>
{
@@ -4039,11 +4026,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription>
{
@@ -4052,8 +4039,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IMediaCaptureVideoProfileMediaDescription2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Subtype() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto Subtype() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IMediaCaptureVideoProfileMediaDescription2>
{
@@ -4062,8 +4049,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IOptionalReferencePhotoCapturedEventArgs>
{
@@ -4072,9 +4059,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IPhotoCapturedEventArgs>
{
@@ -4083,8 +4070,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IPhotoConfirmationCapturedEventArgs>
{
@@ -4093,14 +4080,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::ScreenCapture, winrt::Windows::Media::Capture::SourceSuspensionChangedEventArgs> 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<winrt::Windows::Media::Capture::ScreenCapture, winrt::Windows::Media::Capture::SourceSuspensionChangedEventArgs> const& handler) const;
using SourceSuspensionChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::IScreenCapture, &impl::abi_t<winrt::Windows::Media::Capture::IScreenCapture>::remove_SourceSuspensionChanged>;
- [[nodiscard]] SourceSuspensionChanged_revoker SourceSuspensionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::ScreenCapture, winrt::Windows::Media::Capture::SourceSuspensionChangedEventArgs> 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<winrt::Windows::Media::Capture::ScreenCapture, winrt::Windows::Media::Capture::SourceSuspensionChangedEventArgs> const& handler) const;
+ auto SourceSuspensionChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Capture::IScreenCapture>
{
@@ -4109,7 +4096,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_IScreenCaptureStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::Capture::ScreenCapture) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::Media::Capture::IScreenCaptureStatics>
{
@@ -4118,8 +4105,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::ISourceSuspensionChangedEventArgs>
{
@@ -4128,8 +4115,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::IVideoStreamConfiguration>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.1.h
index 52f42487807..e47f67a69fc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.2.h
index 4567af8b087..b7b7f322297 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.0.h
index 1446cb8727a..08020fd2ce0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Media::Capture
@@ -73,10 +72,10 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) 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<winrt::Windows::Media::Capture::Core::IVariablePhotoCapturedEventArgs>
{
@@ -85,17 +84,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture, winrt::Windows::Media::Capture::Core::VariablePhotoCapturedEventArgs> const& handler) const;
+ auto StartAsync() const;
+ auto StopAsync() const;
+ auto FinishAsync() const;
+ auto PhotoCaptured(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture, winrt::Windows::Media::Capture::Core::VariablePhotoCapturedEventArgs> const& handler) const;
using PhotoCaptured_revoker = impl::event_revoker<winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture, &impl::abi_t<winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture>::remove_PhotoCaptured>;
- [[nodiscard]] PhotoCaptured_revoker PhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture, winrt::Windows::Media::Capture::Core::VariablePhotoCapturedEventArgs> 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<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto PhotoCaptured(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture, winrt::Windows::Media::Capture::Core::VariablePhotoCapturedEventArgs> const& handler) const;
+ auto PhotoCaptured(winrt::event_token const& token) const noexcept;
+ auto Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Stopped_revoker = impl::event_revoker<winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture, &impl::abi_t<winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture>::remove_Stopped>;
- [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::Core::VariablePhotoSequenceCapture, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Stopped(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture>
{
@@ -104,7 +103,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_Core_IVariablePhotoSequenceCapture2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) UpdateSettingsAsync() const;
+ auto UpdateSettingsAsync() const;
};
template <> struct consume<winrt::Windows::Media::Capture::Core::IVariablePhotoSequenceCapture2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.1.h
index b3c8b8f6111..c3bbd8a5148 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.2.h
index a14ed5ec163..f4eac18bfb7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.0.h
index c53eb498e26..4589d5e429b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> 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 <typename D>
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<winrt::Windows::Media::Capture::Frames::IAudioMediaFrame>
{
@@ -602,8 +595,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Frames::IBufferMediaFrame>
{
@@ -612,10 +605,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Frames::IDepthMediaFrame>
{
@@ -624,8 +617,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Frames::IDepthMediaFrame2>
{
@@ -634,8 +627,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Frames::IDepthMediaFrameFormat>
{
@@ -644,9 +637,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Frames::IInfraredMediaFrame>
{
@@ -663,11 +656,11 @@ namespace winrt::impl
template <typename D>
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<winrt::guid, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::Media::Capture::Frames::IMediaFrameFormat>
{
@@ -676,7 +669,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Frames::IMediaFrameFormat2>
{
@@ -685,13 +678,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_Frames_IMediaFrameReader
{
- WINRT_IMPL_AUTO(winrt::event_token) FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MediaFrameReader, winrt::Windows::Media::Capture::Frames::MediaFrameArrivedEventArgs> const& handler) const;
+ auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MediaFrameReader, winrt::Windows::Media::Capture::Frames::MediaFrameArrivedEventArgs> const& handler) const;
using FrameArrived_revoker = impl::event_revoker<winrt::Windows::Media::Capture::Frames::IMediaFrameReader, &impl::abi_t<winrt::Windows::Media::Capture::Frames::IMediaFrameReader>::remove_FrameArrived>;
- [[nodiscard]] FrameArrived_revoker FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MediaFrameReader, winrt::Windows::Media::Capture::Frames::MediaFrameArrivedEventArgs> 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<winrt::Windows::Media::Capture::Frames::MediaFrameReaderStartStatus>) StartAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StopAsync() const;
+ [[nodiscard]] auto FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MediaFrameReader, winrt::Windows::Media::Capture::Frames::MediaFrameArrivedEventArgs> const& handler) const;
+ auto FrameArrived(winrt::event_token const& token) const noexcept;
+ auto TryAcquireLatestFrame() const;
+ auto StartAsync() const;
+ auto StopAsync() const;
};
template <> struct consume<winrt::Windows::Media::Capture::Frames::IMediaFrameReader>
{
@@ -700,8 +693,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Frames::IMediaFrameReader2>
{
@@ -710,14 +703,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::TimeSpan>) SystemRelativeTime() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Duration() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::Media::Capture::Frames::IMediaFrameReference>
{
@@ -726,7 +719,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Frames::IMediaFrameReference2>
{
@@ -735,16 +728,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Frames::MediaFrameFormat>) 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<winrt::Windows::Media::Capture::Frames::MediaFrameSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::Frames::MediaFrameSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using FormatChanged_revoker = impl::event_revoker<winrt::Windows::Media::Capture::Frames::IMediaFrameSource, &impl::abi_t<winrt::Windows::Media::Capture::Frames::IMediaFrameSource>::remove_FormatChanged>;
- [[nodiscard]] FormatChanged_revoker FormatChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MediaFrameSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::Frames::MediaFrameSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Capture::Frames::IMediaFrameSource>
{
@@ -753,9 +746,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceController
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameSourceGetPropertyResult>) GetPropertyAsync(param::hstring const& propertyId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameSourceSetPropertyStatus>) 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<winrt::Windows::Media::Capture::Frames::IMediaFrameSourceController>
{
@@ -764,8 +757,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceController2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameSourceGetPropertyResult>) GetPropertyByExtendedIdAsync(array_view<uint8_t const> extendedPropertyId, winrt::Windows::Foundation::IReference<uint32_t> const& maxPropertyValueSize) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameSourceSetPropertyStatus>) SetPropertyByExtendedIdAsync(array_view<uint8_t const> extendedPropertyId, array_view<uint8_t const> propertyValue) const;
+ auto GetPropertyByExtendedIdAsync(array_view<uint8_t const> extendedPropertyId, winrt::Windows::Foundation::IReference<uint32_t> const& maxPropertyValueSize) const;
+ auto SetPropertyByExtendedIdAsync(array_view<uint8_t const> extendedPropertyId, array_view<uint8_t const> propertyValue) const;
};
template <> struct consume<winrt::Windows::Media::Capture::Frames::IMediaFrameSourceController2>
{
@@ -774,7 +767,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Frames::IMediaFrameSourceController3>
{
@@ -783,8 +776,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGetPropertyResult>
{
@@ -793,9 +786,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Frames::MediaFrameSourceInfo>) SourceInfos() const;
+ [[nodiscard]] auto Id() const;
+ [[nodiscard]] auto DisplayName() const;
+ [[nodiscard]] auto SourceInfos() const;
};
template <> struct consume<winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGroup>
{
@@ -804,9 +797,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceGroupStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup>>) FindAllAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Capture::Frames::MediaFrameSourceGroup>) 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<winrt::Windows::Media::Capture::Frames::IMediaFrameSourceGroupStatics>
{
@@ -815,13 +808,13 @@ namespace winrt::impl
template <typename D>
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<winrt::guid, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo>
{
@@ -830,8 +823,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_Frames_IMediaFrameSourceInfo2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProfileId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Capture::MediaCaptureVideoProfileMediaDescription>) VideoProfileMediaDescription() const;
+ [[nodiscard]] auto ProfileId() const;
+ [[nodiscard]] auto VideoProfileMediaDescription() const;
};
template <> struct consume<winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo2>
{
@@ -840,7 +833,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Frames::IMediaFrameSourceInfo3>
{
@@ -857,13 +850,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Capture_Frames_IMultiSourceMediaFrameReader
{
- WINRT_IMPL_AUTO(winrt::event_token) FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReader, winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameArrivedEventArgs> const& handler) const;
+ auto FrameArrived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReader, winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameArrivedEventArgs> const& handler) const;
using FrameArrived_revoker = impl::event_revoker<winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReader, &impl::abi_t<winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReader>::remove_FrameArrived>;
- [[nodiscard]] FrameArrived_revoker FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReader, winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameArrivedEventArgs> 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<winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReaderStartStatus>) StartAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) StopAsync() const;
+ [[nodiscard]] auto FrameArrived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameReader, winrt::Windows::Media::Capture::Frames::MultiSourceMediaFrameArrivedEventArgs> const& handler) const;
+ auto FrameArrived(winrt::event_token const& token) const noexcept;
+ auto TryAcquireLatestFrame() const;
+ auto StartAsync() const;
+ auto StopAsync() const;
};
template <> struct consume<winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReader>
{
@@ -872,8 +865,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReader2>
{
@@ -882,7 +875,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Frames::IMultiSourceMediaFrameReference>
{
@@ -891,14 +884,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Frames::IVideoMediaFrame>
{
@@ -907,10 +900,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Capture::Frames::IVideoMediaFrameFormat>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.1.h
index cf1b2155786..95fed9e0b30 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.2.h
index f22e9e094c6..9851c4082a5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Capture.Frames.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.0.h
index 4c1847bc105..f27b68d9e94 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Rect;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IRandomAccessStreamWithContentType;
@@ -215,20 +210,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Casting::CastingConnection, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Casting::CastingConnection, winrt::Windows::Foundation::IInspectable> const& handler) const;
using StateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Casting::ICastingConnection, &impl::abi_t<winrt::Windows::Media::Casting::ICastingConnection>::remove_StateChanged>;
- [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingConnection, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Casting::CastingConnection, winrt::Windows::Media::Casting::CastingConnectionErrorOccurredEventArgs> const& handler) const;
+ [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingConnection, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto StateChanged(winrt::event_token const& token) const noexcept;
+ auto ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingConnection, winrt::Windows::Media::Casting::CastingConnectionErrorOccurredEventArgs> const& handler) const;
using ErrorOccurred_revoker = impl::event_revoker<winrt::Windows::Media::Casting::ICastingConnection, &impl::abi_t<winrt::Windows::Media::Casting::ICastingConnection>::remove_ErrorOccurred>;
- [[nodiscard]] ErrorOccurred_revoker ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingConnection, winrt::Windows::Media::Casting::CastingConnectionErrorOccurredEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) ErrorOccurred(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Casting::CastingConnectionErrorStatus>) RequestStartCastingAsync(winrt::Windows::Media::Casting::CastingSource const& value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Casting::CastingConnectionErrorStatus>) DisconnectAsync() const;
+ [[nodiscard]] auto ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingConnection, winrt::Windows::Media::Casting::CastingConnectionErrorOccurredEventArgs> 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<winrt::Windows::Media::Casting::ICastingConnection>
{
@@ -237,8 +232,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Casting::ICastingConnectionErrorOccurredEventArgs>
{
@@ -247,11 +242,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Casting::CastingPlaybackTypes>) 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<winrt::Windows::Media::Casting::ICastingDevice>
{
@@ -260,19 +255,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Casting::CastingDevicePicker, winrt::Windows::Media::Casting::CastingDeviceSelectedEventArgs> const& handler) const;
+ [[nodiscard]] auto Filter() const;
+ [[nodiscard]] auto Appearance() const;
+ auto CastingDeviceSelected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingDevicePicker, winrt::Windows::Media::Casting::CastingDeviceSelectedEventArgs> const& handler) const;
using CastingDeviceSelected_revoker = impl::event_revoker<winrt::Windows::Media::Casting::ICastingDevicePicker, &impl::abi_t<winrt::Windows::Media::Casting::ICastingDevicePicker>::remove_CastingDeviceSelected>;
- [[nodiscard]] CastingDeviceSelected_revoker CastingDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingDevicePicker, winrt::Windows::Media::Casting::CastingDeviceSelectedEventArgs> 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<winrt::Windows::Media::Casting::CastingDevicePicker, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto CastingDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingDevicePicker, winrt::Windows::Media::Casting::CastingDeviceSelectedEventArgs> const& handler) const;
+ auto CastingDeviceSelected(winrt::event_token const& token) const noexcept;
+ auto CastingDevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingDevicePicker, winrt::Windows::Foundation::IInspectable> const& handler) const;
using CastingDevicePickerDismissed_revoker = impl::event_revoker<winrt::Windows::Media::Casting::ICastingDevicePicker, &impl::abi_t<winrt::Windows::Media::Casting::ICastingDevicePicker>::remove_CastingDevicePickerDismissed>;
- [[nodiscard]] CastingDevicePickerDismissed_revoker CastingDevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Casting::CastingDevicePicker, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Casting::CastingDevicePicker, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Casting::ICastingDevicePicker>
{
@@ -281,13 +276,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Casting::CastingSource>) 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<winrt::Windows::Media::Casting::ICastingDevicePickerFilter>
{
@@ -296,7 +291,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Casting_ICastingDeviceSelectedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingDevice) SelectedCastingDevice() const;
+ [[nodiscard]] auto SelectedCastingDevice() const;
};
template <> struct consume<winrt::Windows::Media::Casting::ICastingDeviceSelectedEventArgs>
{
@@ -305,10 +300,10 @@ namespace winrt::impl
template <typename D>
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<hstring>) GetDeviceSelectorFromCastingSourceAsync(winrt::Windows::Media::Casting::CastingSource const& castingSource) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Casting::CastingDevice>) FromIdAsync(param::hstring const& value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Media::Casting::ICastingDeviceStatics>
{
@@ -317,8 +312,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Casting::ICastingSource>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.1.h
index 16ac225940e..abb65fa03c4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.2.h
index d8322515320..7526c6e16b5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Casting.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.0.h
index fdc977e612a..c3ebbca4569 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Media::ClosedCaptioning::IClosedCaptionPropertiesStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.1.h
index 2e2a16ca068..bbc87bed1fb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.2.h
index c154fb67975..4c8ca9b895f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ClosedCaptioning.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.0.h
index 6f8da5bb3c2..ef54e9f7d38 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
@@ -128,9 +126,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_ContentRestrictions_IContentRestrictionsBrowsePolicy
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) GeographicRegion() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) MaxBrowsableAgeRating() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) PreferredAgeRating() const;
+ [[nodiscard]] auto GeographicRegion() const;
+ [[nodiscard]] auto MaxBrowsableAgeRating() const;
+ [[nodiscard]] auto PreferredAgeRating() const;
};
template <> struct consume<winrt::Windows::Media::ContentRestrictions::IContentRestrictionsBrowsePolicy>
{
@@ -139,16 +137,16 @@ namespace winrt::impl
template <typename D>
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<hstring>) Ratings() const;
- WINRT_IMPL_AUTO(void) Ratings(param::vector<hstring> 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<hstring> const& value) const;
};
template <> struct consume<winrt::Windows::Media::ContentRestrictions::IRatedContentDescription>
{
@@ -157,7 +155,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::ContentRestrictions::IRatedContentDescriptionFactory>
{
@@ -166,13 +164,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_ContentRestrictions_IRatedContentRestrictions
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::ContentRestrictions::ContentRestrictionsBrowsePolicy>) GetBrowsePolicyAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::ContentRestrictions::ContentAccessRestrictionLevel>) GetRestrictionLevelAsync(winrt::Windows::Media::ContentRestrictions::RatedContentDescription const& RatedContentDescription) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestContentAccessAsync(winrt::Windows::Media::ContentRestrictions::RatedContentDescription const& RatedContentDescription) const;
- WINRT_IMPL_AUTO(winrt::event_token) RestrictionsChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
using RestrictionsChanged_revoker = impl::event_revoker<winrt::Windows::Media::ContentRestrictions::IRatedContentRestrictions, &impl::abi_t<winrt::Windows::Media::ContentRestrictions::IRatedContentRestrictions>::remove_RestrictionsChanged>;
- [[nodiscard]] RestrictionsChanged_revoker RestrictionsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto RestrictionsChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::ContentRestrictions::IRatedContentRestrictions>
{
@@ -181,7 +179,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::ContentRestrictions::IRatedContentRestrictionsFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.1.h
index 28f950ca8ec..4a438907154 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.2.h
index 87b2b38a719..884efb35fee 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.ContentRestrictions.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.0.h
index c7145b3ba0c..3e8d800a57a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
struct consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSession
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) SourceAppUserModelId() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionMediaProperties>) 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<bool>) TryPlayAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryPauseAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryStopAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryRecordAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryFastForwardAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryRewindAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TrySkipNextAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TrySkipPreviousAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryChangeChannelUpAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryChangeChannelDownAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryTogglePlayPauseAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryChangeAutoRepeatModeAsync(winrt::Windows::Media::MediaPlaybackAutoRepeatMode const& requestedAutoRepeatMode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryChangePlaybackRateAsync(double requestedPlaybackRate) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryChangeShuffleActiveAsync(bool requestedShuffleState) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryChangePlaybackPositionAsync(int64_t requestedPlaybackPosition) const;
- WINRT_IMPL_AUTO(winrt::event_token) TimelinePropertiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::TimelinePropertiesChangedEventArgs> 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<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::TimelinePropertiesChangedEventArgs> const& handler) const;
using TimelinePropertiesChanged_revoker = impl::event_revoker<winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession, &impl::abi_t<winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession>::remove_TimelinePropertiesChanged>;
- [[nodiscard]] TimelinePropertiesChanged_revoker TimelinePropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::TimelinePropertiesChangedEventArgs> 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<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::PlaybackInfoChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto TimelinePropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::TimelinePropertiesChangedEventArgs> const& handler) const;
+ auto TimelinePropertiesChanged(winrt::event_token const& token) const noexcept;
+ auto PlaybackInfoChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::PlaybackInfoChangedEventArgs> const& handler) const;
using PlaybackInfoChanged_revoker = impl::event_revoker<winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession, &impl::abi_t<winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession>::remove_PlaybackInfoChanged>;
- [[nodiscard]] PlaybackInfoChanged_revoker PlaybackInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::PlaybackInfoChangedEventArgs> 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<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::MediaPropertiesChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto PlaybackInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::PlaybackInfoChangedEventArgs> const& handler) const;
+ auto PlaybackInfoChanged(winrt::event_token const& token) const noexcept;
+ auto MediaPropertiesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::MediaPropertiesChangedEventArgs> const& handler) const;
using MediaPropertiesChanged_revoker = impl::event_revoker<winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession, &impl::abi_t<winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession>::remove_MediaPropertiesChanged>;
- [[nodiscard]] MediaPropertiesChanged_revoker MediaPropertiesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::MediaPropertiesChangedEventArgs> 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<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession, winrt::Windows::Media::Control::MediaPropertiesChangedEventArgs> const& handler) const;
+ auto MediaPropertiesChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSession>
{
@@ -322,16 +315,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManager
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession) GetCurrentSession() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSession>) GetSessions() const;
- WINRT_IMPL_AUTO(winrt::event_token) CurrentSessionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager, winrt::Windows::Media::Control::CurrentSessionChangedEventArgs> const& handler) const;
+ auto GetCurrentSession() const;
+ auto GetSessions() const;
+ auto CurrentSessionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager, winrt::Windows::Media::Control::CurrentSessionChangedEventArgs> const& handler) const;
using CurrentSessionChanged_revoker = impl::event_revoker<winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManager, &impl::abi_t<winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManager>::remove_CurrentSessionChanged>;
- [[nodiscard]] CurrentSessionChanged_revoker CurrentSessionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager, winrt::Windows::Media::Control::CurrentSessionChangedEventArgs> 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<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager, winrt::Windows::Media::Control::SessionsChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto CurrentSessionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager, winrt::Windows::Media::Control::CurrentSessionChangedEventArgs> const& handler) const;
+ auto CurrentSessionChanged(winrt::event_token const& token) const noexcept;
+ auto SessionsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager, winrt::Windows::Media::Control::SessionsChangedEventArgs> const& handler) const;
using SessionsChanged_revoker = impl::event_revoker<winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManager, &impl::abi_t<winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManager>::remove_SessionsChanged>;
- [[nodiscard]] SessionsChanged_revoker SessionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager, winrt::Windows::Media::Control::SessionsChangedEventArgs> 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<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager, winrt::Windows::Media::Control::SessionsChangedEventArgs> const& handler) const;
+ auto SessionsChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManager>
{
@@ -340,7 +333,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Control_IGlobalSystemMediaTransportControlsSessionManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Control::GlobalSystemMediaTransportControlsSessionManager>) RequestAsync() const;
+ auto RequestAsync() const;
};
template <> struct consume<winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionManagerStatics>
{
@@ -349,16 +342,16 @@ namespace winrt::impl
template <typename D>
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<hstring>) Genres() const;
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) AlbumTrackCount() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Media::MediaPlaybackType>) 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<winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionMediaProperties>
{
@@ -367,21 +360,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackControls>
{
@@ -390,12 +383,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaPlaybackType>) PlaybackType() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Media::MediaPlaybackAutoRepeatMode>) AutoRepeatMode() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) PlaybackRate() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) 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<winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionPlaybackInfo>
{
@@ -404,12 +397,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Control::IGlobalSystemMediaTransportControlsSessionTimelineProperties>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.1.h
index 9bbff292de6..8878b7cfe03 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.2.h
index 97dd1359855..4bfd5abded7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Control.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.0.h
index 36b924cfa71..c44c8460017 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
@@ -23,9 +21,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IObservableVector;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
struct consume_Windows_Media_Core_IAudioStreamDescriptor
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) EncodingProperties() const;
+ [[nodiscard]] auto EncodingProperties() const;
};
template <> struct consume<winrt::Windows::Media::Core::IAudioStreamDescriptor>
{
@@ -2246,10 +2232,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IAudioStreamDescriptor2
{
- WINRT_IMPL_AUTO(void) LeadingEncoderPadding(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) LeadingEncoderPadding() const;
- WINRT_IMPL_AUTO(void) TrailingEncoderPadding(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) TrailingEncoderPadding() const;
+ auto LeadingEncoderPadding(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
+ [[nodiscard]] auto LeadingEncoderPadding() const;
+ auto TrailingEncoderPadding(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
+ [[nodiscard]] auto TrailingEncoderPadding() const;
};
template <> struct consume<winrt::Windows::Media::Core::IAudioStreamDescriptor2>
{
@@ -2258,7 +2244,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IAudioStreamDescriptor3
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::Core::AudioStreamDescriptor) Copy() const;
+ auto Copy() const;
};
template <> struct consume<winrt::Windows::Media::Core::IAudioStreamDescriptor3>
{
@@ -2267,7 +2253,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IAudioStreamDescriptorFactory>
{
@@ -2276,14 +2262,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IAudioTrack
{
- WINRT_IMPL_AUTO(winrt::event_token) OpenFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::AudioTrack, winrt::Windows::Media::Core::AudioTrackOpenFailedEventArgs> const& handler) const;
+ auto OpenFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::AudioTrack, winrt::Windows::Media::Core::AudioTrackOpenFailedEventArgs> const& handler) const;
using OpenFailed_revoker = impl::event_revoker<winrt::Windows::Media::Core::IAudioTrack, &impl::abi_t<winrt::Windows::Media::Core::IAudioTrack>::remove_OpenFailed>;
- [[nodiscard]] OpenFailed_revoker OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::AudioTrack, winrt::Windows::Media::Core::AudioTrackOpenFailedEventArgs> 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<winrt::Windows::Media::Core::AudioTrack, winrt::Windows::Media::Core::AudioTrackOpenFailedEventArgs> 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<winrt::Windows::Media::Core::IAudioTrack>
{
@@ -2292,7 +2278,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IAudioTrackOpenFailedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::Media::Core::IAudioTrackOpenFailedEventArgs>
{
@@ -2301,10 +2287,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IAudioTrackSupportInfo>
{
@@ -2313,8 +2299,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IChapterCue>
{
@@ -2323,11 +2309,11 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::Media::Core::ICodecInfo>
{
@@ -2336,7 +2322,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_ICodecQuery
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::CodecInfo>>) 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<winrt::Windows::Media::Core::ICodecQuery>
{
@@ -2345,57 +2331,57 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::ICodecSubtypesStatics>
{
@@ -2404,8 +2390,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IDataCue>
{
@@ -2414,7 +2400,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IDataCue2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::PropertySet) Properties() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Media::Core::IDataCue2>
{
@@ -2423,7 +2409,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IFaceDetectedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::FaceDetectionEffectFrame) ResultFrame() const;
+ [[nodiscard]] auto ResultFrame() const;
};
template <> struct consume<winrt::Windows::Media::Core::IFaceDetectedEventArgs>
{
@@ -2432,14 +2418,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::FaceDetectionEffect, winrt::Windows::Media::Core::FaceDetectedEventArgs> 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<winrt::Windows::Media::Core::FaceDetectionEffect, winrt::Windows::Media::Core::FaceDetectedEventArgs> const& handler) const;
using FaceDetected_revoker = impl::event_revoker<winrt::Windows::Media::Core::IFaceDetectionEffect, &impl::abi_t<winrt::Windows::Media::Core::IFaceDetectionEffect>::remove_FaceDetected>;
- [[nodiscard]] FaceDetected_revoker FaceDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::FaceDetectionEffect, winrt::Windows::Media::Core::FaceDetectedEventArgs> 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<winrt::Windows::Media::Core::FaceDetectionEffect, winrt::Windows::Media::Core::FaceDetectedEventArgs> const& handler) const;
+ auto FaceDetected(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Core::IFaceDetectionEffect>
{
@@ -2448,10 +2434,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IFaceDetectionEffectDefinition>
{
@@ -2460,7 +2446,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IFaceDetectionEffectFrame
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::FaceAnalysis::DetectedFace>) DetectedFaces() const;
+ [[nodiscard]] auto DetectedFaces() const;
};
template <> struct consume<winrt::Windows::Media::Core::IFaceDetectionEffectFrame>
{
@@ -2469,8 +2455,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IHighDynamicRangeControl>
{
@@ -2479,8 +2465,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IHighDynamicRangeOutput
{
- [[nodiscard]] WINRT_IMPL_AUTO(double) Certainty() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::Core::FrameController>) FrameControllers() const;
+ [[nodiscard]] auto Certainty() const;
+ [[nodiscard]] auto FrameControllers() const;
};
template <> struct consume<winrt::Windows::Media::Core::IHighDynamicRangeOutput>
{
@@ -2489,12 +2475,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IImageCue>
{
@@ -2503,9 +2489,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IInitializeMediaStreamSourceRequestedEventArgs>
{
@@ -2514,7 +2500,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_ILowLightFusionResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::SoftwareBitmap) Frame() const;
+ [[nodiscard]] auto Frame() const;
};
template <> struct consume<winrt::Windows::Media::Core::ILowLightFusionResult>
{
@@ -2523,9 +2509,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_ILowLightFusionStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Imaging::BitmapPixelFormat>) SupportedBitmapPixelFormats() const;
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxSupportedFrameCount() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Core::LowLightFusionResult, double>) FuseAsync(param::async_iterable<winrt::Windows::Graphics::Imaging::SoftwareBitmap> const& frameSet) const;
+ [[nodiscard]] auto SupportedBitmapPixelFormats() const;
+ [[nodiscard]] auto MaxSupportedFrameCount() const;
+ auto FuseAsync(param::async_iterable<winrt::Windows::Graphics::Imaging::SoftwareBitmap> const& frameSet) const;
};
template <> struct consume<winrt::Windows::Media::Core::ILowLightFusionStatics>
{
@@ -2534,13 +2520,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaBinder
{
- WINRT_IMPL_AUTO(winrt::event_token) Binding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaBinder, winrt::Windows::Media::Core::MediaBindingEventArgs> const& handler) const;
+ auto Binding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaBinder, winrt::Windows::Media::Core::MediaBindingEventArgs> const& handler) const;
using Binding_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMediaBinder, &impl::abi_t<winrt::Windows::Media::Core::IMediaBinder>::remove_Binding>;
- [[nodiscard]] Binding_revoker Binding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaBinder, winrt::Windows::Media::Core::MediaBindingEventArgs> 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<winrt::Windows::Media::Core::MediaBinder, winrt::Windows::Media::Core::MediaBindingEventArgs> 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<winrt::Windows::Media::Core::IMediaBinder>
{
@@ -2549,15 +2535,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaBindingEventArgs
{
- WINRT_IMPL_AUTO(winrt::event_token) Canceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaBindingEventArgs, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Canceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaBindingEventArgs, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Canceled_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMediaBindingEventArgs, &impl::abi_t<winrt::Windows::Media::Core::IMediaBindingEventArgs>::remove_Canceled>;
- [[nodiscard]] Canceled_revoker Canceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaBindingEventArgs, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Core::MediaBindingEventArgs, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Core::IMediaBindingEventArgs>
{
@@ -2566,8 +2552,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaBindingEventArgs2>
{
@@ -2576,7 +2562,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaBindingEventArgs3>
{
@@ -2585,12 +2571,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaCue>
{
@@ -2599,7 +2585,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaCueEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::IMediaCue) Cue() const;
+ [[nodiscard]] auto Cue() const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaCueEventArgs>
{
@@ -2616,15 +2602,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaSource2
{
- WINRT_IMPL_AUTO(winrt::event_token) OpenOperationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSource, winrt::Windows::Media::Core::MediaSourceOpenOperationCompletedEventArgs> const& handler) const;
+ auto OpenOperationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSource, winrt::Windows::Media::Core::MediaSourceOpenOperationCompletedEventArgs> const& handler) const;
using OpenOperationCompleted_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMediaSource2, &impl::abi_t<winrt::Windows::Media::Core::IMediaSource2>::remove_OpenOperationCompleted>;
- [[nodiscard]] OpenOperationCompleted_revoker OpenOperationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSource, winrt::Windows::Media::Core::MediaSourceOpenOperationCompletedEventArgs> 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<winrt::Windows::Foundation::TimeSpan>) Duration() const;
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsOpen() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Media::Core::TimedTextSource>) ExternalTimedTextSources() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Media::Core::TimedMetadataTrack>) ExternalTimedMetadataTracks() const;
+ [[nodiscard]] auto OpenOperationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSource, winrt::Windows::Media::Core::MediaSourceOpenOperationCompletedEventArgs> 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<winrt::Windows::Media::Core::IMediaSource2>
{
@@ -2633,12 +2619,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaSource3
{
- WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSource, winrt::Windows::Media::Core::MediaSourceStateChangedEventArgs> const& handler) const;
+ auto StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSource, winrt::Windows::Media::Core::MediaSourceStateChangedEventArgs> const& handler) const;
using StateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMediaSource3, &impl::abi_t<winrt::Windows::Media::Core::IMediaSource3>::remove_StateChanged>;
- [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSource, winrt::Windows::Media::Core::MediaSourceStateChangedEventArgs> 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<winrt::Windows::Media::Core::MediaSource, winrt::Windows::Media::Core::MediaSourceStateChangedEventArgs> const& handler) const;
+ auto StateChanged(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto State() const;
+ auto Reset() const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaSource3>
{
@@ -2647,11 +2633,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaSource4>
{
@@ -2660,7 +2646,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaSource5
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::DownloadOperation) DownloadOperation() const;
+ [[nodiscard]] auto DownloadOperation() const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaSource5>
{
@@ -2669,11 +2655,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaSourceAppServiceConnection
{
- WINRT_IMPL_AUTO(winrt::event_token) InitializeMediaStreamSourceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSourceAppServiceConnection, winrt::Windows::Media::Core::InitializeMediaStreamSourceRequestedEventArgs> const& handler) const;
+ auto InitializeMediaStreamSourceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSourceAppServiceConnection, winrt::Windows::Media::Core::InitializeMediaStreamSourceRequestedEventArgs> const& handler) const;
using InitializeMediaStreamSourceRequested_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMediaSourceAppServiceConnection, &impl::abi_t<winrt::Windows::Media::Core::IMediaSourceAppServiceConnection>::remove_InitializeMediaStreamSourceRequested>;
- [[nodiscard]] InitializeMediaStreamSourceRequested_revoker InitializeMediaStreamSourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaSourceAppServiceConnection, winrt::Windows::Media::Core::InitializeMediaStreamSourceRequestedEventArgs> 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<winrt::Windows::Media::Core::MediaSourceAppServiceConnection, winrt::Windows::Media::Core::InitializeMediaStreamSourceRequestedEventArgs> const& handler) const;
+ auto InitializeMediaStreamSourceRequested(winrt::event_token const& token) const noexcept;
+ auto Start() const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaSourceAppServiceConnection>
{
@@ -2682,7 +2668,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaSourceAppServiceConnectionFactory>
{
@@ -2691,7 +2677,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaSourceError
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaSourceError>
{
@@ -2700,7 +2686,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaSourceOpenOperationCompletedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaSourceError) Error() const;
+ [[nodiscard]] auto Error() const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaSourceOpenOperationCompletedEventArgs>
{
@@ -2709,8 +2695,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaSourceStateChangedEventArgs>
{
@@ -2719,14 +2705,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaSourceStatics>
{
@@ -2735,7 +2721,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaSourceStatics2>
{
@@ -2744,7 +2730,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaSourceStatics3>
{
@@ -2753,7 +2739,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaSourceStatics4>
{
@@ -2762,11 +2748,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaStreamDescriptor>
{
@@ -2775,8 +2761,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaStreamDescriptor2>
{
@@ -2785,22 +2771,22 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaStreamSample
{
- WINRT_IMPL_AUTO(winrt::event_token) Processed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSample, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Processed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSample, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Processed_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMediaStreamSample, &impl::abi_t<winrt::Windows::Media::Core::IMediaStreamSample>::remove_Processed>;
- [[nodiscard]] Processed_revoker Processed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSample, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Core::MediaStreamSample, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Core::IMediaStreamSample>
{
@@ -2809,7 +2795,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaStreamSample2>
{
@@ -2818,12 +2804,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaStreamSampleProtectionProperties
{
- WINRT_IMPL_AUTO(void) SetKeyIdentifier(array_view<uint8_t const> value) const;
- WINRT_IMPL_AUTO(void) GetKeyIdentifier(com_array<uint8_t>& value) const;
- WINRT_IMPL_AUTO(void) SetInitializationVector(array_view<uint8_t const> value) const;
- WINRT_IMPL_AUTO(void) GetInitializationVector(com_array<uint8_t>& value) const;
- WINRT_IMPL_AUTO(void) SetSubSampleMapping(array_view<uint8_t const> value) const;
- WINRT_IMPL_AUTO(void) GetSubSampleMapping(com_array<uint8_t>& value) const;
+ auto SetKeyIdentifier(array_view<uint8_t const> value) const;
+ auto GetKeyIdentifier(com_array<uint8_t>& value) const;
+ auto SetInitializationVector(array_view<uint8_t const> value) const;
+ auto GetInitializationVector(com_array<uint8_t>& value) const;
+ auto SetSubSampleMapping(array_view<uint8_t const> value) const;
+ auto GetSubSampleMapping(com_array<uint8_t>& value) const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaStreamSampleProtectionProperties>
{
@@ -2832,8 +2818,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::MediaStreamSample>) 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<winrt::Windows::Media::Core::IMediaStreamSampleStatics>
{
@@ -2842,7 +2828,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaStreamSampleStatics2>
{
@@ -2851,42 +2837,42 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaStreamSource
{
- WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceClosedEventArgs> const& handler) const;
+ auto Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceClosedEventArgs> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMediaStreamSource, &impl::abi_t<winrt::Windows::Media::Core::IMediaStreamSource>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceClosedEventArgs> 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<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceStartingEventArgs> const& handler) const;
+ [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceClosedEventArgs> const& handler) const;
+ auto Closed(winrt::event_token const& token) const noexcept;
+ auto Starting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceStartingEventArgs> const& handler) const;
using Starting_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMediaStreamSource, &impl::abi_t<winrt::Windows::Media::Core::IMediaStreamSource>::remove_Starting>;
- [[nodiscard]] Starting_revoker Starting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceStartingEventArgs> 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<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Starting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceStartingEventArgs> const& handler) const;
+ auto Starting(winrt::event_token const& token) const noexcept;
+ auto Paused(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Paused_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMediaStreamSource, &impl::abi_t<winrt::Windows::Media::Core::IMediaStreamSource>::remove_Paused>;
- [[nodiscard]] Paused_revoker Paused(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSampleRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto Paused(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Paused(winrt::event_token const& token) const noexcept;
+ auto SampleRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSampleRequestedEventArgs> const& handler) const;
using SampleRequested_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMediaStreamSource, &impl::abi_t<winrt::Windows::Media::Core::IMediaStreamSource>::remove_SampleRequested>;
- [[nodiscard]] SampleRequested_revoker SampleRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSampleRequestedEventArgs> 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<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto SampleRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSampleRequestedEventArgs> const& handler) const;
+ auto SampleRequested(winrt::event_token const& token) const noexcept;
+ auto SwitchStreamsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequestedEventArgs> const& handler) const;
using SwitchStreamsRequested_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMediaStreamSource, &impl::abi_t<winrt::Windows::Media::Core::IMediaStreamSource>::remove_SwitchStreamsRequested>;
- [[nodiscard]] SwitchStreamsRequested_revoker SwitchStreamsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequestedEventArgs> 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<uint8_t const> keyIdentifier, array_view<uint8_t const> licenseData) const;
+ [[nodiscard]] auto SwitchStreamsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequestedEventArgs> 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<uint8_t const> keyIdentifier, array_view<uint8_t const> licenseData) const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaStreamSource>
{
@@ -2895,10 +2881,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaStreamSource2
{
- WINRT_IMPL_AUTO(winrt::event_token) SampleRendered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSampleRenderedEventArgs> const& handler) const;
+ auto SampleRendered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSampleRenderedEventArgs> const& handler) const;
using SampleRendered_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMediaStreamSource2, &impl::abi_t<winrt::Windows::Media::Core::IMediaStreamSource2>::remove_SampleRendered>;
- [[nodiscard]] SampleRendered_revoker SampleRendered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSampleRenderedEventArgs> 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<winrt::Windows::Media::Core::MediaStreamSource, winrt::Windows::Media::Core::MediaStreamSourceSampleRenderedEventArgs> const& handler) const;
+ auto SampleRendered(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaStreamSource2>
{
@@ -2907,8 +2893,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaStreamSource3
{
- WINRT_IMPL_AUTO(void) MaxSupportedPlaybackRate(winrt::Windows::Foundation::IReference<double> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) MaxSupportedPlaybackRate() const;
+ auto MaxSupportedPlaybackRate(winrt::Windows::Foundation::IReference<double> const& value) const;
+ [[nodiscard]] auto MaxSupportedPlaybackRate() const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaStreamSource3>
{
@@ -2917,8 +2903,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaStreamSource4>
{
@@ -2927,7 +2913,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaStreamSourceClosedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceClosedRequest) Request() const;
+ [[nodiscard]] auto Request() const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaStreamSourceClosedEventArgs>
{
@@ -2936,7 +2922,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaStreamSourceClosedRequest
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceClosedReason) Reason() const;
+ [[nodiscard]] auto Reason() const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaStreamSourceClosedRequest>
{
@@ -2945,8 +2931,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaStreamSourceFactory>
{
@@ -2955,7 +2941,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaStreamSourceSampleRenderedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) SampleLag() const;
+ [[nodiscard]] auto SampleLag() const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaStreamSourceSampleRenderedEventArgs>
{
@@ -2964,11 +2950,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaStreamSourceSampleRequest>
{
@@ -2977,7 +2963,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaStreamSourceSampleRequestDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaStreamSourceSampleRequestDeferral>
{
@@ -2986,7 +2972,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaStreamSourceSampleRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceSampleRequest) Request() const;
+ [[nodiscard]] auto Request() const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaStreamSourceSampleRequestedEventArgs>
{
@@ -2995,7 +2981,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaStreamSourceStartingEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceStartingRequest) Request() const;
+ [[nodiscard]] auto Request() const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaStreamSourceStartingEventArgs>
{
@@ -3004,9 +2990,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaStreamSourceStartingRequest
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) 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<winrt::Windows::Media::Core::IMediaStreamSourceStartingRequest>
{
@@ -3015,7 +3001,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaStreamSourceStartingRequestDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaStreamSourceStartingRequestDeferral>
{
@@ -3024,9 +3010,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequest>
{
@@ -3035,7 +3021,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequestDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequestDeferral>
{
@@ -3044,7 +3030,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMediaStreamSourceSwitchStreamsRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::MediaStreamSourceSwitchStreamsRequest) Request() const;
+ [[nodiscard]] auto Request() const;
};
template <> struct consume<winrt::Windows::Media::Core::IMediaStreamSourceSwitchStreamsRequestedEventArgs>
{
@@ -3053,11 +3039,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMediaTrack>
{
@@ -3066,41 +3052,41 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMseSourceBuffer
{
- WINRT_IMPL_AUTO(winrt::event_token) UpdateStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto UpdateStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const;
using UpdateStarting_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMseSourceBuffer, &impl::abi_t<winrt::Windows::Media::Core::IMseSourceBuffer>::remove_UpdateStarting>;
- [[nodiscard]] UpdateStarting_revoker UpdateStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto UpdateStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto UpdateStarting(winrt::event_token const& token) const noexcept;
+ auto Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Updated_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMseSourceBuffer, &impl::abi_t<winrt::Windows::Media::Core::IMseSourceBuffer>::remove_Updated>;
- [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Updated(winrt::event_token const& token) const noexcept;
+ auto UpdateEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const;
using UpdateEnded_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMseSourceBuffer, &impl::abi_t<winrt::Windows::Media::Core::IMseSourceBuffer>::remove_UpdateEnded>;
- [[nodiscard]] UpdateEnded_revoker UpdateEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto UpdateEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto UpdateEnded(winrt::event_token const& token) const noexcept;
+ auto ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ErrorOccurred_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMseSourceBuffer, &impl::abi_t<winrt::Windows::Media::Core::IMseSourceBuffer>::remove_ErrorOccurred>;
- [[nodiscard]] ErrorOccurred_revoker ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ErrorOccurred(winrt::event_token const& token) const noexcept;
+ auto Aborted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Aborted_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMseSourceBuffer, &impl::abi_t<winrt::Windows::Media::Core::IMseSourceBuffer>::remove_Aborted>;
- [[nodiscard]] Aborted_revoker Aborted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Core::MseTimeRange>) 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<winrt::Windows::Foundation::TimeSpan>) AppendWindowEnd() const;
- WINRT_IMPL_AUTO(void) AppendWindowEnd(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::Foundation::TimeSpan> const& end) const;
+ [[nodiscard]] auto Aborted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBuffer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::Foundation::TimeSpan> const& end) const;
};
template <> struct consume<winrt::Windows::Media::Core::IMseSourceBuffer>
{
@@ -3109,15 +3095,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMseSourceBufferList
{
- WINRT_IMPL_AUTO(winrt::event_token) SourceBufferAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBufferList, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SourceBufferAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBufferList, winrt::Windows::Foundation::IInspectable> const& handler) const;
using SourceBufferAdded_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMseSourceBufferList, &impl::abi_t<winrt::Windows::Media::Core::IMseSourceBufferList>::remove_SourceBufferAdded>;
- [[nodiscard]] SourceBufferAdded_revoker SourceBufferAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBufferList, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Core::MseSourceBufferList, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto SourceBufferAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBufferList, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SourceBufferAdded(winrt::event_token const& token) const noexcept;
+ auto SourceBufferRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBufferList, winrt::Windows::Foundation::IInspectable> const& handler) const;
using SourceBufferRemoved_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMseSourceBufferList, &impl::abi_t<winrt::Windows::Media::Core::IMseSourceBufferList>::remove_SourceBufferRemoved>;
- [[nodiscard]] SourceBufferRemoved_revoker SourceBufferRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBufferList, winrt::Windows::Foundation::IInspectable> const& handler) const;
- WINRT_IMPL_AUTO(void) SourceBufferRemoved(winrt::event_token const& token) const noexcept;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::MseSourceBuffer>) Buffers() const;
+ [[nodiscard]] auto SourceBufferRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseSourceBufferList, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SourceBufferRemoved(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto Buffers() const;
};
template <> struct consume<winrt::Windows::Media::Core::IMseSourceBufferList>
{
@@ -3126,26 +3112,26 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMseStreamSource
{
- WINRT_IMPL_AUTO(winrt::event_token) Opened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Opened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Opened_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMseStreamSource, &impl::abi_t<winrt::Windows::Media::Core::IMseStreamSource>::remove_Opened>;
- [[nodiscard]] Opened_revoker Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Opened(winrt::event_token const& token) const noexcept;
+ auto Ended(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Ended_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMseStreamSource, &impl::abi_t<winrt::Windows::Media::Core::IMseStreamSource>::remove_Ended>;
- [[nodiscard]] Ended_revoker Ended(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Ended(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Ended(winrt::event_token const& token) const noexcept;
+ auto Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::Media::Core::IMseStreamSource, &impl::abi_t<winrt::Windows::Media::Core::IMseStreamSource>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::TimeSpan>) Duration() const;
- WINRT_IMPL_AUTO(void) Duration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::Media::Core::MseStreamSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::Media::Core::IMseStreamSource>
{
@@ -3154,8 +3140,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IMseStreamSource2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Core::MseTimeRange>) LiveSeekableRange() const;
- WINRT_IMPL_AUTO(void) LiveSeekableRange(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Core::MseTimeRange> const& value) const;
+ [[nodiscard]] auto LiveSeekableRange() const;
+ auto LiveSeekableRange(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Core::MseTimeRange> const& value) const;
};
template <> struct consume<winrt::Windows::Media::Core::IMseStreamSource2>
{
@@ -3164,7 +3150,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IMseStreamSourceStatics>
{
@@ -3173,13 +3159,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::SceneAnalysisEffect, winrt::Windows::Media::Core::SceneAnalyzedEventArgs> 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<winrt::Windows::Media::Core::SceneAnalysisEffect, winrt::Windows::Media::Core::SceneAnalyzedEventArgs> const& handler) const;
using SceneAnalyzed_revoker = impl::event_revoker<winrt::Windows::Media::Core::ISceneAnalysisEffect, &impl::abi_t<winrt::Windows::Media::Core::ISceneAnalysisEffect>::remove_SceneAnalyzed>;
- [[nodiscard]] SceneAnalyzed_revoker SceneAnalyzed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::SceneAnalysisEffect, winrt::Windows::Media::Core::SceneAnalyzedEventArgs> 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<winrt::Windows::Media::Core::SceneAnalysisEffect, winrt::Windows::Media::Core::SceneAnalyzedEventArgs> const& handler) const;
+ auto SceneAnalyzed(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Core::ISceneAnalysisEffect>
{
@@ -3188,8 +3174,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::ISceneAnalysisEffectFrame>
{
@@ -3198,7 +3184,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_ISceneAnalysisEffectFrame2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::SceneAnalysisRecommendation) AnalysisRecommendation() const;
+ [[nodiscard]] auto AnalysisRecommendation() const;
};
template <> struct consume<winrt::Windows::Media::Core::ISceneAnalysisEffectFrame2>
{
@@ -3207,7 +3193,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_ISceneAnalyzedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::SceneAnalysisEffectFrame) ResultFrame() const;
+ [[nodiscard]] auto ResultFrame() const;
};
template <> struct consume<winrt::Windows::Media::Core::ISceneAnalyzedEventArgs>
{
@@ -3216,12 +3202,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_ISingleSelectMediaTrackList
{
- WINRT_IMPL_AUTO(winrt::event_token) SelectedIndexChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::ISingleSelectMediaTrackList, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SelectedIndexChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::ISingleSelectMediaTrackList, winrt::Windows::Foundation::IInspectable> const& handler) const;
using SelectedIndexChanged_revoker = impl::event_revoker<winrt::Windows::Media::Core::ISingleSelectMediaTrackList, &impl::abi_t<winrt::Windows::Media::Core::ISingleSelectMediaTrackList>::remove_SelectedIndexChanged>;
- [[nodiscard]] SelectedIndexChanged_revoker SelectedIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::ISingleSelectMediaTrackList, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Core::ISingleSelectMediaTrackList, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Core::ISingleSelectMediaTrackList>
{
@@ -3230,12 +3216,12 @@ namespace winrt::impl
template <typename D>
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<int32_t>) StartPositionInInput() const;
- WINRT_IMPL_AUTO(void) StartPositionInInput(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) EndPositionInInput() const;
- WINRT_IMPL_AUTO(void) EndPositionInInput(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto Text() const;
+ auto Text(param::hstring const& value) const;
+ [[nodiscard]] auto StartPositionInInput() const;
+ auto StartPositionInInput(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
+ [[nodiscard]] auto EndPositionInInput() const;
+ auto EndPositionInInput(winrt::Windows::Foundation::IReference<int32_t> const& value) const;
};
template <> struct consume<winrt::Windows::Media::Core::ISpeechCue>
{
@@ -3244,8 +3230,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::ITimedMetadataStreamDescriptor>
{
@@ -3254,7 +3240,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::ITimedMetadataStreamDescriptorFactory>
{
@@ -3263,24 +3249,24 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_ITimedMetadataTrack
{
- WINRT_IMPL_AUTO(winrt::event_token) CueEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::MediaCueEventArgs> const& handler) const;
+ auto CueEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::MediaCueEventArgs> const& handler) const;
using CueEntered_revoker = impl::event_revoker<winrt::Windows::Media::Core::ITimedMetadataTrack, &impl::abi_t<winrt::Windows::Media::Core::ITimedMetadataTrack>::remove_CueEntered>;
- [[nodiscard]] CueEntered_revoker CueEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::MediaCueEventArgs> 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<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::MediaCueEventArgs> const& handler) const;
+ [[nodiscard]] auto CueEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::MediaCueEventArgs> const& handler) const;
+ auto CueEntered(winrt::event_token const& token) const noexcept;
+ auto CueExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::MediaCueEventArgs> const& handler) const;
using CueExited_revoker = impl::event_revoker<winrt::Windows::Media::Core::ITimedMetadataTrack, &impl::abi_t<winrt::Windows::Media::Core::ITimedMetadataTrack>::remove_CueExited>;
- [[nodiscard]] CueExited_revoker CueExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::MediaCueEventArgs> 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<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::TimedMetadataTrackFailedEventArgs> const& handler) const;
+ [[nodiscard]] auto CueExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::MediaCueEventArgs> const& handler) const;
+ auto CueExited(winrt::event_token const& token) const noexcept;
+ auto TrackFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::TimedMetadataTrackFailedEventArgs> const& handler) const;
using TrackFailed_revoker = impl::event_revoker<winrt::Windows::Media::Core::ITimedMetadataTrack, &impl::abi_t<winrt::Windows::Media::Core::ITimedMetadataTrack>::remove_TrackFailed>;
- [[nodiscard]] TrackFailed_revoker TrackFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::TimedMetadataTrackFailedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) TrackFailed(winrt::event_token const& token) const noexcept;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::IMediaCue>) Cues() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::IMediaCue>) 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<winrt::Windows::Media::Core::TimedMetadataTrack, winrt::Windows::Media::Core::TimedMetadataTrackFailedEventArgs> 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<winrt::Windows::Media::Core::ITimedMetadataTrack>
{
@@ -3289,8 +3275,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::ITimedMetadataTrack2>
{
@@ -3299,8 +3285,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::ITimedMetadataTrackError>
{
@@ -3309,7 +3295,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::ITimedMetadataTrackFactory>
{
@@ -3318,7 +3304,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_ITimedMetadataTrackFailedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::TimedMetadataTrackError) Error() const;
+ [[nodiscard]] auto Error() const;
};
template <> struct consume<winrt::Windows::Media::Core::ITimedMetadataTrackFailedEventArgs>
{
@@ -3327,7 +3313,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_ITimedMetadataTrackProvider
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Core::TimedMetadataTrack>) TimedMetadataTracks() const;
+ [[nodiscard]] auto TimedMetadataTracks() const;
};
template <> struct consume<winrt::Windows::Media::Core::ITimedMetadataTrackProvider>
{
@@ -3336,12 +3322,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::ITimedTextBouten>
{
@@ -3350,11 +3336,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::TimedTextLine>) 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<winrt::Windows::Media::Core::ITimedTextCue>
{
@@ -3363,9 +3349,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::TimedTextSubformat>) Subformats() const;
+ [[nodiscard]] auto Text() const;
+ auto Text(param::hstring const& value) const;
+ [[nodiscard]] auto Subformats() const;
};
template <> struct consume<winrt::Windows::Media::Core::ITimedTextLine>
{
@@ -3374,30 +3360,30 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::ITimedTextRegion>
{
@@ -3406,14 +3392,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::ITimedTextRuby>
{
@@ -3422,10 +3408,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_ITimedTextSource
{
- WINRT_IMPL_AUTO(winrt::event_token) Resolved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedTextSource, winrt::Windows::Media::Core::TimedTextSourceResolveResultEventArgs> const& handler) const;
+ auto Resolved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedTextSource, winrt::Windows::Media::Core::TimedTextSourceResolveResultEventArgs> const& handler) const;
using Resolved_revoker = impl::event_revoker<winrt::Windows::Media::Core::ITimedTextSource, &impl::abi_t<winrt::Windows::Media::Core::ITimedTextSource>::remove_Resolved>;
- [[nodiscard]] Resolved_revoker Resolved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::TimedTextSource, winrt::Windows::Media::Core::TimedTextSourceResolveResultEventArgs> 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<winrt::Windows::Media::Core::TimedTextSource, winrt::Windows::Media::Core::TimedTextSourceResolveResultEventArgs> const& handler) const;
+ auto Resolved(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Core::ITimedTextSource>
{
@@ -3434,8 +3420,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::TimedMetadataTrack>) Tracks() const;
+ [[nodiscard]] auto Error() const;
+ [[nodiscard]] auto Tracks() const;
};
template <> struct consume<winrt::Windows::Media::Core::ITimedTextSourceResolveResultEventArgs>
{
@@ -3444,10 +3430,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::ITimedTextSourceStatics>
{
@@ -3456,10 +3442,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::ITimedTextSourceStatics2>
{
@@ -3468,30 +3454,30 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::ITimedTextStyle>
{
@@ -3500,14 +3486,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::ITimedTextStyle2>
{
@@ -3516,12 +3502,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::ITimedTextStyle3>
{
@@ -3530,12 +3516,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::ITimedTextSubformat>
{
@@ -3544,13 +3530,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::VideoStabilizationEffect, winrt::Windows::Media::Core::VideoStabilizationEffectEnabledChangedEventArgs> const& handler) const;
+ auto Enabled(bool value) const;
+ [[nodiscard]] auto Enabled() const;
+ auto EnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::VideoStabilizationEffect, winrt::Windows::Media::Core::VideoStabilizationEffectEnabledChangedEventArgs> const& handler) const;
using EnabledChanged_revoker = impl::event_revoker<winrt::Windows::Media::Core::IVideoStabilizationEffect, &impl::abi_t<winrt::Windows::Media::Core::IVideoStabilizationEffect>::remove_EnabledChanged>;
- [[nodiscard]] EnabledChanged_revoker EnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::VideoStabilizationEffect, winrt::Windows::Media::Core::VideoStabilizationEffectEnabledChangedEventArgs> 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<winrt::Windows::Media::Core::VideoStabilizationEffect, winrt::Windows::Media::Core::VideoStabilizationEffectEnabledChangedEventArgs> 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<winrt::Windows::Media::Core::IVideoStabilizationEffect>
{
@@ -3559,7 +3545,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IVideoStabilizationEffectEnabledChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Core::VideoStabilizationEffectEnabledChangedReason) Reason() const;
+ [[nodiscard]] auto Reason() const;
};
template <> struct consume<winrt::Windows::Media::Core::IVideoStabilizationEffectEnabledChangedEventArgs>
{
@@ -3568,7 +3554,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IVideoStreamDescriptor
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) EncodingProperties() const;
+ [[nodiscard]] auto EncodingProperties() const;
};
template <> struct consume<winrt::Windows::Media::Core::IVideoStreamDescriptor>
{
@@ -3577,7 +3563,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IVideoStreamDescriptor2
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::Core::VideoStreamDescriptor) Copy() const;
+ auto Copy() const;
};
template <> struct consume<winrt::Windows::Media::Core::IVideoStreamDescriptor2>
{
@@ -3586,7 +3572,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IVideoStreamDescriptorFactory>
{
@@ -3595,14 +3581,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IVideoTrack
{
- WINRT_IMPL_AUTO(winrt::event_token) OpenFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::VideoTrack, winrt::Windows::Media::Core::VideoTrackOpenFailedEventArgs> const& handler) const;
+ auto OpenFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::VideoTrack, winrt::Windows::Media::Core::VideoTrackOpenFailedEventArgs> const& handler) const;
using OpenFailed_revoker = impl::event_revoker<winrt::Windows::Media::Core::IVideoTrack, &impl::abi_t<winrt::Windows::Media::Core::IVideoTrack>::remove_OpenFailed>;
- [[nodiscard]] OpenFailed_revoker OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Core::VideoTrack, winrt::Windows::Media::Core::VideoTrackOpenFailedEventArgs> 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<winrt::Windows::Media::Core::VideoTrack, winrt::Windows::Media::Core::VideoTrackOpenFailedEventArgs> 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<winrt::Windows::Media::Core::IVideoTrack>
{
@@ -3611,7 +3597,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Core_IVideoTrackOpenFailedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::Media::Core::IVideoTrackOpenFailedEventArgs>
{
@@ -3620,8 +3606,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::IVideoTrackSupportInfo>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.1.h
index 797281c8ed0..c23ed61665d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.2.h
index 5aa10d180e1..664ad72b13c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.0.h
index 274e63dd3e0..40156f55f4e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto SoundLevel() const;
+ auto SoundLevelChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using SoundLevelChanged_revoker = impl::event_revoker<winrt::Windows::Media::Core::Preview::ISoundLevelBrokerStatics, &impl::abi_t<winrt::Windows::Media::Core::Preview::ISoundLevelBrokerStatics>::remove_SoundLevelChanged>;
- [[nodiscard]] SoundLevelChanged_revoker SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SoundLevelChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Core::Preview::ISoundLevelBrokerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.1.h
index be569d72795..4b032c7eb26 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.2.h
index 45bbfc8f468..05fb729b44e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Core.Preview.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable> const& handler);
using SoundLevelChanged_revoker = impl::factory_event_revoker<winrt::Windows::Media::Core::Preview::ISoundLevelBrokerStatics, &impl::abi_t<winrt::Windows::Media::Core::Preview::ISoundLevelBrokerStatics>::remove_SoundLevelChanged>;
- [[nodiscard]] static SoundLevelChanged_revoker SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto SoundLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto SoundLevelChanged(winrt::event_token const& token);
};
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.0.h
index db3c4864633..89ccf76e322 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
struct Rect;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
@@ -19,7 +18,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Media::Capture
{
@@ -1427,8 +1425,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IAdvancedPhotoCaptureSettings>
{
@@ -1437,10 +1435,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_IAdvancedPhotoControl
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::AdvancedPhotoMode>) 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<winrt::Windows::Media::Devices::IAdvancedPhotoControl>
{
@@ -1449,8 +1447,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController>
{
@@ -1459,19 +1457,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController2>
{
@@ -1480,9 +1478,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController3>
{
@@ -1491,12 +1489,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController4>
{
@@ -1505,11 +1503,11 @@ namespace winrt::impl
template <typename D>
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<uint32_t> 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<uint8_t const> extendedPropertyId, winrt::Windows::Foundation::IReference<uint32_t> const& maxPropertyValueSize) const;
- WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoDeviceControllerSetDevicePropertyStatus) SetDevicePropertyByExtendedId(array_view<uint8_t const> extendedPropertyId, array_view<uint8_t const> propertyValue) const;
+ [[nodiscard]] auto Id() const;
+ auto GetDevicePropertyById(param::hstring const& propertyId, winrt::Windows::Foundation::IReference<uint32_t> const& maxPropertyValueSize) const;
+ auto SetDevicePropertyById(param::hstring const& propertyId, winrt::Windows::Foundation::IInspectable const& propertyValue) const;
+ auto GetDevicePropertyByExtendedId(array_view<uint8_t const> extendedPropertyId, winrt::Windows::Foundation::IReference<uint32_t> const& maxPropertyValueSize) const;
+ auto SetDevicePropertyByExtendedId(array_view<uint8_t const> extendedPropertyId, array_view<uint8_t const> propertyValue) const;
};
template <> struct consume<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController5>
{
@@ -1518,7 +1516,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController6
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::VideoTemporalDenoisingControl) VideoTemporalDenoisingControl() const;
+ [[nodiscard]] auto VideoTemporalDenoisingControl() const;
};
template <> struct consume<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController6>
{
@@ -1527,7 +1525,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController7
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::InfraredTorchControl) InfraredTorchControl() const;
+ [[nodiscard]] auto InfraredTorchControl() const;
};
template <> struct consume<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController7>
{
@@ -1536,7 +1534,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController8
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::PanelBasedOptimizationControl) PanelBasedOptimizationControl() const;
+ [[nodiscard]] auto PanelBasedOptimizationControl() const;
};
template <> struct consume<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController8>
{
@@ -1545,7 +1543,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_IAdvancedVideoCaptureDeviceController9
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::DigitalWindowControl) DigitalWindowControl() const;
+ [[nodiscard]] auto DigitalWindowControl() const;
};
template <> struct consume<winrt::Windows::Media::Devices::IAdvancedVideoCaptureDeviceController9>
{
@@ -1554,10 +1552,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IAudioDeviceController>
{
@@ -1566,12 +1564,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::ModuleCommandResult>) 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<winrt::Windows::Media::Devices::IAudioDeviceModule>
{
@@ -1580,8 +1578,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IAudioDeviceModuleNotificationEventArgs>
{
@@ -1590,12 +1588,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_IAudioDeviceModulesManager
{
- WINRT_IMPL_AUTO(winrt::event_token) ModuleNotificationReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Devices::AudioDeviceModulesManager, winrt::Windows::Media::Devices::AudioDeviceModuleNotificationEventArgs> const& handler) const;
+ auto ModuleNotificationReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Devices::AudioDeviceModulesManager, winrt::Windows::Media::Devices::AudioDeviceModuleNotificationEventArgs> const& handler) const;
using ModuleNotificationReceived_revoker = impl::event_revoker<winrt::Windows::Media::Devices::IAudioDeviceModulesManager, &impl::abi_t<winrt::Windows::Media::Devices::IAudioDeviceModulesManager>::remove_ModuleNotificationReceived>;
- [[nodiscard]] ModuleNotificationReceived_revoker ModuleNotificationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Devices::AudioDeviceModulesManager, winrt::Windows::Media::Devices::AudioDeviceModuleNotificationEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) ModuleNotificationReceived(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::AudioDeviceModule>) FindAllById(param::hstring const& moduleId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::AudioDeviceModule>) FindAll() const;
+ [[nodiscard]] auto ModuleNotificationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Devices::AudioDeviceModulesManager, winrt::Windows::Media::Devices::AudioDeviceModuleNotificationEventArgs> 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<winrt::Windows::Media::Devices::IAudioDeviceModulesManager>
{
@@ -1604,7 +1602,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IAudioDeviceModulesManagerFactory>
{
@@ -1613,35 +1611,35 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::ICallControl, &impl::abi_t<winrt::Windows::Media::Devices::ICallControl>::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<winrt::Windows::Media::Devices::ICallControl, &impl::abi_t<winrt::Windows::Media::Devices::ICallControl>::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<winrt::Windows::Media::Devices::ICallControl, &impl::abi_t<winrt::Windows::Media::Devices::ICallControl>::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<winrt::Windows::Media::Devices::ICallControl, &impl::abi_t<winrt::Windows::Media::Devices::ICallControl>::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<winrt::Windows::Media::Devices::ICallControl, &impl::abi_t<winrt::Windows::Media::Devices::ICallControl>::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<winrt::Windows::Media::Devices::ICallControl, &impl::abi_t<winrt::Windows::Media::Devices::ICallControl>::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<winrt::Windows::Media::Devices::ICallControl>
{
@@ -1650,8 +1648,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::ICallControlStatics>
{
@@ -1660,8 +1658,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IDefaultAudioDeviceChangedEventArgs>
{
@@ -1670,8 +1668,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IDialRequestedEventArgs>
{
@@ -1680,12 +1678,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IDigitalWindowBounds>
{
@@ -1694,12 +1692,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IDigitalWindowCapability>
{
@@ -1708,14 +1706,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_IDigitalWindowControl
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSupported() const;
- [[nodiscard]] WINRT_IMPL_AUTO(com_array<winrt::Windows::Media::Devices::DigitalWindowMode>) 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<winrt::Windows::Media::Devices::DigitalWindowCapability>) 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<winrt::Windows::Media::Devices::IDigitalWindowControl>
{
@@ -1724,12 +1722,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IExposureCompensationControl>
{
@@ -1738,14 +1736,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IExposureControl>
{
@@ -1754,9 +1752,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IExposurePriorityVideoControl>
{
@@ -1765,17 +1763,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IFlashControl>
{
@@ -1784,9 +1782,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IFlashControl2>
{
@@ -1795,17 +1793,17 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_IFocusControl
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::FocusPreset>) 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<winrt::Windows::Media::Devices::IFocusControl>
{
@@ -1814,16 +1812,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::FocusMode>) SupportedFocusModes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::ManualFocusDistance>) SupportedFocusDistances() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::AutoFocusRange>) 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<winrt::Windows::Media::Devices::IFocusControl2>
{
@@ -1832,18 +1830,18 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) Value() const;
- WINRT_IMPL_AUTO(void) Value(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Devices::ManualFocusDistance>) Distance() const;
- WINRT_IMPL_AUTO(void) Distance(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Devices::ManualFocusDistance> 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<uint32_t> const& value) const;
+ [[nodiscard]] auto Distance() const;
+ auto Distance(winrt::Windows::Foundation::IReference<winrt::Windows::Media::Devices::ManualFocusDistance> const& value) const;
+ [[nodiscard]] auto WaitForFocus() const;
+ auto WaitForFocus(bool value) const;
+ [[nodiscard]] auto DisableDriverFallback() const;
+ auto DisableDriverFallback(bool value) const;
};
template <> struct consume<winrt::Windows::Media::Devices::IFocusSettings>
{
@@ -1852,10 +1850,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_IHdrVideoControl
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::HdrVideoMode>) 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<winrt::Windows::Media::Devices::IHdrVideoControl>
{
@@ -1864,15 +1862,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_IInfraredTorchControl
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSupported() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::InfraredTorchMode>) 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<winrt::Windows::Media::Devices::IInfraredTorchControl>
{
@@ -1881,10 +1879,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_IIsoSpeedControl
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::IsoSpeedPreset>) 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<winrt::Windows::Media::Devices::IIsoSpeedControl>
{
@@ -1893,13 +1891,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IIsoSpeedControl2>
{
@@ -1908,7 +1906,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_IKeypadPressedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Devices::TelephonyKey) TelephonyKey() const;
+ [[nodiscard]] auto TelephonyKey() const;
};
template <> struct consume<winrt::Windows::Media::Devices::IKeypadPressedEventArgs>
{
@@ -1917,15 +1915,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::ILowLagPhotoControl>
{
@@ -1934,22 +1932,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::ILowLagPhotoSequenceControl>
{
@@ -1958,11 +1956,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IMediaDeviceControl>
{
@@ -1971,12 +1969,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IMediaDeviceControlCapabilities>
{
@@ -1985,9 +1983,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_IMediaDeviceController
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::MediaProperties::IMediaEncodingProperties>) 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<winrt::Windows::Media::Devices::IMediaDeviceController>
{
@@ -1996,19 +1994,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs> const& handler) const;
using DefaultAudioCaptureDeviceChanged_revoker = impl::event_revoker<winrt::Windows::Media::Devices::IMediaDeviceStatics, &impl::abi_t<winrt::Windows::Media::Devices::IMediaDeviceStatics>::remove_DefaultAudioCaptureDeviceChanged>;
- [[nodiscard]] DefaultAudioCaptureDeviceChanged_revoker DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs> const& handler) const;
+ auto DefaultAudioCaptureDeviceChanged(winrt::event_token const& cookie) const noexcept;
+ auto DefaultAudioRenderDeviceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs> const& handler) const;
using DefaultAudioRenderDeviceChanged_revoker = impl::event_revoker<winrt::Windows::Media::Devices::IMediaDeviceStatics, &impl::abi_t<winrt::Windows::Media::Devices::IMediaDeviceStatics>::remove_DefaultAudioRenderDeviceChanged>;
- [[nodiscard]] DefaultAudioRenderDeviceChanged_revoker DefaultAudioRenderDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs> const& handler) const;
+ auto DefaultAudioRenderDeviceChanged(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Devices::IMediaDeviceStatics>
{
@@ -2017,8 +2015,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IModuleCommandResult>
{
@@ -2027,10 +2025,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_IOpticalImageStabilizationControl
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::OpticalImageStabilizationMode>) 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<winrt::Windows::Media::Devices::IOpticalImageStabilizationControl>
{
@@ -2039,9 +2037,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IPanelBasedOptimizationControl>
{
@@ -2050,11 +2048,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IPhotoConfirmationControl>
{
@@ -2063,7 +2061,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_IRedialRequestedEventArgs
{
- WINRT_IMPL_AUTO(void) Handled() const;
+ auto Handled() const;
};
template <> struct consume<winrt::Windows::Media::Devices::IRedialRequestedEventArgs>
{
@@ -2072,14 +2070,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IRegionOfInterest>
{
@@ -2088,12 +2086,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IRegionOfInterest2>
{
@@ -2102,13 +2100,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::RegionOfInterest> const& regions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetRegionsAsync(param::async_iterable<winrt::Windows::Media::Devices::RegionOfInterest> 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<winrt::Windows::Media::Devices::RegionOfInterest> const& regions) const;
+ auto SetRegionsAsync(param::async_iterable<winrt::Windows::Media::Devices::RegionOfInterest> const& regions, bool lockValues) const;
+ auto ClearRegionsAsync() const;
+ [[nodiscard]] auto AutoFocusSupported() const;
+ [[nodiscard]] auto AutoWhiteBalanceSupported() const;
+ [[nodiscard]] auto AutoExposureSupported() const;
};
template <> struct consume<winrt::Windows::Media::Devices::IRegionsOfInterestControl>
{
@@ -2117,9 +2115,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_ISceneModeControl
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::CaptureSceneMode>) 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<winrt::Windows::Media::Devices::ISceneModeControl>
{
@@ -2128,12 +2126,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::ITorchControl>
{
@@ -2142,19 +2140,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IVideoDeviceController>
{
@@ -2163,8 +2161,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IVideoDeviceControllerGetDevicePropertyResult>
{
@@ -2173,10 +2171,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_IVideoTemporalDenoisingControl
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) Supported() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::VideoTemporalDenoisingMode>) 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<winrt::Windows::Media::Devices::IVideoTemporalDenoisingControl>
{
@@ -2185,14 +2183,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IWhiteBalanceControl>
{
@@ -2201,12 +2199,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IZoomControl>
{
@@ -2215,9 +2213,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_IZoomControl2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Devices::ZoomTransitionMode>) 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<winrt::Windows::Media::Devices::IZoomControl2>
{
@@ -2226,10 +2224,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::IZoomSettings>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.1.h
index 73438cc3a70..50911004a9e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.2.h
index d1af1fc1665..8740f209c07 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs> const& handler);
using DefaultAudioCaptureDeviceChanged_revoker = impl::factory_event_revoker<winrt::Windows::Media::Devices::IMediaDeviceStatics, &impl::abi_t<winrt::Windows::Media::Devices::IMediaDeviceStatics>::remove_DefaultAudioCaptureDeviceChanged>;
- [[nodiscard]] static DefaultAudioCaptureDeviceChanged_revoker DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs> const& handler);
+ [[nodiscard]] static auto DefaultAudioCaptureDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioCaptureDeviceChangedEventArgs> const& handler);
static auto DefaultAudioCaptureDeviceChanged(winrt::event_token const& cookie);
static auto DefaultAudioRenderDeviceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs> const& handler);
using DefaultAudioRenderDeviceChanged_revoker = impl::factory_event_revoker<winrt::Windows::Media::Devices::IMediaDeviceStatics, &impl::abi_t<winrt::Windows::Media::Devices::IMediaDeviceStatics>::remove_DefaultAudioRenderDeviceChanged>;
- [[nodiscard]] static DefaultAudioRenderDeviceChanged_revoker DefaultAudioRenderDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs> const& handler);
+ [[nodiscard]] static auto DefaultAudioRenderDeviceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Media::Devices::DefaultAudioRenderDeviceChangedEventArgs> const& handler);
static auto DefaultAudioRenderDeviceChanged(winrt::event_token const& cookie);
};
struct __declspec(empty_bases) MediaDeviceControl : winrt::Windows::Media::Devices::IMediaDeviceControl
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.0.h
index e821e711b04..03e0981d72d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IReference;
struct Point;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics
{
}
@@ -370,16 +366,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Numerics::float3 const> coordinates, array_view<winrt::Windows::Foundation::Point> results) const;
- WINRT_IMPL_AUTO(void) UnprojectPixelsAtUnitDepth(array_view<winrt::Windows::Foundation::Point const> pixelCoordinates, array_view<winrt::Windows::Foundation::Numerics::float2> 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<winrt::Windows::Foundation::Numerics::float3 const> coordinates, array_view<winrt::Windows::Foundation::Point> results) const;
+ auto UnprojectPixelsAtUnitDepth(array_view<winrt::Windows::Foundation::Point const> pixelCoordinates, array_view<winrt::Windows::Foundation::Numerics::float2> results) const;
};
template <> struct consume<winrt::Windows::Media::Devices::Core::ICameraIntrinsics>
{
@@ -388,11 +384,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Point const> inputs, array_view<winrt::Windows::Foundation::Point> results) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) UndistortPoint(winrt::Windows::Foundation::Point const& input) const;
- WINRT_IMPL_AUTO(void) UndistortPoints(array_view<winrt::Windows::Foundation::Point const> inputs, array_view<winrt::Windows::Foundation::Point> results) const;
+ [[nodiscard]] auto UndistortedProjectionTransform() const;
+ auto DistortPoint(winrt::Windows::Foundation::Point const& input) const;
+ auto DistortPoints(array_view<winrt::Windows::Foundation::Point const> inputs, array_view<winrt::Windows::Foundation::Point> results) const;
+ auto UndistortPoint(winrt::Windows::Foundation::Point const& input) const;
+ auto UndistortPoints(array_view<winrt::Windows::Foundation::Point const> inputs, array_view<winrt::Windows::Foundation::Point> results) const;
};
template <> struct consume<winrt::Windows::Media::Devices::Core::ICameraIntrinsics2>
{
@@ -401,7 +397,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::Core::ICameraIntrinsicsFactory>
{
@@ -410,10 +406,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Point const> sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, array_view<winrt::Windows::Foundation::Numerics::float3> 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<winrt::Windows::Foundation::Point const> sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, winrt::Windows::Media::Devices::Core::CameraIntrinsics const& targetCameraIntrinsics, array_view<winrt::Windows::Foundation::Point> results) const;
+ auto UnprojectPoint(winrt::Windows::Foundation::Point const& sourcePoint, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem) const;
+ auto UnprojectPoints(array_view<winrt::Windows::Foundation::Point const> sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, array_view<winrt::Windows::Foundation::Numerics::float3> 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<winrt::Windows::Foundation::Point const> sourcePoints, winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& targetCoordinateSystem, winrt::Windows::Media::Devices::Core::CameraIntrinsics const& targetCameraIntrinsics, array_view<winrt::Windows::Foundation::Point> results) const;
};
template <> struct consume<winrt::Windows::Media::Devices::Core::IDepthCorrelatedCoordinateMapper>
{
@@ -422,11 +418,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::Core::IFrameControlCapabilities>
{
@@ -435,7 +431,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::Core::IFrameControlCapabilities2>
{
@@ -444,12 +440,12 @@ namespace winrt::impl
template <typename D>
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<bool>) PhotoConfirmationEnabled() const;
- WINRT_IMPL_AUTO(void) PhotoConfirmationEnabled(winrt::Windows::Foundation::IReference<bool> 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<bool> const& value) const;
};
template <> struct consume<winrt::Windows::Media::Devices::Core::IFrameController>
{
@@ -458,7 +454,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::Core::IFrameController2>
{
@@ -467,10 +463,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::Core::IFrameExposureCapabilities>
{
@@ -479,10 +475,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::Core::IFrameExposureCompensationCapabilities>
{
@@ -491,8 +487,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_Core_IFrameExposureCompensationControl
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) Value() const;
- WINRT_IMPL_AUTO(void) Value(winrt::Windows::Foundation::IReference<float> const& value) const;
+ [[nodiscard]] auto Value() const;
+ auto Value(winrt::Windows::Foundation::IReference<float> const& value) const;
};
template <> struct consume<winrt::Windows::Media::Devices::Core::IFrameExposureCompensationControl>
{
@@ -501,10 +497,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::TimeSpan>) Value() const;
- WINRT_IMPL_AUTO(void) Value(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ [[nodiscard]] auto Auto() const;
+ auto Auto(bool value) const;
+ [[nodiscard]] auto Value() const;
+ auto Value(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
};
template <> struct consume<winrt::Windows::Media::Devices::Core::IFrameExposureControl>
{
@@ -513,9 +509,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::Core::IFrameFlashCapabilities>
{
@@ -524,14 +520,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::Core::IFrameFlashControl>
{
@@ -540,10 +536,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::Core::IFrameFocusCapabilities>
{
@@ -552,8 +548,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Devices_Core_IFrameFocusControl
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) Value() const;
- WINRT_IMPL_AUTO(void) Value(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
+ [[nodiscard]] auto Value() const;
+ auto Value(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
};
template <> struct consume<winrt::Windows::Media::Devices::Core::IFrameFocusControl>
{
@@ -562,10 +558,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::Core::IFrameIsoSpeedCapabilities>
{
@@ -574,10 +570,10 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) Value() const;
- WINRT_IMPL_AUTO(void) Value(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
+ [[nodiscard]] auto Auto() const;
+ auto Auto(bool value) const;
+ [[nodiscard]] auto Value() const;
+ auto Value(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
};
template <> struct consume<winrt::Windows::Media::Devices::Core::IFrameIsoSpeedControl>
{
@@ -586,14 +582,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Devices::Core::FrameController>) 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<winrt::Windows::Media::Devices::Core::IVariablePhotoSequenceController>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.1.h
index 09eb22139ea..6ce7eb729c1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.2.h
index 6d0a8d7edd3..20d845840c4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Devices.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.0.h
index 66908f0c811..e7caa5baec0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Rect;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
@@ -20,8 +19,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
template <typename K, typename V> struct __declspec(empty_bases) IKeyValuePair;
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
@@ -263,10 +260,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_DialProtocol_IDialApp
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) AppName() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::DialProtocol::DialAppLaunchResult>) RequestLaunchAsync(param::hstring const& appArgument) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::DialProtocol::DialAppStopResult>) StopAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::DialProtocol::DialAppStateDetails>) GetAppStateAsync() const;
+ [[nodiscard]] auto AppName() const;
+ auto RequestLaunchAsync(param::hstring const& appArgument) const;
+ auto StopAsync() const;
+ auto GetAppStateAsync() const;
};
template <> struct consume<winrt::Windows::Media::DialProtocol::IDialApp>
{
@@ -275,8 +272,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::DialProtocol::IDialAppStateDetails>
{
@@ -285,8 +282,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::DialProtocol::IDialDevice>
{
@@ -295,8 +292,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::DialProtocol::IDialDevice2>
{
@@ -305,26 +302,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Media::DialProtocol::DialDeviceSelectedEventArgs> const& handler) const;
+ [[nodiscard]] auto Filter() const;
+ [[nodiscard]] auto Appearance() const;
+ auto DialDeviceSelected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Media::DialProtocol::DialDeviceSelectedEventArgs> const& handler) const;
using DialDeviceSelected_revoker = impl::event_revoker<winrt::Windows::Media::DialProtocol::IDialDevicePicker, &impl::abi_t<winrt::Windows::Media::DialProtocol::IDialDevicePicker>::remove_DialDeviceSelected>;
- [[nodiscard]] DialDeviceSelected_revoker DialDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Media::DialProtocol::DialDeviceSelectedEventArgs> 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<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Media::DialProtocol::DialDisconnectButtonClickedEventArgs> const& handler) const;
+ [[nodiscard]] auto DialDeviceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Media::DialProtocol::DialDeviceSelectedEventArgs> const& handler) const;
+ auto DialDeviceSelected(winrt::event_token const& token) const noexcept;
+ auto DisconnectButtonClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Media::DialProtocol::DialDisconnectButtonClickedEventArgs> const& handler) const;
using DisconnectButtonClicked_revoker = impl::event_revoker<winrt::Windows::Media::DialProtocol::IDialDevicePicker, &impl::abi_t<winrt::Windows::Media::DialProtocol::IDialDevicePicker>::remove_DisconnectButtonClicked>;
- [[nodiscard]] DisconnectButtonClicked_revoker DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Media::DialProtocol::DialDisconnectButtonClickedEventArgs> 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<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto DisconnectButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Media::DialProtocol::DialDisconnectButtonClickedEventArgs> const& handler) const;
+ auto DisconnectButtonClicked(winrt::event_token const& token) const noexcept;
+ auto DialDevicePickerDismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Foundation::IInspectable> const& handler) const;
using DialDevicePickerDismissed_revoker = impl::event_revoker<winrt::Windows::Media::DialProtocol::IDialDevicePicker, &impl::abi_t<winrt::Windows::Media::DialProtocol::IDialDevicePicker>::remove_DialDevicePickerDismissed>;
- [[nodiscard]] DialDevicePickerDismissed_revoker DialDevicePickerDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::DialProtocol::DialDevice>) PickSingleDialDeviceAsync(winrt::Windows::Foundation::Rect const& selection) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::DialProtocol::DialDevice>) 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<winrt::Windows::Media::DialProtocol::DialDevicePicker, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::DialProtocol::IDialDevicePicker>
{
@@ -333,7 +330,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_DialProtocol_IDialDevicePickerFilter
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) SupportedAppNames() const;
+ [[nodiscard]] auto SupportedAppNames() const;
};
template <> struct consume<winrt::Windows::Media::DialProtocol::IDialDevicePickerFilter>
{
@@ -342,7 +339,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_DialProtocol_IDialDeviceSelectedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialDevice) SelectedDialDevice() const;
+ [[nodiscard]] auto SelectedDialDevice() const;
};
template <> struct consume<winrt::Windows::Media::DialProtocol::IDialDeviceSelectedEventArgs>
{
@@ -351,9 +348,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_DialProtocol_IDialDeviceStatics
{
- WINRT_IMPL_AUTO(hstring) GetDeviceSelector(param::hstring const& appName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::DialProtocol::DialDevice>) FromIdAsync(param::hstring const& value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Media::DialProtocol::IDialDeviceStatics>
{
@@ -362,7 +359,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_DialProtocol_IDialDisconnectButtonClickedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialDevice) Device() const;
+ [[nodiscard]] auto Device() const;
};
template <> struct consume<winrt::Windows::Media::DialProtocol::IDialDisconnectButtonClickedEventArgs>
{
@@ -371,8 +368,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_DialProtocol_IDialReceiverApp
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMap<hstring, hstring>>) GetAdditionalDataAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetAdditionalDataAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& additionalData) const;
+ auto GetAdditionalDataAsync() const;
+ auto SetAdditionalDataAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& additionalData) const;
};
template <> struct consume<winrt::Windows::Media::DialProtocol::IDialReceiverApp>
{
@@ -381,7 +378,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_DialProtocol_IDialReceiverApp2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetUniqueDeviceNameAsync() const;
+ auto GetUniqueDeviceNameAsync() const;
};
template <> struct consume<winrt::Windows::Media::DialProtocol::IDialReceiverApp2>
{
@@ -390,7 +387,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_DialProtocol_IDialReceiverAppStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::DialProtocol::DialReceiverApp) Current() const;
+ [[nodiscard]] auto Current() const;
};
template <> struct consume<winrt::Windows::Media::DialProtocol::IDialReceiverAppStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.1.h
index a703e67989b..793b245cd0f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.2.h
index 2c9b64ecdd9..58af7121bd9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.DialProtocol.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.0.h
index 682c6e0faa2..005fbe49c40 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Rect;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<hstring, hstring>) 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<winrt::Windows::Media::Effects::IAudioEffectDefinition>) 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<winrt::Windows::Media::Editing::IBackgroundAudioTrack>
{
@@ -324,8 +309,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Editing::BackgroundAudioTrack>) 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<winrt::Windows::Media::Editing::IBackgroundAudioTrackStatics>
{
@@ -334,7 +319,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Editing_IEmbeddedAudioTrack
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) GetAudioEncodingProperties() const;
+ auto GetAudioEncodingProperties() const;
};
template <> struct consume<winrt::Windows::Media::Editing::IEmbeddedAudioTrack>
{
@@ -343,24 +328,24 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring>) 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<winrt::Windows::Media::Editing::EmbeddedAudioTrack>) 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<winrt::Windows::Media::Effects::IAudioEffectDefinition>) AudioEffectDefinitions() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Effects::IVideoEffectDefinition>) 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<winrt::Windows::Media::Editing::IMediaClip>
{
@@ -369,9 +354,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Editing::MediaClip>) CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Editing::MediaClip>) 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<winrt::Windows::Media::Editing::IMediaClipStatics>
{
@@ -380,7 +365,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Editing::IMediaClipStatics2>
{
@@ -389,21 +374,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Editing::MediaClip>) Clips() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Editing::BackgroundAudioTrack>) BackgroundAudioTracks() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) 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<winrt::Windows::Graphics::Imaging::ImageStream>) 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Imaging::ImageStream>>) GetThumbnailsAsync(param::async_iterable<winrt::Windows::Foundation::TimeSpan> const& timesFromStart, int32_t scaledWidth, int32_t scaledHeight, winrt::Windows::Media::Editing::VideoFramePrecision const& framePrecision) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Transcoding::TranscodeFailureReason, double>) RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Transcoding::TranscodeFailureReason, double>) RenderToFileAsync(winrt::Windows::Storage::IStorageFile const& destination, winrt::Windows::Media::Editing::MediaTrimmingPreference const& trimmingPreference) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Transcoding::TranscodeFailureReason, double>) 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<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::Media::Editing::IMediaComposition>
{
@@ -412,7 +397,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Editing_IMediaComposition2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Editing::MediaOverlayLayer>) OverlayLayers() const;
+ [[nodiscard]] auto OverlayLayers() const;
};
template <> struct consume<winrt::Windows::Media::Editing::IMediaComposition2>
{
@@ -421,7 +406,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Editing_IMediaCompositionStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Editing::MediaComposition>) LoadAsync(winrt::Windows::Storage::StorageFile const& file) const;
+ auto LoadAsync(winrt::Windows::Storage::StorageFile const& file) const;
};
template <> struct consume<winrt::Windows::Media::Editing::IMediaCompositionStatics>
{
@@ -430,16 +415,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Editing::IMediaOverlay>
{
@@ -448,8 +433,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Editing::IMediaOverlayFactory>
{
@@ -458,9 +443,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Editing::MediaOverlay>) 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<winrt::Windows::Media::Editing::IMediaOverlayLayer>
{
@@ -469,7 +454,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Editing::IMediaOverlayLayerFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.1.h
index 79048d9b644..f4b032a187c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.2.h
index b291d471912..d9da22da43b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Editing.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.0.h
index c5ee42cb648..64eab25b3ea 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics
{
@@ -453,11 +452,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Effects_IAudioCaptureEffectsManager
{
- WINRT_IMPL_AUTO(winrt::event_token) AudioCaptureEffectsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Effects::AudioCaptureEffectsManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AudioCaptureEffectsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Effects::AudioCaptureEffectsManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
using AudioCaptureEffectsChanged_revoker = impl::event_revoker<winrt::Windows::Media::Effects::IAudioCaptureEffectsManager, &impl::abi_t<winrt::Windows::Media::Effects::IAudioCaptureEffectsManager>::remove_AudioCaptureEffectsChanged>;
- [[nodiscard]] AudioCaptureEffectsChanged_revoker AudioCaptureEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Effects::AudioCaptureEffectsManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
- WINRT_IMPL_AUTO(void) AudioCaptureEffectsChanged(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Effects::AudioEffect>) GetAudioCaptureEffects() const;
+ [[nodiscard]] auto AudioCaptureEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Effects::AudioCaptureEffectsManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AudioCaptureEffectsChanged(winrt::event_token const& token) const noexcept;
+ auto GetAudioCaptureEffects() const;
};
template <> struct consume<winrt::Windows::Media::Effects::IAudioCaptureEffectsManager>
{
@@ -466,7 +465,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Effects_IAudioEffect
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::AudioEffectType) AudioEffectType() const;
+ [[nodiscard]] auto AudioEffectType() const;
};
template <> struct consume<winrt::Windows::Media::Effects::IAudioEffect>
{
@@ -475,8 +474,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Effects::IAudioEffectDefinition>
{
@@ -485,8 +484,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Effects::IAudioEffectDefinitionFactory>
{
@@ -495,10 +494,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Effects::IAudioEffectsManagerStatics>
{
@@ -507,11 +506,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Effects_IAudioRenderEffectsManager
{
- WINRT_IMPL_AUTO(winrt::event_token) AudioRenderEffectsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Effects::AudioRenderEffectsManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AudioRenderEffectsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Effects::AudioRenderEffectsManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
using AudioRenderEffectsChanged_revoker = impl::event_revoker<winrt::Windows::Media::Effects::IAudioRenderEffectsManager, &impl::abi_t<winrt::Windows::Media::Effects::IAudioRenderEffectsManager>::remove_AudioRenderEffectsChanged>;
- [[nodiscard]] AudioRenderEffectsChanged_revoker AudioRenderEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Effects::AudioRenderEffectsManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
- WINRT_IMPL_AUTO(void) AudioRenderEffectsChanged(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Effects::AudioEffect>) GetAudioRenderEffects() const;
+ [[nodiscard]] auto AudioRenderEffectsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Effects::AudioRenderEffectsManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AudioRenderEffectsChanged(winrt::event_token const& token) const noexcept;
+ auto GetAudioRenderEffects() const;
};
template <> struct consume<winrt::Windows::Media::Effects::IAudioRenderEffectsManager>
{
@@ -520,9 +519,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Effects::IAudioRenderEffectsManager2>
{
@@ -531,12 +530,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Effects_IBasicAudioEffect
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) UseInputFrameForOutput() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::MediaProperties::AudioEncodingProperties>) 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<winrt::Windows::Media::Effects::IBasicAudioEffect>
{
@@ -545,14 +544,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::VideoEncodingProperties>) 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<winrt::Windows::Media::Effects::IBasicVideoEffect>
{
@@ -561,10 +560,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Effects_ICompositeVideoFrameContext
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::DirectX::Direct3D11::IDirect3DSurface>) 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<winrt::Windows::Media::Effects::ICompositeVideoFrameContext>
{
@@ -573,8 +572,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Effects::IProcessAudioFrameContext>
{
@@ -583,8 +582,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Effects::IProcessVideoFrameContext>
{
@@ -593,8 +592,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Effects::ISlowMotionEffectDefinition>
{
@@ -603,11 +602,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Effects::IVideoCompositor>
{
@@ -616,8 +615,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Effects::IVideoCompositorDefinition>
{
@@ -626,8 +625,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Effects::IVideoCompositorDefinitionFactory>
{
@@ -636,8 +635,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Effects::IVideoEffectDefinition>
{
@@ -646,8 +645,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Effects::IVideoEffectDefinitionFactory>
{
@@ -656,18 +655,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Effects::IVideoTransformEffectDefinition>
{
@@ -676,7 +675,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Effects_IVideoTransformEffectDefinition2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Effects::VideoTransformSphericalProjection) SphericalProjection() const;
+ [[nodiscard]] auto SphericalProjection() const;
};
template <> struct consume<winrt::Windows::Media::Effects::IVideoTransformEffectDefinition2>
{
@@ -685,16 +684,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Effects::IVideoTransformSphericalProjection>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.1.h
index 5eb42552df1..7d06552af65 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.2.h
index 6704ab6156c..40a3a91cc07 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Effects.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.0.h
index 2dc915eacf7..d041759b2f9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::Graphics::Imaging
{
struct BitmapBounds;
@@ -113,7 +104,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_FaceAnalysis_IDetectedFace
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Graphics::Imaging::BitmapBounds) FaceBox() const;
+ [[nodiscard]] auto FaceBox() const;
};
template <> struct consume<winrt::Windows::Media::FaceAnalysis::IDetectedFace>
{
@@ -122,12 +113,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_FaceAnalysis_IFaceDetector
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::FaceAnalysis::DetectedFace>>) DetectFacesAsync(winrt::Windows::Graphics::Imaging::SoftwareBitmap const& image) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::FaceAnalysis::DetectedFace>>) 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<winrt::Windows::Media::FaceAnalysis::IFaceDetector>
{
@@ -136,10 +127,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_FaceAnalysis_IFaceDetectorStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::FaceAnalysis::FaceDetector>) CreateAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Imaging::BitmapPixelFormat>) 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<winrt::Windows::Media::FaceAnalysis::IFaceDetectorStatics>
{
@@ -148,11 +139,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_FaceAnalysis_IFaceTracker
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::FaceAnalysis::DetectedFace>>) 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<winrt::Windows::Media::FaceAnalysis::IFaceTracker>
{
@@ -161,10 +152,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_FaceAnalysis_IFaceTrackerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::FaceAnalysis::FaceTracker>) CreateAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::Imaging::BitmapPixelFormat>) 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<winrt::Windows::Media::FaceAnalysis::IFaceTrackerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.1.h
index 51f03691eb6..ea4c86fde2f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.2.h
index 456a0628f7b..515bb499ffb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.FaceAnalysis.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.0.h
index dd6b9f8ef42..de074b69c08 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Storage
{
struct IStorageFolder;
@@ -496,19 +489,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Import::PhotoImportItem>) 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<winrt::Windows::Media::Import::IPhotoImportDeleteImportedItemsFromSourceResult>
{
@@ -517,43 +510,43 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Import::PhotoImportItem>) 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<winrt::Windows::Media::Import::PhotoImportFindItemsResult, winrt::Windows::Media::Import::PhotoImportSelectionChangedEventArgs> 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<winrt::Windows::Media::Import::PhotoImportFindItemsResult, winrt::Windows::Media::Import::PhotoImportSelectionChangedEventArgs> const& value) const;
using SelectionChanged_revoker = impl::event_revoker<winrt::Windows::Media::Import::IPhotoImportFindItemsResult, &impl::abi_t<winrt::Windows::Media::Import::IPhotoImportFindItemsResult>::remove_SelectionChanged>;
- [[nodiscard]] SelectionChanged_revoker SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Import::PhotoImportFindItemsResult, winrt::Windows::Media::Import::PhotoImportSelectionChangedEventArgs> const& value) const;
- WINRT_IMPL_AUTO(void) SelectionChanged(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Import::PhotoImportImportItemsResult, winrt::Windows::Media::Import::PhotoImportProgress>) ImportItemsAsync() const;
- WINRT_IMPL_AUTO(winrt::event_token) ItemImported(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Import::PhotoImportFindItemsResult, winrt::Windows::Media::Import::PhotoImportItemImportedEventArgs> const& value) const;
+ [[nodiscard]] auto SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Import::PhotoImportFindItemsResult, winrt::Windows::Media::Import::PhotoImportSelectionChangedEventArgs> const& value) const;
+ auto SelectionChanged(winrt::event_token const& token) const noexcept;
+ auto ImportItemsAsync() const;
+ auto ItemImported(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Import::PhotoImportFindItemsResult, winrt::Windows::Media::Import::PhotoImportItemImportedEventArgs> const& value) const;
using ItemImported_revoker = impl::event_revoker<winrt::Windows::Media::Import::IPhotoImportFindItemsResult, &impl::abi_t<winrt::Windows::Media::Import::IPhotoImportFindItemsResult>::remove_ItemImported>;
- [[nodiscard]] ItemImported_revoker ItemImported(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Import::PhotoImportFindItemsResult, winrt::Windows::Media::Import::PhotoImportItemImportedEventArgs> 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<winrt::Windows::Media::Import::PhotoImportFindItemsResult, winrt::Windows::Media::Import::PhotoImportItemImportedEventArgs> const& value) const;
+ auto ItemImported(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Import::IPhotoImportFindItemsResult>
{
@@ -562,7 +555,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Import::IPhotoImportFindItemsResult2>
{
@@ -571,20 +564,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Import::PhotoImportItem>) 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<winrt::Windows::Media::Import::PhotoImportDeleteImportedItemsFromSourceResult, double>) 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<winrt::Windows::Media::Import::IPhotoImportImportItemsResult>
{
@@ -593,19 +586,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Import::PhotoImportSidecar>) Sidecars() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportVideoSegment>) 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<hstring>) ImportedFileNames() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) 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<winrt::Windows::Media::Import::IPhotoImportItem>
{
@@ -614,7 +607,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Import_IPhotoImportItem2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Path() const;
+ [[nodiscard]] auto Path() const;
};
template <> struct consume<winrt::Windows::Media::Import::IPhotoImportItem2>
{
@@ -623,7 +616,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Import_IPhotoImportItemImportedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Import::PhotoImportItem) ImportedItem() const;
+ [[nodiscard]] auto ImportedItem() const;
};
template <> struct consume<winrt::Windows::Media::Import::IPhotoImportItemImportedEventArgs>
{
@@ -632,9 +625,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Import_IPhotoImportManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) IsSupportedAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportSource>>) FindAllSourcesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportOperation>) GetPendingOperations() const;
+ auto IsSupportedAsync() const;
+ auto FindAllSourcesAsync() const;
+ auto GetPendingOperations() const;
};
template <> struct consume<winrt::Windows::Media::Import::IPhotoImportManagerStatics>
{
@@ -643,11 +636,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Import::PhotoImportFindItemsResult, uint32_t>) ContinueFindingItemsAsync() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Import::PhotoImportImportItemsResult, winrt::Windows::Media::Import::PhotoImportProgress>) ContinueImportingItemsAsync() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Import::PhotoImportDeleteImportedItemsFromSourceResult, double>) 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<winrt::Windows::Media::Import::IPhotoImportOperation>
{
@@ -656,7 +649,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Import_IPhotoImportSelectionChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSelectionEmpty() const;
+ [[nodiscard]] auto IsSelectionEmpty() const;
};
template <> struct consume<winrt::Windows::Media::Import::IPhotoImportSelectionChangedEventArgs>
{
@@ -665,17 +658,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Import::PhotoImportFindItemsResult, uint32_t>) 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<winrt::Windows::Media::Import::IPhotoImportSession>
{
@@ -684,10 +677,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Import::IPhotoImportSession2>
{
@@ -696,9 +689,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Import::IPhotoImportSidecar>
{
@@ -707,23 +700,23 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) BatteryLevelPercent() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) DateTime() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Import::PhotoImportStorageMedium>) StorageMedia() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) 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<winrt::Windows::Media::Import::IPhotoImportSource>
{
@@ -732,8 +725,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Import_IPhotoImportSourceStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Import::PhotoImportSource>) FromIdAsync(param::hstring const& sourceId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Import::PhotoImportSource>) 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<winrt::Windows::Media::Import::IPhotoImportSourceStatics>
{
@@ -742,14 +735,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Import::IPhotoImportStorageMedium>
{
@@ -758,11 +751,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Import::PhotoImportSidecar>) 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<winrt::Windows::Media::Import::IPhotoImportVideoSegment>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.1.h
index b95c1b8a104..34f957191ce 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.2.h
index 5abb8ca7c43..75a3036f443 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Import.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.0.h
index cfde96d2c77..1d3a3062df0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Media::Core
{
@@ -684,14 +679,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IAudioEncodingProperties>
{
@@ -700,7 +695,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_MediaProperties_IAudioEncodingProperties2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSpatial() const;
+ [[nodiscard]] auto IsSpatial() const;
};
template <> struct consume<winrt::Windows::Media::MediaProperties::IAudioEncodingProperties2>
{
@@ -709,7 +704,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_MediaProperties_IAudioEncodingProperties3
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::AudioEncodingProperties) Copy() const;
+ auto Copy() const;
};
template <> struct consume<winrt::Windows::Media::MediaProperties::IAudioEncodingProperties3>
{
@@ -718,11 +713,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IAudioEncodingPropertiesStatics>
{
@@ -731,8 +726,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IAudioEncodingPropertiesStatics2>
{
@@ -741,8 +736,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_MediaProperties_IAudioEncodingPropertiesWithFormatUserData
{
- WINRT_IMPL_AUTO(void) SetFormatUserData(array_view<uint8_t const> value) const;
- WINRT_IMPL_AUTO(void) GetFormatUserData(com_array<uint8_t>& value) const;
+ auto SetFormatUserData(array_view<uint8_t const> value) const;
+ auto GetFormatUserData(com_array<uint8_t>& value) const;
};
template <> struct consume<winrt::Windows::Media::MediaProperties::IAudioEncodingPropertiesWithFormatUserData>
{
@@ -759,7 +754,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_MediaProperties_IContainerEncodingProperties2
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ContainerEncodingProperties) Copy() const;
+ auto Copy() const;
};
template <> struct consume<winrt::Windows::Media::MediaProperties::IContainerEncodingProperties2>
{
@@ -768,16 +763,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IH264ProfileIdsStatics>
{
@@ -786,10 +781,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IImageEncodingProperties>
{
@@ -798,7 +793,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_MediaProperties_IImageEncodingProperties2
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) Copy() const;
+ auto Copy() const;
};
template <> struct consume<winrt::Windows::Media::MediaProperties::IImageEncodingProperties2>
{
@@ -807,9 +802,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IImageEncodingPropertiesStatics>
{
@@ -818,8 +813,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IImageEncodingPropertiesStatics2>
{
@@ -828,7 +823,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_MediaProperties_IImageEncodingPropertiesStatics3
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::ImageEncodingProperties) CreateHeif() const;
+ auto CreateHeif() const;
};
template <> struct consume<winrt::Windows::Media::MediaProperties::IImageEncodingPropertiesStatics3>
{
@@ -837,12 +832,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IMediaEncodingProfile>
{
@@ -851,10 +846,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_MediaProperties_IMediaEncodingProfile2
{
- WINRT_IMPL_AUTO(void) SetAudioTracks(param::iterable<winrt::Windows::Media::Core::AudioStreamDescriptor> const& value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Core::AudioStreamDescriptor>) GetAudioTracks() const;
- WINRT_IMPL_AUTO(void) SetVideoTracks(param::iterable<winrt::Windows::Media::Core::VideoStreamDescriptor> const& value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Core::VideoStreamDescriptor>) GetVideoTracks() const;
+ auto SetAudioTracks(param::iterable<winrt::Windows::Media::Core::AudioStreamDescriptor> const& value) const;
+ auto GetAudioTracks() const;
+ auto SetVideoTracks(param::iterable<winrt::Windows::Media::Core::VideoStreamDescriptor> const& value) const;
+ auto GetVideoTracks() const;
};
template <> struct consume<winrt::Windows::Media::MediaProperties::IMediaEncodingProfile2>
{
@@ -863,8 +858,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_MediaProperties_IMediaEncodingProfile3
{
- WINRT_IMPL_AUTO(void) SetTimedMetadataTracks(param::iterable<winrt::Windows::Media::Core::TimedMetadataStreamDescriptor> const& value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Core::TimedMetadataStreamDescriptor>) GetTimedMetadataTracks() const;
+ auto SetTimedMetadataTracks(param::iterable<winrt::Windows::Media::Core::TimedMetadataStreamDescriptor> const& value) const;
+ auto GetTimedMetadataTracks() const;
};
template <> struct consume<winrt::Windows::Media::MediaProperties::IMediaEncodingProfile3>
{
@@ -873,13 +868,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::MediaEncodingProfile>) CreateFromFileAsync(winrt::Windows::Storage::IStorageFile const& file) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::MediaProperties::MediaEncodingProfile>) 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<winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics>
{
@@ -888,8 +883,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics2>
{
@@ -898,9 +893,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IMediaEncodingProfileStatics3>
{
@@ -909,10 +904,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IMediaEncodingProperties>
{
@@ -921,46 +916,46 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics>
{
@@ -969,10 +964,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics2>
{
@@ -981,8 +976,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics3>
{
@@ -991,7 +986,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics4
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) P010() const;
+ [[nodiscard]] auto P010() const;
};
template <> struct consume<winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics4>
{
@@ -1000,7 +995,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_MediaProperties_IMediaEncodingSubtypesStatics5
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Heif() const;
+ [[nodiscard]] auto Heif() const;
};
template <> struct consume<winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics5>
{
@@ -1009,10 +1004,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IMediaEncodingSubtypesStatics6>
{
@@ -1021,10 +1016,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IMediaRatio>
{
@@ -1033,11 +1028,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IMpeg2ProfileIdsStatics>
{
@@ -1046,9 +1041,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_MediaProperties_ITimedMetadataEncodingProperties
{
- WINRT_IMPL_AUTO(void) SetFormatUserData(array_view<uint8_t const> value) const;
- WINRT_IMPL_AUTO(void) GetFormatUserData(com_array<uint8_t>& value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) Copy() const;
+ auto SetFormatUserData(array_view<uint8_t const> value) const;
+ auto GetFormatUserData(com_array<uint8_t>& value) const;
+ auto Copy() const;
};
template <> struct consume<winrt::Windows::Media::MediaProperties::ITimedMetadataEncodingProperties>
{
@@ -1057,10 +1052,10 @@ namespace winrt::impl
template <typename D>
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<uint8_t const> formatUserData) const;
- WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::TimedMetadataEncodingProperties) CreateVobSub(array_view<uint8_t const> formatUserData) const;
+ auto CreatePgs() const;
+ auto CreateSrt() const;
+ auto CreateSsa(array_view<uint8_t const> formatUserData) const;
+ auto CreateVobSub(array_view<uint8_t const> formatUserData) const;
};
template <> struct consume<winrt::Windows::Media::MediaProperties::ITimedMetadataEncodingPropertiesStatics>
{
@@ -1069,14 +1064,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IVideoEncodingProperties>
{
@@ -1085,10 +1080,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_MediaProperties_IVideoEncodingProperties2
{
- WINRT_IMPL_AUTO(void) SetFormatUserData(array_view<uint8_t const> value) const;
- WINRT_IMPL_AUTO(void) GetFormatUserData(com_array<uint8_t>& value) const;
- WINRT_IMPL_AUTO(void) ProfileId(int32_t value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) ProfileId() const;
+ auto SetFormatUserData(array_view<uint8_t const> value) const;
+ auto GetFormatUserData(com_array<uint8_t>& value) const;
+ auto ProfileId(int32_t value) const;
+ [[nodiscard]] auto ProfileId() const;
};
template <> struct consume<winrt::Windows::Media::MediaProperties::IVideoEncodingProperties2>
{
@@ -1097,7 +1092,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_MediaProperties_IVideoEncodingProperties3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::StereoscopicVideoPackingMode) StereoscopicVideoPackingMode() const;
+ [[nodiscard]] auto StereoscopicVideoPackingMode() const;
};
template <> struct consume<winrt::Windows::Media::MediaProperties::IVideoEncodingProperties3>
{
@@ -1106,7 +1101,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_MediaProperties_IVideoEncodingProperties4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::SphericalVideoFrameFormat) SphericalVideoFrameFormat() const;
+ [[nodiscard]] auto SphericalVideoFrameFormat() const;
};
template <> struct consume<winrt::Windows::Media::MediaProperties::IVideoEncodingProperties4>
{
@@ -1115,7 +1110,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_MediaProperties_IVideoEncodingProperties5
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) Copy() const;
+ auto Copy() const;
};
template <> struct consume<winrt::Windows::Media::MediaProperties::IVideoEncodingProperties5>
{
@@ -1124,9 +1119,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::MediaProperties::IVideoEncodingPropertiesStatics>
{
@@ -1135,7 +1130,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_MediaProperties_IVideoEncodingPropertiesStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::MediaProperties::VideoEncodingProperties) CreateHevc() const;
+ auto CreateHevc() const;
};
template <> struct consume<winrt::Windows::Media::MediaProperties::IVideoEncodingPropertiesStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.1.h
index 591d7b26a16..c42223accc0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.2.h
index c7253dd90f2..25376c5e8b3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.MediaProperties.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.0.h
index 88ea97e2edf..8fb3411cef0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Graphics
{
struct PointInt32;
@@ -480,21 +475,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Miracast::MiracastReceiverSettings>) 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<winrt::Windows::Media::Miracast::MiracastReceiverApplySettingsResult>) 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<winrt::Windows::Media::Miracast::MiracastReceiverStatus>) GetStatusAsync() const;
- WINRT_IMPL_AUTO(winrt::event_token) StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiver, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Miracast::MiracastReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const;
using StatusChanged_revoker = impl::event_revoker<winrt::Windows::Media::Miracast::IMiracastReceiver, &impl::abi_t<winrt::Windows::Media::Miracast::IMiracastReceiver>::remove_StatusChanged>;
- [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiver, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Miracast::MiracastReceiverSession>) 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<winrt::Windows::Media::Miracast::MiracastReceiver, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Miracast::IMiracastReceiver>
{
@@ -503,8 +498,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Miracast::IMiracastReceiverApplySettingsResult>
{
@@ -513,16 +508,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Miracast::IMiracastReceiverConnection>
{
@@ -531,9 +526,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Miracast::IMiracastReceiverConnectionCreatedEventArgs>
{
@@ -542,18 +537,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ImageStreamChanged_revoker = impl::event_revoker<winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel, &impl::abi_t<winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel>::remove_ImageStreamChanged>;
- [[nodiscard]] ImageStreamChanged_revoker ImageStreamChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto ImageStreamChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ImageStreamChanged(winrt::event_token const& token) const noexcept;
+ auto PositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel, winrt::Windows::Foundation::IInspectable> const& handler) const;
using PositionChanged_revoker = impl::event_revoker<winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel, &impl::abi_t<winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel>::remove_PositionChanged>;
- [[nodiscard]] PositionChanged_revoker PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Miracast::MiracastReceiverCursorImageChannel, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PositionChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannel>
{
@@ -562,10 +557,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Miracast::IMiracastReceiverCursorImageChannelSettings>
{
@@ -574,7 +569,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Miracast_IMiracastReceiverDisconnectedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverConnection) Connection() const;
+ [[nodiscard]] auto Connection() const;
};
template <> struct consume<winrt::Windows::Media::Miracast::IMiracastReceiverDisconnectedEventArgs>
{
@@ -583,16 +578,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDevice, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Changed_revoker = impl::event_revoker<winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice, &impl::abi_t<winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice>::remove_Changed>;
- [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDevice, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Miracast::MiracastReceiverGameControllerDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Changed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Miracast::IMiracastReceiverGameControllerDevice>
{
@@ -601,8 +596,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Miracast::IMiracastReceiverInputDevices>
{
@@ -611,14 +606,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Miracast::MiracastReceiverKeyboardDevice, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Miracast::MiracastReceiverKeyboardDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Changed_revoker = impl::event_revoker<winrt::Windows::Media::Miracast::IMiracastReceiverKeyboardDevice, &impl::abi_t<winrt::Windows::Media::Miracast::IMiracastReceiverKeyboardDevice>::remove_Changed>;
- [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverKeyboardDevice, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Miracast::MiracastReceiverKeyboardDevice, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Changed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Miracast::IMiracastReceiverKeyboardDevice>
{
@@ -627,10 +622,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Miracast::IMiracastReceiverMediaSourceCreatedEventArgs>
{
@@ -639,24 +634,24 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Miracast_IMiracastReceiverSession
{
- WINRT_IMPL_AUTO(winrt::event_token) ConnectionCreated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverConnectionCreatedEventArgs> const& handler) const;
+ auto ConnectionCreated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverConnectionCreatedEventArgs> const& handler) const;
using ConnectionCreated_revoker = impl::event_revoker<winrt::Windows::Media::Miracast::IMiracastReceiverSession, &impl::abi_t<winrt::Windows::Media::Miracast::IMiracastReceiverSession>::remove_ConnectionCreated>;
- [[nodiscard]] ConnectionCreated_revoker ConnectionCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverConnectionCreatedEventArgs> 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<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverMediaSourceCreatedEventArgs> const& handler) const;
+ [[nodiscard]] auto ConnectionCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverConnectionCreatedEventArgs> const& handler) const;
+ auto ConnectionCreated(winrt::event_token const& token) const noexcept;
+ auto MediaSourceCreated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverMediaSourceCreatedEventArgs> const& handler) const;
using MediaSourceCreated_revoker = impl::event_revoker<winrt::Windows::Media::Miracast::IMiracastReceiverSession, &impl::abi_t<winrt::Windows::Media::Miracast::IMiracastReceiverSession>::remove_MediaSourceCreated>;
- [[nodiscard]] MediaSourceCreated_revoker MediaSourceCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverMediaSourceCreatedEventArgs> 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<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverDisconnectedEventArgs> const& handler) const;
+ [[nodiscard]] auto MediaSourceCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverMediaSourceCreatedEventArgs> const& handler) const;
+ auto MediaSourceCreated(winrt::event_token const& token) const noexcept;
+ auto Disconnected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverDisconnectedEventArgs> const& handler) const;
using Disconnected_revoker = impl::event_revoker<winrt::Windows::Media::Miracast::IMiracastReceiverSession, &impl::abi_t<winrt::Windows::Media::Miracast::IMiracastReceiverSession>::remove_Disconnected>;
- [[nodiscard]] Disconnected_revoker Disconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverDisconnectedEventArgs> 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<winrt::Windows::Media::Miracast::MiracastReceiverSessionStartResult>) StartAsync() const;
+ [[nodiscard]] auto Disconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Miracast::MiracastReceiverSession, winrt::Windows::Media::Miracast::MiracastReceiverDisconnectedEventArgs> 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<winrt::Windows::Media::Miracast::IMiracastReceiverSession>
{
@@ -665,8 +660,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Miracast::IMiracastReceiverSessionStartResult>
{
@@ -675,16 +670,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Miracast::IMiracastReceiverSettings>
{
@@ -693,11 +688,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Miracast::MiracastTransmitter>) 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<winrt::Windows::Media::Miracast::IMiracastReceiverStatus>
{
@@ -706,12 +701,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Miracast_IMiracastReceiverStreamControl
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings) GetVideoStreamSettings() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Miracast::MiracastReceiverVideoStreamSettings>) 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<winrt::Windows::Media::Miracast::IMiracastReceiverStreamControl>
{
@@ -720,10 +715,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Miracast::IMiracastReceiverVideoStreamSettings>
{
@@ -732,13 +727,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Miracast::MiracastReceiverConnection>) 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<winrt::Windows::Media::Miracast::IMiracastTransmitter>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.1.h
index 73eefa50e03..df98e4e3165 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.2.h
index e070fdeeaf0..b0bab1c8302 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Miracast.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.0.h
index eb667249777..db6ab92d45b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
struct Rect;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Globalization
{
struct Language;
@@ -109,8 +103,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Ocr_IOcrEngine
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Ocr::OcrResult>) 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<winrt::Windows::Media::Ocr::IOcrEngine>
{
@@ -119,11 +113,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Ocr_IOcrEngineStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MaxImageDimension() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Globalization::Language>) 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<winrt::Windows::Media::Ocr::IOcrEngineStatics>
{
@@ -132,8 +126,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Ocr_IOcrLine
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Ocr::OcrWord>) Words() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const;
+ [[nodiscard]] auto Words() const;
+ [[nodiscard]] auto Text() const;
};
template <> struct consume<winrt::Windows::Media::Ocr::IOcrLine>
{
@@ -142,9 +136,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Ocr_IOcrResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Ocr::OcrLine>) Lines() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) TextAngle() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const;
+ [[nodiscard]] auto Lines() const;
+ [[nodiscard]] auto TextAngle() const;
+ [[nodiscard]] auto Text() const;
};
template <> struct consume<winrt::Windows::Media::Ocr::IOcrResult>
{
@@ -153,8 +147,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Ocr::IOcrWord>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.1.h
index 2e2dd93e93a..bd51570ee24 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.2.h
index 617b5e647cb..58c6b76d7c5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Ocr.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.0.h
index f926c211b61..d5312e863c0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
struct IPropertySet;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
@@ -384,7 +382,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_PlayTo_ICurrentTimeChangeRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) Time() const;
+ [[nodiscard]] auto Time() const;
};
template <> struct consume<winrt::Windows::Media::PlayTo::ICurrentTimeChangeRequestedEventArgs>
{
@@ -393,7 +391,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_PlayTo_IMuteChangeRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) Mute() const;
+ [[nodiscard]] auto Mute() const;
};
template <> struct consume<winrt::Windows::Media::PlayTo::IMuteChangeRequestedEventArgs>
{
@@ -402,19 +400,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionStateChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto State() const;
+ auto StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionStateChangedEventArgs> const& handler) const;
using StateChanged_revoker = impl::event_revoker<winrt::Windows::Media::PlayTo::IPlayToConnection, &impl::abi_t<winrt::Windows::Media::PlayTo::IPlayToConnection>::remove_StateChanged>;
- [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionStateChangedEventArgs> 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<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionTransferredEventArgs> const& handler) const;
+ [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionStateChangedEventArgs> const& handler) const;
+ auto StateChanged(winrt::event_token const& token) const noexcept;
+ auto Transferred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionTransferredEventArgs> const& handler) const;
using Transferred_revoker = impl::event_revoker<winrt::Windows::Media::PlayTo::IPlayToConnection, &impl::abi_t<winrt::Windows::Media::PlayTo::IPlayToConnection>::remove_Transferred>;
- [[nodiscard]] Transferred_revoker Transferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionTransferredEventArgs> 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<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionErrorEventArgs> const& handler) const;
+ [[nodiscard]] auto Transferred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionTransferredEventArgs> const& handler) const;
+ auto Transferred(winrt::event_token const& token) const noexcept;
+ auto Error(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionErrorEventArgs> const& handler) const;
using Error_revoker = impl::event_revoker<winrt::Windows::Media::PlayTo::IPlayToConnection, &impl::abi_t<winrt::Windows::Media::PlayTo::IPlayToConnection>::remove_Error>;
- [[nodiscard]] Error_revoker Error(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionErrorEventArgs> 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<winrt::Windows::Media::PlayTo::PlayToConnection, winrt::Windows::Media::PlayTo::PlayToConnectionErrorEventArgs> const& handler) const;
+ auto Error(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::PlayTo::IPlayToConnection>
{
@@ -423,8 +421,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::PlayTo::IPlayToConnectionErrorEventArgs>
{
@@ -433,8 +431,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::PlayTo::IPlayToConnectionStateChangedEventArgs>
{
@@ -443,8 +441,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::PlayTo::IPlayToConnectionTransferredEventArgs>
{
@@ -453,16 +451,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_PlayTo_IPlayToManager
{
- WINRT_IMPL_AUTO(winrt::event_token) SourceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToManager, winrt::Windows::Media::PlayTo::PlayToSourceRequestedEventArgs> const& handler) const;
+ auto SourceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToManager, winrt::Windows::Media::PlayTo::PlayToSourceRequestedEventArgs> const& handler) const;
using SourceRequested_revoker = impl::event_revoker<winrt::Windows::Media::PlayTo::IPlayToManager, &impl::abi_t<winrt::Windows::Media::PlayTo::IPlayToManager>::remove_SourceRequested>;
- [[nodiscard]] SourceRequested_revoker SourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToManager, winrt::Windows::Media::PlayTo::PlayToSourceRequestedEventArgs> 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<winrt::Windows::Media::PlayTo::PlayToManager, winrt::Windows::Media::PlayTo::PlayToSourceSelectedEventArgs> const& handler) const;
+ [[nodiscard]] auto SourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToManager, winrt::Windows::Media::PlayTo::PlayToSourceRequestedEventArgs> const& handler) const;
+ auto SourceRequested(winrt::event_token const& token) const noexcept;
+ auto SourceSelected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToManager, winrt::Windows::Media::PlayTo::PlayToSourceSelectedEventArgs> const& handler) const;
using SourceSelected_revoker = impl::event_revoker<winrt::Windows::Media::PlayTo::IPlayToManager, &impl::abi_t<winrt::Windows::Media::PlayTo::IPlayToManager>::remove_SourceSelected>;
- [[nodiscard]] SourceSelected_revoker SourceSelected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToManager, winrt::Windows::Media::PlayTo::PlayToSourceSelectedEventArgs> 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<winrt::Windows::Media::PlayTo::PlayToManager, winrt::Windows::Media::PlayTo::PlayToSourceSelectedEventArgs> const& handler) const;
+ auto SourceSelected(winrt::event_token const& token) const noexcept;
+ auto DefaultSourceSelection(bool value) const;
+ [[nodiscard]] auto DefaultSourceSelection() const;
};
template <> struct consume<winrt::Windows::Media::PlayTo::IPlayToManager>
{
@@ -471,8 +469,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::PlayTo::IPlayToManagerStatics>
{
@@ -481,65 +479,65 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_PlayTo_IPlayToReceiver
{
- WINRT_IMPL_AUTO(winrt::event_token) PlayRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PlayRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const;
using PlayRequested_revoker = impl::event_revoker<winrt::Windows::Media::PlayTo::IPlayToReceiver, &impl::abi_t<winrt::Windows::Media::PlayTo::IPlayToReceiver>::remove_PlayRequested>;
- [[nodiscard]] PlayRequested_revoker PlayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto PlayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PlayRequested(winrt::event_token const& token) const noexcept;
+ auto PauseRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const;
using PauseRequested_revoker = impl::event_revoker<winrt::Windows::Media::PlayTo::IPlayToReceiver, &impl::abi_t<winrt::Windows::Media::PlayTo::IPlayToReceiver>::remove_PauseRequested>;
- [[nodiscard]] PauseRequested_revoker PauseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::SourceChangeRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto PauseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PauseRequested(winrt::event_token const& token) const noexcept;
+ auto SourceChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::SourceChangeRequestedEventArgs> const& handler) const;
using SourceChangeRequested_revoker = impl::event_revoker<winrt::Windows::Media::PlayTo::IPlayToReceiver, &impl::abi_t<winrt::Windows::Media::PlayTo::IPlayToReceiver>::remove_SourceChangeRequested>;
- [[nodiscard]] SourceChangeRequested_revoker SourceChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::SourceChangeRequestedEventArgs> 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<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::PlaybackRateChangeRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto SourceChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::SourceChangeRequestedEventArgs> const& handler) const;
+ auto SourceChangeRequested(winrt::event_token const& token) const noexcept;
+ auto PlaybackRateChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::PlaybackRateChangeRequestedEventArgs> const& handler) const;
using PlaybackRateChangeRequested_revoker = impl::event_revoker<winrt::Windows::Media::PlayTo::IPlayToReceiver, &impl::abi_t<winrt::Windows::Media::PlayTo::IPlayToReceiver>::remove_PlaybackRateChangeRequested>;
- [[nodiscard]] PlaybackRateChangeRequested_revoker PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::PlaybackRateChangeRequestedEventArgs> 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<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::CurrentTimeChangeRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto PlaybackRateChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::PlaybackRateChangeRequestedEventArgs> const& handler) const;
+ auto PlaybackRateChangeRequested(winrt::event_token const& token) const noexcept;
+ auto CurrentTimeChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::CurrentTimeChangeRequestedEventArgs> const& handler) const;
using CurrentTimeChangeRequested_revoker = impl::event_revoker<winrt::Windows::Media::PlayTo::IPlayToReceiver, &impl::abi_t<winrt::Windows::Media::PlayTo::IPlayToReceiver>::remove_CurrentTimeChangeRequested>;
- [[nodiscard]] CurrentTimeChangeRequested_revoker CurrentTimeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::CurrentTimeChangeRequestedEventArgs> 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<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::MuteChangeRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto CurrentTimeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::CurrentTimeChangeRequestedEventArgs> const& handler) const;
+ auto CurrentTimeChangeRequested(winrt::event_token const& token) const noexcept;
+ auto MuteChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::MuteChangeRequestedEventArgs> const& handler) const;
using MuteChangeRequested_revoker = impl::event_revoker<winrt::Windows::Media::PlayTo::IPlayToReceiver, &impl::abi_t<winrt::Windows::Media::PlayTo::IPlayToReceiver>::remove_MuteChangeRequested>;
- [[nodiscard]] MuteChangeRequested_revoker MuteChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::MuteChangeRequestedEventArgs> 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<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::VolumeChangeRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto MuteChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::MuteChangeRequestedEventArgs> const& handler) const;
+ auto MuteChangeRequested(winrt::event_token const& token) const noexcept;
+ auto VolumeChangeRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::VolumeChangeRequestedEventArgs> const& handler) const;
using VolumeChangeRequested_revoker = impl::event_revoker<winrt::Windows::Media::PlayTo::IPlayToReceiver, &impl::abi_t<winrt::Windows::Media::PlayTo::IPlayToReceiver>::remove_VolumeChangeRequested>;
- [[nodiscard]] VolumeChangeRequested_revoker VolumeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::VolumeChangeRequestedEventArgs> 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<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto VolumeChangeRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Media::PlayTo::VolumeChangeRequestedEventArgs> const& handler) const;
+ auto VolumeChangeRequested(winrt::event_token const& token) const noexcept;
+ auto TimeUpdateRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const;
using TimeUpdateRequested_revoker = impl::event_revoker<winrt::Windows::Media::PlayTo::IPlayToReceiver, &impl::abi_t<winrt::Windows::Media::PlayTo::IPlayToReceiver>::remove_TimeUpdateRequested>;
- [[nodiscard]] TimeUpdateRequested_revoker TimeUpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto TimeUpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto TimeUpdateRequested(winrt::event_token const& token) const noexcept;
+ auto StopRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> const& handler) const;
using StopRequested_revoker = impl::event_revoker<winrt::Windows::Media::PlayTo::IPlayToReceiver, &impl::abi_t<winrt::Windows::Media::PlayTo::IPlayToReceiver>::remove_StopRequested>;
- [[nodiscard]] StopRequested_revoker StopRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::PlayTo::PlayToReceiver, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::PlayTo::IPlayToReceiver>
{
@@ -548,10 +546,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::PlayTo::IPlayToSource>
{
@@ -560,7 +558,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_PlayTo_IPlayToSourceDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::Media::PlayTo::IPlayToSourceDeferral>
{
@@ -569,10 +567,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::PlayTo::IPlayToSourceRequest>
{
@@ -581,7 +579,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_PlayTo_IPlayToSourceRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::PlayTo::PlayToSourceRequest) SourceRequest() const;
+ [[nodiscard]] auto SourceRequest() const;
};
template <> struct consume<winrt::Windows::Media::PlayTo::IPlayToSourceRequestedEventArgs>
{
@@ -590,11 +588,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::PlayTo::IPlayToSourceSelectedEventArgs>
{
@@ -603,8 +601,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::PlayTo::IPlayToSourceWithPreferredSourceUri>
{
@@ -613,7 +611,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_PlayTo_IPlaybackRateChangeRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(double) Rate() const;
+ [[nodiscard]] auto Rate() const;
};
template <> struct consume<winrt::Windows::Media::PlayTo::IPlaybackRateChangeRequestedEventArgs>
{
@@ -622,16 +620,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) Date() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IRandomAccessStreamReference) Thumbnail() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) Rating() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::Media::PlayTo::ISourceChangeRequestedEventArgs>
{
@@ -640,7 +638,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_PlayTo_IVolumeChangeRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(double) Volume() const;
+ [[nodiscard]] auto Volume() const;
};
template <> struct consume<winrt::Windows::Media::PlayTo::IVolumeChangeRequestedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.1.h
index 70edd77e3a8..7bcda531e55 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.2.h
index 3f3c2b70a36..6b5f39a3de0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.PlayTo.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.0.h
index b3ce23c0f8a..5e3cb078f5d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IObservableVector;
struct IPropertySet;
struct IVectorChangedEventArgs;
template <typename T> 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 <typename D>
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<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value) const;
+ [[nodiscard]] auto Current() const;
+ auto MessageReceivedFromBackground(winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value) const;
using MessageReceivedFromBackground_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics, &impl::abi_t<winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics>::remove_MessageReceivedFromBackground>;
- [[nodiscard]] MessageReceivedFromBackground_revoker MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value) const;
+ [[nodiscard]] auto MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value) const;
+ auto MessageReceivedFromBackground(winrt::event_token const& token) const noexcept;
+ auto MessageReceivedFromForeground(winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value) const;
using MessageReceivedFromForeground_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics, &impl::abi_t<winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics>::remove_MessageReceivedFromForeground>;
- [[nodiscard]] MessageReceivedFromForeground_revoker MessageReceivedFromForeground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> 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<winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics>
{
@@ -1446,8 +1444,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::ICurrentMediaPlaybackItemChangedEventArgs>
{
@@ -1456,7 +1454,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_ICurrentMediaPlaybackItemChangedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItemChangedReason) Reason() const;
+ [[nodiscard]] auto Reason() const;
};
template <> struct consume<winrt::Windows::Media::Playback::ICurrentMediaPlaybackItemChangedEventArgs2>
{
@@ -1465,12 +1463,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::TimeSpan>) 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<winrt::Windows::Media::Playback::IMediaBreak>
{
@@ -1479,7 +1477,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaBreakEndedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) MediaBreak() const;
+ [[nodiscard]] auto MediaBreak() const;
};
template <> struct consume<winrt::Windows::Media::Playback::IMediaBreakEndedEventArgs>
{
@@ -1488,8 +1486,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaBreakFactory>
{
@@ -1498,26 +1496,26 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaBreakManager
{
- WINRT_IMPL_AUTO(winrt::event_token) BreaksSeekedOver(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakSeekedOverEventArgs> const& handler) const;
+ auto BreaksSeekedOver(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakSeekedOverEventArgs> const& handler) const;
using BreaksSeekedOver_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaBreakManager, &impl::abi_t<winrt::Windows::Media::Playback::IMediaBreakManager>::remove_BreaksSeekedOver>;
- [[nodiscard]] BreaksSeekedOver_revoker BreaksSeekedOver(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakSeekedOverEventArgs> 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<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakStartedEventArgs> const& handler) const;
+ [[nodiscard]] auto BreaksSeekedOver(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakSeekedOverEventArgs> const& handler) const;
+ auto BreaksSeekedOver(winrt::event_token const& token) const noexcept;
+ auto BreakStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakStartedEventArgs> const& handler) const;
using BreakStarted_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaBreakManager, &impl::abi_t<winrt::Windows::Media::Playback::IMediaBreakManager>::remove_BreakStarted>;
- [[nodiscard]] BreakStarted_revoker BreakStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakStartedEventArgs> 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<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakEndedEventArgs> const& handler) const;
+ [[nodiscard]] auto BreakStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakStartedEventArgs> const& handler) const;
+ auto BreakStarted(winrt::event_token const& token) const noexcept;
+ auto BreakEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakEndedEventArgs> const& handler) const;
using BreakEnded_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaBreakManager, &impl::abi_t<winrt::Windows::Media::Playback::IMediaBreakManager>::remove_BreakEnded>;
- [[nodiscard]] BreakEnded_revoker BreakEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakEndedEventArgs> 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<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakSkippedEventArgs> const& handler) const;
+ [[nodiscard]] auto BreakEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakEndedEventArgs> const& handler) const;
+ auto BreakEnded(winrt::event_token const& token) const noexcept;
+ auto BreakSkipped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakSkippedEventArgs> const& handler) const;
using BreakSkipped_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaBreakManager, &impl::abi_t<winrt::Windows::Media::Playback::IMediaBreakManager>::remove_BreakSkipped>;
- [[nodiscard]] BreakSkipped_revoker BreakSkipped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakSkippedEventArgs> 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<winrt::Windows::Media::Playback::MediaBreakManager, winrt::Windows::Media::Playback::MediaBreakSkippedEventArgs> 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<winrt::Windows::Media::Playback::IMediaBreakManager>
{
@@ -1526,18 +1524,18 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaBreakSchedule
{
- WINRT_IMPL_AUTO(winrt::event_token) ScheduleChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakSchedule, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ScheduleChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakSchedule, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ScheduleChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaBreakSchedule, &impl::abi_t<winrt::Windows::Media::Playback::IMediaBreakSchedule>::remove_ScheduleChanged>;
- [[nodiscard]] ScheduleChanged_revoker ScheduleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaBreakSchedule, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaBreak>) 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<winrt::Windows::Media::Playback::MediaBreakSchedule, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::IMediaBreakSchedule>
{
@@ -1546,9 +1544,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaBreakSeekedOverEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::Playback::MediaBreak>) 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<winrt::Windows::Media::Playback::IMediaBreakSeekedOverEventArgs>
{
@@ -1557,7 +1555,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaBreakSkippedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) MediaBreak() const;
+ [[nodiscard]] auto MediaBreak() const;
};
template <> struct consume<winrt::Windows::Media::Playback::IMediaBreakSkippedEventArgs>
{
@@ -1566,7 +1564,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaBreakStartedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaBreak) MediaBreak() const;
+ [[nodiscard]] auto MediaBreak() const;
};
template <> struct consume<winrt::Windows::Media::Playback::IMediaBreakStartedEventArgs>
{
@@ -1575,8 +1573,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaEnginePlaybackSource>
{
@@ -1585,13 +1583,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaItemDisplayProperties>
{
@@ -1600,59 +1598,59 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPlayReceivedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPlayReceivedEventArgs> const& handler) const;
using PlayReceived_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager>::remove_PlayReceived>;
- [[nodiscard]] PlayReceived_revoker PlayReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPlayReceivedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPauseReceivedEventArgs> const& handler) const;
+ [[nodiscard]] auto PlayReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPlayReceivedEventArgs> const& handler) const;
+ auto PlayReceived(winrt::event_token const& token) const noexcept;
+ auto PauseReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPauseReceivedEventArgs> const& handler) const;
using PauseReceived_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager>::remove_PauseReceived>;
- [[nodiscard]] PauseReceived_revoker PauseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPauseReceivedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerNextReceivedEventArgs> const& handler) const;
+ [[nodiscard]] auto PauseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPauseReceivedEventArgs> const& handler) const;
+ auto PauseReceived(winrt::event_token const& token) const noexcept;
+ auto NextReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerNextReceivedEventArgs> const& handler) const;
using NextReceived_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager>::remove_NextReceived>;
- [[nodiscard]] NextReceived_revoker NextReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerNextReceivedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPreviousReceivedEventArgs> const& handler) const;
+ [[nodiscard]] auto NextReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerNextReceivedEventArgs> const& handler) const;
+ auto NextReceived(winrt::event_token const& token) const noexcept;
+ auto PreviousReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPreviousReceivedEventArgs> const& handler) const;
using PreviousReceived_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager>::remove_PreviousReceived>;
- [[nodiscard]] PreviousReceived_revoker PreviousReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPreviousReceivedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerFastForwardReceivedEventArgs> const& handler) const;
+ [[nodiscard]] auto PreviousReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPreviousReceivedEventArgs> const& handler) const;
+ auto PreviousReceived(winrt::event_token const& token) const noexcept;
+ auto FastForwardReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerFastForwardReceivedEventArgs> const& handler) const;
using FastForwardReceived_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager>::remove_FastForwardReceived>;
- [[nodiscard]] FastForwardReceived_revoker FastForwardReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerFastForwardReceivedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerRewindReceivedEventArgs> const& handler) const;
+ [[nodiscard]] auto FastForwardReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerFastForwardReceivedEventArgs> const& handler) const;
+ auto FastForwardReceived(winrt::event_token const& token) const noexcept;
+ auto RewindReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerRewindReceivedEventArgs> const& handler) const;
using RewindReceived_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager>::remove_RewindReceived>;
- [[nodiscard]] RewindReceived_revoker RewindReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerRewindReceivedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerShuffleReceivedEventArgs> const& handler) const;
+ [[nodiscard]] auto RewindReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerRewindReceivedEventArgs> const& handler) const;
+ auto RewindReceived(winrt::event_token const& token) const noexcept;
+ auto ShuffleReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerShuffleReceivedEventArgs> const& handler) const;
using ShuffleReceived_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager>::remove_ShuffleReceived>;
- [[nodiscard]] ShuffleReceived_revoker ShuffleReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerShuffleReceivedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs> const& handler) const;
+ [[nodiscard]] auto ShuffleReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerShuffleReceivedEventArgs> const& handler) const;
+ auto ShuffleReceived(winrt::event_token const& token) const noexcept;
+ auto AutoRepeatModeReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs> const& handler) const;
using AutoRepeatModeReceived_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager>::remove_AutoRepeatModeReceived>;
- [[nodiscard]] AutoRepeatModeReceived_revoker AutoRepeatModeReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPositionReceivedEventArgs> const& handler) const;
+ [[nodiscard]] auto AutoRepeatModeReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs> const& handler) const;
+ auto AutoRepeatModeReceived(winrt::event_token const& token) const noexcept;
+ auto PositionReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPositionReceivedEventArgs> const& handler) const;
using PositionReceived_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager>::remove_PositionReceived>;
- [[nodiscard]] PositionReceived_revoker PositionReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPositionReceivedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerRateReceivedEventArgs> const& handler) const;
+ [[nodiscard]] auto PositionReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerPositionReceivedEventArgs> const& handler) const;
+ auto PositionReceived(winrt::event_token const& token) const noexcept;
+ auto RateReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerRateReceivedEventArgs> const& handler) const;
using RateReceived_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager>::remove_RateReceived>;
- [[nodiscard]] RateReceived_revoker RateReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerRateReceivedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlaybackCommandManager, winrt::Windows::Media::Playback::MediaPlaybackCommandManagerRateReceivedEventArgs> const& handler) const;
+ auto RateReceived(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Playback::IMediaPlaybackCommandManager>
{
@@ -1661,10 +1659,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerAutoRepeatModeReceivedEventArgs>
{
@@ -1673,14 +1671,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior, winrt::Windows::Foundation::IInspectable> const& handler) const;
using IsEnabledChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerCommandBehavior, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerCommandBehavior>::remove_IsEnabledChanged>;
- [[nodiscard]] IsEnabledChanged_revoker IsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlaybackCommandManagerCommandBehavior, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto IsEnabledChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerCommandBehavior>
{
@@ -1689,9 +1687,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerFastForwardReceivedEventArgs>
{
@@ -1700,9 +1698,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerNextReceivedEventArgs>
{
@@ -1711,9 +1709,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPauseReceivedEventArgs>
{
@@ -1722,9 +1720,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPlayReceivedEventArgs>
{
@@ -1733,10 +1731,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPositionReceivedEventArgs>
{
@@ -1745,9 +1743,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerPreviousReceivedEventArgs>
{
@@ -1756,10 +1754,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRateReceivedEventArgs>
{
@@ -1768,9 +1766,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerRewindReceivedEventArgs>
{
@@ -1779,10 +1777,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackCommandManagerShuffleReceivedEventArgs>
{
@@ -1791,22 +1789,22 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaPlaybackItem
{
- WINRT_IMPL_AUTO(winrt::event_token) AudioTracksChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> const& handler) const;
+ auto AudioTracksChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> const& handler) const;
using AudioTracksChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackItem, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackItem>::remove_AudioTracksChanged>;
- [[nodiscard]] AudioTracksChanged_revoker AudioTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto AudioTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> const& handler) const;
+ auto AudioTracksChanged(winrt::event_token const& token) const noexcept;
+ auto VideoTracksChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> const& handler) const;
using VideoTracksChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackItem, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackItem>::remove_VideoTracksChanged>;
- [[nodiscard]] VideoTracksChanged_revoker VideoTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto VideoTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> const& handler) const;
+ auto VideoTracksChanged(winrt::event_token const& token) const noexcept;
+ auto TimedMetadataTracksChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> const& handler) const;
using TimedMetadataTracksChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackItem, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackItem>::remove_TimedMetadataTracksChanged>;
- [[nodiscard]] TimedMetadataTracksChanged_revoker TimedMetadataTracksChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlaybackItem, winrt::Windows::Foundation::Collections::IVectorChangedEventArgs> 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<winrt::Windows::Media::Playback::IMediaPlaybackItem>
{
@@ -1815,13 +1813,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::TimeSpan>) 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<winrt::Windows::Media::Playback::IMediaPlaybackItem2>
{
@@ -1830,11 +1828,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackItem3>
{
@@ -1843,8 +1841,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackItemError>
{
@@ -1853,7 +1851,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackItemFactory>
{
@@ -1862,8 +1860,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackItemFactory2>
{
@@ -1872,8 +1870,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackItemFailedEventArgs>
{
@@ -1882,7 +1880,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaPlaybackItemOpenedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) Item() const;
+ [[nodiscard]] auto Item() const;
};
template <> struct consume<winrt::Windows::Media::Playback::IMediaPlaybackItemOpenedEventArgs>
{
@@ -1891,7 +1889,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackItemStatics>
{
@@ -1900,28 +1898,28 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaPlaybackList
{
- WINRT_IMPL_AUTO(winrt::event_token) ItemFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::MediaPlaybackItemFailedEventArgs> const& handler) const;
+ auto ItemFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::MediaPlaybackItemFailedEventArgs> const& handler) const;
using ItemFailed_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackList, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackList>::remove_ItemFailed>;
- [[nodiscard]] ItemFailed_revoker ItemFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::MediaPlaybackItemFailedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::CurrentMediaPlaybackItemChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto ItemFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::MediaPlaybackItemFailedEventArgs> const& handler) const;
+ auto ItemFailed(winrt::event_token const& token) const noexcept;
+ auto CurrentItemChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::CurrentMediaPlaybackItemChangedEventArgs> const& handler) const;
using CurrentItemChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackList, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackList>::remove_CurrentItemChanged>;
- [[nodiscard]] CurrentItemChanged_revoker CurrentItemChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::CurrentMediaPlaybackItemChangedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::MediaPlaybackItemOpenedEventArgs> const& handler) const;
+ [[nodiscard]] auto CurrentItemChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::CurrentMediaPlaybackItemChangedEventArgs> const& handler) const;
+ auto CurrentItemChanged(winrt::event_token const& token) const noexcept;
+ auto ItemOpened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::MediaPlaybackItemOpenedEventArgs> const& handler) const;
using ItemOpened_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackList, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackList>::remove_ItemOpened>;
- [[nodiscard]] ItemOpened_revoker ItemOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::MediaPlaybackItemOpenedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) ItemOpened(winrt::event_token const& token) const noexcept;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Media::Playback::MediaPlaybackItem>) 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<winrt::Windows::Media::Playback::MediaPlaybackList, winrt::Windows::Media::Playback::MediaPlaybackItemOpenedEventArgs> 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<winrt::Windows::Media::Playback::IMediaPlaybackList>
{
@@ -1930,12 +1928,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaPlaybackList2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) MaxPrefetchTime() const;
- WINRT_IMPL_AUTO(void) MaxPrefetchTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::Media::Playback::MediaPlaybackItem>) ShuffledItems() const;
- WINRT_IMPL_AUTO(void) SetShuffledItems(param::iterable<winrt::Windows::Media::Playback::MediaPlaybackItem> const& value) const;
+ [[nodiscard]] auto MaxPrefetchTime() const;
+ auto MaxPrefetchTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::Media::Playback::MediaPlaybackItem> const& value) const;
};
template <> struct consume<winrt::Windows::Media::Playback::IMediaPlaybackList2>
{
@@ -1944,8 +1942,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaPlaybackList3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) MaxPlayedItemsToKeepOpen() const;
- WINRT_IMPL_AUTO(void) MaxPlayedItemsToKeepOpen(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
+ [[nodiscard]] auto MaxPlayedItemsToKeepOpen() const;
+ auto MaxPlayedItemsToKeepOpen(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
};
template <> struct consume<winrt::Windows::Media::Playback::IMediaPlaybackList3>
{
@@ -1954,64 +1952,64 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaPlaybackSession
{
- WINRT_IMPL_AUTO(winrt::event_token) PlaybackStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto PlaybackStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
using PlaybackStateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackSession, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackSession>::remove_PlaybackStateChanged>;
- [[nodiscard]] PlaybackStateChanged_revoker PlaybackStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto PlaybackStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto PlaybackStateChanged(winrt::event_token const& token) const noexcept;
+ auto PlaybackRateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
using PlaybackRateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackSession, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackSession>::remove_PlaybackRateChanged>;
- [[nodiscard]] PlaybackRateChanged_revoker PlaybackRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto PlaybackRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto PlaybackRateChanged(winrt::event_token const& token) const noexcept;
+ auto SeekCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
using SeekCompleted_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackSession, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackSession>::remove_SeekCompleted>;
- [[nodiscard]] SeekCompleted_revoker SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto SeekCompleted(winrt::event_token const& token) const noexcept;
+ auto BufferingStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
using BufferingStarted_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackSession, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackSession>::remove_BufferingStarted>;
- [[nodiscard]] BufferingStarted_revoker BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto BufferingStarted(winrt::event_token const& token) const noexcept;
+ auto BufferingEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
using BufferingEnded_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackSession, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackSession>::remove_BufferingEnded>;
- [[nodiscard]] BufferingEnded_revoker BufferingEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto BufferingEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto BufferingEnded(winrt::event_token const& token) const noexcept;
+ auto BufferingProgressChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
using BufferingProgressChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackSession, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackSession>::remove_BufferingProgressChanged>;
- [[nodiscard]] BufferingProgressChanged_revoker BufferingProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto BufferingProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto BufferingProgressChanged(winrt::event_token const& token) const noexcept;
+ auto DownloadProgressChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
using DownloadProgressChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackSession, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackSession>::remove_DownloadProgressChanged>;
- [[nodiscard]] DownloadProgressChanged_revoker DownloadProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto DownloadProgressChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto DownloadProgressChanged(winrt::event_token const& token) const noexcept;
+ auto NaturalDurationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
using NaturalDurationChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackSession, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackSession>::remove_NaturalDurationChanged>;
- [[nodiscard]] NaturalDurationChanged_revoker NaturalDurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto NaturalDurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto NaturalDurationChanged(winrt::event_token const& token) const noexcept;
+ auto PositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
using PositionChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackSession, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackSession>::remove_PositionChanged>;
- [[nodiscard]] PositionChanged_revoker PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto PositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto PositionChanged(winrt::event_token const& token) const noexcept;
+ auto NaturalVideoSizeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
using NaturalVideoSizeChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackSession, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackSession>::remove_NaturalVideoSizeChanged>;
- [[nodiscard]] NaturalVideoSizeChanged_revoker NaturalVideoSizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::IMediaPlaybackSession>
{
@@ -2020,29 +2018,29 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaPlaybackSession2
{
- WINRT_IMPL_AUTO(winrt::event_token) BufferedRangesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto BufferedRangesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
using BufferedRangesChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackSession2, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackSession2>::remove_BufferedRangesChanged>;
- [[nodiscard]] BufferedRangesChanged_revoker BufferedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto BufferedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto BufferedRangesChanged(winrt::event_token const& token) const noexcept;
+ auto PlayedRangesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
using PlayedRangesChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackSession2, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackSession2>::remove_PlayedRangesChanged>;
- [[nodiscard]] PlayedRangesChanged_revoker PlayedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto PlayedRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto PlayedRangesChanged(winrt::event_token const& token) const noexcept;
+ auto SeekableRangesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
using SeekableRangesChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackSession2, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackSession2>::remove_SeekableRangesChanged>;
- [[nodiscard]] SeekableRangesChanged_revoker SeekableRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto SeekableRangesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto SeekableRangesChanged(winrt::event_token const& token) const noexcept;
+ auto SupportedPlaybackRatesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> const& value) const;
using SupportedPlaybackRatesChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackSession2, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackSession2>::remove_SupportedPlaybackRatesChanged>;
- [[nodiscard]] SupportedPlaybackRatesChanged_revoker SupportedPlaybackRatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::MediaTimeRange>) GetBufferedRanges() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::MediaTimeRange>) GetPlayedRanges() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::MediaTimeRange>) GetSeekableRanges() const;
- WINRT_IMPL_AUTO(bool) IsSupportedPlaybackRateRange(double rate1, double rate2) const;
+ [[nodiscard]] auto SupportedPlaybackRatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::IMediaPlaybackSession2>
{
@@ -2051,9 +2049,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackSession3>
{
@@ -2062,7 +2060,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaPlaybackSessionBufferingStartedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPlaybackInterruption() const;
+ [[nodiscard]] auto IsPlaybackInterruption() const;
};
template <> struct consume<winrt::Windows::Media::Playback::IMediaPlaybackSessionBufferingStartedEventArgs>
{
@@ -2071,7 +2069,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaPlaybackSessionOutputDegradationPolicyState
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackSessionVideoConstrictionReason) VideoConstrictionReason() const;
+ [[nodiscard]] auto VideoConstrictionReason() const;
};
template <> struct consume<winrt::Windows::Media::Playback::IMediaPlaybackSessionOutputDegradationPolicyState>
{
@@ -2088,16 +2086,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlaybackSphericalVideoProjection>
{
@@ -2106,12 +2104,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaPlaybackTimedMetadataTrackList
{
- WINRT_IMPL_AUTO(winrt::event_token) PresentationModeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackTimedMetadataTrackList, winrt::Windows::Media::Playback::TimedMetadataPresentationModeChangedEventArgs> const& handler) const;
+ auto PresentationModeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackTimedMetadataTrackList, winrt::Windows::Media::Playback::TimedMetadataPresentationModeChangedEventArgs> const& handler) const;
using PresentationModeChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlaybackTimedMetadataTrackList, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlaybackTimedMetadataTrackList>::remove_PresentationModeChanged>;
- [[nodiscard]] PresentationModeChanged_revoker PresentationModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlaybackTimedMetadataTrackList, winrt::Windows::Media::Playback::TimedMetadataPresentationModeChangedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlaybackTimedMetadataTrackList, winrt::Windows::Media::Playback::TimedMetadataPresentationModeChangedEventArgs> 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<winrt::Windows::Media::Playback::IMediaPlaybackTimedMetadataTrackList>
{
@@ -2120,68 +2118,68 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
using MediaOpened_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlayer, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlayer>::remove_MediaOpened>;
- [[nodiscard]] MediaOpened_revoker MediaOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto MediaOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto MediaOpened(winrt::event_token const& token) const noexcept;
+ auto MediaEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
using MediaEnded_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlayer, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlayer>::remove_MediaEnded>;
- [[nodiscard]] MediaEnded_revoker MediaEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::MediaPlayerFailedEventArgs> const& value) const;
+ [[nodiscard]] auto MediaEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto MediaEnded(winrt::event_token const& token) const noexcept;
+ auto MediaFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::MediaPlayerFailedEventArgs> const& value) const;
using MediaFailed_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlayer, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlayer>::remove_MediaFailed>;
- [[nodiscard]] MediaFailed_revoker MediaFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::MediaPlayerFailedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto MediaFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::MediaPlayerFailedEventArgs> const& value) const;
+ auto MediaFailed(winrt::event_token const& token) const noexcept;
+ auto CurrentStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
using CurrentStateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlayer, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlayer>::remove_CurrentStateChanged>;
- [[nodiscard]] CurrentStateChanged_revoker CurrentStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::PlaybackMediaMarkerReachedEventArgs> const& value) const;
+ [[nodiscard]] auto CurrentStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto CurrentStateChanged(winrt::event_token const& token) const noexcept;
+ auto PlaybackMediaMarkerReached(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::PlaybackMediaMarkerReachedEventArgs> const& value) const;
using PlaybackMediaMarkerReached_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlayer, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlayer>::remove_PlaybackMediaMarkerReached>;
- [[nodiscard]] PlaybackMediaMarkerReached_revoker PlaybackMediaMarkerReached(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::PlaybackMediaMarkerReachedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::MediaPlayerRateChangedEventArgs> const& value) const;
+ [[nodiscard]] auto PlaybackMediaMarkerReached(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::PlaybackMediaMarkerReachedEventArgs> const& value) const;
+ auto PlaybackMediaMarkerReached(winrt::event_token const& token) const noexcept;
+ auto MediaPlayerRateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::MediaPlayerRateChangedEventArgs> const& value) const;
using MediaPlayerRateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlayer, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlayer>::remove_MediaPlayerRateChanged>;
- [[nodiscard]] MediaPlayerRateChanged_revoker MediaPlayerRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::MediaPlayerRateChangedEventArgs> 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<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto MediaPlayerRateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Media::Playback::MediaPlayerRateChangedEventArgs> const& value) const;
+ auto MediaPlayerRateChanged(winrt::event_token const& token) const noexcept;
+ auto VolumeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
using VolumeChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlayer, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlayer>::remove_VolumeChanged>;
- [[nodiscard]] VolumeChanged_revoker VolumeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto VolumeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto VolumeChanged(winrt::event_token const& token) const noexcept;
+ auto SeekCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
using SeekCompleted_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlayer, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlayer>::remove_SeekCompleted>;
- [[nodiscard]] SeekCompleted_revoker SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto SeekCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto SeekCompleted(winrt::event_token const& token) const noexcept;
+ auto BufferingStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
using BufferingStarted_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlayer, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlayer>::remove_BufferingStarted>;
- [[nodiscard]] BufferingStarted_revoker BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto BufferingStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto BufferingStarted(winrt::event_token const& token) const noexcept;
+ auto BufferingEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
using BufferingEnded_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlayer, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlayer>::remove_BufferingEnded>;
- [[nodiscard]] BufferingEnded_revoker BufferingEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::IMediaPlayer>
{
@@ -2190,11 +2188,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlayer2>
{
@@ -2203,32 +2201,32 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaPlayer3
{
- WINRT_IMPL_AUTO(winrt::event_token) IsMutedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto IsMutedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
using IsMutedChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlayer3, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlayer3>::remove_IsMutedChanged>;
- [[nodiscard]] IsMutedChanged_revoker IsMutedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
+ [[nodiscard]] auto IsMutedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto IsMutedChanged(winrt::event_token const& token) const noexcept;
+ auto SourceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
using SourceChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlayer3, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlayer3>::remove_SourceChanged>;
- [[nodiscard]] SourceChanged_revoker SourceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::IMediaPlayer3>
{
@@ -2237,8 +2235,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlayer4>
{
@@ -2247,15 +2245,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaPlayer5
{
- WINRT_IMPL_AUTO(winrt::event_token) VideoFrameAvailable(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto VideoFrameAvailable(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& value) const;
using VideoFrameAvailable_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlayer5, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlayer5>::remove_VideoFrameAvailable>;
- [[nodiscard]] VideoFrameAvailable_revoker VideoFrameAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::IMediaPlayer5>
{
@@ -2264,12 +2262,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaPlayer6
{
- WINRT_IMPL_AUTO(winrt::event_token) SubtitleFrameChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SubtitleFrameChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> const& handler) const;
using SubtitleFrameChanged_revoker = impl::event_revoker<winrt::Windows::Media::Playback::IMediaPlayer6, &impl::abi_t<winrt::Windows::Media::Playback::IMediaPlayer6>::remove_SubtitleFrameChanged>;
- [[nodiscard]] SubtitleFrameChanged_revoker SubtitleFrameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::MediaPlayer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Playback::IMediaPlayer6>
{
@@ -2278,7 +2276,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaPlayer7
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Audio::AudioStateMonitor) AudioStateMonitor() const;
+ [[nodiscard]] auto AudioStateMonitor() const;
};
template <> struct consume<winrt::Windows::Media::Playback::IMediaPlayer7>
{
@@ -2287,7 +2285,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaPlayerDataReceivedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) Data() const;
+ [[nodiscard]] auto Data() const;
};
template <> struct consume<winrt::Windows::Media::Playback::IMediaPlayerDataReceivedEventArgs>
{
@@ -2296,8 +2294,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlayerEffects>
{
@@ -2306,7 +2304,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlayerEffects2>
{
@@ -2315,9 +2313,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlayerFailedEventArgs>
{
@@ -2326,7 +2324,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IMediaPlayerRateChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(double) NewRate() const;
+ [[nodiscard]] auto NewRate() const;
};
template <> struct consume<winrt::Windows::Media::Playback::IMediaPlayerRateChangedEventArgs>
{
@@ -2335,11 +2333,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlayerSource>
{
@@ -2348,8 +2346,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlayerSource2>
{
@@ -2358,9 +2356,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IMediaPlayerSurface>
{
@@ -2369,9 +2367,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IPlaybackMediaMarker>
{
@@ -2380,8 +2378,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IPlaybackMediaMarkerFactory>
{
@@ -2390,7 +2388,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playback_IPlaybackMediaMarkerReachedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::PlaybackMediaMarker) PlaybackMediaMarker() const;
+ [[nodiscard]] auto PlaybackMediaMarker() const;
};
template <> struct consume<winrt::Windows::Media::Playback::IPlaybackMediaMarkerReachedEventArgs>
{
@@ -2399,9 +2397,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::IPlaybackMediaMarkerSequence>
{
@@ -2410,9 +2408,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Playback::ITimedMetadataPresentationModeChangedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.1.h
index 4193d5c6725..907fd126684 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.2.h
index 64140f23ea2..9aee0c11a80 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playback.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value);
using MessageReceivedFromBackground_revoker = impl::factory_event_revoker<winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics, &impl::abi_t<winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics>::remove_MessageReceivedFromBackground>;
- [[nodiscard]] static MessageReceivedFromBackground_revoker MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value);
+ [[nodiscard]] static auto MessageReceivedFromBackground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value);
static auto MessageReceivedFromBackground(winrt::event_token const& token);
static auto MessageReceivedFromForeground(winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value);
using MessageReceivedFromForeground_revoker = impl::factory_event_revoker<winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics, &impl::abi_t<winrt::Windows::Media::Playback::IBackgroundMediaPlayerStatics>::remove_MessageReceivedFromForeground>;
- [[nodiscard]] static MessageReceivedFromForeground_revoker MessageReceivedFromForeground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> const& value);
+ [[nodiscard]] static auto MessageReceivedFromForeground(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Media::Playback::MediaPlayerDataReceivedEventArgs> 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.0.h
index 978dd4e3c79..79568269e21 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
struct consume_Windows_Media_Playlists_IPlaylist
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Storage::StorageFile>) Files() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) 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<winrt::Windows::Storage::StorageFile>) 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<winrt::Windows::Media::Playlists::IPlaylist>
{
@@ -76,7 +70,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Playlists_IPlaylistStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Playlists::Playlist>) LoadAsync(winrt::Windows::Storage::IStorageFile const& file) const;
+ auto LoadAsync(winrt::Windows::Storage::IStorageFile const& file) const;
};
template <> struct consume<winrt::Windows::Media::Playlists::IPlaylistStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.1.h
index 59d7bc81450..d8a685d90e2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.2.h
index b412160118c..0e7302cd37e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Playlists.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.0.h
index c1e3da5ebe3..13a3743ca02 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
struct IPropertySet;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Media::Playback
{
@@ -326,8 +322,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::IComponentLoadFailedEventArgs>
{
@@ -336,7 +332,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_IComponentRenewalStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Media::Protection::RenewalStatus, uint32_t>) RenewSystemComponentsAsync(winrt::Windows::Media::Protection::RevocationAndRenewalInformation const& information) const;
+ auto RenewSystemComponentsAsync(winrt::Windows::Media::Protection::RevocationAndRenewalInformation const& information) const;
};
template <> struct consume<winrt::Windows::Media::Protection::IComponentRenewalStatics>
{
@@ -345,13 +341,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::HdcpProtection>) GetEffectiveProtection() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Protection::HdcpSetProtectionResult>) SetDesiredMinProtectionAsync(winrt::Windows::Media::Protection::HdcpProtection const& protection) const;
- WINRT_IMPL_AUTO(winrt::event_token) ProtectionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::HdcpSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Protection::HdcpSession, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ProtectionChanged_revoker = impl::event_revoker<winrt::Windows::Media::Protection::IHdcpSession, &impl::abi_t<winrt::Windows::Media::Protection::IHdcpSession>::remove_ProtectionChanged>;
- [[nodiscard]] ProtectionChanged_revoker ProtectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::HdcpSession, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Protection::HdcpSession, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ProtectionChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Protection::IHdcpSession>
{
@@ -360,19 +356,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::IMediaProtectionManager, &impl::abi_t<winrt::Windows::Media::Protection::IMediaProtectionManager>::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<winrt::Windows::Media::Protection::IMediaProtectionManager, &impl::abi_t<winrt::Windows::Media::Protection::IMediaProtectionManager>::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<winrt::Windows::Media::Protection::IMediaProtectionManager, &impl::abi_t<winrt::Windows::Media::Protection::IMediaProtectionManager>::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<winrt::Windows::Media::Protection::IMediaProtectionManager>
{
@@ -381,7 +377,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_IMediaProtectionPMPServer
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IPropertySet) Properties() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Media::Protection::IMediaProtectionPMPServer>
{
@@ -390,7 +386,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::IMediaProtectionPMPServerFactory>
{
@@ -399,7 +395,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_IMediaProtectionServiceCompletion
{
- WINRT_IMPL_AUTO(void) Complete(bool success) const;
+ auto Complete(bool success) const;
};
template <> struct consume<winrt::Windows::Media::Protection::IMediaProtectionServiceCompletion>
{
@@ -408,8 +404,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::IMediaProtectionServiceRequest>
{
@@ -418,7 +414,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::IProtectionCapabilities>
{
@@ -427,7 +423,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_IRevocationAndRenewalInformation
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Media::Protection::RevocationAndRenewalItem>) Items() const;
+ [[nodiscard]] auto Items() const;
};
template <> struct consume<winrt::Windows::Media::Protection::IRevocationAndRenewalInformation>
{
@@ -436,11 +432,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::IRevocationAndRenewalItem>
{
@@ -449,8 +445,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::IServiceRequestedEventArgs>
{
@@ -459,7 +455,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_IServiceRequestedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::Playback::MediaPlaybackItem) MediaPlaybackItem() const;
+ [[nodiscard]] auto MediaPlaybackItem() const;
};
template <> struct consume<winrt::Windows::Media::Protection::IServiceRequestedEventArgs2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.1.h
index c39086041cb..1b4c2701e03 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.2.h
index ad0b485694b..7953dd9f346 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.0.h
index 1fa072cdcdf..7e40cbe2e50 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
@@ -986,30 +984,30 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_INDClient
{
- WINRT_IMPL_AUTO(winrt::event_token) RegistrationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDRegistrationCompletedEventArgs> const& handler) const;
+ auto RegistrationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDRegistrationCompletedEventArgs> const& handler) const;
using RegistrationCompleted_revoker = impl::event_revoker<winrt::Windows::Media::Protection::PlayReady::INDClient, &impl::abi_t<winrt::Windows::Media::Protection::PlayReady::INDClient>::remove_RegistrationCompleted>;
- [[nodiscard]] RegistrationCompleted_revoker RegistrationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDRegistrationCompletedEventArgs> 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<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDProximityDetectionCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto RegistrationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDRegistrationCompletedEventArgs> const& handler) const;
+ auto RegistrationCompleted(winrt::event_token const& token) const noexcept;
+ auto ProximityDetectionCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDProximityDetectionCompletedEventArgs> const& handler) const;
using ProximityDetectionCompleted_revoker = impl::event_revoker<winrt::Windows::Media::Protection::PlayReady::INDClient, &impl::abi_t<winrt::Windows::Media::Protection::PlayReady::INDClient>::remove_ProximityDetectionCompleted>;
- [[nodiscard]] ProximityDetectionCompleted_revoker ProximityDetectionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDProximityDetectionCompletedEventArgs> 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<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto ProximityDetectionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDProximityDetectionCompletedEventArgs> const& handler) const;
+ auto ProximityDetectionCompleted(winrt::event_token const& token) const noexcept;
+ auto LicenseFetchCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchCompletedEventArgs> const& handler) const;
using LicenseFetchCompleted_revoker = impl::event_revoker<winrt::Windows::Media::Protection::PlayReady::INDClient, &impl::abi_t<winrt::Windows::Media::Protection::PlayReady::INDClient>::remove_LicenseFetchCompleted>;
- [[nodiscard]] LicenseFetchCompleted_revoker LicenseFetchCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchCompletedEventArgs> 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<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto LicenseFetchCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchCompletedEventArgs> const& handler) const;
+ auto LicenseFetchCompleted(winrt::event_token const& token) const noexcept;
+ auto ReRegistrationNeeded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ReRegistrationNeeded_revoker = impl::event_revoker<winrt::Windows::Media::Protection::PlayReady::INDClient, &impl::abi_t<winrt::Windows::Media::Protection::PlayReady::INDClient>::remove_ReRegistrationNeeded>;
- [[nodiscard]] ReRegistrationNeeded_revoker ReRegistrationNeeded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDClosedCaptionDataReceivedEventArgs> const& handler) const;
+ [[nodiscard]] auto ReRegistrationNeeded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ReRegistrationNeeded(winrt::event_token const& token) const noexcept;
+ auto ClosedCaptionDataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDClosedCaptionDataReceivedEventArgs> const& handler) const;
using ClosedCaptionDataReceived_revoker = impl::event_revoker<winrt::Windows::Media::Protection::PlayReady::INDClient, &impl::abi_t<winrt::Windows::Media::Protection::PlayReady::INDClient>::remove_ClosedCaptionDataReceived>;
- [[nodiscard]] ClosedCaptionDataReceived_revoker ClosedCaptionDataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDClosedCaptionDataReceivedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) ClosedCaptionDataReceived(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Protection::PlayReady::INDStartResult>) 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<winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchResult>) 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<winrt::Windows::Media::Protection::PlayReady::NDClient, winrt::Windows::Media::Protection::PlayReady::INDClosedCaptionDataReceivedEventArgs> 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<winrt::Windows::Media::Protection::PlayReady::INDClient>
{
@@ -1018,7 +1016,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::INDClientFactory>
{
@@ -1027,9 +1025,9 @@ namespace winrt::impl
template <typename D>
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<uint8_t>) ClosedCaptionData() const;
+ [[nodiscard]] auto ClosedCaptionDataFormat() const;
+ [[nodiscard]] auto PresentationTimestamp() const;
+ [[nodiscard]] auto ClosedCaptionData() const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::INDClosedCaptionDataReceivedEventArgs>
{
@@ -1038,8 +1036,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_INDCustomData
{
- [[nodiscard]] WINRT_IMPL_AUTO(com_array<uint8_t>) CustomDataTypeID() const;
- [[nodiscard]] WINRT_IMPL_AUTO(com_array<uint8_t>) CustomData() const;
+ [[nodiscard]] auto CustomDataTypeID() const;
+ [[nodiscard]] auto CustomData() const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::INDCustomData>
{
@@ -1048,7 +1046,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_INDCustomDataFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::NDCustomData) CreateInstance(array_view<uint8_t const> customDataTypeIDBytes, array_view<uint8_t const> customDataBytes) const;
+ auto CreateInstance(array_view<uint8_t const> customDataTypeIDBytes, array_view<uint8_t const> customDataBytes) const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::INDCustomDataFactory>
{
@@ -1057,15 +1055,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_INDDownloadEngine
{
- WINRT_IMPL_AUTO(void) Open(winrt::Windows::Foundation::Uri const& uri, array_view<uint8_t const> 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<uint8_t const> 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<winrt::Windows::Media::Protection::PlayReady::INDDownloadEngine>
{
@@ -1074,12 +1072,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_INDDownloadEngineNotifier
{
- WINRT_IMPL_AUTO(void) OnStreamOpened() const;
- WINRT_IMPL_AUTO(void) OnPlayReadyObjectReceived(array_view<uint8_t const> dataBytes) const;
- WINRT_IMPL_AUTO(void) OnContentIDReceived(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const;
- WINRT_IMPL_AUTO(void) OnDataReceived(array_view<uint8_t const> dataBytes, uint32_t bytesReceived) const;
- WINRT_IMPL_AUTO(void) OnEndOfStream() const;
- WINRT_IMPL_AUTO(void) OnNetworkError() const;
+ auto OnStreamOpened() const;
+ auto OnPlayReadyObjectReceived(array_view<uint8_t const> dataBytes) const;
+ auto OnContentIDReceived(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const;
+ auto OnDataReceived(array_view<uint8_t const> dataBytes, uint32_t bytesReceived) const;
+ auto OnEndOfStream() const;
+ auto OnNetworkError() const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::INDDownloadEngineNotifier>
{
@@ -1088,7 +1086,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchCompletedEventArgs>
{
@@ -1097,10 +1095,10 @@ namespace winrt::impl
template <typename D>
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<uint8_t>) 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<winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor>
{
@@ -1109,7 +1107,7 @@ namespace winrt::impl
template <typename D>
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<uint8_t const> contentIDBytes, winrt::Windows::Media::Protection::PlayReady::INDCustomData const& licenseFetchChallengeCustomData) const;
+ auto CreateInstance(winrt::Windows::Media::Protection::PlayReady::NDContentIDType const& contentIDType, array_view<uint8_t const> contentIDBytes, winrt::Windows::Media::Protection::PlayReady::INDCustomData const& licenseFetchChallengeCustomData) const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptorFactory>
{
@@ -1118,7 +1116,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchResult>
{
@@ -1127,10 +1125,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_INDMessenger
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Protection::PlayReady::INDSendResult>) SendRegistrationRequestAsync(array_view<uint8_t const> sessionIDBytes, array_view<uint8_t const> challengeDataBytes) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Protection::PlayReady::INDSendResult>) SendProximityDetectionStartAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view<uint8_t const> transmitterChannelBytes, array_view<uint8_t const> sessionIDBytes, array_view<uint8_t const> challengeDataBytes) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Protection::PlayReady::INDSendResult>) SendProximityDetectionResponseAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view<uint8_t const> transmitterChannelBytes, array_view<uint8_t const> sessionIDBytes, array_view<uint8_t const> responseDataBytes) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Protection::PlayReady::INDSendResult>) SendLicenseFetchRequestAsync(array_view<uint8_t const> sessionIDBytes, array_view<uint8_t const> challengeDataBytes) const;
+ auto SendRegistrationRequestAsync(array_view<uint8_t const> sessionIDBytes, array_view<uint8_t const> challengeDataBytes) const;
+ auto SendProximityDetectionStartAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view<uint8_t const> transmitterChannelBytes, array_view<uint8_t const> sessionIDBytes, array_view<uint8_t const> challengeDataBytes) const;
+ auto SendProximityDetectionResponseAsync(winrt::Windows::Media::Protection::PlayReady::NDProximityDetectionType const& pdType, array_view<uint8_t const> transmitterChannelBytes, array_view<uint8_t const> sessionIDBytes, array_view<uint8_t const> responseDataBytes) const;
+ auto SendLicenseFetchRequestAsync(array_view<uint8_t const> sessionIDBytes, array_view<uint8_t const> challengeDataBytes) const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::INDMessenger>
{
@@ -1139,7 +1137,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_INDProximityDetectionCompletedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ProximityDetectionRetryCount() const;
+ [[nodiscard]] auto ProximityDetectionRetryCount() const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::INDProximityDetectionCompletedEventArgs>
{
@@ -1148,10 +1146,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::INDRegistrationCompletedEventArgs>
{
@@ -1160,7 +1158,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_INDSendResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(com_array<uint8_t>) Response() const;
+ [[nodiscard]] auto Response() const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::INDSendResult>
{
@@ -1169,7 +1167,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::INDStartResult>
{
@@ -1178,7 +1176,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_INDStorageFileHelper
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) GetFileURLs(winrt::Windows::Storage::IStorageFile const& file) const;
+ auto GetFileURLs(winrt::Windows::Storage::IStorageFile const& file) const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::INDStorageFileHelper>
{
@@ -1187,11 +1185,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_INDStreamParser
{
- WINRT_IMPL_AUTO(void) ParseData(array_view<uint8_t const> 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<uint8_t const> 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<winrt::Windows::Media::Protection::PlayReady::INDStreamParser>
{
@@ -1200,10 +1198,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Core::AudioStreamDescriptor> const& audioStreamDescriptors, param::vector<winrt::Windows::Media::Core::VideoStreamDescriptor> 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<uint8_t const> ccDataBytes) const;
- WINRT_IMPL_AUTO(void) OnBeginSetupDecryptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::guid const& keyID, array_view<uint8_t const> proBytes) const;
+ auto OnContentIDReceived(winrt::Windows::Media::Protection::PlayReady::INDLicenseFetchDescriptor const& licenseFetchDescriptor) const;
+ auto OnMediaStreamDescriptorCreated(param::vector<winrt::Windows::Media::Core::AudioStreamDescriptor> const& audioStreamDescriptors, param::vector<winrt::Windows::Media::Core::VideoStreamDescriptor> 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<uint8_t const> ccDataBytes) const;
+ auto OnBeginSetupDecryptor(winrt::Windows::Media::Core::IMediaStreamDescriptor const& descriptor, winrt::guid const& keyID, array_view<uint8_t const> proBytes) const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::INDStreamParserNotifier>
{
@@ -1212,7 +1210,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::INDTCPMessengerFactory>
{
@@ -1221,17 +1219,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::NDCertificateFeature>) 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<uint8_t>) ClientID() const;
- [[nodiscard]] WINRT_IMPL_AUTO(com_array<uint8_t>) 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<winrt::Windows::Media::Protection::PlayReady::INDTransmitterProperties>
{
@@ -1240,16 +1238,16 @@ namespace winrt::impl
template <typename D>
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<uint8_t>) 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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader>
{
@@ -1258,8 +1256,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeader2
{
- [[nodiscard]] WINRT_IMPL_AUTO(com_array<winrt::guid>) KeyIds() const;
- [[nodiscard]] WINRT_IMPL_AUTO(com_array<hstring>) KeyIdStrings() const;
+ [[nodiscard]] auto KeyIds() const;
+ [[nodiscard]] auto KeyIdStrings() const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeader2>
{
@@ -1268,9 +1266,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) CreateInstanceFromWindowsMediaDrmHeader(array_view<uint8_t const> 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<uint8_t const> headerBytes) const;
+ auto CreateInstanceFromWindowsMediaDrmHeader(array_view<uint8_t const> 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<uint8_t const> headerBytes) const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeaderFactory>
{
@@ -1279,7 +1277,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_IPlayReadyContentHeaderFactory2
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadyContentHeader) CreateInstanceFromComponents2(uint32_t dwFlags, array_view<winrt::guid const> contentKeyIds, array_view<hstring const> 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<winrt::guid const> contentKeyIds, array_view<hstring const> 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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentHeaderFactory2>
{
@@ -1288,7 +1286,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyContentResolver>
{
@@ -1297,11 +1295,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomain>
{
@@ -1310,7 +1308,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainIterableFactory>
{
@@ -1319,12 +1317,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainJoinServiceRequest>
{
@@ -1333,10 +1331,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyDomainLeaveServiceRequest>
{
@@ -1345,7 +1343,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_IPlayReadyITADataGenerator
{
- WINRT_IMPL_AUTO(com_array<uint8_t>) 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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyITADataGenerator>
{
@@ -1362,13 +1360,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) 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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense>
{
@@ -1377,10 +1375,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicense2>
{
@@ -1389,10 +1387,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest>
{
@@ -1401,7 +1399,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_IPlayReadyLicenseAcquisitionServiceRequest2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) SessionId() const;
+ [[nodiscard]] auto SessionId() const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest2>
{
@@ -1410,7 +1408,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseAcquisitionServiceRequest3>
{
@@ -1419,7 +1417,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseIterableFactory>
{
@@ -1428,7 +1426,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseManagement>
{
@@ -1437,8 +1435,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseSession>
{
@@ -1447,7 +1445,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseSession2>
{
@@ -1456,7 +1454,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyLicenseSessionFactory>
{
@@ -1465,8 +1463,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_IPlayReadyMeteringReportServiceRequest
{
- [[nodiscard]] WINRT_IMPL_AUTO(com_array<uint8_t>) MeteringCertificate() const;
- WINRT_IMPL_AUTO(void) MeteringCertificate(array_view<uint8_t const> meteringCertBytes) const;
+ [[nodiscard]] auto MeteringCertificate() const;
+ auto MeteringCertificate(array_view<uint8_t const> meteringCertBytes) const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::IPlayReadyMeteringReportServiceRequest>
{
@@ -1483,7 +1481,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopIterableFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadySecureStopIterable) CreateInstance(array_view<uint8_t const> publisherCertBytes) const;
+ auto CreateInstance(array_view<uint8_t const> publisherCertBytes) const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::IPlayReadySecureStopIterableFactory>
{
@@ -1492,11 +1490,11 @@ namespace winrt::impl
template <typename D>
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<uint8_t>) 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<winrt::Windows::Media::Protection::PlayReady::IPlayReadySecureStopServiceRequest>
{
@@ -1505,8 +1503,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_IPlayReadySecureStopServiceRequestFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadySecureStopServiceRequest) CreateInstance(array_view<uint8_t const> publisherCertBytes) const;
- WINRT_IMPL_AUTO(winrt::Windows::Media::Protection::PlayReady::PlayReadySecureStopServiceRequest) CreateInstanceFromSessionID(winrt::guid const& sessionID, array_view<uint8_t const> publisherCertBytes) const;
+ auto CreateInstance(array_view<uint8_t const> publisherCertBytes) const;
+ auto CreateInstanceFromSessionID(winrt::guid const& sessionID, array_view<uint8_t const> publisherCertBytes) const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::IPlayReadySecureStopServiceRequestFactory>
{
@@ -1515,15 +1513,15 @@ namespace winrt::impl
template <typename D>
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<uint8_t const> 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<uint8_t const> responseBytes) const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::IPlayReadyServiceRequest>
{
@@ -1532,9 +1530,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_IPlayReadySoapMessage
{
- WINRT_IMPL_AUTO(com_array<uint8_t>) 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<winrt::Windows::Media::Protection::PlayReady::IPlayReadySoapMessage>
{
@@ -1543,14 +1541,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics>
{
@@ -1559,7 +1557,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) PlayReadyCertificateSecurityLevel() const;
+ [[nodiscard]] auto PlayReadyCertificateSecurityLevel() const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics2>
{
@@ -1568,8 +1566,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics3>
{
@@ -1578,8 +1576,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics4>
{
@@ -1588,9 +1586,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Protection_PlayReady_IPlayReadyStatics5
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) HardwareDRMDisabledAtTime() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) HardwareDRMDisabledUntilTime() const;
- WINRT_IMPL_AUTO(void) ResetHardwareDRMDisabled() const;
+ [[nodiscard]] auto HardwareDRMDisabledAtTime() const;
+ [[nodiscard]] auto HardwareDRMDisabledUntilTime() const;
+ auto ResetHardwareDRMDisabled() const;
};
template <> struct consume<winrt::Windows::Media::Protection::PlayReady::IPlayReadyStatics5>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.1.h
index 5fd66aab74d..4a5c8fcc063 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.2.h
index 9b8b94dbd8a..569df8b5cf7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Protection.PlayReady.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.0.h
index 79179022047..f7df1bf67af 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.0.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.1.h
index 18d77376f0c..5bb173eaea1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.2.h
index cfec448c86a..81ec7ba6101 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Render.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.0.h
index 0594a8a38e8..4574704b91f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Globalization
{
@@ -556,7 +552,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionCompletedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus) Status() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionCompletedEventArgs>
{
@@ -565,7 +561,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionResultGeneratedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult) Result() const;
+ [[nodiscard]] auto Result() const;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionResultGeneratedEventArgs>
{
@@ -574,22 +570,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession, winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionCompletedEventArgs> 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<winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession, winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionCompletedEventArgs> const& value) const;
using Completed_revoker = impl::event_revoker<winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession, &impl::abi_t<winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession>::remove_Completed>;
- [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession, winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionCompletedEventArgs> 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<winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession, winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionResultGeneratedEventArgs> const& value) const;
+ [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession, winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionCompletedEventArgs> const& value) const;
+ auto Completed(winrt::event_token const& value) const noexcept;
+ auto ResultGenerated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession, winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionResultGeneratedEventArgs> const& value) const;
using ResultGenerated_revoker = impl::event_revoker<winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession, &impl::abi_t<winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession>::remove_ResultGenerated>;
- [[nodiscard]] ResultGenerated_revoker ResultGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession, winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionResultGeneratedEventArgs> 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<winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionSession, winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionResultGeneratedEventArgs> const& value) const;
+ auto ResultGenerated(winrt::event_token const& value) const noexcept;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession>
{
@@ -598,7 +594,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionCompilationResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResultStatus) Status() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionCompilationResult>
{
@@ -607,13 +603,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint>
{
@@ -622,7 +618,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraint
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFile) GrammarFile() const;
+ [[nodiscard]] auto GrammarFile() const;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionGrammarFileConstraint>
{
@@ -631,8 +627,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionGrammarFileConstraintFactory>
{
@@ -641,7 +637,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesis
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Text() const;
+ [[nodiscard]] auto Text() const;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionHypothesis>
{
@@ -650,7 +646,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesisGeneratedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionHypothesis) Hypothesis() const;
+ [[nodiscard]] auto Hypothesis() const;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionHypothesisGeneratedEventArgs>
{
@@ -659,7 +655,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraint
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) Commands() const;
+ [[nodiscard]] auto Commands() const;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionListConstraint>
{
@@ -668,8 +664,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraintFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionListConstraint) Create(param::iterable<hstring> const& commands) const;
- WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionListConstraint) CreateWithTag(param::iterable<hstring> const& commands, param::hstring const& tag) const;
+ auto Create(param::iterable<hstring> const& commands) const;
+ auto CreateWithTag(param::iterable<hstring> const& commands, param::hstring const& tag) const;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionListConstraintFactory>
{
@@ -678,7 +674,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionQualityDegradingEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionAudioProblem) Problem() const;
+ [[nodiscard]] auto Problem() const;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionQualityDegradingEventArgs>
{
@@ -687,14 +683,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult>) 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<hstring>) 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<winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult>
{
@@ -703,8 +699,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult2>
{
@@ -713,7 +709,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionSemanticInterpretation
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::Collections::IVectorView<hstring>>) Properties() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionSemanticInterpretation>
{
@@ -722,8 +718,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionTopicConstraint>
{
@@ -732,8 +728,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionTopicConstraintFactory>
{
@@ -750,21 +746,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionConstraint>) 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<winrt::Windows::Media::SpeechRecognition::SpeechRecognitionCompilationResult>) CompileConstraintsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult>) RecognizeAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::SpeechRecognition::SpeechRecognitionResult>) RecognizeWithUIAsync() const;
- WINRT_IMPL_AUTO(winrt::event_token) RecognitionQualityDegrading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognitionQualityDegradingEventArgs> 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<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognitionQualityDegradingEventArgs> const& speechRecognitionQualityDegradingHandler) const;
using RecognitionQualityDegrading_revoker = impl::event_revoker<winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer, &impl::abi_t<winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer>::remove_RecognitionQualityDegrading>;
- [[nodiscard]] RecognitionQualityDegrading_revoker RecognitionQualityDegrading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognitionQualityDegradingEventArgs> 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<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognizerStateChangedEventArgs> const& stateChangedHandler) const;
+ [[nodiscard]] auto RecognitionQualityDegrading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognitionQualityDegradingEventArgs> const& speechRecognitionQualityDegradingHandler) const;
+ auto RecognitionQualityDegrading(winrt::event_token const& cookie) const noexcept;
+ auto StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognizerStateChangedEventArgs> const& stateChangedHandler) const;
using StateChanged_revoker = impl::event_revoker<winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer, &impl::abi_t<winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer>::remove_StateChanged>;
- [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognizerStateChangedEventArgs> 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<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognizerStateChangedEventArgs> const& stateChangedHandler) const;
+ auto StateChanged(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer>
{
@@ -773,13 +769,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognitionHypothesisGeneratedEventArgs> const& value) const;
+ [[nodiscard]] auto ContinuousRecognitionSession() const;
+ [[nodiscard]] auto State() const;
+ auto StopRecognitionAsync() const;
+ auto HypothesisGenerated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognitionHypothesisGeneratedEventArgs> const& value) const;
using HypothesisGenerated_revoker = impl::event_revoker<winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer2, &impl::abi_t<winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer2>::remove_HypothesisGenerated>;
- [[nodiscard]] HypothesisGenerated_revoker HypothesisGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognitionHypothesisGeneratedEventArgs> 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<winrt::Windows::Media::SpeechRecognition::SpeechRecognizer, winrt::Windows::Media::SpeechRecognition::SpeechRecognitionHypothesisGeneratedEventArgs> const& value) const;
+ auto HypothesisGenerated(winrt::event_token const& value) const noexcept;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer2>
{
@@ -788,7 +784,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerFactory>
{
@@ -797,7 +793,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStateChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechRecognition::SpeechRecognizerState) State() const;
+ [[nodiscard]] auto State() const;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerStateChangedEventArgs>
{
@@ -806,9 +802,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Globalization::Language>) SupportedTopicLanguages() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Globalization::Language>) SupportedGrammarLanguages() const;
+ [[nodiscard]] auto SystemSpeechLanguage() const;
+ [[nodiscard]] auto SupportedTopicLanguages() const;
+ [[nodiscard]] auto SupportedGrammarLanguages() const;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerStatics>
{
@@ -817,7 +813,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TrySetSystemSpeechLanguageAsync(winrt::Windows::Globalization::Language const& speechLanguage) const;
+ auto TrySetSystemSpeechLanguageAsync(winrt::Windows::Globalization::Language const& speechLanguage) const;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerStatics2>
{
@@ -826,12 +822,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerTimeouts>
{
@@ -840,14 +836,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions>
{
@@ -856,8 +852,8 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Media::SpeechRecognition::VoiceCommandSet>) InstalledCommandSets() const;
+ auto InstallCommandSetsFromStorageFileAsync(winrt::Windows::Storage::StorageFile const& file) const;
+ [[nodiscard]] auto InstalledCommandSets() const;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::IVoiceCommandManager>
{
@@ -866,9 +862,9 @@ namespace winrt::impl
template <typename D>
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<hstring> const& phraseList) const;
+ [[nodiscard]] auto Language() const;
+ [[nodiscard]] auto Name() const;
+ auto SetPhraseListAsync(param::hstring const& phraseListName, param::async_iterable<hstring> const& phraseList) const;
};
template <> struct consume<winrt::Windows::Media::SpeechRecognition::IVoiceCommandSet>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.1.h
index 59d92acbe7a..0de991842e6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.2.h
index f7a3448a127..be03cdb082f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechRecognition.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.0.h
index 24c168f612f..d65c1b0feb3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
struct consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::SpeechSynthesis::VoiceInformation>) AllVoices() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::VoiceInformation) DefaultVoice() const;
+ [[nodiscard]] auto AllVoices() const;
+ [[nodiscard]] auto DefaultVoice() const;
};
template <> struct consume<winrt::Windows::Media::SpeechSynthesis::IInstalledVoicesStatic>
{
@@ -188,7 +176,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_SpeechSynthesis_IInstalledVoicesStatic2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TrySetDefaultVoiceAsync(winrt::Windows::Media::SpeechSynthesis::VoiceInformation const& voice) const;
+ auto TrySetDefaultVoiceAsync(winrt::Windows::Media::SpeechSynthesis::VoiceInformation const& voice) const;
};
template <> struct consume<winrt::Windows::Media::SpeechSynthesis::IInstalledVoicesStatic2>
{
@@ -197,7 +185,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_SpeechSynthesis_ISpeechSynthesisStream
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Media::IMediaMarker>) Markers() const;
+ [[nodiscard]] auto Markers() const;
};
template <> struct consume<winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesisStream>
{
@@ -206,10 +194,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::SpeechSynthesis::SpeechSynthesisStream>) SynthesizeTextToStreamAsync(param::hstring const& text) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::SpeechSynthesis::SpeechSynthesisStream>) 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<winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizer>
{
@@ -218,7 +206,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_SpeechSynthesis_ISpeechSynthesizer2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Media::SpeechSynthesis::SpeechSynthesizerOptions) Options() const;
+ [[nodiscard]] auto Options() const;
};
template <> struct consume<winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizer2>
{
@@ -227,10 +215,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions>
{
@@ -239,12 +227,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions2>
{
@@ -253,10 +241,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SpeechSynthesis::ISpeechSynthesizerOptions3>
{
@@ -265,11 +253,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::SpeechSynthesis::IVoiceInformation>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.1.h
index 5f0dd26c8e7..635a9185ae6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.2.h
index 91c3eb2d7f5..d238720dc9e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.SpeechSynthesis.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.0.h
index 3602eb54257..2addae732fb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IBuffer;
@@ -540,42 +535,42 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) AvailableBitrates() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) DesiredMinBitrate() const;
- WINRT_IMPL_AUTO(void) DesiredMinBitrate(winrt::Windows::Foundation::IReference<uint32_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) DesiredMaxBitrate() const;
- WINRT_IMPL_AUTO(void) DesiredMaxBitrate(winrt::Windows::Foundation::IReference<uint32_t> 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<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedEventArgs> 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<uint32_t> const& value) const;
+ [[nodiscard]] auto DesiredMaxBitrate() const;
+ auto DesiredMaxBitrate(winrt::Windows::Foundation::IReference<uint32_t> 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<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedEventArgs> const& handler) const;
using DownloadBitrateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource, &impl::abi_t<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource>::remove_DownloadBitrateChanged>;
- [[nodiscard]] DownloadBitrateChanged_revoker DownloadBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedEventArgs> 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<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourcePlaybackBitrateChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto DownloadBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadBitrateChangedEventArgs> const& handler) const;
+ auto DownloadBitrateChanged(winrt::event_token const& token) const noexcept;
+ auto PlaybackBitrateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourcePlaybackBitrateChangedEventArgs> const& handler) const;
using PlaybackBitrateChanged_revoker = impl::event_revoker<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource, &impl::abi_t<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource>::remove_PlaybackBitrateChanged>;
- [[nodiscard]] PlaybackBitrateChanged_revoker PlaybackBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourcePlaybackBitrateChangedEventArgs> 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<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto PlaybackBitrateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourcePlaybackBitrateChangedEventArgs> const& handler) const;
+ auto PlaybackBitrateChanged(winrt::event_token const& token) const noexcept;
+ auto DownloadRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedEventArgs> const& handler) const;
using DownloadRequested_revoker = impl::event_revoker<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource, &impl::abi_t<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource>::remove_DownloadRequested>;
- [[nodiscard]] DownloadRequested_revoker DownloadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedEventArgs> 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<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto DownloadRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadRequestedEventArgs> const& handler) const;
+ auto DownloadRequested(winrt::event_token const& token) const noexcept;
+ auto DownloadCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadCompletedEventArgs> const& handler) const;
using DownloadCompleted_revoker = impl::event_revoker<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource, &impl::abi_t<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource>::remove_DownloadCompleted>;
- [[nodiscard]] DownloadCompleted_revoker DownloadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadCompletedEventArgs> 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<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadFailedEventArgs> const& handler) const;
+ [[nodiscard]] auto DownloadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadCompletedEventArgs> const& handler) const;
+ auto DownloadCompleted(winrt::event_token const& token) const noexcept;
+ auto DownloadFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadFailedEventArgs> const& handler) const;
using DownloadFailed_revoker = impl::event_revoker<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource, &impl::abi_t<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource>::remove_DownloadFailed>;
- [[nodiscard]] DownloadFailed_revoker DownloadFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadFailedEventArgs> 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<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSource, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDownloadFailedEventArgs> const& handler) const;
+ auto DownloadFailed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource>
{
@@ -584,7 +579,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource2>
{
@@ -593,12 +588,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSource3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) MinLiveOffset() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) MaxSeekableWindowSize() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) DesiredSeekableWindowSize() const;
- WINRT_IMPL_AUTO(void) DesiredSeekableWindowSize(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ [[nodiscard]] auto Diagnostics() const;
+ auto GetCorrelatedTimes() const;
};
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSource3>
{
@@ -607,12 +602,12 @@ namespace winrt::impl
template <typename D>
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<double>) DesiredBitrateHeadroomRatio() const;
- WINRT_IMPL_AUTO(void) DesiredBitrateHeadroomRatio(winrt::Windows::Foundation::IReference<double> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) BitrateDowngradeTriggerRatio() const;
- WINRT_IMPL_AUTO(void) BitrateDowngradeTriggerRatio(winrt::Windows::Foundation::IReference<double> const& value) const;
+ [[nodiscard]] auto AllSegmentsIndependent() const;
+ auto AllSegmentsIndependent(bool value) const;
+ [[nodiscard]] auto DesiredBitrateHeadroomRatio() const;
+ auto DesiredBitrateHeadroomRatio(winrt::Windows::Foundation::IReference<double> const& value) const;
+ [[nodiscard]] auto BitrateDowngradeTriggerRatio() const;
+ auto BitrateDowngradeTriggerRatio(winrt::Windows::Foundation::IReference<double> const& value) const;
};
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceAdvancedSettings>
{
@@ -621,9 +616,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCorrelatedTimes
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) Position() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) PresentationTimeStamp() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) ProgramDateTime() const;
+ [[nodiscard]] auto Position() const;
+ [[nodiscard]] auto PresentationTimeStamp() const;
+ [[nodiscard]] auto ProgramDateTime() const;
};
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCorrelatedTimes>
{
@@ -632,9 +627,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult>
{
@@ -643,7 +638,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceCreationResult2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceCreationResult2>
{
@@ -652,15 +647,15 @@ namespace winrt::impl
template <typename D>
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<int32_t>) RequestId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) Position() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) SegmentId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<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<uint64_t>) ResourceByteRangeOffset() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) ResourceByteRangeLength() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) 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<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs>
{
@@ -669,7 +664,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs2>
{
@@ -678,8 +673,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnosticAvailableEventArgs3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) ResourceDuration() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResourceContentType() const;
+ [[nodiscard]] auto ResourceDuration() const;
+ [[nodiscard]] auto ResourceContentType() const;
};
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnosticAvailableEventArgs3>
{
@@ -688,10 +683,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDiagnostics
{
- WINRT_IMPL_AUTO(winrt::event_token) DiagnosticAvailable(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticAvailableEventArgs> const& handler) const;
+ auto DiagnosticAvailable(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticAvailableEventArgs> const& handler) const;
using DiagnosticAvailable_revoker = impl::event_revoker<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnostics, &impl::abi_t<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnostics>::remove_DiagnosticAvailable>;
- [[nodiscard]] DiagnosticAvailable_revoker DiagnosticAvailable(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticAvailableEventArgs> 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<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnostics, winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceDiagnosticAvailableEventArgs> const& handler) const;
+ auto DiagnosticAvailable(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDiagnostics>
{
@@ -700,8 +695,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs>
{
@@ -710,7 +705,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadBitrateChangedEventArgs2>
{
@@ -719,11 +714,11 @@ namespace winrt::impl
template <typename D>
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<uint64_t>) ResourceByteRangeOffset() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) 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<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs>
{
@@ -732,9 +727,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::TimeSpan>) Position() const;
+ [[nodiscard]] auto RequestId() const;
+ [[nodiscard]] auto Statistics() const;
+ [[nodiscard]] auto Position() const;
};
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs2>
{
@@ -743,8 +738,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadCompletedEventArgs3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) ResourceDuration() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResourceContentType() const;
+ [[nodiscard]] auto ResourceDuration() const;
+ [[nodiscard]] auto ResourceContentType() const;
};
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadCompletedEventArgs3>
{
@@ -753,11 +748,11 @@ namespace winrt::impl
template <typename D>
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<uint64_t>) ResourceByteRangeOffset() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) 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<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs>
{
@@ -766,10 +761,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::TimeSpan>) Position() const;
+ [[nodiscard]] auto RequestId() const;
+ [[nodiscard]] auto ExtendedError() const;
+ [[nodiscard]] auto Statistics() const;
+ [[nodiscard]] auto Position() const;
};
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs2>
{
@@ -778,8 +773,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadFailedEventArgs3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) ResourceDuration() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResourceContentType() const;
+ [[nodiscard]] auto ResourceDuration() const;
+ [[nodiscard]] auto ResourceContentType() const;
};
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadFailedEventArgs3>
{
@@ -788,7 +783,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedDeferral>
{
@@ -797,12 +792,12 @@ namespace winrt::impl
template <typename D>
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<uint64_t>) ResourceByteRangeOffset() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) 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<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs>
{
@@ -811,8 +806,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RequestId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) Position() const;
+ [[nodiscard]] auto RequestId() const;
+ [[nodiscard]] auto Position() const;
};
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs2>
{
@@ -821,8 +816,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadRequestedEventArgs3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) ResourceDuration() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ResourceContentType() const;
+ [[nodiscard]] auto ResourceDuration() const;
+ [[nodiscard]] auto ResourceContentType() const;
};
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadRequestedEventArgs3>
{
@@ -831,16 +826,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult>
{
@@ -849,10 +844,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadResult2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) ResourceByteRangeOffset() const;
- WINRT_IMPL_AUTO(void) ResourceByteRangeOffset(winrt::Windows::Foundation::IReference<uint64_t> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) ResourceByteRangeLength() const;
- WINRT_IMPL_AUTO(void) ResourceByteRangeLength(winrt::Windows::Foundation::IReference<uint64_t> const& value) const;
+ [[nodiscard]] auto ResourceByteRangeOffset() const;
+ auto ResourceByteRangeOffset(winrt::Windows::Foundation::IReference<uint64_t> const& value) const;
+ [[nodiscard]] auto ResourceByteRangeLength() const;
+ auto ResourceByteRangeLength(winrt::Windows::Foundation::IReference<uint64_t> const& value) const;
};
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadResult2>
{
@@ -861,10 +856,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceDownloadStatistics
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) ContentBytesReceivedCount() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) TimeToHeadersReceived() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) TimeToFirstByteReceived() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) TimeToLastByteReceived() const;
+ [[nodiscard]] auto ContentBytesReceivedCount() const;
+ [[nodiscard]] auto TimeToHeadersReceived() const;
+ [[nodiscard]] auto TimeToFirstByteReceived() const;
+ [[nodiscard]] auto TimeToLastByteReceived() const;
};
template <> struct consume<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceDownloadStatistics>
{
@@ -873,9 +868,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourcePlaybackBitrateChangedEventArgs>
{
@@ -884,11 +879,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Streaming_Adaptive_IAdaptiveMediaSourceStatics
{
- WINRT_IMPL_AUTO(bool) IsContentTypeSupported(param::hstring const& contentType) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationResult>) CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationResult>) CreateFromUriAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpClient const& httpClient) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationResult>) 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<winrt::Windows::Media::Streaming::Adaptive::AdaptiveMediaSourceCreationResult>) 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<winrt::Windows::Media::Streaming::Adaptive::IAdaptiveMediaSourceStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.1.h
index 35ce7a4573c..3b157addc47 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.2.h
index 1da17a0bfa5..ed93f5ff6ce 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Streaming.Adaptive.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.0.h
index f0b82c92d37..58b3c425523 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TProgress> struct __declspec(empty_bases) IAsyncActionWithProgress;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
@@ -111,21 +109,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Media::Transcoding::PrepareTranscodeResult>) 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<winrt::Windows::Media::Transcoding::PrepareTranscodeResult>) 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<winrt::Windows::Media::Transcoding::IMediaTranscoder>
{
@@ -134,9 +132,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Media_Transcoding_IMediaTranscoder2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Media::Transcoding::PrepareTranscodeResult>) 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<winrt::Windows::Media::Transcoding::IMediaTranscoder2>
{
@@ -145,9 +143,9 @@ namespace winrt::impl
template <typename D>
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<double>) TranscodeAsync() const;
+ [[nodiscard]] auto CanTranscode() const;
+ [[nodiscard]] auto FailureReason() const;
+ auto TranscodeAsync() const;
};
template <> struct consume<winrt::Windows::Media::Transcoding::IPrepareTranscodeResult>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.1.h
index d12865db1b7..6fc4dffac13 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.2.h
index aa9ef113d6d..5da7b8dbb6e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Media.Transcoding.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.0.h
index 181252f0968..64cf82c86ce 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Networking::IEndpointPair>
{
@@ -129,7 +129,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::IEndpointPairFactory>
{
@@ -138,12 +138,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::IHostName>
{
@@ -152,7 +152,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::IHostNameFactory>
{
@@ -161,7 +161,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::IHostNameStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.1.h
index cee864343dd..4fdc2bb28fe 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.2.h
index 58b7438383f..3d0a22af675 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.0.h
index d69b2e29070..a594e171d16 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Security::Credentials
{
@@ -646,9 +640,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>) 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<winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader>
{
@@ -657,16 +651,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader2>
{
@@ -675,7 +669,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloader3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup) CompletionGroup() const;
+ [[nodiscard]] auto CompletionGroup() const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloader3>
{
@@ -684,7 +678,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloaderFactory>
{
@@ -693,8 +687,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>>) GetCurrentDownloadsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>>) GetCurrentDownloadsAsync(param::hstring const& group) const;
+ auto GetCurrentDownloadsAsync() const;
+ auto GetCurrentDownloadsAsync(param::hstring const& group) const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloaderStaticMethods>
{
@@ -703,7 +697,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderStaticMethods2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>>) GetCurrentDownloadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group) const;
+ auto GetCurrentDownloadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group) const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloaderStaticMethods2>
{
@@ -712,7 +706,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_BackgroundTransfer_IBackgroundDownloaderUserConsent
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::BackgroundTransfer::UnconstrainedTransferRequestResult>) RequestUnconstrainedDownloadsAsync(param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation> const& operations) const;
+ auto RequestUnconstrainedDownloadsAsync(param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation> const& operations) const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IBackgroundDownloaderUserConsent>
{
@@ -721,17 +715,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferBase>
{
@@ -740,9 +734,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferCompletionGroup>
{
@@ -751,8 +745,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferCompletionGroupTriggerDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>) Downloads() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>) Uploads() const;
+ [[nodiscard]] auto Downloads() const;
+ [[nodiscard]] auto Uploads() const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferCompletionGroupTriggerDetails>
{
@@ -761,9 +755,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferContentPart>
{
@@ -772,8 +766,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferContentPartFactory>
{
@@ -782,7 +776,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferErrorStaticMethods>
{
@@ -791,9 +785,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroup>
{
@@ -802,7 +796,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferGroupStatics>
{
@@ -811,14 +805,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferOperation>
{
@@ -827,8 +821,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferOperationPriority>
{
@@ -837,9 +831,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_BackgroundTransfer_IBackgroundTransferRangesDownloadedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) WasDownloadRestarted() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferFileRange>) 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<winrt::Windows::Networking::BackgroundTransfer::IBackgroundTransferRangesDownloadedEventArgs>
{
@@ -848,11 +842,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>) CreateUploadFromStreamAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Storage::Streams::IInputStream const& sourceStream) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>) CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart> const& parts) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>) CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart> const& parts, param::hstring const& subType) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>) CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart> 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<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart> const& parts) const;
+ auto CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart> const& parts, param::hstring const& subType) const;
+ auto CreateUploadAsync(winrt::Windows::Foundation::Uri const& uri, param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferContentPart> const& parts, param::hstring const& subType, param::hstring const& boundary) const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader>
{
@@ -861,16 +855,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader2>
{
@@ -879,7 +873,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploader3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferCompletionGroup) CompletionGroup() const;
+ [[nodiscard]] auto CompletionGroup() const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploader3>
{
@@ -888,7 +882,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploaderFactory>
{
@@ -897,8 +891,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>>) GetCurrentUploadsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>>) GetCurrentUploadsAsync(param::hstring const& group) const;
+ auto GetCurrentUploadsAsync() const;
+ auto GetCurrentUploadsAsync(param::hstring const& group) const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploaderStaticMethods>
{
@@ -907,7 +901,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderStaticMethods2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::BackgroundTransfer::UploadOperation>>) GetCurrentUploadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group) const;
+ auto GetCurrentUploadsForTransferGroupAsync(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup const& group) const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploaderStaticMethods2>
{
@@ -916,7 +910,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_BackgroundTransfer_IBackgroundUploaderUserConsent
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::BackgroundTransfer::UnconstrainedTransferRequestResult>) RequestUnconstrainedUploadsAsync(param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::UploadOperation> const& operations) const;
+ auto RequestUnconstrainedUploadsAsync(param::async_iterable<winrt::Windows::Networking::BackgroundTransfer::UploadOperation> const& operations) const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IBackgroundUploaderUserConsent>
{
@@ -925,9 +919,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_BackgroundTransfer_IContentPrefetcher
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) 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<winrt::Windows::Networking::BackgroundTransfer::IContentPrefetcher>
{
@@ -936,7 +930,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_BackgroundTransfer_IContentPrefetcherTime
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) LastSuccessfulPrefetchTime() const;
+ [[nodiscard]] auto LastSuccessfulPrefetchTime() const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IContentPrefetcherTime>
{
@@ -945,12 +939,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation, winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>) StartAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation, winrt::Windows::Networking::BackgroundTransfer::DownloadOperation>) 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<winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation>
{
@@ -959,7 +953,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_BackgroundTransfer_IDownloadOperation2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup) TransferGroup() const;
+ [[nodiscard]] auto TransferGroup() const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation2>
{
@@ -968,17 +962,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferFileRange>) GetDownloadedRanges() const;
- WINRT_IMPL_AUTO(winrt::event_token) RangesDownloaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation, winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferRangesDownloadedEventArgs> const& eventHandler) const;
+ [[nodiscard]] auto IsRandomAccessRequired() const;
+ auto IsRandomAccessRequired(bool value) const;
+ auto GetResultRandomAccessStreamReference() const;
+ auto GetDownloadedRanges() const;
+ auto RangesDownloaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation, winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferRangesDownloadedEventArgs> const& eventHandler) const;
using RangesDownloaded_revoker = impl::event_revoker<winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3, &impl::abi_t<winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3>::remove_RangesDownloaded>;
- [[nodiscard]] RangesDownloaded_revoker RangesDownloaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation, winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferRangesDownloadedEventArgs> 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<winrt::Windows::Web::WebErrorStatus>) RecoverableWebErrorStatuses() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Web::WebErrorStatus>) CurrentWebErrorStatus() const;
+ [[nodiscard]] auto RangesDownloaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::BackgroundTransfer::DownloadOperation, winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferRangesDownloadedEventArgs> 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<winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation3>
{
@@ -987,7 +981,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_BackgroundTransfer_IDownloadOperation4
{
- WINRT_IMPL_AUTO(void) MakeCurrentInTransferGroup() const;
+ auto MakeCurrentInTransferGroup() const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation4>
{
@@ -996,8 +990,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::IDownloadOperation5>
{
@@ -1006,10 +1000,10 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring>) Headers() const;
+ [[nodiscard]] auto IsResumable() const;
+ [[nodiscard]] auto ActualUri() const;
+ [[nodiscard]] auto StatusCode() const;
+ [[nodiscard]] auto Headers() const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IResponseInformation>
{
@@ -1018,7 +1012,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_BackgroundTransfer_IUnconstrainedTransferRequestResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsUnconstrained() const;
+ [[nodiscard]] auto IsUnconstrained() const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IUnconstrainedTransferRequestResult>
{
@@ -1027,10 +1021,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::UploadOperation, winrt::Windows::Networking::BackgroundTransfer::UploadOperation>) StartAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Networking::BackgroundTransfer::UploadOperation, winrt::Windows::Networking::BackgroundTransfer::UploadOperation>) AttachAsync() const;
+ [[nodiscard]] auto SourceFile() const;
+ [[nodiscard]] auto Progress() const;
+ auto StartAsync() const;
+ auto AttachAsync() const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IUploadOperation>
{
@@ -1039,7 +1033,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_BackgroundTransfer_IUploadOperation2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::BackgroundTransfer::BackgroundTransferGroup) TransferGroup() const;
+ [[nodiscard]] auto TransferGroup() const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IUploadOperation2>
{
@@ -1048,7 +1042,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_BackgroundTransfer_IUploadOperation3
{
- WINRT_IMPL_AUTO(void) MakeCurrentInTransferGroup() const;
+ auto MakeCurrentInTransferGroup() const;
};
template <> struct consume<winrt::Windows::Networking::BackgroundTransfer::IUploadOperation3>
{
@@ -1057,8 +1051,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::BackgroundTransfer::IUploadOperation4>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.1.h
index 7a14ffa9d0e..89d67034df8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.2.h
index d26c07e5a96..0ad101e0022 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.BackgroundTransfer.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.0.h
index 6c3c616e47f..dcd445dfd4d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Networking
{
@@ -807,11 +805,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::IAttributedNetworkUsage>
{
@@ -820,18 +818,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::ICellularApnContext>
{
@@ -840,8 +838,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::ICellularApnContext2>
{
@@ -850,10 +848,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::IConnectionCost>
{
@@ -862,7 +860,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Connectivity_IConnectionCost2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) BackgroundDataUsageRestricted() const;
+ [[nodiscard]] auto BackgroundDataUsageRestricted() const;
};
template <> struct consume<winrt::Windows::Networking::Connectivity::IConnectionCost2>
{
@@ -871,15 +869,15 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::Networking::Connectivity::IConnectionProfile>
{
@@ -888,15 +886,15 @@ namespace winrt::impl
template <typename D>
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<winrt::guid>) ServiceProviderGuid() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint8_t>) GetSignalBars() const;
- WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::DomainConnectivityLevel) GetDomainConnectivityLevel() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::NetworkUsage>>) 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::ConnectivityInterval>>) 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<winrt::Windows::Networking::Connectivity::IConnectionProfile2>
{
@@ -905,7 +903,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Connectivity_IConnectionProfile3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::AttributedNetworkUsage>>) 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<winrt::Windows::Networking::Connectivity::IConnectionProfile3>
{
@@ -914,7 +912,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Connectivity_IConnectionProfile4
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::ProviderNetworkUsage>>) 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<winrt::Windows::Networking::Connectivity::IConnectionProfile4>
{
@@ -923,8 +921,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Connectivity_IConnectionProfile5
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) CanDelete() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Connectivity::ConnectionProfileDeleteStatus>) TryDeleteAsync() const;
+ [[nodiscard]] auto CanDelete() const;
+ auto TryDeleteAsync() const;
};
template <> struct consume<winrt::Windows::Networking::Connectivity::IConnectionProfile5>
{
@@ -933,16 +931,16 @@ namespace winrt::impl
template <typename D>
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<winrt::guid> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::guid>) 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<winrt::guid> const& value) const;
+ [[nodiscard]] auto ServiceProviderGuid() const;
};
template <> struct consume<winrt::Windows::Networking::Connectivity::IConnectionProfileFilter>
{
@@ -951,13 +949,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Connectivity_IConnectionProfileFilter2
{
- WINRT_IMPL_AUTO(void) IsRoaming(winrt::Windows::Foundation::IReference<bool> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) IsRoaming() const;
- WINRT_IMPL_AUTO(void) IsOverDataLimit(winrt::Windows::Foundation::IReference<bool> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) IsOverDataLimit() const;
- WINRT_IMPL_AUTO(void) IsBackgroundDataUsageRestricted(winrt::Windows::Foundation::IReference<bool> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) IsBackgroundDataUsageRestricted() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) RawData() const;
+ auto IsRoaming(winrt::Windows::Foundation::IReference<bool> const& value) const;
+ [[nodiscard]] auto IsRoaming() const;
+ auto IsOverDataLimit(winrt::Windows::Foundation::IReference<bool> const& value) const;
+ [[nodiscard]] auto IsOverDataLimit() const;
+ auto IsBackgroundDataUsageRestricted(winrt::Windows::Foundation::IReference<bool> const& value) const;
+ [[nodiscard]] auto IsBackgroundDataUsageRestricted() const;
+ [[nodiscard]] auto RawData() const;
};
template <> struct consume<winrt::Windows::Networking::Connectivity::IConnectionProfileFilter2>
{
@@ -966,8 +964,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Connectivity_IConnectionProfileFilter3
{
- WINRT_IMPL_AUTO(void) PurposeGuid(winrt::Windows::Foundation::IReference<winrt::guid> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::guid>) PurposeGuid() const;
+ auto PurposeGuid(winrt::Windows::Foundation::IReference<winrt::guid> const& value) const;
+ [[nodiscard]] auto PurposeGuid() const;
};
template <> struct consume<winrt::Windows::Networking::Connectivity::IConnectionProfileFilter3>
{
@@ -976,7 +974,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Connectivity_IConnectionSession
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::ConnectionProfile) ConnectionProfile() const;
+ [[nodiscard]] auto ConnectionProfile() const;
};
template <> struct consume<winrt::Windows::Networking::Connectivity::IConnectionSession>
{
@@ -985,8 +983,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::IConnectivityInterval>
{
@@ -995,9 +993,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Connectivity_IConnectivityManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Connectivity::ConnectionSession>) 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<winrt::Windows::Networking::Connectivity::IConnectivityManagerStatics>
{
@@ -1006,12 +1004,12 @@ namespace winrt::impl
template <typename D>
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<uint32_t>) DataLimitInMegabytes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) InboundBitsPerSecond() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) OutboundBitsPerSecond() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) NextBillingCycle() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) 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<winrt::Windows::Networking::Connectivity::IDataPlanStatus>
{
@@ -1020,8 +1018,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::IDataPlanUsage>
{
@@ -1030,8 +1028,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::IDataUsage>
{
@@ -1040,8 +1038,8 @@ namespace winrt::impl
template <typename D>
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<uint8_t>) PrefixLength() const;
+ [[nodiscard]] auto NetworkAdapter() const;
+ [[nodiscard]] auto PrefixLength() const;
};
template <> struct consume<winrt::Windows::Networking::Connectivity::IIPInformation>
{
@@ -1050,9 +1048,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::ILanIdentifier>
{
@@ -1061,8 +1059,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Connectivity_ILanIdentifierData
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Type() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint8_t>) Value() const;
+ [[nodiscard]] auto Type() const;
+ [[nodiscard]] auto Value() const;
};
template <> struct consume<winrt::Windows::Networking::Connectivity::ILanIdentifierData>
{
@@ -1071,12 +1069,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::ConnectionProfile>) 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<winrt::Windows::Networking::Connectivity::INetworkAdapter>
{
@@ -1085,16 +1083,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Connectivity_INetworkInformationStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::ConnectionProfile>) GetConnectionProfiles() const;
- WINRT_IMPL_AUTO(winrt::Windows::Networking::Connectivity::ConnectionProfile) GetInternetConnectionProfile() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::LanIdentifier>) GetLanIdentifiers() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::HostName>) GetHostNames() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Connectivity::ProxyConfiguration>) GetProxyConfigurationAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>) GetSortedEndpointPairs(param::iterable<winrt::Windows::Networking::EndpointPair> 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<winrt::Windows::Networking::EndpointPair> 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<winrt::Windows::Networking::Connectivity::INetworkInformationStatics, &impl::abi_t<winrt::Windows::Networking::Connectivity::INetworkInformationStatics>::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<winrt::Windows::Networking::Connectivity::INetworkInformationStatics>
{
@@ -1103,7 +1101,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Connectivity_INetworkInformationStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::ConnectionProfile>>) FindConnectionProfilesAsync(winrt::Windows::Networking::Connectivity::ConnectionProfileFilter const& pProfileFilter) const;
+ auto FindConnectionProfilesAsync(winrt::Windows::Networking::Connectivity::ConnectionProfileFilter const& pProfileFilter) const;
};
template <> struct consume<winrt::Windows::Networking::Connectivity::INetworkInformationStatics2>
{
@@ -1112,8 +1110,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::INetworkItem>
{
@@ -1122,8 +1120,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::INetworkSecuritySettings>
{
@@ -1132,12 +1130,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails>
{
@@ -1146,8 +1144,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::INetworkStateChangeEventDetails2>
{
@@ -1156,9 +1154,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::INetworkUsage>
{
@@ -1167,9 +1165,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::IProviderNetworkUsage>
{
@@ -1178,8 +1176,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Connectivity_IProxyConfiguration
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Uri>) ProxyUris() const;
- [[nodiscard]] WINRT_IMPL_AUTO(bool) CanConnectDirectly() const;
+ [[nodiscard]] auto ProxyUris() const;
+ [[nodiscard]] auto CanConnectDirectly() const;
};
template <> struct consume<winrt::Windows::Networking::Connectivity::IProxyConfiguration>
{
@@ -1188,9 +1186,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::IRoutePolicy>
{
@@ -1199,7 +1197,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::IRoutePolicyFactory>
{
@@ -1208,7 +1206,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Connectivity_IWlanConnectionProfileDetails
{
- WINRT_IMPL_AUTO(hstring) GetConnectedSsid() const;
+ auto GetConnectedSsid() const;
};
template <> struct consume<winrt::Windows::Networking::Connectivity::IWlanConnectionProfileDetails>
{
@@ -1217,10 +1215,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Connectivity::IWwanConnectionProfileDetails>
{
@@ -1229,8 +1227,8 @@ namespace winrt::impl
template <typename D>
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<winrt::guid>) PurposeGuids() const;
+ [[nodiscard]] auto IPKind() const;
+ [[nodiscard]] auto PurposeGuids() const;
};
template <> struct consume<winrt::Windows::Networking::Connectivity::IWwanConnectionProfileDetails2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.1.h
index 264f7765e26..73d7504fd6e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.2.h
index 90c569d0a23..d21bb6bb2f2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Connectivity.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Networking::EndpointPair> 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<winrt::Windows::Networking::Connectivity::INetworkInformationStatics, &impl::abi_t<winrt::Windows::Networking::Connectivity::INetworkInformationStatics>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.0.h
index dd6edc70b5c..71512908219 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
struct IAsyncAction;
- template <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Networking
{
@@ -2261,20 +2257,20 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IESim
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) 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<winrt::Windows::Networking::NetworkOperators::ESimProfile>) GetProfiles() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>) DeleteProfileAsync(param::hstring const& profileId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimDownloadProfileMetadataResult>) DownloadProfileMetadataAsync(param::hstring const& activationCode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>) ResetAsync() const;
- WINRT_IMPL_AUTO(winrt::event_token) ProfileChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESim, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::NetworkOperators::ESim, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ProfileChanged_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IESim, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IESim>::remove_ProfileChanged>;
- [[nodiscard]] ProfileChanged_revoker ProfileChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESim, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::NetworkOperators::ESim, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ProfileChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IESim>
{
@@ -2283,10 +2279,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::ESimDiscoverResult>) DiscoverAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimDiscoverResult>) 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<winrt::Windows::Networking::NetworkOperators::IESim2>
{
@@ -2295,7 +2291,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IESimAddedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESim) ESim() const;
+ [[nodiscard]] auto ESim() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IESimAddedEventArgs>
{
@@ -2304,8 +2300,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IESimDiscoverEvent>
{
@@ -2314,10 +2310,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IESimDiscoverResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::ESimDiscoverEvent>) 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<winrt::Windows::Networking::NetworkOperators::IESimDiscoverResult>
{
@@ -2326,8 +2322,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IESimDownloadProfileMetadataResult>
{
@@ -2336,12 +2332,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto ServiceInfo() const;
+ auto TryCreateESimWatcher() const;
+ auto ServiceInfoChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using ServiceInfoChanged_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IESimManagerStatics, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IESimManagerStatics>::remove_ServiceInfoChanged>;
- [[nodiscard]] ServiceInfoChanged_revoker ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ServiceInfoChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IESimManagerStatics>
{
@@ -2350,7 +2346,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IESimOperationResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESimOperationStatus) Status() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IESimOperationResult>
{
@@ -2359,7 +2355,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IESimPolicy
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldEnableManagingUi() const;
+ [[nodiscard]] auto ShouldEnableManagingUi() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IESimPolicy>
{
@@ -2368,17 +2364,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>) DisableAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>) EnableAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>) 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<winrt::Windows::Networking::NetworkOperators::IESimProfile>
{
@@ -2387,21 +2383,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>) DenyInstallAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Networking::NetworkOperators::ESimOperationResult, winrt::Windows::Networking::NetworkOperators::ESimProfileInstallProgress>) ConfirmInstallAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Networking::NetworkOperators::ESimOperationResult, winrt::Windows::Networking::NetworkOperators::ESimProfileInstallProgress>) ConfirmInstallAsync(param::hstring const& confirmationCode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ESimOperationResult>) PostponeInstallAsync() const;
- WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata, winrt::Windows::Foundation::IInspectable> const& handler) const;
using StateChanged_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata>::remove_StateChanged>;
- [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::NetworkOperators::ESimProfileMetadata, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto StateChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IESimProfileMetadata>
{
@@ -2410,9 +2406,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IESimProfilePolicy>
{
@@ -2421,7 +2417,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IESimRemovedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESim) ESim() const;
+ [[nodiscard]] auto ESim() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IESimRemovedEventArgs>
{
@@ -2430,8 +2426,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IESimServiceInfo>
{
@@ -2440,7 +2436,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IESimUpdatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::ESim) ESim() const;
+ [[nodiscard]] auto ESim() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IESimUpdatedEventArgs>
{
@@ -2449,29 +2445,29 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimAddedEventArgs> const& handler) const;
+ [[nodiscard]] auto Status() const;
+ auto Start() const;
+ auto Stop() const;
+ auto Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimAddedEventArgs> const& handler) const;
using Added_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IESimWatcher, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IESimWatcher>::remove_Added>;
- [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimAddedEventArgs> 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<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimAddedEventArgs> const& handler) const;
+ auto Added(winrt::event_token const& token) const noexcept;
+ auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using EnumerationCompleted_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IESimWatcher, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IESimWatcher>::remove_EnumerationCompleted>;
- [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimRemovedEventArgs> const& handler) const;
+ [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto EnumerationCompleted(winrt::event_token const& token) const noexcept;
+ auto Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimRemovedEventArgs> const& handler) const;
using Removed_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IESimWatcher, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IESimWatcher>::remove_Removed>;
- [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimRemovedEventArgs> 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<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimRemovedEventArgs> const& handler) const;
+ auto Removed(winrt::event_token const& token) const noexcept;
+ auto Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Stopped_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IESimWatcher, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IESimWatcher>::remove_Stopped>;
- [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimUpdatedEventArgs> const& handler) const;
+ [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Stopped(winrt::event_token const& token) const noexcept;
+ auto Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimUpdatedEventArgs> const& handler) const;
using Updated_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IESimWatcher, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IESimWatcher>::remove_Updated>;
- [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimUpdatedEventArgs> 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<winrt::Windows::Networking::NetworkOperators::ESimWatcher, winrt::Windows::Networking::NetworkOperators::ESimUpdatedEventArgs> const& handler) const;
+ auto Updated(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IESimWatcher>
{
@@ -2480,7 +2476,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IFdnAccessManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestUnlockAsync(param::hstring const& contactListId) const;
+ auto RequestUnlockAsync(param::hstring const& contactListId) const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IFdnAccessManagerStatics>
{
@@ -2489,15 +2485,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext
{
- [[nodiscard]] WINRT_IMPL_AUTO(com_array<uint8_t>) 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<winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext>
{
@@ -2506,7 +2502,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationContext2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::HotspotCredentialsAuthenticationResult>) 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<winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContext2>
{
@@ -2515,7 +2511,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationContextStatics>
{
@@ -2524,7 +2520,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IHotspotAuthenticationEventDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) EventToken() const;
+ [[nodiscard]] auto EventToken() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IHotspotAuthenticationEventDetails>
{
@@ -2533,10 +2529,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IHotspotCredentialsAuthenticationResult>
{
@@ -2545,9 +2541,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IKnownCSimFilePathsStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) EFSpn() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) Gid1() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) Gid2() const;
+ [[nodiscard]] auto EFSpn() const;
+ [[nodiscard]] auto Gid1() const;
+ [[nodiscard]] auto Gid2() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IKnownCSimFilePathsStatics>
{
@@ -2556,9 +2552,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IKnownRuimFilePathsStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) EFSpn() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) Gid1() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) Gid2() const;
+ [[nodiscard]] auto EFSpn() const;
+ [[nodiscard]] auto Gid1() const;
+ [[nodiscard]] auto Gid2() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IKnownRuimFilePathsStatics>
{
@@ -2567,10 +2563,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IKnownSimFilePathsStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) EFOns() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) EFSpn() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) Gid1() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) Gid2() const;
+ [[nodiscard]] auto EFOns() const;
+ [[nodiscard]] auto EFSpn() const;
+ [[nodiscard]] auto Gid1() const;
+ [[nodiscard]] auto Gid2() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IKnownSimFilePathsStatics>
{
@@ -2579,11 +2575,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IKnownUSimFilePathsStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) EFSpn() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) EFOpl() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) EFPnn() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) Gid1() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) 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<winrt::Windows::Networking::NetworkOperators::IKnownUSimFilePathsStatics>
{
@@ -2592,11 +2588,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount>
{
@@ -2605,7 +2601,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Connectivity::ConnectionProfile>) GetConnectionProfiles() const;
+ auto GetConnectionProfiles() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount2>
{
@@ -2614,7 +2610,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccount3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) AccountExperienceUrl() const;
+ [[nodiscard]] auto AccountExperienceUrl() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccount3>
{
@@ -2623,7 +2619,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) NetworkAccountId() const;
+ [[nodiscard]] auto NetworkAccountId() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountEventArgs>
{
@@ -2632,8 +2628,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) 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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountStatics>
{
@@ -2642,9 +2638,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountUpdatedEventArgs>
{
@@ -2653,29 +2649,29 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandAccountWatcher
{
- WINRT_IMPL_AUTO(winrt::event_token) AccountAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountEventArgs> const& handler) const;
+ auto AccountAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountEventArgs> const& handler) const;
using AccountAdded_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher>::remove_AccountAdded>;
- [[nodiscard]] AccountAdded_revoker AccountAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountEventArgs> 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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountUpdatedEventArgs> const& handler) const;
+ [[nodiscard]] auto AccountAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountEventArgs> const& handler) const;
+ auto AccountAdded(winrt::event_token const& cookie) const noexcept;
+ auto AccountUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountUpdatedEventArgs> const& handler) const;
using AccountUpdated_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher>::remove_AccountUpdated>;
- [[nodiscard]] AccountUpdated_revoker AccountUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountUpdatedEventArgs> 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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountEventArgs> const& handler) const;
+ [[nodiscard]] auto AccountUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountUpdatedEventArgs> const& handler) const;
+ auto AccountUpdated(winrt::event_token const& cookie) const noexcept;
+ auto AccountRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountEventArgs> const& handler) const;
using AccountRemoved_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher>::remove_AccountRemoved>;
- [[nodiscard]] AccountRemoved_revoker AccountRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountEventArgs> 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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto AccountRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountEventArgs> const& handler) const;
+ auto AccountRemoved(winrt::event_token const& cookie) const noexcept;
+ auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using EnumerationCompleted_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher>::remove_EnumerationCompleted>;
- [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto EnumerationCompleted(winrt::event_token const& cookie) const noexcept;
+ auto Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Stopped_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher>::remove_Stopped>;
- [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAccountWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAccountWatcher>
{
@@ -2684,8 +2680,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAntennaSar>
{
@@ -2694,7 +2690,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandAntennaSarFactory>
{
@@ -2703,14 +2699,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellCdma
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) BaseStationId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) BaseStationPNCode() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) BaseStationLatitude() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) BaseStationLongitude() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) BaseStationLastBroadcastGpsTime() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) NetworkId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) PilotSignalStrengthInDB() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) 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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellCdma>
{
@@ -2719,13 +2715,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellGsm
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) BaseStationId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) CellId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) ChannelNumber() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) LocationAreaCode() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) ReceivedSignalStrengthInDBm() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) 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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellGsm>
{
@@ -2734,14 +2730,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellLte
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) CellId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) ChannelNumber() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) PhysicalCellId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) ReferenceSignalReceivedPowerInDBm() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) ReferenceSignalReceivedQualityInDBm() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) TimingAdvanceInBitPeriods() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) 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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellLte>
{
@@ -2750,15 +2746,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellNR
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int64_t>) CellId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) ChannelNumber() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) PhysicalCellId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) ReferenceSignalReceivedPowerInDBm() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) ReferenceSignalReceivedQualityInDBm() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) TimingAdvanceInNanoseconds() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) TrackingAreaCode() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) 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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellNR>
{
@@ -2767,14 +2763,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellTdscdma
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) CellId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) CellParameterId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) ChannelNumber() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) LocationAreaCode() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) PathLossInDB() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) ReceivedSignalCodePowerInDBm() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) 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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellTdscdma>
{
@@ -2783,14 +2779,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellUmts
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) CellId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) ChannelNumber() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) LocationAreaCode() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) PathLossInDB() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) PrimaryScramblingCode() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) ReceivedSignalCodePowerInDBm() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) 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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellUmts>
{
@@ -2799,16 +2795,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellCdma>) NeighboringCellsCdma() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellGsm>) NeighboringCellsGsm() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellLte>) NeighboringCellsLte() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellTdscdma>) NeighboringCellsTdscdma() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellUmts>) NeighboringCellsUmts() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellCdma>) ServingCellsCdma() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellGsm>) ServingCellsGsm() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellLte>) ServingCellsLte() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellTdscdma>) ServingCellsTdscdma() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellUmts>) 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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo>
{
@@ -2817,8 +2813,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCellsInfo2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR>) NeighboringCellsNR() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellNR>) ServingCellsNR() const;
+ [[nodiscard]] auto NeighboringCellsNR() const;
+ [[nodiscard]] auto ServingCellsNR() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCellsInfo2>
{
@@ -2827,7 +2823,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandCurrentSlotIndexChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CurrentSlotIndex() const;
+ [[nodiscard]] auto CurrentSlotIndex() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandCurrentSlotIndexChangedEventArgs>
{
@@ -2836,20 +2832,20 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation>
{
@@ -2858,9 +2854,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation2>
{
@@ -2869,9 +2865,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation3>
{
@@ -2880,7 +2876,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceInformation4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager) SlotManager() const;
+ [[nodiscard]] auto SlotManager() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceInformation4>
{
@@ -2889,10 +2885,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceService
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) DeviceServiceId() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) 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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceService>
{
@@ -2901,8 +2897,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandResult>
{
@@ -2911,9 +2907,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceCommandSession
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceCommandResult>) SendQueryCommandAsync(uint32_t commandId, winrt::Windows::Storage::Streams::IBuffer const& data) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceCommandResult>) 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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceCommandSession>
{
@@ -2922,7 +2918,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandDeviceServiceDataReceivedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ReceivedData() const;
+ [[nodiscard]] auto ReceivedData() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataReceivedEventArgs>
{
@@ -2931,12 +2927,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataSession, winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataReceivedEventArgs> const& eventHandler) const;
+ auto WriteDataAsync(winrt::Windows::Storage::Streams::IBuffer const& value) const;
+ auto CloseSession() const;
+ auto DataReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataSession, winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataReceivedEventArgs> const& eventHandler) const;
using DataReceived_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataSession, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataSession>::remove_DataReceived>;
- [[nodiscard]] DataReceived_revoker DataReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataSession, winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataReceivedEventArgs> 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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataSession, winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceDataReceivedEventArgs> const& eventHandler) const;
+ auto DataReceived(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceDataSession>
{
@@ -2945,9 +2941,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceInformation>
{
@@ -2956,9 +2952,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandDeviceServiceTriggerDetails>
{
@@ -2967,16 +2963,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandDeviceServiceInformation>) 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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemConfiguration>) 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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem>
{
@@ -2985,8 +2981,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) GetIsPassthroughEnabledAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus>) SetIsPassthroughEnabledAsync(bool value) const;
+ auto GetIsPassthroughEnabledAsync() const;
+ auto SetIsPassthroughEnabledAsync(bool value) const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem2>
{
@@ -2995,12 +2991,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModem3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPco>) TryGetPcoAsync() const;
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInEmergencyCallMode() const;
- WINRT_IMPL_AUTO(winrt::event_token) IsInEmergencyCallModeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto TryGetPcoAsync() const;
+ [[nodiscard]] auto IsInEmergencyCallMode() const;
+ auto IsInEmergencyCallModeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem, winrt::Windows::Foundation::IInspectable> const& handler) const;
using IsInEmergencyCallModeChanged_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem3, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem3>::remove_IsInEmergencyCallModeChanged>;
- [[nodiscard]] IsInEmergencyCallModeChanged_revoker IsInEmergencyCallModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModem, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto IsInEmergencyCallModeChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModem3>
{
@@ -3009,9 +3005,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemConfiguration>
{
@@ -3020,7 +3016,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandModemConfiguration2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager) SarManager() const;
+ [[nodiscard]] auto SarManager() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemConfiguration2>
{
@@ -3029,10 +3025,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemIsolation>
{
@@ -3041,7 +3037,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemIsolationFactory>
{
@@ -3050,9 +3046,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandModemStatics>
{
@@ -3061,16 +3057,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork>
{
@@ -3079,8 +3075,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) GetVoiceCallSupportAsync() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccApp>) RegistrationUiccApps() const;
+ auto GetVoiceCallSupportAsync() const;
+ [[nodiscard]] auto RegistrationUiccApps() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork2>
{
@@ -3089,7 +3085,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetwork3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandCellsInfo>) GetCellsInfoAsync() const;
+ auto GetCellsInfoAsync() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetwork3>
{
@@ -3098,8 +3094,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetworkRegistrationStateChange>
{
@@ -3108,7 +3104,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandNetworkRegistrationStateChange>) NetworkRegistrationStateChanges() const;
+ [[nodiscard]] auto NetworkRegistrationStateChanges() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandNetworkRegistrationStateChangeTriggerDetails>
{
@@ -3117,9 +3113,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPco>
{
@@ -3128,7 +3124,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandPcoDataChangeTriggerDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandPco) UpdatedData() const;
+ [[nodiscard]] auto UpdatedData() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPcoDataChangeTriggerDetails>
{
@@ -3137,18 +3133,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinOperationResult>) EnableAsync(param::hstring const& currentPin) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinOperationResult>) DisableAsync(param::hstring const& currentPin) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinOperationResult>) EnterAsync(param::hstring const& currentPin) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinOperationResult>) ChangeAsync(param::hstring const& currentPin, param::hstring const& newPin) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinOperationResult>) 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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPin>
{
@@ -3157,9 +3153,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChange>
{
@@ -3168,7 +3164,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinLockStateChangeTriggerDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinLockStateChange>) PinLockStateChanges() const;
+ [[nodiscard]] auto PinLockStateChanges() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinLockStateChangeTriggerDetails>
{
@@ -3177,8 +3173,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandPinManager
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandPinType>) 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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinManager>
{
@@ -3187,8 +3183,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandPinOperationResult>
{
@@ -3197,8 +3193,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChange>
{
@@ -3207,7 +3203,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandRadioStateChangeTriggerDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandRadioStateChange>) RadioStateChanges() const;
+ [[nodiscard]] auto RadioStateChanges() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandRadioStateChangeTriggerDetails>
{
@@ -3216,23 +3212,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAntennaSar>) Antennas() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) HysteresisTimerPeriod() const;
- WINRT_IMPL_AUTO(winrt::event_token) TransmissionStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandTransmissionStateChangedEventArgs> 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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandTransmissionStateChangedEventArgs> const& handler) const;
using TransmissionStateChanged_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager>::remove_TransmissionStateChanged>;
- [[nodiscard]] TransmissionStateChanged_revoker TransmissionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandTransmissionStateChangedEventArgs> 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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAntennaSar> 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<bool>) GetIsTransmittingAsync() const;
- WINRT_IMPL_AUTO(void) StartTransmissionStateMonitoring() const;
- WINRT_IMPL_AUTO(void) StopTransmissionStateMonitoring() const;
+ [[nodiscard]] auto TransmissionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSarManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandTransmissionStateChangedEventArgs> const& handler) const;
+ auto TransmissionStateChanged(winrt::event_token const& token) const noexcept;
+ auto EnableBackoffAsync() const;
+ auto DisableBackoffAsync() const;
+ auto SetConfigurationAsync(param::async_iterable<winrt::Windows::Networking::NetworkOperators::MobileBroadbandAntennaSar> 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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSarManager>
{
@@ -3241,8 +3237,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfo>
{
@@ -3251,7 +3247,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotInfoChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo) SlotInfo() const;
+ [[nodiscard]] auto SlotInfo() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotInfoChangedEventArgs>
{
@@ -3260,18 +3256,18 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandSlotManager
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfo>) 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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandModemStatus>) SetCurrentSlotAsync(int32_t slotIndex) const;
- WINRT_IMPL_AUTO(winrt::event_token) SlotInfoChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfoChangedEventArgs> 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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfoChangedEventArgs> const& handler) const;
using SlotInfoChanged_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager>::remove_SlotInfoChanged>;
- [[nodiscard]] SlotInfoChanged_revoker SlotInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfoChangedEventArgs> 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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandCurrentSlotIndexChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto SlotInfoChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotInfoChangedEventArgs> const& handler) const;
+ auto SlotInfoChanged(winrt::event_token const& token) const noexcept;
+ auto CurrentSlotIndexChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandCurrentSlotIndexChangedEventArgs> const& handler) const;
using CurrentSlotIndexChanged_revoker = impl::event_revoker<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager>::remove_CurrentSlotIndexChanged>;
- [[nodiscard]] CurrentSlotIndexChanged_revoker CurrentSlotIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandCurrentSlotIndexChangedEventArgs> 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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandSlotManager, winrt::Windows::Networking::NetworkOperators::MobileBroadbandCurrentSlotIndexChangedEventArgs> const& handler) const;
+ auto CurrentSlotIndexChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandSlotManager>
{
@@ -3280,7 +3276,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandTransmissionStateChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTransmitting() const;
+ [[nodiscard]] auto IsTransmitting() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandTransmissionStateChangedEventArgs>
{
@@ -3289,8 +3285,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IMobileBroadbandUicc
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) SimIccId() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppsResult>) GetUiccAppsAsync() const;
+ [[nodiscard]] auto SimIccId() const;
+ auto GetUiccAppsAsync() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUicc>
{
@@ -3299,10 +3295,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppRecordDetailsResult>) GetRecordDetailsAsync(param::async_iterable<uint32_t> const& uiccFilePath) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccAppReadRecordResult>) ReadRecordAsync(param::async_iterable<uint32_t> const& uiccFilePath, int32_t recordIndex) const;
+ [[nodiscard]] auto Id() const;
+ [[nodiscard]] auto Kind() const;
+ auto GetRecordDetailsAsync(param::async_iterable<uint32_t> const& uiccFilePath) const;
+ auto ReadRecordAsync(param::async_iterable<uint32_t> const& uiccFilePath, int32_t recordIndex) const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccApp>
{
@@ -3311,8 +3307,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppReadRecordResult>
{
@@ -3321,12 +3317,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppRecordDetailsResult>
{
@@ -3335,8 +3331,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::MobileBroadbandUiccApp>) UiccApps() const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto UiccApps() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IMobileBroadbandUiccAppsResult>
{
@@ -3345,7 +3341,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_INetworkOperatorDataUsageTriggerDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::NetworkOperators::NetworkOperatorDataUsageNotificationKind) NotificationKind() const;
+ [[nodiscard]] auto NotificationKind() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::INetworkOperatorDataUsageTriggerDetails>
{
@@ -3354,12 +3350,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::INetworkOperatorNotificationEventDetails>
{
@@ -3368,10 +3364,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration>
{
@@ -3380,10 +3376,10 @@ namespace winrt::impl
template <typename D>
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<bool>) 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<winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringAccessPointConfiguration2>
{
@@ -3392,8 +3388,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClient
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) MacAddress() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::HostName>) HostNames() const;
+ [[nodiscard]] auto MacAddress() const;
+ [[nodiscard]] auto HostNames() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringClient>
{
@@ -3402,7 +3398,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_INetworkOperatorTetheringClientManager
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringClient>) GetTetheringClients() const;
+ auto GetTetheringClients() const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringClientManager>
{
@@ -3411,7 +3407,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringEntitlementCheck>
{
@@ -3420,13 +3416,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringOperationResult>) StartTetheringAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::NetworkOperatorTetheringOperationResult>) 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<winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManager>
{
@@ -3435,8 +3431,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics>
{
@@ -3445,8 +3441,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics2>
{
@@ -3455,7 +3451,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics3>
{
@@ -3464,11 +3460,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringManagerStatics4>
{
@@ -3477,8 +3473,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::INetworkOperatorTetheringOperationResult>
{
@@ -3487,8 +3483,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IProvisionFromXmlDocumentResults>
{
@@ -3497,8 +3493,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IProvisionedProfile>
{
@@ -3507,8 +3503,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IProvisioningAgent
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::ProvisionFromXmlDocumentResults>) 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<winrt::Windows::Networking::NetworkOperators::IProvisioningAgent>
{
@@ -3517,7 +3513,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IProvisioningAgentStaticMethods>
{
@@ -3526,9 +3522,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::ITetheringEntitlementCheckTriggerDetails>
{
@@ -3537,12 +3533,12 @@ namespace winrt::impl
template <typename D>
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<uint8_t>) GetPayload() const;
- WINRT_IMPL_AUTO(void) SetPayload(array_view<uint8_t const> 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<uint8_t const> value) const;
+ [[nodiscard]] auto PayloadAsText() const;
+ auto PayloadAsText(param::hstring const& value) const;
};
template <> struct consume<winrt::Windows::Networking::NetworkOperators::IUssdMessage>
{
@@ -3551,7 +3547,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IUssdMessageFactory>
{
@@ -3560,8 +3556,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IUssdReply>
{
@@ -3570,8 +3566,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_NetworkOperators_IUssdSession
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::NetworkOperators::UssdReply>) 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<winrt::Windows::Networking::NetworkOperators::IUssdSession>
{
@@ -3580,8 +3576,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::NetworkOperators::IUssdSessionStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.1.h
index d62ac2e0c59..da0ab9e85d9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.2.h
index be6869a284a..e9ea648121a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.NetworkOperators.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable> const& handler);
using ServiceInfoChanged_revoker = impl::factory_event_revoker<winrt::Windows::Networking::NetworkOperators::IESimManagerStatics, &impl::abi_t<winrt::Windows::Networking::NetworkOperators::IESimManagerStatics>::remove_ServiceInfoChanged>;
- [[nodiscard]] static ServiceInfoChanged_revoker ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto ServiceInfoChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto ServiceInfoChanged(winrt::event_token const& token);
};
struct __declspec(empty_bases) ESimOperationResult : winrt::Windows::Networking::NetworkOperators::IESimOperationResult
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.0.h
index 360b57225de..a957f5b7714 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Networking
{
struct HostName;
@@ -323,7 +317,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Proximity_IConnectionRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Proximity::PeerInformation) PeerInformation() const;
+ [[nodiscard]] auto PeerInformation() const;
};
template <> struct consume<winrt::Windows::Networking::Proximity::IConnectionRequestedEventArgs>
{
@@ -332,29 +326,29 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring>) 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::TriggeredConnectionStateChangedEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::TriggeredConnectionStateChangedEventArgs> const& handler) const;
using TriggeredConnectionStateChanged_revoker = impl::event_revoker<winrt::Windows::Networking::Proximity::IPeerFinderStatics, &impl::abi_t<winrt::Windows::Networking::Proximity::IPeerFinderStatics>::remove_TriggeredConnectionStateChanged>;
- [[nodiscard]] TriggeredConnectionStateChanged_revoker TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::TriggeredConnectionStateChangedEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::ConnectionRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::TriggeredConnectionStateChangedEventArgs> const& handler) const;
+ auto TriggeredConnectionStateChanged(winrt::event_token const& cookie) const noexcept;
+ auto ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::ConnectionRequestedEventArgs> const& handler) const;
using ConnectionRequested_revoker = impl::event_revoker<winrt::Windows::Networking::Proximity::IPeerFinderStatics, &impl::abi_t<winrt::Windows::Networking::Proximity::IPeerFinderStatics>::remove_ConnectionRequested>;
- [[nodiscard]] ConnectionRequested_revoker ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::ConnectionRequestedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) ConnectionRequested(winrt::event_token const& cookie) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Proximity::PeerInformation>>) FindAllPeersAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Sockets::StreamSocket>) ConnectAsync(winrt::Windows::Networking::Proximity::PeerInformation const& peerInformation) const;
+ [[nodiscard]] auto ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::ConnectionRequestedEventArgs> 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<winrt::Windows::Networking::Proximity::IPeerFinderStatics>
{
@@ -363,11 +357,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Proximity::IPeerFinderStatics2>
{
@@ -376,7 +370,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Proximity_IPeerInformation
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DisplayName() const;
+ [[nodiscard]] auto DisplayName() const;
};
template <> struct consume<winrt::Windows::Networking::Proximity::IPeerInformation>
{
@@ -385,8 +379,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Proximity::IPeerInformation3>
{
@@ -395,8 +389,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Proximity::IPeerInformationWithHostAndService>
{
@@ -405,29 +399,29 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Proximity_IPeerWatcher
{
- WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const;
+ auto Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const;
using Added_revoker = impl::event_revoker<winrt::Windows::Networking::Proximity::IPeerWatcher, &impl::abi_t<winrt::Windows::Networking::Proximity::IPeerWatcher>::remove_Added>;
- [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> 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<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const;
+ [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const;
+ auto Added(winrt::event_token const& token) const noexcept;
+ auto Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const;
using Removed_revoker = impl::event_revoker<winrt::Windows::Networking::Proximity::IPeerWatcher, &impl::abi_t<winrt::Windows::Networking::Proximity::IPeerWatcher>::remove_Removed>;
- [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> 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<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const;
+ [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const;
+ auto Removed(winrt::event_token const& token) const noexcept;
+ auto Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const;
using Updated_revoker = impl::event_revoker<winrt::Windows::Networking::Proximity::IPeerWatcher, &impl::abi_t<winrt::Windows::Networking::Proximity::IPeerWatcher>::remove_Updated>;
- [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> 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<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Networking::Proximity::PeerInformation> const& handler) const;
+ auto Updated(winrt::event_token const& token) const noexcept;
+ auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using EnumerationCompleted_revoker = impl::event_revoker<winrt::Windows::Networking::Proximity::IPeerWatcher, &impl::abi_t<winrt::Windows::Networking::Proximity::IPeerWatcher>::remove_EnumerationCompleted>;
- [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto EnumerationCompleted(winrt::event_token const& token) const noexcept;
+ auto Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Stopped_revoker = impl::event_revoker<winrt::Windows::Networking::Proximity::IPeerWatcher, &impl::abi_t<winrt::Windows::Networking::Proximity::IPeerWatcher>::remove_Stopped>;
- [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::Proximity::PeerWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::Proximity::IPeerWatcher>
{
@@ -436,26 +430,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Proximity::IProximityDevice, &impl::abi_t<winrt::Windows::Networking::Proximity::IProximityDevice>::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<winrt::Windows::Networking::Proximity::IProximityDevice, &impl::abi_t<winrt::Windows::Networking::Proximity::IProximityDevice>::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<winrt::Windows::Networking::Proximity::IProximityDevice>
{
@@ -464,9 +458,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Proximity::IProximityDeviceStatics>
{
@@ -475,10 +469,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Proximity::IProximityMessage>
{
@@ -487,9 +481,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Proximity::ITriggeredConnectionStateChangedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.1.h
index 24d3f29eee1..417c9e6920a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.2.h
index afa0670a28a..ac3f28a77a0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Proximity.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::TriggeredConnectionStateChangedEventArgs> const& handler);
using TriggeredConnectionStateChanged_revoker = impl::factory_event_revoker<winrt::Windows::Networking::Proximity::IPeerFinderStatics, &impl::abi_t<winrt::Windows::Networking::Proximity::IPeerFinderStatics>::remove_TriggeredConnectionStateChanged>;
- [[nodiscard]] static TriggeredConnectionStateChanged_revoker TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::TriggeredConnectionStateChangedEventArgs> const& handler);
+ [[nodiscard]] static auto TriggeredConnectionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::TriggeredConnectionStateChangedEventArgs> const& handler);
static auto TriggeredConnectionStateChanged(winrt::event_token const& cookie);
static auto ConnectionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::ConnectionRequestedEventArgs> const& handler);
using ConnectionRequested_revoker = impl::factory_event_revoker<winrt::Windows::Networking::Proximity::IPeerFinderStatics, &impl::abi_t<winrt::Windows::Networking::Proximity::IPeerFinderStatics>::remove_ConnectionRequested>;
- [[nodiscard]] static ConnectionRequested_revoker ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::ConnectionRequestedEventArgs> const& handler);
+ [[nodiscard]] static auto ConnectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Networking::Proximity::ConnectionRequestedEventArgs> 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.0.h
index f46651e659b..b4bfcaa930d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IBuffer;
@@ -218,13 +213,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::PushNotifications::PushNotificationChannel, winrt::Windows::Networking::PushNotifications::PushNotificationReceivedEventArgs> const& handler) const;
+ [[nodiscard]] auto Uri() const;
+ [[nodiscard]] auto ExpirationTime() const;
+ auto Close() const;
+ auto PushNotificationReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::PushNotifications::PushNotificationChannel, winrt::Windows::Networking::PushNotifications::PushNotificationReceivedEventArgs> const& handler) const;
using PushNotificationReceived_revoker = impl::event_revoker<winrt::Windows::Networking::PushNotifications::IPushNotificationChannel, &impl::abi_t<winrt::Windows::Networking::PushNotifications::IPushNotificationChannel>::remove_PushNotificationReceived>;
- [[nodiscard]] PushNotificationReceived_revoker PushNotificationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::PushNotifications::PushNotificationChannel, winrt::Windows::Networking::PushNotifications::PushNotificationReceivedEventArgs> 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<winrt::Windows::Networking::PushNotifications::PushNotificationChannel, winrt::Windows::Networking::PushNotifications::PushNotificationReceivedEventArgs> const& handler) const;
+ auto PushNotificationReceived(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Networking::PushNotifications::IPushNotificationChannel>
{
@@ -233,10 +228,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>) CreatePushNotificationChannelForApplicationAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>) CreatePushNotificationChannelForApplicationAsync(param::hstring const& applicationId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>) 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<winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerForUser>
{
@@ -245,8 +240,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerForUser2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>) CreateRawPushNotificationChannelWithAlternateKeyForApplicationAsync(winrt::Windows::Storage::Streams::IBuffer const& appServerKey, param::hstring const& channelId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>) 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<winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerForUser2>
{
@@ -255,9 +250,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>) CreatePushNotificationChannelForApplicationAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>) CreatePushNotificationChannelForApplicationAsync(param::hstring const& applicationId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::PushNotifications::PushNotificationChannel>) 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<winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics>
{
@@ -266,7 +261,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics2>
{
@@ -275,7 +270,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics3
{
- WINRT_IMPL_AUTO(winrt::Windows::Networking::PushNotifications::PushNotificationChannelManagerForUser) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics3>
{
@@ -284,10 +279,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_PushNotifications_IPushNotificationChannelManagerStatics4
{
- WINRT_IMPL_AUTO(winrt::event_token) ChannelsRevoked(winrt::Windows::Foundation::EventHandler<winrt::Windows::Networking::PushNotifications::PushNotificationChannelsRevokedEventArgs> const& handler) const;
+ auto ChannelsRevoked(winrt::Windows::Foundation::EventHandler<winrt::Windows::Networking::PushNotifications::PushNotificationChannelsRevokedEventArgs> const& handler) const;
using ChannelsRevoked_revoker = impl::event_revoker<winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics4, &impl::abi_t<winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics4>::remove_ChannelsRevoked>;
- [[nodiscard]] ChannelsRevoked_revoker ChannelsRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Networking::PushNotifications::PushNotificationChannelsRevokedEventArgs> 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<winrt::Windows::Networking::PushNotifications::PushNotificationChannelsRevokedEventArgs> const& handler) const;
+ auto ChannelsRevoked(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics4>
{
@@ -304,13 +299,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::PushNotifications::IPushNotificationReceivedEventArgs>
{
@@ -319,7 +314,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_PushNotifications_IRawNotification
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Content() const;
+ [[nodiscard]] auto Content() const;
};
template <> struct consume<winrt::Windows::Networking::PushNotifications::IRawNotification>
{
@@ -328,8 +323,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_PushNotifications_IRawNotification2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>) Headers() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ChannelId() const;
+ [[nodiscard]] auto Headers() const;
+ [[nodiscard]] auto ChannelId() const;
};
template <> struct consume<winrt::Windows::Networking::PushNotifications::IRawNotification2>
{
@@ -338,7 +333,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_PushNotifications_IRawNotification3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) ContentBytes() const;
+ [[nodiscard]] auto ContentBytes() const;
};
template <> struct consume<winrt::Windows::Networking::PushNotifications::IRawNotification3>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.1.h
index 9d14fbc4061..a8914c224aa 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.2.h
index 64aedcf5b14..c96e57d02be 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.PushNotifications.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Networking::PushNotifications::PushNotificationChannelsRevokedEventArgs> const& handler);
using ChannelsRevoked_revoker = impl::factory_event_revoker<winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics4, &impl::abi_t<winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerStatics4>::remove_ChannelsRevoked>;
- [[nodiscard]] static ChannelsRevoked_revoker ChannelsRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Networking::PushNotifications::PushNotificationChannelsRevokedEventArgs> const& handler);
+ [[nodiscard]] static auto ChannelsRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Networking::PushNotifications::PushNotificationChannelsRevokedEventArgs> const& handler);
static auto ChannelsRevoked(winrt::event_token const& token);
};
struct __declspec(empty_bases) PushNotificationChannelManagerForUser : winrt::Windows::Networking::PushNotifications::IPushNotificationChannelManagerForUser,
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.0.h
index ea6275614bd..f70d51b164e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Networking
@@ -139,9 +137,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdRegistrationResult>
{
@@ -150,21 +148,21 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring>) TextAttributes() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdRegistrationResult>) RegisterStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& socket) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdRegistrationResult>) RegisterStreamSocketListenerAsync(winrt::Windows::Networking::Sockets::StreamSocketListener const& socket, winrt::Windows::Networking::Connectivity::NetworkAdapter const& adapter) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdRegistrationResult>) RegisterDatagramSocketAsync(winrt::Windows::Networking::Sockets::DatagramSocket const& socket) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdRegistrationResult>) 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<winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstance>
{
@@ -173,7 +171,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceInstanceFactory>
{
@@ -182,21 +180,21 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_ServiceDiscovery_Dnssd_IDnssdServiceWatcher
{
- WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceInstance> const& handler) const;
+ auto Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceInstance> const& handler) const;
using Added_revoker = impl::event_revoker<winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher, &impl::abi_t<winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher>::remove_Added>;
- [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceInstance> 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<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceInstance> const& handler) const;
+ auto Added(winrt::event_token const& token) const noexcept;
+ auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using EnumerationCompleted_revoker = impl::event_revoker<winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher, &impl::abi_t<winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher>::remove_EnumerationCompleted>;
- [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto EnumerationCompleted(winrt::event_token const& token) const noexcept;
+ auto Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Stopped_revoker = impl::event_revoker<winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher, &impl::abi_t<winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher>::remove_Stopped>;
- [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::ServiceDiscovery::Dnssd::DnssdServiceWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::ServiceDiscovery::Dnssd::IDnssdServiceWatcher>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.1.h
index 1d10e8a0998..a82004d9c75 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.2.h
index a78553ec620..8f5c11c3e15 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.ServiceDiscovery.Dnssd.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.0.h
index 47f3ca6509a..bb44c111d36 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<winrt::Windows::Networking::Sockets::IControlChannelTrigger>
{
@@ -1189,7 +1180,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Sockets_IControlChannelTrigger2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsWakeFromLowPowerSupported() const;
+ [[nodiscard]] auto IsWakeFromLowPowerSupported() const;
};
template <> struct consume<winrt::Windows::Networking::Sockets::IControlChannelTrigger2>
{
@@ -1198,7 +1189,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Sockets_IControlChannelTriggerEventDetails
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::ControlChannelTrigger) ControlChannelTrigger() const;
+ [[nodiscard]] auto ControlChannelTrigger() const;
};
template <> struct consume<winrt::Windows::Networking::Sockets::IControlChannelTriggerEventDetails>
{
@@ -1207,8 +1198,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IControlChannelTriggerFactory>
{
@@ -1217,9 +1208,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IControlChannelTriggerResetEventDetails>
{
@@ -1228,20 +1219,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Streams::IOutputStream>) GetOutputStreamAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IOutputStream>) GetOutputStreamAsync(winrt::Windows::Networking::EndpointPair const& endpointPair) const;
- WINRT_IMPL_AUTO(winrt::event_token) MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::DatagramSocket, winrt::Windows::Networking::Sockets::DatagramSocketMessageReceivedEventArgs> 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<winrt::Windows::Networking::Sockets::DatagramSocket, winrt::Windows::Networking::Sockets::DatagramSocketMessageReceivedEventArgs> const& eventHandler) const;
using MessageReceived_revoker = impl::event_revoker<winrt::Windows::Networking::Sockets::IDatagramSocket, &impl::abi_t<winrt::Windows::Networking::Sockets::IDatagramSocket>::remove_MessageReceived>;
- [[nodiscard]] MessageReceived_revoker MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::DatagramSocket, winrt::Windows::Networking::Sockets::DatagramSocketMessageReceivedEventArgs> 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<winrt::Windows::Networking::Sockets::DatagramSocket, winrt::Windows::Networking::Sockets::DatagramSocketMessageReceivedEventArgs> const& eventHandler) const;
+ auto MessageReceived(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Networking::Sockets::IDatagramSocket>
{
@@ -1250,7 +1241,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IDatagramSocket2>
{
@@ -1259,12 +1250,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IDatagramSocket3>
{
@@ -1273,10 +1264,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IDatagramSocketControl>
{
@@ -1285,10 +1276,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IDatagramSocketControl2>
{
@@ -1297,8 +1288,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IDatagramSocketControl3>
{
@@ -1307,10 +1298,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IDatagramSocketInformation>
{
@@ -1319,11 +1310,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IDatagramSocketMessageReceivedEventArgs>
{
@@ -1332,8 +1323,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Sockets_IDatagramSocketStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>>) GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>>) 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<winrt::Windows::Networking::Sockets::IDatagramSocketStatics>
{
@@ -1342,12 +1333,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::MessageWebSocket, winrt::Windows::Networking::Sockets::MessageWebSocketMessageReceivedEventArgs> const& eventHandler) const;
+ [[nodiscard]] auto Control() const;
+ [[nodiscard]] auto Information() const;
+ auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::MessageWebSocket, winrt::Windows::Networking::Sockets::MessageWebSocketMessageReceivedEventArgs> const& eventHandler) const;
using MessageReceived_revoker = impl::event_revoker<winrt::Windows::Networking::Sockets::IMessageWebSocket, &impl::abi_t<winrt::Windows::Networking::Sockets::IMessageWebSocket>::remove_MessageReceived>;
- [[nodiscard]] MessageReceived_revoker MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::MessageWebSocket, winrt::Windows::Networking::Sockets::MessageWebSocketMessageReceivedEventArgs> 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<winrt::Windows::Networking::Sockets::MessageWebSocket, winrt::Windows::Networking::Sockets::MessageWebSocketMessageReceivedEventArgs> const& eventHandler) const;
+ auto MessageReceived(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Networking::Sockets::IMessageWebSocket>
{
@@ -1356,10 +1347,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Sockets_IMessageWebSocket2
{
- WINRT_IMPL_AUTO(winrt::event_token) ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::MessageWebSocket, winrt::Windows::Networking::Sockets::WebSocketServerCustomValidationRequestedEventArgs> const& eventHandler) const;
+ auto ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::MessageWebSocket, winrt::Windows::Networking::Sockets::WebSocketServerCustomValidationRequestedEventArgs> const& eventHandler) const;
using ServerCustomValidationRequested_revoker = impl::event_revoker<winrt::Windows::Networking::Sockets::IMessageWebSocket2, &impl::abi_t<winrt::Windows::Networking::Sockets::IMessageWebSocket2>::remove_ServerCustomValidationRequested>;
- [[nodiscard]] ServerCustomValidationRequested_revoker ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::MessageWebSocket, winrt::Windows::Networking::Sockets::WebSocketServerCustomValidationRequestedEventArgs> 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<winrt::Windows::Networking::Sockets::MessageWebSocket, winrt::Windows::Networking::Sockets::WebSocketServerCustomValidationRequestedEventArgs> const& eventHandler) const;
+ auto ServerCustomValidationRequested(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Networking::Sockets::IMessageWebSocket2>
{
@@ -1368,8 +1359,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Sockets_IMessageWebSocket3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint32_t, uint32_t>) SendNonfinalFrameAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint32_t, uint32_t>) 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<winrt::Windows::Networking::Sockets::IMessageWebSocket3>
{
@@ -1378,10 +1369,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IMessageWebSocketControl>
{
@@ -1390,13 +1381,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IMessageWebSocketControl2>
{
@@ -1405,9 +1396,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IMessageWebSocketMessageReceivedEventArgs>
{
@@ -1416,7 +1407,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Sockets_IMessageWebSocketMessageReceivedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsMessageComplete() const;
+ [[nodiscard]] auto IsMessageComplete() const;
};
template <> struct consume<winrt::Windows::Networking::Sockets::IMessageWebSocketMessageReceivedEventArgs2>
{
@@ -1425,18 +1416,18 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Sockets_IServerMessageWebSocket
{
- WINRT_IMPL_AUTO(winrt::event_token) MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerMessageWebSocket, winrt::Windows::Networking::Sockets::MessageWebSocketMessageReceivedEventArgs> const& value) const;
+ auto MessageReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerMessageWebSocket, winrt::Windows::Networking::Sockets::MessageWebSocketMessageReceivedEventArgs> const& value) const;
using MessageReceived_revoker = impl::event_revoker<winrt::Windows::Networking::Sockets::IServerMessageWebSocket, &impl::abi_t<winrt::Windows::Networking::Sockets::IServerMessageWebSocket>::remove_MessageReceived>;
- [[nodiscard]] MessageReceived_revoker MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerMessageWebSocket, winrt::Windows::Networking::Sockets::MessageWebSocketMessageReceivedEventArgs> 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<winrt::Windows::Networking::Sockets::ServerMessageWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> const& value) const;
+ [[nodiscard]] auto MessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerMessageWebSocket, winrt::Windows::Networking::Sockets::MessageWebSocketMessageReceivedEventArgs> 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<winrt::Windows::Networking::Sockets::ServerMessageWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> const& value) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::Networking::Sockets::IServerMessageWebSocket, &impl::abi_t<winrt::Windows::Networking::Sockets::IServerMessageWebSocket>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerMessageWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> 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<winrt::Windows::Networking::Sockets::ServerMessageWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> 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<winrt::Windows::Networking::Sockets::IServerMessageWebSocket>
{
@@ -1445,8 +1436,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IServerMessageWebSocketControl>
{
@@ -1455,9 +1446,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IServerMessageWebSocketInformation>
{
@@ -1466,14 +1457,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::ServerStreamWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> const& value) const;
+ [[nodiscard]] auto Information() const;
+ [[nodiscard]] auto InputStream() const;
+ [[nodiscard]] auto OutputStream() const;
+ auto Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerStreamWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> const& value) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::Networking::Sockets::IServerStreamWebSocket, &impl::abi_t<winrt::Windows::Networking::Sockets::IServerStreamWebSocket>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::ServerStreamWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> 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<winrt::Windows::Networking::Sockets::ServerStreamWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> 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<winrt::Windows::Networking::Sockets::IServerStreamWebSocket>
{
@@ -1482,9 +1473,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IServerStreamWebSocketInformation>
{
@@ -1493,7 +1484,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Sockets_ISocketActivityContext
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IBuffer) Data() const;
+ [[nodiscard]] auto Data() const;
};
template <> struct consume<winrt::Windows::Networking::Sockets::ISocketActivityContext>
{
@@ -1502,7 +1493,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::ISocketActivityContextFactory>
{
@@ -1511,13 +1502,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::ISocketActivityInformation>
{
@@ -1526,7 +1517,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Sockets_ISocketActivityInformationStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Networking::Sockets::SocketActivityInformation>) AllSockets() const;
+ [[nodiscard]] auto AllSockets() const;
};
template <> struct consume<winrt::Windows::Networking::Sockets::ISocketActivityInformationStatics>
{
@@ -1535,8 +1526,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::ISocketActivityTriggerDetails>
{
@@ -1545,7 +1536,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::ISocketErrorStatics>
{
@@ -1554,15 +1545,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IStreamSocket>
{
@@ -1571,7 +1562,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IStreamSocket2>
{
@@ -1580,12 +1571,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IStreamSocket3>
{
@@ -1594,16 +1585,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IStreamSocketControl>
{
@@ -1612,7 +1603,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Sockets_IStreamSocketControl2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) IgnorableServerCertificateErrors() const;
+ [[nodiscard]] auto IgnorableServerCertificateErrors() const;
};
template <> struct consume<winrt::Windows::Networking::Sockets::IStreamSocketControl2>
{
@@ -1621,10 +1612,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IStreamSocketControl3>
{
@@ -1633,8 +1624,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IStreamSocketControl4>
{
@@ -1643,16 +1634,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IStreamSocketInformation>
{
@@ -1661,10 +1652,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) ServerCertificateErrors() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::Certificate) ServerCertificate() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) ServerIntermediateCertificates() const;
+ [[nodiscard]] auto ServerCertificateErrorSeverity() const;
+ [[nodiscard]] auto ServerCertificateErrors() const;
+ [[nodiscard]] auto ServerCertificate() const;
+ [[nodiscard]] auto ServerIntermediateCertificates() const;
};
template <> struct consume<winrt::Windows::Networking::Sockets::IStreamSocketInformation2>
{
@@ -1673,14 +1664,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::StreamSocketListener, winrt::Windows::Networking::Sockets::StreamSocketListenerConnectionReceivedEventArgs> 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<winrt::Windows::Networking::Sockets::StreamSocketListener, winrt::Windows::Networking::Sockets::StreamSocketListenerConnectionReceivedEventArgs> const& eventHandler) const;
using ConnectionReceived_revoker = impl::event_revoker<winrt::Windows::Networking::Sockets::IStreamSocketListener, &impl::abi_t<winrt::Windows::Networking::Sockets::IStreamSocketListener>::remove_ConnectionReceived>;
- [[nodiscard]] ConnectionReceived_revoker ConnectionReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::StreamSocketListener, winrt::Windows::Networking::Sockets::StreamSocketListenerConnectionReceivedEventArgs> 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<winrt::Windows::Networking::Sockets::StreamSocketListener, winrt::Windows::Networking::Sockets::StreamSocketListenerConnectionReceivedEventArgs> const& eventHandler) const;
+ auto ConnectionReceived(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Networking::Sockets::IStreamSocketListener>
{
@@ -1689,8 +1680,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IStreamSocketListener2>
{
@@ -1699,11 +1690,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IStreamSocketListener3>
{
@@ -1712,7 +1703,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Sockets_IStreamSocketListenerConnectionReceivedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Sockets::StreamSocket) Socket() const;
+ [[nodiscard]] auto Socket() const;
};
template <> struct consume<winrt::Windows::Networking::Sockets::IStreamSocketListenerConnectionReceivedEventArgs>
{
@@ -1721,8 +1712,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IStreamSocketListenerControl>
{
@@ -1731,14 +1722,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IStreamSocketListenerControl2>
{
@@ -1747,7 +1738,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Sockets_IStreamSocketListenerInformation
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) LocalPort() const;
+ [[nodiscard]] auto LocalPort() const;
};
template <> struct consume<winrt::Windows::Networking::Sockets::IStreamSocketListenerInformation>
{
@@ -1756,8 +1747,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Sockets_IStreamSocketStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>>) GetEndpointPairsAsync(winrt::Windows::Networking::HostName const& remoteHostName, param::hstring const& remoteServiceName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::EndpointPair>>) 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<winrt::Windows::Networking::Sockets::IStreamSocketStatics>
{
@@ -1766,9 +1757,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IStreamWebSocket>
{
@@ -1777,10 +1768,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Sockets_IStreamWebSocket2
{
- WINRT_IMPL_AUTO(winrt::event_token) ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::StreamWebSocket, winrt::Windows::Networking::Sockets::WebSocketServerCustomValidationRequestedEventArgs> const& eventHandler) const;
+ auto ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::StreamWebSocket, winrt::Windows::Networking::Sockets::WebSocketServerCustomValidationRequestedEventArgs> const& eventHandler) const;
using ServerCustomValidationRequested_revoker = impl::event_revoker<winrt::Windows::Networking::Sockets::IStreamWebSocket2, &impl::abi_t<winrt::Windows::Networking::Sockets::IStreamWebSocket2>::remove_ServerCustomValidationRequested>;
- [[nodiscard]] ServerCustomValidationRequested_revoker ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::StreamWebSocket, winrt::Windows::Networking::Sockets::WebSocketServerCustomValidationRequestedEventArgs> 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<winrt::Windows::Networking::Sockets::StreamWebSocket, winrt::Windows::Networking::Sockets::WebSocketServerCustomValidationRequestedEventArgs> const& eventHandler) const;
+ auto ServerCustomValidationRequested(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Networking::Sockets::IStreamWebSocket2>
{
@@ -1789,8 +1780,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IStreamWebSocketControl>
{
@@ -1799,11 +1790,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IStreamWebSocketControl2>
{
@@ -1812,14 +1803,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> 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<winrt::Windows::Networking::Sockets::IWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> const& eventHandler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::Networking::Sockets::IWebSocket, &impl::abi_t<winrt::Windows::Networking::Sockets::IWebSocket>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Sockets::IWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> 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<winrt::Windows::Networking::Sockets::IWebSocket, winrt::Windows::Networking::Sockets::WebSocketClosedEventArgs> 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<winrt::Windows::Networking::Sockets::IWebSocket>
{
@@ -1828,8 +1819,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IWebSocketClosedEventArgs>
{
@@ -1838,13 +1829,13 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::Networking::Sockets::IWebSocketControl>
{
@@ -1853,7 +1844,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Sockets_IWebSocketControl2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) IgnorableServerCertificateErrors() const;
+ [[nodiscard]] auto IgnorableServerCertificateErrors() const;
};
template <> struct consume<winrt::Windows::Networking::Sockets::IWebSocketControl2>
{
@@ -1862,7 +1853,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IWebSocketErrorStatics>
{
@@ -1871,9 +1862,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Sockets::IWebSocketInformation>
{
@@ -1882,10 +1873,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) ServerCertificateErrors() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) ServerIntermediateCertificates() const;
+ [[nodiscard]] auto ServerCertificate() const;
+ [[nodiscard]] auto ServerCertificateErrorSeverity() const;
+ [[nodiscard]] auto ServerCertificateErrors() const;
+ [[nodiscard]] auto ServerIntermediateCertificates() const;
};
template <> struct consume<winrt::Windows::Networking::Sockets::IWebSocketInformation2>
{
@@ -1894,12 +1885,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) ServerCertificateErrors() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) 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<winrt::Windows::Networking::Sockets::IWebSocketServerCustomValidationRequestedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.1.h
index 22bdd77b127..acba6b840ea 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.2.h
index 172d9d632e2..7265d09825e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Sockets.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.0.h
index 42be193fa5e..b2f163a5870 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
@@ -1043,10 +1042,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnAppId>
{
@@ -1055,7 +1054,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnAppIdFactory>
{
@@ -1064,24 +1063,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::HostName> const& assignedClientIPv4list, param::vector_view<winrt::Windows::Networking::HostName> 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<winrt::Windows::Networking::Vpn::VpnChannel, winrt::Windows::Networking::Vpn::VpnChannelActivityEventArgs> const& handler) const;
+ auto AssociateTransport(winrt::Windows::Foundation::IInspectable const& mainOuterTunnelTransport, winrt::Windows::Foundation::IInspectable const& optionalOuterTunnelTransport) const;
+ auto Start(param::vector_view<winrt::Windows::Networking::HostName> const& assignedClientIPv4list, param::vector_view<winrt::Windows::Networking::HostName> 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<winrt::Windows::Networking::Vpn::VpnChannel, winrt::Windows::Networking::Vpn::VpnChannelActivityEventArgs> const& handler) const;
using ActivityChange_revoker = impl::event_revoker<winrt::Windows::Networking::Vpn::IVpnChannel, &impl::abi_t<winrt::Windows::Networking::Vpn::IVpnChannel>::remove_ActivityChange>;
- [[nodiscard]] ActivityChange_revoker ActivityChange(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Vpn::VpnChannel, winrt::Windows::Networking::Vpn::VpnChannelActivityEventArgs> 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<winrt::Windows::Networking::Vpn::IVpnCustomPrompt> 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<winrt::Windows::Networking::Vpn::VpnChannel, winrt::Windows::Networking::Vpn::VpnChannelActivityEventArgs> 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<winrt::Windows::Networking::Vpn::IVpnCustomPrompt> const& customPrompt) const;
+ auto SetErrorMessage(param::hstring const& message) const;
+ auto SetAllowedSslTlsVersions(winrt::Windows::Foundation::IInspectable const& tunnelTransport, bool useTls12) const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnChannel>
{
@@ -1090,20 +1089,20 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnChannel2
{
- WINRT_IMPL_AUTO(void) StartWithMainTransport(param::vector_view<winrt::Windows::Networking::HostName> const& assignedClientIPv4list, param::vector_view<winrt::Windows::Networking::HostName> 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<winrt::Windows::Networking::HostName> const& assignedClientIPv4list, param::vector_view<winrt::Windows::Networking::HostName> 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<winrt::Windows::Networking::Vpn::VpnChannel, winrt::Windows::Networking::Vpn::VpnChannelActivityStateChangedArgs> const& handler) const;
+ auto StartWithMainTransport(param::vector_view<winrt::Windows::Networking::HostName> const& assignedClientIPv4list, param::vector_view<winrt::Windows::Networking::HostName> 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<winrt::Windows::Networking::HostName> const& assignedClientIPv4list, param::vector_view<winrt::Windows::Networking::HostName> 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<winrt::Windows::Networking::Vpn::VpnChannel, winrt::Windows::Networking::Vpn::VpnChannelActivityStateChangedArgs> const& handler) const;
using ActivityStateChange_revoker = impl::event_revoker<winrt::Windows::Networking::Vpn::IVpnChannel2, &impl::abi_t<winrt::Windows::Networking::Vpn::IVpnChannel2>::remove_ActivityStateChange>;
- [[nodiscard]] ActivityStateChange_revoker ActivityStateChange(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::Vpn::VpnChannel, winrt::Windows::Networking::Vpn::VpnChannelActivityStateChangedArgs> 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<winrt::Windows::Networking::Vpn::IVpnCustomPromptElement> const& customPromptElement) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnCredential>) 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<winrt::Windows::Networking::Vpn::VpnCredential>) RequestCredentialsAsync(winrt::Windows::Networking::Vpn::VpnCredentialType const& credType, uint32_t credOptions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnCredential>) 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<winrt::Windows::Networking::HostName> const& assignedClientIpv4List, param::vector_view<winrt::Windows::Networking::HostName> 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<winrt::Windows::Networking::Vpn::VpnChannel, winrt::Windows::Networking::Vpn::VpnChannelActivityStateChangedArgs> const& handler) const;
+ auto ActivityStateChange(winrt::event_token const& token) const noexcept;
+ auto GetVpnSendPacketBuffer() const;
+ auto GetVpnReceivePacketBuffer() const;
+ auto RequestCustomPromptAsync(param::async_vector_view<winrt::Windows::Networking::Vpn::IVpnCustomPromptElement> 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<winrt::Windows::Networking::HostName> const& assignedClientIpv4List, param::vector_view<winrt::Windows::Networking::HostName> 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<winrt::Windows::Networking::Vpn::IVpnChannel2>
{
@@ -1112,12 +1111,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::HostName> const& assignedClientIpv4Addresses, param::iterable<winrt::Windows::Networking::HostName> 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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::HostName> const& assignedClientIpv4Addresses, param::iterable<winrt::Windows::Networking::HostName> 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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Networking::Vpn::IVpnChannel4>
{
@@ -1126,10 +1125,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnChannel5>
{
@@ -1138,7 +1137,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnChannelActivityEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnChannelActivityEventType) Type() const;
+ [[nodiscard]] auto Type() const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnChannelActivityEventArgs>
{
@@ -1147,7 +1146,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnChannelActivityStateChangedArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnChannelActivityEventType) ActivityState() const;
+ [[nodiscard]] auto ActivityState() const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnChannelActivityStateChangedArgs>
{
@@ -1156,9 +1155,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnChannelConfiguration
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ServerServiceName() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::HostName>) ServerHostNameList() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) CustomField() const;
+ [[nodiscard]] auto ServerServiceName() const;
+ [[nodiscard]] auto ServerHostNameList() const;
+ [[nodiscard]] auto CustomField() const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnChannelConfiguration>
{
@@ -1167,7 +1166,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnChannelConfiguration2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Uri>) ServerUris() const;
+ [[nodiscard]] auto ServerUris() const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnChannelConfiguration2>
{
@@ -1176,7 +1175,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnChannelStatics>
{
@@ -1185,10 +1184,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnCredential>
{
@@ -1197,9 +1196,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnCustomCheckBox>
{
@@ -1208,9 +1207,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnCustomComboBox
{
- WINRT_IMPL_AUTO(void) OptionsText(param::async_vector_view<hstring> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) OptionsText() const;
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Selected() const;
+ auto OptionsText(param::async_vector_view<hstring> const& value) const;
+ [[nodiscard]] auto OptionsText() const;
+ [[nodiscard]] auto Selected() const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnCustomComboBox>
{
@@ -1219,11 +1218,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnCustomEditBox>
{
@@ -1240,12 +1239,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnCustomPrompt>
{
@@ -1254,9 +1253,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnCustomPromptBooleanInput>
{
@@ -1265,12 +1264,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnCustomPromptElement>
{
@@ -1279,8 +1278,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnCustomPromptOptionSelector
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) Options() const;
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) SelectedIndex() const;
+ [[nodiscard]] auto Options() const;
+ [[nodiscard]] auto SelectedIndex() const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnCustomPromptOptionSelector>
{
@@ -1289,8 +1288,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnCustomPromptText>
{
@@ -1299,11 +1298,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnCustomPromptTextInput>
{
@@ -1312,8 +1311,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnCustomTextBox>
{
@@ -1322,9 +1321,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnDomainNameAssignment
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnDomainNameInfo>) 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<winrt::Windows::Networking::Vpn::IVpnDomainNameAssignment>
{
@@ -1333,12 +1332,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::HostName>) DnsServers() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::HostName>) 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<winrt::Windows::Networking::Vpn::IVpnDomainNameInfo>
{
@@ -1347,7 +1346,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnDomainNameInfo2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) WebProxyUris() const;
+ [[nodiscard]] auto WebProxyUris() const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnDomainNameInfo2>
{
@@ -1356,7 +1355,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::HostName> const& dnsServerList, param::iterable<winrt::Windows::Networking::HostName> const& proxyServerList) const;
+ auto CreateVpnDomainNameInfo(param::hstring const& name, winrt::Windows::Networking::Vpn::VpnDomainNameType const& nameType, param::iterable<winrt::Windows::Networking::HostName> const& dnsServerList, param::iterable<winrt::Windows::Networking::HostName> const& proxyServerList) const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnDomainNameInfoFactory>
{
@@ -1365,7 +1364,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnInterfaceId
{
- WINRT_IMPL_AUTO(void) GetAddressInfo(com_array<uint8_t>& id) const;
+ auto GetAddressInfo(com_array<uint8_t>& id) const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnInterfaceId>
{
@@ -1374,7 +1373,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnInterfaceIdFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnInterfaceId) CreateVpnInterfaceId(array_view<uint8_t const> address) const;
+ auto CreateVpnInterfaceId(array_view<uint8_t const> address) const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnInterfaceIdFactory>
{
@@ -1383,15 +1382,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnManagementAgent
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>) AddProfileFromXmlAsync(param::hstring const& xml) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>) AddProfileFromObjectAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>) UpdateProfileFromXmlAsync(param::hstring const& xml) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>) UpdateProfileFromObjectAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::Vpn::IVpnProfile>>) GetProfilesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>) DeleteProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>) ConnectProfileAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>) ConnectProfileWithPasswordCredentialAsync(winrt::Windows::Networking::Vpn::IVpnProfile const& profile, winrt::Windows::Security::Credentials::PasswordCredential const& passwordCredential) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::Vpn::VpnManagementErrorStatus>) 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<winrt::Windows::Networking::Vpn::IVpnManagementAgent>
{
@@ -1400,10 +1399,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnNamespaceAssignment
{
- WINRT_IMPL_AUTO(void) NamespaceList(param::vector<winrt::Windows::Networking::Vpn::VpnNamespaceInfo> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnNamespaceInfo>) 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<winrt::Windows::Networking::Vpn::VpnNamespaceInfo> const& value) const;
+ [[nodiscard]] auto NamespaceList() const;
+ auto ProxyAutoConfigUri(winrt::Windows::Foundation::Uri const& value) const;
+ [[nodiscard]] auto ProxyAutoConfigUri() const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnNamespaceAssignment>
{
@@ -1412,12 +1411,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::HostName> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::HostName>) DnsServers() const;
- WINRT_IMPL_AUTO(void) WebProxyServers(param::vector<winrt::Windows::Networking::HostName> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::HostName>) WebProxyServers() const;
+ auto Namespace(param::hstring const& value) const;
+ [[nodiscard]] auto Namespace() const;
+ auto DnsServers(param::vector<winrt::Windows::Networking::HostName> const& value) const;
+ [[nodiscard]] auto DnsServers() const;
+ auto WebProxyServers(param::vector<winrt::Windows::Networking::HostName> const& value) const;
+ [[nodiscard]] auto WebProxyServers() const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnNamespaceInfo>
{
@@ -1426,7 +1425,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnNamespaceInfoFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnNamespaceInfo) CreateVpnNamespaceInfo(param::hstring const& name, param::vector<winrt::Windows::Networking::HostName> const& dnsServerList, param::vector<winrt::Windows::Networking::HostName> const& proxyServerList) const;
+ auto CreateVpnNamespaceInfo(param::hstring const& name, param::vector<winrt::Windows::Networking::HostName> const& dnsServerList, param::vector<winrt::Windows::Networking::HostName> const& proxyServerList) const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnNamespaceInfoFactory>
{
@@ -1435,17 +1434,17 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnNativeProfile
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) 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<winrt::Windows::Networking::Vpn::IVpnNativeProfile>
{
@@ -1454,9 +1453,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnNativeProfile2>
{
@@ -1465,11 +1464,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnPacketBuffer>
{
@@ -1478,7 +1477,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnPacketBuffer2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::Vpn::VpnAppId) AppId() const;
+ [[nodiscard]] auto AppId() const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnPacketBuffer2>
{
@@ -1487,8 +1486,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnPacketBuffer3>
{
@@ -1497,7 +1496,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnPacketBufferFactory>
{
@@ -1506,14 +1505,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnPacketBufferList>
{
@@ -1522,10 +1521,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnPacketBufferList2>
{
@@ -1534,9 +1533,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnPickedCredential>
{
@@ -1545,11 +1544,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnPlugIn>
{
@@ -1558,11 +1557,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnPlugInProfile
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) 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<winrt::Windows::Networking::Vpn::IVpnPlugInProfile>
{
@@ -1571,9 +1570,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnPlugInProfile2>
{
@@ -1582,16 +1581,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::VpnAppId>) AppTriggers() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnRoute>) Routes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnDomainNameInfo>) DomainNameInfoList() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnTrafficFilter>) 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<winrt::Windows::Networking::Vpn::IVpnProfile>
{
@@ -1600,10 +1599,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnRoute>
{
@@ -1612,16 +1611,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnRouteAssignment
{
- WINRT_IMPL_AUTO(void) Ipv4InclusionRoutes(param::vector<winrt::Windows::Networking::Vpn::VpnRoute> const& value) const;
- WINRT_IMPL_AUTO(void) Ipv6InclusionRoutes(param::vector<winrt::Windows::Networking::Vpn::VpnRoute> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnRoute>) Ipv4InclusionRoutes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnRoute>) Ipv6InclusionRoutes() const;
- WINRT_IMPL_AUTO(void) Ipv4ExclusionRoutes(param::vector<winrt::Windows::Networking::Vpn::VpnRoute> const& value) const;
- WINRT_IMPL_AUTO(void) Ipv6ExclusionRoutes(param::vector<winrt::Windows::Networking::Vpn::VpnRoute> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnRoute>) Ipv4ExclusionRoutes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnRoute>) Ipv6ExclusionRoutes() const;
- WINRT_IMPL_AUTO(void) ExcludeLocalSubnets(bool value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(bool) ExcludeLocalSubnets() const;
+ auto Ipv4InclusionRoutes(param::vector<winrt::Windows::Networking::Vpn::VpnRoute> const& value) const;
+ auto Ipv6InclusionRoutes(param::vector<winrt::Windows::Networking::Vpn::VpnRoute> const& value) const;
+ [[nodiscard]] auto Ipv4InclusionRoutes() const;
+ [[nodiscard]] auto Ipv6InclusionRoutes() const;
+ auto Ipv4ExclusionRoutes(param::vector<winrt::Windows::Networking::Vpn::VpnRoute> const& value) const;
+ auto Ipv6ExclusionRoutes(param::vector<winrt::Windows::Networking::Vpn::VpnRoute> const& value) const;
+ [[nodiscard]] auto Ipv4ExclusionRoutes() const;
+ [[nodiscard]] auto Ipv6ExclusionRoutes() const;
+ auto ExcludeLocalSubnets(bool value) const;
+ [[nodiscard]] auto ExcludeLocalSubnets() const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnRouteAssignment>
{
@@ -1630,7 +1629,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnRouteFactory>
{
@@ -1639,7 +1638,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnSystemHealth
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::Buffer) StatementOfHealth() const;
+ [[nodiscard]] auto StatementOfHealth() const;
};
template <> struct consume<winrt::Windows::Networking::Vpn::IVpnSystemHealth>
{
@@ -1648,17 +1647,17 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<hstring>) LocalPortRanges() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) RemotePortRanges() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) LocalAddressRanges() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) 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<winrt::Windows::Networking::Vpn::IVpnTrafficFilter>
{
@@ -1667,11 +1666,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_Vpn_IVpnTrafficFilterAssignment
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::Vpn::VpnTrafficFilter>) 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<winrt::Windows::Networking::Vpn::IVpnTrafficFilterAssignment>
{
@@ -1680,7 +1679,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::Vpn::IVpnTrafficFilterFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.1.h
index fe334f1178a..1e67ceb9192 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.2.h
index c7177fa926a..e365d959fcd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.Vpn.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.0.h
index 9819161fba5..1846420dabd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::Networking
{
struct HostName;
@@ -361,17 +355,17 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_XboxLive_IXboxLiveDeviceAddress
{
- WINRT_IMPL_AUTO(winrt::event_token) SnapshotChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SnapshotChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress, winrt::Windows::Foundation::IInspectable> const& handler) const;
using SnapshotChanged_revoker = impl::event_revoker<winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress, &impl::abi_t<winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress>::remove_SnapshotChanged>;
- [[nodiscard]] SnapshotChanged_revoker SnapshotChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress, winrt::Windows::Foundation::IInspectable> 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<uint8_t> 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<winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SnapshotChanged(winrt::event_token const& token) const noexcept;
+ auto GetSnapshotAsBase64() const;
+ auto GetSnapshotAsBuffer() const;
+ auto GetSnapshotAsBytes(array_view<uint8_t> 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<winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddress>
{
@@ -380,11 +374,11 @@ namespace winrt::impl
template <typename D>
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<uint8_t const> 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<uint8_t const> buffer) const;
+ auto GetLocal() const;
+ [[nodiscard]] auto MaxSnapshotBytesSize() const;
};
template <> struct consume<winrt::Windows::Networking::XboxLive::IXboxLiveDeviceAddressStatics>
{
@@ -393,20 +387,20 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_XboxLive_IXboxLiveEndpointPair
{
- WINRT_IMPL_AUTO(winrt::event_token) StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairStateChangedEventArgs> const& handler) const;
+ auto StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairStateChangedEventArgs> const& handler) const;
using StateChanged_revoker = impl::event_revoker<winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair, &impl::abi_t<winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair>::remove_StateChanged>;
- [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairStateChangedEventArgs> 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<uint8_t> socketAddress) const;
- WINRT_IMPL_AUTO(void) GetLocalSocketAddressBytes(array_view<uint8_t> 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<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairStateChangedEventArgs> const& handler) const;
+ auto StateChanged(winrt::event_token const& token) const noexcept;
+ auto DeleteAsync() const;
+ auto GetRemoteSocketAddressBytes(array_view<uint8_t> socketAddress) const;
+ auto GetLocalSocketAddressBytes(array_view<uint8_t> 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<winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPair>
{
@@ -415,10 +409,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairCreationResult>
{
@@ -427,8 +421,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairStateChangedEventArgs>
{
@@ -437,8 +431,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair) FindEndpointPairBySocketAddressBytes(array_view<uint8_t const> localSocketAddress, array_view<uint8_t const> 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<uint8_t const> localSocketAddress, array_view<uint8_t const> 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<winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairStatics>
{
@@ -447,21 +441,21 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_XboxLive_IXboxLiveEndpointPairTemplate
{
- WINRT_IMPL_AUTO(winrt::event_token) InboundEndpointPairCreated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate, winrt::Windows::Networking::XboxLive::XboxLiveInboundEndpointPairCreatedEventArgs> const& handler) const;
+ auto InboundEndpointPairCreated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate, winrt::Windows::Networking::XboxLive::XboxLiveInboundEndpointPairCreatedEventArgs> const& handler) const;
using InboundEndpointPairCreated_revoker = impl::event_revoker<winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate, &impl::abi_t<winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate>::remove_InboundEndpointPairCreated>;
- [[nodiscard]] InboundEndpointPairCreated_revoker InboundEndpointPairCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate, winrt::Windows::Networking::XboxLive::XboxLiveInboundEndpointPairCreatedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) InboundEndpointPairCreated(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationResult>) CreateEndpointPairAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationResult>) CreateEndpointPairAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationBehaviors const& behaviors) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationResult>) CreateEndpointPairForPortsAsync(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress, param::hstring const& initiatorPort, param::hstring const& acceptorPort) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairCreationResult>) 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<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair>) EndpointPairs() const;
+ [[nodiscard]] auto InboundEndpointPairCreated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate, winrt::Windows::Networking::XboxLive::XboxLiveInboundEndpointPairCreatedEventArgs> 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<winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplate>
{
@@ -470,8 +464,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::XboxLive::XboxLiveEndpointPairTemplate>) Templates() const;
+ auto GetTemplateByName(param::hstring const& name) const;
+ [[nodiscard]] auto Templates() const;
};
template <> struct consume<winrt::Windows::Networking::XboxLive::IXboxLiveEndpointPairTemplateStatics>
{
@@ -480,7 +474,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_XboxLive_IXboxLiveInboundEndpointPairCreatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Networking::XboxLive::XboxLiveEndpointPair) EndpointPair() const;
+ [[nodiscard]] auto EndpointPair() const;
};
template <> struct consume<winrt::Windows::Networking::XboxLive::IXboxLiveInboundEndpointPairCreatedEventArgs>
{
@@ -489,22 +483,22 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurement
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) MeasureAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetricResult>) GetMetricResultsForDevice(winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress const& deviceAddress) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetricResult>) 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<winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetric>) Metrics() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Networking::XboxLive::XboxLiveDeviceAddress>) 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<winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServiceMetricResult>) MetricResults() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Networking::XboxLive::XboxLiveQualityOfServicePrivatePayloadResult>) 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<winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurement>
{
@@ -513,17 +507,17 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Networking_XboxLive_IXboxLiveQualityOfServiceMeasurementStatics
{
- WINRT_IMPL_AUTO(void) PublishPrivatePayloadBytes(array_view<uint8_t const> 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<uint8_t const> 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<winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMeasurementStatics>
{
@@ -532,10 +526,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServiceMetricResult>
{
@@ -544,9 +538,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::XboxLive::IXboxLiveQualityOfServicePrivatePayloadResult>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.1.h
index f4d042314fc..53f68817210 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.2.h
index 222d547a2ff..164e60737b2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Networking.XboxLive.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.0.h
index 7a91009d4bb..84c96ea61e9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Perception::IPerceptionTimestamp>
{
@@ -76,7 +76,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_IPerceptionTimestamp2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) SystemRelativeTargetTime() const;
+ [[nodiscard]] auto SystemRelativeTargetTime() const;
};
template <> struct consume<winrt::Windows::Perception::IPerceptionTimestamp2>
{
@@ -85,7 +85,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::IPerceptionTimestampHelperStatics>
{
@@ -94,7 +94,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::IPerceptionTimestampHelperStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.1.h
index 49d1ed69548..da7cad93c9a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.2.h
index 8b9fa91734c..cb8e278e5b9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.0.h
index 31ced5cdd04..538dc7eabfe 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Perception::Automation::Core::ICorePerceptionAutomationStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.1.h
index 406a1d3d9f9..c65eb96b9d2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.2.h
index 25df10a220f..904e4963e1d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Automation.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.0.h
index 208bf60a61f..8289dbc8214 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> 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 <typename D>
struct consume_Windows_Perception_People_IEyesPose
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCalibrationValid() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Perception::Spatial::SpatialRay>) 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<winrt::Windows::Perception::People::IEyesPose>
{
@@ -194,8 +184,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_People_IEyesPoseStatics
{
- WINRT_IMPL_AUTO(bool) IsSupported() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Input::GazeInputAccessStatus>) RequestAccessAsync() const;
+ auto IsSupported() const;
+ auto RequestAccessAsync() const;
};
template <> struct consume<winrt::Windows::Perception::People::IEyesPoseStatics>
{
@@ -204,14 +194,14 @@ namespace winrt::impl
template <typename D>
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<uint16_t> 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<uint16_t> 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<winrt::Windows::Perception::People::IHandMeshObserver>
{
@@ -220,9 +210,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_People_IHandMeshVertexState
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) CoordinateSystem() const;
- WINRT_IMPL_AUTO(void) GetVertices(array_view<winrt::Windows::Perception::People::HandMeshVertex> vertices) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::PerceptionTimestamp) UpdateTimestamp() const;
+ [[nodiscard]] auto CoordinateSystem() const;
+ auto GetVertices(array_view<winrt::Windows::Perception::People::HandMeshVertex> vertices) const;
+ [[nodiscard]] auto UpdateTimestamp() const;
};
template <> struct consume<winrt::Windows::Perception::People::IHandMeshVertexState>
{
@@ -231,10 +221,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::People::HandJointKind const> joints, array_view<winrt::Windows::Perception::People::JointPose> 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<winrt::Windows::Perception::People::HandJointKind const> joints, array_view<winrt::Windows::Perception::People::HandJointKind const> referenceJoints, array_view<winrt::Windows::Perception::People::JointPose> 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<winrt::Windows::Perception::People::HandJointKind const> joints, array_view<winrt::Windows::Perception::People::JointPose> jointPoses) const;
+ auto GetRelativeJoint(winrt::Windows::Perception::People::HandJointKind const& joint, winrt::Windows::Perception::People::HandJointKind const& referenceJoint) const;
+ auto GetRelativeJoints(array_view<winrt::Windows::Perception::People::HandJointKind const> joints, array_view<winrt::Windows::Perception::People::HandJointKind const> referenceJoints, array_view<winrt::Windows::Perception::People::JointPose> jointPoses) const;
};
template <> struct consume<winrt::Windows::Perception::People::IHandPose>
{
@@ -243,9 +233,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::People::IHeadPose>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.1.h
index dcb41e15dfb..b5980f0ded5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.2.h
index 2ba16330e7d..aaa12a1a8a6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.People.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.0.h
index 6423bb19b88..c3302f5cb78 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
struct IAsyncAction;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
template <typename K, typename V> struct __declspec(empty_bases) IKeyValuePair;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
struct ValueSet;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics
@@ -586,12 +583,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::SpatialAnchor, winrt::Windows::Perception::Spatial::SpatialAnchorRawCoordinateSystemAdjustedEventArgs> const& handler) const;
+ [[nodiscard]] auto CoordinateSystem() const;
+ [[nodiscard]] auto RawCoordinateSystem() const;
+ auto RawCoordinateSystemAdjusted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialAnchor, winrt::Windows::Perception::Spatial::SpatialAnchorRawCoordinateSystemAdjustedEventArgs> const& handler) const;
using RawCoordinateSystemAdjusted_revoker = impl::event_revoker<winrt::Windows::Perception::Spatial::ISpatialAnchor, &impl::abi_t<winrt::Windows::Perception::Spatial::ISpatialAnchor>::remove_RawCoordinateSystemAdjusted>;
- [[nodiscard]] RawCoordinateSystemAdjusted_revoker RawCoordinateSystemAdjusted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialAnchor, winrt::Windows::Perception::Spatial::SpatialAnchorRawCoordinateSystemAdjustedEventArgs> 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<winrt::Windows::Perception::Spatial::SpatialAnchor, winrt::Windows::Perception::Spatial::SpatialAnchorRawCoordinateSystemAdjustedEventArgs> const& handler) const;
+ auto RawCoordinateSystemAdjusted(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::Perception::Spatial::ISpatialAnchor>
{
@@ -600,7 +597,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_Spatial_ISpatialAnchor2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) RemovedByUser() const;
+ [[nodiscard]] auto RemovedByUser() const;
};
template <> struct consume<winrt::Windows::Perception::Spatial::ISpatialAnchor2>
{
@@ -609,9 +606,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::ISpatialAnchorExportSufficiency>
{
@@ -620,8 +617,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_Spatial_ISpatialAnchorExporter
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialAnchorExportSufficiency>) GetAnchorExportSufficiencyAsync(winrt::Windows::Perception::Spatial::SpatialAnchor const& anchor, winrt::Windows::Perception::Spatial::SpatialAnchorExportPurpose const& purpose) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Perception::Spatial::ISpatialAnchorExporter>
{
@@ -630,8 +627,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_Spatial_ISpatialAnchorExporterStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialAnchorExporter) GetDefault() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialPerceptionAccessStatus>) RequestAccessAsync() const;
+ auto GetDefault() const;
+ auto RequestAccessAsync() const;
};
template <> struct consume<winrt::Windows::Perception::Spatial::ISpatialAnchorExporterStatics>
{
@@ -640,7 +637,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_Spatial_ISpatialAnchorManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialAnchorStore>) RequestStoreAsync() const;
+ auto RequestStoreAsync() const;
};
template <> struct consume<winrt::Windows::Perception::Spatial::ISpatialAnchorManagerStatics>
{
@@ -649,7 +646,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_Spatial_ISpatialAnchorRawCoordinateSystemAdjustedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Numerics::float4x4) OldRawCoordinateSystemToNewRawCoordinateSystemTransform() const;
+ [[nodiscard]] auto OldRawCoordinateSystemToNewRawCoordinateSystemTransform() const;
};
template <> struct consume<winrt::Windows::Perception::Spatial::ISpatialAnchorRawCoordinateSystemAdjustedEventArgs>
{
@@ -658,9 +655,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::ISpatialAnchorStatics>
{
@@ -669,10 +666,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_Spatial_ISpatialAnchorStore
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Perception::Spatial::SpatialAnchor>) 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<winrt::Windows::Perception::Spatial::ISpatialAnchorStore>
{
@@ -681,9 +678,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_Spatial_ISpatialAnchorTransferManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Perception::Spatial::SpatialAnchor>>) TryImportAnchorsAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryExportAnchorsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Perception::Spatial::SpatialAnchor>> const& anchors, winrt::Windows::Storage::Streams::IOutputStream const& stream) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialPerceptionAccessStatus>) RequestAccessAsync() const;
+ auto TryImportAnchorsAsync(winrt::Windows::Storage::Streams::IInputStream const& stream) const;
+ auto TryExportAnchorsAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Perception::Spatial::SpatialAnchor>> const& anchors, winrt::Windows::Storage::Streams::IOutputStream const& stream) const;
+ auto RequestAccessAsync() const;
};
template <> struct consume<winrt::Windows::Perception::Spatial::ISpatialAnchorTransferManagerStatics>
{
@@ -700,10 +697,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::ISpatialBoundingVolumeStatics>
{
@@ -712,7 +709,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_Spatial_ISpatialCoordinateSystem
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float4x4>) TryGetTransformTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& target) const;
+ auto TryGetTransformTo(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& target) const;
};
template <> struct consume<winrt::Windows::Perception::Spatial::ISpatialCoordinateSystem>
{
@@ -721,9 +718,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::ISpatialEntity>
{
@@ -732,7 +729,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_Spatial_ISpatialEntityAddedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) Entity() const;
+ [[nodiscard]] auto Entity() const;
};
template <> struct consume<winrt::Windows::Perception::Spatial::ISpatialEntityAddedEventArgs>
{
@@ -741,8 +738,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::ISpatialEntityFactory>
{
@@ -751,7 +748,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_Spatial_ISpatialEntityRemovedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) Entity() const;
+ [[nodiscard]] auto Entity() const;
};
template <> struct consume<winrt::Windows::Perception::Spatial::ISpatialEntityRemovedEventArgs>
{
@@ -760,9 +757,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::ISpatialEntityStore>
{
@@ -771,8 +768,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::ISpatialEntityStoreStatics>
{
@@ -781,7 +778,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_Spatial_ISpatialEntityUpdatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialEntity) Entity() const;
+ [[nodiscard]] auto Entity() const;
};
template <> struct consume<winrt::Windows::Perception::Spatial::ISpatialEntityUpdatedEventArgs>
{
@@ -790,25 +787,25 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityAddedEventArgs> const& handler) const;
+ [[nodiscard]] auto Status() const;
+ auto Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityAddedEventArgs> const& handler) const;
using Added_revoker = impl::event_revoker<winrt::Windows::Perception::Spatial::ISpatialEntityWatcher, &impl::abi_t<winrt::Windows::Perception::Spatial::ISpatialEntityWatcher>::remove_Added>;
- [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityAddedEventArgs> 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<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityUpdatedEventArgs> const& handler) const;
+ [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityAddedEventArgs> const& handler) const;
+ auto Added(winrt::event_token const& token) const noexcept;
+ auto Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityUpdatedEventArgs> const& handler) const;
using Updated_revoker = impl::event_revoker<winrt::Windows::Perception::Spatial::ISpatialEntityWatcher, &impl::abi_t<winrt::Windows::Perception::Spatial::ISpatialEntityWatcher>::remove_Updated>;
- [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityUpdatedEventArgs> 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<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityRemovedEventArgs> const& handler) const;
+ [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityUpdatedEventArgs> const& handler) const;
+ auto Updated(winrt::event_token const& token) const noexcept;
+ auto Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityRemovedEventArgs> const& handler) const;
using Removed_revoker = impl::event_revoker<winrt::Windows::Perception::Spatial::ISpatialEntityWatcher, &impl::abi_t<winrt::Windows::Perception::Spatial::ISpatialEntityWatcher>::remove_Removed>;
- [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityRemovedEventArgs> 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<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Perception::Spatial::SpatialEntityRemovedEventArgs> const& handler) const;
+ auto Removed(winrt::event_token const& token) const noexcept;
+ auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using EnumerationCompleted_revoker = impl::event_revoker<winrt::Windows::Perception::Spatial::ISpatialEntityWatcher, &impl::abi_t<winrt::Windows::Perception::Spatial::ISpatialEntityWatcher>::remove_EnumerationCompleted>;
- [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Perception::Spatial::SpatialEntityWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto EnumerationCompleted(winrt::event_token const& token) const noexcept;
+ auto Start() const;
+ auto Stop() const;
};
template <> struct consume<winrt::Windows::Perception::Spatial::ISpatialEntityWatcher>
{
@@ -817,12 +814,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::ISpatialLocation>
{
@@ -831,8 +828,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::ISpatialLocation2>
{
@@ -841,24 +838,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::SpatialLocator, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Locatability() const;
+ auto LocatabilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialLocator, winrt::Windows::Foundation::IInspectable> const& handler) const;
using LocatabilityChanged_revoker = impl::event_revoker<winrt::Windows::Perception::Spatial::ISpatialLocator, &impl::abi_t<winrt::Windows::Perception::Spatial::ISpatialLocator>::remove_LocatabilityChanged>;
- [[nodiscard]] LocatabilityChanged_revoker LocatabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialLocator, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Perception::Spatial::SpatialLocator, winrt::Windows::Perception::Spatial::SpatialLocatorPositionalTrackingDeactivatingEventArgs> const& handler) const;
+ [[nodiscard]] auto LocatabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialLocator, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto LocatabilityChanged(winrt::event_token const& cookie) const noexcept;
+ auto PositionalTrackingDeactivating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialLocator, winrt::Windows::Perception::Spatial::SpatialLocatorPositionalTrackingDeactivatingEventArgs> const& handler) const;
using PositionalTrackingDeactivating_revoker = impl::event_revoker<winrt::Windows::Perception::Spatial::ISpatialLocator, &impl::abi_t<winrt::Windows::Perception::Spatial::ISpatialLocator>::remove_PositionalTrackingDeactivating>;
- [[nodiscard]] PositionalTrackingDeactivating_revoker PositionalTrackingDeactivating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::SpatialLocator, winrt::Windows::Perception::Spatial::SpatialLocatorPositionalTrackingDeactivatingEventArgs> 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<winrt::Windows::Perception::Spatial::SpatialLocator, winrt::Windows::Perception::Spatial::SpatialLocatorPositionalTrackingDeactivatingEventArgs> 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<winrt::Windows::Perception::Spatial::ISpatialLocator>
{
@@ -867,13 +864,13 @@ namespace winrt::impl
template <typename D>
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<double>) 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<winrt::Windows::Perception::Spatial::ISpatialLocatorAttachedFrameOfReference>
{
@@ -882,8 +879,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::ISpatialLocatorPositionalTrackingDeactivatingEventArgs>
{
@@ -892,7 +889,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_Spatial_ISpatialLocatorStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialLocator) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Perception::Spatial::ISpatialLocatorStatics>
{
@@ -901,11 +898,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Numerics::float3>) 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<winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReference>
{
@@ -914,12 +911,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Current() const;
+ auto CurrentChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using CurrentChanged_revoker = impl::event_revoker<winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReferenceStatics, &impl::abi_t<winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReferenceStatics>::remove_CurrentChanged>;
- [[nodiscard]] CurrentChanged_revoker CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
- WINRT_IMPL_AUTO(void) CurrentChanged(winrt::event_token const& cookie) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialStageFrameOfReference>) RequestNewStageAsync() const;
+ [[nodiscard]] auto CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto CurrentChanged(winrt::event_token const& cookie) const noexcept;
+ auto RequestNewStageAsync() const;
};
template <> struct consume<winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReferenceStatics>
{
@@ -928,7 +925,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_Spatial_ISpatialStationaryFrameOfReference
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem) CoordinateSystem() const;
+ [[nodiscard]] auto CoordinateSystem() const;
};
template <> struct consume<winrt::Windows::Perception::Spatial::ISpatialStationaryFrameOfReference>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.1.h
index b7a1f551fb0..e18970f9514 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.2.h
index c8517e5d58c..c36ec74e4b2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable> const& handler);
using CurrentChanged_revoker = impl::factory_event_revoker<winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReferenceStatics, &impl::abi_t<winrt::Windows::Perception::Spatial::ISpatialStageFrameOfReferenceStatics>::remove_CurrentChanged>;
- [[nodiscard]] static CurrentChanged_revoker CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto CurrentChanged(winrt::event_token const& cookie);
static auto RequestNewStageAsync();
};
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.0.h
index 3b1cd881038..c764060cb25 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Perception::Spatial::Preview::ISpatialGraphInteropFrameOfReferencePreview>
{
@@ -77,10 +77,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::Preview::ISpatialGraphInteropPreviewStatics>
{
@@ -89,9 +89,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::Preview::ISpatialGraphInteropPreviewStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.1.h
index 818f8c663d6..24100e2a0c6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.2.h
index 7eb6baaba4a..60c2646131e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Preview.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.0.h
index a4052be91a1..803bdf291b9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> 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 <typename D>
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<winrt::Windows::Perception::Spatial::SpatialBoundingOrientedBox>) TryGetBounds(winrt::Windows::Perception::Spatial::SpatialCoordinateSystem const& coordinateSystem) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMesh>) TryComputeLatestMeshAsync(double maxTrianglesPerCubicMeter) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceMesh>) 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<winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceInfo>
{
@@ -188,12 +182,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMesh>
{
@@ -202,10 +196,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshBuffer>
{
@@ -214,14 +208,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptions>
{
@@ -230,9 +224,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceMeshOptionsStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::DirectX::DirectXPixelFormat>) SupportedVertexPositionFormats() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::DirectX::DirectXPixelFormat>) SupportedTriangleIndexFormats() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Graphics::DirectX::DirectXPixelFormat>) SupportedVertexNormalFormats() const;
+ [[nodiscard]] auto SupportedVertexPositionFormats() const;
+ [[nodiscard]] auto SupportedTriangleIndexFormats() const;
+ [[nodiscard]] auto SupportedVertexNormalFormats() const;
};
template <> struct consume<winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceMeshOptionsStatics>
{
@@ -241,13 +235,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserver
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<winrt::guid, winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceInfo>) GetObservedSurfaces() const;
- WINRT_IMPL_AUTO(void) SetBoundingVolume(winrt::Windows::Perception::Spatial::SpatialBoundingVolume const& bounds) const;
- WINRT_IMPL_AUTO(void) SetBoundingVolumes(param::iterable<winrt::Windows::Perception::Spatial::SpatialBoundingVolume> const& bounds) const;
- WINRT_IMPL_AUTO(winrt::event_token) ObservedSurfacesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceObserver, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto GetObservedSurfaces() const;
+ auto SetBoundingVolume(winrt::Windows::Perception::Spatial::SpatialBoundingVolume const& bounds) const;
+ auto SetBoundingVolumes(param::iterable<winrt::Windows::Perception::Spatial::SpatialBoundingVolume> const& bounds) const;
+ auto ObservedSurfacesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceObserver, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ObservedSurfacesChanged_revoker = impl::event_revoker<winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserver, &impl::abi_t<winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserver>::remove_ObservedSurfacesChanged>;
- [[nodiscard]] ObservedSurfacesChanged_revoker ObservedSurfacesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceObserver, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Perception::Spatial::Surfaces::SpatialSurfaceObserver, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ObservedSurfacesChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserver>
{
@@ -256,7 +250,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserverStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::Spatial::SpatialPerceptionAccessStatus>) RequestAccessAsync() const;
+ auto RequestAccessAsync() const;
};
template <> struct consume<winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserverStatics>
{
@@ -265,7 +259,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Perception_Spatial_Surfaces_ISpatialSurfaceObserverStatics2
{
- WINRT_IMPL_AUTO(bool) IsSupported() const;
+ auto IsSupported() const;
};
template <> struct consume<winrt::Windows::Perception::Spatial::Surfaces::ISpatialSurfaceObserverStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.1.h
index aae283b9f52..d115e1cd2f5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.2.h
index d3dec379be6..4aaa33d012f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Perception.Spatial.Surfaces.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.0.h
index 2bc5a9e958e..343d495da37 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
struct consume_Windows_Phone_ApplicationModel_IApplicationProfileStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Phone::ApplicationModel::ApplicationProfileModes) Modes() const;
+ [[nodiscard]] auto Modes() const;
};
template <> struct consume<winrt::Windows::Phone::ApplicationModel::IApplicationProfileStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.1.h
index a41d167203e..59b1c917ee7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.2.h
index f196f34c507..51f74ae557a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.ApplicationModel.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.0.h
index 08e53fbab90..5e197a26602 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Phone::Devices::Notification::IVibrationDevice>
{
@@ -51,7 +51,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_Devices_Notification_IVibrationDeviceStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Phone::Devices::Notification::VibrationDevice) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Phone::Devices::Notification::IVibrationDeviceStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.1.h
index aafe5769ba1..167db3d4da3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.2.h
index c5abb116573..ac9fcbc9f67 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Notification.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.0.h
index 2bd89bb0efb..f5f102d7136 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Foundation::IInspectable> const& changeHandler) const;
+ [[nodiscard]] auto RemainingChargePercent() const;
+ [[nodiscard]] auto RemainingDischargeTime() const;
+ auto RemainingChargePercentChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler) const;
using RemainingChargePercentChanged_revoker = impl::event_revoker<winrt::Windows::Phone::Devices::Power::IBattery, &impl::abi_t<winrt::Windows::Phone::Devices::Power::IBattery>::remove_RemainingChargePercentChanged>;
- [[nodiscard]] RemainingChargePercentChanged_revoker RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& changeHandler) const;
+ auto RemainingChargePercentChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Phone::Devices::Power::IBattery>
{
@@ -59,7 +59,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_Devices_Power_IBatteryStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Phone::Devices::Power::Battery) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Phone::Devices::Power::IBatteryStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.1.h
index 921512f255b..cd2b50ca06a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.2.h
index 09c273df3f2..0c71168d46c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Devices.Power.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.0.h
index 59e20fa9e84..1494e94ef3b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Management::Deployment
{
@@ -162,12 +155,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Management::Deployment::IEnterprise>
{
@@ -176,11 +169,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_Management_Deployment_IEnterpriseEnrollmentManager
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::Management::Deployment::Enterprise>) 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<winrt::Windows::Phone::Management::Deployment::EnterpriseEnrollmentResult>) RequestEnrollmentAsync(param::hstring const& enrollmentToken) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Phone::Management::Deployment::IEnterpriseEnrollmentManager>
{
@@ -189,8 +182,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Management::Deployment::IEnterpriseEnrollmentResult>
{
@@ -199,11 +192,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Phone::Management::Deployment::PackageInstallResult, uint32_t>) AddPackageAsync(param::hstring const& title, winrt::Windows::Foundation::Uri const& sourceLocation) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Phone::Management::Deployment::PackageInstallResult, uint32_t>) 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<winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Phone::Management::Deployment::PackageInstallResult, uint32_t>>) GetPendingPackageInstalls() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) FindPackagesForCurrentPublisher() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) 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<winrt::Windows::Phone::Management::Deployment::IInstallationManagerStatics>
{
@@ -212,9 +205,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_Management_Deployment_IInstallationManagerStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Phone::Management::Deployment::PackageInstallResult, uint32_t>) RemovePackageAsync(param::hstring const& packageFullName, winrt::Windows::Management::Deployment::RemovalOptions const& removalOptions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Phone::Management::Deployment::PackageInstallResult, uint32_t>) RegisterPackageAsync(winrt::Windows::Foundation::Uri const& manifestUri, param::async_iterable<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::ApplicationModel::Package>) 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<winrt::Windows::Foundation::Uri> const& dependencyPackageUris, winrt::Windows::Management::Deployment::DeploymentOptions const& deploymentOptions) const;
+ auto FindPackages(param::hstring const& packageName, param::hstring const& packagePublisher) const;
};
template <> struct consume<winrt::Windows::Phone::Management::Deployment::IInstallationManagerStatics2>
{
@@ -223,8 +216,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Management::Deployment::IPackageInstallResult>
{
@@ -233,7 +226,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_Management_Deployment_IPackageInstallResult2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ErrorText() const;
+ [[nodiscard]] auto ErrorText() const;
};
template <> struct consume<winrt::Windows::Phone::Management::Deployment::IPackageInstallResult2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.1.h
index 66d79345122..240304f0deb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.2.h
index b6a094ae837..ec463398c7b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Management.Deployment.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.0.h
index 5d76ce67a58..4dda026e4bf 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Phone::Media::Devices::AudioRoutingManager, winrt::Windows::Foundation::IInspectable> const& endpointChangeHandler) const;
+ auto GetAudioEndpoint() const;
+ auto SetAudioEndpoint(winrt::Windows::Phone::Media::Devices::AudioRoutingEndpoint const& endpoint) const;
+ auto AudioEndpointChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Phone::Media::Devices::AudioRoutingManager, winrt::Windows::Foundation::IInspectable> const& endpointChangeHandler) const;
using AudioEndpointChanged_revoker = impl::event_revoker<winrt::Windows::Phone::Media::Devices::IAudioRoutingManager, &impl::abi_t<winrt::Windows::Phone::Media::Devices::IAudioRoutingManager>::remove_AudioEndpointChanged>;
- [[nodiscard]] AudioEndpointChanged_revoker AudioEndpointChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Phone::Media::Devices::AudioRoutingManager, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Phone::Media::Devices::AudioRoutingManager, winrt::Windows::Foundation::IInspectable> const& endpointChangeHandler) const;
+ auto AudioEndpointChanged(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto AvailableAudioEndpoints() const;
};
template <> struct consume<winrt::Windows::Phone::Media::Devices::IAudioRoutingManager>
{
@@ -83,7 +83,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_Media_Devices_IAudioRoutingManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Phone::Media::Devices::AudioRoutingManager) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Phone::Media::Devices::IAudioRoutingManagerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.1.h
index 6ea3d4bca49..caa1a562231 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.2.h
index ff4e14b6f3a..a2eaf6a213e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Media.Devices.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.0.h
index 98149679eb8..269fbccc6a2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.0.h
+++ b/chromium/third_party/nearby/src/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 <typename K, typename V> struct __declspec(empty_bases) IMapView;
template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
@@ -698,50 +697,50 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::PhoneLineDetails>) 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<hstring, winrt::Windows::Phone::Notification::Management::AppNotificationInfo>) 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<winrt::Windows::Phone::Notification::Management::IAccessoryManager>
{
@@ -750,21 +749,21 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_Notification_Management_IAccessoryManager2
{
- WINRT_IMPL_AUTO(void) RingDevice() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::Notification::Management::SpeedDialEntry>) 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<winrt::Windows::Phone::Notification::Management::EmailAccountInfo>) GetAllEmailAccounts() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::Notification::Management::EmailFolderInfo>) 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<hstring> 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<hstring> const& folders) const;
+ auto UpdateEmailReadStatus(winrt::Windows::Phone::Notification::Management::BinaryId const& messageEntryId, bool isRead) const;
};
template <> struct consume<winrt::Windows::Phone::Notification::Management::IAccessoryManager2>
{
@@ -773,10 +772,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::IAccessoryManager3>
{
@@ -785,12 +784,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::IAccessoryNotificationTriggerDetails>
{
@@ -799,10 +798,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::IAlarmNotificationTriggerDetails>
{
@@ -811,7 +810,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_Notification_Management_IAlarmNotificationTriggerDetails2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) InstanceId() const;
+ [[nodiscard]] auto InstanceId() const;
};
template <> struct consume<winrt::Windows::Phone::Notification::Management::IAlarmNotificationTriggerDetails2>
{
@@ -820,8 +819,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::IAppNotificationInfo>
{
@@ -830,8 +829,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::IBinaryId>
{
@@ -840,8 +839,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::ICalendarChangedNotificationTriggerDetails>
{
@@ -850,16 +849,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::ICortanaTileNotificationTriggerDetails>
{
@@ -868,8 +867,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::IEmailAccountInfo>
{
@@ -878,8 +877,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::IEmailFolderInfo>
{
@@ -888,12 +887,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::IEmailNotificationTriggerDetails>
{
@@ -902,7 +901,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::IEmailNotificationTriggerDetails2>
{
@@ -911,10 +910,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::IEmailReadNotificationTriggerDetails>
{
@@ -923,8 +922,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::IMediaControlsTriggerDetails>
{
@@ -933,13 +932,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::IMediaMetadata>
{
@@ -948,18 +947,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::TextResponse>) 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<winrt::Windows::Phone::Notification::Management::IPhoneCallDetails>
{
@@ -968,12 +967,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::IPhoneLineDetails>
{
@@ -982,7 +981,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_Notification_Management_IPhoneLineDetails2
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) MissedCallCount() const;
+ [[nodiscard]] auto MissedCallCount() const;
};
template <> struct consume<winrt::Windows::Phone::Notification::Management::IPhoneLineDetails2>
{
@@ -991,9 +990,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::IPhoneNotificationTriggerDetails>
{
@@ -1002,13 +1001,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::IReminderNotificationTriggerDetails>
{
@@ -1017,7 +1016,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_Notification_Management_IReminderNotificationTriggerDetails2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) InstanceId() const;
+ [[nodiscard]] auto InstanceId() const;
};
template <> struct consume<winrt::Windows::Phone::Notification::Management::IReminderNotificationTriggerDetails2>
{
@@ -1026,9 +1025,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::ISpeedDialEntry>
{
@@ -1037,8 +1036,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::ITextResponse>
{
@@ -1047,11 +1046,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::IToastNotificationTriggerDetails>
{
@@ -1060,7 +1059,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_Notification_Management_IToastNotificationTriggerDetails2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) InstanceId() const;
+ [[nodiscard]] auto InstanceId() const;
};
template <> struct consume<winrt::Windows::Phone::Notification::Management::IToastNotificationTriggerDetails2>
{
@@ -1069,11 +1068,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::Notification::Management::IVolumeInfo>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.1.h
index 906dc49a5b5..6cff4b21aa6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.2.h
index e49db7402ff..c0509bffd56 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Notification.Management.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.0.h
index 08ea9e752b3..531c83f39bd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<winrt::Windows::Phone::PersonalInformation::IContactAddress>
{
@@ -342,10 +337,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::PersonalInformation::IContactChangeRecord>
{
@@ -354,22 +349,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Streams::IRandomAccessStream>) 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<winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>>) GetPropertiesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) ToVcardAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) 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<winrt::Windows::Phone::PersonalInformation::IContactInformation>
{
@@ -378,8 +373,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::PersonalInformation::IContactInformation2>
{
@@ -388,7 +383,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_PersonalInformation_IContactInformationStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::PersonalInformation::ContactInformation>) ParseVcardAsync(winrt::Windows::Storage::Streams::IInputStream const& vcard) const;
+ auto ParseVcardAsync(winrt::Windows::Storage::Streams::IInputStream const& vcard) const;
};
template <> struct consume<winrt::Windows::Phone::PersonalInformation::IContactInformationStatics>
{
@@ -397,9 +392,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_PersonalInformation_IContactQueryOptions
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) 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<winrt::Windows::Phone::PersonalInformation::IContactQueryOptions>
{
@@ -408,10 +403,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_PersonalInformation_IContactQueryResult
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) GetContactCountAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::PersonalInformation::StoredContact>>) GetContactsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::PersonalInformation::StoredContact>>) 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<winrt::Windows::Phone::PersonalInformation::IContactQueryResult>
{
@@ -420,16 +415,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_PersonalInformation_IContactStore
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::PersonalInformation::StoredContact>) FindContactByRemoteIdAsync(param::hstring const& id) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::PersonalInformation::StoredContact>) 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Phone::PersonalInformation::ContactChangeRecord>>) GetChangesAsync(uint64_t baseRevisionNumber) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>>) LoadExtendedPropertiesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SaveExtendedPropertiesAsync(param::async_map_view<hstring, winrt::Windows::Foundation::IInspectable> 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<hstring, winrt::Windows::Foundation::IInspectable> const& data) const;
};
template <> struct consume<winrt::Windows::Phone::PersonalInformation::IContactStore>
{
@@ -438,7 +433,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_PersonalInformation_IContactStore2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::PersonalInformation::StoredContact>) CreateMeContactAsync(param::hstring const& id) const;
+ auto CreateMeContactAsync(param::hstring const& id) const;
};
template <> struct consume<winrt::Windows::Phone::PersonalInformation::IContactStore2>
{
@@ -447,8 +442,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_PersonalInformation_IContactStoreStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::PersonalInformation::ContactStore>) CreateOrOpenAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::PersonalInformation::ContactStore>) 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<winrt::Windows::Phone::PersonalInformation::IContactStoreStatics>
{
@@ -457,41 +452,41 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::PersonalInformation::IKnownContactPropertiesStatics>
{
@@ -500,13 +495,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>>) 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<winrt::Windows::Phone::PersonalInformation::IStoredContact>
{
@@ -515,8 +510,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::PersonalInformation::IStoredContactFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.1.h
index 1780d4d21c6..195f146ef10 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.2.h
index c07a814fd72..4745ea66d69 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.0.h
index 9a2436ed26e..e1eb763558a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Phone::PersonalInformation::Provisioning::IContactPartnerProvisioningManagerStatics>
{
@@ -79,7 +79,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::PersonalInformation::Provisioning::IContactPartnerProvisioningManagerStatics2>
{
@@ -88,8 +88,8 @@ namespace winrt::impl
template <typename D>
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<hstring> 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<hstring> const& recipients, winrt::Windows::Foundation::DateTime const& deliveryTime, param::async_vector_view<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>> const& attachments) const;
+ auto ImportSmsToSystemAsync(bool incoming, bool read, param::hstring const& body, param::hstring const& sender, param::async_vector_view<hstring> 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<hstring> const& recipients, winrt::Windows::Foundation::DateTime const& deliveryTime, param::async_vector_view<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>> const& attachments) const;
};
template <> struct consume<winrt::Windows::Phone::PersonalInformation::Provisioning::IMessagePartnerProvisioningManagerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.1.h
index dad8cc43b5d..07f01624b44 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.2.h
index e6de5454b41..2e950005831 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.PersonalInformation.Provisioning.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.0.h
index 68bca054a62..cc9e5847223 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.0.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.1.h
index 95d1169b6c3..ba4cd9773b5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.2.h
index 92ec1a7b5bc..90a3521a16f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.Speech.Recognition.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.0.h
index 9755c10c391..68a8cc2c612 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
WINRT_EXPORT namespace winrt::Windows::UI::Notifications
{
struct BadgeUpdater;
@@ -70,12 +66,12 @@ namespace winrt::impl
template <typename D>
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<bool>) CreateAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) UpdateAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Phone::StartScreen::IDualSimTile>
{
@@ -84,14 +80,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_StartScreen_IDualSimTileStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Phone::StartScreen::DualSimTile) GetTileForSim2() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Phone::StartScreen::IDualSimTileStatics>
{
@@ -100,7 +96,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::StartScreen::IToastNotificationManagerStatics3>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.1.h
index be1956c4e11..00ff1b206ba 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.2.h
index 84e92f59cc0..cec400418e0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.StartScreen.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.0.h
index 6502f56bb07..fbe28a57c5f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
struct consume_Windows_Phone_System_ISystemProtectionStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) ScreenLocked() const;
+ [[nodiscard]] auto ScreenLocked() const;
};
template <> struct consume<winrt::Windows::Phone::System::ISystemProtectionStatics>
{
@@ -45,7 +45,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_System_ISystemProtectionUnlockStatics
{
- WINRT_IMPL_AUTO(void) RequestScreenUnlock() const;
+ auto RequestScreenUnlock() const;
};
template <> struct consume<winrt::Windows::Phone::System::ISystemProtectionUnlockStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.1.h
index 6ee23a58a64..f51ad80aca7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.2.h
index da339f63b0e..3874632140f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.0.h
index 1058a0c64aa..89bfa46afc5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Foundation::IInspectable> const& changeHandler) const;
+ [[nodiscard]] auto PowerSavingMode() const;
+ auto PowerSavingModeChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler) const;
using PowerSavingModeChanged_revoker = impl::event_revoker<winrt::Windows::Phone::System::Power::IPowerManagerStatics, &impl::abi_t<winrt::Windows::Phone::System::Power::IPowerManagerStatics>::remove_PowerSavingModeChanged>;
- [[nodiscard]] PowerSavingModeChanged_revoker PowerSavingModeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& changeHandler) const;
+ auto PowerSavingModeChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Phone::System::Power::IPowerManagerStatics>
{
@@ -63,7 +63,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_System_Power_IPowerManagerStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) PowerSavingModeEnabled() const;
+ [[nodiscard]] auto PowerSavingModeEnabled() const;
};
template <> struct consume<winrt::Windows::Phone::System::Power::IPowerManagerStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.1.h
index 8b22db8c4a7..6f5dd6ee2a0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.2.h
index 3f4bf7b791b..41fbeb84e9f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Power.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable> const& changeHandler);
using PowerSavingModeChanged_revoker = impl::factory_event_revoker<winrt::Windows::Phone::System::Power::IPowerManagerStatics, &impl::abi_t<winrt::Windows::Phone::System::Power::IPowerManagerStatics>::remove_PowerSavingModeChanged>;
- [[nodiscard]] static PowerSavingModeChanged_revoker PowerSavingModeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler);
+ [[nodiscard]] static auto PowerSavingModeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler);
static auto PowerSavingModeChanged(winrt::event_token const& token);
[[nodiscard]] static auto PowerSavingModeEnabled();
};
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.0.h
index e2440334442..e4c219fd58e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
struct consume_Windows_Phone_System_Profile_IRetailModeStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) RetailModeEnabled() const;
+ [[nodiscard]] auto RetailModeEnabled() const;
};
template <> struct consume<winrt::Windows::Phone::System::Profile::IRetailModeStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.1.h
index 2ffd4732365..268dc8e5299 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.2.h
index 2c59a60e1e8..985fd14be3d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.Profile.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.0.h
index 23e93152638..e8d0c6a9ea1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
@@ -84,14 +83,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::System::UserProfile::GameServices::Core::GameServicePropertyCollection>) GetGamerProfileAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Phone::System::UserProfile::GameServices::Core::GameServicePropertyCollection>) GetInstalledGameItemsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetPartnerTokenAsync(winrt::Windows::Foundation::Uri const& audienceUri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) 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<winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService>
{
@@ -100,8 +99,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameService2>
{
@@ -110,7 +109,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_System_UserProfile_GameServices_Core_IGameServicePropertyCollection
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::IInspectable>) GetPropertyAsync(param::hstring const& propertyName) const;
+ auto GetPropertyAsync(param::hstring const& propertyName) const;
};
template <> struct consume<winrt::Windows::Phone::System::UserProfile::GameServices::Core::IGameServicePropertyCollection>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.1.h
index 3185f372555..7ceab28547a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.2.h
index 7ac72ceb473..7cba8e27346 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.System.UserProfile.GameServices.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.0.h
index 527f1202c5a..3e1eb95371f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Phone::UI::Input::IBackPressedEventArgs>
{
@@ -95,10 +95,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_UI_Input_IHardwareButtonsStatics
{
- WINRT_IMPL_AUTO(winrt::event_token) BackPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::BackPressedEventArgs> const& handler) const;
+ auto BackPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::BackPressedEventArgs> const& handler) const;
using BackPressed_revoker = impl::event_revoker<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics, &impl::abi_t<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics>::remove_BackPressed>;
- [[nodiscard]] BackPressed_revoker BackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::BackPressedEventArgs> 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<winrt::Windows::Phone::UI::Input::BackPressedEventArgs> const& handler) const;
+ auto BackPressed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics>
{
@@ -107,18 +107,18 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2
{
- WINRT_IMPL_AUTO(winrt::event_token) CameraHalfPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const;
+ auto CameraHalfPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const;
using CameraHalfPressed_revoker = impl::event_revoker<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2, &impl::abi_t<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2>::remove_CameraHalfPressed>;
- [[nodiscard]] CameraHalfPressed_revoker CameraHalfPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> 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<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const;
+ [[nodiscard]] auto CameraHalfPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const;
+ auto CameraHalfPressed(winrt::event_token const& token) const noexcept;
+ auto CameraPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const;
using CameraPressed_revoker = impl::event_revoker<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2, &impl::abi_t<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2>::remove_CameraPressed>;
- [[nodiscard]] CameraPressed_revoker CameraPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> 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<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const;
+ [[nodiscard]] auto CameraPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const;
+ auto CameraPressed(winrt::event_token const& token) const noexcept;
+ auto CameraReleased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const;
using CameraReleased_revoker = impl::event_revoker<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2, &impl::abi_t<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2>::remove_CameraReleased>;
- [[nodiscard]] CameraReleased_revoker CameraReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> 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<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler) const;
+ auto CameraReleased(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.1.h
index cef3219c758..eaef7b52fac 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.2.h
index 8f318f398d3..e0891a8b11e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Phone.UI.Input.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Phone::UI::Input::BackPressedEventArgs> const& handler);
using BackPressed_revoker = impl::factory_event_revoker<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics, &impl::abi_t<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics>::remove_BackPressed>;
- [[nodiscard]] static BackPressed_revoker BackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::BackPressedEventArgs> const& handler);
+ [[nodiscard]] static auto BackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::BackPressedEventArgs> const& handler);
static auto BackPressed(winrt::event_token const& token);
static auto CameraHalfPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler);
using CameraHalfPressed_revoker = impl::factory_event_revoker<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2, &impl::abi_t<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2>::remove_CameraHalfPressed>;
- [[nodiscard]] static CameraHalfPressed_revoker CameraHalfPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler);
+ [[nodiscard]] static auto CameraHalfPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler);
static auto CameraHalfPressed(winrt::event_token const& token);
static auto CameraPressed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler);
using CameraPressed_revoker = impl::factory_event_revoker<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2, &impl::abi_t<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2>::remove_CameraPressed>;
- [[nodiscard]] static CameraPressed_revoker CameraPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler);
+ [[nodiscard]] static auto CameraPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler);
static auto CameraPressed(winrt::event_token const& token);
static auto CameraReleased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler);
using CameraReleased_revoker = impl::factory_event_revoker<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2, &impl::abi_t<winrt::Windows::Phone::UI::Input::IHardwareButtonsStatics2>::remove_CameraReleased>;
- [[nodiscard]] static CameraReleased_revoker CameraReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler);
+ [[nodiscard]] static auto CameraReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Phone::UI::Input::CameraEventArgs> const& handler);
static auto CameraReleased(winrt::event_token const& token);
};
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.0.h
index 85d4d53a689..e955147fa1c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Identity
{
struct IEnterpriseKeyCredentialRegistrationInfo;
@@ -64,11 +56,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationInfo>
{
@@ -77,7 +69,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Identity_IEnterpriseKeyCredentialRegistrationManager
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::Identity::EnterpriseKeyCredentialRegistrationInfo>>) GetRegistrationsAsync() const;
+ auto GetRegistrationsAsync() const;
};
template <> struct consume<winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationManager>
{
@@ -86,7 +78,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Identity::IEnterpriseKeyCredentialRegistrationManagerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.1.h
index 27449413ed8..a96083e1ad2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.2.h
index 0f511f5d33f..d7f622b40a1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.0.h
index f009cc449fa..d42b618b9c3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Security::Authentication::Identity::Core
{
@@ -176,16 +174,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorAuthenticationManager
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorOneTimeCodedInfo>) GetOneTimePassCodeAsync(param::hstring const& userAccountId, uint32_t codeLength) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>) AddDeviceAsync(param::hstring const& userAccountId, param::hstring const& authenticationToken, param::hstring const& wnsChannelId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>) RemoveDeviceAsync(param::hstring const& userAccountId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>) UpdateWnsChannelAsync(param::hstring const& userAccountId, param::hstring const& channelUri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorGetSessionsResult>) GetSessionsAsync(param::async_iterable<hstring> const& userAccountIdList) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo>) GetSessionsAndUnregisteredAccountsAsync(param::async_iterable<hstring> const& userAccountIdList) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>) 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<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>) 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<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>) DenySessionAsync(winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo const& authenticationSessionInfo) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorServiceResponse>) 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<hstring> const& userAccountIdList) const;
+ auto GetSessionsAndUnregisteredAccountsAsync(param::async_iterable<hstring> 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<winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorAuthenticationManager>
{
@@ -194,7 +192,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorAuthenticatorStatics>
{
@@ -203,8 +201,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorGetSessionsResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo>) 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<winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorGetSessionsResult>
{
@@ -213,10 +211,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorOneTimeCodedInfo>
{
@@ -225,13 +223,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorSessionInfo>
{
@@ -240,9 +238,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Identity_Core_IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::Identity::Core::MicrosoftAccountMultiFactorSessionInfo>) Sessions() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) 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<winrt::Windows::Security::Authentication::Identity::Core::IMicrosoftAccountMultiFactorUnregisteredAccountsAndSessionInfo>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.1.h
index 3b61a617329..799d7187e87 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.2.h
index 307f496e505..4b31a5deab9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.0.h
index 912a81c65f5..be9567b771b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
struct IAsyncAction;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
@@ -326,12 +321,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorFinishAuthenticationStatus>) 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<winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthentication>
{
@@ -340,8 +335,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationResult>
{
@@ -350,7 +345,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStageChangedEventArgs>
{
@@ -359,9 +354,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStageInfo>
{
@@ -370,13 +365,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationResult>) StartAuthenticationAsync(param::hstring const& deviceId, winrt::Windows::Storage::Streams::IBuffer const& serviceAuthenticationNonce) const;
- WINRT_IMPL_AUTO(winrt::event_token) AuthenticationStageChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> 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<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> const& handler) const;
using AuthenticationStageChanged_revoker = impl::event_revoker<winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStatics, &impl::abi_t<winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStatics>::remove_AuthenticationStageChanged>;
- [[nodiscard]] AuthenticationStageChanged_revoker AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) AuthenticationStageChanged(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageInfo>) GetAuthenticationStageInfoAsync() const;
+ [[nodiscard]] auto AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> const& handler) const;
+ auto AuthenticationStageChanged(winrt::event_token const& token) const noexcept;
+ auto GetAuthenticationStageInfoAsync() const;
};
template <> struct consume<winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStatics>
{
@@ -385,10 +380,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus>) 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<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatus>) 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<winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorDevicePresenceMonitoringRegistrationStatics>
{
@@ -397,10 +392,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorInfo>
{
@@ -409,9 +404,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorInfo2>
{
@@ -420,8 +415,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorRegistration>
{
@@ -430,8 +425,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorRegistrationResult>
{
@@ -440,10 +435,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Identity_Provider_ISecondaryAuthenticationFactorRegistrationStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorRegistrationResult>) 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorInfo>>) 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<winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorRegistrationStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.1.h
index 217abec7ce1..b17d091a517 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.2.h
index 9adf2da9561..94f95e49cf5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Identity.Provider.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> const& handler);
using AuthenticationStageChanged_revoker = impl::factory_event_revoker<winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStatics, &impl::abi_t<winrt::Windows::Security::Authentication::Identity::Provider::ISecondaryAuthenticationFactorAuthenticationStatics>::remove_AuthenticationStageChanged>;
- [[nodiscard]] static AuthenticationStageChanged_revoker AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> const& handler);
+ [[nodiscard]] static auto AuthenticationStageChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::Authentication::Identity::Provider::SecondaryAuthenticationFactorAuthenticationStageChangedEventArgs> const& handler);
static auto AuthenticationStageChanged(winrt::event_token const& token);
static auto GetAuthenticationStageInfoAsync();
};
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.0.h
index 15e85372a3c..0ca1742c143 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::System
{
@@ -204,13 +203,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest> 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<winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicketRequest> 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<winrt::Windows::Security::Authentication::OnlineId::IOnlineIdAuthenticator>
{
@@ -219,9 +218,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::OnlineId::IOnlineIdServiceTicket>
{
@@ -230,8 +229,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::OnlineId::IOnlineIdServiceTicketRequest>
{
@@ -240,8 +239,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::OnlineId::IOnlineIdServiceTicketRequestFactory>
{
@@ -250,10 +249,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_OnlineId_IOnlineIdSystemAuthenticatorForUser
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::OnlineId::OnlineIdSystemTicketResult>) 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<winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemAuthenticatorForUser>
{
@@ -262,8 +261,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemAuthenticatorStatics>
{
@@ -272,8 +271,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemIdentity>
{
@@ -282,9 +281,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::OnlineId::IOnlineIdSystemTicketResult>
{
@@ -293,14 +292,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_OnlineId_IUserIdentity
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::OnlineId::OnlineIdServiceTicket>) 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<winrt::Windows::Security::Authentication::OnlineId::IUserIdentity>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.1.h
index 96552e36bb1..9a9647c15f0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.2.h
index ad5e04cfb0f..68f78f0e7b0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.OnlineId.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.0.h
index 99b77b88bd2..2636dca23f1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
@@ -94,9 +93,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Web_IWebAuthenticationBrokerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::WebAuthenticationResult>) 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<winrt::Windows::Security::Authentication::Web::WebAuthenticationResult>) 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<winrt::Windows::Security::Authentication::Web::IWebAuthenticationBrokerStatics>
{
@@ -105,11 +104,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::WebAuthenticationResult>) AuthenticateSilentlyAsync(winrt::Windows::Foundation::Uri const& requestUri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::WebAuthenticationResult>) 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<winrt::Windows::Security::Authentication::Web::IWebAuthenticationBrokerStatics2>
{
@@ -118,9 +117,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::IWebAuthenticationResult>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.1.h
index 3fa16f22d26..685c6f690ad 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.2.h
index 8564ee939bd..0a6040651ba 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.0.h
index 70553741112..1dfba749193 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Security::Credentials
{
@@ -314,9 +311,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Web_Core_IFindAllAccountsResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::WebAccount>) 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<winrt::Windows::Security::Authentication::Web::Core::IFindAllAccountsResult>
{
@@ -325,7 +322,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Core::IWebAccountEventArgs>
{
@@ -334,18 +331,18 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor
{
- WINRT_IMPL_AUTO(winrt::event_token) Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const;
+ auto Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const;
using Updated_revoker = impl::event_revoker<winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor, &impl::abi_t<winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor>::remove_Updated>;
- [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> 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<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const;
+ [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const;
+ auto Updated(winrt::event_token const& token) const noexcept;
+ auto Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const;
using Removed_revoker = impl::event_revoker<winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor, &impl::abi_t<winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor>::remove_Removed>;
- [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> 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<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const;
+ auto Removed(winrt::event_token const& token) const noexcept;
+ auto DefaultSignInAccountChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const;
using DefaultSignInAccountChanged_revoker = impl::event_revoker<winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor, &impl::abi_t<winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor>::remove_DefaultSignInAccountChanged>;
- [[nodiscard]] DefaultSignInAccountChanged_revoker DefaultSignInAccountChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto DefaultSignInAccountChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor>
{
@@ -354,10 +351,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Web_Core_IWebAccountMonitor2
{
- WINRT_IMPL_AUTO(winrt::event_token) AccountPictureUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const;
+ auto AccountPictureUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const;
using AccountPictureUpdated_revoker = impl::event_revoker<winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor2, &impl::abi_t<winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor2>::remove_AccountPictureUpdated>;
- [[nodiscard]] AccountPictureUpdated_revoker AccountPictureUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> 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<winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor, winrt::Windows::Security::Authentication::Web::Core::WebAccountEventArgs> const& handler) const;
+ auto AccountPictureUpdated(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Security::Authentication::Web::Core::IWebAccountMonitor2>
{
@@ -366,13 +363,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestResult>) GetTokenSilentlyAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestResult>) 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<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestResult>) RequestTokenAsync(winrt::Windows::Security::Authentication::Web::Core::WebTokenRequest const& request) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::Core::WebTokenRequestResult>) 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<winrt::Windows::Security::Credentials::WebAccount>) FindAccountAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& webAccountId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccountProvider>) FindAccountProviderAsync(param::hstring const& webAccountProviderId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccountProvider>) 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<winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics>
{
@@ -381,7 +378,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccountProvider>) 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<winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics2>
{
@@ -390,7 +387,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics3
{
- WINRT_IMPL_AUTO(winrt::Windows::Security::Authentication::Web::Core::WebAccountMonitor) CreateWebAccountMonitor(param::iterable<winrt::Windows::Security::Credentials::WebAccount> const& webAccounts) const;
+ auto CreateWebAccountMonitor(param::iterable<winrt::Windows::Security::Credentials::WebAccount> const& webAccounts) const;
};
template <> struct consume<winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics3>
{
@@ -399,11 +396,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Web_Core_IWebAuthenticationCoreManagerStatics4
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::Core::FindAllAccountsResult>) FindAllAccountsAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Authentication::Web::Core::FindAllAccountsResult>) FindAllAccountsAsync(winrt::Windows::Security::Credentials::WebAccountProvider const& provider, param::hstring const& clientId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccountProvider>) FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccountProvider>) FindSystemAccountProviderAsync(param::hstring const& webAccountProviderId, param::hstring const& authority) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccountProvider>) 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<winrt::Windows::Security::Authentication::Web::Core::IWebAuthenticationCoreManagerStatics4>
{
@@ -412,9 +409,9 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring>) Properties() const;
+ [[nodiscard]] auto ErrorCode() const;
+ [[nodiscard]] auto ErrorMessage() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Security::Authentication::Web::Core::IWebProviderError>
{
@@ -423,7 +420,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Core::IWebProviderErrorFactory>
{
@@ -432,11 +429,11 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring>) 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<winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequest>
{
@@ -445,7 +442,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Web_Core_IWebTokenRequest2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) AppProperties() const;
+ [[nodiscard]] auto AppProperties() const;
};
template <> struct consume<winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequest2>
{
@@ -454,8 +451,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequest3>
{
@@ -464,10 +461,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequestFactory>
{
@@ -476,10 +473,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Web_Core_IWebTokenRequestResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::Web::Core::WebTokenResponse>) 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<winrt::Windows::Security::Authentication::Web::Core::IWebTokenRequestResult>
{
@@ -488,10 +485,10 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring>) Properties() const;
+ [[nodiscard]] auto Token() const;
+ [[nodiscard]] auto ProviderError() const;
+ [[nodiscard]] auto WebAccount() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::Security::Authentication::Web::Core::IWebTokenResponse>
{
@@ -500,9 +497,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Core::IWebTokenResponseFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.1.h
index 293594c644a..df5358ff5de 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.2.h
index cfa65be33f2..58575cae018 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.0.h
index c5e3d2097ad..37828b2f010 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename K, typename V> struct __declspec(empty_bases) IMapView;
template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountClientView>
{
@@ -459,8 +452,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountClientViewFactory>
{
@@ -469,16 +462,16 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring> const& additionalProperties) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>) AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::WebAccount>>) FindAllProviderWebAccountsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) PushCookiesAsync(winrt::Windows::Foundation::Uri const& uri, param::async_vector_view<winrt::Windows::Web::Http::HttpCookie> 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Authentication::Web::Provider::WebAccountClientView>>) 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<hstring, hstring> const& additionalProperties) const;
+ auto AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> 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<winrt::Windows::Web::Http::HttpCookie> 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<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics>
{
@@ -487,7 +480,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics2>
{
@@ -496,10 +489,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountManagerStatics3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::WebAccount>>) FindAllProviderWebAccountsForUserAsync(winrt::Windows::System::User const& user) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>) AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> const& props) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>) AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>) AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> 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<hstring, hstring> const& props) const;
+ auto AddWebAccountForUserAsync(winrt::Windows::System::User const& user, param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> 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<hstring, hstring> const& props, winrt::Windows::Security::Authentication::Web::Provider::WebAccountScope const& scope, param::hstring const& perUserWebAccountId) const;
};
template <> struct consume<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics3>
{
@@ -508,8 +501,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountManagerStatics4>
{
@@ -518,10 +511,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountMapManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>) AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> 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<winrt::Windows::Security::Credentials::WebAccount>) 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<hstring, hstring> 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<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountMapManagerStatics>
{
@@ -530,7 +523,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderAddAccountOperation
{
- WINRT_IMPL_AUTO(void) ReportCompleted() const;
+ auto ReportCompleted() const;
};
template <> struct consume<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderAddAccountOperation>
{
@@ -539,8 +532,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderBaseReportOperation>
{
@@ -549,7 +542,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderDeleteAccountOperation>
{
@@ -558,8 +551,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderManageAccountOperation>
{
@@ -568,7 +561,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderOperation>
{
@@ -577,11 +570,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::HttpCookie>) 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<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderRetrieveCookiesOperation>
{
@@ -590,9 +583,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderSignOutAccountOperation>
{
@@ -601,8 +594,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderSilentReportOperation>
{
@@ -611,7 +604,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenObjects>
{
@@ -620,7 +613,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenObjects2>
{
@@ -629,10 +622,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Provider::WebProviderTokenResponse>) 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<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderTokenOperation>
{
@@ -641,7 +634,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountProviderUIReportOperation
{
- WINRT_IMPL_AUTO(void) ReportUserCanceled() const;
+ auto ReportUserCanceled() const;
};
template <> struct consume<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountProviderUIReportOperation>
{
@@ -650,9 +643,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Web_Provider_IWebAccountScopeManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::WebAccount>) AddWebAccountAsync(param::hstring const& webAccountId, param::hstring const& webAccountUserName, param::async_map_view<hstring, hstring> 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<hstring, hstring> 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<winrt::Windows::Security::Authentication::Web::Provider::IWebAccountScopeManagerStatics>
{
@@ -661,11 +654,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Credentials::WebAccount>) 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<winrt::Windows::Security::Cryptography::Core::CryptographicKey>) 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<winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenRequest>
{
@@ -674,7 +667,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authentication_Web_Provider_IWebProviderTokenRequest2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) 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<winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenRequest2>
{
@@ -683,9 +676,9 @@ namespace winrt::impl
template <typename D>
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<bool>) CheckApplicationForCapabilityAsync(param::hstring const& capabilityName) const;
+ [[nodiscard]] auto ApplicationPackageFamilyName() const;
+ [[nodiscard]] auto ApplicationProcessName() const;
+ auto CheckApplicationForCapabilityAsync(param::hstring const& capabilityName) const;
};
template <> struct consume<winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenRequest3>
{
@@ -694,7 +687,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenResponse>
{
@@ -703,7 +696,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authentication::Web::Provider::IWebProviderTokenResponseFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.1.h
index 6d8a12f7da7..88458ee26c7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.2.h
index 4c7026fc2fa..206fd2ff0f8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authentication.Web.Provider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.0.h
index f7dc118f42b..5d377435457 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
}
WINRT_EXPORT namespace winrt::Windows::System
{
@@ -84,14 +82,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus>) RequestAccessAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus) CheckAccess() const;
- WINRT_IMPL_AUTO(winrt::event_token) AccessChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapability, winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto CapabilityName() const;
+ [[nodiscard]] auto User() const;
+ auto RequestAccessAsync() const;
+ auto CheckAccess() const;
+ auto AccessChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapability, winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessChangedEventArgs> const& handler) const;
using AccessChanged_revoker = impl::event_revoker<winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapability, &impl::abi_t<winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapability>::remove_AccessChanged>;
- [[nodiscard]] AccessChanged_revoker AccessChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapability, winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessChangedEventArgs> 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<winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapability, winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessChangedEventArgs> const& handler) const;
+ auto AccessChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapability>
{
@@ -108,10 +106,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Authorization_AppCapabilityAccess_IAppCapabilityStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus>>) RequestAccessForCapabilitiesAsync(param::async_iterable<hstring> const& capabilityNames) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Security::Authorization::AppCapabilityAccess::AppCapabilityAccessStatus>>) RequestAccessForCapabilitiesForUserAsync(winrt::Windows::System::User const& user, param::async_iterable<hstring> 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<hstring> const& capabilityNames) const;
+ auto RequestAccessForCapabilitiesForUserAsync(winrt::Windows::System::User const& user, param::async_iterable<hstring> 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<winrt::Windows::Security::Authorization::AppCapabilityAccess::IAppCapabilityStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.1.h
index 83498071292..1416137bdcf 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.2.h
index 4f0a4e75c88..fd5a892983d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Authorization.AppCapabilityAccess.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.0.h
index 8ddcaedca9f..17ae469892d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
struct IPropertySet;
- template <typename T> 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 <typename D>
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<winrt::Windows::Security::Credentials::ICredentialFactory>
{
@@ -338,11 +334,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Credentials::KeyCredentialOperationResult>) RequestSignAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::KeyCredentialAttestationResult>) 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<winrt::Windows::Security::Credentials::IKeyCredential>
{
@@ -351,9 +347,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Credentials::IKeyCredentialAttestationResult>
{
@@ -362,11 +358,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Credentials_IKeyCredentialManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) IsSupportedAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RenewAttestationAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::KeyCredentialRetrievalResult>) RequestCreateAsync(param::hstring const& name, winrt::Windows::Security::Credentials::KeyCredentialCreationOption const& option) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::KeyCredentialRetrievalResult>) 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<winrt::Windows::Security::Credentials::IKeyCredentialManagerStatics>
{
@@ -375,8 +371,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Credentials::IKeyCredentialOperationResult>
{
@@ -385,8 +381,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Credentials::IKeyCredentialRetrievalResult>
{
@@ -395,14 +391,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Credentials::IPasswordCredential>
{
@@ -411,12 +407,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Credentials::PasswordCredential>) FindAllByResource(param::hstring const& resource) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::PasswordCredential>) FindAllByUserName(param::hstring const& userName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Credentials::PasswordCredential>) 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<winrt::Windows::Security::Credentials::IPasswordVault>
{
@@ -425,9 +421,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Credentials::IWebAccount>
{
@@ -436,11 +432,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Credentials_IWebAccount2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>) Properties() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) 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<winrt::Windows::Security::Credentials::IWebAccount2>
{
@@ -449,7 +445,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Credentials::IWebAccountFactory>
{
@@ -458,9 +454,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Credentials::IWebAccountProvider>
{
@@ -469,8 +465,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Credentials::IWebAccountProvider2>
{
@@ -479,7 +475,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Credentials_IWebAccountProvider3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
+ [[nodiscard]] auto User() const;
};
template <> struct consume<winrt::Windows::Security::Credentials::IWebAccountProvider3>
{
@@ -488,7 +484,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Credentials_IWebAccountProvider4
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSystemProvider() const;
+ [[nodiscard]] auto IsSystemProvider() const;
};
template <> struct consume<winrt::Windows::Security::Credentials::IWebAccountProvider4>
{
@@ -497,7 +493,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Credentials::IWebAccountProviderFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.1.h
index 8d3565172d3..fe69083dafb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.2.h
index 7b82f3a58e1..eb854cc5bf8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.0.h
index 735d8e0e5a3..8180f867469 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IBuffer;
@@ -147,26 +143,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Credentials::UI::ICredentialPickerOptions>
{
@@ -175,13 +171,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Credentials::UI::ICredentialPickerResults>
{
@@ -190,9 +186,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Credentials_UI_ICredentialPickerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::UI::CredentialPickerResults>) PickAsync(winrt::Windows::Security::Credentials::UI::CredentialPickerOptions const& options) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::UI::CredentialPickerResults>) PickAsync(param::hstring const& targetName, param::hstring const& message) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::UI::CredentialPickerResults>) 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<winrt::Windows::Security::Credentials::UI::ICredentialPickerStatics>
{
@@ -201,8 +197,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Credentials_UI_IUserConsentVerifierStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::UI::UserConsentVerifierAvailability>) CheckAvailabilityAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Credentials::UI::UserConsentVerificationResult>) RequestVerificationAsync(param::hstring const& message) const;
+ auto CheckAvailabilityAsync() const;
+ auto RequestVerificationAsync(param::hstring const& message) const;
};
template <> struct consume<winrt::Windows::Security::Credentials::UI::IUserConsentVerifierStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.1.h
index be484a1865d..bebb34b5631 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.2.h
index 2ef4493f0dd..ea7b2415045 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Credentials.UI.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.0.h
index 836197c4c6b..d4541de0b81 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<uint8_t const> value) const;
- WINRT_IMPL_AUTO(void) CopyToByteArray(winrt::Windows::Storage::Streams::IBuffer const& buffer, com_array<uint8_t>& 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<uint8_t const> value) const;
+ auto CopyToByteArray(winrt::Windows::Storage::Streams::IBuffer const& buffer, com_array<uint8_t>& 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<winrt::Windows::Security::Cryptography::ICryptographicBufferStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.1.h
index 3f415cda44a..23e4a9039d7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.2.h
index 379c8d5a0db..6b127344483 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.0.h
index c7864a7f972..f722c7089f7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Networking
{
@@ -834,21 +831,21 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_ICertificate
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Cryptography::Certificates::CertificateChain>) BuildChainAsync(param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& certificates) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Cryptography::Certificates::CertificateChain>) BuildChainAsync(param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& certificates, winrt::Windows::Security::Cryptography::Certificates::ChainBuildingParameters const& parameters) const;
- [[nodiscard]] WINRT_IMPL_AUTO(com_array<uint8_t>) SerialNumber() const;
- WINRT_IMPL_AUTO(com_array<uint8_t>) GetHashValue() const;
- WINRT_IMPL_AUTO(com_array<uint8_t>) 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<hstring>) EnhancedKeyUsages() const;
- WINRT_IMPL_AUTO(void) FriendlyName(param::hstring const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) FriendlyName() const;
+ auto BuildChainAsync(param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& certificates) const;
+ auto BuildChainAsync(param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> 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<winrt::Windows::Security::Cryptography::Certificates::ICertificate>
{
@@ -857,12 +854,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ICertificate2>
{
@@ -871,9 +868,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ICertificate3>
{
@@ -882,9 +879,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::Certificate>) 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<winrt::Windows::Security::Cryptography::Certificates::ICertificateChain>
{
@@ -893,9 +890,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_ICertificateEnrollmentManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) 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<winrt::Windows::Security::Cryptography::Certificates::ICertificateEnrollmentManagerStatics>
{
@@ -904,8 +901,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ICertificateEnrollmentManagerStatics2>
{
@@ -914,7 +911,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ICertificateEnrollmentManagerStatics3>
{
@@ -923,13 +920,13 @@ namespace winrt::impl
template <typename D>
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<uint8_t>) Value() const;
- WINRT_IMPL_AUTO(void) Value(array_view<uint8_t const> 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<uint8_t const> value) const;
};
template <> struct consume<winrt::Windows::Security::Cryptography::Certificates::ICertificateExtension>
{
@@ -938,7 +935,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ICertificateFactory>
{
@@ -947,22 +944,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ICertificateKeyUsages>
{
@@ -971,15 +968,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_ICertificateQuery
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) 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<uint8_t>) Thumbprint() const;
- WINRT_IMPL_AUTO(void) Thumbprint(array_view<uint8_t const> 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<uint8_t const> value) const;
+ [[nodiscard]] auto HardwareOnly() const;
+ auto HardwareOnly(bool value) const;
};
template <> struct consume<winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery>
{
@@ -988,12 +985,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ICertificateQuery2>
{
@@ -1002,24 +999,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties>
{
@@ -1028,12 +1025,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties2>
{
@@ -1042,16 +1039,16 @@ namespace winrt::impl
template <typename D>
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<uint8_t>) CurveParameters() const;
- WINRT_IMPL_AUTO(void) CurveParameters(array_view<uint8_t 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) 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<uint8_t const> 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<winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties3>
{
@@ -1060,9 +1057,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_ICertificateRequestProperties4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) SuppressedDefaults() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Cryptography::Certificates::SubjectAlternativeNameInfo) SubjectAlternativeName() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Security::Cryptography::Certificates::CertificateExtension>) Extensions() const;
+ [[nodiscard]] auto SuppressedDefaults() const;
+ [[nodiscard]] auto SubjectAlternativeName() const;
+ [[nodiscard]] auto Extensions() const;
};
template <> struct consume<winrt::Windows::Security::Cryptography::Certificates::ICertificateRequestProperties4>
{
@@ -1071,8 +1068,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ICertificateStore>
{
@@ -1081,7 +1078,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_ICertificateStore2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const;
+ [[nodiscard]] auto Name() const;
};
template <> struct consume<winrt::Windows::Security::Cryptography::Certificates::ICertificateStore2>
{
@@ -1090,11 +1087,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_ICertificateStoresStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>>) FindAllAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>>) 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<winrt::Windows::Security::Cryptography::Certificates::ICertificateStoresStatics>
{
@@ -1103,7 +1100,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ICertificateStoresStatics2>
{
@@ -1112,18 +1109,18 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_IChainBuildingParameters
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) 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<winrt::Windows::Security::Cryptography::Certificates::Certificate>) 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<winrt::Windows::Security::Cryptography::Certificates::IChainBuildingParameters>
{
@@ -1132,10 +1129,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::IChainValidationParameters>
{
@@ -1144,10 +1141,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignature
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) Certificates() const;
- [[nodiscard]] WINRT_IMPL_AUTO(com_array<uint8_t>) Content() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::CmsSignerInfo>) 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<winrt::Windows::Security::Cryptography::Certificates::ICmsAttachedSignature>
{
@@ -1156,7 +1153,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ICmsAttachedSignatureFactory>
{
@@ -1165,7 +1162,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_ICmsAttachedSignatureStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) GenerateSignatureAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::CmsSignerInfo> const& signers, param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& certificates) const;
+ auto GenerateSignatureAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::CmsSignerInfo> const& signers, param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& certificates) const;
};
template <> struct consume<winrt::Windows::Security::Cryptography::Certificates::ICmsAttachedSignatureStatics>
{
@@ -1174,9 +1171,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignature
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) Certificates() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::CmsSignerInfo>) Signers() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Cryptography::Certificates::SignatureValidationResult>) 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<winrt::Windows::Security::Cryptography::Certificates::ICmsDetachedSignature>
{
@@ -1185,7 +1182,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ICmsDetachedSignatureFactory>
{
@@ -1194,7 +1191,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_ICmsDetachedSignatureStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) GenerateSignatureAsync(winrt::Windows::Storage::Streams::IInputStream const& data, param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::CmsSignerInfo> const& signers, param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& certificates) const;
+ auto GenerateSignatureAsync(winrt::Windows::Storage::Streams::IInputStream const& data, param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::CmsSignerInfo> const& signers, param::async_iterable<winrt::Windows::Security::Cryptography::Certificates::Certificate> const& certificates) const;
};
template <> struct consume<winrt::Windows::Security::Cryptography::Certificates::ICmsDetachedSignatureStatics>
{
@@ -1203,11 +1200,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ICmsSignerInfo>
{
@@ -1216,9 +1213,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::Certificate>) 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<winrt::Windows::Security::Cryptography::Certificates::ICmsTimestampInfo>
{
@@ -1227,14 +1224,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::IKeyAlgorithmNamesStatics>
{
@@ -1243,8 +1240,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::IKeyAlgorithmNamesStatics2>
{
@@ -1253,8 +1250,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) 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<winrt::Windows::Security::Cryptography::Certificates::IKeyAttestationHelperStatics>
{
@@ -1263,7 +1260,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_IKeyAttestationHelperStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) DecryptTpmAttestationCredentialAsync(param::hstring const& credential, param::hstring const& containerName) const;
+ auto DecryptTpmAttestationCredentialAsync(param::hstring const& credential, param::hstring const& containerName) const;
};
template <> struct consume<winrt::Windows::Security::Cryptography::Certificates::IKeyAttestationHelperStatics2>
{
@@ -1272,9 +1269,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::IKeyStorageProviderNamesStatics>
{
@@ -1283,7 +1280,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_IKeyStorageProviderNamesStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) PassportKeyStorageProvider() const;
+ [[nodiscard]] auto PassportKeyStorageProvider() const;
};
template <> struct consume<winrt::Windows::Security::Cryptography::Certificates::IKeyStorageProviderNamesStatics2>
{
@@ -1292,20 +1289,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::IPfxImportParameters>
{
@@ -1314,9 +1311,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::IStandardCertificateStoreNamesStatics>
{
@@ -1325,12 +1322,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) EmailName() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) IPAddress() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) Url() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) DnsName() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) DistinguishedName() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) 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<winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo>
{
@@ -1339,13 +1336,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_ISubjectAlternativeNameInfo2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) EmailNames() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) IPAddresses() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) Urls() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) DnsNames() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) DistinguishedNames() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) 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<winrt::Windows::Security::Cryptography::Certificates::ISubjectAlternativeNameInfo2>
{
@@ -1354,10 +1351,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_IUserCertificateEnrollmentManager
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) 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<winrt::Windows::Security::Cryptography::Certificates::IUserCertificateEnrollmentManager>
{
@@ -1366,7 +1363,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::IUserCertificateEnrollmentManager2>
{
@@ -1375,9 +1372,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Certificates_IUserCertificateStore
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestAddAsync(winrt::Windows::Security::Cryptography::Certificates::Certificate const& certificate) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Security::Cryptography::Certificates::IUserCertificateStore>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.1.h
index fdd5940289d..3cf2ded8146 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.2.h
index 1135f5ac5a5..8fa6b1375da 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Certificates.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.0.h
index 75a304cbfd5..5f2fcddd307 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Security::Cryptography::Certificates
{
struct Certificate;
@@ -598,24 +590,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics>
{
@@ -624,9 +616,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IAsymmetricAlgorithmNamesStatics2>
{
@@ -635,12 +627,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IAsymmetricKeyAlgorithmProvider>
{
@@ -649,8 +641,8 @@ namespace winrt::impl
template <typename D>
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<uint8_t const> parameters) const;
+ auto CreateKeyPairWithCurveName(param::hstring const& curveName) const;
+ auto CreateKeyPairWithCurveParameters(array_view<uint8_t const> parameters) const;
};
template <> struct consume<winrt::Windows::Security::Cryptography::Core::IAsymmetricKeyAlgorithmProvider2>
{
@@ -659,7 +651,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IAsymmetricKeyAlgorithmProviderStatics>
{
@@ -668,13 +660,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::ICryptographicEngineStatics>
{
@@ -683,11 +675,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Streams::IBuffer>) 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<winrt::Windows::Storage::Streams::IBuffer>) SignAsync(winrt::Windows::Security::Cryptography::Core::CryptographicKey const& key, winrt::Windows::Storage::Streams::IBuffer const& data) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) 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<winrt::Windows::Security::Cryptography::Core::ICryptographicEngineStatics2>
{
@@ -696,11 +688,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::ICryptographicKey>
{
@@ -709,52 +701,52 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::Security::Cryptography::Core::IEccCurveNamesStatics>
{
@@ -763,8 +755,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IEncryptedAndAuthenticatedData>
{
@@ -773,11 +765,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IHashAlgorithmNamesStatics>
{
@@ -786,10 +778,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IHashAlgorithmProvider>
{
@@ -798,7 +790,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IHashAlgorithmProviderStatics>
{
@@ -807,8 +799,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IHashComputation>
{
@@ -817,21 +809,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics>
{
@@ -840,11 +832,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmNamesStatics2>
{
@@ -853,8 +845,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmProvider>
{
@@ -863,7 +855,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IKeyDerivationAlgorithmProviderStatics>
{
@@ -872,9 +864,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IKeyDerivationParameters>
{
@@ -883,8 +875,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IKeyDerivationParameters2>
{
@@ -893,9 +885,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IKeyDerivationParametersStatics>
{
@@ -904,7 +896,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IKeyDerivationParametersStatics2>
{
@@ -913,12 +905,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IMacAlgorithmNamesStatics>
{
@@ -927,9 +919,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IMacAlgorithmProvider>
{
@@ -938,7 +930,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IMacAlgorithmProvider2>
{
@@ -947,7 +939,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::IMacAlgorithmProviderStatics>
{
@@ -956,8 +948,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_Core_IPersistedKeyProviderStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Cryptography::Core::CryptographicKey>) 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<winrt::Windows::Security::Cryptography::Core::IPersistedKeyProviderStatics>
{
@@ -966,25 +958,25 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::ISymmetricAlgorithmNamesStatics>
{
@@ -993,9 +985,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::ISymmetricKeyAlgorithmProvider>
{
@@ -1004,7 +996,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Core::ISymmetricKeyAlgorithmProviderStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.1.h
index b8e22f6bca7..5689ebca42b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.2.h
index 23c7ec4cc15..52c1328fe9c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.0.h
index 554ba1a9dee..9415a583b8a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
@@ -51,10 +50,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Cryptography_DataProtection_IDataProtectionProvider
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) ProtectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) 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<winrt::Windows::Security::Cryptography::DataProtection::IDataProtectionProvider>
{
@@ -63,7 +62,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::DataProtection::IDataProtectionProviderFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.1.h
index 38cca420503..c6c965180af 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.2.h
index d460f47c4fd..cd358bb755d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Cryptography.DataProtection.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.0.h
index 9f8a7c8c2e8..78261740a86 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Storage
@@ -132,7 +131,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_DataProtection_IUserDataAvailabilityStateChangedEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::Security::DataProtection::IUserDataAvailabilityStateChangedEventArgs>
{
@@ -141,8 +140,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::DataProtection::IUserDataBufferUnprotectResult>
{
@@ -151,15 +150,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_DataProtection_IUserDataProtectionManager
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::DataProtection::UserDataStorageItemProtectionStatus>) ProtectStorageItemAsync(winrt::Windows::Storage::IStorageItem const& storageItem, winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::DataProtection::UserDataStorageItemProtectionInfo>) GetStorageItemProtectionInfoAsync(winrt::Windows::Storage::IStorageItem const& storageItem) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) ProtectBufferAsync(winrt::Windows::Storage::Streams::IBuffer const& unprotectedBuffer, winrt::Windows::Security::DataProtection::UserDataAvailability const& availability) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::DataProtection::UserDataBufferUnprotectResult>) 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<winrt::Windows::Security::DataProtection::UserDataProtectionManager, winrt::Windows::Security::DataProtection::UserDataAvailabilityStateChangedEventArgs> 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<winrt::Windows::Security::DataProtection::UserDataProtectionManager, winrt::Windows::Security::DataProtection::UserDataAvailabilityStateChangedEventArgs> const& handler) const;
using DataAvailabilityStateChanged_revoker = impl::event_revoker<winrt::Windows::Security::DataProtection::IUserDataProtectionManager, &impl::abi_t<winrt::Windows::Security::DataProtection::IUserDataProtectionManager>::remove_DataAvailabilityStateChanged>;
- [[nodiscard]] DataAvailabilityStateChanged_revoker DataAvailabilityStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Security::DataProtection::UserDataProtectionManager, winrt::Windows::Security::DataProtection::UserDataAvailabilityStateChangedEventArgs> 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<winrt::Windows::Security::DataProtection::UserDataProtectionManager, winrt::Windows::Security::DataProtection::UserDataAvailabilityStateChangedEventArgs> const& handler) const;
+ auto DataAvailabilityStateChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Security::DataProtection::IUserDataProtectionManager>
{
@@ -168,8 +167,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::DataProtection::IUserDataProtectionManagerStatics>
{
@@ -178,7 +177,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_DataProtection_IUserDataStorageItemProtectionInfo
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::DataProtection::UserDataAvailability) Availability() const;
+ [[nodiscard]] auto Availability() const;
};
template <> struct consume<winrt::Windows::Security::DataProtection::IUserDataStorageItemProtectionInfo>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.1.h
index 0f0d3f10493..dc5f9e43f6d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.2.h
index d5c86b9b77f..ab2837617cf 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.DataProtection.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.0.h
index c7a9a9da2ee..dfeeba8dd85 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Networking
{
@@ -537,8 +535,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::EnterpriseData::IBufferProtectUnprotectResult>
{
@@ -547,8 +545,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::EnterpriseData::IDataProtectionInfo>
{
@@ -557,12 +555,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_EnterpriseData_IDataProtectionManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::BufferProtectUnprotectResult>) ProtectAsync(winrt::Windows::Storage::Streams::IBuffer const& data, param::hstring const& identity) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::BufferProtectUnprotectResult>) UnprotectAsync(winrt::Windows::Storage::Streams::IBuffer const& data) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::DataProtectionInfo>) 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<winrt::Windows::Security::EnterpriseData::DataProtectionInfo>) UnprotectStreamAsync(winrt::Windows::Storage::Streams::IInputStream const& protectedStream, winrt::Windows::Storage::Streams::IOutputStream const& unprotectedStream) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::DataProtectionInfo>) GetProtectionInfoAsync(winrt::Windows::Storage::Streams::IBuffer const& protectedData) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::DataProtectionInfo>) 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<winrt::Windows::Security::EnterpriseData::IDataProtectionManagerStatics>
{
@@ -571,9 +569,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::EnterpriseData::IFileProtectionInfo>
{
@@ -582,7 +580,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_EnterpriseData_IFileProtectionInfo2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsProtectWhileOpenSupported() const;
+ [[nodiscard]] auto IsProtectWhileOpenSupported() const;
};
template <> struct consume<winrt::Windows::Security::EnterpriseData::IFileProtectionInfo2>
{
@@ -591,13 +589,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::FileProtectionInfo>) ProtectAsync(winrt::Windows::Storage::IStorageItem const& target, param::hstring const& identity) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) CopyProtectionAsync(winrt::Windows::Storage::IStorageItem const& source, winrt::Windows::Storage::IStorageItem const& target) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::FileProtectionInfo>) GetProtectionInfoAsync(winrt::Windows::Storage::IStorageItem const& source) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectedContainerExportResult>) SaveFileAsContainerAsync(winrt::Windows::Storage::IStorageFile const& protectedFile) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectedContainerImportResult>) LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectedContainerImportResult>) LoadFileFromContainerAsync(winrt::Windows::Storage::IStorageFile const& containerFile, winrt::Windows::Storage::IStorageItem const& target) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectedFileCreateResult>) 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<winrt::Windows::Security::EnterpriseData::IFileProtectionManagerStatics>
{
@@ -606,9 +604,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) IsContainerAsync(winrt::Windows::Storage::IStorageFile const& file) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectedContainerImportResult>) 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<winrt::Windows::Security::EnterpriseData::ProtectedContainerExportResult>) SaveFileAsContainerAsync(winrt::Windows::Storage::IStorageFile const& protectedFile, param::async_iterable<hstring> 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<hstring> const& sharedWithIdentities) const;
};
template <> struct consume<winrt::Windows::Security::EnterpriseData::IFileProtectionManagerStatics2>
{
@@ -617,8 +615,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_EnterpriseData_IFileProtectionManagerStatics3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::FileProtectionInfo>) UnprotectAsync(winrt::Windows::Storage::IStorageItem const& target) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::FileProtectionInfo>) 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<winrt::Windows::Security::EnterpriseData::IFileProtectionManagerStatics3>
{
@@ -627,10 +625,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_EnterpriseData_IFileRevocationManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::FileProtectionStatus>) ProtectAsync(winrt::Windows::Storage::IStorageItem const& storageItem, param::hstring const& enterpriseIdentity) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Security::EnterpriseData::FileProtectionStatus>) 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<winrt::Windows::Security::EnterpriseData::IFileRevocationManagerStatics>
{
@@ -639,8 +637,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::EnterpriseData::IFileUnprotectOptions>
{
@@ -649,7 +647,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::EnterpriseData::IFileUnprotectOptionsFactory>
{
@@ -658,7 +656,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_EnterpriseData_IProtectedAccessResumedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) Identities() const;
+ [[nodiscard]] auto Identities() const;
};
template <> struct consume<winrt::Windows::Security::EnterpriseData::IProtectedAccessResumedEventArgs>
{
@@ -667,9 +665,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_EnterpriseData_IProtectedAccessSuspendingEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) 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<winrt::Windows::Security::EnterpriseData::IProtectedAccessSuspendingEventArgs>
{
@@ -678,8 +676,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::EnterpriseData::IProtectedContainerExportResult>
{
@@ -688,8 +686,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::EnterpriseData::IProtectedContainerImportResult>
{
@@ -698,7 +696,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_EnterpriseData_IProtectedContentRevokedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) Identities() const;
+ [[nodiscard]] auto Identities() const;
};
template <> struct consume<winrt::Windows::Security::EnterpriseData::IProtectedContentRevokedEventArgs>
{
@@ -707,9 +705,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::EnterpriseData::IProtectedFileCreateResult>
{
@@ -718,14 +716,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfo>
{
@@ -734,8 +732,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::EnterpriseData::IProtectionPolicyAuditInfoFactory>
{
@@ -744,8 +742,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManager>
{
@@ -754,8 +752,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManager2>
{
@@ -764,27 +762,27 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::Security::EnterpriseData::ProtectedAccessSuspendingEventArgs> 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<winrt::Windows::Security::EnterpriseData::ProtectedAccessSuspendingEventArgs> const& handler) const;
using ProtectedAccessSuspending_revoker = impl::event_revoker<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics, &impl::abi_t<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics>::remove_ProtectedAccessSuspending>;
- [[nodiscard]] ProtectedAccessSuspending_revoker ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessSuspendingEventArgs> 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<winrt::Windows::Security::EnterpriseData::ProtectedAccessResumedEventArgs> const& handler) const;
+ [[nodiscard]] auto ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessSuspendingEventArgs> const& handler) const;
+ auto ProtectedAccessSuspending(winrt::event_token const& token) const noexcept;
+ auto ProtectedAccessResumed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessResumedEventArgs> const& handler) const;
using ProtectedAccessResumed_revoker = impl::event_revoker<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics, &impl::abi_t<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics>::remove_ProtectedAccessResumed>;
- [[nodiscard]] ProtectedAccessResumed_revoker ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessResumedEventArgs> 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<winrt::Windows::Security::EnterpriseData::ProtectedContentRevokedEventArgs> const& handler) const;
+ [[nodiscard]] auto ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessResumedEventArgs> const& handler) const;
+ auto ProtectedAccessResumed(winrt::event_token const& token) const noexcept;
+ auto ProtectedContentRevoked(winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedContentRevokedEventArgs> const& handler) const;
using ProtectedContentRevoked_revoker = impl::event_revoker<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics, &impl::abi_t<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics>::remove_ProtectedContentRevoked>;
- [[nodiscard]] ProtectedContentRevoked_revoker ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedContentRevokedEventArgs> 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<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity) const;
+ [[nodiscard]] auto ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedContentRevokedEventArgs> 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<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics>
{
@@ -793,17 +791,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) 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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
using PolicyChanged_revoker = impl::event_revoker<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics2, &impl::abi_t<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics2>::remove_PolicyChanged>;
- [[nodiscard]] PolicyChanged_revoker PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PolicyChanged(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto IsProtectionEnabled() const;
};
template <> struct consume<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics2>
{
@@ -812,11 +810,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) RequestAccessAsync(param::hstring const& sourceIdentity, param::hstring const& targetIdentity, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) 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<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) RequestAccessForAppAsync(param::hstring const& sourceIdentity, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) 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<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics3>
{
@@ -825,17 +823,17 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_EnterpriseData_IProtectionPolicyManagerStatics4
{
- WINRT_IMPL_AUTO(bool) IsRoamableProtectionEnabled(param::hstring const& identity) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) 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<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) 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<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) RequestAccessToFilesForAppAsync(param::async_iterable<winrt::Windows::Storage::IStorageItem> const& sourceItemList, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) RequestAccessToFilesForAppAsync(param::async_iterable<winrt::Windows::Storage::IStorageItem> 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<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) RequestAccessToFilesForProcessAsync(param::async_iterable<winrt::Windows::Storage::IStorageItem> const& sourceItemList, uint32_t processId, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::EnterpriseData::ProtectionPolicyEvaluationResult>) RequestAccessToFilesForProcessAsync(param::async_iterable<winrt::Windows::Storage::IStorageItem> 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<bool>) IsFileProtectionRequiredAsync(winrt::Windows::Storage::IStorageItem const& target, param::hstring const& identity) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Storage::IStorageItem> const& sourceItemList, param::hstring const& appPackageFamilyName, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const;
+ auto RequestAccessToFilesForAppAsync(param::async_iterable<winrt::Windows::Storage::IStorageItem> 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<winrt::Windows::Storage::IStorageItem> const& sourceItemList, uint32_t processId, winrt::Windows::Security::EnterpriseData::ProtectionPolicyAuditInfo const& auditInfo) const;
+ auto RequestAccessToFilesForProcessAsync(param::async_iterable<winrt::Windows::Storage::IStorageItem> 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<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics4>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.1.h
index ca924ca14c0..dea289fcc25 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.2.h
index 4ba1bc9226b..65258f460c2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.EnterpriseData.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Security::EnterpriseData::ProtectedAccessSuspendingEventArgs> const& handler);
using ProtectedAccessSuspending_revoker = impl::factory_event_revoker<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics, &impl::abi_t<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics>::remove_ProtectedAccessSuspending>;
- [[nodiscard]] static ProtectedAccessSuspending_revoker ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessSuspendingEventArgs> const& handler);
+ [[nodiscard]] static auto ProtectedAccessSuspending(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessSuspendingEventArgs> const& handler);
static auto ProtectedAccessSuspending(winrt::event_token const& token);
static auto ProtectedAccessResumed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessResumedEventArgs> const& handler);
using ProtectedAccessResumed_revoker = impl::factory_event_revoker<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics, &impl::abi_t<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics>::remove_ProtectedAccessResumed>;
- [[nodiscard]] static ProtectedAccessResumed_revoker ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessResumedEventArgs> const& handler);
+ [[nodiscard]] static auto ProtectedAccessResumed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedAccessResumedEventArgs> const& handler);
static auto ProtectedAccessResumed(winrt::event_token const& token);
static auto ProtectedContentRevoked(winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedContentRevokedEventArgs> const& handler);
using ProtectedContentRevoked_revoker = impl::factory_event_revoker<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics, &impl::abi_t<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics>::remove_ProtectedContentRevoked>;
- [[nodiscard]] static ProtectedContentRevoked_revoker ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedContentRevokedEventArgs> const& handler);
+ [[nodiscard]] static auto ProtectedContentRevoked(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Security::EnterpriseData::ProtectedContentRevokedEventArgs> 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<winrt::Windows::Foundation::IInspectable> const& handler);
using PolicyChanged_revoker = impl::factory_event_revoker<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics2, &impl::abi_t<winrt::Windows::Security::EnterpriseData::IProtectionPolicyManagerStatics2>::remove_PolicyChanged>;
- [[nodiscard]] static PolicyChanged_revoker PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.0.h
index d4aea4d0a54..fb50bc06675 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
}
WINRT_EXPORT namespace winrt::Windows::Security::ExchangeActiveSyncProvisioning
{
@@ -238,12 +237,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientDeviceInformation>
{
@@ -252,8 +251,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientDeviceInformation2>
{
@@ -262,24 +261,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasComplianceResults>) 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<winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasClientSecurityPolicy>
{
@@ -288,15 +287,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults>
{
@@ -305,7 +304,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_ExchangeActiveSyncProvisioning_IEasComplianceResults2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasEncryptionProviderType) EncryptionProviderType() const;
+ [[nodiscard]] auto EncryptionProviderType() const;
};
template <> struct consume<winrt::Windows::Security::ExchangeActiveSyncProvisioning::IEasComplianceResults2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.1.h
index 2d9c7a2447d..80b426a47fe 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.2.h
index 5e1fa550296..19e8391abb6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.ExchangeActiveSyncProvisioning.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.0.h
index 3324940a488..dcad0ec9330 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Security::Isolation
{
@@ -587,17 +584,17 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentStartProcessResult>) StartProcessSilentlyAsync(param::hstring const& hostExePath, param::hstring const& arguments, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentActivator const& activator) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentStartProcessResult>) 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<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderResult>) ShareFolderAsync(param::hstring const& hostFolder, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderRequestOptions const& requestOptions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFolderResult>) 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<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentLaunchFileResult>) LaunchFileWithUIAsync(param::hstring const& appExePath, param::hstring const& argumentsTemplate, param::hstring const& filePath) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentLaunchFileResult>) 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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment>
{
@@ -606,8 +603,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageResult>) PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable<winrt::Windows::Foundation::IInspectable> const& message) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentPostMessageResult>) PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable<winrt::Windows::Foundation::IInspectable> const& message, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const;
+ auto PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable<winrt::Windows::Foundation::IInspectable> const& message) const;
+ auto PostMessageToReceiverAsync(winrt::guid const& receiverId, param::async_iterable<winrt::Windows::Foundation::IInspectable> const& message, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentTelemetryParameters const& telemetryParameters) const;
};
template <> struct consume<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment2>
{
@@ -616,9 +613,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironment3
{
- WINRT_IMPL_AUTO(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentUserInfo) GetUserInfo() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult>) ShareFileAsync(param::hstring const& filePath, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileRequestOptions const& options) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentShareFileResult>) 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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironment3>
{
@@ -627,9 +624,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentCreateResult>
{
@@ -638,10 +635,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateResult, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateProgress>) CreateAsync(winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentOptions const& options) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateResult, winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentCreateProgress>) 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<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironment>) 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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFactory>
{
@@ -650,9 +647,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile>
{
@@ -661,8 +658,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentFile2>
{
@@ -671,8 +668,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentHostStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsReady() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Isolation::IsolatedWindowsEnvironmentHostError>) HostErrors() const;
+ [[nodiscard]] auto IsReady() const;
+ [[nodiscard]] auto HostErrors() const;
};
template <> struct consume<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentHostStatics>
{
@@ -681,9 +678,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentLaunchFileResult>
{
@@ -692,23 +689,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions>
{
@@ -717,8 +714,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOptions2>
{
@@ -727,10 +724,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsEnvironmentOwnerRegistrationData
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) ShareableFolders() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) ProcessesRunnableAsSystem() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) ProcessesRunnableAsUser() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) ActivationFileExtensions() const;
+ [[nodiscard]] auto ShareableFolders() const;
+ [[nodiscard]] auto ProcessesRunnableAsSystem() const;
+ [[nodiscard]] auto ProcessesRunnableAsUser() const;
+ [[nodiscard]] auto ActivationFileExtensions() const;
};
template <> struct consume<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationData>
{
@@ -739,8 +736,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationResult>
{
@@ -749,8 +746,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentOwnerRegistrationStatics>
{
@@ -759,8 +756,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentPostMessageResult>
{
@@ -769,11 +766,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentProcess>
{
@@ -782,8 +779,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileRequestOptions>
{
@@ -792,9 +789,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFileResult>
{
@@ -803,8 +800,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderRequestOptions>
{
@@ -813,8 +810,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentShareFolderResult>
{
@@ -823,9 +820,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentStartProcessResult>
{
@@ -834,8 +831,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentTelemetryParameters>
{
@@ -844,9 +841,9 @@ namespace winrt::impl
template <typename D>
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<bool>) TryWaitForSignInAsync() const;
+ [[nodiscard]] auto EnvironmentUserSid() const;
+ [[nodiscard]] auto EnvironmentUserName() const;
+ auto TryWaitForSignInAsync() const;
};
template <> struct consume<winrt::Windows::Security::Isolation::IIsolatedWindowsEnvironmentUserInfo>
{
@@ -855,8 +852,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Security_Isolation_IIsolatedWindowsHostMessengerStatics
{
- WINRT_IMPL_AUTO(void) PostMessageToReceiver(winrt::guid const& receiverId, param::vector_view<winrt::Windows::Foundation::IInspectable> const& message) const;
- WINRT_IMPL_AUTO(winrt::guid) GetFileId(param::hstring const& filePath) const;
+ auto PostMessageToReceiver(winrt::guid const& receiverId, param::vector_view<winrt::Windows::Foundation::IInspectable> const& message) const;
+ auto GetFileId(param::hstring const& filePath) const;
};
template <> struct consume<winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics>
{
@@ -865,8 +862,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Isolation::IIsolatedWindowsHostMessengerStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.1.h
index 906d57471c9..be4a4f4c1a7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.2.h
index 57d40a4bef0..6667f54a058 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Security.Isolation.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.0.h
index 474a5a1bdad..1ce5c08eb3f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
@@ -167,14 +166,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Cortana_ICortanaActionableInsights
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::Services::Cortana::ICortanaActionableInsights>
{
@@ -183,10 +182,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Cortana::ICortanaActionableInsightsOptions>
{
@@ -195,8 +194,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Cortana::ICortanaActionableInsightsStatics>
{
@@ -205,10 +204,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Cortana_ICortanaPermissionsManager
{
- WINRT_IMPL_AUTO(bool) IsSupported() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) ArePermissionsGrantedAsync(param::async_iterable<winrt::Windows::Services::Cortana::CortanaPermission> const& permissions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Cortana::CortanaPermissionsChangeResult>) GrantPermissionsAsync(param::async_iterable<winrt::Windows::Services::Cortana::CortanaPermission> const& permissions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Cortana::CortanaPermissionsChangeResult>) RevokePermissionsAsync(param::async_iterable<winrt::Windows::Services::Cortana::CortanaPermission> const& permissions) const;
+ auto IsSupported() const;
+ auto ArePermissionsGrantedAsync(param::async_iterable<winrt::Windows::Services::Cortana::CortanaPermission> const& permissions) const;
+ auto GrantPermissionsAsync(param::async_iterable<winrt::Windows::Services::Cortana::CortanaPermission> const& permissions) const;
+ auto RevokePermissionsAsync(param::async_iterable<winrt::Windows::Services::Cortana::CortanaPermission> const& permissions) const;
};
template <> struct consume<winrt::Windows::Services::Cortana::ICortanaPermissionsManager>
{
@@ -217,7 +216,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Cortana_ICortanaPermissionsManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Services::Cortana::CortanaPermissionsManager) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Services::Cortana::ICortanaPermissionsManagerStatics>
{
@@ -226,9 +225,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Cortana::ICortanaSettings>
{
@@ -237,8 +236,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Cortana::ICortanaSettingsStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.1.h
index becbf00bf33..ecf46385118 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.2.h
index 0d83c87e3fa..26d657d8224 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Cortana.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.0.h
index 30250020089..9c7297eccc6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
struct Rect;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::UI::Popups
{
@@ -712,8 +710,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IEnhancedWaypoint>
{
@@ -722,7 +720,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IEnhancedWaypointFactory>
{
@@ -731,8 +729,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IManeuverWarning>
{
@@ -741,21 +739,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IMapAddress>
{
@@ -764,7 +762,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_IMapAddress2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) FormattedAddress() const;
+ [[nodiscard]] auto FormattedAddress() const;
};
template <> struct consume<winrt::Windows::Services::Maps::IMapAddress2>
{
@@ -773,10 +771,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IMapLocation>
{
@@ -785,8 +783,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_IMapLocationFinderResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::MapLocation>) Locations() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::MapLocationFinderStatus) Status() const;
+ [[nodiscard]] auto Locations() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::Services::Maps::IMapLocationFinderResult>
{
@@ -795,9 +793,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_IMapLocationFinderStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapLocationFinderResult>) FindLocationsAtAsync(winrt::Windows::Devices::Geolocation::Geopoint const& queryPoint) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapLocationFinderResult>) FindLocationsAsync(param::hstring const& searchText, winrt::Windows::Devices::Geolocation::Geopoint const& referencePoint) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapLocationFinderResult>) 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<winrt::Windows::Services::Maps::IMapLocationFinderStatics>
{
@@ -806,7 +804,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_IMapLocationFinderStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapLocationFinderResult>) 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<winrt::Windows::Services::Maps::IMapLocationFinderStatics2>
{
@@ -815,8 +813,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IMapManagerStatics>
{
@@ -825,12 +823,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::MapRouteLeg>) 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<winrt::Windows::Services::Maps::IMapRoute>
{
@@ -839,8 +837,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IMapRoute2>
{
@@ -849,8 +847,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IMapRoute3>
{
@@ -859,7 +857,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_IMapRoute4
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsScenic() const;
+ [[nodiscard]] auto IsScenic() const;
};
template <> struct consume<winrt::Windows::Services::Maps::IMapRoute4>
{
@@ -868,14 +866,14 @@ namespace winrt::impl
template <typename D>
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<double>) InitialHeading() const;
- WINRT_IMPL_AUTO(void) InitialHeading(winrt::Windows::Foundation::IReference<double> 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<double> 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<winrt::Windows::Services::Maps::IMapRouteDrivingOptions>
{
@@ -884,8 +882,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_IMapRouteDrivingOptions2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) DepartureTime() const;
- WINRT_IMPL_AUTO(void) DepartureTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
+ [[nodiscard]] auto DepartureTime() const;
+ auto DepartureTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
};
template <> struct consume<winrt::Windows::Services::Maps::IMapRouteDrivingOptions2>
{
@@ -894,8 +892,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IMapRouteFinderResult>
{
@@ -904,7 +902,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_IMapRouteFinderResult2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::MapRoute>) AlternateRoutes() const;
+ [[nodiscard]] auto AlternateRoutes() const;
};
template <> struct consume<winrt::Windows::Services::Maps::IMapRouteFinderResult2>
{
@@ -913,16 +911,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_IMapRouteFinderStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) GetDrivingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) 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<winrt::Windows::Services::Maps::MapRouteFinderResult>) 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<winrt::Windows::Services::Maps::MapRouteFinderResult>) 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<winrt::Windows::Services::Maps::MapRouteFinderResult>) GetDrivingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> const& wayPoints) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) GetDrivingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) GetDrivingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) GetDrivingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> 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<winrt::Windows::Services::Maps::MapRouteFinderResult>) GetWalkingRouteAsync(winrt::Windows::Devices::Geolocation::Geopoint const& startPoint, winrt::Windows::Devices::Geolocation::Geopoint const& endPoint) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) GetWalkingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> 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<winrt::Windows::Devices::Geolocation::Geopoint> const& wayPoints) const;
+ auto GetDrivingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization) const;
+ auto GetDrivingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> const& wayPoints, winrt::Windows::Services::Maps::MapRouteOptimization const& optimization, winrt::Windows::Services::Maps::MapRouteRestrictions const& restrictions) const;
+ auto GetDrivingRouteFromWaypointsAsync(param::async_iterable<winrt::Windows::Devices::Geolocation::Geopoint> 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<winrt::Windows::Devices::Geolocation::Geopoint> const& wayPoints) const;
};
template <> struct consume<winrt::Windows::Services::Maps::IMapRouteFinderStatics>
{
@@ -931,7 +929,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_IMapRouteFinderStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) 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<winrt::Windows::Services::Maps::IMapRouteFinderStatics2>
{
@@ -940,8 +938,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_IMapRouteFinderStatics3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) GetDrivingRouteFromEnhancedWaypointsAsync(param::async_iterable<winrt::Windows::Services::Maps::EnhancedWaypoint> const& waypoints) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::MapRouteFinderResult>) GetDrivingRouteFromEnhancedWaypointsAsync(param::async_iterable<winrt::Windows::Services::Maps::EnhancedWaypoint> const& waypoints, winrt::Windows::Services::Maps::MapRouteDrivingOptions const& options) const;
+ auto GetDrivingRouteFromEnhancedWaypointsAsync(param::async_iterable<winrt::Windows::Services::Maps::EnhancedWaypoint> const& waypoints) const;
+ auto GetDrivingRouteFromEnhancedWaypointsAsync(param::async_iterable<winrt::Windows::Services::Maps::EnhancedWaypoint> const& waypoints, winrt::Windows::Services::Maps::MapRouteDrivingOptions const& options) const;
};
template <> struct consume<winrt::Windows::Services::Maps::IMapRouteFinderStatics3>
{
@@ -950,11 +948,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::MapRouteManeuver>) 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<winrt::Windows::Services::Maps::IMapRouteLeg>
{
@@ -963,8 +961,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IMapRouteLeg2>
{
@@ -973,12 +971,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IMapRouteManeuver>
{
@@ -987,9 +985,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IMapRouteManeuver2>
{
@@ -998,7 +996,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_IMapRouteManeuver3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::ManeuverWarning>) Warnings() const;
+ [[nodiscard]] auto Warnings() const;
};
template <> struct consume<winrt::Windows::Services::Maps::IMapRouteManeuver3>
{
@@ -1007,8 +1005,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IMapServiceStatics>
{
@@ -1017,7 +1015,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_IMapServiceStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) WorldViewRegionCode() const;
+ [[nodiscard]] auto WorldViewRegionCode() const;
};
template <> struct consume<winrt::Windows::Services::Maps::IMapServiceStatics2>
{
@@ -1026,7 +1024,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_IMapServiceStatics3
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DataAttributions() const;
+ [[nodiscard]] auto DataAttributions() const;
};
template <> struct consume<winrt::Windows::Services::Maps::IMapServiceStatics3>
{
@@ -1035,8 +1033,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IMapServiceStatics4>
{
@@ -1045,12 +1043,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IPlaceInfo>
{
@@ -1059,10 +1057,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IPlaceInfoCreateOptions>
{
@@ -1071,12 +1069,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IPlaceInfoStatics>
{
@@ -1085,8 +1083,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::IPlaceInfoStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.1.h
index 014527abc43..8c0e864094b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.2.h
index 8b6d37c5999..052e41bc118 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.0.h
index e9b5d55e207..7ddaa9ddcfc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Services::Maps
{
struct MapRoute;
@@ -462,9 +458,9 @@ namespace winrt::impl
template <typename D>
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<hstring>) AudioFilePaths() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) AudioText() const;
+ [[nodiscard]] auto AudioNotification() const;
+ [[nodiscard]] auto AudioFilePaths() const;
+ [[nodiscard]] auto AudioText() const;
};
template <> struct consume<winrt::Windows::Services::Maps::Guidance::IGuidanceAudioNotificationRequestedEventArgs>
{
@@ -473,8 +469,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::Guidance::IGuidanceLaneInfo>
{
@@ -483,18 +479,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::Guidance::IGuidanceManeuver>
{
@@ -503,11 +499,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::Guidance::IGuidanceMapMatchedCoordinate>
{
@@ -516,48 +512,48 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceUpdatedEventArgs> 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<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceUpdatedEventArgs> const& handler) const;
using GuidanceUpdated_revoker = impl::event_revoker<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator, &impl::abi_t<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator>::remove_GuidanceUpdated>;
- [[nodiscard]] GuidanceUpdated_revoker GuidanceUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceUpdatedEventArgs> 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<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto GuidanceUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceUpdatedEventArgs> const& handler) const;
+ auto GuidanceUpdated(winrt::event_token const& token) const noexcept;
+ auto DestinationReached(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const;
using DestinationReached_revoker = impl::event_revoker<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator, &impl::abi_t<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator>::remove_DestinationReached>;
- [[nodiscard]] DestinationReached_revoker DestinationReached(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto DestinationReached(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto DestinationReached(winrt::event_token const& token) const noexcept;
+ auto Rerouting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Rerouting_revoker = impl::event_revoker<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator, &impl::abi_t<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator>::remove_Rerouting>;
- [[nodiscard]] Rerouting_revoker Rerouting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceReroutedEventArgs> const& handler) const;
+ [[nodiscard]] auto Rerouting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Rerouting(winrt::event_token const& token) const noexcept;
+ auto Rerouted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceReroutedEventArgs> const& handler) const;
using Rerouted_revoker = impl::event_revoker<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator, &impl::abi_t<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator>::remove_Rerouted>;
- [[nodiscard]] Rerouted_revoker Rerouted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceReroutedEventArgs> 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<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Rerouted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceReroutedEventArgs> const& handler) const;
+ auto Rerouted(winrt::event_token const& token) const noexcept;
+ auto RerouteFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const;
using RerouteFailed_revoker = impl::event_revoker<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator, &impl::abi_t<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator>::remove_RerouteFailed>;
- [[nodiscard]] RerouteFailed_revoker RerouteFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto RerouteFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto RerouteFailed(winrt::event_token const& token) const noexcept;
+ auto UserLocationLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const;
using UserLocationLost_revoker = impl::event_revoker<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator, &impl::abi_t<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator>::remove_UserLocationLost>;
- [[nodiscard]] UserLocationLost_revoker UserLocationLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto UserLocationLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto UserLocationLost(winrt::event_token const& token) const noexcept;
+ auto UserLocationRestored(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> const& handler) const;
using UserLocationRestored_revoker = impl::event_revoker<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator, &impl::abi_t<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator>::remove_UserLocationRestored>;
- [[nodiscard]] UserLocationRestored_revoker UserLocationRestored(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator>
{
@@ -566,12 +562,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_Guidance_IGuidanceNavigator2
{
- WINRT_IMPL_AUTO(winrt::event_token) AudioNotificationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotificationRequestedEventArgs> const& value) const;
+ auto AudioNotificationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotificationRequestedEventArgs> const& value) const;
using AudioNotificationRequested_revoker = impl::event_revoker<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator2, &impl::abi_t<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator2>::remove_AudioNotificationRequested>;
- [[nodiscard]] AudioNotificationRequested_revoker AudioNotificationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotificationRequestedEventArgs> 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<winrt::Windows::Services::Maps::Guidance::GuidanceNavigator, winrt::Windows::Services::Maps::Guidance::GuidanceAudioNotificationRequestedEventArgs> const& value) const;
+ auto AudioNotificationRequested(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto IsGuidanceAudioMuted() const;
+ auto IsGuidanceAudioMuted(bool value) const;
};
template <> struct consume<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigator2>
{
@@ -580,7 +576,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_Guidance_IGuidanceNavigatorStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceNavigator) GetCurrent() const;
+ auto GetCurrent() const;
};
template <> struct consume<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigatorStatics>
{
@@ -589,7 +585,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_Guidance_IGuidanceNavigatorStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) UseAppProvidedVoice() const;
+ [[nodiscard]] auto UseAppProvidedVoice() const;
};
template <> struct consume<winrt::Windows::Services::Maps::Guidance::IGuidanceNavigatorStatics2>
{
@@ -598,7 +594,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::Guidance::IGuidanceReroutedEventArgs>
{
@@ -607,15 +603,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSegment>
{
@@ -624,7 +620,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_Guidance_IGuidanceRoadSegment2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsScenic() const;
+ [[nodiscard]] auto IsScenic() const;
};
template <> struct consume<winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSegment2>
{
@@ -633,11 +629,11 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::Services::Maps::Guidance::IGuidanceRoadSignpost>
{
@@ -646,13 +642,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::Guidance::GuidanceManeuver>) 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<winrt::Windows::Services::Maps::Guidance::GuidanceRoadSegment>) 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<winrt::Windows::Services::Maps::Guidance::IGuidanceRoute>
{
@@ -661,8 +657,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::Guidance::IGuidanceRouteStatics>
{
@@ -671,13 +667,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::Guidance::IGuidanceTelemetryCollector>
{
@@ -686,7 +682,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_Guidance_IGuidanceTelemetryCollectorStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Services::Maps::Guidance::GuidanceTelemetryCollector) GetCurrent() const;
+ auto GetCurrent() const;
};
template <> struct consume<winrt::Windows::Services::Maps::Guidance::IGuidanceTelemetryCollectorStatics>
{
@@ -695,20 +691,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::Guidance::GuidanceLaneInfo>) 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<winrt::Windows::Services::Maps::Guidance::IGuidanceUpdatedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.1.h
index f7d7d17676a..5adccf4d5d2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.2.h
index 2d5ba61fadc..83be036c526 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.Guidance.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.0.h
index 930545d171e..f8ef0aa6dc4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Globalization
{
@@ -180,14 +174,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::LocalSearch::ILocalCategoriesStatics>
{
@@ -196,13 +190,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::LocalSearch::ILocalLocation>
{
@@ -211,9 +205,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::LocalSearch::LocalLocationHoursOfOperationItem>) HoursOfOperation() const;
+ [[nodiscard]] auto Category() const;
+ [[nodiscard]] auto RatingInfo() const;
+ [[nodiscard]] auto HoursOfOperation() const;
};
template <> struct consume<winrt::Windows::Services::Maps::LocalSearch::ILocalLocation2>
{
@@ -222,8 +216,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_LocalSearch_ILocalLocationFinderResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::LocalSearch::LocalLocation>) 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<winrt::Windows::Services::Maps::LocalSearch::ILocalLocationFinderResult>
{
@@ -232,7 +226,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_LocalSearch_ILocalLocationFinderStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::LocalSearch::LocalLocationFinderResult>) 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<winrt::Windows::Services::Maps::LocalSearch::ILocalLocationFinderStatics>
{
@@ -241,9 +235,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::LocalSearch::ILocalLocationHoursOfOperationItem>
{
@@ -252,9 +246,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_LocalSearch_ILocalLocationRatingInfo
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) AggregateRating() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<int32_t>) RatingCount() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProviderIdentifier() const;
+ [[nodiscard]] auto AggregateRating() const;
+ [[nodiscard]] auto RatingCount() const;
+ [[nodiscard]] auto ProviderIdentifier() const;
};
template <> struct consume<winrt::Windows::Services::Maps::LocalSearch::ILocalLocationRatingInfo>
{
@@ -263,7 +257,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::LocalSearch::IPlaceInfoHelperStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.1.h
index 70f702a2fa0..620bfd8e214 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.2.h
index 24b65d012ac..85a2b32aa8e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.LocalSearch.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.0.h
index e6ccd375004..b66eb071fd0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
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<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackage, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackage, winrt::Windows::Foundation::IInspectable> const& value) const;
using StatusChanged_revoker = impl::event_revoker<winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackage, &impl::abi_t<winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackage>::remove_StatusChanged>;
- [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackage, winrt::Windows::Foundation::IInspectable> const& value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageStartDownloadResult>) RequestStartDownloadAsync() const;
+ [[nodiscard]] auto StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackage, winrt::Windows::Foundation::IInspectable> const& value) const;
+ auto RequestStartDownloadAsync() const;
};
template <> struct consume<winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackage>
{
@@ -136,8 +131,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackage>) Packages() const;
+ [[nodiscard]] auto Status() const;
+ [[nodiscard]] auto Packages() const;
};
template <> struct consume<winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackageQueryResult>
{
@@ -146,7 +141,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackageStartDownloadResult>
{
@@ -155,9 +150,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Maps_OfflineMaps_IOfflineMapPackageStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageQueryResult>) FindPackagesAsync(winrt::Windows::Devices::Geolocation::Geopoint const& queryPoint) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageQueryResult>) FindPackagesInBoundingBoxAsync(winrt::Windows::Devices::Geolocation::GeoboundingBox const& queryBoundingBox) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Maps::OfflineMaps::OfflineMapPackageQueryResult>) 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<winrt::Windows::Services::Maps::OfflineMaps::IOfflineMapPackageStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.1.h
index 0b8fcd97005..cda4facbad5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.2.h
index 45d564de7b5..5921814b1f6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Maps.OfflineMaps.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.0.h
index da560434622..faa5e56411c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::System
{
@@ -868,8 +863,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStoreAcquireLicenseResult>
{
@@ -878,15 +873,15 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Services::Store::StoreLicense>) 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<winrt::Windows::Services::Store::IStoreAppLicense>
{
@@ -895,7 +890,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Store_IStoreAppLicense2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDiscLicense() const;
+ [[nodiscard]] auto IsDiscLicense() const;
};
template <> struct consume<winrt::Windows::Services::Store::IStoreAppLicense2>
{
@@ -904,12 +899,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::StorePurchaseResult>) RequestPurchaseAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>) 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<winrt::Windows::Services::Store::IStoreAvailability>
{
@@ -918,9 +913,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStoreCanAcquireLicenseResult>
{
@@ -929,14 +924,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStoreCollectionData>
{
@@ -945,10 +940,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStoreConsumableResult>
{
@@ -957,29 +952,29 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::StoreContext, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto User() const;
+ auto OfflineLicensesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreContext, winrt::Windows::Foundation::IInspectable> const& handler) const;
using OfflineLicensesChanged_revoker = impl::event_revoker<winrt::Windows::Services::Store::IStoreContext, &impl::abi_t<winrt::Windows::Services::Store::IStoreContext>::remove_OfflineLicensesChanged>;
- [[nodiscard]] OfflineLicensesChanged_revoker OfflineLicensesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreContext, winrt::Windows::Foundation::IInspectable> const& handler) const;
- WINRT_IMPL_AUTO(void) OfflineLicensesChanged(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetCustomerPurchaseIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetCustomerCollectionsIdAsync(param::hstring const& serviceTicket, param::hstring const& publisherUserId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreAppLicense>) GetAppLicenseAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductResult>) GetStoreProductForCurrentAppAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductQueryResult>) GetStoreProductsAsync(param::async_iterable<hstring> const& productKinds, param::async_iterable<hstring> const& storeIds) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductQueryResult>) GetAssociatedStoreProductsAsync(param::async_iterable<hstring> const& productKinds) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductPagedQueryResult>) GetAssociatedStoreProductsWithPagingAsync(param::async_iterable<hstring> const& productKinds, uint32_t maxItemsToRetrievePerPage) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductQueryResult>) GetUserCollectionAsync(param::async_iterable<hstring> const& productKinds) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductPagedQueryResult>) GetUserCollectionWithPagingAsync(param::async_iterable<hstring> const& productKinds, uint32_t maxItemsToRetrievePerPage) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreConsumableResult>) ReportConsumableFulfillmentAsync(param::hstring const& productStoreId, uint32_t quantity, winrt::guid const& trackingId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreConsumableResult>) GetConsumableBalanceRemainingAsync(param::hstring const& productStoreId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreAcquireLicenseResult>) AcquireStoreLicenseForOptionalPackageAsync(winrt::Windows::ApplicationModel::Package const& optionalPackage) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>) RequestPurchaseAsync(param::hstring const& storeId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>) RequestPurchaseAsync(param::hstring const& storeId, winrt::Windows::Services::Store::StorePurchaseProperties const& storePurchaseProperties) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StorePackageUpdate>>) GetAppAndOptionalStorePackageUpdatesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>) RequestDownloadStorePackageUpdatesAsync(param::async_iterable<winrt::Windows::Services::Store::StorePackageUpdate> const& storePackageUpdates) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>) RequestDownloadAndInstallStorePackageUpdatesAsync(param::async_iterable<winrt::Windows::Services::Store::StorePackageUpdate> const& storePackageUpdates) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>) RequestDownloadAndInstallStorePackagesAsync(param::async_iterable<hstring> const& storeIds) const;
+ [[nodiscard]] auto OfflineLicensesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreContext, winrt::Windows::Foundation::IInspectable> 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<hstring> const& productKinds, param::async_iterable<hstring> const& storeIds) const;
+ auto GetAssociatedStoreProductsAsync(param::async_iterable<hstring> const& productKinds) const;
+ auto GetAssociatedStoreProductsWithPagingAsync(param::async_iterable<hstring> const& productKinds, uint32_t maxItemsToRetrievePerPage) const;
+ auto GetUserCollectionAsync(param::async_iterable<hstring> const& productKinds) const;
+ auto GetUserCollectionWithPagingAsync(param::async_iterable<hstring> 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<winrt::Windows::Services::Store::StorePackageUpdate> const& storePackageUpdates) const;
+ auto RequestDownloadAndInstallStorePackageUpdatesAsync(param::async_iterable<winrt::Windows::Services::Store::StorePackageUpdate> const& storePackageUpdates) const;
+ auto RequestDownloadAndInstallStorePackagesAsync(param::async_iterable<hstring> const& storeIds) const;
};
template <> struct consume<winrt::Windows::Services::Store::IStoreContext>
{
@@ -988,7 +983,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Store_IStoreContext2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductResult>) FindStoreProductForPackageAsync(param::async_iterable<hstring> const& productKinds, winrt::Windows::ApplicationModel::Package const& package) const;
+ auto FindStoreProductForPackageAsync(param::async_iterable<hstring> const& productKinds, winrt::Windows::ApplicationModel::Package const& package) const;
};
template <> struct consume<winrt::Windows::Services::Store::IStoreContext2>
{
@@ -997,20 +992,20 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Store_IStoreContext3
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) CanSilentlyDownloadStorePackageUpdates() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>) TrySilentDownloadStorePackageUpdatesAsync(param::async_iterable<winrt::Windows::Services::Store::StorePackageUpdate> const& storePackageUpdates) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>) TrySilentDownloadAndInstallStorePackageUpdatesAsync(param::async_iterable<winrt::Windows::Services::Store::StorePackageUpdate> const& storePackageUpdates) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreCanAcquireLicenseResult>) CanAcquireStoreLicenseForOptionalPackageAsync(winrt::Windows::ApplicationModel::Package const& optionalPackage) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreCanAcquireLicenseResult>) CanAcquireStoreLicenseAsync(param::hstring const& productStoreId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductQueryResult>) GetStoreProductsAsync(param::async_iterable<hstring> const& productKinds, param::async_iterable<hstring> const& storeIds, winrt::Windows::Services::Store::StoreProductOptions const& storeProductOptions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreQueueItem>>) GetAssociatedStoreQueueItemsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreQueueItem>>) GetStoreQueueItemsAsync(param::async_iterable<hstring> const& storeIds) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>) RequestDownloadAndInstallStorePackagesAsync(param::async_iterable<hstring> const& storeIds, winrt::Windows::Services::Store::StorePackageInstallOptions const& storePackageInstallOptions) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Services::Store::StorePackageUpdateResult, winrt::Windows::Services::Store::StorePackageUpdateStatus>) DownloadAndInstallStorePackagesAsync(param::async_iterable<hstring> const& storeIds) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreUninstallStorePackageResult>) RequestUninstallStorePackageAsync(winrt::Windows::ApplicationModel::Package const& package) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreUninstallStorePackageResult>) RequestUninstallStorePackageByStoreIdAsync(param::hstring const& storeId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreUninstallStorePackageResult>) UninstallStorePackageAsync(winrt::Windows::ApplicationModel::Package const& package) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreUninstallStorePackageResult>) UninstallStorePackageByStoreIdAsync(param::hstring const& storeId) const;
+ [[nodiscard]] auto CanSilentlyDownloadStorePackageUpdates() const;
+ auto TrySilentDownloadStorePackageUpdatesAsync(param::async_iterable<winrt::Windows::Services::Store::StorePackageUpdate> const& storePackageUpdates) const;
+ auto TrySilentDownloadAndInstallStorePackageUpdatesAsync(param::async_iterable<winrt::Windows::Services::Store::StorePackageUpdate> const& storePackageUpdates) const;
+ auto CanAcquireStoreLicenseForOptionalPackageAsync(winrt::Windows::ApplicationModel::Package const& optionalPackage) const;
+ auto CanAcquireStoreLicenseAsync(param::hstring const& productStoreId) const;
+ auto GetStoreProductsAsync(param::async_iterable<hstring> const& productKinds, param::async_iterable<hstring> const& storeIds, winrt::Windows::Services::Store::StoreProductOptions const& storeProductOptions) const;
+ auto GetAssociatedStoreQueueItemsAsync() const;
+ auto GetStoreQueueItemsAsync(param::async_iterable<hstring> const& storeIds) const;
+ auto RequestDownloadAndInstallStorePackagesAsync(param::async_iterable<hstring> const& storeIds, winrt::Windows::Services::Store::StorePackageInstallOptions const& storePackageInstallOptions) const;
+ auto DownloadAndInstallStorePackagesAsync(param::async_iterable<hstring> 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<winrt::Windows::Services::Store::IStoreContext3>
{
@@ -1019,8 +1014,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Store_IStoreContext4
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreRateAndReviewResult>) RequestRateAndReviewAppAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreQueueItem>>) SetInstallOrderForAssociatedStoreQueueItemsAsync(param::async_iterable<winrt::Windows::Services::Store::StoreQueueItem> const& items) const;
+ auto RequestRateAndReviewAppAsync() const;
+ auto SetInstallOrderForAssociatedStoreQueueItemsAsync(param::async_iterable<winrt::Windows::Services::Store::StoreQueueItem> const& items) const;
};
template <> struct consume<winrt::Windows::Services::Store::IStoreContext4>
{
@@ -1029,8 +1024,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStoreContextStatics>
{
@@ -1039,11 +1034,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStoreImage>
{
@@ -1052,11 +1047,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStoreLicense>
{
@@ -1065,8 +1060,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStorePackageInstallOptions>
{
@@ -1075,13 +1070,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Store_IStorePackageLicense
{
- WINRT_IMPL_AUTO(winrt::event_token) LicenseLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StorePackageLicense, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto LicenseLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StorePackageLicense, winrt::Windows::Foundation::IInspectable> const& handler) const;
using LicenseLost_revoker = impl::event_revoker<winrt::Windows::Services::Store::IStorePackageLicense, &impl::abi_t<winrt::Windows::Services::Store::IStorePackageLicense>::remove_LicenseLost>;
- [[nodiscard]] LicenseLost_revoker LicenseLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StorePackageLicense, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Services::Store::StorePackageLicense, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Services::Store::IStorePackageLicense>
{
@@ -1090,8 +1085,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStorePackageUpdate>
{
@@ -1100,8 +1095,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::StorePackageUpdateStatus>) StorePackageUpdateStatuses() const;
+ [[nodiscard]] auto OverallState() const;
+ [[nodiscard]] auto StorePackageUpdateStatuses() const;
};
template <> struct consume<winrt::Windows::Services::Store::IStorePackageUpdateResult>
{
@@ -1110,7 +1105,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Store_IStorePackageUpdateResult2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreQueueItem>) StoreQueueItems() const;
+ [[nodiscard]] auto StoreQueueItems() const;
};
template <> struct consume<winrt::Windows::Services::Store::IStorePackageUpdateResult2>
{
@@ -1119,12 +1114,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStorePrice>
{
@@ -1133,24 +1128,24 @@ namespace winrt::impl
template <typename D>
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<hstring>) Keywords() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreImage>) Images() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreVideo>) Videos() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreSku>) 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<bool>) GetIsAnySkuInstalledAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>) RequestPurchaseAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>) 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<winrt::Windows::Services::Store::IStoreProduct>
{
@@ -1159,7 +1154,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Store_IStoreProductOptions
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) ActionFilters() const;
+ [[nodiscard]] auto ActionFilters() const;
};
template <> struct consume<winrt::Windows::Services::Store::IStoreProductOptions>
{
@@ -1168,10 +1163,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Store_IStoreProductPagedQueryResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Services::Store::StoreProduct>) Products() const;
- [[nodiscard]] WINRT_IMPL_AUTO(bool) HasMoreResults() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreProductPagedQueryResult>) GetNextAsync() const;
+ [[nodiscard]] auto Products() const;
+ [[nodiscard]] auto HasMoreResults() const;
+ [[nodiscard]] auto ExtendedError() const;
+ auto GetNextAsync() const;
};
template <> struct consume<winrt::Windows::Services::Store::IStoreProductPagedQueryResult>
{
@@ -1180,8 +1175,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Store_IStoreProductQueryResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Services::Store::StoreProduct>) Products() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto Products() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::Services::Store::IStoreProductQueryResult>
{
@@ -1190,8 +1185,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStoreProductResult>
{
@@ -1200,10 +1195,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStorePurchaseProperties>
{
@@ -1212,7 +1207,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStorePurchasePropertiesFactory>
{
@@ -1221,8 +1216,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStorePurchaseResult>
{
@@ -1231,18 +1226,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::StoreQueueItem, winrt::Windows::Services::Store::StoreQueueItemCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto ProductId() const;
+ [[nodiscard]] auto PackageFamilyName() const;
+ [[nodiscard]] auto InstallKind() const;
+ auto GetCurrentStatus() const;
+ auto Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreQueueItem, winrt::Windows::Services::Store::StoreQueueItemCompletedEventArgs> const& handler) const;
using Completed_revoker = impl::event_revoker<winrt::Windows::Services::Store::IStoreQueueItem, &impl::abi_t<winrt::Windows::Services::Store::IStoreQueueItem>::remove_Completed>;
- [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreQueueItem, winrt::Windows::Services::Store::StoreQueueItemCompletedEventArgs> 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<winrt::Windows::Services::Store::StoreQueueItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreQueueItem, winrt::Windows::Services::Store::StoreQueueItemCompletedEventArgs> const& handler) const;
+ auto Completed(winrt::event_token const& token) const noexcept;
+ auto StatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreQueueItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
using StatusChanged_revoker = impl::event_revoker<winrt::Windows::Services::Store::IStoreQueueItem, &impl::abi_t<winrt::Windows::Services::Store::IStoreQueueItem>::remove_StatusChanged>;
- [[nodiscard]] StatusChanged_revoker StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::Store::StoreQueueItem, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Services::Store::StoreQueueItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto StatusChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Services::Store::IStoreQueueItem>
{
@@ -1251,9 +1246,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStoreQueueItem2>
{
@@ -1262,7 +1257,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Store_IStoreQueueItemCompletedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreQueueItemStatus) Status() const;
+ [[nodiscard]] auto Status() const;
};
template <> struct consume<winrt::Windows::Services::Store::IStoreQueueItemCompletedEventArgs>
{
@@ -1271,10 +1266,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStoreQueueItemStatus>
{
@@ -1283,10 +1278,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStoreRateAndReviewResult>
{
@@ -1295,7 +1290,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Store_IStoreRequestHelperStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StoreSendRequestResult>) 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<winrt::Windows::Services::Store::IStoreRequestHelperStatics>
{
@@ -1304,8 +1299,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStoreSendRequestResult>
{
@@ -1314,7 +1309,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_Store_IStoreSendRequestResult2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpStatusCode) HttpStatusCode() const;
+ [[nodiscard]] auto HttpStatusCode() const;
};
template <> struct consume<winrt::Windows::Services::Store::IStoreSendRequestResult2>
{
@@ -1323,25 +1318,25 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::StoreImage>) Images() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreVideo>) Videos() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Store::StoreAvailability>) 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<hstring>) BundledSkus() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Services::Store::StoreCollectionData) CollectionData() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) GetIsInstalledAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>) RequestPurchaseAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::Store::StorePurchaseResult>) 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<winrt::Windows::Services::Store::IStoreSku>
{
@@ -1350,11 +1345,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStoreSubscriptionInfo>
{
@@ -1363,8 +1358,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStoreUninstallStorePackageResult>
{
@@ -1373,12 +1368,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::Store::IStoreVideo>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.1.h
index 9a945e0fa2c..162c70c2130 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.2.h
index 497076dbb4c..f1451cc48ea 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.Store.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.0.h
index 6dcd912dc5d..d9e0d40f302 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IRandomAccessStreamReference;
@@ -362,7 +354,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_TargetedContent_ITargetedContentAction
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) InvokeAsync() const;
+ auto InvokeAsync() const;
};
template <> struct consume<winrt::Windows::Services::TargetedContent::ITargetedContentAction>
{
@@ -371,7 +363,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_TargetedContent_ITargetedContentAvailabilityChangedEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::Services::TargetedContent::ITargetedContentAvailabilityChangedEventArgs>
{
@@ -380,8 +372,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::TargetedContent::ITargetedContentChangedEventArgs>
{
@@ -390,13 +382,13 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Services::TargetedContent::TargetedContentValue>) Properties() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::TargetedContent::TargetedContentCollection>) Collections() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::TargetedContent::TargetedContentItem>) 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<winrt::Windows::Services::TargetedContent::ITargetedContentCollection>
{
@@ -405,11 +397,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::TargetedContent::ITargetedContentContainer>
{
@@ -418,7 +410,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_TargetedContent_ITargetedContentContainerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::TargetedContent::TargetedContentContainer>) GetAsync(param::hstring const& contentId) const;
+ auto GetAsync(param::hstring const& contentId) const;
};
template <> struct consume<winrt::Windows::Services::TargetedContent::ITargetedContentContainerStatics>
{
@@ -427,8 +419,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::TargetedContent::ITargetedContentImage>
{
@@ -437,12 +429,12 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Services::TargetedContent::TargetedContentValue>) Properties() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::TargetedContent::TargetedContentCollection>) 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<winrt::Windows::Services::TargetedContent::ITargetedContentItem>
{
@@ -451,8 +443,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::TargetedContent::ITargetedContentItemState>
{
@@ -461,10 +453,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Services::TargetedContent::ITargetedContentObject>
{
@@ -473,7 +465,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_TargetedContent_ITargetedContentStateChangedEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::Services::TargetedContent::ITargetedContentStateChangedEventArgs>
{
@@ -482,20 +474,20 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_TargetedContent_ITargetedContentSubscription
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::TargetedContent::TargetedContentContainer>) GetContentContainerAsync() const;
- WINRT_IMPL_AUTO(winrt::event_token) ContentChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto Id() const;
+ auto GetContentContainerAsync() const;
+ auto ContentChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentChangedEventArgs> const& handler) const;
using ContentChanged_revoker = impl::event_revoker<winrt::Windows::Services::TargetedContent::ITargetedContentSubscription, &impl::abi_t<winrt::Windows::Services::TargetedContent::ITargetedContentSubscription>::remove_ContentChanged>;
- [[nodiscard]] ContentChanged_revoker ContentChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentChangedEventArgs> 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<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentAvailabilityChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto ContentChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentChangedEventArgs> const& handler) const;
+ auto ContentChanged(winrt::event_token const& cookie) const noexcept;
+ auto AvailabilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentAvailabilityChangedEventArgs> const& handler) const;
using AvailabilityChanged_revoker = impl::event_revoker<winrt::Windows::Services::TargetedContent::ITargetedContentSubscription, &impl::abi_t<winrt::Windows::Services::TargetedContent::ITargetedContentSubscription>::remove_AvailabilityChanged>;
- [[nodiscard]] AvailabilityChanged_revoker AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentAvailabilityChangedEventArgs> 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<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentStateChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto AvailabilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentAvailabilityChangedEventArgs> const& handler) const;
+ auto AvailabilityChanged(winrt::event_token const& cookie) const noexcept;
+ auto StateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentStateChangedEventArgs> const& handler) const;
using StateChanged_revoker = impl::event_revoker<winrt::Windows::Services::TargetedContent::ITargetedContentSubscription, &impl::abi_t<winrt::Windows::Services::TargetedContent::ITargetedContentSubscription>::remove_StateChanged>;
- [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentStateChangedEventArgs> 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<winrt::Windows::Services::TargetedContent::TargetedContentSubscription, winrt::Windows::Services::TargetedContent::TargetedContentStateChangedEventArgs> const& handler) const;
+ auto StateChanged(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::Services::TargetedContent::ITargetedContentSubscription>
{
@@ -504,12 +496,12 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring>) CloudQueryParameters() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) 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<winrt::Windows::Services::TargetedContent::ITargetedContentSubscriptionOptions>
{
@@ -518,8 +510,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Services_TargetedContent_ITargetedContentSubscriptionStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Services::TargetedContent::TargetedContentSubscription>) 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<winrt::Windows::Services::TargetedContent::ITargetedContentSubscriptionStatics>
{
@@ -528,22 +520,22 @@ namespace winrt::impl
template <typename D>
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<hstring>) Strings() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Uri>) Uris() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<double>) Numbers() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<bool>) Booleans() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::TargetedContent::TargetedContentFile>) Files() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::TargetedContent::TargetedContentImage>) ImageFiles() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::TargetedContent::TargetedContentAction>) 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<winrt::Windows::Services::TargetedContent::ITargetedContentValue>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.1.h
index 6103d37f80e..f7c4ace9449 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.2.h
index 44721a24d97..53cbc77e5d2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Services.TargetedContent.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.0.h
index 23981d81bdc..061e0839e48 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IObservableVector;
struct IPropertySet;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<winrt::Windows::Storage::IAppDataPaths>
{
@@ -1285,8 +1274,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::IAppDataPathsStatics>
{
@@ -1295,21 +1284,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::ApplicationData, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Storage::ApplicationData, winrt::Windows::Foundation::IInspectable> const& handler) const;
using DataChanged_revoker = impl::event_revoker<winrt::Windows::Storage::IApplicationData, &impl::abi_t<winrt::Windows::Storage::IApplicationData>::remove_DataChanged>;
- [[nodiscard]] DataChanged_revoker DataChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::ApplicationData, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Storage::ApplicationData, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto DataChanged(winrt::event_token const& token) const noexcept;
+ auto SignalDataChanged() const;
+ [[nodiscard]] auto RoamingStorageQuota() const;
};
template <> struct consume<winrt::Windows::Storage::IApplicationData>
{
@@ -1318,7 +1307,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IApplicationData2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) LocalCacheFolder() const;
+ [[nodiscard]] auto LocalCacheFolder() const;
};
template <> struct consume<winrt::Windows::Storage::IApplicationData2>
{
@@ -1327,9 +1316,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::IApplicationData3>
{
@@ -1338,12 +1327,12 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Storage::ApplicationDataContainer>) 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<winrt::Windows::Storage::IApplicationDataContainer>
{
@@ -1352,7 +1341,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IApplicationDataStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::ApplicationData) Current() const;
+ [[nodiscard]] auto Current() const;
};
template <> struct consume<winrt::Windows::Storage::IApplicationDataStatics>
{
@@ -1361,7 +1350,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IApplicationDataStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::ApplicationData>) GetForUserAsync(winrt::Windows::System::User const& user) const;
+ auto GetForUserAsync(winrt::Windows::System::User const& user) const;
};
template <> struct consume<winrt::Windows::Storage::IApplicationDataStatics2>
{
@@ -1370,8 +1359,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_ICachedFileManagerStatics
{
- WINRT_IMPL_AUTO(void) DeferUpdates(winrt::Windows::Storage::IStorageFile const& file) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Provider::FileUpdateStatus>) 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<winrt::Windows::Storage::ICachedFileManagerStatics>
{
@@ -1380,10 +1369,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IDownloadsFolderStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) CreateFileAsync(param::hstring const& desiredName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) CreateFolderAsync(param::hstring const& desiredName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) CreateFileAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& option) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) 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<winrt::Windows::Storage::IDownloadsFolderStatics>
{
@@ -1392,10 +1381,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IDownloadsFolderStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) CreateFileForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) CreateFolderForUserAsync(winrt::Windows::System::User const& user, param::hstring const& desiredName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) 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<winrt::Windows::Storage::StorageFolder>) 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<winrt::Windows::Storage::IDownloadsFolderStatics2>
{
@@ -1404,21 +1393,21 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IFileIOStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) ReadTextAsync(winrt::Windows::Storage::IStorageFile const& file) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) 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<winrt::Windows::Foundation::Collections::IVector<hstring>>) ReadLinesAsync(winrt::Windows::Storage::IStorageFile const& file) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<hstring>>) 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<hstring> const& lines) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) WriteLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable<hstring> 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<hstring> const& lines) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AppendLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable<hstring> const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) 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<uint8_t const> 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<hstring> const& lines) const;
+ auto WriteLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable<hstring> const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const;
+ auto AppendLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable<hstring> const& lines) const;
+ auto AppendLinesAsync(winrt::Windows::Storage::IStorageFile const& file, param::async_iterable<hstring> 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<uint8_t const> buffer) const;
};
template <> struct consume<winrt::Windows::Storage::IFileIOStatics>
{
@@ -1427,7 +1416,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IKnownFoldersCameraRollStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) CameraRoll() const;
+ [[nodiscard]] auto CameraRoll() const;
};
template <> struct consume<winrt::Windows::Storage::IKnownFoldersCameraRollStatics>
{
@@ -1436,7 +1425,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IKnownFoldersPlaylistsStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) Playlists() const;
+ [[nodiscard]] auto Playlists() const;
};
template <> struct consume<winrt::Windows::Storage::IKnownFoldersPlaylistsStatics>
{
@@ -1445,7 +1434,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IKnownFoldersSavedPicturesStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) SavedPictures() const;
+ [[nodiscard]] auto SavedPictures() const;
};
template <> struct consume<winrt::Windows::Storage::IKnownFoldersSavedPicturesStatics>
{
@@ -1454,13 +1443,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::IKnownFoldersStatics>
{
@@ -1469,9 +1458,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::IKnownFoldersStatics2>
{
@@ -1480,7 +1469,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IKnownFoldersStatics3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) 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<winrt::Windows::Storage::IKnownFoldersStatics3>
{
@@ -1489,9 +1478,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IKnownFoldersStatics4
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::KnownFoldersAccessStatus>) RequestAccessAsync(winrt::Windows::Storage::KnownFolderId const& folderId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::KnownFoldersAccessStatus>) RequestAccessForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Storage::KnownFolderId const& folderId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) 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<winrt::Windows::Storage::IKnownFoldersStatics4>
{
@@ -1500,21 +1489,21 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IPathIOStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) ReadTextAsync(param::hstring const& absolutePath) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) 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<winrt::Windows::Foundation::Collections::IVector<hstring>>) ReadLinesAsync(param::hstring const& absolutePath) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<hstring>>) 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<hstring> const& lines) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) WriteLinesAsync(param::hstring const& absolutePath, param::async_iterable<hstring> 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<hstring> const& lines) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AppendLinesAsync(param::hstring const& absolutePath, param::async_iterable<hstring> const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IBuffer>) 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<uint8_t const> 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<hstring> const& lines) const;
+ auto WriteLinesAsync(param::hstring const& absolutePath, param::async_iterable<hstring> const& lines, winrt::Windows::Storage::Streams::UnicodeEncoding const& encoding) const;
+ auto AppendLinesAsync(param::hstring const& absolutePath, param::async_iterable<hstring> const& lines) const;
+ auto AppendLinesAsync(param::hstring const& absolutePath, param::async_iterable<hstring> 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<uint8_t const> buffer) const;
};
template <> struct consume<winrt::Windows::Storage::IPathIOStatics>
{
@@ -1523,7 +1512,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_ISetVersionDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::Storage::ISetVersionDeferral>
{
@@ -1532,9 +1521,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::ISetVersionRequest>
{
@@ -1543,18 +1532,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Streams::IRandomAccessStream>) OpenAsync(winrt::Windows::Storage::FileAccessMode const& accessMode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageStreamTransaction>) OpenTransactedWriteAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) CopyAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) CopyAsync(winrt::Windows::Storage::IStorageFolder const& destinationFolder, param::hstring const& desiredNewName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) 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<winrt::Windows::Storage::IStorageFile>
{
@@ -1563,8 +1552,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageFile2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) OpenAsync(winrt::Windows::Storage::FileAccessMode const& accessMode, winrt::Windows::Storage::StorageOpenOptions const& options) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageStreamTransaction>) 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<winrt::Windows::Storage::IStorageFile2>
{
@@ -1573,7 +1562,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageFilePropertiesWithAvailability
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAvailable() const;
+ [[nodiscard]] auto IsAvailable() const;
};
template <> struct consume<winrt::Windows::Storage::IStorageFilePropertiesWithAvailability>
{
@@ -1582,12 +1571,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageFileStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) GetFileFromPathAsync(param::hstring const& path) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) GetFileFromApplicationUriAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) 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<winrt::Windows::Storage::StorageFile>) 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<winrt::Windows::Storage::StorageFile>) 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<winrt::Windows::Storage::StorageFile>) 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<winrt::Windows::Storage::IStorageFileStatics>
{
@@ -1596,7 +1585,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageFileStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) 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<winrt::Windows::Storage::IStorageFileStatics2>
{
@@ -1605,16 +1594,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageFolder
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) CreateFileAsync(param::hstring const& desiredName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) CreateFileAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& options) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) CreateFolderAsync(param::hstring const& desiredName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) CreateFolderAsync(param::hstring const& desiredName, winrt::Windows::Storage::CreationCollisionOption const& options) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) GetFileAsync(param::hstring const& name) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) GetFolderAsync(param::hstring const& name) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::IStorageItem>) GetItemAsync(param::hstring const& name) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>) GetFilesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFolder>>) GetFoldersAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>>) 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<winrt::Windows::Storage::IStorageFolder>
{
@@ -1623,7 +1612,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageFolder2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::IStorageItem>) TryGetItemAsync(param::hstring const& name) const;
+ auto TryGetItemAsync(param::hstring const& name) const;
};
template <> struct consume<winrt::Windows::Storage::IStorageFolder2>
{
@@ -1632,7 +1621,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageFolder3
{
- WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeTracker) TryGetChangeTracker() const;
+ auto TryGetChangeTracker() const;
};
template <> struct consume<winrt::Windows::Storage::IStorageFolder3>
{
@@ -1641,7 +1630,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageFolderStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) GetFolderFromPathAsync(param::hstring const& path) const;
+ auto GetFolderFromPathAsync(param::hstring const& path) const;
};
template <> struct consume<winrt::Windows::Storage::IStorageFolderStatics>
{
@@ -1650,7 +1639,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageFolderStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) 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<winrt::Windows::Storage::IStorageFolderStatics2>
{
@@ -1659,16 +1648,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::FileProperties::BasicProperties>) 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<winrt::Windows::Storage::IStorageItem>
{
@@ -1677,8 +1666,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageItem2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) 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<winrt::Windows::Storage::IStorageItem2>
{
@@ -1687,13 +1676,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageItemProperties
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>) GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>) GetThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>) 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<winrt::Windows::Storage::IStorageItemProperties>
{
@@ -1702,9 +1691,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageItemProperties2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>) GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>) GetScaledImageAsThumbnailAsync(winrt::Windows::Storage::FileProperties::ThumbnailMode const& mode, uint32_t requestedSize) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::StorageItemThumbnail>) 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<winrt::Windows::Storage::IStorageItemProperties2>
{
@@ -1713,7 +1702,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageItemPropertiesWithProvider
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageProvider) Provider() const;
+ [[nodiscard]] auto Provider() const;
};
template <> struct consume<winrt::Windows::Storage::IStorageItemPropertiesWithProvider>
{
@@ -1722,14 +1711,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageLibrary
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) RequestAddFolderAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestRemoveFolderAsync(winrt::Windows::Storage::StorageFolder const& folder) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Storage::StorageFolder>) Folders() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) SaveFolder() const;
- WINRT_IMPL_AUTO(winrt::event_token) DefinitionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::StorageLibrary, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Storage::StorageLibrary, winrt::Windows::Foundation::IInspectable> const& handler) const;
using DefinitionChanged_revoker = impl::event_revoker<winrt::Windows::Storage::IStorageLibrary, &impl::abi_t<winrt::Windows::Storage::IStorageLibrary>::remove_DefinitionChanged>;
- [[nodiscard]] DefinitionChanged_revoker DefinitionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::StorageLibrary, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Storage::StorageLibrary, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto DefinitionChanged(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Storage::IStorageLibrary>
{
@@ -1738,7 +1727,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageLibrary2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageLibraryChangeTracker) ChangeTracker() const;
+ [[nodiscard]] auto ChangeTracker() const;
};
template <> struct consume<winrt::Windows::Storage::IStorageLibrary2>
{
@@ -1747,7 +1736,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageLibrary3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) AreFolderSuggestionsAvailableAsync() const;
+ auto AreFolderSuggestionsAvailableAsync() const;
};
template <> struct consume<winrt::Windows::Storage::IStorageLibrary3>
{
@@ -1756,11 +1745,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::IStorageItem>) 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<winrt::Windows::Storage::IStorageLibraryChange>
{
@@ -1769,8 +1758,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageLibraryChangeReader
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageLibraryChange>>) ReadBatchAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) AcceptChangesAsync() const;
+ auto ReadBatchAsync() const;
+ auto AcceptChangesAsync() const;
};
template <> struct consume<winrt::Windows::Storage::IStorageLibraryChangeReader>
{
@@ -1779,7 +1768,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageLibraryChangeReader2
{
- WINRT_IMPL_AUTO(uint64_t) GetLastChangeId() const;
+ auto GetLastChangeId() const;
};
template <> struct consume<winrt::Windows::Storage::IStorageLibraryChangeReader2>
{
@@ -1788,9 +1777,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::IStorageLibraryChangeTracker>
{
@@ -1799,8 +1788,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::IStorageLibraryChangeTracker2>
{
@@ -1809,8 +1798,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::IStorageLibraryChangeTrackerOptions>
{
@@ -1827,7 +1816,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageLibraryLastChangeIdStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) Unknown() const;
+ [[nodiscard]] auto Unknown() const;
};
template <> struct consume<winrt::Windows::Storage::IStorageLibraryLastChangeIdStatics>
{
@@ -1836,7 +1825,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageLibraryStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageLibrary>) GetLibraryAsync(winrt::Windows::Storage::KnownLibraryId const& libraryId) const;
+ auto GetLibraryAsync(winrt::Windows::Storage::KnownLibraryId const& libraryId) const;
};
template <> struct consume<winrt::Windows::Storage::IStorageLibraryStatics>
{
@@ -1845,7 +1834,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageLibraryStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageLibrary>) 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<winrt::Windows::Storage::IStorageLibraryStatics2>
{
@@ -1854,8 +1843,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::IStorageProvider>
{
@@ -1864,7 +1853,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_IStorageProvider2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) IsPropertySupportedForPartialFileAsync(param::hstring const& propertyCanonicalName) const;
+ auto IsPropertySupportedForPartialFileAsync(param::hstring const& propertyCanonicalName) const;
};
template <> struct consume<winrt::Windows::Storage::IStorageProvider2>
{
@@ -1873,8 +1862,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::IStorageStreamTransaction>
{
@@ -1883,7 +1872,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::IStreamedFileDataRequest>
{
@@ -1892,7 +1881,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_ISystemAudioProperties
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) EncodingBitrate() const;
+ [[nodiscard]] auto EncodingBitrate() const;
};
template <> struct consume<winrt::Windows::Storage::ISystemAudioProperties>
{
@@ -1901,22 +1890,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::ISystemDataPaths>
{
@@ -1925,7 +1914,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_ISystemDataPathsStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Storage::SystemDataPaths) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::Storage::ISystemDataPathsStatics>
{
@@ -1934,8 +1923,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::ISystemGPSProperties>
{
@@ -1944,8 +1933,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::ISystemImageProperties>
{
@@ -1954,12 +1943,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::ISystemMediaProperties>
{
@@ -1968,14 +1957,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::ISystemMusicProperties>
{
@@ -1984,11 +1973,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::ISystemPhotoProperties>
{
@@ -1997,19 +1986,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::ISystemProperties>
{
@@ -2018,11 +2007,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::ISystemVideoProperties>
{
@@ -2031,25 +2020,25 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::IUserDataPaths>
{
@@ -2058,8 +2047,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::IUserDataPathsStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.1.h
index 9c012a93918..d12e3cefb12 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.2.h
index d441002c457..1165247771b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.0.h
index e5e12156471..c7f0f5596d6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> 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 <typename D>
struct consume_Windows_Storage_AccessCache_IItemRemovedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::AccessCache::AccessListEntry) RemovedEntry() const;
+ [[nodiscard]] auto RemovedEntry() const;
};
template <> struct consume<winrt::Windows::Storage::AccessCache::IItemRemovedEventArgs>
{
@@ -164,8 +161,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::AccessCache::IStorageApplicationPermissionsStatics>
{
@@ -174,8 +171,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::AccessCache::IStorageApplicationPermissionsStatics2>
{
@@ -184,22 +181,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::IStorageItem>) GetItemAsync(param::hstring const& token) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) GetFileAsync(param::hstring const& token) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) GetFolderAsync(param::hstring const& token) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::IStorageItem>) GetItemAsync(param::hstring const& token, winrt::Windows::Storage::AccessCache::AccessCacheOptions const& options) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) GetFileAsync(param::hstring const& token, winrt::Windows::Storage::AccessCache::AccessCacheOptions const& options) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) 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<winrt::Windows::Storage::AccessCache::IStorageItemAccessList>
{
@@ -208,10 +205,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_AccessCache_IStorageItemMostRecentlyUsedList
{
- WINRT_IMPL_AUTO(winrt::event_token) ItemRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::AccessCache::StorageItemMostRecentlyUsedList, winrt::Windows::Storage::AccessCache::ItemRemovedEventArgs> const& handler) const;
+ auto ItemRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::AccessCache::StorageItemMostRecentlyUsedList, winrt::Windows::Storage::AccessCache::ItemRemovedEventArgs> const& handler) const;
using ItemRemoved_revoker = impl::event_revoker<winrt::Windows::Storage::AccessCache::IStorageItemMostRecentlyUsedList, &impl::abi_t<winrt::Windows::Storage::AccessCache::IStorageItemMostRecentlyUsedList>::remove_ItemRemoved>;
- [[nodiscard]] ItemRemoved_revoker ItemRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::AccessCache::StorageItemMostRecentlyUsedList, winrt::Windows::Storage::AccessCache::ItemRemovedEventArgs> 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<winrt::Windows::Storage::AccessCache::StorageItemMostRecentlyUsedList, winrt::Windows::Storage::AccessCache::ItemRemovedEventArgs> const& handler) const;
+ auto ItemRemoved(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Storage::AccessCache::IStorageItemMostRecentlyUsedList>
{
@@ -220,8 +217,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::AccessCache::IStorageItemMostRecentlyUsedList2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.1.h
index e4c1ae11169..702b0e684cc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.2.h
index 4e049f6dfae..b6611f5199f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.AccessCache.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.0.h
index a863d28b142..8b63bbdc932 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::FileProperties
{
struct BasicProperties;
@@ -101,15 +96,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_BulkAccess_IFileInformationFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::IStorageItemInformation>>) GetItemsAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::IStorageItemInformation>>) GetItemsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::FileInformation>>) GetFilesAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::FileInformation>>) GetFilesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::FolderInformation>>) GetFoldersAsync(uint32_t startIndex, uint32_t maxItemsToRetrieve) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::BulkAccess::FolderInformation>>) 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<winrt::Windows::Storage::BulkAccess::IFileInformationFactory>
{
@@ -118,10 +113,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::BulkAccess::IFileInformationFactoryFactory>
{
@@ -130,20 +125,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, winrt::Windows::Foundation::IInspectable> const& changedHandler) const;
using ThumbnailUpdated_revoker = impl::event_revoker<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, &impl::abi_t<winrt::Windows::Storage::BulkAccess::IStorageItemInformation>::remove_ThumbnailUpdated>;
- [[nodiscard]] ThumbnailUpdated_revoker ThumbnailUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, winrt::Windows::Foundation::IInspectable> const& changedHandler) const;
+ [[nodiscard]] auto ThumbnailUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, winrt::Windows::Foundation::IInspectable> const& changedHandler) const;
+ auto ThumbnailUpdated(winrt::event_token const& eventCookie) const noexcept;
+ auto PropertiesUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, winrt::Windows::Foundation::IInspectable> const& changedHandler) const;
using PropertiesUpdated_revoker = impl::event_revoker<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, &impl::abi_t<winrt::Windows::Storage::BulkAccess::IStorageItemInformation>::remove_PropertiesUpdated>;
- [[nodiscard]] PropertiesUpdated_revoker PropertiesUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Storage::BulkAccess::IStorageItemInformation, winrt::Windows::Foundation::IInspectable> const& changedHandler) const;
+ auto PropertiesUpdated(winrt::event_token const& eventCookie) const noexcept;
};
template <> struct consume<winrt::Windows::Storage::BulkAccess::IStorageItemInformation>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.1.h
index 90fab04f32b..084e3fc9584 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.2.h
index c5a359a9eb3..a6698a18e79 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.BulkAccess.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.0.h
index 8a5a061dab2..cdf948196b2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
struct IInputStream;
@@ -85,8 +81,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Compression_ICompressor
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) FinishAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IOutputStream) DetachStream() const;
+ auto FinishAsync() const;
+ auto DetachStream() const;
};
template <> struct consume<winrt::Windows::Storage::Compression::ICompressor>
{
@@ -95,8 +91,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Compression::ICompressorFactory>
{
@@ -105,7 +101,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Compression_IDecompressor
{
- WINRT_IMPL_AUTO(winrt::Windows::Storage::Streams::IInputStream) DetachStream() const;
+ auto DetachStream() const;
};
template <> struct consume<winrt::Windows::Storage::Compression::IDecompressor>
{
@@ -114,7 +110,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Compression::IDecompressorFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.1.h
index b1348b53d15..5db2c26944f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.2.h
index e8095700dcb..e71d8e24936 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Compression.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.0.h
index 7c23bfb0f49..b32dc55ff66 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
template <typename K, typename V> struct __declspec(empty_bases) IKeyValuePair;
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Storage
{
@@ -306,9 +301,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::FileProperties::IBasicProperties>
{
@@ -317,12 +312,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_FileProperties_IDocumentProperties
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) 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<hstring>) 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<winrt::Windows::Storage::FileProperties::IDocumentProperties>
{
@@ -331,9 +326,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_FileProperties_IGeotagHelperStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Devices::Geolocation::Geopoint>) 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<winrt::Windows::Storage::FileProperties::IGeotagHelperStatics>
{
@@ -342,23 +337,23 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<double>) Latitude() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) 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<hstring>) 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<winrt::Windows::Storage::FileProperties::IImageProperties>
{
@@ -367,31 +362,31 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<hstring>) Composers() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) 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<hstring>) 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<hstring>) 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<winrt::Windows::Storage::FileProperties::IMusicProperties>
{
@@ -400,10 +395,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_FileProperties_IStorageItemContentProperties
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::MusicProperties>) GetMusicPropertiesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::VideoProperties>) GetVideoPropertiesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::ImageProperties>) GetImagePropertiesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::FileProperties::DocumentProperties>) GetDocumentPropertiesAsync() const;
+ auto GetMusicPropertiesAsync() const;
+ auto GetVideoPropertiesAsync() const;
+ auto GetImagePropertiesAsync() const;
+ auto GetDocumentPropertiesAsync() const;
};
template <> struct consume<winrt::Windows::Storage::FileProperties::IStorageItemContentProperties>
{
@@ -412,9 +407,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_FileProperties_IStorageItemExtraProperties
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::IInspectable>>) RetrievePropertiesAsync(param::async_iterable<hstring> const& propertiesToRetrieve) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SavePropertiesAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Foundation::IInspectable>> const& propertiesToSave) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SavePropertiesAsync() const;
+ auto RetrievePropertiesAsync(param::async_iterable<hstring> const& propertiesToRetrieve) const;
+ auto SavePropertiesAsync(param::async_iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, winrt::Windows::Foundation::IInspectable>> const& propertiesToSave) const;
+ auto SavePropertiesAsync() const;
};
template <> struct consume<winrt::Windows::Storage::FileProperties::IStorageItemExtraProperties>
{
@@ -423,10 +418,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::FileProperties::IThumbnailProperties>
{
@@ -435,27 +430,27 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<double>) Latitude() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) 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<hstring>) 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<hstring>) 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<hstring>) 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<winrt::Windows::Storage::FileProperties::IVideoProperties>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.1.h
index ca1b32465bf..950bf32e4d2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.2.h
index cd5bd040bc6..6bde98549e3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.FileProperties.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.0.h
index 4d64141c4f8..b8ddd90677c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename K, typename V> 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 <typename D>
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<hstring>) FileTypeFilter() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) PickSingleFileAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>) 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<winrt::Windows::Storage::Pickers::IFileOpenPicker>
{
@@ -298,9 +293,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Pickers::IFileOpenPicker2>
{
@@ -309,7 +304,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Pickers_IFileOpenPicker3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
+ [[nodiscard]] auto User() const;
};
template <> struct consume<winrt::Windows::Storage::Pickers::IFileOpenPicker3>
{
@@ -318,7 +313,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Pickers_IFileOpenPickerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) ResumePickSingleFileAsync() const;
+ auto ResumePickSingleFileAsync() const;
};
template <> struct consume<winrt::Windows::Storage::Pickers::IFileOpenPickerStatics>
{
@@ -327,7 +322,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Pickers::IFileOpenPickerStatics2>
{
@@ -336,7 +331,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Pickers_IFileOpenPickerWithOperationId
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFile>) PickSingleFileAsync(param::hstring const& pickerOperationId) const;
+ auto PickSingleFileAsync(param::hstring const& pickerOperationId) const;
};
template <> struct consume<winrt::Windows::Storage::Pickers::IFileOpenPickerWithOperationId>
{
@@ -345,20 +340,20 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Foundation::Collections::IVector<hstring>>) 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<winrt::Windows::Storage::StorageFile>) 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<winrt::Windows::Storage::Pickers::IFileSavePicker>
{
@@ -367,8 +362,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Pickers::IFileSavePicker2>
{
@@ -377,8 +372,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Pickers::IFileSavePicker3>
{
@@ -387,7 +382,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Pickers_IFileSavePicker4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
+ [[nodiscard]] auto User() const;
};
template <> struct consume<winrt::Windows::Storage::Pickers::IFileSavePicker4>
{
@@ -396,7 +391,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Pickers::IFileSavePickerStatics>
{
@@ -405,16 +400,16 @@ namespace winrt::impl
template <typename D>
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<hstring>) FileTypeFilter() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageFolder>) 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<winrt::Windows::Storage::Pickers::IFolderPicker>
{
@@ -423,8 +418,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Pickers::IFolderPicker2>
{
@@ -433,7 +428,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Pickers_IFolderPicker3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
+ [[nodiscard]] auto User() const;
};
template <> struct consume<winrt::Windows::Storage::Pickers::IFolderPicker3>
{
@@ -442,7 +437,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Pickers::IFolderPickerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.1.h
index a59fbf44614..9147b31f982 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.2.h
index 7ee462c0336..9284e2f9d5c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.0.h
index 67b2a07c274..3627a5a8a58 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::Storage
{
struct IStorageFile;
@@ -208,23 +204,23 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI, winrt::Windows::Storage::Pickers::Provider::FileRemovedEventArgs> 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<winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI, winrt::Windows::Storage::Pickers::Provider::FileRemovedEventArgs> const& handler) const;
using FileRemoved_revoker = impl::event_revoker<winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI, &impl::abi_t<winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI>::remove_FileRemoved>;
- [[nodiscard]] FileRemoved_revoker FileRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI, winrt::Windows::Storage::Pickers::Provider::FileRemovedEventArgs> 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<winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI, winrt::Windows::Storage::Pickers::Provider::PickerClosingEventArgs> const& handler) const;
+ [[nodiscard]] auto FileRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI, winrt::Windows::Storage::Pickers::Provider::FileRemovedEventArgs> const& handler) const;
+ auto FileRemoved(winrt::event_token const& token) const noexcept;
+ auto Closing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI, winrt::Windows::Storage::Pickers::Provider::PickerClosingEventArgs> const& handler) const;
using Closing_revoker = impl::event_revoker<winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI, &impl::abi_t<winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI>::remove_Closing>;
- [[nodiscard]] Closing_revoker Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI, winrt::Windows::Storage::Pickers::Provider::PickerClosingEventArgs> 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<winrt::Windows::Storage::Pickers::Provider::FileOpenPickerUI, winrt::Windows::Storage::Pickers::Provider::PickerClosingEventArgs> const& handler) const;
+ auto Closing(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Storage::Pickers::Provider::IFileOpenPickerUI>
{
@@ -233,7 +229,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Pickers_Provider_IFileRemovedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Id() const;
+ [[nodiscard]] auto Id() const;
};
template <> struct consume<winrt::Windows::Storage::Pickers::Provider::IFileRemovedEventArgs>
{
@@ -242,20 +238,20 @@ namespace winrt::impl
template <typename D>
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<hstring>) 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<winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI, winrt::Windows::Foundation::IInspectable> const& handler) const;
using FileNameChanged_revoker = impl::event_revoker<winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI, &impl::abi_t<winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI>::remove_FileNameChanged>;
- [[nodiscard]] FileNameChanged_revoker FileNameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI, winrt::Windows::Storage::Pickers::Provider::TargetFileRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto FileNameChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto FileNameChanged(winrt::event_token const& token) const noexcept;
+ auto TargetFileRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI, winrt::Windows::Storage::Pickers::Provider::TargetFileRequestedEventArgs> const& handler) const;
using TargetFileRequested_revoker = impl::event_revoker<winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI, &impl::abi_t<winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI>::remove_TargetFileRequested>;
- [[nodiscard]] TargetFileRequested_revoker TargetFileRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI, winrt::Windows::Storage::Pickers::Provider::TargetFileRequestedEventArgs> 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<winrt::Windows::Storage::Pickers::Provider::FileSavePickerUI, winrt::Windows::Storage::Pickers::Provider::TargetFileRequestedEventArgs> const& handler) const;
+ auto TargetFileRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Storage::Pickers::Provider::IFileSavePickerUI>
{
@@ -264,7 +260,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Pickers_Provider_IPickerClosingDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::Storage::Pickers::Provider::IPickerClosingDeferral>
{
@@ -273,8 +269,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Pickers::Provider::IPickerClosingEventArgs>
{
@@ -283,8 +279,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Pickers::Provider::IPickerClosingOperation>
{
@@ -293,9 +289,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Pickers::Provider::ITargetFileRequest>
{
@@ -304,7 +300,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Pickers_Provider_ITargetFileRequestDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::Storage::Pickers::Provider::ITargetFileRequestDeferral>
{
@@ -313,7 +309,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Pickers::Provider::ITargetFileRequestedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.1.h
index a5e01371ed2..29baa7b9e85 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.2.h
index 6db8a49e0ec..b04356b6f62 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Pickers.Provider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.0.h
index e3320c9e787..17195e9d550 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Storage
{
@@ -636,7 +634,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::ICachedFileUpdaterStatics>
{
@@ -645,18 +643,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::CachedFileUpdaterUI, winrt::Windows::Storage::Provider::FileUpdateRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto Title() const;
+ auto Title(param::hstring const& value) const;
+ [[nodiscard]] auto UpdateTarget() const;
+ auto FileUpdateRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::CachedFileUpdaterUI, winrt::Windows::Storage::Provider::FileUpdateRequestedEventArgs> const& handler) const;
using FileUpdateRequested_revoker = impl::event_revoker<winrt::Windows::Storage::Provider::ICachedFileUpdaterUI, &impl::abi_t<winrt::Windows::Storage::Provider::ICachedFileUpdaterUI>::remove_FileUpdateRequested>;
- [[nodiscard]] FileUpdateRequested_revoker FileUpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::CachedFileUpdaterUI, winrt::Windows::Storage::Provider::FileUpdateRequestedEventArgs> 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<winrt::Windows::Storage::Provider::CachedFileUpdaterUI, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto FileUpdateRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::CachedFileUpdaterUI, winrt::Windows::Storage::Provider::FileUpdateRequestedEventArgs> const& handler) const;
+ auto FileUpdateRequested(winrt::event_token const& token) const noexcept;
+ auto UIRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::CachedFileUpdaterUI, winrt::Windows::Foundation::IInspectable> const& handler) const;
using UIRequested_revoker = impl::event_revoker<winrt::Windows::Storage::Provider::ICachedFileUpdaterUI, &impl::abi_t<winrt::Windows::Storage::Provider::ICachedFileUpdaterUI>::remove_UIRequested>;
- [[nodiscard]] UIRequested_revoker UIRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::CachedFileUpdaterUI, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Storage::Provider::CachedFileUpdaterUI, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto UIRequested(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto UIStatus() const;
};
template <> struct consume<winrt::Windows::Storage::Provider::ICachedFileUpdaterUI>
{
@@ -665,8 +663,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::ICachedFileUpdaterUI2>
{
@@ -675,12 +673,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::IFileUpdateRequest>
{
@@ -689,8 +687,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::IFileUpdateRequest2>
{
@@ -699,7 +697,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Provider_IFileUpdateRequestDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::Storage::Provider::IFileUpdateRequestDeferral>
{
@@ -708,7 +706,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Provider_IFileUpdateRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::Provider::FileUpdateRequest) Request() const;
+ [[nodiscard]] auto Request() const;
};
template <> struct consume<winrt::Windows::Storage::Provider::IFileUpdateRequestedEventArgs>
{
@@ -717,17 +715,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::IStorageProviderError>
{
@@ -736,8 +734,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::IStorageProviderErrorCommand>
{
@@ -746,7 +744,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::IStorageProviderErrorCommandFactory>
{
@@ -755,7 +753,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::IStorageProviderErrorFactory>
{
@@ -764,8 +762,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfo>
{
@@ -774,7 +772,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::IStorageProviderFileTypeInfoFactory>
{
@@ -783,12 +781,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::IStorageProviderGetContentInfoForPathResult>
{
@@ -797,10 +795,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::IStorageProviderGetPathForContentUriResult>
{
@@ -809,7 +807,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::IStorageProviderHandlerFactory>
{
@@ -818,7 +816,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Provider_IStorageProviderItemPropertiesStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetAsync(winrt::Windows::Storage::IStorageItem const& item, param::async_iterable<winrt::Windows::Storage::Provider::StorageProviderItemProperty> const& itemProperties) const;
+ auto SetAsync(winrt::Windows::Storage::IStorageItem const& item, param::async_iterable<winrt::Windows::Storage::Provider::StorageProviderItemProperty> const& itemProperties) const;
};
template <> struct consume<winrt::Windows::Storage::Provider::IStorageProviderItemPropertiesStatics>
{
@@ -827,12 +825,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::IStorageProviderItemProperty>
{
@@ -841,10 +839,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::IStorageProviderItemPropertyDefinition>
{
@@ -853,7 +851,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Provider_IStorageProviderItemPropertySource
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::Storage::Provider::StorageProviderItemProperty>) GetItemProperties(param::hstring const& itemPath) const;
+ auto GetItemProperties(param::hstring const& itemPath) const;
};
template <> struct consume<winrt::Windows::Storage::Provider::IStorageProviderItemPropertySource>
{
@@ -862,7 +860,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::IStorageProviderPropertyCapabilities>
{
@@ -871,9 +869,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::StorageProviderError>) ErrorMessages() const;
+ [[nodiscard]] auto Message() const;
+ [[nodiscard]] auto State() const;
+ [[nodiscard]] auto ErrorMessages() const;
};
template <> struct consume<winrt::Windows::Storage::Provider::IStorageProviderStatus>
{
@@ -882,8 +880,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::StorageProviderError> 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<winrt::Windows::Storage::Provider::StorageProviderError> const& errorMessages) const;
};
template <> struct consume<winrt::Windows::Storage::Provider::IStorageProviderStatusFactory>
{
@@ -892,11 +890,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::IStorageProviderStatusSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto GetStatus() const;
+ auto Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::IStorageProviderStatusSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Changed_revoker = impl::event_revoker<winrt::Windows::Storage::Provider::IStorageProviderStatusSource, &impl::abi_t<winrt::Windows::Storage::Provider::IStorageProviderStatusSource>::remove_Changed>;
- [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Provider::IStorageProviderStatusSource, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Storage::Provider::IStorageProviderStatusSource, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Changed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Storage::Provider::IStorageProviderStatusSource>
{
@@ -905,37 +903,37 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::StorageProviderItemPropertyDefinition>) 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<winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo>
{
@@ -944,8 +942,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo2>
{
@@ -954,7 +952,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Provider_IStorageProviderSyncRootInfo3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Storage::Provider::StorageProviderFileTypeInfo>) FallbackFileTypeInfo() const;
+ [[nodiscard]] auto FallbackFileTypeInfo() const;
};
template <> struct consume<winrt::Windows::Storage::Provider::IStorageProviderSyncRootInfo3>
{
@@ -963,11 +961,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::StorageProviderSyncRootInfo>) 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<winrt::Windows::Storage::Provider::IStorageProviderSyncRootManagerStatics>
{
@@ -976,7 +974,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Provider_IStorageProviderSyncRootManagerStatics2
{
- WINRT_IMPL_AUTO(bool) IsSupported() const;
+ auto IsSupported() const;
};
template <> struct consume<winrt::Windows::Storage::Provider::IStorageProviderSyncRootManagerStatics2>
{
@@ -985,8 +983,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Provider::IStorageProviderUriSource>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.1.h
index 10cbcf06597..dc90bc485b2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.2.h
index b652a781552..11468be6f8d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Provider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.0.h
index 6906378e859..32264c92b32 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IVectorView;
template <typename T> 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 <typename D>
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<hstring> const& contentIds) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) DeleteAllAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>>) RetrievePropertiesAsync(param::hstring const& contentId, param::async_iterable<hstring> 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<hstring> const& contentIds) const;
+ auto DeleteAllAsync() const;
+ auto RetrievePropertiesAsync(param::hstring const& contentId, param::async_iterable<hstring> const& propertiesToRetrieve) const;
+ [[nodiscard]] auto Revision() const;
};
template <> struct consume<winrt::Windows::Storage::Search::IContentIndexer>
{
@@ -428,12 +419,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Search_IContentIndexerQuery
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) GetCountAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>>>) GetPropertiesAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>>>) GetPropertiesAsync(uint32_t startIndex, uint32_t maxItems) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::Search::IIndexableContent>>) GetAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::Search::IIndexableContent>>) 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<winrt::Windows::Storage::Search::IContentIndexerQuery>
{
@@ -442,9 +433,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Search_IContentIndexerQueryOperations
{
- WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexerQuery) CreateQuery(param::hstring const& searchFilter, param::iterable<hstring> const& propertiesToRetrieve, param::iterable<winrt::Windows::Storage::Search::SortEntry> const& sortOrder, param::hstring const& searchFilterLanguage) const;
- WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexerQuery) CreateQuery(param::hstring const& searchFilter, param::iterable<hstring> const& propertiesToRetrieve, param::iterable<winrt::Windows::Storage::Search::SortEntry> const& sortOrder) const;
- WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::ContentIndexerQuery) CreateQuery(param::hstring const& searchFilter, param::iterable<hstring> const& propertiesToRetrieve) const;
+ auto CreateQuery(param::hstring const& searchFilter, param::iterable<hstring> const& propertiesToRetrieve, param::iterable<winrt::Windows::Storage::Search::SortEntry> const& sortOrder, param::hstring const& searchFilterLanguage) const;
+ auto CreateQuery(param::hstring const& searchFilter, param::iterable<hstring> const& propertiesToRetrieve, param::iterable<winrt::Windows::Storage::Search::SortEntry> const& sortOrder) const;
+ auto CreateQuery(param::hstring const& searchFilter, param::iterable<hstring> const& propertiesToRetrieve) const;
};
template <> struct consume<winrt::Windows::Storage::Search::IContentIndexerQueryOperations>
{
@@ -453,8 +444,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Search::IContentIndexerStatics>
{
@@ -463,13 +454,13 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::Storage::Search::IIndexableContent>
{
@@ -478,24 +469,24 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Search_IQueryOptions
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) 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<winrt::Windows::Storage::Search::SortEntry>) 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<hstring> 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<hstring> const& propertiesToRetrieve) const;
};
template <> struct consume<winrt::Windows::Storage::Search::IQueryOptions>
{
@@ -504,8 +495,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Search_IQueryOptionsFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Storage::Search::QueryOptions) CreateCommonFileQuery(winrt::Windows::Storage::Search::CommonFileQuery const& query, param::iterable<hstring> 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<hstring> const& fileTypeFilter) const;
+ auto CreateCommonFolderQuery(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const;
};
template <> struct consume<winrt::Windows::Storage::Search::IQueryOptionsFactory>
{
@@ -514,7 +505,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Search_IQueryOptionsWithProviderFilter
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<hstring>) StorageProviderIdFilter() const;
+ [[nodiscard]] auto StorageProviderIdFilter() const;
};
template <> struct consume<winrt::Windows::Storage::Search::IQueryOptionsWithProviderFilter>
{
@@ -523,8 +514,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Search_IStorageFileQueryResult
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>) GetFilesAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>) GetFilesAsync() const;
+ auto GetFilesAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const;
+ auto GetFilesAsync() const;
};
template <> struct consume<winrt::Windows::Storage::Search::IStorageFileQueryResult>
{
@@ -533,7 +524,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Search_IStorageFileQueryResult2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Data::Text::TextSegment>>) GetMatchingPropertiesWithRanges(winrt::Windows::Storage::StorageFile const& file) const;
+ auto GetMatchingPropertiesWithRanges(winrt::Windows::Storage::StorageFile const& file) const;
};
template <> struct consume<winrt::Windows::Storage::Search::IStorageFileQueryResult2>
{
@@ -542,23 +533,23 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Search_IStorageFolderQueryOperations
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Search::IndexedState>) 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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>) GetFilesAsync(winrt::Windows::Storage::Search::CommonFileQuery const& query, uint32_t startIndex, uint32_t maxItemsToRetrieve) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFile>>) GetFilesAsync(winrt::Windows::Storage::Search::CommonFileQuery const& query) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFolder>>) GetFoldersAsync(winrt::Windows::Storage::Search::CommonFolderQuery const& query, uint32_t startIndex, uint32_t maxItemsToRetrieve) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFolder>>) GetFoldersAsync(winrt::Windows::Storage::Search::CommonFolderQuery const& query) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>>) 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<winrt::Windows::Storage::Search::IStorageFolderQueryOperations>
{
@@ -567,8 +558,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Search_IStorageFolderQueryResult
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFolder>>) GetFoldersAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::StorageFolder>>) GetFoldersAsync() const;
+ auto GetFoldersAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const;
+ auto GetFoldersAsync() const;
};
template <> struct consume<winrt::Windows::Storage::Search::IStorageFolderQueryResult>
{
@@ -577,8 +568,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Search_IStorageItemQueryResult
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>>) GetItemsAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Storage::IStorageItem>>) GetItemsAsync() const;
+ auto GetItemsAsync(uint32_t startIndex, uint32_t maxNumberOfItems) const;
+ auto GetItemsAsync() const;
};
template <> struct consume<winrt::Windows::Storage::Search::IStorageItemQueryResult>
{
@@ -587,8 +578,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Search::IStorageLibraryChangeTrackerTriggerDetails>
{
@@ -597,8 +588,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Search::IStorageLibraryContentChangedTriggerDetails>
{
@@ -607,19 +598,19 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Search_IStorageQueryResultBase
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) GetItemCountAsync() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Storage::StorageFolder) Folder() const;
- WINRT_IMPL_AUTO(winrt::event_token) ContentsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Search::IStorageQueryResultBase, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto GetItemCountAsync() const;
+ [[nodiscard]] auto Folder() const;
+ auto ContentsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Search::IStorageQueryResultBase, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ContentsChanged_revoker = impl::event_revoker<winrt::Windows::Storage::Search::IStorageQueryResultBase, &impl::abi_t<winrt::Windows::Storage::Search::IStorageQueryResultBase>::remove_ContentsChanged>;
- [[nodiscard]] ContentsChanged_revoker ContentsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Search::IStorageQueryResultBase, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Storage::Search::IStorageQueryResultBase, winrt::Windows::Foundation::IInspectable> const& changedHandler) const;
+ [[nodiscard]] auto ContentsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Search::IStorageQueryResultBase, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ContentsChanged(winrt::event_token const& eventCookie) const noexcept;
+ auto OptionsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Search::IStorageQueryResultBase, winrt::Windows::Foundation::IInspectable> const& changedHandler) const;
using OptionsChanged_revoker = impl::event_revoker<winrt::Windows::Storage::Search::IStorageQueryResultBase, &impl::abi_t<winrt::Windows::Storage::Search::IStorageQueryResultBase>::remove_OptionsChanged>;
- [[nodiscard]] OptionsChanged_revoker OptionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Storage::Search::IStorageQueryResultBase, winrt::Windows::Foundation::IInspectable> const& changedHandler) const;
- WINRT_IMPL_AUTO(void) OptionsChanged(winrt::event_token const& eventCookie) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<uint32_t>) 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<winrt::Windows::Storage::Search::IStorageQueryResultBase, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Storage::Search::IStorageQueryResultBase>
{
@@ -628,10 +619,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Search::IValueAndLanguage>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.1.h
index d0603dd7222..587d717adcc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.2.h
index b70849c9d3f..59a13092aae 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Search.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.0.h
index a89ee65217d..0a639b7cfde 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
template <typename TResult> 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 <typename D>
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 <typename D>
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<winrt::Windows::Storage::Streams::IBufferFactory>
{
@@ -416,8 +414,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Streams::IBufferStatics>
{
@@ -426,7 +424,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Streams_IContentTypeProvider
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentType() const;
+ [[nodiscard]] auto ContentType() const;
};
template <> struct consume<winrt::Windows::Storage::Streams::IContentTypeProvider>
{
@@ -435,32 +433,32 @@ namespace winrt::impl
template <typename D>
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<uint8_t> 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<uint8_t> 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<winrt::Windows::Storage::Streams::IDataReader>
{
@@ -469,7 +467,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Streams::IDataReaderFactory>
{
@@ -478,7 +476,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Streams::IDataReaderStatics>
{
@@ -487,33 +485,33 @@ namespace winrt::impl
template <typename D>
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<uint8_t const> 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<bool>) 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<uint8_t const> 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<winrt::Windows::Storage::Streams::IDataWriter>
{
@@ -522,7 +520,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Streams::IDataWriterFactory>
{
@@ -531,14 +529,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Streams_IFileRandomAccessStreamStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) OpenAsync(param::hstring const& filePath, winrt::Windows::Storage::FileAccessMode const& accessMode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStream>) 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<winrt::Windows::Storage::StorageStreamTransaction>) OpenTransactedWriteAsync(param::hstring const& filePath) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageStreamTransaction>) 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<winrt::Windows::Storage::Streams::IRandomAccessStream>) 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<winrt::Windows::Storage::Streams::IRandomAccessStream>) 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<winrt::Windows::Storage::StorageStreamTransaction>) OpenTransactedWriteForUserAsync(winrt::Windows::System::User const& user, param::hstring const& filePath) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::StorageStreamTransaction>) 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<winrt::Windows::Storage::Streams::IFileRandomAccessStreamStatics>
{
@@ -547,7 +545,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Streams_IInputStream
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Storage::Streams::IBuffer, uint32_t>) 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<winrt::Windows::Storage::Streams::IInputStream>
{
@@ -556,7 +554,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Streams_IInputStreamReference
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IInputStream>) OpenSequentialReadAsync() const;
+ auto OpenSequentialReadAsync() const;
};
template <> struct consume<winrt::Windows::Storage::Streams::IInputStreamReference>
{
@@ -565,8 +563,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Streams_IOutputStream
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint32_t, uint32_t>) WriteAsync(winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) FlushAsync() const;
+ auto WriteAsync(winrt::Windows::Storage::Streams::IBuffer const& buffer) const;
+ auto FlushAsync() const;
};
template <> struct consume<winrt::Windows::Storage::Streams::IOutputStream>
{
@@ -575,15 +573,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Streams::IRandomAccessStream>
{
@@ -592,7 +590,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Streams_IRandomAccessStreamReference
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType>) OpenReadAsync() const;
+ auto OpenReadAsync() const;
};
template <> struct consume<winrt::Windows::Storage::Streams::IRandomAccessStreamReference>
{
@@ -601,9 +599,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Streams::IRandomAccessStreamReferenceStatics>
{
@@ -612,9 +610,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Storage_Streams_IRandomAccessStreamStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint64_t, uint64_t>) CopyAsync(winrt::Windows::Storage::Streams::IInputStream const& source, winrt::Windows::Storage::Streams::IOutputStream const& destination) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint64_t, uint64_t>) 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<uint64_t, uint64_t>) 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<winrt::Windows::Storage::Streams::IRandomAccessStreamStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.1.h
index fe6e871f4ad..67a1ae7ccd8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.2.h
index a083ba644a2..c133cb5a75e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Storage.Streams.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.0.h
index aec55272161..77830331e68 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> 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 <typename T> struct __declspec(empty_bases) IIterable;
- struct IPropertySet;
template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<winrt::Windows::System::IAppActivationResult>
{
@@ -1649,7 +1640,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IAppDiagnosticInfo
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::AppInfo) AppInfo() const;
+ [[nodiscard]] auto AppInfo() const;
};
template <> struct consume<winrt::Windows::System::IAppDiagnosticInfo>
{
@@ -1658,8 +1649,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IAppDiagnosticInfo2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppResourceGroupInfo>) GetResourceGroups() const;
- WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfoWatcher) CreateResourceGroupWatcher() const;
+ auto GetResourceGroups() const;
+ auto CreateResourceGroupWatcher() const;
};
template <> struct consume<winrt::Windows::System::IAppDiagnosticInfo2>
{
@@ -1668,7 +1659,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IAppDiagnosticInfo3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::AppActivationResult>) LaunchAsync() const;
+ auto LaunchAsync() const;
};
template <> struct consume<winrt::Windows::System::IAppDiagnosticInfo3>
{
@@ -1677,7 +1668,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IAppDiagnosticInfoStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppDiagnosticInfo>>) RequestInfoAsync() const;
+ auto RequestInfoAsync() const;
};
template <> struct consume<winrt::Windows::System::IAppDiagnosticInfoStatics>
{
@@ -1686,11 +1677,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IAppDiagnosticInfoStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::System::AppDiagnosticInfoWatcher) CreateWatcher() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::DiagnosticAccessStatus>) RequestAccessAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppDiagnosticInfo>>) RequestInfoForPackageAsync(param::hstring const& packageFamilyName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppDiagnosticInfo>>) RequestInfoForAppAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppDiagnosticInfo>>) 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<winrt::Windows::System::IAppDiagnosticInfoStatics2>
{
@@ -1699,25 +1690,25 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IAppDiagnosticInfoWatcher
{
- WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::System::AppDiagnosticInfoWatcherEventArgs> const& handler) const;
+ auto Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::System::AppDiagnosticInfoWatcherEventArgs> const& handler) const;
using Added_revoker = impl::event_revoker<winrt::Windows::System::IAppDiagnosticInfoWatcher, &impl::abi_t<winrt::Windows::System::IAppDiagnosticInfoWatcher>::remove_Added>;
- [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::System::AppDiagnosticInfoWatcherEventArgs> 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<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::System::AppDiagnosticInfoWatcherEventArgs> const& handler) const;
+ [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::System::AppDiagnosticInfoWatcherEventArgs> const& handler) const;
+ auto Added(winrt::event_token const& token) const noexcept;
+ auto Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::System::AppDiagnosticInfoWatcherEventArgs> const& handler) const;
using Removed_revoker = impl::event_revoker<winrt::Windows::System::IAppDiagnosticInfoWatcher, &impl::abi_t<winrt::Windows::System::IAppDiagnosticInfoWatcher>::remove_Removed>;
- [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::System::AppDiagnosticInfoWatcherEventArgs> 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<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::System::AppDiagnosticInfoWatcherEventArgs> const& handler) const;
+ auto Removed(winrt::event_token const& token) const noexcept;
+ auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using EnumerationCompleted_revoker = impl::event_revoker<winrt::Windows::System::IAppDiagnosticInfoWatcher, &impl::abi_t<winrt::Windows::System::IAppDiagnosticInfoWatcher>::remove_EnumerationCompleted>;
- [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto EnumerationCompleted(winrt::event_token const& token) const noexcept;
+ auto Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Stopped_revoker = impl::event_revoker<winrt::Windows::System::IAppDiagnosticInfoWatcher, &impl::abi_t<winrt::Windows::System::IAppDiagnosticInfoWatcher>::remove_Stopped>;
- [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::System::AppDiagnosticInfoWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::System::IAppDiagnosticInfoWatcher>
{
@@ -1726,7 +1717,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IAppDiagnosticInfoWatcherEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::AppDiagnosticInfo) AppDiagnosticInfo() const;
+ [[nodiscard]] auto AppDiagnosticInfo() const;
};
template <> struct consume<winrt::Windows::System::IAppDiagnosticInfoWatcherEventArgs>
{
@@ -1735,7 +1726,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IAppExecutionStateChangeResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::System::IAppExecutionStateChangeResult>
{
@@ -1744,10 +1735,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IAppMemoryReport>
{
@@ -1756,7 +1747,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IAppMemoryReport2
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) ExpectedTotalCommitLimit() const;
+ [[nodiscard]] auto ExpectedTotalCommitLimit() const;
};
template <> struct consume<winrt::Windows::System::IAppMemoryReport2>
{
@@ -1765,8 +1756,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IAppMemoryUsageLimitChangingEventArgs>
{
@@ -1775,10 +1766,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IAppResourceGroupBackgroundTaskReport>
{
@@ -1787,12 +1778,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::AppResourceGroupBackgroundTaskReport>) GetBackgroundTaskReports() const;
- WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupMemoryReport) GetMemoryReport() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo>) 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<winrt::Windows::System::IAppResourceGroupInfo>
{
@@ -1801,9 +1792,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IAppResourceGroupInfo2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::AppExecutionStateChangeResult>) StartSuspendAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::AppExecutionStateChangeResult>) StartResumeAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::AppExecutionStateChangeResult>) StartTerminateAsync() const;
+ auto StartSuspendAsync() const;
+ auto StartResumeAsync() const;
+ auto StartTerminateAsync() const;
};
template <> struct consume<winrt::Windows::System::IAppResourceGroupInfo2>
{
@@ -1812,29 +1803,29 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IAppResourceGroupInfoWatcher
{
- WINRT_IMPL_AUTO(winrt::event_token) Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherEventArgs> const& handler) const;
+ auto Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherEventArgs> const& handler) const;
using Added_revoker = impl::event_revoker<winrt::Windows::System::IAppResourceGroupInfoWatcher, &impl::abi_t<winrt::Windows::System::IAppResourceGroupInfoWatcher>::remove_Added>;
- [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherEventArgs> 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<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherEventArgs> const& handler) const;
+ [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherEventArgs> const& handler) const;
+ auto Added(winrt::event_token const& token) const noexcept;
+ auto Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherEventArgs> const& handler) const;
using Removed_revoker = impl::event_revoker<winrt::Windows::System::IAppResourceGroupInfoWatcher, &impl::abi_t<winrt::Windows::System::IAppResourceGroupInfoWatcher>::remove_Removed>;
- [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherEventArgs> 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<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherEventArgs> const& handler) const;
+ auto Removed(winrt::event_token const& token) const noexcept;
+ auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using EnumerationCompleted_revoker = impl::event_revoker<winrt::Windows::System::IAppResourceGroupInfoWatcher, &impl::abi_t<winrt::Windows::System::IAppResourceGroupInfoWatcher>::remove_EnumerationCompleted>;
- [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto EnumerationCompleted(winrt::event_token const& token) const noexcept;
+ auto Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Stopped_revoker = impl::event_revoker<winrt::Windows::System::IAppResourceGroupInfoWatcher, &impl::abi_t<winrt::Windows::System::IAppResourceGroupInfoWatcher>::remove_Stopped>;
- [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherExecutionStateChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Stopped(winrt::event_token const& token) const noexcept;
+ auto ExecutionStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherExecutionStateChangedEventArgs> const& handler) const;
using ExecutionStateChanged_revoker = impl::event_revoker<winrt::Windows::System::IAppResourceGroupInfoWatcher, &impl::abi_t<winrt::Windows::System::IAppResourceGroupInfoWatcher>::remove_ExecutionStateChanged>;
- [[nodiscard]] ExecutionStateChanged_revoker ExecutionStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherExecutionStateChangedEventArgs> 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<winrt::Windows::System::AppResourceGroupInfoWatcher, winrt::Windows::System::AppResourceGroupInfoWatcherExecutionStateChangedEventArgs> 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<winrt::Windows::System::IAppResourceGroupInfoWatcher>
{
@@ -1843,8 +1834,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IAppResourceGroupInfoWatcherEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::AppDiagnosticInfo>) AppDiagnosticInfos() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfo) AppResourceGroupInfo() const;
+ [[nodiscard]] auto AppDiagnosticInfos() const;
+ [[nodiscard]] auto AppResourceGroupInfo() const;
};
template <> struct consume<winrt::Windows::System::IAppResourceGroupInfoWatcherEventArgs>
{
@@ -1853,8 +1844,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::AppDiagnosticInfo>) AppDiagnosticInfos() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::AppResourceGroupInfo) AppResourceGroupInfo() const;
+ [[nodiscard]] auto AppDiagnosticInfos() const;
+ [[nodiscard]] auto AppResourceGroupInfo() const;
};
template <> struct consume<winrt::Windows::System::IAppResourceGroupInfoWatcherExecutionStateChangedEventArgs>
{
@@ -1863,10 +1854,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IAppResourceGroupMemoryReport>
{
@@ -1875,8 +1866,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IAppResourceGroupStateReport>
{
@@ -1885,8 +1876,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IAppUriHandlerHost>
{
@@ -1895,7 +1886,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IAppUriHandlerHostFactory>
{
@@ -1904,10 +1895,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppUriHandlerHost>>) GetAppAddedHostsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) SetAppAddedHostsAsync(param::async_iterable<winrt::Windows::System::AppUriHandlerHost> const& hosts) const;
+ [[nodiscard]] auto Name() const;
+ [[nodiscard]] auto User() const;
+ auto GetAppAddedHostsAsync() const;
+ auto SetAppAddedHostsAsync(param::async_iterable<winrt::Windows::System::AppUriHandlerHost> const& hosts) const;
};
template <> struct consume<winrt::Windows::System::IAppUriHandlerRegistration>
{
@@ -1916,8 +1907,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IAppUriHandlerRegistrationManager>
{
@@ -1926,8 +1917,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IAppUriHandlerRegistrationManagerStatics>
{
@@ -1936,7 +1927,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IDateTimeSettingsStatics>
{
@@ -1945,17 +1936,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::DispatcherQueue, winrt::Windows::System::DispatcherQueueShutdownStartingEventArgs> 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<winrt::Windows::System::DispatcherQueue, winrt::Windows::System::DispatcherQueueShutdownStartingEventArgs> const& handler) const;
using ShutdownStarting_revoker = impl::event_revoker<winrt::Windows::System::IDispatcherQueue, &impl::abi_t<winrt::Windows::System::IDispatcherQueue>::remove_ShutdownStarting>;
- [[nodiscard]] ShutdownStarting_revoker ShutdownStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::DispatcherQueue, winrt::Windows::System::DispatcherQueueShutdownStartingEventArgs> 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<winrt::Windows::System::DispatcherQueue, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto ShutdownStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::DispatcherQueue, winrt::Windows::System::DispatcherQueueShutdownStartingEventArgs> const& handler) const;
+ auto ShutdownStarting(winrt::event_token const& token) const noexcept;
+ auto ShutdownCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::DispatcherQueue, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ShutdownCompleted_revoker = impl::event_revoker<winrt::Windows::System::IDispatcherQueue, &impl::abi_t<winrt::Windows::System::IDispatcherQueue>::remove_ShutdownCompleted>;
- [[nodiscard]] ShutdownCompleted_revoker ShutdownCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::DispatcherQueue, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::System::DispatcherQueue, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ShutdownCompleted(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::IDispatcherQueue>
{
@@ -1964,7 +1955,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IDispatcherQueue2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) HasThreadAccess() const;
+ [[nodiscard]] auto HasThreadAccess() const;
};
template <> struct consume<winrt::Windows::System::IDispatcherQueue2>
{
@@ -1973,8 +1964,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IDispatcherQueueController>
{
@@ -1983,7 +1974,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IDispatcherQueueControllerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueueController) CreateOnDedicatedThread() const;
+ auto CreateOnDedicatedThread() const;
};
template <> struct consume<winrt::Windows::System::IDispatcherQueueControllerStatics>
{
@@ -1992,7 +1983,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IDispatcherQueueShutdownStartingEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::System::IDispatcherQueueShutdownStartingEventArgs>
{
@@ -2001,7 +1992,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IDispatcherQueueStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) GetForCurrentThread() const;
+ auto GetForCurrentThread() const;
};
template <> struct consume<winrt::Windows::System::IDispatcherQueueStatics>
{
@@ -2010,17 +2001,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::DispatcherQueueTimer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::System::DispatcherQueueTimer, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Tick_revoker = impl::event_revoker<winrt::Windows::System::IDispatcherQueueTimer, &impl::abi_t<winrt::Windows::System::IDispatcherQueueTimer>::remove_Tick>;
- [[nodiscard]] Tick_revoker Tick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::DispatcherQueueTimer, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::System::DispatcherQueueTimer, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Tick(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::IDispatcherQueueTimer>
{
@@ -2029,7 +2020,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IFolderLauncherOptions
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Storage::IStorageItem>) ItemsToSelect() const;
+ [[nodiscard]] auto ItemsToSelect() const;
};
template <> struct consume<winrt::Windows::System::IFolderLauncherOptions>
{
@@ -2038,15 +2029,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IKnownUserPropertiesStatics>
{
@@ -2055,8 +2046,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::ILaunchUriResult>
{
@@ -2065,19 +2056,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::ILauncherOptions>
{
@@ -2086,10 +2077,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::ILauncherOptions2>
{
@@ -2098,8 +2089,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::ILauncherOptions3>
{
@@ -2108,8 +2099,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::ILauncherOptions4>
{
@@ -2118,10 +2109,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_ILauncherStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) LaunchFileAsync(winrt::Windows::Storage::IStorageFile const& file) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) LaunchFileAsync(winrt::Windows::Storage::IStorageFile const& file, winrt::Windows::System::LauncherOptions const& options) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) LaunchUriAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::System::ILauncherStatics>
{
@@ -2130,16 +2121,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_ILauncherStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchUriResult>) LaunchUriForResultsAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LauncherOptions const& options) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchUriResult>) 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<bool>) 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<winrt::Windows::System::LaunchQuerySupportStatus>) QueryUriSupportAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::System::LaunchQuerySupportType const& launchQuerySupportType) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchQuerySupportStatus>) 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<winrt::Windows::System::LaunchQuerySupportStatus>) QueryFileSupportAsync(winrt::Windows::Storage::StorageFile const& file) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchQuerySupportStatus>) QueryFileSupportAsync(winrt::Windows::Storage::StorageFile const& file, param::hstring const& packageFamilyName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppInfo>>) FindUriSchemeHandlersAsync(param::hstring const& scheme) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppInfo>>) FindUriSchemeHandlersAsync(param::hstring const& scheme, winrt::Windows::System::LaunchQuerySupportType const& launchQuerySupportType) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppInfo>>) 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<winrt::Windows::System::ILauncherStatics2>
{
@@ -2148,8 +2139,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_ILauncherStatics3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) LaunchFolderAsync(winrt::Windows::Storage::IStorageFolder const& folder) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::System::ILauncherStatics3>
{
@@ -2158,14 +2149,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_ILauncherStatics4
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchQuerySupportStatus>) QueryAppUriSupportAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchQuerySupportStatus>) QueryAppUriSupportAsync(winrt::Windows::Foundation::Uri const& uri, param::hstring const& packageFamilyName) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::ApplicationModel::AppInfo>>) FindAppUriHandlersAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchUriStatus>) LaunchUriForUserAsync(winrt::Windows::System::User const& user, winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::LaunchUriStatus>) 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<winrt::Windows::System::LaunchUriStatus>) 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<winrt::Windows::System::LaunchUriResult>) 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<winrt::Windows::System::LaunchUriResult>) 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<winrt::Windows::System::ILauncherStatics4>
{
@@ -2174,10 +2165,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_ILauncherStatics5
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) LaunchFolderPathAsync(param::hstring const& path) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) LaunchFolderPathAsync(param::hstring const& path, winrt::Windows::System::FolderLauncherOptions const& options) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) LaunchFolderPathForUserAsync(winrt::Windows::System::User const& user, param::hstring const& path) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::System::ILauncherStatics5>
{
@@ -2186,12 +2177,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_ILauncherUIOptions
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>) InvocationPoint() const;
- WINRT_IMPL_AUTO(void) InvocationPoint(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect>) SelectionRect() const;
- WINRT_IMPL_AUTO(void) SelectionRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> 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<winrt::Windows::Foundation::Point> const& value) const;
+ [[nodiscard]] auto SelectionRect() const;
+ auto SelectionRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> const& value) const;
+ [[nodiscard]] auto PreferredPlacement() const;
+ auto PreferredPlacement(winrt::Windows::UI::Popups::Placement const& value) const;
};
template <> struct consume<winrt::Windows::System::ILauncherUIOptions>
{
@@ -2200,8 +2191,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::ILauncherViewOptions>
{
@@ -2210,21 +2201,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto AppMemoryUsage() const;
+ [[nodiscard]] auto AppMemoryUsageLimit() const;
+ [[nodiscard]] auto AppMemoryUsageLevel() const;
+ auto AppMemoryUsageIncreased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using AppMemoryUsageIncreased_revoker = impl::event_revoker<winrt::Windows::System::IMemoryManagerStatics, &impl::abi_t<winrt::Windows::System::IMemoryManagerStatics>::remove_AppMemoryUsageIncreased>;
- [[nodiscard]] AppMemoryUsageIncreased_revoker AppMemoryUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto AppMemoryUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AppMemoryUsageIncreased(winrt::event_token const& token) const noexcept;
+ auto AppMemoryUsageDecreased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using AppMemoryUsageDecreased_revoker = impl::event_revoker<winrt::Windows::System::IMemoryManagerStatics, &impl::abi_t<winrt::Windows::System::IMemoryManagerStatics>::remove_AppMemoryUsageDecreased>;
- [[nodiscard]] AppMemoryUsageDecreased_revoker AppMemoryUsageDecreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::System::AppMemoryUsageLimitChangingEventArgs> const& handler) const;
+ [[nodiscard]] auto AppMemoryUsageDecreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AppMemoryUsageDecreased(winrt::event_token const& token) const noexcept;
+ auto AppMemoryUsageLimitChanging(winrt::Windows::Foundation::EventHandler<winrt::Windows::System::AppMemoryUsageLimitChangingEventArgs> const& handler) const;
using AppMemoryUsageLimitChanging_revoker = impl::event_revoker<winrt::Windows::System::IMemoryManagerStatics, &impl::abi_t<winrt::Windows::System::IMemoryManagerStatics>::remove_AppMemoryUsageLimitChanging>;
- [[nodiscard]] AppMemoryUsageLimitChanging_revoker AppMemoryUsageLimitChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::System::AppMemoryUsageLimitChangingEventArgs> 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<winrt::Windows::System::AppMemoryUsageLimitChangingEventArgs> const& handler) const;
+ auto AppMemoryUsageLimitChanging(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::IMemoryManagerStatics>
{
@@ -2233,8 +2224,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IMemoryManagerStatics2>
{
@@ -2243,7 +2234,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IMemoryManagerStatics3
{
- WINRT_IMPL_AUTO(bool) TrySetAppMemoryUsageLimit(uint64_t value) const;
+ auto TrySetAppMemoryUsageLimit(uint64_t value) const;
};
template <> struct consume<winrt::Windows::System::IMemoryManagerStatics3>
{
@@ -2252,7 +2243,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IMemoryManagerStatics4
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint64_t) ExpectedAppMemoryUsageLimit() const;
+ [[nodiscard]] auto ExpectedAppMemoryUsageLimit() const;
};
template <> struct consume<winrt::Windows::System::IMemoryManagerStatics4>
{
@@ -2261,14 +2252,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IProcessLauncherOptions>
{
@@ -2277,7 +2268,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IProcessLauncherResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExitCode() const;
+ [[nodiscard]] auto ExitCode() const;
};
template <> struct consume<winrt::Windows::System::IProcessLauncherResult>
{
@@ -2286,8 +2277,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IProcessLauncherStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::ProcessLauncherResult>) RunToCompletionAsync(param::hstring const& fileName, param::hstring const& args) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::ProcessLauncherResult>) 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<winrt::Windows::System::IProcessLauncherStatics>
{
@@ -2296,8 +2287,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IProcessMemoryReport>
{
@@ -2306,7 +2297,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IProtocolForResultsOperation>
{
@@ -2315,9 +2306,9 @@ namespace winrt::impl
template <typename D>
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<hstring>) PreferredAppIds() const;
+ [[nodiscard]] auto FallbackUri() const;
+ auto FallbackUri(winrt::Windows::Foundation::Uri const& value) const;
+ [[nodiscard]] auto PreferredAppIds() const;
};
template <> struct consume<winrt::Windows::System::IRemoteLauncherOptions>
{
@@ -2326,9 +2317,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IRemoteLauncherStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::RemoteLaunchUriStatus>) LaunchUriAsync(winrt::Windows::System::RemoteSystems::RemoteSystemConnectionRequest const& remoteSystemConnectionRequest, winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::RemoteLaunchUriStatus>) 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<winrt::Windows::System::RemoteLaunchUriStatus>) 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<winrt::Windows::System::IRemoteLauncherStatics>
{
@@ -2337,8 +2328,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IShutdownManagerStatics>
{
@@ -2347,9 +2338,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IShutdownManagerStatics2>
{
@@ -2358,10 +2349,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_ITimeZoneSettingsStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) CurrentTimeZoneDisplayName() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) 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<winrt::Windows::System::ITimeZoneSettingsStatics>
{
@@ -2370,7 +2361,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_ITimeZoneSettingsStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::AutoUpdateTimeZoneStatus>) AutoUpdateTimeZoneAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const;
+ auto AutoUpdateTimeZoneAsync(winrt::Windows::Foundation::TimeSpan const& timeout) const;
};
template <> struct consume<winrt::Windows::System::ITimeZoneSettingsStatics2>
{
@@ -2379,12 +2370,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable>) GetPropertyAsync(param::hstring const& value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IPropertySet>) GetPropertiesAsync(param::async_vector_view<hstring> const& values) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamReference>) 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<hstring> const& values) const;
+ auto GetPictureAsync(winrt::Windows::System::UserPictureSize const& desiredSize) const;
};
template <> struct consume<winrt::Windows::System::IUser>
{
@@ -2393,7 +2384,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IUserAuthenticationStatusChangeDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::System::IUserAuthenticationStatusChangeDeferral>
{
@@ -2402,10 +2393,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IUserAuthenticationStatusChangingEventArgs>
{
@@ -2414,7 +2405,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IUserChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
+ [[nodiscard]] auto User() const;
};
template <> struct consume<winrt::Windows::System::IUserChangedEventArgs>
{
@@ -2423,7 +2414,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IUserChangedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::UserWatcherUpdateKind>) ChangedPropertyKinds() const;
+ [[nodiscard]] auto ChangedPropertyKinds() const;
};
template <> struct consume<winrt::Windows::System::IUserChangedEventArgs2>
{
@@ -2432,9 +2423,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::IUserDeviceAssociationChangedEventArgs>
{
@@ -2443,11 +2434,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::UserDeviceAssociationChangedEventArgs> const& handler) const;
+ auto FindUserFromDeviceId(param::hstring const& deviceId) const;
+ auto UserDeviceAssociationChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::System::UserDeviceAssociationChangedEventArgs> const& handler) const;
using UserDeviceAssociationChanged_revoker = impl::event_revoker<winrt::Windows::System::IUserDeviceAssociationStatics, &impl::abi_t<winrt::Windows::System::IUserDeviceAssociationStatics>::remove_UserDeviceAssociationChanged>;
- [[nodiscard]] UserDeviceAssociationChanged_revoker UserDeviceAssociationChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::System::UserDeviceAssociationChangedEventArgs> 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<winrt::Windows::System::UserDeviceAssociationChangedEventArgs> const& handler) const;
+ auto UserDeviceAssociationChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::IUserDeviceAssociationStatics>
{
@@ -2456,11 +2447,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::User>) 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<winrt::Windows::System::IUserPicker>
{
@@ -2469,7 +2460,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IUserPickerStatics
{
- WINRT_IMPL_AUTO(bool) IsSupported() const;
+ auto IsSupported() const;
};
template <> struct consume<winrt::Windows::System::IUserPickerStatics>
{
@@ -2478,11 +2469,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IUserStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::System::UserWatcher) CreateWatcher() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::User>>) FindAllAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::User>>) FindAllAsync(winrt::Windows::System::UserType const& type) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::User>>) 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<winrt::Windows::System::IUserStatics>
{
@@ -2491,7 +2482,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_IUserStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::System::User) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::System::IUserStatics2>
{
@@ -2500,37 +2491,37 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto Status() const;
+ auto Start() const;
+ auto Stop() const;
+ auto Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const;
using Added_revoker = impl::event_revoker<winrt::Windows::System::IUserWatcher, &impl::abi_t<winrt::Windows::System::IUserWatcher>::remove_Added>;
- [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> 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<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const;
+ auto Added(winrt::event_token const& token) const noexcept;
+ auto Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const;
using Removed_revoker = impl::event_revoker<winrt::Windows::System::IUserWatcher, &impl::abi_t<winrt::Windows::System::IUserWatcher>::remove_Removed>;
- [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> 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<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const;
+ auto Removed(winrt::event_token const& token) const noexcept;
+ auto Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const;
using Updated_revoker = impl::event_revoker<winrt::Windows::System::IUserWatcher, &impl::abi_t<winrt::Windows::System::IUserWatcher>::remove_Updated>;
- [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> 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<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const;
+ auto Updated(winrt::event_token const& token) const noexcept;
+ auto AuthenticationStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const;
using AuthenticationStatusChanged_revoker = impl::event_revoker<winrt::Windows::System::IUserWatcher, &impl::abi_t<winrt::Windows::System::IUserWatcher>::remove_AuthenticationStatusChanged>;
- [[nodiscard]] AuthenticationStatusChanged_revoker AuthenticationStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> 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<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserAuthenticationStatusChangingEventArgs> const& handler) const;
+ [[nodiscard]] auto AuthenticationStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserChangedEventArgs> const& handler) const;
+ auto AuthenticationStatusChanged(winrt::event_token const& token) const noexcept;
+ auto AuthenticationStatusChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserAuthenticationStatusChangingEventArgs> const& handler) const;
using AuthenticationStatusChanging_revoker = impl::event_revoker<winrt::Windows::System::IUserWatcher, &impl::abi_t<winrt::Windows::System::IUserWatcher>::remove_AuthenticationStatusChanging>;
- [[nodiscard]] AuthenticationStatusChanging_revoker AuthenticationStatusChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserAuthenticationStatusChangingEventArgs> 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<winrt::Windows::System::UserWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto AuthenticationStatusChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::System::UserAuthenticationStatusChangingEventArgs> const& handler) const;
+ auto AuthenticationStatusChanging(winrt::event_token const& token) const noexcept;
+ auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using EnumerationCompleted_revoker = impl::event_revoker<winrt::Windows::System::IUserWatcher, &impl::abi_t<winrt::Windows::System::IUserWatcher>::remove_EnumerationCompleted>;
- [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::System::UserWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto EnumerationCompleted(winrt::event_token const& token) const noexcept;
+ auto Stopped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Stopped_revoker = impl::event_revoker<winrt::Windows::System::IUserWatcher, &impl::abi_t<winrt::Windows::System::IUserWatcher>::remove_Stopped>;
- [[nodiscard]] Stopped_revoker Stopped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::UserWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::System::UserWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Stopped(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::IUserWatcher>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.1.h
index a1d77398fa7..841cdbd950c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.2.h
index 582ae9e07c5..38e745d917d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable> const& handler);
using AppMemoryUsageIncreased_revoker = impl::factory_event_revoker<winrt::Windows::System::IMemoryManagerStatics, &impl::abi_t<winrt::Windows::System::IMemoryManagerStatics>::remove_AppMemoryUsageIncreased>;
- [[nodiscard]] static AppMemoryUsageIncreased_revoker AppMemoryUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto AppMemoryUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto AppMemoryUsageIncreased(winrt::event_token const& token);
static auto AppMemoryUsageDecreased(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using AppMemoryUsageDecreased_revoker = impl::factory_event_revoker<winrt::Windows::System::IMemoryManagerStatics, &impl::abi_t<winrt::Windows::System::IMemoryManagerStatics>::remove_AppMemoryUsageDecreased>;
- [[nodiscard]] static AppMemoryUsageDecreased_revoker AppMemoryUsageDecreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto AppMemoryUsageDecreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto AppMemoryUsageDecreased(winrt::event_token const& token);
static auto AppMemoryUsageLimitChanging(winrt::Windows::Foundation::EventHandler<winrt::Windows::System::AppMemoryUsageLimitChangingEventArgs> const& handler);
using AppMemoryUsageLimitChanging_revoker = impl::factory_event_revoker<winrt::Windows::System::IMemoryManagerStatics, &impl::abi_t<winrt::Windows::System::IMemoryManagerStatics>::remove_AppMemoryUsageLimitChanging>;
- [[nodiscard]] static AppMemoryUsageLimitChanging_revoker AppMemoryUsageLimitChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::System::AppMemoryUsageLimitChangingEventArgs> const& handler);
+ [[nodiscard]] static auto AppMemoryUsageLimitChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::System::AppMemoryUsageLimitChangingEventArgs> 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<winrt::Windows::System::UserDeviceAssociationChangedEventArgs> const& handler);
using UserDeviceAssociationChanged_revoker = impl::factory_event_revoker<winrt::Windows::System::IUserDeviceAssociationStatics, &impl::abi_t<winrt::Windows::System::IUserDeviceAssociationStatics>::remove_UserDeviceAssociationChanged>;
- [[nodiscard]] static UserDeviceAssociationChanged_revoker UserDeviceAssociationChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::System::UserDeviceAssociationChangedEventArgs> const& handler);
+ [[nodiscard]] static auto UserDeviceAssociationChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::System::UserDeviceAssociationChangedEventArgs> const& handler);
static auto UserDeviceAssociationChanged(winrt::event_token const& token);
};
struct __declspec(empty_bases) UserDeviceAssociationChangedEventArgs : winrt::Windows::System::IUserDeviceAssociationChangedEventArgs
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.0.h
index 6c4adaa6f4f..a2e1b88930c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<winrt::Windows::System::Diagnostics::IDiagnosticActionResult>
{
@@ -375,7 +371,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Diagnostics_IDiagnosticInvoker
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::System::Diagnostics::DiagnosticActionResult, winrt::Windows::System::Diagnostics::DiagnosticActionState>) RunDiagnosticActionAsync(winrt::Windows::Data::Json::JsonObject const& context) const;
+ auto RunDiagnosticActionAsync(winrt::Windows::Data::Json::JsonObject const& context) const;
};
template <> struct consume<winrt::Windows::System::Diagnostics::IDiagnosticInvoker>
{
@@ -384,7 +380,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Diagnostics_IDiagnosticInvoker2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::System::Diagnostics::DiagnosticActionResult, winrt::Windows::System::Diagnostics::DiagnosticActionState>) RunDiagnosticActionFromStringAsync(param::hstring const& context) const;
+ auto RunDiagnosticActionFromStringAsync(param::hstring const& context) const;
};
template <> struct consume<winrt::Windows::System::Diagnostics::IDiagnosticInvoker2>
{
@@ -393,9 +389,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::IDiagnosticInvokerStatics>
{
@@ -404,7 +400,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Diagnostics_IProcessCpuUsage
{
- WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessCpuUsageReport) GetReport() const;
+ auto GetReport() const;
};
template <> struct consume<winrt::Windows::System::Diagnostics::IProcessCpuUsage>
{
@@ -413,8 +409,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::IProcessCpuUsageReport>
{
@@ -423,13 +419,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::IProcessDiagnosticInfo>
{
@@ -438,8 +434,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Diagnostics_IProcessDiagnosticInfo2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::System::AppDiagnosticInfo>) GetAppDiagnosticInfos() const;
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPackaged() const;
+ auto GetAppDiagnosticInfos() const;
+ [[nodiscard]] auto IsPackaged() const;
};
template <> struct consume<winrt::Windows::System::Diagnostics::IProcessDiagnosticInfo2>
{
@@ -448,8 +444,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Diagnostics_IProcessDiagnosticInfoStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo>) GetForProcesses() const;
- WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessDiagnosticInfo) GetForCurrentProcess() const;
+ auto GetForProcesses() const;
+ auto GetForCurrentProcess() const;
};
template <> struct consume<winrt::Windows::System::Diagnostics::IProcessDiagnosticInfoStatics>
{
@@ -458,7 +454,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::IProcessDiagnosticInfoStatics2>
{
@@ -467,7 +463,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Diagnostics_IProcessDiskUsage
{
- WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessDiskUsageReport) GetReport() const;
+ auto GetReport() const;
};
template <> struct consume<winrt::Windows::System::Diagnostics::IProcessDiskUsage>
{
@@ -476,12 +472,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::IProcessDiskUsageReport>
{
@@ -490,7 +486,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Diagnostics_IProcessMemoryUsage
{
- WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::ProcessMemoryUsageReport) GetReport() const;
+ auto GetReport() const;
};
template <> struct consume<winrt::Windows::System::Diagnostics::IProcessMemoryUsage>
{
@@ -499,18 +495,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::IProcessMemoryUsageReport>
{
@@ -519,7 +515,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Diagnostics_ISystemCpuUsage
{
- WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemCpuUsageReport) GetReport() const;
+ auto GetReport() const;
};
template <> struct consume<winrt::Windows::System::Diagnostics::ISystemCpuUsage>
{
@@ -528,9 +524,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::ISystemCpuUsageReport>
{
@@ -539,8 +535,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::ISystemDiagnosticInfo>
{
@@ -549,7 +545,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Diagnostics_ISystemDiagnosticInfoStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemDiagnosticInfo) GetForCurrentSystem() const;
+ auto GetForCurrentSystem() const;
};
template <> struct consume<winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics>
{
@@ -558,8 +554,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::ISystemDiagnosticInfoStatics2>
{
@@ -568,7 +564,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Diagnostics_ISystemMemoryUsage
{
- WINRT_IMPL_AUTO(winrt::Windows::System::Diagnostics::SystemMemoryUsageReport) GetReport() const;
+ auto GetReport() const;
};
template <> struct consume<winrt::Windows::System::Diagnostics::ISystemMemoryUsage>
{
@@ -577,9 +573,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::ISystemMemoryUsageReport>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.1.h
index 867032015b0..50c5c3f5633 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.2.h
index 91036747f5f..b221c09f152 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.0.h
index 0b639bfdfe1..ebb7724c391 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
struct consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalConnection
{
- WINRT_IMPL_AUTO(winrt::event_token) Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedEventArgs> const& handler) const;
+ auto Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedEventArgs> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection, &impl::abi_t<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedEventArgs> 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<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionRequestReceivedEventArgs> const& handler) const;
+ [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionClosedEventArgs> const& handler) const;
+ auto Closed(winrt::event_token const& token) const noexcept;
+ auto RequestReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionRequestReceivedEventArgs> const& handler) const;
using RequestReceived_revoker = impl::event_revoker<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection, &impl::abi_t<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection>::remove_RequestReceived>;
- [[nodiscard]] RequestReceived_revoker RequestReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionRequestReceivedEventArgs> 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<winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnection, winrt::Windows::System::Diagnostics::DevicePortal::DevicePortalConnectionRequestReceivedEventArgs> const& handler) const;
+ auto RequestReceived(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnection>
{
@@ -152,7 +148,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionClosedEventArgs>
{
@@ -161,8 +157,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionRequestReceivedEventArgs>
{
@@ -171,7 +167,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalConnectionStatics>
{
@@ -180,11 +176,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalWebSocketConnection>
{
@@ -193,9 +189,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Diagnostics_DevicePortal_IDevicePortalWebSocketConnectionRequestReceivedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsWebSocketUpgradeRequest() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) 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<winrt::Windows::System::Diagnostics::DevicePortal::IDevicePortalWebSocketConnectionRequestReceivedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.1.h
index b8d46016606..ad53c7d3439 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.2.h
index 31bc401a607..6ea1190d8b1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.DevicePortal.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.0.h
index 53c50a39e8f..1d0ad950dea 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryClientStatics>
{
@@ -77,7 +77,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationResult>
{
@@ -86,10 +86,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::Telemetry::IPlatformTelemetryRegistrationSettings>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.1.h
index dd0c35d830a..15e0b1017c0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.2.h
index 1c1fcc846ec..8a25b6a87e0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.Telemetry.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.0.h
index fc70e386cb0..be2aeab40fb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.0.h
+++ b/chromium/third_party/nearby/src/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 <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::System::Diagnostics::TraceReporting
{
@@ -119,14 +118,14 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring> 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<winrt::guid>) 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<winrt::Windows::System::Diagnostics::TraceReporting::PlatformDiagnosticTraceInfo>) 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<hstring, hstring> 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<winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticActionsStatics>
{
@@ -135,12 +134,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceInfo>
{
@@ -149,8 +148,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Diagnostics::TraceReporting::IPlatformDiagnosticTraceRuntimeInfo>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.1.h
index f3cf014c547..e96955dd349 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.2.h
index b280725668d..33323b650f4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Diagnostics.TraceReporting.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.0.h
index dc0724b72a2..18f4523b9c9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::System::Display::IDisplayRequest>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.1.h
index 4deacdd326a..ab1fd953b05 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.2.h
index 56f6f90fccd..a39dd89af1e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Display.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.0.h
index 9be1a62fb74..a9dea5ceb72 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> 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 <typename D>
struct consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventReceivedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Json() const;
+ [[nodiscard]] auto Json() const;
};
template <> struct consume<winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventReceivedEventArgs>
{
@@ -92,7 +90,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventReceivedEventArgsFactory>
{
@@ -101,10 +99,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderEventSource
{
- WINRT_IMPL_AUTO(winrt::event_token) EventReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource, winrt::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs> const& handler) const;
+ auto EventReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource, winrt::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs> const& handler) const;
using EventReceived_revoker = impl::event_revoker<winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource, &impl::abi_t<winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource>::remove_EventReceived>;
- [[nodiscard]] EventReceived_revoker EventReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource, winrt::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs> 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<winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource, winrt::Windows::System::Implementation::FileExplorer::SysStorageProviderEventReceivedEventArgs> const& handler) const;
+ auto EventReceived(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderEventSource>
{
@@ -113,8 +111,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderHandlerFactory>
{
@@ -123,7 +121,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Implementation_FileExplorer_ISysStorageProviderHttpRequestProvider
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Web::Http::HttpResponseMessage>) SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const;
+ auto SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const;
};
template <> struct consume<winrt::Windows::System::Implementation::FileExplorer::ISysStorageProviderHttpRequestProvider>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.1.h
index 6e5a0eb5b7c..a28bf5a92cf 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.2.h
index 0db98d25d8e..9abdcd9bfd9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Implementation.FileExplorer.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.0.h
index adfa96842aa..5b978a2aa92 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::System::Inventory
{
struct IInstalledDesktopApp;
@@ -48,10 +40,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Inventory::IInstalledDesktopApp>
{
@@ -60,7 +52,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Inventory_IInstalledDesktopAppStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::Inventory::InstalledDesktopApp>>) GetInventoryAsync() const;
+ auto GetInventoryAsync() const;
};
template <> struct consume<winrt::Windows::System::Inventory::IInstalledDesktopAppStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.1.h
index ae65cd3b55d..6dbab6166e7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.2.h
index d55b37e8dfd..386d3c2e708 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Inventory.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.0.h
index 96787778d68..d70b1407fc1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
using RecentEnergyUsageIncreased_revoker = impl::event_revoker<winrt::Windows::System::Power::IBackgroundEnergyManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IBackgroundEnergyManagerStatics>::remove_RecentEnergyUsageIncreased>;
- [[nodiscard]] RecentEnergyUsageIncreased_revoker RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto RecentEnergyUsageIncreased(winrt::event_token const& token) const noexcept;
+ auto RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using RecentEnergyUsageReturnedToLow_revoker = impl::event_revoker<winrt::Windows::System::Power::IBackgroundEnergyManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IBackgroundEnergyManagerStatics>::remove_RecentEnergyUsageReturnedToLow>;
- [[nodiscard]] RecentEnergyUsageReturnedToLow_revoker RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto RecentEnergyUsageReturnedToLow(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::Power::IBackgroundEnergyManagerStatics>
{
@@ -141,20 +141,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
using RecentEnergyUsageIncreased_revoker = impl::event_revoker<winrt::Windows::System::Power::IForegroundEnergyManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IForegroundEnergyManagerStatics>::remove_RecentEnergyUsageIncreased>;
- [[nodiscard]] RecentEnergyUsageIncreased_revoker RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto RecentEnergyUsageIncreased(winrt::event_token const& token) const noexcept;
+ auto RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using RecentEnergyUsageReturnedToLow_revoker = impl::event_revoker<winrt::Windows::System::Power::IForegroundEnergyManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IForegroundEnergyManagerStatics>::remove_RecentEnergyUsageReturnedToLow>;
- [[nodiscard]] RecentEnergyUsageReturnedToLow_revoker RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto RecentEnergyUsageReturnedToLow(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::Power::IForegroundEnergyManagerStatics>
{
@@ -163,31 +163,31 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto EnergySaverStatus() const;
+ auto EnergySaverStatusChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using EnergySaverStatusChanged_revoker = impl::event_revoker<winrt::Windows::System::Power::IPowerManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IPowerManagerStatics>::remove_EnergySaverStatusChanged>;
- [[nodiscard]] EnergySaverStatusChanged_revoker EnergySaverStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto EnergySaverStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto EnergySaverStatusChanged(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto BatteryStatus() const;
+ auto BatteryStatusChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using BatteryStatusChanged_revoker = impl::event_revoker<winrt::Windows::System::Power::IPowerManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IPowerManagerStatics>::remove_BatteryStatusChanged>;
- [[nodiscard]] BatteryStatusChanged_revoker BatteryStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto BatteryStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto BatteryStatusChanged(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto PowerSupplyStatus() const;
+ auto PowerSupplyStatusChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using PowerSupplyStatusChanged_revoker = impl::event_revoker<winrt::Windows::System::Power::IPowerManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IPowerManagerStatics>::remove_PowerSupplyStatusChanged>;
- [[nodiscard]] PowerSupplyStatusChanged_revoker PowerSupplyStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto PowerSupplyStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PowerSupplyStatusChanged(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto RemainingChargePercent() const;
+ auto RemainingChargePercentChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using RemainingChargePercentChanged_revoker = impl::event_revoker<winrt::Windows::System::Power::IPowerManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IPowerManagerStatics>::remove_RemainingChargePercentChanged>;
- [[nodiscard]] RemainingChargePercentChanged_revoker RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto RemainingChargePercentChanged(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto RemainingDischargeTime() const;
+ auto RemainingDischargeTimeChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using RemainingDischargeTimeChanged_revoker = impl::event_revoker<winrt::Windows::System::Power::IPowerManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IPowerManagerStatics>::remove_RemainingDischargeTimeChanged>;
- [[nodiscard]] RemainingDischargeTimeChanged_revoker RemainingDischargeTimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto RemainingDischargeTimeChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::Power::IPowerManagerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.1.h
index 2c048cc5f95..86f45003f7a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.2.h
index 465fdae9178..cb1ca811ee4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable> const& handler);
using RecentEnergyUsageIncreased_revoker = impl::factory_event_revoker<winrt::Windows::System::Power::IBackgroundEnergyManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IBackgroundEnergyManagerStatics>::remove_RecentEnergyUsageIncreased>;
- [[nodiscard]] static RecentEnergyUsageIncreased_revoker RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto RecentEnergyUsageIncreased(winrt::event_token const& token);
static auto RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using RecentEnergyUsageReturnedToLow_revoker = impl::factory_event_revoker<winrt::Windows::System::Power::IBackgroundEnergyManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IBackgroundEnergyManagerStatics>::remove_RecentEnergyUsageReturnedToLow>;
- [[nodiscard]] static RecentEnergyUsageReturnedToLow_revoker RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler);
using RecentEnergyUsageIncreased_revoker = impl::factory_event_revoker<winrt::Windows::System::Power::IForegroundEnergyManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IForegroundEnergyManagerStatics>::remove_RecentEnergyUsageIncreased>;
- [[nodiscard]] static RecentEnergyUsageIncreased_revoker RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto RecentEnergyUsageIncreased(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto RecentEnergyUsageIncreased(winrt::event_token const& token);
static auto RecentEnergyUsageReturnedToLow(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using RecentEnergyUsageReturnedToLow_revoker = impl::factory_event_revoker<winrt::Windows::System::Power::IForegroundEnergyManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IForegroundEnergyManagerStatics>::remove_RecentEnergyUsageReturnedToLow>;
- [[nodiscard]] static RecentEnergyUsageReturnedToLow_revoker RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto RecentEnergyUsageReturnedToLow(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler);
using EnergySaverStatusChanged_revoker = impl::factory_event_revoker<winrt::Windows::System::Power::IPowerManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IPowerManagerStatics>::remove_EnergySaverStatusChanged>;
- [[nodiscard]] static EnergySaverStatusChanged_revoker EnergySaverStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto EnergySaverStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto EnergySaverStatusChanged(winrt::event_token const& token);
[[nodiscard]] static auto BatteryStatus();
static auto BatteryStatusChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using BatteryStatusChanged_revoker = impl::factory_event_revoker<winrt::Windows::System::Power::IPowerManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IPowerManagerStatics>::remove_BatteryStatusChanged>;
- [[nodiscard]] static BatteryStatusChanged_revoker BatteryStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto BatteryStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto BatteryStatusChanged(winrt::event_token const& token);
[[nodiscard]] static auto PowerSupplyStatus();
static auto PowerSupplyStatusChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using PowerSupplyStatusChanged_revoker = impl::factory_event_revoker<winrt::Windows::System::Power::IPowerManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IPowerManagerStatics>::remove_PowerSupplyStatusChanged>;
- [[nodiscard]] static PowerSupplyStatusChanged_revoker PowerSupplyStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto PowerSupplyStatusChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto PowerSupplyStatusChanged(winrt::event_token const& token);
[[nodiscard]] static auto RemainingChargePercent();
static auto RemainingChargePercentChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using RemainingChargePercentChanged_revoker = impl::factory_event_revoker<winrt::Windows::System::Power::IPowerManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IPowerManagerStatics>::remove_RemainingChargePercentChanged>;
- [[nodiscard]] static RemainingChargePercentChanged_revoker RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto RemainingChargePercentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto RemainingChargePercentChanged(winrt::event_token const& token);
[[nodiscard]] static auto RemainingDischargeTime();
static auto RemainingDischargeTimeChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using RemainingDischargeTimeChanged_revoker = impl::factory_event_revoker<winrt::Windows::System::Power::IPowerManagerStatics, &impl::abi_t<winrt::Windows::System::Power::IPowerManagerStatics>::remove_RemainingDischargeTimeChanged>;
- [[nodiscard]] static RemainingDischargeTimeChanged_revoker RemainingDischargeTimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto RemainingDischargeTimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto RemainingDischargeTimeChanged(winrt::event_token const& token);
};
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.0.h
index 605c0b6b48a..64ae491e313 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::System::Power::Diagnostics::IBackgroundEnergyDiagnosticsStatics>
{
@@ -54,9 +54,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Power::Diagnostics::IForegroundEnergyDiagnosticsStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.1.h
index e5202868356..39ef4aad3fd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.2.h
index d62b43c9f82..8c4915a5788 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Power.Diagnostics.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.0.h
index 80351ab2873..863415e7ea0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::System::Preview
@@ -95,11 +94,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreview
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReading>) GetCurrentPostureAsync() const;
- WINRT_IMPL_AUTO(winrt::event_token) PostureChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreview, winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> const& handler) const;
+ auto GetCurrentPostureAsync() const;
+ auto PostureChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreview, winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> const& handler) const;
using PostureChanged_revoker = impl::event_revoker<winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreview, &impl::abi_t<winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreview>::remove_PostureChanged>;
- [[nodiscard]] PostureChanged_revoker PostureChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreview, winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> 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<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreview, winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs> const& handler) const;
+ auto PostureChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreview>
{
@@ -108,12 +107,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewReading>
{
@@ -122,7 +121,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewReadingChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreviewReading) Reading() const;
+ [[nodiscard]] auto Reading() const;
};
template <> struct consume<winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewReadingChangedEventArgs>
{
@@ -131,7 +130,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Preview_ITwoPanelHingedDevicePosturePreviewStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::Preview::TwoPanelHingedDevicePosturePreview>) GetDefaultAsync() const;
+ auto GetDefaultAsync() const;
};
template <> struct consume<winrt::Windows::System::Preview::ITwoPanelHingedDevicePosturePreviewStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.1.h
index 837c443f332..e43a5f39370 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.2.h
index 505267c1966..eff527e61c6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Preview.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.0.h
index 33a825a51c6..00ab592a080 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
@@ -350,8 +347,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Profile::IAnalyticsInfoStatics>
{
@@ -360,7 +357,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Profile_IAnalyticsInfoStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IMapView<hstring, hstring>>) GetSystemPropertiesAsync(param::async_iterable<hstring> const& attributeNames) const;
+ auto GetSystemPropertiesAsync(param::async_iterable<hstring> const& attributeNames) const;
};
template <> struct consume<winrt::Windows::System::Profile::IAnalyticsInfoStatics2>
{
@@ -369,8 +366,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Profile::IAnalyticsVersionInfo>
{
@@ -379,7 +376,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Profile_IAnalyticsVersionInfo2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ProductName() const;
+ [[nodiscard]] auto ProductName() const;
};
template <> struct consume<winrt::Windows::System::Profile::IAnalyticsVersionInfo2>
{
@@ -388,7 +385,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Profile_IAppApplicabilityStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::Profile::UnsupportedAppRequirement>) GetUnsupportedAppRequirements(param::iterable<hstring> const& capabilities) const;
+ auto GetUnsupportedAppRequirements(param::iterable<hstring> const& capabilities) const;
};
template <> struct consume<winrt::Windows::System::Profile::IAppApplicabilityStatics>
{
@@ -397,7 +394,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Profile_IEducationSettingsStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEducationEnvironment() const;
+ [[nodiscard]] auto IsEducationEnvironment() const;
};
template <> struct consume<winrt::Windows::System::Profile::IEducationSettingsStatics>
{
@@ -406,7 +403,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Profile::IHardwareIdentificationStatics>
{
@@ -415,9 +412,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Profile::IHardwareToken>
{
@@ -426,28 +423,28 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Profile::IKnownRetailInfoPropertiesStatics>
{
@@ -456,12 +453,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto CollectionLevel() const;
+ auto CollectionLevelChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using CollectionLevelChanged_revoker = impl::event_revoker<winrt::Windows::System::Profile::IPlatformDiagnosticsAndUsageDataSettingsStatics, &impl::abi_t<winrt::Windows::System::Profile::IPlatformDiagnosticsAndUsageDataSettingsStatics>::remove_CollectionLevelChanged>;
- [[nodiscard]] CollectionLevelChanged_revoker CollectionLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::System::Profile::IPlatformDiagnosticsAndUsageDataSettingsStatics>
{
@@ -470,8 +467,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Profile_IRetailInfoStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDemoModeEnabled() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMapView<hstring, winrt::Windows::Foundation::IInspectable>) Properties() const;
+ [[nodiscard]] auto IsDemoModeEnabled() const;
+ [[nodiscard]] auto Properties() const;
};
template <> struct consume<winrt::Windows::System::Profile::IRetailInfoStatics>
{
@@ -480,7 +477,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Profile_ISharedModeSettingsStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsEnabled() const;
+ [[nodiscard]] auto IsEnabled() const;
};
template <> struct consume<winrt::Windows::System::Profile::ISharedModeSettingsStatics>
{
@@ -489,7 +486,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Profile_ISharedModeSettingsStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) ShouldAvoidLocalStorage() const;
+ [[nodiscard]] auto ShouldAvoidLocalStorage() const;
};
template <> struct consume<winrt::Windows::System::Profile::ISharedModeSettingsStatics2>
{
@@ -498,8 +495,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Profile::ISystemIdentificationInfo>
{
@@ -508,8 +505,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Profile::ISystemIdentificationStatics>
{
@@ -518,11 +515,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto OutOfBoxExperienceState() const;
+ auto OutOfBoxExperienceStateChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using OutOfBoxExperienceStateChanged_revoker = impl::event_revoker<winrt::Windows::System::Profile::ISystemSetupInfoStatics, &impl::abi_t<winrt::Windows::System::Profile::ISystemSetupInfoStatics>::remove_OutOfBoxExperienceStateChanged>;
- [[nodiscard]] OutOfBoxExperienceStateChanged_revoker OutOfBoxExperienceStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto OutOfBoxExperienceStateChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::Profile::ISystemSetupInfoStatics>
{
@@ -531,8 +528,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Profile::IUnsupportedAppRequirement>
{
@@ -541,14 +538,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
using PolicyChanged_revoker = impl::event_revoker<winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics, &impl::abi_t<winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics>::remove_PolicyChanged>;
- [[nodiscard]] PolicyChanged_revoker PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PolicyChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.1.h
index 9434d2ee70c..1c534fdbbc4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.2.h
index 1fa1dadc400..89da950543f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable> const& handler);
using CollectionLevelChanged_revoker = impl::factory_event_revoker<winrt::Windows::System::Profile::IPlatformDiagnosticsAndUsageDataSettingsStatics, &impl::abi_t<winrt::Windows::System::Profile::IPlatformDiagnosticsAndUsageDataSettingsStatics>::remove_CollectionLevelChanged>;
- [[nodiscard]] static CollectionLevelChanged_revoker CollectionLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto CollectionLevelChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler);
using OutOfBoxExperienceStateChanged_revoker = impl::factory_event_revoker<winrt::Windows::System::Profile::ISystemSetupInfoStatics, &impl::abi_t<winrt::Windows::System::Profile::ISystemSetupInfoStatics>::remove_OutOfBoxExperienceStateChanged>;
- [[nodiscard]] static OutOfBoxExperienceStateChanged_revoker OutOfBoxExperienceStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto OutOfBoxExperienceStateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler);
using PolicyChanged_revoker = impl::factory_event_revoker<winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics, &impl::abi_t<winrt::Windows::System::Profile::IWindowsIntegrityPolicyStatics>::remove_PolicyChanged>;
- [[nodiscard]] static PolicyChanged_revoker PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto PolicyChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto PolicyChanged(winrt::event_token const& token);
};
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.0.h
index 145020fcb98..d7be65098ca 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::System::Profile::SystemManufacturers::IOemSupportInfo>
{
@@ -104,7 +104,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_Profile_SystemManufacturers_ISmbiosInformationStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) SerialNumber() const;
+ [[nodiscard]] auto SerialNumber() const;
};
template <> struct consume<winrt::Windows::System::Profile::SystemManufacturers::ISmbiosInformationStatics>
{
@@ -113,13 +113,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Profile::SystemManufacturers::ISystemSupportDeviceInfo>
{
@@ -128,8 +128,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Profile::SystemManufacturers::ISystemSupportInfoStatics>
{
@@ -138,7 +138,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Profile::SystemManufacturers::ISystemSupportInfoStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.1.h
index 929d183121e..84f22cfddb9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.2.h
index 122511b6b25..87869bf9bed 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Profile.SystemManufacturers.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.0.h
index 7e81dbcd70a..3e2aaf1ef42 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
struct consume_Windows_System_RemoteDesktop_IInteractiveSessionStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsRemote() const;
+ [[nodiscard]] auto IsRemote() const;
};
template <> struct consume<winrt::Windows::System::RemoteDesktop::IInteractiveSessionStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.1.h
index c598fc0cf8d..9532e09a56d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.2.h
index 8aab60b19dc..a751b2d6dda 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteDesktop.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.0.h
index dfc0fc63dfe..e94baa3a2d2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IVectorView;
struct ValueSet;
}
WINRT_EXPORT namespace winrt::Windows::Networking
@@ -1141,10 +1137,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IKnownRemoteSystemCapabilitiesStatics>
{
@@ -1153,11 +1149,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystem>
{
@@ -1166,8 +1162,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystem2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAvailableBySpatialProximity() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) GetCapabilitySupportedAsync(param::hstring const& capabilityName) const;
+ [[nodiscard]] auto IsAvailableBySpatialProximity() const;
+ auto GetCapabilitySupportedAsync(param::hstring const& capabilityName) const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystem2>
{
@@ -1176,8 +1172,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystem3>
{
@@ -1186,7 +1182,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystem4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemPlatform) Platform() const;
+ [[nodiscard]] auto Platform() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystem4>
{
@@ -1195,7 +1191,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystem5
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::RemoteSystems::RemoteSystemApp>) Apps() const;
+ [[nodiscard]] auto Apps() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystem5>
{
@@ -1204,7 +1200,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystem6
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
+ [[nodiscard]] auto User() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystem6>
{
@@ -1213,7 +1209,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemAddedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) RemoteSystem() const;
+ [[nodiscard]] auto RemoteSystem() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemAddedEventArgs>
{
@@ -1222,11 +1218,11 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring>) 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<winrt::Windows::System::RemoteSystems::IRemoteSystemApp>
{
@@ -1235,8 +1231,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemApp2>
{
@@ -1245,9 +1241,9 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring>) Attributes() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) SaveAsync() const;
+ [[nodiscard]] auto User() const;
+ [[nodiscard]] auto Attributes() const;
+ auto SaveAsync() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemAppRegistration>
{
@@ -1256,8 +1252,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemAppRegistrationStatics>
{
@@ -1266,7 +1262,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemAuthorizationKindFilter
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemAuthorizationKind) RemoteSystemAuthorizationKind() const;
+ [[nodiscard]] auto RemoteSystemAuthorizationKind() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemAuthorizationKindFilter>
{
@@ -1275,7 +1271,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemAuthorizationKindFilterFactory>
{
@@ -1284,7 +1280,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemConnectionInfo
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsProximal() const;
+ [[nodiscard]] auto IsProximal() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionInfo>
{
@@ -1293,7 +1289,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionInfoStatics>
{
@@ -1302,7 +1298,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) RemoteSystem() const;
+ [[nodiscard]] auto RemoteSystem() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionRequest>
{
@@ -1311,7 +1307,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemApp) RemoteSystemApp() const;
+ [[nodiscard]] auto RemoteSystemApp() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionRequest2>
{
@@ -1320,7 +1316,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemConnectionRequest3
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ConnectionToken() const;
+ [[nodiscard]] auto ConnectionToken() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionRequest3>
{
@@ -1329,7 +1325,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionRequestFactory>
{
@@ -1338,7 +1334,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionRequestStatics>
{
@@ -1347,8 +1343,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemConnectionRequestStatics2>
{
@@ -1357,7 +1353,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemDiscoveryTypeFilter
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemDiscoveryType) RemoteSystemDiscoveryType() const;
+ [[nodiscard]] auto RemoteSystemDiscoveryType() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemDiscoveryTypeFilter>
{
@@ -1366,7 +1362,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemDiscoveryTypeFilterFactory>
{
@@ -1391,7 +1387,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemKindFilter
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) RemoteSystemKinds() const;
+ [[nodiscard]] auto RemoteSystemKinds() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemKindFilter>
{
@@ -1400,7 +1396,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemKindFilterFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemKindFilter) Create(param::iterable<hstring> const& remoteSystemKinds) const;
+ auto Create(param::iterable<hstring> const& remoteSystemKinds) const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemKindFilterFactory>
{
@@ -1409,11 +1405,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemKindStatics>
{
@@ -1422,9 +1418,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemKindStatics2>
{
@@ -1433,7 +1429,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemRemovedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) RemoteSystemId() const;
+ [[nodiscard]] auto RemoteSystemId() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemRemovedEventArgs>
{
@@ -1442,15 +1438,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::RemoteSystemSession, winrt::Windows::System::RemoteSystems::RemoteSystemSessionDisconnectedEventArgs> const& handler) const;
+ [[nodiscard]] auto Id() const;
+ [[nodiscard]] auto DisplayName() const;
+ [[nodiscard]] auto ControllerDisplayName() const;
+ auto Disconnected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSession, winrt::Windows::System::RemoteSystems::RemoteSystemSessionDisconnectedEventArgs> const& handler) const;
using Disconnected_revoker = impl::event_revoker<winrt::Windows::System::RemoteSystems::IRemoteSystemSession, &impl::abi_t<winrt::Windows::System::RemoteSystems::IRemoteSystemSession>::remove_Disconnected>;
- [[nodiscard]] Disconnected_revoker Disconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSession, winrt::Windows::System::RemoteSystems::RemoteSystemSessionDisconnectedEventArgs> 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<bool>) SendInvitationAsync(winrt::Windows::System::RemoteSystems::RemoteSystem const& invitee) const;
+ [[nodiscard]] auto Disconnected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSession, winrt::Windows::System::RemoteSystems::RemoteSystemSessionDisconnectedEventArgs> 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<winrt::Windows::System::RemoteSystems::IRemoteSystemSession>
{
@@ -1459,7 +1455,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionAddedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo) SessionInfo() const;
+ [[nodiscard]] auto SessionInfo() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionAddedEventArgs>
{
@@ -1468,12 +1464,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionController
{
- WINRT_IMPL_AUTO(winrt::event_token) JoinRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionController, winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinRequestedEventArgs> const& handler) const;
+ auto JoinRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionController, winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinRequestedEventArgs> const& handler) const;
using JoinRequested_revoker = impl::event_revoker<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionController, &impl::abi_t<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionController>::remove_JoinRequested>;
- [[nodiscard]] JoinRequested_revoker JoinRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionController, winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinRequestedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) JoinRequested(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RemoveParticipantAsync(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant const& pParticipant) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::RemoteSystems::RemoteSystemSessionCreationResult>) CreateSessionAsync() const;
+ [[nodiscard]] auto JoinRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionController, winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinRequestedEventArgs> 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<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionController>
{
@@ -1482,8 +1478,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionControllerFactory>
{
@@ -1492,8 +1488,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionCreationResult>
{
@@ -1502,7 +1498,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionDisconnectedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionDisconnectedReason) Reason() const;
+ [[nodiscard]] auto Reason() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionDisconnectedEventArgs>
{
@@ -1511,9 +1507,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::RemoteSystemSessionJoinResult>) JoinAsync() const;
+ [[nodiscard]] auto DisplayName() const;
+ [[nodiscard]] auto ControllerDisplayName() const;
+ auto JoinAsync() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionInfo>
{
@@ -1522,8 +1518,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionInvitation>
{
@@ -1532,10 +1528,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationListener
{
- WINRT_IMPL_AUTO(winrt::event_token) InvitationReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitationListener, winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitationReceivedEventArgs> const& handler) const;
+ auto InvitationReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitationListener, winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitationReceivedEventArgs> const& handler) const;
using InvitationReceived_revoker = impl::event_revoker<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionInvitationListener, &impl::abi_t<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionInvitationListener>::remove_InvitationReceived>;
- [[nodiscard]] InvitationReceived_revoker InvitationReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitationListener, winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitationReceivedEventArgs> 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<winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitationListener, winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitationReceivedEventArgs> const& handler) const;
+ auto InvitationReceived(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionInvitationListener>
{
@@ -1544,7 +1540,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionInvitationReceivedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInvitation) Invitation() const;
+ [[nodiscard]] auto Invitation() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionInvitationReceivedEventArgs>
{
@@ -1553,8 +1549,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionJoinRequest>
{
@@ -1563,8 +1559,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionJoinRequestedEventArgs>
{
@@ -1573,8 +1569,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionJoinResult>
{
@@ -1583,14 +1579,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionMessageChannel
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSession) Session() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) BroadcastValueSetAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) SendValueSetAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant const& participant) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) SendValueSetToParticipantsAsync(winrt::Windows::Foundation::Collections::ValueSet const& messageData, param::async_iterable<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant> const& participants) const;
- WINRT_IMPL_AUTO(winrt::event_token) ValueSetReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel, winrt::Windows::System::RemoteSystems::RemoteSystemSessionValueSetReceivedEventArgs> 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<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant> const& participants) const;
+ auto ValueSetReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel, winrt::Windows::System::RemoteSystems::RemoteSystemSessionValueSetReceivedEventArgs> const& handler) const;
using ValueSetReceived_revoker = impl::event_revoker<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionMessageChannel, &impl::abi_t<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionMessageChannel>::remove_ValueSetReceived>;
- [[nodiscard]] ValueSetReceived_revoker ValueSetReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel, winrt::Windows::System::RemoteSystems::RemoteSystemSessionValueSetReceivedEventArgs> 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<winrt::Windows::System::RemoteSystems::RemoteSystemSessionMessageChannel, winrt::Windows::System::RemoteSystems::RemoteSystemSessionValueSetReceivedEventArgs> const& handler) const;
+ auto ValueSetReceived(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionMessageChannel>
{
@@ -1599,8 +1595,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionMessageChannelFactory>
{
@@ -1609,8 +1605,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionOptions>
{
@@ -1619,8 +1615,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Networking::HostName>) GetHostNames() const;
+ [[nodiscard]] auto RemoteSystem() const;
+ auto GetHostNames() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipant>
{
@@ -1629,7 +1625,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantAddedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant) Participant() const;
+ [[nodiscard]] auto Participant() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantAddedEventArgs>
{
@@ -1638,7 +1634,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionParticipantRemovedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipant) Participant() const;
+ [[nodiscard]] auto Participant() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantRemovedEventArgs>
{
@@ -1647,21 +1643,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantAddedEventArgs> const& handler) const;
+ auto Start() const;
+ auto Stop() const;
+ [[nodiscard]] auto Status() const;
+ auto Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantAddedEventArgs> const& handler) const;
using Added_revoker = impl::event_revoker<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher, &impl::abi_t<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher>::remove_Added>;
- [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantAddedEventArgs> 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<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantRemovedEventArgs> const& handler) const;
+ [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantAddedEventArgs> const& handler) const;
+ auto Added(winrt::event_token const& token) const noexcept;
+ auto Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantRemovedEventArgs> const& handler) const;
using Removed_revoker = impl::event_revoker<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher, &impl::abi_t<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher>::remove_Removed>;
- [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantRemovedEventArgs> 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<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantRemovedEventArgs> const& handler) const;
+ auto Removed(winrt::event_token const& token) const noexcept;
+ auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
using EnumerationCompleted_revoker = impl::event_revoker<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher, &impl::abi_t<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher>::remove_EnumerationCompleted>;
- [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::System::RemoteSystems::RemoteSystemSessionParticipantWatcher, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto EnumerationCompleted(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionParticipantWatcher>
{
@@ -1670,7 +1666,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionRemovedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo) SessionInfo() const;
+ [[nodiscard]] auto SessionInfo() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionRemovedEventArgs>
{
@@ -1679,7 +1675,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher) CreateWatcher() const;
+ auto CreateWatcher() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionStatics>
{
@@ -1688,7 +1684,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemSessionUpdatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemSessionInfo) SessionInfo() const;
+ [[nodiscard]] auto SessionInfo() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionUpdatedEventArgs>
{
@@ -1697,8 +1693,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionValueSetReceivedEventArgs>
{
@@ -1707,21 +1703,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionAddedEventArgs> const& handler) const;
+ auto Start() const;
+ auto Stop() const;
+ [[nodiscard]] auto Status() const;
+ auto Added(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionAddedEventArgs> const& handler) const;
using Added_revoker = impl::event_revoker<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher, &impl::abi_t<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher>::remove_Added>;
- [[nodiscard]] Added_revoker Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionAddedEventArgs> 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<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionUpdatedEventArgs> const& handler) const;
+ [[nodiscard]] auto Added(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionAddedEventArgs> const& handler) const;
+ auto Added(winrt::event_token const& token) const noexcept;
+ auto Updated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionUpdatedEventArgs> const& handler) const;
using Updated_revoker = impl::event_revoker<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher, &impl::abi_t<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher>::remove_Updated>;
- [[nodiscard]] Updated_revoker Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionUpdatedEventArgs> 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<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionRemovedEventArgs> const& handler) const;
+ [[nodiscard]] auto Updated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionUpdatedEventArgs> const& handler) const;
+ auto Updated(winrt::event_token const& token) const noexcept;
+ auto Removed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionRemovedEventArgs> const& handler) const;
using Removed_revoker = impl::event_revoker<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher, &impl::abi_t<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher>::remove_Removed>;
- [[nodiscard]] Removed_revoker Removed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionRemovedEventArgs> 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<winrt::Windows::System::RemoteSystems::RemoteSystemSessionWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemSessionRemovedEventArgs> const& handler) const;
+ auto Removed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemSessionWatcher>
{
@@ -1730,10 +1726,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::RemoteSystems::RemoteSystem>) 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<winrt::Windows::System::RemoteSystems::IRemoteSystemFilter> const& filters) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::RemoteSystems::RemoteSystemAccessStatus>) RequestAccessAsync() const;
+ auto FindByHostNameAsync(winrt::Windows::Networking::HostName const& hostName) const;
+ auto CreateWatcher() const;
+ auto CreateWatcher(param::iterable<winrt::Windows::System::RemoteSystems::IRemoteSystemFilter> const& filters) const;
+ auto RequestAccessAsync() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemStatics>
{
@@ -1742,7 +1738,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemStatics2>
{
@@ -1751,8 +1747,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemFilter> const& filters) const;
+ auto CreateWatcherForUser(winrt::Windows::System::User const& user) const;
+ auto CreateWatcherForUser(winrt::Windows::System::User const& user, param::iterable<winrt::Windows::System::RemoteSystems::IRemoteSystemFilter> const& filters) const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemStatics3>
{
@@ -1761,7 +1757,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemStatusTypeFilter
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemStatusType) RemoteSystemStatusType() const;
+ [[nodiscard]] auto RemoteSystemStatusType() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemStatusTypeFilter>
{
@@ -1770,7 +1766,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemStatusTypeFilterFactory>
{
@@ -1779,7 +1775,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemUpdatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystem) RemoteSystem() const;
+ [[nodiscard]] auto RemoteSystem() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemUpdatedEventArgs>
{
@@ -1788,20 +1784,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemAddedEventArgs> const& handler) const;
+ auto Start() const;
+ auto Stop() const;
+ auto RemoteSystemAdded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemAddedEventArgs> const& handler) const;
using RemoteSystemAdded_revoker = impl::event_revoker<winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher, &impl::abi_t<winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher>::remove_RemoteSystemAdded>;
- [[nodiscard]] RemoteSystemAdded_revoker RemoteSystemAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemAddedEventArgs> 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<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemUpdatedEventArgs> const& handler) const;
+ [[nodiscard]] auto RemoteSystemAdded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemAddedEventArgs> const& handler) const;
+ auto RemoteSystemAdded(winrt::event_token const& token) const noexcept;
+ auto RemoteSystemUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemUpdatedEventArgs> const& handler) const;
using RemoteSystemUpdated_revoker = impl::event_revoker<winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher, &impl::abi_t<winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher>::remove_RemoteSystemUpdated>;
- [[nodiscard]] RemoteSystemUpdated_revoker RemoteSystemUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemUpdatedEventArgs> 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<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemRemovedEventArgs> const& handler) const;
+ [[nodiscard]] auto RemoteSystemUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemUpdatedEventArgs> const& handler) const;
+ auto RemoteSystemUpdated(winrt::event_token const& token) const noexcept;
+ auto RemoteSystemRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemRemovedEventArgs> const& handler) const;
using RemoteSystemRemoved_revoker = impl::event_revoker<winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher, &impl::abi_t<winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher>::remove_RemoteSystemRemoved>;
- [[nodiscard]] RemoteSystemRemoved_revoker RemoteSystemRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemRemovedEventArgs> 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<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemRemovedEventArgs> const& handler) const;
+ auto RemoteSystemRemoved(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher>
{
@@ -1810,14 +1806,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemWatcher2
{
- WINRT_IMPL_AUTO(winrt::event_token) EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemEnumerationCompletedEventArgs> const& handler) const;
+ auto EnumerationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemEnumerationCompletedEventArgs> const& handler) const;
using EnumerationCompleted_revoker = impl::event_revoker<winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher2, &impl::abi_t<winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher2>::remove_EnumerationCompleted>;
- [[nodiscard]] EnumerationCompleted_revoker EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemEnumerationCompletedEventArgs> 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<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemWatcherErrorOccurredEventArgs> const& handler) const;
+ [[nodiscard]] auto EnumerationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemEnumerationCompletedEventArgs> const& handler) const;
+ auto EnumerationCompleted(winrt::event_token const& token) const noexcept;
+ auto ErrorOccurred(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemWatcherErrorOccurredEventArgs> const& handler) const;
using ErrorOccurred_revoker = impl::event_revoker<winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher2, &impl::abi_t<winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher2>::remove_ErrorOccurred>;
- [[nodiscard]] ErrorOccurred_revoker ErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemWatcherErrorOccurredEventArgs> 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<winrt::Windows::System::RemoteSystems::RemoteSystemWatcher, winrt::Windows::System::RemoteSystems::RemoteSystemWatcherErrorOccurredEventArgs> const& handler) const;
+ auto ErrorOccurred(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher2>
{
@@ -1826,7 +1822,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemWatcher3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
+ [[nodiscard]] auto User() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemWatcher3>
{
@@ -1835,7 +1831,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemWatcherErrorOccurredEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::RemoteSystems::RemoteSystemWatcherError) Error() const;
+ [[nodiscard]] auto Error() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemWatcherErrorOccurredEventArgs>
{
@@ -1844,7 +1840,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_RemoteSystems_IRemoteSystemWebAccountFilter
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Security::Credentials::WebAccount) Account() const;
+ [[nodiscard]] auto Account() const;
};
template <> struct consume<winrt::Windows::System::RemoteSystems::IRemoteSystemWebAccountFilter>
{
@@ -1853,7 +1849,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::RemoteSystems::IRemoteSystemWebAccountFilterFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.1.h
index c2b837331a8..a54bc773250 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.2.h
index 85323f3db5f..ca0443ca269 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.RemoteSystems.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.0.h
index 68ab8dfd3d8..ada2cd2349a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::System::Threading::IThreadPoolStatics>
{
@@ -121,9 +121,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Threading::IThreadPoolTimer>
{
@@ -132,10 +132,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Threading::IThreadPoolTimerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.1.h
index 7f457d0018d..d12ee55a43b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.2.h
index 60cdce4a3f3..42775eeaedc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.0.h
index 26dd9a1638c..0e2bc3c1840 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
struct consume_Windows_System_Threading_Core_IPreallocatedWorkItem
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncAction) RunAsync() const;
+ auto RunAsync() const;
};
template <> struct consume<winrt::Windows::System::Threading::Core::IPreallocatedWorkItem>
{
@@ -99,9 +99,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Threading::Core::IPreallocatedWorkItemFactory>
{
@@ -110,8 +110,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Threading::Core::ISignalNotifier>
{
@@ -120,10 +120,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Threading::Core::ISignalNotifierStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.1.h
index ab5e792f636..08c2de3b304 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.2.h
index 045fefec5a7..5035768f014 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Threading.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.0.h
index 0a4eb09c085..06f4453846b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
struct HResult;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
-}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::System::Update
{
@@ -146,14 +141,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Update::ISystemUpdateItem>
{
@@ -162,9 +157,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::Update::ISystemUpdateLastErrorInfo>
{
@@ -173,32 +168,32 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto IsSupported() const;
+ [[nodiscard]] auto State() const;
+ auto StateChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using StateChanged_revoker = impl::event_revoker<winrt::Windows::System::Update::ISystemUpdateManagerStatics, &impl::abi_t<winrt::Windows::System::Update::ISystemUpdateManagerStatics>::remove_StateChanged>;
- [[nodiscard]] StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<hstring>) GetAutomaticRebootBlockIds() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) BlockAutomaticRebootAsync(param::hstring const& lockId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) UnblockAutomaticRebootAsync(param::hstring const& lockId) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::System::Update::SystemUpdateItem>) 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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::System::Update::ISystemUpdateManagerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.1.h
index e03bf32d6fc..29d391e607b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.2.h
index ce580f7143c..ca64d2c61af 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.Update.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable> const& handler);
using StateChanged_revoker = impl::factory_event_revoker<winrt::Windows::System::Update::ISystemUpdateManagerStatics, &impl::abi_t<winrt::Windows::System::Update::ISystemUpdateManagerStatics>::remove_StateChanged>;
- [[nodiscard]] static StateChanged_revoker StateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto StateChanged(winrt::event_token const& token);
[[nodiscard]] static auto DownloadProgress();
[[nodiscard]] static auto InstallProgress();
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.0.h
index 7b8ab844e79..7bd5b788662 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
struct IAsyncAction;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Globalization
{
@@ -339,8 +337,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::UserProfile::IAdvertisingManagerForUser>
{
@@ -349,7 +347,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_UserProfile_IAdvertisingManagerStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) AdvertisingId() const;
+ [[nodiscard]] auto AdvertisingId() const;
};
template <> struct consume<winrt::Windows::System::UserProfile::IAdvertisingManagerStatics>
{
@@ -358,7 +356,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::UserProfile::IAdvertisingManagerStatics2>
{
@@ -367,9 +365,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::UserProfile::IAssignedAccessSettings>
{
@@ -378,8 +376,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::UserProfile::IAssignedAccessSettingsStatics>
{
@@ -388,8 +386,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::UserProfile::IDiagnosticsSettings>
{
@@ -398,8 +396,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::UserProfile::IDiagnosticsSettingsStatics>
{
@@ -416,7 +414,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_UserProfile_IFirstSignInSettingsStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::System::UserProfile::FirstSignInSettings) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::System::UserProfile::IFirstSignInSettingsStatics>
{
@@ -425,13 +423,13 @@ namespace winrt::impl
template <typename D>
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<hstring>) Calendars() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) Clocks() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) Currencies() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) 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<winrt::Windows::System::UserProfile::IGlobalizationPreferencesForUser>
{
@@ -440,12 +438,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) Calendars() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) Clocks() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) Currencies() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) 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<winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics>
{
@@ -454,8 +452,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_UserProfile_IGlobalizationPreferencesStatics2
{
- WINRT_IMPL_AUTO(bool) TrySetHomeGeographicRegion(param::hstring const& region) const;
- WINRT_IMPL_AUTO(bool) TrySetLanguages(param::iterable<hstring> const& languageTags) const;
+ auto TrySetHomeGeographicRegion(param::hstring const& region) const;
+ auto TrySetLanguages(param::iterable<hstring> const& languageTags) const;
};
template <> struct consume<winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics2>
{
@@ -464,7 +462,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::UserProfile::IGlobalizationPreferencesStatics3>
{
@@ -473,8 +471,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_UserProfile_ILockScreenImageFeedStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::UserProfile::SetImageFeedResult>) 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<winrt::Windows::System::UserProfile::ILockScreenImageFeedStatics>
{
@@ -483,10 +481,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::UserProfile::ILockScreenStatics>
{
@@ -495,23 +493,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::UserProfile::SetAccountPictureResult>) SetAccountPictureAsync(winrt::Windows::Storage::IStorageFile const& image) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::UserProfile::SetAccountPictureResult>) 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<winrt::Windows::System::UserProfile::SetAccountPictureResult>) SetAccountPictureFromStreamAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& image) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::System::UserProfile::SetAccountPictureResult>) 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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& changeHandler) const;
using AccountPictureChanged_revoker = impl::event_revoker<winrt::Windows::System::UserProfile::IUserInformationStatics, &impl::abi_t<winrt::Windows::System::UserProfile::IUserInformationStatics>::remove_AccountPictureChanged>;
- [[nodiscard]] AccountPictureChanged_revoker AccountPictureChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler) const;
- WINRT_IMPL_AUTO(void) AccountPictureChanged(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetDisplayNameAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetFirstNameAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetLastNameAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetPrincipalNameAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Uri>) GetSessionInitiationProtocolUriAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<hstring>) GetDomainNameAsync() const;
+ [[nodiscard]] auto AccountPictureChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::System::UserProfile::IUserInformationStatics>
{
@@ -520,8 +518,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_System_UserProfile_IUserProfilePersonalizationSettings
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TrySetLockScreenImageAsync(winrt::Windows::Storage::StorageFile const& imageFile) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::System::UserProfile::IUserProfilePersonalizationSettings>
{
@@ -530,8 +528,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::System::UserProfile::IUserProfilePersonalizationSettingsStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.1.h
index 6731bbe5f4d..c89f8b92ce6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.2.h
index 9aab66e6123..021c997da58 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.System.UserProfile.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable> const& changeHandler);
using AccountPictureChanged_revoker = impl::factory_event_revoker<winrt::Windows::System::UserProfile::IUserInformationStatics, &impl::abi_t<winrt::Windows::System::UserProfile::IUserInformationStatics>::remove_AccountPictureChanged>;
- [[nodiscard]] static AccountPictureChanged_revoker AccountPictureChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler);
+ [[nodiscard]] static auto AccountPictureChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& changeHandler);
static auto AccountPictureChanged(winrt::event_token const& token);
static auto GetDisplayNameAsync();
static auto GetFirstNameAsync();
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.0.h
index 56f2c0543cf..6e0bddf8fb4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::IColorHelperStatics>
{
@@ -264,7 +264,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::IColorHelperStatics2>
{
@@ -281,147 +281,147 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::IColorsStatics>
{
@@ -430,7 +430,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_IUIContentRoot
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) UIContext() const;
+ [[nodiscard]] auto UIContext() const;
};
template <> struct consume<winrt::Windows::UI::IUIContentRoot>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.1.h
index a605208f16b..181fa611c9b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.2.h
index b549f9d3beb..e09e6c68453 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.0.h
index 7adb5d23cd8..6e966b6e63a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Accessibility::IScreenReaderPositionChangedEventArgs>
{
@@ -60,11 +60,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Accessibility::ScreenReaderService, winrt::Windows::UI::Accessibility::ScreenReaderPositionChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto CurrentScreenReaderPosition() const;
+ auto ScreenReaderPositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Accessibility::ScreenReaderService, winrt::Windows::UI::Accessibility::ScreenReaderPositionChangedEventArgs> const& handler) const;
using ScreenReaderPositionChanged_revoker = impl::event_revoker<winrt::Windows::UI::Accessibility::IScreenReaderService, &impl::abi_t<winrt::Windows::UI::Accessibility::IScreenReaderService>::remove_ScreenReaderPositionChanged>;
- [[nodiscard]] ScreenReaderPositionChanged_revoker ScreenReaderPositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Accessibility::ScreenReaderService, winrt::Windows::UI::Accessibility::ScreenReaderPositionChangedEventArgs> 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<winrt::Windows::UI::Accessibility::ScreenReaderService, winrt::Windows::UI::Accessibility::ScreenReaderPositionChangedEventArgs> const& handler) const;
+ auto ScreenReaderPositionChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Accessibility::IScreenReaderService>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.1.h
index 01d11eb31a2..0a60d6e3a7b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.2.h
index 5b0943db137..1fa6a3c0388 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Accessibility.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.0.h
index 2c8b31841c8..266cafcfbbb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::Security::Credentials
{
struct PasswordCredential;
@@ -379,10 +375,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ApplicationSettings_IAccountsSettingsPane
{
- WINRT_IMPL_AUTO(winrt::event_token) AccountCommandsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ApplicationSettings::AccountsSettingsPane, winrt::Windows::UI::ApplicationSettings::AccountsSettingsPaneCommandsRequestedEventArgs> const& handler) const;
+ auto AccountCommandsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ApplicationSettings::AccountsSettingsPane, winrt::Windows::UI::ApplicationSettings::AccountsSettingsPaneCommandsRequestedEventArgs> const& handler) const;
using AccountCommandsRequested_revoker = impl::event_revoker<winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPane, &impl::abi_t<winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPane>::remove_AccountCommandsRequested>;
- [[nodiscard]] AccountCommandsRequested_revoker AccountCommandsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ApplicationSettings::AccountsSettingsPane, winrt::Windows::UI::ApplicationSettings::AccountsSettingsPaneCommandsRequestedEventArgs> 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<winrt::Windows::UI::ApplicationSettings::AccountsSettingsPane, winrt::Windows::UI::ApplicationSettings::AccountsSettingsPaneCommandsRequestedEventArgs> const& handler) const;
+ auto AccountCommandsRequested(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPane>
{
@@ -391,13 +387,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::ApplicationSettings::WebAccountProviderCommand>) WebAccountProviderCommands() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::ApplicationSettings::WebAccountCommand>) WebAccountCommands() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::ApplicationSettings::CredentialCommand>) CredentialCommands() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::ApplicationSettings::SettingsCommand>) 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<winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneCommandsRequestedEventArgs>
{
@@ -406,7 +402,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneCommandsRequestedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
+ [[nodiscard]] auto User() const;
};
template <> struct consume<winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneCommandsRequestedEventArgs2>
{
@@ -415,7 +411,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ApplicationSettings_IAccountsSettingsPaneEventDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneEventDeferral>
{
@@ -424,8 +420,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneStatics>
{
@@ -434,8 +430,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneStatics2>
{
@@ -444,8 +440,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ApplicationSettings::IAccountsSettingsPaneStatics3>
{
@@ -454,8 +450,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ApplicationSettings::ICredentialCommand>
{
@@ -464,8 +460,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ApplicationSettings::ICredentialCommandFactory>
{
@@ -474,7 +470,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ApplicationSettings::ISettingsCommandFactory>
{
@@ -483,7 +479,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ApplicationSettings_ISettingsCommandStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SettingsCommand) AccountsCommand() const;
+ [[nodiscard]] auto AccountsCommand() const;
};
template <> struct consume<winrt::Windows::UI::ApplicationSettings::ISettingsCommandStatics>
{
@@ -492,10 +488,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ApplicationSettings_ISettingsPane
{
- WINRT_IMPL_AUTO(winrt::event_token) CommandsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ApplicationSettings::SettingsPane, winrt::Windows::UI::ApplicationSettings::SettingsPaneCommandsRequestedEventArgs> const& handler) const;
+ auto CommandsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ApplicationSettings::SettingsPane, winrt::Windows::UI::ApplicationSettings::SettingsPaneCommandsRequestedEventArgs> const& handler) const;
using CommandsRequested_revoker = impl::event_revoker<winrt::Windows::UI::ApplicationSettings::ISettingsPane, &impl::abi_t<winrt::Windows::UI::ApplicationSettings::ISettingsPane>::remove_CommandsRequested>;
- [[nodiscard]] CommandsRequested_revoker CommandsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ApplicationSettings::SettingsPane, winrt::Windows::UI::ApplicationSettings::SettingsPaneCommandsRequestedEventArgs> 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<winrt::Windows::UI::ApplicationSettings::SettingsPane, winrt::Windows::UI::ApplicationSettings::SettingsPaneCommandsRequestedEventArgs> const& handler) const;
+ auto CommandsRequested(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::ApplicationSettings::ISettingsPane>
{
@@ -504,7 +500,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ApplicationSettings_ISettingsPaneCommandsRequest
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::ApplicationSettings::SettingsCommand>) ApplicationCommands() const;
+ [[nodiscard]] auto ApplicationCommands() const;
};
template <> struct consume<winrt::Windows::UI::ApplicationSettings::ISettingsPaneCommandsRequest>
{
@@ -513,7 +509,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ApplicationSettings_ISettingsPaneCommandsRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::SettingsPaneCommandsRequest) Request() const;
+ [[nodiscard]] auto Request() const;
};
template <> struct consume<winrt::Windows::UI::ApplicationSettings::ISettingsPaneCommandsRequestedEventArgs>
{
@@ -522,9 +518,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ApplicationSettings::ISettingsPaneStatics>
{
@@ -533,9 +529,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ApplicationSettings::IWebAccountCommand>
{
@@ -544,7 +540,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ApplicationSettings::IWebAccountCommandFactory>
{
@@ -553,7 +549,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ApplicationSettings_IWebAccountInvokedArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ApplicationSettings::WebAccountAction) Action() const;
+ [[nodiscard]] auto Action() const;
};
template <> struct consume<winrt::Windows::UI::ApplicationSettings::IWebAccountInvokedArgs>
{
@@ -562,8 +558,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ApplicationSettings::IWebAccountProviderCommand>
{
@@ -572,7 +568,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ApplicationSettings::IWebAccountProviderCommandFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.1.h
index 11e578221d3..0ffae31dbe9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.2.h
index b66e0be9b88..6c88c75452c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ApplicationSettings.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.0.h
index c08ae2c12d6..ae404c4d7ae 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
struct Point;
struct Size;
@@ -3152,8 +3151,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IAmbientLight>
{
@@ -3162,8 +3161,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IAmbientLight2>
{
@@ -3172,14 +3171,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IAnimationController>
{
@@ -3188,8 +3187,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IAnimationControllerStatics>
{
@@ -3198,7 +3197,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IAnimationObject>
{
@@ -3207,8 +3206,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IAnimationPropertyInfo>
{
@@ -3217,8 +3216,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IAnimationPropertyInfo2>
{
@@ -3227,8 +3226,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IBackEasingFunction>
{
@@ -3237,7 +3236,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IBooleanKeyFrameAnimation>
{
@@ -3246,9 +3245,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IBounceEasingFunction>
{
@@ -3257,10 +3256,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IBounceScalarNaturalMotionAnimation>
{
@@ -3269,10 +3268,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IBounceVector2NaturalMotionAnimation>
{
@@ -3281,10 +3280,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IBounceVector3NaturalMotionAnimation>
{
@@ -3293,7 +3292,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_ICircleEasingFunction
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) Mode() const;
+ [[nodiscard]] auto Mode() const;
};
template <> struct consume<winrt::Windows::UI::Composition::ICircleEasingFunction>
{
@@ -3302,10 +3301,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IColorKeyFrameAnimation>
{
@@ -3314,17 +3313,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionAnimation>
{
@@ -3333,9 +3332,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionAnimation2>
{
@@ -3344,7 +3343,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_ICompositionAnimation3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::InitialValueExpressionCollection) InitialValueExpressions() const;
+ [[nodiscard]] auto InitialValueExpressions() const;
};
template <> struct consume<winrt::Windows::UI::Composition::ICompositionAnimation3>
{
@@ -3353,7 +3352,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionAnimation4>
{
@@ -3378,10 +3377,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionAnimationGroup>
{
@@ -3422,12 +3421,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::CompositionCapabilities, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AreEffectsSupported() const;
+ auto AreEffectsFast() const;
+ auto Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Composition::CompositionCapabilities, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Changed_revoker = impl::event_revoker<winrt::Windows::UI::Composition::ICompositionCapabilities, &impl::abi_t<winrt::Windows::UI::Composition::ICompositionCapabilities>::remove_Changed>;
- [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Composition::CompositionCapabilities, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Composition::CompositionCapabilities, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Changed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Composition::ICompositionCapabilities>
{
@@ -3436,7 +3435,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_ICompositionCapabilitiesStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionCapabilities) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::UI::Composition::ICompositionCapabilitiesStatics>
{
@@ -3453,20 +3452,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionClip2>
{
@@ -3483,8 +3482,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionColorBrush>
{
@@ -3493,10 +3492,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionColorGradientStop>
{
@@ -3513,12 +3512,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Composition::CompositionBatchCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto IsActive() const;
+ [[nodiscard]] auto IsEnded() const;
+ auto Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Composition::CompositionBatchCompletedEventArgs> const& handler) const;
using Completed_revoker = impl::event_revoker<winrt::Windows::UI::Composition::ICompositionCommitBatch, &impl::abi_t<winrt::Windows::UI::Composition::ICompositionCommitBatch>::remove_Completed>;
- [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Composition::CompositionBatchCompletedEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Composition::CompositionBatchCompletedEventArgs> const& handler) const;
+ auto Completed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Composition::ICompositionCommitBatch>
{
@@ -3527,7 +3526,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_ICompositionContainerShape
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionShapeCollection) Shapes() const;
+ [[nodiscard]] auto Shapes() const;
};
template <> struct consume<winrt::Windows::UI::Composition::ICompositionContainerShape>
{
@@ -3536,9 +3535,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionDrawingSurface>
{
@@ -3547,12 +3546,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionDrawingSurface2>
{
@@ -3585,17 +3584,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionEasingFunctionStatics>
{
@@ -3604,8 +3603,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionEffectBrush>
{
@@ -3614,9 +3613,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionEffectFactory>
{
@@ -3625,7 +3624,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_ICompositionEffectSourceParameter
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const;
+ [[nodiscard]] auto Name() const;
};
template <> struct consume<winrt::Windows::UI::Composition::ICompositionEffectSourceParameter>
{
@@ -3634,7 +3633,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionEffectSourceParameterFactory>
{
@@ -3643,10 +3642,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionEllipseGeometry>
{
@@ -3655,10 +3654,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionGeometricClip>
{
@@ -3667,12 +3666,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionGeometry>
{
@@ -3689,25 +3688,25 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionGradientBrush>
{
@@ -3716,8 +3715,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionGradientBrush2>
{
@@ -3734,11 +3733,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::CompositionGraphicsDevice, winrt::Windows::UI::Composition::RenderingDeviceReplacedEventArgs> 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<winrt::Windows::UI::Composition::CompositionGraphicsDevice, winrt::Windows::UI::Composition::RenderingDeviceReplacedEventArgs> const& handler) const;
using RenderingDeviceReplaced_revoker = impl::event_revoker<winrt::Windows::UI::Composition::ICompositionGraphicsDevice, &impl::abi_t<winrt::Windows::UI::Composition::ICompositionGraphicsDevice>::remove_RenderingDeviceReplaced>;
- [[nodiscard]] RenderingDeviceReplaced_revoker RenderingDeviceReplaced(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Composition::CompositionGraphicsDevice, winrt::Windows::UI::Composition::RenderingDeviceReplacedEventArgs> 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<winrt::Windows::UI::Composition::CompositionGraphicsDevice, winrt::Windows::UI::Composition::RenderingDeviceReplacedEventArgs> const& handler) const;
+ auto RenderingDeviceReplaced(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Composition::ICompositionGraphicsDevice>
{
@@ -3747,8 +3746,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionGraphicsDevice2>
{
@@ -3757,8 +3756,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionGraphicsDevice3>
{
@@ -3767,7 +3766,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_ICompositionGraphicsDevice4
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Composition::ICompositionSurface>) 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<winrt::Windows::UI::Composition::ICompositionGraphicsDevice4>
{
@@ -3776,7 +3775,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_ICompositionLight
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::VisualUnorderedCollection) Targets() const;
+ [[nodiscard]] auto Targets() const;
};
template <> struct consume<winrt::Windows::UI::Composition::ICompositionLight>
{
@@ -3785,7 +3784,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_ICompositionLight2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::VisualUnorderedCollection) ExclusionsFromTargets() const;
+ [[nodiscard]] auto ExclusionsFromTargets() const;
};
template <> struct consume<winrt::Windows::UI::Composition::ICompositionLight2>
{
@@ -3794,8 +3793,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionLight3>
{
@@ -3812,10 +3811,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionLineGeometry>
{
@@ -3824,10 +3823,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionLinearGradientBrush>
{
@@ -3836,10 +3835,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionMaskBrush>
{
@@ -3848,11 +3847,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionMipmapSurface>
{
@@ -3861,30 +3860,30 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionNineGridBrush>
{
@@ -3893,11 +3892,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionObject>
{
@@ -3906,12 +3905,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionObject2>
{
@@ -3920,7 +3919,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_ICompositionObject3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) DispatcherQueue() const;
+ [[nodiscard]] auto DispatcherQueue() const;
};
template <> struct consume<winrt::Windows::UI::Composition::ICompositionObject3>
{
@@ -3929,7 +3928,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionObject4>
{
@@ -3946,8 +3945,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionObjectStatics>
{
@@ -3964,7 +3963,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionPathFactory>
{
@@ -3973,8 +3972,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionPathGeometry>
{
@@ -3983,16 +3982,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionProjectedShadow>
{
@@ -4001,10 +4000,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionProjectedShadowCaster>
{
@@ -4013,13 +4012,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionProjectedShadowCasterCollection>
{
@@ -4028,7 +4027,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_ICompositionProjectedShadowCasterCollectionStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) MaxRespectedCasters() const;
+ [[nodiscard]] auto MaxRespectedCasters() const;
};
template <> struct consume<winrt::Windows::UI::Composition::ICompositionProjectedShadowCasterCollectionStatics>
{
@@ -4037,8 +4036,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionProjectedShadowReceiver>
{
@@ -4047,10 +4046,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionProjectedShadowReceiverUnorderedCollection>
{
@@ -4059,22 +4058,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionPropertySet>
{
@@ -4083,8 +4082,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionPropertySet2>
{
@@ -4093,12 +4092,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionRadialGradientBrush>
{
@@ -4107,10 +4106,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionRectangleGeometry>
{
@@ -4119,12 +4118,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionRoundedRectangleGeometry>
{
@@ -4133,15 +4132,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Composition::CompositionBatchCompletedEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Composition::CompositionBatchCompletedEventArgs> const& handler) const;
using Completed_revoker = impl::event_revoker<winrt::Windows::UI::Composition::ICompositionScopedBatch, &impl::abi_t<winrt::Windows::UI::Composition::ICompositionScopedBatch>::remove_Completed>;
- [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Composition::CompositionBatchCompletedEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Composition::CompositionBatchCompletedEventArgs> const& handler) const;
+ auto Completed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Composition::ICompositionScopedBatch>
{
@@ -4166,18 +4165,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionShape>
{
@@ -4194,29 +4193,29 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionSpriteShape>
{
@@ -4233,16 +4232,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionSurfaceBrush>
{
@@ -4251,20 +4250,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionSurfaceBrush2>
{
@@ -4273,8 +4272,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionSurfaceBrush3>
{
@@ -4283,7 +4282,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_ICompositionSurfaceFacade
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::ICompositionSurface) GetRealSurface() const;
+ auto GetRealSurface() const;
};
template <> struct consume<winrt::Windows::UI::Composition::ICompositionSurfaceFacade>
{
@@ -4292,8 +4291,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionTarget>
{
@@ -4326,16 +4325,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionViewBox>
{
@@ -4344,7 +4343,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_ICompositionVirtualDrawingSurface
{
- WINRT_IMPL_AUTO(void) Trim(array_view<winrt::Windows::Graphics::RectInt32 const> rects) const;
+ auto Trim(array_view<winrt::Windows::Graphics::RectInt32 const> rects) const;
};
template <> struct consume<winrt::Windows::UI::Composition::ICompositionVirtualDrawingSurface>
{
@@ -4361,12 +4360,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositionVisualSurface>
{
@@ -4375,30 +4374,30 @@ namespace winrt::impl
template <typename D>
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<hstring> 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<hstring> 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<winrt::Windows::UI::Composition::ICompositor>
{
@@ -4407,19 +4406,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositor2>
{
@@ -4428,7 +4427,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_ICompositor3
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBackdropBrush) CreateHostBackdropBrush() const;
+ auto CreateHostBackdropBrush() const;
};
template <> struct consume<winrt::Windows::UI::Composition::ICompositor3>
{
@@ -4437,12 +4436,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositor4>
{
@@ -4451,26 +4450,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositor5>
{
@@ -4479,11 +4478,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositor6>
{
@@ -4492,11 +4491,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositor7>
{
@@ -4505,8 +4504,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositorStatics>
{
@@ -4515,9 +4514,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICompositorWithProjectedShadow>
{
@@ -4526,7 +4525,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_ICompositorWithRadialGradient
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionRadialGradientBrush) CreateRadialGradientBrush() const;
+ auto CreateRadialGradientBrush() const;
};
template <> struct consume<winrt::Windows::UI::Composition::ICompositorWithRadialGradient>
{
@@ -4535,7 +4534,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_ICompositorWithVisualSurface
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionVisualSurface) CreateVisualSurface() const;
+ auto CreateVisualSurface() const;
};
template <> struct consume<winrt::Windows::UI::Composition::ICompositorWithVisualSurface>
{
@@ -4544,7 +4543,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_IContainerVisual
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::VisualCollection) Children() const;
+ [[nodiscard]] auto Children() const;
};
template <> struct consume<winrt::Windows::UI::Composition::IContainerVisual>
{
@@ -4561,8 +4560,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ICubicBezierEasingFunction>
{
@@ -4571,10 +4570,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_IDelegatedInkTrailVisual
{
- WINRT_IMPL_AUTO(uint32_t) AddTrailPoints(array_view<winrt::Windows::UI::Composition::InkTrailPoint const> inkPoints) const;
- WINRT_IMPL_AUTO(uint32_t) AddTrailPointsWithPrediction(array_view<winrt::Windows::UI::Composition::InkTrailPoint const> inkPoints, array_view<winrt::Windows::UI::Composition::InkTrailPoint const> 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<winrt::Windows::UI::Composition::InkTrailPoint const> inkPoints) const;
+ auto AddTrailPointsWithPrediction(array_view<winrt::Windows::UI::Composition::InkTrailPoint const> inkPoints, array_view<winrt::Windows::UI::Composition::InkTrailPoint const> predictedInkPoints) const;
+ auto RemoveTrailPoints(uint32_t generationId) const;
+ auto StartNewTrail(winrt::Windows::UI::Color const& color) const;
};
template <> struct consume<winrt::Windows::UI::Composition::IDelegatedInkTrailVisual>
{
@@ -4583,8 +4582,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IDelegatedInkTrailVisualStatics>
{
@@ -4593,12 +4592,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IDistantLight>
{
@@ -4607,8 +4606,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IDistantLight2>
{
@@ -4617,16 +4616,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IDropShadow>
{
@@ -4635,8 +4634,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IDropShadow2>
{
@@ -4645,9 +4644,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IElasticEasingFunction>
{
@@ -4656,8 +4655,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IExponentialEasingFunction>
{
@@ -4666,8 +4665,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IExpressionAnimation>
{
@@ -4684,14 +4683,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IInsetClip>
{
@@ -4700,19 +4699,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IKeyFrameAnimation>
{
@@ -4721,8 +4720,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IKeyFrameAnimation2>
{
@@ -4731,8 +4730,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IKeyFrameAnimation3>
{
@@ -4749,8 +4748,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ILayerVisual>
{
@@ -4759,8 +4758,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ILayerVisual2>
{
@@ -4777,12 +4776,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::INaturalMotionAnimation>
{
@@ -4799,8 +4798,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IPathKeyFrameAnimation>
{
@@ -4809,18 +4808,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IPointLight>
{
@@ -4829,8 +4828,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IPointLight2>
{
@@ -4839,10 +4838,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IPointLight3>
{
@@ -4851,8 +4850,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IPowerEasingFunction>
{
@@ -4861,8 +4860,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IQuaternionKeyFrameAnimation>
{
@@ -4871,22 +4870,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IRectangleClip>
{
@@ -4895,8 +4894,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IRedirectVisual>
{
@@ -4905,7 +4904,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_IRenderingDeviceReplacedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionGraphicsDevice) GraphicsDevice() const;
+ [[nodiscard]] auto GraphicsDevice() const;
};
template <> struct consume<winrt::Windows::UI::Composition::IRenderingDeviceReplacedEventArgs>
{
@@ -4914,8 +4913,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IScalarKeyFrameAnimation>
{
@@ -4924,12 +4923,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_IScalarNaturalMotionAnimation
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) FinalValue() const;
- WINRT_IMPL_AUTO(void) FinalValue(winrt::Windows::Foundation::IReference<float> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) InitialValue() const;
- WINRT_IMPL_AUTO(void) InitialValue(winrt::Windows::Foundation::IReference<float> 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<float> const& value) const;
+ [[nodiscard]] auto InitialValue() const;
+ auto InitialValue(winrt::Windows::Foundation::IReference<float> const& value) const;
+ [[nodiscard]] auto InitialVelocity() const;
+ auto InitialVelocity(float value) const;
};
template <> struct consume<winrt::Windows::UI::Composition::IScalarNaturalMotionAnimation>
{
@@ -4946,9 +4945,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IShapeVisual>
{
@@ -4957,7 +4956,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_ISineEasingFunction
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionEasingFunctionMode) Mode() const;
+ [[nodiscard]] auto Mode() const;
};
template <> struct consume<winrt::Windows::UI::Composition::ISineEasingFunction>
{
@@ -4966,30 +4965,30 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ISpotLight>
{
@@ -4998,10 +4997,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ISpotLight2>
{
@@ -5010,10 +5009,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ISpotLight3>
{
@@ -5022,10 +5021,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ISpringScalarNaturalMotionAnimation>
{
@@ -5034,10 +5033,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ISpringVector2NaturalMotionAnimation>
{
@@ -5046,10 +5045,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ISpringVector3NaturalMotionAnimation>
{
@@ -5058,8 +5057,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ISpriteVisual>
{
@@ -5068,8 +5067,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::ISpriteVisual2>
{
@@ -5078,16 +5077,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IStepEasingFunction>
{
@@ -5096,8 +5095,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IVector2KeyFrameAnimation>
{
@@ -5106,12 +5105,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_IVector2NaturalMotionAnimation
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float2>) FinalValue() const;
- WINRT_IMPL_AUTO(void) FinalValue(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float2> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float2>) InitialValue() const;
- WINRT_IMPL_AUTO(void) InitialValue(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float2> 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<winrt::Windows::Foundation::Numerics::float2> const& value) const;
+ [[nodiscard]] auto InitialValue() const;
+ auto InitialValue(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float2> const& value) const;
+ [[nodiscard]] auto InitialVelocity() const;
+ auto InitialVelocity(winrt::Windows::Foundation::Numerics::float2 const& value) const;
};
template <> struct consume<winrt::Windows::UI::Composition::IVector2NaturalMotionAnimation>
{
@@ -5128,8 +5127,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IVector3KeyFrameAnimation>
{
@@ -5138,12 +5137,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_IVector3NaturalMotionAnimation
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>) FinalValue() const;
- WINRT_IMPL_AUTO(void) FinalValue(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>) InitialValue() const;
- WINRT_IMPL_AUTO(void) InitialValue(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3> 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<winrt::Windows::Foundation::Numerics::float3> const& value) const;
+ [[nodiscard]] auto InitialValue() const;
+ auto InitialValue(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3> const& value) const;
+ [[nodiscard]] auto InitialVelocity() const;
+ auto InitialVelocity(winrt::Windows::Foundation::Numerics::float3 const& value) const;
};
template <> struct consume<winrt::Windows::UI::Composition::IVector3NaturalMotionAnimation>
{
@@ -5160,8 +5159,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IVector4KeyFrameAnimation>
{
@@ -5170,39 +5169,39 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IVisual>
{
@@ -5211,12 +5210,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IVisual2>
{
@@ -5225,8 +5224,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IVisual3>
{
@@ -5235,8 +5234,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IVisual4>
{
@@ -5245,13 +5244,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IVisualCollection>
{
@@ -5268,7 +5267,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_IVisualElement2
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Visual) GetVisualInternal() const;
+ auto GetVisualInternal() const;
};
template <> struct consume<winrt::Windows::UI::Composition::IVisualElement2>
{
@@ -5285,10 +5284,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::IVisualUnorderedCollection>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.1.h
index 26d655a98b4..fc8fcaf4c7a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.2.h
index 05e397a239a..9ab77a934b9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.0.h
index 8bc83324274..ed7314c73e3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Composition::Core::CompositorController, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Compositor() const;
+ auto Commit() const;
+ auto EnsurePreviousCommitCompletedAsync() const;
+ auto CommitNeeded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Composition::Core::CompositorController, winrt::Windows::Foundation::IInspectable> const& handler) const;
using CommitNeeded_revoker = impl::event_revoker<winrt::Windows::UI::Composition::Core::ICompositorController, &impl::abi_t<winrt::Windows::UI::Composition::Core::ICompositorController>::remove_CommitNeeded>;
- [[nodiscard]] CommitNeeded_revoker CommitNeeded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Composition::Core::CompositorController, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Composition::Core::CompositorController, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto CommitNeeded(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Composition::Core::ICompositorController>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.1.h
index 6da6e992b9d..20ee3feefa8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.2.h
index 740f5ff07ff..11510f8f14c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.0.h
index 47f2223c00e..88a5432da0c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
struct consume_Windows_UI_Composition_Desktop_IDesktopWindowTarget
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsTopmost() const;
+ [[nodiscard]] auto IsTopmost() const;
};
template <> struct consume<winrt::Windows::UI::Composition::Desktop::IDesktopWindowTarget>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.1.h
index bda5ec560fd..d8b5611e20b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.2.h
index e8c29f3db4b..7898372f2b1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Desktop.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.0.h
index 117888ee300..97aa2fcc63b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Composition::Diagnostics::ICompositionDebugHeatMaps>
{
@@ -86,7 +86,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Diagnostics::ICompositionDebugSettings>
{
@@ -95,7 +95,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Diagnostics::ICompositionDebugSettingsStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.1.h
index c41c0e99425..bbc50b648f6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.2.h
index 9e8fb49c1f7..fb039e36e1e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Diagnostics.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.0.h
index 6f0e1e09fdf..5028c574f95 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Composition::Effects::ISceneLightingEffect>
{
@@ -76,8 +76,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Effects::ISceneLightingEffect2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.1.h
index a885848d121..b7ee04925fb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.2.h
index 6a74b741899..dc18dffa358 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Effects.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.0.h
index bad53961099..055e291cf43 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Composition::Interactions::ICompositionConditionalValue>
{
@@ -729,7 +729,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::ICompositionConditionalValueStatics>
{
@@ -746,10 +746,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::ICompositionInteractionSourceCollection>
{
@@ -758,12 +758,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IInteractionSourceConfiguration>
{
@@ -772,39 +772,39 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Numerics::float3>) PositionInertiaDecayRate() const;
- WINRT_IMPL_AUTO(void) PositionInertiaDecayRate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3> 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<float>) ScaleInertiaDecayRate() const;
- WINRT_IMPL_AUTO(void) ScaleInertiaDecayRate(winrt::Windows::Foundation::IReference<float> 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<winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> const& modifiers) const;
- WINRT_IMPL_AUTO(void) ConfigurePositionYInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> const& modifiers) const;
- WINRT_IMPL_AUTO(void) ConfigureScaleInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> 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<winrt::Windows::Foundation::Numerics::float3> const& value) const;
+ [[nodiscard]] auto PositionVelocityInPixelsPerSecond() const;
+ [[nodiscard]] auto Scale() const;
+ [[nodiscard]] auto ScaleInertiaDecayRate() const;
+ auto ScaleInertiaDecayRate(winrt::Windows::Foundation::IReference<float> 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<winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> const& modifiers) const;
+ auto ConfigurePositionYInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> const& modifiers) const;
+ auto ConfigureScaleInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::InteractionTrackerInertiaModifier> 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<winrt::Windows::UI::Composition::Interactions::IInteractionTracker>
{
@@ -813,8 +813,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_Interactions_IInteractionTracker2
{
- WINRT_IMPL_AUTO(void) ConfigureCenterPointXInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const;
- WINRT_IMPL_AUTO(void) ConfigureCenterPointYInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const;
+ auto ConfigureCenterPointXInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const;
+ auto ConfigureCenterPointYInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const;
};
template <> struct consume<winrt::Windows::UI::Composition::Interactions::IInteractionTracker2>
{
@@ -823,7 +823,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_Interactions_IInteractionTracker3
{
- WINRT_IMPL_AUTO(void) ConfigureVector2PositionInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::InteractionTrackerVector2InertiaModifier> const& modifiers) const;
+ auto ConfigureVector2PositionInertiaModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::InteractionTrackerVector2InertiaModifier> const& modifiers) const;
};
template <> struct consume<winrt::Windows::UI::Composition::Interactions::IInteractionTracker3>
{
@@ -832,9 +832,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IInteractionTracker4>
{
@@ -843,7 +843,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IInteractionTracker5>
{
@@ -852,7 +852,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerCustomAnimationStateEnteredArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RequestId() const;
+ [[nodiscard]] auto RequestId() const;
};
template <> struct consume<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerCustomAnimationStateEnteredArgs>
{
@@ -861,7 +861,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerCustomAnimationStateEnteredArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFromBinding() const;
+ [[nodiscard]] auto IsFromBinding() const;
};
template <> struct consume<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerCustomAnimationStateEnteredArgs2>
{
@@ -870,7 +870,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerIdleStateEnteredArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RequestId() const;
+ [[nodiscard]] auto RequestId() const;
};
template <> struct consume<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerIdleStateEnteredArgs>
{
@@ -879,7 +879,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerIdleStateEnteredArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFromBinding() const;
+ [[nodiscard]] auto IsFromBinding() const;
};
template <> struct consume<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerIdleStateEnteredArgs2>
{
@@ -904,10 +904,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaMotion>
{
@@ -916,7 +916,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaMotionStatics>
{
@@ -925,10 +925,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaNaturalMotion>
{
@@ -937,7 +937,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaNaturalMotionStatics>
{
@@ -946,10 +946,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaRestingValue>
{
@@ -958,7 +958,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaRestingValueStatics>
{
@@ -967,13 +967,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>) ModifiedRestingPosition() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) 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<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs>
{
@@ -982,7 +982,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsInertiaFromImpulse() const;
+ [[nodiscard]] auto IsInertiaFromImpulse() const;
};
template <> struct consume<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs2>
{
@@ -991,7 +991,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerInertiaStateEnteredArgs3
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFromBinding() const;
+ [[nodiscard]] auto IsFromBinding() const;
};
template <> struct consume<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInertiaStateEnteredArgs3>
{
@@ -1000,7 +1000,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerInteractingStateEnteredArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RequestId() const;
+ [[nodiscard]] auto RequestId() const;
};
template <> struct consume<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInteractingStateEnteredArgs>
{
@@ -1009,7 +1009,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerInteractingStateEnteredArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsFromBinding() const;
+ [[nodiscard]] auto IsFromBinding() const;
};
template <> struct consume<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerInteractingStateEnteredArgs2>
{
@@ -1018,12 +1018,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerOwner>
{
@@ -1032,7 +1032,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Composition_Interactions_IInteractionTrackerRequestIgnoredArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) RequestId() const;
+ [[nodiscard]] auto RequestId() const;
};
template <> struct consume<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerRequestIgnoredArgs>
{
@@ -1041,8 +1041,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerStatics>
{
@@ -1051,8 +1051,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerStatics2>
{
@@ -1061,9 +1061,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerValuesChangedArgs>
{
@@ -1088,10 +1088,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerVector2InertiaNaturalMotion>
{
@@ -1100,7 +1100,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IInteractionTrackerVector2InertiaNaturalMotionStatics>
{
@@ -1109,26 +1109,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource>
{
@@ -1137,17 +1137,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const;
- WINRT_IMPL_AUTO(void) ConfigureCenterPointYModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const;
- WINRT_IMPL_AUTO(void) ConfigureDeltaPositionXModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const;
- WINRT_IMPL_AUTO(void) ConfigureDeltaPositionYModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const;
- WINRT_IMPL_AUTO(void) ConfigureDeltaScaleModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> 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<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const;
+ auto ConfigureCenterPointYModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const;
+ auto ConfigureDeltaPositionXModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const;
+ auto ConfigureDeltaPositionYModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const;
+ auto ConfigureDeltaScaleModifiers(param::iterable<winrt::Windows::UI::Composition::Interactions::CompositionConditionalValue> const& conditionalValues) const;
};
template <> struct consume<winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource2>
{
@@ -1156,7 +1156,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IVisualInteractionSource3>
{
@@ -1173,7 +1173,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IVisualInteractionSourceStatics>
{
@@ -1182,7 +1182,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Interactions::IVisualInteractionSourceStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.1.h
index dd3570e8a2e..c3a63f75d0a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.2.h
index ffbcf63170c..7dbc4fe5fb3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Interactions.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.0.h
index 80a9741f40b..3a69bb48fe3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Composition::Scenes::ISceneBoundingBox>
{
@@ -514,7 +514,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Scenes::ISceneComponent>
{
@@ -571,10 +571,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Scenes::ISceneMesh>
{
@@ -591,11 +591,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Scenes::ISceneMeshRendererComponent>
{
@@ -604,7 +604,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Scenes::ISceneMeshRendererComponentStatics>
{
@@ -613,7 +613,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Scenes::ISceneMeshStatics>
{
@@ -622,16 +622,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Scenes::ISceneMetallicRoughnessMaterial>
{
@@ -640,7 +640,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Scenes::ISceneMetallicRoughnessMaterialStatics>
{
@@ -649,18 +649,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Scenes::ISceneModelTransform>
{
@@ -669,11 +669,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Scenes::ISceneNode>
{
@@ -690,7 +690,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Scenes::ISceneNodeStatics>
{
@@ -715,24 +715,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Scenes::IScenePbrMaterial>
{
@@ -765,14 +765,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Scenes::ISceneSurfaceMaterialInput>
{
@@ -781,7 +781,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Scenes::ISceneSurfaceMaterialInputStatics>
{
@@ -790,8 +790,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Scenes::ISceneVisual>
{
@@ -800,7 +800,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Composition::Scenes::ISceneVisualStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.1.h
index 7397f841096..d62c3f0dcf1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.2.h
index 975cc6ab012..a648089faa8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Composition.Scenes.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.0.h
index 4642e9bc120..c8ebb84764d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
struct IAsyncAction;
- template <typename TResult> 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 <typename T> 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 <typename D>
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<winrt::Windows::UI::Core::IAcceleratorKeyEventArgs>
{
@@ -1000,7 +997,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_IAcceleratorKeyEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
+ [[nodiscard]] auto DeviceId() const;
};
template <> struct consume<winrt::Windows::UI::Core::IAcceleratorKeyEventArgs2>
{
@@ -1009,8 +1006,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::IAutomationProviderRequestedEventArgs>
{
@@ -1019,8 +1016,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::IBackRequestedEventArgs>
{
@@ -1029,8 +1026,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::ICharacterReceivedEventArgs>
{
@@ -1039,10 +1036,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::IClosestInteractiveBoundsRequestedEventArgs>
{
@@ -1051,10 +1048,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ICoreAcceleratorKeys
{
- WINRT_IMPL_AUTO(winrt::event_token) AcceleratorKeyActivated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreDispatcher, winrt::Windows::UI::Core::AcceleratorKeyEventArgs> const& handler) const;
+ auto AcceleratorKeyActivated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreDispatcher, winrt::Windows::UI::Core::AcceleratorKeyEventArgs> const& handler) const;
using AcceleratorKeyActivated_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreAcceleratorKeys, &impl::abi_t<winrt::Windows::UI::Core::ICoreAcceleratorKeys>::remove_AcceleratorKeyActivated>;
- [[nodiscard]] AcceleratorKeyActivated_revoker AcceleratorKeyActivated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreDispatcher, winrt::Windows::UI::Core::AcceleratorKeyEventArgs> 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<winrt::Windows::UI::Core::CoreDispatcher, winrt::Windows::UI::Core::AcceleratorKeyEventArgs> const& handler) const;
+ auto AcceleratorKeyActivated(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Core::ICoreAcceleratorKeys>
{
@@ -1063,10 +1060,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ICoreClosestInteractiveBoundsRequested
{
- WINRT_IMPL_AUTO(winrt::event_token) ClosestInteractiveBoundsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreComponentInputSource, winrt::Windows::UI::Core::ClosestInteractiveBoundsRequestedEventArgs> const& handler) const;
+ auto ClosestInteractiveBoundsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreComponentInputSource, winrt::Windows::UI::Core::ClosestInteractiveBoundsRequestedEventArgs> const& handler) const;
using ClosestInteractiveBoundsRequested_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreClosestInteractiveBoundsRequested, &impl::abi_t<winrt::Windows::UI::Core::ICoreClosestInteractiveBoundsRequested>::remove_ClosestInteractiveBoundsRequested>;
- [[nodiscard]] ClosestInteractiveBoundsRequested_revoker ClosestInteractiveBoundsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreComponentInputSource, winrt::Windows::UI::Core::ClosestInteractiveBoundsRequestedEventArgs> 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<winrt::Windows::UI::Core::CoreComponentInputSource, winrt::Windows::UI::Core::ClosestInteractiveBoundsRequestedEventArgs> const& handler) const;
+ auto ClosestInteractiveBoundsRequested(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Core::ICoreClosestInteractiveBoundsRequested>
{
@@ -1075,15 +1072,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ICoreComponentFocusable
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) HasFocus() const;
- WINRT_IMPL_AUTO(winrt::event_token) GotFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const;
+ [[nodiscard]] auto HasFocus() const;
+ auto GotFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const;
using GotFocus_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreComponentFocusable, &impl::abi_t<winrt::Windows::UI::Core::ICoreComponentFocusable>::remove_GotFocus>;
- [[nodiscard]] GotFocus_revoker GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CoreWindowEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const;
+ [[nodiscard]] auto GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const;
+ auto GotFocus(winrt::event_token const& cookie) const noexcept;
+ auto LostFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const;
using LostFocus_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreComponentFocusable, &impl::abi_t<winrt::Windows::UI::Core::ICoreComponentFocusable>::remove_LostFocus>;
- [[nodiscard]] LostFocus_revoker LostFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CoreWindowEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const;
+ auto LostFocus(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Core::ICoreComponentFocusable>
{
@@ -1092,8 +1089,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::ICoreCursor>
{
@@ -1102,7 +1099,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::ICoreCursorFactory>
{
@@ -1111,10 +1108,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::ICoreDispatcher>
{
@@ -1123,8 +1120,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ICoreDispatcher2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryRunAsync(winrt::Windows::UI::Core::CoreDispatcherPriority const& priority, winrt::Windows::UI::Core::DispatchedHandler const& agileCallback) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::UI::Core::ICoreDispatcher2>
{
@@ -1133,11 +1130,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::ICoreDispatcherWithTaskPriority>
{
@@ -1146,13 +1143,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::InputEnabledEventArgs> const& handler) const;
+ [[nodiscard]] auto Dispatcher() const;
+ [[nodiscard]] auto IsInputEnabled() const;
+ auto IsInputEnabled(bool value) const;
+ auto InputEnabled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::InputEnabledEventArgs> const& handler) const;
using InputEnabled_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreInputSourceBase, &impl::abi_t<winrt::Windows::UI::Core::ICoreInputSourceBase>::remove_InputEnabled>;
- [[nodiscard]] InputEnabled_revoker InputEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::InputEnabledEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::InputEnabledEventArgs> const& handler) const;
+ auto InputEnabled(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Core::ICoreInputSourceBase>
{
@@ -1161,19 +1158,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CharacterReceivedEventArgs> const& handler) const;
+ auto GetCurrentKeyState(winrt::Windows::System::VirtualKey const& virtualKey) const;
+ auto CharacterReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CharacterReceivedEventArgs> const& handler) const;
using CharacterReceived_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreKeyboardInputSource, &impl::abi_t<winrt::Windows::UI::Core::ICoreKeyboardInputSource>::remove_CharacterReceived>;
- [[nodiscard]] CharacterReceived_revoker CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CharacterReceivedEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
+ [[nodiscard]] auto CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::CharacterReceivedEventArgs> const& handler) const;
+ auto CharacterReceived(winrt::event_token const& cookie) const noexcept;
+ auto KeyDown(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
using KeyDown_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreKeyboardInputSource, &impl::abi_t<winrt::Windows::UI::Core::ICoreKeyboardInputSource>::remove_KeyDown>;
- [[nodiscard]] KeyDown_revoker KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::KeyEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
+ [[nodiscard]] auto KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
+ auto KeyDown(winrt::event_token const& cookie) const noexcept;
+ auto KeyUp(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
using KeyUp_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreKeyboardInputSource, &impl::abi_t<winrt::Windows::UI::Core::ICoreKeyboardInputSource>::remove_KeyUp>;
- [[nodiscard]] KeyUp_revoker KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::KeyEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
+ auto KeyUp(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Core::ICoreKeyboardInputSource>
{
@@ -1182,7 +1179,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ICoreKeyboardInputSource2
{
- WINRT_IMPL_AUTO(hstring) GetCurrentKeyEventDeviceId() const;
+ auto GetCurrentKeyEventDeviceId() const;
};
template <> struct consume<winrt::Windows::UI::Core::ICoreKeyboardInputSource2>
{
@@ -1191,40 +1188,40 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerCaptureLost_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICorePointerInputSource, &impl::abi_t<winrt::Windows::UI::Core::ICorePointerInputSource>::remove_PointerCaptureLost>;
- [[nodiscard]] PointerCaptureLost_revoker PointerCaptureLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerCaptureLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerCaptureLost(winrt::event_token const& cookie) const noexcept;
+ auto PointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerEntered_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICorePointerInputSource, &impl::abi_t<winrt::Windows::UI::Core::ICorePointerInputSource>::remove_PointerEntered>;
- [[nodiscard]] PointerEntered_revoker PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerEntered(winrt::event_token const& cookie) const noexcept;
+ auto PointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerExited_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICorePointerInputSource, &impl::abi_t<winrt::Windows::UI::Core::ICorePointerInputSource>::remove_PointerExited>;
- [[nodiscard]] PointerExited_revoker PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerExited(winrt::event_token const& cookie) const noexcept;
+ auto PointerMoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerMoved_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICorePointerInputSource, &impl::abi_t<winrt::Windows::UI::Core::ICorePointerInputSource>::remove_PointerMoved>;
- [[nodiscard]] PointerMoved_revoker PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerMoved(winrt::event_token const& cookie) const noexcept;
+ auto PointerPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerPressed_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICorePointerInputSource, &impl::abi_t<winrt::Windows::UI::Core::ICorePointerInputSource>::remove_PointerPressed>;
- [[nodiscard]] PointerPressed_revoker PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerPressed(winrt::event_token const& cookie) const noexcept;
+ auto PointerReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerReleased_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICorePointerInputSource, &impl::abi_t<winrt::Windows::UI::Core::ICorePointerInputSource>::remove_PointerReleased>;
- [[nodiscard]] PointerReleased_revoker PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerReleased(winrt::event_token const& cookie) const noexcept;
+ auto PointerWheelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerWheelChanged_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICorePointerInputSource, &impl::abi_t<winrt::Windows::UI::Core::ICorePointerInputSource>::remove_PointerWheelChanged>;
- [[nodiscard]] PointerWheelChanged_revoker PointerWheelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerWheelChanged(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Core::ICorePointerInputSource>
{
@@ -1233,7 +1230,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ICorePointerInputSource2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) DispatcherQueue() const;
+ [[nodiscard]] auto DispatcherQueue() const;
};
template <> struct consume<winrt::Windows::UI::Core::ICorePointerInputSource2>
{
@@ -1242,18 +1239,18 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ICorePointerRedirector
{
- WINRT_IMPL_AUTO(winrt::event_token) PointerRoutedAway(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerRoutedAway(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerRoutedAway_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICorePointerRedirector, &impl::abi_t<winrt::Windows::UI::Core::ICorePointerRedirector>::remove_PointerRoutedAway>;
- [[nodiscard]] PointerRoutedAway_revoker PointerRoutedAway(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerRoutedAway(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerRoutedAway(winrt::event_token const& cookie) const noexcept;
+ auto PointerRoutedTo(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerRoutedTo_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICorePointerRedirector, &impl::abi_t<winrt::Windows::UI::Core::ICorePointerRedirector>::remove_PointerRoutedTo>;
- [[nodiscard]] PointerRoutedTo_revoker PointerRoutedTo(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerRoutedTo(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerRoutedTo(winrt::event_token const& cookie) const noexcept;
+ auto PointerRoutedReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerRoutedReleased_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICorePointerRedirector, &impl::abi_t<winrt::Windows::UI::Core::ICorePointerRedirector>::remove_PointerRoutedReleased>;
- [[nodiscard]] PointerRoutedReleased_revoker PointerRoutedReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Core::ICorePointerRedirector, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerRoutedReleased(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Core::ICorePointerRedirector>
{
@@ -1262,10 +1259,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ICoreTouchHitTesting
{
- WINRT_IMPL_AUTO(winrt::event_token) TouchHitTesting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::TouchHitTestingEventArgs> const& handler) const;
+ auto TouchHitTesting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::TouchHitTestingEventArgs> const& handler) const;
using TouchHitTesting_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreTouchHitTesting, &impl::abi_t<winrt::Windows::UI::Core::ICoreTouchHitTesting>::remove_TouchHitTesting>;
- [[nodiscard]] TouchHitTesting_revoker TouchHitTesting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::TouchHitTestingEventArgs> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::UI::Core::TouchHitTestingEventArgs> const& handler) const;
+ auto TouchHitTesting(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Core::ICoreTouchHitTesting>
{
@@ -1274,92 +1271,92 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::WindowActivatedEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::WindowActivatedEventArgs> const& handler) const;
using Activated_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow>::remove_Activated>;
- [[nodiscard]] Activated_revoker Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::WindowActivatedEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::AutomationProviderRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::WindowActivatedEventArgs> const& handler) const;
+ auto Activated(winrt::event_token const& cookie) const noexcept;
+ auto AutomationProviderRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::AutomationProviderRequestedEventArgs> const& handler) const;
using AutomationProviderRequested_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow>::remove_AutomationProviderRequested>;
- [[nodiscard]] AutomationProviderRequested_revoker AutomationProviderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::AutomationProviderRequestedEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CharacterReceivedEventArgs> const& handler) const;
+ [[nodiscard]] auto AutomationProviderRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::AutomationProviderRequestedEventArgs> const& handler) const;
+ auto AutomationProviderRequested(winrt::event_token const& cookie) const noexcept;
+ auto CharacterReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CharacterReceivedEventArgs> const& handler) const;
using CharacterReceived_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow>::remove_CharacterReceived>;
- [[nodiscard]] CharacterReceived_revoker CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CharacterReceivedEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const;
+ [[nodiscard]] auto CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CharacterReceivedEventArgs> const& handler) const;
+ auto CharacterReceived(winrt::event_token const& cookie) const noexcept;
+ auto Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::InputEnabledEventArgs> const& handler) const;
+ [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowEventArgs> const& handler) const;
+ auto Closed(winrt::event_token const& cookie) const noexcept;
+ auto InputEnabled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::InputEnabledEventArgs> const& handler) const;
using InputEnabled_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow>::remove_InputEnabled>;
- [[nodiscard]] InputEnabled_revoker InputEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::InputEnabledEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
+ [[nodiscard]] auto InputEnabled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::InputEnabledEventArgs> const& handler) const;
+ auto InputEnabled(winrt::event_token const& cookie) const noexcept;
+ auto KeyDown(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
using KeyDown_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow>::remove_KeyDown>;
- [[nodiscard]] KeyDown_revoker KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::KeyEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
+ [[nodiscard]] auto KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
+ auto KeyDown(winrt::event_token const& cookie) const noexcept;
+ auto KeyUp(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
using KeyUp_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow>::remove_KeyUp>;
- [[nodiscard]] KeyUp_revoker KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::KeyEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
+ auto KeyUp(winrt::event_token const& cookie) const noexcept;
+ auto PointerCaptureLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerCaptureLost_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow>::remove_PointerCaptureLost>;
- [[nodiscard]] PointerCaptureLost_revoker PointerCaptureLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerCaptureLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerCaptureLost(winrt::event_token const& cookie) const noexcept;
+ auto PointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerEntered_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow>::remove_PointerEntered>;
- [[nodiscard]] PointerEntered_revoker PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerEntered(winrt::event_token const& cookie) const noexcept;
+ auto PointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerExited_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow>::remove_PointerExited>;
- [[nodiscard]] PointerExited_revoker PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerExited(winrt::event_token const& cookie) const noexcept;
+ auto PointerMoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerMoved_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow>::remove_PointerMoved>;
- [[nodiscard]] PointerMoved_revoker PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerMoved(winrt::event_token const& cookie) const noexcept;
+ auto PointerPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerPressed_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow>::remove_PointerPressed>;
- [[nodiscard]] PointerPressed_revoker PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerPressed(winrt::event_token const& cookie) const noexcept;
+ auto PointerReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerReleased_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow>::remove_PointerReleased>;
- [[nodiscard]] PointerReleased_revoker PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::TouchHitTestingEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerReleased(winrt::event_token const& cookie) const noexcept;
+ auto TouchHitTesting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::TouchHitTestingEventArgs> const& handler) const;
using TouchHitTesting_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow>::remove_TouchHitTesting>;
- [[nodiscard]] TouchHitTesting_revoker TouchHitTesting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::TouchHitTestingEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto TouchHitTesting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::TouchHitTestingEventArgs> const& handler) const;
+ auto TouchHitTesting(winrt::event_token const& cookie) const noexcept;
+ auto PointerWheelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerWheelChanged_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow>::remove_PointerWheelChanged>;
- [[nodiscard]] PointerWheelChanged_revoker PointerWheelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::WindowSizeChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerWheelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerWheelChanged(winrt::event_token const& cookie) const noexcept;
+ auto SizeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::WindowSizeChangedEventArgs> const& handler) const;
using SizeChanged_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow>::remove_SizeChanged>;
- [[nodiscard]] SizeChanged_revoker SizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::WindowSizeChangedEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::VisibilityChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto SizeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::WindowSizeChangedEventArgs> const& handler) const;
+ auto SizeChanged(winrt::event_token const& cookie) const noexcept;
+ auto VisibilityChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::VisibilityChangedEventArgs> const& handler) const;
using VisibilityChanged_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow>::remove_VisibilityChanged>;
- [[nodiscard]] VisibilityChanged_revoker VisibilityChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::VisibilityChangedEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::VisibilityChangedEventArgs> const& handler) const;
+ auto VisibilityChanged(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Core::ICoreWindow>
{
@@ -1368,7 +1365,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::ICoreWindow2>
{
@@ -1377,11 +1374,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ICoreWindow3
{
- WINRT_IMPL_AUTO(winrt::event_token) ClosestInteractiveBoundsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::ClosestInteractiveBoundsRequestedEventArgs> const& handler) const;
+ auto ClosestInteractiveBoundsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::ClosestInteractiveBoundsRequestedEventArgs> const& handler) const;
using ClosestInteractiveBoundsRequested_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow3, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow3>::remove_ClosestInteractiveBoundsRequested>;
- [[nodiscard]] ClosestInteractiveBoundsRequested_revoker ClosestInteractiveBoundsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::ClosestInteractiveBoundsRequestedEventArgs> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::ClosestInteractiveBoundsRequestedEventArgs> const& handler) const;
+ auto ClosestInteractiveBoundsRequested(winrt::event_token const& cookie) const noexcept;
+ auto GetCurrentKeyEventDeviceId() const;
};
template <> struct consume<winrt::Windows::UI::Core::ICoreWindow3>
{
@@ -1390,14 +1387,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ICoreWindow4
{
- WINRT_IMPL_AUTO(winrt::event_token) ResizeStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ResizeStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ResizeStarted_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow4, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow4>::remove_ResizeStarted>;
- [[nodiscard]] ResizeStarted_revoker ResizeStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto ResizeStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ResizeStarted(winrt::event_token const& cookie) const noexcept;
+ auto ResizeCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ResizeCompleted_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindow4, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindow4>::remove_ResizeCompleted>;
- [[nodiscard]] ResizeCompleted_revoker ResizeCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ResizeCompleted(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Core::ICoreWindow4>
{
@@ -1406,8 +1403,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::ICoreWindow5>
{
@@ -1416,24 +1413,24 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ICoreWindowDialog
{
- WINRT_IMPL_AUTO(winrt::event_token) Showing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowPopupShowingEventArgs> const& handler) const;
+ auto Showing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowPopupShowingEventArgs> const& handler) const;
using Showing_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindowDialog, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindowDialog>::remove_Showing>;
- [[nodiscard]] Showing_revoker Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowPopupShowingEventArgs> 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<winrt::Windows::UI::Popups::IUICommand>) 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<winrt::Windows::UI::Popups::IUICommand>) ShowAsync() const;
+ [[nodiscard]] auto Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowPopupShowingEventArgs> 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<winrt::Windows::UI::Core::ICoreWindowDialog>
{
@@ -1442,7 +1439,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::ICoreWindowDialogFactory>
{
@@ -1451,8 +1448,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::ICoreWindowEventArgs>
{
@@ -1461,22 +1458,22 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ICoreWindowFlyout
{
- WINRT_IMPL_AUTO(winrt::event_token) Showing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowPopupShowingEventArgs> const& handler) const;
+ auto Showing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowPopupShowingEventArgs> const& handler) const;
using Showing_revoker = impl::event_revoker<winrt::Windows::UI::Core::ICoreWindowFlyout, &impl::abi_t<winrt::Windows::UI::Core::ICoreWindowFlyout>::remove_Showing>;
- [[nodiscard]] Showing_revoker Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowPopupShowingEventArgs> 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<winrt::Windows::UI::Popups::IUICommand>) 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<winrt::Windows::UI::Popups::IUICommand>) ShowAsync() const;
+ [[nodiscard]] auto Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::CoreWindow, winrt::Windows::UI::Core::CoreWindowPopupShowingEventArgs> 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<winrt::Windows::UI::Core::ICoreWindowFlyout>
{
@@ -1485,8 +1482,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::ICoreWindowFlyoutFactory>
{
@@ -1495,7 +1492,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::ICoreWindowPopupShowingEventArgs>
{
@@ -1504,7 +1501,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ICoreWindowResizeManager
{
- WINRT_IMPL_AUTO(void) NotifyLayoutCompleted() const;
+ auto NotifyLayoutCompleted() const;
};
template <> struct consume<winrt::Windows::UI::Core::ICoreWindowResizeManager>
{
@@ -1513,8 +1510,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::ICoreWindowResizeManagerLayoutCapability>
{
@@ -1523,7 +1520,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ICoreWindowResizeManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowResizeManager) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::UI::Core::ICoreWindowResizeManagerStatics>
{
@@ -1532,7 +1529,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ICoreWindowStatic
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindow) GetForCurrentThread() const;
+ auto GetForCurrentThread() const;
};
template <> struct consume<winrt::Windows::UI::Core::ICoreWindowStatic>
{
@@ -1541,7 +1538,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ICoreWindowWithContext
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) UIContext() const;
+ [[nodiscard]] auto UIContext() const;
};
template <> struct consume<winrt::Windows::UI::Core::ICoreWindowWithContext>
{
@@ -1550,7 +1547,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_IIdleDispatchedHandlerArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsDispatcherIdle() const;
+ [[nodiscard]] auto IsDispatcherIdle() const;
};
template <> struct consume<winrt::Windows::UI::Core::IIdleDispatchedHandlerArgs>
{
@@ -1559,7 +1556,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::IInitializeWithCoreWindow>
{
@@ -1568,7 +1565,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_IInputEnabledEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) InputEnabled() const;
+ [[nodiscard]] auto InputEnabled() const;
};
template <> struct consume<winrt::Windows::UI::Core::IInputEnabledEventArgs>
{
@@ -1577,8 +1574,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::IKeyEventArgs>
{
@@ -1587,7 +1584,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_IKeyEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
+ [[nodiscard]] auto DeviceId() const;
};
template <> struct consume<winrt::Windows::UI::Core::IKeyEventArgs2>
{
@@ -1596,9 +1593,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::PointerPoint>) GetIntermediatePoints() const;
+ [[nodiscard]] auto CurrentPoint() const;
+ [[nodiscard]] auto KeyModifiers() const;
+ auto GetIntermediatePoints() const;
};
template <> struct consume<winrt::Windows::UI::Core::IPointerEventArgs>
{
@@ -1607,10 +1604,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ISystemNavigationManager
{
- WINRT_IMPL_AUTO(winrt::event_token) BackRequested(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Core::BackRequestedEventArgs> const& handler) const;
+ auto BackRequested(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Core::BackRequestedEventArgs> const& handler) const;
using BackRequested_revoker = impl::event_revoker<winrt::Windows::UI::Core::ISystemNavigationManager, &impl::abi_t<winrt::Windows::UI::Core::ISystemNavigationManager>::remove_BackRequested>;
- [[nodiscard]] BackRequested_revoker BackRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Core::BackRequestedEventArgs> 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<winrt::Windows::UI::Core::BackRequestedEventArgs> const& handler) const;
+ auto BackRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Core::ISystemNavigationManager>
{
@@ -1619,8 +1616,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::ISystemNavigationManager2>
{
@@ -1629,7 +1626,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_ISystemNavigationManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Core::SystemNavigationManager) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::UI::Core::ISystemNavigationManagerStatics>
{
@@ -1638,12 +1635,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Point const> 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<winrt::Windows::Foundation::Point const> controlVertices) const;
};
template <> struct consume<winrt::Windows::UI::Core::ITouchHitTestingEventArgs>
{
@@ -1652,7 +1649,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_IVisibilityChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) Visible() const;
+ [[nodiscard]] auto Visible() const;
};
template <> struct consume<winrt::Windows::UI::Core::IVisibilityChangedEventArgs>
{
@@ -1661,7 +1658,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_IWindowActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Core::CoreWindowActivationState) WindowActivationState() const;
+ [[nodiscard]] auto WindowActivationState() const;
};
template <> struct consume<winrt::Windows::UI::Core::IWindowActivatedEventArgs>
{
@@ -1670,7 +1667,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_IWindowSizeChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) Size() const;
+ [[nodiscard]] auto Size() const;
};
template <> struct consume<winrt::Windows::UI::Core::IWindowSizeChangedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.1.h
index 1fb9f03824f..66f6f52958a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.2.h
index bda17cd998d..f59d5118b70 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.0.h
index d3fac5292b0..be688927111 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IReference;
struct Point;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
struct consume_Windows_UI_Core_AnimationMetrics_IAnimationDescription
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Core::AnimationMetrics::IPropertyAnimation>) 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<winrt::Windows::UI::Core::AnimationMetrics::IAnimationDescription>
{
@@ -195,7 +190,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::AnimationMetrics::IAnimationDescriptionFactory>
{
@@ -204,8 +199,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_AnimationMetrics_IOpacityAnimation
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) InitialOpacity() const;
- [[nodiscard]] WINRT_IMPL_AUTO(float) FinalOpacity() const;
+ [[nodiscard]] auto InitialOpacity() const;
+ [[nodiscard]] auto FinalOpacity() const;
};
template <> struct consume<winrt::Windows::UI::Core::AnimationMetrics::IOpacityAnimation>
{
@@ -214,11 +209,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::AnimationMetrics::IPropertyAnimation>
{
@@ -227,11 +222,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_AnimationMetrics_IScaleAnimation
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) InitialScaleX() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) 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<winrt::Windows::UI::Core::AnimationMetrics::IScaleAnimation>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.1.h
index cd658f2c1fd..5b55450a119 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.2.h
index 1fe193c5414..2d0ddbf9bf6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.AnimationMetrics.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.0.h
index 98cf3ff1f9a..f30495864b9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Core::Preview::ICoreAppWindowPreviewStatics>
{
@@ -107,9 +107,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::Preview::ISystemNavigationCloseRequestedPreviewEventArgs>
{
@@ -118,10 +118,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreview
{
- WINRT_IMPL_AUTO(winrt::event_token) CloseRequested(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Core::Preview::SystemNavigationCloseRequestedPreviewEventArgs> const& handler) const;
+ auto CloseRequested(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Core::Preview::SystemNavigationCloseRequestedPreviewEventArgs> const& handler) const;
using CloseRequested_revoker = impl::event_revoker<winrt::Windows::UI::Core::Preview::ISystemNavigationManagerPreview, &impl::abi_t<winrt::Windows::UI::Core::Preview::ISystemNavigationManagerPreview>::remove_CloseRequested>;
- [[nodiscard]] CloseRequested_revoker CloseRequested(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Core::Preview::SystemNavigationCloseRequestedPreviewEventArgs> 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<winrt::Windows::UI::Core::Preview::SystemNavigationCloseRequestedPreviewEventArgs> const& handler) const;
+ auto CloseRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Core::Preview::ISystemNavigationManagerPreview>
{
@@ -130,7 +130,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_Preview_ISystemNavigationManagerPreviewStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Core::Preview::SystemNavigationManagerPreview) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::UI::Core::Preview::ISystemNavigationManagerPreviewStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.1.h
index 79d9ee15e87..d892fe07814 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.2.h
index 4981c8ed70f..03efeb44e43 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.0.h
index 019c27fd6ad..89dcf0e38a3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
struct consume_Windows_UI_Core_Preview_Communications_IPreviewTeamCleanupRequestedEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamCleanupRequestedEventArgs>
{
@@ -210,7 +210,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamCommandInvokedEventArgs>
{
@@ -219,9 +219,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamDeviceCredentials>
{
@@ -230,7 +230,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Core_Preview_Communications_IPreviewTeamEndMeetingRequestedEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamEndMeetingRequestedEventArgs>
{
@@ -239,8 +239,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamJoinMeetingRequestedEventArgs>
{
@@ -249,52 +249,52 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamJoinMeetingRequestedEventArgs> 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<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamJoinMeetingRequestedEventArgs> const& handler) const;
using JoinMeetingRequested_revoker = impl::event_revoker<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView, &impl::abi_t<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView>::remove_JoinMeetingRequested>;
- [[nodiscard]] JoinMeetingRequested_revoker JoinMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamJoinMeetingRequestedEventArgs> 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<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamEndMeetingRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto JoinMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamJoinMeetingRequestedEventArgs> const& handler) const;
+ auto JoinMeetingRequested(winrt::event_token const& token) const noexcept;
+ auto EndMeetingRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamEndMeetingRequestedEventArgs> const& handler) const;
using EndMeetingRequested_revoker = impl::event_revoker<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView, &impl::abi_t<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView>::remove_EndMeetingRequested>;
- [[nodiscard]] EndMeetingRequested_revoker EndMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamEndMeetingRequestedEventArgs> 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<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamCleanupRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto EndMeetingRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamEndMeetingRequestedEventArgs> const& handler) const;
+ auto EndMeetingRequested(winrt::event_token const& token) const noexcept;
+ auto CleanupRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamCleanupRequestedEventArgs> const& handler) const;
using CleanupRequested_revoker = impl::event_revoker<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView, &impl::abi_t<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView>::remove_CleanupRequested>;
- [[nodiscard]] CleanupRequested_revoker CleanupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamCleanupRequestedEventArgs> 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<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto CleanupRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamCleanupRequestedEventArgs> const& handler) const;
+ auto CleanupRequested(winrt::event_token const& token) const noexcept;
+ auto SharingScreenBoundsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const;
using SharingScreenBoundsChanged_revoker = impl::event_revoker<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView, &impl::abi_t<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView>::remove_SharingScreenBoundsChanged>;
- [[nodiscard]] SharingScreenBoundsChanged_revoker SharingScreenBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto SharingScreenBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SharingScreenBoundsChanged(winrt::event_token const& token) const noexcept;
+ auto IsScreenSharingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const;
using IsScreenSharingChanged_revoker = impl::event_revoker<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView, &impl::abi_t<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView>::remove_IsScreenSharingChanged>;
- [[nodiscard]] IsScreenSharingChanged_revoker IsScreenSharingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto IsScreenSharingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto IsScreenSharingChanged(winrt::event_token const& token) const noexcept;
+ auto IsFullScreenChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const;
using IsFullScreenChanged_revoker = impl::event_revoker<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView, &impl::abi_t<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView>::remove_IsFullScreenChanged>;
- [[nodiscard]] IsFullScreenChanged_revoker IsFullScreenChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamCommandInvokedEventArgs> const& handler) const;
+ [[nodiscard]] auto IsFullScreenChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto IsFullScreenChanged(winrt::event_token const& token) const noexcept;
+ auto CommandInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamCommandInvokedEventArgs> const& handler) const;
using CommandInvoked_revoker = impl::event_revoker<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView, &impl::abi_t<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView>::remove_CommandInvoked>;
- [[nodiscard]] CommandInvoked_revoker CommandInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamCommandInvokedEventArgs> 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<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto CommandInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::UI::Core::Preview::Communications::PreviewTeamCommandInvokedEventArgs> const& handler) const;
+ auto CommandInvoked(winrt::event_token const& token) const noexcept;
+ auto SystemStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const;
using SystemStateChanged_revoker = impl::event_revoker<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView, &impl::abi_t<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView>::remove_SystemStateChanged>;
- [[nodiscard]] SystemStateChanged_revoker SystemStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Core::Preview::Communications::PreviewTeamView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SystemStateChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView>
{
@@ -303,7 +303,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamView2>
{
@@ -312,7 +312,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Core::Preview::Communications::IPreviewTeamViewStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.1.h
index 1bb6cec7a21..234267d2466 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.2.h
index 0c6f59d3e85..cbd61e6d2a5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Core.Preview.Communications.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.0.h
index 036b0846b4c..43ca709754e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IReference;
struct Point;
struct Rect;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
@@ -1308,9 +1307,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::ICrossSlidingEventArgs>
{
@@ -1319,7 +1318,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_ICrossSlidingEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ContactCount() const;
+ [[nodiscard]] auto ContactCount() const;
};
template <> struct consume<winrt::Windows::UI::Input::ICrossSlidingEventArgs2>
{
@@ -1328,9 +1327,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IDraggingEventArgs>
{
@@ -1339,7 +1338,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IDraggingEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ContactCount() const;
+ [[nodiscard]] auto ContactCount() const;
};
template <> struct consume<winrt::Windows::UI::Input::IDraggingEventArgs2>
{
@@ -1348,18 +1347,18 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IEdgeGesture
{
- WINRT_IMPL_AUTO(winrt::event_token) Starting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const;
+ auto Starting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const;
using Starting_revoker = impl::event_revoker<winrt::Windows::UI::Input::IEdgeGesture, &impl::abi_t<winrt::Windows::UI::Input::IEdgeGesture>::remove_Starting>;
- [[nodiscard]] Starting_revoker Starting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> 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<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const;
+ [[nodiscard]] auto Starting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const;
+ auto Starting(winrt::event_token const& token) const noexcept;
+ auto Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const;
using Completed_revoker = impl::event_revoker<winrt::Windows::UI::Input::IEdgeGesture, &impl::abi_t<winrt::Windows::UI::Input::IEdgeGesture>::remove_Completed>;
- [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> 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<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const;
+ [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const;
+ auto Completed(winrt::event_token const& token) const noexcept;
+ auto Canceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const;
using Canceled_revoker = impl::event_revoker<winrt::Windows::UI::Input::IEdgeGesture, &impl::abi_t<winrt::Windows::UI::Input::IEdgeGesture>::remove_Canceled>;
- [[nodiscard]] Canceled_revoker Canceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> 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<winrt::Windows::UI::Input::EdgeGesture, winrt::Windows::UI::Input::EdgeGestureEventArgs> const& handler) const;
+ auto Canceled(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Input::IEdgeGesture>
{
@@ -1368,7 +1367,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IEdgeGestureEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::EdgeGestureKind) Kind() const;
+ [[nodiscard]] auto Kind() const;
};
template <> struct consume<winrt::Windows::UI::Input::IEdgeGestureEventArgs>
{
@@ -1377,7 +1376,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IEdgeGestureStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Input::EdgeGesture) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::UI::Input::IEdgeGestureStatics>
{
@@ -1386,82 +1385,82 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::PointerPoint> 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<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::TappedEventArgs> 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<winrt::Windows::UI::Input::PointerPoint> 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<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::TappedEventArgs> const& handler) const;
using Tapped_revoker = impl::event_revoker<winrt::Windows::UI::Input::IGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::IGestureRecognizer>::remove_Tapped>;
- [[nodiscard]] Tapped_revoker Tapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::TappedEventArgs> 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<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::RightTappedEventArgs> const& handler) const;
+ [[nodiscard]] auto Tapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::TappedEventArgs> const& handler) const;
+ auto Tapped(winrt::event_token const& token) const noexcept;
+ auto RightTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::RightTappedEventArgs> const& handler) const;
using RightTapped_revoker = impl::event_revoker<winrt::Windows::UI::Input::IGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::IGestureRecognizer>::remove_RightTapped>;
- [[nodiscard]] RightTapped_revoker RightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::RightTappedEventArgs> 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<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::HoldingEventArgs> const& handler) const;
+ [[nodiscard]] auto RightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::RightTappedEventArgs> const& handler) const;
+ auto RightTapped(winrt::event_token const& token) const noexcept;
+ auto Holding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::HoldingEventArgs> const& handler) const;
using Holding_revoker = impl::event_revoker<winrt::Windows::UI::Input::IGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::IGestureRecognizer>::remove_Holding>;
- [[nodiscard]] Holding_revoker Holding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::HoldingEventArgs> 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<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::DraggingEventArgs> const& handler) const;
+ [[nodiscard]] auto Holding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::HoldingEventArgs> const& handler) const;
+ auto Holding(winrt::event_token const& token) const noexcept;
+ auto Dragging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::DraggingEventArgs> const& handler) const;
using Dragging_revoker = impl::event_revoker<winrt::Windows::UI::Input::IGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::IGestureRecognizer>::remove_Dragging>;
- [[nodiscard]] Dragging_revoker Dragging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::DraggingEventArgs> 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<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationStartedEventArgs> const& handler) const;
+ [[nodiscard]] auto Dragging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::DraggingEventArgs> const& handler) const;
+ auto Dragging(winrt::event_token const& token) const noexcept;
+ auto ManipulationStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationStartedEventArgs> const& handler) const;
using ManipulationStarted_revoker = impl::event_revoker<winrt::Windows::UI::Input::IGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::IGestureRecognizer>::remove_ManipulationStarted>;
- [[nodiscard]] ManipulationStarted_revoker ManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationStartedEventArgs> 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<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationUpdatedEventArgs> const& handler) const;
+ [[nodiscard]] auto ManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationStartedEventArgs> const& handler) const;
+ auto ManipulationStarted(winrt::event_token const& token) const noexcept;
+ auto ManipulationUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationUpdatedEventArgs> const& handler) const;
using ManipulationUpdated_revoker = impl::event_revoker<winrt::Windows::UI::Input::IGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::IGestureRecognizer>::remove_ManipulationUpdated>;
- [[nodiscard]] ManipulationUpdated_revoker ManipulationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationUpdatedEventArgs> 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<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationInertiaStartingEventArgs> const& handler) const;
+ [[nodiscard]] auto ManipulationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationUpdatedEventArgs> const& handler) const;
+ auto ManipulationUpdated(winrt::event_token const& token) const noexcept;
+ auto ManipulationInertiaStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationInertiaStartingEventArgs> const& handler) const;
using ManipulationInertiaStarting_revoker = impl::event_revoker<winrt::Windows::UI::Input::IGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::IGestureRecognizer>::remove_ManipulationInertiaStarting>;
- [[nodiscard]] ManipulationInertiaStarting_revoker ManipulationInertiaStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationInertiaStartingEventArgs> 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<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto ManipulationInertiaStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationInertiaStartingEventArgs> const& handler) const;
+ auto ManipulationInertiaStarting(winrt::event_token const& token) const noexcept;
+ auto ManipulationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationCompletedEventArgs> const& handler) const;
using ManipulationCompleted_revoker = impl::event_revoker<winrt::Windows::UI::Input::IGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::IGestureRecognizer>::remove_ManipulationCompleted>;
- [[nodiscard]] ManipulationCompleted_revoker ManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationCompletedEventArgs> 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<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::CrossSlidingEventArgs> const& handler) const;
+ [[nodiscard]] auto ManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::ManipulationCompletedEventArgs> const& handler) const;
+ auto ManipulationCompleted(winrt::event_token const& token) const noexcept;
+ auto CrossSliding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::CrossSlidingEventArgs> const& handler) const;
using CrossSliding_revoker = impl::event_revoker<winrt::Windows::UI::Input::IGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::IGestureRecognizer>::remove_CrossSliding>;
- [[nodiscard]] CrossSliding_revoker CrossSliding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::CrossSlidingEventArgs> 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<winrt::Windows::UI::Input::GestureRecognizer, winrt::Windows::UI::Input::CrossSlidingEventArgs> const& handler) const;
+ auto CrossSliding(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Input::IGestureRecognizer>
{
@@ -1470,22 +1469,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IGestureRecognizer2>
{
@@ -1494,9 +1493,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IHoldingEventArgs>
{
@@ -1505,8 +1504,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IHoldingEventArgs2>
{
@@ -1515,11 +1514,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::InputActivationListener, winrt::Windows::UI::Input::InputActivationListenerActivationChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto State() const;
+ auto InputActivationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::InputActivationListener, winrt::Windows::UI::Input::InputActivationListenerActivationChangedEventArgs> const& handler) const;
using InputActivationChanged_revoker = impl::event_revoker<winrt::Windows::UI::Input::IInputActivationListener, &impl::abi_t<winrt::Windows::UI::Input::IInputActivationListener>::remove_InputActivationChanged>;
- [[nodiscard]] InputActivationChanged_revoker InputActivationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::InputActivationListener, winrt::Windows::UI::Input::InputActivationListenerActivationChangedEventArgs> 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<winrt::Windows::UI::Input::InputActivationListener, winrt::Windows::UI::Input::InputActivationListenerActivationChangedEventArgs> const& handler) const;
+ auto InputActivationChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Input::IInputActivationListener>
{
@@ -1528,7 +1527,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IInputActivationListenerActivationChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::InputActivationState) State() const;
+ [[nodiscard]] auto State() const;
};
template <> struct consume<winrt::Windows::UI::Input::IInputActivationListenerActivationChangedEventArgs>
{
@@ -1537,16 +1536,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::KeyboardDeliveryInterceptor, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
+ [[nodiscard]] auto IsInterceptionEnabledWhenInForeground() const;
+ auto IsInterceptionEnabledWhenInForeground(bool value) const;
+ auto KeyDown(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::KeyboardDeliveryInterceptor, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
using KeyDown_revoker = impl::event_revoker<winrt::Windows::UI::Input::IKeyboardDeliveryInterceptor, &impl::abi_t<winrt::Windows::UI::Input::IKeyboardDeliveryInterceptor>::remove_KeyDown>;
- [[nodiscard]] KeyDown_revoker KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::KeyboardDeliveryInterceptor, winrt::Windows::UI::Core::KeyEventArgs> 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<winrt::Windows::UI::Input::KeyboardDeliveryInterceptor, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
+ [[nodiscard]] auto KeyDown(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::KeyboardDeliveryInterceptor, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
+ auto KeyDown(winrt::event_token const& token) const noexcept;
+ auto KeyUp(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::KeyboardDeliveryInterceptor, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
using KeyUp_revoker = impl::event_revoker<winrt::Windows::UI::Input::IKeyboardDeliveryInterceptor, &impl::abi_t<winrt::Windows::UI::Input::IKeyboardDeliveryInterceptor>::remove_KeyUp>;
- [[nodiscard]] KeyUp_revoker KeyUp(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::KeyboardDeliveryInterceptor, winrt::Windows::UI::Core::KeyEventArgs> 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<winrt::Windows::UI::Input::KeyboardDeliveryInterceptor, winrt::Windows::UI::Core::KeyEventArgs> const& handler) const;
+ auto KeyUp(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Input::IKeyboardDeliveryInterceptor>
{
@@ -1555,7 +1554,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IKeyboardDeliveryInterceptorStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Input::KeyboardDeliveryInterceptor) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::UI::Input::IKeyboardDeliveryInterceptorStatics>
{
@@ -1564,10 +1563,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IManipulationCompletedEventArgs>
{
@@ -1576,8 +1575,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IManipulationCompletedEventArgs2>
{
@@ -1586,11 +1585,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IManipulationInertiaStartingEventArgs>
{
@@ -1599,7 +1598,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IManipulationInertiaStartingEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ContactCount() const;
+ [[nodiscard]] auto ContactCount() const;
};
template <> struct consume<winrt::Windows::UI::Input::IManipulationInertiaStartingEventArgs2>
{
@@ -1608,9 +1607,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IManipulationStartedEventArgs>
{
@@ -1619,7 +1618,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IManipulationStartedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ContactCount() const;
+ [[nodiscard]] auto ContactCount() const;
};
template <> struct consume<winrt::Windows::UI::Input::IManipulationStartedEventArgs2>
{
@@ -1628,11 +1627,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IManipulationUpdatedEventArgs>
{
@@ -1641,8 +1640,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IManipulationUpdatedEventArgs2>
{
@@ -1651,14 +1650,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IMouseWheelParameters>
{
@@ -1667,14 +1666,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IPointerPoint>
{
@@ -1683,30 +1682,30 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IPointerPointProperties>
{
@@ -1715,7 +1714,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IPointerPointProperties2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<float>) ZDistance() const;
+ [[nodiscard]] auto ZDistance() const;
};
template <> struct consume<winrt::Windows::UI::Input::IPointerPointProperties2>
{
@@ -1724,10 +1723,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::PointerPoint>) 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<winrt::Windows::UI::Input::PointerPoint>) 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<winrt::Windows::UI::Input::IPointerPointStatics>
{
@@ -1736,9 +1735,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IPointerPointTransform>
{
@@ -1747,10 +1746,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IPointerVisualizationSettings>
{
@@ -1759,7 +1758,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IPointerVisualizationSettingsStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Input::PointerVisualizationSettings) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::UI::Input::IPointerVisualizationSettingsStatics>
{
@@ -1768,39 +1767,39 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerScreenContactStartedEventArgs> 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<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerScreenContactStartedEventArgs> const& handler) const;
using ScreenContactStarted_revoker = impl::event_revoker<winrt::Windows::UI::Input::IRadialController, &impl::abi_t<winrt::Windows::UI::Input::IRadialController>::remove_ScreenContactStarted>;
- [[nodiscard]] ScreenContactStarted_revoker ScreenContactStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerScreenContactStartedEventArgs> 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<winrt::Windows::UI::Input::RadialController, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto ScreenContactStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerScreenContactStartedEventArgs> const& handler) const;
+ auto ScreenContactStarted(winrt::event_token const& cookie) const noexcept;
+ auto ScreenContactEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ScreenContactEnded_revoker = impl::event_revoker<winrt::Windows::UI::Input::IRadialController, &impl::abi_t<winrt::Windows::UI::Input::IRadialController>::remove_ScreenContactEnded>;
- [[nodiscard]] ScreenContactEnded_revoker ScreenContactEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerScreenContactContinuedEventArgs> const& handler) const;
+ [[nodiscard]] auto ScreenContactEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ScreenContactEnded(winrt::event_token const& cookie) const noexcept;
+ auto ScreenContactContinued(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerScreenContactContinuedEventArgs> const& handler) const;
using ScreenContactContinued_revoker = impl::event_revoker<winrt::Windows::UI::Input::IRadialController, &impl::abi_t<winrt::Windows::UI::Input::IRadialController>::remove_ScreenContactContinued>;
- [[nodiscard]] ScreenContactContinued_revoker ScreenContactContinued(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerScreenContactContinuedEventArgs> 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<winrt::Windows::UI::Input::RadialController, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto ScreenContactContinued(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerScreenContactContinuedEventArgs> const& handler) const;
+ auto ScreenContactContinued(winrt::event_token const& cookie) const noexcept;
+ auto ControlLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ControlLost_revoker = impl::event_revoker<winrt::Windows::UI::Input::IRadialController, &impl::abi_t<winrt::Windows::UI::Input::IRadialController>::remove_ControlLost>;
- [[nodiscard]] ControlLost_revoker ControlLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerRotationChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto ControlLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ControlLost(winrt::event_token const& cookie) const noexcept;
+ auto RotationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerRotationChangedEventArgs> const& handler) const;
using RotationChanged_revoker = impl::event_revoker<winrt::Windows::UI::Input::IRadialController, &impl::abi_t<winrt::Windows::UI::Input::IRadialController>::remove_RotationChanged>;
- [[nodiscard]] RotationChanged_revoker RotationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerRotationChangedEventArgs> 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<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonClickedEventArgs> const& handler) const;
+ [[nodiscard]] auto RotationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerRotationChangedEventArgs> const& handler) const;
+ auto RotationChanged(winrt::event_token const& token) const noexcept;
+ auto ButtonClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonClickedEventArgs> const& handler) const;
using ButtonClicked_revoker = impl::event_revoker<winrt::Windows::UI::Input::IRadialController, &impl::abi_t<winrt::Windows::UI::Input::IRadialController>::remove_ButtonClicked>;
- [[nodiscard]] ButtonClicked_revoker ButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonClickedEventArgs> 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<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerControlAcquiredEventArgs> const& handler) const;
+ [[nodiscard]] auto ButtonClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonClickedEventArgs> const& handler) const;
+ auto ButtonClicked(winrt::event_token const& token) const noexcept;
+ auto ControlAcquired(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerControlAcquiredEventArgs> const& handler) const;
using ControlAcquired_revoker = impl::event_revoker<winrt::Windows::UI::Input::IRadialController, &impl::abi_t<winrt::Windows::UI::Input::IRadialController>::remove_ControlAcquired>;
- [[nodiscard]] ControlAcquired_revoker ControlAcquired(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerControlAcquiredEventArgs> 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<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerControlAcquiredEventArgs> const& handler) const;
+ auto ControlAcquired(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Input::IRadialController>
{
@@ -1809,18 +1808,18 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IRadialController2
{
- WINRT_IMPL_AUTO(winrt::event_token) ButtonPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonPressedEventArgs> const& handler) const;
+ auto ButtonPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonPressedEventArgs> const& handler) const;
using ButtonPressed_revoker = impl::event_revoker<winrt::Windows::UI::Input::IRadialController2, &impl::abi_t<winrt::Windows::UI::Input::IRadialController2>::remove_ButtonPressed>;
- [[nodiscard]] ButtonPressed_revoker ButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonPressedEventArgs> 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<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonHoldingEventArgs> const& handler) const;
+ [[nodiscard]] auto ButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonPressedEventArgs> const& handler) const;
+ auto ButtonPressed(winrt::event_token const& token) const noexcept;
+ auto ButtonHolding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonHoldingEventArgs> const& handler) const;
using ButtonHolding_revoker = impl::event_revoker<winrt::Windows::UI::Input::IRadialController2, &impl::abi_t<winrt::Windows::UI::Input::IRadialController2>::remove_ButtonHolding>;
- [[nodiscard]] ButtonHolding_revoker ButtonHolding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonHoldingEventArgs> 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<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonReleasedEventArgs> const& handler) const;
+ [[nodiscard]] auto ButtonHolding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonHoldingEventArgs> const& handler) const;
+ auto ButtonHolding(winrt::event_token const& token) const noexcept;
+ auto ButtonReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonReleasedEventArgs> const& handler) const;
using ButtonReleased_revoker = impl::event_revoker<winrt::Windows::UI::Input::IRadialController2, &impl::abi_t<winrt::Windows::UI::Input::IRadialController2>::remove_ButtonReleased>;
- [[nodiscard]] ButtonReleased_revoker ButtonReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonReleasedEventArgs> 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<winrt::Windows::UI::Input::RadialController, winrt::Windows::UI::Input::RadialControllerButtonReleasedEventArgs> const& handler) const;
+ auto ButtonReleased(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Input::IRadialController2>
{
@@ -1829,7 +1828,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IRadialControllerButtonClickedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) Contact() const;
+ [[nodiscard]] auto Contact() const;
};
template <> struct consume<winrt::Windows::UI::Input::IRadialControllerButtonClickedEventArgs>
{
@@ -1838,7 +1837,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IRadialControllerButtonClickedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Devices::Haptics::SimpleHapticsController) SimpleHapticsController() const;
+ [[nodiscard]] auto SimpleHapticsController() const;
};
template <> struct consume<winrt::Windows::UI::Input::IRadialControllerButtonClickedEventArgs2>
{
@@ -1847,8 +1846,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IRadialControllerButtonHoldingEventArgs>
{
@@ -1857,8 +1856,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IRadialControllerButtonPressedEventArgs>
{
@@ -1867,8 +1866,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IRadialControllerButtonReleasedEventArgs>
{
@@ -1877,9 +1876,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IRadialControllerConfiguration
{
- WINRT_IMPL_AUTO(void) SetDefaultMenuItems(param::iterable<winrt::Windows::UI::Input::RadialControllerSystemMenuItemKind> 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<winrt::Windows::UI::Input::RadialControllerSystemMenuItemKind> const& buttons) const;
+ auto ResetToDefaultMenuItems() const;
+ auto TrySelectDefaultMenuItem(winrt::Windows::UI::Input::RadialControllerSystemMenuItemKind const& type) const;
};
template <> struct consume<winrt::Windows::UI::Input::IRadialControllerConfiguration>
{
@@ -1888,10 +1887,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IRadialControllerConfiguration2>
{
@@ -1900,7 +1899,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IRadialControllerConfigurationStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerConfiguration) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::UI::Input::IRadialControllerConfigurationStatics>
{
@@ -1909,10 +1908,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IRadialControllerConfigurationStatics2>
{
@@ -1921,7 +1920,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IRadialControllerControlAcquiredEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) Contact() const;
+ [[nodiscard]] auto Contact() const;
};
template <> struct consume<winrt::Windows::UI::Input::IRadialControllerControlAcquiredEventArgs>
{
@@ -1930,8 +1929,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IRadialControllerControlAcquiredEventArgs2>
{
@@ -1940,12 +1939,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IRadialControllerMenu
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Input::RadialControllerMenuItem>) 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<winrt::Windows::UI::Input::IRadialControllerMenu>
{
@@ -1954,13 +1953,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::RadialControllerMenuItem, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Input::RadialControllerMenuItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Invoked_revoker = impl::event_revoker<winrt::Windows::UI::Input::IRadialControllerMenuItem, &impl::abi_t<winrt::Windows::UI::Input::IRadialControllerMenuItem>::remove_Invoked>;
- [[nodiscard]] Invoked_revoker Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::RadialControllerMenuItem, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Input::RadialControllerMenuItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Invoked(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Input::IRadialControllerMenuItem>
{
@@ -1969,8 +1968,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IRadialControllerMenuItemStatics>
{
@@ -1979,8 +1978,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IRadialControllerMenuItemStatics2>
{
@@ -1989,8 +1988,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IRadialControllerRotationChangedEventArgs>
{
@@ -1999,8 +1998,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IRadialControllerRotationChangedEventArgs2>
{
@@ -2009,8 +2008,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IRadialControllerScreenContact>
{
@@ -2019,7 +2018,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IRadialControllerScreenContactContinuedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) Contact() const;
+ [[nodiscard]] auto Contact() const;
};
template <> struct consume<winrt::Windows::UI::Input::IRadialControllerScreenContactContinuedEventArgs>
{
@@ -2028,8 +2027,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IRadialControllerScreenContactContinuedEventArgs2>
{
@@ -2038,8 +2037,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IRadialControllerScreenContactEndedEventArgs>
{
@@ -2048,7 +2047,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IRadialControllerScreenContactStartedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::RadialControllerScreenContact) Contact() const;
+ [[nodiscard]] auto Contact() const;
};
template <> struct consume<winrt::Windows::UI::Input::IRadialControllerScreenContactStartedEventArgs>
{
@@ -2057,8 +2056,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IRadialControllerScreenContactStartedEventArgs2>
{
@@ -2067,8 +2066,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IRadialControllerStatics>
{
@@ -2077,8 +2076,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::IRightTappedEventArgs>
{
@@ -2087,7 +2086,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_IRightTappedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ContactCount() const;
+ [[nodiscard]] auto ContactCount() const;
};
template <> struct consume<winrt::Windows::UI::Input::IRightTappedEventArgs2>
{
@@ -2096,22 +2095,22 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_ISystemButtonEventController
{
- WINRT_IMPL_AUTO(winrt::event_token) SystemFunctionButtonPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionButtonEventArgs> const& handler) const;
+ auto SystemFunctionButtonPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionButtonEventArgs> const& handler) const;
using SystemFunctionButtonPressed_revoker = impl::event_revoker<winrt::Windows::UI::Input::ISystemButtonEventController, &impl::abi_t<winrt::Windows::UI::Input::ISystemButtonEventController>::remove_SystemFunctionButtonPressed>;
- [[nodiscard]] SystemFunctionButtonPressed_revoker SystemFunctionButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionButtonEventArgs> 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<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionButtonEventArgs> const& handler) const;
+ [[nodiscard]] auto SystemFunctionButtonPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionButtonEventArgs> const& handler) const;
+ auto SystemFunctionButtonPressed(winrt::event_token const& token) const noexcept;
+ auto SystemFunctionButtonReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionButtonEventArgs> const& handler) const;
using SystemFunctionButtonReleased_revoker = impl::event_revoker<winrt::Windows::UI::Input::ISystemButtonEventController, &impl::abi_t<winrt::Windows::UI::Input::ISystemButtonEventController>::remove_SystemFunctionButtonReleased>;
- [[nodiscard]] SystemFunctionButtonReleased_revoker SystemFunctionButtonReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionButtonEventArgs> 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<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionLockChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto SystemFunctionButtonReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionButtonEventArgs> const& handler) const;
+ auto SystemFunctionButtonReleased(winrt::event_token const& token) const noexcept;
+ auto SystemFunctionLockChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionLockChangedEventArgs> const& handler) const;
using SystemFunctionLockChanged_revoker = impl::event_revoker<winrt::Windows::UI::Input::ISystemButtonEventController, &impl::abi_t<winrt::Windows::UI::Input::ISystemButtonEventController>::remove_SystemFunctionLockChanged>;
- [[nodiscard]] SystemFunctionLockChanged_revoker SystemFunctionLockChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionLockChangedEventArgs> 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<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionLockIndicatorChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto SystemFunctionLockChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionLockChangedEventArgs> const& handler) const;
+ auto SystemFunctionLockChanged(winrt::event_token const& token) const noexcept;
+ auto SystemFunctionLockIndicatorChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionLockIndicatorChangedEventArgs> const& handler) const;
using SystemFunctionLockIndicatorChanged_revoker = impl::event_revoker<winrt::Windows::UI::Input::ISystemButtonEventController, &impl::abi_t<winrt::Windows::UI::Input::ISystemButtonEventController>::remove_SystemFunctionLockIndicatorChanged>;
- [[nodiscard]] SystemFunctionLockIndicatorChanged_revoker SystemFunctionLockIndicatorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionLockIndicatorChangedEventArgs> 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<winrt::Windows::UI::Input::SystemButtonEventController, winrt::Windows::UI::Input::SystemFunctionLockIndicatorChangedEventArgs> const& handler) const;
+ auto SystemFunctionLockIndicatorChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Input::ISystemButtonEventController>
{
@@ -2120,7 +2119,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::ISystemButtonEventControllerStatics>
{
@@ -2129,9 +2128,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::ISystemFunctionButtonEventArgs>
{
@@ -2140,10 +2139,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::ISystemFunctionLockChangedEventArgs>
{
@@ -2152,10 +2151,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::ISystemFunctionLockIndicatorChangedEventArgs>
{
@@ -2164,9 +2163,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::ITappedEventArgs>
{
@@ -2175,7 +2174,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_ITappedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ContactCount() const;
+ [[nodiscard]] auto ContactCount() const;
};
template <> struct consume<winrt::Windows::UI::Input::ITappedEventArgs2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.1.h
index 99e4b01a4ee..3487a0d5e9a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.2.h
index e35a8423e75..25c928600ac 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.0.h
index ca841edf6b0..fc1ddd31ebb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Input::Core::IRadialControllerIndependentInputSource>
{
@@ -75,7 +75,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Core_IRadialControllerIndependentInputSource2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::DispatcherQueue) DispatcherQueue() const;
+ [[nodiscard]] auto DispatcherQueue() const;
};
template <> struct consume<winrt::Windows::UI::Input::Core::IRadialControllerIndependentInputSource2>
{
@@ -84,7 +84,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Core::IRadialControllerIndependentInputSourceStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.1.h
index 2cb6f7e8b9f..e5151496662 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.2.h
index 86632289a61..55e9513b89b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.0.h
index 26ed566481a..08cb2bbaeda 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TProgress> struct __declspec(empty_bases) IAsyncActionWithProgress;
- template <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
struct Point;
struct Rect;
@@ -885,16 +882,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkDrawingAttributes>
{
@@ -903,10 +900,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkDrawingAttributes2>
{
@@ -915,8 +912,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkDrawingAttributes3>
{
@@ -925,8 +922,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkDrawingAttributes4>
{
@@ -935,7 +932,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkDrawingAttributes5>
{
@@ -944,8 +941,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkDrawingAttributesPencilProperties>
{
@@ -954,7 +951,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_IInkDrawingAttributesStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkDrawingAttributes) CreateForPencil() const;
+ auto CreateForPencil() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IInkDrawingAttributesStatics>
{
@@ -963,10 +960,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkInputConfiguration>
{
@@ -975,10 +972,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkInputProcessingConfiguration>
{
@@ -987,13 +984,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkRecognitionResult>>) 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<winrt::Windows::UI::Input::Inking::IInkManager>
{
@@ -1002,10 +999,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkModelerAttributes>
{
@@ -1014,8 +1011,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkModelerAttributes2>
{
@@ -1024,8 +1021,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkPoint>
{
@@ -1034,9 +1031,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkPoint2>
{
@@ -1045,7 +1042,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkPointFactory>
{
@@ -1054,7 +1051,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkPointFactory2>
{
@@ -1063,27 +1060,27 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::InkPresenter, winrt::Windows::UI::Input::Inking::InkStrokesCollectedEventArgs> 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<winrt::Windows::UI::Input::Inking::InkPresenter, winrt::Windows::UI::Input::Inking::InkStrokesCollectedEventArgs> const& handler) const;
using StrokesCollected_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::IInkPresenter, &impl::abi_t<winrt::Windows::UI::Input::Inking::IInkPresenter>::remove_StrokesCollected>;
- [[nodiscard]] StrokesCollected_revoker StrokesCollected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkPresenter, winrt::Windows::UI::Input::Inking::InkStrokesCollectedEventArgs> 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<winrt::Windows::UI::Input::Inking::InkPresenter, winrt::Windows::UI::Input::Inking::InkStrokesErasedEventArgs> const& handler) const;
+ [[nodiscard]] auto StrokesCollected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkPresenter, winrt::Windows::UI::Input::Inking::InkStrokesCollectedEventArgs> const& handler) const;
+ auto StrokesCollected(winrt::event_token const& cookie) const noexcept;
+ auto StrokesErased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkPresenter, winrt::Windows::UI::Input::Inking::InkStrokesErasedEventArgs> const& handler) const;
using StrokesErased_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::IInkPresenter, &impl::abi_t<winrt::Windows::UI::Input::Inking::IInkPresenter>::remove_StrokesErased>;
- [[nodiscard]] StrokesErased_revoker StrokesErased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkPresenter, winrt::Windows::UI::Input::Inking::InkStrokesErasedEventArgs> 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<winrt::Windows::UI::Input::Inking::InkPresenter, winrt::Windows::UI::Input::Inking::InkStrokesErasedEventArgs> const& handler) const;
+ auto StrokesErased(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IInkPresenter>
{
@@ -1092,8 +1089,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkPresenter2>
{
@@ -1102,7 +1099,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkPresenter3>
{
@@ -1111,20 +1108,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkPresenterProtractor>
{
@@ -1133,7 +1130,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkPresenterProtractorFactory>
{
@@ -1142,10 +1139,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkPresenterRuler>
{
@@ -1154,10 +1151,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkPresenterRuler2>
{
@@ -1166,7 +1163,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkPresenterRulerFactory>
{
@@ -1175,15 +1172,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkPresenterStencil>
{
@@ -1192,9 +1189,9 @@ namespace winrt::impl
template <typename D>
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<hstring>) GetTextCandidates() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkStroke>) GetStrokes() const;
+ [[nodiscard]] auto BoundingRect() const;
+ auto GetTextCandidates() const;
+ auto GetStrokes() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IInkRecognitionResult>
{
@@ -1203,7 +1200,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_IInkRecognizer
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const;
+ [[nodiscard]] auto Name() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IInkRecognizer>
{
@@ -1212,9 +1209,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkRecognitionResult>>) 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<winrt::Windows::UI::Input::Inking::InkRecognizer>) 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<winrt::Windows::UI::Input::Inking::IInkRecognizerContainer>
{
@@ -1223,14 +1220,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::InkStrokeRenderingSegment>) 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<winrt::Windows::UI::Input::Inking::IInkStroke>
{
@@ -1239,9 +1236,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::InkPoint>) GetInkPoints() const;
+ [[nodiscard]] auto PointTransform() const;
+ auto PointTransform(winrt::Windows::Foundation::Numerics::float3x2 const& value) const;
+ auto GetInkPoints() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IInkStroke2>
{
@@ -1250,11 +1247,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_IInkStroke3
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) Id() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) StrokeStartedTime() const;
- WINRT_IMPL_AUTO(void) StrokeStartedTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) StrokeDuration() const;
- WINRT_IMPL_AUTO(void) StrokeDuration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ [[nodiscard]] auto Id() const;
+ [[nodiscard]] auto StrokeStartedTime() const;
+ auto StrokeStartedTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
+ [[nodiscard]] auto StrokeDuration() const;
+ auto StrokeDuration(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IInkStroke3>
{
@@ -1263,11 +1260,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Point> 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<winrt::Windows::Foundation::Point> const& points) const;
+ auto SetDefaultDrawingAttributes(winrt::Windows::UI::Input::Inking::InkDrawingAttributes const& drawingAttributes) const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IInkStrokeBuilder>
{
@@ -1276,7 +1273,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_IInkStrokeBuilder2
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) CreateStrokeFromInkPoints(param::iterable<winrt::Windows::UI::Input::Inking::InkPoint> const& inkPoints, winrt::Windows::Foundation::Numerics::float3x2 const& transform) const;
+ auto CreateStrokeFromInkPoints(param::iterable<winrt::Windows::UI::Input::Inking::InkPoint> const& inkPoints, winrt::Windows::Foundation::Numerics::float3x2 const& transform) const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IInkStrokeBuilder2>
{
@@ -1285,7 +1282,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_IInkStrokeBuilder3
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::InkStroke) CreateStrokeFromInkPoints(param::iterable<winrt::Windows::UI::Input::Inking::InkPoint> const& inkPoints, winrt::Windows::Foundation::Numerics::float3x2 const& transform, winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& strokeStartedTime, winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& strokeDuration) const;
+ auto CreateStrokeFromInkPoints(param::iterable<winrt::Windows::UI::Input::Inking::InkPoint> const& inkPoints, winrt::Windows::Foundation::Numerics::float3x2 const& transform, winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& strokeStartedTime, winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& strokeDuration) const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IInkStrokeBuilder3>
{
@@ -1294,20 +1291,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Point> 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<uint64_t>) LoadAsync(winrt::Windows::Storage::Streams::IInputStream const& inputStream) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint32_t, uint32_t>) SaveAsync(winrt::Windows::Storage::Streams::IOutputStream const& outputStream) const;
- WINRT_IMPL_AUTO(void) UpdateRecognitionResults(param::vector_view<winrt::Windows::UI::Input::Inking::InkRecognitionResult> const& recognitionResults) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkStroke>) GetStrokes() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkRecognitionResult>) 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<winrt::Windows::Foundation::Point> 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<winrt::Windows::UI::Input::Inking::InkRecognitionResult> const& recognitionResults) const;
+ auto GetStrokes() const;
+ auto GetRecognitionResults() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IInkStrokeContainer>
{
@@ -1316,8 +1313,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_IInkStrokeContainer2
{
- WINRT_IMPL_AUTO(void) AddStrokes(param::iterable<winrt::Windows::UI::Input::Inking::InkStroke> const& strokes) const;
- WINRT_IMPL_AUTO(void) Clear() const;
+ auto AddStrokes(param::iterable<winrt::Windows::UI::Input::Inking::InkStroke> const& strokes) const;
+ auto Clear() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IInkStrokeContainer2>
{
@@ -1326,8 +1323,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_IInkStrokeContainer3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint32_t, uint32_t>) 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<winrt::Windows::UI::Input::Inking::IInkStrokeContainer3>
{
@@ -1336,23 +1333,23 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_IInkStrokeInput
{
- WINRT_IMPL_AUTO(winrt::event_token) StrokeStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto StrokeStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using StrokeStarted_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::IInkStrokeInput, &impl::abi_t<winrt::Windows::UI::Input::Inking::IInkStrokeInput>::remove_StrokeStarted>;
- [[nodiscard]] StrokeStarted_revoker StrokeStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto StrokeStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto StrokeStarted(winrt::event_token const& cookie) const noexcept;
+ auto StrokeContinued(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using StrokeContinued_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::IInkStrokeInput, &impl::abi_t<winrt::Windows::UI::Input::Inking::IInkStrokeInput>::remove_StrokeContinued>;
- [[nodiscard]] StrokeContinued_revoker StrokeContinued(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto StrokeContinued(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto StrokeContinued(winrt::event_token const& cookie) const noexcept;
+ auto StrokeEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using StrokeEnded_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::IInkStrokeInput, &impl::abi_t<winrt::Windows::UI::Input::Inking::IInkStrokeInput>::remove_StrokeEnded>;
- [[nodiscard]] StrokeEnded_revoker StrokeEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto StrokeEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto StrokeEnded(winrt::event_token const& cookie) const noexcept;
+ auto StrokeCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using StrokeCanceled_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::IInkStrokeInput, &impl::abi_t<winrt::Windows::UI::Input::Inking::IInkStrokeInput>::remove_StrokeCanceled>;
- [[nodiscard]] StrokeCanceled_revoker StrokeCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::InkStrokeInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto StrokeCanceled(winrt::event_token const& cookie) const noexcept;
+ [[nodiscard]] auto InkPresenter() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IInkStrokeInput>
{
@@ -1361,13 +1358,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IInkStrokeRenderingSegment>
{
@@ -1376,7 +1373,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_IInkStrokesCollectedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkStroke>) Strokes() const;
+ [[nodiscard]] auto Strokes() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IInkStrokesCollectedEventArgs>
{
@@ -1385,7 +1382,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_IInkStrokesErasedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkStroke>) Strokes() const;
+ [[nodiscard]] auto Strokes() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IInkStrokesErasedEventArgs>
{
@@ -1394,8 +1391,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_IInkSynchronizer
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::InkStroke>) BeginDry() const;
- WINRT_IMPL_AUTO(void) EndDry() const;
+ auto BeginDry() const;
+ auto EndDry() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IInkSynchronizer>
{
@@ -1404,35 +1401,35 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_IInkUnprocessedInput
{
- WINRT_IMPL_AUTO(winrt::event_token) PointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerEntered_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput, &impl::abi_t<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput>::remove_PointerEntered>;
- [[nodiscard]] PointerEntered_revoker PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerEntered(winrt::event_token const& cookie) const noexcept;
+ auto PointerHovered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerHovered_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput, &impl::abi_t<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput>::remove_PointerHovered>;
- [[nodiscard]] PointerHovered_revoker PointerHovered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerHovered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerHovered(winrt::event_token const& cookie) const noexcept;
+ auto PointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerExited_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput, &impl::abi_t<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput>::remove_PointerExited>;
- [[nodiscard]] PointerExited_revoker PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerExited(winrt::event_token const& cookie) const noexcept;
+ auto PointerPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerPressed_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput, &impl::abi_t<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput>::remove_PointerPressed>;
- [[nodiscard]] PointerPressed_revoker PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerPressed(winrt::event_token const& cookie) const noexcept;
+ auto PointerMoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerMoved_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput, &impl::abi_t<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput>::remove_PointerMoved>;
- [[nodiscard]] PointerMoved_revoker PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerMoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerMoved(winrt::event_token const& cookie) const noexcept;
+ auto PointerReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerReleased_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput, &impl::abi_t<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput>::remove_PointerReleased>;
- [[nodiscard]] PointerReleased_revoker PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerReleased(winrt::event_token const& cookie) const noexcept;
+ auto PointerLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerLost_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput, &impl::abi_t<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput>::remove_PointerLost>;
- [[nodiscard]] PointerLost_revoker PointerLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::InkUnprocessedInput, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerLost(winrt::event_token const& cookie) const noexcept;
+ [[nodiscard]] auto InkPresenter() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IInkUnprocessedInput>
{
@@ -1441,12 +1438,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IPenAndInkSettings>
{
@@ -1455,7 +1452,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::IPenAndInkSettings2>
{
@@ -1464,7 +1461,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_IPenAndInkSettingsStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::PenAndInkSettings) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::IPenAndInkSettingsStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.1.h
index ce7ff79acf4..95c0afae03a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.2.h
index 96190e3dba0..b44038d7bb6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.0.h
index 5ad57bc95a3..de54672f80b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Point;
struct Rect;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::UI::Input::Inking
{
@@ -271,7 +269,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkBullet
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) RecognizedText() const;
+ [[nodiscard]] auto RecognizedText() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisInkBullet>
{
@@ -280,9 +278,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Point>) Points() const;
+ [[nodiscard]] auto DrawingKind() const;
+ [[nodiscard]] auto Center() const;
+ [[nodiscard]] auto Points() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisInkDrawing>
{
@@ -291,8 +289,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisInkWord
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) RecognizedText() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) TextAlternates() const;
+ [[nodiscard]] auto RecognizedText() const;
+ [[nodiscard]] auto TextAlternates() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisInkWord>
{
@@ -301,8 +299,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisLine>
{
@@ -311,7 +309,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisListItem
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) RecognizedText() const;
+ [[nodiscard]] auto RecognizedText() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisListItem>
{
@@ -320,13 +318,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Point>) RotatedBoundingRect() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode>) Children() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode) Parent() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<uint32_t>) 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<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode>
{
@@ -335,7 +333,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisParagraph
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) RecognizedText() const;
+ [[nodiscard]] auto RecognizedText() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisParagraph>
{
@@ -344,7 +342,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisResult>
{
@@ -353,8 +351,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisRoot
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) RecognizedText() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisNode>) 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<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisRoot>
{
@@ -363,7 +361,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_Analysis_IInkAnalysisWritingRegion
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) RecognizedText() const;
+ [[nodiscard]] auto RecognizedText() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalysisWritingRegion>
{
@@ -372,16 +370,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::InkStroke> 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<uint32_t> 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<winrt::Windows::UI::Input::Inking::Analysis::InkAnalysisResult>) 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<winrt::Windows::UI::Input::Inking::InkStroke> const& strokes) const;
+ auto ClearDataForAllStrokes() const;
+ auto RemoveDataForStroke(uint32_t strokeId) const;
+ auto RemoveDataForStrokes(param::iterable<uint32_t> 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<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzer>
{
@@ -390,7 +388,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::Analysis::IInkAnalyzerFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.1.h
index 498909898f3..f4626f4d3ae 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.2.h
index e31af7a4103..5c54d9b03a9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Analysis.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.0.h
index 561be0ca011..ab1f9103a71 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics
{
@@ -189,11 +188,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_Core_ICoreIncrementalInkStroke
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) AppendInkPoints(param::iterable<winrt::Windows::UI::Input::Inking::InkPoint> 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<winrt::Windows::UI::Input::Inking::InkPoint> const& inkPoints) const;
+ auto CreateInkStroke() const;
+ [[nodiscard]] auto DrawingAttributes() const;
+ [[nodiscard]] auto PointTransform() const;
+ [[nodiscard]] auto BoundingRect() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::Core::ICoreIncrementalInkStroke>
{
@@ -202,7 +201,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::Core::ICoreIncrementalInkStrokeFactory>
{
@@ -211,35 +210,35 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_Core_ICoreInkIndependentInputSource
{
- WINRT_IMPL_AUTO(winrt::event_token) PointerEntering(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerEntering(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerEntering_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource, &impl::abi_t<winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource>::remove_PointerEntering>;
- [[nodiscard]] PointerEntering_revoker PointerEntering(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerEntering(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerEntering(winrt::event_token const& cookie) const noexcept;
+ auto PointerHovering(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerHovering_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource, &impl::abi_t<winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource>::remove_PointerHovering>;
- [[nodiscard]] PointerHovering_revoker PointerHovering(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerHovering(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerHovering(winrt::event_token const& cookie) const noexcept;
+ auto PointerExiting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerExiting_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource, &impl::abi_t<winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource>::remove_PointerExiting>;
- [[nodiscard]] PointerExiting_revoker PointerExiting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerExiting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerExiting(winrt::event_token const& cookie) const noexcept;
+ auto PointerPressing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerPressing_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource, &impl::abi_t<winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource>::remove_PointerPressing>;
- [[nodiscard]] PointerPressing_revoker PointerPressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerPressing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerPressing(winrt::event_token const& cookie) const noexcept;
+ auto PointerMoving(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerMoving_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource, &impl::abi_t<winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource>::remove_PointerMoving>;
- [[nodiscard]] PointerMoving_revoker PointerMoving(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerMoving(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerMoving(winrt::event_token const& cookie) const noexcept;
+ auto PointerReleasing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerReleasing_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource, &impl::abi_t<winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource>::remove_PointerReleasing>;
- [[nodiscard]] PointerReleasing_revoker PointerReleasing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ [[nodiscard]] auto PointerReleasing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerReleasing(winrt::event_token const& cookie) const noexcept;
+ auto PointerLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
using PointerLost_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource, &impl::abi_t<winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource>::remove_PointerLost>;
- [[nodiscard]] PointerLost_revoker PointerLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> 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<winrt::Windows::UI::Input::Inking::Core::CoreInkIndependentInputSource, winrt::Windows::UI::Core::PointerEventArgs> const& handler) const;
+ auto PointerLost(winrt::event_token const& cookie) const noexcept;
+ [[nodiscard]] auto InkPresenter() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSource>
{
@@ -248,7 +247,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::Core::ICoreInkIndependentInputSourceStatics>
{
@@ -257,9 +256,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::Core::ICoreInkPresenterHost>
{
@@ -268,10 +267,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Input::Inking::InkPoint>) 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<winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateEventArgs>
{
@@ -280,27 +279,27 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Inking_Core_ICoreWetStrokeUpdateSource
{
- WINRT_IMPL_AUTO(winrt::event_token) WetStrokeStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const;
+ auto WetStrokeStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const;
using WetStrokeStarting_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource, &impl::abi_t<winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource>::remove_WetStrokeStarting>;
- [[nodiscard]] WetStrokeStarting_revoker WetStrokeStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> 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<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const;
+ [[nodiscard]] auto WetStrokeStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const;
+ auto WetStrokeStarting(winrt::event_token const& cookie) const noexcept;
+ auto WetStrokeContinuing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const;
using WetStrokeContinuing_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource, &impl::abi_t<winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource>::remove_WetStrokeContinuing>;
- [[nodiscard]] WetStrokeContinuing_revoker WetStrokeContinuing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> 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<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const;
+ [[nodiscard]] auto WetStrokeContinuing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const;
+ auto WetStrokeContinuing(winrt::event_token const& cookie) const noexcept;
+ auto WetStrokeStopping(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const;
using WetStrokeStopping_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource, &impl::abi_t<winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource>::remove_WetStrokeStopping>;
- [[nodiscard]] WetStrokeStopping_revoker WetStrokeStopping(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> 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<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const;
+ [[nodiscard]] auto WetStrokeStopping(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const;
+ auto WetStrokeStopping(winrt::event_token const& cookie) const noexcept;
+ auto WetStrokeCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const;
using WetStrokeCompleted_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource, &impl::abi_t<winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource>::remove_WetStrokeCompleted>;
- [[nodiscard]] WetStrokeCompleted_revoker WetStrokeCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> 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<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const;
+ [[nodiscard]] auto WetStrokeCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const;
+ auto WetStrokeCompleted(winrt::event_token const& cookie) const noexcept;
+ auto WetStrokeCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const;
using WetStrokeCanceled_revoker = impl::event_revoker<winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource, &impl::abi_t<winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource>::remove_WetStrokeCanceled>;
- [[nodiscard]] WetStrokeCanceled_revoker WetStrokeCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> 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<winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateSource, winrt::Windows::UI::Input::Inking::Core::CoreWetStrokeUpdateEventArgs> const& handler) const;
+ auto WetStrokeCanceled(winrt::event_token const& cookie) const noexcept;
+ [[nodiscard]] auto InkPresenter() const;
};
template <> struct consume<winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSource>
{
@@ -309,7 +308,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Inking::Core::ICoreWetStrokeUpdateSourceStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.1.h
index e03214d8e3e..d54bd81c7df 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.2.h
index d3d49952159..04799c81691 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.0.h
index 4df05611875..93b2a2c7692 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Input::Inking::Preview::IPalmRejectionDelayZonePreviewStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.1.h
index 77bb616428a..342fa68577f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.2.h
index 852563123f5..0f9d03387c1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Inking.Preview.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.0.h
index 1149f418600..8c6ca2f32a7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Input::Preview::IInputActivationListenerPreviewStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.1.h
index eeaaa4859be..d6d393b529e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.2.h
index 6213bbb47f5..007d24a7e1a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.0.h
index 97294b59462..37a56bc198b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfo>
{
@@ -352,7 +352,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Preview::Injection::IInjectedInputGamepadInfoFactory>
{
@@ -361,12 +361,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Preview::Injection::IInjectedInputKeyboardInfo>
{
@@ -375,16 +375,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Preview::Injection::IInjectedInputMouseInfo>
{
@@ -393,20 +393,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Preview::Injection::IInjectedInputPenInfo>
{
@@ -415,16 +415,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Preview::Injection::IInjectedInputTouchInfo>
{
@@ -433,15 +433,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Preview_Injection_IInputInjector
{
- WINRT_IMPL_AUTO(void) InjectKeyboardInput(param::iterable<winrt::Windows::UI::Input::Preview::Injection::InjectedInputKeyboardInfo> const& input) const;
- WINRT_IMPL_AUTO(void) InjectMouseInput(param::iterable<winrt::Windows::UI::Input::Preview::Injection::InjectedInputMouseInfo> 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<winrt::Windows::UI::Input::Preview::Injection::InjectedInputTouchInfo> 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<winrt::Windows::UI::Input::Preview::Injection::InjectedInputKeyboardInfo> const& input) const;
+ auto InjectMouseInput(param::iterable<winrt::Windows::UI::Input::Preview::Injection::InjectedInputMouseInfo> const& input) const;
+ auto InitializeTouchInjection(winrt::Windows::UI::Input::Preview::Injection::InjectedInputVisualizationMode const& visualMode) const;
+ auto InjectTouchInput(param::iterable<winrt::Windows::UI::Input::Preview::Injection::InjectedInputTouchInfo> 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<winrt::Windows::UI::Input::Preview::Injection::IInputInjector>
{
@@ -450,9 +450,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Preview::Injection::IInputInjector2>
{
@@ -461,7 +461,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Preview::Injection::IInputInjectorStatics>
{
@@ -470,7 +470,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Preview::Injection::IInputInjectorStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.1.h
index c5f1205627f..32b4663ceb7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.2.h
index d1f8c7794c2..71cbe1b8e1b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Preview.Injection.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.0.h
index a311c6397da..80655b5b76c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
- template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
struct consume_Windows_UI_Input_Spatial_ISpatialGestureRecognizer
{
- WINRT_IMPL_AUTO(winrt::event_token) RecognitionStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialRecognitionStartedEventArgs> const& handler) const;
+ auto RecognitionStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialRecognitionStartedEventArgs> const& handler) const;
using RecognitionStarted_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer>::remove_RecognitionStarted>;
- [[nodiscard]] RecognitionStarted_revoker RecognitionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialRecognitionStartedEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialRecognitionEndedEventArgs> const& handler) const;
+ [[nodiscard]] auto RecognitionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialRecognitionStartedEventArgs> const& handler) const;
+ auto RecognitionStarted(winrt::event_token const& token) const noexcept;
+ auto RecognitionEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialRecognitionEndedEventArgs> const& handler) const;
using RecognitionEnded_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer>::remove_RecognitionEnded>;
- [[nodiscard]] RecognitionEnded_revoker RecognitionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialRecognitionEndedEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialTappedEventArgs> const& handler) const;
+ [[nodiscard]] auto RecognitionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialRecognitionEndedEventArgs> const& handler) const;
+ auto RecognitionEnded(winrt::event_token const& token) const noexcept;
+ auto Tapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialTappedEventArgs> const& handler) const;
using Tapped_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer>::remove_Tapped>;
- [[nodiscard]] Tapped_revoker Tapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialTappedEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldStartedEventArgs> const& handler) const;
+ [[nodiscard]] auto Tapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialTappedEventArgs> const& handler) const;
+ auto Tapped(winrt::event_token const& token) const noexcept;
+ auto HoldStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldStartedEventArgs> const& handler) const;
using HoldStarted_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer>::remove_HoldStarted>;
- [[nodiscard]] HoldStarted_revoker HoldStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldStartedEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto HoldStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldStartedEventArgs> const& handler) const;
+ auto HoldStarted(winrt::event_token const& token) const noexcept;
+ auto HoldCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldCompletedEventArgs> const& handler) const;
using HoldCompleted_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer>::remove_HoldCompleted>;
- [[nodiscard]] HoldCompleted_revoker HoldCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldCompletedEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldCanceledEventArgs> const& handler) const;
+ [[nodiscard]] auto HoldCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldCompletedEventArgs> const& handler) const;
+ auto HoldCompleted(winrt::event_token const& token) const noexcept;
+ auto HoldCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldCanceledEventArgs> const& handler) const;
using HoldCanceled_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer>::remove_HoldCanceled>;
- [[nodiscard]] HoldCanceled_revoker HoldCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldCanceledEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationStartedEventArgs> const& handler) const;
+ [[nodiscard]] auto HoldCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialHoldCanceledEventArgs> const& handler) const;
+ auto HoldCanceled(winrt::event_token const& token) const noexcept;
+ auto ManipulationStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationStartedEventArgs> const& handler) const;
using ManipulationStarted_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer>::remove_ManipulationStarted>;
- [[nodiscard]] ManipulationStarted_revoker ManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationStartedEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationUpdatedEventArgs> const& handler) const;
+ [[nodiscard]] auto ManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationStartedEventArgs> const& handler) const;
+ auto ManipulationStarted(winrt::event_token const& token) const noexcept;
+ auto ManipulationUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationUpdatedEventArgs> const& handler) const;
using ManipulationUpdated_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer>::remove_ManipulationUpdated>;
- [[nodiscard]] ManipulationUpdated_revoker ManipulationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationUpdatedEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto ManipulationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationUpdatedEventArgs> const& handler) const;
+ auto ManipulationUpdated(winrt::event_token const& token) const noexcept;
+ auto ManipulationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationCompletedEventArgs> const& handler) const;
using ManipulationCompleted_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer>::remove_ManipulationCompleted>;
- [[nodiscard]] ManipulationCompleted_revoker ManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationCompletedEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationCanceledEventArgs> const& handler) const;
+ [[nodiscard]] auto ManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationCompletedEventArgs> const& handler) const;
+ auto ManipulationCompleted(winrt::event_token const& token) const noexcept;
+ auto ManipulationCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationCanceledEventArgs> const& handler) const;
using ManipulationCanceled_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer>::remove_ManipulationCanceled>;
- [[nodiscard]] ManipulationCanceled_revoker ManipulationCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationCanceledEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationStartedEventArgs> const& handler) const;
+ [[nodiscard]] auto ManipulationCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialManipulationCanceledEventArgs> const& handler) const;
+ auto ManipulationCanceled(winrt::event_token const& token) const noexcept;
+ auto NavigationStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationStartedEventArgs> const& handler) const;
using NavigationStarted_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer>::remove_NavigationStarted>;
- [[nodiscard]] NavigationStarted_revoker NavigationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationStartedEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationUpdatedEventArgs> const& handler) const;
+ [[nodiscard]] auto NavigationStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationStartedEventArgs> const& handler) const;
+ auto NavigationStarted(winrt::event_token const& token) const noexcept;
+ auto NavigationUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationUpdatedEventArgs> const& handler) const;
using NavigationUpdated_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer>::remove_NavigationUpdated>;
- [[nodiscard]] NavigationUpdated_revoker NavigationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationUpdatedEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto NavigationUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationUpdatedEventArgs> const& handler) const;
+ auto NavigationUpdated(winrt::event_token const& token) const noexcept;
+ auto NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationCompletedEventArgs> const& handler) const;
using NavigationCompleted_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer>::remove_NavigationCompleted>;
- [[nodiscard]] NavigationCompleted_revoker NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationCompletedEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationCanceledEventArgs> const& handler) const;
+ [[nodiscard]] auto NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationCompletedEventArgs> const& handler) const;
+ auto NavigationCompleted(winrt::event_token const& token) const noexcept;
+ auto NavigationCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationCanceledEventArgs> const& handler) const;
using NavigationCanceled_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer>::remove_NavigationCanceled>;
- [[nodiscard]] NavigationCanceled_revoker NavigationCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationCanceledEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialGestureRecognizer, winrt::Windows::UI::Input::Spatial::SpatialNavigationCanceledEventArgs> 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<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizer>
{
@@ -883,7 +873,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialGestureRecognizerFactory>
{
@@ -892,7 +882,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialHoldCanceledEventArgs>
{
@@ -901,7 +891,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialHoldCompletedEventArgs>
{
@@ -910,8 +900,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialHoldStartedEventArgs>
{
@@ -920,7 +910,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialInteraction>
{
@@ -929,12 +919,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialInteractionController>
{
@@ -943,7 +933,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Spatial_ISpatialInteractionController2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IRandomAccessStreamWithContentType>) TryGetRenderableModelAsync() const;
+ auto TryGetRenderableModelAsync() const;
};
template <> struct consume<winrt::Windows::UI::Input::Spatial::ISpatialInteractionController2>
{
@@ -952,7 +942,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Spatial_ISpatialInteractionController3
{
- WINRT_IMPL_AUTO(winrt::Windows::Devices::Power::BatteryReport) TryGetBatteryReport() const;
+ auto TryGetBatteryReport() const;
};
template <> struct consume<winrt::Windows::UI::Input::Spatial::ISpatialInteractionController3>
{
@@ -961,13 +951,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialInteractionControllerProperties>
{
@@ -976,9 +966,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialInteractionDetectedEventArgs>
{
@@ -987,7 +977,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialInteractionDetectedEventArgs2>
{
@@ -996,31 +986,31 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Spatial_ISpatialInteractionManager
{
- WINRT_IMPL_AUTO(winrt::event_token) SourceDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const;
+ auto SourceDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const;
using SourceDetected_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager>::remove_SourceDetected>;
- [[nodiscard]] SourceDetected_revoker SourceDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const;
+ [[nodiscard]] auto SourceDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const;
+ auto SourceDetected(winrt::event_token const& token) const noexcept;
+ auto SourceLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const;
using SourceLost_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager>::remove_SourceLost>;
- [[nodiscard]] SourceLost_revoker SourceLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const;
+ [[nodiscard]] auto SourceLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const;
+ auto SourceLost(winrt::event_token const& token) const noexcept;
+ auto SourceUpdated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const;
using SourceUpdated_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager>::remove_SourceUpdated>;
- [[nodiscard]] SourceUpdated_revoker SourceUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const;
+ [[nodiscard]] auto SourceUpdated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const;
+ auto SourceUpdated(winrt::event_token const& token) const noexcept;
+ auto SourcePressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const;
using SourcePressed_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager>::remove_SourcePressed>;
- [[nodiscard]] SourcePressed_revoker SourcePressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const;
+ [[nodiscard]] auto SourcePressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const;
+ auto SourcePressed(winrt::event_token const& token) const noexcept;
+ auto SourceReleased(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const;
using SourceReleased_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager>::remove_SourceReleased>;
- [[nodiscard]] SourceReleased_revoker SourceReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> 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<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionDetectedEventArgs> const& handler) const;
+ [[nodiscard]] auto SourceReleased(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceEventArgs> const& handler) const;
+ auto SourceReleased(winrt::event_token const& token) const noexcept;
+ auto InteractionDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionDetectedEventArgs> const& handler) const;
using InteractionDetected_revoker = impl::event_revoker<winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager, &impl::abi_t<winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager>::remove_InteractionDetected>;
- [[nodiscard]] InteractionDetected_revoker InteractionDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionDetectedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) InteractionDetected(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Input::Spatial::SpatialInteractionSourceState>) GetDetectedSourcesAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timeStamp) const;
+ [[nodiscard]] auto InteractionDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Input::Spatial::SpatialInteractionManager, winrt::Windows::UI::Input::Spatial::SpatialInteractionDetectedEventArgs> const& handler) const;
+ auto InteractionDetected(winrt::event_token const& token) const noexcept;
+ auto GetDetectedSourcesAtTimestamp(winrt::Windows::Perception::PerceptionTimestamp const& timeStamp) const;
};
template <> struct consume<winrt::Windows::UI::Input::Spatial::ISpatialInteractionManager>
{
@@ -1029,7 +1019,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Spatial_ISpatialInteractionManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Input::Spatial::SpatialInteractionManager) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::UI::Input::Spatial::ISpatialInteractionManagerStatics>
{
@@ -1038,7 +1028,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialInteractionManagerStatics2>
{
@@ -1047,8 +1037,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource>
{
@@ -1057,11 +1047,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource2>
{
@@ -1070,7 +1060,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource3>
{
@@ -1079,8 +1069,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSource4
{
- WINRT_IMPL_AUTO(winrt::Windows::Perception::People::HandMeshObserver) TryCreateHandMeshObserver() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Perception::People::HandMeshObserver>) TryCreateHandMeshObserverAsync() const;
+ auto TryCreateHandMeshObserver() const;
+ auto TryCreateHandMeshObserverAsync() const;
};
template <> struct consume<winrt::Windows::UI::Input::Spatial::ISpatialInteractionSource4>
{
@@ -1089,7 +1079,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceEventArgs>
{
@@ -1098,7 +1088,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceEventArgs2>
{
@@ -1107,8 +1097,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>) Position() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>) Velocity() const;
+ [[nodiscard]] auto Position() const;
+ [[nodiscard]] auto Velocity() const;
};
template <> struct consume<winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceLocation>
{
@@ -1117,7 +1107,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceLocation2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::quaternion>) Orientation() const;
+ [[nodiscard]] auto Orientation() const;
};
template <> struct consume<winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceLocation2>
{
@@ -1126,9 +1116,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Numerics::float3>) 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<winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceLocation3>
{
@@ -1137,9 +1127,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceProperties
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Numerics::float3>) 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<winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceProperties>
{
@@ -1148,11 +1138,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState>
{
@@ -1161,11 +1151,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState2>
{
@@ -1174,7 +1164,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Input_Spatial_ISpatialInteractionSourceState3
{
- WINRT_IMPL_AUTO(winrt::Windows::Perception::People::HandPose) TryGetHandPose() const;
+ auto TryGetHandPose() const;
};
template <> struct consume<winrt::Windows::UI::Input::Spatial::ISpatialInteractionSourceState3>
{
@@ -1183,7 +1173,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialManipulationCanceledEventArgs>
{
@@ -1192,8 +1182,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialManipulationCompletedEventArgs>
{
@@ -1202,7 +1192,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialManipulationDelta>
{
@@ -1211,8 +1201,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialManipulationStartedEventArgs>
{
@@ -1221,8 +1211,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialManipulationUpdatedEventArgs>
{
@@ -1231,7 +1221,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialNavigationCanceledEventArgs>
{
@@ -1240,8 +1230,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialNavigationCompletedEventArgs>
{
@@ -1250,11 +1240,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialNavigationStartedEventArgs>
{
@@ -1263,8 +1253,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialNavigationUpdatedEventArgs>
{
@@ -1273,9 +1263,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialPointerInteractionSourcePose>
{
@@ -1284,8 +1274,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialPointerInteractionSourcePose2>
{
@@ -1294,8 +1284,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialPointerPose>
{
@@ -1304,7 +1294,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialPointerPose2>
{
@@ -1313,8 +1303,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialPointerPose3>
{
@@ -1323,7 +1313,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialPointerPoseStatics>
{
@@ -1332,7 +1322,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialRecognitionEndedEventArgs>
{
@@ -1341,9 +1331,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialRecognitionStartedEventArgs>
{
@@ -1352,9 +1342,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::Spatial::ISpatialTappedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.1.h
index a85e4176a5e..8791dc0c26e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.2.h
index 0038dad9896..46ebb2f1971 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Input.Spatial.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.0.h
index 3cb801643da..91473edb935 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
@@ -26,9 +25,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
template <typename K, typename V> struct __declspec(empty_bases) IKeyValuePair;
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
struct ValueSet;
}
WINRT_EXPORT namespace winrt::Windows::System
@@ -1306,8 +1302,8 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring>) Hints() const;
+ [[nodiscard]] auto Kind() const;
+ [[nodiscard]] auto Hints() const;
};
template <> struct consume<winrt::Windows::UI::Notifications::IAdaptiveNotificationContent>
{
@@ -1316,10 +1312,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IAdaptiveNotificationText>
{
@@ -1328,9 +1324,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) ExpirationTime() const;
+ [[nodiscard]] auto Content() const;
+ auto ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
+ [[nodiscard]] auto ExpirationTime() const;
};
template <> struct consume<winrt::Windows::UI::Notifications::IBadgeNotification>
{
@@ -1339,7 +1335,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IBadgeNotificationFactory>
{
@@ -1348,10 +1344,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IBadgeUpdateManagerForUser>
{
@@ -1360,10 +1356,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IBadgeUpdateManagerStatics>
{
@@ -1372,7 +1368,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IBadgeUpdateManagerStatics2>
{
@@ -1381,11 +1377,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IBadgeUpdater>
{
@@ -1394,12 +1390,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationHintsStatics>
{
@@ -1408,25 +1404,25 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IKnownAdaptiveNotificationTextStylesStatics>
{
@@ -1435,7 +1431,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Notifications_IKnownNotificationBindingsStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ToastGeneric() const;
+ [[nodiscard]] auto ToastGeneric() const;
};
template <> struct consume<winrt::Windows::UI::Notifications::IKnownNotificationBindingsStatics>
{
@@ -1444,10 +1440,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Notifications_INotification
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) ExpirationTime() const;
- WINRT_IMPL_AUTO(void) ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime> const& value) const;
+ [[nodiscard]] auto Visual() const;
+ auto Visual(winrt::Windows::UI::Notifications::NotificationVisual const& value) const;
};
template <> struct consume<winrt::Windows::UI::Notifications::INotification>
{
@@ -1456,12 +1452,12 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring>) Hints() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::AdaptiveNotificationText>) 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<winrt::Windows::UI::Notifications::INotificationBinding>
{
@@ -1470,9 +1466,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Notifications_INotificationData
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<hstring, hstring>) 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<winrt::Windows::UI::Notifications::INotificationData>
{
@@ -1481,8 +1477,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Notifications_INotificationDataFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationData) CreateNotificationData(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& initialValues, uint32_t sequenceNumber) const;
- WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::NotificationData) CreateNotificationData(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& initialValues) const;
+ auto CreateNotificationData(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& initialValues, uint32_t sequenceNumber) const;
+ auto CreateNotificationData(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& initialValues) const;
};
template <> struct consume<winrt::Windows::UI::Notifications::INotificationDataFactory>
{
@@ -1491,10 +1487,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::NotificationBinding>) 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<winrt::Windows::UI::Notifications::INotificationVisual>
{
@@ -1503,14 +1499,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) 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<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::UI::Notifications::IScheduledTileNotification>
{
@@ -1519,7 +1515,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IScheduledTileNotificationFactory>
{
@@ -1528,12 +1524,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::TimeSpan>) 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<winrt::Windows::UI::Notifications::IScheduledToastNotification>
{
@@ -1542,12 +1538,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IScheduledToastNotification2>
{
@@ -1556,10 +1552,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IScheduledToastNotification3>
{
@@ -1568,8 +1564,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Notifications_IScheduledToastNotification4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) ExpirationTime() const;
- WINRT_IMPL_AUTO(void) ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
+ [[nodiscard]] auto ExpirationTime() const;
+ auto ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
};
template <> struct consume<winrt::Windows::UI::Notifications::IScheduledToastNotification4>
{
@@ -1578,8 +1574,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IScheduledToastNotificationFactory>
{
@@ -1588,10 +1584,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IScheduledToastNotificationShowingEventArgs>
{
@@ -1600,7 +1596,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Notifications_IShownTileNotification
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Arguments() const;
+ [[nodiscard]] auto Arguments() const;
};
template <> struct consume<winrt::Windows::UI::Notifications::IShownTileNotification>
{
@@ -1609,9 +1605,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) ExpirationTime() const;
+ [[nodiscard]] auto Content() const;
+ auto ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
+ [[nodiscard]] auto ExpirationTime() const;
};
template <> struct consume<winrt::Windows::UI::Notifications::ITileFlyoutNotification>
{
@@ -1620,7 +1616,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::ITileFlyoutNotificationFactory>
{
@@ -1629,10 +1625,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::ITileFlyoutUpdateManagerStatics>
{
@@ -1641,12 +1637,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::ITileFlyoutUpdater>
{
@@ -1655,11 +1651,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) 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<winrt::Windows::Foundation::DateTime> const& value) const;
+ [[nodiscard]] auto ExpirationTime() const;
+ auto Tag(param::hstring const& value) const;
+ [[nodiscard]] auto Tag() const;
};
template <> struct consume<winrt::Windows::UI::Notifications::ITileNotification>
{
@@ -1668,7 +1664,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::ITileNotificationFactory>
{
@@ -1677,10 +1673,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::ITileUpdateManagerForUser>
{
@@ -1689,10 +1685,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::ITileUpdateManagerStatics>
{
@@ -1701,7 +1697,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::ITileUpdateManagerStatics2>
{
@@ -1710,18 +1706,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::ScheduledTileNotification>) 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<winrt::Windows::Foundation::Uri> const& tileContents, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
- WINRT_IMPL_AUTO(void) StartPeriodicUpdateBatch(param::iterable<winrt::Windows::Foundation::Uri> 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<winrt::Windows::Foundation::Uri> const& tileContents, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
+ auto StartPeriodicUpdateBatch(param::iterable<winrt::Windows::Foundation::Uri> const& tileContents, winrt::Windows::Foundation::DateTime const& startTime, winrt::Windows::UI::Notifications::PeriodicUpdateRecurrence const& requestedInterval) const;
};
template <> struct consume<winrt::Windows::UI::Notifications::ITileUpdater>
{
@@ -1730,9 +1726,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::ITileUpdater2>
{
@@ -1741,7 +1737,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Notifications_IToastActivatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Arguments() const;
+ [[nodiscard]] auto Arguments() const;
};
template <> struct consume<winrt::Windows::UI::Notifications::IToastActivatedEventArgs>
{
@@ -1750,7 +1746,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Notifications_IToastActivatedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::ValueSet) UserInput() const;
+ [[nodiscard]] auto UserInput() const;
};
template <> struct consume<winrt::Windows::UI::Notifications::IToastActivatedEventArgs2>
{
@@ -1759,13 +1755,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IToastCollection>
{
@@ -1774,7 +1770,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IToastCollectionFactory>
{
@@ -1783,13 +1779,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ToastCollection>>) FindAllToastCollectionsAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Notifications::ToastCollection>) 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<winrt::Windows::UI::Notifications::IToastCollectionManager>
{
@@ -1798,7 +1794,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Notifications_IToastDismissedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastDismissalReason) Reason() const;
+ [[nodiscard]] auto Reason() const;
};
template <> struct consume<winrt::Windows::UI::Notifications::IToastDismissedEventArgs>
{
@@ -1807,7 +1803,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Notifications_IToastFailedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ErrorCode() const;
+ [[nodiscard]] auto ErrorCode() const;
};
template <> struct consume<winrt::Windows::UI::Notifications::IToastFailedEventArgs>
{
@@ -1816,21 +1812,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) ExpirationTime() const;
- WINRT_IMPL_AUTO(winrt::event_token) Dismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastDismissedEventArgs> const& handler) const;
+ [[nodiscard]] auto Content() const;
+ auto ExpirationTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
+ [[nodiscard]] auto ExpirationTime() const;
+ auto Dismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastDismissedEventArgs> const& handler) const;
using Dismissed_revoker = impl::event_revoker<winrt::Windows::UI::Notifications::IToastNotification, &impl::abi_t<winrt::Windows::UI::Notifications::IToastNotification>::remove_Dismissed>;
- [[nodiscard]] Dismissed_revoker Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastDismissedEventArgs> 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<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Dismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastDismissedEventArgs> const& handler) const;
+ auto Dismissed(winrt::event_token const& token) const noexcept;
+ auto Activated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Activated_revoker = impl::event_revoker<winrt::Windows::UI::Notifications::IToastNotification, &impl::abi_t<winrt::Windows::UI::Notifications::IToastNotification>::remove_Activated>;
- [[nodiscard]] Activated_revoker Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastFailedEventArgs> const& handler) const;
+ [[nodiscard]] auto Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Activated(winrt::event_token const& token) const noexcept;
+ auto Failed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastFailedEventArgs> const& handler) const;
using Failed_revoker = impl::event_revoker<winrt::Windows::UI::Notifications::IToastNotification, &impl::abi_t<winrt::Windows::UI::Notifications::IToastNotification>::remove_Failed>;
- [[nodiscard]] Failed_revoker Failed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastFailedEventArgs> 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<winrt::Windows::UI::Notifications::ToastNotification, winrt::Windows::UI::Notifications::ToastFailedEventArgs> const& handler) const;
+ auto Failed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotification>
{
@@ -1839,12 +1835,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IToastNotification2>
{
@@ -1853,10 +1849,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IToastNotification3>
{
@@ -1865,10 +1861,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IToastNotification4>
{
@@ -1877,8 +1873,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IToastNotification6>
{
@@ -1887,8 +1883,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IToastNotificationActionTriggerDetail>
{
@@ -1897,7 +1893,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IToastNotificationFactory>
{
@@ -1906,13 +1902,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IToastNotificationHistory>
{
@@ -1921,8 +1917,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Notifications_IToastNotificationHistory2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ToastNotification>) GetHistory() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::ToastNotification>) GetHistory(param::hstring const& applicationId) const;
+ auto GetHistory() const;
+ auto GetHistory(param::hstring const& applicationId) const;
};
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotificationHistory2>
{
@@ -1931,7 +1927,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Notifications_IToastNotificationHistoryChangedTriggerDetail
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastHistoryChangedType) ChangeType() const;
+ [[nodiscard]] auto ChangeType() const;
};
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotificationHistoryChangedTriggerDetail>
{
@@ -1940,7 +1936,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Notifications_IToastNotificationHistoryChangedTriggerDetail2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) CollectionId() const;
+ [[nodiscard]] auto CollectionId() const;
};
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotificationHistoryChangedTriggerDetail2>
{
@@ -1949,10 +1945,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IToastNotificationManagerForUser>
{
@@ -1961,10 +1957,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Notifications_IToastNotificationManagerForUser2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Notifications::ToastNotifier>) GetToastNotifierForToastCollectionIdAsync(param::hstring const& collectionId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Notifications::ToastNotificationHistory>) 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<winrt::Windows::UI::Notifications::IToastNotificationManagerForUser2>
{
@@ -1973,9 +1969,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IToastNotificationManagerStatics>
{
@@ -1984,7 +1980,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Notifications_IToastNotificationManagerStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationHistory) History() const;
+ [[nodiscard]] auto History() const;
};
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotificationManagerStatics2>
{
@@ -1993,8 +1989,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IToastNotificationManagerStatics4>
{
@@ -2003,7 +1999,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Notifications_IToastNotificationManagerStatics5
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::ToastNotificationManagerForUser) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotificationManagerStatics5>
{
@@ -2012,12 +2008,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::ScheduledToastNotification>) 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<winrt::Windows::UI::Notifications::IToastNotifier>
{
@@ -2026,8 +2022,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IToastNotifier2>
{
@@ -2036,10 +2032,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Notifications_IToastNotifier3
{
- WINRT_IMPL_AUTO(winrt::event_token) ScheduledToastNotificationShowing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotifier, winrt::Windows::UI::Notifications::ScheduledToastNotificationShowingEventArgs> const& handler) const;
+ auto ScheduledToastNotificationShowing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotifier, winrt::Windows::UI::Notifications::ScheduledToastNotificationShowingEventArgs> const& handler) const;
using ScheduledToastNotificationShowing_revoker = impl::event_revoker<winrt::Windows::UI::Notifications::IToastNotifier3, &impl::abi_t<winrt::Windows::UI::Notifications::IToastNotifier3>::remove_ScheduledToastNotificationShowing>;
- [[nodiscard]] ScheduledToastNotificationShowing_revoker ScheduledToastNotificationShowing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::ToastNotifier, winrt::Windows::UI::Notifications::ScheduledToastNotificationShowingEventArgs> 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<winrt::Windows::UI::Notifications::ToastNotifier, winrt::Windows::UI::Notifications::ScheduledToastNotificationShowingEventArgs> const& handler) const;
+ auto ScheduledToastNotificationShowing(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Notifications::IToastNotifier3>
{
@@ -2048,10 +2044,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IUserNotification>
{
@@ -2060,8 +2056,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::IUserNotificationChangedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.1.h
index ad8e2d7c267..6047a36f7dd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.2.h
index 119cb224630..0a08ddd08c0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.0.h
index 80451bbd606..5fe54e346de 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
struct consume_Windows_UI_Notifications_Management_IUserNotificationListener
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Notifications::Management::UserNotificationListenerAccessStatus>) RequestAccessAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::UI::Notifications::Management::UserNotificationListenerAccessStatus) GetAccessStatus() const;
- WINRT_IMPL_AUTO(winrt::event_token) NotificationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::Management::UserNotificationListener, winrt::Windows::UI::Notifications::UserNotificationChangedEventArgs> const& handler) const;
+ auto RequestAccessAsync() const;
+ auto GetAccessStatus() const;
+ auto NotificationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::Management::UserNotificationListener, winrt::Windows::UI::Notifications::UserNotificationChangedEventArgs> const& handler) const;
using NotificationChanged_revoker = impl::event_revoker<winrt::Windows::UI::Notifications::Management::IUserNotificationListener, &impl::abi_t<winrt::Windows::UI::Notifications::Management::IUserNotificationListener>::remove_NotificationChanged>;
- [[nodiscard]] NotificationChanged_revoker NotificationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Notifications::Management::UserNotificationListener, winrt::Windows::UI::Notifications::UserNotificationChangedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) NotificationChanged(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Notifications::UserNotification>>) 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<winrt::Windows::UI::Notifications::Management::UserNotificationListener, winrt::Windows::UI::Notifications::UserNotificationChangedEventArgs> 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<winrt::Windows::UI::Notifications::Management::IUserNotificationListener>
{
@@ -86,7 +81,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Notifications::Management::IUserNotificationListenerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.1.h
index 8f62a5041b8..9b47f097e42 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.2.h
index 7f0e6fcb931..ff662d0c28e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Notifications.Management.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.0.h
index 2d99e6cbfd3..300049d5b96 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Point;
struct Rect;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
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<winrt::Windows::UI::Popups::IUICommand>) 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<winrt::Windows::UI::Popups::IUICommand>) 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<winrt::Windows::UI::Popups::IMessageDialog>
{
@@ -162,8 +157,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Popups::IMessageDialogFactory>
{
@@ -172,10 +167,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Popups_IPopupMenu
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Popups::IUICommand>) Commands() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Popups::IUICommand>) ShowAsync(winrt::Windows::Foundation::Point const& invocationPoint) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Popups::IUICommand>) ShowForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Popups::IUICommand>) 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<winrt::Windows::UI::Popups::IPopupMenu>
{
@@ -184,12 +179,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Popups::IUICommand>
{
@@ -198,9 +193,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Popups::IUICommandFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.1.h
index 40fc4d1498c..033f04c3fcf 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.2.h
index 69302e327bb..98dc9bc823b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Popups.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.0.h
index 9670de273d8..445457932ca 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::UI::StartScreen
@@ -132,7 +131,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Shell_IAdaptiveCard
{
- WINRT_IMPL_AUTO(hstring) ToJson() const;
+ auto ToJson() const;
};
template <> struct consume<winrt::Windows::UI::Shell::IAdaptiveCard>
{
@@ -141,7 +140,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Shell::IAdaptiveCardBuilderStatics>
{
@@ -150,9 +149,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Shell::ISecurityAppManager>
{
@@ -161,12 +160,12 @@ namespace winrt::impl
template <typename D>
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<bool>) IsCurrentAppPinnedAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) IsAppListEntryPinnedAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestPinCurrentAppAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::UI::Shell::ITaskbarManager>
{
@@ -175,9 +174,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Shell_ITaskbarManager2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) IsSecondaryTilePinnedAsync(param::hstring const& tileId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestPinSecondaryTileAsync(winrt::Windows::UI::StartScreen::SecondaryTile const& secondaryTile) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::UI::Shell::ITaskbarManager2>
{
@@ -186,7 +185,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Shell_ITaskbarManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Shell::TaskbarManager) GetDefault() const;
+ auto GetDefault() const;
};
template <> struct consume<winrt::Windows::UI::Shell::ITaskbarManagerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.1.h
index 923f5b4c745..26175c02540 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.2.h
index 15ce0b9b926..e7c18838bcb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Shell.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.0.h
index 9079d4fd212..98955af4d47 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
struct Point;
struct Rect;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::Perception::Spatial
{
struct SpatialBoundingBox;
@@ -456,10 +450,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_StartScreen_IJumpList
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::StartScreen::JumpListItem>) 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<winrt::Windows::UI::StartScreen::IJumpList>
{
@@ -468,17 +462,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::StartScreen::IJumpListItem>
{
@@ -487,8 +481,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::StartScreen::IJumpListItemStatics>
{
@@ -497,8 +491,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_StartScreen_IJumpListStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::StartScreen::JumpList>) LoadCurrentAsync() const;
- WINRT_IMPL_AUTO(bool) IsSupported() const;
+ auto LoadCurrentAsync() const;
+ auto IsSupported() const;
};
template <> struct consume<winrt::Windows::UI::StartScreen::IJumpListStatics>
{
@@ -507,39 +501,39 @@ namespace winrt::impl
template <typename D>
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<bool>) RequestCreateAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestCreateAsync(winrt::Windows::Foundation::Point const& invocationPoint) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestCreateForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestCreateForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestDeleteAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestDeleteAsync(winrt::Windows::Foundation::Point const& invocationPoint) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestDeleteForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) RequestDeleteForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::UI::StartScreen::ISecondaryTile>
{
@@ -548,15 +542,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::StartScreen::SecondaryTile, winrt::Windows::UI::StartScreen::VisualElementsRequestedEventArgs> 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<winrt::Windows::UI::StartScreen::SecondaryTile, winrt::Windows::UI::StartScreen::VisualElementsRequestedEventArgs> const& handler) const;
using VisualElementsRequested_revoker = impl::event_revoker<winrt::Windows::UI::StartScreen::ISecondaryTile2, &impl::abi_t<winrt::Windows::UI::StartScreen::ISecondaryTile2>::remove_VisualElementsRequested>;
- [[nodiscard]] VisualElementsRequested_revoker VisualElementsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::StartScreen::SecondaryTile, winrt::Windows::UI::StartScreen::VisualElementsRequestedEventArgs> 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<winrt::Windows::UI::StartScreen::SecondaryTile, winrt::Windows::UI::StartScreen::VisualElementsRequestedEventArgs> const& handler) const;
+ auto VisualElementsRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::StartScreen::ISecondaryTile2>
{
@@ -565,9 +559,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::StartScreen::ISecondaryTileFactory>
{
@@ -576,7 +570,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::StartScreen::ISecondaryTileFactory2>
{
@@ -585,10 +579,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_StartScreen_ISecondaryTileStatics
{
- WINRT_IMPL_AUTO(bool) Exists(param::hstring const& tileId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::StartScreen::SecondaryTile>>) FindAllAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::StartScreen::SecondaryTile>>) FindAllAsync(param::hstring const& applicationId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::StartScreen::SecondaryTile>>) 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<winrt::Windows::UI::StartScreen::ISecondaryTileStatics>
{
@@ -597,26 +591,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements>
{
@@ -625,8 +619,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements2>
{
@@ -635,8 +629,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements3>
{
@@ -645,7 +639,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_StartScreen_ISecondaryTileVisualElements4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::TileMixedRealityModel) MixedRealityModel() const;
+ [[nodiscard]] auto MixedRealityModel() const;
};
template <> struct consume<winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements4>
{
@@ -654,10 +648,10 @@ namespace winrt::impl
template <typename D>
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<bool>) ContainsAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::UI::StartScreen::IStartScreenManager>
{
@@ -666,8 +660,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_StartScreen_IStartScreenManager2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) ContainsSecondaryTileAsync(param::hstring const& tileId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryRemoveSecondaryTileAsync(param::hstring const& tileId) const;
+ auto ContainsSecondaryTileAsync(param::hstring const& tileId) const;
+ auto TryRemoveSecondaryTileAsync(param::hstring const& tileId) const;
};
template <> struct consume<winrt::Windows::UI::StartScreen::IStartScreenManager2>
{
@@ -676,8 +670,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::StartScreen::IStartScreenManagerStatics>
{
@@ -686,10 +680,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Perception::Spatial::SpatialBoundingBox> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Perception::Spatial::SpatialBoundingBox>) BoundingBox() const;
+ auto Uri(winrt::Windows::Foundation::Uri const& value) const;
+ [[nodiscard]] auto Uri() const;
+ auto BoundingBox(winrt::Windows::Foundation::IReference<winrt::Windows::Perception::Spatial::SpatialBoundingBox> const& value) const;
+ [[nodiscard]] auto BoundingBox() const;
};
template <> struct consume<winrt::Windows::UI::StartScreen::ITileMixedRealityModel>
{
@@ -698,8 +692,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::StartScreen::ITileMixedRealityModel2>
{
@@ -708,10 +702,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::StartScreen::SecondaryTileVisualElements>) 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<winrt::Windows::UI::StartScreen::IVisualElementsRequest>
{
@@ -720,7 +714,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_StartScreen_IVisualElementsRequestDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::UI::StartScreen::IVisualElementsRequestDeferral>
{
@@ -729,7 +723,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_StartScreen_IVisualElementsRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::StartScreen::VisualElementsRequest) Request() const;
+ [[nodiscard]] auto Request() const;
};
template <> struct consume<winrt::Windows::UI::StartScreen::IVisualElementsRequestedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.1.h
index dbfabf6281a..4ffa4c1b9a5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.2.h
index 2ca89b956f4..744da249963 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.StartScreen.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.0.h
index 291a15b0585..690a0f49ff8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Text::IContentLinkInfo>
{
@@ -841,17 +841,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::IFontWeightsStatics>
{
@@ -860,8 +860,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::IRichEditTextRange>
{
@@ -870,56 +870,56 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::ITextCharacterFormat>
{
@@ -928,14 +928,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::ITextConstantsStatics>
{
@@ -944,33 +944,33 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::ITextDocument>
{
@@ -979,10 +979,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::ITextDocument2>
{
@@ -991,7 +991,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Text_ITextDocument3
{
- WINRT_IMPL_AUTO(void) ClearUndoRedoHistory() const;
+ auto ClearUndoRedoHistory() const;
};
template <> struct consume<winrt::Windows::UI::Text::ITextDocument3>
{
@@ -1000,9 +1000,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::ITextDocument4>
{
@@ -1011,54 +1011,54 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::ITextParagraphFormat>
{
@@ -1067,58 +1067,58 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::ITextRange>
{
@@ -1127,16 +1127,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::ITextSelection>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.1.h
index c100136065b..b3c5ed48ad0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.2.h
index 926e90bbbee..1d30ff74049 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.0.h
index 3df8b2a51df..6a6bd9b975b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IReference;
struct Rect;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
struct consume_Windows_UI_Text_Core_ICoreTextCompositionCompletedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsCanceled() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Text::Core::CoreTextCompositionSegment>) 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<winrt::Windows::UI::Text::Core::ICoreTextCompositionCompletedEventArgs>
{
@@ -502,8 +489,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::Core::ICoreTextCompositionSegment>
{
@@ -512,8 +499,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::Core::ICoreTextCompositionStartedEventArgs>
{
@@ -522,55 +509,55 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextTextRequestedEventArgs> 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<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextTextRequestedEventArgs> const& handler) const;
using TextRequested_revoker = impl::event_revoker<winrt::Windows::UI::Text::Core::ICoreTextEditContext, &impl::abi_t<winrt::Windows::UI::Text::Core::ICoreTextEditContext>::remove_TextRequested>;
- [[nodiscard]] TextRequested_revoker TextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextTextRequestedEventArgs> 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<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextSelectionRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto TextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextTextRequestedEventArgs> const& handler) const;
+ auto TextRequested(winrt::event_token const& cookie) const noexcept;
+ auto SelectionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextSelectionRequestedEventArgs> const& handler) const;
using SelectionRequested_revoker = impl::event_revoker<winrt::Windows::UI::Text::Core::ICoreTextEditContext, &impl::abi_t<winrt::Windows::UI::Text::Core::ICoreTextEditContext>::remove_SelectionRequested>;
- [[nodiscard]] SelectionRequested_revoker SelectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextSelectionRequestedEventArgs> 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<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextLayoutRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto SelectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextSelectionRequestedEventArgs> const& handler) const;
+ auto SelectionRequested(winrt::event_token const& cookie) const noexcept;
+ auto LayoutRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextLayoutRequestedEventArgs> const& handler) const;
using LayoutRequested_revoker = impl::event_revoker<winrt::Windows::UI::Text::Core::ICoreTextEditContext, &impl::abi_t<winrt::Windows::UI::Text::Core::ICoreTextEditContext>::remove_LayoutRequested>;
- [[nodiscard]] LayoutRequested_revoker LayoutRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextLayoutRequestedEventArgs> 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<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextTextUpdatingEventArgs> const& handler) const;
+ [[nodiscard]] auto LayoutRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextLayoutRequestedEventArgs> const& handler) const;
+ auto LayoutRequested(winrt::event_token const& cookie) const noexcept;
+ auto TextUpdating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextTextUpdatingEventArgs> const& handler) const;
using TextUpdating_revoker = impl::event_revoker<winrt::Windows::UI::Text::Core::ICoreTextEditContext, &impl::abi_t<winrt::Windows::UI::Text::Core::ICoreTextEditContext>::remove_TextUpdating>;
- [[nodiscard]] TextUpdating_revoker TextUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextTextUpdatingEventArgs> 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<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingEventArgs> const& handler) const;
+ [[nodiscard]] auto TextUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextTextUpdatingEventArgs> const& handler) const;
+ auto TextUpdating(winrt::event_token const& cookie) const noexcept;
+ auto SelectionUpdating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingEventArgs> const& handler) const;
using SelectionUpdating_revoker = impl::event_revoker<winrt::Windows::UI::Text::Core::ICoreTextEditContext, &impl::abi_t<winrt::Windows::UI::Text::Core::ICoreTextEditContext>::remove_SelectionUpdating>;
- [[nodiscard]] SelectionUpdating_revoker SelectionUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingEventArgs> 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<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingEventArgs> const& handler) const;
+ [[nodiscard]] auto SelectionUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingEventArgs> const& handler) const;
+ auto SelectionUpdating(winrt::event_token const& cookie) const noexcept;
+ auto FormatUpdating(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingEventArgs> const& handler) const;
using FormatUpdating_revoker = impl::event_revoker<winrt::Windows::UI::Text::Core::ICoreTextEditContext, &impl::abi_t<winrt::Windows::UI::Text::Core::ICoreTextEditContext>::remove_FormatUpdating>;
- [[nodiscard]] FormatUpdating_revoker FormatUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingEventArgs> 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<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextCompositionStartedEventArgs> const& handler) const;
+ [[nodiscard]] auto FormatUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingEventArgs> const& handler) const;
+ auto FormatUpdating(winrt::event_token const& cookie) const noexcept;
+ auto CompositionStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextCompositionStartedEventArgs> const& handler) const;
using CompositionStarted_revoker = impl::event_revoker<winrt::Windows::UI::Text::Core::ICoreTextEditContext, &impl::abi_t<winrt::Windows::UI::Text::Core::ICoreTextEditContext>::remove_CompositionStarted>;
- [[nodiscard]] CompositionStarted_revoker CompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextCompositionStartedEventArgs> 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<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextCompositionCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto CompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextCompositionStartedEventArgs> const& handler) const;
+ auto CompositionStarted(winrt::event_token const& cookie) const noexcept;
+ auto CompositionCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextCompositionCompletedEventArgs> const& handler) const;
using CompositionCompleted_revoker = impl::event_revoker<winrt::Windows::UI::Text::Core::ICoreTextEditContext, &impl::abi_t<winrt::Windows::UI::Text::Core::ICoreTextEditContext>::remove_CompositionCompleted>;
- [[nodiscard]] CompositionCompleted_revoker CompositionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextCompositionCompletedEventArgs> 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<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto CompositionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::UI::Text::Core::CoreTextCompositionCompletedEventArgs> const& handler) const;
+ auto CompositionCompleted(winrt::event_token const& cookie) const noexcept;
+ auto FocusRemoved(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::Foundation::IInspectable> const& handler) const;
using FocusRemoved_revoker = impl::event_revoker<winrt::Windows::UI::Text::Core::ICoreTextEditContext, &impl::abi_t<winrt::Windows::UI::Text::Core::ICoreTextEditContext>::remove_FocusRemoved>;
- [[nodiscard]] FocusRemoved_revoker FocusRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Text::Core::ICoreTextEditContext>
{
@@ -579,10 +566,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Text_Core_ICoreTextEditContext2
{
- WINRT_IMPL_AUTO(winrt::event_token) NotifyFocusLeaveCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto NotifyFocusLeaveCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::Foundation::IInspectable> const& handler) const;
using NotifyFocusLeaveCompleted_revoker = impl::event_revoker<winrt::Windows::UI::Text::Core::ICoreTextEditContext2, &impl::abi_t<winrt::Windows::UI::Text::Core::ICoreTextEditContext2>::remove_NotifyFocusLeaveCompleted>;
- [[nodiscard]] NotifyFocusLeaveCompleted_revoker NotifyFocusLeaveCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Text::Core::CoreTextEditContext, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto NotifyFocusLeaveCompleted(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Text::Core::ICoreTextEditContext2>
{
@@ -591,16 +578,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::UIElementType>) TextColor() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::ViewManagement::UIElementType>) BackgroundColor() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::ViewManagement::UIElementType>) UnderlineColor() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Text::UnderlineType>) 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<winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs>
{
@@ -609,10 +596,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::Core::ICoreTextLayoutBounds>
{
@@ -621,10 +608,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::Core::ICoreTextLayoutRequest>
{
@@ -633,7 +620,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::Core::ICoreTextLayoutRequest2>
{
@@ -642,7 +629,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::Core::ICoreTextLayoutRequestedEventArgs>
{
@@ -651,10 +638,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::Core::ICoreTextSelectionRequest>
{
@@ -663,7 +650,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::Core::ICoreTextSelectionRequestedEventArgs>
{
@@ -672,11 +659,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::Core::ICoreTextSelectionUpdatingEventArgs>
{
@@ -685,12 +672,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::Core::CoreTextServicesManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto InputLanguage() const;
+ auto InputLanguageChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextServicesManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
using InputLanguageChanged_revoker = impl::event_revoker<winrt::Windows::UI::Text::Core::ICoreTextServicesManager, &impl::abi_t<winrt::Windows::UI::Text::Core::ICoreTextServicesManager>::remove_InputLanguageChanged>;
- [[nodiscard]] InputLanguageChanged_revoker InputLanguageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Text::Core::CoreTextServicesManager, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Text::Core::CoreTextServicesManager, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto InputLanguageChanged(winrt::event_token const& cookie) const noexcept;
+ auto CreateEditContext() const;
};
template <> struct consume<winrt::Windows::UI::Text::Core::ICoreTextServicesManager>
{
@@ -699,7 +686,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Text_Core_ICoreTextServicesManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Text::Core::CoreTextServicesManager) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::UI::Text::Core::ICoreTextServicesManagerStatics>
{
@@ -708,7 +695,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Text_Core_ICoreTextServicesStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(char16_t) HiddenCharacter() const;
+ [[nodiscard]] auto HiddenCharacter() const;
};
template <> struct consume<winrt::Windows::UI::Text::Core::ICoreTextServicesStatics>
{
@@ -717,11 +704,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::Core::ICoreTextTextRequest>
{
@@ -730,7 +717,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::Core::ICoreTextTextRequestedEventArgs>
{
@@ -739,14 +726,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Text::Core::ICoreTextTextUpdatingEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.1.h
index 27f7fff9f52..174efeae15c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.2.h
index a5107061905..8e1c07f1fb8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Text.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.0.h
index 72ff367bb8b..f4ff84d7f36 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::UIAutomation::IAutomationElement>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.1.h
index f9c34a6ad96..0432a387b99 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.2.h
index 1dd15e65260..211dcdee87c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.0.h
index f4c193145ea..2a642e36faa 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::UIAutomation::Core::IAutomationRemoteOperationResult>
{
@@ -84,11 +84,11 @@ namespace winrt::impl
template <typename D>
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<uint8_t const> 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<uint8_t const> bytecodeBuffer) const;
};
template <> struct consume<winrt::Windows::UI::UIAutomation::Core::ICoreAutomationRemoteOperation>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.1.h
index 92ea1f6aa3b..656b3a9e814 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.2.h
index 39152670d54..a40c375fdda 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.UIAutomation.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.0.h
index b73031170a7..caac6cefe81 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
struct IAsyncAction;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
struct Rect;
struct Size;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
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<winrt::Windows::UI::ViewManagement::AccessibilitySettings, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto HighContrast() const;
+ [[nodiscard]] auto HighContrastScheme() const;
+ auto HighContrastChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::AccessibilitySettings, winrt::Windows::Foundation::IInspectable> const& handler) const;
using HighContrastChanged_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::IAccessibilitySettings, &impl::abi_t<winrt::Windows::UI::ViewManagement::IAccessibilitySettings>::remove_HighContrastChanged>;
- [[nodiscard]] HighContrastChanged_revoker HighContrastChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::AccessibilitySettings, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::ViewManagement::AccessibilitySettings, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto HighContrastChanged(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IAccessibilitySettings>
{
@@ -934,9 +928,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::IActivationViewSwitcher>
{
@@ -945,20 +939,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::ApplicationView, winrt::Windows::UI::ViewManagement::ApplicationViewConsolidatedEventArgs> 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<winrt::Windows::UI::ViewManagement::ApplicationView, winrt::Windows::UI::ViewManagement::ApplicationViewConsolidatedEventArgs> const& handler) const;
using Consolidated_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::IApplicationView, &impl::abi_t<winrt::Windows::UI::ViewManagement::IApplicationView>::remove_Consolidated>;
- [[nodiscard]] Consolidated_revoker Consolidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::ApplicationView, winrt::Windows::UI::ViewManagement::ApplicationViewConsolidatedEventArgs> 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<winrt::Windows::UI::ViewManagement::ApplicationView, winrt::Windows::UI::ViewManagement::ApplicationViewConsolidatedEventArgs> const& handler) const;
+ auto Consolidated(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IApplicationView>
{
@@ -967,15 +961,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::ApplicationView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto SuppressSystemOverlays() const;
+ auto SuppressSystemOverlays(bool value) const;
+ [[nodiscard]] auto VisibleBounds() const;
+ auto VisibleBoundsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::ApplicationView, winrt::Windows::Foundation::IInspectable> const& handler) const;
using VisibleBoundsChanged_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::IApplicationView2, &impl::abi_t<winrt::Windows::UI::ViewManagement::IApplicationView2>::remove_VisibleBoundsChanged>;
- [[nodiscard]] VisibleBoundsChanged_revoker VisibleBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::ApplicationView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::ViewManagement::ApplicationView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::ViewManagement::IApplicationView2>
{
@@ -984,15 +978,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::IApplicationView3>
{
@@ -1001,11 +995,11 @@ namespace winrt::impl
template <typename D>
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<bool>) TryEnterViewModeAsync(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryEnterViewModeAsync(winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode, winrt::Windows::UI::ViewManagement::ViewModePreferences const& viewModePreferences) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::UI::ViewManagement::IApplicationView4>
{
@@ -1014,8 +1008,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::IApplicationView7>
{
@@ -1024,8 +1018,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WindowManagement::DisplayRegion>) GetDisplayRegions() const;
+ [[nodiscard]] auto WindowingEnvironment() const;
+ auto GetDisplayRegions() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IApplicationView9>
{
@@ -1034,7 +1028,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IApplicationViewConsolidatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsUserInitiated() const;
+ [[nodiscard]] auto IsUserInitiated() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IApplicationViewConsolidatedEventArgs>
{
@@ -1043,7 +1037,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IApplicationViewConsolidatedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsAppInitiated() const;
+ [[nodiscard]] auto IsAppInitiated() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IApplicationViewConsolidatedEventArgs2>
{
@@ -1052,7 +1046,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IApplicationViewFullscreenStatics
{
- WINRT_IMPL_AUTO(bool) TryUnsnapToFullscreen() const;
+ auto TryUnsnapToFullscreen() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IApplicationViewFullscreenStatics>
{
@@ -1061,7 +1055,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::IApplicationViewInteropStatics>
{
@@ -1078,8 +1072,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::IApplicationViewScalingStatics>
{
@@ -1088,8 +1082,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::IApplicationViewStatics>
{
@@ -1098,9 +1092,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::IApplicationViewStatics2>
{
@@ -1109,10 +1103,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::IApplicationViewStatics3>
{
@@ -1121,8 +1115,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::IApplicationViewStatics4>
{
@@ -1131,14 +1125,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics
{
- WINRT_IMPL_AUTO(void) DisableShowingMainViewOnActivation() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryShowAsStandaloneAsync(int32_t viewId) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryShowAsStandaloneAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ViewSizePreference const& sizePreference) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<bool>) 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<winrt::Windows::UI::ViewManagement::IApplicationViewSwitcherStatics>
{
@@ -1147,7 +1141,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics2
{
- WINRT_IMPL_AUTO(void) DisableSystemViewActivationPolicy() const;
+ auto DisableSystemViewActivationPolicy() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IApplicationViewSwitcherStatics2>
{
@@ -1156,8 +1150,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IApplicationViewSwitcherStatics3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryShowAsViewModeAsync(int32_t viewId, winrt::Windows::UI::ViewManagement::ApplicationViewMode const& viewMode) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::UI::ViewManagement::IApplicationViewSwitcherStatics3>
{
@@ -1166,30 +1160,30 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IApplicationViewTitleBar
{
- WINRT_IMPL_AUTO(void) ForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ForegroundColor() const;
- WINRT_IMPL_AUTO(void) BackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) BackgroundColor() const;
- WINRT_IMPL_AUTO(void) ButtonForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ButtonForegroundColor() const;
- WINRT_IMPL_AUTO(void) ButtonBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ButtonBackgroundColor() const;
- WINRT_IMPL_AUTO(void) ButtonHoverForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ButtonHoverForegroundColor() const;
- WINRT_IMPL_AUTO(void) ButtonHoverBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ButtonHoverBackgroundColor() const;
- WINRT_IMPL_AUTO(void) ButtonPressedForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ButtonPressedForegroundColor() const;
- WINRT_IMPL_AUTO(void) ButtonPressedBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ButtonPressedBackgroundColor() const;
- WINRT_IMPL_AUTO(void) InactiveForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) InactiveForegroundColor() const;
- WINRT_IMPL_AUTO(void) InactiveBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) InactiveBackgroundColor() const;
- WINRT_IMPL_AUTO(void) ButtonInactiveForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ButtonInactiveForegroundColor() const;
- WINRT_IMPL_AUTO(void) ButtonInactiveBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ButtonInactiveBackgroundColor() const;
+ auto ForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ForegroundColor() const;
+ auto BackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto BackgroundColor() const;
+ auto ButtonForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ButtonForegroundColor() const;
+ auto ButtonBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ButtonBackgroundColor() const;
+ auto ButtonHoverForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ButtonHoverForegroundColor() const;
+ auto ButtonHoverBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ButtonHoverBackgroundColor() const;
+ auto ButtonPressedForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ButtonPressedForegroundColor() const;
+ auto ButtonPressedBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ButtonPressedBackgroundColor() const;
+ auto InactiveForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto InactiveForegroundColor() const;
+ auto InactiveBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto InactiveBackgroundColor() const;
+ auto ButtonInactiveForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ButtonInactiveForegroundColor() const;
+ auto ButtonInactiveBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ButtonInactiveBackgroundColor() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IApplicationViewTitleBar>
{
@@ -1198,8 +1192,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::IApplicationViewTransferContext>
{
@@ -1208,7 +1202,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IApplicationViewTransferContextStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DataPackageFormatId() const;
+ [[nodiscard]] auto DataPackageFormatId() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IApplicationViewTransferContextStatics>
{
@@ -1217,7 +1211,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IApplicationViewWithContext
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) UIContext() const;
+ [[nodiscard]] auto UIContext() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IApplicationViewWithContext>
{
@@ -1226,15 +1220,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IInputPane
{
- WINRT_IMPL_AUTO(winrt::event_token) Showing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::InputPane, winrt::Windows::UI::ViewManagement::InputPaneVisibilityEventArgs> const& handler) const;
+ auto Showing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::InputPane, winrt::Windows::UI::ViewManagement::InputPaneVisibilityEventArgs> const& handler) const;
using Showing_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::IInputPane, &impl::abi_t<winrt::Windows::UI::ViewManagement::IInputPane>::remove_Showing>;
- [[nodiscard]] Showing_revoker Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::InputPane, winrt::Windows::UI::ViewManagement::InputPaneVisibilityEventArgs> 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<winrt::Windows::UI::ViewManagement::InputPane, winrt::Windows::UI::ViewManagement::InputPaneVisibilityEventArgs> const& handler) const;
+ [[nodiscard]] auto Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::InputPane, winrt::Windows::UI::ViewManagement::InputPaneVisibilityEventArgs> const& handler) const;
+ auto Showing(winrt::event_token const& token) const noexcept;
+ auto Hiding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::InputPane, winrt::Windows::UI::ViewManagement::InputPaneVisibilityEventArgs> const& handler) const;
using Hiding_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::IInputPane, &impl::abi_t<winrt::Windows::UI::ViewManagement::IInputPane>::remove_Hiding>;
- [[nodiscard]] Hiding_revoker Hiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::InputPane, winrt::Windows::UI::ViewManagement::InputPaneVisibilityEventArgs> 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<winrt::Windows::UI::ViewManagement::InputPane, winrt::Windows::UI::ViewManagement::InputPaneVisibilityEventArgs> const& handler) const;
+ auto Hiding(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto OccludedRect() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IInputPane>
{
@@ -1243,8 +1237,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::IInputPane2>
{
@@ -1253,8 +1247,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::IInputPaneControl>
{
@@ -1263,7 +1257,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IInputPaneStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::InputPane) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IInputPaneStatics>
{
@@ -1272,7 +1266,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::IInputPaneStatics2>
{
@@ -1281,9 +1275,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::IInputPaneVisibilityEventArgs>
{
@@ -1292,14 +1286,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
using ProjectionDisplayAvailableChanged_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::IProjectionManagerStatics, &impl::abi_t<winrt::Windows::UI::ViewManagement::IProjectionManagerStatics>::remove_ProjectionDisplayAvailableChanged>;
- [[nodiscard]] ProjectionDisplayAvailableChanged_revoker ProjectionDisplayAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ProjectionDisplayAvailableChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IProjectionManagerStatics>
{
@@ -1308,10 +1302,10 @@ namespace winrt::impl
template <typename D>
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<bool>) RequestStartProjectingAsync(int32_t projectionViewId, int32_t anchorViewId, winrt::Windows::Foundation::Rect const& selection) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::UI::ViewManagement::IProjectionManagerStatics2>
{
@@ -1320,24 +1314,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Color>) ForegroundColor() const;
- WINRT_IMPL_AUTO(void) ForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) BackgroundColor() const;
- WINRT_IMPL_AUTO(void) BackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> 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<winrt::Windows::UI::ViewManagement::StatusBar, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto BackgroundColor() const;
+ auto BackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ProgressIndicator() const;
+ [[nodiscard]] auto OccludedRect() const;
+ auto Showing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::StatusBar, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
using Showing_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::IStatusBar, &impl::abi_t<winrt::Windows::UI::ViewManagement::IStatusBar>::remove_Showing>;
- [[nodiscard]] Showing_revoker Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::StatusBar, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::ViewManagement::StatusBar, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ [[nodiscard]] auto Showing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::StatusBar, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ auto Showing(winrt::event_token const& token) const noexcept;
+ auto Hiding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::StatusBar, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
using Hiding_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::IStatusBar, &impl::abi_t<winrt::Windows::UI::ViewManagement::IStatusBar>::remove_Hiding>;
- [[nodiscard]] Hiding_revoker Hiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::StatusBar, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::ViewManagement::StatusBar, winrt::Windows::Foundation::IInspectable> const& eventHandler) const;
+ auto Hiding(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IStatusBar>
{
@@ -1346,12 +1340,12 @@ namespace winrt::impl
template <typename D>
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<double>) ProgressValue() const;
- WINRT_IMPL_AUTO(void) ProgressValue(winrt::Windows::Foundation::IReference<double> 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<double> const& value) const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IStatusBarProgressIndicator>
{
@@ -1360,7 +1354,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IStatusBarStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::StatusBar) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IStatusBarStatics>
{
@@ -1369,19 +1363,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::IUISettings>
{
@@ -1390,11 +1384,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IUISettings2
{
- [[nodiscard]] WINRT_IMPL_AUTO(double) TextScaleFactor() const;
- WINRT_IMPL_AUTO(winrt::event_token) TextScaleFactorChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto TextScaleFactor() const;
+ auto TextScaleFactorChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const;
using TextScaleFactorChanged_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::IUISettings2, &impl::abi_t<winrt::Windows::UI::ViewManagement::IUISettings2>::remove_TextScaleFactorChanged>;
- [[nodiscard]] TextScaleFactorChanged_revoker TextScaleFactorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto TextScaleFactorChanged(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IUISettings2>
{
@@ -1403,11 +1397,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto GetColorValue(winrt::Windows::UI::ViewManagement::UIColorType const& desiredColor) const;
+ auto ColorValuesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ColorValuesChanged_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::IUISettings3, &impl::abi_t<winrt::Windows::UI::ViewManagement::IUISettings3>::remove_ColorValuesChanged>;
- [[nodiscard]] ColorValuesChanged_revoker ColorValuesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ColorValuesChanged(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IUISettings3>
{
@@ -1416,11 +1410,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IUISettings4
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) AdvancedEffectsEnabled() const;
- WINRT_IMPL_AUTO(winrt::event_token) AdvancedEffectsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto AdvancedEffectsEnabled() const;
+ auto AdvancedEffectsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const;
using AdvancedEffectsEnabledChanged_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::IUISettings4, &impl::abi_t<winrt::Windows::UI::ViewManagement::IUISettings4>::remove_AdvancedEffectsEnabledChanged>;
- [[nodiscard]] AdvancedEffectsEnabledChanged_revoker AdvancedEffectsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto AdvancedEffectsEnabledChanged(winrt::event_token const& cookie) const noexcept;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IUISettings4>
{
@@ -1429,11 +1423,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IUISettings5
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) AutoHideScrollBars() const;
- WINRT_IMPL_AUTO(winrt::event_token) AutoHideScrollBarsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsAutoHideScrollBarsChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto AutoHideScrollBars() const;
+ auto AutoHideScrollBarsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsAutoHideScrollBarsChangedEventArgs> const& handler) const;
using AutoHideScrollBarsChanged_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::IUISettings5, &impl::abi_t<winrt::Windows::UI::ViewManagement::IUISettings5>::remove_AutoHideScrollBarsChanged>;
- [[nodiscard]] AutoHideScrollBarsChanged_revoker AutoHideScrollBarsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsAutoHideScrollBarsChangedEventArgs> 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<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsAutoHideScrollBarsChangedEventArgs> const& handler) const;
+ auto AutoHideScrollBarsChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IUISettings5>
{
@@ -1442,14 +1436,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IUISettings6
{
- WINRT_IMPL_AUTO(winrt::event_token) AnimationsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsAnimationsEnabledChangedEventArgs> const& handler) const;
+ auto AnimationsEnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsAnimationsEnabledChangedEventArgs> const& handler) const;
using AnimationsEnabledChanged_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::IUISettings6, &impl::abi_t<winrt::Windows::UI::ViewManagement::IUISettings6>::remove_AnimationsEnabledChanged>;
- [[nodiscard]] AnimationsEnabledChanged_revoker AnimationsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsAnimationsEnabledChangedEventArgs> 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<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsMessageDurationChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto AnimationsEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsAnimationsEnabledChangedEventArgs> const& handler) const;
+ auto AnimationsEnabledChanged(winrt::event_token const& token) const noexcept;
+ auto MessageDurationChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsMessageDurationChangedEventArgs> const& handler) const;
using MessageDurationChanged_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::IUISettings6, &impl::abi_t<winrt::Windows::UI::ViewManagement::IUISettings6>::remove_MessageDurationChanged>;
- [[nodiscard]] MessageDurationChanged_revoker MessageDurationChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsMessageDurationChangedEventArgs> 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<winrt::Windows::UI::ViewManagement::UISettings, winrt::Windows::UI::ViewManagement::UISettingsMessageDurationChangedEventArgs> const& handler) const;
+ auto MessageDurationChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IUISettings6>
{
@@ -1482,7 +1476,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IUIViewSettings
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::UserInteractionMode) UserInteractionMode() const;
+ [[nodiscard]] auto UserInteractionMode() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IUIViewSettings>
{
@@ -1491,7 +1485,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_IUIViewSettingsStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::UIViewSettings) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::IUIViewSettingsStatics>
{
@@ -1500,10 +1494,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::IViewModePreferences>
{
@@ -1512,7 +1506,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::IViewModePreferencesStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.1.h
index e23d22e6805..84b66d5f257 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.2.h
index b5e30d4ba4c..c3919724e20 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable> const& handler);
using ProjectionDisplayAvailableChanged_revoker = impl::factory_event_revoker<winrt::Windows::UI::ViewManagement::IProjectionManagerStatics, &impl::abi_t<winrt::Windows::UI::ViewManagement::IProjectionManagerStatics>::remove_ProjectionDisplayAvailableChanged>;
- [[nodiscard]] static ProjectionDisplayAvailableChanged_revoker ProjectionDisplayAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto ProjectionDisplayAvailableChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.0.h
index 2fe7debf8fd..4a9994df8b3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Rect;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::UI
{
struct UIContext;
@@ -250,13 +245,13 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_Core_ICoreInputView
{
- WINRT_IMPL_AUTO(winrt::event_token) OcclusionsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusionsChangedEventArgs> const& handler) const;
+ auto OcclusionsChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusionsChangedEventArgs> const& handler) const;
using OcclusionsChanged_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::Core::ICoreInputView, &impl::abi_t<winrt::Windows::UI::ViewManagement::Core::ICoreInputView>::remove_OcclusionsChanged>;
- [[nodiscard]] OcclusionsChanged_revoker OcclusionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusionsChangedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) OcclusionsChanged(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusion>) GetCoreInputViewOcclusions() const;
- WINRT_IMPL_AUTO(bool) TryShowPrimaryView() const;
- WINRT_IMPL_AUTO(bool) TryHidePrimaryView() const;
+ [[nodiscard]] auto OcclusionsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusionsChangedEventArgs> const& handler) const;
+ auto OcclusionsChanged(winrt::event_token const& token) const noexcept;
+ auto GetCoreInputViewOcclusions() const;
+ auto TryShowPrimaryView() const;
+ auto TryHidePrimaryView() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::Core::ICoreInputView>
{
@@ -265,15 +260,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_Core_ICoreInputView2
{
- WINRT_IMPL_AUTO(winrt::event_token) XYFocusTransferringFromPrimaryView(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewTransferringXYFocusEventArgs> const& handler) const;
+ auto XYFocusTransferringFromPrimaryView(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewTransferringXYFocusEventArgs> const& handler) const;
using XYFocusTransferringFromPrimaryView_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::Core::ICoreInputView2, &impl::abi_t<winrt::Windows::UI::ViewManagement::Core::ICoreInputView2>::remove_XYFocusTransferringFromPrimaryView>;
- [[nodiscard]] XYFocusTransferringFromPrimaryView_revoker XYFocusTransferringFromPrimaryView(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewTransferringXYFocusEventArgs> 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<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto XYFocusTransferringFromPrimaryView(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewTransferringXYFocusEventArgs> const& handler) const;
+ auto XYFocusTransferringFromPrimaryView(winrt::event_token const& token) const noexcept;
+ auto XYFocusTransferredToPrimaryView(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::Foundation::IInspectable> const& handler) const;
using XYFocusTransferredToPrimaryView_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::Core::ICoreInputView2, &impl::abi_t<winrt::Windows::UI::ViewManagement::Core::ICoreInputView2>::remove_XYFocusTransferredToPrimaryView>;
- [[nodiscard]] XYFocusTransferredToPrimaryView_revoker XYFocusTransferredToPrimaryView(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::ViewManagement::Core::ICoreInputView2>
{
@@ -282,9 +277,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::Core::ICoreInputView3>
{
@@ -293,14 +288,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_Core_ICoreInputView4
{
- WINRT_IMPL_AUTO(winrt::event_token) PrimaryViewShowing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewShowingEventArgs> const& handler) const;
+ auto PrimaryViewShowing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewShowingEventArgs> const& handler) const;
using PrimaryViewShowing_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::Core::ICoreInputView4, &impl::abi_t<winrt::Windows::UI::ViewManagement::Core::ICoreInputView4>::remove_PrimaryViewShowing>;
- [[nodiscard]] PrimaryViewShowing_revoker PrimaryViewShowing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewShowingEventArgs> 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<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewHidingEventArgs> const& handler) const;
+ [[nodiscard]] auto PrimaryViewShowing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewShowingEventArgs> const& handler) const;
+ auto PrimaryViewShowing(winrt::event_token const& token) const noexcept;
+ auto PrimaryViewHiding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewHidingEventArgs> const& handler) const;
using PrimaryViewHiding_revoker = impl::event_revoker<winrt::Windows::UI::ViewManagement::Core::ICoreInputView4, &impl::abi_t<winrt::Windows::UI::ViewManagement::Core::ICoreInputView4>::remove_PrimaryViewHiding>;
- [[nodiscard]] PrimaryViewHiding_revoker PrimaryViewHiding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewHidingEventArgs> 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<winrt::Windows::UI::ViewManagement::Core::CoreInputView, winrt::Windows::UI::ViewManagement::Core::CoreInputViewHidingEventArgs> const& handler) const;
+ auto PrimaryViewHiding(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::Core::ICoreInputView4>
{
@@ -309,7 +304,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_Core_ICoreInputViewHidingEventArgs
{
- WINRT_IMPL_AUTO(bool) TryCancel() const;
+ auto TryCancel() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::Core::ICoreInputViewHidingEventArgs>
{
@@ -318,8 +313,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::Core::ICoreInputViewOcclusion>
{
@@ -328,9 +323,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_Core_ICoreInputViewOcclusionsChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::ViewManagement::Core::CoreInputViewOcclusion>) 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<winrt::Windows::UI::ViewManagement::Core::ICoreInputViewOcclusionsChangedEventArgs>
{
@@ -339,7 +334,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_Core_ICoreInputViewShowingEventArgs
{
- WINRT_IMPL_AUTO(bool) TryCancel() const;
+ auto TryCancel() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::Core::ICoreInputViewShowingEventArgs>
{
@@ -348,7 +343,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_Core_ICoreInputViewStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::ViewManagement::Core::CoreInputView) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::Core::ICoreInputViewStatics>
{
@@ -357,7 +352,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::Core::ICoreInputViewStatics2>
{
@@ -366,12 +361,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::Core::ICoreInputViewTransferringXYFocusEventArgs>
{
@@ -380,11 +375,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::ViewManagement::Core::IUISettingsController>
{
@@ -393,7 +388,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_ViewManagement_Core_IUISettingsControllerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::ViewManagement::Core::UISettingsController>) RequestDefaultAsync() const;
+ auto RequestDefaultAsync() const;
};
template <> struct consume<winrt::Windows::UI::ViewManagement::Core::IUISettingsControllerStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.1.h
index f94c83cf898..e1558a24642 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.2.h
index 003c09209a4..0e2bc257fcd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.ViewManagement.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.0.h
index 217fdffb212..fb818b6d2ff 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
@@ -630,7 +625,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WebUI_IActivatedDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::UI::WebUI::IActivatedDeferral>
{
@@ -639,7 +634,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WebUI_IActivatedEventArgsDeferral
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::ActivatedOperation) ActivatedOperation() const;
+ [[nodiscard]] auto ActivatedOperation() const;
};
template <> struct consume<winrt::Windows::UI::WebUI::IActivatedEventArgsDeferral>
{
@@ -648,7 +643,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WebUI_IActivatedOperation
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::ActivatedDeferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::UI::WebUI::IActivatedOperation>
{
@@ -657,24 +652,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WebUI::IHtmlPrintDocumentSource>
{
@@ -683,10 +678,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WebUI::INewWebUIViewCreatedEventArgs>
{
@@ -695,22 +690,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WebUI::IWebUIActivationStatics, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIActivationStatics>::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<winrt::Windows::UI::WebUI::IWebUIActivationStatics, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIActivationStatics>::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<winrt::Windows::UI::WebUI::IWebUIActivationStatics, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIActivationStatics>::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<winrt::Windows::UI::WebUI::IWebUIActivationStatics, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIActivationStatics>::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<winrt::Windows::UI::WebUI::IWebUIActivationStatics>
{
@@ -719,15 +714,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WebUI::IWebUIActivationStatics2, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIActivationStatics2>::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<winrt::Windows::UI::WebUI::IWebUIActivationStatics2, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIActivationStatics2>::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<winrt::Windows::UI::WebUI::IWebUIActivationStatics2>
{
@@ -736,8 +731,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WebUI_IWebUIActivationStatics3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Core::AppRestartFailureReason>) RequestRestartAsync(param::hstring const& launchArguments) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::Core::AppRestartFailureReason>) 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<winrt::Windows::UI::WebUI::IWebUIActivationStatics3>
{
@@ -746,14 +741,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WebUI_IWebUIActivationStatics4
{
- WINRT_IMPL_AUTO(winrt::event_token) NewWebUIViewCreated(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::WebUI::NewWebUIViewCreatedEventArgs> const& handler) const;
+ auto NewWebUIViewCreated(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::WebUI::NewWebUIViewCreatedEventArgs> const& handler) const;
using NewWebUIViewCreated_revoker = impl::event_revoker<winrt::Windows::UI::WebUI::IWebUIActivationStatics4, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIActivationStatics4>::remove_NewWebUIViewCreated>;
- [[nodiscard]] NewWebUIViewCreated_revoker NewWebUIViewCreated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::WebUI::NewWebUIViewCreatedEventArgs> 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<winrt::Windows::UI::WebUI::NewWebUIViewCreatedEventArgs> 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<winrt::Windows::UI::WebUI::IWebUIActivationStatics4, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIActivationStatics4>::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<winrt::Windows::UI::WebUI::IWebUIActivationStatics4>
{
@@ -762,8 +757,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WebUI::IWebUIBackgroundTaskInstance>
{
@@ -772,7 +767,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WebUI_IWebUIBackgroundTaskInstanceStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::IWebUIBackgroundTaskInstance) Current() const;
+ [[nodiscard]] auto Current() const;
};
template <> struct consume<winrt::Windows::UI::WebUI::IWebUIBackgroundTaskInstanceStatics>
{
@@ -781,7 +776,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WebUI_IWebUINavigatedDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::UI::WebUI::IWebUINavigatedDeferral>
{
@@ -790,7 +785,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WebUI_IWebUINavigatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::WebUINavigatedOperation) NavigatedOperation() const;
+ [[nodiscard]] auto NavigatedOperation() const;
};
template <> struct consume<winrt::Windows::UI::WebUI::IWebUINavigatedEventArgs>
{
@@ -799,7 +794,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WebUI_IWebUINavigatedOperation
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::WebUINavigatedDeferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::UI::WebUI::IWebUINavigatedOperation>
{
@@ -808,17 +803,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WebUI::WebUIView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto ApplicationViewId() const;
+ auto Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::WebUIView, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::UI::WebUI::IWebUIView, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIView>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::WebUIView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::WebUI::WebUIView, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> const& handler) const;
+ [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::WebUIView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Closed(winrt::event_token const& token) const noexcept;
+ auto Activated(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::WebUIView, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> const& handler) const;
using Activated_revoker = impl::event_revoker<winrt::Windows::UI::WebUI::IWebUIView, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIView>::remove_Activated>;
- [[nodiscard]] Activated_revoker Activated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::WebUIView, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> 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<winrt::Windows::UI::WebUI::WebUIView, winrt::Windows::ApplicationModel::Activation::IActivatedEventArgs> const& handler) const;
+ auto Activated(winrt::event_token const& token) const noexcept;
+ [[nodiscard]] auto IgnoreApplicationContentUriRulesNavigationRestrictions() const;
+ auto IgnoreApplicationContentUriRulesNavigationRestrictions(bool value) const;
};
template <> struct consume<winrt::Windows::UI::WebUI::IWebUIView>
{
@@ -827,8 +822,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WebUI_IWebUIViewStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::WebUI::WebUIView>) CreateAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::WebUI::WebUIView>) CreateAsync(winrt::Windows::Foundation::Uri const& uri) const;
+ auto CreateAsync() const;
+ auto CreateAsync(winrt::Windows::Foundation::Uri const& uri) const;
};
template <> struct consume<winrt::Windows::UI::WebUI::IWebUIViewStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.1.h
index 75b3f14f64c..28b250400c2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.2.h
index 081c9f4b4ca..f7d87a1eb45 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::UI::WebUI::IWebUIActivationStatics, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIActivationStatics>::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<winrt::Windows::UI::WebUI::IWebUIActivationStatics, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIActivationStatics>::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<winrt::Windows::UI::WebUI::IWebUIActivationStatics, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIActivationStatics>::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<winrt::Windows::UI::WebUI::IWebUIActivationStatics, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIActivationStatics>::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<winrt::Windows::UI::WebUI::IWebUIActivationStatics2, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIActivationStatics2>::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<winrt::Windows::UI::WebUI::IWebUIActivationStatics2, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIActivationStatics2>::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<winrt::Windows::UI::WebUI::NewWebUIViewCreatedEventArgs> const& handler);
using NewWebUIViewCreated_revoker = impl::factory_event_revoker<winrt::Windows::UI::WebUI::IWebUIActivationStatics4, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIActivationStatics4>::remove_NewWebUIViewCreated>;
- [[nodiscard]] static NewWebUIViewCreated_revoker NewWebUIViewCreated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::WebUI::NewWebUIViewCreatedEventArgs> const& handler);
+ [[nodiscard]] static auto NewWebUIViewCreated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::WebUI::NewWebUIViewCreatedEventArgs> 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<winrt::Windows::UI::WebUI::IWebUIActivationStatics4, &impl::abi_t<winrt::Windows::UI::WebUI::IWebUIActivationStatics4>::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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.0.h
index a58636b95dc..a127ed6693b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IObservableVector;
-}
WINRT_EXPORT namespace winrt::Windows::UI
{
struct Color;
@@ -261,33 +257,33 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WebUI::Core::IWebUICommandBarElement>) PrimaryCommands() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::WebUI::Core::IWebUICommandBarElement>) 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<winrt::Windows::UI::WebUI::Core::IWebUICommandBar, &impl::abi_t<winrt::Windows::UI::WebUI::Core::IWebUICommandBar>::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<winrt::Windows::UI::WebUI::Core::IWebUICommandBar, &impl::abi_t<winrt::Windows::UI::WebUI::Core::IWebUICommandBar>::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<winrt::Windows::UI::WebUI::Core::IWebUICommandBar, &impl::abi_t<winrt::Windows::UI::WebUI::Core::IWebUICommandBar>::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<winrt::Windows::UI::WebUI::Core::IWebUICommandBar>
{
@@ -296,8 +292,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WebUI::Core::IWebUICommandBarBitmapIcon>
{
@@ -306,7 +302,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WebUI::Core::IWebUICommandBarBitmapIconFactory>
{
@@ -315,12 +311,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WebUI::Core::WebUICommandBarConfirmationButton, winrt::Windows::UI::WebUI::Core::WebUICommandBarItemInvokedEventArgs> const& handler) const;
+ [[nodiscard]] auto Text() const;
+ auto Text(param::hstring const& value) const;
+ auto ItemInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::Core::WebUICommandBarConfirmationButton, winrt::Windows::UI::WebUI::Core::WebUICommandBarItemInvokedEventArgs> const& handler) const;
using ItemInvoked_revoker = impl::event_revoker<winrt::Windows::UI::WebUI::Core::IWebUICommandBarConfirmationButton, &impl::abi_t<winrt::Windows::UI::WebUI::Core::IWebUICommandBarConfirmationButton>::remove_ItemInvoked>;
- [[nodiscard]] ItemInvoked_revoker ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::Core::WebUICommandBarConfirmationButton, winrt::Windows::UI::WebUI::Core::WebUICommandBarItemInvokedEventArgs> 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<winrt::Windows::UI::WebUI::Core::WebUICommandBarConfirmationButton, winrt::Windows::UI::WebUI::Core::WebUICommandBarItemInvokedEventArgs> const& handler) const;
+ auto ItemInvoked(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::WebUI::Core::IWebUICommandBarConfirmationButton>
{
@@ -345,20 +341,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WebUI::Core::WebUICommandBarIconButton, winrt::Windows::UI::WebUI::Core::WebUICommandBarItemInvokedEventArgs> 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<winrt::Windows::UI::WebUI::Core::WebUICommandBarIconButton, winrt::Windows::UI::WebUI::Core::WebUICommandBarItemInvokedEventArgs> const& handler) const;
using ItemInvoked_revoker = impl::event_revoker<winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton, &impl::abi_t<winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton>::remove_ItemInvoked>;
- [[nodiscard]] ItemInvoked_revoker ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WebUI::Core::WebUICommandBarIconButton, winrt::Windows::UI::WebUI::Core::WebUICommandBarItemInvokedEventArgs> 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<winrt::Windows::UI::WebUI::Core::WebUICommandBarIconButton, winrt::Windows::UI::WebUI::Core::WebUICommandBarItemInvokedEventArgs> const& handler) const;
+ auto ItemInvoked(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::WebUI::Core::IWebUICommandBarIconButton>
{
@@ -367,7 +363,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WebUI_Core_IWebUICommandBarItemInvokedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPrimaryCommand() const;
+ [[nodiscard]] auto IsPrimaryCommand() const;
};
template <> struct consume<winrt::Windows::UI::WebUI::Core::IWebUICommandBarItemInvokedEventArgs>
{
@@ -376,7 +372,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WebUI_Core_IWebUICommandBarSizeChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Size) Size() const;
+ [[nodiscard]] auto Size() const;
};
template <> struct consume<winrt::Windows::UI::WebUI::Core::IWebUICommandBarSizeChangedEventArgs>
{
@@ -385,7 +381,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WebUI_Core_IWebUICommandBarStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::WebUI::Core::WebUICommandBar) GetForCurrentView() const;
+ auto GetForCurrentView() const;
};
template <> struct consume<winrt::Windows::UI::WebUI::Core::IWebUICommandBarStatics>
{
@@ -394,8 +390,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WebUI::Core::IWebUICommandBarSymbolIcon>
{
@@ -404,7 +400,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WebUI::Core::IWebUICommandBarSymbolIconFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.1.h
index 70d1581d24b..8596e879896 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.2.h
index 8c207af0a74..e69d47da87d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WebUI.Core.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.0.h
index 5aa03cb630a..2de6d39632f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
struct Point;
struct Rect;
struct Size;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<winrt::Windows::UI::WindowManagement::DisplayRegion>) 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<bool>) TryShowAsync() const;
- WINRT_IMPL_AUTO(winrt::event_token) Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowChangedEventArgs> 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<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowChangedEventArgs> const& handler) const;
using Changed_revoker = impl::event_revoker<winrt::Windows::UI::WindowManagement::IAppWindow, &impl::abi_t<winrt::Windows::UI::WindowManagement::IAppWindow>::remove_Changed>;
- [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowChangedEventArgs> 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<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowClosedEventArgs> const& handler) const;
+ [[nodiscard]] auto Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowChangedEventArgs> const& handler) const;
+ auto Changed(winrt::event_token const& token) const noexcept;
+ auto Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowClosedEventArgs> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::UI::WindowManagement::IAppWindow, &impl::abi_t<winrt::Windows::UI::WindowManagement::IAppWindow>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowClosedEventArgs> 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<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowCloseRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowClosedEventArgs> const& handler) const;
+ auto Closed(winrt::event_token const& token) const noexcept;
+ auto CloseRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowCloseRequestedEventArgs> const& handler) const;
using CloseRequested_revoker = impl::event_revoker<winrt::Windows::UI::WindowManagement::IAppWindow, &impl::abi_t<winrt::Windows::UI::WindowManagement::IAppWindow>::remove_CloseRequested>;
- [[nodiscard]] CloseRequested_revoker CloseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowCloseRequestedEventArgs> 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<winrt::Windows::UI::WindowManagement::AppWindow, winrt::Windows::UI::WindowManagement::AppWindowCloseRequestedEventArgs> const& handler) const;
+ auto CloseRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::WindowManagement::IAppWindow>
{
@@ -544,14 +533,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WindowManagement::IAppWindowChangedEventArgs>
{
@@ -560,9 +549,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WindowManagement::IAppWindowCloseRequestedEventArgs>
{
@@ -571,7 +560,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WindowManagement_IAppWindowClosedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowClosedReason) Reason() const;
+ [[nodiscard]] auto Reason() const;
};
template <> struct consume<winrt::Windows::UI::WindowManagement::IAppWindowClosedEventArgs>
{
@@ -580,7 +569,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WindowManagement_IAppWindowFrame
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Composition::IVisualElement>) DragRegionVisuals() const;
+ [[nodiscard]] auto DragRegionVisuals() const;
};
template <> struct consume<winrt::Windows::UI::WindowManagement::IAppWindowFrame>
{
@@ -589,8 +578,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WindowManagement::IAppWindowFrameStyle>
{
@@ -599,9 +588,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WindowManagement::IAppWindowPlacement>
{
@@ -610,7 +599,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WindowManagement_IAppWindowPresentationConfiguration
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::AppWindowPresentationKind) Kind() const;
+ [[nodiscard]] auto Kind() const;
};
template <> struct consume<winrt::Windows::UI::WindowManagement::IAppWindowPresentationConfiguration>
{
@@ -627,10 +616,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WindowManagement::IAppWindowPresenter>
{
@@ -639,9 +628,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WindowManagement_IAppWindowStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::WindowManagement::AppWindow>) 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<winrt::Windows::UI::WindowManagement::IAppWindowStatics>
{
@@ -650,34 +639,34 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WindowManagement_IAppWindowTitleBar
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) BackgroundColor() const;
- WINRT_IMPL_AUTO(void) BackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ButtonBackgroundColor() const;
- WINRT_IMPL_AUTO(void) ButtonBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ButtonForegroundColor() const;
- WINRT_IMPL_AUTO(void) ButtonForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ButtonHoverBackgroundColor() const;
- WINRT_IMPL_AUTO(void) ButtonHoverBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ButtonHoverForegroundColor() const;
- WINRT_IMPL_AUTO(void) ButtonHoverForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ButtonInactiveBackgroundColor() const;
- WINRT_IMPL_AUTO(void) ButtonInactiveBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ButtonInactiveForegroundColor() const;
- WINRT_IMPL_AUTO(void) ButtonInactiveForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ButtonPressedBackgroundColor() const;
- WINRT_IMPL_AUTO(void) ButtonPressedBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ButtonPressedForegroundColor() const;
- WINRT_IMPL_AUTO(void) ButtonPressedForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> 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<winrt::Windows::UI::Color>) ForegroundColor() const;
- WINRT_IMPL_AUTO(void) ForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) InactiveBackgroundColor() const;
- WINRT_IMPL_AUTO(void) InactiveBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) InactiveForegroundColor() const;
- WINRT_IMPL_AUTO(void) InactiveForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsVisible() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowManagement::AppWindowTitleBarOcclusion>) GetTitleBarOcclusions() const;
+ [[nodiscard]] auto BackgroundColor() const;
+ auto BackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ButtonBackgroundColor() const;
+ auto ButtonBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ButtonForegroundColor() const;
+ auto ButtonForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ButtonHoverBackgroundColor() const;
+ auto ButtonHoverBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ButtonHoverForegroundColor() const;
+ auto ButtonHoverForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ButtonInactiveBackgroundColor() const;
+ auto ButtonInactiveBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ButtonInactiveForegroundColor() const;
+ auto ButtonInactiveForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ButtonPressedBackgroundColor() const;
+ auto ButtonPressedBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ButtonPressedForegroundColor() const;
+ auto ButtonPressedForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ExtendsContentIntoTitleBar() const;
+ auto ExtendsContentIntoTitleBar(bool value) const;
+ [[nodiscard]] auto ForegroundColor() const;
+ auto ForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto InactiveBackgroundColor() const;
+ auto InactiveBackgroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto InactiveForegroundColor() const;
+ auto InactiveForegroundColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto IsVisible() const;
+ auto GetTitleBarOcclusions() const;
};
template <> struct consume<winrt::Windows::UI::WindowManagement::IAppWindowTitleBar>
{
@@ -686,7 +675,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WindowManagement_IAppWindowTitleBarOcclusion
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) OccludingRect() const;
+ [[nodiscard]] auto OccludingRect() const;
};
template <> struct consume<winrt::Windows::UI::WindowManagement::IAppWindowTitleBarOcclusion>
{
@@ -695,8 +684,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WindowManagement::IAppWindowTitleBarVisibility>
{
@@ -721,15 +710,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WindowManagement::DisplayRegion, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::WindowManagement::DisplayRegion, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Changed_revoker = impl::event_revoker<winrt::Windows::UI::WindowManagement::IDisplayRegion, &impl::abi_t<winrt::Windows::UI::WindowManagement::IDisplayRegion>::remove_Changed>;
- [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::DisplayRegion, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::WindowManagement::DisplayRegion, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Changed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::WindowManagement::IDisplayRegion>
{
@@ -738,8 +727,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WindowManagement::IFullScreenPresentationConfiguration>
{
@@ -748,7 +737,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WindowManagement_IWindowServicesStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowId>) FindAllTopLevelWindowIds() const;
+ auto FindAllTopLevelWindowIds() const;
};
template <> struct consume<winrt::Windows::UI::WindowManagement::IWindowServicesStatics>
{
@@ -757,13 +746,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::WindowManagement::DisplayRegion>) GetDisplayRegions() const;
- WINRT_IMPL_AUTO(winrt::event_token) Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::WindowingEnvironment, winrt::Windows::UI::WindowManagement::WindowingEnvironmentChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto IsEnabled() const;
+ [[nodiscard]] auto Kind() const;
+ auto GetDisplayRegions() const;
+ auto Changed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::WindowingEnvironment, winrt::Windows::UI::WindowManagement::WindowingEnvironmentChangedEventArgs> const& handler) const;
using Changed_revoker = impl::event_revoker<winrt::Windows::UI::WindowManagement::IWindowingEnvironment, &impl::abi_t<winrt::Windows::UI::WindowManagement::IWindowingEnvironment>::remove_Changed>;
- [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::WindowManagement::WindowingEnvironment, winrt::Windows::UI::WindowManagement::WindowingEnvironmentChangedEventArgs> 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<winrt::Windows::UI::WindowManagement::WindowingEnvironment, winrt::Windows::UI::WindowManagement::WindowingEnvironmentChangedEventArgs> const& handler) const;
+ auto Changed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::WindowManagement::IWindowingEnvironment>
{
@@ -772,7 +761,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WindowManagement_IWindowingEnvironmentAddedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironment) WindowingEnvironment() const;
+ [[nodiscard]] auto WindowingEnvironment() const;
};
template <> struct consume<winrt::Windows::UI::WindowManagement::IWindowingEnvironmentAddedEventArgs>
{
@@ -789,7 +778,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WindowManagement_IWindowingEnvironmentRemovedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::WindowManagement::WindowingEnvironment) WindowingEnvironment() const;
+ [[nodiscard]] auto WindowingEnvironment() const;
};
template <> struct consume<winrt::Windows::UI::WindowManagement::IWindowingEnvironmentRemovedEventArgs>
{
@@ -798,8 +787,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_WindowManagement_IWindowingEnvironmentStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowManagement::WindowingEnvironment>) FindAll() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::WindowManagement::WindowingEnvironment>) 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<winrt::Windows::UI::WindowManagement::IWindowingEnvironmentStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.1.h
index 528963a9ed7..81ad3e6a979 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.2.h
index c5dfddc882f..ac837da91a5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.0.h
index 557f5a39558..dfc8c7cd12f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::WindowManagement::Preview::IWindowManagementPreviewStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.1.h
index e99496b1aec..9ffd49ad99a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.2.h
index f9f6c9c04ba..67a7a3f8258 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.WindowManagement.Preview.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.0.h
index b1b15587bcf..b4aa17da473 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
struct HResult;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> 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 <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
template <typename T> struct __declspec(empty_bases) IObservableVector;
- template <typename T> struct __declspec(empty_bases) IVectorView;
template <typename T> 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 <typename D>
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<winrt::Windows::UI::Xaml::IAdaptiveTrigger>
{
@@ -3569,7 +3563,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IAdaptiveTriggerFactory>
{
@@ -3578,8 +3572,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IAdaptiveTriggerStatics>
{
@@ -3588,24 +3582,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IApplication, &impl::abi_t<winrt::Windows::UI::Xaml::IApplication>::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<winrt::Windows::UI::Xaml::IApplication, &impl::abi_t<winrt::Windows::UI::Xaml::IApplication>::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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Resuming_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IApplication, &impl::abi_t<winrt::Windows::UI::Xaml::IApplication>::remove_Resuming>;
- [[nodiscard]] Resuming_revoker Resuming(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Resuming(winrt::event_token const& token) const noexcept;
+ auto Exit() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IApplication>
{
@@ -3614,18 +3608,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IApplication2, &impl::abi_t<winrt::Windows::UI::Xaml::IApplication2>::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<winrt::Windows::UI::Xaml::IApplication2, &impl::abi_t<winrt::Windows::UI::Xaml::IApplication2>::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<winrt::Windows::UI::Xaml::IApplication2>
{
@@ -3634,8 +3628,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IApplication3>
{
@@ -3644,7 +3638,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IApplicationFactory>
{
@@ -3661,15 +3655,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IApplicationOverrides>
{
@@ -3678,7 +3672,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IApplicationOverrides2>
{
@@ -3687,10 +3681,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IApplicationStatics>
{
@@ -3699,7 +3693,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IBindingFailedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Message() const;
+ [[nodiscard]] auto Message() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IBindingFailedEventArgs>
{
@@ -3708,10 +3702,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Rect>) TargetRect() const;
- WINRT_IMPL_AUTO(void) TargetRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> const& value) const;
+ [[nodiscard]] auto AnimationDesired() const;
+ auto AnimationDesired(bool value) const;
+ [[nodiscard]] auto TargetRect() const;
+ auto TargetRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> const& value) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IBringIntoViewOptions>
{
@@ -3720,14 +3714,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IBringIntoViewOptions2>
{
@@ -3736,20 +3730,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IBringIntoViewRequestedEventArgs>
{
@@ -3758,8 +3752,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IBrushTransition>
{
@@ -3768,7 +3762,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IBrushTransitionFactory>
{
@@ -3777,60 +3771,60 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IColorPaletteResources
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) AltHigh() const;
- WINRT_IMPL_AUTO(void) AltHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) AltLow() const;
- WINRT_IMPL_AUTO(void) AltLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) AltMedium() const;
- WINRT_IMPL_AUTO(void) AltMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) AltMediumHigh() const;
- WINRT_IMPL_AUTO(void) AltMediumHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) AltMediumLow() const;
- WINRT_IMPL_AUTO(void) AltMediumLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) BaseHigh() const;
- WINRT_IMPL_AUTO(void) BaseHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) BaseLow() const;
- WINRT_IMPL_AUTO(void) BaseLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) BaseMedium() const;
- WINRT_IMPL_AUTO(void) BaseMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) BaseMediumHigh() const;
- WINRT_IMPL_AUTO(void) BaseMediumHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) BaseMediumLow() const;
- WINRT_IMPL_AUTO(void) BaseMediumLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ChromeAltLow() const;
- WINRT_IMPL_AUTO(void) ChromeAltLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ChromeBlackHigh() const;
- WINRT_IMPL_AUTO(void) ChromeBlackHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ChromeBlackLow() const;
- WINRT_IMPL_AUTO(void) ChromeBlackLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ChromeBlackMediumLow() const;
- WINRT_IMPL_AUTO(void) ChromeBlackMediumLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ChromeBlackMedium() const;
- WINRT_IMPL_AUTO(void) ChromeBlackMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ChromeDisabledHigh() const;
- WINRT_IMPL_AUTO(void) ChromeDisabledHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ChromeDisabledLow() const;
- WINRT_IMPL_AUTO(void) ChromeDisabledLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ChromeHigh() const;
- WINRT_IMPL_AUTO(void) ChromeHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ChromeLow() const;
- WINRT_IMPL_AUTO(void) ChromeLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ChromeMedium() const;
- WINRT_IMPL_AUTO(void) ChromeMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ChromeMediumLow() const;
- WINRT_IMPL_AUTO(void) ChromeMediumLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ChromeWhite() const;
- WINRT_IMPL_AUTO(void) ChromeWhite(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ChromeGray() const;
- WINRT_IMPL_AUTO(void) ChromeGray(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ListLow() const;
- WINRT_IMPL_AUTO(void) ListLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ListMedium() const;
- WINRT_IMPL_AUTO(void) ListMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) ErrorText() const;
- WINRT_IMPL_AUTO(void) ErrorText(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) Accent() const;
- WINRT_IMPL_AUTO(void) Accent(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto AltHigh() const;
+ auto AltHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto AltLow() const;
+ auto AltLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto AltMedium() const;
+ auto AltMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto AltMediumHigh() const;
+ auto AltMediumHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto AltMediumLow() const;
+ auto AltMediumLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto BaseHigh() const;
+ auto BaseHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto BaseLow() const;
+ auto BaseLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto BaseMedium() const;
+ auto BaseMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto BaseMediumHigh() const;
+ auto BaseMediumHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto BaseMediumLow() const;
+ auto BaseMediumLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ChromeAltLow() const;
+ auto ChromeAltLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ChromeBlackHigh() const;
+ auto ChromeBlackHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ChromeBlackLow() const;
+ auto ChromeBlackLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ChromeBlackMediumLow() const;
+ auto ChromeBlackMediumLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ChromeBlackMedium() const;
+ auto ChromeBlackMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ChromeDisabledHigh() const;
+ auto ChromeDisabledHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ChromeDisabledLow() const;
+ auto ChromeDisabledLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ChromeHigh() const;
+ auto ChromeHigh(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ChromeLow() const;
+ auto ChromeLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ChromeMedium() const;
+ auto ChromeMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ChromeMediumLow() const;
+ auto ChromeMediumLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ChromeWhite() const;
+ auto ChromeWhite(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ChromeGray() const;
+ auto ChromeGray(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ListLow() const;
+ auto ListLow(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ListMedium() const;
+ auto ListMedium(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto ErrorText() const;
+ auto ErrorText(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto Accent() const;
+ auto Accent(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IColorPaletteResources>
{
@@ -3839,7 +3833,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IColorPaletteResourcesFactory>
{
@@ -3856,8 +3850,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::ICornerRadiusHelperStatics>
{
@@ -3866,9 +3860,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDataContextChangedEventArgs>
{
@@ -3877,7 +3871,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IDataTemplate
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyObject) LoadContent() const;
+ auto LoadContent() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IDataTemplate>
{
@@ -3886,9 +3880,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDataTemplateExtension>
{
@@ -3897,7 +3891,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDataTemplateFactory>
{
@@ -3906,8 +3900,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDataTemplateKey>
{
@@ -3916,8 +3910,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDataTemplateKeyFactory>
{
@@ -3926,9 +3920,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDataTemplateStatics2>
{
@@ -3937,16 +3931,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDebugSettings, &impl::abi_t<winrt::Windows::UI::Xaml::IDebugSettings>::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<winrt::Windows::UI::Xaml::IDebugSettings>
{
@@ -3955,8 +3949,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDebugSettings2>
{
@@ -3965,8 +3959,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDebugSettings3>
{
@@ -3975,8 +3969,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDebugSettings4>
{
@@ -3985,12 +3979,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDependencyObject>
{
@@ -3999,8 +3993,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDependencyObject2>
{
@@ -4009,7 +4003,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDependencyObjectCollectionFactory>
{
@@ -4018,7 +4012,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDependencyObjectFactory>
{
@@ -4027,7 +4021,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDependencyProperty>
{
@@ -4036,9 +4030,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDependencyPropertyChangedEventArgs>
{
@@ -4047,9 +4041,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDependencyPropertyStatics>
{
@@ -4058,15 +4052,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Tick_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IDispatcherTimer, &impl::abi_t<winrt::Windows::UI::Xaml::IDispatcherTimer>::remove_Tick>;
- [[nodiscard]] Tick_revoker Tick(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Tick(winrt::event_token const& token) const noexcept;
+ auto Start() const;
+ auto Stop() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IDispatcherTimer>
{
@@ -4075,7 +4069,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDispatcherTimerFactory>
{
@@ -4084,11 +4078,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDragEventArgs>
{
@@ -4097,12 +4091,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDragEventArgs2>
{
@@ -4111,7 +4105,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IDragEventArgs3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) AllowedOperations() const;
+ [[nodiscard]] auto AllowedOperations() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IDragEventArgs3>
{
@@ -4120,7 +4114,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IDragOperationDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IDragOperationDeferral>
{
@@ -4129,12 +4123,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDragStartingEventArgs>
{
@@ -4143,8 +4137,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDragStartingEventArgs2>
{
@@ -4153,11 +4147,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDragUI>
{
@@ -4166,19 +4160,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDragUIOverride>
{
@@ -4187,7 +4181,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IDropCompletedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) DropResult() const;
+ [[nodiscard]] auto DropResult() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IDropCompletedEventArgs>
{
@@ -4204,14 +4198,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IDurationHelperStatics>
{
@@ -4220,10 +4214,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IEffectiveViewportChangedEventArgs>
{
@@ -4232,8 +4226,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IElementFactory>
{
@@ -4242,10 +4236,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IElementFactoryGetArgs>
{
@@ -4254,7 +4248,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IElementFactoryGetArgsFactory>
{
@@ -4263,10 +4257,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IElementFactoryRecycleArgs>
{
@@ -4275,7 +4269,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IElementFactoryRecycleArgsFactory>
{
@@ -4292,11 +4286,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IElementSoundPlayerStatics>
{
@@ -4305,8 +4299,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IElementSoundPlayerStatics2>
{
@@ -4315,9 +4309,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IEventTrigger>
{
@@ -4326,7 +4320,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IExceptionRoutedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ErrorMessage() const;
+ [[nodiscard]] auto ErrorMessage() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IExceptionRoutedEventArgs>
{
@@ -4343,61 +4337,61 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IFrameworkElement, &impl::abi_t<winrt::Windows::UI::Xaml::IFrameworkElement>::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<winrt::Windows::UI::Xaml::IFrameworkElement, &impl::abi_t<winrt::Windows::UI::Xaml::IFrameworkElement>::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<winrt::Windows::UI::Xaml::IFrameworkElement, &impl::abi_t<winrt::Windows::UI::Xaml::IFrameworkElement>::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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
using LayoutUpdated_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IFrameworkElement, &impl::abi_t<winrt::Windows::UI::Xaml::IFrameworkElement>::remove_LayoutUpdated>;
- [[nodiscard]] LayoutUpdated_revoker LayoutUpdated(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::IFrameworkElement>
{
@@ -4406,13 +4400,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::UI::Xaml::DataContextChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto RequestedTheme() const;
+ auto RequestedTheme(winrt::Windows::UI::Xaml::ElementTheme const& value) const;
+ auto DataContextChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::UI::Xaml::DataContextChangedEventArgs> const& handler) const;
using DataContextChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IFrameworkElement2, &impl::abi_t<winrt::Windows::UI::Xaml::IFrameworkElement2>::remove_DataContextChanged>;
- [[nodiscard]] DataContextChanged_revoker DataContextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::UI::Xaml::DataContextChangedEventArgs> 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<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::UI::Xaml::DataContextChangedEventArgs> 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<winrt::Windows::UI::Xaml::IFrameworkElement2>
{
@@ -4421,10 +4415,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IFrameworkElement3
{
- WINRT_IMPL_AUTO(winrt::event_token) Loading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Loading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Loading_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IFrameworkElement3, &impl::abi_t<winrt::Windows::UI::Xaml::IFrameworkElement3>::remove_Loading>;
- [[nodiscard]] Loading_revoker Loading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Loading(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::IFrameworkElement3>
{
@@ -4433,20 +4427,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IFrameworkElement4>
{
@@ -4455,11 +4449,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto ActualTheme() const;
+ auto ActualThemeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ActualThemeChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IFrameworkElement6, &impl::abi_t<winrt::Windows::UI::Xaml::IFrameworkElement6>::remove_ActualThemeChanged>;
- [[nodiscard]] ActualThemeChanged_revoker ActualThemeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ActualThemeChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::IFrameworkElement6>
{
@@ -4468,11 +4462,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IFrameworkElement7
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsLoaded() const;
- WINRT_IMPL_AUTO(winrt::event_token) EffectiveViewportChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::UI::Xaml::EffectiveViewportChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto IsLoaded() const;
+ auto EffectiveViewportChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::UI::Xaml::EffectiveViewportChangedEventArgs> const& handler) const;
using EffectiveViewportChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IFrameworkElement7, &impl::abi_t<winrt::Windows::UI::Xaml::IFrameworkElement7>::remove_EffectiveViewportChanged>;
- [[nodiscard]] EffectiveViewportChanged_revoker EffectiveViewportChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::UI::Xaml::EffectiveViewportChangedEventArgs> 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<winrt::Windows::UI::Xaml::FrameworkElement, winrt::Windows::UI::Xaml::EffectiveViewportChangedEventArgs> const& handler) const;
+ auto EffectiveViewportChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::IFrameworkElement7>
{
@@ -4481,7 +4475,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IFrameworkElementFactory>
{
@@ -4490,9 +4484,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IFrameworkElementOverrides>
{
@@ -4501,7 +4495,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IFrameworkElementOverrides2>
{
@@ -4510,7 +4504,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IFrameworkElementProtected7
{
- WINRT_IMPL_AUTO(void) InvalidateViewport() const;
+ auto InvalidateViewport() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IFrameworkElementProtected7>
{
@@ -4519,23 +4513,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IFrameworkElementStatics>
{
@@ -4544,7 +4538,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IFrameworkElementStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) RequestedThemeProperty() const;
+ [[nodiscard]] auto RequestedThemeProperty() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IFrameworkElementStatics2>
{
@@ -4553,13 +4547,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IFrameworkElementStatics4>
{
@@ -4568,7 +4562,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IFrameworkElementStatics5>
{
@@ -4577,7 +4571,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IFrameworkElementStatics6
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ActualThemeProperty() const;
+ [[nodiscard]] auto ActualThemeProperty() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IFrameworkElementStatics6>
{
@@ -4594,7 +4588,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IFrameworkTemplateFactory>
{
@@ -4627,13 +4621,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IGridLengthHelperStatics>
{
@@ -4642,7 +4636,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IMediaFailedRoutedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ErrorTrace() const;
+ [[nodiscard]] auto ErrorTrace() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IMediaFailedRoutedEventArgs>
{
@@ -4659,7 +4653,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IPointHelperStatics>
{
@@ -4668,8 +4662,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IPropertyMetadata>
{
@@ -4678,8 +4672,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IPropertyMetadataFactory>
{
@@ -4688,10 +4682,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IPropertyMetadataStatics>
{
@@ -4700,7 +4694,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IPropertyPath
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Path() const;
+ [[nodiscard]] auto Path() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IPropertyPath>
{
@@ -4709,7 +4703,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IPropertyPathFactory>
{
@@ -4726,20 +4720,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IRectHelperStatics>
{
@@ -4748,10 +4742,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::ResourceDictionary>) MergedDictionaries() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IMap<winrt::Windows::Foundation::IInspectable, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::UI::Xaml::IResourceDictionary>
{
@@ -4760,7 +4754,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IResourceDictionaryFactory>
{
@@ -4777,7 +4771,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IRoutedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) OriginalSource() const;
+ [[nodiscard]] auto OriginalSource() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IRoutedEventArgs>
{
@@ -4786,7 +4780,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IRoutedEventArgsFactory>
{
@@ -4795,8 +4789,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IScalarTransition>
{
@@ -4805,7 +4799,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IScalarTransitionFactory>
{
@@ -4814,10 +4808,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::ISetter>
{
@@ -4826,8 +4820,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::ISetter2>
{
@@ -4836,7 +4830,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_ISetterBase
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSealed() const;
+ [[nodiscard]] auto IsSealed() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::ISetterBase>
{
@@ -4845,7 +4839,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_ISetterBaseCollection
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSealed() const;
+ [[nodiscard]] auto IsSealed() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::ISetterBaseCollection>
{
@@ -4862,7 +4856,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::ISetterFactory>
{
@@ -4871,8 +4865,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::ISizeChangedEventArgs>
{
@@ -4889,10 +4883,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::ISizeHelperStatics>
{
@@ -4901,8 +4895,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IStateTrigger>
{
@@ -4919,7 +4913,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IStateTriggerBaseFactory>
{
@@ -4928,7 +4922,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IStateTriggerBaseProtected
{
- WINRT_IMPL_AUTO(void) SetActive(bool IsActive) const;
+ auto SetActive(bool IsActive) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IStateTriggerBaseProtected>
{
@@ -4937,7 +4931,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IStateTriggerStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) IsActiveProperty() const;
+ [[nodiscard]] auto IsActiveProperty() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IStateTriggerStatics>
{
@@ -4946,13 +4940,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IStyle>
{
@@ -4961,7 +4955,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IStyleFactory>
{
@@ -4970,10 +4964,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::ITargetPropertyPath>
{
@@ -4982,7 +4976,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::ITargetPropertyPathFactory>
{
@@ -4999,8 +4993,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IThicknessHelperStatics>
{
@@ -5041,152 +5035,152 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::Pointer>) 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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement>::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<winrt::Windows::UI::Xaml::IUIElement>
{
@@ -5195,13 +5189,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IUIElement10>
{
@@ -5210,9 +5204,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IUIElement2>
{
@@ -5221,19 +5215,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::DragStartingEventArgs> 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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::DragStartingEventArgs> const& handler) const;
using DragStarting_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IUIElement3, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement3>::remove_DragStarting>;
- [[nodiscard]] DragStarting_revoker DragStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::DragStartingEventArgs> 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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::DropCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto DragStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::DragStartingEventArgs> const& handler) const;
+ auto DragStarting(winrt::event_token const& token) const noexcept;
+ auto DropCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::DropCompletedEventArgs> const& handler) const;
using DropCompleted_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IUIElement3, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement3>::remove_DropCompleted>;
- [[nodiscard]] DropCompleted_revoker DropCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::DropCompletedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) DropCompleted(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation>) StartDragAsync(winrt::Windows::UI::Input::PointerPoint const& pointerPoint) const;
+ [[nodiscard]] auto DropCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::DropCompletedEventArgs> 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<winrt::Windows::UI::Xaml::IUIElement3>
{
@@ -5242,36 +5236,36 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::ContextRequestedEventArgs> 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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::ContextRequestedEventArgs> const& handler) const;
using ContextRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IUIElement4, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement4>::remove_ContextRequested>;
- [[nodiscard]] ContextRequested_revoker ContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::ContextRequestedEventArgs> 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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::RoutedEventArgs> const& handler) const;
+ [[nodiscard]] auto ContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::ContextRequestedEventArgs> const& handler) const;
+ auto ContextRequested(winrt::event_token const& token) const noexcept;
+ auto ContextCanceled(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::RoutedEventArgs> const& handler) const;
using ContextCanceled_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IUIElement4, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement4>::remove_ContextCanceled>;
- [[nodiscard]] ContextCanceled_revoker ContextCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::RoutedEventArgs> 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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto ContextCanceled(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::RoutedEventArgs> const& handler) const;
+ auto ContextCanceled(winrt::event_token const& token) const noexcept;
+ auto AccessKeyDisplayRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs> const& handler) const;
using AccessKeyDisplayRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IUIElement4, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement4>::remove_AccessKeyDisplayRequested>;
- [[nodiscard]] AccessKeyDisplayRequested_revoker AccessKeyDisplayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs> 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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs> const& handler) const;
+ [[nodiscard]] auto AccessKeyDisplayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs> const& handler) const;
+ auto AccessKeyDisplayRequested(winrt::event_token const& token) const noexcept;
+ auto AccessKeyDisplayDismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs> const& handler) const;
using AccessKeyDisplayDismissed_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IUIElement4, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement4>::remove_AccessKeyDisplayDismissed>;
- [[nodiscard]] AccessKeyDisplayDismissed_revoker AccessKeyDisplayDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs> 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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs> const& handler) const;
+ [[nodiscard]] auto AccessKeyDisplayDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs> const& handler) const;
+ auto AccessKeyDisplayDismissed(winrt::event_token const& token) const noexcept;
+ auto AccessKeyInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs> const& handler) const;
using AccessKeyInvoked_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IUIElement4, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement4>::remove_AccessKeyInvoked>;
- [[nodiscard]] AccessKeyInvoked_revoker AccessKeyInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs> 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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs> const& handler) const;
+ auto AccessKeyInvoked(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::IUIElement4>
{
@@ -5280,41 +5274,41 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IUIElement5
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Media::XamlLight>) 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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> 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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> const& handler) const;
using GettingFocus_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IUIElement5, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement5>::remove_GettingFocus>;
- [[nodiscard]] GettingFocus_revoker GettingFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> 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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> const& handler) const;
+ [[nodiscard]] auto GettingFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> const& handler) const;
+ auto GettingFocus(winrt::event_token const& token) const noexcept;
+ auto LosingFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> const& handler) const;
using LosingFocus_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IUIElement5, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement5>::remove_LosingFocus>;
- [[nodiscard]] LosingFocus_revoker LosingFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> 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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::NoFocusCandidateFoundEventArgs> const& handler) const;
+ [[nodiscard]] auto LosingFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> const& handler) const;
+ auto LosingFocus(winrt::event_token const& token) const noexcept;
+ auto NoFocusCandidateFound(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::NoFocusCandidateFoundEventArgs> const& handler) const;
using NoFocusCandidateFound_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IUIElement5, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement5>::remove_NoFocusCandidateFound>;
- [[nodiscard]] NoFocusCandidateFound_revoker NoFocusCandidateFound(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::NoFocusCandidateFoundEventArgs> 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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::NoFocusCandidateFoundEventArgs> 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<winrt::Windows::UI::Xaml::IUIElement5>
{
@@ -5323,24 +5317,24 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IUIElement7
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Input::KeyboardAccelerator>) KeyboardAccelerators() const;
- WINRT_IMPL_AUTO(winrt::event_token) CharacterReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs> const& handler) const;
+ [[nodiscard]] auto KeyboardAccelerators() const;
+ auto CharacterReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs> const& handler) const;
using CharacterReceived_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IUIElement7, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement7>::remove_CharacterReceived>;
- [[nodiscard]] CharacterReceived_revoker CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs> 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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs> const& handler) const;
+ [[nodiscard]] auto CharacterReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::CharacterReceivedRoutedEventArgs> const& handler) const;
+ auto CharacterReceived(winrt::event_token const& token) const noexcept;
+ auto ProcessKeyboardAccelerators(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs> const& handler) const;
using ProcessKeyboardAccelerators_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IUIElement7, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement7>::remove_ProcessKeyboardAccelerators>;
- [[nodiscard]] ProcessKeyboardAccelerators_revoker ProcessKeyboardAccelerators(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs> 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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::Input::ProcessKeyboardAcceleratorEventArgs> 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<winrt::Windows::UI::Xaml::IUIElement7, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement7>::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<winrt::Windows::UI::Xaml::IUIElement7, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement7>::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<winrt::Windows::UI::Xaml::IUIElement7>
{
@@ -5349,16 +5343,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs> 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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs> const& handler) const;
using BringIntoViewRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IUIElement8, &impl::abi_t<winrt::Windows::UI::Xaml::IUIElement8>::remove_BringIntoViewRequested>;
- [[nodiscard]] BringIntoViewRequested_revoker BringIntoViewRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs> 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<winrt::Windows::UI::Xaml::UIElement, winrt::Windows::UI::Xaml::BringIntoViewRequestedEventArgs> const& handler) const;
+ auto BringIntoViewRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::IUIElement8>
{
@@ -5367,30 +5361,30 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IUIElement9>
{
@@ -5407,9 +5401,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::Foundation::Point>>) 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<winrt::Windows::UI::Xaml::IUIElementOverrides>
{
@@ -5418,8 +5412,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IUIElementOverrides7
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::DependencyObject>) 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<winrt::Windows::UI::Xaml::IUIElementOverrides7>
{
@@ -5428,8 +5422,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IUIElementOverrides8>
{
@@ -5438,7 +5432,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IUIElementOverrides9>
{
@@ -5447,46 +5441,46 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IUIElementStatics>
{
@@ -5495,7 +5489,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IUIElementStatics10
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) ShadowProperty() const;
+ [[nodiscard]] auto ShadowProperty() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IUIElementStatics10>
{
@@ -5504,7 +5498,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IUIElementStatics2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CompositeModeProperty() const;
+ [[nodiscard]] auto CompositeModeProperty() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IUIElementStatics2>
{
@@ -5513,9 +5507,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IUIElementStatics3>
{
@@ -5524,11 +5518,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IUIElementStatics4>
{
@@ -5537,17 +5531,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IUIElementStatics5>
{
@@ -5556,9 +5550,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IUIElementStatics6>
{
@@ -5567,9 +5561,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IUIElementStatics7>
{
@@ -5578,12 +5572,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IUIElementStatics8>
{
@@ -5592,7 +5586,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IUIElementStatics9
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) CanBeScrollAnchorProperty() const;
+ [[nodiscard]] auto CanBeScrollAnchorProperty() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IUIElementStatics9>
{
@@ -5609,7 +5603,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IUIElementWeakCollectionFactory>
{
@@ -5618,10 +5612,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IUnhandledExceptionEventArgs>
{
@@ -5630,10 +5624,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IVector3Transition>
{
@@ -5642,7 +5636,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IVector3TransitionFactory>
{
@@ -5651,9 +5645,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IVisualState>
{
@@ -5662,8 +5656,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::StateTriggerBase>) StateTriggers() const;
+ [[nodiscard]] auto Setters() const;
+ [[nodiscard]] auto StateTriggers() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IVisualState2>
{
@@ -5672,12 +5666,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IVisualStateChangedEventArgs>
{
@@ -5686,18 +5680,18 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IVisualStateGroup
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Name() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::VisualTransition>) Transitions() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::VisualState>) 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<winrt::Windows::UI::Xaml::IVisualStateGroup, &impl::abi_t<winrt::Windows::UI::Xaml::IVisualStateGroup>::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<winrt::Windows::UI::Xaml::IVisualStateGroup, &impl::abi_t<winrt::Windows::UI::Xaml::IVisualStateGroup>::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<winrt::Windows::UI::Xaml::IVisualStateGroup>
{
@@ -5714,7 +5708,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IVisualStateManagerFactory>
{
@@ -5723,7 +5717,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IVisualStateManagerOverrides>
{
@@ -5732,8 +5726,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IVisualStateManagerProtected>
{
@@ -5742,11 +5736,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IVisualStateManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::VisualStateGroup>) 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<winrt::Windows::UI::Xaml::IVisualStateManagerStatics>
{
@@ -5755,16 +5749,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IVisualTransition>
{
@@ -5773,7 +5767,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IVisualTransitionFactory>
{
@@ -5782,30 +5776,30 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IWindow, &impl::abi_t<winrt::Windows::UI::Xaml::IWindow>::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<winrt::Windows::UI::Xaml::IWindow, &impl::abi_t<winrt::Windows::UI::Xaml::IWindow>::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<winrt::Windows::UI::Xaml::IWindow, &impl::abi_t<winrt::Windows::UI::Xaml::IWindow>::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<winrt::Windows::UI::Xaml::IWindow, &impl::abi_t<winrt::Windows::UI::Xaml::IWindow>::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<winrt::Windows::UI::Xaml::IWindow>
{
@@ -5814,7 +5808,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::IWindow2>
{
@@ -5823,7 +5817,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IWindow3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::Compositor) Compositor() const;
+ [[nodiscard]] auto Compositor() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IWindow3>
{
@@ -5832,7 +5826,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IWindow4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::UIContext) UIContext() const;
+ [[nodiscard]] auto UIContext() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IWindow4>
{
@@ -5841,7 +5835,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IWindowCreatedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Window) Window() const;
+ [[nodiscard]] auto Window() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IWindowCreatedEventArgs>
{
@@ -5850,7 +5844,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_IWindowStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Window) Current() const;
+ [[nodiscard]] auto Current() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::IWindowStatics>
{
@@ -5859,15 +5853,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::XamlRoot, winrt::Windows::UI::Xaml::XamlRootChangedEventArgs> 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<winrt::Windows::UI::Xaml::XamlRoot, winrt::Windows::UI::Xaml::XamlRootChangedEventArgs> const& handler) const;
using Changed_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::IXamlRoot, &impl::abi_t<winrt::Windows::UI::Xaml::IXamlRoot>::remove_Changed>;
- [[nodiscard]] Changed_revoker Changed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::XamlRoot, winrt::Windows::UI::Xaml::XamlRootChangedEventArgs> 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<winrt::Windows::UI::Xaml::XamlRoot, winrt::Windows::UI::Xaml::XamlRootChangedEventArgs> const& handler) const;
+ auto Changed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::IXamlRoot>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.1.h
index b16fbb3b85b..38252ae87a9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.2.h
index c248eab1bc4..bb61b7c58c4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.2.h
+++ b/chromium/third_party/nearby/src/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<const D*>(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 <typename D>
class IApplicationOverrides2T
@@ -938,7 +937,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IFrameworkElementOverridesT
@@ -947,9 +946,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IFrameworkElementOverrides2T
@@ -958,7 +957,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IUIElementOverridesT
@@ -967,9 +966,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml
D const& shim() const noexcept { return *static_cast<const D*>(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<winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::Foundation::Point>>) 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 <typename D>
class IUIElementOverrides7T
@@ -978,8 +977,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml
D const& shim() const noexcept { return *static_cast<const D*>(this); }
public:
using IUIElementOverrides7 = winrt::Windows::UI::Xaml::IUIElementOverrides7;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::DependencyObject>) 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 <typename D>
class IUIElementOverrides8T
@@ -988,8 +987,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IUIElementOverrides9T
@@ -998,7 +997,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IVisualStateManagerOverridesT
@@ -1007,7 +1006,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml
D const& shim() const noexcept { return *static_cast<const D*>(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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.0.h
index eaaf967ff1b..dedea7d5423 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::UI::Xaml
{
struct DependencyObject;
@@ -1212,11 +1208,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IAnnotationPatternIdentifiersStatics>
{
@@ -1225,10 +1221,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IAutomationAnnotation>
{
@@ -1237,8 +1233,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IAutomationAnnotationFactory>
{
@@ -1247,8 +1243,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IAutomationAnnotationStatics>
{
@@ -1265,29 +1261,29 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics>
{
@@ -1296,7 +1292,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics2>
{
@@ -1305,10 +1301,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics3>
{
@@ -1317,8 +1313,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics4>
{
@@ -1327,12 +1323,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics5>
{
@@ -1341,7 +1337,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics6>
{
@@ -1350,7 +1346,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics7>
{
@@ -1359,7 +1355,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IAutomationElementIdentifiersStatics8>
{
@@ -1376,36 +1372,36 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics>
{
@@ -1414,11 +1410,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::UIElement>) 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<winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics2>
{
@@ -1427,17 +1423,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::AutomationAnnotation>) 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<winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics3>
{
@@ -1446,12 +1442,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics4>
{
@@ -1460,24 +1456,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::DependencyObject>) 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<winrt::Windows::UI::Xaml::DependencyObject>) 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<winrt::Windows::UI::Xaml::DependencyObject>) 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<winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics5>
{
@@ -1486,9 +1482,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics6>
{
@@ -1497,9 +1493,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics7>
{
@@ -1508,9 +1504,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IAutomationPropertiesStatics8>
{
@@ -1535,7 +1531,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IDockPatternIdentifiersStatics>
{
@@ -1552,10 +1548,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IDragPatternIdentifiersStatics>
{
@@ -1572,8 +1568,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IDropTargetPatternIdentifiersStatics>
{
@@ -1590,7 +1586,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IExpandCollapsePatternIdentifiersStatics>
{
@@ -1607,11 +1603,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IGridItemPatternIdentifiersStatics>
{
@@ -1628,8 +1624,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IGridPatternIdentifiersStatics>
{
@@ -1646,8 +1642,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IMultipleViewPatternIdentifiersStatics>
{
@@ -1664,12 +1660,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IRangeValuePatternIdentifiersStatics>
{
@@ -1686,13 +1682,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IScrollPatternIdentifiersStatics>
{
@@ -1709,8 +1705,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::ISelectionItemPatternIdentifiersStatics>
{
@@ -1727,9 +1723,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::ISelectionPatternIdentifiersStatics>
{
@@ -1746,7 +1742,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::ISpreadsheetItemPatternIdentifiersStatics>
{
@@ -1763,13 +1759,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IStylesPatternIdentifiersStatics>
{
@@ -1786,8 +1782,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::ITableItemPatternIdentifiersStatics>
{
@@ -1804,9 +1800,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::ITablePatternIdentifiersStatics>
{
@@ -1823,7 +1819,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::ITogglePatternIdentifiersStatics>
{
@@ -1840,10 +1836,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::ITransformPattern2IdentifiersStatics>
{
@@ -1860,9 +1856,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::ITransformPatternIdentifiersStatics>
{
@@ -1879,8 +1875,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IValuePatternIdentifiersStatics>
{
@@ -1897,12 +1893,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::IWindowPatternIdentifiersStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.1.h
index c606dea51fe..70c74c36179 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.2.h
index 2a7f5f0b9bd..60014ab7afa 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.0.h
index 904d5e3569c..6d29f7d4dc6 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IIterable;
template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::UI::Xaml
{
@@ -2836,7 +2834,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IAppBarAutomationPeerFactory>
{
@@ -2853,7 +2851,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IAppBarButtonAutomationPeerFactory>
{
@@ -2870,7 +2868,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IAppBarToggleButtonAutomationPeerFactory>
{
@@ -2887,7 +2885,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IAutoSuggestBoxAutomationPeerFactory>
{
@@ -2896,39 +2894,39 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) 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<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer>
{
@@ -2945,18 +2943,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) GetControlledPeers() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation>) 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<hstring> 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<hstring> 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<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3>
{
@@ -2965,8 +2963,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer4>
{
@@ -2975,9 +2973,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer5>
{
@@ -2986,7 +2984,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer6
{
- WINRT_IMPL_AUTO(int32_t) GetCulture() const;
+ auto GetCulture() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer6>
{
@@ -2995,7 +2993,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer7>
{
@@ -3004,7 +3002,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer8>
{
@@ -3013,7 +3011,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer9
{
- WINRT_IMPL_AUTO(bool) IsDialog() const;
+ auto IsDialog() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer9>
{
@@ -3022,10 +3020,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotation>
{
@@ -3034,8 +3032,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotationFactory>
{
@@ -3044,8 +3042,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotationStatics>
{
@@ -3054,7 +3052,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerFactory>
{
@@ -3063,33 +3061,33 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) 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<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides>
{
@@ -3098,8 +3096,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides2
{
- WINRT_IMPL_AUTO(void) ShowContextMenuCore() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) GetControlledPeersCore() const;
+ auto ShowContextMenuCore() const;
+ auto GetControlledPeersCore() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2>
{
@@ -3108,13 +3106,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation>) 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<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3>
{
@@ -3123,8 +3121,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4>
{
@@ -3133,12 +3131,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) GetDescribedByCore() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) GetFlowsToCore() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) GetFlowsFromCore() const;
+ auto IsPeripheralCore() const;
+ auto IsDataValidForFormCore() const;
+ auto GetFullDescriptionCore() const;
+ auto GetDescribedByCore() const;
+ auto GetFlowsToCore() const;
+ auto GetFlowsFromCore() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5>
{
@@ -3147,7 +3145,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides6
{
- WINRT_IMPL_AUTO(int32_t) GetCultureCore() const;
+ auto GetCultureCore() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6>
{
@@ -3156,7 +3154,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8>
{
@@ -3165,7 +3163,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides9
{
- WINRT_IMPL_AUTO(bool) IsDialogCore() const;
+ auto IsDialogCore() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9>
{
@@ -3174,8 +3172,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerProtected>
{
@@ -3184,7 +3182,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerStatics>
{
@@ -3193,7 +3191,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerStatics3>
{
@@ -3210,7 +3208,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IButtonAutomationPeerFactory>
{
@@ -3227,7 +3225,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IButtonBaseAutomationPeerFactory>
{
@@ -3244,7 +3242,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::ICalendarDatePickerAutomationPeerFactory>
{
@@ -3261,7 +3259,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::ICaptureElementAutomationPeerFactory>
{
@@ -3278,7 +3276,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::ICheckBoxAutomationPeerFactory>
{
@@ -3295,7 +3293,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IColorPickerSliderAutomationPeerFactory>
{
@@ -3312,7 +3310,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IColorSpectrumAutomationPeerFactory>
{
@@ -3329,7 +3327,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IComboBoxAutomationPeerFactory>
{
@@ -3346,7 +3344,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IComboBoxItemAutomationPeerFactory>
{
@@ -3363,7 +3361,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IComboBoxItemDataAutomationPeerFactory>
{
@@ -3380,7 +3378,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IDatePickerAutomationPeerFactory>
{
@@ -3405,7 +3403,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IFlipViewAutomationPeerFactory>
{
@@ -3422,7 +3420,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IFlipViewItemAutomationPeerFactory>
{
@@ -3439,7 +3437,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IFlipViewItemDataAutomationPeerFactory>
{
@@ -3456,7 +3454,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IFlyoutPresenterAutomationPeerFactory>
{
@@ -3465,7 +3463,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IFrameworkElementAutomationPeer>
{
@@ -3474,7 +3472,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IFrameworkElementAutomationPeerFactory>
{
@@ -3483,8 +3481,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IFrameworkElementAutomationPeerStatics>
{
@@ -3501,7 +3499,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IGridViewAutomationPeerFactory>
{
@@ -3518,7 +3516,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IGridViewHeaderItemAutomationPeerFactory>
{
@@ -3535,7 +3533,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IGridViewItemAutomationPeerFactory>
{
@@ -3552,7 +3550,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IGridViewItemDataAutomationPeerFactory>
{
@@ -3569,7 +3567,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IGroupItemAutomationPeerFactory>
{
@@ -3586,7 +3584,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IHubAutomationPeerFactory>
{
@@ -3603,7 +3601,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IHubSectionAutomationPeerFactory>
{
@@ -3620,7 +3618,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IHyperlinkButtonAutomationPeerFactory>
{
@@ -3637,7 +3635,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IImageAutomationPeerFactory>
{
@@ -3654,8 +3652,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IItemAutomationPeer>
{
@@ -3664,7 +3662,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IItemAutomationPeerFactory>
{
@@ -3681,7 +3679,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeer2>
{
@@ -3690,7 +3688,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerFactory>
{
@@ -3699,7 +3697,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverrides2>
{
@@ -3716,7 +3714,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IListBoxAutomationPeerFactory>
{
@@ -3733,7 +3731,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IListBoxItemAutomationPeerFactory>
{
@@ -3750,7 +3748,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IListBoxItemDataAutomationPeerFactory>
{
@@ -3775,7 +3773,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IListViewAutomationPeerFactory>
{
@@ -3792,7 +3790,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IListViewBaseAutomationPeerFactory>
{
@@ -3809,7 +3807,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IListViewBaseHeaderItemAutomationPeerFactory>
{
@@ -3826,7 +3824,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IListViewHeaderItemAutomationPeerFactory>
{
@@ -3843,7 +3841,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IListViewItemAutomationPeerFactory>
{
@@ -3860,7 +3858,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IListViewItemDataAutomationPeerFactory>
{
@@ -3909,7 +3907,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IMediaElementAutomationPeerFactory>
{
@@ -3926,7 +3924,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IMediaPlayerElementAutomationPeerFactory>
{
@@ -3943,7 +3941,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IMediaTransportControlsAutomationPeerFactory>
{
@@ -3960,7 +3958,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IMenuBarAutomationPeerFactory>
{
@@ -3977,7 +3975,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IMenuBarItemAutomationPeerFactory>
{
@@ -3994,7 +3992,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IMenuFlyoutItemAutomationPeerFactory>
{
@@ -4011,7 +4009,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IMenuFlyoutPresenterAutomationPeerFactory>
{
@@ -4028,7 +4026,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::INavigationViewItemAutomationPeerFactory>
{
@@ -4045,7 +4043,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IPasswordBoxAutomationPeerFactory>
{
@@ -4062,7 +4060,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IPersonPictureAutomationPeerFactory>
{
@@ -4087,7 +4085,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IPivotAutomationPeerFactory>
{
@@ -4104,7 +4102,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IPivotItemAutomationPeerFactory>
{
@@ -4121,7 +4119,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IPivotItemDataAutomationPeerFactory>
{
@@ -4138,7 +4136,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IProgressBarAutomationPeerFactory>
{
@@ -4155,7 +4153,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IProgressRingAutomationPeerFactory>
{
@@ -4172,7 +4170,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IRadioButtonAutomationPeerFactory>
{
@@ -4189,7 +4187,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IRangeBaseAutomationPeerFactory>
{
@@ -4206,7 +4204,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IRatingControlAutomationPeerFactory>
{
@@ -4223,7 +4221,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IRepeatButtonAutomationPeerFactory>
{
@@ -4240,7 +4238,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IRichEditBoxAutomationPeerFactory>
{
@@ -4257,7 +4255,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IRichTextBlockAutomationPeerFactory>
{
@@ -4274,7 +4272,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IRichTextBlockOverflowAutomationPeerFactory>
{
@@ -4291,7 +4289,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IScrollBarAutomationPeerFactory>
{
@@ -4308,7 +4306,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IScrollViewerAutomationPeerFactory>
{
@@ -4325,7 +4323,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::ISearchBoxAutomationPeerFactory>
{
@@ -4342,7 +4340,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::ISelectorAutomationPeerFactory>
{
@@ -4359,7 +4357,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::ISelectorItemAutomationPeerFactory>
{
@@ -4376,7 +4374,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::ISemanticZoomAutomationPeerFactory>
{
@@ -4393,7 +4391,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::ISettingsFlyoutAutomationPeerFactory>
{
@@ -4410,7 +4408,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::ISliderAutomationPeerFactory>
{
@@ -4427,7 +4425,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::ITextBlockAutomationPeerFactory>
{
@@ -4444,7 +4442,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::ITextBoxAutomationPeerFactory>
{
@@ -4461,7 +4459,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IThumbAutomationPeerFactory>
{
@@ -4478,7 +4476,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::ITimePickerAutomationPeerFactory>
{
@@ -4503,7 +4501,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IToggleButtonAutomationPeerFactory>
{
@@ -4520,7 +4518,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IToggleMenuFlyoutItemAutomationPeerFactory>
{
@@ -4537,7 +4535,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::IToggleSwitchAutomationPeerFactory>
{
@@ -4554,7 +4552,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::ITreeViewItemAutomationPeerFactory>
{
@@ -4571,7 +4569,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Peers::ITreeViewListAutomationPeerFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.1.h
index 3d2d2de9af0..889ce5a8363 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.2.h
index b6cc708e709..6f8d8dfde41 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Peers.2.h
+++ b/chromium/third_party/nearby/src/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<const D*>(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<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) 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 <typename D>
class IAutomationPeerOverrides2T
@@ -798,8 +797,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers
D const& shim() const noexcept { return *static_cast<const D*>(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<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) GetControlledPeersCore() const;
+ auto ShowContextMenuCore() const;
+ auto GetControlledPeersCore() const;
};
template <typename D>
class IAutomationPeerOverrides3T
@@ -808,13 +807,13 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers
D const& shim() const noexcept { return *static_cast<const D*>(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<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation>) 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 <typename D>
class IAutomationPeerOverrides4T
@@ -823,8 +822,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IAutomationPeerOverrides5T
@@ -833,12 +832,12 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers
D const& shim() const noexcept { return *static_cast<const D*>(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<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) GetDescribedByCore() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) GetFlowsToCore() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer>) GetFlowsFromCore() const;
+ auto IsPeripheralCore() const;
+ auto IsDataValidForFormCore() const;
+ auto GetFullDescriptionCore() const;
+ auto GetDescribedByCore() const;
+ auto GetFlowsToCore() const;
+ auto GetFlowsFromCore() const;
};
template <typename D>
class IAutomationPeerOverrides6T
@@ -847,7 +846,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers
D const& shim() const noexcept { return *static_cast<const D*>(this); }
public:
using IAutomationPeerOverrides6 = winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6;
- WINRT_IMPL_AUTO(int32_t) GetCultureCore() const;
+ auto GetCultureCore() const;
};
template <typename D>
class IAutomationPeerOverrides8T
@@ -856,7 +855,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IAutomationPeerOverrides9T
@@ -865,7 +864,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers
D const& shim() const noexcept { return *static_cast<const D*>(this); }
public:
using IAutomationPeerOverrides9 = winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9;
- WINRT_IMPL_AUTO(bool) IsDialogCore() const;
+ auto IsDialogCore() const;
};
template <typename D>
class IItemsControlAutomationPeerOverrides2T
@@ -874,7 +873,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Automation::Peers
D const& shim() const noexcept { return *static_cast<const D*>(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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.0.h
index c9ea3036ac6..0816107563a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::IAnnotationProvider>
{
@@ -552,7 +552,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::ICustomNavigationProvider>
{
@@ -561,8 +561,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::IDockProvider>
{
@@ -571,10 +571,10 @@ namespace winrt::impl
template <typename D>
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<hstring>) DropEffects() const;
- WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>) GetGrabbedItems() const;
+ [[nodiscard]] auto IsGrabbed() const;
+ [[nodiscard]] auto DropEffect() const;
+ [[nodiscard]] auto DropEffects() const;
+ auto GetGrabbedItems() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Automation::Provider::IDragProvider>
{
@@ -583,8 +583,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Automation_Provider_IDropTargetProvider
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DropEffect() const;
- [[nodiscard]] WINRT_IMPL_AUTO(com_array<hstring>) DropEffects() const;
+ [[nodiscard]] auto DropEffect() const;
+ [[nodiscard]] auto DropEffects() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Automation::Provider::IDropTargetProvider>
{
@@ -593,9 +593,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::IExpandCollapseProvider>
{
@@ -604,11 +604,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::IGridItemProvider>
{
@@ -617,9 +617,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::IGridProvider>
{
@@ -636,7 +636,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Automation_Provider_IInvokeProvider
{
- WINRT_IMPL_AUTO(void) Invoke() const;
+ auto Invoke() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Automation::Provider::IInvokeProvider>
{
@@ -645,7 +645,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::IItemContainerProvider>
{
@@ -654,10 +654,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Automation_Provider_IMultipleViewProvider
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) CurrentView() const;
- WINRT_IMPL_AUTO(com_array<int32_t>) 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<winrt::Windows::UI::Xaml::Automation::Provider::IMultipleViewProvider>
{
@@ -666,7 +666,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Automation_Provider_IObjectModelProvider
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetUnderlyingObjectModel() const;
+ auto GetUnderlyingObjectModel() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Automation::Provider::IObjectModelProvider>
{
@@ -675,13 +675,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::IRangeValueProvider>
{
@@ -690,7 +690,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Automation_Provider_IScrollItemProvider
{
- WINRT_IMPL_AUTO(void) ScrollIntoView() const;
+ auto ScrollIntoView() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Automation::Provider::IScrollItemProvider>
{
@@ -699,14 +699,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::IScrollProvider>
{
@@ -715,11 +715,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::ISelectionItemProvider>
{
@@ -728,9 +728,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>) GetSelection() const;
+ [[nodiscard]] auto CanSelectMultiple() const;
+ [[nodiscard]] auto IsSelectionRequired() const;
+ auto GetSelection() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Automation::Provider::ISelectionProvider>
{
@@ -739,9 +739,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Automation_Provider_ISpreadsheetItemProvider
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Formula() const;
- WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>) GetAnnotationObjects() const;
- WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::AnnotationType>) GetAnnotationTypes() const;
+ [[nodiscard]] auto Formula() const;
+ auto GetAnnotationObjects() const;
+ auto GetAnnotationTypes() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Automation::Provider::ISpreadsheetItemProvider>
{
@@ -750,7 +750,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::ISpreadsheetProvider>
{
@@ -759,13 +759,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::IStylesProvider>
{
@@ -774,8 +774,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::ISynchronizedInputProvider>
{
@@ -784,8 +784,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Automation_Provider_ITableItemProvider
{
- WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>) GetColumnHeaderItems() const;
- WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>) GetRowHeaderItems() const;
+ auto GetColumnHeaderItems() const;
+ auto GetRowHeaderItems() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Automation::Provider::ITableItemProvider>
{
@@ -794,9 +794,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>) GetColumnHeaders() const;
- WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>) GetRowHeaders() const;
+ [[nodiscard]] auto RowOrColumnMajor() const;
+ auto GetColumnHeaders() const;
+ auto GetRowHeaders() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Automation::Provider::ITableProvider>
{
@@ -805,8 +805,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::ITextChildProvider>
{
@@ -815,8 +815,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::ITextEditProvider>
{
@@ -825,12 +825,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider>) GetSelection() const;
- WINRT_IMPL_AUTO(com_array<winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider>) 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<winrt::Windows::UI::Xaml::Automation::Provider::ITextProvider>
{
@@ -839,8 +839,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::ITextProvider2>
{
@@ -849,24 +849,24 @@ namespace winrt::impl
template <typename D>
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<double>& 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<winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple>) 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<double>& 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<winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider>
{
@@ -875,7 +875,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Automation_Provider_ITextRangeProvider2
{
- WINRT_IMPL_AUTO(void) ShowContextMenu() const;
+ auto ShowContextMenu() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Automation::Provider::ITextRangeProvider2>
{
@@ -884,8 +884,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::IToggleProvider>
{
@@ -894,12 +894,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider>
{
@@ -908,12 +908,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::ITransformProvider2>
{
@@ -922,9 +922,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::IValueProvider>
{
@@ -933,7 +933,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Automation_Provider_IVirtualizedItemProvider
{
- WINRT_IMPL_AUTO(void) Realize() const;
+ auto Realize() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Automation::Provider::IVirtualizedItemProvider>
{
@@ -942,15 +942,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Automation::Provider::IWindowProvider>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.1.h
index 49a2bab64d1..660168ac1f8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.2.h
index e815ed15a80..4278cc376bb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Provider.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.0.h
index 38707b6079d..7b2708cf451 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.0.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.1.h
index d644892f9f6..0a348f39013 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.2.h
index 78a49947ff7..039285c1dee 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Automation.Text.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.0.h
index 2b6ccc910d1..26d5ee32c3d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
struct IAsyncAction;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
struct Point;
struct Rect;
@@ -36,7 +35,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
template <typename T> struct __declspec(empty_bases) IIterable;
template <typename T> struct __declspec(empty_bases) IObservableVector;
struct IPropertySet;
- template <typename T> struct __declspec(empty_bases) IVectorView;
template <typename T> 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 <typename D>
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<winrt::Windows::UI::Xaml::UIElement>) AnchorCandidates() const;
+ [[nodiscard]] auto Anchor() const;
+ auto Anchor(winrt::Windows::UI::Xaml::UIElement const& value) const;
+ [[nodiscard]] auto AnchorCandidates() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IAnchorRequestedEventArgs>
{
@@ -14910,18 +14905,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Opened_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IAppBar, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IAppBar>::remove_Opened>;
- [[nodiscard]] Opened_revoker Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Opened(winrt::event_token const& token) const noexcept;
+ auto Closed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IAppBar, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IAppBar>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Closed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IAppBar>
{
@@ -14930,8 +14925,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBar2>
{
@@ -14940,15 +14935,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto TemplateSettings() const;
+ auto Opening(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Opening_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IAppBar3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IAppBar3>::remove_Opening>;
- [[nodiscard]] Opening_revoker Opening(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Opening(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Opening(winrt::event_token const& token) const noexcept;
+ auto Closing(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Closing_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IAppBar3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IAppBar3>::remove_Closing>;
- [[nodiscard]] Closing_revoker Closing(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Closing(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IAppBar3>
{
@@ -14957,8 +14952,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBar4>
{
@@ -14967,10 +14962,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarButton>
{
@@ -14979,8 +14974,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarButton3>
{
@@ -14989,8 +14984,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarButton4>
{
@@ -14999,7 +14994,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarButton5>
{
@@ -15008,7 +15003,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarButtonFactory>
{
@@ -15017,9 +15012,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarButtonStatics>
{
@@ -15028,9 +15023,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarButtonStatics3>
{
@@ -15039,7 +15034,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarButtonStatics4>
{
@@ -15056,7 +15051,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarElementContainerFactory>
{
@@ -15065,9 +15060,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarElementContainerStatics>
{
@@ -15076,7 +15071,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarFactory>
{
@@ -15085,8 +15080,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarOverrides>
{
@@ -15095,8 +15090,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarOverrides3>
{
@@ -15113,7 +15108,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarSeparatorFactory>
{
@@ -15122,7 +15117,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarSeparatorStatics>
{
@@ -15131,8 +15126,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarSeparatorStatics3>
{
@@ -15141,8 +15136,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarStatics>
{
@@ -15151,7 +15146,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarStatics2>
{
@@ -15160,7 +15155,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarStatics4>
{
@@ -15169,10 +15164,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarToggleButton>
{
@@ -15181,8 +15176,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarToggleButton3>
{
@@ -15191,8 +15186,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarToggleButton4>
{
@@ -15201,7 +15196,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarToggleButton5>
{
@@ -15210,7 +15205,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarToggleButtonFactory>
{
@@ -15219,9 +15214,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarToggleButtonStatics>
{
@@ -15230,9 +15225,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarToggleButtonStatics3>
{
@@ -15241,7 +15236,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAppBarToggleButtonStatics4>
{
@@ -15250,32 +15245,32 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxSuggestionChosenEventArgs> 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<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxSuggestionChosenEventArgs> const& handler) const;
using SuggestionChosen_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox>::remove_SuggestionChosen>;
- [[nodiscard]] SuggestionChosen_revoker SuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxSuggestionChosenEventArgs> 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<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxTextChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto SuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxSuggestionChosenEventArgs> const& handler) const;
+ auto SuggestionChosen(winrt::event_token const& token) const noexcept;
+ auto TextChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxTextChangedEventArgs> const& handler) const;
using TextChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox>::remove_TextChanged>;
- [[nodiscard]] TextChanged_revoker TextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxTextChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxTextChangedEventArgs> const& handler) const;
+ auto TextChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox>
{
@@ -15284,12 +15279,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxQuerySubmittedEventArgs> const& handler) const;
+ [[nodiscard]] auto QueryIcon() const;
+ auto QueryIcon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const;
+ auto QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxQuerySubmittedEventArgs> const& handler) const;
using QuerySubmitted_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox2>::remove_QuerySubmitted>;
- [[nodiscard]] QuerySubmitted_revoker QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxQuerySubmittedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::AutoSuggestBox, winrt::Windows::UI::Xaml::Controls::AutoSuggestBoxQuerySubmittedEventArgs> const& handler) const;
+ auto QuerySubmitted(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox2>
{
@@ -15298,8 +15293,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox3>
{
@@ -15308,8 +15303,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBox4>
{
@@ -15318,8 +15313,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxQuerySubmittedEventArgs>
{
@@ -15328,15 +15323,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxStatics>
{
@@ -15345,7 +15340,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxStatics2>
{
@@ -15354,7 +15349,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxStatics3>
{
@@ -15363,7 +15358,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxStatics4>
{
@@ -15372,7 +15367,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IAutoSuggestBoxSuggestionChosenEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) SelectedItem() const;
+ [[nodiscard]] auto SelectedItem() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxSuggestionChosenEventArgs>
{
@@ -15381,9 +15376,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxTextChangedEventArgs>
{
@@ -15392,7 +15387,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IAutoSuggestBoxTextChangedEventArgsStatics>
{
@@ -15401,8 +15396,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IBackClickEventArgs>
{
@@ -15411,8 +15406,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IBitmapIcon>
{
@@ -15421,8 +15416,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IBitmapIcon2>
{
@@ -15431,7 +15426,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IBitmapIconFactory>
{
@@ -15440,10 +15435,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IBitmapIconSource>
{
@@ -15452,7 +15447,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IBitmapIconSourceFactory>
{
@@ -15461,8 +15456,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IBitmapIconSourceStatics>
{
@@ -15471,7 +15466,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IBitmapIconStatics>
{
@@ -15480,7 +15475,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IBitmapIconStatics2>
{
@@ -15489,20 +15484,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IBorder>
{
@@ -15511,10 +15506,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IBorder2>
{
@@ -15523,12 +15518,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IBorderStatics>
{
@@ -15537,7 +15532,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IBorderStatics2>
{
@@ -15554,7 +15549,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IButtonFactory>
{
@@ -15563,7 +15558,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IButtonStaticsWithFlyout>
{
@@ -15572,8 +15567,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IButtonWithFlyout>
{
@@ -15582,56 +15577,56 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ICalendarDatePicker
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) Date() const;
- WINRT_IMPL_AUTO(void) Date(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker>::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<winrt::Windows::UI::Xaml::Controls::CalendarDatePicker, winrt::Windows::UI::Xaml::Controls::CalendarDatePickerDateChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::CalendarDatePicker, winrt::Windows::UI::Xaml::Controls::CalendarDatePickerDateChangedEventArgs> const& handler) const;
using DateChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker>::remove_DateChanged>;
- [[nodiscard]] DateChanged_revoker DateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarDatePicker, winrt::Windows::UI::Xaml::Controls::CalendarDatePickerDateChangedEventArgs> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto DateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarDatePicker, winrt::Windows::UI::Xaml::Controls::CalendarDatePickerDateChangedEventArgs> const& handler) const;
+ auto DateChanged(winrt::event_token const& token) const noexcept;
+ auto Opened(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Opened_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker>::remove_Opened>;
- [[nodiscard]] Opened_revoker Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Opened(winrt::event_token const& token) const noexcept;
+ auto Closed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker>
{
@@ -15640,8 +15635,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker2>
{
@@ -15650,8 +15645,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICalendarDatePicker3>
{
@@ -15660,8 +15655,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ICalendarDatePickerDateChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) NewDate() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) OldDate() const;
+ [[nodiscard]] auto NewDate() const;
+ [[nodiscard]] auto OldDate() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerDateChangedEventArgs>
{
@@ -15670,7 +15665,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerFactory>
{
@@ -15679,22 +15674,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics>
{
@@ -15703,7 +15698,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics2>
{
@@ -15712,7 +15707,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICalendarDatePickerStatics3>
{
@@ -15721,116 +15716,116 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) 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<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs> const& handler) const;
using CalendarViewDayItemChanging_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ICalendarView, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ICalendarView>::remove_CalendarViewDayItemChanging>;
- [[nodiscard]] CalendarViewDayItemChanging_revoker CalendarViewDayItemChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewSelectedDatesChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto CalendarViewDayItemChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs> const& handler) const;
+ auto CalendarViewDayItemChanging(winrt::event_token const& token) const noexcept;
+ auto SelectedDatesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewSelectedDatesChangedEventArgs> const& handler) const;
using SelectedDatesChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ICalendarView, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ICalendarView>::remove_SelectedDatesChanged>;
- [[nodiscard]] SelectedDatesChanged_revoker SelectedDatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewSelectedDatesChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewSelectedDatesChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ICalendarView>
{
@@ -15839,10 +15834,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Color> const& colors) const;
+ [[nodiscard]] auto IsBlackout() const;
+ auto IsBlackout(bool value) const;
+ [[nodiscard]] auto Date() const;
+ auto SetDensityColors(param::iterable<winrt::Windows::UI::Color> const& colors) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItem>
{
@@ -15851,11 +15846,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs> const& callback) const;
- WINRT_IMPL_AUTO(void) RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs> const& callback) const;
+ [[nodiscard]] auto InRecycleQueue() const;
+ [[nodiscard]] auto Item() const;
+ [[nodiscard]] auto Phase() const;
+ auto RegisterUpdateCallback(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs> const& callback) const;
+ auto RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CalendarView, winrt::Windows::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs> const& callback) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItemChangingEventArgs>
{
@@ -15864,7 +15859,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItemFactory>
{
@@ -15873,8 +15868,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICalendarViewDayItemStatics>
{
@@ -15883,7 +15878,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICalendarViewFactory>
{
@@ -15892,8 +15887,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ICalendarViewSelectedDatesChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::DateTime>) AddedDates() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::DateTime>) RemovedDates() const;
+ [[nodiscard]] auto AddedDates() const;
+ [[nodiscard]] auto RemovedDates() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ICalendarViewSelectedDatesChangedEventArgs>
{
@@ -15902,57 +15897,57 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICalendarViewStatics>
{
@@ -15961,7 +15956,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ICandidateWindowBoundsChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) Bounds() const;
+ [[nodiscard]] auto Bounds() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ICandidateWindowBoundsChangedEventArgs>
{
@@ -15978,7 +15973,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICanvasFactory>
{
@@ -15987,15 +15982,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICanvasStatics>
{
@@ -16004,10 +15999,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICaptureElement>
{
@@ -16016,8 +16011,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICaptureElementStatics>
{
@@ -16034,7 +16029,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICheckBoxFactory>
{
@@ -16043,10 +16038,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IChoosingGroupHeaderContainerEventArgs>
{
@@ -16055,12 +16050,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IChoosingItemContainerEventArgs>
{
@@ -16069,10 +16064,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICleanUpVirtualizedItemEventArgs>
{
@@ -16081,8 +16076,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IColorChangedEventArgs>
{
@@ -16091,48 +16086,48 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Color>) PreviousColor() const;
- WINRT_IMPL_AUTO(void) PreviousColor(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> 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<winrt::Windows::UI::Xaml::Controls::ColorPicker, winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs> 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<winrt::Windows::UI::Color> 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<winrt::Windows::UI::Xaml::Controls::ColorPicker, winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs> const& handler) const;
using ColorChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IColorPicker, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IColorPicker>::remove_ColorChanged>;
- [[nodiscard]] ColorChanged_revoker ColorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ColorPicker, winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ColorPicker, winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs> const& handler) const;
+ auto ColorChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IColorPicker>
{
@@ -16141,7 +16136,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IColorPickerFactory>
{
@@ -16150,25 +16145,25 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IColorPickerStatics>
{
@@ -16177,13 +16172,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IColumnDefinition>
{
@@ -16192,9 +16187,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IColumnDefinitionStatics>
{
@@ -16203,23 +16198,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
using DropDownClosed_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IComboBox, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IComboBox>::remove_DropDownClosed>;
- [[nodiscard]] DropDownClosed_revoker DropDownClosed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto DropDownClosed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto DropDownClosed(winrt::event_token const& token) const noexcept;
+ auto DropDownOpened(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using DropDownOpened_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IComboBox, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IComboBox>::remove_DropDownOpened>;
- [[nodiscard]] DropDownOpened_revoker DropDownOpened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto DropDownOpened(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IComboBox>
{
@@ -16228,12 +16223,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IComboBox2>
{
@@ -16242,10 +16237,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IComboBox3>
{
@@ -16254,8 +16249,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IComboBox4>
{
@@ -16264,8 +16259,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IComboBox5>
{
@@ -16274,17 +16269,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ComboBox, winrt::Windows::UI::Xaml::Controls::ComboBoxTextSubmittedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ComboBox, winrt::Windows::UI::Xaml::Controls::ComboBoxTextSubmittedEventArgs> const& handler) const;
using TextSubmitted_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IComboBox6, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IComboBox6>::remove_TextSubmitted>;
- [[nodiscard]] TextSubmitted_revoker TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ComboBox, winrt::Windows::UI::Xaml::Controls::ComboBoxTextSubmittedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ComboBox, winrt::Windows::UI::Xaml::Controls::ComboBoxTextSubmittedEventArgs> const& handler) const;
+ auto TextSubmitted(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IComboBox6>
{
@@ -16293,7 +16288,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IComboBoxFactory>
{
@@ -16310,7 +16305,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IComboBoxItemFactory>
{
@@ -16319,8 +16314,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IComboBoxOverrides>
{
@@ -16329,8 +16324,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IComboBoxStatics>
{
@@ -16339,9 +16334,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IComboBoxStatics2>
{
@@ -16350,8 +16345,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IComboBoxStatics3>
{
@@ -16360,7 +16355,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IComboBoxStatics4>
{
@@ -16369,7 +16364,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IComboBoxStatics5>
{
@@ -16378,10 +16373,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IComboBoxStatics6>
{
@@ -16390,9 +16385,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IComboBoxTextSubmittedEventArgs>
{
@@ -16401,8 +16396,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ICommandBar
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::Xaml::Controls::ICommandBarElement>) PrimaryCommands() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::Xaml::Controls::ICommandBarElement>) SecondaryCommands() const;
+ [[nodiscard]] auto PrimaryCommands() const;
+ [[nodiscard]] auto SecondaryCommands() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ICommandBar>
{
@@ -16411,9 +16406,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICommandBar2>
{
@@ -16422,16 +16417,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::CommandBar, winrt::Windows::UI::Xaml::Controls::DynamicOverflowItemsChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::CommandBar, winrt::Windows::UI::Xaml::Controls::DynamicOverflowItemsChangingEventArgs> const& handler) const;
using DynamicOverflowItemsChanging_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ICommandBar3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ICommandBar3>::remove_DynamicOverflowItemsChanging>;
- [[nodiscard]] DynamicOverflowItemsChanging_revoker DynamicOverflowItemsChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::CommandBar, winrt::Windows::UI::Xaml::Controls::DynamicOverflowItemsChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::CommandBar, winrt::Windows::UI::Xaml::Controls::DynamicOverflowItemsChangingEventArgs> const& handler) const;
+ auto DynamicOverflowItemsChanging(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ICommandBar3>
{
@@ -16440,8 +16435,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICommandBarElement>
{
@@ -16450,9 +16445,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICommandBarElement2>
{
@@ -16461,7 +16456,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICommandBarFactory>
{
@@ -16470,8 +16465,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ICommandBarFlyout
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::Xaml::Controls::ICommandBarElement>) PrimaryCommands() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::UI::Xaml::Controls::ICommandBarElement>) SecondaryCommands() const;
+ [[nodiscard]] auto PrimaryCommands() const;
+ [[nodiscard]] auto SecondaryCommands() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ICommandBarFlyout>
{
@@ -16480,7 +16475,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICommandBarFlyoutFactory>
{
@@ -16497,7 +16492,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICommandBarOverflowPresenterFactory>
{
@@ -16506,8 +16501,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICommandBarStatics>
{
@@ -16516,7 +16511,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICommandBarStatics2>
{
@@ -16525,9 +16520,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ICommandBarStatics3>
{
@@ -16536,15 +16531,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs> const& callback) const;
- WINRT_IMPL_AUTO(void) RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs> const& callback) const;
+ auto RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs> const& callback) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IContainerContentChangingEventArgs>
{
@@ -16553,14 +16548,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentControl>
{
@@ -16569,7 +16564,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentControl2>
{
@@ -16578,7 +16573,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentControlFactory>
{
@@ -16587,9 +16582,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentControlOverrides>
{
@@ -16598,10 +16593,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentControlStatics>
{
@@ -16610,50 +16605,50 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogClosingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogClosingEventArgs> const& handler) const;
using Closing_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IContentDialog, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IContentDialog>::remove_Closing>;
- [[nodiscard]] Closing_revoker Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogClosingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogClosedEventArgs> const& handler) const;
+ [[nodiscard]] auto Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogClosingEventArgs> const& handler) const;
+ auto Closing(winrt::event_token const& token) const noexcept;
+ auto Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogClosedEventArgs> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IContentDialog, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IContentDialog>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogClosedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogOpenedEventArgs> const& handler) const;
+ [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogClosedEventArgs> const& handler) const;
+ auto Closed(winrt::event_token const& token) const noexcept;
+ auto Opened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogOpenedEventArgs> const& handler) const;
using Opened_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IContentDialog, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IContentDialog>::remove_Opened>;
- [[nodiscard]] Opened_revoker Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogOpenedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> const& handler) const;
+ [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogOpenedEventArgs> const& handler) const;
+ auto Opened(winrt::event_token const& token) const noexcept;
+ auto PrimaryButtonClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> const& handler) const;
using PrimaryButtonClick_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IContentDialog, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IContentDialog>::remove_PrimaryButtonClick>;
- [[nodiscard]] PrimaryButtonClick_revoker PrimaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> const& handler) const;
+ [[nodiscard]] auto PrimaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> const& handler) const;
+ auto PrimaryButtonClick(winrt::event_token const& token) const noexcept;
+ auto SecondaryButtonClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> const& handler) const;
using SecondaryButtonClick_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IContentDialog, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IContentDialog>::remove_SecondaryButtonClick>;
- [[nodiscard]] SecondaryButtonClick_revoker SecondaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ContentDialogResult>) ShowAsync() const;
+ [[nodiscard]] auto SecondaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> const& handler) const;
+ auto SecondaryButtonClick(winrt::event_token const& token) const noexcept;
+ auto Hide() const;
+ auto ShowAsync() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IContentDialog>
{
@@ -16662,24 +16657,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> const& handler) const;
using CloseButtonClick_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IContentDialog2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IContentDialog2>::remove_CloseButtonClick>;
- [[nodiscard]] CloseButtonClick_revoker CloseButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ContentDialog, winrt::Windows::UI::Xaml::Controls::ContentDialogButtonClickEventArgs> const& handler) const;
+ auto CloseButtonClick(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IContentDialog2>
{
@@ -16688,7 +16683,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IContentDialog3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Controls::ContentDialogResult>) ShowAsync(winrt::Windows::UI::Xaml::Controls::ContentDialogPlacement const& placement) const;
+ auto ShowAsync(winrt::Windows::UI::Xaml::Controls::ContentDialogPlacement const& placement) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IContentDialog3>
{
@@ -16697,7 +16692,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IContentDialogButtonClickDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IContentDialogButtonClickDeferral>
{
@@ -16706,9 +16701,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentDialogButtonClickEventArgs>
{
@@ -16717,7 +16712,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentDialogClosedEventArgs>
{
@@ -16726,7 +16721,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IContentDialogClosingDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IContentDialogClosingDeferral>
{
@@ -16735,10 +16730,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentDialogClosingEventArgs>
{
@@ -16747,7 +16742,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentDialogFactory>
{
@@ -16764,17 +16759,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentDialogStatics>
{
@@ -16783,13 +16778,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentDialogStatics2>
{
@@ -16798,9 +16793,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentLinkChangedEventArgs>
{
@@ -16809,28 +16804,28 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentPresenter>
{
@@ -16839,10 +16834,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentPresenter2>
{
@@ -16851,8 +16846,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentPresenter3>
{
@@ -16861,28 +16856,28 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentPresenter4>
{
@@ -16891,10 +16886,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentPresenter5>
{
@@ -16903,7 +16898,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentPresenterFactory>
{
@@ -16912,8 +16907,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentPresenterOverrides>
{
@@ -16922,17 +16917,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics>
{
@@ -16941,8 +16936,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics2>
{
@@ -16951,7 +16946,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics3>
{
@@ -16960,17 +16955,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics4>
{
@@ -16979,7 +16974,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContentPresenterStatics5>
{
@@ -16988,10 +16983,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IContextMenuEventArgs>
{
@@ -17000,49 +16995,49 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IControl, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IControl>::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<winrt::Windows::UI::Xaml::Controls::IControl>
{
@@ -17051,8 +17046,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IControl2>
{
@@ -17061,8 +17056,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IControl3>
{
@@ -17071,31 +17066,31 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Control, winrt::Windows::UI::Xaml::Controls::FocusEngagedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Control, winrt::Windows::UI::Xaml::Controls::FocusEngagedEventArgs> const& handler) const;
using FocusEngaged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IControl4, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IControl4>::remove_FocusEngaged>;
- [[nodiscard]] FocusEngaged_revoker FocusEngaged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Control, winrt::Windows::UI::Xaml::Controls::FocusEngagedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Control, winrt::Windows::UI::Xaml::Controls::FocusDisengagedEventArgs> const& handler) const;
+ [[nodiscard]] auto FocusEngaged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Control, winrt::Windows::UI::Xaml::Controls::FocusEngagedEventArgs> const& handler) const;
+ auto FocusEngaged(winrt::event_token const& token) const noexcept;
+ auto FocusDisengaged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Control, winrt::Windows::UI::Xaml::Controls::FocusDisengagedEventArgs> const& handler) const;
using FocusDisengaged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IControl4, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IControl4>::remove_FocusDisengaged>;
- [[nodiscard]] FocusDisengaged_revoker FocusDisengaged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Control, winrt::Windows::UI::Xaml::Controls::FocusDisengagedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Control, winrt::Windows::UI::Xaml::Controls::FocusDisengagedEventArgs> const& handler) const;
+ auto FocusDisengaged(winrt::event_token const& token) const noexcept;
+ auto RemoveFocusEngagement() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IControl4>
{
@@ -17104,8 +17099,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IControl5>
{
@@ -17114,10 +17109,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IControl7>
{
@@ -17126,7 +17121,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IControlFactory>
{
@@ -17135,31 +17130,31 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IControlOverrides>
{
@@ -17168,9 +17163,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IControlOverrides6>
{
@@ -17179,9 +17174,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IControlProtected>
{
@@ -17190,26 +17185,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IControlStatics>
{
@@ -17218,7 +17213,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IControlStatics2>
{
@@ -17227,10 +17222,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IControlStatics3>
{
@@ -17239,14 +17234,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IControlStatics4>
{
@@ -17255,10 +17250,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IControlStatics5>
{
@@ -17267,8 +17262,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IControlStatics7>
{
@@ -17277,8 +17272,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IControlTemplate>
{
@@ -17287,7 +17282,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDataTemplateSelector>
{
@@ -17296,7 +17291,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDataTemplateSelector2>
{
@@ -17305,7 +17300,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDataTemplateSelectorFactory>
{
@@ -17314,7 +17309,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDataTemplateSelectorOverrides>
{
@@ -17323,7 +17318,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDataTemplateSelectorOverrides2>
{
@@ -17332,8 +17327,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDatePickedEventArgs>
{
@@ -17342,36 +17337,36 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::DatePickerValueChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::DatePickerValueChangedEventArgs> const& handler) const;
using DateChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IDatePicker, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IDatePicker>::remove_DateChanged>;
- [[nodiscard]] DateChanged_revoker DateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::DatePickerValueChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::DatePickerValueChangedEventArgs> const& handler) const;
+ auto DateChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IDatePicker>
{
@@ -17380,8 +17375,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDatePicker2>
{
@@ -17390,12 +17385,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IDatePicker3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) SelectedDate() const;
- WINRT_IMPL_AUTO(void) SelectedDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
- WINRT_IMPL_AUTO(winrt::event_token) SelectedDateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::DatePicker, winrt::Windows::UI::Xaml::Controls::DatePickerSelectedValueChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto SelectedDate() const;
+ auto SelectedDate(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
+ auto SelectedDateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::DatePicker, winrt::Windows::UI::Xaml::Controls::DatePickerSelectedValueChangedEventArgs> const& handler) const;
using SelectedDateChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IDatePicker3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IDatePicker3>::remove_SelectedDateChanged>;
- [[nodiscard]] SelectedDateChanged_revoker SelectedDateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::DatePicker, winrt::Windows::UI::Xaml::Controls::DatePickerSelectedValueChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::DatePicker, winrt::Windows::UI::Xaml::Controls::DatePickerSelectedValueChangedEventArgs> const& handler) const;
+ auto SelectedDateChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IDatePicker3>
{
@@ -17404,7 +17399,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDatePickerFactory>
{
@@ -17413,25 +17408,25 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::DatePickerFlyout, winrt::Windows::UI::Xaml::Controls::DatePickedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::DatePickerFlyout, winrt::Windows::UI::Xaml::Controls::DatePickedEventArgs> const& handler) const;
using DatePicked_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout>::remove_DatePicked>;
- [[nodiscard]] DatePicked_revoker DatePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::DatePickerFlyout, winrt::Windows::UI::Xaml::Controls::DatePickedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) DatePicked(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>>) ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const;
+ [[nodiscard]] auto DatePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::DatePickerFlyout, winrt::Windows::UI::Xaml::Controls::DatePickedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout>
{
@@ -17440,12 +17435,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDatePickerFlyout2>
{
@@ -17454,10 +17449,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutItem>
{
@@ -17466,8 +17461,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutItemStatics>
{
@@ -17484,8 +17479,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutPresenter2>
{
@@ -17494,7 +17489,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutPresenterStatics2>
{
@@ -17503,13 +17498,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutStatics>
{
@@ -17518,9 +17513,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDatePickerFlyoutStatics2>
{
@@ -17529,8 +17524,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IDatePickerSelectedValueChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) OldDate() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) NewDate() const;
+ [[nodiscard]] auto OldDate() const;
+ [[nodiscard]] auto NewDate() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IDatePickerSelectedValueChangedEventArgs>
{
@@ -17539,19 +17534,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDatePickerStatics>
{
@@ -17560,7 +17555,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDatePickerStatics2>
{
@@ -17569,7 +17564,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDatePickerStatics3>
{
@@ -17578,8 +17573,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDatePickerValueChangedEventArgs>
{
@@ -17588,8 +17583,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IDragItemsCompletedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::IInspectable>) Items() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation) DropResult() const;
+ [[nodiscard]] auto Items() const;
+ [[nodiscard]] auto DropResult() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IDragItemsCompletedEventArgs>
{
@@ -17598,10 +17593,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::UI::Xaml::Controls::IDragItemsStartingEventArgs>
{
@@ -17626,7 +17621,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDropDownButtonAutomationPeerFactory>
{
@@ -17635,7 +17630,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDropDownButtonFactory>
{
@@ -17644,7 +17639,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IDynamicOverflowItemsChangingEventArgs>
{
@@ -17661,8 +17656,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFlipView2>
{
@@ -17671,7 +17666,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFlipViewFactory>
{
@@ -17688,7 +17683,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFlipViewItemFactory>
{
@@ -17697,7 +17692,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFlipViewStatics2>
{
@@ -17706,10 +17701,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFlyout>
{
@@ -17718,7 +17713,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFlyoutFactory>
{
@@ -17735,8 +17730,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFlyoutPresenter2>
{
@@ -17745,7 +17740,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFlyoutPresenterFactory>
{
@@ -17754,7 +17749,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFlyoutPresenterStatics2>
{
@@ -17763,8 +17758,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFlyoutStatics>
{
@@ -17789,8 +17784,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFocusEngagedEventArgs2>
{
@@ -17799,16 +17794,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFontIcon>
{
@@ -17817,8 +17812,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFontIcon2>
{
@@ -17827,8 +17822,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFontIcon3>
{
@@ -17837,7 +17832,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFontIconFactory>
{
@@ -17846,20 +17841,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFontIconSource>
{
@@ -17868,7 +17863,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFontIconSourceFactory>
{
@@ -17877,13 +17872,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFontIconSourceStatics>
{
@@ -17892,11 +17887,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFontIconStatics>
{
@@ -17905,7 +17900,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFontIconStatics2>
{
@@ -17914,7 +17909,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFontIconStatics3>
{
@@ -17923,35 +17918,35 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFrame, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IFrame>::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<winrt::Windows::UI::Xaml::Controls::IFrame, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IFrame>::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<winrt::Windows::UI::Xaml::Controls::IFrame, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IFrame>::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<winrt::Windows::UI::Xaml::Controls::IFrame, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IFrame>::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<winrt::Windows::UI::Xaml::Controls::IFrame>
{
@@ -17960,9 +17955,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IFrame2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Navigation::PageStackEntry>) BackStack() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Navigation::PageStackEntry>) 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<winrt::Windows::UI::Xaml::Controls::IFrame2>
{
@@ -17971,7 +17966,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFrame3>
{
@@ -17980,7 +17975,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFrame4>
{
@@ -17989,9 +17984,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFrame5>
{
@@ -18000,7 +17995,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFrameFactory>
{
@@ -18009,12 +18004,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFrameStatics>
{
@@ -18023,8 +18018,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFrameStatics2>
{
@@ -18033,7 +18028,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IFrameStatics5>
{
@@ -18042,8 +18037,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGrid>
{
@@ -18052,14 +18047,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGrid2>
{
@@ -18068,10 +18063,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGrid3>
{
@@ -18080,8 +18075,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGrid4>
{
@@ -18090,7 +18085,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGridFactory>
{
@@ -18099,18 +18094,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGridStatics>
{
@@ -18119,10 +18114,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGridStatics2>
{
@@ -18131,8 +18126,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGridStatics3>
{
@@ -18141,7 +18136,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGridStatics4>
{
@@ -18158,7 +18153,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGridViewFactory>
{
@@ -18175,7 +18170,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGridViewHeaderItemFactory>
{
@@ -18184,7 +18179,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGridViewItem>
{
@@ -18193,7 +18188,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGridViewItemFactory>
{
@@ -18210,7 +18205,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGroupItemFactory>
{
@@ -18219,18 +18214,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGroupStyle>
{
@@ -18239,8 +18234,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGroupStyle2>
{
@@ -18249,7 +18244,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGroupStyleFactory>
{
@@ -18258,7 +18253,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGroupStyleSelector>
{
@@ -18267,7 +18262,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGroupStyleSelectorFactory>
{
@@ -18276,7 +18271,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IGroupStyleSelectorOverrides>
{
@@ -18301,23 +18296,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingPanelOpenedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingPanelOpenedEventArgs> const& handler) const;
using Opened_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IHandwritingView, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IHandwritingView>::remove_Opened>;
- [[nodiscard]] Opened_revoker Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingPanelOpenedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingPanelClosedEventArgs> const& handler) const;
+ [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingPanelOpenedEventArgs> const& handler) const;
+ auto Opened(winrt::event_token const& token) const noexcept;
+ auto Closed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingPanelClosedEventArgs> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IHandwritingView, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IHandwritingView>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingPanelClosedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingPanelClosedEventArgs> const& handler) const;
+ auto Closed(winrt::event_token const& token) const noexcept;
+ auto TryClose() const;
+ auto TryOpen() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IHandwritingView>
{
@@ -18326,22 +18321,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewCandidatesChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewCandidatesChangedEventArgs> const& handler) const;
using CandidatesChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IHandwritingView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IHandwritingView2>::remove_CandidatesChanged>;
- [[nodiscard]] CandidatesChanged_revoker CandidatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewCandidatesChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewTextSubmittedEventArgs> const& handler) const;
+ [[nodiscard]] auto CandidatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewCandidatesChangedEventArgs> const& handler) const;
+ auto CandidatesChanged(winrt::event_token const& token) const noexcept;
+ auto TextSubmitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewTextSubmittedEventArgs> const& handler) const;
using TextSubmitted_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IHandwritingView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IHandwritingView2>::remove_TextSubmitted>;
- [[nodiscard]] TextSubmitted_revoker TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewTextSubmittedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) TextSubmitted(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) 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<winrt::Windows::UI::Xaml::Controls::HandwritingView, winrt::Windows::UI::Xaml::Controls::HandwritingViewTextSubmittedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::IHandwritingView2>
{
@@ -18350,7 +18345,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IHandwritingViewCandidatesChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) CandidatesSessionId() const;
+ [[nodiscard]] auto CandidatesSessionId() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IHandwritingViewCandidatesChangedEventArgs>
{
@@ -18359,7 +18354,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IHandwritingViewFactory>
{
@@ -18368,10 +18363,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics>
{
@@ -18380,8 +18375,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IHandwritingViewStatics2>
{
@@ -18398,26 +18393,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::HubSection>) Sections() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::HubSection>) SectionsInView() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IObservableVector<winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::UI::Xaml::Controls::IHub, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IHub>::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<winrt::Windows::UI::Xaml::Controls::IHub, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IHub>::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<winrt::Windows::UI::Xaml::Controls::IHub>
{
@@ -18426,7 +18421,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IHubFactory>
{
@@ -18435,14 +18430,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IHubSection>
{
@@ -18451,7 +18446,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IHubSectionFactory>
{
@@ -18460,7 +18455,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IHubSectionHeaderClickEventArgs>
{
@@ -18469,10 +18464,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IHubSectionStatics>
{
@@ -18481,13 +18476,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IHubStatics>
{
@@ -18496,8 +18491,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IHyperlinkButton>
{
@@ -18506,7 +18501,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IHyperlinkButtonFactory>
{
@@ -18515,7 +18510,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IHyperlinkButtonStatics>
{
@@ -18524,8 +18519,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IIconElement>
{
@@ -18542,7 +18537,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IIconElementStatics>
{
@@ -18551,8 +18546,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IIconSource>
{
@@ -18561,8 +18556,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IIconSourceElement>
{
@@ -18571,7 +18566,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IIconSourceElementFactory>
{
@@ -18580,7 +18575,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IIconSourceElementStatics>
{
@@ -18597,7 +18592,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IIconSourceStatics>
{
@@ -18606,21 +18601,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IImage, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IImage>::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<winrt::Windows::UI::Xaml::Controls::IImage, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IImage>::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<winrt::Windows::UI::Xaml::Controls::IImage>
{
@@ -18629,7 +18624,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IImage2
{
- WINRT_IMPL_AUTO(winrt::Windows::Media::Casting::CastingSource) GetAsCastingSource() const;
+ auto GetAsCastingSource() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IImage2>
{
@@ -18638,7 +18633,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IImage3
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) GetAlphaMask() const;
+ auto GetAlphaMask() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IImage3>
{
@@ -18647,10 +18642,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IImageStatics>
{
@@ -18659,7 +18654,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkCanvas>
{
@@ -18668,7 +18663,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkCanvasFactory>
{
@@ -18677,34 +18672,34 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ActiveToolChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IInkToolbar, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IInkToolbar>::remove_ActiveToolChanged>;
- [[nodiscard]] ActiveToolChanged_revoker ActiveToolChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto ActiveToolChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ActiveToolChanged(winrt::event_token const& token) const noexcept;
+ auto InkDrawingAttributesChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const;
using InkDrawingAttributesChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IInkToolbar, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IInkToolbar>::remove_InkDrawingAttributesChanged>;
- [[nodiscard]] InkDrawingAttributesChanged_revoker InkDrawingAttributesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto InkDrawingAttributesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto InkDrawingAttributesChanged(winrt::event_token const& token) const noexcept;
+ auto EraseAllClicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const;
using EraseAllClicked_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IInkToolbar, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IInkToolbar>::remove_EraseAllClicked>;
- [[nodiscard]] EraseAllClicked_revoker EraseAllClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto EraseAllClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto EraseAllClicked(winrt::event_token const& token) const noexcept;
+ auto IsRulerButtonCheckedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> const& handler) const;
using IsRulerButtonCheckedChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IInkToolbar, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IInkToolbar>::remove_IsRulerButtonCheckedChanged>;
- [[nodiscard]] IsRulerButtonCheckedChanged_revoker IsRulerButtonCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::IInkToolbar>
{
@@ -18713,17 +18708,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::UI::Xaml::Controls::InkToolbarIsStencilButtonCheckedChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::UI::Xaml::Controls::InkToolbarIsStencilButtonCheckedChangedEventArgs> const& handler) const;
using IsStencilButtonCheckedChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IInkToolbar2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IInkToolbar2>::remove_IsStencilButtonCheckedChanged>;
- [[nodiscard]] IsStencilButtonCheckedChanged_revoker IsStencilButtonCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::UI::Xaml::Controls::InkToolbarIsStencilButtonCheckedChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::InkToolbar, winrt::Windows::UI::Xaml::Controls::InkToolbarIsStencilButtonCheckedChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::IInkToolbar2>
{
@@ -18732,8 +18727,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbar3>
{
@@ -18750,7 +18745,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarBallpointPenButtonFactory>
{
@@ -18759,7 +18754,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomPen>
{
@@ -18768,10 +18763,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomPenButton>
{
@@ -18780,7 +18775,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomPenButtonFactory>
{
@@ -18789,8 +18784,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomPenButtonStatics>
{
@@ -18799,7 +18794,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomPenFactory>
{
@@ -18808,7 +18803,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomPenOverrides>
{
@@ -18825,7 +18820,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomToggleButtonFactory>
{
@@ -18834,8 +18829,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomToolButton>
{
@@ -18844,7 +18839,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomToolButtonFactory>
{
@@ -18853,7 +18848,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarCustomToolButtonStatics>
{
@@ -18870,8 +18865,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarEraserButton2>
{
@@ -18880,7 +18875,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarEraserButtonFactory>
{
@@ -18889,7 +18884,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarEraserButtonStatics2>
{
@@ -18898,7 +18893,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarFactory>
{
@@ -18907,18 +18902,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Checked_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem>::remove_Checked>;
- [[nodiscard]] Checked_revoker Checked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Checked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Checked(winrt::event_token const& token) const noexcept;
+ auto Unchecked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Unchecked_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem>::remove_Unchecked>;
- [[nodiscard]] Unchecked_revoker Unchecked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::InkToolbarFlyoutItem, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Unchecked(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItem>
{
@@ -18927,7 +18922,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItemFactory>
{
@@ -18936,8 +18931,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarFlyoutItemStatics>
{
@@ -18954,7 +18949,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarHighlighterButtonFactory>
{
@@ -18963,8 +18958,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarIsStencilButtonCheckedChangedEventArgs>
{
@@ -18973,9 +18968,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarMenuButton>
{
@@ -18992,7 +18987,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarMenuButtonStatics>
{
@@ -19001,17 +18996,17 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IInkToolbarPenButton
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Media::Brush>) Palette() const;
- WINRT_IMPL_AUTO(void) Palette(param::vector<winrt::Windows::UI::Xaml::Media::Brush> 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<winrt::Windows::UI::Xaml::Media::Brush> 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<winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButton>
{
@@ -19028,12 +19023,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarPenButtonStatics>
{
@@ -19042,7 +19037,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarPenConfigurationControl>
{
@@ -19051,7 +19046,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarPenConfigurationControlFactory>
{
@@ -19060,7 +19055,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarPenConfigurationControlStatics>
{
@@ -19077,7 +19072,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarPencilButtonFactory>
{
@@ -19086,7 +19081,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarRulerButton>
{
@@ -19095,7 +19090,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarRulerButtonFactory>
{
@@ -19104,7 +19099,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarRulerButtonStatics>
{
@@ -19113,12 +19108,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarStatics>
{
@@ -19127,9 +19122,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarStatics2>
{
@@ -19138,7 +19133,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarStatics3>
{
@@ -19147,14 +19142,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButton>
{
@@ -19163,7 +19158,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButtonFactory>
{
@@ -19172,11 +19167,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarStencilButtonStatics>
{
@@ -19185,7 +19180,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarToggleButton>
{
@@ -19202,9 +19197,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarToolButton>
{
@@ -19221,7 +19216,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInkToolbarToolButtonStatics>
{
@@ -19230,7 +19225,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IInsertionPanel>
{
@@ -19247,7 +19242,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IItemClickEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ClickedItem() const;
+ [[nodiscard]] auto ClickedItem() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IItemClickEventArgs>
{
@@ -19256,24 +19251,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator>::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<winrt::Windows::UI::Xaml::Controls::IItemContainerGenerator>
{
@@ -19282,10 +19277,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemContainerMapping>
{
@@ -19294,28 +19289,28 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::GroupStyle>) 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<winrt::Windows::UI::Xaml::Controls::IItemsControl>
{
@@ -19324,7 +19319,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemsControl2>
{
@@ -19333,7 +19328,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemsControl3>
{
@@ -19342,7 +19337,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemsControlFactory>
{
@@ -19351,16 +19346,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemsControlOverrides>
{
@@ -19369,18 +19364,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemsControlStatics>
{
@@ -19397,8 +19392,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IItemsPickedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>) AddedItems() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>) RemovedItems() const;
+ [[nodiscard]] auto AddedItems() const;
+ [[nodiscard]] auto RemovedItems() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IItemsPickedEventArgs>
{
@@ -19407,14 +19402,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemsPresenter>
{
@@ -19423,12 +19418,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemsPresenter2>
{
@@ -19437,10 +19432,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemsPresenterStatics>
{
@@ -19449,9 +19444,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemsPresenterStatics2>
{
@@ -19460,21 +19455,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemsStackPanel>
{
@@ -19483,8 +19478,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemsStackPanel2>
{
@@ -19493,10 +19488,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemsStackPanelStatics>
{
@@ -19505,7 +19500,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemsStackPanelStatics2>
{
@@ -19514,25 +19509,25 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid>
{
@@ -19541,8 +19536,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemsWrapGrid2>
{
@@ -19551,13 +19546,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemsWrapGridStatics>
{
@@ -19566,7 +19561,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IItemsWrapGridStatics2>
{
@@ -19575,11 +19570,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IListBox
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::UI::Xaml::Controls::IListBox>
{
@@ -19588,8 +19583,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListBox2>
{
@@ -19598,7 +19593,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListBoxFactory>
{
@@ -19615,7 +19610,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListBoxItemFactory>
{
@@ -19624,7 +19619,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListBoxStatics>
{
@@ -19633,7 +19628,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListBoxStatics2>
{
@@ -19642,28 +19637,28 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable>) SelectedItems() const;
- WINRT_IMPL_AUTO(winrt::event_token) ItemsPicked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListPickerFlyout, winrt::Windows::UI::Xaml::Controls::ItemsPickedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ListPickerFlyout, winrt::Windows::UI::Xaml::Controls::ItemsPickedEventArgs> const& handler) const;
using ItemsPicked_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IListPickerFlyout, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IListPickerFlyout>::remove_ItemsPicked>;
- [[nodiscard]] ItemsPicked_revoker ItemsPicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListPickerFlyout, winrt::Windows::UI::Xaml::Controls::ItemsPickedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) ItemsPicked(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Foundation::IInspectable>>) ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const;
+ [[nodiscard]] auto ItemsPicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListPickerFlyout, winrt::Windows::UI::Xaml::Controls::ItemsPickedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::IListPickerFlyout>
{
@@ -19680,14 +19675,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListPickerFlyoutStatics>
{
@@ -19704,41 +19699,41 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IListViewBase
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::UI::Xaml::Controls::IListViewBase, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IListViewBase>::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<winrt::Windows::UI::Xaml::Controls::IListViewBase, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IListViewBase>::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<winrt::Windows::UI::Xaml::Data::LoadMoreItemsResult>) 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<winrt::Windows::UI::Xaml::Controls::IListViewBase>
{
@@ -19747,19 +19742,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs> const& handler) const;
+ [[nodiscard]] auto ShowsScrollingPlaceholders() const;
+ auto ShowsScrollingPlaceholders(bool value) const;
+ auto ContainerContentChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs> const& handler) const;
using ContainerContentChanging_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IListViewBase2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IListViewBase2>::remove_ContainerContentChanging>;
- [[nodiscard]] ContainerContentChanging_revoker ContainerContentChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ContainerContentChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::IListViewBase2>
{
@@ -19768,8 +19763,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListViewBase3>
{
@@ -19778,23 +19773,23 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IListViewBase4
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Data::ItemIndexRange>) 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<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::DragItemsCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto SelectedRanges() const;
+ [[nodiscard]] auto IsMultiSelectCheckBoxEnabled() const;
+ auto IsMultiSelectCheckBoxEnabled(bool value) const;
+ auto DragItemsCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::DragItemsCompletedEventArgs> const& handler) const;
using DragItemsCompleted_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IListViewBase4, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IListViewBase4>::remove_DragItemsCompleted>;
- [[nodiscard]] DragItemsCompleted_revoker DragItemsCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::DragItemsCompletedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ChoosingItemContainerEventArgs> const& handler) const;
+ [[nodiscard]] auto DragItemsCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::DragItemsCompletedEventArgs> const& handler) const;
+ auto DragItemsCompleted(winrt::event_token const& token) const noexcept;
+ auto ChoosingItemContainer(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ChoosingItemContainerEventArgs> const& handler) const;
using ChoosingItemContainer_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IListViewBase4, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IListViewBase4>::remove_ChoosingItemContainer>;
- [[nodiscard]] ChoosingItemContainer_revoker ChoosingItemContainer(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ChoosingItemContainerEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ChoosingGroupHeaderContainerEventArgs> const& handler) const;
+ [[nodiscard]] auto ChoosingItemContainer(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ChoosingItemContainerEventArgs> const& handler) const;
+ auto ChoosingItemContainer(winrt::event_token const& token) const noexcept;
+ auto ChoosingGroupHeaderContainer(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ChoosingGroupHeaderContainerEventArgs> const& handler) const;
using ChoosingGroupHeaderContainer_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IListViewBase4, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IListViewBase4>::remove_ChoosingGroupHeaderContainer>;
- [[nodiscard]] ChoosingGroupHeaderContainer_revoker ChoosingGroupHeaderContainer(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ChoosingGroupHeaderContainerEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ListViewBase, winrt::Windows::UI::Xaml::Controls::ChoosingGroupHeaderContainerEventArgs> 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<winrt::Windows::UI::Xaml::Controls::IListViewBase4>
{
@@ -19803,9 +19798,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListViewBase5>
{
@@ -19814,8 +19809,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IListViewBase6
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::UI::Xaml::Controls::IListViewBase6>
{
@@ -19824,7 +19819,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListViewBaseFactory>
{
@@ -19849,20 +19844,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics>
{
@@ -19871,10 +19866,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics2>
{
@@ -19883,7 +19878,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics3>
{
@@ -19892,7 +19887,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics4>
{
@@ -19901,7 +19896,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListViewBaseStatics5>
{
@@ -19910,7 +19905,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListViewFactory>
{
@@ -19927,7 +19922,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListViewHeaderItemFactory>
{
@@ -19936,7 +19931,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListViewItem>
{
@@ -19945,7 +19940,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListViewItemFactory>
{
@@ -19962,8 +19957,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IListViewPersistenceHelperStatics>
{
@@ -19972,106 +19967,106 @@ namespace winrt::impl
template <typename D>
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<int32_t>) AudioStreamIndex() const;
- WINRT_IMPL_AUTO(void) AudioStreamIndex(winrt::Windows::Foundation::IReference<int32_t> 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<int32_t> 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<winrt::Windows::UI::Xaml::Controls::IMediaElement, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IMediaElement>::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<winrt::Windows::UI::Xaml::Controls::IMediaElement, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IMediaElement>::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<winrt::Windows::UI::Xaml::Controls::IMediaElement, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IMediaElement>::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<winrt::Windows::UI::Xaml::Controls::IMediaElement, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IMediaElement>::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<winrt::Windows::UI::Xaml::Controls::IMediaElement, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IMediaElement>::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<winrt::Windows::UI::Xaml::Controls::IMediaElement, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IMediaElement>::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<winrt::Windows::UI::Xaml::Controls::IMediaElement, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IMediaElement>::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<winrt::Windows::UI::Xaml::Controls::IMediaElement, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IMediaElement>::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<winrt::Windows::UI::Xaml::Controls::IMediaElement, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IMediaElement>::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<winrt::Windows::UI::Xaml::Controls::IMediaElement, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IMediaElement>::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<int32_t> 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<int32_t> 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<winrt::Windows::UI::Xaml::Controls::IMediaElement>
{
@@ -20080,15 +20075,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMediaElement2>
{
@@ -20097,14 +20092,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::MediaElement, winrt::Windows::UI::Xaml::Media::PartialMediaFailureDetectedEventArgs> const& handler) const;
+ [[nodiscard]] auto TransportControls() const;
+ auto TransportControls(winrt::Windows::UI::Xaml::Controls::MediaTransportControls const& value) const;
+ auto PartialMediaFailureDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::MediaElement, winrt::Windows::UI::Xaml::Media::PartialMediaFailureDetectedEventArgs> const& handler) const;
using PartialMediaFailureDetected_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IMediaElement3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IMediaElement3>::remove_PartialMediaFailureDetected>;
- [[nodiscard]] PartialMediaFailureDetected_revoker PartialMediaFailureDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::MediaElement, winrt::Windows::UI::Xaml::Media::PartialMediaFailureDetectedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::MediaElement, winrt::Windows::UI::Xaml::Media::PartialMediaFailureDetectedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::IMediaElement3>
{
@@ -20113,39 +20108,39 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMediaElementStatics>
{
@@ -20154,10 +20149,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMediaElementStatics2>
{
@@ -20166,22 +20161,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMediaPlayerElement>
{
@@ -20190,7 +20185,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMediaPlayerElementFactory>
{
@@ -20199,13 +20194,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMediaPlayerElementStatics>
{
@@ -20214,12 +20209,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMediaPlayerPresenter>
{
@@ -20228,7 +20223,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMediaPlayerPresenterFactory>
{
@@ -20237,9 +20232,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMediaPlayerPresenterStatics>
{
@@ -20248,40 +20243,40 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMediaTransportControls>
{
@@ -20290,24 +20285,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::MediaTransportControls, winrt::Windows::UI::Xaml::Media::MediaTransportControlsThumbnailRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::MediaTransportControls, winrt::Windows::UI::Xaml::Media::MediaTransportControlsThumbnailRequestedEventArgs> const& handler) const;
using ThumbnailRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2>::remove_ThumbnailRequested>;
- [[nodiscard]] ThumbnailRequested_revoker ThumbnailRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::MediaTransportControls, winrt::Windows::UI::Xaml::Media::MediaTransportControlsThumbnailRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::MediaTransportControls, winrt::Windows::UI::Xaml::Media::MediaTransportControlsThumbnailRequestedEventArgs> const& handler) const;
+ auto ThumbnailRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IMediaTransportControls2>
{
@@ -20316,14 +20311,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMediaTransportControls3>
{
@@ -20332,10 +20327,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMediaTransportControls4>
{
@@ -20344,7 +20339,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsFactory>
{
@@ -20361,9 +20356,9 @@ namespace winrt::impl
template <typename D>
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<int32_t>) 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<int32_t> 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<int32_t> const& value) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsHelperStatics>
{
@@ -20372,23 +20367,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics>
{
@@ -20397,13 +20392,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics2>
{
@@ -20412,9 +20407,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics3>
{
@@ -20423,8 +20418,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMediaTransportControlsStatics4>
{
@@ -20433,7 +20428,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IMenuBar
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::MenuBarItem>) Items() const;
+ [[nodiscard]] auto Items() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IMenuBar>
{
@@ -20442,7 +20437,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuBarFactory>
{
@@ -20451,9 +20446,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::MenuFlyoutItemBase>) Items() const;
+ [[nodiscard]] auto Title() const;
+ auto Title(param::hstring const& value) const;
+ [[nodiscard]] auto Items() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IMenuBarItem>
{
@@ -20462,7 +20457,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuBarItemFactory>
{
@@ -20479,7 +20474,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuBarItemFlyoutFactory>
{
@@ -20488,8 +20483,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuBarItemStatics>
{
@@ -20498,7 +20493,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuBarStatics>
{
@@ -20507,9 +20502,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IMenuFlyout
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::MenuFlyoutItemBase>) 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<winrt::Windows::UI::Xaml::Controls::IMenuFlyout>
{
@@ -20518,7 +20513,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyout2>
{
@@ -20527,7 +20522,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutFactory>
{
@@ -20536,16 +20531,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem>::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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem>
{
@@ -20554,8 +20549,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem2>
{
@@ -20564,9 +20559,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItem3>
{
@@ -20591,7 +20586,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItemFactory>
{
@@ -20600,9 +20595,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItemStatics>
{
@@ -20611,7 +20606,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItemStatics2>
{
@@ -20620,7 +20615,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutItemStatics3>
{
@@ -20637,7 +20632,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutPresenter2>
{
@@ -20646,8 +20641,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutPresenter3>
{
@@ -20656,7 +20651,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutPresenterFactory>
{
@@ -20665,7 +20660,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutPresenterStatics3>
{
@@ -20682,7 +20677,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutSeparatorFactory>
{
@@ -20691,7 +20686,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutStatics>
{
@@ -20700,9 +20695,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IMenuFlyoutSubItem
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::MenuFlyoutItemBase>) 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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutSubItem>
{
@@ -20711,8 +20706,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutSubItem2>
{
@@ -20721,7 +20716,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutSubItemStatics>
{
@@ -20730,7 +20725,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IMenuFlyoutSubItemStatics2>
{
@@ -20739,7 +20734,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigate>
{
@@ -20748,61 +20743,61 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionChangedEventArgs> const& handler) const;
using SelectionChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::INavigationView, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::INavigationView>::remove_SelectionChanged>;
- [[nodiscard]] SelectionChanged_revoker SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewItemInvokedEventArgs> const& handler) const;
+ [[nodiscard]] auto SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewSelectionChangedEventArgs> const& handler) const;
+ auto SelectionChanged(winrt::event_token const& token) const noexcept;
+ auto ItemInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewItemInvokedEventArgs> const& handler) const;
using ItemInvoked_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::INavigationView, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::INavigationView>::remove_ItemInvoked>;
- [[nodiscard]] ItemInvoked_revoker ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewItemInvokedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayModeChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewItemInvokedEventArgs> const& handler) const;
+ auto ItemInvoked(winrt::event_token const& token) const noexcept;
+ auto DisplayModeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayModeChangedEventArgs> const& handler) const;
using DisplayModeChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::INavigationView, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::INavigationView>::remove_DisplayModeChanged>;
- [[nodiscard]] DisplayModeChanged_revoker DisplayModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayModeChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewDisplayModeChangedEventArgs> const& handler) const;
+ auto DisplayModeChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::INavigationView>
{
@@ -20811,32 +20806,32 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewBackRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewBackRequestedEventArgs> const& handler) const;
using BackRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::INavigationView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::INavigationView2>::remove_BackRequested>;
- [[nodiscard]] BackRequested_revoker BackRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewBackRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto BackRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewBackRequestedEventArgs> const& handler) const;
+ auto BackRequested(winrt::event_token const& token) const noexcept;
+ auto PaneClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const;
using PaneClosed_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::INavigationView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::INavigationView2>::remove_PaneClosed>;
- [[nodiscard]] PaneClosed_revoker PaneClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewPaneClosingEventArgs> const& handler) const;
+ [[nodiscard]] auto PaneClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PaneClosed(winrt::event_token const& token) const noexcept;
+ auto PaneClosing(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewPaneClosingEventArgs> const& handler) const;
using PaneClosing_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::INavigationView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::INavigationView2>::remove_PaneClosing>;
- [[nodiscard]] PaneClosing_revoker PaneClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewPaneClosingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto PaneClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::UI::Xaml::Controls::NavigationViewPaneClosingEventArgs> const& handler) const;
+ auto PaneClosing(winrt::event_token const& token) const noexcept;
+ auto PaneOpened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const;
using PaneOpened_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::INavigationView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::INavigationView2>::remove_PaneOpened>;
- [[nodiscard]] PaneOpened_revoker PaneOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto PaneOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PaneOpened(winrt::event_token const& token) const noexcept;
+ auto PaneOpening(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const;
using PaneOpening_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::INavigationView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::INavigationView2>::remove_PaneOpening>;
- [[nodiscard]] PaneOpening_revoker PaneOpening(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::NavigationView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PaneOpening(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::INavigationView2>
{
@@ -20845,23 +20840,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationView3>
{
@@ -20878,7 +20873,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewDisplayModeChangedEventArgs>
{
@@ -20887,7 +20882,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewFactory>
{
@@ -20896,9 +20891,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewItem>
{
@@ -20907,8 +20902,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewItem2>
{
@@ -20933,7 +20928,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewItemFactory>
{
@@ -20950,7 +20945,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewItemHeaderFactory>
{
@@ -20959,8 +20954,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewItemInvokedEventArgs>
{
@@ -20969,8 +20964,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewItemInvokedEventArgs2>
{
@@ -20987,7 +20982,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewItemSeparatorFactory>
{
@@ -20996,8 +20991,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewItemStatics>
{
@@ -21006,7 +21001,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewItemStatics2>
{
@@ -21023,7 +21018,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewListFactory>
{
@@ -21032,8 +21027,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewPaneClosingEventArgs>
{
@@ -21042,8 +21037,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewSelectionChangedEventArgs>
{
@@ -21052,8 +21047,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewSelectionChangedEventArgs2>
{
@@ -21062,28 +21057,28 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewStatics>
{
@@ -21092,9 +21087,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewStatics2>
{
@@ -21103,15 +21098,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewStatics3>
{
@@ -21120,13 +21115,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettings>
{
@@ -21135,7 +21130,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettingsFactory>
{
@@ -21144,13 +21139,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics>
{
@@ -21159,7 +21154,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_INotifyEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const;
+ [[nodiscard]] auto Value() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::INotifyEventArgs>
{
@@ -21168,7 +21163,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_INotifyEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) CallingUri() const;
+ [[nodiscard]] auto CallingUri() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::INotifyEventArgs2>
{
@@ -21177,13 +21172,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPage>
{
@@ -21192,7 +21187,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPageFactory>
{
@@ -21201,9 +21196,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPageOverrides>
{
@@ -21212,9 +21207,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPageStatics>
{
@@ -21223,12 +21218,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPanel>
{
@@ -21237,8 +21232,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPanel2>
{
@@ -21247,7 +21242,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPanelFactory>
{
@@ -21256,9 +21251,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPanelStatics>
{
@@ -21267,36 +21262,36 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IParallaxView>
{
@@ -21305,7 +21300,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IParallaxViewFactory>
{
@@ -21314,20 +21309,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IParallaxViewStatics>
{
@@ -21336,23 +21331,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPasswordBox, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IPasswordBox>::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<winrt::Windows::UI::Xaml::Controls::IPasswordBox, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IPasswordBox>::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<winrt::Windows::UI::Xaml::Controls::IPasswordBox>
{
@@ -21361,20 +21356,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPasswordBox2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IPasswordBox2>::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<winrt::Windows::UI::Xaml::Controls::IPasswordBox2>
{
@@ -21383,12 +21378,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPasswordBox3>
{
@@ -21397,10 +21392,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IPasswordBox4
{
- WINRT_IMPL_AUTO(winrt::event_token) PasswordChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::PasswordBox, winrt::Windows::UI::Xaml::Controls::PasswordBoxPasswordChangingEventArgs> const& handler) const;
+ auto PasswordChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::PasswordBox, winrt::Windows::UI::Xaml::Controls::PasswordBoxPasswordChangingEventArgs> const& handler) const;
using PasswordChanging_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IPasswordBox4, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IPasswordBox4>::remove_PasswordChanging>;
- [[nodiscard]] PasswordChanging_revoker PasswordChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::PasswordBox, winrt::Windows::UI::Xaml::Controls::PasswordBoxPasswordChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::PasswordBox, winrt::Windows::UI::Xaml::Controls::PasswordBoxPasswordChangingEventArgs> const& handler) const;
+ auto PasswordChanging(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IPasswordBox4>
{
@@ -21409,12 +21404,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPasswordBox5>
{
@@ -21423,7 +21418,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IPasswordBoxPasswordChangingEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsContentChanging() const;
+ [[nodiscard]] auto IsContentChanging() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IPasswordBoxPasswordChangingEventArgs>
{
@@ -21432,10 +21427,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics>
{
@@ -21444,11 +21439,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics2>
{
@@ -21457,9 +21452,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics3>
{
@@ -21468,9 +21463,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPasswordBoxStatics5>
{
@@ -21479,8 +21474,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPathIcon>
{
@@ -21489,7 +21484,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPathIconFactory>
{
@@ -21498,8 +21493,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPathIconSource>
{
@@ -21508,7 +21503,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPathIconSourceFactory>
{
@@ -21517,7 +21512,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPathIconSourceStatics>
{
@@ -21526,7 +21521,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPathIconStatics>
{
@@ -21535,26 +21530,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPersonPicture>
{
@@ -21563,7 +21558,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPersonPictureFactory>
{
@@ -21572,16 +21567,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPersonPictureStatics>
{
@@ -21598,15 +21593,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::PickerFlyout, winrt::Windows::UI::Xaml::Controls::PickerConfirmedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::PickerFlyout, winrt::Windows::UI::Xaml::Controls::PickerConfirmedEventArgs> const& handler) const;
using Confirmed_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IPickerFlyout, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IPickerFlyout>::remove_Confirmed>;
- [[nodiscard]] Confirmed_revoker Confirmed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::PickerFlyout, winrt::Windows::UI::Xaml::Controls::PickerConfirmedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) Confirmed(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const;
+ [[nodiscard]] auto Confirmed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::PickerFlyout, winrt::Windows::UI::Xaml::Controls::PickerConfirmedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::IPickerFlyout>
{
@@ -21623,8 +21618,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPickerFlyoutStatics>
{
@@ -21633,38 +21628,38 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPivot, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IPivot>::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<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const;
using PivotItemLoading_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IPivot, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IPivot>::remove_PivotItemLoading>;
- [[nodiscard]] PivotItemLoading_revoker PivotItemLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const;
+ [[nodiscard]] auto PivotItemLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const;
+ auto PivotItemLoading(winrt::event_token const& token) const noexcept;
+ auto PivotItemLoaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const;
using PivotItemLoaded_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IPivot, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IPivot>::remove_PivotItemLoaded>;
- [[nodiscard]] PivotItemLoaded_revoker PivotItemLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const;
+ [[nodiscard]] auto PivotItemLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const;
+ auto PivotItemLoaded(winrt::event_token const& token) const noexcept;
+ auto PivotItemUnloading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const;
using PivotItemUnloading_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IPivot, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IPivot>::remove_PivotItemUnloading>;
- [[nodiscard]] PivotItemUnloading_revoker PivotItemUnloading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const;
+ [[nodiscard]] auto PivotItemUnloading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const;
+ auto PivotItemUnloading(winrt::event_token const& token) const noexcept;
+ auto PivotItemUnloaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const;
using PivotItemUnloaded_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IPivot, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IPivot>::remove_PivotItemUnloaded>;
- [[nodiscard]] PivotItemUnloaded_revoker PivotItemUnloaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Pivot, winrt::Windows::UI::Xaml::Controls::PivotItemEventArgs> const& handler) const;
+ auto PivotItemUnloaded(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IPivot>
{
@@ -21673,14 +21668,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPivot2>
{
@@ -21689,10 +21684,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPivot3>
{
@@ -21701,7 +21696,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPivotFactory>
{
@@ -21710,8 +21705,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPivotItem>
{
@@ -21720,8 +21715,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPivotItemEventArgs>
{
@@ -21730,7 +21725,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPivotItemFactory>
{
@@ -21739,7 +21734,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPivotItemStatics>
{
@@ -21748,15 +21743,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPivotStatics>
{
@@ -21765,10 +21760,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPivotStatics2>
{
@@ -21777,8 +21772,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IPivotStatics3>
{
@@ -21787,13 +21782,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IProgressBar>
{
@@ -21802,7 +21797,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IProgressBarFactory>
{
@@ -21811,9 +21806,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IProgressBarStatics>
{
@@ -21822,9 +21817,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IProgressRing>
{
@@ -21833,7 +21828,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IProgressRingStatics>
{
@@ -21842,8 +21837,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRadioButton>
{
@@ -21852,7 +21847,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRadioButtonFactory>
{
@@ -21861,7 +21856,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRadioButtonStatics>
{
@@ -21870,26 +21865,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::RatingControl, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::RatingControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ValueChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IRatingControl, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRatingControl>::remove_ValueChanged>;
- [[nodiscard]] ValueChanged_revoker ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RatingControl, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::RatingControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ValueChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IRatingControl>
{
@@ -21898,7 +21893,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRatingControlFactory>
{
@@ -21907,14 +21902,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRatingControlStatics>
{
@@ -21923,18 +21918,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfo>
{
@@ -21943,7 +21938,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfoFactory>
{
@@ -21952,12 +21947,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRatingItemFontInfoStatics>
{
@@ -21966,18 +21961,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfo>
{
@@ -21986,7 +21981,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfoFactory>
{
@@ -21995,12 +21990,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRatingItemImageInfoStatics>
{
@@ -22017,7 +22012,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRatingItemInfoFactory>
{
@@ -22026,15 +22021,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::RefreshContainer, winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RefreshContainer, winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs> const& handler) const;
using RefreshRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IRefreshContainer, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRefreshContainer>::remove_RefreshRequested>;
- [[nodiscard]] RefreshRequested_revoker RefreshRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RefreshContainer, winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RefreshContainer, winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs> const& handler) const;
+ auto RefreshRequested(winrt::event_token const& token) const noexcept;
+ auto RequestRefresh() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IRefreshContainer>
{
@@ -22043,7 +22038,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRefreshContainerFactory>
{
@@ -22052,8 +22047,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRefreshContainerStatics>
{
@@ -22062,7 +22057,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IRefreshInteractionRatioChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(double) InteractionRatio() const;
+ [[nodiscard]] auto InteractionRatio() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IRefreshInteractionRatioChangedEventArgs>
{
@@ -22071,7 +22066,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IRefreshRequestedEventArgs
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Deferral) GetDeferral() const;
+ auto GetDeferral() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IRefreshRequestedEventArgs>
{
@@ -22080,8 +22075,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRefreshStateChangedEventArgs>
{
@@ -22090,20 +22085,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer, winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer, winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs> const& handler) const;
using RefreshRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer>::remove_RefreshRequested>;
- [[nodiscard]] RefreshRequested_revoker RefreshRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer, winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer, winrt::Windows::UI::Xaml::Controls::RefreshStateChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto RefreshRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer, winrt::Windows::UI::Xaml::Controls::RefreshRequestedEventArgs> const& handler) const;
+ auto RefreshRequested(winrt::event_token const& token) const noexcept;
+ auto RefreshStateChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer, winrt::Windows::UI::Xaml::Controls::RefreshStateChangedEventArgs> const& handler) const;
using RefreshStateChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer>::remove_RefreshStateChanged>;
- [[nodiscard]] RefreshStateChanged_revoker RefreshStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer, winrt::Windows::UI::Xaml::Controls::RefreshStateChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RefreshVisualizer, winrt::Windows::UI::Xaml::Controls::RefreshStateChangedEventArgs> const& handler) const;
+ auto RefreshStateChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IRefreshVisualizer>
{
@@ -22112,7 +22107,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRefreshVisualizerFactory>
{
@@ -22121,10 +22116,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRefreshVisualizerStatics>
{
@@ -22133,14 +22128,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRelativePanel>
{
@@ -22149,8 +22144,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRelativePanel2>
{
@@ -22159,7 +22154,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRelativePanelFactory>
{
@@ -22168,58 +22163,58 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics>
{
@@ -22228,7 +22223,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRelativePanelStatics2>
{
@@ -22237,33 +22232,33 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichEditBox, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichEditBox>::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<winrt::Windows::UI::Xaml::Controls::IRichEditBox, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichEditBox>::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<winrt::Windows::UI::Xaml::Controls::IRichEditBox, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichEditBox>::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<winrt::Windows::UI::Xaml::Controls::IRichEditBox>
{
@@ -22272,22 +22267,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichEditBox2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichEditBox2>::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<winrt::Windows::UI::Xaml::Controls::IRichEditBox2>
{
@@ -22296,30 +22291,30 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IRichEditBox3
{
- WINRT_IMPL_AUTO(winrt::event_token) TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs> const& handler) const;
+ auto TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs> const& handler) const;
using TextCompositionStarted_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IRichEditBox3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichEditBox3>::remove_TextCompositionStarted>;
- [[nodiscard]] TextCompositionStarted_revoker TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs> const& handler) const;
+ auto TextCompositionStarted(winrt::event_token const& token) const noexcept;
+ auto TextCompositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs> const& handler) const;
using TextCompositionChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IRichEditBox3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichEditBox3>::remove_TextCompositionChanged>;
- [[nodiscard]] TextCompositionChanged_revoker TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs> const& handler) const;
+ [[nodiscard]] auto TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs> const& handler) const;
+ auto TextCompositionChanged(winrt::event_token const& token) const noexcept;
+ auto TextCompositionEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs> const& handler) const;
using TextCompositionEnded_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IRichEditBox3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichEditBox3>::remove_TextCompositionEnded>;
- [[nodiscard]] TextCompositionEnded_revoker TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs> const& handler) const;
using CandidateWindowBoundsChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IRichEditBox3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichEditBox3>::remove_CandidateWindowBoundsChanged>;
- [[nodiscard]] CandidateWindowBoundsChanged_revoker CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::RichEditBoxTextChangingEventArgs> const& handler) const;
+ [[nodiscard]] auto CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs> const& handler) const;
+ auto CandidateWindowBoundsChanged(winrt::event_token const& token) const noexcept;
+ auto TextChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::RichEditBoxTextChangingEventArgs> const& handler) const;
using TextChanging_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IRichEditBox3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichEditBox3>::remove_TextChanging>;
- [[nodiscard]] TextChanging_revoker TextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::RichEditBoxTextChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::RichEditBoxTextChangingEventArgs> const& handler) const;
+ auto TextChanging(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IRichEditBox3>
{
@@ -22328,9 +22323,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IRichEditBox4
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) 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<winrt::Windows::UI::Xaml::Controls::IRichEditBox4>
{
@@ -22339,10 +22334,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichEditBox5>
{
@@ -22351,20 +22346,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs> const& handler) const;
using CopyingToClipboard_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IRichEditBox6, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichEditBox6>::remove_CopyingToClipboard>;
- [[nodiscard]] CopyingToClipboard_revoker CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs> const& handler) const;
+ [[nodiscard]] auto CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs> const& handler) const;
+ auto CopyingToClipboard(winrt::event_token const& token) const noexcept;
+ auto CuttingToClipboard(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs> const& handler) const;
using CuttingToClipboard_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IRichEditBox6, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichEditBox6>::remove_CuttingToClipboard>;
- [[nodiscard]] CuttingToClipboard_revoker CuttingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs> const& handler) const;
+ auto CuttingToClipboard(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IRichEditBox6>
{
@@ -22373,24 +22368,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::ContentLinkChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::ContentLinkChangedEventArgs> const& handler) const;
using ContentLinkChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IRichEditBox7, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichEditBox7>::remove_ContentLinkChanged>;
- [[nodiscard]] ContentLinkChanged_revoker ContentLinkChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::ContentLinkChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs> const& handler) const;
+ [[nodiscard]] auto ContentLinkChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::ContentLinkChangedEventArgs> const& handler) const;
+ auto ContentLinkChanged(winrt::event_token const& token) const noexcept;
+ auto ContentLinkInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs> const& handler) const;
using ContentLinkInvoked_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IRichEditBox7, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichEditBox7>::remove_ContentLinkInvoked>;
- [[nodiscard]] ContentLinkInvoked_revoker ContentLinkInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs> const& handler) const;
+ auto ContentLinkInvoked(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IRichEditBox7>
{
@@ -22399,16 +22394,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::RichEditBoxSelectionChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::RichEditBoxSelectionChangingEventArgs> const& handler) const;
using SelectionChanging_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IRichEditBox8, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichEditBox8>::remove_SelectionChanging>;
- [[nodiscard]] SelectionChanging_revoker SelectionChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::RichEditBoxSelectionChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RichEditBox, winrt::Windows::UI::Xaml::Controls::RichEditBoxSelectionChangingEventArgs> const& handler) const;
+ auto SelectionChanging(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IRichEditBox8>
{
@@ -22417,7 +22412,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichEditBoxFactory>
{
@@ -22426,10 +22421,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichEditBoxSelectionChangingEventArgs>
{
@@ -22438,13 +22433,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics>
{
@@ -22453,12 +22448,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics2>
{
@@ -22467,8 +22462,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics3>
{
@@ -22477,7 +22472,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics4>
{
@@ -22486,8 +22481,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics5>
{
@@ -22496,9 +22491,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics6>
{
@@ -22507,11 +22502,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics7>
{
@@ -22520,9 +22515,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichEditBoxStatics8>
{
@@ -22539,7 +22534,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IRichEditBoxTextChangingEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsContentChanging() const;
+ [[nodiscard]] auto IsContentChanging() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IRichEditBoxTextChangingEventArgs2>
{
@@ -22548,58 +22543,58 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichTextBlock, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichTextBlock>::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<winrt::Windows::UI::Xaml::Controls::IRichTextBlock, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichTextBlock>::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<winrt::Windows::UI::Xaml::Controls::IRichTextBlock>
{
@@ -22608,18 +22603,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichTextBlock2>
{
@@ -22628,8 +22623,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichTextBlock3>
{
@@ -22638,8 +22633,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichTextBlock4>
{
@@ -22648,14 +22643,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::TextHighlighter>) TextHighlighters() const;
- WINRT_IMPL_AUTO(winrt::event_token) IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichTextBlock, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RichTextBlock, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> const& handler) const;
using IsTextTrimmedChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IRichTextBlock5, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichTextBlock5>::remove_IsTextTrimmedChanged>;
- [[nodiscard]] IsTextTrimmedChanged_revoker IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichTextBlock, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RichTextBlock, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> const& handler) const;
+ auto IsTextTrimmedChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IRichTextBlock5>
{
@@ -22664,9 +22659,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichTextBlock6>
{
@@ -22675,17 +22670,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow>
{
@@ -22694,8 +22689,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow2>
{
@@ -22704,11 +22699,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto IsTextTrimmed() const;
+ auto IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> const& handler) const;
using IsTextTrimmedChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow3>::remove_IsTextTrimmedChanged>;
- [[nodiscard]] IsTextTrimmedChanged_revoker IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::RichTextBlockOverflow, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> const& handler) const;
+ auto IsTextTrimmedChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflow3>
{
@@ -22717,9 +22712,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflowStatics>
{
@@ -22728,7 +22723,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflowStatics2>
{
@@ -22737,7 +22732,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichTextBlockOverflowStatics3>
{
@@ -22746,24 +22741,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics>
{
@@ -22772,12 +22767,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics2>
{
@@ -22786,7 +22781,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics3>
{
@@ -22795,7 +22790,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics4>
{
@@ -22804,8 +22799,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics5>
{
@@ -22814,7 +22809,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRichTextBlockStatics6>
{
@@ -22823,13 +22818,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRowDefinition>
{
@@ -22838,9 +22833,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IRowDefinitionStatics>
{
@@ -22849,9 +22844,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IScrollAnchorProvider>
{
@@ -22860,33 +22855,33 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter>
{
@@ -22895,10 +22890,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IScrollContentPresenter2>
{
@@ -22907,8 +22902,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IScrollContentPresenterStatics2>
{
@@ -22917,68 +22912,68 @@ namespace winrt::impl
template <typename D>
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<float>) ZoomSnapPoints() const;
- WINRT_IMPL_AUTO(winrt::event_token) ViewChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangedEventArgs> const& handler) const;
using ViewChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IScrollViewer, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IScrollViewer>::remove_ViewChanged>;
- [[nodiscard]] ViewChanged_revoker ViewChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::IScrollViewer>
{
@@ -22987,18 +22982,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangingEventArgs> const& handler) const;
using ViewChanging_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IScrollViewer2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IScrollViewer2>::remove_ViewChanging>;
- [[nodiscard]] ViewChanging_revoker ViewChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangingEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) ViewChanging(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(bool) ChangeView(winrt::Windows::Foundation::IReference<double> const& horizontalOffset, winrt::Windows::Foundation::IReference<double> const& verticalOffset, winrt::Windows::Foundation::IReference<float> const& zoomFactor) const;
- WINRT_IMPL_AUTO(bool) ChangeView(winrt::Windows::Foundation::IReference<double> const& horizontalOffset, winrt::Windows::Foundation::IReference<double> const& verticalOffset, winrt::Windows::Foundation::IReference<float> const& zoomFactor, bool disableAnimation) const;
+ [[nodiscard]] auto ViewChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::ScrollViewerViewChangingEventArgs> const& handler) const;
+ auto ViewChanging(winrt::event_token const& token) const noexcept;
+ auto ChangeView(winrt::Windows::Foundation::IReference<double> const& horizontalOffset, winrt::Windows::Foundation::IReference<double> const& verticalOffset, winrt::Windows::Foundation::IReference<float> const& zoomFactor) const;
+ auto ChangeView(winrt::Windows::Foundation::IReference<double> const& horizontalOffset, winrt::Windows::Foundation::IReference<double> const& verticalOffset, winrt::Windows::Foundation::IReference<float> const& zoomFactor, bool disableAnimation) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IScrollViewer2>
{
@@ -23007,14 +23002,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IScrollViewer3
{
- WINRT_IMPL_AUTO(winrt::event_token) DirectManipulationStarted(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto DirectManipulationStarted(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using DirectManipulationStarted_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IScrollViewer3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IScrollViewer3>::remove_DirectManipulationStarted>;
- [[nodiscard]] DirectManipulationStarted_revoker DirectManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto DirectManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto DirectManipulationStarted(winrt::event_token const& token) const noexcept;
+ auto DirectManipulationCompleted(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using DirectManipulationCompleted_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IScrollViewer3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IScrollViewer3>::remove_DirectManipulationCompleted>;
- [[nodiscard]] DirectManipulationCompleted_revoker DirectManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto DirectManipulationCompleted(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IScrollViewer3>
{
@@ -23023,18 +23018,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ScrollViewer, winrt::Windows::UI::Xaml::Controls::AnchorRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ScrollViewer, winrt::Windows::UI::Xaml::Controls::AnchorRequestedEventArgs> const& handler) const;
using AnchorRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IScrollViewer4, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IScrollViewer4>::remove_AnchorRequested>;
- [[nodiscard]] AnchorRequested_revoker AnchorRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ScrollViewer, winrt::Windows::UI::Xaml::Controls::AnchorRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ScrollViewer, winrt::Windows::UI::Xaml::Controls::AnchorRequestedEventArgs> const& handler) const;
+ auto AnchorRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IScrollViewer4>
{
@@ -23043,67 +23038,67 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics>
{
@@ -23112,9 +23107,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics2>
{
@@ -23123,12 +23118,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IScrollViewerStatics4>
{
@@ -23137,9 +23132,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IScrollViewerView>
{
@@ -23148,7 +23143,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IScrollViewerViewChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsIntermediate() const;
+ [[nodiscard]] auto IsIntermediate() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IScrollViewerViewChangedEventArgs>
{
@@ -23157,9 +23152,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IScrollViewerViewChangingEventArgs>
{
@@ -23168,39 +23163,39 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxQueryChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxQueryChangedEventArgs> const& handler) const;
using QueryChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ISearchBox, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ISearchBox>::remove_QueryChanged>;
- [[nodiscard]] QueryChanged_revoker QueryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxQueryChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxSuggestionsRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto QueryChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxQueryChangedEventArgs> const& handler) const;
+ auto QueryChanged(winrt::event_token const& token) const noexcept;
+ auto SuggestionsRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxSuggestionsRequestedEventArgs> const& handler) const;
using SuggestionsRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ISearchBox, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ISearchBox>::remove_SuggestionsRequested>;
- [[nodiscard]] SuggestionsRequested_revoker SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxSuggestionsRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxQuerySubmittedEventArgs> const& handler) const;
+ [[nodiscard]] auto SuggestionsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxSuggestionsRequestedEventArgs> const& handler) const;
+ auto SuggestionsRequested(winrt::event_token const& token) const noexcept;
+ auto QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxQuerySubmittedEventArgs> const& handler) const;
using QuerySubmitted_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ISearchBox, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ISearchBox>::remove_QuerySubmitted>;
- [[nodiscard]] QuerySubmitted_revoker QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxQuerySubmittedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxResultSuggestionChosenEventArgs> const& handler) const;
+ [[nodiscard]] auto QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxQuerySubmittedEventArgs> const& handler) const;
+ auto QuerySubmitted(winrt::event_token const& token) const noexcept;
+ auto ResultSuggestionChosen(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxResultSuggestionChosenEventArgs> const& handler) const;
using ResultSuggestionChosen_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ISearchBox, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ISearchBox>::remove_ResultSuggestionChosen>;
- [[nodiscard]] ResultSuggestionChosen_revoker ResultSuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxResultSuggestionChosenEventArgs> 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<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::RoutedEventArgs> const& handler) const;
+ [[nodiscard]] auto ResultSuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::Controls::SearchBoxResultSuggestionChosenEventArgs> const& handler) const;
+ auto ResultSuggestionChosen(winrt::event_token const& token) const noexcept;
+ auto PrepareForFocusOnKeyboardInput(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::RoutedEventArgs> const& handler) const;
using PrepareForFocusOnKeyboardInput_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ISearchBox, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ISearchBox>::remove_PrepareForFocusOnKeyboardInput>;
- [[nodiscard]] PrepareForFocusOnKeyboardInput_revoker PrepareForFocusOnKeyboardInput(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::RoutedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::SearchBox, winrt::Windows::UI::Xaml::RoutedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ISearchBox>
{
@@ -23209,7 +23204,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISearchBoxFactory>
{
@@ -23218,9 +23213,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISearchBoxQueryChangedEventArgs>
{
@@ -23229,10 +23224,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISearchBoxQuerySubmittedEventArgs>
{
@@ -23241,8 +23236,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISearchBoxResultSuggestionChosenEventArgs>
{
@@ -23251,12 +23246,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISearchBoxStatics>
{
@@ -23265,10 +23260,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISearchBoxSuggestionsRequestedEventArgs>
{
@@ -23277,8 +23272,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ISectionsInViewChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::HubSection>) AddedSections() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::HubSection>) RemovedSections() const;
+ [[nodiscard]] auto AddedSections() const;
+ [[nodiscard]] auto RemovedSections() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ISectionsInViewChangedEventArgs>
{
@@ -23295,8 +23290,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ISelectionChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>) AddedItems() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::IInspectable>) RemovedItems() const;
+ [[nodiscard]] auto AddedItems() const;
+ [[nodiscard]] auto RemovedItems() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ISelectionChangedEventArgs>
{
@@ -23305,7 +23300,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ISelectionChangedEventArgsFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventArgs) CreateInstanceWithRemovedItemsAndAddedItems(param::vector<winrt::Windows::Foundation::IInspectable> const& removedItems, param::vector<winrt::Windows::Foundation::IInspectable> const& addedItems, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const;
+ auto CreateInstanceWithRemovedItemsAndAddedItems(param::vector<winrt::Windows::Foundation::IInspectable> const& removedItems, param::vector<winrt::Windows::Foundation::IInspectable> const& addedItems, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ISelectionChangedEventArgsFactory>
{
@@ -23314,25 +23309,25 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISemanticZoom, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ISemanticZoom>::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<winrt::Windows::UI::Xaml::Controls::ISemanticZoom, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ISemanticZoom>::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<winrt::Windows::UI::Xaml::Controls::ISemanticZoom>
{
@@ -23341,19 +23336,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISemanticZoomInformation>
{
@@ -23362,10 +23357,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISemanticZoomLocation>
{
@@ -23374,11 +23369,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISemanticZoomStatics>
{
@@ -23387,12 +23382,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISemanticZoomViewChangedEventArgs>
{
@@ -23401,22 +23396,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISettingsFlyout, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ISettingsFlyout>::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<winrt::Windows::UI::Xaml::Controls::ISettingsFlyout>
{
@@ -23425,7 +23420,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISettingsFlyoutFactory>
{
@@ -23434,10 +23429,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISettingsFlyoutStatics>
{
@@ -23446,24 +23441,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISlider>
{
@@ -23472,10 +23467,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISlider2>
{
@@ -23484,7 +23479,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISliderFactory>
{
@@ -23493,15 +23488,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISliderStatics>
{
@@ -23510,8 +23505,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISliderStatics2>
{
@@ -23520,16 +23515,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::SplitButton, winrt::Windows::UI::Xaml::Controls::SplitButtonClickEventArgs> 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<winrt::Windows::UI::Xaml::Controls::SplitButton, winrt::Windows::UI::Xaml::Controls::SplitButtonClickEventArgs> const& handler) const;
using Click_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ISplitButton, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ISplitButton>::remove_Click>;
- [[nodiscard]] Click_revoker Click(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitButton, winrt::Windows::UI::Xaml::Controls::SplitButtonClickEventArgs> 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<winrt::Windows::UI::Xaml::Controls::SplitButton, winrt::Windows::UI::Xaml::Controls::SplitButtonClickEventArgs> const& handler) const;
+ auto Click(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ISplitButton>
{
@@ -23546,7 +23541,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISplitButtonAutomationPeerFactory>
{
@@ -23563,7 +23558,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISplitButtonFactory>
{
@@ -23572,9 +23567,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISplitButtonStatics>
{
@@ -23583,31 +23578,31 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::UI::Xaml::Controls::SplitViewPaneClosingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::UI::Xaml::Controls::SplitViewPaneClosingEventArgs> const& handler) const;
using PaneClosing_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ISplitView, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ISplitView>::remove_PaneClosing>;
- [[nodiscard]] PaneClosing_revoker PaneClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::UI::Xaml::Controls::SplitViewPaneClosingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto PaneClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::UI::Xaml::Controls::SplitViewPaneClosingEventArgs> const& handler) const;
+ auto PaneClosing(winrt::event_token const& token) const noexcept;
+ auto PaneClosed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const;
using PaneClosed_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ISplitView, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ISplitView>::remove_PaneClosed>;
- [[nodiscard]] PaneClosed_revoker PaneClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PaneClosed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ISplitView>
{
@@ -23616,8 +23611,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISplitView2>
{
@@ -23626,14 +23621,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ISplitView3
{
- WINRT_IMPL_AUTO(winrt::event_token) PaneOpening(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PaneOpening(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const;
using PaneOpening_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ISplitView3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ISplitView3>::remove_PaneOpening>;
- [[nodiscard]] PaneOpening_revoker PaneOpening(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto PaneOpening(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PaneOpening(winrt::event_token const& token) const noexcept;
+ auto PaneOpened(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const;
using PaneOpened_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ISplitView3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ISplitView3>::remove_PaneOpened>;
- [[nodiscard]] PaneOpened_revoker PaneOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::SplitView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PaneOpened(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ISplitView3>
{
@@ -23642,7 +23637,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISplitViewFactory>
{
@@ -23651,8 +23646,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISplitViewPaneClosingEventArgs>
{
@@ -23661,15 +23656,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISplitViewStatics>
{
@@ -23678,7 +23673,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISplitViewStatics2>
{
@@ -23687,10 +23682,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IStackPanel>
{
@@ -23699,14 +23694,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IStackPanel2>
{
@@ -23715,8 +23710,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IStackPanel4>
{
@@ -23725,8 +23720,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IStackPanel5>
{
@@ -23735,7 +23730,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IStackPanelFactory>
{
@@ -23744,8 +23739,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IStackPanelStatics>
{
@@ -23754,10 +23749,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IStackPanelStatics2>
{
@@ -23766,7 +23761,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IStackPanelStatics4>
{
@@ -23775,7 +23770,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IStackPanelStatics5>
{
@@ -23784,7 +23779,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IStyleSelector>
{
@@ -23793,7 +23788,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IStyleSelectorFactory>
{
@@ -23802,7 +23797,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IStyleSelectorOverrides>
{
@@ -23819,7 +23814,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISwapChainBackgroundPanel2>
{
@@ -23828,7 +23823,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISwapChainBackgroundPanelFactory>
{
@@ -23837,13 +23832,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::SwapChainPanel, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto CompositionScaleX() const;
+ [[nodiscard]] auto CompositionScaleY() const;
+ auto CompositionScaleChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SwapChainPanel, winrt::Windows::Foundation::IInspectable> const& handler) const;
using CompositionScaleChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ISwapChainPanel, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ISwapChainPanel>::remove_CompositionScaleChanged>;
- [[nodiscard]] CompositionScaleChanged_revoker CompositionScaleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SwapChainPanel, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::SwapChainPanel, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::ISwapChainPanel>
{
@@ -23852,7 +23847,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISwapChainPanelFactory>
{
@@ -23861,8 +23856,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISwapChainPanelStatics>
{
@@ -23871,15 +23866,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISwipeControl>
{
@@ -23888,7 +23883,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISwipeControlFactory>
{
@@ -23897,10 +23892,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISwipeControlStatics>
{
@@ -23909,24 +23904,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::SwipeItem, winrt::Windows::UI::Xaml::Controls::SwipeItemInvokedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::SwipeItem, winrt::Windows::UI::Xaml::Controls::SwipeItemInvokedEventArgs> const& handler) const;
using Invoked_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ISwipeItem, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ISwipeItem>::remove_Invoked>;
- [[nodiscard]] Invoked_revoker Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::SwipeItem, winrt::Windows::UI::Xaml::Controls::SwipeItemInvokedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::SwipeItem, winrt::Windows::UI::Xaml::Controls::SwipeItemInvokedEventArgs> const& handler) const;
+ auto Invoked(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ISwipeItem>
{
@@ -23935,7 +23930,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISwipeItemFactory>
{
@@ -23944,7 +23939,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISwipeItemInvokedEventArgs>
{
@@ -23953,13 +23948,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISwipeItemStatics>
{
@@ -23968,8 +23963,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISwipeItems>
{
@@ -23978,7 +23973,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISwipeItemsFactory>
{
@@ -23987,7 +23982,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISwipeItemsStatics>
{
@@ -23996,8 +23991,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISymbolIcon>
{
@@ -24006,7 +24001,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISymbolIconFactory>
{
@@ -24015,8 +24010,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISymbolIconSource>
{
@@ -24025,7 +24020,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISymbolIconSourceFactory>
{
@@ -24034,7 +24029,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISymbolIconSourceStatics>
{
@@ -24043,7 +24038,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ISymbolIconStatics>
{
@@ -24052,54 +24047,54 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBlock, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITextBlock>::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<winrt::Windows::UI::Xaml::Controls::ITextBlock, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITextBlock>::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<winrt::Windows::UI::Xaml::Controls::ITextBlock>
{
@@ -24108,18 +24103,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBlock2>
{
@@ -24128,8 +24123,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBlock3>
{
@@ -24138,7 +24133,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ITextBlock4
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) GetAlphaMask() const;
+ auto GetAlphaMask() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ITextBlock4>
{
@@ -24147,8 +24142,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBlock5>
{
@@ -24157,14 +24152,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::TextHighlighter>) TextHighlighters() const;
- WINRT_IMPL_AUTO(winrt::event_token) IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBlock, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TextBlock, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> const& handler) const;
using IsTextTrimmedChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITextBlock6, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITextBlock6>::remove_IsTextTrimmedChanged>;
- [[nodiscard]] IsTextTrimmedChanged_revoker IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBlock, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TextBlock, winrt::Windows::UI::Xaml::Controls::IsTextTrimmedChangedEventArgs> const& handler) const;
+ auto IsTextTrimmedChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ITextBlock6>
{
@@ -24173,9 +24168,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBlock7>
{
@@ -24184,22 +24179,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBlockStatics>
{
@@ -24208,12 +24203,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBlockStatics2>
{
@@ -24222,7 +24217,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBlockStatics3>
{
@@ -24231,7 +24226,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBlockStatics5>
{
@@ -24240,8 +24235,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBlockStatics6>
{
@@ -24250,7 +24245,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBlockStatics7>
{
@@ -24259,45 +24254,45 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBox, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITextBox>::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<winrt::Windows::UI::Xaml::Controls::ITextBox, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITextBox>::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<winrt::Windows::UI::Xaml::Controls::ITextBox, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITextBox>::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<winrt::Windows::UI::Xaml::Controls::ITextBox>
{
@@ -24306,22 +24301,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBox2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITextBox2>::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<winrt::Windows::UI::Xaml::Controls::ITextBox2>
{
@@ -24330,30 +24325,30 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ITextBox3
{
- WINRT_IMPL_AUTO(winrt::event_token) TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs> const& handler) const;
+ auto TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs> const& handler) const;
using TextCompositionStarted_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITextBox3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITextBox3>::remove_TextCompositionStarted>;
- [[nodiscard]] TextCompositionStarted_revoker TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionStartedEventArgs> const& handler) const;
+ auto TextCompositionStarted(winrt::event_token const& token) const noexcept;
+ auto TextCompositionChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs> const& handler) const;
using TextCompositionChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITextBox3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITextBox3>::remove_TextCompositionChanged>;
- [[nodiscard]] TextCompositionChanged_revoker TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs> const& handler) const;
+ [[nodiscard]] auto TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionChangedEventArgs> const& handler) const;
+ auto TextCompositionChanged(winrt::event_token const& token) const noexcept;
+ auto TextCompositionEnded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs> const& handler) const;
using TextCompositionEnded_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITextBox3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITextBox3>::remove_TextCompositionEnded>;
- [[nodiscard]] TextCompositionEnded_revoker TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextCompositionEndedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs> const& handler) const;
using CandidateWindowBoundsChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITextBox3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITextBox3>::remove_CandidateWindowBoundsChanged>;
- [[nodiscard]] CandidateWindowBoundsChanged_revoker CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxTextChangingEventArgs> const& handler) const;
+ [[nodiscard]] auto CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::CandidateWindowBoundsChangedEventArgs> const& handler) const;
+ auto CandidateWindowBoundsChanged(winrt::event_token const& token) const noexcept;
+ auto TextChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxTextChangingEventArgs> const& handler) const;
using TextChanging_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITextBox3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITextBox3>::remove_TextChanging>;
- [[nodiscard]] TextChanging_revoker TextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxTextChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxTextChangingEventArgs> const& handler) const;
+ auto TextChanging(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ITextBox3>
{
@@ -24362,7 +24357,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ITextBox4
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::Collections::IVectorView<hstring>>) GetLinguisticAlternativesAsync() const;
+ auto GetLinguisticAlternativesAsync() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ITextBox4>
{
@@ -24371,8 +24366,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBox5>
{
@@ -24381,24 +24376,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs> const& handler) const;
using CopyingToClipboard_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITextBox6, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITextBox6>::remove_CopyingToClipboard>;
- [[nodiscard]] CopyingToClipboard_revoker CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs> const& handler) const;
+ [[nodiscard]] auto CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextControlCopyingToClipboardEventArgs> const& handler) const;
+ auto CopyingToClipboard(winrt::event_token const& token) const noexcept;
+ auto CuttingToClipboard(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs> const& handler) const;
using CuttingToClipboard_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITextBox6, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITextBox6>::remove_CuttingToClipboard>;
- [[nodiscard]] CuttingToClipboard_revoker CuttingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxBeforeTextChangingEventArgs> const& handler) const;
+ [[nodiscard]] auto CuttingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextControlCuttingToClipboardEventArgs> const& handler) const;
+ auto CuttingToClipboard(winrt::event_token const& token) const noexcept;
+ auto BeforeTextChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxBeforeTextChangingEventArgs> const& handler) const;
using BeforeTextChanging_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITextBox6, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITextBox6>::remove_BeforeTextChanging>;
- [[nodiscard]] BeforeTextChanging_revoker BeforeTextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxBeforeTextChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxBeforeTextChangingEventArgs> const& handler) const;
+ auto BeforeTextChanging(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ITextBox6>
{
@@ -24407,10 +24402,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBox7>
{
@@ -24419,24 +24414,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxSelectionChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxSelectionChangingEventArgs> const& handler) const;
using SelectionChanging_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITextBox8, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITextBox8>::remove_SelectionChanging>;
- [[nodiscard]] SelectionChanging_revoker SelectionChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxSelectionChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TextBox, winrt::Windows::UI::Xaml::Controls::TextBoxSelectionChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ITextBox8>
{
@@ -24445,9 +24440,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBoxBeforeTextChangingEventArgs>
{
@@ -24456,7 +24451,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBoxFactory>
{
@@ -24465,10 +24460,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBoxSelectionChangingEventArgs>
{
@@ -24477,15 +24472,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBoxStatics>
{
@@ -24494,12 +24489,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBoxStatics2>
{
@@ -24508,8 +24503,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBoxStatics3>
{
@@ -24518,7 +24513,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBoxStatics5>
{
@@ -24527,9 +24522,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBoxStatics6>
{
@@ -24538,8 +24533,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBoxStatics7>
{
@@ -24548,12 +24543,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextBoxStatics8>
{
@@ -24570,7 +24565,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ITextBoxTextChangingEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsContentChanging() const;
+ [[nodiscard]] auto IsContentChanging() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ITextBoxTextChangingEventArgs2>
{
@@ -24595,7 +24590,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextCommandBarFlyoutFactory>
{
@@ -24604,8 +24599,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextCompositionChangedEventArgs>
{
@@ -24614,8 +24609,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextCompositionEndedEventArgs>
{
@@ -24624,8 +24619,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextCompositionStartedEventArgs>
{
@@ -24634,8 +24629,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextControlCopyingToClipboardEventArgs>
{
@@ -24644,8 +24639,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextControlCuttingToClipboardEventArgs>
{
@@ -24654,8 +24649,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITextControlPasteEventArgs>
{
@@ -24664,8 +24659,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITimePickedEventArgs>
{
@@ -24674,20 +24669,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::TimePickerValueChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TimePickerValueChangedEventArgs> const& handler) const;
using TimeChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITimePicker, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITimePicker>::remove_TimeChanged>;
- [[nodiscard]] TimeChanged_revoker TimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Controls::TimePickerValueChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TimePickerValueChangedEventArgs> const& handler) const;
+ auto TimeChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ITimePicker>
{
@@ -24696,8 +24691,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITimePicker2>
{
@@ -24706,12 +24701,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ITimePicker3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) SelectedTime() const;
- WINRT_IMPL_AUTO(void) SelectedTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
- WINRT_IMPL_AUTO(winrt::event_token) SelectedTimeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TimePicker, winrt::Windows::UI::Xaml::Controls::TimePickerSelectedValueChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto SelectedTime() const;
+ auto SelectedTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ auto SelectedTimeChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TimePicker, winrt::Windows::UI::Xaml::Controls::TimePickerSelectedValueChangedEventArgs> const& handler) const;
using SelectedTimeChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITimePicker3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITimePicker3>::remove_SelectedTimeChanged>;
- [[nodiscard]] SelectedTimeChanged_revoker SelectedTimeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TimePicker, winrt::Windows::UI::Xaml::Controls::TimePickerSelectedValueChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TimePicker, winrt::Windows::UI::Xaml::Controls::TimePickerSelectedValueChangedEventArgs> const& handler) const;
+ auto SelectedTimeChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ITimePicker3>
{
@@ -24720,7 +24715,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITimePickerFactory>
{
@@ -24729,17 +24724,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::TimePickerFlyout, winrt::Windows::UI::Xaml::Controls::TimePickedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TimePickerFlyout, winrt::Windows::UI::Xaml::Controls::TimePickedEventArgs> const& handler) const;
using TimePicked_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITimePickerFlyout, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITimePickerFlyout>::remove_TimePicked>;
- [[nodiscard]] TimePicked_revoker TimePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TimePickerFlyout, winrt::Windows::UI::Xaml::Controls::TimePickedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) TimePicked(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>>) ShowAtAsync(winrt::Windows::UI::Xaml::FrameworkElement const& target) const;
+ [[nodiscard]] auto TimePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TimePickerFlyout, winrt::Windows::UI::Xaml::Controls::TimePickedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ITimePickerFlyout>
{
@@ -24756,8 +24751,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITimePickerFlyoutPresenter2>
{
@@ -24766,7 +24761,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITimePickerFlyoutPresenterStatics2>
{
@@ -24775,9 +24770,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITimePickerFlyoutStatics>
{
@@ -24786,8 +24781,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ITimePickerSelectedValueChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) OldTime() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) NewTime() const;
+ [[nodiscard]] auto OldTime() const;
+ [[nodiscard]] auto NewTime() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ITimePickerSelectedValueChangedEventArgs>
{
@@ -24796,11 +24791,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITimePickerStatics>
{
@@ -24809,7 +24804,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITimePickerStatics2>
{
@@ -24818,7 +24813,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITimePickerStatics3>
{
@@ -24827,8 +24822,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITimePickerValueChangedEventArgs>
{
@@ -24837,8 +24832,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IToggleMenuFlyoutItem>
{
@@ -24847,7 +24842,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IToggleMenuFlyoutItemFactory>
{
@@ -24856,7 +24851,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IToggleMenuFlyoutItemStatics>
{
@@ -24865,12 +24860,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ToggleSplitButton, winrt::Windows::UI::Xaml::Controls::ToggleSplitButtonIsCheckedChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto IsChecked() const;
+ auto IsChecked(bool value) const;
+ auto IsCheckedChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ToggleSplitButton, winrt::Windows::UI::Xaml::Controls::ToggleSplitButtonIsCheckedChangedEventArgs> const& handler) const;
using IsCheckedChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IToggleSplitButton, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IToggleSplitButton>::remove_IsCheckedChanged>;
- [[nodiscard]] IsCheckedChanged_revoker IsCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::ToggleSplitButton, winrt::Windows::UI::Xaml::Controls::ToggleSplitButtonIsCheckedChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::ToggleSplitButton, winrt::Windows::UI::Xaml::Controls::ToggleSplitButtonIsCheckedChangedEventArgs> const& handler) const;
+ auto IsCheckedChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IToggleSplitButton>
{
@@ -24887,7 +24882,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IToggleSplitButtonAutomationPeerFactory>
{
@@ -24896,7 +24891,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IToggleSplitButtonFactory>
{
@@ -24913,25 +24908,25 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IToggleSwitch, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IToggleSwitch>::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<winrt::Windows::UI::Xaml::Controls::IToggleSwitch>
{
@@ -24940,10 +24935,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IToggleSwitchOverrides>
{
@@ -24952,13 +24947,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IToggleSwitchStatics>
{
@@ -24967,25 +24962,25 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IToolTip, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IToolTip>::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<winrt::Windows::UI::Xaml::Controls::IToolTip, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IToolTip>::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<winrt::Windows::UI::Xaml::Controls::IToolTip>
{
@@ -24994,8 +24989,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IToolTip2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect>) PlacementRect() const;
- WINRT_IMPL_AUTO(void) PlacementRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> const& value) const;
+ [[nodiscard]] auto PlacementRect() const;
+ auto PlacementRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> const& value) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IToolTip2>
{
@@ -25004,7 +24999,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IToolTipFactory>
{
@@ -25021,15 +25016,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IToolTipServiceStatics>
{
@@ -25038,11 +25033,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IToolTipStatics>
{
@@ -25051,7 +25046,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IToolTipStatics2>
{
@@ -25060,25 +25055,25 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ITreeView
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::TreeViewNode>) 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<winrt::Windows::UI::Xaml::Controls::TreeViewNode>) 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<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewItemInvokedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewItemInvokedEventArgs> const& handler) const;
using ItemInvoked_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITreeView, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITreeView>::remove_ItemInvoked>;
- [[nodiscard]] ItemInvoked_revoker ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewItemInvokedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewExpandingEventArgs> const& handler) const;
+ [[nodiscard]] auto ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewItemInvokedEventArgs> const& handler) const;
+ auto ItemInvoked(winrt::event_token const& token) const noexcept;
+ auto Expanding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewExpandingEventArgs> const& handler) const;
using Expanding_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITreeView, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITreeView>::remove_Expanding>;
- [[nodiscard]] Expanding_revoker Expanding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewExpandingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewCollapsedEventArgs> const& handler) const;
+ [[nodiscard]] auto Expanding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewExpandingEventArgs> const& handler) const;
+ auto Expanding(winrt::event_token const& token) const noexcept;
+ auto Collapsed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewCollapsedEventArgs> const& handler) const;
using Collapsed_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITreeView, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITreeView>::remove_Collapsed>;
- [[nodiscard]] Collapsed_revoker Collapsed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewCollapsedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewCollapsedEventArgs> const& handler) const;
+ auto Collapsed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ITreeView>
{
@@ -25087,34 +25082,34 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsStartingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsStartingEventArgs> const& handler) const;
using DragItemsStarting_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITreeView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITreeView2>::remove_DragItemsStarting>;
- [[nodiscard]] DragItemsStarting_revoker DragItemsStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsStartingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto DragItemsStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsStartingEventArgs> const& handler) const;
+ auto DragItemsStarting(winrt::event_token const& token) const noexcept;
+ auto DragItemsCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsCompletedEventArgs> const& handler) const;
using DragItemsCompleted_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITreeView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITreeView2>::remove_DragItemsCompleted>;
- [[nodiscard]] DragItemsCompleted_revoker DragItemsCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsCompletedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::TreeView, winrt::Windows::UI::Xaml::Controls::TreeViewDragItemsCompletedEventArgs> const& handler) const;
+ auto DragItemsCompleted(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ITreeView2>
{
@@ -25123,7 +25118,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITreeViewCollapsedEventArgs>
{
@@ -25132,7 +25127,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ITreeViewCollapsedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Item() const;
+ [[nodiscard]] auto Item() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ITreeViewCollapsedEventArgs2>
{
@@ -25141,8 +25136,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable>) Items() const;
+ [[nodiscard]] auto DropResult() const;
+ [[nodiscard]] auto Items() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ITreeViewDragItemsCompletedEventArgs>
{
@@ -25151,10 +25146,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable>) Items() const;
+ [[nodiscard]] auto Cancel() const;
+ auto Cancel(bool value) const;
+ [[nodiscard]] auto Data() const;
+ [[nodiscard]] auto Items() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ITreeViewDragItemsStartingEventArgs>
{
@@ -25163,7 +25158,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITreeViewExpandingEventArgs>
{
@@ -25172,7 +25167,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_ITreeViewExpandingEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Item() const;
+ [[nodiscard]] auto Item() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ITreeViewExpandingEventArgs2>
{
@@ -25181,7 +25176,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITreeViewFactory>
{
@@ -25190,19 +25185,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITreeViewItem>
{
@@ -25211,10 +25206,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITreeViewItem2>
{
@@ -25223,7 +25218,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITreeViewItemFactory>
{
@@ -25232,9 +25227,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITreeViewItemInvokedEventArgs>
{
@@ -25243,13 +25238,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITreeViewItemStatics>
{
@@ -25258,8 +25253,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITreeViewItemStatics2>
{
@@ -25268,10 +25263,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITreeViewItemTemplateSettings>
{
@@ -25280,7 +25275,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITreeViewItemTemplateSettingsFactory>
{
@@ -25289,10 +25284,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITreeViewItemTemplateSettingsStatics>
{
@@ -25309,7 +25304,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITreeViewListFactory>
{
@@ -25318,16 +25313,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::TreeViewNode>) 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<winrt::Windows::UI::Xaml::Controls::ITreeViewNode>
{
@@ -25336,7 +25331,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITreeViewNodeFactory>
{
@@ -25345,10 +25340,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITreeViewNodeStatics>
{
@@ -25357,7 +25352,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITreeViewStatics>
{
@@ -25366,14 +25361,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITreeViewStatics2>
{
@@ -25382,29 +25377,29 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::TwoPaneView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::TwoPaneView, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ModeChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::ITwoPaneView, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::ITwoPaneView>::remove_ModeChanged>;
- [[nodiscard]] ModeChanged_revoker ModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::TwoPaneView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::TwoPaneView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ModeChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::ITwoPaneView>
{
@@ -25413,7 +25408,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITwoPaneViewFactory>
{
@@ -25422,16 +25417,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::ITwoPaneViewStatics>
{
@@ -25440,7 +25435,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IUIElementCollection>
{
@@ -25449,8 +25444,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IUserControl>
{
@@ -25459,7 +25454,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IUserControlFactory>
{
@@ -25468,7 +25463,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IUserControlStatics>
{
@@ -25477,18 +25472,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGrid>
{
@@ -25497,18 +25492,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IVariableSizedWrapGridStatics>
{
@@ -25517,12 +25512,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IViewbox>
{
@@ -25531,8 +25526,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IViewboxStatics>
{
@@ -25541,7 +25536,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IVirtualizingPanel>
{
@@ -25558,9 +25553,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IVirtualizingPanelOverrides>
{
@@ -25569,9 +25564,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IVirtualizingPanelProtected>
{
@@ -25580,14 +25575,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanel, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanel>::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<winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanel>
{
@@ -25596,7 +25591,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanelOverrides>
{
@@ -25605,13 +25600,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IVirtualizingStackPanelStatics>
{
@@ -25620,26 +25615,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::Uri>) AllowedScriptNotifyUris() const;
- WINRT_IMPL_AUTO(void) AllowedScriptNotifyUris(param::vector<winrt::Windows::Foundation::Uri> 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<winrt::Windows::Foundation::Uri> const& value) const;
+ [[nodiscard]] auto DataTransferPackage() const;
+ auto LoadCompleted(winrt::Windows::UI::Xaml::Navigation::LoadCompletedEventHandler const& handler) const;
using LoadCompleted_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView>::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<winrt::Windows::UI::Xaml::Controls::IWebView, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView>::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<winrt::Windows::UI::Xaml::Controls::IWebView, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView>::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<hstring const> 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<hstring const> arguments) const;
+ auto Navigate(winrt::Windows::Foundation::Uri const& source) const;
+ auto NavigateToString(param::hstring const& text) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IWebView>
{
@@ -25648,66 +25643,66 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs> const& handler) const;
+ [[nodiscard]] auto CanGoBack() const;
+ [[nodiscard]] auto CanGoForward() const;
+ [[nodiscard]] auto DocumentTitle() const;
+ auto NavigationStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs> const& handler) const;
using NavigationStarting_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView2>::remove_NavigationStarting>;
- [[nodiscard]] NavigationStarting_revoker NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs> const& handler) const;
+ [[nodiscard]] auto NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs> const& handler) const;
+ auto NavigationStarting(winrt::event_token const& token) const noexcept;
+ auto ContentLoading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs> const& handler) const;
using ContentLoading_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView2>::remove_ContentLoading>;
- [[nodiscard]] ContentLoading_revoker ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs> const& handler) const;
+ [[nodiscard]] auto ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs> const& handler) const;
+ auto ContentLoading(winrt::event_token const& token) const noexcept;
+ auto DOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs> const& handler) const;
using DOMContentLoaded_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView2>::remove_DOMContentLoaded>;
- [[nodiscard]] DOMContentLoaded_revoker DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs> 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<hstring>) InvokeScriptAsync(param::hstring const& scriptName, param::async_iterable<hstring> const& arguments) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::ApplicationModel::DataTransfer::DataPackage>) 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs> 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<hstring> 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs> const& handler) const;
using NavigationCompleted_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView2>::remove_NavigationCompleted>;
- [[nodiscard]] NavigationCompleted_revoker NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs> const& handler) const;
+ [[nodiscard]] auto NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs> const& handler) const;
+ auto NavigationCompleted(winrt::event_token const& token) const noexcept;
+ auto FrameNavigationStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs> const& handler) const;
using FrameNavigationStarting_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView2>::remove_FrameNavigationStarting>;
- [[nodiscard]] FrameNavigationStarting_revoker FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs> const& handler) const;
+ [[nodiscard]] auto FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationStartingEventArgs> const& handler) const;
+ auto FrameNavigationStarting(winrt::event_token const& token) const noexcept;
+ auto FrameContentLoading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs> const& handler) const;
using FrameContentLoading_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView2>::remove_FrameContentLoading>;
- [[nodiscard]] FrameContentLoading_revoker FrameContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs> const& handler) const;
+ [[nodiscard]] auto FrameContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewContentLoadingEventArgs> const& handler) const;
+ auto FrameContentLoading(winrt::event_token const& token) const noexcept;
+ auto FrameDOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs> const& handler) const;
using FrameDOMContentLoaded_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView2>::remove_FrameDOMContentLoaded>;
- [[nodiscard]] FrameDOMContentLoaded_revoker FrameDOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto FrameDOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewDOMContentLoadedEventArgs> const& handler) const;
+ auto FrameDOMContentLoaded(winrt::event_token const& token) const noexcept;
+ auto FrameNavigationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs> const& handler) const;
using FrameNavigationCompleted_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView2>::remove_FrameNavigationCompleted>;
- [[nodiscard]] FrameNavigationCompleted_revoker FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewLongRunningScriptDetectedEventArgs> const& handler) const;
+ [[nodiscard]] auto FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNavigationCompletedEventArgs> const& handler) const;
+ auto FrameNavigationCompleted(winrt::event_token const& token) const noexcept;
+ auto LongRunningScriptDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewLongRunningScriptDetectedEventArgs> const& handler) const;
using LongRunningScriptDetected_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView2>::remove_LongRunningScriptDetected>;
- [[nodiscard]] LongRunningScriptDetected_revoker LongRunningScriptDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewLongRunningScriptDetectedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto LongRunningScriptDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewLongRunningScriptDetectedEventArgs> const& handler) const;
+ auto LongRunningScriptDetected(winrt::event_token const& token) const noexcept;
+ auto UnsafeContentWarningDisplaying(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::Foundation::IInspectable> const& handler) const;
using UnsafeContentWarningDisplaying_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView2>::remove_UnsafeContentWarningDisplaying>;
- [[nodiscard]] UnsafeContentWarningDisplaying_revoker UnsafeContentWarningDisplaying(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewUnviewableContentIdentifiedEventArgs> const& handler) const;
+ [[nodiscard]] auto UnsafeContentWarningDisplaying(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto UnsafeContentWarningDisplaying(winrt::event_token const& token) const noexcept;
+ auto UnviewableContentIdentified(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewUnviewableContentIdentifiedEventArgs> const& handler) const;
using UnviewableContentIdentified_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView2>::remove_UnviewableContentIdentified>;
- [[nodiscard]] UnviewableContentIdentified_revoker UnviewableContentIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewUnviewableContentIdentifiedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewUnviewableContentIdentifiedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::IWebView2>
{
@@ -25716,11 +25711,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto ContainsFullScreenElement() const;
+ auto ContainsFullScreenElementChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ContainsFullScreenElementChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView3>::remove_ContainsFullScreenElementChanged>;
- [[nodiscard]] ContainsFullScreenElementChanged_revoker ContainsFullScreenElementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ContainsFullScreenElementChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IWebView3>
{
@@ -25729,23 +25724,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::WebViewDeferredPermissionRequest>) 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewUnsupportedUriSchemeIdentifiedEventArgs> const& handler) const;
+ [[nodiscard]] auto ExecutionMode() const;
+ [[nodiscard]] auto DeferredPermissionRequests() const;
+ [[nodiscard]] auto Settings() const;
+ auto UnsupportedUriSchemeIdentified(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewUnsupportedUriSchemeIdentifiedEventArgs> const& handler) const;
using UnsupportedUriSchemeIdentified_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView4, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView4>::remove_UnsupportedUriSchemeIdentified>;
- [[nodiscard]] UnsupportedUriSchemeIdentified_revoker UnsupportedUriSchemeIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewUnsupportedUriSchemeIdentifiedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNewWindowRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto UnsupportedUriSchemeIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewUnsupportedUriSchemeIdentifiedEventArgs> const& handler) const;
+ auto UnsupportedUriSchemeIdentified(winrt::event_token const& token) const noexcept;
+ auto NewWindowRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNewWindowRequestedEventArgs> const& handler) const;
using NewWindowRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView4, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView4>::remove_NewWindowRequested>;
- [[nodiscard]] NewWindowRequested_revoker NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNewWindowRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewPermissionRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewNewWindowRequestedEventArgs> const& handler) const;
+ auto NewWindowRequested(winrt::event_token const& token) const noexcept;
+ auto PermissionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewPermissionRequestedEventArgs> const& handler) const;
using PermissionRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView4, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView4>::remove_PermissionRequested>;
- [[nodiscard]] PermissionRequested_revoker PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewPermissionRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewPermissionRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::IWebView4>
{
@@ -25754,14 +25749,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebView5>
{
@@ -25770,10 +25765,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IWebView6
{
- WINRT_IMPL_AUTO(winrt::event_token) SeparateProcessLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewSeparateProcessLostEventArgs> const& handler) const;
+ auto SeparateProcessLost(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewSeparateProcessLostEventArgs> const& handler) const;
using SeparateProcessLost_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView6, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView6>::remove_SeparateProcessLost>;
- [[nodiscard]] SeparateProcessLost_revoker SeparateProcessLost(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewSeparateProcessLostEventArgs> 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewSeparateProcessLostEventArgs> const& handler) const;
+ auto SeparateProcessLost(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IWebView6>
{
@@ -25782,10 +25777,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IWebView7
{
- WINRT_IMPL_AUTO(winrt::event_token) WebResourceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewWebResourceRequestedEventArgs> const& handler) const;
+ auto WebResourceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewWebResourceRequestedEventArgs> const& handler) const;
using WebResourceRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::IWebView7, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::IWebView7>::remove_WebResourceRequested>;
- [[nodiscard]] WebResourceRequested_revoker WebResourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewWebResourceRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::WebView, winrt::Windows::UI::Xaml::Controls::WebViewWebResourceRequestedEventArgs> const& handler) const;
+ auto WebResourceRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IWebView7>
{
@@ -25794,10 +25789,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewBrush>
{
@@ -25806,7 +25801,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewBrushStatics>
{
@@ -25815,7 +25810,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IWebViewContentLoadingEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const;
+ [[nodiscard]] auto Uri() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IWebViewContentLoadingEventArgs>
{
@@ -25824,7 +25819,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IWebViewDOMContentLoadedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const;
+ [[nodiscard]] auto Uri() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IWebViewDOMContentLoadedEventArgs>
{
@@ -25833,11 +25828,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewDeferredPermissionRequest>
{
@@ -25846,7 +25841,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewFactory4>
{
@@ -25855,9 +25850,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewLongRunningScriptDetectedEventArgs>
{
@@ -25866,9 +25861,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewNavigationCompletedEventArgs>
{
@@ -25877,8 +25872,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewNavigationFailedEventArgs>
{
@@ -25887,9 +25882,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewNavigationStartingEventArgs>
{
@@ -25898,10 +25893,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewNewWindowRequestedEventArgs>
{
@@ -25910,13 +25905,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewPermissionRequest>
{
@@ -25925,7 +25920,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewPermissionRequestedEventArgs>
{
@@ -25942,10 +25937,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewSettings>
{
@@ -25954,10 +25949,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IWebViewStatics
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Foundation::Uri>) 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<winrt::Windows::UI::Xaml::Controls::IWebViewStatics>
{
@@ -25966,10 +25961,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewStatics2>
{
@@ -25978,7 +25973,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewStatics3>
{
@@ -25987,8 +25982,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewStatics4>
{
@@ -25997,10 +25992,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewStatics5>
{
@@ -26009,9 +26004,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewUnsupportedUriSchemeIdentifiedEventArgs>
{
@@ -26020,8 +26015,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewUnviewableContentIdentifiedEventArgs>
{
@@ -26030,7 +26025,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_IWebViewUnviewableContentIdentifiedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) MediaType() const;
+ [[nodiscard]] auto MediaType() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::IWebViewUnviewableContentIdentifiedEventArgs2>
{
@@ -26039,10 +26034,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWebViewWebResourceRequestedEventArgs>
{
@@ -26051,18 +26046,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWrapGrid>
{
@@ -26071,12 +26066,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::IWrapGridStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.1.h
index 5a6e4b1bfa4..8c4b25e38a3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.2.h
index f4d43e3fc3f..332687f2a66 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.2.h
+++ b/chromium/third_party/nearby/src/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<const D*>(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 <typename D>
class IAppBarOverrides3T
@@ -3365,8 +3364,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IComboBoxOverridesT
@@ -3375,8 +3374,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IContentControlOverridesT
@@ -3385,9 +3384,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IContentPresenterOverridesT
@@ -3396,8 +3395,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IControlOverridesT
@@ -3406,31 +3405,31 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IControlOverrides6T
@@ -3439,9 +3438,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IDataTemplateSelectorOverridesT
@@ -3450,7 +3449,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IDataTemplateSelectorOverrides2T
@@ -3459,7 +3458,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IGroupStyleSelectorOverridesT
@@ -3468,7 +3467,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IInkToolbarCustomPenOverridesT
@@ -3477,7 +3476,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IItemsControlOverridesT
@@ -3486,16 +3485,16 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IPageOverridesT
@@ -3504,9 +3503,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IStyleSelectorOverridesT
@@ -3515,7 +3514,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IToggleSwitchOverridesT
@@ -3524,10 +3523,10 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IVirtualizingPanelOverridesT
@@ -3536,9 +3535,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IVirtualizingStackPanelOverridesT
@@ -3547,7 +3546,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls
D const& shim() const noexcept { return *static_cast<const D*>(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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.0.h
index d2f87e8d658..f520ae6b5c7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename T> struct __declspec(empty_bases) IReference;
struct Point;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
@@ -22,9 +21,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename K, typename V> struct __declspec(empty_bases) IMapView;
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
- template <typename T> struct __declspec(empty_bases) IVectorView;
template <typename T> 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 <typename D>
struct consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource
{
- WINRT_IMPL_AUTO(winrt::event_token) BitmapRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::CustomMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequestedEventArgs> const& handler) const;
+ auto BitmapRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::CustomMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequestedEventArgs> const& handler) const;
using BitmapRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::ICustomMapTileDataSource, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::ICustomMapTileDataSource>::remove_BitmapRequested>;
- [[nodiscard]] BitmapRequested_revoker BitmapRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::CustomMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::CustomMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequestedEventArgs> const& handler) const;
+ auto BitmapRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::ICustomMapTileDataSource>
{
@@ -2138,7 +2130,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::ICustomMapTileDataSourceFactory>
{
@@ -2147,15 +2139,15 @@ namespace winrt::impl
template <typename D>
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<hstring, hstring>) 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<winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestedEventArgs> const& handler) const;
using UriRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource>::remove_UriRequested>;
- [[nodiscard]] UriRequested_revoker UriRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestedEventArgs> const& handler) const;
+ auto UriRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource>
{
@@ -2164,8 +2156,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSourceFactory>
{
@@ -2174,12 +2166,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto UriFormatString() const;
+ auto UriFormatString(param::hstring const& value) const;
+ auto UriRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestedEventArgs> const& handler) const;
using UriRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSource, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSource>::remove_UriRequested>;
- [[nodiscard]] UriRequested_revoker UriRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestedEventArgs> const& handler) const;
+ auto UriRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSource>
{
@@ -2188,8 +2180,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSourceFactory>
{
@@ -2198,7 +2190,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapActualCameraChangedEventArgs>
{
@@ -2207,7 +2199,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapActualCameraChangedEventArgs2>
{
@@ -2216,7 +2208,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapActualCameraChangingEventArgs>
{
@@ -2225,7 +2217,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapActualCameraChangingEventArgs2>
{
@@ -2234,15 +2226,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard>
{
@@ -2251,7 +2243,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboardFactory>
{
@@ -2260,9 +2252,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboardStatics>
{
@@ -2271,16 +2263,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera>
{
@@ -2289,10 +2281,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapCameraFactory>
{
@@ -2301,9 +2293,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>) MapElements() const;
+ [[nodiscard]] auto Position() const;
+ [[nodiscard]] auto Location() const;
+ [[nodiscard]] auto MapElements() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapContextRequestedEventArgs>
{
@@ -2312,83 +2304,83 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::DependencyObject>) 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<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>) MapElements() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::Maps::MapRouteView>) Routes() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource>) TileSources() const;
- WINRT_IMPL_AUTO(winrt::event_token) CenterChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
using CenterChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl>::remove_CenterChanged>;
- [[nodiscard]] CenterChanged_revoker CenterChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto CenterChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto CenterChanged(winrt::event_token const& token) const noexcept;
+ auto HeadingChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
using HeadingChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl>::remove_HeadingChanged>;
- [[nodiscard]] HeadingChanged_revoker HeadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto HeadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto HeadingChanged(winrt::event_token const& token) const noexcept;
+ auto LoadingStatusChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
using LoadingStatusChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl>::remove_LoadingStatusChanged>;
- [[nodiscard]] LoadingStatusChanged_revoker LoadingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const;
+ [[nodiscard]] auto LoadingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto LoadingStatusChanged(winrt::event_token const& token) const noexcept;
+ auto MapDoubleTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const;
using MapDoubleTapped_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl>::remove_MapDoubleTapped>;
- [[nodiscard]] MapDoubleTapped_revoker MapDoubleTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const;
+ [[nodiscard]] auto MapDoubleTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const;
+ auto MapDoubleTapped(winrt::event_token const& token) const noexcept;
+ auto MapHolding(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const;
using MapHolding_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl>::remove_MapHolding>;
- [[nodiscard]] MapHolding_revoker MapHolding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const;
+ [[nodiscard]] auto MapHolding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const;
+ auto MapHolding(winrt::event_token const& token) const noexcept;
+ auto MapTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const;
using MapTapped_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl>::remove_MapTapped>;
- [[nodiscard]] MapTapped_revoker MapTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto MapTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapInputEventArgs> const& handler) const;
+ auto MapTapped(winrt::event_token const& token) const noexcept;
+ auto PitchChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
using PitchChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl>::remove_PitchChanged>;
- [[nodiscard]] PitchChanged_revoker PitchChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto PitchChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto PitchChanged(winrt::event_token const& token) const noexcept;
+ auto TransformOriginChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
using TransformOriginChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl>::remove_TransformOriginChanged>;
- [[nodiscard]] TransformOriginChanged_revoker TransformOriginChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto TransformOriginChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto TransformOriginChanged(winrt::event_token const& token) const noexcept;
+ auto ZoomLevelChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ZoomLevelChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl>::remove_ZoomLevelChanged>;
- [[nodiscard]] ZoomLevelChanged_revoker ZoomLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
- WINRT_IMPL_AUTO(void) ZoomLevelChanged(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>) 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<bool>) TrySetViewBoundsAsync(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, winrt::Windows::Foundation::IReference<winrt::Windows::UI::Xaml::Thickness> const& margin, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animation) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference<double> const& zoomLevel) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference<double> const& zoomLevel, winrt::Windows::Foundation::IReference<double> const& heading, winrt::Windows::Foundation::IReference<double> const& desiredPitch) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference<double> const& zoomLevel, winrt::Windows::Foundation::IReference<double> const& heading, winrt::Windows::Foundation::IReference<double> const& desiredPitch, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animation) const;
+ [[nodiscard]] auto ZoomLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Thickness> 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<double> const& zoomLevel) const;
+ auto TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference<double> const& zoomLevel, winrt::Windows::Foundation::IReference<double> const& heading, winrt::Windows::Foundation::IReference<double> const& desiredPitch) const;
+ auto TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference<double> const& zoomLevel, winrt::Windows::Foundation::IReference<double> const& heading, winrt::Windows::Foundation::IReference<double> const& desiredPitch, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animation) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl>
{
@@ -2397,69 +2389,69 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementClickEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementClickEventArgs> const& handler) const;
using MapElementClick_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2>::remove_MapElementClick>;
- [[nodiscard]] MapElementClick_revoker MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementClickEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerEnteredEventArgs> const& handler) const;
+ [[nodiscard]] auto MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementClickEventArgs> const& handler) const;
+ auto MapElementClick(winrt::event_token const& token) const noexcept;
+ auto MapElementPointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerEnteredEventArgs> const& handler) const;
using MapElementPointerEntered_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2>::remove_MapElementPointerEntered>;
- [[nodiscard]] MapElementPointerEntered_revoker MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerEnteredEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerExitedEventArgs> const& handler) const;
+ [[nodiscard]] auto MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerEnteredEventArgs> const& handler) const;
+ auto MapElementPointerEntered(winrt::event_token const& token) const noexcept;
+ auto MapElementPointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerExitedEventArgs> const& handler) const;
using MapElementPointerExited_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2>::remove_MapElementPointerExited>;
- [[nodiscard]] MapElementPointerExited_revoker MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerExitedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapElementPointerExitedEventArgs> const& handler) const;
+ auto MapElementPointerExited(winrt::event_token const& token) const noexcept;
+ auto ActualCameraChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangedEventArgs> const& handler) const;
using ActualCameraChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2>::remove_ActualCameraChanged>;
- [[nodiscard]] ActualCameraChanged_revoker ActualCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangingEventArgs> const& handler) const;
+ [[nodiscard]] auto ActualCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangedEventArgs> const& handler) const;
+ auto ActualCameraChanged(winrt::event_token const& token) const noexcept;
+ auto ActualCameraChanging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangingEventArgs> const& handler) const;
using ActualCameraChanging_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2>::remove_ActualCameraChanging>;
- [[nodiscard]] ActualCameraChanging_revoker ActualCameraChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapTargetCameraChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto ActualCameraChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapActualCameraChangingEventArgs> const& handler) const;
+ auto ActualCameraChanging(winrt::event_token const& token) const noexcept;
+ auto TargetCameraChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapTargetCameraChangedEventArgs> const& handler) const;
using TargetCameraChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2>::remove_TargetCameraChanged>;
- [[nodiscard]] TargetCameraChanged_revoker TargetCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapTargetCameraChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperienceChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto TargetCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapTargetCameraChangedEventArgs> const& handler) const;
+ auto TargetCameraChanged(winrt::event_token const& token) const noexcept;
+ auto CustomExperienceChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperienceChangedEventArgs> const& handler) const;
using CustomExperienceChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2>::remove_CustomExperienceChanged>;
- [[nodiscard]] CustomExperienceChanged_revoker CustomExperienceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperienceChangedEventArgs> 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<bool>) TryRotateAsync(double degrees) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryRotateToAsync(double angleInDegrees) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryTiltAsync(double degrees) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryTiltToAsync(double angleInDegrees) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryZoomInAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryZoomOutAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryZoomToAsync(double zoomLevel) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TrySetSceneAsync(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& scene) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperienceChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2>
{
@@ -2468,10 +2460,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Maps_IMapControl3
{
- WINRT_IMPL_AUTO(winrt::event_token) MapRightTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapRightTappedEventArgs> const& handler) const;
+ auto MapRightTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapRightTappedEventArgs> const& handler) const;
using MapRightTapped_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl3, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl3>::remove_MapRightTapped>;
- [[nodiscard]] MapRightTapped_revoker MapRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapRightTappedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapRightTappedEventArgs> const& handler) const;
+ auto MapRightTapped(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl3>
{
@@ -2480,11 +2472,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl4>
{
@@ -2493,22 +2485,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapContextRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapContextRequestedEventArgs> const& handler) const;
using MapContextRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5>::remove_MapContextRequested>;
- [[nodiscard]] MapContextRequested_revoker MapContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapContextRequestedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) MapContextRequested(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>) 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<bool>) TryPanAsync(double horizontalPixels, double verticalPixels) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<bool>) TryPanToAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location) const;
+ [[nodiscard]] auto MapContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapContextRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5>
{
@@ -2517,10 +2509,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Maps_IMapControl6
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::Maps::MapLayer>) Layers() const;
- WINRT_IMPL_AUTO(void) Layers(param::vector<winrt::Windows::UI::Xaml::Controls::Maps::MapLayer> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapLayer> 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<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl6>
{
@@ -2529,8 +2521,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl7>
{
@@ -2539,10 +2531,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapControl8>
{
@@ -2551,7 +2543,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkClickEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::LocalSearch::LocalLocation>) LocalLocations() const;
+ [[nodiscard]] auto LocalLocations() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkClickEventArgs>
{
@@ -2560,7 +2552,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkPointerEnteredEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::LocalSearch::LocalLocation>) LocalLocations() const;
+ [[nodiscard]] auto LocalLocations() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkPointerEnteredEventArgs>
{
@@ -2569,7 +2561,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkPointerExitedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::LocalSearch::LocalLocation>) LocalLocations() const;
+ [[nodiscard]] auto LocalLocations() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkPointerExitedEventArgs>
{
@@ -2578,7 +2570,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkRightTappedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Services::Maps::LocalSearch::LocalLocation>) LocalLocations() const;
+ [[nodiscard]] auto LocalLocations() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkRightTappedEventArgs>
{
@@ -2587,22 +2579,22 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper
{
- WINRT_IMPL_AUTO(winrt::event_token) BusinessLandmarkClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkClickEventArgs> const& value) const;
+ auto BusinessLandmarkClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkClickEventArgs> const& value) const;
using BusinessLandmarkClick_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper>::remove_BusinessLandmarkClick>;
- [[nodiscard]] BusinessLandmarkClick_revoker BusinessLandmarkClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkClickEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeatureClickEventArgs> const& value) const;
+ [[nodiscard]] auto BusinessLandmarkClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkClickEventArgs> const& value) const;
+ auto BusinessLandmarkClick(winrt::event_token const& token) const noexcept;
+ auto TransitFeatureClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeatureClickEventArgs> const& value) const;
using TransitFeatureClick_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper>::remove_TransitFeatureClick>;
- [[nodiscard]] TransitFeatureClick_revoker TransitFeatureClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeatureClickEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkRightTappedEventArgs> const& value) const;
+ [[nodiscard]] auto TransitFeatureClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeatureClickEventArgs> const& value) const;
+ auto TransitFeatureClick(winrt::event_token const& token) const noexcept;
+ auto BusinessLandmarkRightTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkRightTappedEventArgs> const& value) const;
using BusinessLandmarkRightTapped_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper>::remove_BusinessLandmarkRightTapped>;
- [[nodiscard]] BusinessLandmarkRightTapped_revoker BusinessLandmarkRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkRightTappedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeatureRightTappedEventArgs> const& value) const;
+ [[nodiscard]] auto BusinessLandmarkRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkRightTappedEventArgs> const& value) const;
+ auto BusinessLandmarkRightTapped(winrt::event_token const& token) const noexcept;
+ auto TransitFeatureRightTapped(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeatureRightTappedEventArgs> const& value) const;
using TransitFeatureRightTapped_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper>::remove_TransitFeatureRightTapped>;
- [[nodiscard]] TransitFeatureRightTapped_revoker TransitFeatureRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeatureRightTappedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeatureRightTappedEventArgs> const& value) const;
+ auto TransitFeatureRightTapped(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper>
{
@@ -2611,22 +2603,22 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2
{
- WINRT_IMPL_AUTO(winrt::event_token) BusinessLandmarkPointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkPointerEnteredEventArgs> const& value) const;
+ auto BusinessLandmarkPointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkPointerEnteredEventArgs> const& value) const;
using BusinessLandmarkPointerEntered_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2>::remove_BusinessLandmarkPointerEntered>;
- [[nodiscard]] BusinessLandmarkPointerEntered_revoker BusinessLandmarkPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkPointerEnteredEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeaturePointerEnteredEventArgs> const& value) const;
+ [[nodiscard]] auto BusinessLandmarkPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkPointerEnteredEventArgs> const& value) const;
+ auto BusinessLandmarkPointerEntered(winrt::event_token const& token) const noexcept;
+ auto TransitFeaturePointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeaturePointerEnteredEventArgs> const& value) const;
using TransitFeaturePointerEntered_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2>::remove_TransitFeaturePointerEntered>;
- [[nodiscard]] TransitFeaturePointerEntered_revoker TransitFeaturePointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeaturePointerEnteredEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkPointerExitedEventArgs> const& value) const;
+ [[nodiscard]] auto TransitFeaturePointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeaturePointerEnteredEventArgs> const& value) const;
+ auto TransitFeaturePointerEntered(winrt::event_token const& token) const noexcept;
+ auto BusinessLandmarkPointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkPointerExitedEventArgs> const& value) const;
using BusinessLandmarkPointerExited_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2>::remove_BusinessLandmarkPointerExited>;
- [[nodiscard]] BusinessLandmarkPointerExited_revoker BusinessLandmarkPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkPointerExitedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeaturePointerExitedEventArgs> const& value) const;
+ [[nodiscard]] auto BusinessLandmarkPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlBusinessLandmarkPointerExitedEventArgs> const& value) const;
+ auto BusinessLandmarkPointerExited(winrt::event_token const& token) const noexcept;
+ auto TransitFeaturePointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeaturePointerExitedEventArgs> const& value) const;
using TransitFeaturePointerExited_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2>::remove_TransitFeaturePointerExited>;
- [[nodiscard]] TransitFeaturePointerExited_revoker TransitFeaturePointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeaturePointerExitedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapControl, winrt::Windows::UI::Xaml::Controls::Maps::MapControlTransitFeaturePointerExitedEventArgs> const& value) const;
+ auto TransitFeaturePointerExited(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2>
{
@@ -2635,7 +2627,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelperFactory>
{
@@ -2644,7 +2636,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelperStatics>
{
@@ -2653,30 +2645,30 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics>
{
@@ -2685,15 +2677,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2>
{
@@ -2702,8 +2694,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics4>
{
@@ -2712,9 +2704,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics5>
{
@@ -2723,7 +2715,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics6>
{
@@ -2732,7 +2724,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics7>
{
@@ -2741,10 +2733,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics8>
{
@@ -2753,9 +2745,9 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Foundation::IInspectable>) TransitProperties() const;
+ [[nodiscard]] auto DisplayName() const;
+ [[nodiscard]] auto Location() const;
+ [[nodiscard]] auto TransitProperties() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureClickEventArgs>
{
@@ -2764,9 +2756,9 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Foundation::IInspectable>) TransitProperties() const;
+ [[nodiscard]] auto DisplayName() const;
+ [[nodiscard]] auto Location() const;
+ [[nodiscard]] auto TransitProperties() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerEnteredEventArgs>
{
@@ -2775,9 +2767,9 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Foundation::IInspectable>) TransitProperties() const;
+ [[nodiscard]] auto DisplayName() const;
+ [[nodiscard]] auto Location() const;
+ [[nodiscard]] auto TransitProperties() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerExitedEventArgs>
{
@@ -2786,9 +2778,9 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Foundation::IInspectable>) TransitProperties() const;
+ [[nodiscard]] auto DisplayName() const;
+ [[nodiscard]] auto Location() const;
+ [[nodiscard]] auto TransitProperties() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureRightTappedEventArgs>
{
@@ -2813,7 +2805,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapCustomExperienceFactory>
{
@@ -2822,10 +2814,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapElement>
{
@@ -2834,8 +2826,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapElement2>
{
@@ -2844,12 +2836,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3>
{
@@ -2858,18 +2850,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D>
{
@@ -2878,11 +2870,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3DStatics>
{
@@ -2891,8 +2883,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapElement4>
{
@@ -2901,9 +2893,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>) MapElements() const;
+ [[nodiscard]] auto Position() const;
+ [[nodiscard]] auto Location() const;
+ [[nodiscard]] auto MapElements() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementClickEventArgs>
{
@@ -2912,7 +2904,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementFactory>
{
@@ -2921,9 +2913,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerEnteredEventArgs>
{
@@ -2932,9 +2924,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerExitedEventArgs>
{
@@ -2943,8 +2935,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics>
{
@@ -2953,7 +2945,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics2>
{
@@ -2962,9 +2954,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics3>
{
@@ -2973,7 +2965,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics4>
{
@@ -2982,24 +2974,24 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>) MapElements() const;
- WINRT_IMPL_AUTO(void) MapElements(param::vector<winrt::Windows::UI::Xaml::Controls::Maps::MapElement> const& value) const;
- WINRT_IMPL_AUTO(winrt::event_token) MapElementClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerClickEventArgs> const& handler) const;
+ [[nodiscard]] auto MapElements() const;
+ auto MapElements(param::vector<winrt::Windows::UI::Xaml::Controls::Maps::MapElement> const& value) const;
+ auto MapElementClick(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerClickEventArgs> const& handler) const;
using MapElementClick_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer>::remove_MapElementClick>;
- [[nodiscard]] MapElementClick_revoker MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerClickEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerPointerEnteredEventArgs> const& handler) const;
+ [[nodiscard]] auto MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerClickEventArgs> const& handler) const;
+ auto MapElementClick(winrt::event_token const& token) const noexcept;
+ auto MapElementPointerEntered(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerPointerEnteredEventArgs> const& handler) const;
using MapElementPointerEntered_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer>::remove_MapElementPointerEntered>;
- [[nodiscard]] MapElementPointerEntered_revoker MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerPointerEnteredEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerPointerExitedEventArgs> const& handler) const;
+ [[nodiscard]] auto MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerPointerEnteredEventArgs> const& handler) const;
+ auto MapElementPointerEntered(winrt::event_token const& token) const noexcept;
+ auto MapElementPointerExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerPointerExitedEventArgs> const& handler) const;
using MapElementPointerExited_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer>::remove_MapElementPointerExited>;
- [[nodiscard]] MapElementPointerExited_revoker MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerPointerExitedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerContextRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerPointerExitedEventArgs> const& handler) const;
+ auto MapElementPointerExited(winrt::event_token const& token) const noexcept;
+ auto MapContextRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerContextRequestedEventArgs> const& handler) const;
using MapContextRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer>::remove_MapContextRequested>;
- [[nodiscard]] MapContextRequested_revoker MapContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerContextRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayer, winrt::Windows::UI::Xaml::Controls::Maps::MapElementsLayerContextRequestedEventArgs> const& handler) const;
+ auto MapContextRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer>
{
@@ -3008,9 +3000,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>) MapElements() const;
+ [[nodiscard]] auto Position() const;
+ [[nodiscard]] auto Location() const;
+ [[nodiscard]] auto MapElements() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerClickEventArgs>
{
@@ -3019,9 +3011,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::MapElement>) MapElements() const;
+ [[nodiscard]] auto Position() const;
+ [[nodiscard]] auto Location() const;
+ [[nodiscard]] auto MapElements() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerContextRequestedEventArgs>
{
@@ -3030,9 +3022,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerEnteredEventArgs>
{
@@ -3041,9 +3033,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerExitedEventArgs>
{
@@ -3052,7 +3044,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerStatics>
{
@@ -3061,14 +3053,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon>
{
@@ -3077,8 +3069,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon2>
{
@@ -3087,9 +3079,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapIconStatics>
{
@@ -3098,7 +3090,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapIconStatics2>
{
@@ -3107,8 +3099,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapInputEventArgs>
{
@@ -3117,11 +3109,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::DependencyObject>) 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<winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControl>
{
@@ -3130,9 +3122,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControlStatics>
{
@@ -3141,12 +3133,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer>
{
@@ -3155,7 +3147,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapLayerFactory>
{
@@ -3164,9 +3156,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapLayerStatics>
{
@@ -3183,7 +3175,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapModel3DFactory>
{
@@ -3192,8 +3184,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D>) CreateFrom3MFAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& source) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D>) 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<winrt::Windows::UI::Xaml::Controls::Maps::IMapModel3DStatics>
{
@@ -3202,16 +3194,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon>
{
@@ -3220,7 +3212,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Devices::Geolocation::Geopath>) Paths() const;
+ [[nodiscard]] auto Paths() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon2>
{
@@ -3229,9 +3221,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygonStatics>
{
@@ -3240,14 +3232,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline>
{
@@ -3256,8 +3248,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapPolylineStatics>
{
@@ -3266,8 +3258,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapRightTappedEventArgs>
{
@@ -3276,11 +3268,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapRouteView>
{
@@ -3289,7 +3281,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapRouteViewFactory>
{
@@ -3298,11 +3290,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::MapScene, winrt::Windows::UI::Xaml::Controls::Maps::MapTargetCameraChangedEventArgs> const& handler) const;
+ [[nodiscard]] auto TargetCamera() const;
+ auto TargetCameraChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapScene, winrt::Windows::UI::Xaml::Controls::Maps::MapTargetCameraChangedEventArgs> const& handler) const;
using TargetCameraChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Maps::IMapScene, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Maps::IMapScene>::remove_TargetCameraChanged>;
- [[nodiscard]] TargetCameraChanged_revoker TargetCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Maps::MapScene, winrt::Windows::UI::Xaml::Controls::Maps::MapTargetCameraChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapScene, winrt::Windows::UI::Xaml::Controls::Maps::MapTargetCameraChangedEventArgs> const& handler) const;
+ auto TargetCameraChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapScene>
{
@@ -3311,15 +3303,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Devices::Geolocation::Geopoint> const& locations) const;
- WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Controls::Maps::MapScene) CreateFromLocations(param::iterable<winrt::Windows::Devices::Geolocation::Geopoint> 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<winrt::Windows::Devices::Geolocation::Geopoint> const& locations) const;
+ auto CreateFromLocations(param::iterable<winrt::Windows::Devices::Geolocation::Geopoint> const& locations, double headingInDegrees, double pitchInDegrees) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics>
{
@@ -3336,70 +3328,70 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics>
{
@@ -3408,9 +3400,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntryStatesStatics>
{
@@ -3419,15 +3411,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet> 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<winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet> 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<winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics>
{
@@ -3436,7 +3428,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapTargetCameraChangedEventArgs>
{
@@ -3445,7 +3437,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapTargetCameraChangedEventArgs2>
{
@@ -3454,9 +3446,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequest>
{
@@ -3465,7 +3457,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestDeferral>
{
@@ -3474,10 +3466,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs>
{
@@ -3486,7 +3478,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FrameIndex() const;
+ [[nodiscard]] auto FrameIndex() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs2>
{
@@ -3503,7 +3495,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapTileDataSourceFactory>
{
@@ -3512,28 +3504,28 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource>
{
@@ -3542,16 +3534,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2>
{
@@ -3560,11 +3552,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceFactory>
{
@@ -3573,17 +3565,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics>
{
@@ -3592,10 +3584,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics2>
{
@@ -3604,9 +3596,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequest>
{
@@ -3615,7 +3607,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestDeferral
{
- WINRT_IMPL_AUTO(void) Complete() const;
+ auto Complete() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestDeferral>
{
@@ -3624,10 +3616,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs>
{
@@ -3636,7 +3628,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) FrameIndex() const;
+ [[nodiscard]] auto FrameIndex() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs2>
{
@@ -3645,18 +3637,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience>
{
@@ -3665,8 +3657,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperienceFactory>
{
@@ -3675,7 +3667,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Maps::IStreetsidePanorama>
{
@@ -3684,8 +3676,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanoramaStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama>) FindNearbyAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama>) 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<winrt::Windows::UI::Xaml::Controls::Maps::IStreetsidePanoramaStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.1.h
index 1829c36ab08..01789924ce0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.2.h
index 4f5ca92bd79..20e5ce125a3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Maps.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.0.h
index 3031f42193f..3ed0329abf4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IVectorView;
template <typename T> struct __declspec(empty_bases) IVector;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Numerics
@@ -2402,7 +2401,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Primitives_IAppBarButtonTemplateSettings
{
- [[nodiscard]] WINRT_IMPL_AUTO(double) KeyboardAcceleratorTextMinWidth() const;
+ [[nodiscard]] auto KeyboardAcceleratorTextMinWidth() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarButtonTemplateSettings>
{
@@ -2411,13 +2410,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings>
{
@@ -2426,9 +2425,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarTemplateSettings2>
{
@@ -2437,7 +2436,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Primitives_IAppBarToggleButtonTemplateSettings
{
- [[nodiscard]] WINRT_IMPL_AUTO(double) KeyboardAcceleratorTextMinWidth() const;
+ [[nodiscard]] auto KeyboardAcceleratorTextMinWidth() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Primitives::IAppBarToggleButtonTemplateSettings>
{
@@ -2446,18 +2445,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBase, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBase>::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<winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBase>
{
@@ -2466,7 +2465,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBaseFactory>
{
@@ -2475,11 +2474,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IButtonBaseStatics>
{
@@ -2496,21 +2495,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ICalendarViewTemplateSettings>
{
@@ -2519,33 +2518,33 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanel>
{
@@ -2554,7 +2553,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ICarouselPanelFactory>
{
@@ -2563,8 +2562,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IColorPickerSlider>
{
@@ -2573,7 +2572,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IColorPickerSliderFactory>
{
@@ -2582,7 +2581,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IColorPickerSliderStatics>
{
@@ -2591,30 +2590,30 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum, winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum, winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs> const& handler) const;
using ColorChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum>::remove_ColorChanged>;
- [[nodiscard]] ColorChanged_revoker ColorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum, winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Primitives::ColorSpectrum, winrt::Windows::UI::Xaml::Controls::ColorChangedEventArgs> const& handler) const;
+ auto ColorChanged(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrum>
{
@@ -2623,7 +2622,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrumFactory>
{
@@ -2632,16 +2631,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IColorSpectrumStatics>
{
@@ -2650,10 +2649,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IComboBoxTemplateSettings>
{
@@ -2662,7 +2661,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Primitives_IComboBoxTemplateSettings2
{
- [[nodiscard]] WINRT_IMPL_AUTO(double) DropDownContentMinWidth() const;
+ [[nodiscard]] auto DropDownContentMinWidth() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Primitives::IComboBoxTemplateSettings2>
{
@@ -2671,7 +2670,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBar>
{
@@ -2680,7 +2679,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarFactory>
{
@@ -2689,26 +2688,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarFlyoutCommandBarTemplateSettings>
{
@@ -2717,13 +2716,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings>
{
@@ -2732,7 +2731,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Primitives_ICommandBarTemplateSettings2
{
- [[nodiscard]] WINRT_IMPL_AUTO(double) OverflowContentMaxWidth() const;
+ [[nodiscard]] auto OverflowContentMaxWidth() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings2>
{
@@ -2741,7 +2740,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings3>
{
@@ -2750,9 +2749,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ICommandBarTemplateSettings4>
{
@@ -2761,9 +2760,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IDragCompletedEventArgs>
{
@@ -2772,7 +2771,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IDragCompletedEventArgsFactory>
{
@@ -2781,8 +2780,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IDragDeltaEventArgs>
{
@@ -2791,7 +2790,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IDragDeltaEventArgsFactory>
{
@@ -2800,8 +2799,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IDragStartedEventArgs>
{
@@ -2810,7 +2809,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IDragStartedEventArgsFactory>
{
@@ -2819,22 +2818,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Opened_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase>::remove_Opened>;
- [[nodiscard]] Opened_revoker Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Opened(winrt::event_token const& token) const noexcept;
+ auto Closed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Closed(winrt::event_token const& token) const noexcept;
+ auto Opening(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Opening_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase>::remove_Opening>;
- [[nodiscard]] Opening_revoker Opening(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase>
{
@@ -2843,19 +2842,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBaseClosingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBaseClosingEventArgs> const& handler) const;
using Closing_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2>::remove_Closing>;
- [[nodiscard]] Closing_revoker Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBaseClosingEventArgs> 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<winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase, winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBaseClosingEventArgs> const& handler) const;
+ auto Closing(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase2>
{
@@ -2864,8 +2863,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase3>
{
@@ -2874,7 +2873,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase4>
{
@@ -2883,13 +2882,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase5>
{
@@ -2898,11 +2897,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBase6>
{
@@ -2911,8 +2910,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseClosingEventArgs>
{
@@ -2921,7 +2920,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseFactory>
{
@@ -2930,7 +2929,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseOverrides>
{
@@ -2939,7 +2938,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseOverrides4>
{
@@ -2948,11 +2947,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics>
{
@@ -2961,10 +2960,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics2>
{
@@ -2973,7 +2972,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics3>
{
@@ -2982,11 +2981,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics5>
{
@@ -2995,7 +2994,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseStatics6>
{
@@ -3004,14 +3003,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Primitives_IFlyoutShowOptions
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>) Position() const;
- WINRT_IMPL_AUTO(void) Position(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect>) ExclusionRect() const;
- WINRT_IMPL_AUTO(void) ExclusionRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> 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<winrt::Windows::Foundation::Point> const& value) const;
+ [[nodiscard]] auto ExclusionRect() const;
+ auto ExclusionRect(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Rect> 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<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutShowOptions>
{
@@ -3020,7 +3019,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutShowOptionsFactory>
{
@@ -3037,7 +3036,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IGeneratorPositionHelperStatics>
{
@@ -3046,50 +3045,50 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenter>
{
@@ -3098,7 +3097,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterFactory>
{
@@ -3107,28 +3106,28 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemPresenterStatics>
{
@@ -3137,7 +3136,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Primitives_IGridViewItemTemplateSettings
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DragItemsCount() const;
+ [[nodiscard]] auto DragItemsCount() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Primitives::IGridViewItemTemplateSettings>
{
@@ -3146,11 +3145,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IItemsChangedEventArgs>
{
@@ -3159,10 +3158,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IJumpListItemBackgroundConverter>
{
@@ -3171,8 +3170,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IJumpListItemBackgroundConverterStatics>
{
@@ -3181,10 +3180,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IJumpListItemForegroundConverter>
{
@@ -3193,8 +3192,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IJumpListItemForegroundConverterStatics>
{
@@ -3211,8 +3210,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ILayoutInformationStatics>
{
@@ -3221,7 +3220,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ILayoutInformationStatics2>
{
@@ -3230,50 +3229,50 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter>
{
@@ -3282,18 +3281,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter2>
{
@@ -3302,14 +3301,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenter3>
{
@@ -3318,7 +3317,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterFactory>
{
@@ -3327,28 +3326,28 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics>
{
@@ -3357,12 +3356,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics2>
{
@@ -3371,10 +3370,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemPresenterStatics3>
{
@@ -3383,7 +3382,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Primitives_IListViewItemTemplateSettings
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) DragItemsCount() const;
+ [[nodiscard]] auto DragItemsCount() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Primitives::IListViewItemTemplateSettings>
{
@@ -3392,24 +3391,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable>) Items() const;
- WINRT_IMPL_AUTO(void) Items(param::vector<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector>::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<winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelector>
{
@@ -3434,13 +3433,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ILoopingSelectorStatics>
{
@@ -3449,7 +3448,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Primitives_IMenuFlyoutItemTemplateSettings
{
- [[nodiscard]] WINRT_IMPL_AUTO(double) KeyboardAcceleratorTextMinWidth() const;
+ [[nodiscard]] auto KeyboardAcceleratorTextMinWidth() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Primitives::IMenuFlyoutItemTemplateSettings>
{
@@ -3458,7 +3457,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Primitives_IMenuFlyoutPresenterTemplateSettings
{
- [[nodiscard]] WINRT_IMPL_AUTO(double) FlyoutContentMinWidth() const;
+ [[nodiscard]] auto FlyoutContentMinWidth() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Primitives::IMenuFlyoutPresenterTemplateSettings>
{
@@ -3467,8 +3466,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::INavigationViewItemPresenter>
{
@@ -3477,7 +3476,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::INavigationViewItemPresenterFactory>
{
@@ -3486,7 +3485,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::INavigationViewItemPresenterStatics>
{
@@ -3495,33 +3494,33 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IOrientedVirtualizingPanel>
{
@@ -3546,7 +3545,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IPickerFlyoutBaseFactory>
{
@@ -3555,8 +3554,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IPickerFlyoutBaseOverrides>
{
@@ -3565,9 +3564,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IPickerFlyoutBaseStatics>
{
@@ -3584,7 +3583,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IPivotHeaderItemFactory>
{
@@ -3609,26 +3608,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Opened_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Primitives::IPopup, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IPopup>::remove_Opened>;
- [[nodiscard]] Opened_revoker Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Opened(winrt::event_token const& token) const noexcept;
+ auto Closed(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Closed_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Primitives::IPopup, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IPopup>::remove_Closed>;
- [[nodiscard]] Closed_revoker Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Closed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Primitives::IPopup>
{
@@ -3637,8 +3636,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IPopup2>
{
@@ -3647,9 +3646,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IPopup3>
{
@@ -3658,12 +3657,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IPopupStatics>
{
@@ -3672,7 +3671,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IPopupStatics2>
{
@@ -3681,7 +3680,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IPopupStatics3>
{
@@ -3690,13 +3689,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IProgressBarTemplateSettings>
{
@@ -3705,9 +3704,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IProgressRingTemplateSettings>
{
@@ -3716,20 +3715,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase>::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<winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBase>
{
@@ -3738,7 +3737,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseFactory>
{
@@ -3747,9 +3746,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseOverrides>
{
@@ -3758,11 +3757,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseStatics>
{
@@ -3771,8 +3770,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseValueChangedEventArgs>
{
@@ -3781,10 +3780,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IRepeatButton>
{
@@ -3793,8 +3792,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IRepeatButtonStatics>
{
@@ -3803,16 +3802,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IScrollBar, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IScrollBar>::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<winrt::Windows::UI::Xaml::Controls::Primitives::IScrollBar>
{
@@ -3821,9 +3820,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IScrollBarStatics>
{
@@ -3832,8 +3831,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IScrollEventArgs>
{
@@ -3842,18 +3841,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto AreHorizontalSnapPointsRegular() const;
+ [[nodiscard]] auto AreVerticalSnapPointsRegular() const;
+ auto HorizontalSnapPointsChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using HorizontalSnapPointsChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Primitives::IScrollSnapPointsInfo, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IScrollSnapPointsInfo>::remove_HorizontalSnapPointsChanged>;
- [[nodiscard]] HorizontalSnapPointsChanged_revoker HorizontalSnapPointsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto HorizontalSnapPointsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto HorizontalSnapPointsChanged(winrt::event_token const& token) const noexcept;
+ auto VerticalSnapPointsChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using VerticalSnapPointsChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Primitives::IScrollSnapPointsInfo, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IScrollSnapPointsInfo>::remove_VerticalSnapPointsChanged>;
- [[nodiscard]] VerticalSnapPointsChanged_revoker VerticalSnapPointsChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
- WINRT_IMPL_AUTO(void) VerticalSnapPointsChanged(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<float>) 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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Controls::Primitives::IScrollSnapPointsInfo>
{
@@ -3862,20 +3861,20 @@ namespace winrt::impl
template <typename D>
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<bool>) IsSynchronizedWithCurrentItem() const;
- WINRT_IMPL_AUTO(void) IsSynchronizedWithCurrentItem(winrt::Windows::Foundation::IReference<bool> 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<bool> const& value) const;
+ auto SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const;
using SelectionChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Controls::Primitives::ISelector, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::ISelector>::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<winrt::Windows::UI::Xaml::Controls::Primitives::ISelector>
{
@@ -3892,8 +3891,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ISelectorItem>
{
@@ -3902,7 +3901,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ISelectorItemFactory>
{
@@ -3911,7 +3910,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ISelectorItemStatics>
{
@@ -3920,12 +3919,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ISelectorStatics>
{
@@ -3934,12 +3933,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ISettingsFlyoutTemplateSettings>
{
@@ -3948,12 +3947,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ISplitViewTemplateSettings>
{
@@ -3962,20 +3961,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IThumb, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IThumb>::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<winrt::Windows::UI::Xaml::Controls::Primitives::IThumb, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IThumb>::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<winrt::Windows::UI::Xaml::Controls::Primitives::IThumb, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IThumb>::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<winrt::Windows::UI::Xaml::Controls::Primitives::IThumb>
{
@@ -3984,7 +3983,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IThumbStatics>
{
@@ -3993,8 +3992,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ITickBar>
{
@@ -4003,7 +4002,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::ITickBarStatics>
{
@@ -4012,22 +4011,22 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Primitives_IToggleButton
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<bool>) IsChecked() const;
- WINRT_IMPL_AUTO(void) IsChecked(winrt::Windows::Foundation::IReference<bool> 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<bool> 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<winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton>::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<winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton>::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<winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton, &impl::abi_t<winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton>::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<winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButton>
{
@@ -4036,7 +4035,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButtonFactory>
{
@@ -4045,7 +4044,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Controls_Primitives_IToggleButtonOverrides
{
- WINRT_IMPL_AUTO(void) OnToggle() const;
+ auto OnToggle() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButtonOverrides>
{
@@ -4054,8 +4053,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButtonStatics>
{
@@ -4064,14 +4063,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IToggleSwitchTemplateSettings>
{
@@ -4080,8 +4079,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Controls::Primitives::IToolTipTemplateSettings>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.1.h
index 40c5308077e..80d5738c5f8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.2.h
index 37bd8ca3ba0..fe59cc6e2b2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Controls.Primitives.2.h
+++ b/chromium/third_party/nearby/src/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<const D*>(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 <typename D>
class IFlyoutBaseOverrides4T
@@ -650,7 +650,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls::Primitives
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IPickerFlyoutBaseOverridesT
@@ -659,8 +659,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls::Primitives
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IRangeBaseOverridesT
@@ -669,9 +669,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls::Primitives
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IToggleButtonOverridesT
@@ -680,7 +680,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls::Primitives
D const& shim() const noexcept { return *static_cast<const D*>(this); }
public:
using IToggleButtonOverrides = winrt::Windows::UI::Xaml::Controls::Primitives::IToggleButtonOverrides;
- WINRT_IMPL_AUTO(void) OnToggle() const;
+ auto OnToggle() const;
};
}
#endif
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.0.h
index dbbf2fc441a..58d9b1b23b3 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Xaml::Core::Direct::IXamlDirect>
{
@@ -2208,7 +2208,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Core::Direct::IXamlDirectStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.1.h
index 20c16216fe9..d4315b3ab12 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.2.h
index 88ba4c01436..cfce8e929a9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Core.Direct.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.0.h
index 476da2600a5..f8f330e7f21 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
- template <typename T> struct __declspec(empty_bases) IObservableVector;
template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::UI::Xaml
@@ -528,22 +526,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::IBinding>
{
@@ -552,12 +550,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::IBinding2>
{
@@ -574,7 +572,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::IBindingBaseFactory>
{
@@ -583,9 +581,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::IBindingExpression>
{
@@ -618,7 +616,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::IBindingFactory>
{
@@ -635,7 +633,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::IBindingOperationsStatics>
{
@@ -644,27 +642,27 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable>) CollectionGroups() const;
- [[nodiscard]] WINRT_IMPL_AUTO(bool) HasMoreItems() const;
- WINRT_IMPL_AUTO(winrt::event_token) CurrentChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
using CurrentChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Data::ICollectionView, &impl::abi_t<winrt::Windows::UI::Xaml::Data::ICollectionView>::remove_CurrentChanged>;
- [[nodiscard]] CurrentChanged_revoker CurrentChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Data::ICollectionView, &impl::abi_t<winrt::Windows::UI::Xaml::Data::ICollectionView>::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<winrt::Windows::UI::Xaml::Data::LoadMoreItemsResult>) 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<winrt::Windows::UI::Xaml::Data::ICollectionView>
{
@@ -673,7 +671,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Data_ICollectionViewFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Data::ICollectionView) CreateView() const;
+ auto CreateView() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Data::ICollectionViewFactory>
{
@@ -682,8 +680,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable>) GroupItems() const;
+ [[nodiscard]] auto Group() const;
+ [[nodiscard]] auto GroupItems() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Data::ICollectionViewGroup>
{
@@ -692,13 +690,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::ICollectionViewSource>
{
@@ -707,10 +705,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::ICollectionViewSourceStatics>
{
@@ -719,9 +717,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::ICurrentChangingEventArgs>
{
@@ -730,8 +728,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::ICurrentChangingEventArgsFactory>
{
@@ -740,14 +738,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::ICustomProperty>
{
@@ -756,10 +754,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::ICustomPropertyProvider>
{
@@ -768,9 +766,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::IItemIndexRange>
{
@@ -779,7 +777,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::IItemIndexRangeFactory>
{
@@ -788,7 +786,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Data_IItemsRangeInfo
{
- WINRT_IMPL_AUTO(void) RangesChanged(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& visibleRange, param::vector_view<winrt::Windows::UI::Xaml::Data::ItemIndexRange> const& trackedItems) const;
+ auto RangesChanged(winrt::Windows::UI::Xaml::Data::ItemIndexRange const& visibleRange, param::vector_view<winrt::Windows::UI::Xaml::Data::ItemIndexRange> const& trackedItems) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Data::IItemsRangeInfo>
{
@@ -797,10 +795,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::INotifyPropertyChanged, &impl::abi_t<winrt::Windows::UI::Xaml::Data::INotifyPropertyChanged>::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<winrt::Windows::UI::Xaml::Data::INotifyPropertyChanged>
{
@@ -809,7 +807,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Data_IPropertyChangedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) PropertyName() const;
+ [[nodiscard]] auto PropertyName() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Data::IPropertyChangedEventArgs>
{
@@ -818,7 +816,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::IPropertyChangedEventArgsFactory>
{
@@ -827,8 +825,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::IRelativeSource>
{
@@ -837,7 +835,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::IRelativeSourceFactory>
{
@@ -846,10 +844,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::ItemIndexRange>) 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<winrt::Windows::UI::Xaml::Data::ISelectionInfo>
{
@@ -858,8 +856,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Data_ISupportIncrementalLoading
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Data::LoadMoreItemsResult>) 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<winrt::Windows::UI::Xaml::Data::ISupportIncrementalLoading>
{
@@ -868,8 +866,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Data::IValueConverter>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.1.h
index fb46a2e7a5a..2dc67b05e55 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.2.h
index d7b72b05694..e07fa2242a7 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Data.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.0.h
index 65e054ef380..a2d61a870ad 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Xaml::Documents::IBlock>
{
@@ -1182,8 +1182,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IBlock2>
{
@@ -1192,7 +1192,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IBlockFactory>
{
@@ -1201,10 +1201,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IBlockStatics>
{
@@ -1213,7 +1213,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IBlockStatics2>
{
@@ -1238,48 +1238,48 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::ContentLink, winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs> 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<winrt::Windows::UI::Xaml::Documents::ContentLink, winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs> const& handler) const;
using Invoked_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Documents::IContentLink, &impl::abi_t<winrt::Windows::UI::Xaml::Documents::IContentLink>::remove_Invoked>;
- [[nodiscard]] Invoked_revoker Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::ContentLink, winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs> 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<winrt::Windows::UI::Xaml::Documents::ContentLink, winrt::Windows::UI::Xaml::Documents::ContentLinkInvokedEventArgs> 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<winrt::Windows::UI::Xaml::Documents::IContentLink, &impl::abi_t<winrt::Windows::UI::Xaml::Documents::IContentLink>::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<winrt::Windows::UI::Xaml::Documents::IContentLink, &impl::abi_t<winrt::Windows::UI::Xaml::Documents::IContentLink>::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<winrt::Windows::UI::Xaml::Documents::IContentLink>
{
@@ -1288,9 +1288,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IContentLinkInvokedEventArgs>
{
@@ -1315,7 +1315,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IContentLinkProviderFactory>
{
@@ -1324,20 +1324,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IContentLinkStatics>
{
@@ -1346,22 +1346,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IGlyphs>
{
@@ -1370,10 +1370,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IGlyphs2>
{
@@ -1382,14 +1382,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IGlyphsStatics>
{
@@ -1398,8 +1398,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IGlyphsStatics2>
{
@@ -1408,12 +1408,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::Hyperlink, winrt::Windows::UI::Xaml::Documents::HyperlinkClickEventArgs> const& handler) const;
+ [[nodiscard]] auto NavigateUri() const;
+ auto NavigateUri(winrt::Windows::Foundation::Uri const& value) const;
+ auto Click(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::Hyperlink, winrt::Windows::UI::Xaml::Documents::HyperlinkClickEventArgs> const& handler) const;
using Click_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Documents::IHyperlink, &impl::abi_t<winrt::Windows::UI::Xaml::Documents::IHyperlink>::remove_Click>;
- [[nodiscard]] Click_revoker Click(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::Hyperlink, winrt::Windows::UI::Xaml::Documents::HyperlinkClickEventArgs> 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<winrt::Windows::UI::Xaml::Documents::Hyperlink, winrt::Windows::UI::Xaml::Documents::HyperlinkClickEventArgs> const& handler) const;
+ auto Click(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Documents::IHyperlink>
{
@@ -1422,8 +1422,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IHyperlink2>
{
@@ -1432,16 +1432,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IHyperlink3>
{
@@ -1450,24 +1450,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IHyperlink4, &impl::abi_t<winrt::Windows::UI::Xaml::Documents::IHyperlink4>::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<winrt::Windows::UI::Xaml::Documents::IHyperlink4, &impl::abi_t<winrt::Windows::UI::Xaml::Documents::IHyperlink4>::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<winrt::Windows::UI::Xaml::Documents::IHyperlink4>
{
@@ -1476,10 +1476,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IHyperlink5>
{
@@ -1496,7 +1496,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics>
{
@@ -1505,7 +1505,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics2>
{
@@ -1514,11 +1514,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics3>
{
@@ -1527,11 +1527,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics4>
{
@@ -1540,8 +1540,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IHyperlinkStatics5>
{
@@ -1558,7 +1558,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IInlineFactory>
{
@@ -1567,8 +1567,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IInlineUIContainer>
{
@@ -1593,9 +1593,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IParagraph>
{
@@ -1604,7 +1604,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IParagraphStatics>
{
@@ -1621,10 +1621,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IRun>
{
@@ -1633,7 +1633,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::IRunStatics>
{
@@ -1642,8 +1642,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::ISpan>
{
@@ -1652,7 +1652,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::ISpanFactory>
{
@@ -1661,28 +1661,28 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::ITextElement>
{
@@ -1691,8 +1691,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::ITextElement2>
{
@@ -1701,12 +1701,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::ITextElement3>
{
@@ -1715,30 +1715,30 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs> const& handler) const;
using AccessKeyDisplayRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Documents::ITextElement4, &impl::abi_t<winrt::Windows::UI::Xaml::Documents::ITextElement4>::remove_AccessKeyDisplayRequested>;
- [[nodiscard]] AccessKeyDisplayRequested_revoker AccessKeyDisplayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs> const& handler) const;
+ [[nodiscard]] auto AccessKeyDisplayRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayRequestedEventArgs> const& handler) const;
+ auto AccessKeyDisplayRequested(winrt::event_token const& token) const noexcept;
+ auto AccessKeyDisplayDismissed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs> const& handler) const;
using AccessKeyDisplayDismissed_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Documents::ITextElement4, &impl::abi_t<winrt::Windows::UI::Xaml::Documents::ITextElement4>::remove_AccessKeyDisplayDismissed>;
- [[nodiscard]] AccessKeyDisplayDismissed_revoker AccessKeyDisplayDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs> 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<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs> const& handler) const;
+ [[nodiscard]] auto AccessKeyDisplayDismissed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyDisplayDismissedEventArgs> const& handler) const;
+ auto AccessKeyDisplayDismissed(winrt::event_token const& token) const noexcept;
+ auto AccessKeyInvoked(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs> const& handler) const;
using AccessKeyInvoked_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Documents::ITextElement4, &impl::abi_t<winrt::Windows::UI::Xaml::Documents::ITextElement4>::remove_AccessKeyInvoked>;
- [[nodiscard]] AccessKeyInvoked_revoker AccessKeyInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs> 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<winrt::Windows::UI::Xaml::Documents::TextElement, winrt::Windows::UI::Xaml::Input::AccessKeyInvokedEventArgs> const& handler) const;
+ auto AccessKeyInvoked(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Documents::ITextElement4>
{
@@ -1747,8 +1747,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::ITextElement5>
{
@@ -1765,7 +1765,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Documents_ITextElementOverrides
{
- WINRT_IMPL_AUTO(void) OnDisconnectVisualChildren() const;
+ auto OnDisconnectVisualChildren() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Documents::ITextElementOverrides>
{
@@ -1774,14 +1774,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::ITextElementStatics>
{
@@ -1790,7 +1790,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::ITextElementStatics2>
{
@@ -1799,9 +1799,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::ITextElementStatics3>
{
@@ -1810,12 +1810,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::ITextElementStatics4>
{
@@ -1824,11 +1824,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Documents_ITextHighlighter
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Documents::TextRange>) 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<winrt::Windows::UI::Xaml::Documents::ITextHighlighter>
{
@@ -1853,7 +1853,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::ITextHighlighterFactory>
{
@@ -1862,8 +1862,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::ITextHighlighterStatics>
{
@@ -1872,12 +1872,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::ITextPointer>
{
@@ -1894,135 +1894,135 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Documents::ITypographyStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.1.h
index f574c935842..cd0a7fa1d4c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.2.h
index 8568b88f905..caf2f12546f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Documents.2.h
+++ b/chromium/third_party/nearby/src/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<const D*>(this); }
public:
using ITextElementOverrides = winrt::Windows::UI::Xaml::Documents::ITextElementOverrides;
- WINRT_IMPL_AUTO(void) OnDisconnectVisualChildren() const;
+ auto OnDisconnectVisualChildren() const;
};
}
#endif
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.0.h
index 553a8af4bcc..1f6abb63c54 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Rect;
struct Size;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
@@ -408,7 +407,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Hosting_IDesignerAppExitedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(uint32_t) ExitCode() const;
+ [[nodiscard]] auto ExitCode() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Hosting::IDesignerAppExitedEventArgs>
{
@@ -417,13 +416,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::DesignerAppManager, winrt::Windows::UI::Xaml::Hosting::DesignerAppExitedEventArgs> const& handler) const;
+ [[nodiscard]] auto AppUserModelId() const;
+ auto DesignerAppExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesignerAppManager, winrt::Windows::UI::Xaml::Hosting::DesignerAppExitedEventArgs> const& handler) const;
using DesignerAppExited_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Hosting::IDesignerAppManager, &impl::abi_t<winrt::Windows::UI::Xaml::Hosting::IDesignerAppManager>::remove_DesignerAppExited>;
- [[nodiscard]] DesignerAppExited_revoker DesignerAppExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesignerAppManager, winrt::Windows::UI::Xaml::Hosting::DesignerAppExitedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) DesignerAppExited(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Hosting::DesignerAppView>) 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<winrt::Windows::UI::Xaml::Hosting::DesignerAppManager, winrt::Windows::UI::Xaml::Hosting::DesignerAppExitedEventArgs> 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<winrt::Windows::UI::Xaml::Hosting::IDesignerAppManager>
{
@@ -432,7 +431,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::IDesignerAppManagerFactory>
{
@@ -441,11 +440,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::IDesignerAppView>
{
@@ -454,18 +453,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource, winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSourceTakeFocusRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource, winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSourceTakeFocusRequestedEventArgs> const& handler) const;
using TakeFocusRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource, &impl::abi_t<winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource>::remove_TakeFocusRequested>;
- [[nodiscard]] TakeFocusRequested_revoker TakeFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource, winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSourceTakeFocusRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource, winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSourceGotFocusEventArgs> const& handler) const;
+ [[nodiscard]] auto TakeFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource, winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSourceTakeFocusRequestedEventArgs> const& handler) const;
+ auto TakeFocusRequested(winrt::event_token const& token) const noexcept;
+ auto GotFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource, winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSourceGotFocusEventArgs> const& handler) const;
using GotFocus_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource, &impl::abi_t<winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource>::remove_GotFocus>;
- [[nodiscard]] GotFocus_revoker GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource, winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSourceGotFocusEventArgs> 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<winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSource, winrt::Windows::UI::Xaml::Hosting::DesktopWindowXamlSourceGotFocusEventArgs> 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<winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSource>
{
@@ -474,7 +473,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSourceFactory>
{
@@ -483,7 +482,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSourceGotFocusEventArgs>
{
@@ -492,7 +491,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::IDesktopWindowXamlSourceTakeFocusRequestedEventArgs>
{
@@ -509,10 +508,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::IElementCompositionPreviewStatics>
{
@@ -521,10 +520,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::IElementCompositionPreviewStatics2>
{
@@ -533,8 +532,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::IElementCompositionPreviewStatics3>
{
@@ -551,7 +550,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Hosting_IWindowsXamlManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Hosting::WindowsXamlManager) InitializeForCurrentThread() const;
+ auto InitializeForCurrentThread() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Hosting::IWindowsXamlManagerStatics>
{
@@ -560,9 +559,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationRequest>
{
@@ -571,9 +570,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationRequestFactory>
{
@@ -582,7 +581,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Hosting_IXamlSourceFocusNavigationResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) WasFocusMoved() const;
+ [[nodiscard]] auto WasFocusMoved() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationResult>
{
@@ -591,7 +590,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::IXamlSourceFocusNavigationResultFactory>
{
@@ -600,15 +599,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenter>
{
@@ -617,7 +616,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterHost>
{
@@ -626,7 +625,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Hosting_IXamlUIPresenterHost2
{
- WINRT_IMPL_AUTO(hstring) GetGenericXamlFilePath() const;
+ auto GetGenericXamlFilePath() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterHost2>
{
@@ -635,7 +634,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterHost3>
{
@@ -644,10 +643,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterStatics>
{
@@ -656,8 +655,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Hosting::IXamlUIPresenterStatics2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.1.h
index 74f4d02adc4..accedd44372 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.2.h
index 9f814bbf73f..16ddc7d67a9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Hosting.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.0.h
index b0f97c270e9..651c1bbaf7e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) EventHandler;
struct EventRegistrationToken;
- template <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Point;
struct Rect;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::System
{
enum class VirtualKey : int32_t;
@@ -1417,7 +1412,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Input_IAccessKeyDisplayRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) PressedKeys() const;
+ [[nodiscard]] auto PressedKeys() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Input::IAccessKeyDisplayRequestedEventArgs>
{
@@ -1426,8 +1421,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IAccessKeyInvokedEventArgs>
{
@@ -1444,12 +1439,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::IInspectable, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto IsDisplayModeEnabled() const;
+ auto IsDisplayModeEnabledChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Foundation::IInspectable> const& handler) const;
using IsDisplayModeEnabledChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics, &impl::abi_t<winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics>::remove_IsDisplayModeEnabledChanged>;
- [[nodiscard]] IsDisplayModeEnabledChanged_revoker IsDisplayModeEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto IsDisplayModeEnabledChanged(winrt::event_token const& token) const noexcept;
+ auto ExitDisplayMode() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics>
{
@@ -1458,8 +1453,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics2>
{
@@ -1468,9 +1463,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::ICanExecuteRequestedEventArgs>
{
@@ -1479,10 +1474,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::ICharacterReceivedRoutedEventArgs>
{
@@ -1491,12 +1486,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Input_ICommand
{
- WINRT_IMPL_AUTO(winrt::event_token) CanExecuteChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto CanExecuteChanged(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using CanExecuteChanged_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Input::ICommand, &impl::abi_t<winrt::Windows::UI::Xaml::Input::ICommand>::remove_CanExecuteChanged>;
- [[nodiscard]] CanExecuteChanged_revoker CanExecuteChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Input::ICommand>
{
@@ -1505,9 +1500,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IContextRequestedEventArgs>
{
@@ -1516,10 +1511,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IDoubleTappedRoutedEventArgs>
{
@@ -1528,7 +1523,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Input_IExecuteRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) Parameter() const;
+ [[nodiscard]] auto Parameter() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Input::IExecuteRequestedEventArgs>
{
@@ -1537,14 +1532,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IFindNextElementOptions>
{
@@ -1561,8 +1556,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IFocusManagerGotFocusEventArgs>
{
@@ -1571,8 +1566,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IFocusManagerLostFocusEventArgs>
{
@@ -1581,7 +1576,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Input_IFocusManagerStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) GetFocusedElement() const;
+ auto GetFocusedElement() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics>
{
@@ -1590,7 +1585,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics2>
{
@@ -1599,8 +1594,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics3>
{
@@ -1609,11 +1604,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics4>
{
@@ -1622,9 +1617,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Input_IFocusManagerStatics5
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Input::FocusMovementResult>) TryFocusAsync(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FocusState const& value) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Input::FocusMovementResult>) TryMoveFocusAsync(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Input::FocusMovementResult>) 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<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics5>
{
@@ -1633,22 +1628,22 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Input_IFocusManagerStatics6
{
- WINRT_IMPL_AUTO(winrt::event_token) GotFocus(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerGotFocusEventArgs> const& handler) const;
+ auto GotFocus(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerGotFocusEventArgs> const& handler) const;
using GotFocus_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6, &impl::abi_t<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6>::remove_GotFocus>;
- [[nodiscard]] GotFocus_revoker GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerGotFocusEventArgs> 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<winrt::Windows::UI::Xaml::Input::FocusManagerLostFocusEventArgs> const& handler) const;
+ [[nodiscard]] auto GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerGotFocusEventArgs> const& handler) const;
+ auto GotFocus(winrt::event_token const& token) const noexcept;
+ auto LostFocus(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerLostFocusEventArgs> const& handler) const;
using LostFocus_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6, &impl::abi_t<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6>::remove_LostFocus>;
- [[nodiscard]] LostFocus_revoker LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerLostFocusEventArgs> 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<winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> const& handler) const;
+ [[nodiscard]] auto LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerLostFocusEventArgs> const& handler) const;
+ auto LostFocus(winrt::event_token const& token) const noexcept;
+ auto GettingFocus(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> const& handler) const;
using GettingFocus_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6, &impl::abi_t<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6>::remove_GettingFocus>;
- [[nodiscard]] GettingFocus_revoker GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> 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<winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> const& handler) const;
+ [[nodiscard]] auto GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> const& handler) const;
+ auto GettingFocus(winrt::event_token const& token) const noexcept;
+ auto LosingFocus(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> const& handler) const;
using LosingFocus_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6, &impl::abi_t<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6>::remove_LosingFocus>;
- [[nodiscard]] LosingFocus_revoker LosingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> 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<winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> const& handler) const;
+ auto LosingFocus(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6>
{
@@ -1657,7 +1652,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics7>
{
@@ -1666,7 +1661,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Input_IFocusMovementResult
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) Succeeded() const;
+ [[nodiscard]] auto Succeeded() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Input::IFocusMovementResult>
{
@@ -1675,16 +1670,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs>
{
@@ -1693,8 +1688,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs2>
{
@@ -1703,7 +1698,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CorrelationId() const;
+ [[nodiscard]] auto CorrelationId() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs3>
{
@@ -1712,11 +1707,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IHoldingRoutedEventArgs>
{
@@ -1725,10 +1720,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IInertiaExpansionBehavior>
{
@@ -1737,10 +1732,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IInertiaRotationBehavior>
{
@@ -1749,10 +1744,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IInertiaTranslationBehavior>
{
@@ -1761,7 +1756,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Input_IInputScope
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::UI::Xaml::Input::InputScopeName>) Names() const;
+ [[nodiscard]] auto Names() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Input::IInputScope>
{
@@ -1770,8 +1765,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IInputScopeName>
{
@@ -1780,7 +1775,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IInputScopeNameFactory>
{
@@ -1789,10 +1784,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs>
{
@@ -1801,7 +1796,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::VirtualKey) OriginalKey() const;
+ [[nodiscard]] auto OriginalKey() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs2>
{
@@ -1810,7 +1805,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs3
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) DeviceId() const;
+ [[nodiscard]] auto DeviceId() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs3>
{
@@ -1819,18 +1814,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::KeyboardAccelerator, winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs> 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<winrt::Windows::UI::Xaml::Input::KeyboardAccelerator, winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs> const& handler) const;
using Invoked_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator, &impl::abi_t<winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator>::remove_Invoked>;
- [[nodiscard]] Invoked_revoker Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Input::KeyboardAccelerator, winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs> 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<winrt::Windows::UI::Xaml::Input::KeyboardAccelerator, winrt::Windows::UI::Xaml::Input::KeyboardAcceleratorInvokedEventArgs> const& handler) const;
+ auto Invoked(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator>
{
@@ -1839,7 +1834,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorFactory>
{
@@ -1848,9 +1843,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorInvokedEventArgs>
{
@@ -1859,7 +1854,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorInvokedEventArgs2>
{
@@ -1868,10 +1863,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorStatics>
{
@@ -1880,16 +1875,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs>
{
@@ -1898,8 +1893,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs2>
{
@@ -1908,7 +1903,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs3
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::guid) CorrelationId() const;
+ [[nodiscard]] auto CorrelationId() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs3>
{
@@ -1917,14 +1912,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs>
{
@@ -1933,16 +1928,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs>
{
@@ -1951,19 +1946,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs>
{
@@ -1972,10 +1967,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IManipulationPivot>
{
@@ -1984,7 +1979,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IManipulationPivotFactory>
{
@@ -1993,13 +1988,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs>
{
@@ -2008,7 +2003,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgsFactory>
{
@@ -2017,14 +2012,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs>
{
@@ -2033,10 +2028,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::INoFocusCandidateFoundEventArgs>
{
@@ -2045,10 +2040,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IPointer>
{
@@ -2057,12 +2052,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Input::PointerPoint>) 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<winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs>
{
@@ -2071,7 +2066,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(bool) IsGenerated() const;
+ [[nodiscard]] auto IsGenerated() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs2>
{
@@ -2080,10 +2075,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IProcessKeyboardAcceleratorEventArgs>
{
@@ -2092,10 +2087,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IRightTappedRoutedEventArgs>
{
@@ -2104,7 +2099,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IStandardUICommand>
{
@@ -2113,7 +2108,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IStandardUICommand2>
{
@@ -2122,8 +2117,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IStandardUICommandFactory>
{
@@ -2132,7 +2127,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IStandardUICommandStatics>
{
@@ -2141,10 +2136,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::ITappedRoutedEventArgs>
{
@@ -2153,26 +2148,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::KeyboardAccelerator>) 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<winrt::Windows::UI::Xaml::Input::XamlUICommand, winrt::Windows::UI::Xaml::Input::ExecuteRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Input::XamlUICommand, winrt::Windows::UI::Xaml::Input::ExecuteRequestedEventArgs> const& handler) const;
using ExecuteRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Input::IXamlUICommand, &impl::abi_t<winrt::Windows::UI::Xaml::Input::IXamlUICommand>::remove_ExecuteRequested>;
- [[nodiscard]] ExecuteRequested_revoker ExecuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Input::XamlUICommand, winrt::Windows::UI::Xaml::Input::ExecuteRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Input::XamlUICommand, winrt::Windows::UI::Xaml::Input::CanExecuteRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto ExecuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Input::XamlUICommand, winrt::Windows::UI::Xaml::Input::ExecuteRequestedEventArgs> const& handler) const;
+ auto ExecuteRequested(winrt::event_token const& token) const noexcept;
+ auto CanExecuteRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Input::XamlUICommand, winrt::Windows::UI::Xaml::Input::CanExecuteRequestedEventArgs> const& handler) const;
using CanExecuteRequested_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Input::IXamlUICommand, &impl::abi_t<winrt::Windows::UI::Xaml::Input::IXamlUICommand>::remove_CanExecuteRequested>;
- [[nodiscard]] CanExecuteRequested_revoker CanExecuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Input::XamlUICommand, winrt::Windows::UI::Xaml::Input::CanExecuteRequestedEventArgs> 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<winrt::Windows::UI::Xaml::Input::XamlUICommand, winrt::Windows::UI::Xaml::Input::CanExecuteRequestedEventArgs> const& handler) const;
+ auto CanExecuteRequested(winrt::event_token const& token) const noexcept;
+ auto NotifyCanExecuteChanged() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Input::IXamlUICommand>
{
@@ -2181,7 +2176,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IXamlUICommandFactory>
{
@@ -2190,12 +2185,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Input::IXamlUICommandStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.1.h
index b78bed38097..6ddf15480aa 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.2.h
index 5fe5da8f6cd..23dc076ddab 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Input.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable, winrt::Windows::Foundation::IInspectable> const& handler);
using IsDisplayModeEnabledChanged_revoker = impl::factory_event_revoker<winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics, &impl::abi_t<winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics>::remove_IsDisplayModeEnabledChanged>;
- [[nodiscard]] static IsDisplayModeEnabledChanged_revoker IsDisplayModeEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto IsDisplayModeEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Foundation::IInspectable, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Input::FocusManagerGotFocusEventArgs> const& handler);
using GotFocus_revoker = impl::factory_event_revoker<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6, &impl::abi_t<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6>::remove_GotFocus>;
- [[nodiscard]] static GotFocus_revoker GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerGotFocusEventArgs> const& handler);
+ [[nodiscard]] static auto GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerGotFocusEventArgs> const& handler);
static auto GotFocus(winrt::event_token const& token);
static auto LostFocus(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerLostFocusEventArgs> const& handler);
using LostFocus_revoker = impl::factory_event_revoker<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6, &impl::abi_t<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6>::remove_LostFocus>;
- [[nodiscard]] static LostFocus_revoker LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerLostFocusEventArgs> const& handler);
+ [[nodiscard]] static auto LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::FocusManagerLostFocusEventArgs> const& handler);
static auto LostFocus(winrt::event_token const& token);
static auto GettingFocus(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> const& handler);
using GettingFocus_revoker = impl::factory_event_revoker<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6, &impl::abi_t<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6>::remove_GettingFocus>;
- [[nodiscard]] static GettingFocus_revoker GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> const& handler);
+ [[nodiscard]] static auto GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::GettingFocusEventArgs> const& handler);
static auto GettingFocus(winrt::event_token const& token);
static auto LosingFocus(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> const& handler);
using LosingFocus_revoker = impl::factory_event_revoker<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6, &impl::abi_t<winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6>::remove_LosingFocus>;
- [[nodiscard]] static LosingFocus_revoker LosingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> const& handler);
+ [[nodiscard]] static auto LosingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Input::LosingFocusEventArgs> const& handler);
static auto LosingFocus(winrt::event_token const& token);
static auto GetFocusedElement(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot);
};
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.0.h
index 0a7d59f2607..ea521b47a7c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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 <typename D>
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 <typename D>
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<winrt::Windows::UI::Xaml::Interop::IBindableObservableVector, &impl::abi_t<winrt::Windows::UI::Xaml::Interop::IBindableObservableVector>::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<winrt::Windows::UI::Xaml::Interop::IBindableObservableVector>
{
@@ -224,16 +224,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Interop::IBindableVector>
{
@@ -242,9 +242,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Interop::IBindableVectorView>
{
@@ -253,10 +253,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Interop::INotifyCollectionChanged, &impl::abi_t<winrt::Windows::UI::Xaml::Interop::INotifyCollectionChanged>::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<winrt::Windows::UI::Xaml::Interop::INotifyCollectionChanged>
{
@@ -265,11 +265,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgs>
{
@@ -278,7 +278,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Interop::INotifyCollectionChangedEventArgsFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.1.h
index bbf5528a046..389f144b345 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.2.h
index 888e48da143..4c04b766cd9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Interop.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.0.h
index 2f058cb64e6..ebf6ea63bda 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Xaml::Markup::IComponentConnector>
{
@@ -325,7 +325,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Markup::IComponentConnector2>
{
@@ -334,8 +334,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Markup::IDataTemplateComponent>
{
@@ -352,7 +352,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Markup::IMarkupExtensionFactory>
{
@@ -361,7 +361,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Markup_IMarkupExtensionOverrides
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) ProvideValue() const;
+ auto ProvideValue() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Markup::IMarkupExtensionOverrides>
{
@@ -378,7 +378,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Markup_IXamlBinaryWriterStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Markup::XamlBinaryWriterErrorInformation) Write(param::vector<winrt::Windows::Storage::Streams::IRandomAccessStream> const& inputStreams, param::vector<winrt::Windows::Storage::Streams::IRandomAccessStream> const& outputStreams, winrt::Windows::UI::Xaml::Markup::IXamlMetadataProvider const& xamlMetadataProvider) const;
+ auto Write(param::vector<winrt::Windows::Storage::Streams::IRandomAccessStream> const& inputStreams, param::vector<winrt::Windows::Storage::Streams::IRandomAccessStream> const& outputStreams, winrt::Windows::UI::Xaml::Markup::IXamlMetadataProvider const& xamlMetadataProvider) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Markup::IXamlBinaryWriterStatics>
{
@@ -387,7 +387,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Markup::IXamlBindScopeDiagnostics>
{
@@ -404,29 +404,29 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Markup::IXamlBindingHelperStatics>
{
@@ -443,7 +443,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Markup::IXamlMarkupHelperStatics>
{
@@ -452,14 +452,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Markup::IXamlMember>
{
@@ -468,9 +468,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Markup::XmlnsDefinition>) 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<winrt::Windows::UI::Xaml::Markup::IXamlMetadataProvider>
{
@@ -487,8 +487,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Markup::IXamlReaderStatics>
{
@@ -497,24 +497,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Markup::IXamlType>
{
@@ -523,7 +523,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Markup::IXamlType2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.1.h
index 8a41e43ef08..040f52b5561 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.2.h
index f2e20647119..52a45f7b6b2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Markup.2.h
+++ b/chromium/third_party/nearby/src/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<const D*>(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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.0.h
index 80541253a0f..c96246dd0aa 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
template <typename T> 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 <typename D>
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<winrt::Windows::UI::Xaml::Media::IAcrylicBrush>
{
@@ -2252,8 +2246,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Media_IAcrylicBrush2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) TintLuminosityOpacity() const;
- WINRT_IMPL_AUTO(void) TintLuminosityOpacity(winrt::Windows::Foundation::IReference<double> const& value) const;
+ [[nodiscard]] auto TintLuminosityOpacity() const;
+ auto TintLuminosityOpacity(winrt::Windows::Foundation::IReference<double> const& value) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Media::IAcrylicBrush2>
{
@@ -2262,7 +2256,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IAcrylicBrushFactory>
{
@@ -2271,11 +2265,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IAcrylicBrushStatics>
{
@@ -2284,7 +2278,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IAcrylicBrushStatics2>
{
@@ -2293,16 +2287,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IArcSegment>
{
@@ -2311,11 +2305,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IArcSegmentStatics>
{
@@ -2324,12 +2318,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IBezierSegment>
{
@@ -2338,9 +2332,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IBezierSegmentStatics>
{
@@ -2357,12 +2351,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IBrush>
{
@@ -2371,7 +2365,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IBrushFactory>
{
@@ -2380,7 +2374,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IBrushOverrides2>
{
@@ -2389,9 +2383,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IBrushStatics>
{
@@ -2408,7 +2402,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ICacheModeFactory>
{
@@ -2417,24 +2411,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ICompositeTransform>
{
@@ -2443,15 +2437,15 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics>
{
@@ -2468,14 +2462,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Media_ICompositionTargetStatics
{
- WINRT_IMPL_AUTO(winrt::event_token) Rendering(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Rendering(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Rendering_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics, &impl::abi_t<winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics>::remove_Rendering>;
- [[nodiscard]] Rendering_revoker Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Rendering(winrt::event_token const& token) const noexcept;
+ auto SurfaceContentsLost(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler) const;
using SurfaceContentsLost_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics, &impl::abi_t<winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics>::remove_SurfaceContentsLost>;
- [[nodiscard]] SurfaceContentsLost_revoker SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto SurfaceContentsLost(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics>
{
@@ -2484,10 +2478,10 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3
{
- WINRT_IMPL_AUTO(winrt::event_token) Rendered(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Media::RenderedEventArgs> const& handler) const;
+ auto Rendered(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Media::RenderedEventArgs> const& handler) const;
using Rendered_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics3, &impl::abi_t<winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics3>::remove_Rendered>;
- [[nodiscard]] Rendered_revoker Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Media::RenderedEventArgs> 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<winrt::Windows::UI::Xaml::Media::RenderedEventArgs> const& handler) const;
+ auto Rendered(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics3>
{
@@ -2496,12 +2490,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IEllipseGeometry>
{
@@ -2510,9 +2504,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IEllipseGeometryStatics>
{
@@ -2521,7 +2515,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Media_IFontFamily
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Source() const;
+ [[nodiscard]] auto Source() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Media::IFontFamily>
{
@@ -2530,7 +2524,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IFontFamilyFactory>
{
@@ -2539,7 +2533,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IFontFamilyStatics2>
{
@@ -2548,10 +2542,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IGeneralTransform>
{
@@ -2560,7 +2554,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IGeneralTransformFactory>
{
@@ -2569,9 +2563,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IGeneralTransformOverrides>
{
@@ -2580,9 +2574,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IGeometry>
{
@@ -2599,10 +2593,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IGeometryGroup>
{
@@ -2611,8 +2605,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IGeometryGroupStatics>
{
@@ -2621,9 +2615,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IGeometryStatics>
{
@@ -2632,14 +2626,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IGradientBrush>
{
@@ -2648,7 +2642,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IGradientBrushFactory>
{
@@ -2657,10 +2651,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IGradientBrushStatics>
{
@@ -2669,10 +2663,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IGradientStop>
{
@@ -2681,8 +2675,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IGradientStopStatics>
{
@@ -2691,16 +2685,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IImageBrush, &impl::abi_t<winrt::Windows::UI::Xaml::Media::IImageBrush>::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<winrt::Windows::UI::Xaml::Media::IImageBrush, &impl::abi_t<winrt::Windows::UI::Xaml::Media::IImageBrush>::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<winrt::Windows::UI::Xaml::Media::IImageBrush>
{
@@ -2709,7 +2703,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IImageBrushStatics>
{
@@ -2734,10 +2728,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ILineGeometry>
{
@@ -2746,8 +2740,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ILineGeometryStatics>
{
@@ -2756,8 +2750,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ILineSegment>
{
@@ -2766,7 +2760,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ILineSegmentStatics>
{
@@ -2775,10 +2769,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ILinearGradientBrush>
{
@@ -2787,7 +2781,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ILinearGradientBrushFactory>
{
@@ -2796,8 +2790,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ILinearGradientBrushStatics>
{
@@ -2806,7 +2800,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ILoadedImageSourceLoadCompletedEventArgs>
{
@@ -2815,13 +2809,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::LoadedImageSurface, winrt::Windows::UI::Xaml::Media::LoadedImageSourceLoadCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto DecodedPhysicalSize() const;
+ [[nodiscard]] auto DecodedSize() const;
+ [[nodiscard]] auto NaturalSize() const;
+ auto LoadCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::LoadedImageSurface, winrt::Windows::UI::Xaml::Media::LoadedImageSourceLoadCompletedEventArgs> const& handler) const;
using LoadCompleted_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Media::ILoadedImageSurface, &impl::abi_t<winrt::Windows::UI::Xaml::Media::ILoadedImageSurface>::remove_LoadCompleted>;
- [[nodiscard]] LoadCompleted_revoker LoadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::LoadedImageSurface, winrt::Windows::UI::Xaml::Media::LoadedImageSourceLoadCompletedEventArgs> 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<winrt::Windows::UI::Xaml::Media::LoadedImageSurface, winrt::Windows::UI::Xaml::Media::LoadedImageSourceLoadCompletedEventArgs> const& handler) const;
+ auto LoadCompleted(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Media::ILoadedImageSurface>
{
@@ -2830,10 +2824,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ILoadedImageSurfaceStatics>
{
@@ -2842,8 +2836,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IMatrix3DProjection>
{
@@ -2852,7 +2846,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IMatrix3DProjectionStatics>
{
@@ -2869,10 +2863,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IMatrixHelperStatics>
{
@@ -2881,8 +2875,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IMatrixTransform>
{
@@ -2891,7 +2885,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IMatrixTransformStatics>
{
@@ -2900,8 +2894,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IMediaTransportControlsThumbnailRequestedEventArgs>
{
@@ -2910,7 +2904,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IPartialMediaFailureDetectedEventArgs>
{
@@ -2919,7 +2913,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Media_IPartialMediaFailureDetectedEventArgs2
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::hresult) ExtendedError() const;
+ [[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Media::IPartialMediaFailureDetectedEventArgs2>
{
@@ -2928,14 +2922,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IPathFigure>
{
@@ -2944,10 +2938,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IPathFigureStatics>
{
@@ -2956,10 +2950,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IPathGeometry>
{
@@ -2968,8 +2962,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IPathGeometryStatics>
{
@@ -2994,31 +2988,31 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IPlaneProjection>
{
@@ -3027,19 +3021,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics>
{
@@ -3048,8 +3042,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IPolyBezierSegment>
{
@@ -3058,7 +3052,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IPolyBezierSegmentStatics>
{
@@ -3067,8 +3061,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IPolyLineSegment>
{
@@ -3077,7 +3071,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IPolyLineSegmentStatics>
{
@@ -3086,8 +3080,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IPolyQuadraticBezierSegment>
{
@@ -3096,7 +3090,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IPolyQuadraticBezierSegmentStatics>
{
@@ -3113,7 +3107,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IProjectionFactory>
{
@@ -3122,10 +3116,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IQuadraticBezierSegment>
{
@@ -3134,8 +3128,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IQuadraticBezierSegmentStatics>
{
@@ -3152,8 +3146,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IRectangleGeometry>
{
@@ -3162,7 +3156,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IRectangleGeometryStatics>
{
@@ -3171,7 +3165,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Media_IRenderedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) FrameDuration() const;
+ [[nodiscard]] auto FrameDuration() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Media::IRenderedEventArgs>
{
@@ -3180,7 +3174,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Media_IRenderingEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::TimeSpan) RenderingTime() const;
+ [[nodiscard]] auto RenderingTime() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Media::IRenderingEventArgs>
{
@@ -3197,7 +3191,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IRevealBackgroundBrushFactory>
{
@@ -3214,7 +3208,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IRevealBorderBrushFactory>
{
@@ -3223,12 +3217,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IRevealBrush>
{
@@ -3237,7 +3231,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IRevealBrushFactory>
{
@@ -3246,12 +3240,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IRevealBrushStatics>
{
@@ -3260,12 +3254,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IRotateTransform>
{
@@ -3274,9 +3268,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IRotateTransformStatics>
{
@@ -3285,14 +3279,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IScaleTransform>
{
@@ -3301,10 +3295,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IScaleTransformStatics>
{
@@ -3329,14 +3323,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ISkewTransform>
{
@@ -3345,10 +3339,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ISkewTransformStatics>
{
@@ -3357,8 +3351,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ISolidColorBrush>
{
@@ -3367,7 +3361,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ISolidColorBrushFactory>
{
@@ -3376,7 +3370,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ISolidColorBrushStatics>
{
@@ -3385,7 +3379,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IThemeShadow>
{
@@ -3394,7 +3388,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IThemeShadowFactory>
{
@@ -3403,12 +3397,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ITileBrush>
{
@@ -3417,7 +3411,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ITileBrushFactory>
{
@@ -3426,9 +3420,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ITileBrushStatics>
{
@@ -3437,12 +3431,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ITimelineMarker>
{
@@ -3451,8 +3445,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ITimelineMarkerRoutedEventArgs>
{
@@ -3461,9 +3455,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ITimelineMarkerStatics>
{
@@ -3488,9 +3482,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ITransformGroup>
{
@@ -3499,7 +3493,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ITransformGroupStatics>
{
@@ -3508,10 +3502,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ITranslateTransform>
{
@@ -3520,8 +3514,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::ITranslateTransformStatics>
{
@@ -3538,14 +3532,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::UIElement>) FindElementsInHostCoordinates(winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Windows::UI::Xaml::UIElement const& subtree) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::UIElement>) FindElementsInHostCoordinates(winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Windows::UI::Xaml::UIElement const& subtree) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable<winrt::Windows::UI::Xaml::UIElement>) 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<winrt::Windows::UI::Xaml::UIElement>) 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<winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics>
{
@@ -3554,7 +3548,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Controls::Primitives::Popup>) GetOpenPopups(winrt::Windows::UI::Xaml::Window const& window) const;
+ auto GetOpenPopups(winrt::Windows::UI::Xaml::Window const& window) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics2>
{
@@ -3563,7 +3557,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics3
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::UI::Xaml::Controls::Primitives::Popup>) GetOpenPopupsForXamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot) const;
+ auto GetOpenPopupsForXamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot) const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics3>
{
@@ -3572,8 +3566,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBase>
{
@@ -3582,7 +3576,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseFactory>
{
@@ -3591,8 +3585,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseOverrides>
{
@@ -3601,8 +3595,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseProtected>
{
@@ -3611,7 +3605,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseStatics>
{
@@ -3628,7 +3622,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IXamlLightFactory>
{
@@ -3637,9 +3631,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IXamlLightOverrides>
{
@@ -3648,8 +3642,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IXamlLightProtected>
{
@@ -3658,10 +3652,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::IXamlLightStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.1.h
index 7556e82052c..0101fed6340 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.2.h
index 714fa2bcdc6..6ab9bba5f93 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.2.h
+++ b/chromium/third_party/nearby/src/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<winrt::Windows::Foundation::IInspectable> const& handler);
using Rendering_revoker = impl::factory_event_revoker<winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics, &impl::abi_t<winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics>::remove_Rendering>;
- [[nodiscard]] static Rendering_revoker Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto Rendering(winrt::event_token const& token);
static auto SurfaceContentsLost(winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
using SurfaceContentsLost_revoker = impl::factory_event_revoker<winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics, &impl::abi_t<winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics>::remove_SurfaceContentsLost>;
- [[nodiscard]] static SurfaceContentsLost_revoker SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
+ [[nodiscard]] static auto SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> const& handler);
static auto SurfaceContentsLost(winrt::event_token const& token);
static auto Rendered(winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Media::RenderedEventArgs> const& handler);
using Rendered_revoker = impl::factory_event_revoker<winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics3, &impl::abi_t<winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics3>::remove_Rendered>;
- [[nodiscard]] static Rendered_revoker Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Media::RenderedEventArgs> const& handler);
+ [[nodiscard]] static auto Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::UI::Xaml::Media::RenderedEventArgs> const& handler);
static auto Rendered(winrt::event_token const& token);
};
struct __declspec(empty_bases) DoubleCollection : winrt::Windows::Foundation::Collections::IVector<double>
@@ -675,7 +675,7 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IGeneralTransformOverridesT
@@ -684,9 +684,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IXamlCompositionBrushBaseOverridesT
@@ -695,8 +695,8 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media
D const& shim() const noexcept { return *static_cast<const D*>(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 <typename D>
class IXamlLightOverridesT
@@ -705,9 +705,9 @@ WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Media
D const& shim() const noexcept { return *static_cast<const D*>(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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.0.h
index 1ef2163a80c..541992b89aa 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IBackEase>
{
@@ -2443,7 +2443,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IBackEaseStatics>
{
@@ -2460,7 +2460,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IBasicConnectedAnimationConfigurationFactory>
{
@@ -2469,8 +2469,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IBeginStoryboard>
{
@@ -2479,7 +2479,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IBeginStoryboardStatics>
{
@@ -2488,10 +2488,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IBounceEase>
{
@@ -2500,8 +2500,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IBounceEaseStatics>
{
@@ -2518,16 +2518,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Media_Animation_IColorAnimation
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) From() const;
- WINRT_IMPL_AUTO(void) From(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) To() const;
- WINRT_IMPL_AUTO(void) To(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color>) By() const;
- WINRT_IMPL_AUTO(void) By(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> 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<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto To() const;
+ auto To(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> const& value) const;
+ [[nodiscard]] auto By() const;
+ auto By(winrt::Windows::Foundation::IReference<winrt::Windows::UI::Color> 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<winrt::Windows::UI::Xaml::Media::Animation::IColorAnimation>
{
@@ -2536,11 +2536,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IColorAnimationStatics>
{
@@ -2549,9 +2549,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IColorAnimationUsingKeyFrames>
{
@@ -2560,7 +2560,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IColorAnimationUsingKeyFramesStatics>
{
@@ -2569,10 +2569,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IColorKeyFrame>
{
@@ -2581,7 +2581,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IColorKeyFrameFactory>
{
@@ -2590,8 +2590,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IColorKeyFrameStatics>
{
@@ -2600,8 +2600,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ICommonNavigationTransitionInfo>
{
@@ -2610,10 +2610,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ICommonNavigationTransitionInfoStatics>
{
@@ -2622,12 +2622,12 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Media_Animation_IConnectedAnimation
{
- WINRT_IMPL_AUTO(winrt::event_token) Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Completed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation, winrt::Windows::Foundation::IInspectable> const& handler) const;
using Completed_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation, &impl::abi_t<winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation>::remove_Completed>;
- [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Media::Animation::ConnectedAnimation, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation>
{
@@ -2636,10 +2636,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::UIElement> 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<winrt::Windows::UI::Xaml::UIElement> 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<winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation2>
{
@@ -2648,8 +2648,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimation3>
{
@@ -2674,12 +2674,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimationService>
{
@@ -2688,7 +2688,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IConnectedAnimationServiceStatics>
{
@@ -2697,10 +2697,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IContentThemeTransition>
{
@@ -2709,8 +2709,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IContentThemeTransitionStatics>
{
@@ -2719,8 +2719,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IContinuumNavigationTransitionInfo>
{
@@ -2729,16 +2729,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IContinuumNavigationTransitionInfoStatics>
{
@@ -2763,7 +2763,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IDirectConnectedAnimationConfigurationFactory>
{
@@ -2804,16 +2804,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Media_Animation_IDoubleAnimation
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) From() const;
- WINRT_IMPL_AUTO(void) From(winrt::Windows::Foundation::IReference<double> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) To() const;
- WINRT_IMPL_AUTO(void) To(winrt::Windows::Foundation::IReference<double> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) By() const;
- WINRT_IMPL_AUTO(void) By(winrt::Windows::Foundation::IReference<double> 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<double> const& value) const;
+ [[nodiscard]] auto To() const;
+ auto To(winrt::Windows::Foundation::IReference<double> const& value) const;
+ [[nodiscard]] auto By() const;
+ auto By(winrt::Windows::Foundation::IReference<double> 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<winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimation>
{
@@ -2822,11 +2822,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimationStatics>
{
@@ -2835,9 +2835,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimationUsingKeyFrames>
{
@@ -2846,7 +2846,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IDoubleAnimationUsingKeyFramesStatics>
{
@@ -2855,10 +2855,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IDoubleKeyFrame>
{
@@ -2867,7 +2867,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IDoubleKeyFrameFactory>
{
@@ -2876,8 +2876,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IDoubleKeyFrameStatics>
{
@@ -2886,8 +2886,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IDragItemThemeAnimation>
{
@@ -2896,7 +2896,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IDragItemThemeAnimationStatics>
{
@@ -2905,12 +2905,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IDragOverThemeAnimation>
{
@@ -2919,9 +2919,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IDragOverThemeAnimationStatics>
{
@@ -2938,14 +2938,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IDrillInThemeAnimation>
{
@@ -2954,10 +2954,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IDrillInThemeAnimationStatics>
{
@@ -2966,14 +2966,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IDrillOutThemeAnimation>
{
@@ -2982,10 +2982,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IDrillOutThemeAnimationStatics>
{
@@ -2994,8 +2994,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IDropTargetItemThemeAnimation>
{
@@ -3004,7 +3004,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IDropTargetItemThemeAnimationStatics>
{
@@ -3013,8 +3013,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IEasingColorKeyFrame>
{
@@ -3023,7 +3023,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IEasingColorKeyFrameStatics>
{
@@ -3032,8 +3032,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IEasingDoubleKeyFrame>
{
@@ -3042,7 +3042,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IEasingDoubleKeyFrameStatics>
{
@@ -3051,9 +3051,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IEasingFunctionBase>
{
@@ -3070,7 +3070,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IEasingFunctionBaseStatics>
{
@@ -3079,8 +3079,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IEasingPointKeyFrame>
{
@@ -3089,7 +3089,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IEasingPointKeyFrameStatics>
{
@@ -3098,8 +3098,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IEdgeUIThemeTransition>
{
@@ -3108,7 +3108,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IEdgeUIThemeTransitionStatics>
{
@@ -3117,10 +3117,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IElasticEase>
{
@@ -3129,8 +3129,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IElasticEaseStatics>
{
@@ -3147,9 +3147,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IEntranceNavigationTransitionInfoStatics>
{
@@ -3158,12 +3158,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IEntranceThemeTransition>
{
@@ -3172,9 +3172,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IEntranceThemeTransitionStatics>
{
@@ -3183,8 +3183,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IExponentialEase>
{
@@ -3193,7 +3193,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IExponentialEaseStatics>
{
@@ -3202,8 +3202,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IFadeInThemeAnimation>
{
@@ -3212,7 +3212,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IFadeInThemeAnimationStatics>
{
@@ -3221,8 +3221,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IFadeOutThemeAnimation>
{
@@ -3231,7 +3231,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IFadeOutThemeAnimationStatics>
{
@@ -3248,8 +3248,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IGravityConnectedAnimationConfiguration2>
{
@@ -3258,7 +3258,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IGravityConnectedAnimationConfigurationFactory>
{
@@ -3267,10 +3267,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IKeySpline>
{
@@ -3287,7 +3287,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IKeyTimeHelperStatics>
{
@@ -3320,8 +3320,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::INavigationThemeTransition>
{
@@ -3330,7 +3330,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::INavigationThemeTransitionStatics>
{
@@ -3347,7 +3347,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::INavigationTransitionInfoFactory>
{
@@ -3356,8 +3356,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::INavigationTransitionInfoOverrides>
{
@@ -3366,9 +3366,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IObjectAnimationUsingKeyFrames>
{
@@ -3377,7 +3377,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IObjectAnimationUsingKeyFramesStatics>
{
@@ -3386,10 +3386,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IObjectKeyFrame>
{
@@ -3398,7 +3398,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IObjectKeyFrameFactory>
{
@@ -3407,8 +3407,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IObjectKeyFrameStatics>
{
@@ -3417,8 +3417,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPaneThemeTransition>
{
@@ -3427,7 +3427,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPaneThemeTransitionStatics>
{
@@ -3436,16 +3436,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Media_Animation_IPointAnimation
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>) From() const;
- WINRT_IMPL_AUTO(void) From(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>) To() const;
- WINRT_IMPL_AUTO(void) To(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point>) By() const;
- WINRT_IMPL_AUTO(void) By(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point> 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<winrt::Windows::Foundation::Point> const& value) const;
+ [[nodiscard]] auto To() const;
+ auto To(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point> const& value) const;
+ [[nodiscard]] auto By() const;
+ auto By(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::Point> 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<winrt::Windows::UI::Xaml::Media::Animation::IPointAnimation>
{
@@ -3454,11 +3454,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPointAnimationStatics>
{
@@ -3467,9 +3467,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPointAnimationUsingKeyFrames>
{
@@ -3478,7 +3478,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPointAnimationUsingKeyFramesStatics>
{
@@ -3487,10 +3487,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPointKeyFrame>
{
@@ -3499,7 +3499,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPointKeyFrameFactory>
{
@@ -3508,8 +3508,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPointKeyFrameStatics>
{
@@ -3518,8 +3518,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPointerDownThemeAnimation>
{
@@ -3528,7 +3528,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPointerDownThemeAnimationStatics>
{
@@ -3537,8 +3537,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPointerUpThemeAnimation>
{
@@ -3547,7 +3547,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPointerUpThemeAnimationStatics>
{
@@ -3556,12 +3556,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPopInThemeAnimation>
{
@@ -3570,9 +3570,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPopInThemeAnimationStatics>
{
@@ -3581,8 +3581,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPopOutThemeAnimation>
{
@@ -3591,7 +3591,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPopOutThemeAnimationStatics>
{
@@ -3600,10 +3600,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPopupThemeTransition>
{
@@ -3612,8 +3612,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPopupThemeTransitionStatics>
{
@@ -3622,8 +3622,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPowerEase>
{
@@ -3632,7 +3632,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IPowerEaseStatics>
{
@@ -3681,12 +3681,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IRepeatBehaviorHelperStatics>
{
@@ -3695,12 +3695,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeAnimation>
{
@@ -3709,9 +3709,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeAnimationStatics>
{
@@ -3728,8 +3728,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeTransition2>
{
@@ -3738,7 +3738,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IRepositionThemeTransitionStatics2>
{
@@ -3763,8 +3763,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ISlideNavigationTransitionInfo2>
{
@@ -3773,7 +3773,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ISlideNavigationTransitionInfoStatics2>
{
@@ -3782,8 +3782,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ISplineColorKeyFrame>
{
@@ -3792,7 +3792,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ISplineColorKeyFrameStatics>
{
@@ -3801,8 +3801,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ISplineDoubleKeyFrame>
{
@@ -3811,7 +3811,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ISplineDoubleKeyFrameStatics>
{
@@ -3820,8 +3820,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ISplinePointKeyFrame>
{
@@ -3830,7 +3830,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ISplinePointKeyFrameStatics>
{
@@ -3839,28 +3839,28 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation>
{
@@ -3869,17 +3869,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ISplitCloseThemeAnimationStatics>
{
@@ -3888,28 +3888,28 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation>
{
@@ -3918,17 +3918,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ISplitOpenThemeAnimationStatics>
{
@@ -3937,16 +3937,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IStoryboard>
{
@@ -3955,13 +3955,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::IStoryboardStatics>
{
@@ -3978,12 +3978,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation>
{
@@ -3992,9 +3992,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ISwipeBackThemeAnimationStatics>
{
@@ -4003,12 +4003,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation>
{
@@ -4017,9 +4017,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ISwipeHintThemeAnimationStatics>
{
@@ -4028,22 +4028,22 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::TimeSpan>) BeginTime() const;
- WINRT_IMPL_AUTO(void) BeginTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto AutoReverse() const;
+ auto AutoReverse(bool value) const;
+ [[nodiscard]] auto BeginTime() const;
+ auto BeginTime(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
using Completed_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Media::Animation::ITimeline, &impl::abi_t<winrt::Windows::UI::Xaml::Media::Animation::ITimeline>::remove_Completed>;
- [[nodiscard]] Completed_revoker Completed(auto_revoke_t, winrt::Windows::Foundation::EventHandler<winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto Completed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::UI::Xaml::Media::Animation::ITimeline>
{
@@ -4052,7 +4052,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ITimelineFactory>
{
@@ -4061,14 +4061,14 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Animation::ITimelineStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.1.h
index 02013ca08db..c6ee69276cd 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.2.h
index 2abef3a7c51..74410fde6fc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Animation.2.h
+++ b/chromium/third_party/nearby/src/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<const D*>(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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.0.h
index bdc24e9d034..7eea2f2f435 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
@@ -475,26 +474,26 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage, &impl::abi_t<winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage>::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<winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage, &impl::abi_t<winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage>::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<winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage, &impl::abi_t<winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage>::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<winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage>
{
@@ -503,8 +502,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage2>
{
@@ -513,12 +512,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImage3>
{
@@ -527,7 +526,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImageFactory>
{
@@ -536,10 +535,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImageStatics>
{
@@ -548,7 +547,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImageStatics2>
{
@@ -557,9 +556,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::IBitmapImageStatics3>
{
@@ -568,10 +567,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::IBitmapSource>
{
@@ -580,7 +579,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::IBitmapSourceFactory>
{
@@ -589,8 +588,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::IBitmapSourceStatics>
{
@@ -599,8 +598,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::IDownloadProgressEventArgs>
{
@@ -609,11 +608,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Storage::Streams::IBuffer>) 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<winrt::Windows::UI::Xaml::Media::Imaging::IRenderTargetBitmap>
{
@@ -622,8 +621,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::IRenderTargetBitmapStatics>
{
@@ -632,7 +631,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::ISoftwareBitmapSource>
{
@@ -649,8 +648,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::ISurfaceImageSourceFactory>
{
@@ -659,21 +658,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource, winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceOpenedEventArgs> 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<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource, winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceOpenedEventArgs> const& handler) const;
using Opened_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource, &impl::abi_t<winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource>::remove_Opened>;
- [[nodiscard]] Opened_revoker Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource, winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceOpenedEventArgs> 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<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource, winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceFailedEventArgs> const& handler) const;
+ [[nodiscard]] auto Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource, winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceOpenedEventArgs> const& handler) const;
+ auto Opened(winrt::event_token const& token) const noexcept;
+ auto OpenFailed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource, winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceFailedEventArgs> const& handler) const;
using OpenFailed_revoker = impl::event_revoker<winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource, &impl::abi_t<winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource>::remove_OpenFailed>;
- [[nodiscard]] OpenFailed_revoker OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource, winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceFailedEventArgs> const& handler) const;
- WINRT_IMPL_AUTO(void) OpenFailed(winrt::event_token const& token) const noexcept;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceLoadStatus>) SetSourceAsync(winrt::Windows::Storage::Streams::IRandomAccessStream const& streamSource) const;
+ [[nodiscard]] auto OpenFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSource, winrt::Windows::UI::Xaml::Media::Imaging::SvgImageSourceFailedEventArgs> 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<winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSource>
{
@@ -682,8 +681,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSourceFactory>
{
@@ -692,7 +691,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSourceFailedEventArgs>
{
@@ -709,9 +708,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::ISvgImageSourceStatics>
{
@@ -728,8 +727,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::IVirtualSurfaceImageSourceFactory>
{
@@ -738,8 +737,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::IWriteableBitmap>
{
@@ -748,7 +747,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::IWriteableBitmapFactory>
{
@@ -765,7 +764,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::IXamlRenderingBackgroundTaskFactory>
{
@@ -774,7 +773,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Imaging::IXamlRenderingBackgroundTaskOverrides>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.1.h
index 62399e1f9d1..ad89e2d56bc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.2.h
index 14ce9935316..3d328c9cfeb 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Imaging.2.h
+++ b/chromium/third_party/nearby/src/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<const D*>(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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.0.h
index ddbb1c3d5c8..ecf1c2539c2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3D>
{
@@ -198,18 +198,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Media3D::ICompositeTransform3DStatics>
{
@@ -226,12 +226,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Media3D::IMatrix3DHelperStatics>
{
@@ -240,12 +240,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Media3D::IPerspectiveTransform3D>
{
@@ -254,9 +254,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Media3D::IPerspectiveTransform3DStatics>
{
@@ -273,7 +273,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Media::Media3D::ITransform3DFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.1.h
index 95a10061c4f..78e6687623f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.2.h
index 35808240bf6..17c431eea5c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Media.Media3D.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.0.h
index 2ce67679e5d..3392a375764 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Xaml::Navigation::IFrameNavigationOptions>
{
@@ -259,7 +259,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Navigation::IFrameNavigationOptionsFactory>
{
@@ -268,10 +268,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Navigation::INavigatingCancelEventArgs>
{
@@ -280,8 +280,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Navigation::INavigatingCancelEventArgs2>
{
@@ -290,12 +290,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Navigation::INavigationEventArgs>
{
@@ -304,7 +304,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Navigation::INavigationEventArgs2>
{
@@ -313,10 +313,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Navigation::INavigationFailedEventArgs>
{
@@ -325,9 +325,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Navigation::IPageStackEntry>
{
@@ -336,7 +336,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Navigation::IPageStackEntryFactory>
{
@@ -345,7 +345,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Navigation::IPageStackEntryStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.1.h
index 66027aa70eb..cc57315b339 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.2.h
index b3852c07cde..0ba97e476e8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Navigation.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.0.h
index 16a7145a442..4a70139d998 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Xaml::Printing::IAddPagesEventArgs>
{
@@ -168,7 +168,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Printing_IGetPreviewPageEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(int32_t) PageNumber() const;
+ [[nodiscard]] auto PageNumber() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Printing::IGetPreviewPageEventArgs>
{
@@ -177,8 +177,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Printing::IPaginateEventArgs>
{
@@ -187,24 +187,24 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Printing::IPrintDocument, &impl::abi_t<winrt::Windows::UI::Xaml::Printing::IPrintDocument>::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<winrt::Windows::UI::Xaml::Printing::IPrintDocument, &impl::abi_t<winrt::Windows::UI::Xaml::Printing::IPrintDocument>::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<winrt::Windows::UI::Xaml::Printing::IPrintDocument, &impl::abi_t<winrt::Windows::UI::Xaml::Printing::IPrintDocument>::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<winrt::Windows::UI::Xaml::Printing::IPrintDocument>
{
@@ -213,7 +213,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Printing::IPrintDocumentFactory>
{
@@ -222,7 +222,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Printing::IPrintDocumentStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.1.h
index 51bf273c22b..a920689af14 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.2.h
index 30ae41e0de9..10439108c81 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Printing.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.0.h
index 1fb67985226..bcd3e1d6eba 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Xaml::Resources::ICustomXamlResourceLoaderFactory>
{
@@ -76,7 +76,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Resources::ICustomXamlResourceLoaderOverrides>
{
@@ -85,8 +85,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Resources::ICustomXamlResourceLoaderStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.1.h
index a796648c988..5a4642af720 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.2.h
index c1ba29284be..525a55c33e4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Resources.2.h
+++ b/chromium/third_party/nearby/src/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<const D*>(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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.0.h
index bf8fb675925..523061413d9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.0.h
+++ b/chromium/third_party/nearby/src/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 <typename D>
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<winrt::Windows::UI::Xaml::Shapes::ILine>
{
@@ -313,10 +313,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Shapes::ILineStatics>
{
@@ -325,8 +325,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Shapes::IPath>
{
@@ -335,7 +335,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Shapes::IPathFactory>
{
@@ -344,7 +344,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Shapes::IPathStatics>
{
@@ -353,10 +353,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Shapes::IPolygon>
{
@@ -365,8 +365,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Shapes::IPolygonStatics>
{
@@ -375,10 +375,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Shapes::IPolyline>
{
@@ -387,8 +387,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Shapes::IPolylineStatics>
{
@@ -397,10 +397,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Shapes::IRectangle>
{
@@ -409,8 +409,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Shapes::IRectangleStatics>
{
@@ -419,29 +419,29 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Shapes::IShape>
{
@@ -450,7 +450,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_UI_Xaml_Shapes_IShape2
{
- WINRT_IMPL_AUTO(winrt::Windows::UI::Composition::CompositionBrush) GetAlphaMask() const;
+ auto GetAlphaMask() const;
};
template <> struct consume<winrt::Windows::UI::Xaml::Shapes::IShape2>
{
@@ -459,7 +459,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Shapes::IShapeFactory>
{
@@ -468,17 +468,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::UI::Xaml::Shapes::IShapeStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.1.h
index 0aa2ece06a9..e37f35b4f6b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.2.h
index db679e9afe8..8dc279d3389 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.UI.Xaml.Shapes.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.0.h
index 7e281fc0d2a..a245632ec35 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> 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 <typename D>
struct consume_Windows_Web_IUriToStreamResolver
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation<winrt::Windows::Storage::Streams::IInputStream>) UriToStreamAsync(winrt::Windows::Foundation::Uri const& uri) const;
+ auto UriToStreamAsync(winrt::Windows::Foundation::Uri const& uri) const;
};
template <> struct consume<winrt::Windows::Web::IUriToStreamResolver>
{
@@ -114,7 +109,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::IWebErrorStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.1.h
index 221f2b771ea..ec3c9b0653d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.2.h
index 1cc1a6da40e..0d2fc5760ef 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.0.h
index 2584af8bd2a..02fc2d0c003 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TProgress> struct __declspec(empty_bases) IAsyncActionWithProgress;
- template <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
struct Uri;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> 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 <typename D>
struct consume_Windows_Web_AtomPub_IAtomPubClient
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::AtomPub::ServiceDocument, winrt::Windows::Web::Syndication::RetrievalProgress>) RetrieveServiceDocumentAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Storage::Streams::IInputStream, winrt::Windows::Web::Syndication::RetrievalProgress>) RetrieveMediaResourceAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Syndication::SyndicationItem, winrt::Windows::Web::Syndication::RetrievalProgress>) RetrieveResourceAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Syndication::SyndicationItem, winrt::Windows::Web::Syndication::TransferProgress>) 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<winrt::Windows::Web::Syndication::SyndicationItem, winrt::Windows::Web::Syndication::TransferProgress>) 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<winrt::Windows::Web::Syndication::TransferProgress>) 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<winrt::Windows::Web::Syndication::TransferProgress>) UpdateResourceAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Syndication::SyndicationItem const& item) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress<winrt::Windows::Web::Syndication::TransferProgress>) UpdateResourceItemAsync(winrt::Windows::Web::Syndication::SyndicationItem const& item) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress<winrt::Windows::Web::Syndication::TransferProgress>) DeleteResourceAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncActionWithProgress<winrt::Windows::Web::Syndication::TransferProgress>) 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<winrt::Windows::Web::AtomPub::IAtomPubClient>
{
@@ -141,7 +132,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::AtomPub::IAtomPubClientFactory>
{
@@ -150,10 +141,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::SyndicationCategory>) Categories() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<hstring>) Accepts() const;
+ [[nodiscard]] auto Title() const;
+ [[nodiscard]] auto Uri() const;
+ [[nodiscard]] auto Categories() const;
+ [[nodiscard]] auto Accepts() const;
};
template <> struct consume<winrt::Windows::Web::AtomPub::IResourceCollection>
{
@@ -162,7 +153,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_AtomPub_IServiceDocument
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Web::AtomPub::Workspace>) Workspaces() const;
+ [[nodiscard]] auto Workspaces() const;
};
template <> struct consume<winrt::Windows::Web::AtomPub::IServiceDocument>
{
@@ -171,8 +162,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::AtomPub::ResourceCollection>) Collections() const;
+ [[nodiscard]] auto Title() const;
+ [[nodiscard]] auto Collections() const;
};
template <> struct consume<winrt::Windows::Web::AtomPub::IWorkspace>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.1.h
index 21cd15c584c..40b5b8655be 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.2.h
index 1eba4a20bf2..508887197e5 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.AtomPub.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.0.h
index 94709627540..6087878f176 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
template <typename T> struct __declspec(empty_bases) IReference;
struct Uri;
}
@@ -14,7 +13,6 @@ WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
template <typename K, typename V> struct __declspec(empty_bases) IKeyValuePair;
- template <typename K, typename V> struct __declspec(empty_bases) IMap;
template <typename T> 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 <typename D>
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<winrt::Windows::Web::Http::IHttpBufferContentFactory>
{
@@ -625,17 +622,17 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_IHttpClient
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>) DeleteAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>) GetAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>) GetAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Storage::Streams::IBuffer, winrt::Windows::Web::Http::HttpProgress>) GetBufferAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Storage::Streams::IInputStream, winrt::Windows::Web::Http::HttpProgress>) GetInputStreamAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<hstring, winrt::Windows::Web::Http::HttpProgress>) GetStringAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>) PostAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>) PutAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>) SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>) 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<winrt::Windows::Web::Http::IHttpClient>
{
@@ -644,16 +641,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_IHttpClient2
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>) TryDeleteAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>) TryGetAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>) TryGetAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::HttpCompletionOption const& completionOption) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpGetBufferResult, winrt::Windows::Web::Http::HttpProgress>) TryGetBufferAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpGetInputStreamResult, winrt::Windows::Web::Http::HttpProgress>) TryGetInputStreamAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpGetStringResult, winrt::Windows::Web::Http::HttpProgress>) TryGetStringAsync(winrt::Windows::Foundation::Uri const& uri) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>) TryPostAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>) TryPutAsync(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Web::Http::IHttpContent const& content) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>) TrySendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpRequestResult, winrt::Windows::Web::Http::HttpProgress>) 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<winrt::Windows::Web::Http::IHttpClient2>
{
@@ -662,7 +659,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpClientFactory>
{
@@ -671,13 +668,13 @@ namespace winrt::impl
template <typename D>
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<uint64_t, uint64_t>) BufferAllAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Storage::Streams::IBuffer, uint64_t>) ReadAsBufferAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Storage::Streams::IInputStream, uint64_t>) ReadAsInputStreamAsync() const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<hstring, uint64_t>) ReadAsStringAsync() const;
- WINRT_IMPL_AUTO(bool) TryComputeLength(uint64_t& length) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<uint64_t, uint64_t>) 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<winrt::Windows::Web::Http::IHttpContent>
{
@@ -686,17 +683,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) Expires() const;
- WINRT_IMPL_AUTO(void) Expires(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Web::Http::IHttpCookie>
{
@@ -705,7 +702,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpCookieFactory>
{
@@ -714,10 +711,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpCookieManager>
{
@@ -726,7 +723,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_IHttpFormUrlEncodedContentFactory
{
- WINRT_IMPL_AUTO(winrt::Windows::Web::Http::HttpFormUrlEncodedContent) Create(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& content) const;
+ auto Create(param::iterable<winrt::Windows::Foundation::Collections::IKeyValuePair<hstring, hstring>> const& content) const;
};
template <> struct consume<winrt::Windows::Web::Http::IHttpFormUrlEncodedContentFactory>
{
@@ -735,11 +732,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpGetBufferResult>
{
@@ -748,11 +745,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpGetInputStreamResult>
{
@@ -761,11 +758,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpGetStringResult>
{
@@ -774,7 +771,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_IHttpMethod
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Method() const;
+ [[nodiscard]] auto Method() const;
};
template <> struct consume<winrt::Windows::Web::Http::IHttpMethod>
{
@@ -783,7 +780,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpMethodFactory>
{
@@ -792,13 +789,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpMethodStatics>
{
@@ -807,7 +804,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpMultipartContent>
{
@@ -816,8 +813,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpMultipartContentFactory>
{
@@ -826,9 +823,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpMultipartFormDataContent>
{
@@ -837,7 +834,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpMultipartFormDataContentFactory>
{
@@ -846,15 +843,15 @@ namespace winrt::impl
template <typename D>
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<hstring, winrt::Windows::Foundation::IInspectable>) 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<winrt::Windows::Web::Http::IHttpRequestMessage>
{
@@ -863,7 +860,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpRequestMessageFactory>
{
@@ -872,10 +869,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpRequestResult>
{
@@ -884,21 +881,21 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpResponseMessage>
{
@@ -907,7 +904,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpResponseMessageFactory>
{
@@ -916,7 +913,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpStreamContentFactory>
{
@@ -925,9 +922,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::IHttpStringContentFactory>
{
@@ -936,10 +933,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) ServerCertificateErrors() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) ServerIntermediateCertificates() const;
+ [[nodiscard]] auto ServerCertificate() const;
+ [[nodiscard]] auto ServerCertificateErrorSeverity() const;
+ [[nodiscard]] auto ServerCertificateErrors() const;
+ [[nodiscard]] auto ServerIntermediateCertificates() const;
};
template <> struct consume<winrt::Windows::Web::Http::IHttpTransportInformation>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.1.h
index 2077992c205..fbc27f991c0 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.2.h
index 7df20d72c46..fc035d938ef 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.0.h
index 0e7a1605a9d..5b00eb44fec 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IReference;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::System::Diagnostics
{
struct ProcessDiagnosticInfo;
@@ -181,20 +176,20 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs> const& handler) const;
+ auto Start() const;
+ auto Stop() const;
+ auto RequestSent(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs> const& handler) const;
using RequestSent_revoker = impl::event_revoker<winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider, &impl::abi_t<winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider>::remove_RequestSent>;
- [[nodiscard]] RequestSent_revoker RequestSent(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs> 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<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderResponseReceivedEventArgs> const& handler) const;
+ [[nodiscard]] auto RequestSent(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestSentEventArgs> const& handler) const;
+ auto RequestSent(winrt::event_token const& token) const noexcept;
+ auto ResponseReceived(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderResponseReceivedEventArgs> const& handler) const;
using ResponseReceived_revoker = impl::event_revoker<winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider, &impl::abi_t<winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider>::remove_ResponseReceived>;
- [[nodiscard]] ResponseReceived_revoker ResponseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderResponseReceivedEventArgs> 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<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto ResponseReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderResponseReceivedEventArgs> const& handler) const;
+ auto ResponseReceived(winrt::event_token const& token) const noexcept;
+ auto RequestResponseCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs> const& handler) const;
using RequestResponseCompleted_revoker = impl::event_revoker<winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider, &impl::abi_t<winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider>::remove_RequestResponseCompleted>;
- [[nodiscard]] RequestResponseCompleted_revoker RequestResponseCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs> 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<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProvider, winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticProviderRequestResponseCompletedEventArgs> const& handler) const;
+ auto RequestResponseCompleted(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProvider>
{
@@ -203,13 +198,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticSourceLocation>) 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<winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseCompletedEventArgs>
{
@@ -218,15 +213,15 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_Diagnostics_IHttpDiagnosticProviderRequestResponseTimestamps
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) CacheCheckedTimestamp() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) ConnectionInitiatedTimestamp() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) NameResolvedTimestamp() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) SslNegotiatedTimestamp() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) ConnectionCompletedTimestamp() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) RequestSentTimestamp() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) RequestCompletedTimestamp() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) ResponseReceivedTimestamp() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) 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<winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestResponseTimestamps>
{
@@ -235,13 +230,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Diagnostics::HttpDiagnosticSourceLocation>) 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<winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderRequestSentEventArgs>
{
@@ -250,9 +245,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderResponseReceivedEventArgs>
{
@@ -261,7 +256,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticProviderStatics>
{
@@ -270,9 +265,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Diagnostics::IHttpDiagnosticSourceLocation>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.1.h
index 7047f5a3d3c..0082451a22e 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.2.h
index 19991b29d8b..5540253890c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Diagnostics.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.0.h
index 0653baafa72..aecfeaaea77 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
- template <typename T> 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 <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) 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<winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter>
{
@@ -240,8 +231,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter2>
{
@@ -250,8 +241,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter3>
{
@@ -260,11 +251,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter4
{
- WINRT_IMPL_AUTO(winrt::event_token) ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Filters::HttpBaseProtocolFilter, winrt::Windows::Web::Http::Filters::HttpServerCustomValidationRequestedEventArgs> const& handler) const;
+ auto ServerCustomValidationRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Filters::HttpBaseProtocolFilter, winrt::Windows::Web::Http::Filters::HttpServerCustomValidationRequestedEventArgs> const& handler) const;
using ServerCustomValidationRequested_revoker = impl::event_revoker<winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter4, &impl::abi_t<winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter4>::remove_ServerCustomValidationRequested>;
- [[nodiscard]] ServerCustomValidationRequested_revoker ServerCustomValidationRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::Http::Filters::HttpBaseProtocolFilter, winrt::Windows::Web::Http::Filters::HttpServerCustomValidationRequestedEventArgs> 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<winrt::Windows::Web::Http::Filters::HttpBaseProtocolFilter, winrt::Windows::Web::Http::Filters::HttpServerCustomValidationRequestedEventArgs> const& handler) const;
+ auto ServerCustomValidationRequested(winrt::event_token const& token) const noexcept;
+ auto ClearAuthenticationCache() const;
};
template <> struct consume<winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter4>
{
@@ -273,7 +264,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_Filters_IHttpBaseProtocolFilter5
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::System::User) User() const;
+ [[nodiscard]] auto User() const;
};
template <> struct consume<winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilter5>
{
@@ -282,7 +273,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Filters::IHttpBaseProtocolFilterStatics>
{
@@ -291,10 +282,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Filters::IHttpCacheControl>
{
@@ -303,7 +294,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_Filters_IHttpFilter
{
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperationWithProgress<winrt::Windows::Web::Http::HttpResponseMessage, winrt::Windows::Web::Http::HttpProgress>) SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const;
+ auto SendRequestAsync(winrt::Windows::Web::Http::HttpRequestMessage const& request) const;
};
template <> struct consume<winrt::Windows::Web::Http::Filters::IHttpFilter>
{
@@ -312,13 +303,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Security::Cryptography::Certificates::ChainValidationResult>) ServerCertificateErrors() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Security::Cryptography::Certificates::Certificate>) 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<winrt::Windows::Web::Http::Filters::IHttpServerCustomValidationRequestedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.1.h
index 7756e1f6dc2..49bdaf5cf52 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.2.h
index 0a322b94b2a..7d05d73fe3a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Filters.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.0.h
index b7c1c28f902..16e0fe4a645 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.0.h
+++ b/chromium/third_party/nearby/src/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 <typename T> struct __declspec(empty_bases) IReference;
struct Uri;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::Networking
{
struct HostName;
@@ -1039,16 +1035,16 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_Headers_IHttpCacheDirectiveHeaderValueCollection
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) MaxAge() const;
- WINRT_IMPL_AUTO(void) MaxAge(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) MaxStale() const;
- WINRT_IMPL_AUTO(void) MaxStale(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) MinFresh() const;
- WINRT_IMPL_AUTO(void) MinFresh(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) SharedMaxAge() const;
- WINRT_IMPL_AUTO(void) SharedMaxAge(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ [[nodiscard]] auto MaxStale() const;
+ auto MaxStale(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ [[nodiscard]] auto MinFresh() const;
+ auto MinFresh(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ [[nodiscard]] auto SharedMaxAge() const;
+ auto SharedMaxAge(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> const& value) const;
+ auto ParseAdd(param::hstring const& input) const;
+ auto TryParseAdd(param::hstring const& input) const;
};
template <> struct consume<winrt::Windows::Web::Http::Headers::IHttpCacheDirectiveHeaderValueCollection>
{
@@ -1057,9 +1053,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_Headers_IHttpChallengeHeaderValue
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>) 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<winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValue>
{
@@ -1068,8 +1064,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueCollection>
{
@@ -1078,8 +1074,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueFactory>
{
@@ -1088,8 +1084,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpChallengeHeaderValueStatics>
{
@@ -1098,7 +1094,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_Headers_IHttpConnectionOptionHeaderValue
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Token() const;
+ [[nodiscard]] auto Token() const;
};
template <> struct consume<winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValue>
{
@@ -1107,8 +1103,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValueCollection>
{
@@ -1117,7 +1113,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValueFactory>
{
@@ -1126,8 +1122,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpConnectionOptionHeaderValueStatics>
{
@@ -1136,7 +1132,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_Headers_IHttpContentCodingHeaderValue
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentCoding() const;
+ [[nodiscard]] auto ContentCoding() const;
};
template <> struct consume<winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValue>
{
@@ -1145,8 +1141,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValueCollection>
{
@@ -1155,7 +1151,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValueFactory>
{
@@ -1164,8 +1160,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpContentCodingHeaderValueStatics>
{
@@ -1174,8 +1170,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_Headers_IHttpContentCodingWithQualityHeaderValue
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) ContentCoding() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) Quality() const;
+ [[nodiscard]] auto ContentCoding() const;
+ [[nodiscard]] auto Quality() const;
};
template <> struct consume<winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValue>
{
@@ -1184,8 +1180,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueCollection>
{
@@ -1194,8 +1190,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueFactory>
{
@@ -1204,8 +1200,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpContentCodingWithQualityHeaderValueStatics>
{
@@ -1214,17 +1210,17 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>) Parameters() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) Size() const;
- WINRT_IMPL_AUTO(void) Size(winrt::Windows::Foundation::IReference<uint64_t> 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<uint64_t> const& value) const;
};
template <> struct consume<winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValue>
{
@@ -1233,7 +1229,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValueFactory>
{
@@ -1242,8 +1238,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpContentDispositionHeaderValueStatics>
{
@@ -1252,26 +1248,26 @@ namespace winrt::impl
template <typename D>
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<uint64_t>) ContentLength() const;
- WINRT_IMPL_AUTO(void) ContentLength(winrt::Windows::Foundation::IReference<uint64_t> 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<winrt::Windows::Foundation::DateTime>) Expires() const;
- WINRT_IMPL_AUTO(void) Expires(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) LastModified() const;
- WINRT_IMPL_AUTO(void) LastModified(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<uint64_t> 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<winrt::Windows::Foundation::DateTime> const& value) const;
+ [[nodiscard]] auto LastModified() const;
+ auto LastModified(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Web::Http::Headers::IHttpContentHeaderCollection>
{
@@ -1280,11 +1276,11 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_Headers_IHttpContentRangeHeaderValue
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) FirstBytePosition() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) LastBytePosition() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint64_t>) 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<winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValue>
{
@@ -1293,9 +1289,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValueFactory>
{
@@ -1304,8 +1300,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpContentRangeHeaderValueStatics>
{
@@ -1314,9 +1310,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValue>
{
@@ -1325,8 +1321,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueCollection>
{
@@ -1335,8 +1331,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueFactory>
{
@@ -1345,8 +1341,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpCookiePairHeaderValueStatics>
{
@@ -1355,9 +1351,9 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_Headers_IHttpCredentialsHeaderValue
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>) 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<winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValue>
{
@@ -1366,8 +1362,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValueFactory>
{
@@ -1376,8 +1372,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpCredentialsHeaderValueStatics>
{
@@ -1386,8 +1382,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_Headers_IHttpDateOrDeltaHeaderValue
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) Date() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) Delta() const;
+ [[nodiscard]] auto Date() const;
+ [[nodiscard]] auto Delta() const;
};
template <> struct consume<winrt::Windows::Web::Http::Headers::IHttpDateOrDeltaHeaderValue>
{
@@ -1396,8 +1392,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpDateOrDeltaHeaderValueStatics>
{
@@ -1406,10 +1402,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>) Parameters() const;
+ [[nodiscard]] auto Name() const;
+ [[nodiscard]] auto Value() const;
+ auto Value(param::hstring const& value) const;
+ [[nodiscard]] auto Parameters() const;
};
template <> struct consume<winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValue>
{
@@ -1418,8 +1414,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueCollection>
{
@@ -1428,8 +1424,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueFactory>
{
@@ -1438,8 +1434,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpExpectationHeaderValueStatics>
{
@@ -1448,8 +1444,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpLanguageHeaderValueCollection>
{
@@ -1458,8 +1454,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_Headers_IHttpLanguageRangeWithQualityHeaderValue
{
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) LanguageRange() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) Quality() const;
+ [[nodiscard]] auto LanguageRange() const;
+ [[nodiscard]] auto Quality() const;
};
template <> struct consume<winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValue>
{
@@ -1468,8 +1464,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueCollection>
{
@@ -1478,8 +1474,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueFactory>
{
@@ -1488,8 +1484,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpLanguageRangeWithQualityHeaderValueStatics>
{
@@ -1498,11 +1494,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>) 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<winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValue>
{
@@ -1511,7 +1507,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValueFactory>
{
@@ -1520,8 +1516,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpMediaTypeHeaderValueStatics>
{
@@ -1530,13 +1526,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>) Parameters() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<double>) Quality() const;
- WINRT_IMPL_AUTO(void) Quality(winrt::Windows::Foundation::IReference<double> 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<double> const& value) const;
};
template <> struct consume<winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValue>
{
@@ -1545,8 +1541,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueCollection>
{
@@ -1555,8 +1551,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueFactory>
{
@@ -1565,8 +1561,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpMediaTypeWithQualityHeaderValueStatics>
{
@@ -1575,8 +1571,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpMethodHeaderValueCollection>
{
@@ -1585,9 +1581,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValue>
{
@@ -1596,8 +1592,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValueFactory>
{
@@ -1606,8 +1602,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpNameValueHeaderValueStatics>
{
@@ -1616,8 +1612,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpProductHeaderValue>
{
@@ -1626,8 +1622,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpProductHeaderValueFactory>
{
@@ -1636,8 +1632,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpProductHeaderValueStatics>
{
@@ -1646,8 +1642,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValue>
{
@@ -1656,8 +1652,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueCollection>
{
@@ -1666,8 +1662,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueFactory>
{
@@ -1676,8 +1672,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpProductInfoHeaderValueStatics>
{
@@ -1686,35 +1682,35 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Foundation::DateTime>) Date() const;
- WINRT_IMPL_AUTO(void) Date(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime>) IfModifiedSince() const;
- WINRT_IMPL_AUTO(void) IfModifiedSince(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime>) IfUnmodifiedSince() const;
- WINRT_IMPL_AUTO(void) IfUnmodifiedSince(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<uint32_t>) MaxForwards() const;
- WINRT_IMPL_AUTO(void) MaxForwards(winrt::Windows::Foundation::IReference<uint32_t> 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<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::DateTime> const& value) const;
+ [[nodiscard]] auto IfUnmodifiedSince() const;
+ auto IfUnmodifiedSince(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> const& value) const;
+ [[nodiscard]] auto MaxForwards() const;
+ auto MaxForwards(winrt::Windows::Foundation::IReference<uint32_t> 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<winrt::Windows::Web::Http::Headers::IHttpRequestHeaderCollection>
{
@@ -1723,22 +1719,22 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_Headers_IHttpResponseHeaderCollection
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan>) Age() const;
- WINRT_IMPL_AUTO(void) Age(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::Foundation::DateTime>) Date() const;
- WINRT_IMPL_AUTO(void) Date(winrt::Windows::Foundation::IReference<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Foundation::TimeSpan> 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<winrt::Windows::Foundation::DateTime> 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<winrt::Windows::Web::Http::Headers::IHttpResponseHeaderCollection>
{
@@ -1747,8 +1743,8 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Http_Headers_IHttpTransferCodingHeaderValue
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Http::Headers::HttpNameValueHeaderValue>) Parameters() const;
- [[nodiscard]] WINRT_IMPL_AUTO(hstring) Value() const;
+ [[nodiscard]] auto Parameters() const;
+ [[nodiscard]] auto Value() const;
};
template <> struct consume<winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValue>
{
@@ -1757,8 +1753,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValueCollection>
{
@@ -1767,7 +1763,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValueFactory>
{
@@ -1776,8 +1772,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Http::Headers::IHttpTransferCodingHeaderValueStatics>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.1.h
index a75e017fe29..15a511d82e2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.2.h
index 3029b993fdb..9b66d97c38c 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Http.Headers.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.0.h
index 919e5181fff..b4baaa39d66 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult, typename TProgress> struct __declspec(empty_bases) IAsyncOperationWithProgress;
struct Uri;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVector;
-}
WINRT_EXPORT namespace winrt::Windows::Security::Credentials
{
struct PasswordCredential;
@@ -483,12 +478,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationAttribute>
{
@@ -497,7 +492,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationAttributeFactory>
{
@@ -506,12 +501,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationCategory>
{
@@ -520,8 +515,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationCategoryFactory>
{
@@ -530,18 +525,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::SyndicationFeed, winrt::Windows::Web::Syndication::RetrievalProgress>) 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<winrt::Windows::Web::Syndication::ISyndicationClient>
{
@@ -550,7 +545,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationClientFactory>
{
@@ -559,8 +554,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationContent>
{
@@ -569,8 +564,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationContentFactory>
{
@@ -579,7 +574,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationErrorStatics>
{
@@ -588,34 +583,34 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Syndication_ISyndicationFeed
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationPerson>) Authors() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationCategory>) Categories() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationPerson>) 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<winrt::Windows::Web::Syndication::SyndicationItem>) 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<winrt::Windows::Web::Syndication::SyndicationLink>) 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<winrt::Windows::Web::Syndication::ISyndicationFeed>
{
@@ -624,7 +619,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationFeedFactory>
{
@@ -633,12 +628,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationGenerator>
{
@@ -647,7 +642,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationGeneratorFactory>
{
@@ -656,34 +651,34 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_Syndication_ISyndicationItem
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationPerson>) Authors() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationCategory>) Categories() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::SyndicationPerson>) 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<winrt::Windows::Web::Syndication::SyndicationLink>) 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<winrt::Windows::Web::Syndication::ISyndicationItem>
{
@@ -692,7 +687,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationItemFactory>
{
@@ -701,18 +696,18 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationLink>
{
@@ -721,8 +716,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationLinkFactory>
{
@@ -731,19 +726,19 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::SyndicationAttribute>) AttributeExtensions() const;
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector<winrt::Windows::Web::Syndication::ISyndicationNode>) 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<winrt::Windows::Web::Syndication::ISyndicationNode>
{
@@ -752,7 +747,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationNodeFactory>
{
@@ -761,12 +756,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationPerson>
{
@@ -775,8 +770,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationPersonFactory>
{
@@ -785,12 +780,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationText>
{
@@ -799,8 +794,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::Syndication::ISyndicationTextFactory>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.1.h
index e4b12a4fc16..30f5b15bcdc 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.2.h
index 7e73831d053..bb9ce636e9f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.Syndication.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.0.h
index 7a2d435e6de..aabd87423f4 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
- template <typename T> struct __declspec(empty_bases) IVectorView;
}
WINRT_EXPORT namespace winrt::Windows::Storage::Streams
{
@@ -401,97 +395,97 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::WebViewControlDeferredPermissionRequest>) 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<hstring>) InvokeScriptAsync(param::hstring const& scriptName, param::async_iterable<hstring> 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<winrt::Windows::ApplicationModel::DataTransfer::DataPackage>) 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> 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<hstring> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> const& handler) const;
using NavigationStarting_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_NavigationStarting>;
- [[nodiscard]] NavigationStarting_revoker NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> const& handler) const;
+ [[nodiscard]] auto NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> const& handler) const;
+ auto NavigationStarting(winrt::event_token const& token) const noexcept;
+ auto ContentLoading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> const& handler) const;
using ContentLoading_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_ContentLoading>;
- [[nodiscard]] ContentLoading_revoker ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> const& handler) const;
+ [[nodiscard]] auto ContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> const& handler) const;
+ auto ContentLoading(winrt::event_token const& token) const noexcept;
+ auto DOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> const& handler) const;
using DOMContentLoaded_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_DOMContentLoaded>;
- [[nodiscard]] DOMContentLoaded_revoker DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto DOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> const& handler) const;
+ auto DOMContentLoaded(winrt::event_token const& token) const noexcept;
+ auto NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> const& handler) const;
using NavigationCompleted_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_NavigationCompleted>;
- [[nodiscard]] NavigationCompleted_revoker NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> const& handler) const;
+ [[nodiscard]] auto NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> const& handler) const;
+ auto NavigationCompleted(winrt::event_token const& token) const noexcept;
+ auto FrameNavigationStarting(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> const& handler) const;
using FrameNavigationStarting_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_FrameNavigationStarting>;
- [[nodiscard]] FrameNavigationStarting_revoker FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> const& handler) const;
+ [[nodiscard]] auto FrameNavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationStartingEventArgs> const& handler) const;
+ auto FrameNavigationStarting(winrt::event_token const& token) const noexcept;
+ auto FrameContentLoading(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> const& handler) const;
using FrameContentLoading_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_FrameContentLoading>;
- [[nodiscard]] FrameContentLoading_revoker FrameContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> const& handler) const;
+ [[nodiscard]] auto FrameContentLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlContentLoadingEventArgs> const& handler) const;
+ auto FrameContentLoading(winrt::event_token const& token) const noexcept;
+ auto FrameDOMContentLoaded(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> const& handler) const;
using FrameDOMContentLoaded_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_FrameDOMContentLoaded>;
- [[nodiscard]] FrameDOMContentLoaded_revoker FrameDOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> const& handler) const;
+ [[nodiscard]] auto FrameDOMContentLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlDOMContentLoadedEventArgs> const& handler) const;
+ auto FrameDOMContentLoaded(winrt::event_token const& token) const noexcept;
+ auto FrameNavigationCompleted(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> const& handler) const;
using FrameNavigationCompleted_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_FrameNavigationCompleted>;
- [[nodiscard]] FrameNavigationCompleted_revoker FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlScriptNotifyEventArgs> const& handler) const;
+ [[nodiscard]] auto FrameNavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNavigationCompletedEventArgs> const& handler) const;
+ auto FrameNavigationCompleted(winrt::event_token const& token) const noexcept;
+ auto ScriptNotify(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlScriptNotifyEventArgs> const& handler) const;
using ScriptNotify_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_ScriptNotify>;
- [[nodiscard]] ScriptNotify_revoker ScriptNotify(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlScriptNotifyEventArgs> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlLongRunningScriptDetectedEventArgs> const& handler) const;
+ [[nodiscard]] auto ScriptNotify(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlScriptNotifyEventArgs> const& handler) const;
+ auto ScriptNotify(winrt::event_token const& token) const noexcept;
+ auto LongRunningScriptDetected(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlLongRunningScriptDetectedEventArgs> const& handler) const;
using LongRunningScriptDetected_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_LongRunningScriptDetected>;
- [[nodiscard]] LongRunningScriptDetected_revoker LongRunningScriptDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlLongRunningScriptDetectedEventArgs> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto LongRunningScriptDetected(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlLongRunningScriptDetectedEventArgs> const& handler) const;
+ auto LongRunningScriptDetected(winrt::event_token const& token) const noexcept;
+ auto UnsafeContentWarningDisplaying(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
using UnsafeContentWarningDisplaying_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_UnsafeContentWarningDisplaying>;
- [[nodiscard]] UnsafeContentWarningDisplaying_revoker UnsafeContentWarningDisplaying(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnviewableContentIdentifiedEventArgs> const& handler) const;
+ [[nodiscard]] auto UnsafeContentWarningDisplaying(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto UnsafeContentWarningDisplaying(winrt::event_token const& token) const noexcept;
+ auto UnviewableContentIdentified(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnviewableContentIdentifiedEventArgs> const& handler) const;
using UnviewableContentIdentified_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_UnviewableContentIdentified>;
- [[nodiscard]] UnviewableContentIdentified_revoker UnviewableContentIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnviewableContentIdentifiedEventArgs> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlPermissionRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto UnviewableContentIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnviewableContentIdentifiedEventArgs> const& handler) const;
+ auto UnviewableContentIdentified(winrt::event_token const& token) const noexcept;
+ auto PermissionRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlPermissionRequestedEventArgs> const& handler) const;
using PermissionRequested_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_PermissionRequested>;
- [[nodiscard]] PermissionRequested_revoker PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlPermissionRequestedEventArgs> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnsupportedUriSchemeIdentifiedEventArgs> const& handler) const;
+ [[nodiscard]] auto PermissionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlPermissionRequestedEventArgs> const& handler) const;
+ auto PermissionRequested(winrt::event_token const& token) const noexcept;
+ auto UnsupportedUriSchemeIdentified(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnsupportedUriSchemeIdentifiedEventArgs> const& handler) const;
using UnsupportedUriSchemeIdentified_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_UnsupportedUriSchemeIdentified>;
- [[nodiscard]] UnsupportedUriSchemeIdentified_revoker UnsupportedUriSchemeIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnsupportedUriSchemeIdentifiedEventArgs> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNewWindowRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto UnsupportedUriSchemeIdentified(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlUnsupportedUriSchemeIdentifiedEventArgs> const& handler) const;
+ auto UnsupportedUriSchemeIdentified(winrt::event_token const& token) const noexcept;
+ auto NewWindowRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNewWindowRequestedEventArgs> const& handler) const;
using NewWindowRequested_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_NewWindowRequested>;
- [[nodiscard]] NewWindowRequested_revoker NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNewWindowRequestedEventArgs> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto NewWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlNewWindowRequestedEventArgs> const& handler) const;
+ auto NewWindowRequested(winrt::event_token const& token) const noexcept;
+ auto ContainsFullScreenElementChanged(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ContainsFullScreenElementChanged_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_ContainsFullScreenElementChanged>;
- [[nodiscard]] ContainsFullScreenElementChanged_revoker ContainsFullScreenElementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlWebResourceRequestedEventArgs> const& handler) const;
+ [[nodiscard]] auto ContainsFullScreenElementChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ContainsFullScreenElementChanged(winrt::event_token const& token) const noexcept;
+ auto WebResourceRequested(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlWebResourceRequestedEventArgs> const& handler) const;
using WebResourceRequested_revoker = impl::event_revoker<winrt::Windows::Web::UI::IWebViewControl, &impl::abi_t<winrt::Windows::Web::UI::IWebViewControl>::remove_WebResourceRequested>;
- [[nodiscard]] WebResourceRequested_revoker WebResourceRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlWebResourceRequestedEventArgs> 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<winrt::Windows::Web::UI::IWebViewControl, winrt::Windows::Web::UI::WebViewControlWebResourceRequestedEventArgs> const& handler) const;
+ auto WebResourceRequested(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControl>
{
@@ -500,7 +494,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::IWebViewControl2>
{
@@ -509,7 +503,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlContentLoadingEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const;
+ [[nodiscard]] auto Uri() const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlContentLoadingEventArgs>
{
@@ -518,7 +512,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlDOMContentLoadedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Foundation::Uri) Uri() const;
+ [[nodiscard]] auto Uri() const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlDOMContentLoadedEventArgs>
{
@@ -527,11 +521,11 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::IWebViewControlDeferredPermissionRequest>
{
@@ -540,9 +534,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::IWebViewControlLongRunningScriptDetectedEventArgs>
{
@@ -551,9 +545,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::IWebViewControlNavigationCompletedEventArgs>
{
@@ -562,9 +556,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::IWebViewControlNavigationStartingEventArgs>
{
@@ -573,10 +567,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs>
{
@@ -585,9 +579,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::IWebViewControlNewWindowRequestedEventArgs2>
{
@@ -596,13 +590,13 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::IWebViewControlPermissionRequest>
{
@@ -611,7 +605,7 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_UI_IWebViewControlPermissionRequestedEventArgs
{
- [[nodiscard]] WINRT_IMPL_AUTO(winrt::Windows::Web::UI::WebViewControlPermissionRequest) PermissionRequest() const;
+ [[nodiscard]] auto PermissionRequest() const;
};
template <> struct consume<winrt::Windows::Web::UI::IWebViewControlPermissionRequestedEventArgs>
{
@@ -620,8 +614,8 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::IWebViewControlScriptNotifyEventArgs>
{
@@ -630,12 +624,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::IWebViewControlSettings>
{
@@ -644,9 +638,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::IWebViewControlUnsupportedUriSchemeIdentifiedEventArgs>
{
@@ -655,9 +649,9 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::IWebViewControlUnviewableContentIdentifiedEventArgs>
{
@@ -666,10 +660,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::IWebViewControlWebResourceRequestedEventArgs>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.1.h
index 2ec7dea6841..ea042c04839 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.2.h
index 4777d0f47a5..0212ba6c463 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.0.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.0.h
index e5acfcb330e..4232b78dc38 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.0.h
+++ b/chromium/third_party/nearby/src/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 <typename TResult> struct __declspec(empty_bases) IAsyncOperation;
struct Rect;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
}
-WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
-{
- template <typename T> struct __declspec(empty_bases) IVectorView;
-}
WINRT_EXPORT namespace winrt::Windows::System
{
enum class VirtualKey : int32_t;
@@ -185,12 +180,12 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::Interop::IWebViewControlAcceleratorKeyPressedEventArgs>
{
@@ -199,7 +194,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::Interop::IWebViewControlMoveFocusRequestedEventArgs>
{
@@ -208,16 +203,16 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::Interop::WebViewControl>) CreateWebViewControlAsync(int64_t hostWindowHandle, winrt::Windows::Foundation::Rect const& bounds) const;
- WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView<winrt::Windows::Web::UI::Interop::WebViewControl>) GetWebViewControls() const;
- WINRT_IMPL_AUTO(void) Terminate() const;
- WINRT_IMPL_AUTO(winrt::event_token) ProcessExited(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControlProcess, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Web::UI::Interop::WebViewControlProcess, winrt::Windows::Foundation::IInspectable> const& handler) const;
using ProcessExited_revoker = impl::event_revoker<winrt::Windows::Web::UI::Interop::IWebViewControlProcess, &impl::abi_t<winrt::Windows::Web::UI::Interop::IWebViewControlProcess>::remove_ProcessExited>;
- [[nodiscard]] ProcessExited_revoker ProcessExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControlProcess, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Web::UI::Interop::WebViewControlProcess, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto ProcessExited(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Web::UI::Interop::IWebViewControlProcess>
{
@@ -226,7 +221,7 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::Interop::IWebViewControlProcessFactory>
{
@@ -235,10 +230,10 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::Interop::IWebViewControlProcessOptions>
{
@@ -247,23 +242,23 @@ namespace winrt::impl
template <typename D>
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<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusRequestedEventArgs> 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<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusRequestedEventArgs> const& handler) const;
using MoveFocusRequested_revoker = impl::event_revoker<winrt::Windows::Web::UI::Interop::IWebViewControlSite, &impl::abi_t<winrt::Windows::Web::UI::Interop::IWebViewControlSite>::remove_MoveFocusRequested>;
- [[nodiscard]] MoveFocusRequested_revoker MoveFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusRequestedEventArgs> 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<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyPressedEventArgs> const& handler) const;
+ [[nodiscard]] auto MoveFocusRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlMoveFocusRequestedEventArgs> const& handler) const;
+ auto MoveFocusRequested(winrt::event_token const& token) const noexcept;
+ auto AcceleratorKeyPressed(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyPressedEventArgs> const& handler) const;
using AcceleratorKeyPressed_revoker = impl::event_revoker<winrt::Windows::Web::UI::Interop::IWebViewControlSite, &impl::abi_t<winrt::Windows::Web::UI::Interop::IWebViewControlSite>::remove_AcceleratorKeyPressed>;
- [[nodiscard]] AcceleratorKeyPressed_revoker AcceleratorKeyPressed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyPressedEventArgs> 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<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Web::UI::Interop::WebViewControlAcceleratorKeyPressedEventArgs> const& handler) const;
+ auto AcceleratorKeyPressed(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Web::UI::Interop::IWebViewControlSite>
{
@@ -272,14 +267,14 @@ namespace winrt::impl
template <typename D>
struct consume_Windows_Web_UI_Interop_IWebViewControlSite2
{
- WINRT_IMPL_AUTO(winrt::event_token) GotFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto GotFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
using GotFocus_revoker = impl::event_revoker<winrt::Windows::Web::UI::Interop::IWebViewControlSite2, &impl::abi_t<winrt::Windows::Web::UI::Interop::IWebViewControlSite2>::remove_GotFocus>;
- [[nodiscard]] GotFocus_revoker GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ [[nodiscard]] auto GotFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto GotFocus(winrt::event_token const& token) const noexcept;
+ auto LostFocus(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
using LostFocus_revoker = impl::event_revoker<winrt::Windows::Web::UI::Interop::IWebViewControlSite2, &impl::abi_t<winrt::Windows::Web::UI::Interop::IWebViewControlSite2>::remove_LostFocus>;
- [[nodiscard]] LostFocus_revoker LostFocus(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> 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<winrt::Windows::Web::UI::Interop::WebViewControl, winrt::Windows::Foundation::IInspectable> const& handler) const;
+ auto LostFocus(winrt::event_token const& token) const noexcept;
};
template <> struct consume<winrt::Windows::Web::UI::Interop::IWebViewControlSite2>
{
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.1.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.1.h
index d361b2384d4..270abc3a339 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.1.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.2.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.2.h
index 2f174083d52..e00e954339a 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/impl/Windows.Web.UI.Interop.2.h
+++ b/chromium/third_party/nearby/src/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/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/winrt.ixx b/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/winrt.ixx
index 7bc10cebd92..9d7fee6804d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/generated/winrt/winrt.ixx
+++ b/chromium/third_party/nearby/src/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;
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/json/BUILD b/chromium/third_party/nearby/src/internal/platform/implementation/windows/json/BUILD
new file mode 100644
index 00000000000..98d866734ee
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/json/BUILD
@@ -0,0 +1,24 @@
+# Copyright 2022 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+licenses(["notice"])
+
+cc_library(
+ name = "types",
+ textual_hdrs = glob(["**/*.hpp"]),
+ visibility = [
+ "//location/nearby/cpp/sharing/implementation/internal:__subpackages__",
+ "//connections/windows:__subpackages__",
+ "//internal/platform/implementation/windows:__subpackages__",
+ ],
+)
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/json/json.hpp b/chromium/third_party/nearby/src/internal/platform/implementation/windows/json/json.hpp
new file mode 100644
index 00000000000..cb27e058119
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/json/json.hpp
@@ -0,0 +1,22091 @@
+/*
+ __ _____ _____ _____
+ __| | __| | | | JSON for Modern C++
+| | |__ | | | | | | version 3.10.5
+|_____|_____|_____|_|___| https://github.com/nlohmann/json
+
+Licensed under the MIT License <http://opensource.org/licenses/MIT>.
+SPDX-License-Identifier: MIT
+Copyright (c) 2013-2022 Niels Lohmann <http://nlohmann.me>.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
+*/
+
+/****************************************************************************\
+ * Note on documentation: The source files contain links to the online *
+ * documentation of the public API at https://json.nlohmann.me. This URL *
+ * contains the most recent documentation and should also be applicable to *
+ * previous versions; documentation for deprecated functions is not *
+ * removed, but marked deprecated. See "Generate documentation" section in *
+ * file doc/README.md. *
+\****************************************************************************/
+
+#ifndef INCLUDE_NLOHMANN_JSON_HPP_
+#define INCLUDE_NLOHMANN_JSON_HPP_
+
+#define NLOHMANN_JSON_VERSION_MAJOR 3
+#define NLOHMANN_JSON_VERSION_MINOR 10
+#define NLOHMANN_JSON_VERSION_PATCH 5
+
+#include <algorithm> // all_of, find, for_each
+#include <cstddef> // nullptr_t, ptrdiff_t, size_t
+#include <functional> // hash, less
+#include <initializer_list> // initializer_list
+#ifndef JSON_NO_IO
+ #include <iosfwd> // istream, ostream
+#endif // JSON_NO_IO
+#include <iterator> // random_access_iterator_tag
+#include <memory> // unique_ptr
+#include <numeric> // accumulate
+#include <string> // string, stoi, to_string
+#include <utility> // declval, forward, move, pair, swap
+#include <vector> // vector
+
+// #include <nlohmann/adl_serializer.hpp>
+
+
+#include <type_traits>
+#include <utility>
+
+// #include <nlohmann/detail/conversions/from_json.hpp>
+
+
+#include <algorithm> // transform
+#include <array> // array
+#include <forward_list> // forward_list
+#include <iterator> // inserter, front_inserter, end
+#include <map> // map
+#include <string> // string
+#include <tuple> // tuple, make_tuple
+#include <type_traits> // is_arithmetic, is_same, is_enum, underlying_type, is_convertible
+#include <unordered_map> // unordered_map
+#include <utility> // pair, declval
+#include <valarray> // valarray
+
+// #include <nlohmann/detail/exceptions.hpp>
+
+
+#include <exception> // exception
+#include <stdexcept> // runtime_error
+#include <string> // to_string
+#include <vector> // vector
+
+// #include <nlohmann/detail/value_t.hpp>
+
+
+#include <array> // array
+#include <cstddef> // size_t
+#include <cstdint> // uint8_t
+#include <string> // string
+
+namespace nlohmann
+{
+namespace detail
+{
+///////////////////////////
+// JSON type enumeration //
+///////////////////////////
+
+/*!
+@brief the JSON type enumeration
+
+This enumeration collects the different JSON types. It is internally used to
+distinguish the stored values, and the functions @ref basic_json::is_null(),
+@ref basic_json::is_object(), @ref basic_json::is_array(),
+@ref basic_json::is_string(), @ref basic_json::is_boolean(),
+@ref basic_json::is_number() (with @ref basic_json::is_number_integer(),
+@ref basic_json::is_number_unsigned(), and @ref basic_json::is_number_float()),
+@ref basic_json::is_discarded(), @ref basic_json::is_primitive(), and
+@ref basic_json::is_structured() rely on it.
+
+@note There are three enumeration entries (number_integer, number_unsigned, and
+number_float), because the library distinguishes these three types for numbers:
+@ref basic_json::number_unsigned_t is used for unsigned integers,
+@ref basic_json::number_integer_t is used for signed integers, and
+@ref basic_json::number_float_t is used for floating-point numbers or to
+approximate integers which do not fit in the limits of their respective type.
+
+@sa see @ref basic_json::basic_json(const value_t value_type) -- create a JSON
+value with the default value for a given type
+
+@since version 1.0.0
+*/
+enum class value_t : std::uint8_t
+{
+ null, ///< null value
+ object, ///< object (unordered set of name/value pairs)
+ array, ///< array (ordered collection of values)
+ string, ///< string value
+ boolean, ///< boolean value
+ number_integer, ///< number value (signed integer)
+ number_unsigned, ///< number value (unsigned integer)
+ number_float, ///< number value (floating-point)
+ binary, ///< binary array (ordered collection of bytes)
+ discarded ///< discarded by the parser callback function
+};
+
+/*!
+@brief comparison operator for JSON types
+
+Returns an ordering that is similar to Python:
+- order: null < boolean < number < object < array < string < binary
+- furthermore, each type is not smaller than itself
+- discarded values are not comparable
+- binary is represented as a b"" string in python and directly comparable to a
+ string; however, making a binary array directly comparable with a string would
+ be surprising behavior in a JSON file.
+
+@since version 1.0.0
+*/
+inline bool operator<(const value_t lhs, const value_t rhs) noexcept
+{
+ static constexpr std::array<std::uint8_t, 9> order = {{
+ 0 /* null */, 3 /* object */, 4 /* array */, 5 /* string */,
+ 1 /* boolean */, 2 /* integer */, 2 /* unsigned */, 2 /* float */,
+ 6 /* binary */
+ }
+ };
+
+ const auto l_index = static_cast<std::size_t>(lhs);
+ const auto r_index = static_cast<std::size_t>(rhs);
+ return l_index < order.size() && r_index < order.size() && order[l_index] < order[r_index];
+}
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/string_escape.hpp>
+
+
+#include <string>
+// #include <nlohmann/detail/macro_scope.hpp>
+
+
+#include <utility> // declval, pair
+// #include <nlohmann/thirdparty/hedley/hedley.hpp>
+
+
+/* Hedley - https://nemequ.github.io/hedley
+ * Created by Evan Nemerson <evan@nemerson.com>
+ *
+ * To the extent possible under law, the author(s) have dedicated all
+ * copyright and related and neighboring rights to this software to
+ * the public domain worldwide. This software is distributed without
+ * any warranty.
+ *
+ * For details, see <http://creativecommons.org/publicdomain/zero/1.0/>.
+ * SPDX-License-Identifier: CC0-1.0
+ */
+
+#if !defined(JSON_HEDLEY_VERSION) || (JSON_HEDLEY_VERSION < 15)
+#if defined(JSON_HEDLEY_VERSION)
+ #undef JSON_HEDLEY_VERSION
+#endif
+#define JSON_HEDLEY_VERSION 15
+
+#if defined(JSON_HEDLEY_STRINGIFY_EX)
+ #undef JSON_HEDLEY_STRINGIFY_EX
+#endif
+#define JSON_HEDLEY_STRINGIFY_EX(x) #x
+
+#if defined(JSON_HEDLEY_STRINGIFY)
+ #undef JSON_HEDLEY_STRINGIFY
+#endif
+#define JSON_HEDLEY_STRINGIFY(x) JSON_HEDLEY_STRINGIFY_EX(x)
+
+#if defined(JSON_HEDLEY_CONCAT_EX)
+ #undef JSON_HEDLEY_CONCAT_EX
+#endif
+#define JSON_HEDLEY_CONCAT_EX(a,b) a##b
+
+#if defined(JSON_HEDLEY_CONCAT)
+ #undef JSON_HEDLEY_CONCAT
+#endif
+#define JSON_HEDLEY_CONCAT(a,b) JSON_HEDLEY_CONCAT_EX(a,b)
+
+#if defined(JSON_HEDLEY_CONCAT3_EX)
+ #undef JSON_HEDLEY_CONCAT3_EX
+#endif
+#define JSON_HEDLEY_CONCAT3_EX(a,b,c) a##b##c
+
+#if defined(JSON_HEDLEY_CONCAT3)
+ #undef JSON_HEDLEY_CONCAT3
+#endif
+#define JSON_HEDLEY_CONCAT3(a,b,c) JSON_HEDLEY_CONCAT3_EX(a,b,c)
+
+#if defined(JSON_HEDLEY_VERSION_ENCODE)
+ #undef JSON_HEDLEY_VERSION_ENCODE
+#endif
+#define JSON_HEDLEY_VERSION_ENCODE(major,minor,revision) (((major) * 1000000) + ((minor) * 1000) + (revision))
+
+#if defined(JSON_HEDLEY_VERSION_DECODE_MAJOR)
+ #undef JSON_HEDLEY_VERSION_DECODE_MAJOR
+#endif
+#define JSON_HEDLEY_VERSION_DECODE_MAJOR(version) ((version) / 1000000)
+
+#if defined(JSON_HEDLEY_VERSION_DECODE_MINOR)
+ #undef JSON_HEDLEY_VERSION_DECODE_MINOR
+#endif
+#define JSON_HEDLEY_VERSION_DECODE_MINOR(version) (((version) % 1000000) / 1000)
+
+#if defined(JSON_HEDLEY_VERSION_DECODE_REVISION)
+ #undef JSON_HEDLEY_VERSION_DECODE_REVISION
+#endif
+#define JSON_HEDLEY_VERSION_DECODE_REVISION(version) ((version) % 1000)
+
+#if defined(JSON_HEDLEY_GNUC_VERSION)
+ #undef JSON_HEDLEY_GNUC_VERSION
+#endif
+#if defined(__GNUC__) && defined(__GNUC_PATCHLEVEL__)
+ #define JSON_HEDLEY_GNUC_VERSION JSON_HEDLEY_VERSION_ENCODE(__GNUC__, __GNUC_MINOR__, __GNUC_PATCHLEVEL__)
+#elif defined(__GNUC__)
+ #define JSON_HEDLEY_GNUC_VERSION JSON_HEDLEY_VERSION_ENCODE(__GNUC__, __GNUC_MINOR__, 0)
+#endif
+
+#if defined(JSON_HEDLEY_GNUC_VERSION_CHECK)
+ #undef JSON_HEDLEY_GNUC_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_GNUC_VERSION)
+ #define JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_GNUC_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_MSVC_VERSION)
+ #undef JSON_HEDLEY_MSVC_VERSION
+#endif
+#if defined(_MSC_FULL_VER) && (_MSC_FULL_VER >= 140000000) && !defined(__ICL)
+ #define JSON_HEDLEY_MSVC_VERSION JSON_HEDLEY_VERSION_ENCODE(_MSC_FULL_VER / 10000000, (_MSC_FULL_VER % 10000000) / 100000, (_MSC_FULL_VER % 100000) / 100)
+#elif defined(_MSC_FULL_VER) && !defined(__ICL)
+ #define JSON_HEDLEY_MSVC_VERSION JSON_HEDLEY_VERSION_ENCODE(_MSC_FULL_VER / 1000000, (_MSC_FULL_VER % 1000000) / 10000, (_MSC_FULL_VER % 10000) / 10)
+#elif defined(_MSC_VER) && !defined(__ICL)
+ #define JSON_HEDLEY_MSVC_VERSION JSON_HEDLEY_VERSION_ENCODE(_MSC_VER / 100, _MSC_VER % 100, 0)
+#endif
+
+#if defined(JSON_HEDLEY_MSVC_VERSION_CHECK)
+ #undef JSON_HEDLEY_MSVC_VERSION_CHECK
+#endif
+#if !defined(JSON_HEDLEY_MSVC_VERSION)
+ #define JSON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (0)
+#elif defined(_MSC_VER) && (_MSC_VER >= 1400)
+ #define JSON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (_MSC_FULL_VER >= ((major * 10000000) + (minor * 100000) + (patch)))
+#elif defined(_MSC_VER) && (_MSC_VER >= 1200)
+ #define JSON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (_MSC_FULL_VER >= ((major * 1000000) + (minor * 10000) + (patch)))
+#else
+ #define JSON_HEDLEY_MSVC_VERSION_CHECK(major,minor,patch) (_MSC_VER >= ((major * 100) + (minor)))
+#endif
+
+#if defined(JSON_HEDLEY_INTEL_VERSION)
+ #undef JSON_HEDLEY_INTEL_VERSION
+#endif
+#if defined(__INTEL_COMPILER) && defined(__INTEL_COMPILER_UPDATE) && !defined(__ICL)
+ #define JSON_HEDLEY_INTEL_VERSION JSON_HEDLEY_VERSION_ENCODE(__INTEL_COMPILER / 100, __INTEL_COMPILER % 100, __INTEL_COMPILER_UPDATE)
+#elif defined(__INTEL_COMPILER) && !defined(__ICL)
+ #define JSON_HEDLEY_INTEL_VERSION JSON_HEDLEY_VERSION_ENCODE(__INTEL_COMPILER / 100, __INTEL_COMPILER % 100, 0)
+#endif
+
+#if defined(JSON_HEDLEY_INTEL_VERSION_CHECK)
+ #undef JSON_HEDLEY_INTEL_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_INTEL_VERSION)
+ #define JSON_HEDLEY_INTEL_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_INTEL_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_INTEL_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_INTEL_CL_VERSION)
+ #undef JSON_HEDLEY_INTEL_CL_VERSION
+#endif
+#if defined(__INTEL_COMPILER) && defined(__INTEL_COMPILER_UPDATE) && defined(__ICL)
+ #define JSON_HEDLEY_INTEL_CL_VERSION JSON_HEDLEY_VERSION_ENCODE(__INTEL_COMPILER, __INTEL_COMPILER_UPDATE, 0)
+#endif
+
+#if defined(JSON_HEDLEY_INTEL_CL_VERSION_CHECK)
+ #undef JSON_HEDLEY_INTEL_CL_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_INTEL_CL_VERSION)
+ #define JSON_HEDLEY_INTEL_CL_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_INTEL_CL_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_INTEL_CL_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_PGI_VERSION)
+ #undef JSON_HEDLEY_PGI_VERSION
+#endif
+#if defined(__PGI) && defined(__PGIC__) && defined(__PGIC_MINOR__) && defined(__PGIC_PATCHLEVEL__)
+ #define JSON_HEDLEY_PGI_VERSION JSON_HEDLEY_VERSION_ENCODE(__PGIC__, __PGIC_MINOR__, __PGIC_PATCHLEVEL__)
+#endif
+
+#if defined(JSON_HEDLEY_PGI_VERSION_CHECK)
+ #undef JSON_HEDLEY_PGI_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_PGI_VERSION)
+ #define JSON_HEDLEY_PGI_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_PGI_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_PGI_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_SUNPRO_VERSION)
+ #undef JSON_HEDLEY_SUNPRO_VERSION
+#endif
+#if defined(__SUNPRO_C) && (__SUNPRO_C > 0x1000)
+ #define JSON_HEDLEY_SUNPRO_VERSION JSON_HEDLEY_VERSION_ENCODE((((__SUNPRO_C >> 16) & 0xf) * 10) + ((__SUNPRO_C >> 12) & 0xf), (((__SUNPRO_C >> 8) & 0xf) * 10) + ((__SUNPRO_C >> 4) & 0xf), (__SUNPRO_C & 0xf) * 10)
+#elif defined(__SUNPRO_C)
+ #define JSON_HEDLEY_SUNPRO_VERSION JSON_HEDLEY_VERSION_ENCODE((__SUNPRO_C >> 8) & 0xf, (__SUNPRO_C >> 4) & 0xf, (__SUNPRO_C) & 0xf)
+#elif defined(__SUNPRO_CC) && (__SUNPRO_CC > 0x1000)
+ #define JSON_HEDLEY_SUNPRO_VERSION JSON_HEDLEY_VERSION_ENCODE((((__SUNPRO_CC >> 16) & 0xf) * 10) + ((__SUNPRO_CC >> 12) & 0xf), (((__SUNPRO_CC >> 8) & 0xf) * 10) + ((__SUNPRO_CC >> 4) & 0xf), (__SUNPRO_CC & 0xf) * 10)
+#elif defined(__SUNPRO_CC)
+ #define JSON_HEDLEY_SUNPRO_VERSION JSON_HEDLEY_VERSION_ENCODE((__SUNPRO_CC >> 8) & 0xf, (__SUNPRO_CC >> 4) & 0xf, (__SUNPRO_CC) & 0xf)
+#endif
+
+#if defined(JSON_HEDLEY_SUNPRO_VERSION_CHECK)
+ #undef JSON_HEDLEY_SUNPRO_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_SUNPRO_VERSION)
+ #define JSON_HEDLEY_SUNPRO_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_SUNPRO_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_SUNPRO_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_EMSCRIPTEN_VERSION)
+ #undef JSON_HEDLEY_EMSCRIPTEN_VERSION
+#endif
+#if defined(__EMSCRIPTEN__)
+ #define JSON_HEDLEY_EMSCRIPTEN_VERSION JSON_HEDLEY_VERSION_ENCODE(__EMSCRIPTEN_major__, __EMSCRIPTEN_minor__, __EMSCRIPTEN_tiny__)
+#endif
+
+#if defined(JSON_HEDLEY_EMSCRIPTEN_VERSION_CHECK)
+ #undef JSON_HEDLEY_EMSCRIPTEN_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_EMSCRIPTEN_VERSION)
+ #define JSON_HEDLEY_EMSCRIPTEN_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_EMSCRIPTEN_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_EMSCRIPTEN_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_ARM_VERSION)
+ #undef JSON_HEDLEY_ARM_VERSION
+#endif
+#if defined(__CC_ARM) && defined(__ARMCOMPILER_VERSION)
+ #define JSON_HEDLEY_ARM_VERSION JSON_HEDLEY_VERSION_ENCODE(__ARMCOMPILER_VERSION / 1000000, (__ARMCOMPILER_VERSION % 1000000) / 10000, (__ARMCOMPILER_VERSION % 10000) / 100)
+#elif defined(__CC_ARM) && defined(__ARMCC_VERSION)
+ #define JSON_HEDLEY_ARM_VERSION JSON_HEDLEY_VERSION_ENCODE(__ARMCC_VERSION / 1000000, (__ARMCC_VERSION % 1000000) / 10000, (__ARMCC_VERSION % 10000) / 100)
+#endif
+
+#if defined(JSON_HEDLEY_ARM_VERSION_CHECK)
+ #undef JSON_HEDLEY_ARM_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_ARM_VERSION)
+ #define JSON_HEDLEY_ARM_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_ARM_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_ARM_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_IBM_VERSION)
+ #undef JSON_HEDLEY_IBM_VERSION
+#endif
+#if defined(__ibmxl__)
+ #define JSON_HEDLEY_IBM_VERSION JSON_HEDLEY_VERSION_ENCODE(__ibmxl_version__, __ibmxl_release__, __ibmxl_modification__)
+#elif defined(__xlC__) && defined(__xlC_ver__)
+ #define JSON_HEDLEY_IBM_VERSION JSON_HEDLEY_VERSION_ENCODE(__xlC__ >> 8, __xlC__ & 0xff, (__xlC_ver__ >> 8) & 0xff)
+#elif defined(__xlC__)
+ #define JSON_HEDLEY_IBM_VERSION JSON_HEDLEY_VERSION_ENCODE(__xlC__ >> 8, __xlC__ & 0xff, 0)
+#endif
+
+#if defined(JSON_HEDLEY_IBM_VERSION_CHECK)
+ #undef JSON_HEDLEY_IBM_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_IBM_VERSION)
+ #define JSON_HEDLEY_IBM_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_IBM_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_IBM_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_TI_VERSION)
+ #undef JSON_HEDLEY_TI_VERSION
+#endif
+#if \
+ defined(__TI_COMPILER_VERSION__) && \
+ ( \
+ defined(__TMS470__) || defined(__TI_ARM__) || \
+ defined(__MSP430__) || \
+ defined(__TMS320C2000__) \
+ )
+#if (__TI_COMPILER_VERSION__ >= 16000000)
+ #define JSON_HEDLEY_TI_VERSION JSON_HEDLEY_VERSION_ENCODE(__TI_COMPILER_VERSION__ / 1000000, (__TI_COMPILER_VERSION__ % 1000000) / 1000, (__TI_COMPILER_VERSION__ % 1000))
+#endif
+#endif
+
+#if defined(JSON_HEDLEY_TI_VERSION_CHECK)
+ #undef JSON_HEDLEY_TI_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_TI_VERSION)
+ #define JSON_HEDLEY_TI_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_TI_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_TI_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_TI_CL2000_VERSION)
+ #undef JSON_HEDLEY_TI_CL2000_VERSION
+#endif
+#if defined(__TI_COMPILER_VERSION__) && defined(__TMS320C2000__)
+ #define JSON_HEDLEY_TI_CL2000_VERSION JSON_HEDLEY_VERSION_ENCODE(__TI_COMPILER_VERSION__ / 1000000, (__TI_COMPILER_VERSION__ % 1000000) / 1000, (__TI_COMPILER_VERSION__ % 1000))
+#endif
+
+#if defined(JSON_HEDLEY_TI_CL2000_VERSION_CHECK)
+ #undef JSON_HEDLEY_TI_CL2000_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_TI_CL2000_VERSION)
+ #define JSON_HEDLEY_TI_CL2000_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_TI_CL2000_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_TI_CL2000_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_TI_CL430_VERSION)
+ #undef JSON_HEDLEY_TI_CL430_VERSION
+#endif
+#if defined(__TI_COMPILER_VERSION__) && defined(__MSP430__)
+ #define JSON_HEDLEY_TI_CL430_VERSION JSON_HEDLEY_VERSION_ENCODE(__TI_COMPILER_VERSION__ / 1000000, (__TI_COMPILER_VERSION__ % 1000000) / 1000, (__TI_COMPILER_VERSION__ % 1000))
+#endif
+
+#if defined(JSON_HEDLEY_TI_CL430_VERSION_CHECK)
+ #undef JSON_HEDLEY_TI_CL430_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_TI_CL430_VERSION)
+ #define JSON_HEDLEY_TI_CL430_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_TI_CL430_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_TI_CL430_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_TI_ARMCL_VERSION)
+ #undef JSON_HEDLEY_TI_ARMCL_VERSION
+#endif
+#if defined(__TI_COMPILER_VERSION__) && (defined(__TMS470__) || defined(__TI_ARM__))
+ #define JSON_HEDLEY_TI_ARMCL_VERSION JSON_HEDLEY_VERSION_ENCODE(__TI_COMPILER_VERSION__ / 1000000, (__TI_COMPILER_VERSION__ % 1000000) / 1000, (__TI_COMPILER_VERSION__ % 1000))
+#endif
+
+#if defined(JSON_HEDLEY_TI_ARMCL_VERSION_CHECK)
+ #undef JSON_HEDLEY_TI_ARMCL_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_TI_ARMCL_VERSION)
+ #define JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_TI_ARMCL_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_TI_CL6X_VERSION)
+ #undef JSON_HEDLEY_TI_CL6X_VERSION
+#endif
+#if defined(__TI_COMPILER_VERSION__) && defined(__TMS320C6X__)
+ #define JSON_HEDLEY_TI_CL6X_VERSION JSON_HEDLEY_VERSION_ENCODE(__TI_COMPILER_VERSION__ / 1000000, (__TI_COMPILER_VERSION__ % 1000000) / 1000, (__TI_COMPILER_VERSION__ % 1000))
+#endif
+
+#if defined(JSON_HEDLEY_TI_CL6X_VERSION_CHECK)
+ #undef JSON_HEDLEY_TI_CL6X_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_TI_CL6X_VERSION)
+ #define JSON_HEDLEY_TI_CL6X_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_TI_CL6X_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_TI_CL6X_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_TI_CL7X_VERSION)
+ #undef JSON_HEDLEY_TI_CL7X_VERSION
+#endif
+#if defined(__TI_COMPILER_VERSION__) && defined(__C7000__)
+ #define JSON_HEDLEY_TI_CL7X_VERSION JSON_HEDLEY_VERSION_ENCODE(__TI_COMPILER_VERSION__ / 1000000, (__TI_COMPILER_VERSION__ % 1000000) / 1000, (__TI_COMPILER_VERSION__ % 1000))
+#endif
+
+#if defined(JSON_HEDLEY_TI_CL7X_VERSION_CHECK)
+ #undef JSON_HEDLEY_TI_CL7X_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_TI_CL7X_VERSION)
+ #define JSON_HEDLEY_TI_CL7X_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_TI_CL7X_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_TI_CL7X_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_TI_CLPRU_VERSION)
+ #undef JSON_HEDLEY_TI_CLPRU_VERSION
+#endif
+#if defined(__TI_COMPILER_VERSION__) && defined(__PRU__)
+ #define JSON_HEDLEY_TI_CLPRU_VERSION JSON_HEDLEY_VERSION_ENCODE(__TI_COMPILER_VERSION__ / 1000000, (__TI_COMPILER_VERSION__ % 1000000) / 1000, (__TI_COMPILER_VERSION__ % 1000))
+#endif
+
+#if defined(JSON_HEDLEY_TI_CLPRU_VERSION_CHECK)
+ #undef JSON_HEDLEY_TI_CLPRU_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_TI_CLPRU_VERSION)
+ #define JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_TI_CLPRU_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_CRAY_VERSION)
+ #undef JSON_HEDLEY_CRAY_VERSION
+#endif
+#if defined(_CRAYC)
+ #if defined(_RELEASE_PATCHLEVEL)
+ #define JSON_HEDLEY_CRAY_VERSION JSON_HEDLEY_VERSION_ENCODE(_RELEASE_MAJOR, _RELEASE_MINOR, _RELEASE_PATCHLEVEL)
+ #else
+ #define JSON_HEDLEY_CRAY_VERSION JSON_HEDLEY_VERSION_ENCODE(_RELEASE_MAJOR, _RELEASE_MINOR, 0)
+ #endif
+#endif
+
+#if defined(JSON_HEDLEY_CRAY_VERSION_CHECK)
+ #undef JSON_HEDLEY_CRAY_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_CRAY_VERSION)
+ #define JSON_HEDLEY_CRAY_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_CRAY_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_CRAY_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_IAR_VERSION)
+ #undef JSON_HEDLEY_IAR_VERSION
+#endif
+#if defined(__IAR_SYSTEMS_ICC__)
+ #if __VER__ > 1000
+ #define JSON_HEDLEY_IAR_VERSION JSON_HEDLEY_VERSION_ENCODE((__VER__ / 1000000), ((__VER__ / 1000) % 1000), (__VER__ % 1000))
+ #else
+ #define JSON_HEDLEY_IAR_VERSION JSON_HEDLEY_VERSION_ENCODE(__VER__ / 100, __VER__ % 100, 0)
+ #endif
+#endif
+
+#if defined(JSON_HEDLEY_IAR_VERSION_CHECK)
+ #undef JSON_HEDLEY_IAR_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_IAR_VERSION)
+ #define JSON_HEDLEY_IAR_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_IAR_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_IAR_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_TINYC_VERSION)
+ #undef JSON_HEDLEY_TINYC_VERSION
+#endif
+#if defined(__TINYC__)
+ #define JSON_HEDLEY_TINYC_VERSION JSON_HEDLEY_VERSION_ENCODE(__TINYC__ / 1000, (__TINYC__ / 100) % 10, __TINYC__ % 100)
+#endif
+
+#if defined(JSON_HEDLEY_TINYC_VERSION_CHECK)
+ #undef JSON_HEDLEY_TINYC_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_TINYC_VERSION)
+ #define JSON_HEDLEY_TINYC_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_TINYC_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_TINYC_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_DMC_VERSION)
+ #undef JSON_HEDLEY_DMC_VERSION
+#endif
+#if defined(__DMC__)
+ #define JSON_HEDLEY_DMC_VERSION JSON_HEDLEY_VERSION_ENCODE(__DMC__ >> 8, (__DMC__ >> 4) & 0xf, __DMC__ & 0xf)
+#endif
+
+#if defined(JSON_HEDLEY_DMC_VERSION_CHECK)
+ #undef JSON_HEDLEY_DMC_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_DMC_VERSION)
+ #define JSON_HEDLEY_DMC_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_DMC_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_DMC_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_COMPCERT_VERSION)
+ #undef JSON_HEDLEY_COMPCERT_VERSION
+#endif
+#if defined(__COMPCERT_VERSION__)
+ #define JSON_HEDLEY_COMPCERT_VERSION JSON_HEDLEY_VERSION_ENCODE(__COMPCERT_VERSION__ / 10000, (__COMPCERT_VERSION__ / 100) % 100, __COMPCERT_VERSION__ % 100)
+#endif
+
+#if defined(JSON_HEDLEY_COMPCERT_VERSION_CHECK)
+ #undef JSON_HEDLEY_COMPCERT_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_COMPCERT_VERSION)
+ #define JSON_HEDLEY_COMPCERT_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_COMPCERT_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_COMPCERT_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_PELLES_VERSION)
+ #undef JSON_HEDLEY_PELLES_VERSION
+#endif
+#if defined(__POCC__)
+ #define JSON_HEDLEY_PELLES_VERSION JSON_HEDLEY_VERSION_ENCODE(__POCC__ / 100, __POCC__ % 100, 0)
+#endif
+
+#if defined(JSON_HEDLEY_PELLES_VERSION_CHECK)
+ #undef JSON_HEDLEY_PELLES_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_PELLES_VERSION)
+ #define JSON_HEDLEY_PELLES_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_PELLES_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_PELLES_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_MCST_LCC_VERSION)
+ #undef JSON_HEDLEY_MCST_LCC_VERSION
+#endif
+#if defined(__LCC__) && defined(__LCC_MINOR__)
+ #define JSON_HEDLEY_MCST_LCC_VERSION JSON_HEDLEY_VERSION_ENCODE(__LCC__ / 100, __LCC__ % 100, __LCC_MINOR__)
+#endif
+
+#if defined(JSON_HEDLEY_MCST_LCC_VERSION_CHECK)
+ #undef JSON_HEDLEY_MCST_LCC_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_MCST_LCC_VERSION)
+ #define JSON_HEDLEY_MCST_LCC_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_MCST_LCC_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_MCST_LCC_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_GCC_VERSION)
+ #undef JSON_HEDLEY_GCC_VERSION
+#endif
+#if \
+ defined(JSON_HEDLEY_GNUC_VERSION) && \
+ !defined(__clang__) && \
+ !defined(JSON_HEDLEY_INTEL_VERSION) && \
+ !defined(JSON_HEDLEY_PGI_VERSION) && \
+ !defined(JSON_HEDLEY_ARM_VERSION) && \
+ !defined(JSON_HEDLEY_CRAY_VERSION) && \
+ !defined(JSON_HEDLEY_TI_VERSION) && \
+ !defined(JSON_HEDLEY_TI_ARMCL_VERSION) && \
+ !defined(JSON_HEDLEY_TI_CL430_VERSION) && \
+ !defined(JSON_HEDLEY_TI_CL2000_VERSION) && \
+ !defined(JSON_HEDLEY_TI_CL6X_VERSION) && \
+ !defined(JSON_HEDLEY_TI_CL7X_VERSION) && \
+ !defined(JSON_HEDLEY_TI_CLPRU_VERSION) && \
+ !defined(__COMPCERT__) && \
+ !defined(JSON_HEDLEY_MCST_LCC_VERSION)
+ #define JSON_HEDLEY_GCC_VERSION JSON_HEDLEY_GNUC_VERSION
+#endif
+
+#if defined(JSON_HEDLEY_GCC_VERSION_CHECK)
+ #undef JSON_HEDLEY_GCC_VERSION_CHECK
+#endif
+#if defined(JSON_HEDLEY_GCC_VERSION)
+ #define JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch) (JSON_HEDLEY_GCC_VERSION >= JSON_HEDLEY_VERSION_ENCODE(major, minor, patch))
+#else
+ #define JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch) (0)
+#endif
+
+#if defined(JSON_HEDLEY_HAS_ATTRIBUTE)
+ #undef JSON_HEDLEY_HAS_ATTRIBUTE
+#endif
+#if \
+ defined(__has_attribute) && \
+ ( \
+ (!defined(JSON_HEDLEY_IAR_VERSION) || JSON_HEDLEY_IAR_VERSION_CHECK(8,5,9)) \
+ )
+# define JSON_HEDLEY_HAS_ATTRIBUTE(attribute) __has_attribute(attribute)
+#else
+# define JSON_HEDLEY_HAS_ATTRIBUTE(attribute) (0)
+#endif
+
+#if defined(JSON_HEDLEY_GNUC_HAS_ATTRIBUTE)
+ #undef JSON_HEDLEY_GNUC_HAS_ATTRIBUTE
+#endif
+#if defined(__has_attribute)
+ #define JSON_HEDLEY_GNUC_HAS_ATTRIBUTE(attribute,major,minor,patch) JSON_HEDLEY_HAS_ATTRIBUTE(attribute)
+#else
+ #define JSON_HEDLEY_GNUC_HAS_ATTRIBUTE(attribute,major,minor,patch) JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)
+#endif
+
+#if defined(JSON_HEDLEY_GCC_HAS_ATTRIBUTE)
+ #undef JSON_HEDLEY_GCC_HAS_ATTRIBUTE
+#endif
+#if defined(__has_attribute)
+ #define JSON_HEDLEY_GCC_HAS_ATTRIBUTE(attribute,major,minor,patch) JSON_HEDLEY_HAS_ATTRIBUTE(attribute)
+#else
+ #define JSON_HEDLEY_GCC_HAS_ATTRIBUTE(attribute,major,minor,patch) JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)
+#endif
+
+#if defined(JSON_HEDLEY_HAS_CPP_ATTRIBUTE)
+ #undef JSON_HEDLEY_HAS_CPP_ATTRIBUTE
+#endif
+#if \
+ defined(__has_cpp_attribute) && \
+ defined(__cplusplus) && \
+ (!defined(JSON_HEDLEY_SUNPRO_VERSION) || JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,15,0))
+ #define JSON_HEDLEY_HAS_CPP_ATTRIBUTE(attribute) __has_cpp_attribute(attribute)
+#else
+ #define JSON_HEDLEY_HAS_CPP_ATTRIBUTE(attribute) (0)
+#endif
+
+#if defined(JSON_HEDLEY_HAS_CPP_ATTRIBUTE_NS)
+ #undef JSON_HEDLEY_HAS_CPP_ATTRIBUTE_NS
+#endif
+#if !defined(__cplusplus) || !defined(__has_cpp_attribute)
+ #define JSON_HEDLEY_HAS_CPP_ATTRIBUTE_NS(ns,attribute) (0)
+#elif \
+ !defined(JSON_HEDLEY_PGI_VERSION) && \
+ !defined(JSON_HEDLEY_IAR_VERSION) && \
+ (!defined(JSON_HEDLEY_SUNPRO_VERSION) || JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,15,0)) && \
+ (!defined(JSON_HEDLEY_MSVC_VERSION) || JSON_HEDLEY_MSVC_VERSION_CHECK(19,20,0))
+ #define JSON_HEDLEY_HAS_CPP_ATTRIBUTE_NS(ns,attribute) JSON_HEDLEY_HAS_CPP_ATTRIBUTE(ns::attribute)
+#else
+ #define JSON_HEDLEY_HAS_CPP_ATTRIBUTE_NS(ns,attribute) (0)
+#endif
+
+#if defined(JSON_HEDLEY_GNUC_HAS_CPP_ATTRIBUTE)
+ #undef JSON_HEDLEY_GNUC_HAS_CPP_ATTRIBUTE
+#endif
+#if defined(__has_cpp_attribute) && defined(__cplusplus)
+ #define JSON_HEDLEY_GNUC_HAS_CPP_ATTRIBUTE(attribute,major,minor,patch) __has_cpp_attribute(attribute)
+#else
+ #define JSON_HEDLEY_GNUC_HAS_CPP_ATTRIBUTE(attribute,major,minor,patch) JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)
+#endif
+
+#if defined(JSON_HEDLEY_GCC_HAS_CPP_ATTRIBUTE)
+ #undef JSON_HEDLEY_GCC_HAS_CPP_ATTRIBUTE
+#endif
+#if defined(__has_cpp_attribute) && defined(__cplusplus)
+ #define JSON_HEDLEY_GCC_HAS_CPP_ATTRIBUTE(attribute,major,minor,patch) __has_cpp_attribute(attribute)
+#else
+ #define JSON_HEDLEY_GCC_HAS_CPP_ATTRIBUTE(attribute,major,minor,patch) JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)
+#endif
+
+#if defined(JSON_HEDLEY_HAS_BUILTIN)
+ #undef JSON_HEDLEY_HAS_BUILTIN
+#endif
+#if defined(__has_builtin)
+ #define JSON_HEDLEY_HAS_BUILTIN(builtin) __has_builtin(builtin)
+#else
+ #define JSON_HEDLEY_HAS_BUILTIN(builtin) (0)
+#endif
+
+#if defined(JSON_HEDLEY_GNUC_HAS_BUILTIN)
+ #undef JSON_HEDLEY_GNUC_HAS_BUILTIN
+#endif
+#if defined(__has_builtin)
+ #define JSON_HEDLEY_GNUC_HAS_BUILTIN(builtin,major,minor,patch) __has_builtin(builtin)
+#else
+ #define JSON_HEDLEY_GNUC_HAS_BUILTIN(builtin,major,minor,patch) JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)
+#endif
+
+#if defined(JSON_HEDLEY_GCC_HAS_BUILTIN)
+ #undef JSON_HEDLEY_GCC_HAS_BUILTIN
+#endif
+#if defined(__has_builtin)
+ #define JSON_HEDLEY_GCC_HAS_BUILTIN(builtin,major,minor,patch) __has_builtin(builtin)
+#else
+ #define JSON_HEDLEY_GCC_HAS_BUILTIN(builtin,major,minor,patch) JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)
+#endif
+
+#if defined(JSON_HEDLEY_HAS_FEATURE)
+ #undef JSON_HEDLEY_HAS_FEATURE
+#endif
+#if defined(__has_feature)
+ #define JSON_HEDLEY_HAS_FEATURE(feature) __has_feature(feature)
+#else
+ #define JSON_HEDLEY_HAS_FEATURE(feature) (0)
+#endif
+
+#if defined(JSON_HEDLEY_GNUC_HAS_FEATURE)
+ #undef JSON_HEDLEY_GNUC_HAS_FEATURE
+#endif
+#if defined(__has_feature)
+ #define JSON_HEDLEY_GNUC_HAS_FEATURE(feature,major,minor,patch) __has_feature(feature)
+#else
+ #define JSON_HEDLEY_GNUC_HAS_FEATURE(feature,major,minor,patch) JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)
+#endif
+
+#if defined(JSON_HEDLEY_GCC_HAS_FEATURE)
+ #undef JSON_HEDLEY_GCC_HAS_FEATURE
+#endif
+#if defined(__has_feature)
+ #define JSON_HEDLEY_GCC_HAS_FEATURE(feature,major,minor,patch) __has_feature(feature)
+#else
+ #define JSON_HEDLEY_GCC_HAS_FEATURE(feature,major,minor,patch) JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)
+#endif
+
+#if defined(JSON_HEDLEY_HAS_EXTENSION)
+ #undef JSON_HEDLEY_HAS_EXTENSION
+#endif
+#if defined(__has_extension)
+ #define JSON_HEDLEY_HAS_EXTENSION(extension) __has_extension(extension)
+#else
+ #define JSON_HEDLEY_HAS_EXTENSION(extension) (0)
+#endif
+
+#if defined(JSON_HEDLEY_GNUC_HAS_EXTENSION)
+ #undef JSON_HEDLEY_GNUC_HAS_EXTENSION
+#endif
+#if defined(__has_extension)
+ #define JSON_HEDLEY_GNUC_HAS_EXTENSION(extension,major,minor,patch) __has_extension(extension)
+#else
+ #define JSON_HEDLEY_GNUC_HAS_EXTENSION(extension,major,minor,patch) JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)
+#endif
+
+#if defined(JSON_HEDLEY_GCC_HAS_EXTENSION)
+ #undef JSON_HEDLEY_GCC_HAS_EXTENSION
+#endif
+#if defined(__has_extension)
+ #define JSON_HEDLEY_GCC_HAS_EXTENSION(extension,major,minor,patch) __has_extension(extension)
+#else
+ #define JSON_HEDLEY_GCC_HAS_EXTENSION(extension,major,minor,patch) JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)
+#endif
+
+#if defined(JSON_HEDLEY_HAS_DECLSPEC_ATTRIBUTE)
+ #undef JSON_HEDLEY_HAS_DECLSPEC_ATTRIBUTE
+#endif
+#if defined(__has_declspec_attribute)
+ #define JSON_HEDLEY_HAS_DECLSPEC_ATTRIBUTE(attribute) __has_declspec_attribute(attribute)
+#else
+ #define JSON_HEDLEY_HAS_DECLSPEC_ATTRIBUTE(attribute) (0)
+#endif
+
+#if defined(JSON_HEDLEY_GNUC_HAS_DECLSPEC_ATTRIBUTE)
+ #undef JSON_HEDLEY_GNUC_HAS_DECLSPEC_ATTRIBUTE
+#endif
+#if defined(__has_declspec_attribute)
+ #define JSON_HEDLEY_GNUC_HAS_DECLSPEC_ATTRIBUTE(attribute,major,minor,patch) __has_declspec_attribute(attribute)
+#else
+ #define JSON_HEDLEY_GNUC_HAS_DECLSPEC_ATTRIBUTE(attribute,major,minor,patch) JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)
+#endif
+
+#if defined(JSON_HEDLEY_GCC_HAS_DECLSPEC_ATTRIBUTE)
+ #undef JSON_HEDLEY_GCC_HAS_DECLSPEC_ATTRIBUTE
+#endif
+#if defined(__has_declspec_attribute)
+ #define JSON_HEDLEY_GCC_HAS_DECLSPEC_ATTRIBUTE(attribute,major,minor,patch) __has_declspec_attribute(attribute)
+#else
+ #define JSON_HEDLEY_GCC_HAS_DECLSPEC_ATTRIBUTE(attribute,major,minor,patch) JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)
+#endif
+
+#if defined(JSON_HEDLEY_HAS_WARNING)
+ #undef JSON_HEDLEY_HAS_WARNING
+#endif
+#if defined(__has_warning)
+ #define JSON_HEDLEY_HAS_WARNING(warning) __has_warning(warning)
+#else
+ #define JSON_HEDLEY_HAS_WARNING(warning) (0)
+#endif
+
+#if defined(JSON_HEDLEY_GNUC_HAS_WARNING)
+ #undef JSON_HEDLEY_GNUC_HAS_WARNING
+#endif
+#if defined(__has_warning)
+ #define JSON_HEDLEY_GNUC_HAS_WARNING(warning,major,minor,patch) __has_warning(warning)
+#else
+ #define JSON_HEDLEY_GNUC_HAS_WARNING(warning,major,minor,patch) JSON_HEDLEY_GNUC_VERSION_CHECK(major,minor,patch)
+#endif
+
+#if defined(JSON_HEDLEY_GCC_HAS_WARNING)
+ #undef JSON_HEDLEY_GCC_HAS_WARNING
+#endif
+#if defined(__has_warning)
+ #define JSON_HEDLEY_GCC_HAS_WARNING(warning,major,minor,patch) __has_warning(warning)
+#else
+ #define JSON_HEDLEY_GCC_HAS_WARNING(warning,major,minor,patch) JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)
+#endif
+
+#if \
+ (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) || \
+ defined(__clang__) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(3,0,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_IAR_VERSION_CHECK(8,0,0) || \
+ JSON_HEDLEY_PGI_VERSION_CHECK(18,4,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
+ JSON_HEDLEY_TI_VERSION_CHECK(15,12,0) || \
+ JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(4,7,0) || \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(2,0,1) || \
+ JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,1,0) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,0,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(2,1,0) || \
+ JSON_HEDLEY_CRAY_VERSION_CHECK(5,0,0) || \
+ JSON_HEDLEY_TINYC_VERSION_CHECK(0,9,17) || \
+ JSON_HEDLEY_SUNPRO_VERSION_CHECK(8,0,0) || \
+ (JSON_HEDLEY_IBM_VERSION_CHECK(10,1,0) && defined(__C99_PRAGMA_OPERATOR))
+ #define JSON_HEDLEY_PRAGMA(value) _Pragma(#value)
+#elif JSON_HEDLEY_MSVC_VERSION_CHECK(15,0,0)
+ #define JSON_HEDLEY_PRAGMA(value) __pragma(value)
+#else
+ #define JSON_HEDLEY_PRAGMA(value)
+#endif
+
+#if defined(JSON_HEDLEY_DIAGNOSTIC_PUSH)
+ #undef JSON_HEDLEY_DIAGNOSTIC_PUSH
+#endif
+#if defined(JSON_HEDLEY_DIAGNOSTIC_POP)
+ #undef JSON_HEDLEY_DIAGNOSTIC_POP
+#endif
+#if defined(__clang__)
+ #define JSON_HEDLEY_DIAGNOSTIC_PUSH _Pragma("clang diagnostic push")
+ #define JSON_HEDLEY_DIAGNOSTIC_POP _Pragma("clang diagnostic pop")
+#elif JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_PUSH _Pragma("warning(push)")
+ #define JSON_HEDLEY_DIAGNOSTIC_POP _Pragma("warning(pop)")
+#elif JSON_HEDLEY_GCC_VERSION_CHECK(4,6,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_PUSH _Pragma("GCC diagnostic push")
+ #define JSON_HEDLEY_DIAGNOSTIC_POP _Pragma("GCC diagnostic pop")
+#elif \
+ JSON_HEDLEY_MSVC_VERSION_CHECK(15,0,0) || \
+ JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_PUSH __pragma(warning(push))
+ #define JSON_HEDLEY_DIAGNOSTIC_POP __pragma(warning(pop))
+#elif JSON_HEDLEY_ARM_VERSION_CHECK(5,6,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_PUSH _Pragma("push")
+ #define JSON_HEDLEY_DIAGNOSTIC_POP _Pragma("pop")
+#elif \
+ JSON_HEDLEY_TI_VERSION_CHECK(15,12,0) || \
+ JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(5,2,0) || \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,4,0) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(8,1,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(2,1,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_PUSH _Pragma("diag_push")
+ #define JSON_HEDLEY_DIAGNOSTIC_POP _Pragma("diag_pop")
+#elif JSON_HEDLEY_PELLES_VERSION_CHECK(2,90,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_PUSH _Pragma("warning(push)")
+ #define JSON_HEDLEY_DIAGNOSTIC_POP _Pragma("warning(pop)")
+#else
+ #define JSON_HEDLEY_DIAGNOSTIC_PUSH
+ #define JSON_HEDLEY_DIAGNOSTIC_POP
+#endif
+
+/* JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_ is for
+ HEDLEY INTERNAL USE ONLY. API subject to change without notice. */
+#if defined(JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_)
+ #undef JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_
+#endif
+#if defined(__cplusplus)
+# if JSON_HEDLEY_HAS_WARNING("-Wc++98-compat")
+# if JSON_HEDLEY_HAS_WARNING("-Wc++17-extensions")
+# if JSON_HEDLEY_HAS_WARNING("-Wc++1z-extensions")
+# define JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_(xpr) \
+ JSON_HEDLEY_DIAGNOSTIC_PUSH \
+ _Pragma("clang diagnostic ignored \"-Wc++98-compat\"") \
+ _Pragma("clang diagnostic ignored \"-Wc++17-extensions\"") \
+ _Pragma("clang diagnostic ignored \"-Wc++1z-extensions\"") \
+ xpr \
+ JSON_HEDLEY_DIAGNOSTIC_POP
+# else
+# define JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_(xpr) \
+ JSON_HEDLEY_DIAGNOSTIC_PUSH \
+ _Pragma("clang diagnostic ignored \"-Wc++98-compat\"") \
+ _Pragma("clang diagnostic ignored \"-Wc++17-extensions\"") \
+ xpr \
+ JSON_HEDLEY_DIAGNOSTIC_POP
+# endif
+# else
+# define JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_(xpr) \
+ JSON_HEDLEY_DIAGNOSTIC_PUSH \
+ _Pragma("clang diagnostic ignored \"-Wc++98-compat\"") \
+ xpr \
+ JSON_HEDLEY_DIAGNOSTIC_POP
+# endif
+# endif
+#endif
+#if !defined(JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_(x) x
+#endif
+
+#if defined(JSON_HEDLEY_CONST_CAST)
+ #undef JSON_HEDLEY_CONST_CAST
+#endif
+#if defined(__cplusplus)
+# define JSON_HEDLEY_CONST_CAST(T, expr) (const_cast<T>(expr))
+#elif \
+ JSON_HEDLEY_HAS_WARNING("-Wcast-qual") || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(4,6,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0)
+# define JSON_HEDLEY_CONST_CAST(T, expr) (__extension__ ({ \
+ JSON_HEDLEY_DIAGNOSTIC_PUSH \
+ JSON_HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL \
+ ((T) (expr)); \
+ JSON_HEDLEY_DIAGNOSTIC_POP \
+ }))
+#else
+# define JSON_HEDLEY_CONST_CAST(T, expr) ((T) (expr))
+#endif
+
+#if defined(JSON_HEDLEY_REINTERPRET_CAST)
+ #undef JSON_HEDLEY_REINTERPRET_CAST
+#endif
+#if defined(__cplusplus)
+ #define JSON_HEDLEY_REINTERPRET_CAST(T, expr) (reinterpret_cast<T>(expr))
+#else
+ #define JSON_HEDLEY_REINTERPRET_CAST(T, expr) ((T) (expr))
+#endif
+
+#if defined(JSON_HEDLEY_STATIC_CAST)
+ #undef JSON_HEDLEY_STATIC_CAST
+#endif
+#if defined(__cplusplus)
+ #define JSON_HEDLEY_STATIC_CAST(T, expr) (static_cast<T>(expr))
+#else
+ #define JSON_HEDLEY_STATIC_CAST(T, expr) ((T) (expr))
+#endif
+
+#if defined(JSON_HEDLEY_CPP_CAST)
+ #undef JSON_HEDLEY_CPP_CAST
+#endif
+#if defined(__cplusplus)
+# if JSON_HEDLEY_HAS_WARNING("-Wold-style-cast")
+# define JSON_HEDLEY_CPP_CAST(T, expr) \
+ JSON_HEDLEY_DIAGNOSTIC_PUSH \
+ _Pragma("clang diagnostic ignored \"-Wold-style-cast\"") \
+ ((T) (expr)) \
+ JSON_HEDLEY_DIAGNOSTIC_POP
+# elif JSON_HEDLEY_IAR_VERSION_CHECK(8,3,0)
+# define JSON_HEDLEY_CPP_CAST(T, expr) \
+ JSON_HEDLEY_DIAGNOSTIC_PUSH \
+ _Pragma("diag_suppress=Pe137") \
+ JSON_HEDLEY_DIAGNOSTIC_POP
+# else
+# define JSON_HEDLEY_CPP_CAST(T, expr) ((T) (expr))
+# endif
+#else
+# define JSON_HEDLEY_CPP_CAST(T, expr) (expr)
+#endif
+
+#if defined(JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED)
+ #undef JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED
+#endif
+#if JSON_HEDLEY_HAS_WARNING("-Wdeprecated-declarations")
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED _Pragma("clang diagnostic ignored \"-Wdeprecated-declarations\"")
+#elif JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED _Pragma("warning(disable:1478 1786)")
+#elif JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED __pragma(warning(disable:1478 1786))
+#elif JSON_HEDLEY_PGI_VERSION_CHECK(20,7,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED _Pragma("diag_suppress 1215,1216,1444,1445")
+#elif JSON_HEDLEY_PGI_VERSION_CHECK(17,10,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED _Pragma("diag_suppress 1215,1444")
+#elif JSON_HEDLEY_GCC_VERSION_CHECK(4,3,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
+#elif JSON_HEDLEY_MSVC_VERSION_CHECK(15,0,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED __pragma(warning(disable:4996))
+#elif JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED _Pragma("diag_suppress 1215,1444")
+#elif \
+ JSON_HEDLEY_TI_VERSION_CHECK(15,12,0) || \
+ (JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(4,8,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(5,2,0) || \
+ (JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,4,0) || \
+ (JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,3,0) || \
+ (JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,2,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,5,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(2,1,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED _Pragma("diag_suppress 1291,1718")
+#elif JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,13,0) && !defined(__cplusplus)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED _Pragma("error_messages(off,E_DEPRECATED_ATT,E_DEPRECATED_ATT_MESS)")
+#elif JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,13,0) && defined(__cplusplus)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED _Pragma("error_messages(off,symdeprecated,symdeprecated2)")
+#elif JSON_HEDLEY_IAR_VERSION_CHECK(8,0,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED _Pragma("diag_suppress=Pe1444,Pe1215")
+#elif JSON_HEDLEY_PELLES_VERSION_CHECK(2,90,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED _Pragma("warn(disable:2241)")
+#else
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED
+#endif
+
+#if defined(JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS)
+ #undef JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS
+#endif
+#if JSON_HEDLEY_HAS_WARNING("-Wunknown-pragmas")
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS _Pragma("clang diagnostic ignored \"-Wunknown-pragmas\"")
+#elif JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS _Pragma("warning(disable:161)")
+#elif JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS __pragma(warning(disable:161))
+#elif JSON_HEDLEY_PGI_VERSION_CHECK(17,10,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS _Pragma("diag_suppress 1675")
+#elif JSON_HEDLEY_GCC_VERSION_CHECK(4,3,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS _Pragma("GCC diagnostic ignored \"-Wunknown-pragmas\"")
+#elif JSON_HEDLEY_MSVC_VERSION_CHECK(15,0,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS __pragma(warning(disable:4068))
+#elif \
+ JSON_HEDLEY_TI_VERSION_CHECK(16,9,0) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(8,0,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(2,3,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS _Pragma("diag_suppress 163")
+#elif JSON_HEDLEY_TI_CL6X_VERSION_CHECK(8,0,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS _Pragma("diag_suppress 163")
+#elif JSON_HEDLEY_IAR_VERSION_CHECK(8,0,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS _Pragma("diag_suppress=Pe161")
+#elif JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS _Pragma("diag_suppress 161")
+#else
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS
+#endif
+
+#if defined(JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES)
+ #undef JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES
+#endif
+#if JSON_HEDLEY_HAS_WARNING("-Wunknown-attributes")
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES _Pragma("clang diagnostic ignored \"-Wunknown-attributes\"")
+#elif JSON_HEDLEY_GCC_VERSION_CHECK(4,6,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES _Pragma("GCC diagnostic ignored \"-Wdeprecated-declarations\"")
+#elif JSON_HEDLEY_INTEL_VERSION_CHECK(17,0,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES _Pragma("warning(disable:1292)")
+#elif JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES __pragma(warning(disable:1292))
+#elif JSON_HEDLEY_MSVC_VERSION_CHECK(19,0,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES __pragma(warning(disable:5030))
+#elif JSON_HEDLEY_PGI_VERSION_CHECK(20,7,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES _Pragma("diag_suppress 1097,1098")
+#elif JSON_HEDLEY_PGI_VERSION_CHECK(17,10,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES _Pragma("diag_suppress 1097")
+#elif JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,14,0) && defined(__cplusplus)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES _Pragma("error_messages(off,attrskipunsup)")
+#elif \
+ JSON_HEDLEY_TI_VERSION_CHECK(18,1,0) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(8,3,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES _Pragma("diag_suppress 1173")
+#elif JSON_HEDLEY_IAR_VERSION_CHECK(8,0,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES _Pragma("diag_suppress=Pe1097")
+#elif JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES _Pragma("diag_suppress 1097")
+#else
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES
+#endif
+
+#if defined(JSON_HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL)
+ #undef JSON_HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL
+#endif
+#if JSON_HEDLEY_HAS_WARNING("-Wcast-qual")
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL _Pragma("clang diagnostic ignored \"-Wcast-qual\"")
+#elif JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL _Pragma("warning(disable:2203 2331)")
+#elif JSON_HEDLEY_GCC_VERSION_CHECK(3,0,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL _Pragma("GCC diagnostic ignored \"-Wcast-qual\"")
+#else
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL
+#endif
+
+#if defined(JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNUSED_FUNCTION)
+ #undef JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNUSED_FUNCTION
+#endif
+#if JSON_HEDLEY_HAS_WARNING("-Wunused-function")
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNUSED_FUNCTION _Pragma("clang diagnostic ignored \"-Wunused-function\"")
+#elif JSON_HEDLEY_GCC_VERSION_CHECK(3,4,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNUSED_FUNCTION _Pragma("GCC diagnostic ignored \"-Wunused-function\"")
+#elif JSON_HEDLEY_MSVC_VERSION_CHECK(1,0,0)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNUSED_FUNCTION __pragma(warning(disable:4505))
+#elif JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNUSED_FUNCTION _Pragma("diag_suppress 3142")
+#else
+ #define JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNUSED_FUNCTION
+#endif
+
+#if defined(JSON_HEDLEY_DEPRECATED)
+ #undef JSON_HEDLEY_DEPRECATED
+#endif
+#if defined(JSON_HEDLEY_DEPRECATED_FOR)
+ #undef JSON_HEDLEY_DEPRECATED_FOR
+#endif
+#if \
+ JSON_HEDLEY_MSVC_VERSION_CHECK(14,0,0) || \
+ JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0)
+ #define JSON_HEDLEY_DEPRECATED(since) __declspec(deprecated("Since " # since))
+ #define JSON_HEDLEY_DEPRECATED_FOR(since, replacement) __declspec(deprecated("Since " #since "; use " #replacement))
+#elif \
+ (JSON_HEDLEY_HAS_EXTENSION(attribute_deprecated_with_message) && !defined(JSON_HEDLEY_IAR_VERSION)) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(4,5,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(5,6,0) || \
+ JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,13,0) || \
+ JSON_HEDLEY_PGI_VERSION_CHECK(17,10,0) || \
+ JSON_HEDLEY_TI_VERSION_CHECK(18,1,0) || \
+ JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(18,1,0) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(8,3,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(2,3,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_DEPRECATED(since) __attribute__((__deprecated__("Since " #since)))
+ #define JSON_HEDLEY_DEPRECATED_FOR(since, replacement) __attribute__((__deprecated__("Since " #since "; use " #replacement)))
+#elif defined(__cplusplus) && (__cplusplus >= 201402L)
+ #define JSON_HEDLEY_DEPRECATED(since) JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[deprecated("Since " #since)]])
+ #define JSON_HEDLEY_DEPRECATED_FOR(since, replacement) JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[deprecated("Since " #since "; use " #replacement)]])
+#elif \
+ JSON_HEDLEY_HAS_ATTRIBUTE(deprecated) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(3,1,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
+ JSON_HEDLEY_TI_VERSION_CHECK(15,12,0) || \
+ (JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(4,8,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(5,2,0) || \
+ (JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,4,0) || \
+ (JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,3,0) || \
+ (JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,2,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,5,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(2,1,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10) || \
+ JSON_HEDLEY_IAR_VERSION_CHECK(8,10,0)
+ #define JSON_HEDLEY_DEPRECATED(since) __attribute__((__deprecated__))
+ #define JSON_HEDLEY_DEPRECATED_FOR(since, replacement) __attribute__((__deprecated__))
+#elif \
+ JSON_HEDLEY_MSVC_VERSION_CHECK(13,10,0) || \
+ JSON_HEDLEY_PELLES_VERSION_CHECK(6,50,0) || \
+ JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0)
+ #define JSON_HEDLEY_DEPRECATED(since) __declspec(deprecated)
+ #define JSON_HEDLEY_DEPRECATED_FOR(since, replacement) __declspec(deprecated)
+#elif JSON_HEDLEY_IAR_VERSION_CHECK(8,0,0)
+ #define JSON_HEDLEY_DEPRECATED(since) _Pragma("deprecated")
+ #define JSON_HEDLEY_DEPRECATED_FOR(since, replacement) _Pragma("deprecated")
+#else
+ #define JSON_HEDLEY_DEPRECATED(since)
+ #define JSON_HEDLEY_DEPRECATED_FOR(since, replacement)
+#endif
+
+#if defined(JSON_HEDLEY_UNAVAILABLE)
+ #undef JSON_HEDLEY_UNAVAILABLE
+#endif
+#if \
+ JSON_HEDLEY_HAS_ATTRIBUTE(warning) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(4,3,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_UNAVAILABLE(available_since) __attribute__((__warning__("Not available until " #available_since)))
+#else
+ #define JSON_HEDLEY_UNAVAILABLE(available_since)
+#endif
+
+#if defined(JSON_HEDLEY_WARN_UNUSED_RESULT)
+ #undef JSON_HEDLEY_WARN_UNUSED_RESULT
+#endif
+#if defined(JSON_HEDLEY_WARN_UNUSED_RESULT_MSG)
+ #undef JSON_HEDLEY_WARN_UNUSED_RESULT_MSG
+#endif
+#if \
+ JSON_HEDLEY_HAS_ATTRIBUTE(warn_unused_result) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(3,4,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_TI_VERSION_CHECK(15,12,0) || \
+ (JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(4,8,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(5,2,0) || \
+ (JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,4,0) || \
+ (JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,3,0) || \
+ (JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,2,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,5,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(2,1,0) || \
+ (JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,15,0) && defined(__cplusplus)) || \
+ JSON_HEDLEY_PGI_VERSION_CHECK(17,10,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_WARN_UNUSED_RESULT __attribute__((__warn_unused_result__))
+ #define JSON_HEDLEY_WARN_UNUSED_RESULT_MSG(msg) __attribute__((__warn_unused_result__))
+#elif (JSON_HEDLEY_HAS_CPP_ATTRIBUTE(nodiscard) >= 201907L)
+ #define JSON_HEDLEY_WARN_UNUSED_RESULT JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[nodiscard]])
+ #define JSON_HEDLEY_WARN_UNUSED_RESULT_MSG(msg) JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[nodiscard(msg)]])
+#elif JSON_HEDLEY_HAS_CPP_ATTRIBUTE(nodiscard)
+ #define JSON_HEDLEY_WARN_UNUSED_RESULT JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[nodiscard]])
+ #define JSON_HEDLEY_WARN_UNUSED_RESULT_MSG(msg) JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[nodiscard]])
+#elif defined(_Check_return_) /* SAL */
+ #define JSON_HEDLEY_WARN_UNUSED_RESULT _Check_return_
+ #define JSON_HEDLEY_WARN_UNUSED_RESULT_MSG(msg) _Check_return_
+#else
+ #define JSON_HEDLEY_WARN_UNUSED_RESULT
+ #define JSON_HEDLEY_WARN_UNUSED_RESULT_MSG(msg)
+#endif
+
+#if defined(JSON_HEDLEY_SENTINEL)
+ #undef JSON_HEDLEY_SENTINEL
+#endif
+#if \
+ JSON_HEDLEY_HAS_ATTRIBUTE(sentinel) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(4,0,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(5,4,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_SENTINEL(position) __attribute__((__sentinel__(position)))
+#else
+ #define JSON_HEDLEY_SENTINEL(position)
+#endif
+
+#if defined(JSON_HEDLEY_NO_RETURN)
+ #undef JSON_HEDLEY_NO_RETURN
+#endif
+#if JSON_HEDLEY_IAR_VERSION_CHECK(8,0,0)
+ #define JSON_HEDLEY_NO_RETURN __noreturn
+#elif \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_NO_RETURN __attribute__((__noreturn__))
+#elif defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L
+ #define JSON_HEDLEY_NO_RETURN _Noreturn
+#elif defined(__cplusplus) && (__cplusplus >= 201103L)
+ #define JSON_HEDLEY_NO_RETURN JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[noreturn]])
+#elif \
+ JSON_HEDLEY_HAS_ATTRIBUTE(noreturn) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(3,2,0) || \
+ JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,11,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
+ JSON_HEDLEY_IBM_VERSION_CHECK(10,1,0) || \
+ JSON_HEDLEY_TI_VERSION_CHECK(15,12,0) || \
+ (JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(4,8,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(5,2,0) || \
+ (JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,4,0) || \
+ (JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,3,0) || \
+ (JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,2,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,5,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(2,1,0) || \
+ JSON_HEDLEY_IAR_VERSION_CHECK(8,10,0)
+ #define JSON_HEDLEY_NO_RETURN __attribute__((__noreturn__))
+#elif JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,10,0)
+ #define JSON_HEDLEY_NO_RETURN _Pragma("does_not_return")
+#elif \
+ JSON_HEDLEY_MSVC_VERSION_CHECK(13,10,0) || \
+ JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0)
+ #define JSON_HEDLEY_NO_RETURN __declspec(noreturn)
+#elif JSON_HEDLEY_TI_CL6X_VERSION_CHECK(6,0,0) && defined(__cplusplus)
+ #define JSON_HEDLEY_NO_RETURN _Pragma("FUNC_NEVER_RETURNS;")
+#elif JSON_HEDLEY_COMPCERT_VERSION_CHECK(3,2,0)
+ #define JSON_HEDLEY_NO_RETURN __attribute((noreturn))
+#elif JSON_HEDLEY_PELLES_VERSION_CHECK(9,0,0)
+ #define JSON_HEDLEY_NO_RETURN __declspec(noreturn)
+#else
+ #define JSON_HEDLEY_NO_RETURN
+#endif
+
+#if defined(JSON_HEDLEY_NO_ESCAPE)
+ #undef JSON_HEDLEY_NO_ESCAPE
+#endif
+#if JSON_HEDLEY_HAS_ATTRIBUTE(noescape)
+ #define JSON_HEDLEY_NO_ESCAPE __attribute__((__noescape__))
+#else
+ #define JSON_HEDLEY_NO_ESCAPE
+#endif
+
+#if defined(JSON_HEDLEY_UNREACHABLE)
+ #undef JSON_HEDLEY_UNREACHABLE
+#endif
+#if defined(JSON_HEDLEY_UNREACHABLE_RETURN)
+ #undef JSON_HEDLEY_UNREACHABLE_RETURN
+#endif
+#if defined(JSON_HEDLEY_ASSUME)
+ #undef JSON_HEDLEY_ASSUME
+#endif
+#if \
+ JSON_HEDLEY_MSVC_VERSION_CHECK(13,10,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0)
+ #define JSON_HEDLEY_ASSUME(expr) __assume(expr)
+#elif JSON_HEDLEY_HAS_BUILTIN(__builtin_assume)
+ #define JSON_HEDLEY_ASSUME(expr) __builtin_assume(expr)
+#elif \
+ JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,2,0) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(4,0,0)
+ #if defined(__cplusplus)
+ #define JSON_HEDLEY_ASSUME(expr) std::_nassert(expr)
+ #else
+ #define JSON_HEDLEY_ASSUME(expr) _nassert(expr)
+ #endif
+#endif
+#if \
+ (JSON_HEDLEY_HAS_BUILTIN(__builtin_unreachable) && (!defined(JSON_HEDLEY_ARM_VERSION))) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(4,5,0) || \
+ JSON_HEDLEY_PGI_VERSION_CHECK(18,10,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_IBM_VERSION_CHECK(13,1,5) || \
+ JSON_HEDLEY_CRAY_VERSION_CHECK(10,0,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_UNREACHABLE() __builtin_unreachable()
+#elif defined(JSON_HEDLEY_ASSUME)
+ #define JSON_HEDLEY_UNREACHABLE() JSON_HEDLEY_ASSUME(0)
+#endif
+#if !defined(JSON_HEDLEY_ASSUME)
+ #if defined(JSON_HEDLEY_UNREACHABLE)
+ #define JSON_HEDLEY_ASSUME(expr) JSON_HEDLEY_STATIC_CAST(void, ((expr) ? 1 : (JSON_HEDLEY_UNREACHABLE(), 1)))
+ #else
+ #define JSON_HEDLEY_ASSUME(expr) JSON_HEDLEY_STATIC_CAST(void, expr)
+ #endif
+#endif
+#if defined(JSON_HEDLEY_UNREACHABLE)
+ #if \
+ JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,2,0) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(4,0,0)
+ #define JSON_HEDLEY_UNREACHABLE_RETURN(value) return (JSON_HEDLEY_STATIC_CAST(void, JSON_HEDLEY_ASSUME(0)), (value))
+ #else
+ #define JSON_HEDLEY_UNREACHABLE_RETURN(value) JSON_HEDLEY_UNREACHABLE()
+ #endif
+#else
+ #define JSON_HEDLEY_UNREACHABLE_RETURN(value) return (value)
+#endif
+#if !defined(JSON_HEDLEY_UNREACHABLE)
+ #define JSON_HEDLEY_UNREACHABLE() JSON_HEDLEY_ASSUME(0)
+#endif
+
+JSON_HEDLEY_DIAGNOSTIC_PUSH
+#if JSON_HEDLEY_HAS_WARNING("-Wpedantic")
+ #pragma clang diagnostic ignored "-Wpedantic"
+#endif
+#if JSON_HEDLEY_HAS_WARNING("-Wc++98-compat-pedantic") && defined(__cplusplus)
+ #pragma clang diagnostic ignored "-Wc++98-compat-pedantic"
+#endif
+#if JSON_HEDLEY_GCC_HAS_WARNING("-Wvariadic-macros",4,0,0)
+ #if defined(__clang__)
+ #pragma clang diagnostic ignored "-Wvariadic-macros"
+ #elif defined(JSON_HEDLEY_GCC_VERSION)
+ #pragma GCC diagnostic ignored "-Wvariadic-macros"
+ #endif
+#endif
+#if defined(JSON_HEDLEY_NON_NULL)
+ #undef JSON_HEDLEY_NON_NULL
+#endif
+#if \
+ JSON_HEDLEY_HAS_ATTRIBUTE(nonnull) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(3,3,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(4,1,0)
+ #define JSON_HEDLEY_NON_NULL(...) __attribute__((__nonnull__(__VA_ARGS__)))
+#else
+ #define JSON_HEDLEY_NON_NULL(...)
+#endif
+JSON_HEDLEY_DIAGNOSTIC_POP
+
+#if defined(JSON_HEDLEY_PRINTF_FORMAT)
+ #undef JSON_HEDLEY_PRINTF_FORMAT
+#endif
+#if defined(__MINGW32__) && JSON_HEDLEY_GCC_HAS_ATTRIBUTE(format,4,4,0) && !defined(__USE_MINGW_ANSI_STDIO)
+ #define JSON_HEDLEY_PRINTF_FORMAT(string_idx,first_to_check) __attribute__((__format__(ms_printf, string_idx, first_to_check)))
+#elif defined(__MINGW32__) && JSON_HEDLEY_GCC_HAS_ATTRIBUTE(format,4,4,0) && defined(__USE_MINGW_ANSI_STDIO)
+ #define JSON_HEDLEY_PRINTF_FORMAT(string_idx,first_to_check) __attribute__((__format__(gnu_printf, string_idx, first_to_check)))
+#elif \
+ JSON_HEDLEY_HAS_ATTRIBUTE(format) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(3,1,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(5,6,0) || \
+ JSON_HEDLEY_IBM_VERSION_CHECK(10,1,0) || \
+ JSON_HEDLEY_TI_VERSION_CHECK(15,12,0) || \
+ (JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(4,8,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(5,2,0) || \
+ (JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,4,0) || \
+ (JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,3,0) || \
+ (JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,2,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,5,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(2,1,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_PRINTF_FORMAT(string_idx,first_to_check) __attribute__((__format__(__printf__, string_idx, first_to_check)))
+#elif JSON_HEDLEY_PELLES_VERSION_CHECK(6,0,0)
+ #define JSON_HEDLEY_PRINTF_FORMAT(string_idx,first_to_check) __declspec(vaformat(printf,string_idx,first_to_check))
+#else
+ #define JSON_HEDLEY_PRINTF_FORMAT(string_idx,first_to_check)
+#endif
+
+#if defined(JSON_HEDLEY_CONSTEXPR)
+ #undef JSON_HEDLEY_CONSTEXPR
+#endif
+#if defined(__cplusplus)
+ #if __cplusplus >= 201103L
+ #define JSON_HEDLEY_CONSTEXPR JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_(constexpr)
+ #endif
+#endif
+#if !defined(JSON_HEDLEY_CONSTEXPR)
+ #define JSON_HEDLEY_CONSTEXPR
+#endif
+
+#if defined(JSON_HEDLEY_PREDICT)
+ #undef JSON_HEDLEY_PREDICT
+#endif
+#if defined(JSON_HEDLEY_LIKELY)
+ #undef JSON_HEDLEY_LIKELY
+#endif
+#if defined(JSON_HEDLEY_UNLIKELY)
+ #undef JSON_HEDLEY_UNLIKELY
+#endif
+#if defined(JSON_HEDLEY_UNPREDICTABLE)
+ #undef JSON_HEDLEY_UNPREDICTABLE
+#endif
+#if JSON_HEDLEY_HAS_BUILTIN(__builtin_unpredictable)
+ #define JSON_HEDLEY_UNPREDICTABLE(expr) __builtin_unpredictable((expr))
+#endif
+#if \
+ (JSON_HEDLEY_HAS_BUILTIN(__builtin_expect_with_probability) && !defined(JSON_HEDLEY_PGI_VERSION)) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(9,0,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+# define JSON_HEDLEY_PREDICT(expr, value, probability) __builtin_expect_with_probability( (expr), (value), (probability))
+# define JSON_HEDLEY_PREDICT_TRUE(expr, probability) __builtin_expect_with_probability(!!(expr), 1 , (probability))
+# define JSON_HEDLEY_PREDICT_FALSE(expr, probability) __builtin_expect_with_probability(!!(expr), 0 , (probability))
+# define JSON_HEDLEY_LIKELY(expr) __builtin_expect (!!(expr), 1 )
+# define JSON_HEDLEY_UNLIKELY(expr) __builtin_expect (!!(expr), 0 )
+#elif \
+ (JSON_HEDLEY_HAS_BUILTIN(__builtin_expect) && !defined(JSON_HEDLEY_INTEL_CL_VERSION)) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(3,0,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ (JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,15,0) && defined(__cplusplus)) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
+ JSON_HEDLEY_IBM_VERSION_CHECK(10,1,0) || \
+ JSON_HEDLEY_TI_VERSION_CHECK(15,12,0) || \
+ JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(4,7,0) || \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(3,1,0) || \
+ JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,1,0) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(6,1,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(2,1,0) || \
+ JSON_HEDLEY_TINYC_VERSION_CHECK(0,9,27) || \
+ JSON_HEDLEY_CRAY_VERSION_CHECK(8,1,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+# define JSON_HEDLEY_PREDICT(expr, expected, probability) \
+ (((probability) >= 0.9) ? __builtin_expect((expr), (expected)) : (JSON_HEDLEY_STATIC_CAST(void, expected), (expr)))
+# define JSON_HEDLEY_PREDICT_TRUE(expr, probability) \
+ (__extension__ ({ \
+ double hedley_probability_ = (probability); \
+ ((hedley_probability_ >= 0.9) ? __builtin_expect(!!(expr), 1) : ((hedley_probability_ <= 0.1) ? __builtin_expect(!!(expr), 0) : !!(expr))); \
+ }))
+# define JSON_HEDLEY_PREDICT_FALSE(expr, probability) \
+ (__extension__ ({ \
+ double hedley_probability_ = (probability); \
+ ((hedley_probability_ >= 0.9) ? __builtin_expect(!!(expr), 0) : ((hedley_probability_ <= 0.1) ? __builtin_expect(!!(expr), 1) : !!(expr))); \
+ }))
+# define JSON_HEDLEY_LIKELY(expr) __builtin_expect(!!(expr), 1)
+# define JSON_HEDLEY_UNLIKELY(expr) __builtin_expect(!!(expr), 0)
+#else
+# define JSON_HEDLEY_PREDICT(expr, expected, probability) (JSON_HEDLEY_STATIC_CAST(void, expected), (expr))
+# define JSON_HEDLEY_PREDICT_TRUE(expr, probability) (!!(expr))
+# define JSON_HEDLEY_PREDICT_FALSE(expr, probability) (!!(expr))
+# define JSON_HEDLEY_LIKELY(expr) (!!(expr))
+# define JSON_HEDLEY_UNLIKELY(expr) (!!(expr))
+#endif
+#if !defined(JSON_HEDLEY_UNPREDICTABLE)
+ #define JSON_HEDLEY_UNPREDICTABLE(expr) JSON_HEDLEY_PREDICT(expr, 1, 0.5)
+#endif
+
+#if defined(JSON_HEDLEY_MALLOC)
+ #undef JSON_HEDLEY_MALLOC
+#endif
+#if \
+ JSON_HEDLEY_HAS_ATTRIBUTE(malloc) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(3,1,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,11,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
+ JSON_HEDLEY_IBM_VERSION_CHECK(12,1,0) || \
+ JSON_HEDLEY_TI_VERSION_CHECK(15,12,0) || \
+ (JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(4,8,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(5,2,0) || \
+ (JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,4,0) || \
+ (JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,3,0) || \
+ (JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,2,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,5,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(2,1,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_MALLOC __attribute__((__malloc__))
+#elif JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,10,0)
+ #define JSON_HEDLEY_MALLOC _Pragma("returns_new_memory")
+#elif \
+ JSON_HEDLEY_MSVC_VERSION_CHECK(14,0,0) || \
+ JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0)
+ #define JSON_HEDLEY_MALLOC __declspec(restrict)
+#else
+ #define JSON_HEDLEY_MALLOC
+#endif
+
+#if defined(JSON_HEDLEY_PURE)
+ #undef JSON_HEDLEY_PURE
+#endif
+#if \
+ JSON_HEDLEY_HAS_ATTRIBUTE(pure) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(2,96,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,11,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
+ JSON_HEDLEY_IBM_VERSION_CHECK(10,1,0) || \
+ JSON_HEDLEY_TI_VERSION_CHECK(15,12,0) || \
+ (JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(4,8,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(5,2,0) || \
+ (JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,4,0) || \
+ (JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,3,0) || \
+ (JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,2,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,5,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(2,1,0) || \
+ JSON_HEDLEY_PGI_VERSION_CHECK(17,10,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+# define JSON_HEDLEY_PURE __attribute__((__pure__))
+#elif JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,10,0)
+# define JSON_HEDLEY_PURE _Pragma("does_not_write_global_data")
+#elif defined(__cplusplus) && \
+ ( \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(2,0,1) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(4,0,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) \
+ )
+# define JSON_HEDLEY_PURE _Pragma("FUNC_IS_PURE;")
+#else
+# define JSON_HEDLEY_PURE
+#endif
+
+#if defined(JSON_HEDLEY_CONST)
+ #undef JSON_HEDLEY_CONST
+#endif
+#if \
+ JSON_HEDLEY_HAS_ATTRIBUTE(const) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(2,5,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,11,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
+ JSON_HEDLEY_IBM_VERSION_CHECK(10,1,0) || \
+ JSON_HEDLEY_TI_VERSION_CHECK(15,12,0) || \
+ (JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(4,8,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(5,2,0) || \
+ (JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,4,0) || \
+ (JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,3,0) || \
+ (JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,2,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,5,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(2,1,0) || \
+ JSON_HEDLEY_PGI_VERSION_CHECK(17,10,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_CONST __attribute__((__const__))
+#elif \
+ JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,10,0)
+ #define JSON_HEDLEY_CONST _Pragma("no_side_effect")
+#else
+ #define JSON_HEDLEY_CONST JSON_HEDLEY_PURE
+#endif
+
+#if defined(JSON_HEDLEY_RESTRICT)
+ #undef JSON_HEDLEY_RESTRICT
+#endif
+#if defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) && !defined(__cplusplus)
+ #define JSON_HEDLEY_RESTRICT restrict
+#elif \
+ JSON_HEDLEY_GCC_VERSION_CHECK(3,1,0) || \
+ JSON_HEDLEY_MSVC_VERSION_CHECK(14,0,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
+ JSON_HEDLEY_IBM_VERSION_CHECK(10,1,0) || \
+ JSON_HEDLEY_PGI_VERSION_CHECK(17,10,0) || \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,3,0) || \
+ JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,2,4) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(8,1,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ (JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,14,0) && defined(__cplusplus)) || \
+ JSON_HEDLEY_IAR_VERSION_CHECK(8,0,0) || \
+ defined(__clang__) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_RESTRICT __restrict
+#elif JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,3,0) && !defined(__cplusplus)
+ #define JSON_HEDLEY_RESTRICT _Restrict
+#else
+ #define JSON_HEDLEY_RESTRICT
+#endif
+
+#if defined(JSON_HEDLEY_INLINE)
+ #undef JSON_HEDLEY_INLINE
+#endif
+#if \
+ (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) || \
+ (defined(__cplusplus) && (__cplusplus >= 199711L))
+ #define JSON_HEDLEY_INLINE inline
+#elif \
+ defined(JSON_HEDLEY_GCC_VERSION) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(6,2,0)
+ #define JSON_HEDLEY_INLINE __inline__
+#elif \
+ JSON_HEDLEY_MSVC_VERSION_CHECK(12,0,0) || \
+ JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
+ JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(5,1,0) || \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(3,1,0) || \
+ JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,2,0) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(8,0,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(2,1,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_INLINE __inline
+#else
+ #define JSON_HEDLEY_INLINE
+#endif
+
+#if defined(JSON_HEDLEY_ALWAYS_INLINE)
+ #undef JSON_HEDLEY_ALWAYS_INLINE
+#endif
+#if \
+ JSON_HEDLEY_HAS_ATTRIBUTE(always_inline) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(4,0,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,11,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
+ JSON_HEDLEY_IBM_VERSION_CHECK(10,1,0) || \
+ JSON_HEDLEY_TI_VERSION_CHECK(15,12,0) || \
+ (JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(4,8,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(5,2,0) || \
+ (JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,4,0) || \
+ (JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,3,0) || \
+ (JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,2,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,5,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(2,1,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10) || \
+ JSON_HEDLEY_IAR_VERSION_CHECK(8,10,0)
+# define JSON_HEDLEY_ALWAYS_INLINE __attribute__((__always_inline__)) JSON_HEDLEY_INLINE
+#elif \
+ JSON_HEDLEY_MSVC_VERSION_CHECK(12,0,0) || \
+ JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0)
+# define JSON_HEDLEY_ALWAYS_INLINE __forceinline
+#elif defined(__cplusplus) && \
+ ( \
+ JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(5,2,0) || \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,3,0) || \
+ JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,4,0) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(6,1,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(2,1,0) \
+ )
+# define JSON_HEDLEY_ALWAYS_INLINE _Pragma("FUNC_ALWAYS_INLINE;")
+#elif JSON_HEDLEY_IAR_VERSION_CHECK(8,0,0)
+# define JSON_HEDLEY_ALWAYS_INLINE _Pragma("inline=forced")
+#else
+# define JSON_HEDLEY_ALWAYS_INLINE JSON_HEDLEY_INLINE
+#endif
+
+#if defined(JSON_HEDLEY_NEVER_INLINE)
+ #undef JSON_HEDLEY_NEVER_INLINE
+#endif
+#if \
+ JSON_HEDLEY_HAS_ATTRIBUTE(noinline) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(4,0,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,11,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
+ JSON_HEDLEY_IBM_VERSION_CHECK(10,1,0) || \
+ JSON_HEDLEY_TI_VERSION_CHECK(15,12,0) || \
+ (JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(4,8,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_ARMCL_VERSION_CHECK(5,2,0) || \
+ (JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL2000_VERSION_CHECK(6,4,0) || \
+ (JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,0,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(4,3,0) || \
+ (JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,2,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,5,0) || \
+ JSON_HEDLEY_TI_CL7X_VERSION_CHECK(1,2,0) || \
+ JSON_HEDLEY_TI_CLPRU_VERSION_CHECK(2,1,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10) || \
+ JSON_HEDLEY_IAR_VERSION_CHECK(8,10,0)
+ #define JSON_HEDLEY_NEVER_INLINE __attribute__((__noinline__))
+#elif \
+ JSON_HEDLEY_MSVC_VERSION_CHECK(13,10,0) || \
+ JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0)
+ #define JSON_HEDLEY_NEVER_INLINE __declspec(noinline)
+#elif JSON_HEDLEY_PGI_VERSION_CHECK(10,2,0)
+ #define JSON_HEDLEY_NEVER_INLINE _Pragma("noinline")
+#elif JSON_HEDLEY_TI_CL6X_VERSION_CHECK(6,0,0) && defined(__cplusplus)
+ #define JSON_HEDLEY_NEVER_INLINE _Pragma("FUNC_CANNOT_INLINE;")
+#elif JSON_HEDLEY_IAR_VERSION_CHECK(8,0,0)
+ #define JSON_HEDLEY_NEVER_INLINE _Pragma("inline=never")
+#elif JSON_HEDLEY_COMPCERT_VERSION_CHECK(3,2,0)
+ #define JSON_HEDLEY_NEVER_INLINE __attribute((noinline))
+#elif JSON_HEDLEY_PELLES_VERSION_CHECK(9,0,0)
+ #define JSON_HEDLEY_NEVER_INLINE __declspec(noinline)
+#else
+ #define JSON_HEDLEY_NEVER_INLINE
+#endif
+
+#if defined(JSON_HEDLEY_PRIVATE)
+ #undef JSON_HEDLEY_PRIVATE
+#endif
+#if defined(JSON_HEDLEY_PUBLIC)
+ #undef JSON_HEDLEY_PUBLIC
+#endif
+#if defined(JSON_HEDLEY_IMPORT)
+ #undef JSON_HEDLEY_IMPORT
+#endif
+#if defined(_WIN32) || defined(__CYGWIN__)
+# define JSON_HEDLEY_PRIVATE
+# define JSON_HEDLEY_PUBLIC __declspec(dllexport)
+# define JSON_HEDLEY_IMPORT __declspec(dllimport)
+#else
+# if \
+ JSON_HEDLEY_HAS_ATTRIBUTE(visibility) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(3,3,0) || \
+ JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,11,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
+ JSON_HEDLEY_IBM_VERSION_CHECK(13,1,0) || \
+ ( \
+ defined(__TI_EABI__) && \
+ ( \
+ (JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,2,0) && defined(__TI_GNU_ATTRIBUTE_SUPPORT__)) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(7,5,0) \
+ ) \
+ ) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+# define JSON_HEDLEY_PRIVATE __attribute__((__visibility__("hidden")))
+# define JSON_HEDLEY_PUBLIC __attribute__((__visibility__("default")))
+# else
+# define JSON_HEDLEY_PRIVATE
+# define JSON_HEDLEY_PUBLIC
+# endif
+# define JSON_HEDLEY_IMPORT extern
+#endif
+
+#if defined(JSON_HEDLEY_NO_THROW)
+ #undef JSON_HEDLEY_NO_THROW
+#endif
+#if \
+ JSON_HEDLEY_HAS_ATTRIBUTE(nothrow) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(3,3,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_NO_THROW __attribute__((__nothrow__))
+#elif \
+ JSON_HEDLEY_MSVC_VERSION_CHECK(13,1,0) || \
+ JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(4,1,0)
+ #define JSON_HEDLEY_NO_THROW __declspec(nothrow)
+#else
+ #define JSON_HEDLEY_NO_THROW
+#endif
+
+#if defined(JSON_HEDLEY_FALL_THROUGH)
+ #undef JSON_HEDLEY_FALL_THROUGH
+#endif
+#if \
+ JSON_HEDLEY_HAS_ATTRIBUTE(fallthrough) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(7,0,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_FALL_THROUGH __attribute__((__fallthrough__))
+#elif JSON_HEDLEY_HAS_CPP_ATTRIBUTE_NS(clang,fallthrough)
+ #define JSON_HEDLEY_FALL_THROUGH JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[clang::fallthrough]])
+#elif JSON_HEDLEY_HAS_CPP_ATTRIBUTE(fallthrough)
+ #define JSON_HEDLEY_FALL_THROUGH JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_([[fallthrough]])
+#elif defined(__fallthrough) /* SAL */
+ #define JSON_HEDLEY_FALL_THROUGH __fallthrough
+#else
+ #define JSON_HEDLEY_FALL_THROUGH
+#endif
+
+#if defined(JSON_HEDLEY_RETURNS_NON_NULL)
+ #undef JSON_HEDLEY_RETURNS_NON_NULL
+#endif
+#if \
+ JSON_HEDLEY_HAS_ATTRIBUTE(returns_nonnull) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(4,9,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_RETURNS_NON_NULL __attribute__((__returns_nonnull__))
+#elif defined(_Ret_notnull_) /* SAL */
+ #define JSON_HEDLEY_RETURNS_NON_NULL _Ret_notnull_
+#else
+ #define JSON_HEDLEY_RETURNS_NON_NULL
+#endif
+
+#if defined(JSON_HEDLEY_ARRAY_PARAM)
+ #undef JSON_HEDLEY_ARRAY_PARAM
+#endif
+#if \
+ defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) && \
+ !defined(__STDC_NO_VLA__) && \
+ !defined(__cplusplus) && \
+ !defined(JSON_HEDLEY_PGI_VERSION) && \
+ !defined(JSON_HEDLEY_TINYC_VERSION)
+ #define JSON_HEDLEY_ARRAY_PARAM(name) (name)
+#else
+ #define JSON_HEDLEY_ARRAY_PARAM(name)
+#endif
+
+#if defined(JSON_HEDLEY_IS_CONSTANT)
+ #undef JSON_HEDLEY_IS_CONSTANT
+#endif
+#if defined(JSON_HEDLEY_REQUIRE_CONSTEXPR)
+ #undef JSON_HEDLEY_REQUIRE_CONSTEXPR
+#endif
+/* JSON_HEDLEY_IS_CONSTEXPR_ is for
+ HEDLEY INTERNAL USE ONLY. API subject to change without notice. */
+#if defined(JSON_HEDLEY_IS_CONSTEXPR_)
+ #undef JSON_HEDLEY_IS_CONSTEXPR_
+#endif
+#if \
+ JSON_HEDLEY_HAS_BUILTIN(__builtin_constant_p) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(3,4,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_TINYC_VERSION_CHECK(0,9,19) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(4,1,0) || \
+ JSON_HEDLEY_IBM_VERSION_CHECK(13,1,0) || \
+ JSON_HEDLEY_TI_CL6X_VERSION_CHECK(6,1,0) || \
+ (JSON_HEDLEY_SUNPRO_VERSION_CHECK(5,10,0) && !defined(__cplusplus)) || \
+ JSON_HEDLEY_CRAY_VERSION_CHECK(8,1,0) || \
+ JSON_HEDLEY_MCST_LCC_VERSION_CHECK(1,25,10)
+ #define JSON_HEDLEY_IS_CONSTANT(expr) __builtin_constant_p(expr)
+#endif
+#if !defined(__cplusplus)
+# if \
+ JSON_HEDLEY_HAS_BUILTIN(__builtin_types_compatible_p) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(3,4,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ JSON_HEDLEY_IBM_VERSION_CHECK(13,1,0) || \
+ JSON_HEDLEY_CRAY_VERSION_CHECK(8,1,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(5,4,0) || \
+ JSON_HEDLEY_TINYC_VERSION_CHECK(0,9,24)
+#if defined(__INTPTR_TYPE__)
+ #define JSON_HEDLEY_IS_CONSTEXPR_(expr) __builtin_types_compatible_p(__typeof__((1 ? (void*) ((__INTPTR_TYPE__) ((expr) * 0)) : (int*) 0)), int*)
+#else
+ #include <stdint.h>
+ #define JSON_HEDLEY_IS_CONSTEXPR_(expr) __builtin_types_compatible_p(__typeof__((1 ? (void*) ((intptr_t) ((expr) * 0)) : (int*) 0)), int*)
+#endif
+# elif \
+ ( \
+ defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) && \
+ !defined(JSON_HEDLEY_SUNPRO_VERSION) && \
+ !defined(JSON_HEDLEY_PGI_VERSION) && \
+ !defined(JSON_HEDLEY_IAR_VERSION)) || \
+ (JSON_HEDLEY_HAS_EXTENSION(c_generic_selections) && !defined(JSON_HEDLEY_IAR_VERSION)) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(4,9,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(17,0,0) || \
+ JSON_HEDLEY_IBM_VERSION_CHECK(12,1,0) || \
+ JSON_HEDLEY_ARM_VERSION_CHECK(5,3,0)
+#if defined(__INTPTR_TYPE__)
+ #define JSON_HEDLEY_IS_CONSTEXPR_(expr) _Generic((1 ? (void*) ((__INTPTR_TYPE__) ((expr) * 0)) : (int*) 0), int*: 1, void*: 0)
+#else
+ #include <stdint.h>
+ #define JSON_HEDLEY_IS_CONSTEXPR_(expr) _Generic((1 ? (void*) ((intptr_t) * 0) : (int*) 0), int*: 1, void*: 0)
+#endif
+# elif \
+ defined(JSON_HEDLEY_GCC_VERSION) || \
+ defined(JSON_HEDLEY_INTEL_VERSION) || \
+ defined(JSON_HEDLEY_TINYC_VERSION) || \
+ defined(JSON_HEDLEY_TI_ARMCL_VERSION) || \
+ JSON_HEDLEY_TI_CL430_VERSION_CHECK(18,12,0) || \
+ defined(JSON_HEDLEY_TI_CL2000_VERSION) || \
+ defined(JSON_HEDLEY_TI_CL6X_VERSION) || \
+ defined(JSON_HEDLEY_TI_CL7X_VERSION) || \
+ defined(JSON_HEDLEY_TI_CLPRU_VERSION) || \
+ defined(__clang__)
+# define JSON_HEDLEY_IS_CONSTEXPR_(expr) ( \
+ sizeof(void) != \
+ sizeof(*( \
+ 1 ? \
+ ((void*) ((expr) * 0L) ) : \
+((struct { char v[sizeof(void) * 2]; } *) 1) \
+ ) \
+ ) \
+ )
+# endif
+#endif
+#if defined(JSON_HEDLEY_IS_CONSTEXPR_)
+ #if !defined(JSON_HEDLEY_IS_CONSTANT)
+ #define JSON_HEDLEY_IS_CONSTANT(expr) JSON_HEDLEY_IS_CONSTEXPR_(expr)
+ #endif
+ #define JSON_HEDLEY_REQUIRE_CONSTEXPR(expr) (JSON_HEDLEY_IS_CONSTEXPR_(expr) ? (expr) : (-1))
+#else
+ #if !defined(JSON_HEDLEY_IS_CONSTANT)
+ #define JSON_HEDLEY_IS_CONSTANT(expr) (0)
+ #endif
+ #define JSON_HEDLEY_REQUIRE_CONSTEXPR(expr) (expr)
+#endif
+
+#if defined(JSON_HEDLEY_BEGIN_C_DECLS)
+ #undef JSON_HEDLEY_BEGIN_C_DECLS
+#endif
+#if defined(JSON_HEDLEY_END_C_DECLS)
+ #undef JSON_HEDLEY_END_C_DECLS
+#endif
+#if defined(JSON_HEDLEY_C_DECL)
+ #undef JSON_HEDLEY_C_DECL
+#endif
+#if defined(__cplusplus)
+ #define JSON_HEDLEY_BEGIN_C_DECLS extern "C" {
+ #define JSON_HEDLEY_END_C_DECLS }
+ #define JSON_HEDLEY_C_DECL extern "C"
+#else
+ #define JSON_HEDLEY_BEGIN_C_DECLS
+ #define JSON_HEDLEY_END_C_DECLS
+ #define JSON_HEDLEY_C_DECL
+#endif
+
+#if defined(JSON_HEDLEY_STATIC_ASSERT)
+ #undef JSON_HEDLEY_STATIC_ASSERT
+#endif
+#if \
+ !defined(__cplusplus) && ( \
+ (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L)) || \
+ (JSON_HEDLEY_HAS_FEATURE(c_static_assert) && !defined(JSON_HEDLEY_INTEL_CL_VERSION)) || \
+ JSON_HEDLEY_GCC_VERSION_CHECK(6,0,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0) || \
+ defined(_Static_assert) \
+ )
+# define JSON_HEDLEY_STATIC_ASSERT(expr, message) _Static_assert(expr, message)
+#elif \
+ (defined(__cplusplus) && (__cplusplus >= 201103L)) || \
+ JSON_HEDLEY_MSVC_VERSION_CHECK(16,0,0) || \
+ JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0)
+# define JSON_HEDLEY_STATIC_ASSERT(expr, message) JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_(static_assert(expr, message))
+#else
+# define JSON_HEDLEY_STATIC_ASSERT(expr, message)
+#endif
+
+#if defined(JSON_HEDLEY_NULL)
+ #undef JSON_HEDLEY_NULL
+#endif
+#if defined(__cplusplus)
+ #if __cplusplus >= 201103L
+ #define JSON_HEDLEY_NULL JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_(nullptr)
+ #elif defined(NULL)
+ #define JSON_HEDLEY_NULL NULL
+ #else
+ #define JSON_HEDLEY_NULL JSON_HEDLEY_STATIC_CAST(void*, 0)
+ #endif
+#elif defined(NULL)
+ #define JSON_HEDLEY_NULL NULL
+#else
+ #define JSON_HEDLEY_NULL ((void*) 0)
+#endif
+
+#if defined(JSON_HEDLEY_MESSAGE)
+ #undef JSON_HEDLEY_MESSAGE
+#endif
+#if JSON_HEDLEY_HAS_WARNING("-Wunknown-pragmas")
+# define JSON_HEDLEY_MESSAGE(msg) \
+ JSON_HEDLEY_DIAGNOSTIC_PUSH \
+ JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS \
+ JSON_HEDLEY_PRAGMA(message msg) \
+ JSON_HEDLEY_DIAGNOSTIC_POP
+#elif \
+ JSON_HEDLEY_GCC_VERSION_CHECK(4,4,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0)
+# define JSON_HEDLEY_MESSAGE(msg) JSON_HEDLEY_PRAGMA(message msg)
+#elif JSON_HEDLEY_CRAY_VERSION_CHECK(5,0,0)
+# define JSON_HEDLEY_MESSAGE(msg) JSON_HEDLEY_PRAGMA(_CRI message msg)
+#elif JSON_HEDLEY_IAR_VERSION_CHECK(8,0,0)
+# define JSON_HEDLEY_MESSAGE(msg) JSON_HEDLEY_PRAGMA(message(msg))
+#elif JSON_HEDLEY_PELLES_VERSION_CHECK(2,0,0)
+# define JSON_HEDLEY_MESSAGE(msg) JSON_HEDLEY_PRAGMA(message(msg))
+#else
+# define JSON_HEDLEY_MESSAGE(msg)
+#endif
+
+#if defined(JSON_HEDLEY_WARNING)
+ #undef JSON_HEDLEY_WARNING
+#endif
+#if JSON_HEDLEY_HAS_WARNING("-Wunknown-pragmas")
+# define JSON_HEDLEY_WARNING(msg) \
+ JSON_HEDLEY_DIAGNOSTIC_PUSH \
+ JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS \
+ JSON_HEDLEY_PRAGMA(clang warning msg) \
+ JSON_HEDLEY_DIAGNOSTIC_POP
+#elif \
+ JSON_HEDLEY_GCC_VERSION_CHECK(4,8,0) || \
+ JSON_HEDLEY_PGI_VERSION_CHECK(18,4,0) || \
+ JSON_HEDLEY_INTEL_VERSION_CHECK(13,0,0)
+# define JSON_HEDLEY_WARNING(msg) JSON_HEDLEY_PRAGMA(GCC warning msg)
+#elif \
+ JSON_HEDLEY_MSVC_VERSION_CHECK(15,0,0) || \
+ JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0)
+# define JSON_HEDLEY_WARNING(msg) JSON_HEDLEY_PRAGMA(message(msg))
+#else
+# define JSON_HEDLEY_WARNING(msg) JSON_HEDLEY_MESSAGE(msg)
+#endif
+
+#if defined(JSON_HEDLEY_REQUIRE)
+ #undef JSON_HEDLEY_REQUIRE
+#endif
+#if defined(JSON_HEDLEY_REQUIRE_MSG)
+ #undef JSON_HEDLEY_REQUIRE_MSG
+#endif
+#if JSON_HEDLEY_HAS_ATTRIBUTE(diagnose_if)
+# if JSON_HEDLEY_HAS_WARNING("-Wgcc-compat")
+# define JSON_HEDLEY_REQUIRE(expr) \
+ JSON_HEDLEY_DIAGNOSTIC_PUSH \
+ _Pragma("clang diagnostic ignored \"-Wgcc-compat\"") \
+ __attribute__((diagnose_if(!(expr), #expr, "error"))) \
+ JSON_HEDLEY_DIAGNOSTIC_POP
+# define JSON_HEDLEY_REQUIRE_MSG(expr,msg) \
+ JSON_HEDLEY_DIAGNOSTIC_PUSH \
+ _Pragma("clang diagnostic ignored \"-Wgcc-compat\"") \
+ __attribute__((diagnose_if(!(expr), msg, "error"))) \
+ JSON_HEDLEY_DIAGNOSTIC_POP
+# else
+# define JSON_HEDLEY_REQUIRE(expr) __attribute__((diagnose_if(!(expr), #expr, "error")))
+# define JSON_HEDLEY_REQUIRE_MSG(expr,msg) __attribute__((diagnose_if(!(expr), msg, "error")))
+# endif
+#else
+# define JSON_HEDLEY_REQUIRE(expr)
+# define JSON_HEDLEY_REQUIRE_MSG(expr,msg)
+#endif
+
+#if defined(JSON_HEDLEY_FLAGS)
+ #undef JSON_HEDLEY_FLAGS
+#endif
+#if JSON_HEDLEY_HAS_ATTRIBUTE(flag_enum) && (!defined(__cplusplus) || JSON_HEDLEY_HAS_WARNING("-Wbitfield-enum-conversion"))
+ #define JSON_HEDLEY_FLAGS __attribute__((__flag_enum__))
+#else
+ #define JSON_HEDLEY_FLAGS
+#endif
+
+#if defined(JSON_HEDLEY_FLAGS_CAST)
+ #undef JSON_HEDLEY_FLAGS_CAST
+#endif
+#if JSON_HEDLEY_INTEL_VERSION_CHECK(19,0,0)
+# define JSON_HEDLEY_FLAGS_CAST(T, expr) (__extension__ ({ \
+ JSON_HEDLEY_DIAGNOSTIC_PUSH \
+ _Pragma("warning(disable:188)") \
+ ((T) (expr)); \
+ JSON_HEDLEY_DIAGNOSTIC_POP \
+ }))
+#else
+# define JSON_HEDLEY_FLAGS_CAST(T, expr) JSON_HEDLEY_STATIC_CAST(T, expr)
+#endif
+
+#if defined(JSON_HEDLEY_EMPTY_BASES)
+ #undef JSON_HEDLEY_EMPTY_BASES
+#endif
+#if \
+ (JSON_HEDLEY_MSVC_VERSION_CHECK(19,0,23918) && !JSON_HEDLEY_MSVC_VERSION_CHECK(20,0,0)) || \
+ JSON_HEDLEY_INTEL_CL_VERSION_CHECK(2021,1,0)
+ #define JSON_HEDLEY_EMPTY_BASES __declspec(empty_bases)
+#else
+ #define JSON_HEDLEY_EMPTY_BASES
+#endif
+
+/* Remaining macros are deprecated. */
+
+#if defined(JSON_HEDLEY_GCC_NOT_CLANG_VERSION_CHECK)
+ #undef JSON_HEDLEY_GCC_NOT_CLANG_VERSION_CHECK
+#endif
+#if defined(__clang__)
+ #define JSON_HEDLEY_GCC_NOT_CLANG_VERSION_CHECK(major,minor,patch) (0)
+#else
+ #define JSON_HEDLEY_GCC_NOT_CLANG_VERSION_CHECK(major,minor,patch) JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch)
+#endif
+
+#if defined(JSON_HEDLEY_CLANG_HAS_ATTRIBUTE)
+ #undef JSON_HEDLEY_CLANG_HAS_ATTRIBUTE
+#endif
+#define JSON_HEDLEY_CLANG_HAS_ATTRIBUTE(attribute) JSON_HEDLEY_HAS_ATTRIBUTE(attribute)
+
+#if defined(JSON_HEDLEY_CLANG_HAS_CPP_ATTRIBUTE)
+ #undef JSON_HEDLEY_CLANG_HAS_CPP_ATTRIBUTE
+#endif
+#define JSON_HEDLEY_CLANG_HAS_CPP_ATTRIBUTE(attribute) JSON_HEDLEY_HAS_CPP_ATTRIBUTE(attribute)
+
+#if defined(JSON_HEDLEY_CLANG_HAS_BUILTIN)
+ #undef JSON_HEDLEY_CLANG_HAS_BUILTIN
+#endif
+#define JSON_HEDLEY_CLANG_HAS_BUILTIN(builtin) JSON_HEDLEY_HAS_BUILTIN(builtin)
+
+#if defined(JSON_HEDLEY_CLANG_HAS_FEATURE)
+ #undef JSON_HEDLEY_CLANG_HAS_FEATURE
+#endif
+#define JSON_HEDLEY_CLANG_HAS_FEATURE(feature) JSON_HEDLEY_HAS_FEATURE(feature)
+
+#if defined(JSON_HEDLEY_CLANG_HAS_EXTENSION)
+ #undef JSON_HEDLEY_CLANG_HAS_EXTENSION
+#endif
+#define JSON_HEDLEY_CLANG_HAS_EXTENSION(extension) JSON_HEDLEY_HAS_EXTENSION(extension)
+
+#if defined(JSON_HEDLEY_CLANG_HAS_DECLSPEC_DECLSPEC_ATTRIBUTE)
+ #undef JSON_HEDLEY_CLANG_HAS_DECLSPEC_DECLSPEC_ATTRIBUTE
+#endif
+#define JSON_HEDLEY_CLANG_HAS_DECLSPEC_ATTRIBUTE(attribute) JSON_HEDLEY_HAS_DECLSPEC_ATTRIBUTE(attribute)
+
+#if defined(JSON_HEDLEY_CLANG_HAS_WARNING)
+ #undef JSON_HEDLEY_CLANG_HAS_WARNING
+#endif
+#define JSON_HEDLEY_CLANG_HAS_WARNING(warning) JSON_HEDLEY_HAS_WARNING(warning)
+
+#endif /* !defined(JSON_HEDLEY_VERSION) || (JSON_HEDLEY_VERSION < X) */
+
+// #include <nlohmann/detail/meta/detected.hpp>
+
+
+#include <type_traits>
+
+// #include <nlohmann/detail/meta/void_t.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+template<typename ...Ts> struct make_void
+{
+ using type = void;
+};
+template<typename ...Ts> using void_t = typename make_void<Ts...>::type;
+} // namespace detail
+} // namespace nlohmann
+
+
+// https://en.cppreference.com/w/cpp/experimental/is_detected
+namespace nlohmann
+{
+namespace detail
+{
+struct nonesuch
+{
+ nonesuch() = delete;
+ ~nonesuch() = delete;
+ nonesuch(nonesuch const&) = delete;
+ nonesuch(nonesuch const&&) = delete;
+ void operator=(nonesuch const&) = delete;
+ void operator=(nonesuch&&) = delete;
+};
+
+template<class Default,
+ class AlwaysVoid,
+ template<class...> class Op,
+ class... Args>
+struct detector
+{
+ using value_t = std::false_type;
+ using type = Default;
+};
+
+template<class Default, template<class...> class Op, class... Args>
+struct detector<Default, void_t<Op<Args...>>, Op, Args...>
+{
+ using value_t = std::true_type;
+ using type = Op<Args...>;
+};
+
+template<template<class...> class Op, class... Args>
+using is_detected = typename detector<nonesuch, void, Op, Args...>::value_t;
+
+template<template<class...> class Op, class... Args>
+struct is_detected_lazy : is_detected<Op, Args...> { };
+
+template<template<class...> class Op, class... Args>
+using detected_t = typename detector<nonesuch, void, Op, Args...>::type;
+
+template<class Default, template<class...> class Op, class... Args>
+using detected_or = detector<Default, void, Op, Args...>;
+
+template<class Default, template<class...> class Op, class... Args>
+using detected_or_t = typename detected_or<Default, Op, Args...>::type;
+
+template<class Expected, template<class...> class Op, class... Args>
+using is_detected_exact = std::is_same<Expected, detected_t<Op, Args...>>;
+
+template<class To, template<class...> class Op, class... Args>
+using is_detected_convertible =
+ std::is_convertible<detected_t<Op, Args...>, To>;
+} // namespace detail
+} // namespace nlohmann
+
+
+// This file contains all internal macro definitions
+// You MUST include macro_unscope.hpp at the end of json.hpp to undef all of them
+
+// exclude unsupported compilers
+#if !defined(JSON_SKIP_UNSUPPORTED_COMPILER_CHECK)
+ #if defined(__clang__)
+ #if (__clang_major__ * 10000 + __clang_minor__ * 100 + __clang_patchlevel__) < 30400
+ #error "unsupported Clang version - see https://github.com/nlohmann/json#supported-compilers"
+ #endif
+ #elif defined(__GNUC__) && !(defined(__ICC) || defined(__INTEL_COMPILER))
+ #if (__GNUC__ * 10000 + __GNUC_MINOR__ * 100 + __GNUC_PATCHLEVEL__) < 40800
+ #error "unsupported GCC version - see https://github.com/nlohmann/json#supported-compilers"
+ #endif
+ #endif
+#endif
+
+// C++ language standard detection
+// if the user manually specified the used c++ version this is skipped
+#if !defined(JSON_HAS_CPP_20) && !defined(JSON_HAS_CPP_17) && !defined(JSON_HAS_CPP_14) && !defined(JSON_HAS_CPP_11)
+ #if (defined(__cplusplus) && __cplusplus >= 202002L) || (defined(_MSVC_LANG) && _MSVC_LANG >= 202002L)
+ #define JSON_HAS_CPP_20
+ #define JSON_HAS_CPP_17
+ #define JSON_HAS_CPP_14
+ #elif (defined(__cplusplus) && __cplusplus >= 201703L) || (defined(_HAS_CXX17) && _HAS_CXX17 == 1) // fix for issue #464
+ #define JSON_HAS_CPP_17
+ #define JSON_HAS_CPP_14
+ #elif (defined(__cplusplus) && __cplusplus >= 201402L) || (defined(_HAS_CXX14) && _HAS_CXX14 == 1)
+ #define JSON_HAS_CPP_14
+ #endif
+ // the cpp 11 flag is always specified because it is the minimal required version
+ #define JSON_HAS_CPP_11
+#endif
+
+#if !defined(JSON_HAS_FILESYSTEM) && !defined(JSON_HAS_EXPERIMENTAL_FILESYSTEM)
+ #ifdef JSON_HAS_CPP_17
+ #if defined(__cpp_lib_filesystem)
+ #define JSON_HAS_FILESYSTEM 1
+ #elif defined(__cpp_lib_experimental_filesystem)
+ #define JSON_HAS_EXPERIMENTAL_FILESYSTEM 1
+ #elif !defined(__has_include)
+ #define JSON_HAS_EXPERIMENTAL_FILESYSTEM 1
+ #elif __has_include(<filesystem>)
+ #define JSON_HAS_FILESYSTEM 1
+ #elif __has_include(<experimental/filesystem>)
+ #define JSON_HAS_EXPERIMENTAL_FILESYSTEM 1
+ #endif
+
+ // std::filesystem does not work on MinGW GCC 8: https://sourceforge.net/p/mingw-w64/bugs/737/
+ #if defined(__MINGW32__) && defined(__GNUC__) && __GNUC__ == 8
+ #undef JSON_HAS_FILESYSTEM
+ #undef JSON_HAS_EXPERIMENTAL_FILESYSTEM
+ #endif
+
+ // no filesystem support before GCC 8: https://en.cppreference.com/w/cpp/compiler_support
+ #if defined(__GNUC__) && !defined(__clang__) && __GNUC__ < 8
+ #undef JSON_HAS_FILESYSTEM
+ #undef JSON_HAS_EXPERIMENTAL_FILESYSTEM
+ #endif
+
+ // no filesystem support before Clang 7: https://en.cppreference.com/w/cpp/compiler_support
+ #if defined(__clang_major__) && __clang_major__ < 7
+ #undef JSON_HAS_FILESYSTEM
+ #undef JSON_HAS_EXPERIMENTAL_FILESYSTEM
+ #endif
+
+ // no filesystem support before MSVC 19.14: https://en.cppreference.com/w/cpp/compiler_support
+ #if defined(_MSC_VER) && _MSC_VER < 1940
+ #undef JSON_HAS_FILESYSTEM
+ #undef JSON_HAS_EXPERIMENTAL_FILESYSTEM
+ #endif
+
+ // no filesystem support before iOS 13
+ #if defined(__IPHONE_OS_VERSION_MIN_REQUIRED) && __IPHONE_OS_VERSION_MIN_REQUIRED < 130000
+ #undef JSON_HAS_FILESYSTEM
+ #undef JSON_HAS_EXPERIMENTAL_FILESYSTEM
+ #endif
+
+ // no filesystem support before macOS Catalina
+ #if defined(__MAC_OS_X_VERSION_MIN_REQUIRED) && __MAC_OS_X_VERSION_MIN_REQUIRED < 101500
+ #undef JSON_HAS_FILESYSTEM
+ #undef JSON_HAS_EXPERIMENTAL_FILESYSTEM
+ #endif
+ #endif
+#endif
+
+#ifndef JSON_HAS_EXPERIMENTAL_FILESYSTEM
+ #define JSON_HAS_EXPERIMENTAL_FILESYSTEM 0
+#endif
+
+#ifndef JSON_HAS_FILESYSTEM
+ #define JSON_HAS_FILESYSTEM 0
+#endif
+
+// disable documentation warnings on clang
+#if defined(__clang__)
+ #pragma clang diagnostic push
+ #pragma clang diagnostic ignored "-Wdocumentation"
+ #pragma clang diagnostic ignored "-Wdocumentation-unknown-command"
+#endif
+
+// allow disabling exceptions
+#if (defined(__cpp_exceptions) || defined(__EXCEPTIONS) || defined(_CPPUNWIND)) && !defined(JSON_NOEXCEPTION)
+ #define JSON_THROW(exception) throw exception
+ #define JSON_TRY try
+ #define JSON_CATCH(exception) catch(exception)
+ #define JSON_INTERNAL_CATCH(exception) catch(exception)
+#else
+ #include <cstdlib>
+ #define JSON_THROW(exception) std::abort()
+ #define JSON_TRY if(true)
+ #define JSON_CATCH(exception) if(false)
+ #define JSON_INTERNAL_CATCH(exception) if(false)
+#endif
+
+// override exception macros
+#if defined(JSON_THROW_USER)
+ #undef JSON_THROW
+ #define JSON_THROW JSON_THROW_USER
+#endif
+#if defined(JSON_TRY_USER)
+ #undef JSON_TRY
+ #define JSON_TRY JSON_TRY_USER
+#endif
+#if defined(JSON_CATCH_USER)
+ #undef JSON_CATCH
+ #define JSON_CATCH JSON_CATCH_USER
+ #undef JSON_INTERNAL_CATCH
+ #define JSON_INTERNAL_CATCH JSON_CATCH_USER
+#endif
+#if defined(JSON_INTERNAL_CATCH_USER)
+ #undef JSON_INTERNAL_CATCH
+ #define JSON_INTERNAL_CATCH JSON_INTERNAL_CATCH_USER
+#endif
+
+// allow overriding assert
+#if !defined(JSON_ASSERT)
+ #include <cassert> // assert
+ #define JSON_ASSERT(x) assert(x)
+#endif
+
+// allow to access some private functions (needed by the test suite)
+#if defined(JSON_TESTS_PRIVATE)
+ #define JSON_PRIVATE_UNLESS_TESTED public
+#else
+ #define JSON_PRIVATE_UNLESS_TESTED private
+#endif
+
+/*!
+@brief macro to briefly define a mapping between an enum and JSON
+@def NLOHMANN_JSON_SERIALIZE_ENUM
+@since version 3.4.0
+*/
+#define NLOHMANN_JSON_SERIALIZE_ENUM(ENUM_TYPE, ...) \
+ template<typename BasicJsonType> \
+ inline void to_json(BasicJsonType& j, const ENUM_TYPE& e) \
+ { \
+ static_assert(std::is_enum<ENUM_TYPE>::value, #ENUM_TYPE " must be an enum!"); \
+ static const std::pair<ENUM_TYPE, BasicJsonType> m[] = __VA_ARGS__; \
+ auto it = std::find_if(std::begin(m), std::end(m), \
+ [e](const std::pair<ENUM_TYPE, BasicJsonType>& ej_pair) -> bool \
+ { \
+ return ej_pair.first == e; \
+ }); \
+ j = ((it != std::end(m)) ? it : std::begin(m))->second; \
+ } \
+ template<typename BasicJsonType> \
+ inline void from_json(const BasicJsonType& j, ENUM_TYPE& e) \
+ { \
+ static_assert(std::is_enum<ENUM_TYPE>::value, #ENUM_TYPE " must be an enum!"); \
+ static const std::pair<ENUM_TYPE, BasicJsonType> m[] = __VA_ARGS__; \
+ auto it = std::find_if(std::begin(m), std::end(m), \
+ [&j](const std::pair<ENUM_TYPE, BasicJsonType>& ej_pair) -> bool \
+ { \
+ return ej_pair.second == j; \
+ }); \
+ e = ((it != std::end(m)) ? it : std::begin(m))->first; \
+ }
+
+// Ugly macros to avoid uglier copy-paste when specializing basic_json. They
+// may be removed in the future once the class is split.
+
+#define NLOHMANN_BASIC_JSON_TPL_DECLARATION \
+ template<template<typename, typename, typename...> class ObjectType, \
+ template<typename, typename...> class ArrayType, \
+ class StringType, class BooleanType, class NumberIntegerType, \
+ class NumberUnsignedType, class NumberFloatType, \
+ template<typename> class AllocatorType, \
+ template<typename, typename = void> class JSONSerializer, \
+ class BinaryType>
+
+#define NLOHMANN_BASIC_JSON_TPL \
+ basic_json<ObjectType, ArrayType, StringType, BooleanType, \
+ NumberIntegerType, NumberUnsignedType, NumberFloatType, \
+ AllocatorType, JSONSerializer, BinaryType>
+
+// Macros to simplify conversion from/to types
+
+#define NLOHMANN_JSON_EXPAND( x ) x
+#define NLOHMANN_JSON_GET_MACRO(_1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, NAME,...) NAME
+#define NLOHMANN_JSON_PASTE(...) NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_GET_MACRO(__VA_ARGS__, \
+ NLOHMANN_JSON_PASTE64, \
+ NLOHMANN_JSON_PASTE63, \
+ NLOHMANN_JSON_PASTE62, \
+ NLOHMANN_JSON_PASTE61, \
+ NLOHMANN_JSON_PASTE60, \
+ NLOHMANN_JSON_PASTE59, \
+ NLOHMANN_JSON_PASTE58, \
+ NLOHMANN_JSON_PASTE57, \
+ NLOHMANN_JSON_PASTE56, \
+ NLOHMANN_JSON_PASTE55, \
+ NLOHMANN_JSON_PASTE54, \
+ NLOHMANN_JSON_PASTE53, \
+ NLOHMANN_JSON_PASTE52, \
+ NLOHMANN_JSON_PASTE51, \
+ NLOHMANN_JSON_PASTE50, \
+ NLOHMANN_JSON_PASTE49, \
+ NLOHMANN_JSON_PASTE48, \
+ NLOHMANN_JSON_PASTE47, \
+ NLOHMANN_JSON_PASTE46, \
+ NLOHMANN_JSON_PASTE45, \
+ NLOHMANN_JSON_PASTE44, \
+ NLOHMANN_JSON_PASTE43, \
+ NLOHMANN_JSON_PASTE42, \
+ NLOHMANN_JSON_PASTE41, \
+ NLOHMANN_JSON_PASTE40, \
+ NLOHMANN_JSON_PASTE39, \
+ NLOHMANN_JSON_PASTE38, \
+ NLOHMANN_JSON_PASTE37, \
+ NLOHMANN_JSON_PASTE36, \
+ NLOHMANN_JSON_PASTE35, \
+ NLOHMANN_JSON_PASTE34, \
+ NLOHMANN_JSON_PASTE33, \
+ NLOHMANN_JSON_PASTE32, \
+ NLOHMANN_JSON_PASTE31, \
+ NLOHMANN_JSON_PASTE30, \
+ NLOHMANN_JSON_PASTE29, \
+ NLOHMANN_JSON_PASTE28, \
+ NLOHMANN_JSON_PASTE27, \
+ NLOHMANN_JSON_PASTE26, \
+ NLOHMANN_JSON_PASTE25, \
+ NLOHMANN_JSON_PASTE24, \
+ NLOHMANN_JSON_PASTE23, \
+ NLOHMANN_JSON_PASTE22, \
+ NLOHMANN_JSON_PASTE21, \
+ NLOHMANN_JSON_PASTE20, \
+ NLOHMANN_JSON_PASTE19, \
+ NLOHMANN_JSON_PASTE18, \
+ NLOHMANN_JSON_PASTE17, \
+ NLOHMANN_JSON_PASTE16, \
+ NLOHMANN_JSON_PASTE15, \
+ NLOHMANN_JSON_PASTE14, \
+ NLOHMANN_JSON_PASTE13, \
+ NLOHMANN_JSON_PASTE12, \
+ NLOHMANN_JSON_PASTE11, \
+ NLOHMANN_JSON_PASTE10, \
+ NLOHMANN_JSON_PASTE9, \
+ NLOHMANN_JSON_PASTE8, \
+ NLOHMANN_JSON_PASTE7, \
+ NLOHMANN_JSON_PASTE6, \
+ NLOHMANN_JSON_PASTE5, \
+ NLOHMANN_JSON_PASTE4, \
+ NLOHMANN_JSON_PASTE3, \
+ NLOHMANN_JSON_PASTE2, \
+ NLOHMANN_JSON_PASTE1)(__VA_ARGS__))
+#define NLOHMANN_JSON_PASTE2(func, v1) func(v1)
+#define NLOHMANN_JSON_PASTE3(func, v1, v2) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE2(func, v2)
+#define NLOHMANN_JSON_PASTE4(func, v1, v2, v3) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE3(func, v2, v3)
+#define NLOHMANN_JSON_PASTE5(func, v1, v2, v3, v4) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE4(func, v2, v3, v4)
+#define NLOHMANN_JSON_PASTE6(func, v1, v2, v3, v4, v5) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE5(func, v2, v3, v4, v5)
+#define NLOHMANN_JSON_PASTE7(func, v1, v2, v3, v4, v5, v6) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE6(func, v2, v3, v4, v5, v6)
+#define NLOHMANN_JSON_PASTE8(func, v1, v2, v3, v4, v5, v6, v7) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE7(func, v2, v3, v4, v5, v6, v7)
+#define NLOHMANN_JSON_PASTE9(func, v1, v2, v3, v4, v5, v6, v7, v8) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE8(func, v2, v3, v4, v5, v6, v7, v8)
+#define NLOHMANN_JSON_PASTE10(func, v1, v2, v3, v4, v5, v6, v7, v8, v9) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE9(func, v2, v3, v4, v5, v6, v7, v8, v9)
+#define NLOHMANN_JSON_PASTE11(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE10(func, v2, v3, v4, v5, v6, v7, v8, v9, v10)
+#define NLOHMANN_JSON_PASTE12(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE11(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11)
+#define NLOHMANN_JSON_PASTE13(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE12(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12)
+#define NLOHMANN_JSON_PASTE14(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE13(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13)
+#define NLOHMANN_JSON_PASTE15(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE14(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14)
+#define NLOHMANN_JSON_PASTE16(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE15(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15)
+#define NLOHMANN_JSON_PASTE17(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE16(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16)
+#define NLOHMANN_JSON_PASTE18(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE17(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17)
+#define NLOHMANN_JSON_PASTE19(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE18(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18)
+#define NLOHMANN_JSON_PASTE20(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE19(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19)
+#define NLOHMANN_JSON_PASTE21(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE20(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20)
+#define NLOHMANN_JSON_PASTE22(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE21(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21)
+#define NLOHMANN_JSON_PASTE23(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE22(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22)
+#define NLOHMANN_JSON_PASTE24(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE23(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23)
+#define NLOHMANN_JSON_PASTE25(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE24(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24)
+#define NLOHMANN_JSON_PASTE26(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE25(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25)
+#define NLOHMANN_JSON_PASTE27(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE26(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26)
+#define NLOHMANN_JSON_PASTE28(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE27(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27)
+#define NLOHMANN_JSON_PASTE29(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE28(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28)
+#define NLOHMANN_JSON_PASTE30(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE29(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29)
+#define NLOHMANN_JSON_PASTE31(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE30(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30)
+#define NLOHMANN_JSON_PASTE32(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE31(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31)
+#define NLOHMANN_JSON_PASTE33(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE32(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32)
+#define NLOHMANN_JSON_PASTE34(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE33(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33)
+#define NLOHMANN_JSON_PASTE35(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE34(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34)
+#define NLOHMANN_JSON_PASTE36(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE35(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35)
+#define NLOHMANN_JSON_PASTE37(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE36(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36)
+#define NLOHMANN_JSON_PASTE38(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE37(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37)
+#define NLOHMANN_JSON_PASTE39(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE38(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38)
+#define NLOHMANN_JSON_PASTE40(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE39(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39)
+#define NLOHMANN_JSON_PASTE41(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE40(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40)
+#define NLOHMANN_JSON_PASTE42(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE41(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41)
+#define NLOHMANN_JSON_PASTE43(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE42(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42)
+#define NLOHMANN_JSON_PASTE44(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE43(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43)
+#define NLOHMANN_JSON_PASTE45(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE44(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44)
+#define NLOHMANN_JSON_PASTE46(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE45(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45)
+#define NLOHMANN_JSON_PASTE47(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE46(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46)
+#define NLOHMANN_JSON_PASTE48(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE47(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47)
+#define NLOHMANN_JSON_PASTE49(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE48(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48)
+#define NLOHMANN_JSON_PASTE50(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE49(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49)
+#define NLOHMANN_JSON_PASTE51(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE50(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50)
+#define NLOHMANN_JSON_PASTE52(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE51(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51)
+#define NLOHMANN_JSON_PASTE53(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE52(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52)
+#define NLOHMANN_JSON_PASTE54(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE53(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53)
+#define NLOHMANN_JSON_PASTE55(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE54(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54)
+#define NLOHMANN_JSON_PASTE56(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE55(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55)
+#define NLOHMANN_JSON_PASTE57(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55, v56) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE56(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55, v56)
+#define NLOHMANN_JSON_PASTE58(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55, v56, v57) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE57(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55, v56, v57)
+#define NLOHMANN_JSON_PASTE59(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55, v56, v57, v58) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE58(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55, v56, v57, v58)
+#define NLOHMANN_JSON_PASTE60(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55, v56, v57, v58, v59) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE59(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55, v56, v57, v58, v59)
+#define NLOHMANN_JSON_PASTE61(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55, v56, v57, v58, v59, v60) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE60(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55, v56, v57, v58, v59, v60)
+#define NLOHMANN_JSON_PASTE62(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55, v56, v57, v58, v59, v60, v61) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE61(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55, v56, v57, v58, v59, v60, v61)
+#define NLOHMANN_JSON_PASTE63(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55, v56, v57, v58, v59, v60, v61, v62) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE62(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55, v56, v57, v58, v59, v60, v61, v62)
+#define NLOHMANN_JSON_PASTE64(func, v1, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55, v56, v57, v58, v59, v60, v61, v62, v63) NLOHMANN_JSON_PASTE2(func, v1) NLOHMANN_JSON_PASTE63(func, v2, v3, v4, v5, v6, v7, v8, v9, v10, v11, v12, v13, v14, v15, v16, v17, v18, v19, v20, v21, v22, v23, v24, v25, v26, v27, v28, v29, v30, v31, v32, v33, v34, v35, v36, v37, v38, v39, v40, v41, v42, v43, v44, v45, v46, v47, v48, v49, v50, v51, v52, v53, v54, v55, v56, v57, v58, v59, v60, v61, v62, v63)
+
+#define NLOHMANN_JSON_TO(v1) nlohmann_json_j[#v1] = nlohmann_json_t.v1;
+#define NLOHMANN_JSON_FROM(v1) nlohmann_json_j.at(#v1).get_to(nlohmann_json_t.v1);
+
+/*!
+@brief macro
+@def NLOHMANN_DEFINE_TYPE_INTRUSIVE
+@since version 3.9.0
+*/
+#define NLOHMANN_DEFINE_TYPE_INTRUSIVE(Type, ...) \
+ friend void to_json(nlohmann::json& nlohmann_json_j, const Type& nlohmann_json_t) { NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_PASTE(NLOHMANN_JSON_TO, __VA_ARGS__)) } \
+ friend void from_json(const nlohmann::json& nlohmann_json_j, Type& nlohmann_json_t) { NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_PASTE(NLOHMANN_JSON_FROM, __VA_ARGS__)) }
+
+/*!
+@brief macro
+@def NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE
+@since version 3.9.0
+*/
+#define NLOHMANN_DEFINE_TYPE_NON_INTRUSIVE(Type, ...) \
+ inline void to_json(nlohmann::json& nlohmann_json_j, const Type& nlohmann_json_t) { NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_PASTE(NLOHMANN_JSON_TO, __VA_ARGS__)) } \
+ inline void from_json(const nlohmann::json& nlohmann_json_j, Type& nlohmann_json_t) { NLOHMANN_JSON_EXPAND(NLOHMANN_JSON_PASTE(NLOHMANN_JSON_FROM, __VA_ARGS__)) }
+
+
+// inspired from https://stackoverflow.com/a/26745591
+// allows to call any std function as if (e.g. with begin):
+// using std::begin; begin(x);
+//
+// it allows using the detected idiom to retrieve the return type
+// of such an expression
+#define NLOHMANN_CAN_CALL_STD_FUNC_IMPL(std_name) \
+ namespace detail { \
+ using std::std_name; \
+ \
+ template<typename... T> \
+ using result_of_##std_name = decltype(std_name(std::declval<T>()...)); \
+ } \
+ \
+ namespace detail2 { \
+ struct std_name##_tag \
+ { \
+ }; \
+ \
+ template<typename... T> \
+ std_name##_tag std_name(T&&...); \
+ \
+ template<typename... T> \
+ using result_of_##std_name = decltype(std_name(std::declval<T>()...)); \
+ \
+ template<typename... T> \
+ struct would_call_std_##std_name \
+ { \
+ static constexpr auto const value = ::nlohmann::detail:: \
+ is_detected_exact<std_name##_tag, result_of_##std_name, T...>::value; \
+ }; \
+ } /* namespace detail2 */ \
+ \
+ template<typename... T> \
+ struct would_call_std_##std_name : detail2::would_call_std_##std_name<T...> \
+ { \
+ }
+
+#ifndef JSON_USE_IMPLICIT_CONVERSIONS
+ #define JSON_USE_IMPLICIT_CONVERSIONS 1
+#endif
+
+#if JSON_USE_IMPLICIT_CONVERSIONS
+ #define JSON_EXPLICIT
+#else
+ #define JSON_EXPLICIT explicit
+#endif
+
+#ifndef JSON_DIAGNOSTICS
+ #define JSON_DIAGNOSTICS 0
+#endif
+
+
+namespace nlohmann
+{
+namespace detail
+{
+
+/*!
+@brief replace all occurrences of a substring by another string
+
+@param[in,out] s the string to manipulate; changed so that all
+ occurrences of @a f are replaced with @a t
+@param[in] f the substring to replace with @a t
+@param[in] t the string to replace @a f
+
+@pre The search string @a f must not be empty. **This precondition is
+enforced with an assertion.**
+
+@since version 2.0.0
+*/
+inline void replace_substring(std::string& s, const std::string& f,
+ const std::string& t)
+{
+ JSON_ASSERT(!f.empty());
+ for (auto pos = s.find(f); // find first occurrence of f
+ pos != std::string::npos; // make sure f was found
+ s.replace(pos, f.size(), t), // replace with t, and
+ pos = s.find(f, pos + t.size())) // find next occurrence of f
+ {}
+}
+
+/*!
+ * @brief string escaping as described in RFC 6901 (Sect. 4)
+ * @param[in] s string to escape
+ * @return escaped string
+ *
+ * Note the order of escaping "~" to "~0" and "/" to "~1" is important.
+ */
+inline std::string escape(std::string s)
+{
+ replace_substring(s, "~", "~0");
+ replace_substring(s, "/", "~1");
+ return s;
+}
+
+/*!
+ * @brief string unescaping as described in RFC 6901 (Sect. 4)
+ * @param[in] s string to unescape
+ * @return unescaped string
+ *
+ * Note the order of escaping "~1" to "/" and "~0" to "~" is important.
+ */
+static void unescape(std::string& s)
+{
+ replace_substring(s, "~1", "/");
+ replace_substring(s, "~0", "~");
+}
+
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/input/position_t.hpp>
+
+
+#include <cstddef> // size_t
+
+namespace nlohmann
+{
+namespace detail
+{
+/// struct to capture the start position of the current token
+struct position_t
+{
+ /// the total number of characters read
+ std::size_t chars_read_total = 0;
+ /// the number of characters read in the current line
+ std::size_t chars_read_current_line = 0;
+ /// the number of lines read
+ std::size_t lines_read = 0;
+
+ /// conversion to size_t to preserve SAX interface
+ constexpr operator size_t() const
+ {
+ return chars_read_total;
+ }
+};
+
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+////////////////
+// exceptions //
+////////////////
+
+/// @brief general exception of the @ref basic_json class
+/// @sa https://json.nlohmann.me/api/basic_json/exception/
+class exception : public std::exception
+{
+ public:
+ /// returns the explanatory string
+ const char* what() const noexcept override
+ {
+ return m.what();
+ }
+
+ /// the id of the exception
+ const int id; // NOLINT(cppcoreguidelines-non-private-member-variables-in-classes)
+
+ protected:
+ JSON_HEDLEY_NON_NULL(3)
+ exception(int id_, const char* what_arg) : id(id_), m(what_arg) {} // NOLINT(bugprone-throw-keyword-missing)
+
+ static std::string name(const std::string& ename, int id_)
+ {
+ return "[json.exception." + ename + "." + std::to_string(id_) + "] ";
+ }
+
+ template<typename BasicJsonType>
+ static std::string diagnostics(const BasicJsonType& leaf_element)
+ {
+#if JSON_DIAGNOSTICS
+ std::vector<std::string> tokens;
+ for (const auto* current = &leaf_element; current->m_parent != nullptr; current = current->m_parent)
+ {
+ switch (current->m_parent->type())
+ {
+ case value_t::array:
+ {
+ for (std::size_t i = 0; i < current->m_parent->m_value.array->size(); ++i)
+ {
+ if (&current->m_parent->m_value.array->operator[](i) == current)
+ {
+ tokens.emplace_back(std::to_string(i));
+ break;
+ }
+ }
+ break;
+ }
+
+ case value_t::object:
+ {
+ for (const auto& element : *current->m_parent->m_value.object)
+ {
+ if (&element.second == current)
+ {
+ tokens.emplace_back(element.first.c_str());
+ break;
+ }
+ }
+ break;
+ }
+
+ case value_t::null: // LCOV_EXCL_LINE
+ case value_t::string: // LCOV_EXCL_LINE
+ case value_t::boolean: // LCOV_EXCL_LINE
+ case value_t::number_integer: // LCOV_EXCL_LINE
+ case value_t::number_unsigned: // LCOV_EXCL_LINE
+ case value_t::number_float: // LCOV_EXCL_LINE
+ case value_t::binary: // LCOV_EXCL_LINE
+ case value_t::discarded: // LCOV_EXCL_LINE
+ default: // LCOV_EXCL_LINE
+ break; // LCOV_EXCL_LINE
+ }
+ }
+
+ if (tokens.empty())
+ {
+ return "";
+ }
+
+ return "(" + std::accumulate(tokens.rbegin(), tokens.rend(), std::string{},
+ [](const std::string & a, const std::string & b)
+ {
+ return a + "/" + detail::escape(b);
+ }) + ") ";
+#else
+ static_cast<void>(leaf_element);
+ return "";
+#endif
+ }
+
+ private:
+ /// an exception object as storage for error messages
+ std::runtime_error m;
+};
+
+/// @brief exception indicating a parse error
+/// @sa https://json.nlohmann.me/api/basic_json/parse_error/
+class parse_error : public exception
+{
+ public:
+ /*!
+ @brief create a parse error exception
+ @param[in] id_ the id of the exception
+ @param[in] pos the position where the error occurred (or with
+ chars_read_total=0 if the position cannot be
+ determined)
+ @param[in] what_arg the explanatory string
+ @return parse_error object
+ */
+ template<typename BasicJsonType>
+ static parse_error create(int id_, const position_t& pos, const std::string& what_arg, const BasicJsonType& context)
+ {
+ std::string w = exception::name("parse_error", id_) + "parse error" +
+ position_string(pos) + ": " + exception::diagnostics(context) + what_arg;
+ return {id_, pos.chars_read_total, w.c_str()};
+ }
+
+ template<typename BasicJsonType>
+ static parse_error create(int id_, std::size_t byte_, const std::string& what_arg, const BasicJsonType& context)
+ {
+ std::string w = exception::name("parse_error", id_) + "parse error" +
+ (byte_ != 0 ? (" at byte " + std::to_string(byte_)) : "") +
+ ": " + exception::diagnostics(context) + what_arg;
+ return {id_, byte_, w.c_str()};
+ }
+
+ /*!
+ @brief byte index of the parse error
+
+ The byte index of the last read character in the input file.
+
+ @note For an input with n bytes, 1 is the index of the first character and
+ n+1 is the index of the terminating null byte or the end of file.
+ This also holds true when reading a byte vector (CBOR or MessagePack).
+ */
+ const std::size_t byte;
+
+ private:
+ parse_error(int id_, std::size_t byte_, const char* what_arg)
+ : exception(id_, what_arg), byte(byte_) {}
+
+ static std::string position_string(const position_t& pos)
+ {
+ return " at line " + std::to_string(pos.lines_read + 1) +
+ ", column " + std::to_string(pos.chars_read_current_line);
+ }
+};
+
+/// @brief exception indicating errors with iterators
+/// @sa https://json.nlohmann.me/api/basic_json/invalid_iterator/
+class invalid_iterator : public exception
+{
+ public:
+ template<typename BasicJsonType>
+ static invalid_iterator create(int id_, const std::string& what_arg, const BasicJsonType& context)
+ {
+ std::string w = exception::name("invalid_iterator", id_) + exception::diagnostics(context) + what_arg;
+ return {id_, w.c_str()};
+ }
+
+ private:
+ JSON_HEDLEY_NON_NULL(3)
+ invalid_iterator(int id_, const char* what_arg)
+ : exception(id_, what_arg) {}
+};
+
+/// @brief exception indicating executing a member function with a wrong type
+/// @sa https://json.nlohmann.me/api/basic_json/type_error/
+class type_error : public exception
+{
+ public:
+ template<typename BasicJsonType>
+ static type_error create(int id_, const std::string& what_arg, const BasicJsonType& context)
+ {
+ std::string w = exception::name("type_error", id_) + exception::diagnostics(context) + what_arg;
+ return {id_, w.c_str()};
+ }
+
+ private:
+ JSON_HEDLEY_NON_NULL(3)
+ type_error(int id_, const char* what_arg) : exception(id_, what_arg) {}
+};
+
+/// @brief exception indicating access out of the defined range
+/// @sa https://json.nlohmann.me/api/basic_json/out_of_range/
+class out_of_range : public exception
+{
+ public:
+ template<typename BasicJsonType>
+ static out_of_range create(int id_, const std::string& what_arg, const BasicJsonType& context)
+ {
+ std::string w = exception::name("out_of_range", id_) + exception::diagnostics(context) + what_arg;
+ return {id_, w.c_str()};
+ }
+
+ private:
+ JSON_HEDLEY_NON_NULL(3)
+ out_of_range(int id_, const char* what_arg) : exception(id_, what_arg) {}
+};
+
+/// @brief exception indicating other library errors
+/// @sa https://json.nlohmann.me/api/basic_json/other_error/
+class other_error : public exception
+{
+ public:
+ template<typename BasicJsonType>
+ static other_error create(int id_, const std::string& what_arg, const BasicJsonType& context)
+ {
+ std::string w = exception::name("other_error", id_) + exception::diagnostics(context) + what_arg;
+ return {id_, w.c_str()};
+ }
+
+ private:
+ JSON_HEDLEY_NON_NULL(3)
+ other_error(int id_, const char* what_arg) : exception(id_, what_arg) {}
+};
+
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+// #include <nlohmann/detail/meta/cpp_future.hpp>
+
+
+#include <cstddef> // size_t
+#include <type_traits> // conditional, enable_if, false_type, integral_constant, is_constructible, is_integral, is_same, remove_cv, remove_reference, true_type
+#include <utility> // index_sequence, make_index_sequence, index_sequence_for
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+
+template<typename T>
+using uncvref_t = typename std::remove_cv<typename std::remove_reference<T>::type>::type;
+
+#ifdef JSON_HAS_CPP_14
+
+// the following utilities are natively available in C++14
+using std::enable_if_t;
+using std::index_sequence;
+using std::make_index_sequence;
+using std::index_sequence_for;
+
+#else
+
+// alias templates to reduce boilerplate
+template<bool B, typename T = void>
+using enable_if_t = typename std::enable_if<B, T>::type;
+
+// The following code is taken from https://github.com/abseil/abseil-cpp/blob/10cb35e459f5ecca5b2ff107635da0bfa41011b4/absl/utility/utility.h
+// which is part of Google Abseil (https://github.com/abseil/abseil-cpp), licensed under the Apache License 2.0.
+
+//// START OF CODE FROM GOOGLE ABSEIL
+
+// integer_sequence
+//
+// Class template representing a compile-time integer sequence. An instantiation
+// of `integer_sequence<T, Ints...>` has a sequence of integers encoded in its
+// type through its template arguments (which is a common need when
+// working with C++11 variadic templates). `absl::integer_sequence` is designed
+// to be a drop-in replacement for C++14's `std::integer_sequence`.
+//
+// Example:
+//
+// template< class T, T... Ints >
+// void user_function(integer_sequence<T, Ints...>);
+//
+// int main()
+// {
+// // user_function's `T` will be deduced to `int` and `Ints...`
+// // will be deduced to `0, 1, 2, 3, 4`.
+// user_function(make_integer_sequence<int, 5>());
+// }
+template <typename T, T... Ints>
+struct integer_sequence
+{
+ using value_type = T;
+ static constexpr std::size_t size() noexcept
+ {
+ return sizeof...(Ints);
+ }
+};
+
+// index_sequence
+//
+// A helper template for an `integer_sequence` of `size_t`,
+// `absl::index_sequence` is designed to be a drop-in replacement for C++14's
+// `std::index_sequence`.
+template <size_t... Ints>
+using index_sequence = integer_sequence<size_t, Ints...>;
+
+namespace utility_internal
+{
+
+template <typename Seq, size_t SeqSize, size_t Rem>
+struct Extend;
+
+// Note that SeqSize == sizeof...(Ints). It's passed explicitly for efficiency.
+template <typename T, T... Ints, size_t SeqSize>
+struct Extend<integer_sequence<T, Ints...>, SeqSize, 0>
+{
+ using type = integer_sequence < T, Ints..., (Ints + SeqSize)... >;
+};
+
+template <typename T, T... Ints, size_t SeqSize>
+struct Extend<integer_sequence<T, Ints...>, SeqSize, 1>
+{
+ using type = integer_sequence < T, Ints..., (Ints + SeqSize)..., 2 * SeqSize >;
+};
+
+// Recursion helper for 'make_integer_sequence<T, N>'.
+// 'Gen<T, N>::type' is an alias for 'integer_sequence<T, 0, 1, ... N-1>'.
+template <typename T, size_t N>
+struct Gen
+{
+ using type =
+ typename Extend < typename Gen < T, N / 2 >::type, N / 2, N % 2 >::type;
+};
+
+template <typename T>
+struct Gen<T, 0>
+{
+ using type = integer_sequence<T>;
+};
+
+} // namespace utility_internal
+
+// Compile-time sequences of integers
+
+// make_integer_sequence
+//
+// This template alias is equivalent to
+// `integer_sequence<int, 0, 1, ..., N-1>`, and is designed to be a drop-in
+// replacement for C++14's `std::make_integer_sequence`.
+template <typename T, T N>
+using make_integer_sequence = typename utility_internal::Gen<T, N>::type;
+
+// make_index_sequence
+//
+// This template alias is equivalent to `index_sequence<0, 1, ..., N-1>`,
+// and is designed to be a drop-in replacement for C++14's
+// `std::make_index_sequence`.
+template <size_t N>
+using make_index_sequence = make_integer_sequence<size_t, N>;
+
+// index_sequence_for
+//
+// Converts a typename pack into an index sequence of the same length, and
+// is designed to be a drop-in replacement for C++14's
+// `std::index_sequence_for()`
+template <typename... Ts>
+using index_sequence_for = make_index_sequence<sizeof...(Ts)>;
+
+//// END OF CODE FROM GOOGLE ABSEIL
+
+#endif
+
+// dispatch utility (taken from ranges-v3)
+template<unsigned N> struct priority_tag : priority_tag < N - 1 > {};
+template<> struct priority_tag<0> {};
+
+// taken from ranges-v3
+template<typename T>
+struct static_const
+{
+ static constexpr T value{};
+};
+
+template<typename T>
+constexpr T static_const<T>::value; // NOLINT(readability-redundant-declaration)
+
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/meta/identity_tag.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+// dispatching helper struct
+template <class T> struct identity_tag {};
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/meta/type_traits.hpp>
+
+
+#include <limits> // numeric_limits
+#include <type_traits> // false_type, is_constructible, is_integral, is_same, true_type
+#include <utility> // declval
+#include <tuple> // tuple
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+
+// #include <nlohmann/detail/iterators/iterator_traits.hpp>
+
+
+#include <iterator> // random_access_iterator_tag
+
+// #include <nlohmann/detail/meta/void_t.hpp>
+
+// #include <nlohmann/detail/meta/cpp_future.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+template<typename It, typename = void>
+struct iterator_types {};
+
+template<typename It>
+struct iterator_types <
+ It,
+ void_t<typename It::difference_type, typename It::value_type, typename It::pointer,
+ typename It::reference, typename It::iterator_category >>
+{
+ using difference_type = typename It::difference_type;
+ using value_type = typename It::value_type;
+ using pointer = typename It::pointer;
+ using reference = typename It::reference;
+ using iterator_category = typename It::iterator_category;
+};
+
+// This is required as some compilers implement std::iterator_traits in a way that
+// doesn't work with SFINAE. See https://github.com/nlohmann/json/issues/1341.
+template<typename T, typename = void>
+struct iterator_traits
+{
+};
+
+template<typename T>
+struct iterator_traits < T, enable_if_t < !std::is_pointer<T>::value >>
+ : iterator_types<T>
+{
+};
+
+template<typename T>
+struct iterator_traits<T*, enable_if_t<std::is_object<T>::value>>
+{
+ using iterator_category = std::random_access_iterator_tag;
+ using value_type = T;
+ using difference_type = ptrdiff_t;
+ using pointer = T*;
+ using reference = T&;
+};
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/meta/call_std/begin.hpp>
+
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+
+namespace nlohmann
+{
+NLOHMANN_CAN_CALL_STD_FUNC_IMPL(begin);
+} // namespace nlohmann
+
+// #include <nlohmann/detail/meta/call_std/end.hpp>
+
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+
+namespace nlohmann
+{
+NLOHMANN_CAN_CALL_STD_FUNC_IMPL(end);
+} // namespace nlohmann
+
+// #include <nlohmann/detail/meta/cpp_future.hpp>
+
+// #include <nlohmann/detail/meta/detected.hpp>
+
+// #include <nlohmann/json_fwd.hpp>
+#ifndef INCLUDE_NLOHMANN_JSON_FWD_HPP_
+#define INCLUDE_NLOHMANN_JSON_FWD_HPP_
+
+#include <cstdint> // int64_t, uint64_t
+#include <map> // map
+#include <memory> // allocator
+#include <string> // string
+#include <vector> // vector
+
+/*!
+@brief namespace for Niels Lohmann
+@see https://github.com/nlohmann
+@since version 1.0.0
+*/
+namespace nlohmann
+{
+/*!
+@brief default JSONSerializer template argument
+
+This serializer ignores the template arguments and uses ADL
+([argument-dependent lookup](https://en.cppreference.com/w/cpp/language/adl))
+for serialization.
+*/
+template<typename T = void, typename SFINAE = void>
+struct adl_serializer;
+
+/// a class to store JSON values
+/// @sa https://json.nlohmann.me/api/basic_json/
+template<template<typename U, typename V, typename... Args> class ObjectType =
+ std::map,
+ template<typename U, typename... Args> class ArrayType = std::vector,
+ class StringType = std::string, class BooleanType = bool,
+ class NumberIntegerType = std::int64_t,
+ class NumberUnsignedType = std::uint64_t,
+ class NumberFloatType = double,
+ template<typename U> class AllocatorType = std::allocator,
+ template<typename T, typename SFINAE = void> class JSONSerializer =
+ adl_serializer,
+ class BinaryType = std::vector<std::uint8_t>>
+class basic_json;
+
+/// @brief JSON Pointer defines a string syntax for identifying a specific value within a JSON document
+/// @sa https://json.nlohmann.me/api/json_pointer/
+template<typename BasicJsonType>
+class json_pointer;
+
+/*!
+@brief default specialization
+@sa https://json.nlohmann.me/api/json/
+*/
+using json = basic_json<>;
+
+/// @brief a minimal map-like container that preserves insertion order
+/// @sa https://json.nlohmann.me/api/ordered_map/
+template<class Key, class T, class IgnoredLess, class Allocator>
+struct ordered_map;
+
+/// @brief specialization that maintains the insertion order of object keys
+/// @sa https://json.nlohmann.me/api/ordered_json/
+using ordered_json = basic_json<nlohmann::ordered_map>;
+
+} // namespace nlohmann
+
+#endif // INCLUDE_NLOHMANN_JSON_FWD_HPP_
+
+
+namespace nlohmann
+{
+/*!
+@brief detail namespace with internal helper functions
+
+This namespace collects functions that should not be exposed,
+implementations of some @ref basic_json methods, and meta-programming helpers.
+
+@since version 2.1.0
+*/
+namespace detail
+{
+/////////////
+// helpers //
+/////////////
+
+// Note to maintainers:
+//
+// Every trait in this file expects a non CV-qualified type.
+// The only exceptions are in the 'aliases for detected' section
+// (i.e. those of the form: decltype(T::member_function(std::declval<T>())))
+//
+// In this case, T has to be properly CV-qualified to constraint the function arguments
+// (e.g. to_json(BasicJsonType&, const T&))
+
+template<typename> struct is_basic_json : std::false_type {};
+
+NLOHMANN_BASIC_JSON_TPL_DECLARATION
+struct is_basic_json<NLOHMANN_BASIC_JSON_TPL> : std::true_type {};
+
+//////////////////////
+// json_ref helpers //
+//////////////////////
+
+template<typename>
+class json_ref;
+
+template<typename>
+struct is_json_ref : std::false_type {};
+
+template<typename T>
+struct is_json_ref<json_ref<T>> : std::true_type {};
+
+//////////////////////////
+// aliases for detected //
+//////////////////////////
+
+template<typename T>
+using mapped_type_t = typename T::mapped_type;
+
+template<typename T>
+using key_type_t = typename T::key_type;
+
+template<typename T>
+using value_type_t = typename T::value_type;
+
+template<typename T>
+using difference_type_t = typename T::difference_type;
+
+template<typename T>
+using pointer_t = typename T::pointer;
+
+template<typename T>
+using reference_t = typename T::reference;
+
+template<typename T>
+using iterator_category_t = typename T::iterator_category;
+
+template<typename T, typename... Args>
+using to_json_function = decltype(T::to_json(std::declval<Args>()...));
+
+template<typename T, typename... Args>
+using from_json_function = decltype(T::from_json(std::declval<Args>()...));
+
+template<typename T, typename U>
+using get_template_function = decltype(std::declval<T>().template get<U>());
+
+// trait checking if JSONSerializer<T>::from_json(json const&, udt&) exists
+template<typename BasicJsonType, typename T, typename = void>
+struct has_from_json : std::false_type {};
+
+// trait checking if j.get<T> is valid
+// use this trait instead of std::is_constructible or std::is_convertible,
+// both rely on, or make use of implicit conversions, and thus fail when T
+// has several constructors/operator= (see https://github.com/nlohmann/json/issues/958)
+template <typename BasicJsonType, typename T>
+struct is_getable
+{
+ static constexpr bool value = is_detected<get_template_function, const BasicJsonType&, T>::value;
+};
+
+template<typename BasicJsonType, typename T>
+struct has_from_json < BasicJsonType, T, enable_if_t < !is_basic_json<T>::value >>
+{
+ using serializer = typename BasicJsonType::template json_serializer<T, void>;
+
+ static constexpr bool value =
+ is_detected_exact<void, from_json_function, serializer,
+ const BasicJsonType&, T&>::value;
+};
+
+// This trait checks if JSONSerializer<T>::from_json(json const&) exists
+// this overload is used for non-default-constructible user-defined-types
+template<typename BasicJsonType, typename T, typename = void>
+struct has_non_default_from_json : std::false_type {};
+
+template<typename BasicJsonType, typename T>
+struct has_non_default_from_json < BasicJsonType, T, enable_if_t < !is_basic_json<T>::value >>
+{
+ using serializer = typename BasicJsonType::template json_serializer<T, void>;
+
+ static constexpr bool value =
+ is_detected_exact<T, from_json_function, serializer,
+ const BasicJsonType&>::value;
+};
+
+// This trait checks if BasicJsonType::json_serializer<T>::to_json exists
+// Do not evaluate the trait when T is a basic_json type, to avoid template instantiation infinite recursion.
+template<typename BasicJsonType, typename T, typename = void>
+struct has_to_json : std::false_type {};
+
+template<typename BasicJsonType, typename T>
+struct has_to_json < BasicJsonType, T, enable_if_t < !is_basic_json<T>::value >>
+{
+ using serializer = typename BasicJsonType::template json_serializer<T, void>;
+
+ static constexpr bool value =
+ is_detected_exact<void, to_json_function, serializer, BasicJsonType&,
+ T>::value;
+};
+
+
+///////////////////
+// is_ functions //
+///////////////////
+
+// https://en.cppreference.com/w/cpp/types/conjunction
+template<class...> struct conjunction : std::true_type { };
+template<class B1> struct conjunction<B1> : B1 { };
+template<class B1, class... Bn>
+struct conjunction<B1, Bn...>
+: std::conditional<bool(B1::value), conjunction<Bn...>, B1>::type {};
+
+// https://en.cppreference.com/w/cpp/types/negation
+template<class B> struct negation : std::integral_constant < bool, !B::value > { };
+
+// Reimplementation of is_constructible and is_default_constructible, due to them being broken for
+// std::pair and std::tuple until LWG 2367 fix (see https://cplusplus.github.io/LWG/lwg-defects.html#2367).
+// This causes compile errors in e.g. clang 3.5 or gcc 4.9.
+template <typename T>
+struct is_default_constructible : std::is_default_constructible<T> {};
+
+template <typename T1, typename T2>
+struct is_default_constructible<std::pair<T1, T2>>
+ : conjunction<is_default_constructible<T1>, is_default_constructible<T2>> {};
+
+template <typename T1, typename T2>
+struct is_default_constructible<const std::pair<T1, T2>>
+ : conjunction<is_default_constructible<T1>, is_default_constructible<T2>> {};
+
+template <typename... Ts>
+struct is_default_constructible<std::tuple<Ts...>>
+ : conjunction<is_default_constructible<Ts>...> {};
+
+template <typename... Ts>
+struct is_default_constructible<const std::tuple<Ts...>>
+ : conjunction<is_default_constructible<Ts>...> {};
+
+
+template <typename T, typename... Args>
+struct is_constructible : std::is_constructible<T, Args...> {};
+
+template <typename T1, typename T2>
+struct is_constructible<std::pair<T1, T2>> : is_default_constructible<std::pair<T1, T2>> {};
+
+template <typename T1, typename T2>
+struct is_constructible<const std::pair<T1, T2>> : is_default_constructible<const std::pair<T1, T2>> {};
+
+template <typename... Ts>
+struct is_constructible<std::tuple<Ts...>> : is_default_constructible<std::tuple<Ts...>> {};
+
+template <typename... Ts>
+struct is_constructible<const std::tuple<Ts...>> : is_default_constructible<const std::tuple<Ts...>> {};
+
+
+template<typename T, typename = void>
+struct is_iterator_traits : std::false_type {};
+
+template<typename T>
+struct is_iterator_traits<iterator_traits<T>>
+{
+ private:
+ using traits = iterator_traits<T>;
+
+ public:
+ static constexpr auto value =
+ is_detected<value_type_t, traits>::value &&
+ is_detected<difference_type_t, traits>::value &&
+ is_detected<pointer_t, traits>::value &&
+ is_detected<iterator_category_t, traits>::value &&
+ is_detected<reference_t, traits>::value;
+};
+
+template<typename T>
+struct is_range
+{
+ private:
+ using t_ref = typename std::add_lvalue_reference<T>::type;
+
+ using iterator = detected_t<result_of_begin, t_ref>;
+ using sentinel = detected_t<result_of_end, t_ref>;
+
+ // to be 100% correct, it should use https://en.cppreference.com/w/cpp/iterator/input_or_output_iterator
+ // and https://en.cppreference.com/w/cpp/iterator/sentinel_for
+ // but reimplementing these would be too much work, as a lot of other concepts are used underneath
+ static constexpr auto is_iterator_begin =
+ is_iterator_traits<iterator_traits<iterator>>::value;
+
+ public:
+ static constexpr bool value = !std::is_same<iterator, nonesuch>::value && !std::is_same<sentinel, nonesuch>::value && is_iterator_begin;
+};
+
+template<typename R>
+using iterator_t = enable_if_t<is_range<R>::value, result_of_begin<decltype(std::declval<R&>())>>;
+
+template<typename T>
+using range_value_t = value_type_t<iterator_traits<iterator_t<T>>>;
+
+// The following implementation of is_complete_type is taken from
+// https://blogs.msdn.microsoft.com/vcblog/2015/12/02/partial-support-for-expression-sfinae-in-vs-2015-update-1/
+// and is written by Xiang Fan who agreed to using it in this library.
+
+template<typename T, typename = void>
+struct is_complete_type : std::false_type {};
+
+template<typename T>
+struct is_complete_type<T, decltype(void(sizeof(T)))> : std::true_type {};
+
+template<typename BasicJsonType, typename CompatibleObjectType,
+ typename = void>
+struct is_compatible_object_type_impl : std::false_type {};
+
+template<typename BasicJsonType, typename CompatibleObjectType>
+struct is_compatible_object_type_impl <
+ BasicJsonType, CompatibleObjectType,
+ enable_if_t < is_detected<mapped_type_t, CompatibleObjectType>::value&&
+ is_detected<key_type_t, CompatibleObjectType>::value >>
+{
+ using object_t = typename BasicJsonType::object_t;
+
+ // macOS's is_constructible does not play well with nonesuch...
+ static constexpr bool value =
+ is_constructible<typename object_t::key_type,
+ typename CompatibleObjectType::key_type>::value &&
+ is_constructible<typename object_t::mapped_type,
+ typename CompatibleObjectType::mapped_type>::value;
+};
+
+template<typename BasicJsonType, typename CompatibleObjectType>
+struct is_compatible_object_type
+ : is_compatible_object_type_impl<BasicJsonType, CompatibleObjectType> {};
+
+template<typename BasicJsonType, typename ConstructibleObjectType,
+ typename = void>
+struct is_constructible_object_type_impl : std::false_type {};
+
+template<typename BasicJsonType, typename ConstructibleObjectType>
+struct is_constructible_object_type_impl <
+ BasicJsonType, ConstructibleObjectType,
+ enable_if_t < is_detected<mapped_type_t, ConstructibleObjectType>::value&&
+ is_detected<key_type_t, ConstructibleObjectType>::value >>
+{
+ using object_t = typename BasicJsonType::object_t;
+
+ static constexpr bool value =
+ (is_default_constructible<ConstructibleObjectType>::value &&
+ (std::is_move_assignable<ConstructibleObjectType>::value ||
+ std::is_copy_assignable<ConstructibleObjectType>::value) &&
+ (is_constructible<typename ConstructibleObjectType::key_type,
+ typename object_t::key_type>::value &&
+ std::is_same <
+ typename object_t::mapped_type,
+ typename ConstructibleObjectType::mapped_type >::value)) ||
+ (has_from_json<BasicJsonType,
+ typename ConstructibleObjectType::mapped_type>::value ||
+ has_non_default_from_json <
+ BasicJsonType,
+ typename ConstructibleObjectType::mapped_type >::value);
+};
+
+template<typename BasicJsonType, typename ConstructibleObjectType>
+struct is_constructible_object_type
+ : is_constructible_object_type_impl<BasicJsonType,
+ ConstructibleObjectType> {};
+
+template<typename BasicJsonType, typename CompatibleStringType>
+struct is_compatible_string_type
+{
+ static constexpr auto value =
+ is_constructible<typename BasicJsonType::string_t, CompatibleStringType>::value;
+};
+
+template<typename BasicJsonType, typename ConstructibleStringType>
+struct is_constructible_string_type
+{
+ static constexpr auto value =
+ is_constructible<ConstructibleStringType,
+ typename BasicJsonType::string_t>::value;
+};
+
+template<typename BasicJsonType, typename CompatibleArrayType, typename = void>
+struct is_compatible_array_type_impl : std::false_type {};
+
+template<typename BasicJsonType, typename CompatibleArrayType>
+struct is_compatible_array_type_impl <
+ BasicJsonType, CompatibleArrayType,
+ enable_if_t <
+ is_detected<iterator_t, CompatibleArrayType>::value&&
+ is_iterator_traits<iterator_traits<detected_t<iterator_t, CompatibleArrayType>>>::value&&
+// special case for types like std::filesystem::path whose iterator's value_type are themselves
+// c.f. https://github.com/nlohmann/json/pull/3073
+ !std::is_same<CompatibleArrayType, detected_t<range_value_t, CompatibleArrayType>>::value >>
+{
+ static constexpr bool value =
+ is_constructible<BasicJsonType,
+ range_value_t<CompatibleArrayType>>::value;
+};
+
+template<typename BasicJsonType, typename CompatibleArrayType>
+struct is_compatible_array_type
+ : is_compatible_array_type_impl<BasicJsonType, CompatibleArrayType> {};
+
+template<typename BasicJsonType, typename ConstructibleArrayType, typename = void>
+struct is_constructible_array_type_impl : std::false_type {};
+
+template<typename BasicJsonType, typename ConstructibleArrayType>
+struct is_constructible_array_type_impl <
+ BasicJsonType, ConstructibleArrayType,
+ enable_if_t<std::is_same<ConstructibleArrayType,
+ typename BasicJsonType::value_type>::value >>
+ : std::true_type {};
+
+template<typename BasicJsonType, typename ConstructibleArrayType>
+struct is_constructible_array_type_impl <
+ BasicJsonType, ConstructibleArrayType,
+ enable_if_t < !std::is_same<ConstructibleArrayType,
+ typename BasicJsonType::value_type>::value&&
+ !is_compatible_string_type<BasicJsonType, ConstructibleArrayType>::value&&
+ is_default_constructible<ConstructibleArrayType>::value&&
+(std::is_move_assignable<ConstructibleArrayType>::value ||
+ std::is_copy_assignable<ConstructibleArrayType>::value)&&
+is_detected<iterator_t, ConstructibleArrayType>::value&&
+is_iterator_traits<iterator_traits<detected_t<iterator_t, ConstructibleArrayType>>>::value&&
+is_detected<range_value_t, ConstructibleArrayType>::value&&
+// special case for types like std::filesystem::path whose iterator's value_type are themselves
+// c.f. https://github.com/nlohmann/json/pull/3073
+!std::is_same<ConstructibleArrayType, detected_t<range_value_t, ConstructibleArrayType>>::value&&
+ is_complete_type <
+ detected_t<range_value_t, ConstructibleArrayType >>::value >>
+{
+ using value_type = range_value_t<ConstructibleArrayType>;
+
+ static constexpr bool value =
+ std::is_same<value_type,
+ typename BasicJsonType::array_t::value_type>::value ||
+ has_from_json<BasicJsonType,
+ value_type>::value ||
+ has_non_default_from_json <
+ BasicJsonType,
+ value_type >::value;
+};
+
+template<typename BasicJsonType, typename ConstructibleArrayType>
+struct is_constructible_array_type
+ : is_constructible_array_type_impl<BasicJsonType, ConstructibleArrayType> {};
+
+template<typename RealIntegerType, typename CompatibleNumberIntegerType,
+ typename = void>
+struct is_compatible_integer_type_impl : std::false_type {};
+
+template<typename RealIntegerType, typename CompatibleNumberIntegerType>
+struct is_compatible_integer_type_impl <
+ RealIntegerType, CompatibleNumberIntegerType,
+ enable_if_t < std::is_integral<RealIntegerType>::value&&
+ std::is_integral<CompatibleNumberIntegerType>::value&&
+ !std::is_same<bool, CompatibleNumberIntegerType>::value >>
+{
+ // is there an assert somewhere on overflows?
+ using RealLimits = std::numeric_limits<RealIntegerType>;
+ using CompatibleLimits = std::numeric_limits<CompatibleNumberIntegerType>;
+
+ static constexpr auto value =
+ is_constructible<RealIntegerType,
+ CompatibleNumberIntegerType>::value &&
+ CompatibleLimits::is_integer &&
+ RealLimits::is_signed == CompatibleLimits::is_signed;
+};
+
+template<typename RealIntegerType, typename CompatibleNumberIntegerType>
+struct is_compatible_integer_type
+ : is_compatible_integer_type_impl<RealIntegerType,
+ CompatibleNumberIntegerType> {};
+
+template<typename BasicJsonType, typename CompatibleType, typename = void>
+struct is_compatible_type_impl: std::false_type {};
+
+template<typename BasicJsonType, typename CompatibleType>
+struct is_compatible_type_impl <
+ BasicJsonType, CompatibleType,
+ enable_if_t<is_complete_type<CompatibleType>::value >>
+{
+ static constexpr bool value =
+ has_to_json<BasicJsonType, CompatibleType>::value;
+};
+
+template<typename BasicJsonType, typename CompatibleType>
+struct is_compatible_type
+ : is_compatible_type_impl<BasicJsonType, CompatibleType> {};
+
+template<typename T1, typename T2>
+struct is_constructible_tuple : std::false_type {};
+
+template<typename T1, typename... Args>
+struct is_constructible_tuple<T1, std::tuple<Args...>> : conjunction<is_constructible<T1, Args>...> {};
+
+// a naive helper to check if a type is an ordered_map (exploits the fact that
+// ordered_map inherits capacity() from std::vector)
+template <typename T>
+struct is_ordered_map
+{
+ using one = char;
+
+ struct two
+ {
+ char x[2]; // NOLINT(cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays)
+ };
+
+ template <typename C> static one test( decltype(&C::capacity) ) ;
+ template <typename C> static two test(...);
+
+ enum { value = sizeof(test<T>(nullptr)) == sizeof(char) }; // NOLINT(cppcoreguidelines-pro-type-vararg,hicpp-vararg)
+};
+
+// to avoid useless casts (see https://github.com/nlohmann/json/issues/2893#issuecomment-889152324)
+template < typename T, typename U, enable_if_t < !std::is_same<T, U>::value, int > = 0 >
+T conditional_static_cast(U value)
+{
+ return static_cast<T>(value);
+}
+
+template<typename T, typename U, enable_if_t<std::is_same<T, U>::value, int> = 0>
+T conditional_static_cast(U value)
+{
+ return value;
+}
+
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/value_t.hpp>
+
+
+#if JSON_HAS_EXPERIMENTAL_FILESYSTEM
+#include <experimental/filesystem>
+namespace nlohmann::detail
+{
+namespace std_fs = std::experimental::filesystem;
+} // namespace nlohmann::detail
+#elif JSON_HAS_FILESYSTEM
+#include <filesystem>
+namespace nlohmann::detail
+{
+namespace std_fs = std::filesystem;
+} // namespace nlohmann::detail
+#endif
+
+namespace nlohmann
+{
+namespace detail
+{
+template<typename BasicJsonType>
+void from_json(const BasicJsonType& j, typename std::nullptr_t& n)
+{
+ if (JSON_HEDLEY_UNLIKELY(!j.is_null()))
+ {
+ JSON_THROW(type_error::create(302, "type must be null, but is " + std::string(j.type_name()), j));
+ }
+ n = nullptr;
+}
+
+// overloads for basic_json template parameters
+template < typename BasicJsonType, typename ArithmeticType,
+ enable_if_t < std::is_arithmetic<ArithmeticType>::value&&
+ !std::is_same<ArithmeticType, typename BasicJsonType::boolean_t>::value,
+ int > = 0 >
+void get_arithmetic_value(const BasicJsonType& j, ArithmeticType& val)
+{
+ switch (static_cast<value_t>(j))
+ {
+ case value_t::number_unsigned:
+ {
+ val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_unsigned_t*>());
+ break;
+ }
+ case value_t::number_integer:
+ {
+ val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_integer_t*>());
+ break;
+ }
+ case value_t::number_float:
+ {
+ val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_float_t*>());
+ break;
+ }
+
+ case value_t::null:
+ case value_t::object:
+ case value_t::array:
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ JSON_THROW(type_error::create(302, "type must be number, but is " + std::string(j.type_name()), j));
+ }
+}
+
+template<typename BasicJsonType>
+void from_json(const BasicJsonType& j, typename BasicJsonType::boolean_t& b)
+{
+ if (JSON_HEDLEY_UNLIKELY(!j.is_boolean()))
+ {
+ JSON_THROW(type_error::create(302, "type must be boolean, but is " + std::string(j.type_name()), j));
+ }
+ b = *j.template get_ptr<const typename BasicJsonType::boolean_t*>();
+}
+
+template<typename BasicJsonType>
+void from_json(const BasicJsonType& j, typename BasicJsonType::string_t& s)
+{
+ if (JSON_HEDLEY_UNLIKELY(!j.is_string()))
+ {
+ JSON_THROW(type_error::create(302, "type must be string, but is " + std::string(j.type_name()), j));
+ }
+ s = *j.template get_ptr<const typename BasicJsonType::string_t*>();
+}
+
+template <
+ typename BasicJsonType, typename ConstructibleStringType,
+ enable_if_t <
+ is_constructible_string_type<BasicJsonType, ConstructibleStringType>::value&&
+ !std::is_same<typename BasicJsonType::string_t,
+ ConstructibleStringType>::value,
+ int > = 0 >
+void from_json(const BasicJsonType& j, ConstructibleStringType& s)
+{
+ if (JSON_HEDLEY_UNLIKELY(!j.is_string()))
+ {
+ JSON_THROW(type_error::create(302, "type must be string, but is " + std::string(j.type_name()), j));
+ }
+
+ s = *j.template get_ptr<const typename BasicJsonType::string_t*>();
+}
+
+template<typename BasicJsonType>
+void from_json(const BasicJsonType& j, typename BasicJsonType::number_float_t& val)
+{
+ get_arithmetic_value(j, val);
+}
+
+template<typename BasicJsonType>
+void from_json(const BasicJsonType& j, typename BasicJsonType::number_unsigned_t& val)
+{
+ get_arithmetic_value(j, val);
+}
+
+template<typename BasicJsonType>
+void from_json(const BasicJsonType& j, typename BasicJsonType::number_integer_t& val)
+{
+ get_arithmetic_value(j, val);
+}
+
+template<typename BasicJsonType, typename EnumType,
+ enable_if_t<std::is_enum<EnumType>::value, int> = 0>
+void from_json(const BasicJsonType& j, EnumType& e)
+{
+ typename std::underlying_type<EnumType>::type val;
+ get_arithmetic_value(j, val);
+ e = static_cast<EnumType>(val);
+}
+
+// forward_list doesn't have an insert method
+template<typename BasicJsonType, typename T, typename Allocator,
+ enable_if_t<is_getable<BasicJsonType, T>::value, int> = 0>
+void from_json(const BasicJsonType& j, std::forward_list<T, Allocator>& l)
+{
+ if (JSON_HEDLEY_UNLIKELY(!j.is_array()))
+ {
+ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j));
+ }
+ l.clear();
+ std::transform(j.rbegin(), j.rend(),
+ std::front_inserter(l), [](const BasicJsonType & i)
+ {
+ return i.template get<T>();
+ });
+}
+
+// valarray doesn't have an insert method
+template<typename BasicJsonType, typename T,
+ enable_if_t<is_getable<BasicJsonType, T>::value, int> = 0>
+void from_json(const BasicJsonType& j, std::valarray<T>& l)
+{
+ if (JSON_HEDLEY_UNLIKELY(!j.is_array()))
+ {
+ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j));
+ }
+ l.resize(j.size());
+ std::transform(j.begin(), j.end(), std::begin(l),
+ [](const BasicJsonType & elem)
+ {
+ return elem.template get<T>();
+ });
+}
+
+template<typename BasicJsonType, typename T, std::size_t N>
+auto from_json(const BasicJsonType& j, T (&arr)[N]) // NOLINT(cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays)
+-> decltype(j.template get<T>(), void())
+{
+ for (std::size_t i = 0; i < N; ++i)
+ {
+ arr[i] = j.at(i).template get<T>();
+ }
+}
+
+template<typename BasicJsonType>
+void from_json_array_impl(const BasicJsonType& j, typename BasicJsonType::array_t& arr, priority_tag<3> /*unused*/)
+{
+ arr = *j.template get_ptr<const typename BasicJsonType::array_t*>();
+}
+
+template<typename BasicJsonType, typename T, std::size_t N>
+auto from_json_array_impl(const BasicJsonType& j, std::array<T, N>& arr,
+ priority_tag<2> /*unused*/)
+-> decltype(j.template get<T>(), void())
+{
+ for (std::size_t i = 0; i < N; ++i)
+ {
+ arr[i] = j.at(i).template get<T>();
+ }
+}
+
+template<typename BasicJsonType, typename ConstructibleArrayType,
+ enable_if_t<
+ std::is_assignable<ConstructibleArrayType&, ConstructibleArrayType>::value,
+ int> = 0>
+auto from_json_array_impl(const BasicJsonType& j, ConstructibleArrayType& arr, priority_tag<1> /*unused*/)
+-> decltype(
+ arr.reserve(std::declval<typename ConstructibleArrayType::size_type>()),
+ j.template get<typename ConstructibleArrayType::value_type>(),
+ void())
+{
+ using std::end;
+
+ ConstructibleArrayType ret;
+ ret.reserve(j.size());
+ std::transform(j.begin(), j.end(),
+ std::inserter(ret, end(ret)), [](const BasicJsonType & i)
+ {
+ // get<BasicJsonType>() returns *this, this won't call a from_json
+ // method when value_type is BasicJsonType
+ return i.template get<typename ConstructibleArrayType::value_type>();
+ });
+ arr = std::move(ret);
+}
+
+template<typename BasicJsonType, typename ConstructibleArrayType,
+ enable_if_t<
+ std::is_assignable<ConstructibleArrayType&, ConstructibleArrayType>::value,
+ int> = 0>
+void from_json_array_impl(const BasicJsonType& j, ConstructibleArrayType& arr,
+ priority_tag<0> /*unused*/)
+{
+ using std::end;
+
+ ConstructibleArrayType ret;
+ std::transform(
+ j.begin(), j.end(), std::inserter(ret, end(ret)),
+ [](const BasicJsonType & i)
+ {
+ // get<BasicJsonType>() returns *this, this won't call a from_json
+ // method when value_type is BasicJsonType
+ return i.template get<typename ConstructibleArrayType::value_type>();
+ });
+ arr = std::move(ret);
+}
+
+template < typename BasicJsonType, typename ConstructibleArrayType,
+ enable_if_t <
+ is_constructible_array_type<BasicJsonType, ConstructibleArrayType>::value&&
+ !is_constructible_object_type<BasicJsonType, ConstructibleArrayType>::value&&
+ !is_constructible_string_type<BasicJsonType, ConstructibleArrayType>::value&&
+ !std::is_same<ConstructibleArrayType, typename BasicJsonType::binary_t>::value&&
+ !is_basic_json<ConstructibleArrayType>::value,
+ int > = 0 >
+auto from_json(const BasicJsonType& j, ConstructibleArrayType& arr)
+-> decltype(from_json_array_impl(j, arr, priority_tag<3> {}),
+j.template get<typename ConstructibleArrayType::value_type>(),
+void())
+{
+ if (JSON_HEDLEY_UNLIKELY(!j.is_array()))
+ {
+ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j));
+ }
+
+ from_json_array_impl(j, arr, priority_tag<3> {});
+}
+
+template < typename BasicJsonType, typename T, std::size_t... Idx >
+std::array<T, sizeof...(Idx)> from_json_inplace_array_impl(BasicJsonType&& j,
+ identity_tag<std::array<T, sizeof...(Idx)>> /*unused*/, index_sequence<Idx...> /*unused*/)
+{
+ return { { std::forward<BasicJsonType>(j).at(Idx).template get<T>()... } };
+}
+
+template < typename BasicJsonType, typename T, std::size_t N >
+auto from_json(BasicJsonType&& j, identity_tag<std::array<T, N>> tag)
+-> decltype(from_json_inplace_array_impl(std::forward<BasicJsonType>(j), tag, make_index_sequence<N> {}))
+{
+ if (JSON_HEDLEY_UNLIKELY(!j.is_array()))
+ {
+ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j));
+ }
+
+ return from_json_inplace_array_impl(std::forward<BasicJsonType>(j), tag, make_index_sequence<N> {});
+}
+
+template<typename BasicJsonType>
+void from_json(const BasicJsonType& j, typename BasicJsonType::binary_t& bin)
+{
+ if (JSON_HEDLEY_UNLIKELY(!j.is_binary()))
+ {
+ JSON_THROW(type_error::create(302, "type must be binary, but is " + std::string(j.type_name()), j));
+ }
+
+ bin = *j.template get_ptr<const typename BasicJsonType::binary_t*>();
+}
+
+template<typename BasicJsonType, typename ConstructibleObjectType,
+ enable_if_t<is_constructible_object_type<BasicJsonType, ConstructibleObjectType>::value, int> = 0>
+void from_json(const BasicJsonType& j, ConstructibleObjectType& obj)
+{
+ if (JSON_HEDLEY_UNLIKELY(!j.is_object()))
+ {
+ JSON_THROW(type_error::create(302, "type must be object, but is " + std::string(j.type_name()), j));
+ }
+
+ ConstructibleObjectType ret;
+ const auto* inner_object = j.template get_ptr<const typename BasicJsonType::object_t*>();
+ using value_type = typename ConstructibleObjectType::value_type;
+ std::transform(
+ inner_object->begin(), inner_object->end(),
+ std::inserter(ret, ret.begin()),
+ [](typename BasicJsonType::object_t::value_type const & p)
+ {
+ return value_type(p.first, p.second.template get<typename ConstructibleObjectType::mapped_type>());
+ });
+ obj = std::move(ret);
+}
+
+// overload for arithmetic types, not chosen for basic_json template arguments
+// (BooleanType, etc..); note: Is it really necessary to provide explicit
+// overloads for boolean_t etc. in case of a custom BooleanType which is not
+// an arithmetic type?
+template < typename BasicJsonType, typename ArithmeticType,
+ enable_if_t <
+ std::is_arithmetic<ArithmeticType>::value&&
+ !std::is_same<ArithmeticType, typename BasicJsonType::number_unsigned_t>::value&&
+ !std::is_same<ArithmeticType, typename BasicJsonType::number_integer_t>::value&&
+ !std::is_same<ArithmeticType, typename BasicJsonType::number_float_t>::value&&
+ !std::is_same<ArithmeticType, typename BasicJsonType::boolean_t>::value,
+ int > = 0 >
+void from_json(const BasicJsonType& j, ArithmeticType& val)
+{
+ switch (static_cast<value_t>(j))
+ {
+ case value_t::number_unsigned:
+ {
+ val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_unsigned_t*>());
+ break;
+ }
+ case value_t::number_integer:
+ {
+ val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_integer_t*>());
+ break;
+ }
+ case value_t::number_float:
+ {
+ val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_float_t*>());
+ break;
+ }
+ case value_t::boolean:
+ {
+ val = static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::boolean_t*>());
+ break;
+ }
+
+ case value_t::null:
+ case value_t::object:
+ case value_t::array:
+ case value_t::string:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ JSON_THROW(type_error::create(302, "type must be number, but is " + std::string(j.type_name()), j));
+ }
+}
+
+template<typename BasicJsonType, typename... Args, std::size_t... Idx>
+std::tuple<Args...> from_json_tuple_impl_base(BasicJsonType&& j, index_sequence<Idx...> /*unused*/)
+{
+ return std::make_tuple(std::forward<BasicJsonType>(j).at(Idx).template get<Args>()...);
+}
+
+template < typename BasicJsonType, class A1, class A2 >
+std::pair<A1, A2> from_json_tuple_impl(BasicJsonType&& j, identity_tag<std::pair<A1, A2>> /*unused*/, priority_tag<0> /*unused*/)
+{
+ return {std::forward<BasicJsonType>(j).at(0).template get<A1>(),
+ std::forward<BasicJsonType>(j).at(1).template get<A2>()};
+}
+
+template<typename BasicJsonType, typename A1, typename A2>
+void from_json_tuple_impl(BasicJsonType&& j, std::pair<A1, A2>& p, priority_tag<1> /*unused*/)
+{
+ p = from_json_tuple_impl(std::forward<BasicJsonType>(j), identity_tag<std::pair<A1, A2>> {}, priority_tag<0> {});
+}
+
+template<typename BasicJsonType, typename... Args>
+std::tuple<Args...> from_json_tuple_impl(BasicJsonType&& j, identity_tag<std::tuple<Args...>> /*unused*/, priority_tag<2> /*unused*/)
+{
+ return from_json_tuple_impl_base<BasicJsonType, Args...>(std::forward<BasicJsonType>(j), index_sequence_for<Args...> {});
+}
+
+template<typename BasicJsonType, typename... Args>
+void from_json_tuple_impl(BasicJsonType&& j, std::tuple<Args...>& t, priority_tag<3> /*unused*/)
+{
+ t = from_json_tuple_impl_base<BasicJsonType, Args...>(std::forward<BasicJsonType>(j), index_sequence_for<Args...> {});
+}
+
+template<typename BasicJsonType, typename TupleRelated>
+auto from_json(BasicJsonType&& j, TupleRelated&& t)
+-> decltype(from_json_tuple_impl(std::forward<BasicJsonType>(j), std::forward<TupleRelated>(t), priority_tag<3> {}))
+{
+ if (JSON_HEDLEY_UNLIKELY(!j.is_array()))
+ {
+ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j));
+ }
+
+ return from_json_tuple_impl(std::forward<BasicJsonType>(j), std::forward<TupleRelated>(t), priority_tag<3> {});
+}
+
+template < typename BasicJsonType, typename Key, typename Value, typename Compare, typename Allocator,
+ typename = enable_if_t < !std::is_constructible <
+ typename BasicJsonType::string_t, Key >::value >>
+void from_json(const BasicJsonType& j, std::map<Key, Value, Compare, Allocator>& m)
+{
+ if (JSON_HEDLEY_UNLIKELY(!j.is_array()))
+ {
+ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j));
+ }
+ m.clear();
+ for (const auto& p : j)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!p.is_array()))
+ {
+ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(p.type_name()), j));
+ }
+ m.emplace(p.at(0).template get<Key>(), p.at(1).template get<Value>());
+ }
+}
+
+template < typename BasicJsonType, typename Key, typename Value, typename Hash, typename KeyEqual, typename Allocator,
+ typename = enable_if_t < !std::is_constructible <
+ typename BasicJsonType::string_t, Key >::value >>
+void from_json(const BasicJsonType& j, std::unordered_map<Key, Value, Hash, KeyEqual, Allocator>& m)
+{
+ if (JSON_HEDLEY_UNLIKELY(!j.is_array()))
+ {
+ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(j.type_name()), j));
+ }
+ m.clear();
+ for (const auto& p : j)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!p.is_array()))
+ {
+ JSON_THROW(type_error::create(302, "type must be array, but is " + std::string(p.type_name()), j));
+ }
+ m.emplace(p.at(0).template get<Key>(), p.at(1).template get<Value>());
+ }
+}
+
+#if JSON_HAS_FILESYSTEM || JSON_HAS_EXPERIMENTAL_FILESYSTEM
+template<typename BasicJsonType>
+void from_json(const BasicJsonType& j, std_fs::path& p)
+{
+ if (JSON_HEDLEY_UNLIKELY(!j.is_string()))
+ {
+ JSON_THROW(type_error::create(302, "type must be string, but is " + std::string(j.type_name()), j));
+ }
+ p = *j.template get_ptr<const typename BasicJsonType::string_t*>();
+}
+#endif
+
+struct from_json_fn
+{
+ template<typename BasicJsonType, typename T>
+ auto operator()(const BasicJsonType& j, T&& val) const
+ noexcept(noexcept(from_json(j, std::forward<T>(val))))
+ -> decltype(from_json(j, std::forward<T>(val)))
+ {
+ return from_json(j, std::forward<T>(val));
+ }
+};
+} // namespace detail
+
+/// namespace to hold default `from_json` function
+/// to see why this is required:
+/// http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4381.html
+namespace // NOLINT(cert-dcl59-cpp,fuchsia-header-anon-namespaces,google-build-namespaces)
+{
+constexpr const auto& from_json = detail::static_const<detail::from_json_fn>::value; // NOLINT(misc-definitions-in-headers)
+} // namespace
+} // namespace nlohmann
+
+// #include <nlohmann/detail/conversions/to_json.hpp>
+
+
+#include <algorithm> // copy
+#include <iterator> // begin, end
+#include <string> // string
+#include <tuple> // tuple, get
+#include <type_traits> // is_same, is_constructible, is_floating_point, is_enum, underlying_type
+#include <utility> // move, forward, declval, pair
+#include <valarray> // valarray
+#include <vector> // vector
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+// #include <nlohmann/detail/iterators/iteration_proxy.hpp>
+
+
+#include <cstddef> // size_t
+#include <iterator> // input_iterator_tag
+#include <string> // string, to_string
+#include <tuple> // tuple_size, get, tuple_element
+#include <utility> // move
+
+// #include <nlohmann/detail/meta/type_traits.hpp>
+
+// #include <nlohmann/detail/value_t.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+template<typename string_type>
+void int_to_string( string_type& target, std::size_t value )
+{
+ // For ADL
+ using std::to_string;
+ target = to_string(value);
+}
+template<typename IteratorType> class iteration_proxy_value
+{
+ public:
+ using difference_type = std::ptrdiff_t;
+ using value_type = iteration_proxy_value;
+ using pointer = value_type * ;
+ using reference = value_type & ;
+ using iterator_category = std::input_iterator_tag;
+ using string_type = typename std::remove_cv< typename std::remove_reference<decltype( std::declval<IteratorType>().key() ) >::type >::type;
+
+ private:
+ /// the iterator
+ IteratorType anchor;
+ /// an index for arrays (used to create key names)
+ std::size_t array_index = 0;
+ /// last stringified array index
+ mutable std::size_t array_index_last = 0;
+ /// a string representation of the array index
+ mutable string_type array_index_str = "0";
+ /// an empty string (to return a reference for primitive values)
+ const string_type empty_str{};
+
+ public:
+ explicit iteration_proxy_value(IteratorType it) noexcept
+ : anchor(std::move(it))
+ {}
+
+ /// dereference operator (needed for range-based for)
+ iteration_proxy_value& operator*()
+ {
+ return *this;
+ }
+
+ /// increment operator (needed for range-based for)
+ iteration_proxy_value& operator++()
+ {
+ ++anchor;
+ ++array_index;
+
+ return *this;
+ }
+
+ /// equality operator (needed for InputIterator)
+ bool operator==(const iteration_proxy_value& o) const
+ {
+ return anchor == o.anchor;
+ }
+
+ /// inequality operator (needed for range-based for)
+ bool operator!=(const iteration_proxy_value& o) const
+ {
+ return anchor != o.anchor;
+ }
+
+ /// return key of the iterator
+ const string_type& key() const
+ {
+ JSON_ASSERT(anchor.m_object != nullptr);
+
+ switch (anchor.m_object->type())
+ {
+ // use integer array index as key
+ case value_t::array:
+ {
+ if (array_index != array_index_last)
+ {
+ int_to_string( array_index_str, array_index );
+ array_index_last = array_index;
+ }
+ return array_index_str;
+ }
+
+ // use key from the object
+ case value_t::object:
+ return anchor.key();
+
+ // use an empty key for all primitive types
+ case value_t::null:
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ return empty_str;
+ }
+ }
+
+ /// return value of the iterator
+ typename IteratorType::reference value() const
+ {
+ return anchor.value();
+ }
+};
+
+/// proxy class for the items() function
+template<typename IteratorType> class iteration_proxy
+{
+ private:
+ /// the container to iterate
+ typename IteratorType::reference container;
+
+ public:
+ /// construct iteration proxy from a container
+ explicit iteration_proxy(typename IteratorType::reference cont) noexcept
+ : container(cont) {}
+
+ /// return iterator begin (needed for range-based for)
+ iteration_proxy_value<IteratorType> begin() noexcept
+ {
+ return iteration_proxy_value<IteratorType>(container.begin());
+ }
+
+ /// return iterator end (needed for range-based for)
+ iteration_proxy_value<IteratorType> end() noexcept
+ {
+ return iteration_proxy_value<IteratorType>(container.end());
+ }
+};
+// Structured Bindings Support
+// For further reference see https://blog.tartanllama.xyz/structured-bindings/
+// And see https://github.com/nlohmann/json/pull/1391
+template<std::size_t N, typename IteratorType, enable_if_t<N == 0, int> = 0>
+auto get(const nlohmann::detail::iteration_proxy_value<IteratorType>& i) -> decltype(i.key())
+{
+ return i.key();
+}
+// Structured Bindings Support
+// For further reference see https://blog.tartanllama.xyz/structured-bindings/
+// And see https://github.com/nlohmann/json/pull/1391
+template<std::size_t N, typename IteratorType, enable_if_t<N == 1, int> = 0>
+auto get(const nlohmann::detail::iteration_proxy_value<IteratorType>& i) -> decltype(i.value())
+{
+ return i.value();
+}
+} // namespace detail
+} // namespace nlohmann
+
+// The Addition to the STD Namespace is required to add
+// Structured Bindings Support to the iteration_proxy_value class
+// For further reference see https://blog.tartanllama.xyz/structured-bindings/
+// And see https://github.com/nlohmann/json/pull/1391
+namespace std
+{
+#if defined(__clang__)
+ // Fix: https://github.com/nlohmann/json/issues/1401
+ #pragma clang diagnostic push
+ #pragma clang diagnostic ignored "-Wmismatched-tags"
+#endif
+template<typename IteratorType>
+class tuple_size<::nlohmann::detail::iteration_proxy_value<IteratorType>>
+ : public std::integral_constant<std::size_t, 2> {};
+
+template<std::size_t N, typename IteratorType>
+class tuple_element<N, ::nlohmann::detail::iteration_proxy_value<IteratorType >>
+{
+ public:
+ using type = decltype(
+ get<N>(std::declval <
+ ::nlohmann::detail::iteration_proxy_value<IteratorType >> ()));
+};
+#if defined(__clang__)
+ #pragma clang diagnostic pop
+#endif
+} // namespace std
+
+// #include <nlohmann/detail/meta/cpp_future.hpp>
+
+// #include <nlohmann/detail/meta/type_traits.hpp>
+
+// #include <nlohmann/detail/value_t.hpp>
+
+
+#if JSON_HAS_EXPERIMENTAL_FILESYSTEM
+#include <experimental/filesystem>
+namespace nlohmann::detail
+{
+namespace std_fs = std::experimental::filesystem;
+} // namespace nlohmann::detail
+#elif JSON_HAS_FILESYSTEM
+#include <filesystem>
+namespace nlohmann::detail
+{
+namespace std_fs = std::filesystem;
+} // namespace nlohmann::detail
+#endif
+
+namespace nlohmann
+{
+namespace detail
+{
+//////////////////
+// constructors //
+//////////////////
+
+/*
+ * Note all external_constructor<>::construct functions need to call
+ * j.m_value.destroy(j.m_type) to avoid a memory leak in case j contains an
+ * allocated value (e.g., a string). See bug issue
+ * https://github.com/nlohmann/json/issues/2865 for more information.
+ */
+
+template<value_t> struct external_constructor;
+
+template<>
+struct external_constructor<value_t::boolean>
+{
+ template<typename BasicJsonType>
+ static void construct(BasicJsonType& j, typename BasicJsonType::boolean_t b) noexcept
+ {
+ j.m_value.destroy(j.m_type);
+ j.m_type = value_t::boolean;
+ j.m_value = b;
+ j.assert_invariant();
+ }
+};
+
+template<>
+struct external_constructor<value_t::string>
+{
+ template<typename BasicJsonType>
+ static void construct(BasicJsonType& j, const typename BasicJsonType::string_t& s)
+ {
+ j.m_value.destroy(j.m_type);
+ j.m_type = value_t::string;
+ j.m_value = s;
+ j.assert_invariant();
+ }
+
+ template<typename BasicJsonType>
+ static void construct(BasicJsonType& j, typename BasicJsonType::string_t&& s)
+ {
+ j.m_value.destroy(j.m_type);
+ j.m_type = value_t::string;
+ j.m_value = std::move(s);
+ j.assert_invariant();
+ }
+
+ template < typename BasicJsonType, typename CompatibleStringType,
+ enable_if_t < !std::is_same<CompatibleStringType, typename BasicJsonType::string_t>::value,
+ int > = 0 >
+ static void construct(BasicJsonType& j, const CompatibleStringType& str)
+ {
+ j.m_value.destroy(j.m_type);
+ j.m_type = value_t::string;
+ j.m_value.string = j.template create<typename BasicJsonType::string_t>(str);
+ j.assert_invariant();
+ }
+};
+
+template<>
+struct external_constructor<value_t::binary>
+{
+ template<typename BasicJsonType>
+ static void construct(BasicJsonType& j, const typename BasicJsonType::binary_t& b)
+ {
+ j.m_value.destroy(j.m_type);
+ j.m_type = value_t::binary;
+ j.m_value = typename BasicJsonType::binary_t(b);
+ j.assert_invariant();
+ }
+
+ template<typename BasicJsonType>
+ static void construct(BasicJsonType& j, typename BasicJsonType::binary_t&& b)
+ {
+ j.m_value.destroy(j.m_type);
+ j.m_type = value_t::binary;
+ j.m_value = typename BasicJsonType::binary_t(std::move(b));
+ j.assert_invariant();
+ }
+};
+
+template<>
+struct external_constructor<value_t::number_float>
+{
+ template<typename BasicJsonType>
+ static void construct(BasicJsonType& j, typename BasicJsonType::number_float_t val) noexcept
+ {
+ j.m_value.destroy(j.m_type);
+ j.m_type = value_t::number_float;
+ j.m_value = val;
+ j.assert_invariant();
+ }
+};
+
+template<>
+struct external_constructor<value_t::number_unsigned>
+{
+ template<typename BasicJsonType>
+ static void construct(BasicJsonType& j, typename BasicJsonType::number_unsigned_t val) noexcept
+ {
+ j.m_value.destroy(j.m_type);
+ j.m_type = value_t::number_unsigned;
+ j.m_value = val;
+ j.assert_invariant();
+ }
+};
+
+template<>
+struct external_constructor<value_t::number_integer>
+{
+ template<typename BasicJsonType>
+ static void construct(BasicJsonType& j, typename BasicJsonType::number_integer_t val) noexcept
+ {
+ j.m_value.destroy(j.m_type);
+ j.m_type = value_t::number_integer;
+ j.m_value = val;
+ j.assert_invariant();
+ }
+};
+
+template<>
+struct external_constructor<value_t::array>
+{
+ template<typename BasicJsonType>
+ static void construct(BasicJsonType& j, const typename BasicJsonType::array_t& arr)
+ {
+ j.m_value.destroy(j.m_type);
+ j.m_type = value_t::array;
+ j.m_value = arr;
+ j.set_parents();
+ j.assert_invariant();
+ }
+
+ template<typename BasicJsonType>
+ static void construct(BasicJsonType& j, typename BasicJsonType::array_t&& arr)
+ {
+ j.m_value.destroy(j.m_type);
+ j.m_type = value_t::array;
+ j.m_value = std::move(arr);
+ j.set_parents();
+ j.assert_invariant();
+ }
+
+ template < typename BasicJsonType, typename CompatibleArrayType,
+ enable_if_t < !std::is_same<CompatibleArrayType, typename BasicJsonType::array_t>::value,
+ int > = 0 >
+ static void construct(BasicJsonType& j, const CompatibleArrayType& arr)
+ {
+ using std::begin;
+ using std::end;
+
+ j.m_value.destroy(j.m_type);
+ j.m_type = value_t::array;
+ j.m_value.array = j.template create<typename BasicJsonType::array_t>(begin(arr), end(arr));
+ j.set_parents();
+ j.assert_invariant();
+ }
+
+ template<typename BasicJsonType>
+ static void construct(BasicJsonType& j, const std::vector<bool>& arr)
+ {
+ j.m_value.destroy(j.m_type);
+ j.m_type = value_t::array;
+ j.m_value = value_t::array;
+ j.m_value.array->reserve(arr.size());
+ for (const bool x : arr)
+ {
+ j.m_value.array->push_back(x);
+ j.set_parent(j.m_value.array->back());
+ }
+ j.assert_invariant();
+ }
+
+ template<typename BasicJsonType, typename T,
+ enable_if_t<std::is_convertible<T, BasicJsonType>::value, int> = 0>
+ static void construct(BasicJsonType& j, const std::valarray<T>& arr)
+ {
+ j.m_value.destroy(j.m_type);
+ j.m_type = value_t::array;
+ j.m_value = value_t::array;
+ j.m_value.array->resize(arr.size());
+ if (arr.size() > 0)
+ {
+ std::copy(std::begin(arr), std::end(arr), j.m_value.array->begin());
+ }
+ j.set_parents();
+ j.assert_invariant();
+ }
+};
+
+template<>
+struct external_constructor<value_t::object>
+{
+ template<typename BasicJsonType>
+ static void construct(BasicJsonType& j, const typename BasicJsonType::object_t& obj)
+ {
+ j.m_value.destroy(j.m_type);
+ j.m_type = value_t::object;
+ j.m_value = obj;
+ j.set_parents();
+ j.assert_invariant();
+ }
+
+ template<typename BasicJsonType>
+ static void construct(BasicJsonType& j, typename BasicJsonType::object_t&& obj)
+ {
+ j.m_value.destroy(j.m_type);
+ j.m_type = value_t::object;
+ j.m_value = std::move(obj);
+ j.set_parents();
+ j.assert_invariant();
+ }
+
+ template < typename BasicJsonType, typename CompatibleObjectType,
+ enable_if_t < !std::is_same<CompatibleObjectType, typename BasicJsonType::object_t>::value, int > = 0 >
+ static void construct(BasicJsonType& j, const CompatibleObjectType& obj)
+ {
+ using std::begin;
+ using std::end;
+
+ j.m_value.destroy(j.m_type);
+ j.m_type = value_t::object;
+ j.m_value.object = j.template create<typename BasicJsonType::object_t>(begin(obj), end(obj));
+ j.set_parents();
+ j.assert_invariant();
+ }
+};
+
+/////////////
+// to_json //
+/////////////
+
+template<typename BasicJsonType, typename T,
+ enable_if_t<std::is_same<T, typename BasicJsonType::boolean_t>::value, int> = 0>
+void to_json(BasicJsonType& j, T b) noexcept
+{
+ external_constructor<value_t::boolean>::construct(j, b);
+}
+
+template<typename BasicJsonType, typename CompatibleString,
+ enable_if_t<std::is_constructible<typename BasicJsonType::string_t, CompatibleString>::value, int> = 0>
+void to_json(BasicJsonType& j, const CompatibleString& s)
+{
+ external_constructor<value_t::string>::construct(j, s);
+}
+
+template<typename BasicJsonType>
+void to_json(BasicJsonType& j, typename BasicJsonType::string_t&& s)
+{
+ external_constructor<value_t::string>::construct(j, std::move(s));
+}
+
+template<typename BasicJsonType, typename FloatType,
+ enable_if_t<std::is_floating_point<FloatType>::value, int> = 0>
+void to_json(BasicJsonType& j, FloatType val) noexcept
+{
+ external_constructor<value_t::number_float>::construct(j, static_cast<typename BasicJsonType::number_float_t>(val));
+}
+
+template<typename BasicJsonType, typename CompatibleNumberUnsignedType,
+ enable_if_t<is_compatible_integer_type<typename BasicJsonType::number_unsigned_t, CompatibleNumberUnsignedType>::value, int> = 0>
+void to_json(BasicJsonType& j, CompatibleNumberUnsignedType val) noexcept
+{
+ external_constructor<value_t::number_unsigned>::construct(j, static_cast<typename BasicJsonType::number_unsigned_t>(val));
+}
+
+template<typename BasicJsonType, typename CompatibleNumberIntegerType,
+ enable_if_t<is_compatible_integer_type<typename BasicJsonType::number_integer_t, CompatibleNumberIntegerType>::value, int> = 0>
+void to_json(BasicJsonType& j, CompatibleNumberIntegerType val) noexcept
+{
+ external_constructor<value_t::number_integer>::construct(j, static_cast<typename BasicJsonType::number_integer_t>(val));
+}
+
+template<typename BasicJsonType, typename EnumType,
+ enable_if_t<std::is_enum<EnumType>::value, int> = 0>
+void to_json(BasicJsonType& j, EnumType e) noexcept
+{
+ using underlying_type = typename std::underlying_type<EnumType>::type;
+ external_constructor<value_t::number_integer>::construct(j, static_cast<underlying_type>(e));
+}
+
+template<typename BasicJsonType>
+void to_json(BasicJsonType& j, const std::vector<bool>& e)
+{
+ external_constructor<value_t::array>::construct(j, e);
+}
+
+template < typename BasicJsonType, typename CompatibleArrayType,
+ enable_if_t < is_compatible_array_type<BasicJsonType,
+ CompatibleArrayType>::value&&
+ !is_compatible_object_type<BasicJsonType, CompatibleArrayType>::value&&
+ !is_compatible_string_type<BasicJsonType, CompatibleArrayType>::value&&
+ !std::is_same<typename BasicJsonType::binary_t, CompatibleArrayType>::value&&
+ !is_basic_json<CompatibleArrayType>::value,
+ int > = 0 >
+void to_json(BasicJsonType& j, const CompatibleArrayType& arr)
+{
+ external_constructor<value_t::array>::construct(j, arr);
+}
+
+template<typename BasicJsonType>
+void to_json(BasicJsonType& j, const typename BasicJsonType::binary_t& bin)
+{
+ external_constructor<value_t::binary>::construct(j, bin);
+}
+
+template<typename BasicJsonType, typename T,
+ enable_if_t<std::is_convertible<T, BasicJsonType>::value, int> = 0>
+void to_json(BasicJsonType& j, const std::valarray<T>& arr)
+{
+ external_constructor<value_t::array>::construct(j, std::move(arr));
+}
+
+template<typename BasicJsonType>
+void to_json(BasicJsonType& j, typename BasicJsonType::array_t&& arr)
+{
+ external_constructor<value_t::array>::construct(j, std::move(arr));
+}
+
+template < typename BasicJsonType, typename CompatibleObjectType,
+ enable_if_t < is_compatible_object_type<BasicJsonType, CompatibleObjectType>::value&& !is_basic_json<CompatibleObjectType>::value, int > = 0 >
+void to_json(BasicJsonType& j, const CompatibleObjectType& obj)
+{
+ external_constructor<value_t::object>::construct(j, obj);
+}
+
+template<typename BasicJsonType>
+void to_json(BasicJsonType& j, typename BasicJsonType::object_t&& obj)
+{
+ external_constructor<value_t::object>::construct(j, std::move(obj));
+}
+
+template <
+ typename BasicJsonType, typename T, std::size_t N,
+ enable_if_t < !std::is_constructible<typename BasicJsonType::string_t,
+ const T(&)[N]>::value, // NOLINT(cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays)
+ int > = 0 >
+void to_json(BasicJsonType& j, const T(&arr)[N]) // NOLINT(cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays)
+{
+ external_constructor<value_t::array>::construct(j, arr);
+}
+
+template < typename BasicJsonType, typename T1, typename T2, enable_if_t < std::is_constructible<BasicJsonType, T1>::value&& std::is_constructible<BasicJsonType, T2>::value, int > = 0 >
+void to_json(BasicJsonType& j, const std::pair<T1, T2>& p)
+{
+ j = { p.first, p.second };
+}
+
+// for https://github.com/nlohmann/json/pull/1134
+template<typename BasicJsonType, typename T,
+ enable_if_t<std::is_same<T, iteration_proxy_value<typename BasicJsonType::iterator>>::value, int> = 0>
+void to_json(BasicJsonType& j, const T& b)
+{
+ j = { {b.key(), b.value()} };
+}
+
+template<typename BasicJsonType, typename Tuple, std::size_t... Idx>
+void to_json_tuple_impl(BasicJsonType& j, const Tuple& t, index_sequence<Idx...> /*unused*/)
+{
+ j = { std::get<Idx>(t)... };
+}
+
+template<typename BasicJsonType, typename T, enable_if_t<is_constructible_tuple<BasicJsonType, T>::value, int > = 0>
+void to_json(BasicJsonType& j, const T& t)
+{
+ to_json_tuple_impl(j, t, make_index_sequence<std::tuple_size<T>::value> {});
+}
+
+#if JSON_HAS_FILESYSTEM || JSON_HAS_EXPERIMENTAL_FILESYSTEM
+template<typename BasicJsonType>
+void to_json(BasicJsonType& j, const std_fs::path& p)
+{
+ j = p.string();
+}
+#endif
+
+struct to_json_fn
+{
+ template<typename BasicJsonType, typename T>
+ auto operator()(BasicJsonType& j, T&& val) const noexcept(noexcept(to_json(j, std::forward<T>(val))))
+ -> decltype(to_json(j, std::forward<T>(val)), void())
+ {
+ return to_json(j, std::forward<T>(val));
+ }
+};
+} // namespace detail
+
+/// namespace to hold default `to_json` function
+/// to see why this is required:
+/// http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4381.html
+namespace // NOLINT(cert-dcl59-cpp,fuchsia-header-anon-namespaces,google-build-namespaces)
+{
+constexpr const auto& to_json = detail::static_const<detail::to_json_fn>::value; // NOLINT(misc-definitions-in-headers)
+} // namespace
+} // namespace nlohmann
+
+// #include <nlohmann/detail/meta/identity_tag.hpp>
+
+// #include <nlohmann/detail/meta/type_traits.hpp>
+
+
+namespace nlohmann
+{
+
+/// @sa https://json.nlohmann.me/api/adl_serializer/
+template<typename ValueType, typename>
+struct adl_serializer
+{
+ /// @brief convert a JSON value to any value type
+ /// @sa https://json.nlohmann.me/api/adl_serializer/from_json/
+ template<typename BasicJsonType, typename TargetType = ValueType>
+ static auto from_json(BasicJsonType && j, TargetType& val) noexcept(
+ noexcept(::nlohmann::from_json(std::forward<BasicJsonType>(j), val)))
+ -> decltype(::nlohmann::from_json(std::forward<BasicJsonType>(j), val), void())
+ {
+ ::nlohmann::from_json(std::forward<BasicJsonType>(j), val);
+ }
+
+ /// @brief convert a JSON value to any value type
+ /// @sa https://json.nlohmann.me/api/adl_serializer/from_json/
+ template<typename BasicJsonType, typename TargetType = ValueType>
+ static auto from_json(BasicJsonType && j) noexcept(
+ noexcept(::nlohmann::from_json(std::forward<BasicJsonType>(j), detail::identity_tag<TargetType> {})))
+ -> decltype(::nlohmann::from_json(std::forward<BasicJsonType>(j), detail::identity_tag<TargetType> {}))
+ {
+ return ::nlohmann::from_json(std::forward<BasicJsonType>(j), detail::identity_tag<TargetType> {});
+ }
+
+ /// @brief convert any value type to a JSON value
+ /// @sa https://json.nlohmann.me/api/adl_serializer/to_json/
+ template<typename BasicJsonType, typename TargetType = ValueType>
+ static auto to_json(BasicJsonType& j, TargetType && val) noexcept(
+ noexcept(::nlohmann::to_json(j, std::forward<TargetType>(val))))
+ -> decltype(::nlohmann::to_json(j, std::forward<TargetType>(val)), void())
+ {
+ ::nlohmann::to_json(j, std::forward<TargetType>(val));
+ }
+};
+} // namespace nlohmann
+
+// #include <nlohmann/byte_container_with_subtype.hpp>
+
+
+#include <cstdint> // uint8_t, uint64_t
+#include <tuple> // tie
+#include <utility> // move
+
+namespace nlohmann
+{
+
+/// @brief an internal type for a backed binary type
+/// @sa https://json.nlohmann.me/api/byte_container_with_subtype/
+template<typename BinaryType>
+class byte_container_with_subtype : public BinaryType
+{
+ public:
+ using container_type = BinaryType;
+ using subtype_type = std::uint64_t;
+
+ /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/byte_container_with_subtype/
+ byte_container_with_subtype() noexcept(noexcept(container_type()))
+ : container_type()
+ {}
+
+ /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/byte_container_with_subtype/
+ byte_container_with_subtype(const container_type& b) noexcept(noexcept(container_type(b)))
+ : container_type(b)
+ {}
+
+ /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/byte_container_with_subtype/
+ byte_container_with_subtype(container_type&& b) noexcept(noexcept(container_type(std::move(b))))
+ : container_type(std::move(b))
+ {}
+
+ /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/byte_container_with_subtype/
+ byte_container_with_subtype(const container_type& b, subtype_type subtype_) noexcept(noexcept(container_type(b)))
+ : container_type(b)
+ , m_subtype(subtype_)
+ , m_has_subtype(true)
+ {}
+
+ /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/byte_container_with_subtype/
+ byte_container_with_subtype(container_type&& b, subtype_type subtype_) noexcept(noexcept(container_type(std::move(b))))
+ : container_type(std::move(b))
+ , m_subtype(subtype_)
+ , m_has_subtype(true)
+ {}
+
+ bool operator==(const byte_container_with_subtype& rhs) const
+ {
+ return std::tie(static_cast<const BinaryType&>(*this), m_subtype, m_has_subtype) ==
+ std::tie(static_cast<const BinaryType&>(rhs), rhs.m_subtype, rhs.m_has_subtype);
+ }
+
+ bool operator!=(const byte_container_with_subtype& rhs) const
+ {
+ return !(rhs == *this);
+ }
+
+ /// @brief sets the binary subtype
+ /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/set_subtype/
+ void set_subtype(subtype_type subtype_) noexcept
+ {
+ m_subtype = subtype_;
+ m_has_subtype = true;
+ }
+
+ /// @brief return the binary subtype
+ /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/subtype/
+ constexpr subtype_type subtype() const noexcept
+ {
+ return m_has_subtype ? m_subtype : static_cast<subtype_type>(-1);
+ }
+
+ /// @brief return whether the value has a subtype
+ /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/has_subtype/
+ constexpr bool has_subtype() const noexcept
+ {
+ return m_has_subtype;
+ }
+
+ /// @brief clears the binary subtype
+ /// @sa https://json.nlohmann.me/api/byte_container_with_subtype/clear_subtype/
+ void clear_subtype() noexcept
+ {
+ m_subtype = 0;
+ m_has_subtype = false;
+ }
+
+ private:
+ subtype_type m_subtype = 0;
+ bool m_has_subtype = false;
+};
+
+} // namespace nlohmann
+
+// #include <nlohmann/detail/conversions/from_json.hpp>
+
+// #include <nlohmann/detail/conversions/to_json.hpp>
+
+// #include <nlohmann/detail/exceptions.hpp>
+
+// #include <nlohmann/detail/hash.hpp>
+
+
+#include <cstdint> // uint8_t
+#include <cstddef> // size_t
+#include <functional> // hash
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+// #include <nlohmann/detail/value_t.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+
+// boost::hash_combine
+inline std::size_t combine(std::size_t seed, std::size_t h) noexcept
+{
+ seed ^= h + 0x9e3779b9 + (seed << 6U) + (seed >> 2U);
+ return seed;
+}
+
+/*!
+@brief hash a JSON value
+
+The hash function tries to rely on std::hash where possible. Furthermore, the
+type of the JSON value is taken into account to have different hash values for
+null, 0, 0U, and false, etc.
+
+@tparam BasicJsonType basic_json specialization
+@param j JSON value to hash
+@return hash value of j
+*/
+template<typename BasicJsonType>
+std::size_t hash(const BasicJsonType& j)
+{
+ using string_t = typename BasicJsonType::string_t;
+ using number_integer_t = typename BasicJsonType::number_integer_t;
+ using number_unsigned_t = typename BasicJsonType::number_unsigned_t;
+ using number_float_t = typename BasicJsonType::number_float_t;
+
+ const auto type = static_cast<std::size_t>(j.type());
+ switch (j.type())
+ {
+ case BasicJsonType::value_t::null:
+ case BasicJsonType::value_t::discarded:
+ {
+ return combine(type, 0);
+ }
+
+ case BasicJsonType::value_t::object:
+ {
+ auto seed = combine(type, j.size());
+ for (const auto& element : j.items())
+ {
+ const auto h = std::hash<string_t> {}(element.key());
+ seed = combine(seed, h);
+ seed = combine(seed, hash(element.value()));
+ }
+ return seed;
+ }
+
+ case BasicJsonType::value_t::array:
+ {
+ auto seed = combine(type, j.size());
+ for (const auto& element : j)
+ {
+ seed = combine(seed, hash(element));
+ }
+ return seed;
+ }
+
+ case BasicJsonType::value_t::string:
+ {
+ const auto h = std::hash<string_t> {}(j.template get_ref<const string_t&>());
+ return combine(type, h);
+ }
+
+ case BasicJsonType::value_t::boolean:
+ {
+ const auto h = std::hash<bool> {}(j.template get<bool>());
+ return combine(type, h);
+ }
+
+ case BasicJsonType::value_t::number_integer:
+ {
+ const auto h = std::hash<number_integer_t> {}(j.template get<number_integer_t>());
+ return combine(type, h);
+ }
+
+ case BasicJsonType::value_t::number_unsigned:
+ {
+ const auto h = std::hash<number_unsigned_t> {}(j.template get<number_unsigned_t>());
+ return combine(type, h);
+ }
+
+ case BasicJsonType::value_t::number_float:
+ {
+ const auto h = std::hash<number_float_t> {}(j.template get<number_float_t>());
+ return combine(type, h);
+ }
+
+ case BasicJsonType::value_t::binary:
+ {
+ auto seed = combine(type, j.get_binary().size());
+ const auto h = std::hash<bool> {}(j.get_binary().has_subtype());
+ seed = combine(seed, h);
+ seed = combine(seed, static_cast<std::size_t>(j.get_binary().subtype()));
+ for (const auto byte : j.get_binary())
+ {
+ seed = combine(seed, std::hash<std::uint8_t> {}(byte));
+ }
+ return seed;
+ }
+
+ default: // LCOV_EXCL_LINE
+ JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
+ return 0; // LCOV_EXCL_LINE
+ }
+}
+
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/input/binary_reader.hpp>
+
+
+#include <algorithm> // generate_n
+#include <array> // array
+#include <cmath> // ldexp
+#include <cstddef> // size_t
+#include <cstdint> // uint8_t, uint16_t, uint32_t, uint64_t
+#include <cstdio> // snprintf
+#include <cstring> // memcpy
+#include <iterator> // back_inserter
+#include <limits> // numeric_limits
+#include <string> // char_traits, string
+#include <utility> // make_pair, move
+#include <vector> // vector
+
+// #include <nlohmann/detail/exceptions.hpp>
+
+// #include <nlohmann/detail/input/input_adapters.hpp>
+
+
+#include <array> // array
+#include <cstddef> // size_t
+#include <cstring> // strlen
+#include <iterator> // begin, end, iterator_traits, random_access_iterator_tag, distance, next
+#include <memory> // shared_ptr, make_shared, addressof
+#include <numeric> // accumulate
+#include <string> // string, char_traits
+#include <type_traits> // enable_if, is_base_of, is_pointer, is_integral, remove_pointer
+#include <utility> // pair, declval
+
+#ifndef JSON_NO_IO
+ #include <cstdio> // FILE *
+ #include <istream> // istream
+#endif // JSON_NO_IO
+
+// #include <nlohmann/detail/iterators/iterator_traits.hpp>
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+/// the supported input formats
+enum class input_format_t { json, cbor, msgpack, ubjson, bson };
+
+////////////////////
+// input adapters //
+////////////////////
+
+#ifndef JSON_NO_IO
+/*!
+Input adapter for stdio file access. This adapter read only 1 byte and do not use any
+ buffer. This adapter is a very low level adapter.
+*/
+class file_input_adapter
+{
+ public:
+ using char_type = char;
+
+ JSON_HEDLEY_NON_NULL(2)
+ explicit file_input_adapter(std::FILE* f) noexcept
+ : m_file(f)
+ {}
+
+ // make class move-only
+ file_input_adapter(const file_input_adapter&) = delete;
+ file_input_adapter(file_input_adapter&&) noexcept = default;
+ file_input_adapter& operator=(const file_input_adapter&) = delete;
+ file_input_adapter& operator=(file_input_adapter&&) = delete;
+ ~file_input_adapter() = default;
+
+ std::char_traits<char>::int_type get_character() noexcept
+ {
+ return std::fgetc(m_file);
+ }
+
+ private:
+ /// the file pointer to read from
+ std::FILE* m_file;
+};
+
+
+/*!
+Input adapter for a (caching) istream. Ignores a UFT Byte Order Mark at
+beginning of input. Does not support changing the underlying std::streambuf
+in mid-input. Maintains underlying std::istream and std::streambuf to support
+subsequent use of standard std::istream operations to process any input
+characters following those used in parsing the JSON input. Clears the
+std::istream flags; any input errors (e.g., EOF) will be detected by the first
+subsequent call for input from the std::istream.
+*/
+class input_stream_adapter
+{
+ public:
+ using char_type = char;
+
+ ~input_stream_adapter()
+ {
+ // clear stream flags; we use underlying streambuf I/O, do not
+ // maintain ifstream flags, except eof
+ if (is != nullptr)
+ {
+ is->clear(is->rdstate() & std::ios::eofbit);
+ }
+ }
+
+ explicit input_stream_adapter(std::istream& i)
+ : is(&i), sb(i.rdbuf())
+ {}
+
+ // delete because of pointer members
+ input_stream_adapter(const input_stream_adapter&) = delete;
+ input_stream_adapter& operator=(input_stream_adapter&) = delete;
+ input_stream_adapter& operator=(input_stream_adapter&&) = delete;
+
+ input_stream_adapter(input_stream_adapter&& rhs) noexcept
+ : is(rhs.is), sb(rhs.sb)
+ {
+ rhs.is = nullptr;
+ rhs.sb = nullptr;
+ }
+
+ // std::istream/std::streambuf use std::char_traits<char>::to_int_type, to
+ // ensure that std::char_traits<char>::eof() and the character 0xFF do not
+ // end up as the same value, e.g. 0xFFFFFFFF.
+ std::char_traits<char>::int_type get_character()
+ {
+ auto res = sb->sbumpc();
+ // set eof manually, as we don't use the istream interface.
+ if (JSON_HEDLEY_UNLIKELY(res == std::char_traits<char>::eof()))
+ {
+ is->clear(is->rdstate() | std::ios::eofbit);
+ }
+ return res;
+ }
+
+ private:
+ /// the associated input stream
+ std::istream* is = nullptr;
+ std::streambuf* sb = nullptr;
+};
+#endif // JSON_NO_IO
+
+// General-purpose iterator-based adapter. It might not be as fast as
+// theoretically possible for some containers, but it is extremely versatile.
+template<typename IteratorType>
+class iterator_input_adapter
+{
+ public:
+ using char_type = typename std::iterator_traits<IteratorType>::value_type;
+
+ iterator_input_adapter(IteratorType first, IteratorType last)
+ : current(std::move(first)), end(std::move(last))
+ {}
+
+ typename std::char_traits<char_type>::int_type get_character()
+ {
+ if (JSON_HEDLEY_LIKELY(current != end))
+ {
+ auto result = std::char_traits<char_type>::to_int_type(*current);
+ std::advance(current, 1);
+ return result;
+ }
+
+ return std::char_traits<char_type>::eof();
+ }
+
+ private:
+ IteratorType current;
+ IteratorType end;
+
+ template<typename BaseInputAdapter, size_t T>
+ friend struct wide_string_input_helper;
+
+ bool empty() const
+ {
+ return current == end;
+ }
+};
+
+
+template<typename BaseInputAdapter, size_t T>
+struct wide_string_input_helper;
+
+template<typename BaseInputAdapter>
+struct wide_string_input_helper<BaseInputAdapter, 4>
+{
+ // UTF-32
+ static void fill_buffer(BaseInputAdapter& input,
+ std::array<std::char_traits<char>::int_type, 4>& utf8_bytes,
+ size_t& utf8_bytes_index,
+ size_t& utf8_bytes_filled)
+ {
+ utf8_bytes_index = 0;
+
+ if (JSON_HEDLEY_UNLIKELY(input.empty()))
+ {
+ utf8_bytes[0] = std::char_traits<char>::eof();
+ utf8_bytes_filled = 1;
+ }
+ else
+ {
+ // get the current character
+ const auto wc = input.get_character();
+
+ // UTF-32 to UTF-8 encoding
+ if (wc < 0x80)
+ {
+ utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(wc);
+ utf8_bytes_filled = 1;
+ }
+ else if (wc <= 0x7FF)
+ {
+ utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xC0u | ((static_cast<unsigned int>(wc) >> 6u) & 0x1Fu));
+ utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | (static_cast<unsigned int>(wc) & 0x3Fu));
+ utf8_bytes_filled = 2;
+ }
+ else if (wc <= 0xFFFF)
+ {
+ utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xE0u | ((static_cast<unsigned int>(wc) >> 12u) & 0x0Fu));
+ utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | ((static_cast<unsigned int>(wc) >> 6u) & 0x3Fu));
+ utf8_bytes[2] = static_cast<std::char_traits<char>::int_type>(0x80u | (static_cast<unsigned int>(wc) & 0x3Fu));
+ utf8_bytes_filled = 3;
+ }
+ else if (wc <= 0x10FFFF)
+ {
+ utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xF0u | ((static_cast<unsigned int>(wc) >> 18u) & 0x07u));
+ utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | ((static_cast<unsigned int>(wc) >> 12u) & 0x3Fu));
+ utf8_bytes[2] = static_cast<std::char_traits<char>::int_type>(0x80u | ((static_cast<unsigned int>(wc) >> 6u) & 0x3Fu));
+ utf8_bytes[3] = static_cast<std::char_traits<char>::int_type>(0x80u | (static_cast<unsigned int>(wc) & 0x3Fu));
+ utf8_bytes_filled = 4;
+ }
+ else
+ {
+ // unknown character
+ utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(wc);
+ utf8_bytes_filled = 1;
+ }
+ }
+ }
+};
+
+template<typename BaseInputAdapter>
+struct wide_string_input_helper<BaseInputAdapter, 2>
+{
+ // UTF-16
+ static void fill_buffer(BaseInputAdapter& input,
+ std::array<std::char_traits<char>::int_type, 4>& utf8_bytes,
+ size_t& utf8_bytes_index,
+ size_t& utf8_bytes_filled)
+ {
+ utf8_bytes_index = 0;
+
+ if (JSON_HEDLEY_UNLIKELY(input.empty()))
+ {
+ utf8_bytes[0] = std::char_traits<char>::eof();
+ utf8_bytes_filled = 1;
+ }
+ else
+ {
+ // get the current character
+ const auto wc = input.get_character();
+
+ // UTF-16 to UTF-8 encoding
+ if (wc < 0x80)
+ {
+ utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(wc);
+ utf8_bytes_filled = 1;
+ }
+ else if (wc <= 0x7FF)
+ {
+ utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xC0u | ((static_cast<unsigned int>(wc) >> 6u)));
+ utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | (static_cast<unsigned int>(wc) & 0x3Fu));
+ utf8_bytes_filled = 2;
+ }
+ else if (0xD800 > wc || wc >= 0xE000)
+ {
+ utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xE0u | ((static_cast<unsigned int>(wc) >> 12u)));
+ utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | ((static_cast<unsigned int>(wc) >> 6u) & 0x3Fu));
+ utf8_bytes[2] = static_cast<std::char_traits<char>::int_type>(0x80u | (static_cast<unsigned int>(wc) & 0x3Fu));
+ utf8_bytes_filled = 3;
+ }
+ else
+ {
+ if (JSON_HEDLEY_UNLIKELY(!input.empty()))
+ {
+ const auto wc2 = static_cast<unsigned int>(input.get_character());
+ const auto charcode = 0x10000u + (((static_cast<unsigned int>(wc) & 0x3FFu) << 10u) | (wc2 & 0x3FFu));
+ utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(0xF0u | (charcode >> 18u));
+ utf8_bytes[1] = static_cast<std::char_traits<char>::int_type>(0x80u | ((charcode >> 12u) & 0x3Fu));
+ utf8_bytes[2] = static_cast<std::char_traits<char>::int_type>(0x80u | ((charcode >> 6u) & 0x3Fu));
+ utf8_bytes[3] = static_cast<std::char_traits<char>::int_type>(0x80u | (charcode & 0x3Fu));
+ utf8_bytes_filled = 4;
+ }
+ else
+ {
+ utf8_bytes[0] = static_cast<std::char_traits<char>::int_type>(wc);
+ utf8_bytes_filled = 1;
+ }
+ }
+ }
+ }
+};
+
+// Wraps another input apdater to convert wide character types into individual bytes.
+template<typename BaseInputAdapter, typename WideCharType>
+class wide_string_input_adapter
+{
+ public:
+ using char_type = char;
+
+ wide_string_input_adapter(BaseInputAdapter base)
+ : base_adapter(base) {}
+
+ typename std::char_traits<char>::int_type get_character() noexcept
+ {
+ // check if buffer needs to be filled
+ if (utf8_bytes_index == utf8_bytes_filled)
+ {
+ fill_buffer<sizeof(WideCharType)>();
+
+ JSON_ASSERT(utf8_bytes_filled > 0);
+ JSON_ASSERT(utf8_bytes_index == 0);
+ }
+
+ // use buffer
+ JSON_ASSERT(utf8_bytes_filled > 0);
+ JSON_ASSERT(utf8_bytes_index < utf8_bytes_filled);
+ return utf8_bytes[utf8_bytes_index++];
+ }
+
+ private:
+ BaseInputAdapter base_adapter;
+
+ template<size_t T>
+ void fill_buffer()
+ {
+ wide_string_input_helper<BaseInputAdapter, T>::fill_buffer(base_adapter, utf8_bytes, utf8_bytes_index, utf8_bytes_filled);
+ }
+
+ /// a buffer for UTF-8 bytes
+ std::array<std::char_traits<char>::int_type, 4> utf8_bytes = {{0, 0, 0, 0}};
+
+ /// index to the utf8_codes array for the next valid byte
+ std::size_t utf8_bytes_index = 0;
+ /// number of valid bytes in the utf8_codes array
+ std::size_t utf8_bytes_filled = 0;
+};
+
+
+template<typename IteratorType, typename Enable = void>
+struct iterator_input_adapter_factory
+{
+ using iterator_type = IteratorType;
+ using char_type = typename std::iterator_traits<iterator_type>::value_type;
+ using adapter_type = iterator_input_adapter<iterator_type>;
+
+ static adapter_type create(IteratorType first, IteratorType last)
+ {
+ return adapter_type(std::move(first), std::move(last));
+ }
+};
+
+template<typename T>
+struct is_iterator_of_multibyte
+{
+ using value_type = typename std::iterator_traits<T>::value_type;
+ enum
+ {
+ value = sizeof(value_type) > 1
+ };
+};
+
+template<typename IteratorType>
+struct iterator_input_adapter_factory<IteratorType, enable_if_t<is_iterator_of_multibyte<IteratorType>::value>>
+{
+ using iterator_type = IteratorType;
+ using char_type = typename std::iterator_traits<iterator_type>::value_type;
+ using base_adapter_type = iterator_input_adapter<iterator_type>;
+ using adapter_type = wide_string_input_adapter<base_adapter_type, char_type>;
+
+ static adapter_type create(IteratorType first, IteratorType last)
+ {
+ return adapter_type(base_adapter_type(std::move(first), std::move(last)));
+ }
+};
+
+// General purpose iterator-based input
+template<typename IteratorType>
+typename iterator_input_adapter_factory<IteratorType>::adapter_type input_adapter(IteratorType first, IteratorType last)
+{
+ using factory_type = iterator_input_adapter_factory<IteratorType>;
+ return factory_type::create(first, last);
+}
+
+// Convenience shorthand from container to iterator
+// Enables ADL on begin(container) and end(container)
+// Encloses the using declarations in namespace for not to leak them to outside scope
+
+namespace container_input_adapter_factory_impl
+{
+
+using std::begin;
+using std::end;
+
+template<typename ContainerType, typename Enable = void>
+struct container_input_adapter_factory {};
+
+template<typename ContainerType>
+struct container_input_adapter_factory< ContainerType,
+ void_t<decltype(begin(std::declval<ContainerType>()), end(std::declval<ContainerType>()))>>
+ {
+ using adapter_type = decltype(input_adapter(begin(std::declval<ContainerType>()), end(std::declval<ContainerType>())));
+
+ static adapter_type create(const ContainerType& container)
+{
+ return input_adapter(begin(container), end(container));
+}
+ };
+
+} // namespace container_input_adapter_factory_impl
+
+template<typename ContainerType>
+typename container_input_adapter_factory_impl::container_input_adapter_factory<ContainerType>::adapter_type input_adapter(const ContainerType& container)
+{
+ return container_input_adapter_factory_impl::container_input_adapter_factory<ContainerType>::create(container);
+}
+
+#ifndef JSON_NO_IO
+// Special cases with fast paths
+inline file_input_adapter input_adapter(std::FILE* file)
+{
+ return file_input_adapter(file);
+}
+
+inline input_stream_adapter input_adapter(std::istream& stream)
+{
+ return input_stream_adapter(stream);
+}
+
+inline input_stream_adapter input_adapter(std::istream&& stream)
+{
+ return input_stream_adapter(stream);
+}
+#endif // JSON_NO_IO
+
+using contiguous_bytes_input_adapter = decltype(input_adapter(std::declval<const char*>(), std::declval<const char*>()));
+
+// Null-delimited strings, and the like.
+template < typename CharT,
+ typename std::enable_if <
+ std::is_pointer<CharT>::value&&
+ !std::is_array<CharT>::value&&
+ std::is_integral<typename std::remove_pointer<CharT>::type>::value&&
+ sizeof(typename std::remove_pointer<CharT>::type) == 1,
+ int >::type = 0 >
+contiguous_bytes_input_adapter input_adapter(CharT b)
+{
+ auto length = std::strlen(reinterpret_cast<const char*>(b));
+ const auto* ptr = reinterpret_cast<const char*>(b);
+ return input_adapter(ptr, ptr + length);
+}
+
+template<typename T, std::size_t N>
+auto input_adapter(T (&array)[N]) -> decltype(input_adapter(array, array + N)) // NOLINT(cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays)
+{
+ return input_adapter(array, array + N);
+}
+
+// This class only handles inputs of input_buffer_adapter type.
+// It's required so that expressions like {ptr, len} can be implicitly cast
+// to the correct adapter.
+class span_input_adapter
+{
+ public:
+ template < typename CharT,
+ typename std::enable_if <
+ std::is_pointer<CharT>::value&&
+ std::is_integral<typename std::remove_pointer<CharT>::type>::value&&
+ sizeof(typename std::remove_pointer<CharT>::type) == 1,
+ int >::type = 0 >
+ span_input_adapter(CharT b, std::size_t l)
+ : ia(reinterpret_cast<const char*>(b), reinterpret_cast<const char*>(b) + l) {}
+
+ template<class IteratorType,
+ typename std::enable_if<
+ std::is_same<typename iterator_traits<IteratorType>::iterator_category, std::random_access_iterator_tag>::value,
+ int>::type = 0>
+ span_input_adapter(IteratorType first, IteratorType last)
+ : ia(input_adapter(first, last)) {}
+
+ contiguous_bytes_input_adapter&& get()
+ {
+ return std::move(ia); // NOLINT(hicpp-move-const-arg,performance-move-const-arg)
+ }
+
+ private:
+ contiguous_bytes_input_adapter ia;
+};
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/input/json_sax.hpp>
+
+
+#include <cstddef>
+#include <string> // string
+#include <utility> // move
+#include <vector> // vector
+
+// #include <nlohmann/detail/exceptions.hpp>
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+
+namespace nlohmann
+{
+
+/*!
+@brief SAX interface
+
+This class describes the SAX interface used by @ref nlohmann::json::sax_parse.
+Each function is called in different situations while the input is parsed. The
+boolean return value informs the parser whether to continue processing the
+input.
+*/
+template<typename BasicJsonType>
+struct json_sax
+{
+ using number_integer_t = typename BasicJsonType::number_integer_t;
+ using number_unsigned_t = typename BasicJsonType::number_unsigned_t;
+ using number_float_t = typename BasicJsonType::number_float_t;
+ using string_t = typename BasicJsonType::string_t;
+ using binary_t = typename BasicJsonType::binary_t;
+
+ /*!
+ @brief a null value was read
+ @return whether parsing should proceed
+ */
+ virtual bool null() = 0;
+
+ /*!
+ @brief a boolean value was read
+ @param[in] val boolean value
+ @return whether parsing should proceed
+ */
+ virtual bool boolean(bool val) = 0;
+
+ /*!
+ @brief an integer number was read
+ @param[in] val integer value
+ @return whether parsing should proceed
+ */
+ virtual bool number_integer(number_integer_t val) = 0;
+
+ /*!
+ @brief an unsigned integer number was read
+ @param[in] val unsigned integer value
+ @return whether parsing should proceed
+ */
+ virtual bool number_unsigned(number_unsigned_t val) = 0;
+
+ /*!
+ @brief a floating-point number was read
+ @param[in] val floating-point value
+ @param[in] s raw token value
+ @return whether parsing should proceed
+ */
+ virtual bool number_float(number_float_t val, const string_t& s) = 0;
+
+ /*!
+ @brief a string value was read
+ @param[in] val string value
+ @return whether parsing should proceed
+ @note It is safe to move the passed string value.
+ */
+ virtual bool string(string_t& val) = 0;
+
+ /*!
+ @brief a binary value was read
+ @param[in] val binary value
+ @return whether parsing should proceed
+ @note It is safe to move the passed binary value.
+ */
+ virtual bool binary(binary_t& val) = 0;
+
+ /*!
+ @brief the beginning of an object was read
+ @param[in] elements number of object elements or -1 if unknown
+ @return whether parsing should proceed
+ @note binary formats may report the number of elements
+ */
+ virtual bool start_object(std::size_t elements) = 0;
+
+ /*!
+ @brief an object key was read
+ @param[in] val object key
+ @return whether parsing should proceed
+ @note It is safe to move the passed string.
+ */
+ virtual bool key(string_t& val) = 0;
+
+ /*!
+ @brief the end of an object was read
+ @return whether parsing should proceed
+ */
+ virtual bool end_object() = 0;
+
+ /*!
+ @brief the beginning of an array was read
+ @param[in] elements number of array elements or -1 if unknown
+ @return whether parsing should proceed
+ @note binary formats may report the number of elements
+ */
+ virtual bool start_array(std::size_t elements) = 0;
+
+ /*!
+ @brief the end of an array was read
+ @return whether parsing should proceed
+ */
+ virtual bool end_array() = 0;
+
+ /*!
+ @brief a parse error occurred
+ @param[in] position the position in the input where the error occurs
+ @param[in] last_token the last read token
+ @param[in] ex an exception object describing the error
+ @return whether parsing should proceed (must return false)
+ */
+ virtual bool parse_error(std::size_t position,
+ const std::string& last_token,
+ const detail::exception& ex) = 0;
+
+ json_sax() = default;
+ json_sax(const json_sax&) = default;
+ json_sax(json_sax&&) noexcept = default;
+ json_sax& operator=(const json_sax&) = default;
+ json_sax& operator=(json_sax&&) noexcept = default;
+ virtual ~json_sax() = default;
+};
+
+
+namespace detail
+{
+/*!
+@brief SAX implementation to create a JSON value from SAX events
+
+This class implements the @ref json_sax interface and processes the SAX events
+to create a JSON value which makes it basically a DOM parser. The structure or
+hierarchy of the JSON value is managed by the stack `ref_stack` which contains
+a pointer to the respective array or object for each recursion depth.
+
+After successful parsing, the value that is passed by reference to the
+constructor contains the parsed value.
+
+@tparam BasicJsonType the JSON type
+*/
+template<typename BasicJsonType>
+class json_sax_dom_parser
+{
+ public:
+ using number_integer_t = typename BasicJsonType::number_integer_t;
+ using number_unsigned_t = typename BasicJsonType::number_unsigned_t;
+ using number_float_t = typename BasicJsonType::number_float_t;
+ using string_t = typename BasicJsonType::string_t;
+ using binary_t = typename BasicJsonType::binary_t;
+
+ /*!
+ @param[in,out] r reference to a JSON value that is manipulated while
+ parsing
+ @param[in] allow_exceptions_ whether parse errors yield exceptions
+ */
+ explicit json_sax_dom_parser(BasicJsonType& r, const bool allow_exceptions_ = true)
+ : root(r), allow_exceptions(allow_exceptions_)
+ {}
+
+ // make class move-only
+ json_sax_dom_parser(const json_sax_dom_parser&) = delete;
+ json_sax_dom_parser(json_sax_dom_parser&&) = default; // NOLINT(hicpp-noexcept-move,performance-noexcept-move-constructor)
+ json_sax_dom_parser& operator=(const json_sax_dom_parser&) = delete;
+ json_sax_dom_parser& operator=(json_sax_dom_parser&&) = default; // NOLINT(hicpp-noexcept-move,performance-noexcept-move-constructor)
+ ~json_sax_dom_parser() = default;
+
+ bool null()
+ {
+ handle_value(nullptr);
+ return true;
+ }
+
+ bool boolean(bool val)
+ {
+ handle_value(val);
+ return true;
+ }
+
+ bool number_integer(number_integer_t val)
+ {
+ handle_value(val);
+ return true;
+ }
+
+ bool number_unsigned(number_unsigned_t val)
+ {
+ handle_value(val);
+ return true;
+ }
+
+ bool number_float(number_float_t val, const string_t& /*unused*/)
+ {
+ handle_value(val);
+ return true;
+ }
+
+ bool string(string_t& val)
+ {
+ handle_value(val);
+ return true;
+ }
+
+ bool binary(binary_t& val)
+ {
+ handle_value(std::move(val));
+ return true;
+ }
+
+ bool start_object(std::size_t len)
+ {
+ ref_stack.push_back(handle_value(BasicJsonType::value_t::object));
+
+ if (JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size()))
+ {
+ JSON_THROW(out_of_range::create(408, "excessive object size: " + std::to_string(len), *ref_stack.back()));
+ }
+
+ return true;
+ }
+
+ bool key(string_t& val)
+ {
+ // add null at given key and store the reference for later
+ object_element = &(ref_stack.back()->m_value.object->operator[](val));
+ return true;
+ }
+
+ bool end_object()
+ {
+ ref_stack.back()->set_parents();
+ ref_stack.pop_back();
+ return true;
+ }
+
+ bool start_array(std::size_t len)
+ {
+ ref_stack.push_back(handle_value(BasicJsonType::value_t::array));
+
+ if (JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size()))
+ {
+ JSON_THROW(out_of_range::create(408, "excessive array size: " + std::to_string(len), *ref_stack.back()));
+ }
+
+ return true;
+ }
+
+ bool end_array()
+ {
+ ref_stack.back()->set_parents();
+ ref_stack.pop_back();
+ return true;
+ }
+
+ template<class Exception>
+ bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/,
+ const Exception& ex)
+ {
+ errored = true;
+ static_cast<void>(ex);
+ if (allow_exceptions)
+ {
+ JSON_THROW(ex);
+ }
+ return false;
+ }
+
+ constexpr bool is_errored() const
+ {
+ return errored;
+ }
+
+ private:
+ /*!
+ @invariant If the ref stack is empty, then the passed value will be the new
+ root.
+ @invariant If the ref stack contains a value, then it is an array or an
+ object to which we can add elements
+ */
+ template<typename Value>
+ JSON_HEDLEY_RETURNS_NON_NULL
+ BasicJsonType* handle_value(Value&& v)
+ {
+ if (ref_stack.empty())
+ {
+ root = BasicJsonType(std::forward<Value>(v));
+ return &root;
+ }
+
+ JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
+
+ if (ref_stack.back()->is_array())
+ {
+ ref_stack.back()->m_value.array->emplace_back(std::forward<Value>(v));
+ return &(ref_stack.back()->m_value.array->back());
+ }
+
+ JSON_ASSERT(ref_stack.back()->is_object());
+ JSON_ASSERT(object_element);
+ *object_element = BasicJsonType(std::forward<Value>(v));
+ return object_element;
+ }
+
+ /// the parsed JSON value
+ BasicJsonType& root;
+ /// stack to model hierarchy of values
+ std::vector<BasicJsonType*> ref_stack {};
+ /// helper to hold the reference for the next object element
+ BasicJsonType* object_element = nullptr;
+ /// whether a syntax error occurred
+ bool errored = false;
+ /// whether to throw exceptions in case of errors
+ const bool allow_exceptions = true;
+};
+
+template<typename BasicJsonType>
+class json_sax_dom_callback_parser
+{
+ public:
+ using number_integer_t = typename BasicJsonType::number_integer_t;
+ using number_unsigned_t = typename BasicJsonType::number_unsigned_t;
+ using number_float_t = typename BasicJsonType::number_float_t;
+ using string_t = typename BasicJsonType::string_t;
+ using binary_t = typename BasicJsonType::binary_t;
+ using parser_callback_t = typename BasicJsonType::parser_callback_t;
+ using parse_event_t = typename BasicJsonType::parse_event_t;
+
+ json_sax_dom_callback_parser(BasicJsonType& r,
+ const parser_callback_t cb,
+ const bool allow_exceptions_ = true)
+ : root(r), callback(cb), allow_exceptions(allow_exceptions_)
+ {
+ keep_stack.push_back(true);
+ }
+
+ // make class move-only
+ json_sax_dom_callback_parser(const json_sax_dom_callback_parser&) = delete;
+ json_sax_dom_callback_parser(json_sax_dom_callback_parser&&) = default; // NOLINT(hicpp-noexcept-move,performance-noexcept-move-constructor)
+ json_sax_dom_callback_parser& operator=(const json_sax_dom_callback_parser&) = delete;
+ json_sax_dom_callback_parser& operator=(json_sax_dom_callback_parser&&) = default; // NOLINT(hicpp-noexcept-move,performance-noexcept-move-constructor)
+ ~json_sax_dom_callback_parser() = default;
+
+ bool null()
+ {
+ handle_value(nullptr);
+ return true;
+ }
+
+ bool boolean(bool val)
+ {
+ handle_value(val);
+ return true;
+ }
+
+ bool number_integer(number_integer_t val)
+ {
+ handle_value(val);
+ return true;
+ }
+
+ bool number_unsigned(number_unsigned_t val)
+ {
+ handle_value(val);
+ return true;
+ }
+
+ bool number_float(number_float_t val, const string_t& /*unused*/)
+ {
+ handle_value(val);
+ return true;
+ }
+
+ bool string(string_t& val)
+ {
+ handle_value(val);
+ return true;
+ }
+
+ bool binary(binary_t& val)
+ {
+ handle_value(std::move(val));
+ return true;
+ }
+
+ bool start_object(std::size_t len)
+ {
+ // check callback for object start
+ const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::object_start, discarded);
+ keep_stack.push_back(keep);
+
+ auto val = handle_value(BasicJsonType::value_t::object, true);
+ ref_stack.push_back(val.second);
+
+ // check object limit
+ if (ref_stack.back() && JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size()))
+ {
+ JSON_THROW(out_of_range::create(408, "excessive object size: " + std::to_string(len), *ref_stack.back()));
+ }
+
+ return true;
+ }
+
+ bool key(string_t& val)
+ {
+ BasicJsonType k = BasicJsonType(val);
+
+ // check callback for key
+ const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::key, k);
+ key_keep_stack.push_back(keep);
+
+ // add discarded value at given key and store the reference for later
+ if (keep && ref_stack.back())
+ {
+ object_element = &(ref_stack.back()->m_value.object->operator[](val) = discarded);
+ }
+
+ return true;
+ }
+
+ bool end_object()
+ {
+ if (ref_stack.back())
+ {
+ if (!callback(static_cast<int>(ref_stack.size()) - 1, parse_event_t::object_end, *ref_stack.back()))
+ {
+ // discard object
+ *ref_stack.back() = discarded;
+ }
+ else
+ {
+ ref_stack.back()->set_parents();
+ }
+ }
+
+ JSON_ASSERT(!ref_stack.empty());
+ JSON_ASSERT(!keep_stack.empty());
+ ref_stack.pop_back();
+ keep_stack.pop_back();
+
+ if (!ref_stack.empty() && ref_stack.back() && ref_stack.back()->is_structured())
+ {
+ // remove discarded value
+ for (auto it = ref_stack.back()->begin(); it != ref_stack.back()->end(); ++it)
+ {
+ if (it->is_discarded())
+ {
+ ref_stack.back()->erase(it);
+ break;
+ }
+ }
+ }
+
+ return true;
+ }
+
+ bool start_array(std::size_t len)
+ {
+ const bool keep = callback(static_cast<int>(ref_stack.size()), parse_event_t::array_start, discarded);
+ keep_stack.push_back(keep);
+
+ auto val = handle_value(BasicJsonType::value_t::array, true);
+ ref_stack.push_back(val.second);
+
+ // check array limit
+ if (ref_stack.back() && JSON_HEDLEY_UNLIKELY(len != static_cast<std::size_t>(-1) && len > ref_stack.back()->max_size()))
+ {
+ JSON_THROW(out_of_range::create(408, "excessive array size: " + std::to_string(len), *ref_stack.back()));
+ }
+
+ return true;
+ }
+
+ bool end_array()
+ {
+ bool keep = true;
+
+ if (ref_stack.back())
+ {
+ keep = callback(static_cast<int>(ref_stack.size()) - 1, parse_event_t::array_end, *ref_stack.back());
+ if (keep)
+ {
+ ref_stack.back()->set_parents();
+ }
+ else
+ {
+ // discard array
+ *ref_stack.back() = discarded;
+ }
+ }
+
+ JSON_ASSERT(!ref_stack.empty());
+ JSON_ASSERT(!keep_stack.empty());
+ ref_stack.pop_back();
+ keep_stack.pop_back();
+
+ // remove discarded value
+ if (!keep && !ref_stack.empty() && ref_stack.back()->is_array())
+ {
+ ref_stack.back()->m_value.array->pop_back();
+ }
+
+ return true;
+ }
+
+ template<class Exception>
+ bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/,
+ const Exception& ex)
+ {
+ errored = true;
+ static_cast<void>(ex);
+ if (allow_exceptions)
+ {
+ JSON_THROW(ex);
+ }
+ return false;
+ }
+
+ constexpr bool is_errored() const
+ {
+ return errored;
+ }
+
+ private:
+ /*!
+ @param[in] v value to add to the JSON value we build during parsing
+ @param[in] skip_callback whether we should skip calling the callback
+ function; this is required after start_array() and
+ start_object() SAX events, because otherwise we would call the
+ callback function with an empty array or object, respectively.
+
+ @invariant If the ref stack is empty, then the passed value will be the new
+ root.
+ @invariant If the ref stack contains a value, then it is an array or an
+ object to which we can add elements
+
+ @return pair of boolean (whether value should be kept) and pointer (to the
+ passed value in the ref_stack hierarchy; nullptr if not kept)
+ */
+ template<typename Value>
+ std::pair<bool, BasicJsonType*> handle_value(Value&& v, const bool skip_callback = false)
+ {
+ JSON_ASSERT(!keep_stack.empty());
+
+ // do not handle this value if we know it would be added to a discarded
+ // container
+ if (!keep_stack.back())
+ {
+ return {false, nullptr};
+ }
+
+ // create value
+ auto value = BasicJsonType(std::forward<Value>(v));
+
+ // check callback
+ const bool keep = skip_callback || callback(static_cast<int>(ref_stack.size()), parse_event_t::value, value);
+
+ // do not handle this value if we just learnt it shall be discarded
+ if (!keep)
+ {
+ return {false, nullptr};
+ }
+
+ if (ref_stack.empty())
+ {
+ root = std::move(value);
+ return {true, &root};
+ }
+
+ // skip this value if we already decided to skip the parent
+ // (https://github.com/nlohmann/json/issues/971#issuecomment-413678360)
+ if (!ref_stack.back())
+ {
+ return {false, nullptr};
+ }
+
+ // we now only expect arrays and objects
+ JSON_ASSERT(ref_stack.back()->is_array() || ref_stack.back()->is_object());
+
+ // array
+ if (ref_stack.back()->is_array())
+ {
+ ref_stack.back()->m_value.array->emplace_back(std::move(value));
+ return {true, &(ref_stack.back()->m_value.array->back())};
+ }
+
+ // object
+ JSON_ASSERT(ref_stack.back()->is_object());
+ // check if we should store an element for the current key
+ JSON_ASSERT(!key_keep_stack.empty());
+ const bool store_element = key_keep_stack.back();
+ key_keep_stack.pop_back();
+
+ if (!store_element)
+ {
+ return {false, nullptr};
+ }
+
+ JSON_ASSERT(object_element);
+ *object_element = std::move(value);
+ return {true, object_element};
+ }
+
+ /// the parsed JSON value
+ BasicJsonType& root;
+ /// stack to model hierarchy of values
+ std::vector<BasicJsonType*> ref_stack {};
+ /// stack to manage which values to keep
+ std::vector<bool> keep_stack {};
+ /// stack to manage which object keys to keep
+ std::vector<bool> key_keep_stack {};
+ /// helper to hold the reference for the next object element
+ BasicJsonType* object_element = nullptr;
+ /// whether a syntax error occurred
+ bool errored = false;
+ /// callback function
+ const parser_callback_t callback = nullptr;
+ /// whether to throw exceptions in case of errors
+ const bool allow_exceptions = true;
+ /// a discarded value for the callback
+ BasicJsonType discarded = BasicJsonType::value_t::discarded;
+};
+
+template<typename BasicJsonType>
+class json_sax_acceptor
+{
+ public:
+ using number_integer_t = typename BasicJsonType::number_integer_t;
+ using number_unsigned_t = typename BasicJsonType::number_unsigned_t;
+ using number_float_t = typename BasicJsonType::number_float_t;
+ using string_t = typename BasicJsonType::string_t;
+ using binary_t = typename BasicJsonType::binary_t;
+
+ bool null()
+ {
+ return true;
+ }
+
+ bool boolean(bool /*unused*/)
+ {
+ return true;
+ }
+
+ bool number_integer(number_integer_t /*unused*/)
+ {
+ return true;
+ }
+
+ bool number_unsigned(number_unsigned_t /*unused*/)
+ {
+ return true;
+ }
+
+ bool number_float(number_float_t /*unused*/, const string_t& /*unused*/)
+ {
+ return true;
+ }
+
+ bool string(string_t& /*unused*/)
+ {
+ return true;
+ }
+
+ bool binary(binary_t& /*unused*/)
+ {
+ return true;
+ }
+
+ bool start_object(std::size_t /*unused*/ = static_cast<std::size_t>(-1))
+ {
+ return true;
+ }
+
+ bool key(string_t& /*unused*/)
+ {
+ return true;
+ }
+
+ bool end_object()
+ {
+ return true;
+ }
+
+ bool start_array(std::size_t /*unused*/ = static_cast<std::size_t>(-1))
+ {
+ return true;
+ }
+
+ bool end_array()
+ {
+ return true;
+ }
+
+ bool parse_error(std::size_t /*unused*/, const std::string& /*unused*/, const detail::exception& /*unused*/)
+ {
+ return false;
+ }
+};
+} // namespace detail
+
+} // namespace nlohmann
+
+// #include <nlohmann/detail/input/lexer.hpp>
+
+
+#include <array> // array
+#include <clocale> // localeconv
+#include <cstddef> // size_t
+#include <cstdio> // snprintf
+#include <cstdlib> // strtof, strtod, strtold, strtoll, strtoull
+#include <initializer_list> // initializer_list
+#include <string> // char_traits, string
+#include <utility> // move
+#include <vector> // vector
+
+// #include <nlohmann/detail/input/input_adapters.hpp>
+
+// #include <nlohmann/detail/input/position_t.hpp>
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+///////////
+// lexer //
+///////////
+
+template<typename BasicJsonType>
+class lexer_base
+{
+ public:
+ /// token types for the parser
+ enum class token_type
+ {
+ uninitialized, ///< indicating the scanner is uninitialized
+ literal_true, ///< the `true` literal
+ literal_false, ///< the `false` literal
+ literal_null, ///< the `null` literal
+ value_string, ///< a string -- use get_string() for actual value
+ value_unsigned, ///< an unsigned integer -- use get_number_unsigned() for actual value
+ value_integer, ///< a signed integer -- use get_number_integer() for actual value
+ value_float, ///< an floating point number -- use get_number_float() for actual value
+ begin_array, ///< the character for array begin `[`
+ begin_object, ///< the character for object begin `{`
+ end_array, ///< the character for array end `]`
+ end_object, ///< the character for object end `}`
+ name_separator, ///< the name separator `:`
+ value_separator, ///< the value separator `,`
+ parse_error, ///< indicating a parse error
+ end_of_input, ///< indicating the end of the input buffer
+ literal_or_value ///< a literal or the begin of a value (only for diagnostics)
+ };
+
+ /// return name of values of type token_type (only used for errors)
+ JSON_HEDLEY_RETURNS_NON_NULL
+ JSON_HEDLEY_CONST
+ static const char* token_type_name(const token_type t) noexcept
+ {
+ switch (t)
+ {
+ case token_type::uninitialized:
+ return "<uninitialized>";
+ case token_type::literal_true:
+ return "true literal";
+ case token_type::literal_false:
+ return "false literal";
+ case token_type::literal_null:
+ return "null literal";
+ case token_type::value_string:
+ return "string literal";
+ case token_type::value_unsigned:
+ case token_type::value_integer:
+ case token_type::value_float:
+ return "number literal";
+ case token_type::begin_array:
+ return "'['";
+ case token_type::begin_object:
+ return "'{'";
+ case token_type::end_array:
+ return "']'";
+ case token_type::end_object:
+ return "'}'";
+ case token_type::name_separator:
+ return "':'";
+ case token_type::value_separator:
+ return "','";
+ case token_type::parse_error:
+ return "<parse error>";
+ case token_type::end_of_input:
+ return "end of input";
+ case token_type::literal_or_value:
+ return "'[', '{', or a literal";
+ // LCOV_EXCL_START
+ default: // catch non-enum values
+ return "unknown token";
+ // LCOV_EXCL_STOP
+ }
+ }
+};
+/*!
+@brief lexical analysis
+
+This class organizes the lexical analysis during JSON deserialization.
+*/
+template<typename BasicJsonType, typename InputAdapterType>
+class lexer : public lexer_base<BasicJsonType>
+{
+ using number_integer_t = typename BasicJsonType::number_integer_t;
+ using number_unsigned_t = typename BasicJsonType::number_unsigned_t;
+ using number_float_t = typename BasicJsonType::number_float_t;
+ using string_t = typename BasicJsonType::string_t;
+ using char_type = typename InputAdapterType::char_type;
+ using char_int_type = typename std::char_traits<char_type>::int_type;
+
+ public:
+ using token_type = typename lexer_base<BasicJsonType>::token_type;
+
+ explicit lexer(InputAdapterType&& adapter, bool ignore_comments_ = false) noexcept
+ : ia(std::move(adapter))
+ , ignore_comments(ignore_comments_)
+ , decimal_point_char(static_cast<char_int_type>(get_decimal_point()))
+ {}
+
+ // delete because of pointer members
+ lexer(const lexer&) = delete;
+ lexer(lexer&&) = default; // NOLINT(hicpp-noexcept-move,performance-noexcept-move-constructor)
+ lexer& operator=(lexer&) = delete;
+ lexer& operator=(lexer&&) = default; // NOLINT(hicpp-noexcept-move,performance-noexcept-move-constructor)
+ ~lexer() = default;
+
+ private:
+ /////////////////////
+ // locales
+ /////////////////////
+
+ /// return the locale-dependent decimal point
+ JSON_HEDLEY_PURE
+ static char get_decimal_point() noexcept
+ {
+ const auto* loc = localeconv();
+ JSON_ASSERT(loc != nullptr);
+ return (loc->decimal_point == nullptr) ? '.' : *(loc->decimal_point);
+ }
+
+ /////////////////////
+ // scan functions
+ /////////////////////
+
+ /*!
+ @brief get codepoint from 4 hex characters following `\u`
+
+ For input "\u c1 c2 c3 c4" the codepoint is:
+ (c1 * 0x1000) + (c2 * 0x0100) + (c3 * 0x0010) + c4
+ = (c1 << 12) + (c2 << 8) + (c3 << 4) + (c4 << 0)
+
+ Furthermore, the possible characters '0'..'9', 'A'..'F', and 'a'..'f'
+ must be converted to the integers 0x0..0x9, 0xA..0xF, 0xA..0xF, resp. The
+ conversion is done by subtracting the offset (0x30, 0x37, and 0x57)
+ between the ASCII value of the character and the desired integer value.
+
+ @return codepoint (0x0000..0xFFFF) or -1 in case of an error (e.g. EOF or
+ non-hex character)
+ */
+ int get_codepoint()
+ {
+ // this function only makes sense after reading `\u`
+ JSON_ASSERT(current == 'u');
+ int codepoint = 0;
+
+ const auto factors = { 12u, 8u, 4u, 0u };
+ for (const auto factor : factors)
+ {
+ get();
+
+ if (current >= '0' && current <= '9')
+ {
+ codepoint += static_cast<int>((static_cast<unsigned int>(current) - 0x30u) << factor);
+ }
+ else if (current >= 'A' && current <= 'F')
+ {
+ codepoint += static_cast<int>((static_cast<unsigned int>(current) - 0x37u) << factor);
+ }
+ else if (current >= 'a' && current <= 'f')
+ {
+ codepoint += static_cast<int>((static_cast<unsigned int>(current) - 0x57u) << factor);
+ }
+ else
+ {
+ return -1;
+ }
+ }
+
+ JSON_ASSERT(0x0000 <= codepoint && codepoint <= 0xFFFF);
+ return codepoint;
+ }
+
+ /*!
+ @brief check if the next byte(s) are inside a given range
+
+ Adds the current byte and, for each passed range, reads a new byte and
+ checks if it is inside the range. If a violation was detected, set up an
+ error message and return false. Otherwise, return true.
+
+ @param[in] ranges list of integers; interpreted as list of pairs of
+ inclusive lower and upper bound, respectively
+
+ @pre The passed list @a ranges must have 2, 4, or 6 elements; that is,
+ 1, 2, or 3 pairs. This precondition is enforced by an assertion.
+
+ @return true if and only if no range violation was detected
+ */
+ bool next_byte_in_range(std::initializer_list<char_int_type> ranges)
+ {
+ JSON_ASSERT(ranges.size() == 2 || ranges.size() == 4 || ranges.size() == 6);
+ add(current);
+
+ for (auto range = ranges.begin(); range != ranges.end(); ++range)
+ {
+ get();
+ if (JSON_HEDLEY_LIKELY(*range <= current && current <= *(++range)))
+ {
+ add(current);
+ }
+ else
+ {
+ error_message = "invalid string: ill-formed UTF-8 byte";
+ return false;
+ }
+ }
+
+ return true;
+ }
+
+ /*!
+ @brief scan a string literal
+
+ This function scans a string according to Sect. 7 of RFC 8259. While
+ scanning, bytes are escaped and copied into buffer token_buffer. Then the
+ function returns successfully, token_buffer is *not* null-terminated (as it
+ may contain \0 bytes), and token_buffer.size() is the number of bytes in the
+ string.
+
+ @return token_type::value_string if string could be successfully scanned,
+ token_type::parse_error otherwise
+
+ @note In case of errors, variable error_message contains a textual
+ description.
+ */
+ token_type scan_string()
+ {
+ // reset token_buffer (ignore opening quote)
+ reset();
+
+ // we entered the function by reading an open quote
+ JSON_ASSERT(current == '\"');
+
+ while (true)
+ {
+ // get next character
+ switch (get())
+ {
+ // end of file while parsing string
+ case std::char_traits<char_type>::eof():
+ {
+ error_message = "invalid string: missing closing quote";
+ return token_type::parse_error;
+ }
+
+ // closing quote
+ case '\"':
+ {
+ return token_type::value_string;
+ }
+
+ // escapes
+ case '\\':
+ {
+ switch (get())
+ {
+ // quotation mark
+ case '\"':
+ add('\"');
+ break;
+ // reverse solidus
+ case '\\':
+ add('\\');
+ break;
+ // solidus
+ case '/':
+ add('/');
+ break;
+ // backspace
+ case 'b':
+ add('\b');
+ break;
+ // form feed
+ case 'f':
+ add('\f');
+ break;
+ // line feed
+ case 'n':
+ add('\n');
+ break;
+ // carriage return
+ case 'r':
+ add('\r');
+ break;
+ // tab
+ case 't':
+ add('\t');
+ break;
+
+ // unicode escapes
+ case 'u':
+ {
+ const int codepoint1 = get_codepoint();
+ int codepoint = codepoint1; // start with codepoint1
+
+ if (JSON_HEDLEY_UNLIKELY(codepoint1 == -1))
+ {
+ error_message = "invalid string: '\\u' must be followed by 4 hex digits";
+ return token_type::parse_error;
+ }
+
+ // check if code point is a high surrogate
+ if (0xD800 <= codepoint1 && codepoint1 <= 0xDBFF)
+ {
+ // expect next \uxxxx entry
+ if (JSON_HEDLEY_LIKELY(get() == '\\' && get() == 'u'))
+ {
+ const int codepoint2 = get_codepoint();
+
+ if (JSON_HEDLEY_UNLIKELY(codepoint2 == -1))
+ {
+ error_message = "invalid string: '\\u' must be followed by 4 hex digits";
+ return token_type::parse_error;
+ }
+
+ // check if codepoint2 is a low surrogate
+ if (JSON_HEDLEY_LIKELY(0xDC00 <= codepoint2 && codepoint2 <= 0xDFFF))
+ {
+ // overwrite codepoint
+ codepoint = static_cast<int>(
+ // high surrogate occupies the most significant 22 bits
+ (static_cast<unsigned int>(codepoint1) << 10u)
+ // low surrogate occupies the least significant 15 bits
+ + static_cast<unsigned int>(codepoint2)
+ // there is still the 0xD800, 0xDC00 and 0x10000 noise
+ // in the result, so we have to subtract with:
+ // (0xD800 << 10) + DC00 - 0x10000 = 0x35FDC00
+ - 0x35FDC00u);
+ }
+ else
+ {
+ error_message = "invalid string: surrogate U+D800..U+DBFF must be followed by U+DC00..U+DFFF";
+ return token_type::parse_error;
+ }
+ }
+ else
+ {
+ error_message = "invalid string: surrogate U+D800..U+DBFF must be followed by U+DC00..U+DFFF";
+ return token_type::parse_error;
+ }
+ }
+ else
+ {
+ if (JSON_HEDLEY_UNLIKELY(0xDC00 <= codepoint1 && codepoint1 <= 0xDFFF))
+ {
+ error_message = "invalid string: surrogate U+DC00..U+DFFF must follow U+D800..U+DBFF";
+ return token_type::parse_error;
+ }
+ }
+
+ // result of the above calculation yields a proper codepoint
+ JSON_ASSERT(0x00 <= codepoint && codepoint <= 0x10FFFF);
+
+ // translate codepoint into bytes
+ if (codepoint < 0x80)
+ {
+ // 1-byte characters: 0xxxxxxx (ASCII)
+ add(static_cast<char_int_type>(codepoint));
+ }
+ else if (codepoint <= 0x7FF)
+ {
+ // 2-byte characters: 110xxxxx 10xxxxxx
+ add(static_cast<char_int_type>(0xC0u | (static_cast<unsigned int>(codepoint) >> 6u)));
+ add(static_cast<char_int_type>(0x80u | (static_cast<unsigned int>(codepoint) & 0x3Fu)));
+ }
+ else if (codepoint <= 0xFFFF)
+ {
+ // 3-byte characters: 1110xxxx 10xxxxxx 10xxxxxx
+ add(static_cast<char_int_type>(0xE0u | (static_cast<unsigned int>(codepoint) >> 12u)));
+ add(static_cast<char_int_type>(0x80u | ((static_cast<unsigned int>(codepoint) >> 6u) & 0x3Fu)));
+ add(static_cast<char_int_type>(0x80u | (static_cast<unsigned int>(codepoint) & 0x3Fu)));
+ }
+ else
+ {
+ // 4-byte characters: 11110xxx 10xxxxxx 10xxxxxx 10xxxxxx
+ add(static_cast<char_int_type>(0xF0u | (static_cast<unsigned int>(codepoint) >> 18u)));
+ add(static_cast<char_int_type>(0x80u | ((static_cast<unsigned int>(codepoint) >> 12u) & 0x3Fu)));
+ add(static_cast<char_int_type>(0x80u | ((static_cast<unsigned int>(codepoint) >> 6u) & 0x3Fu)));
+ add(static_cast<char_int_type>(0x80u | (static_cast<unsigned int>(codepoint) & 0x3Fu)));
+ }
+
+ break;
+ }
+
+ // other characters after escape
+ default:
+ error_message = "invalid string: forbidden character after backslash";
+ return token_type::parse_error;
+ }
+
+ break;
+ }
+
+ // invalid control characters
+ case 0x00:
+ {
+ error_message = "invalid string: control character U+0000 (NUL) must be escaped to \\u0000";
+ return token_type::parse_error;
+ }
+
+ case 0x01:
+ {
+ error_message = "invalid string: control character U+0001 (SOH) must be escaped to \\u0001";
+ return token_type::parse_error;
+ }
+
+ case 0x02:
+ {
+ error_message = "invalid string: control character U+0002 (STX) must be escaped to \\u0002";
+ return token_type::parse_error;
+ }
+
+ case 0x03:
+ {
+ error_message = "invalid string: control character U+0003 (ETX) must be escaped to \\u0003";
+ return token_type::parse_error;
+ }
+
+ case 0x04:
+ {
+ error_message = "invalid string: control character U+0004 (EOT) must be escaped to \\u0004";
+ return token_type::parse_error;
+ }
+
+ case 0x05:
+ {
+ error_message = "invalid string: control character U+0005 (ENQ) must be escaped to \\u0005";
+ return token_type::parse_error;
+ }
+
+ case 0x06:
+ {
+ error_message = "invalid string: control character U+0006 (ACK) must be escaped to \\u0006";
+ return token_type::parse_error;
+ }
+
+ case 0x07:
+ {
+ error_message = "invalid string: control character U+0007 (BEL) must be escaped to \\u0007";
+ return token_type::parse_error;
+ }
+
+ case 0x08:
+ {
+ error_message = "invalid string: control character U+0008 (BS) must be escaped to \\u0008 or \\b";
+ return token_type::parse_error;
+ }
+
+ case 0x09:
+ {
+ error_message = "invalid string: control character U+0009 (HT) must be escaped to \\u0009 or \\t";
+ return token_type::parse_error;
+ }
+
+ case 0x0A:
+ {
+ error_message = "invalid string: control character U+000A (LF) must be escaped to \\u000A or \\n";
+ return token_type::parse_error;
+ }
+
+ case 0x0B:
+ {
+ error_message = "invalid string: control character U+000B (VT) must be escaped to \\u000B";
+ return token_type::parse_error;
+ }
+
+ case 0x0C:
+ {
+ error_message = "invalid string: control character U+000C (FF) must be escaped to \\u000C or \\f";
+ return token_type::parse_error;
+ }
+
+ case 0x0D:
+ {
+ error_message = "invalid string: control character U+000D (CR) must be escaped to \\u000D or \\r";
+ return token_type::parse_error;
+ }
+
+ case 0x0E:
+ {
+ error_message = "invalid string: control character U+000E (SO) must be escaped to \\u000E";
+ return token_type::parse_error;
+ }
+
+ case 0x0F:
+ {
+ error_message = "invalid string: control character U+000F (SI) must be escaped to \\u000F";
+ return token_type::parse_error;
+ }
+
+ case 0x10:
+ {
+ error_message = "invalid string: control character U+0010 (DLE) must be escaped to \\u0010";
+ return token_type::parse_error;
+ }
+
+ case 0x11:
+ {
+ error_message = "invalid string: control character U+0011 (DC1) must be escaped to \\u0011";
+ return token_type::parse_error;
+ }
+
+ case 0x12:
+ {
+ error_message = "invalid string: control character U+0012 (DC2) must be escaped to \\u0012";
+ return token_type::parse_error;
+ }
+
+ case 0x13:
+ {
+ error_message = "invalid string: control character U+0013 (DC3) must be escaped to \\u0013";
+ return token_type::parse_error;
+ }
+
+ case 0x14:
+ {
+ error_message = "invalid string: control character U+0014 (DC4) must be escaped to \\u0014";
+ return token_type::parse_error;
+ }
+
+ case 0x15:
+ {
+ error_message = "invalid string: control character U+0015 (NAK) must be escaped to \\u0015";
+ return token_type::parse_error;
+ }
+
+ case 0x16:
+ {
+ error_message = "invalid string: control character U+0016 (SYN) must be escaped to \\u0016";
+ return token_type::parse_error;
+ }
+
+ case 0x17:
+ {
+ error_message = "invalid string: control character U+0017 (ETB) must be escaped to \\u0017";
+ return token_type::parse_error;
+ }
+
+ case 0x18:
+ {
+ error_message = "invalid string: control character U+0018 (CAN) must be escaped to \\u0018";
+ return token_type::parse_error;
+ }
+
+ case 0x19:
+ {
+ error_message = "invalid string: control character U+0019 (EM) must be escaped to \\u0019";
+ return token_type::parse_error;
+ }
+
+ case 0x1A:
+ {
+ error_message = "invalid string: control character U+001A (SUB) must be escaped to \\u001A";
+ return token_type::parse_error;
+ }
+
+ case 0x1B:
+ {
+ error_message = "invalid string: control character U+001B (ESC) must be escaped to \\u001B";
+ return token_type::parse_error;
+ }
+
+ case 0x1C:
+ {
+ error_message = "invalid string: control character U+001C (FS) must be escaped to \\u001C";
+ return token_type::parse_error;
+ }
+
+ case 0x1D:
+ {
+ error_message = "invalid string: control character U+001D (GS) must be escaped to \\u001D";
+ return token_type::parse_error;
+ }
+
+ case 0x1E:
+ {
+ error_message = "invalid string: control character U+001E (RS) must be escaped to \\u001E";
+ return token_type::parse_error;
+ }
+
+ case 0x1F:
+ {
+ error_message = "invalid string: control character U+001F (US) must be escaped to \\u001F";
+ return token_type::parse_error;
+ }
+
+ // U+0020..U+007F (except U+0022 (quote) and U+005C (backspace))
+ case 0x20:
+ case 0x21:
+ case 0x23:
+ case 0x24:
+ case 0x25:
+ case 0x26:
+ case 0x27:
+ case 0x28:
+ case 0x29:
+ case 0x2A:
+ case 0x2B:
+ case 0x2C:
+ case 0x2D:
+ case 0x2E:
+ case 0x2F:
+ case 0x30:
+ case 0x31:
+ case 0x32:
+ case 0x33:
+ case 0x34:
+ case 0x35:
+ case 0x36:
+ case 0x37:
+ case 0x38:
+ case 0x39:
+ case 0x3A:
+ case 0x3B:
+ case 0x3C:
+ case 0x3D:
+ case 0x3E:
+ case 0x3F:
+ case 0x40:
+ case 0x41:
+ case 0x42:
+ case 0x43:
+ case 0x44:
+ case 0x45:
+ case 0x46:
+ case 0x47:
+ case 0x48:
+ case 0x49:
+ case 0x4A:
+ case 0x4B:
+ case 0x4C:
+ case 0x4D:
+ case 0x4E:
+ case 0x4F:
+ case 0x50:
+ case 0x51:
+ case 0x52:
+ case 0x53:
+ case 0x54:
+ case 0x55:
+ case 0x56:
+ case 0x57:
+ case 0x58:
+ case 0x59:
+ case 0x5A:
+ case 0x5B:
+ case 0x5D:
+ case 0x5E:
+ case 0x5F:
+ case 0x60:
+ case 0x61:
+ case 0x62:
+ case 0x63:
+ case 0x64:
+ case 0x65:
+ case 0x66:
+ case 0x67:
+ case 0x68:
+ case 0x69:
+ case 0x6A:
+ case 0x6B:
+ case 0x6C:
+ case 0x6D:
+ case 0x6E:
+ case 0x6F:
+ case 0x70:
+ case 0x71:
+ case 0x72:
+ case 0x73:
+ case 0x74:
+ case 0x75:
+ case 0x76:
+ case 0x77:
+ case 0x78:
+ case 0x79:
+ case 0x7A:
+ case 0x7B:
+ case 0x7C:
+ case 0x7D:
+ case 0x7E:
+ case 0x7F:
+ {
+ add(current);
+ break;
+ }
+
+ // U+0080..U+07FF: bytes C2..DF 80..BF
+ case 0xC2:
+ case 0xC3:
+ case 0xC4:
+ case 0xC5:
+ case 0xC6:
+ case 0xC7:
+ case 0xC8:
+ case 0xC9:
+ case 0xCA:
+ case 0xCB:
+ case 0xCC:
+ case 0xCD:
+ case 0xCE:
+ case 0xCF:
+ case 0xD0:
+ case 0xD1:
+ case 0xD2:
+ case 0xD3:
+ case 0xD4:
+ case 0xD5:
+ case 0xD6:
+ case 0xD7:
+ case 0xD8:
+ case 0xD9:
+ case 0xDA:
+ case 0xDB:
+ case 0xDC:
+ case 0xDD:
+ case 0xDE:
+ case 0xDF:
+ {
+ if (JSON_HEDLEY_UNLIKELY(!next_byte_in_range({0x80, 0xBF})))
+ {
+ return token_type::parse_error;
+ }
+ break;
+ }
+
+ // U+0800..U+0FFF: bytes E0 A0..BF 80..BF
+ case 0xE0:
+ {
+ if (JSON_HEDLEY_UNLIKELY(!(next_byte_in_range({0xA0, 0xBF, 0x80, 0xBF}))))
+ {
+ return token_type::parse_error;
+ }
+ break;
+ }
+
+ // U+1000..U+CFFF: bytes E1..EC 80..BF 80..BF
+ // U+E000..U+FFFF: bytes EE..EF 80..BF 80..BF
+ case 0xE1:
+ case 0xE2:
+ case 0xE3:
+ case 0xE4:
+ case 0xE5:
+ case 0xE6:
+ case 0xE7:
+ case 0xE8:
+ case 0xE9:
+ case 0xEA:
+ case 0xEB:
+ case 0xEC:
+ case 0xEE:
+ case 0xEF:
+ {
+ if (JSON_HEDLEY_UNLIKELY(!(next_byte_in_range({0x80, 0xBF, 0x80, 0xBF}))))
+ {
+ return token_type::parse_error;
+ }
+ break;
+ }
+
+ // U+D000..U+D7FF: bytes ED 80..9F 80..BF
+ case 0xED:
+ {
+ if (JSON_HEDLEY_UNLIKELY(!(next_byte_in_range({0x80, 0x9F, 0x80, 0xBF}))))
+ {
+ return token_type::parse_error;
+ }
+ break;
+ }
+
+ // U+10000..U+3FFFF F0 90..BF 80..BF 80..BF
+ case 0xF0:
+ {
+ if (JSON_HEDLEY_UNLIKELY(!(next_byte_in_range({0x90, 0xBF, 0x80, 0xBF, 0x80, 0xBF}))))
+ {
+ return token_type::parse_error;
+ }
+ break;
+ }
+
+ // U+40000..U+FFFFF F1..F3 80..BF 80..BF 80..BF
+ case 0xF1:
+ case 0xF2:
+ case 0xF3:
+ {
+ if (JSON_HEDLEY_UNLIKELY(!(next_byte_in_range({0x80, 0xBF, 0x80, 0xBF, 0x80, 0xBF}))))
+ {
+ return token_type::parse_error;
+ }
+ break;
+ }
+
+ // U+100000..U+10FFFF F4 80..8F 80..BF 80..BF
+ case 0xF4:
+ {
+ if (JSON_HEDLEY_UNLIKELY(!(next_byte_in_range({0x80, 0x8F, 0x80, 0xBF, 0x80, 0xBF}))))
+ {
+ return token_type::parse_error;
+ }
+ break;
+ }
+
+ // remaining bytes (80..C1 and F5..FF) are ill-formed
+ default:
+ {
+ error_message = "invalid string: ill-formed UTF-8 byte";
+ return token_type::parse_error;
+ }
+ }
+ }
+ }
+
+ /*!
+ * @brief scan a comment
+ * @return whether comment could be scanned successfully
+ */
+ bool scan_comment()
+ {
+ switch (get())
+ {
+ // single-line comments skip input until a newline or EOF is read
+ case '/':
+ {
+ while (true)
+ {
+ switch (get())
+ {
+ case '\n':
+ case '\r':
+ case std::char_traits<char_type>::eof():
+ case '\0':
+ return true;
+
+ default:
+ break;
+ }
+ }
+ }
+
+ // multi-line comments skip input until */ is read
+ case '*':
+ {
+ while (true)
+ {
+ switch (get())
+ {
+ case std::char_traits<char_type>::eof():
+ case '\0':
+ {
+ error_message = "invalid comment; missing closing '*/'";
+ return false;
+ }
+
+ case '*':
+ {
+ switch (get())
+ {
+ case '/':
+ return true;
+
+ default:
+ {
+ unget();
+ continue;
+ }
+ }
+ }
+
+ default:
+ continue;
+ }
+ }
+ }
+
+ // unexpected character after reading '/'
+ default:
+ {
+ error_message = "invalid comment; expecting '/' or '*' after '/'";
+ return false;
+ }
+ }
+ }
+
+ JSON_HEDLEY_NON_NULL(2)
+ static void strtof(float& f, const char* str, char** endptr) noexcept
+ {
+ f = std::strtof(str, endptr);
+ }
+
+ JSON_HEDLEY_NON_NULL(2)
+ static void strtof(double& f, const char* str, char** endptr) noexcept
+ {
+ f = std::strtod(str, endptr);
+ }
+
+ JSON_HEDLEY_NON_NULL(2)
+ static void strtof(long double& f, const char* str, char** endptr) noexcept
+ {
+ f = std::strtold(str, endptr);
+ }
+
+ /*!
+ @brief scan a number literal
+
+ This function scans a string according to Sect. 6 of RFC 8259.
+
+ The function is realized with a deterministic finite state machine derived
+ from the grammar described in RFC 8259. Starting in state "init", the
+ input is read and used to determined the next state. Only state "done"
+ accepts the number. State "error" is a trap state to model errors. In the
+ table below, "anything" means any character but the ones listed before.
+
+ state | 0 | 1-9 | e E | + | - | . | anything
+ ---------|----------|----------|----------|---------|---------|----------|-----------
+ init | zero | any1 | [error] | [error] | minus | [error] | [error]
+ minus | zero | any1 | [error] | [error] | [error] | [error] | [error]
+ zero | done | done | exponent | done | done | decimal1 | done
+ any1 | any1 | any1 | exponent | done | done | decimal1 | done
+ decimal1 | decimal2 | decimal2 | [error] | [error] | [error] | [error] | [error]
+ decimal2 | decimal2 | decimal2 | exponent | done | done | done | done
+ exponent | any2 | any2 | [error] | sign | sign | [error] | [error]
+ sign | any2 | any2 | [error] | [error] | [error] | [error] | [error]
+ any2 | any2 | any2 | done | done | done | done | done
+
+ The state machine is realized with one label per state (prefixed with
+ "scan_number_") and `goto` statements between them. The state machine
+ contains cycles, but any cycle can be left when EOF is read. Therefore,
+ the function is guaranteed to terminate.
+
+ During scanning, the read bytes are stored in token_buffer. This string is
+ then converted to a signed integer, an unsigned integer, or a
+ floating-point number.
+
+ @return token_type::value_unsigned, token_type::value_integer, or
+ token_type::value_float if number could be successfully scanned,
+ token_type::parse_error otherwise
+
+ @note The scanner is independent of the current locale. Internally, the
+ locale's decimal point is used instead of `.` to work with the
+ locale-dependent converters.
+ */
+ token_type scan_number() // lgtm [cpp/use-of-goto]
+ {
+ // reset token_buffer to store the number's bytes
+ reset();
+
+ // the type of the parsed number; initially set to unsigned; will be
+ // changed if minus sign, decimal point or exponent is read
+ token_type number_type = token_type::value_unsigned;
+
+ // state (init): we just found out we need to scan a number
+ switch (current)
+ {
+ case '-':
+ {
+ add(current);
+ goto scan_number_minus;
+ }
+
+ case '0':
+ {
+ add(current);
+ goto scan_number_zero;
+ }
+
+ case '1':
+ case '2':
+ case '3':
+ case '4':
+ case '5':
+ case '6':
+ case '7':
+ case '8':
+ case '9':
+ {
+ add(current);
+ goto scan_number_any1;
+ }
+
+ // all other characters are rejected outside scan_number()
+ default: // LCOV_EXCL_LINE
+ JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
+ }
+
+scan_number_minus:
+ // state: we just parsed a leading minus sign
+ number_type = token_type::value_integer;
+ switch (get())
+ {
+ case '0':
+ {
+ add(current);
+ goto scan_number_zero;
+ }
+
+ case '1':
+ case '2':
+ case '3':
+ case '4':
+ case '5':
+ case '6':
+ case '7':
+ case '8':
+ case '9':
+ {
+ add(current);
+ goto scan_number_any1;
+ }
+
+ default:
+ {
+ error_message = "invalid number; expected digit after '-'";
+ return token_type::parse_error;
+ }
+ }
+
+scan_number_zero:
+ // state: we just parse a zero (maybe with a leading minus sign)
+ switch (get())
+ {
+ case '.':
+ {
+ add(decimal_point_char);
+ goto scan_number_decimal1;
+ }
+
+ case 'e':
+ case 'E':
+ {
+ add(current);
+ goto scan_number_exponent;
+ }
+
+ default:
+ goto scan_number_done;
+ }
+
+scan_number_any1:
+ // state: we just parsed a number 0-9 (maybe with a leading minus sign)
+ switch (get())
+ {
+ case '0':
+ case '1':
+ case '2':
+ case '3':
+ case '4':
+ case '5':
+ case '6':
+ case '7':
+ case '8':
+ case '9':
+ {
+ add(current);
+ goto scan_number_any1;
+ }
+
+ case '.':
+ {
+ add(decimal_point_char);
+ goto scan_number_decimal1;
+ }
+
+ case 'e':
+ case 'E':
+ {
+ add(current);
+ goto scan_number_exponent;
+ }
+
+ default:
+ goto scan_number_done;
+ }
+
+scan_number_decimal1:
+ // state: we just parsed a decimal point
+ number_type = token_type::value_float;
+ switch (get())
+ {
+ case '0':
+ case '1':
+ case '2':
+ case '3':
+ case '4':
+ case '5':
+ case '6':
+ case '7':
+ case '8':
+ case '9':
+ {
+ add(current);
+ goto scan_number_decimal2;
+ }
+
+ default:
+ {
+ error_message = "invalid number; expected digit after '.'";
+ return token_type::parse_error;
+ }
+ }
+
+scan_number_decimal2:
+ // we just parsed at least one number after a decimal point
+ switch (get())
+ {
+ case '0':
+ case '1':
+ case '2':
+ case '3':
+ case '4':
+ case '5':
+ case '6':
+ case '7':
+ case '8':
+ case '9':
+ {
+ add(current);
+ goto scan_number_decimal2;
+ }
+
+ case 'e':
+ case 'E':
+ {
+ add(current);
+ goto scan_number_exponent;
+ }
+
+ default:
+ goto scan_number_done;
+ }
+
+scan_number_exponent:
+ // we just parsed an exponent
+ number_type = token_type::value_float;
+ switch (get())
+ {
+ case '+':
+ case '-':
+ {
+ add(current);
+ goto scan_number_sign;
+ }
+
+ case '0':
+ case '1':
+ case '2':
+ case '3':
+ case '4':
+ case '5':
+ case '6':
+ case '7':
+ case '8':
+ case '9':
+ {
+ add(current);
+ goto scan_number_any2;
+ }
+
+ default:
+ {
+ error_message =
+ "invalid number; expected '+', '-', or digit after exponent";
+ return token_type::parse_error;
+ }
+ }
+
+scan_number_sign:
+ // we just parsed an exponent sign
+ switch (get())
+ {
+ case '0':
+ case '1':
+ case '2':
+ case '3':
+ case '4':
+ case '5':
+ case '6':
+ case '7':
+ case '8':
+ case '9':
+ {
+ add(current);
+ goto scan_number_any2;
+ }
+
+ default:
+ {
+ error_message = "invalid number; expected digit after exponent sign";
+ return token_type::parse_error;
+ }
+ }
+
+scan_number_any2:
+ // we just parsed a number after the exponent or exponent sign
+ switch (get())
+ {
+ case '0':
+ case '1':
+ case '2':
+ case '3':
+ case '4':
+ case '5':
+ case '6':
+ case '7':
+ case '8':
+ case '9':
+ {
+ add(current);
+ goto scan_number_any2;
+ }
+
+ default:
+ goto scan_number_done;
+ }
+
+scan_number_done:
+ // unget the character after the number (we only read it to know that
+ // we are done scanning a number)
+ unget();
+
+ char* endptr = nullptr; // NOLINT(cppcoreguidelines-pro-type-vararg,hicpp-vararg)
+ errno = 0;
+
+ // try to parse integers first and fall back to floats
+ if (number_type == token_type::value_unsigned)
+ {
+ const auto x = std::strtoull(token_buffer.data(), &endptr, 10);
+
+ // we checked the number format before
+ JSON_ASSERT(endptr == token_buffer.data() + token_buffer.size());
+
+ if (errno == 0)
+ {
+ value_unsigned = static_cast<number_unsigned_t>(x);
+ if (value_unsigned == x)
+ {
+ return token_type::value_unsigned;
+ }
+ }
+ }
+ else if (number_type == token_type::value_integer)
+ {
+ const auto x = std::strtoll(token_buffer.data(), &endptr, 10);
+
+ // we checked the number format before
+ JSON_ASSERT(endptr == token_buffer.data() + token_buffer.size());
+
+ if (errno == 0)
+ {
+ value_integer = static_cast<number_integer_t>(x);
+ if (value_integer == x)
+ {
+ return token_type::value_integer;
+ }
+ }
+ }
+
+ // this code is reached if we parse a floating-point number or if an
+ // integer conversion above failed
+ strtof(value_float, token_buffer.data(), &endptr);
+
+ // we checked the number format before
+ JSON_ASSERT(endptr == token_buffer.data() + token_buffer.size());
+
+ return token_type::value_float;
+ }
+
+ /*!
+ @param[in] literal_text the literal text to expect
+ @param[in] length the length of the passed literal text
+ @param[in] return_type the token type to return on success
+ */
+ JSON_HEDLEY_NON_NULL(2)
+ token_type scan_literal(const char_type* literal_text, const std::size_t length,
+ token_type return_type)
+ {
+ JSON_ASSERT(std::char_traits<char_type>::to_char_type(current) == literal_text[0]);
+ for (std::size_t i = 1; i < length; ++i)
+ {
+ if (JSON_HEDLEY_UNLIKELY(std::char_traits<char_type>::to_char_type(get()) != literal_text[i]))
+ {
+ error_message = "invalid literal";
+ return token_type::parse_error;
+ }
+ }
+ return return_type;
+ }
+
+ /////////////////////
+ // input management
+ /////////////////////
+
+ /// reset token_buffer; current character is beginning of token
+ void reset() noexcept
+ {
+ token_buffer.clear();
+ token_string.clear();
+ token_string.push_back(std::char_traits<char_type>::to_char_type(current));
+ }
+
+ /*
+ @brief get next character from the input
+
+ This function provides the interface to the used input adapter. It does
+ not throw in case the input reached EOF, but returns a
+ `std::char_traits<char>::eof()` in that case. Stores the scanned characters
+ for use in error messages.
+
+ @return character read from the input
+ */
+ char_int_type get()
+ {
+ ++position.chars_read_total;
+ ++position.chars_read_current_line;
+
+ if (next_unget)
+ {
+ // just reset the next_unget variable and work with current
+ next_unget = false;
+ }
+ else
+ {
+ current = ia.get_character();
+ }
+
+ if (JSON_HEDLEY_LIKELY(current != std::char_traits<char_type>::eof()))
+ {
+ token_string.push_back(std::char_traits<char_type>::to_char_type(current));
+ }
+
+ if (current == '\n')
+ {
+ ++position.lines_read;
+ position.chars_read_current_line = 0;
+ }
+
+ return current;
+ }
+
+ /*!
+ @brief unget current character (read it again on next get)
+
+ We implement unget by setting variable next_unget to true. The input is not
+ changed - we just simulate ungetting by modifying chars_read_total,
+ chars_read_current_line, and token_string. The next call to get() will
+ behave as if the unget character is read again.
+ */
+ void unget()
+ {
+ next_unget = true;
+
+ --position.chars_read_total;
+
+ // in case we "unget" a newline, we have to also decrement the lines_read
+ if (position.chars_read_current_line == 0)
+ {
+ if (position.lines_read > 0)
+ {
+ --position.lines_read;
+ }
+ }
+ else
+ {
+ --position.chars_read_current_line;
+ }
+
+ if (JSON_HEDLEY_LIKELY(current != std::char_traits<char_type>::eof()))
+ {
+ JSON_ASSERT(!token_string.empty());
+ token_string.pop_back();
+ }
+ }
+
+ /// add a character to token_buffer
+ void add(char_int_type c)
+ {
+ token_buffer.push_back(static_cast<typename string_t::value_type>(c));
+ }
+
+ public:
+ /////////////////////
+ // value getters
+ /////////////////////
+
+ /// return integer value
+ constexpr number_integer_t get_number_integer() const noexcept
+ {
+ return value_integer;
+ }
+
+ /// return unsigned integer value
+ constexpr number_unsigned_t get_number_unsigned() const noexcept
+ {
+ return value_unsigned;
+ }
+
+ /// return floating-point value
+ constexpr number_float_t get_number_float() const noexcept
+ {
+ return value_float;
+ }
+
+ /// return current string value (implicitly resets the token; useful only once)
+ string_t& get_string()
+ {
+ return token_buffer;
+ }
+
+ /////////////////////
+ // diagnostics
+ /////////////////////
+
+ /// return position of last read token
+ constexpr position_t get_position() const noexcept
+ {
+ return position;
+ }
+
+ /// return the last read token (for errors only). Will never contain EOF
+ /// (an arbitrary value that is not a valid char value, often -1), because
+ /// 255 may legitimately occur. May contain NUL, which should be escaped.
+ std::string get_token_string() const
+ {
+ // escape control characters
+ std::string result;
+ for (const auto c : token_string)
+ {
+ if (static_cast<unsigned char>(c) <= '\x1F')
+ {
+ // escape control characters
+ std::array<char, 9> cs{{}};
+ static_cast<void>((std::snprintf)(cs.data(), cs.size(), "<U+%.4X>", static_cast<unsigned char>(c))); // NOLINT(cppcoreguidelines-pro-type-vararg,hicpp-vararg)
+ result += cs.data();
+ }
+ else
+ {
+ // add character as is
+ result.push_back(static_cast<std::string::value_type>(c));
+ }
+ }
+
+ return result;
+ }
+
+ /// return syntax error message
+ JSON_HEDLEY_RETURNS_NON_NULL
+ constexpr const char* get_error_message() const noexcept
+ {
+ return error_message;
+ }
+
+ /////////////////////
+ // actual scanner
+ /////////////////////
+
+ /*!
+ @brief skip the UTF-8 byte order mark
+ @return true iff there is no BOM or the correct BOM has been skipped
+ */
+ bool skip_bom()
+ {
+ if (get() == 0xEF)
+ {
+ // check if we completely parse the BOM
+ return get() == 0xBB && get() == 0xBF;
+ }
+
+ // the first character is not the beginning of the BOM; unget it to
+ // process is later
+ unget();
+ return true;
+ }
+
+ void skip_whitespace()
+ {
+ do
+ {
+ get();
+ }
+ while (current == ' ' || current == '\t' || current == '\n' || current == '\r');
+ }
+
+ token_type scan()
+ {
+ // initially, skip the BOM
+ if (position.chars_read_total == 0 && !skip_bom())
+ {
+ error_message = "invalid BOM; must be 0xEF 0xBB 0xBF if given";
+ return token_type::parse_error;
+ }
+
+ // read next character and ignore whitespace
+ skip_whitespace();
+
+ // ignore comments
+ while (ignore_comments && current == '/')
+ {
+ if (!scan_comment())
+ {
+ return token_type::parse_error;
+ }
+
+ // skip following whitespace
+ skip_whitespace();
+ }
+
+ switch (current)
+ {
+ // structural characters
+ case '[':
+ return token_type::begin_array;
+ case ']':
+ return token_type::end_array;
+ case '{':
+ return token_type::begin_object;
+ case '}':
+ return token_type::end_object;
+ case ':':
+ return token_type::name_separator;
+ case ',':
+ return token_type::value_separator;
+
+ // literals
+ case 't':
+ {
+ std::array<char_type, 4> true_literal = {{static_cast<char_type>('t'), static_cast<char_type>('r'), static_cast<char_type>('u'), static_cast<char_type>('e')}};
+ return scan_literal(true_literal.data(), true_literal.size(), token_type::literal_true);
+ }
+ case 'f':
+ {
+ std::array<char_type, 5> false_literal = {{static_cast<char_type>('f'), static_cast<char_type>('a'), static_cast<char_type>('l'), static_cast<char_type>('s'), static_cast<char_type>('e')}};
+ return scan_literal(false_literal.data(), false_literal.size(), token_type::literal_false);
+ }
+ case 'n':
+ {
+ std::array<char_type, 4> null_literal = {{static_cast<char_type>('n'), static_cast<char_type>('u'), static_cast<char_type>('l'), static_cast<char_type>('l')}};
+ return scan_literal(null_literal.data(), null_literal.size(), token_type::literal_null);
+ }
+
+ // string
+ case '\"':
+ return scan_string();
+
+ // number
+ case '-':
+ case '0':
+ case '1':
+ case '2':
+ case '3':
+ case '4':
+ case '5':
+ case '6':
+ case '7':
+ case '8':
+ case '9':
+ return scan_number();
+
+ // end of input (the null byte is needed when parsing from
+ // string literals)
+ case '\0':
+ case std::char_traits<char_type>::eof():
+ return token_type::end_of_input;
+
+ // error
+ default:
+ error_message = "invalid literal";
+ return token_type::parse_error;
+ }
+ }
+
+ private:
+ /// input adapter
+ InputAdapterType ia;
+
+ /// whether comments should be ignored (true) or signaled as errors (false)
+ const bool ignore_comments = false;
+
+ /// the current character
+ char_int_type current = std::char_traits<char_type>::eof();
+
+ /// whether the next get() call should just return current
+ bool next_unget = false;
+
+ /// the start position of the current token
+ position_t position {};
+
+ /// raw input token string (for error messages)
+ std::vector<char_type> token_string {};
+
+ /// buffer for variable-length tokens (numbers, strings)
+ string_t token_buffer {};
+
+ /// a description of occurred lexer errors
+ const char* error_message = "";
+
+ // number values
+ number_integer_t value_integer = 0;
+ number_unsigned_t value_unsigned = 0;
+ number_float_t value_float = 0;
+
+ /// the decimal point
+ const char_int_type decimal_point_char = '.';
+};
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+// #include <nlohmann/detail/meta/is_sax.hpp>
+
+
+#include <cstdint> // size_t
+#include <utility> // declval
+#include <string> // string
+
+// #include <nlohmann/detail/meta/detected.hpp>
+
+// #include <nlohmann/detail/meta/type_traits.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+template<typename T>
+using null_function_t = decltype(std::declval<T&>().null());
+
+template<typename T>
+using boolean_function_t =
+ decltype(std::declval<T&>().boolean(std::declval<bool>()));
+
+template<typename T, typename Integer>
+using number_integer_function_t =
+ decltype(std::declval<T&>().number_integer(std::declval<Integer>()));
+
+template<typename T, typename Unsigned>
+using number_unsigned_function_t =
+ decltype(std::declval<T&>().number_unsigned(std::declval<Unsigned>()));
+
+template<typename T, typename Float, typename String>
+using number_float_function_t = decltype(std::declval<T&>().number_float(
+ std::declval<Float>(), std::declval<const String&>()));
+
+template<typename T, typename String>
+using string_function_t =
+ decltype(std::declval<T&>().string(std::declval<String&>()));
+
+template<typename T, typename Binary>
+using binary_function_t =
+ decltype(std::declval<T&>().binary(std::declval<Binary&>()));
+
+template<typename T>
+using start_object_function_t =
+ decltype(std::declval<T&>().start_object(std::declval<std::size_t>()));
+
+template<typename T, typename String>
+using key_function_t =
+ decltype(std::declval<T&>().key(std::declval<String&>()));
+
+template<typename T>
+using end_object_function_t = decltype(std::declval<T&>().end_object());
+
+template<typename T>
+using start_array_function_t =
+ decltype(std::declval<T&>().start_array(std::declval<std::size_t>()));
+
+template<typename T>
+using end_array_function_t = decltype(std::declval<T&>().end_array());
+
+template<typename T, typename Exception>
+using parse_error_function_t = decltype(std::declval<T&>().parse_error(
+ std::declval<std::size_t>(), std::declval<const std::string&>(),
+ std::declval<const Exception&>()));
+
+template<typename SAX, typename BasicJsonType>
+struct is_sax
+{
+ private:
+ static_assert(is_basic_json<BasicJsonType>::value,
+ "BasicJsonType must be of type basic_json<...>");
+
+ using number_integer_t = typename BasicJsonType::number_integer_t;
+ using number_unsigned_t = typename BasicJsonType::number_unsigned_t;
+ using number_float_t = typename BasicJsonType::number_float_t;
+ using string_t = typename BasicJsonType::string_t;
+ using binary_t = typename BasicJsonType::binary_t;
+ using exception_t = typename BasicJsonType::exception;
+
+ public:
+ static constexpr bool value =
+ is_detected_exact<bool, null_function_t, SAX>::value &&
+ is_detected_exact<bool, boolean_function_t, SAX>::value &&
+ is_detected_exact<bool, number_integer_function_t, SAX, number_integer_t>::value &&
+ is_detected_exact<bool, number_unsigned_function_t, SAX, number_unsigned_t>::value &&
+ is_detected_exact<bool, number_float_function_t, SAX, number_float_t, string_t>::value &&
+ is_detected_exact<bool, string_function_t, SAX, string_t>::value &&
+ is_detected_exact<bool, binary_function_t, SAX, binary_t>::value &&
+ is_detected_exact<bool, start_object_function_t, SAX>::value &&
+ is_detected_exact<bool, key_function_t, SAX, string_t>::value &&
+ is_detected_exact<bool, end_object_function_t, SAX>::value &&
+ is_detected_exact<bool, start_array_function_t, SAX>::value &&
+ is_detected_exact<bool, end_array_function_t, SAX>::value &&
+ is_detected_exact<bool, parse_error_function_t, SAX, exception_t>::value;
+};
+
+template<typename SAX, typename BasicJsonType>
+struct is_sax_static_asserts
+{
+ private:
+ static_assert(is_basic_json<BasicJsonType>::value,
+ "BasicJsonType must be of type basic_json<...>");
+
+ using number_integer_t = typename BasicJsonType::number_integer_t;
+ using number_unsigned_t = typename BasicJsonType::number_unsigned_t;
+ using number_float_t = typename BasicJsonType::number_float_t;
+ using string_t = typename BasicJsonType::string_t;
+ using binary_t = typename BasicJsonType::binary_t;
+ using exception_t = typename BasicJsonType::exception;
+
+ public:
+ static_assert(is_detected_exact<bool, null_function_t, SAX>::value,
+ "Missing/invalid function: bool null()");
+ static_assert(is_detected_exact<bool, boolean_function_t, SAX>::value,
+ "Missing/invalid function: bool boolean(bool)");
+ static_assert(is_detected_exact<bool, boolean_function_t, SAX>::value,
+ "Missing/invalid function: bool boolean(bool)");
+ static_assert(
+ is_detected_exact<bool, number_integer_function_t, SAX,
+ number_integer_t>::value,
+ "Missing/invalid function: bool number_integer(number_integer_t)");
+ static_assert(
+ is_detected_exact<bool, number_unsigned_function_t, SAX,
+ number_unsigned_t>::value,
+ "Missing/invalid function: bool number_unsigned(number_unsigned_t)");
+ static_assert(is_detected_exact<bool, number_float_function_t, SAX,
+ number_float_t, string_t>::value,
+ "Missing/invalid function: bool number_float(number_float_t, const string_t&)");
+ static_assert(
+ is_detected_exact<bool, string_function_t, SAX, string_t>::value,
+ "Missing/invalid function: bool string(string_t&)");
+ static_assert(
+ is_detected_exact<bool, binary_function_t, SAX, binary_t>::value,
+ "Missing/invalid function: bool binary(binary_t&)");
+ static_assert(is_detected_exact<bool, start_object_function_t, SAX>::value,
+ "Missing/invalid function: bool start_object(std::size_t)");
+ static_assert(is_detected_exact<bool, key_function_t, SAX, string_t>::value,
+ "Missing/invalid function: bool key(string_t&)");
+ static_assert(is_detected_exact<bool, end_object_function_t, SAX>::value,
+ "Missing/invalid function: bool end_object()");
+ static_assert(is_detected_exact<bool, start_array_function_t, SAX>::value,
+ "Missing/invalid function: bool start_array(std::size_t)");
+ static_assert(is_detected_exact<bool, end_array_function_t, SAX>::value,
+ "Missing/invalid function: bool end_array()");
+ static_assert(
+ is_detected_exact<bool, parse_error_function_t, SAX, exception_t>::value,
+ "Missing/invalid function: bool parse_error(std::size_t, const "
+ "std::string&, const exception&)");
+};
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/meta/type_traits.hpp>
+
+// #include <nlohmann/detail/value_t.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+
+/// how to treat CBOR tags
+enum class cbor_tag_handler_t
+{
+ error, ///< throw a parse_error exception in case of a tag
+ ignore, ///< ignore tags
+ store ///< store tags as binary type
+};
+
+/*!
+@brief determine system byte order
+
+@return true if and only if system's byte order is little endian
+
+@note from https://stackoverflow.com/a/1001328/266378
+*/
+static inline bool little_endianness(int num = 1) noexcept
+{
+ return *reinterpret_cast<char*>(&num) == 1;
+}
+
+
+///////////////////
+// binary reader //
+///////////////////
+
+/*!
+@brief deserialization of CBOR, MessagePack, and UBJSON values
+*/
+template<typename BasicJsonType, typename InputAdapterType, typename SAX = json_sax_dom_parser<BasicJsonType>>
+class binary_reader
+{
+ using number_integer_t = typename BasicJsonType::number_integer_t;
+ using number_unsigned_t = typename BasicJsonType::number_unsigned_t;
+ using number_float_t = typename BasicJsonType::number_float_t;
+ using string_t = typename BasicJsonType::string_t;
+ using binary_t = typename BasicJsonType::binary_t;
+ using json_sax_t = SAX;
+ using char_type = typename InputAdapterType::char_type;
+ using char_int_type = typename std::char_traits<char_type>::int_type;
+
+ public:
+ /*!
+ @brief create a binary reader
+
+ @param[in] adapter input adapter to read from
+ */
+ explicit binary_reader(InputAdapterType&& adapter) noexcept : ia(std::move(adapter))
+ {
+ (void)detail::is_sax_static_asserts<SAX, BasicJsonType> {};
+ }
+
+ // make class move-only
+ binary_reader(const binary_reader&) = delete;
+ binary_reader(binary_reader&&) = default; // NOLINT(hicpp-noexcept-move,performance-noexcept-move-constructor)
+ binary_reader& operator=(const binary_reader&) = delete;
+ binary_reader& operator=(binary_reader&&) = default; // NOLINT(hicpp-noexcept-move,performance-noexcept-move-constructor)
+ ~binary_reader() = default;
+
+ /*!
+ @param[in] format the binary format to parse
+ @param[in] sax_ a SAX event processor
+ @param[in] strict whether to expect the input to be consumed completed
+ @param[in] tag_handler how to treat CBOR tags
+
+ @return whether parsing was successful
+ */
+ JSON_HEDLEY_NON_NULL(3)
+ bool sax_parse(const input_format_t format,
+ json_sax_t* sax_,
+ const bool strict = true,
+ const cbor_tag_handler_t tag_handler = cbor_tag_handler_t::error)
+ {
+ sax = sax_;
+ bool result = false;
+
+ switch (format)
+ {
+ case input_format_t::bson:
+ result = parse_bson_internal();
+ break;
+
+ case input_format_t::cbor:
+ result = parse_cbor_internal(true, tag_handler);
+ break;
+
+ case input_format_t::msgpack:
+ result = parse_msgpack_internal();
+ break;
+
+ case input_format_t::ubjson:
+ result = parse_ubjson_internal();
+ break;
+
+ case input_format_t::json: // LCOV_EXCL_LINE
+ default: // LCOV_EXCL_LINE
+ JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
+ }
+
+ // strict mode: next byte must be EOF
+ if (result && strict)
+ {
+ if (format == input_format_t::ubjson)
+ {
+ get_ignore_noop();
+ }
+ else
+ {
+ get();
+ }
+
+ if (JSON_HEDLEY_UNLIKELY(current != std::char_traits<char_type>::eof()))
+ {
+ return sax->parse_error(chars_read, get_token_string(),
+ parse_error::create(110, chars_read, exception_message(format, "expected end of input; last byte: 0x" + get_token_string(), "value"), BasicJsonType()));
+ }
+ }
+
+ return result;
+ }
+
+ private:
+ //////////
+ // BSON //
+ //////////
+
+ /*!
+ @brief Reads in a BSON-object and passes it to the SAX-parser.
+ @return whether a valid BSON-value was passed to the SAX parser
+ */
+ bool parse_bson_internal()
+ {
+ std::int32_t document_size{};
+ get_number<std::int32_t, true>(input_format_t::bson, document_size);
+
+ if (JSON_HEDLEY_UNLIKELY(!sax->start_object(static_cast<std::size_t>(-1))))
+ {
+ return false;
+ }
+
+ if (JSON_HEDLEY_UNLIKELY(!parse_bson_element_list(/*is_array*/false)))
+ {
+ return false;
+ }
+
+ return sax->end_object();
+ }
+
+ /*!
+ @brief Parses a C-style string from the BSON input.
+ @param[in,out] result A reference to the string variable where the read
+ string is to be stored.
+ @return `true` if the \x00-byte indicating the end of the string was
+ encountered before the EOF; false` indicates an unexpected EOF.
+ */
+ bool get_bson_cstr(string_t& result)
+ {
+ auto out = std::back_inserter(result);
+ while (true)
+ {
+ get();
+ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format_t::bson, "cstring")))
+ {
+ return false;
+ }
+ if (current == 0x00)
+ {
+ return true;
+ }
+ *out++ = static_cast<typename string_t::value_type>(current);
+ }
+ }
+
+ /*!
+ @brief Parses a zero-terminated string of length @a len from the BSON
+ input.
+ @param[in] len The length (including the zero-byte at the end) of the
+ string to be read.
+ @param[in,out] result A reference to the string variable where the read
+ string is to be stored.
+ @tparam NumberType The type of the length @a len
+ @pre len >= 1
+ @return `true` if the string was successfully parsed
+ */
+ template<typename NumberType>
+ bool get_bson_string(const NumberType len, string_t& result)
+ {
+ if (JSON_HEDLEY_UNLIKELY(len < 1))
+ {
+ auto last_token = get_token_string();
+ return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_message(input_format_t::bson, "string length must be at least 1, is " + std::to_string(len), "string"), BasicJsonType()));
+ }
+
+ return get_string(input_format_t::bson, len - static_cast<NumberType>(1), result) && get() != std::char_traits<char_type>::eof();
+ }
+
+ /*!
+ @brief Parses a byte array input of length @a len from the BSON input.
+ @param[in] len The length of the byte array to be read.
+ @param[in,out] result A reference to the binary variable where the read
+ array is to be stored.
+ @tparam NumberType The type of the length @a len
+ @pre len >= 0
+ @return `true` if the byte array was successfully parsed
+ */
+ template<typename NumberType>
+ bool get_bson_binary(const NumberType len, binary_t& result)
+ {
+ if (JSON_HEDLEY_UNLIKELY(len < 0))
+ {
+ auto last_token = get_token_string();
+ return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_message(input_format_t::bson, "byte array length cannot be negative, is " + std::to_string(len), "binary"), BasicJsonType()));
+ }
+
+ // All BSON binary values have a subtype
+ std::uint8_t subtype{};
+ get_number<std::uint8_t>(input_format_t::bson, subtype);
+ result.set_subtype(subtype);
+
+ return get_binary(input_format_t::bson, len, result);
+ }
+
+ /*!
+ @brief Read a BSON document element of the given @a element_type.
+ @param[in] element_type The BSON element type, c.f. http://bsonspec.org/spec.html
+ @param[in] element_type_parse_position The position in the input stream,
+ where the `element_type` was read.
+ @warning Not all BSON element types are supported yet. An unsupported
+ @a element_type will give rise to a parse_error.114:
+ Unsupported BSON record type 0x...
+ @return whether a valid BSON-object/array was passed to the SAX parser
+ */
+ bool parse_bson_element_internal(const char_int_type element_type,
+ const std::size_t element_type_parse_position)
+ {
+ switch (element_type)
+ {
+ case 0x01: // double
+ {
+ double number{};
+ return get_number<double, true>(input_format_t::bson, number) && sax->number_float(static_cast<number_float_t>(number), "");
+ }
+
+ case 0x02: // string
+ {
+ std::int32_t len{};
+ string_t value;
+ return get_number<std::int32_t, true>(input_format_t::bson, len) && get_bson_string(len, value) && sax->string(value);
+ }
+
+ case 0x03: // object
+ {
+ return parse_bson_internal();
+ }
+
+ case 0x04: // array
+ {
+ return parse_bson_array();
+ }
+
+ case 0x05: // binary
+ {
+ std::int32_t len{};
+ binary_t value;
+ return get_number<std::int32_t, true>(input_format_t::bson, len) && get_bson_binary(len, value) && sax->binary(value);
+ }
+
+ case 0x08: // boolean
+ {
+ return sax->boolean(get() != 0);
+ }
+
+ case 0x0A: // null
+ {
+ return sax->null();
+ }
+
+ case 0x10: // int32
+ {
+ std::int32_t value{};
+ return get_number<std::int32_t, true>(input_format_t::bson, value) && sax->number_integer(value);
+ }
+
+ case 0x12: // int64
+ {
+ std::int64_t value{};
+ return get_number<std::int64_t, true>(input_format_t::bson, value) && sax->number_integer(value);
+ }
+
+ default: // anything else not supported (yet)
+ {
+ std::array<char, 3> cr{{}};
+ static_cast<void>((std::snprintf)(cr.data(), cr.size(), "%.2hhX", static_cast<unsigned char>(element_type))); // NOLINT(cppcoreguidelines-pro-type-vararg,hicpp-vararg)
+ return sax->parse_error(element_type_parse_position, std::string(cr.data()), parse_error::create(114, element_type_parse_position, "Unsupported BSON record type 0x" + std::string(cr.data()), BasicJsonType()));
+ }
+ }
+ }
+
+ /*!
+ @brief Read a BSON element list (as specified in the BSON-spec)
+
+ The same binary layout is used for objects and arrays, hence it must be
+ indicated with the argument @a is_array which one is expected
+ (true --> array, false --> object).
+
+ @param[in] is_array Determines if the element list being read is to be
+ treated as an object (@a is_array == false), or as an
+ array (@a is_array == true).
+ @return whether a valid BSON-object/array was passed to the SAX parser
+ */
+ bool parse_bson_element_list(const bool is_array)
+ {
+ string_t key;
+
+ while (auto element_type = get())
+ {
+ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format_t::bson, "element list")))
+ {
+ return false;
+ }
+
+ const std::size_t element_type_parse_position = chars_read;
+ if (JSON_HEDLEY_UNLIKELY(!get_bson_cstr(key)))
+ {
+ return false;
+ }
+
+ if (!is_array && !sax->key(key))
+ {
+ return false;
+ }
+
+ if (JSON_HEDLEY_UNLIKELY(!parse_bson_element_internal(element_type, element_type_parse_position)))
+ {
+ return false;
+ }
+
+ // get_bson_cstr only appends
+ key.clear();
+ }
+
+ return true;
+ }
+
+ /*!
+ @brief Reads an array from the BSON input and passes it to the SAX-parser.
+ @return whether a valid BSON-array was passed to the SAX parser
+ */
+ bool parse_bson_array()
+ {
+ std::int32_t document_size{};
+ get_number<std::int32_t, true>(input_format_t::bson, document_size);
+
+ if (JSON_HEDLEY_UNLIKELY(!sax->start_array(static_cast<std::size_t>(-1))))
+ {
+ return false;
+ }
+
+ if (JSON_HEDLEY_UNLIKELY(!parse_bson_element_list(/*is_array*/true)))
+ {
+ return false;
+ }
+
+ return sax->end_array();
+ }
+
+ //////////
+ // CBOR //
+ //////////
+
+ /*!
+ @param[in] get_char whether a new character should be retrieved from the
+ input (true) or whether the last read character should
+ be considered instead (false)
+ @param[in] tag_handler how CBOR tags should be treated
+
+ @return whether a valid CBOR value was passed to the SAX parser
+ */
+ bool parse_cbor_internal(const bool get_char,
+ const cbor_tag_handler_t tag_handler)
+ {
+ switch (get_char ? get() : current)
+ {
+ // EOF
+ case std::char_traits<char_type>::eof():
+ return unexpect_eof(input_format_t::cbor, "value");
+
+ // Integer 0x00..0x17 (0..23)
+ case 0x00:
+ case 0x01:
+ case 0x02:
+ case 0x03:
+ case 0x04:
+ case 0x05:
+ case 0x06:
+ case 0x07:
+ case 0x08:
+ case 0x09:
+ case 0x0A:
+ case 0x0B:
+ case 0x0C:
+ case 0x0D:
+ case 0x0E:
+ case 0x0F:
+ case 0x10:
+ case 0x11:
+ case 0x12:
+ case 0x13:
+ case 0x14:
+ case 0x15:
+ case 0x16:
+ case 0x17:
+ return sax->number_unsigned(static_cast<number_unsigned_t>(current));
+
+ case 0x18: // Unsigned integer (one-byte uint8_t follows)
+ {
+ std::uint8_t number{};
+ return get_number(input_format_t::cbor, number) && sax->number_unsigned(number);
+ }
+
+ case 0x19: // Unsigned integer (two-byte uint16_t follows)
+ {
+ std::uint16_t number{};
+ return get_number(input_format_t::cbor, number) && sax->number_unsigned(number);
+ }
+
+ case 0x1A: // Unsigned integer (four-byte uint32_t follows)
+ {
+ std::uint32_t number{};
+ return get_number(input_format_t::cbor, number) && sax->number_unsigned(number);
+ }
+
+ case 0x1B: // Unsigned integer (eight-byte uint64_t follows)
+ {
+ std::uint64_t number{};
+ return get_number(input_format_t::cbor, number) && sax->number_unsigned(number);
+ }
+
+ // Negative integer -1-0x00..-1-0x17 (-1..-24)
+ case 0x20:
+ case 0x21:
+ case 0x22:
+ case 0x23:
+ case 0x24:
+ case 0x25:
+ case 0x26:
+ case 0x27:
+ case 0x28:
+ case 0x29:
+ case 0x2A:
+ case 0x2B:
+ case 0x2C:
+ case 0x2D:
+ case 0x2E:
+ case 0x2F:
+ case 0x30:
+ case 0x31:
+ case 0x32:
+ case 0x33:
+ case 0x34:
+ case 0x35:
+ case 0x36:
+ case 0x37:
+ return sax->number_integer(static_cast<std::int8_t>(0x20 - 1 - current));
+
+ case 0x38: // Negative integer (one-byte uint8_t follows)
+ {
+ std::uint8_t number{};
+ return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_t>(-1) - number);
+ }
+
+ case 0x39: // Negative integer -1-n (two-byte uint16_t follows)
+ {
+ std::uint16_t number{};
+ return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_t>(-1) - number);
+ }
+
+ case 0x3A: // Negative integer -1-n (four-byte uint32_t follows)
+ {
+ std::uint32_t number{};
+ return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_t>(-1) - number);
+ }
+
+ case 0x3B: // Negative integer -1-n (eight-byte uint64_t follows)
+ {
+ std::uint64_t number{};
+ return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_t>(-1)
+ - static_cast<number_integer_t>(number));
+ }
+
+ // Binary data (0x00..0x17 bytes follow)
+ case 0x40:
+ case 0x41:
+ case 0x42:
+ case 0x43:
+ case 0x44:
+ case 0x45:
+ case 0x46:
+ case 0x47:
+ case 0x48:
+ case 0x49:
+ case 0x4A:
+ case 0x4B:
+ case 0x4C:
+ case 0x4D:
+ case 0x4E:
+ case 0x4F:
+ case 0x50:
+ case 0x51:
+ case 0x52:
+ case 0x53:
+ case 0x54:
+ case 0x55:
+ case 0x56:
+ case 0x57:
+ case 0x58: // Binary data (one-byte uint8_t for n follows)
+ case 0x59: // Binary data (two-byte uint16_t for n follow)
+ case 0x5A: // Binary data (four-byte uint32_t for n follow)
+ case 0x5B: // Binary data (eight-byte uint64_t for n follow)
+ case 0x5F: // Binary data (indefinite length)
+ {
+ binary_t b;
+ return get_cbor_binary(b) && sax->binary(b);
+ }
+
+ // UTF-8 string (0x00..0x17 bytes follow)
+ case 0x60:
+ case 0x61:
+ case 0x62:
+ case 0x63:
+ case 0x64:
+ case 0x65:
+ case 0x66:
+ case 0x67:
+ case 0x68:
+ case 0x69:
+ case 0x6A:
+ case 0x6B:
+ case 0x6C:
+ case 0x6D:
+ case 0x6E:
+ case 0x6F:
+ case 0x70:
+ case 0x71:
+ case 0x72:
+ case 0x73:
+ case 0x74:
+ case 0x75:
+ case 0x76:
+ case 0x77:
+ case 0x78: // UTF-8 string (one-byte uint8_t for n follows)
+ case 0x79: // UTF-8 string (two-byte uint16_t for n follow)
+ case 0x7A: // UTF-8 string (four-byte uint32_t for n follow)
+ case 0x7B: // UTF-8 string (eight-byte uint64_t for n follow)
+ case 0x7F: // UTF-8 string (indefinite length)
+ {
+ string_t s;
+ return get_cbor_string(s) && sax->string(s);
+ }
+
+ // array (0x00..0x17 data items follow)
+ case 0x80:
+ case 0x81:
+ case 0x82:
+ case 0x83:
+ case 0x84:
+ case 0x85:
+ case 0x86:
+ case 0x87:
+ case 0x88:
+ case 0x89:
+ case 0x8A:
+ case 0x8B:
+ case 0x8C:
+ case 0x8D:
+ case 0x8E:
+ case 0x8F:
+ case 0x90:
+ case 0x91:
+ case 0x92:
+ case 0x93:
+ case 0x94:
+ case 0x95:
+ case 0x96:
+ case 0x97:
+ return get_cbor_array(static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x1Fu), tag_handler);
+
+ case 0x98: // array (one-byte uint8_t for n follows)
+ {
+ std::uint8_t len{};
+ return get_number(input_format_t::cbor, len) && get_cbor_array(static_cast<std::size_t>(len), tag_handler);
+ }
+
+ case 0x99: // array (two-byte uint16_t for n follow)
+ {
+ std::uint16_t len{};
+ return get_number(input_format_t::cbor, len) && get_cbor_array(static_cast<std::size_t>(len), tag_handler);
+ }
+
+ case 0x9A: // array (four-byte uint32_t for n follow)
+ {
+ std::uint32_t len{};
+ return get_number(input_format_t::cbor, len) && get_cbor_array(static_cast<std::size_t>(len), tag_handler);
+ }
+
+ case 0x9B: // array (eight-byte uint64_t for n follow)
+ {
+ std::uint64_t len{};
+ return get_number(input_format_t::cbor, len) && get_cbor_array(detail::conditional_static_cast<std::size_t>(len), tag_handler);
+ }
+
+ case 0x9F: // array (indefinite length)
+ return get_cbor_array(static_cast<std::size_t>(-1), tag_handler);
+
+ // map (0x00..0x17 pairs of data items follow)
+ case 0xA0:
+ case 0xA1:
+ case 0xA2:
+ case 0xA3:
+ case 0xA4:
+ case 0xA5:
+ case 0xA6:
+ case 0xA7:
+ case 0xA8:
+ case 0xA9:
+ case 0xAA:
+ case 0xAB:
+ case 0xAC:
+ case 0xAD:
+ case 0xAE:
+ case 0xAF:
+ case 0xB0:
+ case 0xB1:
+ case 0xB2:
+ case 0xB3:
+ case 0xB4:
+ case 0xB5:
+ case 0xB6:
+ case 0xB7:
+ return get_cbor_object(static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x1Fu), tag_handler);
+
+ case 0xB8: // map (one-byte uint8_t for n follows)
+ {
+ std::uint8_t len{};
+ return get_number(input_format_t::cbor, len) && get_cbor_object(static_cast<std::size_t>(len), tag_handler);
+ }
+
+ case 0xB9: // map (two-byte uint16_t for n follow)
+ {
+ std::uint16_t len{};
+ return get_number(input_format_t::cbor, len) && get_cbor_object(static_cast<std::size_t>(len), tag_handler);
+ }
+
+ case 0xBA: // map (four-byte uint32_t for n follow)
+ {
+ std::uint32_t len{};
+ return get_number(input_format_t::cbor, len) && get_cbor_object(static_cast<std::size_t>(len), tag_handler);
+ }
+
+ case 0xBB: // map (eight-byte uint64_t for n follow)
+ {
+ std::uint64_t len{};
+ return get_number(input_format_t::cbor, len) && get_cbor_object(detail::conditional_static_cast<std::size_t>(len), tag_handler);
+ }
+
+ case 0xBF: // map (indefinite length)
+ return get_cbor_object(static_cast<std::size_t>(-1), tag_handler);
+
+ case 0xC6: // tagged item
+ case 0xC7:
+ case 0xC8:
+ case 0xC9:
+ case 0xCA:
+ case 0xCB:
+ case 0xCC:
+ case 0xCD:
+ case 0xCE:
+ case 0xCF:
+ case 0xD0:
+ case 0xD1:
+ case 0xD2:
+ case 0xD3:
+ case 0xD4:
+ case 0xD8: // tagged item (1 bytes follow)
+ case 0xD9: // tagged item (2 bytes follow)
+ case 0xDA: // tagged item (4 bytes follow)
+ case 0xDB: // tagged item (8 bytes follow)
+ {
+ switch (tag_handler)
+ {
+ case cbor_tag_handler_t::error:
+ {
+ auto last_token = get_token_string();
+ return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_message(input_format_t::cbor, "invalid byte: 0x" + last_token, "value"), BasicJsonType()));
+ }
+
+ case cbor_tag_handler_t::ignore:
+ {
+ // ignore binary subtype
+ switch (current)
+ {
+ case 0xD8:
+ {
+ std::uint8_t subtype_to_ignore{};
+ get_number(input_format_t::cbor, subtype_to_ignore);
+ break;
+ }
+ case 0xD9:
+ {
+ std::uint16_t subtype_to_ignore{};
+ get_number(input_format_t::cbor, subtype_to_ignore);
+ break;
+ }
+ case 0xDA:
+ {
+ std::uint32_t subtype_to_ignore{};
+ get_number(input_format_t::cbor, subtype_to_ignore);
+ break;
+ }
+ case 0xDB:
+ {
+ std::uint64_t subtype_to_ignore{};
+ get_number(input_format_t::cbor, subtype_to_ignore);
+ break;
+ }
+ default:
+ break;
+ }
+ return parse_cbor_internal(true, tag_handler);
+ }
+
+ case cbor_tag_handler_t::store:
+ {
+ binary_t b;
+ // use binary subtype and store in binary container
+ switch (current)
+ {
+ case 0xD8:
+ {
+ std::uint8_t subtype{};
+ get_number(input_format_t::cbor, subtype);
+ b.set_subtype(detail::conditional_static_cast<typename binary_t::subtype_type>(subtype));
+ break;
+ }
+ case 0xD9:
+ {
+ std::uint16_t subtype{};
+ get_number(input_format_t::cbor, subtype);
+ b.set_subtype(detail::conditional_static_cast<typename binary_t::subtype_type>(subtype));
+ break;
+ }
+ case 0xDA:
+ {
+ std::uint32_t subtype{};
+ get_number(input_format_t::cbor, subtype);
+ b.set_subtype(detail::conditional_static_cast<typename binary_t::subtype_type>(subtype));
+ break;
+ }
+ case 0xDB:
+ {
+ std::uint64_t subtype{};
+ get_number(input_format_t::cbor, subtype);
+ b.set_subtype(detail::conditional_static_cast<typename binary_t::subtype_type>(subtype));
+ break;
+ }
+ default:
+ return parse_cbor_internal(true, tag_handler);
+ }
+ get();
+ return get_cbor_binary(b) && sax->binary(b);
+ }
+
+ default: // LCOV_EXCL_LINE
+ JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
+ return false; // LCOV_EXCL_LINE
+ }
+ }
+
+ case 0xF4: // false
+ return sax->boolean(false);
+
+ case 0xF5: // true
+ return sax->boolean(true);
+
+ case 0xF6: // null
+ return sax->null();
+
+ case 0xF9: // Half-Precision Float (two-byte IEEE 754)
+ {
+ const auto byte1_raw = get();
+ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format_t::cbor, "number")))
+ {
+ return false;
+ }
+ const auto byte2_raw = get();
+ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format_t::cbor, "number")))
+ {
+ return false;
+ }
+
+ const auto byte1 = static_cast<unsigned char>(byte1_raw);
+ const auto byte2 = static_cast<unsigned char>(byte2_raw);
+
+ // code from RFC 7049, Appendix D, Figure 3:
+ // As half-precision floating-point numbers were only added
+ // to IEEE 754 in 2008, today's programming platforms often
+ // still only have limited support for them. It is very
+ // easy to include at least decoding support for them even
+ // without such support. An example of a small decoder for
+ // half-precision floating-point numbers in the C language
+ // is shown in Fig. 3.
+ const auto half = static_cast<unsigned int>((byte1 << 8u) + byte2);
+ const double val = [&half]
+ {
+ const int exp = (half >> 10u) & 0x1Fu;
+ const unsigned int mant = half & 0x3FFu;
+ JSON_ASSERT(0 <= exp&& exp <= 32);
+ JSON_ASSERT(mant <= 1024);
+ switch (exp)
+ {
+ case 0:
+ return std::ldexp(mant, -24);
+ case 31:
+ return (mant == 0)
+ ? std::numeric_limits<double>::infinity()
+ : std::numeric_limits<double>::quiet_NaN();
+ default:
+ return std::ldexp(mant + 1024, exp - 25);
+ }
+ }();
+ return sax->number_float((half & 0x8000u) != 0
+ ? static_cast<number_float_t>(-val)
+ : static_cast<number_float_t>(val), "");
+ }
+
+ case 0xFA: // Single-Precision Float (four-byte IEEE 754)
+ {
+ float number{};
+ return get_number(input_format_t::cbor, number) && sax->number_float(static_cast<number_float_t>(number), "");
+ }
+
+ case 0xFB: // Double-Precision Float (eight-byte IEEE 754)
+ {
+ double number{};
+ return get_number(input_format_t::cbor, number) && sax->number_float(static_cast<number_float_t>(number), "");
+ }
+
+ default: // anything else (0xFF is handled inside the other types)
+ {
+ auto last_token = get_token_string();
+ return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_message(input_format_t::cbor, "invalid byte: 0x" + last_token, "value"), BasicJsonType()));
+ }
+ }
+ }
+
+ /*!
+ @brief reads a CBOR string
+
+ This function first reads starting bytes to determine the expected
+ string length and then copies this number of bytes into a string.
+ Additionally, CBOR's strings with indefinite lengths are supported.
+
+ @param[out] result created string
+
+ @return whether string creation completed
+ */
+ bool get_cbor_string(string_t& result)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format_t::cbor, "string")))
+ {
+ return false;
+ }
+
+ switch (current)
+ {
+ // UTF-8 string (0x00..0x17 bytes follow)
+ case 0x60:
+ case 0x61:
+ case 0x62:
+ case 0x63:
+ case 0x64:
+ case 0x65:
+ case 0x66:
+ case 0x67:
+ case 0x68:
+ case 0x69:
+ case 0x6A:
+ case 0x6B:
+ case 0x6C:
+ case 0x6D:
+ case 0x6E:
+ case 0x6F:
+ case 0x70:
+ case 0x71:
+ case 0x72:
+ case 0x73:
+ case 0x74:
+ case 0x75:
+ case 0x76:
+ case 0x77:
+ {
+ return get_string(input_format_t::cbor, static_cast<unsigned int>(current) & 0x1Fu, result);
+ }
+
+ case 0x78: // UTF-8 string (one-byte uint8_t for n follows)
+ {
+ std::uint8_t len{};
+ return get_number(input_format_t::cbor, len) && get_string(input_format_t::cbor, len, result);
+ }
+
+ case 0x79: // UTF-8 string (two-byte uint16_t for n follow)
+ {
+ std::uint16_t len{};
+ return get_number(input_format_t::cbor, len) && get_string(input_format_t::cbor, len, result);
+ }
+
+ case 0x7A: // UTF-8 string (four-byte uint32_t for n follow)
+ {
+ std::uint32_t len{};
+ return get_number(input_format_t::cbor, len) && get_string(input_format_t::cbor, len, result);
+ }
+
+ case 0x7B: // UTF-8 string (eight-byte uint64_t for n follow)
+ {
+ std::uint64_t len{};
+ return get_number(input_format_t::cbor, len) && get_string(input_format_t::cbor, len, result);
+ }
+
+ case 0x7F: // UTF-8 string (indefinite length)
+ {
+ while (get() != 0xFF)
+ {
+ string_t chunk;
+ if (!get_cbor_string(chunk))
+ {
+ return false;
+ }
+ result.append(chunk);
+ }
+ return true;
+ }
+
+ default:
+ {
+ auto last_token = get_token_string();
+ return sax->parse_error(chars_read, last_token, parse_error::create(113, chars_read, exception_message(input_format_t::cbor, "expected length specification (0x60-0x7B) or indefinite string type (0x7F); last byte: 0x" + last_token, "string"), BasicJsonType()));
+ }
+ }
+ }
+
+ /*!
+ @brief reads a CBOR byte array
+
+ This function first reads starting bytes to determine the expected
+ byte array length and then copies this number of bytes into the byte array.
+ Additionally, CBOR's byte arrays with indefinite lengths are supported.
+
+ @param[out] result created byte array
+
+ @return whether byte array creation completed
+ */
+ bool get_cbor_binary(binary_t& result)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format_t::cbor, "binary")))
+ {
+ return false;
+ }
+
+ switch (current)
+ {
+ // Binary data (0x00..0x17 bytes follow)
+ case 0x40:
+ case 0x41:
+ case 0x42:
+ case 0x43:
+ case 0x44:
+ case 0x45:
+ case 0x46:
+ case 0x47:
+ case 0x48:
+ case 0x49:
+ case 0x4A:
+ case 0x4B:
+ case 0x4C:
+ case 0x4D:
+ case 0x4E:
+ case 0x4F:
+ case 0x50:
+ case 0x51:
+ case 0x52:
+ case 0x53:
+ case 0x54:
+ case 0x55:
+ case 0x56:
+ case 0x57:
+ {
+ return get_binary(input_format_t::cbor, static_cast<unsigned int>(current) & 0x1Fu, result);
+ }
+
+ case 0x58: // Binary data (one-byte uint8_t for n follows)
+ {
+ std::uint8_t len{};
+ return get_number(input_format_t::cbor, len) &&
+ get_binary(input_format_t::cbor, len, result);
+ }
+
+ case 0x59: // Binary data (two-byte uint16_t for n follow)
+ {
+ std::uint16_t len{};
+ return get_number(input_format_t::cbor, len) &&
+ get_binary(input_format_t::cbor, len, result);
+ }
+
+ case 0x5A: // Binary data (four-byte uint32_t for n follow)
+ {
+ std::uint32_t len{};
+ return get_number(input_format_t::cbor, len) &&
+ get_binary(input_format_t::cbor, len, result);
+ }
+
+ case 0x5B: // Binary data (eight-byte uint64_t for n follow)
+ {
+ std::uint64_t len{};
+ return get_number(input_format_t::cbor, len) &&
+ get_binary(input_format_t::cbor, len, result);
+ }
+
+ case 0x5F: // Binary data (indefinite length)
+ {
+ while (get() != 0xFF)
+ {
+ binary_t chunk;
+ if (!get_cbor_binary(chunk))
+ {
+ return false;
+ }
+ result.insert(result.end(), chunk.begin(), chunk.end());
+ }
+ return true;
+ }
+
+ default:
+ {
+ auto last_token = get_token_string();
+ return sax->parse_error(chars_read, last_token, parse_error::create(113, chars_read, exception_message(input_format_t::cbor, "expected length specification (0x40-0x5B) or indefinite binary array type (0x5F); last byte: 0x" + last_token, "binary"), BasicJsonType()));
+ }
+ }
+ }
+
+ /*!
+ @param[in] len the length of the array or static_cast<std::size_t>(-1) for an
+ array of indefinite size
+ @param[in] tag_handler how CBOR tags should be treated
+ @return whether array creation completed
+ */
+ bool get_cbor_array(const std::size_t len,
+ const cbor_tag_handler_t tag_handler)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->start_array(len)))
+ {
+ return false;
+ }
+
+ if (len != static_cast<std::size_t>(-1))
+ {
+ for (std::size_t i = 0; i < len; ++i)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!parse_cbor_internal(true, tag_handler)))
+ {
+ return false;
+ }
+ }
+ }
+ else
+ {
+ while (get() != 0xFF)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!parse_cbor_internal(false, tag_handler)))
+ {
+ return false;
+ }
+ }
+ }
+
+ return sax->end_array();
+ }
+
+ /*!
+ @param[in] len the length of the object or static_cast<std::size_t>(-1) for an
+ object of indefinite size
+ @param[in] tag_handler how CBOR tags should be treated
+ @return whether object creation completed
+ */
+ bool get_cbor_object(const std::size_t len,
+ const cbor_tag_handler_t tag_handler)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->start_object(len)))
+ {
+ return false;
+ }
+
+ if (len != 0)
+ {
+ string_t key;
+ if (len != static_cast<std::size_t>(-1))
+ {
+ for (std::size_t i = 0; i < len; ++i)
+ {
+ get();
+ if (JSON_HEDLEY_UNLIKELY(!get_cbor_string(key) || !sax->key(key)))
+ {
+ return false;
+ }
+
+ if (JSON_HEDLEY_UNLIKELY(!parse_cbor_internal(true, tag_handler)))
+ {
+ return false;
+ }
+ key.clear();
+ }
+ }
+ else
+ {
+ while (get() != 0xFF)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!get_cbor_string(key) || !sax->key(key)))
+ {
+ return false;
+ }
+
+ if (JSON_HEDLEY_UNLIKELY(!parse_cbor_internal(true, tag_handler)))
+ {
+ return false;
+ }
+ key.clear();
+ }
+ }
+ }
+
+ return sax->end_object();
+ }
+
+ /////////////
+ // MsgPack //
+ /////////////
+
+ /*!
+ @return whether a valid MessagePack value was passed to the SAX parser
+ */
+ bool parse_msgpack_internal()
+ {
+ switch (get())
+ {
+ // EOF
+ case std::char_traits<char_type>::eof():
+ return unexpect_eof(input_format_t::msgpack, "value");
+
+ // positive fixint
+ case 0x00:
+ case 0x01:
+ case 0x02:
+ case 0x03:
+ case 0x04:
+ case 0x05:
+ case 0x06:
+ case 0x07:
+ case 0x08:
+ case 0x09:
+ case 0x0A:
+ case 0x0B:
+ case 0x0C:
+ case 0x0D:
+ case 0x0E:
+ case 0x0F:
+ case 0x10:
+ case 0x11:
+ case 0x12:
+ case 0x13:
+ case 0x14:
+ case 0x15:
+ case 0x16:
+ case 0x17:
+ case 0x18:
+ case 0x19:
+ case 0x1A:
+ case 0x1B:
+ case 0x1C:
+ case 0x1D:
+ case 0x1E:
+ case 0x1F:
+ case 0x20:
+ case 0x21:
+ case 0x22:
+ case 0x23:
+ case 0x24:
+ case 0x25:
+ case 0x26:
+ case 0x27:
+ case 0x28:
+ case 0x29:
+ case 0x2A:
+ case 0x2B:
+ case 0x2C:
+ case 0x2D:
+ case 0x2E:
+ case 0x2F:
+ case 0x30:
+ case 0x31:
+ case 0x32:
+ case 0x33:
+ case 0x34:
+ case 0x35:
+ case 0x36:
+ case 0x37:
+ case 0x38:
+ case 0x39:
+ case 0x3A:
+ case 0x3B:
+ case 0x3C:
+ case 0x3D:
+ case 0x3E:
+ case 0x3F:
+ case 0x40:
+ case 0x41:
+ case 0x42:
+ case 0x43:
+ case 0x44:
+ case 0x45:
+ case 0x46:
+ case 0x47:
+ case 0x48:
+ case 0x49:
+ case 0x4A:
+ case 0x4B:
+ case 0x4C:
+ case 0x4D:
+ case 0x4E:
+ case 0x4F:
+ case 0x50:
+ case 0x51:
+ case 0x52:
+ case 0x53:
+ case 0x54:
+ case 0x55:
+ case 0x56:
+ case 0x57:
+ case 0x58:
+ case 0x59:
+ case 0x5A:
+ case 0x5B:
+ case 0x5C:
+ case 0x5D:
+ case 0x5E:
+ case 0x5F:
+ case 0x60:
+ case 0x61:
+ case 0x62:
+ case 0x63:
+ case 0x64:
+ case 0x65:
+ case 0x66:
+ case 0x67:
+ case 0x68:
+ case 0x69:
+ case 0x6A:
+ case 0x6B:
+ case 0x6C:
+ case 0x6D:
+ case 0x6E:
+ case 0x6F:
+ case 0x70:
+ case 0x71:
+ case 0x72:
+ case 0x73:
+ case 0x74:
+ case 0x75:
+ case 0x76:
+ case 0x77:
+ case 0x78:
+ case 0x79:
+ case 0x7A:
+ case 0x7B:
+ case 0x7C:
+ case 0x7D:
+ case 0x7E:
+ case 0x7F:
+ return sax->number_unsigned(static_cast<number_unsigned_t>(current));
+
+ // fixmap
+ case 0x80:
+ case 0x81:
+ case 0x82:
+ case 0x83:
+ case 0x84:
+ case 0x85:
+ case 0x86:
+ case 0x87:
+ case 0x88:
+ case 0x89:
+ case 0x8A:
+ case 0x8B:
+ case 0x8C:
+ case 0x8D:
+ case 0x8E:
+ case 0x8F:
+ return get_msgpack_object(static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x0Fu));
+
+ // fixarray
+ case 0x90:
+ case 0x91:
+ case 0x92:
+ case 0x93:
+ case 0x94:
+ case 0x95:
+ case 0x96:
+ case 0x97:
+ case 0x98:
+ case 0x99:
+ case 0x9A:
+ case 0x9B:
+ case 0x9C:
+ case 0x9D:
+ case 0x9E:
+ case 0x9F:
+ return get_msgpack_array(static_cast<std::size_t>(static_cast<unsigned int>(current) & 0x0Fu));
+
+ // fixstr
+ case 0xA0:
+ case 0xA1:
+ case 0xA2:
+ case 0xA3:
+ case 0xA4:
+ case 0xA5:
+ case 0xA6:
+ case 0xA7:
+ case 0xA8:
+ case 0xA9:
+ case 0xAA:
+ case 0xAB:
+ case 0xAC:
+ case 0xAD:
+ case 0xAE:
+ case 0xAF:
+ case 0xB0:
+ case 0xB1:
+ case 0xB2:
+ case 0xB3:
+ case 0xB4:
+ case 0xB5:
+ case 0xB6:
+ case 0xB7:
+ case 0xB8:
+ case 0xB9:
+ case 0xBA:
+ case 0xBB:
+ case 0xBC:
+ case 0xBD:
+ case 0xBE:
+ case 0xBF:
+ case 0xD9: // str 8
+ case 0xDA: // str 16
+ case 0xDB: // str 32
+ {
+ string_t s;
+ return get_msgpack_string(s) && sax->string(s);
+ }
+
+ case 0xC0: // nil
+ return sax->null();
+
+ case 0xC2: // false
+ return sax->boolean(false);
+
+ case 0xC3: // true
+ return sax->boolean(true);
+
+ case 0xC4: // bin 8
+ case 0xC5: // bin 16
+ case 0xC6: // bin 32
+ case 0xC7: // ext 8
+ case 0xC8: // ext 16
+ case 0xC9: // ext 32
+ case 0xD4: // fixext 1
+ case 0xD5: // fixext 2
+ case 0xD6: // fixext 4
+ case 0xD7: // fixext 8
+ case 0xD8: // fixext 16
+ {
+ binary_t b;
+ return get_msgpack_binary(b) && sax->binary(b);
+ }
+
+ case 0xCA: // float 32
+ {
+ float number{};
+ return get_number(input_format_t::msgpack, number) && sax->number_float(static_cast<number_float_t>(number), "");
+ }
+
+ case 0xCB: // float 64
+ {
+ double number{};
+ return get_number(input_format_t::msgpack, number) && sax->number_float(static_cast<number_float_t>(number), "");
+ }
+
+ case 0xCC: // uint 8
+ {
+ std::uint8_t number{};
+ return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number);
+ }
+
+ case 0xCD: // uint 16
+ {
+ std::uint16_t number{};
+ return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number);
+ }
+
+ case 0xCE: // uint 32
+ {
+ std::uint32_t number{};
+ return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number);
+ }
+
+ case 0xCF: // uint 64
+ {
+ std::uint64_t number{};
+ return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number);
+ }
+
+ case 0xD0: // int 8
+ {
+ std::int8_t number{};
+ return get_number(input_format_t::msgpack, number) && sax->number_integer(number);
+ }
+
+ case 0xD1: // int 16
+ {
+ std::int16_t number{};
+ return get_number(input_format_t::msgpack, number) && sax->number_integer(number);
+ }
+
+ case 0xD2: // int 32
+ {
+ std::int32_t number{};
+ return get_number(input_format_t::msgpack, number) && sax->number_integer(number);
+ }
+
+ case 0xD3: // int 64
+ {
+ std::int64_t number{};
+ return get_number(input_format_t::msgpack, number) && sax->number_integer(number);
+ }
+
+ case 0xDC: // array 16
+ {
+ std::uint16_t len{};
+ return get_number(input_format_t::msgpack, len) && get_msgpack_array(static_cast<std::size_t>(len));
+ }
+
+ case 0xDD: // array 32
+ {
+ std::uint32_t len{};
+ return get_number(input_format_t::msgpack, len) && get_msgpack_array(static_cast<std::size_t>(len));
+ }
+
+ case 0xDE: // map 16
+ {
+ std::uint16_t len{};
+ return get_number(input_format_t::msgpack, len) && get_msgpack_object(static_cast<std::size_t>(len));
+ }
+
+ case 0xDF: // map 32
+ {
+ std::uint32_t len{};
+ return get_number(input_format_t::msgpack, len) && get_msgpack_object(static_cast<std::size_t>(len));
+ }
+
+ // negative fixint
+ case 0xE0:
+ case 0xE1:
+ case 0xE2:
+ case 0xE3:
+ case 0xE4:
+ case 0xE5:
+ case 0xE6:
+ case 0xE7:
+ case 0xE8:
+ case 0xE9:
+ case 0xEA:
+ case 0xEB:
+ case 0xEC:
+ case 0xED:
+ case 0xEE:
+ case 0xEF:
+ case 0xF0:
+ case 0xF1:
+ case 0xF2:
+ case 0xF3:
+ case 0xF4:
+ case 0xF5:
+ case 0xF6:
+ case 0xF7:
+ case 0xF8:
+ case 0xF9:
+ case 0xFA:
+ case 0xFB:
+ case 0xFC:
+ case 0xFD:
+ case 0xFE:
+ case 0xFF:
+ return sax->number_integer(static_cast<std::int8_t>(current));
+
+ default: // anything else
+ {
+ auto last_token = get_token_string();
+ return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_message(input_format_t::msgpack, "invalid byte: 0x" + last_token, "value"), BasicJsonType()));
+ }
+ }
+ }
+
+ /*!
+ @brief reads a MessagePack string
+
+ This function first reads starting bytes to determine the expected
+ string length and then copies this number of bytes into a string.
+
+ @param[out] result created string
+
+ @return whether string creation completed
+ */
+ bool get_msgpack_string(string_t& result)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format_t::msgpack, "string")))
+ {
+ return false;
+ }
+
+ switch (current)
+ {
+ // fixstr
+ case 0xA0:
+ case 0xA1:
+ case 0xA2:
+ case 0xA3:
+ case 0xA4:
+ case 0xA5:
+ case 0xA6:
+ case 0xA7:
+ case 0xA8:
+ case 0xA9:
+ case 0xAA:
+ case 0xAB:
+ case 0xAC:
+ case 0xAD:
+ case 0xAE:
+ case 0xAF:
+ case 0xB0:
+ case 0xB1:
+ case 0xB2:
+ case 0xB3:
+ case 0xB4:
+ case 0xB5:
+ case 0xB6:
+ case 0xB7:
+ case 0xB8:
+ case 0xB9:
+ case 0xBA:
+ case 0xBB:
+ case 0xBC:
+ case 0xBD:
+ case 0xBE:
+ case 0xBF:
+ {
+ return get_string(input_format_t::msgpack, static_cast<unsigned int>(current) & 0x1Fu, result);
+ }
+
+ case 0xD9: // str 8
+ {
+ std::uint8_t len{};
+ return get_number(input_format_t::msgpack, len) && get_string(input_format_t::msgpack, len, result);
+ }
+
+ case 0xDA: // str 16
+ {
+ std::uint16_t len{};
+ return get_number(input_format_t::msgpack, len) && get_string(input_format_t::msgpack, len, result);
+ }
+
+ case 0xDB: // str 32
+ {
+ std::uint32_t len{};
+ return get_number(input_format_t::msgpack, len) && get_string(input_format_t::msgpack, len, result);
+ }
+
+ default:
+ {
+ auto last_token = get_token_string();
+ return sax->parse_error(chars_read, last_token, parse_error::create(113, chars_read, exception_message(input_format_t::msgpack, "expected length specification (0xA0-0xBF, 0xD9-0xDB); last byte: 0x" + last_token, "string"), BasicJsonType()));
+ }
+ }
+ }
+
+ /*!
+ @brief reads a MessagePack byte array
+
+ This function first reads starting bytes to determine the expected
+ byte array length and then copies this number of bytes into a byte array.
+
+ @param[out] result created byte array
+
+ @return whether byte array creation completed
+ */
+ bool get_msgpack_binary(binary_t& result)
+ {
+ // helper function to set the subtype
+ auto assign_and_return_true = [&result](std::int8_t subtype)
+ {
+ result.set_subtype(static_cast<std::uint8_t>(subtype));
+ return true;
+ };
+
+ switch (current)
+ {
+ case 0xC4: // bin 8
+ {
+ std::uint8_t len{};
+ return get_number(input_format_t::msgpack, len) &&
+ get_binary(input_format_t::msgpack, len, result);
+ }
+
+ case 0xC5: // bin 16
+ {
+ std::uint16_t len{};
+ return get_number(input_format_t::msgpack, len) &&
+ get_binary(input_format_t::msgpack, len, result);
+ }
+
+ case 0xC6: // bin 32
+ {
+ std::uint32_t len{};
+ return get_number(input_format_t::msgpack, len) &&
+ get_binary(input_format_t::msgpack, len, result);
+ }
+
+ case 0xC7: // ext 8
+ {
+ std::uint8_t len{};
+ std::int8_t subtype{};
+ return get_number(input_format_t::msgpack, len) &&
+ get_number(input_format_t::msgpack, subtype) &&
+ get_binary(input_format_t::msgpack, len, result) &&
+ assign_and_return_true(subtype);
+ }
+
+ case 0xC8: // ext 16
+ {
+ std::uint16_t len{};
+ std::int8_t subtype{};
+ return get_number(input_format_t::msgpack, len) &&
+ get_number(input_format_t::msgpack, subtype) &&
+ get_binary(input_format_t::msgpack, len, result) &&
+ assign_and_return_true(subtype);
+ }
+
+ case 0xC9: // ext 32
+ {
+ std::uint32_t len{};
+ std::int8_t subtype{};
+ return get_number(input_format_t::msgpack, len) &&
+ get_number(input_format_t::msgpack, subtype) &&
+ get_binary(input_format_t::msgpack, len, result) &&
+ assign_and_return_true(subtype);
+ }
+
+ case 0xD4: // fixext 1
+ {
+ std::int8_t subtype{};
+ return get_number(input_format_t::msgpack, subtype) &&
+ get_binary(input_format_t::msgpack, 1, result) &&
+ assign_and_return_true(subtype);
+ }
+
+ case 0xD5: // fixext 2
+ {
+ std::int8_t subtype{};
+ return get_number(input_format_t::msgpack, subtype) &&
+ get_binary(input_format_t::msgpack, 2, result) &&
+ assign_and_return_true(subtype);
+ }
+
+ case 0xD6: // fixext 4
+ {
+ std::int8_t subtype{};
+ return get_number(input_format_t::msgpack, subtype) &&
+ get_binary(input_format_t::msgpack, 4, result) &&
+ assign_and_return_true(subtype);
+ }
+
+ case 0xD7: // fixext 8
+ {
+ std::int8_t subtype{};
+ return get_number(input_format_t::msgpack, subtype) &&
+ get_binary(input_format_t::msgpack, 8, result) &&
+ assign_and_return_true(subtype);
+ }
+
+ case 0xD8: // fixext 16
+ {
+ std::int8_t subtype{};
+ return get_number(input_format_t::msgpack, subtype) &&
+ get_binary(input_format_t::msgpack, 16, result) &&
+ assign_and_return_true(subtype);
+ }
+
+ default: // LCOV_EXCL_LINE
+ return false; // LCOV_EXCL_LINE
+ }
+ }
+
+ /*!
+ @param[in] len the length of the array
+ @return whether array creation completed
+ */
+ bool get_msgpack_array(const std::size_t len)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->start_array(len)))
+ {
+ return false;
+ }
+
+ for (std::size_t i = 0; i < len; ++i)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!parse_msgpack_internal()))
+ {
+ return false;
+ }
+ }
+
+ return sax->end_array();
+ }
+
+ /*!
+ @param[in] len the length of the object
+ @return whether object creation completed
+ */
+ bool get_msgpack_object(const std::size_t len)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->start_object(len)))
+ {
+ return false;
+ }
+
+ string_t key;
+ for (std::size_t i = 0; i < len; ++i)
+ {
+ get();
+ if (JSON_HEDLEY_UNLIKELY(!get_msgpack_string(key) || !sax->key(key)))
+ {
+ return false;
+ }
+
+ if (JSON_HEDLEY_UNLIKELY(!parse_msgpack_internal()))
+ {
+ return false;
+ }
+ key.clear();
+ }
+
+ return sax->end_object();
+ }
+
+ ////////////
+ // UBJSON //
+ ////////////
+
+ /*!
+ @param[in] get_char whether a new character should be retrieved from the
+ input (true, default) or whether the last read
+ character should be considered instead
+
+ @return whether a valid UBJSON value was passed to the SAX parser
+ */
+ bool parse_ubjson_internal(const bool get_char = true)
+ {
+ return get_ubjson_value(get_char ? get_ignore_noop() : current);
+ }
+
+ /*!
+ @brief reads a UBJSON string
+
+ This function is either called after reading the 'S' byte explicitly
+ indicating a string, or in case of an object key where the 'S' byte can be
+ left out.
+
+ @param[out] result created string
+ @param[in] get_char whether a new character should be retrieved from the
+ input (true, default) or whether the last read
+ character should be considered instead
+
+ @return whether string creation completed
+ */
+ bool get_ubjson_string(string_t& result, const bool get_char = true)
+ {
+ if (get_char)
+ {
+ get(); // TODO(niels): may we ignore N here?
+ }
+
+ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format_t::ubjson, "value")))
+ {
+ return false;
+ }
+
+ switch (current)
+ {
+ case 'U':
+ {
+ std::uint8_t len{};
+ return get_number(input_format_t::ubjson, len) && get_string(input_format_t::ubjson, len, result);
+ }
+
+ case 'i':
+ {
+ std::int8_t len{};
+ return get_number(input_format_t::ubjson, len) && get_string(input_format_t::ubjson, len, result);
+ }
+
+ case 'I':
+ {
+ std::int16_t len{};
+ return get_number(input_format_t::ubjson, len) && get_string(input_format_t::ubjson, len, result);
+ }
+
+ case 'l':
+ {
+ std::int32_t len{};
+ return get_number(input_format_t::ubjson, len) && get_string(input_format_t::ubjson, len, result);
+ }
+
+ case 'L':
+ {
+ std::int64_t len{};
+ return get_number(input_format_t::ubjson, len) && get_string(input_format_t::ubjson, len, result);
+ }
+
+ default:
+ auto last_token = get_token_string();
+ return sax->parse_error(chars_read, last_token, parse_error::create(113, chars_read, exception_message(input_format_t::ubjson, "expected length type specification (U, i, I, l, L); last byte: 0x" + last_token, "string"), BasicJsonType()));
+ }
+ }
+
+ /*!
+ @param[out] result determined size
+ @return whether size determination completed
+ */
+ bool get_ubjson_size_value(std::size_t& result)
+ {
+ switch (get_ignore_noop())
+ {
+ case 'U':
+ {
+ std::uint8_t number{};
+ if (JSON_HEDLEY_UNLIKELY(!get_number(input_format_t::ubjson, number)))
+ {
+ return false;
+ }
+ result = static_cast<std::size_t>(number);
+ return true;
+ }
+
+ case 'i':
+ {
+ std::int8_t number{};
+ if (JSON_HEDLEY_UNLIKELY(!get_number(input_format_t::ubjson, number)))
+ {
+ return false;
+ }
+ result = static_cast<std::size_t>(number); // NOLINT(bugprone-signed-char-misuse,cert-str34-c): number is not a char
+ return true;
+ }
+
+ case 'I':
+ {
+ std::int16_t number{};
+ if (JSON_HEDLEY_UNLIKELY(!get_number(input_format_t::ubjson, number)))
+ {
+ return false;
+ }
+ result = static_cast<std::size_t>(number);
+ return true;
+ }
+
+ case 'l':
+ {
+ std::int32_t number{};
+ if (JSON_HEDLEY_UNLIKELY(!get_number(input_format_t::ubjson, number)))
+ {
+ return false;
+ }
+ result = static_cast<std::size_t>(number);
+ return true;
+ }
+
+ case 'L':
+ {
+ std::int64_t number{};
+ if (JSON_HEDLEY_UNLIKELY(!get_number(input_format_t::ubjson, number)))
+ {
+ return false;
+ }
+ result = static_cast<std::size_t>(number);
+ return true;
+ }
+
+ default:
+ {
+ auto last_token = get_token_string();
+ return sax->parse_error(chars_read, last_token, parse_error::create(113, chars_read, exception_message(input_format_t::ubjson, "expected length type specification (U, i, I, l, L) after '#'; last byte: 0x" + last_token, "size"), BasicJsonType()));
+ }
+ }
+ }
+
+ /*!
+ @brief determine the type and size for a container
+
+ In the optimized UBJSON format, a type and a size can be provided to allow
+ for a more compact representation.
+
+ @param[out] result pair of the size and the type
+
+ @return whether pair creation completed
+ */
+ bool get_ubjson_size_type(std::pair<std::size_t, char_int_type>& result)
+ {
+ result.first = string_t::npos; // size
+ result.second = 0; // type
+
+ get_ignore_noop();
+
+ if (current == '$')
+ {
+ result.second = get(); // must not ignore 'N', because 'N' maybe the type
+ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format_t::ubjson, "type")))
+ {
+ return false;
+ }
+
+ get_ignore_noop();
+ if (JSON_HEDLEY_UNLIKELY(current != '#'))
+ {
+ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format_t::ubjson, "value")))
+ {
+ return false;
+ }
+ auto last_token = get_token_string();
+ return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_message(input_format_t::ubjson, "expected '#' after type information; last byte: 0x" + last_token, "size"), BasicJsonType()));
+ }
+
+ return get_ubjson_size_value(result.first);
+ }
+
+ if (current == '#')
+ {
+ return get_ubjson_size_value(result.first);
+ }
+
+ return true;
+ }
+
+ /*!
+ @param prefix the previously read or set type prefix
+ @return whether value creation completed
+ */
+ bool get_ubjson_value(const char_int_type prefix)
+ {
+ switch (prefix)
+ {
+ case std::char_traits<char_type>::eof(): // EOF
+ return unexpect_eof(input_format_t::ubjson, "value");
+
+ case 'T': // true
+ return sax->boolean(true);
+ case 'F': // false
+ return sax->boolean(false);
+
+ case 'Z': // null
+ return sax->null();
+
+ case 'U':
+ {
+ std::uint8_t number{};
+ return get_number(input_format_t::ubjson, number) && sax->number_unsigned(number);
+ }
+
+ case 'i':
+ {
+ std::int8_t number{};
+ return get_number(input_format_t::ubjson, number) && sax->number_integer(number);
+ }
+
+ case 'I':
+ {
+ std::int16_t number{};
+ return get_number(input_format_t::ubjson, number) && sax->number_integer(number);
+ }
+
+ case 'l':
+ {
+ std::int32_t number{};
+ return get_number(input_format_t::ubjson, number) && sax->number_integer(number);
+ }
+
+ case 'L':
+ {
+ std::int64_t number{};
+ return get_number(input_format_t::ubjson, number) && sax->number_integer(number);
+ }
+
+ case 'd':
+ {
+ float number{};
+ return get_number(input_format_t::ubjson, number) && sax->number_float(static_cast<number_float_t>(number), "");
+ }
+
+ case 'D':
+ {
+ double number{};
+ return get_number(input_format_t::ubjson, number) && sax->number_float(static_cast<number_float_t>(number), "");
+ }
+
+ case 'H':
+ {
+ return get_ubjson_high_precision_number();
+ }
+
+ case 'C': // char
+ {
+ get();
+ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format_t::ubjson, "char")))
+ {
+ return false;
+ }
+ if (JSON_HEDLEY_UNLIKELY(current > 127))
+ {
+ auto last_token = get_token_string();
+ return sax->parse_error(chars_read, last_token, parse_error::create(113, chars_read, exception_message(input_format_t::ubjson, "byte after 'C' must be in range 0x00..0x7F; last byte: 0x" + last_token, "char"), BasicJsonType()));
+ }
+ string_t s(1, static_cast<typename string_t::value_type>(current));
+ return sax->string(s);
+ }
+
+ case 'S': // string
+ {
+ string_t s;
+ return get_ubjson_string(s) && sax->string(s);
+ }
+
+ case '[': // array
+ return get_ubjson_array();
+
+ case '{': // object
+ return get_ubjson_object();
+
+ default: // anything else
+ {
+ auto last_token = get_token_string();
+ return sax->parse_error(chars_read, last_token, parse_error::create(112, chars_read, exception_message(input_format_t::ubjson, "invalid byte: 0x" + last_token, "value"), BasicJsonType()));
+ }
+ }
+ }
+
+ /*!
+ @return whether array creation completed
+ */
+ bool get_ubjson_array()
+ {
+ std::pair<std::size_t, char_int_type> size_and_type;
+ if (JSON_HEDLEY_UNLIKELY(!get_ubjson_size_type(size_and_type)))
+ {
+ return false;
+ }
+
+ if (size_and_type.first != string_t::npos)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->start_array(size_and_type.first)))
+ {
+ return false;
+ }
+
+ if (size_and_type.second != 0)
+ {
+ if (size_and_type.second != 'N')
+ {
+ for (std::size_t i = 0; i < size_and_type.first; ++i)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!get_ubjson_value(size_and_type.second)))
+ {
+ return false;
+ }
+ }
+ }
+ }
+ else
+ {
+ for (std::size_t i = 0; i < size_and_type.first; ++i)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!parse_ubjson_internal()))
+ {
+ return false;
+ }
+ }
+ }
+ }
+ else
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->start_array(static_cast<std::size_t>(-1))))
+ {
+ return false;
+ }
+
+ while (current != ']')
+ {
+ if (JSON_HEDLEY_UNLIKELY(!parse_ubjson_internal(false)))
+ {
+ return false;
+ }
+ get_ignore_noop();
+ }
+ }
+
+ return sax->end_array();
+ }
+
+ /*!
+ @return whether object creation completed
+ */
+ bool get_ubjson_object()
+ {
+ std::pair<std::size_t, char_int_type> size_and_type;
+ if (JSON_HEDLEY_UNLIKELY(!get_ubjson_size_type(size_and_type)))
+ {
+ return false;
+ }
+
+ string_t key;
+ if (size_and_type.first != string_t::npos)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->start_object(size_and_type.first)))
+ {
+ return false;
+ }
+
+ if (size_and_type.second != 0)
+ {
+ for (std::size_t i = 0; i < size_and_type.first; ++i)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!get_ubjson_string(key) || !sax->key(key)))
+ {
+ return false;
+ }
+ if (JSON_HEDLEY_UNLIKELY(!get_ubjson_value(size_and_type.second)))
+ {
+ return false;
+ }
+ key.clear();
+ }
+ }
+ else
+ {
+ for (std::size_t i = 0; i < size_and_type.first; ++i)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!get_ubjson_string(key) || !sax->key(key)))
+ {
+ return false;
+ }
+ if (JSON_HEDLEY_UNLIKELY(!parse_ubjson_internal()))
+ {
+ return false;
+ }
+ key.clear();
+ }
+ }
+ }
+ else
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->start_object(static_cast<std::size_t>(-1))))
+ {
+ return false;
+ }
+
+ while (current != '}')
+ {
+ if (JSON_HEDLEY_UNLIKELY(!get_ubjson_string(key, false) || !sax->key(key)))
+ {
+ return false;
+ }
+ if (JSON_HEDLEY_UNLIKELY(!parse_ubjson_internal()))
+ {
+ return false;
+ }
+ get_ignore_noop();
+ key.clear();
+ }
+ }
+
+ return sax->end_object();
+ }
+
+ // Note, no reader for UBJSON binary types is implemented because they do
+ // not exist
+
+ bool get_ubjson_high_precision_number()
+ {
+ // get size of following number string
+ std::size_t size{};
+ auto res = get_ubjson_size_value(size);
+ if (JSON_HEDLEY_UNLIKELY(!res))
+ {
+ return res;
+ }
+
+ // get number string
+ std::vector<char> number_vector;
+ for (std::size_t i = 0; i < size; ++i)
+ {
+ get();
+ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(input_format_t::ubjson, "number")))
+ {
+ return false;
+ }
+ number_vector.push_back(static_cast<char>(current));
+ }
+
+ // parse number string
+ using ia_type = decltype(detail::input_adapter(number_vector));
+ auto number_lexer = detail::lexer<BasicJsonType, ia_type>(detail::input_adapter(number_vector), false);
+ const auto result_number = number_lexer.scan();
+ const auto number_string = number_lexer.get_token_string();
+ const auto result_remainder = number_lexer.scan();
+
+ using token_type = typename detail::lexer_base<BasicJsonType>::token_type;
+
+ if (JSON_HEDLEY_UNLIKELY(result_remainder != token_type::end_of_input))
+ {
+ return sax->parse_error(chars_read, number_string, parse_error::create(115, chars_read, exception_message(input_format_t::ubjson, "invalid number text: " + number_lexer.get_token_string(), "high-precision number"), BasicJsonType()));
+ }
+
+ switch (result_number)
+ {
+ case token_type::value_integer:
+ return sax->number_integer(number_lexer.get_number_integer());
+ case token_type::value_unsigned:
+ return sax->number_unsigned(number_lexer.get_number_unsigned());
+ case token_type::value_float:
+ return sax->number_float(number_lexer.get_number_float(), std::move(number_string));
+ case token_type::uninitialized:
+ case token_type::literal_true:
+ case token_type::literal_false:
+ case token_type::literal_null:
+ case token_type::value_string:
+ case token_type::begin_array:
+ case token_type::begin_object:
+ case token_type::end_array:
+ case token_type::end_object:
+ case token_type::name_separator:
+ case token_type::value_separator:
+ case token_type::parse_error:
+ case token_type::end_of_input:
+ case token_type::literal_or_value:
+ default:
+ return sax->parse_error(chars_read, number_string, parse_error::create(115, chars_read, exception_message(input_format_t::ubjson, "invalid number text: " + number_lexer.get_token_string(), "high-precision number"), BasicJsonType()));
+ }
+ }
+
+ ///////////////////////
+ // Utility functions //
+ ///////////////////////
+
+ /*!
+ @brief get next character from the input
+
+ This function provides the interface to the used input adapter. It does
+ not throw in case the input reached EOF, but returns a -'ve valued
+ `std::char_traits<char_type>::eof()` in that case.
+
+ @return character read from the input
+ */
+ char_int_type get()
+ {
+ ++chars_read;
+ return current = ia.get_character();
+ }
+
+ /*!
+ @return character read from the input after ignoring all 'N' entries
+ */
+ char_int_type get_ignore_noop()
+ {
+ do
+ {
+ get();
+ }
+ while (current == 'N');
+
+ return current;
+ }
+
+ /*
+ @brief read a number from the input
+
+ @tparam NumberType the type of the number
+ @param[in] format the current format (for diagnostics)
+ @param[out] result number of type @a NumberType
+
+ @return whether conversion completed
+
+ @note This function needs to respect the system's endianness, because
+ bytes in CBOR, MessagePack, and UBJSON are stored in network order
+ (big endian) and therefore need reordering on little endian systems.
+ */
+ template<typename NumberType, bool InputIsLittleEndian = false>
+ bool get_number(const input_format_t format, NumberType& result)
+ {
+ // step 1: read input into array with system's byte order
+ std::array<std::uint8_t, sizeof(NumberType)> vec{};
+ for (std::size_t i = 0; i < sizeof(NumberType); ++i)
+ {
+ get();
+ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(format, "number")))
+ {
+ return false;
+ }
+
+ // reverse byte order prior to conversion if necessary
+ if (is_little_endian != InputIsLittleEndian)
+ {
+ vec[sizeof(NumberType) - i - 1] = static_cast<std::uint8_t>(current);
+ }
+ else
+ {
+ vec[i] = static_cast<std::uint8_t>(current); // LCOV_EXCL_LINE
+ }
+ }
+
+ // step 2: convert array into number of type T and return
+ std::memcpy(&result, vec.data(), sizeof(NumberType));
+ return true;
+ }
+
+ /*!
+ @brief create a string by reading characters from the input
+
+ @tparam NumberType the type of the number
+ @param[in] format the current format (for diagnostics)
+ @param[in] len number of characters to read
+ @param[out] result string created by reading @a len bytes
+
+ @return whether string creation completed
+
+ @note We can not reserve @a len bytes for the result, because @a len
+ may be too large. Usually, @ref unexpect_eof() detects the end of
+ the input before we run out of string memory.
+ */
+ template<typename NumberType>
+ bool get_string(const input_format_t format,
+ const NumberType len,
+ string_t& result)
+ {
+ bool success = true;
+ for (NumberType i = 0; i < len; i++)
+ {
+ get();
+ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(format, "string")))
+ {
+ success = false;
+ break;
+ }
+ result.push_back(static_cast<typename string_t::value_type>(current));
+ }
+ return success;
+ }
+
+ /*!
+ @brief create a byte array by reading bytes from the input
+
+ @tparam NumberType the type of the number
+ @param[in] format the current format (for diagnostics)
+ @param[in] len number of bytes to read
+ @param[out] result byte array created by reading @a len bytes
+
+ @return whether byte array creation completed
+
+ @note We can not reserve @a len bytes for the result, because @a len
+ may be too large. Usually, @ref unexpect_eof() detects the end of
+ the input before we run out of memory.
+ */
+ template<typename NumberType>
+ bool get_binary(const input_format_t format,
+ const NumberType len,
+ binary_t& result)
+ {
+ bool success = true;
+ for (NumberType i = 0; i < len; i++)
+ {
+ get();
+ if (JSON_HEDLEY_UNLIKELY(!unexpect_eof(format, "binary")))
+ {
+ success = false;
+ break;
+ }
+ result.push_back(static_cast<std::uint8_t>(current));
+ }
+ return success;
+ }
+
+ /*!
+ @param[in] format the current format (for diagnostics)
+ @param[in] context further context information (for diagnostics)
+ @return whether the last read character is not EOF
+ */
+ JSON_HEDLEY_NON_NULL(3)
+ bool unexpect_eof(const input_format_t format, const char* context) const
+ {
+ if (JSON_HEDLEY_UNLIKELY(current == std::char_traits<char_type>::eof()))
+ {
+ return sax->parse_error(chars_read, "<end of file>",
+ parse_error::create(110, chars_read, exception_message(format, "unexpected end of input", context), BasicJsonType()));
+ }
+ return true;
+ }
+
+ /*!
+ @return a string representation of the last read byte
+ */
+ std::string get_token_string() const
+ {
+ std::array<char, 3> cr{{}};
+ static_cast<void>((std::snprintf)(cr.data(), cr.size(), "%.2hhX", static_cast<unsigned char>(current))); // NOLINT(cppcoreguidelines-pro-type-vararg,hicpp-vararg)
+ return std::string{cr.data()};
+ }
+
+ /*!
+ @param[in] format the current format
+ @param[in] detail a detailed error message
+ @param[in] context further context information
+ @return a message string to use in the parse_error exceptions
+ */
+ std::string exception_message(const input_format_t format,
+ const std::string& detail,
+ const std::string& context) const
+ {
+ std::string error_msg = "syntax error while parsing ";
+
+ switch (format)
+ {
+ case input_format_t::cbor:
+ error_msg += "CBOR";
+ break;
+
+ case input_format_t::msgpack:
+ error_msg += "MessagePack";
+ break;
+
+ case input_format_t::ubjson:
+ error_msg += "UBJSON";
+ break;
+
+ case input_format_t::bson:
+ error_msg += "BSON";
+ break;
+
+ case input_format_t::json: // LCOV_EXCL_LINE
+ default: // LCOV_EXCL_LINE
+ JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
+ }
+
+ return error_msg + " " + context + ": " + detail;
+ }
+
+ private:
+ /// input adapter
+ InputAdapterType ia;
+
+ /// the current character
+ char_int_type current = std::char_traits<char_type>::eof();
+
+ /// the number of characters read
+ std::size_t chars_read = 0;
+
+ /// whether we can assume little endianness
+ const bool is_little_endian = little_endianness();
+
+ /// the SAX parser
+ json_sax_t* sax = nullptr;
+};
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/input/input_adapters.hpp>
+
+// #include <nlohmann/detail/input/lexer.hpp>
+
+// #include <nlohmann/detail/input/parser.hpp>
+
+
+#include <cmath> // isfinite
+#include <cstdint> // uint8_t
+#include <functional> // function
+#include <string> // string
+#include <utility> // move
+#include <vector> // vector
+
+// #include <nlohmann/detail/exceptions.hpp>
+
+// #include <nlohmann/detail/input/input_adapters.hpp>
+
+// #include <nlohmann/detail/input/json_sax.hpp>
+
+// #include <nlohmann/detail/input/lexer.hpp>
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+// #include <nlohmann/detail/meta/is_sax.hpp>
+
+// #include <nlohmann/detail/value_t.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+////////////
+// parser //
+////////////
+
+enum class parse_event_t : std::uint8_t
+{
+ /// the parser read `{` and started to process a JSON object
+ object_start,
+ /// the parser read `}` and finished processing a JSON object
+ object_end,
+ /// the parser read `[` and started to process a JSON array
+ array_start,
+ /// the parser read `]` and finished processing a JSON array
+ array_end,
+ /// the parser read a key of a value in an object
+ key,
+ /// the parser finished reading a JSON value
+ value
+};
+
+template<typename BasicJsonType>
+using parser_callback_t =
+ std::function<bool(int /*depth*/, parse_event_t /*event*/, BasicJsonType& /*parsed*/)>;
+
+/*!
+@brief syntax analysis
+
+This class implements a recursive descent parser.
+*/
+template<typename BasicJsonType, typename InputAdapterType>
+class parser
+{
+ using number_integer_t = typename BasicJsonType::number_integer_t;
+ using number_unsigned_t = typename BasicJsonType::number_unsigned_t;
+ using number_float_t = typename BasicJsonType::number_float_t;
+ using string_t = typename BasicJsonType::string_t;
+ using lexer_t = lexer<BasicJsonType, InputAdapterType>;
+ using token_type = typename lexer_t::token_type;
+
+ public:
+ /// a parser reading from an input adapter
+ explicit parser(InputAdapterType&& adapter,
+ const parser_callback_t<BasicJsonType> cb = nullptr,
+ const bool allow_exceptions_ = true,
+ const bool skip_comments = false)
+ : callback(cb)
+ , m_lexer(std::move(adapter), skip_comments)
+ , allow_exceptions(allow_exceptions_)
+ {
+ // read first token
+ get_token();
+ }
+
+ /*!
+ @brief public parser interface
+
+ @param[in] strict whether to expect the last token to be EOF
+ @param[in,out] result parsed JSON value
+
+ @throw parse_error.101 in case of an unexpected token
+ @throw parse_error.102 if to_unicode fails or surrogate error
+ @throw parse_error.103 if to_unicode fails
+ */
+ void parse(const bool strict, BasicJsonType& result)
+ {
+ if (callback)
+ {
+ json_sax_dom_callback_parser<BasicJsonType> sdp(result, callback, allow_exceptions);
+ sax_parse_internal(&sdp);
+
+ // in strict mode, input must be completely read
+ if (strict && (get_token() != token_type::end_of_input))
+ {
+ sdp.parse_error(m_lexer.get_position(),
+ m_lexer.get_token_string(),
+ parse_error::create(101, m_lexer.get_position(),
+ exception_message(token_type::end_of_input, "value"), BasicJsonType()));
+ }
+
+ // in case of an error, return discarded value
+ if (sdp.is_errored())
+ {
+ result = value_t::discarded;
+ return;
+ }
+
+ // set top-level value to null if it was discarded by the callback
+ // function
+ if (result.is_discarded())
+ {
+ result = nullptr;
+ }
+ }
+ else
+ {
+ json_sax_dom_parser<BasicJsonType> sdp(result, allow_exceptions);
+ sax_parse_internal(&sdp);
+
+ // in strict mode, input must be completely read
+ if (strict && (get_token() != token_type::end_of_input))
+ {
+ sdp.parse_error(m_lexer.get_position(),
+ m_lexer.get_token_string(),
+ parse_error::create(101, m_lexer.get_position(), exception_message(token_type::end_of_input, "value"), BasicJsonType()));
+ }
+
+ // in case of an error, return discarded value
+ if (sdp.is_errored())
+ {
+ result = value_t::discarded;
+ return;
+ }
+ }
+
+ result.assert_invariant();
+ }
+
+ /*!
+ @brief public accept interface
+
+ @param[in] strict whether to expect the last token to be EOF
+ @return whether the input is a proper JSON text
+ */
+ bool accept(const bool strict = true)
+ {
+ json_sax_acceptor<BasicJsonType> sax_acceptor;
+ return sax_parse(&sax_acceptor, strict);
+ }
+
+ template<typename SAX>
+ JSON_HEDLEY_NON_NULL(2)
+ bool sax_parse(SAX* sax, const bool strict = true)
+ {
+ (void)detail::is_sax_static_asserts<SAX, BasicJsonType> {};
+ const bool result = sax_parse_internal(sax);
+
+ // strict mode: next byte must be EOF
+ if (result && strict && (get_token() != token_type::end_of_input))
+ {
+ return sax->parse_error(m_lexer.get_position(),
+ m_lexer.get_token_string(),
+ parse_error::create(101, m_lexer.get_position(), exception_message(token_type::end_of_input, "value"), BasicJsonType()));
+ }
+
+ return result;
+ }
+
+ private:
+ template<typename SAX>
+ JSON_HEDLEY_NON_NULL(2)
+ bool sax_parse_internal(SAX* sax)
+ {
+ // stack to remember the hierarchy of structured values we are parsing
+ // true = array; false = object
+ std::vector<bool> states;
+ // value to avoid a goto (see comment where set to true)
+ bool skip_to_state_evaluation = false;
+
+ while (true)
+ {
+ if (!skip_to_state_evaluation)
+ {
+ // invariant: get_token() was called before each iteration
+ switch (last_token)
+ {
+ case token_type::begin_object:
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->start_object(static_cast<std::size_t>(-1))))
+ {
+ return false;
+ }
+
+ // closing } -> we are done
+ if (get_token() == token_type::end_object)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->end_object()))
+ {
+ return false;
+ }
+ break;
+ }
+
+ // parse key
+ if (JSON_HEDLEY_UNLIKELY(last_token != token_type::value_string))
+ {
+ return sax->parse_error(m_lexer.get_position(),
+ m_lexer.get_token_string(),
+ parse_error::create(101, m_lexer.get_position(), exception_message(token_type::value_string, "object key"), BasicJsonType()));
+ }
+ if (JSON_HEDLEY_UNLIKELY(!sax->key(m_lexer.get_string())))
+ {
+ return false;
+ }
+
+ // parse separator (:)
+ if (JSON_HEDLEY_UNLIKELY(get_token() != token_type::name_separator))
+ {
+ return sax->parse_error(m_lexer.get_position(),
+ m_lexer.get_token_string(),
+ parse_error::create(101, m_lexer.get_position(), exception_message(token_type::name_separator, "object separator"), BasicJsonType()));
+ }
+
+ // remember we are now inside an object
+ states.push_back(false);
+
+ // parse values
+ get_token();
+ continue;
+ }
+
+ case token_type::begin_array:
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->start_array(static_cast<std::size_t>(-1))))
+ {
+ return false;
+ }
+
+ // closing ] -> we are done
+ if (get_token() == token_type::end_array)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->end_array()))
+ {
+ return false;
+ }
+ break;
+ }
+
+ // remember we are now inside an array
+ states.push_back(true);
+
+ // parse values (no need to call get_token)
+ continue;
+ }
+
+ case token_type::value_float:
+ {
+ const auto res = m_lexer.get_number_float();
+
+ if (JSON_HEDLEY_UNLIKELY(!std::isfinite(res)))
+ {
+ return sax->parse_error(m_lexer.get_position(),
+ m_lexer.get_token_string(),
+ out_of_range::create(406, "number overflow parsing '" + m_lexer.get_token_string() + "'", BasicJsonType()));
+ }
+
+ if (JSON_HEDLEY_UNLIKELY(!sax->number_float(res, m_lexer.get_string())))
+ {
+ return false;
+ }
+
+ break;
+ }
+
+ case token_type::literal_false:
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->boolean(false)))
+ {
+ return false;
+ }
+ break;
+ }
+
+ case token_type::literal_null:
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->null()))
+ {
+ return false;
+ }
+ break;
+ }
+
+ case token_type::literal_true:
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->boolean(true)))
+ {
+ return false;
+ }
+ break;
+ }
+
+ case token_type::value_integer:
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->number_integer(m_lexer.get_number_integer())))
+ {
+ return false;
+ }
+ break;
+ }
+
+ case token_type::value_string:
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->string(m_lexer.get_string())))
+ {
+ return false;
+ }
+ break;
+ }
+
+ case token_type::value_unsigned:
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->number_unsigned(m_lexer.get_number_unsigned())))
+ {
+ return false;
+ }
+ break;
+ }
+
+ case token_type::parse_error:
+ {
+ // using "uninitialized" to avoid "expected" message
+ return sax->parse_error(m_lexer.get_position(),
+ m_lexer.get_token_string(),
+ parse_error::create(101, m_lexer.get_position(), exception_message(token_type::uninitialized, "value"), BasicJsonType()));
+ }
+
+ case token_type::uninitialized:
+ case token_type::end_array:
+ case token_type::end_object:
+ case token_type::name_separator:
+ case token_type::value_separator:
+ case token_type::end_of_input:
+ case token_type::literal_or_value:
+ default: // the last token was unexpected
+ {
+ return sax->parse_error(m_lexer.get_position(),
+ m_lexer.get_token_string(),
+ parse_error::create(101, m_lexer.get_position(), exception_message(token_type::literal_or_value, "value"), BasicJsonType()));
+ }
+ }
+ }
+ else
+ {
+ skip_to_state_evaluation = false;
+ }
+
+ // we reached this line after we successfully parsed a value
+ if (states.empty())
+ {
+ // empty stack: we reached the end of the hierarchy: done
+ return true;
+ }
+
+ if (states.back()) // array
+ {
+ // comma -> next value
+ if (get_token() == token_type::value_separator)
+ {
+ // parse a new value
+ get_token();
+ continue;
+ }
+
+ // closing ]
+ if (JSON_HEDLEY_LIKELY(last_token == token_type::end_array))
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->end_array()))
+ {
+ return false;
+ }
+
+ // We are done with this array. Before we can parse a
+ // new value, we need to evaluate the new state first.
+ // By setting skip_to_state_evaluation to false, we
+ // are effectively jumping to the beginning of this if.
+ JSON_ASSERT(!states.empty());
+ states.pop_back();
+ skip_to_state_evaluation = true;
+ continue;
+ }
+
+ return sax->parse_error(m_lexer.get_position(),
+ m_lexer.get_token_string(),
+ parse_error::create(101, m_lexer.get_position(), exception_message(token_type::end_array, "array"), BasicJsonType()));
+ }
+
+ // states.back() is false -> object
+
+ // comma -> next value
+ if (get_token() == token_type::value_separator)
+ {
+ // parse key
+ if (JSON_HEDLEY_UNLIKELY(get_token() != token_type::value_string))
+ {
+ return sax->parse_error(m_lexer.get_position(),
+ m_lexer.get_token_string(),
+ parse_error::create(101, m_lexer.get_position(), exception_message(token_type::value_string, "object key"), BasicJsonType()));
+ }
+
+ if (JSON_HEDLEY_UNLIKELY(!sax->key(m_lexer.get_string())))
+ {
+ return false;
+ }
+
+ // parse separator (:)
+ if (JSON_HEDLEY_UNLIKELY(get_token() != token_type::name_separator))
+ {
+ return sax->parse_error(m_lexer.get_position(),
+ m_lexer.get_token_string(),
+ parse_error::create(101, m_lexer.get_position(), exception_message(token_type::name_separator, "object separator"), BasicJsonType()));
+ }
+
+ // parse values
+ get_token();
+ continue;
+ }
+
+ // closing }
+ if (JSON_HEDLEY_LIKELY(last_token == token_type::end_object))
+ {
+ if (JSON_HEDLEY_UNLIKELY(!sax->end_object()))
+ {
+ return false;
+ }
+
+ // We are done with this object. Before we can parse a
+ // new value, we need to evaluate the new state first.
+ // By setting skip_to_state_evaluation to false, we
+ // are effectively jumping to the beginning of this if.
+ JSON_ASSERT(!states.empty());
+ states.pop_back();
+ skip_to_state_evaluation = true;
+ continue;
+ }
+
+ return sax->parse_error(m_lexer.get_position(),
+ m_lexer.get_token_string(),
+ parse_error::create(101, m_lexer.get_position(), exception_message(token_type::end_object, "object"), BasicJsonType()));
+ }
+ }
+
+ /// get next token from lexer
+ token_type get_token()
+ {
+ return last_token = m_lexer.scan();
+ }
+
+ std::string exception_message(const token_type expected, const std::string& context)
+ {
+ std::string error_msg = "syntax error ";
+
+ if (!context.empty())
+ {
+ error_msg += "while parsing " + context + " ";
+ }
+
+ error_msg += "- ";
+
+ if (last_token == token_type::parse_error)
+ {
+ error_msg += std::string(m_lexer.get_error_message()) + "; last read: '" +
+ m_lexer.get_token_string() + "'";
+ }
+ else
+ {
+ error_msg += "unexpected " + std::string(lexer_t::token_type_name(last_token));
+ }
+
+ if (expected != token_type::uninitialized)
+ {
+ error_msg += "; expected " + std::string(lexer_t::token_type_name(expected));
+ }
+
+ return error_msg;
+ }
+
+ private:
+ /// callback function
+ const parser_callback_t<BasicJsonType> callback = nullptr;
+ /// the type of the last read token
+ token_type last_token = token_type::uninitialized;
+ /// the lexer
+ lexer_t m_lexer;
+ /// whether to throw exceptions in case of errors
+ const bool allow_exceptions = true;
+};
+
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/iterators/internal_iterator.hpp>
+
+
+// #include <nlohmann/detail/iterators/primitive_iterator.hpp>
+
+
+#include <cstddef> // ptrdiff_t
+#include <limits> // numeric_limits
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+/*
+@brief an iterator for primitive JSON types
+
+This class models an iterator for primitive JSON types (boolean, number,
+string). It's only purpose is to allow the iterator/const_iterator classes
+to "iterate" over primitive values. Internally, the iterator is modeled by
+a `difference_type` variable. Value begin_value (`0`) models the begin,
+end_value (`1`) models past the end.
+*/
+class primitive_iterator_t
+{
+ private:
+ using difference_type = std::ptrdiff_t;
+ static constexpr difference_type begin_value = 0;
+ static constexpr difference_type end_value = begin_value + 1;
+
+ JSON_PRIVATE_UNLESS_TESTED:
+ /// iterator as signed integer type
+ difference_type m_it = (std::numeric_limits<std::ptrdiff_t>::min)();
+
+ public:
+ constexpr difference_type get_value() const noexcept
+ {
+ return m_it;
+ }
+
+ /// set iterator to a defined beginning
+ void set_begin() noexcept
+ {
+ m_it = begin_value;
+ }
+
+ /// set iterator to a defined past the end
+ void set_end() noexcept
+ {
+ m_it = end_value;
+ }
+
+ /// return whether the iterator can be dereferenced
+ constexpr bool is_begin() const noexcept
+ {
+ return m_it == begin_value;
+ }
+
+ /// return whether the iterator is at end
+ constexpr bool is_end() const noexcept
+ {
+ return m_it == end_value;
+ }
+
+ friend constexpr bool operator==(primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept
+ {
+ return lhs.m_it == rhs.m_it;
+ }
+
+ friend constexpr bool operator<(primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept
+ {
+ return lhs.m_it < rhs.m_it;
+ }
+
+ primitive_iterator_t operator+(difference_type n) noexcept
+ {
+ auto result = *this;
+ result += n;
+ return result;
+ }
+
+ friend constexpr difference_type operator-(primitive_iterator_t lhs, primitive_iterator_t rhs) noexcept
+ {
+ return lhs.m_it - rhs.m_it;
+ }
+
+ primitive_iterator_t& operator++() noexcept
+ {
+ ++m_it;
+ return *this;
+ }
+
+ primitive_iterator_t const operator++(int) noexcept // NOLINT(readability-const-return-type)
+ {
+ auto result = *this;
+ ++m_it;
+ return result;
+ }
+
+ primitive_iterator_t& operator--() noexcept
+ {
+ --m_it;
+ return *this;
+ }
+
+ primitive_iterator_t const operator--(int) noexcept // NOLINT(readability-const-return-type)
+ {
+ auto result = *this;
+ --m_it;
+ return result;
+ }
+
+ primitive_iterator_t& operator+=(difference_type n) noexcept
+ {
+ m_it += n;
+ return *this;
+ }
+
+ primitive_iterator_t& operator-=(difference_type n) noexcept
+ {
+ m_it -= n;
+ return *this;
+ }
+};
+} // namespace detail
+} // namespace nlohmann
+
+
+namespace nlohmann
+{
+namespace detail
+{
+/*!
+@brief an iterator value
+
+@note This structure could easily be a union, but MSVC currently does not allow
+unions members with complex constructors, see https://github.com/nlohmann/json/pull/105.
+*/
+template<typename BasicJsonType> struct internal_iterator
+{
+ /// iterator for JSON objects
+ typename BasicJsonType::object_t::iterator object_iterator {};
+ /// iterator for JSON arrays
+ typename BasicJsonType::array_t::iterator array_iterator {};
+ /// generic iterator for all other types
+ primitive_iterator_t primitive_iterator {};
+};
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/iterators/iter_impl.hpp>
+
+
+#include <iterator> // iterator, random_access_iterator_tag, bidirectional_iterator_tag, advance, next
+#include <type_traits> // conditional, is_const, remove_const
+
+// #include <nlohmann/detail/exceptions.hpp>
+
+// #include <nlohmann/detail/iterators/internal_iterator.hpp>
+
+// #include <nlohmann/detail/iterators/primitive_iterator.hpp>
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+// #include <nlohmann/detail/meta/cpp_future.hpp>
+
+// #include <nlohmann/detail/meta/type_traits.hpp>
+
+// #include <nlohmann/detail/value_t.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+// forward declare, to be able to friend it later on
+template<typename IteratorType> class iteration_proxy;
+template<typename IteratorType> class iteration_proxy_value;
+
+/*!
+@brief a template for a bidirectional iterator for the @ref basic_json class
+This class implements a both iterators (iterator and const_iterator) for the
+@ref basic_json class.
+@note An iterator is called *initialized* when a pointer to a JSON value has
+ been set (e.g., by a constructor or a copy assignment). If the iterator is
+ default-constructed, it is *uninitialized* and most methods are undefined.
+ **The library uses assertions to detect calls on uninitialized iterators.**
+@requirement The class satisfies the following concept requirements:
+-
+[BidirectionalIterator](https://en.cppreference.com/w/cpp/named_req/BidirectionalIterator):
+ The iterator that can be moved can be moved in both directions (i.e.
+ incremented and decremented).
+@since version 1.0.0, simplified in version 2.0.9, change to bidirectional
+ iterators in version 3.0.0 (see https://github.com/nlohmann/json/issues/593)
+*/
+template<typename BasicJsonType>
+class iter_impl // NOLINT(cppcoreguidelines-special-member-functions,hicpp-special-member-functions)
+{
+ /// the iterator with BasicJsonType of different const-ness
+ using other_iter_impl = iter_impl<typename std::conditional<std::is_const<BasicJsonType>::value, typename std::remove_const<BasicJsonType>::type, const BasicJsonType>::type>;
+ /// allow basic_json to access private members
+ friend other_iter_impl;
+ friend BasicJsonType;
+ friend iteration_proxy<iter_impl>;
+ friend iteration_proxy_value<iter_impl>;
+
+ using object_t = typename BasicJsonType::object_t;
+ using array_t = typename BasicJsonType::array_t;
+ // make sure BasicJsonType is basic_json or const basic_json
+ static_assert(is_basic_json<typename std::remove_const<BasicJsonType>::type>::value,
+ "iter_impl only accepts (const) basic_json");
+
+ public:
+
+ /// The std::iterator class template (used as a base class to provide typedefs) is deprecated in C++17.
+ /// The C++ Standard has never required user-defined iterators to derive from std::iterator.
+ /// A user-defined iterator should provide publicly accessible typedefs named
+ /// iterator_category, value_type, difference_type, pointer, and reference.
+ /// Note that value_type is required to be non-const, even for constant iterators.
+ using iterator_category = std::bidirectional_iterator_tag;
+
+ /// the type of the values when the iterator is dereferenced
+ using value_type = typename BasicJsonType::value_type;
+ /// a type to represent differences between iterators
+ using difference_type = typename BasicJsonType::difference_type;
+ /// defines a pointer to the type iterated over (value_type)
+ using pointer = typename std::conditional<std::is_const<BasicJsonType>::value,
+ typename BasicJsonType::const_pointer,
+ typename BasicJsonType::pointer>::type;
+ /// defines a reference to the type iterated over (value_type)
+ using reference =
+ typename std::conditional<std::is_const<BasicJsonType>::value,
+ typename BasicJsonType::const_reference,
+ typename BasicJsonType::reference>::type;
+
+ iter_impl() = default;
+ ~iter_impl() = default;
+ iter_impl(iter_impl&&) noexcept = default;
+ iter_impl& operator=(iter_impl&&) noexcept = default;
+
+ /*!
+ @brief constructor for a given JSON instance
+ @param[in] object pointer to a JSON object for this iterator
+ @pre object != nullptr
+ @post The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ explicit iter_impl(pointer object) noexcept : m_object(object)
+ {
+ JSON_ASSERT(m_object != nullptr);
+
+ switch (m_object->m_type)
+ {
+ case value_t::object:
+ {
+ m_it.object_iterator = typename object_t::iterator();
+ break;
+ }
+
+ case value_t::array:
+ {
+ m_it.array_iterator = typename array_t::iterator();
+ break;
+ }
+
+ case value_t::null:
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ {
+ m_it.primitive_iterator = primitive_iterator_t();
+ break;
+ }
+ }
+ }
+
+ /*!
+ @note The conventional copy constructor and copy assignment are implicitly
+ defined. Combined with the following converting constructor and
+ assignment, they support: (1) copy from iterator to iterator, (2)
+ copy from const iterator to const iterator, and (3) conversion from
+ iterator to const iterator. However conversion from const iterator
+ to iterator is not defined.
+ */
+
+ /*!
+ @brief const copy constructor
+ @param[in] other const iterator to copy from
+ @note This copy constructor had to be defined explicitly to circumvent a bug
+ occurring on msvc v19.0 compiler (VS 2015) debug build. For more
+ information refer to: https://github.com/nlohmann/json/issues/1608
+ */
+ iter_impl(const iter_impl<const BasicJsonType>& other) noexcept
+ : m_object(other.m_object), m_it(other.m_it)
+ {}
+
+ /*!
+ @brief converting assignment
+ @param[in] other const iterator to copy from
+ @return const/non-const iterator
+ @note It is not checked whether @a other is initialized.
+ */
+ iter_impl& operator=(const iter_impl<const BasicJsonType>& other) noexcept
+ {
+ if (&other != this)
+ {
+ m_object = other.m_object;
+ m_it = other.m_it;
+ }
+ return *this;
+ }
+
+ /*!
+ @brief converting constructor
+ @param[in] other non-const iterator to copy from
+ @note It is not checked whether @a other is initialized.
+ */
+ iter_impl(const iter_impl<typename std::remove_const<BasicJsonType>::type>& other) noexcept
+ : m_object(other.m_object), m_it(other.m_it)
+ {}
+
+ /*!
+ @brief converting assignment
+ @param[in] other non-const iterator to copy from
+ @return const/non-const iterator
+ @note It is not checked whether @a other is initialized.
+ */
+ iter_impl& operator=(const iter_impl<typename std::remove_const<BasicJsonType>::type>& other) noexcept // NOLINT(cert-oop54-cpp)
+ {
+ m_object = other.m_object;
+ m_it = other.m_it;
+ return *this;
+ }
+
+ JSON_PRIVATE_UNLESS_TESTED:
+ /*!
+ @brief set the iterator to the first value
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ void set_begin() noexcept
+ {
+ JSON_ASSERT(m_object != nullptr);
+
+ switch (m_object->m_type)
+ {
+ case value_t::object:
+ {
+ m_it.object_iterator = m_object->m_value.object->begin();
+ break;
+ }
+
+ case value_t::array:
+ {
+ m_it.array_iterator = m_object->m_value.array->begin();
+ break;
+ }
+
+ case value_t::null:
+ {
+ // set to end so begin()==end() is true: null is empty
+ m_it.primitive_iterator.set_end();
+ break;
+ }
+
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ {
+ m_it.primitive_iterator.set_begin();
+ break;
+ }
+ }
+ }
+
+ /*!
+ @brief set the iterator past the last value
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ void set_end() noexcept
+ {
+ JSON_ASSERT(m_object != nullptr);
+
+ switch (m_object->m_type)
+ {
+ case value_t::object:
+ {
+ m_it.object_iterator = m_object->m_value.object->end();
+ break;
+ }
+
+ case value_t::array:
+ {
+ m_it.array_iterator = m_object->m_value.array->end();
+ break;
+ }
+
+ case value_t::null:
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ {
+ m_it.primitive_iterator.set_end();
+ break;
+ }
+ }
+ }
+
+ public:
+ /*!
+ @brief return a reference to the value pointed to by the iterator
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ reference operator*() const
+ {
+ JSON_ASSERT(m_object != nullptr);
+
+ switch (m_object->m_type)
+ {
+ case value_t::object:
+ {
+ JSON_ASSERT(m_it.object_iterator != m_object->m_value.object->end());
+ return m_it.object_iterator->second;
+ }
+
+ case value_t::array:
+ {
+ JSON_ASSERT(m_it.array_iterator != m_object->m_value.array->end());
+ return *m_it.array_iterator;
+ }
+
+ case value_t::null:
+ JSON_THROW(invalid_iterator::create(214, "cannot get value", *m_object));
+
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ {
+ if (JSON_HEDLEY_LIKELY(m_it.primitive_iterator.is_begin()))
+ {
+ return *m_object;
+ }
+
+ JSON_THROW(invalid_iterator::create(214, "cannot get value", *m_object));
+ }
+ }
+ }
+
+ /*!
+ @brief dereference the iterator
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ pointer operator->() const
+ {
+ JSON_ASSERT(m_object != nullptr);
+
+ switch (m_object->m_type)
+ {
+ case value_t::object:
+ {
+ JSON_ASSERT(m_it.object_iterator != m_object->m_value.object->end());
+ return &(m_it.object_iterator->second);
+ }
+
+ case value_t::array:
+ {
+ JSON_ASSERT(m_it.array_iterator != m_object->m_value.array->end());
+ return &*m_it.array_iterator;
+ }
+
+ case value_t::null:
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ {
+ if (JSON_HEDLEY_LIKELY(m_it.primitive_iterator.is_begin()))
+ {
+ return m_object;
+ }
+
+ JSON_THROW(invalid_iterator::create(214, "cannot get value", *m_object));
+ }
+ }
+ }
+
+ /*!
+ @brief post-increment (it++)
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ iter_impl const operator++(int) // NOLINT(readability-const-return-type)
+ {
+ auto result = *this;
+ ++(*this);
+ return result;
+ }
+
+ /*!
+ @brief pre-increment (++it)
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ iter_impl& operator++()
+ {
+ JSON_ASSERT(m_object != nullptr);
+
+ switch (m_object->m_type)
+ {
+ case value_t::object:
+ {
+ std::advance(m_it.object_iterator, 1);
+ break;
+ }
+
+ case value_t::array:
+ {
+ std::advance(m_it.array_iterator, 1);
+ break;
+ }
+
+ case value_t::null:
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ {
+ ++m_it.primitive_iterator;
+ break;
+ }
+ }
+
+ return *this;
+ }
+
+ /*!
+ @brief post-decrement (it--)
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ iter_impl const operator--(int) // NOLINT(readability-const-return-type)
+ {
+ auto result = *this;
+ --(*this);
+ return result;
+ }
+
+ /*!
+ @brief pre-decrement (--it)
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ iter_impl& operator--()
+ {
+ JSON_ASSERT(m_object != nullptr);
+
+ switch (m_object->m_type)
+ {
+ case value_t::object:
+ {
+ std::advance(m_it.object_iterator, -1);
+ break;
+ }
+
+ case value_t::array:
+ {
+ std::advance(m_it.array_iterator, -1);
+ break;
+ }
+
+ case value_t::null:
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ {
+ --m_it.primitive_iterator;
+ break;
+ }
+ }
+
+ return *this;
+ }
+
+ /*!
+ @brief comparison: equal
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ template < typename IterImpl, detail::enable_if_t < (std::is_same<IterImpl, iter_impl>::value || std::is_same<IterImpl, other_iter_impl>::value), std::nullptr_t > = nullptr >
+ bool operator==(const IterImpl& other) const
+ {
+ // if objects are not the same, the comparison is undefined
+ if (JSON_HEDLEY_UNLIKELY(m_object != other.m_object))
+ {
+ JSON_THROW(invalid_iterator::create(212, "cannot compare iterators of different containers", *m_object));
+ }
+
+ JSON_ASSERT(m_object != nullptr);
+
+ switch (m_object->m_type)
+ {
+ case value_t::object:
+ return (m_it.object_iterator == other.m_it.object_iterator);
+
+ case value_t::array:
+ return (m_it.array_iterator == other.m_it.array_iterator);
+
+ case value_t::null:
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ return (m_it.primitive_iterator == other.m_it.primitive_iterator);
+ }
+ }
+
+ /*!
+ @brief comparison: not equal
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ template < typename IterImpl, detail::enable_if_t < (std::is_same<IterImpl, iter_impl>::value || std::is_same<IterImpl, other_iter_impl>::value), std::nullptr_t > = nullptr >
+ bool operator!=(const IterImpl& other) const
+ {
+ return !operator==(other);
+ }
+
+ /*!
+ @brief comparison: smaller
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ bool operator<(const iter_impl& other) const
+ {
+ // if objects are not the same, the comparison is undefined
+ if (JSON_HEDLEY_UNLIKELY(m_object != other.m_object))
+ {
+ JSON_THROW(invalid_iterator::create(212, "cannot compare iterators of different containers", *m_object));
+ }
+
+ JSON_ASSERT(m_object != nullptr);
+
+ switch (m_object->m_type)
+ {
+ case value_t::object:
+ JSON_THROW(invalid_iterator::create(213, "cannot compare order of object iterators", *m_object));
+
+ case value_t::array:
+ return (m_it.array_iterator < other.m_it.array_iterator);
+
+ case value_t::null:
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ return (m_it.primitive_iterator < other.m_it.primitive_iterator);
+ }
+ }
+
+ /*!
+ @brief comparison: less than or equal
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ bool operator<=(const iter_impl& other) const
+ {
+ return !other.operator < (*this);
+ }
+
+ /*!
+ @brief comparison: greater than
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ bool operator>(const iter_impl& other) const
+ {
+ return !operator<=(other);
+ }
+
+ /*!
+ @brief comparison: greater than or equal
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ bool operator>=(const iter_impl& other) const
+ {
+ return !operator<(other);
+ }
+
+ /*!
+ @brief add to iterator
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ iter_impl& operator+=(difference_type i)
+ {
+ JSON_ASSERT(m_object != nullptr);
+
+ switch (m_object->m_type)
+ {
+ case value_t::object:
+ JSON_THROW(invalid_iterator::create(209, "cannot use offsets with object iterators", *m_object));
+
+ case value_t::array:
+ {
+ std::advance(m_it.array_iterator, i);
+ break;
+ }
+
+ case value_t::null:
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ {
+ m_it.primitive_iterator += i;
+ break;
+ }
+ }
+
+ return *this;
+ }
+
+ /*!
+ @brief subtract from iterator
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ iter_impl& operator-=(difference_type i)
+ {
+ return operator+=(-i);
+ }
+
+ /*!
+ @brief add to iterator
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ iter_impl operator+(difference_type i) const
+ {
+ auto result = *this;
+ result += i;
+ return result;
+ }
+
+ /*!
+ @brief addition of distance and iterator
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ friend iter_impl operator+(difference_type i, const iter_impl& it)
+ {
+ auto result = it;
+ result += i;
+ return result;
+ }
+
+ /*!
+ @brief subtract from iterator
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ iter_impl operator-(difference_type i) const
+ {
+ auto result = *this;
+ result -= i;
+ return result;
+ }
+
+ /*!
+ @brief return difference
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ difference_type operator-(const iter_impl& other) const
+ {
+ JSON_ASSERT(m_object != nullptr);
+
+ switch (m_object->m_type)
+ {
+ case value_t::object:
+ JSON_THROW(invalid_iterator::create(209, "cannot use offsets with object iterators", *m_object));
+
+ case value_t::array:
+ return m_it.array_iterator - other.m_it.array_iterator;
+
+ case value_t::null:
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ return m_it.primitive_iterator - other.m_it.primitive_iterator;
+ }
+ }
+
+ /*!
+ @brief access to successor
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ reference operator[](difference_type n) const
+ {
+ JSON_ASSERT(m_object != nullptr);
+
+ switch (m_object->m_type)
+ {
+ case value_t::object:
+ JSON_THROW(invalid_iterator::create(208, "cannot use operator[] for object iterators", *m_object));
+
+ case value_t::array:
+ return *std::next(m_it.array_iterator, n);
+
+ case value_t::null:
+ JSON_THROW(invalid_iterator::create(214, "cannot get value", *m_object));
+
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ {
+ if (JSON_HEDLEY_LIKELY(m_it.primitive_iterator.get_value() == -n))
+ {
+ return *m_object;
+ }
+
+ JSON_THROW(invalid_iterator::create(214, "cannot get value", *m_object));
+ }
+ }
+ }
+
+ /*!
+ @brief return the key of an object iterator
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ const typename object_t::key_type& key() const
+ {
+ JSON_ASSERT(m_object != nullptr);
+
+ if (JSON_HEDLEY_LIKELY(m_object->is_object()))
+ {
+ return m_it.object_iterator->first;
+ }
+
+ JSON_THROW(invalid_iterator::create(207, "cannot use key() for non-object iterators", *m_object));
+ }
+
+ /*!
+ @brief return the value of an iterator
+ @pre The iterator is initialized; i.e. `m_object != nullptr`.
+ */
+ reference value() const
+ {
+ return operator*();
+ }
+
+ JSON_PRIVATE_UNLESS_TESTED:
+ /// associated JSON instance
+ pointer m_object = nullptr;
+ /// the actual iterator of the associated instance
+ internal_iterator<typename std::remove_const<BasicJsonType>::type> m_it {};
+};
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/iterators/iteration_proxy.hpp>
+
+// #include <nlohmann/detail/iterators/json_reverse_iterator.hpp>
+
+
+#include <cstddef> // ptrdiff_t
+#include <iterator> // reverse_iterator
+#include <utility> // declval
+
+namespace nlohmann
+{
+namespace detail
+{
+//////////////////////
+// reverse_iterator //
+//////////////////////
+
+/*!
+@brief a template for a reverse iterator class
+
+@tparam Base the base iterator type to reverse. Valid types are @ref
+iterator (to create @ref reverse_iterator) and @ref const_iterator (to
+create @ref const_reverse_iterator).
+
+@requirement The class satisfies the following concept requirements:
+-
+[BidirectionalIterator](https://en.cppreference.com/w/cpp/named_req/BidirectionalIterator):
+ The iterator that can be moved can be moved in both directions (i.e.
+ incremented and decremented).
+- [OutputIterator](https://en.cppreference.com/w/cpp/named_req/OutputIterator):
+ It is possible to write to the pointed-to element (only if @a Base is
+ @ref iterator).
+
+@since version 1.0.0
+*/
+template<typename Base>
+class json_reverse_iterator : public std::reverse_iterator<Base>
+{
+ public:
+ using difference_type = std::ptrdiff_t;
+ /// shortcut to the reverse iterator adapter
+ using base_iterator = std::reverse_iterator<Base>;
+ /// the reference type for the pointed-to element
+ using reference = typename Base::reference;
+
+ /// create reverse iterator from iterator
+ explicit json_reverse_iterator(const typename base_iterator::iterator_type& it) noexcept
+ : base_iterator(it) {}
+
+ /// create reverse iterator from base class
+ explicit json_reverse_iterator(const base_iterator& it) noexcept : base_iterator(it) {}
+
+ /// post-increment (it++)
+ json_reverse_iterator const operator++(int) // NOLINT(readability-const-return-type)
+ {
+ return static_cast<json_reverse_iterator>(base_iterator::operator++(1));
+ }
+
+ /// pre-increment (++it)
+ json_reverse_iterator& operator++()
+ {
+ return static_cast<json_reverse_iterator&>(base_iterator::operator++());
+ }
+
+ /// post-decrement (it--)
+ json_reverse_iterator const operator--(int) // NOLINT(readability-const-return-type)
+ {
+ return static_cast<json_reverse_iterator>(base_iterator::operator--(1));
+ }
+
+ /// pre-decrement (--it)
+ json_reverse_iterator& operator--()
+ {
+ return static_cast<json_reverse_iterator&>(base_iterator::operator--());
+ }
+
+ /// add to iterator
+ json_reverse_iterator& operator+=(difference_type i)
+ {
+ return static_cast<json_reverse_iterator&>(base_iterator::operator+=(i));
+ }
+
+ /// add to iterator
+ json_reverse_iterator operator+(difference_type i) const
+ {
+ return static_cast<json_reverse_iterator>(base_iterator::operator+(i));
+ }
+
+ /// subtract from iterator
+ json_reverse_iterator operator-(difference_type i) const
+ {
+ return static_cast<json_reverse_iterator>(base_iterator::operator-(i));
+ }
+
+ /// return difference
+ difference_type operator-(const json_reverse_iterator& other) const
+ {
+ return base_iterator(*this) - base_iterator(other);
+ }
+
+ /// access to successor
+ reference operator[](difference_type n) const
+ {
+ return *(this->operator+(n));
+ }
+
+ /// return the key of an object iterator
+ auto key() const -> decltype(std::declval<Base>().key())
+ {
+ auto it = --this->base();
+ return it.key();
+ }
+
+ /// return the value of an iterator
+ reference value() const
+ {
+ auto it = --this->base();
+ return it.operator * ();
+ }
+};
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/iterators/primitive_iterator.hpp>
+
+// #include <nlohmann/detail/json_pointer.hpp>
+
+
+#include <algorithm> // all_of
+#include <cctype> // isdigit
+#include <limits> // max
+#include <numeric> // accumulate
+#include <string> // string
+#include <utility> // move
+#include <vector> // vector
+
+// #include <nlohmann/detail/exceptions.hpp>
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+// #include <nlohmann/detail/string_escape.hpp>
+
+// #include <nlohmann/detail/value_t.hpp>
+
+
+namespace nlohmann
+{
+
+/// @brief JSON Pointer defines a string syntax for identifying a specific value within a JSON document
+/// @sa https://json.nlohmann.me/api/json_pointer/
+template<typename BasicJsonType>
+class json_pointer
+{
+ // allow basic_json to access private members
+ NLOHMANN_BASIC_JSON_TPL_DECLARATION
+ friend class basic_json;
+
+ public:
+ /// @brief create JSON pointer
+ /// @sa https://json.nlohmann.me/api/json_pointer/json_pointer/
+ explicit json_pointer(const std::string& s = "")
+ : reference_tokens(split(s))
+ {}
+
+ /// @brief return a string representation of the JSON pointer
+ /// @sa https://json.nlohmann.me/api/json_pointer/to_string/
+ std::string to_string() const
+ {
+ return std::accumulate(reference_tokens.begin(), reference_tokens.end(),
+ std::string{},
+ [](const std::string & a, const std::string & b)
+ {
+ return a + "/" + detail::escape(b);
+ });
+ }
+
+ /// @brief return a string representation of the JSON pointer
+ /// @sa https://json.nlohmann.me/api/json_pointer/operator_string/
+ operator std::string() const
+ {
+ return to_string();
+ }
+
+ /// @brief append another JSON pointer at the end of this JSON pointer
+ /// @sa https://json.nlohmann.me/api/json_pointer/operator_slasheq/
+ json_pointer& operator/=(const json_pointer& ptr)
+ {
+ reference_tokens.insert(reference_tokens.end(),
+ ptr.reference_tokens.begin(),
+ ptr.reference_tokens.end());
+ return *this;
+ }
+
+ /// @brief append an unescaped reference token at the end of this JSON pointer
+ /// @sa https://json.nlohmann.me/api/json_pointer/operator_slasheq/
+ json_pointer& operator/=(std::string token)
+ {
+ push_back(std::move(token));
+ return *this;
+ }
+
+ /// @brief append an array index at the end of this JSON pointer
+ /// @sa https://json.nlohmann.me/api/json_pointer/operator_slasheq/
+ json_pointer& operator/=(std::size_t array_idx)
+ {
+ return *this /= std::to_string(array_idx);
+ }
+
+ /// @brief create a new JSON pointer by appending the right JSON pointer at the end of the left JSON pointer
+ /// @sa https://json.nlohmann.me/api/json_pointer/operator_slash/
+ friend json_pointer operator/(const json_pointer& lhs,
+ const json_pointer& rhs)
+ {
+ return json_pointer(lhs) /= rhs;
+ }
+
+ /// @brief create a new JSON pointer by appending the unescaped token at the end of the JSON pointer
+ /// @sa https://json.nlohmann.me/api/json_pointer/operator_slash/
+ friend json_pointer operator/(const json_pointer& lhs, std::string token) // NOLINT(performance-unnecessary-value-param)
+ {
+ return json_pointer(lhs) /= std::move(token);
+ }
+
+ /// @brief create a new JSON pointer by appending the array-index-token at the end of the JSON pointer
+ /// @sa https://json.nlohmann.me/api/json_pointer/operator_slash/
+ friend json_pointer operator/(const json_pointer& lhs, std::size_t array_idx)
+ {
+ return json_pointer(lhs) /= array_idx;
+ }
+
+ /// @brief returns the parent of this JSON pointer
+ /// @sa https://json.nlohmann.me/api/json_pointer/parent_pointer/
+ json_pointer parent_pointer() const
+ {
+ if (empty())
+ {
+ return *this;
+ }
+
+ json_pointer res = *this;
+ res.pop_back();
+ return res;
+ }
+
+ /// @brief remove last reference token
+ /// @sa https://json.nlohmann.me/api/json_pointer/pop_back/
+ void pop_back()
+ {
+ if (JSON_HEDLEY_UNLIKELY(empty()))
+ {
+ JSON_THROW(detail::out_of_range::create(405, "JSON pointer has no parent", BasicJsonType()));
+ }
+
+ reference_tokens.pop_back();
+ }
+
+ /// @brief return last reference token
+ /// @sa https://json.nlohmann.me/api/json_pointer/back/
+ const std::string& back() const
+ {
+ if (JSON_HEDLEY_UNLIKELY(empty()))
+ {
+ JSON_THROW(detail::out_of_range::create(405, "JSON pointer has no parent", BasicJsonType()));
+ }
+
+ return reference_tokens.back();
+ }
+
+ /// @brief append an unescaped token at the end of the reference pointer
+ /// @sa https://json.nlohmann.me/api/json_pointer/push_back/
+ void push_back(const std::string& token)
+ {
+ reference_tokens.push_back(token);
+ }
+
+ /// @brief append an unescaped token at the end of the reference pointer
+ /// @sa https://json.nlohmann.me/api/json_pointer/push_back/
+ void push_back(std::string&& token)
+ {
+ reference_tokens.push_back(std::move(token));
+ }
+
+ /// @brief return whether pointer points to the root document
+ /// @sa https://json.nlohmann.me/api/json_pointer/empty/
+ bool empty() const noexcept
+ {
+ return reference_tokens.empty();
+ }
+
+ private:
+ /*!
+ @param[in] s reference token to be converted into an array index
+
+ @return integer representation of @a s
+
+ @throw parse_error.106 if an array index begins with '0'
+ @throw parse_error.109 if an array index begins not with a digit
+ @throw out_of_range.404 if string @a s could not be converted to an integer
+ @throw out_of_range.410 if an array index exceeds size_type
+ */
+ static typename BasicJsonType::size_type array_index(const std::string& s)
+ {
+ using size_type = typename BasicJsonType::size_type;
+
+ // error condition (cf. RFC 6901, Sect. 4)
+ if (JSON_HEDLEY_UNLIKELY(s.size() > 1 && s[0] == '0'))
+ {
+ JSON_THROW(detail::parse_error::create(106, 0, "array index '" + s + "' must not begin with '0'", BasicJsonType()));
+ }
+
+ // error condition (cf. RFC 6901, Sect. 4)
+ if (JSON_HEDLEY_UNLIKELY(s.size() > 1 && !(s[0] >= '1' && s[0] <= '9')))
+ {
+ JSON_THROW(detail::parse_error::create(109, 0, "array index '" + s + "' is not a number", BasicJsonType()));
+ }
+
+ std::size_t processed_chars = 0;
+ unsigned long long res = 0; // NOLINT(runtime/int)
+ JSON_TRY
+ {
+ res = std::stoull(s, &processed_chars);
+ }
+ JSON_CATCH(std::out_of_range&)
+ {
+ JSON_THROW(detail::out_of_range::create(404, "unresolved reference token '" + s + "'", BasicJsonType()));
+ }
+
+ // check if the string was completely read
+ if (JSON_HEDLEY_UNLIKELY(processed_chars != s.size()))
+ {
+ JSON_THROW(detail::out_of_range::create(404, "unresolved reference token '" + s + "'", BasicJsonType()));
+ }
+
+ // only triggered on special platforms (like 32bit), see also
+ // https://github.com/nlohmann/json/pull/2203
+ if (res >= static_cast<unsigned long long>((std::numeric_limits<size_type>::max)())) // NOLINT(runtime/int)
+ {
+ JSON_THROW(detail::out_of_range::create(410, "array index " + s + " exceeds size_type", BasicJsonType())); // LCOV_EXCL_LINE
+ }
+
+ return static_cast<size_type>(res);
+ }
+
+ JSON_PRIVATE_UNLESS_TESTED:
+ json_pointer top() const
+ {
+ if (JSON_HEDLEY_UNLIKELY(empty()))
+ {
+ JSON_THROW(detail::out_of_range::create(405, "JSON pointer has no parent", BasicJsonType()));
+ }
+
+ json_pointer result = *this;
+ result.reference_tokens = {reference_tokens[0]};
+ return result;
+ }
+
+ private:
+ /*!
+ @brief create and return a reference to the pointed to value
+
+ @complexity Linear in the number of reference tokens.
+
+ @throw parse_error.109 if array index is not a number
+ @throw type_error.313 if value cannot be unflattened
+ */
+ BasicJsonType& get_and_create(BasicJsonType& j) const
+ {
+ auto* result = &j;
+
+ // in case no reference tokens exist, return a reference to the JSON value
+ // j which will be overwritten by a primitive value
+ for (const auto& reference_token : reference_tokens)
+ {
+ switch (result->type())
+ {
+ case detail::value_t::null:
+ {
+ if (reference_token == "0")
+ {
+ // start a new array if reference token is 0
+ result = &result->operator[](0);
+ }
+ else
+ {
+ // start a new object otherwise
+ result = &result->operator[](reference_token);
+ }
+ break;
+ }
+
+ case detail::value_t::object:
+ {
+ // create an entry in the object
+ result = &result->operator[](reference_token);
+ break;
+ }
+
+ case detail::value_t::array:
+ {
+ // create an entry in the array
+ result = &result->operator[](array_index(reference_token));
+ break;
+ }
+
+ /*
+ The following code is only reached if there exists a reference
+ token _and_ the current value is primitive. In this case, we have
+ an error situation, because primitive values may only occur as
+ single value; that is, with an empty list of reference tokens.
+ */
+ case detail::value_t::string:
+ case detail::value_t::boolean:
+ case detail::value_t::number_integer:
+ case detail::value_t::number_unsigned:
+ case detail::value_t::number_float:
+ case detail::value_t::binary:
+ case detail::value_t::discarded:
+ default:
+ JSON_THROW(detail::type_error::create(313, "invalid value to unflatten", j));
+ }
+ }
+
+ return *result;
+ }
+
+ /*!
+ @brief return a reference to the pointed to value
+
+ @note This version does not throw if a value is not present, but tries to
+ create nested values instead. For instance, calling this function
+ with pointer `"/this/that"` on a null value is equivalent to calling
+ `operator[]("this").operator[]("that")` on that value, effectively
+ changing the null value to an object.
+
+ @param[in] ptr a JSON value
+
+ @return reference to the JSON value pointed to by the JSON pointer
+
+ @complexity Linear in the length of the JSON pointer.
+
+ @throw parse_error.106 if an array index begins with '0'
+ @throw parse_error.109 if an array index was not a number
+ @throw out_of_range.404 if the JSON pointer can not be resolved
+ */
+ BasicJsonType& get_unchecked(BasicJsonType* ptr) const
+ {
+ for (const auto& reference_token : reference_tokens)
+ {
+ // convert null values to arrays or objects before continuing
+ if (ptr->is_null())
+ {
+ // check if reference token is a number
+ const bool nums =
+ std::all_of(reference_token.begin(), reference_token.end(),
+ [](const unsigned char x)
+ {
+ return std::isdigit(x);
+ });
+
+ // change value to array for numbers or "-" or to object otherwise
+ *ptr = (nums || reference_token == "-")
+ ? detail::value_t::array
+ : detail::value_t::object;
+ }
+
+ switch (ptr->type())
+ {
+ case detail::value_t::object:
+ {
+ // use unchecked object access
+ ptr = &ptr->operator[](reference_token);
+ break;
+ }
+
+ case detail::value_t::array:
+ {
+ if (reference_token == "-")
+ {
+ // explicitly treat "-" as index beyond the end
+ ptr = &ptr->operator[](ptr->m_value.array->size());
+ }
+ else
+ {
+ // convert array index to number; unchecked access
+ ptr = &ptr->operator[](array_index(reference_token));
+ }
+ break;
+ }
+
+ case detail::value_t::null:
+ case detail::value_t::string:
+ case detail::value_t::boolean:
+ case detail::value_t::number_integer:
+ case detail::value_t::number_unsigned:
+ case detail::value_t::number_float:
+ case detail::value_t::binary:
+ case detail::value_t::discarded:
+ default:
+ JSON_THROW(detail::out_of_range::create(404, "unresolved reference token '" + reference_token + "'", *ptr));
+ }
+ }
+
+ return *ptr;
+ }
+
+ /*!
+ @throw parse_error.106 if an array index begins with '0'
+ @throw parse_error.109 if an array index was not a number
+ @throw out_of_range.402 if the array index '-' is used
+ @throw out_of_range.404 if the JSON pointer can not be resolved
+ */
+ BasicJsonType& get_checked(BasicJsonType* ptr) const
+ {
+ for (const auto& reference_token : reference_tokens)
+ {
+ switch (ptr->type())
+ {
+ case detail::value_t::object:
+ {
+ // note: at performs range check
+ ptr = &ptr->at(reference_token);
+ break;
+ }
+
+ case detail::value_t::array:
+ {
+ if (JSON_HEDLEY_UNLIKELY(reference_token == "-"))
+ {
+ // "-" always fails the range check
+ JSON_THROW(detail::out_of_range::create(402,
+ "array index '-' (" + std::to_string(ptr->m_value.array->size()) +
+ ") is out of range", *ptr));
+ }
+
+ // note: at performs range check
+ ptr = &ptr->at(array_index(reference_token));
+ break;
+ }
+
+ case detail::value_t::null:
+ case detail::value_t::string:
+ case detail::value_t::boolean:
+ case detail::value_t::number_integer:
+ case detail::value_t::number_unsigned:
+ case detail::value_t::number_float:
+ case detail::value_t::binary:
+ case detail::value_t::discarded:
+ default:
+ JSON_THROW(detail::out_of_range::create(404, "unresolved reference token '" + reference_token + "'", *ptr));
+ }
+ }
+
+ return *ptr;
+ }
+
+ /*!
+ @brief return a const reference to the pointed to value
+
+ @param[in] ptr a JSON value
+
+ @return const reference to the JSON value pointed to by the JSON
+ pointer
+
+ @throw parse_error.106 if an array index begins with '0'
+ @throw parse_error.109 if an array index was not a number
+ @throw out_of_range.402 if the array index '-' is used
+ @throw out_of_range.404 if the JSON pointer can not be resolved
+ */
+ const BasicJsonType& get_unchecked(const BasicJsonType* ptr) const
+ {
+ for (const auto& reference_token : reference_tokens)
+ {
+ switch (ptr->type())
+ {
+ case detail::value_t::object:
+ {
+ // use unchecked object access
+ ptr = &ptr->operator[](reference_token);
+ break;
+ }
+
+ case detail::value_t::array:
+ {
+ if (JSON_HEDLEY_UNLIKELY(reference_token == "-"))
+ {
+ // "-" cannot be used for const access
+ JSON_THROW(detail::out_of_range::create(402, "array index '-' (" + std::to_string(ptr->m_value.array->size()) + ") is out of range", *ptr));
+ }
+
+ // use unchecked array access
+ ptr = &ptr->operator[](array_index(reference_token));
+ break;
+ }
+
+ case detail::value_t::null:
+ case detail::value_t::string:
+ case detail::value_t::boolean:
+ case detail::value_t::number_integer:
+ case detail::value_t::number_unsigned:
+ case detail::value_t::number_float:
+ case detail::value_t::binary:
+ case detail::value_t::discarded:
+ default:
+ JSON_THROW(detail::out_of_range::create(404, "unresolved reference token '" + reference_token + "'", *ptr));
+ }
+ }
+
+ return *ptr;
+ }
+
+ /*!
+ @throw parse_error.106 if an array index begins with '0'
+ @throw parse_error.109 if an array index was not a number
+ @throw out_of_range.402 if the array index '-' is used
+ @throw out_of_range.404 if the JSON pointer can not be resolved
+ */
+ const BasicJsonType& get_checked(const BasicJsonType* ptr) const
+ {
+ for (const auto& reference_token : reference_tokens)
+ {
+ switch (ptr->type())
+ {
+ case detail::value_t::object:
+ {
+ // note: at performs range check
+ ptr = &ptr->at(reference_token);
+ break;
+ }
+
+ case detail::value_t::array:
+ {
+ if (JSON_HEDLEY_UNLIKELY(reference_token == "-"))
+ {
+ // "-" always fails the range check
+ JSON_THROW(detail::out_of_range::create(402,
+ "array index '-' (" + std::to_string(ptr->m_value.array->size()) +
+ ") is out of range", *ptr));
+ }
+
+ // note: at performs range check
+ ptr = &ptr->at(array_index(reference_token));
+ break;
+ }
+
+ case detail::value_t::null:
+ case detail::value_t::string:
+ case detail::value_t::boolean:
+ case detail::value_t::number_integer:
+ case detail::value_t::number_unsigned:
+ case detail::value_t::number_float:
+ case detail::value_t::binary:
+ case detail::value_t::discarded:
+ default:
+ JSON_THROW(detail::out_of_range::create(404, "unresolved reference token '" + reference_token + "'", *ptr));
+ }
+ }
+
+ return *ptr;
+ }
+
+ /*!
+ @throw parse_error.106 if an array index begins with '0'
+ @throw parse_error.109 if an array index was not a number
+ */
+ bool contains(const BasicJsonType* ptr) const
+ {
+ for (const auto& reference_token : reference_tokens)
+ {
+ switch (ptr->type())
+ {
+ case detail::value_t::object:
+ {
+ if (!ptr->contains(reference_token))
+ {
+ // we did not find the key in the object
+ return false;
+ }
+
+ ptr = &ptr->operator[](reference_token);
+ break;
+ }
+
+ case detail::value_t::array:
+ {
+ if (JSON_HEDLEY_UNLIKELY(reference_token == "-"))
+ {
+ // "-" always fails the range check
+ return false;
+ }
+ if (JSON_HEDLEY_UNLIKELY(reference_token.size() == 1 && !("0" <= reference_token && reference_token <= "9")))
+ {
+ // invalid char
+ return false;
+ }
+ if (JSON_HEDLEY_UNLIKELY(reference_token.size() > 1))
+ {
+ if (JSON_HEDLEY_UNLIKELY(!('1' <= reference_token[0] && reference_token[0] <= '9')))
+ {
+ // first char should be between '1' and '9'
+ return false;
+ }
+ for (std::size_t i = 1; i < reference_token.size(); i++)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!('0' <= reference_token[i] && reference_token[i] <= '9')))
+ {
+ // other char should be between '0' and '9'
+ return false;
+ }
+ }
+ }
+
+ const auto idx = array_index(reference_token);
+ if (idx >= ptr->size())
+ {
+ // index out of range
+ return false;
+ }
+
+ ptr = &ptr->operator[](idx);
+ break;
+ }
+
+ case detail::value_t::null:
+ case detail::value_t::string:
+ case detail::value_t::boolean:
+ case detail::value_t::number_integer:
+ case detail::value_t::number_unsigned:
+ case detail::value_t::number_float:
+ case detail::value_t::binary:
+ case detail::value_t::discarded:
+ default:
+ {
+ // we do not expect primitive values if there is still a
+ // reference token to process
+ return false;
+ }
+ }
+ }
+
+ // no reference token left means we found a primitive value
+ return true;
+ }
+
+ /*!
+ @brief split the string input to reference tokens
+
+ @note This function is only called by the json_pointer constructor.
+ All exceptions below are documented there.
+
+ @throw parse_error.107 if the pointer is not empty or begins with '/'
+ @throw parse_error.108 if character '~' is not followed by '0' or '1'
+ */
+ static std::vector<std::string> split(const std::string& reference_string)
+ {
+ std::vector<std::string> result;
+
+ // special case: empty reference string -> no reference tokens
+ if (reference_string.empty())
+ {
+ return result;
+ }
+
+ // check if nonempty reference string begins with slash
+ if (JSON_HEDLEY_UNLIKELY(reference_string[0] != '/'))
+ {
+ JSON_THROW(detail::parse_error::create(107, 1, "JSON pointer must be empty or begin with '/' - was: '" + reference_string + "'", BasicJsonType()));
+ }
+
+ // extract the reference tokens:
+ // - slash: position of the last read slash (or end of string)
+ // - start: position after the previous slash
+ for (
+ // search for the first slash after the first character
+ std::size_t slash = reference_string.find_first_of('/', 1),
+ // set the beginning of the first reference token
+ start = 1;
+ // we can stop if start == 0 (if slash == std::string::npos)
+ start != 0;
+ // set the beginning of the next reference token
+ // (will eventually be 0 if slash == std::string::npos)
+ start = (slash == std::string::npos) ? 0 : slash + 1,
+ // find next slash
+ slash = reference_string.find_first_of('/', start))
+ {
+ // use the text between the beginning of the reference token
+ // (start) and the last slash (slash).
+ auto reference_token = reference_string.substr(start, slash - start);
+
+ // check reference tokens are properly escaped
+ for (std::size_t pos = reference_token.find_first_of('~');
+ pos != std::string::npos;
+ pos = reference_token.find_first_of('~', pos + 1))
+ {
+ JSON_ASSERT(reference_token[pos] == '~');
+
+ // ~ must be followed by 0 or 1
+ if (JSON_HEDLEY_UNLIKELY(pos == reference_token.size() - 1 ||
+ (reference_token[pos + 1] != '0' &&
+ reference_token[pos + 1] != '1')))
+ {
+ JSON_THROW(detail::parse_error::create(108, 0, "escape character '~' must be followed with '0' or '1'", BasicJsonType()));
+ }
+ }
+
+ // finally, store the reference token
+ detail::unescape(reference_token);
+ result.push_back(reference_token);
+ }
+
+ return result;
+ }
+
+ private:
+ /*!
+ @param[in] reference_string the reference string to the current value
+ @param[in] value the value to consider
+ @param[in,out] result the result object to insert values to
+
+ @note Empty objects or arrays are flattened to `null`.
+ */
+ static void flatten(const std::string& reference_string,
+ const BasicJsonType& value,
+ BasicJsonType& result)
+ {
+ switch (value.type())
+ {
+ case detail::value_t::array:
+ {
+ if (value.m_value.array->empty())
+ {
+ // flatten empty array as null
+ result[reference_string] = nullptr;
+ }
+ else
+ {
+ // iterate array and use index as reference string
+ for (std::size_t i = 0; i < value.m_value.array->size(); ++i)
+ {
+ flatten(reference_string + "/" + std::to_string(i),
+ value.m_value.array->operator[](i), result);
+ }
+ }
+ break;
+ }
+
+ case detail::value_t::object:
+ {
+ if (value.m_value.object->empty())
+ {
+ // flatten empty object as null
+ result[reference_string] = nullptr;
+ }
+ else
+ {
+ // iterate object and use keys as reference string
+ for (const auto& element : *value.m_value.object)
+ {
+ flatten(reference_string + "/" + detail::escape(element.first), element.second, result);
+ }
+ }
+ break;
+ }
+
+ case detail::value_t::null:
+ case detail::value_t::string:
+ case detail::value_t::boolean:
+ case detail::value_t::number_integer:
+ case detail::value_t::number_unsigned:
+ case detail::value_t::number_float:
+ case detail::value_t::binary:
+ case detail::value_t::discarded:
+ default:
+ {
+ // add primitive value with its reference string
+ result[reference_string] = value;
+ break;
+ }
+ }
+ }
+
+ /*!
+ @param[in] value flattened JSON
+
+ @return unflattened JSON
+
+ @throw parse_error.109 if array index is not a number
+ @throw type_error.314 if value is not an object
+ @throw type_error.315 if object values are not primitive
+ @throw type_error.313 if value cannot be unflattened
+ */
+ static BasicJsonType
+ unflatten(const BasicJsonType& value)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!value.is_object()))
+ {
+ JSON_THROW(detail::type_error::create(314, "only objects can be unflattened", value));
+ }
+
+ BasicJsonType result;
+
+ // iterate the JSON object values
+ for (const auto& element : *value.m_value.object)
+ {
+ if (JSON_HEDLEY_UNLIKELY(!element.second.is_primitive()))
+ {
+ JSON_THROW(detail::type_error::create(315, "values in object must be primitive", element.second));
+ }
+
+ // assign value to reference pointed to by JSON pointer; Note that if
+ // the JSON pointer is "" (i.e., points to the whole value), function
+ // get_and_create returns a reference to result itself. An assignment
+ // will then create a primitive value.
+ json_pointer(element.first).get_and_create(result) = element.second;
+ }
+
+ return result;
+ }
+
+ /*!
+ @brief compares two JSON pointers for equality
+
+ @param[in] lhs JSON pointer to compare
+ @param[in] rhs JSON pointer to compare
+ @return whether @a lhs is equal to @a rhs
+
+ @complexity Linear in the length of the JSON pointer
+
+ @exceptionsafety No-throw guarantee: this function never throws exceptions.
+ */
+ friend bool operator==(json_pointer const& lhs,
+ json_pointer const& rhs) noexcept
+ {
+ return lhs.reference_tokens == rhs.reference_tokens;
+ }
+
+ /*!
+ @brief compares two JSON pointers for inequality
+
+ @param[in] lhs JSON pointer to compare
+ @param[in] rhs JSON pointer to compare
+ @return whether @a lhs is not equal @a rhs
+
+ @complexity Linear in the length of the JSON pointer
+
+ @exceptionsafety No-throw guarantee: this function never throws exceptions.
+ */
+ friend bool operator!=(json_pointer const& lhs,
+ json_pointer const& rhs) noexcept
+ {
+ return !(lhs == rhs);
+ }
+
+ /// the reference tokens
+ std::vector<std::string> reference_tokens;
+};
+} // namespace nlohmann
+
+// #include <nlohmann/detail/json_ref.hpp>
+
+
+#include <initializer_list>
+#include <utility>
+
+// #include <nlohmann/detail/meta/type_traits.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+template<typename BasicJsonType>
+class json_ref
+{
+ public:
+ using value_type = BasicJsonType;
+
+ json_ref(value_type&& value)
+ : owned_value(std::move(value))
+ {}
+
+ json_ref(const value_type& value)
+ : value_ref(&value)
+ {}
+
+ json_ref(std::initializer_list<json_ref> init)
+ : owned_value(init)
+ {}
+
+ template <
+ class... Args,
+ enable_if_t<std::is_constructible<value_type, Args...>::value, int> = 0 >
+ json_ref(Args && ... args)
+ : owned_value(std::forward<Args>(args)...)
+ {}
+
+ // class should be movable only
+ json_ref(json_ref&&) noexcept = default;
+ json_ref(const json_ref&) = delete;
+ json_ref& operator=(const json_ref&) = delete;
+ json_ref& operator=(json_ref&&) = delete;
+ ~json_ref() = default;
+
+ value_type moved_or_copied() const
+ {
+ if (value_ref == nullptr)
+ {
+ return std::move(owned_value);
+ }
+ return *value_ref;
+ }
+
+ value_type const& operator*() const
+ {
+ return value_ref ? *value_ref : owned_value;
+ }
+
+ value_type const* operator->() const
+ {
+ return &** this;
+ }
+
+ private:
+ mutable value_type owned_value = nullptr;
+ value_type const* value_ref = nullptr;
+};
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+// #include <nlohmann/detail/string_escape.hpp>
+
+// #include <nlohmann/detail/meta/cpp_future.hpp>
+
+// #include <nlohmann/detail/meta/type_traits.hpp>
+
+// #include <nlohmann/detail/output/binary_writer.hpp>
+
+
+#include <algorithm> // reverse
+#include <array> // array
+#include <cmath> // isnan, isinf
+#include <cstdint> // uint8_t, uint16_t, uint32_t, uint64_t
+#include <cstring> // memcpy
+#include <limits> // numeric_limits
+#include <string> // string
+#include <utility> // move
+
+// #include <nlohmann/detail/input/binary_reader.hpp>
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+// #include <nlohmann/detail/output/output_adapters.hpp>
+
+
+#include <algorithm> // copy
+#include <cstddef> // size_t
+#include <iterator> // back_inserter
+#include <memory> // shared_ptr, make_shared
+#include <string> // basic_string
+#include <vector> // vector
+
+#ifndef JSON_NO_IO
+ #include <ios> // streamsize
+ #include <ostream> // basic_ostream
+#endif // JSON_NO_IO
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+/// abstract output adapter interface
+template<typename CharType> struct output_adapter_protocol
+{
+ virtual void write_character(CharType c) = 0;
+ virtual void write_characters(const CharType* s, std::size_t length) = 0;
+ virtual ~output_adapter_protocol() = default;
+
+ output_adapter_protocol() = default;
+ output_adapter_protocol(const output_adapter_protocol&) = default;
+ output_adapter_protocol(output_adapter_protocol&&) noexcept = default;
+ output_adapter_protocol& operator=(const output_adapter_protocol&) = default;
+ output_adapter_protocol& operator=(output_adapter_protocol&&) noexcept = default;
+};
+
+/// a type to simplify interfaces
+template<typename CharType>
+using output_adapter_t = std::shared_ptr<output_adapter_protocol<CharType>>;
+
+/// output adapter for byte vectors
+template<typename CharType, typename AllocatorType = std::allocator<CharType>>
+class output_vector_adapter : public output_adapter_protocol<CharType>
+{
+ public:
+ explicit output_vector_adapter(std::vector<CharType, AllocatorType>& vec) noexcept
+ : v(vec)
+ {}
+
+ void write_character(CharType c) override
+ {
+ v.push_back(c);
+ }
+
+ JSON_HEDLEY_NON_NULL(2)
+ void write_characters(const CharType* s, std::size_t length) override
+ {
+ std::copy(s, s + length, std::back_inserter(v));
+ }
+
+ private:
+ std::vector<CharType, AllocatorType>& v;
+};
+
+#ifndef JSON_NO_IO
+/// output adapter for output streams
+template<typename CharType>
+class output_stream_adapter : public output_adapter_protocol<CharType>
+{
+ public:
+ explicit output_stream_adapter(std::basic_ostream<CharType>& s) noexcept
+ : stream(s)
+ {}
+
+ void write_character(CharType c) override
+ {
+ stream.put(c);
+ }
+
+ JSON_HEDLEY_NON_NULL(2)
+ void write_characters(const CharType* s, std::size_t length) override
+ {
+ stream.write(s, static_cast<std::streamsize>(length));
+ }
+
+ private:
+ std::basic_ostream<CharType>& stream;
+};
+#endif // JSON_NO_IO
+
+/// output adapter for basic_string
+template<typename CharType, typename StringType = std::basic_string<CharType>>
+class output_string_adapter : public output_adapter_protocol<CharType>
+{
+ public:
+ explicit output_string_adapter(StringType& s) noexcept
+ : str(s)
+ {}
+
+ void write_character(CharType c) override
+ {
+ str.push_back(c);
+ }
+
+ JSON_HEDLEY_NON_NULL(2)
+ void write_characters(const CharType* s, std::size_t length) override
+ {
+ str.append(s, length);
+ }
+
+ private:
+ StringType& str;
+};
+
+template<typename CharType, typename StringType = std::basic_string<CharType>>
+class output_adapter
+{
+ public:
+ template<typename AllocatorType = std::allocator<CharType>>
+ output_adapter(std::vector<CharType, AllocatorType>& vec)
+ : oa(std::make_shared<output_vector_adapter<CharType, AllocatorType>>(vec)) {}
+
+#ifndef JSON_NO_IO
+ output_adapter(std::basic_ostream<CharType>& s)
+ : oa(std::make_shared<output_stream_adapter<CharType>>(s)) {}
+#endif // JSON_NO_IO
+
+ output_adapter(StringType& s)
+ : oa(std::make_shared<output_string_adapter<CharType, StringType>>(s)) {}
+
+ operator output_adapter_t<CharType>()
+ {
+ return oa;
+ }
+
+ private:
+ output_adapter_t<CharType> oa = nullptr;
+};
+} // namespace detail
+} // namespace nlohmann
+
+
+namespace nlohmann
+{
+namespace detail
+{
+///////////////////
+// binary writer //
+///////////////////
+
+/*!
+@brief serialization to CBOR and MessagePack values
+*/
+template<typename BasicJsonType, typename CharType>
+class binary_writer
+{
+ using string_t = typename BasicJsonType::string_t;
+ using binary_t = typename BasicJsonType::binary_t;
+ using number_float_t = typename BasicJsonType::number_float_t;
+
+ public:
+ /*!
+ @brief create a binary writer
+
+ @param[in] adapter output adapter to write to
+ */
+ explicit binary_writer(output_adapter_t<CharType> adapter) : oa(std::move(adapter))
+ {
+ JSON_ASSERT(oa);
+ }
+
+ /*!
+ @param[in] j JSON value to serialize
+ @pre j.type() == value_t::object
+ */
+ void write_bson(const BasicJsonType& j)
+ {
+ switch (j.type())
+ {
+ case value_t::object:
+ {
+ write_bson_object(*j.m_value.object);
+ break;
+ }
+
+ case value_t::null:
+ case value_t::array:
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ {
+ JSON_THROW(type_error::create(317, "to serialize to BSON, top-level type must be object, but is " + std::string(j.type_name()), j));
+ }
+ }
+ }
+
+ /*!
+ @param[in] j JSON value to serialize
+ */
+ void write_cbor(const BasicJsonType& j)
+ {
+ switch (j.type())
+ {
+ case value_t::null:
+ {
+ oa->write_character(to_char_type(0xF6));
+ break;
+ }
+
+ case value_t::boolean:
+ {
+ oa->write_character(j.m_value.boolean
+ ? to_char_type(0xF5)
+ : to_char_type(0xF4));
+ break;
+ }
+
+ case value_t::number_integer:
+ {
+ if (j.m_value.number_integer >= 0)
+ {
+ // CBOR does not differentiate between positive signed
+ // integers and unsigned integers. Therefore, we used the
+ // code from the value_t::number_unsigned case here.
+ if (j.m_value.number_integer <= 0x17)
+ {
+ write_number(static_cast<std::uint8_t>(j.m_value.number_integer));
+ }
+ else if (j.m_value.number_integer <= (std::numeric_limits<std::uint8_t>::max)())
+ {
+ oa->write_character(to_char_type(0x18));
+ write_number(static_cast<std::uint8_t>(j.m_value.number_integer));
+ }
+ else if (j.m_value.number_integer <= (std::numeric_limits<std::uint16_t>::max)())
+ {
+ oa->write_character(to_char_type(0x19));
+ write_number(static_cast<std::uint16_t>(j.m_value.number_integer));
+ }
+ else if (j.m_value.number_integer <= (std::numeric_limits<std::uint32_t>::max)())
+ {
+ oa->write_character(to_char_type(0x1A));
+ write_number(static_cast<std::uint32_t>(j.m_value.number_integer));
+ }
+ else
+ {
+ oa->write_character(to_char_type(0x1B));
+ write_number(static_cast<std::uint64_t>(j.m_value.number_integer));
+ }
+ }
+ else
+ {
+ // The conversions below encode the sign in the first
+ // byte, and the value is converted to a positive number.
+ const auto positive_number = -1 - j.m_value.number_integer;
+ if (j.m_value.number_integer >= -24)
+ {
+ write_number(static_cast<std::uint8_t>(0x20 + positive_number));
+ }
+ else if (positive_number <= (std::numeric_limits<std::uint8_t>::max)())
+ {
+ oa->write_character(to_char_type(0x38));
+ write_number(static_cast<std::uint8_t>(positive_number));
+ }
+ else if (positive_number <= (std::numeric_limits<std::uint16_t>::max)())
+ {
+ oa->write_character(to_char_type(0x39));
+ write_number(static_cast<std::uint16_t>(positive_number));
+ }
+ else if (positive_number <= (std::numeric_limits<std::uint32_t>::max)())
+ {
+ oa->write_character(to_char_type(0x3A));
+ write_number(static_cast<std::uint32_t>(positive_number));
+ }
+ else
+ {
+ oa->write_character(to_char_type(0x3B));
+ write_number(static_cast<std::uint64_t>(positive_number));
+ }
+ }
+ break;
+ }
+
+ case value_t::number_unsigned:
+ {
+ if (j.m_value.number_unsigned <= 0x17)
+ {
+ write_number(static_cast<std::uint8_t>(j.m_value.number_unsigned));
+ }
+ else if (j.m_value.number_unsigned <= (std::numeric_limits<std::uint8_t>::max)())
+ {
+ oa->write_character(to_char_type(0x18));
+ write_number(static_cast<std::uint8_t>(j.m_value.number_unsigned));
+ }
+ else if (j.m_value.number_unsigned <= (std::numeric_limits<std::uint16_t>::max)())
+ {
+ oa->write_character(to_char_type(0x19));
+ write_number(static_cast<std::uint16_t>(j.m_value.number_unsigned));
+ }
+ else if (j.m_value.number_unsigned <= (std::numeric_limits<std::uint32_t>::max)())
+ {
+ oa->write_character(to_char_type(0x1A));
+ write_number(static_cast<std::uint32_t>(j.m_value.number_unsigned));
+ }
+ else
+ {
+ oa->write_character(to_char_type(0x1B));
+ write_number(static_cast<std::uint64_t>(j.m_value.number_unsigned));
+ }
+ break;
+ }
+
+ case value_t::number_float:
+ {
+ if (std::isnan(j.m_value.number_float))
+ {
+ // NaN is 0xf97e00 in CBOR
+ oa->write_character(to_char_type(0xF9));
+ oa->write_character(to_char_type(0x7E));
+ oa->write_character(to_char_type(0x00));
+ }
+ else if (std::isinf(j.m_value.number_float))
+ {
+ // Infinity is 0xf97c00, -Infinity is 0xf9fc00
+ oa->write_character(to_char_type(0xf9));
+ oa->write_character(j.m_value.number_float > 0 ? to_char_type(0x7C) : to_char_type(0xFC));
+ oa->write_character(to_char_type(0x00));
+ }
+ else
+ {
+ write_compact_float(j.m_value.number_float, detail::input_format_t::cbor);
+ }
+ break;
+ }
+
+ case value_t::string:
+ {
+ // step 1: write control byte and the string length
+ const auto N = j.m_value.string->size();
+ if (N <= 0x17)
+ {
+ write_number(static_cast<std::uint8_t>(0x60 + N));
+ }
+ else if (N <= (std::numeric_limits<std::uint8_t>::max)())
+ {
+ oa->write_character(to_char_type(0x78));
+ write_number(static_cast<std::uint8_t>(N));
+ }
+ else if (N <= (std::numeric_limits<std::uint16_t>::max)())
+ {
+ oa->write_character(to_char_type(0x79));
+ write_number(static_cast<std::uint16_t>(N));
+ }
+ else if (N <= (std::numeric_limits<std::uint32_t>::max)())
+ {
+ oa->write_character(to_char_type(0x7A));
+ write_number(static_cast<std::uint32_t>(N));
+ }
+ // LCOV_EXCL_START
+ else if (N <= (std::numeric_limits<std::uint64_t>::max)())
+ {
+ oa->write_character(to_char_type(0x7B));
+ write_number(static_cast<std::uint64_t>(N));
+ }
+ // LCOV_EXCL_STOP
+
+ // step 2: write the string
+ oa->write_characters(
+ reinterpret_cast<const CharType*>(j.m_value.string->c_str()),
+ j.m_value.string->size());
+ break;
+ }
+
+ case value_t::array:
+ {
+ // step 1: write control byte and the array size
+ const auto N = j.m_value.array->size();
+ if (N <= 0x17)
+ {
+ write_number(static_cast<std::uint8_t>(0x80 + N));
+ }
+ else if (N <= (std::numeric_limits<std::uint8_t>::max)())
+ {
+ oa->write_character(to_char_type(0x98));
+ write_number(static_cast<std::uint8_t>(N));
+ }
+ else if (N <= (std::numeric_limits<std::uint16_t>::max)())
+ {
+ oa->write_character(to_char_type(0x99));
+ write_number(static_cast<std::uint16_t>(N));
+ }
+ else if (N <= (std::numeric_limits<std::uint32_t>::max)())
+ {
+ oa->write_character(to_char_type(0x9A));
+ write_number(static_cast<std::uint32_t>(N));
+ }
+ // LCOV_EXCL_START
+ else if (N <= (std::numeric_limits<std::uint64_t>::max)())
+ {
+ oa->write_character(to_char_type(0x9B));
+ write_number(static_cast<std::uint64_t>(N));
+ }
+ // LCOV_EXCL_STOP
+
+ // step 2: write each element
+ for (const auto& el : *j.m_value.array)
+ {
+ write_cbor(el);
+ }
+ break;
+ }
+
+ case value_t::binary:
+ {
+ if (j.m_value.binary->has_subtype())
+ {
+ if (j.m_value.binary->subtype() <= (std::numeric_limits<std::uint8_t>::max)())
+ {
+ write_number(static_cast<std::uint8_t>(0xd8));
+ write_number(static_cast<std::uint8_t>(j.m_value.binary->subtype()));
+ }
+ else if (j.m_value.binary->subtype() <= (std::numeric_limits<std::uint16_t>::max)())
+ {
+ write_number(static_cast<std::uint8_t>(0xd9));
+ write_number(static_cast<std::uint16_t>(j.m_value.binary->subtype()));
+ }
+ else if (j.m_value.binary->subtype() <= (std::numeric_limits<std::uint32_t>::max)())
+ {
+ write_number(static_cast<std::uint8_t>(0xda));
+ write_number(static_cast<std::uint32_t>(j.m_value.binary->subtype()));
+ }
+ else if (j.m_value.binary->subtype() <= (std::numeric_limits<std::uint64_t>::max)())
+ {
+ write_number(static_cast<std::uint8_t>(0xdb));
+ write_number(static_cast<std::uint64_t>(j.m_value.binary->subtype()));
+ }
+ }
+
+ // step 1: write control byte and the binary array size
+ const auto N = j.m_value.binary->size();
+ if (N <= 0x17)
+ {
+ write_number(static_cast<std::uint8_t>(0x40 + N));
+ }
+ else if (N <= (std::numeric_limits<std::uint8_t>::max)())
+ {
+ oa->write_character(to_char_type(0x58));
+ write_number(static_cast<std::uint8_t>(N));
+ }
+ else if (N <= (std::numeric_limits<std::uint16_t>::max)())
+ {
+ oa->write_character(to_char_type(0x59));
+ write_number(static_cast<std::uint16_t>(N));
+ }
+ else if (N <= (std::numeric_limits<std::uint32_t>::max)())
+ {
+ oa->write_character(to_char_type(0x5A));
+ write_number(static_cast<std::uint32_t>(N));
+ }
+ // LCOV_EXCL_START
+ else if (N <= (std::numeric_limits<std::uint64_t>::max)())
+ {
+ oa->write_character(to_char_type(0x5B));
+ write_number(static_cast<std::uint64_t>(N));
+ }
+ // LCOV_EXCL_STOP
+
+ // step 2: write each element
+ oa->write_characters(
+ reinterpret_cast<const CharType*>(j.m_value.binary->data()),
+ N);
+
+ break;
+ }
+
+ case value_t::object:
+ {
+ // step 1: write control byte and the object size
+ const auto N = j.m_value.object->size();
+ if (N <= 0x17)
+ {
+ write_number(static_cast<std::uint8_t>(0xA0 + N));
+ }
+ else if (N <= (std::numeric_limits<std::uint8_t>::max)())
+ {
+ oa->write_character(to_char_type(0xB8));
+ write_number(static_cast<std::uint8_t>(N));
+ }
+ else if (N <= (std::numeric_limits<std::uint16_t>::max)())
+ {
+ oa->write_character(to_char_type(0xB9));
+ write_number(static_cast<std::uint16_t>(N));
+ }
+ else if (N <= (std::numeric_limits<std::uint32_t>::max)())
+ {
+ oa->write_character(to_char_type(0xBA));
+ write_number(static_cast<std::uint32_t>(N));
+ }
+ // LCOV_EXCL_START
+ else if (N <= (std::numeric_limits<std::uint64_t>::max)())
+ {
+ oa->write_character(to_char_type(0xBB));
+ write_number(static_cast<std::uint64_t>(N));
+ }
+ // LCOV_EXCL_STOP
+
+ // step 2: write each element
+ for (const auto& el : *j.m_value.object)
+ {
+ write_cbor(el.first);
+ write_cbor(el.second);
+ }
+ break;
+ }
+
+ case value_t::discarded:
+ default:
+ break;
+ }
+ }
+
+ /*!
+ @param[in] j JSON value to serialize
+ */
+ void write_msgpack(const BasicJsonType& j)
+ {
+ switch (j.type())
+ {
+ case value_t::null: // nil
+ {
+ oa->write_character(to_char_type(0xC0));
+ break;
+ }
+
+ case value_t::boolean: // true and false
+ {
+ oa->write_character(j.m_value.boolean
+ ? to_char_type(0xC3)
+ : to_char_type(0xC2));
+ break;
+ }
+
+ case value_t::number_integer:
+ {
+ if (j.m_value.number_integer >= 0)
+ {
+ // MessagePack does not differentiate between positive
+ // signed integers and unsigned integers. Therefore, we used
+ // the code from the value_t::number_unsigned case here.
+ if (j.m_value.number_unsigned < 128)
+ {
+ // positive fixnum
+ write_number(static_cast<std::uint8_t>(j.m_value.number_integer));
+ }
+ else if (j.m_value.number_unsigned <= (std::numeric_limits<std::uint8_t>::max)())
+ {
+ // uint 8
+ oa->write_character(to_char_type(0xCC));
+ write_number(static_cast<std::uint8_t>(j.m_value.number_integer));
+ }
+ else if (j.m_value.number_unsigned <= (std::numeric_limits<std::uint16_t>::max)())
+ {
+ // uint 16
+ oa->write_character(to_char_type(0xCD));
+ write_number(static_cast<std::uint16_t>(j.m_value.number_integer));
+ }
+ else if (j.m_value.number_unsigned <= (std::numeric_limits<std::uint32_t>::max)())
+ {
+ // uint 32
+ oa->write_character(to_char_type(0xCE));
+ write_number(static_cast<std::uint32_t>(j.m_value.number_integer));
+ }
+ else if (j.m_value.number_unsigned <= (std::numeric_limits<std::uint64_t>::max)())
+ {
+ // uint 64
+ oa->write_character(to_char_type(0xCF));
+ write_number(static_cast<std::uint64_t>(j.m_value.number_integer));
+ }
+ }
+ else
+ {
+ if (j.m_value.number_integer >= -32)
+ {
+ // negative fixnum
+ write_number(static_cast<std::int8_t>(j.m_value.number_integer));
+ }
+ else if (j.m_value.number_integer >= (std::numeric_limits<std::int8_t>::min)() &&
+ j.m_value.number_integer <= (std::numeric_limits<std::int8_t>::max)())
+ {
+ // int 8
+ oa->write_character(to_char_type(0xD0));
+ write_number(static_cast<std::int8_t>(j.m_value.number_integer));
+ }
+ else if (j.m_value.number_integer >= (std::numeric_limits<std::int16_t>::min)() &&
+ j.m_value.number_integer <= (std::numeric_limits<std::int16_t>::max)())
+ {
+ // int 16
+ oa->write_character(to_char_type(0xD1));
+ write_number(static_cast<std::int16_t>(j.m_value.number_integer));
+ }
+ else if (j.m_value.number_integer >= (std::numeric_limits<std::int32_t>::min)() &&
+ j.m_value.number_integer <= (std::numeric_limits<std::int32_t>::max)())
+ {
+ // int 32
+ oa->write_character(to_char_type(0xD2));
+ write_number(static_cast<std::int32_t>(j.m_value.number_integer));
+ }
+ else if (j.m_value.number_integer >= (std::numeric_limits<std::int64_t>::min)() &&
+ j.m_value.number_integer <= (std::numeric_limits<std::int64_t>::max)())
+ {
+ // int 64
+ oa->write_character(to_char_type(0xD3));
+ write_number(static_cast<std::int64_t>(j.m_value.number_integer));
+ }
+ }
+ break;
+ }
+
+ case value_t::number_unsigned:
+ {
+ if (j.m_value.number_unsigned < 128)
+ {
+ // positive fixnum
+ write_number(static_cast<std::uint8_t>(j.m_value.number_integer));
+ }
+ else if (j.m_value.number_unsigned <= (std::numeric_limits<std::uint8_t>::max)())
+ {
+ // uint 8
+ oa->write_character(to_char_type(0xCC));
+ write_number(static_cast<std::uint8_t>(j.m_value.number_integer));
+ }
+ else if (j.m_value.number_unsigned <= (std::numeric_limits<std::uint16_t>::max)())
+ {
+ // uint 16
+ oa->write_character(to_char_type(0xCD));
+ write_number(static_cast<std::uint16_t>(j.m_value.number_integer));
+ }
+ else if (j.m_value.number_unsigned <= (std::numeric_limits<std::uint32_t>::max)())
+ {
+ // uint 32
+ oa->write_character(to_char_type(0xCE));
+ write_number(static_cast<std::uint32_t>(j.m_value.number_integer));
+ }
+ else if (j.m_value.number_unsigned <= (std::numeric_limits<std::uint64_t>::max)())
+ {
+ // uint 64
+ oa->write_character(to_char_type(0xCF));
+ write_number(static_cast<std::uint64_t>(j.m_value.number_integer));
+ }
+ break;
+ }
+
+ case value_t::number_float:
+ {
+ write_compact_float(j.m_value.number_float, detail::input_format_t::msgpack);
+ break;
+ }
+
+ case value_t::string:
+ {
+ // step 1: write control byte and the string length
+ const auto N = j.m_value.string->size();
+ if (N <= 31)
+ {
+ // fixstr
+ write_number(static_cast<std::uint8_t>(0xA0 | N));
+ }
+ else if (N <= (std::numeric_limits<std::uint8_t>::max)())
+ {
+ // str 8
+ oa->write_character(to_char_type(0xD9));
+ write_number(static_cast<std::uint8_t>(N));
+ }
+ else if (N <= (std::numeric_limits<std::uint16_t>::max)())
+ {
+ // str 16
+ oa->write_character(to_char_type(0xDA));
+ write_number(static_cast<std::uint16_t>(N));
+ }
+ else if (N <= (std::numeric_limits<std::uint32_t>::max)())
+ {
+ // str 32
+ oa->write_character(to_char_type(0xDB));
+ write_number(static_cast<std::uint32_t>(N));
+ }
+
+ // step 2: write the string
+ oa->write_characters(
+ reinterpret_cast<const CharType*>(j.m_value.string->c_str()),
+ j.m_value.string->size());
+ break;
+ }
+
+ case value_t::array:
+ {
+ // step 1: write control byte and the array size
+ const auto N = j.m_value.array->size();
+ if (N <= 15)
+ {
+ // fixarray
+ write_number(static_cast<std::uint8_t>(0x90 | N));
+ }
+ else if (N <= (std::numeric_limits<std::uint16_t>::max)())
+ {
+ // array 16
+ oa->write_character(to_char_type(0xDC));
+ write_number(static_cast<std::uint16_t>(N));
+ }
+ else if (N <= (std::numeric_limits<std::uint32_t>::max)())
+ {
+ // array 32
+ oa->write_character(to_char_type(0xDD));
+ write_number(static_cast<std::uint32_t>(N));
+ }
+
+ // step 2: write each element
+ for (const auto& el : *j.m_value.array)
+ {
+ write_msgpack(el);
+ }
+ break;
+ }
+
+ case value_t::binary:
+ {
+ // step 0: determine if the binary type has a set subtype to
+ // determine whether or not to use the ext or fixext types
+ const bool use_ext = j.m_value.binary->has_subtype();
+
+ // step 1: write control byte and the byte string length
+ const auto N = j.m_value.binary->size();
+ if (N <= (std::numeric_limits<std::uint8_t>::max)())
+ {
+ std::uint8_t output_type{};
+ bool fixed = true;
+ if (use_ext)
+ {
+ switch (N)
+ {
+ case 1:
+ output_type = 0xD4; // fixext 1
+ break;
+ case 2:
+ output_type = 0xD5; // fixext 2
+ break;
+ case 4:
+ output_type = 0xD6; // fixext 4
+ break;
+ case 8:
+ output_type = 0xD7; // fixext 8
+ break;
+ case 16:
+ output_type = 0xD8; // fixext 16
+ break;
+ default:
+ output_type = 0xC7; // ext 8
+ fixed = false;
+ break;
+ }
+
+ }
+ else
+ {
+ output_type = 0xC4; // bin 8
+ fixed = false;
+ }
+
+ oa->write_character(to_char_type(output_type));
+ if (!fixed)
+ {
+ write_number(static_cast<std::uint8_t>(N));
+ }
+ }
+ else if (N <= (std::numeric_limits<std::uint16_t>::max)())
+ {
+ std::uint8_t output_type = use_ext
+ ? 0xC8 // ext 16
+ : 0xC5; // bin 16
+
+ oa->write_character(to_char_type(output_type));
+ write_number(static_cast<std::uint16_t>(N));
+ }
+ else if (N <= (std::numeric_limits<std::uint32_t>::max)())
+ {
+ std::uint8_t output_type = use_ext
+ ? 0xC9 // ext 32
+ : 0xC6; // bin 32
+
+ oa->write_character(to_char_type(output_type));
+ write_number(static_cast<std::uint32_t>(N));
+ }
+
+ // step 1.5: if this is an ext type, write the subtype
+ if (use_ext)
+ {
+ write_number(static_cast<std::int8_t>(j.m_value.binary->subtype()));
+ }
+
+ // step 2: write the byte string
+ oa->write_characters(
+ reinterpret_cast<const CharType*>(j.m_value.binary->data()),
+ N);
+
+ break;
+ }
+
+ case value_t::object:
+ {
+ // step 1: write control byte and the object size
+ const auto N = j.m_value.object->size();
+ if (N <= 15)
+ {
+ // fixmap
+ write_number(static_cast<std::uint8_t>(0x80 | (N & 0xF)));
+ }
+ else if (N <= (std::numeric_limits<std::uint16_t>::max)())
+ {
+ // map 16
+ oa->write_character(to_char_type(0xDE));
+ write_number(static_cast<std::uint16_t>(N));
+ }
+ else if (N <= (std::numeric_limits<std::uint32_t>::max)())
+ {
+ // map 32
+ oa->write_character(to_char_type(0xDF));
+ write_number(static_cast<std::uint32_t>(N));
+ }
+
+ // step 2: write each element
+ for (const auto& el : *j.m_value.object)
+ {
+ write_msgpack(el.first);
+ write_msgpack(el.second);
+ }
+ break;
+ }
+
+ case value_t::discarded:
+ default:
+ break;
+ }
+ }
+
+ /*!
+ @param[in] j JSON value to serialize
+ @param[in] use_count whether to use '#' prefixes (optimized format)
+ @param[in] use_type whether to use '$' prefixes (optimized format)
+ @param[in] add_prefix whether prefixes need to be used for this value
+ */
+ void write_ubjson(const BasicJsonType& j, const bool use_count,
+ const bool use_type, const bool add_prefix = true)
+ {
+ switch (j.type())
+ {
+ case value_t::null:
+ {
+ if (add_prefix)
+ {
+ oa->write_character(to_char_type('Z'));
+ }
+ break;
+ }
+
+ case value_t::boolean:
+ {
+ if (add_prefix)
+ {
+ oa->write_character(j.m_value.boolean
+ ? to_char_type('T')
+ : to_char_type('F'));
+ }
+ break;
+ }
+
+ case value_t::number_integer:
+ {
+ write_number_with_ubjson_prefix(j.m_value.number_integer, add_prefix);
+ break;
+ }
+
+ case value_t::number_unsigned:
+ {
+ write_number_with_ubjson_prefix(j.m_value.number_unsigned, add_prefix);
+ break;
+ }
+
+ case value_t::number_float:
+ {
+ write_number_with_ubjson_prefix(j.m_value.number_float, add_prefix);
+ break;
+ }
+
+ case value_t::string:
+ {
+ if (add_prefix)
+ {
+ oa->write_character(to_char_type('S'));
+ }
+ write_number_with_ubjson_prefix(j.m_value.string->size(), true);
+ oa->write_characters(
+ reinterpret_cast<const CharType*>(j.m_value.string->c_str()),
+ j.m_value.string->size());
+ break;
+ }
+
+ case value_t::array:
+ {
+ if (add_prefix)
+ {
+ oa->write_character(to_char_type('['));
+ }
+
+ bool prefix_required = true;
+ if (use_type && !j.m_value.array->empty())
+ {
+ JSON_ASSERT(use_count);
+ const CharType first_prefix = ubjson_prefix(j.front());
+ const bool same_prefix = std::all_of(j.begin() + 1, j.end(),
+ [this, first_prefix](const BasicJsonType & v)
+ {
+ return ubjson_prefix(v) == first_prefix;
+ });
+
+ if (same_prefix)
+ {
+ prefix_required = false;
+ oa->write_character(to_char_type('$'));
+ oa->write_character(first_prefix);
+ }
+ }
+
+ if (use_count)
+ {
+ oa->write_character(to_char_type('#'));
+ write_number_with_ubjson_prefix(j.m_value.array->size(), true);
+ }
+
+ for (const auto& el : *j.m_value.array)
+ {
+ write_ubjson(el, use_count, use_type, prefix_required);
+ }
+
+ if (!use_count)
+ {
+ oa->write_character(to_char_type(']'));
+ }
+
+ break;
+ }
+
+ case value_t::binary:
+ {
+ if (add_prefix)
+ {
+ oa->write_character(to_char_type('['));
+ }
+
+ if (use_type && !j.m_value.binary->empty())
+ {
+ JSON_ASSERT(use_count);
+ oa->write_character(to_char_type('$'));
+ oa->write_character('U');
+ }
+
+ if (use_count)
+ {
+ oa->write_character(to_char_type('#'));
+ write_number_with_ubjson_prefix(j.m_value.binary->size(), true);
+ }
+
+ if (use_type)
+ {
+ oa->write_characters(
+ reinterpret_cast<const CharType*>(j.m_value.binary->data()),
+ j.m_value.binary->size());
+ }
+ else
+ {
+ for (size_t i = 0; i < j.m_value.binary->size(); ++i)
+ {
+ oa->write_character(to_char_type('U'));
+ oa->write_character(j.m_value.binary->data()[i]);
+ }
+ }
+
+ if (!use_count)
+ {
+ oa->write_character(to_char_type(']'));
+ }
+
+ break;
+ }
+
+ case value_t::object:
+ {
+ if (add_prefix)
+ {
+ oa->write_character(to_char_type('{'));
+ }
+
+ bool prefix_required = true;
+ if (use_type && !j.m_value.object->empty())
+ {
+ JSON_ASSERT(use_count);
+ const CharType first_prefix = ubjson_prefix(j.front());
+ const bool same_prefix = std::all_of(j.begin(), j.end(),
+ [this, first_prefix](const BasicJsonType & v)
+ {
+ return ubjson_prefix(v) == first_prefix;
+ });
+
+ if (same_prefix)
+ {
+ prefix_required = false;
+ oa->write_character(to_char_type('$'));
+ oa->write_character(first_prefix);
+ }
+ }
+
+ if (use_count)
+ {
+ oa->write_character(to_char_type('#'));
+ write_number_with_ubjson_prefix(j.m_value.object->size(), true);
+ }
+
+ for (const auto& el : *j.m_value.object)
+ {
+ write_number_with_ubjson_prefix(el.first.size(), true);
+ oa->write_characters(
+ reinterpret_cast<const CharType*>(el.first.c_str()),
+ el.first.size());
+ write_ubjson(el.second, use_count, use_type, prefix_required);
+ }
+
+ if (!use_count)
+ {
+ oa->write_character(to_char_type('}'));
+ }
+
+ break;
+ }
+
+ case value_t::discarded:
+ default:
+ break;
+ }
+ }
+
+ private:
+ //////////
+ // BSON //
+ //////////
+
+ /*!
+ @return The size of a BSON document entry header, including the id marker
+ and the entry name size (and its null-terminator).
+ */
+ static std::size_t calc_bson_entry_header_size(const string_t& name, const BasicJsonType& j)
+ {
+ const auto it = name.find(static_cast<typename string_t::value_type>(0));
+ if (JSON_HEDLEY_UNLIKELY(it != BasicJsonType::string_t::npos))
+ {
+ JSON_THROW(out_of_range::create(409, "BSON key cannot contain code point U+0000 (at byte " + std::to_string(it) + ")", j));
+ static_cast<void>(j);
+ }
+
+ return /*id*/ 1ul + name.size() + /*zero-terminator*/1u;
+ }
+
+ /*!
+ @brief Writes the given @a element_type and @a name to the output adapter
+ */
+ void write_bson_entry_header(const string_t& name,
+ const std::uint8_t element_type)
+ {
+ oa->write_character(to_char_type(element_type)); // boolean
+ oa->write_characters(
+ reinterpret_cast<const CharType*>(name.c_str()),
+ name.size() + 1u);
+ }
+
+ /*!
+ @brief Writes a BSON element with key @a name and boolean value @a value
+ */
+ void write_bson_boolean(const string_t& name,
+ const bool value)
+ {
+ write_bson_entry_header(name, 0x08);
+ oa->write_character(value ? to_char_type(0x01) : to_char_type(0x00));
+ }
+
+ /*!
+ @brief Writes a BSON element with key @a name and double value @a value
+ */
+ void write_bson_double(const string_t& name,
+ const double value)
+ {
+ write_bson_entry_header(name, 0x01);
+ write_number<double, true>(value);
+ }
+
+ /*!
+ @return The size of the BSON-encoded string in @a value
+ */
+ static std::size_t calc_bson_string_size(const string_t& value)
+ {
+ return sizeof(std::int32_t) + value.size() + 1ul;
+ }
+
+ /*!
+ @brief Writes a BSON element with key @a name and string value @a value
+ */
+ void write_bson_string(const string_t& name,
+ const string_t& value)
+ {
+ write_bson_entry_header(name, 0x02);
+
+ write_number<std::int32_t, true>(static_cast<std::int32_t>(value.size() + 1ul));
+ oa->write_characters(
+ reinterpret_cast<const CharType*>(value.c_str()),
+ value.size() + 1);
+ }
+
+ /*!
+ @brief Writes a BSON element with key @a name and null value
+ */
+ void write_bson_null(const string_t& name)
+ {
+ write_bson_entry_header(name, 0x0A);
+ }
+
+ /*!
+ @return The size of the BSON-encoded integer @a value
+ */
+ static std::size_t calc_bson_integer_size(const std::int64_t value)
+ {
+ return (std::numeric_limits<std::int32_t>::min)() <= value && value <= (std::numeric_limits<std::int32_t>::max)()
+ ? sizeof(std::int32_t)
+ : sizeof(std::int64_t);
+ }
+
+ /*!
+ @brief Writes a BSON element with key @a name and integer @a value
+ */
+ void write_bson_integer(const string_t& name,
+ const std::int64_t value)
+ {
+ if ((std::numeric_limits<std::int32_t>::min)() <= value && value <= (std::numeric_limits<std::int32_t>::max)())
+ {
+ write_bson_entry_header(name, 0x10); // int32
+ write_number<std::int32_t, true>(static_cast<std::int32_t>(value));
+ }
+ else
+ {
+ write_bson_entry_header(name, 0x12); // int64
+ write_number<std::int64_t, true>(static_cast<std::int64_t>(value));
+ }
+ }
+
+ /*!
+ @return The size of the BSON-encoded unsigned integer in @a j
+ */
+ static constexpr std::size_t calc_bson_unsigned_size(const std::uint64_t value) noexcept
+ {
+ return (value <= static_cast<std::uint64_t>((std::numeric_limits<std::int32_t>::max)()))
+ ? sizeof(std::int32_t)
+ : sizeof(std::int64_t);
+ }
+
+ /*!
+ @brief Writes a BSON element with key @a name and unsigned @a value
+ */
+ void write_bson_unsigned(const string_t& name,
+ const BasicJsonType& j)
+ {
+ if (j.m_value.number_unsigned <= static_cast<std::uint64_t>((std::numeric_limits<std::int32_t>::max)()))
+ {
+ write_bson_entry_header(name, 0x10 /* int32 */);
+ write_number<std::int32_t, true>(static_cast<std::int32_t>(j.m_value.number_unsigned));
+ }
+ else if (j.m_value.number_unsigned <= static_cast<std::uint64_t>((std::numeric_limits<std::int64_t>::max)()))
+ {
+ write_bson_entry_header(name, 0x12 /* int64 */);
+ write_number<std::int64_t, true>(static_cast<std::int64_t>(j.m_value.number_unsigned));
+ }
+ else
+ {
+ JSON_THROW(out_of_range::create(407, "integer number " + std::to_string(j.m_value.number_unsigned) + " cannot be represented by BSON as it does not fit int64", j));
+ }
+ }
+
+ /*!
+ @brief Writes a BSON element with key @a name and object @a value
+ */
+ void write_bson_object_entry(const string_t& name,
+ const typename BasicJsonType::object_t& value)
+ {
+ write_bson_entry_header(name, 0x03); // object
+ write_bson_object(value);
+ }
+
+ /*!
+ @return The size of the BSON-encoded array @a value
+ */
+ static std::size_t calc_bson_array_size(const typename BasicJsonType::array_t& value)
+ {
+ std::size_t array_index = 0ul;
+
+ const std::size_t embedded_document_size = std::accumulate(std::begin(value), std::end(value), static_cast<std::size_t>(0), [&array_index](std::size_t result, const typename BasicJsonType::array_t::value_type & el)
+ {
+ return result + calc_bson_element_size(std::to_string(array_index++), el);
+ });
+
+ return sizeof(std::int32_t) + embedded_document_size + 1ul;
+ }
+
+ /*!
+ @return The size of the BSON-encoded binary array @a value
+ */
+ static std::size_t calc_bson_binary_size(const typename BasicJsonType::binary_t& value)
+ {
+ return sizeof(std::int32_t) + value.size() + 1ul;
+ }
+
+ /*!
+ @brief Writes a BSON element with key @a name and array @a value
+ */
+ void write_bson_array(const string_t& name,
+ const typename BasicJsonType::array_t& value)
+ {
+ write_bson_entry_header(name, 0x04); // array
+ write_number<std::int32_t, true>(static_cast<std::int32_t>(calc_bson_array_size(value)));
+
+ std::size_t array_index = 0ul;
+
+ for (const auto& el : value)
+ {
+ write_bson_element(std::to_string(array_index++), el);
+ }
+
+ oa->write_character(to_char_type(0x00));
+ }
+
+ /*!
+ @brief Writes a BSON element with key @a name and binary value @a value
+ */
+ void write_bson_binary(const string_t& name,
+ const binary_t& value)
+ {
+ write_bson_entry_header(name, 0x05);
+
+ write_number<std::int32_t, true>(static_cast<std::int32_t>(value.size()));
+ write_number(value.has_subtype() ? static_cast<std::uint8_t>(value.subtype()) : static_cast<std::uint8_t>(0x00));
+
+ oa->write_characters(reinterpret_cast<const CharType*>(value.data()), value.size());
+ }
+
+ /*!
+ @brief Calculates the size necessary to serialize the JSON value @a j with its @a name
+ @return The calculated size for the BSON document entry for @a j with the given @a name.
+ */
+ static std::size_t calc_bson_element_size(const string_t& name,
+ const BasicJsonType& j)
+ {
+ const auto header_size = calc_bson_entry_header_size(name, j);
+ switch (j.type())
+ {
+ case value_t::object:
+ return header_size + calc_bson_object_size(*j.m_value.object);
+
+ case value_t::array:
+ return header_size + calc_bson_array_size(*j.m_value.array);
+
+ case value_t::binary:
+ return header_size + calc_bson_binary_size(*j.m_value.binary);
+
+ case value_t::boolean:
+ return header_size + 1ul;
+
+ case value_t::number_float:
+ return header_size + 8ul;
+
+ case value_t::number_integer:
+ return header_size + calc_bson_integer_size(j.m_value.number_integer);
+
+ case value_t::number_unsigned:
+ return header_size + calc_bson_unsigned_size(j.m_value.number_unsigned);
+
+ case value_t::string:
+ return header_size + calc_bson_string_size(*j.m_value.string);
+
+ case value_t::null:
+ return header_size + 0ul;
+
+ // LCOV_EXCL_START
+ case value_t::discarded:
+ default:
+ JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert)
+ return 0ul;
+ // LCOV_EXCL_STOP
+ }
+ }
+
+ /*!
+ @brief Serializes the JSON value @a j to BSON and associates it with the
+ key @a name.
+ @param name The name to associate with the JSON entity @a j within the
+ current BSON document
+ */
+ void write_bson_element(const string_t& name,
+ const BasicJsonType& j)
+ {
+ switch (j.type())
+ {
+ case value_t::object:
+ return write_bson_object_entry(name, *j.m_value.object);
+
+ case value_t::array:
+ return write_bson_array(name, *j.m_value.array);
+
+ case value_t::binary:
+ return write_bson_binary(name, *j.m_value.binary);
+
+ case value_t::boolean:
+ return write_bson_boolean(name, j.m_value.boolean);
+
+ case value_t::number_float:
+ return write_bson_double(name, j.m_value.number_float);
+
+ case value_t::number_integer:
+ return write_bson_integer(name, j.m_value.number_integer);
+
+ case value_t::number_unsigned:
+ return write_bson_unsigned(name, j);
+
+ case value_t::string:
+ return write_bson_string(name, *j.m_value.string);
+
+ case value_t::null:
+ return write_bson_null(name);
+
+ // LCOV_EXCL_START
+ case value_t::discarded:
+ default:
+ JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert)
+ return;
+ // LCOV_EXCL_STOP
+ }
+ }
+
+ /*!
+ @brief Calculates the size of the BSON serialization of the given
+ JSON-object @a j.
+ @param[in] value JSON value to serialize
+ @pre value.type() == value_t::object
+ */
+ static std::size_t calc_bson_object_size(const typename BasicJsonType::object_t& value)
+ {
+ std::size_t document_size = std::accumulate(value.begin(), value.end(), static_cast<std::size_t>(0),
+ [](size_t result, const typename BasicJsonType::object_t::value_type & el)
+ {
+ return result += calc_bson_element_size(el.first, el.second);
+ });
+
+ return sizeof(std::int32_t) + document_size + 1ul;
+ }
+
+ /*!
+ @param[in] value JSON value to serialize
+ @pre value.type() == value_t::object
+ */
+ void write_bson_object(const typename BasicJsonType::object_t& value)
+ {
+ write_number<std::int32_t, true>(static_cast<std::int32_t>(calc_bson_object_size(value)));
+
+ for (const auto& el : value)
+ {
+ write_bson_element(el.first, el.second);
+ }
+
+ oa->write_character(to_char_type(0x00));
+ }
+
+ //////////
+ // CBOR //
+ //////////
+
+ static constexpr CharType get_cbor_float_prefix(float /*unused*/)
+ {
+ return to_char_type(0xFA); // Single-Precision Float
+ }
+
+ static constexpr CharType get_cbor_float_prefix(double /*unused*/)
+ {
+ return to_char_type(0xFB); // Double-Precision Float
+ }
+
+ /////////////
+ // MsgPack //
+ /////////////
+
+ static constexpr CharType get_msgpack_float_prefix(float /*unused*/)
+ {
+ return to_char_type(0xCA); // float 32
+ }
+
+ static constexpr CharType get_msgpack_float_prefix(double /*unused*/)
+ {
+ return to_char_type(0xCB); // float 64
+ }
+
+ ////////////
+ // UBJSON //
+ ////////////
+
+ // UBJSON: write number (floating point)
+ template<typename NumberType, typename std::enable_if<
+ std::is_floating_point<NumberType>::value, int>::type = 0>
+ void write_number_with_ubjson_prefix(const NumberType n,
+ const bool add_prefix)
+ {
+ if (add_prefix)
+ {
+ oa->write_character(get_ubjson_float_prefix(n));
+ }
+ write_number(n);
+ }
+
+ // UBJSON: write number (unsigned integer)
+ template<typename NumberType, typename std::enable_if<
+ std::is_unsigned<NumberType>::value, int>::type = 0>
+ void write_number_with_ubjson_prefix(const NumberType n,
+ const bool add_prefix)
+ {
+ if (n <= static_cast<std::uint64_t>((std::numeric_limits<std::int8_t>::max)()))
+ {
+ if (add_prefix)
+ {
+ oa->write_character(to_char_type('i')); // int8
+ }
+ write_number(static_cast<std::uint8_t>(n));
+ }
+ else if (n <= (std::numeric_limits<std::uint8_t>::max)())
+ {
+ if (add_prefix)
+ {
+ oa->write_character(to_char_type('U')); // uint8
+ }
+ write_number(static_cast<std::uint8_t>(n));
+ }
+ else if (n <= static_cast<std::uint64_t>((std::numeric_limits<std::int16_t>::max)()))
+ {
+ if (add_prefix)
+ {
+ oa->write_character(to_char_type('I')); // int16
+ }
+ write_number(static_cast<std::int16_t>(n));
+ }
+ else if (n <= static_cast<std::uint64_t>((std::numeric_limits<std::int32_t>::max)()))
+ {
+ if (add_prefix)
+ {
+ oa->write_character(to_char_type('l')); // int32
+ }
+ write_number(static_cast<std::int32_t>(n));
+ }
+ else if (n <= static_cast<std::uint64_t>((std::numeric_limits<std::int64_t>::max)()))
+ {
+ if (add_prefix)
+ {
+ oa->write_character(to_char_type('L')); // int64
+ }
+ write_number(static_cast<std::int64_t>(n));
+ }
+ else
+ {
+ if (add_prefix)
+ {
+ oa->write_character(to_char_type('H')); // high-precision number
+ }
+
+ const auto number = BasicJsonType(n).dump();
+ write_number_with_ubjson_prefix(number.size(), true);
+ for (std::size_t i = 0; i < number.size(); ++i)
+ {
+ oa->write_character(to_char_type(static_cast<std::uint8_t>(number[i])));
+ }
+ }
+ }
+
+ // UBJSON: write number (signed integer)
+ template < typename NumberType, typename std::enable_if <
+ std::is_signed<NumberType>::value&&
+ !std::is_floating_point<NumberType>::value, int >::type = 0 >
+ void write_number_with_ubjson_prefix(const NumberType n,
+ const bool add_prefix)
+ {
+ if ((std::numeric_limits<std::int8_t>::min)() <= n && n <= (std::numeric_limits<std::int8_t>::max)())
+ {
+ if (add_prefix)
+ {
+ oa->write_character(to_char_type('i')); // int8
+ }
+ write_number(static_cast<std::int8_t>(n));
+ }
+ else if (static_cast<std::int64_t>((std::numeric_limits<std::uint8_t>::min)()) <= n && n <= static_cast<std::int64_t>((std::numeric_limits<std::uint8_t>::max)()))
+ {
+ if (add_prefix)
+ {
+ oa->write_character(to_char_type('U')); // uint8
+ }
+ write_number(static_cast<std::uint8_t>(n));
+ }
+ else if ((std::numeric_limits<std::int16_t>::min)() <= n && n <= (std::numeric_limits<std::int16_t>::max)())
+ {
+ if (add_prefix)
+ {
+ oa->write_character(to_char_type('I')); // int16
+ }
+ write_number(static_cast<std::int16_t>(n));
+ }
+ else if ((std::numeric_limits<std::int32_t>::min)() <= n && n <= (std::numeric_limits<std::int32_t>::max)())
+ {
+ if (add_prefix)
+ {
+ oa->write_character(to_char_type('l')); // int32
+ }
+ write_number(static_cast<std::int32_t>(n));
+ }
+ else if ((std::numeric_limits<std::int64_t>::min)() <= n && n <= (std::numeric_limits<std::int64_t>::max)())
+ {
+ if (add_prefix)
+ {
+ oa->write_character(to_char_type('L')); // int64
+ }
+ write_number(static_cast<std::int64_t>(n));
+ }
+ // LCOV_EXCL_START
+ else
+ {
+ if (add_prefix)
+ {
+ oa->write_character(to_char_type('H')); // high-precision number
+ }
+
+ const auto number = BasicJsonType(n).dump();
+ write_number_with_ubjson_prefix(number.size(), true);
+ for (std::size_t i = 0; i < number.size(); ++i)
+ {
+ oa->write_character(to_char_type(static_cast<std::uint8_t>(number[i])));
+ }
+ }
+ // LCOV_EXCL_STOP
+ }
+
+ /*!
+ @brief determine the type prefix of container values
+ */
+ CharType ubjson_prefix(const BasicJsonType& j) const noexcept
+ {
+ switch (j.type())
+ {
+ case value_t::null:
+ return 'Z';
+
+ case value_t::boolean:
+ return j.m_value.boolean ? 'T' : 'F';
+
+ case value_t::number_integer:
+ {
+ if ((std::numeric_limits<std::int8_t>::min)() <= j.m_value.number_integer && j.m_value.number_integer <= (std::numeric_limits<std::int8_t>::max)())
+ {
+ return 'i';
+ }
+ if ((std::numeric_limits<std::uint8_t>::min)() <= j.m_value.number_integer && j.m_value.number_integer <= (std::numeric_limits<std::uint8_t>::max)())
+ {
+ return 'U';
+ }
+ if ((std::numeric_limits<std::int16_t>::min)() <= j.m_value.number_integer && j.m_value.number_integer <= (std::numeric_limits<std::int16_t>::max)())
+ {
+ return 'I';
+ }
+ if ((std::numeric_limits<std::int32_t>::min)() <= j.m_value.number_integer && j.m_value.number_integer <= (std::numeric_limits<std::int32_t>::max)())
+ {
+ return 'l';
+ }
+ if ((std::numeric_limits<std::int64_t>::min)() <= j.m_value.number_integer && j.m_value.number_integer <= (std::numeric_limits<std::int64_t>::max)())
+ {
+ return 'L';
+ }
+ // anything else is treated as high-precision number
+ return 'H'; // LCOV_EXCL_LINE
+ }
+
+ case value_t::number_unsigned:
+ {
+ if (j.m_value.number_unsigned <= static_cast<std::uint64_t>((std::numeric_limits<std::int8_t>::max)()))
+ {
+ return 'i';
+ }
+ if (j.m_value.number_unsigned <= static_cast<std::uint64_t>((std::numeric_limits<std::uint8_t>::max)()))
+ {
+ return 'U';
+ }
+ if (j.m_value.number_unsigned <= static_cast<std::uint64_t>((std::numeric_limits<std::int16_t>::max)()))
+ {
+ return 'I';
+ }
+ if (j.m_value.number_unsigned <= static_cast<std::uint64_t>((std::numeric_limits<std::int32_t>::max)()))
+ {
+ return 'l';
+ }
+ if (j.m_value.number_unsigned <= static_cast<std::uint64_t>((std::numeric_limits<std::int64_t>::max)()))
+ {
+ return 'L';
+ }
+ // anything else is treated as high-precision number
+ return 'H'; // LCOV_EXCL_LINE
+ }
+
+ case value_t::number_float:
+ return get_ubjson_float_prefix(j.m_value.number_float);
+
+ case value_t::string:
+ return 'S';
+
+ case value_t::array: // fallthrough
+ case value_t::binary:
+ return '[';
+
+ case value_t::object:
+ return '{';
+
+ case value_t::discarded:
+ default: // discarded values
+ return 'N';
+ }
+ }
+
+ static constexpr CharType get_ubjson_float_prefix(float /*unused*/)
+ {
+ return 'd'; // float 32
+ }
+
+ static constexpr CharType get_ubjson_float_prefix(double /*unused*/)
+ {
+ return 'D'; // float 64
+ }
+
+ ///////////////////////
+ // Utility functions //
+ ///////////////////////
+
+ /*
+ @brief write a number to output input
+ @param[in] n number of type @a NumberType
+ @tparam NumberType the type of the number
+ @tparam OutputIsLittleEndian Set to true if output data is
+ required to be little endian
+
+ @note This function needs to respect the system's endianness, because bytes
+ in CBOR, MessagePack, and UBJSON are stored in network order (big
+ endian) and therefore need reordering on little endian systems.
+ */
+ template<typename NumberType, bool OutputIsLittleEndian = false>
+ void write_number(const NumberType n)
+ {
+ // step 1: write number to array of length NumberType
+ std::array<CharType, sizeof(NumberType)> vec{};
+ std::memcpy(vec.data(), &n, sizeof(NumberType));
+
+ // step 2: write array to output (with possible reordering)
+ if (is_little_endian != OutputIsLittleEndian)
+ {
+ // reverse byte order prior to conversion if necessary
+ std::reverse(vec.begin(), vec.end());
+ }
+
+ oa->write_characters(vec.data(), sizeof(NumberType));
+ }
+
+ void write_compact_float(const number_float_t n, detail::input_format_t format)
+ {
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wfloat-equal"
+#endif
+ if (static_cast<double>(n) >= static_cast<double>(std::numeric_limits<float>::lowest()) &&
+ static_cast<double>(n) <= static_cast<double>((std::numeric_limits<float>::max)()) &&
+ static_cast<double>(static_cast<float>(n)) == static_cast<double>(n))
+ {
+ oa->write_character(format == detail::input_format_t::cbor
+ ? get_cbor_float_prefix(static_cast<float>(n))
+ : get_msgpack_float_prefix(static_cast<float>(n)));
+ write_number(static_cast<float>(n));
+ }
+ else
+ {
+ oa->write_character(format == detail::input_format_t::cbor
+ ? get_cbor_float_prefix(n)
+ : get_msgpack_float_prefix(n));
+ write_number(n);
+ }
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif
+ }
+
+ public:
+ // The following to_char_type functions are implement the conversion
+ // between uint8_t and CharType. In case CharType is not unsigned,
+ // such a conversion is required to allow values greater than 128.
+ // See <https://github.com/nlohmann/json/issues/1286> for a discussion.
+ template < typename C = CharType,
+ enable_if_t < std::is_signed<C>::value && std::is_signed<char>::value > * = nullptr >
+ static constexpr CharType to_char_type(std::uint8_t x) noexcept
+ {
+ return *reinterpret_cast<char*>(&x);
+ }
+
+ template < typename C = CharType,
+ enable_if_t < std::is_signed<C>::value && std::is_unsigned<char>::value > * = nullptr >
+ static CharType to_char_type(std::uint8_t x) noexcept
+ {
+ static_assert(sizeof(std::uint8_t) == sizeof(CharType), "size of CharType must be equal to std::uint8_t");
+ static_assert(std::is_trivial<CharType>::value, "CharType must be trivial");
+ CharType result;
+ std::memcpy(&result, &x, sizeof(x));
+ return result;
+ }
+
+ template<typename C = CharType,
+ enable_if_t<std::is_unsigned<C>::value>* = nullptr>
+ static constexpr CharType to_char_type(std::uint8_t x) noexcept
+ {
+ return x;
+ }
+
+ template < typename InputCharType, typename C = CharType,
+ enable_if_t <
+ std::is_signed<C>::value &&
+ std::is_signed<char>::value &&
+ std::is_same<char, typename std::remove_cv<InputCharType>::type>::value
+ > * = nullptr >
+ static constexpr CharType to_char_type(InputCharType x) noexcept
+ {
+ return x;
+ }
+
+ private:
+ /// whether we can assume little endianness
+ const bool is_little_endian = little_endianness();
+
+ /// the output
+ output_adapter_t<CharType> oa = nullptr;
+};
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/output/output_adapters.hpp>
+
+// #include <nlohmann/detail/output/serializer.hpp>
+
+
+#include <algorithm> // reverse, remove, fill, find, none_of
+#include <array> // array
+#include <clocale> // localeconv, lconv
+#include <cmath> // labs, isfinite, isnan, signbit
+#include <cstddef> // size_t, ptrdiff_t
+#include <cstdint> // uint8_t
+#include <cstdio> // snprintf
+#include <limits> // numeric_limits
+#include <string> // string, char_traits
+#include <iomanip> // setfill, setw
+#include <sstream> // stringstream
+#include <type_traits> // is_same
+#include <utility> // move
+
+// #include <nlohmann/detail/conversions/to_chars.hpp>
+
+
+#include <array> // array
+#include <cmath> // signbit, isfinite
+#include <cstdint> // intN_t, uintN_t
+#include <cstring> // memcpy, memmove
+#include <limits> // numeric_limits
+#include <type_traits> // conditional
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+
+/*!
+@brief implements the Grisu2 algorithm for binary to decimal floating-point
+conversion.
+
+This implementation is a slightly modified version of the reference
+implementation which may be obtained from
+http://florian.loitsch.com/publications (bench.tar.gz).
+
+The code is distributed under the MIT license, Copyright (c) 2009 Florian Loitsch.
+
+For a detailed description of the algorithm see:
+
+[1] Loitsch, "Printing Floating-Point Numbers Quickly and Accurately with
+ Integers", Proceedings of the ACM SIGPLAN 2010 Conference on Programming
+ Language Design and Implementation, PLDI 2010
+[2] Burger, Dybvig, "Printing Floating-Point Numbers Quickly and Accurately",
+ Proceedings of the ACM SIGPLAN 1996 Conference on Programming Language
+ Design and Implementation, PLDI 1996
+*/
+namespace dtoa_impl
+{
+
+template<typename Target, typename Source>
+Target reinterpret_bits(const Source source)
+{
+ static_assert(sizeof(Target) == sizeof(Source), "size mismatch");
+
+ Target target;
+ std::memcpy(&target, &source, sizeof(Source));
+ return target;
+}
+
+struct diyfp // f * 2^e
+{
+ static constexpr int kPrecision = 64; // = q
+
+ std::uint64_t f = 0;
+ int e = 0;
+
+ constexpr diyfp(std::uint64_t f_, int e_) noexcept : f(f_), e(e_) {}
+
+ /*!
+ @brief returns x - y
+ @pre x.e == y.e and x.f >= y.f
+ */
+ static diyfp sub(const diyfp& x, const diyfp& y) noexcept
+ {
+ JSON_ASSERT(x.e == y.e);
+ JSON_ASSERT(x.f >= y.f);
+
+ return {x.f - y.f, x.e};
+ }
+
+ /*!
+ @brief returns x * y
+ @note The result is rounded. (Only the upper q bits are returned.)
+ */
+ static diyfp mul(const diyfp& x, const diyfp& y) noexcept
+ {
+ static_assert(kPrecision == 64, "internal error");
+
+ // Computes:
+ // f = round((x.f * y.f) / 2^q)
+ // e = x.e + y.e + q
+
+ // Emulate the 64-bit * 64-bit multiplication:
+ //
+ // p = u * v
+ // = (u_lo + 2^32 u_hi) (v_lo + 2^32 v_hi)
+ // = (u_lo v_lo ) + 2^32 ((u_lo v_hi ) + (u_hi v_lo )) + 2^64 (u_hi v_hi )
+ // = (p0 ) + 2^32 ((p1 ) + (p2 )) + 2^64 (p3 )
+ // = (p0_lo + 2^32 p0_hi) + 2^32 ((p1_lo + 2^32 p1_hi) + (p2_lo + 2^32 p2_hi)) + 2^64 (p3 )
+ // = (p0_lo ) + 2^32 (p0_hi + p1_lo + p2_lo ) + 2^64 (p1_hi + p2_hi + p3)
+ // = (p0_lo ) + 2^32 (Q ) + 2^64 (H )
+ // = (p0_lo ) + 2^32 (Q_lo + 2^32 Q_hi ) + 2^64 (H )
+ //
+ // (Since Q might be larger than 2^32 - 1)
+ //
+ // = (p0_lo + 2^32 Q_lo) + 2^64 (Q_hi + H)
+ //
+ // (Q_hi + H does not overflow a 64-bit int)
+ //
+ // = p_lo + 2^64 p_hi
+
+ const std::uint64_t u_lo = x.f & 0xFFFFFFFFu;
+ const std::uint64_t u_hi = x.f >> 32u;
+ const std::uint64_t v_lo = y.f & 0xFFFFFFFFu;
+ const std::uint64_t v_hi = y.f >> 32u;
+
+ const std::uint64_t p0 = u_lo * v_lo;
+ const std::uint64_t p1 = u_lo * v_hi;
+ const std::uint64_t p2 = u_hi * v_lo;
+ const std::uint64_t p3 = u_hi * v_hi;
+
+ const std::uint64_t p0_hi = p0 >> 32u;
+ const std::uint64_t p1_lo = p1 & 0xFFFFFFFFu;
+ const std::uint64_t p1_hi = p1 >> 32u;
+ const std::uint64_t p2_lo = p2 & 0xFFFFFFFFu;
+ const std::uint64_t p2_hi = p2 >> 32u;
+
+ std::uint64_t Q = p0_hi + p1_lo + p2_lo;
+
+ // The full product might now be computed as
+ //
+ // p_hi = p3 + p2_hi + p1_hi + (Q >> 32)
+ // p_lo = p0_lo + (Q << 32)
+ //
+ // But in this particular case here, the full p_lo is not required.
+ // Effectively we only need to add the highest bit in p_lo to p_hi (and
+ // Q_hi + 1 does not overflow).
+
+ Q += std::uint64_t{1} << (64u - 32u - 1u); // round, ties up
+
+ const std::uint64_t h = p3 + p2_hi + p1_hi + (Q >> 32u);
+
+ return {h, x.e + y.e + 64};
+ }
+
+ /*!
+ @brief normalize x such that the significand is >= 2^(q-1)
+ @pre x.f != 0
+ */
+ static diyfp normalize(diyfp x) noexcept
+ {
+ JSON_ASSERT(x.f != 0);
+
+ while ((x.f >> 63u) == 0)
+ {
+ x.f <<= 1u;
+ x.e--;
+ }
+
+ return x;
+ }
+
+ /*!
+ @brief normalize x such that the result has the exponent E
+ @pre e >= x.e and the upper e - x.e bits of x.f must be zero.
+ */
+ static diyfp normalize_to(const diyfp& x, const int target_exponent) noexcept
+ {
+ const int delta = x.e - target_exponent;
+
+ JSON_ASSERT(delta >= 0);
+ JSON_ASSERT(((x.f << delta) >> delta) == x.f);
+
+ return {x.f << delta, target_exponent};
+ }
+};
+
+struct boundaries
+{
+ diyfp w;
+ diyfp minus;
+ diyfp plus;
+};
+
+/*!
+Compute the (normalized) diyfp representing the input number 'value' and its
+boundaries.
+
+@pre value must be finite and positive
+*/
+template<typename FloatType>
+boundaries compute_boundaries(FloatType value)
+{
+ JSON_ASSERT(std::isfinite(value));
+ JSON_ASSERT(value > 0);
+
+ // Convert the IEEE representation into a diyfp.
+ //
+ // If v is denormal:
+ // value = 0.F * 2^(1 - bias) = ( F) * 2^(1 - bias - (p-1))
+ // If v is normalized:
+ // value = 1.F * 2^(E - bias) = (2^(p-1) + F) * 2^(E - bias - (p-1))
+
+ static_assert(std::numeric_limits<FloatType>::is_iec559,
+ "internal error: dtoa_short requires an IEEE-754 floating-point implementation");
+
+ constexpr int kPrecision = std::numeric_limits<FloatType>::digits; // = p (includes the hidden bit)
+ constexpr int kBias = std::numeric_limits<FloatType>::max_exponent - 1 + (kPrecision - 1);
+ constexpr int kMinExp = 1 - kBias;
+ constexpr std::uint64_t kHiddenBit = std::uint64_t{1} << (kPrecision - 1); // = 2^(p-1)
+
+ using bits_type = typename std::conditional<kPrecision == 24, std::uint32_t, std::uint64_t >::type;
+
+ const auto bits = static_cast<std::uint64_t>(reinterpret_bits<bits_type>(value));
+ const std::uint64_t E = bits >> (kPrecision - 1);
+ const std::uint64_t F = bits & (kHiddenBit - 1);
+
+ const bool is_denormal = E == 0;
+ const diyfp v = is_denormal
+ ? diyfp(F, kMinExp)
+ : diyfp(F + kHiddenBit, static_cast<int>(E) - kBias);
+
+ // Compute the boundaries m- and m+ of the floating-point value
+ // v = f * 2^e.
+ //
+ // Determine v- and v+, the floating-point predecessor and successor if v,
+ // respectively.
+ //
+ // v- = v - 2^e if f != 2^(p-1) or e == e_min (A)
+ // = v - 2^(e-1) if f == 2^(p-1) and e > e_min (B)
+ //
+ // v+ = v + 2^e
+ //
+ // Let m- = (v- + v) / 2 and m+ = (v + v+) / 2. All real numbers _strictly_
+ // between m- and m+ round to v, regardless of how the input rounding
+ // algorithm breaks ties.
+ //
+ // ---+-------------+-------------+-------------+-------------+--- (A)
+ // v- m- v m+ v+
+ //
+ // -----------------+------+------+-------------+-------------+--- (B)
+ // v- m- v m+ v+
+
+ const bool lower_boundary_is_closer = F == 0 && E > 1;
+ const diyfp m_plus = diyfp(2 * v.f + 1, v.e - 1);
+ const diyfp m_minus = lower_boundary_is_closer
+ ? diyfp(4 * v.f - 1, v.e - 2) // (B)
+ : diyfp(2 * v.f - 1, v.e - 1); // (A)
+
+ // Determine the normalized w+ = m+.
+ const diyfp w_plus = diyfp::normalize(m_plus);
+
+ // Determine w- = m- such that e_(w-) = e_(w+).
+ const diyfp w_minus = diyfp::normalize_to(m_minus, w_plus.e);
+
+ return {diyfp::normalize(v), w_minus, w_plus};
+}
+
+// Given normalized diyfp w, Grisu needs to find a (normalized) cached
+// power-of-ten c, such that the exponent of the product c * w = f * 2^e lies
+// within a certain range [alpha, gamma] (Definition 3.2 from [1])
+//
+// alpha <= e = e_c + e_w + q <= gamma
+//
+// or
+//
+// f_c * f_w * 2^alpha <= f_c 2^(e_c) * f_w 2^(e_w) * 2^q
+// <= f_c * f_w * 2^gamma
+//
+// Since c and w are normalized, i.e. 2^(q-1) <= f < 2^q, this implies
+//
+// 2^(q-1) * 2^(q-1) * 2^alpha <= c * w * 2^q < 2^q * 2^q * 2^gamma
+//
+// or
+//
+// 2^(q - 2 + alpha) <= c * w < 2^(q + gamma)
+//
+// The choice of (alpha,gamma) determines the size of the table and the form of
+// the digit generation procedure. Using (alpha,gamma)=(-60,-32) works out well
+// in practice:
+//
+// The idea is to cut the number c * w = f * 2^e into two parts, which can be
+// processed independently: An integral part p1, and a fractional part p2:
+//
+// f * 2^e = ( (f div 2^-e) * 2^-e + (f mod 2^-e) ) * 2^e
+// = (f div 2^-e) + (f mod 2^-e) * 2^e
+// = p1 + p2 * 2^e
+//
+// The conversion of p1 into decimal form requires a series of divisions and
+// modulos by (a power of) 10. These operations are faster for 32-bit than for
+// 64-bit integers, so p1 should ideally fit into a 32-bit integer. This can be
+// achieved by choosing
+//
+// -e >= 32 or e <= -32 := gamma
+//
+// In order to convert the fractional part
+//
+// p2 * 2^e = p2 / 2^-e = d[-1] / 10^1 + d[-2] / 10^2 + ...
+//
+// into decimal form, the fraction is repeatedly multiplied by 10 and the digits
+// d[-i] are extracted in order:
+//
+// (10 * p2) div 2^-e = d[-1]
+// (10 * p2) mod 2^-e = d[-2] / 10^1 + ...
+//
+// The multiplication by 10 must not overflow. It is sufficient to choose
+//
+// 10 * p2 < 16 * p2 = 2^4 * p2 <= 2^64.
+//
+// Since p2 = f mod 2^-e < 2^-e,
+//
+// -e <= 60 or e >= -60 := alpha
+
+constexpr int kAlpha = -60;
+constexpr int kGamma = -32;
+
+struct cached_power // c = f * 2^e ~= 10^k
+{
+ std::uint64_t f;
+ int e;
+ int k;
+};
+
+/*!
+For a normalized diyfp w = f * 2^e, this function returns a (normalized) cached
+power-of-ten c = f_c * 2^e_c, such that the exponent of the product w * c
+satisfies (Definition 3.2 from [1])
+
+ alpha <= e_c + e + q <= gamma.
+*/
+inline cached_power get_cached_power_for_binary_exponent(int e)
+{
+ // Now
+ //
+ // alpha <= e_c + e + q <= gamma (1)
+ // ==> f_c * 2^alpha <= c * 2^e * 2^q
+ //
+ // and since the c's are normalized, 2^(q-1) <= f_c,
+ //
+ // ==> 2^(q - 1 + alpha) <= c * 2^(e + q)
+ // ==> 2^(alpha - e - 1) <= c
+ //
+ // If c were an exact power of ten, i.e. c = 10^k, one may determine k as
+ //
+ // k = ceil( log_10( 2^(alpha - e - 1) ) )
+ // = ceil( (alpha - e - 1) * log_10(2) )
+ //
+ // From the paper:
+ // "In theory the result of the procedure could be wrong since c is rounded,
+ // and the computation itself is approximated [...]. In practice, however,
+ // this simple function is sufficient."
+ //
+ // For IEEE double precision floating-point numbers converted into
+ // normalized diyfp's w = f * 2^e, with q = 64,
+ //
+ // e >= -1022 (min IEEE exponent)
+ // -52 (p - 1)
+ // -52 (p - 1, possibly normalize denormal IEEE numbers)
+ // -11 (normalize the diyfp)
+ // = -1137
+ //
+ // and
+ //
+ // e <= +1023 (max IEEE exponent)
+ // -52 (p - 1)
+ // -11 (normalize the diyfp)
+ // = 960
+ //
+ // This binary exponent range [-1137,960] results in a decimal exponent
+ // range [-307,324]. One does not need to store a cached power for each
+ // k in this range. For each such k it suffices to find a cached power
+ // such that the exponent of the product lies in [alpha,gamma].
+ // This implies that the difference of the decimal exponents of adjacent
+ // table entries must be less than or equal to
+ //
+ // floor( (gamma - alpha) * log_10(2) ) = 8.
+ //
+ // (A smaller distance gamma-alpha would require a larger table.)
+
+ // NB:
+ // Actually this function returns c, such that -60 <= e_c + e + 64 <= -34.
+
+ constexpr int kCachedPowersMinDecExp = -300;
+ constexpr int kCachedPowersDecStep = 8;
+
+ static constexpr std::array<cached_power, 79> kCachedPowers =
+ {
+ {
+ { 0xAB70FE17C79AC6CA, -1060, -300 },
+ { 0xFF77B1FCBEBCDC4F, -1034, -292 },
+ { 0xBE5691EF416BD60C, -1007, -284 },
+ { 0x8DD01FAD907FFC3C, -980, -276 },
+ { 0xD3515C2831559A83, -954, -268 },
+ { 0x9D71AC8FADA6C9B5, -927, -260 },
+ { 0xEA9C227723EE8BCB, -901, -252 },
+ { 0xAECC49914078536D, -874, -244 },
+ { 0x823C12795DB6CE57, -847, -236 },
+ { 0xC21094364DFB5637, -821, -228 },
+ { 0x9096EA6F3848984F, -794, -220 },
+ { 0xD77485CB25823AC7, -768, -212 },
+ { 0xA086CFCD97BF97F4, -741, -204 },
+ { 0xEF340A98172AACE5, -715, -196 },
+ { 0xB23867FB2A35B28E, -688, -188 },
+ { 0x84C8D4DFD2C63F3B, -661, -180 },
+ { 0xC5DD44271AD3CDBA, -635, -172 },
+ { 0x936B9FCEBB25C996, -608, -164 },
+ { 0xDBAC6C247D62A584, -582, -156 },
+ { 0xA3AB66580D5FDAF6, -555, -148 },
+ { 0xF3E2F893DEC3F126, -529, -140 },
+ { 0xB5B5ADA8AAFF80B8, -502, -132 },
+ { 0x87625F056C7C4A8B, -475, -124 },
+ { 0xC9BCFF6034C13053, -449, -116 },
+ { 0x964E858C91BA2655, -422, -108 },
+ { 0xDFF9772470297EBD, -396, -100 },
+ { 0xA6DFBD9FB8E5B88F, -369, -92 },
+ { 0xF8A95FCF88747D94, -343, -84 },
+ { 0xB94470938FA89BCF, -316, -76 },
+ { 0x8A08F0F8BF0F156B, -289, -68 },
+ { 0xCDB02555653131B6, -263, -60 },
+ { 0x993FE2C6D07B7FAC, -236, -52 },
+ { 0xE45C10C42A2B3B06, -210, -44 },
+ { 0xAA242499697392D3, -183, -36 },
+ { 0xFD87B5F28300CA0E, -157, -28 },
+ { 0xBCE5086492111AEB, -130, -20 },
+ { 0x8CBCCC096F5088CC, -103, -12 },
+ { 0xD1B71758E219652C, -77, -4 },
+ { 0x9C40000000000000, -50, 4 },
+ { 0xE8D4A51000000000, -24, 12 },
+ { 0xAD78EBC5AC620000, 3, 20 },
+ { 0x813F3978F8940984, 30, 28 },
+ { 0xC097CE7BC90715B3, 56, 36 },
+ { 0x8F7E32CE7BEA5C70, 83, 44 },
+ { 0xD5D238A4ABE98068, 109, 52 },
+ { 0x9F4F2726179A2245, 136, 60 },
+ { 0xED63A231D4C4FB27, 162, 68 },
+ { 0xB0DE65388CC8ADA8, 189, 76 },
+ { 0x83C7088E1AAB65DB, 216, 84 },
+ { 0xC45D1DF942711D9A, 242, 92 },
+ { 0x924D692CA61BE758, 269, 100 },
+ { 0xDA01EE641A708DEA, 295, 108 },
+ { 0xA26DA3999AEF774A, 322, 116 },
+ { 0xF209787BB47D6B85, 348, 124 },
+ { 0xB454E4A179DD1877, 375, 132 },
+ { 0x865B86925B9BC5C2, 402, 140 },
+ { 0xC83553C5C8965D3D, 428, 148 },
+ { 0x952AB45CFA97A0B3, 455, 156 },
+ { 0xDE469FBD99A05FE3, 481, 164 },
+ { 0xA59BC234DB398C25, 508, 172 },
+ { 0xF6C69A72A3989F5C, 534, 180 },
+ { 0xB7DCBF5354E9BECE, 561, 188 },
+ { 0x88FCF317F22241E2, 588, 196 },
+ { 0xCC20CE9BD35C78A5, 614, 204 },
+ { 0x98165AF37B2153DF, 641, 212 },
+ { 0xE2A0B5DC971F303A, 667, 220 },
+ { 0xA8D9D1535CE3B396, 694, 228 },
+ { 0xFB9B7CD9A4A7443C, 720, 236 },
+ { 0xBB764C4CA7A44410, 747, 244 },
+ { 0x8BAB8EEFB6409C1A, 774, 252 },
+ { 0xD01FEF10A657842C, 800, 260 },
+ { 0x9B10A4E5E9913129, 827, 268 },
+ { 0xE7109BFBA19C0C9D, 853, 276 },
+ { 0xAC2820D9623BF429, 880, 284 },
+ { 0x80444B5E7AA7CF85, 907, 292 },
+ { 0xBF21E44003ACDD2D, 933, 300 },
+ { 0x8E679C2F5E44FF8F, 960, 308 },
+ { 0xD433179D9C8CB841, 986, 316 },
+ { 0x9E19DB92B4E31BA9, 1013, 324 },
+ }
+ };
+
+ // This computation gives exactly the same results for k as
+ // k = ceil((kAlpha - e - 1) * 0.30102999566398114)
+ // for |e| <= 1500, but doesn't require floating-point operations.
+ // NB: log_10(2) ~= 78913 / 2^18
+ JSON_ASSERT(e >= -1500);
+ JSON_ASSERT(e <= 1500);
+ const int f = kAlpha - e - 1;
+ const int k = (f * 78913) / (1 << 18) + static_cast<int>(f > 0);
+
+ const int index = (-kCachedPowersMinDecExp + k + (kCachedPowersDecStep - 1)) / kCachedPowersDecStep;
+ JSON_ASSERT(index >= 0);
+ JSON_ASSERT(static_cast<std::size_t>(index) < kCachedPowers.size());
+
+ const cached_power cached = kCachedPowers[static_cast<std::size_t>(index)];
+ JSON_ASSERT(kAlpha <= cached.e + e + 64);
+ JSON_ASSERT(kGamma >= cached.e + e + 64);
+
+ return cached;
+}
+
+/*!
+For n != 0, returns k, such that pow10 := 10^(k-1) <= n < 10^k.
+For n == 0, returns 1 and sets pow10 := 1.
+*/
+inline int find_largest_pow10(const std::uint32_t n, std::uint32_t& pow10)
+{
+ // LCOV_EXCL_START
+ if (n >= 1000000000)
+ {
+ pow10 = 1000000000;
+ return 10;
+ }
+ // LCOV_EXCL_STOP
+ if (n >= 100000000)
+ {
+ pow10 = 100000000;
+ return 9;
+ }
+ if (n >= 10000000)
+ {
+ pow10 = 10000000;
+ return 8;
+ }
+ if (n >= 1000000)
+ {
+ pow10 = 1000000;
+ return 7;
+ }
+ if (n >= 100000)
+ {
+ pow10 = 100000;
+ return 6;
+ }
+ if (n >= 10000)
+ {
+ pow10 = 10000;
+ return 5;
+ }
+ if (n >= 1000)
+ {
+ pow10 = 1000;
+ return 4;
+ }
+ if (n >= 100)
+ {
+ pow10 = 100;
+ return 3;
+ }
+ if (n >= 10)
+ {
+ pow10 = 10;
+ return 2;
+ }
+
+ pow10 = 1;
+ return 1;
+}
+
+inline void grisu2_round(char* buf, int len, std::uint64_t dist, std::uint64_t delta,
+ std::uint64_t rest, std::uint64_t ten_k)
+{
+ JSON_ASSERT(len >= 1);
+ JSON_ASSERT(dist <= delta);
+ JSON_ASSERT(rest <= delta);
+ JSON_ASSERT(ten_k > 0);
+
+ // <--------------------------- delta ---->
+ // <---- dist --------->
+ // --------------[------------------+-------------------]--------------
+ // M- w M+
+ //
+ // ten_k
+ // <------>
+ // <---- rest ---->
+ // --------------[------------------+----+--------------]--------------
+ // w V
+ // = buf * 10^k
+ //
+ // ten_k represents a unit-in-the-last-place in the decimal representation
+ // stored in buf.
+ // Decrement buf by ten_k while this takes buf closer to w.
+
+ // The tests are written in this order to avoid overflow in unsigned
+ // integer arithmetic.
+
+ while (rest < dist
+ && delta - rest >= ten_k
+ && (rest + ten_k < dist || dist - rest > rest + ten_k - dist))
+ {
+ JSON_ASSERT(buf[len - 1] != '0');
+ buf[len - 1]--;
+ rest += ten_k;
+ }
+}
+
+/*!
+Generates V = buffer * 10^decimal_exponent, such that M- <= V <= M+.
+M- and M+ must be normalized and share the same exponent -60 <= e <= -32.
+*/
+inline void grisu2_digit_gen(char* buffer, int& length, int& decimal_exponent,
+ diyfp M_minus, diyfp w, diyfp M_plus)
+{
+ static_assert(kAlpha >= -60, "internal error");
+ static_assert(kGamma <= -32, "internal error");
+
+ // Generates the digits (and the exponent) of a decimal floating-point
+ // number V = buffer * 10^decimal_exponent in the range [M-, M+]. The diyfp's
+ // w, M- and M+ share the same exponent e, which satisfies alpha <= e <= gamma.
+ //
+ // <--------------------------- delta ---->
+ // <---- dist --------->
+ // --------------[------------------+-------------------]--------------
+ // M- w M+
+ //
+ // Grisu2 generates the digits of M+ from left to right and stops as soon as
+ // V is in [M-,M+].
+
+ JSON_ASSERT(M_plus.e >= kAlpha);
+ JSON_ASSERT(M_plus.e <= kGamma);
+
+ std::uint64_t delta = diyfp::sub(M_plus, M_minus).f; // (significand of (M+ - M-), implicit exponent is e)
+ std::uint64_t dist = diyfp::sub(M_plus, w ).f; // (significand of (M+ - w ), implicit exponent is e)
+
+ // Split M+ = f * 2^e into two parts p1 and p2 (note: e < 0):
+ //
+ // M+ = f * 2^e
+ // = ((f div 2^-e) * 2^-e + (f mod 2^-e)) * 2^e
+ // = ((p1 ) * 2^-e + (p2 )) * 2^e
+ // = p1 + p2 * 2^e
+
+ const diyfp one(std::uint64_t{1} << -M_plus.e, M_plus.e);
+
+ auto p1 = static_cast<std::uint32_t>(M_plus.f >> -one.e); // p1 = f div 2^-e (Since -e >= 32, p1 fits into a 32-bit int.)
+ std::uint64_t p2 = M_plus.f & (one.f - 1); // p2 = f mod 2^-e
+
+ // 1)
+ //
+ // Generate the digits of the integral part p1 = d[n-1]...d[1]d[0]
+
+ JSON_ASSERT(p1 > 0);
+
+ std::uint32_t pow10{};
+ const int k = find_largest_pow10(p1, pow10);
+
+ // 10^(k-1) <= p1 < 10^k, pow10 = 10^(k-1)
+ //
+ // p1 = (p1 div 10^(k-1)) * 10^(k-1) + (p1 mod 10^(k-1))
+ // = (d[k-1] ) * 10^(k-1) + (p1 mod 10^(k-1))
+ //
+ // M+ = p1 + p2 * 2^e
+ // = d[k-1] * 10^(k-1) + (p1 mod 10^(k-1)) + p2 * 2^e
+ // = d[k-1] * 10^(k-1) + ((p1 mod 10^(k-1)) * 2^-e + p2) * 2^e
+ // = d[k-1] * 10^(k-1) + ( rest) * 2^e
+ //
+ // Now generate the digits d[n] of p1 from left to right (n = k-1,...,0)
+ //
+ // p1 = d[k-1]...d[n] * 10^n + d[n-1]...d[0]
+ //
+ // but stop as soon as
+ //
+ // rest * 2^e = (d[n-1]...d[0] * 2^-e + p2) * 2^e <= delta * 2^e
+
+ int n = k;
+ while (n > 0)
+ {
+ // Invariants:
+ // M+ = buffer * 10^n + (p1 + p2 * 2^e) (buffer = 0 for n = k)
+ // pow10 = 10^(n-1) <= p1 < 10^n
+ //
+ const std::uint32_t d = p1 / pow10; // d = p1 div 10^(n-1)
+ const std::uint32_t r = p1 % pow10; // r = p1 mod 10^(n-1)
+ //
+ // M+ = buffer * 10^n + (d * 10^(n-1) + r) + p2 * 2^e
+ // = (buffer * 10 + d) * 10^(n-1) + (r + p2 * 2^e)
+ //
+ JSON_ASSERT(d <= 9);
+ buffer[length++] = static_cast<char>('0' + d); // buffer := buffer * 10 + d
+ //
+ // M+ = buffer * 10^(n-1) + (r + p2 * 2^e)
+ //
+ p1 = r;
+ n--;
+ //
+ // M+ = buffer * 10^n + (p1 + p2 * 2^e)
+ // pow10 = 10^n
+ //
+
+ // Now check if enough digits have been generated.
+ // Compute
+ //
+ // p1 + p2 * 2^e = (p1 * 2^-e + p2) * 2^e = rest * 2^e
+ //
+ // Note:
+ // Since rest and delta share the same exponent e, it suffices to
+ // compare the significands.
+ const std::uint64_t rest = (std::uint64_t{p1} << -one.e) + p2;
+ if (rest <= delta)
+ {
+ // V = buffer * 10^n, with M- <= V <= M+.
+
+ decimal_exponent += n;
+
+ // We may now just stop. But instead look if the buffer could be
+ // decremented to bring V closer to w.
+ //
+ // pow10 = 10^n is now 1 ulp in the decimal representation V.
+ // The rounding procedure works with diyfp's with an implicit
+ // exponent of e.
+ //
+ // 10^n = (10^n * 2^-e) * 2^e = ulp * 2^e
+ //
+ const std::uint64_t ten_n = std::uint64_t{pow10} << -one.e;
+ grisu2_round(buffer, length, dist, delta, rest, ten_n);
+
+ return;
+ }
+
+ pow10 /= 10;
+ //
+ // pow10 = 10^(n-1) <= p1 < 10^n
+ // Invariants restored.
+ }
+
+ // 2)
+ //
+ // The digits of the integral part have been generated:
+ //
+ // M+ = d[k-1]...d[1]d[0] + p2 * 2^e
+ // = buffer + p2 * 2^e
+ //
+ // Now generate the digits of the fractional part p2 * 2^e.
+ //
+ // Note:
+ // No decimal point is generated: the exponent is adjusted instead.
+ //
+ // p2 actually represents the fraction
+ //
+ // p2 * 2^e
+ // = p2 / 2^-e
+ // = d[-1] / 10^1 + d[-2] / 10^2 + ...
+ //
+ // Now generate the digits d[-m] of p1 from left to right (m = 1,2,...)
+ //
+ // p2 * 2^e = d[-1]d[-2]...d[-m] * 10^-m
+ // + 10^-m * (d[-m-1] / 10^1 + d[-m-2] / 10^2 + ...)
+ //
+ // using
+ //
+ // 10^m * p2 = ((10^m * p2) div 2^-e) * 2^-e + ((10^m * p2) mod 2^-e)
+ // = ( d) * 2^-e + ( r)
+ //
+ // or
+ // 10^m * p2 * 2^e = d + r * 2^e
+ //
+ // i.e.
+ //
+ // M+ = buffer + p2 * 2^e
+ // = buffer + 10^-m * (d + r * 2^e)
+ // = (buffer * 10^m + d) * 10^-m + 10^-m * r * 2^e
+ //
+ // and stop as soon as 10^-m * r * 2^e <= delta * 2^e
+
+ JSON_ASSERT(p2 > delta);
+
+ int m = 0;
+ for (;;)
+ {
+ // Invariant:
+ // M+ = buffer * 10^-m + 10^-m * (d[-m-1] / 10 + d[-m-2] / 10^2 + ...) * 2^e
+ // = buffer * 10^-m + 10^-m * (p2 ) * 2^e
+ // = buffer * 10^-m + 10^-m * (1/10 * (10 * p2) ) * 2^e
+ // = buffer * 10^-m + 10^-m * (1/10 * ((10*p2 div 2^-e) * 2^-e + (10*p2 mod 2^-e)) * 2^e
+ //
+ JSON_ASSERT(p2 <= (std::numeric_limits<std::uint64_t>::max)() / 10);
+ p2 *= 10;
+ const std::uint64_t d = p2 >> -one.e; // d = (10 * p2) div 2^-e
+ const std::uint64_t r = p2 & (one.f - 1); // r = (10 * p2) mod 2^-e
+ //
+ // M+ = buffer * 10^-m + 10^-m * (1/10 * (d * 2^-e + r) * 2^e
+ // = buffer * 10^-m + 10^-m * (1/10 * (d + r * 2^e))
+ // = (buffer * 10 + d) * 10^(-m-1) + 10^(-m-1) * r * 2^e
+ //
+ JSON_ASSERT(d <= 9);
+ buffer[length++] = static_cast<char>('0' + d); // buffer := buffer * 10 + d
+ //
+ // M+ = buffer * 10^(-m-1) + 10^(-m-1) * r * 2^e
+ //
+ p2 = r;
+ m++;
+ //
+ // M+ = buffer * 10^-m + 10^-m * p2 * 2^e
+ // Invariant restored.
+
+ // Check if enough digits have been generated.
+ //
+ // 10^-m * p2 * 2^e <= delta * 2^e
+ // p2 * 2^e <= 10^m * delta * 2^e
+ // p2 <= 10^m * delta
+ delta *= 10;
+ dist *= 10;
+ if (p2 <= delta)
+ {
+ break;
+ }
+ }
+
+ // V = buffer * 10^-m, with M- <= V <= M+.
+
+ decimal_exponent -= m;
+
+ // 1 ulp in the decimal representation is now 10^-m.
+ // Since delta and dist are now scaled by 10^m, we need to do the
+ // same with ulp in order to keep the units in sync.
+ //
+ // 10^m * 10^-m = 1 = 2^-e * 2^e = ten_m * 2^e
+ //
+ const std::uint64_t ten_m = one.f;
+ grisu2_round(buffer, length, dist, delta, p2, ten_m);
+
+ // By construction this algorithm generates the shortest possible decimal
+ // number (Loitsch, Theorem 6.2) which rounds back to w.
+ // For an input number of precision p, at least
+ //
+ // N = 1 + ceil(p * log_10(2))
+ //
+ // decimal digits are sufficient to identify all binary floating-point
+ // numbers (Matula, "In-and-Out conversions").
+ // This implies that the algorithm does not produce more than N decimal
+ // digits.
+ //
+ // N = 17 for p = 53 (IEEE double precision)
+ // N = 9 for p = 24 (IEEE single precision)
+}
+
+/*!
+v = buf * 10^decimal_exponent
+len is the length of the buffer (number of decimal digits)
+The buffer must be large enough, i.e. >= max_digits10.
+*/
+JSON_HEDLEY_NON_NULL(1)
+inline void grisu2(char* buf, int& len, int& decimal_exponent,
+ diyfp m_minus, diyfp v, diyfp m_plus)
+{
+ JSON_ASSERT(m_plus.e == m_minus.e);
+ JSON_ASSERT(m_plus.e == v.e);
+
+ // --------(-----------------------+-----------------------)-------- (A)
+ // m- v m+
+ //
+ // --------------------(-----------+-----------------------)-------- (B)
+ // m- v m+
+ //
+ // First scale v (and m- and m+) such that the exponent is in the range
+ // [alpha, gamma].
+
+ const cached_power cached = get_cached_power_for_binary_exponent(m_plus.e);
+
+ const diyfp c_minus_k(cached.f, cached.e); // = c ~= 10^-k
+
+ // The exponent of the products is = v.e + c_minus_k.e + q and is in the range [alpha,gamma]
+ const diyfp w = diyfp::mul(v, c_minus_k);
+ const diyfp w_minus = diyfp::mul(m_minus, c_minus_k);
+ const diyfp w_plus = diyfp::mul(m_plus, c_minus_k);
+
+ // ----(---+---)---------------(---+---)---------------(---+---)----
+ // w- w w+
+ // = c*m- = c*v = c*m+
+ //
+ // diyfp::mul rounds its result and c_minus_k is approximated too. w, w- and
+ // w+ are now off by a small amount.
+ // In fact:
+ //
+ // w - v * 10^k < 1 ulp
+ //
+ // To account for this inaccuracy, add resp. subtract 1 ulp.
+ //
+ // --------+---[---------------(---+---)---------------]---+--------
+ // w- M- w M+ w+
+ //
+ // Now any number in [M-, M+] (bounds included) will round to w when input,
+ // regardless of how the input rounding algorithm breaks ties.
+ //
+ // And digit_gen generates the shortest possible such number in [M-, M+].
+ // Note that this does not mean that Grisu2 always generates the shortest
+ // possible number in the interval (m-, m+).
+ const diyfp M_minus(w_minus.f + 1, w_minus.e);
+ const diyfp M_plus (w_plus.f - 1, w_plus.e );
+
+ decimal_exponent = -cached.k; // = -(-k) = k
+
+ grisu2_digit_gen(buf, len, decimal_exponent, M_minus, w, M_plus);
+}
+
+/*!
+v = buf * 10^decimal_exponent
+len is the length of the buffer (number of decimal digits)
+The buffer must be large enough, i.e. >= max_digits10.
+*/
+template<typename FloatType>
+JSON_HEDLEY_NON_NULL(1)
+void grisu2(char* buf, int& len, int& decimal_exponent, FloatType value)
+{
+ static_assert(diyfp::kPrecision >= std::numeric_limits<FloatType>::digits + 3,
+ "internal error: not enough precision");
+
+ JSON_ASSERT(std::isfinite(value));
+ JSON_ASSERT(value > 0);
+
+ // If the neighbors (and boundaries) of 'value' are always computed for double-precision
+ // numbers, all float's can be recovered using strtod (and strtof). However, the resulting
+ // decimal representations are not exactly "short".
+ //
+ // The documentation for 'std::to_chars' (https://en.cppreference.com/w/cpp/utility/to_chars)
+ // says "value is converted to a string as if by std::sprintf in the default ("C") locale"
+ // and since sprintf promotes floats to doubles, I think this is exactly what 'std::to_chars'
+ // does.
+ // On the other hand, the documentation for 'std::to_chars' requires that "parsing the
+ // representation using the corresponding std::from_chars function recovers value exactly". That
+ // indicates that single precision floating-point numbers should be recovered using
+ // 'std::strtof'.
+ //
+ // NB: If the neighbors are computed for single-precision numbers, there is a single float
+ // (7.0385307e-26f) which can't be recovered using strtod. The resulting double precision
+ // value is off by 1 ulp.
+#if 0
+ const boundaries w = compute_boundaries(static_cast<double>(value));
+#else
+ const boundaries w = compute_boundaries(value);
+#endif
+
+ grisu2(buf, len, decimal_exponent, w.minus, w.w, w.plus);
+}
+
+/*!
+@brief appends a decimal representation of e to buf
+@return a pointer to the element following the exponent.
+@pre -1000 < e < 1000
+*/
+JSON_HEDLEY_NON_NULL(1)
+JSON_HEDLEY_RETURNS_NON_NULL
+inline char* append_exponent(char* buf, int e)
+{
+ JSON_ASSERT(e > -1000);
+ JSON_ASSERT(e < 1000);
+
+ if (e < 0)
+ {
+ e = -e;
+ *buf++ = '-';
+ }
+ else
+ {
+ *buf++ = '+';
+ }
+
+ auto k = static_cast<std::uint32_t>(e);
+ if (k < 10)
+ {
+ // Always print at least two digits in the exponent.
+ // This is for compatibility with printf("%g").
+ *buf++ = '0';
+ *buf++ = static_cast<char>('0' + k);
+ }
+ else if (k < 100)
+ {
+ *buf++ = static_cast<char>('0' + k / 10);
+ k %= 10;
+ *buf++ = static_cast<char>('0' + k);
+ }
+ else
+ {
+ *buf++ = static_cast<char>('0' + k / 100);
+ k %= 100;
+ *buf++ = static_cast<char>('0' + k / 10);
+ k %= 10;
+ *buf++ = static_cast<char>('0' + k);
+ }
+
+ return buf;
+}
+
+/*!
+@brief prettify v = buf * 10^decimal_exponent
+
+If v is in the range [10^min_exp, 10^max_exp) it will be printed in fixed-point
+notation. Otherwise it will be printed in exponential notation.
+
+@pre min_exp < 0
+@pre max_exp > 0
+*/
+JSON_HEDLEY_NON_NULL(1)
+JSON_HEDLEY_RETURNS_NON_NULL
+inline char* format_buffer(char* buf, int len, int decimal_exponent,
+ int min_exp, int max_exp)
+{
+ JSON_ASSERT(min_exp < 0);
+ JSON_ASSERT(max_exp > 0);
+
+ const int k = len;
+ const int n = len + decimal_exponent;
+
+ // v = buf * 10^(n-k)
+ // k is the length of the buffer (number of decimal digits)
+ // n is the position of the decimal point relative to the start of the buffer.
+
+ if (k <= n && n <= max_exp)
+ {
+ // digits[000]
+ // len <= max_exp + 2
+
+ std::memset(buf + k, '0', static_cast<size_t>(n) - static_cast<size_t>(k));
+ // Make it look like a floating-point number (#362, #378)
+ buf[n + 0] = '.';
+ buf[n + 1] = '0';
+ return buf + (static_cast<size_t>(n) + 2);
+ }
+
+ if (0 < n && n <= max_exp)
+ {
+ // dig.its
+ // len <= max_digits10 + 1
+
+ JSON_ASSERT(k > n);
+
+ std::memmove(buf + (static_cast<size_t>(n) + 1), buf + n, static_cast<size_t>(k) - static_cast<size_t>(n));
+ buf[n] = '.';
+ return buf + (static_cast<size_t>(k) + 1U);
+ }
+
+ if (min_exp < n && n <= 0)
+ {
+ // 0.[000]digits
+ // len <= 2 + (-min_exp - 1) + max_digits10
+
+ std::memmove(buf + (2 + static_cast<size_t>(-n)), buf, static_cast<size_t>(k));
+ buf[0] = '0';
+ buf[1] = '.';
+ std::memset(buf + 2, '0', static_cast<size_t>(-n));
+ return buf + (2U + static_cast<size_t>(-n) + static_cast<size_t>(k));
+ }
+
+ if (k == 1)
+ {
+ // dE+123
+ // len <= 1 + 5
+
+ buf += 1;
+ }
+ else
+ {
+ // d.igitsE+123
+ // len <= max_digits10 + 1 + 5
+
+ std::memmove(buf + 2, buf + 1, static_cast<size_t>(k) - 1);
+ buf[1] = '.';
+ buf += 1 + static_cast<size_t>(k);
+ }
+
+ *buf++ = 'e';
+ return append_exponent(buf, n - 1);
+}
+
+} // namespace dtoa_impl
+
+/*!
+@brief generates a decimal representation of the floating-point number value in [first, last).
+
+The format of the resulting decimal representation is similar to printf's %g
+format. Returns an iterator pointing past-the-end of the decimal representation.
+
+@note The input number must be finite, i.e. NaN's and Inf's are not supported.
+@note The buffer must be large enough.
+@note The result is NOT null-terminated.
+*/
+template<typename FloatType>
+JSON_HEDLEY_NON_NULL(1, 2)
+JSON_HEDLEY_RETURNS_NON_NULL
+char* to_chars(char* first, const char* last, FloatType value)
+{
+ static_cast<void>(last); // maybe unused - fix warning
+ JSON_ASSERT(std::isfinite(value));
+
+ // Use signbit(value) instead of (value < 0) since signbit works for -0.
+ if (std::signbit(value))
+ {
+ value = -value;
+ *first++ = '-';
+ }
+
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wfloat-equal"
+#endif
+ if (value == 0) // +-0
+ {
+ *first++ = '0';
+ // Make it look like a floating-point number (#362, #378)
+ *first++ = '.';
+ *first++ = '0';
+ return first;
+ }
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif
+
+ JSON_ASSERT(last - first >= std::numeric_limits<FloatType>::max_digits10);
+
+ // Compute v = buffer * 10^decimal_exponent.
+ // The decimal digits are stored in the buffer, which needs to be interpreted
+ // as an unsigned decimal integer.
+ // len is the length of the buffer, i.e. the number of decimal digits.
+ int len = 0;
+ int decimal_exponent = 0;
+ dtoa_impl::grisu2(first, len, decimal_exponent, value);
+
+ JSON_ASSERT(len <= std::numeric_limits<FloatType>::max_digits10);
+
+ // Format the buffer like printf("%.*g", prec, value)
+ constexpr int kMinExp = -4;
+ // Use digits10 here to increase compatibility with version 2.
+ constexpr int kMaxExp = std::numeric_limits<FloatType>::digits10;
+
+ JSON_ASSERT(last - first >= kMaxExp + 2);
+ JSON_ASSERT(last - first >= 2 + (-kMinExp - 1) + std::numeric_limits<FloatType>::max_digits10);
+ JSON_ASSERT(last - first >= std::numeric_limits<FloatType>::max_digits10 + 6);
+
+ return dtoa_impl::format_buffer(first, len, decimal_exponent, kMinExp, kMaxExp);
+}
+
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/exceptions.hpp>
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+// #include <nlohmann/detail/meta/cpp_future.hpp>
+
+// #include <nlohmann/detail/output/binary_writer.hpp>
+
+// #include <nlohmann/detail/output/output_adapters.hpp>
+
+// #include <nlohmann/detail/value_t.hpp>
+
+
+namespace nlohmann
+{
+namespace detail
+{
+///////////////////
+// serialization //
+///////////////////
+
+/// how to treat decoding errors
+enum class error_handler_t
+{
+ strict, ///< throw a type_error exception in case of invalid UTF-8
+ replace, ///< replace invalid UTF-8 sequences with U+FFFD
+ ignore ///< ignore invalid UTF-8 sequences
+};
+
+template<typename BasicJsonType>
+class serializer
+{
+ using string_t = typename BasicJsonType::string_t;
+ using number_float_t = typename BasicJsonType::number_float_t;
+ using number_integer_t = typename BasicJsonType::number_integer_t;
+ using number_unsigned_t = typename BasicJsonType::number_unsigned_t;
+ using binary_char_t = typename BasicJsonType::binary_t::value_type;
+ static constexpr std::uint8_t UTF8_ACCEPT = 0;
+ static constexpr std::uint8_t UTF8_REJECT = 1;
+
+ public:
+ /*!
+ @param[in] s output stream to serialize to
+ @param[in] ichar indentation character to use
+ @param[in] error_handler_ how to react on decoding errors
+ */
+ serializer(output_adapter_t<char> s, const char ichar,
+ error_handler_t error_handler_ = error_handler_t::strict)
+ : o(std::move(s))
+ , loc(std::localeconv())
+ , thousands_sep(loc->thousands_sep == nullptr ? '\0' : std::char_traits<char>::to_char_type(* (loc->thousands_sep)))
+ , decimal_point(loc->decimal_point == nullptr ? '\0' : std::char_traits<char>::to_char_type(* (loc->decimal_point)))
+ , indent_char(ichar)
+ , indent_string(512, indent_char)
+ , error_handler(error_handler_)
+ {}
+
+ // delete because of pointer members
+ serializer(const serializer&) = delete;
+ serializer& operator=(const serializer&) = delete;
+ serializer(serializer&&) = delete;
+ serializer& operator=(serializer&&) = delete;
+ ~serializer() = default;
+
+ /*!
+ @brief internal implementation of the serialization function
+
+ This function is called by the public member function dump and organizes
+ the serialization internally. The indentation level is propagated as
+ additional parameter. In case of arrays and objects, the function is
+ called recursively.
+
+ - strings and object keys are escaped using `escape_string()`
+ - integer numbers are converted implicitly via `operator<<`
+ - floating-point numbers are converted to a string using `"%g"` format
+ - binary values are serialized as objects containing the subtype and the
+ byte array
+
+ @param[in] val value to serialize
+ @param[in] pretty_print whether the output shall be pretty-printed
+ @param[in] ensure_ascii If @a ensure_ascii is true, all non-ASCII characters
+ in the output are escaped with `\uXXXX` sequences, and the result consists
+ of ASCII characters only.
+ @param[in] indent_step the indent level
+ @param[in] current_indent the current indent level (only used internally)
+ */
+ void dump(const BasicJsonType& val,
+ const bool pretty_print,
+ const bool ensure_ascii,
+ const unsigned int indent_step,
+ const unsigned int current_indent = 0)
+ {
+ switch (val.m_type)
+ {
+ case value_t::object:
+ {
+ if (val.m_value.object->empty())
+ {
+ o->write_characters("{}", 2);
+ return;
+ }
+
+ if (pretty_print)
+ {
+ o->write_characters("{\n", 2);
+
+ // variable to hold indentation for recursive calls
+ const auto new_indent = current_indent + indent_step;
+ if (JSON_HEDLEY_UNLIKELY(indent_string.size() < new_indent))
+ {
+ indent_string.resize(indent_string.size() * 2, ' ');
+ }
+
+ // first n-1 elements
+ auto i = val.m_value.object->cbegin();
+ for (std::size_t cnt = 0; cnt < val.m_value.object->size() - 1; ++cnt, ++i)
+ {
+ o->write_characters(indent_string.c_str(), new_indent);
+ o->write_character('\"');
+ dump_escaped(i->first, ensure_ascii);
+ o->write_characters("\": ", 3);
+ dump(i->second, true, ensure_ascii, indent_step, new_indent);
+ o->write_characters(",\n", 2);
+ }
+
+ // last element
+ JSON_ASSERT(i != val.m_value.object->cend());
+ JSON_ASSERT(std::next(i) == val.m_value.object->cend());
+ o->write_characters(indent_string.c_str(), new_indent);
+ o->write_character('\"');
+ dump_escaped(i->first, ensure_ascii);
+ o->write_characters("\": ", 3);
+ dump(i->second, true, ensure_ascii, indent_step, new_indent);
+
+ o->write_character('\n');
+ o->write_characters(indent_string.c_str(), current_indent);
+ o->write_character('}');
+ }
+ else
+ {
+ o->write_character('{');
+
+ // first n-1 elements
+ auto i = val.m_value.object->cbegin();
+ for (std::size_t cnt = 0; cnt < val.m_value.object->size() - 1; ++cnt, ++i)
+ {
+ o->write_character('\"');
+ dump_escaped(i->first, ensure_ascii);
+ o->write_characters("\":", 2);
+ dump(i->second, false, ensure_ascii, indent_step, current_indent);
+ o->write_character(',');
+ }
+
+ // last element
+ JSON_ASSERT(i != val.m_value.object->cend());
+ JSON_ASSERT(std::next(i) == val.m_value.object->cend());
+ o->write_character('\"');
+ dump_escaped(i->first, ensure_ascii);
+ o->write_characters("\":", 2);
+ dump(i->second, false, ensure_ascii, indent_step, current_indent);
+
+ o->write_character('}');
+ }
+
+ return;
+ }
+
+ case value_t::array:
+ {
+ if (val.m_value.array->empty())
+ {
+ o->write_characters("[]", 2);
+ return;
+ }
+
+ if (pretty_print)
+ {
+ o->write_characters("[\n", 2);
+
+ // variable to hold indentation for recursive calls
+ const auto new_indent = current_indent + indent_step;
+ if (JSON_HEDLEY_UNLIKELY(indent_string.size() < new_indent))
+ {
+ indent_string.resize(indent_string.size() * 2, ' ');
+ }
+
+ // first n-1 elements
+ for (auto i = val.m_value.array->cbegin();
+ i != val.m_value.array->cend() - 1; ++i)
+ {
+ o->write_characters(indent_string.c_str(), new_indent);
+ dump(*i, true, ensure_ascii, indent_step, new_indent);
+ o->write_characters(",\n", 2);
+ }
+
+ // last element
+ JSON_ASSERT(!val.m_value.array->empty());
+ o->write_characters(indent_string.c_str(), new_indent);
+ dump(val.m_value.array->back(), true, ensure_ascii, indent_step, new_indent);
+
+ o->write_character('\n');
+ o->write_characters(indent_string.c_str(), current_indent);
+ o->write_character(']');
+ }
+ else
+ {
+ o->write_character('[');
+
+ // first n-1 elements
+ for (auto i = val.m_value.array->cbegin();
+ i != val.m_value.array->cend() - 1; ++i)
+ {
+ dump(*i, false, ensure_ascii, indent_step, current_indent);
+ o->write_character(',');
+ }
+
+ // last element
+ JSON_ASSERT(!val.m_value.array->empty());
+ dump(val.m_value.array->back(), false, ensure_ascii, indent_step, current_indent);
+
+ o->write_character(']');
+ }
+
+ return;
+ }
+
+ case value_t::string:
+ {
+ o->write_character('\"');
+ dump_escaped(*val.m_value.string, ensure_ascii);
+ o->write_character('\"');
+ return;
+ }
+
+ case value_t::binary:
+ {
+ if (pretty_print)
+ {
+ o->write_characters("{\n", 2);
+
+ // variable to hold indentation for recursive calls
+ const auto new_indent = current_indent + indent_step;
+ if (JSON_HEDLEY_UNLIKELY(indent_string.size() < new_indent))
+ {
+ indent_string.resize(indent_string.size() * 2, ' ');
+ }
+
+ o->write_characters(indent_string.c_str(), new_indent);
+
+ o->write_characters("\"bytes\": [", 10);
+
+ if (!val.m_value.binary->empty())
+ {
+ for (auto i = val.m_value.binary->cbegin();
+ i != val.m_value.binary->cend() - 1; ++i)
+ {
+ dump_integer(*i);
+ o->write_characters(", ", 2);
+ }
+ dump_integer(val.m_value.binary->back());
+ }
+
+ o->write_characters("],\n", 3);
+ o->write_characters(indent_string.c_str(), new_indent);
+
+ o->write_characters("\"subtype\": ", 11);
+ if (val.m_value.binary->has_subtype())
+ {
+ dump_integer(val.m_value.binary->subtype());
+ }
+ else
+ {
+ o->write_characters("null", 4);
+ }
+ o->write_character('\n');
+ o->write_characters(indent_string.c_str(), current_indent);
+ o->write_character('}');
+ }
+ else
+ {
+ o->write_characters("{\"bytes\":[", 10);
+
+ if (!val.m_value.binary->empty())
+ {
+ for (auto i = val.m_value.binary->cbegin();
+ i != val.m_value.binary->cend() - 1; ++i)
+ {
+ dump_integer(*i);
+ o->write_character(',');
+ }
+ dump_integer(val.m_value.binary->back());
+ }
+
+ o->write_characters("],\"subtype\":", 12);
+ if (val.m_value.binary->has_subtype())
+ {
+ dump_integer(val.m_value.binary->subtype());
+ o->write_character('}');
+ }
+ else
+ {
+ o->write_characters("null}", 5);
+ }
+ }
+ return;
+ }
+
+ case value_t::boolean:
+ {
+ if (val.m_value.boolean)
+ {
+ o->write_characters("true", 4);
+ }
+ else
+ {
+ o->write_characters("false", 5);
+ }
+ return;
+ }
+
+ case value_t::number_integer:
+ {
+ dump_integer(val.m_value.number_integer);
+ return;
+ }
+
+ case value_t::number_unsigned:
+ {
+ dump_integer(val.m_value.number_unsigned);
+ return;
+ }
+
+ case value_t::number_float:
+ {
+ dump_float(val.m_value.number_float);
+ return;
+ }
+
+ case value_t::discarded:
+ {
+ o->write_characters("<discarded>", 11);
+ return;
+ }
+
+ case value_t::null:
+ {
+ o->write_characters("null", 4);
+ return;
+ }
+
+ default: // LCOV_EXCL_LINE
+ JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
+ }
+ }
+
+ JSON_PRIVATE_UNLESS_TESTED:
+ /*!
+ @brief dump escaped string
+
+ Escape a string by replacing certain special characters by a sequence of an
+ escape character (backslash) and another character and other control
+ characters by a sequence of "\u" followed by a four-digit hex
+ representation. The escaped string is written to output stream @a o.
+
+ @param[in] s the string to escape
+ @param[in] ensure_ascii whether to escape non-ASCII characters with
+ \uXXXX sequences
+
+ @complexity Linear in the length of string @a s.
+ */
+ void dump_escaped(const string_t& s, const bool ensure_ascii)
+ {
+ std::uint32_t codepoint{};
+ std::uint8_t state = UTF8_ACCEPT;
+ std::size_t bytes = 0; // number of bytes written to string_buffer
+
+ // number of bytes written at the point of the last valid byte
+ std::size_t bytes_after_last_accept = 0;
+ std::size_t undumped_chars = 0;
+
+ for (std::size_t i = 0; i < s.size(); ++i)
+ {
+ const auto byte = static_cast<std::uint8_t>(s[i]);
+
+ switch (decode(state, codepoint, byte))
+ {
+ case UTF8_ACCEPT: // decode found a new code point
+ {
+ switch (codepoint)
+ {
+ case 0x08: // backspace
+ {
+ string_buffer[bytes++] = '\\';
+ string_buffer[bytes++] = 'b';
+ break;
+ }
+
+ case 0x09: // horizontal tab
+ {
+ string_buffer[bytes++] = '\\';
+ string_buffer[bytes++] = 't';
+ break;
+ }
+
+ case 0x0A: // newline
+ {
+ string_buffer[bytes++] = '\\';
+ string_buffer[bytes++] = 'n';
+ break;
+ }
+
+ case 0x0C: // formfeed
+ {
+ string_buffer[bytes++] = '\\';
+ string_buffer[bytes++] = 'f';
+ break;
+ }
+
+ case 0x0D: // carriage return
+ {
+ string_buffer[bytes++] = '\\';
+ string_buffer[bytes++] = 'r';
+ break;
+ }
+
+ case 0x22: // quotation mark
+ {
+ string_buffer[bytes++] = '\\';
+ string_buffer[bytes++] = '\"';
+ break;
+ }
+
+ case 0x5C: // reverse solidus
+ {
+ string_buffer[bytes++] = '\\';
+ string_buffer[bytes++] = '\\';
+ break;
+ }
+
+ default:
+ {
+ // escape control characters (0x00..0x1F) or, if
+ // ensure_ascii parameter is used, non-ASCII characters
+ if ((codepoint <= 0x1F) || (ensure_ascii && (codepoint >= 0x7F)))
+ {
+ if (codepoint <= 0xFFFF)
+ {
+ // NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg,hicpp-vararg)
+ static_cast<void>((std::snprintf)(string_buffer.data() + bytes, 7, "\\u%04x",
+ static_cast<std::uint16_t>(codepoint)));
+ bytes += 6;
+ }
+ else
+ {
+ // NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg,hicpp-vararg)
+ static_cast<void>((std::snprintf)(string_buffer.data() + bytes, 13, "\\u%04x\\u%04x",
+ static_cast<std::uint16_t>(0xD7C0u + (codepoint >> 10u)),
+ static_cast<std::uint16_t>(0xDC00u + (codepoint & 0x3FFu))));
+ bytes += 12;
+ }
+ }
+ else
+ {
+ // copy byte to buffer (all previous bytes
+ // been copied have in default case above)
+ string_buffer[bytes++] = s[i];
+ }
+ break;
+ }
+ }
+
+ // write buffer and reset index; there must be 13 bytes
+ // left, as this is the maximal number of bytes to be
+ // written ("\uxxxx\uxxxx\0") for one code point
+ if (string_buffer.size() - bytes < 13)
+ {
+ o->write_characters(string_buffer.data(), bytes);
+ bytes = 0;
+ }
+
+ // remember the byte position of this accept
+ bytes_after_last_accept = bytes;
+ undumped_chars = 0;
+ break;
+ }
+
+ case UTF8_REJECT: // decode found invalid UTF-8 byte
+ {
+ switch (error_handler)
+ {
+ case error_handler_t::strict:
+ {
+ std::stringstream ss;
+ ss << std::uppercase << std::setfill('0') << std::setw(2) << std::hex << (byte | 0);
+ JSON_THROW(type_error::create(316, "invalid UTF-8 byte at index " + std::to_string(i) + ": 0x" + ss.str(), BasicJsonType()));
+ }
+
+ case error_handler_t::ignore:
+ case error_handler_t::replace:
+ {
+ // in case we saw this character the first time, we
+ // would like to read it again, because the byte
+ // may be OK for itself, but just not OK for the
+ // previous sequence
+ if (undumped_chars > 0)
+ {
+ --i;
+ }
+
+ // reset length buffer to the last accepted index;
+ // thus removing/ignoring the invalid characters
+ bytes = bytes_after_last_accept;
+
+ if (error_handler == error_handler_t::replace)
+ {
+ // add a replacement character
+ if (ensure_ascii)
+ {
+ string_buffer[bytes++] = '\\';
+ string_buffer[bytes++] = 'u';
+ string_buffer[bytes++] = 'f';
+ string_buffer[bytes++] = 'f';
+ string_buffer[bytes++] = 'f';
+ string_buffer[bytes++] = 'd';
+ }
+ else
+ {
+ string_buffer[bytes++] = detail::binary_writer<BasicJsonType, char>::to_char_type('\xEF');
+ string_buffer[bytes++] = detail::binary_writer<BasicJsonType, char>::to_char_type('\xBF');
+ string_buffer[bytes++] = detail::binary_writer<BasicJsonType, char>::to_char_type('\xBD');
+ }
+
+ // write buffer and reset index; there must be 13 bytes
+ // left, as this is the maximal number of bytes to be
+ // written ("\uxxxx\uxxxx\0") for one code point
+ if (string_buffer.size() - bytes < 13)
+ {
+ o->write_characters(string_buffer.data(), bytes);
+ bytes = 0;
+ }
+
+ bytes_after_last_accept = bytes;
+ }
+
+ undumped_chars = 0;
+
+ // continue processing the string
+ state = UTF8_ACCEPT;
+ break;
+ }
+
+ default: // LCOV_EXCL_LINE
+ JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
+ }
+ break;
+ }
+
+ default: // decode found yet incomplete multi-byte code point
+ {
+ if (!ensure_ascii)
+ {
+ // code point will not be escaped - copy byte to buffer
+ string_buffer[bytes++] = s[i];
+ }
+ ++undumped_chars;
+ break;
+ }
+ }
+ }
+
+ // we finished processing the string
+ if (JSON_HEDLEY_LIKELY(state == UTF8_ACCEPT))
+ {
+ // write buffer
+ if (bytes > 0)
+ {
+ o->write_characters(string_buffer.data(), bytes);
+ }
+ }
+ else
+ {
+ // we finish reading, but do not accept: string was incomplete
+ switch (error_handler)
+ {
+ case error_handler_t::strict:
+ {
+ std::stringstream ss;
+ ss << std::uppercase << std::setfill('0') << std::setw(2) << std::hex << (static_cast<std::uint8_t>(s.back()) | 0);
+ JSON_THROW(type_error::create(316, "incomplete UTF-8 string; last byte: 0x" + ss.str(), BasicJsonType()));
+ }
+
+ case error_handler_t::ignore:
+ {
+ // write all accepted bytes
+ o->write_characters(string_buffer.data(), bytes_after_last_accept);
+ break;
+ }
+
+ case error_handler_t::replace:
+ {
+ // write all accepted bytes
+ o->write_characters(string_buffer.data(), bytes_after_last_accept);
+ // add a replacement character
+ if (ensure_ascii)
+ {
+ o->write_characters("\\ufffd", 6);
+ }
+ else
+ {
+ o->write_characters("\xEF\xBF\xBD", 3);
+ }
+ break;
+ }
+
+ default: // LCOV_EXCL_LINE
+ JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
+ }
+ }
+ }
+
+ private:
+ /*!
+ @brief count digits
+
+ Count the number of decimal (base 10) digits for an input unsigned integer.
+
+ @param[in] x unsigned integer number to count its digits
+ @return number of decimal digits
+ */
+ inline unsigned int count_digits(number_unsigned_t x) noexcept
+ {
+ unsigned int n_digits = 1;
+ for (;;)
+ {
+ if (x < 10)
+ {
+ return n_digits;
+ }
+ if (x < 100)
+ {
+ return n_digits + 1;
+ }
+ if (x < 1000)
+ {
+ return n_digits + 2;
+ }
+ if (x < 10000)
+ {
+ return n_digits + 3;
+ }
+ x = x / 10000u;
+ n_digits += 4;
+ }
+ }
+
+ // templates to avoid warnings about useless casts
+ template <typename NumberType, enable_if_t<std::is_signed<NumberType>::value, int> = 0>
+ bool is_negative_number(NumberType x)
+ {
+ return x < 0;
+ }
+
+ template < typename NumberType, enable_if_t <std::is_unsigned<NumberType>::value, int > = 0 >
+ bool is_negative_number(NumberType /*unused*/)
+ {
+ return false;
+ }
+
+ /*!
+ @brief dump an integer
+
+ Dump a given integer to output stream @a o. Works internally with
+ @a number_buffer.
+
+ @param[in] x integer number (signed or unsigned) to dump
+ @tparam NumberType either @a number_integer_t or @a number_unsigned_t
+ */
+ template < typename NumberType, detail::enable_if_t <
+ std::is_integral<NumberType>::value ||
+ std::is_same<NumberType, number_unsigned_t>::value ||
+ std::is_same<NumberType, number_integer_t>::value ||
+ std::is_same<NumberType, binary_char_t>::value,
+ int > = 0 >
+ void dump_integer(NumberType x)
+ {
+ static constexpr std::array<std::array<char, 2>, 100> digits_to_99
+ {
+ {
+ {{'0', '0'}}, {{'0', '1'}}, {{'0', '2'}}, {{'0', '3'}}, {{'0', '4'}}, {{'0', '5'}}, {{'0', '6'}}, {{'0', '7'}}, {{'0', '8'}}, {{'0', '9'}},
+ {{'1', '0'}}, {{'1', '1'}}, {{'1', '2'}}, {{'1', '3'}}, {{'1', '4'}}, {{'1', '5'}}, {{'1', '6'}}, {{'1', '7'}}, {{'1', '8'}}, {{'1', '9'}},
+ {{'2', '0'}}, {{'2', '1'}}, {{'2', '2'}}, {{'2', '3'}}, {{'2', '4'}}, {{'2', '5'}}, {{'2', '6'}}, {{'2', '7'}}, {{'2', '8'}}, {{'2', '9'}},
+ {{'3', '0'}}, {{'3', '1'}}, {{'3', '2'}}, {{'3', '3'}}, {{'3', '4'}}, {{'3', '5'}}, {{'3', '6'}}, {{'3', '7'}}, {{'3', '8'}}, {{'3', '9'}},
+ {{'4', '0'}}, {{'4', '1'}}, {{'4', '2'}}, {{'4', '3'}}, {{'4', '4'}}, {{'4', '5'}}, {{'4', '6'}}, {{'4', '7'}}, {{'4', '8'}}, {{'4', '9'}},
+ {{'5', '0'}}, {{'5', '1'}}, {{'5', '2'}}, {{'5', '3'}}, {{'5', '4'}}, {{'5', '5'}}, {{'5', '6'}}, {{'5', '7'}}, {{'5', '8'}}, {{'5', '9'}},
+ {{'6', '0'}}, {{'6', '1'}}, {{'6', '2'}}, {{'6', '3'}}, {{'6', '4'}}, {{'6', '5'}}, {{'6', '6'}}, {{'6', '7'}}, {{'6', '8'}}, {{'6', '9'}},
+ {{'7', '0'}}, {{'7', '1'}}, {{'7', '2'}}, {{'7', '3'}}, {{'7', '4'}}, {{'7', '5'}}, {{'7', '6'}}, {{'7', '7'}}, {{'7', '8'}}, {{'7', '9'}},
+ {{'8', '0'}}, {{'8', '1'}}, {{'8', '2'}}, {{'8', '3'}}, {{'8', '4'}}, {{'8', '5'}}, {{'8', '6'}}, {{'8', '7'}}, {{'8', '8'}}, {{'8', '9'}},
+ {{'9', '0'}}, {{'9', '1'}}, {{'9', '2'}}, {{'9', '3'}}, {{'9', '4'}}, {{'9', '5'}}, {{'9', '6'}}, {{'9', '7'}}, {{'9', '8'}}, {{'9', '9'}},
+ }
+ };
+
+ // special case for "0"
+ if (x == 0)
+ {
+ o->write_character('0');
+ return;
+ }
+
+ // use a pointer to fill the buffer
+ auto buffer_ptr = number_buffer.begin(); // NOLINT(llvm-qualified-auto,readability-qualified-auto,cppcoreguidelines-pro-type-vararg,hicpp-vararg)
+
+ number_unsigned_t abs_value;
+
+ unsigned int n_chars{};
+
+ if (is_negative_number(x))
+ {
+ *buffer_ptr = '-';
+ abs_value = remove_sign(static_cast<number_integer_t>(x));
+
+ // account one more byte for the minus sign
+ n_chars = 1 + count_digits(abs_value);
+ }
+ else
+ {
+ abs_value = static_cast<number_unsigned_t>(x);
+ n_chars = count_digits(abs_value);
+ }
+
+ // spare 1 byte for '\0'
+ JSON_ASSERT(n_chars < number_buffer.size() - 1);
+
+ // jump to the end to generate the string from backward,
+ // so we later avoid reversing the result
+ buffer_ptr += n_chars;
+
+ // Fast int2ascii implementation inspired by "Fastware" talk by Andrei Alexandrescu
+ // See: https://www.youtube.com/watch?v=o4-CwDo2zpg
+ while (abs_value >= 100)
+ {
+ const auto digits_index = static_cast<unsigned>((abs_value % 100));
+ abs_value /= 100;
+ *(--buffer_ptr) = digits_to_99[digits_index][1];
+ *(--buffer_ptr) = digits_to_99[digits_index][0];
+ }
+
+ if (abs_value >= 10)
+ {
+ const auto digits_index = static_cast<unsigned>(abs_value);
+ *(--buffer_ptr) = digits_to_99[digits_index][1];
+ *(--buffer_ptr) = digits_to_99[digits_index][0];
+ }
+ else
+ {
+ *(--buffer_ptr) = static_cast<char>('0' + abs_value);
+ }
+
+ o->write_characters(number_buffer.data(), n_chars);
+ }
+
+ /*!
+ @brief dump a floating-point number
+
+ Dump a given floating-point number to output stream @a o. Works internally
+ with @a number_buffer.
+
+ @param[in] x floating-point number to dump
+ */
+ void dump_float(number_float_t x)
+ {
+ // NaN / inf
+ if (!std::isfinite(x))
+ {
+ o->write_characters("null", 4);
+ return;
+ }
+
+ // If number_float_t is an IEEE-754 single or double precision number,
+ // use the Grisu2 algorithm to produce short numbers which are
+ // guaranteed to round-trip, using strtof and strtod, resp.
+ //
+ // NB: The test below works if <long double> == <double>.
+ static constexpr bool is_ieee_single_or_double
+ = (std::numeric_limits<number_float_t>::is_iec559 && std::numeric_limits<number_float_t>::digits == 24 && std::numeric_limits<number_float_t>::max_exponent == 128) ||
+ (std::numeric_limits<number_float_t>::is_iec559 && std::numeric_limits<number_float_t>::digits == 53 && std::numeric_limits<number_float_t>::max_exponent == 1024);
+
+ dump_float(x, std::integral_constant<bool, is_ieee_single_or_double>());
+ }
+
+ void dump_float(number_float_t x, std::true_type /*is_ieee_single_or_double*/)
+ {
+ auto* begin = number_buffer.data();
+ auto* end = ::nlohmann::detail::to_chars(begin, begin + number_buffer.size(), x);
+
+ o->write_characters(begin, static_cast<size_t>(end - begin));
+ }
+
+ void dump_float(number_float_t x, std::false_type /*is_ieee_single_or_double*/)
+ {
+ // get number of digits for a float -> text -> float round-trip
+ static constexpr auto d = std::numeric_limits<number_float_t>::max_digits10;
+
+ // the actual conversion
+ // NOLINTNEXTLINE(cppcoreguidelines-pro-type-vararg,hicpp-vararg)
+ std::ptrdiff_t len = (std::snprintf)(number_buffer.data(), number_buffer.size(), "%.*g", d, x);
+
+ // negative value indicates an error
+ JSON_ASSERT(len > 0);
+ // check if buffer was large enough
+ JSON_ASSERT(static_cast<std::size_t>(len) < number_buffer.size());
+
+ // erase thousands separator
+ if (thousands_sep != '\0')
+ {
+ // NOLINTNEXTLINE(readability-qualified-auto,llvm-qualified-auto): std::remove returns an iterator, see https://github.com/nlohmann/json/issues/3081
+ const auto end = std::remove(number_buffer.begin(), number_buffer.begin() + len, thousands_sep);
+ std::fill(end, number_buffer.end(), '\0');
+ JSON_ASSERT((end - number_buffer.begin()) <= len);
+ len = (end - number_buffer.begin());
+ }
+
+ // convert decimal point to '.'
+ if (decimal_point != '\0' && decimal_point != '.')
+ {
+ // NOLINTNEXTLINE(readability-qualified-auto,llvm-qualified-auto): std::find returns an iterator, see https://github.com/nlohmann/json/issues/3081
+ const auto dec_pos = std::find(number_buffer.begin(), number_buffer.end(), decimal_point);
+ if (dec_pos != number_buffer.end())
+ {
+ *dec_pos = '.';
+ }
+ }
+
+ o->write_characters(number_buffer.data(), static_cast<std::size_t>(len));
+
+ // determine if we need to append ".0"
+ const bool value_is_int_like =
+ std::none_of(number_buffer.begin(), number_buffer.begin() + len + 1,
+ [](char c)
+ {
+ return c == '.' || c == 'e';
+ });
+
+ if (value_is_int_like)
+ {
+ o->write_characters(".0", 2);
+ }
+ }
+
+ /*!
+ @brief check whether a string is UTF-8 encoded
+
+ The function checks each byte of a string whether it is UTF-8 encoded. The
+ result of the check is stored in the @a state parameter. The function must
+ be called initially with state 0 (accept). State 1 means the string must
+ be rejected, because the current byte is not allowed. If the string is
+ completely processed, but the state is non-zero, the string ended
+ prematurely; that is, the last byte indicated more bytes should have
+ followed.
+
+ @param[in,out] state the state of the decoding
+ @param[in,out] codep codepoint (valid only if resulting state is UTF8_ACCEPT)
+ @param[in] byte next byte to decode
+ @return new state
+
+ @note The function has been edited: a std::array is used.
+
+ @copyright Copyright (c) 2008-2009 Bjoern Hoehrmann <bjoern@hoehrmann.de>
+ @sa http://bjoern.hoehrmann.de/utf-8/decoder/dfa/
+ */
+ static std::uint8_t decode(std::uint8_t& state, std::uint32_t& codep, const std::uint8_t byte) noexcept
+ {
+ static const std::array<std::uint8_t, 400> utf8d =
+ {
+ {
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 00..1F
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 20..3F
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 40..5F
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 60..7F
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, // 80..9F
+ 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, // A0..BF
+ 8, 8, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, // C0..DF
+ 0xA, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x3, 0x4, 0x3, 0x3, // E0..EF
+ 0xB, 0x6, 0x6, 0x6, 0x5, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, 0x8, // F0..FF
+ 0x0, 0x1, 0x2, 0x3, 0x5, 0x8, 0x7, 0x1, 0x1, 0x1, 0x4, 0x6, 0x1, 0x1, 0x1, 0x1, // s0..s0
+ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, // s1..s2
+ 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, // s3..s4
+ 1, 2, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 3, 1, 3, 1, 1, 1, 1, 1, 1, // s5..s6
+ 1, 3, 1, 1, 1, 1, 1, 3, 1, 3, 1, 1, 1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 // s7..s8
+ }
+ };
+
+ JSON_ASSERT(byte < utf8d.size());
+ const std::uint8_t type = utf8d[byte];
+
+ codep = (state != UTF8_ACCEPT)
+ ? (byte & 0x3fu) | (codep << 6u)
+ : (0xFFu >> type) & (byte);
+
+ std::size_t index = 256u + static_cast<size_t>(state) * 16u + static_cast<size_t>(type);
+ JSON_ASSERT(index < 400);
+ state = utf8d[index];
+ return state;
+ }
+
+ /*
+ * Overload to make the compiler happy while it is instantiating
+ * dump_integer for number_unsigned_t.
+ * Must never be called.
+ */
+ number_unsigned_t remove_sign(number_unsigned_t x)
+ {
+ JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
+ return x; // LCOV_EXCL_LINE
+ }
+
+ /*
+ * Helper function for dump_integer
+ *
+ * This function takes a negative signed integer and returns its absolute
+ * value as unsigned integer. The plus/minus shuffling is necessary as we can
+ * not directly remove the sign of an arbitrary signed integer as the
+ * absolute values of INT_MIN and INT_MAX are usually not the same. See
+ * #1708 for details.
+ */
+ inline number_unsigned_t remove_sign(number_integer_t x) noexcept
+ {
+ JSON_ASSERT(x < 0 && x < (std::numeric_limits<number_integer_t>::max)()); // NOLINT(misc-redundant-expression)
+ return static_cast<number_unsigned_t>(-(x + 1)) + 1;
+ }
+
+ private:
+ /// the output of the serializer
+ output_adapter_t<char> o = nullptr;
+
+ /// a (hopefully) large enough character buffer
+ std::array<char, 64> number_buffer{{}};
+
+ /// the locale
+ const std::lconv* loc = nullptr;
+ /// the locale's thousand separator character
+ const char thousands_sep = '\0';
+ /// the locale's decimal point character
+ const char decimal_point = '\0';
+
+ /// string buffer
+ std::array<char, 512> string_buffer{{}};
+
+ /// the indentation character
+ const char indent_char;
+ /// the indentation string
+ string_t indent_string;
+
+ /// error_handler how to react on decoding errors
+ const error_handler_t error_handler;
+};
+} // namespace detail
+} // namespace nlohmann
+
+// #include <nlohmann/detail/value_t.hpp>
+
+// #include <nlohmann/json_fwd.hpp>
+
+// #include <nlohmann/ordered_map.hpp>
+
+
+#include <functional> // less
+#include <initializer_list> // initializer_list
+#include <iterator> // input_iterator_tag, iterator_traits
+#include <memory> // allocator
+#include <stdexcept> // for out_of_range
+#include <type_traits> // enable_if, is_convertible
+#include <utility> // pair
+#include <vector> // vector
+
+// #include <nlohmann/detail/macro_scope.hpp>
+
+
+namespace nlohmann
+{
+
+/// ordered_map: a minimal map-like container that preserves insertion order
+/// for use within nlohmann::basic_json<ordered_map>
+template <class Key, class T, class IgnoredLess = std::less<Key>,
+ class Allocator = std::allocator<std::pair<const Key, T>>>
+ struct ordered_map : std::vector<std::pair<const Key, T>, Allocator>
+{
+ using key_type = Key;
+ using mapped_type = T;
+ using Container = std::vector<std::pair<const Key, T>, Allocator>;
+ using iterator = typename Container::iterator;
+ using const_iterator = typename Container::const_iterator;
+ using size_type = typename Container::size_type;
+ using value_type = typename Container::value_type;
+
+ // Explicit constructors instead of `using Container::Container`
+ // otherwise older compilers choke on it (GCC <= 5.5, xcode <= 9.4)
+ ordered_map(const Allocator& alloc = Allocator()) : Container{alloc} {}
+ template <class It>
+ ordered_map(It first, It last, const Allocator& alloc = Allocator())
+ : Container{first, last, alloc} {}
+ ordered_map(std::initializer_list<T> init, const Allocator& alloc = Allocator() )
+ : Container{init, alloc} {}
+
+ std::pair<iterator, bool> emplace(const key_type& key, T&& t)
+ {
+ for (auto it = this->begin(); it != this->end(); ++it)
+ {
+ if (it->first == key)
+ {
+ return {it, false};
+ }
+ }
+ Container::emplace_back(key, t);
+ return {--this->end(), true};
+ }
+
+ T& operator[](const Key& key)
+ {
+ return emplace(key, T{}).first->second;
+ }
+
+ const T& operator[](const Key& key) const
+ {
+ return at(key);
+ }
+
+ T& at(const Key& key)
+ {
+ for (auto it = this->begin(); it != this->end(); ++it)
+ {
+ if (it->first == key)
+ {
+ return it->second;
+ }
+ }
+
+ JSON_THROW(std::out_of_range("key not found"));
+ }
+
+ const T& at(const Key& key) const
+ {
+ for (auto it = this->begin(); it != this->end(); ++it)
+ {
+ if (it->first == key)
+ {
+ return it->second;
+ }
+ }
+
+ JSON_THROW(std::out_of_range("key not found"));
+ }
+
+ size_type erase(const Key& key)
+ {
+ for (auto it = this->begin(); it != this->end(); ++it)
+ {
+ if (it->first == key)
+ {
+ // Since we cannot move const Keys, re-construct them in place
+ for (auto next = it; ++next != this->end(); ++it)
+ {
+ it->~value_type(); // Destroy but keep allocation
+ new (&*it) value_type{std::move(*next)};
+ }
+ Container::pop_back();
+ return 1;
+ }
+ }
+ return 0;
+ }
+
+ iterator erase(iterator pos)
+ {
+ return erase(pos, std::next(pos));
+ }
+
+ iterator erase(iterator first, iterator last)
+ {
+ const auto elements_affected = std::distance(first, last);
+ const auto offset = std::distance(Container::begin(), first);
+
+ // This is the start situation. We need to delete elements_affected
+ // elements (3 in this example: e, f, g), and need to return an
+ // iterator past the last deleted element (h in this example).
+ // Note that offset is the distance from the start of the vector
+ // to first. We will need this later.
+
+ // [ a, b, c, d, e, f, g, h, i, j ]
+ // ^ ^
+ // first last
+
+ // Since we cannot move const Keys, we re-construct them in place.
+ // We start at first and re-construct (viz. copy) the elements from
+ // the back of the vector. Example for first iteration:
+
+ // ,--------.
+ // v | destroy e and re-construct with h
+ // [ a, b, c, d, e, f, g, h, i, j ]
+ // ^ ^
+ // it it + elements_affected
+
+ for (auto it = first; std::next(it, elements_affected) != Container::end(); ++it)
+ {
+ it->~value_type(); // destroy but keep allocation
+ new (&*it) value_type{std::move(*std::next(it, elements_affected))}; // "move" next element to it
+ }
+
+ // [ a, b, c, d, h, i, j, h, i, j ]
+ // ^ ^
+ // first last
+
+ // remove the unneeded elements at the end of the vector
+ Container::resize(this->size() - static_cast<size_type>(elements_affected));
+
+ // [ a, b, c, d, h, i, j ]
+ // ^ ^
+ // first last
+
+ // first is now pointing past the last deleted element, but we cannot
+ // use this iterator, because it may have been invalidated by the
+ // resize call. Instead, we can return begin() + offset.
+ return Container::begin() + offset;
+ }
+
+ size_type count(const Key& key) const
+ {
+ for (auto it = this->begin(); it != this->end(); ++it)
+ {
+ if (it->first == key)
+ {
+ return 1;
+ }
+ }
+ return 0;
+ }
+
+ iterator find(const Key& key)
+ {
+ for (auto it = this->begin(); it != this->end(); ++it)
+ {
+ if (it->first == key)
+ {
+ return it;
+ }
+ }
+ return Container::end();
+ }
+
+ const_iterator find(const Key& key) const
+ {
+ for (auto it = this->begin(); it != this->end(); ++it)
+ {
+ if (it->first == key)
+ {
+ return it;
+ }
+ }
+ return Container::end();
+ }
+
+ std::pair<iterator, bool> insert( value_type&& value )
+ {
+ return emplace(value.first, std::move(value.second));
+ }
+
+ std::pair<iterator, bool> insert( const value_type& value )
+ {
+ for (auto it = this->begin(); it != this->end(); ++it)
+ {
+ if (it->first == value.first)
+ {
+ return {it, false};
+ }
+ }
+ Container::push_back(value);
+ return {--this->end(), true};
+ }
+
+ template<typename InputIt>
+ using require_input_iter = typename std::enable_if<std::is_convertible<typename std::iterator_traits<InputIt>::iterator_category,
+ std::input_iterator_tag>::value>::type;
+
+ template<typename InputIt, typename = require_input_iter<InputIt>>
+ void insert(InputIt first, InputIt last)
+ {
+ for (auto it = first; it != last; ++it)
+ {
+ insert(*it);
+ }
+ }
+};
+
+} // namespace nlohmann
+
+
+#if defined(JSON_HAS_CPP_17)
+ #include <string_view>
+#endif
+
+/*!
+@brief namespace for Niels Lohmann
+@see https://github.com/nlohmann
+@since version 1.0.0
+*/
+namespace nlohmann
+{
+
+/*!
+@brief a class to store JSON values
+
+@internal
+@invariant The member variables @a m_value and @a m_type have the following
+relationship:
+- If `m_type == value_t::object`, then `m_value.object != nullptr`.
+- If `m_type == value_t::array`, then `m_value.array != nullptr`.
+- If `m_type == value_t::string`, then `m_value.string != nullptr`.
+The invariants are checked by member function assert_invariant().
+
+@note ObjectType trick from https://stackoverflow.com/a/9860911
+@endinternal
+
+@since version 1.0.0
+
+@nosubgrouping
+*/
+NLOHMANN_BASIC_JSON_TPL_DECLARATION
+class basic_json // NOLINT(cppcoreguidelines-special-member-functions,hicpp-special-member-functions)
+{
+ private:
+ template<detail::value_t> friend struct detail::external_constructor;
+ friend ::nlohmann::json_pointer<basic_json>;
+
+ template<typename BasicJsonType, typename InputType>
+ friend class ::nlohmann::detail::parser;
+ friend ::nlohmann::detail::serializer<basic_json>;
+ template<typename BasicJsonType>
+ friend class ::nlohmann::detail::iter_impl;
+ template<typename BasicJsonType, typename CharType>
+ friend class ::nlohmann::detail::binary_writer;
+ template<typename BasicJsonType, typename InputType, typename SAX>
+ friend class ::nlohmann::detail::binary_reader;
+ template<typename BasicJsonType>
+ friend class ::nlohmann::detail::json_sax_dom_parser;
+ template<typename BasicJsonType>
+ friend class ::nlohmann::detail::json_sax_dom_callback_parser;
+ friend class ::nlohmann::detail::exception;
+
+ /// workaround type for MSVC
+ using basic_json_t = NLOHMANN_BASIC_JSON_TPL;
+
+ JSON_PRIVATE_UNLESS_TESTED:
+ // convenience aliases for types residing in namespace detail;
+ using lexer = ::nlohmann::detail::lexer_base<basic_json>;
+
+ template<typename InputAdapterType>
+ static ::nlohmann::detail::parser<basic_json, InputAdapterType> parser(
+ InputAdapterType adapter,
+ detail::parser_callback_t<basic_json>cb = nullptr,
+ const bool allow_exceptions = true,
+ const bool ignore_comments = false
+ )
+ {
+ return ::nlohmann::detail::parser<basic_json, InputAdapterType>(std::move(adapter),
+ std::move(cb), allow_exceptions, ignore_comments);
+ }
+
+ private:
+ using primitive_iterator_t = ::nlohmann::detail::primitive_iterator_t;
+ template<typename BasicJsonType>
+ using internal_iterator = ::nlohmann::detail::internal_iterator<BasicJsonType>;
+ template<typename BasicJsonType>
+ using iter_impl = ::nlohmann::detail::iter_impl<BasicJsonType>;
+ template<typename Iterator>
+ using iteration_proxy = ::nlohmann::detail::iteration_proxy<Iterator>;
+ template<typename Base> using json_reverse_iterator = ::nlohmann::detail::json_reverse_iterator<Base>;
+
+ template<typename CharType>
+ using output_adapter_t = ::nlohmann::detail::output_adapter_t<CharType>;
+
+ template<typename InputType>
+ using binary_reader = ::nlohmann::detail::binary_reader<basic_json, InputType>;
+ template<typename CharType> using binary_writer = ::nlohmann::detail::binary_writer<basic_json, CharType>;
+
+ JSON_PRIVATE_UNLESS_TESTED:
+ using serializer = ::nlohmann::detail::serializer<basic_json>;
+
+ public:
+ using value_t = detail::value_t;
+ /// JSON Pointer, see @ref nlohmann::json_pointer
+ using json_pointer = ::nlohmann::json_pointer<basic_json>;
+ template<typename T, typename SFINAE>
+ using json_serializer = JSONSerializer<T, SFINAE>;
+ /// how to treat decoding errors
+ using error_handler_t = detail::error_handler_t;
+ /// how to treat CBOR tags
+ using cbor_tag_handler_t = detail::cbor_tag_handler_t;
+ /// helper type for initializer lists of basic_json values
+ using initializer_list_t = std::initializer_list<detail::json_ref<basic_json>>;
+
+ using input_format_t = detail::input_format_t;
+ /// SAX interface type, see @ref nlohmann::json_sax
+ using json_sax_t = json_sax<basic_json>;
+
+ ////////////////
+ // exceptions //
+ ////////////////
+
+ /// @name exceptions
+ /// Classes to implement user-defined exceptions.
+ /// @{
+
+ using exception = detail::exception;
+ using parse_error = detail::parse_error;
+ using invalid_iterator = detail::invalid_iterator;
+ using type_error = detail::type_error;
+ using out_of_range = detail::out_of_range;
+ using other_error = detail::other_error;
+
+ /// @}
+
+
+ /////////////////////
+ // container types //
+ /////////////////////
+
+ /// @name container types
+ /// The canonic container types to use @ref basic_json like any other STL
+ /// container.
+ /// @{
+
+ /// the type of elements in a basic_json container
+ using value_type = basic_json;
+
+ /// the type of an element reference
+ using reference = value_type&;
+ /// the type of an element const reference
+ using const_reference = const value_type&;
+
+ /// a type to represent differences between iterators
+ using difference_type = std::ptrdiff_t;
+ /// a type to represent container sizes
+ using size_type = std::size_t;
+
+ /// the allocator type
+ using allocator_type = AllocatorType<basic_json>;
+
+ /// the type of an element pointer
+ using pointer = typename std::allocator_traits<allocator_type>::pointer;
+ /// the type of an element const pointer
+ using const_pointer = typename std::allocator_traits<allocator_type>::const_pointer;
+
+ /// an iterator for a basic_json container
+ using iterator = iter_impl<basic_json>;
+ /// a const iterator for a basic_json container
+ using const_iterator = iter_impl<const basic_json>;
+ /// a reverse iterator for a basic_json container
+ using reverse_iterator = json_reverse_iterator<typename basic_json::iterator>;
+ /// a const reverse iterator for a basic_json container
+ using const_reverse_iterator = json_reverse_iterator<typename basic_json::const_iterator>;
+
+ /// @}
+
+
+ /// @brief returns the allocator associated with the container
+ /// @sa https://json.nlohmann.me/api/basic_json/get_allocator/
+ static allocator_type get_allocator()
+ {
+ return allocator_type();
+ }
+
+ /// @brief returns version information on the library
+ /// @sa https://json.nlohmann.me/api/basic_json/meta/
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json meta()
+ {
+ basic_json result;
+
+ result["copyright"] = "(C) 2013-2022 Niels Lohmann";
+ result["name"] = "JSON for Modern C++";
+ result["url"] = "https://github.com/nlohmann/json";
+ result["version"]["string"] =
+ std::to_string(NLOHMANN_JSON_VERSION_MAJOR) + "." +
+ std::to_string(NLOHMANN_JSON_VERSION_MINOR) + "." +
+ std::to_string(NLOHMANN_JSON_VERSION_PATCH);
+ result["version"]["major"] = NLOHMANN_JSON_VERSION_MAJOR;
+ result["version"]["minor"] = NLOHMANN_JSON_VERSION_MINOR;
+ result["version"]["patch"] = NLOHMANN_JSON_VERSION_PATCH;
+
+#ifdef _WIN32
+ result["platform"] = "win32";
+#elif defined __linux__
+ result["platform"] = "linux";
+#elif defined __APPLE__
+ result["platform"] = "apple";
+#elif defined __unix__
+ result["platform"] = "unix";
+#else
+ result["platform"] = "unknown";
+#endif
+
+#if defined(__ICC) || defined(__INTEL_COMPILER)
+ result["compiler"] = {{"family", "icc"}, {"version", __INTEL_COMPILER}};
+#elif defined(__clang__)
+ result["compiler"] = {{"family", "clang"}, {"version", __clang_version__}};
+#elif defined(__GNUC__) || defined(__GNUG__)
+ result["compiler"] = {{"family", "gcc"}, {"version", std::to_string(__GNUC__) + "." + std::to_string(__GNUC_MINOR__) + "." + std::to_string(__GNUC_PATCHLEVEL__)}};
+#elif defined(__HP_cc) || defined(__HP_aCC)
+ result["compiler"] = "hp"
+#elif defined(__IBMCPP__)
+ result["compiler"] = {{"family", "ilecpp"}, {"version", __IBMCPP__}};
+#elif defined(_MSC_VER)
+ result["compiler"] = {{"family", "msvc"}, {"version", _MSC_VER}};
+#elif defined(__PGI)
+ result["compiler"] = {{"family", "pgcpp"}, {"version", __PGI}};
+#elif defined(__SUNPRO_CC)
+ result["compiler"] = {{"family", "sunpro"}, {"version", __SUNPRO_CC}};
+#else
+ result["compiler"] = {{"family", "unknown"}, {"version", "unknown"}};
+#endif
+
+#ifdef __cplusplus
+ result["compiler"]["c++"] = std::to_string(__cplusplus);
+#else
+ result["compiler"]["c++"] = "unknown";
+#endif
+ return result;
+ }
+
+
+ ///////////////////////////
+ // JSON value data types //
+ ///////////////////////////
+
+ /// @name JSON value data types
+ /// The data types to store a JSON value. These types are derived from
+ /// the template arguments passed to class @ref basic_json.
+ /// @{
+
+ /// @brief object key comparator type
+ /// @sa https://json.nlohmann.me/api/basic_json/object_comparator_t/
+#if defined(JSON_HAS_CPP_14)
+ // Use transparent comparator if possible, combined with perfect forwarding
+ // on find() and count() calls prevents unnecessary string construction.
+ using object_comparator_t = std::less<>;
+#else
+ using object_comparator_t = std::less<StringType>;
+#endif
+
+ /// @brief a type for an object
+ /// @sa https://json.nlohmann.me/api/basic_json/object_t/
+ using object_t = ObjectType<StringType,
+ basic_json,
+ object_comparator_t,
+ AllocatorType<std::pair<const StringType,
+ basic_json>>>;
+
+ /// @brief a type for an array
+ /// @sa https://json.nlohmann.me/api/basic_json/array_t/
+ using array_t = ArrayType<basic_json, AllocatorType<basic_json>>;
+
+ /// @brief a type for a string
+ /// @sa https://json.nlohmann.me/api/basic_json/string_t/
+ using string_t = StringType;
+
+ /// @brief a type for a boolean
+ /// @sa https://json.nlohmann.me/api/basic_json/boolean_t/
+ using boolean_t = BooleanType;
+
+ /// @brief a type for a number (integer)
+ /// @sa https://json.nlohmann.me/api/basic_json/number_integer_t/
+ using number_integer_t = NumberIntegerType;
+
+ /// @brief a type for a number (unsigned)
+ /// @sa https://json.nlohmann.me/api/basic_json/number_unsigned_t/
+ using number_unsigned_t = NumberUnsignedType;
+
+ /// @brief a type for a number (floating-point)
+ /// @sa https://json.nlohmann.me/api/basic_json/number_float_t/
+ using number_float_t = NumberFloatType;
+
+ /// @brief a type for a packed binary type
+ /// @sa https://json.nlohmann.me/api/basic_json/binary_t/
+ using binary_t = nlohmann::byte_container_with_subtype<BinaryType>;
+
+ /// @}
+
+ private:
+
+ /// helper for exception-safe object creation
+ template<typename T, typename... Args>
+ JSON_HEDLEY_RETURNS_NON_NULL
+ static T* create(Args&& ... args)
+ {
+ AllocatorType<T> alloc;
+ using AllocatorTraits = std::allocator_traits<AllocatorType<T>>;
+
+ auto deleter = [&](T * obj)
+ {
+ AllocatorTraits::deallocate(alloc, obj, 1);
+ };
+ std::unique_ptr<T, decltype(deleter)> obj(AllocatorTraits::allocate(alloc, 1), deleter);
+ AllocatorTraits::construct(alloc, obj.get(), std::forward<Args>(args)...);
+ JSON_ASSERT(obj != nullptr);
+ return obj.release();
+ }
+
+ ////////////////////////
+ // JSON value storage //
+ ////////////////////////
+
+ JSON_PRIVATE_UNLESS_TESTED:
+ /*!
+ @brief a JSON value
+
+ The actual storage for a JSON value of the @ref basic_json class. This
+ union combines the different storage types for the JSON value types
+ defined in @ref value_t.
+
+ JSON type | value_t type | used type
+ --------- | --------------- | ------------------------
+ object | object | pointer to @ref object_t
+ array | array | pointer to @ref array_t
+ string | string | pointer to @ref string_t
+ boolean | boolean | @ref boolean_t
+ number | number_integer | @ref number_integer_t
+ number | number_unsigned | @ref number_unsigned_t
+ number | number_float | @ref number_float_t
+ binary | binary | pointer to @ref binary_t
+ null | null | *no value is stored*
+
+ @note Variable-length types (objects, arrays, and strings) are stored as
+ pointers. The size of the union should not exceed 64 bits if the default
+ value types are used.
+
+ @since version 1.0.0
+ */
+ union json_value
+ {
+ /// object (stored with pointer to save storage)
+ object_t* object;
+ /// array (stored with pointer to save storage)
+ array_t* array;
+ /// string (stored with pointer to save storage)
+ string_t* string;
+ /// binary (stored with pointer to save storage)
+ binary_t* binary;
+ /// boolean
+ boolean_t boolean;
+ /// number (integer)
+ number_integer_t number_integer;
+ /// number (unsigned integer)
+ number_unsigned_t number_unsigned;
+ /// number (floating-point)
+ number_float_t number_float;
+
+ /// default constructor (for null values)
+ json_value() = default;
+ /// constructor for booleans
+ json_value(boolean_t v) noexcept : boolean(v) {}
+ /// constructor for numbers (integer)
+ json_value(number_integer_t v) noexcept : number_integer(v) {}
+ /// constructor for numbers (unsigned)
+ json_value(number_unsigned_t v) noexcept : number_unsigned(v) {}
+ /// constructor for numbers (floating-point)
+ json_value(number_float_t v) noexcept : number_float(v) {}
+ /// constructor for empty values of a given type
+ json_value(value_t t)
+ {
+ switch (t)
+ {
+ case value_t::object:
+ {
+ object = create<object_t>();
+ break;
+ }
+
+ case value_t::array:
+ {
+ array = create<array_t>();
+ break;
+ }
+
+ case value_t::string:
+ {
+ string = create<string_t>("");
+ break;
+ }
+
+ case value_t::binary:
+ {
+ binary = create<binary_t>();
+ break;
+ }
+
+ case value_t::boolean:
+ {
+ boolean = static_cast<boolean_t>(false);
+ break;
+ }
+
+ case value_t::number_integer:
+ {
+ number_integer = static_cast<number_integer_t>(0);
+ break;
+ }
+
+ case value_t::number_unsigned:
+ {
+ number_unsigned = static_cast<number_unsigned_t>(0);
+ break;
+ }
+
+ case value_t::number_float:
+ {
+ number_float = static_cast<number_float_t>(0.0);
+ break;
+ }
+
+ case value_t::null:
+ {
+ object = nullptr; // silence warning, see #821
+ break;
+ }
+
+ case value_t::discarded:
+ default:
+ {
+ object = nullptr; // silence warning, see #821
+ if (JSON_HEDLEY_UNLIKELY(t == value_t::null))
+ {
+ JSON_THROW(other_error::create(500, "961c151d2e87f2686a955a9be24d316f1362bf21 3.10.5", basic_json())); // LCOV_EXCL_LINE
+ }
+ break;
+ }
+ }
+ }
+
+ /// constructor for strings
+ json_value(const string_t& value) : string(create<string_t>(value)) {}
+
+ /// constructor for rvalue strings
+ json_value(string_t&& value) : string(create<string_t>(std::move(value))) {}
+
+ /// constructor for objects
+ json_value(const object_t& value) : object(create<object_t>(value)) {}
+
+ /// constructor for rvalue objects
+ json_value(object_t&& value) : object(create<object_t>(std::move(value))) {}
+
+ /// constructor for arrays
+ json_value(const array_t& value) : array(create<array_t>(value)) {}
+
+ /// constructor for rvalue arrays
+ json_value(array_t&& value) : array(create<array_t>(std::move(value))) {}
+
+ /// constructor for binary arrays
+ json_value(const typename binary_t::container_type& value) : binary(create<binary_t>(value)) {}
+
+ /// constructor for rvalue binary arrays
+ json_value(typename binary_t::container_type&& value) : binary(create<binary_t>(std::move(value))) {}
+
+ /// constructor for binary arrays (internal type)
+ json_value(const binary_t& value) : binary(create<binary_t>(value)) {}
+
+ /// constructor for rvalue binary arrays (internal type)
+ json_value(binary_t&& value) : binary(create<binary_t>(std::move(value))) {}
+
+ void destroy(value_t t)
+ {
+ if (t == value_t::array || t == value_t::object)
+ {
+ // flatten the current json_value to a heap-allocated stack
+ std::vector<basic_json> stack;
+
+ // move the top-level items to stack
+ if (t == value_t::array)
+ {
+ stack.reserve(array->size());
+ std::move(array->begin(), array->end(), std::back_inserter(stack));
+ }
+ else
+ {
+ stack.reserve(object->size());
+ for (auto&& it : *object)
+ {
+ stack.push_back(std::move(it.second));
+ }
+ }
+
+ while (!stack.empty())
+ {
+ // move the last item to local variable to be processed
+ basic_json current_item(std::move(stack.back()));
+ stack.pop_back();
+
+ // if current_item is array/object, move
+ // its children to the stack to be processed later
+ if (current_item.is_array())
+ {
+ std::move(current_item.m_value.array->begin(), current_item.m_value.array->end(), std::back_inserter(stack));
+
+ current_item.m_value.array->clear();
+ }
+ else if (current_item.is_object())
+ {
+ for (auto&& it : *current_item.m_value.object)
+ {
+ stack.push_back(std::move(it.second));
+ }
+
+ current_item.m_value.object->clear();
+ }
+
+ // it's now safe that current_item get destructed
+ // since it doesn't have any children
+ }
+ }
+
+ switch (t)
+ {
+ case value_t::object:
+ {
+ AllocatorType<object_t> alloc;
+ std::allocator_traits<decltype(alloc)>::destroy(alloc, object);
+ std::allocator_traits<decltype(alloc)>::deallocate(alloc, object, 1);
+ break;
+ }
+
+ case value_t::array:
+ {
+ AllocatorType<array_t> alloc;
+ std::allocator_traits<decltype(alloc)>::destroy(alloc, array);
+ std::allocator_traits<decltype(alloc)>::deallocate(alloc, array, 1);
+ break;
+ }
+
+ case value_t::string:
+ {
+ AllocatorType<string_t> alloc;
+ std::allocator_traits<decltype(alloc)>::destroy(alloc, string);
+ std::allocator_traits<decltype(alloc)>::deallocate(alloc, string, 1);
+ break;
+ }
+
+ case value_t::binary:
+ {
+ AllocatorType<binary_t> alloc;
+ std::allocator_traits<decltype(alloc)>::destroy(alloc, binary);
+ std::allocator_traits<decltype(alloc)>::deallocate(alloc, binary, 1);
+ break;
+ }
+
+ case value_t::null:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::discarded:
+ default:
+ {
+ break;
+ }
+ }
+ }
+ };
+
+ private:
+ /*!
+ @brief checks the class invariants
+
+ This function asserts the class invariants. It needs to be called at the
+ end of every constructor to make sure that created objects respect the
+ invariant. Furthermore, it has to be called each time the type of a JSON
+ value is changed, because the invariant expresses a relationship between
+ @a m_type and @a m_value.
+
+ Furthermore, the parent relation is checked for arrays and objects: If
+ @a check_parents true and the value is an array or object, then the
+ container's elements must have the current value as parent.
+
+ @param[in] check_parents whether the parent relation should be checked.
+ The value is true by default and should only be set to false
+ during destruction of objects when the invariant does not
+ need to hold.
+ */
+ void assert_invariant(bool check_parents = true) const noexcept
+ {
+ JSON_ASSERT(m_type != value_t::object || m_value.object != nullptr);
+ JSON_ASSERT(m_type != value_t::array || m_value.array != nullptr);
+ JSON_ASSERT(m_type != value_t::string || m_value.string != nullptr);
+ JSON_ASSERT(m_type != value_t::binary || m_value.binary != nullptr);
+
+#if JSON_DIAGNOSTICS
+ JSON_TRY
+ {
+ // cppcheck-suppress assertWithSideEffect
+ JSON_ASSERT(!check_parents || !is_structured() || std::all_of(begin(), end(), [this](const basic_json & j)
+ {
+ return j.m_parent == this;
+ }));
+ }
+ JSON_CATCH(...) {} // LCOV_EXCL_LINE
+#endif
+ static_cast<void>(check_parents);
+ }
+
+ void set_parents()
+ {
+#if JSON_DIAGNOSTICS
+ switch (m_type)
+ {
+ case value_t::array:
+ {
+ for (auto& element : *m_value.array)
+ {
+ element.m_parent = this;
+ }
+ break;
+ }
+
+ case value_t::object:
+ {
+ for (auto& element : *m_value.object)
+ {
+ element.second.m_parent = this;
+ }
+ break;
+ }
+
+ case value_t::null:
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ break;
+ }
+#endif
+ }
+
+ iterator set_parents(iterator it, typename iterator::difference_type count_set_parents)
+ {
+#if JSON_DIAGNOSTICS
+ for (typename iterator::difference_type i = 0; i < count_set_parents; ++i)
+ {
+ (it + i)->m_parent = this;
+ }
+#else
+ static_cast<void>(count_set_parents);
+#endif
+ return it;
+ }
+
+ reference set_parent(reference j, std::size_t old_capacity = static_cast<std::size_t>(-1))
+ {
+#if JSON_DIAGNOSTICS
+ if (old_capacity != static_cast<std::size_t>(-1))
+ {
+ // see https://github.com/nlohmann/json/issues/2838
+ JSON_ASSERT(type() == value_t::array);
+ if (JSON_HEDLEY_UNLIKELY(m_value.array->capacity() != old_capacity))
+ {
+ // capacity has changed: update all parents
+ set_parents();
+ return j;
+ }
+ }
+
+ // ordered_json uses a vector internally, so pointers could have
+ // been invalidated; see https://github.com/nlohmann/json/issues/2962
+#ifdef JSON_HEDLEY_MSVC_VERSION
+#pragma warning(push )
+#pragma warning(disable : 4127) // ignore warning to replace if with if constexpr
+#endif
+ if (detail::is_ordered_map<object_t>::value)
+ {
+ set_parents();
+ return j;
+ }
+#ifdef JSON_HEDLEY_MSVC_VERSION
+#pragma warning( pop )
+#endif
+
+ j.m_parent = this;
+#else
+ static_cast<void>(j);
+ static_cast<void>(old_capacity);
+#endif
+ return j;
+ }
+
+ public:
+ //////////////////////////
+ // JSON parser callback //
+ //////////////////////////
+
+ /// @brief parser event types
+ /// @sa https://json.nlohmann.me/api/basic_json/parse_event_t/
+ using parse_event_t = detail::parse_event_t;
+
+ /// @brief per-element parser callback type
+ /// @sa https://json.nlohmann.me/api/basic_json/parser_callback_t/
+ using parser_callback_t = detail::parser_callback_t<basic_json>;
+
+ //////////////////
+ // constructors //
+ //////////////////
+
+ /// @name constructors and destructors
+ /// Constructors of class @ref basic_json, copy/move constructor, copy
+ /// assignment, static functions creating objects, and the destructor.
+ /// @{
+
+ /// @brief create an empty value with a given type
+ /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
+ basic_json(const value_t v)
+ : m_type(v), m_value(v)
+ {
+ assert_invariant();
+ }
+
+ /// @brief create a null object
+ /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
+ basic_json(std::nullptr_t = nullptr) noexcept
+ : basic_json(value_t::null)
+ {
+ assert_invariant();
+ }
+
+ /// @brief create a JSON value from compatible types
+ /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
+ template < typename CompatibleType,
+ typename U = detail::uncvref_t<CompatibleType>,
+ detail::enable_if_t <
+ !detail::is_basic_json<U>::value && detail::is_compatible_type<basic_json_t, U>::value, int > = 0 >
+ basic_json(CompatibleType && val) noexcept(noexcept( // NOLINT(bugprone-forwarding-reference-overload,bugprone-exception-escape)
+ JSONSerializer<U>::to_json(std::declval<basic_json_t&>(),
+ std::forward<CompatibleType>(val))))
+ {
+ JSONSerializer<U>::to_json(*this, std::forward<CompatibleType>(val));
+ set_parents();
+ assert_invariant();
+ }
+
+ /// @brief create a JSON value from an existing one
+ /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
+ template < typename BasicJsonType,
+ detail::enable_if_t <
+ detail::is_basic_json<BasicJsonType>::value&& !std::is_same<basic_json, BasicJsonType>::value, int > = 0 >
+ basic_json(const BasicJsonType& val)
+ {
+ using other_boolean_t = typename BasicJsonType::boolean_t;
+ using other_number_float_t = typename BasicJsonType::number_float_t;
+ using other_number_integer_t = typename BasicJsonType::number_integer_t;
+ using other_number_unsigned_t = typename BasicJsonType::number_unsigned_t;
+ using other_string_t = typename BasicJsonType::string_t;
+ using other_object_t = typename BasicJsonType::object_t;
+ using other_array_t = typename BasicJsonType::array_t;
+ using other_binary_t = typename BasicJsonType::binary_t;
+
+ switch (val.type())
+ {
+ case value_t::boolean:
+ JSONSerializer<other_boolean_t>::to_json(*this, val.template get<other_boolean_t>());
+ break;
+ case value_t::number_float:
+ JSONSerializer<other_number_float_t>::to_json(*this, val.template get<other_number_float_t>());
+ break;
+ case value_t::number_integer:
+ JSONSerializer<other_number_integer_t>::to_json(*this, val.template get<other_number_integer_t>());
+ break;
+ case value_t::number_unsigned:
+ JSONSerializer<other_number_unsigned_t>::to_json(*this, val.template get<other_number_unsigned_t>());
+ break;
+ case value_t::string:
+ JSONSerializer<other_string_t>::to_json(*this, val.template get_ref<const other_string_t&>());
+ break;
+ case value_t::object:
+ JSONSerializer<other_object_t>::to_json(*this, val.template get_ref<const other_object_t&>());
+ break;
+ case value_t::array:
+ JSONSerializer<other_array_t>::to_json(*this, val.template get_ref<const other_array_t&>());
+ break;
+ case value_t::binary:
+ JSONSerializer<other_binary_t>::to_json(*this, val.template get_ref<const other_binary_t&>());
+ break;
+ case value_t::null:
+ *this = nullptr;
+ break;
+ case value_t::discarded:
+ m_type = value_t::discarded;
+ break;
+ default: // LCOV_EXCL_LINE
+ JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
+ }
+ set_parents();
+ assert_invariant();
+ }
+
+ /// @brief create a container (array or object) from an initializer list
+ /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
+ basic_json(initializer_list_t init,
+ bool type_deduction = true,
+ value_t manual_type = value_t::array)
+ {
+ // check if each element is an array with two elements whose first
+ // element is a string
+ bool is_an_object = std::all_of(init.begin(), init.end(),
+ [](const detail::json_ref<basic_json>& element_ref)
+ {
+ return element_ref->is_array() && element_ref->size() == 2 && (*element_ref)[0].is_string();
+ });
+
+ // adjust type if type deduction is not wanted
+ if (!type_deduction)
+ {
+ // if array is wanted, do not create an object though possible
+ if (manual_type == value_t::array)
+ {
+ is_an_object = false;
+ }
+
+ // if object is wanted but impossible, throw an exception
+ if (JSON_HEDLEY_UNLIKELY(manual_type == value_t::object && !is_an_object))
+ {
+ JSON_THROW(type_error::create(301, "cannot create object from initializer list", basic_json()));
+ }
+ }
+
+ if (is_an_object)
+ {
+ // the initializer list is a list of pairs -> create object
+ m_type = value_t::object;
+ m_value = value_t::object;
+
+ for (auto& element_ref : init)
+ {
+ auto element = element_ref.moved_or_copied();
+ m_value.object->emplace(
+ std::move(*((*element.m_value.array)[0].m_value.string)),
+ std::move((*element.m_value.array)[1]));
+ }
+ }
+ else
+ {
+ // the initializer list describes an array -> create array
+ m_type = value_t::array;
+ m_value.array = create<array_t>(init.begin(), init.end());
+ }
+
+ set_parents();
+ assert_invariant();
+ }
+
+ /// @brief explicitly create a binary array (without subtype)
+ /// @sa https://json.nlohmann.me/api/basic_json/binary/
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json binary(const typename binary_t::container_type& init)
+ {
+ auto res = basic_json();
+ res.m_type = value_t::binary;
+ res.m_value = init;
+ return res;
+ }
+
+ /// @brief explicitly create a binary array (with subtype)
+ /// @sa https://json.nlohmann.me/api/basic_json/binary/
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json binary(const typename binary_t::container_type& init, typename binary_t::subtype_type subtype)
+ {
+ auto res = basic_json();
+ res.m_type = value_t::binary;
+ res.m_value = binary_t(init, subtype);
+ return res;
+ }
+
+ /// @brief explicitly create a binary array
+ /// @sa https://json.nlohmann.me/api/basic_json/binary/
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json binary(typename binary_t::container_type&& init)
+ {
+ auto res = basic_json();
+ res.m_type = value_t::binary;
+ res.m_value = std::move(init);
+ return res;
+ }
+
+ /// @brief explicitly create a binary array (with subtype)
+ /// @sa https://json.nlohmann.me/api/basic_json/binary/
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json binary(typename binary_t::container_type&& init, typename binary_t::subtype_type subtype)
+ {
+ auto res = basic_json();
+ res.m_type = value_t::binary;
+ res.m_value = binary_t(std::move(init), subtype);
+ return res;
+ }
+
+ /// @brief explicitly create an array from an initializer list
+ /// @sa https://json.nlohmann.me/api/basic_json/array/
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json array(initializer_list_t init = {})
+ {
+ return basic_json(init, false, value_t::array);
+ }
+
+ /// @brief explicitly create an object from an initializer list
+ /// @sa https://json.nlohmann.me/api/basic_json/object/
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json object(initializer_list_t init = {})
+ {
+ return basic_json(init, false, value_t::object);
+ }
+
+ /// @brief construct an array with count copies of given value
+ /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
+ basic_json(size_type cnt, const basic_json& val)
+ : m_type(value_t::array)
+ {
+ m_value.array = create<array_t>(cnt, val);
+ set_parents();
+ assert_invariant();
+ }
+
+ /// @brief construct a JSON container given an iterator range
+ /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
+ template < class InputIT, typename std::enable_if <
+ std::is_same<InputIT, typename basic_json_t::iterator>::value ||
+ std::is_same<InputIT, typename basic_json_t::const_iterator>::value, int >::type = 0 >
+ basic_json(InputIT first, InputIT last)
+ {
+ JSON_ASSERT(first.m_object != nullptr);
+ JSON_ASSERT(last.m_object != nullptr);
+
+ // make sure iterator fits the current value
+ if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object))
+ {
+ JSON_THROW(invalid_iterator::create(201, "iterators are not compatible", basic_json()));
+ }
+
+ // copy type from first iterator
+ m_type = first.m_object->m_type;
+
+ // check if iterator range is complete for primitive values
+ switch (m_type)
+ {
+ case value_t::boolean:
+ case value_t::number_float:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::string:
+ {
+ if (JSON_HEDLEY_UNLIKELY(!first.m_it.primitive_iterator.is_begin()
+ || !last.m_it.primitive_iterator.is_end()))
+ {
+ JSON_THROW(invalid_iterator::create(204, "iterators out of range", *first.m_object));
+ }
+ break;
+ }
+
+ case value_t::null:
+ case value_t::object:
+ case value_t::array:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ break;
+ }
+
+ switch (m_type)
+ {
+ case value_t::number_integer:
+ {
+ m_value.number_integer = first.m_object->m_value.number_integer;
+ break;
+ }
+
+ case value_t::number_unsigned:
+ {
+ m_value.number_unsigned = first.m_object->m_value.number_unsigned;
+ break;
+ }
+
+ case value_t::number_float:
+ {
+ m_value.number_float = first.m_object->m_value.number_float;
+ break;
+ }
+
+ case value_t::boolean:
+ {
+ m_value.boolean = first.m_object->m_value.boolean;
+ break;
+ }
+
+ case value_t::string:
+ {
+ m_value = *first.m_object->m_value.string;
+ break;
+ }
+
+ case value_t::object:
+ {
+ m_value.object = create<object_t>(first.m_it.object_iterator,
+ last.m_it.object_iterator);
+ break;
+ }
+
+ case value_t::array:
+ {
+ m_value.array = create<array_t>(first.m_it.array_iterator,
+ last.m_it.array_iterator);
+ break;
+ }
+
+ case value_t::binary:
+ {
+ m_value = *first.m_object->m_value.binary;
+ break;
+ }
+
+ case value_t::null:
+ case value_t::discarded:
+ default:
+ JSON_THROW(invalid_iterator::create(206, "cannot construct with iterators from " + std::string(first.m_object->type_name()), *first.m_object));
+ }
+
+ set_parents();
+ assert_invariant();
+ }
+
+
+ ///////////////////////////////////////
+ // other constructors and destructor //
+ ///////////////////////////////////////
+
+ template<typename JsonRef,
+ detail::enable_if_t<detail::conjunction<detail::is_json_ref<JsonRef>,
+ std::is_same<typename JsonRef::value_type, basic_json>>::value, int> = 0 >
+ basic_json(const JsonRef& ref) : basic_json(ref.moved_or_copied()) {}
+
+ /// @brief copy constructor
+ /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
+ basic_json(const basic_json& other)
+ : m_type(other.m_type)
+ {
+ // check of passed value is valid
+ other.assert_invariant();
+
+ switch (m_type)
+ {
+ case value_t::object:
+ {
+ m_value = *other.m_value.object;
+ break;
+ }
+
+ case value_t::array:
+ {
+ m_value = *other.m_value.array;
+ break;
+ }
+
+ case value_t::string:
+ {
+ m_value = *other.m_value.string;
+ break;
+ }
+
+ case value_t::boolean:
+ {
+ m_value = other.m_value.boolean;
+ break;
+ }
+
+ case value_t::number_integer:
+ {
+ m_value = other.m_value.number_integer;
+ break;
+ }
+
+ case value_t::number_unsigned:
+ {
+ m_value = other.m_value.number_unsigned;
+ break;
+ }
+
+ case value_t::number_float:
+ {
+ m_value = other.m_value.number_float;
+ break;
+ }
+
+ case value_t::binary:
+ {
+ m_value = *other.m_value.binary;
+ break;
+ }
+
+ case value_t::null:
+ case value_t::discarded:
+ default:
+ break;
+ }
+
+ set_parents();
+ assert_invariant();
+ }
+
+ /// @brief move constructor
+ /// @sa https://json.nlohmann.me/api/basic_json/basic_json/
+ basic_json(basic_json&& other) noexcept
+ : m_type(std::move(other.m_type)),
+ m_value(std::move(other.m_value))
+ {
+ // check that passed value is valid
+ other.assert_invariant(false);
+
+ // invalidate payload
+ other.m_type = value_t::null;
+ other.m_value = {};
+
+ set_parents();
+ assert_invariant();
+ }
+
+ /// @brief copy assignment
+ /// @sa https://json.nlohmann.me/api/basic_json/operator=/
+ basic_json& operator=(basic_json other) noexcept (
+ std::is_nothrow_move_constructible<value_t>::value&&
+ std::is_nothrow_move_assignable<value_t>::value&&
+ std::is_nothrow_move_constructible<json_value>::value&&
+ std::is_nothrow_move_assignable<json_value>::value
+ )
+ {
+ // check that passed value is valid
+ other.assert_invariant();
+
+ using std::swap;
+ swap(m_type, other.m_type);
+ swap(m_value, other.m_value);
+
+ set_parents();
+ assert_invariant();
+ return *this;
+ }
+
+ /// @brief destructor
+ /// @sa https://json.nlohmann.me/api/basic_json/~basic_json/
+ ~basic_json() noexcept
+ {
+ assert_invariant(false);
+ m_value.destroy(m_type);
+ }
+
+ /// @}
+
+ public:
+ ///////////////////////
+ // object inspection //
+ ///////////////////////
+
+ /// @name object inspection
+ /// Functions to inspect the type of a JSON value.
+ /// @{
+
+ /// @brief serialization
+ /// @sa https://json.nlohmann.me/api/basic_json/dump/
+ string_t dump(const int indent = -1,
+ const char indent_char = ' ',
+ const bool ensure_ascii = false,
+ const error_handler_t error_handler = error_handler_t::strict) const
+ {
+ string_t result;
+ serializer s(detail::output_adapter<char, string_t>(result), indent_char, error_handler);
+
+ if (indent >= 0)
+ {
+ s.dump(*this, true, ensure_ascii, static_cast<unsigned int>(indent));
+ }
+ else
+ {
+ s.dump(*this, false, ensure_ascii, 0);
+ }
+
+ return result;
+ }
+
+ /// @brief return the type of the JSON value (explicit)
+ /// @sa https://json.nlohmann.me/api/basic_json/type/
+ constexpr value_t type() const noexcept
+ {
+ return m_type;
+ }
+
+ /// @brief return whether type is primitive
+ /// @sa https://json.nlohmann.me/api/basic_json/is_primitive/
+ constexpr bool is_primitive() const noexcept
+ {
+ return is_null() || is_string() || is_boolean() || is_number() || is_binary();
+ }
+
+ /// @brief return whether type is structured
+ /// @sa https://json.nlohmann.me/api/basic_json/is_structured/
+ constexpr bool is_structured() const noexcept
+ {
+ return is_array() || is_object();
+ }
+
+ /// @brief return whether value is null
+ /// @sa https://json.nlohmann.me/api/basic_json/is_null/
+ constexpr bool is_null() const noexcept
+ {
+ return m_type == value_t::null;
+ }
+
+ /// @brief return whether value is a boolean
+ /// @sa https://json.nlohmann.me/api/basic_json/is_boolean/
+ constexpr bool is_boolean() const noexcept
+ {
+ return m_type == value_t::boolean;
+ }
+
+ /// @brief return whether value is a number
+ /// @sa https://json.nlohmann.me/api/basic_json/is_number/
+ constexpr bool is_number() const noexcept
+ {
+ return is_number_integer() || is_number_float();
+ }
+
+ /// @brief return whether value is an integer number
+ /// @sa https://json.nlohmann.me/api/basic_json/is_number_integer/
+ constexpr bool is_number_integer() const noexcept
+ {
+ return m_type == value_t::number_integer || m_type == value_t::number_unsigned;
+ }
+
+ /// @brief return whether value is an unsigned integer number
+ /// @sa https://json.nlohmann.me/api/basic_json/is_number_unsigned/
+ constexpr bool is_number_unsigned() const noexcept
+ {
+ return m_type == value_t::number_unsigned;
+ }
+
+ /// @brief return whether value is a floating-point number
+ /// @sa https://json.nlohmann.me/api/basic_json/is_number_float/
+ constexpr bool is_number_float() const noexcept
+ {
+ return m_type == value_t::number_float;
+ }
+
+ /// @brief return whether value is an object
+ /// @sa https://json.nlohmann.me/api/basic_json/is_object/
+ constexpr bool is_object() const noexcept
+ {
+ return m_type == value_t::object;
+ }
+
+ /// @brief return whether value is an array
+ /// @sa https://json.nlohmann.me/api/basic_json/is_array/
+ constexpr bool is_array() const noexcept
+ {
+ return m_type == value_t::array;
+ }
+
+ /// @brief return whether value is a string
+ /// @sa https://json.nlohmann.me/api/basic_json/is_string/
+ constexpr bool is_string() const noexcept
+ {
+ return m_type == value_t::string;
+ }
+
+ /// @brief return whether value is a binary array
+ /// @sa https://json.nlohmann.me/api/basic_json/is_binary/
+ constexpr bool is_binary() const noexcept
+ {
+ return m_type == value_t::binary;
+ }
+
+ /// @brief return whether value is discarded
+ /// @sa https://json.nlohmann.me/api/basic_json/is_discarded/
+ constexpr bool is_discarded() const noexcept
+ {
+ return m_type == value_t::discarded;
+ }
+
+ /// @brief return the type of the JSON value (implicit)
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_value_t/
+ constexpr operator value_t() const noexcept
+ {
+ return m_type;
+ }
+
+ /// @}
+
+ private:
+ //////////////////
+ // value access //
+ //////////////////
+
+ /// get a boolean (explicit)
+ boolean_t get_impl(boolean_t* /*unused*/) const
+ {
+ if (JSON_HEDLEY_LIKELY(is_boolean()))
+ {
+ return m_value.boolean;
+ }
+
+ JSON_THROW(type_error::create(302, "type must be boolean, but is " + std::string(type_name()), *this));
+ }
+
+ /// get a pointer to the value (object)
+ object_t* get_impl_ptr(object_t* /*unused*/) noexcept
+ {
+ return is_object() ? m_value.object : nullptr;
+ }
+
+ /// get a pointer to the value (object)
+ constexpr const object_t* get_impl_ptr(const object_t* /*unused*/) const noexcept
+ {
+ return is_object() ? m_value.object : nullptr;
+ }
+
+ /// get a pointer to the value (array)
+ array_t* get_impl_ptr(array_t* /*unused*/) noexcept
+ {
+ return is_array() ? m_value.array : nullptr;
+ }
+
+ /// get a pointer to the value (array)
+ constexpr const array_t* get_impl_ptr(const array_t* /*unused*/) const noexcept
+ {
+ return is_array() ? m_value.array : nullptr;
+ }
+
+ /// get a pointer to the value (string)
+ string_t* get_impl_ptr(string_t* /*unused*/) noexcept
+ {
+ return is_string() ? m_value.string : nullptr;
+ }
+
+ /// get a pointer to the value (string)
+ constexpr const string_t* get_impl_ptr(const string_t* /*unused*/) const noexcept
+ {
+ return is_string() ? m_value.string : nullptr;
+ }
+
+ /// get a pointer to the value (boolean)
+ boolean_t* get_impl_ptr(boolean_t* /*unused*/) noexcept
+ {
+ return is_boolean() ? &m_value.boolean : nullptr;
+ }
+
+ /// get a pointer to the value (boolean)
+ constexpr const boolean_t* get_impl_ptr(const boolean_t* /*unused*/) const noexcept
+ {
+ return is_boolean() ? &m_value.boolean : nullptr;
+ }
+
+ /// get a pointer to the value (integer number)
+ number_integer_t* get_impl_ptr(number_integer_t* /*unused*/) noexcept
+ {
+ return is_number_integer() ? &m_value.number_integer : nullptr;
+ }
+
+ /// get a pointer to the value (integer number)
+ constexpr const number_integer_t* get_impl_ptr(const number_integer_t* /*unused*/) const noexcept
+ {
+ return is_number_integer() ? &m_value.number_integer : nullptr;
+ }
+
+ /// get a pointer to the value (unsigned number)
+ number_unsigned_t* get_impl_ptr(number_unsigned_t* /*unused*/) noexcept
+ {
+ return is_number_unsigned() ? &m_value.number_unsigned : nullptr;
+ }
+
+ /// get a pointer to the value (unsigned number)
+ constexpr const number_unsigned_t* get_impl_ptr(const number_unsigned_t* /*unused*/) const noexcept
+ {
+ return is_number_unsigned() ? &m_value.number_unsigned : nullptr;
+ }
+
+ /// get a pointer to the value (floating-point number)
+ number_float_t* get_impl_ptr(number_float_t* /*unused*/) noexcept
+ {
+ return is_number_float() ? &m_value.number_float : nullptr;
+ }
+
+ /// get a pointer to the value (floating-point number)
+ constexpr const number_float_t* get_impl_ptr(const number_float_t* /*unused*/) const noexcept
+ {
+ return is_number_float() ? &m_value.number_float : nullptr;
+ }
+
+ /// get a pointer to the value (binary)
+ binary_t* get_impl_ptr(binary_t* /*unused*/) noexcept
+ {
+ return is_binary() ? m_value.binary : nullptr;
+ }
+
+ /// get a pointer to the value (binary)
+ constexpr const binary_t* get_impl_ptr(const binary_t* /*unused*/) const noexcept
+ {
+ return is_binary() ? m_value.binary : nullptr;
+ }
+
+ /*!
+ @brief helper function to implement get_ref()
+
+ This function helps to implement get_ref() without code duplication for
+ const and non-const overloads
+
+ @tparam ThisType will be deduced as `basic_json` or `const basic_json`
+
+ @throw type_error.303 if ReferenceType does not match underlying value
+ type of the current JSON
+ */
+ template<typename ReferenceType, typename ThisType>
+ static ReferenceType get_ref_impl(ThisType& obj)
+ {
+ // delegate the call to get_ptr<>()
+ auto* ptr = obj.template get_ptr<typename std::add_pointer<ReferenceType>::type>();
+
+ if (JSON_HEDLEY_LIKELY(ptr != nullptr))
+ {
+ return *ptr;
+ }
+
+ JSON_THROW(type_error::create(303, "incompatible ReferenceType for get_ref, actual type is " + std::string(obj.type_name()), obj));
+ }
+
+ public:
+ /// @name value access
+ /// Direct access to the stored value of a JSON value.
+ /// @{
+
+ /// @brief get a pointer value (implicit)
+ /// @sa https://json.nlohmann.me/api/basic_json/get_ptr/
+ template<typename PointerType, typename std::enable_if<
+ std::is_pointer<PointerType>::value, int>::type = 0>
+ auto get_ptr() noexcept -> decltype(std::declval<basic_json_t&>().get_impl_ptr(std::declval<PointerType>()))
+ {
+ // delegate the call to get_impl_ptr<>()
+ return get_impl_ptr(static_cast<PointerType>(nullptr));
+ }
+
+ /// @brief get a pointer value (implicit)
+ /// @sa https://json.nlohmann.me/api/basic_json/get_ptr/
+ template < typename PointerType, typename std::enable_if <
+ std::is_pointer<PointerType>::value&&
+ std::is_const<typename std::remove_pointer<PointerType>::type>::value, int >::type = 0 >
+ constexpr auto get_ptr() const noexcept -> decltype(std::declval<const basic_json_t&>().get_impl_ptr(std::declval<PointerType>()))
+ {
+ // delegate the call to get_impl_ptr<>() const
+ return get_impl_ptr(static_cast<PointerType>(nullptr));
+ }
+
+ private:
+ /*!
+ @brief get a value (explicit)
+
+ Explicit type conversion between the JSON value and a compatible value
+ which is [CopyConstructible](https://en.cppreference.com/w/cpp/named_req/CopyConstructible)
+ and [DefaultConstructible](https://en.cppreference.com/w/cpp/named_req/DefaultConstructible).
+ The value is converted by calling the @ref json_serializer<ValueType>
+ `from_json()` method.
+
+ The function is equivalent to executing
+ @code {.cpp}
+ ValueType ret;
+ JSONSerializer<ValueType>::from_json(*this, ret);
+ return ret;
+ @endcode
+
+ This overloads is chosen if:
+ - @a ValueType is not @ref basic_json,
+ - @ref json_serializer<ValueType> has a `from_json()` method of the form
+ `void from_json(const basic_json&, ValueType&)`, and
+ - @ref json_serializer<ValueType> does not have a `from_json()` method of
+ the form `ValueType from_json(const basic_json&)`
+
+ @tparam ValueType the returned value type
+
+ @return copy of the JSON value, converted to @a ValueType
+
+ @throw what @ref json_serializer<ValueType> `from_json()` method throws
+
+ @liveexample{The example below shows several conversions from JSON values
+ to other types. There a few things to note: (1) Floating-point numbers can
+ be converted to integers\, (2) A JSON array can be converted to a standard
+ `std::vector<short>`\, (3) A JSON object can be converted to C++
+ associative containers such as `std::unordered_map<std::string\,
+ json>`.,get__ValueType_const}
+
+ @since version 2.1.0
+ */
+ template < typename ValueType,
+ detail::enable_if_t <
+ detail::is_default_constructible<ValueType>::value&&
+ detail::has_from_json<basic_json_t, ValueType>::value,
+ int > = 0 >
+ ValueType get_impl(detail::priority_tag<0> /*unused*/) const noexcept(noexcept(
+ JSONSerializer<ValueType>::from_json(std::declval<const basic_json_t&>(), std::declval<ValueType&>())))
+ {
+ auto ret = ValueType();
+ JSONSerializer<ValueType>::from_json(*this, ret);
+ return ret;
+ }
+
+ /*!
+ @brief get a value (explicit); special case
+
+ Explicit type conversion between the JSON value and a compatible value
+ which is **not** [CopyConstructible](https://en.cppreference.com/w/cpp/named_req/CopyConstructible)
+ and **not** [DefaultConstructible](https://en.cppreference.com/w/cpp/named_req/DefaultConstructible).
+ The value is converted by calling the @ref json_serializer<ValueType>
+ `from_json()` method.
+
+ The function is equivalent to executing
+ @code {.cpp}
+ return JSONSerializer<ValueType>::from_json(*this);
+ @endcode
+
+ This overloads is chosen if:
+ - @a ValueType is not @ref basic_json and
+ - @ref json_serializer<ValueType> has a `from_json()` method of the form
+ `ValueType from_json(const basic_json&)`
+
+ @note If @ref json_serializer<ValueType> has both overloads of
+ `from_json()`, this one is chosen.
+
+ @tparam ValueType the returned value type
+
+ @return copy of the JSON value, converted to @a ValueType
+
+ @throw what @ref json_serializer<ValueType> `from_json()` method throws
+
+ @since version 2.1.0
+ */
+ template < typename ValueType,
+ detail::enable_if_t <
+ detail::has_non_default_from_json<basic_json_t, ValueType>::value,
+ int > = 0 >
+ ValueType get_impl(detail::priority_tag<1> /*unused*/) const noexcept(noexcept(
+ JSONSerializer<ValueType>::from_json(std::declval<const basic_json_t&>())))
+ {
+ return JSONSerializer<ValueType>::from_json(*this);
+ }
+
+ /*!
+ @brief get special-case overload
+
+ This overloads converts the current @ref basic_json in a different
+ @ref basic_json type
+
+ @tparam BasicJsonType == @ref basic_json
+
+ @return a copy of *this, converted into @a BasicJsonType
+
+ @complexity Depending on the implementation of the called `from_json()`
+ method.
+
+ @since version 3.2.0
+ */
+ template < typename BasicJsonType,
+ detail::enable_if_t <
+ detail::is_basic_json<BasicJsonType>::value,
+ int > = 0 >
+ BasicJsonType get_impl(detail::priority_tag<2> /*unused*/) const
+ {
+ return *this;
+ }
+
+ /*!
+ @brief get special-case overload
+
+ This overloads avoids a lot of template boilerplate, it can be seen as the
+ identity method
+
+ @tparam BasicJsonType == @ref basic_json
+
+ @return a copy of *this
+
+ @complexity Constant.
+
+ @since version 2.1.0
+ */
+ template<typename BasicJsonType,
+ detail::enable_if_t<
+ std::is_same<BasicJsonType, basic_json_t>::value,
+ int> = 0>
+ basic_json get_impl(detail::priority_tag<3> /*unused*/) const
+ {
+ return *this;
+ }
+
+ /*!
+ @brief get a pointer value (explicit)
+ @copydoc get()
+ */
+ template<typename PointerType,
+ detail::enable_if_t<
+ std::is_pointer<PointerType>::value,
+ int> = 0>
+ constexpr auto get_impl(detail::priority_tag<4> /*unused*/) const noexcept
+ -> decltype(std::declval<const basic_json_t&>().template get_ptr<PointerType>())
+ {
+ // delegate the call to get_ptr
+ return get_ptr<PointerType>();
+ }
+
+ public:
+ /*!
+ @brief get a (pointer) value (explicit)
+
+ Performs explicit type conversion between the JSON value and a compatible value if required.
+
+ - If the requested type is a pointer to the internally stored JSON value that pointer is returned.
+ No copies are made.
+
+ - If the requested type is the current @ref basic_json, or a different @ref basic_json convertible
+ from the current @ref basic_json.
+
+ - Otherwise the value is converted by calling the @ref json_serializer<ValueType> `from_json()`
+ method.
+
+ @tparam ValueTypeCV the provided value type
+ @tparam ValueType the returned value type
+
+ @return copy of the JSON value, converted to @tparam ValueType if necessary
+
+ @throw what @ref json_serializer<ValueType> `from_json()` method throws if conversion is required
+
+ @since version 2.1.0
+ */
+ template < typename ValueTypeCV, typename ValueType = detail::uncvref_t<ValueTypeCV>>
+#if defined(JSON_HAS_CPP_14)
+ constexpr
+#endif
+ auto get() const noexcept(
+ noexcept(std::declval<const basic_json_t&>().template get_impl<ValueType>(detail::priority_tag<4> {})))
+ -> decltype(std::declval<const basic_json_t&>().template get_impl<ValueType>(detail::priority_tag<4> {}))
+ {
+ // we cannot static_assert on ValueTypeCV being non-const, because
+ // there is support for get<const basic_json_t>(), which is why we
+ // still need the uncvref
+ static_assert(!std::is_reference<ValueTypeCV>::value,
+ "get() cannot be used with reference types, you might want to use get_ref()");
+ return get_impl<ValueType>(detail::priority_tag<4> {});
+ }
+
+ /*!
+ @brief get a pointer value (explicit)
+
+ Explicit pointer access to the internally stored JSON value. No copies are
+ made.
+
+ @warning The pointer becomes invalid if the underlying JSON object
+ changes.
+
+ @tparam PointerType pointer type; must be a pointer to @ref array_t, @ref
+ object_t, @ref string_t, @ref boolean_t, @ref number_integer_t,
+ @ref number_unsigned_t, or @ref number_float_t.
+
+ @return pointer to the internally stored JSON value if the requested
+ pointer type @a PointerType fits to the JSON value; `nullptr` otherwise
+
+ @complexity Constant.
+
+ @liveexample{The example below shows how pointers to internal values of a
+ JSON value can be requested. Note that no type conversions are made and a
+ `nullptr` is returned if the value and the requested pointer type does not
+ match.,get__PointerType}
+
+ @sa see @ref get_ptr() for explicit pointer-member access
+
+ @since version 1.0.0
+ */
+ template<typename PointerType, typename std::enable_if<
+ std::is_pointer<PointerType>::value, int>::type = 0>
+ auto get() noexcept -> decltype(std::declval<basic_json_t&>().template get_ptr<PointerType>())
+ {
+ // delegate the call to get_ptr
+ return get_ptr<PointerType>();
+ }
+
+ /// @brief get a value (explicit)
+ /// @sa https://json.nlohmann.me/api/basic_json/get_to/
+ template < typename ValueType,
+ detail::enable_if_t <
+ !detail::is_basic_json<ValueType>::value&&
+ detail::has_from_json<basic_json_t, ValueType>::value,
+ int > = 0 >
+ ValueType & get_to(ValueType& v) const noexcept(noexcept(
+ JSONSerializer<ValueType>::from_json(std::declval<const basic_json_t&>(), v)))
+ {
+ JSONSerializer<ValueType>::from_json(*this, v);
+ return v;
+ }
+
+ // specialization to allow calling get_to with a basic_json value
+ // see https://github.com/nlohmann/json/issues/2175
+ template<typename ValueType,
+ detail::enable_if_t <
+ detail::is_basic_json<ValueType>::value,
+ int> = 0>
+ ValueType & get_to(ValueType& v) const
+ {
+ v = *this;
+ return v;
+ }
+
+ template <
+ typename T, std::size_t N,
+ typename Array = T (&)[N], // NOLINT(cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays)
+ detail::enable_if_t <
+ detail::has_from_json<basic_json_t, Array>::value, int > = 0 >
+ Array get_to(T (&v)[N]) const // NOLINT(cppcoreguidelines-avoid-c-arrays,hicpp-avoid-c-arrays,modernize-avoid-c-arrays)
+ noexcept(noexcept(JSONSerializer<Array>::from_json(
+ std::declval<const basic_json_t&>(), v)))
+ {
+ JSONSerializer<Array>::from_json(*this, v);
+ return v;
+ }
+
+ /// @brief get a reference value (implicit)
+ /// @sa https://json.nlohmann.me/api/basic_json/get_ref/
+ template<typename ReferenceType, typename std::enable_if<
+ std::is_reference<ReferenceType>::value, int>::type = 0>
+ ReferenceType get_ref()
+ {
+ // delegate call to get_ref_impl
+ return get_ref_impl<ReferenceType>(*this);
+ }
+
+ /// @brief get a reference value (implicit)
+ /// @sa https://json.nlohmann.me/api/basic_json/get_ref/
+ template < typename ReferenceType, typename std::enable_if <
+ std::is_reference<ReferenceType>::value&&
+ std::is_const<typename std::remove_reference<ReferenceType>::type>::value, int >::type = 0 >
+ ReferenceType get_ref() const
+ {
+ // delegate call to get_ref_impl
+ return get_ref_impl<ReferenceType>(*this);
+ }
+
+ /*!
+ @brief get a value (implicit)
+
+ Implicit type conversion between the JSON value and a compatible value.
+ The call is realized by calling @ref get() const.
+
+ @tparam ValueType non-pointer type compatible to the JSON value, for
+ instance `int` for JSON integer numbers, `bool` for JSON booleans, or
+ `std::vector` types for JSON arrays. The character type of @ref string_t
+ as well as an initializer list of this type is excluded to avoid
+ ambiguities as these types implicitly convert to `std::string`.
+
+ @return copy of the JSON value, converted to type @a ValueType
+
+ @throw type_error.302 in case passed type @a ValueType is incompatible
+ to the JSON value type (e.g., the JSON value is of type boolean, but a
+ string is requested); see example below
+
+ @complexity Linear in the size of the JSON value.
+
+ @liveexample{The example below shows several conversions from JSON values
+ to other types. There a few things to note: (1) Floating-point numbers can
+ be converted to integers\, (2) A JSON array can be converted to a standard
+ `std::vector<short>`\, (3) A JSON object can be converted to C++
+ associative containers such as `std::unordered_map<std::string\,
+ json>`.,operator__ValueType}
+
+ @since version 1.0.0
+ */
+ template < typename ValueType, typename std::enable_if <
+ detail::conjunction <
+ detail::negation<std::is_pointer<ValueType>>,
+ detail::negation<std::is_same<ValueType, detail::json_ref<basic_json>>>,
+ detail::negation<std::is_same<ValueType, typename string_t::value_type>>,
+ detail::negation<detail::is_basic_json<ValueType>>,
+ detail::negation<std::is_same<ValueType, std::initializer_list<typename string_t::value_type>>>,
+
+#if defined(JSON_HAS_CPP_17) && (defined(__GNUC__) || (defined(_MSC_VER) && _MSC_VER >= 1910 && _MSC_VER <= 1914))
+ detail::negation<std::is_same<ValueType, std::string_view>>,
+#endif
+ detail::is_detected_lazy<detail::get_template_function, const basic_json_t&, ValueType>
+ >::value, int >::type = 0 >
+ JSON_EXPLICIT operator ValueType() const
+ {
+ // delegate the call to get<>() const
+ return get<ValueType>();
+ }
+
+ /// @brief get a binary value
+ /// @sa https://json.nlohmann.me/api/basic_json/get_binary/
+ binary_t& get_binary()
+ {
+ if (!is_binary())
+ {
+ JSON_THROW(type_error::create(302, "type must be binary, but is " + std::string(type_name()), *this));
+ }
+
+ return *get_ptr<binary_t*>();
+ }
+
+ /// @brief get a binary value
+ /// @sa https://json.nlohmann.me/api/basic_json/get_binary/
+ const binary_t& get_binary() const
+ {
+ if (!is_binary())
+ {
+ JSON_THROW(type_error::create(302, "type must be binary, but is " + std::string(type_name()), *this));
+ }
+
+ return *get_ptr<const binary_t*>();
+ }
+
+ /// @}
+
+
+ ////////////////////
+ // element access //
+ ////////////////////
+
+ /// @name element access
+ /// Access to the JSON value.
+ /// @{
+
+ /// @brief access specified array element with bounds checking
+ /// @sa https://json.nlohmann.me/api/basic_json/at/
+ reference at(size_type idx)
+ {
+ // at only works for arrays
+ if (JSON_HEDLEY_LIKELY(is_array()))
+ {
+ JSON_TRY
+ {
+ return set_parent(m_value.array->at(idx));
+ }
+ JSON_CATCH (std::out_of_range&)
+ {
+ // create better exception explanation
+ JSON_THROW(out_of_range::create(401, "array index " + std::to_string(idx) + " is out of range", *this));
+ }
+ }
+ else
+ {
+ JSON_THROW(type_error::create(304, "cannot use at() with " + std::string(type_name()), *this));
+ }
+ }
+
+ /// @brief access specified array element with bounds checking
+ /// @sa https://json.nlohmann.me/api/basic_json/at/
+ const_reference at(size_type idx) const
+ {
+ // at only works for arrays
+ if (JSON_HEDLEY_LIKELY(is_array()))
+ {
+ JSON_TRY
+ {
+ return m_value.array->at(idx);
+ }
+ JSON_CATCH (std::out_of_range&)
+ {
+ // create better exception explanation
+ JSON_THROW(out_of_range::create(401, "array index " + std::to_string(idx) + " is out of range", *this));
+ }
+ }
+ else
+ {
+ JSON_THROW(type_error::create(304, "cannot use at() with " + std::string(type_name()), *this));
+ }
+ }
+
+ /// @brief access specified object element with bounds checking
+ /// @sa https://json.nlohmann.me/api/basic_json/at/
+ reference at(const typename object_t::key_type& key)
+ {
+ // at only works for objects
+ if (JSON_HEDLEY_LIKELY(is_object()))
+ {
+ JSON_TRY
+ {
+ return set_parent(m_value.object->at(key));
+ }
+ JSON_CATCH (std::out_of_range&)
+ {
+ // create better exception explanation
+ JSON_THROW(out_of_range::create(403, "key '" + key + "' not found", *this));
+ }
+ }
+ else
+ {
+ JSON_THROW(type_error::create(304, "cannot use at() with " + std::string(type_name()), *this));
+ }
+ }
+
+ /// @brief access specified object element with bounds checking
+ /// @sa https://json.nlohmann.me/api/basic_json/at/
+ const_reference at(const typename object_t::key_type& key) const
+ {
+ // at only works for objects
+ if (JSON_HEDLEY_LIKELY(is_object()))
+ {
+ JSON_TRY
+ {
+ return m_value.object->at(key);
+ }
+ JSON_CATCH (std::out_of_range&)
+ {
+ // create better exception explanation
+ JSON_THROW(out_of_range::create(403, "key '" + key + "' not found", *this));
+ }
+ }
+ else
+ {
+ JSON_THROW(type_error::create(304, "cannot use at() with " + std::string(type_name()), *this));
+ }
+ }
+
+ /// @brief access specified array element
+ /// @sa https://json.nlohmann.me/api/basic_json/operator%5B%5D/
+ reference operator[](size_type idx)
+ {
+ // implicitly convert null value to an empty array
+ if (is_null())
+ {
+ m_type = value_t::array;
+ m_value.array = create<array_t>();
+ assert_invariant();
+ }
+
+ // operator[] only works for arrays
+ if (JSON_HEDLEY_LIKELY(is_array()))
+ {
+ // fill up array with null values if given idx is outside range
+ if (idx >= m_value.array->size())
+ {
+#if JSON_DIAGNOSTICS
+ // remember array size & capacity before resizing
+ const auto old_size = m_value.array->size();
+ const auto old_capacity = m_value.array->capacity();
+#endif
+ m_value.array->resize(idx + 1);
+
+#if JSON_DIAGNOSTICS
+ if (JSON_HEDLEY_UNLIKELY(m_value.array->capacity() != old_capacity))
+ {
+ // capacity has changed: update all parents
+ set_parents();
+ }
+ else
+ {
+ // set parent for values added above
+ set_parents(begin() + static_cast<typename iterator::difference_type>(old_size), static_cast<typename iterator::difference_type>(idx + 1 - old_size));
+ }
+#endif
+ assert_invariant();
+ }
+
+ return m_value.array->operator[](idx);
+ }
+
+ JSON_THROW(type_error::create(305, "cannot use operator[] with a numeric argument with " + std::string(type_name()), *this));
+ }
+
+ /// @brief access specified array element
+ /// @sa https://json.nlohmann.me/api/basic_json/operator%5B%5D/
+ const_reference operator[](size_type idx) const
+ {
+ // const operator[] only works for arrays
+ if (JSON_HEDLEY_LIKELY(is_array()))
+ {
+ return m_value.array->operator[](idx);
+ }
+
+ JSON_THROW(type_error::create(305, "cannot use operator[] with a numeric argument with " + std::string(type_name()), *this));
+ }
+
+ /// @brief access specified object element
+ /// @sa https://json.nlohmann.me/api/basic_json/operator%5B%5D/
+ reference operator[](const typename object_t::key_type& key)
+ {
+ // implicitly convert null value to an empty object
+ if (is_null())
+ {
+ m_type = value_t::object;
+ m_value.object = create<object_t>();
+ assert_invariant();
+ }
+
+ // operator[] only works for objects
+ if (JSON_HEDLEY_LIKELY(is_object()))
+ {
+ return set_parent(m_value.object->operator[](key));
+ }
+
+ JSON_THROW(type_error::create(305, "cannot use operator[] with a string argument with " + std::string(type_name()), *this));
+ }
+
+ /// @brief access specified object element
+ /// @sa https://json.nlohmann.me/api/basic_json/operator%5B%5D/
+ const_reference operator[](const typename object_t::key_type& key) const
+ {
+ // const operator[] only works for objects
+ if (JSON_HEDLEY_LIKELY(is_object()))
+ {
+ JSON_ASSERT(m_value.object->find(key) != m_value.object->end());
+ return m_value.object->find(key)->second;
+ }
+
+ JSON_THROW(type_error::create(305, "cannot use operator[] with a string argument with " + std::string(type_name()), *this));
+ }
+
+ /// @brief access specified object element
+ /// @sa https://json.nlohmann.me/api/basic_json/operator%5B%5D/
+ template<typename T>
+ JSON_HEDLEY_NON_NULL(2)
+ reference operator[](T* key)
+ {
+ // implicitly convert null to object
+ if (is_null())
+ {
+ m_type = value_t::object;
+ m_value = value_t::object;
+ assert_invariant();
+ }
+
+ // at only works for objects
+ if (JSON_HEDLEY_LIKELY(is_object()))
+ {
+ return set_parent(m_value.object->operator[](key));
+ }
+
+ JSON_THROW(type_error::create(305, "cannot use operator[] with a string argument with " + std::string(type_name()), *this));
+ }
+
+ /// @brief access specified object element
+ /// @sa https://json.nlohmann.me/api/basic_json/operator%5B%5D/
+ template<typename T>
+ JSON_HEDLEY_NON_NULL(2)
+ const_reference operator[](T* key) const
+ {
+ // at only works for objects
+ if (JSON_HEDLEY_LIKELY(is_object()))
+ {
+ JSON_ASSERT(m_value.object->find(key) != m_value.object->end());
+ return m_value.object->find(key)->second;
+ }
+
+ JSON_THROW(type_error::create(305, "cannot use operator[] with a string argument with " + std::string(type_name()), *this));
+ }
+
+ /// @brief access specified object element with default value
+ /// @sa https://json.nlohmann.me/api/basic_json/value/
+ /// using std::is_convertible in a std::enable_if will fail when using explicit conversions
+ template < class ValueType, typename std::enable_if <
+ detail::is_getable<basic_json_t, ValueType>::value
+ && !std::is_same<value_t, ValueType>::value, int >::type = 0 >
+ ValueType value(const typename object_t::key_type& key, const ValueType& default_value) const
+ {
+ // at only works for objects
+ if (JSON_HEDLEY_LIKELY(is_object()))
+ {
+ // if key is found, return value and given default value otherwise
+ const auto it = find(key);
+ if (it != end())
+ {
+ return it->template get<ValueType>();
+ }
+
+ return default_value;
+ }
+
+ JSON_THROW(type_error::create(306, "cannot use value() with " + std::string(type_name()), *this));
+ }
+
+ /// @brief access specified object element with default value
+ /// @sa https://json.nlohmann.me/api/basic_json/value/
+ /// overload for a default value of type const char*
+ string_t value(const typename object_t::key_type& key, const char* default_value) const
+ {
+ return value(key, string_t(default_value));
+ }
+
+ /// @brief access specified object element via JSON Pointer with default value
+ /// @sa https://json.nlohmann.me/api/basic_json/value/
+ template<class ValueType, typename std::enable_if<
+ detail::is_getable<basic_json_t, ValueType>::value, int>::type = 0>
+ ValueType value(const json_pointer& ptr, const ValueType& default_value) const
+ {
+ // at only works for objects
+ if (JSON_HEDLEY_LIKELY(is_object()))
+ {
+ // if pointer resolves a value, return it or use default value
+ JSON_TRY
+ {
+ return ptr.get_checked(this).template get<ValueType>();
+ }
+ JSON_INTERNAL_CATCH (out_of_range&)
+ {
+ return default_value;
+ }
+ }
+
+ JSON_THROW(type_error::create(306, "cannot use value() with " + std::string(type_name()), *this));
+ }
+
+ /// @brief access specified object element via JSON Pointer with default value
+ /// @sa https://json.nlohmann.me/api/basic_json/value/
+ /// overload for a default value of type const char*
+ JSON_HEDLEY_NON_NULL(3)
+ string_t value(const json_pointer& ptr, const char* default_value) const
+ {
+ return value(ptr, string_t(default_value));
+ }
+
+ /// @brief access the first element
+ /// @sa https://json.nlohmann.me/api/basic_json/front/
+ reference front()
+ {
+ return *begin();
+ }
+
+ /// @brief access the first element
+ /// @sa https://json.nlohmann.me/api/basic_json/front/
+ const_reference front() const
+ {
+ return *cbegin();
+ }
+
+ /// @brief access the last element
+ /// @sa https://json.nlohmann.me/api/basic_json/back/
+ reference back()
+ {
+ auto tmp = end();
+ --tmp;
+ return *tmp;
+ }
+
+ /// @brief access the last element
+ /// @sa https://json.nlohmann.me/api/basic_json/back/
+ const_reference back() const
+ {
+ auto tmp = cend();
+ --tmp;
+ return *tmp;
+ }
+
+ /// @brief remove element given an iterator
+ /// @sa https://json.nlohmann.me/api/basic_json/erase/
+ template < class IteratorType, typename std::enable_if <
+ std::is_same<IteratorType, typename basic_json_t::iterator>::value ||
+ std::is_same<IteratorType, typename basic_json_t::const_iterator>::value, int >::type
+ = 0 >
+ IteratorType erase(IteratorType pos)
+ {
+ // make sure iterator fits the current value
+ if (JSON_HEDLEY_UNLIKELY(this != pos.m_object))
+ {
+ JSON_THROW(invalid_iterator::create(202, "iterator does not fit current value", *this));
+ }
+
+ IteratorType result = end();
+
+ switch (m_type)
+ {
+ case value_t::boolean:
+ case value_t::number_float:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::string:
+ case value_t::binary:
+ {
+ if (JSON_HEDLEY_UNLIKELY(!pos.m_it.primitive_iterator.is_begin()))
+ {
+ JSON_THROW(invalid_iterator::create(205, "iterator out of range", *this));
+ }
+
+ if (is_string())
+ {
+ AllocatorType<string_t> alloc;
+ std::allocator_traits<decltype(alloc)>::destroy(alloc, m_value.string);
+ std::allocator_traits<decltype(alloc)>::deallocate(alloc, m_value.string, 1);
+ m_value.string = nullptr;
+ }
+ else if (is_binary())
+ {
+ AllocatorType<binary_t> alloc;
+ std::allocator_traits<decltype(alloc)>::destroy(alloc, m_value.binary);
+ std::allocator_traits<decltype(alloc)>::deallocate(alloc, m_value.binary, 1);
+ m_value.binary = nullptr;
+ }
+
+ m_type = value_t::null;
+ assert_invariant();
+ break;
+ }
+
+ case value_t::object:
+ {
+ result.m_it.object_iterator = m_value.object->erase(pos.m_it.object_iterator);
+ break;
+ }
+
+ case value_t::array:
+ {
+ result.m_it.array_iterator = m_value.array->erase(pos.m_it.array_iterator);
+ break;
+ }
+
+ case value_t::null:
+ case value_t::discarded:
+ default:
+ JSON_THROW(type_error::create(307, "cannot use erase() with " + std::string(type_name()), *this));
+ }
+
+ return result;
+ }
+
+ /// @brief remove elements given an iterator range
+ /// @sa https://json.nlohmann.me/api/basic_json/erase/
+ template < class IteratorType, typename std::enable_if <
+ std::is_same<IteratorType, typename basic_json_t::iterator>::value ||
+ std::is_same<IteratorType, typename basic_json_t::const_iterator>::value, int >::type
+ = 0 >
+ IteratorType erase(IteratorType first, IteratorType last)
+ {
+ // make sure iterator fits the current value
+ if (JSON_HEDLEY_UNLIKELY(this != first.m_object || this != last.m_object))
+ {
+ JSON_THROW(invalid_iterator::create(203, "iterators do not fit current value", *this));
+ }
+
+ IteratorType result = end();
+
+ switch (m_type)
+ {
+ case value_t::boolean:
+ case value_t::number_float:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::string:
+ case value_t::binary:
+ {
+ if (JSON_HEDLEY_LIKELY(!first.m_it.primitive_iterator.is_begin()
+ || !last.m_it.primitive_iterator.is_end()))
+ {
+ JSON_THROW(invalid_iterator::create(204, "iterators out of range", *this));
+ }
+
+ if (is_string())
+ {
+ AllocatorType<string_t> alloc;
+ std::allocator_traits<decltype(alloc)>::destroy(alloc, m_value.string);
+ std::allocator_traits<decltype(alloc)>::deallocate(alloc, m_value.string, 1);
+ m_value.string = nullptr;
+ }
+ else if (is_binary())
+ {
+ AllocatorType<binary_t> alloc;
+ std::allocator_traits<decltype(alloc)>::destroy(alloc, m_value.binary);
+ std::allocator_traits<decltype(alloc)>::deallocate(alloc, m_value.binary, 1);
+ m_value.binary = nullptr;
+ }
+
+ m_type = value_t::null;
+ assert_invariant();
+ break;
+ }
+
+ case value_t::object:
+ {
+ result.m_it.object_iterator = m_value.object->erase(first.m_it.object_iterator,
+ last.m_it.object_iterator);
+ break;
+ }
+
+ case value_t::array:
+ {
+ result.m_it.array_iterator = m_value.array->erase(first.m_it.array_iterator,
+ last.m_it.array_iterator);
+ break;
+ }
+
+ case value_t::null:
+ case value_t::discarded:
+ default:
+ JSON_THROW(type_error::create(307, "cannot use erase() with " + std::string(type_name()), *this));
+ }
+
+ return result;
+ }
+
+ /// @brief remove element from a JSON object given a key
+ /// @sa https://json.nlohmann.me/api/basic_json/erase/
+ size_type erase(const typename object_t::key_type& key)
+ {
+ // this erase only works for objects
+ if (JSON_HEDLEY_LIKELY(is_object()))
+ {
+ return m_value.object->erase(key);
+ }
+
+ JSON_THROW(type_error::create(307, "cannot use erase() with " + std::string(type_name()), *this));
+ }
+
+ /// @brief remove element from a JSON array given an index
+ /// @sa https://json.nlohmann.me/api/basic_json/erase/
+ void erase(const size_type idx)
+ {
+ // this erase only works for arrays
+ if (JSON_HEDLEY_LIKELY(is_array()))
+ {
+ if (JSON_HEDLEY_UNLIKELY(idx >= size()))
+ {
+ JSON_THROW(out_of_range::create(401, "array index " + std::to_string(idx) + " is out of range", *this));
+ }
+
+ m_value.array->erase(m_value.array->begin() + static_cast<difference_type>(idx));
+ }
+ else
+ {
+ JSON_THROW(type_error::create(307, "cannot use erase() with " + std::string(type_name()), *this));
+ }
+ }
+
+ /// @}
+
+
+ ////////////
+ // lookup //
+ ////////////
+
+ /// @name lookup
+ /// @{
+
+ /// @brief find an element in a JSON object
+ /// @sa https://json.nlohmann.me/api/basic_json/find/
+ template<typename KeyT>
+ iterator find(KeyT&& key)
+ {
+ auto result = end();
+
+ if (is_object())
+ {
+ result.m_it.object_iterator = m_value.object->find(std::forward<KeyT>(key));
+ }
+
+ return result;
+ }
+
+ /// @brief find an element in a JSON object
+ /// @sa https://json.nlohmann.me/api/basic_json/find/
+ template<typename KeyT>
+ const_iterator find(KeyT&& key) const
+ {
+ auto result = cend();
+
+ if (is_object())
+ {
+ result.m_it.object_iterator = m_value.object->find(std::forward<KeyT>(key));
+ }
+
+ return result;
+ }
+
+ /// @brief returns the number of occurrences of a key in a JSON object
+ /// @sa https://json.nlohmann.me/api/basic_json/count/
+ template<typename KeyT>
+ size_type count(KeyT&& key) const
+ {
+ // return 0 for all nonobject types
+ return is_object() ? m_value.object->count(std::forward<KeyT>(key)) : 0;
+ }
+
+ /// @brief check the existence of an element in a JSON object
+ /// @sa https://json.nlohmann.me/api/basic_json/contains/
+ template < typename KeyT, typename std::enable_if <
+ !std::is_same<typename std::decay<KeyT>::type, json_pointer>::value, int >::type = 0 >
+ bool contains(KeyT && key) const
+ {
+ return is_object() && m_value.object->find(std::forward<KeyT>(key)) != m_value.object->end();
+ }
+
+ /// @brief check the existence of an element in a JSON object given a JSON pointer
+ /// @sa https://json.nlohmann.me/api/basic_json/contains/
+ bool contains(const json_pointer& ptr) const
+ {
+ return ptr.contains(this);
+ }
+
+ /// @}
+
+
+ ///////////////
+ // iterators //
+ ///////////////
+
+ /// @name iterators
+ /// @{
+
+ /// @brief returns an iterator to the first element
+ /// @sa https://json.nlohmann.me/api/basic_json/begin/
+ iterator begin() noexcept
+ {
+ iterator result(this);
+ result.set_begin();
+ return result;
+ }
+
+ /// @brief returns an iterator to the first element
+ /// @sa https://json.nlohmann.me/api/basic_json/begin/
+ const_iterator begin() const noexcept
+ {
+ return cbegin();
+ }
+
+ /// @brief returns a const iterator to the first element
+ /// @sa https://json.nlohmann.me/api/basic_json/cbegin/
+ const_iterator cbegin() const noexcept
+ {
+ const_iterator result(this);
+ result.set_begin();
+ return result;
+ }
+
+ /// @brief returns an iterator to one past the last element
+ /// @sa https://json.nlohmann.me/api/basic_json/end/
+ iterator end() noexcept
+ {
+ iterator result(this);
+ result.set_end();
+ return result;
+ }
+
+ /// @brief returns an iterator to one past the last element
+ /// @sa https://json.nlohmann.me/api/basic_json/end/
+ const_iterator end() const noexcept
+ {
+ return cend();
+ }
+
+ /// @brief returns an iterator to one past the last element
+ /// @sa https://json.nlohmann.me/api/basic_json/cend/
+ const_iterator cend() const noexcept
+ {
+ const_iterator result(this);
+ result.set_end();
+ return result;
+ }
+
+ /// @brief returns an iterator to the reverse-beginning
+ /// @sa https://json.nlohmann.me/api/basic_json/rbegin/
+ reverse_iterator rbegin() noexcept
+ {
+ return reverse_iterator(end());
+ }
+
+ /// @brief returns an iterator to the reverse-beginning
+ /// @sa https://json.nlohmann.me/api/basic_json/rbegin/
+ const_reverse_iterator rbegin() const noexcept
+ {
+ return crbegin();
+ }
+
+ /// @brief returns an iterator to the reverse-end
+ /// @sa https://json.nlohmann.me/api/basic_json/rend/
+ reverse_iterator rend() noexcept
+ {
+ return reverse_iterator(begin());
+ }
+
+ /// @brief returns an iterator to the reverse-end
+ /// @sa https://json.nlohmann.me/api/basic_json/rend/
+ const_reverse_iterator rend() const noexcept
+ {
+ return crend();
+ }
+
+ /// @brief returns a const reverse iterator to the last element
+ /// @sa https://json.nlohmann.me/api/basic_json/crbegin/
+ const_reverse_iterator crbegin() const noexcept
+ {
+ return const_reverse_iterator(cend());
+ }
+
+ /// @brief returns a const reverse iterator to one before the first
+ /// @sa https://json.nlohmann.me/api/basic_json/crend/
+ const_reverse_iterator crend() const noexcept
+ {
+ return const_reverse_iterator(cbegin());
+ }
+
+ public:
+ /// @brief wrapper to access iterator member functions in range-based for
+ /// @sa https://json.nlohmann.me/api/basic_json/items/
+ /// @deprecated This function is deprecated since 3.1.0 and will be removed in
+ /// version 4.0.0 of the library. Please use @ref items() instead;
+ /// that is, replace `json::iterator_wrapper(j)` with `j.items()`.
+ JSON_HEDLEY_DEPRECATED_FOR(3.1.0, items())
+ static iteration_proxy<iterator> iterator_wrapper(reference ref) noexcept
+ {
+ return ref.items();
+ }
+
+ /// @brief wrapper to access iterator member functions in range-based for
+ /// @sa https://json.nlohmann.me/api/basic_json/items/
+ /// @deprecated This function is deprecated since 3.1.0 and will be removed in
+ /// version 4.0.0 of the library. Please use @ref items() instead;
+ /// that is, replace `json::iterator_wrapper(j)` with `j.items()`.
+ JSON_HEDLEY_DEPRECATED_FOR(3.1.0, items())
+ static iteration_proxy<const_iterator> iterator_wrapper(const_reference ref) noexcept
+ {
+ return ref.items();
+ }
+
+ /// @brief helper to access iterator member functions in range-based for
+ /// @sa https://json.nlohmann.me/api/basic_json/items/
+ iteration_proxy<iterator> items() noexcept
+ {
+ return iteration_proxy<iterator>(*this);
+ }
+
+ /// @brief helper to access iterator member functions in range-based for
+ /// @sa https://json.nlohmann.me/api/basic_json/items/
+ iteration_proxy<const_iterator> items() const noexcept
+ {
+ return iteration_proxy<const_iterator>(*this);
+ }
+
+ /// @}
+
+
+ //////////////
+ // capacity //
+ //////////////
+
+ /// @name capacity
+ /// @{
+
+ /// @brief checks whether the container is empty.
+ /// @sa https://json.nlohmann.me/api/basic_json/empty/
+ bool empty() const noexcept
+ {
+ switch (m_type)
+ {
+ case value_t::null:
+ {
+ // null values are empty
+ return true;
+ }
+
+ case value_t::array:
+ {
+ // delegate call to array_t::empty()
+ return m_value.array->empty();
+ }
+
+ case value_t::object:
+ {
+ // delegate call to object_t::empty()
+ return m_value.object->empty();
+ }
+
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ {
+ // all other types are nonempty
+ return false;
+ }
+ }
+ }
+
+ /// @brief returns the number of elements
+ /// @sa https://json.nlohmann.me/api/basic_json/size/
+ size_type size() const noexcept
+ {
+ switch (m_type)
+ {
+ case value_t::null:
+ {
+ // null values are empty
+ return 0;
+ }
+
+ case value_t::array:
+ {
+ // delegate call to array_t::size()
+ return m_value.array->size();
+ }
+
+ case value_t::object:
+ {
+ // delegate call to object_t::size()
+ return m_value.object->size();
+ }
+
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ {
+ // all other types have size 1
+ return 1;
+ }
+ }
+ }
+
+ /// @brief returns the maximum possible number of elements
+ /// @sa https://json.nlohmann.me/api/basic_json/max_size/
+ size_type max_size() const noexcept
+ {
+ switch (m_type)
+ {
+ case value_t::array:
+ {
+ // delegate call to array_t::max_size()
+ return m_value.array->max_size();
+ }
+
+ case value_t::object:
+ {
+ // delegate call to object_t::max_size()
+ return m_value.object->max_size();
+ }
+
+ case value_t::null:
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ {
+ // all other types have max_size() == size()
+ return size();
+ }
+ }
+ }
+
+ /// @}
+
+
+ ///////////////
+ // modifiers //
+ ///////////////
+
+ /// @name modifiers
+ /// @{
+
+ /// @brief clears the contents
+ /// @sa https://json.nlohmann.me/api/basic_json/clear/
+ void clear() noexcept
+ {
+ switch (m_type)
+ {
+ case value_t::number_integer:
+ {
+ m_value.number_integer = 0;
+ break;
+ }
+
+ case value_t::number_unsigned:
+ {
+ m_value.number_unsigned = 0;
+ break;
+ }
+
+ case value_t::number_float:
+ {
+ m_value.number_float = 0.0;
+ break;
+ }
+
+ case value_t::boolean:
+ {
+ m_value.boolean = false;
+ break;
+ }
+
+ case value_t::string:
+ {
+ m_value.string->clear();
+ break;
+ }
+
+ case value_t::binary:
+ {
+ m_value.binary->clear();
+ break;
+ }
+
+ case value_t::array:
+ {
+ m_value.array->clear();
+ break;
+ }
+
+ case value_t::object:
+ {
+ m_value.object->clear();
+ break;
+ }
+
+ case value_t::null:
+ case value_t::discarded:
+ default:
+ break;
+ }
+ }
+
+ /// @brief add an object to an array
+ /// @sa https://json.nlohmann.me/api/basic_json/push_back/
+ void push_back(basic_json&& val)
+ {
+ // push_back only works for null objects or arrays
+ if (JSON_HEDLEY_UNLIKELY(!(is_null() || is_array())))
+ {
+ JSON_THROW(type_error::create(308, "cannot use push_back() with " + std::string(type_name()), *this));
+ }
+
+ // transform null object into an array
+ if (is_null())
+ {
+ m_type = value_t::array;
+ m_value = value_t::array;
+ assert_invariant();
+ }
+
+ // add element to array (move semantics)
+ const auto old_capacity = m_value.array->capacity();
+ m_value.array->push_back(std::move(val));
+ set_parent(m_value.array->back(), old_capacity);
+ // if val is moved from, basic_json move constructor marks it null, so we do not call the destructor
+ }
+
+ /// @brief add an object to an array
+ /// @sa https://json.nlohmann.me/api/basic_json/operator+=/
+ reference operator+=(basic_json&& val)
+ {
+ push_back(std::move(val));
+ return *this;
+ }
+
+ /// @brief add an object to an array
+ /// @sa https://json.nlohmann.me/api/basic_json/push_back/
+ void push_back(const basic_json& val)
+ {
+ // push_back only works for null objects or arrays
+ if (JSON_HEDLEY_UNLIKELY(!(is_null() || is_array())))
+ {
+ JSON_THROW(type_error::create(308, "cannot use push_back() with " + std::string(type_name()), *this));
+ }
+
+ // transform null object into an array
+ if (is_null())
+ {
+ m_type = value_t::array;
+ m_value = value_t::array;
+ assert_invariant();
+ }
+
+ // add element to array
+ const auto old_capacity = m_value.array->capacity();
+ m_value.array->push_back(val);
+ set_parent(m_value.array->back(), old_capacity);
+ }
+
+ /// @brief add an object to an array
+ /// @sa https://json.nlohmann.me/api/basic_json/operator+=/
+ reference operator+=(const basic_json& val)
+ {
+ push_back(val);
+ return *this;
+ }
+
+ /// @brief add an object to an object
+ /// @sa https://json.nlohmann.me/api/basic_json/push_back/
+ void push_back(const typename object_t::value_type& val)
+ {
+ // push_back only works for null objects or objects
+ if (JSON_HEDLEY_UNLIKELY(!(is_null() || is_object())))
+ {
+ JSON_THROW(type_error::create(308, "cannot use push_back() with " + std::string(type_name()), *this));
+ }
+
+ // transform null object into an object
+ if (is_null())
+ {
+ m_type = value_t::object;
+ m_value = value_t::object;
+ assert_invariant();
+ }
+
+ // add element to object
+ auto res = m_value.object->insert(val);
+ set_parent(res.first->second);
+ }
+
+ /// @brief add an object to an object
+ /// @sa https://json.nlohmann.me/api/basic_json/operator+=/
+ reference operator+=(const typename object_t::value_type& val)
+ {
+ push_back(val);
+ return *this;
+ }
+
+ /// @brief add an object to an object
+ /// @sa https://json.nlohmann.me/api/basic_json/push_back/
+ void push_back(initializer_list_t init)
+ {
+ if (is_object() && init.size() == 2 && (*init.begin())->is_string())
+ {
+ basic_json&& key = init.begin()->moved_or_copied();
+ push_back(typename object_t::value_type(
+ std::move(key.get_ref<string_t&>()), (init.begin() + 1)->moved_or_copied()));
+ }
+ else
+ {
+ push_back(basic_json(init));
+ }
+ }
+
+ /// @brief add an object to an object
+ /// @sa https://json.nlohmann.me/api/basic_json/operator+=/
+ reference operator+=(initializer_list_t init)
+ {
+ push_back(init);
+ return *this;
+ }
+
+ /// @brief add an object to an array
+ /// @sa https://json.nlohmann.me/api/basic_json/emplace_back/
+ template<class... Args>
+ reference emplace_back(Args&& ... args)
+ {
+ // emplace_back only works for null objects or arrays
+ if (JSON_HEDLEY_UNLIKELY(!(is_null() || is_array())))
+ {
+ JSON_THROW(type_error::create(311, "cannot use emplace_back() with " + std::string(type_name()), *this));
+ }
+
+ // transform null object into an array
+ if (is_null())
+ {
+ m_type = value_t::array;
+ m_value = value_t::array;
+ assert_invariant();
+ }
+
+ // add element to array (perfect forwarding)
+ const auto old_capacity = m_value.array->capacity();
+ m_value.array->emplace_back(std::forward<Args>(args)...);
+ return set_parent(m_value.array->back(), old_capacity);
+ }
+
+ /// @brief add an object to an object if key does not exist
+ /// @sa https://json.nlohmann.me/api/basic_json/emplace/
+ template<class... Args>
+ std::pair<iterator, bool> emplace(Args&& ... args)
+ {
+ // emplace only works for null objects or arrays
+ if (JSON_HEDLEY_UNLIKELY(!(is_null() || is_object())))
+ {
+ JSON_THROW(type_error::create(311, "cannot use emplace() with " + std::string(type_name()), *this));
+ }
+
+ // transform null object into an object
+ if (is_null())
+ {
+ m_type = value_t::object;
+ m_value = value_t::object;
+ assert_invariant();
+ }
+
+ // add element to array (perfect forwarding)
+ auto res = m_value.object->emplace(std::forward<Args>(args)...);
+ set_parent(res.first->second);
+
+ // create result iterator and set iterator to the result of emplace
+ auto it = begin();
+ it.m_it.object_iterator = res.first;
+
+ // return pair of iterator and boolean
+ return {it, res.second};
+ }
+
+ /// Helper for insertion of an iterator
+ /// @note: This uses std::distance to support GCC 4.8,
+ /// see https://github.com/nlohmann/json/pull/1257
+ template<typename... Args>
+ iterator insert_iterator(const_iterator pos, Args&& ... args)
+ {
+ iterator result(this);
+ JSON_ASSERT(m_value.array != nullptr);
+
+ auto insert_pos = std::distance(m_value.array->begin(), pos.m_it.array_iterator);
+ m_value.array->insert(pos.m_it.array_iterator, std::forward<Args>(args)...);
+ result.m_it.array_iterator = m_value.array->begin() + insert_pos;
+
+ // This could have been written as:
+ // result.m_it.array_iterator = m_value.array->insert(pos.m_it.array_iterator, cnt, val);
+ // but the return value of insert is missing in GCC 4.8, so it is written this way instead.
+
+ set_parents();
+ return result;
+ }
+
+ /// @brief inserts element into array
+ /// @sa https://json.nlohmann.me/api/basic_json/insert/
+ iterator insert(const_iterator pos, const basic_json& val)
+ {
+ // insert only works for arrays
+ if (JSON_HEDLEY_LIKELY(is_array()))
+ {
+ // check if iterator pos fits to this JSON value
+ if (JSON_HEDLEY_UNLIKELY(pos.m_object != this))
+ {
+ JSON_THROW(invalid_iterator::create(202, "iterator does not fit current value", *this));
+ }
+
+ // insert to array and return iterator
+ return insert_iterator(pos, val);
+ }
+
+ JSON_THROW(type_error::create(309, "cannot use insert() with " + std::string(type_name()), *this));
+ }
+
+ /// @brief inserts element into array
+ /// @sa https://json.nlohmann.me/api/basic_json/insert/
+ iterator insert(const_iterator pos, basic_json&& val)
+ {
+ return insert(pos, val);
+ }
+
+ /// @brief inserts copies of element into array
+ /// @sa https://json.nlohmann.me/api/basic_json/insert/
+ iterator insert(const_iterator pos, size_type cnt, const basic_json& val)
+ {
+ // insert only works for arrays
+ if (JSON_HEDLEY_LIKELY(is_array()))
+ {
+ // check if iterator pos fits to this JSON value
+ if (JSON_HEDLEY_UNLIKELY(pos.m_object != this))
+ {
+ JSON_THROW(invalid_iterator::create(202, "iterator does not fit current value", *this));
+ }
+
+ // insert to array and return iterator
+ return insert_iterator(pos, cnt, val);
+ }
+
+ JSON_THROW(type_error::create(309, "cannot use insert() with " + std::string(type_name()), *this));
+ }
+
+ /// @brief inserts range of elements into array
+ /// @sa https://json.nlohmann.me/api/basic_json/insert/
+ iterator insert(const_iterator pos, const_iterator first, const_iterator last)
+ {
+ // insert only works for arrays
+ if (JSON_HEDLEY_UNLIKELY(!is_array()))
+ {
+ JSON_THROW(type_error::create(309, "cannot use insert() with " + std::string(type_name()), *this));
+ }
+
+ // check if iterator pos fits to this JSON value
+ if (JSON_HEDLEY_UNLIKELY(pos.m_object != this))
+ {
+ JSON_THROW(invalid_iterator::create(202, "iterator does not fit current value", *this));
+ }
+
+ // check if range iterators belong to the same JSON object
+ if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object))
+ {
+ JSON_THROW(invalid_iterator::create(210, "iterators do not fit", *this));
+ }
+
+ if (JSON_HEDLEY_UNLIKELY(first.m_object == this))
+ {
+ JSON_THROW(invalid_iterator::create(211, "passed iterators may not belong to container", *this));
+ }
+
+ // insert to array and return iterator
+ return insert_iterator(pos, first.m_it.array_iterator, last.m_it.array_iterator);
+ }
+
+ /// @brief inserts elements from initializer list into array
+ /// @sa https://json.nlohmann.me/api/basic_json/insert/
+ iterator insert(const_iterator pos, initializer_list_t ilist)
+ {
+ // insert only works for arrays
+ if (JSON_HEDLEY_UNLIKELY(!is_array()))
+ {
+ JSON_THROW(type_error::create(309, "cannot use insert() with " + std::string(type_name()), *this));
+ }
+
+ // check if iterator pos fits to this JSON value
+ if (JSON_HEDLEY_UNLIKELY(pos.m_object != this))
+ {
+ JSON_THROW(invalid_iterator::create(202, "iterator does not fit current value", *this));
+ }
+
+ // insert to array and return iterator
+ return insert_iterator(pos, ilist.begin(), ilist.end());
+ }
+
+ /// @brief inserts range of elements into object
+ /// @sa https://json.nlohmann.me/api/basic_json/insert/
+ void insert(const_iterator first, const_iterator last)
+ {
+ // insert only works for objects
+ if (JSON_HEDLEY_UNLIKELY(!is_object()))
+ {
+ JSON_THROW(type_error::create(309, "cannot use insert() with " + std::string(type_name()), *this));
+ }
+
+ // check if range iterators belong to the same JSON object
+ if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object))
+ {
+ JSON_THROW(invalid_iterator::create(210, "iterators do not fit", *this));
+ }
+
+ // passed iterators must belong to objects
+ if (JSON_HEDLEY_UNLIKELY(!first.m_object->is_object()))
+ {
+ JSON_THROW(invalid_iterator::create(202, "iterators first and last must point to objects", *this));
+ }
+
+ m_value.object->insert(first.m_it.object_iterator, last.m_it.object_iterator);
+ }
+
+ /// @brief updates a JSON object from another object, overwriting existing keys
+ /// @sa https://json.nlohmann.me/api/basic_json/update/
+ void update(const_reference j, bool merge_objects = false)
+ {
+ update(j.begin(), j.end(), merge_objects);
+ }
+
+ /// @brief updates a JSON object from another object, overwriting existing keys
+ /// @sa https://json.nlohmann.me/api/basic_json/update/
+ void update(const_iterator first, const_iterator last, bool merge_objects = false)
+ {
+ // implicitly convert null value to an empty object
+ if (is_null())
+ {
+ m_type = value_t::object;
+ m_value.object = create<object_t>();
+ assert_invariant();
+ }
+
+ if (JSON_HEDLEY_UNLIKELY(!is_object()))
+ {
+ JSON_THROW(type_error::create(312, "cannot use update() with " + std::string(type_name()), *this));
+ }
+
+ // check if range iterators belong to the same JSON object
+ if (JSON_HEDLEY_UNLIKELY(first.m_object != last.m_object))
+ {
+ JSON_THROW(invalid_iterator::create(210, "iterators do not fit", *this));
+ }
+
+ // passed iterators must belong to objects
+ if (JSON_HEDLEY_UNLIKELY(!first.m_object->is_object()))
+ {
+ JSON_THROW(type_error::create(312, "cannot use update() with " + std::string(first.m_object->type_name()), *first.m_object));
+ }
+
+ for (auto it = first; it != last; ++it)
+ {
+ if (merge_objects && it.value().is_object())
+ {
+ auto it2 = m_value.object->find(it.key());
+ if (it2 != m_value.object->end())
+ {
+ it2->second.update(it.value(), true);
+ continue;
+ }
+ }
+ m_value.object->operator[](it.key()) = it.value();
+#if JSON_DIAGNOSTICS
+ m_value.object->operator[](it.key()).m_parent = this;
+#endif
+ }
+ }
+
+ /// @brief exchanges the values
+ /// @sa https://json.nlohmann.me/api/basic_json/swap/
+ void swap(reference other) noexcept (
+ std::is_nothrow_move_constructible<value_t>::value&&
+ std::is_nothrow_move_assignable<value_t>::value&&
+ std::is_nothrow_move_constructible<json_value>::value&&
+ std::is_nothrow_move_assignable<json_value>::value
+ )
+ {
+ std::swap(m_type, other.m_type);
+ std::swap(m_value, other.m_value);
+
+ set_parents();
+ other.set_parents();
+ assert_invariant();
+ }
+
+ /// @brief exchanges the values
+ /// @sa https://json.nlohmann.me/api/basic_json/swap/
+ friend void swap(reference left, reference right) noexcept (
+ std::is_nothrow_move_constructible<value_t>::value&&
+ std::is_nothrow_move_assignable<value_t>::value&&
+ std::is_nothrow_move_constructible<json_value>::value&&
+ std::is_nothrow_move_assignable<json_value>::value
+ )
+ {
+ left.swap(right);
+ }
+
+ /// @brief exchanges the values
+ /// @sa https://json.nlohmann.me/api/basic_json/swap/
+ void swap(array_t& other) // NOLINT(bugprone-exception-escape)
+ {
+ // swap only works for arrays
+ if (JSON_HEDLEY_LIKELY(is_array()))
+ {
+ std::swap(*(m_value.array), other);
+ }
+ else
+ {
+ JSON_THROW(type_error::create(310, "cannot use swap() with " + std::string(type_name()), *this));
+ }
+ }
+
+ /// @brief exchanges the values
+ /// @sa https://json.nlohmann.me/api/basic_json/swap/
+ void swap(object_t& other) // NOLINT(bugprone-exception-escape)
+ {
+ // swap only works for objects
+ if (JSON_HEDLEY_LIKELY(is_object()))
+ {
+ std::swap(*(m_value.object), other);
+ }
+ else
+ {
+ JSON_THROW(type_error::create(310, "cannot use swap() with " + std::string(type_name()), *this));
+ }
+ }
+
+ /// @brief exchanges the values
+ /// @sa https://json.nlohmann.me/api/basic_json/swap/
+ void swap(string_t& other) // NOLINT(bugprone-exception-escape)
+ {
+ // swap only works for strings
+ if (JSON_HEDLEY_LIKELY(is_string()))
+ {
+ std::swap(*(m_value.string), other);
+ }
+ else
+ {
+ JSON_THROW(type_error::create(310, "cannot use swap() with " + std::string(type_name()), *this));
+ }
+ }
+
+ /// @brief exchanges the values
+ /// @sa https://json.nlohmann.me/api/basic_json/swap/
+ void swap(binary_t& other) // NOLINT(bugprone-exception-escape)
+ {
+ // swap only works for strings
+ if (JSON_HEDLEY_LIKELY(is_binary()))
+ {
+ std::swap(*(m_value.binary), other);
+ }
+ else
+ {
+ JSON_THROW(type_error::create(310, "cannot use swap() with " + std::string(type_name()), *this));
+ }
+ }
+
+ /// @brief exchanges the values
+ /// @sa https://json.nlohmann.me/api/basic_json/swap/
+ void swap(typename binary_t::container_type& other) // NOLINT(bugprone-exception-escape)
+ {
+ // swap only works for strings
+ if (JSON_HEDLEY_LIKELY(is_binary()))
+ {
+ std::swap(*(m_value.binary), other);
+ }
+ else
+ {
+ JSON_THROW(type_error::create(310, "cannot use swap() with " + std::string(type_name()), *this));
+ }
+ }
+
+ /// @}
+
+ public:
+ //////////////////////////////////////////
+ // lexicographical comparison operators //
+ //////////////////////////////////////////
+
+ /// @name lexicographical comparison operators
+ /// @{
+
+ /// @brief comparison: equal
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_eq/
+ friend bool operator==(const_reference lhs, const_reference rhs) noexcept
+ {
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wfloat-equal"
+#endif
+ const auto lhs_type = lhs.type();
+ const auto rhs_type = rhs.type();
+
+ if (lhs_type == rhs_type)
+ {
+ switch (lhs_type)
+ {
+ case value_t::array:
+ return *lhs.m_value.array == *rhs.m_value.array;
+
+ case value_t::object:
+ return *lhs.m_value.object == *rhs.m_value.object;
+
+ case value_t::null:
+ return true;
+
+ case value_t::string:
+ return *lhs.m_value.string == *rhs.m_value.string;
+
+ case value_t::boolean:
+ return lhs.m_value.boolean == rhs.m_value.boolean;
+
+ case value_t::number_integer:
+ return lhs.m_value.number_integer == rhs.m_value.number_integer;
+
+ case value_t::number_unsigned:
+ return lhs.m_value.number_unsigned == rhs.m_value.number_unsigned;
+
+ case value_t::number_float:
+ return lhs.m_value.number_float == rhs.m_value.number_float;
+
+ case value_t::binary:
+ return *lhs.m_value.binary == *rhs.m_value.binary;
+
+ case value_t::discarded:
+ default:
+ return false;
+ }
+ }
+ else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_float)
+ {
+ return static_cast<number_float_t>(lhs.m_value.number_integer) == rhs.m_value.number_float;
+ }
+ else if (lhs_type == value_t::number_float && rhs_type == value_t::number_integer)
+ {
+ return lhs.m_value.number_float == static_cast<number_float_t>(rhs.m_value.number_integer);
+ }
+ else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_float)
+ {
+ return static_cast<number_float_t>(lhs.m_value.number_unsigned) == rhs.m_value.number_float;
+ }
+ else if (lhs_type == value_t::number_float && rhs_type == value_t::number_unsigned)
+ {
+ return lhs.m_value.number_float == static_cast<number_float_t>(rhs.m_value.number_unsigned);
+ }
+ else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_integer)
+ {
+ return static_cast<number_integer_t>(lhs.m_value.number_unsigned) == rhs.m_value.number_integer;
+ }
+ else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_unsigned)
+ {
+ return lhs.m_value.number_integer == static_cast<number_integer_t>(rhs.m_value.number_unsigned);
+ }
+
+ return false;
+#ifdef __GNUC__
+#pragma GCC diagnostic pop
+#endif
+ }
+
+ /// @brief comparison: equal
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_eq/
+ template<typename ScalarType, typename std::enable_if<
+ std::is_scalar<ScalarType>::value, int>::type = 0>
+ friend bool operator==(const_reference lhs, ScalarType rhs) noexcept
+ {
+ return lhs == basic_json(rhs);
+ }
+
+ /// @brief comparison: equal
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_eq/
+ template<typename ScalarType, typename std::enable_if<
+ std::is_scalar<ScalarType>::value, int>::type = 0>
+ friend bool operator==(ScalarType lhs, const_reference rhs) noexcept
+ {
+ return basic_json(lhs) == rhs;
+ }
+
+ /// @brief comparison: not equal
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_ne/
+ friend bool operator!=(const_reference lhs, const_reference rhs) noexcept
+ {
+ return !(lhs == rhs);
+ }
+
+ /// @brief comparison: not equal
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_ne/
+ template<typename ScalarType, typename std::enable_if<
+ std::is_scalar<ScalarType>::value, int>::type = 0>
+ friend bool operator!=(const_reference lhs, ScalarType rhs) noexcept
+ {
+ return lhs != basic_json(rhs);
+ }
+
+ /// @brief comparison: not equal
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_ne/
+ template<typename ScalarType, typename std::enable_if<
+ std::is_scalar<ScalarType>::value, int>::type = 0>
+ friend bool operator!=(ScalarType lhs, const_reference rhs) noexcept
+ {
+ return basic_json(lhs) != rhs;
+ }
+
+ /// @brief comparison: less than
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_lt/
+ friend bool operator<(const_reference lhs, const_reference rhs) noexcept
+ {
+ const auto lhs_type = lhs.type();
+ const auto rhs_type = rhs.type();
+
+ if (lhs_type == rhs_type)
+ {
+ switch (lhs_type)
+ {
+ case value_t::array:
+ // note parentheses are necessary, see
+ // https://github.com/nlohmann/json/issues/1530
+ return (*lhs.m_value.array) < (*rhs.m_value.array);
+
+ case value_t::object:
+ return (*lhs.m_value.object) < (*rhs.m_value.object);
+
+ case value_t::null:
+ return false;
+
+ case value_t::string:
+ return (*lhs.m_value.string) < (*rhs.m_value.string);
+
+ case value_t::boolean:
+ return (lhs.m_value.boolean) < (rhs.m_value.boolean);
+
+ case value_t::number_integer:
+ return (lhs.m_value.number_integer) < (rhs.m_value.number_integer);
+
+ case value_t::number_unsigned:
+ return (lhs.m_value.number_unsigned) < (rhs.m_value.number_unsigned);
+
+ case value_t::number_float:
+ return (lhs.m_value.number_float) < (rhs.m_value.number_float);
+
+ case value_t::binary:
+ return (*lhs.m_value.binary) < (*rhs.m_value.binary);
+
+ case value_t::discarded:
+ default:
+ return false;
+ }
+ }
+ else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_float)
+ {
+ return static_cast<number_float_t>(lhs.m_value.number_integer) < rhs.m_value.number_float;
+ }
+ else if (lhs_type == value_t::number_float && rhs_type == value_t::number_integer)
+ {
+ return lhs.m_value.number_float < static_cast<number_float_t>(rhs.m_value.number_integer);
+ }
+ else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_float)
+ {
+ return static_cast<number_float_t>(lhs.m_value.number_unsigned) < rhs.m_value.number_float;
+ }
+ else if (lhs_type == value_t::number_float && rhs_type == value_t::number_unsigned)
+ {
+ return lhs.m_value.number_float < static_cast<number_float_t>(rhs.m_value.number_unsigned);
+ }
+ else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_unsigned)
+ {
+ return lhs.m_value.number_integer < static_cast<number_integer_t>(rhs.m_value.number_unsigned);
+ }
+ else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_integer)
+ {
+ return static_cast<number_integer_t>(lhs.m_value.number_unsigned) < rhs.m_value.number_integer;
+ }
+
+ // We only reach this line if we cannot compare values. In that case,
+ // we compare types. Note we have to call the operator explicitly,
+ // because MSVC has problems otherwise.
+ return operator<(lhs_type, rhs_type);
+ }
+
+ /// @brief comparison: less than
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_lt/
+ template<typename ScalarType, typename std::enable_if<
+ std::is_scalar<ScalarType>::value, int>::type = 0>
+ friend bool operator<(const_reference lhs, ScalarType rhs) noexcept
+ {
+ return lhs < basic_json(rhs);
+ }
+
+ /// @brief comparison: less than
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_lt/
+ template<typename ScalarType, typename std::enable_if<
+ std::is_scalar<ScalarType>::value, int>::type = 0>
+ friend bool operator<(ScalarType lhs, const_reference rhs) noexcept
+ {
+ return basic_json(lhs) < rhs;
+ }
+
+ /// @brief comparison: less than or equal
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_le/
+ friend bool operator<=(const_reference lhs, const_reference rhs) noexcept
+ {
+ return !(rhs < lhs);
+ }
+
+ /// @brief comparison: less than or equal
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_le/
+ template<typename ScalarType, typename std::enable_if<
+ std::is_scalar<ScalarType>::value, int>::type = 0>
+ friend bool operator<=(const_reference lhs, ScalarType rhs) noexcept
+ {
+ return lhs <= basic_json(rhs);
+ }
+
+ /// @brief comparison: less than or equal
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_le/
+ template<typename ScalarType, typename std::enable_if<
+ std::is_scalar<ScalarType>::value, int>::type = 0>
+ friend bool operator<=(ScalarType lhs, const_reference rhs) noexcept
+ {
+ return basic_json(lhs) <= rhs;
+ }
+
+ /// @brief comparison: greater than
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_gt/
+ friend bool operator>(const_reference lhs, const_reference rhs) noexcept
+ {
+ return !(lhs <= rhs);
+ }
+
+ /// @brief comparison: greater than
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_gt/
+ template<typename ScalarType, typename std::enable_if<
+ std::is_scalar<ScalarType>::value, int>::type = 0>
+ friend bool operator>(const_reference lhs, ScalarType rhs) noexcept
+ {
+ return lhs > basic_json(rhs);
+ }
+
+ /// @brief comparison: greater than
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_gt/
+ template<typename ScalarType, typename std::enable_if<
+ std::is_scalar<ScalarType>::value, int>::type = 0>
+ friend bool operator>(ScalarType lhs, const_reference rhs) noexcept
+ {
+ return basic_json(lhs) > rhs;
+ }
+
+ /// @brief comparison: greater than or equal
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_ge/
+ friend bool operator>=(const_reference lhs, const_reference rhs) noexcept
+ {
+ return !(lhs < rhs);
+ }
+
+ /// @brief comparison: greater than or equal
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_ge/
+ template<typename ScalarType, typename std::enable_if<
+ std::is_scalar<ScalarType>::value, int>::type = 0>
+ friend bool operator>=(const_reference lhs, ScalarType rhs) noexcept
+ {
+ return lhs >= basic_json(rhs);
+ }
+
+ /// @brief comparison: greater than or equal
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_ge/
+ template<typename ScalarType, typename std::enable_if<
+ std::is_scalar<ScalarType>::value, int>::type = 0>
+ friend bool operator>=(ScalarType lhs, const_reference rhs) noexcept
+ {
+ return basic_json(lhs) >= rhs;
+ }
+
+ /// @}
+
+ ///////////////////
+ // serialization //
+ ///////////////////
+
+ /// @name serialization
+ /// @{
+#ifndef JSON_NO_IO
+ /// @brief serialize to stream
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_ltlt/
+ friend std::ostream& operator<<(std::ostream& o, const basic_json& j)
+ {
+ // read width member and use it as indentation parameter if nonzero
+ const bool pretty_print = o.width() > 0;
+ const auto indentation = pretty_print ? o.width() : 0;
+
+ // reset width to 0 for subsequent calls to this stream
+ o.width(0);
+
+ // do the actual serialization
+ serializer s(detail::output_adapter<char>(o), o.fill());
+ s.dump(j, pretty_print, false, static_cast<unsigned int>(indentation));
+ return o;
+ }
+
+ /// @brief serialize to stream
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_ltlt/
+ /// @deprecated This function is deprecated since 3.0.0 and will be removed in
+ /// version 4.0.0 of the library. Please use
+ /// operator<<(std::ostream&, const basic_json&) instead; that is,
+ /// replace calls like `j >> o;` with `o << j;`.
+ JSON_HEDLEY_DEPRECATED_FOR(3.0.0, operator<<(std::ostream&, const basic_json&))
+ friend std::ostream& operator>>(const basic_json& j, std::ostream& o)
+ {
+ return o << j;
+ }
+#endif // JSON_NO_IO
+ /// @}
+
+
+ /////////////////////
+ // deserialization //
+ /////////////////////
+
+ /// @name deserialization
+ /// @{
+
+ /// @brief deserialize from a compatible input
+ /// @sa https://json.nlohmann.me/api/basic_json/parse/
+ template<typename InputType>
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json parse(InputType&& i,
+ const parser_callback_t cb = nullptr,
+ const bool allow_exceptions = true,
+ const bool ignore_comments = false)
+ {
+ basic_json result;
+ parser(detail::input_adapter(std::forward<InputType>(i)), cb, allow_exceptions, ignore_comments).parse(true, result);
+ return result;
+ }
+
+ /// @brief deserialize from a pair of character iterators
+ /// @sa https://json.nlohmann.me/api/basic_json/parse/
+ template<typename IteratorType>
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json parse(IteratorType first,
+ IteratorType last,
+ const parser_callback_t cb = nullptr,
+ const bool allow_exceptions = true,
+ const bool ignore_comments = false)
+ {
+ basic_json result;
+ parser(detail::input_adapter(std::move(first), std::move(last)), cb, allow_exceptions, ignore_comments).parse(true, result);
+ return result;
+ }
+
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ JSON_HEDLEY_DEPRECATED_FOR(3.8.0, parse(ptr, ptr + len))
+ static basic_json parse(detail::span_input_adapter&& i,
+ const parser_callback_t cb = nullptr,
+ const bool allow_exceptions = true,
+ const bool ignore_comments = false)
+ {
+ basic_json result;
+ parser(i.get(), cb, allow_exceptions, ignore_comments).parse(true, result);
+ return result;
+ }
+
+ /// @brief check if the input is valid JSON
+ /// @sa https://json.nlohmann.me/api/basic_json/accept/
+ template<typename InputType>
+ static bool accept(InputType&& i,
+ const bool ignore_comments = false)
+ {
+ return parser(detail::input_adapter(std::forward<InputType>(i)), nullptr, false, ignore_comments).accept(true);
+ }
+
+ /// @brief check if the input is valid JSON
+ /// @sa https://json.nlohmann.me/api/basic_json/accept/
+ template<typename IteratorType>
+ static bool accept(IteratorType first, IteratorType last,
+ const bool ignore_comments = false)
+ {
+ return parser(detail::input_adapter(std::move(first), std::move(last)), nullptr, false, ignore_comments).accept(true);
+ }
+
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ JSON_HEDLEY_DEPRECATED_FOR(3.8.0, accept(ptr, ptr + len))
+ static bool accept(detail::span_input_adapter&& i,
+ const bool ignore_comments = false)
+ {
+ return parser(i.get(), nullptr, false, ignore_comments).accept(true);
+ }
+
+ /// @brief generate SAX events
+ /// @sa https://json.nlohmann.me/api/basic_json/sax_parse/
+ template <typename InputType, typename SAX>
+ JSON_HEDLEY_NON_NULL(2)
+ static bool sax_parse(InputType&& i, SAX* sax,
+ input_format_t format = input_format_t::json,
+ const bool strict = true,
+ const bool ignore_comments = false)
+ {
+ auto ia = detail::input_adapter(std::forward<InputType>(i));
+ return format == input_format_t::json
+ ? parser(std::move(ia), nullptr, true, ignore_comments).sax_parse(sax, strict)
+ : detail::binary_reader<basic_json, decltype(ia), SAX>(std::move(ia)).sax_parse(format, sax, strict);
+ }
+
+ /// @brief generate SAX events
+ /// @sa https://json.nlohmann.me/api/basic_json/sax_parse/
+ template<class IteratorType, class SAX>
+ JSON_HEDLEY_NON_NULL(3)
+ static bool sax_parse(IteratorType first, IteratorType last, SAX* sax,
+ input_format_t format = input_format_t::json,
+ const bool strict = true,
+ const bool ignore_comments = false)
+ {
+ auto ia = detail::input_adapter(std::move(first), std::move(last));
+ return format == input_format_t::json
+ ? parser(std::move(ia), nullptr, true, ignore_comments).sax_parse(sax, strict)
+ : detail::binary_reader<basic_json, decltype(ia), SAX>(std::move(ia)).sax_parse(format, sax, strict);
+ }
+
+ /// @brief generate SAX events
+ /// @sa https://json.nlohmann.me/api/basic_json/sax_parse/
+ /// @deprecated This function is deprecated since 3.8.0 and will be removed in
+ /// version 4.0.0 of the library. Please use
+ /// sax_parse(ptr, ptr + len) instead.
+ template <typename SAX>
+ JSON_HEDLEY_DEPRECATED_FOR(3.8.0, sax_parse(ptr, ptr + len, ...))
+ JSON_HEDLEY_NON_NULL(2)
+ static bool sax_parse(detail::span_input_adapter&& i, SAX* sax,
+ input_format_t format = input_format_t::json,
+ const bool strict = true,
+ const bool ignore_comments = false)
+ {
+ auto ia = i.get();
+ return format == input_format_t::json
+ // NOLINTNEXTLINE(hicpp-move-const-arg,performance-move-const-arg)
+ ? parser(std::move(ia), nullptr, true, ignore_comments).sax_parse(sax, strict)
+ // NOLINTNEXTLINE(hicpp-move-const-arg,performance-move-const-arg)
+ : detail::binary_reader<basic_json, decltype(ia), SAX>(std::move(ia)).sax_parse(format, sax, strict);
+ }
+#ifndef JSON_NO_IO
+ /// @brief deserialize from stream
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_gtgt/
+ /// @deprecated This stream operator is deprecated since 3.0.0 and will be removed in
+ /// version 4.0.0 of the library. Please use
+ /// operator>>(std::istream&, basic_json&) instead; that is,
+ /// replace calls like `j << i;` with `i >> j;`.
+ JSON_HEDLEY_DEPRECATED_FOR(3.0.0, operator>>(std::istream&, basic_json&))
+ friend std::istream& operator<<(basic_json& j, std::istream& i)
+ {
+ return operator>>(i, j);
+ }
+
+ /// @brief deserialize from stream
+ /// @sa https://json.nlohmann.me/api/basic_json/operator_gtgt/
+ friend std::istream& operator>>(std::istream& i, basic_json& j)
+ {
+ parser(detail::input_adapter(i)).parse(false, j);
+ return i;
+ }
+#endif // JSON_NO_IO
+ /// @}
+
+ ///////////////////////////
+ // convenience functions //
+ ///////////////////////////
+
+ /// @brief return the type as string
+ /// @sa https://json.nlohmann.me/api/basic_json/type_name/
+ JSON_HEDLEY_RETURNS_NON_NULL
+ const char* type_name() const noexcept
+ {
+ switch (m_type)
+ {
+ case value_t::null:
+ return "null";
+ case value_t::object:
+ return "object";
+ case value_t::array:
+ return "array";
+ case value_t::string:
+ return "string";
+ case value_t::boolean:
+ return "boolean";
+ case value_t::binary:
+ return "binary";
+ case value_t::discarded:
+ return "discarded";
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ default:
+ return "number";
+ }
+ }
+
+
+ JSON_PRIVATE_UNLESS_TESTED:
+ //////////////////////
+ // member variables //
+ //////////////////////
+
+ /// the type of the current element
+ value_t m_type = value_t::null;
+
+ /// the value of the current element
+ json_value m_value = {};
+
+#if JSON_DIAGNOSTICS
+ /// a pointer to a parent value (for debugging purposes)
+ basic_json* m_parent = nullptr;
+#endif
+
+ //////////////////////////////////////////
+ // binary serialization/deserialization //
+ //////////////////////////////////////////
+
+ /// @name binary serialization/deserialization support
+ /// @{
+
+ public:
+ /// @brief create a CBOR serialization of a given JSON value
+ /// @sa https://json.nlohmann.me/api/basic_json/to_cbor/
+ static std::vector<std::uint8_t> to_cbor(const basic_json& j)
+ {
+ std::vector<std::uint8_t> result;
+ to_cbor(j, result);
+ return result;
+ }
+
+ /// @brief create a CBOR serialization of a given JSON value
+ /// @sa https://json.nlohmann.me/api/basic_json/to_cbor/
+ static void to_cbor(const basic_json& j, detail::output_adapter<std::uint8_t> o)
+ {
+ binary_writer<std::uint8_t>(o).write_cbor(j);
+ }
+
+ /// @brief create a CBOR serialization of a given JSON value
+ /// @sa https://json.nlohmann.me/api/basic_json/to_cbor/
+ static void to_cbor(const basic_json& j, detail::output_adapter<char> o)
+ {
+ binary_writer<char>(o).write_cbor(j);
+ }
+
+ /// @brief create a MessagePack serialization of a given JSON value
+ /// @sa https://json.nlohmann.me/api/basic_json/to_msgpack/
+ static std::vector<std::uint8_t> to_msgpack(const basic_json& j)
+ {
+ std::vector<std::uint8_t> result;
+ to_msgpack(j, result);
+ return result;
+ }
+
+ /// @brief create a MessagePack serialization of a given JSON value
+ /// @sa https://json.nlohmann.me/api/basic_json/to_msgpack/
+ static void to_msgpack(const basic_json& j, detail::output_adapter<std::uint8_t> o)
+ {
+ binary_writer<std::uint8_t>(o).write_msgpack(j);
+ }
+
+ /// @brief create a MessagePack serialization of a given JSON value
+ /// @sa https://json.nlohmann.me/api/basic_json/to_msgpack/
+ static void to_msgpack(const basic_json& j, detail::output_adapter<char> o)
+ {
+ binary_writer<char>(o).write_msgpack(j);
+ }
+
+ /// @brief create a UBJSON serialization of a given JSON value
+ /// @sa https://json.nlohmann.me/api/basic_json/to_ubjson/
+ static std::vector<std::uint8_t> to_ubjson(const basic_json& j,
+ const bool use_size = false,
+ const bool use_type = false)
+ {
+ std::vector<std::uint8_t> result;
+ to_ubjson(j, result, use_size, use_type);
+ return result;
+ }
+
+ /// @brief create a UBJSON serialization of a given JSON value
+ /// @sa https://json.nlohmann.me/api/basic_json/to_ubjson/
+ static void to_ubjson(const basic_json& j, detail::output_adapter<std::uint8_t> o,
+ const bool use_size = false, const bool use_type = false)
+ {
+ binary_writer<std::uint8_t>(o).write_ubjson(j, use_size, use_type);
+ }
+
+ /// @brief create a UBJSON serialization of a given JSON value
+ /// @sa https://json.nlohmann.me/api/basic_json/to_ubjson/
+ static void to_ubjson(const basic_json& j, detail::output_adapter<char> o,
+ const bool use_size = false, const bool use_type = false)
+ {
+ binary_writer<char>(o).write_ubjson(j, use_size, use_type);
+ }
+
+ /// @brief create a BSON serialization of a given JSON value
+ /// @sa https://json.nlohmann.me/api/basic_json/to_bson/
+ static std::vector<std::uint8_t> to_bson(const basic_json& j)
+ {
+ std::vector<std::uint8_t> result;
+ to_bson(j, result);
+ return result;
+ }
+
+ /// @brief create a BSON serialization of a given JSON value
+ /// @sa https://json.nlohmann.me/api/basic_json/to_bson/
+ static void to_bson(const basic_json& j, detail::output_adapter<std::uint8_t> o)
+ {
+ binary_writer<std::uint8_t>(o).write_bson(j);
+ }
+
+ /// @brief create a BSON serialization of a given JSON value
+ /// @sa https://json.nlohmann.me/api/basic_json/to_bson/
+ static void to_bson(const basic_json& j, detail::output_adapter<char> o)
+ {
+ binary_writer<char>(o).write_bson(j);
+ }
+
+ /// @brief create a JSON value from an input in CBOR format
+ /// @sa https://json.nlohmann.me/api/basic_json/from_cbor/
+ template<typename InputType>
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json from_cbor(InputType&& i,
+ const bool strict = true,
+ const bool allow_exceptions = true,
+ const cbor_tag_handler_t tag_handler = cbor_tag_handler_t::error)
+ {
+ basic_json result;
+ detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
+ auto ia = detail::input_adapter(std::forward<InputType>(i));
+ const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::cbor, &sdp, strict, tag_handler);
+ return res ? result : basic_json(value_t::discarded);
+ }
+
+ /// @brief create a JSON value from an input in CBOR format
+ /// @sa https://json.nlohmann.me/api/basic_json/from_cbor/
+ template<typename IteratorType>
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json from_cbor(IteratorType first, IteratorType last,
+ const bool strict = true,
+ const bool allow_exceptions = true,
+ const cbor_tag_handler_t tag_handler = cbor_tag_handler_t::error)
+ {
+ basic_json result;
+ detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
+ auto ia = detail::input_adapter(std::move(first), std::move(last));
+ const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::cbor, &sdp, strict, tag_handler);
+ return res ? result : basic_json(value_t::discarded);
+ }
+
+ template<typename T>
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_cbor(ptr, ptr + len))
+ static basic_json from_cbor(const T* ptr, std::size_t len,
+ const bool strict = true,
+ const bool allow_exceptions = true,
+ const cbor_tag_handler_t tag_handler = cbor_tag_handler_t::error)
+ {
+ return from_cbor(ptr, ptr + len, strict, allow_exceptions, tag_handler);
+ }
+
+
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_cbor(ptr, ptr + len))
+ static basic_json from_cbor(detail::span_input_adapter&& i,
+ const bool strict = true,
+ const bool allow_exceptions = true,
+ const cbor_tag_handler_t tag_handler = cbor_tag_handler_t::error)
+ {
+ basic_json result;
+ detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
+ auto ia = i.get();
+ // NOLINTNEXTLINE(hicpp-move-const-arg,performance-move-const-arg)
+ const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::cbor, &sdp, strict, tag_handler);
+ return res ? result : basic_json(value_t::discarded);
+ }
+
+ /// @brief create a JSON value from an input in MessagePack format
+ /// @sa https://json.nlohmann.me/api/basic_json/from_msgpack/
+ template<typename InputType>
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json from_msgpack(InputType&& i,
+ const bool strict = true,
+ const bool allow_exceptions = true)
+ {
+ basic_json result;
+ detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
+ auto ia = detail::input_adapter(std::forward<InputType>(i));
+ const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::msgpack, &sdp, strict);
+ return res ? result : basic_json(value_t::discarded);
+ }
+
+ /// @brief create a JSON value from an input in MessagePack format
+ /// @sa https://json.nlohmann.me/api/basic_json/from_msgpack/
+ template<typename IteratorType>
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json from_msgpack(IteratorType first, IteratorType last,
+ const bool strict = true,
+ const bool allow_exceptions = true)
+ {
+ basic_json result;
+ detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
+ auto ia = detail::input_adapter(std::move(first), std::move(last));
+ const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::msgpack, &sdp, strict);
+ return res ? result : basic_json(value_t::discarded);
+ }
+
+ template<typename T>
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_msgpack(ptr, ptr + len))
+ static basic_json from_msgpack(const T* ptr, std::size_t len,
+ const bool strict = true,
+ const bool allow_exceptions = true)
+ {
+ return from_msgpack(ptr, ptr + len, strict, allow_exceptions);
+ }
+
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_msgpack(ptr, ptr + len))
+ static basic_json from_msgpack(detail::span_input_adapter&& i,
+ const bool strict = true,
+ const bool allow_exceptions = true)
+ {
+ basic_json result;
+ detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
+ auto ia = i.get();
+ // NOLINTNEXTLINE(hicpp-move-const-arg,performance-move-const-arg)
+ const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::msgpack, &sdp, strict);
+ return res ? result : basic_json(value_t::discarded);
+ }
+
+ /// @brief create a JSON value from an input in UBJSON format
+ /// @sa https://json.nlohmann.me/api/basic_json/from_ubjson/
+ template<typename InputType>
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json from_ubjson(InputType&& i,
+ const bool strict = true,
+ const bool allow_exceptions = true)
+ {
+ basic_json result;
+ detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
+ auto ia = detail::input_adapter(std::forward<InputType>(i));
+ const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::ubjson, &sdp, strict);
+ return res ? result : basic_json(value_t::discarded);
+ }
+
+ /// @brief create a JSON value from an input in UBJSON format
+ /// @sa https://json.nlohmann.me/api/basic_json/from_ubjson/
+ template<typename IteratorType>
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json from_ubjson(IteratorType first, IteratorType last,
+ const bool strict = true,
+ const bool allow_exceptions = true)
+ {
+ basic_json result;
+ detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
+ auto ia = detail::input_adapter(std::move(first), std::move(last));
+ const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::ubjson, &sdp, strict);
+ return res ? result : basic_json(value_t::discarded);
+ }
+
+ template<typename T>
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_ubjson(ptr, ptr + len))
+ static basic_json from_ubjson(const T* ptr, std::size_t len,
+ const bool strict = true,
+ const bool allow_exceptions = true)
+ {
+ return from_ubjson(ptr, ptr + len, strict, allow_exceptions);
+ }
+
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_ubjson(ptr, ptr + len))
+ static basic_json from_ubjson(detail::span_input_adapter&& i,
+ const bool strict = true,
+ const bool allow_exceptions = true)
+ {
+ basic_json result;
+ detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
+ auto ia = i.get();
+ // NOLINTNEXTLINE(hicpp-move-const-arg,performance-move-const-arg)
+ const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::ubjson, &sdp, strict);
+ return res ? result : basic_json(value_t::discarded);
+ }
+
+ /// @brief create a JSON value from an input in BSON format
+ /// @sa https://json.nlohmann.me/api/basic_json/from_bson/
+ template<typename InputType>
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json from_bson(InputType&& i,
+ const bool strict = true,
+ const bool allow_exceptions = true)
+ {
+ basic_json result;
+ detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
+ auto ia = detail::input_adapter(std::forward<InputType>(i));
+ const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::bson, &sdp, strict);
+ return res ? result : basic_json(value_t::discarded);
+ }
+
+ /// @brief create a JSON value from an input in BSON format
+ /// @sa https://json.nlohmann.me/api/basic_json/from_bson/
+ template<typename IteratorType>
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json from_bson(IteratorType first, IteratorType last,
+ const bool strict = true,
+ const bool allow_exceptions = true)
+ {
+ basic_json result;
+ detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
+ auto ia = detail::input_adapter(std::move(first), std::move(last));
+ const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::bson, &sdp, strict);
+ return res ? result : basic_json(value_t::discarded);
+ }
+
+ template<typename T>
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_bson(ptr, ptr + len))
+ static basic_json from_bson(const T* ptr, std::size_t len,
+ const bool strict = true,
+ const bool allow_exceptions = true)
+ {
+ return from_bson(ptr, ptr + len, strict, allow_exceptions);
+ }
+
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ JSON_HEDLEY_DEPRECATED_FOR(3.8.0, from_bson(ptr, ptr + len))
+ static basic_json from_bson(detail::span_input_adapter&& i,
+ const bool strict = true,
+ const bool allow_exceptions = true)
+ {
+ basic_json result;
+ detail::json_sax_dom_parser<basic_json> sdp(result, allow_exceptions);
+ auto ia = i.get();
+ // NOLINTNEXTLINE(hicpp-move-const-arg,performance-move-const-arg)
+ const bool res = binary_reader<decltype(ia)>(std::move(ia)).sax_parse(input_format_t::bson, &sdp, strict);
+ return res ? result : basic_json(value_t::discarded);
+ }
+ /// @}
+
+ //////////////////////////
+ // JSON Pointer support //
+ //////////////////////////
+
+ /// @name JSON Pointer functions
+ /// @{
+
+ /// @brief access specified element via JSON Pointer
+ /// @sa https://json.nlohmann.me/api/basic_json/operator%5B%5D/
+ reference operator[](const json_pointer& ptr)
+ {
+ return ptr.get_unchecked(this);
+ }
+
+ /// @brief access specified element via JSON Pointer
+ /// @sa https://json.nlohmann.me/api/basic_json/operator%5B%5D/
+ const_reference operator[](const json_pointer& ptr) const
+ {
+ return ptr.get_unchecked(this);
+ }
+
+ /// @brief access specified element via JSON Pointer
+ /// @sa https://json.nlohmann.me/api/basic_json/at/
+ reference at(const json_pointer& ptr)
+ {
+ return ptr.get_checked(this);
+ }
+
+ /// @brief access specified element via JSON Pointer
+ /// @sa https://json.nlohmann.me/api/basic_json/at/
+ const_reference at(const json_pointer& ptr) const
+ {
+ return ptr.get_checked(this);
+ }
+
+ /// @brief return flattened JSON value
+ /// @sa https://json.nlohmann.me/api/basic_json/flatten/
+ basic_json flatten() const
+ {
+ basic_json result(value_t::object);
+ json_pointer::flatten("", *this, result);
+ return result;
+ }
+
+ /// @brief unflatten a previously flattened JSON value
+ /// @sa https://json.nlohmann.me/api/basic_json/unflatten/
+ basic_json unflatten() const
+ {
+ return json_pointer::unflatten(*this);
+ }
+
+ /// @}
+
+ //////////////////////////
+ // JSON Patch functions //
+ //////////////////////////
+
+ /// @name JSON Patch functions
+ /// @{
+
+ /// @brief applies a JSON patch
+ /// @sa https://json.nlohmann.me/api/basic_json/patch/
+ basic_json patch(const basic_json& json_patch) const
+ {
+ // make a working copy to apply the patch to
+ basic_json result = *this;
+
+ // the valid JSON Patch operations
+ enum class patch_operations {add, remove, replace, move, copy, test, invalid};
+
+ const auto get_op = [](const std::string & op)
+ {
+ if (op == "add")
+ {
+ return patch_operations::add;
+ }
+ if (op == "remove")
+ {
+ return patch_operations::remove;
+ }
+ if (op == "replace")
+ {
+ return patch_operations::replace;
+ }
+ if (op == "move")
+ {
+ return patch_operations::move;
+ }
+ if (op == "copy")
+ {
+ return patch_operations::copy;
+ }
+ if (op == "test")
+ {
+ return patch_operations::test;
+ }
+
+ return patch_operations::invalid;
+ };
+
+ // wrapper for "add" operation; add value at ptr
+ const auto operation_add = [&result](json_pointer & ptr, basic_json val)
+ {
+ // adding to the root of the target document means replacing it
+ if (ptr.empty())
+ {
+ result = val;
+ return;
+ }
+
+ // make sure the top element of the pointer exists
+ json_pointer top_pointer = ptr.top();
+ if (top_pointer != ptr)
+ {
+ result.at(top_pointer);
+ }
+
+ // get reference to parent of JSON pointer ptr
+ const auto last_path = ptr.back();
+ ptr.pop_back();
+ basic_json& parent = result[ptr];
+
+ switch (parent.m_type)
+ {
+ case value_t::null:
+ case value_t::object:
+ {
+ // use operator[] to add value
+ parent[last_path] = val;
+ break;
+ }
+
+ case value_t::array:
+ {
+ if (last_path == "-")
+ {
+ // special case: append to back
+ parent.push_back(val);
+ }
+ else
+ {
+ const auto idx = json_pointer::array_index(last_path);
+ if (JSON_HEDLEY_UNLIKELY(idx > parent.size()))
+ {
+ // avoid undefined behavior
+ JSON_THROW(out_of_range::create(401, "array index " + std::to_string(idx) + " is out of range", parent));
+ }
+
+ // default case: insert add offset
+ parent.insert(parent.begin() + static_cast<difference_type>(idx), val);
+ }
+ break;
+ }
+
+ // if there exists a parent it cannot be primitive
+ case value_t::string: // LCOV_EXCL_LINE
+ case value_t::boolean: // LCOV_EXCL_LINE
+ case value_t::number_integer: // LCOV_EXCL_LINE
+ case value_t::number_unsigned: // LCOV_EXCL_LINE
+ case value_t::number_float: // LCOV_EXCL_LINE
+ case value_t::binary: // LCOV_EXCL_LINE
+ case value_t::discarded: // LCOV_EXCL_LINE
+ default: // LCOV_EXCL_LINE
+ JSON_ASSERT(false); // NOLINT(cert-dcl03-c,hicpp-static-assert,misc-static-assert) LCOV_EXCL_LINE
+ }
+ };
+
+ // wrapper for "remove" operation; remove value at ptr
+ const auto operation_remove = [this, &result](json_pointer & ptr)
+ {
+ // get reference to parent of JSON pointer ptr
+ const auto last_path = ptr.back();
+ ptr.pop_back();
+ basic_json& parent = result.at(ptr);
+
+ // remove child
+ if (parent.is_object())
+ {
+ // perform range check
+ auto it = parent.find(last_path);
+ if (JSON_HEDLEY_LIKELY(it != parent.end()))
+ {
+ parent.erase(it);
+ }
+ else
+ {
+ JSON_THROW(out_of_range::create(403, "key '" + last_path + "' not found", *this));
+ }
+ }
+ else if (parent.is_array())
+ {
+ // note erase performs range check
+ parent.erase(json_pointer::array_index(last_path));
+ }
+ };
+
+ // type check: top level value must be an array
+ if (JSON_HEDLEY_UNLIKELY(!json_patch.is_array()))
+ {
+ JSON_THROW(parse_error::create(104, 0, "JSON patch must be an array of objects", json_patch));
+ }
+
+ // iterate and apply the operations
+ for (const auto& val : json_patch)
+ {
+ // wrapper to get a value for an operation
+ const auto get_value = [&val](const std::string & op,
+ const std::string & member,
+ bool string_type) -> basic_json &
+ {
+ // find value
+ auto it = val.m_value.object->find(member);
+
+ // context-sensitive error message
+ const auto error_msg = (op == "op") ? "operation" : "operation '" + op + "'";
+
+ // check if desired value is present
+ if (JSON_HEDLEY_UNLIKELY(it == val.m_value.object->end()))
+ {
+ // NOLINTNEXTLINE(performance-inefficient-string-concatenation)
+ JSON_THROW(parse_error::create(105, 0, error_msg + " must have member '" + member + "'", val));
+ }
+
+ // check if result is of type string
+ if (JSON_HEDLEY_UNLIKELY(string_type && !it->second.is_string()))
+ {
+ // NOLINTNEXTLINE(performance-inefficient-string-concatenation)
+ JSON_THROW(parse_error::create(105, 0, error_msg + " must have string member '" + member + "'", val));
+ }
+
+ // no error: return value
+ return it->second;
+ };
+
+ // type check: every element of the array must be an object
+ if (JSON_HEDLEY_UNLIKELY(!val.is_object()))
+ {
+ JSON_THROW(parse_error::create(104, 0, "JSON patch must be an array of objects", val));
+ }
+
+ // collect mandatory members
+ const auto op = get_value("op", "op", true).template get<std::string>();
+ const auto path = get_value(op, "path", true).template get<std::string>();
+ json_pointer ptr(path);
+
+ switch (get_op(op))
+ {
+ case patch_operations::add:
+ {
+ operation_add(ptr, get_value("add", "value", false));
+ break;
+ }
+
+ case patch_operations::remove:
+ {
+ operation_remove(ptr);
+ break;
+ }
+
+ case patch_operations::replace:
+ {
+ // the "path" location must exist - use at()
+ result.at(ptr) = get_value("replace", "value", false);
+ break;
+ }
+
+ case patch_operations::move:
+ {
+ const auto from_path = get_value("move", "from", true).template get<std::string>();
+ json_pointer from_ptr(from_path);
+
+ // the "from" location must exist - use at()
+ basic_json v = result.at(from_ptr);
+
+ // The move operation is functionally identical to a
+ // "remove" operation on the "from" location, followed
+ // immediately by an "add" operation at the target
+ // location with the value that was just removed.
+ operation_remove(from_ptr);
+ operation_add(ptr, v);
+ break;
+ }
+
+ case patch_operations::copy:
+ {
+ const auto from_path = get_value("copy", "from", true).template get<std::string>();
+ const json_pointer from_ptr(from_path);
+
+ // the "from" location must exist - use at()
+ basic_json v = result.at(from_ptr);
+
+ // The copy is functionally identical to an "add"
+ // operation at the target location using the value
+ // specified in the "from" member.
+ operation_add(ptr, v);
+ break;
+ }
+
+ case patch_operations::test:
+ {
+ bool success = false;
+ JSON_TRY
+ {
+ // check if "value" matches the one at "path"
+ // the "path" location must exist - use at()
+ success = (result.at(ptr) == get_value("test", "value", false));
+ }
+ JSON_INTERNAL_CATCH (out_of_range&)
+ {
+ // ignore out of range errors: success remains false
+ }
+
+ // throw an exception if test fails
+ if (JSON_HEDLEY_UNLIKELY(!success))
+ {
+ JSON_THROW(other_error::create(501, "unsuccessful: " + val.dump(), val));
+ }
+
+ break;
+ }
+
+ case patch_operations::invalid:
+ default:
+ {
+ // op must be "add", "remove", "replace", "move", "copy", or
+ // "test"
+ JSON_THROW(parse_error::create(105, 0, "operation value '" + op + "' is invalid", val));
+ }
+ }
+ }
+
+ return result;
+ }
+
+ /// @brief creates a diff as a JSON patch
+ /// @sa https://json.nlohmann.me/api/basic_json/diff/
+ JSON_HEDLEY_WARN_UNUSED_RESULT
+ static basic_json diff(const basic_json& source, const basic_json& target,
+ const std::string& path = "")
+ {
+ // the patch
+ basic_json result(value_t::array);
+
+ // if the values are the same, return empty patch
+ if (source == target)
+ {
+ return result;
+ }
+
+ if (source.type() != target.type())
+ {
+ // different types: replace value
+ result.push_back(
+ {
+ {"op", "replace"}, {"path", path}, {"value", target}
+ });
+ return result;
+ }
+
+ switch (source.type())
+ {
+ case value_t::array:
+ {
+ // first pass: traverse common elements
+ std::size_t i = 0;
+ while (i < source.size() && i < target.size())
+ {
+ // recursive call to compare array values at index i
+ auto temp_diff = diff(source[i], target[i], path + "/" + std::to_string(i));
+ result.insert(result.end(), temp_diff.begin(), temp_diff.end());
+ ++i;
+ }
+
+ // We now reached the end of at least one array
+ // in a second pass, traverse the remaining elements
+
+ // remove my remaining elements
+ const auto end_index = static_cast<difference_type>(result.size());
+ while (i < source.size())
+ {
+ // add operations in reverse order to avoid invalid
+ // indices
+ result.insert(result.begin() + end_index, object(
+ {
+ {"op", "remove"},
+ {"path", path + "/" + std::to_string(i)}
+ }));
+ ++i;
+ }
+
+ // add other remaining elements
+ while (i < target.size())
+ {
+ result.push_back(
+ {
+ {"op", "add"},
+ {"path", path + "/-"},
+ {"value", target[i]}
+ });
+ ++i;
+ }
+
+ break;
+ }
+
+ case value_t::object:
+ {
+ // first pass: traverse this object's elements
+ for (auto it = source.cbegin(); it != source.cend(); ++it)
+ {
+ // escape the key name to be used in a JSON patch
+ const auto path_key = path + "/" + detail::escape(it.key());
+
+ if (target.find(it.key()) != target.end())
+ {
+ // recursive call to compare object values at key it
+ auto temp_diff = diff(it.value(), target[it.key()], path_key);
+ result.insert(result.end(), temp_diff.begin(), temp_diff.end());
+ }
+ else
+ {
+ // found a key that is not in o -> remove it
+ result.push_back(object(
+ {
+ {"op", "remove"}, {"path", path_key}
+ }));
+ }
+ }
+
+ // second pass: traverse other object's elements
+ for (auto it = target.cbegin(); it != target.cend(); ++it)
+ {
+ if (source.find(it.key()) == source.end())
+ {
+ // found a key that is not in this -> add it
+ const auto path_key = path + "/" + detail::escape(it.key());
+ result.push_back(
+ {
+ {"op", "add"}, {"path", path_key},
+ {"value", it.value()}
+ });
+ }
+ }
+
+ break;
+ }
+
+ case value_t::null:
+ case value_t::string:
+ case value_t::boolean:
+ case value_t::number_integer:
+ case value_t::number_unsigned:
+ case value_t::number_float:
+ case value_t::binary:
+ case value_t::discarded:
+ default:
+ {
+ // both primitive type: replace value
+ result.push_back(
+ {
+ {"op", "replace"}, {"path", path}, {"value", target}
+ });
+ break;
+ }
+ }
+
+ return result;
+ }
+
+ /// @}
+
+ ////////////////////////////////
+ // JSON Merge Patch functions //
+ ////////////////////////////////
+
+ /// @name JSON Merge Patch functions
+ /// @{
+
+ /// @brief applies a JSON Merge Patch
+ /// @sa https://json.nlohmann.me/api/basic_json/merge_patch/
+ void merge_patch(const basic_json& apply_patch)
+ {
+ if (apply_patch.is_object())
+ {
+ if (!is_object())
+ {
+ *this = object();
+ }
+ for (auto it = apply_patch.begin(); it != apply_patch.end(); ++it)
+ {
+ if (it.value().is_null())
+ {
+ erase(it.key());
+ }
+ else
+ {
+ operator[](it.key()).merge_patch(it.value());
+ }
+ }
+ }
+ else
+ {
+ *this = apply_patch;
+ }
+ }
+
+ /// @}
+};
+
+/// @brief user-defined to_string function for JSON values
+/// @sa https://json.nlohmann.me/api/basic_json/to_string/
+NLOHMANN_BASIC_JSON_TPL_DECLARATION
+std::string to_string(const NLOHMANN_BASIC_JSON_TPL& j)
+{
+ return j.dump();
+}
+
+} // namespace nlohmann
+
+///////////////////////
+// nonmember support //
+///////////////////////
+
+namespace std // NOLINT(cert-dcl58-cpp)
+{
+
+/// @brief hash value for JSON objects
+/// @sa https://json.nlohmann.me/api/basic_json/std_hash/
+NLOHMANN_BASIC_JSON_TPL_DECLARATION
+struct hash<nlohmann::NLOHMANN_BASIC_JSON_TPL>
+{
+ std::size_t operator()(const nlohmann::NLOHMANN_BASIC_JSON_TPL& j) const
+ {
+ return nlohmann::detail::hash(j);
+ }
+};
+
+// specialization for std::less<value_t>
+template<>
+struct less< ::nlohmann::detail::value_t> // do not remove the space after '<', see https://github.com/nlohmann/json/pull/679
+{
+ /*!
+ @brief compare two value_t enum values
+ @since version 3.0.0
+ */
+ bool operator()(nlohmann::detail::value_t lhs,
+ nlohmann::detail::value_t rhs) const noexcept
+ {
+ return nlohmann::detail::operator<(lhs, rhs);
+ }
+};
+
+// C++20 prohibit function specialization in the std namespace.
+#ifndef JSON_HAS_CPP_20
+
+/// @brief exchanges the values of two JSON objects
+/// @sa https://json.nlohmann.me/api/basic_json/std_swap/
+NLOHMANN_BASIC_JSON_TPL_DECLARATION
+inline void swap(nlohmann::NLOHMANN_BASIC_JSON_TPL& j1, nlohmann::NLOHMANN_BASIC_JSON_TPL& j2) noexcept( // NOLINT(readability-inconsistent-declaration-parameter-name)
+ is_nothrow_move_constructible<nlohmann::NLOHMANN_BASIC_JSON_TPL>::value&& // NOLINT(misc-redundant-expression)
+ is_nothrow_move_assignable<nlohmann::NLOHMANN_BASIC_JSON_TPL>::value)
+{
+ j1.swap(j2);
+}
+
+#endif
+
+} // namespace std
+
+/// @brief user-defined string literal for JSON values
+/// @sa https://json.nlohmann.me/api/basic_json/operator_literal_json/
+JSON_HEDLEY_NON_NULL(1)
+inline nlohmann::json operator "" _json(const char* s, std::size_t n)
+{
+ return nlohmann::json::parse(s, s + n);
+}
+
+/// @brief user-defined string literal for JSON pointer
+/// @sa https://json.nlohmann.me/api/basic_json/operator_literal_json_pointer/
+JSON_HEDLEY_NON_NULL(1)
+inline nlohmann::json::json_pointer operator "" _json_pointer(const char* s, std::size_t n)
+{
+ return nlohmann::json::json_pointer(std::string(s, n));
+}
+
+// #include <nlohmann/detail/macro_unscope.hpp>
+
+
+// restore clang diagnostic settings
+#if defined(__clang__)
+ #pragma clang diagnostic pop
+#endif
+
+// clean up
+#undef JSON_ASSERT
+#undef JSON_INTERNAL_CATCH
+#undef JSON_CATCH
+#undef JSON_THROW
+#undef JSON_TRY
+#undef JSON_PRIVATE_UNLESS_TESTED
+#undef JSON_HAS_CPP_11
+#undef JSON_HAS_CPP_14
+#undef JSON_HAS_CPP_17
+#undef JSON_HAS_CPP_20
+#undef JSON_HAS_FILESYSTEM
+#undef JSON_HAS_EXPERIMENTAL_FILESYSTEM
+#undef NLOHMANN_BASIC_JSON_TPL_DECLARATION
+#undef NLOHMANN_BASIC_JSON_TPL
+#undef JSON_EXPLICIT
+#undef NLOHMANN_CAN_CALL_STD_FUNC_IMPL
+
+// #include <nlohmann/thirdparty/hedley/hedley_undef.hpp>
+
+
+#undef JSON_HEDLEY_ALWAYS_INLINE
+#undef JSON_HEDLEY_ARM_VERSION
+#undef JSON_HEDLEY_ARM_VERSION_CHECK
+#undef JSON_HEDLEY_ARRAY_PARAM
+#undef JSON_HEDLEY_ASSUME
+#undef JSON_HEDLEY_BEGIN_C_DECLS
+#undef JSON_HEDLEY_CLANG_HAS_ATTRIBUTE
+#undef JSON_HEDLEY_CLANG_HAS_BUILTIN
+#undef JSON_HEDLEY_CLANG_HAS_CPP_ATTRIBUTE
+#undef JSON_HEDLEY_CLANG_HAS_DECLSPEC_DECLSPEC_ATTRIBUTE
+#undef JSON_HEDLEY_CLANG_HAS_EXTENSION
+#undef JSON_HEDLEY_CLANG_HAS_FEATURE
+#undef JSON_HEDLEY_CLANG_HAS_WARNING
+#undef JSON_HEDLEY_COMPCERT_VERSION
+#undef JSON_HEDLEY_COMPCERT_VERSION_CHECK
+#undef JSON_HEDLEY_CONCAT
+#undef JSON_HEDLEY_CONCAT3
+#undef JSON_HEDLEY_CONCAT3_EX
+#undef JSON_HEDLEY_CONCAT_EX
+#undef JSON_HEDLEY_CONST
+#undef JSON_HEDLEY_CONSTEXPR
+#undef JSON_HEDLEY_CONST_CAST
+#undef JSON_HEDLEY_CPP_CAST
+#undef JSON_HEDLEY_CRAY_VERSION
+#undef JSON_HEDLEY_CRAY_VERSION_CHECK
+#undef JSON_HEDLEY_C_DECL
+#undef JSON_HEDLEY_DEPRECATED
+#undef JSON_HEDLEY_DEPRECATED_FOR
+#undef JSON_HEDLEY_DIAGNOSTIC_DISABLE_CAST_QUAL
+#undef JSON_HEDLEY_DIAGNOSTIC_DISABLE_CPP98_COMPAT_WRAP_
+#undef JSON_HEDLEY_DIAGNOSTIC_DISABLE_DEPRECATED
+#undef JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_CPP_ATTRIBUTES
+#undef JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNKNOWN_PRAGMAS
+#undef JSON_HEDLEY_DIAGNOSTIC_DISABLE_UNUSED_FUNCTION
+#undef JSON_HEDLEY_DIAGNOSTIC_POP
+#undef JSON_HEDLEY_DIAGNOSTIC_PUSH
+#undef JSON_HEDLEY_DMC_VERSION
+#undef JSON_HEDLEY_DMC_VERSION_CHECK
+#undef JSON_HEDLEY_EMPTY_BASES
+#undef JSON_HEDLEY_EMSCRIPTEN_VERSION
+#undef JSON_HEDLEY_EMSCRIPTEN_VERSION_CHECK
+#undef JSON_HEDLEY_END_C_DECLS
+#undef JSON_HEDLEY_FLAGS
+#undef JSON_HEDLEY_FLAGS_CAST
+#undef JSON_HEDLEY_GCC_HAS_ATTRIBUTE
+#undef JSON_HEDLEY_GCC_HAS_BUILTIN
+#undef JSON_HEDLEY_GCC_HAS_CPP_ATTRIBUTE
+#undef JSON_HEDLEY_GCC_HAS_DECLSPEC_ATTRIBUTE
+#undef JSON_HEDLEY_GCC_HAS_EXTENSION
+#undef JSON_HEDLEY_GCC_HAS_FEATURE
+#undef JSON_HEDLEY_GCC_HAS_WARNING
+#undef JSON_HEDLEY_GCC_NOT_CLANG_VERSION_CHECK
+#undef JSON_HEDLEY_GCC_VERSION
+#undef JSON_HEDLEY_GCC_VERSION_CHECK
+#undef JSON_HEDLEY_GNUC_HAS_ATTRIBUTE
+#undef JSON_HEDLEY_GNUC_HAS_BUILTIN
+#undef JSON_HEDLEY_GNUC_HAS_CPP_ATTRIBUTE
+#undef JSON_HEDLEY_GNUC_HAS_DECLSPEC_ATTRIBUTE
+#undef JSON_HEDLEY_GNUC_HAS_EXTENSION
+#undef JSON_HEDLEY_GNUC_HAS_FEATURE
+#undef JSON_HEDLEY_GNUC_HAS_WARNING
+#undef JSON_HEDLEY_GNUC_VERSION
+#undef JSON_HEDLEY_GNUC_VERSION_CHECK
+#undef JSON_HEDLEY_HAS_ATTRIBUTE
+#undef JSON_HEDLEY_HAS_BUILTIN
+#undef JSON_HEDLEY_HAS_CPP_ATTRIBUTE
+#undef JSON_HEDLEY_HAS_CPP_ATTRIBUTE_NS
+#undef JSON_HEDLEY_HAS_DECLSPEC_ATTRIBUTE
+#undef JSON_HEDLEY_HAS_EXTENSION
+#undef JSON_HEDLEY_HAS_FEATURE
+#undef JSON_HEDLEY_HAS_WARNING
+#undef JSON_HEDLEY_IAR_VERSION
+#undef JSON_HEDLEY_IAR_VERSION_CHECK
+#undef JSON_HEDLEY_IBM_VERSION
+#undef JSON_HEDLEY_IBM_VERSION_CHECK
+#undef JSON_HEDLEY_IMPORT
+#undef JSON_HEDLEY_INLINE
+#undef JSON_HEDLEY_INTEL_CL_VERSION
+#undef JSON_HEDLEY_INTEL_CL_VERSION_CHECK
+#undef JSON_HEDLEY_INTEL_VERSION
+#undef JSON_HEDLEY_INTEL_VERSION_CHECK
+#undef JSON_HEDLEY_IS_CONSTANT
+#undef JSON_HEDLEY_IS_CONSTEXPR_
+#undef JSON_HEDLEY_LIKELY
+#undef JSON_HEDLEY_MALLOC
+#undef JSON_HEDLEY_MCST_LCC_VERSION
+#undef JSON_HEDLEY_MCST_LCC_VERSION_CHECK
+#undef JSON_HEDLEY_MESSAGE
+#undef JSON_HEDLEY_MSVC_VERSION
+#undef JSON_HEDLEY_MSVC_VERSION_CHECK
+#undef JSON_HEDLEY_NEVER_INLINE
+#undef JSON_HEDLEY_NON_NULL
+#undef JSON_HEDLEY_NO_ESCAPE
+#undef JSON_HEDLEY_NO_RETURN
+#undef JSON_HEDLEY_NO_THROW
+#undef JSON_HEDLEY_NULL
+#undef JSON_HEDLEY_PELLES_VERSION
+#undef JSON_HEDLEY_PELLES_VERSION_CHECK
+#undef JSON_HEDLEY_PGI_VERSION
+#undef JSON_HEDLEY_PGI_VERSION_CHECK
+#undef JSON_HEDLEY_PREDICT
+#undef JSON_HEDLEY_PRINTF_FORMAT
+#undef JSON_HEDLEY_PRIVATE
+#undef JSON_HEDLEY_PUBLIC
+#undef JSON_HEDLEY_PURE
+#undef JSON_HEDLEY_REINTERPRET_CAST
+#undef JSON_HEDLEY_REQUIRE
+#undef JSON_HEDLEY_REQUIRE_CONSTEXPR
+#undef JSON_HEDLEY_REQUIRE_MSG
+#undef JSON_HEDLEY_RESTRICT
+#undef JSON_HEDLEY_RETURNS_NON_NULL
+#undef JSON_HEDLEY_SENTINEL
+#undef JSON_HEDLEY_STATIC_ASSERT
+#undef JSON_HEDLEY_STATIC_CAST
+#undef JSON_HEDLEY_STRINGIFY
+#undef JSON_HEDLEY_STRINGIFY_EX
+#undef JSON_HEDLEY_SUNPRO_VERSION
+#undef JSON_HEDLEY_SUNPRO_VERSION_CHECK
+#undef JSON_HEDLEY_TINYC_VERSION
+#undef JSON_HEDLEY_TINYC_VERSION_CHECK
+#undef JSON_HEDLEY_TI_ARMCL_VERSION
+#undef JSON_HEDLEY_TI_ARMCL_VERSION_CHECK
+#undef JSON_HEDLEY_TI_CL2000_VERSION
+#undef JSON_HEDLEY_TI_CL2000_VERSION_CHECK
+#undef JSON_HEDLEY_TI_CL430_VERSION
+#undef JSON_HEDLEY_TI_CL430_VERSION_CHECK
+#undef JSON_HEDLEY_TI_CL6X_VERSION
+#undef JSON_HEDLEY_TI_CL6X_VERSION_CHECK
+#undef JSON_HEDLEY_TI_CL7X_VERSION
+#undef JSON_HEDLEY_TI_CL7X_VERSION_CHECK
+#undef JSON_HEDLEY_TI_CLPRU_VERSION
+#undef JSON_HEDLEY_TI_CLPRU_VERSION_CHECK
+#undef JSON_HEDLEY_TI_VERSION
+#undef JSON_HEDLEY_TI_VERSION_CHECK
+#undef JSON_HEDLEY_UNAVAILABLE
+#undef JSON_HEDLEY_UNLIKELY
+#undef JSON_HEDLEY_UNPREDICTABLE
+#undef JSON_HEDLEY_UNREACHABLE
+#undef JSON_HEDLEY_UNREACHABLE_RETURN
+#undef JSON_HEDLEY_VERSION
+#undef JSON_HEDLEY_VERSION_DECODE_MAJOR
+#undef JSON_HEDLEY_VERSION_DECODE_MINOR
+#undef JSON_HEDLEY_VERSION_DECODE_REVISION
+#undef JSON_HEDLEY_VERSION_ENCODE
+#undef JSON_HEDLEY_WARNING
+#undef JSON_HEDLEY_WARN_UNUSED_RESULT
+#undef JSON_HEDLEY_WARN_UNUSED_RESULT_MSG
+#undef JSON_HEDLEY_FALL_THROUGH
+
+
+
+#endif // INCLUDE_NLOHMANN_JSON_HPP_
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/platform.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/platform.cc
index 6cda5c075b4..e6ae413b789 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/platform.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/platform.cc
@@ -14,9 +14,14 @@
#include "internal/platform/implementation/platform.h"
+#include <windows.h>
+#include <winver.h>
+#include <PathCch.h>
#include <knownfolders.h>
+#include <psapi.h>
#include <shlobj.h>
-#include <windows.h>
+#include <shlwapi.h>
+#include <strsafe.h>
#include <memory>
#include <sstream>
@@ -49,8 +54,12 @@
namespace location {
namespace nearby {
namespace api {
-std::string ImplementationPlatform::GetDownloadPath(std::string& parent_folder,
- std::string& file_name) {
+
+namespace {
+constexpr absl::string_view kUpOneLevel("/..");
+
+std::string GetDownloadPathInternal(std::string& parent_folder,
+ std::string& file_name) {
PWSTR basePath;
// Retrieves the full path of a known folder identified by the folder's
@@ -69,9 +78,10 @@ std::string ImplementationPlatform::GetDownloadPath(std::string& parent_folder,
// SHGetKnownFolderPath succeeds or not.
size_t bufferSize;
wcstombs_s(&bufferSize, NULL, 0, basePath, 0);
- std::string fullpathUTF8(bufferSize, '\0');
+ std::string fullpathUTF8(bufferSize - 1, '\0');
wcstombs_s(&bufferSize, fullpathUTF8.data(), bufferSize, basePath, _TRUNCATE);
- std::string fullPath = fullpathUTF8;
+
+ std::replace(fullpathUTF8.begin(), fullpathUTF8.end(), '\\', '/');
// If parent_folder starts with a \\ or /, then strip it
while (!parent_folder.empty() &&
@@ -102,25 +112,171 @@ std::string ImplementationPlatform::GetDownloadPath(std::string& parent_folder,
std::stringstream path("");
if (parent_folder.empty() && file_name.empty()) {
- return fullPath;
+ return fullpathUTF8;
}
if (parent_folder.empty()) {
- path << fullPath.c_str() << "\\" << file_name.c_str();
+ path << fullpathUTF8.c_str() << "/" << file_name.c_str();
std::string retVal = path.str();
return retVal;
}
if (file_name.empty()) {
- path << fullPath.c_str() << "\\" << parent_folder.c_str();
+ path << fullpathUTF8.c_str() << "/" << parent_folder.c_str();
std::string retVal = path.str();
return retVal;
}
- path << fullPath.c_str() << "\\" << parent_folder.c_str() << "\\"
+ path << fullpathUTF8.c_str() << "/" << parent_folder.c_str() << "/"
<< file_name.c_str();
std::string retVal = path.str();
return retVal;
}
+void SanitizePath(std::string& path) {
+ size_t pos = std::string::npos;
+ // Search for the substring in string in a loop until nothing is found
+ while ((pos = path.find(kUpOneLevel.data())) != std::string::npos) {
+ // If found then erase it from string
+ path.erase(pos, kUpOneLevel.size());
+ }
+}
+
+// If the file already exists we add " (x)", where x is an incrementing number,
+// starting at 1, using the next non-existing number, to the file name, just
+// before the first dot, or at the end if no dot. The absolute path is returned.
+std::string CreateOutputFileWithRename(absl::string_view path) {
+ // Remove any /..
+ std::string sanitized_path(path);
+ std::replace(sanitized_path.begin(), sanitized_path.end(), '\\', '/');
+ SanitizePath(sanitized_path);
+
+ auto last_separator = sanitized_path.find_last_of('/');
+ std::string folder(sanitized_path.substr(0, last_separator));
+ std::string file_name(sanitized_path.substr(last_separator));
+
+ int count = 0;
+
+ // Locate the first dot
+ auto first = file_name.find_first_of('.', 0);
+
+ if (first == std::string::npos) {
+ first = file_name.size();
+ }
+
+ // Break the string at the dot.
+ auto file_name1 = file_name.substr(0, first);
+ auto file_name2 = file_name.substr(first);
+
+ // Construct the target file name
+ std::string target(sanitized_path);
+
+ std::fstream file;
+ file.open(target, std::fstream::binary | std::fstream::in);
+
+ // While we successfully open the file, keep incrementing the count.
+ while (!(file.rdstate() & std::ifstream::failbit)) {
+ file.close();
+#undef StrCat
+ target = absl::StrCat(folder, file_name1, " (", ++count, ")", file_name2);
+ file.clear();
+ file.open(target, std::fstream::binary | std::fstream::in);
+ }
+
+ // The above leaves the file open, so close it.
+ file.close();
+
+ return target;
+}
+
+std::string GetApplicationName(DWORD pid) {
+ HANDLE handle =
+ OpenProcess(PROCESS_QUERY_LIMITED_INFORMATION, FALSE,
+ pid); // Modify pid to the pid of your application
+ if (!handle) {
+ return "";
+ }
+
+ std::string szProcessName("", MAX_PATH);
+ DWORD len = MAX_PATH;
+
+ if (NULL != handle) {
+ GetModuleFileNameExA(handle, nullptr, szProcessName.data(), len);
+ }
+
+ szProcessName.resize(szProcessName.find_first_of('\0') + 1);
+
+ auto just_the_file_name_and_ext = szProcessName.substr(
+ szProcessName.find_last_of('\\') + 1,
+ szProcessName.length() - szProcessName.find_last_of('\\') + 1);
+
+ return just_the_file_name_and_ext.substr(
+ 0, just_the_file_name_and_ext.find_last_of('.'));
+}
+
+bool FolderExists(const std::string& folder_name) {
+ DWORD ftyp = GetFileAttributesA(folder_name.c_str());
+
+ if (ftyp == INVALID_FILE_ATTRIBUTES) {
+ return false; // something is wrong with your path!
+ }
+
+ if (ftyp & FILE_ATTRIBUTE_DIRECTORY) {
+ return true;
+ } // this is a directory!
+
+ return false; // this is not a directory!
+}
+
+} // namespace
+
+std::string ImplementationPlatform::GetDownloadPath(std::string& parent_folder,
+ std::string& file_name) {
+ return CreateOutputFileWithRename(
+ GetDownloadPathInternal(parent_folder, file_name));
+}
+
+std::string ImplementationPlatform::GetDownloadPath(std::string& file_name) {
+ std::string fake_parent_path;
+ return GetDownloadPathInternal(fake_parent_path, file_name);
+}
+
+std::string ImplementationPlatform::GetAppDataPath(
+ absl::string_view file_name) {
+ PWSTR basePath;
+
+ // Retrieves the full path of a known folder identified by the folder's
+ // KNOWNFOLDERID.
+ // https://docs.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shgetknownfolderpath
+ SHGetKnownFolderPath(
+ FOLDERID_ProgramData, // rfid: A reference to the KNOWNFOLDERID that
+ // identifies the folder.
+ 0, // dwFlags: Flags that specify special retrieval options.
+ NULL, // hToken: An access token that represents a particular user.
+ &basePath); // ppszPath: When this method returns, contains the address
+ // of a pointer to a null-terminated Unicode string that
+ // specifies the path of the known folder. The calling
+ // process is responsible for freeing this resource once it
+ // is no longer needed by calling CoTaskMemFree, whether
+ // SHGetKnownFolderPath succeeds or not.
+ size_t bufferSize;
+ wcstombs_s(&bufferSize, NULL, 0, basePath, 0);
+ std::string fullpathUTF8(bufferSize - 1, '\0');
+ wcstombs_s(&bufferSize, fullpathUTF8.data(), bufferSize, basePath, _TRUNCATE);
+ CoTaskMemFree(basePath);
+
+ // Get the application image name
+ auto app_name = GetApplicationName(GetCurrentProcessId());
+
+ // Check if our folder exists
+ std::replace(fullpathUTF8.begin(), fullpathUTF8.end(), '\\', '/');
+
+ std::stringstream path("");
+
+ path << fullpathUTF8.c_str() << "/" << app_name.c_str() << "/"
+ << file_name.data();
+
+ return path.str();
+}
+
OSName ImplementationPlatform::GetCurrentOS() { return OSName::kWindows; }
std::unique_ptr<AtomicBoolean> ImplementationPlatform::CreateAtomicBoolean(
@@ -152,8 +308,8 @@ std::unique_ptr<InputFile> ImplementationPlatform::CreateInputFile(
PayloadId payload_id, std::int64_t total_size) {
std::string parent_folder("");
std::string file_name(std::to_string(payload_id));
- return shared::IOFile::CreateInputFile(
- GetDownloadPath(parent_folder, file_name), total_size);
+ return shared::IOFile::CreateInputFile(GetDownloadPath(file_name),
+ total_size);
}
std::unique_ptr<InputFile> ImplementationPlatform::CreateInputFile(
@@ -172,6 +328,19 @@ std::unique_ptr<OutputFile> ImplementationPlatform::CreateOutputFile(
std::unique_ptr<OutputFile> ImplementationPlatform::CreateOutputFile(
absl::string_view file_path) {
+ std::string path(file_path);
+
+ std::string folder_path = path.substr(0, path.find_last_of('/'));
+ // Verifies that a path is a valid directory.
+ // https://docs.microsoft.com/en-us/windows/win32/api/shlwapi/nf-shlwapi-pathisdirectorya
+ if (!PathIsDirectoryA(folder_path.data())) {
+ // This function creates a file system folder whose fully qualified path is
+ // given by pszPath. If one or more of the intermediate folders do not
+ // exist, they are created as well.
+ // https://docs.microsoft.com/en-us/windows/win32/api/shlobj_core/nf-shlobj_core-shcreatedirectoryexa
+ int result = SHCreateDirectoryExA(0, folder_path.data(), nullptr);
+ }
+
return shared::IOFile::CreateOutputFile(file_path);
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/platform_test.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/platform_test.cc
index af04706a2d0..5259f0dc973 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/platform_test.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/platform_test.cc
@@ -14,23 +14,45 @@
#include "internal/platform/implementation/platform.h"
+#include <windows.h>
#include <knownfolders.h>
#include <shlobj.h>
-#include <windows.h>
#include <xstring>
+#include <fstream>
#include "gtest/gtest.h"
+namespace {
+constexpr absl::string_view kFileName("/increment_file_test.txt");
+constexpr absl::string_view kFirstIterationFileName(
+ "/increment_file_test (1).txt");
+constexpr absl::string_view kSecondIterationFileName(
+ "/increment_file_test (2).txt");
+constexpr absl::string_view kThirdIterationFileName(
+ "/increment_file_test (3).txt");
+constexpr absl::string_view kNoDotsFileName("/incrementfiletesttxt");
+constexpr absl::string_view kOneIterationNoDotsFileName(
+ "/incrementfiletesttxt (1)");
+constexpr absl::string_view kMultipleDotsFileName("/increment.file.test.txt");
+constexpr absl::string_view kOneIterationMultipleDotsFileName(
+ "/increment (1).file.test.txt");
+constexpr absl::string_view kImmediateEscape("../");
+constexpr absl::string_view kLongEscapeBackSlash("..\\test\\..\\..\\test");
+constexpr absl::string_view kTwoLevelFolder("/test/test");
+constexpr absl::string_view kLongEscapeSlash("../test/../../test");
+constexpr absl::string_view kLongEscapeMixedSlash("../test\\..\\../test");
+constexpr absl::string_view kLongEscapeEndingEscape("../test/../../test/..");
+constexpr absl::string_view kLongEscapeEndingEscapeWithSlash(
+ "../test/../../test/../../../");
+} // namespace
+
// Can't run on google 3, I presume the SHGetKnownFolderPath
// fails.
-#if 0
-class ImplementationPlatformTests : public testing::Test
-{
+class ImplementationPlatformTests : public testing::Test {
protected:
// You can define per-test set-up logic as usual.
- void SetUp() override
- {
+ void SetUp() override {
PWSTR basePath;
SHGetKnownFolderPath(
@@ -52,18 +74,19 @@ class ImplementationPlatformTests : public testing::Test
size_t bufferSize;
wcstombs_s(&bufferSize, NULL, 0, basePath, 0);
- std::string fullpathUTF8(bufferSize, '\0');
- wcstombs_s(&bufferSize, fullpathUTF8.data(), bufferSize, basePath,
+ default_download_path_.resize(bufferSize - 1, '\0');
+ wcstombs_s(&bufferSize, default_download_path_.data(), bufferSize, basePath,
_TRUNCATE);
- default_download_path_ = fullpathUTF8;
+
+ std::replace(default_download_path_.begin(), default_download_path_.end(),
+ '\\', '/');
}
std::string default_download_path_;
};
-TEST_F(ImplementationPlatformTests,
- GetDownloadPathWithEmptyStringArgumentsShouldReturnBaseDownloadPath)
-{
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithEmptyString\
+ArgumentsShouldReturnBaseDownloadPath) {
// Arrange
std::string parent_folder("");
std::string file_name("");
@@ -76,10 +99,8 @@ TEST_F(ImplementationPlatformTests,
EXPECT_EQ(result, default_download_path_);
}
-TEST_F(ImplementationPlatformTests,
- GetDownloadPathWithSlashParentFolderArgumentsShouldReturn\
-BaseDownloadPath)
-{
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithSlashParent\
+FolderArgumentsShouldReturnBaseDownloadPath) {
// Arrange
std::string parent_folder("/");
std::string file_name("");
@@ -92,10 +113,8 @@ BaseDownloadPath)
EXPECT_EQ(result, default_download_path_);
}
-TEST_F(ImplementationPlatformTests,
- GetDownloadPathWithBackslashParentFolderArgumentsShouldReturn\
-BaseDownloadPath)
-{
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithBackslashParent\
+FolderArgumentsShouldReturnBaseDownloadPath) {
// Arrange
std::string parent_folder("\\");
std::string file_name("");
@@ -108,9 +127,97 @@ BaseDownloadPath)
EXPECT_EQ(result, default_download_path_);
}
-TEST_F(ImplementationPlatformTests,
- GetDownloadPathWithSlashFileNameArgumentsShouldReturnBaseDownloadPath)
-{
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithAttemptToEscape\
+UsersDownloadFolderShouldReturnDownloadPathNotEscapingUsersDownloadFolder) {
+ // Arrange
+ std::string parent_folder(kImmediateEscape);
+ std::string file_name("");
+
+ // Act
+ auto result = location::nearby::api::ImplementationPlatform::GetDownloadPath(
+ parent_folder, file_name);
+
+ // Assert
+ EXPECT_EQ(result, default_download_path_);
+}
+
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithMultiple\
+AttemptsToEscapeUsersDownloadFolderWithBackslashShouldReturnDownloadPath\
+NotEscapingUsersDownloadFolder) {
+ // Arrange
+ std::string parent_folder(kLongEscapeBackSlash);
+ std::string file_name("");
+
+ // Act
+ auto result = location::nearby::api::ImplementationPlatform::GetDownloadPath(
+ parent_folder, file_name);
+
+ // Assert
+ EXPECT_EQ(result, default_download_path_ + kTwoLevelFolder.data());
+}
+
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithMultiple\
+AttemptsToEscapeUsersDownloadFolderShouldReturnDownloadPathNotEscapingUsers\
+DownloadFolder) {
+ // Arrange
+ std::string parent_folder(kLongEscapeSlash);
+ std::string file_name("");
+
+ // Act
+ auto result = location::nearby::api::ImplementationPlatform::GetDownloadPath(
+ parent_folder, file_name);
+
+ // Assert
+ EXPECT_EQ(result, default_download_path_ + kTwoLevelFolder.data());
+}
+
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithMultiple\
+AttemptsToEscapeUsersDownloadFolderWithMixedSlashShouldReturnDownloadPath\
+NotEscapingUsersDownloadFolder) {
+ // Arrange
+ std::string parent_folder(kLongEscapeMixedSlash);
+ std::string file_name("");
+
+ // Act
+ auto result = location::nearby::api::ImplementationPlatform::GetDownloadPath(
+ parent_folder, file_name);
+
+ // Assert
+ EXPECT_EQ(result, default_download_path_ + kTwoLevelFolder.data());
+}
+
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithMultiple\
+AttemptsToEscapeUsersDownloadFolderWithEndingEscapeShouldReturnDownload\
+PathNotEscapingUsersDownloadFolder) {
+ // Arrange
+ std::string parent_folder(kLongEscapeEndingEscape);
+ std::string file_name("");
+
+ // Act
+ auto result = location::nearby::api::ImplementationPlatform::GetDownloadPath(
+ parent_folder, file_name);
+
+ // Assert
+ EXPECT_EQ(result, default_download_path_ + kTwoLevelFolder.data());
+}
+
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithMultiple\
+AttemptsToEscapeUsersDownloadFolderWithEndingSlashShouldReturnDownloadPathNot\
+EscapingUsersDownloadFolder) {
+ // Arrange
+ std::string parent_folder(kLongEscapeEndingEscapeWithSlash);
+ std::string file_name("");
+
+ // Act
+ auto result = location::nearby::api::ImplementationPlatform::GetDownloadPath(
+ parent_folder, file_name);
+
+ // Assert
+ EXPECT_EQ(result, default_download_path_ + kTwoLevelFolder.data());
+}
+
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithSlashFileName\
+ArgumentsShouldReturnBaseDownloadPath) {
// Arrange
std::string parent_folder("");
std::string file_name("/");
@@ -123,10 +230,8 @@ TEST_F(ImplementationPlatformTests,
EXPECT_EQ(result, default_download_path_);
}
-TEST_F(ImplementationPlatformTests,
- GetDownloadPathWithBackslashFileNameArgumentsShouldReturn\
-BaseDownloadPath)
-{
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithBackslashFile\
+NameArgumentsShouldReturnBaseDownloadPath) {
// Arrange
std::string parent_folder("");
std::string file_name("\\");
@@ -142,16 +247,14 @@ BaseDownloadPath)
EXPECT_EQ(result, default_download_path_);
}
-TEST_F(ImplementationPlatformTests,
- GetDownloadPathWithParentFolderShouldReturnParentFolder\
-AppendedToBaseDownloadPath)
-{
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithParentFolder\
+ShouldReturnParentFolderAppendedToBaseDownloadPath) {
// Arrange
std::string parent_folder("test_parent_folder");
std::string file_name("");
std::stringstream path("");
- path << default_download_path_.c_str() << "\\"
+ path << default_download_path_ << "/"
<< "test_parent_folder";
std::string expected = path.str();
@@ -164,16 +267,14 @@ AppendedToBaseDownloadPath)
EXPECT_EQ(result, expected);
}
-TEST_F(ImplementationPlatformTests,
- GetDownloadPathWithParentFolderStartingWithSlashArgumentsShouldReturn\
-ParentFolderAppendedToBaseDownloadPath)
-{
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithParentFolder\
+StartingWithSlashArgumentsShouldReturnParentFolderAppendedToBaseDownloadPath) {
// Arrange
std::string parent_folder("/test_parent_folder");
std::string file_name("");
std::stringstream path("");
- path << default_download_path_.c_str() << "\\"
+ path << default_download_path_ << "/"
<< "test_parent_folder";
std::string expected = path.str();
@@ -186,16 +287,15 @@ ParentFolderAppendedToBaseDownloadPath)
EXPECT_EQ(result, expected);
}
-TEST_F(ImplementationPlatformTests,
- GetDownloadPathWithParentFolderStartingWithBackslashArguments\
-ShouldReturnParentFolderAppendedToBaseDownloadPath)
-{
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithParentFolder\
+StartingWithBackslashArgumentsShouldReturnParentFolderAppendedToBase\
+DownloadPath) {
// Arrange
std::string parent_folder("\\test_parent_folder");
std::string file_name("");
std::stringstream path("");
- path << default_download_path_.c_str() << "\\"
+ path << default_download_path_ << "/"
<< "test_parent_folder";
std::string expected = path.str();
@@ -208,16 +308,14 @@ ShouldReturnParentFolderAppendedToBaseDownloadPath)
EXPECT_EQ(result, expected);
}
-TEST_F(ImplementationPlatformTests,
- GetDownloadPathWithParentFolderEndingWithSlashArgumentsShouldReturn\
-ParentFolderAppendedToBaseDownloadPath)
-{
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithParentFolder\
+EndingWithSlashArgumentsShouldReturnParentFolderAppendedToBaseDownloadPath) {
// Arrange
std::string parent_folder("test_parent_folder/");
std::string file_name("");
std::stringstream path("");
- path << default_download_path_.c_str() << "\\"
+ path << default_download_path_ << "/"
<< "test_parent_folder";
std::string expected = path.str();
@@ -230,16 +328,15 @@ ParentFolderAppendedToBaseDownloadPath)
EXPECT_EQ(result, expected);
}
-TEST_F(ImplementationPlatformTests,
- GetDownloadPathWithParentFolderEndingWithBackslashArguments\
-ShouldReturnParentFolderAppendedToBaseDownloadPath)
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithParentFolder\
+EndingWithBackslashArgumentsShouldReturnParentFolderAppendedToBaseDownloadPath)
{
// Arrange
std::string parent_folder("test_parent_folder\\");
std::string file_name("");
std::stringstream path("");
- path << default_download_path_.c_str() << "\\"
+ path << default_download_path_ << "/"
<< "test_parent_folder";
std::string expected = path.str();
@@ -252,16 +349,14 @@ ShouldReturnParentFolderAppendedToBaseDownloadPath)
EXPECT_EQ(result, expected);
}
-TEST_F(ImplementationPlatformTests,
- GetDownloadPathWithFileNameBeginningWithSlashArgumentsShouldReturn\
-FileNameAppendedToBaseDownloadPath)
-{
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithFileName\
+BeginningWithSlashArgumentsShouldReturnFileNameAppendedToBaseDownloadPath) {
// Arrange
std::string parent_folder("");
std::string file_name("/test_file_name.name");
std::stringstream path("");
- path << default_download_path_.c_str() << "\\"
+ path << default_download_path_ << "/"
<< "test_file_name.name";
std::string expected = path.str();
@@ -274,38 +369,32 @@ FileNameAppendedToBaseDownloadPath)
EXPECT_EQ(result, expected);
}
-TEST_F(ImplementationPlatformTests,
- GetDownloadPathWithFileNameBeginningWithBackslashArgumentsShouldReturn\
-FileNameAppendedToBaseDownloadPath)
-{
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithFileName\
+BeginningWithBackslashArgumentsShouldReturnFileNameAppendedToBaseDownloadPath) {
// Arrange
std::string parent_folder("");
std::string file_name("\\test_file_name.name");
std::stringstream path("");
- path << default_download_path_.c_str() << "\\"
+ path << default_download_path_ << "/"
<< "test_file_name.name";
- std::string expected = path.str();
-
// Act
auto result = location::nearby::api::ImplementationPlatform::GetDownloadPath(
parent_folder, file_name);
// Assert
- EXPECT_EQ(result, expected);
+ EXPECT_EQ(result, path.str().c_str());
}
-TEST_F(ImplementationPlatformTests,
- GetDownloadPathWithFileNameEndingWithSlashArgumentsShouldReturnFileName\
-AppendedToBaseDownloadPath)
-{
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithFileNameEnding\
+WithSlashArgumentsShouldReturnFileNameAppendedToBaseDownloadPath) {
// Arrange
std::string parent_folder("");
std::string file_name("test_file_name.name/");
std::stringstream path("");
- path << default_download_path_.c_str() << "\\"
+ path << default_download_path_ << "/"
<< "test_file_name.name";
std::string expected = path.str();
@@ -318,16 +407,14 @@ AppendedToBaseDownloadPath)
EXPECT_EQ(result, expected);
}
-TEST_F(ImplementationPlatformTests,
- GetDownloadPathWithFileNameEndingWithBackslashArgumentsShouldReturn\
-FileNameAppendedToBaseDownloadPath)
-{
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithFileNameEnding\
+WithBackslashArgumentsShouldReturnFileNameAppendedToBaseDownloadPath) {
// Arrange
std::string parent_folder("");
std::string file_name("test_file_name.name\\");
std::stringstream path("");
- path << default_download_path_.c_str() << "\\"
+ path << default_download_path_ << "/"
<< "test_file_name.name";
std::string expected = path.str();
@@ -340,18 +427,17 @@ FileNameAppendedToBaseDownloadPath)
EXPECT_EQ(result, expected);
}
-TEST_F(ImplementationPlatformTests,
- GetDownloadPathWithParentFolderAndFileNameArgumentsShouldReturn\
-ParentFolderAndFileNameAppendedToBaseDownloadPath)
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithParentFolderAnd\
+FileNameArgumentsShouldReturnParentFolderAndFileNameAppendedToBaseDownloadPath)
{
// Arrange
std::string parent_folder("test_parent_folder");
std::string file_name("test_file_name.name");
std::stringstream path("");
- path << default_download_path_.c_str() << "\\"
+ path << default_download_path_ << "/"
<< "test_parent_folder"
- << "\\"
+ << "/"
<< "test_file_name.name";
std::string expected = path.str();
@@ -364,18 +450,17 @@ ParentFolderAndFileNameAppendedToBaseDownloadPath)
EXPECT_EQ(result, expected);
}
-TEST_F(ImplementationPlatformTests,
- GetDownloadPathWithParentFolderEndingWithBackslashAndFileNameArguments\
-ShouldReturnParentFolderAndFileNameAppendedToBaseDownloadPath)
-{
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithParentFolder\
+EndingWithBackslashAndFileNameArgumentsShouldReturnParentFolderAndFileName\
+AppendedToBaseDownloadPath) {
// Arrange
std::string parent_folder("test_parent_folder\\");
std::string file_name("test_file_name.name");
std::stringstream path("");
- path << default_download_path_.c_str() << "\\"
+ path << default_download_path_ << "/"
<< "test_parent_folder"
- << "\\"
+ << "/"
<< "test_file_name.name";
std::string expected = path.str();
@@ -388,19 +473,17 @@ ShouldReturnParentFolderAndFileNameAppendedToBaseDownloadPath)
EXPECT_EQ(result, expected);
}
-TEST_F(
- ImplementationPlatformTests,
- GetDownloadPathWithFileNameStartingWithBackslashAndParentFolderArguments\
-ShouldReturnParentFolderAndFileNameAppendedToBaseDownloadPath)
-{
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPathWithFileName\
+StartingWithBackslashAndParentFolderArgumentsShouldReturnParentFolderAnd\
+FileNameAppendedToBaseDownloadPath) {
// Arrange
std::string parent_folder("test_parent_folder");
std::string file_name("\\test_file_name.name");
std::stringstream path("");
- path << default_download_path_.c_str() << "\\"
+ path << default_download_path_ << "/"
<< "test_parent_folder"
- << "\\"
+ << "/"
<< "test_file_name.name";
std::string expected = path.str();
@@ -412,4 +495,277 @@ ShouldReturnParentFolderAndFileNameAppendedToBaseDownloadPath)
// Assert
EXPECT_EQ(result, expected);
}
-#endif
+
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPath_FileDoesntExist\
+ReturnsFileWithPassedName) {
+ // Arrange
+ std::string file_name(kFileName);
+ std::string parent_folder("");
+
+ std::string expected(default_download_path_);
+ expected.append(file_name.c_str());
+
+ // Act
+ std::string actual =
+ location::nearby::api::ImplementationPlatform::GetDownloadPath(
+ parent_folder, file_name);
+
+ // Assert
+ EXPECT_EQ(actual, expected);
+}
+
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPath_FileExistsReturns\
+FileWithIncrementedName) {
+ // Arrange
+ std::string file_name(kFileName);
+ std::string renamed_file_name(kFirstIterationFileName);
+ std::string parent_folder("");
+
+ std::string output_file_path(default_download_path_);
+ output_file_path.append(file_name);
+
+ std::string expected(default_download_path_);
+ expected.append(renamed_file_name.c_str());
+
+ std::ifstream input_file;
+ std::ofstream output_file;
+
+ output_file.open(output_file_path,
+ std::ofstream::binary | std::ofstream::out);
+
+ ASSERT_TRUE(output_file.rdstate() == std::ofstream::goodbit);
+
+ output_file.close();
+
+ // Act
+ std::string actual =
+ location::nearby::api::ImplementationPlatform::GetDownloadPath(
+ parent_folder, file_name);
+
+ // Assert
+ EXPECT_EQ(actual, expected);
+
+ // Remove the file and check that it is removed
+ // File 1
+ std::remove(output_file_path.c_str());
+
+ input_file.open(output_file_path, std::ifstream::binary | std::ifstream::in);
+
+ ASSERT_FALSE(input_file.rdstate() == std::ifstream::goodbit);
+}
+
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPath_MultipleFilesExist\
+ReturnsNextIncrementedFileName) {
+ // Arrange
+ std::ofstream output_file;
+ std::ifstream input_file;
+
+ std::string file_name(kFileName);
+ std::string first_renamed_file_name(kFirstIterationFileName);
+ std::string second_renamed_file_name(kSecondIterationFileName);
+
+ std::string parent_folder("");
+
+ std::string expected(default_download_path_);
+ expected.append(second_renamed_file_name.c_str());
+
+ std::string output_file1_path(default_download_path_);
+ output_file1_path.append(file_name);
+
+ std::string output_file2_path(default_download_path_);
+ output_file2_path.append(first_renamed_file_name);
+
+ // Create the test files
+ output_file.open(output_file1_path,
+ std::ofstream::binary | std::ofstream::out);
+ ASSERT_TRUE(output_file.rdstate() == std::ofstream::goodbit);
+ output_file.close();
+ output_file.clear();
+
+ output_file.open(output_file2_path,
+ std::ofstream::binary | std::ofstream::out);
+ ASSERT_TRUE(output_file.rdstate() == std::ofstream::goodbit);
+ output_file.close();
+
+ // Act
+ std::string actual =
+ location::nearby::api::ImplementationPlatform::GetDownloadPath(
+ parent_folder, file_name);
+
+ // Assert
+ EXPECT_EQ(expected, actual);
+
+ // Remove the test files and check that it is removed
+ // File 1
+ std::remove(output_file1_path.c_str());
+ input_file.open(output_file1_path, std::ifstream::binary | std::ifstream::in);
+
+ ASSERT_FALSE(input_file.rdstate() == std::ifstream::goodbit);
+
+ // File 2
+ std::remove(output_file2_path.c_str());
+
+ input_file.clear();
+ input_file.open(output_file2_path, std::ifstream::binary | std::ifstream::in);
+
+ ASSERT_FALSE(input_file.rdstate() == std::ifstream::goodbit);
+}
+
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPath_FileNameContains\
+MultipleDotsReturnsIncrementBeforeFirstDot) {
+ // Arrange
+ std::ifstream input_file;
+ std::ofstream output_file;
+
+ std::string file_name(kMultipleDotsFileName);
+ std::string renamed_file_name(kOneIterationMultipleDotsFileName);
+
+ std::string parent_folder("");
+
+ std::string output_file1_path(default_download_path_);
+ output_file1_path.append(file_name);
+
+ std::string output_file2_path(default_download_path_);
+ output_file2_path.append(renamed_file_name);
+
+ std::string expected(default_download_path_);
+ expected.append(renamed_file_name);
+
+ output_file.open(output_file1_path,
+ std::ofstream::binary | std::ofstream::out);
+ ASSERT_TRUE(output_file.rdstate() == std::ofstream::goodbit);
+ output_file.close();
+
+ // Act
+ std::string actual =
+ location::nearby::api::ImplementationPlatform::GetDownloadPath(
+ parent_folder, file_name);
+
+ // Assert
+ EXPECT_EQ(expected, actual);
+
+ std::remove(output_file1_path.c_str());
+ input_file.open(output_file1_path, std::ifstream::binary | std::ifstream::in);
+
+ ASSERT_FALSE(input_file.rdstate() == std::ifstream::goodbit);
+}
+
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPath_FileNameContainsNo\
+DotsReturnsWithIncrementAtEnd) {
+ std::ifstream input_file;
+ std::ofstream output_file;
+
+ std::string file_name(kNoDotsFileName);
+ std::string renamed_file_name(kOneIterationNoDotsFileName);
+
+ std::string parent_folder("");
+
+ std::string output_file1_path(default_download_path_);
+ output_file1_path.append(file_name);
+
+ std::string output_file2_path(default_download_path_);
+ output_file2_path.append(renamed_file_name);
+
+ std::string expected(default_download_path_);
+ expected.append(renamed_file_name);
+
+ output_file.open(output_file1_path,
+ std::ofstream::binary | std::ofstream::out);
+ ASSERT_TRUE(output_file.rdstate() == std::ofstream::goodbit);
+ output_file.close();
+
+ // Act
+ std::string actual =
+ location::nearby::api::ImplementationPlatform::GetDownloadPath(
+ parent_folder, file_name);
+
+ // Assert
+ EXPECT_EQ(expected, actual);
+
+ std::remove(output_file1_path.c_str());
+ input_file.open(output_file1_path, std::ifstream::binary | std::ifstream::in);
+
+ ASSERT_FALSE(input_file.rdstate() == std::ifstream::goodbit);
+}
+
+TEST_F(ImplementationPlatformTests, DISABLED_GetDownloadPath_FileNameExistsWith\
+AHoleBetweenRenamedFiles) {
+ std::ifstream input_file;
+ std::ofstream output_file;
+
+ std::string file_name(kFileName);
+ std::string file_name1(kFirstIterationFileName);
+ std::string file_name2(kSecondIterationFileName);
+ std::string file_name3(kThirdIterationFileName);
+
+ std::string parent_folder("");
+
+ // Create the path for the original file name
+ std::string output_file_path(default_download_path_);
+ output_file_path.append(
+ file_name); // Original file name example: "increment_file_test.txt"
+
+ // Create the path for the first iteration of the original file name
+ std::string output_file1_path(default_download_path_);
+ output_file1_path.append(file_name1); // First iteration on original file
+ // name example:
+ // "increment_file_test (1).txt"
+
+ // Create the path for the third iteration of the original file name
+ std::string output_file3_path(default_download_path_);
+ output_file3_path.append(
+ file_name3); // Third iteration on original file
+ // name example: "increment_file_test (3).txt"
+
+ // Create the expected result which is the second iteration of the original
+ // file name
+ std::string expected(default_download_path_);
+ expected.append(file_name2); // Second iteration on original file name
+ // example: "increment_file_test (2).txt"
+
+ // Create the original file
+ output_file.open(output_file_path,
+ std::ofstream::binary | std::ofstream::out);
+ ASSERT_TRUE(output_file.rdstate() == std::ofstream::goodbit);
+ output_file.close();
+
+ // Create the first iteration of the original file
+ output_file.clear();
+ output_file.open(output_file1_path,
+ std::ofstream::binary | std::ofstream::out);
+ ASSERT_TRUE(output_file.rdstate() == std::ofstream::goodbit);
+ output_file.close();
+
+ // Create the third iteration of the original file
+ output_file.clear();
+ output_file.open(output_file3_path,
+ std::ofstream::binary | std::ofstream::out);
+ ASSERT_TRUE(output_file.rdstate() == std::ofstream::goodbit);
+ output_file.close();
+
+ // Act
+ // This should return the second iteration of the original file
+ std::string actual =
+ location::nearby::api::ImplementationPlatform::GetDownloadPath(
+ parent_folder, file_name);
+
+ // Assert
+ EXPECT_EQ(expected, actual);
+
+ // Delete the original file
+ std::remove(output_file_path.c_str());
+ input_file.open(output_file_path, std::ifstream::binary | std::ifstream::in);
+ ASSERT_FALSE(input_file.rdstate() == std::ifstream::goodbit);
+
+ // Delete the first iteration of the original file
+ input_file.clear(); // Reset the input_file state
+ std::remove(output_file1_path.c_str());
+ input_file.open(output_file1_path, std::ifstream::binary | std::ifstream::in);
+ ASSERT_FALSE(input_file.rdstate() == std::ifstream::goodbit);
+
+ // Delete the third iteration of the original file
+ input_file.clear(); // Reset the input_file state
+ std::remove(output_file3_path.c_str());
+ input_file.open(output_file3_path, std::ifstream::binary | std::ifstream::in);
+ ASSERT_FALSE(input_file.rdstate() == std::ifstream::goodbit);
+}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/utils.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/utils.cc
index 37f9b38d3f0..af3bb694b9d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/utils.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/utils.cc
@@ -16,11 +16,13 @@
// Windows headers
#include <inaddr.h>
+#include <stdlib.h>
#include <strsafe.h>
#include <winsock.h>
// Standard C/C++ headers
#include <codecvt>
+#include <cstdint>
#include <exception>
#include <string>
@@ -29,6 +31,9 @@
#include "absl/strings/str_format.h"
// Nearby connections headers
+#include "absl/strings/string_view.h"
+#include "internal/platform/bluetooth_utils.h"
+#include "internal/platform/byte_array.h"
#include "internal/platform/implementation/crypto.h"
namespace location {
@@ -45,6 +50,17 @@ std::string uint64_to_mac_address_string(uint64_t bluetoothAddress) {
return absl::AsciiStrToUpper(buffer);
}
+uint64_t mac_address_string_to_uint64(absl::string_view mac_address) {
+ ByteArray mac_address_array = BluetoothUtils::FromString(mac_address);
+ uint64_t mac_address_uint64 = 0;
+ for (int i = 0; i < mac_address_array.size(); i++) {
+ mac_address_uint64 <<= 8;
+ mac_address_uint64 |= static_cast<uint8_t>(
+ static_cast<unsigned char>(*(mac_address_array.data() + i)));
+ }
+ return mac_address_uint64;
+}
+
std::string ipaddr_4bytes_to_dotdecimal_string(
absl::string_view ipaddr_4bytes) {
in_addr address;
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/utils.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/utils.h
index ceee5441fb7..bf57165e03f 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/utils.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/utils.h
@@ -18,6 +18,7 @@
#include <Windows.h>
#include <stdio.h>
+#include <cstdint>
#include <string>
#include "absl/strings/string_view.h"
@@ -32,6 +33,7 @@ namespace windows {
using winrt::Windows::Foundation::IInspectable;
std::string uint64_to_mac_address_string(uint64_t bluetoothAddress);
+uint64_t mac_address_string_to_uint64(absl::string_view mac_address);
std::string ipaddr_4bytes_to_dotdecimal_string(absl::string_view ipaddr_4bytes);
std::string ipaddr_dotdecimal_to_4bytes_string(std::string ipv4_s);
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/utils_test.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/utils_test.cc
index e345cb349f5..2aa505ce7c9 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/utils_test.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/utils_test.cc
@@ -36,6 +36,18 @@ TEST(UtilsTests, MacAddressToString) {
EXPECT_EQ(result, expected);
}
+TEST(UtilsTests, StringToMacAddress) {
+ // Arrange
+ std::string input = "34:36:3B:C7:8C:71";
+ const uint64_t expected = 0x000034363bc78c71;
+
+ // Act
+ uint64_t result = mac_address_string_to_uint64(input);
+
+ // Assert
+ EXPECT_EQ(result, expected);
+}
+
constexpr absl::string_view kIpDotdecimal{"192.168.1.37"};
constexpr char kIp4Bytes[] = {192, 168, 1, 37};
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi.h
index f31d68f8269..e4b8cd22678 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi.h
@@ -115,7 +115,7 @@ class WifiMedium : public api::WifiMedium {
private:
// Since the WiFi interface capability won't change in the connection session,
- // we only need to querry it once at the beginning
+ // we only need to query it once at the beginning
void InitCapability();
bool wifi_interface_valid_;
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_hotspot.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_hotspot.h
index d9c9f778b67..38d96667f2d 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_hotspot.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_hotspot.h
@@ -17,12 +17,14 @@
// Standard C/C++ headers
#include <functional>
+#include <optional>
#include <string>
// Nearby connections headers
#include "internal/platform/implementation/wifi_hotspot.h"
// WinRT headers
+#include "absl/types/optional.h"
#include "internal/platform/implementation/windows/generated/winrt/Windows.Devices.Enumeration.h"
#include "internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFi.h"
#include "internal/platform/implementation/windows/generated/winrt/Windows.Devices.WiFiDirect.h"
@@ -51,6 +53,8 @@ using ::winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionListener;
using ::winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionRequest;
using ::winrt::Windows::Devices::WiFiDirect::
WiFiDirectConnectionRequestedEventArgs;
+using ::winrt::Windows::Devices::WiFiDirect::WiFiDirectDevice;
+using ::winrt::Windows::Devices::WiFiDirect::WiFiDirectConnectionStatus;
using ::winrt::Windows::Devices::WiFi::WiFiAccessStatus;
using ::winrt::Windows::Devices::WiFi::WiFiAdapter;
@@ -71,12 +75,16 @@ using ::winrt::Windows::Security::Cryptography::CryptographicBuffer;
using ::winrt::Windows::Networking::HostName;
using ::winrt::Windows::Networking::HostNameType;
+using ::winrt::Windows::Networking::Connectivity::ConnectionProfile;
+using ::winrt::Windows::Networking::Connectivity::ConnectionProfileDeleteStatus;
using ::winrt::Windows::Networking::Connectivity::NetworkInformation;
using ::winrt::Windows::Networking::Sockets::StreamSocket;
using ::winrt::Windows::Networking::Sockets::StreamSocketListener;
using ::winrt::Windows::Networking::Sockets::
StreamSocketListenerConnectionReceivedEventArgs;
+// using winrt::Windows::Foundation::IInspectable;
+
// WifiHotspotSocket wraps the socket functions to read and write stream.
// In WiFi HOTSPOT, A WifiHotspotSocket will be passed to
// StartAcceptingConnections's call back when StreamSocketListener got connect.
@@ -228,7 +236,7 @@ class WifiHotspotMedium : public api::WifiHotspotMedium {
std::unique_ptr<api::WifiHotspotServerSocket> ListenForService(
int port) override;
- // Advertiser start WiFi Hotspot with specific Crendentials
+ // Advertiser start WiFi Hotspot with specific Credentials.
bool StartWifiHotspot(HotspotCredentials* hotspot_credentials_) override;
// Advertiser stop the current WiFi Hotspot
bool StopWifiHotspot() override;
@@ -243,13 +251,16 @@ class WifiHotspotMedium : public api::WifiHotspotMedium {
}
private:
- enum Value:char {
+ enum Value : char {
kMediumStatusIdle = 0,
kMediumStatusAccepting = (1 << 0),
kMediumStatusBeaconing = (1 << 1),
kMediumStatusConnected = (1 << 2),
};
+ // Implemented the disconnection to WiFi hotspot, and used to avoid deadlock.
+ bool InternalDisconnectWifiHotspot();
+
bool IsIdle() { return medium_status_ == kMediumStatusIdle; }
// Advertiser is accepting connection on server socket
bool IsAccepting() { return (medium_status_ & kMediumStatusAccepting) != 0; }
@@ -260,6 +271,7 @@ class WifiHotspotMedium : public api::WifiHotspotMedium {
WiFiDirectAdvertisementPublisher publisher_{nullptr};
WiFiDirectConnectionListener listener_{nullptr};
+ WiFiDirectDevice wifi_direct_device_{nullptr};
fire_and_forget OnStatusChanged(
WiFiDirectAdvertisementPublisher sender,
@@ -272,6 +284,7 @@ class WifiHotspotMedium : public api::WifiHotspotMedium {
winrt::event_token connection_requested_token_;
WiFiAdapter wifi_adapter_{nullptr};
+ WiFiAvailableNetwork wifi_connected_network_{nullptr};
// Gets error message from exception pointer
std::string GetErrorMessage(std::exception_ptr eptr);
@@ -279,9 +292,6 @@ class WifiHotspotMedium : public api::WifiHotspotMedium {
// Protects to access some members
absl::Mutex mutex_;
- // If the WiFi Adaptor supports to start a Hotspot interface.
- bool hotspot_interface_valid_;
-
// Medium Status
int medium_status_ = kMediumStatusIdle;
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_hotspot_medium.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_hotspot_medium.cc
index 3dbeadee459..66e11f7f9f1 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_hotspot_medium.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_hotspot_medium.cc
@@ -12,29 +12,25 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#include "absl/strings/string_view.h"
#include "internal/platform/implementation/windows/wifi_hotspot.h"
// Nearby connections headers
#include "internal/platform/cancellation_flag_listener.h"
-#include "internal/platform/logging.h"
#include "internal/platform/implementation/windows/utils.h"
+#include "internal/platform/logging.h"
namespace location {
namespace nearby {
namespace windows {
namespace {
- constexpr int kMaxRetries = 3;
- constexpr int kRetryIntervalMilliSeconds = 300;
- constexpr int kMaxScans = 3;
+constexpr int kMaxRetries = 3;
+constexpr int kRetryIntervalMilliSeconds = 300;
+constexpr int kMaxScans = 2;
} // namespace
-WifiHotspotMedium::WifiHotspotMedium() {
- HotspotCredentials hotspot_credentials_;
- hotspot_interface_valid_ = StartWifiHotspot(&hotspot_credentials_);
- if (hotspot_interface_valid_)
- StopWifiHotspot();
-}
+WifiHotspotMedium::WifiHotspotMedium() {}
WifiHotspotMedium::~WifiHotspotMedium() {
StopWifiHotspot();
@@ -42,14 +38,15 @@ WifiHotspotMedium::~WifiHotspotMedium() {
}
bool WifiHotspotMedium::IsInterfaceValid() const {
- return hotspot_interface_valid_;
+ // Windows 10 starts to support WiFi direct feature, so don't need to check
+ // feature by OS due to targeting OS version is at leat Windows 10.
+ NEARBY_LOGS(ERROR) << "WiFi hotspot: valid interface found.";
+ return true;
}
-
std::unique_ptr<api::WifiHotspotSocket> WifiHotspotMedium::ConnectToService(
absl::string_view ip_address, int port,
CancellationFlag* cancellation_flag) {
-
if (ip_address.empty() || port == 0) {
NEARBY_LOGS(ERROR) << "no valid service address and port to connect: "
<< "ip_address = " << ip_address << ", port = " << port;
@@ -84,10 +81,11 @@ std::unique_ptr<api::WifiHotspotSocket> WifiHotspotMedium::ConnectToService(
cancellation_flag, [socket]() { socket.CancelIOAsync().get(); });
}
- // Try connecting to the service up to kMaxRetries. Because it may fail fisrt
- // time if DHCP procedure is not finished yet.
+ // Try connecting to the service up to kMaxRetries, because it may fail
+ // first time if DHCP procedure is not finished yet.
for (int i = 0; i < kMaxRetries; i++) {
try {
+ Sleep(kRetryIntervalMilliSeconds);
socket.ConnectAsync(host_name, service_name).get();
auto wifi_hotspot_socket = std::make_unique<WifiHotspotSocket>(socket);
@@ -97,8 +95,7 @@ std::unique_ptr<api::WifiHotspotSocket> WifiHotspotMedium::ConnectToService(
return wifi_hotspot_socket;
} catch (...) {
NEARBY_LOGS(ERROR) << "failed to connect remote service " << ipv4_address
- << ":" << port << " for the " << i+1 << " time";
- Sleep(kRetryIntervalMilliSeconds);
+ << ":" << port << " for the " << i + 1 << " time";
}
}
return nullptr;
@@ -151,16 +148,11 @@ bool WifiHotspotMedium::StartWifiHotspot(
publisher_status_changed_token_ =
publisher_.StatusChanged({this, &WifiHotspotMedium::OnStatusChanged});
listener_ = WiFiDirectConnectionListener();
- try {
- listener_.ConnectionRequested(
- {this, &WifiHotspotMedium::OnConnectionRequested});
- } catch (winrt::hresult_error const& ex) {
- NEARBY_LOGS(ERROR) << __func__ << ": winrt exception: " << ex.code() << ": "
- << winrt::to_string(ex.message());
- }
+ connection_requested_token_ = listener_.ConnectionRequested(
+ {this, &WifiHotspotMedium::OnConnectionRequested});
- // Normal mode: The device is highly discoverable so long as the app is in the
- // foreground.
+ // Normal mode: The device is highly discoverable so long as the app is in
+ // the foreground.
publisher_.Advertisement().ListenStateDiscoverability(
WiFiDirectAdvertisementListenStateDiscoverability::Normal);
// Enbale Autonomous GO mode
@@ -188,6 +180,8 @@ bool WifiHotspotMedium::StartWifiHotspot(
// Clean up when fail
NEARBY_LOGS(ERROR) << "Windows WiFi Hotspot fails to start";
+ publisher_.StatusChanged(publisher_status_changed_token_);
+ listener_.ConnectionRequested(connection_requested_token_);
listener_ = nullptr;
publisher_ = nullptr;
return false;
@@ -204,10 +198,14 @@ bool WifiHotspotMedium::StopWifiHotspot() {
if (publisher_) {
publisher_.Stop();
- publisher_.StatusChanged(publisher_status_changed_token_);
listener_.ConnectionRequested(connection_requested_token_);
+ publisher_.StatusChanged(publisher_status_changed_token_);
+ wifi_direct_device_ = nullptr;
+ listener_ = nullptr;
+ publisher_ = nullptr;
NEARBY_LOGS(INFO) << "succeeded to stop WiFi Hotspot";
}
+
medium_status_ &= (~kMediumStatusBeaconing);
return true;
}
@@ -227,10 +225,32 @@ fire_and_forget WifiHotspotMedium::OnStatusChanged(
.Passphrase()
.Password());
}
+ return winrt::fire_and_forget();
+ } else if (event.Status() ==
+ WiFiDirectAdvertisementPublisherStatus::Created) {
+ NEARBY_LOGS(INFO) << "Receive WiFi direct/SoftAP Created event.";
+ return winrt::fire_and_forget();
+ } else if (event.Status() ==
+ WiFiDirectAdvertisementPublisherStatus::Stopped) {
+ NEARBY_LOGS(INFO) << "Receive WiFi direct/SoftAP Stopped event.";
+ } else if (event.Status() ==
+ WiFiDirectAdvertisementPublisherStatus::Aborted) {
+ NEARBY_LOGS(INFO) << "Receive WiFi direct/SoftAP Aborted event.";
}
- if (event.Status() == WiFiDirectAdvertisementPublisherStatus::Stopped) {
- NEARBY_LOGS(INFO) << "Receive WiFi direct/SoftAP stop event";
+
+ // Publisher is stopped. Need to clean up the publisher.
+ {
+ absl::MutexLock lock(&mutex_);
+ if (publisher_ != nullptr) {
+ NEARBY_LOGS(ERROR) << "Windows WiFi Hotspot cleanup.";
+ listener_.ConnectionRequested(connection_requested_token_);
+ publisher_.StatusChanged(publisher_status_changed_token_);
+ wifi_direct_device_ = nullptr;
+ listener_ = nullptr;
+ publisher_ = nullptr;
+ }
}
+
return winrt::fire_and_forget();
}
@@ -242,13 +262,22 @@ fire_and_forget WifiHotspotMedium::OnConnectionRequested(
NEARBY_LOGS(INFO) << "Receive connection request from: "
<< winrt::to_string(device_name);
- DeviceInformationPairing pairing =
- connection_request.DeviceInformation().Pairing();
- if (pairing.IsPaired())
- NEARBY_LOGS(INFO) << "Paired";
- else
- NEARBY_LOGS(INFO) << "Not Paired";
-
+ try {
+ // This is to solve b/236805122.
+ // Problem: [Microsoft-Windows-WLAN-AutoConfig] issues a disconnection to
+ // Hotspot Client every 2 minutes and stopped Hotspot eventually.
+ // Solution: Creating a WiFiDirectDevice for Client’s connection request can
+ // solve the problem. Guess when this object is created,
+ // [Microsoft-Windows-WLAN-AutoConfig] will recognise it as a valid device
+ // and won't kick it away.
+ wifi_direct_device_ = WiFiDirectDevice::FromIdAsync(
+ connection_request.DeviceInformation().Id()).get();
+ NEARBY_LOGS(INFO) << "Registered the device in WLAN-AutoConfig";
+ } catch (...) {
+ NEARBY_LOGS(ERROR) << "Failed to registered the device in WLAN-AutoConfig";
+ wifi_direct_device_ = nullptr;
+ connection_request.Close();
+ }
return winrt::fire_and_forget();
}
@@ -258,7 +287,7 @@ bool WifiHotspotMedium::ConnectWifiHotspot(
if (IsConnected()) {
NEARBY_LOGS(WARNING) << "Already connected to AP, disconnect first.";
- DisconnectWifiHotspot();
+ InternalDisconnectWifiHotspot();
}
auto access = WiFiAdapter::RequestAccessAsync().get();
@@ -268,29 +297,47 @@ bool WifiHotspotMedium::ConnectWifiHotspot(
return false;
}
- auto adaptors = WiFiAdapter::FindAllAdaptersAsync().get();
- if (adaptors.Size() < 1) {
- NEARBY_LOGS(WARNING) << "No WiFi Adaptor found.";
+ auto adapters = WiFiAdapter::FindAllAdaptersAsync().get();
+ if (adapters.Size() < 1) {
+ NEARBY_LOGS(WARNING) << "No WiFi Adapter found.";
return false;
}
- wifi_adapter_ = adaptors.GetAt(0);
+ wifi_adapter_ = adapters.GetAt(0);
+
+ // Retrieve the current connected network's profile
+ ConnectionProfile profile =
+ wifi_adapter_.NetworkAdapter().GetConnectedProfileAsync().get();
+ std::string ssid;
+
+ if (profile != nullptr && profile.IsWlanConnectionProfile()) {
+ ssid = winrt::to_string(
+ profile.WlanConnectionProfileDetails().GetConnectedSsid());
+ }
// SoftAP is an abbreviation for "software enabled access point".
WiFiAvailableNetwork nearby_softap{nullptr};
NEARBY_LOGS(INFO) << "Scanning for Nearby Hotspot SSID: "
<< hotspot_credentials_->GetSSID();
- // First time scan may not find our target hotspot, try 3 times can almost
- // guarantee to find the Hotspot
- for (int i = 0; i < kMaxScans; i++) {
+ // First time scan may not find our target hotspot, try 2 more times can
+ // almost guarantee to find the Hotspot
+ wifi_adapter_.ScanAsync().get();
+
+ wifi_connected_network_ = nullptr;
+ for (int i = 0; i < kMaxScans; i++) {
for (const auto& network :
wifi_adapter_.NetworkReport().AvailableNetworks()) {
- if (winrt::to_string(network.Ssid()) == hotspot_credentials_->GetSSID()) {
+ if (!wifi_connected_network_ && !ssid.empty() &&
+ (winrt::to_string(network.Ssid()) == ssid)) {
+ wifi_connected_network_ = network;
+ NEARBY_LOGS(INFO) << "Save the current connected network: " << ssid;
+ } else if (!nearby_softap && winrt::to_string(network.Ssid()) ==
+ hotspot_credentials_->GetSSID()) {
NEARBY_LOGS(INFO) << "Found Nearby SSID: "
<< winrt::to_string(network.Ssid());
nearby_softap = network;
- break;
}
+ if (nearby_softap && wifi_connected_network_) break;
}
if (nearby_softap) break;
NEARBY_LOGS(INFO) << "Scan ... ";
@@ -307,32 +354,96 @@ bool WifiHotspotMedium::ConnectWifiHotspot(
auto connect_result =
wifi_adapter_
- .ConnectAsync(nearby_softap, WiFiReconnectionKind::Automatic, creds)
+ .ConnectAsync(nearby_softap, WiFiReconnectionKind::Manual, creds)
.get();
- if (connect_result.ConnectionStatus() != WiFiConnectionStatus::Success) {
- NEARBY_LOGS(INFO) << "Connectiong failed with reason: "
+ if (connect_result == nullptr ||
+ connect_result.ConnectionStatus() != WiFiConnectionStatus::Success) {
+ NEARBY_LOGS(INFO) << "Connecting failed with reason: "
<< static_cast<int>(connect_result.ConnectionStatus());
return false;
}
- NEARBY_LOGS(INFO) << "Connected to: " << hotspot_credentials_->GetSSID();
+ std::string last_ssid = hotspot_credentials_->GetSSID();
medium_status_ |= kMediumStatusConnected;
+ NEARBY_LOGS(INFO) << "Connected to hotspot: " << last_ssid;
+
return true;
}
bool WifiHotspotMedium::DisconnectWifiHotspot() {
absl::MutexLock lock(&mutex_);
+ return InternalDisconnectWifiHotspot();
+}
+bool WifiHotspotMedium::InternalDisconnectWifiHotspot() {
if (!IsConnected()) {
NEARBY_LOGS(WARNING)
- << "Cannot diconnect SoftAP because it is not connected.";
+ << "Cannot disconnect SoftAP because it is not connected.";
+ return true;
}
+
if (wifi_adapter_) {
+ // Gets connected WiFi profile.
+ auto profile =
+ wifi_adapter_.NetworkAdapter().GetConnectedProfileAsync().get();
+
+ // Disconnect to the WiFi connection through the WiFi adapter.
wifi_adapter_.Disconnect();
- NEARBY_LOGS(INFO) << "Disconnect softAP.";
- wifi_adapter_ = {nullptr};
+ NEARBY_LOGS(INFO) << "Disconnected to SoftAP.";
+
+ if (wifi_connected_network_) {
+ auto connect_result = wifi_adapter_
+ .ConnectAsync(wifi_connected_network_,
+ WiFiReconnectionKind::Automatic)
+ .get();
+
+ if (connect_result == nullptr ||
+ connect_result.ConnectionStatus() != WiFiConnectionStatus::Success) {
+ NEARBY_LOGS(INFO)
+ << "Connecting to previous network failed with reason: "
+ << static_cast<int>(connect_result.ConnectionStatus());
+ } else {
+ NEARBY_LOGS(INFO) << "Restored the previous WIFI connection: "
+ << winrt::to_string(wifi_connected_network_.Ssid());
+ }
+ wifi_connected_network_ = nullptr;
+ }
+ wifi_adapter_ = nullptr;
+
+ // Try to remove the WiFi profile
+ if (profile != nullptr && profile.CanDelete() &&
+ profile.IsWlanConnectionProfile()) {
+ std::string ssid = winrt::to_string(
+ profile.WlanConnectionProfileDetails().GetConnectedSsid());
+
+ auto profile_delete_status = profile.TryDeleteAsync().get();
+ switch (profile_delete_status) {
+ case ConnectionProfileDeleteStatus::Success:
+ NEARBY_LOGS(INFO)
+ << "WiFi profile with SSID:" << ssid << " is deleted.";
+ break;
+ case ConnectionProfileDeleteStatus::DeniedBySystem:
+ NEARBY_LOGS(ERROR)
+ << "Failed to delete WiFi profile with SSID:" << ssid
+ << " due to denied by system.";
+ break;
+ case ConnectionProfileDeleteStatus::DeniedByUser:
+ NEARBY_LOGS(ERROR)
+ << "Failed to delete WiFi profile with SSID:" << ssid
+ << " due to denied by user.";
+ break;
+ case ConnectionProfileDeleteStatus::UnknownError:
+ NEARBY_LOGS(ERROR)
+ << "Failed to delete WiFi profile with SSID:" << ssid
+ << " due to unknonw error.";
+ break;
+ default:
+ break;
+ }
+ }
}
+
medium_status_ &= (~kMediumStatusConnected);
return true;
}
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_hotspot_server_socket.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_hotspot_server_socket.cc
index bdd5f748dce..dbdcfd2c3f2 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_hotspot_server_socket.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_hotspot_server_socket.cc
@@ -12,6 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#include <windows.h>
+
+#include <functional>
+#include <memory>
+#include <string>
+#include <vector>
+
+#include "internal/platform/implementation/windows/generated/winrt/Windows.Networking.Sockets.h"
#include "internal/platform/implementation/windows/utils.h"
#include "internal/platform/implementation/windows/wifi_hotspot.h"
#include "internal/platform/logging.h"
@@ -19,9 +27,12 @@
namespace location {
namespace nearby {
namespace windows {
-
namespace {
- constexpr int kMaxRetries = 3;
+
+using ::winrt::Windows::Networking::Sockets::SocketQualityOfService;
+
+constexpr int kMaxRetries = 3;
+
} // namespace
WifiHotspotServerSocket::WifiHotspotServerSocket(int port) : port_(port) {}
@@ -53,6 +64,8 @@ int WifiHotspotServerSocket::GetPort() const {
std::unique_ptr<api::WifiHotspotSocket> WifiHotspotServerSocket::Accept() {
absl::MutexLock lock(&mutex_);
+ NEARBY_LOGS(INFO) << __func__ << ": Accept is called.";
+
while (!closed_ && pending_sockets_.empty()) {
cond_.Wait(&mutex_);
}
@@ -60,6 +73,8 @@ std::unique_ptr<api::WifiHotspotSocket> WifiHotspotServerSocket::Accept() {
StreamSocket wifi_hotspot_socket = pending_sockets_.front();
pending_sockets_.pop_front();
+
+ NEARBY_LOGS(INFO) << __func__ << ": Accepted a remote connection.";
return std::make_unique<WifiHotspotSocket>(wifi_hotspot_socket);
}
@@ -70,6 +85,8 @@ void WifiHotspotServerSocket::SetCloseNotifier(std::function<void()> notifier) {
Exception WifiHotspotServerSocket::Close() {
try {
absl::MutexLock lock(&mutex_);
+ NEARBY_LOGS(INFO) << __func__ << ": Close is called.";
+
if (closed_) {
return {Exception::kSuccess};
}
@@ -78,28 +95,32 @@ Exception WifiHotspotServerSocket::Close() {
stream_socket_listener_.Close();
stream_socket_listener_ = nullptr;
- if (!pending_sockets_.empty()) {
- auto it = pending_sockets_.begin();
- while (it != pending_sockets_.end()) {
- it->Close();
- }
+ for (const auto &pending_socket : pending_sockets_) {
+ pending_socket.Close();
}
- cond_.SignalAll();
+ pending_sockets_ = {};
}
closed_ = true;
+ cond_.SignalAll();
if (close_notifier_ != nullptr) {
close_notifier_();
}
+
+ NEARBY_LOGS(INFO) << __func__ << ": Close completed succesfully.";
return {Exception::kSuccess};
} catch (...) {
+ closed_ = true;
+ cond_.SignalAll();
+
+ NEARBY_LOGS(INFO) << __func__ << ": Failed to close server socket.";
return {Exception::kIo};
}
}
bool WifiHotspotServerSocket::listen() {
- // Check IP address
+ // Get current IP addresses of the device.
hotspot_ipaddr_ = GetHotspotIpAddresses();
if (hotspot_ipaddr_.empty()) {
@@ -108,10 +129,15 @@ bool WifiHotspotServerSocket::listen() {
return false;
}
- // Save connection callback
+ // Setup stream socket listener.
stream_socket_listener_ = StreamSocketListener();
- // Setup callback
+ stream_socket_listener_.Control().QualityOfService(
+ SocketQualityOfService::LowLatency);
+
+ stream_socket_listener_.Control().KeepAlive(true);
+
+ // Setup socket event of ConnectionReceived.
listener_event_token_ = stream_socket_listener_.ConnectionReceived(
{this, &WifiHotspotServerSocket::Listener_ConnectionReceived});
@@ -133,7 +159,7 @@ bool WifiHotspotServerSocket::listen() {
try {
stream_socket_listener_.BindServiceNameAsync({}).get();
- // need to save the port information
+ // need to save the port information.
port_ =
std::stoi(stream_socket_listener_.Information().LocalPort().c_str());
NEARBY_LOGS(INFO) << "Server Socket port: " << port_;
@@ -150,6 +176,7 @@ fire_and_forget WifiHotspotServerSocket::Listener_ConnectionReceived(
StreamSocketListener listener,
StreamSocketListenerConnectionReceivedEventArgs const &args) {
absl::MutexLock lock(&mutex_);
+ NEARBY_LOGS(INFO) << __func__ << ": Received connection.";
if (closed_) {
return fire_and_forget{};
@@ -169,7 +196,6 @@ bool HasEnding(std::string const &full_string, std::string const &ending) {
}
}
-
std::vector<std::string> WifiHotspotServerSocket::GetIpAddresses() const {
std::vector<std::string> result{};
auto host_names = NetworkInformation::GetHostNames();
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_lan.h b/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_lan.h
index df54602762a..fcecb4dcde8 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_lan.h
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_lan.h
@@ -218,6 +218,9 @@ class WifiLanMedium : public api::WifiLanMedium {
public:
~WifiLanMedium() override = default;
+ // Check if a network connection to a primary router exist.
+ bool IsNetworkConnected() const override;
+
// Starts to advertising
bool StartAdvertising(const NsdServiceInfo& nsd_service_info) override;
@@ -332,14 +335,11 @@ class WifiLanMedium : public api::WifiLanMedium {
// callback for discovery
api::WifiLanMedium::DiscoveredServiceCallback discovered_service_callback_;
- // Protects to access some members
- absl::Mutex mutex_;
-
// Medium Status
int medium_status_ = MEDIUM_STATUS_IDLE;
// Keep the server socket listener pointer
- WifiLanServerSocket* server_socket_ptr_ ABSL_GUARDED_BY(mutex_) = nullptr;
+ WifiLanServerSocket* server_socket_ptr_ = nullptr;
};
} // namespace windows
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_lan_medium.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_lan_medium.cc
index 26ccadb92c3..2eff4c1c83b 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_lan_medium.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_lan_medium.cc
@@ -30,15 +30,20 @@
#include "internal/platform/cancellation_flag_listener.h"
#include "internal/platform/implementation/windows/utils.h"
#include "internal/platform/logging.h"
-#include "internal/platform/mutex_lock.h"
namespace location {
namespace nearby {
namespace windows {
-bool WifiLanMedium::StartAdvertising(const NsdServiceInfo& nsd_service_info) {
- absl::MutexLock lock(&mutex_);
+bool WifiLanMedium::IsNetworkConnected() const {
+ // connection_profile will be null when there's no network adapter or
+ // connection to a network. For example, WiFi isn't connected to an AP/hotspot
+ // and ethernet isn't connected to a router/hub/switch.
+ auto connection_profile = NetworkInformation::GetInternetConnectionProfile();
+ return connection_profile != nullptr;
+}
+bool WifiLanMedium::StartAdvertising(const NsdServiceInfo& nsd_service_info) {
if (!IsAccepting()) {
NEARBY_LOGS(WARNING)
<< "cannot start advertising without accepting connetions.";
@@ -321,8 +326,6 @@ std::unique_ptr<api::WifiLanSocket> WifiLanMedium::ConnectToService(
std::unique_ptr<api::WifiLanServerSocket> WifiLanMedium::ListenForService(
int port) {
- absl::MutexLock lock(&mutex_);
-
// check current status
if (IsAccepting()) {
NEARBY_LOGS(WARNING) << "accepting connections already started on port "
@@ -335,7 +338,6 @@ std::unique_ptr<api::WifiLanServerSocket> WifiLanMedium::ListenForService(
server_socket_ptr_ = server_socket.get();
server_socket->SetCloseNotifier([this]() {
- absl::MutexLock lock(&mutex_);
NEARBY_LOGS(INFO) << "server socket was closed on port "
<< server_socket_ptr_->GetPort();
medium_status_ &= (~MEDIUM_STATUS_ACCEPTING);
diff --git a/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_lan_server_socket.cc b/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_lan_server_socket.cc
index 82ca87ab01e..9bfceece609 100644
--- a/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_lan_server_socket.cc
+++ b/chromium/third_party/nearby/src/internal/platform/implementation/windows/wifi_lan_server_socket.cc
@@ -12,6 +12,14 @@
// See the License for the specific language governing permissions and
// limitations under the License.
+#include <windows.h>
+
+#include <functional>
+#include <memory>
+#include <string>
+#include <vector>
+
+#include "internal/platform/implementation/windows/generated/winrt/Windows.Networking.Sockets.h"
#include "internal/platform/implementation/windows/utils.h"
#include "internal/platform/implementation/windows/wifi_lan.h"
#include "internal/platform/logging.h"
@@ -19,12 +27,17 @@
namespace location {
namespace nearby {
namespace windows {
+namespace {
+
+using ::winrt::Windows::Networking::Sockets::SocketQualityOfService;
+
+}
WifiLanServerSocket::WifiLanServerSocket(int port) : port_(port) {}
WifiLanServerSocket::~WifiLanServerSocket() { Close(); }
-// Returns ip address.
+// Returns the first IP address.
std::string WifiLanServerSocket::GetIPAddress() const {
if (stream_socket_listener_ == nullptr) {
return {};
@@ -40,7 +53,7 @@ std::string WifiLanServerSocket::GetIPAddress() const {
return ip_addresses_.front();
}
-// Returns port.
+// Returns socket port.
int WifiLanServerSocket::GetPort() const {
if (stream_socket_listener_ == nullptr) {
return 0;
@@ -57,6 +70,8 @@ int WifiLanServerSocket::GetPort() const {
// Once error is reported, it is permanent, and ServerSocket has to be closed.
std::unique_ptr<api::WifiLanSocket> WifiLanServerSocket::Accept() {
absl::MutexLock lock(&mutex_);
+ NEARBY_LOGS(INFO) << __func__ << ": Accept is called.";
+
while (!closed_ && pending_sockets_.empty()) {
cond_.Wait(&mutex_);
}
@@ -64,6 +79,8 @@ std::unique_ptr<api::WifiLanSocket> WifiLanServerSocket::Accept() {
StreamSocket wifi_lan_socket = pending_sockets_.front();
pending_sockets_.pop_front();
+
+ NEARBY_LOGS(INFO) << __func__ << ": Accepted a remote connection.";
return std::make_unique<WifiLanSocket>(wifi_lan_socket);
}
@@ -75,6 +92,8 @@ void WifiLanServerSocket::SetCloseNotifier(std::function<void()> notifier) {
Exception WifiLanServerSocket::Close() {
try {
absl::MutexLock lock(&mutex_);
+ NEARBY_LOGS(INFO) << __func__ << ": Close is called.";
+
if (closed_) {
return {Exception::kSuccess};
}
@@ -83,27 +102,33 @@ Exception WifiLanServerSocket::Close() {
stream_socket_listener_.Close();
stream_socket_listener_ = nullptr;
- if (!pending_sockets_.empty()) {
- auto it = pending_sockets_.begin();
- while (it != pending_sockets_.end()) {
- it->Close();
- }
+ for (const auto& pending_socket : pending_sockets_) {
+ pending_socket.Close();
}
- cond_.SignalAll();
+ pending_sockets_ = {};
}
+
closed_ = true;
+ cond_.SignalAll();
+
if (close_notifier_ != nullptr) {
close_notifier_();
}
+
+ NEARBY_LOGS(INFO) << __func__ << ": Close completed succesfully.";
return {Exception::kSuccess};
} catch (...) {
+ closed_ = true;
+ cond_.SignalAll();
+
+ NEARBY_LOGS(INFO) << __func__ << ": Failed to close server socket.";
return {Exception::kIo};
}
}
bool WifiLanServerSocket::listen() {
- // Check IP address
+ // Get current IP addresses of the device.
ip_addresses_ = GetIpAddresses();
if (ip_addresses_.empty()) {
@@ -112,10 +137,15 @@ bool WifiLanServerSocket::listen() {
return false;
}
- // Save connection callback
+ // Setup stream socket listener.
stream_socket_listener_ = StreamSocketListener();
- // Setup callback
+ stream_socket_listener_.Control().QualityOfService(
+ SocketQualityOfService::LowLatency);
+
+ stream_socket_listener_.Control().KeepAlive(true);
+
+ // Setup socket event of ConnectionReceived.
listener_event_token_ = stream_socket_listener_.ConnectionReceived(
{this, &WifiLanServerSocket::Listener_ConnectionReceived});
@@ -135,7 +165,8 @@ bool WifiLanServerSocket::listen() {
try {
stream_socket_listener_.BindServiceNameAsync({}).get();
- // need to save the port information
+
+ // Need to save the port information.
port_ =
std::stoi(stream_socket_listener_.Information().LocalPort().c_str());
return true;
@@ -151,6 +182,7 @@ fire_and_forget WifiLanServerSocket::Listener_ConnectionReceived(
StreamSocketListener listener,
StreamSocketListenerConnectionReceivedEventArgs const& args) {
absl::MutexLock lock(&mutex_);
+ NEARBY_LOGS(INFO) << __func__ << ": Received connection.";
if (closed_) {
return fire_and_forget{};
@@ -161,7 +193,7 @@ fire_and_forget WifiLanServerSocket::Listener_ConnectionReceived(
return fire_and_forget{};
}
-// Retrieves IP addresses from local machine
+// Retrieves IP addresses from local machine.
std::vector<std::string> WifiLanServerSocket::GetIpAddresses() const {
std::vector<std::string> result{};
auto host_names = NetworkInformation::GetHostNames();
@@ -170,7 +202,7 @@ std::vector<std::string> WifiLanServerSocket::GetIpAddresses() const {
host_name.IPInformation().NetworkAdapter() != nullptr &&
host_name.Type() == HostNameType::Ipv4) {
std::string ipv4_s = winrt::to_string(host_name.ToString());
- // Converts ip address from x.x.x.x to 4 bytes format
+ // Converts ip address from x.x.x.x to 4 bytes format.
in_addr address;
address.S_un.S_addr = inet_addr(ipv4_s.c_str());
char ipv4_b[5];
diff --git a/chromium/third_party/nearby/src/internal/platform/logging.h b/chromium/third_party/nearby/src/internal/platform/logging.h
index 46a3e26c498..722c963b4ed 100644
--- a/chromium/third_party/nearby/src/internal/platform/logging.h
+++ b/chromium/third_party/nearby/src/internal/platform/logging.h
@@ -27,6 +27,15 @@
#define CHECK(condition) static_cast<void>(0), condition ? (void) 0 : abort()
#define DCHECK(condition) static_cast<void>(0), (void) 0
#define CHECK_GT(a, b) static_cast<void>(0), a > b ? (void) 0 : abort()
+#define DCHECK_GT(a, b) static_cast<void>(0), a > b ? (void) 0 : abort()
+#define CHECK_LE(a, b) static_cast<void>(0), a <= b ? (void) 0 : abort()
+#define DCHECK_LE(a, b) static_cast<void>(0), a <= b ? (void) 0 : abort()
+#define CHECK_NE(a, b) static_cast<void>(0), a != b ? (void) 0 : abort()
+#define DCHECK_NE(a, b) static_cast<void>(0), a != b ? (void) 0 : abort()
+#define CHECK_EQ(a, b) static_cast<void>(0), a == b ? (void) 0 : abort()
+#define DCHECK_EQ(a, b) static_cast<void>(0), a == b ? (void) 0 : abort()
+#define CHECK_GE(a, b) static_cast<void>(0), a >= b ? (void) 0 : abort()
+#define DCHECK_GE(a, b) static_cast<void>(0), a >= b ? (void) 0 : abort()
#else
#include "glog/logging.h"
#endif
diff --git a/chromium/third_party/nearby/src/internal/platform/medium_environment.cc b/chromium/third_party/nearby/src/internal/platform/medium_environment.cc
index c443aa12787..b8e0f9adfb7 100644
--- a/chromium/third_party/nearby/src/internal/platform/medium_environment.cc
+++ b/chromium/third_party/nearby/src/internal/platform/medium_environment.cc
@@ -14,6 +14,7 @@
#include "internal/platform/medium_environment.h"
+#include <algorithm>
#include <atomic>
#include <cinttypes>
#include <functional>
@@ -615,31 +616,34 @@ void MediumEnvironment::InsertBleV2MediumGattCharacteristics(
latch.Await();
}
-bool MediumEnvironment::ContainsBleV2MediumGattCharacteristics(
- const Uuid& service_uuid, const Uuid& characteristic_uuid) {
+void MediumEnvironment::ClearBleV2MediumGattCharacteristics() {
+ if (!enabled_) return;
+ RunOnMediumEnvironmentThread([this]() { gatt_advertisement_bytes_.clear(); });
+}
+
+bool MediumEnvironment::DiscoverBleV2MediumGattCharacteristics(
+ const Uuid& service_uuid, const std::vector<Uuid>& characteristic_uuids) {
if (!enabled_) return false;
- bool found_characteristic = false;
CountDownLatch latch(1);
- RunOnMediumEnvironmentThread([this, &latch, &service_uuid,
- &characteristic_uuid, &found_characteristic]() {
- for (const auto& item : gatt_advertisement_bytes_) {
- if (item.first.service_uuid == service_uuid) {
- if (characteristic_uuid.IsEmpty()) {
- // Found the service uuid and no need to search characteristic
- // uuid.
- found_characteristic = true;
- break;
- }
- if (item.first.uuid == characteristic_uuid) {
- found_characteristic = true;
- break;
+ RunOnMediumEnvironmentThread(
+ [this, &latch, &service_uuid, &characteristic_uuids]() {
+ for (const auto& item : gatt_advertisement_bytes_) {
+ if (item.first.service_uuid == service_uuid) {
+ Uuid char_uuid_key = item.first.uuid;
+ auto it = std::find_if(characteristic_uuids.rbegin(),
+ characteristic_uuids.rend(),
+ [char_uuid_key](const auto& char_uuid) {
+ return char_uuid == char_uuid_key;
+ });
+ if (it != characteristic_uuids.rend()) {
+ discovered_gatt_advertisement_bytes_[item.first] = item.second;
+ }
+ }
}
- }
- }
- latch.CountDown();
- });
+ latch.CountDown();
+ });
latch.Await();
- return found_characteristic;
+ return true;
}
ByteArray MediumEnvironment::ReadBleV2MediumGattCharacteristics(
@@ -649,8 +653,8 @@ ByteArray MediumEnvironment::ReadBleV2MediumGattCharacteristics(
CountDownLatch latch(1);
RunOnMediumEnvironmentThread(
[this, &latch, &characteristic, &gatt_advertisement_byte]() {
- auto it = gatt_advertisement_bytes_.find(characteristic);
- if (it != gatt_advertisement_bytes_.end()) {
+ auto it = discovered_gatt_advertisement_bytes_.find(characteristic);
+ if (it != discovered_gatt_advertisement_bytes_.end()) {
gatt_advertisement_byte = it->second;
}
latch.CountDown();
@@ -659,9 +663,10 @@ ByteArray MediumEnvironment::ReadBleV2MediumGattCharacteristics(
return gatt_advertisement_byte;
}
-void MediumEnvironment::ClearBleV2MediumGattCharacteristics() {
+void MediumEnvironment::ClearBleV2MediumGattCharacteristicsForDiscovery() {
if (!enabled_) return;
- RunOnMediumEnvironmentThread([this]() { gatt_advertisement_bytes_.clear(); });
+ RunOnMediumEnvironmentThread(
+ [this]() { discovered_gatt_advertisement_bytes_.clear(); });
}
void MediumEnvironment::UnregisterBleV2Medium(api::ble_v2::BleMedium& medium) {
diff --git a/chromium/third_party/nearby/src/internal/platform/medium_environment.h b/chromium/third_party/nearby/src/internal/platform/medium_environment.h
index 2b1869865f7..399dbe06e03 100644
--- a/chromium/third_party/nearby/src/internal/platform/medium_environment.h
+++ b/chromium/third_party/nearby/src/internal/platform/medium_environment.h
@@ -31,12 +31,12 @@
#endif
#include "internal/platform/byte_array.h"
#include "internal/platform/feature_flags.h"
-#include "internal/platform/implementation/wifi_lan.h"
-#include "internal/platform/wifi_hotspot_credential.h"
#include "internal/platform/implementation/wifi_hotspot.h"
+#include "internal/platform/implementation/wifi_lan.h"
+#include "internal/platform/mutex.h"
#include "internal/platform/nsd_service_info.h"
#include "internal/platform/single_thread_executor.h"
-#include "internal/platform/mutex.h"
+#include "internal/platform/wifi_hotspot_credential.h"
namespace location {
namespace nearby {
@@ -104,7 +104,7 @@ class MediumEnvironment {
// If enabled_notifications is false, future event notifications will not be
// sent to registered instances. This is useful for protocol shutdown,
// where we no longer care about notifications, and where notifications may
- // otherwise be delivered after the notification source or target lifeteme has
+ // otherwise be delivered after the notification source or target lifetime has
// ended, and cause undefined behavior.
void Sync(bool enable_notifications = true);
@@ -116,7 +116,7 @@ class MediumEnvironment {
api::BluetoothAdapter::ScanMode mode);
// Adds medium-related info to allow for adapter discovery to work.
- // This provides acccess to this medium from other mediums, when protocol
+ // This provides access to this medium from other mediums, when protocol
// expects they should communicate.
void RegisterBluetoothMedium(api::BluetoothClassicMedium& medium,
api::BluetoothAdapter& medium_adapter);
@@ -169,7 +169,7 @@ class MediumEnvironment {
absl::Duration GetPeerConnectionLatency();
// Adds medium-related info to allow for scanning/advertising to work.
- // This provides acccess to this medium from other mediums, when protocol
+ // This provides access to this medium from other mediums, when protocol
// expects they should communicate.
void RegisterBleMedium(api::BleMedium& medium);
@@ -209,7 +209,7 @@ class MediumEnvironment {
const std::string& service_id);
// Adds medium-related info to allow for scanning/advertising to work.
- // This provides acccess to this medium from other mediums, when protocol
+ // This provides access to this medium from other mediums, when protocol
// expects they should communicate.
// The registered `medium` must refer to a valid instance that outlives this
// object.
@@ -241,25 +241,28 @@ class MediumEnvironment {
const api::ble_v2::GattCharacteristic& characteristic,
const ByteArray& gatt_advertisement_byte);
- // Check if `service_uuid` and `characteristic_uuid` exists in the map.
- //
- // `characteristic_uuid` can be empty and to check `service_uuid` only.
- bool ContainsBleV2MediumGattCharacteristics(const Uuid& service_uuid,
- const Uuid& characteristic_uuid);
+ // Clears the map `gatt_advertisement_bytes_`.
+ void ClearBleV2MediumGattCharacteristics();
+
+ // Discover `service_uuid` and `characteristic_uuids`. This is to save the
+ // matched `gatt_advertisement_bytes_` to the
+ // `discovered_gatt_advertisement_bytes_`.
+ bool DiscoverBleV2MediumGattCharacteristics(
+ const Uuid& service_uuid, const std::vector<Uuid>& characteristic_uuids);
// Reads the BLE GATT characteristic value. If the GATT characteristic is not
// existed, return empty byte array.
ByteArray ReadBleV2MediumGattCharacteristics(
const api::ble_v2::GattCharacteristic& characteristic);
- // Clears the map `gatt_advertisement_bytes_`.
- void ClearBleV2MediumGattCharacteristics();
+ // Clears the map `discovered_gatt_advertisement_bytes_`.
+ void ClearBleV2MediumGattCharacteristicsForDiscovery();
// Removes medium-related info. This should correspond to device power off.
void UnregisterBleV2Medium(api::ble_v2::BleMedium& mediumum);
// Adds medium-related info to allow for discovery/advertising to work.
- // This provides acccess to this medium from other mediums, when protocol
+ // This provides access to this medium from other mediums, when protocol
// expects they should communicate.
void RegisterWifiLanMedium(api::WifiLanMedium& medium);
@@ -292,7 +295,7 @@ class MediumEnvironment {
api::WifiLanMedium* GetWifiLanMedium(const std::string& ip_address, int port);
// Adds medium-related info to allow for start/connect Hotspot to work.
- // This provides acccess to this medium from other mediums, when protocol
+ // This provides access to this medium from other mediums, when protocol
// expects they should communicate.
void RegisterWifiHotspotMedium(api::WifiHotspotMedium& medium);
@@ -403,6 +406,9 @@ class MediumEnvironment {
absl::flat_hash_map<api::ble_v2::GattCharacteristic,
location::nearby::ByteArray>
gatt_advertisement_bytes_;
+ absl::flat_hash_map<api::ble_v2::GattCharacteristic,
+ location::nearby::ByteArray>
+ discovered_gatt_advertisement_bytes_;
#ifndef NO_WEBRTC
// Maps peer id to callback for receiving signaling messages.
diff --git a/chromium/third_party/nearby/src/internal/platform/wifi_hotspot.h b/chromium/third_party/nearby/src/internal/platform/wifi_hotspot.h
index 1f8767e3f08..dda86dc7b70 100644
--- a/chromium/third_party/nearby/src/internal/platform/wifi_hotspot.h
+++ b/chromium/third_party/nearby/src/internal/platform/wifi_hotspot.h
@@ -96,7 +96,7 @@ class WifiHotspotSocket final {
std::shared_ptr<api::WifiHotspotSocket> impl_;
};
-// Server socket class for SoftAP when it listen to connection request
+// Server socket class for SoftAP when it listens to connection request.
class WifiHotspotServerSocket final {
public:
WifiHotspotServerSocket() = default;
diff --git a/chromium/third_party/nearby/src/internal/platform/wifi_lan.h b/chromium/third_party/nearby/src/internal/platform/wifi_lan.h
index 4ec61ae5539..d93ad452d8e 100644
--- a/chromium/third_party/nearby/src/internal/platform/wifi_lan.h
+++ b/chromium/third_party/nearby/src/internal/platform/wifi_lan.h
@@ -192,7 +192,15 @@ class WifiLanMedium {
return impl_->GetDynamicPortRange();
}
- bool IsValid() const { return impl_ != nullptr; }
+ // Both SW and HW support WifiLan Medium
+ bool IsValid() const {
+ // When impl_ is not nullptr, it means platform layer SW is implemented for
+ // this Medium
+ if (impl_ == nullptr) return false;
+ // A network connection to a primary router exist, also implied that HW is
+ // existed and enabled.
+ return impl_->IsNetworkConnected();
+ }
api::WifiLanMedium& GetImpl() { return *impl_; }
diff --git a/chromium/third_party/nearby/src/internal/proto/BUILD b/chromium/third_party/nearby/src/internal/proto/BUILD
new file mode 100644
index 00000000000..3673e89fe33
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/proto/BUILD
@@ -0,0 +1,26 @@
+proto_library(
+ name = "device_metadata_proto",
+ srcs = ["device_metadata.proto"],
+)
+
+cc_proto_library(
+ name = "device_metadata_cc_proto",
+ visibility = [
+ "//third_party/nearby:__subpackages__",
+ ],
+ deps = [":device_metadata_proto"],
+)
+
+proto_library(
+ name = "credential_proto",
+ srcs = ["credential.proto"],
+ deps = [":device_metadata_proto"],
+)
+
+cc_proto_library(
+ name = "credential_cc_proto",
+ visibility = [
+ "//third_party/nearby:__subpackages__",
+ ],
+ deps = [":credential_proto"],
+)
diff --git a/chromium/third_party/nearby/src/internal/proto/analytics/BUILD b/chromium/third_party/nearby/src/internal/proto/analytics/BUILD
index 60f63440814..3dc64088cd6 100644
--- a/chromium/third_party/nearby/src/internal/proto/analytics/BUILD
+++ b/chromium/third_party/nearby/src/internal/proto/analytics/BUILD
@@ -32,6 +32,7 @@ cc_proto_library(
visibility = [
"//connections:__subpackages__",
"//internal/analytics:__subpackages__",
+ "//location/nearby/analytics/cpp:__subpackages__",
],
deps = [":connections_log_proto"],
)
diff --git a/chromium/third_party/nearby/src/internal/proto/credential.proto b/chromium/third_party/nearby/src/internal/proto/credential.proto
new file mode 100644
index 00000000000..c6ca1432ee9
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/proto/credential.proto
@@ -0,0 +1,80 @@
+syntax = "proto3";
+
+package nearby.internal;
+
+import "internal/proto/device_metadata.proto";
+
+option java_package = "com.google.nearby.presence";
+
+enum IdentityType {
+ IDENTITY_TYPE_UNSPECIFIED = 0;
+ IDENTITY_TYPE_PRIVATE = 1;
+ IDENTITY_TYPE_TRUSTED = 2;
+ IDENTITY_TYPE_PUBLIC = 3;
+ IDENTITY_TYPE_PROVISIONED = 4;
+}
+
+// A proto to store the local device's private credential.
+message PrivateCredential {
+ optional IdentityType identity_type = 1;
+
+ // The unique id of (and hashed based on) a pair of secret
+ // key (PrivateCredential.verification_key) and X509Certificate's public
+ // key (PublicCredential.verification_key).
+ optional bytes secret_id = 2;
+
+ // The aes key to encrypt personal fields in public certificates.
+ // A bytes representation of a Secret Key owned by contact, to decrypt the
+ // encrypted DeviceMetadata bytes stored within the advertisement.
+ optional bytes authenticity_key = 3;
+
+ // Bytes representation of a private key of X509Certificate, used in
+ // handshake during contact verification phase.
+ optional bytes verification_key = 4;
+
+ // The time in millis from epoch when this credential becomes effective.
+ optional uint64 start_time_millis = 5;
+
+ // The time in millis from epoch when this credential expires.
+ optional uint64 end_time_millis = 6;
+
+ // The set of 2-byte salts already used to encrypt the metadata key.
+ map<uint32, bool> consumed_salts = 7;
+
+ // The aes key to encrypt DeviceMetadata in public credential.
+ optional bytes metadata_encryption_key = 8;
+
+ // The device metadata relates to this private credential.
+ optional DeviceMetadata device_metadata = 9;
+}
+
+message PublicCredential {
+ optional IdentityType identity_type = 1;
+
+ // The unique id of (and hashed based on) a pair of secret
+ // key (PrivateCredential.verification_key) and X509Certificate's public
+ // key (PublicCredential.verification_key).
+ optional bytes secret_id = 2;
+
+ // Bytes representation of a Secret Key owned by contact, to decrypt the
+ // metadata_key stored within the advertisement.
+ optional bytes authenticity_key = 3;
+
+ // Bytes representation of a public key of X509Certificate, used in
+ // handshake during contact verification phase.
+ optional bytes verification_key = 4;
+
+ // The time in millis from epoch when this credential becomes effective.
+ optional uint64 start_time_millis = 5;
+
+ // The time in millis from epoch when this credential expires.
+ optional uint64 end_time_millis = 6;
+
+ // The encrypted DeviceMetadata in bytes, contains personal information of the
+ // device/user who created this certificate. Needs to be decrypted into bytes,
+ // and converted back to DeviceMetadata instance to access fields.
+ optional bytes encrypted_metadata_bytes = 7;
+
+ // The tag for verifying metadata_encryption_key.
+ optional bytes metadata_encryption_key_tag = 8;
+}
diff --git a/chromium/third_party/nearby/src/internal/proto/device_metadata.proto b/chromium/third_party/nearby/src/internal/proto/device_metadata.proto
new file mode 100644
index 00000000000..b3acf3744bf
--- /dev/null
+++ b/chromium/third_party/nearby/src/internal/proto/device_metadata.proto
@@ -0,0 +1,34 @@
+syntax = "proto3";
+
+package nearby.internal;
+
+// A proto to store the local device's metadata.
+message DeviceMetadata {
+ // Stable device identifier that does not rotate for a few months.
+ optional string stable_device_id = 1;
+
+ // The account name which created the credential.
+ optional string account_name = 2;
+
+ // The name of the local device when the credential is created.
+ optional string device_name = 3;
+
+ // The icon url of the user whose device created the certificate.
+ optional string icon_url = 4;
+
+ // The Bluetooth MAC address of the device which created the certificate.
+ optional string bluetooth_mac_address = 5;
+
+ /** The types of the device. */
+ enum DeviceType {
+ UNSPECIFIED = 0;
+ PHONE = 1;
+ TABLET = 2;
+ DISPLAY = 3;
+ LAPTOP = 4;
+ TV = 5;
+ WATCH = 6;
+ }
+
+ optional DeviceType device_type = 6;
+}
diff --git a/chromium/third_party/nearby/src/presence/BUILD b/chromium/third_party/nearby/src/presence/BUILD
index 4848e991e83..b31637c4d80 100644
--- a/chromium/third_party/nearby/src/presence/BUILD
+++ b/chromium/third_party/nearby/src/presence/BUILD
@@ -13,6 +13,8 @@
# limitations under the License.
licenses(["notice"])
+package(default_visibility = ["//third_party/nearby:__subpackages__"])
+
cc_library(
name = "presence",
srcs = [
@@ -20,12 +22,11 @@ cc_library(
],
hdrs = [
"presence_client.h",
- ],
- visibility = [
- "//third_party/nearby:__subpackages__",
+ "presence_service.h",
],
deps = [
":types",
+ "//presence/implementation:internal", # build_cleaner: keep
],
)
@@ -37,27 +38,29 @@ cc_library(
"presence_action.cc",
"presence_client.cc",
"presence_device.cc",
- "presence_identity.cc",
"presence_zone.cc",
+ "scan_request_builder.cc",
],
hdrs = [
"broadcast_options.h",
+ "data_element.h",
"device_motion.h",
"discovery_filter.h",
"discovery_options.h",
"listeners.h",
+ "power_mode.h",
"presence_action.h",
"presence_client.h",
"presence_device.h",
- "presence_identity.h",
"presence_zone.h",
+ "scan_request.h",
+ "scan_request_builder.h",
"status.h",
],
- visibility = [
- "//third_party/nearby/presence:__subpackages__",
- ],
deps = [
+ "//net/proto2/util/public:differencer",
"//internal/platform:base",
+ "//internal/proto:credential_cc_proto",
"@com_google_absl//absl/strings",
"@com_google_absl//absl/types:variant",
"@com_google_glog//:glog",
@@ -76,11 +79,31 @@ cc_test(
"presence_device_test.cc",
"presence_identity_test.cc",
"presence_zone_test.cc",
+ "scan_request_builder_test.cc",
"status_test.cc",
],
shard_count = 6,
deps = [
":types",
+ "//internal/proto:credential_cc_proto",
+ "@com_github_protobuf_matchers//protobuf-matchers",
+ "@com_google_absl//absl/types:variant",
+ "@com_google_googletest//:gtest_main",
+ ],
+)
+
+cc_test(
+ name = "credential_test",
+ size = "small",
+ srcs = [
+ "credential_test.cc",
+ "presence_identity_test.cc",
+ ],
+ shard_count = 6,
+ deps = [
+ "//internal/platform:uuid",
+ "//internal/platform/implementation/g3", # build_cleaner: keep
+ "//internal/proto:credential_cc_proto",
"@com_github_protobuf_matchers//protobuf-matchers",
"@com_google_googletest//:gtest_main",
],
@@ -91,10 +114,12 @@ cc_test(
size = "small",
srcs = [
"presence_client_test.cc",
+ "presence_service_test.cc",
],
shard_count = 6,
deps = [
":presence",
+ "//internal/platform/implementation/g3", # build_cleaner: keep
"@com_github_protobuf_matchers//protobuf-matchers",
"@com_google_googletest//:gtest_main",
],
diff --git a/chromium/third_party/nearby/src/presence/broadcast_options_test.cc b/chromium/third_party/nearby/src/presence/broadcast_options_test.cc
index 22b16202570..e2e5c381647 100644
--- a/chromium/third_party/nearby/src/presence/broadcast_options_test.cc
+++ b/chromium/third_party/nearby/src/presence/broadcast_options_test.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "third_party/nearby/presence/broadcast_options.h"
+#include "presence/broadcast_options.h"
#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
diff --git a/chromium/third_party/nearby/src/presence/credential_test.cc b/chromium/third_party/nearby/src/presence/credential_test.cc
new file mode 100644
index 00000000000..cacd193cee0
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/credential_test.cc
@@ -0,0 +1,82 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include <cstdlib>
+#include <vector>
+
+#include "gmock/gmock.h"
+#include "protobuf-matchers/protocol-buffer-matchers.h"
+#include "gtest/gtest.h"
+#include "internal/platform/uuid.h"
+#include "internal/proto/credential.pb.h"
+
+namespace nearby {
+namespace presence {
+namespace {
+using ::nearby::internal::DeviceMetadata;
+using ::nearby::internal::PrivateCredential;
+using ::nearby::internal::PublicCredential;
+using ::nearby::internal::IdentityType::IDENTITY_TYPE_PROVISIONED;
+using ::nearby::internal::IdentityType::IDENTITY_TYPE_PUBLIC;
+
+using ::protobuf_matchers::EqualsProto;
+
+TEST(CredentialsTest, NoDefaultConstructor) {
+ EXPECT_FALSE(std::is_trivially_constructible<PrivateCredential>::value);
+ EXPECT_FALSE(std::is_trivially_constructible<PublicCredential>::value);
+}
+
+TEST(CredentialsTest, InitPublicCredential) {
+ PublicCredential pc1 = {};
+ PublicCredential pc2 = {};
+ EXPECT_THAT(pc1, EqualsProto(pc2));
+ pc1.set_identity_type(IDENTITY_TYPE_PUBLIC);
+ EXPECT_THAT(pc1, ::testing::Not(EqualsProto(pc2)));
+ pc2.set_identity_type(IDENTITY_TYPE_PUBLIC);
+ EXPECT_THAT(pc1, EqualsProto(pc2));
+}
+
+TEST(CredentialsTest, InitPrivateCredential) {
+ PrivateCredential pc1 = {};
+ PrivateCredential pc2 = {};
+ EXPECT_THAT(pc1, EqualsProto(pc2));
+ pc1.set_identity_type(IDENTITY_TYPE_PUBLIC);
+ EXPECT_THAT(pc1, ::testing::Not(EqualsProto(pc2)));
+ pc2.set_identity_type(IDENTITY_TYPE_PUBLIC);
+ EXPECT_THAT(pc1, EqualsProto(pc2));
+}
+
+TEST(CredentialsTest, CopyPrivateCredential) {
+ PrivateCredential pc1 = {};
+ pc1.set_identity_type(IDENTITY_TYPE_PROVISIONED);
+ auto salts = pc1.mutable_consumed_salts();
+ salts->insert(std::pair<int32, bool>(15, true));
+ pc1.mutable_device_metadata()->set_device_name("Android Phone");
+ pc1.mutable_device_metadata()->set_device_type(DeviceMetadata::PHONE);
+ PrivateCredential pc1_copy = {pc1};
+ EXPECT_THAT(pc1, EqualsProto(pc1_copy));
+}
+
+TEST(CredentialsTest, CopyPublicCredential) {
+ PublicCredential pc1 = {};
+ pc1.set_identity_type(IDENTITY_TYPE_PROVISIONED);
+ for (const uint8_t byte : location::nearby::Uuid().data()) {
+ pc1.mutable_secret_id()->push_back(byte);
+ }
+ PublicCredential pc1_copy = {pc1};
+ EXPECT_THAT(pc1, EqualsProto(pc1_copy));
+}
+} // namespace
+} // namespace presence
+} // namespace nearby
diff --git a/chromium/third_party/nearby/src/presence/data_element.h b/chromium/third_party/nearby/src/presence/data_element.h
new file mode 100644
index 00000000000..c019efa8709
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/data_element.h
@@ -0,0 +1,91 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_DATA_ELEMENT_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_DATA_ELEMENT_H_
+
+#include <stdint.h>
+
+#include <ostream>
+#include <string>
+
+#include "absl/strings/escaping.h"
+#include "absl/strings/string_view.h"
+namespace nearby {
+namespace presence {
+
+// Reserved Action types when the field type is kActionFieldType
+namespace action {
+constexpr int kTapToTransferAction = 4;
+constexpr int kActiveUnlockAction = 8;
+constexpr int kNearbyShareAction = 9;
+constexpr int kFastPairAction = 10;
+constexpr int kFitCastAction = 11;
+} // namespace action
+
+/** Describes a custom Data element in NP advertisement. */
+class DataElement {
+ public:
+ // The field types listed below require special processing when generating and
+ // parsing NP advertisements.
+ static constexpr int kSaltFieldType = 0;
+ static constexpr int kPrivateIdentityFieldType = 1;
+ static constexpr int kTrustedIdentityFieldType = 2;
+ static constexpr int kPublicIdentityFieldType = 3;
+ static constexpr int kProvisionedIdentityFieldType = 4;
+ static constexpr int kTxPowerFieldType = 5;
+ static constexpr int kActionFieldType = 6;
+ static constexpr int kModelIdFieldType = 7;
+ static constexpr int kEddystoneIdFieldType = 8;
+ static constexpr int kAccountKeyDataFieldType = 9;
+ static constexpr int kConnectionStatusFieldType = 10;
+ static constexpr int kBatteryFieldType = 11;
+ static constexpr int kAdvertisementSignature = 12;
+ static constexpr int kContextTimestampFieldType = 13;
+ // Maximum allowed Data Element's value length
+ static constexpr int kMaxDataElementLength = 15;
+ // Maximum allowed Data Element's type
+ static constexpr int kMaxDataElementType = 15;
+ // The DE header is (length << kDataElementLengthShift | type)
+ static constexpr int kDataElementLengthShift = 4;
+
+ DataElement(uint16_t type, absl::string_view value)
+ : type_(type), value_(value) {}
+
+ DataElement(uint16_t type, uint8_t value)
+ : type_(type),
+ value_(reinterpret_cast<const char*>(&value), sizeof(value)) {}
+ ~DataElement() = default;
+
+ uint16_t GetType() const { return type_; }
+ absl::string_view GetValue() const { return value_; }
+
+ private:
+ uint16_t type_;
+ std::string value_;
+};
+
+inline bool operator==(const DataElement& i1, const DataElement& i2) {
+ return i1.GetType() == i2.GetType() && i1.GetValue() == i2.GetValue();
+}
+
+inline std::ostream& operator<<(std::ostream& os, const DataElement& elem) {
+ return os << "DataElement(" << elem.GetType() << ", "
+ << absl::BytesToHexString(elem.GetValue()) << ")";
+}
+
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_DATA_ELEMENT_H_
diff --git a/chromium/third_party/nearby/src/presence/device_motion.cc b/chromium/third_party/nearby/src/presence/device_motion.cc
index a42afc4b1df..8b79e3f676b 100644
--- a/chromium/third_party/nearby/src/presence/device_motion.cc
+++ b/chromium/third_party/nearby/src/presence/device_motion.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "third_party/nearby/presence/device_motion.h"
+#include "presence/device_motion.h"
namespace nearby {
namespace presence {
diff --git a/chromium/third_party/nearby/src/presence/device_motion.h b/chromium/third_party/nearby/src/presence/device_motion.h
index 6a41dbf1cf6..439b53499f2 100644
--- a/chromium/third_party/nearby/src/presence/device_motion.h
+++ b/chromium/third_party/nearby/src/presence/device_motion.h
@@ -21,6 +21,7 @@ class DeviceMotion {
public:
enum class MotionType {
kPointAndHold = 0,
+ kStationaryAndHold = 1,
};
DeviceMotion(MotionType motion_type = MotionType::kPointAndHold,
float confidence = 0) noexcept;
diff --git a/chromium/third_party/nearby/src/presence/device_motion_test.cc b/chromium/third_party/nearby/src/presence/device_motion_test.cc
index 26af0b2b595..1155903aa0c 100644
--- a/chromium/third_party/nearby/src/presence/device_motion_test.cc
+++ b/chromium/third_party/nearby/src/presence/device_motion_test.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "third_party/nearby/presence/device_motion.h"
+#include "presence/device_motion.h"
#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
diff --git a/chromium/third_party/nearby/src/presence/discovery_filter.cc b/chromium/third_party/nearby/src/presence/discovery_filter.cc
index acfab3dd6f4..453309a5d89 100644
--- a/chromium/third_party/nearby/src/presence/discovery_filter.cc
+++ b/chromium/third_party/nearby/src/presence/discovery_filter.cc
@@ -12,20 +12,22 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "third_party/nearby/presence/discovery_filter.h"
+#include "presence/discovery_filter.h"
namespace nearby {
namespace presence {
+using ::nearby::internal::IdentityType;
+
DiscoveryFilter::DiscoveryFilter(
const std::vector<PresenceAction>& actions,
- const std::vector<PresenceIdentity>& identities,
+ const std::vector<IdentityType>& identities,
const std::vector<PresenceZone>& zones) noexcept
: actions_(actions), identities_(identities), zones_(zones) {}
std::vector<PresenceAction> DiscoveryFilter::GetActions() const {
return actions_;
}
-std::vector<PresenceIdentity> DiscoveryFilter::GetIdentities() const {
+std::vector<IdentityType> DiscoveryFilter::GetIdentities() const {
return identities_;
}
std::vector<PresenceZone> DiscoveryFilter::GetZones() const { return zones_; }
diff --git a/chromium/third_party/nearby/src/presence/discovery_filter.h b/chromium/third_party/nearby/src/presence/discovery_filter.h
index 308068ff6a6..06b7241332a 100644
--- a/chromium/third_party/nearby/src/presence/discovery_filter.h
+++ b/chromium/third_party/nearby/src/presence/discovery_filter.h
@@ -17,23 +17,23 @@
#include <vector>
-#include "third_party/nearby/presence/presence_action.h"
-#include "third_party/nearby/presence/presence_identity.h"
-#include "third_party/nearby/presence/presence_zone.h"
+#include "internal/proto/credential.pb.h"
+#include "presence/presence_action.h"
+#include "presence/presence_zone.h"
namespace nearby {
namespace presence {
class DiscoveryFilter {
public:
DiscoveryFilter(const std::vector<PresenceAction>& = {},
- const std::vector<PresenceIdentity>& = {},
+ const std::vector<::nearby::internal::IdentityType>& = {},
const std::vector<PresenceZone>& = {}) noexcept;
std::vector<PresenceAction> GetActions() const;
- std::vector<PresenceIdentity> GetIdentities() const;
+ std::vector<::nearby::internal::IdentityType> GetIdentities() const;
std::vector<PresenceZone> GetZones() const;
private:
const std::vector<PresenceAction> actions_;
- const std::vector<PresenceIdentity> identities_;
+ const std::vector<::nearby::internal::IdentityType> identities_;
const std::vector<PresenceZone> zones_;
};
diff --git a/chromium/third_party/nearby/src/presence/discovery_filter_test.cc b/chromium/third_party/nearby/src/presence/discovery_filter_test.cc
index 543191b484c..9b201a6f3c7 100644
--- a/chromium/third_party/nearby/src/presence/discovery_filter_test.cc
+++ b/chromium/third_party/nearby/src/presence/discovery_filter_test.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "third_party/nearby/presence/discovery_filter.h"
+#include "presence/discovery_filter.h"
#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
@@ -22,9 +22,10 @@ namespace nearby {
namespace presence {
namespace {
+using ::nearby::internal::IdentityType;
+
const PresenceAction kTestAction = {1};
-const PresenceIdentity kTestIdentity = {
- PresenceIdentity::IdentityType::kTrusted};
+const IdentityType kTestIdentity = {IdentityType::IDENTITY_TYPE_TRUSTED};
TEST(DiscoveryFilterTest, DefaultConstructorWorks) {
DiscoveryFilter filter;
diff --git a/chromium/third_party/nearby/src/presence/discovery_options_test.cc b/chromium/third_party/nearby/src/presence/discovery_options_test.cc
index c10d840403b..631ed12f655 100644
--- a/chromium/third_party/nearby/src/presence/discovery_options_test.cc
+++ b/chromium/third_party/nearby/src/presence/discovery_options_test.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "third_party/nearby/presence/discovery_options.h"
+#include "presence/discovery_options.h"
#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
diff --git a/chromium/third_party/nearby/src/presence/implementation/BUILD b/chromium/third_party/nearby/src/presence/implementation/BUILD
new file mode 100644
index 00000000000..dda94bc6133
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/BUILD
@@ -0,0 +1,158 @@
+# Copyright 2020 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+licenses(["notice"])
+
+cc_library(
+ name = "internal",
+ srcs = [
+ "action_factory.cc",
+ "advertisement_decoder.cc",
+ "advertisement_factory.cc",
+ "base_broadcast_request.cc",
+ "credential_manager_impl.cc",
+ "encryption.cc",
+ ],
+ hdrs = [
+ "action_factory.h",
+ "advertisement_decoder.h",
+ "advertisement_factory.h",
+ "base_broadcast_request.h",
+ "broadcast_manager.h",
+ "credential_manager.h",
+ "credential_manager_impl.h",
+ "encryption.h",
+ "mock_service_controller.h",
+ "scan_manager.h",
+ "service_controller.h",
+ "service_controller_impl.h",
+ ],
+ visibility = [
+ "//presence:__subpackages__",
+ ],
+ deps = [
+ "//internal/crypto",
+ "//internal/platform:base",
+ "//internal/platform:comm",
+ "//internal/platform:logging",
+ "//internal/platform:uuid",
+ "//internal/platform/implementation:comm",
+ "//internal/platform/implementation:types",
+ "//internal/proto:credential_cc_proto",
+ "//presence:types",
+ "//presence/implementation/mediums",
+ "//third_party/tink/cc/subtle",
+ "@boringssl//:crypto",
+ "@com_google_absl//absl/status",
+ "@com_google_absl//absl/status:statusor",
+ "@com_google_absl//absl/strings",
+ "@com_google_absl//absl/strings:str_format",
+ "@com_google_absl//absl/types:optional",
+ "@com_google_absl//absl/types:variant",
+ ],
+)
+
+cc_library(
+ name = "sensor_fusion",
+ hdrs = ["sensor_fusion.h"],
+ visibility = [
+ "//presence:__subpackages__",
+ ],
+ deps = [
+ "//presence:types",
+ "@com_google_absl//absl/types:optional",
+ ],
+)
+
+cc_test(
+ name = "advertisement_decoder_test",
+ size = "small",
+ srcs = ["advertisement_decoder_test.cc"],
+ deps = [
+ ":internal",
+ "//internal/platform/implementation/g3", # build_cleaner: keep
+ "//presence:types",
+ "@com_github_protobuf_matchers//protobuf-matchers",
+ "@com_google_absl//absl/strings",
+ "@com_google_googletest//:gtest_main",
+ ],
+)
+
+cc_test(
+ name = "advertisement_factory_test",
+ size = "small",
+ srcs = ["advertisement_factory_test.cc"],
+ deps = [
+ ":internal",
+ "//internal/platform/implementation/g3", # build_cleaner: keep
+ "//presence:types",
+ "@com_github_protobuf_matchers//protobuf-matchers",
+ "@com_google_absl//absl/status",
+ "@com_google_absl//absl/strings",
+ "@com_google_googletest//:gtest_main",
+ ],
+)
+
+cc_test(
+ name = "encryption_test",
+ size = "small",
+ srcs = ["encryption_test.cc"],
+ deps = [
+ ":internal",
+ "//internal/platform/implementation/g3", # build_cleaner: keep
+ "@com_github_protobuf_matchers//protobuf-matchers",
+ "@com_google_absl//absl/strings",
+ "@com_google_googletest//:gtest_main",
+ ],
+)
+
+cc_test(
+ name = "base_broadcast_request_test",
+ srcs = ["base_broadcast_request_test.cc"],
+ deps = [
+ ":internal",
+ "//internal/platform/implementation/g3", # build_cleaner: keep
+ "@com_github_protobuf_matchers//protobuf-matchers",
+ "@com_google_absl//absl/types:variant",
+ "@com_google_googletest//:gtest_main",
+ ],
+)
+
+cc_test(
+ name = "action_factory_test",
+ size = "small",
+ srcs = ["action_factory_test.cc"],
+ deps = [
+ ":internal",
+ "//internal/platform/implementation/g3", # build_cleaner: keep
+ "//presence:types",
+ "@com_github_protobuf_matchers//protobuf-matchers",
+ "@com_google_absl//absl/strings",
+ "@com_google_googletest//:gtest_main",
+ ],
+)
+
+cc_test(
+ name = "credential_manager_impl_test",
+ size = "small",
+ srcs = ["credential_manager_impl_test.cc"],
+ deps = [
+ ":internal",
+ "//net/proto2/contrib/parse_proto:testing",
+ "//internal/platform/implementation:types",
+ "//internal/platform/implementation/g3", # build_cleaner: keep
+ "//internal/proto:credential_cc_proto",
+ "@com_github_protobuf_matchers//protobuf-matchers",
+ "@com_google_googletest//:gtest_main",
+ ],
+)
diff --git a/chromium/third_party/nearby/src/presence/implementation/action_factory.cc b/chromium/third_party/nearby/src/presence/implementation/action_factory.cc
new file mode 100644
index 00000000000..f87d6b02f89
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/action_factory.cc
@@ -0,0 +1,132 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "presence/implementation/action_factory.h"
+
+#include <algorithm>
+#include <vector>
+
+#include "absl/types/optional.h"
+#include "internal/platform/logging.h"
+
+namespace nearby {
+namespace presence {
+
+constexpr int kContentTimestampMask = 0x0F;
+constexpr int kContentTimestampShift = 12;
+constexpr int kEmptyMask = 0;
+
+// The values below match the bitmasks in Base NP Intent.
+constexpr int kTapToTransferMask = 1 << 11;
+constexpr int kActiveUnlockMask = 1 << 7;
+constexpr int kNearbyShareMask = 1 << 6;
+constexpr int kFastPairMask = 1 << 5;
+constexpr int kFitCastMask = 1 << 4;
+
+namespace {
+int GetActionMask(int action) {
+ switch (action) {
+ case action::kActiveUnlockAction:
+ return kActiveUnlockMask;
+ case action::kTapToTransferAction:
+ return kTapToTransferMask;
+ case action::kNearbyShareAction:
+ return kNearbyShareMask;
+ case action::kFastPairAction:
+ return kFastPairMask;
+ case action::kFitCastAction:
+ return kFitCastMask;
+ }
+ NEARBY_LOG(WARNING, "Unsupported action %d", action);
+ return kEmptyMask;
+}
+
+// The reverse of `GetActionMask()`
+absl::optional<uint8_t> GetActionFromBitMask(int mask) {
+ switch (mask) {
+ case kTapToTransferMask:
+ return action::kTapToTransferAction;
+ case kActiveUnlockMask:
+ return action::kActiveUnlockAction;
+ case kNearbyShareMask:
+ return action::kNearbyShareAction;
+ case kFastPairMask:
+ return action::kFastPairAction;
+ case kFitCastMask:
+ return action::kFitCastAction;
+ default:
+ NEARBY_LOG(WARNING, "Unsupported action for bit mask 0x%x", mask);
+ return absl::nullopt;
+ }
+}
+
+int GetMask(const DataElement& element) {
+ int type = element.GetType();
+ switch (type) {
+ case DataElement::kContextTimestampFieldType: {
+ auto value = element.GetValue();
+ if (!value.empty()) {
+ return (value[0] & kContentTimestampMask) << kContentTimestampShift;
+ } else {
+ NEARBY_LOG(WARNING, "Context timestamp Data Element without value");
+ return kEmptyMask;
+ }
+ }
+ case DataElement::kActionFieldType: {
+ if (element.GetValue().empty()) {
+ NEARBY_LOG(WARNING, "Action Data Element without value");
+ return kEmptyMask;
+ }
+ return GetActionMask(element.GetValue()[0]);
+ }
+ }
+ NEARBY_LOG(WARNING, "Data Element 0x%x not supported in base advertisement",
+ type);
+ return kEmptyMask;
+}
+
+} // namespace
+
+Action ActionFactory::CreateAction(
+ const std::vector<DataElement>& data_elements) {
+ Action action = {.action = 0};
+ std::for_each(data_elements.begin(), data_elements.end(),
+ [&](const auto& element) {
+ int mask = GetMask(element);
+ action.action |= mask;
+ });
+ return action;
+}
+
+void ActionFactory::DecodeAction(const Action& action,
+ std::vector<DataElement>& output) {
+ uint8_t context_timestamp =
+ (action.action >> kContentTimestampShift) & kContentTimestampMask;
+ if (context_timestamp) {
+ output.emplace_back(DataElement::kContextTimestampFieldType,
+ context_timestamp);
+ }
+ for (int i = 0; i < kContentTimestampShift; i++) {
+ int bit_mask = 1 << i;
+ if (action.action & bit_mask) {
+ absl::optional<uint8_t> action_value = GetActionFromBitMask(bit_mask);
+ if (action_value) {
+ output.emplace_back(DataElement::kActionFieldType, *action_value);
+ }
+ }
+ }
+}
+
+} // namespace presence
+} // namespace nearby
diff --git a/chromium/third_party/nearby/src/presence/implementation/action_factory.h b/chromium/third_party/nearby/src/presence/implementation/action_factory.h
new file mode 100644
index 00000000000..b2a438803b5
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/action_factory.h
@@ -0,0 +1,45 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_ACTION_FACTORY_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_ACTION_FACTORY_H_
+
+#include <vector>
+
+#include "presence/data_element.h"
+#include "presence/implementation/base_broadcast_request.h"
+
+namespace nearby {
+namespace presence {
+
+// Defines the mapping between Data Elements and Actions in the Base NP
+// advertisement.
+class ActionFactory {
+ public:
+ // Returns an Action for Base NP advertisement from a collection of Data
+ // Elements. Data Elements unsupported in the Base NP advertisement are
+ // ignored.
+ static Action CreateAction(const std::vector<DataElement>& data_elements);
+
+ // Decodes a Base NP Action into a list of Data Elements. The Data Elements
+ // are appended to the `output` list.
+ //
+ // DecodeAction is effectively a reverse operation of CreateAction.
+ static void DecodeAction(const Action& action,
+ std::vector<DataElement>& output);
+};
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_ACTION_FACTORY_H_
diff --git a/chromium/third_party/nearby/src/presence/implementation/action_factory_test.cc b/chromium/third_party/nearby/src/presence/implementation/action_factory_test.cc
new file mode 100644
index 00000000000..34826b91635
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/action_factory_test.cc
@@ -0,0 +1,95 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "presence/implementation/action_factory.h"
+
+#include <string>
+#include <vector>
+
+#include "gmock/gmock.h"
+#include "protobuf-matchers/protocol-buffer-matchers.h"
+#include "gtest/gtest.h"
+#include "absl/strings/escaping.h"
+#include "presence/data_element.h"
+#include "presence/implementation/base_broadcast_request.h"
+
+namespace nearby {
+namespace presence {
+namespace {
+
+using ::testing::ElementsAre;
+
+TEST(ActionFactory, CreateActiveUnlockAction) {
+ std::vector<DataElement> data_elements;
+ data_elements.emplace_back(DataElement::kActionFieldType,
+ action::kActiveUnlockAction);
+
+ Action action = ActionFactory::CreateAction(data_elements);
+
+ EXPECT_EQ(action.action, 1 << 7);
+}
+
+TEST(ActionFactory, CreateContextTimestamp) {
+ const std::string kTimestamp = absl::HexStringToBytes("0B");
+
+ std::vector<DataElement> data_elements;
+ data_elements.emplace_back(DataElement::kContextTimestampFieldType,
+ kTimestamp);
+
+ Action action = ActionFactory::CreateAction(data_elements);
+
+ EXPECT_EQ(action.action, 0x0B << 12);
+}
+
+TEST(ActionFactory, CreateContextTimestampAndFastPair) {
+ const std::string kTimestamp = absl::HexStringToBytes("0B");
+
+ std::vector<DataElement> data_elements;
+ data_elements.emplace_back(DataElement::kContextTimestampFieldType,
+ kTimestamp);
+ data_elements.emplace_back(DataElement::kActionFieldType,
+ action::kFastPairAction);
+
+ Action action = ActionFactory::CreateAction(data_elements);
+
+ EXPECT_EQ(action.action, (0x0B << 12) | 0x20);
+}
+
+TEST(ActionFactory, DecodeActiveUnlockAction) {
+ constexpr Action kAction = {.action = 1 << 7};
+ std::vector<DataElement> data_elements;
+
+ ActionFactory::DecodeAction(kAction, data_elements);
+
+ EXPECT_THAT(data_elements,
+ ElementsAre(DataElement(DataElement::kActionFieldType,
+ action::kActiveUnlockAction)));
+}
+
+TEST(ActionFactory, DecodeContextTimestampAndFastPair) {
+ constexpr Action kAction = {.action = (0x0B << 12) | 0x20};
+ std::vector<DataElement> data_elements;
+
+ ActionFactory::DecodeAction(kAction, data_elements);
+
+ EXPECT_THAT(data_elements,
+ ElementsAre(DataElement(DataElement::kContextTimestampFieldType,
+ absl::HexStringToBytes("0B")),
+ DataElement(DataElement::kActionFieldType,
+ action::kFastPairAction)));
+}
+
+} // namespace
+} // namespace presence
+} // namespace nearby
diff --git a/chromium/third_party/nearby/src/presence/implementation/advertisement_decoder.cc b/chromium/third_party/nearby/src/presence/implementation/advertisement_decoder.cc
new file mode 100644
index 00000000000..b4ade393156
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/advertisement_decoder.cc
@@ -0,0 +1,146 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "presence/implementation/advertisement_decoder.h"
+
+#include <cstdint>
+#include <string>
+#include <utility>
+#include <vector>
+
+#include "absl/status/status.h"
+#include "absl/status/statusor.h"
+#include "absl/strings/escaping.h"
+#include "absl/strings/str_format.h"
+#include "absl/strings/string_view.h"
+#include "internal/platform/logging.h"
+#include "presence/data_element.h"
+#include "presence/implementation/action_factory.h"
+
+namespace nearby {
+namespace presence {
+
+constexpr uint8_t kDataTypeMask =
+ (1 << DataElement::kDataElementLengthShift) - 1;
+
+constexpr int kAdvertisementVersion = 0;
+
+namespace {
+
+absl::StatusOr<DataElement> ParseDataElement(const absl::string_view input,
+ size_t& index) {
+ if (index >= input.size()) {
+ return absl::OutOfRangeError(absl::StrFormat(
+ "Data element (%s) is %d bytes long. Expected more than %d",
+ absl::BytesToHexString(input), input.size(), index));
+ }
+ uint8_t header = input[index];
+ uint8_t data_type = header & kDataTypeMask;
+ size_t length = header >> DataElement::kDataElementLengthShift;
+ index++;
+ size_t start = index;
+ index += length;
+ if (index > input.size()) {
+ return absl::OutOfRangeError(absl::StrFormat(
+ "Data element (%s) is %d bytes long. Expected at least %d",
+ absl::BytesToHexString(input), input.size(), index));
+ }
+ NEARBY_LOGS(VERBOSE) << "Type: " << static_cast<int>(data_type)
+ << " length: " << static_cast<int>(length) << " DE: "
+ << absl::BytesToHexString(input.substr(start, length));
+ return DataElement(data_type, input.substr(start, length));
+}
+
+bool IsIdentity(int data_type) {
+ return data_type >= DataElement::kPrivateIdentityFieldType &&
+ data_type <= DataElement::kProvisionedIdentityFieldType;
+}
+
+void DecodeBaseAction(absl::string_view serialized_action,
+ std::vector<DataElement>& output) {
+ if (serialized_action.size() != sizeof(uint16_t)) {
+ NEARBY_LOGS(WARNING) << "Base NP action \'"
+ << absl::BytesToHexString(serialized_action)
+ << "\' has wrong length " << serialized_action.size()
+ << " , expected " << sizeof(uint16_t);
+ return;
+ }
+ // Two bytes in Big Endian order
+ uint8_t high = serialized_action[0];
+ uint8_t low = serialized_action[1];
+ Action action = {.action = static_cast<uint16_t>((high << 8) | low)};
+
+ ActionFactory::DecodeAction(action, output);
+}
+
+} // namespace
+
+absl::StatusOr<std::vector<DataElement>>
+AdvertisementDecoder::DecodeAdvertisement(absl::string_view advertisement) {
+ std::vector<DataElement> result;
+ NEARBY_LOGS(VERBOSE) << "Advertisement: "
+ << absl::BytesToHexString(advertisement);
+ if (advertisement.empty()) {
+ return absl::OutOfRangeError("Empty advertisement");
+ }
+ int version = advertisement[0];
+ NEARBY_LOGS(VERBOSE) << "Version: " << version;
+ if (version != kAdvertisementVersion) {
+ return absl::UnimplementedError(
+ absl::StrFormat("Advertisment version (%d) is not supported", version));
+ }
+ size_t index = 1;
+ std::string salt;
+ absl::StatusOr<std::string> decrypted;
+ while (index < advertisement.size()) {
+ absl::StatusOr<DataElement> elem = ParseDataElement(advertisement, index);
+ if (!elem.ok()) {
+ NEARBY_LOGS(WARNING) << "Failed to read data element, status: "
+ << elem.status();
+ return elem.status();
+ }
+ if (elem->GetType() == DataElement::kSaltFieldType) {
+ salt = elem->GetValue();
+ }
+ bool need_decryption =
+ IsIdentity(elem->GetType()) && !elem->GetValue().empty();
+ if (need_decryption && index < advertisement.size()) {
+ NEARBY_LOGS(VERBOSE) << "Metadata: "
+ << absl::BytesToHexString(elem->GetValue())
+ << "Salt: " << absl::BytesToHexString(salt)
+ << "Encrypted: "
+ << absl::BytesToHexString(
+ advertisement.substr(index));
+ decrypted = credential_manager_.DecryptDataElements(
+ elem->GetValue(), salt, advertisement.substr(index));
+ if (!decrypted.ok()) {
+ NEARBY_LOGS(WARNING) << "Failed to decrypt advertisement, status: "
+ << decrypted.status();
+ return decrypted.status();
+ }
+ // Restart the loop and iterate over the decrypted content
+ advertisement = *decrypted;
+ index = 0;
+ }
+ if (elem->GetType() == DataElement::kActionFieldType) {
+ DecodeBaseAction(elem->GetValue(), result);
+ } else {
+ result.push_back(*std::move(elem));
+ }
+ }
+ return result;
+}
+
+} // namespace presence
+} // namespace nearby
diff --git a/chromium/third_party/nearby/src/presence/implementation/advertisement_decoder.h b/chromium/third_party/nearby/src/presence/implementation/advertisement_decoder.h
new file mode 100644
index 00000000000..8c0079b2752
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/advertisement_decoder.h
@@ -0,0 +1,49 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_ADVERTISEMENT_DECODER_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_ADVERTISEMENT_DECODER_H_
+
+#include <string>
+#include <vector>
+
+#include "absl/status/status.h"
+#include "absl/status/statusor.h"
+#include "presence/data_element.h"
+#include "presence/implementation/advertisement_factory.h"
+#include "presence/implementation/credential_manager.h"
+
+namespace nearby {
+namespace presence {
+
+// Decodes BLE NP advertisements
+class AdvertisementDecoder {
+ public:
+ explicit AdvertisementDecoder(CredentialManager* credential_manager)
+ : credential_manager_(*ABSL_DIE_IF_NULL(credential_manager)) {}
+
+ // Returns a list of Data Elements decoded from the advertisement.
+ // Returns an error if the advertisement is misformatted or if it couldn't be
+ // decrypted.
+ absl::StatusOr<std::vector<DataElement>> DecodeAdvertisement(
+ absl::string_view advertisement);
+
+ private:
+ CredentialManager& credential_manager_;
+};
+
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_ADVERTISEMENT_DECODER_H_
diff --git a/chromium/third_party/nearby/src/presence/implementation/advertisement_decoder_test.cc b/chromium/third_party/nearby/src/presence/implementation/advertisement_decoder_test.cc
new file mode 100644
index 00000000000..445c8ea1754
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/advertisement_decoder_test.cc
@@ -0,0 +1,167 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "presence/implementation/advertisement_decoder.h"
+
+#include <string>
+#include <vector>
+
+#include "gmock/gmock.h"
+#include "protobuf-matchers/protocol-buffer-matchers.h"
+#include "gtest/gtest.h"
+#include "absl/strings/escaping.h"
+#include "presence/data_element.h"
+#include "presence/implementation/credential_manager_impl.h"
+
+namespace nearby {
+namespace presence {
+
+namespace {
+using ::testing::ElementsAre;
+using ::testing::Return;
+using ::testing::UnorderedElementsAre;
+using ::testing::status::StatusIs;
+
+class MockCredentialManager : public CredentialManagerImpl {
+ public:
+ MOCK_METHOD(absl::StatusOr<std::string>, DecryptDataElements,
+ (absl::string_view metadata_key, absl::string_view salt,
+ absl::string_view data_elements),
+ (override));
+};
+
+TEST(AdvertisementDecoder, DecodeBaseNpPrivateAdvertisement) {
+ const std::string salt = "AB";
+ const std::string metadata =
+ absl::HexStringToBytes("1011121314151617181920212223");
+ MockCredentialManager credential_manager;
+ EXPECT_CALL(
+ credential_manager,
+ DecryptDataElements(metadata, salt, absl::HexStringToBytes("5051525354")))
+ .WillOnce(Return(absl::HexStringToBytes("18CD29EEFF")));
+
+ AdvertisementDecoder decoder(&credential_manager);
+
+ const absl::StatusOr<std::vector<DataElement>> result =
+ decoder.DecodeAdvertisement(absl::HexStringToBytes(
+ "00204142e110111213141516171819202122235051525354"));
+
+ ASSERT_OK(result);
+ EXPECT_THAT(
+ *result,
+ ElementsAre(DataElement(DataElement::kSaltFieldType, salt),
+ DataElement(DataElement::kPrivateIdentityFieldType, metadata),
+ DataElement(8, absl::HexStringToBytes("CD")),
+ DataElement(9, absl::HexStringToBytes("EEFF"))));
+}
+
+TEST(AdvertisementDecoder, DecodeBaseNpPublicAdvertisement) {
+ const std::string salt = "AB";
+ MockCredentialManager credential_manager;
+ AdvertisementDecoder decoder(&credential_manager);
+
+ const absl::StatusOr<std::vector<DataElement>> result =
+ decoder.DecodeAdvertisement(
+ absl::HexStringToBytes("002041420318CD29EEFF"));
+
+ ASSERT_OK(result);
+ EXPECT_THAT(
+ *result,
+ ElementsAre(DataElement(DataElement::kSaltFieldType, salt),
+ DataElement(DataElement::kPublicIdentityFieldType, ""),
+ DataElement(8, absl::HexStringToBytes("CD")),
+ DataElement(9, absl::HexStringToBytes("EEFF"))));
+}
+
+TEST(AdvertisementDecoder, DecodeBaseNpPWithActionField) {
+ std::string salt = "AB";
+ MockCredentialManager credential_manager;
+ AdvertisementDecoder decoder(&credential_manager);
+
+ auto result =
+ decoder.DecodeAdvertisement(absl::HexStringToBytes("002041420326B840"));
+
+ EXPECT_OK(result);
+ EXPECT_THAT(*result,
+ UnorderedElementsAre(
+ DataElement(DataElement::kSaltFieldType, salt),
+ DataElement(DataElement::kPublicIdentityFieldType, ""),
+ DataElement(DataElement::kContextTimestampFieldType,
+ absl::HexStringToBytes("0B")),
+ DataElement(DataElement::kActionFieldType,
+ action::kTapToTransferAction),
+ DataElement(DataElement::kActionFieldType,
+ action::kNearbyShareAction)));
+}
+
+TEST(AdvertisementDecoder, InvalidAdvertisementFieldTooShort) {
+ MockCredentialManager credential_manager;
+ AdvertisementDecoder decoder(&credential_manager);
+
+ // 0x50 header means 5 bytes long salt but only 4 bytes follow.
+ EXPECT_THAT(
+ decoder.DecodeAdvertisement(absl::HexStringToBytes("0050A0A1A2A3")),
+ StatusIs(absl::StatusCode::kOutOfRange));
+}
+
+TEST(AdvertisementDecoder, ZeroLengthPayload) {
+ MockCredentialManager credential_manager;
+ AdvertisementDecoder decoder(&credential_manager);
+
+ // A action with type 0xA and no payload
+ const absl::StatusOr<std::vector<DataElement>> result =
+ decoder.DecodeAdvertisement(absl::HexStringToBytes("000A"));
+
+ ASSERT_OK(result);
+ EXPECT_THAT(*result, ElementsAre(DataElement(0xA, "")));
+}
+
+TEST(AdvertisementDecoder, EmptyAdvertisement) {
+ MockCredentialManager credential_manager;
+ AdvertisementDecoder decoder(&credential_manager);
+
+ EXPECT_THAT(decoder.DecodeAdvertisement(""),
+ StatusIs(absl::StatusCode::kOutOfRange));
+}
+
+TEST(AdvertisementDecoder, InvalidEncryptedContent) {
+ const std::string salt = "AB";
+ const std::string metadata =
+ absl::HexStringToBytes("1011121314151617181920212223");
+ MockCredentialManager credential_manager;
+ // 0x28CD is an invalid DE, 0x28 means a 2 byte payload with type 8 alas only
+ // one byte is given (0xCD)
+ EXPECT_CALL(
+ credential_manager,
+ DecryptDataElements(metadata, salt, absl::HexStringToBytes("5051525354")))
+ .WillOnce(Return(absl::HexStringToBytes("28CD")));
+ AdvertisementDecoder decoder(&credential_manager);
+
+ EXPECT_THAT(decoder.DecodeAdvertisement(absl::HexStringToBytes(
+ "00204142e110111213141516171819202122235051525354")),
+ StatusIs(absl::StatusCode::kOutOfRange));
+}
+
+TEST(AdvertisementDecoder, UnsupportedAdvertisementVersion) {
+ MockCredentialManager credential_manager;
+ AdvertisementDecoder decoder(&credential_manager);
+
+ EXPECT_THAT(decoder.DecodeAdvertisement(
+ absl::HexStringToBytes("012041420318CD29EEFF")),
+ StatusIs(absl::StatusCode::kUnimplemented));
+}
+
+} // namespace
+} // namespace presence
+} // namespace nearby
diff --git a/chromium/third_party/nearby/src/presence/implementation/advertisement_factory.cc b/chromium/third_party/nearby/src/presence/implementation/advertisement_factory.cc
new file mode 100644
index 00000000000..b4448535b34
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/advertisement_factory.cc
@@ -0,0 +1,144 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "presence/implementation/advertisement_factory.h"
+
+#include <string>
+
+#include "absl/status/status.h"
+#include "absl/strings/str_format.h"
+#include "absl/types/variant.h"
+#include "internal/platform/logging.h"
+#include "internal/platform/uuid.h"
+#include "internal/proto/credential.pb.h"
+#include "presence/data_element.h"
+
+namespace nearby {
+namespace presence {
+
+using ::nearby::internal::IdentityType;
+
+constexpr uint8_t kBaseVersion = 0;
+constexpr location::nearby::Uuid kServiceData(0xFCF1ULL << 32, 0);
+
+absl::StatusOr<uint8_t> CreateDataElementHeader(size_t length,
+ unsigned data_type) {
+ if (length > DataElement::kMaxDataElementLength) {
+ return absl::InvalidArgumentError(
+ absl::StrFormat("Unsupported Data Element length: %d", length));
+ }
+ if (data_type > DataElement::kMaxDataElementType) {
+ return absl::InvalidArgumentError(
+ absl::StrFormat("Unsupported Data Element type: %d", data_type));
+ }
+ return (length << DataElement::kDataElementLengthShift) | data_type;
+}
+
+absl::Status AppendDataElement(unsigned data_type,
+ absl::string_view data_element,
+ std::string& output) {
+ auto header = CreateDataElementHeader(data_element.size(), data_type);
+ if (!header.ok()) {
+ NEARBY_LOG(WARNING, "Can't add Data element type: %d, length: %d",
+ data_type, data_element.size());
+ return header.status();
+ }
+ output.push_back(*header);
+ output.insert(output.end(), data_element.begin(), data_element.end());
+ return absl::OkStatus();
+}
+
+uint8_t GetIdentityFieldType(IdentityType type) {
+ switch (type) {
+ case IdentityType::IDENTITY_TYPE_PRIVATE:
+ return DataElement::kPrivateIdentityFieldType;
+ case IdentityType::IDENTITY_TYPE_TRUSTED:
+ return DataElement::kTrustedIdentityFieldType;
+ case IdentityType::IDENTITY_TYPE_PUBLIC:
+ return DataElement::kPublicIdentityFieldType;
+ case IdentityType::IDENTITY_TYPE_PROVISIONED:
+ ABSL_FALLTHROUGH_INTENDED;
+ default:
+ return DataElement::kProvisionedIdentityFieldType;
+ }
+}
+
+absl::StatusOr<BleAdvertisementData> AdvertisementFactory::CreateAdvertisement(
+ const BaseBroadcastRequest& request) const {
+ BleAdvertisementData advert = {};
+ if (absl::holds_alternative<BaseBroadcastRequest::BasePresence>(
+ request.variant)) {
+ return CreateBaseNpAdvertisement(request);
+ }
+ return advert;
+}
+
+absl::StatusOr<BleAdvertisementData>
+AdvertisementFactory::CreateBaseNpAdvertisement(
+ const BaseBroadcastRequest& request) const {
+ const auto& presence =
+ absl::get<BaseBroadcastRequest::BasePresence>(request.variant);
+ BleAdvertisementData advert{};
+ std::string payload;
+ payload.push_back(kBaseVersion);
+ absl::Status result;
+ if (!request.salt.empty()) {
+ result =
+ AppendDataElement(DataElement::kSaltFieldType, request.salt, payload);
+ if (!result.ok()) {
+ return result;
+ }
+ }
+ absl::StatusOr<std::string> identity =
+ credential_manager_.GetBaseEncryptedMetadataKey(presence.identity);
+ if (!identity.ok()) {
+ return identity.status();
+ }
+ uint8_t identity_type = GetIdentityFieldType(presence.identity);
+ result = AppendDataElement(identity_type, *identity, payload);
+ if (!result.ok()) {
+ return result;
+ }
+
+ std::string data_elements;
+ std::string tx_power = {static_cast<char>(request.tx_power)};
+ result = AppendDataElement(DataElement::kTxPowerFieldType, tx_power,
+ data_elements);
+ if (!result.ok()) {
+ return result;
+ }
+ std::string action = {static_cast<char>(presence.action.action >> 8),
+ static_cast<char>(presence.action.action)};
+ result =
+ AppendDataElement(DataElement::kActionFieldType, action, data_elements);
+ if (!result.ok()) {
+ return result;
+ }
+ if (!identity->empty()) {
+ auto encrypted = credential_manager_.EncryptDataElements(
+ presence.identity, request.salt, data_elements);
+ if (!encrypted.ok()) {
+ return encrypted.status();
+ }
+ payload += *encrypted;
+ } else {
+ payload += data_elements;
+ }
+ advert.service_data.insert(
+ {kServiceData, location::nearby::ByteArray(payload)});
+ return advert;
+}
+
+} // namespace presence
+} // namespace nearby
diff --git a/chromium/third_party/nearby/src/presence/implementation/advertisement_factory.h b/chromium/third_party/nearby/src/presence/implementation/advertisement_factory.h
new file mode 100644
index 00000000000..6902527737f
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/advertisement_factory.h
@@ -0,0 +1,52 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_ADVERTISEMENT_FACTORY_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_ADVERTISEMENT_FACTORY_H_
+
+#include <string>
+
+#include "absl/status/status.h"
+#include "absl/status/statusor.h"
+#include "internal/platform/implementation/ble_v2.h"
+#include "presence/implementation/base_broadcast_request.h"
+#include "presence/implementation/credential_manager.h"
+
+namespace nearby {
+namespace presence {
+
+// An opaque container with the advertisement data.
+using ::location::nearby::api::ble_v2::BleAdvertisementData;
+
+/** Builds BLE advertisements from broadcast requests. */
+class AdvertisementFactory {
+ public:
+ explicit AdvertisementFactory(CredentialManager* credential_manager)
+ : credential_manager_(*credential_manager) {}
+
+ /** Returns a BLE advertisement for given `request` */
+ absl::StatusOr<BleAdvertisementData> CreateAdvertisement(
+ const BaseBroadcastRequest& request) const;
+
+ private:
+ absl::StatusOr<BleAdvertisementData> CreateBaseNpAdvertisement(
+ const BaseBroadcastRequest& request) const;
+
+ CredentialManager& credential_manager_;
+};
+
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_ADVERTISEMENT_FACTORY_H_
diff --git a/chromium/third_party/nearby/src/presence/implementation/advertisement_factory_test.cc b/chromium/third_party/nearby/src/presence/implementation/advertisement_factory_test.cc
new file mode 100644
index 00000000000..46a656e6dc5
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/advertisement_factory_test.cc
@@ -0,0 +1,106 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "presence/implementation/advertisement_factory.h"
+
+#include <string>
+#include <vector>
+
+#include "gmock/gmock.h"
+#include "protobuf-matchers/protocol-buffer-matchers.h"
+#include "gtest/gtest.h"
+#include "absl/status/status.h"
+#include "absl/strings/escaping.h"
+#include "presence/data_element.h"
+#include "presence/implementation/action_factory.h"
+#include "presence/implementation/credential_manager_impl.h"
+
+namespace nearby {
+namespace presence {
+
+namespace {
+
+using ::nearby::internal::IdentityType;
+using ::testing::NiceMock;
+using ::testing::Return;
+using ::testing::status::StatusIs;
+
+class MockCredentialManager : public CredentialManagerImpl {
+ public:
+ MOCK_METHOD(absl::StatusOr<std::string>, GetBaseEncryptedMetadataKey,
+ (const IdentityType& identity), (override));
+ MOCK_METHOD(absl::StatusOr<std::string>, EncryptDataElements,
+ (const IdentityType& identity, absl::string_view salt,
+ absl::string_view data_elements),
+ (override));
+};
+
+TEST(AdvertisementFactory, CreateAdvertisementFromPrivateIdentity) {
+ std::string salt = "AB";
+ NiceMock<MockCredentialManager> credential_manager;
+ constexpr IdentityType kIdentity = IdentityType::IDENTITY_TYPE_PRIVATE;
+ std::vector<DataElement> data_elements;
+ data_elements.emplace_back(DataElement::kActionFieldType,
+ action::kActiveUnlockAction);
+ Action action = ActionFactory::CreateAction(data_elements);
+ BaseBroadcastRequest request =
+ BaseBroadcastRequest(BasePresenceRequestBuilder(kIdentity)
+ .SetSalt(salt)
+ .SetTxPower(5)
+ .SetAction(action));
+ EXPECT_CALL(credential_manager, GetBaseEncryptedMetadataKey(kIdentity))
+ .WillOnce(Return(absl::HexStringToBytes("1011121314151617181920212223")));
+ EXPECT_CALL(credential_manager,
+ EncryptDataElements(kIdentity, salt,
+ absl::HexStringToBytes("1505260080")))
+ .WillOnce(Return(absl::HexStringToBytes("5051525354")));
+
+ AdvertisementFactory factory(&credential_manager);
+ absl::StatusOr<BleAdvertisementData> result =
+ factory.CreateAdvertisement(request);
+
+ EXPECT_OK(result);
+ auto service_data = result->service_data;
+ EXPECT_EQ(service_data.size(), 1);
+ for (auto i : service_data) {
+ EXPECT_EQ(i.first.Get16BitAsString(), "FCF1");
+ auto advertisement = absl::BytesToHexString(i.second.AsStringView());
+ EXPECT_EQ(advertisement,
+ "00204142e110111213141516171819202122235051525354");
+ }
+}
+
+TEST(AdvertisementFactory, CreateAdvertisementFailsWhenCredentialManagerFails) {
+ NiceMock<MockCredentialManager> credential_manager;
+ constexpr IdentityType kIdentity = internal::IDENTITY_TYPE_PRIVATE;
+ std::vector<DataElement> data_elements;
+ data_elements.emplace_back(DataElement::kActionFieldType,
+ action::kActiveUnlockAction);
+ Action action = ActionFactory::CreateAction(data_elements);
+ BaseBroadcastRequest request =
+ BaseBroadcastRequest(BasePresenceRequestBuilder(kIdentity)
+ .SetSalt("AB")
+ .SetTxPower(5)
+ .SetAction(action));
+ EXPECT_CALL(credential_manager, GetBaseEncryptedMetadataKey(kIdentity))
+ .WillOnce(Return(absl::UnimplementedError(
+ "GetBaseEncryptedMetadataKey not implemented")));
+
+ AdvertisementFactory factory(&credential_manager);
+ EXPECT_THAT(factory.CreateAdvertisement(request),
+ StatusIs(absl::StatusCode::kUnimplemented));
+}
+} // namespace
+} // namespace presence
+} // namespace nearby
diff --git a/chromium/third_party/nearby/src/presence/implementation/base_broadcast_request.cc b/chromium/third_party/nearby/src/presence/implementation/base_broadcast_request.cc
new file mode 100644
index 00000000000..1777f5674a5
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/base_broadcast_request.cc
@@ -0,0 +1,59 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "presence/implementation/base_broadcast_request.h"
+
+#include "absl/strings/string_view.h"
+#include "internal/platform/logging.h"
+#include "presence/implementation/encryption.h"
+
+namespace nearby {
+namespace presence {
+constexpr size_t kSaltSize = 2;
+
+BasePresenceRequestBuilder& BasePresenceRequestBuilder::SetSalt(
+ absl::string_view salt) {
+ if (salt.size() != kSaltSize) {
+ NEARBY_LOG(WARNING, "Unsupported salt length: %d", salt.size());
+ } else {
+ salt_ = salt;
+ }
+ return *this;
+}
+BasePresenceRequestBuilder& BasePresenceRequestBuilder::SetTxPower(
+ int8_t tx_power) {
+ tx_power_ = tx_power;
+ return *this;
+}
+
+BasePresenceRequestBuilder& BasePresenceRequestBuilder::SetAction(
+ const Action& action) {
+ action_ = action;
+ return *this;
+}
+
+BasePresenceRequestBuilder::operator BaseBroadcastRequest() const {
+ BaseBroadcastRequest::BasePresence presence{.identity = identity_,
+ .action = action_};
+ BaseBroadcastRequest broadcast_request{
+ .variant = presence,
+ .salt = salt_.size() == kSaltSize
+ ? salt_
+ : Encryption::GenerateRandomByteArray(kSaltSize),
+ .tx_power = tx_power_};
+ return broadcast_request;
+}
+
+} // namespace presence
+} // namespace nearby
diff --git a/chromium/third_party/nearby/src/presence/implementation/base_broadcast_request.h b/chromium/third_party/nearby/src/presence/implementation/base_broadcast_request.h
new file mode 100644
index 00000000000..42f4fc9e692
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/base_broadcast_request.h
@@ -0,0 +1,83 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_BASE_BROADCAST_REQUEST_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_BASE_BROADCAST_REQUEST_H_
+
+#include <stdint.h>
+
+#include <string>
+
+#include "absl/strings/string_view.h"
+#include "absl/types/variant.h"
+#include "internal/proto/credential.pb.h"
+
+namespace nearby {
+namespace presence {
+
+constexpr int8_t kUnspecifiedTxPower = -128;
+
+/** Defines the action (intended actions) of base NP advertisement */
+struct Action {
+ uint16_t action;
+};
+
+/** Defines a Nearby Presence broadcast request */
+struct BaseBroadcastRequest {
+ struct BasePresence {
+ nearby::internal::IdentityType identity;
+ Action action;
+ };
+ struct BaseFastPair {
+ struct Discoverable {
+ std::string model_id;
+ };
+ struct Nondiscoverable {
+ std::string account_key_data;
+ std::string battery_info;
+ };
+ absl::variant<Discoverable, Nondiscoverable> advertisement;
+ };
+ struct BaseEddystone {
+ std::string ephemeral_id;
+ };
+ absl::variant<BasePresence, BaseFastPair, BaseEddystone> variant;
+ std::string salt;
+ int8_t tx_power;
+ unsigned int interval_ms;
+};
+
+/** Builds a brodacast request variant with NP identity for BLE 4.2 */
+class BasePresenceRequestBuilder {
+ public:
+ explicit BasePresenceRequestBuilder(
+ const nearby::internal::IdentityType& identity)
+ : identity_(identity) {}
+ BasePresenceRequestBuilder& SetSalt(absl::string_view salt);
+ BasePresenceRequestBuilder& SetTxPower(int8_t tx_power);
+ BasePresenceRequestBuilder& SetAction(const Action& action);
+
+ explicit operator BaseBroadcastRequest() const;
+
+ private:
+ nearby::internal::IdentityType identity_;
+ std::string salt_;
+ int8_t tx_power_ = kUnspecifiedTxPower;
+ Action action_;
+};
+
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_BASE_BROADCAST_REQUEST_H_
diff --git a/chromium/third_party/nearby/src/presence/implementation/base_broadcast_request_test.cc b/chromium/third_party/nearby/src/presence/implementation/base_broadcast_request_test.cc
new file mode 100644
index 00000000000..6f4ebf12045
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/base_broadcast_request_test.cc
@@ -0,0 +1,41 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "presence/implementation/base_broadcast_request.h"
+
+#include "gmock/gmock.h"
+#include "protobuf-matchers/protocol-buffer-matchers.h"
+#include "gtest/gtest.h"
+#include "absl/types/variant.h"
+
+namespace nearby {
+namespace presence {
+namespace {
+
+TEST(BroadcastRequestTest, CreateBasePresenceRequest) {
+ nearby::internal::IdentityType identity;
+ constexpr int8_t kTxPower = -13;
+
+ BaseBroadcastRequest request = BaseBroadcastRequest(
+ BasePresenceRequestBuilder(identity).SetTxPower(kTxPower));
+
+ EXPECT_TRUE(absl::holds_alternative<BaseBroadcastRequest::BasePresence>(
+ request.variant));
+ EXPECT_EQ(request.salt.size(), 2);
+ EXPECT_EQ(request.tx_power, kTxPower);
+}
+
+} // namespace
+} // namespace presence
+} // namespace nearby
diff --git a/chromium/third_party/nearby/src/presence/implementation/broadcast_manager.h b/chromium/third_party/nearby/src/presence/implementation/broadcast_manager.h
new file mode 100644
index 00000000000..83de0f956fd
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/broadcast_manager.h
@@ -0,0 +1,43 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_BROADCAST_MANAGER_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_BROADCAST_MANAGER_H_
+
+#include "presence/implementation/credential_manager.h"
+#include "presence/implementation/mediums/mediums.h"
+
+namespace nearby {
+namespace presence {
+
+/*
+ * The instance of BroadcastManager is owned by {@code ServiceControllerImpl}.
+ * Helping service controller to manage broadcast requests and callbacks.
+ */
+class BroadcastManager {
+ public:
+ BroadcastManager(Mediums& mediums, CredentialManager& credential_manager) {
+ mediums_ = &mediums, credential_manager_ = &credential_manager;
+ }
+ ~BroadcastManager() = default;
+
+ private:
+ Mediums* mediums_;
+ CredentialManager* credential_manager_;
+};
+
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_BROADCAST_MANAGER_H_
diff --git a/chromium/third_party/nearby/src/presence/implementation/credential_manager.h b/chromium/third_party/nearby/src/presence/implementation/credential_manager.h
new file mode 100644
index 00000000000..8166df25681
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/credential_manager.h
@@ -0,0 +1,107 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_CREDENTIAL_MANAGER_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_CREDENTIAL_MANAGER_H_
+
+#include <functional>
+#include <string>
+#include <vector>
+
+#include "absl/status/statusor.h"
+#include "absl/strings/string_view.h"
+#include "internal/platform/implementation/credential_storage.h"
+#include "internal/proto/credential.pb.h"
+
+namespace nearby {
+namespace presence {
+
+struct GenerateCredentialsCallback {
+ std::function<void(std::vector<nearby::internal::PublicCredential>)>
+ credentials_generated_cb;
+};
+
+struct UpdateRemotePublicCredentialsCallback {
+ std::function<void(location::nearby::api::CredentialOperationStatus)>
+ credentials_updated_cb;
+};
+
+/*
+ * The instance of CredentialManager is owned by {@code ServiceControllerImpl}.
+ * Helping service controller to manage local credentials and coordinate with
+ * downloaded remote credentials.
+ */
+class CredentialManager {
+ public:
+ CredentialManager() = default;
+ virtual ~CredentialManager() = default;
+
+ // Used to (re)generate user’s private and public credentials.
+ // The generated private credentials will be saved to creds storage.
+ // The generated public credentials will be returned inside the
+ // credentials_generated_cb for manager app to upload to web.
+ // The user’s own public credentials won’t be saved on local credential
+ // storage.
+ virtual void GenerateCredentials(
+ nearby::internal::DeviceMetadata device_metadata,
+ std::string manager_app_id,
+ std::vector<nearby::internal::IdentityType> identity_types,
+ int credential_life_cycle_days, int contiguous_copy_of_credentials,
+ GenerateCredentialsCallback credentials_generated_cb) = 0;
+
+ // Update remote public credentials.
+ virtual void UpdateRemotePublicCredentials(
+ std::string manager_app_id, std::string account_name,
+ std::vector<nearby::internal::PublicCredential> remote_public_creds,
+ UpdateRemotePublicCredentialsCallback credentials_updated_cb) = 0;
+
+ // Used to fetch private creds when broadcasting.
+ virtual void GetPrivateCredentials(
+ location::nearby::api::CredentialSelector credential_selector,
+ location::nearby::api::GetPrivateCredentialsResultCallback callback) = 0;
+
+ // Used to fetch remote public creds when scanning.
+ virtual void GetPublicCredentials(
+ location::nearby::api::CredentialSelector credential_selector,
+ location::nearby::api::GetPublicCredentialsResultCallback callback) = 0;
+
+ // Decrypts the device metadata from a public credential.
+ // Returns an empty string if decryption fails.
+ virtual std::string DecryptDeviceMetadata(
+ std::string device_metadata_encryption_key, std::string authenticity_key,
+ std::string device_metadata_string) = 0;
+
+ // Decrypts Data Elements from an NP advertisement.
+ // Returns an error if `metadata_key` is not associated with any known
+ // credentials (identity).
+ virtual absl::StatusOr<std::string> DecryptDataElements(
+ absl::string_view metadata_key, absl::string_view salt,
+ absl::string_view data_elements) = 0;
+
+ // Returns encrypted metadata key associated with `identity` for Base NP
+ // advertisement.
+ virtual absl::StatusOr<std::string> GetBaseEncryptedMetadataKey(
+ const nearby::internal::IdentityType& identity) = 0;
+
+ // Encrypts `data_elements` using certificate associated with `identity` and
+ // `salt`.
+ virtual absl::StatusOr<std::string> EncryptDataElements(
+ const nearby::internal::IdentityType& identity, absl::string_view salt,
+ absl::string_view data_elements) = 0;
+};
+
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_CREDENTIAL_MANAGER_H_
diff --git a/chromium/third_party/nearby/src/presence/implementation/credential_manager_impl.cc b/chromium/third_party/nearby/src/presence/implementation/credential_manager_impl.cc
new file mode 100644
index 00000000000..b9c9379a0f7
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/credential_manager_impl.cc
@@ -0,0 +1,227 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "presence/implementation/credential_manager_impl.h"
+
+#include <memory>
+#include <string>
+#include <utility>
+#include <vector>
+
+#include "internal/crypto/aead.h"
+#include "internal/crypto/ec_private_key.h"
+#include "internal/crypto/hkdf.h"
+#include "internal/platform/base64_utils.h"
+#include "internal/platform/implementation/crypto.h"
+#include "internal/platform/logging.h"
+#include "presence/implementation/encryption.h"
+
+namespace nearby {
+namespace presence {
+namespace {
+using ::location::nearby::Base64Utils;
+using ::location::nearby::Crypto;
+using ::nearby::internal::DeviceMetadata;
+using ::nearby::internal::IdentityType;
+using ::nearby::internal::PrivateCredential;
+using ::nearby::internal::PublicCredential;
+
+// Key to retrieve local device's Private/Public Key Credentials from key store.
+constexpr char kPairedKeyAliasPrefix[] = "nearby_presence_paired_key_alias_";
+
+} // namespace
+
+void CredentialManagerImpl::GenerateCredentials(
+ DeviceMetadata device_metadata, std::string manager_app_id,
+ std::vector<IdentityType> identity_types, int credential_life_cycle_days,
+ int contiguous_copy_of_credentials,
+ GenerateCredentialsCallback credentials_generated_cb) {
+ std::vector<PublicCredential> public_credentials;
+ std::vector<PrivateCredential> private_credentials;
+
+ for (auto identity_type : identity_types) {
+ // TODO(b/241587906): Get linux time from the platform (like Android)
+ uint64_t start_time_millis = 0;
+ const uint64_t gap_millis = credential_life_cycle_days * 24 * 3600 * 1000;
+ uint64_t end_time_millis = start_time_millis + gap_millis;
+
+ for (int index = 0; index < contiguous_copy_of_credentials; index++) {
+ auto public_private_credentials = CreatePrivateCredential(
+ device_metadata, identity_type, start_time_millis, end_time_millis);
+ if (public_private_credentials.first != nullptr) {
+ private_credentials.push_back(*public_private_credentials.first);
+ public_credentials.push_back(*public_private_credentials.second);
+ }
+ start_time_millis += gap_millis;
+ end_time_millis += gap_millis;
+ }
+ }
+ // TODO(b/241488275) Store all the public and private credentials and call the
+ // callback to inform client.
+ credentials_generated_cb.credentials_generated_cb(public_credentials);
+}
+
+std::pair<std::unique_ptr<PrivateCredential>, std::unique_ptr<PublicCredential>>
+CredentialManagerImpl::CreatePrivateCredential(DeviceMetadata device_metadata,
+ IdentityType identity_type,
+ uint64_t start_time_ms,
+ uint64_t end_time_ms) {
+ auto private_credential_ptr = std::make_unique<PrivateCredential>();
+ private_credential_ptr->set_start_time_millis(start_time_ms);
+ private_credential_ptr->set_end_time_millis(end_time_ms);
+ private_credential_ptr->set_identity_type(identity_type);
+
+ // Creates an AES key to encrypt the whole broadcast.
+ std::string secret_key =
+ Encryption::GenerateRandomByteArray(kAuthenticityKeyByteSize);
+ private_credential_ptr->set_authenticity_key(secret_key);
+
+ // Uses SHA-256 algorithm to generate the credential ID from the authenticity
+ // key
+ auto secret_id = Crypto::Sha256(secret_key);
+ if (secret_id.Empty()) {
+ NEARBY_LOG(ERROR,
+ "Failed to create private credential because it failed to "
+ "create a secret id.");
+ return std::pair<std::unique_ptr<PrivateCredential>,
+ std::unique_ptr<PublicCredential>>(
+ std::unique_ptr<PrivateCredential>(nullptr),
+ std::unique_ptr<PublicCredential>(nullptr));
+ }
+ private_credential_ptr->set_secret_id(secret_id.AsStringView());
+
+ std::string alias = Base64Utils::Encode(secret_id);
+ auto prefixedAlias = kPairedKeyAliasPrefix + alias;
+
+ // Generate key pair. Store the private key in private credential.
+ auto key_pair = crypto::ECPrivateKey::Create();
+ std::vector<uint8_t> private_key;
+ key_pair->ExportPrivateKey(&private_key);
+ private_credential_ptr->set_verification_key(
+ std::string(private_key.begin(), private_key.end()));
+
+ // Create an AES key to encrypt the device metadata.
+ auto metadata_key =
+ Encryption::GenerateRandomByteArray(kAuthenticityKeyByteSize);
+ private_credential_ptr->set_metadata_encryption_key(metadata_key);
+
+ // set device meta data
+ *(private_credential_ptr->mutable_device_metadata()) = device_metadata;
+
+ // Generate the public credential
+ std::vector<uint8_t> public_key;
+ key_pair->ExportPublicKey(&public_key);
+ auto public_credential_ptr =
+ CreatePublicCredential(private_credential_ptr.get(), &public_key);
+
+ return std::pair<std::unique_ptr<PrivateCredential>,
+ std::unique_ptr<PublicCredential>>(
+ std::move(private_credential_ptr), std::move(public_credential_ptr));
+}
+
+std::unique_ptr<PublicCredential> CredentialManagerImpl::CreatePublicCredential(
+ PrivateCredential* private_credential, std::vector<uint8_t>* public_key) {
+ auto public_credential_ptr = std::make_unique<PublicCredential>();
+
+ public_credential_ptr->set_identity_type(private_credential->identity_type());
+ public_credential_ptr->set_secret_id(private_credential->secret_id());
+ public_credential_ptr->set_authenticity_key(
+ private_credential->authenticity_key());
+ public_credential_ptr->set_start_time_millis(
+ private_credential->start_time_millis());
+ public_credential_ptr->set_end_time_millis(
+ private_credential->end_time_millis());
+ // set up the public key
+ public_credential_ptr->set_verification_key(
+ std::string(public_key->begin(), public_key->end()));
+
+ auto metadata_encryption_key_tag =
+ Crypto::Sha256(private_credential->metadata_encryption_key());
+ public_credential_ptr->set_metadata_encryption_key_tag(
+ metadata_encryption_key_tag.AsStringView());
+
+ // Encrypt the device metadata
+ auto encrypted_meta_data = EncryptDeviceMetadata(
+ private_credential->metadata_encryption_key(),
+ private_credential->authenticity_key(),
+ private_credential->device_metadata().SerializeAsString());
+
+ if (encrypted_meta_data.empty()) {
+ NEARBY_LOG(ERROR, "Fails to encrypt the device metadata.");
+ return std::unique_ptr<PublicCredential>(nullptr);
+ }
+
+ public_credential_ptr->set_encrypted_metadata_bytes(encrypted_meta_data);
+ return public_credential_ptr;
+}
+
+std::string CredentialManagerImpl::DecryptDeviceMetadata(
+ std::string device_metadata_encryption_key, std::string authenticity_key,
+ std::string device_metadata_string) {
+ crypto::Aead aead(crypto::Aead::AeadAlgorithm::AES_256_GCM);
+
+ std::vector<uint8_t> derived_key =
+ ExtendMetadataEncryptionKey(device_metadata_encryption_key);
+ aead.Init(derived_key);
+
+ auto iv = Encryption::CustomizeBytesSize(
+ authenticity_key, CredentialManagerImpl::kAesGcmIVSize);
+ std::vector<uint8_t> iv_bytes(iv.begin(), iv.end());
+ std::vector<uint8_t> encrypted_device_metadata_bytes(
+ device_metadata_string.begin(), device_metadata_string.end());
+
+ auto result = aead.Open(encrypted_device_metadata_bytes,
+ /*nonce=*/
+ iv_bytes,
+ /*additional_data=*/absl::Span<uint8_t>());
+
+ return std::string(result.value().begin(), result.value().end());
+}
+
+std::string CredentialManagerImpl::EncryptDeviceMetadata(
+ std::string device_metadata_encryption_key, std::string authenticity_key,
+ std::string device_metadata_string) {
+ crypto::Aead aead(crypto::Aead::AeadAlgorithm::AES_256_GCM);
+
+ std::vector<uint8_t> derived_key =
+ ExtendMetadataEncryptionKey(device_metadata_encryption_key);
+
+ aead.Init(derived_key);
+
+ auto iv = Encryption::CustomizeBytesSize(authenticity_key, kAesGcmIVSize);
+ std::vector<uint8_t> iv_bytes(iv.begin(), iv.end());
+
+ std::vector<uint8_t> device_metadata_bytes(device_metadata_string.begin(),
+ device_metadata_string.end());
+ device_metadata_bytes.resize(device_metadata_string.size());
+
+ auto encrypted = aead.Seal(device_metadata_bytes,
+ /*nonce=*/
+ iv_bytes,
+ /*additional_data=*/absl::Span<uint8_t>());
+
+ return std::string(encrypted.begin(), encrypted.end());
+}
+
+std::vector<uint8_t> CredentialManagerImpl::ExtendMetadataEncryptionKey(
+ std::string device_metadata_encryption_key) {
+ return crypto::HkdfSha256(
+ std::vector<uint8_t>(device_metadata_encryption_key.begin(),
+ device_metadata_encryption_key.end()),
+ /*salt=*/absl::Span<uint8_t>(),
+ /*info=*/absl::Span<uint8_t>(), kNearbyPresenceNumBytesAesGcmKeySize);
+}
+
+} // namespace presence
+} // namespace nearby
diff --git a/chromium/third_party/nearby/src/presence/implementation/credential_manager_impl.h b/chromium/third_party/nearby/src/presence/implementation/credential_manager_impl.h
new file mode 100644
index 00000000000..92761382dd5
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/credential_manager_impl.h
@@ -0,0 +1,117 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_CREDENTIAL_MANAGER_IMPL_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_CREDENTIAL_MANAGER_IMPL_H_
+
+#include <memory>
+#include <string>
+#include <utility>
+#include <vector>
+
+#include "absl/status/status.h"
+#include "absl/status/statusor.h"
+#include "absl/strings/string_view.h"
+#include "internal/platform/credential_storage.h"
+#include "internal/proto/credential.pb.h"
+#include "presence/implementation/credential_manager.h"
+
+namespace nearby {
+namespace presence {
+
+class CredentialManagerImpl : public CredentialManager {
+ public:
+ CredentialManagerImpl() = default;
+
+ // AES only supports key sizes of 16, 24 or 32 bytes.
+ static constexpr int kAuthenticityKeyByteSize = 16;
+
+ // Length of key in bytes required by AES-GCM encryption.
+ static constexpr size_t kNearbyPresenceNumBytesAesGcmKeySize = 32;
+
+ // Modify this to 12 after use real AES.
+ static constexpr int kAesGcmIVSize = 12;
+
+ void GenerateCredentials(
+ nearby::internal::DeviceMetadata device_metadata,
+ std::string manager_app_id,
+ std::vector<nearby::internal::IdentityType> identity_types,
+ int credential_life_cycle_days,
+ int contiguous_copy_of_credentials,
+ GenerateCredentialsCallback credentials_generated_cb) override;
+
+ void UpdateRemotePublicCredentials(
+ std::string manager_app_id, std::string account_name,
+ std::vector<nearby::internal::PublicCredential> remote_public_creds,
+ UpdateRemotePublicCredentialsCallback credentials_updated_cb) override{};
+
+ void GetPrivateCredentials(
+ location::nearby::api::CredentialSelector credential_selector,
+ location::nearby::api::GetPrivateCredentialsResultCallback callback)
+ override {}
+
+ // Used to fetch remote public creds when scanning.
+ void GetPublicCredentials(
+ location::nearby::api::CredentialSelector credential_selector,
+ location::nearby::api::GetPublicCredentialsResultCallback callback)
+ override {}
+
+ std::string DecryptDeviceMetadata(
+ std::string device_metadata_encryption_key, std::string authenticity_key,
+ std::string device_metadata_string) override;
+
+ absl::StatusOr<std::string> DecryptDataElements(
+ absl::string_view metadata_key, absl::string_view salt,
+ absl::string_view data_elements) override {
+ return absl::UnimplementedError("DecryptDataElements unimplemented");
+ }
+
+ absl::StatusOr<std::string> GetBaseEncryptedMetadataKey(
+ const nearby::internal::IdentityType& identity) override {
+ return absl::UnimplementedError(
+ "GetBaseEncryptedMetadataKey unimplemented");
+ }
+
+ absl::StatusOr<std::string> EncryptDataElements(
+ const nearby::internal::IdentityType& identity, absl::string_view salt,
+ absl::string_view data_elements) override {
+ return absl::UnimplementedError("EncryptDataElements unimplemented");
+ }
+
+ private:
+ FRIEND_TEST(CredentialManagerImpl, CreateOneCredentialSuccessfully);
+
+ std::pair<std::unique_ptr<nearby::internal::PrivateCredential>,
+ std::unique_ptr<nearby::internal::PublicCredential>>
+ CreatePrivateCredential(nearby::internal::DeviceMetadata device_metadata,
+ nearby::internal::IdentityType identity_type,
+ uint64_t start_time_ms, uint64_t end_time_ms);
+
+ std::unique_ptr<nearby::internal::PublicCredential> CreatePublicCredential(
+ nearby::internal::PrivateCredential* private_credential_ptr,
+ std::vector<uint8_t>* public_key);
+
+ std::string EncryptDeviceMetadata(std::string device_metadata_encryption_key,
+ std::string authenticity_key,
+ std::string device_metadata_string);
+
+ // Extend the key from 16 bytes to 32 bytes.
+ std::vector<uint8_t> ExtendMetadataEncryptionKey(
+ std::string device_metadata_encryption_key);
+};
+
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_CREDENTIAL_MANAGER_IMPL_H_
diff --git a/chromium/third_party/nearby/src/presence/implementation/credential_manager_impl_test.cc b/chromium/third_party/nearby/src/presence/implementation/credential_manager_impl_test.cc
new file mode 100644
index 00000000000..d522003e81d
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/credential_manager_impl_test.cc
@@ -0,0 +1,95 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "presence/implementation/credential_manager_impl.h"
+
+#include <string>
+
+#include "net/proto2/contrib/parse_proto/testing.h"
+#include "gmock/gmock.h"
+#include "protobuf-matchers/protocol-buffer-matchers.h"
+#include "gtest/gtest.h"
+#include "internal/platform/implementation/crypto.h"
+#include "internal/proto/credential.pb.h"
+#include "presence/implementation/encryption.h"
+
+namespace nearby {
+namespace presence {
+using ::location::nearby::Crypto;
+
+using ::nearby::internal::DeviceMetadata;
+using ::nearby::internal::PrivateCredential;
+using ::nearby::internal::PublicCredential;
+using ::nearby::internal::IdentityType::IDENTITY_TYPE_PRIVATE;
+using ::proto2::contrib::parse_proto::ParseTestProto;
+using ::protobuf_matchers::EqualsProto;
+
+// TODO(b/241926454): Make sure CredentialManager builds with Github.
+TEST(CredentialManagerImpl, CreateOneCredentialSuccessfully) {
+ DeviceMetadata device_metadata = ParseTestProto(R"pb(
+ stable_device_id: "test_device_id"
+ ;
+ account_name: "test_account";
+ device_name: "NP test device";
+ icon_url: "test_image.test.com"
+ bluetooth_mac_address: "FF:FF:FF:FF:FF:FF";
+ device_type: PHONE;
+ )pb");
+
+ CredentialManagerImpl credential_manager;
+ auto credentials = credential_manager.CreatePrivateCredential(
+ device_metadata, IDENTITY_TYPE_PRIVATE, /* start_time_ms= */ 0,
+ /* end_time_ms= */ 1000);
+
+ PrivateCredential* private_credential = credentials.first.get();
+ PublicCredential* public_credential = credentials.second.get();
+
+ // Verify the private credential.
+ EXPECT_THAT(private_credential->device_metadata(),
+ EqualsProto(device_metadata));
+ EXPECT_EQ(private_credential->identity_type(), IDENTITY_TYPE_PRIVATE);
+ EXPECT_FALSE(private_credential->secret_id().empty());
+ EXPECT_EQ(private_credential->start_time_millis(), 0);
+ EXPECT_EQ(private_credential->end_time_millis(), 1000);
+ EXPECT_EQ(private_credential->authenticity_key().size(),
+ CredentialManagerImpl::kAuthenticityKeyByteSize);
+ EXPECT_FALSE(private_credential->verification_key().empty());
+ EXPECT_EQ(private_credential->metadata_encryption_key().size(),
+ CredentialManagerImpl::kAuthenticityKeyByteSize);
+
+ // Verify the public credential.
+ EXPECT_EQ(public_credential->identity_type(), IDENTITY_TYPE_PRIVATE);
+ EXPECT_FALSE(public_credential->secret_id().empty());
+ EXPECT_EQ(private_credential->authenticity_key(),
+ public_credential->authenticity_key());
+ EXPECT_EQ(public_credential->start_time_millis(), 0);
+ EXPECT_EQ(public_credential->end_time_millis(), 1000);
+ EXPECT_EQ(Crypto::Sha256(private_credential->metadata_encryption_key())
+ .AsStringView(),
+ public_credential->metadata_encryption_key_tag());
+ EXPECT_FALSE(public_credential->verification_key().empty());
+ EXPECT_FALSE(public_credential->encrypted_metadata_bytes().empty());
+
+ // Decrypt the device metadata
+
+ auto decrypted_device_metadata = credential_manager.DecryptDeviceMetadata(
+ private_credential->metadata_encryption_key(),
+ public_credential->authenticity_key(),
+ public_credential->encrypted_metadata_bytes());
+
+ EXPECT_EQ(private_credential->device_metadata().SerializeAsString(),
+ decrypted_device_metadata);
+}
+} // namespace presence
+} // namespace nearby
diff --git a/chromium/third_party/nearby/src/presence/implementation/encryption.cc b/chromium/third_party/nearby/src/presence/implementation/encryption.cc
new file mode 100644
index 00000000000..51381d7c4b6
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/encryption.cc
@@ -0,0 +1,110 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "presence/implementation/encryption.h"
+
+#include <algorithm>
+#include <cstring>
+#include <string>
+
+#include "absl/status/status.h"
+#include "absl/status/statusor.h"
+#include "absl/strings/str_format.h"
+#include "internal/platform/logging.h"
+#include <openssl/cipher.h> // NOLINT
+#include <openssl/crypto.h>
+#include <openssl/evp.h> // NOLINT
+#include "third_party/tink/cc/subtle/hkdf.h"
+#include "third_party/tink/cc/subtle/random.h"
+
+namespace nearby {
+namespace presence {
+
+using ::crypto::tink::subtle::HashType;
+using ::crypto::tink::subtle::Hkdf;
+using ::crypto::tink::subtle::Random;
+constexpr int kAuthenticityKeyByteSize = 16;
+constexpr int kMetadataKeyMaxSize = 16;
+constexpr int kAesCtrIvSize = 16;
+constexpr int kSaltSize = 2;
+
+std::string Encryption::CustomizeBytesSize(absl::string_view bytes,
+ size_t len) {
+ auto result =
+ Hkdf::ComputeHkdf(HashType::SHA256, /*ikm=*/bytes,
+ /*salt=*/std::string(kAuthenticityKeyByteSize, 0),
+ /*info=*/"", /*out_len=*/len);
+ return result.value();
+}
+
+std::string Encryption::GenerateRandomByteArray(size_t len) {
+ return Random::GetRandomBytes(len);
+}
+
+absl::StatusOr<std::string> Encryption::RunMetadataEncryption(
+ absl::string_view metadata, absl::string_view key, absl::string_view salt,
+ bool encrypt) {
+ if (metadata.size() > kMetadataKeyMaxSize) {
+ return absl::InvalidArgumentError(
+ absl::StrFormat("Metadata key length %d greater than %d",
+ metadata.size(), kMetadataKeyMaxSize));
+ }
+ if (key.size() != kAuthenticityKeyByteSize) {
+ return absl::InvalidArgumentError(
+ absl::StrFormat("Invalid authenticity key length %d. Expected %d",
+ key.size(), kAuthenticityKeyByteSize));
+ }
+ if (salt.size() != kSaltSize) {
+ return absl::InvalidArgumentError(absl::StrFormat(
+ "Invalid salt length %d, Expected %d.", salt.size(), kSaltSize));
+ }
+ auto output = std::string(metadata.size(), 0);
+ int output_size;
+ std::string iv = CustomizeBytesSize(salt, kAesCtrIvSize);
+
+ // AES-CTR is used without authentication because it's used as a PRF.
+ auto ctx =
+ std::unique_ptr<EVP_CIPHER_CTX, std::function<void(EVP_CIPHER_CTX*)>>(
+ EVP_CIPHER_CTX_new(), EVP_CIPHER_CTX_free);
+ if (1 != EVP_CipherInit_ex(ctx.get(), EVP_aes_128_ctr(), nullptr,
+ reinterpret_cast<const uint8_t*>(key.data()),
+ reinterpret_cast<const uint8_t*>(iv.data()),
+ encrypt ? 1 : 0)) {
+ return absl::InvalidArgumentError("Failed to initialize AES encryption.");
+ }
+
+ int input_size = metadata.size();
+ if (1 != EVP_CipherUpdate(
+ ctx.get(), reinterpret_cast<uint8_t*>(output.data()),
+ &output_size, reinterpret_cast<const uint8_t*>(metadata.data()),
+ input_size)) {
+ return absl::InvalidArgumentError("AES error in EVP_CipherUpdate");
+ }
+ int tmp_size = 0;
+ if (1 != EVP_EncryptFinal_ex(
+ ctx.get(),
+ reinterpret_cast<uint8_t*>(output.data() + output_size),
+ &tmp_size)) {
+ return absl::InvalidArgumentError("AES errorin EVP_EncryptFinal_ex");
+ }
+ output_size += tmp_size;
+ if (output_size != input_size) {
+ return absl::InvalidArgumentError(absl::StrFormat(
+ "Invalid output size %d. Expected %d", output_size, input_size));
+ }
+ return output;
+}
+
+} // namespace presence
+} // namespace nearby
diff --git a/chromium/third_party/nearby/src/presence/implementation/encryption.h b/chromium/third_party/nearby/src/presence/implementation/encryption.h
new file mode 100644
index 00000000000..cd8e9cc81ef
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/encryption.h
@@ -0,0 +1,74 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_ENCRYPTION_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_ENCRYPTION_H_
+
+#include <string>
+
+#include "absl/status/statusor.h"
+#include "absl/strings/string_view.h"
+
+namespace nearby {
+namespace presence {
+
+/** Utilities for encryption and decryption of presence advertisements. */
+class Encryption {
+ public:
+ /**
+ * Uses a HMAC based HKDF algorithm to generate and return a
+ * new byte array of given length based on input bytes and a zero-initialized
+ * salt.
+ */
+ static std::string CustomizeBytesSize(absl::string_view bytes, size_t len);
+
+ /** Generates a random byte array of given size. */
+ static std::string GenerateRandomByteArray(size_t len);
+
+ /** Generates encrypted metadata key. `metadata_encryption_key` must be 14 or
+ * 16 bytes long. `authenticity_key` is the AES key and must be 128 bit (16
+ * bytes) long. `salt` must be 2 bytes long.
+ *
+ * Note, because the salt is ony 16 bit long, the caller should not reuse
+ * salts. Reusing salts will expose the encrypted metadata key. The solution
+ * in NP is to store all used salts and rotate the autheticity key when we run
+ * out of salts.
+ */
+ static absl::StatusOr<std::string> GenerateEncryptedMetadataKey(
+ absl::string_view metadata_encryption_key,
+ absl::string_view authenticity_key, absl::string_view salt) {
+ return RunMetadataEncryption(metadata_encryption_key, authenticity_key,
+ salt, /*encrypt= */ true);
+ }
+
+ /** Generates decrypted metadata key. `encrypted_metadata_key` must be 14 or
+ * 16 bytes long. `authenticity_key` is the AES key and must be 128 bit (16
+ * bytes) long. `salt` must be 2 bytes long.*/
+ static absl::StatusOr<std::string> GenerateDecryptedMetadataKey(
+ absl::string_view encrypted_metadata_key,
+ absl::string_view authenticity_key, absl::string_view salt) {
+ return RunMetadataEncryption(encrypted_metadata_key, authenticity_key, salt,
+ /*encrypt= */ false);
+ }
+
+ private:
+ static absl::StatusOr<std::string> RunMetadataEncryption(
+ absl::string_view metadata, absl::string_view key, absl::string_view salt,
+ bool encrypt);
+};
+
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_ENCRYPTION_H_
diff --git a/chromium/third_party/nearby/src/presence/implementation/encryption_test.cc b/chromium/third_party/nearby/src/presence/implementation/encryption_test.cc
new file mode 100644
index 00000000000..f66b39bbe96
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/encryption_test.cc
@@ -0,0 +1,131 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "presence/implementation/encryption.h"
+
+#include <string>
+
+#include "gmock/gmock.h"
+#include "protobuf-matchers/protocol-buffer-matchers.h"
+#include "gtest/gtest.h"
+#include "absl/strings/escaping.h"
+
+namespace nearby {
+namespace presence {
+namespace {
+
+TEST(EncryptionTest, CustomizeBytesSize) {
+ std::string ikm = "Input data";
+ std::string kExpectedOutputHex = "51d2c0506732febbccf093066db66f269682137e";
+
+ std::string result = Encryption::CustomizeBytesSize(ikm, 20);
+
+ EXPECT_EQ(absl::BytesToHexString(result), kExpectedOutputHex);
+}
+
+TEST(EncryptionTest, GenerateRandomByteArray) {
+ std::string random1 = Encryption::GenerateRandomByteArray(10);
+ std::string random2 = Encryption::GenerateRandomByteArray(10);
+
+ EXPECT_NE(random1, random2);
+}
+
+TEST(EncryptionTest, GenerateEncryptedMetadataKeyFor14bytes) {
+ const std::string kAuthenticityKey =
+ absl::HexStringToBytes("20212223242526272829303132333435");
+ const std::string kSalt = absl::HexStringToBytes("0102");
+ const std::string kMetadataKey =
+ absl::HexStringToBytes("4041424344454647484950515253");
+ const std::string kExpectedOutputHex = "637b4868fcbcb3d8a67c47481807";
+
+ auto result = Encryption::GenerateEncryptedMetadataKey(
+ kMetadataKey, kAuthenticityKey, kSalt);
+
+ EXPECT_TRUE(result.ok());
+ EXPECT_EQ(absl::BytesToHexString(result.value()), kExpectedOutputHex);
+}
+
+TEST(EncryptionTest, GenerateEncryptedMetadataKeyFor16bytes) {
+ const std::string kAuthenticityKey =
+ absl::HexStringToBytes("20212223242526272829303132333435");
+ const std::string kSalt = absl::HexStringToBytes("0102");
+ const std::string kMetadataKey =
+ absl::HexStringToBytes("40414243444546474849505152535455");
+ const std::string kExpectedOutputHex = "637b4868fcbcb3d8a67c47481807d139";
+
+ auto result = Encryption::GenerateEncryptedMetadataKey(
+ kMetadataKey, kAuthenticityKey, kSalt);
+
+ EXPECT_TRUE(result.ok());
+ EXPECT_EQ(absl::BytesToHexString(result.value()), kExpectedOutputHex);
+}
+
+TEST(EncryptionTest, GenerateDecryptedMetadataKeyFor14bytes) {
+ const std::string kAuthenticityKey =
+ absl::HexStringToBytes("20212223242526272829303132333435");
+ const std::string kSalt = absl::HexStringToBytes("0102");
+ const std::string kMetadataKeyHex = "4041424344454647484950515253";
+ const std::string kEncryptedMetadata =
+ absl::HexStringToBytes("637b4868fcbcb3d8a67c47481807");
+
+ auto result = Encryption::GenerateDecryptedMetadataKey(
+ kEncryptedMetadata, kAuthenticityKey, kSalt);
+
+ EXPECT_TRUE(result.ok());
+ EXPECT_EQ(absl::BytesToHexString(result.value()), kMetadataKeyHex);
+}
+
+TEST(EncryptionTest, GenerateDecryptedMetadataKeyFor16bytes) {
+ const std::string kAuthenticityKey =
+ absl::HexStringToBytes("20212223242526272829303132333435");
+ const std::string kSalt = absl::HexStringToBytes("0102");
+ const std::string kMetadataKeyHex = "40414243444546474849505152535455";
+ const std::string kEncryptedMetadata =
+ absl::HexStringToBytes("637b4868fcbcb3d8a67c47481807d139");
+
+ auto result = Encryption::GenerateDecryptedMetadataKey(
+ kEncryptedMetadata, kAuthenticityKey, kSalt);
+
+ EXPECT_TRUE(result.ok());
+ EXPECT_EQ(absl::BytesToHexString(result.value()), kMetadataKeyHex);
+}
+
+TEST(EncryptionTest, RejectTooLongMetadataKey) {
+ const std::string kAuthenticityKey =
+ absl::HexStringToBytes("20212223242526272829303132333435");
+ const std::string kSalt = absl::HexStringToBytes("0102");
+ const std::string kMetadataKey =
+ absl::HexStringToBytes("4041424344454647484950515253545566");
+
+ auto result = Encryption::GenerateEncryptedMetadataKey(
+ kMetadataKey, kAuthenticityKey, kSalt);
+
+ EXPECT_FALSE(result.ok());
+}
+
+TEST(EncryptionTest, RejectInvalidAuthenticityKeySize) {
+ const std::string kAuthenticityKey =
+ absl::HexStringToBytes("2021222324252627282930313233343546");
+ const std::string kSalt = absl::HexStringToBytes("0102");
+ const std::string kMetadataKey =
+ absl::HexStringToBytes("40414243444546474849505152535455");
+
+ auto result = Encryption::GenerateEncryptedMetadataKey(
+ kMetadataKey, kAuthenticityKey, kSalt);
+
+ EXPECT_FALSE(result.ok());
+}
+} // namespace
+} // namespace presence
+} // namespace nearby
diff --git a/chromium/third_party/nearby/src/presence/implementation/mediums/BUILD b/chromium/third_party/nearby/src/presence/implementation/mediums/BUILD
new file mode 100644
index 00000000000..3993ad82250
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/mediums/BUILD
@@ -0,0 +1,27 @@
+# Copyright 2020 Google LLC
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# https://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+licenses(["notice"])
+
+cc_library(
+ name = "mediums",
+ srcs = [],
+ hdrs = [
+ "ble.h",
+ "mediums.h",
+ ],
+ visibility = [
+ "//presence/implementation:__subpackages__",
+ ],
+ deps = ["//internal/platform:comm"],
+)
diff --git a/chromium/third_party/nearby/src/presence/presence_identity.h b/chromium/third_party/nearby/src/presence/implementation/mediums/ble.h
index 48895924eba..1a14fcbe0bd 100644
--- a/chromium/third_party/nearby/src/presence/presence_identity.h
+++ b/chromium/third_party/nearby/src/presence/implementation/mediums/ble.h
@@ -12,32 +12,30 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#ifndef THIRD_PARTY_NEARBY_PRESENCE_PRESENCE_IDENTITY_H_
-#define THIRD_PARTY_NEARBY_PRESENCE_PRESENCE_IDENTITY_H_
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_MEDIUMS_BLE_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_MEDIUMS_BLE_H_
+
+#include "internal/platform/ble_v2.h"
namespace nearby {
namespace presence {
-class PresenceIdentity {
- public:
- enum class IdentityType {
- kPrivate = 0,
- kTrusted,
- };
- PresenceIdentity(IdentityType type = IdentityType::kPrivate) noexcept;
- IdentityType GetIdentityType() const;
+/*
+ * This Ble class utilizes platform/ble_v2 BleV2Medium, provides ble functions
+ * for presence logic layer to invoke.
+ * This class would have states like if ble is available or not, if it's doing
+ * broadcast/scan.
+ */
+class Ble {
+ public:
+ Ble() = default;
+ ~Ble() = default;
+ // TODO(hais): add expected function set.
private:
- const IdentityType identity_type_;
+ location::nearby::BleV2Medium medium_;
};
-inline bool operator==(const PresenceIdentity& i1, const PresenceIdentity& i2) {
- return i1.GetIdentityType() == i2.GetIdentityType();
-}
-
-inline bool operator!=(const PresenceIdentity& i1, const PresenceIdentity& i2) {
- return !(i1 == i2);
-}
} // namespace presence
} // namespace nearby
-#endif // THIRD_PARTY_NEARBY_PRESENCE_PRESENCE_IDENTITY_H_
+#endif // THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_MEDIUMS_BLE_H_
diff --git a/chromium/third_party/nearby/src/presence/implementation/mediums/mediums.h b/chromium/third_party/nearby/src/presence/implementation/mediums/mediums.h
new file mode 100644
index 00000000000..c3f3d8401a9
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/mediums/mediums.h
@@ -0,0 +1,42 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_MEDIUMS_MEDIUMS_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_MEDIUMS_MEDIUMS_H_
+
+#include "presence/implementation/mediums/ble.h"
+
+namespace nearby {
+namespace presence {
+
+/*
+ * This class owns medium instance like Ble and etc. And the instance of
+ * this class will be owned in {@code ServiceControllerImpl}.
+ */
+class Mediums {
+ public:
+ Mediums() = default;
+ ~Mediums() = default;
+
+ // Returns a handle to the Ble medium.
+ Ble& GetBle();
+
+ private:
+ Ble ble_;
+};
+
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_MEDIUMS_MEDIUMS_H_
diff --git a/chromium/third_party/nearby/src/presence/implementation/mock_service_controller.h b/chromium/third_party/nearby/src/presence/implementation/mock_service_controller.h
new file mode 100644
index 00000000000..0882c90a652
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/mock_service_controller.h
@@ -0,0 +1,37 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_MOCK_SERVICE_CONTROLLER_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_MOCK_SERVICE_CONTROLLER_H_
+
+#include "presence/implementation/service_controller.h"
+
+namespace nearby {
+namespace presence {
+
+/*
+ * This class is for unit test, mocking {@code ServiceController} functions.
+ */
+class MockServiceController : public ServiceController {
+ public:
+ MockServiceController() = default;
+ ~MockServiceController() override = default;
+
+ private:
+};
+
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_MOCK_SERVICE_CONTROLLER_H_
diff --git a/chromium/third_party/nearby/src/presence/implementation/scan_manager.h b/chromium/third_party/nearby/src/presence/implementation/scan_manager.h
new file mode 100644
index 00000000000..affb91b1917
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/scan_manager.h
@@ -0,0 +1,43 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_SCAN_MANAGER_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_SCAN_MANAGER_H_
+
+#include "presence/implementation/credential_manager.h"
+#include "presence/implementation/mediums/mediums.h"
+
+namespace nearby {
+namespace presence {
+
+/*
+ * The instance of ScanManager is owned by {@code ServiceControllerImpl}.
+ * Helping service controller to manage scan requests and callbacks.
+ */
+class ScanManager {
+ public:
+ ScanManager(Mediums& mediums, CredentialManager& credential_manager) {
+ mediums_ = &mediums, credential_manager_ = &credential_manager;
+ }
+ ~ScanManager() = default;
+
+ private:
+ Mediums* mediums_;
+ CredentialManager* credential_manager_;
+};
+
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_SCAN_MANAGER_H_
diff --git a/chromium/third_party/nearby/src/presence/implementation/sensor_fusion.h b/chromium/third_party/nearby/src/presence/implementation/sensor_fusion.h
new file mode 100644
index 00000000000..587100e8b26
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/sensor_fusion.h
@@ -0,0 +1,145 @@
+// Copyright 2022 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_SENSOR_FUSION_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_SENSOR_FUSION_H_
+
+#include <functional>
+#include <string>
+#include <vector>
+
+#include "absl/types/optional.h"
+#include "presence/device_motion.h"
+#include "presence/presence_zone.h"
+
+namespace nearby {
+namespace presence {
+
+enum class DataSource {
+ kUnknown = 0,
+ kBle = 1,
+ kUwb = 2,
+ kNanRtt = 4,
+};
+
+struct RangingMeasurement {
+ // [0.0, 1.0], 1.0 is the max confidence.
+ float confidence_level;
+ float value;
+};
+
+struct RangingPosition {
+ RangingMeasurement distance;
+ absl::optional<RangingMeasurement> azimuth;
+ absl::optional<RangingMeasurement> elevation;
+ uint64_t elapsed_realtime_millis;
+};
+
+struct ZoneTransition {
+ PresenceZone::DistanceBoundary::RangeType distance_range_type;
+ float confidence_level;
+};
+
+struct RangingData {
+ std::vector<DataSource> data_sources;
+ RangingPosition position;
+ absl::optional<ZoneTransition> zone_transition;
+ std::vector<DeviceMotion> device_motions;
+};
+
+class SensorFusion {
+ public:
+ virtual ~SensorFusion() = default;
+
+ // Called when the proximity zone to a nearby peer device has changed.
+ typedef std::function<void(
+ std::string device_id,
+ PresenceZone::DistanceBoundary::RangeType proximity_zone)>
+ ZoneTransitionCallback;
+
+ // Called when a device motion gesture is detected.
+ typedef std::function<void(DeviceMotion::MotionType detected_device_motion)>
+ DeviceMotionCallback;
+
+ /**
+ * Returns a list of data sources would be used by the sensor fusion if they
+ * are available.
+ * This is to control what kinds of sources the NP scan engine should use for
+ * ranging. For instance, if both NAN RTT and UWB are supported, FPP may
+ * decide NAN RTT isn't useful at a certain moment, so NP scan engine won't
+ * try to request NAN RTT.
+ *
+ * @param elapsed_realtime_millis Elapsed timestamp since boot of the data
+ * source query.
+ * @param available_sources A bit mask of data sources that are available.
+ */
+ virtual std::vector<DataSource> getDataSources(
+ uint64_t elapsed_realtime_millis,
+ std::vector<DataSource> available_sources);
+
+ /**
+ * Updates BLE scanned results to Sensor Fusion.
+ *
+ * @param device_id A unique device id of the peer device.
+ * @param txPower Calibrated TX power of the scan result, {@code
+ * absl::nullopt} if the calibrated TX power is not available.
+ * @param rssi Received signal strength indicator for the scan result.
+ * @param elapsed_realtime_millis Elapsed timestamp since boot when the
+ * scan result is discovered.
+ */
+ virtual void updateBleScanResult(std::string device_id,
+ absl::optional<int8_t> txPower, int rssi,
+ uint64_t elapsed_realtime_millis);
+
+ /**
+ * Updates UWB ranging results to Sensor Fusion.
+ *
+ * @param device_id A unique device id of the peer device.
+ * @param position UWB ranging result (distance and optionally angle)
+ */
+ virtual void updateUwbRangingResult(std::string device_id,
+ RangingPosition position);
+
+ /**
+ * Adds callback for updates of proximity zone transitions.
+ */
+ virtual void requestZoneTransitionUpdates(ZoneTransitionCallback callback);
+
+ /**
+ * Removes callback for updates of proximity zone transitions.
+ */
+ virtual void removeZoneTransitionUpdates(ZoneTransitionCallback callback);
+
+ /**
+ * Adds callback for updates of device motion events.
+ */
+ virtual void requestDeviceMotionUpdates(DeviceMotionCallback callback);
+
+ /**
+ * Remove callback for updates of device motion events.
+ */
+ virtual void removeDeviceMotionUpdates(DeviceMotionCallback callback);
+
+ /**
+ * Returns the best ranging estimate to a given device. Returns {@code
+ * absl::nullopt} if the sensor fusion cannot produce a ranging estimate.
+ *
+ * @param device_id Id of the peer device.
+ */
+ virtual absl::optional<RangingData> getRangingData(std::string device_id);
+};
+
+} // namespace presence
+} // namespace nearby
+#endif // THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_SENSOR_FUSION_H_
diff --git a/chromium/third_party/nearby/src/presence/implementation/service_controller.h b/chromium/third_party/nearby/src/presence/implementation/service_controller.h
new file mode 100644
index 00000000000..4d5fc312c0f
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/service_controller.h
@@ -0,0 +1,34 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_SERVICE_CONTROLLER_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_SERVICE_CONTROLLER_H_
+
+namespace nearby {
+namespace presence {
+
+/*
+ * This class is owned in {@code PresenceService}. It specifies the function
+ * signatures. {@code ServiceControllerImpl} and {@code MockServiceController}
+ * inherit this class and provides real implementation and mock impl for tests.
+ */
+class ServiceController {
+ public:
+ virtual ~ServiceController() = default;
+};
+
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_SERVICE_CONTROLLER_H_
diff --git a/chromium/third_party/nearby/src/presence/implementation/service_controller_impl.h b/chromium/third_party/nearby/src/presence/implementation/service_controller_impl.h
new file mode 100644
index 00000000000..4d3812464fa
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/implementation/service_controller_impl.h
@@ -0,0 +1,39 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_SERVICE_CONTROLLER_IMPL_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_SERVICE_CONTROLLER_IMPL_H_
+
+#include "presence/implementation/credential_manager_impl.h"
+#include "presence/implementation/mediums/mediums.h"
+#include "presence/implementation/service_controller.h"
+
+/*
+ * This class implements {@code ServiceController} functions. Owns mediums and
+ * other managers instances.
+ */
+namespace nearby {
+namespace presence {
+
+class ServiceControllerImpl : public ServiceController {
+ private:
+ Mediums mediums_; // NOLINT: further impl will use it.
+ CredentialManagerImpl
+ credential_manager_; // NOLINT: further impl will use it.
+};
+
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_IMPLEMENTATION_SERVICE_CONTROLLER_IMPL_H_
diff --git a/chromium/third_party/nearby/src/presence/listeners.h b/chromium/third_party/nearby/src/presence/listeners.h
index edd81958207..72da4b016c4 100644
--- a/chromium/third_party/nearby/src/presence/listeners.h
+++ b/chromium/third_party/nearby/src/presence/listeners.h
@@ -16,7 +16,7 @@
#define THIRD_PARTY_NEARBY_PRESENCE_LISTENERS_H_
#include "internal/platform/listeners.h"
-#include "third_party/nearby/presence/status.h"
+#include "presence/status.h"
namespace nearby {
namespace presence {
diff --git a/chromium/third_party/nearby/src/presence/power_mode.h b/chromium/third_party/nearby/src/presence/power_mode.h
new file mode 100644
index 00000000000..229c59fd74c
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/power_mode.h
@@ -0,0 +1,35 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_POWER_MODE_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_POWER_MODE_H_
+
+namespace nearby {
+namespace presence {
+
+// High level concept of Power mode for Scan and Broadcast.
+// More frequent, more power consumption, but less interval and latency.
+// Native platforms would decide the specific interval based on their own
+// configs.
+enum class PowerMode {
+ kNoPower = 0,
+ kLowPower = 1,
+ kBalanced = 2,
+ kLowLatency = 3,
+};
+
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_POWER_MODE_H_
diff --git a/chromium/third_party/nearby/src/presence/presence_action.cc b/chromium/third_party/nearby/src/presence/presence_action.cc
index 606d6f0fec4..3fca082c025 100644
--- a/chromium/third_party/nearby/src/presence/presence_action.cc
+++ b/chromium/third_party/nearby/src/presence/presence_action.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "third_party/nearby/presence/presence_action.h"
+#include "presence/presence_action.h"
#include "glog/logging.h"
diff --git a/chromium/third_party/nearby/src/presence/presence_action_test.cc b/chromium/third_party/nearby/src/presence/presence_action_test.cc
index ee66268a639..64b5e78e648 100644
--- a/chromium/third_party/nearby/src/presence/presence_action_test.cc
+++ b/chromium/third_party/nearby/src/presence/presence_action_test.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "third_party/nearby/presence/presence_action.h"
+#include "presence/presence_action.h"
#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
diff --git a/chromium/third_party/nearby/src/presence/presence_client.cc b/chromium/third_party/nearby/src/presence/presence_client.cc
index fc04c2dcfaf..a1a53708564 100644
--- a/chromium/third_party/nearby/src/presence/presence_client.cc
+++ b/chromium/third_party/nearby/src/presence/presence_client.cc
@@ -12,13 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "third_party/nearby/presence/presence_client.h"
+#include "presence/presence_client.h"
-#include "third_party/nearby/presence/presence_device.h"
+#include "presence/presence_device.h"
namespace nearby {
namespace presence {
+using ::nearby::internal::IdentityType;
+
void PresenceClient::StartDiscovery(const DiscoveryFilter& filter,
const DiscoveryOptions& options,
ResultCallback callback) {}
@@ -33,16 +35,16 @@ std::vector<PresenceDevice> PresenceClient::GetCachedDevices(
return std::vector<PresenceDevice>{};
}
-void PresenceClient::StartBroadcast(const PresenceIdentity& identity,
+void PresenceClient::StartBroadcast(const IdentityType& identity,
const std::vector<PresenceAction>& actions,
const BroadcastOptions& options,
ResultCallback callback) {}
void PresenceClient::UpdateBroadcastActions(
- const PresenceIdentity& identity,
- const std::vector<PresenceAction>& actions, ResultCallback callback) {}
+ const IdentityType& identity, const std::vector<PresenceAction>& actions,
+ ResultCallback callback) {}
-void PresenceClient::StopBroadcast(const PresenceIdentity& identity,
+void PresenceClient::StopBroadcast(const IdentityType& identity,
ResultCallback callback) {}
} // namespace presence
diff --git a/chromium/third_party/nearby/src/presence/presence_client.h b/chromium/third_party/nearby/src/presence/presence_client.h
index 3ad971152d2..a4628a3e749 100644
--- a/chromium/third_party/nearby/src/presence/presence_client.h
+++ b/chromium/third_party/nearby/src/presence/presence_client.h
@@ -17,11 +17,11 @@
#include <vector>
-#include "third_party/nearby/presence/broadcast_options.h"
-#include "third_party/nearby/presence/discovery_filter.h"
-#include "third_party/nearby/presence/discovery_options.h"
-#include "third_party/nearby/presence/listeners.h"
-#include "third_party/nearby/presence/presence_device.h"
+#include "presence/broadcast_options.h"
+#include "presence/discovery_filter.h"
+#include "presence/discovery_options.h"
+#include "presence/listeners.h"
+#include "presence/presence_device.h"
namespace nearby {
namespace presence {
@@ -116,7 +116,7 @@ class PresenceClient {
* should call {@linkStatus#startResolutionForResult} to get the users
* consents/permissions before retrying the request.
*/
- void StartBroadcast(const PresenceIdentity& identity,
+ void StartBroadcast(const ::nearby::internal::IdentityType& identity,
const std::vector<PresenceAction>& actions,
const BroadcastOptions& options, ResultCallback callback);
@@ -129,7 +129,7 @@ class PresenceClient {
* should call {@link Status#startResolutionForResult} to get the users
* consents/permissions before retrying the request.
*/
- void UpdateBroadcastActions(const PresenceIdentity& identity,
+ void UpdateBroadcastActions(const ::nearby::internal::IdentityType& identity,
const std::vector<PresenceAction>& actions,
ResultCallback callback);
@@ -140,7 +140,8 @@ class PresenceClient {
* <p>This should be invoked after the use case has been fulfilled and the
* device no longer needs remote devices to know that it is nearby.
*/
- void StopBroadcast(const PresenceIdentity& identity, ResultCallback callback);
+ void StopBroadcast(const ::nearby::internal::IdentityType& identity,
+ ResultCallback callback);
};
} // namespace presence
diff --git a/chromium/third_party/nearby/src/presence/presence_client_test.cc b/chromium/third_party/nearby/src/presence/presence_client_test.cc
index d8f81e5dba7..3db1bc6fcd7 100644
--- a/chromium/third_party/nearby/src/presence/presence_client_test.cc
+++ b/chromium/third_party/nearby/src/presence/presence_client_test.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "third_party/nearby/presence/presence_client.h"
+#include "presence/presence_client.h"
#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
diff --git a/chromium/third_party/nearby/src/presence/presence_device.cc b/chromium/third_party/nearby/src/presence/presence_device.cc
index 90cef494f04..86713bdf667 100644
--- a/chromium/third_party/nearby/src/presence/presence_device.cc
+++ b/chromium/third_party/nearby/src/presence/presence_device.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "third_party/nearby/presence/presence_device.h"
+#include "presence/presence_device.h"
namespace nearby {
namespace presence {
diff --git a/chromium/third_party/nearby/src/presence/presence_device_test.cc b/chromium/third_party/nearby/src/presence/presence_device_test.cc
index 2025a9cd637..820aa681238 100644
--- a/chromium/third_party/nearby/src/presence/presence_device_test.cc
+++ b/chromium/third_party/nearby/src/presence/presence_device_test.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "third_party/nearby/presence/presence_device.h"
+#include "presence/presence_device.h"
#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
diff --git a/chromium/third_party/nearby/src/presence/presence_identity_test.cc b/chromium/third_party/nearby/src/presence/presence_identity_test.cc
index 332eda4c67e..cab79e01d4a 100644
--- a/chromium/third_party/nearby/src/presence/presence_identity_test.cc
+++ b/chromium/third_party/nearby/src/presence/presence_identity_test.cc
@@ -12,47 +12,29 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "third_party/nearby/presence/presence_identity.h"
-
#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
#include "gtest/gtest.h"
+#include "internal/proto/credential.pb.h"
namespace nearby {
namespace presence {
namespace {
-constexpr PresenceIdentity::IdentityType kDefaultIdentityType =
- PresenceIdentity::IdentityType::kPrivate;
-constexpr PresenceIdentity::IdentityType kTestIdentityType =
- PresenceIdentity::IdentityType::kTrusted;
-
-TEST(PresenceIdentityTest, DefaultIsError) {
- PresenceIdentity identity;
- EXPECT_EQ(identity.GetIdentityType(), kDefaultIdentityType);
-}
+using ::nearby::internal::IdentityType;
-TEST(PresenceIdentityTest, DefaultEquals) {
- PresenceIdentity identity1;
- PresenceIdentity identity2;
- EXPECT_EQ(identity1, identity2);
-}
+constexpr IdentityType kTestIdentityType = IdentityType::IDENTITY_TYPE_TRUSTED;
TEST(PresenceIdentityTest, ExplicitInitEquals) {
- PresenceIdentity identity1 = {kTestIdentityType};
- PresenceIdentity identity2 = {kTestIdentityType};
+ IdentityType identity1 = {kTestIdentityType};
+ IdentityType identity2 = {kTestIdentityType};
EXPECT_EQ(identity1, identity2);
- EXPECT_EQ(identity1.GetIdentityType(), kTestIdentityType);
+ EXPECT_EQ(identity1, kTestIdentityType);
}
-TEST(PresenceIdentityTest, ExplicitInitNotEquals) {
- PresenceIdentity identity1 = {kTestIdentityType};
- PresenceIdentity identity2;
- EXPECT_NE(identity1, identity2);
-}
TEST(PresenceIdentityTest, CopyInitEquals) {
- PresenceIdentity identity1 = {kTestIdentityType};
- PresenceIdentity identity2 = {identity1};
+ IdentityType identity1 = {kTestIdentityType};
+ IdentityType identity2 = {identity1};
EXPECT_EQ(identity1, identity2);
}
diff --git a/chromium/third_party/nearby/src/presence/presence_service.h b/chromium/third_party/nearby/src/presence/presence_service.h
new file mode 100644
index 00000000000..573fe5dfca6
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/presence_service.h
@@ -0,0 +1,42 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_PRESENCE_SERVICE_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_PRESENCE_SERVICE_H_
+
+#include <memory>
+
+#include "presence/implementation/service_controller.h"
+
+namespace nearby {
+namespace presence {
+
+/*
+ * PresenceService hosts presence functions by routing invokes to the unique
+ * {@code ServiceController}. PresenceService should be initialized once and
+ * only once in the process that hosting presence functions.
+ */
+class PresenceService {
+ public:
+ PresenceService() = default;
+ ~PresenceService() = default;
+
+ private:
+ std::unique_ptr<ServiceController> service_controller_;
+};
+
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_PRESENCE_SERVICE_H_
diff --git a/chromium/third_party/nearby/src/presence/presence_identity.cc b/chromium/third_party/nearby/src/presence/presence_service_test.cc
index a05e2697602..e49d9c8b340 100644
--- a/chromium/third_party/nearby/src/presence/presence_identity.cc
+++ b/chromium/third_party/nearby/src/presence/presence_service_test.cc
@@ -12,17 +12,18 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "third_party/nearby/presence/presence_identity.h"
+#include "presence/presence_service.h"
+
+#include "gtest/gtest.h"
namespace nearby {
namespace presence {
+namespace {
-PresenceIdentity::PresenceIdentity(IdentityType identity_type) noexcept
- : identity_type_(identity_type) {}
-
-PresenceIdentity::IdentityType PresenceIdentity::GetIdentityType() const {
- return identity_type_;
+TEST(PresenceServiceTest, DefaultConstructorWorks) {
+ PresenceService presence_service;
}
+} // namespace
} // namespace presence
} // namespace nearby
diff --git a/chromium/third_party/nearby/src/presence/presence_zone.cc b/chromium/third_party/nearby/src/presence/presence_zone.cc
index 26f1262ed20..2fcdad45c27 100644
--- a/chromium/third_party/nearby/src/presence/presence_zone.cc
+++ b/chromium/third_party/nearby/src/presence/presence_zone.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "third_party/nearby/presence/presence_zone.h"
+#include "presence/presence_zone.h"
namespace nearby {
namespace presence {
diff --git a/chromium/third_party/nearby/src/presence/presence_zone.h b/chromium/third_party/nearby/src/presence/presence_zone.h
index 2f3c7661d63..c2883100793 100644
--- a/chromium/third_party/nearby/src/presence/presence_zone.h
+++ b/chromium/third_party/nearby/src/presence/presence_zone.h
@@ -17,7 +17,7 @@
#include <vector>
-#include "third_party/nearby/presence/device_motion.h"
+#include "presence/device_motion.h"
namespace nearby {
namespace presence {
class PresenceZone {
@@ -26,11 +26,7 @@ class PresenceZone {
public:
enum class RangeType {
kRangeUnknown = 0,
- kFar, // Distance is very far away from the peer device.
- kLong, // Distance is relatively long from the peer device, typically a
- // few meters.
- kClose, // Distance is close to the peer device, typically with one or
- // two meter.
+ kFar, // Distance is very far away from the peer device.
kWithinReach, // Distance is very close to the peer device, typically
// within one meter or less.
kWithinTap, // Distance is within tap range to the peer device, typically
diff --git a/chromium/third_party/nearby/src/presence/presence_zone_test.cc b/chromium/third_party/nearby/src/presence/presence_zone_test.cc
index fb77f742085..e813bf48bb6 100644
--- a/chromium/third_party/nearby/src/presence/presence_zone_test.cc
+++ b/chromium/third_party/nearby/src/presence/presence_zone_test.cc
@@ -12,12 +12,12 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "third_party/nearby/presence/presence_zone.h"
+#include "presence/presence_zone.h"
#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
#include "gtest/gtest.h"
-#include "third_party/nearby/presence/device_motion.h"
+#include "presence/device_motion.h"
namespace nearby {
namespace presence {
@@ -39,7 +39,7 @@ static const float kTestMaxAngleDegrees = 20;
static const float kTestConfidence = 0.1;
static const RangeType kDefaultRangeType = RangeType::kRangeUnknown;
-static const RangeType kTestRangeType = RangeType::kClose;
+static const RangeType kTestRangeType = RangeType::kFar;
static const DistanceBoundary kDefaultDistanceBoundary;
static const DistanceBoundary kTestDistanceBoundary = {
diff --git a/chromium/third_party/nearby/src/presence/scan_request.h b/chromium/third_party/nearby/src/presence/scan_request.h
new file mode 100644
index 00000000000..7cffedb7677
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/scan_request.h
@@ -0,0 +1,150 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_SCAN_REQUEST_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_SCAN_REQUEST_H_
+
+#include <string>
+#include <vector>
+
+#include "net/proto2/util/public/message_differencer.h"
+#include "absl/types/variant.h"
+#include "internal/proto/credential.pb.h"
+#include "presence/data_element.h"
+#include "presence/power_mode.h"
+
+using MD = proto2::util::MessageDifferencer;
+
+namespace nearby {
+namespace presence {
+
+constexpr char kPresenceScanFilterName[] = "PresenceScanFilter";
+constexpr char kLegacyPresenceScanFilterName[] = "LegacyPresenceScanFilter";
+
+enum class ScanType {
+ kUnspecifiedScan = 0,
+ kFastPairScan = 1,
+ kPresenceScan = 2,
+};
+
+/**
+ * Filter for scanning a nearby presence device.
+ * Supports Android U and above.
+ */
+struct PresenceScanFilter {
+ ScanType scan_type;
+ // A bundle of extended properties for matching.
+ std::vector<DataElement> extended_properties;
+};
+
+/**
+ * Used to support legacy Android T. Filter for scanning a nearby presence
+ * device.
+ */
+struct LegacyPresenceScanFilter {
+ ScanType scan_type;
+ // Minimum path loss threshold of the received scan result.
+ int path_loss_threshold;
+
+ // Android T needs clients to provide remote public credentials in scan
+ // requests.
+ std::vector<nearby::internal::PublicCredential> remote_public_credentials;
+
+ // A list of presence actions for matching. Matching condition is met as
+ // long as there’s one or more equal actions between Scan actions and
+ // Broadcast actions.
+ // Considered to use enum, and team agreed to use int to support potential
+ // un-reserved values. Already existing reserved interger values are defined
+ // in {@code ActionFactory}.
+ std::vector<int> actions;
+
+ // A bundle of extended properties for matching.
+ std::vector<DataElement> extended_properties;
+};
+
+inline bool operator==(const PresenceScanFilter& a,
+ const PresenceScanFilter& b) {
+ return a.scan_type == b.scan_type &&
+ a.extended_properties == b.extended_properties;
+}
+
+inline bool operator!=(const PresenceScanFilter& a,
+ const PresenceScanFilter& b) {
+ return !(a == b);
+}
+
+inline bool operator==(const LegacyPresenceScanFilter& a,
+ const LegacyPresenceScanFilter& b) {
+ if (a.scan_type != b.scan_type ||
+ a.path_loss_threshold != b.path_loss_threshold ||
+ a.actions != b.actions ||
+ a.remote_public_credentials.size() !=
+ b.remote_public_credentials.size() ||
+ a.extended_properties != b.extended_properties)
+ return false;
+ for (int i = 0; i < a.remote_public_credentials.size(); ++i) {
+ if (!MD::Equivalent(a.remote_public_credentials[i],
+ b.remote_public_credentials[i]))
+ return false;
+ }
+ return true;
+}
+
+inline bool operator!=(const LegacyPresenceScanFilter& a,
+ const LegacyPresenceScanFilter& b) {
+ return !(a == b);
+}
+
+/**
+ * An encapsulation of various parameters for requesting nearby scans.
+ */
+struct ScanRequest {
+ // Same as DeviceMetadata.account_name, to fetch private credential
+ // to broadcast.
+ std::string account_name;
+
+ // Used to specify which types of remote PublicCredential to use during the
+ // scan. If empty, use all available types of remote PublicCredential.
+ std::vector<nearby::internal::IdentityType> identity_types;
+
+ // For new Nearby SDK client (like chromeOs and Android U), use
+ // PresenceScanFilter; for Android T, use LegacyPresenceScanFilter.
+ std::vector<absl::variant<PresenceScanFilter, LegacyPresenceScanFilter> >
+ scan_filters;
+
+ // Whether to use BLE in the scan.
+ bool use_ble;
+
+ ScanType scan_type;
+ PowerMode power_mode;
+ bool scan_only_when_screen_on;
+};
+
+inline bool operator==(const ScanRequest& a, const ScanRequest& b) {
+ if (a.identity_types != b.identity_types) return false;
+ if (a.scan_filters != b.scan_filters) return false;
+ return a.scan_only_when_screen_on == b.scan_only_when_screen_on &&
+ a.power_mode == b.power_mode && a.scan_type == b.scan_type &&
+ a.use_ble == b.use_ble && a.account_name == b.account_name &&
+ a.identity_types == b.identity_types;
+}
+
+inline bool operator!=(const ScanRequest& a, const ScanRequest& b) {
+ return !(a == b);
+}
+
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_SCAN_REQUEST_H_
diff --git a/chromium/third_party/nearby/src/presence/scan_request_builder.cc b/chromium/third_party/nearby/src/presence/scan_request_builder.cc
new file mode 100644
index 00000000000..23d21c5a8d1
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/scan_request_builder.cc
@@ -0,0 +1,81 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+#include "presence/scan_request_builder.h"
+
+#include <vector>
+
+#include "absl/types/variant.h"
+#include "presence/scan_request.h"
+
+namespace nearby {
+namespace presence {
+
+using ::nearby::internal::IdentityType;
+
+ScanRequestBuilder& ScanRequestBuilder::SetAccountName(
+ absl::string_view account_name) {
+ request_.account_name = account_name;
+ return *this;
+}
+
+ScanRequestBuilder& ScanRequestBuilder::SetPowerMode(PowerMode power_mode) {
+ request_.power_mode = power_mode;
+ return *this;
+}
+
+ScanRequestBuilder& ScanRequestBuilder::SetScanType(ScanType scan_type) {
+ request_.scan_type = scan_type;
+ return *this;
+}
+
+ScanRequestBuilder& ScanRequestBuilder::AddIdentityType(
+ IdentityType identity_type) {
+ request_.identity_types.push_back(identity_type);
+ return *this;
+}
+
+ScanRequestBuilder& ScanRequestBuilder::SetIdentityTypes(
+ std::vector<IdentityType> types) {
+ request_.identity_types = types;
+ return *this;
+}
+
+ScanRequestBuilder& ScanRequestBuilder::AddScanFilter(
+ absl::variant<PresenceScanFilter, LegacyPresenceScanFilter> scan_filter) {
+ request_.scan_filters.push_back(scan_filter);
+ return *this;
+}
+
+ScanRequestBuilder& ScanRequestBuilder::SetScanFilters(
+ std::vector<absl::variant<PresenceScanFilter, LegacyPresenceScanFilter>>
+ filters) {
+ request_.scan_filters = filters;
+ return *this;
+}
+
+ScanRequestBuilder& ScanRequestBuilder::SetUseBle(bool use_ble) {
+ request_.use_ble = use_ble;
+ return *this;
+}
+
+ScanRequestBuilder& ScanRequestBuilder::SetOnlyScreenOnScan(
+ bool screen_on_only_scan) {
+ request_.scan_only_when_screen_on = screen_on_only_scan;
+ return *this;
+}
+
+ScanRequest ScanRequestBuilder::Build() { return this->request_; }
+
+} // namespace presence
+} // namespace nearby
diff --git a/chromium/third_party/nearby/src/presence/scan_request_builder.h b/chromium/third_party/nearby/src/presence/scan_request_builder.h
new file mode 100644
index 00000000000..5a91c09cbd8
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/scan_request_builder.h
@@ -0,0 +1,55 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#ifndef THIRD_PARTY_NEARBY_PRESENCE_SCAN_REQUEST_BUILDER_H_
+#define THIRD_PARTY_NEARBY_PRESENCE_SCAN_REQUEST_BUILDER_H_
+
+#include <vector>
+
+#include "absl/strings/string_view.h"
+#include "internal/proto/credential.pb.h"
+#include "presence/power_mode.h"
+#include "presence/presence_zone.h"
+#include "presence/scan_request.h"
+
+namespace nearby {
+namespace presence {
+class ScanRequestBuilder {
+ private:
+ ScanRequest request_;
+
+ public:
+ ScanRequestBuilder& SetAccountName(absl::string_view account_name);
+ ScanRequestBuilder& SetPowerMode(PowerMode power_mode);
+ ScanRequestBuilder& SetScanType(ScanType scan_type);
+ ScanRequestBuilder& AddIdentityType(
+ nearby::internal::IdentityType identity_type);
+ ScanRequestBuilder& SetIdentityTypes(
+ std::vector<nearby::internal::IdentityType> types);
+ ScanRequestBuilder& AddScanFilter(
+ absl::variant<PresenceScanFilter, LegacyPresenceScanFilter> scan_filter);
+ ScanRequestBuilder& SetScanFilters(
+ std::vector<absl::variant<PresenceScanFilter, LegacyPresenceScanFilter>>
+ scan_filters);
+ ScanRequestBuilder& SetUseBle(bool use_ble);
+ ScanRequestBuilder& SetOnlyScreenOnScan(bool screen_on_only_scan);
+ ScanRequest Build();
+ inline bool operator==(const ScanRequestBuilder& other) const {
+ return request_ == other.request_;
+ }
+};
+} // namespace presence
+} // namespace nearby
+
+#endif // THIRD_PARTY_NEARBY_PRESENCE_SCAN_REQUEST_BUILDER_H_
diff --git a/chromium/third_party/nearby/src/presence/scan_request_builder_test.cc b/chromium/third_party/nearby/src/presence/scan_request_builder_test.cc
new file mode 100644
index 00000000000..2de00c4a191
--- /dev/null
+++ b/chromium/third_party/nearby/src/presence/scan_request_builder_test.cc
@@ -0,0 +1,183 @@
+// Copyright 2020 Google LLC
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// https://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#include "presence/scan_request_builder.h"
+
+#include <vector>
+
+#include "gmock/gmock.h"
+#include "protobuf-matchers/protocol-buffer-matchers.h"
+#include "gtest/gtest.h"
+#include "internal/proto/credential.pb.h"
+#include "presence/power_mode.h"
+#include "presence/scan_request.h"
+
+namespace nearby {
+namespace presence {
+namespace {
+
+using ::nearby::internal::IdentityType;
+
+constexpr char kAccountName[] = "Google User";
+constexpr bool kUseBle = true;
+constexpr bool kOnlyScreenOnScan = true;
+const IdentityType kIdentity = IdentityType::IDENTITY_TYPE_PRIVATE;
+const ScanType kScanType = ScanType::kPresenceScan;
+const PowerMode powerMode = PowerMode::kLowLatency;
+DataElement CreateTestDataElement() {
+ return {DataElement::kTxPowerFieldType, "1"};
+}
+PresenceScanFilter CreateTestPresenceScanFilter() {
+ return {.scan_type = kScanType,
+ .extended_properties = {CreateTestDataElement()}};
+}
+LegacyPresenceScanFilter CreateTestLegacyPresenceScanFilter() {
+ return {.scan_type = kScanType};
+}
+
+TEST(ScanRequestBuilderTest, TestConstructor) {
+ EXPECT_FALSE(std::is_trivially_constructible<ScanRequestBuilder>::value);
+}
+
+TEST(ScanRequestBuilderTest, TestSetAccountName) {
+ ScanRequestBuilder builder;
+ builder.SetAccountName(kAccountName);
+ ScanRequest sr = builder.Build();
+ EXPECT_EQ(sr.account_name, kAccountName);
+}
+
+TEST(ScanRequestBuilderTest, TestSetPowerMode) {
+ ScanRequestBuilder builder;
+ builder.SetPowerMode(powerMode);
+ ScanRequest sr = builder.Build();
+ EXPECT_EQ(sr.power_mode, powerMode);
+}
+
+TEST(ScanRequestBuilderTest, TestSetScanType) {
+ ScanRequestBuilder builder;
+ builder.SetScanType(kScanType);
+ ScanRequest sr = builder.Build();
+ EXPECT_EQ(sr.scan_type, kScanType);
+}
+
+TEST(ScanRequestBuilderTest, TestAddIdentityType) {
+ ScanRequestBuilder builder;
+ builder.AddIdentityType(kIdentity);
+ ScanRequest sr = builder.Build();
+ EXPECT_EQ(sr.identity_types.size(), 1);
+ EXPECT_EQ(sr.identity_types[0], kIdentity);
+}
+
+TEST(ScanRequestBuilderTest, TestSetIdentityTypes) {
+ ScanRequestBuilder builder;
+ std::vector<IdentityType> types = {kIdentity};
+ builder.SetIdentityTypes(types);
+ ScanRequest sr = builder.Build();
+ EXPECT_EQ(sr.identity_types.size(), 1);
+ EXPECT_EQ(sr.identity_types, types);
+}
+
+TEST(ScanRequestBuilderTest, TestAddScanFilter) {
+ ScanRequestBuilder builder;
+ PresenceScanFilter presenceScanFilter = CreateTestPresenceScanFilter();
+ LegacyPresenceScanFilter legacyPresenceScanFilter =
+ CreateTestLegacyPresenceScanFilter();
+ builder.AddScanFilter(presenceScanFilter);
+ builder.AddScanFilter(legacyPresenceScanFilter);
+ ScanRequest sr = builder.Build();
+ EXPECT_EQ(sr.scan_filters.size(), 2);
+ EXPECT_TRUE(absl::holds_alternative<PresenceScanFilter>(sr.scan_filters[0]));
+ EXPECT_NE(&absl::get<PresenceScanFilter>(sr.scan_filters[0]),
+ &presenceScanFilter);
+ EXPECT_EQ(absl::get<PresenceScanFilter>(sr.scan_filters[0]),
+ presenceScanFilter);
+ EXPECT_TRUE(
+ absl::holds_alternative<LegacyPresenceScanFilter>(sr.scan_filters[1]));
+ EXPECT_NE(&absl::get<LegacyPresenceScanFilter>(sr.scan_filters[1]),
+ &legacyPresenceScanFilter);
+ EXPECT_EQ(absl::get<LegacyPresenceScanFilter>(sr.scan_filters[1]),
+ legacyPresenceScanFilter);
+}
+
+TEST(ScanRequestBuilderTest, TestSetScanFilters) {
+ PresenceScanFilter presenceScanFilter = CreateTestPresenceScanFilter();
+ LegacyPresenceScanFilter legacyPresenceScanFilter =
+ CreateTestLegacyPresenceScanFilter();
+ std::vector<absl::variant<PresenceScanFilter, LegacyPresenceScanFilter>>
+ filterList = {presenceScanFilter, legacyPresenceScanFilter};
+ ScanRequestBuilder builder;
+ builder.SetScanFilters(filterList);
+ ScanRequest sr = builder.Build();
+ EXPECT_EQ(sr.scan_filters.size(), 2);
+ EXPECT_TRUE(absl::holds_alternative<PresenceScanFilter>(sr.scan_filters[0]));
+ EXPECT_NE(&absl::get<PresenceScanFilter>(sr.scan_filters[0]),
+ &presenceScanFilter);
+ EXPECT_EQ(absl::get<PresenceScanFilter>(sr.scan_filters[0]),
+ presenceScanFilter);
+ EXPECT_TRUE(
+ absl::holds_alternative<LegacyPresenceScanFilter>(sr.scan_filters[1]));
+ EXPECT_NE(&absl::get<LegacyPresenceScanFilter>(sr.scan_filters[1]),
+ &legacyPresenceScanFilter);
+ EXPECT_EQ(absl::get<LegacyPresenceScanFilter>(sr.scan_filters[1]),
+ legacyPresenceScanFilter);
+}
+
+TEST(ScanRequestBuilderTest, TestNotEqualScanFilter) {
+ ScanRequestBuilder builderLegacy, builderModern;
+ ScanRequest legacy =
+ builderLegacy.AddScanFilter(LegacyPresenceScanFilter{}).Build();
+ ScanRequest modern =
+ builderModern.AddScanFilter(PresenceScanFilter{}).Build();
+ EXPECT_NE(legacy, modern);
+}
+
+TEST(ScanRequestBuilderTest, TestSetUseBle) {
+ ScanRequestBuilder builder;
+ builder.SetUseBle(kUseBle);
+ ScanRequest sr = builder.Build();
+ EXPECT_EQ(sr.use_ble, kUseBle);
+}
+
+TEST(ScanRequestBuilderTest, TestSetOnlyScreenOnScan) {
+ ScanRequestBuilder builder;
+ builder.SetOnlyScreenOnScan(kOnlyScreenOnScan);
+ ScanRequest sr = builder.Build();
+ EXPECT_EQ(sr.scan_only_when_screen_on, kOnlyScreenOnScan);
+}
+
+TEST(ScanRequestBuilderTest, TestChainCalls) {
+ ScanRequestBuilder builder;
+ ScanRequest sr = builder.SetAccountName(kAccountName)
+ .SetPowerMode(powerMode)
+ .SetOnlyScreenOnScan(kOnlyScreenOnScan)
+ .SetUseBle(kUseBle)
+ .Build();
+ EXPECT_EQ(sr.account_name, kAccountName);
+ EXPECT_EQ(sr.scan_only_when_screen_on, kOnlyScreenOnScan);
+ EXPECT_EQ(sr.power_mode, powerMode);
+ EXPECT_EQ(sr.use_ble, kUseBle);
+}
+
+TEST(ScanRequestBuilderTest, TestCopy) {
+ ScanRequestBuilder builder1;
+ builder1.SetOnlyScreenOnScan(kOnlyScreenOnScan).SetUseBle(kUseBle);
+ ScanRequestBuilder builder2 = {builder1};
+ EXPECT_EQ(builder1, builder2);
+ ScanRequest s1 = builder1.Build();
+ ScanRequest s2 = builder2.Build();
+ EXPECT_EQ(s1, s2);
+}
+} // namespace
+} // namespace presence
+} // namespace nearby
diff --git a/chromium/third_party/nearby/src/presence/status_test.cc b/chromium/third_party/nearby/src/presence/status_test.cc
index 24c114d71fa..3d61cb2d24b 100644
--- a/chromium/third_party/nearby/src/presence/status_test.cc
+++ b/chromium/third_party/nearby/src/presence/status_test.cc
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-#include "third_party/nearby/presence/status.h"
+#include "presence/status.h"
#include "gmock/gmock.h"
#include "protobuf-matchers/protocol-buffer-matchers.h"
diff --git a/chromium/third_party/nearby/src/proto/BUILD b/chromium/third_party/nearby/src/proto/BUILD
index 86bedf3d0fc..d9c51bac577 100644
--- a/chromium/third_party/nearby/src/proto/BUILD
+++ b/chromium/third_party/nearby/src/proto/BUILD
@@ -40,11 +40,6 @@ cc_proto_library(
],
)
-filegroup(
- name = "connections_enums_proto_config",
- srcs = ["connections_enums_proto_config.asciipb"],
-)
-
proto_library(
name = "sharing_enums_proto",
srcs = ["sharing_enums.proto"],
diff --git a/chromium/third_party/nearby/src/proto/connections_enums.proto b/chromium/third_party/nearby/src/proto/connections_enums.proto
index 55410c6fedf..b821aa4b031 100644
--- a/chromium/third_party/nearby/src/proto/connections_enums.proto
+++ b/chromium/third_party/nearby/src/proto/connections_enums.proto
@@ -79,6 +79,7 @@ enum Medium {
WIFI_DIRECT = 8;
WEB_RTC = 9;
BLE_L2CAP = 10;
+ USB = 11;
}
// LINT.ThenChange(
// //depot/google3/java/com/google/android/gmscore/integ/client/nearby/src/com/google/android/gms/nearby/connection/Medium.java,
@@ -372,4 +373,4 @@ enum LogSource {
OEM_DEVICES = 4;
// Represents the device for debugging.
DEBUG_DEVICES = 5;
-} \ No newline at end of file
+}
diff --git a/chromium/third_party/nearby/src/proto/connections_enums_proto_config.asciipb b/chromium/third_party/nearby/src/proto/connections_enums_proto_config.asciipb
deleted file mode 100644
index 702328c1073..00000000000
--- a/chromium/third_party/nearby/src/proto/connections_enums_proto_config.asciipb
+++ /dev/null
@@ -1,7 +0,0 @@
-optimize_mode: LITE_RUNTIME
-
-allowed_enum: "location.nearby.proto.connections.Medium"
-allowed_enum: "location.nearby.proto.connections.BandwidthUpgradeResult"
-allowed_enum: "location.nearby.proto.connections.BandwidthUpgradeErrorStage"
-allowed_enum: "location.nearby.proto.connections.DisconnectionReason"
-allowed_enum: "location.nearby.proto.connections.PayloadStatus"
diff --git a/chromium/third_party/nearby/src/proto/errorcode/BUILD b/chromium/third_party/nearby/src/proto/errorcode/BUILD
index 1c74ae35b52..f1411712144 100644
--- a/chromium/third_party/nearby/src/proto/errorcode/BUILD
+++ b/chromium/third_party/nearby/src/proto/errorcode/BUILD
@@ -32,8 +32,3 @@ cc_proto_library(
name = "error_code_enums_cc_proto",
deps = [":error_code_enums_proto"],
)
-
-filegroup(
- name = "error_code_enums_proto_config",
- srcs = ["error_code_enums_proto_config.asciipb"],
-)
diff --git a/chromium/third_party/nearby/src/proto/errorcode/error_code_enums.proto b/chromium/third_party/nearby/src/proto/errorcode/error_code_enums.proto
index cfacb6767c1..6bce2d92ea4 100644
--- a/chromium/third_party/nearby/src/proto/errorcode/error_code_enums.proto
+++ b/chromium/third_party/nearby/src/proto/errorcode/error_code_enums.proto
@@ -500,4 +500,7 @@ enum Description {
UNSUPPORTED_DEVICE_TYPE_TV = 169;
UNSUPPORTED_DEVICE_TYPE_WEAR = 170;
NULL_MESSAGE = 171;
+ USER_RESTRICTION_DISALLOWED = 172;
+ UNSUPPORTED_DEVICE_TYPE_PHONE = 173;
+ UNSUPPORTED_DEVICE_TYPE_TABLET = 174;
}
diff --git a/chromium/third_party/nearby/src/proto/errorcode/error_code_enums_proto_config.asciipb b/chromium/third_party/nearby/src/proto/errorcode/error_code_enums_proto_config.asciipb
deleted file mode 100644
index 615734806c8..00000000000
--- a/chromium/third_party/nearby/src/proto/errorcode/error_code_enums_proto_config.asciipb
+++ /dev/null
@@ -1,14 +0,0 @@
-optimize_mode: LITE_RUNTIME
-
-allowed_enum: "location.nearby.errorcode.proto.ErrorType"
-allowed_enum: "location.nearby.errorcode.proto.Event"
-allowed_enum: "location.nearby.errorcode.proto.CommonError"
-allowed_enum: "location.nearby.errorcode.proto.StartAdvertisingError"
-allowed_enum: "location.nearby.errorcode.proto.StopAdvertisingError"
-allowed_enum: "location.nearby.errorcode.proto.StartDiscoveringError"
-allowed_enum: "location.nearby.errorcode.proto.StopDiscoveringError"
-allowed_enum: "location.nearby.errorcode.proto.StartListeningIncomingConnectionError"
-allowed_enum: "location.nearby.errorcode.proto.StopListeningIncomingConnectionError"
-allowed_enum: "location.nearby.errorcode.proto.ConnectError"
-allowed_enum: "location.nearby.errorcode.proto.DisconnectError"
-allowed_enum: "location.nearby.errorcode.proto.Description"
diff --git a/chromium/third_party/nearby/src/proto/mediums/BUILD b/chromium/third_party/nearby/src/proto/mediums/BUILD
index af3c5fd7f67..7cf7730c727 100644
--- a/chromium/third_party/nearby/src/proto/mediums/BUILD
+++ b/chromium/third_party/nearby/src/proto/mediums/BUILD
@@ -92,8 +92,3 @@ cc_proto_library(
":ble_frames_proto",
],
)
-
-filegroup(
- name = "ble_frames_portable_proto_config",
- srcs = ["ble_frames_portable_proto_config.asciipb"],
-)
diff --git a/chromium/third_party/nearby/src/proto/mediums/ble_frames_portable_proto_config.asciipb b/chromium/third_party/nearby/src/proto/mediums/ble_frames_portable_proto_config.asciipb
deleted file mode 100644
index 73e7564b658..00000000000
--- a/chromium/third_party/nearby/src/proto/mediums/ble_frames_portable_proto_config.asciipb
+++ /dev/null
@@ -1,7 +0,0 @@
-optimize_mode: LITE_RUNTIME
-
-allowed_enum: "location.nearby.mediums.proto.SocketVersion"
-allowed_message: "location.nearby.mediums.proto.SocketControlFrame"
-allowed_enum: "location.nearby.mediums.proto.SocketControlFrame.ControlFrameType"
-allowed_message: "location.nearby.mediums.proto.IntroductionFrame"
-allowed_message: "location.nearby.mediums.proto.DisconnectionFrame"
diff --git a/chromium/third_party/nearby/src/proto/mediums/nfc_frames.proto b/chromium/third_party/nearby/src/proto/mediums/nfc_frames.proto
index b5a9fab6d04..8dcf01830fe 100644
--- a/chromium/third_party/nearby/src/proto/mediums/nfc_frames.proto
+++ b/chromium/third_party/nearby/src/proto/mediums/nfc_frames.proto
@@ -27,7 +27,7 @@ message AdvertisementData {
optional bytes tag = 1;
// A public key associated with the advertisement.
- optional bytes public_key = 2 ;
+ optional bytes public_key = 2;
}
// The data to be sent to advertisers from scanning device during discovery.
@@ -39,5 +39,5 @@ message AdvertisementRequest {
optional string endpoint_id = 2;
// Public key from the scanning device.
- optional bytes public_key = 3 ;
+ optional bytes public_key = 3;
}
diff --git a/chromium/third_party/nearby/src/proto/sharing_enums.proto b/chromium/third_party/nearby/src/proto/sharing_enums.proto
index d14a7c0751f..2075b4e290d 100644
--- a/chromium/third_party/nearby/src/proto/sharing_enums.proto
+++ b/chromium/third_party/nearby/src/proto/sharing_enums.proto
@@ -344,6 +344,8 @@ enum LogSource {
OEM_DEVICES = 4;
// Represents the device for debugging.
DEBUG_DEVICES = 5;
+ // Represents the device for Nearby Module Food.
+ NEARBY_MODULE_FOOD_DEVICES = 6;
}
// The Fast Share server action name.
@@ -468,3 +470,12 @@ enum PermissionRequestType {
PERMISSION_BLUETOOTH = 3;
PERMISSION_LOCATION = 4;
}
+
+enum SharingUseCase {
+ USE_CASE_UNKNOWN = 0;
+
+ USE_CASE_NEARBY_SHARE = 1;
+ USE_CASE_REMOTE_COPY_PASTE = 2;
+ USE_CASE_WIFI_CREDENTIAL = 3;
+ USE_CASE_APP_SHARE = 4;
+}